keevo-components 1.8.418 → 1.8.420
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/api/base-components/base-component-dropdown.mjs +2 -2
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +12 -9
- package/esm2022/lib/api/components/table/table.config.mjs +1 -1
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +7 -1
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +45 -3
- package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +3 -3
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +3 -3
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +9 -3
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +6 -3
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +20 -4
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
- package/fesm2022/keevo-components.mjs +100 -24
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-multi-select.d.ts +1 -0
- package/lib/api/components/table/table.config.d.ts +1 -0
- package/lib/api/pipes/capitalize.pipe.d.ts +1 -0
- package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +3 -1
- package/lib/components/kv-table/kv-table.component.d.ts +2 -1
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +2 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +6 -3
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare abstract class BaseComponentMultiSelect extends BaseComponentInpu
|
|
|
18
18
|
onClick: EventEmitter<any>;
|
|
19
19
|
loadedCombo: boolean;
|
|
20
20
|
prepositions: string[];
|
|
21
|
+
romanNumerals: string[];
|
|
21
22
|
constructor(componentService: ComponentService);
|
|
22
23
|
ngOnInit(): void;
|
|
23
24
|
carregarCombo(filtro?: filtroCombo): void;
|
|
@@ -14,6 +14,7 @@ export interface TableConfig {
|
|
|
14
14
|
enableFilter?: boolean;
|
|
15
15
|
enableSelect?: boolean;
|
|
16
16
|
enableToggleNodes?: boolean;
|
|
17
|
+
templateRowExpanded?: any;
|
|
17
18
|
disableControlCheckboxFunction?: (rowData: any, rowNode?: any) => boolean;
|
|
18
19
|
fieldGroupColorFunction?: (data: any) => string;
|
|
19
20
|
disableRow?: (rowData: any) => boolean;
|
|
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class CapitalizePipe implements PipeTransform {
|
|
4
4
|
private prepositions;
|
|
5
5
|
private romanNumerals;
|
|
6
|
+
private siglas;
|
|
6
7
|
transform(value: string): string;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
|
|
8
9
|
static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", false>;
|
|
@@ -27,6 +27,7 @@ export declare class KvContentViewerComponent {
|
|
|
27
27
|
noDocumentSelectedTemplate: TemplateRef<any>;
|
|
28
28
|
noDocumentListTemplate: TemplateRef<any>;
|
|
29
29
|
indvisualizado: boolean;
|
|
30
|
+
btnTelaCheia: boolean;
|
|
30
31
|
keyVisualizado: string;
|
|
31
32
|
todayDate(): string;
|
|
32
33
|
onScrollHandler: EventEmitter<any>;
|
|
@@ -34,7 +35,8 @@ export declare class KvContentViewerComponent {
|
|
|
34
35
|
trackByFn(index: number, item: any): any;
|
|
35
36
|
isVisualizado(option: any): boolean;
|
|
36
37
|
visualizarPreview(arquivo: any): void;
|
|
38
|
+
alternarTelaCheia(): void;
|
|
37
39
|
scrollHandler($event: Event): void;
|
|
38
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvContentViewerComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; }, never, never, false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; }, never, never, false, never>;
|
|
40
42
|
}
|
|
@@ -25,6 +25,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
25
25
|
deletedColuns: TableConfigColumn[];
|
|
26
26
|
prepositions: string[];
|
|
27
27
|
romanNumerals: string[];
|
|
28
|
+
private siglas;
|
|
28
29
|
menuFiltro: boolean;
|
|
29
30
|
checkboxClicked: boolean;
|
|
30
31
|
collapsed: boolean;
|
|
@@ -128,7 +129,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
128
129
|
onClickEvent(event: any): void;
|
|
129
130
|
styleSetter(style: string, data: string): void;
|
|
130
131
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
131
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
132
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
132
133
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
133
134
|
checkHideColumns(): void;
|
|
134
135
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -11,6 +11,7 @@ export declare class KvTableEditComponent extends BasecomponentTable implements
|
|
|
11
11
|
config: TableEditConfig;
|
|
12
12
|
enableSizes: boolean;
|
|
13
13
|
editMode: 'row' | 'cell';
|
|
14
|
+
hideBtnEdit: boolean;
|
|
14
15
|
private itemsParaSalvamento;
|
|
15
16
|
protected itemInitialState: any;
|
|
16
17
|
isEditing: boolean;
|
|
@@ -56,5 +57,5 @@ export declare class KvTableEditComponent extends BasecomponentTable implements
|
|
|
56
57
|
isEditableTable(): boolean | null;
|
|
57
58
|
transformValueDrop(value: any, col: TableConfigColumn): any;
|
|
58
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableEditComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableEditComponent, "kv-table-edit", never, { "enableSizes": { "alias": "enableSizes"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, { "onSave": "onSave"; "filterField": "filterField"; }, never, ["*"], false, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableEditComponent, "kv-table-edit", never, { "enableSizes": { "alias": "enableSizes"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "hideBtnEdit": { "alias": "hideBtnEdit"; "required": false; }; }, { "onSave": "onSave"; "filterField": "filterField"; }, never, ["*"], false, never>;
|
|
60
61
|
}
|
|
@@ -51,6 +51,8 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
51
51
|
showFirstLastIcon: boolean;
|
|
52
52
|
showTopHeader: boolean;
|
|
53
53
|
showButtonCollapsed: boolean;
|
|
54
|
+
isTableRowExpanded: boolean;
|
|
55
|
+
expandToggleVisibleFn: (rowData: any) => boolean;
|
|
54
56
|
filterField: EventEmitter<any>;
|
|
55
57
|
onActiveItem: EventEmitter<any>;
|
|
56
58
|
onActiveItemLote: EventEmitter<any>;
|
|
@@ -64,7 +66,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
64
66
|
onGlobalFilter(table: Table, event: Event): void;
|
|
65
67
|
executeCollapsed(): void;
|
|
66
68
|
checkMenuFiltro(col: any): void;
|
|
67
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
69
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
68
70
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
69
71
|
dinamicColumnSet(e: any, col: any): void;
|
|
70
72
|
addColumn(field: string): void;
|
|
@@ -92,13 +94,14 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
92
94
|
isAllIndeterminate(): boolean;
|
|
93
95
|
isAllSelected(): boolean;
|
|
94
96
|
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
95
|
-
getCustomTemplate(templatename: string): TemplateRef<any
|
|
97
|
+
getCustomTemplate(templatename: string): TemplateRef<any> | null;
|
|
96
98
|
formatarValor(valor: number): string;
|
|
97
99
|
returnRowClass(rowData: any, col: TableConfigColumn): string;
|
|
98
100
|
returnClassChip(rowData: any, col: any): string;
|
|
99
101
|
returnClassIcon(rowData: any, col: any): string;
|
|
100
102
|
returnTooltipIcon(rowData: any, col: any): string;
|
|
101
103
|
isDisabledCheckbox(rowData: any): boolean;
|
|
104
|
+
isVisibleExpandTolggle(rowData: any): boolean;
|
|
102
105
|
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
103
106
|
onSwitchChange(estado: any, rowData: boolean, col: any): void;
|
|
104
107
|
paginate(event: any): void;
|
|
@@ -109,5 +112,5 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
109
112
|
returnRowDataActions(rowData: any): void;
|
|
110
113
|
onSort(e: any): void;
|
|
111
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableExpandableComponent, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableExpandableComponent, "kv-table-expandable", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "showTopHeader": { "alias": "showTopHeader"; "required": false; }; "showButtonCollapsed": { "alias": "showButtonCollapsed"; "required": false; }; }, { "filterField": "filterField"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onSwitchTableChange": "onSwitchTableChange"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableExpandableComponent, "kv-table-expandable", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "showTopHeader": { "alias": "showTopHeader"; "required": false; }; "showButtonCollapsed": { "alias": "showButtonCollapsed"; "required": false; }; "isTableRowExpanded": { "alias": "isTableRowExpanded"; "required": false; }; "expandToggleVisibleFn": { "alias": "expandToggleVisibleFn"; "required": false; }; }, { "filterField": "filterField"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onSwitchTableChange": "onSwitchTableChange"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
|
|
113
116
|
}
|