simpo-component-library 1.6.51 → 1.6.53
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +6 -2
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +7 -4
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +12 -5
- 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/product-category-list/product-category-list.component.d.ts +2 -1
- package/lib/ecommerce/styles/user.modal.d.ts +5 -5
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +2 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.52.tgz +0 -0
- package/simpo-component-library-1.6.53.tgz +0 -0
- package/simpo-component-library-1.6.47.tgz +0 -0
- package/simpo-component-library-1.6.48.tgz +0 -0
- package/simpo-component-library-1.6.49.tgz +0 -0
- package/simpo-component-library-1.6.50.tgz +0 -0
- package/simpo-component-library-1.6.51.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
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import BaseSection from '../../../sections/BaseSection';
|
3
3
|
import { RestService } from '../../../services/rest.service';
|
4
4
|
import { Category } from '../../styles/category.modal';
|
@@ -21,6 +21,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
|
|
21
21
|
delete?: boolean;
|
22
22
|
customClass?: string;
|
23
23
|
styles?: ProductCategoryListStylesModal;
|
24
|
+
productListContainer: ElementRef<HTMLDivElement> | undefined;
|
24
25
|
categories: Category[];
|
25
26
|
productList: Product[];
|
26
27
|
USER_CART: OrderedItems[];
|
@@ -36,12 +36,12 @@ export interface Geolocation {
|
|
36
36
|
longitude: number;
|
37
37
|
}
|
38
38
|
export interface DeviceInfo {
|
39
|
-
deviceId
|
39
|
+
deviceId?: string;
|
40
40
|
firebaseToken: string;
|
41
|
-
os
|
42
|
-
osVersion
|
43
|
-
model
|
44
|
-
brand
|
41
|
+
os?: string;
|
42
|
+
osVersion?: string;
|
43
|
+
model?: string;
|
44
|
+
brand?: string;
|
45
45
|
}
|
46
46
|
export declare type ADDRESS_TYPE = "HOME" | "WORK" | "OTHER";
|
47
47
|
export declare type GENDER = "MALE" | "FEMALE" | "OTHERS";
|
@@ -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>;
|
@@ -3,6 +3,7 @@ import { OnDestroy } from "@angular/core";
|
|
3
3
|
import { Observable } from "rxjs";
|
4
4
|
import { EventsService } from "../../public-api";
|
5
5
|
import { Review } from "../ecommerce/styles/review.modal";
|
6
|
+
import { DeviceInfo } from "../ecommerce/styles/user.modal";
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export declare class RestService implements OnDestroy {
|
8
9
|
private readonly http;
|
@@ -32,7 +33,7 @@ export declare class RestService implements OnDestroy {
|
|
32
33
|
addReview(payload: Review): Observable<Object>;
|
33
34
|
getAllReviews(productId: string): Observable<Object>;
|
34
35
|
generateOTP(mobile: string, countryCode: string): Observable<Object>;
|
35
|
-
verifyOTP(mobile: string, otp: string): Observable<Object>;
|
36
|
+
verifyOTP(mobile: string, otp: string, deviceInfo: DeviceInfo): Observable<Object>;
|
36
37
|
resendOTP(mobile: string, countryCode: string): Observable<Object>;
|
37
38
|
addItemToDB(userCart: any): Observable<Object>;
|
38
39
|
getUserItems(userId: string, cartType: 'CART' | 'WISHLIST'): Observable<Object>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|