simpo-component-library 1.4.112 → 1.4.113
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/pagnination/pagnination.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +14 -5
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +11 -9
- package/esm2022/lib/services/rest.service.mjs +13 -1
- package/fesm2022/simpo-component-library.mjs +38 -15
- 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-desc/product-desc.component.d.ts +2 -0
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +2 -0
- package/package.json +1 -1
- package/simpo-component-library-1.4.113.tgz +0 -0
- package/simpo-component-library-1.4.112.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
|
}
|
|
@@ -46,7 +46,9 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
46
46
|
removeToFavourite(): void;
|
|
47
47
|
get getFeatureProductData(): FeaturedProductModal;
|
|
48
48
|
getProductByCategory(): void;
|
|
49
|
+
getProductByCollection(): void;
|
|
49
50
|
get currency(): string;
|
|
51
|
+
get isItemLowStock(): boolean;
|
|
50
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
|
51
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", 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; }; }, {}, never, never, true, never>;
|
|
52
54
|
}
|
|
@@ -23,7 +23,7 @@ export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
|
23
23
|
private USER_WISHLIST_ITEMS;
|
|
24
24
|
wishlistInfo: any;
|
|
25
25
|
ngOnInit(): void;
|
|
26
|
-
|
|
26
|
+
moveToCart(product: OrderedItems): void;
|
|
27
27
|
getWishlistIndexDBData(): void;
|
|
28
28
|
deleteFromWhislist(product: OrderedItems): void;
|
|
29
29
|
addToFav(item: any, type: 'ADD' | 'SUBSTRACT'): 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(): "#ffffff" | "#000000";
|
|
19
19
|
get headingSpace(): SPACING;
|
|
20
20
|
editSection(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
@@ -16,6 +16,7 @@ export declare class RestService implements OnDestroy {
|
|
|
16
16
|
getAllCollections(): Observable<any>;
|
|
17
17
|
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<Object>;
|
|
18
18
|
getProductByCategoryId(categoryId: string): Observable<Object>;
|
|
19
|
+
getProductByCollectionId(collectionId: string): Observable<Object>;
|
|
19
20
|
generateOTP(mobile: string, countryCode: string): Observable<Object>;
|
|
20
21
|
verifyOTP(mobile: string, otp: string): Observable<Object>;
|
|
21
22
|
resendOTP(mobile: string, countryCode: string): Observable<Object>;
|
|
@@ -27,6 +28,7 @@ export declare class RestService implements OnDestroy {
|
|
|
27
28
|
updateProfile(payload: any): Observable<Object>;
|
|
28
29
|
getUserOrders(payload: any): Observable<Object>;
|
|
29
30
|
toggleItemCartToFav(): void;
|
|
31
|
+
moveWishlistToCart(): Observable<Object>;
|
|
30
32
|
createPaymentToken(payload: any): Observable<Object>;
|
|
31
33
|
refundPayment(orderId: string, payload: any): Observable<Object>;
|
|
32
34
|
checkPaymentStatus(payload: any): Observable<Object>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|