buildingproduct-library 0.2.76 → 0.2.78
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/assets/images/pdf-icon.svg +45 -0
- package/{buildingproduct-library-0.2.76.tgz → buildingproduct-library-0.2.78.tgz} +0 -0
- package/bundles/buildingproduct-library.umd.js +3471 -2489
- package/bundles/buildingproduct-library.umd.js.map +1 -1
- package/esm2015/lib/account-dropdown/account-dropdown.component.js +38 -4
- package/esm2015/lib/account-dropdown/account-dropdown.service.js +3 -3
- package/esm2015/lib/checkout/add-new-address/add-new-address.component.js +22 -13
- package/esm2015/lib/checkout/checkout.module.js +10 -2
- package/esm2015/lib/checkout/custom-checkout/custom-checkout.component.js +7 -28
- package/esm2015/lib/checkout/order-confirmation/order-confirmation.component.js +2 -3
- package/esm2015/lib/checkout/order-review/delivery-information/delivery-information.component.js +1 -1
- package/esm2015/lib/checkout/order-review/order-review-grid/order-review-grid.component.js +86 -16
- package/esm2015/lib/checkout/order-review/order-review-list/order-review-list.component.js +72 -15
- package/esm2015/lib/checkout/order-review/order-review.component.js +3 -27
- package/esm2015/lib/contact-us/contact-us.component.js +1 -1
- package/esm2015/lib/custom-cart/addto-saved-carts/addto-saved-carts.component.js +2 -2
- package/esm2015/lib/custom-cart/custom-cart.component.js +3 -27
- package/esm2015/lib/custom-cart/custom-cart.module.js +3 -3
- package/esm2015/lib/custom-mini-cart/custom-mini-cart.component.js +110 -52
- package/esm2015/lib/custom-mini-cart/custom-mini-cart.module.js +2 -2
- package/esm2015/lib/custom-navigation/custom-navigation.component.js +122 -0
- package/esm2015/lib/custom-navigation/custom-navigation.module.js +3 -3
- package/esm2015/lib/custom-order-details/custom-order-details.component.js +26 -21
- package/esm2015/lib/custom-order-details/custom-order-details.module.js +15 -7
- package/esm2015/lib/custom-order-details/download-popup/download-popup.component.js +1 -1
- package/esm2015/lib/custom-order-details/order-detail-grid/order-detail-grid.component.js +105 -22
- package/esm2015/lib/custom-order-details/order-detail-list/order-detail-list.component.js +89 -23
- package/esm2015/lib/custom-order-history/custom-order-history.component.js +49 -22
- package/esm2015/lib/custom-order-history/custom-order-history.module.js +10 -2
- package/esm2015/lib/custom-order-history/slider-progress/slider-progress.component.js +1 -1
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/custom-save-cart-dtl/custom-save-cart-dtl.component.js +2 -2
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/custom-saved-cart-details.module.js +2 -2
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-action/saved-cart-details-action.component.js +4 -28
- package/esm2015/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-overview/saved-cart-details-overview.component.js +1 -1
- package/esm2015/lib/custom-saved-cart/custom-saved-cart.component.js +6 -4
- package/esm2015/lib/custom-saved-cart/custom-saved-cart.module.js +2 -2
- package/esm2015/lib/custom-saved-cart/saved-cart.service.js +11 -2
- package/esm2015/lib/custom-search/custom-search.component.js +3 -3
- package/esm2015/lib/custom-user-account/custom-user-account.component.js +2 -2
- package/esm2015/lib/directives/custom-directives.module.js +1 -1
- package/esm2015/lib/directives/custom-paginatior.directive.js +101 -31
- package/esm2015/lib/find-store/find-store.component.js +2 -2
- package/esm2015/lib/help-support/help-support.component.js +1 -1
- package/esm2015/lib/my-account/account-dashboard/account-dashboard.component.js +2 -2
- package/esm2015/lib/my-account/account-statements/account-statements.component.js +2 -2
- package/esm2015/lib/my-account/invoice-credit/invoice-credit.component.js +51 -17
- package/esm2015/lib/my-account/my-account.component.js +2 -2
- package/esm2015/lib/my-account/my-account.module.js +11 -3
- package/esm2015/lib/my-team/my-team.component.js +25 -17
- package/esm2015/lib/my-team/my-team.module.js +11 -7
- package/esm2015/lib/services/endPointURL.js +6 -1
- package/esm2015/lib/services/user-account-detail-service.service.js +172 -4
- package/esm2015/lib/shared/CustomProduct.js +5 -4
- package/esm2015/lib/shared/active-saved-cart/active-saved-cart.component.js +20 -11
- package/esm2015/lib/shared/custom-breadcrum/custom-breadcrum.component.js +17 -7
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-detail.component.js +1 -1
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-grid/custom-cart-grid.component.js +198 -102
- package/esm2015/lib/shared/custom-cart-detail/custom-cart-list/custom-cart-list.component.js +64 -22
- package/esm2015/lib/shared/custom-cart-detail/custom-product-quantity-form/custom-product-quantity-form.component.js +129 -80
- package/esm2015/lib/shared/date-range-picker/date-range-picker.component.js +59 -9
- package/esm2015/lib/shared/regEx.validator.js +3 -1
- package/esm2015/lib/shared/saved-cart-popup/saved-cart-popup.component.js +1 -1
- package/esm2015/lib/shared/shared-components.module.js +21 -10
- package/esm2015/lib/shared/shared-download-order/shared-download-order.component.js +116 -31
- package/esm2015/lib/spa-custom-header.module.js +14 -13
- package/esm2015/public-api.js +2 -2
- package/fesm2015/buildingproduct-library.js +1996 -1081
- package/fesm2015/buildingproduct-library.js.map +1 -1
- package/lib/checkout/add-new-address/add-new-address.component.d.ts +1 -0
- package/lib/checkout/checkout.module.d.ts +12 -10
- package/lib/checkout/custom-checkout/custom-checkout.component.d.ts +2 -5
- package/lib/checkout/order-review/order-review-grid/order-review-grid.component.d.ts +8 -2
- package/lib/checkout/order-review/order-review-list/order-review-list.component.d.ts +5 -2
- package/lib/checkout/order-review/order-review.component.d.ts +1 -4
- package/lib/custom-cart/custom-cart.component.d.ts +1 -4
- package/lib/custom-mini-cart/custom-mini-cart.component.d.ts +11 -3
- package/lib/custom-navigation/{custom-navigation/custom-navigation.component.d.ts → custom-navigation.component.d.ts} +1 -1
- package/lib/custom-navigation/custom-navigation.module.d.ts +1 -1
- package/lib/custom-order-details/custom-order-details.component.d.ts +5 -2
- package/lib/custom-order-details/custom-order-details.module.d.ts +6 -4
- package/lib/custom-order-details/order-detail-grid/order-detail-grid.component.d.ts +14 -4
- package/lib/custom-order-details/order-detail-list/order-detail-list.component.d.ts +10 -3
- package/lib/custom-order-history/custom-order-history.component.d.ts +3 -0
- package/lib/custom-order-history/custom-order-history.module.d.ts +8 -6
- package/lib/custom-saved-cart/custom-saved-cart-details/saved-cart-details-action/saved-cart-details-action.component.d.ts +1 -4
- package/lib/custom-saved-cart/custom-saved-cart.component.d.ts +1 -0
- package/lib/custom-saved-cart/saved-cart.service.d.ts +1 -0
- package/lib/custom-search/custom-search.component.d.ts +1 -1
- package/lib/directives/custom-paginatior.directive.d.ts +6 -1
- package/lib/find-store/find-store.component.d.ts +1 -1
- package/lib/my-account/account-statements/account-statements.component.d.ts +1 -1
- package/lib/my-account/invoice-credit/invoice-credit.component.d.ts +8 -2
- package/lib/my-account/my-account.component.d.ts +1 -1
- package/lib/my-account/my-account.module.d.ts +7 -5
- package/lib/my-team/my-team.component.d.ts +2 -0
- package/lib/my-team/my-team.module.d.ts +7 -6
- package/lib/services/endPointURL.d.ts +3 -0
- package/lib/services/user-account-detail-service.service.d.ts +27 -1
- package/lib/shared/CustomProduct.d.ts +1 -0
- package/lib/shared/active-saved-cart/active-saved-cart.component.d.ts +3 -1
- package/lib/shared/custom-breadcrum/custom-breadcrum.component.d.ts +3 -1
- package/lib/shared/custom-cart-detail/custom-cart-grid/custom-cart-grid.component.d.ts +17 -9
- package/lib/shared/custom-cart-detail/custom-cart-list/custom-cart-list.component.d.ts +8 -6
- package/lib/shared/custom-cart-detail/custom-product-quantity-form/custom-product-quantity-form.component.d.ts +11 -3
- package/lib/shared/date-range-picker/date-range-picker.component.d.ts +11 -3
- package/lib/shared/regEx.validator.d.ts +2 -0
- package/lib/shared/shared-components.module.d.ts +10 -8
- package/lib/shared/shared-download-order/shared-download-order.component.d.ts +6 -4
- package/lib/spa-custom-header.module.d.ts +7 -6
- package/package.json +3 -1
- package/public-api.d.ts +1 -1
- package/esm2015/lib/custom-navigation/custom-navigation/custom-navigation.component.js +0 -121
- package/esm2015/lib/preference/preference.component.js +0 -19
- package/esm2015/lib/preference/preference.module.js +0 -45
- package/lib/preference/preference.component.d.ts +0 -8
- package/lib/preference/preference.module.d.ts +0 -10
|
@@ -19,6 +19,7 @@ export declare class AddNewAddressComponent implements OnInit {
|
|
|
19
19
|
currentPosition: any;
|
|
20
20
|
token_url: string;
|
|
21
21
|
updateNewAddress: EventEmitter<any>;
|
|
22
|
+
errorInd$: BehaviorSubject<boolean>;
|
|
22
23
|
constructor(checkoutService: CustomCheckoutService);
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
loadMap(token: any): Promise<any>;
|
|
@@ -8,19 +8,21 @@ import * as i5 from "./order-review/order-review-grid/order-review-grid.componen
|
|
|
8
8
|
import * as i6 from "./custom-checkout/custom-checkout.component";
|
|
9
9
|
import * as i7 from "./add-new-address/add-new-address.component";
|
|
10
10
|
import * as i8 from "@angular/common";
|
|
11
|
-
import * as i9 from "@angular/
|
|
12
|
-
import * as i10 from "
|
|
13
|
-
import * as i11 from "@
|
|
14
|
-
import * as i12 from "@angular/
|
|
15
|
-
import * as i13 from "@
|
|
16
|
-
import * as i14 from "@angular/
|
|
17
|
-
import * as i15 from "
|
|
18
|
-
import * as i16 from "@
|
|
19
|
-
import * as i17 from "
|
|
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";
|
|
20
22
|
export declare class CheckoutModule {
|
|
21
23
|
constructor(parentModule?: CheckoutModule);
|
|
22
24
|
static forRoot(environment: any): ModuleWithProviders<CheckoutModule>;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutModule, [{ optional: true; skipSelf: true; }]>;
|
|
24
|
-
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.
|
|
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>;
|
|
25
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<CheckoutModule>;
|
|
26
28
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { NgbCalendar, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { ActiveCartService } from '@spartacus/core';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { CmsService } from '@spartacus/core';
|
|
6
5
|
import { CustomCheckoutService } from '../../services/checkout.service';
|
|
6
|
+
import { CmsService } from '@spartacus/core';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class CustomCheckoutComponent implements OnInit {
|
|
9
9
|
checkoutService: CustomCheckoutService;
|
|
@@ -56,11 +56,8 @@ export declare class CustomCheckoutComponent implements OnInit {
|
|
|
56
56
|
newAddress: any;
|
|
57
57
|
confirmedNewAddress: string;
|
|
58
58
|
showWaitCursor: BehaviorSubject<boolean>;
|
|
59
|
-
myDiv: ElementRef;
|
|
60
|
-
onWindowScroll(event: any): void;
|
|
61
59
|
constructor(checkoutService: CustomCheckoutService, cmsService: CmsService, cd: ChangeDetectorRef, calendar: NgbCalendar, activeCartService: ActiveCartService);
|
|
62
60
|
ngOnInit(): void;
|
|
63
|
-
checkScrollEnd(): void;
|
|
64
61
|
getDetailResponse(): void;
|
|
65
62
|
updateMinMaxTime(date: Date): void;
|
|
66
63
|
updateRequestedTime(): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from
|
|
2
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { NgxMasonryComponent } from "ngx-masonry";
|
|
3
|
+
import { BehaviorSubject } from "rxjs";
|
|
3
4
|
import { CartService } from '../../../services/cart.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class OrderReviewGridComponent implements OnInit {
|
|
@@ -14,14 +15,19 @@ export declare class OrderReviewGridComponent implements OnInit {
|
|
|
14
15
|
environment: any;
|
|
15
16
|
env: any;
|
|
16
17
|
imageModalSrc: any;
|
|
18
|
+
masonry: NgxMasonryComponent;
|
|
17
19
|
constructor(cartService: CartService, cdr: ChangeDetectorRef);
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
showHide(ind: number): void;
|
|
20
22
|
arrowHideShow(id: number): void;
|
|
23
|
+
isNullOrEmpty(value: any): boolean;
|
|
21
24
|
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
25
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
22
26
|
viewImage(event: any, cartDetails: any): void;
|
|
23
27
|
getPdfLink(cartDetails: any): void;
|
|
24
28
|
hasImage(cartDetails: any): boolean;
|
|
29
|
+
hasColour(cartDetails: any): boolean;
|
|
30
|
+
getClassifications(data: any): any;
|
|
25
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderReviewGridComponent, never>;
|
|
26
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderReviewGridComponent, "app-order-review-grid", never, { "cartDetails": "cartDetails"; "isCardData": "isCardData"; }, { "updateCartEntry": "updateCartEntry"; }, never, never>;
|
|
27
33
|
}
|
|
@@ -11,18 +11,21 @@ export declare class OrderReviewListComponent implements OnInit {
|
|
|
11
11
|
cartDetails: any;
|
|
12
12
|
updateCartEntry: EventEmitter<any>;
|
|
13
13
|
isCardData: any;
|
|
14
|
-
environment: any;
|
|
15
14
|
env: any;
|
|
15
|
+
environment: any;
|
|
16
16
|
imageModalSrc: any;
|
|
17
|
-
productInfos: any;
|
|
18
17
|
isProductInfoAvilable: boolean;
|
|
19
18
|
constructor(cartService: CartService, cdr: ChangeDetectorRef);
|
|
20
19
|
ngOnInit(): void;
|
|
21
20
|
showHide(ind: number): void;
|
|
21
|
+
isNullOrEmpty(value: any): boolean;
|
|
22
22
|
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
23
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
23
24
|
viewImage(event: any, cartDetails: any): void;
|
|
24
25
|
getPdfLink(cartDetails: any): void;
|
|
25
26
|
hasImage(cartDetails: any): boolean;
|
|
27
|
+
hasColour(cartDetails: any): boolean;
|
|
28
|
+
getClassifications(data: any): any;
|
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderReviewListComponent, never>;
|
|
27
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderReviewListComponent, "app-order-review-list", never, { "cartDetails": "cartDetails"; "isCardData": "isCardData"; }, { "updateCartEntry": "updateCartEntry"; }, never, never>;
|
|
28
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { CmsService } from '@spartacus/core';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
@@ -26,11 +26,8 @@ export declare class OrderReviewComponent implements OnInit {
|
|
|
26
26
|
showWaitCursor: BehaviorSubject<boolean>;
|
|
27
27
|
orderReviewPage: boolean;
|
|
28
28
|
errorModalBtn: any;
|
|
29
|
-
myDiv: ElementRef;
|
|
30
|
-
onWindowScroll(event: any): void;
|
|
31
29
|
constructor(cmsService: CmsService, cartService: CartService, router: Router, orderReviewService: OrderReviewService);
|
|
32
30
|
ngOnInit(): void;
|
|
33
|
-
checkScrollEnd(): void;
|
|
34
31
|
getCartLists(): void;
|
|
35
32
|
gridView(): void;
|
|
36
33
|
listView(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ActiveCartService, Cart, MultiCartService } from '@spartacus/core';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { CartService } from '../services/cart.service';
|
|
@@ -12,13 +12,10 @@ export declare class CustomCartComponent implements OnInit, OnChanges {
|
|
|
12
12
|
showWaitCursor: BehaviorSubject<boolean>;
|
|
13
13
|
cart$: Observable<Cart>;
|
|
14
14
|
totalPriceFormat: any;
|
|
15
|
-
myDiv: ElementRef;
|
|
16
|
-
onWindowScroll(event: any): void;
|
|
17
15
|
constructor(cartService: CartService, activeCartService: ActiveCartService, multiCartService: MultiCartService, cdr: ChangeDetectorRef);
|
|
18
16
|
ngOnInit(): void;
|
|
19
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
20
18
|
isNullOrEmpty(value: any): boolean;
|
|
21
|
-
checkScrollEnd(): void;
|
|
22
19
|
clearCart(): void;
|
|
23
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCartComponent, never>;
|
|
24
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomCartComponent, "app-custom-cart", never, { "totalPriceFormat": "totalPriceFormat"; }, {}, never, never>;
|
|
@@ -4,6 +4,8 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
4
4
|
import { ActiveCartService, Cart, CmsService, OrderEntry } from '@spartacus/core';
|
|
5
5
|
import { MiniCartComponent } from '@spartacus/storefront';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
+
import { CartService } from '../services/cart.service';
|
|
8
|
+
import { UserAccountDetailServiceService } from '../services/user-account-detail-service.service';
|
|
7
9
|
import { AccountDropdownStateService } from '../services/account-dropdown-state.service';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class CustomMiniCartComponent extends MiniCartComponent implements OnInit, OnChanges {
|
|
@@ -11,8 +13,10 @@ export declare class CustomMiniCartComponent extends MiniCartComponent implement
|
|
|
11
13
|
protected activeCartService: ActiveCartService;
|
|
12
14
|
private router;
|
|
13
15
|
private modalService;
|
|
16
|
+
private cartService;
|
|
14
17
|
cmsService: CmsService;
|
|
15
18
|
private accountDropDownStateService;
|
|
19
|
+
private userProfileDetailsService;
|
|
16
20
|
ref: ChangeDetectorRef;
|
|
17
21
|
entries$: Observable<OrderEntry[]>;
|
|
18
22
|
cart$: Observable<Cart>;
|
|
@@ -30,12 +34,15 @@ export declare class CustomMiniCartComponent extends MiniCartComponent implement
|
|
|
30
34
|
isCardData: any;
|
|
31
35
|
imageModalSrc: any;
|
|
32
36
|
emptyCardData: any;
|
|
37
|
+
isCartPermission: boolean;
|
|
38
|
+
cartId: any;
|
|
33
39
|
showWaitCursor: BehaviorSubject<boolean>;
|
|
34
40
|
env: any;
|
|
35
41
|
environment: any;
|
|
36
|
-
constructor(_eref: ElementRef, activeCartService: ActiveCartService, router: Router, modalService: NgbModal, cmsService: CmsService, accountDropDownStateService: AccountDropdownStateService, ref: ChangeDetectorRef);
|
|
37
|
-
ngOnInit(): void
|
|
42
|
+
constructor(_eref: ElementRef, activeCartService: ActiveCartService, router: Router, modalService: NgbModal, cartService: CartService, cmsService: CmsService, accountDropDownStateService: AccountDropdownStateService, userProfileDetailsService: UserAccountDetailServiceService, ref: ChangeDetectorRef);
|
|
43
|
+
ngOnInit(): Promise<void>;
|
|
38
44
|
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
+
getCartLists(): void;
|
|
39
46
|
negativeConverter(value: string): string;
|
|
40
47
|
toggleMenu(): void;
|
|
41
48
|
mobileToggleMenu(content: any): void;
|
|
@@ -49,6 +56,7 @@ export declare class CustomMiniCartComponent extends MiniCartComponent implement
|
|
|
49
56
|
viewImage(event: any, cartDetails: any): void;
|
|
50
57
|
getPdfLink(cartDetails: any): void;
|
|
51
58
|
hasImage(cartDetails: any): boolean;
|
|
59
|
+
getClassifications(data: any): any;
|
|
52
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMiniCartComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMiniCartComponent, "app-custom-mini-cart", never, {
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMiniCartComponent, "app-custom-mini-cart", never, {}, {}, never, never>;
|
|
54
62
|
}
|
|
@@ -3,7 +3,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
3
3
|
import { CmsNavigationComponent, CmsService } from '@spartacus/core';
|
|
4
4
|
import { CategoryNavigationComponent, CmsComponentData, NavigationService } from '@spartacus/storefront';
|
|
5
5
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
6
|
-
import { AccountDropdownStateService } from '
|
|
6
|
+
import { AccountDropdownStateService } from '../services/account-dropdown-state.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class CustomNavigationComponent extends CategoryNavigationComponent implements OnInit {
|
|
9
9
|
private cmsService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./custom-navigation
|
|
2
|
+
import * as i1 from "./custom-navigation.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/platform-browser";
|
|
5
5
|
import * as i4 from "../custom-header-logo/custom-header-logo.module";
|
|
@@ -5,12 +5,14 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
5
5
|
import { CartService } from '../services/cart.service';
|
|
6
6
|
import { MyAccountService } from '../services/my-account.service';
|
|
7
7
|
import { OrderHistoryService } from '../services/order-history.service';
|
|
8
|
+
import { UserAccountDetailServiceService } from '../services/user-account-detail-service.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class CustomOrderDetailsComponent implements OnInit, OnChanges {
|
|
10
11
|
cmsService: CmsService;
|
|
11
12
|
router: Router;
|
|
12
13
|
private route;
|
|
13
14
|
private orderHistoryService;
|
|
15
|
+
private userProfileDetailsService;
|
|
14
16
|
private cartService;
|
|
15
17
|
cd: ChangeDetectorRef;
|
|
16
18
|
private documentsData;
|
|
@@ -38,9 +40,10 @@ export declare class CustomOrderDetailsComponent implements OnInit, OnChanges {
|
|
|
38
40
|
orderPDFdetails: any;
|
|
39
41
|
breadcrumbData: any;
|
|
40
42
|
orderDetailsPage: boolean;
|
|
41
|
-
|
|
43
|
+
isOrderPermissions: boolean;
|
|
44
|
+
constructor(cmsService: CmsService, router: Router, route: ActivatedRoute, orderHistoryService: OrderHistoryService, userProfileDetailsService: UserAccountDetailServiceService, cartService: CartService, cd: ChangeDetectorRef, documentsData: MyAccountService);
|
|
42
45
|
sortby: string[];
|
|
43
|
-
ngOnInit(): void
|
|
46
|
+
ngOnInit(): Promise<void>;
|
|
44
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
45
48
|
orderPdf(): void;
|
|
46
49
|
invoicePdf(): void;
|
|
@@ -5,13 +5,15 @@ import * as i2 from "./order-detail-list/order-detail-list.component";
|
|
|
5
5
|
import * as i3 from "./order-detail-grid/order-detail-grid.component";
|
|
6
6
|
import * as i4 from "./download-popup/download-popup.component";
|
|
7
7
|
import * as i5 from "@angular/common";
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "
|
|
10
|
-
import * as i8 from "
|
|
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";
|
|
11
13
|
export declare class CustomOrderDetailsModule {
|
|
12
14
|
constructor(parentModule?: CustomOrderDetailsModule);
|
|
13
15
|
static forRoot(environment: any): ModuleWithProviders<CustomOrderDetailsModule>;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomOrderDetailsModule, [{ optional: true; skipSelf: true; }]>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomOrderDetailsModule, [typeof i1.CustomOrderDetailsComponent, typeof i2.OrderDetailListComponent, typeof i3.OrderDetailGridComponent, typeof i4.DownloadPopupComponent], [typeof i5.CommonModule, typeof i6.
|
|
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>;
|
|
16
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<CustomOrderDetailsModule>;
|
|
17
19
|
}
|
|
@@ -1,30 +1,40 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { NgxMasonryComponent } from 'ngx-masonry';
|
|
3
|
+
import { BehaviorSubject } from "rxjs";
|
|
3
4
|
import { CartService } from '../../services/cart.service';
|
|
5
|
+
import { UserAccountDetailServiceService } from '../../services/user-account-detail-service.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class OrderDetailGridComponent implements OnInit, OnChanges {
|
|
6
8
|
private cartService;
|
|
9
|
+
private userProfileDetailsService;
|
|
7
10
|
private cdr;
|
|
8
11
|
showDetails: any;
|
|
9
12
|
arrowUpDown: any;
|
|
10
13
|
sortByVal: any;
|
|
11
14
|
showWaitCursor: BehaviorSubject<boolean>;
|
|
15
|
+
masonry: NgxMasonryComponent;
|
|
12
16
|
cartDetails: any;
|
|
13
17
|
orderDate: any;
|
|
14
18
|
isCardData: any;
|
|
15
19
|
noRecord?: string;
|
|
16
20
|
imageModalSrc: any;
|
|
17
|
-
|
|
21
|
+
isOrderPermissions: boolean;
|
|
18
22
|
env: any;
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
environment: any;
|
|
24
|
+
constructor(cartService: CartService, userProfileDetailsService: UserAccountDetailServiceService, cdr: ChangeDetectorRef);
|
|
25
|
+
ngOnInit(): Promise<void>;
|
|
21
26
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
27
|
showHide(ind: number): void;
|
|
23
28
|
arrowHideShow(id: number): void;
|
|
29
|
+
reloadMasonaryGrid(): void;
|
|
30
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
31
|
+
isNullOrEmpty(value: any): boolean;
|
|
24
32
|
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
25
33
|
viewImage(event: any, cartDetails: any): void;
|
|
26
34
|
getPdfLink(cartDetails: any): void;
|
|
27
35
|
hasImage(cartDetails: any): boolean;
|
|
36
|
+
hasColour(cartDetails: any): boolean;
|
|
37
|
+
getClassifications(data: any): any;
|
|
28
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailGridComponent, never>;
|
|
29
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailGridComponent, "app-order-detail-grid", never, { "sortByVal": "sortByVal"; "cartDetails": "cartDetails"; "orderDate": "orderDate"; "isCardData": "isCardData"; }, {}, never, never>;
|
|
30
40
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { CartService } from '../../services/cart.service';
|
|
4
|
+
import { UserAccountDetailServiceService } from '../../services/user-account-detail-service.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class OrderDetailListComponent implements OnInit, OnChanges {
|
|
6
7
|
private cartService;
|
|
8
|
+
private userProfileDetailsService;
|
|
7
9
|
private cdr;
|
|
8
10
|
showDetails: any;
|
|
9
11
|
cartDetails: any;
|
|
@@ -13,16 +15,21 @@ export declare class OrderDetailListComponent implements OnInit, OnChanges {
|
|
|
13
15
|
isCardData: any;
|
|
14
16
|
noRecord?: string;
|
|
15
17
|
imageModalSrc: any;
|
|
16
|
-
|
|
18
|
+
isOrderPermissions: boolean;
|
|
17
19
|
env: any;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
environment: any;
|
|
21
|
+
constructor(cartService: CartService, userProfileDetailsService: UserAccountDetailServiceService, cdr: ChangeDetectorRef);
|
|
22
|
+
ngOnInit(): Promise<void>;
|
|
20
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
getColourDetails(configInfo: any, type: any): any;
|
|
25
|
+
isNullOrEmpty(value: any): boolean;
|
|
21
26
|
getImageDetails(cartDetails: any, thumbnail?: any): any;
|
|
22
27
|
showHide(ind: number): void;
|
|
23
28
|
viewImage(event: any, cartDetails: any): void;
|
|
24
29
|
getPdfLink(cartDetails: any): void;
|
|
25
30
|
hasImage(cartDetails: any): boolean;
|
|
31
|
+
hasColour(cartDetails: any): boolean;
|
|
32
|
+
getClassifications(data: any): any;
|
|
26
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailListComponent, never>;
|
|
27
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailListComponent, "app-order-detail-list", never, { "cartDetails": "cartDetails"; "sortByVal": "sortByVal"; "orderDate": "orderDate"; "isCardData": "isCardData"; }, {}, never, never>;
|
|
28
35
|
}
|
|
@@ -3,6 +3,7 @@ import { CmsService } from '@spartacus/core';
|
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { OrderHistoryService } from '../services/order-history.service';
|
|
5
5
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
6
|
+
import { NgxMasonryComponent } from 'ngx-masonry';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CustomOrderHistoryComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
9
|
cmsService: CmsService;
|
|
@@ -58,11 +59,13 @@ export declare class CustomOrderHistoryComponent implements OnInit, AfterViewIni
|
|
|
58
59
|
sesstionStorageCalled: boolean;
|
|
59
60
|
selectedDateFilterValue: any;
|
|
60
61
|
items: any;
|
|
62
|
+
isFirstCall: boolean;
|
|
61
63
|
menuTopLeftPosition: {
|
|
62
64
|
x: number;
|
|
63
65
|
y: number;
|
|
64
66
|
};
|
|
65
67
|
matMenuTrigger: MatMenuTrigger;
|
|
68
|
+
masonry: NgxMasonryComponent;
|
|
66
69
|
constructor(cmsService: CmsService, orderHistoryService: OrderHistoryService, cd: ChangeDetectorRef);
|
|
67
70
|
ngOnInit(): void;
|
|
68
71
|
ngAfterViewInit(): void;
|
|
@@ -3,15 +3,17 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "./custom-order-history.component";
|
|
4
4
|
import * as i2 from "./slider-progress/slider-progress.component";
|
|
5
5
|
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "@angular/
|
|
7
|
-
import * as i5 from "
|
|
8
|
-
import * as i6 from "@angular/
|
|
9
|
-
import * as i7 from "
|
|
10
|
-
import * as i8 from "
|
|
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";
|
|
11
13
|
export declare class CustomOrderHistoryModule {
|
|
12
14
|
constructor(parentModule?: CustomOrderHistoryModule);
|
|
13
15
|
static forRoot(environment: any): ModuleWithProviders<CustomOrderHistoryModule>;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomOrderHistoryModule, [{ optional: true; skipSelf: true; }]>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomOrderHistoryModule, [typeof i1.CustomOrderHistoryComponent, typeof i2.SliderProgressComponent], [typeof i3.CommonModule, typeof i4.
|
|
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>;
|
|
16
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<CustomOrderHistoryModule>;
|
|
17
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { SavedCartDetailsService } from '@spartacus/cart/saved-cart/components';
|
|
3
3
|
import { SavedCartFacade } from '@spartacus/cart/saved-cart/root';
|
|
4
4
|
import { Cart, RoutingService } from '@spartacus/core';
|
|
@@ -53,11 +53,8 @@ export declare class SavedCartDetailsActionComponent implements OnInit {
|
|
|
53
53
|
protected savedCartId$: Observable<any>;
|
|
54
54
|
savedCart$: Observable<Cart | undefined>;
|
|
55
55
|
subscription: any;
|
|
56
|
-
myDiv: ElementRef;
|
|
57
|
-
onWindowScroll(event: any): void;
|
|
58
56
|
constructor(savedCartDetailsService: SavedCartDetailsService, savedCartService: SavedCartFacade, routingService: RoutingService);
|
|
59
57
|
ngOnInit(): void;
|
|
60
|
-
checkScrollEnd(): void;
|
|
61
58
|
makeActiveCart(event: Event): void;
|
|
62
59
|
deleteCart(event: Event): void;
|
|
63
60
|
getResponseData(): void;
|
|
@@ -46,6 +46,7 @@ export declare class CustomSavedCartComponent implements OnInit {
|
|
|
46
46
|
makeCartActiveForm: any;
|
|
47
47
|
selectedCartId: number;
|
|
48
48
|
showPopUp: boolean;
|
|
49
|
+
savedCarts: any;
|
|
49
50
|
constructor(routing: RoutingService, savedCartService: SavedCartFacade, cmsService: CmsService, service: SavedCartService, formBuilder: FormBuilder);
|
|
50
51
|
savedCarts$: Observable<Cart[]>;
|
|
51
52
|
ngOnInit(): void;
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class SavedCartService {
|
|
5
5
|
private http;
|
|
6
6
|
constructor(http: HttpClient);
|
|
7
|
+
getSavedCarts(): Observable<any>;
|
|
7
8
|
cloneAndSave(cartId: number, name: string): Observable<any>;
|
|
8
9
|
markCartForActive(cartId: number): Observable<any>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCartService, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ViewConfig } from '@spartacus/storefront';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
3
|
import { CustomSearchService } from '../services/search.service';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CustomSearchComponent implements OnInit {
|
|
7
7
|
protected config: ViewConfig;
|
|
@@ -5,18 +5,23 @@ export declare class AppPaginationDirective {
|
|
|
5
5
|
private readonly matPag;
|
|
6
6
|
private vr;
|
|
7
7
|
private ren;
|
|
8
|
-
private _currentPage;
|
|
9
8
|
private _pageGapTxt;
|
|
10
9
|
private _rangeStart;
|
|
11
10
|
private _rangeEnd;
|
|
12
11
|
private _buttons;
|
|
12
|
+
private _curPageObj;
|
|
13
13
|
get showTotalPages(): number;
|
|
14
14
|
set showTotalPages(value: number);
|
|
15
15
|
private _showTotalPages;
|
|
16
|
+
get inc(): number;
|
|
17
|
+
get numOfPages(): number;
|
|
18
|
+
get lastPageIndex(): number;
|
|
16
19
|
constructor(matPag: MatPaginator, vr: ViewContainerRef, ren: Renderer2);
|
|
17
20
|
private buildPageNumbers;
|
|
18
21
|
private createButton;
|
|
19
22
|
private initPageRange;
|
|
23
|
+
private calcRangeStart;
|
|
24
|
+
private calcRangeEnd;
|
|
20
25
|
private switchPage;
|
|
21
26
|
ngAfterViewInit(): void;
|
|
22
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppPaginationDirective, [{ optional: true; host: true; self: true; }, null, null]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FindStoreService } from '../services/find-store.service';
|
|
2
3
|
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
import { storeLocations } from '../constants/general';
|
|
4
|
-
import { FindStoreService } from '../services/find-store.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class FindStoreComponent implements OnInit {
|
|
7
7
|
private findStoreService;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
2
|
import { CmsService } from '@spartacus/core';
|
|
4
3
|
import { BehaviorSubject } from 'rxjs';
|
|
5
4
|
import { MyAccountService } from '../../services/my-account.service';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AccountStatementsComponent implements OnInit {
|
|
8
8
|
cmsService: CmsService;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { CmsService } from '@spartacus/core';
|
|
4
3
|
import { MyAccountService } from '../../services/my-account.service';
|
|
4
|
+
import { CmsService } from '@spartacus/core';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { NgxMasonryComponent } from 'ngx-masonry';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class InvoiceCreditComponent implements OnInit, OnDestroy {
|
|
7
9
|
private myAccountService;
|
|
8
10
|
cmsService: CmsService;
|
|
9
11
|
cd: ChangeDetectorRef;
|
|
12
|
+
private http;
|
|
10
13
|
listview: boolean;
|
|
11
14
|
isDesktop: boolean;
|
|
12
15
|
isMobile: boolean;
|
|
@@ -32,7 +35,9 @@ export declare class InvoiceCreditComponent implements OnInit, OnDestroy {
|
|
|
32
35
|
selectedDateRange: any;
|
|
33
36
|
selectedDateKey: string;
|
|
34
37
|
noInvoiceCrditData: any;
|
|
35
|
-
|
|
38
|
+
isFirstCall: boolean;
|
|
39
|
+
masonry: NgxMasonryComponent;
|
|
40
|
+
constructor(myAccountService: MyAccountService, cmsService: CmsService, cd: ChangeDetectorRef, http: HttpClient);
|
|
36
41
|
ngOnInit(): void;
|
|
37
42
|
getInvoiceCreditData(): void;
|
|
38
43
|
getStatus(): void;
|
|
@@ -49,6 +54,7 @@ export declare class InvoiceCreditComponent implements OnInit, OnDestroy {
|
|
|
49
54
|
onSubmit(): void;
|
|
50
55
|
sortBy(e: any): void;
|
|
51
56
|
toggleGridOrListView(event: any): void;
|
|
57
|
+
reloadMasonaryGrid(): void;
|
|
52
58
|
search(): void;
|
|
53
59
|
loadMoreRecord(): void;
|
|
54
60
|
onScroll(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { CmsService } from '@spartacus/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { AccountDropdownService } from '../account-dropdown/account-dropdown.service';
|
|
5
4
|
import { MyAccountService } from '../services/my-account.service';
|
|
5
|
+
import { AccountDropdownService } from '../account-dropdown/account-dropdown.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class MyAccountComponent implements OnInit, AfterViewInit {
|
|
8
8
|
private myAccountService;
|
|
@@ -5,14 +5,16 @@ import * as i2 from "./invoice-credit/invoice-credit.component";
|
|
|
5
5
|
import * as i3 from "./account-dashboard/account-dashboard.component";
|
|
6
6
|
import * as i4 from "./account-statements/account-statements.component";
|
|
7
7
|
import * as i5 from "@angular/common";
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "
|
|
10
|
-
import * as i8 from "
|
|
11
|
-
import * as i9 from "@
|
|
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 "@angular/forms";
|
|
12
|
+
import * as i10 from "ngx-infinite-scroll";
|
|
13
|
+
import * as i11 from "@spartacus/core";
|
|
12
14
|
export declare class MyAccountModule {
|
|
13
15
|
constructor(parentModule?: MyAccountModule);
|
|
14
16
|
static forRoot(environment: any): ModuleWithProviders<MyAccountModule>;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MyAccountModule, [{ optional: true; skipSelf: true; }]>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MyAccountModule, [typeof i1.MyAccountComponent, typeof i2.InvoiceCreditComponent, typeof i3.AccountDashboardComponent, typeof i4.AccountStatementsComponent], [typeof i5.CommonModule, typeof i6.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MyAccountModule, [typeof i1.MyAccountComponent, typeof i2.InvoiceCreditComponent, typeof i3.AccountDashboardComponent, typeof i4.AccountStatementsComponent], [typeof i5.CommonModule, typeof i6.BrowserAnimationsModule, typeof i7.NgxMasonryModule, typeof i8.SharedComponentsModule, typeof i9.FormsModule, typeof i10.InfiniteScrollModule, typeof i11.ConfigModule], never>;
|
|
17
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<MyAccountModule>;
|
|
18
20
|
}
|
|
@@ -64,6 +64,7 @@ export declare class MyTeamComponent implements OnInit {
|
|
|
64
64
|
currentUserEmail: any;
|
|
65
65
|
currentUserRole: any;
|
|
66
66
|
showActiveDeactiveModal: boolean;
|
|
67
|
+
selectedRole: string;
|
|
67
68
|
closeConfirmModal: any;
|
|
68
69
|
closeInviteModal: any;
|
|
69
70
|
constructor(formBuilder: FormBuilder, teamMemberService: TeamMemberService, cd: ChangeDetectorRef, cmsService: CmsService, userService: UserAccountService);
|
|
@@ -91,6 +92,7 @@ export declare class MyTeamComponent implements OnInit {
|
|
|
91
92
|
getRoles(): void;
|
|
92
93
|
closeToast(): void;
|
|
93
94
|
closeUpdateToast(): void;
|
|
95
|
+
findOrgUnit(data: any): any;
|
|
94
96
|
checkOrgUnit(event: any, data: any): void;
|
|
95
97
|
getCheckedStatuses(id: any): boolean;
|
|
96
98
|
getCheckedStatusesRole(id: any): boolean;
|
|
@@ -3,15 +3,16 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "./my-team.component";
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
5
|
import * as i3 from "@angular/forms";
|
|
6
|
-
import * as i4 from "
|
|
7
|
-
import * as i5 from "@
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "
|
|
10
|
-
import * as i8 from "
|
|
6
|
+
import * as i4 from "../directives/custom-directives.module";
|
|
7
|
+
import * as i5 from "@angular/material/paginator";
|
|
8
|
+
import * as i6 from "@ng-bootstrap/ng-bootstrap";
|
|
9
|
+
import * as i7 from "@angular/material/radio";
|
|
10
|
+
import * as i8 from "../shared/shared-components.module";
|
|
11
|
+
import * as i9 from "@spartacus/core";
|
|
11
12
|
export declare class MyTeamModule {
|
|
12
13
|
constructor(parentModule?: MyTeamModule);
|
|
13
14
|
static forRoot(environment: any): ModuleWithProviders<MyTeamModule>;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MyTeamModule, [{ optional: true; skipSelf: true; }]>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MyTeamModule, [typeof i1.MyTeamComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MyTeamModule, [typeof i1.MyTeamComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.CustomDirectivesModule, typeof i5.MatPaginatorModule, typeof i6.NgbModule, typeof i7.MatRadioModule, typeof i8.SharedComponentsModule, typeof i6.NgbToastModule, typeof i9.ConfigModule], never>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<MyTeamModule>;
|
|
17
18
|
}
|
|
@@ -76,6 +76,9 @@ export declare const ADD_TO_CART: (cartId?: any) => {
|
|
|
76
76
|
export declare const Saved_Cart_For_Later: (cartId?: any) => {
|
|
77
77
|
url: string;
|
|
78
78
|
};
|
|
79
|
+
export declare const Get_Saved_Carts: () => {
|
|
80
|
+
url: string;
|
|
81
|
+
};
|
|
79
82
|
export declare const Cart_Clone_And_Save: (cartId?: any) => {
|
|
80
83
|
url: string;
|
|
81
84
|
};
|