Files
shz-admin/shihezi/8097.26b00ff4.async.js
wzm 3a17dc786b
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
增加转发对象配置,工作人员管理页面
2025-11-20 16:30:13 +08:00

2 lines
18 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8097],{98097:function(nt,me,o){o.d(me,{vY:function(){return ge}});var V=o(74902),M=o(55850),K=o(15861),X=o(91),l=o(1413),ye=o(97937),xe=o(63606),re=o(86548),ie=o(952),Q=o(43495),D=o(67294),g=o(48054),F=o(4393),Y=o(25378),he=o(96074),A=o(78957),e=o(85893),J=function(t){var a=t.padding;return(0,e.jsx)("div",{style:{padding:a||"0 24px"},children:(0,e.jsx)(he.Z,{style:{margin:0}})})},Ze={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},je=function(t){var a=t.size,n=t.active,i=(0,D.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),m=(0,Y.Z)()||i,s=Object.keys(m).filter(function(Z){return m[Z]===!0})[0]||"md",y=a===void 0?Ze[s]||6:a,S=function(d){return d===0?0:y>2?42:16};return(0,e.jsx)(F.Z,{bordered:!1,style:{marginBlockEnd:16},children:(0,e.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(y).fill(null).map(function(Z,d){return(0,e.jsxs)("div",{style:{borderInlineStart:y>2&&d===1?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:S(d),flex:1,marginInlineEnd:d===0?16:0},children:[(0,e.jsx)(g.Z,{active:n,paragraph:!1,title:{width:100,style:{marginBlockStart:0}}}),(0,e.jsx)(g.Z.Button,{active:n,style:{height:48}})]},d)})})})},pe=function(t){var a=t.active;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(F.Z,{bordered:!1,style:{borderRadius:0},styles:{body:{padding:24}},children:(0,e.jsxs)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,e.jsx)("div",{style:{maxWidth:"100%",flex:1},children:(0,e.jsx)(g.Z,{active:a,title:{width:100,style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}})}),(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:165,marginBlockStart:12}})]})}),(0,e.jsx)(J,{})]})},Se=function(t){var a=t.size,n=t.active,i=n===void 0?!0:n,m=t.actionButton;return(0,e.jsxs)(F.Z,{bordered:!1,styles:{body:{padding:0}},children:[new Array(a).fill(null).map(function(s,y){return(0,e.jsx)(pe,{active:!!i},y)}),m!==!1&&(0,e.jsx)(F.Z,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},styles:{body:{display:"flex",alignItems:"center",justifyContent:"center"}},children:(0,e.jsx)(g.Z.Button,{style:{width:102},active:i,size:"small"})})]})},U=function(t){var a=t.active;return(0,e.jsxs)("div",{style:{marginBlockEnd:16},children:[(0,e.jsx)(g.Z,{paragraph:!1,title:{width:185}}),(0,e.jsx)(g.Z.Button,{active:a,size:"small"})]})},be=function(t){var a=t.active;return(0,e.jsx)(F.Z,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},styles:{body:{paddingBlockEnd:8}},children:(0,e.jsxs)(A.Z,{style:{width:"100%",justifyContent:"space-between"},children:[(0,e.jsx)(g.Z.Button,{active:a,style:{width:200},size:"small"}),(0,e.jsxs)(A.Z,{children:[(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:120}}),(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:80}})]})]})})},Ee=function(t){var a=t.active,n=a===void 0?!0:a,i=t.statistic,m=t.actionButton,s=t.toolbar,y=t.pageHeader,S=t.list,Z=S===void 0?5:S;return(0,e.jsxs)("div",{style:{width:"100%"},children:[y!==!1&&(0,e.jsx)(U,{active:n}),i!==!1&&(0,e.jsx)(je,{size:i,active:n}),(s!==!1||Z!==!1)&&(0,e.jsxs)(F.Z,{bordered:!1,styles:{body:{padding:0}},children:[s!==!1&&(0,e.jsx)(be,{active:n}),Z!==!1&&(0,e.jsx)(Se,{size:Z,active:n,actionButton:m})]})]})},Ce=Ee,le={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},Ie=function(t){var a=t.active;return(0,e.jsxs)("div",{style:{marginBlockStart:32},children:[(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:100,marginBlockEnd:16}}),(0,e.jsxs)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:[(0,e.jsxs)("div",{style:{flex:1,marginInlineEnd:24,maxWidth:300},children:[(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:8}}})]}),(0,e.jsx)("div",{style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,e.jsxs)("div",{style:{maxWidth:300,margin:"auto"},children:[(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:8}}})]})})]})]})},Te=function(t){var a=t.size,n=t.active,i=(0,D.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),m=(0,Y.Z)()||i,s=Object.keys(m).filter(function(S){return m[S]===!0})[0]||"md",y=a===void 0?le[s]||3:a;return(0,e.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(y).fill(null).map(function(S,Z){return(0,e.jsxs)("div",{style:{flex:1,paddingInlineStart:Z===0?0:24,paddingInlineEnd:Z===y-1?0:24},children:[(0,e.jsx)(g.Z,{active:n,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,e.jsx)(g.Z,{active:n,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,e.jsx)(g.Z,{active:n,paragraph:!1,title:{style:{marginBlockStart:8}}})]},Z)})})},se=function(t){var a=t.active,n=t.header,i=n===void 0?!1:n,m=(0,D.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),s=(0,Y.Z)()||m,y=Object.keys(s).filter(function(Z){return s[Z]===!0})[0]||"md",S=le[y]||3;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{style:{display:"flex",background:i?"rgba(0,0,0,0.02)":"none",padding:"24px 8px"},children:[new Array(S).fill(null).map(function(Z,d){return(0,e.jsx)("div",{style:{flex:1,paddingInlineStart:i&&d===0?0:20,paddingInlineEnd:32},children:(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{margin:0,height:24,width:i?"75px":"100%"}}})},d)}),(0,e.jsx)("div",{style:{flex:3,paddingInlineStart:32},children:(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{margin:0,height:24,width:i?"75px":"100%"}}})})]}),(0,e.jsx)(J,{padding:"0px 0px"})]})},ke=function(t){var a=t.active,n=t.size,i=n===void 0?4:n;return(0,e.jsxs)(F.Z,{bordered:!1,children:[(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:100,marginBlockEnd:16}}),(0,e.jsx)(se,{header:!0,active:a}),new Array(i).fill(null).map(function(m,s){return(0,e.jsx)(se,{active:a},s)}),(0,e.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",paddingBlockStart:16},children:(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{margin:0,height:32,float:"right",maxWidth:"630px"}}})})]})},Be=function(t){var a=t.active;return(0,e.jsxs)(F.Z,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},children:[(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:100,marginBlockEnd:16}}),(0,e.jsx)(Te,{active:a}),(0,e.jsx)(Ie,{active:a})]})},De=function(t){var a=t.active,n=a===void 0?!0:a,i=t.pageHeader,m=t.list;return(0,e.jsxs)("div",{style:{width:"100%"},children:[i!==!1&&(0,e.jsx)(U,{active:n}),(0,e.jsx)(Be,{active:n}),m!==!1&&(0,e.jsx)(J,{}),m!==!1&&(0,e.jsx)(ke,{active:n,size:m})]})},Pe=De,Re=function(t){var a=t.active,n=a===void 0?!0:a,i=t.pageHeader;return(0,e.jsxs)("div",{style:{width:"100%"},children:[i!==!1&&(0,e.jsx)(U,{active:n}),(0,e.jsx)(F.Z,{children:(0,e.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",padding:128},children:[(0,e.jsx)(g.Z.Avatar,{size:64,style:{marginBlockEnd:32}}),(0,e.jsx)(g.Z.Button,{active:n,style:{width:214,marginBlockEnd:8}}),(0,e.jsx)(g.Z.Button,{active:n,style:{width:328},size:"small"}),(0,e.jsxs)(A.Z,{style:{marginBlockStart:24},children:[(0,e.jsx)(g.Z.Button,{active:n,style:{width:116}}),(0,e.jsx)(g.Z.Button,{active:n,style:{width:116}})]})]})})]})},we=Re,Le=["type"],ze=function(t){var a=t.type,n=a===void 0?"list":a,i=(0,X.Z)(t,Le);return n==="result"?(0,e.jsx)(we,(0,l.Z)({},i)):n==="descriptions"?(0,e.jsx)(Pe,(0,l.Z)({},i)):(0,e.jsx)(Ce,(0,l.Z)({},i))},Fe=ze,q=o(2026),Me=o(90081),de=o(1977),$e=o(77398),_=o(12795),Ae=o(53914),ee=o(97685),He=o(6376),oe=o(2453),Ke=o(56790),te=o(21770),O=o(86671),Oe=function(t){return(oe.ZP.warn||oe.ZP.warning)(t)};function Ne(r){var t=r.data,a=r.row;return(0,l.Z)((0,l.Z)({},t),a)}function We(r){var t=(0,D.useRef)(null),a=r.type||"single",n=(0,He.YB)(),i=(0,te.Z)([],{value:r.editableKeys,onChange:r.onChange?function(f){var x;r==null||(x=r.onChange)===null||x===void 0||x.call(r,f,r.dataSource)}:void 0}),m=(0,ee.Z)(i,2),s=m[0],y=m[1],S=(0,D.useMemo)(function(){var f=a==="single"?s==null?void 0:s.slice(0,1):s;return new Set(f)},[(s||[]).join(","),a]),Z=(0,D.useCallback)(function(f){return!!(s!=null&&s.includes((0,O.sN)(f)))},[(s||[]).join(",")]),d=function(x,b){var v;return S.size>0&&a==="single"?(Oe(r.onlyOneLineEditorAlertMessage||n.getMessage("editableTable.onlyOneLineEditor","\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C")),!1):(t.current=(v=b!=null?b:(0,Ke.U2)(r.dataSource,Array.isArray(x)?x:[x]))!==null&&v!==void 0?v:null,S.add((0,O.sN)(x)),y(Array.from(S)),!0)},E=function(x){return S.delete((0,O.sN)(x)),y(Array.from(S)),!0},B=function(){var f=(0,K.Z)((0,M.Z)().mark(function x(b,v,P,R){var T,c;return(0,M.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,r==null||(T=r.onCancel)===null||T===void 0?void 0:T.call(r,b,v,P,R);case 2:if(c=h.sent,c!==!1){h.next=5;break}return h.abrupt("return",!1);case 5:return h.abrupt("return",!0);case 6:case"end":return h.stop()}},x)}));return function(b,v,P,R){return f.apply(this,arguments)}}(),I=function(){var f=(0,K.Z)((0,M.Z)().mark(function x(b,v,P){var R,T,c;return(0,M.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,r==null||(R=r.onSave)===null||R===void 0?void 0:R.call(r,b,v,P);case 2:if(T=h.sent,T!==!1){h.next=5;break}return h.abrupt("return",!1);case 5:return h.next=7,E(b);case 7:return c={data:r.dataSource,row:v,key:b,childrenColumnName:r.childrenColumnName||"children"},r.setDataSource(Ne(c)),h.abrupt("return",!0);case 10:case"end":return h.stop()}},x)}));return function(b,v,P){return f.apply(this,arguments)}}(),L=n.getMessage("editableTable.action.save","\u4FDD\u5B58"),C=n.getMessage("editableTable.action.delete","\u5220\u9664"),k=n.getMessage("editableTable.action.cancel","\u53D6\u6D88"),w=(0,D.useCallback)(function(f,x){var b=(0,l.Z)({recordKey:f,cancelEditable:E,onCancel:B,onSave:I,editableKeys:s,setEditableRowKeys:y,saveText:L,cancelText:k,preEditRowRef:t,deleteText:C,deletePopconfirmMessage:"".concat(n.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?"),editorType:"Map"},x),v=(0,O.aX)(r.dataSource,b);return r.actionRender?r.actionRender(r.dataSource,b,{save:v.save,delete:v.delete,cancel:v.cancel}):[v.save,v.delete,v.cancel]},[s&&s.join(","),r.dataSource]);return{editableKeys:s,setEditableRowKeys:y,isEditable:Z,actionRender:w,startEditable:d,cancelEditable:E}}var Ge=o(78164),ue=o(67159),ae=o(26412),Ve=o(21532),Xe=o(50344),Qe=o(88306),Ye=function(t,a){var n=a||{},i=n.onRequestError,m=n.effects,s=n.manual,y=n.dataSource,S=n.defaultDataSource,Z=n.onDataSourceChange,d=(0,te.Z)(S,{value:y,onChange:Z}),E=(0,ee.Z)(d,2),B=E[0],I=E[1],L=(0,te.Z)(a==null?void 0:a.loading,{value:a==null?void 0:a.loading,onChange:a==null?void 0:a.onLoadingChange}),C=(0,ee.Z)(L,2),k=C[0],w=C[1],f=function(v){I(v),w(!1)},x=function(){var b=(0,K.Z)((0,M.Z)().mark(function v(){var P,R,T;return(0,M.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!k){u.next=2;break}return u.abrupt("return");case 2:return w(!0),u.prev=3,u.next=6,t();case 6:if(u.t0=u.sent,u.t0){u.next=9;break}u.t0={};case 9:P=u.t0,R=P.data,T=P.success,T!==!1&&f(R),u.next=23;break;case 15:if(u.prev=15,u.t1=u.catch(3),i!==void 0){u.next=21;break}throw new Error(u.t1);case 21:i(u.t1);case 22:w(!1);case 23:return u.prev=23,w(!1),u.finish(23);case 26:case"end":return u.stop()}},v,null,[[3,15,23,26]])}));return function(){return b.apply(this,arguments)}}();return(0,D.useEffect)(function(){s||x()},[].concat((0,V.Z)(m||[]),[s])),{dataSource:B,setDataSource:I,loading:k,reload:function(){return x()}}},Je=Ye,ce=o(64847),Ue=["valueEnum","render","renderText","mode","plain","dataIndex","request","params","editable"],qe=["request","columns","params","dataSource","onDataSourceChange","formProps","editable","loading","onLoadingChange","actionRef","onRequestError","emptyText","contentStyle"],_e=function(t,a){var n=t.dataIndex;if(n){var i=Array.isArray(n)?(0,Qe.Z)(a,n):a[n];if(i!==void 0||i!==null)return i}return t.children},ve=function(t){var a,n=t.valueEnum,i=t.action,m=t.index,s=t.text,y=t.entity,S=t.mode,Z=t.render,d=t.editableUtils,E=t.valueType,B=t.plain,I=t.dataIndex,L=t.request,C=t.renderFormItem,k=t.params,w=t.emptyText,f=ie.ZP.useFormInstance(),x=(a=ce.Ow.useToken)===null||a===void 0?void 0:a.call(ce.Ow),b=x.token,v={text:s,valueEnum:n,mode:S||"read",proFieldProps:{emptyText:w,render:Z?function(T){return Z==null?void 0:Z(T,y,m,i,(0,l.Z)((0,l.Z)({},t),{},{type:"descriptions"}))}:void 0},ignoreFormItem:!0,valueType:E,request:L,params:k,plain:B};if(S==="read"||!S||E==="option"){var P=(0,q.w)(t.fieldProps,void 0,(0,l.Z)((0,l.Z)({},t),{},{rowKey:I,isEditable:!1}));return(0,e.jsx)(Q.Z,(0,l.Z)((0,l.Z)({name:I},v),{},{fieldProps:P}))}var R=function(){var c,u=(0,q.w)(t.formItemProps,f,(0,l.Z)((0,l.Z)({},t),{},{rowKey:I,isEditable:!0})),h=(0,q.w)(t.fieldProps,f,(0,l.Z)((0,l.Z)({},t),{},{rowKey:I,isEditable:!0}));return(0,e.jsxs)("div",{style:{display:"flex",gap:b.marginXS,alignItems:"baseline"},children:[(0,e.jsx)(Me.U,(0,l.Z)((0,l.Z)({name:I},u),{},{style:(0,l.Z)({margin:0},(u==null?void 0:u.style)||{}),initialValue:s||(u==null?void 0:u.initialValue),children:(0,e.jsx)(Q.Z,(0,l.Z)((0,l.Z)({},v),{},{proFieldProps:(0,l.Z)({},v.proFieldProps),renderFormItem:C?function(){return C==null?void 0:C((0,l.Z)((0,l.Z)({},t),{},{type:"descriptions"}),{isEditable:!0,recordKey:I,record:f.getFieldValue([I].flat(1)),defaultRender:function(){return(0,e.jsx)(Q.Z,(0,l.Z)((0,l.Z)({},v),{},{fieldProps:h}))},type:"descriptions"},f)}:void 0,fieldProps:h}))})),(0,e.jsx)("div",{style:{display:"flex",maxHeight:b.controlHeight,alignItems:"center",gap:b.marginXS},children:d==null||(c=d.actionRender)===null||c===void 0?void 0:c.call(d,I||m,{cancelText:(0,e.jsx)(ye.Z,{}),saveText:(0,e.jsx)(xe.Z,{}),deleteText:!1})})]})};return(0,e.jsx)("div",{style:{marginTop:-5,marginBottom:-5,marginLeft:0,marginRight:0},children:R()})},et=function(t,a,n,i,m){var s,y=[],S=(0,de.n)(ue.Z,"5.8.0")>=0,Z=t==null||(s=t.map)===null||s===void 0?void 0:s.call(t,function(d,E){var B,I,L;if(D.isValidElement(d))return S?{children:d}:d;var C=d,k=C.valueEnum,w=C.render,f=C.renderText,x=C.mode,b=C.plain,v=C.dataIndex,P=C.request,R=C.params,T=C.editable,c=(0,X.Z)(C,Ue),u=(B=_e(d,a))!==null&&B!==void 0?B:c.children,h=f?f(u,a,E,n):u,$=typeof c.title=="function"?c.title(d,"descriptions",null):c.title,z=typeof c.valueType=="function"?c.valueType(a||{},"descriptions"):c.valueType,j=i==null?void 0:i.isEditable(v||E),p=x||j?"edit":"read",H=i&&p==="read"&&T!==!1&&(T==null?void 0:T(h,a,E))!==!1,N=H?A.Z:D.Fragment,W=p==="edit"?h:(0,$e.X)(h,d,h),G=S&&z!=="option"?(0,l.Z)((0,l.Z)({},c),{},{key:c.key||((I=c.label)===null||I===void 0?void 0:I.toString())||E,label:($||c.label||c.tooltip)&&(0,e.jsx)(_.G,{label:$||c.label,tooltip:c.tooltip,ellipsis:d.ellipsis}),children:(0,e.jsxs)(N,{children:[(0,D.createElement)(ve,(0,l.Z)((0,l.Z)({},d),{},{key:d==null?void 0:d.key,dataIndex:d.dataIndex||E,mode:p,text:W,valueType:z,entity:a,index:E,emptyText:m,action:n,editableUtils:i})),H&&(0,e.jsx)(re.Z,{onClick:function(){i==null||i.startEditable(v||E)}})]})}):(0,D.createElement)(ae.Z.Item,(0,l.Z)((0,l.Z)({},c),{},{key:c.key||((L=c.label)===null||L===void 0?void 0:L.toString())||E,label:($||c.label||c.tooltip)&&(0,e.jsx)(_.G,{label:$||c.label,tooltip:c.tooltip,ellipsis:d.ellipsis})}),(0,e.jsxs)(N,{children:[(0,e.jsx)(ve,(0,l.Z)((0,l.Z)({},d),{},{dataIndex:d.dataIndex||E,mode:p,text:W,valueType:z,entity:a,index:E,action:n,editableUtils:i})),H&&z!=="option"&&(0,e.jsx)(re.Z,{onClick:function(){i==null||i.startEditable(v||E)}})]}));return z==="option"?(y.push(G),null):G}).filter(function(d){return d});return{options:y!=null&&y.length?y:null,children:Z}},fe=function(t){return(0,e.jsx)(ae.Z.Item,(0,l.Z)((0,l.Z)({},t),{},{children:t.children}))};fe.displayName="ProDescriptionsItem";var tt=function(t){return t.children},ge=function(t){var a,n=t.request,i=t.columns,m=t.params,s=t.dataSource,y=t.onDataSourceChange,S=t.formProps,Z=t.editable,d=t.loading,E=t.onLoadingChange,B=t.actionRef,I=t.onRequestError,L=t.emptyText,C=t.contentStyle,k=(0,X.Z)(t,qe),w=(0,D.useContext)(Ve.ZP.ConfigContext),f=Je((0,K.Z)((0,M.Z)().mark(function $(){var z;return(0,M.Z)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(!n){p.next=6;break}return p.next=3,n(m||{});case 3:p.t0=p.sent,p.next=7;break;case 6:p.t0={data:{}};case 7:return z=p.t0,p.abrupt("return",z);case 9:case"end":return p.stop()}},$)})),{onRequestError:I,effects:[(0,Ae.ZP)(m)],manual:!n,dataSource:s,loading:d,onLoadingChange:E,onDataSourceChange:y}),x=We((0,l.Z)((0,l.Z)({},t.editable),{},{childrenColumnName:void 0,dataSource:f.dataSource,setDataSource:f.setDataSource}));if((0,D.useEffect)(function(){B&&(B.current=(0,l.Z)({reload:f.reload},x))},[f,B,x]),f.loading||f.loading===void 0&&n)return(0,e.jsx)(Fe,{type:"descriptions",list:!1,pageHeader:!1});var b=function(){var z=(0,Xe.Z)(t.children).filter(Boolean).map(function(j){if(!D.isValidElement(j))return j;var p=j==null?void 0:j.props,H=p.valueEnum,N=p.valueType,W=p.dataIndex,G=p.ellipsis,ne=p.copyable,at=p.request;return!N&&!H&&!W&&!at&&!G&&!ne&&j.type.displayName!=="ProDescriptionsItem"?j:(0,l.Z)((0,l.Z)({},j==null?void 0:j.props),{},{entity:s})});return[].concat((0,V.Z)(i||[]),(0,V.Z)(z)).filter(function(j){return!j||j!=null&&j.valueType&&["index","indexBorder"].includes(j==null?void 0:j.valueType)?!1:!(j!=null&&j.hideInDescriptions)}).sort(function(j,p){return p.order||j.order?(p.order||0)-(j.order||0):(p.index||0)-(j.index||0)})},v=et(b(),f.dataSource||{},(B==null?void 0:B.current)||f,Z?x:void 0,t.emptyText),P=v.options,R=v.children,T=Z?ie.ZP:tt,c=null;(k.title||k.tooltip||k.tip)&&(c=(0,e.jsx)(_.G,{label:k.title,tooltip:k.tooltip||k.tip}));var u=w.getPrefixCls("pro-descriptions"),h=(0,de.n)(ue.Z,"5.8.0")>=0;return(0,e.jsx)(Ge.S,{children:(0,e.jsx)(T,(0,l.Z)((0,l.Z)({form:(a=t.editable)===null||a===void 0?void 0:a.form,component:!1,submitter:!1},S),{},{onFinish:void 0,children:(0,e.jsx)(ae.Z,(0,l.Z)((0,l.Z)({className:u},k),{},{contentStyle:(0,l.Z)({minWidth:0},C||{}),extra:k.extra?(0,e.jsxs)(A.Z,{children:[P,k.extra]}):P,title:c,items:h?R:void 0,children:h?null:R}))}),"form")})};ge.Item=fe;var rt=null}}]);