simpo-component-library 1.4.20 → 1.4.21
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/esm2022/lib/ecommerce/json/user-cart.json +7 -0
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +19 -13
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
- package/esm2022/lib/services/cart.service.mjs +7 -1
- package/fesm2022/simpo-component-library.mjs +27 -8
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +3 -1
- package/lib/ecommerce/styles/cart.modal.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/storage.service.d.ts +7 -0
- package/package.json +1 -1
- package/simpo-component-library-1.4.21.tgz +0 -0
|
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
|
14
|
-
getTextColor(bgColor: string): "#
|
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
15
15
|
applyButtonStyleChanges(): void;
|
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
18
|
-
getTextColor(bgColor: string): "#
|
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
19
19
|
buttonStyleSubscription?: Subscription;
|
|
20
20
|
buttonStyleChangeCheck(): void;
|
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
applyColor(): void;
|
|
14
14
|
bgColorChangeCheck(): void;
|
|
15
|
-
getTextColor(): "#
|
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -6,6 +6,7 @@ import { Router } from '@angular/router';
|
|
|
6
6
|
import { MatDialog } from '@angular/material/dialog';
|
|
7
7
|
import { RestService } from "../../../services/rest.service";
|
|
8
8
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
9
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class CartComponent extends BaseSection {
|
|
11
12
|
private readonly _eventService;
|
|
@@ -14,6 +15,7 @@ export declare class CartComponent extends BaseSection {
|
|
|
14
15
|
private readonly restService;
|
|
15
16
|
private readonly matDialog;
|
|
16
17
|
private readonly storageService;
|
|
18
|
+
private readonly cookieService;
|
|
17
19
|
data?: CartSectionModal;
|
|
18
20
|
responseData?: any;
|
|
19
21
|
index?: number;
|
|
@@ -22,7 +24,7 @@ export declare class CartComponent extends BaseSection {
|
|
|
22
24
|
selectedAddressIdx: number;
|
|
23
25
|
styles?: CartSectionStylesModel;
|
|
24
26
|
currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
|
|
25
|
-
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService);
|
|
27
|
+
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, cookieService: CookieService);
|
|
26
28
|
ngOnInit(): void;
|
|
27
29
|
proceedToCheckout(): void;
|
|
28
30
|
proceedToListPage(): void;
|
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
15
15
|
style?: PricingSectionStylesModel;
|
|
16
16
|
constructor(_eventService: EventsService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
|
-
getTextColor(): "#
|
|
18
|
+
getTextColor(): "#000000" | "#ffffff";
|
|
19
19
|
get headingSpace(): SPACING;
|
|
20
20
|
editSection(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
@@ -38,6 +38,13 @@ export declare class StorageServiceService {
|
|
|
38
38
|
igstValue: number;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
+
userDetails: {
|
|
42
|
+
userId: string;
|
|
43
|
+
userName: string;
|
|
44
|
+
mobile: string;
|
|
45
|
+
email: string;
|
|
46
|
+
pinCode: string;
|
|
47
|
+
};
|
|
41
48
|
locationDetails: {
|
|
42
49
|
countryId: string;
|
|
43
50
|
cityId: string;
|
package/package.json
CHANGED
|
Binary file
|