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/jest.config.js b/jest.config.js index 04f474e53..8962dfa67 100644 --- a/jest.config.js +++ b/jest.config.js @@ -28,6 +28,7 @@ module.exports = { "!src/layouts/insurance/*.vue", // Temp test exclusion while in development "!src/layouts/insurance-company/*.vue", // Temp test exclusion while in development "!src/layouts/insurance-company/insurance-company-question/*.vue", // Temp test exclusion while in development + "!src/experiment-components/.vue", // END ], // ! means exclude from coverage. testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"], diff --git a/src/constants/experiments.js b/src/constants/experiments.js index 92d27a4a1..696707827 100644 --- a/src/constants/experiments.js +++ b/src/constants/experiments.js @@ -18,6 +18,7 @@ const experimentSettings = { INSURANCE_TAB_TO_DISPLAY_THRESHOLD_INTERNAL: "NextGen_InternalInsuranceTabDisplayThreshold", INSURANCE_TAB_TO_DISPLAY_THRESHOLD_EXTERNAL: "NextGen_ExternalInsuranceTabDisplayThreshold", DISPLAY_MSR: "DisplayMSR", + PRICING_BY_DAY: "DisplayPricingByDay", }; const experimentTriggers = { diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index f9c1b6279..53f71eb9b 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -55,6 +55,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com :additionalButtonData="answer.additionalButtonData" :lastValuePushedToGa="lastValuePushedToGa" :setLastValuePushedToGa="setLastValuePushedToGa" + :isInsuranceSelected="isInsuranceSelected" :suppressError="suppressError" @buttonEvent="handleButtonEvent" v-model="selectedValues" /> @@ -139,6 +140,7 @@ export default { type: Boolean, default: false, }, + isInsuranceSelected: Boolean, }, setup(props) { const propsClone = Object.assign({}, props); diff --git a/src/digital-components/date-picker/date-picker-2.vue b/src/digital-components/date-picker/date-picker-2.vue new file mode 100644 index 000000000..8becf6266 --- /dev/null +++ b/src/digital-components/date-picker/date-picker-2.vue @@ -0,0 +1,1071 @@ + + + + + diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index c345a1ce3..71c09bbbf 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.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 +
- + :aria-required="isRequired">

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

diff --git a/src/experiment-components/service-package-radio.vue b/src/experiment-components/service-package-radio.vue new file mode 100644 index 000000000..8634250ab --- /dev/null +++ b/src/experiment-components/service-package-radio.vue @@ -0,0 +1,462 @@ + + + + + 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">