keevo-components 1.8.23 → 1.8.24
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-crud-list.mjs +2 -2
- package/esm2022/lib/api/components/table/table.config.mjs +1 -1
- package/esm2022/lib/avatar/avatar.component.mjs +2 -2
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +10 -3
- package/esm2022/lib/treetable/treetable.component.mjs +25 -4
- package/fesm2022/keevo-components.mjs +34 -7
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/components/table/table.config.d.ts +1 -0
- package/lib/progress-bar/progress-bar.component.d.ts +6 -1
- package/lib/table/table.component.d.ts +1 -1
- package/lib/treetable/treetable.component.d.ts +6 -2
- package/package.json +1 -1
|
@@ -20,6 +20,11 @@ export declare class ProgressBarComponent {
|
|
|
20
20
|
* @group Props
|
|
21
21
|
*/
|
|
22
22
|
showValue: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether to display the progress bar value.
|
|
25
|
+
* @group Props
|
|
26
|
+
*/
|
|
27
|
+
showLabel: boolean;
|
|
23
28
|
/**
|
|
24
29
|
* Class of the element.
|
|
25
30
|
* @group Props
|
|
@@ -48,5 +53,5 @@ export declare class ProgressBarComponent {
|
|
|
48
53
|
*/
|
|
49
54
|
color: string | undefined;
|
|
50
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kv-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kv-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
52
57
|
}
|
|
@@ -100,7 +100,7 @@ export declare class TableComponent implements OnInit {
|
|
|
100
100
|
addColumn(field: string): void;
|
|
101
101
|
dinamicColumnSet(e: any, col: any): void;
|
|
102
102
|
checkMenuFiltro(col: any): void;
|
|
103
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
103
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
104
104
|
callDisabled(action: KvMenuItem, data: any): boolean;
|
|
105
105
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
106
106
|
checkHideColumns(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { KvMenuItem } from '../api/components/table/kv-menuitem';
|
|
3
3
|
import { TreeTable } from 'primeng/treetable';
|
|
4
4
|
import { MenuItemCommandEvent } from 'primeng/api';
|
|
@@ -18,6 +18,8 @@ export declare class TreetableComponent {
|
|
|
18
18
|
onActiveItemLote: EventEmitter<any>;
|
|
19
19
|
doubleClickEvent: EventEmitter<any>;
|
|
20
20
|
ngOnInit(): void;
|
|
21
|
+
templates: QueryList<any>;
|
|
22
|
+
_templates: any;
|
|
21
23
|
onWindowResize(): void;
|
|
22
24
|
activeItem(rowData: any): void;
|
|
23
25
|
activeItemLote(rowData: any): void;
|
|
@@ -33,6 +35,8 @@ export declare class TreetableComponent {
|
|
|
33
35
|
validateActionPosition(rowNode: any): boolean;
|
|
34
36
|
doubleClick(e: any, rowData: any): void;
|
|
35
37
|
isDisabledCheckbox(rowData: any, rowNode: any): boolean;
|
|
38
|
+
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
39
|
+
validateShowTemplate(rowNode: any): boolean;
|
|
36
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreetableComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreetableComponent, "kv-tree-table", never, { "config": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "acoesLinhaTabela": { "alias": "acoesLinhaTabela"; "required": false; }; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; },
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreetableComponent, "kv-tree-table", never, { "config": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "acoesLinhaTabela": { "alias": "acoesLinhaTabela"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; }, ["templates"], never, false, never>;
|
|
38
42
|
}
|