import{r as t}from"./request-yGlVfSRy.js";import{s as c,b as l}from"./vue-ChXMuCsz.js";const p=(e,a,r)=>{const s=c([]),o=l(null),d=l(!1);return[s,d,o,m=>(d.value=!0,t(Object.assign(e,m||{})).then(n=>s.value=n).catch(n=>o.value=n).finally(()=>d.value=!1))]},y=(e,a)=>t({url:`/zxl_rm/design/ui_handler.svc?cmd=findAll&size=${e}&page=${a}`,method:"post",data:{}}),g=e=>t({url:"/zxl_pm/design/ui_control_management.svc?cmd=insert",method:"post",data:e}),h=e=>t({url:"/zxl_pm/design/ui_control_management.svc?cmd=update",method:"post",data:e}),v=(e,a)=>t({url:"/zxl_rm/design/ui_handler.svc?cmd=findAllByControlIdOrderBySn",method:"get",params:{controlId:e,propertyTabName:a}}),x=e=>t({url:"/zxl_pm/design/ui_control_property_management.svc?cmd=insert",method:"post",data:e}),z=e=>t({url:"/zxl_pm/design/ui_control_property_management.svc?cmd=update",method:"post",data:e}),D=e=>t({url:`/zxl_pm/design/ui_control_property_management.svc?cmd=delete&id=${e}`,method:"post"}),f=e=>p({url:`/zxl_rm/design/ui_handler.svc?cmd=findByPropertyPrimaryIdOrderBySn&propertyPrimaryId=${e}`,method:"get"}),O=e=>t({url:`/zxl_rm/design/ui_handler.svc?cmd=findByPropertyPrimaryIdOrderBySn&propertyPrimaryId=${e}`,method:"get"}),B=e=>t({url:"/zxl_pm/design/ui_control_property_enum_management.svc?cmd=insert",method:"post",data:e}),I=e=>t({url:"/zxl_pm/design/ui_control_property_enum_management.svc?cmd=update",method:"post",data:e}),F=e=>t({url:`/zxl_pm/design/ui_control_property_enum_management.svc?cmd=delete&id=${e}`,method:"post"}),P=(e,a,r)=>t({url:`/zxl_pm/product/request/entity-mock-data.svc?cmd=pageQueryMockData&entityId=${e}&page=${a}&size=${r}`,method:"post"}),k=(e,a,r,s,o)=>t({url:"/zxl_pm/product/request/entity-mock-data.svc?cmd=insertMockData",method:"post",headers:{"Content-Type":"application/json"},params:{zxlPrdId:s,entityId:e,mockDataObjectUuid:a,...typeof o=="string"?{parentDataObId:o}:o||{}},data:r}),b=(e,a,r)=>t({url:`/zxl_pm/product/request/entity-mock-data.svc?cmd=updateMockData&mockDataObjectUuid=${e}&zxlPrdId=${r}`,method:"post",headers:{"Content-Type":"application/json"},data:a}),w=e=>t({url:`/zxl_pm/product/request/entity-mock-data.svc?cmd=deleteMockData&mockDataObjectUuid=${e}`,method:"post"}),C=(e,a)=>t({url:"/zxl_pm/data/flow_handle.svc",method:"get",params:{cmd:"createFlowHandleByAi",zxlPrdId:e,flowObId:a},timeout:180*1e3}),j=(e,a)=>t({url:"/zxl_pm/data/flow_handle.svc",method:"get",params:{cmd:"findDataFlowHandleByFlowObId",zxlPrdId:e,flowObId:a}}),$=(e,a)=>t({url:"/zxl_pm/data/flow_handle.svc",method:"get",params:{cmd:"delete",zxlPrdId:e,flowHandleObId:a}}),q=(e,a)=>t({url:"/zxl_pm/data/user.svc",method:"get",params:{cmd:"findByFlowObId",zxlPrdId:e,flowObId:a}}),M=(e,a,r)=>t({url:"/zxl_pm/data/flow_handle.svc",method:"get",params:{cmd:"getMenuOperationForRole",zxlPrdId:e,flowObId:a,roleObId:r}}),U=e=>t({url:"/zxl_pm/data/flow_handle.svc",method:"post",params:{cmd:"saveOrUpdate"},data:e}),L=e=>t({url:"/zxl_pm/request/entity.svc?cmd=saveOrUpdate",method:"post",data:e}),E=e=>t({url:"/zxl_pm/request/field.svc?cmd=saveOrUpdate",method:"post",data:e}),A=e=>t({url:"/zxl_pm/request/field.svc",method:"post",params:{cmd:"createFieldForFlow"},data:e}),S=e=>t({url:"/zxl_pm/request/param.svc?cmd=getByInterfaceId",method:"post",data:e}),T=e=>t({url:"zxl_pm/request/interface/object/field.svc?cmd=getObjectFieldByUuid",method:"post",data:e});export{A,f as a,x as b,z as c,F as d,I as e,B as f,v as g,D as h,g as i,y as j,L as k,k as l,O as m,S as n,T as o,P as p,M as q,U as r,E as s,q as t,h as u,j as v,C as w,$ as x,w as y,b as z};
