filesbox/web/dist/78386.b088c7be.async.js
2024-07-26 14:10:54 +08:00

2 lines
2.0 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[78386],{95629:function(E){E.exports={root:"root___52IVh",colorWeak:"colorWeak___20k9r","ant-layout":"ant-layout___3JkPa",globalSpin:"globalSpin___EQAMU","ant-table":"ant-table___2AetH","ant-table-thead":"ant-table-thead___3f677","ant-table-tbody":"ant-table-tbody___22GX-",formBox:"formBox___1uRao",AssemblyBox:"AssemblyBox___4RQDP"}},78386:function(E,c,s){"use strict";s.r(c);var v=s(11849),N=s(34792),M=s(48086),m=s(67294),g=s(28216),p=s(19755),y=s.n(p),P=s(95629),O=s.n(P),t=s(37226),x=s(41273),A=s(7861),_=s(85893),u,f,b=(u=(0,g.$j)(i=>{var r=i.globaldesign,d=i.commondesign;return{globaldesign:r,commondesign:d}}),u(f=class extends m.Component{constructor(){super(...arguments);this.state={}}componentDidMount(){var r=this.props.dispatch}shouldComponentUpdate(){return!window.startMouseMove}render(){var r=this,d=this.props,T=d.globaldesign,h=d.closeEvent,B=h===void 0?()=>{}:h,D=T.differenceType,C=t.rJ.often,I=t.rJ.basics,L=t.rJ.senior,j=t.rJ.school,R=t.rJ.study,U={className:O().AssemblyBox,onMouseDown:e=>{e.preventDefault();var a=y()(e.target);if(a[0].nodeName=="LI")if(a.hasClass("disabled"))M.ZP.warning("\u8BE5\u6A21\u5757\u6B63\u5728\u5F00\u53D1\u4E2D");else{var l=a.attr("index"),n=a.attr("type");(0,x.q4)({data:t.rJ[n][l],x:e.pageX,y:e.pageY},r),B()}}},W=(0,A.GA)("image/"),K=(e,a)=>(0,_.jsxs)("li",{type:a,index:e.index,className:e.differenceType&&e.differenceType.indexOf(D)<0?"disabled":"",children:[(0,_.jsx)("img",{className:"imgIcon",src:W+e.icon,style:e.iconStyle||{}}),(0,_.jsx)("p",{className:"text",children:e.zh})]},e.type),o=(e,a)=>{var l=[];if(e.forEach((n,J)=>{n.differenceType&&n.differenceType.indexOf(D)<0||(n.index=J,l.push(n))}),l.length>0)return(0,_.jsx)("div",{className:"libox",children:l.map(n=>K(n,a))})};return(0,_.jsx)("div",(0,v.Z)((0,v.Z)({},U),{},{children:(0,_.jsx)("div",{children:(0,_.jsxs)("ul",{children:[o(C,"often"),o(I,"basics"),o(L,"senior"),o(j,"school"),o(R,"study")]})})}))}})||f);c.default=b}}]);