buildingproduct-library 0.2.7
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/newtab.svg +11 -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/pdf-icon.svg +45 -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.7.tgz +0 -0
- package/buildingproduct-library.d.ts +5 -0
- package/bundles/buildingproduct-library.umd.js +10979 -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 +159 -0
- package/esm2015/lib/account-dropdown/account-dropdown.module.js +59 -0
- package/esm2015/lib/account-dropdown/account-dropdown.service.js +55 -0
- package/esm2015/lib/checkout/add-new-address/add-new-address.component.js +442 -0
- package/esm2015/lib/checkout/checkout.module.js +149 -0
- package/esm2015/lib/checkout/custom-checkout/custom-checkout.component.js +348 -0
- package/esm2015/lib/checkout/order-confirmation/order-confirmation.component.js +37 -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 +162 -0
- package/esm2015/lib/checkout/order-review/order-review-list/order-review-list.component.js +151 -0
- package/esm2015/lib/checkout/order-review/order-review.component.js +123 -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 +70 -0
- package/esm2015/lib/custom-cart/custom-cart.module.js +91 -0
- package/esm2015/lib/custom-header-logo/custom-header-logo.component.js +27 -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 +239 -0
- package/esm2015/lib/custom-mini-cart/custom-mini-cart.module.js +64 -0
- package/esm2015/lib/custom-navigation/custom-navigation.component.js +122 -0
- package/esm2015/lib/custom-navigation/custom-navigation.module.js +79 -0
- package/esm2015/lib/custom-order-details/custom-order-details.component.js +205 -0
- package/esm2015/lib/custom-order-details/custom-order-details.module.js +99 -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 +191 -0
- package/esm2015/lib/custom-order-details/order-detail-list/order-detail-list.component.js +169 -0
- package/esm2015/lib/custom-order-history/custom-order-history.component.js +680 -0
- package/esm2015/lib/custom-order-history/custom-order-history.module.js +105 -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 +108 -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 +91 -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 +51 -0
- package/esm2015/lib/custom-saved-cart/custom-saved-cart.component.js +114 -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 +48 -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 +197 -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 +133 -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 +379 -0
- package/esm2015/lib/my-account/my-account.component.js +95 -0
- package/esm2015/lib/my-account/my-account.module.js +99 -0
- package/esm2015/lib/my-team/my-team.component.js +445 -0
- package/esm2015/lib/my-team/my-team.module.js +100 -0
- package/esm2015/lib/my-team/team-member.service.js +95 -0
- package/esm2015/lib/pipes/custom-date-pipe.pipe.js +26 -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 +69 -0
- package/esm2015/lib/services/endPointURL.js +192 -0
- package/esm2015/lib/services/find-store.service.js +50 -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 +207 -0
- package/esm2015/lib/shared/CustomProduct.js +48 -0
- package/esm2015/lib/shared/active-saved-cart/active-saved-cart.component.js +116 -0
- package/esm2015/lib/shared/custom-breadcrum/custom-breadcrum.component.js +102 -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 +477 -0
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-list/custom-cart-list.component.js +431 -0
- package/esm2015/lib/shared/custom-cart-detail/custom-product-quantity-form/custom-product-quantity-form.component.js +622 -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 +173 -0
- package/esm2015/lib/shared/regEx.validator.js +17 -0
- package/esm2015/lib/shared/saved-cart-popup/saved-cart-popup.component.js +83 -0
- package/esm2015/lib/shared/shared-components.module.js +119 -0
- package/esm2015/lib/shared/shared-download-order/shared-download-order.component.js +220 -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 +10197 -0
- package/fesm2015/buildingproduct-library.js.map +1 -0
- package/lib/account-dropdown/account-dropdown.component.d.ts +24 -0
- package/lib/account-dropdown/account-dropdown.module.d.ts +11 -0
- package/lib/account-dropdown/account-dropdown.service.d.ts +14 -0
- package/lib/checkout/add-new-address/add-new-address.component.d.ts +30 -0
- package/lib/checkout/checkout.module.d.ts +28 -0
- package/lib/checkout/custom-checkout/custom-checkout.component.d.ts +77 -0
- package/lib/checkout/order-confirmation/order-confirmation.component.d.ts +23 -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 +33 -0
- package/lib/checkout/order-review/order-review-list/order-review-list.component.d.ts +31 -0
- package/lib/checkout/order-review/order-review.component.d.ts +41 -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 +22 -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 +62 -0
- package/lib/custom-mini-cart/custom-mini-cart.module.d.ts +13 -0
- package/lib/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 +63 -0
- package/lib/custom-order-details/custom-order-details.module.d.ts +19 -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 +40 -0
- package/lib/custom-order-details/order-detail-list/order-detail-list.component.d.ts +35 -0
- package/lib/custom-order-history/custom-order-history.component.d.ts +99 -0
- package/lib/custom-order-history/custom-order-history.module.d.ts +19 -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 +33 -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 +65 -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 +19 -0
- package/lib/custom-saved-cart/custom-saved-cart.component.d.ts +59 -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 +12 -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 +29 -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 +66 -0
- package/lib/my-account/my-account.component.d.ts +26 -0
- package/lib/my-account/my-account.module.d.ts +20 -0
- package/lib/my-team/my-team.component.d.ts +103 -0
- package/lib/my-team/my-team.module.d.ts +18 -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/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 +156 -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 +40 -0
- package/lib/shared/CustomProduct.d.ts +28 -0
- package/lib/shared/active-saved-cart/active-saved-cart.component.d.ts +58 -0
- package/lib/shared/custom-breadcrum/custom-breadcrum.component.d.ts +30 -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 +81 -0
- package/lib/shared/custom-cart-detail/custom-cart-list/custom-cart-list.component.d.ts +72 -0
- package/lib/shared/custom-cart-detail/custom-product-quantity-form/custom-product-quantity-form.component.d.ts +100 -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 +39 -0
- package/lib/shared/regEx.validator.d.ts +10 -0
- package/lib/shared/saved-cart-popup/saved-cart-popup.component.d.ts +37 -0
- package/lib/shared/shared-components.module.d.ts +26 -0
- package/lib/shared/shared-download-order/shared-download-order.component.d.ts +40 -0
- package/lib/spa-custom-header.component.d.ts +11 -0
- package/lib/spa-custom-header.module.d.ts +27 -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 +92 -0
- package/public-api.d.ts +31 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { FindStoreService } from '../services/find-store.service';
|
|
4
|
+
import { UserAccountDetailServiceService } from '../services/user-account-detail-service.service';
|
|
5
|
+
import { AccountDropdownService } from './account-dropdown.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AccountDropdownComponent implements OnInit {
|
|
8
|
+
service: AccountDropdownService;
|
|
9
|
+
private fiUserAccountDetailsService;
|
|
10
|
+
private findStoreService;
|
|
11
|
+
accounts: any;
|
|
12
|
+
selectedUser: any;
|
|
13
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
14
|
+
selecteduserData: any;
|
|
15
|
+
isAccountChanged: boolean;
|
|
16
|
+
showToast: boolean;
|
|
17
|
+
constructor(service: AccountDropdownService, fiUserAccountDetailsService: UserAccountDetailServiceService, findStoreService: FindStoreService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
getAccountsData(): void;
|
|
20
|
+
getAccountName(data: any): void;
|
|
21
|
+
closeToast(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountDropdownComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountDropdownComponent, "app-account-dropdown", never, {}, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./account-dropdown.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@spartacus/core";
|
|
5
|
+
import * as i4 from "../find-store/find-store.module";
|
|
6
|
+
import * as i5 from "@ng-bootstrap/ng-bootstrap";
|
|
7
|
+
export declare class AccountDropdownModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountDropdownModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccountDropdownModule, [typeof i1.AccountDropdownComponent], [typeof i2.CommonModule, typeof i3.UrlModule, typeof i4.FindStoreModule, typeof i5.NgbToastModule, typeof i3.ConfigModule], [typeof i1.AccountDropdownComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AccountDropdownModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AccountDropdownService {
|
|
5
|
+
service: HttpClient;
|
|
6
|
+
constructor(service: HttpClient);
|
|
7
|
+
getIsLoggedIn(): any;
|
|
8
|
+
getAccountDatawithCartId(cartid: any): Observable<any>;
|
|
9
|
+
getAccountData(): Observable<any>;
|
|
10
|
+
updateSelectedAccountWithCart(cartId: any): Observable<any>;
|
|
11
|
+
updateSelectedUser(data: any): Observable<any>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountDropdownService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AccountDropdownService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { CustomCheckoutService } from '../../services/checkout.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AddNewAddressComponent implements OnInit {
|
|
6
|
+
checkoutService: CustomCheckoutService;
|
|
7
|
+
private mapViewEl;
|
|
8
|
+
markerUrl: any;
|
|
9
|
+
view: any;
|
|
10
|
+
confirmedAddress: any;
|
|
11
|
+
location: any;
|
|
12
|
+
isConfirmDisabled: BehaviorSubject<boolean>;
|
|
13
|
+
showAddress: BehaviorSubject<boolean>;
|
|
14
|
+
env: any;
|
|
15
|
+
environment: any;
|
|
16
|
+
apigee_url: any;
|
|
17
|
+
client_id: any;
|
|
18
|
+
client_secret: any;
|
|
19
|
+
currentPosition: any;
|
|
20
|
+
token_url: string;
|
|
21
|
+
updateNewAddress: EventEmitter<any>;
|
|
22
|
+
errorInd$: BehaviorSubject<boolean>;
|
|
23
|
+
constructor(checkoutService: CustomCheckoutService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
loadMap(token: any): Promise<any>;
|
|
26
|
+
onConfirmedClick(): void;
|
|
27
|
+
populateData(results: any, location: any): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddNewAddressComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddNewAddressComponent, "app-add-new-address", never, { "confirmedAddress": "confirmedAddress"; }, { "updateNewAddress": "updateNewAddress"; }, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./order-confirmation/order-confirmation.component";
|
|
4
|
+
import * as i2 from "./order-review/order-review.component";
|
|
5
|
+
import * as i3 from "./order-review/delivery-information/delivery-information.component";
|
|
6
|
+
import * as i4 from "./order-review/order-review-list/order-review-list.component";
|
|
7
|
+
import * as i5 from "./order-review/order-review-grid/order-review-grid.component";
|
|
8
|
+
import * as i6 from "./custom-checkout/custom-checkout.component";
|
|
9
|
+
import * as i7 from "./add-new-address/add-new-address.component";
|
|
10
|
+
import * as i8 from "@angular/common";
|
|
11
|
+
import * as i9 from "@angular/platform-browser/animations";
|
|
12
|
+
import * as i10 from "ngx-masonry";
|
|
13
|
+
import * as i11 from "@angular/material/card";
|
|
14
|
+
import * as i12 from "@angular/material/list";
|
|
15
|
+
import * as i13 from "@spartacus/storefront";
|
|
16
|
+
import * as i14 from "@angular/forms";
|
|
17
|
+
import * as i15 from "@ng-bootstrap/ng-bootstrap";
|
|
18
|
+
import * as i16 from "@angular/material/radio";
|
|
19
|
+
import * as i17 from "../shared/shared-components.module";
|
|
20
|
+
import * as i18 from "@syncfusion/ej2-angular-calendars";
|
|
21
|
+
import * as i19 from "@spartacus/core";
|
|
22
|
+
export declare class CheckoutModule {
|
|
23
|
+
constructor(parentModule?: CheckoutModule);
|
|
24
|
+
static forRoot(environment: any): ModuleWithProviders<CheckoutModule>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutModule, [{ optional: true; skipSelf: true; }]>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckoutModule, [typeof i1.OrderConfirmationComponent, typeof i2.OrderReviewComponent, typeof i3.DeliveryInformationComponent, typeof i4.OrderReviewListComponent, typeof i5.OrderReviewGridComponent, typeof i6.CustomCheckoutComponent, typeof i7.AddNewAddressComponent], [typeof i8.CommonModule, typeof i9.BrowserAnimationsModule, typeof i10.NgxMasonryModule, typeof i11.MatCardModule, typeof i12.MatListModule, typeof i13.MediaModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.NgbDatepickerModule, typeof i16.MatRadioModule, typeof i17.SharedComponentsModule, typeof i17.SharedComponentsModule, typeof i18.TimePickerModule, typeof i15.NgbModule, typeof i19.ConfigModule], never>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CheckoutModule>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbCalendar, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { ActiveCartService } from '@spartacus/core';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { CustomCheckoutService } from '../../services/checkout.service';
|
|
6
|
+
import { CmsService } from '@spartacus/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CustomCheckoutComponent implements OnInit {
|
|
9
|
+
checkoutService: CustomCheckoutService;
|
|
10
|
+
private cmsService;
|
|
11
|
+
cd: ChangeDetectorRef;
|
|
12
|
+
calendar: NgbCalendar;
|
|
13
|
+
activeCartService: ActiveCartService;
|
|
14
|
+
errorInd$: BehaviorSubject<boolean>;
|
|
15
|
+
infoMessage: string;
|
|
16
|
+
previousUrl: string;
|
|
17
|
+
cartId: string;
|
|
18
|
+
isDeliveryBox: boolean;
|
|
19
|
+
ACTIVE_ITEM: string;
|
|
20
|
+
ngbMinDate: any;
|
|
21
|
+
selectedAddress: string;
|
|
22
|
+
maxTime: any;
|
|
23
|
+
fromMaxTime: any;
|
|
24
|
+
ccminTime: Date;
|
|
25
|
+
ccmaxTime: Date;
|
|
26
|
+
minTime: any;
|
|
27
|
+
minToTime: any;
|
|
28
|
+
checkoutFormData: any;
|
|
29
|
+
isSubmitted: boolean;
|
|
30
|
+
startTime: any;
|
|
31
|
+
recentAddress: any;
|
|
32
|
+
deliverTime: any;
|
|
33
|
+
defaultAccountAddress: any;
|
|
34
|
+
branchAddress: any;
|
|
35
|
+
checkoutForm: any;
|
|
36
|
+
selectedRecentAddress: any;
|
|
37
|
+
tempBranchListData: any;
|
|
38
|
+
deliveryDisableDates: any;
|
|
39
|
+
collectTime: any;
|
|
40
|
+
minLeadTime: number;
|
|
41
|
+
responseData: any;
|
|
42
|
+
checkoutToTime: any;
|
|
43
|
+
collectTimeObj: any;
|
|
44
|
+
private mapViewEl;
|
|
45
|
+
specialDayOpeningList: any;
|
|
46
|
+
weekDayOpeningList: any;
|
|
47
|
+
deliveryAddresses: any;
|
|
48
|
+
showMoreAddresses: boolean;
|
|
49
|
+
siteDeliveryRequirements: any;
|
|
50
|
+
clickandCollectComments: any;
|
|
51
|
+
checkoutHeaderContent: any;
|
|
52
|
+
breadcrumbData: any;
|
|
53
|
+
deliveryModes: any;
|
|
54
|
+
view: any;
|
|
55
|
+
pageTitle: any;
|
|
56
|
+
newAddress: any;
|
|
57
|
+
confirmedNewAddress: string;
|
|
58
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
59
|
+
constructor(checkoutService: CustomCheckoutService, cmsService: CmsService, cd: ChangeDetectorRef, calendar: NgbCalendar, activeCartService: ActiveCartService);
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
getDetailResponse(): void;
|
|
62
|
+
updateMinMaxTime(date: Date): void;
|
|
63
|
+
updateRequestedTime(): void;
|
|
64
|
+
isDisabled: (date: NgbDateStruct) => boolean;
|
|
65
|
+
getSpecialDays(date: NgbDateStruct): any;
|
|
66
|
+
getRoundMinTime(minTime: any): Date;
|
|
67
|
+
timeClick(event: Event, timeObj: any): void;
|
|
68
|
+
timeToClick(event: Event, timeObj: any): void;
|
|
69
|
+
updateStaticTime(hours: number, minutes: number): void;
|
|
70
|
+
getNewAddress(event: any): void;
|
|
71
|
+
reviewOrder(): void;
|
|
72
|
+
onFromTimeChanged(obj: any): void;
|
|
73
|
+
datechange(event: any): void;
|
|
74
|
+
addNewAddress(): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCheckoutComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomCheckoutComponent, "app-custom-checkout", never, {}, {}, never, never>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CmsService } from '@spartacus/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { CartService } from '../../services/cart.service';
|
|
5
|
+
import { OrderFacade } from '@spartacus/order/root';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class OrderConfirmationComponent implements OnInit {
|
|
8
|
+
private cmsService;
|
|
9
|
+
private cartService;
|
|
10
|
+
protected orderFacade: OrderFacade;
|
|
11
|
+
pageTitle: any;
|
|
12
|
+
orderConfirmationContent: any;
|
|
13
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
14
|
+
cartId: any;
|
|
15
|
+
cartDetails: any;
|
|
16
|
+
orderDetails: any;
|
|
17
|
+
totalPrice: any;
|
|
18
|
+
orderId: any;
|
|
19
|
+
constructor(cmsService: CmsService, cartService: CartService, orderFacade: OrderFacade);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderConfirmationComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderConfirmationComponent, "app-order-confirmation", never, {}, {}, never, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { OrderReviewService } from '../../../services/order.review';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DeliveryInformationComponent implements OnInit {
|
|
6
|
+
private orderReviewService;
|
|
7
|
+
orderReviewData: any;
|
|
8
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
9
|
+
constructor(orderReviewService: OrderReviewService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryInformationComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryInformationComponent, "app-delivery-information", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { NgxMasonryComponent } from "ngx-masonry";
|
|
3
|
+
import { BehaviorSubject } from "rxjs";
|
|
4
|
+
import { CartService } from '../../../services/cart.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OrderReviewGridComponent implements OnInit {
|
|
7
|
+
private cartService;
|
|
8
|
+
private cdr;
|
|
9
|
+
showDetails: any;
|
|
10
|
+
arrowUpDown: any;
|
|
11
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
12
|
+
cartDetails: any;
|
|
13
|
+
updateCartEntry: EventEmitter<any>;
|
|
14
|
+
isCardData: any;
|
|
15
|
+
environment: any;
|
|
16
|
+
env: any;
|
|
17
|
+
imageModalSrc: any;
|
|
18
|
+
masonry: NgxMasonryComponent;
|
|
19
|
+
constructor(cartService: CartService, cdr: ChangeDetectorRef);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
showHide(ind: number): void;
|
|
22
|
+
arrowHideShow(id: number): void;
|
|
23
|
+
isNullOrEmpty(value: any): boolean;
|
|
24
|
+
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
25
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
26
|
+
viewImage(event: any, cartDetails: any): void;
|
|
27
|
+
getPdfLink(cartDetails: any): void;
|
|
28
|
+
hasImage(cartDetails: any): boolean;
|
|
29
|
+
hasColour(cartDetails: any): boolean;
|
|
30
|
+
getClassifications(data: any): any;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderReviewGridComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderReviewGridComponent, "app-order-review-grid", never, { "cartDetails": "cartDetails"; "isCardData": "isCardData"; }, { "updateCartEntry": "updateCartEntry"; }, never, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { CartService } from '../../../services/cart.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OrderReviewListComponent implements OnInit {
|
|
6
|
+
private cartService;
|
|
7
|
+
private cdr;
|
|
8
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
9
|
+
showDetails: any;
|
|
10
|
+
hasBundle: boolean;
|
|
11
|
+
cartDetails: any;
|
|
12
|
+
updateCartEntry: EventEmitter<any>;
|
|
13
|
+
isCardData: any;
|
|
14
|
+
environment: any;
|
|
15
|
+
env: any;
|
|
16
|
+
imageModalSrc: any;
|
|
17
|
+
isProductInfoAvilable: boolean;
|
|
18
|
+
constructor(cartService: CartService, cdr: ChangeDetectorRef);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
showHide(ind: number): void;
|
|
21
|
+
isNullOrEmpty(value: any): boolean;
|
|
22
|
+
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
23
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
24
|
+
viewImage(event: any, cartDetails: any): void;
|
|
25
|
+
getPdfLink(cartDetails: any): void;
|
|
26
|
+
hasImage(cartDetails: any): boolean;
|
|
27
|
+
hasColour(cartDetails: any): boolean;
|
|
28
|
+
getClassifications(data: any): any;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderReviewListComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderReviewListComponent, "app-order-review-list", never, { "cartDetails": "cartDetails"; "isCardData": "isCardData"; }, { "updateCartEntry": "updateCartEntry"; }, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { CmsService } from '@spartacus/core';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { CartService } from '../../services/cart.service';
|
|
6
|
+
import { OrderReviewService } from '../../services/order.review';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class OrderReviewComponent implements OnInit {
|
|
9
|
+
private cmsService;
|
|
10
|
+
private cartService;
|
|
11
|
+
private router;
|
|
12
|
+
private orderReviewService;
|
|
13
|
+
pageTitle: any;
|
|
14
|
+
cartId: any;
|
|
15
|
+
orderReviewParagraph: any;
|
|
16
|
+
orderErrorParagraph: any;
|
|
17
|
+
openPopupModal: boolean;
|
|
18
|
+
cartDetails: any;
|
|
19
|
+
isDesktop: boolean;
|
|
20
|
+
isMobile: boolean;
|
|
21
|
+
isTablet: boolean;
|
|
22
|
+
listview: boolean;
|
|
23
|
+
isExpandAll: boolean;
|
|
24
|
+
totalPrice: any;
|
|
25
|
+
breadcrumbData: any;
|
|
26
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
27
|
+
orderReviewPage: boolean;
|
|
28
|
+
errorModalBtn: any;
|
|
29
|
+
constructor(cmsService: CmsService, cartService: CartService, router: Router, orderReviewService: OrderReviewService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
getCartLists(): void;
|
|
32
|
+
gridView(): void;
|
|
33
|
+
listView(): void;
|
|
34
|
+
expandAll(): void;
|
|
35
|
+
contractAll(): void;
|
|
36
|
+
orderPlace(): void;
|
|
37
|
+
onResize(event: any): void;
|
|
38
|
+
onPageRefresh(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderReviewComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderReviewComponent, "app-order-review", never, {}, {}, never, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const generalConstants: {};
|
|
2
|
+
export declare const headerLabels: {
|
|
3
|
+
selectJobAccText: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class newsAndUpdates {
|
|
6
|
+
readMore: string;
|
|
7
|
+
newAndUpdates: string;
|
|
8
|
+
moreViewsAndUpdates: string;
|
|
9
|
+
moreViews: string;
|
|
10
|
+
updates: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class storeLocations {
|
|
13
|
+
homeBranch: string;
|
|
14
|
+
allTab: string;
|
|
15
|
+
northIslandTab: string;
|
|
16
|
+
southIslandTab: string;
|
|
17
|
+
getDirectionBtn: string;
|
|
18
|
+
selectBtn: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const createAccountLabelConstants: {
|
|
21
|
+
emailLabel: string;
|
|
22
|
+
nameLabel: string;
|
|
23
|
+
mobileNoLabel: string;
|
|
24
|
+
dimondAccountLabel: string;
|
|
25
|
+
accountNumberLabel: string;
|
|
26
|
+
companyNameLabel: string;
|
|
27
|
+
additionalCommentsLabel: string;
|
|
28
|
+
companyAddressLabel: string;
|
|
29
|
+
suburbLabel: string;
|
|
30
|
+
cityLabel: string;
|
|
31
|
+
postcodeLabel: string;
|
|
32
|
+
companyInfoLabel: string;
|
|
33
|
+
submitBtnLabel: string;
|
|
34
|
+
};
|
|
35
|
+
export declare const createAccountFormConstants: {
|
|
36
|
+
requiredField: string;
|
|
37
|
+
emailIsRequired: string;
|
|
38
|
+
firstNameRequired: string;
|
|
39
|
+
phoneNumberNumeric: string;
|
|
40
|
+
emailValidationMessage: string;
|
|
41
|
+
dimondAccountValidationMessage: string;
|
|
42
|
+
accountNumberValidationMessage: string;
|
|
43
|
+
companyNameValidationMessage: string;
|
|
44
|
+
companyAddressValidationMessage: string;
|
|
45
|
+
cityValidationMessage: string;
|
|
46
|
+
suburbValidationMessage: string;
|
|
47
|
+
postalCodeValidationMessage: string;
|
|
48
|
+
companyNameRequired: string;
|
|
49
|
+
accountNumberRequired: string;
|
|
50
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FindStoreService } from '../services/find-store.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContactUsComponent implements OnInit {
|
|
5
|
+
private findStoreService;
|
|
6
|
+
cd: ChangeDetectorRef;
|
|
7
|
+
branchPhoneno?: number;
|
|
8
|
+
homeBranchData: any;
|
|
9
|
+
constructor(findStoreService: FindStoreService, cd: ChangeDetectorRef);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "app-contact-us", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./contact-us.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@spartacus/core";
|
|
5
|
+
export declare class ContactUsModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ContactUsModule, [typeof i1.ContactUsComponent], [typeof i2.CommonModule, typeof i3.ConfigModule], [typeof i1.ContactUsComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ContactUsModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CmsService } from '@spartacus/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AddtoSavedCartsComponent implements OnInit {
|
|
6
|
+
private cmsService;
|
|
7
|
+
pageTitle: any;
|
|
8
|
+
cartParagraph: any;
|
|
9
|
+
savedCart: any;
|
|
10
|
+
saveCartUrl: any;
|
|
11
|
+
saveCartForLater: any;
|
|
12
|
+
breadcrumbData: any;
|
|
13
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
14
|
+
constructor(cmsService: CmsService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddtoSavedCartsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddtoSavedCartsComponent, "app-addto-saved-carts", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ActiveCartService, Cart, MultiCartService } from '@spartacus/core';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { CartService } from '../services/cart.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CustomCartComponent implements OnInit, OnChanges {
|
|
7
|
+
private cartService;
|
|
8
|
+
private activeCartService;
|
|
9
|
+
protected multiCartService: MultiCartService;
|
|
10
|
+
private cdr;
|
|
11
|
+
cartId: any;
|
|
12
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
13
|
+
cart$: Observable<Cart>;
|
|
14
|
+
totalPriceFormat: any;
|
|
15
|
+
constructor(cartService: CartService, activeCartService: ActiveCartService, multiCartService: MultiCartService, cdr: ChangeDetectorRef);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
isNullOrEmpty(value: any): boolean;
|
|
19
|
+
clearCart(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCartComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomCartComponent, "app-custom-cart", never, { "totalPriceFormat": "totalPriceFormat"; }, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./custom-cart.component";
|
|
4
|
+
import * as i2 from "./addto-saved-carts/addto-saved-carts.component";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "../shared/shared-components.module";
|
|
7
|
+
import * as i5 from "ngx-infinite-scroll";
|
|
8
|
+
import * as i6 from "@angular/router";
|
|
9
|
+
export declare class CustomCartModule {
|
|
10
|
+
constructor(parentModule?: CustomCartModule);
|
|
11
|
+
static forRoot(environment: any): ModuleWithProviders<CustomCartModule>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCartModule, [{ optional: true; skipSelf: true; }]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomCartModule, [typeof i1.CustomCartComponent, typeof i2.AddtoSavedCartsComponent], [typeof i3.CommonModule, typeof i4.SharedComponentsModule, typeof i5.InfiniteScrollModule, typeof i6.RouterModule], never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomCartModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CmsService } from '@spartacus/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomHeaderLogoComponent implements OnInit {
|
|
5
|
+
private cmsService;
|
|
6
|
+
logoData: any;
|
|
7
|
+
constructor(cmsService: CmsService);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomHeaderLogoComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomHeaderLogoComponent, "app-custom-header-logo", never, {}, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-header-logo.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@spartacus/storefront";
|
|
5
|
+
import * as i4 from "@spartacus/core";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
|
+
export declare class CustomHeaderLogoModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomHeaderLogoModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomHeaderLogoModule, [typeof i1.CustomHeaderLogoComponent], [typeof i2.CommonModule, typeof i3.MediaModule, typeof i3.IconModule, typeof i4.UrlModule, typeof i5.RouterModule, typeof i4.ConfigModule], [typeof i1.CustomHeaderLogoComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomHeaderLogoModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CmsService } from '@spartacus/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomHeaderParagraphComponent implements OnInit {
|
|
5
|
+
private cmsService;
|
|
6
|
+
paragraphData: any;
|
|
7
|
+
constructor(cmsService: CmsService);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomHeaderParagraphComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomHeaderParagraphComponent, "lib-custom-header-paragraph", never, {}, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-header-paragraph.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@spartacus/core";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
export declare class CustomHeaderParagraphModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomHeaderParagraphModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomHeaderParagraphModule, [typeof i1.CustomHeaderParagraphComponent], [typeof i2.CommonModule, typeof i3.UrlModule, typeof i4.RouterModule, typeof i3.ConfigModule], [typeof i1.CustomHeaderParagraphComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomHeaderParagraphModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { ActiveCartService, Cart, CmsService, OrderEntry } from '@spartacus/core';
|
|
5
|
+
import { MiniCartComponent } from '@spartacus/storefront';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
+
import { CartService } from '../services/cart.service';
|
|
8
|
+
import { UserAccountDetailServiceService } from '../services/user-account-detail-service.service';
|
|
9
|
+
import { AccountDropdownStateService } from '../services/account-dropdown-state.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class CustomMiniCartComponent extends MiniCartComponent implements OnInit, OnChanges {
|
|
12
|
+
private _eref;
|
|
13
|
+
protected activeCartService: ActiveCartService;
|
|
14
|
+
private router;
|
|
15
|
+
private modalService;
|
|
16
|
+
private cartService;
|
|
17
|
+
cmsService: CmsService;
|
|
18
|
+
private accountDropDownStateService;
|
|
19
|
+
private userProfileDetailsService;
|
|
20
|
+
ref: ChangeDetectorRef;
|
|
21
|
+
entries$: Observable<OrderEntry[]>;
|
|
22
|
+
cart$: Observable<Cart>;
|
|
23
|
+
isMobile: boolean;
|
|
24
|
+
isTablet: boolean;
|
|
25
|
+
isDesktop: boolean;
|
|
26
|
+
isShowMenu: boolean;
|
|
27
|
+
totalPriceFormat: any;
|
|
28
|
+
modalRef: any;
|
|
29
|
+
searchPlaceHolder: string;
|
|
30
|
+
items: any;
|
|
31
|
+
showSearch: boolean;
|
|
32
|
+
totalCartItems: any;
|
|
33
|
+
cartDetails: any;
|
|
34
|
+
isCardData: any;
|
|
35
|
+
imageModalSrc: any;
|
|
36
|
+
emptyCardData: any;
|
|
37
|
+
isCartPermission: boolean;
|
|
38
|
+
cartId: any;
|
|
39
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
40
|
+
env: any;
|
|
41
|
+
environment: any;
|
|
42
|
+
constructor(_eref: ElementRef, activeCartService: ActiveCartService, router: Router, modalService: NgbModal, cartService: CartService, cmsService: CmsService, accountDropDownStateService: AccountDropdownStateService, userProfileDetailsService: UserAccountDetailServiceService, ref: ChangeDetectorRef);
|
|
43
|
+
ngOnInit(): Promise<void>;
|
|
44
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
+
getCartLists(): void;
|
|
46
|
+
negativeConverter(value: string): string;
|
|
47
|
+
toggleMenu(): void;
|
|
48
|
+
mobileToggleMenu(content: any): void;
|
|
49
|
+
openSearch(content: any): void;
|
|
50
|
+
onClickOutside(event: any): void;
|
|
51
|
+
mouseoutFunction(): void;
|
|
52
|
+
openCart(): void;
|
|
53
|
+
onResize(event: any): void;
|
|
54
|
+
onPageRefresh(): void;
|
|
55
|
+
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
56
|
+
viewImage(event: any, cartDetails: any): void;
|
|
57
|
+
getPdfLink(cartDetails: any): void;
|
|
58
|
+
hasImage(cartDetails: any): boolean;
|
|
59
|
+
getClassifications(data: any): any;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMiniCartComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMiniCartComponent, "app-custom-mini-cart", never, {}, {}, never, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-mini-cart.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@spartacus/storefront";
|
|
5
|
+
import * as i4 from "@spartacus/core";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
|
+
import * as i6 from "../custom-user-account/custom-user-account.module";
|
|
8
|
+
import * as i7 from "../custom-search/custom-search.module";
|
|
9
|
+
export declare class CustomMiniCartModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMiniCartModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomMiniCartModule, [typeof i1.CustomMiniCartComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i3.MediaModule, typeof i4.UrlModule, typeof i5.RouterModule, typeof i6.CustomUserAccountModule, typeof i7.CustomSearchModule, typeof i4.ConfigModule], [typeof i1.CustomMiniCartComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomMiniCartModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { CmsNavigationComponent, CmsService } from '@spartacus/core';
|
|
4
|
+
import { CategoryNavigationComponent, CmsComponentData, NavigationService } from '@spartacus/storefront';
|
|
5
|
+
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
6
|
+
import { AccountDropdownStateService } from '../services/account-dropdown-state.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CustomNavigationComponent extends CategoryNavigationComponent implements OnInit {
|
|
9
|
+
private cmsService;
|
|
10
|
+
private modalService;
|
|
11
|
+
cd: ChangeDetectorRef;
|
|
12
|
+
accDropService: AccountDropdownStateService;
|
|
13
|
+
customMenuItems: any;
|
|
14
|
+
serviceSubscribe: Subscription;
|
|
15
|
+
isMobile: boolean;
|
|
16
|
+
isTablet: boolean;
|
|
17
|
+
isDesktop: boolean;
|
|
18
|
+
AllProducts: any;
|
|
19
|
+
subCategory: any;
|
|
20
|
+
MyAccount: any;
|
|
21
|
+
quickOrder: any;
|
|
22
|
+
display: string;
|
|
23
|
+
modalRef: any;
|
|
24
|
+
homeIconData: any;
|
|
25
|
+
searchIconData: boolean;
|
|
26
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
27
|
+
constructor(cmsService: CmsService, modalService: NgbModal, componentData: CmsComponentData<CmsNavigationComponent>, cd: ChangeDetectorRef, accDropService: AccountDropdownStateService, service: NavigationService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
navMenuList(): void;
|
|
30
|
+
routeURL(url: any): void;
|
|
31
|
+
landingPageRouting(): void;
|
|
32
|
+
getChild(children: any): void;
|
|
33
|
+
onResize(event: any): void;
|
|
34
|
+
onPageRefresh(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomNavigationComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomNavigationComponent, "app-custom-navigation", never, {}, {}, never, never>;
|
|
37
|
+
}
|