cps-ui-kit 0.109.0 → 0.111.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.
- package/esm2020/lib/components/cps-table/directives/cps-table-column-filter.directive.mjs +10 -4
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.mjs +10 -4
- package/fesm2015/cps-ui-kit.mjs +20 -6
- package/fesm2015/cps-ui-kit.mjs.map +1 -1
- package/fesm2020/cps-ui-kit.mjs +18 -6
- package/fesm2020/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-table/directives/cps-table-column-filter.directive.d.ts +5 -3
- package/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ComponentRef, ElementRef, OnDestroy, OnInit, OnChanges, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { TableColumnFilterComponent } from '../table-column-filter/table-column-filter.component';
|
|
3
3
|
import { CpsFilterMatchMode } from '../cps-filter-match-mode';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type CpsTableColumnFilterType = 'text' | 'number' | 'date' | 'boolean' | 'category';
|
|
6
|
-
export declare class CpsTableColumnFilterDirective implements OnInit, OnDestroy {
|
|
6
|
+
export declare class CpsTableColumnFilterDirective implements OnInit, OnChanges, OnDestroy {
|
|
7
7
|
private elementRef;
|
|
8
8
|
private viewContainerRef;
|
|
9
9
|
field: string | undefined;
|
|
@@ -22,8 +22,10 @@ export declare class CpsTableColumnFilterDirective implements OnInit, OnDestroy
|
|
|
22
22
|
filterCompRef: ComponentRef<TableColumnFilterComponent>;
|
|
23
23
|
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
24
24
|
ngOnInit(): void;
|
|
25
|
+
ngOnChanges(): void;
|
|
25
26
|
private _getDefaultPlaceholder;
|
|
27
|
+
clearFilter(): void;
|
|
26
28
|
ngOnDestroy(): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTableColumnFilterDirective, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTableColumnFilterDirective, "[cpsTColFilter]",
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTableColumnFilterDirective, "[cpsTColFilter]", ["cpsTColFilter"], { "field": "cpsTColFilter"; "filterType": "filterType"; "filterPersistent": "filterPersistent"; "filterShowClearButton": "filterShowClearButton"; "filterShowApplyButton": "filterShowApplyButton"; "filterShowCloseButton": "filterShowCloseButton"; "filterShowMatchModes": "filterShowMatchModes"; "filterMatchModes": "filterMatchModes"; "filterShowOperator": "filterShowOperator"; "filterMaxConstraints": "filterMaxConstraints"; "filterHideOnClear": "filterHideOnClear"; "filterCategoryOptions": "filterCategoryOptions"; "filterPlaceholder": "filterPlaceholder"; }, {}, never, never, true, never>;
|
|
29
31
|
}
|
package/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ComponentRef, ElementRef, OnDestroy, OnInit, OnChanges, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { TableColumnFilterComponent } from '../../cps-table/table-column-filter/table-column-filter.component';
|
|
3
3
|
import { CpsFilterMatchMode } from '../../cps-table/cps-filter-match-mode';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type CpsTreeTableColumnFilterType = 'text' | 'number' | 'date' | 'boolean' | 'category';
|
|
6
|
-
export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnDestroy {
|
|
6
|
+
export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnChanges, OnDestroy {
|
|
7
7
|
private elementRef;
|
|
8
8
|
private viewContainerRef;
|
|
9
9
|
field: string | undefined;
|
|
@@ -21,8 +21,10 @@ export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnDest
|
|
|
21
21
|
filterCompRef: ComponentRef<TableColumnFilterComponent>;
|
|
22
22
|
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
23
23
|
ngOnInit(): void;
|
|
24
|
+
ngOnChanges(): void;
|
|
24
25
|
private _getDefaultPlaceholder;
|
|
26
|
+
clearFilter(): void;
|
|
25
27
|
ngOnDestroy(): void;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableColumnFilterDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreeTableColumnFilterDirective, "[cpsTTColFilter]",
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreeTableColumnFilterDirective, "[cpsTTColFilter]", ["cpsTTColFilter"], { "field": "cpsTTColFilter"; "filterType": "filterType"; "filterPersistent": "filterPersistent"; "filterShowClearButton": "filterShowClearButton"; "filterShowApplyButton": "filterShowApplyButton"; "filterShowCloseButton": "filterShowCloseButton"; "filterShowMatchModes": "filterShowMatchModes"; "filterMatchModes": "filterMatchModes"; "filterShowOperator": "filterShowOperator"; "filterHideOnClear": "filterHideOnClear"; "filterCategoryOptions": "filterCategoryOptions"; "filterPlaceholder": "filterPlaceholder"; }, {}, never, never, true, never>;
|
|
28
30
|
}
|