@progress/kendo-react-animation
Advanced tools
Comparing version 0.4.0-dev.201802141312 to 0.4.0-dev.201802150802
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-transition-group"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-transition-group","react-dom"],t):"object"==typeof exports?exports.KendoReactAnimation=t(require("react"),require("react-transition-group"),require("react-dom")):e.KendoReactAnimation=t(e.React,e.ReactTransitionGroup,e.ReactDOM)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.Animation=r.default;var i=n(14);t.AnimationChild=i.default;var o=n(17);t.Fade=o.default;var a=n(18);t.Expand=a.default;var c=n(19);t.Push=c.default;var p=n(21);t.Slide=p.default;var s=n(22);t.Zoom=s.default;var u=n(23);t.Reveal=u.default},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),p=n(13),s=n(14),u=n(15),l=n(16),f=l.default.styles,d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,r=e.className,c=e.component,l=e.style,d=e.stackChildren,h=e.componentChildClassName,v=e.componentChildStyle,y=o(e,["children","childFactory","className","component","style","stackChildren","componentChildClassName","componentChildStyle"]),m={childFactory:n,className:p(f["animation-container"],r),component:c,style:l},x=i({position:d?"absolute":"initial"},v),g=a.Children.map(t,function(e){return a.createElement(s.default,i({},y,{style:x,className:h}),e)});return a.createElement(u.TransitionGroup,i({},m),g)},t}(a.Component);d.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,component:c.string,style:c.any,transitionName:c.string.isRequired,appear:c.bool.isRequired,enter:c.bool.isRequired,exit:c.bool.isRequired,transitionEnterDuration:c.number.isRequired,transitionExitDuration:c.number.isRequired},d.defaultProps={component:"div"},t.default=d},function(t,n){t.exports=e},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},o=!0;e.exports=n(5)(i,o)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):y=-1,h.length&&c())}function c(){if(!v){var e=i(a);v=!0;for(var t=h.length;t;){for(d=h,h=[];++y<t;)d&&d[y].run();y=-1,t=h.length}d=null,v=!1,o(e)}}function p(e,t){this.fun=e,this.array=t}function s(){}var u,l,f=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,h=[],v=!1,y=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new p(e,t)),1!==h.length||v||i(c)},p.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=s,f.addListener=s,f.once=s,f.off=s,f.removeListener=s,f.removeAllListeners=s,f.emit=s,f.prependListener=s,f.prependOnceListener=s,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";var r=n(6),i=n(7),o=n(8),a=n(9),c=n(10),p=n(11);e.exports=function(e,n){function s(e){var t=e&&(S&&e[S]||e[N]);if("function"==typeof t)return t}function u(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,s,u,f,d,h,v){if(f=f||z,h=h||u,v!==c)if(n)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=f+":"+u;!a[y]&&p<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,f),a[y]=!0,p++)}return null==s[u]?r?new l(null===s[u]?"The "+d+" `"+h+"` is marked as required "+("in `"+f+"`, but its value is `null`."):"The "+d+" `"+h+"` is marked as required in "+("`"+f+"`, but its value is `undefined`.")):null:e(s,u,f,d,h)}if("production"!==t.env.NODE_ENV)var a={},p=0;var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function d(e){function t(t,n,r,i,o,a){var c=t[n],p=j(c);if(p!==e){var s=P(c);return new l("Invalid "+i+" `"+o+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return f(t)}function h(){return f(r.thatReturnsNull)}function v(e){function t(t,n,r,i,o){if("function"!=typeof e)return new l("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a)){var p=j(a);return new l("Invalid "+i+" `"+o+"` of type "+("`"+p+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<a.length;s++){var u=e(a,s,r,i,o+"["+s+"]",c);if(u instanceof Error)return u}return null}return f(t)}function y(){function t(t,n,r,i,o){var a=t[n];if(!e(a)){var c=j(a);return new l("Invalid "+i+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return f(t)}function m(e){function t(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||z,c=D(t[n]);return new l("Invalid "+i+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return f(t)}function x(e){function n(t,n,r,i,o){for(var a=t[n],c=0;c<e.length;c++)if(u(a,e[c]))return null;var p=JSON.stringify(e);return new l("Invalid "+i+" `"+o+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+p+"."))}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV?o(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,r.thatReturnsNull)}function g(e){function t(t,n,r,i,o){if("function"!=typeof e)return new l("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],p=j(a);if("object"!==p)return new l("Invalid "+i+" `"+o+"` of type "+("`"+p+"` supplied to `"+r+"`, expected an object."));for(var s in a)if(a.hasOwnProperty(s)){var u=e(a,s,r,i,o+"."+s,c);if(u instanceof Error)return u}return null}return f(t)}function O(e){function n(t,n,r,i,o){for(var a=0;a<e.length;a++){var p=e[a];if(null==p(t,n,r,i,o,c))return null}return new l("Invalid "+i+" `"+o+"` supplied to "+("`"+r+"`."))}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV?o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,r.thatReturnsNull;for(var i=0;i<e.length;i++){var a=e[i];if("function"!=typeof a)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",T(a),i),r.thatReturnsNull}return f(n)}function b(){function e(e,t,n,r,i){return w(e[t])?null:new l("Invalid "+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return f(e)}function E(e){function t(t,n,r,i,o){var a=t[n],p=j(a);if("object"!==p)return new l("Invalid "+i+" `"+o+"` of type `"+p+"` "+("supplied to `"+r+"`, expected `object`."));for(var s in e){var u=e[s];if(u){var f=u(a,s,r,i,o+"."+s,c);if(f)return f}}return null}return f(t)}function _(e){function t(t,n,r,i,o){var p=t[n],s=j(p);if("object"!==s)return new l("Invalid "+i+" `"+o+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."));var u=a({},t[n],e);for(var f in u){var d=e[f];if(!d)return new l("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=d(p,f,r,i,o+"."+f,c);if(h)return h}return null}return f(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var n=s(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!w(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!w(o[1]))return!1}return!0;default:return!1}}function k(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function j(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":k(t,e)?"symbol":t}function P(e){if("undefined"==typeof e||null===e)return""+e;var t=j(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function T(e){var t=P(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function D(e){return e.constructor&&e.constructor.name?e.constructor.name:z}var S="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",z="<<anonymous>>",C={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:h(),arrayOf:v,element:y(),instanceOf:m,node:b(),objectOf:g,oneOf:x,oneOfType:O,shape:E,exact:_};return l.prototype=Error.prototype,C.checkPropTypes=p,C.PropTypes=C,C}}).call(t,n(4))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){"use strict";function n(e,t,n,i,o,a,c,p){if(r(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,o,a,c,p],l=0;s=new Error(t.replace(/%s/g,function(){return u[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(4))},function(e,t,n){(function(t){"use strict";var r=n(6),i=r;if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];o.apply(void 0,[t].concat(r))}}}e.exports=i}).call(t,n(4))},function(e,t){/* | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-transition-group"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-transition-group","react-dom"],t):"object"==typeof exports?exports.KendoReactAnimation=t(require("react"),require("react-transition-group"),require("react-dom")):e.KendoReactAnimation=t(e.React,e.ReactTransitionGroup,e.ReactDOM)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.Animation=r.default;var i=n(17);t.AnimationChild=i.default;var o=n(20);t.Fade=o.default;var a=n(21);t.Expand=a.default;var c=n(22);t.Push=c.default;var s=n(24);t.Slide=s.default;var u=n(25);t.Zoom=u.default;var p=n(26);t.Reveal=p.default},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),s=n(13),u=n(17),p=n(18),l=n(19),f=l.default.styles,d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,r=e.className,c=e.component,l=e.style,d=e.stackChildren,h=e.componentChildClassName,v=e.componentChildStyle,y=o(e,["children","childFactory","className","component","style","stackChildren","componentChildClassName","componentChildStyle"]),m={childFactory:n,className:s.classNames(f["animation-container"],r),component:c,style:l},x=i({position:d?"absolute":"initial"},v),g=a.Children.map(t,function(e){return a.createElement(u.default,i({},y,{style:x,className:h}),e)});return a.createElement(p.TransitionGroup,i({},m),g)},t}(a.Component);d.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,component:c.string,style:c.any,transitionName:c.string.isRequired,appear:c.bool.isRequired,enter:c.bool.isRequired,exit:c.bool.isRequired,transitionEnterDuration:c.number.isRequired,transitionExitDuration:c.number.isRequired},d.defaultProps={component:"div"},t.default=d},function(t,n){t.exports=e},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},o=!0;e.exports=n(5)(i,o)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(p===setTimeout)return setTimeout(e,0);if((p===n||!p)&&setTimeout)return p=setTimeout,setTimeout(e,0);try{return p(e,0)}catch(t){try{return p.call(null,e,0)}catch(t){return p.call(this,e,0)}}}function o(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):y=-1,h.length&&c())}function c(){if(!v){var e=i(a);v=!0;for(var t=h.length;t;){for(d=h,h=[];++y<t;)d&&d[y].run();y=-1,t=h.length}d=null,v=!1,o(e)}}function s(e,t){this.fun=e,this.array=t}function u(){}var p,l,f=e.exports={};!function(){try{p="function"==typeof setTimeout?setTimeout:n}catch(e){p=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,h=[],v=!1,y=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new s(e,t)),1!==h.length||v||i(c)},s.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";var r=n(6),i=n(7),o=n(8),a=n(9),c=n(10),s=n(11);e.exports=function(e,n){function u(e){var t=e&&(S&&e[S]||e[D]);if("function"==typeof t)return t}function p(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,u,p,f,d,h,v){if(f=f||z,h=h||p,v!==c)if(n)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=f+":"+p;!a[y]&&s<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,f),a[y]=!0,s++)}return null==u[p]?r?new l(null===u[p]?"The "+d+" `"+h+"` is marked as required "+("in `"+f+"`, but its value is `null`."):"The "+d+" `"+h+"` is marked as required in "+("`"+f+"`, but its value is `undefined`.")):null:e(u,p,f,d,h)}if("production"!==t.env.NODE_ENV)var a={},s=0;var u=r.bind(null,!1);return u.isRequired=r.bind(null,!0),u}function d(e){function t(t,n,r,i,o,a){var c=t[n],s=j(c);if(s!==e){var u=P(c);return new l("Invalid "+i+" `"+o+"` of type "+("`"+u+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return f(t)}function h(){return f(r.thatReturnsNull)}function v(e){function t(t,n,r,i,o){if("function"!=typeof e)return new l("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a)){var s=j(a);return new l("Invalid "+i+" `"+o+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var u=0;u<a.length;u++){var p=e(a,u,r,i,o+"["+u+"]",c);if(p instanceof Error)return p}return null}return f(t)}function y(){function t(t,n,r,i,o){var a=t[n];if(!e(a)){var c=j(a);return new l("Invalid "+i+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return f(t)}function m(e){function t(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||z,c=T(t[n]);return new l("Invalid "+i+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return f(t)}function x(e){function n(t,n,r,i,o){for(var a=t[n],c=0;c<e.length;c++)if(p(a,e[c]))return null;var s=JSON.stringify(e);return new l("Invalid "+i+" `"+o+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV?o(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,r.thatReturnsNull)}function g(e){function t(t,n,r,i,o){if("function"!=typeof e)return new l("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],s=j(a);if("object"!==s)return new l("Invalid "+i+" `"+o+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."));for(var u in a)if(a.hasOwnProperty(u)){var p=e(a,u,r,i,o+"."+u,c);if(p instanceof Error)return p}return null}return f(t)}function O(e){function n(t,n,r,i,o){for(var a=0;a<e.length;a++){var s=e[a];if(null==s(t,n,r,i,o,c))return null}return new l("Invalid "+i+" `"+o+"` supplied to "+("`"+r+"`."))}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV?o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,r.thatReturnsNull;for(var i=0;i<e.length;i++){var a=e[i];if("function"!=typeof a)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",N(a),i),r.thatReturnsNull}return f(n)}function b(){function e(e,t,n,r,i){return w(e[t])?null:new l("Invalid "+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return f(e)}function E(e){function t(t,n,r,i,o){var a=t[n],s=j(a);if("object"!==s)return new l("Invalid "+i+" `"+o+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."));for(var u in e){var p=e[u];if(p){var f=p(a,u,r,i,o+"."+u,c);if(f)return f}}return null}return f(t)}function _(e){function t(t,n,r,i,o){var s=t[n],u=j(s);if("object"!==u)return new l("Invalid "+i+" `"+o+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."));var p=a({},t[n],e);for(var f in p){var d=e[f];if(!d)return new l("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=d(s,f,r,i,o+"."+f,c);if(h)return h}return null}return f(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var n=u(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!w(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!w(o[1]))return!1}return!0;default:return!1}}function k(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function j(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":k(t,e)?"symbol":t}function P(e){if("undefined"==typeof e||null===e)return""+e;var t=j(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function N(e){var t=P(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function T(e){return e.constructor&&e.constructor.name?e.constructor.name:z}var S="function"==typeof Symbol&&Symbol.iterator,D="@@iterator",z="<<anonymous>>",C={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:h(),arrayOf:v,element:y(),instanceOf:m,node:b(),objectOf:g,oneOf:x,oneOfType:O,shape:E,exact:_};return l.prototype=Error.prototype,C.checkPropTypes=s,C.PropTypes=C,C}}).call(t,n(4))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){"use strict";function n(e,t,n,i,o,a,c,s){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[n,i,o,a,c,s],l=0;u=new Error(t.replace(/%s/g,function(){return p[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(4))},function(e,t,n){(function(t){"use strict";var r=n(6),i=r;if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];o.apply(void 0,[t].concat(r))}}}e.exports=i}).call(t,n(4))},function(e,t){/* | ||
object-assign | ||
@@ -6,7 +6,2 @@ (c) Sindre Sorhus | ||
*/ | ||
"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,c,p=n(e),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var u in r)o.call(r,u)&&(p[u]=r[u]);if(i){c=i(r);for(var l=0;l<c.length;l++)a.call(r,c[l])&&(p[c[l]]=r[c[l]])}}return p}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){"use strict";function r(e,n,r,p,s){if("production"!==t.env.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var l;try{i("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",p||"React class",r,u,typeof e[u]),l=e[u](n,u,p,r,null,a)}catch(e){l=e}if(o(!l||l instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",p||"React class",r,u,typeof l),l instanceof Error&&!(l.message in c)){c[l.message]=!0;var f=s?s():"";o(!1,"Failed %s type: %s%s",r,l.message,null!=f?f:"")}}}if("production"!==t.env.NODE_ENV)var i=n(7),o=n(8),a=n(10),c={};e.exports=r}).call(t,n(4))},function(e,t,n){"use strict";var r=n(6),i=n(7),o=n(10);e.exports=function(){function e(e,t,n,r,a,c){c!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){var r,i;/*! | ||
Copyright (c) 2016 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/ | ||
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===i)for(var a in r)o.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],i=function(){return n}.apply(t,r),!(void 0!==i&&(e.exports=i)))}()},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),p=n(13),s=n(15),u=n(16),l=u.default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,c=t.appear,u=t.enter,f=t.exit,d=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,x=t.onEntering,g=t.onEntered,O=t.onExit,b=t.onExiting,E=t.onExited,_=t.mountOnEnter,w=t.unmountOnExit,k=t.animationEnteringStyle,j=t.animationEnteredStyle,P=t.animationExitingStyle,T=t.animationExitedStyle,D=o(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=p(y,l["child-animation-container"]),N=i({transitionDelay:"0ms"},r),z={entering:i({transitionDuration:h+"ms"},k),entered:i({},j),exiting:i({transitionDuration:v+"ms"},P),exited:i({},T)},C={in:this.props.in,appear:c,enter:u,exit:f,mountOnEnter:_,unmountOnExit:w,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExit:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:l[d+"-appear"]||d+"-appear",appearActive:l[d+"-appear-active"]||d+"-appear-active",enter:l[d+"-enter"]||d+"-enter",enterActive:l[d+"-enter-active"]||d+"-enter-active",exit:l[d+"-exit"]||d+"-exit",exitActive:l[d+"-exit-active"]||d+"-exit-active"}};return a.createElement(s.CSSTransition,i({},C,D),function(t){return a.createElement("div",{style:i({},N,z[t]),className:S,ref:function(t){e._element=t}},n)})},t}(a.Component);f.propTypes={in:c.bool,children:c.oneOfType([c.arrayOf(c.element),c.element]),transitionName:c.string.isRequired,className:c.string,appear:c.bool,enter:c.bool,exit:c.bool,transitionEnterDuration:c.number.isRequired,transitionExitDuration:c.number.isRequired,mountOnEnter:c.bool,unmountOnExit:c.bool,animationEnteringStyle:c.object,animationEnteredStyle:c.object,animationExitingStyle:c.object,animationExitedStyle:c.object},f.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.default.noop,onEntering:u.default.noop,onEntered:u.default.noop,onExit:u.default.noop,onExiting:u.default.noop,onExited:u.default.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t.default=f},function(e,n){e.exports=t},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop),i=parseFloat(n.marginBottom);return e.offsetHeight+r+i},r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginLeft),i=parseFloat(n.marginRight);return e.offsetWidth+r+i},i=function(){},o={"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"};t.default={noop:i,outerHeight:n,outerWidth:r,styles:o}},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),p=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=o(e,["children"]),r={transitionName:"fade"};return a.createElement(p.default,i({},r,n),t)},t}(a.Component);s.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,component:c.string,style:c.any},s.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),p=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=o(e,["direction","children"]),c={transitionName:"expand-"+t};return a.createElement(p.default,i({},c,r),n)},t}(a.Component);s.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,direction:c.oneOf(["horizontal","vertical"]),component:c.string,style:c.any},s.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(20),p=n(3),s=n(1),u=n(16),l=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,r=c.findDOMNode(n).firstChild;if(n.props.stackChildren&&r){var i=u.default.outerHeight(r),o=u.default.outerWidth(r);t={height:i+"px",width:o+"px"}}n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=e.style,c=(e.onEnter,e.onEntered,o(e,["children","direction","style","onEnter","onEntered"]));return a.createElement(s.default,i({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:i({style:r},this.state.style)},c),t)},t}(a.Component);l.propTypes={children:p.oneOfType([p.arrayOf(p.element),p.element]),childFactory:p.any,className:p.string,direction:p.oneOf(["up","down","left","right"]),component:p.string,style:p.any,stackChildren:p.bool},l.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t.default=l},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),p=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=o(e,["direction","children"]),c={transitionName:"slide-"+t};return a.createElement(p.default,i({},c,r),n)},t}(a.Component);s.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,style:c.any},s.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(20),p=n(3),s=n(1),u=n(16),l=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,r=c.findDOMNode(n).firstChild;if(n.props.stackChildren&&r){var i=u.default.outerHeight(r),o=u.default.outerWidth(r);t={height:i+"px",width:o+"px"}}n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=e.style,c=(e.onEnter,e.onEntered,o(e,["children","direction","style","onEnter","onEntered"]));return a.createElement(s.default,i({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:i({style:r},this.state.style)},c),t)},t}(a.Component);l.propTypes={children:p.oneOfType([p.arrayOf(p.element),p.element]),childFactory:p.any,className:p.string,direction:p.oneOf(["in","out"]),component:p.string,style:p.any,stackChildren:p.bool},l.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(20),p=n(3),s=n(1),u=n(16),l=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentIsEntering=function(e){var t=n.props.onEntering;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentWillExit=function(e){var t=n.props.onExit;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e,t){void 0===t&&(t=u.default.noop);var r=c.findDOMNode(e).firstChild;if(r){var i=u.default.outerHeight(r),o=u.default.outerWidth(r);n.setState({maxHeight:i,maxWidth:o},t)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(c.findDOMNode(this),u.default.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,c=(t.onEnter,t.onExit,t.childFactory),p=o(t,["direction","children","onEnter","onExit","childFactory"]),u=this.state,l=u.maxHeight,f=u.maxWidth;e="vertical"===n?{maxHeight:l?l+"px":null}:{maxWidth:f?f+"px":null};var d={maxHeight:e.maxHeight,maxWidth:e.maxWidth},h=function(t){return t.props.in?t:a.cloneElement(t,i({},t.props,{style:i({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))};return a.createElement(s.default,i({childFactory:c?c:h,onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-"+n},p),r)},t}(a.Component);l.propTypes={children:p.oneOfType([p.arrayOf(p.element),p.element]),childFactory:p.any,className:p.string,direction:p.oneOf(["horizontal","vertical"]),component:p.string,style:p.any},l.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=l}])}); | ||
"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,c,s=n(e),u=1;u<arguments.length;u++){r=Object(arguments[u]);for(var p in r)o.call(r,p)&&(s[p]=r[p]);if(i){c=i(r);for(var l=0;l<c.length;l++)a.call(r,c[l])&&(s[c[l]]=r[c[l]])}}return s}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){"use strict";function r(e,n,r,s,u){if("production"!==t.env.NODE_ENV)for(var p in e)if(e.hasOwnProperty(p)){var l;try{i("function"==typeof e[p],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",s||"React class",r,p,typeof e[p]),l=e[p](n,p,s,r,null,a)}catch(e){l=e}if(o(!l||l instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,p,typeof l),l instanceof Error&&!(l.message in c)){c[l.message]=!0;var f=u?u():"";o(!1,"Failed %s type: %s%s",r,l.message,null!=f?f:"")}}}if("production"!==t.env.NODE_ENV)var i=n(7),o=n(8),a=n(10),c={};e.exports=r}).call(t,n(4))},function(e,t,n){"use strict";var r=n(6),i=n(7),o=n(10);e.exports=function(){function e(e,t,n,r,a,c){c!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14);t.classNames=r.classNames;var i=n(15);t.guid=i.guid;var o=n(16);t.noop=o.noop},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.filter(function(e){return e!==!0&&!!e}).map(function(e){return Array.isArray(e)?t.classNames.apply(void 0,e):"object"==typeof e?Object.keys(e).map(function(t,n){return e[n]||e[t]&&t||null}).filter(function(e){return null!==e}).join(" "):e}).filter(function(e){return!!e}).join(" ")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n};t.guid=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.noop=n},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),s=n(13),u=n(18),p=n(19),l=p.default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,c=t.appear,p=t.enter,f=t.exit,d=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,x=t.onEntering,g=t.onEntered,O=t.onExit,b=t.onExiting,E=t.onExited,_=t.mountOnEnter,w=t.unmountOnExit,k=t.animationEnteringStyle,j=t.animationEnteredStyle,P=t.animationExitingStyle,N=t.animationExitedStyle,T=o(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=s.classNames(y,l["child-animation-container"]),D=i({transitionDelay:"0ms"},r),z={entering:i({transitionDuration:h+"ms"},k),entered:i({},j),exiting:i({transitionDuration:v+"ms"},P),exited:i({},N)},C={in:this.props.in,appear:c,enter:p,exit:f,mountOnEnter:_,unmountOnExit:w,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExit:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:l[d+"-appear"]||d+"-appear",appearActive:l[d+"-appear-active"]||d+"-appear-active",enter:l[d+"-enter"]||d+"-enter",enterActive:l[d+"-enter-active"]||d+"-enter-active",exit:l[d+"-exit"]||d+"-exit",exitActive:l[d+"-exit-active"]||d+"-exit-active"}};return a.createElement(u.CSSTransition,i({},C,T),function(t){return a.createElement("div",{style:i({},D,z[t]),className:S,ref:function(t){e._element=t}},n)})},t}(a.Component);f.propTypes={in:c.bool,children:c.oneOfType([c.arrayOf(c.element),c.element]),transitionName:c.string.isRequired,className:c.string,appear:c.bool,enter:c.bool,exit:c.bool,transitionEnterDuration:c.number.isRequired,transitionExitDuration:c.number.isRequired,mountOnEnter:c.bool,unmountOnExit:c.bool,animationEnteringStyle:c.object,animationEnteredStyle:c.object,animationExitingStyle:c.object,animationExitedStyle:c.object},f.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:{}},t.default=f},function(e,n){e.exports=t},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop),i=parseFloat(n.marginBottom);return e.offsetHeight+r+i},r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginLeft),i=parseFloat(n.marginRight);return e.offsetWidth+r+i},i={"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"};t.default={outerHeight:n,outerWidth:r,styles:i}},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),s=n(1),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=o(e,["children"]),r={transitionName:"fade"};return a.createElement(s.default,i({},r,n),t)},t}(a.Component);u.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,component:c.string,style:c.any},u.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t.default=u},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),s=n(1),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=o(e,["direction","children"]),c={transitionName:"expand-"+t};return a.createElement(s.default,i({},c,r),n)},t}(a.Component);u.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,direction:c.oneOf(["horizontal","vertical"]),component:c.string,style:c.any},u.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=u},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(23),s=n(3),u=n(1),p=n(13),l=n(19),f=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=p.noop);var t,r=c.findDOMNode(n).firstChild;if(n.props.stackChildren&&r){var i=l.default.outerHeight(r),o=l.default.outerWidth(r);t={height:i+"px",width:o+"px"}}n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=e.style,c=o(e,["children","direction","style"]);return a.createElement(u.default,i({},c,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:i({style:r},this.state.style)}),t)},t}(a.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,style:s.any,stackChildren:s.bool},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t.default=f},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(3),s=n(1),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=o(e,["direction","children"]),c={transitionName:"slide-"+t};return a.createElement(s.default,i({},c,r),n)},t}(a.Component);u.propTypes={children:c.oneOfType([c.arrayOf(c.element),c.element]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,style:c.any},u.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t.default=u},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(23),s=n(3),u=n(1),p=n(13),l=n(19),f=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=p.noop);var t,r=c.findDOMNode(n).firstChild;if(n.props.stackChildren&&r){var i=l.default.outerHeight(r),o=l.default.outerWidth(r);t={height:i+"px",width:o+"px"}}n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=e.style,c=o(e,["children","direction","style"]);return a.createElement(u.default,i({},c,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:i({style:r},this.state.style)}),t)},t}(a.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["in","out"]),component:s.string,style:s.any,stackChildren:s.bool},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t.default=f},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),c=n(23),s=n(3),u=n(1),p=n(13),l=n(19),f=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentIsEntering=function(e){var t=n.props.onEntering;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentWillExit=function(e){var t=n.props.onExit;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e,t){void 0===t&&(t=p.noop);var r=c.findDOMNode(e).firstChild;if(r){var i=l.default.outerHeight(r),o=l.default.outerWidth(r);n.setState({maxHeight:i,maxWidth:o},t)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(c.findDOMNode(this),p.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,c=t.childFactory,s=o(t,["direction","children","childFactory"]),p=this.state,l=p.maxHeight,f=p.maxWidth;e="vertical"===n?{maxHeight:l?l+"px":null}:{maxWidth:f?f+"px":null};var d={maxHeight:e.maxHeight,maxWidth:e.maxWidth},h=function(t){return t.props.in?t:a.cloneElement(t,i({},t.props,{style:i({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))};return a.createElement(u.default,i({},s,{childFactory:c?c:h,onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-"+n}),r)},t}(a.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,style:s.any},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=f}])}); |
@@ -30,3 +30,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import * as PropTypes from 'prop-types'; | ||
import * as classNames from 'classnames'; | ||
import { classNames } from '@progress/kendo-react-common'; | ||
import AnimationChild from './AnimationChild'; | ||
@@ -33,0 +33,0 @@ import { TransitionGroup } from 'react-transition-group'; |
@@ -30,3 +30,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import * as PropTypes from 'prop-types'; | ||
import * as classnames from 'classnames'; | ||
import { classNames, noop } from '@progress/kendo-react-common'; | ||
import { CSSTransition } from 'react-transition-group'; | ||
@@ -53,3 +53,3 @@ import util from './util'; | ||
var _a = this.props, children = _a.children, style = _a.style, appear = _a.appear, enter = _a.enter, exit = _a.exit, transitionName = _a.transitionName, transitionEnterDuration = _a.transitionEnterDuration, transitionExitDuration = _a.transitionExitDuration, className = _a.className, onEnter = _a.onEnter, onEntering = _a.onEntering, onEntered = _a.onEntered, onExit = _a.onExit, onExiting = _a.onExiting, onExited = _a.onExited, mountOnEnter = _a.mountOnEnter, unmountOnExit = _a.unmountOnExit, animationEnteringStyle = _a.animationEnteringStyle, animationEnteredStyle = _a.animationEnteredStyle, animationExitingStyle = _a.animationExitingStyle, animationExitedStyle = _a.animationExitedStyle, other = __rest(_a, ["children", "style", "appear", "enter", "exit", "transitionName", "transitionEnterDuration", "transitionExitDuration", "className", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "mountOnEnter", "unmountOnExit", "animationEnteringStyle", "animationEnteredStyle", "animationExitingStyle", "animationExitedStyle"]); | ||
var classNames = classnames(className, styles['child-animation-container']); | ||
var childAnimationContainerClassNames = classNames(className, styles['child-animation-container']); | ||
var defaultStyle = __assign({ transitionDelay: '0ms' }, style); | ||
@@ -113,3 +113,3 @@ var animationStyle = { | ||
return (React.createElement(CSSTransition, __assign({}, transitionProps, other), function (status) { | ||
return (React.createElement("div", { style: __assign({}, defaultStyle, animationStyle[status]), className: classNames, ref: function (div) { _this._element = div; } }, children)); | ||
return (React.createElement("div", { style: __assign({}, defaultStyle, animationStyle[status]), className: childAnimationContainerClassNames, ref: function (div) { _this._element = div; } }, children)); | ||
})); | ||
@@ -143,8 +143,8 @@ }; | ||
unmountOnExit: false, | ||
onEnter: util.noop, | ||
onEntering: util.noop, | ||
onEntered: util.noop, | ||
onExit: util.noop, | ||
onExiting: util.noop, | ||
onExited: util.noop, | ||
onEnter: noop, | ||
onEntering: noop, | ||
onEntered: noop, | ||
onExit: noop, | ||
onExiting: noop, | ||
onExited: noop, | ||
animationEnteringStyle: {}, | ||
@@ -151,0 +151,0 @@ animationEnteredStyle: {}, |
@@ -32,2 +32,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import Animation from './Animation'; | ||
import { noop } from '@progress/kendo-react-common'; | ||
import util from './util'; | ||
@@ -58,3 +59,3 @@ /** | ||
_this.updateContainerDimensions = function (done) { | ||
if (done === void 0) { done = util.noop; } | ||
if (done === void 0) { done = noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
@@ -82,4 +83,4 @@ var style; | ||
Push.prototype.render = function () { | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, onEnter = _a.onEnter, onEntered = _a.onEntered, other = __rest(_a, ["children", "direction", "style", "onEnter", "onEntered"]); | ||
return (React.createElement(Animation, __assign({ onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "push-" + direction, style: __assign({ style: style }, this.state.style) }, other), children)); | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, other = __rest(_a, ["children", "direction", "style"]); | ||
return (React.createElement(Animation, __assign({}, other, { onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "push-" + direction, style: __assign({ style: style }, this.state.style) }), children)); | ||
}; | ||
@@ -86,0 +87,0 @@ return Push; |
@@ -32,2 +32,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import Animation from './Animation'; | ||
import { noop } from '@progress/kendo-react-common'; | ||
import util from './util'; | ||
@@ -66,3 +67,3 @@ /** | ||
_this.updateContainerDimensions = function (element, done) { | ||
if (done === void 0) { done = util.noop; } | ||
if (done === void 0) { done = noop; } | ||
var content = ReactDOM.findDOMNode(element).firstChild; | ||
@@ -85,6 +86,6 @@ if (content) { | ||
Reveal.prototype.componentWillReceiveProps = function () { | ||
this.updateContainerDimensions(ReactDOM.findDOMNode(this), util.noop); | ||
this.updateContainerDimensions(ReactDOM.findDOMNode(this), noop); | ||
}; | ||
Reveal.prototype.render = function () { | ||
var _a = this.props, direction = _a.direction, children = _a.children, onEnter = _a.onEnter, onExit = _a.onExit, childFactory = _a.childFactory, other = __rest(_a, ["direction", "children", "onEnter", "onExit", "childFactory"]); | ||
var _a = this.props, direction = _a.direction, children = _a.children, childFactory = _a.childFactory, other = __rest(_a, ["direction", "children", "childFactory"]); | ||
var _b = this.state, maxHeight = _b.maxHeight, maxWidth = _b.maxWidth; | ||
@@ -108,3 +109,3 @@ var maxOffset; | ||
}; | ||
return (React.createElement(Animation, __assign({ childFactory: childFactory ? childFactory : factory, onEnter: this.componentWillEnter, onEntering: this.componentIsEntering, onExit: this.componentWillExit, animationEnteringStyle: animationEnteringStyle, transitionName: "reveal-" + direction }, other), children)); | ||
return (React.createElement(Animation, __assign({}, other, { childFactory: childFactory ? childFactory : factory, onEnter: this.componentWillEnter, onEntering: this.componentIsEntering, onExit: this.componentWillExit, animationEnteringStyle: animationEnteringStyle, transitionName: "reveal-" + direction }), children)); | ||
}; | ||
@@ -111,0 +112,0 @@ return Reveal; |
declare const _default: { | ||
noop: () => void; | ||
outerHeight: (element: any) => any; | ||
@@ -4,0 +3,0 @@ outerWidth: (element: any) => any; |
@@ -30,6 +30,2 @@ /** | ||
*/ | ||
var noop = function () { }; | ||
/** | ||
* @hidden | ||
*/ | ||
var styles = { | ||
@@ -138,3 +134,2 @@ 'animation-container': 'k-animation-container', | ||
export default { | ||
noop: noop, | ||
outerHeight: outerHeight, | ||
@@ -141,0 +136,0 @@ outerWidth: outerWidth, |
@@ -32,2 +32,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import Animation from './Animation'; | ||
import { noop } from '@progress/kendo-react-common'; | ||
import util from './util'; | ||
@@ -58,3 +59,3 @@ /** | ||
_this.updateContainerDimensions = function (done) { | ||
if (done === void 0) { done = util.noop; } | ||
if (done === void 0) { done = noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
@@ -82,4 +83,4 @@ var style; | ||
Zoom.prototype.render = function () { | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, onEnter = _a.onEnter, onEntered = _a.onEntered, other = __rest(_a, ["children", "direction", "style", "onEnter", "onEntered"]); | ||
return (React.createElement(Animation, __assign({ onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "zoom-" + direction, style: __assign({ style: style }, this.state.style) }, other), children)); | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, other = __rest(_a, ["children", "direction", "style"]); | ||
return (React.createElement(Animation, __assign({}, other, { onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "zoom-" + direction, style: __assign({ style: style }, this.state.style) }), children)); | ||
}; | ||
@@ -86,0 +87,0 @@ return Zoom; |
@@ -32,3 +32,3 @@ "use strict"; | ||
var PropTypes = require("prop-types"); | ||
var classNames = require("classnames"); | ||
var kendo_react_common_1 = require("@progress/kendo-react-common"); | ||
var AnimationChild_1 = require("./AnimationChild"); | ||
@@ -50,3 +50,3 @@ var react_transition_group_1 = require("react-transition-group"); | ||
childFactory: childFactory, | ||
className: classNames(styles['animation-container'], className), | ||
className: kendo_react_common_1.classNames(styles['animation-container'], className), | ||
component: component, | ||
@@ -53,0 +53,0 @@ style: style |
@@ -32,3 +32,3 @@ "use strict"; | ||
var PropTypes = require("prop-types"); | ||
var classnames = require("classnames"); | ||
var kendo_react_common_1 = require("@progress/kendo-react-common"); | ||
var react_transition_group_1 = require("react-transition-group"); | ||
@@ -55,3 +55,3 @@ var util_1 = require("./util"); | ||
var _a = this.props, children = _a.children, style = _a.style, appear = _a.appear, enter = _a.enter, exit = _a.exit, transitionName = _a.transitionName, transitionEnterDuration = _a.transitionEnterDuration, transitionExitDuration = _a.transitionExitDuration, className = _a.className, onEnter = _a.onEnter, onEntering = _a.onEntering, onEntered = _a.onEntered, onExit = _a.onExit, onExiting = _a.onExiting, onExited = _a.onExited, mountOnEnter = _a.mountOnEnter, unmountOnExit = _a.unmountOnExit, animationEnteringStyle = _a.animationEnteringStyle, animationEnteredStyle = _a.animationEnteredStyle, animationExitingStyle = _a.animationExitingStyle, animationExitedStyle = _a.animationExitedStyle, other = __rest(_a, ["children", "style", "appear", "enter", "exit", "transitionName", "transitionEnterDuration", "transitionExitDuration", "className", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "mountOnEnter", "unmountOnExit", "animationEnteringStyle", "animationEnteredStyle", "animationExitingStyle", "animationExitedStyle"]); | ||
var classNames = classnames(className, styles['child-animation-container']); | ||
var childAnimationContainerClassNames = kendo_react_common_1.classNames(className, styles['child-animation-container']); | ||
var defaultStyle = __assign({ transitionDelay: '0ms' }, style); | ||
@@ -115,3 +115,3 @@ var animationStyle = { | ||
return (React.createElement(react_transition_group_1.CSSTransition, __assign({}, transitionProps, other), function (status) { | ||
return (React.createElement("div", { style: __assign({}, defaultStyle, animationStyle[status]), className: classNames, ref: function (div) { _this._element = div; } }, children)); | ||
return (React.createElement("div", { style: __assign({}, defaultStyle, animationStyle[status]), className: childAnimationContainerClassNames, ref: function (div) { _this._element = div; } }, children)); | ||
})); | ||
@@ -144,8 +144,8 @@ }; | ||
unmountOnExit: false, | ||
onEnter: util_1.default.noop, | ||
onEntering: util_1.default.noop, | ||
onEntered: util_1.default.noop, | ||
onExit: util_1.default.noop, | ||
onExiting: util_1.default.noop, | ||
onExited: util_1.default.noop, | ||
onEnter: kendo_react_common_1.noop, | ||
onEntering: kendo_react_common_1.noop, | ||
onEntered: kendo_react_common_1.noop, | ||
onExit: kendo_react_common_1.noop, | ||
onExiting: kendo_react_common_1.noop, | ||
onExited: kendo_react_common_1.noop, | ||
animationEnteringStyle: {}, | ||
@@ -152,0 +152,0 @@ animationEnteredStyle: {}, |
@@ -34,2 +34,3 @@ "use strict"; | ||
var Animation_1 = require("./Animation"); | ||
var kendo_react_common_1 = require("@progress/kendo-react-common"); | ||
var util_1 = require("./util"); | ||
@@ -60,3 +61,3 @@ /** | ||
_this.updateContainerDimensions = function (done) { | ||
if (done === void 0) { done = util_1.default.noop; } | ||
if (done === void 0) { done = kendo_react_common_1.noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
@@ -84,4 +85,4 @@ var style; | ||
Push.prototype.render = function () { | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, onEnter = _a.onEnter, onEntered = _a.onEntered, other = __rest(_a, ["children", "direction", "style", "onEnter", "onEntered"]); | ||
return (React.createElement(Animation_1.default, __assign({ onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "push-" + direction, style: __assign({ style: style }, this.state.style) }, other), children)); | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, other = __rest(_a, ["children", "direction", "style"]); | ||
return (React.createElement(Animation_1.default, __assign({}, other, { onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "push-" + direction, style: __assign({ style: style }, this.state.style) }), children)); | ||
}; | ||
@@ -88,0 +89,0 @@ return Push; |
@@ -34,2 +34,3 @@ "use strict"; | ||
var Animation_1 = require("./Animation"); | ||
var kendo_react_common_1 = require("@progress/kendo-react-common"); | ||
var util_1 = require("./util"); | ||
@@ -68,3 +69,3 @@ /** | ||
_this.updateContainerDimensions = function (element, done) { | ||
if (done === void 0) { done = util_1.default.noop; } | ||
if (done === void 0) { done = kendo_react_common_1.noop; } | ||
var content = ReactDOM.findDOMNode(element).firstChild; | ||
@@ -87,6 +88,6 @@ if (content) { | ||
Reveal.prototype.componentWillReceiveProps = function () { | ||
this.updateContainerDimensions(ReactDOM.findDOMNode(this), util_1.default.noop); | ||
this.updateContainerDimensions(ReactDOM.findDOMNode(this), kendo_react_common_1.noop); | ||
}; | ||
Reveal.prototype.render = function () { | ||
var _a = this.props, direction = _a.direction, children = _a.children, onEnter = _a.onEnter, onExit = _a.onExit, childFactory = _a.childFactory, other = __rest(_a, ["direction", "children", "onEnter", "onExit", "childFactory"]); | ||
var _a = this.props, direction = _a.direction, children = _a.children, childFactory = _a.childFactory, other = __rest(_a, ["direction", "children", "childFactory"]); | ||
var _b = this.state, maxHeight = _b.maxHeight, maxWidth = _b.maxWidth; | ||
@@ -110,3 +111,3 @@ var maxOffset; | ||
}; | ||
return (React.createElement(Animation_1.default, __assign({ childFactory: childFactory ? childFactory : factory, onEnter: this.componentWillEnter, onEntering: this.componentIsEntering, onExit: this.componentWillExit, animationEnteringStyle: animationEnteringStyle, transitionName: "reveal-" + direction }, other), children)); | ||
return (React.createElement(Animation_1.default, __assign({}, other, { childFactory: childFactory ? childFactory : factory, onEnter: this.componentWillEnter, onEntering: this.componentIsEntering, onExit: this.componentWillExit, animationEnteringStyle: animationEnteringStyle, transitionName: "reveal-" + direction }), children)); | ||
}; | ||
@@ -113,0 +114,0 @@ return Reveal; |
declare const _default: { | ||
noop: () => void; | ||
outerHeight: (element: any) => any; | ||
@@ -4,0 +3,0 @@ outerWidth: (element: any) => any; |
@@ -32,6 +32,2 @@ "use strict"; | ||
*/ | ||
var noop = function () { }; | ||
/** | ||
* @hidden | ||
*/ | ||
var styles = { | ||
@@ -140,3 +136,2 @@ 'animation-container': 'k-animation-container', | ||
exports.default = { | ||
noop: noop, | ||
outerHeight: outerHeight, | ||
@@ -143,0 +138,0 @@ outerWidth: outerWidth, |
@@ -34,2 +34,3 @@ "use strict"; | ||
var Animation_1 = require("./Animation"); | ||
var kendo_react_common_1 = require("@progress/kendo-react-common"); | ||
var util_1 = require("./util"); | ||
@@ -60,3 +61,3 @@ /** | ||
_this.updateContainerDimensions = function (done) { | ||
if (done === void 0) { done = util_1.default.noop; } | ||
if (done === void 0) { done = kendo_react_common_1.noop; } | ||
var content = ReactDOM.findDOMNode(_this).firstChild; | ||
@@ -84,4 +85,4 @@ var style; | ||
Zoom.prototype.render = function () { | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, onEnter = _a.onEnter, onEntered = _a.onEntered, other = __rest(_a, ["children", "direction", "style", "onEnter", "onEntered"]); | ||
return (React.createElement(Animation_1.default, __assign({ onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "zoom-" + direction, style: __assign({ style: style }, this.state.style) }, other), children)); | ||
var _a = this.props, children = _a.children, direction = _a.direction, style = _a.style, other = __rest(_a, ["children", "direction", "style"]); | ||
return (React.createElement(Animation_1.default, __assign({}, other, { onEnter: this.componentWillEnter, onEntered: this.componentDidEnter, transitionName: "zoom-" + direction, style: __assign({ style: style }, this.state.style) }), children)); | ||
}; | ||
@@ -88,0 +89,0 @@ return Zoom; |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-animation",["react","classnames","prop-types","react-transition-group","react-dom"],function(e){var t,n,i,r,o;function a(e){return e.__useDefault?e.default:e}return{setters:[function(e){t=a(e)},function(e){n=a(e)},function(e){i=a(e)},function(e){r=a(e)},function(e){o=a(e)}],execute:function(){!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=i(1);n.Animation=r.default;var o=i(5);n.AnimationChild=o.default;var a=i(8);n.Fade=a.default;var p=i(9);n.Expand=p.default;var s=i(10);n.Push=s.default;var l=i(12);n.Slide=l.default;var c=i(13);n.Zoom=c.default;var u=i(14);n.Reveal=u.default,function(t){for(var n in t)e(n,t[n])}(n)},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(5),u=n(6),d=n(7).default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,i=e.className,r=e.component,s=e.style,f=e.stackChildren,h=e.componentChildClassName,v=e.componentChildStyle,y=a(e,["children","childFactory","className","component","style","stackChildren","componentChildClassName","componentChildStyle"]),m={childFactory:n,className:l(d["animation-container"],i),component:r,style:s},x=o({position:f?"absolute":"initial"},v),O=p.Children.map(t,function(e){return p.createElement(c.default,o({},y,{style:x,className:h}),e)});return p.createElement(u.TransitionGroup,o({},m),O)},t}(p.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any,transitionName:s.string.isRequired,appear:s.bool.isRequired,enter:s.bool.isRequired,exit:s.bool.isRequired,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired},f.defaultProps={component:"div"},t.default=f},function(e,n){e.exports=t},function(e,t){e.exports=i},function(e,t){e.exports=n},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(6),u=n(7),d=u.default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,r=t.appear,s=t.enter,u=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,x=t.onEntering,O=t.onEntered,g=t.onExit,_=t.onExiting,E=t.onExited,k=t.mountOnEnter,b=t.unmountOnExit,w=t.animationEnteringStyle,j=t.animationEnteredStyle,P=t.animationExitingStyle,z=t.animationExitedStyle,D=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),C=l(y,d["child-animation-container"]),S=o({transitionDelay:"0ms"},i),N={entering:o({transitionDuration:h+"ms"},w),entered:o({},j),exiting:o({transitionDuration:v+"ms"},P),exited:o({},z)},W={in:this.props.in,appear:r,enter:s,exit:u,mountOnEnter:k,unmountOnExit:b,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExit:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){_&&_.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:d[f+"-appear"]||f+"-appear",appearActive:d[f+"-appear-active"]||f+"-appear-active",enter:d[f+"-enter"]||f+"-enter",enterActive:d[f+"-enter-active"]||f+"-enter-active",exit:d[f+"-exit"]||f+"-exit",exitActive:d[f+"-exit-active"]||f+"-exit-active"}};return p.createElement(c.CSSTransition,o({},W,D),function(t){return p.createElement("div",{style:o({},S,N[t]),className:C,ref:function(t){e._element=t}},n)})},t}(p.Component);f.propTypes={in:s.bool,children:s.oneOfType([s.arrayOf(s.element),s.element]),transitionName:s.string.isRequired,className:s.string,appear:s.bool,enter:s.bool,exit:s.bool,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired,mountOnEnter:s.bool,unmountOnExit:s.bool,animationEnteringStyle:s.object,animationEnteredStyle:s.object,animationExitingStyle:s.object,animationExitedStyle:s.object},f.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.default.noop,onEntering:u.default.noop,onEntered:u.default.noop,onExit:u.default.noop,onExiting:u.default.noop,onExited:u.default.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t.default=f},function(e,t){e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={noop:function(){},outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),i=parseFloat(t.marginBottom);return e.offsetHeight+n+i},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),i=parseFloat(t.marginRight);return e.offsetWidth+n+i},styles:{"animation-container":"k-animation-container","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return p.createElement(l.default,o({},{transitionName:"fade"},n),t)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"expand-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:u.default.outerHeight(i)+"px",width:u.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=(e.onEnter,e.onEntered,a(e,["children","direction","style","onEnter","onEntered"]));return p.createElement(c.default,o({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)},r),t)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,style:l.any,stackChildren:l.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t.default=d},function(e,t){e.exports=o},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"slide-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.default.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:u.default.outerHeight(i)+"px",width:u.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=(e.onEnter,e.onEntered,a(e,["children","direction","style","onEnter","onEntered"]));return p.createElement(c.default,o({onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)},r),t)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["in","out"]),component:l.string,style:l.any,stackChildren:l.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t.default=d},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(7),d=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentIsEntering=function(e){var t=n.props.onEntering;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentWillExit=function(e){var t=n.props.onExit;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e,t){void 0===t&&(t=u.default.noop);var i=s.findDOMNode(e).firstChild;if(i){var r=u.default.outerHeight(i),o=u.default.outerWidth(i);n.setState({maxHeight:r,maxWidth:o},t)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(s.findDOMNode(this),u.default.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,r=(t.onEnter,t.onExit,t.childFactory),s=a(t,["direction","children","onEnter","onExit","childFactory"]),l=this.state,u=l.maxHeight,d=l.maxWidth,f={maxHeight:(e="vertical"===n?{maxHeight:u?u+"px":null}:{maxWidth:d?d+"px":null}).maxHeight,maxWidth:e.maxWidth};return p.createElement(c.default,o({childFactory:r||function(t){return t.props.in?t:p.cloneElement(t,o({},t.props,{style:o({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:f,transitionName:"reveal-"+n},s),i)},t}(p.Component);d.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,style:l.any},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=d}])}}}); | ||
System.register("@progress/kendo-react-animation",["react","react-transition-group","prop-types","@progress/kendo-react-common","react-dom"],function(e){var t,n,i,r,o;function a(e){return e.__useDefault?e.default:e}return{setters:[function(e){t=a(e)},function(e){n=a(e)},function(e){i=a(e)},function(e){r=a(e)},function(e){o=a(e)}],execute:function(){!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=i(1);n.Animation=r.default;var o=i(5);n.AnimationChild=o.default;var a=i(8);n.Fade=a.default;var p=i(9);n.Expand=p.default;var s=i(10);n.Push=s.default;var l=i(12);n.Slide=l.default;var c=i(13);n.Zoom=c.default;var u=i(14);n.Reveal=u.default,function(t){for(var n in t)e(n,t[n])}(n)},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(5),u=n(6),d=n(7).default.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,i=e.className,r=e.component,s=e.style,f=e.stackChildren,h=e.componentChildClassName,v=e.componentChildStyle,y=a(e,["children","childFactory","className","component","style","stackChildren","componentChildClassName","componentChildStyle"]),m={childFactory:n,className:l.classNames(d["animation-container"],i),component:r,style:s},x=o({position:f?"absolute":"initial"},v),O=p.Children.map(t,function(e){return p.createElement(c.default,o({},y,{style:x,className:h}),e)});return p.createElement(u.TransitionGroup,o({},m),O)},t}(p.Component);f.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any,transitionName:s.string.isRequired,appear:s.bool.isRequired,enter:s.bool.isRequired,exit:s.bool.isRequired,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired},f.defaultProps={component:"div"},t.default=f},function(e,n){e.exports=t},function(e,t){e.exports=i},function(e,t){e.exports=r},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(4),c=n(6),u=n(7).default.styles,d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,r=t.appear,s=t.enter,d=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,x=t.onEntering,O=t.onEntered,g=t.onExit,_=t.onExiting,E=t.onExited,k=t.mountOnEnter,b=t.unmountOnExit,w=t.animationEnteringStyle,j=t.animationEnteredStyle,P=t.animationExitingStyle,z=t.animationExitedStyle,D=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),C=l.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:k,unmountOnExit:b,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExit:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){_&&_.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear: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(c.CSSTransition,o({},W,D),function(t){return p.createElement("div",{style:o({},S,N[t]),className:C,ref:function(t){e._element=t}},n)})},t}(p.Component);d.propTypes={in:s.bool,children:s.oneOfType([s.arrayOf(s.element),s.element]),transitionName:s.string.isRequired,className:s.string,appear:s.bool,enter:s.bool,exit:s.bool,transitionEnterDuration:s.number.isRequired,transitionExitDuration:s.number.isRequired,mountOnEnter:s.bool,unmountOnExit:s.bool,animationEnteringStyle:s.object,animationEnteredStyle:s.object,animationExitingStyle:s.object,animationExitedStyle:s.object},d.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:l.noop,onEntering:l.noop,onEntered:l.noop,onExit:l.noop,onExiting:l.noop,onExited:l.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t.default=d},function(e,t){e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),i=parseFloat(t.marginBottom);return e.offsetHeight+n+i},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),i=parseFloat(t.marginRight);return e.offsetWidth+n+i},styles:{"animation-container":"k-animation-container","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return p.createElement(l.default,o({},{transitionName:"fade"},n),t)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"expand-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(4),d=n(7),f=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:d.default.outerHeight(i)+"px",width:d.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=a(e,["children","direction","style"]);return p.createElement(c.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:o({style:i},this.state.style)}),t)},t}(p.Component);f.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,style:l.any,stackChildren:l.bool},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t.default=f},function(e,t){e.exports=o},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(3),l=n(1),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=a(e,["direction","children"]),r={transitionName:"slide-"+t};return p.createElement(l.default,o({},r,i),n)},t}(p.Component);c.propTypes={children:s.oneOfType([s.arrayOf(s.element),s.element]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,style:s.any},c.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(4),d=n(7),f=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.componentDidEnter=function(e){var t=n.props.onEntered;n.updateContainerDimensions(function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e){void 0===e&&(e=u.noop);var t,i=s.findDOMNode(n).firstChild;n.props.stackChildren&&i&&(t={height:d.default.outerHeight(i)+"px",width:d.default.outerWidth(i)+"px"});n.setState({style:t},e)},n.state={style:null},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},t.prototype.componentDidMount=function(){this.updateContainerDimensions()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=e.style,r=a(e,["children","direction","style"]);return p.createElement(c.default,o({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:o({style:i},this.state.style)}),t)},t}(p.Component);f.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["in","out"]),component:l.string,style:l.any,stackChildren:l.bool},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t.default=f},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var p=n(2),s=n(11),l=n(3),c=n(1),u=n(4),d=n(7),f=function(e){function t(t){var n=e.call(this,t)||this;return n.componentWillEnter=function(e){var t=n.props.onEnter;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentIsEntering=function(e){var t=n.props.onEntering;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.componentWillExit=function(e){var t=n.props.onExit;n.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},n.updateContainerDimensions=function(e,t){void 0===t&&(t=u.noop);var i=s.findDOMNode(e).firstChild;if(i){var r=d.default.outerHeight(i),o=d.default.outerWidth(i);n.setState({maxHeight:r,maxWidth:o},t)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return r(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(s.findDOMNode(this),u.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,r=t.childFactory,s=a(t,["direction","children","childFactory"]),l=this.state,u=l.maxHeight,d=l.maxWidth,f={maxHeight:(e="vertical"===n?{maxHeight:u?u+"px":null}:{maxWidth:d?d+"px":null}).maxHeight,maxWidth:e.maxWidth};return p.createElement(c.default,o({},s,{childFactory:r||function(t){return t.props.in?t:p.cloneElement(t,o({},t.props,{style:o({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:f,transitionName:"reveal-"+n}),i)},t}(p.Component);f.propTypes={children:l.oneOfType([l.arrayOf(l.element),l.element]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,style:l.any},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t.default=f}])}}}); |
{ | ||
"name": "@progress/kendo-react-animation", | ||
"description": "Kendo UI for React Animation package", | ||
"version": "0.4.0-dev.201802141312", | ||
"version": "0.4.0-dev.201802150802", | ||
"repository": { | ||
@@ -30,9 +30,6 @@ "type": "git", | ||
"dependencies": { | ||
"classnames": "^2.2.3", | ||
"@progress/kendo-react-common": "0.4.0-dev.201802150802", | ||
"prop-types": "^15.6.0", | ||
"react-transition-group": "^2.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/classnames": "^2.2.0" | ||
}, | ||
"@progress": { | ||
@@ -39,0 +36,0 @@ "friendlyName": "Animations", |
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
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
0
267551
4528
+ Added@progress/kendo-react-common@0.4.0-dev.201802150802(transitive)
- Removedclassnames@^2.2.3
- Removedclassnames@2.5.1(transitive)