@progress/kendo-react-animation
Advanced tools
Comparing version 0.3.0-dev.201801301554 to 0.3.0-dev.201801301727
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-animation",["react","classnames","prop-types","react-transition-group","react-dom"],function(e){var t,n,i,r,o;function a(e){return e.__useDefault?e.default:e}return{setters:[function(e){t=a(e)},function(e){n=a(e)},function(e){i=a(e)},function(e){r=a(e)},function(e){o=a(e)}],execute:function(){!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=i(1);n.Animation=r.default;var o=i(5);n.AnimationChild=o.default;var a=i(8);n.Fade=a.default;var p=i(9);n.Expand=p.default;var s=i(10);n.Push=s.default;var l=i(12);n.Slide=l.default;var c=i(13);n.Zoom=c.default;var u=i(14);n.Reveal=u.default,function(t){for(var n in t)e(n,t[n])}(n)},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(5),u=n(6),d=n(7).default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,i=e.className,r=e.component,s=e.style,f=e.stackChildren,h=e.componentChildClassName,v=e.componentChildStyle,y=a(e,["children","childFactory","className","component","style","stackChildren","componentChildClassName","componentChildStyle"]),m={childFactory:n,className:l(d["animation-container"],i),component:r,style:s},x=o({position:f?"absolute":"initial"},v),O=p.Children.map(t,function(e){return p.createElement(c.default,o({},y,{style:x,className:h}),e)});return p.createElement(u.TransitionGroup,o({},m),O)},t}(p.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any,transitionName:s.string.isRequired,appear:s.bool.isRequired,enter:s.bool.isRequired,exit:s.bool.isRequired,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired},f.defaultProps={component:"div"},t.default=f},function(e,n){e.exports=t},function(e,t){e.exports=i},function(e,t){e.exports=n},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(6),u=n(7),d=u.default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,r=t.appear,s=t.enter,u=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,x=t.onEntering,O=t.onEntered,g=t.onExit,_=t.onExiting,E=t.onExited,k=t.mountOnEnter,b=t.unmountOnExit,w=t.animationEnteringStyle,j=t.animationEnteredStyle,P=t.animationExitingStyle,z=t.animationExitedStyle,D=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),C=l(y,d["child-animation-container"]),S=o({transitionDelay:"0ms"},i),N={entering:o({transitionDuration:h+"ms"},w),entered:o({},j),exiting:o({transitionDuration:v+"ms"},P),exited:o({},z)},W={in:this.props.in,appear:r,enter:s,exit:u,mountOnEnter:k,unmountOnExit:b,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExit:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){_&&_.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:d[f+"-appear"]||f+"-appear",appearActive:d[f+"-appear-active"]||f+"-appear-active",enter:d[f+"-enter"]||f+"-enter",enterActive:d[f+"-enter-active"]||f+"-enter-active",exit:d[f+"-exit"]||f+"-exit",exitActive:d[f+"-exit-active"]||f+"-exit-active"}};return p.createElement(c.CSSTransition,o({},W,D),function(t){return p.createElement("div",{style:o({},S,N[t]),className:C,ref:function(t){e._element=t}},n)})},t}(p.Component);f.propTypes={in:s.bool,children:s.oneOfType([s.arrayOf(s.element),s.element]),transitionName:s.string.isRequired,className:s.string,appear:s.bool,enter:s.bool,exit:s.bool,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired,mountOnEnter:s.bool,unmountOnExit:s.bool,animationEnteringStyle:s.object,animationEnteredStyle:s.object,animationExitingStyle:s.object,animationExitedStyle:s.object},f.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.default.noop,onEntering:u.default.noop,onEntered:u.default.noop,onExit:u.default.noop,onExiting:u.default.noop,onExited:u.default.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t.default=f},function(e,t){e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={noop:function(){},outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),i=parseFloat(t.marginBottom);return e.offsetHeight+n+i},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),i=parseFloat(t.marginRight);return e.offsetWidth+n+i},styles:{"animation-container":"k-animation-container","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return p.createElement(l.default,o({},{transitionName:"fade"},n),t)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"expand-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:u.default.outerHeight(i)+"px",width:u.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=(e.onEnter,e.onEntered,a(e,["children","direction","style","onEnter","onEntered"]));return p.createElement(c.default,o({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)},r),t)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,style:l.any,stackChildren:l.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t.default=d},function(e,t){e.exports=o},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"slide-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:u.default.outerHeight(i)+"px",width:u.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=(e.onEnter,e.onEntered,a(e,["children","direction","style","onEnter","onEntered"]));return p.createElement(c.default,o({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)},r),t)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["in","out"]),component:l.string,style:l.any,stackChildren:l.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t.default=d},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentIsEntering=function(e){var t=n.props.onEntering;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentWillExit=function(e){var t=n.props.onExit;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e,t){void 0===t&&(t=u.default.noop);var i=s.findDOMNode(e).firstChild;if(i){var r=u.default.outerHeight(i),o=u.default.outerWidth(i);n.setState({maxHeight:r,maxWidth:o},t)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(s.findDOMNode(this),u.default.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,r=(t.onEnter,t.onExit,t.childFactory),s=a(t,["direction","children","onEnter","onExit","childFactory"]),l=this.state,u=l.maxHeight,d=l.maxWidth,f={maxHeight:(e="vertical"===n?{maxHeight:u?u+"px":null}:{maxWidth:d?d+"px":null}).maxHeight,maxWidth:e.maxWidth};return p.createElement(c.default,o({childFactory:r||function(t){return t.props.in?t:p.cloneElement(t,o({},t.props,{style:o({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:f,transitionName:"reveal-"+n},s),i)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,style:l.any},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=d}])}}}); | ||
System.register("@progress/kendo-react-animation",["react","prop-types","classnames","react-transition-group","react-dom"],function(e){var t,n,i,r,o;function a(e){return e.__useDefault?e.default:e}return{setters:[function(e){t=a(e)},function(e){n=a(e)},function(e){i=a(e)},function(e){r=a(e)},function(e){o=a(e)}],execute:function(){!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=i(1);n.Animation=r.default;var o=i(5);n.AnimationChild=o.default;var a=i(8);n.Fade=a.default;var p=i(9);n.Expand=p.default;var s=i(10);n.Push=s.default;var l=i(12);n.Slide=l.default;var c=i(13);n.Zoom=c.default;var u=i(14);n.Reveal=u.default,function(t){for(var n in t)e(n,t[n])}(n)},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(5),u=n(6),d=n(7).default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,i=e.className,r=e.component,s=e.style,f=e.stackChildren,h=e.componentChildClassName,v=e.componentChildStyle,y=a(e,["children","childFactory","className","component","style","stackChildren","componentChildClassName","componentChildStyle"]),m={childFactory:n,className:l(d["animation-container"],i),component:r,style:s},x=o({position:f?"absolute":"initial"},v),O=p.Children.map(t,function(e){return p.createElement(c.default,o({},y,{style:x,className:h}),e)});return p.createElement(u.TransitionGroup,o({},m),O)},t}(p.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any,transitionName:s.string.isRequired,appear:s.bool.isRequired,enter:s.bool.isRequired,exit:s.bool.isRequired,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired},f.defaultProps={component:"div"},t.default=f},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(6),u=n(7),d=u.default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,r=t.appear,s=t.enter,u=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,x=t.onEntering,O=t.onEntered,g=t.onExit,_=t.onExiting,E=t.onExited,k=t.mountOnEnter,b=t.unmountOnExit,w=t.animationEnteringStyle,j=t.animationEnteredStyle,P=t.animationExitingStyle,z=t.animationExitedStyle,D=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),C=l(y,d["child-animation-container"]),S=o({transitionDelay:"0ms"},i),N={entering:o({transitionDuration:h+"ms"},w),entered:o({},j),exiting:o({transitionDuration:v+"ms"},P),exited:o({},z)},W={in:this.props.in,appear:r,enter:s,exit:u,mountOnEnter:k,unmountOnExit:b,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExit:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){_&&_.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:d[f+"-appear"]||f+"-appear",appearActive:d[f+"-appear-active"]||f+"-appear-active",enter:d[f+"-enter"]||f+"-enter",enterActive:d[f+"-enter-active"]||f+"-enter-active",exit:d[f+"-exit"]||f+"-exit",exitActive:d[f+"-exit-active"]||f+"-exit-active"}};return p.createElement(c.CSSTransition,o({},W,D),function(t){return p.createElement("div",{style:o({},S,N[t]),className:C,ref:function(t){e._element=t}},n)})},t}(p.Component);f.propTypes={in:s.bool,children:s.oneOfType([s.arrayOf(s.element),s.element]),transitionName:s.string.isRequired,className:s.string,appear:s.bool,enter:s.bool,exit:s.bool,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired,mountOnEnter:s.bool,unmountOnExit:s.bool,animationEnteringStyle:s.object,animationEnteredStyle:s.object,animationExitingStyle:s.object,animationExitedStyle:s.object},f.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.default.noop,onEntering:u.default.noop,onEntered:u.default.noop,onExit:u.default.noop,onExiting:u.default.noop,onExited:u.default.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t.default=f},function(e,t){e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={noop:function(){},outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),i=parseFloat(t.marginBottom);return e.offsetHeight+n+i},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),i=parseFloat(t.marginRight);return e.offsetWidth+n+i},styles:{"animation-container":"k-animation-container","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return p.createElement(l.default,o({},{transitionName:"fade"},n),t)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"expand-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:u.default.outerHeight(i)+"px",width:u.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=(e.onEnter,e.onEntered,a(e,["children","direction","style","onEnter","onEntered"]));return p.createElement(c.default,o({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)},r),t)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,style:l.any,stackChildren:l.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t.default=d},function(e,t){e.exports=o},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"slide-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:u.default.outerHeight(i)+"px",width:u.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=(e.onEnter,e.onEntered,a(e,["children","direction","style","onEnter","onEntered"]));return p.createElement(c.default,o({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)},r),t)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["in","out"]),component:l.string,style:l.any,stackChildren:l.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t.default=d},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentIsEntering=function(e){var t=n.props.onEntering;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentWillExit=function(e){var t=n.props.onExit;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e,t){void 0===t&&(t=u.default.noop);var i=s.findDOMNode(e).firstChild;if(i){var r=u.default.outerHeight(i),o=u.default.outerWidth(i);n.setState({maxHeight:r,maxWidth:o},t)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(s.findDOMNode(this),u.default.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,r=(t.onEnter,t.onExit,t.childFactory),s=a(t,["direction","children","onEnter","onExit","childFactory"]),l=this.state,u=l.maxHeight,d=l.maxWidth,f={maxHeight:(e="vertical"===n?{maxHeight:u?u+"px":null}:{maxWidth:d?d+"px":null}).maxHeight,maxWidth:e.maxWidth};return p.createElement(c.default,o({childFactory:r||function(t){return t.props.in?t:p.cloneElement(t,o({},t.props,{style:o({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:f,transitionName:"reveal-"+n},s),i)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,style:l.any},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=d}])}}}); |
{ | ||
"name": "@progress/kendo-react-animation", | ||
"description": "Kendo UI for React Animation package", | ||
"version": "0.3.0-dev.201801301554", | ||
"version": "0.3.0-dev.201801301727", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package