buildingproduct-library 0.2.73
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/README.md +24 -0
- package/assets/fonts/arial-webfont.woff +0 -0
- package/assets/fonts/arial-webfont.woff2 +0 -0
- package/assets/fonts/arialblack-webfont.woff +0 -0
- package/assets/fonts/arialblack-webfont.woff2 +0 -0
- package/assets/fonts/arialbold-webfont.woff +0 -0
- package/assets/fonts/arialbold-webfont.woff2 +0 -0
- package/assets/fonts/helveticaneue.woff +0 -0
- package/assets/fonts/helveticaneue.woff2 +0 -0
- package/assets/fonts/helveticaneuemedium-webfont.woff +0 -0
- package/assets/fonts/helveticaneuemedium-webfont.woff2 +0 -0
- package/assets/fonts/helveticaneuethin-webfont.woff +0 -0
- package/assets/fonts/helveticaneuethin-webfont.woff2 +0 -0
- package/assets/fonts/icomoon.ttf +0 -0
- package/assets/fonts/icomoon.woff +0 -0
- package/assets/images/ActivateIcon.svg +14 -0
- package/assets/images/AlertIcon.svg +3 -0
- package/assets/images/DisableIcon.svg +3 -0
- package/assets/images/Divider line.svg +3 -0
- package/assets/images/EditIconEnabled.svg +6 -0
- package/assets/images/EditIcondisabled.svg +6 -0
- package/assets/images/Grid-dark.svg +8 -0
- package/assets/images/Grid-light.svg +8 -0
- package/assets/images/Hamburger_icon_white.png +0 -0
- package/assets/images/Icon-awesome-user-alt-white.svg +13 -0
- package/assets/images/Icon-ionic-ios-arrow-down.svg +3 -0
- package/assets/images/Icon-ionic-ios-help-circle.svg +6 -0
- package/assets/images/Icon-ionic-ios-home.svg +6 -0
- package/assets/images/Icon-ionic-ios-settings.svg +6 -0
- package/assets/images/Icon-material-shopping-cart.svg +7 -0
- package/assets/images/Invited.svg +4 -0
- package/assets/images/List-dark.svg +3 -0
- package/assets/images/List-light.svg +3 -0
- package/assets/images/PDP-add-more.svg +3 -0
- package/assets/images/PDP-colour-selected.svg +7 -0
- package/assets/images/PDP-quote-exists.svg +12 -0
- package/assets/images/PDP-remove-icon.svg +3 -0
- package/assets/images/Selected icon.svg +3 -0
- package/assets/images/Selected-icon.svg +3 -0
- package/assets/images/banner-image.png +0 -0
- package/assets/images/br_down.png +0 -0
- package/assets/images/cart-shopping-fast.svg +6 -0
- package/assets/images/check-square.svg +3 -0
- package/assets/images/checkmark-circle-outline.svg +4 -0
- package/assets/images/closegrey.svg +71 -0
- package/assets/images/dashboard.svg +35 -0
- package/assets/images/delivery.svg +11 -0
- package/assets/images/download-icon.svg +7 -0
- package/assets/images/downloads-dark.svg +6 -0
- package/assets/images/downloads-light.svg +6 -0
- package/assets/images/erroricon.svg +3 -0
- package/assets/images/home-icon.svg +6 -0
- package/assets/images/home_banner.png +0 -0
- package/assets/images/ic_calender.svg +15 -0
- package/assets/images/icon-clock-icon.svg +10 -0
- package/assets/images/icon-feather-edit.svg +6 -0
- package/assets/images/icon-flashing-black.svg +3 -0
- package/assets/images/icon-flashing-white.svg +3 -0
- package/assets/images/icon-ionic-ios-search.svg +3 -0
- package/assets/images/icon-logout.svg +6 -0
- package/assets/images/icon-mail-icon.svg +7 -0
- package/assets/images/icon-metro-info.svg +3 -0
- package/assets/images/ionic-arrow-back.svg +3 -0
- package/assets/images/ionic-ios-feather-phone.svg +3 -0
- package/assets/images/ionic-ios-help-circle-outline.svg +6 -0
- package/assets/images/ionic-ios-location-outline.svg +3 -0
- package/assets/images/ionic-ios-my-location.svg +3 -0
- package/assets/images/ionic-ios-users-outline.svg +3 -0
- package/assets/images/ionic-trash.svg +3 -0
- package/assets/images/logo-black.svg +16 -0
- package/assets/images/logo-dark.svg +48 -0
- package/assets/images/logo.svg +16 -0
- package/assets/images/my-account.svg +21 -0
- package/assets/images/my-list.svg +43 -0
- package/assets/images/my-team.svg +17 -0
- package/assets/images/newsfeed-banner.jpg +0 -0
- package/assets/images/no-saved-cart.svg +3 -0
- package/assets/images/open-account-logout.png +0 -0
- package/assets/images/orders.svg +23 -0
- package/assets/images/pdp-noimage.svg +21 -0
- package/assets/images/pickup.svg +8 -0
- package/assets/images/plp-grid-noimage.svg +22 -0
- package/assets/images/plp-list-noimage.svg +16 -0
- package/assets/images/product-banner.png +0 -0
- package/assets/images/product-details-dark.svg +10 -0
- package/assets/images/product-details-light.svg +10 -0
- package/assets/images/products.svg +34 -0
- package/assets/images/quotes.svg +12 -0
- package/assets/images/related-products-dark.svg +9 -0
- package/assets/images/related-products-light.svg +9 -0
- package/assets/images/search-noimage.svg +16 -0
- package/assets/images/see-more-bg-hover.svg +1 -0
- package/assets/images/see-more-bg.svg +1 -0
- package/assets/images/shopping-cart-icon.svg +14 -0
- package/assets/images/slash-small-white.svg +3 -0
- package/assets/images/warningicon.svg +3 -0
- package/assets/images/why-dimond.svg +7 -0
- package/buildingproduct-library-0.2.73.tgz +0 -0
- package/buildingproduct-library.d.ts +5 -0
- package/bundles/buildingproduct-library.umd.js +9907 -0
- package/bundles/buildingproduct-library.umd.js.map +1 -0
- package/esm2015/buildingproduct-library.js +5 -0
- package/esm2015/lib/account-dropdown/account-dropdown.component.js +126 -0
- package/esm2015/lib/account-dropdown/account-dropdown.module.js +55 -0
- package/esm2015/lib/account-dropdown/account-dropdown.service.js +55 -0
- package/esm2015/lib/checkout/add-new-address/add-new-address.component.js +435 -0
- package/esm2015/lib/checkout/checkout.module.js +141 -0
- package/esm2015/lib/checkout/custom-checkout/custom-checkout.component.js +362 -0
- package/esm2015/lib/checkout/order-confirmation/order-confirmation.component.js +41 -0
- package/esm2015/lib/checkout/order-review/delivery-information/delivery-information.component.js +32 -0
- package/esm2015/lib/checkout/order-review/order-review-grid/order-review-grid.component.js +92 -0
- package/esm2015/lib/checkout/order-review/order-review-list/order-review-list.component.js +94 -0
- package/esm2015/lib/checkout/order-review/order-review.component.js +147 -0
- package/esm2015/lib/constants/general.js +57 -0
- package/esm2015/lib/contact-us/contact-us.component.js +38 -0
- package/esm2015/lib/contact-us/contact-us.module.js +41 -0
- package/esm2015/lib/custom-cart/addto-saved-carts/addto-saved-carts.component.js +48 -0
- package/esm2015/lib/custom-cart/custom-cart.component.js +94 -0
- package/esm2015/lib/custom-cart/custom-cart.module.js +91 -0
- package/esm2015/lib/custom-header-logo/custom-header-logo.component.js +26 -0
- package/esm2015/lib/custom-header-logo/custom-header-logo.module.js +54 -0
- package/esm2015/lib/custom-header-paragraph/custom-header-paragraph.component.js +24 -0
- package/esm2015/lib/custom-header-paragraph/custom-header-paragraph.module.js +48 -0
- package/esm2015/lib/custom-mini-cart/custom-mini-cart.component.js +138 -0
- package/esm2015/lib/custom-mini-cart/custom-mini-cart.module.js +68 -0
- package/esm2015/lib/custom-navigation/custom-navigation/custom-navigation.component.js +121 -0
- package/esm2015/lib/custom-navigation/custom-navigation.module.js +89 -0
- package/esm2015/lib/custom-order-details/custom-order-details.component.js +197 -0
- package/esm2015/lib/custom-order-details/custom-order-details.module.js +91 -0
- package/esm2015/lib/custom-order-details/download-popup/download-popup.component.js +34 -0
- package/esm2015/lib/custom-order-details/order-detail-grid/order-detail-grid.component.js +108 -0
- package/esm2015/lib/custom-order-details/order-detail-list/order-detail-list.component.js +103 -0
- package/esm2015/lib/custom-order-history/custom-order-history.component.js +652 -0
- package/esm2015/lib/custom-order-history/custom-order-history.module.js +97 -0
- package/esm2015/lib/custom-order-history/slider-progress/slider-progress.component.js +62 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/custom-save-cart-dtl/custom-save-cart-dtl.component.js +96 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/custom-saved-cart-details.module.js +125 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-action/saved-cart-details-action.component.js +115 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-overview/saved-cart-details-overview.component.js +56 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details.service.js +33 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart.component.js +107 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart.module.js +89 -0
- package/esm2015/lib/custom-saved-cart/save-cart.service.js +67 -0
- package/esm2015/lib/custom-saved-cart/saved-cart-general.js +49 -0
- package/esm2015/lib/custom-saved-cart/saved-cart.service.js +39 -0
- package/esm2015/lib/custom-search/custom-search.component.js +132 -0
- package/esm2015/lib/custom-search/custom-search.module.js +46 -0
- package/esm2015/lib/custom-user-account/custom-user-account.component.js +92 -0
- package/esm2015/lib/custom-user-account/custom-user-account.module.js +63 -0
- package/esm2015/lib/directives/custom-directives.module.js +22 -0
- package/esm2015/lib/directives/custom-paginatior.directive.js +127 -0
- package/esm2015/lib/environments/environment.js +24 -0
- package/esm2015/lib/find-store/find-store.component.js +94 -0
- package/esm2015/lib/find-store/find-store.module.js +66 -0
- package/esm2015/lib/help-support/help-support.component.js +24 -0
- package/esm2015/lib/help-support/help-support.module.js +38 -0
- package/esm2015/lib/my-account/account-dashboard/account-dashboard.component.js +134 -0
- package/esm2015/lib/my-account/account-statements/account-statements.component.js +57 -0
- package/esm2015/lib/my-account/invoice-credit/invoice-credit.component.js +342 -0
- package/esm2015/lib/my-account/my-account.component.js +85 -0
- package/esm2015/lib/my-account/my-account.module.js +91 -0
- package/esm2015/lib/my-team/my-team.component.js +418 -0
- package/esm2015/lib/my-team/my-team.module.js +96 -0
- package/esm2015/lib/my-team/team-member.service.js +123 -0
- package/esm2015/lib/pipes/custom-date-pipe.pipe.js +26 -0
- package/esm2015/lib/preference/preference.component.js +19 -0
- package/esm2015/lib/preference/preference.module.js +45 -0
- package/esm2015/lib/services/account-dropdown-state.service.js +21 -0
- package/esm2015/lib/services/cart.service.js +70 -0
- package/esm2015/lib/services/checkout.service.js +73 -0
- package/esm2015/lib/services/endPointURL.js +187 -0
- package/esm2015/lib/services/find-store.service.js +61 -0
- package/esm2015/lib/services/logout.service.js +50 -0
- package/esm2015/lib/services/my-account.service.js +68 -0
- package/esm2015/lib/services/order-history.service.js +65 -0
- package/esm2015/lib/services/order.review.js +38 -0
- package/esm2015/lib/services/search.service.js +42 -0
- package/esm2015/lib/services/user-account-detail-service.service.js +44 -0
- package/esm2015/lib/shared/CustomProduct.js +47 -0
- package/esm2015/lib/shared/active-saved-cart/active-saved-cart.component.js +105 -0
- package/esm2015/lib/shared/custom-breadcrum/custom-breadcrum.component.js +92 -0
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-detail.component.js +95 -0
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-grid/custom-cart-grid.component.js +355 -0
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-list/custom-cart-list.component.js +360 -0
- package/esm2015/lib/shared/custom-cart-detail/custom-product-quantity-form/custom-product-quantity-form.component.js +575 -0
- package/esm2015/lib/shared/custom-cart-detail/split.pipe.js +17 -0
- package/esm2015/lib/shared/date-range-picker/date-range-picker.component.js +123 -0
- package/esm2015/lib/shared/regEx.validator.js +15 -0
- package/esm2015/lib/shared/saved-cart-popup/saved-cart-popup.component.js +85 -0
- package/esm2015/lib/shared/shared-components.module.js +108 -0
- package/esm2015/lib/shared/shared-download-order/shared-download-order.component.js +143 -0
- package/esm2015/lib/spa-custom-header.component.js +26 -0
- package/esm2015/lib/spa-custom-header.module.js +145 -0
- package/esm2015/lib/spa-custom-header.service.js +14 -0
- package/esm2015/lib/utils/utils.js +27 -0
- package/esm2015/lib/utils.js +27 -0
- package/esm2015/public-api.js +35 -0
- package/fesm2015/buildingproduct-library.js +9190 -0
- package/fesm2015/buildingproduct-library.js.map +1 -0
- package/lib/account-dropdown/account-dropdown.component.d.ts +22 -0
- package/lib/account-dropdown/account-dropdown.module.d.ts +10 -0
- package/lib/account-dropdown/account-dropdown.service.d.ts +14 -0
- package/lib/checkout/add-new-address/add-new-address.component.d.ts +29 -0
- package/lib/checkout/checkout.module.d.ts +26 -0
- package/lib/checkout/custom-checkout/custom-checkout.component.d.ts +80 -0
- package/lib/checkout/order-confirmation/order-confirmation.component.d.ts +26 -0
- package/lib/checkout/order-review/delivery-information/delivery-information.component.d.ts +13 -0
- package/lib/checkout/order-review/order-review-grid/order-review-grid.component.d.ts +27 -0
- package/lib/checkout/order-review/order-review-list/order-review-list.component.d.ts +28 -0
- package/lib/checkout/order-review/order-review.component.d.ts +44 -0
- package/lib/constants/general.d.ts +50 -0
- package/lib/contact-us/contact-us.component.d.ts +13 -0
- package/lib/contact-us/contact-us.module.d.ts +9 -0
- package/lib/custom-cart/addto-saved-carts/addto-saved-carts.component.d.ts +18 -0
- package/lib/custom-cart/custom-cart.component.d.ts +25 -0
- package/lib/custom-cart/custom-cart.module.d.ts +15 -0
- package/lib/custom-header-logo/custom-header-logo.component.d.ts +11 -0
- package/lib/custom-header-logo/custom-header-logo.module.d.ts +11 -0
- package/lib/custom-header-paragraph/custom-header-paragraph.component.d.ts +11 -0
- package/lib/custom-header-paragraph/custom-header-paragraph.module.d.ts +10 -0
- package/lib/custom-mini-cart/custom-mini-cart.component.d.ts +45 -0
- package/lib/custom-mini-cart/custom-mini-cart.module.d.ts +14 -0
- package/lib/custom-navigation/custom-navigation/custom-navigation.component.d.ts +37 -0
- package/lib/custom-navigation/custom-navigation.module.d.ts +21 -0
- package/lib/custom-order-details/custom-order-details.component.d.ts +60 -0
- package/lib/custom-order-details/custom-order-details.module.d.ts +17 -0
- package/lib/custom-order-details/download-popup/download-popup.component.d.ts +15 -0
- package/lib/custom-order-details/order-detail-grid/order-detail-grid.component.d.ts +30 -0
- package/lib/custom-order-details/order-detail-list/order-detail-list.component.d.ts +28 -0
- package/lib/custom-order-history/custom-order-history.component.d.ts +96 -0
- package/lib/custom-order-history/custom-order-history.module.d.ts +17 -0
- package/lib/custom-order-history/slider-progress/slider-progress.component.d.ts +15 -0
- package/lib/custom-saved-cart/custom-saved-cart-details/custom-save-cart-dtl/custom-save-cart-dtl.component.d.ts +32 -0
- package/lib/custom-saved-cart/custom-saved-cart-details/custom-saved-cart-details.module.d.ts +20 -0
- package/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-action/saved-cart-details-action.component.d.ts +68 -0
- package/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-overview/saved-cart-details-overview.component.d.ts +31 -0
- package/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details.service.d.ts +15 -0
- package/lib/custom-saved-cart/custom-saved-cart.component.d.ts +57 -0
- package/lib/custom-saved-cart/custom-saved-cart.module.d.ts +16 -0
- package/lib/custom-saved-cart/save-cart.service.d.ts +17 -0
- package/lib/custom-saved-cart/saved-cart-general.d.ts +88 -0
- package/lib/custom-saved-cart/saved-cart.service.d.ts +11 -0
- package/lib/custom-search/custom-search.component.d.ts +35 -0
- package/lib/custom-search/custom-search.module.d.ts +10 -0
- package/lib/custom-user-account/custom-user-account.component.d.ts +35 -0
- package/lib/custom-user-account/custom-user-account.module.d.ts +12 -0
- package/lib/directives/custom-directives.module.d.ts +8 -0
- package/lib/directives/custom-paginatior.directive.d.ts +24 -0
- package/lib/environments/environment.d.ts +12 -0
- package/lib/find-store/find-store.component.d.ts +34 -0
- package/lib/find-store/find-store.module.d.ts +12 -0
- package/lib/help-support/help-support.component.d.ts +11 -0
- package/lib/help-support/help-support.module.d.ts +9 -0
- package/lib/my-account/account-dashboard/account-dashboard.component.d.ts +34 -0
- package/lib/my-account/account-statements/account-statements.component.d.ts +24 -0
- package/lib/my-account/invoice-credit/invoice-credit.component.d.ts +62 -0
- package/lib/my-account/my-account.component.d.ts +26 -0
- package/lib/my-account/my-account.module.d.ts +18 -0
- package/lib/my-team/my-team.component.d.ts +96 -0
- package/lib/my-team/my-team.module.d.ts +17 -0
- package/lib/my-team/team-member.service.d.ts +17 -0
- package/lib/pipes/custom-date-pipe.pipe.d.ts +11 -0
- package/lib/preference/preference.component.d.ts +8 -0
- package/lib/preference/preference.module.d.ts +10 -0
- package/lib/services/account-dropdown-state.service.d.ts +10 -0
- package/lib/services/cart.service.d.ts +15 -0
- package/lib/services/checkout.service.d.ts +17 -0
- package/lib/services/endPointURL.d.ts +153 -0
- package/lib/services/find-store.service.d.ts +14 -0
- package/lib/services/logout.service.d.ts +11 -0
- package/lib/services/my-account.service.d.ts +16 -0
- package/lib/services/order-history.service.d.ts +14 -0
- package/lib/services/order.review.d.ts +11 -0
- package/lib/services/search.service.d.ts +11 -0
- package/lib/services/user-account-detail-service.service.d.ts +15 -0
- package/lib/shared/CustomProduct.d.ts +27 -0
- package/lib/shared/active-saved-cart/active-saved-cart.component.d.ts +56 -0
- package/lib/shared/custom-breadcrum/custom-breadcrum.component.d.ts +28 -0
- package/lib/shared/custom-cart-detail/custom-cart-detail.component.d.ts +32 -0
- package/lib/shared/custom-cart-detail/custom-cart-grid/custom-cart-grid.component.d.ts +74 -0
- package/lib/shared/custom-cart-detail/custom-cart-list/custom-cart-list.component.d.ts +79 -0
- package/lib/shared/custom-cart-detail/custom-product-quantity-form/custom-product-quantity-form.component.d.ts +93 -0
- package/lib/shared/custom-cart-detail/split.pipe.d.ts +7 -0
- package/lib/shared/date-range-picker/date-range-picker.component.d.ts +31 -0
- package/lib/shared/regEx.validator.d.ts +8 -0
- package/lib/shared/saved-cart-popup/saved-cart-popup.component.d.ts +37 -0
- package/lib/shared/shared-components.module.d.ts +24 -0
- package/lib/shared/shared-download-order/shared-download-order.component.d.ts +37 -0
- package/lib/spa-custom-header.component.d.ts +11 -0
- package/lib/spa-custom-header.module.d.ts +28 -0
- package/lib/spa-custom-header.service.d.ts +6 -0
- package/lib/utils/utils.d.ts +6 -0
- package/lib/utils.d.ts +5 -0
- package/package.json +90 -0
- package/public-api.d.ts +31 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Component, HostListener, ViewChild } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { CommonUtils } from '../../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@spartacus/core";
|
|
6
|
+
import * as i2 from "../../services/cart.service";
|
|
7
|
+
import * as i3 from "@angular/router";
|
|
8
|
+
import * as i4 from "../../services/order.review";
|
|
9
|
+
import * as i5 from "../../shared/custom-breadcrum/custom-breadcrum.component";
|
|
10
|
+
import * as i6 from "./delivery-information/delivery-information.component";
|
|
11
|
+
import * as i7 from "./order-review-list/order-review-list.component";
|
|
12
|
+
import * as i8 from "./order-review-grid/order-review-grid.component";
|
|
13
|
+
import * as i9 from "@angular/common";
|
|
14
|
+
export class OrderReviewComponent {
|
|
15
|
+
constructor(cmsService, cartService, router, orderReviewService) {
|
|
16
|
+
this.cmsService = cmsService;
|
|
17
|
+
this.cartService = cartService;
|
|
18
|
+
this.router = router;
|
|
19
|
+
this.orderReviewService = orderReviewService;
|
|
20
|
+
this.openPopupModal = false;
|
|
21
|
+
this.isDesktop = true;
|
|
22
|
+
this.isMobile = false;
|
|
23
|
+
this.isTablet = false;
|
|
24
|
+
this.listview = true;
|
|
25
|
+
this.isExpandAll = false;
|
|
26
|
+
this.breadcrumbData = [];
|
|
27
|
+
this.showWaitCursor = new BehaviorSubject(true);
|
|
28
|
+
this.orderReviewPage = true;
|
|
29
|
+
}
|
|
30
|
+
onWindowScroll(event) {
|
|
31
|
+
this.checkScrollEnd();
|
|
32
|
+
}
|
|
33
|
+
ngOnInit() {
|
|
34
|
+
var _a;
|
|
35
|
+
const cartObj = localStorage.getItem('spartacus⚿dimond-spa⚿cart');
|
|
36
|
+
this.cartId = (_a = JSON.parse(cartObj)) === null || _a === void 0 ? void 0 : _a.active;
|
|
37
|
+
this.breadcrumbData.push({ url: '/', name: 'Home' });
|
|
38
|
+
this.breadcrumbData.push({ url: '/cart', name: 'Cart' });
|
|
39
|
+
this.breadcrumbData.push({ url: '/checkout', name: 'Checkout' });
|
|
40
|
+
this.breadcrumbData.push({ url: '/review-order', name: 'Review Order' });
|
|
41
|
+
this.cmsService.getCurrentPage().subscribe((pagadata) => {
|
|
42
|
+
this.pageTitle = pagadata.title;
|
|
43
|
+
});
|
|
44
|
+
this.cmsService.getComponentData('OptionalContentComponent').subscribe((data) => {
|
|
45
|
+
if (data) {
|
|
46
|
+
this.orderReviewParagraph = data.content;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
this.cmsService.getComponentData('OrderErrorParagraphComponent').subscribe((data) => {
|
|
50
|
+
if (data) {
|
|
51
|
+
this.orderErrorParagraph = data.content;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
this.getCartLists();
|
|
55
|
+
this.onPageRefresh();
|
|
56
|
+
}
|
|
57
|
+
checkScrollEnd() {
|
|
58
|
+
const windowHeight = 'innerHeight' in window ? window.innerHeight : document.documentElement.offsetHeight;
|
|
59
|
+
const body = document.body;
|
|
60
|
+
const html = document.documentElement;
|
|
61
|
+
const docHeight = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
|
|
62
|
+
const windowBottom = windowHeight + window.pageYOffset;
|
|
63
|
+
if (windowBottom >= docHeight || window.pageYOffset === 0) {
|
|
64
|
+
// User has reached the end of the scroll, show the div
|
|
65
|
+
this.myDiv.nativeElement.style.display = 'block';
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
// User is still scrolling, hide the div
|
|
69
|
+
this.myDiv.nativeElement.style.display = 'none';
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
getCartLists() {
|
|
73
|
+
this.showWaitCursor.next(true);
|
|
74
|
+
this.cartService.getCartList(this.cartId).subscribe(res => {
|
|
75
|
+
var _a;
|
|
76
|
+
this.cartDetails = res === null || res === void 0 ? void 0 : res.entries;
|
|
77
|
+
this.totalPrice = (_a = res === null || res === void 0 ? void 0 : res.totalPrice) === null || _a === void 0 ? void 0 : _a.formattedValue;
|
|
78
|
+
this.showWaitCursor.next(false);
|
|
79
|
+
}, (error) => {
|
|
80
|
+
this.showWaitCursor.next(false);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
gridView() {
|
|
84
|
+
this.listview = false;
|
|
85
|
+
}
|
|
86
|
+
listView() {
|
|
87
|
+
this.listview = true;
|
|
88
|
+
}
|
|
89
|
+
expandAll() {
|
|
90
|
+
this.isExpandAll = true;
|
|
91
|
+
this.cartService.expandAll.next(true);
|
|
92
|
+
}
|
|
93
|
+
contractAll() {
|
|
94
|
+
this.isExpandAll = false;
|
|
95
|
+
this.cartService.expandAll.next(false);
|
|
96
|
+
}
|
|
97
|
+
orderPlace() {
|
|
98
|
+
this.showWaitCursor.next(true);
|
|
99
|
+
this.orderReviewService.orderPlaceAPI(this.cartId).subscribe((response) => {
|
|
100
|
+
if (response) {
|
|
101
|
+
localStorage.setItem("orderId", response === null || response === void 0 ? void 0 : response.code);
|
|
102
|
+
sessionStorage.removeItem('checkoutData');
|
|
103
|
+
localStorage.removeItem('spartacus⚿dimond-spa⚿cart');
|
|
104
|
+
window.location.href = '/order-confirmation';
|
|
105
|
+
this.showWaitCursor.next(false);
|
|
106
|
+
}
|
|
107
|
+
}, (error) => {
|
|
108
|
+
this.errorModalBtn.nativeElement.click();
|
|
109
|
+
this.showWaitCursor.next(false);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
onResize(event) {
|
|
113
|
+
event.target.innerWidth;
|
|
114
|
+
if (event.target.innerWidth < 992) {
|
|
115
|
+
this.isMobile = true;
|
|
116
|
+
this.isDesktop = false;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
this.isDesktop = true;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
onPageRefresh() {
|
|
123
|
+
this.isMobile = CommonUtils.isMobile();
|
|
124
|
+
this.isTablet = CommonUtils.isTablet();
|
|
125
|
+
this.isDesktop = CommonUtils.isDesktop();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
OrderReviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OrderReviewComponent, deps: [{ token: i1.CmsService }, { token: i2.CartService }, { token: i3.Router }, { token: i4.OrderReviewService }], target: i0.ɵɵFactoryTarget.Component });
|
|
129
|
+
OrderReviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OrderReviewComponent, selector: "app-order-review", host: { listeners: { "window:scroll": "onWindowScroll($event)" } }, viewQueries: [{ propertyName: "errorModalBtn", first: true, predicate: ["errorModalBtn"], descendants: true }, { propertyName: "myDiv", first: true, predicate: ["myDiv"], descendants: true }], ngImport: i0, template: "<div class=\"loading \" *ngIf=\"showWaitCursor | async \">Loading…</div>\r\n<app-custom-breadcrum [customCrumbData]=\"breadcrumbData\" class=\"products-breadcums\"></app-custom-breadcrum>\r\n<div class=\"container revieworder-container\" (window:resize)=\"onResize($event)\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-12 pl-md-0\">\r\n <h1 class=\"pageTitle\">{{pageTitle}}</h1>\r\n <div class=\"text-left pageParaText mb-5\" [innerHTML]=\"orderReviewParagraph\"></div>\r\n </div>\r\n </div>\r\n\r\n <app-delivery-information></app-delivery-information>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-12 p-md-0\">\r\n <h3 class=\"revieworder-heading pb-4\">\r\n Order Summary\r\n <span class=\"review-edit-icon\"><a title=\"Order Summary\" href=\"/cart\"><img src=\"../../../assets/images/icon-feather-edit.svg\"></a></span>\r\n </h3>\r\n </div>\r\n </div>\r\n <div class=\"row pb-4\">\r\n <div class=\"col-sm-2 col-md-2 p-md-0 mt-4\">\r\n <span class=\"total-item\"> {{cartDetails?.length}} Items in Order</span>\r\n </div>\r\n <div class=\"col-sm-10 col-md-5 mt-4\">\r\n <div class=\"expandcollapse-link\">\r\n <a title=\"Expand all\" href=\"javascript:void(0)\" (click)=\"expandAll()\" [ngClass]=\"{disabled : isExpandAll == true}\"> Expand all</a> |\r\n <a title=\"Expand all\" href=\"javascript:void(0)\" (click)=\"contractAll()\" [ngClass]=\"{disabled : isExpandAll == false}\"> Contract all</a>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-5 col-md-5 float-right\" *ngIf=\"isDesktop\">\r\n <div class=\"d-flex justify-content-end\">\r\n <div class=\"main-view\">\r\n <button [ngClass]=\"{'active': listview === false}\" class=\"btn btn-sm\" (click)=\"gridView()\">\r\n <img *ngIf=\"listview === false\" src=\"../../../assets/images/Grid-light.svg\" alt=\"gridviewlight\">\r\n <img *ngIf=\"listview === true\" src=\"../../../assets/images/Grid-dark.svg\" alt=\"gridviewdark\">\r\n Grid</button>\r\n <button [ngClass]=\"{'active': listview === true}\" class=\"btn btn-sm active\" (click)=\"listView()\">\r\n <img *ngIf=\"listview === true\" class=\"list-img\" src=\"../../../assets/images/List-light.svg\"\r\n alt=\"listview\">\r\n <img *ngIf=\"listview === false\" class=\"list-img\" src=\"../../../assets/images/List-dark.svg\"\r\n alt=\"listview\">\r\n List</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isDesktop\">\r\n <app-order-review-list (updateCartEntry)=\"getCartLists()\" [cartDetails]=\"cartDetails\" *ngIf=\"listview && cartDetails\" [isCardData]=\"orderReviewPage\"></app-order-review-list>\r\n <app-order-review-grid (updateCartEntry)=\"getCartLists()\" [cartDetails]=\"cartDetails\" *ngIf=\"!listview && cartDetails\" [isCardData]=\"orderReviewPage\"></app-order-review-grid>\r\n </ng-container>\r\n <ng-container *ngIf=\"!isDesktop\">\r\n <app-order-review-grid (updateCartEntry)=\"getCartLists()\" [cartDetails]=\"cartDetails\" *ngIf=\"cartDetails\" [isCardData]=\"orderReviewPage\"></app-order-review-grid>\r\n </ng-container>\r\n</div>\r\n\r\n<div class=\"revieworder-footer-container\" #myDiv>\r\n <div class=\"container\">\r\n <div class=\"row footerMobileView\">\r\n <div class=\"col-md-12 col-6\" [ngClass]=\"!isMobile ? 'text-right' : ''\">\r\n <p class=\"mb-0 review-total-text\">Total</p>\r\n <p class=\"review-total-value mb-2\">{{totalPrice}} <span class=\"d-block\"> excl GST and freight</span></p>\r\n </div>\r\n <div class=\"col-md-12 col-6\" [ngClass]=\"!isMobile ? 'text-right' : ''\">\r\n <p class=\"review-action-btns text-right m-0\">\r\n <ng-container *ngIf=\"!isMobile\">\r\n <a class=\"mr-4 font-weight-bold\" href=\"/cart\" title=\"Back to Cart\"> <img src=\"../../../assets/images/ionic-arrow-back.svg\" alt=\"Back to Cart\" /> BACK TO CART</a>\r\n </ng-container>\r\n <a title=\"Place Order\" class=\"placeorder-btn btn primary-button text-uppercase\" (click)=\"orderPlace()\"> Place Order</a>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isMobile\">\r\n <div class=\"col-12 text-center mb-4\">\r\n <a class=\"mr-4\" href=\"/cart\" title=\"Back to Cart\"> <img src=\"../../../assets/images/ionic-arrow-back.svg\" alt=\"Back to Cart\" /> BACK TO CART</a>\r\n </div>\r\n</ng-container>\r\n\r\n<input type=\"hidden\" data-toggle=\"modal\" data-target=\"#errorModal\" #errorModalBtn />\r\n<div class=\"modal fade\" id=\"errorModal\">\r\n <div class=\"loading\" *ngIf=\"showWaitCursor | async \">Loading…</div>\r\n <div class=\"modal-dialog\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header border-0\">\r\n <i class=\"icon-close closePopup\" data-dismiss=\"modal\" #closebutton aria-label=\"Close\"></i>\r\n </div>\r\n <div class=\"modal-body\" [innerHTML]=\"orderErrorParagraph\">\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";@media screen and (min-width: 1366px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize17: 1.063rem;--fontsize17-5: 1.1rem;--fontsize18: 1.125rem;--fontsize18-4: 1.5rem;--fontsize20: 1.25rem;--fontsize21: 1.313rem;--fontsize22: 1.375rem;--fontsize23: 1.438rem;--fontsize24: 1.5rem;--fontsize26: 1.625rem;--fontsize28: 1.75rem;--fontsize30: 1.625rem;--fontsize32: 2rem;--fontsize34: 2.125rem;--fontsize36: 2rem;--fontsize40: 2.25rem;--fontsize46: 2.875rem;--fontsize80: 5rem}}@media screen and (max-width: 1365px) and (min-width: 768px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize17: .9rem;--fontsize17-5: 1rem;--fontsize18: .875rem;--fontsize20: 1rem;--fontsize21: 1.063rem;--fontsize22: 1.125rem;--fontsize23: 1.188rem;--fontsize24: 1rem;--fontsize28: 1.5rem;--fontsize30: 1.25rem;--fontsize32: 1.75rem;--fontsize34: 1.875rem;--fontsize36: 1.625rem;--fontsize40: 2.5rem;--fontsize46: 2.875rem;--fontsize80: 3.5rem}}@media screen and (max-width: 767px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize16-5: .77rem;--fontsize17: .9rem;--fontsize17-5: 1rem;--fontsize18: .875rem;--fontsize19: .938rem;--fontsize20: 1rem;--fontsize21: 1.063rem;--fontsize22: 1.125rem;--fontsize23: 1.188rem;--fontsize24: 1rem;--fontsize26: 1.25rem;--fontsize28: 1.5rem;--fontsize30: 1.25rem;--fontsize32: 1.75rem;--fontsize34: 1.875rem;--fontsize36: 1.625rem;--fontsize40: 2.5rem;--fontsize46: 2rem;--fontsize80: 2.5rem}}@font-face{font-family:icomoon;font-weight:400;src:url(../assets/fonts/icomoon.ttf) format(\"ttf\"),url(../assets/fonts/icomoon.woff) format(\"woff\");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:\"Arial Regular\";src:url(../assets/fonts/arial-webfont.woff) format(\"woff\"),url(../assets/fonts/arial-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Arial Bold\";src:url(../assets/fonts/arialbold-webfont.woff) format(\"woff\"),url(../assets/fonts/arialbold-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Arial Black\";src:url(../assets/fonts/arialblack-webfont.woff) format(\"woff\"),url(../assets/fonts/arialblack-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Reqular\";src:url(../assets/fonts/helveticaneue.woff) format(\"woff\"),url(../assets/fonts/helveticaneue.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Thin\";src:url(../assets/fonts/helveticaneuethin-webfont.woff) format(\"woff\"),url(../assets/fonts/helveticaneuethin-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Medium\";src:url(../assets/fonts/helveticaneuemedium-webfont.woff) format(\"woff\"),url(../assets/fonts/helveticaneuemedium-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}[class*=\" icon-\"],[class^=icon-]{font-family:icomoon!important;font-feature-settings:normal;font-variant:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-display:swap}.icon-right:before{content:\"\\e902\"}.icon-materials:before{content:\"\\e900\"}.icon-natural-lighting:before{content:\"\\e90a\"}.icon-rainwater:before{content:\"\\e901\"}.icon-roofing:before{content:\"\\e90b\"}.icon-flashing{position:relative;display:inline-block;height:32px;text-align:center;width:32px}.icon-flashing:before,.mainnav-link-level-2.show .navTagChild .icon-flashing:before{content:url(../assets/images/icon-flashing-white.svg);height:20px;width:20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:15px}li.megamenuSubChild:hover .icon-flashing:before{content:url(../assets/images/icon-flashing-black.svg)}.icon-structural:before{content:\"\\e90c\"}.icon-accessories-old .path1:before{content:\"\\e903\"}.icon-accessories-old .path2:before{margin-left:-1em;content:\"\\e904\"}.icon-accessories-old .path3:before{margin-left:-1em;content:\"\\e905\"}.icon-cladding-old .path1:before{content:\"\\e90d\"}.icon-cladding-old .path2:before{margin-left:-1em;content:\"\\e90e\"}.icon-close:before{content:\"\\e90f\"}.icon-message:before{content:\"\\e910\"}.icon-search .path1:before{content:\"\\e906\"}.icon-search .path2:before{content:\"\\e907\"}.icon-search .path3:before{margin-left:-1.0156em;content:\"\\e908\"}.icon-summary:before{content:\"\\e911\"}.icon-branch:before{content:\"\\e912\"}.icon-delivery:before{content:\"\\e913\"}.icon-downloads:before{content:\"\\e909\"}.icon-drawings:before{content:\"\\e914\"}.icon-full:before{content:\"\\e915\"}.icon-manual:before{content:\"\\e916\"}.icon-payment:before{content:\"\\e917\"}.icon-empty .path1:before{content:\"\\e918\"}.icon-empty .path2:before{margin-left:-1em;content:\"\\e919\"}.icon-empty .path3:before{margin-left:-1em;content:\"\\e91a\"}.icon-product-overview:before{content:\"\\e91b\"}.icon-arrows:before{content:\"\\e91c\"}.icon-selected:before{content:\"\\e91d\"}.icon-accessories:before{content:\"\\e91b\"}.icon-cladding:before{content:\"\\e91e\"}.icon-Triangle:before{content:\"\\e91f\"}.icon-home:before{content:\"\\e920\"}.icon-faq:before{content:\"\\e921\"}.icon-temperature:before{content:\"\\e922\"}body header{font-family:\"Arial Regular\",sans-serif}header{background-color:#1d1d1b;position:sticky;top:0;background-size:100% 25%!important;background-repeat:no-repeat;z-index:10}header .header{max-width:100%;padding:0}header cx-banner cx-media img{margin-top:.7rem;margin-bottom:0}header label{display:inline-flex}header .SiteLinks{height:52px;display:flex;align-items:center;justify-content:space-between;padding-top:5px;padding-bottom:5px}header .SiteLinks cx-paragraph p{color:#fff;font-size:var(--fontsize16);line-height:var(--fontsize16);margin-bottom:0}header .SiteLinks cx-paragraph{font-size:var(--fontsize16)}header .SiteLinks app-account-dropdown,header .SiteLinks app-find-store{width:calc(25% - 25px);max-width:328px;margin-right:25px}header .SiteLinks app-contact-us{width:calc(20% - 25px);max-width:100px;margin-left:auto}header .SiteLinks app-custom-mini-cart{width:10%}header .SiteLinks .preferenceLink{margin-left:auto}header .SiteLinks .preferenceLink cx-generic-link{margin:0}header .SiteLinks .preferenceLink cx-generic-link cx-media img{height:22px;margin:0}header .SiteLogo .storeLogo{position:absolute;z-index:99;left:40px;bottom:10px}header .SiteLogo .homeLogo{max-width:28px;height:28px;position:absolute;z-index:99;bottom:47px}header .NavigationBar{flex:70%;background-color:#b61828;min-height:40px;display:flex;align-items:center;position:relative;z-index:10}header .logoutMenu{margin-top:0!important}header .logoutMenu li{cursor:pointer;background-color:#4c4c4c;color:#fff}header .logoutMenu li:hover{text-decoration:underline;background-color:#4c4c4c}header .MarketingContext{width:100%;margin:auto}.customer-service-icon{cursor:pointer}.helpSupport{width:20rem;border:0;margin-top:.5rem!important;transform:translate(-42%,36px)!important;padding:1rem 1rem 0;background-color:#393939;color:#fff;top:0}.helpSupport .arrow-up{position:absolute;top:-8px;right:44%;width:0;height:0;border-left:15px solid rgba(0,0,0,0);border-right:15px solid rgba(0,0,0,0);border-bottom:15px solid #393939}.helpSupport .contact-us-info .heading{font-family:\"Arial Bold\",sans-serif}.helpSupport .contact-us-info .detail{font-size:var(--fontsize14);line-height:2rem}.helpSupport .contact-us-info .detail .service-icon{height:20px;width:20px;margin-right:10px}.helpSupport .contact-us-info .contactLink a{font-size:var(--fontsize14);text-decoration:underline;text-transform:uppercase}.helpSupport .contact-us-info a{color:#fff;text-decoration:none}.helpSupport .contact-us-info a:hover{text-decoration:underline}.pageTitle{font-family:\"Helvetica Neue Regular\",sans-serif;font-size:var(--fontsize54)}#visualization-container{text-align:center;margin:0 auto}#cds-viewer-container-3d{width:320px;height:200px}#cds-viewer-container-2d{width:320px;height:200px}[aria-label=Close]{cursor:pointer}cx-media.is-missing{background:url(./assets/images/search-noimage.svg);background-size:cover;background-position:center;background-repeat:no-repeat}cx-global-message{position:fixed;top:9rem;width:100%;z-index:13}@media screen and (max-width: 991px){cx-global-message{top:3.75rem}cx-storefront header{background-color:#b61828}cx-storefront header cx-banner cx-media img{margin:auto}cx-storefront header .SiteLogo{width:100%;max-width:211px;margin:auto;padding-left:30px;box-sizing:border-box}cx-storefront header .SiteLogo .storeLogo{position:unset}cx-storefront header .SearchBox{margin:14px 0 10px;width:30px}cx-storefront header .SiteLinks{background-color:transparent;width:110px;margin:auto 25px auto 0}cx-storefront header .SiteLinks app-account-dropdown,cx-storefront header .SiteLinks app-find-store,cx-storefront header .SiteLinks app-contact-us,cx-storefront header .SiteLinks cx-paragraph,cx-storefront header .SiteLinks .preferenceLink{display:none}cx-storefront header .SiteLinks app-custom-mini-cart,cx-storefront header .SiteLinks app-custom-user-account{width:35px}cx-storefront header.is-expanded{overflow-y:auto;position:fixed;bottom:0;top:0;width:calc(100% - 99px)}cx-storefront header.is-expanded .header{background-color:#b61828;margin-left:0}cx-storefront header.is-expanded .PreHeader{position:absolute;right:15px;top:15px}cx-storefront header.is-expanded .SearchBox{display:none}cx-storefront header.is-expanded .SiteLogo{position:absolute;top:25px;z-index:9}cx-storefront header.is-expanded .SiteLinks{background-color:#1d1d1b;width:100%;margin:15px auto 15px 0;height:unset;padding:15px;max-width:100%;position:relative;z-index:9;top:60px}cx-storefront header.is-expanded .SiteLinks app-account-dropdown,cx-storefront header.is-expanded .SiteLinks app-find-store,cx-storefront header.is-expanded .SiteLinks app-contact-us,cx-storefront header.is-expanded .SiteLinks cx-paragraph,cx-storefront header.is-expanded .SiteLinks .preferenceLink{display:block}cx-storefront header.is-expanded .SiteLinks app-custom-mini-cart,cx-storefront header.is-expanded .SiteLinks app-custom-user-account{display:none}cx-storefront header.is-expanded .SiteLinks app-account-dropdown{width:100%;max-width:100%}cx-storefront header.is-expanded .SiteLinks app-find-store{width:50%;max-width:328px;min-width:328px}cx-storefront header.is-expanded .SiteLinks app-contact-us{margin-right:15px;margin-left:auto;width:115px;max-width:unset}cx-storefront header.is-expanded .navigation{position:relative;top:45px}cx-storefront header.is-expanded:before{background-color:#0000004d;right:0;content:\"\";position:fixed;z-index:2;top:0;bottom:0;height:100vh;width:99px}cx-storefront header.is-expanded:after{background-color:transparent}}@media screen and (max-width: 576px){cx-storefront header .SiteLogo{max-width:80px}cx-storefront header .SiteLogo .storeLogo{display:none}cx-storefront header .searchBox{height:45px}cx-storefront header.is-expanded{width:100%}cx-storefront header.is-expanded .header,cx-storefront header.is-expanded .navigation{width:100%}cx-storefront header.is-expanded .SiteLogo{max-width:211px!important}cx-storefront header.is-expanded .SiteLogo .storeLogo{display:block}cx-storefront header.is-expanded .SiteLinks{max-width:100%;width:100%}cx-storefront header.is-expanded .SiteLinks app-account-dropdown,cx-storefront header.is-expanded .SiteLinks app-find-store,cx-storefront header.is-expanded .SiteLinks app-contact-us,cx-storefront header.is-expanded .SiteLinks cx-paragraph,cx-storefront header.is-expanded .SiteLinks .preferenceLink{display:block}cx-storefront header.is-expanded .SiteLinks app-custom-mini-cart,cx-storefront header.is-expanded .SiteLinks app-custom-user-account{display:none}cx-storefront header.is-expanded .SiteLinks app-find-store{width:100%;max-width:100%;margin-bottom:10px}cx-storefront header.is-expanded .SiteLinks app-contact-us{margin-left:0}cx-storefront header.is-expanded .SiteLinks cx-paragraph{margin-left:auto}cx-storefront header.is-expanded:before{display:none}.pageTitle{font-size:28px}}::ng-deep cx-page-layout.MultiStepCheckoutSummaryPageTemplate{max-width:100%;padding:0}::ng-deep cx-storefront.stop-navigating:after{height:0}::ng-deep header{display:none}.total-item{font-family:\"Arial Bold\",sans-serif}:host ::ng-deep .revieworder-container .revieworder-heading{font-size:var(--fontsize28)}:host ::ng-deep .revieworder-container .revieworder-table-container{padding-bottom:15rem}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-header-container{background:#646363;color:#fff;font-family:\"Arial Bold\",sans-serif}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container{border-bottom:1px solid #E0E0E0;padding-bottom:1rem;padding-left:1rem;background-color:#fff}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .product-image-container{display:flex}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .product-image-container .reviewproduct-image{width:71px;height:71px}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .product-image-container .reviewproduct-name{font-family:\"Arial Bold\",sans-serif}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .product-image-container .sku-text{font-size:var(--fontsize14);font-family:\"Arial Bold\",sans-serif;color:#6f6f6f}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .seemoredetails-link{font-size:var(--fontsize16);font-family:\"Arial Regular\",sans-serif;text-decoration:underline;cursor:pointer}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .seemoredetails-link:hover{color:#b61828}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .revieworder-collapse .bundle-details{background:#F6F6F6;border:1px solid #E0E0E0;margin-left:15px;padding:1rem;line-height:2.5rem}:host ::ng-deep .revieworder-container .revieworder-table-container .revieworder-body-container .revieworder-collapse .bundle-details .bundle-details-header{font-family:\"Arial Bold\",sans-serif}:host ::ng-deep .revieworder-container .revieworder-table-container .colors-paragraph{display:flex;align-items:center}:host ::ng-deep .revieworder-container .revieworder-table-container .colors-paragraph .revieworder-color{width:20px;height:20px;border:1px solid #000000;display:inline-flex}.revieworder-footer-container{background:#ffffff;padding:24px 0;border-top:1px solid #E8E8E8;position:fixed;bottom:0;left:0;right:0;width:100%;z-index:9;transition:transform .3s ease-in-out}.revieworder-footer-container p{font-family:\"Arial Bold\",sans-serif}.revieworder-footer-container p span{font-family:\"Arial Regular\",sans-serif;font-size:var(--fontsize14);color:#6f6f6f}.revieworder-footer-container .review-total-text{font-size:var(--fontsize14)}.revieworder-footer-container .review-total-value{font-size:var(--fontsize28)}.expandcollapse-link a{font-size:var(--fontsize14);text-decoration:underline}.expandcollapse-link a:hover{color:#b61828}.expandcollapse-link a.disabled{pointer-events:none;color:#a6a6a5}.disabled{pointer-events:none;color:#a6a6a5}.modal-dialog{max-width:740px}.modal-dialog .modal-header{display:flex;justify-content:right}.modal-dialog .modal-header h3{font-size:var(--fontsize28);margin-bottom:20px}.modal-dialog .closePopup{cursor:pointer;font-weight:600}.modal-dialog .modal-body{padding:.75rem 3.7rem 2.7rem}::ng-deep .flashing-expand{cursor:pointer}::ng-deep .flashing-expand:after{background:url(../../../../assets/images/expand-icon.svg) no-repeat center;z-index:2;width:24px;content:\"\";height:24px;position:absolute;top:0;right:0}::ng-deep .product-img{border:1px solid #E0E0E0;padding:5px;width:71px;height:55px;top:12px;position:relative}::ng-deep .product-img cx-media{top:3px}::ng-deep .modal-header{justify-content:right}::ng-deep .modal-header .icon-close{cursor:pointer}@media screen and (max-width: 992px){:host ::ng-deep .review-edit-icon{float:right}}@media screen and (max-width: 767px){.modal-dialog .modal-body{padding:1.7rem}.placeorder-btn{padding-left:.75rem;padding-right:.75rem}}@media screen and (max-width: 576px){.footerMobileView{display:flex;align-items:flex-end}}\n"], components: [{ type: i5.CustomBreadcrumComponent, selector: "app-custom-breadcrum", inputs: ["customCrumbData"] }, { type: i6.DeliveryInformationComponent, selector: "app-delivery-information" }, { type: i7.OrderReviewListComponent, selector: "app-order-review-list", inputs: ["cartDetails", "isCardData"], outputs: ["updateCartEntry"] }, { type: i8.OrderReviewGridComponent, selector: "app-order-review-grid", inputs: ["cartDetails", "isCardData"], outputs: ["updateCartEntry"] }], directives: [{ type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i9.AsyncPipe } });
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OrderReviewComponent, decorators: [{
|
|
131
|
+
type: Component,
|
|
132
|
+
args: [{
|
|
133
|
+
selector: 'app-order-review',
|
|
134
|
+
templateUrl: './order-review.component.html',
|
|
135
|
+
styleUrls: ['./order-review.component.scss']
|
|
136
|
+
}]
|
|
137
|
+
}], ctorParameters: function () { return [{ type: i1.CmsService }, { type: i2.CartService }, { type: i3.Router }, { type: i4.OrderReviewService }]; }, propDecorators: { errorModalBtn: [{
|
|
138
|
+
type: ViewChild,
|
|
139
|
+
args: ['errorModalBtn']
|
|
140
|
+
}], myDiv: [{
|
|
141
|
+
type: ViewChild,
|
|
142
|
+
args: ['myDiv']
|
|
143
|
+
}], onWindowScroll: [{
|
|
144
|
+
type: HostListener,
|
|
145
|
+
args: ['window:scroll', ['$event']]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JlbD1cIkNsb3NlXCI+PC9pPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1vZGFsLWJvZHlcIiBbaW5uZXJIVE1MXT1cIm9yZGVyRXJyb3JQYXJhZ3JhcGhcIj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export const generalConstants = {
|
|
2
|
+
//general constants goes here
|
|
3
|
+
};
|
|
4
|
+
export const headerLabels = {
|
|
5
|
+
selectJobAccText: 'Select Job Account'
|
|
6
|
+
};
|
|
7
|
+
export class newsAndUpdates {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.readMore = 'Read More';
|
|
10
|
+
this.newAndUpdates = 'News & Updates';
|
|
11
|
+
this.moreViewsAndUpdates = 'MORE VIEWS & UPDATES';
|
|
12
|
+
this.moreViews = 'MORE VIEWS';
|
|
13
|
+
this.updates = ' & UPDATES';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class storeLocations {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.homeBranch = 'Home Branch';
|
|
19
|
+
this.allTab = 'All';
|
|
20
|
+
this.northIslandTab = 'North Island';
|
|
21
|
+
this.southIslandTab = 'South Island';
|
|
22
|
+
this.getDirectionBtn = 'GET DIRECTIONS';
|
|
23
|
+
this.selectBtn = 'SELECT';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const createAccountLabelConstants = {
|
|
27
|
+
emailLabel: 'Email*',
|
|
28
|
+
nameLabel: 'Name*',
|
|
29
|
+
mobileNoLabel: 'Mobile Phone',
|
|
30
|
+
dimondAccountLabel: 'Do You Have a Dimond Account?*',
|
|
31
|
+
accountNumberLabel: 'Account Number*',
|
|
32
|
+
companyNameLabel: 'Company Name*',
|
|
33
|
+
additionalCommentsLabel: 'Additional Comments',
|
|
34
|
+
companyAddressLabel: 'Company Address*',
|
|
35
|
+
suburbLabel: 'Suburb*',
|
|
36
|
+
cityLabel: 'City*',
|
|
37
|
+
postcodeLabel: 'Postcode*',
|
|
38
|
+
companyInfoLabel: 'Please provide some information about your company.',
|
|
39
|
+
submitBtnLabel: 'Submit'
|
|
40
|
+
};
|
|
41
|
+
export const createAccountFormConstants = {
|
|
42
|
+
requiredField: 'Required',
|
|
43
|
+
emailIsRequired: 'E-Mail is Required',
|
|
44
|
+
firstNameRequired: 'Name is Required',
|
|
45
|
+
phoneNumberNumeric: 'Invalid phone number. Min. 6 digits. Special characters allowed are “+, -, (, )”',
|
|
46
|
+
emailValidationMessage: 'Sorry, the email you entered is not valid',
|
|
47
|
+
dimondAccountValidationMessage: 'Please Select',
|
|
48
|
+
accountNumberValidationMessage: 'Account Number is not valid',
|
|
49
|
+
companyNameValidationMessage: 'Company Name should be at least 3 characters',
|
|
50
|
+
companyAddressValidationMessage: 'Company Address should be at least 5 characters',
|
|
51
|
+
cityValidationMessage: 'City should be at least 3 characters',
|
|
52
|
+
suburbValidationMessage: 'Suburb should be at least 3 characters',
|
|
53
|
+
postalCodeValidationMessage: 'Please enter valid Postal Code',
|
|
54
|
+
companyNameRequired: 'Company Name is Required',
|
|
55
|
+
accountNumberRequired: 'Account Number is Required',
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2J1aWxkaW5ncHJvZHVjdF9saWJyYXJ5L3NyYy9saWIvY29uc3RhbnRzL2dlbmVyYWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUc7QUFDN0IsOEJBQThCO0NBR2hDLENBQUE7QUFFRCxNQUFN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QgYmUgYXQgbGVhc3QgMyBjaGFyYWN0ZXJzJyxcclxuICAgIHBvc3RhbENvZGVWYWxpZGF0aW9uTWVzc2FnZTogJ1BsZWFzZSBlbnRlciB2YWxpZCBQb3N0YWwgQ29kZScsXHJcbiAgICBjb21wYW55TmFtZVJlcXVpcmVkOiAnQ29tcGFueSBOYW1lIGlzIFJlcXVpcmVkJyxcclxuICAgIGFjY291bnROdW1iZXJSZXF1aXJlZDogJ0FjY291bnQgTnVtYmVyIGlzIFJlcXVpcmVkJyxcclxuICBcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../services/find-store.service";
|
|
4
|
+
export class ContactUsComponent {
|
|
5
|
+
constructor(findStoreService, cd) {
|
|
6
|
+
this.findStoreService = findStoreService;
|
|
7
|
+
this.cd = cd;
|
|
8
|
+
}
|
|
9
|
+
ngOnInit() {
|
|
10
|
+
this.findStoreService.homeBranch.subscribe((data) => {
|
|
11
|
+
setTimeout(() => {
|
|
12
|
+
var _a, _b, _c;
|
|
13
|
+
if (data) {
|
|
14
|
+
if (localStorage.getItem('branchDetails')) {
|
|
15
|
+
this.homeBranchData = localStorage.getItem('branchDetails');
|
|
16
|
+
this.branchPhoneno = (_b = (_a = JSON.parse(this.homeBranchData)) === null || _a === void 0 ? void 0 : _a.address) === null || _b === void 0 ? void 0 : _b.phone;
|
|
17
|
+
this.cd.markForCheck();
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
this.branchPhoneno = (_c = data === null || data === void 0 ? void 0 : data.address) === null || _c === void 0 ? void 0 : _c.phone;
|
|
21
|
+
this.cd.markForCheck();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}, 100);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
ContactUsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContactUsComponent, deps: [{ token: i1.FindStoreService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
ContactUsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContactUsComponent, selector: "app-contact-us", ngImport: i0, template: "<div>\r\n <div class=\"contactNumber\">\r\n <img class=\"customer-service-icon mr-2\" src=\"../../../assets/images/ionic-ios-feather-phone.svg\" alt=\"Phone Icon\">\r\n <span class=\"contactNum\"><a href=\"tel:{{branchPhoneno}}\">{{branchPhoneno}}</a></span>\r\n </div>\r\n</div>", styles: ["@charset \"UTF-8\";@media screen and (min-width: 1366px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize17: 1.063rem;--fontsize17-5: 1.1rem;--fontsize18: 1.125rem;--fontsize18-4: 1.5rem;--fontsize20: 1.25rem;--fontsize21: 1.313rem;--fontsize22: 1.375rem;--fontsize23: 1.438rem;--fontsize24: 1.5rem;--fontsize26: 1.625rem;--fontsize28: 1.75rem;--fontsize30: 1.625rem;--fontsize32: 2rem;--fontsize34: 2.125rem;--fontsize36: 2rem;--fontsize40: 2.25rem;--fontsize46: 2.875rem;--fontsize80: 5rem}}@media screen and (max-width: 1365px) and (min-width: 768px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize17: .9rem;--fontsize17-5: 1rem;--fontsize18: .875rem;--fontsize20: 1rem;--fontsize21: 1.063rem;--fontsize22: 1.125rem;--fontsize23: 1.188rem;--fontsize24: 1rem;--fontsize28: 1.5rem;--fontsize30: 1.25rem;--fontsize32: 1.75rem;--fontsize34: 1.875rem;--fontsize36: 1.625rem;--fontsize40: 2.5rem;--fontsize46: 2.875rem;--fontsize80: 3.5rem}}@media screen and (max-width: 767px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize16-5: .77rem;--fontsize17: .9rem;--fontsize17-5: 1rem;--fontsize18: .875rem;--fontsize19: .938rem;--fontsize20: 1rem;--fontsize21: 1.063rem;--fontsize22: 1.125rem;--fontsize23: 1.188rem;--fontsize24: 1rem;--fontsize26: 1.25rem;--fontsize28: 1.5rem;--fontsize30: 1.25rem;--fontsize32: 1.75rem;--fontsize34: 1.875rem;--fontsize36: 1.625rem;--fontsize40: 2.5rem;--fontsize46: 2rem;--fontsize80: 2.5rem}}@font-face{font-family:icomoon;font-weight:400;src:url(../assets/fonts/icomoon.ttf) format(\"ttf\"),url(../assets/fonts/icomoon.woff) format(\"woff\");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:\"Arial Regular\";src:url(../assets/fonts/arial-webfont.woff) format(\"woff\"),url(../assets/fonts/arial-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Arial Bold\";src:url(../assets/fonts/arialbold-webfont.woff) format(\"woff\"),url(../assets/fonts/arialbold-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Arial Black\";src:url(../assets/fonts/arialblack-webfont.woff) format(\"woff\"),url(../assets/fonts/arialblack-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Reqular\";src:url(../assets/fonts/helveticaneue.woff) format(\"woff\"),url(../assets/fonts/helveticaneue.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Thin\";src:url(../assets/fonts/helveticaneuethin-webfont.woff) format(\"woff\"),url(../assets/fonts/helveticaneuethin-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Medium\";src:url(../assets/fonts/helveticaneuemedium-webfont.woff) format(\"woff\"),url(../assets/fonts/helveticaneuemedium-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}[class*=\" icon-\"],[class^=icon-]{font-family:icomoon!important;font-feature-settings:normal;font-variant:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-display:swap}.icon-right:before{content:\"\\e902\"}.icon-materials:before{content:\"\\e900\"}.icon-natural-lighting:before{content:\"\\e90a\"}.icon-rainwater:before{content:\"\\e901\"}.icon-roofing:before{content:\"\\e90b\"}.icon-flashing{position:relative;display:inline-block;height:32px;text-align:center;width:32px}.icon-flashing:before,.mainnav-link-level-2.show .navTagChild .icon-flashing:before{content:url(../assets/images/icon-flashing-white.svg);height:20px;width:20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:15px}li.megamenuSubChild:hover .icon-flashing:before{content:url(../assets/images/icon-flashing-black.svg)}.icon-structural:before{content:\"\\e90c\"}.icon-accessories-old .path1:before{content:\"\\e903\"}.icon-accessories-old .path2:before{margin-left:-1em;content:\"\\e904\"}.icon-accessories-old .path3:before{margin-left:-1em;content:\"\\e905\"}.icon-cladding-old .path1:before{content:\"\\e90d\"}.icon-cladding-old .path2:before{margin-left:-1em;content:\"\\e90e\"}.icon-close:before{content:\"\\e90f\"}.icon-message:before{content:\"\\e910\"}.icon-search .path1:before{content:\"\\e906\"}.icon-search .path2:before{content:\"\\e907\"}.icon-search .path3:before{margin-left:-1.0156em;content:\"\\e908\"}.icon-summary:before{content:\"\\e911\"}.icon-branch:before{content:\"\\e912\"}.icon-delivery:before{content:\"\\e913\"}.icon-downloads:before{content:\"\\e909\"}.icon-drawings:before{content:\"\\e914\"}.icon-full:before{content:\"\\e915\"}.icon-manual:before{content:\"\\e916\"}.icon-payment:before{content:\"\\e917\"}.icon-empty .path1:before{content:\"\\e918\"}.icon-empty .path2:before{margin-left:-1em;content:\"\\e919\"}.icon-empty .path3:before{margin-left:-1em;content:\"\\e91a\"}.icon-product-overview:before{content:\"\\e91b\"}.icon-arrows:before{content:\"\\e91c\"}.icon-selected:before{content:\"\\e91d\"}.icon-accessories:before{content:\"\\e91b\"}.icon-cladding:before{content:\"\\e91e\"}.icon-Triangle:before{content:\"\\e91f\"}.icon-home:before{content:\"\\e920\"}.icon-faq:before{content:\"\\e921\"}.icon-temperature:before{content:\"\\e922\"}body header{font-family:\"Arial Regular\",sans-serif}header{background-color:#1d1d1b;position:sticky;top:0;background-size:100% 25%!important;background-repeat:no-repeat;z-index:10}header .header{max-width:100%;padding:0}header cx-banner cx-media img{margin-top:.7rem;margin-bottom:0}header label{display:inline-flex}header .SiteLinks{height:52px;display:flex;align-items:center;justify-content:space-between;padding-top:5px;padding-bottom:5px}header .SiteLinks cx-paragraph p{color:#fff;font-size:var(--fontsize16);line-height:var(--fontsize16);margin-bottom:0}header .SiteLinks cx-paragraph{font-size:var(--fontsize16)}header .SiteLinks app-account-dropdown,header .SiteLinks app-find-store{width:calc(25% - 25px);max-width:328px;margin-right:25px}header .SiteLinks app-contact-us{width:calc(20% - 25px);max-width:100px;margin-left:auto}header .SiteLinks app-custom-mini-cart{width:10%}header .SiteLinks .preferenceLink{margin-left:auto}header .SiteLinks .preferenceLink cx-generic-link{margin:0}header .SiteLinks .preferenceLink cx-generic-link cx-media img{height:22px;margin:0}header .SiteLogo .storeLogo{position:absolute;z-index:99;left:40px;bottom:10px}header .SiteLogo .homeLogo{max-width:28px;height:28px;position:absolute;z-index:99;bottom:47px}header .NavigationBar{flex:70%;background-color:#b61828;min-height:40px;display:flex;align-items:center;position:relative;z-index:10}header .logoutMenu{margin-top:0!important}header .logoutMenu li{cursor:pointer;background-color:#4c4c4c;color:#fff}header .logoutMenu li:hover{text-decoration:underline;background-color:#4c4c4c}header .MarketingContext{width:100%;margin:auto}.customer-service-icon{cursor:pointer}.helpSupport{width:20rem;border:0;margin-top:.5rem!important;transform:translate(-42%,36px)!important;padding:1rem 1rem 0;background-color:#393939;color:#fff;top:0}.helpSupport .arrow-up{position:absolute;top:-8px;right:44%;width:0;height:0;border-left:15px solid rgba(0,0,0,0);border-right:15px solid rgba(0,0,0,0);border-bottom:15px solid #393939}.helpSupport .contact-us-info .heading{font-family:\"Arial Bold\",sans-serif}.helpSupport .contact-us-info .detail{font-size:var(--fontsize14);line-height:2rem}.helpSupport .contact-us-info .detail .service-icon{height:20px;width:20px;margin-right:10px}.helpSupport .contact-us-info .contactLink a{font-size:var(--fontsize14);text-decoration:underline;text-transform:uppercase}.helpSupport .contact-us-info a{color:#fff;text-decoration:none}.helpSupport .contact-us-info a:hover{text-decoration:underline}.pageTitle{font-family:\"Helvetica Neue Regular\",sans-serif;font-size:var(--fontsize54)}#visualization-container{text-align:center;margin:0 auto}#cds-viewer-container-3d{width:320px;height:200px}#cds-viewer-container-2d{width:320px;height:200px}[aria-label=Close]{cursor:pointer}cx-media.is-missing{background:url(./assets/images/search-noimage.svg);background-size:cover;background-position:center;background-repeat:no-repeat}cx-global-message{position:fixed;top:9rem;width:100%;z-index:13}@media screen and (max-width: 991px){cx-global-message{top:3.75rem}cx-storefront header{background-color:#b61828}cx-storefront header cx-banner cx-media img{margin:auto}cx-storefront header .SiteLogo{width:100%;max-width:211px;margin:auto;padding-left:30px;box-sizing:border-box}cx-storefront header .SiteLogo .storeLogo{position:unset}cx-storefront header .SearchBox{margin:14px 0 10px;width:30px}cx-storefront header .SiteLinks{background-color:transparent;width:110px;margin:auto 25px auto 0}cx-storefront header .SiteLinks app-account-dropdown,cx-storefront header .SiteLinks app-find-store,cx-storefront header .SiteLinks app-contact-us,cx-storefront header .SiteLinks cx-paragraph,cx-storefront header .SiteLinks .preferenceLink{display:none}cx-storefront header .SiteLinks app-custom-mini-cart,cx-storefront header .SiteLinks app-custom-user-account{width:35px}cx-storefront header.is-expanded{overflow-y:auto;position:fixed;bottom:0;top:0;width:calc(100% - 99px)}cx-storefront header.is-expanded .header{background-color:#b61828;margin-left:0}cx-storefront header.is-expanded .PreHeader{position:absolute;right:15px;top:15px}cx-storefront header.is-expanded .SearchBox{display:none}cx-storefront header.is-expanded .SiteLogo{position:absolute;top:25px;z-index:9}cx-storefront header.is-expanded .SiteLinks{background-color:#1d1d1b;width:100%;margin:15px auto 15px 0;height:unset;padding:15px;max-width:100%;position:relative;z-index:9;top:60px}cx-storefront header.is-expanded .SiteLinks app-account-dropdown,cx-storefront header.is-expanded .SiteLinks app-find-store,cx-storefront header.is-expanded .SiteLinks app-contact-us,cx-storefront header.is-expanded .SiteLinks cx-paragraph,cx-storefront header.is-expanded .SiteLinks .preferenceLink{display:block}cx-storefront header.is-expanded .SiteLinks app-custom-mini-cart,cx-storefront header.is-expanded .SiteLinks app-custom-user-account{display:none}cx-storefront header.is-expanded .SiteLinks app-account-dropdown{width:100%;max-width:100%}cx-storefront header.is-expanded .SiteLinks app-find-store{width:50%;max-width:328px;min-width:328px}cx-storefront header.is-expanded .SiteLinks app-contact-us{margin-right:15px;margin-left:auto;width:115px;max-width:unset}cx-storefront header.is-expanded .navigation{position:relative;top:45px}cx-storefront header.is-expanded:before{background-color:#0000004d;right:0;content:\"\";position:fixed;z-index:2;top:0;bottom:0;height:100vh;width:99px}cx-storefront header.is-expanded:after{background-color:transparent}}@media screen and (max-width: 576px){cx-storefront header .SiteLogo{max-width:80px}cx-storefront header .SiteLogo .storeLogo{display:none}cx-storefront header .searchBox{height:45px}cx-storefront header.is-expanded{width:100%}cx-storefront header.is-expanded .header,cx-storefront header.is-expanded .navigation{width:100%}cx-storefront header.is-expanded .SiteLogo{max-width:211px!important}cx-storefront header.is-expanded .SiteLogo .storeLogo{display:block}cx-storefront header.is-expanded .SiteLinks{max-width:100%;width:100%}cx-storefront header.is-expanded .SiteLinks app-account-dropdown,cx-storefront header.is-expanded .SiteLinks app-find-store,cx-storefront header.is-expanded .SiteLinks app-contact-us,cx-storefront header.is-expanded .SiteLinks cx-paragraph,cx-storefront header.is-expanded .SiteLinks .preferenceLink{display:block}cx-storefront header.is-expanded .SiteLinks app-custom-mini-cart,cx-storefront header.is-expanded .SiteLinks app-custom-user-account{display:none}cx-storefront header.is-expanded .SiteLinks app-find-store{width:100%;max-width:100%;margin-bottom:10px}cx-storefront header.is-expanded .SiteLinks app-contact-us{margin-left:0}cx-storefront header.is-expanded .SiteLinks cx-paragraph{margin-left:auto}cx-storefront header.is-expanded:before{display:none}.pageTitle{font-size:28px}}.contactNumber{min-width:10em;font-size:var(--fontsize16);padding-top:2px;line-height:var(--fontsize40)}.contactNumber .contactNum i{font-size:var(--fontsize20)}.contactNumber .contactNum a{color:#fff;text-decoration:underline}\n"] });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContactUsComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'app-contact-us',
|
|
34
|
+
templateUrl: './contact-us.component.html',
|
|
35
|
+
styleUrls: ['./contact-us.component.scss']
|
|
36
|
+
}]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i1.FindStoreService }, { type: i0.ChangeDetectorRef }]; } });
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFjdC11cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9idWlsZGluZ3Byb2R1Y3RfbGlicmFyeS9zcmMvbGliL2NvbnRhY3QtdXMvY29udGFjdC11cy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9idWlsZGluZ3Byb2R1Y3RfbGlicmFyeS9zcmMvbGliL2NvbnRhY3QtdXMvY29udGFjdC11cy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQzs7O0FBUXJFLE1BQU0sT0FBTyxrQkFBa0I7SUFJN0IsWUFBb0IsZ0JBQWtDLEVBQVMsRUFBcUI7UUFBaEUscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUFTLE9BQUUsR0FBRixFQUFFLENBQW1CO0lBQUksQ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OLnBhcnNlKHRoaXMuaG9tZUJyYW5jaERhdGEpPy5hZGRyZXNzPy5waG9uZTtcclxuICAgICAgICAgICAgdGhpcy5jZC5tYXJrRm9yQ2hlY2soKTtcclxuICAgICAgICAgIH1cclxuICAgICAgICAgIGVsc2UgeyBcclxuICAgICAgICAgICAgdGhpcy5icmFuY2hQaG9uZW5vID0gZGF0YT8uYWRkcmVzcz8ucGhvbmU7XHJcbiAgICAgICAgICAgIHRoaXMuY2QubWFya0ZvckNoZWNrKCk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICB9LCAxMDApO1xyXG4gICAgfSlcclxuICB9XHJcblxyXG59XHJcbiIsIjxkaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiY29udGFjdE51bWJlclwiPlxyXG4gICAgICAgIDxpbWcgY2xhc3M9XCJjdXN0b21lci1zZXJ2aWNlLWljb24gbXItMlwiIHNyYz1cIi4uLy4uLy4uL2Fzc2V0cy9pbWFnZXMvaW9uaWMtaW9zLWZlYXRoZXItcGhvbmUuc3ZnXCIgYWx0PVwiUGhvbmUgSWNvblwiPlxyXG4gICAgICAgIDxzcGFuIGNsYXNzPVwiY29udGFjdE51bVwiPjxhIGhyZWY9XCJ0ZWw6e3ticmFuY2hQaG9uZW5vfX1cIj57e2JyYW5jaFBob25lbm99fTwvYT48L3NwYW4+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ContactUsComponent } from './contact-us.component';
|
|
4
|
+
import { ConfigModule } from '@spartacus/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@spartacus/core";
|
|
7
|
+
export class ContactUsModule {
|
|
8
|
+
}
|
|
9
|
+
ContactUsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContactUsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
ContactUsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContactUsModule, declarations: [ContactUsComponent], imports: [CommonModule, i1.ConfigModule], exports: [ContactUsComponent] });
|
|
11
|
+
ContactUsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContactUsModule, imports: [[
|
|
12
|
+
CommonModule,
|
|
13
|
+
ConfigModule.withConfig({
|
|
14
|
+
cmsComponents: {
|
|
15
|
+
ContactUsComponent: {
|
|
16
|
+
component: ContactUsComponent,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
}),
|
|
20
|
+
]] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContactUsModule, decorators: [{
|
|
22
|
+
type: NgModule,
|
|
23
|
+
args: [{
|
|
24
|
+
declarations: [
|
|
25
|
+
ContactUsComponent
|
|
26
|
+
],
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
ConfigModule.withConfig({
|
|
30
|
+
cmsComponents: {
|
|
31
|
+
ContactUsComponent: {
|
|
32
|
+
component: ContactUsComponent,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
}),
|
|
36
|
+
], exports: [
|
|
37
|
+
ContactUsComponent
|
|
38
|
+
]
|
|
39
|
+
}]
|
|
40
|
+
}] });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFjdC11cy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9idWlsZGluZ3Byb2R1Y3RfbGlicmFyeS9zcmMvbGliL2NvbnRhY3QtdXMvY29udGFjdC11cy5tb2R1bGU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tb24nO1xyXG5pbXBvcnQgeyBDb250YWN0VXNDb21wb25lbnQgfSBmcm9tICcuL2NvbnRhY3QtdXMuY29tcG9uZW50JztcclxuaW1wb3J0IHsgQ21zQ29uZmlnLCBDb25maWdNb2R1bGUgfSBmcm9tICdAc3BhcnRhY3VzL2NvcmUnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgQ29udGFjdFVzQ29tcG9uZW50XHJcbiAgXSxcclxuICBpbXBvcnRzOiBbXHJcblxyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgQ29uZmlnTW9kdWxlLndpdGhDb25maWcoe1xyXG4gICAgICBjbXNDb21wb25lbnRzOiB7XHJcbiAgICAgICAgQ29udGFjdFVzQ29tcG9uZW50OiB7XHJcbiAgICAgICAgICBjb21wb25lbnQ6IENvbnRhY3RVc0NvbXBvbmVudCxcclxuICAgICAgICB9LFxyXG4gICAgICB9LFxyXG4gICAgfSBhcyBDbXNDb25maWcpLFxyXG4gIF0sIGV4cG9ydHM6IFtcclxuICAgIENvbnRhY3RVc0NvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIENvbnRhY3RVc01vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@spartacus/core";
|
|
5
|
+
import * as i2 from "../../shared/custom-breadcrum/custom-breadcrum.component";
|
|
6
|
+
import * as i3 from "../../shared/saved-cart-popup/saved-cart-popup.component";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
export class AddtoSavedCartsComponent {
|
|
9
|
+
constructor(cmsService) {
|
|
10
|
+
this.cmsService = cmsService;
|
|
11
|
+
this.breadcrumbData = [];
|
|
12
|
+
this.showWaitCursor = new BehaviorSubject(false);
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
this.breadcrumbData.push({ url: '/', name: 'Home' });
|
|
16
|
+
this.breadcrumbData.push({ url: '/cart', name: 'Cart' });
|
|
17
|
+
this.cmsService.getCurrentPage().subscribe((pagadata) => {
|
|
18
|
+
this.pageTitle = pagadata.title;
|
|
19
|
+
});
|
|
20
|
+
this.cmsService.getComponentData('CartPageParagraphComponent').subscribe((data) => {
|
|
21
|
+
if (data) {
|
|
22
|
+
this.cartParagraph = data.content;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
this.cmsService.getComponentData('SavedCartLink').subscribe((data) => {
|
|
26
|
+
if (data) {
|
|
27
|
+
this.savedCart = data.linkName;
|
|
28
|
+
this.saveCartUrl = data.url;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
this.cmsService.getComponentData('SavedCartForLaterLink').subscribe((data) => {
|
|
32
|
+
if (data) {
|
|
33
|
+
this.saveCartForLater = data.linkName;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
AddtoSavedCartsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AddtoSavedCartsComponent, deps: [{ token: i1.CmsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
AddtoSavedCartsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AddtoSavedCartsComponent, selector: "app-addto-saved-carts", ngImport: i0, template: "<app-custom-breadcrum [customCrumbData]=\"breadcrumbData\" class=\"products-breadcums\"></app-custom-breadcrum>\r\n<div class=\"container cart-header\">\r\n <div class=\"row reorder\">\r\n <div id=\"side_panel\" class=\"col-sm-8 col-12 m-auto\">\r\n <h1 class=\"pageTitle\">{{pageTitle}}</h1>\r\n <div class=\"text-left pageParaText mb-5\" [innerHTML]=\"cartParagraph\"></div>\r\n </div>\r\n <div class=\"col-sm-4 col-12\">\r\n <ul class=\"d-flex justify-content-end cart-links\">\r\n <li><a href=\"{{saveCartUrl}}\">{{savedCart}}</a></li>\r\n <li data-toggle=\"modal\" data-target=\"#saveCardModal\">{{saveCartForLater}}</li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"modal fade\" id=\"saveCardModal\" role=\"dialog\" aria-labelledby=\"saveCardModal\" aria-hidden=\"true\">\r\n <div class=\"loading\" *ngIf=\"showWaitCursor | async \">Loading…</div>\r\n <app-saved-cart-popup></app-saved-cart-popup>\r\n</div>", styles: ["@charset \"UTF-8\";@media screen and (min-width: 1366px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize17: 1.063rem;--fontsize17-5: 1.1rem;--fontsize18: 1.125rem;--fontsize18-4: 1.5rem;--fontsize20: 1.25rem;--fontsize21: 1.313rem;--fontsize22: 1.375rem;--fontsize23: 1.438rem;--fontsize24: 1.5rem;--fontsize26: 1.625rem;--fontsize28: 1.75rem;--fontsize30: 1.625rem;--fontsize32: 2rem;--fontsize34: 2.125rem;--fontsize36: 2rem;--fontsize40: 2.25rem;--fontsize46: 2.875rem;--fontsize80: 5rem}}@media screen and (max-width: 1365px) and (min-width: 768px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize17: .9rem;--fontsize17-5: 1rem;--fontsize18: .875rem;--fontsize20: 1rem;--fontsize21: 1.063rem;--fontsize22: 1.125rem;--fontsize23: 1.188rem;--fontsize24: 1rem;--fontsize28: 1.5rem;--fontsize30: 1.25rem;--fontsize32: 1.75rem;--fontsize34: 1.875rem;--fontsize36: 1.625rem;--fontsize40: 2.5rem;--fontsize46: 2.875rem;--fontsize80: 3.5rem}}@media screen and (max-width: 767px){:root{--fontsize12: .75rem;--fontsize14: .875rem;--fontsize16: 1rem;--fontsize16-5: .77rem;--fontsize17: .9rem;--fontsize17-5: 1rem;--fontsize18: .875rem;--fontsize19: .938rem;--fontsize20: 1rem;--fontsize21: 1.063rem;--fontsize22: 1.125rem;--fontsize23: 1.188rem;--fontsize24: 1rem;--fontsize26: 1.25rem;--fontsize28: 1.5rem;--fontsize30: 1.25rem;--fontsize32: 1.75rem;--fontsize34: 1.875rem;--fontsize36: 1.625rem;--fontsize40: 2.5rem;--fontsize46: 2rem;--fontsize80: 2.5rem}}@font-face{font-family:icomoon;font-weight:400;src:url(../assets/fonts/icomoon.ttf) format(\"ttf\"),url(../assets/fonts/icomoon.woff) format(\"woff\");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:\"Arial Regular\";src:url(../assets/fonts/arial-webfont.woff) format(\"woff\"),url(../assets/fonts/arial-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Arial Bold\";src:url(../assets/fonts/arialbold-webfont.woff) format(\"woff\"),url(../assets/fonts/arialbold-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Arial Black\";src:url(../assets/fonts/arialblack-webfont.woff) format(\"woff\"),url(../assets/fonts/arialblack-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Reqular\";src:url(../assets/fonts/helveticaneue.woff) format(\"woff\"),url(../assets/fonts/helveticaneue.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Thin\";src:url(../assets/fonts/helveticaneuethin-webfont.woff) format(\"woff\"),url(../assets/fonts/helveticaneuethin-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}@font-face{font-family:\"Helvetica Neue Medium\";src:url(../assets/fonts/helveticaneuemedium-webfont.woff) format(\"woff\"),url(../assets/fonts/helveticaneuemedium-webfont.woff2) format(\"woff2\");font-weight:normal;font-style:normal}[class*=\" icon-\"],[class^=icon-]{font-family:icomoon!important;font-feature-settings:normal;font-variant:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-display:swap}.icon-right:before{content:\"\\e902\"}.icon-materials:before{content:\"\\e900\"}.icon-natural-lighting:before{content:\"\\e90a\"}.icon-rainwater:before{content:\"\\e901\"}.icon-roofing:before{content:\"\\e90b\"}.icon-flashing{position:relative;display:inline-block;height:32px;text-align:center;width:32px}.icon-flashing:before,.mainnav-link-level-2.show .navTagChild .icon-flashing:before{content:url(../assets/images/icon-flashing-white.svg);height:20px;width:20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:15px}li.megamenuSubChild:hover .icon-flashing:before{content:url(../assets/images/icon-flashing-black.svg)}.icon-structural:before{content:\"\\e90c\"}.icon-accessories-old .path1:before{content:\"\\e903\"}.icon-accessories-old .path2:before{margin-left:-1em;content:\"\\e904\"}.icon-accessories-old .path3:before{margin-left:-1em;content:\"\\e905\"}.icon-cladding-old .path1:before{content:\"\\e90d\"}.icon-cladding-old .path2:before{margin-left:-1em;content:\"\\e90e\"}.icon-close:before{content:\"\\e90f\"}.icon-message:before{content:\"\\e910\"}.icon-search .path1:before{content:\"\\e906\"}.icon-search .path2:before{content:\"\\e907\"}.icon-search .path3:before{margin-left:-1.0156em;content:\"\\e908\"}.icon-summary:before{content:\"\\e911\"}.icon-branch:before{content:\"\\e912\"}.icon-delivery:before{content:\"\\e913\"}.icon-downloads:before{content:\"\\e909\"}.icon-drawings:before{content:\"\\e914\"}.icon-full:before{content:\"\\e915\"}.icon-manual:before{content:\"\\e916\"}.icon-payment:before{content:\"\\e917\"}.icon-empty .path1:before{content:\"\\e918\"}.icon-empty .path2:before{margin-left:-1em;content:\"\\e919\"}.icon-empty .path3:before{margin-left:-1em;content:\"\\e91a\"}.icon-product-overview:before{content:\"\\e91b\"}.icon-arrows:before{content:\"\\e91c\"}.icon-selected:before{content:\"\\e91d\"}.icon-accessories:before{content:\"\\e91b\"}.icon-cladding:before{content:\"\\e91e\"}.icon-Triangle:before{content:\"\\e91f\"}.icon-home:before{content:\"\\e920\"}.icon-faq:before{content:\"\\e921\"}.icon-temperature:before{content:\"\\e922\"}body header{font-family:\"Arial Regular\",sans-serif}header{background-color:#1d1d1b;position:sticky;top:0;background-size:100% 25%!important;background-repeat:no-repeat;z-index:10}header .header{max-width:100%;padding:0}header cx-banner cx-media img{margin-top:.7rem;margin-bottom:0}header label{display:inline-flex}header .SiteLinks{height:52px;display:flex;align-items:center;justify-content:space-between;padding-top:5px;padding-bottom:5px}header .SiteLinks cx-paragraph p{color:#fff;font-size:var(--fontsize16);line-height:var(--fontsize16);margin-bottom:0}header .SiteLinks cx-paragraph{font-size:var(--fontsize16)}header .SiteLinks app-account-dropdown,header .SiteLinks app-find-store{width:calc(25% - 25px);max-width:328px;margin-right:25px}header .SiteLinks app-contact-us{width:calc(20% - 25px);max-width:100px;margin-left:auto}header .SiteLinks app-custom-mini-cart{width:10%}header .SiteLinks .preferenceLink{margin-left:auto}header .SiteLinks .preferenceLink cx-generic-link{margin:0}header .SiteLinks .preferenceLink cx-generic-link cx-media img{height:22px;margin:0}header .SiteLogo .storeLogo{position:absolute;z-index:99;left:40px;bottom:10px}header .SiteLogo .homeLogo{max-width:28px;height:28px;position:absolute;z-index:99;bottom:47px}header .NavigationBar{flex:70%;background-color:#b61828;min-height:40px;display:flex;align-items:center;position:relative;z-index:10}header .logoutMenu{margin-top:0!important}header .logoutMenu li{cursor:pointer;background-color:#4c4c4c;color:#fff}header .logoutMenu li:hover{text-decoration:underline;background-color:#4c4c4c}header .MarketingContext{width:100%;margin:auto}.customer-service-icon{cursor:pointer}.helpSupport{width:20rem;border:0;margin-top:.5rem!important;transform:translate(-42%,36px)!important;padding:1rem 1rem 0;background-color:#393939;color:#fff;top:0}.helpSupport .arrow-up{position:absolute;top:-8px;right:44%;width:0;height:0;border-left:15px solid rgba(0,0,0,0);border-right:15px solid rgba(0,0,0,0);border-bottom:15px solid #393939}.helpSupport .contact-us-info .heading{font-family:\"Arial Bold\",sans-serif}.helpSupport .contact-us-info .detail{font-size:var(--fontsize14);line-height:2rem}.helpSupport .contact-us-info .detail .service-icon{height:20px;width:20px;margin-right:10px}.helpSupport .contact-us-info .contactLink a{font-size:var(--fontsize14);text-decoration:underline;text-transform:uppercase}.helpSupport .contact-us-info a{color:#fff;text-decoration:none}.helpSupport .contact-us-info a:hover{text-decoration:underline}.pageTitle{font-family:\"Helvetica Neue Regular\",sans-serif;font-size:var(--fontsize54)}#visualization-container{text-align:center;margin:0 auto}#cds-viewer-container-3d{width:320px;height:200px}#cds-viewer-container-2d{width:320px;height:200px}[aria-label=Close]{cursor:pointer}cx-media.is-missing{background:url(./assets/images/search-noimage.svg);background-size:cover;background-position:center;background-repeat:no-repeat}cx-global-message{position:fixed;top:9rem;width:100%;z-index:13}@media screen and (max-width: 991px){cx-global-message{top:3.75rem}cx-storefront header{background-color:#b61828}cx-storefront header cx-banner cx-media img{margin:auto}cx-storefront header .SiteLogo{width:100%;max-width:211px;margin:auto;padding-left:30px;box-sizing:border-box}cx-storefront header .SiteLogo .storeLogo{position:unset}cx-storefront header .SearchBox{margin:14px 0 10px;width:30px}cx-storefront header .SiteLinks{background-color:transparent;width:110px;margin:auto 25px auto 0}cx-storefront header .SiteLinks app-account-dropdown,cx-storefront header .SiteLinks app-find-store,cx-storefront header .SiteLinks app-contact-us,cx-storefront header .SiteLinks cx-paragraph,cx-storefront header .SiteLinks .preferenceLink{display:none}cx-storefront header .SiteLinks app-custom-mini-cart,cx-storefront header .SiteLinks app-custom-user-account{width:35px}cx-storefront header.is-expanded{overflow-y:auto;position:fixed;bottom:0;top:0;width:calc(100% - 99px)}cx-storefront header.is-expanded .header{background-color:#b61828;margin-left:0}cx-storefront header.is-expanded .PreHeader{position:absolute;right:15px;top:15px}cx-storefront header.is-expanded .SearchBox{display:none}cx-storefront header.is-expanded .SiteLogo{position:absolute;top:25px;z-index:9}cx-storefront header.is-expanded .SiteLinks{background-color:#1d1d1b;width:100%;margin:15px auto 15px 0;height:unset;padding:15px;max-width:100%;position:relative;z-index:9;top:60px}cx-storefront header.is-expanded .SiteLinks app-account-dropdown,cx-storefront header.is-expanded .SiteLinks app-find-store,cx-storefront header.is-expanded .SiteLinks app-contact-us,cx-storefront header.is-expanded .SiteLinks cx-paragraph,cx-storefront header.is-expanded .SiteLinks .preferenceLink{display:block}cx-storefront header.is-expanded .SiteLinks app-custom-mini-cart,cx-storefront header.is-expanded .SiteLinks app-custom-user-account{display:none}cx-storefront header.is-expanded .SiteLinks app-account-dropdown{width:100%;max-width:100%}cx-storefront header.is-expanded .SiteLinks app-find-store{width:50%;max-width:328px;min-width:328px}cx-storefront header.is-expanded .SiteLinks app-contact-us{margin-right:15px;margin-left:auto;width:115px;max-width:unset}cx-storefront header.is-expanded .navigation{position:relative;top:45px}cx-storefront header.is-expanded:before{background-color:#0000004d;right:0;content:\"\";position:fixed;z-index:2;top:0;bottom:0;height:100vh;width:99px}cx-storefront header.is-expanded:after{background-color:transparent}}@media screen and (max-width: 576px){cx-storefront header .SiteLogo{max-width:80px}cx-storefront header .SiteLogo .storeLogo{display:none}cx-storefront header .searchBox{height:45px}cx-storefront header.is-expanded{width:100%}cx-storefront header.is-expanded .header,cx-storefront header.is-expanded .navigation{width:100%}cx-storefront header.is-expanded .SiteLogo{max-width:211px!important}cx-storefront header.is-expanded .SiteLogo .storeLogo{display:block}cx-storefront header.is-expanded .SiteLinks{max-width:100%;width:100%}cx-storefront header.is-expanded .SiteLinks app-account-dropdown,cx-storefront header.is-expanded .SiteLinks app-find-store,cx-storefront header.is-expanded .SiteLinks app-contact-us,cx-storefront header.is-expanded .SiteLinks cx-paragraph,cx-storefront header.is-expanded .SiteLinks .preferenceLink{display:block}cx-storefront header.is-expanded .SiteLinks app-custom-mini-cart,cx-storefront header.is-expanded .SiteLinks app-custom-user-account{display:none}cx-storefront header.is-expanded .SiteLinks app-find-store{width:100%;max-width:100%;margin-bottom:10px}cx-storefront header.is-expanded .SiteLinks app-contact-us{margin-left:0}cx-storefront header.is-expanded .SiteLinks cx-paragraph{margin-left:auto}cx-storefront header.is-expanded:before{display:none}.pageTitle{font-size:28px}}.cart-header .cart-links{padding-top:2rem}.cart-header .cart-links li{padding:0 6px;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-size:var(--fontsize14)}.cart-header .cart-links li:hover{color:#b61828}.cart-header .cart-links li a:hover{color:#b61828}.cart-header .cart-links li:before{content:\"|\";margin-right:10px}.cart-header .cart-links li:first-child:before{content:\"\"}::ng-deep cx-page-layout.CartPageTemplate{max-width:100%!important;padding:0}::ng-deep cx-page-layout.CartPageTemplate cx-generic-link{display:none!important}@media screen and (max-width: 767px){.reorder{display:flex;flex-direction:column}#side_panel{order:2}.cart-header ul{justify-content:start!important}}\n"], components: [{ type: i2.CustomBreadcrumComponent, selector: "app-custom-breadcrum", inputs: ["customCrumbData"] }, { type: i3.SavedCartPopupComponent, selector: "app-saved-cart-popup", inputs: ["customSaveCardData"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe } });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AddtoSavedCartsComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: 'app-addto-saved-carts',
|
|
44
|
+
templateUrl: './addto-saved-carts.component.html',
|
|
45
|
+
styleUrls: ['./addto-saved-carts.component.scss']
|
|
46
|
+
}]
|
|
47
|
+
}], ctorParameters: function () { return [{ type: i1.CmsService }]; } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkdG8tc2F2ZWQtY2FydHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYnVpbGRpbmdwcm9kdWN0X2xpYnJhcnkvc3JjL2xpYi9jdXN0b20tY2FydC9hZGR0by1zYXZlZC1jYXJ0cy9hZGR0by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