@grapecity/wijmo.angular2legacy.grid.search 5.20261.50 → 5.20262.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.50
3
+ * Wijmo Library 5.20262.60
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var WjFlexGridSearch_1,__decorate=this&&this.__decorate||function(e,r,t,i){var a,o=arguments.length,c=o<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,r,t,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(c=(o<3?a(c):o>3?a(r,t,c):a(r,t))||c);return o>3&&c&&Object.defineProperty(r,t,c),c},__param=this&&this.__param||function(e,r){return function(t,i){r(t,i,e)}},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);r.default=e;return r};Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo.angular2legacy_directivebase_1=require("@grapecity/wijmo.angular2legacy.directivebase"),wjcGridSearch=__importStar(require("@grapecity/wijmo.grid.search"));var wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo.angular2legacy_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjFlexGridSearchMeta=wjFlexGridSearchMeta;let WjFlexGridSearch=WjFlexGridSearch_1=class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch{constructor(e,r,t){super(wijmo.angular2legacy_directivebase_1.WjDirectiveBehavior.getHostElement(e,r));this.isInitialized=!1;this._wjBehaviour=wijmo.angular2legacy_directivebase_1.WjDirectiveBehavior.attach(this,e,r,t);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,r,t,i=!1){const a=wijmo.angular2legacy_directivebase_1.WjDirectiveBehavior,o=a.getZone(this);o&&a.outsideZoneEvents[r]?o.runOutsideAngular(()=>{super.addEventListener(e,r,t,i)}):super.addEventListener(e,r,t,i)}};WjFlexGridSearch.meta={outputs:wjFlexGridSearchMeta.outputs};WjFlexGridSearch=WjFlexGridSearch_1=__decorate([core_1.Component({selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridSearch_1)},...wjFlexGridSearchMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjFlexGridSearch);exports.WjFlexGridSearch=WjFlexGridSearch;const moduleExports=[WjFlexGridSearch];let WjGridSearchModule=class WjGridSearchModule{};WjGridSearchModule=__decorate([core_1.NgModule({imports:[common_1.CommonModule],declarations:[...moduleExports],exports:[...moduleExports]})],WjGridSearchModule);exports.WjGridSearchModule=WjGridSearchModule;
14
+ "use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0});exports.wjFlexGridSearchMeta=exports.WjGridSearchModule=exports.WjFlexGridSearch=void 0;const common_1=require("@angular/common"),i0=require("@angular/core"),core_1=require("@angular/core"),wjcGridSearch=require("@grapecity/wijmo.grid.search"),forms_1=require("@angular/forms"),wijmo_angular2_directivebase_1=require("@grapecity/wijmo.angular2legacy.directivebase"),wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","textChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjFlexGridSearchMeta=wjFlexGridSearchMeta;class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch{constructor(e,t,r){var i;super(wijmo_angular2_directivebase_1.WjDirectiveBehavior.getHostElement(e,t));this.isInitialized=!1;this._clearButton=null;this._lastText=null;this._textInputListener=()=>this._emitTextChange();this._clearButtonListener=()=>this._emitTextChange();this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,r);this._clearButton=this.hostElement.querySelector("button");this.inputElement.addEventListener("input",this._textInputListener);this.inputElement.addEventListener("change",this._textInputListener);null===(i=this._clearButton)||void 0===i||i.addEventListener("click",this._clearButtonListener);this._lastText=this.text;this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnChanges(e){(e.searchAllColumns||e.exactMatch)&&this._refreshSearchState()}ngOnDestroy(){var e;this.inputElement.removeEventListener("input",this._textInputListener);this.inputElement.removeEventListener("change",this._textInputListener);null===(e=this._clearButton)||void 0===e||e.removeEventListener("click",this._clearButtonListener);this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,r,i=!1){const a=wijmo_angular2_directivebase_1.WjDirectiveBehavior,s=a.getZone(this);s&&a.outsideZoneEvents[t]?s.runOutsideAngular(()=>{super.addEventListener(e,t,r,i)}):super.addEventListener(e,t,r,i)}_emitTextChange(){var e;const t=this.text;if(t!==this._lastText){this._lastText=t;null===(e=this.textChange)||void 0===e||e.emit(t);this._wjBehaviour.requestCheck()}}_refreshSearchState(){var e;null===(e=this._applySearch)||void 0===e||e.call(this);this._wjBehaviour.requestCheck()}}exports.WjFlexGridSearch=WjFlexGridSearch;(_a=WjFlexGridSearch).meta={outputs:wjFlexGridSearchMeta.outputs,defaultModelProperty:"text",changeEvents:{textChange:["text"]}};_a.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_a,deps:[{token:core_1.ElementRef},{token:core_1.Injector},{token:"WjComponent",optional:!0,skipSelf:!0}],target:i0.ɵɵFactoryTarget.Component});_a.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"20.3.27",type:_a,isStandalone:!0,selector:"wj-flex-grid-search",inputs:{wjModelProperty:"wjModelProperty",isDisabled:"isDisabled",tabOrder:"tabOrder",text:"text",delay:"delay",searchAllColumns:"searchAllColumns",placeholder:"placeholder",cssMatch:"cssMatch",grid:"grid",ariaLabelledBy:"ariaLabelledBy",isSubmitOnChange:"isSubmitOnChange",exactMatch:"exactMatch"},outputs:{initialized:"initialized",gotFocusNg:"gotFocus",lostFocusNg:"lostFocus",refreshingNg:"refreshing",refreshedNg:"refreshed",invalidInputNg:"invalidInput",textChange:"textChange"},providers:[{provide:"WjComponent",useExisting:(0,core_1.forwardRef)(()=>_a)},...wjFlexGridSearchMeta.providers],usesInheritance:!0,usesOnChanges:!0,ngImport:i0,template:"",isInline:!0});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjFlexGridSearch,decorators:[{type:core_1.Component,args:[{selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,standalone:!0,providers:[{provide:"WjComponent",useExisting:(0,core_1.forwardRef)(()=>WjFlexGridSearch)},...wjFlexGridSearchMeta.providers]}]}],ctorParameters:()=>[{type:i0.ElementRef,decorators:[{type:core_1.Inject,args:[core_1.ElementRef]}]},{type:i0.Injector,decorators:[{type:core_1.Inject,args:[core_1.Injector]}]},{type:void 0,decorators:[{type:core_1.Inject,args:["WjComponent"]},{type:core_1.SkipSelf},{type:core_1.Optional}]}]});const WJ_GRID_SEARCH_EXPORTS=[WjFlexGridSearch];class WjGridSearchModule{}exports.WjGridSearchModule=WjGridSearchModule;(_b=WjGridSearchModule).ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,deps:[],target:i0.ɵɵFactoryTarget.NgModule});_b.ɵmod=i0.ɵɵngDeclareNgModule({minVersion:"14.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[common_1.CommonModule,WjFlexGridSearch],exports:[WjFlexGridSearch]});_b.ɵinj=i0.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[common_1.CommonModule]});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,decorators:[{type:core_1.NgModule,args:[{imports:[common_1.CommonModule,...WJ_GRID_SEARCH_EXPORTS],exports:[...WJ_GRID_SEARCH_EXPORTS]}]}]});
package/es2015-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.50
3
+ * Wijmo Library 5.20262.60
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- var WjFlexGridSearch_1,__decorate=this&&this.__decorate||function(e,r,t,i){var o,a=arguments.length,c=a<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,r,t,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(c=(a<3?o(c):a>3?o(r,t,c):o(r,t))||c);return a>3&&c&&Object.defineProperty(r,t,c),c},__param=this&&this.__param||function(e,r){return function(t,i){r(t,i,e)}};import{Component,NgModule,ElementRef,Injector,Optional,forwardRef,Inject,SkipSelf}from"@angular/core";import{CommonModule}from"@angular/common";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjDirectiveBehavior,WjValueAccessorFactory}from"@grapecity/wijmo.angular2legacy.directivebase";import*as wjcGridSearch from"@grapecity/wijmo.grid.search";var wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export{wjFlexGridSearchMeta};let WjFlexGridSearch=WjFlexGridSearch_1=class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch{constructor(e,r,t){super(WjDirectiveBehavior.getHostElement(e,r));this.isInitialized=!1;this._wjBehaviour=WjDirectiveBehavior.attach(this,e,r,t);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,r,t,i=!1){const o=WjDirectiveBehavior,a=o.getZone(this);a&&o.outsideZoneEvents[r]?a.runOutsideAngular(()=>{super.addEventListener(e,r,t,i)}):super.addEventListener(e,r,t,i)}};WjFlexGridSearch.meta={outputs:wjFlexGridSearchMeta.outputs};WjFlexGridSearch=WjFlexGridSearch_1=__decorate([Component({selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexGridSearch_1)},...wjFlexGridSearchMeta.providers]}),__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional())],WjFlexGridSearch);export{WjFlexGridSearch};const moduleExports=[WjFlexGridSearch];let WjGridSearchModule=class WjGridSearchModule{};WjGridSearchModule=__decorate([NgModule({imports:[CommonModule],declarations:[...moduleExports],exports:[...moduleExports]})],WjGridSearchModule);export{WjGridSearchModule};
14
+ var _a,_b;import{CommonModule}from"@angular/common";import*as i0 from"@angular/core";import{ElementRef,Injector,forwardRef,Inject,SkipSelf,Optional,Component,NgModule}from"@angular/core";import*as wjcGridSearch from"@grapecity/wijmo.grid.search";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjValueAccessorFactory,WjDirectiveBehavior}from"@grapecity/wijmo.angular2legacy.directivebase";const wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","textChange"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch{constructor(e,t,r){var i;super(WjDirectiveBehavior.getHostElement(e,t));this.isInitialized=!1;this._clearButton=null;this._lastText=null;this._textInputListener=()=>this._emitTextChange();this._clearButtonListener=()=>this._emitTextChange();this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this._clearButton=this.hostElement.querySelector("button");this.inputElement.addEventListener("input",this._textInputListener);this.inputElement.addEventListener("change",this._textInputListener);null===(i=this._clearButton)||void 0===i||i.addEventListener("click",this._clearButtonListener);this._lastText=this.text;this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnChanges(e){(e.searchAllColumns||e.exactMatch)&&this._refreshSearchState()}ngOnDestroy(){var e;this.inputElement.removeEventListener("input",this._textInputListener);this.inputElement.removeEventListener("change",this._textInputListener);null===(e=this._clearButton)||void 0===e||e.removeEventListener("click",this._clearButtonListener);this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,r,i=!1){const n=WjDirectiveBehavior,a=n.getZone(this);a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,r,i)}):super.addEventListener(e,t,r,i)}_emitTextChange(){var e;const t=this.text;if(t!==this._lastText){this._lastText=t;null===(e=this.textChange)||void 0===e||e.emit(t);this._wjBehaviour.requestCheck()}}_refreshSearchState(){var e;null===(e=this._applySearch)||void 0===e||e.call(this);this._wjBehaviour.requestCheck()}}(_a=WjFlexGridSearch).meta={outputs:wjFlexGridSearchMeta.outputs,defaultModelProperty:"text",changeEvents:{textChange:["text"]}};_a.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_a,deps:[{token:ElementRef},{token:Injector},{token:"WjComponent",optional:!0,skipSelf:!0}],target:i0.ɵɵFactoryTarget.Component});_a.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"20.3.27",type:_a,isStandalone:!0,selector:"wj-flex-grid-search",inputs:{wjModelProperty:"wjModelProperty",isDisabled:"isDisabled",tabOrder:"tabOrder",text:"text",delay:"delay",searchAllColumns:"searchAllColumns",placeholder:"placeholder",cssMatch:"cssMatch",grid:"grid",ariaLabelledBy:"ariaLabelledBy",isSubmitOnChange:"isSubmitOnChange",exactMatch:"exactMatch"},outputs:{initialized:"initialized",gotFocusNg:"gotFocus",lostFocusNg:"lostFocus",refreshingNg:"refreshing",refreshedNg:"refreshed",invalidInputNg:"invalidInput",textChange:"textChange"},providers:[{provide:"WjComponent",useExisting:forwardRef(()=>_a)},...wjFlexGridSearchMeta.providers],usesInheritance:!0,usesOnChanges:!0,ngImport:i0,template:"",isInline:!0});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjFlexGridSearch,decorators:[{type:Component,args:[{selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,standalone:!0,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexGridSearch)},...wjFlexGridSearchMeta.providers]}]}],ctorParameters:()=>[{type:i0.ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:i0.Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]});const WJ_GRID_SEARCH_EXPORTS=[WjFlexGridSearch];class WjGridSearchModule{}(_b=WjGridSearchModule).ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,deps:[],target:i0.ɵɵFactoryTarget.NgModule});_b.ɵmod=i0.ɵɵngDeclareNgModule({minVersion:"14.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[CommonModule,WjFlexGridSearch],exports:[WjFlexGridSearch]});_b.ɵinj=i0.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[CommonModule]});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,decorators:[{type:NgModule,args:[{imports:[CommonModule,...WJ_GRID_SEARCH_EXPORTS],exports:[...WJ_GRID_SEARCH_EXPORTS]}]}]});export{WjFlexGridSearch,WjGridSearchModule,wjFlexGridSearchMeta};
@@ -0,0 +1,14 @@
1
+ /*!
2
+ *
3
+ * Wijmo Library 5.20262.60
4
+ * https://developer.mescius.com/wijmo
5
+ *
6
+ * Copyright(c) MESCIUS inc. All rights reserved.
7
+ *
8
+ * Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
9
+ * us.sales@mescius.com
10
+ * https://developer.mescius.com/wijmo/licensing
11
+ *
12
+ */
13
+
14
+ import{CommonModule}from"@angular/common";import*as i0 from"@angular/core";import{ElementRef,Injector,forwardRef,Inject,SkipSelf,Optional,Component,NgModule}from"@angular/core";import*as wjcGridSearch from"@grapecity/wijmo.grid.search";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjValueAccessorFactory,WjDirectiveBehavior}from"@grapecity/wijmo.angular2.directivebase";const wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","textChange"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch{static{this.meta={outputs:wjFlexGridSearchMeta.outputs,defaultModelProperty:"text",changeEvents:{textChange:["text"]}}}constructor(e,t,r){super(WjDirectiveBehavior.getHostElement(e,t));this.isInitialized=!1;this._clearButton=null;this._lastText=null;this._textInputListener=()=>this._emitTextChange();this._clearButtonListener=()=>this._emitTextChange();this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this._clearButton=this.hostElement.querySelector("button");this.inputElement.addEventListener("input",this._textInputListener);this.inputElement.addEventListener("change",this._textInputListener);this._clearButton?.addEventListener("click",this._clearButtonListener);this._lastText=this.text;this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnChanges(e){(e.searchAllColumns||e.exactMatch)&&this._refreshSearchState()}ngOnDestroy(){this.inputElement.removeEventListener("input",this._textInputListener);this.inputElement.removeEventListener("change",this._textInputListener);this._clearButton?.removeEventListener("click",this._clearButtonListener);this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,r,i=!1){const s=WjDirectiveBehavior,a=s.getZone(this);a&&s.outsideZoneEvents[t]?a.runOutsideAngular((()=>{super.addEventListener(e,t,r,i)})):super.addEventListener(e,t,r,i)}_emitTextChange(){const e=this.text;if(e!==this._lastText){this._lastText=e;this.textChange?.emit(e);this._wjBehaviour.requestCheck()}}_refreshSearchState(){this._applySearch?.();this._wjBehaviour.requestCheck()}static{this.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjFlexGridSearch,deps:[{token:ElementRef},{token:Injector},{token:"WjComponent",optional:!0,skipSelf:!0}],target:i0.ɵɵFactoryTarget.Component})}static{this.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"20.3.27",type:WjFlexGridSearch,isStandalone:!0,selector:"wj-flex-grid-search",inputs:{wjModelProperty:"wjModelProperty",isDisabled:"isDisabled",tabOrder:"tabOrder",text:"text",delay:"delay",searchAllColumns:"searchAllColumns",placeholder:"placeholder",cssMatch:"cssMatch",grid:"grid",ariaLabelledBy:"ariaLabelledBy",isSubmitOnChange:"isSubmitOnChange",exactMatch:"exactMatch"},outputs:{initialized:"initialized",gotFocusNg:"gotFocus",lostFocusNg:"lostFocus",refreshingNg:"refreshing",refreshedNg:"refreshed",invalidInputNg:"invalidInput",textChange:"textChange"},providers:[{provide:"WjComponent",useExisting:forwardRef((()=>WjFlexGridSearch))},...wjFlexGridSearchMeta.providers],usesInheritance:!0,usesOnChanges:!0,ngImport:i0,template:"",isInline:!0})}}i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjFlexGridSearch,decorators:[{type:Component,args:[{selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,standalone:!0,providers:[{provide:"WjComponent",useExisting:forwardRef((()=>WjFlexGridSearch))},...wjFlexGridSearchMeta.providers]}]}],ctorParameters:()=>[{type:i0.ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:i0.Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]});const WJ_GRID_SEARCH_EXPORTS=[WjFlexGridSearch];class WjGridSearchModule{static{this.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,deps:[],target:i0.ɵɵFactoryTarget.NgModule})}static{this.ɵmod=i0.ɵɵngDeclareNgModule({minVersion:"14.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,imports:[CommonModule,WjFlexGridSearch],exports:[WjFlexGridSearch]})}static{this.ɵinj=i0.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,imports:[CommonModule]})}}i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,decorators:[{type:NgModule,args:[{imports:[CommonModule,...WJ_GRID_SEARCH_EXPORTS],exports:[...WJ_GRID_SEARCH_EXPORTS]}]}]});export{WjFlexGridSearch,WjGridSearchModule,wjFlexGridSearchMeta};
package/es5-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.50
3
+ * Wijmo Library 5.20262.60
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- var __extends=this&&this.__extends||function(){var extendStatics=function(e,r){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)};return function(e,r){extendStatics(e,r);function __(){this.constructor=e}e.prototype=null===r?Object.create(r):(__.prototype=r.prototype,new __)}}(),__decorate=this&&this.__decorate||function(e,r,t,o){var i,a=arguments.length,n=a<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,t,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(n=(a<3?i(n):a>3?i(r,t,n):i(r,t))||n);return a>3&&n&&Object.defineProperty(r,t,n),n},__param=this&&this.__param||function(e,r){return function(t,o){r(t,o,e)}};import{Component,NgModule,ElementRef,Injector,Optional,forwardRef,Inject,SkipSelf}from"@angular/core";import{CommonModule}from"@angular/common";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjDirectiveBehavior,WjValueAccessorFactory}from"@grapecity/wijmo.angular2legacy.directivebase";import*as wjcGridSearch from"@grapecity/wijmo.grid.search";var wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export{wjFlexGridSearchMeta};var WjFlexGridSearch=function(e){__extends(WjFlexGridSearch,e);function WjFlexGridSearch(r,t,o){var i=e.call(this,WjDirectiveBehavior.getHostElement(r,t))||this;i.isInitialized=!1;i._wjBehaviour=WjDirectiveBehavior.attach(i,r,t,o);i.created();return i}r=WjFlexGridSearch;WjFlexGridSearch.prototype.created=function(){};WjFlexGridSearch.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridSearch.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridSearch.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};WjFlexGridSearch.prototype.addEventListener=function(r,t,o,i){var a=this;void 0===i&&(i=!1);var n=WjDirectiveBehavior,c=n.getZone(this);c&&n.outsideZoneEvents[t]?c.runOutsideAngular((function(){e.prototype.addEventListener.call(a,r,t,o,i)})):e.prototype.addEventListener.call(this,r,t,o,i)};var r;WjFlexGridSearch.meta={outputs:wjFlexGridSearchMeta.outputs};return WjFlexGridSearch=r=__decorate([Component({selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef((function(){return r}))}].concat(wjFlexGridSearchMeta.providers)}),__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional())],WjFlexGridSearch)}(wjcGridSearch.FlexGridSearch);export{WjFlexGridSearch};var moduleExports=[WjFlexGridSearch],WjGridSearchModule=function(){function WjGridSearchModule(){}return WjGridSearchModule=__decorate([NgModule({imports:[CommonModule],declarations:moduleExports.slice(),exports:moduleExports.slice()})],WjGridSearchModule)}();export{WjGridSearchModule};
14
+ var _a,_b,__extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)if(n||!(i in t)){n||(n=Array.prototype.slice.call(t,0,i));n[i]=t[i]}return e.concat(n||Array.prototype.slice.call(t))};import{CommonModule}from"@angular/common";import*as i0 from"@angular/core";import{ElementRef,Injector,forwardRef,Inject,SkipSelf,Optional,Component,NgModule}from"@angular/core";import*as wjcGridSearch from"@grapecity/wijmo.grid.search";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjValueAccessorFactory,WjDirectiveBehavior}from"@grapecity/wijmo.angular2legacy.directivebase";var wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","textChange"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]},WjFlexGridSearch=function(e){__extends(WjFlexGridSearch,e);function WjFlexGridSearch(t,r,n){var i,o=e.call(this,WjDirectiveBehavior.getHostElement(t,r))||this;o.isInitialized=!1;o._clearButton=null;o._lastText=null;o._textInputListener=function(){return o._emitTextChange()};o._clearButtonListener=function(){return o._emitTextChange()};o._wjBehaviour=WjDirectiveBehavior.attach(o,t,r,n);o._clearButton=o.hostElement.querySelector("button");o.inputElement.addEventListener("input",o._textInputListener);o.inputElement.addEventListener("change",o._textInputListener);null===(i=o._clearButton)||void 0===i||i.addEventListener("click",o._clearButtonListener);o._lastText=o.text;o.created();return o}WjFlexGridSearch.prototype.created=function(){};WjFlexGridSearch.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridSearch.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridSearch.prototype.ngOnChanges=function(e){(e.searchAllColumns||e.exactMatch)&&this._refreshSearchState()};WjFlexGridSearch.prototype.ngOnDestroy=function(){var e;this.inputElement.removeEventListener("input",this._textInputListener);this.inputElement.removeEventListener("change",this._textInputListener);null===(e=this._clearButton)||void 0===e||e.removeEventListener("click",this._clearButtonListener);this._wjBehaviour.ngOnDestroy()};WjFlexGridSearch.prototype.addEventListener=function(t,r,n,i){var o=this;void 0===i&&(i=!1);var a=WjDirectiveBehavior,s=a.getZone(this);s&&a.outsideZoneEvents[r]?s.runOutsideAngular((function(){e.prototype.addEventListener.call(o,t,r,n,i)})):e.prototype.addEventListener.call(this,t,r,n,i)};WjFlexGridSearch.prototype._emitTextChange=function(){var e,t=this.text;if(t!==this._lastText){this._lastText=t;null===(e=this.textChange)||void 0===e||e.emit(t);this._wjBehaviour.requestCheck()}};WjFlexGridSearch.prototype._refreshSearchState=function(){var e;null===(e=this._applySearch)||void 0===e||e.call(this);this._wjBehaviour.requestCheck()};return WjFlexGridSearch}(wjcGridSearch.FlexGridSearch);(_a=WjFlexGridSearch).meta={outputs:wjFlexGridSearchMeta.outputs,defaultModelProperty:"text",changeEvents:{textChange:["text"]}};_a.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_a,deps:[{token:ElementRef},{token:Injector},{token:"WjComponent",optional:!0,skipSelf:!0}],target:i0.ɵɵFactoryTarget.Component});_a.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"20.3.27",type:_a,isStandalone:!0,selector:"wj-flex-grid-search",inputs:{wjModelProperty:"wjModelProperty",isDisabled:"isDisabled",tabOrder:"tabOrder",text:"text",delay:"delay",searchAllColumns:"searchAllColumns",placeholder:"placeholder",cssMatch:"cssMatch",grid:"grid",ariaLabelledBy:"ariaLabelledBy",isSubmitOnChange:"isSubmitOnChange",exactMatch:"exactMatch"},outputs:{initialized:"initialized",gotFocusNg:"gotFocus",lostFocusNg:"lostFocus",refreshingNg:"refreshing",refreshedNg:"refreshed",invalidInputNg:"invalidInput",textChange:"textChange"},providers:__spreadArray([{provide:"WjComponent",useExisting:forwardRef((function(){return _a}))}],wjFlexGridSearchMeta.providers,!0),usesInheritance:!0,usesOnChanges:!0,ngImport:i0,template:"",isInline:!0});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjFlexGridSearch,decorators:[{type:Component,args:[{selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,standalone:!0,providers:__spreadArray([{provide:"WjComponent",useExisting:forwardRef((function(){return WjFlexGridSearch}))}],wjFlexGridSearchMeta.providers,!0)}]}],ctorParameters:function(){return[{type:i0.ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:i0.Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]}});var WJ_GRID_SEARCH_EXPORTS=[WjFlexGridSearch],WjGridSearchModule=function WjGridSearchModule(){};(_b=WjGridSearchModule).ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,deps:[],target:i0.ɵɵFactoryTarget.NgModule});_b.ɵmod=i0.ɵɵngDeclareNgModule({minVersion:"14.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[CommonModule,WjFlexGridSearch],exports:[WjFlexGridSearch]});_b.ɵinj=i0.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[CommonModule]});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,decorators:[{type:NgModule,args:[{imports:__spreadArray([CommonModule],WJ_GRID_SEARCH_EXPORTS,!0),exports:__spreadArray([],WJ_GRID_SEARCH_EXPORTS,!0)}]}]});export{WjFlexGridSearch,WjGridSearchModule,wjFlexGridSearchMeta};
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.50
3
+ * Wijmo Library 5.20262.60
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -9,7 +9,7 @@
9
9
  * us.sales@mescius.com
