mirror of https://gitee.com/topiam/eiam
22 lines
18 KiB
JavaScript
22 lines
18 KiB
JavaScript
/*
|
|
* eiam-console - Employee Identity and Access Management Program
|
|
* Copyright © 2020-2023 TopIAM (support@topiam.cn)
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[87],{91498:function(fn,De,x){x.d(De,{Rs:function(){return vn}});var a=x(4203),u=x(86855),Re=x(5375),$e=x(19904),ke=$e.Z,Ie=x(76505),ze=x(68591),M=x.n(ze),f=x(79685),Ae=x(9645),de=x(98529),Se=x(13648),Ee=x(63908),He=x(7467),Me=x(20815),Oe=x(75204);function Ve(e,n){for(var o=e,r=0;r<n.length;r+=1){if(o==null)return;o=o[n[r]]}return o}var Ue=["title","subTitle","avatar","description","extra","content","actions","type"],We=Ue.reduce(function(e,n){return e.set(n,!0),e},new Map),Ye=x(6407),Fe=x(9847),Ke=x(96845);function Je(e,n){return qe(e)||Ge(e,n)||Xe(e,n)||Qe()}function Qe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xe(e,n){if(e){if(typeof e=="string")return Be(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Be(e,n)}}function Be(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=new Array(n);o<n;o++)r[o]=e[o];return r}function Ge(e,n){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(e)))){var o=[],r=!0,i=!1,m=void 0;try{for(var t=e[Symbol.iterator](),h;!(r=(h=t.next()).done)&&(o.push(h.value),!(n&&o.length===n));r=!0);}catch(b){i=!0,m=b}finally{try{!r&&t.return!=null&&t.return()}finally{if(i)throw m}}return o}}function qe(e){if(Array.isArray(e))return e}function _e(e,n){var o=n||{},r=o.defaultValue,i=o.value,m=o.onChange,t=o.postState,h=f.useState(function(){return i!==void 0?i:r!==void 0?typeof r=="function"?r():r:typeof e=="function"?e():e}),b=Je(h,2),N=b[0],c=b[1],R=i!==void 0?i:N;t&&(R=t(R));function C(y){c(y),R!==y&&m&&m(y,R)}var w=f.useRef(!0);return f.useEffect(function(){if(w.current){w.current=!1;return}i===void 0&&c(i)},[i]),[R,C]}var l=x(63342),en=["title","subTitle","content","itemTitleRender","prefixCls","actions","item","recordKey","avatar","cardProps","description","isEditable","checkbox","index","selected","loading","expand","onExpand","expandable","rowSupportExpand","showActions","showExtra","type","style","className","record","onRow","onItem","itemHeaderRender","cardActionProps","extra"];function nn(e){var n,o=e.prefixCls,r=e.expandIcon,i=r===void 0?(0,l.jsx)(Ye.Z,{}):r,m=e.onExpand,t=e.expanded,h=e.record,b=e.hashId,N=i,c="".concat(o,"-row-expand-icon"),R=function(w){m(!t),w.stopPropagation()};return typeof i=="function"&&(N=i({expanded:t,onExpand:m,record:h})),(0,l.jsx)("span",{className:M()(c,b,(n={},(0,a.Z)(n,"".concat(o,"-row-expanded"),t),(0,a.Z)(n,"".concat(o,"-row-collapsed"),!t),n)),onClick:R,children:N})}function an(e){var n,o,r,i,m,t=e.prefixCls,h=(0,f.useContext)(Ie.ZP.ConfigContext),b=h.getPrefixCls,N=(0,f.useContext)(Se.L_),c=N.hashId,R=b("pro-list",t),C="".concat(R,"-row"),w=e.title,y=e.subTitle,V=e.content,S=e.itemTitleRender,q=e.prefixCls,E=e.actions,he=e.item,Ce=e.recordKey,$=e.avatar,B=e.cardProps,P=e.description,ue=e.isEditable,F=e.checkbox,I=e.index,me=e.selected,U=e.loading,j=e.expand,_=e.onExpand,J=e.expandable,ee=e.rowSupportExpand,O=e.showActions,Q=e.showExtra,X=e.type,k=e.style,G=e.className,T=G===void 0?C:G,s=e.record,Z=e.onRow,v=e.onItem,z=e.itemHeaderRender,L=e.cardActionProps,ne=e.extra,ae=(0,Re.Z)(e,en),W=J||{},xe=W.expandedRowRender,Y=W.expandIcon,Pe=W.expandRowByClick,te=W.indentSize,A=te===void 0?8:te,d=W.expandedRowClassName,g=_e(!!j,{value:j,onChange:_}),K=(0,de.Z)(g,2),H=K[0],oe=K[1],p=M()((n={},(0,a.Z)(n,"".concat(C,"-selected"),!B&&me),(0,a.Z)(n,"".concat(C,"-show-action-hover"),O==="hover"),(0,a.Z)(n,"".concat(C,"-type-").concat(X),!!X),(0,a.Z)(n,"".concat(C,"-editable"),ue),(0,a.Z)(n,"".concat(C,"-show-extra-hover"),Q==="hover"),n),c,C),re=M()(c,(0,a.Z)({},"".concat(T,"-extra"),Q==="hover")),ve=H||Object.values(J||{}).length===0,ye=xe&&xe(s,I,A,H),ie=(0,f.useMemo)(function(){if(!(!E||L==="actions"))return[(0,l.jsx)("div",{onClick:function(se){return se.stopPropagation()},children:E},"action")]},[E,L]),je=(0,f.useMemo)(function(){if(!(!E||!L||L==="extra"))return[(0,l.jsx)("div",{className:"".concat(p,"-actions ").concat(c),onClick:function(se){return se.stopPropagation()},children:E},"action")]},[E,L,p,c]),le=w||y?(0,l.jsxs)("div",{className:"".concat(p,"-header-title ").concat(c),children:[w&&(0,l.jsx)("div",{className:"".concat(p,"-title ").concat(c),children:w}),y&&(0,l.jsx)("div",{className:"".concat(p,"-subTitle ").concat(c),children:y})]}):null,D=(o=S&&(S==null?void 0:S(s,I,le)))!==null&&o!==void 0?o:le,ce=D||$||y||P?(0,l.jsx)(Ee.ZP.Item.Meta,{avatar:$,title:D,description:P&&ve&&(0,l.jsx)("div",{className:"".concat(p,"-description ").concat(c),children:P})}):null,Ze=M()(c,(r={},(0,a.Z)(r,"".concat(p,"-item-has-checkbox"),F),(0,a.Z)(r,"".concat(p,"-item-has-avatar"),$),(0,a.Z)(r,p,p),r)),fe=(0,f.useMemo)(function(){return $||w?(0,l.jsxs)(l.Fragment,{children:[$,(0,l.jsx)("span",{className:"".concat(b("list-item-meta-title")," ").concat(c),children:w})]}):null},[$,b,c,w]),pe=B?(0,l.jsx)(Fe.ZP,(0,u.Z)((0,u.Z)((0,u.Z)({bordered:!0,loading:U,hoverable:!0},B),{},{title:fe,subTitle:y,extra:ie,actions:je,bodyStyle:(0,u.Z)({padding:24},B.bodyStyle)},v==null?void 0:v(s,I)),{},{children:(0,l.jsx)(Ke.Z,{avatar:!0,title:!1,loading:U,active:!0,children:(0,l.jsxs)("div",{className:"".concat(p,"-header ").concat(c),children:[S&&(S==null?void 0:S(s,I,le)),V]})})})):(0,l.jsx)(Ee.ZP.Item,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({className:M()(Ze,c,(0,a.Z)({},T,T!==C))},ae),{},{actions:ie,extra:!!ne&&(0,l.jsx)("div",{className:re,children:ne})},Z==null?void 0:Z(s,I)),v==null?void 0:v(s,I)),{},{onClick:function(se){var we,Ne,be,Te;Z==null||(we=Z(s,I))===null||we===void 0||(Ne=we.onClick)===null||Ne===void 0||Ne.call(we,se),v==null||(be=v(s,I))===null||be===void 0||(Te=be.onClick)===null||Te===void 0||Te.call(be,se),Pe&&oe(!H)},children:(0,l.jsxs)(Ke.Z,{avatar:!0,title:!1,loading:U,active:!0,children:[(0,l.jsxs)("div",{className:"".concat(p,"-header ").concat(c),children:[(0,l.jsxs)("div",{className:"".concat(p,"-header-option ").concat(c),children:[!!F&&(0,l.jsx)("div",{className:"".concat(p,"-checkbox ").concat(c),children:F}),Object.values(J||{}).length>0&&ee&&nn({prefixCls:R,hashId:c,expandIcon:Y,onExpand:oe,expanded:H,record:s})]}),(i=z&&(z==null?void 0:z(s,I,ce)))!==null&&i!==void 0?i:ce]}),ve&&(V||ye)&&(0,l.jsxs)("div",{className:"".concat(p,"-content ").concat(c),children:[V,xe&&ee&&(0,l.jsx)("div",{className:d&&d(s,I,A),children:ye})]})]})}));return B?(0,l.jsx)("div",{className:M()(c,(m={},(0,a.Z)(m,"".concat(p,"-card"),B),(0,a.Z)(m,T,T!==C),m)),style:k,children:pe}):pe}var tn=an,on=["dataSource","columns","rowKey","showActions","showExtra","prefixCls","actionRef","itemTitleRender","renderItem","itemCardProps","itemHeaderRender","expandable","rowSelection","pagination","onRow","onItem","rowClassName"];function rn(e){var n=e.dataSource,o=e.columns,r=e.rowKey,i=e.showActions,m=e.showExtra,t=e.prefixCls,h=e.actionRef,b=e.itemTitleRender,N=e.renderItem,c=e.itemCardProps,R=e.itemHeaderRender,C=e.expandable,w=e.rowSelection,y=e.pagination,V=e.onRow,S=e.onItem,q=e.rowClassName,E=(0,Re.Z)(e,on),he=(0,f.useContext)(Se.L_),Ce=he.hashId,$=(0,f.useContext)(Ie.ZP.ConfigContext),B=$.getPrefixCls,P=f.useMemo(function(){return typeof r=="function"?r:function(A,d){return A[r]||d}},[r]),ue=(0,He.Z)(n,"children",P),F=(0,de.Z)(ue,1),I=F[0],me=(0,Me.ZP)(n.length,(0,u.Z)({responsive:!0},y),function(){}),U=(0,de.Z)(me,1),j=U[0],_=f.useMemo(function(){if(y===!1||!j.pageSize||n.length<j.total)return n;var A=j.current,d=A===void 0?1:A,g=j.pageSize,K=g===void 0?10:g,H=n.slice((d-1)*K,d*K);return H},[n,j,y]),J=B("pro-list",t),ee=(0,Oe.ZP)(w,{getRowKey:P,getRecordByKey:I,prefixCls:J,data:n,pageData:_,expandType:"row",childrenColumnName:"children",locale:{}}),O=(0,de.Z)(ee,2),Q=O[0],X=O[1],k=C||{},G=k.expandedRowKeys,T=k.defaultExpandedRowKeys,s=k.defaultExpandAllRows,Z=s===void 0?!0:s,v=k.onExpand,z=k.onExpandedRowsChange,L=k.rowExpandable,ne=f.useState(function(){return T||(Z!==!1?n.map(P):[])}),ae=(0,de.Z)(ne,2),W=ae[0],xe=ae[1],Y=f.useMemo(function(){return new Set(G||W||[])},[G,W]),Pe=f.useCallback(function(A){var d=P(A,n.indexOf(A)),g,K=Y.has(d);K?(Y.delete(d),g=(0,Ae.Z)(Y)):g=[].concat((0,Ae.Z)(Y),[d]),xe(g),v&&v(!K,A),z&&z(g)},[P,Y,n,v,z]),te=Q([])[0];return(0,l.jsx)(Ee.ZP,(0,u.Z)((0,u.Z)({},E),{},{className:M()(B("pro-list-container",t),Ce,E.className),dataSource:_,pagination:y&&j,renderItem:function(d,g){var K,H,oe,p={className:typeof q=="function"?q(d,g):q};o==null||o.forEach(function(D){var ce=D.listKey,Ze=D.cardActionProps;if(We.has(ce)){var fe=D.dataIndex||ce||D.key,pe=Array.isArray(fe)?Ve(d,fe):d[fe];Ze==="actions"&&ce==="actions"&&(p.cardActionProps=Ze);var ge=D.render?D.render(pe,d,g):pe;ge!=="-"&&(p[D.listKey]=ge)}});var re;te&&te.render&&(re=te.render(d,d,g)||void 0);var ve=((K=h.current)===null||K===void 0?void 0:K.isEditable((0,u.Z)((0,u.Z)({},d),{},{index:g})))||{},ye=ve.isEditable,ie=ve.recordKey,je=X.has(ie||g),le=(0,l.jsx)(tn,(0,u.Z)((0,u.Z)({cardProps:E.grid?(0,u.Z)((0,u.Z)((0,u.Z)({},c),E.grid),{},{checked:je,onChecked:f.isValidElement(re)?(H=re)===null||H===void 0||(oe=H.props)===null||oe===void 0?void 0:oe.onChange:void 0}):void 0},p),{},{recordKey:ie,isEditable:ye||!1,expandable:C,expand:Y.has(P(d,g)),onExpand:function(){Pe(d)},index:g,record:d,item:d,showActions:i,showExtra:m,itemTitleRender:b,itemHeaderRender:R,rowSupportExpand:!L||L&&L(d),selected:X.has(P(d,g)),checkbox:re,onRow:V,onItem:S}),ie);return N?N(d,g,le):le}}))}var ln=rn,cn=x(25646),sn=x(27478),dn=new cn.E4("techUiListActive",{"0%":{backgroundColor:"unset"},"30%":{background:"#fefbe6"},"100%":{backgroundColor:"unset"}}),un=function(n){var o,r,i,m,t,h;return(0,a.Z)({},n.componentCls,(h={backgroundColor:"transparent"},(0,a.Z)(h,"".concat(n.proComponentsCls,"-table-alert"),{marginBlockEnd:"16px"}),(0,a.Z)(h,"&-row",(t={borderBlockEnd:"1px solid ".concat(n.colorSplit)},(0,a.Z)(t,"".concat(n.antCls,"-list-item-meta-title"),{borderBlockEnd:"none",margin:0}),(0,a.Z)(t,"&:last-child",(0,a.Z)({borderBlockEnd:"none"},"".concat(n.antCls,"-list-item"),{borderBlockEnd:"none"})),(0,a.Z)(t,"&:hover",(o={backgroundColor:"rgba(0, 0, 0, 0.02)",transition:"background-color 0.3s"},(0,a.Z)(o,"".concat(n.antCls,"-list-item-action"),{display:"block"}),(0,a.Z)(o,"".concat(n.antCls,"-list-item-extra"),{display:"flex"}),(0,a.Z)(o,"".concat(n.componentCls,"-row-extra"),{display:"block"}),(0,a.Z)(o,"".concat(n.componentCls,"-row-subheader-actions"),{display:"block"}),o)),(0,a.Z)(t,"&-card",(0,a.Z)({marginBlock:8,marginInline:0,paddingBlock:0,paddingInline:8,"&:hover":{backgroundColor:"transparent"}},"".concat(n.antCls,"-list-item-meta-title"),{flexShrink:9,marginBlock:0,marginInline:0,lineHeight:"22px"})),(0,a.Z)(t,"&".concat(n.componentCls,"-row-editable"),(0,a.Z)({},"".concat(n.componentCls,"-list-item"),{"&-meta":{"&-avatar,&-description,&-title":{paddingBlock:6,paddingInline:0}},"&-action":{display:"block"}})),(0,a.Z)(t,"&".concat(n.componentCls,"-row-selected"),{backgroundColor:n.colorPrimaryBgHover,"&:hover":{backgroundColor:n.colorPrimaryBgHover}}),(0,a.Z)(t,"&".concat(n.componentCls,"-row-type-new"),{animationName:dn,animationDuration:"3s"}),(0,a.Z)(t,"&".concat(n.componentCls,"-row-type-inline"),(0,a.Z)({},"".concat(n.componentCls,"-row-title"),{fontWeight:"normal"})),(0,a.Z)(t,"&".concat(n.componentCls,"-row-type-top"),{backgroundImage:"url('https://gw.alipayobjects.com/zos/antfincdn/DehQfMbOJb/icon.svg')",backgroundRepeat:"no-repeat",backgroundPosition:"left top",backgroundSize:"12px 12px"}),(0,a.Z)(t,"&-show-action-hover",(0,a.Z)({},"".concat(n.antCls,`-list-item-action,
|
|
`).concat(n.proComponentsCls,`-card-extra,
|
|
`).concat(n.proComponentsCls,"-card-actions"),{display:"flex"})),(0,a.Z)(t,"&-show-extra-hover",(0,a.Z)({},"".concat(n.antCls,"-list-item-extra"),{display:"none"})),(0,a.Z)(t,"&-extra",{display:"none"}),(0,a.Z)(t,"&-subheader",{display:"flex",alignItems:"center",justifyContent:"space-between",height:"44px",paddingInline:24,paddingBlock:0,color:n.colorTextSecondary,lineHeight:"44px",background:"rgba(0, 0, 0, 0.02)","&-actions":{display:"none"},"&-actions *":{marginInlineEnd:8,"&:last-child":{marginInlineEnd:0}}}),(0,a.Z)(t,"&-expand-icon",{marginInlineEnd:8,display:"flex",fontSize:12,cursor:"pointer",height:"24px",marginRight:4,color:n.colorTextSecondary,"> .anticon > svg":{transition:"0.3s"}}),(0,a.Z)(t,"&-expanded",{" > .anticon > svg":{transform:"rotate(90deg)"}}),(0,a.Z)(t,"&-title",{marginInlineEnd:"16px",wordBreak:"break-all",cursor:"pointer","&:hover":{color:n.colorPrimary}}),(0,a.Z)(t,"&-content",{position:"relative",display:"flex",flex:"1",flexDirection:"column",marginBlock:0,marginInline:32}),(0,a.Z)(t,"&-subTitle",{color:"rgba(0, 0, 0, 0.45)"}),(0,a.Z)(t,"&-description",{marginBlockStart:"4px",wordBreak:"break-all"}),(0,a.Z)(t,"&-avatar",{display:"flex"}),(0,a.Z)(t,"&-header",{display:"flex",flex:"1",justifyContent:"flex-start",h4:{margin:0,padding:0}}),(0,a.Z)(t,"&-header-title",{display:"flex",alignItems:"center",justifyContent:"flex-start"}),(0,a.Z)(t,"&-header-option",{display:"flex"}),(0,a.Z)(t,"&-checkbox",{width:"16px",marginInlineEnd:"12px"}),(0,a.Z)(t,"&-no-split",(r={},(0,a.Z)(r,"".concat(n.componentCls,"-row"),{borderBlockEnd:"none"}),(0,a.Z)(r,"".concat(n.antCls,"-list ").concat(n.antCls,"-list-item"),{borderBlockEnd:"none"}),r)),(0,a.Z)(t,"&-bordered",(0,a.Z)({},"".concat(n.componentCls,"-toolbar"),{borderBlockEnd:"1px solid ".concat(n.colorSplit)})),(0,a.Z)(t,"".concat(n.antCls,"-list-vertical"),(i={},(0,a.Z)(i,"".concat(n.componentCls,"-row"),{borderBlockEnd:"12px 18px 12px 24px"}),(0,a.Z)(i,"&-header-title",{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center"}),(0,a.Z)(i,"&-content",{marginBlock:0,marginInline:0}),(0,a.Z)(i,"&-subTitle",{marginBlockStart:8}),(0,a.Z)(i,"".concat(n.antCls,"-list-item-extra"),(0,a.Z)({display:"flex",alignItems:"center",marginInlineStart:"32px"},"".concat(n.componentCls,"-row-description"),{marginBlockStart:16})),(0,a.Z)(i,"".concat(n.antCls,"-list-bordered ").concat(n.antCls,"-list-item"),{paddingInline:0}),(0,a.Z)(i,"".concat(n.componentCls,"-row-show-extra-hover"),(0,a.Z)({},"".concat(n.antCls,"-list-item-extra "),{display:"none"})),i)),(0,a.Z)(t,"".concat(n.antCls,"-list-pagination"),{marginBlockStart:n.margin,marginBlockEnd:n.margin}),(0,a.Z)(t,"".concat(n.antCls,"-list-list"),{"&-item":{cursor:"pointer",paddingBlock:12,paddingInline:12}}),(0,a.Z)(t,"".concat(n.antCls,"-list-vertical ").concat(n.proComponentsCls,"-list-row"),(0,a.Z)({"&-header":{paddingBlock:0,paddingInline:0,borderBlockEnd:"none"}},"".concat(n.antCls,"-list-item"),(m={width:"100%",paddingBlock:12,paddingInlineStart:24,paddingInlineEnd:18},(0,a.Z)(m,"".concat(n.antCls,"-list-item-meta-avatar"),{display:"flex",alignItems:"center",marginInlineEnd:8}),(0,a.Z)(m,"".concat(n.antCls,"-list-item-action-split"),{display:"none"}),(0,a.Z)(m,"".concat(n.antCls,"-list-item-meta-title"),{marginBlock:0,marginInline:0}),m))),t)),h))};function mn(e){return(0,sn.Xj)("ProList",function(n){var o=(0,u.Z)((0,u.Z)({},n),{},{componentCls:".".concat(e)});return[un(o)]})}var xn=["metas","split","footer","rowKey","tooltip","className","options","search","expandable","showActions","showExtra","rowSelection","pagination","itemLayout","renderItem","grid","itemCardProps","onRow","onItem","rowClassName","locale","itemHeaderRender","itemTitleRender"];function Le(e){var n=e.metas,o=e.split,r=e.footer,i=e.rowKey,m=e.tooltip,t=e.className,h=e.options,b=h===void 0?!1:h,N=e.search,c=N===void 0?!1:N,R=e.expandable,C=e.showActions,w=e.showExtra,y=e.rowSelection,V=y===void 0?!1:y,S=e.pagination,q=S===void 0?!1:S,E=e.itemLayout,he=e.renderItem,Ce=e.grid,$=e.itemCardProps,B=e.onRow,P=e.onItem,ue=e.rowClassName,F=e.locale,I=e.itemHeaderRender,me=e.itemTitleRender,U=(0,Re.Z)(e,xn),j=(0,f.useRef)();(0,f.useImperativeHandle)(U.actionRef,function(){return j.current});var _=(0,f.useContext)(Ie.ZP.ConfigContext),J=_.getPrefixCls,ee=(0,f.useMemo)(function(){var T=[];return Object.keys(n||{}).forEach(function(s){var Z=n[s]||{},v=Z.valueType;v||(s==="avatar"&&(v="avatar"),s==="actions"&&(v="option"),s==="description"&&(v="textarea")),T.push((0,u.Z)((0,u.Z)({listKey:s,dataIndex:(Z==null?void 0:Z.dataIndex)||s},Z),{},{valueType:v}))}),T},[n]),O=J("pro-list",e.prefixCls),Q=mn(O),X=Q.wrapSSR,k=Q.hashId,G=M()(O,k,(0,a.Z)({},"".concat(O,"-no-split"),!o));return X((0,l.jsx)(ke,(0,u.Z)((0,u.Z)({tooltip:m},U),{},{actionRef:j,pagination:q,type:"list",rowSelection:V,search:c,options:b,className:M()(O,t,G),columns:ee,rowKey:i,tableViewRender:function(s){var Z=s.columns,v=s.size,z=s.pagination,L=s.rowSelection,ne=s.dataSource,ae=s.loading;return(0,l.jsx)(ln,{grid:Ce,itemCardProps:$,itemTitleRender:me,prefixCls:e.prefixCls,columns:Z,renderItem:he,actionRef:j,dataSource:ne||[],size:v,footer:r,split:o,rowKey:i,expandable:R,rowSelection:V===!1?void 0:L,showActions:C,showExtra:w,pagination:z,itemLayout:E,loading:ae,itemHeaderRender:I,onRow:B,onItem:P,rowClassName:ue,locale:F})}})))}function pn(e){return _jsx(ProConfigProvider,{needDeps:!0,children:_jsx(Le,_objectSpread({cardProps:!1,search:!1,toolBarRender:!1},e))})}function vn(e){return(0,l.jsx)(Se._Y,{needDeps:!0,children:(0,l.jsx)(Le,(0,u.Z)({},e))})}var gn=null}}]);
|