+ v-html="serviceLocationLinkPromptText">
@@ -27,8 +27,8 @@
({
+ serviceZipQuestion: {
+ serviceState: "",
+ serviceZipCode: "",
+ },
+ }),
+ },
cmsWidgetName: String,
textboxQuestionWidgetName: String,
alertNonServiceableZipWidgetName: String,
@@ -94,6 +103,10 @@ export default {
};
},
methods: {
+ mobileLocationLinkPromptText() {
+ return this.getCmsContent(this.cmsWidgetName, "HeaderText");
+ },
+
openZipCodeModal() {
this.$refs[this.modalName].openModal();
},
@@ -150,6 +163,25 @@ export default {
},
},
computed: {
+ serviceZipLinkPromptText() {
+ return this.getCmsContent(this.cmsWidgetName, "HeaderText");
+ },
+ serviceZipLinkText() {
+ return this.getCmsContent(this.cmsWidgetName, "BodyText");
+ },
+ modalHeaderText() {
+ return this.getCmsContent(this.textboxQuestionWidgetName, "QuestionText");
+ },
+ modalFooterText() {
+ return this.getCmsContent(this.modalWidgetName, "FooterText");
+ },
+
+
+
+
+
+
+
textboxQuestionPrompt() {
return this.getCmsContent(this.textboxQuestionWidgetName, "QuestionText");
},
@@ -178,6 +210,21 @@ export default {
).replaceAll("{custom:serviceZipCodeInput}", zipCode);
return text;
},
+ serviceZipModel: {
+ get: function () {
+ return this.modelValue;
+ },
+ set: function (newValue) {
+ this.$emit("update:modelValue", newValue);
+ },
+ },
+ },
+ watch: {
+ serviceZipModel: {
+ handler() {
+ this.displayNonServiceableZipAlert = false;
+ },
+ },
},
mounted() {
this.$watch(