keevo-components 1.8.146 → 1.8.149
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-edit/kv-table-edit.component.mjs +377 -51
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/keevo-components.mjs +442 -430
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +84 -15
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/api/base-components/base-component-table.mjs +0 -318
- package/lib/api/base-components/base-component-table.d.ts +0 -81
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { TreeTableConfig } from '../components/tree-table/tree-table.config';
|
|
3
|
-
import { Table } from 'primeng/table/public_api';
|
|
4
|
-
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
5
|
-
import TableEditConfig from 'projects/keevo-components/src/lib/api/components/table/tabledit.config';
|
|
6
|
-
import { CpfCnpjPipe, NotificationService, TableConfig, TableConfigColumn, TelefonePipe } from 'projects/keevo-components/src';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class BasecomponentTable implements OnInit {
|
|
9
|
-
datePipe: DatePipe;
|
|
10
|
-
decimalPipe: DecimalPipe;
|
|
11
|
-
cpfCnpjPipe: CpfCnpjPipe;
|
|
12
|
-
telefonePipe: TelefonePipe;
|
|
13
|
-
notificationService: NotificationService;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, notificationService: NotificationService);
|
|
18
|
-
imgDefault: string;
|
|
19
|
-
config: TableConfig | TableEditConfig | TreeTableConfig;
|
|
20
|
-
selectedItem: any;
|
|
21
|
-
selectedSize: any;
|
|
22
|
-
tamanhoTela: number;
|
|
23
|
-
collapsed: boolean;
|
|
24
|
-
globalFilterFields: string[];
|
|
25
|
-
selectedItems: any[];
|
|
26
|
-
totalRecords: number;
|
|
27
|
-
paginator: boolean;
|
|
28
|
-
rowsPerPageOptions: number[];
|
|
29
|
-
rows: number;
|
|
30
|
-
pageLinksOptions: number;
|
|
31
|
-
showFirstLastIcon: boolean;
|
|
32
|
-
applyStyle: Function;
|
|
33
|
-
filterColumnsBtn: boolean;
|
|
34
|
-
filtrosAvancados: boolean;
|
|
35
|
-
scrollHeight: string;
|
|
36
|
-
isTableScrollable: boolean;
|
|
37
|
-
rowTrackBy: Function;
|
|
38
|
-
responsiveLayout: boolean;
|
|
39
|
-
tableSize: number;
|
|
40
|
-
dataSource: any[];
|
|
41
|
-
_templates: any;
|
|
42
|
-
set setConfig(value: TableEditConfig);
|
|
43
|
-
onFilter: EventEmitter<any>;
|
|
44
|
-
onSwitchTableChange: EventEmitter<any>;
|
|
45
|
-
onActiveItemLote: EventEmitter<any>;
|
|
46
|
-
onActiveItem: EventEmitter<any>;
|
|
47
|
-
onSelectionChange: EventEmitter<any>;
|
|
48
|
-
doubleClickEvent: EventEmitter<any>;
|
|
49
|
-
onPaginate: EventEmitter<any>;
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
doubleClick(e: any, rowData: any): void;
|
|
52
|
-
returnTooltipRow(rowData: any, col: any): any;
|
|
53
|
-
retornarRow(rowData: any, col: any, field: string): string;
|
|
54
|
-
returnRowClass(rowData: any, col: TableConfigColumn): string;
|
|
55
|
-
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
56
|
-
returnClassIcon(rowData: any, col: any): string;
|
|
57
|
-
returnClassChip(rowData: any, col: any): string;
|
|
58
|
-
returnTooltipIcon(rowData: any, col: any): string;
|
|
59
|
-
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
60
|
-
alignColunas(col: any): string;
|
|
61
|
-
centralizarColunas(col: any): string;
|
|
62
|
-
alignColunasHeader(col: any): string;
|
|
63
|
-
formatarValor(valor: number): string;
|
|
64
|
-
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
65
|
-
onGlobalFilter(table: Table, event: Event): void;
|
|
66
|
-
onSwitchChange(estado: any, rowData: boolean, col: any): void;
|
|
67
|
-
isSwitchField(col: TableConfigColumn): boolean;
|
|
68
|
-
isDisabledCheckbox(rowData: any): boolean;
|
|
69
|
-
activeItemLote(selectedItems: any): void;
|
|
70
|
-
activeItem(rowData: any): void;
|
|
71
|
-
exibirCampo(field: any, rowData: any): any;
|
|
72
|
-
selectionChange(value?: never[]): void;
|
|
73
|
-
isImageField(col: TableConfigColumn): boolean;
|
|
74
|
-
isChipField(col: TableConfigColumn): boolean;
|
|
75
|
-
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
76
|
-
paginate($event: any): void;
|
|
77
|
-
adjustTableSize(): void;
|
|
78
|
-
onWindowResize(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BasecomponentTable, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasecomponentTable, "ng-component", never, { "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; }; "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; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; }, { "onFilter": "onFilter"; "onSwitchTableChange": "onSwitchTableChange"; "onActiveItemLote": "onActiveItemLote"; "onActiveItem": "onActiveItem"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "onPaginate": "onPaginate"; }, never, never, false, never>;
|
|
81
|
-
}
|