@trudb/tru-common-lib 0.0.610 → 0.0.613
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/components/confirm-dialog/tru-confirm-dialog.mjs +14 -6
- package/esm2020/lib/components/data-grid/tru-data-grid.mjs +5 -6
- package/esm2020/lib/services/tru-data-context.mjs +2 -2
- package/esm2020/lib/services/tru-ui-notification.mjs +3 -3
- package/fesm2015/trudb-tru-common-lib.mjs +45 -39
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +45 -39
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/components/confirm-dialog/tru-confirm-dialog.d.ts +9 -1
- package/lib/components/data-grid/tru-data-grid.d.ts +0 -1
- package/lib/services/tru-ui-notification.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ export declare class TruConfirmDialog implements OnInit {
|
|
|
6
6
|
data: TruConfirmDialog;
|
|
7
7
|
title: string;
|
|
8
8
|
message: string;
|
|
9
|
+
displayDismissButton: boolean;
|
|
10
|
+
displayConfirmButton: boolean;
|
|
11
|
+
dismissButtonName: string;
|
|
12
|
+
confirmButtonName: string;
|
|
9
13
|
constructor(dialogRef: MatDialogRef<TruConfirmDialog>, data: TruConfirmDialog);
|
|
10
14
|
ngOnInit(): void;
|
|
11
15
|
onConfirm(): void;
|
|
@@ -16,5 +20,9 @@ export declare class TruConfirmDialog implements OnInit {
|
|
|
16
20
|
export declare class TruConfirmDialogConfig {
|
|
17
21
|
title: string;
|
|
18
22
|
message: string;
|
|
19
|
-
|
|
23
|
+
displayDismissButton: boolean;
|
|
24
|
+
displayConfirmButton: boolean;
|
|
25
|
+
dismissButtonName: string;
|
|
26
|
+
confirmButtonName: string;
|
|
27
|
+
constructor(title: string, message: string, displayDismissButton: boolean, displayConfirmButton: boolean, dismissButtonName: string, confirmButtonName: string);
|
|
20
28
|
}
|
|
@@ -45,7 +45,6 @@ export declare class TruDataGrid implements OnInit, OnChanges, AfterViewInit {
|
|
|
45
45
|
private onSuppressKeyboardEvent;
|
|
46
46
|
defaultColDef: ColDef;
|
|
47
47
|
onRowDataChanged: (data: any) => void;
|
|
48
|
-
onRowClicked: (event: any) => void;
|
|
49
48
|
onCellDoubleClicked: (gridConfig: any) => void;
|
|
50
49
|
onCellKeyDown: (event: any) => void;
|
|
51
50
|
onCellFocused(event: any): void;
|
|
@@ -29,7 +29,7 @@ export declare class TruUiNotification {
|
|
|
29
29
|
log: (message: string) => void;
|
|
30
30
|
showErrorDialog: (title: string, message: string) => void;
|
|
31
31
|
showExportDialog: () => Promise<boolean>;
|
|
32
|
-
confirm: (title: string, message: string) => Promise<boolean>;
|
|
32
|
+
confirm: (title: string, message: string, displayCancelButton?: boolean, displayConfirmButton?: boolean, cancelButtonName?: string, confirmButtonName?: string) => Promise<boolean>;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TruUiNotification, never>;
|
|
34
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<TruUiNotification>;
|
|
35
35
|
}
|