/*
    *
    * Wijmo Library 5.20181.436
    * http://wijmo.com/
    *
    * Copyright(c) GrapeCity, Inc.  All rights reserved.
    *
    * Licensed under the GrapeCity Commercial License.
    * sales@wijmo.com
    * wijmo.com/products/wijmo-5/license/
    *
    */
System.register(["wijmo/wijmo.nav","@angular/core","@angular/common","@angular/forms","wijmo/wijmo.angular2.directiveBase"],function(e,t){"use strict";var n,o,i,r,s,a,c,d,p,u,l,g,h,m,v,f=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();t&&t.id;return{setters:[function(e){n=e},function(e){o=e,i=e,r=e},function(e){s=e},function(e){a=e},function(e){c=e}],execute:function(){e("wjTreeViewMeta",d={selector:"wj-tree-view",template:"",inputs:["asyncBindings","wjModelProperty","isDisabled","childItemsPath","displayMemberPath","imageMemberPath","isContentHtml","showCheckboxes","autoCollapse","isAnimated","isReadOnly","allowDragging","expandOnClick","lazyLoadFunction","itemsSource","selectedItem","selectedNode","checkedItems"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","itemsSourceChangedNg: itemsSourceChanged","loadingItemsNg: loadingItems","loadedItemsNg: loadedItems","itemClickedNg: itemClicked","selectedItemChangedNg: selectedItemChanged","selectedItemChangePC: selectedItemChange","selectedNodeChangePC: selectedNodeChange","checkedItemsChangedNg: checkedItemsChanged","checkedItemsChangePC: checkedItemsChange","isCollapsedChangingNg: isCollapsedChanging","isCollapsedChangedNg: isCollapsedChanged","isCheckedChangingNg: isCheckedChanging","isCheckedChangedNg: isCheckedChanged","formatItemNg: formatItem","dragStartNg: dragStart","dragOverNg: dragOver","dropNg: drop","dragEndNg: dragEnd","nodeEditStartingNg: nodeEditStarting","nodeEditStartedNg: nodeEditStarted","nodeEditEndingNg: nodeEditEnding","nodeEditEndedNg: nodeEditEnded"],providers:[{provide:a.NG_VALUE_ACCESSOR,useFactory:c.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),p=function(e){function t(t,n,o){var i=e.call(this,c.WjDirectiveBehavior.getHostElement(t,n))||this;i.isInitialized=!1;i._wjBehaviour=c.WjDirectiveBehavior.attach(i,t,n,o);return i.created(),i}return f(t,e),t.prototype.created=function(){},t.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},t.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},t.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},t.prototype.addEventListener=function(t,n,o,i){var r=this;void 0===i&&(i=!1);var s=c.WjDirectiveBehavior,a=s.ngZone;a&&s.outsideZoneEvents[n]?a.runOutsideAngular(function(){e.prototype.addEventListener.call(r,t,n,o,i)}):e.prototype.addEventListener.call(this,t,n,o,i)},t.meta={outputs:d.outputs,changeEvents:{selectedItemChanged:["selectedItem","selectedNode"],checkedItemsChanged:["checkedItems"]}},t.decorators=[{type:o.Component,args:[{selector:d.selector,template:d.template,inputs:d.inputs,outputs:d.outputs,providers:[{provide:"WjComponent",useExisting:i.forwardRef(function(){return t})}].concat(d.providers)}]}],t.ctorParameters=function(){return[{type:i.ElementRef,decorators:[{type:r.Inject,args:[i.ElementRef]}]},{type:i.Injector,decorators:[{type:r.Inject,args:[i.Injector]}]},{type:void 0,decorators:[{type:r.Inject,args:["WjComponent"]},{type:r.SkipSelf},{type:i.Optional}]}]},t}(n.TreeView),e("WjTreeView",p),e("wjTabPanelMeta",u={selector:"wj-tab-panel",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","wjModelProperty","isDisabled","isAnimated","autoSwitch","selectedIndex","selectedTab"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedTabChangePC: selectedTabChange"],providers:[{provide:a.NG_VALUE_ACCESSOR,useFactory:c.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),l=function(e){function t(t,n,o){var i=e.call(this,c.WjDirectiveBehavior.getHostElement(t,n))||this;i.isInitialized=!1;i._wjBehaviour=c.WjDirectiveBehavior.attach(i,t,n,o);return i.created(),i}return f(t,e),t.prototype.created=function(){},t.prototype.ngOnInit=function(){this.tabs.beginUpdate(),this._wjBehaviour.ngOnInit()},t.prototype.ngAfterViewInit=function(){this.selectedIndex<0&&this.tabs.length&&(this.selectedIndex=0),this._wjBehaviour.ngAfterViewInit()},t.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},t.prototype.addEventListener=function(t,n,o,i){var r=this;void 0===i&&(i=!1);var s=c.WjDirectiveBehavior,a=s.ngZone;a&&s.outsideZoneEvents[n]?a.runOutsideAngular(function(){e.prototype.addEventListener.call(r,t,n,o,i)}):e.prototype.addEventListener.call(this,t,n,o,i)},t.prototype.ngAfterContentInit=function(){this.tabs.endUpdate()},t.meta={outputs:u.outputs,changeEvents:{selectedIndexChanged:["selectedIndex","selectedTab"]}},t.decorators=[{type:o.Component,args:[{selector:u.selector,template:u.template,inputs:u.inputs,outputs:u.outputs,providers:[{provide:"WjComponent",useExisting:i.forwardRef(function(){return t})}].concat(u.providers)}]}],t.ctorParameters=function(){return[{type:i.ElementRef,decorators:[{type:r.Inject,args:[i.ElementRef]}]},{type:i.Injector,decorators:[{type:r.Inject,args:[i.Injector]}]},{type:void 0,decorators:[{type:r.Inject,args:["WjComponent"]},{type:r.SkipSelf},{type:i.Optional}]}]},t}(n.TabPanel),e("WjTabPanel",l),e("wjTabMeta",g={selector:"wj-tab",template:"<ng-content></ng-content>",inputs:["wjProperty","isDisabled","isVisible"],outputs:["initialized"],providers:[]}),h=function(e){function t(t,n,o){var i=e.call(this,document.createElement("div"),document.createElement("div"))||this;i.isInitialized=!1,i.wjProperty="tabs";i._wjBehaviour=c.WjDirectiveBehavior.attach(i,t,n,o);return i.created(),i}return f(t,e),t.prototype.created=function(){},t.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},t.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},t.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},t.prototype.ngAfterContentInit=function(){var e=this._wjBehaviour.elementRef.nativeElement;this._setParts(e.children[0],e.children[1])},t.meta={outputs:g.outputs},t.decorators=[{type:o.Component,args:[{selector:g.selector,template:g.template,inputs:g.inputs,outputs:g.outputs,providers:[{provide:"WjComponent",useExisting:i.forwardRef(function(){return t})}].concat(g.providers)}]}],t.ctorParameters=function(){return[{type:i.ElementRef,decorators:[{type:r.Inject,args:[i.ElementRef]}]},{type:i.Injector,decorators:[{type:r.Inject,args:[i.Injector]}]},{type:void 0,decorators:[{type:r.Inject,args:["WjComponent"]},{type:r.SkipSelf},{type:i.Optional}]}]},t}(n.Tab),e("WjTab",h),m=[p,l,h],v=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[c.WjDirectiveBaseModule,s.CommonModule],declarations:m.slice(),exports:m.slice()}]}],e.ctorParameters=function(){return[]},e}(),e("WjNavModule",v)}}});