@messaia/cdk 18.2.3-rc10 → 18.2.3
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/base/components/generic-embedded-list.component.mjs +3 -1
- package/esm2022/lib/dialogs/confirm-dialog/confirm-dialog.component.mjs +33 -27
- package/esm2022/lib/dialogs/dialogs.module.mjs +10 -10
- package/esm2022/lib/table/components/dynamic-table/dynamic-table.component.mjs +7 -1
- package/fesm2022/messaia-cdk.mjs +47 -35
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/common/styles/_layout.scss +8 -8
- package/lib/dialogs/confirm-dialog/confirm-dialog.component.d.ts +26 -6
- package/lib/dialogs/dialogs.module.d.ts +2 -1
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +6 -0
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
35
35
|
$suffix: '';
|
|
36
36
|
|
|
37
37
|
@each $s in $sizes {
|
|
38
|
-
@if $s
|
|
38
|
+
@if $s !='' {
|
|
39
39
|
$suffix: '-#{$s}="#{$i}"';
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -62,7 +62,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
62
62
|
$suffix: '';
|
|
63
63
|
|
|
64
64
|
@each $s in $sizes {
|
|
65
|
-
@if $s
|
|
65
|
+
@if $s !='' {
|
|
66
66
|
$suffix: '-#{$s}="#{$i * 5}"';
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -83,7 +83,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
83
83
|
$suffix: '';
|
|
84
84
|
|
|
85
85
|
@each $s in $sizes {
|
|
86
|
-
@if $s
|
|
86
|
+
@if $s !='' {
|
|
87
87
|
$suffix: '-#{$s}="#{$i}"';
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -105,7 +105,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
105
105
|
$suffix: '';
|
|
106
106
|
|
|
107
107
|
@each $s in $sizes {
|
|
108
|
-
@if $s
|
|
108
|
+
@if $s !='' {
|
|
109
109
|
$suffix: '-#{$s}="#{$i}"';
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -127,7 +127,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
127
127
|
$name: '';
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
@if $name
|
|
130
|
+
@if $name !='' {
|
|
131
131
|
$name: '-#{$name}';
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -139,7 +139,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
139
139
|
display: -webkit-flex;
|
|
140
140
|
display: -moz-box;
|
|
141
141
|
display: -ms-flexbox;
|
|
142
|
-
display: flex;
|
|
142
|
+
display: flex !important;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
[layout#{$name}='column'] {
|
|
@@ -154,7 +154,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
154
154
|
@mixin flex-properties-for-name($name: null) {
|
|
155
155
|
$flexName: 'flex';
|
|
156
156
|
|
|
157
|
-
@if $name
|
|
157
|
+
@if $name !=null {
|
|
158
158
|
$flexName: 'flex-#{$name}';
|
|
159
159
|
$name: '-#{$name}';
|
|
160
160
|
}
|
|
@@ -327,7 +327,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
327
327
|
|
|
328
328
|
$name: 'layout-align';
|
|
329
329
|
|
|
330
|
-
@if $suffix
|
|
330
|
+
@if $suffix !=null {
|
|
331
331
|
$name: 'layout-align-#{$suffix}';
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -1,22 +1,42 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class VdConfirmDialogComponent {
|
|
4
|
-
private
|
|
4
|
+
private dialogRef;
|
|
5
|
+
/**
|
|
6
|
+
* @property title
|
|
7
|
+
* @description The title to be displayed at the top of the dialog.
|
|
8
|
+
* @type {string | undefined}
|
|
9
|
+
*/
|
|
5
10
|
title?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @property message
|
|
13
|
+
* @description The message to be displayed in the dialog body.
|
|
14
|
+
* @type {string | undefined}
|
|
15
|
+
*/
|
|
6
16
|
message?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @property cancelButton
|
|
19
|
+
* @description The text for the cancel button. Default is 'Cancel'.
|
|
20
|
+
* @type {string}
|
|
21
|
+
*/
|
|
7
22
|
cancelButton: string;
|
|
23
|
+
/**
|
|
24
|
+
* @property acceptButton
|
|
25
|
+
* @description The text for the accept button. Default is 'Accept'.
|
|
26
|
+
* @type {string}
|
|
27
|
+
*/
|
|
8
28
|
acceptButton: string;
|
|
9
29
|
/**
|
|
10
|
-
* Constructor
|
|
11
|
-
* @param
|
|
30
|
+
* Constructor Initializes the dialog reference to control dialog behavior.
|
|
31
|
+
* @param dialogRef The dialog reference to control dialog behavior.
|
|
12
32
|
*/
|
|
13
|
-
constructor(
|
|
33
|
+
constructor(dialogRef: MatDialogRef<VdConfirmDialogComponent>);
|
|
14
34
|
/**
|
|
15
|
-
*
|
|
35
|
+
* Cancels the dialog and returns 'false' to indicate cancellation.
|
|
16
36
|
*/
|
|
17
37
|
cancel(): void;
|
|
18
38
|
/**
|
|
19
|
-
*
|
|
39
|
+
* Accepts the dialog and returns 'true' to indicate acceptance.
|
|
20
40
|
*/
|
|
21
41
|
accept(): void;
|
|
22
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdConfirmDialogComponent, never>;
|
|
@@ -12,10 +12,11 @@ import * as i6 from "@angular/common";
|
|
|
12
12
|
import * as i7 from "@angular/material/dialog";
|
|
13
13
|
import * as i8 from "@angular/material/input";
|
|
14
14
|
import * as i9 from "@angular/material/button";
|
|
15
|
+
import * as i10 from "@angular/material/icon";
|
|
15
16
|
export { IAlertConfig, IConfirmConfig, IPromptConfig, VdDialogService } from './services/dialog.service';
|
|
16
17
|
export { VdAlertDialogComponent, VdConfirmDialogComponent, VdDialogActionsDirective, VdDialogComponent, VdDialogContentDirective, VdDialogTitleDirective, VdPromptDialogComponent };
|
|
17
18
|
export declare class VdDialogsModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdDialogsModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VdDialogsModule, [typeof i1.VdAlertDialogComponent, typeof i2.VdConfirmDialogComponent, typeof i3.VdPromptDialogComponent, typeof i4.VdDialogComponent, typeof i4.VdDialogTitleDirective, typeof i4.VdDialogActionsDirective, typeof i4.VdDialogContentDirective], [typeof i5.FormsModule, typeof i6.CommonModule, typeof i7.MatDialogModule, typeof i8.MatInputModule, typeof i9.MatButtonModule], [typeof i1.VdAlertDialogComponent, typeof i2.VdConfirmDialogComponent, typeof i3.VdPromptDialogComponent, typeof i4.VdDialogComponent, typeof i4.VdDialogTitleDirective, typeof i4.VdDialogActionsDirective, typeof i4.VdDialogContentDirective]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VdDialogsModule, [typeof i1.VdAlertDialogComponent, typeof i2.VdConfirmDialogComponent, typeof i3.VdPromptDialogComponent, typeof i4.VdDialogComponent, typeof i4.VdDialogTitleDirective, typeof i4.VdDialogActionsDirective, typeof i4.VdDialogContentDirective], [typeof i5.FormsModule, typeof i6.CommonModule, typeof i7.MatDialogModule, typeof i8.MatInputModule, typeof i9.MatButtonModule, typeof i10.MatIconModule], [typeof i1.VdAlertDialogComponent, typeof i2.VdConfirmDialogComponent, typeof i3.VdPromptDialogComponent, typeof i4.VdDialogComponent, typeof i4.VdDialogTitleDirective, typeof i4.VdDialogActionsDirective, typeof i4.VdDialogContentDirective]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<VdDialogsModule>;
|
|
21
22
|
}
|
|
@@ -220,27 +220,33 @@ export declare class VdDynamicTableComponent implements OnInit, AfterViewChecked
|
|
|
220
220
|
rowMenuItems: ActionItem[];
|
|
221
221
|
/**
|
|
222
222
|
* Input for a single row action to be applied when interacting with a row.
|
|
223
|
+
* @property {ActionItem} rowAction
|
|
223
224
|
*/
|
|
224
225
|
rowAction?: ActionItem;
|
|
225
226
|
/**
|
|
226
227
|
* Input for specifying which columns should be excluded from display in the table.
|
|
228
|
+
* @property {string[]} excludedColumns
|
|
227
229
|
*/
|
|
228
230
|
excludedColumns: string[];
|
|
229
231
|
/**
|
|
230
232
|
* QueryList to reference all MatMenuTriggers associated with row context menus.
|
|
231
233
|
* Used for handling the context menu interactions on table rows.
|
|
234
|
+
* @property {QueryList<MatMenuTrigger>} rowContextMenuTriggers
|
|
232
235
|
*/
|
|
233
236
|
rowContextMenuTriggers?: QueryList<MatMenuTrigger>;
|
|
234
237
|
/**
|
|
235
238
|
* Column type enum reference, mapping table columns to their types for rendering.
|
|
239
|
+
* @property {typeof TableColumnType} ColumnType
|
|
236
240
|
*/
|
|
237
241
|
ColumnType: typeof TableColumnType;
|
|
238
242
|
/**
|
|
239
243
|
* Grid enum reference, representing the type of grid used in the table.
|
|
244
|
+
* @property {typeof Grid} Grid
|
|
240
245
|
*/
|
|
241
246
|
Grid: typeof Grid;
|
|
242
247
|
/**
|
|
243
248
|
* Reference to the currently expanded row, used for handling row expansion logic.
|
|
249
|
+
* @property {any} expandedRow
|
|
244
250
|
*/
|
|
245
251
|
expandedRow: any;
|
|
246
252
|
/**
|