10
10
  * https://developer.mescius.com/wijmo/licensing
11
11
  *
12
- */
12
+ */
13
13
  /**
14
14
  * {@module wijmo.angular2legacy.grid.search}
15
15
  * Contains Angular 2 components for the <b>wijmo.grid.search</b> module.
@@ -19,16 +19,18 @@
19
19
  *
20
20
  *
21
21
  *
22
- */
23
- /**
24
- *
25
- */
26
- export declare var ___keepComment: any;
27
- import { EventEmitter, AfterViewInit, ElementRef, Injector, OnInit, OnDestroy } from '@angular/core';
28
- import { IWjComponentMetadata, IWjComponentMeta } from '@grapecity/wijmo.angular2legacy.directivebase';
22
+ */
23
+ /**
24
+ *
25
+ */
26
+ export declare var ___keepComment: any;
27
+ import * as i0 from '@angular/core';
28
+ import { OnInit, OnDestroy, AfterViewInit, OnChanges, EventEmitter, ElementRef, Injector, SimpleChanges } from '@angular/core';
29
+ import * as i1 from '@angular/common';
29
30
  import * as wjcGridSearch from '@grapecity/wijmo.grid.search';
30
- declare var wjFlexGridSearchMeta: IWjComponentMeta;
31
- export { wjFlexGridSearchMeta };
31
+ import { IWjComponentMetadata, IWjComponentMeta } from '@grapecity/wijmo.angular2legacy.directivebase';
32
+
33
+ export declare const wjFlexGridSearchMeta: IWjComponentMeta;
32
34
  /**
33
35
  * Angular 2 component for the {@link wijmo.grid.search.FlexGridSearch} control.
34
36
  *
@@ -39,9 +41,8 @@ export { wjFlexGridSearchMeta };
39
41
  * The <b>WjFlexGridSearch</b> component is derived from the <b>FlexGridSearch</b> control and
40
42
  * inherits all its properties, events and methods.
41
43
  */
