simpo-component-library 1.4.128 → 1.4.130
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/featured-products/featured-products.component.mjs +4 -3
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +18 -13
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +6 -3
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +5 -4
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +5 -3
- package/esm2022/lib/services/cart.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +49 -35
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +4 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -0
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +3 -2
- package/lib/services/cart.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-1.4.130.tgz +0 -0
- package/simpo-component-library-1.4.128.tgz +0 -0
|
@@ -21,6 +21,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
|
21
21
|
index?: number;
|
|
22
22
|
isRelatedProduct: boolean;
|
|
23
23
|
isLoading: boolean;
|
|
24
|
+
filterLoading: boolean;
|
|
24
25
|
edit?: boolean;
|
|
25
26
|
delete?: boolean;
|
|
26
27
|
changeDetailProduct: EventEmitter<Product>;
|
|
@@ -9,6 +9,7 @@ import { CartService } from '../../../services/cart.service';
|
|
|
9
9
|
import { FeaturedProductModal } from '../featured-products/featured-products.modal';
|
|
10
10
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
11
11
|
import { MessageService } from 'primeng/api';
|
|
12
|
+
import { Meta, Title } from '@angular/platform-browser';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class ProductDescComponent extends BaseSection {
|
|
14
15
|
private platformId;
|
|
@@ -19,6 +20,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
19
20
|
private readonly cartService;
|
|
20
21
|
private readonly storageService;
|
|
21
22
|
private readonly messageService;
|
|
23
|
+
private readonly metaTagService;
|
|
24
|
+
private readonly titleService;
|
|
22
25
|
data?: ProductDescModal;
|
|
23
26
|
responseData: Product;
|
|
24
27
|
index?: number;
|
|
@@ -26,7 +29,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
26
29
|
delete?: boolean;
|
|
27
30
|
isLoading: boolean;
|
|
28
31
|
relatedProductData: Product[];
|
|
29
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService);
|
|
32
|
+
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title);
|
|
30
33
|
buttonId?: string;
|
|
31
34
|
button?: ButtonModel;
|
|
32
35
|
styles?: ProductDescStylesModal;
|
|
@@ -54,6 +54,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
54
54
|
pageNo: number;
|
|
55
55
|
size: number;
|
|
56
56
|
searchTxt: string;
|
|
57
|
+
filterLoading: boolean;
|
|
57
58
|
ngOnInit(): void;
|
|
58
59
|
filterByCategoryCollectionParam(qCategories: any, qCollections: any): void;
|
|
59
60
|
getAllCategories(): void;
|
|
@@ -6,6 +6,7 @@ import { RestService } from '../../../services/rest.service';
|
|
|
6
6
|
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
|
7
7
|
import BaseSection from '../../../sections/BaseSection';
|
|
8
8
|
import { MessageService } from 'primeng/api';
|
|
9
|
+
import { Cart } from '../../styles/cart.modal';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
11
12
|
private readonly cartService;
|
|
@@ -13,7 +14,7 @@ export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
|
13
14
|
private readonly storageService;
|
|
14
15
|
private readonly restService;
|
|
15
16
|
private readonly messageService;
|
|
16
|
-
responseData?:
|
|
17
|
+
responseData?: Cart;
|
|
17
18
|
data?: any;
|
|
18
19
|
index?: number;
|
|
19
20
|
edit?: boolean;
|
|
@@ -28,7 +29,7 @@ export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
|
28
29
|
moveToCart(product: OrderedItems): void;
|
|
29
30
|
getWishlistIndexDBData(): void;
|
|
30
31
|
deleteFromWhislist(product: OrderedItems): void;
|
|
31
|
-
addToFav(item:
|
|
32
|
+
addToFav(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
|
|
32
33
|
get currency(): string;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<WhislistComponent, never>;
|
|
34
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<WhislistComponent, "simpo-whislist", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -11,6 +11,7 @@ export declare class CartService {
|
|
|
11
11
|
addItemFromCartPage(product: OrderedItems, userCart: any): import("rxjs").Observable<Object>;
|
|
12
12
|
addItemToCart(product: Product | OrderedItems): void | IDBRequest<IDBValidKey>;
|
|
13
13
|
addItemToFavourite(product: Product): void;
|
|
14
|
+
addOrderedItemToFavourite(orderedItem: OrderedItems): void;
|
|
14
15
|
removeItemFromFavourite(product: Product): void;
|
|
15
16
|
removeItemFromCart(product: Product | OrderedItems): void;
|
|
16
17
|
getItemIdxJSON(id: string, type: 'FAVOURITE' | 'CART'): Promise<IDBRequest<any>>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|