/*
    *
    * Wijmo Library 5.20183.550
    * 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/
    *
    */
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const wjcInput=require("wijmo/wijmo.input"),wjcCore=require("wijmo/wijmo");var __glob="undefined"!=typeof window?window:self;const core_1=require("@angular/core"),core_2=require("@angular/core"),core_3=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo_angular2_directiveBase_1=require("wijmo/wijmo.angular2.directiveBase");exports.wjListBoxMeta={selector:"wj-list-box",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","isContentHtml","maxHeight","selectedValuePath","itemFormatter","displayMemberPath","checkedMemberPath","itemsSource","showGroups","selectedIndex","selectedItem","selectedValue","checkedItems"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","formatItemNg: formatItem","itemsChangedNg: itemsChanged","itemCheckedNg: itemChecked","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange","checkedItemsChangedNg: checkedItemsChanged","checkedItemsChangePC: checkedItemsChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjListBox extends wjcInput.ListBox{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjListBox.meta={outputs:exports.wjListBoxMeta.outputs,changeEvents:{selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]}},WjListBox.decorators=[{type:core_1.Component,args:[{selector:exports.wjListBoxMeta.selector,template:exports.wjListBoxMeta.template,inputs:exports.wjListBoxMeta.inputs,outputs:exports.wjListBoxMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjListBox)},...exports.wjListBoxMeta.providers]}]}],WjListBox.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjListBox=WjListBox,exports.wjComboBoxMeta={selector:"wj-combo-box",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","itemsSource","text","selectedIndex","selectedItem","selectedValue"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","formatItemNg: formatItem","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjComboBox extends wjcInput.ComboBox{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjComboBox.meta={outputs:exports.wjComboBoxMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]}},WjComboBox.decorators=[{type:core_1.Component,args:[{selector:exports.wjComboBoxMeta.selector,template:exports.wjComboBoxMeta.template,inputs:exports.wjComboBoxMeta.inputs,outputs:exports.wjComboBoxMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjComboBox)},...exports.wjComboBoxMeta.providers]}]}],WjComboBox.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjComboBox=WjComboBox,exports.wjAutoCompleteMeta={selector:"wj-auto-complete",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","delay","maxItems","minLength","cssMatch","itemsSourceFunction","searchMemberPath","itemsSource","text","selectedIndex","selectedItem","selectedValue"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","formatItemNg: formatItem","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjAutoComplete extends wjcInput.AutoComplete{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjAutoComplete.meta={outputs:exports.wjAutoCompleteMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]}},WjAutoComplete.decorators=[{type:core_1.Component,args:[{selector:exports.wjAutoCompleteMeta.selector,template:exports.wjAutoCompleteMeta.template,inputs:exports.wjAutoCompleteMeta.inputs,outputs:exports.wjAutoCompleteMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjAutoComplete)},...exports.wjAutoCompleteMeta.providers]}]}],WjAutoComplete.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjAutoComplete=WjAutoComplete,exports.wjCalendarMeta={selector:"wj-calendar",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","monthView","showHeader","itemFormatter","itemValidator","firstDayOfWeek","max","min","formatYearMonth","formatDayHeaders","formatDays","formatYear","formatMonths","selectionMode","isReadOnly","repeatButtons","showYearPicker","value","displayMonth"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange","displayMonthChangedNg: displayMonthChanged","displayMonthChangePC: displayMonthChange","formatItemNg: formatItem"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjCalendar extends wjcInput.Calendar{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjCalendar.meta={outputs:exports.wjCalendarMeta.outputs,changeEvents:{valueChanged:["value"],displayMonthChanged:["displayMonth"]}},WjCalendar.decorators=[{type:core_1.Component,args:[{selector:exports.wjCalendarMeta.selector,template:exports.wjCalendarMeta.template,inputs:exports.wjCalendarMeta.inputs,outputs:exports.wjCalendarMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjCalendar)},...exports.wjCalendarMeta.providers]}]}],WjCalendar.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjCalendar=WjCalendar,exports.wjColorPickerMeta={selector:"wj-color-picker",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","showAlphaChannel","showColorString","palette","value"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjColorPicker extends wjcInput.ColorPicker{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjColorPicker.meta={outputs:exports.wjColorPickerMeta.outputs,changeEvents:{valueChanged:["value"]}},WjColorPicker.decorators=[{type:core_1.Component,args:[{selector:exports.wjColorPickerMeta.selector,template:exports.wjColorPickerMeta.template,inputs:exports.wjColorPickerMeta.inputs,outputs:exports.wjColorPickerMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjColorPicker)},...exports.wjColorPickerMeta.providers]}]}],WjColorPicker.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjColorPicker=WjColorPicker,exports.wjInputMaskMeta={selector:"wj-input-mask",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","mask","isRequired","isReadOnly","promptChar","placeholder","rawValue","value"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","rawValueChangePC: rawValueChange","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjInputMask extends wjcInput.InputMask{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjInputMask.meta={outputs:exports.wjInputMaskMeta.outputs,changeEvents:{valueChanged:["rawValue","value"]}},WjInputMask.decorators=[{type:core_1.Component,args:[{selector:exports.wjInputMaskMeta.selector,template:exports.wjInputMaskMeta.template,inputs:exports.wjInputMaskMeta.inputs,outputs:exports.wjInputMaskMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjInputMask)},...exports.wjInputMaskMeta.providers]}]}],WjInputMask.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjInputMask=WjInputMask,exports.wjInputColorMeta={selector:"wj-input-color",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","showAlphaChannel","value","text"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjInputColor extends wjcInput.InputColor{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjInputColor.meta={outputs:exports.wjInputColorMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]}},WjInputColor.decorators=[{type:core_1.Component,args:[{selector:exports.wjInputColorMeta.selector,template:exports.wjInputColorMeta.template,inputs:exports.wjInputColorMeta.inputs,outputs:exports.wjInputColorMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjInputColor)},...exports.wjInputColorMeta.providers]}]}],WjInputColor.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjInputColor=WjInputColor,exports.wjMultiSelectMeta={selector:"wj-multi-select",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","checkedMemberPath","maxHeaderItems","headerFormat","headerFormatter","showSelectAllCheckbox","selectAllLabel","itemsSource","checkedItems","text","selectedIndex","selectedItem","selectedValue"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","formatItemNg: formatItem","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange","checkedItemsChangedNg: checkedItemsChanged","checkedItemsChangePC: checkedItemsChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjMultiSelect extends wjcInput.MultiSelect{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="checkedItems";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjMultiSelect.meta={outputs:exports.wjMultiSelectMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]}},WjMultiSelect.decorators=[{type:core_1.Component,args:[{selector:exports.wjMultiSelectMeta.selector,template:exports.wjMultiSelectMeta.template,inputs:exports.wjMultiSelectMeta.inputs,outputs:exports.wjMultiSelectMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjMultiSelect)},...exports.wjMultiSelectMeta.providers]}]}],WjMultiSelect.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjMultiSelect=WjMultiSelect,exports.wjMultiAutoCompleteMeta={selector:"wj-multi-auto-complete",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","delay","maxItems","minLength","cssMatch","itemsSourceFunction","searchMemberPath","maxSelectedItems","selectedItems","itemsSource","selectedMemberPath","text","selectedIndex","selectedItem","selectedValue"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","formatItemNg: formatItem","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange","selectedItemsChangedNg: selectedItemsChanged","selectedItemsChangePC: selectedItemsChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjMultiAutoComplete extends wjcInput.MultiAutoComplete{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedItems";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjMultiAutoComplete.meta={outputs:exports.wjMultiAutoCompleteMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],selectedItemsChanged:["selectedItems"]}},WjMultiAutoComplete.decorators=[{type:core_1.Component,args:[{selector:exports.wjMultiAutoCompleteMeta.selector,template:exports.wjMultiAutoCompleteMeta.template,inputs:exports.wjMultiAutoCompleteMeta.inputs,outputs:exports.wjMultiAutoCompleteMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjMultiAutoComplete)},...exports.wjMultiAutoCompleteMeta.providers]}]}],WjMultiAutoComplete.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjMultiAutoComplete=WjMultiAutoComplete,exports.wjInputNumberMeta={selector:"wj-input-number",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","showSpinner","repeatButtons","max","min","step","isRequired","placeholder","inputType","format","isReadOnly","value","text"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange","textChangedNg: textChanged","textChangePC: textChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjInputNumber extends wjcInput.InputNumber{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjInputNumber.meta={outputs:exports.wjInputNumberMeta.outputs,changeEvents:{valueChanged:["value"],textChanged:["text"]}},WjInputNumber.decorators=[{type:core_1.Component,args:[{selector:exports.wjInputNumberMeta.selector,template:exports.wjInputNumberMeta.template,inputs:exports.wjInputNumberMeta.inputs,outputs:exports.wjInputNumberMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjInputNumber)},...exports.wjInputNumberMeta.providers]}]}],WjInputNumber.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjInputNumber=WjInputNumber,exports.wjInputDateMeta={selector:"wj-input-date",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","text","value"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjInputDate extends wjcInput.InputDate{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjInputDate.meta={outputs:exports.wjInputDateMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]}},WjInputDate.decorators=[{type:core_1.Component,args:[{selector:exports.wjInputDateMeta.selector,template:exports.wjInputDateMeta.template,inputs:exports.wjInputDateMeta.inputs,outputs:exports.wjInputDateMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjInputDate)},...exports.wjInputDateMeta.providers]}]}],WjInputDate.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjInputDate=WjInputDate,exports.wjInputTimeMeta={selector:"wj-input-time",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","max","min","step","format","mask","inputType","itemsSource","text","selectedIndex","selectedItem","selectedValue","value"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","formatItemNg: formatItem","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjInputTime extends wjcInput.InputTime{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjInputTime.meta={outputs:exports.wjInputTimeMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],valueChanged:["value"]}},WjInputTime.decorators=[{type:core_1.Component,args:[{selector:exports.wjInputTimeMeta.selector,template:exports.wjInputTimeMeta.template,inputs:exports.wjInputTimeMeta.inputs,outputs:exports.wjInputTimeMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjInputTime)},...exports.wjInputTimeMeta.providers]}]}],WjInputTime.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjInputTime=WjInputTime,exports.wjInputDateTimeMeta={selector:"wj-input-date-time",template:``,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","timeMax","timeMin","timeStep","timeFormat","text","value"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjInputDateTime extends wjcInput.InputDateTime{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}}WjInputDateTime.meta={outputs:exports.wjInputDateTimeMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]}},WjInputDateTime.decorators=[{type:core_1.Component,args:[{selector:exports.wjInputDateTimeMeta.selector,template:exports.wjInputDateTimeMeta.template,inputs:exports.wjInputDateTimeMeta.inputs,outputs:exports.wjInputDateTimeMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjInputDateTime)},...exports.wjInputDateTimeMeta.providers]}]}],WjInputDateTime.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjInputDateTime=WjInputDateTime,exports.wjMenuMeta={selector:"wj-menu",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","header","commandParameterPath","commandPath","subItemsPath","openOnHover","isButton","itemsSource","text","selectedIndex","selectedItem","selectedValue","value"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","isDroppedDownChangingNg: isDroppedDownChanging","isDroppedDownChangedNg: isDroppedDownChanged","isDroppedDownChangePC: isDroppedDownChange","textChangedNg: textChanged","textChangePC: textChange","formatItemNg: formatItem","selectedIndexChangedNg: selectedIndexChanged","selectedIndexChangePC: selectedIndexChange","selectedItemChangePC: selectedItemChange","selectedValueChangePC: selectedValueChange","itemClickedNg: itemClicked","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjMenu extends wjcInput.Menu{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.itemsSource=new wjcCore.ObservableArray,this.selectedIndex=0,this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit(),this._attachToControl(),this._updateHeader()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy(),this.listBox.formatItem.removeHandler(this._fmtItem,this),this.listBox.loadingItems.removeHandler(this._loadingItems,this)}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}get value(){return this._value}set value(e){this._value=e,null!=e&&(this.selectedValue=e,this._updateHeader())}ngOnChanges(e){var t=e.header;t&&(this._definedHeader=t.currentValue,this._updateHeader())}ngAfterContentInit(){this.value=this.value}onItemClicked(e){this.value=this.selectedValue,super.onItemClicked(e)}refresh(e=!0){super.refresh(e),this._updateHeader()}_attachToControl(){this.listBox.formatItem.addHandler(this._fmtItem,this),this.listBox.loadingItems.addHandler(this._loadingItems,this),this.invalidate()}_loadingItems(e){var t=e.hostElement.getElementsByClassName("wj-listbox-item");for(let e=t.length-1;e>=0;e--)t[e].textContent=""}_fmtItem(e,t){if(!(t.data instanceof WjMenuItem))return;let o=t.item;o.textContent="";let r=t.data,n=r.contentRoot;n&&(o.appendChild(n),r.added(o))}_updateHeader(){this.header=this._definedHeader||"";var e=this.selectedItem;if(null!=this.value&&e&&this.displayMemberPath){let t=null;if(e instanceof WjMenuItem){let o=e.contentRoot;t=o?o.innerHTML:e[this.displayMemberPath]}null!=t&&(this.header+=": <b>"+t+"</b>")}}}WjMenu.meta={outputs:exports.wjMenuMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],itemClicked:["value"]}},WjMenu.decorators=[{type:core_1.Component,args:[{selector:exports.wjMenuMeta.selector,template:exports.wjMenuMeta.template,inputs:exports.wjMenuMeta.inputs,outputs:exports.wjMenuMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjMenu)},...exports.wjMenuMeta.providers]}]}],WjMenu.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjMenu=WjMenu,exports.wjMenuItemMeta={selector:"wj-menu-item",template:`<div *wjMenuItemTemplateDir><ng-content></ng-content></div>`,inputs:["wjProperty","value","cmd","cmdParam"],outputs:["initialized"],providers:[]};class WjMenuItem{constructor(e,t,o,r,n){this.viewContainerRef=r,this.domRenderer=n,this.isInitialized=!1,this.wjProperty="itemsSource";let a=this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this._ownerMenu=a.parentBehavior.directive,this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit();var e=this._ownerMenu;1==e.itemsSource.length&&e.selectedIndex<0&&(e.selectedIndex=0),e.displayMemberPath||(e.displayMemberPath="header"),e.selectedValuePath||(e.selectedValuePath="value"),e.commandPath||(e.commandPath="cmd"),e.commandParameterPath||(e.commandParameterPath="cmdParam")}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}added(e){}}WjMenuItem.meta={outputs:exports.wjMenuItemMeta.outputs,siblingId:"menuItemDir"},WjMenuItem.decorators=[{type:core_1.Component,args:[{selector:exports.wjMenuItemMeta.selector,template:exports.wjMenuItemMeta.template,inputs:exports.wjMenuItemMeta.inputs,outputs:exports.wjMenuItemMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjMenuItem)},...exports.wjMenuItemMeta.providers]}]}],WjMenuItem.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]},{type:core_2.ViewContainerRef,decorators:[{type:core_3.Inject,args:[core_2.ViewContainerRef]}]},{type:core_2.Renderer,decorators:[{type:core_3.Inject,args:[core_2.Renderer]}]}]),exports.WjMenuItem=WjMenuItem;class WjMenuItemTemplateDir{constructor(e,t,o,r,n,a,s){this.viewContainerRef=e,this.templateRef=t,this.elRef=o,this.domRenderer=n,this.ownerItem=a||s,this.ownerItem.templateDir=this}ngAfterContentInit(){var e=this;setTimeout(()=>{var t=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.instantiateTemplate(null,e.viewContainerRef,e.templateRef,e.domRenderer,!0).rootElement;e.contentRoot=t,e.ownerItem.contentRoot=t,e.ownerItem._ownerMenu.listBox.invalidate(),e.ownerItem._ownerMenu.invalidate()},0)}}WjMenuItemTemplateDir.decorators=[{type:core_2.Directive,args:[{selector:"[wjMenuItemTemplateDir]",inputs:["wjMenuItemTemplateDir"]}]}],WjMenuItemTemplateDir.ctorParameters=(()=>[{type:core_2.ViewContainerRef,decorators:[{type:core_3.Inject,args:[core_2.ViewContainerRef]}]},{type:core_2.TemplateRef,decorators:[{type:core_3.Inject,args:[core_2.TemplateRef]},{type:core_2.Optional}]},{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:core_2.Renderer,decorators:[{type:core_3.Inject,args:[core_2.Renderer]}]},{type:WjMenuItem,decorators:[{type:core_3.Inject,args:[WjMenuItem]},{type:core_2.Optional}]},{type:WjMenuSeparator,decorators:[{type:core_3.Inject,args:[core_2.forwardRef(()=>WjMenuSeparator)]},{type:core_2.Optional}]}]),exports.WjMenuItemTemplateDir=WjMenuItemTemplateDir,exports.wjMenuSeparatorMeta={selector:"wj-menu-separator",template:`<div *wjMenuItemTemplateDir class="wj-state-disabled" style="width:100%;height:1px;background-color:lightgray"></div>`,inputs:["wjProperty"],outputs:["initialized"],providers:[]};class WjMenuSeparator extends WjMenuItem{constructor(e,t,o,r,n){super(e,t,o,r,n),this.created()}added(e){wjcCore.addClass(e,"wj-state-disabled")}}WjMenuSeparator.decorators=[{type:core_1.Component,args:[{selector:exports.wjMenuSeparatorMeta.selector,template:exports.wjMenuSeparatorMeta.template,inputs:exports.wjMenuSeparatorMeta.inputs,outputs:exports.wjMenuSeparatorMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjMenuSeparator)},...exports.wjMenuSeparatorMeta.providers]}]}],WjMenuSeparator.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]},{type:core_2.ViewContainerRef,decorators:[{type:core_3.Inject,args:[core_2.ViewContainerRef]}]},{type:core_2.Renderer,decorators:[{type:core_3.Inject,args:[core_2.Renderer]}]}]),exports.WjMenuSeparator=WjMenuSeparator,exports.wjItemTemplateMeta={selector:"[wjItemTemplate]",inputs:["wjItemTemplate"],outputs:["initialized"],exportAs:"wjItemTemplate",providers:[]};class WjItemTemplate{constructor(e,t,o,r,n,a,s){this.viewContainerRef=r,this.templateRef=n,this.domRenderer=a,this.isInitialized=!1;let i=this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.ownerControl=i.parentBehavior.directive,this.listBox=WjItemTemplate._getListBox(this.ownerControl),this._cdRef=s,this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit(),this._attachToControl()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){var e=this.ownerControl,t=this.listBox;t&&(t.formatItem.removeHandler(this._fmtItem,this),t.loadingItems.removeHandler(this._loadingItems,this)),e&&e.invalidate()}_attachToControl(){this.listBox.formatItem.addHandler(this._fmtItem,this),this.listBox.loadingItems.addHandler(this._loadingItems,this),this.ownerControl.invalidate()}_loadingItems(e){this.viewContainerRef.clear()}_fmtItem(e,t){var o=t.item;o.textContent="";var r=this._instantiateTemplate(o);r.context.control=e,r.context.item=t.data,r.context.itemIndex=t.index,t.index===this.listBox.collectionView.items.length-1&&this._cdRef.detectChanges()}_instantiateTemplate(e){return wijmo_angular2_directiveBase_1.WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,this.domRenderer).viewRef}static _getListBox(e){return e?e instanceof wjcInput.ListBox?e:e.listBox:null}}WjItemTemplate.meta={outputs:exports.wjItemTemplateMeta.outputs,parentRefProperty:"owner"},WjItemTemplate.decorators=[{type:core_2.Directive,args:[{selector:exports.wjItemTemplateMeta.selector,inputs:exports.wjItemTemplateMeta.inputs,outputs:exports.wjItemTemplateMeta.outputs,exportAs:exports.wjItemTemplateMeta.exportAs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjItemTemplate)},...exports.wjItemTemplateMeta.providers]}]}],WjItemTemplate.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]},{type:core_2.ViewContainerRef,decorators:[{type:core_3.Inject,args:[core_2.ViewContainerRef]}]},{type:core_2.TemplateRef,decorators:[{type:core_3.Inject,args:[core_2.TemplateRef]},{type:core_2.Optional}]},{type:core_2.Renderer,decorators:[{type:core_3.Inject,args:[core_2.Renderer]}]},{type:core_3.ChangeDetectorRef,decorators:[{type:core_3.Inject,args:[core_3.ChangeDetectorRef]}]}]),exports.WjItemTemplate=WjItemTemplate,exports.wjPopupMeta={selector:"wj-popup",template:`<div><ng-content></ng-content></div>`,inputs:["wjModelProperty","isDisabled","owner","showTrigger","hideTrigger","fadeIn","fadeOut","isDraggable","dialogResultEnter","modal","removeOnHide"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","showingNg: showing","shownNg: shown","hidingNg: hiding","hiddenNg: hidden"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjPopup extends wjcInput.Popup{constructor(e,t,o){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1;this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,o,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,o,r)}):super.addEventListener(e,t,o,r)}ngOnChanges(e){e.owner&&null==this.modal&&(this.modal=!this.owner)}dispose(){this.isVisible&&(this.hiding.removeAllHandlers(),this.fadeOut=!1,this.hide()),super.dispose()}}WjPopup.meta={outputs:exports.wjPopupMeta.outputs},WjPopup.decorators=[{type:core_1.Component,args:[{selector:exports.wjPopupMeta.selector,template:exports.wjPopupMeta.template,inputs:exports.wjPopupMeta.inputs,outputs:exports.wjPopupMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjPopup)},...exports.wjPopupMeta.providers]}]}],WjPopup.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjPopup=WjPopup;class WjContextMenu{constructor(e){this.elRef=e}onContextMenu(e){var t=this.wjContextMenu,o=t.dropDown;t&&o&&!wjcCore.closest(e.target,"[disabled]")&&(e.preventDefault(),t.owner=this.elRef.nativeElement,t.show(e))}}WjContextMenu.decorators=[{type:core_2.Directive,args:[{selector:"[wjContextMenu]",inputs:["wjContextMenu"],exportAs:"wjContextMenu",host:{"(contextmenu)":"onContextMenu($event)"}}]}],WjContextMenu.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]}]),exports.WjContextMenu=WjContextMenu,exports.wjCollectionViewNavigatorMeta={selector:"wj-collection-view-navigator",template:`<div class="wj-control wj-content wj-pager">\n                <div class="wj-input-group">\n                    <span class="wj-input-group-btn" >\n                        <button class="wj-btn wj-btn-default" type="button"\n                           (click)="cv.moveCurrentToFirst()"\n                           [disabled]="!cv || cv?.currentPosition <= 0">\n                            <span class="wj-glyph-left" style="margin-right: -4px;"></span>\n                            <span class="wj-glyph-left"></span>\n                         </button>\n                    </span>\n                    <span class="wj-input-group-btn" >\n                       <button class="wj-btn wj-btn-default" type="button"\n                           (click)="cv.moveCurrentToPrevious()"\n                           [disabled]="!cv || cv?.currentPosition <= 0">\n                            <span class="wj-glyph-left"></span>\n                       </button>\n                    </span>\n                    <input type="text" class="wj-form-control" \n                           value="{{cv?.currentPosition + 1 | number}} / {{cv?.itemCount | number}}" \n                           disabled />\n                    <span class="wj-input-group-btn" >\n                        <button class="wj-btn wj-btn-default" type="button"\n                           (click)="cv.moveCurrentToNext()"\n                           [disabled]="!cv || cv?.currentPosition >= cv?.itemCount - 1">\n                            <span class="wj-glyph-right"></span>\n                        </button>\n                    </span>\n                    <span class="wj-input-group-btn" >\n                        <button class="wj-btn wj-btn-default" type="button"\n                           (click)="cv.moveCurrentToLast()"\n                           [disabled]="!cv || cv?.currentPosition >= cv?.itemCount - 1">\n                            <span class="wj-glyph-right"></span>\n                            <span class="wj-glyph-right" style="margin-left: -4px;"></span>\n                        </button>\n                    </span>\n                </div>\n            </div>`,inputs:["wjModelProperty","cv"],outputs:["initialized"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjCollectionViewNavigator{constructor(e,t,o){this.isInitialized=!1;this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}}WjCollectionViewNavigator.meta={outputs:exports.wjCollectionViewNavigatorMeta.outputs},WjCollectionViewNavigator.decorators=[{type:core_1.Component,args:[{selector:exports.wjCollectionViewNavigatorMeta.selector,template:exports.wjCollectionViewNavigatorMeta.template,inputs:exports.wjCollectionViewNavigatorMeta.inputs,outputs:exports.wjCollectionViewNavigatorMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjCollectionViewNavigator)},...exports.wjCollectionViewNavigatorMeta.providers]}]}],WjCollectionViewNavigator.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjCollectionViewNavigator=WjCollectionViewNavigator,exports.wjCollectionViewPagerMeta={selector:"wj-collection-view-pager",template:`<div class="wj-control wj-content wj-pager" >\n                <div class="wj-input-group">\n                    <span class="wj-input-group-btn" >\n                        <button class="wj-btn wj-btn-default" type="button"\n                            (click)="cv.moveToFirstPage()"\n                            [disabled]="!cv || cv?.pageIndex <= 0">\n                            <span class="wj-glyph-left" style="margin-right: -4px;"></span>\n                            <span class="wj-glyph-left"></span>\n                        </button>\n                    </span>\n                    <span class="wj-input-group-btn" >\n                    <button class="wj-btn wj-btn-default" type="button"\n                            (click)="cv.moveToPreviousPage()"\n                            [disabled]="!cv || cv?.pageIndex <= 0">\n                            <span class="wj-glyph-left"></span>\n                        </button>\n                    </span>\n                    <input type="text" class="wj-form-control" \n                           value="{{cv?.pageIndex + 1 | number}} / {{cv?.pageCount | number}}" \n                           disabled />\n                    <span class="wj-input-group-btn" >\n                        <button class="wj-btn wj-btn-default" type="button"\n                            (click)="cv.moveToNextPage()"\n                            [disabled]="!cv || cv?.pageIndex >= cv?.pageCount - 1">\n                            <span class="wj-glyph-right"></span>\n                        </button>\n                    </span>\n                    <span class="wj-input-group-btn" >\n                        <button class="wj-btn wj-btn-default" type="button"\n                            (click)="cv.moveToLastPage()"\n                            [disabled]="!cv || cv?.pageIndex >= cv?.pageCount - 1">\n                            <span class="wj-glyph-right"></span>\n                            <span class="wj-glyph-right" style="margin-left: -4px;"></span>\n                        </button>\n                    </span>\n                </div>\n            </div>`,inputs:["wjModelProperty","cv"],outputs:["initialized"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjCollectionViewPager{constructor(e,t,o){this.isInitialized=!1;this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}}WjCollectionViewPager.meta={outputs:exports.wjCollectionViewPagerMeta.outputs},WjCollectionViewPager.decorators=[{type:core_1.Component,args:[{selector:exports.wjCollectionViewPagerMeta.selector,template:exports.wjCollectionViewPagerMeta.template,inputs:exports.wjCollectionViewPagerMeta.inputs,outputs:exports.wjCollectionViewPagerMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjCollectionViewPager)},...exports.wjCollectionViewPagerMeta.providers]}]}],WjCollectionViewPager.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjCollectionViewPager=WjCollectionViewPager;let moduleExports=[WjListBox,WjComboBox,WjAutoComplete,WjCalendar,WjColorPicker,WjInputMask,WjInputColor,WjMultiSelect,WjMultiAutoComplete,WjInputNumber,WjInputDate,WjInputTime,WjInputDateTime,WjMenu,WjMenuItem,WjMenuSeparator,WjItemTemplate,WjPopup,WjContextMenu,WjCollectionViewNavigator,WjCollectionViewPager];class WjInputModule{}WjInputModule.decorators=[{type:core_1.NgModule,args:[{imports:[wijmo_angular2_directiveBase_1.WjDirectiveBaseModule,common_1.CommonModule],declarations:[...moduleExports,WjMenuItemTemplateDir],exports:[...moduleExports]}]}],WjInputModule.ctorParameters=(()=>[]),exports.WjInputModule=WjInputModule;