cps-ui-kit 0.108.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.
- package/esm2020/lib/components/cps-table/directives/cps-table-column-filter.directive.mjs +5 -3
- package/esm2020/lib/components/cps-table/table-column-filter/table-column-filter-constraint/table-column-filter-constraint.component.mjs +5 -5
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.mjs +5 -3
- package/fesm2015/cps-ui-kit.mjs +12 -8
- package/fesm2015/cps-ui-kit.mjs.map +1 -1
- package/fesm2020/cps-ui-kit.mjs +12 -8
- package/fesm2020/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-table/directives/cps-table-column-filter.directive.d.ts +3 -2
- package/lib/components/cps-table/table-column-filter/table-column-filter-constraint/table-column-filter-constraint.component.d.ts +4 -4
- package/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.d.ts +3 -2
- 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,6 +22,7 @@ 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;
|
|
26
27
|
ngOnDestroy(): void;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTableColumnFilterDirective, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
2
|
import { FilterMetadata } from 'primeng/api';
|
|
3
3
|
import { Table } from 'primeng/table';
|
|
4
4
|
import { BtnToggleOption } from '../../../cps-button-toggle/cps-button-toggle.component';
|
|
5
5
|
import { TreeTable } from 'primeng/treetable';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TableColumnFilterConstraintComponent implements
|
|
7
|
+
export declare class TableColumnFilterConstraintComponent implements OnChanges {
|
|
8
8
|
dt: Table;
|
|
9
9
|
tt: TreeTable;
|
|
10
10
|
type: string | undefined;
|
|
@@ -20,8 +20,8 @@ export declare class TableColumnFilterConstraintComponent implements OnInit {
|
|
|
20
20
|
}[];
|
|
21
21
|
_tableInstance: Table | TreeTable;
|
|
22
22
|
constructor(dt: Table, tt: TreeTable);
|
|
23
|
-
|
|
24
|
-
private
|
|
23
|
+
ngOnChanges(): void;
|
|
24
|
+
private _updateCategories;
|
|
25
25
|
onValueChange(value: any): void;
|
|
26
26
|
onEnterKeyDown(event: any): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterConstraintComponent, [{ optional: true; }, { optional: true; }]>;
|
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,6 +21,7 @@ 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;
|
|
25
26
|
ngOnDestroy(): void;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableColumnFilterDirective, never>;
|