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 regels
10 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9396],{70347:function(){},18067:function(){},91894:function(te,W,l){"use strict";l.d(W,{Z:function(){return fe}});var c=l(96156),C=l(22122),A=l(94184),$=l.n(A),Z=l(98423),t=l(67294),S=l(53124),U=l(97647),ae=l(19586),K=l(95562),ne=function(a,v){var x={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&v.indexOf(n)<0&&(x[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(a);s<n.length;s++)v.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(a,n[s])&&(x[n[s]]=a[n[s]]);return x},re=function(v){var x=v.prefixCls,n=v.className,s=v.hoverable,M=s===void 0?!0:s,B=ne(v,["prefixCls","className","hoverable"]);return t.createElement(S.C,null,function(k){var I=k.getPrefixCls,N=I("card",x),z=$()("".concat(N,"-grid"),n,(0,c.Z)({},"".concat(N,"-grid-hoverable"),M));return t.createElement("div",(0,C.Z)({},B,{className:z}))})},Q=re,le=function(a,v){var x={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&v.indexOf(n)<0&&(x[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(a);s<n.length;s++)v.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(a,n[s])&&(x[n[s]]=a[n[s]]);return x};function ce(a){var v=a.map(function(x,n){return t.createElement("li",{style:{width:"".concat(100/a.length,"%")},key:"action-".concat(n)},t.createElement("span",null,x))});return v}var se=t.forwardRef(function(a,v){var x,n,s=t.useContext(S.E_),M=s.getPrefixCls,B=s.direction,k=t.useContext(U.Z),I=function(T){var w;(w=a.onTabChange)===null||w===void 0||w.call(a,T)},N=function(){var T;return t.Children.forEach(a.children,function(w){w&&w.type&&w.type===Q&&(T=!0)}),T},z=a.prefixCls,p=a.className,d=a.extra,e=a.headStyle,r=e===void 0?{}:e,i=a.bodyStyle,y=i===void 0?{}:i,E=a.title,g=a.loading,o=a.bordered,f=o===void 0?!0:o,u=a.size,P=a.type,m=a.cover,b=a.actions,O=a.tabList,R=a.children,H=a.activeTabKey,ue=a.defaultActiveTabKey,me=a.tabBarExtraContent,_=a.hoverable,D=a.tabProps,L=D===void 0?{}:D,j=le(a,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),h=M("card",z),V=t.createElement(ae.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},R),X=H!==void 0,Y=(0,C.Z)((0,C.Z)({},L),(x={},(0,c.Z)(x,X?"activeKey":"defaultActiveKey",X?H:ue),(0,c.Z)(x,"tabBarExtraContent",me),x)),F,q=O&&O.length?t.createElement(K.Z,(0,C.Z)({size:"large"},Y,{className:"".concat(h,"-head-tabs"),onChange:I,items:O.map(function(J){var T;return{label:J.tab,key:J.key,disabled:(T=J.disabled)!==null&&T!==void 0?T:!1}})})):null;(E||d||q)&&(F=t.createElement("div",{className:"".concat(h,"-head"),style:r},t.createElement("div",{className:"".concat(h,"-head-wrapper")},E&&t.createElement("div",{className:"".concat(h,"-head-title")},E),d&&t.createElement("div",{className:"".concat(h,"-extra")},d)),q));var ee=m?t.createElement("div",{className:"".concat(h,"-cover")},m):null,Ce=t.createElement("div",{className:"".concat(h,"-body"),style:y},g?V:R),xe=b&&b.length?t.createElement("ul",{className:"".concat(h,"-actions")},ce(b)):null,Ee=(0,Z.Z)(j,["onTabChange"]),ye=u||k,ge=$()(h,(n={},(0,c.Z)(n,"".concat(h,"-loading"),g),(0,c.Z)(n,"".concat(h,"-bordered"),f),(0,c.Z)(n,"".concat(h,"-hoverable"),_),(0,c.Z)(n,"".concat(h,"-contain-grid"),N()),(0,c.Z)(n,"".concat(h,"-contain-tabs"),O&&O.length),(0,c.Z)(n,"".concat(h,"-").concat(ye),ye),(0,c.Z)(n,"".concat(h,"-type-").concat(P),!!P),(0,c.Z)(n,"".concat(h,"-rtl"),B==="rtl"),n),p);return t.createElement("div",(0,C.Z)({ref:v},Ee,{className:ge}),F,ee,Ce,xe)}),ie=se,oe=function(a,v){var x={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&v.indexOf(n)<0&&(x[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(a);s<n.length;s++)v.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(a,n[s])&&(x[n[s]]=a[n[s]]);return x},ve=function(v){return t.createElement(S.C,null,function(x){var n=x.getPrefixCls,s=v.prefixCls,M=v.className,B=v.avatar,k=v.title,I=v.description,N=oe(v,["prefixCls","className","avatar","title","description"]),z=n("card",s),p=$()("".concat(z,"-meta"),M),d=B?t.createElement("div",{className:"".concat(z,"-meta-avatar")},B):null,e=k?t.createElement("div",{className:"".concat(z,"-meta-title")},k):null,r=I?t.createElement("div",{className:"".concat(z,"-meta-description")},I):null,i=e||r?t.createElement("div",{className:"".concat(z,"-meta-detail")},e,r):null;return t.createElement("div",(0,C.Z)({},N,{className:p}),d,i)})},de=ve,G=ie;G.Grid=Q,G.Meta=de;var fe=G},58024:function(te,W,l){"use strict";var c=l(38663),C=l.n(c),A=l(70347),$=l.n(A),Z=l(18446),t=l(18106)},19586:function(te,W,l){"use strict";l.d(W,{Z:function(){return p}});var c=l(96156),C=l(22122),A=l(90484),$=l(94184),Z=l.n($),t=l(67294),S=l(53124),U=l(98423),ae=function(e){var r,i,y=e.prefixCls,E=e.className,g=e.style,o=e.size,f=e.shape,u=Z()((r={},(0,c.Z)(r,"".concat(y,"-lg"),o==="large"),(0,c.Z)(r,"".concat(y,"-sm"),o==="small"),r)),P=Z()((i={},(0,c.Z)(i,"".concat(y,"-circle"),f==="circle"),(0,c.Z)(i,"".concat(y,"-square"),f==="square"),(0,c.Z)(i,"".concat(y,"-round"),f==="round"),i)),m=t.useMemo(function(){return typeof o=="number"?{width:o,height:o,lineHeight:"".concat(o,"px")}:{}},[o]);return t.createElement("span",{className:Z()(y,u,P,E),style:(0,C.Z)((0,C.Z)({},m),g)})},K=ae,ne=function(e){var r=e.prefixCls,i=e.className,y=e.active,E=e.shape,g=E===void 0?"circle":E,o=e.size,f=o===void 0?"default":o,u=t.useContext(S.E_),P=u.getPrefixCls,m=P("skeleton",r),b=(0,U.Z)(e,["prefixCls","className"]),O=Z()(m,"".concat(m,"-element"),(0,c.Z)({},"".concat(m,"-active"),y),i);return t.createElement("div",{className:O},t.createElement(K,(0,C.Z)({prefixCls:"".concat(m,"-avatar"),shape:g,size:f},b)))},re=ne,Q=function(e){var r,i=e.prefixCls,y=e.className,E=e.active,g=e.block,o=g===void 0?!1:g,f=e.size,u=f===void 0?"default":f,P=t.useContext(S.E_),m=P.getPrefixCls,b=m("skeleton",i),O=(0,U.Z)(e,["prefixCls"]),R=Z()(b,"".concat(b,"-element"),(r={},(0,c.Z)(r,"".concat(b,"-active"),E),(0,c.Z)(r,"".concat(b,"-block"),o),r),y);return t.createElement("div",{className:R},t.createElement(K,(0,C.Z)({prefixCls:"".concat(b,"-button"),size:u},O)))},le=Q,ce=l(93181),se=function(e){var r=e.prefixCls,i=e.className,y=e.style,E=e.active,g=e.children,o=t.useContext(S.E_),f=o.getPrefixCls,u=f("skeleton",r),P=Z()(u,"".concat(u,"-element"),(0,c.Z)({},"".concat(u,"-active"),E),i),m=g!=null?g:t.createElement(ce.Z,null);return t.createElement("div",{className:P},t.createElement("div",{className:Z()("".concat(u,"-image"),i),style:y},m))},ie=se,oe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",ve=function(e){var r=e.prefixCls,i=e.className,y=e.style,E=e.active,g=t.useContext(S.E_),o=g.getPrefixCls,f=o("skeleton",r),u=Z()(f,"".concat(f,"-element"),(0,c.Z)({},"".concat(f,"-active"),E),i);return t.createElement("div",{className:u},t.createElement("div",{className:Z()("".concat(f,"-image"),i),style:y},t.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(f,"-image-svg")},t.createElement("path",{d:oe,className:"".concat(f,"-image-path")}))))},de=ve,G=function(e){var r,i=e.prefixCls,y=e.className,E=e.active,g=e.block,o=e.size,f=o===void 0?"default":o,u=t.useContext(S.E_),P=u.getPrefixCls,m=P("skeleton",i),b=(0,U.Z)(e,["prefixCls"]),O=Z()(m,"".concat(m,"-element"),(r={},(0,c.Z)(r,"".concat(m,"-active"),E),(0,c.Z)(r,"".concat(m,"-block"),g),r),y);return t.createElement("div",{className:O},t.createElement(K,(0,C.Z)({prefixCls:"".concat(m,"-input"),size:f},b)))},fe=G,a=l(85061),v=function(e){var r=function(u){var P=e.width,m=e.rows,b=m===void 0?2:m;if(Array.isArray(P))return P[u];if(b-1===u)return P},i=e.prefixCls,y=e.className,E=e.style,g=e.rows,o=(0,a.Z)(Array(g)).map(function(f,u){return t.createElement("li",{key:u,style:{width:r(u)}})});return t.createElement("ul",{className:Z()(i,y),style:E},o)},x=v,n=function(e){var r=e.prefixCls,i=e.className,y=e.width,E=e.style;return t.createElement("h3",{className:Z()(r,i),style:(0,C.Z)({width:y},E)})},s=n;function M(d){return d&&(0,A.Z)(d)==="object"?d:{}}function B(d,e){return d&&!e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(d,e){return!d&&e?{width:"38%"}:d&&e?{width:"50%"}:{}}function I(d,e){var r={};return(!d||!e)&&(r.width="61%"),!d&&e?r.rows=3:r.rows=2,r}var N=function(e){var r=e.prefixCls,i=e.loading,y=e.className,E=e.style,g=e.children,o=e.avatar,f=o===void 0?!1:o,u=e.title,P=u===void 0?!0:u,m=e.paragraph,b=m===void 0?!0:m,O=e.active,R=e.round,H=t.useContext(S.E_),ue=H.getPrefixCls,me=H.direction,_=ue("skeleton",r);if(i||!("loading"in e)){var D,L=!!f,j=!!P,h=!!b,V;if(L){var X=(0,C.Z)((0,C.Z)({prefixCls:"".concat(_,"-avatar")},B(j,h)),M(f));V=t.createElement("div",{className:"".concat(_,"-header")},t.createElement(K,(0,C.Z)({},X)))}var Y;if(j||h){var F;if(j){var q=(0,C.Z)((0,C.Z)({prefixCls:"".concat(_,"-title")},k(L,h)),M(P));F=t.createElement(s,(0,C.Z)({},q))}var ee;if(h){var Ce=(0,C.Z)((0,C.Z)({prefixCls:"".concat(_,"-paragraph")},I(L,j)),M(b));ee=t.createElement(x,(0,C.Z)({},Ce))}Y=t.createElement("div",{className:"".concat(_,"-content")},F,ee)}var xe=Z()(_,(D={},(0,c.Z)(D,"".concat(_,"-with-avatar"),L),(0,c.Z)(D,"".concat(_,"-active"),O),(0,c.Z)(D,"".concat(_,"-rtl"),me==="rtl"),(0,c.Z)(D,"".concat(_,"-round"),R),D),y);return t.createElement("div",{className:xe,style:E},V,Y)}return typeof g!="undefined"?g:null};N.Button=le,N.Avatar=re,N.Input=fe,N.Image=de,N.Node=ie;var z=N,p=z},18446:function(te,W,l){"use strict";var c=l(38663),C=l.n(c),A=l(18067),$=l.n(A)}}]);