hs-admin-ui 7.7.9 → 7.8.1
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-C6YUFYU7.js → 401-B2tlBZA-.js} +1 -1
- package/dist/{401-Cj8sPy76.mjs → 401-Crq4Xzof.mjs} +1 -1
- package/dist/{404-BXyM_Abb.mjs → 404-BXzpLoR5.mjs} +1 -1
- package/dist/{404-BXyM_Abb.mjs.gz → 404-BXzpLoR5.mjs.gz} +0 -0
- package/dist/{404-oe66GtbP.js → 404-CjyAxunP.js} +1 -1
- package/dist/{404-oe66GtbP.js.gz → 404-CjyAxunP.js.gz} +0 -0
- package/dist/{account-BxGm8bBU.js → account-BtW005qA.js} +1 -1
- package/dist/account-BtW005qA.js.gz +0 -0
- package/dist/{account-V7gc3e6g.mjs → account-CxnTY8mj.mjs} +2 -2
- package/dist/account-CxnTY8mj.mjs.gz +0 -0
- package/dist/{aside-BHsw7LIh.mjs → aside-DyoPfvMR.mjs} +3 -3
- package/dist/{aside-EBpLPT4L.js → aside-Ntt2BJbf.js} +1 -1
- package/dist/{btnIndex-CP88RAan.mjs → btnIndex-COCpV--2.mjs} +2 -2
- package/dist/btnIndex-COCpV--2.mjs.gz +0 -0
- package/dist/{btnIndex-EkkaP6CQ.js → btnIndex-DMh3UYvZ.js} +1 -1
- package/dist/{classic-DPHnfexf.mjs → classic-BuEQdcWu.mjs} +5 -5
- package/dist/{classic-DqrEewgr.js → classic-CsDaoaB3.js} +1 -1
- package/dist/{cloneConfigDialog-D8cwI9hh.js → cloneConfigDialog-8ckco_E9.js} +1 -1
- package/dist/{cloneConfigDialog-BaYgdcIT.mjs → cloneConfigDialog-CbUUMq1r.mjs} +1 -1
- package/dist/cloneConfigDialog-CbUUMq1r.mjs.gz +0 -0
- package/dist/{columns-BcYpgOJu.js → columns-C911kJJz.js} +1 -1
- package/dist/{columns-CTAH1jIS.mjs → columns-CStVdUT9.mjs} +5 -5
- package/dist/{columnsAside-DWNSTtOc.mjs → columnsAside-C-eY_Kf6.mjs} +1 -1
- package/dist/{columnsAside-CcsXvIFC.js → columnsAside-DoLfjryc.js} +1 -1
- package/dist/{contextmenu-XQhYKEKI.mjs → contextmenu-C6UI55-4.mjs} +1 -1
- package/dist/{contextmenu-N7yiZ2lA.mjs → contextmenu-C9hVH2HQ.mjs} +1 -1
- package/dist/{contextmenu-Be1AZ-no.js → contextmenu-CBn8T88b.js} +1 -1
- package/dist/{contextmenu-DdaimtvM.mjs → contextmenu-Cgr4uTDY.mjs} +1 -1
- package/dist/{contextmenu-G7vaODLB.js → contextmenu-Co2pEl84.js} +1 -1
- package/dist/{contextmenu-COtDvykj.js → contextmenu-xnxJPpt7.js} +1 -1
- package/dist/{copyMenuConfig-8mleOgIh.mjs → copyMenuConfig-VGkvi69k.mjs} +1 -1
- package/dist/{copyMenuConfig-DCYTloSF.js → copyMenuConfig-l4KrlDl1.js} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-HHWP46OD.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-1LZOnOU7.mjs} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-ChLOUbqT.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-CtOvPdSb.js} +1 -1
- package/dist/{copySystem-Df2IHEIv.mjs → copySystem-CF8B8IMm.mjs} +1 -1
- package/dist/{copySystem-D2HuxPaX.js → copySystem-D4Fk6ddZ.js} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-B-0sVKez.mjs → copySystem.vue_vue_type_script_setup_true_lang-BSISrGe-.mjs} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-CmjIYykH.js → copySystem.vue_vue_type_script_setup_true_lang-BpGyvHJt.js} +1 -1
- package/dist/{defaults-Dbly_0OD.mjs → defaults-CI4zESs1.mjs} +4 -4
- package/dist/{defaults-B8iZ37Bn.js → defaults-ChdQEBoq.js} +1 -1
- package/dist/{dialog-b3deX0Es.js → dialog-BCOJTZbr.js} +1 -1
- package/dist/{dialog-CmybdUgi.js → dialog-Cbuo2bpR.js} +1 -1
- package/dist/{dialog-D-EZtFrZ.mjs → dialog-CtGd3cTm.mjs} +1 -1
- package/dist/{dialog-Dz11ZBhd.mjs → dialog-DBMQR5UH.mjs} +1 -1
- package/dist/{dialog-D6mpk3ft.mjs → dialog-DvyPjgMB.mjs} +1 -1
- package/dist/{dialog-3244tLCR.js → dialog-tOROxO7e.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-7qWwes8e.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CNg-w2Im.mjs} +2 -2
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C3qO-jqg.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-cQJg0DgH.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BmSNMVN1.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-e0XaZcZI.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-e0XaZcZI.mjs.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-enyKzATA.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-k15xKrzx.js} +1 -1
- package/dist/{dictDialog-oqKMTWZU.js → dictDialog-DLjF5MED.js} +1 -1
- package/dist/{dictDialog-D4npPZQq.mjs → dictDialog-r0ezsNpC.mjs} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Q5y7ukdt.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B_BaMO6W.mjs} +2 -2
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C8ugyM6r.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BoFX-sTj.js} +1 -1
- package/dist/{dictItemDialog-DwPLWpAv.mjs → dictItemDialog-CS7eny6x.mjs} +1 -1
- package/dist/{dictItemDialog-BrqP2R-J.js → dictItemDialog-GU77mIOB.js} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DwQIEsLT.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-Bz3iFXBa.mjs} +2 -2
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-BmF_cVq2.js → dictItemDialog.vue_vue_type_script_setup_true_lang-UCs80ONP.js} +1 -1
- package/dist/{editDialog-B_DrJqNu.mjs → editDialog-B4FtH4V4.mjs} +6 -2
- package/dist/editDialog-pqtrj1st.js +1 -0
- package/dist/{formConfig-D5c04oLW.mjs → formConfig-B4hQ1rI8.mjs} +4 -4
- package/dist/formConfig-B4hQ1rI8.mjs.gz +0 -0
- package/dist/{formConfig-CHQr2a93.js → formConfig-aGTz2vLE.js} +1 -1
- package/dist/{header-Aebmi_ji.mjs → header-BWLYnbWD.mjs} +2 -2
- package/dist/{header-B7auTZnz.js → header-DzOeNK9P.js} +1 -1
- package/dist/{horizontal-BCSOEkev.mjs → horizontal-DKDmI3I8.mjs} +2 -2
- package/dist/{horizontal-BeAXOTrW.js → horizontal-OvgQyk8q.js} +1 -1
- package/dist/{hsAttrBtn-jmGlDUVj.mjs → hsAttrBtn-COyJ4cnz.mjs} +1 -1
- package/dist/{hsAttrBtn-BsFTcePq.js → hsAttrBtn-DU3NGwxH.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-Bk716m0R.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-BmEm0EAu.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-Cw7fj01H.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-zsoIphZD.mjs} +3 -3
- package/dist/{hsAttrForm-BL9Cmo6c.js → hsAttrForm-1wM7cOXD.js} +1 -1
- package/dist/{hsAttrForm-BLkftA2K.mjs → hsAttrForm-Bk3yXfAa.mjs} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-C0SQM-0d.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-BXy7nPmM.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-BXy7nPmM.mjs.gz +0 -0
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-Cz9ZcTKa.js → hsAttrForm.vue_vue_type_script_setup_true_lang-CYBsIHg1.js} +1 -1
- package/dist/{hsBtnConfigList-C1qZdQjU.js → hsBtnConfigList-B4mwcc2P.js} +1 -1
- package/dist/{hsBtnConfigList-DsNaCd3t.mjs → hsBtnConfigList-RsifAB3l.mjs} +1 -1
- package/dist/{hsBtnItemConfig-C2LLT3kj.js → hsBtnItemConfig-B-PPcyiA.js} +1 -1
- package/dist/{hsBtnItemConfig-B7qCpM8e.mjs → hsBtnItemConfig-T9cL-chB.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DD-Yvcfe.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-B3keslCK.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DkO7Pz_X.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BPrczoCy.js} +1 -1
- package/dist/{hsBtnPanel-CsUgDaAf.js → hsBtnPanel-C6SaajZW.js} +1 -1
- package/dist/{hsBtnPanel-BNRzrKfj.mjs → hsBtnPanel-C_J3YG45.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BdB8CaCv.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BUW-V76W.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-C6EP6upK.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CprSuPOT.mjs} +4 -4
- package/dist/{hsExpand-w1Ng3a7z.mjs → hsExpand-Bas14dhw.mjs} +1 -1
- package/dist/{hsExpand-kR7YeCHH.js → hsExpand-CF5-hx9w.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-VvNuchQY.mjs → hsExpand.vue_vue_type_script_setup_true_lang-CJKNJwN9.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-Ma2r138R.js → hsExpand.vue_vue_type_script_setup_true_lang-Ck1a9VSF.js} +1 -1
- package/dist/{hsFormConfig-c3oUggun.js → hsFormConfig-DII9l8fs.js} +1 -1
- package/dist/{hsFormConfig-hPLsTY_r.mjs → hsFormConfig-DXPCuhAa.mjs} +1 -1
- package/dist/{hsFormConfigList-De6aCD9g.js → hsFormConfigList-BJjDSOGC.js} +1 -1
- package/dist/{hsFormConfigList-WHUUuLrW.mjs → hsFormConfigList-FYR52Kbm.mjs} +2 -2
- package/dist/hsFormConfigList-FYR52Kbm.mjs.gz +0 -0
- package/dist/{hsFormPanel-VRpFafyR.js → hsFormPanel-BDwQxE7C.js} +1 -1
- package/dist/{hsFormPanel-Dbcl9QIb.mjs → hsFormPanel-JoOeov1B.mjs} +1 -1
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BFPaoSge.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DJELcw4v.mjs} +5 -5
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DJELcw4v.mjs.gz +0 -0
- package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CGUzep4p.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-krocsSL4.js} +1 -1
- package/dist/{hsFormParse-BoMKB1op.js → hsFormParse-2tgja3Gi.js} +1 -1
- package/dist/{hsFormParse-4JGs6mt_.mjs → hsFormParse-CWPoDxoP.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-BQpGMgeI.js → hsFormParse.vue_vue_type_script_setup_true_lang-Cxy_v1nb.js} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-C1yKDbwq.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-fuzHyKRy.mjs} +1 -1
- package/dist/{hsPanelItem-6pWXqwOz.js → hsPanelItem-B-7uJMnP.js} +1 -1
- package/dist/{hsPanelItem-Drf9G_ou.mjs → hsPanelItem-D-MdjmLe.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BuKwOm4G.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-C5Welr2G.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-ktE9EuPp.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CbN42Oy7.js} +1 -1
- package/dist/{iframes-B9T49FnH.js → iframes-Dlprzjaw.js} +1 -1
- package/dist/{iframes-DZgImbDA.mjs → iframes-sJGGZBHO.mjs} +1 -1
- package/dist/{index copy-DbzezOwx.mjs → index copy-8yp2rRli.mjs } +1 -1
- package/dist/index copy-8yp2rRli.mjs.gz +0 -0
- package/dist/{index copy-BRMF8tsx.js → index copy-CyJhPuyU.js } +1 -1
- package/dist/{index copy-BRMF8tsx.js.gz → index copy-CyJhPuyU.js.gz} +0 -0
- package/dist/index copy-Dqzm_Id0.mjs +138 -0
- package/dist/index copy-thE6EdCe.js +1 -0
- package/dist/{index-Dq692VoU.js → index-3rLtQ-oc.js} +1 -1
- package/dist/{index-OWKlMiJP.js → index-92tCw16A.js} +1 -1
- package/dist/index-92tCw16A.js.gz +0 -0
- package/dist/{index-cAWYCFfJ.js → index-AF-i0q91.js} +1 -1
- package/dist/{index-DjfElby0.js → index-B0v6HdlY.js} +1 -1
- package/dist/index-B0v6HdlY.js.gz +0 -0
- package/dist/{index-C0xvABTA.mjs → index-B3bmSJxK.mjs} +4 -4
- package/dist/{index-D2TylQku.mjs → index-B3rpqDYh.mjs} +4 -4
- package/dist/index-B3rpqDYh.mjs.gz +0 -0
- package/dist/{index-DYCk6-DM.js → index-B6__50xe.js} +1 -1
- package/dist/{index-RAwfTGPa.mjs → index-BJJ0uiUz.mjs} +1 -1
- package/dist/{index-C0jPptv0.js → index-BNENOie-.js} +1 -1
- package/dist/index-BS7l831S.js +1 -0
- package/dist/{index-CnrKG2WQ.mjs → index-BZIZB6yj.mjs} +1 -1
- package/dist/{index-BDNXQkV8.js → index-BZOIXLz4.js} +1 -1
- package/dist/{index-DPBNB38N.mjs → index-Bdqi05-c.mjs} +1 -1
- package/dist/index-Bdqi05-c.mjs.gz +0 -0
- package/dist/{index-DBU_QUP5.mjs → index-Bg0DKsgT.mjs} +56 -18
- package/dist/{index-BLU2iPKc.mjs → index-BhGuVKeh.mjs} +4 -4
- package/dist/{index-DCT8XWLO.mjs → index-BhR76wur.mjs} +1 -1
- package/dist/{index-Lwox_nsc.js → index-BiRYzJ_N.js} +1 -1
- package/dist/index-BkuUA_Wq.mjs +4 -0
- package/dist/{index-BPU_YwSQ.mjs → index-BmIwA5Dg.mjs} +1 -1
- package/dist/{index-tLYlb3jc.mjs → index-Bn4CBkuf.mjs} +1 -1
- package/dist/{index-YqMq9RUB.mjs → index-BxgeEbyZ.mjs} +1 -1
- package/dist/{index-CXBd6V12.mjs → index-Bz6d-ub-.mjs} +1 -1
- package/dist/{index-C5Iu4rfH.mjs → index-C4l4pwUE.mjs} +3 -3
- package/dist/{index-CJ2YIlX6.mjs → index-C9rUV_uk.mjs} +1 -1
- package/dist/{index-DNpPt39h.js → index-CCg5jyrp.js} +1 -1
- package/dist/{index-pvpVlll4.js → index-CFN93p0L.js} +1 -1
- package/dist/{index-CVxb2jNZ.js → index-CGsj52g-.js} +1 -1
- package/dist/{index-Bmkku8dp.js → index-CHFYQ4Rr.js} +1 -1
- package/dist/{index-nElrWtCW.js → index-CHdPCjlZ.js} +1 -1
- package/dist/{index-BUSqCREf.mjs → index-CM5hjuiI.mjs} +1 -1
- package/dist/{index-ih8Ojfcj.js → index-COC1de_k.js} +1 -1
- package/dist/{index-rGDkN3qz.mjs → index-COfXkRUN.mjs} +1 -1
- package/dist/{index-DyOoAZCa.mjs → index-CPjcd04X.mjs} +1 -1
- package/dist/{index-Bdhe5dzM.js → index-CQq3BssK.js} +1 -1
- package/dist/{index-Btw2chdj.mjs → index-CSwU7q61.mjs} +3 -3
- package/dist/{index-D-SOrqs_.js → index-CTOA7eSu.js} +1 -1
- package/dist/{index-CTKh5Tqp.js → index-CVpfqkyE.js} +1 -1
- package/dist/{index-D1mhhHWD.js → index-CYINrHG4.js} +1 -1
- package/dist/{index-DpgmEjOZ.js → index-CaMoG_R3.js} +1 -1
- package/dist/{index-BVIbjuaZ.js → index-CucXu6Mp.js} +1 -1
- package/dist/{index-C9j5dEi3.mjs → index-Cv1HASgw.mjs} +1 -1
- package/dist/{index-0pmLYvWg.js → index-D3EK8noC.js} +1 -1
- package/dist/{index-BPz2DCWU.mjs → index-D5Oqi6hR.mjs} +3 -3
- package/dist/index-DCU2T8QA.js +1 -0
- package/dist/{index-HUklT0VO.mjs → index-DHxF8lIt.mjs} +1 -1
- package/dist/{index-Chf4F1Vn.js → index-DS8RexM5.js} +1 -1
- package/dist/{index-e3AhGYW8.js → index-DWs6Dxq2.js} +1 -1
- package/dist/{index-8c9x1G5g.mjs → index-DYRwmsHO.mjs} +3 -3
- package/dist/{index-ChoEEQlU.mjs → index-DZqOztdu.mjs} +5 -5
- package/dist/{index-DThDbVBX.mjs → index-Dgi5Vur4.mjs} +1 -1
- package/dist/{index-DjrWUFue.js → index-DhSSYhRh.js} +1 -1
- package/dist/{index-CfZxjFbk.js → index-DkCbvXco.js} +1 -1
- package/dist/{index-C2TNeZs-.mjs → index-Dm8tTHmR.mjs} +3 -3
- package/dist/{index-DPW7Kzfb.js → index-DmCx7xuN.js} +1 -1
- package/dist/{index-DBRejCex.mjs → index-Do0muLeY.mjs} +2 -2
- package/dist/{index-BY8DoWuN.mjs → index-DtSSpYQK.mjs} +466 -460
- package/dist/index-DtSSpYQK.mjs.gz +0 -0
- package/dist/index-DviBJB4Z.mjs +22 -0
- package/dist/{index-ZwK-xLUn.js → index-Ge-jk8u4.js} +1 -1
- package/dist/{index-D6WW3Jq8.mjs → index-IhsYmWlK.mjs} +2 -2
- package/dist/index-IhsYmWlK.mjs.gz +0 -0
- package/dist/{index-CpqKnOjN.js → index-JxUbxEQ_.js} +1 -1
- package/dist/{index-nCmFGvPU.mjs → index-LJDTV9-7.mjs} +1 -1
- package/dist/{index-J0uWofzy.mjs → index-N5ki39_q.mjs} +2 -2
- package/dist/{index-Cyrv9lFm.mjs → index-S7slIOtm.mjs} +1 -1
- package/dist/{index-Bel96cMS.mjs → index-U-nWCWU2.mjs} +1 -1
- package/dist/{index-D0aeMiNp.mjs → index-VM3PoJCL.mjs} +1 -1
- package/dist/{index-EOKOAvNU.mjs → index-ZYBgGpSm.mjs} +1 -1
- package/dist/{index-Dm29i4HP.js → index-Zm5cUZV4.js} +1 -1
- package/dist/{index-DwvylqfK.js → index-aFpZSuis.js} +1 -1
- package/dist/{index-BRp3GlVv.js → index-dYNwonPg.js} +6 -6
- package/dist/index-dYNwonPg.js.gz +0 -0
- package/dist/{index-E2lNpuyf.js → index-fY_BtVXB.js} +1 -1
- package/dist/{index-Br4wZqOT.js → index-l8wqeBwk.js} +1 -1
- package/dist/{index-Dx0wIzy7.js → index-nVTnwato.js} +1 -1
- package/dist/{index-MIGC8ptZ.mjs → index-oN2fEmtV.mjs} +1 -1
- package/dist/{index-CJM-m8aS.js → index-r_fSs9ow.js} +1 -1
- package/dist/{index-CZRQ2jG6.js → index-woh0rQWG.js} +1 -1
- package/dist/{index-B6aTAw6m.mjs → index-xx2P-kQa.mjs} +3 -3
- package/dist/index-xx2P-kQa.mjs.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CnP1hoHy.js → index.vue_vue_type_script_setup_true_lang-B3KQ4t0p.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-V_WfcMU6.mjs → index.vue_vue_type_script_setup_true_lang-Bas7Jd5Y.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-lMnVoivh.js → index.vue_vue_type_script_setup_true_lang-CHP8CCPA.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-oqP7n2q_.js → index.vue_vue_type_script_setup_true_lang-CJoA-Kq6.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cpd4phGS.mjs → index.vue_vue_type_script_setup_true_lang-DFYNmRIJ.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-55e0zBoG.mjs → index.vue_vue_type_script_setup_true_lang-DeFyOLf5.mjs} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DbcKPoLV.js → index.vue_vue_type_script_setup_true_lang-PP7AMe4f.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B6RZz3Fp.mjs → index.vue_vue_type_script_setup_true_lang-xkEoVBs2.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-xkEoVBs2.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-BiMYWGlv.js +1 -0
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-CJa83Sw1.mjs +86 -0
- package/dist/{link-C5qQkRPg.js → link-6jIrGmSZ.js} +1 -1
- package/dist/{link-DydOe3HU.mjs → link-DkaqogO8.mjs} +1 -1
- package/dist/{list-C0hEVkMZ.mjs → list-D8Dbmbwq.mjs} +1 -1
- package/dist/{list-CSpdJR3l.js → list-DmOFhU00.js} +1 -1
- package/dist/{main-0uH-tZCK.js → main-C1Qm5KQg.js} +1 -1
- package/dist/{main-Dy6f0OUf.mjs → main-z_o6zkhM.mjs} +3 -3
- package/dist/{mobile-CttwZ0Lz.js → mobile-ClwzsdHW.js} +1 -1
- package/dist/{mobile-Dwx8qC4P.mjs → mobile-oYQ-Pco4.mjs} +1 -1
- package/dist/{parent-Bv3MwZjP.mjs → parent-879QPHHl.mjs} +2 -2
- package/dist/{parent-OYv10xqp.js → parent-CHDm6sgn.js} +1 -1
- package/dist/{popup-Ce4fKCm0.js → popup-CqNvbhAQ.js} +1 -1
- package/dist/{popup-HCKmupu9.mjs → popup-NxyMZQ73.mjs} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-Ds0HZU4x.mjs → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-B-bpN9Ma.mjs} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-B0gZoiRB.js → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-CnRS6UkB.js} +1 -1
- package/dist/{replaceRules-8iokVTas.mjs → replaceRules-B6ccYMSu.mjs} +1 -1
- package/dist/{replaceRules-CaMQPMAE.js → replaceRules-CO6EQv1G.js} +1 -1
- package/dist/{roleItem-B_eBzCLr.js → roleItem-CIVuyB-N.js} +1 -1
- package/dist/{roleItem-D8jlTx5m.mjs → roleItem-ce7UpJb6.mjs} +3 -3
- package/dist/{saveForm-uH76CKN-.js → saveForm-B5Av24Ud.js} +1 -1
- package/dist/{saveForm-DJ0ylih9.mjs → saveForm-D5CshdK5.mjs} +1 -1
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-B7JSQWsH.mjs → saveForm.vue_vue_type_script_setup_true_lang-Cq2jt464.mjs} +2 -2
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-Cq2jt464.mjs.gz +0 -0
- package/dist/{saveForm.vue_vue_type_script_setup_true_lang-Cln0qT1O.js → saveForm.vue_vue_type_script_setup_true_lang-DVVbS_RW.js} +1 -1
- package/dist/{scan-BSvKycOy.js → scan-Bx7zkTH2.js} +1 -1
- package/dist/scan-Bx7zkTH2.js.gz +0 -0
- package/dist/{scan-Bxwnx2TS.mjs → scan-DvhBxeMz.mjs} +1 -1
- package/dist/scan-DvhBxeMz.mjs.gz +0 -0
- package/dist/{search-Dju7k4gQ.mjs → search-CXFm4XnB.mjs} +1 -1
- package/dist/{search-tTP7qQ06.js → search-YUyD1Iyv.js} +1 -1
- package/dist/{selectConfig-CFlqlfaT.mjs → selectConfig-DXWz9eZo.mjs} +1 -1
- package/dist/selectConfig-DXWz9eZo.mjs.gz +0 -0
- package/dist/{selectConfig-BP5Bwysf.js → selectConfig-DiUHYHcn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/{subItem-DnexOK9w.mjs → subItem-BYS2MLzx.mjs} +1 -1
- package/dist/{subItem-BjTMvgIM.js → subItem-DuKxsYil.js} +1 -1
- package/dist/{tagsView-9lFiBEl6.mjs → tagsView-C8nDZ1to.mjs} +2 -2
- package/dist/tagsView-C8nDZ1to.mjs.gz +0 -0
- package/dist/{tagsView-BJ6oZ5W4.js → tagsView-CH6VB2tk.js} +2 -2
- package/dist/tagsView-CH6VB2tk.js.gz +0 -0
- package/dist/{transverse-DtuqdGz4.js → transverse-CLp1T_xN.js} +1 -1
- package/dist/{transverse-4VhZ3nYe.mjs → transverse-RbZnaz94.mjs} +3 -3
- package/dist/types/components/business/bcForm/useGuide.d.ts +1 -0
- package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +27 -5
- package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +1 -23
- package/dist/types/components/business/bcTable/components/table/useTable.d.ts +1 -2
- package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +1 -5
- package/dist/types/components/business/bcTable/utils/onFormKey.d.ts +1 -1
- package/dist/types/components/business/bcTable/utils/onKeydownEvent.d.ts +43 -0
- package/dist/types/components/business/bcTable/utils/onTableKey.d.ts +0 -6
- package/dist/types/components/business/bcTable/utils/parseTable.d.ts +1 -1
- package/dist/types/components/business/bcTable/utils/type.d.ts +51 -3
- package/dist/types/components/business/bcTable/utils/useTable.d.ts +10 -3
- package/dist/types/plugins/index.d.ts +2 -2
- package/dist/types/types/customData.d.ts +0 -2
- package/dist/{uploadAvatar-adDXBGvz.js → uploadAvatar-BXR3PU_D.js} +1 -1
- package/dist/uploadAvatar-BXR3PU_D.js.gz +0 -0
- package/dist/{uploadAvatar-BDkiNCtQ.mjs → uploadAvatar-Ci8XEgcE.mjs} +1 -1
- package/dist/uploadAvatar-Ci8XEgcE.mjs.gz +0 -0
- package/dist/{user-BFqKFuXE.mjs → user-C0fCiBtn.mjs} +4 -4
- package/dist/user-C0fCiBtn.mjs.gz +0 -0
- package/dist/{user-BkN-bAlq.js → user-CVlExdyB.js} +1 -1
- package/dist/{userNews-ByxYCDCB.js → userNews-CNxn1PYM.js} +1 -1
- package/dist/{userNews-BbEj_QQe.mjs → userNews-DJ-Hx7zX.mjs} +1 -1
- package/dist/{userSelect-BVsm-scp.js → userSelect-B9Iledcc.js} +1 -1
- package/dist/{userSelect-DzgPwYXc.mjs → userSelect-C0h0JjCi.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-D6eMeNpU.js → userSelect.vue_vue_type_script_setup_true_lang-BGFd7mRP.js} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-CW47MZLZ.mjs → userSelect.vue_vue_type_script_setup_true_lang-BaRZRwWS.mjs} +1 -1
- package/dist/{vertical-Bhrsnn34.js → vertical-B4YlldCg.js} +1 -1
- package/dist/{vertical-DqBCJfB9.mjs → vertical-Cd7CJ636.mjs} +2 -2
- package/package.json +1 -1
- package/dist/account-BxGm8bBU.js.gz +0 -0
- package/dist/account-V7gc3e6g.mjs.gz +0 -0
- package/dist/btnIndex-CP88RAan.mjs.gz +0 -0
- package/dist/cloneConfigDialog-BaYgdcIT.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BmSNMVN1.mjs.gz +0 -0
- package/dist/editDialog-iWk8xPC4.js +0 -1
- package/dist/formConfig-D5c04oLW.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C0SQM-0d.mjs.gz +0 -0
- package/dist/hsFormConfigList-WHUUuLrW.mjs.gz +0 -0
- package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BFPaoSge.mjs.gz +0 -0
- package/dist/index copy-DbzezOwx.mjs.gz +0 -0
- package/dist/index-B6aTAw6m.mjs.gz +0 -0
- package/dist/index-BRp3GlVv.js.gz +0 -0
- package/dist/index-BY8DoWuN.mjs.gz +0 -0
- package/dist/index-Be5iEAc7.mjs +0 -4
- package/dist/index-CIucC-ZH.js +0 -1
- package/dist/index-D2TylQku.mjs.gz +0 -0
- package/dist/index-D6WW3Jq8.mjs.gz +0 -0
- package/dist/index-DPBNB38N.mjs.gz +0 -0
- package/dist/index-DjfElby0.js.gz +0 -0
- package/dist/index-OWKlMiJP.js.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-B6RZz3Fp.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-BOM3g6Uu.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DcMErb20.mjs +0 -109
- package/dist/saveForm.vue_vue_type_script_setup_true_lang-B7JSQWsH.mjs.gz +0 -0
- package/dist/scan-BSvKycOy.js.gz +0 -0
- package/dist/scan-Bxwnx2TS.mjs.gz +0 -0
- package/dist/selectConfig-CFlqlfaT.mjs.gz +0 -0
- package/dist/tagsView-9lFiBEl6.mjs.gz +0 -0
- package/dist/tagsView-BJ6oZ5W4.js.gz +0 -0
- package/dist/uploadAvatar-BDkiNCtQ.mjs.gz +0 -0
- package/dist/uploadAvatar-adDXBGvz.js.gz +0 -0
- package/dist/user-BFqKFuXE.mjs.gz +0 -0
|
@@ -4,7 +4,7 @@ var __publicField = (obj2, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj2, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { computed, ref as ref$1, watch, nextTick, onMounted, getCurrentScope, onScopeDispose, unref, getCurrentInstance, shallowRef, toRaw, onUnmounted, defineComponent, resolveComponent, openBlock, createBlock, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeProps, readonly, watchEffect, customRef, createElementBlock, createElementVNode, warn as warn$2, isVNode, Fragment, Comment, onBeforeUnmount, inject, isRef, onBeforeMount, provide, normalizeClass, normalizeStyle, useSlots, Transition, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, onActivated, cloneVNode, Text as Text$2, Teleport as Teleport$1, onDeactivated, withKeys, vModelCheckbox, vModelRadio, h as h$4, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, toHandlerKey, render, createApp, shallowReactive, isReactive, hasInjectionContext, defineAsyncComponent, pushScopeId, popScopeId, createStaticVNode, toValue as toValue$1,
|
|
7
|
+
import { computed, ref as ref$1, watch, nextTick, onMounted, getCurrentScope, onScopeDispose, unref, getCurrentInstance, shallowRef, toRaw, onUnmounted, defineComponent, resolveComponent, openBlock, createBlock, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeProps, readonly, watchEffect, customRef, createElementBlock, createElementVNode, warn as warn$2, isVNode, Fragment, Comment, onBeforeUnmount, inject, isRef, onBeforeMount, provide, normalizeClass, normalizeStyle, useSlots, Transition, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, onActivated, cloneVNode, Text as Text$2, Teleport as Teleport$1, onDeactivated, withKeys, vModelCheckbox, vModelRadio, h as h$4, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, toHandlerKey, render, createApp, shallowReactive, isReactive, hasInjectionContext, defineAsyncComponent, pushScopeId, popScopeId, createStaticVNode, mergeModels, useModel, toValue as toValue$1, withAsyncContext, Suspense, KeepAlive, triggerRef } from "vue";
|
|
8
8
|
if (typeof String.prototype.removeHTMLTag == "undefined") {
|
|
9
9
|
String.prototype.removeHTMLTag = function() {
|
|
10
10
|
return this.replace(/<.+?>([^<>]+?)<.+?>/g, "$1");
|
|
@@ -71364,13 +71364,13 @@ const _sfc_main$1w = {
|
|
|
71364
71364
|
}
|
|
71365
71365
|
}
|
|
71366
71366
|
};
|
|
71367
|
-
const _hoisted_1$
|
|
71367
|
+
const _hoisted_1$1b = ["src"];
|
|
71368
71368
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
71369
71369
|
return $props.bindElement ? (openBlock(), createElementBlock("img", {
|
|
71370
71370
|
key: 0,
|
|
71371
71371
|
style: { "display": "inline-block" },
|
|
71372
71372
|
src: $data.imgUrl
|
|
71373
|
-
}, null, 8, _hoisted_1$
|
|
71373
|
+
}, null, 8, _hoisted_1$1b)) : createCommentVNode("", true);
|
|
71374
71374
|
}
|
|
71375
71375
|
const vueQr = /* @__PURE__ */ _export_sfc$1(_sfc_main$1w, [["render", _sfc_render$1]]);
|
|
71376
71376
|
const __default__$Z = defineComponent({
|
|
@@ -71384,7 +71384,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
71384
71384
|
};
|
|
71385
71385
|
}
|
|
71386
71386
|
});
|
|
71387
|
-
const _hoisted_1$
|
|
71387
|
+
const _hoisted_1$1a = ["src"];
|
|
71388
71388
|
const __default__$Y = defineComponent({
|
|
71389
71389
|
name: "bcIcon"
|
|
71390
71390
|
});
|
|
@@ -71447,7 +71447,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
71447
71447
|
createElementVNode("img", {
|
|
71448
71448
|
src: getIconName.value,
|
|
71449
71449
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
71450
|
-
}, null, 12, _hoisted_1$
|
|
71450
|
+
}, null, 12, _hoisted_1$1a)
|
|
71451
71451
|
], 4)) : (openBlock(), createElementBlock("i", {
|
|
71452
71452
|
key: 2,
|
|
71453
71453
|
class: normalizeClass(getIconName.value),
|
|
@@ -71456,7 +71456,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
71456
71456
|
};
|
|
71457
71457
|
}
|
|
71458
71458
|
});
|
|
71459
|
-
const _hoisted_1$
|
|
71459
|
+
const _hoisted_1$19 = { class: "mr-1" };
|
|
71460
71460
|
const _hoisted_2$I = { class: "ml-1" };
|
|
71461
71461
|
const __default__$X = defineComponent({
|
|
71462
71462
|
name: "bcButton"
|
|
@@ -71475,7 +71475,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
71475
71475
|
}, {
|
|
71476
71476
|
default: withCtx(() => [
|
|
71477
71477
|
_ctx.$attrs.iconPosition === "right" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
71478
|
-
createElementVNode("span", _hoisted_1$
|
|
71478
|
+
createElementVNode("span", _hoisted_1$19, toDisplayString(_ctx.$attrs.name), 1),
|
|
71479
71479
|
_ctx.$attrs.btnIcon ? (openBlock(), createBlock(_component_bc_icon, {
|
|
71480
71480
|
key: 0,
|
|
71481
71481
|
class: "mx-1",
|
|
@@ -97984,7 +97984,7 @@ const dynamicRoutes = [
|
|
|
97984
97984
|
{
|
|
97985
97985
|
path: "/",
|
|
97986
97986
|
name: "/",
|
|
97987
|
-
component: () => import("./index-
|
|
97987
|
+
component: () => import("./index-DZqOztdu.mjs"),
|
|
97988
97988
|
redirect: "/home",
|
|
97989
97989
|
meta: {
|
|
97990
97990
|
isKeepAlive: true
|
|
@@ -97996,7 +97996,7 @@ const notFoundAndNoPower = [
|
|
|
97996
97996
|
{
|
|
97997
97997
|
path: "/:path(.*)*",
|
|
97998
97998
|
name: "notFound",
|
|
97999
|
-
component: () => import("./404-
|
|
97999
|
+
component: () => import("./404-BXzpLoR5.mjs"),
|
|
98000
98000
|
meta: {
|
|
98001
98001
|
title: "找不到此页面",
|
|
98002
98002
|
isHide: true
|
|
@@ -98005,7 +98005,7 @@ const notFoundAndNoPower = [
|
|
|
98005
98005
|
{
|
|
98006
98006
|
path: "/401",
|
|
98007
98007
|
name: "noPower",
|
|
98008
|
-
component: () => import("./401-
|
|
98008
|
+
component: () => import("./401-Crq4Xzof.mjs"),
|
|
98009
98009
|
meta: {
|
|
98010
98010
|
title: "没有权限",
|
|
98011
98011
|
isHide: true
|
|
@@ -98016,7 +98016,7 @@ const staticRoutes = [
|
|
|
98016
98016
|
{
|
|
98017
98017
|
path: "/login",
|
|
98018
98018
|
name: "login",
|
|
98019
|
-
component: () => import("./index-
|
|
98019
|
+
component: () => import("./index-CSwU7q61.mjs"),
|
|
98020
98020
|
meta: {
|
|
98021
98021
|
title: "登录"
|
|
98022
98022
|
}
|
|
@@ -101240,8 +101240,8 @@ function useMenuController() {
|
|
|
101240
101240
|
};
|
|
101241
101241
|
}
|
|
101242
101242
|
const menuApi = useMenuController();
|
|
101243
|
-
const layouModules = /* @__PURE__ */ Object.assign({ "../layout/routerView/iframes.vue": () => import("./iframes-
|
|
101244
|
-
const viewsModules = /* @__PURE__ */ Object.assign({ "../views/config/buttonManagement/btnIndex.vue": () => import("./btnIndex-
|
|
101243
|
+
const layouModules = /* @__PURE__ */ Object.assign({ "../layout/routerView/iframes.vue": () => import("./iframes-sJGGZBHO.mjs"), "../layout/routerView/link.vue": () => import("./link-DkaqogO8.mjs"), "../layout/routerView/parent.vue": () => import("./parent-879QPHHl.mjs") });
|
|
101244
|
+
const viewsModules = /* @__PURE__ */ Object.assign({ "../views/config/buttonManagement/btnIndex.vue": () => import("./btnIndex-COCpV--2.mjs"), "../views/config/buttonManagement/dialog.vue": () => import("./dialog-CtGd3cTm.mjs"), "../views/config/buttonManagement/index.vue": () => import("./index-D41VNzbg.mjs"), "../views/config/dataAuth/dialog.vue": () => import("./dialog-DBMQR5UH.mjs"), "../views/config/dataAuth/index.vue": () => import("./index-DYRwmsHO.mjs"), "../views/config/dataDict/components/dict/dictDialog.vue": () => import("./dictDialog-r0ezsNpC.mjs"), "../views/config/dataDict/components/dictItem/dictItemDialog.vue": () => import("./dictItemDialog-CS7eny6x.mjs"), "../views/config/dataDict/index.vue": () => import("./index-B3rpqDYh.mjs"), "../views/config/fieldPool/components/dialog/index.vue": () => import("./index-C9rUV_uk.mjs"), "../views/config/fieldPool/components/formAttr/index.vue": () => import("./index-VM3PoJCL.mjs"), "../views/config/fieldPool/components/searchFormAttr/index.vue": () => import("./index-Bn4CBkuf.mjs"), "../views/config/fieldPool/components/tableAttr/index.vue": () => import("./index-CPjcd04X.mjs"), "../views/config/fieldPool/index.vue": () => import("./index-Do0muLeY.mjs"), "../views/config/formSetting/components/hsBtn/src/hsAttrBtn.vue": () => import("./hsAttrBtn-COyJ4cnz.mjs"), "../views/config/formSetting/components/hsBtn/src/hsBtnConfigList.vue": () => import("./hsBtnConfigList-RsifAB3l.mjs"), "../views/config/formSetting/components/hsBtn/src/hsBtnItemConfig.vue": () => import("./hsBtnItemConfig-T9cL-chB.mjs"), "../views/config/formSetting/components/hsBtn/src/hsBtnPanel.vue": () => import("./hsBtnPanel-C_J3YG45.mjs"), "../views/config/formSetting/components/hsExpand/src/hsExpand.vue": () => import("./hsExpand-Bas14dhw.mjs"), "../views/config/formSetting/components/hsForm/src/contextmenu.vue": () => import("./contextmenu-C9hVH2HQ.mjs"), "../views/config/formSetting/components/hsForm/src/hsAttrForm.vue": () => import("./hsAttrForm-Bk3yXfAa.mjs"), "../views/config/formSetting/components/hsForm/src/hsFormConfig.vue": () => import("./hsFormConfig-DXPCuhAa.mjs"), "../views/config/formSetting/components/hsForm/src/hsFormConfigList.vue": () => import("./hsFormConfigList-FYR52Kbm.mjs"), "../views/config/formSetting/components/hsForm/src/hsFormPanel.vue": () => import("./hsFormPanel-JoOeov1B.mjs"), "../views/config/formSetting/components/hsForm/src/hsFormParse.vue": () => import("./hsFormParse-CWPoDxoP.mjs"), "../views/config/formSetting/components/hsSaveForm/src/cloneConfigDialog.vue": () => import("./cloneConfigDialog-CbUUMq1r.mjs"), "../views/config/formSetting/components/hsSaveForm/src/saveForm.vue": () => import("./saveForm-D5CshdK5.mjs"), "../views/config/formSetting/components/selectConfig/selectConfig.vue": () => import("./selectConfig-DXWz9eZo.mjs"), "../views/config/formSetting/formConfig.vue": () => import("./formConfig-B4hQ1rI8.mjs"), "../views/config/formSetting/index.vue": () => import("./index-N5ki39_q.mjs"), "../views/config/index.vue": () => import("./index-U-nWCWU2.mjs"), "../views/config/pageElement/components/hsPanelItem/hsPanelItem.vue": () => import("./hsPanelItem-D-MdjmLe.mjs"), "../views/config/pageElement/index.vue": () => import("./index-B3bmSJxK.mjs"), "../views/config/parseAPI/index.vue": () => import("./index-Bdqi05-c.mjs"), "../views/config/system/component/addOrEditSystem/index.vue": () => import("./index-Dgi5Vur4.mjs"), "../views/config/system/component/copySystem/copySystem.vue": () => import("./copySystem-CF8B8IMm.mjs"), "../views/config/system/index.vue": () => import("./index-D5Oqi6hR.mjs"), "../views/config/table/index.vue": () => import("./index-COfXkRUN.mjs"), "../views/error/401.vue": () => import("./401-Crq4Xzof.mjs"), "../views/error/404.vue": () => import("./404-BXzpLoR5.mjs"), "../views/home/index.vue": () => import("./index-BmIwA5Dg.mjs"), "../views/login/component/account.vue": () => import("./account-CxnTY8mj.mjs"), "../views/login/component/mobile.vue": () => import("./mobile-oYQ-Pco4.mjs"), "../views/login/component/scan.vue": () => import("./scan-DvhBxeMz.mjs"), "../views/login/index.vue": () => import("./index-CSwU7q61.mjs"), "../views/system/dept/dialog.vue": () => import("./dialog-B7RTd8ck.mjs"), "../views/system/dept/index.vue": () => import("./index-CM5hjuiI.mjs"), "../views/system/dic/dialog.vue": () => import("./dialog-DxwrH-Ch.mjs"), "../views/system/dic/index.vue": () => import("./index-LJDTV9-7.mjs"), "../views/system/menu/copyMenuConfig.vue": () => import("./copyMenuConfig-VGkvi69k.mjs"), "../views/system/menu/dialog.vue": () => import("./dialog-DvyPjgMB.mjs"), "../views/system/menu/index.vue": () => import("./index-xx2P-kQa.mjs"), "../views/system/role/component/roleItem.vue": () => import("./roleItem-ce7UpJb6.mjs"), "../views/system/role/component/userSelect.vue": () => import("./userSelect-C0h0JjCi.mjs"), "../views/system/role/index.vue": () => import("./index-Dm8tTHmR.mjs"), "../views/system/user/dialog.vue": () => import("./dialog-CGX8dDa8.mjs"), "../views/system/user/index.vue": () => import("./index-BZIZB6yj.mjs"), "../views/test/form/index.vue": () => import("./index-Bg0DKsgT.mjs"), "../views/test/mxEditor/components/popup/popup.vue": () => import("./popup-NxyMZQ73.mjs"), "../views/test/mxEditor/index.vue": () => import("./index-IhsYmWlK.mjs"), "../views/test/rtc/index.vue": () => import("./index-BxgeEbyZ.mjs"), "../views/test/table/components/editDialog/editDialog.vue": () => import("./editDialog-B4FtH4V4.mjs"), "../views/test/table/components/replaceRules/replaceRules.vue": () => import("./replaceRules-B6ccYMSu.mjs"), "../views/test/table/index copy.vue": () => import("./index copy-Dqzm_Id0.mjs"), "../views/test/table/index.vue": () => import("./index-DHxF8lIt.mjs"), "../views/test/test/bc-signature/index.vue": () => import("./index-oN2fEmtV.mjs"), "../views/test/test/index copy.vue": () => import("./index copy-8yp2rRli.mjs"), "../views/test/test/index.vue": () => import("./index-Cv1HASgw.mjs"), "../views/test/test/uploadAvatar.vue": () => import("./uploadAvatar-Ci8XEgcE.mjs") });
|
|
101245
101245
|
const dynamicViewsModules = Object.assign({}, { ...layouModules }, { ...viewsModules });
|
|
101246
101246
|
async function initBackEndControlRoutes() {
|
|
101247
101247
|
if (window.nextLoading === void 0)
|
|
@@ -137948,7 +137948,7 @@ var zhCn = {
|
|
|
137948
137948
|
}
|
|
137949
137949
|
}
|
|
137950
137950
|
};
|
|
137951
|
-
const _hoisted_1$
|
|
137951
|
+
const _hoisted_1$18 = { class: "popup-wrapper" };
|
|
137952
137952
|
const _hoisted_2$H = { class: "content" };
|
|
137953
137953
|
const _hoisted_3$z = { key: 0 };
|
|
137954
137954
|
const __default__$W = defineComponent({
|
|
@@ -137975,7 +137975,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
137975
137975
|
return (_ctx, _cache) => {
|
|
137976
137976
|
const _component_el_config_provider = resolveComponent("el-config-provider");
|
|
137977
137977
|
const _component_hs_button = resolveComponent("hs-button");
|
|
137978
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
137978
|
+
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
137979
137979
|
createElementVNode("div", _hoisted_2$H, [
|
|
137980
137980
|
createVNode(_component_el_config_provider, { locale: unref(zhCn) }, {
|
|
137981
137981
|
default: withCtx(() => [
|
|
@@ -138896,15 +138896,9 @@ async function fetchTableData(baseData2, formData2) {
|
|
|
138896
138896
|
var _a2, _b;
|
|
138897
138897
|
if (baseData2.is_apply_page) {
|
|
138898
138898
|
const pageList = ((_a2 = dataRes.data) == null ? void 0 : _a2.pageList) || ((_b = dataRes.data) == null ? void 0 : _b.customPageList) || [];
|
|
138899
|
-
if (baseData2.showAppend) {
|
|
138900
|
-
pageList.push({ _type_append: "append" });
|
|
138901
|
-
}
|
|
138902
138899
|
return typeof tableAsyncFun.value[baseData2.id] === "function" ? tableAsyncFun.value[baseData2.id](pageList) : pageList;
|
|
138903
138900
|
} else {
|
|
138904
138901
|
const list = dataRes.data || [];
|
|
138905
|
-
if (baseData2.showAppend) {
|
|
138906
|
-
list.push({ _type_append: "append" });
|
|
138907
|
-
}
|
|
138908
138902
|
return typeof tableAsyncFun.value[baseData2.id] === "function" ? tableAsyncFun.value[baseData2.id](list) : list;
|
|
138909
138903
|
}
|
|
138910
138904
|
}).finally(() => {
|
|
@@ -138920,16 +138914,10 @@ async function fetchTableData(baseData2, formData2) {
|
|
|
138920
138914
|
let customTotal = ((_a2 = totalRes == null ? void 0 : totalRes.data) == null ? void 0 : _a2.customTotal) || {};
|
|
138921
138915
|
if (baseData2.is_apply_page) {
|
|
138922
138916
|
const pageList = ((_b = dataRes.data) == null ? void 0 : _b.pageList) || ((_c = dataRes.data) == null ? void 0 : _c.customPageList) || [];
|
|
138923
|
-
if (baseData2.showAppend) {
|
|
138924
|
-
pageList.push({ _type_append: "append" });
|
|
138925
|
-
}
|
|
138926
138917
|
const customPageList = pageList.map((i2) => Object.assign(i2, { customTotal }));
|
|
138927
138918
|
return typeof tableAsyncFun.value[baseData2.id] === "function" ? tableAsyncFun.value[baseData2.id](customPageList) : customPageList;
|
|
138928
138919
|
} else {
|
|
138929
138920
|
const pageList = (dataRes == null ? void 0 : dataRes.data) || [];
|
|
138930
|
-
if (baseData2.showAppend) {
|
|
138931
|
-
pageList.push({ _type_append: "append" });
|
|
138932
|
-
}
|
|
138933
138921
|
const list = pageList.map((i2) => Object.assign(i2, { customTotal }));
|
|
138934
138922
|
return typeof tableAsyncFun.value[baseData2.id] === "function" ? tableAsyncFun.value[baseData2.id](list) : list;
|
|
138935
138923
|
}
|
|
@@ -138946,16 +138934,10 @@ async function fetchTableData(baseData2, formData2) {
|
|
|
138946
138934
|
baseData2.table_page_data.pagerCount = res.data.page.totalPage;
|
|
138947
138935
|
baseData2.table_page_data.total = res.data.page.totalItem;
|
|
138948
138936
|
const pageList = ((_b = res.data) == null ? void 0 : _b.pageList) || ((_c = res.data) == null ? void 0 : _c.customPageList) || [];
|
|
138949
|
-
if (baseData2.showAppend) {
|
|
138950
|
-
pageList.push({ _type_append: "append" });
|
|
138951
|
-
}
|
|
138952
138937
|
const customPageList = pageList.map((i2) => Object.assign(i2, { customTotal }));
|
|
138953
138938
|
return typeof tableAsyncFun.value[baseData2.id] === "function" ? tableAsyncFun.value[baseData2.id](customPageList) : customPageList;
|
|
138954
138939
|
} else {
|
|
138955
138940
|
const pageList = res.data || [];
|
|
138956
|
-
if (baseData2.showAppend) {
|
|
138957
|
-
pageList.push({ _type_append: "append" });
|
|
138958
|
-
}
|
|
138959
138941
|
const list = pageList.map((i2) => Object.assign(i2, { customTotal }));
|
|
138960
138942
|
return typeof tableAsyncFun.value[baseData2.id] === "function" ? tableAsyncFun.value[baseData2.id](list) : list;
|
|
138961
138943
|
}
|
|
@@ -139786,7 +139768,7 @@ function getInitFormData(config_unique_id = "") {
|
|
|
139786
139768
|
form: []
|
|
139787
139769
|
};
|
|
139788
139770
|
}
|
|
139789
|
-
const _hoisted_1$
|
|
139771
|
+
const _hoisted_1$17 = { class: "box-wrapper" };
|
|
139790
139772
|
const __default__$V = defineComponent({
|
|
139791
139773
|
name: "bcBox"
|
|
139792
139774
|
});
|
|
@@ -139888,7 +139870,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
139888
139870
|
const _component_bc_table = resolveComponent("bc-table");
|
|
139889
139871
|
const _component_bc_form = resolveComponent("bc-form");
|
|
139890
139872
|
const _directive_loading = resolveDirective("loading");
|
|
139891
|
-
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
139873
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$17, [
|
|
139892
139874
|
_ctx.type === "1" ? (openBlock(), createBlock(_component_bc_table, mergeProps({
|
|
139893
139875
|
key: 0,
|
|
139894
139876
|
data: tableData.value
|
|
@@ -139902,10 +139884,11 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
139902
139884
|
};
|
|
139903
139885
|
})
|
|
139904
139886
|
]), 1040, ["data"])) : createCommentVNode("", true),
|
|
139905
|
-
_ctx.type === "2" ? (openBlock(), createBlock(_component_bc_form,
|
|
139887
|
+
_ctx.type === "2" ? (openBlock(), createBlock(_component_bc_form, {
|
|
139906
139888
|
key: 1,
|
|
139907
|
-
data: formData2.value
|
|
139908
|
-
|
|
139889
|
+
data: formData2.value,
|
|
139890
|
+
onReady
|
|
139891
|
+
}, createSlots({ _: 2 }, [
|
|
139909
139892
|
renderList(_ctx.$slots, (value, name2) => {
|
|
139910
139893
|
return {
|
|
139911
139894
|
name: name2,
|
|
@@ -139914,14 +139897,14 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
139914
139897
|
])
|
|
139915
139898
|
};
|
|
139916
139899
|
})
|
|
139917
|
-
]),
|
|
139900
|
+
]), 1032, ["data"])) : createCommentVNode("", true)
|
|
139918
139901
|
])), [
|
|
139919
139902
|
[_directive_loading, loading2.value]
|
|
139920
139903
|
]);
|
|
139921
139904
|
};
|
|
139922
139905
|
}
|
|
139923
139906
|
});
|
|
139924
|
-
const bcBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1r, [["__scopeId", "data-v-
|
|
139907
|
+
const bcBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1r, [["__scopeId", "data-v-a5f89b6b"]]);
|
|
139925
139908
|
const __default__$U = defineComponent({
|
|
139926
139909
|
name: "bcRadio"
|
|
139927
139910
|
});
|
|
@@ -140087,7 +140070,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
140087
140070
|
};
|
|
140088
140071
|
}
|
|
140089
140072
|
});
|
|
140090
|
-
|
|
140073
|
+
const formUnidId = ref$1("");
|
|
140091
140074
|
function useGuide(props) {
|
|
140092
140075
|
const activeElement = useActiveElement$1();
|
|
140093
140076
|
const bcFormApi = inject("bcFormApi");
|
|
@@ -140113,8 +140096,6 @@ function useGuide(props) {
|
|
|
140113
140096
|
["ArrowRight", rightFocus],
|
|
140114
140097
|
// tab键切换
|
|
140115
140098
|
["Tab", rightFocus],
|
|
140116
|
-
// Enter键切换
|
|
140117
|
-
// ['Enter', rightFocus],
|
|
140118
140099
|
// 键盘左移动
|
|
140119
140100
|
["ArrowLeft", leftFocus],
|
|
140120
140101
|
// 键盘上移动
|
|
@@ -140131,8 +140112,8 @@ function useGuide(props) {
|
|
|
140131
140112
|
},
|
|
140132
140113
|
(val) => {
|
|
140133
140114
|
var _a2;
|
|
140134
|
-
oldUnidId =
|
|
140135
|
-
|
|
140115
|
+
oldUnidId = formUnidId.value;
|
|
140116
|
+
formUnidId.value = val;
|
|
140136
140117
|
if (props.data && !((_a2 = props.data) == null ? void 0 : _a2.isClosedKeyStroke)) {
|
|
140137
140118
|
KeyStrokeStart();
|
|
140138
140119
|
}
|
|
@@ -140154,16 +140135,16 @@ function useGuide(props) {
|
|
|
140154
140135
|
);
|
|
140155
140136
|
onActivated(() => {
|
|
140156
140137
|
var _a2;
|
|
140157
|
-
|
|
140138
|
+
formUnidId.value = (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
140158
140139
|
});
|
|
140159
140140
|
onUnmounted(() => {
|
|
140160
|
-
|
|
140141
|
+
formUnidId.value = oldUnidId;
|
|
140161
140142
|
unwatch();
|
|
140162
140143
|
});
|
|
140163
140144
|
function rightFocus(e2) {
|
|
140164
140145
|
var _a2, _b;
|
|
140165
140146
|
e2.preventDefault();
|
|
140166
|
-
if (
|
|
140147
|
+
if (formUnidId.value !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
140167
140148
|
return;
|
|
140168
140149
|
if (!((_b = activeElement.value) == null ? void 0 : _b.closest(".hs-form-wraper")))
|
|
140169
140150
|
return;
|
|
@@ -140176,7 +140157,7 @@ function useGuide(props) {
|
|
|
140176
140157
|
function leftFocus(e2) {
|
|
140177
140158
|
var _a2, _b;
|
|
140178
140159
|
e2.preventDefault();
|
|
140179
|
-
if (
|
|
140160
|
+
if (formUnidId.value !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
140180
140161
|
return;
|
|
140181
140162
|
if (!((_b = activeElement.value) == null ? void 0 : _b.closest(".hs-form-wraper")))
|
|
140182
140163
|
return;
|
|
@@ -140189,7 +140170,7 @@ function useGuide(props) {
|
|
|
140189
140170
|
function upFocus(e2) {
|
|
140190
140171
|
var _a2, _b, _c;
|
|
140191
140172
|
e2.preventDefault();
|
|
140192
|
-
if (
|
|
140173
|
+
if (formUnidId.value !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
140193
140174
|
return;
|
|
140194
140175
|
if (!((_b = activeElement.value) == null ? void 0 : _b.closest(".hs-form-wraper")))
|
|
140195
140176
|
return;
|
|
@@ -140212,7 +140193,7 @@ function useGuide(props) {
|
|
|
140212
140193
|
function downFocus(e2) {
|
|
140213
140194
|
var _a2, _b, _c;
|
|
140214
140195
|
e2.preventDefault();
|
|
140215
|
-
if (
|
|
140196
|
+
if (formUnidId.value !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
140216
140197
|
return;
|
|
140217
140198
|
if (!((_b = activeElement.value) == null ? void 0 : _b.closest(".hs-form-wraper")))
|
|
140218
140199
|
return;
|
|
@@ -140270,19 +140251,17 @@ function useGuide(props) {
|
|
|
140270
140251
|
var _a2, _b;
|
|
140271
140252
|
const textarea = (_a2 = guideItems[guide.root]) == null ? void 0 : _a2.querySelector("textarea");
|
|
140272
140253
|
const input = (_b = guideItems[guide.root]) == null ? void 0 : _b.querySelector("input");
|
|
140273
|
-
|
|
140274
|
-
|
|
140275
|
-
}
|
|
140276
|
-
if (input) {
|
|
140277
|
-
input.focus();
|
|
140278
|
-
}
|
|
140254
|
+
const item = textarea || input;
|
|
140255
|
+
item == null ? void 0 : item.focus();
|
|
140279
140256
|
}
|
|
140280
140257
|
function getInstance2() {
|
|
140281
140258
|
return hsFormRef.value;
|
|
140282
140259
|
}
|
|
140283
140260
|
function setQueryFocus(fieldID, field) {
|
|
140284
140261
|
setTimeout(() => {
|
|
140285
|
-
const
|
|
140262
|
+
const item1 = document.querySelector(`.${fieldID}__${field} textarea`);
|
|
140263
|
+
const item2 = document.querySelector(`.${fieldID}__${field} input`);
|
|
140264
|
+
const item = item1 || item2;
|
|
140286
140265
|
item == null ? void 0 : item.focus();
|
|
140287
140266
|
}, 600);
|
|
140288
140267
|
}
|
|
@@ -140293,7 +140272,7 @@ function useGuide(props) {
|
|
|
140293
140272
|
setQueryFocus
|
|
140294
140273
|
};
|
|
140295
140274
|
}
|
|
140296
|
-
const _hoisted_1$
|
|
140275
|
+
const _hoisted_1$16 = {
|
|
140297
140276
|
key: 0,
|
|
140298
140277
|
class: "base-form-wraper"
|
|
140299
140278
|
};
|
|
@@ -140432,7 +140411,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
140432
140411
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
140433
140412
|
const _component_hs_form_item = resolveComponent("hs-form-item");
|
|
140434
140413
|
const _component_hs_form = resolveComponent("hs-form");
|
|
140435
|
-
return ((_a3 = _ctx.data) == null ? void 0 : _a3.config_unique_id) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
140414
|
+
return ((_a3 = _ctx.data) == null ? void 0 : _a3.config_unique_id) ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
140436
140415
|
((_c = (_b2 = _ctx.data) == null ? void 0 : _b2.btns) == null ? void 0 : _c.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
|
|
140437
140416
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data.btns, (btn) => {
|
|
140438
140417
|
return openBlock(), createElementBlock(Fragment, {
|
|
@@ -140730,7 +140709,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
140730
140709
|
}
|
|
140731
140710
|
});
|
|
140732
140711
|
const bcForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-68ebf4c9"]]);
|
|
140733
|
-
const _hoisted_1$
|
|
140712
|
+
const _hoisted_1$15 = { class: "search-btn" };
|
|
140734
140713
|
const _hoisted_2$F = { class: "item-wrap" };
|
|
140735
140714
|
const __default__$Q = defineComponent({
|
|
140736
140715
|
name: "formSearchBtn"
|
|
@@ -140755,7 +140734,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
140755
140734
|
}
|
|
140756
140735
|
return (_ctx, _cache) => {
|
|
140757
140736
|
const _component_bc_button = resolveComponent("bc-button");
|
|
140758
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
140737
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
140759
140738
|
createElementVNode("div", _hoisted_2$F, [
|
|
140760
140739
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.btns, (btn) => {
|
|
140761
140740
|
return openBlock(), createElementBlock(Fragment, {
|
|
@@ -140778,7 +140757,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
140778
140757
|
});
|
|
140779
140758
|
const FormSearchBtn = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["__scopeId", "data-v-5a8f4337"]]);
|
|
140780
140759
|
const _withScopeId$9 = (n3) => (pushScopeId("data-v-93a935c6"), n3 = n3(), popScopeId(), n3);
|
|
140781
|
-
const _hoisted_1$
|
|
140760
|
+
const _hoisted_1$14 = { class: "bc-form__wrapper" };
|
|
140782
140761
|
const _hoisted_2$E = {
|
|
140783
140762
|
key: 0,
|
|
140784
140763
|
class: "bc-form__btn"
|
|
@@ -140918,7 +140897,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
140918
140897
|
ref_key: "wrapRef",
|
|
140919
140898
|
ref: wrapRef
|
|
140920
140899
|
}, [
|
|
140921
|
-
createElementVNode("div", _hoisted_1$
|
|
140900
|
+
createElementVNode("div", _hoisted_1$14, [
|
|
140922
140901
|
createVNode(_component_hs_form, mergeProps({
|
|
140923
140902
|
ref_key: "hsFormRef",
|
|
140924
140903
|
ref: hsFormRef
|
|
@@ -142533,7 +142512,7 @@ const ut$1 = [
|
|
|
142533
142512
|
}
|
|
142534
142513
|
});
|
|
142535
142514
|
const _withScopeId$8 = (n3) => (pushScopeId("data-v-7aa356d8"), n3 = n3(), popScopeId(), n3);
|
|
142536
|
-
const _hoisted_1$
|
|
142515
|
+
const _hoisted_1$13 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("div", { class: "h-4 divide" }, null, -1));
|
|
142537
142516
|
const __default__$O = defineComponent({
|
|
142538
142517
|
name: "formDrag"
|
|
142539
142518
|
});
|
|
@@ -142637,7 +142616,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
142637
142616
|
]),
|
|
142638
142617
|
_: 3
|
|
142639
142618
|
}, 8, ["modelValue"]),
|
|
142640
|
-
_hoisted_1$
|
|
142619
|
+
_hoisted_1$13
|
|
142641
142620
|
]),
|
|
142642
142621
|
_: 3
|
|
142643
142622
|
}, 16, ["model"]);
|
|
@@ -142646,7 +142625,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
142646
142625
|
});
|
|
142647
142626
|
const FormDrag = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-7aa356d8"]]);
|
|
142648
142627
|
const _withScopeId$7 = (n3) => (pushScopeId("data-v-f70d5a75"), n3 = n3(), popScopeId(), n3);
|
|
142649
|
-
const _hoisted_1$
|
|
142628
|
+
const _hoisted_1$12 = { class: "sort-form-wraper" };
|
|
142650
142629
|
const _hoisted_2$D = { class: "sort-form-wraper__content" };
|
|
142651
142630
|
const _hoisted_3$w = { class: "content__wrap" };
|
|
142652
142631
|
const _hoisted_4$j = /* @__PURE__ */ createStaticVNode('<div class="head" data-v-f70d5a75><span class="drag" data-v-f70d5a75>拖动</span><span class="name" data-v-f70d5a75>列名称</span><span class="status" data-v-f70d5a75>显示状态</span><span class="index" data-v-f70d5a75>排序值</span></div>', 1);
|
|
@@ -142885,7 +142864,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
142885
142864
|
const _component_el_option = resolveComponent("el-option");
|
|
142886
142865
|
const _component_el_select = resolveComponent("el-select");
|
|
142887
142866
|
const _component_hs_button = resolveComponent("hs-button");
|
|
142888
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
142867
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
142889
142868
|
createElementVNode("div", _hoisted_2$D, [
|
|
142890
142869
|
createElementVNode("div", _hoisted_3$w, [
|
|
142891
142870
|
_hoisted_4$j,
|
|
@@ -143058,105 +143037,11 @@ const tableIndex = reactive({
|
|
|
143058
143037
|
unidId: ""
|
|
143059
143038
|
});
|
|
143060
143039
|
function onTableKey(formRef, activeTabs, props) {
|
|
143061
|
-
let oldUnidId = "";
|
|
143062
143040
|
const bcTableApi = inject("bcTableApi");
|
|
143063
|
-
const menuTable = [{ label: "复制", value: "copy", click: copyCell }];
|
|
143064
143041
|
const unwatch = watch(activeTabs, onCheckboxSelect);
|
|
143065
|
-
const { start: KeyStrokeStart } = useKeyStroke(
|
|
143066
|
-
[
|
|
143067
|
-
// tab键切换
|
|
143068
|
-
["Tab", TabFocus],
|
|
143069
|
-
// 键盘右移动
|
|
143070
|
-
["ArrowRight", ArrowRightAdd],
|
|
143071
|
-
// 键盘左移动
|
|
143072
|
-
["ArrowLeft", ArrowLeftSub],
|
|
143073
|
-
// 键盘上移动
|
|
143074
|
-
["ArrowUp", upFocus],
|
|
143075
|
-
// 键盘下移动
|
|
143076
|
-
["ArrowDown", downFocus]
|
|
143077
|
-
],
|
|
143078
|
-
{ isIinit: false }
|
|
143079
|
-
);
|
|
143080
|
-
watchOnce(
|
|
143081
|
-
() => {
|
|
143082
|
-
var _a2;
|
|
143083
|
-
return (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
143084
|
-
},
|
|
143085
|
-
(val) => {
|
|
143086
|
-
oldUnidId = tableIndex.unidId;
|
|
143087
|
-
tableIndex.unidId = val;
|
|
143088
|
-
setTimeout(() => {
|
|
143089
|
-
var _a2, _b, _c;
|
|
143090
|
-
const tableConfig2 = (_b = (_a2 = props.data) == null ? void 0 : _a2.tables) == null ? void 0 : _b.find((i2) => i2.id === activeTabs.value);
|
|
143091
|
-
if (tableConfig2 && !((_c = tableConfig2 == null ? void 0 : tableConfig2.baseData) == null ? void 0 : _c.isClosedKeyStroke))
|
|
143092
|
-
KeyStrokeStart();
|
|
143093
|
-
});
|
|
143094
|
-
}
|
|
143095
|
-
);
|
|
143096
|
-
onActivated(() => {
|
|
143097
|
-
var _a2;
|
|
143098
|
-
tableIndex.unidId = (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
143099
|
-
});
|
|
143100
143042
|
onBeforeUnmount(() => {
|
|
143101
|
-
tableIndex.unidId = oldUnidId;
|
|
143102
143043
|
unwatch();
|
|
143103
143044
|
});
|
|
143104
|
-
function setFocus() {
|
|
143105
|
-
setTableCellFocus(tableIndex.rowIndex);
|
|
143106
|
-
}
|
|
143107
|
-
function setTableCellFocus(rowIndex, field) {
|
|
143108
|
-
var _a2;
|
|
143109
|
-
const $table = bcTableApi == null ? void 0 : bcTableApi.getApi();
|
|
143110
|
-
const row = $table == null ? void 0 : $table.getData(rowIndex);
|
|
143111
|
-
const { visibleColumn } = $table.getTableColumn();
|
|
143112
|
-
let Field = "";
|
|
143113
|
-
if (typeof field === "string") {
|
|
143114
|
-
Field = field;
|
|
143115
|
-
}
|
|
143116
|
-
if (typeof field === "number") {
|
|
143117
|
-
tableIndex.columnIndex = field;
|
|
143118
|
-
}
|
|
143119
|
-
const columnField = Field || ((_a2 = visibleColumn[tableIndex.columnIndex]) == null ? void 0 : _a2.field);
|
|
143120
|
-
if (!columnField)
|
|
143121
|
-
return;
|
|
143122
|
-
$table == null ? void 0 : $table.setCurrentRow(row);
|
|
143123
|
-
$table == null ? void 0 : $table.setEditRow(row, columnField).then(() => {
|
|
143124
|
-
$table == null ? void 0 : $table.scrollToColumn(columnField);
|
|
143125
|
-
const { rowIndex: rowIndex2, columnIndex } = ($table == null ? void 0 : $table.getEditRecord()) || {};
|
|
143126
|
-
tableIndex.rowIndex = rowIndex2 ?? 0;
|
|
143127
|
-
tableIndex.columnIndex = columnIndex ?? 0;
|
|
143128
|
-
});
|
|
143129
|
-
}
|
|
143130
|
-
async function ArrowRightAdd(e2) {
|
|
143131
|
-
var _a2;
|
|
143132
|
-
e2.preventDefault();
|
|
143133
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
143134
|
-
return;
|
|
143135
|
-
const activeElement = document.activeElement;
|
|
143136
|
-
if (activeElement.closest(".bc-form__wrapper"))
|
|
143137
|
-
return;
|
|
143138
|
-
const table = props.data.tables.find((i2) => i2.id === activeTabs.value);
|
|
143139
|
-
const table_page_data = table.baseData.table_page_data;
|
|
143140
|
-
if (table_page_data.currentPage < table_page_data.pagerCount) {
|
|
143141
|
-
table_page_data.currentPage++;
|
|
143142
|
-
await onPageChange({ currentPage: table_page_data.currentPage, pageSize: table_page_data.pageSize });
|
|
143143
|
-
}
|
|
143144
|
-
}
|
|
143145
|
-
async function ArrowLeftSub(e2) {
|
|
143146
|
-
var _a2;
|
|
143147
|
-
e2.preventDefault();
|
|
143148
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
143149
|
-
return;
|
|
143150
|
-
const activeElement = document.activeElement;
|
|
143151
|
-
if (activeElement.closest(".bc-form__wrapper"))
|
|
143152
|
-
return;
|
|
143153
|
-
const table = props.data.tables.find((i2) => i2.id === activeTabs.value);
|
|
143154
|
-
const table_page_data = table.baseData.table_page_data;
|
|
143155
|
-
if (table_page_data.currentPage > 1) {
|
|
143156
|
-
table_page_data.currentPage--;
|
|
143157
|
-
await onPageChange({ currentPage: table_page_data.currentPage, pageSize: table_page_data.pageSize });
|
|
143158
|
-
}
|
|
143159
|
-
}
|
|
143160
143045
|
async function onPageChange(params) {
|
|
143161
143046
|
const { scrollLeft = 0 } = (bcTableApi == null ? void 0 : bcTableApi.getApi().getScroll()) || {};
|
|
143162
143047
|
const table = props.data.tables.find((i2) => i2.id === activeTabs.value);
|
|
@@ -143207,74 +143092,6 @@ function onTableKey(formRef, activeTabs, props) {
|
|
|
143207
143092
|
bcTableApi == null ? void 0 : bcTableApi.setCheckboxRow([params.row], params.checked);
|
|
143208
143093
|
onCheckboxSelect();
|
|
143209
143094
|
}
|
|
143210
|
-
function TabFocus(e2) {
|
|
143211
|
-
var _a2;
|
|
143212
|
-
e2.preventDefault();
|
|
143213
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
143214
|
-
return;
|
|
143215
|
-
const activeElement = document.activeElement;
|
|
143216
|
-
if (!activeElement.closest(".bc-table__content"))
|
|
143217
|
-
return;
|
|
143218
|
-
const { visibleColumn } = bcTableApi.getApi().getTableColumn();
|
|
143219
|
-
tableIndex.columnIndex++;
|
|
143220
|
-
if (tableIndex.columnIndex > visibleColumn.length - 1) {
|
|
143221
|
-
tableIndex.columnIndex = 0;
|
|
143222
|
-
}
|
|
143223
|
-
const rowIndex = tableIndex.rowIndex;
|
|
143224
|
-
isFocus(visibleColumn);
|
|
143225
|
-
if (rowIndex !== tableIndex.rowIndex) {
|
|
143226
|
-
tableIndex.rowIndex--;
|
|
143227
|
-
return downFocus(e2);
|
|
143228
|
-
}
|
|
143229
|
-
setFocus();
|
|
143230
|
-
}
|
|
143231
|
-
function isFocus(visibleColumn) {
|
|
143232
|
-
var _a2;
|
|
143233
|
-
const item = visibleColumn[tableIndex.columnIndex];
|
|
143234
|
-
if ((_a2 = item == null ? void 0 : item.editRender) == null ? void 0 : _a2.enabled)
|
|
143235
|
-
return;
|
|
143236
|
-
tableIndex.columnIndex++;
|
|
143237
|
-
if (tableIndex.columnIndex > visibleColumn.length - 1) {
|
|
143238
|
-
tableIndex.columnIndex = 0;
|
|
143239
|
-
tableIndex.rowIndex++;
|
|
143240
|
-
}
|
|
143241
|
-
isFocus(visibleColumn);
|
|
143242
|
-
}
|
|
143243
|
-
function upFocus(e2) {
|
|
143244
|
-
var _a2, _b;
|
|
143245
|
-
e2.preventDefault();
|
|
143246
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
143247
|
-
return;
|
|
143248
|
-
const activeElement = document.activeElement;
|
|
143249
|
-
if (!activeElement.closest(".bc-table__content"))
|
|
143250
|
-
return;
|
|
143251
|
-
tableIndex.rowIndex--;
|
|
143252
|
-
if (tableIndex.rowIndex < 0) {
|
|
143253
|
-
tableIndex.rowIndex = 0;
|
|
143254
|
-
(_b = _$4.get(toValue$1(formRef), "componentRef.0")) == null ? void 0 : _b.focus();
|
|
143255
|
-
return;
|
|
143256
|
-
}
|
|
143257
|
-
setFocus();
|
|
143258
|
-
}
|
|
143259
|
-
function downFocus(e2) {
|
|
143260
|
-
var _a2;
|
|
143261
|
-
e2.preventDefault();
|
|
143262
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
143263
|
-
return;
|
|
143264
|
-
const activeElement = document.activeElement;
|
|
143265
|
-
if (!activeElement.closest(".bc-table__content"))
|
|
143266
|
-
return;
|
|
143267
|
-
const tableData = bcTableApi.getApi().getData();
|
|
143268
|
-
tableIndex.rowIndex++;
|
|
143269
|
-
if (tableIndex.rowIndex > tableData.length - 1) {
|
|
143270
|
-
tableIndex.rowIndex = 0;
|
|
143271
|
-
}
|
|
143272
|
-
setFocus();
|
|
143273
|
-
}
|
|
143274
|
-
function copyCell(val) {
|
|
143275
|
-
const text = val.target.innerText;
|
|
143276
|
-
copyText(text);
|
|
143277
|
-
}
|
|
143278
143095
|
function onResizableChange(params, id) {
|
|
143279
143096
|
return getConfig$9({ mid: props.data.mid, id: props.data.config_unique_id, uid: props.data.uid }).then(
|
|
143280
143097
|
async (res) => {
|
|
@@ -143296,22 +143113,16 @@ function onTableKey(formRef, activeTabs, props) {
|
|
|
143296
143113
|
);
|
|
143297
143114
|
}
|
|
143298
143115
|
return {
|
|
143299
|
-
menuTable,
|
|
143300
143116
|
onPageChange,
|
|
143301
143117
|
onCheckboxAll,
|
|
143302
143118
|
onCheckboxChange,
|
|
143303
|
-
onResizableChange
|
|
143304
|
-
setTableCellFocus
|
|
143119
|
+
onResizableChange
|
|
143305
143120
|
};
|
|
143306
143121
|
}
|
|
143307
143122
|
function useTable$1(props, tableRef, emit) {
|
|
143308
143123
|
const bcBoxApi = inject("bcBoxApi", {});
|
|
143309
143124
|
const bcTableApi = inject("bcTableApi");
|
|
143310
143125
|
const seqColumnWidth = ref$1(50);
|
|
143311
|
-
const mergeCells = computed(() => {
|
|
143312
|
-
const merge3 = props.baseData.mergeCells || [];
|
|
143313
|
-
return !props.baseData.showAppend ? merge3 : merge3.concat([{ row: props.tableData.length - 1, col: 1, rowspan: 1, colspan: props.tableConfig.length - 1 }]);
|
|
143314
|
-
});
|
|
143315
143126
|
onMounted(() => {
|
|
143316
143127
|
nextTick(() => {
|
|
143317
143128
|
emit("ready", tableRef.value);
|
|
@@ -143425,9 +143236,10 @@ function useTable$1(props, tableRef, emit) {
|
|
|
143425
143236
|
"requestUrl",
|
|
143426
143237
|
"minHeight",
|
|
143427
143238
|
"min-height",
|
|
143428
|
-
"mergeCells",
|
|
143429
143239
|
"merge-cells",
|
|
143430
|
-
"
|
|
143240
|
+
"keydown",
|
|
143241
|
+
"keydown-start",
|
|
143242
|
+
"keydown-end"
|
|
143431
143243
|
]);
|
|
143432
143244
|
return base;
|
|
143433
143245
|
}
|
|
@@ -143443,7 +143255,6 @@ function useTable$1(props, tableRef, emit) {
|
|
|
143443
143255
|
}
|
|
143444
143256
|
return {
|
|
143445
143257
|
seqColumnWidth,
|
|
143446
|
-
mergeCells,
|
|
143447
143258
|
handleCellClick,
|
|
143448
143259
|
handleCellDblclick,
|
|
143449
143260
|
headerCellClick,
|
|
@@ -143463,8 +143274,6 @@ function useTableHeight$1(props) {
|
|
|
143463
143274
|
const wrapRef = ref$1();
|
|
143464
143275
|
const pagerRef = ref$1();
|
|
143465
143276
|
const tableRef = ref$1();
|
|
143466
|
-
const appendStyle = ref$1({ transform: `translateX(0)` });
|
|
143467
|
-
const { width: tableWidth } = useElementSize(tableRef, { height: 0, width: 0 });
|
|
143468
143277
|
const { height: pageHeight } = useElementSize(pagerRef, { height: 0, width: 0 });
|
|
143469
143278
|
const fontColor = ref$1("#000");
|
|
143470
143279
|
getConfig$9({ mid: props.mid, id: props.uniqueId, uid: props.uid }, props.id).then((res) => {
|
|
@@ -143476,31 +143285,15 @@ function useTableHeight$1(props) {
|
|
|
143476
143285
|
"--font-color": fontColor.value
|
|
143477
143286
|
};
|
|
143478
143287
|
});
|
|
143479
|
-
onMounted(() => {
|
|
143480
|
-
if (props.baseData.showAppend) {
|
|
143481
|
-
const offset2 = tableWidth.value / 2;
|
|
143482
|
-
appendStyle.value = {
|
|
143483
|
-
transform: `translateX(${offset2}px)`
|
|
143484
|
-
};
|
|
143485
|
-
}
|
|
143486
|
-
});
|
|
143487
|
-
function scrollEvent(params) {
|
|
143488
|
-
if (props.baseData.showAppend) {
|
|
143489
|
-
const offset2 = tableWidth.value / 2;
|
|
143490
|
-
appendStyle.value.transform = `translateX(${offset2 + params.scrollLeft}px)`;
|
|
143491
|
-
}
|
|
143492
|
-
}
|
|
143493
143288
|
return {
|
|
143494
143289
|
tableId,
|
|
143495
143290
|
wrapRef,
|
|
143496
143291
|
pagerRef,
|
|
143497
143292
|
tableRef,
|
|
143498
|
-
style
|
|
143499
|
-
appendStyle,
|
|
143500
|
-
scrollEvent
|
|
143293
|
+
style
|
|
143501
143294
|
};
|
|
143502
143295
|
}
|
|
143503
|
-
const _hoisted_1$
|
|
143296
|
+
const _hoisted_1$11 = { key: 2 };
|
|
143504
143297
|
const __default__$M = defineComponent({
|
|
143505
143298
|
name: "formTable"
|
|
143506
143299
|
});
|
|
@@ -143520,17 +143313,16 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143520
143313
|
setup(__props, { emit: __emit }) {
|
|
143521
143314
|
const props = __props;
|
|
143522
143315
|
const emit = __emit;
|
|
143523
|
-
const { wrapRef, pagerRef, tableRef, style
|
|
143316
|
+
const { wrapRef, pagerRef, tableRef, style } = useTableHeight$1(props);
|
|
143524
143317
|
const {
|
|
143525
143318
|
seqColumnWidth,
|
|
143526
|
-
mergeCells,
|
|
143527
143319
|
handleCellClick,
|
|
143528
143320
|
handleCellDblclick,
|
|
143529
|
-
headerCellClick,
|
|
143530
|
-
headerBtnClick,
|
|
143531
143321
|
handleCheckboxAll,
|
|
143532
143322
|
handleCheckboxChange,
|
|
143533
143323
|
handleResizableChange,
|
|
143324
|
+
headerCellClick,
|
|
143325
|
+
headerBtnClick,
|
|
143534
143326
|
pageChange,
|
|
143535
143327
|
customeSeqMethod,
|
|
143536
143328
|
sortChangeEvent,
|
|
@@ -143576,7 +143368,6 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143576
143368
|
}, unref(getBaseData)(_ctx.baseData, _ctx.$attrs), {
|
|
143577
143369
|
height: unref(style).height,
|
|
143578
143370
|
data: _ctx.tableData,
|
|
143579
|
-
mergeCells: unref(mergeCells),
|
|
143580
143371
|
seqConfig: { seqMethod: (e2) => unref(customeSeqMethod)(e2, _ctx.baseData) },
|
|
143581
143372
|
onSortChange: _cache[0] || (_cache[0] = ($event) => unref(sortChangeEvent)($event, _ctx.baseData)),
|
|
143582
143373
|
onCellClick: unref(handleCellClick),
|
|
@@ -143584,8 +143375,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143584
143375
|
onHeaderCellClick: unref(headerCellClick),
|
|
143585
143376
|
onCheckboxAll: unref(handleCheckboxAll),
|
|
143586
143377
|
onCheckboxChange: unref(handleCheckboxChange),
|
|
143587
|
-
onResizableChange: unref(handleResizableChange)
|
|
143588
|
-
onScroll: unref(scrollEvent)
|
|
143378
|
+
onResizableChange: unref(handleResizableChange)
|
|
143589
143379
|
}), {
|
|
143590
143380
|
default: withCtx(() => [
|
|
143591
143381
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tableConfig, (item) => {
|
|
@@ -143616,19 +143406,12 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143616
143406
|
resizable: !unref(specialType).includes(item.data.type)
|
|
143617
143407
|
}), createSlots({
|
|
143618
143408
|
default: withCtx((scopeData) => [
|
|
143619
|
-
|
|
143620
|
-
key: 0,
|
|
143621
|
-
class: "cell-append",
|
|
143622
|
-
style: normalizeStyle(unref(appendStyle))
|
|
143623
|
-
}, [
|
|
143624
|
-
renderSlot(_ctx.$slots, "append", normalizeProps(guardReactiveProps(scopeData || {})), void 0, true)
|
|
143625
|
-
], 4)) : createCommentVNode("", true),
|
|
143626
|
-
item.data.isSlot ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
143409
|
+
item.data.isSlot ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
143627
143410
|
item.data.el ? (openBlock(), createBlock(resolveDynamicComponent(unref(getRenderComponent)(item.data.el)), mergeProps({ key: 0 }, unref(getSlotConfig)(item.data), {
|
|
143628
143411
|
modelValue: scopeData.row[scopeData.column.field],
|
|
143629
143412
|
"onUpdate:modelValue": ($event) => scopeData.row[scopeData.column.field] = $event
|
|
143630
143413
|
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : renderSlot(_ctx.$slots, item.data.field, normalizeProps(mergeProps({ key: 1 }, scopeData || {})), void 0, true)
|
|
143631
|
-
], 64)) : item.btnData && item.btnData.length ? (openBlock(true), createElementBlock(Fragment, { key:
|
|
143414
|
+
], 64)) : item.btnData && item.btnData.length ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.btnData, (btn) => {
|
|
143632
143415
|
return openBlock(), createElementBlock(Fragment, {
|
|
143633
143416
|
key: btn.id
|
|
143634
143417
|
}, [
|
|
@@ -143638,7 +143421,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143638
143421
|
}), null, 16, ["onClick"]))
|
|
143639
143422
|
], 64)) : createCommentVNode("", true)
|
|
143640
143423
|
], 64);
|
|
143641
|
-
}), 128)) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
143424
|
+
}), 128)) : (openBlock(), createElementBlock("span", _hoisted_1$11, toDisplayString(getScopeData(item.data, scopeData)), 1))
|
|
143642
143425
|
]),
|
|
143643
143426
|
_: 2
|
|
143644
143427
|
}, [
|
|
@@ -143662,7 +143445,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143662
143445
|
}), 128))
|
|
143663
143446
|
]),
|
|
143664
143447
|
_: 3
|
|
143665
|
-
}, 16, ["height", "data", "
|
|
143448
|
+
}, 16, ["height", "data", "seqConfig", "onCellClick", "onCellDblclick", "onHeaderCellClick", "onCheckboxAll", "onCheckboxChange", "onResizableChange"])
|
|
143666
143449
|
], 4),
|
|
143667
143450
|
createElementVNode("div", {
|
|
143668
143451
|
ref_key: "pagerRef",
|
|
@@ -143686,8 +143469,8 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
143686
143469
|
};
|
|
143687
143470
|
}
|
|
143688
143471
|
});
|
|
143689
|
-
const FormTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-
|
|
143690
|
-
const _hoisted_1
|
|
143472
|
+
const FormTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-6580a85d"]]);
|
|
143473
|
+
const _hoisted_1$10 = {
|
|
143691
143474
|
key: 0,
|
|
143692
143475
|
class: "item-wrap"
|
|
143693
143476
|
};
|
|
@@ -143723,7 +143506,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
143723
143506
|
class: normalizeClass(["tabs-head", [_ctx.tabs.length > 1 ? "min-h-16" : "min-h-2"]])
|
|
143724
143507
|
}, [
|
|
143725
143508
|
renderSlot(_ctx.$slots, "left", {}, void 0, true),
|
|
143726
|
-
_ctx.tabs.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1
|
|
143509
|
+
_ctx.tabs.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
143727
143510
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (item) => {
|
|
143728
143511
|
return openBlock(), createElementBlock("span", {
|
|
143729
143512
|
class: normalizeClass(["item", [active.value === item.id ? "active" : ""]]),
|
|
@@ -143791,7 +143574,7 @@ function useContextMenu(container, props) {
|
|
|
143791
143574
|
mouseEvent
|
|
143792
143575
|
};
|
|
143793
143576
|
}
|
|
143794
|
-
const _hoisted_1
|
|
143577
|
+
const _hoisted_1$$ = ["onClick"];
|
|
143795
143578
|
const __default__$K = defineComponent({
|
|
143796
143579
|
name: "contextBody"
|
|
143797
143580
|
});
|
|
@@ -143859,7 +143642,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
143859
143642
|
class: "content-item",
|
|
143860
143643
|
key,
|
|
143861
143644
|
onClick: withModifiers(($event) => handleClick(item), ["stop"])
|
|
143862
|
-
}, toDisplayString(toValue$1(item.label)), 9, _hoisted_1
|
|
143645
|
+
}, toDisplayString(toValue$1(item.label)), 9, _hoisted_1$$);
|
|
143863
143646
|
}), 128))
|
|
143864
143647
|
], 4)) : createCommentVNode("", true)
|
|
143865
143648
|
]),
|
|
@@ -144136,6 +143919,8 @@ function useButon(formRef, props) {
|
|
|
144136
143919
|
return search();
|
|
144137
143920
|
}
|
|
144138
143921
|
async function search(table_id, query) {
|
|
143922
|
+
var _a2;
|
|
143923
|
+
tableIndex.unidId = (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
144139
143924
|
const { scrollLeft = 0, scrollTop = 0 } = (bcTableApi == null ? void 0 : bcTableApi.getApi().getScroll()) || {};
|
|
144140
143925
|
return bcTableApi == null ? void 0 : bcTableApi.searchValidate().then(() => {
|
|
144141
143926
|
const tables = table_id ? props.data.tables.filter((i2) => i2.id === table_id) : props.data.tables;
|
|
@@ -144150,8 +143935,8 @@ function useButon(formRef, props) {
|
|
|
144150
143935
|
).then(() => {
|
|
144151
143936
|
return new Promise((reslove) => {
|
|
144152
143937
|
setTimeout(() => {
|
|
144153
|
-
var
|
|
144154
|
-
const btnKey = (
|
|
143938
|
+
var _a3, _b, _c, _d;
|
|
143939
|
+
const btnKey = (_a3 = props.data) == null ? void 0 : _a3.btns.find((i2) => i2.data.key === (bcTableApi == null ? void 0 : bcTableApi.btnKey.value));
|
|
144155
143940
|
if (btnKey) {
|
|
144156
143941
|
btnKey.data.loading = false;
|
|
144157
143942
|
bcTableApi == null ? void 0 : bcTableApi.setBtnKey("");
|
|
@@ -144222,7 +144007,7 @@ function useButon(formRef, props) {
|
|
|
144222
144007
|
reset
|
|
144223
144008
|
};
|
|
144224
144009
|
}
|
|
144225
|
-
const _hoisted_1$
|
|
144010
|
+
const _hoisted_1$_ = { class: "sort-form-wraper" };
|
|
144226
144011
|
const _hoisted_2$B = { class: "sort-form-wraper__content" };
|
|
144227
144012
|
const _hoisted_3$v = { class: "content__wrap" };
|
|
144228
144013
|
const _hoisted_4$i = /* @__PURE__ */ createStaticVNode('<div class="head" data-v-b6a7b6a3><span class="drag" data-v-b6a7b6a3>拖动</span><span class="name" data-v-b6a7b6a3>列名称</span><span class="status" data-v-b6a7b6a3>显示状态</span><span class="index" data-v-b6a7b6a3>排序值</span></div>', 1);
|
|
@@ -144413,7 +144198,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
144413
144198
|
const _component_hs_input = resolveComponent("hs-input");
|
|
144414
144199
|
const _component_hs_switch = resolveComponent("hs-switch");
|
|
144415
144200
|
const _component_hs_button = resolveComponent("hs-button");
|
|
144416
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
144201
|
+
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
144417
144202
|
createElementVNode("div", _hoisted_2$B, [
|
|
144418
144203
|
createElementVNode("div", _hoisted_3$v, [
|
|
144419
144204
|
_hoisted_4$i,
|
|
@@ -144525,9 +144310,7 @@ function setSortPopup(id, mid, refreshData, uid2, form_id, project_code) {
|
|
|
144525
144310
|
}
|
|
144526
144311
|
function onFormKey(formRef, props) {
|
|
144527
144312
|
const bcBoxApi = inject("bcBoxApi", {});
|
|
144528
|
-
const bcTableApi = inject("bcTableApi");
|
|
144529
144313
|
const isShowDrag = ref$1(false);
|
|
144530
|
-
let count = 0;
|
|
144531
144314
|
const showDrag = async () => {
|
|
144532
144315
|
var _a2;
|
|
144533
144316
|
if (isShowDrag.value) {
|
|
@@ -144587,44 +144370,232 @@ function onFormKey(formRef, props) {
|
|
|
144587
144370
|
{ label: computed(() => isShowDrag.value ? "完成排序" : "排序设置"), value: "111", click: showDrag },
|
|
144588
144371
|
{ label: "重置设置", value: "333", click: onRestConfig }
|
|
144589
144372
|
];
|
|
144590
|
-
|
|
144591
|
-
|
|
144592
|
-
|
|
144593
|
-
|
|
144594
|
-
|
|
144595
|
-
|
|
144596
|
-
[
|
|
144597
|
-
|
|
144598
|
-
|
|
144599
|
-
|
|
144600
|
-
|
|
144601
|
-
|
|
144602
|
-
|
|
144603
|
-
|
|
144604
|
-
|
|
144605
|
-
|
|
144373
|
+
async function saveUserConfig(formConfig2) {
|
|
144374
|
+
var _a2, _b, _c, _d, _e2;
|
|
144375
|
+
formConfig2.forEach((item, index2) => {
|
|
144376
|
+
item.sort = index2;
|
|
144377
|
+
});
|
|
144378
|
+
const json_data = formConfig2.reduce((total2, next) => {
|
|
144379
|
+
total2[next.data.baseData.prop] = {
|
|
144380
|
+
fieldName: next.data.baseData.label,
|
|
144381
|
+
showName: next.data.baseData.label,
|
|
144382
|
+
fieldProp: next.data.baseData.prop,
|
|
144383
|
+
fieldShow: next.data.baseData.fieldShow ? 1 : 0,
|
|
144384
|
+
userFieldShow: next.data.baseData.userFieldShow ? 1 : 0,
|
|
144385
|
+
sort: next.sort + 1
|
|
144386
|
+
};
|
|
144387
|
+
return total2;
|
|
144388
|
+
}, {});
|
|
144389
|
+
await setConfig$2({ mid: props.data.mid, id: props.data.config_unique_id, uid: (_a2 = props.data) == null ? void 0 : _a2.uid }, json_data, `form_${props.data.form.id}`);
|
|
144390
|
+
return request({
|
|
144391
|
+
url: `/${(_b = props.data) == null ? void 0 : _b.project_code}-web/pri/v2/field_user/batch_save_user_field`,
|
|
144392
|
+
method: "post",
|
|
144393
|
+
data: {
|
|
144394
|
+
config_unique_id: (_c = props.data) == null ? void 0 : _c.config_unique_id,
|
|
144395
|
+
menu_id: (_d = props.data) == null ? void 0 : _d.mid,
|
|
144396
|
+
table_id: `form_${(_e2 = props.data) == null ? void 0 : _e2.form.id}`,
|
|
144397
|
+
base_config: JSON.stringify({}),
|
|
144398
|
+
json_data: JSON.stringify(Object.values(json_data))
|
|
144399
|
+
}
|
|
144400
|
+
});
|
|
144401
|
+
}
|
|
144402
|
+
function setQueryFocus(index2, delay2 = 600) {
|
|
144403
|
+
setTimeout(() => {
|
|
144404
|
+
var _a2;
|
|
144405
|
+
(_a2 = _$4.get(toValue$1(formRef), `componentRef.${index2}`)) == null ? void 0 : _a2.focus();
|
|
144406
|
+
}, delay2);
|
|
144407
|
+
}
|
|
144408
|
+
return {
|
|
144409
|
+
isShowDrag,
|
|
144410
|
+
menuForm,
|
|
144411
|
+
setQueryFocus
|
|
144412
|
+
};
|
|
144413
|
+
}
|
|
144414
|
+
let getRandomValues;
|
|
144415
|
+
const rnds8 = new Uint8Array(16);
|
|
144416
|
+
function rng() {
|
|
144417
|
+
if (!getRandomValues) {
|
|
144418
|
+
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
144419
|
+
if (!getRandomValues) {
|
|
144420
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
144421
|
+
}
|
|
144422
|
+
}
|
|
144423
|
+
return getRandomValues(rnds8);
|
|
144424
|
+
}
|
|
144425
|
+
const byteToHex = [];
|
|
144426
|
+
for (let i2 = 0; i2 < 256; ++i2) {
|
|
144427
|
+
byteToHex.push((i2 + 256).toString(16).slice(1));
|
|
144428
|
+
}
|
|
144429
|
+
function unsafeStringify(arr, offset2 = 0) {
|
|
144430
|
+
return byteToHex[arr[offset2 + 0]] + byteToHex[arr[offset2 + 1]] + byteToHex[arr[offset2 + 2]] + byteToHex[arr[offset2 + 3]] + "-" + byteToHex[arr[offset2 + 4]] + byteToHex[arr[offset2 + 5]] + "-" + byteToHex[arr[offset2 + 6]] + byteToHex[arr[offset2 + 7]] + "-" + byteToHex[arr[offset2 + 8]] + byteToHex[arr[offset2 + 9]] + "-" + byteToHex[arr[offset2 + 10]] + byteToHex[arr[offset2 + 11]] + byteToHex[arr[offset2 + 12]] + byteToHex[arr[offset2 + 13]] + byteToHex[arr[offset2 + 14]] + byteToHex[arr[offset2 + 15]];
|
|
144431
|
+
}
|
|
144432
|
+
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
144433
|
+
const native = {
|
|
144434
|
+
randomUUID
|
|
144435
|
+
};
|
|
144436
|
+
function v4(options2, buf, offset2) {
|
|
144437
|
+
if (native.randomUUID && !buf && !options2) {
|
|
144438
|
+
return native.randomUUID();
|
|
144439
|
+
}
|
|
144440
|
+
options2 = options2 || {};
|
|
144441
|
+
const rnds = options2.random || (options2.rng || rng)();
|
|
144442
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
144443
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
144444
|
+
if (buf) {
|
|
144445
|
+
offset2 = offset2 || 0;
|
|
144446
|
+
for (let i2 = 0; i2 < 16; ++i2) {
|
|
144447
|
+
buf[offset2 + i2] = rnds[i2];
|
|
144448
|
+
}
|
|
144449
|
+
return buf;
|
|
144450
|
+
}
|
|
144451
|
+
return unsafeStringify(rnds);
|
|
144452
|
+
}
|
|
144453
|
+
function onKeydownEvent({ props, formRef, onPageChange, emit }) {
|
|
144454
|
+
const uid2 = "wrap-" + v4();
|
|
144455
|
+
const query_uid = "query-" + v4();
|
|
144456
|
+
const table_uid = "table-" + v4();
|
|
144457
|
+
let oldUnidId = "";
|
|
144458
|
+
let count = 0;
|
|
144459
|
+
const bcTableApi = inject("bcTableApi");
|
|
144460
|
+
const menuTable = [{ label: "复制", value: "copy", click: copyCell }];
|
|
144606
144461
|
watchOnce(
|
|
144607
144462
|
() => {
|
|
144608
144463
|
var _a2;
|
|
144609
144464
|
return (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
144610
144465
|
},
|
|
144611
|
-
() => {
|
|
144612
|
-
|
|
144613
|
-
|
|
144614
|
-
if (((_a2 = props.data) == null ? void 0 : _a2.form) && !((_d = (_c = (_b = props.data) == null ? void 0 : _b.form) == null ? void 0 : _c.baseData) == null ? void 0 : _d.isClosedKeyStroke))
|
|
144615
|
-
KeyStrokeStart();
|
|
144616
|
-
});
|
|
144466
|
+
(val) => {
|
|
144467
|
+
oldUnidId = tableIndex.unidId;
|
|
144468
|
+
tableIndex.unidId = val;
|
|
144617
144469
|
}
|
|
144618
144470
|
);
|
|
144619
|
-
|
|
144620
|
-
var _a2
|
|
144621
|
-
|
|
144471
|
+
onActivated(() => {
|
|
144472
|
+
var _a2;
|
|
144473
|
+
tableIndex.unidId = (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
144474
|
+
});
|
|
144475
|
+
const unKeyStroke = onKeyStroke(
|
|
144476
|
+
true,
|
|
144477
|
+
async (e2) => {
|
|
144478
|
+
await onKeydown(e2);
|
|
144479
|
+
},
|
|
144480
|
+
{ dedupe: true, eventName: "keydown" }
|
|
144481
|
+
);
|
|
144482
|
+
onBeforeUnmount(() => {
|
|
144483
|
+
tableIndex.unidId = oldUnidId;
|
|
144484
|
+
unKeyStroke();
|
|
144485
|
+
});
|
|
144486
|
+
async function onKeydown(e2) {
|
|
144487
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h;
|
|
144488
|
+
const keydownTableMap = {
|
|
144489
|
+
Tab: tableTab,
|
|
144490
|
+
ArrowRight: tableArrowRight,
|
|
144491
|
+
ArrowDown: tableArrowDown,
|
|
144492
|
+
ArrowLeft: tableArrowLeft,
|
|
144493
|
+
ArrowUp: tableArrowUp
|
|
144494
|
+
};
|
|
144495
|
+
const keydownQueryMap = {
|
|
144496
|
+
Tab: queryRightFocus,
|
|
144497
|
+
ArrowRight: queryRightFocus,
|
|
144498
|
+
ArrowLeft: queryLeftFocus,
|
|
144499
|
+
ArrowDown: queryDownFocus
|
|
144500
|
+
};
|
|
144622
144501
|
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
144623
144502
|
return;
|
|
144624
144503
|
const activeElement = document.activeElement;
|
|
144625
|
-
|
|
144504
|
+
const $table = bcTableApi.getApi();
|
|
144505
|
+
const $api = bcTableApi;
|
|
144506
|
+
if (activeElement.closest(`#${query_uid}`)) {
|
|
144507
|
+
if (((_b = props.data) == null ? void 0 : _b.form) && !((_e2 = (_d = (_c = props.data) == null ? void 0 : _c.form) == null ? void 0 : _d.baseData) == null ? void 0 : _e2.isClosedKeyStroke)) {
|
|
144508
|
+
const code = e2.code;
|
|
144509
|
+
keydownQueryMap[code] && keydownQueryMap[code]({ $event: e2, $table, $api });
|
|
144510
|
+
}
|
|
144511
|
+
} else {
|
|
144512
|
+
const code = e2.code;
|
|
144513
|
+
const tableConfig2 = (_g = (_f = props.data) == null ? void 0 : _f.tables) == null ? void 0 : _g.find((i2) => i2.id === ($api == null ? void 0 : $api.getActiveTab()));
|
|
144514
|
+
if (keydownTableMap[code] && tableConfig2 && !((_h = tableConfig2 == null ? void 0 : tableConfig2.baseData) == null ? void 0 : _h.isClosedKeyStroke)) {
|
|
144515
|
+
await keydownTableMap[code]({ $event: e2, $table, $api });
|
|
144516
|
+
}
|
|
144517
|
+
}
|
|
144518
|
+
if (e2.code === "ArrowRight")
|
|
144519
|
+
emit("keydown-right", { $event: e2, $table, $api });
|
|
144520
|
+
if (e2.code === "ArrowDown")
|
|
144521
|
+
emit("keydown-down", { $event: e2, $table, $api });
|
|
144522
|
+
if (e2.code === "ArrowLeft")
|
|
144523
|
+
emit("keydown-left", { $event: e2, $table, $api });
|
|
144524
|
+
if (e2.code === "ArrowUp")
|
|
144525
|
+
emit("keydown-up", { $event: e2, $table, $api });
|
|
144526
|
+
if (e2.code === "Enter")
|
|
144527
|
+
emit("keydown-enter", { $event: e2, $table, $api });
|
|
144528
|
+
emit("keydown", { $event: e2, $table, $api });
|
|
144529
|
+
}
|
|
144530
|
+
async function tableTab(params) {
|
|
144531
|
+
params.$event.preventDefault();
|
|
144532
|
+
const { visibleColumn } = bcTableApi.getApi().getTableColumn();
|
|
144533
|
+
tableIndex.columnIndex++;
|
|
144534
|
+
if (tableIndex.columnIndex > visibleColumn.length - 1) {
|
|
144535
|
+
tableIndex.columnIndex = 0;
|
|
144536
|
+
}
|
|
144537
|
+
const rowIndex = tableIndex.rowIndex;
|
|
144538
|
+
count = 0;
|
|
144539
|
+
isFocus(visibleColumn);
|
|
144540
|
+
if (rowIndex !== tableIndex.rowIndex) {
|
|
144541
|
+
tableIndex.rowIndex--;
|
|
144542
|
+
return tableArrowDown(params);
|
|
144543
|
+
}
|
|
144544
|
+
return setFocus();
|
|
144545
|
+
}
|
|
144546
|
+
async function tableArrowRight({ $event, $api }) {
|
|
144547
|
+
$event.preventDefault();
|
|
144548
|
+
const table = props.data.tables.find((i2) => i2.id === ($api == null ? void 0 : $api.getActiveTab()));
|
|
144549
|
+
const table_page_data = table.baseData.table_page_data;
|
|
144550
|
+
if (table_page_data.currentPage < table_page_data.pagerCount) {
|
|
144551
|
+
table_page_data.currentPage++;
|
|
144552
|
+
await onPageChange({ currentPage: table_page_data.currentPage, pageSize: table_page_data.pageSize });
|
|
144553
|
+
}
|
|
144554
|
+
return nextTick();
|
|
144555
|
+
}
|
|
144556
|
+
async function tableArrowLeft({ $event, $api }) {
|
|
144557
|
+
$event.preventDefault();
|
|
144558
|
+
const table = props.data.tables.find((i2) => i2.id === ($api == null ? void 0 : $api.getActiveTab()));
|
|
144559
|
+
const table_page_data = table.baseData.table_page_data;
|
|
144560
|
+
if (table_page_data.currentPage > 1) {
|
|
144561
|
+
table_page_data.currentPage--;
|
|
144562
|
+
await onPageChange({ currentPage: table_page_data.currentPage, pageSize: table_page_data.pageSize });
|
|
144563
|
+
}
|
|
144564
|
+
return nextTick();
|
|
144565
|
+
}
|
|
144566
|
+
async function tableArrowUp(params) {
|
|
144567
|
+
var _a2, _b, _c, _d;
|
|
144568
|
+
params.$event.preventDefault();
|
|
144569
|
+
tableIndex.rowIndex--;
|
|
144570
|
+
if (tableIndex.rowIndex < 0) {
|
|
144571
|
+
tableIndex.rowIndex = 0;
|
|
144572
|
+
const tableConfig2 = (_b = (_a2 = props.data) == null ? void 0 : _a2.tables) == null ? void 0 : _b.find((i2) => {
|
|
144573
|
+
var _a3;
|
|
144574
|
+
return i2.id === ((_a3 = params.$api) == null ? void 0 : _a3.getActiveTab());
|
|
144575
|
+
});
|
|
144576
|
+
if (tableConfig2 && !((_c = tableConfig2 == null ? void 0 : tableConfig2.baseData) == null ? void 0 : _c.isClosedKeyStroke)) {
|
|
144577
|
+
(_d = _$4.get(toValue$1(formRef), "componentRef.0")) == null ? void 0 : _d.focus();
|
|
144578
|
+
params.$table.clearCurrentRow();
|
|
144579
|
+
}
|
|
144580
|
+
emit("loop-up", params);
|
|
144626
144581
|
return;
|
|
144627
|
-
|
|
144582
|
+
}
|
|
144583
|
+
return setFocus();
|
|
144584
|
+
}
|
|
144585
|
+
async function tableArrowDown({ $event, $table }) {
|
|
144586
|
+
$event.preventDefault();
|
|
144587
|
+
const tableData = $table.getData();
|
|
144588
|
+
tableIndex.rowIndex++;
|
|
144589
|
+
if (tableIndex.rowIndex > tableData.length - 1) {
|
|
144590
|
+
tableIndex.rowIndex = 0;
|
|
144591
|
+
}
|
|
144592
|
+
return setFocus();
|
|
144593
|
+
}
|
|
144594
|
+
function queryLeftFocus(params) {
|
|
144595
|
+
var _a2, _b;
|
|
144596
|
+
params.$event.preventDefault();
|
|
144597
|
+
const activeElement = document.activeElement;
|
|
144598
|
+
const components2 = (_a2 = toValue$1(formRef)) == null ? void 0 : _a2.getComponents();
|
|
144628
144599
|
let index2 = components2.findIndex((item) => {
|
|
144629
144600
|
if (item == null ? void 0 : item.activeElement) {
|
|
144630
144601
|
item = item.activeElement();
|
|
@@ -144634,17 +144605,13 @@ function onFormKey(formRef, props) {
|
|
|
144634
144605
|
let activeIndex = index2 < 0 ? components2.length - 1 : index2;
|
|
144635
144606
|
activeIndex--;
|
|
144636
144607
|
activeIndex < 0 && (activeIndex = components2.length - 1);
|
|
144637
|
-
(
|
|
144608
|
+
(_b = _$4.get(components2, activeIndex)) == null ? void 0 : _b.focus();
|
|
144638
144609
|
}
|
|
144639
|
-
function
|
|
144640
|
-
var _a2, _b
|
|
144641
|
-
|
|
144642
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
144643
|
-
return;
|
|
144610
|
+
function queryRightFocus(params) {
|
|
144611
|
+
var _a2, _b;
|
|
144612
|
+
params.$event.preventDefault();
|
|
144644
144613
|
const activeElement = document.activeElement;
|
|
144645
|
-
|
|
144646
|
-
return;
|
|
144647
|
-
const components2 = (_b = toValue$1(formRef)) == null ? void 0 : _b.getComponents();
|
|
144614
|
+
const components2 = (_a2 = toValue$1(formRef)) == null ? void 0 : _a2.getComponents();
|
|
144648
144615
|
const lastIndex = components2.length - 1;
|
|
144649
144616
|
let index2 = components2.findIndex((item) => {
|
|
144650
144617
|
if (item == null ? void 0 : item.activeElement) {
|
|
@@ -144655,86 +144622,84 @@ function onFormKey(formRef, props) {
|
|
|
144655
144622
|
let activeIndex = index2 < 0 ? -1 : index2;
|
|
144656
144623
|
activeIndex++;
|
|
144657
144624
|
activeIndex > lastIndex && (activeIndex = 0);
|
|
144658
|
-
(
|
|
144625
|
+
(_b = params.$api) == null ? void 0 : _b.setQueryFocus(activeIndex, 0);
|
|
144659
144626
|
}
|
|
144660
|
-
function
|
|
144627
|
+
function queryDownFocus(params) {
|
|
144661
144628
|
var _a2;
|
|
144662
|
-
|
|
144663
|
-
if (tableIndex.unidId !== ((_a2 = props.data) == null ? void 0 : _a2.config_unique_id))
|
|
144664
|
-
return;
|
|
144665
|
-
const activeElement = document.activeElement;
|
|
144666
|
-
if (!activeElement.closest(".bc-form__wrapper"))
|
|
144667
|
-
return;
|
|
144668
|
-
const $table = bcTableApi == null ? void 0 : bcTableApi.getApi();
|
|
144669
|
-
const { visibleColumn } = $table.getTableColumn();
|
|
144670
|
-
const columnField = visibleColumn[tableIndex.columnIndex].field;
|
|
144671
|
-
if (!columnField)
|
|
144672
|
-
return;
|
|
144629
|
+
params.$event.preventDefault();
|
|
144673
144630
|
tableIndex.rowIndex = 0;
|
|
144674
144631
|
tableIndex.columnIndex = 0;
|
|
144675
|
-
|
|
144676
|
-
const
|
|
144677
|
-
|
|
144678
|
-
|
|
144679
|
-
|
|
144680
|
-
|
|
144681
|
-
|
|
144682
|
-
tableIndex.columnIndex = columnIndex ?? 0;
|
|
144683
|
-
});
|
|
144632
|
+
tableIndex.unidId = (_a2 = props.data) == null ? void 0 : _a2.config_unique_id;
|
|
144633
|
+
const activeElement = document.activeElement;
|
|
144634
|
+
activeElement == null ? void 0 : activeElement.blur();
|
|
144635
|
+
const { visibleColumn } = params.$table.getTableColumn();
|
|
144636
|
+
count = 0;
|
|
144637
|
+
isFocus(visibleColumn, false);
|
|
144638
|
+
return setFocus();
|
|
144684
144639
|
}
|
|
144685
|
-
function isFocus(visibleColumn) {
|
|
144640
|
+
function isFocus(visibleColumn, isDown = true) {
|
|
144686
144641
|
var _a2;
|
|
144687
144642
|
const item = visibleColumn[tableIndex.columnIndex];
|
|
144688
144643
|
if (!((_a2 = item == null ? void 0 : item.editRender) == null ? void 0 : _a2.enabled) && count < 2) {
|
|
144689
144644
|
tableIndex.columnIndex++;
|
|
144690
144645
|
if (tableIndex.columnIndex > visibleColumn.length - 1) {
|
|
144646
|
+
count++;
|
|
144691
144647
|
tableIndex.columnIndex = 0;
|
|
144648
|
+
if (isDown)
|
|
144649
|
+
tableIndex.rowIndex++;
|
|
144692
144650
|
}
|
|
144693
|
-
|
|
144694
|
-
isFocus(visibleColumn);
|
|
144651
|
+
isFocus(visibleColumn, isDown);
|
|
144695
144652
|
}
|
|
144696
144653
|
}
|
|
144697
|
-
|
|
144698
|
-
|
|
144699
|
-
|
|
144700
|
-
|
|
144701
|
-
|
|
144702
|
-
const
|
|
144703
|
-
|
|
144704
|
-
|
|
144705
|
-
|
|
144706
|
-
|
|
144707
|
-
|
|
144708
|
-
|
|
144709
|
-
|
|
144710
|
-
|
|
144711
|
-
|
|
144712
|
-
}
|
|
144713
|
-
|
|
144714
|
-
|
|
144715
|
-
|
|
144716
|
-
|
|
144717
|
-
|
|
144718
|
-
|
|
144719
|
-
|
|
144720
|
-
|
|
144721
|
-
|
|
144722
|
-
json_data: JSON.stringify(Object.values(json_data))
|
|
144723
|
-
}
|
|
144654
|
+
function setFocus() {
|
|
144655
|
+
return setTableCellFocus(tableIndex.rowIndex);
|
|
144656
|
+
}
|
|
144657
|
+
function setTableCellFocus(rowIndex, field) {
|
|
144658
|
+
var _a2;
|
|
144659
|
+
const $table = bcTableApi == null ? void 0 : bcTableApi.getApi();
|
|
144660
|
+
const row = $table == null ? void 0 : $table.getData(rowIndex);
|
|
144661
|
+
$table == null ? void 0 : $table.setCurrentRow(row);
|
|
144662
|
+
const { visibleColumn } = $table.getTableColumn();
|
|
144663
|
+
let Field = "";
|
|
144664
|
+
if (typeof field === "string") {
|
|
144665
|
+
Field = field;
|
|
144666
|
+
}
|
|
144667
|
+
if (typeof field === "number") {
|
|
144668
|
+
tableIndex.columnIndex = field;
|
|
144669
|
+
}
|
|
144670
|
+
const columnField = Field || ((_a2 = visibleColumn[tableIndex.columnIndex]) == null ? void 0 : _a2.field);
|
|
144671
|
+
if (!columnField)
|
|
144672
|
+
return Promise.reject();
|
|
144673
|
+
return $table == null ? void 0 : $table.setEditRow(row, columnField).then(() => {
|
|
144674
|
+
$table == null ? void 0 : $table.scrollToColumn(columnField);
|
|
144675
|
+
const row2 = $table == null ? void 0 : $table.getCurrentRecord();
|
|
144676
|
+
const { rowIndex: rowIndex2, columnIndex } = ($table == null ? void 0 : $table.getEditRecord()) || {};
|
|
144677
|
+
tableIndex.rowIndex = rowIndex2 ?? ($table == null ? void 0 : $table.getRowIndex(row2)) ?? 0;
|
|
144678
|
+
tableIndex.columnIndex = columnIndex ?? 0;
|
|
144724
144679
|
});
|
|
144725
144680
|
}
|
|
144726
|
-
function
|
|
144727
|
-
|
|
144728
|
-
|
|
144729
|
-
(_a2 = _$4.get(toValue$1(formRef), `componentRef.${index2}`)) == null ? void 0 : _a2.focus();
|
|
144730
|
-
}, 600);
|
|
144681
|
+
function copyCell(val) {
|
|
144682
|
+
const text = val.target.innerText;
|
|
144683
|
+
copyText(text);
|
|
144731
144684
|
}
|
|
144732
144685
|
return {
|
|
144733
|
-
|
|
144734
|
-
|
|
144735
|
-
|
|
144686
|
+
uid: uid2,
|
|
144687
|
+
query_uid,
|
|
144688
|
+
table_uid,
|
|
144689
|
+
menuTable,
|
|
144690
|
+
onKeydown,
|
|
144691
|
+
setTableCellFocus,
|
|
144692
|
+
tableTab,
|
|
144693
|
+
tableArrowRight,
|
|
144694
|
+
tableArrowLeft,
|
|
144695
|
+
tableArrowDown,
|
|
144696
|
+
tableArrowUp,
|
|
144697
|
+
queryRightFocus,
|
|
144698
|
+
queryLeftFocus,
|
|
144699
|
+
queryDownFocus
|
|
144736
144700
|
};
|
|
144737
144701
|
}
|
|
144702
|
+
const _hoisted_1$Z = ["id"];
|
|
144738
144703
|
const __default__$I = defineComponent({
|
|
144739
144704
|
name: "bcFormTable"
|
|
144740
144705
|
});
|
|
@@ -144745,7 +144710,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144745
144710
|
type: Object
|
|
144746
144711
|
}
|
|
144747
144712
|
},
|
|
144748
|
-
emits: ["ready"],
|
|
144713
|
+
emits: ["ready", "keydown", "keydown-right", "keydown-down", "keydown-left", "keydown-up", "keydown-enter", "loop-up"],
|
|
144749
144714
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
144750
144715
|
const props = __props;
|
|
144751
144716
|
const emit = __emit;
|
|
@@ -144760,8 +144725,23 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144760
144725
|
});
|
|
144761
144726
|
const { wrapRef, btnRef, formRef, centerSlotRef, tableApi, style, isOverHide, onReady } = useTableHeight();
|
|
144762
144727
|
const { menuForm, isShowDrag, setQueryFocus } = onFormKey(formRef, props);
|
|
144763
|
-
const {
|
|
144728
|
+
const { onPageChange, onCheckboxAll, onCheckboxChange, onResizableChange } = onTableKey(formRef, activeTabs, props);
|
|
144764
144729
|
const { btns, validate: validate2, search, reset, getQueryInstance } = useButon(formRef, props);
|
|
144730
|
+
const {
|
|
144731
|
+
uid: uid2,
|
|
144732
|
+
query_uid,
|
|
144733
|
+
table_uid,
|
|
144734
|
+
menuTable,
|
|
144735
|
+
setTableCellFocus,
|
|
144736
|
+
tableTab,
|
|
144737
|
+
tableArrowRight,
|
|
144738
|
+
tableArrowLeft,
|
|
144739
|
+
tableArrowDown,
|
|
144740
|
+
tableArrowUp,
|
|
144741
|
+
queryRightFocus,
|
|
144742
|
+
queryLeftFocus,
|
|
144743
|
+
queryDownFocus
|
|
144744
|
+
} = onKeydownEvent({ props, formRef, onPageChange, emit });
|
|
144765
144745
|
function getApi(table_id) {
|
|
144766
144746
|
if (table_id) {
|
|
144767
144747
|
return tableApi.value[table_id];
|
|
@@ -144792,10 +144772,18 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144792
144772
|
validate: validate2,
|
|
144793
144773
|
getApi,
|
|
144794
144774
|
getQueryInstance,
|
|
144775
|
+
getActiveTab,
|
|
144795
144776
|
setQueryFocus,
|
|
144796
144777
|
setTableCellFocus,
|
|
144797
|
-
|
|
144798
|
-
|
|
144778
|
+
hideMultilineQuery,
|
|
144779
|
+
tableTab,
|
|
144780
|
+
tableArrowRight,
|
|
144781
|
+
tableArrowLeft,
|
|
144782
|
+
tableArrowDown,
|
|
144783
|
+
tableArrowUp,
|
|
144784
|
+
queryRightFocus,
|
|
144785
|
+
queryLeftFocus,
|
|
144786
|
+
queryDownFocus
|
|
144799
144787
|
});
|
|
144800
144788
|
return (_ctx, _cache) => {
|
|
144801
144789
|
var _a2, _b, _c;
|
|
@@ -144803,6 +144791,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144803
144791
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
144804
144792
|
ref_key: "wrapRef",
|
|
144805
144793
|
ref: wrapRef,
|
|
144794
|
+
id: unref(uid2),
|
|
144806
144795
|
class: normalizeClass(["bc-form-table__wrapper", [unref(isOverHide) ? "overflow-auto" : "overflow-hide"]])
|
|
144807
144796
|
}, [
|
|
144808
144797
|
unref(btns).length ? (openBlock(), createBlock(unref(FormSearchBtn), {
|
|
@@ -144825,6 +144814,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144825
144814
|
]), 1032, ["btns", "unique-id", "mid", "uid"])) : createCommentVNode("", true),
|
|
144826
144815
|
!unref(_$4).isEmpty((_b = (_a2 = __props.data) == null ? void 0 : _a2.form) == null ? void 0 : _b.formConfig) ? (openBlock(), createBlock(unref(ContextBody), {
|
|
144827
144816
|
key: 1,
|
|
144817
|
+
id: unref(query_uid),
|
|
144828
144818
|
target: ".el-form-item__label",
|
|
144829
144819
|
menu: unref(menuForm)
|
|
144830
144820
|
}, {
|
|
@@ -144873,7 +144863,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144873
144863
|
];
|
|
144874
144864
|
}),
|
|
144875
144865
|
_: 3
|
|
144876
|
-
}, 8, ["menu"])) : createCommentVNode("", true),
|
|
144866
|
+
}, 8, ["id", "menu"])) : createCommentVNode("", true),
|
|
144877
144867
|
_ctx.$slots["centerSlot"] ? (openBlock(), createElementBlock("div", {
|
|
144878
144868
|
key: 2,
|
|
144879
144869
|
ref_key: "centerSlotRef",
|
|
@@ -144884,6 +144874,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144884
144874
|
], 512)) : createCommentVNode("", true),
|
|
144885
144875
|
!unref(_$4).isEmpty((_c = __props.data) == null ? void 0 : _c.tables) ? (openBlock(), createBlock(unref(ContextBody), {
|
|
144886
144876
|
key: 3,
|
|
144877
|
+
id: unref(table_uid),
|
|
144887
144878
|
target: ".vxe-table--body-wrapper",
|
|
144888
144879
|
menu: unref(menuTable)
|
|
144889
144880
|
}, {
|
|
@@ -144925,20 +144916,20 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
144925
144916
|
}, 8, ["style", "active", "tabs"])
|
|
144926
144917
|
]),
|
|
144927
144918
|
_: 3
|
|
144928
|
-
}, 8, ["menu"])) : createCommentVNode("", true),
|
|
144919
|
+
}, 8, ["id", "menu"])) : createCommentVNode("", true),
|
|
144929
144920
|
_ctx.$slots["customeContent"] ? (openBlock(), createElementBlock("div", {
|
|
144930
144921
|
key: 4,
|
|
144931
144922
|
style: normalizeStyle(unref(style))
|
|
144932
144923
|
}, [
|
|
144933
144924
|
renderSlot(_ctx.$slots, "customeContent", normalizeProps(guardReactiveProps(__props.data || {})), void 0, true)
|
|
144934
144925
|
], 4)) : createCommentVNode("", true)
|
|
144935
|
-
],
|
|
144926
|
+
], 10, _hoisted_1$Z)), [
|
|
144936
144927
|
[_directive_loading, unref(isRefreshData)]
|
|
144937
144928
|
]);
|
|
144938
144929
|
};
|
|
144939
144930
|
}
|
|
144940
144931
|
});
|
|
144941
|
-
const BcFormTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-
|
|
144932
|
+
const BcFormTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-02c42aa3"]]);
|
|
144942
144933
|
function useTable(props) {
|
|
144943
144934
|
const btnKey = ref$1("");
|
|
144944
144935
|
const checkSelected = ref$1({
|
|
@@ -144962,9 +144953,9 @@ function useTable(props) {
|
|
|
144962
144953
|
var _a2;
|
|
144963
144954
|
return (_a2 = formTableRef.value) == null ? void 0 : _a2.getQueryInstance();
|
|
144964
144955
|
};
|
|
144965
|
-
const setQueryFocus = (index2 = 0) => {
|
|
144956
|
+
const setQueryFocus = (index2 = 0, delay2 = 600) => {
|
|
144966
144957
|
var _a2;
|
|
144967
|
-
return (_a2 = formTableRef.value) == null ? void 0 : _a2.setQueryFocus(index2);
|
|
144958
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.setQueryFocus(index2, delay2);
|
|
144968
144959
|
};
|
|
144969
144960
|
const setTableCellFocus = (rowIndex, field) => {
|
|
144970
144961
|
var _a2;
|
|
@@ -144972,6 +144963,38 @@ function useTable(props) {
|
|
|
144972
144963
|
};
|
|
144973
144964
|
const getOptions = (field) => bcBoxApi == null ? void 0 : bcBoxApi.getOptions(field);
|
|
144974
144965
|
const getCellIndex = () => tableIndex;
|
|
144966
|
+
const tableTab = (params) => {
|
|
144967
|
+
var _a2;
|
|
144968
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.TableTab(params);
|
|
144969
|
+
};
|
|
144970
|
+
const tableArrowRight = (params) => {
|
|
144971
|
+
var _a2;
|
|
144972
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.tableArrowRight(params);
|
|
144973
|
+
};
|
|
144974
|
+
const tableArrowLeft = (params) => {
|
|
144975
|
+
var _a2;
|
|
144976
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.tableArrowLeft(params);
|
|
144977
|
+
};
|
|
144978
|
+
const tableArrowDown = (params) => {
|
|
144979
|
+
var _a2;
|
|
144980
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.tableArrowDown(params);
|
|
144981
|
+
};
|
|
144982
|
+
const tableArrowUp = (params) => {
|
|
144983
|
+
var _a2;
|
|
144984
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.tableArrowUp(params);
|
|
144985
|
+
};
|
|
144986
|
+
const queryRightFocus = (params) => {
|
|
144987
|
+
var _a2;
|
|
144988
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.queryRightFocus(params);
|
|
144989
|
+
};
|
|
144990
|
+
const queryLeftFocus = (params) => {
|
|
144991
|
+
var _a2;
|
|
144992
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.queryLeftFocus(params);
|
|
144993
|
+
};
|
|
144994
|
+
const queryDownFocus = (params) => {
|
|
144995
|
+
var _a2;
|
|
144996
|
+
return (_a2 = formTableRef.value) == null ? void 0 : _a2.queryDownFocus(params);
|
|
144997
|
+
};
|
|
144975
144998
|
const getQueryData = (hideGroupField = false) => {
|
|
144976
144999
|
var _a2;
|
|
144977
145000
|
if (hideGroupField) {
|
|
@@ -145039,12 +145062,7 @@ function useTable(props) {
|
|
|
145039
145062
|
function updateTableData(id, data2) {
|
|
145040
145063
|
const tableData = formTableData.value.tables.find((i2) => i2.id === id);
|
|
145041
145064
|
if (tableData) {
|
|
145042
|
-
|
|
145043
|
-
const data1 = data2.filter((i2) => !i2._type_append);
|
|
145044
|
-
tableData.tableData = [...data1, { _type_append: "append" }];
|
|
145045
|
-
} else {
|
|
145046
|
-
tableData.tableData = data2;
|
|
145047
|
-
}
|
|
145065
|
+
tableData.tableData = data2;
|
|
145048
145066
|
}
|
|
145049
145067
|
return nextTick().then(() => {
|
|
145050
145068
|
return data2;
|
|
@@ -145128,7 +145146,15 @@ function useTable(props) {
|
|
|
145128
145146
|
getCheckboxRow,
|
|
145129
145147
|
resetCheckboxRow,
|
|
145130
145148
|
getOptions,
|
|
145131
|
-
setBtnKey
|
|
145149
|
+
setBtnKey,
|
|
145150
|
+
tableTab,
|
|
145151
|
+
tableArrowRight,
|
|
145152
|
+
tableArrowLeft,
|
|
145153
|
+
tableArrowDown,
|
|
145154
|
+
tableArrowUp,
|
|
145155
|
+
queryRightFocus,
|
|
145156
|
+
queryLeftFocus,
|
|
145157
|
+
queryDownFocus
|
|
145132
145158
|
};
|
|
145133
145159
|
}
|
|
145134
145160
|
const __default__$H = defineComponent({
|
|
@@ -145168,7 +145194,15 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
145168
145194
|
getCheckboxRow,
|
|
145169
145195
|
resetCheckboxRow,
|
|
145170
145196
|
getOptions,
|
|
145171
|
-
setBtnKey
|
|
145197
|
+
setBtnKey,
|
|
145198
|
+
tableTab,
|
|
145199
|
+
tableArrowRight,
|
|
145200
|
+
tableArrowLeft,
|
|
145201
|
+
tableArrowDown,
|
|
145202
|
+
tableArrowUp,
|
|
145203
|
+
queryRightFocus,
|
|
145204
|
+
queryLeftFocus,
|
|
145205
|
+
queryDownFocus
|
|
145172
145206
|
} = useTable(props);
|
|
145173
145207
|
async function onReady(params) {
|
|
145174
145208
|
async function fetchTableData2(fetchParams, callback) {
|
|
@@ -145188,7 +145222,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
145188
145222
|
const getData = (table_id, omit2 = ["customTotal", "_X_ROW_KEY"]) => {
|
|
145189
145223
|
var _a2, _b;
|
|
145190
145224
|
const tableData = ((_b = (_a2 = formTableData.value.tables) == null ? void 0 : _a2.find((i2) => i2.id === table_id || params.activeTabs.value)) == null ? void 0 : _b.tableData) || [];
|
|
145191
|
-
return tableData.map((i2) => _$4.omit(i2, omit2))
|
|
145225
|
+
return tableData.map((i2) => _$4.omit(i2, omit2));
|
|
145192
145226
|
};
|
|
145193
145227
|
const setData = (data2, table_id) => {
|
|
145194
145228
|
const tableId = table_id || params.activeTabs.value;
|
|
@@ -145224,7 +145258,15 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
145224
145258
|
setCheckboxRow,
|
|
145225
145259
|
getCheckboxRow,
|
|
145226
145260
|
resetCheckboxRow,
|
|
145227
|
-
getOptions
|
|
145261
|
+
getOptions,
|
|
145262
|
+
tableTab,
|
|
145263
|
+
tableArrowRight,
|
|
145264
|
+
tableArrowLeft,
|
|
145265
|
+
tableArrowDown,
|
|
145266
|
+
tableArrowUp,
|
|
145267
|
+
queryRightFocus,
|
|
145268
|
+
queryLeftFocus,
|
|
145269
|
+
queryDownFocus
|
|
145228
145270
|
});
|
|
145229
145271
|
});
|
|
145230
145272
|
}
|
|
@@ -145270,14 +145312,21 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
145270
145312
|
});
|
|
145271
145313
|
provide("bcTableApi", {
|
|
145272
145314
|
search,
|
|
145315
|
+
reset,
|
|
145273
145316
|
getApi,
|
|
145274
145317
|
getActiveTab,
|
|
145275
|
-
|
|
145276
|
-
|
|
145318
|
+
clearTableData,
|
|
145319
|
+
getDataInstance,
|
|
145277
145320
|
updateSearchForm,
|
|
145278
145321
|
updateTableData,
|
|
145279
145322
|
searchValidate,
|
|
145280
145323
|
reloadCountTableData: reloadCountTableData$1,
|
|
145324
|
+
getQueryData,
|
|
145325
|
+
setQueryData,
|
|
145326
|
+
getQueryConfig,
|
|
145327
|
+
setTableCellFocus,
|
|
145328
|
+
setQueryFocus,
|
|
145329
|
+
resetCheckboxRow,
|
|
145281
145330
|
setCheckboxRow,
|
|
145282
145331
|
getCheckboxRow,
|
|
145283
145332
|
getOptions,
|
|
@@ -145902,7 +145951,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
145902
145951
|
};
|
|
145903
145952
|
}
|
|
145904
145953
|
});
|
|
145905
|
-
const bcTreeSearch = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-
|
|
145954
|
+
const bcTreeSearch = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-e259c698"]]);
|
|
145906
145955
|
const __default__$F = defineComponent({
|
|
145907
145956
|
name: "bcTreeSelect"
|
|
145908
145957
|
});
|
|
@@ -147057,14 +147106,14 @@ const postDeleteFile = (data2 = { data: {}, proxy: "" }) => {
|
|
|
147057
147106
|
data: data2.data
|
|
147058
147107
|
});
|
|
147059
147108
|
};
|
|
147060
|
-
const postDelFileNoAttch = (data2 = { data: {}, proxy: "" }) => {
|
|
147109
|
+
const postDelFileNoAttch = (data2 = { data: {}, proxy: "", url: "" }) => {
|
|
147061
147110
|
if (!data2.proxy) {
|
|
147062
147111
|
ElMessage.warning("请传入代理地址");
|
|
147063
147112
|
return Promise.reject("请传入代理地址");
|
|
147064
147113
|
}
|
|
147065
147114
|
data2.data = assign(data2.data, "无附件删除");
|
|
147066
147115
|
return request({
|
|
147067
|
-
url: data2.proxy + "/pri/file/del_file_no_attch",
|
|
147116
|
+
url: data2.proxy + (data2.url ? data2.url : "/pri/file/del_file_no_attch"),
|
|
147068
147117
|
method: "post",
|
|
147069
147118
|
data: data2.data
|
|
147070
147119
|
});
|
|
@@ -147089,45 +147138,6 @@ function useFileController() {
|
|
|
147089
147138
|
postUpdateFile
|
|
147090
147139
|
};
|
|
147091
147140
|
}
|
|
147092
|
-
let getRandomValues;
|
|
147093
|
-
const rnds8 = new Uint8Array(16);
|
|
147094
|
-
function rng() {
|
|
147095
|
-
if (!getRandomValues) {
|
|
147096
|
-
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
147097
|
-
if (!getRandomValues) {
|
|
147098
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
147099
|
-
}
|
|
147100
|
-
}
|
|
147101
|
-
return getRandomValues(rnds8);
|
|
147102
|
-
}
|
|
147103
|
-
const byteToHex = [];
|
|
147104
|
-
for (let i2 = 0; i2 < 256; ++i2) {
|
|
147105
|
-
byteToHex.push((i2 + 256).toString(16).slice(1));
|
|
147106
|
-
}
|
|
147107
|
-
function unsafeStringify(arr, offset2 = 0) {
|
|
147108
|
-
return byteToHex[arr[offset2 + 0]] + byteToHex[arr[offset2 + 1]] + byteToHex[arr[offset2 + 2]] + byteToHex[arr[offset2 + 3]] + "-" + byteToHex[arr[offset2 + 4]] + byteToHex[arr[offset2 + 5]] + "-" + byteToHex[arr[offset2 + 6]] + byteToHex[arr[offset2 + 7]] + "-" + byteToHex[arr[offset2 + 8]] + byteToHex[arr[offset2 + 9]] + "-" + byteToHex[arr[offset2 + 10]] + byteToHex[arr[offset2 + 11]] + byteToHex[arr[offset2 + 12]] + byteToHex[arr[offset2 + 13]] + byteToHex[arr[offset2 + 14]] + byteToHex[arr[offset2 + 15]];
|
|
147109
|
-
}
|
|
147110
|
-
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
147111
|
-
const native = {
|
|
147112
|
-
randomUUID
|
|
147113
|
-
};
|
|
147114
|
-
function v4(options2, buf, offset2) {
|
|
147115
|
-
if (native.randomUUID && !buf && !options2) {
|
|
147116
|
-
return native.randomUUID();
|
|
147117
|
-
}
|
|
147118
|
-
options2 = options2 || {};
|
|
147119
|
-
const rnds = options2.random || (options2.rng || rng)();
|
|
147120
|
-
rnds[6] = rnds[6] & 15 | 64;
|
|
147121
|
-
rnds[8] = rnds[8] & 63 | 128;
|
|
147122
|
-
if (buf) {
|
|
147123
|
-
offset2 = offset2 || 0;
|
|
147124
|
-
for (let i2 = 0; i2 < 16; ++i2) {
|
|
147125
|
-
buf[offset2 + i2] = rnds[i2];
|
|
147126
|
-
}
|
|
147127
|
-
return buf;
|
|
147128
|
-
}
|
|
147129
|
-
return unsafeStringify(rnds);
|
|
147130
|
-
}
|
|
147131
147141
|
const postMan = usePostMan();
|
|
147132
147142
|
const fieldConfig$4 = useFieldConfigController();
|
|
147133
147143
|
function useHsFormParse(parseApi, configModel) {
|
|
@@ -147791,7 +147801,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
147791
147801
|
setup(__props, { emit: __emit }) {
|
|
147792
147802
|
const props = __props;
|
|
147793
147803
|
const emit = __emit;
|
|
147794
|
-
const IconList = defineAsyncComponent(() => import("./list-
|
|
147804
|
+
const IconList = defineAsyncComponent(() => import("./list-D8Dbmbwq.mjs"));
|
|
147795
147805
|
const inputWidthRef = ref$1();
|
|
147796
147806
|
const state = reactive({
|
|
147797
147807
|
fontIconPrefix: "",
|
|
@@ -148133,8 +148143,6 @@ let baseData = ref$1({
|
|
|
148133
148143
|
// 是否分页
|
|
148134
148144
|
isClosedKeyStroke: false,
|
|
148135
148145
|
// 是否关闭键盘事件
|
|
148136
|
-
showAppend: false,
|
|
148137
|
-
// 是否允许底部显示追加行
|
|
148138
148146
|
isCloseInitData: true,
|
|
148139
148147
|
// 是否关闭初始化数据
|
|
148140
148148
|
table_page_data: {
|
|
@@ -148536,12 +148544,6 @@ let baseTableConfig = [
|
|
|
148536
148544
|
label: "是否分页",
|
|
148537
148545
|
el: "hs-switch"
|
|
148538
148546
|
},
|
|
148539
|
-
{
|
|
148540
|
-
prop: "showAppend",
|
|
148541
|
-
label: "是否显示追加行",
|
|
148542
|
-
tooltip: "配置允许显示追加行后,可在<bc-box />组件中使用 插槽 append 自定义控制",
|
|
148543
|
-
el: "hs-switch"
|
|
148544
|
-
},
|
|
148545
148547
|
{
|
|
148546
148548
|
prop: "isCloseInitData",
|
|
148547
148549
|
label: "是否关闭初始化数据",
|
|
@@ -151889,7 +151891,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
151889
151891
|
}),
|
|
151890
151892
|
emits: /* @__PURE__ */ mergeModels(["chose"], ["update:tableModel", "update:configModel"]),
|
|
151891
151893
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
151892
|
-
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-
|
|
151894
|
+
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-C6UI55-4.mjs"));
|
|
151893
151895
|
const dragRef = ref$1();
|
|
151894
151896
|
const emit = __emit;
|
|
151895
151897
|
const tableModel = useModel(__props, "tableModel");
|
|
@@ -158794,7 +158796,7 @@ async function useUpload(props, emit, modelValue) {
|
|
|
158794
158796
|
handleFileUploadDelete(file, filed);
|
|
158795
158797
|
} else {
|
|
158796
158798
|
let filePath = file[filed] || file.response.data[filed];
|
|
158797
|
-
postDelFileNoAttch2({ data: { filePath }, proxy: props.proxy }).then((res) => {
|
|
158799
|
+
postDelFileNoAttch2({ data: { filePath }, proxy: props.proxy, url: props.deleteUrl }).then((res) => {
|
|
158798
158800
|
if (res.code === 1) {
|
|
158799
158801
|
handleFileUploadDelete(file, filed);
|
|
158800
158802
|
HsMessage.success(res.data);
|
|
@@ -158974,6 +158976,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
158974
158976
|
isModelValue: {
|
|
158975
158977
|
type: Boolean,
|
|
158976
158978
|
default: true
|
|
158979
|
+
},
|
|
158980
|
+
deleteUrl: {
|
|
158981
|
+
type: String,
|
|
158982
|
+
default: ""
|
|
158977
158983
|
}
|
|
158978
158984
|
}, {
|
|
158979
158985
|
"modelValue": { default: "" },
|