keevo-components 1.8.253 → 1.8.256
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 +10 -3
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +1 -1
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +5 -1
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +17 -4
- package/fesm2022/keevo-components.mjs +512 -490
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-crud-list.d.ts +3 -0
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +1 -1
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ import { NotificationService } from "../services/notification.service";
|
|
|
9
9
|
import { Observable } from "rxjs";
|
|
10
10
|
import { TreeTableConfig } from "../components/tree-table/tree-table.config";
|
|
11
11
|
import { KvTableComponent } from "../../components/kv-table/kv-table.component";
|
|
12
|
+
import { KvTreetableComponent } from "../../components/kv-tree-table/kv-tree-table.component";
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare abstract class BaseComponentCrudList extends BaseComponentCrud implements OnInit {
|
|
14
15
|
router: Router;
|
|
@@ -18,6 +19,7 @@ export declare abstract class BaseComponentCrudList extends BaseComponentCrud im
|
|
|
18
19
|
totalRecords: number;
|
|
19
20
|
actionsPageList: ActionItem[];
|
|
20
21
|
table: KvTableComponent;
|
|
22
|
+
treetable: KvTreetableComponent;
|
|
21
23
|
constructor(dialogService: DialogService, notificationService: NotificationService, router: Router);
|
|
22
24
|
ngOnInit(): void;
|
|
23
25
|
/**
|
|
@@ -62,6 +64,7 @@ export declare abstract class BaseComponentCrudList extends BaseComponentCrud im
|
|
|
62
64
|
*/
|
|
63
65
|
protected refresh(): void;
|
|
64
66
|
protected resetTable(): void;
|
|
67
|
+
protected resetTreeTable(): void;
|
|
65
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudList, never>;
|
|
66
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudList, "ng-component", never, {}, {}, never, never, false, never>;
|
|
67
70
|
}
|
|
@@ -103,7 +103,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
103
103
|
toggleMenu(): void;
|
|
104
104
|
verifySelectedPage(link: any, pai?: any): boolean;
|
|
105
105
|
navigateToDefaultRoute(): void;
|
|
106
|
-
getSidebarState(): "
|
|
106
|
+
getSidebarState(): "expanded" | "collapsed";
|
|
107
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
|
|
108
108
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; }, { "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, never, ["*"], false, never>;
|
|
109
109
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { MenuItem, TreeNode } from 'primeng/api';
|
|
3
3
|
import { TreeTable } from 'primeng/treetable';
|
|
4
4
|
import { ValueOrFn } from '../../api/components/table/kv-menuitem';
|
|
@@ -45,6 +45,8 @@ export declare class KvTreetableComponent {
|
|
|
45
45
|
ngOnInit(): void;
|
|
46
46
|
templates: QueryList<any>;
|
|
47
47
|
_templates: any;
|
|
48
|
+
pTreeTable: TreeTable;
|
|
49
|
+
inputField: ElementRef;
|
|
48
50
|
onWindowResize(): void;
|
|
49
51
|
activeItem(rowData: any): void;
|
|
50
52
|
activeItemLote(rowData: any): void;
|
|
@@ -65,6 +67,7 @@ export declare class KvTreetableComponent {
|
|
|
65
67
|
validateShowTemplate(rowNode: any, col: any): boolean;
|
|
66
68
|
getIcon(icon: string): string;
|
|
67
69
|
align(col: TableConfigColumn): string;
|
|
70
|
+
resetTreeTable(): void;
|
|
68
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTreetableComponent, never>;
|
|
69
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvTreetableComponent, "kv-tree-table", never, { "config": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "treeTableDraggable": { "alias": "treeTableDraggable"; "required": false; }; "transferArrayItem": { "alias": "transferArrayItem"; "required": false; }; "ordenacao": { "alias": "ordenacao"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "textoEmptyMessage": { "alias": "textoEmptyMessage"; "required": false; }; "childrenRecoil": { "alias": "childrenRecoil"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onDropItem": "onDropItem"; }, ["templates"], never, false, never>;
|
|
70
73
|
}
|