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.

p__Feedback__index.8d1e0a30.async.js 17KB

4 months ago
1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[325],{64082:function(G,O,e){e.d(O,{Z:function(){return r}});var d=e(87462),i=e(62435),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},E=o,p=e(84089),M=function(v,u){return i.createElement(p.Z,(0,d.Z)({},v,{ref:u,icon:E}))},m=i.forwardRef(M),r=m},21134:function(G,O,e){var d=e(1413),i=e(45987),o=e(62435),E=e(16764),p=e(86074),M=["fieldProps","request","params","proFieldProps"],m=function(v,u){var g=v.fieldProps,t=v.request,C=v.params,h=v.proFieldProps,c=(0,i.Z)(v,M);return(0,p.jsx)(E.Z,(0,d.Z)({valueType:"segmented",fieldProps:g,ref:u,request:t,params:C,filedConfig:{customLightMode:!0},proFieldProps:h},c))},r=o.forwardRef(m);O.Z=r},64317:function(G,O,e){var d=e(1413),i=e(45987),o=e(22270),E=e(62435),p=e(66758),M=e(16764),m=e(86074),r=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],f=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],v=function(c,F){var j=c.fieldProps,y=c.children,Z=c.params,L=c.proFieldProps,_=c.mode,R=c.valueEnum,z=c.request,H=c.showSearch,I=c.options,n=(0,i.Z)(c,r),a=(0,E.useContext)(p.Z);return(0,m.jsx)(M.Z,(0,d.Z)((0,d.Z)({valueEnum:(0,o.h)(R),request:z,params:Z,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,d.Z)({options:I,mode:_,showSearch:H,getPopupContainer:a.getPopupContainer},j),ref:F,proFieldProps:L},n),{},{children:y}))},u=E.forwardRef(function(h,c){var F=h.fieldProps,j=h.children,y=h.params,Z=h.proFieldProps,L=h.mode,_=h.valueEnum,R=h.request,z=h.options,H=(0,i.Z)(h,f),I=(0,d.Z)({options:z,mode:L||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},F),n=(0,E.useContext)(p.Z);return(0,m.jsx)(M.Z,(0,d.Z)((0,d.Z)({valueEnum:(0,o.h)(_),request:R,params:y,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,d.Z)({getPopupContainer:n.getPopupContainer},I),ref:c,proFieldProps:Z},H),{},{children:j}))}),g=E.forwardRef(v),t=u,C=g;C.SearchSelect=t,C.displayName="ProFormComponent",O.Z=C},52688:function(G,O,e){var d=e(1413),i=e(45987),o=e(62435),E=e(16764),p=e(86074),M=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],m=o.forwardRef(function(r,f){var v=r.fieldProps,u=r.unCheckedChildren,g=r.checkedChildren,t=r.proFieldProps,C=(0,i.Z)(r,M);return(0,p.jsx)(E.Z,(0,d.Z)({valueType:"switch",fieldProps:(0,d.Z)({unCheckedChildren:u,checkedChildren:g},v),ref:f,valuePropName:"checked",proFieldProps:t,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},C))});O.Z=m},80876:function(G,O,e){var d=e(1413),i=e(64082),o=e(28459),E=e(2058),p=e(62435),M=e(9105),m=e(28614),r=e(86074),f=p.forwardRef(function(u,g){var t=u.fieldProps,C=u.title,h=C===void 0?"\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u8FDB\u884C\u4E0A\u4F20":C,c=u.icon,F=c===void 0?(0,r.jsx)(i.Z,{}):c,j=u.description,y=j===void 0?"\u652F\u6301\u5355\u6B21\u6216\u6279\u91CF\u4E0A\u4F20":j,Z=u.action,L=u.accept,_=u.onChange,R=u.value,z=u.children,H=u.max,I=u.proFieldProps,n=(0,p.useContext)(o.ZP.ConfigContext),a=(0,p.useContext)(M.A),s=(I==null?void 0:I.mode)||a.mode||"edit",l=n.getPrefixCls("upload"),D=(H===void 0||!R||(R==null?void 0:R.length)<H)&&s!=="read"&&(I==null?void 0:I.readonly)!==!0;return(0,r.jsxs)(E.Z.Dragger,(0,d.Z)((0,d.Z)({ref:g,name:"files",action:Z,accept:L,fileList:R},t),{},{onChange:function(w){_==null||_(w),t!=null&&t.onChange&&(t==null||t.onChange(w))},style:(0,d.Z)((0,d.Z)({},t==null?void 0:t.style),{},{display:D?void 0:"none"}),children:[(0,r.jsx)("p",{className:"".concat(l,"-drag-icon"),children:F}),(0,r.jsx)("p",{className:"".concat(l,"-text"),children:h}),(0,r.jsx)("p",{className:"".concat(l,"-hint"),children:y}),z?(0,r.jsx)("div",{className:"".concat(l,"-extra"),style:{padding:16},children:z}):null]}))}),v=(0,m.G)(f,{getValueFromEvent:function(g){return g.fileList}});O.Z=v},57759:function(G,O,e){var d=e(59530),i=e(55375),o=e(68872),E=e(80876),p=e(86074),M=function(r){var f=r.onUploadComplete,v=r.uploadTxt,u=r.form_name,g=function(C){f&&f(C)};return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(E.Z,{label:v,name:u,icon:null,fieldProps:{fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(C){var h=new FormData;h.append("doc",C.file),console.log(h),(0,d.request)(i.FH+"/common/doc/upload?doctype=1",{method:"post",data:h,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(c){g(c.data.filename)}).catch(function(c){console.log(c),o.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u6587\u4EF6\u7C7B\u578B\uFF0C\u5982\u6709\u7591\u95EE\uFF0C\u8BF7\u54A8\u8BE2\u7BA1\u7406\u5458")})}}})})};O.Z=M},67562:function(G,O,e){var d=e(5574),i=e.n(d),o=e(71167),E=e.n(o),p=e(40190),M=e(62435),m=e(86492),r=e.n(m),f=e(86074),v=function(g){var t=g.defaultValue,C=g.placeholder,h=g.onChange,c=(0,M.useState)(t&&r().decode(t)),F=i()(c,2),j=F[0],y=F[1],Z=function(_){y(_),h(_)};return(0,M.useEffect)(function(){if(t){var L=t.replace(/<[^>]*>/g,"");Z(L?t:"")}},[t]),(0,f.jsx)("div",{children:(0,f.jsx)(E(),{bounds:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},value:j,onChange:Z,theme:"snow",placeholder:C})})};O.Z=v},67119:function(G,O,e){var d=e(59530),i=e(55375),o=e(68872),E=e(32443),p=e(86074),M=function(r){var f=r.onUploadComplete,v=r.uploadTxt,u=r.image_type,g=r.form_name,t=r.image_length,C=r.multiple,h=function(F){f&&f(F)};return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(E.Z,{label:v,name:g,icon:null,title:v,fieldProps:{maxCount:t,multiple:C,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(F){var j=new FormData;j.append("image",F.file),console.log(j),(0,d.request)(i.FH+"/common/image/upload?imgtype="+u,{method:"post",data:j,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(y){h(y.data.filename)}).catch(function(y){console.log(y),o.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}})})};O.Z=M},32572:function(G,O,e){e.r(O),e.d(O,{default:function(){return Pe}});var d=e(5574),i=e.n(d),o=e(62435),E=e(59530),p=e(28459),M=e(15009),m=e.n(M),r=e(99289),f=e.n(r),v=e(67211),u=e(14726),g=e(39680),t=e(86074),C=function(P){var U=P.dispatch,q=P.getId,X=P.openModel,A=(0,o.useRef)(),ee=(0,o.useState)([]),N=i()(ee,2),ae=N[0],ie=N[1],le=(0,o.useState)(0),ue=i()(le,2),ce=ue[0],te=ue[1],Ce=(0,o.useState)(1),pe=i()(Ce,2),re=pe[0],J=pe[1],xe=(0,o.useState)(10),se=i()(xe,2),me=se[0],de=se[1],he=function(W){q(W)};return(0,o.useEffect)(function(){X.openModal||A.current.reload()},[X.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(p.ZP,{theme:{token:{colorPrimary:"#4FBE70",colorLink:"#4FBE70"}},children:(0,t.jsx)(v.Z,{size:"small",bordered:!0,scroll:{x:1300},actionRef:A,dataSource:ae,columns:[{title:"\u7528\u6237",dataIndex:"name"},{title:"\u90AE\u7BB1",dataIndex:"email"},{title:"\u6D88\u606F\u5185\u5BB9",dataIndex:"content"},{title:"\u64CD\u4F5C",width:300,key:"option",valueType:"option",fixed:"right",render:function(W,K,Me){return[(0,t.jsx)(u.ZP,{type:"link",onClick:function(){he(K.id),U({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,t.jsx)(u.ZP,{type:"link",onClick:function(){},children:"\u5220\u9664"},"2")]}}],rowKey:"id",pagination:{current:re,pageSize:me,showSizeChanger:!0,total:ce,pageSizeOptions:[9,18,27,99],onChange:function(W,K){J(W),de(K)},onShowSizeChange:function(W,K){J(W),de(K)}},request:f()(m()().mark(function ne(){var W,K=arguments;return m()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return W=K.length>0&&K[0]!==void 0?K[0]:{},Q.abrupt("return",(0,g.ofO)({page:re,pagesize:me,sort:"id",sortby:"desc",keyword:W.name,customer_id:W.customer_id}).then(function(fe){ie(fe.data.feedbacks),te(fe.data.total)}));case 2:case"end":return Q.stop()}},ne)})),headerTitle:"\u53CD\u9988\u5217\u8868"})})})},h=(0,E.connect)(function(B){var P=B.dictModel,U=B.openModel;return{dictModel:P,openModel:U}})(C),c=e(97269),F=e(5966),j=e(52688),y=e(64317),Z=e(19109),L=e(97462),_=e(21134),R=e(17788),z=e(86250),H=e(42075),I=e(68872),n=e(71230),a=e(15746),s=e(98163),l=e(22015),D=e(23323),Y=e(55375),w=e(67119),k=e(57759),ve=e(67562),oe={label:"name",value:"id"},ge=function(P){var U=P.dispatch,q=P.dictModel,X=P.openModel,A=P.id,ee=(0,o.useRef)(),N=(0,o.useState)(!1),ae=i()(N,2),ie=ae[0],le=ae[1],ue=(0,o.useState)(null),ce=i()(ue,2),te=ce[0],Ce=ce[1];(0,o.useEffect)(function(){le(X.openModal)},[X.openModal]);var pe=(0,o.useState)(""),re=i()(pe,2),J=re[0],xe=re[1],se=function(S){xe(S)},me=(0,o.useState)(!1),de=i()(me,2),he=de[0],ne=de[1],W=(0,o.useState)(""),K=i()(W,2),Me=K[0],Q=K[1],fe=function(S){Q(S)},Fe=(0,o.useState)(""),De=i()(Fe,2),ye=De[0],Se=De[1];return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(p.ZP,{theme:{token:{colorPrimary:"#4FBE70"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,t.jsx)(R.Z,{open:ie,title:A?"\u7F16\u8F91\u6587\u7AE0":"\u6DFB\u52A0\u6587\u7AE0",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){U({type:"openModel/getOpenModal",payload:!1})},children:(0,t.jsxs)(c.A,{formRef:ee,request:f()(m()().mark(function T(){var S;return m()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(!A){b.next=7;break}return b.next=3,(0,g.USp)({id:A});case 3:return S=b.sent,b.abrupt("return",S.data);case 7:return b.abrupt("return",{title:"",cover_img:"",doc_url:"",section_id:null,content:"",stick_top:0,hot:0,author:""});case 8:case"end":return b.stop()}},T)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(S,x){return(0,t.jsxs)(z.Z,{justify:"flex-end",children:[" ",(0,t.jsx)(H.Z,{children:x})]})},onReset:function(){Ce(null),U({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var T=f()(m()().mark(function S(x){var b,Oe;return m()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(x.cover_img=J||"",console.log(x),!A){$.next=11;break}return x.id=A,$.next=6,(0,g.XcO)(x);case 6:b=$.sent,I.ZP.success("\u63D0\u4EA4\u6210\u529F"),U({type:"openModel/getOpenModal",payload:!1}),$.next=16;break;case 11:return $.next=13,(0,g.qMy)(x);case 13:Oe=$.sent,I.ZP.success("\u63D0\u4EA4\u6210\u529F"),U({type:"openModel/getOpenModal",payload:!1});case 16:case"end":return $.stop()}},S)}));return function(S){return T.apply(this,arguments)}}(),children:[(0,t.jsx)(F.Z,{label:"\u6587\u7AE0\u6807\u9898",name:"title",placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898"}]}),(0,t.jsxs)(n.Z,{gutter:[16,16],children:[te?(0,t.jsx)(a.Z,{span:4,children:(0,t.jsx)(w.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:se})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a.Z,{span:4,children:(0,t.jsx)(w.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:se})})}),te?(0,t.jsx)(a.Z,{span:4,children:J?(0,t.jsx)(s.Z,{src:"".concat(Y.VO).concat(J),style:{marginBottom:"16px",width:"100px",height:"100px"}}):(0,t.jsx)(s.Z,{src:"".concat(Y.VO).concat(te==null?void 0:te.cover_img),style:{marginTop:"16px",width:"200px",height:"200px"}})}):(0,t.jsx)(t.Fragment,{children:J?(0,t.jsxs)(a.Z,{span:4,children:[" ",(0,t.jsx)(s.Z,{src:"".concat(Y.VO).concat(J),style:{marginTop:"32px",width:"100px",height:"100px"}})," "]}):""})]}),(0,t.jsx)(j.Z,{fieldProps:{checked:he,checkedChildren:"\u5173\u95ED\u4E0A\u4F20\u6587\u4EF6",unCheckedChildren:"\u5F00\u542F\u4E0A\u4F20\u6587\u4EF6",onChange:function(S){ne(S)}}}),he&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.Z,{form_name:"doc_url",uploadTxt:"\u4E0A\u4F20\u6587\u4EF6",onUploadComplete:fe}),(0,t.jsxs)(l.Z.Paragraph,{copyable:!0,children:["\u94FE\u63A5\uFF1A","".concat(Y.VO).concat(Me)]})]}),(0,t.jsx)(y.Z,{showSearch:!0,name:"section_id",label:"\u680F\u76EE/\u9891\u9053",placeholder:"\u8BF7\u9009\u62E9\u680F\u76EE/\u9891\u9053",fieldProps:{fieldNames:oe},request:function(S){return(0,g.DGC)({page:1,pagesize:100,keyword:S.keyWords}).then(function(x){return x.data.sections})}}),(0,t.jsx)(n.Z,{gutter:[16,16],children:(0,t.jsx)(a.Z,{span:24,children:(0,t.jsx)(D.Z.Item,{name:"content",label:"\u6587\u7AE0\u5185\u5BB9",rules:[{required:!0}],children:(0,t.jsx)(Z.i$,{children:function(){return(0,t.jsx)(L.Z,{name:["content"],children:function(x,b){var Oe=x.content;return(0,t.jsx)(ve.Z,{placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u5185\u5BB9",defaultValue:Oe,onChange:function($){Se($),b.formRef.current.setFieldsValue({content:$})}})}})}})})})}),(0,t.jsx)(_.Z,{name:"stick_top",label:"\u662F\u5426\u7F6E\u9876",request:f()(m()().mark(function T(){return m()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",[{label:"\u662F",value:1},{label:"\u5426",value:2}]);case 1:case"end":return x.stop()}},T)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u7F6E\u9876"}]}),(0,t.jsx)(_.Z,{name:"hot",label:"\u6210\u4E3A\u70ED\u95E8",request:f()(m()().mark(function T(){return m()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",[{label:"\u666E\u901A",value:1},{label:"\u70ED\u95E8\u63A8\u8350",value:2}]);case 1:case"end":return x.stop()}},T)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6210\u4E3A\u70ED\u95E8"}]}),(0,t.jsx)(F.Z,{name:"author",label:"\u4F5C\u8005",placeholder:"\u8BF7\u8F93\u5165\u4F5C\u8005"})]})})})})},Ee=(0,E.connect)(function(B){var P=B.dictModel,U=B.openModel;return{dictModel:P,openModel:U}})(ge),V=function(P){var U=P.dispatch,q=P.openModel,X=(0,o.useState)(0),A=i()(X,2),ee=A[0],N=A[1],ae=function(le){N(le)};return(0,o.useEffect)(function(){q.openModal||N(0)},[q.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(p.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:[(0,t.jsx)(h,{getId:ae}),(0,t.jsx)(Ee,{id:ee})]})})},Pe=(0,E.connect)(function(B){var P=B.openModel;return{openModel:P}})(V)},86250:function(G,O,e){e.d(O,{Z:function(){return I}});var d=e(62435),i=e(93967),o=e.n(i),E=e(98423),p=e(98065),M=e(53124),m=e(92030),r=e(45503);const f=["wrap","nowrap","wrap-reverse"],v=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],u=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],g=(n,a)=>{const s=a.wrap===!0?"wrap":a.wrap;return{[`${n}-wrap-${s}`]:s&&f.includes(s)}},t=(n,a)=>{const s={};return u.forEach(l=>{s[`${n}-align-${l}`]=a.align===l}),s[`${n}-align-stretch`]=!a.align&&!!a.vertical,s},C=(n,a)=>{const s={};return v.forEach(l=>{s[`${n}-justify-${l}`]=a.justify===l}),s};function h(n,a){return o()(Object.assign(Object.assign(Object.assign({},g(n,a)),t(n,a)),C(n,a)))}var c=h;const F=n=>{const{componentCls:a}=n;return{[a]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},j=n=>{const{componentCls:a}=n;return{[a]:{"&-gap-small":{gap:n.flexGapSM},"&-gap-middle":{gap:n.flexGap},"&-gap-large":{gap:n.flexGapLG}}}},y=n=>{const{componentCls:a}=n,s={};return f.forEach(l=>{s[`${a}-wrap-${l}`]={flexWrap:l}}),s},Z=n=>{const{componentCls:a}=n,s={};return u.forEach(l=>{s[`${a}-align-${l}`]={alignItems:l}}),s},L=n=>{const{componentCls:a}=n,s={};return v.forEach(l=>{s[`${a}-justify-${l}`]={justifyContent:l}}),s},_=()=>({});var R=(0,m.I$)("Flex",n=>{const{paddingXS:a,padding:s,paddingLG:l}=n,D=(0,r.TS)(n,{flexGapSM:a,flexGap:s,flexGapLG:l});return[F(D),j(D),y(D),Z(D),L(D)]},_,{resetStyle:!1}),z=function(n,a){var s={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&a.indexOf(l)<0&&(s[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,l=Object.getOwnPropertySymbols(n);D<l.length;D++)a.indexOf(l[D])<0&&Object.prototype.propertyIsEnumerable.call(n,l[D])&&(s[l[D]]=n[l[D]]);return s},I=d.forwardRef((n,a)=>{const{prefixCls:s,rootClassName:l,className:D,style:Y,flex:w,gap:k,children:ve,vertical:oe=!1,component:ge="div"}=n,Ee=z(n,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:V,direction:Pe,getPrefixCls:B}=d.useContext(M.E_),P=B("flex",s),[U,q,X]=R(P),A=oe!=null?oe:V==null?void 0:V.vertical,ee=o()(D,l,V==null?void 0:V.className,P,q,X,c(P,n),{[`${P}-rtl`]:Pe==="rtl",[`${P}-gap-${k}`]:(0,p.n)(k),[`${P}-vertical`]:A}),N=Object.assign(Object.assign({},V==null?void 0:V.style),Y);return w&&(N.flex=w),k&&!(0,p.n)(k)&&(N.gap=k),U(d.createElement(ge,Object.assign({ref:a,className:ee,style:N},(0,E.Z)(Ee,["justify","wrap","align"])),ve))})}}]);