projects/davita/bridge-library/shared/dialog-data.model.ts
Properties |
|
description |
description:
|
Type : string
|
disableClose |
disableClose:
|
Type : boolean
|
Optional |
fieldErrorText |
fieldErrorText:
|
Type : string
|
Optional |
fieldLabel |
fieldLabel:
|
Type : string
|
Optional |
fieldType |
fieldType:
|
Type : "select" | "text" | "innerHtml"
|
Optional |
header |
header:
|
Type : string
|
hidePrimaryButton |
hidePrimaryButton:
|
Type : boolean
|
Optional |
hideSecondaryButton |
hideSecondaryButton:
|
Type : boolean
|
Optional |
imageUrl |
imageUrl:
|
Type : string
|
Optional |
innerHtml |
innerHtml:
|
Type : string
|
Optional |
linkLabel |
linkLabel:
|
Type : string
|
Optional |
linkURL |
linkURL:
|
Type : string
|
Optional |
maxLength |
maxLength:
|
Type : number
|
Optional |
placeHolder |
placeHolder:
|
Type : string
|
Optional |
primaryButtonLabel |
primaryButtonLabel:
|
Type : string
|
Optional |
requiredFieldError |
requiredFieldError:
|
Type : string
|
Optional |
secondaryButtonLabel |
secondaryButtonLabel:
|
Type : string
|
Optional |
selectionData |
selectionData:
|
Type : SelectData[]
|
Optional |
videoLink |
videoLink:
|
Type : string
|
Optional |
import { SelectData } from './select-data.model';
export interface DialogData {
header: string;
description: string;
secondaryButtonLabel?: string;
primaryButtonLabel?: string;
imageUrl?: string;
videoLink?: string;
innerHtml?: string;
fieldType?: 'select' | 'text' | 'innerHtml';
fieldLabel?: string;
fieldErrorText?: string;
selectionData?: SelectData[];
requiredFieldError?: string;
maxLength?: number;
placeHolder?: string;
linkURL?: string;
linkLabel?: string;
hidePrimaryButton?: boolean;
hideSecondaryButton?: boolean;
disableClose?: boolean;
}