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