@progress/kendo-react-animation
Advanced tools
Comparing version 0.6.0-dev.201804101746 to 0.6.0-dev.201804241055
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-dom","react-transition-group"],e):"object"==typeof exports?exports.KendoReactAnimation=e(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):t.KendoReactAnimation=e(t["prop-types"],t.React,t.ReactDOM,t.ReactTransitionGroup)}(window,function(t,e,n,i){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=14)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(3),l=n(7),u=n(6),d=n(4).default.styles,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.childFactory,i=t.className,r=t.component,s=t.id,f=t.style,h=t.stackChildren,v=t.componentChildClassName,y=t.componentChildStyle,m=a(t,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),x={childFactory:n,className:c.classNames(d["animation-container"],i),component:r,id:s,style:f},O=o({position:h?"absolute":"initial"},y),g=p.Children.map(e,function(t){return p.createElement(l.default,o({},m,{style:O,className:v}),t)});return p.createElement(u.TransitionGroup,o({},x),g)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id: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},e.defaultProps={component:"div"},e}(p.Component);e.default=f},function(t,e,n){"use strict";n.r(e);var i,r=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter(function(t){return!0!==t&&!!t}).map(function(t){return Array.isArray(t)?r.apply(void 0,t):"object"==typeof t?Object.keys(t).map(function(e,n){return t[n]||t[e]&&e||null}).filter(function(t){return null!==t}).join(" "):t}).filter(function(t){return!!t}).join(" ")},o=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},a=function(){},p=n(1),s=n(0),c=(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(e){var n=t.call(this,e)||this;return n.handleFocus=function(t){n.setState({focused:!0})},n.handleBlur=function(t){n.setState({focused:!1})},n.state={focused:!1},n}return c(e,t),e.prototype.render=function(){var t=this.props,e=t.label,n=t.id,i=t.className,o=t.value,a=t.placeholder,s=t.valid,c=t.style,l=r({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||a),"k-state-invalid":!s&&void 0!==s},i);return p.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,e?n?p.createElement("label",{htmlFor:n,className:"k-label"},e):p.createElement("span",{className:"k-label"},e):null)},e.propTypes={label:s.string,id:s.string,value:s.string,placeholder:s.string,valid:s.bool},e}(p.Component);n.d(e,"classNames",function(){return r}),n.d(e,"guid",function(){return o}),n.d(e,"noop",function(){return a}),n.d(e,"FloatingLabel",function(){return l})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={outerHeight:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+n+i},outerWidth:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.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(t,e){t.exports=n},function(t,e){t.exports=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(3),l=n(6),u=n(4).default.styles,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.render=function(){var t=this,e=this.props,n=e.children,i=e.style,r=e.appear,s=e.enter,d=e.exit,f=e.transitionName,h=e.transitionEnterDuration,v=e.transitionExitDuration,y=e.className,m=e.onEnter,x=e.onEntering,O=e.onEntered,g=e.onExit,_=e.onExiting,b=e.onExited,E=e.mountOnEnter,k=e.unmountOnExit,w=e.animationEnteringStyle,j=e.animationEnteredStyle,P=e.animationExitingStyle,z=e.animationExitedStyle,D=a(e,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),C=c.classNames(y,u["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:d,mountOnEnter:E,unmountOnExit:k,timeout:{enter:h,exit:v},onEnter:function(e){m&&m.call(void 0,{animatedElement:e,target:t})},onEntering:function(e){x&&x.call(void 0,{animatedElement:e,target:t})},onEntered:function(e){O&&O.call(void 0,{animatedElement:e,target:t})},onExit:function(e){g&&g.call(void 0,{animatedElement:e,target:t})},onExiting:function(e){_&&_.call(void 0,{animatedElement:e,target:t})},onExited:function(e){b&&b.call(void 0,{animatedElement:e,target:t})},classNames:{appear:u[f+"-appear"]||f+"-appear",appearActive:u[f+"-appear-active"]||f+"-appear-active",enter:u[f+"-enter"]||f+"-enter",enterActive:u[f+"-enter-active"]||f+"-enter-active",exit:u[f+"-exit"]||f+"-exit",exitActive:u[f+"-exit-active"]||f+"-exit-active"}};return p.createElement(l.CSSTransition,o({},W,D),function(e){return p.createElement("div",{style:o({},S,N[e]),className:C,ref:function(e){t._element=e}},n)})},e.propTypes={in:s.bool,children:s.oneOfType([s.arrayOf(s.node),s.node]),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},e.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:c.noop,onEntering:c.noop,onEntered:c.noop,onExit:c.noop,onExiting:c.noop,onExited:c.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},e}(p.Component);e.default=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(3),d=n(4),f=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentIsEntering=function(t){var e=n.props.onEntering;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentWillExit=function(t){var e=n.props.onExit;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t,e){void 0===e&&(e=u.noop);var i=s.findDOMNode(t).firstChild;if(i){var r=d.default.outerHeight(i),o=d.default.outerWidth(i);n.setState({maxHeight:r,maxWidth:o},e)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(s.findDOMNode(this),u.noop)},e.prototype.render=function(){var t,e=this.props,n=e.direction,i=e.children,r=e.childFactory,s=a(e,["direction","children","childFactory"]),c=this.state,u=c.maxHeight,d=c.maxWidth,f={maxHeight:(t="vertical"===n?{maxHeight:u?u+"px":null}:{maxWidth:d?d+"px":null}).maxHeight,maxWidth:t.maxWidth};return p.createElement(l.default,o({},s,{childFactory:r||function(e){return e.props.in?e:p.cloneElement(e,o({},e.props,{style:o({},e.props.style,{maxHeight:t.maxHeight,maxWidth:t.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:f,transitionName:"reveal-"+n}),i)},e.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["horizontal","vertical"]),component:c.string,id:c.string,style:c.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(3),d=n(4),f=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(e={height:d.default.outerHeight(i)+"px",width:d.default.outerWidth(i)+"px"});n.setState({style:e},t)},n.state={style:null},n}return r(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)}),e)},e.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["in","out"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},e}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"slide-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(3),d=n(4),f=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(e={height:d.default.outerHeight(i)+"px",width:d.default.outerWidth(i)+"px"});n.setState({style:e},t)},n.state={style:null},n}return r(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)}),e)},e.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},e}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"expand-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=a(t,["children"]);return p.createElement(c.default,o({},{transitionName:"fade"},n),e)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},e}(p.Component);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2);e.Animation=i.default;var r=n(7);e.AnimationChild=r.default;var o=n(13);e.Fade=o.default;var a=n(12);e.Expand=a.default;var p=n(11);e.Push=p.default;var s=n(10);e.Slide=s.default;var c=n(9);e.Zoom=c.default;var l=n(8);e.Reveal=l.default}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-dom","react-transition-group"],e):"object"==typeof exports?exports.KendoReactAnimation=e(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):t.KendoReactAnimation=e(t.PropTypes,t.React,t.ReactDom,t.ReactTransitionGroup)}(window,function(t,e,n,i){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=14)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(3),l=n(7),u=n(6),d=n(4).default.styles,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.childFactory,i=t.className,r=t.component,s=t.id,f=t.style,h=t.stackChildren,v=t.componentChildClassName,y=t.componentChildStyle,m=a(t,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),x={childFactory:n,className:c.classNames(d["animation-container"],i),component:r,id:s,style:f},O=o({position:h?"absolute":"initial"},y),g=p.Children.map(e,function(t){return p.createElement(l.default,o({},m,{style:O,className:v}),t)});return p.createElement(u.TransitionGroup,o({},x),g)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id: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},e.defaultProps={component:"div"},e}(p.Component);e.default=f},function(t,e,n){"use strict";n.r(e);var i,r=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter(function(t){return!0!==t&&!!t}).map(function(t){return Array.isArray(t)?r.apply(void 0,t):"object"==typeof t?Object.keys(t).map(function(e,n){return t[n]||t[e]&&e||null}).filter(function(t){return null!==t}).join(" "):t}).filter(function(t){return!!t}).join(" ")},o=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},a=function(){},p=n(1),s=n(0),c=(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(e){var n=t.call(this,e)||this;return n.handleFocus=function(t){n.setState({focused:!0})},n.handleBlur=function(t){n.setState({focused:!1})},n.state={focused:!1},n}return c(e,t),e.prototype.render=function(){var t=this.props,e=t.label,n=t.id,i=t.className,o=t.value,a=t.placeholder,s=t.valid,c=t.style,l=r({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||a),"k-state-invalid":!s&&void 0!==s},i);return p.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,e?n?p.createElement("label",{htmlFor:n,className:"k-label"},e):p.createElement("span",{className:"k-label"},e):null)},e.propTypes={label:s.string,id:s.string,value:s.string,placeholder:s.string,valid:s.bool},e}(p.Component);n.d(e,"classNames",function(){return r}),n.d(e,"guid",function(){return o}),n.d(e,"noop",function(){return a}),n.d(e,"FloatingLabel",function(){return l})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={outerHeight:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+n+i},outerWidth:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.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(t,e){t.exports=n},function(t,e){t.exports=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(3),l=n(6),u=n(4).default.styles,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.render=function(){var t=this,e=this.props,n=e.children,i=e.style,r=e.appear,s=e.enter,d=e.exit,f=e.transitionName,h=e.transitionEnterDuration,v=e.transitionExitDuration,y=e.className,m=e.onEnter,x=e.onEntering,O=e.onEntered,g=e.onExit,_=e.onExiting,b=e.onExited,E=e.mountOnEnter,k=e.unmountOnExit,w=e.animationEnteringStyle,j=e.animationEnteredStyle,P=e.animationExitingStyle,z=e.animationExitedStyle,D=a(e,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),C=c.classNames(y,u["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:d,mountOnEnter:E,unmountOnExit:k,timeout:{enter:h,exit:v},onEnter:function(e){m&&m.call(void 0,{animatedElement:e,target:t})},onEntering:function(e){x&&x.call(void 0,{animatedElement:e,target:t})},onEntered:function(e){O&&O.call(void 0,{animatedElement:e,target:t})},onExit:function(e){g&&g.call(void 0,{animatedElement:e,target:t})},onExiting:function(e){_&&_.call(void 0,{animatedElement:e,target:t})},onExited:function(e){b&&b.call(void 0,{animatedElement:e,target:t})},classNames:{appear:u[f+"-appear"]||f+"-appear",appearActive:u[f+"-appear-active"]||f+"-appear-active",enter:u[f+"-enter"]||f+"-enter",enterActive:u[f+"-enter-active"]||f+"-enter-active",exit:u[f+"-exit"]||f+"-exit",exitActive:u[f+"-exit-active"]||f+"-exit-active"}};return p.createElement(l.CSSTransition,o({},W,D),function(e){return p.createElement("div",{style:o({},S,N[e]),className:C,ref:function(e){t._element=e}},n)})},e.propTypes={in:s.bool,children:s.oneOfType([s.arrayOf(s.node),s.node]),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},e.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:c.noop,onEntering:c.noop,onEntered:c.noop,onExit:c.noop,onExiting:c.noop,onExited:c.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},e}(p.Component);e.default=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(3),d=n(4),f=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentIsEntering=function(t){var e=n.props.onEntering;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentWillExit=function(t){var e=n.props.onExit;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t,e){void 0===e&&(e=u.noop);var i=s.findDOMNode(t);if(i){var r=i.firstChild;if(r){var o=d.default.outerHeight(r),a=d.default.outerWidth(r);n.setState({maxHeight:o,maxWidth:a},e)}}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(s.findDOMNode(this),u.noop)},e.prototype.render=function(){var t,e=this.props,n=e.direction,i=e.children,r=e.childFactory,s=a(e,["direction","children","childFactory"]),c=this.state,u=c.maxHeight,d=c.maxWidth,f={maxHeight:(t="vertical"===n?{maxHeight:u?u+"px":null}:{maxWidth:d?d+"px":null}).maxHeight,maxWidth:t.maxWidth};return p.createElement(l.default,o({},s,{childFactory:r||function(e){return e.props.in?e:p.cloneElement(e,o({},e.props,{style:o({},e.props.style,{maxHeight:t.maxHeight,maxWidth:t.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:f,transitionName:"reveal-"+n}),i)},e.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["horizontal","vertical"]),component:c.string,id:c.string,style:c.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(3),d=n(4),f=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e=s.findDOMNode(n);if(e){var i,r=e.firstChild;if(n.props.stackChildren&&r)i={height:d.default.outerHeight(r)+"px",width:d.default.outerWidth(r)+"px"};n.setState({style:i},t)}},n.state={style:null},n}return r(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)}),e)},e.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["in","out"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},e}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"slide-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(3),d=n(4),f=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e=s.findDOMNode(n);if(e){var i,r=e.firstChild;if(n.props.stackChildren&&r)i={height:d.default.outerHeight(r)+"px",width:d.default.outerWidth(r)+"px"};n.setState({style:i},t)}},n.state={style:null},n}return r(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)}),e)},e.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},e}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"expand-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=a(t,["children"]);return p.createElement(c.default,o({},{transitionName:"fade"},n),e)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},e}(p.Component);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2);e.Animation=i.default;var r=n(7);e.AnimationChild=r.default;var o=n(13);e.Fade=o.default;var a=n(12);e.Expand=a.default;var p=n(11);e.Push=p.default;var s=n(10);e.Slide=s.default;var c=n(9);e.Zoom=c.default;var l=n(8);e.Reveal=l.default}])}); |
@@ -56,3 +56,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (done === void 0) { done = noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
var node = ReactDOM.findDOMNode(_this); | ||
if (!node) { | ||
return; | ||
} | ||
var content = node.firstChild; | ||
var style; | ||
@@ -59,0 +63,0 @@ if (_this.props.stackChildren && content) { |
@@ -64,3 +64,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (done === void 0) { done = noop; } | ||
var content = ReactDOM.findDOMNode(element).firstChild; | ||
var node = ReactDOM.findDOMNode(element); | ||
if (!node) { | ||
return; | ||
} | ||
var content = node.firstChild; | ||
if (content) { | ||
@@ -67,0 +71,0 @@ var newHeight = util.outerHeight(content); |
@@ -56,3 +56,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (done === void 0) { done = noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
var node = ReactDOM.findDOMNode(_this); | ||
if (!node) { | ||
return; | ||
} | ||
var content = node.firstChild; | ||
var style; | ||
@@ -59,0 +63,0 @@ if (_this.props.stackChildren && content) { |
@@ -58,3 +58,7 @@ "use strict"; | ||
if (done === void 0) { done = kendo_react_common_1.noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
var node = ReactDOM.findDOMNode(_this); | ||
if (!node) { | ||
return; | ||
} | ||
var content = node.firstChild; | ||
var style; | ||
@@ -61,0 +65,0 @@ if (_this.props.stackChildren && content) { |
@@ -66,3 +66,7 @@ "use strict"; | ||
if (done === void 0) { done = kendo_react_common_1.noop; } | ||
var content = ReactDOM.findDOMNode(element).firstChild; | ||
var node = ReactDOM.findDOMNode(element); | ||
if (!node) { | ||
return; | ||
} | ||
var content = node.firstChild; | ||
if (content) { | ||
@@ -69,0 +73,0 @@ var newHeight = util_1.default.outerHeight(content); |
@@ -58,3 +58,7 @@ "use strict"; | ||
if (done === void 0) { done = kendo_react_common_1.noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
var node = ReactDOM.findDOMNode(_this); | ||
if (!node) { | ||
return; | ||
} | ||
var content = node.firstChild; | ||
var style; | ||
@@ -61,0 +65,0 @@ if (_this.props.stackChildren && content) { |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-animation",["react","prop-types","@progress/kendo-react-common","react-transition-group","react-dom"],function(u){var n,i,r,o,a;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){n=e(t)},function(t){i=e(t)},function(t){r=e(t)},function(t){o=e(t)},function(t){a=e(t)}],execute:function(){!function(n){var i={};function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=n,r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=14)}([function(t,e){t.exports=i},function(t,e){t.exports=n},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},v=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var y=n(1),o=n(0),m=n(4),x=n(7),O=n(6),g=n(3).default.styles,a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.childFactory,i=t.className,r=t.component,o=t.id,a=t.style,p=t.stackChildren,s=t.componentChildClassName,c=t.componentChildStyle,l=v(t,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),u={childFactory:n,className:m.classNames(g["animation-container"],i),component:r,id:o,style:a},d=h({position:p?"absolute":"initial"},c),f=y.Children.map(e,function(t){return y.createElement(x.default,h({},l,{style:d,className:s}),t)});return y.createElement(O.TransitionGroup,h({},u),f)},e.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any,transitionName:o.string.isRequired,appear:o.bool.isRequired,enter:o.bool.isRequired,exit:o.bool.isRequired,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired},e.defaultProps={component:"div"},e}(y.Component);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={outerHeight:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+n+i},outerWidth:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.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(t,e){t.exports=r},function(t,e){t.exports=a},function(t,e){t.exports=o},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),z=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},D=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var C=n(1),o=n(0),S=n(4),N=n(6),W=n(3).default.styles,a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,r=t.appear,o=t.enter,a=t.exit,p=t.transitionName,s=t.transitionEnterDuration,c=t.transitionExitDuration,l=t.className,u=t.onEnter,d=t.onEntering,f=t.onEntered,h=t.onExit,v=t.onExiting,y=t.onExited,m=t.mountOnEnter,x=t.unmountOnExit,O=t.animationEnteringStyle,g=t.animationEnteredStyle,_=t.animationExitingStyle,E=t.animationExitedStyle,b=D(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),k=S.classNames(l,W["child-animation-container"]),w=z({transitionDelay:"0ms"},i),j={entering:z({transitionDuration:s+"ms"},O),entered:z({},g),exiting:z({transitionDuration:c+"ms"},_),exited:z({},E)},P={in:this.props.in,appear:r,enter:o,exit:a,mountOnEnter:m,unmountOnExit:x,timeout:{enter:s,exit:c},onEnter:function(t){u&&u.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){d&&d.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){f&&f.call(void 0,{animatedElement:t,target:e})},onExit:function(t){h&&h.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){v&&v.call(void 0,{animatedElement:t,target:e})},onExited:function(t){y&&y.call(void 0,{animatedElement:t,target:e})},classNames:{appear:W[p+"-appear"]||p+"-appear",appearActive:W[p+"-appear-active"]||p+"-appear-active",enter:W[p+"-enter"]||p+"-enter",enterActive:W[p+"-enter-active"]||p+"-enter-active",exit:W[p+"-exit"]||p+"-exit",exitActive:W[p+"-exit-active"]||p+"-exit-active"}};return C.createElement(N.CSSTransition,z({},P,b),function(t){return C.createElement("div",{style:z({},w,j[t]),className:k,ref:function(t){e._element=t}},n)})},e.propTypes={in:o.bool,children:o.oneOfType([o.arrayOf(o.node),o.node]),transitionName:o.string.isRequired,className:o.string,appear:o.bool,enter:o.bool,exit:o.bool,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired,mountOnEnter:o.bool,unmountOnExit:o.bool,animationEnteringStyle:o.object,animationEnteredStyle:o.object,animationExitingStyle:o.object,animationExitedStyle:o.object},e.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:S.noop,onEntering:S.noop,onEntered:S.noop,onExit:S.noop,onExiting:S.noop,onExited:S.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},e}(C.Component);e.default=a},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},u=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var d=n(1),a=n(5),o=n(0),f=n(2),p=n(4),s=n(3),c=function(e){function t(t){var o=e.call(this,t)||this;return o.componentWillEnter=function(t){var e=o.props.onEnter;o.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},o.componentIsEntering=function(t){var e=o.props.onEntering;o.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},o.componentWillExit=function(t){var e=o.props.onExit;o.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},o.updateContainerDimensions=function(t,e){void 0===e&&(e=p.noop);var n=a.findDOMNode(t).firstChild;if(n){var i=s.default.outerHeight(n),r=s.default.outerWidth(n);o.setState({maxHeight:i,maxWidth:r},e)}},o.state={maxHeight:void 0,maxWidth:void 0},o}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(a.findDOMNode(this),p.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,r=t.childFactory,o=u(t,["direction","children","childFactory"]),a=this.state,p=a.maxHeight,s=a.maxWidth,c={maxHeight:(e="vertical"===n?{maxHeight:p?p+"px":null}:{maxWidth:s?s+"px":null}).maxHeight,maxWidth:e.maxWidth};return d.createElement(f.default,l({},o,{childFactory:r||function(t){return t.props.in?t:d.cloneElement(t,l({},t.props,{style:l({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:c,transitionName:"reveal-"+n}),i)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(d.Component);e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(4),d=n(3),f=function(e){function t(t){var i=e.call(this,t)||this;return i.componentWillEnter=function(t){var e=i.props.onEnter;i.updateContainerDimensions(function(){e&&e.call(void 0,t)})},i.componentDidEnter=function(t){var e=i.props.onEntered;i.updateContainerDimensions(function(){e&&e.call(void 0,t)})},i.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e,n=s.findDOMNode(i).firstChild;i.props.stackChildren&&n&&(e={height:d.default.outerHeight(n)+"px",width:d.default.outerWidth(n)+"px"}),i.setState({style:e},t)},i.state={style:null},i}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)}),e)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["in","out"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"slide-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(4),d=n(3),f=function(e){function t(t){var i=e.call(this,t)||this;return i.componentWillEnter=function(t){var e=i.props.onEnter;i.updateContainerDimensions(function(){e&&e.call(void 0,t)})},i.componentDidEnter=function(t){var e=i.props.onEntered;i.updateContainerDimensions(function(){e&&e.call(void 0,t)})},i.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e,n=s.findDOMNode(i).firstChild;i.props.stackChildren&&n&&(e={height:d.default.outerHeight(n)+"px",width:d.default.outerWidth(n)+"px"}),i.setState({style:e},t)},i.state={style:null},i}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)}),e)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"expand-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=a(t,["children"]);return p.createElement(c.default,o({},{transitionName:"fade"},n),e)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},e}(p.Component);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2);e.Animation=i.default;var r=n(7);e.AnimationChild=r.default;var o=n(13);e.Fade=o.default;var a=n(12);e.Expand=a.default;var p=n(11);e.Push=p.default;var s=n(10);e.Slide=s.default;var c=n(9);e.Zoom=c.default;var l=n(8);e.Reveal=l.default,function(t){for(var e in t)u(e,t[e])}(e)}])}}}); | ||
System.register("@progress/kendo-react-animation",["react","prop-types","react-transition-group","@progress/kendo-react-common","react-dom"],function(u){var n,i,r,o,a;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){n=e(t)},function(t){i=e(t)},function(t){r=e(t)},function(t){o=e(t)},function(t){a=e(t)}],execute:function(){!function(n){var i={};function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=n,r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=14)}([function(t,e){t.exports=i},function(t,e){t.exports=n},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},v=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var y=n(1),o=n(0),m=n(4),x=n(7),O=n(6),g=n(3).default.styles,a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.childFactory,i=t.className,r=t.component,o=t.id,a=t.style,p=t.stackChildren,s=t.componentChildClassName,c=t.componentChildStyle,l=v(t,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),u={childFactory:n,className:m.classNames(g["animation-container"],i),component:r,id:o,style:a},d=h({position:p?"absolute":"initial"},c),f=y.Children.map(e,function(t){return y.createElement(x.default,h({},l,{style:d,className:s}),t)});return y.createElement(O.TransitionGroup,h({},u),f)},e.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any,transitionName:o.string.isRequired,appear:o.bool.isRequired,enter:o.bool.isRequired,exit:o.bool.isRequired,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired},e.defaultProps={component:"div"},e}(y.Component);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={outerHeight:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+n+i},outerWidth:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.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(t,e){t.exports=o},function(t,e){t.exports=a},function(t,e){t.exports=r},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),z=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},D=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var C=n(1),o=n(0),S=n(4),N=n(6),W=n(3).default.styles,a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,r=t.appear,o=t.enter,a=t.exit,p=t.transitionName,s=t.transitionEnterDuration,c=t.transitionExitDuration,l=t.className,u=t.onEnter,d=t.onEntering,f=t.onEntered,h=t.onExit,v=t.onExiting,y=t.onExited,m=t.mountOnEnter,x=t.unmountOnExit,O=t.animationEnteringStyle,g=t.animationEnteredStyle,_=t.animationExitingStyle,E=t.animationExitedStyle,b=D(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),k=S.classNames(l,W["child-animation-container"]),w=z({transitionDelay:"0ms"},i),j={entering:z({transitionDuration:s+"ms"},O),entered:z({},g),exiting:z({transitionDuration:c+"ms"},_),exited:z({},E)},P={in:this.props.in,appear:r,enter:o,exit:a,mountOnEnter:m,unmountOnExit:x,timeout:{enter:s,exit:c},onEnter:function(t){u&&u.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){d&&d.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){f&&f.call(void 0,{animatedElement:t,target:e})},onExit:function(t){h&&h.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){v&&v.call(void 0,{animatedElement:t,target:e})},onExited:function(t){y&&y.call(void 0,{animatedElement:t,target:e})},classNames:{appear:W[p+"-appear"]||p+"-appear",appearActive:W[p+"-appear-active"]||p+"-appear-active",enter:W[p+"-enter"]||p+"-enter",enterActive:W[p+"-enter-active"]||p+"-enter-active",exit:W[p+"-exit"]||p+"-exit",exitActive:W[p+"-exit-active"]||p+"-exit-active"}};return C.createElement(N.CSSTransition,z({},P,b),function(t){return C.createElement("div",{style:z({},w,j[t]),className:k,ref:function(t){e._element=t}},n)})},e.propTypes={in:o.bool,children:o.oneOfType([o.arrayOf(o.node),o.node]),transitionName:o.string.isRequired,className:o.string,appear:o.bool,enter:o.bool,exit:o.bool,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired,mountOnEnter:o.bool,unmountOnExit:o.bool,animationEnteringStyle:o.object,animationEnteredStyle:o.object,animationExitingStyle:o.object,animationExitedStyle:o.object},e.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:S.noop,onEntering:S.noop,onEntered:S.noop,onExit:S.noop,onExiting:S.noop,onExited:S.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},e}(C.Component);e.default=a},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},u=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var d=n(1),p=n(5),o=n(0),f=n(2),s=n(4),c=n(3),a=function(e){function t(t){var a=e.call(this,t)||this;return a.componentWillEnter=function(t){var e=a.props.onEnter;a.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},a.componentIsEntering=function(t){var e=a.props.onEntering;a.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},a.componentWillExit=function(t){var e=a.props.onExit;a.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},a.updateContainerDimensions=function(t,e){void 0===e&&(e=s.noop);var n=p.findDOMNode(t);if(n){var i=n.firstChild;if(i){var r=c.default.outerHeight(i),o=c.default.outerWidth(i);a.setState({maxHeight:r,maxWidth:o},e)}}},a.state={maxHeight:void 0,maxWidth:void 0},a}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(p.findDOMNode(this),s.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,r=t.childFactory,o=u(t,["direction","children","childFactory"]),a=this.state,p=a.maxHeight,s=a.maxWidth,c={maxHeight:(e="vertical"===n?{maxHeight:p?p+"px":null}:{maxWidth:s?s+"px":null}).maxHeight,maxWidth:e.maxWidth};return d.createElement(f.default,l({},o,{childFactory:r||function(t){return t.props.in?t:d.cloneElement(t,l({},t.props,{style:l({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:c,transitionName:"reveal-"+n}),i)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(d.Component);e.default=a},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(4),d=n(3),f=function(e){function t(t){var r=e.call(this,t)||this;return r.componentWillEnter=function(t){var e=r.props.onEnter;r.updateContainerDimensions(function(){e&&e.call(void 0,t)})},r.componentDidEnter=function(t){var e=r.props.onEntered;r.updateContainerDimensions(function(){e&&e.call(void 0,t)})},r.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e=s.findDOMNode(r);if(e){var n,i=e.firstChild;r.props.stackChildren&&i&&(n={height:d.default.outerHeight(i)+"px",width:d.default.outerWidth(i)+"px"}),r.setState({style:n},t)}},r.state={style:null},r}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)}),e)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["in","out"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"slide-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(5),c=n(0),l=n(2),u=n(4),d=n(3),f=function(e){function t(t){var r=e.call(this,t)||this;return r.componentWillEnter=function(t){var e=r.props.onEnter;r.updateContainerDimensions(function(){e&&e.call(void 0,t)})},r.componentDidEnter=function(t){var e=r.props.onEntered;r.updateContainerDimensions(function(){e&&e.call(void 0,t)})},r.updateContainerDimensions=function(t){void 0===t&&(t=u.noop);var e=s.findDOMNode(r);if(e){var n,i=e.firstChild;r.props.stackChildren&&i&&(n={height:d.default.outerHeight(i)+"px",width:d.default.outerWidth(i)+"px"}),r.setState({style:n},t)}},r.state={style:null},r}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,i=t.style,r=a(t,["children","direction","style"]);return p.createElement(l.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)}),e)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(p.Component);e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,i=a(t,["direction","children"]),r={transitionName:"expand-"+e};return p.createElement(c.default,o({},r,i),n)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(p.Component);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]])}return n};Object.defineProperty(e,"__esModule",{value:!0});var p=n(1),s=n(0),c=n(2),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=a(t,["children"]);return p.createElement(c.default,o({},{transitionName:"fade"},n),e)},e.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id:s.string,style:s.any},e.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},e}(p.Component);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2);e.Animation=i.default;var r=n(7);e.AnimationChild=r.default;var o=n(13);e.Fade=o.default;var a=n(12);e.Expand=a.default;var p=n(11);e.Push=p.default;var s=n(10);e.Slide=s.default;var c=n(9);e.Zoom=c.default;var l=n(8);e.Reveal=l.default,function(t){for(var e in t)u(e,t[e])}(e)}])}}}); |
{ | ||
"name": "@progress/kendo-react-animation", | ||
"description": "Kendo UI for React Animation package", | ||
"version": "0.6.0-dev.201804101746", | ||
"version": "0.6.0-dev.201804241055", | ||
"repository": { | ||
@@ -30,3 +30,3 @@ "type": "git", | ||
"dependencies": { | ||
"@progress/kendo-react-common": "0.6.0-dev.201804101746", | ||
"@progress/kendo-react-common": "0.6.0-dev.201804241055", | ||
"prop-types": "^15.6.0", | ||
@@ -33,0 +33,0 @@ "react-transition-group": "^2.2.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
264325
4809
+ Added@progress/kendo-react-common@0.6.0-dev.201804241055(transitive)
- Removed@progress/kendo-react-common@0.6.0-dev.201804101746(transitive)