cps-ui-kit 0.109.0 → 0.110.0

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.
@@ -5151,6 +5151,9 @@ class CpsTableColumnFilterDirective {
5151
5151
  this.filterCompRef = this.viewContainerRef.createComponent(TableColumnFilterComponent);
5152
5152
  }
5153
5153
  ngOnInit() {
5154
+ this.elementRef.nativeElement.firstChild.after(this.filterCompRef.location.nativeElement);
5155
+ }
5156
+ ngOnChanges() {
5154
5157
  this.filterCompRef.setInput('field', this.field);
5155
5158
  this.filterCompRef.setInput('type', this.filterType);
5156
5159
  this.filterCompRef.setInput('persistent', this.filterPersistent);
@@ -5164,7 +5167,6 @@ class CpsTableColumnFilterDirective {
5164
5167
  this.filterCompRef.setInput('hideOnClear', this.filterHideOnClear);
5165
5168
  this.filterCompRef.setInput('categoryOptions', this.filterCategoryOptions);
5166
5169
  this.filterCompRef.setInput('placeholder', this.filterPlaceholder || this._getDefaultPlaceholder());
5167
- this.elementRef.nativeElement.firstChild.after(this.filterCompRef.location.nativeElement);
5168
5170
  }
5169
5171
  _getDefaultPlaceholder() {
5170
5172
  switch (this.filterType) {
@@ -5186,7 +5188,7 @@ class CpsTableColumnFilterDirective {
5186
5188
  }
5187
5189
  }
5188
5190
  CpsTableColumnFilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CpsTableColumnFilterDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
5189
- CpsTableColumnFilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CpsTableColumnFilterDirective, isStandalone: true, selector: "[cpsTColFilter]", inputs: { field: ["cpsTColFilter", "field"], filterType: "filterType", filterPersistent: "filterPersistent", filterShowClearButton: "filterShowClearButton", filterShowApplyButton: "filterShowApplyButton", filterShowCloseButton: "filterShowCloseButton", filterShowMatchModes: "filterShowMatchModes", filterMatchModes: "filterMatchModes", filterShowOperator: "filterShowOperator", filterMaxConstraints: "filterMaxConstraints", filterHideOnClear: "filterHideOnClear", filterCategoryOptions: "filterCategoryOptions", filterPlaceholder: "filterPlaceholder" }, ngImport: i0 });
5191
+ CpsTableColumnFilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CpsTableColumnFilterDirective, isStandalone: true, selector: "[cpsTColFilter]", inputs: { field: ["cpsTColFilter", "field"], filterType: "filterType", filterPersistent: "filterPersistent", filterShowClearButton: "filterShowClearButton", filterShowApplyButton: "filterShowApplyButton", filterShowCloseButton: "filterShowCloseButton", filterShowMatchModes: "filterShowMatchModes", filterMatchModes: "filterMatchModes", filterShowOperator: "filterShowOperator", filterMaxConstraints: "filterMaxConstraints", filterHideOnClear: "filterHideOnClear", filterCategoryOptions: "filterCategoryOptions", filterPlaceholder: "filterPlaceholder" }, usesOnChanges: true, ngImport: i0 });
5190
5192
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CpsTableColumnFilterDirective, decorators: [{
5191
5193
  type: Directive,
5192
5194
  args: [{
@@ -6143,6 +6145,9 @@ class CpsTreeTableColumnFilterDirective {
6143
6145
  this.filterCompRef = this.viewContainerRef.createComponent(TableColumnFilterComponent);
6144
6146
  }
6145
6147
  ngOnInit() {
6148
+ this.elementRef.nativeElement.firstChild.after(this.filterCompRef.location.nativeElement);
6149
+ }
6150
+ ngOnChanges() {
6146
6151
  this.filterCompRef.setInput('field', this.field);
6147
6152
  this.filterCompRef.setInput('type', this.filterType);
6148
6153
  this.filterCompRef.setInput('persistent', this.filterPersistent);
@@ -6156,7 +6161,6 @@ class CpsTreeTableColumnFilterDirective {
6156
6161
  this.filterCompRef.setInput('hideOnClear', this.filterHideOnClear);
6157
6162
  this.filterCompRef.setInput('categoryOptions', this.filterCategoryOptions);
6158
6163
  this.filterCompRef.setInput('placeholder', this.filterPlaceholder || this._getDefaultPlaceholder());
6159
- this.elementRef.nativeElement.firstChild.after(this.filterCompRef.location.nativeElement);
6160
6164
  }
6161
6165
  _getDefaultPlaceholder() {
6162
6166
  switch (this.filterType) {
@@ -6178,7 +6182,7 @@ class CpsTreeTableColumnFilterDirective {
6178
6182
  }
6179
6183
  }
6180
6184
  CpsTreeTableColumnFilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CpsTreeTableColumnFilterDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
6181
- CpsTreeTableColumnFilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CpsTreeTableColumnFilterDirective, isStandalone: true, selector: "[cpsTTColFilter]", inputs: { field: ["cpsTTColFilter", "field"], filterType: "filterType", filterPersistent: "filterPersistent", filterShowClearButton: "filterShowClearButton", filterShowApplyButton: "filterShowApplyButton", filterShowCloseButton: "filterShowCloseButton", filterShowMatchModes: "filterShowMatchModes", filterMatchModes: "filterMatchModes", filterShowOperator: "filterShowOperator", filterHideOnClear: "filterHideOnClear", filterCategoryOptions: "filterCategoryOptions", filterPlaceholder: "filterPlaceholder" }, ngImport: i0 });
6185
+ CpsTreeTableColumnFilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CpsTreeTableColumnFilterDirective, isStandalone: true, selector: "[cpsTTColFilter]", inputs: { field: ["cpsTTColFilter", "field"], filterType: "filterType", filterPersistent: "filterPersistent", filterShowClearButton: "filterShowClearButton", filterShowApplyButton: "filterShowApplyButton", filterShowCloseButton: "filterShowCloseButton", filterShowMatchModes: "filterShowMatchModes", filterMatchModes: "filterMatchModes", filterShowOperator: "filterShowOperator", filterHideOnClear: "filterHideOnClear", filterCategoryOptions: "filterCategoryOptions", filterPlaceholder: "filterPlaceholder" }, usesOnChanges: true, ngImport: i0 });
6182
6186
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CpsTreeTableColumnFilterDirective, decorators: [{
6183
6187
  type: Directive,
6184
6188
  args: [{