process-93b5b885.js 2.2 KB

1
  1. var a=(e,r,o)=>new Promise((n,c)=>{var h=t=>{try{u(o.next(t))}catch(d){c(d)}},E=t=>{try{u(o.throw(t))}catch(d){c(d)}},u=t=>t.done?n(t.value):Promise.resolve(t.value).then(h,E);u((o=o.apply(e,r)).next())});import{F as s,__tla as C}from"./index-b5895273.js";import{l}from"./workflowEnum-a2efed5c.js";let m,f,M,g,p,i,y,w,k,x,_,I,D=Promise.all([(()=>{try{return C}catch(e){}})()]).then(()=>a(void 0,null,function*(){g=function(e,r="modal"){return a(this,null,function*(){return s.get({url:"/workflow/execute/my-transfer",params:e},{errorMessageMode:r})})},f=function(e,r="modal"){return a(this,null,function*(){return s.get({url:l.MY_EXAMINE,params:e},{errorMessageMode:r})})},y=function(e,r,o="modal"){return a(this,null,function*(){return s.get({url:e,params:r},{errorMessageMode:o})})},k=function(e,r="modal"){return a(this,null,function*(){return s.get({url:e.taskUrl,params:e.data},{errorMessageMode:r})})},_=function(e,r="modal"){return a(this,null,function*(){return s.post({url:"/workflow/execute/my-process/move-recycle",params:{processId:e}},{errorMessageMode:r})})},w=function(e,r,o,n="modal"){return a(this,null,function*(){return s.post({url:"/workflow/execute/draft",params:{formData:r,schemaId:e,dataId:o}},{errorMessageMode:n})})},x=function(e,r="modal"){return a(this,null,function*(){return s.delete({url:"/workflow/execute/my-process/recycle",data:{processIds:e}},{errorMessageMode:r})})},I=function(e,r,o,n,c="modal"){return a(this,null,function*(){return s.put({url:"/workflow/execute/draft",params:{formData:r,schemaId:e,id:o,dataId:n}},{errorMessageMode:c})})},i=function(e,r="modal"){return a(this,null,function*(){return s.delete({url:"/workflow/execute/draft",data:e},{errorMessageMode:r})})},p=function(e,r="modal"){return a(this,null,function*(){return s.get({url:"/workflow/execute/draft/info",params:{id:e}},{errorMessageMode:r})})},m=function(e,r="message"){return a(this,null,function*(){return s.get({url:l.MY_PROCESS,params:e},{errorMessageMode:r})})},M=function(e,r="message"){return a(this,null,function*(){return s.get({url:l.CIRCULATED,params:e},{errorMessageMode:r})})}}));export{D as __tla,m as a,f as b,M as c,g as d,p as e,i as f,y as g,w as h,k as i,x as j,_ as m,I as p};