buildingproduct-library 0.2.93 → 0.2.94
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/{buildingproduct-library-0.2.93.tgz → buildingproduct-library-0.2.94.tgz} +0 -0
- package/bundles/buildingproduct-library.umd.js +45 -57
- package/bundles/buildingproduct-library.umd.js.map +1 -1
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/custom-saved-cart-details.module.js +2 -5
- package/esm2015/lib/custom-saved-cart/custom-saved-cart.component.js +4 -4
- package/esm2015/lib/services/save-cart.service.js +1 -10
- package/fesm2015/buildingproduct-library.js +44 -56
- package/fesm2015/buildingproduct-library.js.map +1 -1
- package/lib/custom-saved-cart/custom-saved-cart-details/custom-saved-cart-details.module.d.ts +1 -1
- package/lib/custom-saved-cart/custom-saved-cart.component.d.ts +3 -3
- package/lib/services/save-cart.service.d.ts +0 -1
- package/package.json +1 -1
|
Binary file
|
|
@@ -5220,15 +5220,6 @@
|
|
|
5220
5220
|
return rxjs.throwError(errorRes);
|
|
5221
5221
|
}));
|
|
5222
5222
|
};
|
|
5223
|
-
SaveCartService.prototype.getSavedCarts = function () {
|
|
5224
|
-
var url = GET_SAVED_CART().url;
|
|
5225
|
-
return this.http.get(url, {
|
|
5226
|
-
headers: { 'Content-Type': 'application/json' },
|
|
5227
|
-
})
|
|
5228
|
-
.pipe(operators.catchError(function (errorRes) {
|
|
5229
|
-
return rxjs.throwError(errorRes);
|
|
5230
|
-
}));
|
|
5231
|
-
};
|
|
5232
5223
|
return SaveCartService;
|
|
5233
5224
|
}());
|
|
5234
5225
|
SaveCartService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SaveCartService, deps: [{ token: i1__namespace$1.HttpClient }, { token: i1__namespace.RoutingService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
@@ -6743,6 +6734,49 @@
|
|
|
6743
6734
|
}] }];
|
|
6744
6735
|
} });
|
|
6745
6736
|
|
|
6737
|
+
var SavedCartService = /** @class */ (function () {
|
|
6738
|
+
function SavedCartService(http) {
|
|
6739
|
+
this.http = http;
|
|
6740
|
+
}
|
|
6741
|
+
SavedCartService.prototype.getSavedCarts = function () {
|
|
6742
|
+
var url = Get_Saved_Carts().url;
|
|
6743
|
+
return this.http.get(url, {
|
|
6744
|
+
headers: { 'Content-Type': 'application/json' },
|
|
6745
|
+
})
|
|
6746
|
+
.pipe(operators.catchError(function (errorRes) {
|
|
6747
|
+
return rxjs.throwError(errorRes);
|
|
6748
|
+
}));
|
|
6749
|
+
};
|
|
6750
|
+
SavedCartService.prototype.cloneAndSave = function (cartId, name) {
|
|
6751
|
+
var url = Cart_Clone_And_Save(cartId).url + name;
|
|
6752
|
+
;
|
|
6753
|
+
return this.http.post(url, {
|
|
6754
|
+
headers: { 'Content-Type': 'application/json' },
|
|
6755
|
+
})
|
|
6756
|
+
.pipe(operators.catchError(function (errorRes) {
|
|
6757
|
+
return rxjs.throwError(errorRes);
|
|
6758
|
+
}));
|
|
6759
|
+
};
|
|
6760
|
+
SavedCartService.prototype.markCartForActive = function (cartId) {
|
|
6761
|
+
var url = Saved_Cart_Url(cartId).url;
|
|
6762
|
+
return this.http.patch(url, {
|
|
6763
|
+
headers: { 'Content-Type': 'application/json' },
|
|
6764
|
+
})
|
|
6765
|
+
.pipe(operators.catchError(function (errorRes) {
|
|
6766
|
+
return rxjs.throwError(errorRes);
|
|
6767
|
+
}));
|
|
6768
|
+
};
|
|
6769
|
+
return SavedCartService;
|
|
6770
|
+
}());
|
|
6771
|
+
SavedCartService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SavedCartService, deps: [{ token: i1__namespace$1.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
6772
|
+
SavedCartService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SavedCartService, providedIn: 'root' });
|
|
6773
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SavedCartService, decorators: [{
|
|
6774
|
+
type: i0.Injectable,
|
|
6775
|
+
args: [{
|
|
6776
|
+
providedIn: 'root'
|
|
6777
|
+
}]
|
|
6778
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.HttpClient }]; } });
|
|
6779
|
+
|
|
6746
6780
|
var CustomSavedCartComponent = /** @class */ (function () {
|
|
6747
6781
|
function CustomSavedCartComponent(routing, savedCartService, cmsService, service, formBuilder) {
|
|
6748
6782
|
this.routing = routing;
|
|
@@ -6835,7 +6869,7 @@
|
|
|
6835
6869
|
};
|
|
6836
6870
|
return CustomSavedCartComponent;
|
|
6837
6871
|
}());
|
|
6838
|
-
CustomSavedCartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomSavedCartComponent, deps: [{ token: i1__namespace.RoutingService }, { token: i2__namespace$3.SavedCartFacade }, { token: i1__namespace.CmsService }, { token:
|
|
6872
|
+
CustomSavedCartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomSavedCartComponent, deps: [{ token: i1__namespace.RoutingService }, { token: i2__namespace$3.SavedCartFacade }, { token: i1__namespace.CmsService }, { token: SavedCartService }, { token: i1__namespace$2.FormBuilder }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6839
6873
|
CustomSavedCartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomSavedCartComponent, selector: "app-custom-saved-cart", ngImport: i0__namespace, template: "<app-custom-breadcrum></app-custom-breadcrum>\r\n<div class=\"loading\" *ngIf=\"showWaitCursor | async \">Loading…</div>\r\n<div class=\"container\">\r\n <ng-container *ngIf=\"savedCarts\">\r\n <ng-container *ngIf=\"savedCarts.length && dataAvailale == 'hasData' && isLoaded\"> \r\n <h1 class=\"pageTitle my-4 py-2\">{{pageTitle}}</h1>\r\n <div *ngIf=\"savedCartHeading\" class=\"text-left pageParaText mb-5 col-sm-9 pl-0\" [innerHTML]=\"savedCartHeading\"></div>\r\n <div class=\"saved-cart-header mb-4\">\r\n <h3>{{savedCarts.length}} Saved {{savedCarts.length == 1 ? 'Cart': 'Carts'}}</h3>\r\n </div>\r\n <ng-container>\r\n <table class=\"table saveCartdataTable\">\r\n <thead class=\"saved-cart-list-thead-mobile\">\r\n <th scope=\"col\" class=\"\">{{savedCartList.cartName }}\r\n <span class=\"info-icon d-inline-block ml-3\" ngbTooltip=\"Name Information\" placement=\"bottom\"></span>\r\n </th>\r\n <th scope=\"col\">{{savedCartList.dateSaved }}</th>\r\n <th scope=\"col\">{{savedCartList.quantity }}</th>\r\n <th scope=\"col\">{{savedCartList.total }}</th>\r\n <th scope=\"col\">{{savedCartList.actions }}\r\n <span class=\"info-icon d-inline-block ml-3\" ngbTooltip=\"Action Information\" placement=\"bottom\"></span>\r\n </th>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let savedCart of savedCarts\" class=\"cartItems\">\r\n <td class=\"text-left\">\r\n <div class=\"saved-cart-list-label\" ngbTooltip=\"Name Information\" placement=\"bottom\">\r\n {{savedCartList.cartName }}\r\n <span class=\"info-icon d-inline-block ml-3\" ngbTooltip=\"Name Information\" placement=\"bottom\"></span>\r\n </div>\r\n <a class=\"cx-saved-cart-list-value\" (click)=\"goToSavedCartDetails(savedCart)\">{{ savedCart?.name }}</a>\r\n </td>\r\n <td class=\"cx-saved-cart-list-date-saved text-left\">\r\n <div class=\"saved-cart-list-label\">{{savedCartList.dateSaved }}</div>\r\n <span class=\"cx-saved-cart-list-value\">{{ savedCart?.saveTime | date:'d MMM Y' }}</span>\r\n </td>\r\n <td class=\"cx-saved-cart-list-quantity text-left\">\r\n <div class=\"saved-cart-list-label\">{{savedCartList.quantity }}</div>\r\n <span class=\"cx-saved-cart-list-value\">{{ savedCart?.totalItems }}</span>\r\n </td>\r\n <td class=\"text-left width50\">\r\n <div class=\"saved-cart-list-label\">\r\n {{savedCartList.total }}\r\n </div>\r\n <span class=\"cx-saved-cart-list-value\">{{ savedCart?.totalPrice?.formattedValue }}</span>\r\n </td>\r\n <td class=\"actionBtn width50\">\r\n <button #element class=\"btn makeActionBtn text-uppercase rounded-0\" data-toggle=\"modal\" data-target=\"#editCardModal\" (click)=\"makeActiveCart($event, savedCart?.code)\">\r\n {{savedCartList.makeCartActive }}\r\n </button>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </ng-container>\r\n </ng-container>\r\n <!-- NO SAVED CART CONTAINER -->\r\n <ng-container *ngIf=\"dataAvailale == 'noData' && isLoaded\" >\r\n <div class=\"cx-saved-cart-list-no-saved-carts row\">\r\n <div class=\"col-sm-12 col-md-10 col-lg-10 m-auto\">\r\n <div class=\"text-center\" [innerHTML]=\"noSavedCartData\"></div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n<div class=\"modal fade\" *ngIf=\"showPopUp\" id=\"editCardModal\" role=\"dialog\" aria-labelledby=\"editCardModal\" aria-hidden=\"true\">\r\n <div class=\"loading\" *ngIf=\"showWaitCursor | async \">Loading…</div>\r\n <app-active-saved-cart [selectedCartId]=\"selectedCartId\" [makeActiveData]=\"makeActiveData\"></app-active-saved-cart>\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}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;position:relative}cx-storefront header.is-expanded .PreHeader{position:absolute;right:-5px;top:5px}cx-storefront header.is-expanded .SearchBox{display:none}cx-storefront header.is-expanded .SiteLogo{position:absolute;bottom:110px;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{bottom:160px;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 .AccountPageTemplate .BottomHeaderSlot{display:none}::ng-deep .AccountPageTemplate .BodyContent{max-width:100%;padding:0}::ng-deep .AccountPageTemplate label{cursor:initial}::ng-deep .AccountPageTemplate .pageTitle{font-family:\"Helvetica Neue Regular\",sans-serif;font-size:var(--fontsize54)}::ng-deep .AccountPageTemplate .pageParaText{font-size:var(--fontsize16);margin-bottom:55px}::ng-deep .AccountPageTemplate .saved-cart-header h3{font-family:\"Arial Bold\",sans-serif}::ng-deep .AccountPageTemplate .info-icon{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2216%22 height%3D%2216%22 viewBox%3D%220 0 16 16%22%3E%0D %3Cpath id%3D%22Icon_metro-info%22 data-name%3D%22Icon metro-info%22 d%3D%22M9.571%2C6.678a.752.752%2C0%2C0%2C1%2C.75-.75h.5a.752.752%2C0%2C0%2C1%2C.75.75v.5a.752.752%2C0%2C0%2C1-.75.75h-.5a.752.752%2C0%2C0%2C1-.75-.75Zm3%2C7.25h-4v-1h1v-3h-1v-1h3v4h1Zm-2-12a8%2C8%2C0%2C1%2C0%2C8%2C8%2C8%2C8%2C0%2C0%2C0-8-8Zm0%2C14.5a6.5%2C6.5%2C0%2C1%2C1%2C6.5-6.5A6.5%2C6.5%2C0%2C0%2C1%2C10.571%2C16.428Z%22 transform%3D%22translate(-2.571 -1.928)%22 fill%3D%22%23c6c6c6%22%2F%3E%0D%3C%2Fsvg%3E%0D\") no-repeat center;width:16px;height:16px;display:inline-block;top:3px}::ng-deep .AccountPageTemplate .saveCartdataTable thead{background-color:#646363}::ng-deep .AccountPageTemplate .saveCartdataTable thead th{padding:1rem .75rem;color:#fff;text-align:left}::ng-deep .AccountPageTemplate .saveCartdataTable thead th:first-child{max-width:150px}::ng-deep .AccountPageTemplate .saveCartdataTable thead th:last-child{width:200px}::ng-deep .AccountPageTemplate .saveCartdataTable td{padding:1rem .75rem;border-top:0;border-bottom:1px solid #E0E0E0}::ng-deep .AccountPageTemplate .saveCartdataTable td:first-child{max-width:150px}::ng-deep .AccountPageTemplate .saveCartdataTable td:last-child{width:200px}::ng-deep .AccountPageTemplate .saveCartdataTable tr:hover{background-color:#e8e8e8}::ng-deep .AccountPageTemplate .saveCartdataTable tr a:hover{cursor:pointer}::ng-deep .AccountPageTemplate .saved-cart-list-cart-name{text-align:left;padding-left:3rem!important}::ng-deep .AccountPageTemplate .saveCartdataTable .saved-cart-list-label{display:none!important}::ng-deep .AccountPageTemplate a.cx-saved-cart-list-value{color:#b61828;text-decoration:underline}::ng-deep .AccountPageTemplate .cx-saved-cart-list-no-saved-carts{margin:10rem 0}::ng-deep .AccountPageTemplate .noSavedCartHd{font-size:var(--fontsize28)}::ng-deep .AccountPageTemplate .noSavedCartTxt{color:#161616;font-size:var(--fontsize16)}::ng-deep .AccountPageTemplate .makeActionBtn{font-size:.75rem;color:#fff;background-color:#1d1d1b;padding:1rem}::ng-deep .AccountPageTemplate .actionBtn{text-align:left}.saveCardLabel{font-size:var(--fontsize16);font-family:\"Arial Bold\",sans-serif}@media screen and (max-width: 991px){.cartItems{border:1px solid #E0E0E0;margin-bottom:1.25rem;display:block;padding:1.05rem 1.25rem}.saveCartdataTable td{width:100%;display:flex;border-width:0;padding:.2rem 0;max-width:100%}.saveCartdataTable .saved-cart-list-thead-mobile{display:none!important}.saveCartdataTable .saved-cart-list-label{display:block!important;min-width:140px;font-family:\"Arial Bold\",sans-serif}.saveCartdataTable .saved-cart-list-cart-name{padding-left:0!important}.saveCartdataTable .width50{vertical-align:top;width:50%;display:inline-block}.saveCartdataTable .width50 .saved-cart-list-label{display:inline-block!important}.saveCartdataTable .actionBtn{text-align:right}}@media screen and (max-width: 767px){.width50{width:100%!important;display:block!important}.actionBtn{padding-top:1rem!important;text-align:left!important}.makeActionBtn{width:100%}.savecardDataBox{padding:15px;border:1px solid #E0E0E0;flex-wrap:wrap}.savecardDataBox li:first-child,.savecardDataBox li:nth-child(2){width:100%}.modal-content{padding:15px!important}.copySaveData{margin-bottom:180px}.popupFooter{border-top:1px solid #E0E0E0;width:100%;position:fixed;bottom:0;z-index:20;left:0;background:#ffffff;display:flex;align-items:center;flex-direction:column;padding:15px}.popupFooter .btn{max-width:100%;display:block;width:100%}.popupFooter .cancledPopop{margin-right:0}}\n"], components: [{ type: CustomBreadcrumComponent, selector: "app-custom-breadcrum", inputs: ["customCrumbData"] }, { type: ActiveSavedCartComponent, selector: "app-active-saved-cart", inputs: ["makeActiveData", "selectedCartId", "isDeletePopup"], outputs: ["closedPopup"] }], directives: [{ type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i5__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i5__namespace.AsyncPipe, "date": i5__namespace.DatePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
6840
6874
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomSavedCartComponent, decorators: [{
|
|
6841
6875
|
type: i0.Component,
|
|
@@ -6845,50 +6879,7 @@
|
|
|
6845
6879
|
styleUrls: ['./custom-saved-cart.component.scss'],
|
|
6846
6880
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6847
6881
|
}]
|
|
6848
|
-
}], ctorParameters: function () { return [{ type: i1__namespace.RoutingService }, { type: i2__namespace$3.SavedCartFacade }, { type: i1__namespace.CmsService }, { type:
|
|
6849
|
-
|
|
6850
|
-
var SavedCartService = /** @class */ (function () {
|
|
6851
|
-
function SavedCartService(http) {
|
|
6852
|
-
this.http = http;
|
|
6853
|
-
}
|
|
6854
|
-
SavedCartService.prototype.getSavedCarts = function () {
|
|
6855
|
-
var url = Get_Saved_Carts().url;
|
|
6856
|
-
return this.http.get(url, {
|
|
6857
|
-
headers: { 'Content-Type': 'application/json' },
|
|
6858
|
-
})
|
|
6859
|
-
.pipe(operators.catchError(function (errorRes) {
|
|
6860
|
-
return rxjs.throwError(errorRes);
|
|
6861
|
-
}));
|
|
6862
|
-
};
|
|
6863
|
-
SavedCartService.prototype.cloneAndSave = function (cartId, name) {
|
|
6864
|
-
var url = Cart_Clone_And_Save(cartId).url + name;
|
|
6865
|
-
;
|
|
6866
|
-
return this.http.post(url, {
|
|
6867
|
-
headers: { 'Content-Type': 'application/json' },
|
|
6868
|
-
})
|
|
6869
|
-
.pipe(operators.catchError(function (errorRes) {
|
|
6870
|
-
return rxjs.throwError(errorRes);
|
|
6871
|
-
}));
|
|
6872
|
-
};
|
|
6873
|
-
SavedCartService.prototype.markCartForActive = function (cartId) {
|
|
6874
|
-
var url = Saved_Cart_Url(cartId).url;
|
|
6875
|
-
return this.http.patch(url, {
|
|
6876
|
-
headers: { 'Content-Type': 'application/json' },
|
|
6877
|
-
})
|
|
6878
|
-
.pipe(operators.catchError(function (errorRes) {
|
|
6879
|
-
return rxjs.throwError(errorRes);
|
|
6880
|
-
}));
|
|
6881
|
-
};
|
|
6882
|
-
return SavedCartService;
|
|
6883
|
-
}());
|
|
6884
|
-
SavedCartService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SavedCartService, deps: [{ token: i1__namespace$1.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
6885
|
-
SavedCartService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SavedCartService, providedIn: 'root' });
|
|
6886
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SavedCartService, decorators: [{
|
|
6887
|
-
type: i0.Injectable,
|
|
6888
|
-
args: [{
|
|
6889
|
-
providedIn: 'root'
|
|
6890
|
-
}]
|
|
6891
|
-
}], ctorParameters: function () { return [{ type: i1__namespace$1.HttpClient }]; } });
|
|
6882
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.RoutingService }, { type: i2__namespace$3.SavedCartFacade }, { type: i1__namespace.CmsService }, { type: SavedCartService }, { type: i1__namespace$2.FormBuilder }]; } });
|
|
6892
6883
|
|
|
6893
6884
|
var sharedData$6 = {};
|
|
6894
6885
|
var listOfModules$6 = [SharedComponentsModule,];
|
|
@@ -10621,7 +10612,6 @@
|
|
|
10621
10612
|
CustomCartDetailComponent,
|
|
10622
10613
|
CustomSaveCartDtlComponent], imports: [i5.CommonModule,
|
|
10623
10614
|
i1$2.ReactiveFormsModule,
|
|
10624
|
-
i1$2.FormsModule,
|
|
10625
10615
|
i3$1.NgbModule,
|
|
10626
10616
|
i1.UrlModule,
|
|
10627
10617
|
i2$1.RouterModule,
|
|
@@ -10633,7 +10623,6 @@
|
|
|
10633
10623
|
CustomSavedCartDetailsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomSavedCartDetailsModule, imports: [[
|
|
10634
10624
|
i5.CommonModule,
|
|
10635
10625
|
i1$2.ReactiveFormsModule,
|
|
10636
|
-
i1$2.FormsModule,
|
|
10637
10626
|
i3$1.NgbModule,
|
|
10638
10627
|
i1.UrlModule,
|
|
10639
10628
|
i2$1.RouterModule,
|
|
@@ -10670,7 +10659,6 @@
|
|
|
10670
10659
|
imports: [
|
|
10671
10660
|
i5.CommonModule,
|
|
10672
10661
|
i1$2.ReactiveFormsModule,
|
|
10673
|
-
i1$2.FormsModule,
|
|
10674
10662
|
i3$1.NgbModule,
|
|
10675
10663
|
i1.UrlModule,
|
|
10676
10664
|
i2$1.RouterModule,
|