You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2 lines
17 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[980],{31199:function(z,U,t){"use strict";var g=t(28991),C=t(81253),B=t(85893),j=t(67294),T=t(31649),W=["fieldProps","min","proFieldProps","max"],l=function(S,m){var h=S.fieldProps,D=S.min,o=S.proFieldProps,O=S.max,i=(0,C.Z)(S,W);return(0,B.jsx)(T.Z,(0,g.Z)({valueType:"digit",fieldProps:(0,g.Z)({min:D,max:O},h),ref:m,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:o},i))};U.Z=j.forwardRef(l)},64317:function(z,U,t){"use strict";var g=t(28991),C=t(81253),B=t(85893),j=t(22270),T=t(67294),W=t(66758),l=t(31649),u=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],S=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],m=T.forwardRef(function(i,Q){var X=i.fieldProps,te=i.children,q=i.params,re=i.proFieldProps,G=i.mode,ae=i.valueEnum,F=i.request,_=i.showSearch,K=i.options,k=(0,C.Z)(i,u),N=(0,T.useContext)(W.Z);return(0,B.jsx)(l.Z,(0,g.Z)((0,g.Z)({valueEnum:(0,j.h)(ae),request:F,params:q,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,g.Z)({options:K,mode:G,showSearch:_,getPopupContainer:N.getPopupContainer},X),ref:Q,proFieldProps:re},k),{},{children:te}))}),h=T.forwardRef(function(i,Q){var X=i.fieldProps,te=i.children,q=i.params,re=i.proFieldProps,G=i.mode,ae=i.valueEnum,F=i.request,_=i.options,K=(0,C.Z)(i,S),k=(0,g.Z)({options:_,mode:G||"multiple",labelInValue:!0,showSearch:!0,showArrow:!1,autoClearSearchValue:!0,optionLabelProp:"label"},X),N=(0,T.useContext)(W.Z);return(0,B.jsx)(l.Z,(0,g.Z)((0,g.Z)({valueEnum:(0,j.h)(ae),request:F,params:q,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,g.Z)({getPopupContainer:N.getPopupContainer},k),ref:Q,proFieldProps:re},K),{},{children:te}))}),D=m,o=h,O=D;O.SearchSelect=o,O.displayName="ProFormComponent",U.Z=O},5966:function(z,U,t){"use strict";var g=t(28991),C=t(81253),B=t(85893),j=t(31649),T=["fieldProps","proFieldProps"],W=["fieldProps","proFieldProps"],l="text",u=function(D){var o=D.fieldProps,O=D.proFieldProps,i=(0,C.Z)(D,T);return(0,B.jsx)(j.Z,(0,g.Z)({valueType:l,fieldProps:o,filedConfig:{valueType:l},proFieldProps:O},i))},S=function(D){var o=D.fieldProps,O=D.proFieldProps,i=(0,C.Z)(D,W);return(0,B.jsx)(j.Z,(0,g.Z)({valueType:"password",fieldProps:o,proFieldProps:O,filedConfig:{valueType:l}},i))},m=u;m.Password=S,m.displayName="ProFormComponent",U.Z=m},63472:function(z){z.exports={card:"card___3dWIJ",anttabs:"anttabs___2_Orv",errorIcon:"errorIcon___1pp9M",anticon:"anticon___1oiIS",errorPopover:"errorPopover___CUFc7",errorListItem:"errorListItem___1hPkI",errorField:"errorField___3rSLf",editable:"editable___3cDnK"}},83341:function(z,U,t){"use strict";t.d(U,{O:function(){return g}});function g(C){C=C||32;for(var B="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz",j=B.length,T="012345678",W=T.length,l="",u=0;u<C;u++)l+=B.charAt(Math.floor(Math.random()*j));for(var S=0;S<C;S++)l+=T.charAt(Math.floor(Math.random()*W));return l.toUpperCase()}},16286:function(z,U,t){"use strict";t.r(U),t.d(U,{default:function(){return Le}});var g=t(57338),C=t(273),B=t(57663),j=t(71577),T=t(62350),W=t(24565),l=t(2824),u=t(39428),S=t(34792),m=t(48086),h=t(3182),D=t(49101),o=t(67294),O=t(78009),i=t(85224),Q=t(16894),X=t(12826),te=t(71194),q=t(50146),re=t(13062),G=t(71230),ae=t(89032),F=t(15746),_=t(952),K=t(5966),k=t(64317),N=t(31199),Ke=t(63472),r=t(85893),I={name:"\u7269\u6599\u540D\u79F0",stockUint:"\u5E93\u5B58\u5355\u4F4D",specs:"\u7269\u6599\u89C4\u683C",code:"\u7269\u6599\u7F16\u7801",aittribute:"\u7269\u6599\u5C5E\u6027",typeID:"\u7269\u6599\u7C7B\u522B",status:"\u7269\u6599\u72B6\u6001",price:"\u6210\u672C\u4EF7",netrecovery:"\u51C0\u6599\u7387(%)",OutstockUint:"\u51FA\u5E93\u5355\u4F4D",proportion:"\u6362\u7B97\u6BD4\u4F8B(%)",foreignKeyRe:"\u5173\u8054\u5916\u952E"},me=[],xe=function(a){var d=a.modalVisible,J=a.onCancel,n=(0,o.useState)(function(){return me.map(function(M){return M.id})}),L=(0,l.Z)(n,2),le=L[0],oe=L[1],H=(0,o.useState)(),ue=(0,l.Z)(H,2),de=ue[0],ce=ue[1],se=(0,o.useState)(function(){return me}),A=(0,l.Z)(se,2),he=A[0],ie=A[1],b=function(){a.values.membersList!=null&&(oe(a.values.membersList.map(function(Y){return Y.id})),ie(a.values.membersList))};(0,o.useEffect)(function(){b()},[d]);var pe=[{title:"\u4E3B\u952E",dataIndex:"id",tip:"key",hideInSearch:!0,hideInTable:!0},{title:"\u6761\u7801",dataIndex:"code",width:"30%",formItemProps:{rules:[{required:!0,whitespace:!0,message:"\u7269\u6599\u7F16\u7801"},{max:8,whitespace:!0,message:"\u6700\u957F\u4E3A 8 \u4F4D"},{min:4,whitespace:!0,message:"\u6700\u5C0F\u4E3A 4 \u4F4D"}]}},{title:"\u5305\u88C5\u5355\u4F4D",key:"packUnit",dataIndex:"packUnit",valueType:"select",fieldProps:{options:a.uintListData},formItemProps:{rules:[{required:!0,whitespace:!0,message:"\u5305\u88C5\u5355\u4F4D"}]}},{title:"\u6BD4\u4F8B",dataIndex:"proportion",valueType:"digit",formItemProps:{rules:[{required:!0,whitespace:!0,message:"\u6362\u7B97\u6BD4\u4F8B"}]}},{title:"\u64CD\u4F5C",valueType:"option",width:250}];return(0,r.jsx)(q.Z,{destroyOnClose:!0,title:a.values.id?"\u7F16\u8F91\u7269\u6599":"\u65B0\u5EFA\u7269\u6599",width:1e3,visible:d,onCancel:function(){return J()},footer:null,maskClosable:!1,children:(0,r.jsxs)(_.ZP,{layout:"horizontal",hideRequiredMark:!0,initialValues:a.values,onFinish:a.onFinish,children:[(0,r.jsxs)(G.Z,{gutter:16,children:[(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(K.Z,{label:I.code,name:"code",rules:[{required:!0,max:50}],placeholder:"\u8BF7\u8F93\u5165\u539F\u6599\u7F16\u7801",onChange:function(Y){ce(Y.target.value)}})}),(0,r.jsxs)(F.Z,{lg:8,md:12,sm:24,children:[(0,r.jsx)(K.Z,{name:"id",hidden:!0}),(0,r.jsx)(K.Z,{label:I.name,name:"name",rules:[{required:!0,max:50}],placeholder:"\u8BF7\u8F93\u5165\u539F\u6599\u540D\u79F0"})]}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(K.Z,{label:I.specs,name:"specs",rules:[{required:!0,max:500}],placeholder:"\u8BF7\u8F93\u5165\u89C4\u683C\u578B\u53F7"})})]}),(0,r.jsxs)(G.Z,{gutter:16,children:[(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(k.Z,{label:I.aittribute,name:"aittribute",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7269\u6599\u5C5E\u6027"}],options:[{value:"0",label:"\u6210\u54C1"},{value:"1",label:"\u534A\u6210\u54C1"},{value:"2",label:"\u6613\u8017\u54C1"}],placeholder:"\u8BF7\u9009\u62E9\u7269\u6599\u5C5E\u6027"})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(N.Z,{label:I.price,name:"price",placeholder:"\u8BF7\u8F93\u5165\u6210\u672C\u4EF7",min:1})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(N.Z,{label:I.netrecovery,name:"netrecovery",min:1,max:100,placeholder:"\u8BF7\u8F93\u5165\u51C0\u6599\u7387"})})]}),(0,r.jsxs)(G.Z,{gutter:16,children:[(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(k.Z,{label:I.typeID,name:"typeID",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7269\u6599\u7C7B\u522B"}],request:(0,h.Z)((0,u.Z)().mark(function M(){return(0,u.Z)().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",a.typeListData);case 1:case"end":return E.stop()}},M)})),placeholder:"\u8BF7\u9009\u62E9\u7269\u6599\u7C7B\u522B"})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(k.Z,{label:I.stockUint,name:"stockUint",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u4F4D"}],request:(0,h.Z)((0,u.Z)().mark(function M(){return(0,u.Z)().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",a.uintListData);case 1:case"end":return E.stop()}},M)})),placeholder:"\u8BF7\u9009\u62E9\u5355\u4F4D"})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(k.Z,{label:I.OutstockUint,name:"outstockUint",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u51FA\u5E93\u5355\u4F4D"}],request:(0,h.Z)((0,u.Z)().mark(function M(){return(0,u.Z)().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",a.uintListData);case 1:case"end":return E.stop()}},M)})),placeholder:"\u8BF7\u9009\u62E9\u51FA\u5E93\u5355\u4F4D"})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(N.Z,{label:I.proportion,name:"proportion",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u51FA\u5165\u5E93\u6362\u7B97\u6BD4\u4F8B"}],placeholder:"\u8BF7\u8F93\u5165\u6362\u7B97\u6BD4\u4F8B"})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(k.Z,{label:I.status,name:"status",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u72B6\u6001"}],options:[{value:"0",label:"\u6B63\u5E38"},{value:"1",label:"\u505C\u7528"}],placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001"})}),(0,r.jsx)(F.Z,{lg:8,md:12,sm:24,children:(0,r.jsx)(K.Z,{label:I.foreignKeyRe,name:"foreignKeyRe",placeholder:"\u8BF7\u8F93\u5165\u5173\u8054\u5916\u952E"})})]})]})})},Ce=xe,ne=t(11849),w=t(48971),$={getTypeList:function(a,d){return(0,w.WY)("/kitchen/api/product-type/type-list",{method:"GET",params:(0,ne.Z)({},a)})},GetDicList:function(a){return(0,w.WY)("/kitchen/api/dict-data/dic-list/".concat(a),{method:"Get"})},getUintList:function(a,d){return(0,w.WY)("/kitchen/api/unit/uint-list",{method:"GET",params:(0,ne.Z)({},a)})},addProduct:function(a,d){return(0,w.WY)("/kitchen/api/product/",{method:"POST",data:(0,ne.Z)({},a)})},updateProduct:function(a,d){return(0,w.WY)("/kitchen/api/product/",{method:"PUT",data:(0,ne.Z)({},a)})},removeProduct:function(a){return(0,w.WY)("/kitchen/api/product",{method:"DELETE",data:a})},getpage:function(a,d){return(0,w.WY)("/kitchen/api/product/product-list",{method:"Post",data:a})},getproductdetailed:function(a,d){return(0,w.WY)("/kitchen/api/product-code-server/product-list",{method:"Post",data:a})},updateStatus:function(a){return(0,w.WY)("/kitchen/api/product/product-status",{method:"put",data:a})},BatchList:function(a){return(0,w.WY)("/kitchen/api/product/product-code/".concat(a),{method:"get"})}},Se=t(83341),De=function(){var f=(0,h.Z)((0,u.Z)().mark(function a(d){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,$.addProduct(d).then(function(L){L.data?m.default.success("\u6DFB\u52A0\u6210\u529F"):m.default.error(e.error)});case 3:return n.abrupt("return",!0);case 6:return n.prev=6,n.t0=n.catch(0),m.default.error("\u6DFB\u52A0\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),n.abrupt("return",!1);case 10:case"end":return n.stop()}},a,null,[[0,6]])}));return function(d){return f.apply(this,arguments)}}(),je=function(){var f=(0,h.Z)((0,u.Z)().mark(function a(d){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,$.updateProduct(d).then(function(L){L.data?m.default.success("\u4FEE\u6539\u6210\u529F"):m.default.error(e.error)});case 3:return n.abrupt("return",!0);case 6:return n.prev=6,n.t0=n.catch(0),m.default.error("\u4FEE\u6539\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),n.abrupt("return",!1);case 10:case"end":return n.stop()}},a,null,[[0,6]])}));return function(d){return f.apply(this,arguments)}}(),Te=function(){var f=(0,h.Z)((0,u.Z)().mark(function a(d){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(d){n.next=2;break}return n.abrupt("return",!0);case 2:return n.prev=2,n.next=5,$.removeProduct(d.map(function(L){return L.id})).then(function(L){if(L.data)return m.default.success("\u5220\u9664\u6210\u529F"),!0;m.default.error(e.error)});case 5:return n.abrupt("return",!0);case 8:return n.prev=8,n.t0=n.catch(2),m.default.error("\u5220\u9664\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),n.abrupt("return",!1);case 12:case"end":return n.stop()}},a,null,[[2,8]])}));return function(d){return f.apply(this,arguments)}}(),Ie=function(){var a=(0,o.useState)(),d=(0,l.Z)(a,2),J=d[0],n=d[1],L=(0,o.useState)({}),le=(0,l.Z)(L,2),oe=le[0],H=le[1],ue=(0,o.useState)(),de=(0,l.Z)(ue,2),ce=de[0],se=de[1],A=(0,o.useRef)(),he=(0,o.useState)(),ie=(0,l.Z)(he,2),b=ie[0],pe=ie[1],M=(0,o.useState)([]),Y=(0,l.Z)(M,2),E=Y[0],be=Y[1],Me=(0,o.useState)([]),ve=(0,l.Z)(Me,2),ke=ve[0],Be=ve[1],Oe=(0,o.useState)(),fe=(0,l.Z)(Oe,2),ee=fe[0],Pe=fe[1],Re=(0,o.useState)(),Ze=(0,l.Z)(Re,2),ge=Ze[0],Ue=Ze[1],We=(0,o.useState)(),Fe=(0,l.Z)(We,2),Ee=Fe[0],we=Fe[1];(0,o.useEffect)(function(){var x=function(){var c=(0,h.Z)((0,u.Z)().mark(function p(P){var y,Z;return(0,u.Z)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,$.getUintList();case 2:y=R.sent,Z=[],y.data.length>0&&y.data.forEach(function(V){Z.push({stockuint:V.id,text:V.name,value:V.id,label:V.name})}),Ue(Z);case 6:case"end":return R.stop()}},p)}));return function(P){return c.apply(this,arguments)}}(),v=function(){var c=(0,h.Z)((0,u.Z)().mark(function p(P){var y,Z;return(0,u.Z)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,$.getTypeList();case 2:y=R.sent,Z=[],y.data.length>0&&y.data.forEach(function(V){Z.push({typeid:V.id,text:V.name,value:V.id,label:V.name})}),we(Z);case 6:case"end":return R.stop()}},p)}));return function(P){return c.apply(this,arguments)}}();x(),v();function s(){$.GetDicList("BatchingType").then(function(c){var p=c.data,P={};if(c.succeeded){var y=[];p.forEach(function(Z){P[Z.code]={text:Z.remark},y.push({batchingType:Z.code,text:Z.remark,value:Z.code,label:Z.remark})}),Be(P),be(y)}})}s()},[]);var ye=[{title:"\u4E3B\u952E",dataIndex:"id",tip:"key",hideInSearch:!0,hideInTable:!0,render:function(v,s){return(0,r.jsx)("a",{onClick:function(){pe(s),se(!0)},children:v})}},{title:"\u7269\u6599\u540D\u79F0",dataIndex:"name",ellipsis:!0,formItemProps:{rules:[{required:!0,message:"\u540D\u79F0\u4E3A\u5FC5\u586B\u9879"}]}},{title:"\u7269\u6599\u7F16\u7801",dataIndex:"code",ellipsis:!0},{title:"\u5173\u8054\u5916\u952E",dataIndex:"foreignKeyRe"},{title:"\u7269\u6599\u89C4\u683C",dataIndex:"specs"},{title:"\u6210\u672C\u4EF7",dataIndex:"price"},{title:"\u51C0\u6599\u7387(%)",dataIndex:"netrecovery"},{title:"\u7269\u6599\u5C5E\u6027",dataIndex:"aittribute",valueEnum:{0:{text:"\u6210\u54C1"},1:{text:"\u534A\u6210\u54C1"},2:{text:"\u6613\u8017\u54C1"}}},{title:"\u7269\u6599\u7C7B\u522B",dataIndex:"typeID",valueType:"select",fieldProps:{options:Ee}},{title:"\u5E93\u5B58\u5355\u4F4D",dataIndex:"stockUint",valueType:"select",fieldProps:{options:ge}},{title:"\u72B6\u6001",dataIndex:"status",hideInForm:!0,valueEnum:{0:{text:"\u6B63\u5E38",status:"Processing"},1:{text:"\u505C\u7528",status:"Success"}}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createAt",valueType:"date",hideInForm:!0},{title:"\u64CD\u4F5C",dataIndex:"option",valueType:"option",render:function(v,s){return[(0,r.jsxs)("a",{onClick:function(){n(!0),H(s)},children:[" ","\u66F4\u65B0"]}),(0,r.jsxs)("a",{onClick:function(){s.status=s.status==0?1:0,$.updateStatus(s).then(function(p){p.data&&A.current.reload()})},children:[" ",s.status==0?"\u505C\u7528":"\u542F\u7528"]},"primary"),(0,r.jsx)(W.Z,{type:"primary",title:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:function(){$.removeProduct([s.id]).then(function(p){p.data?(m.default.success("\u5220\u9664\u6210\u529F"),A.current.reload()):m.default.error("\u5220\u9664\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")})},onCancel:function(){},children:(0,r.jsx)("a",{href:"#",children:"\u5220\u9664"})},"primary")]}}];return(0,r.jsxs)(O.ZP,{children:[(0,r.jsx)(Q.ZP,{headerTitle:"\u7269\u6599\u5217\u8868",actionRef:A,rowKey:"id",search:{labelWidth:120},toolBarRender:function(){return[(0,r.jsxs)(j.Z,{type:"primary",onClick:function(){var s={code:(0,Se.O)(4)};H(s),n(!0)},children:[(0,r.jsx)(D.Z,{})," \u65B0\u5EFA"]},"primary")]},request:function(){var x=(0,h.Z)((0,u.Z)().mark(function v(s){var c,p;return(0,u.Z)().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return c=[],p=0,y.next=4,$.getpage(s).then(function(Z){c=Z.data.data,p=Z.data.total});case 4:return y.abrupt("return",{data:c,success:!0,total:p});case 5:case"end":return y.stop()}},v)}));return function(v){return x.apply(this,arguments)}}(),columns:ye,rowSelection:{onChange:function(v,s){Pe(s)}}}),(ee==null?void 0:ee.length)>0&&(0,r.jsx)(i.Z,{extra:(0,r.jsxs)("div",{children:["\u5DF2\u9009\u62E9"," ",(0,r.jsx)("a",{style:{fontWeight:600},children:ee.length})," ","\u9879 \xA0\xA0"]}),children:(0,r.jsx)(j.Z,{type:"primary",onClick:(0,h.Z)((0,u.Z)().mark(function x(){var v,s;return(0,u.Z)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,Te(ee);case 2:Pe([]),(v=A.current)===null||v===void 0||(s=v.reloadAndRest)===null||s===void 0||s.call(v);case 4:case"end":return p.stop()}},x)})),children:"\u6279\u91CF\u5220\u9664"})}),(0,r.jsx)(Ce,{dicData:E,uintListData:ge,typeListData:Ee,onFinish:function(){var x=(0,h.Z)((0,u.Z)().mark(function v(s){var c;return(0,u.Z)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(c=!1,H({}),!s.id){P.next=8;break}return P.next=5,je(s);case 5:c=P.sent,P.next=11;break;case 8:return P.next=10,De(s);case 10:c=P.sent;case 11:c&&(n(!1),A.current&&A.current.reload()),A.current.reload();case 13:case"end":return P.stop()}},v)}));return function(v){return x.apply(this,arguments)}}(),onCancel:function(){n(!1),H({})},modalVisible:J,values:oe||{}}),(0,r.jsx)(C.Z,{width:600,visible:ce,onClose:function(){pe(void 0),se(!1)},closable:!1,children:(b==null?void 0:b.name)&&(0,r.jsx)(X.ZP,{column:2,title:b==null?void 0:b.name,request:(0,h.Z)((0,u.Z)().mark(function x(){return(0,u.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",{data:b||{}});case 1:case"end":return s.stop()}},x)})),params:{id:b==null?void 0:b.name},columns:ye})})]})},Le=Ie}}]);