From 4452f718d0356054e1366363017ad8fe7113d009 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Fri, 14 Feb 2025 15:13:26 -0500 Subject: [PATCH] CASH-256 CASH-256 prettier config change and prevent email and phone getting cleared when navigating back from payment to service-zip. --- .prettierrc | 1 + .../date-picker/date-picker-2.vue | 38 +++++++++++++++---- .../date-picker/date-picker.vue | 38 +++++++++++++++---- .../textarea-question/textarea-question.vue | 3 +- .../textbox-question/textbox-question.vue | 6 +-- src/fmg-components/cart/cart.vue | 30 +++++++-------- .../promo-modal-question.vue | 6 ++- .../add-to-calendar/add-to-calendar.vue | 7 ++-- .../insurance-company/insurance-company.vue | 12 ++++-- src/layouts/part-questions/part-questions.vue | 2 +- .../payment-method-list-button.vue | 2 +- .../payment-switch-button.vue | 2 +- src/layouts/payment/payment.vue | 3 +- src/layouts/quote/quote.spec.js | 6 +-- .../recal-disclaimer/recal-disclaimer.vue | 2 +- src/layouts/return-user/return-user.vue | 7 ++-- .../service-zip-modal-question.vue | 2 +- .../shop-list-button/shop-list-button.vue | 18 ++++----- src/layouts/service-zip/service-zip.vue | 3 +- src/store/index.js | 8 +++- src/ux-components/text-link/text-link.vue | 28 ++++++++------ 21 files changed, 138 insertions(+), 86 deletions(-) diff --git a/.prettierrc b/.prettierrc index 192cad794..514fb6eac 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,6 @@ { "tabWidth": 4, + "htmlWhitespaceSensitivity": "ignore", "bracketSameLine": true, "printWidth": 100, "trailingComma" : "es5" diff --git a/src/digital-components/date-picker/date-picker-2.vue b/src/digital-components/date-picker/date-picker-2.vue index 50ea6f0fb..8becf6266 100644 --- a/src/digital-components/date-picker/date-picker-2.vue +++ b/src/digital-components/date-picker/date-picker-2.vue @@ -17,18 +17,40 @@
- = Available + + = Available
-
SundayS
-
MondayM
-
TuesdayT
-
WednesdayW
-
ThursdayT
-
FridayF
-
SaturdayS
+
+ Sunday + S +
+
+ Monday + M +
+
+ Tuesday + T +
+
+ Wednesday + W +
+
+ Thursday + T +
+
+ Friday + F +
+
+ Saturday + S +
- = Available + + = Available
-
SundayS
-
MondayM
-
TuesdayT
-
WednesdayW
-
ThursdayT
-
FridayF
-
SaturdayS
+
+ Sunday + S +
+
+ Monday + M +
+
+ Tuesday + T +
+
+ Wednesday + W +
+
+ Thursday + T +
+
+ Friday + F +
+
+ Saturday + S +
- + :aria-required="isRequired">

{{ errorMessage }} + :class="[centerErrorMessage ? 'center-error-message' : '']"> + {{ errorMessage }} +

diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index e21a5037a..c4a8e4900 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -10,9 +10,9 @@ href="javascript:void(0)" class="col d-flex justify-content-between py-0"> {{ OrderDetailsText }} - {{ - getLineItemAmount(amountDue, showCoverageAsPending) - }} + + {{ getLineItemAmount(amountDue, showCoverageAsPending) }} +
@@ -48,11 +48,11 @@ v-for="(cartItem, i) in packageCartItems" :key="i" class="packaged-cart-item"> - {{ - cartItem.name - }} + + + {{ cartItem.name }} + + {{ - getLineItemAmount(cartItem.subTotal, null, cartItem.category) - }} + "> + {{ getLineItemAmount(cartItem.subTotal, null, cartItem.category) }} +
@@ -143,8 +141,10 @@ class="my-2 lh-1 applied-promo-tag" v-for="(promoCode, i) in getPromoCodeList" :key="i"> - Promo code {{ promoCode }} applied + + Promo code + {{ promoCode }} + applied diff --git a/src/fmg-components/promo-modal-question/promo-modal-question.vue b/src/fmg-components/promo-modal-question/promo-modal-question.vue index 656aeaa38..8efad6f3e 100644 --- a/src/fmg-components/promo-modal-question/promo-modal-question.vue +++ b/src/fmg-components/promo-modal-question/promo-modal-question.vue @@ -54,8 +54,10 @@ class="mt-4 d-flex align-items-center justify-content-between" v-for="(promoCode, i) in this.getPromoCodeList()" :key="i"> - Promo code {{ promoCode }} applied + + Promo code + {{ promoCode }} + applied - Add to calendar + Add to calendar + - + v-model="selectedCalendarOption">