File: /var/www/html/public/static/js/lowcode-4c6b89d5.js
import{G as s}from"./index-cdc44ec6.js";import{mesUrlApi as o,getQuery as l}from"./utils-2ab4f76a.js";import"./preload-helper-78dc9057.js";import"./message-2472a54a.js";import"./runtime-core.esm-bundler-6128546f.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";const h=(e,t)=>o("lowcode/model/"+e+"/fields?has_more="+t+"&no_in_data=1&has_calc=1&mark_calc=1"),T=(e,t)=>o(e+"?no_in_data="+t),k=e=>s.request("get",o(e)),D=e=>e?o("lowcode/model/"+e+"/xls_print"):o("lowcode/model/xls_print_commom"),b=(e,t)=>s.request("get",o("lowcode/entity/"+e+"/data_permissions"+l(t)),{data:t}),v=(e,t)=>s.request("post",o("lowcode/entity/"+e+"/data_permissions"),{data:t}),L=(e,t)=>s.request("post",o("lowcode/model/"+e+"/form"),{data:t}),x=(e,t)=>s.request("get",o("lowcode/model/"+e+"/form?scope="+t)),E=(e,t)=>s.request("get",o("lowcode/model/"+e+"/sub_forms?scope="+t)),O=(e,t)=>s.request("post",o("lowcode/p_source/"+e+"/xls"),{data:t}),S=(e,t,r,u,n)=>s.request("post",o("lowcode/ui_entry/"+e+"/model/"+t+"/entity/"+r+"/xls_tpl?field="+u),{data:n}),X=(e,t,r,u,n,c,d)=>{r||(r=0);let i=JSON.stringify(u||[]),p=JSON.stringify(c||{}),m=JSON.stringify(d||{});return s.request("get",o("lowcode/entity/"+e+"/form?id="+t+"&flow_inst_id="+r+"&sub_ids="+i+"&tpl_id="+n+"&fill_data="+p+"&ui_control="+m))},C=(e,t,r)=>(t||(t=0),s.request("post",o("lowcode/entity/"+e+"/form?id="+t),{data:r})),R=(e,t,r)=>(t||(t=0),s.request("post",o("lowcode/entity/"+e+"/delete?id="+t),{data:r})),J=(e,t)=>s.request("post",o("lowcode/entity/"+e+"/deletes"),{data:t}),N=e=>s.request("get",o("lowcode/models"+l(e)),{data:e}),P=(e,t)=>s.request("get",o("lowcode/model/"+e+"/options"+l(t)),{}),A=(e,t)=>s.request("get",o("lowcode/entity/"+e+"/list"+l(t)),{data:t}),U=e=>s.request("get",o("lowcode/forms?model_id="+e)),j=e=>s.request("post",o("lowcode/flows"),{data:e}),B=e=>s.request("get",o("lowcode/flows?name="+e)),G=e=>s.request("put",o("lowcode/flows/"+e+"/publish")),I=(e,t)=>s.request("get",o("lowcode/flows/cur_tasks?name="+e+"&model="+t)),Q=(e,t)=>s.request("get",o("lowcode/flow_insts/"+e+"/tasks/"+t)),V=(e,t,r)=>s.request("post",o("lowcode/flow_insts/"+e+"/tasks/"+t+"/check"),{data:r}),z=(e,t,r,u,n)=>(n||(n=0),s.request("post",o("lowcode/flow_insts/"+e+"/tasks/"+t+"/fill"+l({model_id:u,entity_id:n})),{data:r})),H=e=>s.request("get",o("lowcode/model/"+e+"/xls_tpls")),K=(e,t)=>s.request("get",o("lowcode/model/"+e+"/all_fields"+l(t))),W=(e,t)=>s.request("get",o("lowcode/model/"+e+"/xls_print/"+t)),Y=(e,t)=>s.request("get",o("lowcode/xls_tpl/"+e+"/entity/"+t)),Z=(e,t)=>s.request("get",o("lowcode/model/"+e+"/level_fields"+l(t))),$=(e,t)=>s.request("post",o("lowcode/model/"+e+"/model_design"),{data:t}),ee=(e,t)=>s.request("get",o("lowcode/model/"+e+"/model_design"+l(t))),te=(e,t)=>s.request("get",o("lowcode/model/"+e+"/alone_fields?type="+t)),oe=e=>s.request("post",o("lowcode/model"),{data:e}),se=(e,t)=>s.request("put",o("lowcode/model/"+e),{data:t}),re=()=>s.request("get",o("lowcode/model/options")),le=e=>s.request("get",o("lowcode/"+e+"/tables")),ne=(e,t)=>s.request("get",o("lowcode/"+e+"/tables/"+t)),ue=()=>s.request("get",o("lowcode/custom_operates")),ce=e=>s.request("get",o("lowcode/model/"+e+"/custom_operates")),de=(e,t)=>s.request("post",o("lowcode/ui_entry/"+e+"/dispatch"),{data:t}),ie=(e,t)=>s.request("post",o("lowcode/ui_entry/"+e+"/mail"),{data:t}),pe=(e,t)=>s.request("get",o("lowcode/entity/"+e+"/view/"+t)),me=e=>s.request("get",o("lowcode/entity/"+e+"/search/")),ge=(e,t)=>s.request("get",o("lowcode/p_report/"+e+l(t)),{data:t}),we=e=>s.request("get",o("lowcode/p_report/"+e+"/options"),{}),ae=(e,t)=>s.request("put",o("lowcode/p_report/"+e+"/search_tpl"),{data:t}),qe=(e,t)=>s.request("get",o("lowcode/p_report/"+e+"/details"+l(t)),{data:t});export{J as batchDeleteEntityForm,V as checkTask,R as deleteEntityForm,z as fillTask,te as getAloneFiedls,T as getCommonFields,k as getCommonFormDesign,ue as getCustomOperates,b as getDataPermissionTree,X as getEntityForm,A as getEntityList,pe as getEntityView,B as getFlowList,x as getFormDesign,U as getFormList,ce as getModelCustomOperates,ee as getModelDesign,K as getModelFieldList,h as getModelFields,Z as getModelLevelFieldList,N as getModelList,P as getModelOptions,ge as getModelReport,qe as getModelReportDetail,we as getModelReportOptions,me as getModelSearch,W as getModelXlsTpl,Y as getModelXlsTplByCustom,H as getModelXlsTplList,re as getMoelOptions,E as getSubFormDesign,ne as getTableFields,le as getTables,Q as getTaskInfo,I as getTaskList,O as importFromXls,G as publishFlow,v as saveDataPermissionTree,C as saveEntityForm,j as saveFlow,L as saveFormDesign,oe as saveModel,$ as saveModelDesign,S as saveXlsTpl,de as uiEntryDispatch,ie as uiEntryMail,D as upLoadXlsPrintUri,se as updateModel,ae as updateModelReportSearchTpl};