Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-layout

Package Overview
Dependencies
Maintainers
1
Versions
1237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-layout - npm Package Compare versions

Comparing version 1.2.0-dev.201806281338 to 1.2.0-dev.201807090830

2

dist/cdn/js/kendo-react-layout.js

@@ -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=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(){},p=n(1),s=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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focused:!1},t.handleFocus=function(e){t.setState({focused:!0})},t.handleBlur=function(e){t.setState({focused:!1})},t}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,s=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":!s&&void 0!==s},i);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:s.string,id:s.string,value:s.string,placeholder:s.string,valid:s.bool},t}(p.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),p=n(2),s=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},g=p.classNames({"k-item":!0,"k-state-default":!l,"k-state-expanded":f&&!!r,"k-state-disabled":l},h),x=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 o.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var i=p.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(s.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:c+"_animation",style:{position:"static"},children:E});return o.createElement("div",i({id:n,className:g},b),o.createElement("span",{className:x,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),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"}},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},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=p.styles,d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(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,p=t.appear,s=t.enter,d=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,b=t.onEntering,g=t.onEntered,x=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:p,enter:s,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){g&&g.call(void 0,{animatedElement:t,target:e})},onExit:function(t){x&&x.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=p.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,p=e.component,s=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:p,id:s,style:c},g=h({position:l?"absolute":"initial"},f),x=r.Children.map(t,function(e){return r.createElement(d,h({},m,{style:g,className:u}),e)});return r.createElement(a.TransitionGroup,h({},b),x)},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)}}(),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},x=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=x(e,["children"]);return r.createElement(m,g({},{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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={style:null},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.componentDidEnter=function(e){var n=t.props.onEntered;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e){void 0===e&&(e=o.noop);var n=w.findDOMNode(t);if(n){var r,i=n.firstChild;if(t.props.stackChildren&&i)r={height:p.outerHeight(i)+"px",width:p.outerWidth(i)+"px"};t.setState({style:r},e)}},t}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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={style:null},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.componentDidEnter=function(e){var n=t.props.onEntered;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e){void 0===e&&(e=o.noop);var n=w.findDOMNode(t);if(n){var r,i=n.firstChild;if(t.props.stackChildren&&i)r={height:p.outerHeight(i)+"px",width:p.outerWidth(i)+"px"};t.setState({style:r},e)}},t}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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e,n){void 0===n&&(n=o.noop);var r=w.findDOMNode(e);if(r){var i=r.firstChild;if(i){var a=p.outerHeight(i),s=p.outerWidth(i);t.setState({maxHeight:a,maxWidth:s},n)}}},t}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"]),p=this.state,s=p.maxHeight,c=p.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:s?s+"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,p,s,c,l){return void 0===e&&(e=!0),void 0===s&&(s=!0),void 0===c&&(c=!0),void 0===l&&(l=[]),i.Children.map(p,function(p,u){if(p.type===o.default){var d=void 0,f=l.length?l[l.length-1]+"."+u:"."+u;return p.props.children&&(d=t.renderChildren(e,n,a,p.props.children,(n.expanded||[]).indexOf(f)>-1&&s,!1,l.concat([f]))),i.cloneElement(p,r({},p.props,{animation:void 0!==p.props.animation?p.props.animation:e,id:p.props.id||"k-panelbar-item-default-"+f,uniquePrivateKey:f,parentUniquePrivateKey:l,parentExpanded:s,root:c,expanded:(n.expanded||[]).indexOf(f)>-1&&s,focused:n.focused===f&&n.wrapperFocused,selected:n.selected===f,children:d,onSelect:a}))}return i.createElement("div",{className:"k-content"},p)})},t.getInitialState=function(e,n,r,a,p,s){return void 0===r&&(r={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===a&&(a=!0),void 0===p&&(p=!0),void 0===s&&(s=[]),i.Children.map(e.children,function(e,i){if(e.type===o.default){var a=s.length?s[s.length-1]+"."+i:"."+i;!e.props.disabled&&p&&(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,s.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 p={mapItemsToComponents:a};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),p=n(6),s=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=s.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(p.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),p=n(2),s=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,s=void 0===a?"Untitled":a,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 o.createElement("li",i({},c,{className:l}),o.createElement("span",{className:"k-link"},s))},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=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),p=n(9),s=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 s={active:n===t,disabled:r[t].props.disabled,index:t,title:r[t].props.title,onSelect:a};return o.createElement(p.default,i({key:t},s))}));var u=s.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.Toggle=0]="Toggle",e[e.Next=1]="Next",e[e.Previous=2]="Previous"}(r=t.NavigationAction||(t.NavigationAction={}));var o=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n;switch(e.keyCode){case i.Keys.left:n=t?r.Next:r.Previous;break;case i.Keys.up:n=r.Previous;break;case i.Keys.right:n=t?r.Previous:r.Next;break;case i.Keys.down:n=r.Next;break;case i.Keys.space:case i.Keys.enter:n=r.Toggle;break;default:n=null}null!==n&&(e.preventDefault(),this.onNavigate(n))},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),p=n(5),s=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,s.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,s.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,s.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case l.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,s.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case l.NavigationAction.Toggle:n._selectionService.select(n.state.focused,s.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;e.target===e.currentTarget&&n._navigationService.navigate(e,t)},n.state=s.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=s.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!==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: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),p=n(10),s=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,p=t.tabContentStyle;return r<o.Children.count(a)&&r>-1?o.createElement(s.default,i({index:r},e,{style:p})):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 p=i;p<a;p++){if(!t[p].props.disabled)return p;if(p+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,s=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(p.default,i({},n,{tabIndex:s})),this.renderContent(n),l&&o.createElement(p.default,i({},n,{tabIndex:s})))},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 p=n(14);t.TabStripTab=p.default;var s=n(13);t.PanelBar=s.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(){},p=n(1),s=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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focused:!1},t.handleFocus=function(e){t.setState({focused:!0})},t.handleBlur=function(e){t.setState({focused:!1})},t}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,s=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":!s&&void 0!==s},i);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:s.string,id:s.string,value:s.string,placeholder:s.string,valid:s.bool},t}(p.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),p=n(2),s=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},g=p.classNames({"k-item":!0,"k-state-default":!l,"k-state-expanded":f&&!!r,"k-state-disabled":l},h),x=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 o.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var i=p.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(s.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:c+"_animation",style:{position:"static"},children:E});return o.createElement("div",i({id:n,className:g},b),o.createElement("span",{className:x,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),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"}},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},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=p.styles,d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(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,p=t.appear,s=t.enter,d=t.exit,f=t.transitionName,h=t.transitionEnterDuration,v=t.transitionExitDuration,y=t.className,m=t.onEnter,b=t.onEntering,g=t.onEntered,x=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:p,enter:s,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){g&&g.call(void 0,{animatedElement:t,target:e})},onExit:function(t){x&&x.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=p.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,p=e.component,s=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:p,id:s,style:c},g=h({position:l?"absolute":"initial"},f),x=r.Children.map(t,function(e){return r.createElement(d,h({},m,{style:g,className:u}),e)});return r.createElement(a.TransitionGroup,h({},b),x)},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)}}(),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},x=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=x(e,["children"]);return r.createElement(m,g({},{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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={style:null},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.componentDidEnter=function(e){var n=t.props.onEntered;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e){void 0===e&&(e=o.noop);var n=w.findDOMNode(t);if(n){var r,i=n.firstChild;if(t.props.stackChildren&&i)r={height:p.outerHeight(i)+"px",width:p.outerWidth(i)+"px"};t.setState({style:r},e)}},t}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),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},A=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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={style:null},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.componentDidEnter=function(e){var n=t.props.onEntered;t.updateContainerDimensions(function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e){void 0===e&&(e=o.noop);var n=w.findDOMNode(t);if(n){var r,i=n.firstChild;if(t.props.stackChildren&&i)r={height:p.outerHeight(i)+"px",width:p.outerWidth(i)+"px"};t.setState({style:r},e)}},t}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,i=e.style,o=A(e,["children","direction","style"]);return r.createElement(m,M({},o,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:M({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(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e,n){void 0===n&&(n=o.noop);var r=w.findDOMNode(e);if(r){var i=r.firstChild;if(i){var a=p.outerHeight(i),s=p.outerWidth(i);t.setState({maxHeight:a,maxWidth:s},n)}}},t}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"]),p=this.state,s=p.maxHeight,c=p.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:s?s+"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,p,s,c,l){return void 0===e&&(e=!0),void 0===s&&(s=!0),void 0===c&&(c=!0),void 0===l&&(l=[]),i.Children.map(p,function(p,u){if(p.type===o.default){var d=void 0,f=l.length?l[l.length-1]+"."+u:"."+u;return p.props.children&&(d=t.renderChildren(e,n,a,p.props.children,(n.expanded||[]).indexOf(f)>-1&&s,!1,l.concat([f]))),i.cloneElement(p,r({},p.props,{animation:void 0!==p.props.animation?p.props.animation:e,id:p.props.id||"k-panelbar-item-default-"+f,uniquePrivateKey:f,parentUniquePrivateKey:l,parentExpanded:s,root:c,expanded:(n.expanded||[]).indexOf(f)>-1&&s,focused:n.focused===f&&n.wrapperFocused,selected:n.selected===f,children:d,onSelect:a}))}return i.createElement("div",{className:"k-content"},p)})},t.getInitialState=function(e,n,r,a,p,s){return void 0===r&&(r={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===a&&(a=!0),void 0===p&&(p=!0),void 0===s&&(s=[]),i.Children.map(e.children,function(e,i){if(e.type===o.default){var a=s.length?s[s.length-1]+"."+i:"."+i;!e.props.disabled&&p&&(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,s.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 p={mapItemsToComponents:a};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),p=n(6),s=n(2),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.contentId=s.guid(),t.childFactory=function(e){return o.cloneElement(e,i({},e.props,{in:e.props.children.props.id===String(t.contentId+t.props.selected)}))},t}return r(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.selected!==e.selected},t.prototype.render=function(){var e=s.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=this;return this.props.keepTabsMounted?o.Children.map(this.props.children,function(e,n){return t.renderChild(e,n)}):this.renderChild(o.Children.toArray(e)[this.props.selected],this.props.selected)},t.prototype.renderChild=function(e,t){var n=t===this.props.selected,r={role:"tabpanel","aria-expanded":!0,style:{display:n?void 0:"none"}},a={position:"initial",display:n?void 0:"none"};return e.props.disabled?null:this.props.animation?o.createElement(p.Fade,{appear:!0,exit:this.props.keepTabsMounted,style:a,childFactory:this.props.keepTabsMounted?this.childFactory:void 0},o.createElement("div",i({},r,{id:String(this.contentId+t),key:t}),e.props.children)):o.createElement("div",i({},r,{key:t}),e.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),p=n(2),s=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,s=void 0===a?"Untitled":a,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 o.createElement("li",i({},c,{className:l}),o.createElement("span",{className:"k-link"},s))},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=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),p=n(9),s=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 s={active:n===t,disabled:r[t].props.disabled,index:t,title:r[t].props.title,onSelect:a};return o.createElement(p.default,i({key:t},s))}));var u=s.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.Toggle=0]="Toggle",e[e.Next=1]="Next",e[e.Previous=2]="Previous"}(r=t.NavigationAction||(t.NavigationAction={}));var o=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n;switch(e.keyCode){case i.Keys.left:n=t?r.Next:r.Previous;break;case i.Keys.up:n=r.Previous;break;case i.Keys.right:n=t?r.Previous:r.Next;break;case i.Keys.down:n=r.Next;break;case i.Keys.space:case i.Keys.enter:n=r.Toggle;break;default:n=null}null!==n&&(e.preventDefault(),this.onNavigate(n))},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),p=n(5),s=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,s.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,s.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,s.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case l.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,s.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case l.NavigationAction.Toggle:n._selectionService.select(n.state.focused,s.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;e.target===e.currentTarget&&n._navigationService.navigate(e,t)},n.state=s.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=s.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(Array.isArray(n))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: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),p=n(10),s=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,p=t.tabContentStyle;return r<o.Children.count(a)&&r>-1?o.createElement(s.default,i({index:r},e,{style:p})):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 p=i;p<a;p++){if(!t[p].props.disabled)return p;if(p+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,s=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(p.default,i({},n,{tabIndex:s})),this.renderContent(n),l&&o.createElement(p.default,i({},n,{tabIndex:s})))},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",keepTabsMounted:!1},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 p=n(14);t.TabStripTab=p.default;var s=n(13);t.PanelBar=s.default;var c=n(5);t.PanelBarItem=c.default;var l=n(7);t.PanelBarUtils=l.default}])});

