raise-common-lib 0.0.151 → 0.0.153

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.
@@ -5,11 +5,13 @@ export interface DialogConfig {
5
5
  description?: string;
6
6
  saveBtnLabel?: string;
7
7
  cancelBtnLabel?: string;
8
+ discardBtnLabel?: string;
8
9
  showErrorIcon?: boolean;
9
10
  hideCloseIcon?: boolean;
10
11
  size?: string;
11
12
  hideSaveBtn?: boolean;
12
13
  hideCloseBtn?: boolean;
14
+ hideDiscardBtn?: boolean;
13
15
  showZoomBtn?: boolean;
14
16
  onCloseRequest?: (e: any) => Promise<boolean>;
15
17
  }
@@ -20,11 +22,10 @@ export declare class CommonDeleteComponent implements OnInit {
20
22
  title: string;
21
23
  saveBtnLabel: string;
22
24
  cancelBtnLabel: string;
25
+ discardBtnLabel: string;
23
26
  description: string;
24
27
  size: string;
25
28
  showZoomBtn: boolean;
26
29
  constructor(data: DialogConfig, dialogRef: MatDialogRef<CommonDeleteComponent>);
27
30
  ngOnInit(): void;
28
- onSave(e: any): void;
29
- onClose(e: any): void;
30
31
  }
@@ -7,8 +7,10 @@ export declare class CommonDialogComponent implements OnInit {
7
7
  hideCloseIcon: boolean;
8
8
  hideCloseBtn: boolean;
9
9
  hideSaveBtn: boolean;
10
+ hideDiscardBtn: boolean;
10
11
  saveBtnLabel: string;
11
12
  cancelBtnLabel: string;
13
+ discardBtnLabel: string;
12
14
  showErrorIcon: boolean;
13
15
  showZoomBtn: boolean;
14
16
  onCloseRequest: Function;
@@ -27,5 +29,6 @@ export declare class CommonDialogComponent implements OnInit {
27
29
  onClose(): void;
28
30
  onZoom(): void;
29
31
  onSave(): void;
32
+ onDiscard(): void;
30
33
  private getInfo;
31
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raise-common-lib",
3
- "version": "0.0.151",
3
+ "version": "0.0.153",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^8.2.3 || ^9.0.0",
6
6
  "@angular/core": "^8.2.3 || ^9.0.0"