wickes-css2 2.112.0-develop.1 → 2.112.0-es-3143-upgrade-node-version.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/css/account-families-main.css +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/card-product-banner.css +1 -1
- package/build/css/components/card-store-locator-v2.css +1 -1
- package/build/css/components/special-opening-schedule-v2.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/home-movers.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/my-account.css +1 -1
- package/build/css/pages/oldweb_header.css +1 -1
- package/build/css/pages/page_act-trade-pro.css +1 -1
- package/build/css/pages/page_book-consultant-thank-you-new.css +1 -1
- package/build/css/pages/page_checkout-payment-details.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_content.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_fdl-management.css +1 -1
- package/build/css/pages/page_fi.css +1 -1
- package/build/css/pages/page_forgotten-password.css +1 -1
- package/build/css/pages/page_home.css +1 -1
- package/build/css/pages/page_in-store-checkout.css +1 -1
- package/build/css/pages/page_installer_form.css +1 -1
- package/build/css/pages/page_kitchen-claims.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/css/pages/page_my-order.css +1 -1
- package/build/css/pages/page_my-orders.css +1 -1
- package/build/css/pages/page_new-checkout-forgot.css +1 -1
- package/build/css/pages/page_online-exclusive.css +1 -1
- package/build/css/pages/page_pre_home.css +1 -1
- package/build/css/pages/page_pre_home_thank-you.css +1 -1
- package/build/css/pages/page_product-details-v2.css +1 -1
- package/build/css/pages/page_product_search.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_registration.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pages/page_shopping-cart.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_thankyou.css +1 -1
- package/build/css/pages/page_ti.css +1 -1
- package/build/css/pages/page_top-rated.css +1 -1
- package/build/css/pages/page_upd-pass.css +1 -1
- package/build/css/pages/page_wismo-details.css +1 -1
- package/build/css/pages/page_wismo-orders.css +1 -1
- package/build/css/pages/sticky_header.css +1 -1
- package/build/css/pages/tradePro-signup.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-critical.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/shopping-list-pdf.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/img/premium-delivery.png +0 -0
- package/build/img/premium-delivery.svg +1 -0
- package/build/js/emulation.min.js +55 -3
- package/package.json +3 -5
- package/src/components/banner-news.hbs +5 -1
- package/src/components/date-selection.hbs +33 -10
- package/src/components/delivery-types.hbs +5 -0
- package/src/data/my-account/data_my-account.json +6 -26
- package/src/data/my-account/data_my-order.json +43 -0
- package/src/data/my-account/data_my-orders.json +15 -1
- package/src/img/premium-delivery.png +0 -0
- package/src/img/premium-delivery.svg +1 -0
- package/src/js/emulation/date-selection.js +59 -2
- package/src/page_checkout_premium-delivery-details.html +161 -0
- package/src/scss/category-main.scss +5 -7
- package/src/scss/common/_app.scss +1 -1
- package/src/scss/common/_rewards-counter.scss +1 -2
- package/src/scss/common/_typography.scss +1 -1
- package/src/scss/common/_vat-toggle.scss +1 -1
- package/src/scss/components/_add-list-id.scss +0 -1
- package/src/scss/components/_advice-inspiration-critical.scss +2 -2
- package/src/scss/components/_advice-inspiration.scss +2 -3
- package/src/scss/components/_anchor-nav.scss +1 -1
- package/src/scss/components/_aside-accordion.scss +0 -5
- package/src/scss/components/_aside-nav.scss +1 -1
- package/src/scss/components/_aside-nav2.scss +0 -2
- package/src/scss/components/_autocomplete.scss +0 -1
- package/src/scss/components/_banner-2.scss +1 -1
- package/src/scss/components/_banner-info.scss +1 -1
- package/src/scss/components/_banner.scss +0 -2
- package/src/scss/components/_barcode.scss +0 -1
- package/src/scss/components/_big-wins-critical.scss +8 -9
- package/src/scss/components/_big-wins.scss +25 -32
- package/src/scss/components/_billie-modal.scss +5 -6
- package/src/scss/components/_billie-online-messaging.scss +2 -2
- package/src/scss/components/_card.scss +1 -5
- package/src/scss/components/_cards-slider.scss +1 -1
- package/src/scss/components/_category-tree.scss +2 -2
- package/src/scss/components/_charity-donations.scss +7 -7
- package/src/scss/components/_checkout-action.scss +0 -2
- package/src/scss/components/_checkout_order.scss +1 -1
- package/src/scss/components/_colour-block.scss +0 -2
- package/src/scss/components/_cookies-policy.scss +1 -1
- package/src/scss/components/_copy-project-id.scss +0 -1
- package/src/scss/components/_date-selection-add-new-styles.scss +30 -7
- package/src/scss/components/_date-selection.scss +32 -12
- package/src/scss/components/_donation-cart-new.scss +6 -6
- package/src/scss/components/_donation-cart.scss +3 -4
- package/src/scss/components/_favourite-product.scss +1 -1
- package/src/scss/components/_gallery-critical.scss +3 -3
- package/src/scss/components/_gallery-pdp-critical.scss +4 -4
- package/src/scss/components/_gallery-pdp.scss +2 -2
- package/src/scss/components/_gallery.scss +2 -2
- package/src/scss/components/_hero.scss +0 -1
- package/src/scss/components/_home-banner.scss +1 -1
- package/src/scss/components/_kitchen-card.scss +4 -4
- package/src/scss/components/_lines-group.scss +0 -1
- package/src/scss/components/_marketing-preferences.scss +1 -1
- package/src/scss/components/_merge-basket-options.scss +0 -1
- package/src/scss/components/_modal-box.scss +5 -5
- package/src/scss/components/_new-checkout-form.scss +1 -1
- package/src/scss/components/_notifications-critical.scss +1 -3
- package/src/scss/components/_order-item-cc.scss +6 -7
- package/src/scss/components/_order-item.scss +11 -12
- package/src/scss/components/_order-line-shop-list.scss +2 -2
- package/src/scss/components/_order-line.scss +3 -3
- package/src/scss/components/_page-overlay.scss +3 -9
- package/src/scss/components/_payment-transactions.scss +5 -5
- package/src/scss/components/_payments.scss +0 -1
- package/src/scss/components/_pdp-cta.scss +0 -4
- package/src/scss/components/_pdp-info-v2.scss +2 -5
- package/src/scss/components/_popular-categories.scss +0 -2
- package/src/scss/components/_potential-promotion.scss +1 -1
- package/src/scss/components/_price-badges-critical.scss +0 -1
- package/src/scss/components/_price-badges.scss +0 -2
- package/src/scss/components/_price-tooltip.scss +3 -2
- package/src/scss/components/_price.scss +2 -2
- package/src/scss/components/_product-card-critical.scss +1 -2
- package/src/scss/components/_product-card.scss +3 -5
- package/src/scss/components/_product-main-info.scss +4 -5
- package/src/scss/components/_project-list-multiple.scss +4 -4
- package/src/scss/components/_project-list-total.scss +1 -1
- package/src/scss/components/_proposition.scss +2 -2
- package/src/scss/components/_range-card.scss +1 -3
- package/src/scss/components/_range-types.scss +2 -2
- package/src/scss/components/_recommended.scss +1 -5
- package/src/scss/components/_rewards.scss +1 -1
- package/src/scss/components/_saving-shopping-list-modal.scss +1 -2
- package/src/scss/components/_seo-widgets.scss +1 -2
- package/src/scss/components/_share-list-modal.scss +1 -2
- package/src/scss/components/_shop-colour.scss +1 -1
- package/src/scss/components/_shopping-list-note.scss +2 -2
- package/src/scss/components/_smart-banner.scss +4 -5
- package/src/scss/components/_snack-bar.scss +2 -2
- package/src/scss/components/_steps-three.scss +3 -3
- package/src/scss/components/_steps.scss +2 -2
- package/src/scss/components/_sticky-element-appearance.scss +2 -2
- package/src/scss/components/_tables.scss +1 -2
- package/src/scss/components/_tabs.scss +0 -1
- package/src/scss/components/_tc-generic-floor.scss +3 -3
- package/src/scss/components/_tc-generic.scss +4 -4
- package/src/scss/components/_thank-you-modal.scss +3 -1
- package/src/scss/components/_ti-floor.scss +3 -4
- package/src/scss/components/_ti-header.scss +2 -2
- package/src/scss/components/_ti-radio.scss +4 -4
- package/src/scss/components/_ti-total-area.scss +10 -10
- package/src/scss/components/_tile-banner.scss +1 -1
- package/src/scss/components/_tile-product.scss +3 -4
- package/src/scss/components/_tooltip.scss +2 -2
- package/src/scss/components/_trade-offers.scss +0 -1
- package/src/scss/components/_tradepro-discount-banner.scss +0 -1
- package/src/scss/components/_user-address-delivery.scss +1 -3
- package/src/scss/components/_user-address.scss +1 -1
- package/src/scss/components/_usp-component.scss +0 -1
- package/src/scss/components/_voucher-accordion.scss +3 -3
- package/src/scss/components/_wisdom-critical.scss +2 -3
- package/src/scss/components/_wisdom.scss +6 -9
- package/src/scss/components/_your-details.scss +0 -1
- package/src/scss/components/account-families/_add-members.scss +1 -3
- package/src/scss/components/account-families/_member-card.scss +3 -3
- package/src/scss/components/card-store-locator-v2.scss +0 -1
- package/src/scss/components/card_v2.scss +3 -7
- package/src/scss/components/checkout-loader-modal.scss +0 -1
- package/src/scss/components/energy-efficiency.scss +6 -6
- package/src/scss/components/global-search.scss +14 -14
- package/src/scss/components/kitchen/_chips.scss +7 -6
- package/src/scss/components/kitchen/_filter-card.scss +1 -1
- package/src/scss/components/kitchen/_sort-by.scss +2 -3
- package/src/scss/components/kitchen/strip-stickers.scss +1 -1
- package/src/scss/components/loader.scss +5 -6
- package/src/scss/components/my-account/_active-orders.scss +6 -6
- package/src/scss/components/my-account/_consignment-info.scss +3 -3
- package/src/scss/components/my-account/_contacts.scss +2 -2
- package/src/scss/components/my-account/_menu.scss +2 -2
- package/src/scss/components/my-account/_mobile-nav.scss +4 -4
- package/src/scss/components/my-account/_order-process.scss +3 -3
- package/src/scss/components/my-account/_order-status.scss +3 -3
- package/src/scss/components/my-account/_orders-nav.scss +1 -1
- package/src/scss/components/my-account/_payment-status.scss +2 -2
- package/src/scss/components/my-account/_saving-totaliser.scss +8 -7
- package/src/scss/components/my-account/_shipment.scss +2 -2
- package/src/scss/components/pdf-loader.scss +1 -2
- package/src/scss/components/price-block-v2-critical.scss +0 -1
- package/src/scss/components/price-block-v2.scss +0 -3
- package/src/scss/components/store-locator-v2-details.scss +2 -2
- package/src/scss/components/strip-stickers.scss +1 -1
- package/src/scss/helpers/_elements.scss +0 -1
- package/src/scss/helpers/_mixins.scss +5 -5
- package/src/scss/helpers/_store-locator-elements.scss +0 -1
- package/src/scss/helpers/_typography.scss +3 -3
- package/src/scss/helpers/_utilities.scss +0 -1
- package/src/scss/helpers/helpers-pdp-critical/_CTAs-critical-pdp.scss +1 -1
- package/src/scss/helpers/helpers-pdp-critical/_elements-critical-pdp.scss +0 -1
- package/src/scss/helpers/helpers-pdp-critical/_helpers-critical-pdp.scss +1 -1
- package/src/scss/helpers/helpers-pdp-critical/_typography-critical-pdp.scss +4 -4
- package/src/scss/libs/_bootstrap-extracted.scss +42 -12
- package/src/scss/libs/_cat-libs.scss +10 -10
- package/src/scss/libs/_font-awesome-icons.scss +133 -113
- package/src/scss/libs/_homepage-libs.scss +12 -12
- package/src/scss/libs/_plp-libs.scss +11 -11
- package/src/scss/libs/_skeleton.scss +4 -4
- package/src/scss/libs/_store-locator-libs.scss +1 -1
- package/src/scss/libs/flatpickr.scss +6 -6
- package/src/scss/my-account-main-v2.scss +19 -19
- package/src/scss/my-account-main.scss +19 -19
- package/src/scss/pages/_checkout-confirmation.scss +1 -3
- package/src/scss/pages/_checkout-sign-in.scss +1 -2
- package/src/scss/pages/_checkout-tradepro.scss +3 -4
- package/src/scss/pages/_checkout-widget.scss +10 -16
- package/src/scss/pages/_checkout_delivery-details.scss +1 -3
- package/src/scss/pages/_checkout_edit-delivery-address.scss +0 -1
- package/src/scss/pages/_checkout_terms-and-conditions.scss +0 -1
- package/src/scss/pages/_checkout_your-details.scss +1 -1
- package/src/scss/pages/_contact-us.scss +0 -1
- package/src/scss/pages/_facets.scss +0 -2
- package/src/scss/pages/_my-account_address-details.scss +0 -3
- package/src/scss/pages/_my-account_change-email.scss +0 -1
- package/src/scss/pages/_my-account_new.scss +25 -31
- package/src/scss/pages/_my-account_order-details.scss +1 -1
- package/src/scss/pages/_my-account_order-history.scss +1 -2
- package/src/scss/pages/_my-account_personal-details.scss +0 -5
- package/src/scss/pages/_my-account_profile.scss +1 -2
- package/src/scss/pages/_my-account_your-account.scss +0 -1
- package/src/scss/pages/_page_category-landing.scss +3 -2
- package/src/scss/pages/bicester-header.scss +0 -1
- package/src/scss/pages/checkout-new.scss +7 -2
- package/src/scss/pages/checkout.scss +4 -5
- package/src/scss/pages/home-movers.scss +1 -1
- package/src/scss/pages/iframe-paypage.scss +44 -44
- package/src/scss/pages/my-account.scss +3 -3
- package/src/scss/pages/oldweb_header.scss +5 -6
- package/src/scss/pages/page_account-deletion.scss +1 -1
- package/src/scss/pages/page_act-trade-pro.scss +0 -1
- package/src/scss/pages/page_address-book.scss +0 -1
- package/src/scss/pages/page_bathroom-trends.scss +0 -1
- package/src/scss/pages/page_book-consultant-thank-you-new.scss +3 -5
- package/src/scss/pages/page_checkout-payment-details.scss +2 -5
- package/src/scss/pages/page_checkout_delivery-new.scss +1 -1
- package/src/scss/pages/page_cms_homepage.scss +1 -1
- package/src/scss/pages/page_contact-us.scss +1 -1
- package/src/scss/pages/page_content.scss +0 -4
- package/src/scss/pages/page_default-store.scss +2 -3
- package/src/scss/pages/page_empty-basket.scss +0 -5
- package/src/scss/pages/page_fdl-management.scss +0 -1
- package/src/scss/pages/page_fi.scss +0 -2
- package/src/scss/pages/page_home.scss +0 -2
- package/src/scss/pages/page_hotspot-guttering.scss +0 -1
- package/src/scss/pages/page_in-store-checkout.scss +1 -3
- package/src/scss/pages/page_installer.scss +3 -5
- package/src/scss/pages/page_installer_form.scss +0 -1
- package/src/scss/pages/page_kitchen-claims.scss +2 -5
- package/src/scss/pages/page_kitchen-list.scss +1 -1
- package/src/scss/pages/page_marketing-preferences.scss +1 -1
- package/src/scss/pages/page_merged-basket.scss +2 -2
- package/src/scss/pages/page_my-account_tradePro.scss +1 -1
- package/src/scss/pages/page_my-order.scss +15 -15
- package/src/scss/pages/page_my-orders.scss +2 -2
- package/src/scss/pages/page_new-checkout_login-register.scss +1 -2
- package/src/scss/pages/page_no-results.scss +1 -2
- package/src/scss/pages/page_online-exclusive.scss +6 -6
- package/src/scss/pages/page_personal-details.scss +2 -2
- package/src/scss/pages/page_pre_home.scss +7 -7
- package/src/scss/pages/page_pre_home_thank-you.scss +2 -2
- package/src/scss/pages/page_product-details-critical.scss +0 -1
- package/src/scss/pages/page_product-details-v2-critical.scss +1 -2
- package/src/scss/pages/page_product-details.scss +0 -1
- package/src/scss/pages/page_products-list-phone.scss +0 -7
- package/src/scss/pages/page_products-list.scss +2 -2
- package/src/scss/pages/page_quiz.scss +3 -3
- package/src/scss/pages/page_rate-review.scss +0 -3
- package/src/scss/pages/page_registration.scss +0 -3
- package/src/scss/pages/page_store-locator-details.scss +2 -2
- package/src/scss/pages/page_ti.scss +1 -5
- package/src/scss/pages/page_top-rated.scss +5 -5
- package/src/scss/pages/page_track-my-order.scss +1 -1
- package/src/scss/pages/page_track_your_order.scss +5 -5
- package/src/scss/pages/page_upd-pass.scss +0 -1
- package/src/scss/pages/page_wismo-details.scss +8 -8
- package/src/scss/pages/page_wismo-order-history.scss +3 -3
- package/src/scss/pages/page_wismo-orders.scss +7 -7
- package/src/scss/pages/print_quiz.scss +3 -1
- package/src/scss/pages/sticky_header.scss +5 -6
- package/src/scss/pages/tradePro-about.scss +1 -1
- package/src/scss/pages/tradePro-discount.scss +1 -2
- package/src/scss/pages/tradePro-rewards-old.scss +4 -3
- package/src/scss/pages/tradePro-signup.scss +3 -5
- package/src/scss/partials/_breadcrumbs-critical.scss +2 -2
- package/src/scss/partials/_breadcrumbs.scss +2 -2
- package/src/scss/partials/_footer-v2.scss +2 -2
- package/src/scss/partials/_footer.scss +4 -4
- package/src/scss/partials/_footer_checkout-new.scss +1 -1
- package/src/scss/partials/_footer_checkout.scss +1 -1
- package/src/scss/partials/_header-critical.scss +6 -9
- package/src/scss/partials/_header.scss +7 -9
- package/src/scss/partials/_header_checkout.scss +2 -2
- package/src/scss/partials/_main-nav.scss +7 -11
- package/src/scss/partials/_sign-up.scss +3 -3
- package/src/scss/shopping-list-pdf.scss +1 -1
- package/src/sitemap.html +2 -0
- package/src/components/.DS_Store +0 -0
- package/src/img/.DS_Store +0 -0
- package/src/img/placeholders/.DS_Store +0 -0
- package/src/js/page/.DS_Store +0 -0
- package/src/scss/.DS_Store +0 -0
- package/src/scss/pages/.DS_Store +0 -0
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><g clip-path="url(#a)"><circle cx="19.828" cy="12.892" r="6.953" stroke="#99b5cf" stroke-width="1.112"/><rect width="1.112" height="2.503" x="19.272" y="5.661" fill="#99b5cf" rx=".556"/><rect width="1.112" height="2.503" x="12.32" y="13.448" fill="#99b5cf" rx=".556" transform="rotate(-90 12.32 13.448)"/><path fill="#99b5cf" d="M1.056 21.513a.556.556 0 1 1 0-1.112H4.95v1.112z"/><rect width="1.112" height="2.503" x="24.834" y="13.448" fill="#99b5cf" rx=".556" transform="rotate(-90 24.834 13.448)"/><rect width="1.112" height="2.503" x="14.127" y="8.116" fill="#99b5cf" rx=".556" transform="rotate(-45 14.127 8.116)"/><rect width="1.112" height="2.503" fill="#99b5cf" rx=".556" transform="rotate(225 10.734 5.935)scale(-1 1)"/><rect width="1.112" height="2.503" fill="#99b5cf" rx=".556" transform="rotate(45 2.994 34.94)scale(-1 1)"/><rect width="1.112" height="3.428" fill="#99b5cf" rx=".556" transform="matrix(1 0 0 -1 19.272 12.844)"/><rect width="1.112" height="2.781" fill="#99b5cf" rx=".556" transform="matrix(0 -1 -1 0 19.78 13.448)"/><rect width="1.112" height="2.503" x="25.583" y="17.721" fill="#99b5cf" rx=".556" transform="rotate(135 25.583 17.72)"/><rect width="1.112" height="2.503" x="19.272" y="17.898" fill="#99b5cf" rx=".556"/><rect width="1.669" height="1.669" x="18.994" y="12.058" fill="#99b5cf" rx=".834"/><path fill="#99b5cf" d="M1.056 24.85a.556.556 0 1 1 0-1.112H4.95v1.113zM1.056 28.188a.556.556 0 1 1 0-1.112H4.95v1.112zM1.056 31.525a.556.556 0 1 1 0-1.112H4.95v1.112z"/><path fill="#99b5cf" fill-rule="evenodd" d="M10.86 35.419a2.98 2.98 0 0 1 2.266 1.044H8.593a2.98 2.98 0 0 1 2.266-1.044m.864-20.024c1.027 3.329 4.047 5.785 7.668 5.968l.436.012a8.49 8.49 0 0 0 8.107-5.98h4.547c1.229 0 2.225.997 2.225 2.226v4.435q.115-.026.246-.051a14 14 0 0 1 2.376-.253c1.902-.038 4.365.319 6.418 1.97 1.286 1.035 2.179 2.954 2.804 4.863.634 1.938 1.03 3.99 1.254 5.41.21 1.33-.837 2.468-2.146 2.468h-2.353a4.52 4.52 0 0 0-3.847-2.568l-.232-.005a4.52 4.52 0 0 0-4.08 2.573H14.94a4.52 4.52 0 0 0-3.847-2.568l-.233-.005a4.52 4.52 0 0 0-4.073 2.557 2.226 2.226 0 0 1-1.975-2.21v-2.71h5.005a.557.557 0 0 0 0-1.114H4.811V28.19h2.92a.557.557 0 0 0 0-1.113H4.81v-2.224h5.005a.556.556 0 1 0 0-1.112H4.811v-2.226h8.065a.556.556 0 0 0 0-1.113H4.811v-2.78c0-1.229.996-2.226 2.225-2.226zm27.503 20.024a2.98 2.98 0 0 1 2.266 1.044H36.96a2.98 2.98 0 0 1 2.268-1.044M37.48 24.715a.945.945 0 0 0-.965.953v4.263c0 .537.436.973.973.973h4.728c.53 0 .997-.44.95-1.017a8 8 0 0 0-.355-1.814c-.23-.703-.617-1.482-1.278-2.043-1.17-.993-2.79-1.24-3.707-1.3z" clip-rule="evenodd"/><circle cx="10.86" cy="38.408" r="3.476" fill="#fff" stroke="#99b5cf" stroke-width="1.53"/><circle cx="10.86" cy="38.408" r="1.738" fill="#fff" stroke="#99b5cf" stroke-width="1.112"/><circle cx="39.226" cy="38.408" r="3.476" fill="#fff" stroke="#99b5cf" stroke-width="1.53"/><circle cx="39.226" cy="38.408" r="1.738" stroke="#99b5cf" stroke-width="1.112"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h48v48H0z"/></clipPath></defs></svg>
|
|
@@ -5380,12 +5380,14 @@ var DS_EL = {
|
|
|
5380
5380
|
title: '.delivery-btn .title',
|
|
5381
5381
|
subtitle: '.delivery-btn .subtitle',
|
|
5382
5382
|
infoIcon: '.rapid-info-icon',
|
|
5383
|
-
image: '.delivery-btn__image'
|
|
5383
|
+
image: '.delivery-btn__image',
|
|
5384
|
+
premiumImage: '.delivery-btn__image--premium'
|
|
5384
5385
|
};
|
|
5385
5386
|
var DS_CLASSES = {
|
|
5386
5387
|
selectedCell: 'calendar__cell_selected',
|
|
5387
5388
|
isSelected: 'date-selection_selected',
|
|
5388
|
-
rapidCell: '
|
|
5389
|
+
rapidCell: 'calendar-rapid-day',
|
|
5390
|
+
premiumCell: 'calendar-premium-day',
|
|
5389
5391
|
hidden: 'd-none'
|
|
5390
5392
|
};
|
|
5391
5393
|
var rapidLoaderShown = false;
|
|
@@ -5462,15 +5464,65 @@ function updateRapidInfo() {
|
|
|
5462
5464
|
$image.removeClass(DS_CLASSES.hidden);
|
|
5463
5465
|
updateDeliveryInfo();
|
|
5464
5466
|
}
|
|
5467
|
+
function getPremiumOrdinal(day) {
|
|
5468
|
+
if (day > 3 && day < 21) return 'th';
|
|
5469
|
+
switch (day % 10) {
|
|
5470
|
+
case 1:
|
|
5471
|
+
return 'st';
|
|
5472
|
+
case 2:
|
|
5473
|
+
return 'nd';
|
|
5474
|
+
case 3:
|
|
5475
|
+
return 'rd';
|
|
5476
|
+
default:
|
|
5477
|
+
return 'th';
|
|
5478
|
+
}
|
|
5479
|
+
}
|
|
5480
|
+
function formatPremiumDate() {
|
|
5481
|
+
var tomorrow = new Date();
|
|
5482
|
+
tomorrow.setDate(tomorrow.getDate() + 1);
|
|
5483
|
+
var day = tomorrow.getDate();
|
|
5484
|
+
var month = tomorrow.toLocaleString('en-GB', {
|
|
5485
|
+
month: 'long'
|
|
5486
|
+
});
|
|
5487
|
+
var year = tomorrow.getFullYear();
|
|
5488
|
+
return "".concat(day).concat(getPremiumOrdinal(day), " ").concat(month, " ").concat(year);
|
|
5489
|
+
}
|
|
5490
|
+
function updatePremiumDeliveryBlock() {
|
|
5491
|
+
var $timeHead = $('.delivery-block .checkout-order .order-block__time-head');
|
|
5492
|
+
if (!$timeHead.length) return;
|
|
5493
|
+
var $span = $timeHead.find('> span').first();
|
|
5494
|
+
var $icon = $span.find('.iconHead').detach();
|
|
5495
|
+
$span.empty().append($icon).append(" By 12 PM ");
|
|
5496
|
+
$span.append($('<span class="boldDate">').text("- ".concat(formatPremiumDate())));
|
|
5497
|
+
$timeHead.find('.order-block__time-head-info').text('Delivery date');
|
|
5498
|
+
}
|
|
5499
|
+
function updatePremiumInfo() {
|
|
5500
|
+
var $title = $(DS_EL.title);
|
|
5501
|
+
var $subtitle = $(DS_EL.subtitle);
|
|
5502
|
+
var $infoIcon = $subtitle.find(DS_EL.infoIcon).detach();
|
|
5503
|
+
var $image = $(DS_EL.image);
|
|
5504
|
+
var $premiumImage = $(DS_EL.premiumImage);
|
|
5505
|
+
$title.text('Premium delivery');
|
|
5506
|
+
$subtitle.html('Delivered tomorrow morning for £12.00');
|
|
5507
|
+
$infoIcon.addClass(DS_CLASSES.hidden);
|
|
5508
|
+
$subtitle.append($infoIcon);
|
|
5509
|
+
$image.addClass(DS_CLASSES.hidden);
|
|
5510
|
+
$premiumImage.removeClass(DS_CLASSES.hidden);
|
|
5511
|
+
updatePremiumDeliveryBlock();
|
|
5512
|
+
}
|
|
5465
5513
|
function selectTimeSlot(e) {
|
|
5466
5514
|
var $self = $(DS_EL.dateSelection);
|
|
5467
5515
|
var $cell = $(e.target).closest(DS_EL.cell);
|
|
5468
5516
|
var isRapid = $cell.hasClass(DS_CLASSES.rapidCell);
|
|
5517
|
+
var isPremiumCell = $cell.hasClass(DS_CLASSES.premiumCell);
|
|
5469
5518
|
$(DS_EL.cell).removeClass(DS_CLASSES.selectedCell);
|
|
5470
5519
|
$cell.addClass(DS_CLASSES.selectedCell);
|
|
5471
5520
|
$self.trigger('selected');
|
|
5472
5521
|
_isDateSelected = true;
|
|
5473
|
-
if (
|
|
5522
|
+
if (isPremiumCell) {
|
|
5523
|
+
$self.addClass(DS_CLASSES.isSelected);
|
|
5524
|
+
updatePremiumInfo();
|
|
5525
|
+
} else if (isRapid) {
|
|
5474
5526
|
if (!rapidLoaderShown) {
|
|
5475
5527
|
rapidLoaderShown = true;
|
|
5476
5528
|
showRapidLoader();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickes-css2",
|
|
3
|
-
"version": "2.112.0-
|
|
3
|
+
"version": "2.112.0-es-3143-upgrade-node-version.2",
|
|
4
4
|
"description": "CSS and JS and page templates in use by Wickes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
],
|
|
17
17
|
"src/scss/**/*.{scss,css}": [
|
|
18
18
|
"sass-lint-auto-fix",
|
|
19
|
-
"prettier --write",
|
|
20
19
|
"sass-lint -c .sasslintrc --"
|
|
21
20
|
]
|
|
22
21
|
},
|
|
@@ -52,7 +51,7 @@
|
|
|
52
51
|
"gulp-json-concat": "^0.2.0",
|
|
53
52
|
"gulp-json-refs": "^0.1.1",
|
|
54
53
|
"gulp-purgecss": "4.0.3",
|
|
55
|
-
"gulp-sass": "^
|
|
54
|
+
"gulp-sass": "^5.0.0",
|
|
56
55
|
"gulp-sass-lint": "^1.4.0",
|
|
57
56
|
"gulp-sitemap": "^5.1.0",
|
|
58
57
|
"gulp-sourcemaps": "^2.6.4",
|
|
@@ -60,8 +59,7 @@
|
|
|
60
59
|
"handlebars-layouts": "^3.1.4",
|
|
61
60
|
"husky": "8.0.3",
|
|
62
61
|
"lint-staged": "13.2.3",
|
|
63
|
-
"mocha": "^
|
|
64
|
-
"node-sass": "^4.0.0",
|
|
62
|
+
"mocha": "^10.0.0",
|
|
65
63
|
"postcss": "^8.4.16",
|
|
66
64
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
67
65
|
"postcss-combine-media-query": "^1.0.1",
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
<span class="description">{{{description}}}</span>
|
|
4
4
|
</div>
|
|
5
5
|
<div class="banner-news__image">
|
|
6
|
-
|
|
6
|
+
{{#if imgSrc}}
|
|
7
|
+
<img src="{{imgSrc}}" class="banner-news__img{{#if imgClass}} {{imgClass}}{{/if}}" alt="">
|
|
8
|
+
{{else}}
|
|
9
|
+
<i class="{{classImg}}"></i>
|
|
10
|
+
{{/if}}
|
|
7
11
|
</div>
|
|
8
12
|
</div>
|
|
@@ -28,16 +28,29 @@
|
|
|
28
28
|
<div class="calendar__row">
|
|
29
29
|
<div class="calendar__row_days">
|
|
30
30
|
{{/if}}
|
|
31
|
-
<span class="calendar__cell calendar__cell_cnt{{#if isInactive}} calendar__cell_inactive{{/if}}{{#if (eq day '1')}}{{#unless isInactive}}
|
|
32
|
-
{{#if
|
|
33
|
-
{{#
|
|
34
|
-
{{
|
|
35
|
-
|
|
31
|
+
<span class="calendar__cell calendar__cell_cnt{{#if isInactive}} calendar__cell_inactive{{/if}}{{#if ../premium}}{{#if (eq day '1')}} calendar__cell_inactive{{/if}}{{#unless isInactive}}{{#if (eq day '2')}} calendar__cell_highlight calendar-premium-day{{/if}}{{/unless}}{{else}}{{#if (eq day '1')}}{{#unless isInactive}} calendar__cell_highlight calendar-rapid-day{{/unless}}{{/if}}{{/if}}">
|
|
32
|
+
{{#if ../premium}}
|
|
33
|
+
{{#if (eq day '2')}}
|
|
34
|
+
{{#unless isInactive}}
|
|
35
|
+
{{day}}
|
|
36
|
+
<span class="calendar-cell-label">Premium</span>
|
|
37
|
+
{{else}}
|
|
38
|
+
{{day}}
|
|
39
|
+
{{/unless}}
|
|
36
40
|
{{else}}
|
|
37
41
|
{{day}}
|
|
38
|
-
{{/
|
|
42
|
+
{{/if}}
|
|
39
43
|
{{else}}
|
|
40
|
-
{{day}}
|
|
44
|
+
{{#if (eq day '1')}}
|
|
45
|
+
{{#unless isInactive}}
|
|
46
|
+
{{day}}
|
|
47
|
+
<span class="calendar-cell-label">Rapid</span>
|
|
48
|
+
{{else}}
|
|
49
|
+
{{day}}
|
|
50
|
+
{{/unless}}
|
|
51
|
+
{{else}}
|
|
52
|
+
{{day}}
|
|
53
|
+
{{/if}}
|
|
41
54
|
{{/if}}
|
|
42
55
|
</span>
|
|
43
56
|
{{#if (eq (mod_inc @index 7) 0)}}
|
|
@@ -64,18 +77,28 @@
|
|
|
64
77
|
</div>
|
|
65
78
|
</div>
|
|
66
79
|
<div class="delivery-time">
|
|
67
|
-
<div class="delivery-time__rapid-hint">
|
|
80
|
+
<div class="{{#if premium}}delivery-time__premium-hint{{else}}delivery-time__rapid-hint{{/if}}">
|
|
68
81
|
<span class="icon-wrap icon-wrap--large">
|
|
69
|
-
|
|
82
|
+
{{#if premium}}
|
|
83
|
+
<img src="./img/premium-delivery.svg" class="icon" alt="Premium delivery">
|
|
84
|
+
{{else}}
|
|
85
|
+
<i class="fas fa-shipping-fast icon"></i>
|
|
86
|
+
{{/if}}
|
|
70
87
|
</span>
|
|
71
88
|
<p class="description">
|
|
72
|
-
|
|
89
|
+
{{#if premium}}
|
|
90
|
+
Select tomorrow’s day on the calendar to get Premium delivery.
|
|
91
|
+
{{else}}
|
|
92
|
+
Select todays’ day on the calendar to get Rapid delivery.
|
|
93
|
+
{{/if}}
|
|
73
94
|
</p>
|
|
74
95
|
</div>
|
|
75
96
|
{{> delivery-types
|
|
76
97
|
title=titleDelivery
|
|
77
98
|
subtitle=subtitleDelivery
|
|
78
99
|
classImg=imgDelivery
|
|
100
|
+
imgSrc=premiumImg
|
|
101
|
+
premium=premium
|
|
79
102
|
}}
|
|
80
103
|
</div>
|
|
81
104
|
</div>
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
<i class="{{classImg}}"></i>
|
|
20
20
|
</span>
|
|
21
21
|
{{/if}}
|
|
22
|
+
{{#if imgSrc}}
|
|
23
|
+
<span class="delivery-btn__image delivery-btn__image--premium d-none">
|
|
24
|
+
<img src="{{imgSrc}}" class="delivery-btn__img" alt="">
|
|
25
|
+
</span>
|
|
26
|
+
{{/if}}
|
|
22
27
|
{{else}}
|
|
23
28
|
<span class="delivery-btn__content">
|
|
24
29
|
<span class="title">7am - 7pm - Free</span>
|
|
@@ -112,37 +112,17 @@
|
|
|
112
112
|
"orderDate": "22nd January 2025 10:35 am",
|
|
113
113
|
"totalConsignments": 5,
|
|
114
114
|
"shipmentDetails": [
|
|
115
|
-
{
|
|
116
|
-
"shipmentIcon": "fas fa-hand-holding-box",
|
|
117
|
-
"shipmentTitle": "Click & Collect at Southport Kitchens & Bathrooms Showroom",
|
|
118
|
-
"shipmentInfo": "Ready for Collection",
|
|
119
|
-
"itemsCount": 2
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"shipmentIcon": "fas fa-times",
|
|
123
|
-
"shipmentTitle": "Click & Collect at Wickes Long Eaton",
|
|
124
|
-
"shipmentInfo": "Cancelled",
|
|
125
|
-
"itemsCount": 4
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"shipmentIcon": "fas fa-shipping-fast",
|
|
129
|
-
"shipmentTitle": "Wickes Delivery from Ashford Store",
|
|
130
|
-
"shipmentInfo": "Dispatched. Delivery - 8th Jan 2025",
|
|
131
|
-
"itemsCount": 4,
|
|
132
|
-
"trackingLink": "/"
|
|
133
|
-
},
|
|
134
115
|
{
|
|
135
116
|
"shipmentIcon": "fas fa-shipping-fast",
|
|
136
|
-
"shipmentTitle": "
|
|
137
|
-
"shipmentInfo": "Dispatched. Delivery —
|
|
138
|
-
"itemsCount":
|
|
139
|
-
"trackingLink": "/"
|
|
117
|
+
"shipmentTitle": "Premium Delivery from Southampton store",
|
|
118
|
+
"shipmentInfo": "Dispatched. Delivery — By 12 PM - 12th Apr 2026",
|
|
119
|
+
"itemsCount": 1
|
|
140
120
|
},
|
|
141
121
|
{
|
|
142
|
-
"shipmentIcon": "fas fa-
|
|
122
|
+
"shipmentIcon": "fas fa-box-alt",
|
|
143
123
|
"shipmentTitle": "Supplier Delivery",
|
|
144
|
-
"shipmentInfo": "
|
|
145
|
-
"itemsCount":
|
|
124
|
+
"shipmentInfo": "Order placed. These item(s) will be delivered within 14 days after receiving your order confirmation. Supplier will contact you with additional information.",
|
|
125
|
+
"itemsCount": 3
|
|
146
126
|
}
|
|
147
127
|
]
|
|
148
128
|
},
|
|
@@ -310,6 +310,49 @@
|
|
|
310
310
|
}
|
|
311
311
|
],
|
|
312
312
|
"subtotalTooltip": "Order level promotions and delivery charges are not included"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"title": "Premium Delivery",
|
|
316
|
+
"subtotal": "£53.65",
|
|
317
|
+
"track": "#",
|
|
318
|
+
"deliveryRange": [
|
|
319
|
+
{
|
|
320
|
+
"icon": "fas fa-box-alt",
|
|
321
|
+
"title": "Order placed",
|
|
322
|
+
"isComplete": true
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"icon": "fas fa-shipping-fast",
|
|
326
|
+
"title": "Dispatched",
|
|
327
|
+
"isComplete": true
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"icon": "fas fa-box-check",
|
|
331
|
+
"title": "To be Delivered",
|
|
332
|
+
"isComplete": false
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"customClassTooltip": "order__expectation--rapid",
|
|
336
|
+
"storeName": "Wickes Ashford Store",
|
|
337
|
+
"orders": [
|
|
338
|
+
{
|
|
339
|
+
"img": "https://media.wickes.co.uk/is/image/wickes/S3308_190167_00?$thumbnail$",
|
|
340
|
+
"title": "Wickes Instant Grab Adhesive Solvent Free - 300ml",
|
|
341
|
+
"productCode": "791262",
|
|
342
|
+
"quantity": "10",
|
|
343
|
+
"total": "£22.50",
|
|
344
|
+
"switchVat": true,
|
|
345
|
+
"perSQM": "£14.18"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"img": "https://media.wickes.co.uk/is/image/wickes/S3308_190167_00?$thumbnail$",
|
|
349
|
+
"title": "Hecta LED Wall Light - Chrome",
|
|
350
|
+
"productCode": "790123",
|
|
351
|
+
"quantity": "2",
|
|
352
|
+
"total": "£40"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"subtotalTooltip": "Order level promotions and delivery charges are not included"
|
|
313
356
|
}
|
|
314
357
|
]
|
|
315
358
|
},
|
|
@@ -97,7 +97,21 @@
|
|
|
97
97
|
},
|
|
98
98
|
"totalPrice": "920.75",
|
|
99
99
|
"totalItemCount": 7,
|
|
100
|
-
"orderDate": "21st November 2024 4:32 PM"
|
|
100
|
+
"orderDate": "21st November 2024 4:32 PM",
|
|
101
|
+
"shipmentDetails": [
|
|
102
|
+
{
|
|
103
|
+
"shipmentIcon": "fas fa-shipping-fast",
|
|
104
|
+
"shipmentTitle": "Premium Delivery from Southampton store",
|
|
105
|
+
"shipmentInfo": "Dispatched. Delivery — By 12 PM - 12th Apr 2026",
|
|
106
|
+
"itemsCount": 1
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"shipmentIcon": "fas fa-box-alt",
|
|
110
|
+
"shipmentTitle": "Supplier Delivery",
|
|
111
|
+
"shipmentInfo": "Order placed. These item(s) will be delivered within 14 days after receiving your order confirmation. Supplier will contact you with additional information.",
|
|
112
|
+
"itemsCount": 3
|
|
113
|
+
}
|
|
114
|
+
]
|
|
101
115
|
},
|
|
102
116
|
{
|
|
103
117
|
"orderId": "940564923",
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><g clip-path="url(#a)"><circle cx="19.828" cy="12.892" r="6.953" stroke="#99b5cf" stroke-width="1.112"/><rect width="1.112" height="2.503" x="19.272" y="5.661" fill="#99b5cf" rx=".556"/><rect width="1.112" height="2.503" x="12.32" y="13.448" fill="#99b5cf" rx=".556" transform="rotate(-90 12.32 13.448)"/><path fill="#99b5cf" d="M1.056 21.513a.556.556 0 1 1 0-1.112H4.95v1.112z"/><rect width="1.112" height="2.503" x="24.834" y="13.448" fill="#99b5cf" rx=".556" transform="rotate(-90 24.834 13.448)"/><rect width="1.112" height="2.503" x="14.127" y="8.116" fill="#99b5cf" rx=".556" transform="rotate(-45 14.127 8.116)"/><rect width="1.112" height="2.503" fill="#99b5cf" rx=".556" transform="rotate(225 10.734 5.935)scale(-1 1)"/><rect width="1.112" height="2.503" fill="#99b5cf" rx=".556" transform="rotate(45 2.994 34.94)scale(-1 1)"/><rect width="1.112" height="3.428" fill="#99b5cf" rx=".556" transform="matrix(1 0 0 -1 19.272 12.844)"/><rect width="1.112" height="2.781" fill="#99b5cf" rx=".556" transform="matrix(0 -1 -1 0 19.78 13.448)"/><rect width="1.112" height="2.503" x="25.583" y="17.721" fill="#99b5cf" rx=".556" transform="rotate(135 25.583 17.72)"/><rect width="1.112" height="2.503" x="19.272" y="17.898" fill="#99b5cf" rx=".556"/><rect width="1.669" height="1.669" x="18.994" y="12.058" fill="#99b5cf" rx=".834"/><path fill="#99b5cf" d="M1.056 24.85a.556.556 0 1 1 0-1.112H4.95v1.113zM1.056 28.188a.556.556 0 1 1 0-1.112H4.95v1.112zM1.056 31.525a.556.556 0 1 1 0-1.112H4.95v1.112z"/><path fill="#99b5cf" fill-rule="evenodd" d="M10.86 35.419a2.98 2.98 0 0 1 2.266 1.044H8.593a2.98 2.98 0 0 1 2.266-1.044m.864-20.024c1.027 3.329 4.047 5.785 7.668 5.968l.436.012a8.49 8.49 0 0 0 8.107-5.98h4.547c1.229 0 2.225.997 2.225 2.226v4.435q.115-.026.246-.051a14 14 0 0 1 2.376-.253c1.902-.038 4.365.319 6.418 1.97 1.286 1.035 2.179 2.954 2.804 4.863.634 1.938 1.03 3.99 1.254 5.41.21 1.33-.837 2.468-2.146 2.468h-2.353a4.52 4.52 0 0 0-3.847-2.568l-.232-.005a4.52 4.52 0 0 0-4.08 2.573H14.94a4.52 4.52 0 0 0-3.847-2.568l-.233-.005a4.52 4.52 0 0 0-4.073 2.557 2.226 2.226 0 0 1-1.975-2.21v-2.71h5.005a.557.557 0 0 0 0-1.114H4.811V28.19h2.92a.557.557 0 0 0 0-1.113H4.81v-2.224h5.005a.556.556 0 1 0 0-1.112H4.811v-2.226h8.065a.556.556 0 0 0 0-1.113H4.811v-2.78c0-1.229.996-2.226 2.225-2.226zm27.503 20.024a2.98 2.98 0 0 1 2.266 1.044H36.96a2.98 2.98 0 0 1 2.268-1.044M37.48 24.715a.945.945 0 0 0-.965.953v4.263c0 .537.436.973.973.973h4.728c.53 0 .997-.44.95-1.017a8 8 0 0 0-.355-1.814c-.23-.703-.617-1.482-1.278-2.043-1.17-.993-2.79-1.24-3.707-1.3z" clip-rule="evenodd"/><circle cx="10.86" cy="38.408" r="3.476" fill="#fff" stroke="#99b5cf" stroke-width="1.53"/><circle cx="10.86" cy="38.408" r="1.738" fill="#fff" stroke="#99b5cf" stroke-width="1.112"/><circle cx="39.226" cy="38.408" r="3.476" fill="#fff" stroke="#99b5cf" stroke-width="1.53"/><circle cx="39.226" cy="38.408" r="1.738" stroke="#99b5cf" stroke-width="1.112"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h48v48H0z"/></clipPath></defs></svg>
|
|
@@ -6,12 +6,14 @@ const DS_EL = {
|
|
|
6
6
|
subtitle: '.delivery-btn .subtitle',
|
|
7
7
|
infoIcon: '.rapid-info-icon',
|
|
8
8
|
image: '.delivery-btn__image',
|
|
9
|
+
premiumImage: '.delivery-btn__image--premium',
|
|
9
10
|
};
|
|
10
11
|
|
|
11
12
|
const DS_CLASSES = {
|
|
12
13
|
selectedCell: 'calendar__cell_selected',
|
|
13
14
|
isSelected: 'date-selection_selected',
|
|
14
|
-
rapidCell: '
|
|
15
|
+
rapidCell: 'calendar-rapid-day',
|
|
16
|
+
premiumCell: 'calendar-premium-day',
|
|
15
17
|
hidden: 'd-none',
|
|
16
18
|
};
|
|
17
19
|
|
|
@@ -98,17 +100,72 @@ function updateRapidInfo() {
|
|
|
98
100
|
updateDeliveryInfo();
|
|
99
101
|
}
|
|
100
102
|
|
|
103
|
+
function getPremiumOrdinal(day) {
|
|
104
|
+
if (day > 3 && day < 21) return 'th';
|
|
105
|
+
switch (day % 10) {
|
|
106
|
+
case 1:
|
|
107
|
+
return 'st';
|
|
108
|
+
case 2:
|
|
109
|
+
return 'nd';
|
|
110
|
+
case 3:
|
|
111
|
+
return 'rd';
|
|
112
|
+
default:
|
|
113
|
+
return 'th';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function formatPremiumDate() {
|
|
118
|
+
const tomorrow = new Date();
|
|
119
|
+
tomorrow.setDate(tomorrow.getDate() + 1);
|
|
120
|
+
const day = tomorrow.getDate();
|
|
121
|
+
const month = tomorrow.toLocaleString('en-GB', { month: 'long' });
|
|
122
|
+
const year = tomorrow.getFullYear();
|
|
123
|
+
return `${day}${getPremiumOrdinal(day)} ${month} ${year}`;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function updatePremiumDeliveryBlock() {
|
|
127
|
+
const $timeHead = $('.delivery-block .checkout-order .order-block__time-head');
|
|
128
|
+
if (!$timeHead.length) return;
|
|
129
|
+
|
|
130
|
+
const $span = $timeHead.find('> span').first();
|
|
131
|
+
const $icon = $span.find('.iconHead').detach();
|
|
132
|
+
|
|
133
|
+
$span.empty().append($icon).append(` By 12 PM `);
|
|
134
|
+
$span.append($('<span class="boldDate">').text(`- ${formatPremiumDate()}`));
|
|
135
|
+
$timeHead.find('.order-block__time-head-info').text('Delivery date');
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
function updatePremiumInfo() {
|
|
139
|
+
const $title = $(DS_EL.title);
|
|
140
|
+
const $subtitle = $(DS_EL.subtitle);
|
|
141
|
+
const $infoIcon = $subtitle.find(DS_EL.infoIcon).detach();
|
|
142
|
+
const $image = $(DS_EL.image);
|
|
143
|
+
const $premiumImage = $(DS_EL.premiumImage);
|
|
144
|
+
|
|
145
|
+
$title.text('Premium delivery');
|
|
146
|
+
$subtitle.html('Delivered tomorrow morning for £12.00');
|
|
147
|
+
$infoIcon.addClass(DS_CLASSES.hidden);
|
|
148
|
+
$subtitle.append($infoIcon);
|
|
149
|
+
$image.addClass(DS_CLASSES.hidden);
|
|
150
|
+
$premiumImage.removeClass(DS_CLASSES.hidden);
|
|
151
|
+
updatePremiumDeliveryBlock();
|
|
152
|
+
}
|
|
153
|
+
|
|
101
154
|
function selectTimeSlot(e) {
|
|
102
155
|
const $self = $(DS_EL.dateSelection);
|
|
103
156
|
const $cell = $(e.target).closest(DS_EL.cell);
|
|
104
157
|
const isRapid = $cell.hasClass(DS_CLASSES.rapidCell);
|
|
158
|
+
const isPremiumCell = $cell.hasClass(DS_CLASSES.premiumCell);
|
|
105
159
|
|
|
106
160
|
$(DS_EL.cell).removeClass(DS_CLASSES.selectedCell);
|
|
107
161
|
$cell.addClass(DS_CLASSES.selectedCell);
|
|
108
162
|
$self.trigger('selected');
|
|
109
163
|
isDateSelected = true;
|
|
110
164
|
|
|
111
|
-
if (
|
|
165
|
+
if (isPremiumCell) {
|
|
166
|
+
$self.addClass(DS_CLASSES.isSelected);
|
|
167
|
+
updatePremiumInfo();
|
|
168
|
+
} else if (isRapid) {
|
|
112
169
|
if (!rapidLoaderShown) {
|
|
113
170
|
rapidLoaderShown = true;
|
|
114
171
|
showRapidLoader();
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout" title="Checkout - Delivery details" isAsideSticky="true"}}
|
|
2
|
+
{{#content "steps"}}
|
|
3
|
+
{{> steps-three-steps active-step-index="1" }}
|
|
4
|
+
{{/content}}
|
|
5
|
+
|
|
6
|
+
{{#content "head" mode="append"}}
|
|
7
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
|
|
8
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_checkout_delivery-new.css">
|
|
9
|
+
{{/content}}
|
|
10
|
+
|
|
11
|
+
{{#content "aside"}}
|
|
12
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true paymentsCheckoutV2="true"}}
|
|
13
|
+
{{/content}}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
{{#content "main"}}
|
|
17
|
+
<div class="delivery-block">
|
|
18
|
+
<h3 class="delivery-block__heading">Delivery Information</h3>
|
|
19
|
+
{{> banner-news
|
|
20
|
+
description="<b>Your order qualifies for Premium delivery.</b></br>Alternative delivery options are available."
|
|
21
|
+
imgSrc="./img/premium-delivery.png"
|
|
22
|
+
}}
|
|
23
|
+
<div class="delivery-block__wrapper">
|
|
24
|
+
<div class="date-selection__wrapper">
|
|
25
|
+
<h3 class="date-selection__header">Select delivery date</h3>
|
|
26
|
+
<p class="date-selection__info-block">
|
|
27
|
+
Please choose a date for delivery from the calendar below.
|
|
28
|
+
</p>
|
|
29
|
+
<p class="date-selection__info-block">
|
|
30
|
+
Our delivery slots are currently available up to 8 days in advance.<br> We release additional delivery slots daily.
|
|
31
|
+
</p>
|
|
32
|
+
<p>*Individual couriers will provide more information on delivery times, closer to your chosen delivery date.</p>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="component component-date-selection">
|
|
36
|
+
{{> date-selection
|
|
37
|
+
titleDelivery="Premium delivery"
|
|
38
|
+
subtitleDelivery="Delivered tomorrow morning for £12.00"
|
|
39
|
+
imgDelivery="fas fa-shipping-fast"
|
|
40
|
+
premiumImg="./img/premium-delivery.png"
|
|
41
|
+
wisdom=true
|
|
42
|
+
premium=true
|
|
43
|
+
}}
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
{{#with checkoutOrder.deliveryDeliveryDetails.[0]}}
|
|
47
|
+
<div class="checkout-order">
|
|
48
|
+
{{> checkout-order-block}}
|
|
49
|
+
</div>
|
|
50
|
+
{{/with}}
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div class="click-collect-block">
|
|
56
|
+
<h3 class="click-collect-block__heading">Click & Collect</h3>
|
|
57
|
+
|
|
58
|
+
<div class="click-collect-block__head-info">
|
|
59
|
+
<p>Simply enter or correct the contact information required below and continue to the next step of the checkout.</p>
|
|
60
|
+
<div class="head-info__wrapper">
|
|
61
|
+
<div class="head-info__wrapper-exclamation">
|
|
62
|
+
<i class="far fa-exclamation-circle"></i>
|
|
63
|
+
<span>Your order will be held for up to 24 hours</span>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="head-info__wrapper-text">
|
|
66
|
+
<p>You will receive a text when your order is ready to collect (usually within 1 trading hour of receiving your order confirmation email).</p>
|
|
67
|
+
<p>Please wait for confirmation before travelling to your chosen store.</p>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="click-collect-block__wrapper">
|
|
73
|
+
{{#with checkoutOrder.clickCollectDeliveryAddress.[0]}}
|
|
74
|
+
<div class="checkout-order">
|
|
75
|
+
{{> checkout-order-block}}
|
|
76
|
+
</div>
|
|
77
|
+
{{/with}}
|
|
78
|
+
|
|
79
|
+
<div class="add-contact-details">
|
|
80
|
+
<h3 class="add-contact-details__heading">Add contact details</h3>
|
|
81
|
+
<p>Please enter your phone number(s) below so we can contact you regarding your order.</p>
|
|
82
|
+
|
|
83
|
+
<div class="add-contact-details__form">
|
|
84
|
+
{{> form-row type="tel" id="mobile" label="Mobile number" required="true"}}
|
|
85
|
+
{{> form-row type="tel" id="home-phone" label="Home phone"}}
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div class="simplify-collection">
|
|
92
|
+
<h3 class="simplify-collection__heading">Simplify your collection</h3>
|
|
93
|
+
<p class="simplify-collection__info">All the Click & Collect items in your order are currently available at the following stores. Select
|
|
94
|
+
one of the store to collect all your items from the same location.</p>
|
|
95
|
+
|
|
96
|
+
<div class="simplify-collection__wrapper">
|
|
97
|
+
<div class="your-contact-details__checkbox">
|
|
98
|
+
{{#extend "radiobutton" id="oldham" name="store" label="Oldham" checked="true"}}
|
|
99
|
+
{{#content "html"}}
|
|
100
|
+
<span class="distance">6.2 Miles</span>
|
|
101
|
+
<div class="store-address">
|
|
102
|
+
<div class="store-address__street">Wickes Larch Street,</div>
|
|
103
|
+
<div class="store-address__town">Oldham</div>
|
|
104
|
+
<div class="store-address__city">Greater Manchester,</div>
|
|
105
|
+
<div class="store-address__postcode">OL8 1TA</div>
|
|
106
|
+
<div class="store-address__country">United Kingdom</div>
|
|
107
|
+
</div>
|
|
108
|
+
{{/content}}
|
|
109
|
+
{{/extend}}
|
|
110
|
+
</div>
|
|
111
|
+
<div class="your-contact-details__checkbox">
|
|
112
|
+
{{#extend "radiobutton" id="clifton" name="store" label="Clifton"}}
|
|
113
|
+
{{#content "html"}}
|
|
114
|
+
<span class="distance">4.9 Miles</span>
|
|
115
|
+
<div class="store-address">
|
|
116
|
+
<div class="store-address__street">Wickes Wynne Avenue,</div>
|
|
117
|
+
<div class="store-address__town"> Clifton, Swinton</div>
|
|
118
|
+
<div class="store-address__city">Greater Manchester,</div>
|
|
119
|
+
<div class="store-address__postcode">M27 8FU</div>
|
|
120
|
+
<div class="store-address__country">United Kingdom</div>
|
|
121
|
+
</div>
|
|
122
|
+
{{/content}}
|
|
123
|
+
{{/extend}}
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<p class="simplify-collection__info">I would like to update my order to collect all my items from one store.</p>
|
|
128
|
+
|
|
129
|
+
<button class="btn btn-primary simplify-collection__btn">
|
|
130
|
+
<span class="btn__text">Simplify collection</span>
|
|
131
|
+
</button>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
<div class="continue-btn">
|
|
135
|
+
<button class="btn btn-action">Continue to Payment Details</button>
|
|
136
|
+
</div>
|
|
137
|
+
{{/content}}
|
|
138
|
+
|
|
139
|
+
{{#content "foot" mode="append"}}
|
|
140
|
+
{{> loader titleLoader="Loading Rapid delivery..." hidden=true modifier="basket-loader rapid-loader"}}
|
|
141
|
+
|
|
142
|
+
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
143
|
+
<script defer src="./js/page/select-address.js"></script>
|
|
144
|
+
|
|
145
|
+
{{#extend "modal" classMod="edit-delivery-address" id="modalEditAddress" title="Edit delivery address" fullWidth=true}}
|
|
146
|
+
{{#content "body"}}
|
|
147
|
+
<div class="edit-address-modal-block">
|
|
148
|
+
{{> notifications notification-page.error-deliver-area}}
|
|
149
|
+
<div class="delivery-block__wrapper customer-journey-block">
|
|
150
|
+
{{> user-address-delivery radioName="checkout-address-radio" modal="modalDeliveryEdit" selectedAddress=true simpleAddress=true isDeleted=true}}
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<button class="btn btn-action btn_full">
|
|
154
|
+
<span class="btn__text">Continue to delivery details</span>
|
|
155
|
+
</button>
|
|
156
|
+
</div>
|
|
157
|
+
{{/content}}
|
|
158
|
+
{{/extend}}
|
|
159
|
+
|
|
160
|
+
{{/content}}
|
|
161
|
+
{{/extend}}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
@import 'globals/global-components';
|
|
14
14
|
@import 'components/accordion';
|
|
15
15
|
@import 'components/aside-nav2';
|
|
16
|
-
@import 'components/banner'
|
|
17
|
-
@import 'components/legal-info'
|
|
16
|
+
@import 'components/banner'; //fully is used on prototype, and some styles are used in prod, needs check
|
|
17
|
+
@import 'components/legal-info'; //present on proto, on prod it is just <p> needs check
|
|
18
18
|
@import 'components/clamp';
|
|
19
19
|
@import 'components/long-banner';
|
|
20
20
|
|
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
border-left: 0;
|
|
81
81
|
border-right: 0;
|
|
82
82
|
|
|
83
|
-
|
|
84
83
|
@include media-breakpoint-up(sm) {
|
|
85
84
|
flex-direction: column;
|
|
86
85
|
border-left: 1px solid $gray;
|
|
@@ -97,7 +96,6 @@
|
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
.card__img {
|
|
100
|
-
|
|
101
99
|
@include media-breakpoint-down(sm) {
|
|
102
100
|
padding-top: 15px;
|
|
103
101
|
padding-bottom: 10px;
|
|
@@ -145,7 +143,7 @@
|
|
|
145
143
|
|
|
146
144
|
&_ends {
|
|
147
145
|
background-color: $gray-dark-transparent75;
|
|
148
|
-
font-size: .75rem;
|
|
146
|
+
font-size: 0.75rem;
|
|
149
147
|
font-weight: 500;
|
|
150
148
|
line-height: 14px;
|
|
151
149
|
}
|
|
@@ -401,7 +399,7 @@
|
|
|
401
399
|
position: absolute;
|
|
402
400
|
right: 8px;
|
|
403
401
|
top: 8px;
|
|
404
|
-
font-size: .875rem;
|
|
402
|
+
font-size: 0.875rem;
|
|
405
403
|
color: $warm-grey;
|
|
406
404
|
cursor: pointer;
|
|
407
405
|
|
|
@@ -414,7 +412,7 @@
|
|
|
414
412
|
position: absolute;
|
|
415
413
|
right: 8px;
|
|
416
414
|
top: 8px;
|
|
417
|
-
font-size: .875rem;
|
|
415
|
+
font-size: 0.875rem;
|
|
418
416
|
color: $warm-grey;
|
|
419
417
|
cursor: pointer;
|
|
420
418
|
}
|