TP-81439 | Special Care PreQuote Changes (#12358)
This commit is contained in:
@@ -273,6 +273,26 @@ fun OutlinedSelectionItem(
|
||||
}
|
||||
}
|
||||
}
|
||||
data.bulletPoints?.let {
|
||||
Row(
|
||||
modifier =
|
||||
Modifier.fillMaxWidth()
|
||||
.background(whiteColor)
|
||||
.padding(
|
||||
start = LocalDimensions.current.dp16,
|
||||
bottom = LocalDimensions.current.dp16
|
||||
)
|
||||
) {
|
||||
NaviTextWidgetized(
|
||||
textFieldData = data.bulletPoints?.leftColText,
|
||||
modifier = Modifier.weight(1f).width(LocalDimensions.current.dp0)
|
||||
)
|
||||
NaviTextWidgetized(
|
||||
textFieldData = data.bulletPoints?.rightColText,
|
||||
modifier = Modifier.weight(1f).width(LocalDimensions.current.dp0)
|
||||
)
|
||||
}
|
||||
}
|
||||
AnimatedVisibility(
|
||||
visible = data.isChecked,
|
||||
enter = expandVertically(),
|
||||
|
||||
@@ -39,7 +39,7 @@ fun CustomCheckBox(
|
||||
modifier =
|
||||
modifier.padding(
|
||||
horizontal = LocalDimensions.current.dp16,
|
||||
vertical = LocalDimensions.current.dp13
|
||||
vertical = LocalDimensions.current.dp16
|
||||
),
|
||||
elevation = LocalDimensions.current.dp0,
|
||||
shape = RoundedCornerShape(LocalDimensions.current.dp4),
|
||||
|
||||
@@ -33,6 +33,7 @@ import com.navi.insurance.pre.purchase.journey.PreQuoteJourneyState
|
||||
import com.navi.insurance.pre.purchase.journey.PreQuoteMetaData
|
||||
import com.navi.insurance.pre.purchase.journey.PreQuotePatchData
|
||||
import com.navi.insurance.pre.purchase.journey.PreQuotePatchResponse
|
||||
import com.navi.insurance.util.APPLICATION_TYPE_EXTRA
|
||||
import com.navi.insurance.util.Constants
|
||||
import com.navi.insurance.util.Constants.DELAY_1000
|
||||
import com.navi.insurance.util.PRE_QUOTE_ID_EXTRA
|
||||
@@ -199,6 +200,11 @@ constructor(
|
||||
updatePreQuoteId(lineItem.value)
|
||||
}
|
||||
}
|
||||
ctaData.parameters?.forEach { lineItem ->
|
||||
if (lineItem.key == APPLICATION_TYPE_EXTRA) {
|
||||
updateApplicationType(lineItem.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
fetchNextPageResponse()
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@ data class CheckBoxDropDownItemData(
|
||||
@SerializedName("assetId") val assetId: String? = null,
|
||||
@SerializedName("groupId") val groupId: String? = null,
|
||||
@SerializedName("itemTitle") val itemTitle: TextFieldData? = null,
|
||||
@SerializedName("bulletPoints") val bulletPoints: BulletPointsData? = null,
|
||||
@SerializedName("isChecked") val isChecked: Boolean = false,
|
||||
@SerializedName("dropDownType") val dropDownType: String? = null,
|
||||
@SerializedName("dropDownData") val dropDownData: CheckBoxDropDownData? = null,
|
||||
|
||||
Reference in New Issue
Block a user