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,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-navigation.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/platform-browser";
|
|
5
|
+
import * as i4 from "../custom-header-logo/custom-header-logo.module";
|
|
6
|
+
import * as i5 from "../custom-mini-cart/custom-mini-cart.module";
|
|
7
|
+
import * as i6 from "@angular/material/dialog";
|
|
8
|
+
import * as i7 from "../shared/shared-components.module";
|
|
9
|
+
import * as i8 from "../find-store/find-store.module";
|
|
10
|
+
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
11
|
+
import * as i10 from "@spartacus/storefront";
|
|
12
|
+
import * as i11 from "@angular/router";
|
|
13
|
+
import * as i12 from "../account-dropdown/account-dropdown.module";
|
|
14
|
+
import * as i13 from "../custom-user-account/custom-user-account.module";
|
|
15
|
+
import * as i14 from "@spartacus/core";
|
|
16
|
+
import * as i15 from "../custom-search/custom-search.module";
|
|
17
|
+
export declare class LibNavigationModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibNavigationModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LibNavigationModule, [typeof i1.CustomNavigationComponent], [typeof i2.CommonModule, typeof i3.BrowserModule, typeof i4.CustomHeaderLogoModule, typeof i5.CustomMiniCartModule, typeof i6.MatDialogModule, typeof i7.SharedComponentsModule, typeof i8.FindStoreModule, typeof i9.NgbModule, typeof i10.MediaModule, typeof i11.RouterModule, typeof i12.AccountDropdownModule, typeof i13.CustomUserAccountModule, typeof i14.ConfigModule, typeof i15.CustomSearchModule], [typeof i1.CustomNavigationComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LibNavigationModule>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { CmsService } from '@spartacus/core';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { CartService } from '../services/cart.service';
|
|
6
|
+
import { MyAccountService } from '../services/my-account.service';
|
|
7
|
+
import { OrderHistoryService } from '../services/order-history.service';
|
|
8
|
+
import { UserAccountDetailServiceService } from '../services/user-account-detail-service.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class CustomOrderDetailsComponent implements OnInit, OnChanges {
|
|
11
|
+
cmsService: CmsService;
|
|
12
|
+
router: Router;
|
|
13
|
+
private route;
|
|
14
|
+
private orderHistoryService;
|
|
15
|
+
private userProfileDetailsService;
|
|
16
|
+
private cartService;
|
|
17
|
+
cd: ChangeDetectorRef;
|
|
18
|
+
private documentsData;
|
|
19
|
+
orderDetails: any;
|
|
20
|
+
isDesktop: boolean;
|
|
21
|
+
isMobile: boolean;
|
|
22
|
+
isTablet: boolean;
|
|
23
|
+
listview: boolean;
|
|
24
|
+
isExpandAll: boolean;
|
|
25
|
+
totalPrice: any;
|
|
26
|
+
dataAvailale: any;
|
|
27
|
+
showOrder: boolean;
|
|
28
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
29
|
+
orderId: any;
|
|
30
|
+
orderStatuses: any;
|
|
31
|
+
sortData: any;
|
|
32
|
+
statusCode?: string;
|
|
33
|
+
filterVal: any;
|
|
34
|
+
totalRecord: any;
|
|
35
|
+
showPopUp: boolean;
|
|
36
|
+
search: any;
|
|
37
|
+
invoicePdfData: any;
|
|
38
|
+
invoiceData: any;
|
|
39
|
+
downloadData: any;
|
|
40
|
+
orderPDFdetails: any;
|
|
41
|
+
breadcrumbData: any;
|
|
42
|
+
orderDetailsPage: boolean;
|
|
43
|
+
isOrderPermissions: boolean;
|
|
44
|
+
constructor(cmsService: CmsService, router: Router, route: ActivatedRoute, orderHistoryService: OrderHistoryService, userProfileDetailsService: UserAccountDetailServiceService, cartService: CartService, cd: ChangeDetectorRef, documentsData: MyAccountService);
|
|
45
|
+
sortby: string[];
|
|
46
|
+
ngOnInit(): Promise<void>;
|
|
47
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
orderPdf(): void;
|
|
49
|
+
invoicePdf(): void;
|
|
50
|
+
getOrderList(): void;
|
|
51
|
+
sortBy(val: any): void;
|
|
52
|
+
checkOrderStatus(event: any): void;
|
|
53
|
+
gridView(): void;
|
|
54
|
+
listView(): void;
|
|
55
|
+
expandAll(): void;
|
|
56
|
+
contractAll(): void;
|
|
57
|
+
getOrderStatusData(): void;
|
|
58
|
+
onBackbuttonClick(): void;
|
|
59
|
+
onResize(event: any): void;
|
|
60
|
+
onPageRefresh(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomOrderDetailsComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomOrderDetailsComponent, "app-custom-order-details", never, {}, {}, never, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./custom-order-details.component";
|
|
4
|
+
import * as i2 from "./order-detail-list/order-detail-list.component";
|
|
5
|
+
import * as i3 from "./order-detail-grid/order-detail-grid.component";
|
|
6
|
+
import * as i4 from "./download-popup/download-popup.component";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
8
|
+
import * as i6 from "@angular/platform-browser/animations";
|
|
9
|
+
import * as i7 from "ngx-masonry";
|
|
10
|
+
import * as i8 from "../shared/shared-components.module";
|
|
11
|
+
import * as i9 from "@spartacus/storefront";
|
|
12
|
+
import * as i10 from "@angular/router";
|
|
13
|
+
export declare class CustomOrderDetailsModule {
|
|
14
|
+
constructor(parentModule?: CustomOrderDetailsModule);
|
|
15
|
+
static forRoot(environment: any): ModuleWithProviders<CustomOrderDetailsModule>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomOrderDetailsModule, [{ optional: true; skipSelf: true; }]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomOrderDetailsModule, [typeof i1.CustomOrderDetailsComponent, typeof i2.OrderDetailListComponent, typeof i3.OrderDetailGridComponent, typeof i4.DownloadPopupComponent], [typeof i5.CommonModule, typeof i6.BrowserAnimationsModule, typeof i7.NgxMasonryModule, typeof i8.SharedComponentsModule, typeof i8.SharedComponentsModule, typeof i9.MediaModule, typeof i10.RouterModule], never>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomOrderDetailsModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { SharedDownloadOrderComponent } from '../../shared/shared-download-order/shared-download-order.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DownloadPopupComponent implements OnInit {
|
|
6
|
+
orderDetails: any;
|
|
7
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
8
|
+
isOrderDownload: boolean;
|
|
9
|
+
shareDownload: SharedDownloadOrderComponent | any;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
pdfDownload(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadPopupComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DownloadPopupComponent, "app-download-popup", never, { "orderDetails": "orderDetails"; }, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgxMasonryComponent } from 'ngx-masonry';
|
|
3
|
+
import { BehaviorSubject } from "rxjs";
|
|
4
|
+
import { CartService } from '../../services/cart.service';
|
|
5
|
+
import { UserAccountDetailServiceService } from '../../services/user-account-detail-service.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class OrderDetailGridComponent implements OnInit, OnChanges {
|
|
8
|
+
private cartService;
|
|
9
|
+
private userProfileDetailsService;
|
|
10
|
+
private cdr;
|
|
11
|
+
showDetails: any;
|
|
12
|
+
arrowUpDown: any;
|
|
13
|
+
sortByVal: any;
|
|
14
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
15
|
+
masonry: NgxMasonryComponent;
|
|
16
|
+
cartDetails: any;
|
|
17
|
+
orderDate: any;
|
|
18
|
+
isCardData: any;
|
|
19
|
+
noRecord?: string;
|
|
20
|
+
imageModalSrc: any;
|
|
21
|
+
isOrderPermissions: boolean;
|
|
22
|
+
env: any;
|
|
23
|
+
environment: any;
|
|
24
|
+
constructor(cartService: CartService, userProfileDetailsService: UserAccountDetailServiceService, cdr: ChangeDetectorRef);
|
|
25
|
+
ngOnInit(): Promise<void>;
|
|
26
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
+
showHide(ind: number): void;
|
|
28
|
+
arrowHideShow(id: number): void;
|
|
29
|
+
reloadMasonaryGrid(): void;
|
|
30
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
31
|
+
isNullOrEmpty(value: any): boolean;
|
|
32
|
+
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
33
|
+
viewImage(event: any, cartDetails: any): void;
|
|
34
|
+
getPdfLink(cartDetails: any): void;
|
|
35
|
+
hasImage(cartDetails: any): boolean;
|
|
36
|
+
hasColour(cartDetails: any): boolean;
|
|
37
|
+
getClassifications(data: any): any;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailGridComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailGridComponent, "app-order-detail-grid", never, { "sortByVal": "sortByVal"; "cartDetails": "cartDetails"; "orderDate": "orderDate"; "isCardData": "isCardData"; }, {}, never, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { CartService } from '../../services/cart.service';
|
|
4
|
+
import { UserAccountDetailServiceService } from '../../services/user-account-detail-service.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OrderDetailListComponent implements OnInit, OnChanges {
|
|
7
|
+
private cartService;
|
|
8
|
+
private userProfileDetailsService;
|
|
9
|
+
private cdr;
|
|
10
|
+
showDetails: any;
|
|
11
|
+
cartDetails: any;
|
|
12
|
+
sortByVal: any;
|
|
13
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
14
|
+
orderDate: any;
|
|
15
|
+
isCardData: any;
|
|
16
|
+
noRecord?: string;
|
|
17
|
+
imageModalSrc: any;
|
|
18
|
+
isOrderPermissions: boolean;
|
|
19
|
+
env: any;
|
|
20
|
+
environment: any;
|
|
21
|
+
constructor(cartService: CartService, userProfileDetailsService: UserAccountDetailServiceService, cdr: ChangeDetectorRef);
|
|
22
|
+
ngOnInit(): Promise<void>;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
25
|
+
isNullOrEmpty(value: any): boolean;
|
|
26
|
+
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
27
|
+
showHide(ind: number): void;
|
|
28
|
+
viewImage(event: any, cartDetails: any): void;
|
|
29
|
+
getPdfLink(cartDetails: any): void;
|
|
30
|
+
hasImage(cartDetails: any): boolean;
|
|
31
|
+
hasColour(cartDetails: any): boolean;
|
|
32
|
+
getClassifications(data: any): any;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailListComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailListComponent, "app-order-detail-list", never, { "cartDetails": "cartDetails"; "sortByVal": "sortByVal"; "orderDate": "orderDate"; "isCardData": "isCardData"; }, {}, never, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CmsService } from '@spartacus/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { OrderHistoryService } from '../services/order-history.service';
|
|
5
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
6
|
+
import { NgxMasonryComponent } from 'ngx-masonry';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CustomOrderHistoryComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
9
|
+
cmsService: CmsService;
|
|
10
|
+
private orderHistoryService;
|
|
11
|
+
cd: ChangeDetectorRef;
|
|
12
|
+
pageTitle: any;
|
|
13
|
+
orderHistoryHeading: any;
|
|
14
|
+
noOrderHistoryData: any;
|
|
15
|
+
noSearchResultContent: any;
|
|
16
|
+
listview: boolean;
|
|
17
|
+
noSearchResults: boolean;
|
|
18
|
+
dataAvailale?: string;
|
|
19
|
+
orderHistoryLists: any;
|
|
20
|
+
orderSortLists: any;
|
|
21
|
+
orderStatuses: any;
|
|
22
|
+
orderStates: any;
|
|
23
|
+
deliveryTypes: any;
|
|
24
|
+
isDesktop: boolean;
|
|
25
|
+
isMobile: boolean;
|
|
26
|
+
isTablet: boolean;
|
|
27
|
+
breadcrumbData: any;
|
|
28
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
29
|
+
optionalColumns: {
|
|
30
|
+
name: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}[];
|
|
33
|
+
selectedOrderState: any;
|
|
34
|
+
selectedOrderType: any;
|
|
35
|
+
logText: any;
|
|
36
|
+
searchText: string;
|
|
37
|
+
environment: any;
|
|
38
|
+
env: any;
|
|
39
|
+
storeFrontUrl: any;
|
|
40
|
+
sortByValue: any;
|
|
41
|
+
loaderImage: BehaviorSubject<boolean>;
|
|
42
|
+
currentPage: number;
|
|
43
|
+
totalResults: any;
|
|
44
|
+
selectedDateRange: any;
|
|
45
|
+
selectedDateKey: string;
|
|
46
|
+
selectedFilters: any;
|
|
47
|
+
isClearAll: boolean;
|
|
48
|
+
isInputValue: boolean;
|
|
49
|
+
selectedOption: any;
|
|
50
|
+
orderTooltipContent: any;
|
|
51
|
+
poTooltipContent: any;
|
|
52
|
+
orderDateTooltipContent: any;
|
|
53
|
+
deliveryTypeTooltipContent: any;
|
|
54
|
+
deliveryDateTooltipContent: any;
|
|
55
|
+
deliveryAddressTooltipContent: any;
|
|
56
|
+
totalPriceTooltipContent: any;
|
|
57
|
+
statusTooltipContent: any;
|
|
58
|
+
selectedOrderNumber: string;
|
|
59
|
+
sesstionStorageCalled: boolean;
|
|
60
|
+
selectedDateFilterValue: any;
|
|
61
|
+
items: any;
|
|
62
|
+
isFirstCall: boolean;
|
|
63
|
+
menuTopLeftPosition: {
|
|
64
|
+
x: number;
|
|
65
|
+
y: number;
|
|
66
|
+
};
|
|
67
|
+
matMenuTrigger: MatMenuTrigger;
|
|
68
|
+
masonry: NgxMasonryComponent;
|
|
69
|
+
constructor(cmsService: CmsService, orderHistoryService: OrderHistoryService, cd: ChangeDetectorRef);
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
ngAfterViewInit(): void;
|
|
72
|
+
isNullOrEmpty(valueToCheck: string): boolean;
|
|
73
|
+
getLastMonthDateRange(): void;
|
|
74
|
+
getStatusUpdate(): void;
|
|
75
|
+
getOrderList(): void;
|
|
76
|
+
clearAll(): void;
|
|
77
|
+
getSearchDropdownData(): void;
|
|
78
|
+
toggleGridOrListView(event: any): void;
|
|
79
|
+
getCheckedOrderStatuses(data: any): boolean;
|
|
80
|
+
checkOrderStatus(event: any, data: any, mobileData?: string): void;
|
|
81
|
+
removeChips(data: any): void;
|
|
82
|
+
onChange(e: any): void;
|
|
83
|
+
onSubmit(): void;
|
|
84
|
+
getSelectedDate(event: any): void;
|
|
85
|
+
getStatusValue(): void;
|
|
86
|
+
sortBy(e: any): void;
|
|
87
|
+
getSearchResults(): void;
|
|
88
|
+
onSearchChange(e: any): void;
|
|
89
|
+
search(): void;
|
|
90
|
+
loadMoreRecord(): void;
|
|
91
|
+
orderNumberClicked(orderNumber: any, newWindowFlag: boolean): void;
|
|
92
|
+
onRightClick(event: MouseEvent, item: any): void;
|
|
93
|
+
onScroll(): void;
|
|
94
|
+
onResize(event: any): void;
|
|
95
|
+
onPageRefresh(): void;
|
|
96
|
+
ngOnDestroy(): void;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomOrderHistoryComponent, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomOrderHistoryComponent, "app-custom-order-history", never, {}, {}, never, never>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./custom-order-history.component";
|
|
4
|
+
import * as i2 from "./slider-progress/slider-progress.component";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@angular/platform-browser/animations";
|
|
7
|
+
import * as i5 from "ngx-masonry";
|
|
8
|
+
import * as i6 from "@angular/material/menu";
|
|
9
|
+
import * as i7 from "../shared/shared-components.module";
|
|
10
|
+
import * as i8 from "@angular/forms";
|
|
11
|
+
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
12
|
+
import * as i10 from "ngx-infinite-scroll";
|
|
13
|
+
export declare class CustomOrderHistoryModule {
|
|
14
|
+
constructor(parentModule?: CustomOrderHistoryModule);
|
|
15
|
+
static forRoot(environment: any): ModuleWithProviders<CustomOrderHistoryModule>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomOrderHistoryModule, [{ optional: true; skipSelf: true; }]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomOrderHistoryModule, [typeof i1.CustomOrderHistoryComponent, typeof i2.SliderProgressComponent], [typeof i3.CommonModule, typeof i4.BrowserAnimationsModule, typeof i5.NgxMasonryModule, typeof i6.MatMenuModule, typeof i7.SharedComponentsModule, typeof i8.FormsModule, typeof i9.NgbModule, typeof i7.SharedComponentsModule, typeof i8.ReactiveFormsModule, typeof i10.InfiniteScrollModule], never>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomOrderHistoryModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SliderProgressComponent implements OnInit, OnChanges {
|
|
4
|
+
private cdr;
|
|
5
|
+
sliderData: any;
|
|
6
|
+
minLineStatus: any;
|
|
7
|
+
maxLineStatus: any;
|
|
8
|
+
constructor(cdr: ChangeDetectorRef);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
getLastStatus(): any;
|
|
12
|
+
isActive(value: any): any;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderProgressComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderProgressComponent, "app-slider-progress", never, { "sliderData": "sliderData"; }, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Cart, CmsService } from '@spartacus/core';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { CartService } from '../../../services/cart.service';
|
|
5
|
+
import { SavedCartDetailsService } from '../saved-cart-details.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CustomSaveCartDtlComponent implements OnInit, OnChanges {
|
|
8
|
+
private cartService;
|
|
9
|
+
private cdr;
|
|
10
|
+
private cmsService;
|
|
11
|
+
protected savedCartDetailsService: SavedCartDetailsService;
|
|
12
|
+
isMobile: boolean;
|
|
13
|
+
isTablet: boolean;
|
|
14
|
+
isDesktop: boolean;
|
|
15
|
+
listview: boolean;
|
|
16
|
+
isExpandAll: boolean;
|
|
17
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
18
|
+
cartDetails: any;
|
|
19
|
+
additionalPara: any;
|
|
20
|
+
constructor(cartService: CartService, cdr: ChangeDetectorRef, cmsService: CmsService, savedCartDetailsService: SavedCartDetailsService);
|
|
21
|
+
savedCart$: Observable<Cart | undefined>;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
ParaContent(): void;
|
|
25
|
+
toggleGridOrListView(event: any): void;
|
|
26
|
+
expandAll(): void;
|
|
27
|
+
contractAll(): void;
|
|
28
|
+
updateCart(): void;
|
|
29
|
+
onResize(event: any): void;
|
|
30
|
+
onPageRefresh(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSaveCartDtlComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSaveCartDtlComponent, "app-custom-save-cart-dtl", never, {}, {}, never, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./saved-cart-details-action/saved-cart-details-action.component";
|
|
4
|
+
import * as i2 from "./saved-cart-details-overview/saved-cart-details-overview.component";
|
|
5
|
+
import * as i3 from "../../shared/custom-cart-detail/custom-cart-detail.component";
|
|
6
|
+
import * as i4 from "./custom-save-cart-dtl/custom-save-cart-dtl.component";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
8
|
+
import * as i6 from "@angular/forms";
|
|
9
|
+
import * as i7 from "@ng-bootstrap/ng-bootstrap";
|
|
10
|
+
import * as i8 from "@spartacus/core";
|
|
11
|
+
import * as i9 from "@angular/router";
|
|
12
|
+
import * as i10 from "@spartacus/storefront";
|
|
13
|
+
import * as i11 from "../../shared/shared-components.module";
|
|
14
|
+
export declare class CustomSavedCartDetailsModule {
|
|
15
|
+
constructor(parentModule?: CustomSavedCartDetailsModule);
|
|
16
|
+
static forRoot(environment: any): ModuleWithProviders<CustomSavedCartDetailsModule>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSavedCartDetailsModule, [{ optional: true; skipSelf: true; }]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomSavedCartDetailsModule, [typeof i1.SavedCartDetailsActionComponent, typeof i2.SavedCartDetailsOverviewComponent, typeof i3.CustomCartDetailComponent, typeof i4.CustomSaveCartDtlComponent], [typeof i5.CommonModule, typeof i6.ReactiveFormsModule, typeof i7.NgbModule, typeof i8.UrlModule, typeof i9.RouterModule, typeof i10.CardModule, typeof i11.SharedComponentsModule, typeof i10.MediaModule, typeof i10.IconModule, typeof i10.OutletModule, typeof i10.AddToCartModule, typeof i11.SharedComponentsModule, typeof i8.ConfigModule], never>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomSavedCartDetailsModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SavedCartDetailsService } from '@spartacus/cart/saved-cart/components';
|
|
3
|
+
import { SavedCartFacade } from '@spartacus/cart/saved-cart/root';
|
|
4
|
+
import { Cart, RoutingService } from '@spartacus/core';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SavedCartDetailsActionComponent implements OnInit {
|
|
8
|
+
protected savedCartDetailsService: SavedCartDetailsService;
|
|
9
|
+
protected savedCartService: SavedCartFacade;
|
|
10
|
+
routingService: RoutingService;
|
|
11
|
+
savedCartList: {
|
|
12
|
+
savedCarts: string;
|
|
13
|
+
cartName: string;
|
|
14
|
+
nameofCart: string;
|
|
15
|
+
dateSaved: string;
|
|
16
|
+
quantity: string;
|
|
17
|
+
total: string;
|
|
18
|
+
actions: string;
|
|
19
|
+
cancel: string;
|
|
20
|
+
delete: string;
|
|
21
|
+
confirm: string;
|
|
22
|
+
makeCartActive: string;
|
|
23
|
+
cartDescription: string;
|
|
24
|
+
makeCartDelete: string;
|
|
25
|
+
makeCartBacktoSave: string;
|
|
26
|
+
retainCopyTxt: string;
|
|
27
|
+
readmore: string;
|
|
28
|
+
restoredCartPara: string;
|
|
29
|
+
deleteCartPara: string;
|
|
30
|
+
};
|
|
31
|
+
selectedCartId: number;
|
|
32
|
+
showPopUp: boolean;
|
|
33
|
+
savedCartDetails: {
|
|
34
|
+
cartName: string;
|
|
35
|
+
editSavedCart: string;
|
|
36
|
+
cartDescription: string;
|
|
37
|
+
dateSaved: string;
|
|
38
|
+
items: string;
|
|
39
|
+
quantity: string;
|
|
40
|
+
total: string;
|
|
41
|
+
readmore: string;
|
|
42
|
+
deleteSavedCart: string;
|
|
43
|
+
exclandfreight: string;
|
|
44
|
+
};
|
|
45
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
46
|
+
descriptionLength: any;
|
|
47
|
+
makeActiveData: any;
|
|
48
|
+
isMobile: boolean;
|
|
49
|
+
isTablet: boolean;
|
|
50
|
+
isDesktop: boolean;
|
|
51
|
+
isDelete: boolean;
|
|
52
|
+
savedCarts$: Observable<Cart[]>;
|
|
53
|
+
protected savedCartId$: Observable<any>;
|
|
54
|
+
savedCart$: Observable<Cart | undefined>;
|
|
55
|
+
subscription: any;
|
|
56
|
+
constructor(savedCartDetailsService: SavedCartDetailsService, savedCartService: SavedCartFacade, routingService: RoutingService);
|
|
57
|
+
ngOnInit(): void;
|
|
58
|
+
makeActiveCart(event: Event): void;
|
|
59
|
+
deleteCart(event: Event): void;
|
|
60
|
+
getResponseData(): void;
|
|
61
|
+
onResize(event: any): void;
|
|
62
|
+
onPageRefresh(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCartDetailsActionComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SavedCartDetailsActionComponent, "app-saved-cart-details-action", never, {}, {}, never, never>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SavedCartFacade } from '@spartacus/cart/saved-cart/root';
|
|
3
|
+
import { Cart, CmsService } from '@spartacus/core';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
+
import { SavedCartDetailsService } from '../saved-cart-details.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SavedCartDetailsOverviewComponent implements OnInit {
|
|
8
|
+
protected savedCartService: SavedCartFacade;
|
|
9
|
+
protected savedCartDetailsService: SavedCartDetailsService;
|
|
10
|
+
cmsService: CmsService;
|
|
11
|
+
pageTitle: any;
|
|
12
|
+
descriptionLength: boolean;
|
|
13
|
+
savedCartDetails: {
|
|
14
|
+
cartName: string;
|
|
15
|
+
editSavedCart: string;
|
|
16
|
+
cartDescription: string;
|
|
17
|
+
dateSaved: string;
|
|
18
|
+
items: string;
|
|
19
|
+
quantity: string;
|
|
20
|
+
total: string;
|
|
21
|
+
readmore: string;
|
|
22
|
+
deleteSavedCart: string;
|
|
23
|
+
exclandfreight: string;
|
|
24
|
+
};
|
|
25
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
26
|
+
savedCart$: Observable<Cart | undefined>;
|
|
27
|
+
constructor(savedCartService: SavedCartFacade, savedCartDetailsService: SavedCartDetailsService, cmsService: CmsService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCartDetailsOverviewComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SavedCartDetailsOverviewComponent, "app-saved-cart-details-overview", never, {}, {}, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { SavedCartFacade } from '@spartacus/cart/saved-cart/root';
|
|
3
|
+
import { Cart, RoutingService } from '@spartacus/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SavedCartDetailsService {
|
|
7
|
+
protected routingService: RoutingService;
|
|
8
|
+
protected savedCartService: SavedCartFacade;
|
|
9
|
+
private http;
|
|
10
|
+
protected savedCartId$: Observable<any>;
|
|
11
|
+
protected savedCart$: Observable<Cart | undefined>;
|
|
12
|
+
constructor(routingService: RoutingService, savedCartService: SavedCartFacade, http: HttpClient);
|
|
13
|
+
getSavedCartId(): Observable<string>;
|
|
14
|
+
getCartDetails(): Observable<Cart | undefined>;
|
|
15
|
+
deleteSaveCartEntry(cartId: any, entryNumber: any): Observable<any>;
|
|
16
|
+
deleteSavdCart(cartId: number): Observable<any>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCartDetailsService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SavedCartDetailsService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { SavedCartFacade } from '@spartacus/cart/saved-cart/root';
|
|
4
|
+
import { Cart, CmsService, RoutingService } from '@spartacus/core';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { SavedCartService } from './saved-cart.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CustomSavedCartComponent implements OnInit {
|
|
9
|
+
protected routing: RoutingService;
|
|
10
|
+
protected savedCartService: SavedCartFacade;
|
|
11
|
+
cmsService: CmsService;
|
|
12
|
+
service: SavedCartService;
|
|
13
|
+
private formBuilder;
|
|
14
|
+
makeCartActiiveForm: FormGroup;
|
|
15
|
+
savedCartList: {
|
|
16
|
+
savedCarts: string;
|
|
17
|
+
cartName: string;
|
|
18
|
+
nameofCart: string;
|
|
19
|
+
dateSaved: string;
|
|
20
|
+
quantity: string;
|
|
21
|
+
total: string;
|
|
22
|
+
actions: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
delete: string;
|
|
25
|
+
confirm: string;
|
|
26
|
+
makeCartActive: string;
|
|
27
|
+
cartDescription: string;
|
|
28
|
+
makeCartDelete: string;
|
|
29
|
+
makeCartBacktoSave: string;
|
|
30
|
+
retainCopyTxt: string;
|
|
31
|
+
readmore: string;
|
|
32
|
+
restoredCartPara: string;
|
|
33
|
+
deleteCartPara: string;
|
|
34
|
+
};
|
|
35
|
+
noSavedCartData: any;
|
|
36
|
+
savedCartHeading: any;
|
|
37
|
+
pageTitle: any;
|
|
38
|
+
dataAvailale?: string;
|
|
39
|
+
isLoaded: boolean;
|
|
40
|
+
makeActiveData: any;
|
|
41
|
+
descriptionLength: any;
|
|
42
|
+
nameMaxLength: number;
|
|
43
|
+
cloneRecord: boolean;
|
|
44
|
+
cartName: string;
|
|
45
|
+
showWaitCursor: BehaviorSubject<boolean>;
|
|
46
|
+
makeCartActiveForm: any;
|
|
47
|
+
selectedCartId: number;
|
|
48
|
+
showPopUp: boolean;
|
|
49
|
+
savedCarts: any;
|
|
50
|
+
constructor(routing: RoutingService, savedCartService: SavedCartFacade, cmsService: CmsService, service: SavedCartService, formBuilder: FormBuilder);
|
|
51
|
+
savedCarts$: Observable<Cart[]>;
|
|
52
|
+
ngOnInit(): void;
|
|
53
|
+
getData(): void;
|
|
54
|
+
goToSavedCartDetails(cart: Cart): void;
|
|
55
|
+
makeActiveCart(event: Event, cartId: any): void;
|
|
56
|
+
changeRetainCopy(event: any): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSavedCartComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSavedCartComponent, "app-custom-saved-cart", never, {}, {}, never, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./custom-saved-cart.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/forms";
|
|
6
|
+
import * as i4 from "@spartacus/core";
|
|
7
|
+
import * as i5 from "../shared/shared-components.module";
|
|
8
|
+
import * as i6 from "@angular/router";
|
|
9
|
+
import * as i7 from "@ng-bootstrap/ng-bootstrap";
|
|
10
|
+
export declare class CustomSavedCartModule {
|
|
11
|
+
constructor(parentModule?: CustomSavedCartModule);
|
|
12
|
+
static forRoot(environment: any): ModuleWithProviders<CustomSavedCartModule>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSavedCartModule, [{ optional: true; skipSelf: true; }]>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomSavedCartModule, [typeof i1.CustomSavedCartComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.FeaturesConfigModule, typeof i5.SharedComponentsModule, typeof i6.RouterModule, typeof i7.NgbModule, typeof i3.ReactiveFormsModule], [typeof i1.CustomSavedCartComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomSavedCartModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { RoutingService } from '@spartacus/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SaveCartService {
|
|
6
|
+
private http;
|
|
7
|
+
protected routingService: RoutingService;
|
|
8
|
+
cartId: number;
|
|
9
|
+
protected savedCartId$: Observable<any>;
|
|
10
|
+
constructor(http: HttpClient, routingService: RoutingService);
|
|
11
|
+
cloneAndSave(cartId: number, name: string): Observable<any>;
|
|
12
|
+
deleteSavdCart(cartId: number): Observable<any>;
|
|
13
|
+
markCartForActive(cartId: number): Observable<any>;
|
|
14
|
+
saveCartForLater(name: string, description: string): Observable<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SaveCartService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SaveCartService>;
|
|
17
|
+
}
|