包含后厨 团餐 门店分支
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

4 wiersze
13 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[3537],{78164:function(le,x,n){"use strict";var c=n(57106),E=n(6129),o=n(6610),D=n(5991),w=n(10379),N=n(44144),T=n(85893),s=n(67294),S=function(F){(0,w.Z)(p,F);var j=(0,N.Z)(p);function p(){var A;(0,o.Z)(this,p);for(var b=arguments.length,m=new Array(b),L=0;L<b;L++)m[L]=arguments[L];return A=j.call.apply(j,[this].concat(m)),A.state={hasError:!1,errorInfo:""},A}return(0,D.Z)(p,[{key:"componentDidCatch",value:function(b,m){console.log(b,m)}},{key:"render",value:function(){return this.state.hasError?(0,T.jsx)(E.ZP,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(b){return{hasError:!0,errorInfo:b.message}}}]),p}(s.Component);x.Z=S},12044:function(le,x,n){"use strict";var c=n(34155),E=typeof c!="undefined"&&c.versions!=null&&c.versions.node!=null,o=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!E};x.Z=o},50061:function(){},83107:function(le,x,n){"use strict";var c=n(22122),E=n(96156),o=n(28481),D=n(54549),w=n(94184),N=n.n(w),T=n(33359),s=n(67294),S=n(53124),F=n(65223),j=n(33603),p=n(93355),A=n(4173),b=function(i,e){var a={};for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&e.indexOf(t)<0&&(a[t]=i[t]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(i);l<t.length;l++)e.indexOf(t[l])<0&&Object.prototype.propertyIsEnumerable.call(i,t[l])&&(a[t[l]]=i[t[l]]);return a},m=(0,p.b)("default","large"),L={distance:180};function se(i){var e=i.width,a=i.height,t=i.size,l=t===void 0?"default":t,f=i.closable,_=f===void 0?!0:f,y=i.mask,r=y===void 0?!0:y,u=i.push,M=u===void 0?L:u,v=i.closeIcon,Z=v===void 0?s.createElement(D.Z,null):v,k=i.bodyStyle,g=i.drawerStyle,I=i.className,B=i.visible,G=i.open,H=i.children,de=i.style,$=i.title,fe=i.headerStyle,J=i.onClose,q=i.footer,ee=i.footerStyle,me=i.prefixCls,te=i.getContainer,K=i.extra,z=i.afterVisibleChange,ne=i.afterOpenChange,ve=b(i,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),V=s.useContext(S.E_),X=V.getPopupContainer,he=V.getPrefixCls,_e=V.direction,h=he("drawer",me),ye=te===void 0&&X?function(){return X(document.body)}:te,ae=_&&s.createElement("button",{type:"button",onClick:J,"aria-label":"Close",className:"".concat(h,"-close")},Z);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(W){var P=(0,o.Z)(W,2),C=P[0],Ee=P[1]});function R(){return!$&&!_?null:s.createElement("div",{className:N()("".concat(h,"-header"),(0,E.Z)({},"".concat(h,"-header-close-only"),_&&!$&&!K)),style:fe},s.createElement("div",{className:"".concat(h,"-header-title")},ae,$&&s.createElement("div",{className:"".concat(h,"-title")},$)),K&&s.createElement("div",{className:"".concat(h,"-extra")},K))}function Q(){if(!q)return null;var W="".concat(h,"-footer");return s.createElement("div",{className:W,style:ee},q)}var U=N()((0,E.Z)({"no-mask":!r},"".concat(h,"-rtl"),_e==="rtl"),I),re=s.useMemo(function(){return e!=null?e:l==="large"?736:378},[e,l]),Ce=s.useMemo(function(){return a!=null?a:l==="large"?736:378},[a,l]),ge={motionName:(0,j.mL)(h,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Y=function(P){return{motionName:(0,j.mL)(h,"panel-motion-".concat(P)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}};return s.createElement(A.BR,null,s.createElement(F.Ux,{status:!0,override:!0},s.createElement(T.default,(0,c.Z)({prefixCls:h,onClose:J},ve,{open:G!=null?G:B,mask:r,push:M,width:re,height:Ce,rootClassName:U,getContainer:ye,afterOpenChange:function(P){ne==null||ne(P),z==null||z(P)},maskMotion:ge,motion:Y,rootStyle:de}),s.createElement("div",{className:"".concat(h,"-wrapper-body"),style:(0,c.Z)({},g)},R(),s.createElement("div",{className:"".concat(h,"-body"),style:k},H),Q()))))}x.Z=se},57338:function(le,x,n){"use strict";var c=n(38663),E=n.n(c),o=n(50061),D=n.n(o)},33359:function(le,x,n){"use strict";n.r(x),n.d(x,{default:function(){return y}});var c=n(28991),E=n(28481),o=n(67294),D=n(38475),w=n(8410),N=n(96156),T=n(22122),s=n(94184),S=n.n(s),F=n(63441),j=function(u){var M=u.prefixCls,v=u.className,Z=u.style,k=u.children,g=u.containerRef;return o.createElement(o.Fragment,null,o.createElement("div",{className:S()("".concat(M,"-content"),v),style:(0,c.Z)({},Z),"aria-modal":"true",role:"dialog",ref:g},k))},p=j,A=o.createContext(null),b=A,m=n(15105),L=n(80334);function se(r){return typeof r=="string"&&String(Number(r))===r?((0,L.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(r)):r}function i(r){warning(!("wrapperClassName"in r),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!r.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var e={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function a(r,u){var M,v,Z,k,g=r.prefixCls,I=r.open,B=r.placement,G=r.inline,H=r.push,de=r.forceRender,$=r.autoFocus,fe=r.keyboard,J=r.rootClassName,q=r.rootStyle,ee=r.zIndex,me=r.className,te=r.style,K=r.motion,z=r.width,ne=r.height,ve=r.children,V=r.contentWrapperStyle,X=r.mask,he=r.maskClosable,_e=r.maskMotion,h=r.maskClassName,ye=r.maskStyle,ae=r.afterOpenChange,R=r.onClose,Q=o.useRef(),U=o.useRef(),re=o.useRef();o.useImperativeHandle(u,function(){return Q.current});var Ce=function(O){var ue=O.keyCode,ce=O.shiftKey;switch(ue){case m.Z.TAB:{if(ue===m.Z.TAB){if(!ce&&document.activeElement===re.current){var Me;(Me=U.current)===null||Me===void 0||Me.focus({preventScroll:!0})}else if(ce&&document.activeElement===U.current){var Pe;(Pe=re.current)===null||Pe===void 0||Pe.focus({preventScroll:!0})}}break}case m.Z.ESC:{R&&fe&&(O.stopPropagation(),R(O));break}}};o.useEffect(function(){if(I&&$){var d;(d=Q.current)===null||d===void 0||d.focus({preventScroll:!0})}},[I]);var ge=o.useState(!1),Y=(0,E.Z)(ge,2),W=Y[0],P=Y[1],C=o.useContext(b),Ee;H===!1?Ee={distance:0}:H===!0?Ee={}:Ee=H||{};var oe=(M=(v=(Z=Ee)===null||Z===void 0?void 0:Z.distance)!==null&&v!==void 0?v:C==null?void 0:C.pushDistance)!==null&&M!==void 0?M:180,xe=o.useMemo(function(){return{pushDistance:oe,push:function(){P(!0)},pull:function(){P(!1)}}},[oe]);o.useEffect(function(){if(I){var d;C==null||(d=C.push)===null||d===void 0||d.call(C)}else{var O;C==null||(O=C.pull)===null||O===void 0||O.call(C)}},[I]),o.useEffect(function(){return function(){var d;C==null||(d=C.pull)===null||d===void 0||d.call(C)}},[]);var De=X&&o.createElement(F.default,(0,T.Z)({key:"mask"},_e,{visible:I}),function(d,O){var ue=d.className,ce=d.style;return o.createElement("div",{className:S()("".concat(g,"-mask"),ue,h),style:(0,c.Z)((0,c.Z)({},ce),ye),onClick:he&&I?R:void 0,ref:O})}),be=typeof K=="function"?K(B):K,ie={};if(W&&oe)switch(B){case"top":ie.transform="translateY(".concat(oe,"px)");break;case"bottom":ie.transform="translateY(".concat(-oe,"px)");break;case"left":ie.transform="translateX(".concat(oe,"px)");break;default:ie.transform="translateX(".concat(-oe,"px)");break}B==="left"||B==="right"?ie.width=se(z):ie.height=se(ne);var we=o.createElement(F.default,(0,T.Z)({key:"panel"},be,{visible:I,forceRender:de,onVisibleChanged:function(O){ae==null||ae(O)},removeOnLeave:!1,leavedClassName:"".concat(g,"-content-wrapper-hidden")}),function(d,O){var ue=d.className,ce=d.style;return o.createElement("div",{className:S()("".concat(g,"-content-wrapper"),ue),style:(0,c.Z)((0,c.Z)((0,c.Z)({},ie),ce),V)},o.createElement(p,{containerRef:O,prefixCls:g,className:me,style:te},ve))}),Oe=(0,c.Z)({},q);return ee&&(Oe.zIndex=ee),o.createElement(b.Provider,{value:xe},o.createElement("div",{className:S()(g,"".concat(g,"-").concat(B),J,(k={},(0,N.Z)(k,"".concat(g,"-open"),I),(0,N.Z)(k,"".concat(g,"-inline"),G),k)),style:Oe,tabIndex:-1,ref:Q,onKeyDown:Ce},De,o.createElement("div",{tabIndex:0,ref:U,style:e,"aria-hidden":"true","data-sentinel":"start"}),we,o.createElement("div",{tabIndex:0,ref:re,style:e,"aria-hidden":"true","data-sentinel":"end"})))}var t=o.forwardRef(a),l=t,f=function(u){var M=u.open,v=M===void 0?!1:M,Z=u.prefixCls,k=Z===void 0?"rc-drawer":Z,g=u.placement,I=g===void 0?"right":g,B=u.autoFocus,G=B===void 0?!0:B,H=u.keyboard,de=H===void 0?!0:H,$=u.width,fe=$===void 0?378:$,J=u.mask,q=J===void 0?!0:J,ee=u.maskClosable,me=ee===void 0?!0:ee,te=u.getContainer,K=u.forceRender,z=u.afterOpenChange,ne=u.destroyOnClose,ve=o.useState(!1),V=(0,E.Z)(ve,2),X=V[0],he=V[1],_e=o.useState(!1),h=(0,E.Z)(_e,2),ye=h[0],ae=h[1];(0,w.Z)(function(){ae(!0)},[]);var R=ye?v:!1,Q=o.useRef(),U=o.useRef();(0,w.Z)(function(){R&&(U.current=document.activeElement)},[R]);var re=function(Y){var W;if(he(Y),z==null||z(Y),!Y&&U.current&&!((W=Q.current)===null||W===void 0?void 0:W.contains(U.current))){var P;(P=U.current)===null||P===void 0||P.focus()}};if(!K&&!X&&!R&&ne)return null;var Ce=(0,c.Z)((0,c.Z)({},u),{},{open:R,prefixCls:k,placement:I,autoFocus:G,keyboard:de,width:fe,mask:q,maskClosable:me,inline:te===!1,afterOpenChange:re,ref:Q});return o.createElement(D.Z,{open:R||K||X,autoDestroy:!1,getContainer:te,autoLock:q&&(R||X)},o.createElement(l,Ce))},_=f,y=_},57186:function(le,x,n){"use strict";n.d(x,{f:function(){return E}});var c=n(67294);function E(D){var w=c.createContext(null);function N(s){var S=D(s.initialState);return c.createElement(w.Provider,{value:S},s.children)}function T(){var s=c.useContext(w);if(s===null)throw new Error("Component must be wrapped with <Container.Provider>");return s}return{Provider:N,useContainer:T}}function o(D){return D.useContainer()}},38069:function(le,x,n){"use strict";n.d(x,{ZP:function(){return i}});var c=n(67294);function E(e,a){return T(e)||N(e,a)||D(e,a)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  2. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D(e,a){if(!!e){if(typeof e=="string")return w(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w(e,a)}}function w(e,a){(a==null||a>e.length)&&(a=e.length);for(var t=0,l=new Array(a);t<a;t++)l[t]=e[t];return l}function N(e,a){var t=e&&(typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"]);if(t!=null){var l=[],f=!0,_=!1,y,r;try{for(t=t.call(e);!(f=(y=t.next()).done)&&(l.push(y.value),!(a&&l.length===a));f=!0);}catch(u){_=!0,r=u}finally{try{!f&&t.return!=null&&t.return()}finally{if(_)throw r}}return l}}function T(e){if(Array.isArray(e))return e}function s(e){var a=typeof window=="undefined",t=(0,c.useState)(function(){return a?!1:window.matchMedia(e).matches}),l=E(t,2),f=l[0],_=l[1];return(0,c.useLayoutEffect)(function(){if(!a){var y=window.matchMedia(e),r=function(M){return _(M.matches)};return y.addListener(r),function(){return y.removeListener(r)}}},[e]),f}function S(e,a){return b(e)||A(e,a)||j(e,a)||F()}function F(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  3. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(e,a){if(!!e){if(typeof e=="string")return p(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return p(e,a)}}function p(e,a){(a==null||a>e.length)&&(a=e.length);for(var t=0,l=new Array(a);t<a;t++)l[t]=e[t];return l}function A(e,a){var t=e&&(typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"]);if(t!=null){var l=[],f=!0,_=!1,y,r;try{for(t=t.call(e);!(f=(y=t.next()).done)&&(l.push(y.value),!(a&&l.length===a));f=!0);}catch(u){_=!0,r=u}finally{try{!f&&t.return!=null&&t.return()}finally{if(_)throw r}}return l}}function b(e){if(Array.isArray(e))return e}var m={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},L=function(){var a="md";if(typeof window=="undefined")return a;var t=Object.keys(m).find(function(l){var f=m[l].matchMedia;return!!window.matchMedia(f).matches});return a=t,a},se=function(){var a=s(m.md.matchMedia),t=s(m.lg.matchMedia),l=s(m.xxl.matchMedia),f=s(m.xl.matchMedia),_=s(m.sm.matchMedia),y=s(m.xs.matchMedia),r=(0,c.useState)(L()),u=S(r,2),M=u[0],v=u[1];return(0,c.useEffect)(function(){if(l){v("xxl");return}if(f){v("xl");return}if(t){v("lg");return}if(a){v("md");return}if(_){v("sm");return}if(y){v("xs");return}v("md")},[a,t,l,f,_,y]),M},i=se}}]);