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.
1 line
14 KiB
1 line
14 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[75464,37408,52720,45874,87648,82010,61999],{66104:function(e,t,r){r.d(t,{Z:function(){return N}});var n=r(92310),o=r.n(n),i=r(75440),l=r(47413),a=r(59301),s=r(92343),c=r(36355),d=r(78386),p=r(91857);const m=e=>{let{children:t}=e;const{getPrefixCls:r}=a.useContext(c.E_),n=r("breadcrumb");return a.createElement("li",{className:`${n}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};m.__ANT_BREADCRUMB_SEPARATOR=!0;var u=m,f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function b(e,t,r,n){if(null==r)return null;const{className:i,onClick:s}=t,c=f(t,["className","onClick"]),d=Object.assign(Object.assign({},(0,l.Z)(c,{data:!0,aria:!0})),{onClick:s});return void 0!==n?a.createElement("a",Object.assign({},d,{className:o()(`${e}-link`,i),href:n}),r):a.createElement("span",Object.assign({},d,{className:o()(`${e}-link`,i)}),r)}function g(e,t){return(r,n,o,i,l)=>{if(t)return t(r,n,o,i);const a=function(e,t){if(void 0===e.title||null===e.title)return null;const r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${r})`,"g"),((e,r)=>t[r]||e))}(r,n);return b(e,r,a,l)}}var h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const O=e=>{const{prefixCls:t,separator:r="/",children:n,menu:o,overlay:i,dropdownProps:l,href:s}=e;const c=(e=>{if(o||i){const r=Object.assign({},l);if(o){const e=o||{},{items:t}=e,n=h(e,["items"]);r.menu=Object.assign(Object.assign({},n),{items:null==t?void 0:t.map(((e,t)=>{var{key:r,title:n,label:o,path:i}=e,l=h(e,["key","title","label","path"]);let c=null!=o?o:n;return i&&(c=a.createElement("a",{href:`${s}${i}`},c)),Object.assign(Object.assign({},l),{key:null!=r?r:t,label:c})}))})}else i&&(r.overlay=i);return a.createElement(p.Z,Object.assign({placement:"bottom"},r),a.createElement("span",{className:`${t}-overlay-link`},e,a.createElement(d.Z,null)))}return e})(n);return null!=c?a.createElement(a.Fragment,null,a.createElement("li",null,c),r&&a.createElement(u,null,r)):null},y=e=>{const{prefixCls:t,children:r,href:n}=e,o=h(e,["prefixCls","children","href"]),{getPrefixCls:i}=a.useContext(c.E_),l=i("breadcrumb",t);return a.createElement(O,Object.assign({},o,{prefixCls:l}),b(l,o,r,n))};y.__ANT_BREADCRUMB_ITEM=!0;var v=y,x=r(17313),C=r(83116),S=r(37613);const w=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,x.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${r} + span,\n > ${r} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var $=(0,C.Z)("Breadcrumb",(e=>{const t=(0,S.TS)(e,{});return[w(t)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function E(e){const{breadcrumbName:t,children:r}=e,n=j(e,["breadcrumbName","children"]),o=Object.assign({title:t},n);return r&&(o.menu={items:r.map((e=>{var{breadcrumbName:t}=e,r=j(e,["breadcrumbName"]);return Object.assign(Object.assign({},r),{title:t})}))}),o}var k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const I=e=>{const{prefixCls:t,separator:r="/",style:n,className:d,rootClassName:p,routes:m,items:f,children:b,itemRender:h,params:y={}}=e,v=k(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:C,breadcrumb:S}=a.useContext(c.E_);let w;const j=x("breadcrumb",t),[I,N]=$(j),P=function(e,t){return(0,a.useMemo)((()=>e||(t?t.map(E):null)),[e,t])}(f,m);const z=g(j,h);if(P&&P.length>0){const e=[],t=f||m;w=P.map(((n,o)=>{const{path:i,key:s,type:c,menu:d,overlay:p,onClick:m,className:f,separator:b,dropdownProps:g}=n,h=((e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{r=r.replace(`:${t}`,e[t])})),r})(y,i);void 0!==h&&e.push(h);const v=null!=s?s:o;if("separator"===c)return a.createElement(u,{key:v},b);const x={},C=o===P.length-1;d?x.menu=d:p&&(x.overlay=p);let{href:S}=n;return e.length&&void 0!==h&&(S=`#/${e.join("/")}`),a.createElement(O,Object.assign({key:v},x,(0,l.Z)(n,{data:!0,aria:!0}),{className:f,dropdownProps:g,href:S,separator:C?"":r,onClick:m,prefixCls:j}),z(n,y,t,e,S))}))}else if(b){const e=(0,i.Z)(b).length;w=(0,i.Z)(b).map(((t,n)=>{if(!t)return t;const o=n===e-1;return(0,s.Tm)(t,{separator:o?"":r,key:n})}))}const M=o()(j,null==S?void 0:S.className,{[`${j}-rtl`]:"rtl"===C},d,p,N),_=Object.assign(Object.assign({},null==S?void 0:S.style),n);return I(a.createElement("nav",Object.assign({className:M,style:_},v),a.createElement("ol",null,w)))};I.Item=v,I.Separator=u;var N=I},28103:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(92310),o=r.n(n),i=r(59301),l=r(36355),a=r(17313),s=r(83116),c=r(37613);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${o}px solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*l+"%"},"&::after":{width:100-100*l+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*l+"%"},"&::after":{width:100*l+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var p=(0,s.Z)("Divider",(e=>{const t=(0,c.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var u=e=>{const{getPrefixCls:t,direction:r,divider:n}=i.useContext(l.E_),{prefixCls:a,type:s="horizontal",orientation:c="center",orientationMargin:d,className:u,rootClassName:f,children:b,dashed:g,plain:h,style:O}=e,y=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),v=t("divider",a),[x,C]=p(v),S=c.length>0?`-${c}`:c,w=!!b,$="left"===c&&null!=d,j="right"===c&&null!=d,E=o()(v,null==n?void 0:n.className,C,`${v}-${s}`,{[`${v}-with-text`]:w,[`${v}-with-text${S}`]:w,[`${v}-dashed`]:!!g,[`${v}-plain`]:!!h,[`${v}-rtl`]:"rtl"===r,[`${v}-no-default-orientation-margin-left`]:$,[`${v}-no-default-orientation-margin-right`]:j},u,f),k=i.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),I=Object.assign(Object.assign({},$&&{marginLeft:k}),j&&{marginRight:k});return x(i.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},null==n?void 0:n.style),O)},y,{role:"separator"}),b&&"vertical"!==s&&i.createElement("span",{className:`${v}-inner-text`,style:I},b)))}},44e3:function(e,t,r){var n=r(84966),o=r(23088);const i=n.ZP;i.Header=n.h4,i.Footer=n.$_,i.Content=n.VY,i.Sider=o.Z,t.Z=i},57809:function(e,t,r){var n=r(92310),o=r.n(n),i=r(77861),l=r(55405),a=r(59301),s=r(53487),c=r(62892),d=r(19080),p=r(36355),m=r(1684),u=r(93891),f=r(19716),b=r(32441),g=r(33234),h=r(14154),O=r(58582),y=r(84443),v=r(66339),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const C="SECRET_COMBOBOX_MODE_DO_NOT_USE",S=(e,t)=>{var r,{prefixCls:n,bordered:s=!0,className:S,rootClassName:w,getPopupContainer:$,popupClassName:j,dropdownClassName:E,listHeight:k=256,placement:I,listItemHeight:N=24,size:P,disabled:z,notFoundContent:M,status:_,builtinPlacements:Z,dropdownMatchSelectWidth:T,popupMatchSelectWidth:H,direction:B,style:W,allowClear:R}=e,X=x(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:D,getPrefixCls:F,renderEmpty:A,direction:G,virtual:U,popupMatchSelectWidth:L,popupOverflow:Y,select:Q}=a.useContext(p.E_),V=F("select",n),q=F(),J=null!=B?B:G,{compactSize:K,compactItemClassnames:ee}=(0,g.ri)(V,J),[te,re]=(0,h.Z)(V),ne=a.useMemo((()=>{const{mode:e}=X;if("combobox"!==e)return e===C?"combobox":e}),[X.mode]),oe="multiple"===ne||"tags"===ne,ie=(0,y.Z)(X.suffixIcon,X.showArrow),le=null!==(r=null!=H?H:T)&&void 0!==r?r:L,{status:ae,hasFeedback:se,isFormItemInput:ce,feedbackIcon:de}=a.useContext(b.aM),pe=(0,d.F)(ae,_);let me;me=void 0!==M?M:"combobox"===ne?null:(null==A?void 0:A("Select"))||a.createElement(u.Z,{componentName:"Select"});const{suffixIcon:ue,itemIcon:fe,removeIcon:be,clearIcon:ge}=(0,v.Z)(Object.assign(Object.assign({},X),{multiple:oe,hasFeedback:se,feedbackIcon:de,showSuffixIcon:ie,prefixCls:V,showArrow:X.showArrow,componentName:"Select"})),he=!0===R?{clearIcon:ge}:R,Oe=(0,l.Z)(X,["suffixIcon","itemIcon"]),ye=o()(j||E,{[`${V}-dropdown-${J}`]:"rtl"===J},w,re),ve=(0,f.Z)((e=>{var t;return null!==(t=null!=P?P:K)&&void 0!==t?t:e})),xe=a.useContext(m.Z),Ce=null!=z?z:xe,Se=o()({[`${V}-lg`]:"large"===ve,[`${V}-sm`]:"small"===ve,[`${V}-rtl`]:"rtl"===J,[`${V}-borderless`]:!s,[`${V}-in-form-item`]:ce},(0,d.Z)(V,pe,se),ee,null==Q?void 0:Q.className,S,w,re),we=a.useMemo((()=>void 0!==I?I:"rtl"===J?"bottomRight":"bottomLeft"),[I,J]),$e=(0,O.Z)(Z,Y);return te(a.createElement(i.ZP,Object.assign({ref:t,virtual:U,showSearch:null==Q?void 0:Q.showSearch},Oe,{style:Object.assign(Object.assign({},null==Q?void 0:Q.style),W),dropdownMatchSelectWidth:le,builtinPlacements:$e,transitionName:(0,c.m)(q,"slide-up",X.transitionName),listHeight:k,listItemHeight:N,mode:ne,prefixCls:V,placement:we,direction:J,suffixIcon:ue,menuItemSelectedIcon:fe,removeIcon:be,allowClear:he,notFoundContent:me,className:Se,getPopupContainer:$||D,dropdownClassName:ye,disabled:Ce})))};const w=a.forwardRef(S),$=(0,s.Z)(w);w.SECRET_COMBOBOX_MODE_DO_NOT_USE=C,w.Option=i.Wx,w.OptGroup=i.Xo,w._InternalPanelDoNotUseOrYouWillBeFired=$,t.default=w}}]); |