simpo-component-library 1.6.128 → 1.6.130
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +90 -5
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +23 -10
- package/fesm2022/simpo-component-library.mjs +99 -13
- 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 +20 -0
- package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.129.tgz +0 -0
- package/simpo-component-library-1.6.130.tgz +0 -0
- package/simpo-component-library-1.6.127.tgz +0 -0
- package/simpo-component-library-1.6.128.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
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -1,5 +1,25 @@
|
|
1
|
+
import { RestService } from '../../../services/rest.service';
|
2
|
+
import { Router } from '@angular/router';
|
3
|
+
import { MessageService } from 'primeng/api';
|
4
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
1
5
|
import * as i0 from "@angular/core";
|
2
6
|
export declare class AuthenticationRequiredComponent {
|
7
|
+
private readonly restService;
|
8
|
+
private readonly router;
|
9
|
+
private readonly messageService;
|
10
|
+
private readonly storageService;
|
11
|
+
email: string;
|
12
|
+
mobile: string;
|
13
|
+
otp: string;
|
14
|
+
password: string;
|
15
|
+
confPassword: string;
|
16
|
+
userName: string;
|
17
|
+
buttonLoading: boolean;
|
18
|
+
businessId: string | null;
|
19
|
+
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService);
|
20
|
+
login(): void;
|
21
|
+
createAccount(): void;
|
22
|
+
get isMobile(): boolean;
|
3
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, never>;
|
4
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, {}, {}, never, never, true, never>;
|
5
25
|
}
|
@@ -51,7 +51,7 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
51
51
|
cartInfo: any;
|
52
52
|
ngOnInit(): void;
|
53
53
|
getCouponList(): void;
|
54
|
-
removeCoupon(): void;
|
54
|
+
removeCoupon(event: MouseEvent): void;
|
55
55
|
getIndexDBData(): void;
|
56
56
|
proceedToCheckout(): void;
|
57
57
|
goToProductDetails(product: OrderedItems): void;
|
@@ -72,6 +72,7 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
72
72
|
closeDialogRef(): void;
|
73
73
|
applyCoupon(coupon: Coupon): void;
|
74
74
|
calculateCart(): void;
|
75
|
+
getTaxAmount(): number;
|
75
76
|
get getAddressList(): import("../../styles/user.modal").AddressDetails[];
|
76
77
|
get isMobile(): boolean;
|
77
78
|
get currency(): string;
|
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
16
16
|
style?: PricingSectionStylesModel;
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
|
-
getTextColor(): "#
|
19
|
+
getTextColor(): "#000000" | "#ffffff";
|
20
20
|
get headingSpace(): SPACING;
|
21
21
|
editSection(): void;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|