@ascentgl/ads-ui 0.0.48 → 0.0.49
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, Renderer2, TemplateRef } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { AdsIconRegistry } from '@ascentgl/ads-icons';
|
|
4
4
|
import { GENERIC_COLLECTION } from '@ascentgl/ads-utils';
|
|
@@ -13,15 +13,28 @@ export type AdsModalData = {
|
|
|
13
13
|
contentTemplate?: TemplateRef<unknown>;
|
|
14
14
|
actionsTemplate?: TemplateRef<unknown>;
|
|
15
15
|
templateData?: GENERIC_COLLECTION;
|
|
16
|
+
headerPadding?: string;
|
|
17
|
+
contentPadding?: string;
|
|
18
|
+
actionsPadding?: string;
|
|
16
19
|
};
|
|
17
20
|
export declare enum ModalPanelClass {
|
|
18
21
|
Confirmation = "ads-confirmation"
|
|
19
22
|
}
|
|
20
|
-
export declare class AdsModalComponent {
|
|
23
|
+
export declare class AdsModalComponent implements AfterViewInit {
|
|
21
24
|
private dialogRef;
|
|
22
25
|
private registry;
|
|
26
|
+
private renderer;
|
|
27
|
+
private elRef;
|
|
23
28
|
data: AdsModalData;
|
|
24
|
-
|
|
29
|
+
/** @ignore */
|
|
30
|
+
private defaultHeaderPadding;
|
|
31
|
+
/** @ignore */
|
|
32
|
+
private defaultContentPadding;
|
|
33
|
+
/** @ignore */
|
|
34
|
+
private defaultActionPadding;
|
|
35
|
+
constructor(dialogRef: MatDialogRef<AdsModalComponent>, registry: AdsIconRegistry, renderer: Renderer2, elRef: ElementRef, data: AdsModalData);
|
|
36
|
+
/** @ignore */
|
|
37
|
+
ngAfterViewInit(): void;
|
|
25
38
|
onCancel(): void;
|
|
26
39
|
onSubmit(): void;
|
|
27
40
|
onClose(): void;
|