@@ -119,3 +119,3 @@ var __extends = (this && this.__extends) || (function () {

if (prop) {
if (prop instanceof Array) {
if (Array.isArray(prop)) {
for (var _i = 0, prop_1 = prop; _i < prop_1.length; _i++) {

@@ -122,0 +122,0 @@ var value = prop_1[_i];

@@ -51,2 +51,7 @@ import * as React from 'react';

/**
* Sets if the tabs should remain mounted after another tab is selected.
* By default this option is set to false.
*/
keepTabsMounted?: boolean;
/**
* Fires each time the user makes a selection.

@@ -77,2 +82,3 @@ */

tabPosition: string;
keepTabsMounted: boolean;
};

@@ -79,0 +85,0 @@ private _element;

@@ -193,3 +193,4 @@ var __extends = (this && this.__extends) || (function () {

animation: true,
tabPosition: 'top'
tabPosition: 'top',
keepTabsMounted: false
};

@@ -196,0 +197,0 @@ return TabStrip;

@@ -23,2 +23,6 @@ import * as React from 'react';

index?: number;
/**
* @hidden
*/
keepTabsMounted?: boolean;
}

@@ -35,7 +39,14 @@ export default class TabStripContent extends React.Component<TabStripContentProps, {}> {

};
private contentId;
/**
* @hidden
*/
shouldComponentUpdate(nextProps: TabStripContentProps): boolean;
/**
* @hidden
*/
render(): JSX.Element;
private renderContent;
private renderChild;
private childFactory;
}

@@ -22,7 +22,12 @@ var __extends = (this && this.__extends) || (function () {

import { Fade } from '@progress/kendo-react-animation';
import { classNames } from '@progress/kendo-react-common';
import { classNames, guid } from '@progress/kendo-react-common';
var TabStripContent = /** @class */ (function (_super) {
__extends(TabStripContent, _super);
function TabStripContent() {
return _super !== null && _super.apply(this, arguments) || this;
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.contentId = guid();
_this.childFactory = function (child) {
return React.cloneElement(child, __assign({}, child.props, { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));
};
return _this;
}

@@ -32,2 +37,8 @@ /**

*/
TabStripContent.prototype.shouldComponentUpdate = function (nextProps) {
return this.props.selected !== nextProps.selected;
};
/**
* @hidden
*/
TabStripContent.prototype.render = function () {

@@ -38,15 +49,29 @@ var contentClasses = classNames('k-content', 'k-state-active');

TabStripContent.prototype.renderContent = function (children) {
var _this = this;
return !this.props.keepTabsMounted
? this.renderChild(React.Children.toArray(children)[this.props.selected], this.props.selected)
: React.Children.map(this.props.children, function (tab, idx) {
return _this.renderChild(tab, idx);
});
};
TabStripContent.prototype.renderChild = function (tab, idx) {
var visible = idx === this.props.selected;
var contentProps = {
'role': 'tabpanel',
'aria-expanded': true
'aria-expanded': true,
'style': {
'display': visible ? undefined : 'none'
}
};
var animationStyle = {
position: 'initial'
position: 'initial',
display: visible ? undefined : 'none'
};
var tab = React.Children.toArray(children)[this.props.selected];
var child = this.props.animation
? (React.createElement(Fade, { style: animationStyle, appear: true },
React.createElement("div", __assign({}, contentProps, { key: this.props.index }), tab.props.children)))
: (React.createElement("div", __assign({}, contentProps, { key: this.props.index }), tab.props.children));
return child;
if (tab.props.disabled) {
return null;
}
return this.props.animation
? (React.createElement(Fade, { appear: true, exit: this.props.keepTabsMounted, style: animationStyle, childFactory: this.props.keepTabsMounted ? this.childFactory : undefined },
React.createElement("div", __assign({}, contentProps, { id: String(this.contentId + idx), key: idx }), tab.props.children)))
: (React.createElement("div", __assign({}, contentProps, { key: idx }), tab.props.children));
};

@@ -53,0 +78,0 @@ /**

@@ -121,3 +121,3 @@ "use strict";

if (prop) {
if (prop instanceof Array) {
if (Array.isArray(prop)) {
for (var _i = 0, prop_1 = prop; _i < prop_1.length; _i++) {

@@ -124,0 +124,0 @@ var value = prop_1[_i];

@@ -51,2 +51,7 @@ import * as React from 'react';

/**
* Sets if the tabs should remain mounted after another tab is selected.
* By default this option is set to false.
*/
keepTabsMounted?: boolean;
/**
* Fires each time the user makes a selection.

@@ -77,2 +82,3 @@ */

tabPosition: string;
keepTabsMounted: boolean;
};

@@ -79,0 +85,0 @@ private _element;

@@ -195,3 +195,4 @@ "use strict";

animation: true,
tabPosition: 'top'
tabPosition: 'top',
keepTabsMounted: false
};

@@ -198,0 +199,0 @@ return TabStrip;

@@ -23,2 +23,6 @@ import * as React from 'react';

index?: number;
/**
* @hidden
*/
keepTabsMounted?: boolean;
}

@@ -35,7 +39,14 @@ export default class TabStripContent extends React.Component<TabStripContentProps, {}> {

};
private contentId;
/**
* @hidden
*/
shouldComponentUpdate(nextProps: TabStripContentProps): boolean;
/**
* @hidden
*/
render(): JSX.Element;
private renderContent;
private renderChild;
private childFactory;
}

@@ -28,3 +28,8 @@ "use strict";

function TabStripContent() {
return _super !== null && _super.apply(this, arguments) || this;
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.contentId = kendo_react_common_1.guid();
_this.childFactory = function (child) {
return React.cloneElement(child, __assign({}, child.props, { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));
};
return _this;
}

@@ -34,2 +39,8 @@ /**

*/
TabStripContent.prototype.shouldComponentUpdate = function (nextProps) {
return this.props.selected !== nextProps.selected;
};
/**
* @hidden
*/
TabStripContent.prototype.render = function () {

@@ -40,15 +51,29 @@ var contentClasses = kendo_react_common_1.classNames('k-content', 'k-state-active');

TabStripContent.prototype.renderContent = function (children) {
var _this = this;
return !this.props.keepTabsMounted
? this.renderChild(React.Children.toArray(children)[this.props.selected], this.props.selected)
: React.Children.map(this.props.children, function (tab, idx) {
return _this.renderChild(tab, idx);
});
};
TabStripContent.prototype.renderChild = function (tab, idx) {
var visible = idx === this.props.selected;
var contentProps = {
'role': 'tabpanel',
'aria-expanded': true
'aria-expanded': true,
'style': {
'display': visible ? undefined : 'none'
}
};
var animationStyle = {
position: 'initial'
position: 'initial',
display: visible ? undefined : 'none'
};
var tab = React.Children.toArray(children)[this.props.selected];
var child = this.props.animation
? (React.createElement(kendo_react_animation_1.Fade, { style: animationStyle, appear: true },
React.createElement("div", __assign({}, contentProps, { key: this.props.index }), tab.props.children)))
: (React.createElement("div", __assign({}, contentProps, { key: this.props.index }), tab.props.children));
return child;
if (tab.props.disabled) {
return null;
}
return this.props.animation
? (React.createElement(kendo_react_animation_1.Fade, { appear: true, exit: this.props.keepTabsMounted, style: animationStyle, childFactory: this.props.keepTabsMounted ? this.childFactory : undefined },
React.createElement("div", __assign({}, contentProps, { id: String(this.contentId + idx), key: idx }), tab.props.children)))
: (React.createElement("div", __assign({}, contentProps, { key: idx }), tab.props.children));
};

@@ -55,0 +80,0 @@ /**

@@ -1,1 +0,1 @@

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 r,o,i=n(2);(o=r=t.NavigationAction||(t.NavigationAction={}))[o.Toggle=0]="Toggle",o[o.Next=1]="Next",o[o.Previous=2]="Previous";var a=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n;switch(e.keyCode){case i.Keys.left:n=t?r.Next:r.Previous;break;case i.Keys.up:n=r.Previous;break;case i.Keys.right:n=t?r.Previous:r.Next;break;case i.Keys.down:n=r.Next;break;case i.Keys.space:case i.Keys.enter:n=r.Toggle;break;default:n=null}null!==n&&(e.preventDefault(),this.onNavigate(n))},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;e.target===e.currentTarget&&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","prop-types","@progress/kendo-react-common","@progress/kendo-react-animation"],function(d){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=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)}),k=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 x=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,d=t.root,u=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":d,"k-state-selected":!a&&s,"k-state-focused":!a&&l},u),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 x.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var o=P.classNames("k-icon","k-i-"+n);return x.createElement("span",{role:"presentation",className:o})}return r?x.createElement("span",{role:"presentation",className:r}):null}(this.props),_=!a&&r?x.createElement("span",{className:b}):null,g=!a&&c?x.createElement("div",{role:"group",className:"k-panel k-group"},r):null,O=void 0!==f&&!f||a||!r?g:x.createElement(S.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:i+"_animation",style:{position:"static"},children:g});return x.createElement("div",k({id:n,className:v},h),x.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}(x.PureComponent);t.default=a},function(e,p,t){"use strict";var d=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 u=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)),u.createElement(f.default,d({},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=[]),u.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]))),u.cloneElement(e,d({},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 u.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=[]),u.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(){var t=null!==e&&e.apply(this,arguments)||this;return t.contentId=c.guid(),t.childFactory=function(e){return a.cloneElement(e,i({},e.props,{in:e.props.children.props.id===String(t.contentId+t.props.selected)}))},t}return o(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.selected!==e.selected},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 n=this;return this.props.keepTabsMounted?a.Children.map(this.props.children,function(e,t){return n.renderChild(e,t)}):this.renderChild(a.Children.toArray(e)[this.props.selected],this.props.selected)},t.prototype.renderChild=function(e,t){var n=t===this.props.selected,r={role:"tabpanel","aria-expanded":!0,style:{display:n?void 0:"none"}},o={position:"initial",display:n?void 0:"none"};return e.props.disabled?null:this.props.animation?a.createElement(l.Fade,{appear:!0,exit:this.props.keepTabsMounted,style:o,childFactory:this.props.keepTabsMounted?this.childFactory:void 0},a.createElement("div",i({},r,{id:String(this.contentId+t),key:t}),e.props.children)):a.createElement("div",i({},r,{key:t}),e.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),d=n(7),u=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(d.default,c({key:t},n))}));var l=u.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 r,o,i=n(2);(o=r=t.NavigationAction||(t.NavigationAction={}))[o.Toggle=0]="Toggle",o[o.Next=1]="Next",o[o.Previous=2]="Previous";var a=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n;switch(e.keyCode){case i.Keys.left:n=t?r.Next:r.Previous;break;case i.Keys.up:n=r.Previous;break;case i.Keys.right:n=t?r.Previous:r.Next;break;case i.Keys.down:n=r.Next;break;case i.Keys.space:case i.Keys.enter:n=r.Toggle;break;default:n=null}null!==n&&(e.preventDefault(),this.onNavigate(n))},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),d=n(9),u=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 d.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case d.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,c.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case d.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;e.target===e.currentTarget&&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 d.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(Array.isArray(n))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=u},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),d=n(2),a=function(t){function e(){var e,a=null!==t&&t.apply(this,arguments)||this;return a._element=null,a.keyBinding=((e={})[d.Keys.left]=function(){return a.prevNavigatableTab()},e[d.Keys.right]=function(){return a.nextNavigatableTab()},e[d.Keys.down]=function(){return a.nextNavigatableTab()},e[d.Keys.up]=function(){return a.prevNavigatableTab()},e[d.Keys.home]=function(){return 0},e[d.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 d.Keys.left:t=a.keyBinding[a.invertKeys(d.Keys.left,d.Keys.right)];break;case d.Keys.right:t=a.keyBinding[a.invertKeys(d.Keys.right,d.Keys.left)];break;case d.Keys.up:t=a.keyBinding[d.Keys.up];break;case d.Keys.down:t=a.keyBinding[d.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=d.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",keepTabsMounted:!1},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)d(t,e[t])}(t)}])}}});
{
"name": "@progress/kendo-react-layout",
"version": "1.2.0-dev.201806281338",
"version": "1.2.0-dev.201807090830",
"description": "Kendo UI for React Layout package",

@@ -32,4 +32,4 @@ "repository": {

"dependencies": {
"@progress/kendo-react-animation": "1.2.0-dev.201806281338",
"@progress/kendo-react-common": "1.2.0-dev.201806281338",
"@progress/kendo-react-animation": "1.2.0-dev.201807090830",
"@progress/kendo-react-common": "1.2.0-dev.201807090830",
"prop-types": "^15.6.0"

@@ -36,0 +36,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc