@grapecity/wijmo.angular2legacy.grid.search 5.20261.52 → 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.
- package/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es2022-fesm.mjs +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/package.json +4 -22
package/es2015-commonjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.
|
|
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 _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.
|
|
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.
|
|
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 _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.
|
|
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};
|
package/es2022-fesm.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.
|
|
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
|
-
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.
|
|
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.
|
|
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 _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.
|
|
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
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.
|
|
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 _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.
|
|
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,29 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grapecity/wijmo.angular2legacy.grid.search",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"sideEffects": false,
|
|
5
|
-
"peerDependencies": {
|
|
6
|
-
"@angular/common": ">=20.3.18",
|
|
7
|
-
"@angular/core": ">=20.3.18",
|
|
8
|
-
"@angular/forms": ">=20.3.18"
|
|
9
|
-
},
|
|
3
|
+
"version": "5.20262.60",
|
|
10
4
|
"module": "./es5-esm.js",
|
|
11
|
-
"typings": "./index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
"./package.json": {
|
|
14
|
-
"default": "./package.json"
|
|
15
|
-
},
|
|
16
|
-
".": {
|
|
17
|
-
"types": "./index.d.ts",
|
|
18
|
-
"default": "./es2022-fesm.mjs",
|
|
19
|
-
"import": "./es2022-fesm.mjs",
|
|
20
|
-
"require": "./index.js"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
5
|
"dependencies": {
|
|
24
|
-
"@grapecity/wijmo": "5.
|
|
25
|
-
"@grapecity/wijmo.angular2legacy.directivebase": "5.
|
|
26
|
-
"@grapecity/wijmo.grid.search": "5.
|
|
6
|
+
"@grapecity/wijmo": "5.20262.60",
|
|
7
|
+
"@grapecity/wijmo.angular2legacy.directivebase": "5.20262.60",
|
|
8
|
+
"@grapecity/wijmo.grid.search": "5.20262.60"
|
|
27
9
|
},
|
|
28
10
|
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
|
29
11
|
"author": "MESCIUS inc",
|