Before adding text-block to Estimate page

This commit is contained in:
Leah Schumann 2022-09-12 14:56:42 -04:00 committed by Mark Harris
parent b139ca0b08
commit 9c275b6cb7
4 changed files with 34 additions and 4 deletions

View file

@ -6,7 +6,7 @@
<vehicleBanner cmsWidgetName="VehicleBannerWidget" ref="vehicleBanner" :displayGenericVehicleImage=false />
<funnelSubHeader cmsWidgetName="FunnelSubHeaderWidget" ref="funnelSubHeader" />
<div class="fade-on-route-transition sub-container make-tall">
<customerQuestions ref="customerQuestions" v-model="customerQuestions" />
<customerQuestions ref="customerQuestions" v-model="customerQuestions" />
<alert ref="alertVinNotFound"
v-if="displayVinNotFoundAlert"
class="mb-4"

View file

@ -24,7 +24,7 @@
/>
</div>
</div>
<div class="row mb-5">
<div class="row mb-4">
<div class="col">
<textboxQuestion
cmsWidgetName="EmailAddressQuestionWidget"
@ -35,7 +35,15 @@
validationRules="email-address-required|email-address-format"
/>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col">
<textBlock
cmsWidgetName="QuoteEmailTextBlockWidget"
typeStyle="caption"
/>
</div>
</div>
</template>
<script>
@ -45,6 +53,7 @@ import { defineRule } from "vee-validate";
import { required } from "@/helpers/validation-rules";
import { regex } from "@/helpers/validation-rules";
import { errorMessages } from "@/constants/error-messages";
import textBlock from '@/common-components/text-block/text-block';
// DEFINE VALIDATION RULES
defineRule("first-name-required", required(errorMessages.FIRST_NAME_REQUIRED));
@ -87,6 +96,7 @@ export default ({
components: {
addressQuestions,
textboxQuestion,
textBlock
}
})
</script>

View file

@ -46,6 +46,14 @@
/>
</div>
</div>
<div class="row my-2">
<div class="col">
<textBlock
cmsWidgetName="QuoteEmailTextBlockWidget"
typeStyle="caption"
/>
</div>
</div>
<alert
v-if="displayInvalidZipAlert"
class="my-3"
@ -109,6 +117,7 @@ import funnelSubHeader from "@/common-components/funnel-sub-header/funnel-sub-he
import alert from "@/ux-components/alert/alert";
import textboxQuestion from "@/common-components/textbox-question/textbox-question";
import loadingModal from "@/common-components/loading-modal/loading-modal.vue";
import textBlock from '@/common-components/text-block/text-block';
// Supporting files
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
@ -360,7 +369,8 @@ export default {
funnelSubHeader,
textboxQuestion,
alert,
loadingModal,
loadingModal,
textBlock,
Form
},
};

View file

@ -56,6 +56,14 @@
/>
</div>
</div>
<div class="row my-2">
<div class="col">
<textBlock
cmsWidgetName="QuoteEmailTextBlockWidget"
typeStyle="caption"
/>
</div>
</div>
<alert ref="alertInvalidZip"
v-if="displayInvalidZipAlert"
class="my-4"
@ -124,6 +132,7 @@ import alert from "@/ux-components/alert/alert";
import textboxQuestion from "@/common-components/textbox-question/textbox-question";
import vinInformation from "@/layouts/vin-lookup/vin-information/vin-information";
import loadingModal from '@/common-components/loading-modal/loading-modal.vue';
import textBlock from '@/common-components/text-block/text-block';
// Supporting files
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
@ -396,6 +405,7 @@ export default {
alert,
vinInformation,
loadingModal,
textBlock,
Form,
},
};