simpo-component-library 3.2.62 → 3.2.64
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/sections/authentication-required/authentication-required.component.mjs +22 -9
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +10 -5
- package/fesm2022/simpo-component-library.mjs +28 -12
- 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/authentication-required/authentication-required.component.d.ts +5 -3
- package/lib/ecommerce/sections/cart/cart.component.d.ts +4 -3
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.2.64.tgz +0 -0
- package/simpo-component-library-3.2.62.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): "#ffffff" | "#000000" | "#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): "#ffffff" | "#000000" | "#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(): "#ffffff" | "#000000" | "#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
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RestService } from '../../../services/rest.service';
|
2
|
-
import { Router } from '@angular/router';
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
3
3
|
import { MessageService } from 'primeng/api';
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
5
5
|
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
@@ -14,6 +14,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
14
14
|
private readonly messageService;
|
15
15
|
private readonly storageService;
|
16
16
|
private readonly matDialog;
|
17
|
+
private readonly activatedRoute;
|
17
18
|
private readonly dialogRef;
|
18
19
|
private readonly bottomsheetRef;
|
19
20
|
data?: AuthenticationModel;
|
@@ -40,8 +41,9 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
40
41
|
type: string;
|
41
42
|
active: boolean;
|
42
43
|
}[];
|
43
|
-
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
|
44
|
+
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, activatedRoute: ActivatedRoute, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
|
44
45
|
signUpEnabled: any;
|
46
|
+
proceedToCheckout: boolean;
|
45
47
|
ngOnInit(): void;
|
46
48
|
loginType: "PASSWORD" | "OTP";
|
47
49
|
close(): void;
|
@@ -62,6 +64,6 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
62
64
|
get isMobile(): boolean;
|
63
65
|
get stylesLayout(): LayOutModel;
|
64
66
|
get accentColor(): string;
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
66
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
67
69
|
}
|
@@ -3,7 +3,7 @@ import { CartSectionModal, CartSectionStylesModel } from './cart.modal';
|
|
3
3
|
import BaseSection from '../../../sections/BaseSection';
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
5
5
|
import { CartService } from '../../../services/cart.service';
|
6
|
-
import { Router } from '@angular/router';
|
6
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
7
7
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
8
8
|
import { RestService } from "../../../services/rest.service";
|
9
9
|
import { StorageServiceService } from '../../../services/storage.service';
|
@@ -32,6 +32,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
32
32
|
private readonly storageService;
|
33
33
|
private readonly messageService;
|
34
34
|
private readonly bottomSheet;
|
35
|
+
private readonly activatedRoute;
|
35
36
|
matDialogData: any;
|
36
37
|
dialogRef: MatDialogRef<CartComponent>;
|
37
38
|
data?: CartSectionModal;
|
@@ -43,7 +44,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
43
44
|
isLoading: boolean;
|
44
45
|
styles?: CartSectionStylesModel;
|
45
46
|
currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
|
46
|
-
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet, matDialogData: any, dialogRef: MatDialogRef<CartComponent>);
|
47
|
+
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet, activatedRoute: ActivatedRoute, matDialogData: any, dialogRef: MatDialogRef<CartComponent>);
|
47
48
|
private userDetails;
|
48
49
|
private USER_CART_ITEMS;
|
49
50
|
selectedAddressIdx: number;
|
@@ -81,7 +82,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
81
82
|
get getAddressList(): import("../../styles/user.modal").AddressDetails[];
|
82
83
|
get isMobile(): boolean;
|
83
84
|
get currency(): string;
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
85
86
|
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
86
87
|
}
|
87
88
|
export {};
|
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
17
17
|
style?: PricingSectionStylesModel;
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
|
-
getTextColor(): "#
|
20
|
+
getTextColor(): "#ffffff" | "#000000";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
package/package.json
CHANGED
Binary file
|
Binary file
|