aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-01-09 13:53:34 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-09 13:53:34 +0000
commit2d701e93373c70e33c2f797d7b2c177cfe96bc2e (patch)
tree6e8d92931eb5edab44f28ba5daa305b8886b9a62 /vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts
parent2e0d6b1a8fe5fdeef16c90e438c9df425f40b855 (diff)
parent4ef3ee778fc944cdfe28146d4eed360ce096e5ee (diff)
Merge "Upgrade to Angular 8"
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts')
-rw-r--r--vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts b/vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts
new file mode 100644
index 000000000..4b814f0aa
--- /dev/null
+++ b/vid-webpack-master/src/app/shared/components/customModal/models/modal.model.ts
@@ -0,0 +1,26 @@
+import {ModalType} from "./modal.type";
+import {IButtonComponent} from "./modal-button.model";
+
+export interface IModalConfig {
+ size?: string; // xl|l|md|sm|xsm
+ title?: string;
+ titleIcon?: TitleIconDetails;
+ message?: string;
+ buttons?: IModalButtonComponent[];
+ testId?: string;
+ type?: ModalType;
+}
+
+export interface IModalButtonComponent extends IButtonComponent {
+ id?: string;
+ callback?: () => void;
+ closeModal?: boolean;
+}
+
+export interface TitleIconDetails {
+ iconName?: string;
+ iconMode?: string;
+ iconSize?: string;
+}
+
+