filesbox/web/dist/15362.acfde600.async.js

2 lines
8.1 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[15362],{15362:function(b,p,s){"use strict";s.r(p),s.d(p,{default:function(){return A}});var T=s(13062),v=s(71230),t=s(11849),B=s(43358),r=s(34041),K=s(89032),m=s(15746),W=s(48736),y=s(27049),N=s(67294),P=s(28216),_=s(30672),U=s(44258),u=s.n(U),a=s(85893),I,D,A=(I=(0,P.$j)(f=>{var l=f.globaldesign,o=f.commondesign;return{globaldesign:l,commondesign:o}}),I(D=class extends N.Component{constructor(){super(...arguments);this.state={anName:"none",anDelay:"none",anDuration:"none",anIterationCount:"1"}}componentDidMount(){this.updateComponentDom()}componentDidUpdate(l,o){var i=this,g=i.props.globaldesign.selectElement,e=l.globaldesign.selectElement,c=g&&g.attr("data-mid"),d=e&&e.attr("data-mid");d!==c&&this.updateComponentDom()}updateComponentDom(){var l=this,o=l.props.globaldesign.selectElement;if(!o)return!1;l.setState({anName:o[0].style.animationName,anDelay:o.css("animationDelay"),anDuration:o.css("animationDuration"),anIterationCount:o.css("animationIterationCount")})}shouldComponentUpdate(){return!window.startMouseMove}renderDynamicEffect(){var l=this,o=l.props.globaldesign,i=o.selectElement,g=o.version,e=(0,_.lw)((0,_.Kd)());if(!i)return!1;var c=l.state,d=c.anName,h=c.anDelay,M=c.anDuration,L=c.anIterationCount;console.log("anName",d);var E=[{name:e.formatMessage({id:"mack.dse.none"}),value:"none"},{name:e.formatMessage({id:"mack.dse.bounce"}),value:"bounce"},{name:e.formatMessage({id:"mack.dse.fadeIn"}),value:"fadeIn"},{name:e.formatMessage({id:"mack.dse.fadeOut"}),value:"fadeOut"},{name:e.formatMessage({id:"mack.dse.flash"}),value:"flash"},{name:e.formatMessage({id:"mack.dse.pulse"}),value:"pulse"},{name:e.formatMessage({id:"mack.dse.rubberBand"}),value:"rubberBand"},{name:e.formatMessage({id:"mack.dse.shake"}),value:"shake"},{name:e.formatMessage({id:"mack.dse.swing"}),value:"swing"},{name:e.formatMessage({id:"mack.dse.tada"}),value:"tada"},{name:e.formatMessage({id:"mack.dse.wobble"}),value:"wobble"},{name:e.formatMessage({id:"mack.dse.jello"}),value:"jello"},{name:e.formatMessage({id:"mack.dse.bounceIn"}),value:"bounceIn"},{name:e.formatMessage({id:"mack.dse.bounceInDown"}),value:"bounceInDown"},{name:e.formatMessage({id:"mack.dse.bounceInUp"}),value:"bounceInUp"},{name:e.formatMessage({id:"mack.dse.bounceInLeft"}),value:"bounceInLeft"},{name:e.formatMessage({id:"mack.dse.bounceInRight"}),value:"bounceInRight"},{name:e.formatMessage({id:"mack.dse.flipInX"}),value:"flipInX"},{name:e.formatMessage({id:"mack.dse.flipInY"}),value:"flipInY"},{name:e.formatMessage({id:"mack.dse.spinning"}),value:"spinning"},{name:e.formatMessage({id:"mack.dse.spinningReverse"}),value:"spinning-reverse"},{name:e.formatMessage({id:"mack.dse.rotateIn"}),value:"rotateIn"},{name:e.formatMessage({id:"mack.dse.rotateInDownLeft"}),value:"rotateInDownLeft"},{name:e.formatMessage({id:"mack.dse.rotateInDownRight"}),value:"rotateInDownRight"},{name:e.formatMessage({id:"mack.dse.rotateInUpLeft"}),value:"rotateInUpLeft"},{name:e.formatMessage({id:"mack.dse.rotateInUpRight"}),value:"rotateInUpRight"},{name:e.formatMessage({id:"mack.dse.slideInDown"}),value:"slideInDown"},{name:e.formatMessage({id:"mack.dse.slideInLeft"}),value:"slideInLeft"},{name:e.formatMessage({id:"mack.dse.slideInRight"}),value:"slideInRight"},{name:e.formatMessage({id:"mack.dse.slideInUp"}),value:"slideInUp"},{name:e.formatMessage({id:"mack.dse.zoomIn"}),value:"zoomIn"},{name:e.formatMessage({id:"mack.dse.zoomInDown"}),value:"zoomInDown"},{name:e.formatMessage({id:"mack.dse.zoomInLeft"}),value:"zoomInLeft"},{name:e.formatMessage({id:"mack.dse.zoomInRight"}),value:"zoomInRight"},{name:e.formatMessage({id:"mack.dse.zoomInUp"}),value:"zoomInUp"},{name:e.formatMessage({id:"mack.dse.rollIn"}),value:"rollIn"},{name:e.formatMessage({id:"mack.dse.lightSpeedIn"}),value:"lightSpeedIn"}],j=[{name:"\u65E0",value:"none"},{name:"100ms",value:"0.1s"},{name:"200ms",value:"0.2s"},{name:"300ms",value:"0.3s"},{name:"500ms",value:"0.5s"},{name:"1s",value:"1s"},{name:"2s",value:"2s"},{name:"3s",value:"3s"},{name:"4s",value:"4s