33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
import { AnalyticsEvent } from "../..";
|
|
import { GenericActionPayload } from "../../../actions/GenericAction";
|
|
import { PillData } from "../../components/PillData";
|
|
import { GenericWidgetData } from "../Widget";
|
|
import { ButtonData } from "../widgetData/FooterWithCardWidgetData";
|
|
import { TextFieldData } from "../widgetData/TitleWidgetData";
|
|
import { TitleWithListWidgetData } from "../widgetData/TitleWithListWidgetData";
|
|
|
|
export interface PolicyAmountBottomSheetData extends GenericWidgetData {
|
|
title?: TextFieldData
|
|
policyAmountList?: CoverAmountPillData[]
|
|
policyPlanData?: TitleWithListWidgetData
|
|
footerData?: ButtonData
|
|
bottomSheetMetaData?: BottomSheetMetaData
|
|
}
|
|
|
|
export interface CoverAmountPillData extends PillData {
|
|
coverAmount?: string
|
|
standardPlanMonthlyPremium?: string
|
|
comprehensivePlanMonthlyPremium?: string
|
|
dependentWidgets?: any,
|
|
analyticEvents?: PillAnalyticsEvents
|
|
}
|
|
|
|
export interface PillAnalyticsEvents {
|
|
onViewEvent?: AnalyticsEvent
|
|
onSelectedEvent?: AnalyticsEvent
|
|
}
|
|
|
|
export interface BottomSheetMetaData {
|
|
selectedPill?: string,
|
|
onValueChangeAction?: GenericActionPayload
|
|
} |