@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.
@@ -129,7 +129,7 @@ export declare abstract class GenericFormBaseComponent<TEntity extends IEntity,
129
129
  /**
130
130
  * Toolbar menu items
131
131
  */
132
- toolbarMenus: TableMenuItem[];
132
+ toolbarMenuItems: TableMenuItem[];
133
133
  /**
134
134
  * MatStepper ref
135
135
  */
@@ -112,11 +112,11 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
112
112
  /**
113
113
  * Toolbar menu items
114
114
  */
115
- toolbarMenus: TableMenuItem[];
115
+ toolbarMenuItems: TableMenuItem[];
116
116
  /**
117
117
  * Table row menu items
118
118
  */
119
- actionMenus: TableMenuItem[];
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
- * showToggle?: boolean
33
+ * hideToggle?: boolean
34
34
  *
35
- * Shows toggle button
35
+ * Hides toggle button
36
36
  */
37
- showToggle: boolean;
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"; "showToggle": "showToggle"; "backNavigationRoute": "backNavigationRoute"; "navigationRoute": "navigationRoute"; }, {}, never, ["[vd-menu-button]", "[vd-toolbar-content]", "[vd-toolbar-content-right]", "*", "vd-layout-footer"]>;
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
- actionMenus: TableMenuItem[];
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
- hasVisibleActionMenus(row: any, column: TableColumn): boolean;
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"; "actionMenus": "actionMenus"; "excludedColumns": "excludedColumns"; }, { "rowClick": "rowClick"; }, never, 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"; "rowMenuItems": "rowMenuItems"; "excludedColumns": "excludedColumns"; }, { "rowClick": "rowClick"; }, never, never>;
202
202
  }
@@ -27,7 +27,7 @@ export declare class TableColumn {
27
27
  shortDate?: boolean;
28
28
  arrowBefore?: boolean;
29
29
  disabled?: boolean;
30
- actionMenus?: {
30
+ rowMenuItems?: {
31
31
  title: string;
32
32
  event?: Function;
33
33
  hide?: Function;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "13.3.2-rc05",
3
+ "version": "13.3.2-rc06",
4
4
  "peerDependencies": {},
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"