/*
    *
    * 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/
    *
    */
import*as wjcInput from"wijmo/wijmo.input";import*as wjcCore from"wijmo/wijmo";var __glob="undefined"!=typeof window?window:self;import{Component,NgModule}from"@angular/core";import{ElementRef,Injector,Directive,ViewContainerRef,TemplateRef,Optional,forwardRef,Renderer}from"@angular/core";import{Inject,ChangeDetectorRef,SkipSelf}from"@angular/core";import{CommonModule}from"@angular/common";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjDirectiveBehavior,WjDirectiveBaseModule,WjValueAccessorFactory}from"wijmo/wijmo.angular2.directiveBase";export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjListBox extends wjcInput.ListBox{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjListBox.meta={outputs:wjListBoxMeta.outputs,changeEvents:{selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]}},WjListBox.decorators=[{type:Component,args:[{selector:wjListBoxMeta.selector,template:wjListBoxMeta.template,inputs:wjListBoxMeta.inputs,outputs:wjListBoxMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjListBox)},...wjListBoxMeta.providers]}]}],WjListBox.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjComboBox extends wjcInput.ComboBox{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjComboBox.meta={outputs:wjComboBoxMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]}},WjComboBox.decorators=[{type:Component,args:[{selector:wjComboBoxMeta.selector,template:wjComboBoxMeta.template,inputs:wjComboBoxMeta.inputs,outputs:wjComboBoxMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjComboBox)},...wjComboBoxMeta.providers]}]}],WjComboBox.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjAutoComplete extends wjcInput.AutoComplete{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjAutoComplete.meta={outputs:wjAutoCompleteMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]}},WjAutoComplete.decorators=[{type:Component,args:[{selector:wjAutoCompleteMeta.selector,template:wjAutoCompleteMeta.template,inputs:wjAutoCompleteMeta.inputs,outputs:wjAutoCompleteMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjAutoComplete)},...wjAutoCompleteMeta.providers]}]}],WjAutoComplete.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjCalendar extends wjcInput.Calendar{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjCalendar.meta={outputs:wjCalendarMeta.outputs,changeEvents:{valueChanged:["value"],displayMonthChanged:["displayMonth"]}},WjCalendar.decorators=[{type:Component,args:[{selector:wjCalendarMeta.selector,template:wjCalendarMeta.template,inputs:wjCalendarMeta.inputs,outputs:wjCalendarMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjCalendar)},...wjCalendarMeta.providers]}]}],WjCalendar.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjColorPicker extends wjcInput.ColorPicker{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjColorPicker.meta={outputs:wjColorPickerMeta.outputs,changeEvents:{valueChanged:["value"]}},WjColorPicker.decorators=[{type:Component,args:[{selector:wjColorPickerMeta.selector,template:wjColorPickerMeta.template,inputs:wjColorPickerMeta.inputs,outputs:wjColorPickerMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjColorPicker)},...wjColorPickerMeta.providers]}]}],WjColorPicker.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjInputMask extends wjcInput.InputMask{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjInputMask.meta={outputs:wjInputMaskMeta.outputs,changeEvents:{valueChanged:["rawValue","value"]}},WjInputMask.decorators=[{type:Component,args:[{selector:wjInputMaskMeta.selector,template:wjInputMaskMeta.template,inputs:wjInputMaskMeta.inputs,outputs:wjInputMaskMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjInputMask)},...wjInputMaskMeta.providers]}]}],WjInputMask.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjInputColor extends wjcInput.InputColor{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjInputColor.meta={outputs:wjInputColorMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]}},WjInputColor.decorators=[{type:Component,args:[{selector:wjInputColorMeta.selector,template:wjInputColorMeta.template,inputs:wjInputColorMeta.inputs,outputs:wjInputColorMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjInputColor)},...wjInputColorMeta.providers]}]}],WjInputColor.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjMultiSelect extends wjcInput.MultiSelect{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="checkedItems";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjMultiSelect.meta={outputs:wjMultiSelectMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]}},WjMultiSelect.decorators=[{type:Component,args:[{selector:wjMultiSelectMeta.selector,template:wjMultiSelectMeta.template,inputs:wjMultiSelectMeta.inputs,outputs:wjMultiSelectMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjMultiSelect)},...wjMultiSelectMeta.providers]}]}],WjMultiSelect.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjMultiAutoComplete extends wjcInput.MultiAutoComplete{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedItems";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjMultiAutoComplete.meta={outputs:wjMultiAutoCompleteMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],selectedItemsChanged:["selectedItems"]}},WjMultiAutoComplete.decorators=[{type:Component,args:[{selector:wjMultiAutoCompleteMeta.selector,template:wjMultiAutoCompleteMeta.template,inputs:wjMultiAutoCompleteMeta.inputs,outputs:wjMultiAutoCompleteMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjMultiAutoComplete)},...wjMultiAutoCompleteMeta.providers]}]}],WjMultiAutoComplete.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjInputNumber extends wjcInput.InputNumber{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjInputNumber.meta={outputs:wjInputNumberMeta.outputs,changeEvents:{valueChanged:["value"],textChanged:["text"]}},WjInputNumber.decorators=[{type:Component,args:[{selector:wjInputNumberMeta.selector,template:wjInputNumberMeta.template,inputs:wjInputNumberMeta.inputs,outputs:wjInputNumberMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjInputNumber)},...wjInputNumberMeta.providers]}]}],WjInputNumber.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjInputDate extends wjcInput.InputDate{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjInputDate.meta={outputs:wjInputDateMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]}},WjInputDate.decorators=[{type:Component,args:[{selector:wjInputDateMeta.selector,template:wjInputDateMeta.template,inputs:wjInputDateMeta.inputs,outputs:wjInputDateMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjInputDate)},...wjInputDateMeta.providers]}]}],WjInputDate.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjInputTime extends wjcInput.InputTime{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjInputTime.meta={outputs:wjInputTimeMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],valueChanged:["value"]}},WjInputTime.decorators=[{type:Component,args:[{selector:wjInputTimeMeta.selector,template:wjInputTimeMeta.template,inputs:wjInputTimeMeta.inputs,outputs:wjInputTimeMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjInputTime)},...wjInputTimeMeta.providers]}]}],WjInputTime.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjInputDateTime extends wjcInput.InputDateTime{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}};WjInputDateTime.meta={outputs:wjInputDateTimeMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]}},WjInputDateTime.decorators=[{type:Component,args:[{selector:wjInputDateTimeMeta.selector,template:wjInputDateTimeMeta.template,inputs:wjInputDateTimeMeta.inputs,outputs:wjInputDateTimeMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjInputDateTime)},...wjInputDateTimeMeta.providers]}]}],WjInputDateTime.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjMenu extends wjcInput.Menu{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="selectedValue";this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}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 n=t.data,a=n.contentRoot;a&&(o.appendChild(a),n.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:wjMenuMeta.outputs,changeEvents:{isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],itemClicked:["value"]}},WjMenu.decorators=[{type:Component,args:[{selector:wjMenuMeta.selector,template:wjMenuMeta.template,inputs:wjMenuMeta.inputs,outputs:wjMenuMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjMenu)},...wjMenuMeta.providers]}]}],WjMenu.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var wjMenuItemMeta={selector:"wj-menu-item",template:`<div *wjMenuItemTemplateDir><ng-content></ng-content></div>`,inputs:["wjProperty","value","cmd","cmdParam"],outputs:["initialized"],providers:[]};export class WjMenuItem{constructor(e,t,o,n,a){this.viewContainerRef=n,this.domRenderer=a,this.isInitialized=!1,this.wjProperty="itemsSource";let r=this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,o);this._ownerMenu=r.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:wjMenuItemMeta.outputs,siblingId:"menuItemDir"},WjMenuItem.decorators=[{type:Component,args:[{selector:wjMenuItemMeta.selector,template:wjMenuItemMeta.template,inputs:wjMenuItemMeta.inputs,outputs:wjMenuItemMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjMenuItem)},...wjMenuItemMeta.providers]}]}],WjMenuItem.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]},{type:ViewContainerRef,decorators:[{type:Inject,args:[ViewContainerRef]}]},{type:Renderer,decorators:[{type:Inject,args:[Renderer]}]}]);export class WjMenuItemTemplateDir{constructor(e,t,o,n,a,r,s){this.viewContainerRef=e,this.templateRef=t,this.elRef=o,this.domRenderer=a,this.ownerItem=r||s,this.ownerItem.templateDir=this}ngAfterContentInit(){var e=this;setTimeout(()=>{var t=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:Directive,args:[{selector:"[wjMenuItemTemplateDir]",inputs:["wjMenuItemTemplateDir"]}]}],WjMenuItemTemplateDir.ctorParameters=(()=>[{type:ViewContainerRef,decorators:[{type:Inject,args:[ViewContainerRef]}]},{type:TemplateRef,decorators:[{type:Inject,args:[TemplateRef]},{type:Optional}]},{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:Renderer,decorators:[{type:Inject,args:[Renderer]}]},{type:WjMenuItem,decorators:[{type:Inject,args:[WjMenuItem]},{type:Optional}]},{type:WjMenuSeparator,decorators:[{type:Inject,args:[forwardRef(()=>WjMenuSeparator)]},{type:Optional}]}]);export var 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:[]};export class WjMenuSeparator extends WjMenuItem{constructor(e,t,o,n,a){super(e,t,o,n,a),this.created()}added(e){wjcCore.addClass(e,"wj-state-disabled")}};WjMenuSeparator.decorators=[{type:Component,args:[{selector:wjMenuSeparatorMeta.selector,template:wjMenuSeparatorMeta.template,inputs:wjMenuSeparatorMeta.inputs,outputs:wjMenuSeparatorMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjMenuSeparator)},...wjMenuSeparatorMeta.providers]}]}],WjMenuSeparator.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]},{type:ViewContainerRef,decorators:[{type:Inject,args:[ViewContainerRef]}]},{type:Renderer,decorators:[{type:Inject,args:[Renderer]}]}]);export var wjItemTemplateMeta={selector:"[wjItemTemplate]",inputs:["wjItemTemplate"],outputs:["initialized"],exportAs:"wjItemTemplate",providers:[]};export class WjItemTemplate{constructor(e,t,o,n,a,r,s){this.viewContainerRef=n,this.templateRef=a,this.domRenderer=r,this.isInitialized=!1;let i=this._wjBehaviour=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 n=this._instantiateTemplate(o);n.context.control=e,n.context.item=t.data,n.context.itemIndex=t.index,t.index===this.listBox.collectionView.items.length-1&&this._cdRef.detectChanges()}_instantiateTemplate(e){return 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:wjItemTemplateMeta.outputs,parentRefProperty:"owner"},WjItemTemplate.decorators=[{type:Directive,args:[{selector:wjItemTemplateMeta.selector,inputs:wjItemTemplateMeta.inputs,outputs:wjItemTemplateMeta.outputs,exportAs:wjItemTemplateMeta.exportAs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjItemTemplate)},...wjItemTemplateMeta.providers]}]}],WjItemTemplate.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]},{type:ViewContainerRef,decorators:[{type:Inject,args:[ViewContainerRef]}]},{type:TemplateRef,decorators:[{type:Inject,args:[TemplateRef]},{type:Optional}]},{type:Renderer,decorators:[{type:Inject,args:[Renderer]}]},{type:ChangeDetectorRef,decorators:[{type:Inject,args:[ChangeDetectorRef]}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjPopup extends wjcInput.Popup{constructor(e,t,o){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1;this._wjBehaviour=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,n=!1){let a=WjDirectiveBehavior,r=a.ngZone;r&&a.outsideZoneEvents[t]?r.runOutsideAngular(()=>{super.addEventListener(e,t,o,n)}):super.addEventListener(e,t,o,n)}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:wjPopupMeta.outputs},WjPopup.decorators=[{type:Component,args:[{selector:wjPopupMeta.selector,template:wjPopupMeta.template,inputs:wjPopupMeta.inputs,outputs:wjPopupMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjPopup)},...wjPopupMeta.providers]}]}],WjPopup.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export 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:Directive,args:[{selector:"[wjContextMenu]",inputs:["wjContextMenu"],exportAs:"wjContextMenu",host:{"(contextmenu)":"onContextMenu($event)"}}]}],WjContextMenu.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjCollectionViewNavigator{constructor(e,t,o){this.isInitialized=!1;this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjCollectionViewNavigator.meta={outputs:wjCollectionViewNavigatorMeta.outputs},WjCollectionViewNavigator.decorators=[{type:Component,args:[{selector:wjCollectionViewNavigatorMeta.selector,template:wjCollectionViewNavigatorMeta.template,inputs:wjCollectionViewNavigatorMeta.inputs,outputs:wjCollectionViewNavigatorMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjCollectionViewNavigator)},...wjCollectionViewNavigatorMeta.providers]}]}],WjCollectionViewNavigator.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjCollectionViewPager{constructor(e,t,o){this.isInitialized=!1;this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,o);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjCollectionViewPager.meta={outputs:wjCollectionViewPagerMeta.outputs},WjCollectionViewPager.decorators=[{type:Component,args:[{selector:wjCollectionViewPagerMeta.selector,template:wjCollectionViewPagerMeta.template,inputs:wjCollectionViewPagerMeta.inputs,outputs:wjCollectionViewPagerMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjCollectionViewPager)},...wjCollectionViewPagerMeta.providers]}]}],WjCollectionViewPager.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);let moduleExports=[WjListBox,WjComboBox,WjAutoComplete,WjCalendar,WjColorPicker,WjInputMask,WjInputColor,WjMultiSelect,WjMultiAutoComplete,WjInputNumber,WjInputDate,WjInputTime,WjInputDateTime,WjMenu,WjMenuItem,WjMenuSeparator,WjItemTemplate,WjPopup,WjContextMenu,WjCollectionViewNavigator,WjCollectionViewPager];export class WjInputModule{};WjInputModule.decorators=[{type:NgModule,args:[{imports:[WjDirectiveBaseModule,CommonModule],declarations:[...moduleExports,WjMenuItemTemplateDir],exports:[...moduleExports]}]}],WjInputModule.ctorParameters=(()=>[]);