keevo-components 1.8.107 → 1.8.109
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/esm2022/lib/components/kv-table/kv-table.component.mjs +14 -17
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +1 -1
- package/fesm2022/keevo-components.mjs +14 -17
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-table/kv-table.component.d.ts +8 -7
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { CpfCnpjPipe } from '../../api/pipes/cpfcnpj.pipe';
|
|
|
6
6
|
import { ValueOrFn } from '../../api/components/table/kv-menuitem';
|
|
7
7
|
import { TableConfig } from '../../api/components/table/table.config';
|
|
8
8
|
import { TableConfigColumn } from '../../api/components/table/table.config.column';
|
|
9
|
+
import { TablePaginate } from '../../api/components/table/table.paginate';
|
|
9
10
|
import { TelefonePipe } from '../../api/pipes/telefone.pipe';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class KvTableComponent implements OnInit, DoCheck {
|
|
@@ -54,12 +55,14 @@ export declare class KvTableComponent implements OnInit, DoCheck {
|
|
|
54
55
|
responsiveLayout: boolean;
|
|
55
56
|
onActiveItem: EventEmitter<any>;
|
|
56
57
|
onActiveItemLote: EventEmitter<any>;
|
|
57
|
-
onPaginate: EventEmitter<
|
|
58
|
-
onSelectionChange: EventEmitter<any>;
|
|
58
|
+
onPaginate: EventEmitter<TablePaginate>;
|
|
59
59
|
doubleClickEvent: EventEmitter<any>;
|
|
60
60
|
filterField: EventEmitter<any>;
|
|
61
|
-
filtrosAvancadosEmit: EventEmitter<boolean>;
|
|
62
61
|
onSwitchTableChange: EventEmitter<any>;
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated Use `onActiveItemLote` instead.
|
|
64
|
+
*/
|
|
65
|
+
onSelectionChange: EventEmitter<any>;
|
|
63
66
|
menuFiltroDiv: ElementRef;
|
|
64
67
|
botaoFiltro: ElementRef;
|
|
65
68
|
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
|
|
@@ -67,7 +70,6 @@ export declare class KvTableComponent implements OnInit, DoCheck {
|
|
|
67
70
|
ngOnInit(): void;
|
|
68
71
|
onWindowResize(): void;
|
|
69
72
|
activeItem(rowData: any): void;
|
|
70
|
-
activeItemLote(selectedItems: any): void;
|
|
71
73
|
getOrExecute<T>(action: ValueOrFn<T>, data: any): T;
|
|
72
74
|
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
73
75
|
isChipField(col: TableConfigColumn): boolean;
|
|
@@ -98,12 +100,11 @@ export declare class KvTableComponent implements OnInit, DoCheck {
|
|
|
98
100
|
addColumn(field: string): void;
|
|
99
101
|
dinamicColumnSet(e: any, col: any): void;
|
|
100
102
|
checkMenuFiltro(col: any): void;
|
|
101
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
103
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
102
104
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
103
105
|
checkHideColumns(): void;
|
|
104
106
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
105
|
-
filtrosAvancadosEvent(e: any): void;
|
|
106
107
|
onSwitchChange(estado: any, rowData: boolean, col: any): void;
|
|
107
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; "onSelectionChange": "onSelectionChange"; }, ["templates"], ["*"], false, never>;
|
|
109
110
|
}
|