@messaia/cdk 13.3.2-rc05 → 13.3.2-rc06
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/esm2020/lib/base/components/generic-form-base.component.mjs +3 -3
- package/esm2020/lib/base/components/generic-list.component.mjs +11 -11
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.component.mjs +27 -28
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.directives.mjs +44 -17
- package/esm2020/lib/layout/layout-nav/layout-nav.component.mjs +10 -4
- package/esm2020/lib/table/components/dynamic-table/dynamic-table.component.mjs +11 -11
- package/esm2020/lib/table/functions/decorators.mjs +4 -4
- package/esm2020/lib/table/models/table-column.mjs +1 -1
- package/fesm2015/messaia-cdk.mjs +127 -99
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +127 -99
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/components/generic-form-base.component.d.ts +1 -1
- package/lib/base/components/generic-list.component.d.ts +2 -2
- package/lib/layout/layout-manage-list/layout-manage-list.component.d.ts +14 -1
- package/lib/layout/layout-manage-list/layout-manage-list.directives.d.ts +36 -0
- package/lib/layout/layout-nav/layout-nav.component.d.ts +4 -4
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +3 -3
- package/lib/table/models/table-column.d.ts +1 -1
- package/package.json +1 -1
|
@@ -112,11 +112,11 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
|
|
|
112
112
|
/**
|
|
113
113
|
* Toolbar menu items
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
toolbarMenuItems: TableMenuItem[];
|
|
116
116
|
/**
|
|
117
117
|
* Table row menu items
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
rowMenuItems: TableMenuItem[];
|
|
120
120
|
/**
|
|
121
121
|
* DataLoaded event subscription
|
|
122
122
|
*/
|
|
@@ -5,7 +5,20 @@ import { ILayoutTogglable } from '../layout-toggle.class';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class VdLayoutManageListComponent implements ILayoutTogglable, OnInit {
|
|
7
7
|
private media;
|
|
8
|
+
/**
|
|
9
|
+
* sidenav: MatSidenav
|
|
10
|
+
*/
|
|
8
11
|
sidenav: MatSidenav;
|
|
12
|
+
/**
|
|
13
|
+
* title: string
|
|
14
|
+
* Content title
|
|
15
|
+
*/
|
|
16
|
+
title: string;
|
|
17
|
+
/**
|
|
18
|
+
* closable: boolean
|
|
19
|
+
* If false, hide close button
|
|
20
|
+
*/
|
|
21
|
+
closable: boolean;
|
|
9
22
|
/**
|
|
10
23
|
* mode?: 'side', 'push' or 'over'
|
|
11
24
|
*
|
|
@@ -78,5 +91,5 @@ export declare class VdLayoutManageListComponent implements ILayoutTogglable, On
|
|
|
78
91
|
*/
|
|
79
92
|
close(): Promise<MatDrawerToggleResult>;
|
|
80
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutManageListComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdLayoutManageListComponent, "vd-layout-manage-list", never, { "mode": "mode"; "sideGt": "sideGt"; "opened": "opened"; "openedGt": "openedGt"; "sidenavWidth": "sidenavWidth"; "sidenavGtXsWidth": "sidenavGtXsWidth"; }, {}, never, ["mat-toolbar[vd-sidenav-content]", "[vd-sidenav-content]", "mat-toolbar", "*", "vd-layout-footer-inner"]>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdLayoutManageListComponent, "vd-layout-manage-list", never, { "title": "title"; "closable": "closable"; "mode": "mode"; "sideGt": "sideGt"; "opened": "opened"; "openedGt": "openedGt"; "sidenavWidth": "sidenavWidth"; "sidenavGtXsWidth": "sidenavGtXsWidth"; }, {}, never, ["mat-toolbar[vd-sidenav-content]", "[vd-sidenav-content]", "mat-toolbar", "vd-list-toolbar", "*", "vd-layout-footer-inner"]>;
|
|
82
95
|
}
|
|
@@ -3,22 +3,58 @@ import { LayoutToggle } from '../layout-toggle.class';
|
|
|
3
3
|
import { VdLayoutManageListComponent } from './layout-manage-list.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class VdLayoutManageListToggleDirective extends LayoutToggle {
|
|
6
|
+
/**
|
|
7
|
+
* Sets vdLayoutManageListToggle
|
|
8
|
+
*/
|
|
6
9
|
set vdLayoutManageListToggle(vdLayoutManageListToggle: boolean);
|
|
10
|
+
/**
|
|
11
|
+
* Constructor
|
|
12
|
+
* @param layout
|
|
13
|
+
* @param renderer
|
|
14
|
+
* @param elementRef
|
|
15
|
+
*/
|
|
7
16
|
constructor(layout: VdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
|
|
17
|
+
/**
|
|
18
|
+
* Opens the list
|
|
19
|
+
*/
|
|
8
20
|
onClick(): void;
|
|
9
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutManageListToggleDirective, never>;
|
|
10
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdLayoutManageListToggleDirective, "[vdLayoutManageListToggle]", never, { "vdLayoutManageListToggle": "vdLayoutManageListToggle"; }, {}, never>;
|
|
11
23
|
}
|
|
12
24
|
export declare class VdLayoutManageListCloseDirective extends LayoutToggle {
|
|
25
|
+
/**
|
|
26
|
+
* Sets vdLayoutManageListClose
|
|
27
|
+
*/
|
|
13
28
|
set vdLayoutManageListClose(vdLayoutManageListClose: boolean);
|
|
29
|
+
/**
|
|
30
|
+
* Constructor
|
|
31
|
+
* @param layout
|
|
32
|
+
* @param renderer
|
|
33
|
+
* @param elementRef
|
|
34
|
+
*/
|
|
14
35
|
constructor(layout: VdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
|
|
36
|
+
/**
|
|
37
|
+
* Opens the list
|
|
38
|
+
*/
|
|
15
39
|
onClick(): void;
|
|
16
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutManageListCloseDirective, never>;
|
|
17
41
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdLayoutManageListCloseDirective, "[vdLayoutManageListClose]", never, { "vdLayoutManageListClose": "vdLayoutManageListClose"; }, {}, never>;
|
|
18
42
|
}
|
|
19
43
|
export declare class VdLayoutManageListOpenDirective extends LayoutToggle {
|
|
44
|
+
/**
|
|
45
|
+
* Sets vdLayoutManageListOpen
|
|
46
|
+
*/
|
|
20
47
|
set vdLayoutManageListOpen(vdLayoutManageListOpen: boolean);
|
|
48
|
+
/**
|
|
49
|
+
* Constructor
|
|
50
|
+
* @param layout
|
|
51
|
+
* @param renderer
|
|
52
|
+
* @param elementRef
|
|
53
|
+
*/
|
|
21
54
|
constructor(layout: VdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
|
|
55
|
+
/**
|
|
56
|
+
* Opens the list
|
|
57
|
+
*/
|
|
22
58
|
onClick(): void;
|
|
23
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutManageListOpenDirective, never>;
|
|
24
60
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdLayoutManageListOpenDirective, "[vdLayoutManageListOpen]", never, { "vdLayoutManageListOpen": "vdLayoutManageListOpen"; }, {}, never>;
|
|
@@ -30,11 +30,11 @@ export declare class VdLayoutNavComponent {
|
|
|
30
30
|
*/
|
|
31
31
|
color: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* hideToggle?: boolean
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* Hides toggle button
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
hideToggle: boolean;
|
|
38
38
|
/**
|
|
39
39
|
* backNavigationRoute?: string
|
|
40
40
|
*/
|
|
@@ -67,5 +67,5 @@ export declare class VdLayoutNavComponent {
|
|
|
67
67
|
*/
|
|
68
68
|
handleNavigationClick(): void;
|
|
69
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutNavComponent, [{ optional: true; }, { optional: true; }]>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdLayoutNavComponent, "vd-layout-nav", never, { "toolbarTitle": "toolbarTitle"; "icon": "icon"; "logo": "logo"; "color": "color"; "
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdLayoutNavComponent, "vd-layout-nav", never, { "toolbarTitle": "toolbarTitle"; "icon": "icon"; "logo": "logo"; "color": "color"; "hideToggle": "hideToggle"; "backNavigationRoute": "backNavigationRoute"; "navigationRoute": "navigationRoute"; }, {}, never, ["[vd-menu-button]", "[vd-toolbar-content]", "[vd-toolbar-content-right]", "*", "vd-layout-footer"]>;
|
|
71
71
|
}
|
|
@@ -112,7 +112,7 @@ export declare class VdDynamicTableComponent implements OnInit {
|
|
|
112
112
|
/**
|
|
113
113
|
* Table row menu items
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
rowMenuItems: TableMenuItem[];
|
|
116
116
|
/**
|
|
117
117
|
* Columns to exclude
|
|
118
118
|
*/
|
|
@@ -159,7 +159,7 @@ export declare class VdDynamicTableComponent implements OnInit {
|
|
|
159
159
|
* @param column
|
|
160
160
|
* @returns
|
|
161
161
|
*/
|
|
162
|
-
|
|
162
|
+
hasVisibleRowMenuItems(row: any, column: TableColumn): boolean;
|
|
163
163
|
/**
|
|
164
164
|
* A function to to compute the identity of items in an iterable.
|
|
165
165
|
* @param index
|
|
@@ -198,5 +198,5 @@ export declare class VdDynamicTableComponent implements OnInit {
|
|
|
198
198
|
*/
|
|
199
199
|
handleContextMenuEvent(event: PointerEvent): void;
|
|
200
200
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdDynamicTableComponent, never>;
|
|
201
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicTableComponent, "vd-dynamic-table", never, { "dataSource": "dataSource"; "data": "data"; "classType": "classType"; "dataSourceFilter": "dataSourceFilter"; "filterable": "filterable"; "paginable": "paginable"; "selectable": "selectable"; "sortActive": "sortActive"; "sortDirection": "sortDirection"; "stickyHeader": "stickyHeader"; "stickyFilter": "stickyFilter"; "rowNgClass": "rowNgClass"; "detailsTemplate": "detailsTemplate"; "readonly": "readonly"; "selectAllFilter": "selectAllFilter"; "columns": "columns"; "
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicTableComponent, "vd-dynamic-table", never, { "dataSource": "dataSource"; "data": "data"; "classType": "classType"; "dataSourceFilter": "dataSourceFilter"; "filterable": "filterable"; "paginable": "paginable"; "selectable": "selectable"; "sortActive": "sortActive"; "sortDirection": "sortDirection"; "stickyHeader": "stickyHeader"; "stickyFilter": "stickyFilter"; "rowNgClass": "rowNgClass"; "detailsTemplate": "detailsTemplate"; "readonly": "readonly"; "selectAllFilter": "selectAllFilter"; "columns": "columns"; "rowMenuItems": "rowMenuItems"; "excludedColumns": "excludedColumns"; }, { "rowClick": "rowClick"; }, never, never>;
|
|
202
202
|
}
|