42
- export declare class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch implements OnInit, OnDestroy, AfterViewInit {
44
+ export declare class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch implements OnInit, OnDestroy, AfterViewInit, OnChanges {
43
45
  static readonly meta: IWjComponentMetadata;
44
- private _wjBehaviour;
45
46
  /**
46
47
  * Indicates whether the component has been initialized by Angular.
47
48
  * Changes its value from false to true right before triggering the <b>initialized</b> event.
@@ -54,9 +55,16 @@ export declare class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch imple
54
55
  initialized: EventEmitter<any>;
55
56
  /**
56
57
  * Defines a name of a property represented by [(ngModel)] directive (if specified).
57
- * Default value is ''.
58
+ * Set this property to override the component's default ngModel binding.
58
59
  */
59
60
  wjModelProperty: string;
61
+ textChange: EventEmitter<any>;
62
+ private _wjBehaviour;
63
+ private _clearButton;
64
+ private _lastText;
65
+ private _textInputListener;
66
+ private _clearButtonListener;
67
+ constructor(elRef: ElementRef, injector: Injector, parentCmp: any);
60
68
  /**
61
69
  * Angular (EventEmitter) version of the Wijmo <b>gotFocus</b> event for programmatic access.
62
70
  * Use this event name if you want to subscribe to the Angular version of the event in code.
@@ -87,7 +95,6 @@ export declare class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch imple
87
95
  * In template bindings use the conventional <b>invalidInput</b> Wijmo event name.
88
96
  */
89
97
  invalidInputNg: EventEmitter<any>;
90
- constructor(elRef: ElementRef, injector: Injector, parentCmp: any);
91
98
  /**
92
99
  * If you create a custom component inherited from a Wijmo component, you can override this
93
100
  * method and perform necessary initializations that you usually do in a class constructor.
@@ -98,8 +105,18 @@ export declare class WjFlexGridSearch extends wjcGridSearch.FlexGridSearch imple
98
105
  created(): void;
99
106
  ngOnInit(): void;
100
107
  ngAfterViewInit(): void;
108
+ ngOnChanges(changes: SimpleChanges): void;
101
109
  ngOnDestroy(): void;
102
110
  addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void;
111
+ private _emitTextChange;
112
+ private _refreshSearchState;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<WjFlexGridSearch, [null, null, { optional: true; skipSelf: true; }]>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<WjFlexGridSearch, "wj-flex-grid-search", never, { "wjModelProperty": { "alias": "wjModelProperty"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "tabOrder": { "alias": "tabOrder"; "required": false; }; "text": { "alias": "text"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "searchAllColumns": { "alias": "searchAllColumns"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "cssMatch": { "alias": "cssMatch"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "isSubmitOnChange": { "alias": "isSubmitOnChange"; "required": false; }; "exactMatch": { "alias": "exactMatch"; "required": false; }; }, { "initialized": "initialized"; "gotFocusNg": "gotFocus"; "lostFocusNg": "lostFocus"; "refreshingNg": "refreshing"; "refreshedNg": "refreshed"; "invalidInputNg": "invalidInput"; "textChange": "textChange"; }, never, never, true, never>;
103
115
  }
116
+
104
117
  export declare class WjGridSearchModule {
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<WjGridSearchModule, never>;
119
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WjGridSearchModule, never, [typeof i1.CommonModule, typeof WjFlexGridSearch], [typeof WjFlexGridSearch]>;
120
+ static ɵinj: i0.ɵɵInjectorDeclaration<WjGridSearchModule>;
105
121
  }
122
+
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.50
3
+ * Wijmo Library 5.20262.60
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,r){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)};return function(e,r){extendStatics(e,r);function __(){this.constructor=e}e.prototype=null===r?Object.create(r):(__.prototype=r.prototype,new __)}}(),__decorate=this&&this.__decorate||function(e,r,t,o){var i,a=arguments.length,n=a<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,t,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(n=(a<3?i(n):a>3?i(r,t,n):i(r,t))||n);return a>3&&n&&Object.defineProperty(r,t,n),n},__param=this&&this.__param||function(e,r){return function(t,o){r(t,o,e)}},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);r.default=e;return r};Object.defineProperty(exports,"__esModule",{value:!0});var core_1=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo.angular2legacy_directivebase_1=require("@grapecity/wijmo.angular2legacy.directivebase"),wjcGridSearch=__importStar(require("@grapecity/wijmo.grid.search")),wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo.angular2legacy_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjFlexGridSearchMeta=wjFlexGridSearchMeta;var WjFlexGridSearch=function(e){__extends(WjFlexGridSearch,e);function WjFlexGridSearch(r,t,o){var i=e.call(this,wijmo.angular2legacy_directivebase_1.WjDirectiveBehavior.getHostElement(r,t))||this;i.isInitialized=!1;i._wjBehaviour=wijmo.angular2legacy_directivebase_1.WjDirectiveBehavior.attach(i,r,t,o);i.created();return i}r=WjFlexGridSearch;WjFlexGridSearch.prototype.created=function(){};WjFlexGridSearch.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridSearch.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridSearch.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};WjFlexGridSearch.prototype.addEventListener=function(r,t,o,i){var a=this;void 0===i&&(i=!1);var n=wijmo.angular2legacy_directivebase_1.WjDirectiveBehavior,c=n.getZone(this);c&&n.outsideZoneEvents[t]?c.runOutsideAngular((function(){e.prototype.addEventListener.call(a,r,t,o,i)})):e.prototype.addEventListener.call(this,r,t,o,i)};var r;WjFlexGridSearch.meta={outputs:wjFlexGridSearchMeta.outputs};return WjFlexGridSearch=r=__decorate([core_1.Component({selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef((function(){return r}))}].concat(wjFlexGridSearchMeta.providers)}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjFlexGridSearch)}(wjcGridSearch.FlexGridSearch);exports.WjFlexGridSearch=WjFlexGridSearch;var moduleExports=[WjFlexGridSearch],WjGridSearchModule=function(){function WjGridSearchModule(){}return WjGridSearchModule=__decorate([core_1.NgModule({imports:[common_1.CommonModule],declarations:moduleExports.slice(),exports:moduleExports.slice()})],WjGridSearchModule)}();exports.WjGridSearchModule=WjGridSearchModule;
14
+ "use strict";var _a,_b,__extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n<o;n++)if(i||!(n in t)){i||(i=Array.prototype.slice.call(t,0,n));i[n]=t[n]}return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(exports,"__esModule",{value:!0});exports.wjFlexGridSearchMeta=exports.WjGridSearchModule=exports.WjFlexGridSearch=void 0;var common_1=require("@angular/common"),i0=require("@angular/core"),core_1=require("@angular/core"),wjcGridSearch=require("@grapecity/wijmo.grid.search"),forms_1=require("@angular/forms"),wijmo_angular2_directivebase_1=require("@grapecity/wijmo.angular2legacy.directivebase"),wjFlexGridSearchMeta={selector:"wj-flex-grid-search",template:"",inputs:["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","textChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjFlexGridSearchMeta=wjFlexGridSearchMeta;var WjFlexGridSearch=function(e){__extends(WjFlexGridSearch,e);function WjFlexGridSearch(t,r,i){var n,o=e.call(this,wijmo_angular2_directivebase_1.WjDirectiveBehavior.getHostElement(t,r))||this;o.isInitialized=!1;o._clearButton=null;o._lastText=null;o._textInputListener=function(){return o._emitTextChange()};o._clearButtonListener=function(){return o._emitTextChange()};o._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(o,t,r,i);o._clearButton=o.hostElement.querySelector("button");o.inputElement.addEventListener("input",o._textInputListener);o.inputElement.addEventListener("change",o._textInputListener);null===(n=o._clearButton)||void 0===n||n.addEventListener("click",o._clearButtonListener);o._lastText=o.text;o.created();return o}WjFlexGridSearch.prototype.created=function(){};WjFlexGridSearch.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridSearch.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridSearch.prototype.ngOnChanges=function(e){(e.searchAllColumns||e.exactMatch)&&this._refreshSearchState()};WjFlexGridSearch.prototype.ngOnDestroy=function(){var e;this.inputElement.removeEventListener("input",this._textInputListener);this.inputElement.removeEventListener("change",this._textInputListener);null===(e=this._clearButton)||void 0===e||e.removeEventListener("click",this._clearButtonListener);this._wjBehaviour.ngOnDestroy()};WjFlexGridSearch.prototype.addEventListener=function(t,r,i,n){var o=this;void 0===n&&(n=!1);var a=wijmo_angular2_directivebase_1.WjDirectiveBehavior,s=a.getZone(this);s&&a.outsideZoneEvents[r]?s.runOutsideAngular((function(){e.prototype.addEventListener.call(o,t,r,i,n)})):e.prototype.addEventListener.call(this,t,r,i,n)};WjFlexGridSearch.prototype._emitTextChange=function(){var e,t=this.text;if(t!==this._lastText){this._lastText=t;null===(e=this.textChange)||void 0===e||e.emit(t);this._wjBehaviour.requestCheck()}};WjFlexGridSearch.prototype._refreshSearchState=function(){var e;null===(e=this._applySearch)||void 0===e||e.call(this);this._wjBehaviour.requestCheck()};return WjFlexGridSearch}(wjcGridSearch.FlexGridSearch);exports.WjFlexGridSearch=WjFlexGridSearch;(_a=WjFlexGridSearch).meta={outputs:wjFlexGridSearchMeta.outputs,defaultModelProperty:"text",changeEvents:{textChange:["text"]}};_a.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_a,deps:[{token:core_1.ElementRef},{token:core_1.Injector},{token:"WjComponent",optional:!0,skipSelf:!0}],target:i0.ɵɵFactoryTarget.Component});_a.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"20.3.27",type:_a,isStandalone:!0,selector:"wj-flex-grid-search",inputs:{wjModelProperty:"wjModelProperty",isDisabled:"isDisabled",tabOrder:"tabOrder",text:"text",delay:"delay",searchAllColumns:"searchAllColumns",placeholder:"placeholder",cssMatch:"cssMatch",grid:"grid",ariaLabelledBy:"ariaLabelledBy",isSubmitOnChange:"isSubmitOnChange",exactMatch:"exactMatch"},outputs:{initialized:"initialized",gotFocusNg:"gotFocus",lostFocusNg:"lostFocus",refreshingNg:"refreshing",refreshedNg:"refreshed",invalidInputNg:"invalidInput",textChange:"textChange"},providers:__spreadArray([{provide:"WjComponent",useExisting:(0,core_1.forwardRef)((function(){return _a}))}],wjFlexGridSearchMeta.providers,!0),usesInheritance:!0,usesOnChanges:!0,ngImport:i0,template:"",isInline:!0});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjFlexGridSearch,decorators:[{type:core_1.Component,args:[{selector:wjFlexGridSearchMeta.selector,template:wjFlexGridSearchMeta.template,inputs:wjFlexGridSearchMeta.inputs,outputs:wjFlexGridSearchMeta.outputs,standalone:!0,providers:__spreadArray([{provide:"WjComponent",useExisting:(0,core_1.forwardRef)((function(){return WjFlexGridSearch}))}],wjFlexGridSearchMeta.providers,!0)}]}],ctorParameters:function(){return[{type:i0.ElementRef,decorators:[{type:core_1.Inject,args:[core_1.ElementRef]}]},{type:i0.Injector,decorators:[{type:core_1.Inject,args:[core_1.Injector]}]},{type:void 0,decorators:[{type:core_1.Inject,args:["WjComponent"]},{type:core_1.SkipSelf},{type:core_1.Optional}]}]}});var WJ_GRID_SEARCH_EXPORTS=[WjFlexGridSearch],WjGridSearchModule=function WjGridSearchModule(){};exports.WjGridSearchModule=WjGridSearchModule;(_b=WjGridSearchModule).ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,deps:[],target:i0.ɵɵFactoryTarget.NgModule});_b.ɵmod=i0.ɵɵngDeclareNgModule({minVersion:"14.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[common_1.CommonModule,WjFlexGridSearch],exports:[WjFlexGridSearch]});_b.ɵinj=i0.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:_b,imports:[common_1.CommonModule]});i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"20.3.27",ngImport:i0,type:WjGridSearchModule,decorators:[{type:core_1.NgModule,args:[{imports:__spreadArray([common_1.CommonModule],WJ_GRID_SEARCH_EXPORTS,!0),exports:__spreadArray([],WJ_GRID_SEARCH_EXPORTS,!0)}]}]});
package/package.json CHANGED
@@ -1,16 +1,15 @@
1
1
  {
2
2
  "name": "@grapecity/wijmo.angular2legacy.grid.search",
3
- "version": "5.20261.50",
3
+ "version": "5.20262.60",
4
+ "module": "./es5-esm.js",
5
+ "dependencies": {
6
+ "@grapecity/wijmo": "5.20262.60",
7
+ "@grapecity/wijmo.angular2legacy.directivebase": "5.20262.60",
8
+ "@grapecity/wijmo.grid.search": "5.20262.60"
9
+ },
4
10
  "description": "UI library for pure JS, Angular, React, Vue and more...",
5
11
  "author": "MESCIUS inc",
6
12
  "license": "Commercial",
7
- "main": "./index.js",
8
- "types": "./index.d.ts",
9
- "dependencies": {
10
- "@grapecity/wijmo": "5.20261.50",
11
- "@grapecity/wijmo.grid.search": "5.20261.50",
12
- "@grapecity/wijmo.angular2legacy.directivebase": "5.20261.50"
13
- },
14
13
  "homepage": "https://developer.mescius.com/wijmo",
15
14
  "bugs": {
16
15
  "url": "https://developer.mescius.com/forums/wijmo"
@@ -36,11 +35,12 @@
36
35
  "react-grid",
37
36
  "vue-grid"
38
37
  ],
39
- "module": "./es5-esm.js",
38
+ "main": "./index.js",
40
39
  "esm5": "./es5-esm.js",
41
40
  "wj-esm5": "./es5-esm.js",
42
41
  "es2015Cjs": "./es2015-commonjs.js",
43
42
  "wj-es2015Cjs": "./es2015-commonjs.js",
44
43
  "esm2015": "./es2015-esm.js",
45
- "wj-esm2015": "./es2015-esm.js"
44
+ "wj-esm2015": "./es2015-esm.js",
45
+ "types": "./index.d.ts"
46
46
  }
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":3,"metadata":{"___keepComment":{"__symbolic":"error","message":"Variable not initialized","line":26,"character":19},"wjFlexGridSearchMeta":{"selector":"wj-flex-grid-search","template":"","inputs":["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],"outputs":["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput"],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useFactory":{"__symbolic":"reference","module":"@grapecity/wijmo.angular2legacy.directivebase","name":"WjValueAccessorFactory"},"multi":true,"deps":["WjComponent"]}]},"WjFlexGridSearch":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@grapecity/wijmo.grid.search","name":"FlexGridSearch"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"selector"},"template":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"template"},"inputs":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"inputs"},"outputs":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"outputs"},"providers":[{"provide":"WjComponent","useExisting":{"__symbolic":"reference","name":"WjFlexGridSearch"}},{"__symbolic":"spread","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"providers"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":["WjComponent"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","name":"any"}]}],"created":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"addEventListener":[{"__symbolic":"method"}]},"statics":{"meta":{"outputs":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"outputs"}}}},"WjGridSearchModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"WjFlexGridSearch"}],"exports":[{"__symbolic":"reference","name":"WjFlexGridSearch"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"___keepComment":{"__symbolic":"error","message":"Variable not initialized","line":26,"character":19},"wjFlexGridSearchMeta":{"selector":"wj-flex-grid-search","template":"","inputs":["wjModelProperty","isDisabled","tabOrder","text","delay","searchAllColumns","placeholder","cssMatch","grid","ariaLabelledBy","isSubmitOnChange","exactMatch"],"outputs":["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput"],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useFactory":{"__symbolic":"reference","module":"@grapecity/wijmo.angular2legacy.directivebase","name":"WjValueAccessorFactory"},"multi":true,"deps":["WjComponent"]}]},"WjFlexGridSearch":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@grapecity/wijmo.grid.search","name":"FlexGridSearch"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"selector"},"template":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"template"},"inputs":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"inputs"},"outputs":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"outputs"},"providers":[{"provide":"WjComponent","useExisting":{"__symbolic":"reference","name":"WjFlexGridSearch"}},{"__symbolic":"spread","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"providers"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":["WjComponent"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","name":"any"}]}],"created":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"addEventListener":[{"__symbolic":"method"}]},"statics":{"meta":{"outputs":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"wjFlexGridSearchMeta"},"member":"outputs"}}}},"WjGridSearchModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"WjFlexGridSearch"}],"exports":[{"__symbolic":"reference","name":"WjFlexGridSearch"}]}]}]}}}]