simpo-component-library 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +7 -4
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +21 -3
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +51 -12
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +4 -6
- package/esm2022/lib/ecommerce/styles/review.modal.mjs +2 -0
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- package/esm2022/lib/services/rest.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +99 -40
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +6 -1
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +2 -0
- package/lib/ecommerce/styles/review.modal.d.ts +8 -0
- package/lib/ecommerce/styles/user.modal.d.ts +1 -1
- package/lib/services/rest.service.d.ts +2 -0
- package/package.json +1 -1
- package/simpo-component-library-1.5.9.tgz +0 -0
@@ -34,6 +34,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
34
34
|
varients: Map<string, string[]>;
|
35
35
|
selectedVarient: Map<string, string>;
|
36
36
|
relatedProductData: Product[];
|
37
|
+
productReview: number;
|
37
38
|
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet);
|
38
39
|
buttonId?: string;
|
39
40
|
button?: ButtonModel;
|
@@ -43,6 +44,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
43
44
|
private USER_WISHLIST;
|
44
45
|
itemImages: ItemImage[];
|
45
46
|
ngOnInit(): void;
|
47
|
+
varientLoading: boolean;
|
46
48
|
selectVarient(key: string, value: string): void;
|
47
49
|
getItemVarient(): ItemVariant | null;
|
48
50
|
routeToHome(): void;
|
@@ -60,7 +62,10 @@ export declare class ProductDescComponent extends BaseSection {
|
|
60
62
|
getProductByCollection(): void;
|
61
63
|
changeProduct(product: Product): void;
|
62
64
|
getKeyByIdx(property: any, index: number): string;
|
63
|
-
isVarientAvailable(): boolean;
|
65
|
+
isVarientAvailable(varient: any): boolean;
|
66
|
+
reviewTitle: string;
|
67
|
+
reviewDescription: string;
|
68
|
+
addProductReview(): void;
|
64
69
|
private getVarientQuantity;
|
65
70
|
private isVarientPresentInWishtlist;
|
66
71
|
editSection(): void;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { FooterSocialLinkModel } from "../../../sections/footer-section/footer-section.modal";
|
1
2
|
import { AnimationModel, BackgroundModel, InputTextModel, LayOutModel } from "../../../styles/style.model";
|
2
3
|
import { ActionModel } from '../../../styles/style.model';
|
3
4
|
export interface ProductDescModal {
|
@@ -17,5 +18,6 @@ export interface ProductDescStylesModal {
|
|
17
18
|
}
|
18
19
|
export interface ProductDescContentModal {
|
19
20
|
button: string;
|
21
|
+
socialLinks: FooterSocialLinkModel;
|
20
22
|
inputText: InputTextModel[];
|
21
23
|
}
|
@@ -2,6 +2,7 @@ import { HttpClient } from "@angular/common/http";
|
|
2
2
|
import { OnDestroy } from "@angular/core";
|
3
3
|
import { Observable } from "rxjs";
|
4
4
|
import { EventsService } from "../../public-api";
|
5
|
+
import { Review } from "../ecommerce/styles/review.modal";
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class RestService implements OnDestroy {
|
7
8
|
private readonly http;
|
@@ -26,6 +27,7 @@ export declare class RestService implements OnDestroy {
|
|
26
27
|
count: any;
|
27
28
|
data: any;
|
28
29
|
}>;
|
30
|
+
addReview(payload: Review): Observable<Object>;
|
29
31
|
generateOTP(mobile: string, countryCode: string): Observable<Object>;
|
30
32
|
verifyOTP(mobile: string, otp: string): Observable<Object>;
|
31
33
|
resendOTP(mobile: string, countryCode: string): Observable<Object>;
|
package/package.json
CHANGED
Binary file
|