@progress/kendo-react-layout
Advanced tools
Comparing version 1.2.0-dev.201806201350 to 1.2.0-dev.201806211309
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-dom","react-transition-group"],t):"object"==typeof exports?exports.KendoReactLayout=t(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):e.KendoReactLayout=t(e.PropTypes,e.React,e.ReactDom,e.ReactTransitionGroup)}(window,function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t);var r,i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?i.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(" ")},o=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},a={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=function(){},p=n(1),c=n(0),l=(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(t){var n=e.call(this,t)||this;return n.handleFocus=function(e){n.setState({focused:!0})},n.handleBlur=function(e){n.setState({focused:!1})},n.state={focused:!1},n}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,r=e.className,o=e.value,a=e.placeholder,s=e.valid,c=e.style,l=i({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||a),"k-state-invalid":!s&&void 0!==s},r);return p.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?p.createElement("label",{htmlFor:n,className:"k-label"},t):p.createElement("span",{className:"k-label"},t):null)},t.propTypes={label:c.string,id:c.string,value:c.string,placeholder:c.string,valid:c.bool},t}(p.Component);n.d(t,"classNames",function(){return i}),n.d(t,"guid",function(){return o}),n.d(t,"Keys",function(){return a}),n.d(t,"noop",function(){return s}),n.d(t,"FloatingLabel",function(){return u})},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(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,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(0),p=n(2),c=n(6);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleItemClick=function(){var e=t.props,n=e.onSelect,r=e.disabled,i=e.id;n&&!r&&n.call(void 0,{uniquePrivateKey:t.props.uniquePrivateKey,id:i,target:t})},t}return i(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,r=t.children,i=t.title,s=t.uniquePrivateKey,l=t.disabled,u=t.selected,d=t.focused,f=t.expanded,h=t.className,v=t.root,y=t.headerClassName,m=t.animation,b={role:"treeitem","aria-disabled":l,"aria-hidden":!l&&!f,"aria-selected":!l&&u,"aria-expanded":!l&&f&&!!r},x=p.classNames({"k-item":!0,"k-state-default":!l,"k-state-expanded":f&&!!r,"k-state-disabled":l},h),g=p.classNames({"k-link":!0,"k-header":v,"k-state-selected":!l&&u,"k-state-focused":!l&&d},y),O=p.classNames(((e={})["k-icon"]=!0,e["k-i-arrow-n"]=f&&!!r,e["k-panelbar-collapse"]=f&&!!r,e["k-i-arrow-s"]=!f&&!!r,e["k-panelbar-expand"]=!f&&!!r,e)),_=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass;if(t)return a.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var i=p.classNames("k-icon","k-i-"+n);return a.createElement("span",{role:"presentation",className:i})}return r?a.createElement("span",{role:"presentation",className:r}):null}(this.props),k=!l&&r?a.createElement("span",{className:O}):null,E=!l&&f?a.createElement("div",{role:"group",className:"k-panel k-group"},r):null,P=void 0!==m&&!m||l||!r?E:a.createElement(c.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:s+"_animation",style:{position:"static"},children:E});return a.createElement("div",o({id:n,className:x},b),a.createElement("span",{className:g,onClick:this.handleItemClick},_,i,k),P)},t.propTypes={animation:s.bool,children:s.any,className:s.string,expanded:s.bool,disabled:s.bool,onSelect:s.func,selected:s.bool,root:s.bool,title:s.oneOfType([s.string,s.element]),id:s.oneOfType([s.string,s.number]),focused:s.bool},t.defaultProps={title:"Untitled"},t}(a.PureComponent);t.default=l},function(e,t,n){"use strict";n.r(t);var r,i=n(1),o=n(0),a=n(2),s=n(4),p={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},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"}},c=(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},d=p.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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,o=t.appear,p=t.enter,c=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,b=t.onEntering,x=t.onEntered,g=t.onExit,O=t.onExiting,_=t.onExited,k=t.mountOnEnter,E=t.unmountOnExit,P=t.animationEnteringStyle,w=t.animationEnteredStyle,j=t.animationExitingStyle,S=t.animationExitedStyle,C=u(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),N=Object(a.classNames)(y,d["child-animation-container"]),D=l({transitionDelay:"0ms"},r),T={entering:l({transitionDuration:h+"ms"},P),entered:l({},w),exiting:l({transitionDuration:v+"ms"},j),exited:l({},S)},K={in:this.props.in,appear:o,enter:p,exit:c,mountOnEnter:k,unmountOnExit:E,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExit:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExited:function(t){_&&_.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 i.createElement(s.CSSTransition,l({},K,C),function(t){return i.createElement("div",{style:l({},D,T[t]),className:N,ref:function(t){e._element=t}},n)})},t.propTypes={in:o.bool,children:o.oneOfType([o.arrayOf(o.node),o.node]),transitionName:o.string.isRequired,className:o.string,appear:o.bool,enter:o.bool,exit:o.bool,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired,mountOnEnter:o.bool,unmountOnExit:o.bool,animationEnteringStyle:o.object,animationEnteredStyle:o.object,animationExitingStyle:o.object,animationExitedStyle:o.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:a.noop,onEntering:a.noop,onEntered:a.noop,onExit:a.noop,onExiting:a.noop,onExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(i.Component),h=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)}}(),v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},y=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},m=p.styles,b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,r=e.className,o=e.component,p=e.id,c=e.style,l=e.stackChildren,u=e.componentChildClassName,d=e.componentChildStyle,h=y(e,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),b={childFactory:n,className:Object(a.classNames)(m["animation-container"],r),component:o,id:p,style:c},x=v({position:l?"absolute":"initial"},d),g=i.Children.map(t,function(e){return i.createElement(f,v({},h,{style:x,className:u}),e)});return i.createElement(s.TransitionGroup,v({},b),g)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any,transitionName:o.string.isRequired,appear:o.bool.isRequired,enter:o.bool.isRequired,exit:o.bool.isRequired,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired},t.defaultProps={component:"div"},t}(i.Component),x=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)}}(),g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},O=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return x(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=O(e,["children"]);return i.createElement(b,g({},{transitionName:"fade"},n),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(i.Component),k=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)}}(),E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},P=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=P(e,["direction","children"]),o={transitionName:"expand-"+t};return i.createElement(b,E({},o,r),n)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(i.Component),j=n(3),S=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)}}(),C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},N=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},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=a.noop);var t=j.findDOMNode(n);if(t){var r,i=t.firstChild;if(n.props.stackChildren&&i)r={height:p.outerHeight(i)+"px",width:p.outerWidth(i)+"px"};n.setState({style:r},e)}},n.state={style:null},n}return S(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,o=N(e,["children","direction","style"]);return i.createElement(b,C({},o,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:C({style:r},this.state.style)}),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["up","down","left","right"]),component:o.string,id:o.string,style:o.any,stackChildren:o.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(i.Component),T=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)}}(),K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},z=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=z(e,["direction","children"]),o={transitionName:"slide-"+t};return i.createElement(b,K({},o,r),n)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["up","down","left","right"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(i.Component),F=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)}}(),M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},q=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},W=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=a.noop);var t=j.findDOMNode(n);if(t){var r,i=t.firstChild;if(n.props.stackChildren&&i)r={height:p.outerHeight(i)+"px",width:p.outerWidth(i)+"px"};n.setState({style:r},e)}},n.state={style:null},n}return F(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,o=q(e,["children","direction","style"]);return i.createElement(b,M({},o,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:M({style:r},this.state.style)}),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["in","out"]),component:o.string,id:o.string,style:o.any,stackChildren:o.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(i.Component),I=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)}}(),R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},B=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},H=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=a.noop);var r=j.findDOMNode(e);if(r){var i=r.firstChild;if(i){var o=p.outerHeight(i),s=p.outerWidth(i);n.setState({maxHeight:o,maxWidth:s},t)}}},n.state={maxHeight:void 0,maxWidth:void 0},n}return I(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(j.findDOMNode(this),a.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,o=t.childFactory,a=B(t,["direction","children","childFactory"]),s=this.state,p=s.maxHeight,c=s.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:p?p+"px":null}:{maxWidth:c?c+"px":null}).maxHeight,maxWidth:e.maxWidth};return i.createElement(b,R({},a,{childFactory:o||function(t){return t.props.in?t:i.cloneElement(t,R({},t.props,{style:R({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:l,transitionName:"reveal-"+n}),r)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(i.Component);n.d(t,"Animation",function(){return b}),n.d(t,"AnimationChild",function(){return f}),n.d(t,"Fade",function(){return _}),n.d(t,"Expand",function(){return w}),n.d(t,"Push",function(){return D}),n.d(t,"Slide",function(){return A}),n.d(t,"Zoom",function(){return W}),n.d(t,"Reveal",function(){return H})},function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(5),a=function(e){return e.map(function(e,t){var n;return e.content&&(n=e.content),e.children&&(n=a(e.children)),i.createElement(o.default,r({},e,{children:n,key:e.id||t}))})};t.renderChildren=function(e,n,a,s,p,c,l){return void 0===e&&(e=!0),void 0===p&&(p=!0),void 0===c&&(c=!0),void 0===l&&(l=[]),i.Children.map(s,function(s,u){if(s.type===o.default){var d=void 0,f=l.length?l[l.length-1]+"."+u:"."+u;return s.props.children&&(d=t.renderChildren(e,n,a,s.props.children,(n.expanded||[]).indexOf(f)>-1&&p,!1,l.concat([f]))),i.cloneElement(s,r({},s.props,{animation:void 0!==s.props.animation?s.props.animation:e,id:s.props.id||"k-panelbar-item-default-"+f,uniquePrivateKey:f,parentUniquePrivateKey:l,parentExpanded:p,root:c,expanded:(n.expanded||[]).indexOf(f)>-1&&p,focused:n.focused===f&&n.wrapperFocused,selected:n.selected===f,children:d,onSelect:a}))}return i.createElement("div",{className:"k-content"},s)})},t.getInitialState=function(e,n,r,a,s,p){return void 0===r&&(r={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===a&&(a=!0),void 0===s&&(s=!0),void 0===p&&(p=[]),i.Children.map(e.children,function(e,i){if(e.type===o.default){var a=p.length?p[p.length-1]+"."+i:"."+i;!e.props.disabled&&s&&(e.props.selected&&(r.selected=a),e.props.focused&&(r.focused=a),e.props.expanded&&("multiple"===n?r.expanded.push(a):"single"===n&&(r.expanded=[a])),e.props.children&&(r=t.getInitialState(e.props,n,r,!1,!!e.props.expanded,p.concat([a]))))}}),r},t.flatVisibleItems=function e(t,n,r){return void 0===n&&(n=[]),void 0===r&&(r=null),(t||[]).forEach(function(t){t.disabled||(n.push(t),t.expanded&&t.children&&e(t.children,n))}),n},t.isPresent=function(e){return null!==e&&void 0!==e};var s={mapItemsToComponents:a};t.default=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(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,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(0),p=n(6),c=n(2),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=c.classNames("k-content","k-state-active");return a.createElement("div",{className:e,style:this.props.style},this.renderContent(this.props.children))},t.prototype.renderContent=function(e){var t={role:"tabpanel","aria-expanded":!0},n=a.Children.toArray(e)[this.props.selected];return this.props.animation?a.createElement(p.Fade,{style:{position:"initial"},appear:!0},a.createElement("div",o({},t,{key:this.props.index}),n.props.children)):a.createElement("div",o({},t,{key:this.props.index}),n.props.children)},t.propTypes={animation:s.bool,children:s.oneOfType([s.element,s.arrayOf(s.element)]),selected:s.number,style:s.object},t}(a.Component);t.default=l},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(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,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(0),p=n(2),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onClick=function(){t.props.onSelect&&t.props.onSelect(t.props.index)},t}return i(t,e),t.prototype.render=function(){var e,t=this.props,n=t.active,r=t.disabled,i=t.title,s=void 0===i?"Untitled":i,c={"aria-selected":n,role:"tab",onClick:r?void 0:this.onClick},l=p.classNames(((e={})["k-item"]=!0,e["k-state-default"]=!(r||n),e["k-state-disabled"]=r,e["k-state-active"]=n,e["k-tab-on-top"]=n,e));return a.createElement("li",o({},c,{className:l}),a.createElement("span",{className:"k-link"},s))},t.propTypes={active:s.bool,disabled:s.bool,index:s.number,onSelect:s.func,title:s.oneOfType([s.string,s.element])},t}(a.Component);t.default=c},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(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,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(0),p=n(9),c=n(2),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.selected,i=n.children,s=n.onSelect,l=n.onKeyDown,u=a.Children.count(i);i&&(e=(t=u,Array.apply(null,Array(t))).map(function(e,t,n){return{first:0===t,last:t===n.length-1}}).map(function(e,t){var n={active:r===t,disabled:i[t].props.disabled,index:t,title:i[t].props.title,onSelect:s};return a.createElement(p.default,o({key:t},n))}));var d=c.classNames("k-tabstrip-items","k-reset");return a.createElement("ul",{className:d,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:l},e)},t.propTypes={children:s.oneOfType([s.element,s.arrayOf(s.element)]),onSelect:s.func,onKeyDown:s.func,selected:s.number,tabIndex:s.number},t}(a.Component);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(2);!function(e){e[e.Undefined=0]="Undefined",e[e.Toggle=1]="Toggle",e[e.Next=2]="Next",e[e.Previous=3]="Previous"}(r=t.NavigationAction||(t.NavigationAction={}));var o=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n=e.keyCode,o=r.Undefined;switch(n){case i.Keys.left:o=t?r.Next:r.Previous;break;case i.Keys.up:o=r.Previous;break;case i.Keys.right:o=t?r.Previous:r.Next;break;case i.Keys.down:o=r.Next;break;case i.Keys.space:case i.Keys.enter:o=r.Toggle;break;default:o=r.Undefined}o!==r.Undefined&&e.preventDefault(),this.onNavigate(o)},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){var i=this;this.flatChildren=function(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(t.push(e),e.props.children&&i.flatChildren(e.props.children,t))}),t},this.flatVisibleChildren=function(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&i.flatVisibleChildren(e.props.children,t))}),t},this.onSelect=e,this.onFocus=t,this.expandMode=n}return e.prototype.select=function(e,t,n){var i,o;switch(this.flatChildren(r.Children.toArray(t)).forEach(function(t){t.props.uniquePrivateKey===e&&(i=t)}),this.expandMode){case"single":o=i.props.parentUniquePrivateKey.concat([i.props.uniquePrivateKey]);break;case"multiple":var a=(o=n.slice()).indexOf(i.props.uniquePrivateKey);-1===a?o.push(i.props.uniquePrivateKey):o.splice(a,1);break;default:o=n.slice()}this.onSelect(i,o)},e.prototype.focus=function(e,t,n){var i,o=this.flatVisibleChildren(r.Children.toArray(n));o.forEach(function(n,r){if(n.props.uniquePrivateKey===e){var a=r+t<0?0:r+t>=o.length?o.length-1:r+t;i=o[a]}}),this.onFocus(i)},e.prototype.setExpandMode=function(e){this.expandMode=e},e}();t.default=i},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(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,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(0),p=n(5),c=n(7),l=n(12),u=n(11),d=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.handleSelect=function(e){n._selectionService.select(e.uniquePrivateKey,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children))},n.onSelect=function(e,t){n.setState({selected:e.props.uniquePrivateKey,expanded:t},function(){n.props.onSelect&&n.props.onSelect.call(void 0,{target:e,action:"select"})})},n.onFocus=function(e){n.activeDescendant=e.props.id,n.setState({focused:e.props.uniquePrivateKey})},n.onNavigate=function(e){switch(e){case u.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Toggle:n._selectionService.select(n.state.focused,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded)}},n.handleWrapperFocus=function(e){n.setState({wrapperFocused:"focus"===e.nativeEvent.type})},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;n._navigationService.navigate(e,t)},n.state=c.getInitialState(t,t.expandMode||"multiple"),n._selectionService=new l.default(n.onSelect,n.onFocus,n.props.expandMode||"multiple"),n._navigationService=new u.default(n.onNavigate),n}return i(t,e),t.prototype.componentWillReceiveProps=function(e){e.expandMode!==this.props.expandMode&&this._selectionService.setExpandMode(e.expandMode),e.selected!==this.state.selected&&void 0!==e.selected&&this.setState({selected:e.selected})},t.prototype.render=function(){var e=this,t={"aria-activedescendant":this.activeDescendant},n=c.renderChildren(this.props.animation,this.state,this.handleSelect,this.props.children);return a.createElement("div",o({ref:function(t){e._element=t},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperFocus,className:"k-widget k-panelbar k-reset k-header"},t),n)},t.propTypes={animation:s.bool,children:function(e,t){var n=e[t];if(n)if(n instanceof Array)for(var r=0,i=n;r<i.length;r++){var o=i[r];if(!o.type||o.type!==p.default)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==p.default)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.")},dir:s.string,selected:s.string,expanded:s.arrayOf(s.string),focused:s.string,expandMode:s.oneOf(["single","multiple"]),className:s.string,onSelect:s.func},t.defaultProps={expandMode:"multiple",animation:!0},t}(a.Component);t.default=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propTypes={disabled:a.bool,children:a.oneOfType([a.element,a.node]),title:a.oneOfType([a.string,a.element,a.node])},t}(o.Component);t.default=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=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}r(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,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(0),p=n(10),c=n(8),l=n(2),u=function(e){function t(){var t,n=null!==e&&e.apply(this,arguments)||this;return n._element=null,n.keyBinding=((t={})[l.Keys.left]=function(){return n.prevNavigatableTab()},t[l.Keys.right]=function(){return n.nextNavigatableTab()},t[l.Keys.down]=function(){return n.nextNavigatableTab()},t[l.Keys.up]=function(){return n.prevNavigatableTab()},t[l.Keys.home]=function(){return 0},t[l.Keys.end]=function(){return a.Children.count(n.props.children)-1},t),n.onSelect=function(e){n.props.selected!==e&&n.props.onSelect&&n.props.onSelect({selected:e})},n.onKeyDown=function(e){var t;switch(e.keyCode){case l.Keys.left:t=n.keyBinding[n.invertKeys(l.Keys.left,l.Keys.right)];break;case l.Keys.right:t=n.keyBinding[n.invertKeys(l.Keys.right,l.Keys.left)];break;case l.Keys.up:t=n.keyBinding[l.Keys.up];break;case l.Keys.down:t=n.keyBinding[l.Keys.down]}t&&(e.preventDefault(),n.onSelect(t()))},n.renderContent=function(e){var t=n.props,r=t.selected,i=t.children,s=t.tabContentStyle;return r<a.Children.count(i)&&r>-1?a.createElement(c.default,o({index:r},e,{style:s})):null},n.firstNavigatableTab=function(){var e=n.props.children,t=a.Children.count(e);if(e)for(var r=0;r<t;r++)if(!e[r].props.disabled)return r},n.lastNavigatableTab=function(){var e=n.props.children,t=a.Children.count(e);if(e)for(var r=t-1;r>0;r--)if(!e[r].props.disabled)return r},n.prevNavigatableTab=function(){var e=n.props,t=e.children,r=e.selected,i=r?r-1:-1;if(i<0)return n.lastNavigatableTab();if(t)for(var o=i;o>-1;o--){if(!t[o].props.disabled)return o;if(0===o)return n.lastNavigatableTab()}},n.nextNavigatableTab=function(){var e=n.props,t=e.children,r=e.selected,i=r?r+1:1,o=a.Children.count(t);if(i>=o)return n.firstNavigatableTab();if(t)for(var s=i;s<o;s++){if(!t[s].props.disabled)return s;if(s+1===o)return n.firstNavigatableTab()}},n}return i(t,e),t.prototype.render=function(){var e,t=this,n=o({},this.props,{onKeyDown:this.onKeyDown,selected:this.props.selected,onSelect:this.onSelect}),r=n.tabPosition,i=n.tabIndex,s=void 0===i?0:i,c="bottom"===r,u=l.classNames(((e={})["k-widget"]=!0,e["k-header"]=!0,e["k-floatwrap"]=!0,e["k-tabstrip"]=!0,e["k-tabstrip-left"]="left"===r,e["k-tabstrip-right"]="right"===r,e["k-tabstrip-bottom"]="bottom"===r,e["k-tabstrip-top"]="top"===r,e));return a.createElement("div",{ref:function(e){t._element=e},dir:this.props.dir,className:u,style:this.props.style},!c&&a.createElement(p.default,o({},n,{tabIndex:s})),this.renderContent(n),c&&a.createElement(p.default,o({},n,{tabIndex:s})))},t.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction||!1?t:e},t.propTypes={animation:s.bool,children:s.oneOfType([s.element,s.arrayOf(s.element)]),onSelect:s.func,selected:s.number,style:s.object,tabContentStyle:s.object,tabPosition:s.string,tabIndex:s.number,dir:s.string},t.defaultProps={animation:!0,tabPosition:"top"},t}(a.Component);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);t.TabStrip=r.default;var i=n(8);t.TabStripContent=i.default;var o=n(10);t.TabStripNavigation=o.default;var a=n(9);t.TabStripNavigationItem=a.default;var s=n(14);t.TabStripTab=s.default;var p=n(13);t.PanelBar=p.default;var c=n(5);t.PanelBarItem=c.default;var l=n(7);t.PanelBarUtils=l.default}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-dom","react-transition-group"],t):"object"==typeof exports?exports.KendoReactLayout=t(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group")):e.KendoReactLayout=t(e.PropTypes,e.React,e.ReactDom,e.ReactTransitionGroup)}(window,function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t);var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?r.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(" ")},i=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},o={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},a=function(){},s=n(1),p=n(0),c=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)}}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.handleFocus=function(e){n.setState({focused:!0})},n.handleBlur=function(e){n.setState({focused:!1})},n.state={focused:!1},n}return c(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,i=e.className,o=e.value,a=e.placeholder,p=e.valid,c=e.style,l=r({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||a),"k-state-invalid":!p&&void 0!==p},i);return s.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?s.createElement("label",{htmlFor:n,className:"k-label"},t):s.createElement("span",{className:"k-label"},t):null)},t.propTypes={label:p.string,id:p.string,value:p.string,placeholder:p.string,valid:p.bool},t}(s.Component);n.d(t,"classNames",function(){return r}),n.d(t,"guid",function(){return i}),n.d(t,"Keys",function(){return o}),n.d(t,"noop",function(){return a}),n.d(t,"FloatingLabel",function(){return l})},function(e,t){e.exports=n},function(e,t){e.exports=r},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++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(2),p=n(6);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleItemClick=function(){var e=t.props,n=e.onSelect,r=e.disabled,i=e.id;n&&!r&&n.call(void 0,{uniquePrivateKey:t.props.uniquePrivateKey,id:i,target:t})},t}return r(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,r=t.children,a=t.title,c=t.uniquePrivateKey,l=t.disabled,u=t.selected,d=t.focused,f=t.expanded,h=t.className,v=t.root,y=t.headerClassName,m=t.animation,b={role:"treeitem","aria-disabled":l,"aria-hidden":!l&&!f,"aria-selected":!l&&u,"aria-expanded":!l&&f&&!!r},x=s.classNames({"k-item":!0,"k-state-default":!l,"k-state-expanded":f&&!!r,"k-state-disabled":l},h),g=s.classNames({"k-link":!0,"k-header":v,"k-state-selected":!l&&u,"k-state-focused":!l&&d},y),O=s.classNames(((e={})["k-icon"]=!0,e["k-i-arrow-n"]=f&&!!r,e["k-panelbar-collapse"]=f&&!!r,e["k-i-arrow-s"]=!f&&!!r,e["k-panelbar-expand"]=!f&&!!r,e)),_=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass;if(t)return o.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var i=s.classNames("k-icon","k-i-"+n);return o.createElement("span",{role:"presentation",className:i})}return r?o.createElement("span",{role:"presentation",className:r}):null}(this.props),k=!l&&r?o.createElement("span",{className:O}):null,E=!l&&f?o.createElement("div",{role:"group",className:"k-panel k-group"},r):null,P=void 0!==m&&!m||l||!r?E:o.createElement(p.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:c+"_animation",style:{position:"static"},children:E});return o.createElement("div",i({id:n,className:x},b),o.createElement("span",{className:g,onClick:this.handleItemClick},_,a,k),P)},t.propTypes={animation:a.bool,children:a.any,className:a.string,expanded:a.bool,disabled:a.bool,onSelect:a.func,selected:a.bool,root:a.bool,title:a.oneOfType([a.string,a.element]),id:a.oneOfType([a.string,a.number]),focused:a.bool},t.defaultProps={title:"Untitled"},t}(o.PureComponent);t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(0),o=n(2),a=n(4),s={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},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"}},p=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)}}(),c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},l=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},u=s.styles,d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(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,s=t.appear,p=t.enter,d=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,b=t.onEntering,x=t.onEntered,g=t.onExit,O=t.onExiting,_=t.onExited,k=t.mountOnEnter,E=t.unmountOnExit,P=t.animationEnteringStyle,w=t.animationEnteredStyle,j=t.animationExitingStyle,S=t.animationExitedStyle,C=l(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),N=Object(o.classNames)(y,u["child-animation-container"]),D=c({transitionDelay:"0ms"},i),T={entering:c({transitionDuration:h+"ms"},P),entered:c({},w),exiting:c({transitionDuration:v+"ms"},j),exited:c({},S)},K={in:this.props.in,appear:s,enter:p,exit:d,mountOnEnter:k,unmountOnExit:E,timeout:{enter:h,exit:v},onEnter:function(t){m&&m.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExit:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExited:function(t){_&&_.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 r.createElement(a.CSSTransition,c({},K,C),function(t){return r.createElement("div",{style:c({},D,T[t]),className:N,ref:function(t){e._element=t}},n)})},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:o.noop,onEntering:o.noop,onEntered:o.noop,onExit:o.noop,onExiting:o.noop,onExited:o.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(r.Component),f=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)}}(),h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},v=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},y=s.styles,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.childFactory,i=e.className,s=e.component,p=e.id,c=e.style,l=e.stackChildren,u=e.componentChildClassName,f=e.componentChildStyle,m=v(e,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),b={childFactory:n,className:Object(o.classNames)(y["animation-container"],i),component:s,id:p,style:c},x=h({position:l?"absolute":"initial"},f),g=r.Children.map(t,function(e){return r.createElement(d,h({},m,{style:x,className:u}),e)});return r.createElement(a.TransitionGroup,h({},b),g)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(r.Component),b=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)}}(),x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},g=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=g(e,["children"]);return r.createElement(m,x({},{transitionName:"fade"},n),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(r.Component),_=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)}}(),k=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},E=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=E(e,["direction","children"]),o={transitionName:"expand-"+t};return r.createElement(m,k({},o,i),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(r.Component),w=n(3),j=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)}}(),S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},C=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},N=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=o.noop);var t=w.findDOMNode(n);if(t){var r,i=t.firstChild;if(n.props.stackChildren&&i)r={height:s.outerHeight(i)+"px",width:s.outerWidth(i)+"px"};n.setState({style:r},e)}},n.state={style:null},n}return j(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,o=C(e,["children","direction","style"]);return r.createElement(m,S({},o,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:S({style:i},this.state.style)}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(r.Component),D=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)}}(),T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},K=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=K(e,["direction","children"]),o={transitionName:"slide-"+t};return r.createElement(m,T({},o,i),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(r.Component),A=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)}}(),F=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},M=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},q=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=o.noop);var t=w.findDOMNode(n);if(t){var r,i=t.firstChild;if(n.props.stackChildren&&i)r={height:s.outerHeight(i)+"px",width:s.outerWidth(i)+"px"};n.setState({style:r},e)}},n.state={style:null},n}return A(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,o=M(e,["children","direction","style"]);return r.createElement(m,F({},o,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:F({style:i},this.state.style)}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["in","out"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(r.Component),W=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=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},R=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){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},B=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=o.noop);var r=w.findDOMNode(e);if(r){var i=r.firstChild;if(i){var a=s.outerHeight(i),p=s.outerWidth(i);n.setState({maxHeight:a,maxWidth:p},t)}}},n.state={maxHeight:void 0,maxWidth:void 0},n}return W(t,e),t.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(w.findDOMNode(this),o.noop)},t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,o=t.childFactory,a=R(t,["direction","children","childFactory"]),s=this.state,p=s.maxHeight,c=s.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:p?p+"px":null}:{maxWidth:c?c+"px":null}).maxHeight,maxWidth:e.maxWidth};return r.createElement(m,I({},a,{childFactory:o||function(t){return t.props.in?t:r.cloneElement(t,I({},t.props,{style:I({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:l,transitionName:"reveal-"+n}),i)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(r.Component);n.d(t,"Animation",function(){return m}),n.d(t,"AnimationChild",function(){return d}),n.d(t,"Fade",function(){return O}),n.d(t,"Expand",function(){return P}),n.d(t,"Push",function(){return N}),n.d(t,"Slide",function(){return z}),n.d(t,"Zoom",function(){return q}),n.d(t,"Reveal",function(){return B})},function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(5),a=function(e){return e.map(function(e,t){var n;return e.content&&(n=e.content),e.children&&(n=a(e.children)),i.createElement(o.default,r({},e,{children:n,key:e.id||t}))})};t.renderChildren=function(e,n,a,s,p,c,l){return void 0===e&&(e=!0),void 0===p&&(p=!0),void 0===c&&(c=!0),void 0===l&&(l=[]),i.Children.map(s,function(s,u){if(s.type===o.default){var d=void 0,f=l.length?l[l.length-1]+"."+u:"."+u;return s.props.children&&(d=t.renderChildren(e,n,a,s.props.children,(n.expanded||[]).indexOf(f)>-1&&p,!1,l.concat([f]))),i.cloneElement(s,r({},s.props,{animation:void 0!==s.props.animation?s.props.animation:e,id:s.props.id||"k-panelbar-item-default-"+f,uniquePrivateKey:f,parentUniquePrivateKey:l,parentExpanded:p,root:c,expanded:(n.expanded||[]).indexOf(f)>-1&&p,focused:n.focused===f&&n.wrapperFocused,selected:n.selected===f,children:d,onSelect:a}))}return i.createElement("div",{className:"k-content"},s)})},t.getInitialState=function(e,n,r,a,s,p){return void 0===r&&(r={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===a&&(a=!0),void 0===s&&(s=!0),void 0===p&&(p=[]),i.Children.map(e.children,function(e,i){if(e.type===o.default){var a=p.length?p[p.length-1]+"."+i:"."+i;!e.props.disabled&&s&&(e.props.selected&&(r.selected=a),e.props.focused&&(r.focused=a),e.props.expanded&&("multiple"===n?r.expanded.push(a):"single"===n&&(r.expanded=[a])),e.props.children&&(r=t.getInitialState(e.props,n,r,!1,!!e.props.expanded,p.concat([a]))))}}),r},t.flatVisibleItems=function e(t,n,r){return void 0===n&&(n=[]),void 0===r&&(r=null),(t||[]).forEach(function(t){t.disabled||(n.push(t),t.expanded&&t.children&&e(t.children,n))}),n},t.isPresent=function(e){return null!==e&&void 0!==e};var s={mapItemsToComponents:a};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++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(6),p=n(2),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=p.classNames("k-content","k-state-active");return o.createElement("div",{className:e,style:this.props.style},this.renderContent(this.props.children))},t.prototype.renderContent=function(e){var t={role:"tabpanel","aria-expanded":!0},n=o.Children.toArray(e)[this.props.selected];return this.props.animation?o.createElement(s.Fade,{style:{position:"initial"},appear:!0},o.createElement("div",i({},t,{key:this.props.index}),n.props.children)):o.createElement("div",i({},t,{key:this.props.index}),n.props.children)},t.propTypes={animation:a.bool,children:a.oneOfType([a.element,a.arrayOf(a.element)]),selected:a.number,style:a.object},t}(o.Component);t.default=c},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++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(2),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onClick=function(){t.props.onSelect&&t.props.onSelect(t.props.index)},t}return r(t,e),t.prototype.render=function(){var e,t=this.props,n=t.active,r=t.disabled,a=t.title,p=void 0===a?"Untitled":a,c={"aria-selected":n,role:"tab",onClick:r?void 0:this.onClick},l=s.classNames(((e={})["k-item"]=!0,e["k-state-default"]=!(r||n),e["k-state-disabled"]=r,e["k-state-active"]=n,e["k-tab-on-top"]=n,e));return o.createElement("li",i({},c,{className:l}),o.createElement("span",{className:"k-link"},p))},t.propTypes={active:a.bool,disabled:a.bool,index:a.number,onSelect:a.func,title:a.oneOfType([a.string,a.element])},t}(o.Component);t.default=p},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++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(9),p=n(2),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e,t=this.props,n=t.selected,r=t.children,a=t.onSelect,c=t.onKeyDown,l=o.Children.count(r);r&&(e=function(e){return Array.apply(null,Array(e))}(l).map(function(e,t,n){return{first:0===t,last:t===n.length-1}}).map(function(e,t){var p={active:n===t,disabled:r[t].props.disabled,index:t,title:r[t].props.title,onSelect:a};return o.createElement(s.default,i({key:t},p))}));var u=p.classNames("k-tabstrip-items","k-reset");return o.createElement("ul",{className:u,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:c},e)},t.propTypes={children:a.oneOfType([a.element,a.arrayOf(a.element)]),onSelect:a.func,onKeyDown:a.func,selected:a.number,tabIndex:a.number},t}(o.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(2);!function(e){e[e.Undefined=0]="Undefined",e[e.Toggle=1]="Toggle",e[e.Next=2]="Next",e[e.Previous=3]="Previous"}(r=t.NavigationAction||(t.NavigationAction={}));var o=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n=e.keyCode,o=r.Undefined;switch(n){case i.Keys.left:o=t?r.Next:r.Previous;break;case i.Keys.up:o=r.Previous;break;case i.Keys.right:o=t?r.Previous:r.Next;break;case i.Keys.down:o=r.Next;break;case i.Keys.space:case i.Keys.enter:o=r.Toggle;break;default:o=r.Undefined}o!==r.Undefined&&e.preventDefault(),this.onNavigate(o)},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){var i=this;this.flatChildren=function(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(t.push(e),e.props.children&&i.flatChildren(e.props.children,t))}),t},this.flatVisibleChildren=function(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&i.flatVisibleChildren(e.props.children,t))}),t},this.onSelect=e,this.onFocus=t,this.expandMode=n}return e.prototype.select=function(e,t,n){var i,o;switch(this.flatChildren(r.Children.toArray(t)).forEach(function(t){t.props.uniquePrivateKey===e&&(i=t)}),this.expandMode){case"single":o=i.props.parentUniquePrivateKey.concat([i.props.uniquePrivateKey]);break;case"multiple":var a=(o=n.slice()).indexOf(i.props.uniquePrivateKey);-1===a?o.push(i.props.uniquePrivateKey):o.splice(a,1);break;default:o=n.slice()}this.onSelect(i,o)},e.prototype.focus=function(e,t,n){var i,o=this.flatVisibleChildren(r.Children.toArray(n));o.forEach(function(n,r){if(n.props.uniquePrivateKey===e){var a=r+t<0?0:r+t>=o.length?o.length-1:r+t;i=o[a]}}),this.onFocus(i)},e.prototype.setExpandMode=function(e){this.expandMode=e},e}();t.default=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++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(5),p=n(7),c=n(12),l=n(11),u=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.handleSelect=function(e){n._selectionService.select(e.uniquePrivateKey,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children))},n.onSelect=function(e,t){n.setState({selected:e.props.uniquePrivateKey,expanded:t},function(){n.props.onSelect&&n.props.onSelect.call(void 0,{target:e,action:"select"})})},n.onFocus=function(e){n.activeDescendant=e.props.id,n.setState({focused:e.props.uniquePrivateKey})},n.onNavigate=function(e){switch(e){case l.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case l.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case l.NavigationAction.Toggle:n._selectionService.select(n.state.focused,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded)}},n.handleWrapperFocus=function(e){n.setState({wrapperFocused:"focus"===e.nativeEvent.type})},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;n._navigationService.navigate(e,t)},n.state=p.getInitialState(t,t.expandMode||"multiple"),n._selectionService=new c.default(n.onSelect,n.onFocus,n.props.expandMode||"multiple"),n._navigationService=new l.default(n.onNavigate),n}return r(t,e),t.prototype.componentWillReceiveProps=function(e){e.expandMode!==this.props.expandMode&&this._selectionService.setExpandMode(e.expandMode),e.selected!==this.state.selected&&void 0!==e.selected&&this.setState({selected:e.selected})},t.prototype.render=function(){var e=this,t={"aria-activedescendant":this.activeDescendant},n=p.renderChildren(this.props.animation,this.state,this.handleSelect,this.props.children);return o.createElement("div",i({ref:function(t){e._element=t},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperFocus,className:"k-widget k-panelbar k-reset k-header"},t),n)},t.propTypes={animation:a.bool,children:function(e,t){var n=e[t];if(n)if(n instanceof Array)for(var r=0,i=n;r<i.length;r++){var o=i[r];if(!o.type||o.type!==s.default)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==s.default)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.")},dir:a.string,selected:a.string,expanded:a.arrayOf(a.string),focused:a.string,expandMode:a.oneOf(["single","multiple"]),className:a.string,onSelect:a.func},t.defaultProps={expandMode:"multiple",animation:!0},t}(o.Component);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)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.propTypes={disabled:o.bool,children:o.oneOfType([o.element,o.node]),title:o.oneOfType([o.string,o.element,o.node])},t}(i.Component);t.default=a},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++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(10),p=n(8),c=n(2),l=function(e){function t(){var t,n=null!==e&&e.apply(this,arguments)||this;return n._element=null,n.keyBinding=((t={})[c.Keys.left]=function(){return n.prevNavigatableTab()},t[c.Keys.right]=function(){return n.nextNavigatableTab()},t[c.Keys.down]=function(){return n.nextNavigatableTab()},t[c.Keys.up]=function(){return n.prevNavigatableTab()},t[c.Keys.home]=function(){return 0},t[c.Keys.end]=function(){return o.Children.count(n.props.children)-1},t),n.onSelect=function(e){n.props.selected!==e&&n.props.onSelect&&n.props.onSelect({selected:e})},n.onKeyDown=function(e){var t;switch(e.keyCode){case c.Keys.left:t=n.keyBinding[n.invertKeys(c.Keys.left,c.Keys.right)];break;case c.Keys.right:t=n.keyBinding[n.invertKeys(c.Keys.right,c.Keys.left)];break;case c.Keys.up:t=n.keyBinding[c.Keys.up];break;case c.Keys.down:t=n.keyBinding[c.Keys.down]}t&&(e.preventDefault(),n.onSelect(t()))},n.renderContent=function(e){var t=n.props,r=t.selected,a=t.children,s=t.tabContentStyle;return r<o.Children.count(a)&&r>-1?o.createElement(p.default,i({index:r},e,{style:s})):null},n.firstNavigatableTab=function(){var e=n.props.children,t=o.Children.count(e);if(e)for(var r=0;r<t;r++)if(!e[r].props.disabled)return r},n.lastNavigatableTab=function(){var e=n.props.children,t=o.Children.count(e);if(e)for(var r=t-1;r>0;r--)if(!e[r].props.disabled)return r},n.prevNavigatableTab=function(){var e=n.props,t=e.children,r=e.selected,i=r?r-1:-1;if(i<0)return n.lastNavigatableTab();if(t)for(var o=i;o>-1;o--){if(!t[o].props.disabled)return o;if(0===o)return n.lastNavigatableTab()}},n.nextNavigatableTab=function(){var e=n.props,t=e.children,r=e.selected,i=r?r+1:1,a=o.Children.count(t);if(i>=a)return n.firstNavigatableTab();if(t)for(var s=i;s<a;s++){if(!t[s].props.disabled)return s;if(s+1===a)return n.firstNavigatableTab()}},n}return r(t,e),t.prototype.render=function(){var e,t=this,n=i({},this.props,{onKeyDown:this.onKeyDown,selected:this.props.selected,onSelect:this.onSelect}),r=n.tabPosition,a=n.tabIndex,p=void 0===a?0:a,l="bottom"===r,u=c.classNames(((e={})["k-widget"]=!0,e["k-header"]=!0,e["k-floatwrap"]=!0,e["k-tabstrip"]=!0,e["k-tabstrip-left"]="left"===r,e["k-tabstrip-right"]="right"===r,e["k-tabstrip-bottom"]="bottom"===r,e["k-tabstrip-top"]="top"===r,e));return o.createElement("div",{ref:function(e){t._element=e},dir:this.props.dir,className:u,style:this.props.style},!l&&o.createElement(s.default,i({},n,{tabIndex:p})),this.renderContent(n),l&&o.createElement(s.default,i({},n,{tabIndex:p})))},t.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction||!1?t:e},t.propTypes={animation:a.bool,children:a.oneOfType([a.element,a.arrayOf(a.element)]),onSelect:a.func,selected:a.number,style:a.object,tabContentStyle:a.object,tabPosition:a.string,tabIndex:a.number,dir:a.string},t.defaultProps={animation:!0,tabPosition:"top"},t}(o.Component);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);t.TabStrip=r.default;var i=n(8);t.TabStripContent=i.default;var o=n(10);t.TabStripNavigation=o.default;var a=n(9);t.TabStripNavigationItem=a.default;var s=n(14);t.TabStripTab=s.default;var p=n(13);t.PanelBar=p.default;var c=n(5);t.PanelBarItem=c.default;var l=n(7);t.PanelBarUtils=l.default}])}); |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-layout",["react","prop-types","@progress/kendo-react-animation","@progress/kendo-react-common"],function(u){var n,r,o,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)},function(e){o=t(e)},function(e){i=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=14)}([function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t){e.exports=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var k=n(0),i=n(1),P=n(2),S=n(5),a=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.handleItemClick=function(){var e=o.props,t=e.onSelect,n=e.disabled,r=e.id;t&&!n&&t.call(void 0,{uniquePrivateKey:o.props.uniquePrivateKey,id:r,target:o})},o}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,r=t.children,o=t.title,i=t.uniquePrivateKey,a=t.disabled,s=t.selected,l=t.focused,c=t.expanded,p=t.className,u=t.root,d=t.headerClassName,f=t.animation,h={role:"treeitem","aria-disabled":a,"aria-hidden":!a&&!c,"aria-selected":!a&&s,"aria-expanded":!a&&c&&!!r},v=P.classNames({"k-item":!0,"k-state-default":!a,"k-state-expanded":c&&!!r,"k-state-disabled":a},p),y=P.classNames({"k-link":!0,"k-header":u,"k-state-selected":!a&&s,"k-state-focused":!a&&l},d),b=P.classNames(((e={})["k-icon"]=!0,e["k-i-arrow-n"]=c&&!!r,e["k-panelbar-collapse"]=c&&!!r,e["k-i-arrow-s"]=!c&&!!r,e["k-panelbar-expand"]=!c&&!!r,e)),m=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass;if(t)return k.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var o=P.classNames("k-icon","k-i-"+n);return k.createElement("span",{role:"presentation",className:o})}return r?k.createElement("span",{role:"presentation",className:r}):null}(this.props),_=!a&&r?k.createElement("span",{className:b}):null,g=!a&&c?k.createElement("div",{role:"group",className:"k-panel k-group"},r):null,O=void 0!==f&&!f||a||!r?g:k.createElement(S.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:i+"_animation",style:{position:"static"},children:g});return k.createElement("div",x({id:n,className:v},h),k.createElement("span",{className:y,onClick:this.handleItemClick},m,o,_),O)},t.propTypes={animation:i.bool,children:i.any,className:i.string,expanded:i.bool,disabled:i.bool,onSelect:i.func,selected:i.bool,root:i.bool,title:i.oneOfType([i.string,i.element]),id:i.oneOfType([i.string,i.number]),focused:i.bool},t.defaultProps={title:"Untitled"},t}(k.PureComponent);t.default=a},function(e,p,t){"use strict";var u=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(p,"__esModule",{value:!0});var d=t(0),f=t(3),r=function(e){return e.map(function(e,t){var n;return e.content&&(n=e.content),e.children&&(n=r(e.children)),d.createElement(f.default,u({},e,{children:n,key:e.id||t}))})};p.renderChildren=function(o,i,a,e,s,l,c){return void 0===o&&(o=!0),void 0===s&&(s=!0),void 0===l&&(l=!0),void 0===c&&(c=[]),d.Children.map(e,function(e,t){if(e.type===f.default){var n=void 0,r=c.length?c[c.length-1]+"."+t:"."+t;return e.props.children&&(n=p.renderChildren(o,i,a,e.props.children,-1<(i.expanded||[]).indexOf(r)&&s,!1,c.concat([r]))),d.cloneElement(e,u({},e.props,{animation:void 0!==e.props.animation?e.props.animation:o,id:e.props.id||"k-panelbar-item-default-"+r,uniquePrivateKey:r,parentUniquePrivateKey:c,parentExpanded:s,root:l,expanded:-1<(i.expanded||[]).indexOf(r)&&s,focused:i.focused===r&&i.wrapperFocused,selected:i.selected===r,children:n,onSelect:a}))}return d.createElement("div",{className:"k-content"},e)})},p.getInitialState=function(e,r,o,t,i,a){return void 0===o&&(o={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===a&&(a=[]),d.Children.map(e.children,function(e,t){if(e.type===f.default){var n=a.length?a[a.length-1]+"."+t:"."+t;!e.props.disabled&&i&&(e.props.selected&&(o.selected=n),e.props.focused&&(o.focused=n),e.props.expanded&&("multiple"===r?o.expanded.push(n):"single"===r&&(o.expanded=[n])),e.props.children&&(o=p.getInitialState(e.props,r,o,!1,!!e.props.expanded,a.concat([n]))))}}),o},p.flatVisibleItems=function t(e,n,r){return void 0===n&&(n=[]),void 0===r&&(r=null),(e||[]).forEach(function(e){e.disabled||(n.push(e),e.expanded&&e.children&&t(e.children,n))}),n},p.isPresent=function(e){return null!=e};var n={mapItemsToComponents:r};p.default=n},function(e,t){e.exports=o},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(1),l=n(5),c=n(2),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=c.classNames("k-content","k-state-active");return a.createElement("div",{className:e,style:this.props.style},this.renderContent(this.props.children))},t.prototype.renderContent=function(e){var t={role:"tabpanel","aria-expanded":!0},n=a.Children.toArray(e)[this.props.selected];return this.props.animation?a.createElement(l.Fade,{style:{position:"initial"},appear:!0},a.createElement("div",i({},t,{key:this.props.index}),n.props.children)):a.createElement("div",i({},t,{key:this.props.index}),n.props.children)},t.propTypes={animation:s.bool,children:s.oneOfType([s.element,s.arrayOf(s.element)]),selected:s.number,style:s.object},t}(a.Component);t.default=p},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),i=n(1),p=n(2),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onClick=function(){e.props.onSelect&&e.props.onSelect(e.props.index)},e}return o(e,t),e.prototype.render=function(){var e,t=this.props,n=t.active,r=t.disabled,o=t.title,i=void 0===o?"Untitled":o,a={"aria-selected":n,role:"tab",onClick:r?void 0:this.onClick},s=p.classNames(((e={})["k-item"]=!0,e["k-state-default"]=!(r||n),e["k-state-disabled"]=r,e["k-state-active"]=n,e["k-tab-on-top"]=n,e));return c.createElement("li",l({},a,{className:s}),c.createElement("span",{className:"k-link"},i))},e.propTypes={active:i.bool,disabled:i.bool,index:i.number,onSelect:i.func,title:i.oneOfType([i.string,i.element])},e}(c.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var p=n(0),i=n(1),u=n(7),d=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.selected,o=n.children,i=n.onSelect,a=n.onKeyDown,s=p.Children.count(o);o&&(e=(t=s,Array.apply(null,Array(t))).map(function(e,t,n){return{first:0===t,last:t===n.length-1}}).map(function(e,t){var n={active:r===t,disabled:o[t].props.disabled,index:t,title:o[t].props.title,onSelect:i};return p.createElement(u.default,c({key:t},n))}));var l=d.classNames("k-tabstrip-items","k-reset");return p.createElement("ul",{className:l,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:a},e)},t.propTypes={children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,onKeyDown:i.func,selected:i.number,tabIndex:i.number},t}(p.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,i=n(2);(r=o=t.NavigationAction||(t.NavigationAction={}))[r.Undefined=0]="Undefined",r[r.Toggle=1]="Toggle",r[r.Next=2]="Next",r[r.Previous=3]="Previous";var a=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n=e.keyCode,r=o.Undefined;switch(n){case i.Keys.left:r=t?o.Next:o.Previous;break;case i.Keys.up:r=o.Previous;break;case i.Keys.right:r=t?o.Previous:o.Next;break;case i.Keys.down:r=o.Next;break;case i.Keys.space:case i.Keys.enter:r=o.Toggle;break;default:r=o.Undefined}r!==o.Undefined&&e.preventDefault(),this.onNavigate(r)},e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),r=function(){function e(e,t,n){var r=this;this.flatChildren=function(e,t){return void 0===t&&(t=[]),s.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(t.push(e),e.props.children&&r.flatChildren(e.props.children,t))}),t},this.flatVisibleChildren=function(e,t){return void 0===t&&(t=[]),s.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&r.flatVisibleChildren(e.props.children,t))}),t},this.onSelect=e,this.onFocus=t,this.expandMode=n}return e.prototype.select=function(t,e,n){var r,o;switch(this.flatChildren(s.Children.toArray(e)).forEach(function(e){e.props.uniquePrivateKey===t&&(r=e)}),this.expandMode){case"single":o=r.props.parentUniquePrivateKey.concat([r.props.uniquePrivateKey]);break;case"multiple":var i=(o=n.slice()).indexOf(r.props.uniquePrivateKey);-1===i?o.push(r.props.uniquePrivateKey):o.splice(i,1);break;default:o=n.slice()}this.onSelect(r,o)},e.prototype.focus=function(r,o,e){var i,a=this.flatVisibleChildren(s.Children.toArray(e));a.forEach(function(e,t){if(e.props.uniquePrivateKey===r){var n=t+o<0?0:t+o>=a.length?a.length-1:t+o;i=a[n]}}),this.onFocus(i)},e.prototype.setExpandMode=function(e){this.expandMode=e},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(1),l=n(3),c=n(4),p=n(10),u=n(9),d=function(t){function e(e){var n=t.call(this,e)||this;return n._element=null,n.handleSelect=function(e){n._selectionService.select(e.uniquePrivateKey,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children))},n.onSelect=function(e,t){n.setState({selected:e.props.uniquePrivateKey,expanded:t},function(){n.props.onSelect&&n.props.onSelect.call(void 0,{target:e,action:"select"})})},n.onFocus=function(e){n.activeDescendant=e.props.id,n.setState({focused:e.props.uniquePrivateKey})},n.onNavigate=function(e){switch(e){case u.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Toggle:n._selectionService.select(n.state.focused,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded)}},n.handleWrapperFocus=function(e){n.setState({wrapperFocused:"focus"===e.nativeEvent.type})},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;n._navigationService.navigate(e,t)},n.state=c.getInitialState(e,e.expandMode||"multiple"),n._selectionService=new p.default(n.onSelect,n.onFocus,n.props.expandMode||"multiple"),n._navigationService=new u.default(n.onNavigate),n}return o(e,t),e.prototype.componentWillReceiveProps=function(e){e.expandMode!==this.props.expandMode&&this._selectionService.setExpandMode(e.expandMode),e.selected!==this.state.selected&&void 0!==e.selected&&this.setState({selected:e.selected})},e.prototype.render=function(){var t=this,e={"aria-activedescendant":this.activeDescendant},n=c.renderChildren(this.props.animation,this.state,this.handleSelect,this.props.children);return a.createElement("div",i({ref:function(e){t._element=e},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperFocus,className:"k-widget k-panelbar k-reset k-header"},e),n)},e.propTypes={animation:s.bool,children:function(e,t){var n=e[t];if(n)if(n instanceof Array)for(var r=0,o=n;r<o.length;r++){var i=o[r];if(!i.type||i.type!==l.default)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==l.default)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.")},dir:s.string,selected:s.string,expanded:s.arrayOf(s.string),focused:s.string,expandMode:s.oneOf(["single","multiple"]),className:s.string,onSelect:s.func},e.defaultProps={expandMode:"multiple",animation:!0},e}(a.Component);t.default=d},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propTypes={disabled:a.bool,children:a.oneOfType([a.element,a.node]),title:a.oneOfType([a.string,a.element,a.node])},t}(i.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),i=n(1),p=n(8),s=n(6),u=n(2),a=function(t){function e(){var e,a=null!==t&&t.apply(this,arguments)||this;return a._element=null,a.keyBinding=((e={})[u.Keys.left]=function(){return a.prevNavigatableTab()},e[u.Keys.right]=function(){return a.nextNavigatableTab()},e[u.Keys.down]=function(){return a.nextNavigatableTab()},e[u.Keys.up]=function(){return a.prevNavigatableTab()},e[u.Keys.home]=function(){return 0},e[u.Keys.end]=function(){return c.Children.count(a.props.children)-1},e),a.onSelect=function(e){a.props.selected!==e&&a.props.onSelect&&a.props.onSelect({selected:e})},a.onKeyDown=function(e){var t;switch(e.keyCode){case u.Keys.left:t=a.keyBinding[a.invertKeys(u.Keys.left,u.Keys.right)];break;case u.Keys.right:t=a.keyBinding[a.invertKeys(u.Keys.right,u.Keys.left)];break;case u.Keys.up:t=a.keyBinding[u.Keys.up];break;case u.Keys.down:t=a.keyBinding[u.Keys.down]}t&&(e.preventDefault(),a.onSelect(t()))},a.renderContent=function(e){var t=a.props,n=t.selected,r=t.children,o=t.tabContentStyle;return n<c.Children.count(r)&&-1<n?c.createElement(s.default,l({index:n},e,{style:o})):null},a.firstNavigatableTab=function(){var e=a.props.children,t=c.Children.count(e);if(e)for(var n=0;n<t;n++)if(!e[n].props.disabled)return n},a.lastNavigatableTab=function(){var e=a.props.children,t=c.Children.count(e);if(e)for(var n=t-1;0<n;n--)if(!e[n].props.disabled)return n},a.prevNavigatableTab=function(){var e=a.props,t=e.children,n=e.selected,r=n?n-1:-1;if(r<0)return a.lastNavigatableTab();if(t)for(var o=r;-1<o;o--){if(!t[o].props.disabled)return o;if(0===o)return a.lastNavigatableTab()}},a.nextNavigatableTab=function(){var e=a.props,t=e.children,n=e.selected,r=n?n+1:1,o=c.Children.count(t);if(o<=r)return a.firstNavigatableTab();if(t)for(var i=r;i<o;i++){if(!t[i].props.disabled)return i;if(i+1===o)return a.firstNavigatableTab()}},a}return o(e,t),e.prototype.render=function(){var e,t=this,n=l({},this.props,{onKeyDown:this.onKeyDown,selected:this.props.selected,onSelect:this.onSelect}),r=n.tabPosition,o=n.tabIndex,i=void 0===o?0:o,a="bottom"===r,s=u.classNames(((e={})["k-widget"]=!0,e["k-header"]=!0,e["k-floatwrap"]=!0,e["k-tabstrip"]=!0,e["k-tabstrip-left"]="left"===r,e["k-tabstrip-right"]="right"===r,e["k-tabstrip-bottom"]="bottom"===r,e["k-tabstrip-top"]="top"===r,e));return c.createElement("div",{ref:function(e){t._element=e},dir:this.props.dir,className:s,style:this.props.style},!a&&c.createElement(p.default,l({},n,{tabIndex:i})),this.renderContent(n),a&&c.createElement(p.default,l({},n,{tabIndex:i})))},e.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction?t:e},e.propTypes={animation:i.bool,children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,selected:i.number,style:i.object,tabContentStyle:i.object,tabPosition:i.string,tabIndex:i.number,dir:i.string},e.defaultProps={animation:!0,tabPosition:"top"},e}(c.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.TabStrip=r.default;var o=n(6);t.TabStripContent=o.default;var i=n(8);t.TabStripNavigation=i.default;var a=n(7);t.TabStripNavigationItem=a.default;var s=n(12);t.TabStripTab=s.default;var l=n(11);t.PanelBar=l.default;var c=n(3);t.PanelBarItem=c.default;var p=n(4);t.PanelBarUtils=p.default,function(e){for(var t in e)u(t,e[t])}(t)}])}}}); | ||
System.register("@progress/kendo-react-layout",["react","@progress/kendo-react-common","prop-types","@progress/kendo-react-animation"],function(u){var n,r,o,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)},function(e){o=t(e)},function(e){i=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=14)}([function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t){e.exports=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var k=n(0),i=n(1),P=n(2),S=n(5),a=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.handleItemClick=function(){var e=o.props,t=e.onSelect,n=e.disabled,r=e.id;t&&!n&&t.call(void 0,{uniquePrivateKey:o.props.uniquePrivateKey,id:r,target:o})},o}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,r=t.children,o=t.title,i=t.uniquePrivateKey,a=t.disabled,s=t.selected,l=t.focused,c=t.expanded,p=t.className,u=t.root,d=t.headerClassName,f=t.animation,h={role:"treeitem","aria-disabled":a,"aria-hidden":!a&&!c,"aria-selected":!a&&s,"aria-expanded":!a&&c&&!!r},v=P.classNames({"k-item":!0,"k-state-default":!a,"k-state-expanded":c&&!!r,"k-state-disabled":a},p),y=P.classNames({"k-link":!0,"k-header":u,"k-state-selected":!a&&s,"k-state-focused":!a&&l},d),b=P.classNames(((e={})["k-icon"]=!0,e["k-i-arrow-n"]=c&&!!r,e["k-panelbar-collapse"]=c&&!!r,e["k-i-arrow-s"]=!c&&!!r,e["k-panelbar-expand"]=!c&&!!r,e)),m=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass;if(t)return k.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var o=P.classNames("k-icon","k-i-"+n);return k.createElement("span",{role:"presentation",className:o})}return r?k.createElement("span",{role:"presentation",className:r}):null}(this.props),_=!a&&r?k.createElement("span",{className:b}):null,g=!a&&c?k.createElement("div",{role:"group",className:"k-panel k-group"},r):null,O=void 0!==f&&!f||a||!r?g:k.createElement(S.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:i+"_animation",style:{position:"static"},children:g});return k.createElement("div",x({id:n,className:v},h),k.createElement("span",{className:y,onClick:this.handleItemClick},m,o,_),O)},t.propTypes={animation:i.bool,children:i.any,className:i.string,expanded:i.bool,disabled:i.bool,onSelect:i.func,selected:i.bool,root:i.bool,title:i.oneOfType([i.string,i.element]),id:i.oneOfType([i.string,i.number]),focused:i.bool},t.defaultProps={title:"Untitled"},t}(k.PureComponent);t.default=a},function(e,p,t){"use strict";var u=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(p,"__esModule",{value:!0});var d=t(0),f=t(3),r=function(e){return e.map(function(e,t){var n;return e.content&&(n=e.content),e.children&&(n=r(e.children)),d.createElement(f.default,u({},e,{children:n,key:e.id||t}))})};p.renderChildren=function(o,i,a,e,s,l,c){return void 0===o&&(o=!0),void 0===s&&(s=!0),void 0===l&&(l=!0),void 0===c&&(c=[]),d.Children.map(e,function(e,t){if(e.type===f.default){var n=void 0,r=c.length?c[c.length-1]+"."+t:"."+t;return e.props.children&&(n=p.renderChildren(o,i,a,e.props.children,-1<(i.expanded||[]).indexOf(r)&&s,!1,c.concat([r]))),d.cloneElement(e,u({},e.props,{animation:void 0!==e.props.animation?e.props.animation:o,id:e.props.id||"k-panelbar-item-default-"+r,uniquePrivateKey:r,parentUniquePrivateKey:c,parentExpanded:s,root:l,expanded:-1<(i.expanded||[]).indexOf(r)&&s,focused:i.focused===r&&i.wrapperFocused,selected:i.selected===r,children:n,onSelect:a}))}return d.createElement("div",{className:"k-content"},e)})},p.getInitialState=function(e,r,o,t,i,a){return void 0===o&&(o={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===a&&(a=[]),d.Children.map(e.children,function(e,t){if(e.type===f.default){var n=a.length?a[a.length-1]+"."+t:"."+t;!e.props.disabled&&i&&(e.props.selected&&(o.selected=n),e.props.focused&&(o.focused=n),e.props.expanded&&("multiple"===r?o.expanded.push(n):"single"===r&&(o.expanded=[n])),e.props.children&&(o=p.getInitialState(e.props,r,o,!1,!!e.props.expanded,a.concat([n]))))}}),o},p.flatVisibleItems=function t(e,n,r){return void 0===n&&(n=[]),void 0===r&&(r=null),(e||[]).forEach(function(e){e.disabled||(n.push(e),e.expanded&&e.children&&t(e.children,n))}),n},p.isPresent=function(e){return null!=e};var n={mapItemsToComponents:r};p.default=n},function(e,t){e.exports=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(1),l=n(5),c=n(2),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=c.classNames("k-content","k-state-active");return a.createElement("div",{className:e,style:this.props.style},this.renderContent(this.props.children))},t.prototype.renderContent=function(e){var t={role:"tabpanel","aria-expanded":!0},n=a.Children.toArray(e)[this.props.selected];return this.props.animation?a.createElement(l.Fade,{style:{position:"initial"},appear:!0},a.createElement("div",i({},t,{key:this.props.index}),n.props.children)):a.createElement("div",i({},t,{key:this.props.index}),n.props.children)},t.propTypes={animation:s.bool,children:s.oneOfType([s.element,s.arrayOf(s.element)]),selected:s.number,style:s.object},t}(a.Component);t.default=p},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),i=n(1),p=n(2),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onClick=function(){e.props.onSelect&&e.props.onSelect(e.props.index)},e}return o(e,t),e.prototype.render=function(){var e,t=this.props,n=t.active,r=t.disabled,o=t.title,i=void 0===o?"Untitled":o,a={"aria-selected":n,role:"tab",onClick:r?void 0:this.onClick},s=p.classNames(((e={})["k-item"]=!0,e["k-state-default"]=!(r||n),e["k-state-disabled"]=r,e["k-state-active"]=n,e["k-tab-on-top"]=n,e));return c.createElement("li",l({},a,{className:s}),c.createElement("span",{className:"k-link"},i))},e.propTypes={active:i.bool,disabled:i.bool,index:i.number,onSelect:i.func,title:i.oneOfType([i.string,i.element])},e}(c.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var p=n(0),i=n(1),u=n(7),d=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.selected,o=n.children,i=n.onSelect,a=n.onKeyDown,s=p.Children.count(o);o&&(e=(t=s,Array.apply(null,Array(t))).map(function(e,t,n){return{first:0===t,last:t===n.length-1}}).map(function(e,t){var n={active:r===t,disabled:o[t].props.disabled,index:t,title:o[t].props.title,onSelect:i};return p.createElement(u.default,c({key:t},n))}));var l=d.classNames("k-tabstrip-items","k-reset");return p.createElement("ul",{className:l,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:a},e)},t.propTypes={children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,onKeyDown:i.func,selected:i.number,tabIndex:i.number},t}(p.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,i=n(2);(r=o=t.NavigationAction||(t.NavigationAction={}))[r.Undefined=0]="Undefined",r[r.Toggle=1]="Toggle",r[r.Next=2]="Next",r[r.Previous=3]="Previous";var a=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n=e.keyCode,r=o.Undefined;switch(n){case i.Keys.left:r=t?o.Next:o.Previous;break;case i.Keys.up:r=o.Previous;break;case i.Keys.right:r=t?o.Previous:o.Next;break;case i.Keys.down:r=o.Next;break;case i.Keys.space:case i.Keys.enter:r=o.Toggle;break;default:r=o.Undefined}r!==o.Undefined&&e.preventDefault(),this.onNavigate(r)},e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),r=function(){function e(e,t,n){var r=this;this.flatChildren=function(e,t){return void 0===t&&(t=[]),s.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(t.push(e),e.props.children&&r.flatChildren(e.props.children,t))}),t},this.flatVisibleChildren=function(e,t){return void 0===t&&(t=[]),s.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&r.flatVisibleChildren(e.props.children,t))}),t},this.onSelect=e,this.onFocus=t,this.expandMode=n}return e.prototype.select=function(t,e,n){var r,o;switch(this.flatChildren(s.Children.toArray(e)).forEach(function(e){e.props.uniquePrivateKey===t&&(r=e)}),this.expandMode){case"single":o=r.props.parentUniquePrivateKey.concat([r.props.uniquePrivateKey]);break;case"multiple":var i=(o=n.slice()).indexOf(r.props.uniquePrivateKey);-1===i?o.push(r.props.uniquePrivateKey):o.splice(i,1);break;default:o=n.slice()}this.onSelect(r,o)},e.prototype.focus=function(r,o,e){var i,a=this.flatVisibleChildren(s.Children.toArray(e));a.forEach(function(e,t){if(e.props.uniquePrivateKey===r){var n=t+o<0?0:t+o>=a.length?a.length-1:t+o;i=a[n]}}),this.onFocus(i)},e.prototype.setExpandMode=function(e){this.expandMode=e},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(1),l=n(3),c=n(4),p=n(10),u=n(9),d=function(t){function e(e){var n=t.call(this,e)||this;return n._element=null,n.handleSelect=function(e){n._selectionService.select(e.uniquePrivateKey,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children))},n.onSelect=function(e,t){n.setState({selected:e.props.uniquePrivateKey,expanded:t},function(){n.props.onSelect&&n.props.onSelect.call(void 0,{target:e,action:"select"})})},n.onFocus=function(e){n.activeDescendant=e.props.id,n.setState({focused:e.props.uniquePrivateKey})},n.onNavigate=function(e){switch(e){case u.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Toggle:n._selectionService.select(n.state.focused,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded)}},n.handleWrapperFocus=function(e){n.setState({wrapperFocused:"focus"===e.nativeEvent.type})},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;n._navigationService.navigate(e,t)},n.state=c.getInitialState(e,e.expandMode||"multiple"),n._selectionService=new p.default(n.onSelect,n.onFocus,n.props.expandMode||"multiple"),n._navigationService=new u.default(n.onNavigate),n}return o(e,t),e.prototype.componentWillReceiveProps=function(e){e.expandMode!==this.props.expandMode&&this._selectionService.setExpandMode(e.expandMode),e.selected!==this.state.selected&&void 0!==e.selected&&this.setState({selected:e.selected})},e.prototype.render=function(){var t=this,e={"aria-activedescendant":this.activeDescendant},n=c.renderChildren(this.props.animation,this.state,this.handleSelect,this.props.children);return a.createElement("div",i({ref:function(e){t._element=e},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperFocus,className:"k-widget k-panelbar k-reset k-header"},e),n)},e.propTypes={animation:s.bool,children:function(e,t){var n=e[t];if(n)if(n instanceof Array)for(var r=0,o=n;r<o.length;r++){var i=o[r];if(!i.type||i.type!==l.default)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==l.default)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.")},dir:s.string,selected:s.string,expanded:s.arrayOf(s.string),focused:s.string,expandMode:s.oneOf(["single","multiple"]),className:s.string,onSelect:s.func},e.defaultProps={expandMode:"multiple",animation:!0},e}(a.Component);t.default=d},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propTypes={disabled:a.bool,children:a.oneOfType([a.element,a.node]),title:a.oneOfType([a.string,a.element,a.node])},t}(i.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),i=n(1),p=n(8),s=n(6),u=n(2),a=function(t){function e(){var e,a=null!==t&&t.apply(this,arguments)||this;return a._element=null,a.keyBinding=((e={})[u.Keys.left]=function(){return a.prevNavigatableTab()},e[u.Keys.right]=function(){return a.nextNavigatableTab()},e[u.Keys.down]=function(){return a.nextNavigatableTab()},e[u.Keys.up]=function(){return a.prevNavigatableTab()},e[u.Keys.home]=function(){return 0},e[u.Keys.end]=function(){return c.Children.count(a.props.children)-1},e),a.onSelect=function(e){a.props.selected!==e&&a.props.onSelect&&a.props.onSelect({selected:e})},a.onKeyDown=function(e){var t;switch(e.keyCode){case u.Keys.left:t=a.keyBinding[a.invertKeys(u.Keys.left,u.Keys.right)];break;case u.Keys.right:t=a.keyBinding[a.invertKeys(u.Keys.right,u.Keys.left)];break;case u.Keys.up:t=a.keyBinding[u.Keys.up];break;case u.Keys.down:t=a.keyBinding[u.Keys.down]}t&&(e.preventDefault(),a.onSelect(t()))},a.renderContent=function(e){var t=a.props,n=t.selected,r=t.children,o=t.tabContentStyle;return n<c.Children.count(r)&&-1<n?c.createElement(s.default,l({index:n},e,{style:o})):null},a.firstNavigatableTab=function(){var e=a.props.children,t=c.Children.count(e);if(e)for(var n=0;n<t;n++)if(!e[n].props.disabled)return n},a.lastNavigatableTab=function(){var e=a.props.children,t=c.Children.count(e);if(e)for(var n=t-1;0<n;n--)if(!e[n].props.disabled)return n},a.prevNavigatableTab=function(){var e=a.props,t=e.children,n=e.selected,r=n?n-1:-1;if(r<0)return a.lastNavigatableTab();if(t)for(var o=r;-1<o;o--){if(!t[o].props.disabled)return o;if(0===o)return a.lastNavigatableTab()}},a.nextNavigatableTab=function(){var e=a.props,t=e.children,n=e.selected,r=n?n+1:1,o=c.Children.count(t);if(o<=r)return a.firstNavigatableTab();if(t)for(var i=r;i<o;i++){if(!t[i].props.disabled)return i;if(i+1===o)return a.firstNavigatableTab()}},a}return o(e,t),e.prototype.render=function(){var e,t=this,n=l({},this.props,{onKeyDown:this.onKeyDown,selected:this.props.selected,onSelect:this.onSelect}),r=n.tabPosition,o=n.tabIndex,i=void 0===o?0:o,a="bottom"===r,s=u.classNames(((e={})["k-widget"]=!0,e["k-header"]=!0,e["k-floatwrap"]=!0,e["k-tabstrip"]=!0,e["k-tabstrip-left"]="left"===r,e["k-tabstrip-right"]="right"===r,e["k-tabstrip-bottom"]="bottom"===r,e["k-tabstrip-top"]="top"===r,e));return c.createElement("div",{ref:function(e){t._element=e},dir:this.props.dir,className:s,style:this.props.style},!a&&c.createElement(p.default,l({},n,{tabIndex:i})),this.renderContent(n),a&&c.createElement(p.default,l({},n,{tabIndex:i})))},e.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction?t:e},e.propTypes={animation:i.bool,children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,selected:i.number,style:i.object,tabContentStyle:i.object,tabPosition:i.string,tabIndex:i.number,dir:i.string},e.defaultProps={animation:!0,tabPosition:"top"},e}(c.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.TabStrip=r.default;var o=n(6);t.TabStripContent=o.default;var i=n(8);t.TabStripNavigation=i.default;var a=n(7);t.TabStripNavigationItem=a.default;var s=n(12);t.TabStripTab=s.default;var l=n(11);t.PanelBar=l.default;var c=n(3);t.PanelBarItem=c.default;var p=n(4);t.PanelBarUtils=p.default,function(e){for(var t in e)u(t,e[t])}(t)}])}}}); |
{ | ||
"name": "@progress/kendo-react-layout", | ||
"version": "1.2.0-dev.201806201350", | ||
"version": "1.2.0-dev.201806211309", | ||
"description": "Kendo UI for React Layout package", | ||
@@ -32,4 +32,4 @@ "repository": { | ||
"dependencies": { | ||
"@progress/kendo-react-animation": "1.2.0-dev.201806201350", | ||
"@progress/kendo-react-common": "1.2.0-dev.201806201350", | ||
"@progress/kendo-react-animation": "1.2.0-dev.201806211309", | ||
"@progress/kendo-react-common": "1.2.0-dev.201806211309", | ||
"prop-types": "^15.6.0" | ||
@@ -36,0 +36,0 @@ }, |
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
240732
+ Added@progress/kendo-react-animation@1.2.0-dev.201806211309(transitive)
+ Added@progress/kendo-react-common@1.2.0-dev.201806211309(transitive)
- Removed@progress/kendo-react-animation@1.2.0-dev.201806201350(transitive)
- Removed@progress/kendo-react-common@1.2.0-dev.201806201350(transitive)
Updated@progress/kendo-react-animation@1.2.0-dev.201806211309