simpo-component-library 1.5.31 → 1.5.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,7 @@ export interface FeaturedCategoryModal {
8
8
  }
9
9
  export interface FeaturedCategoryContentModal {
10
10
  inputText: InputTextModel[];
11
+ collectionIds?: string[];
11
12
  }
12
13
  export interface FeaturedCategoryStylesModel extends StylesModel {
13
14
  maximumProduct: number;
@@ -21,8 +21,8 @@ export declare class FeaturedCollectionComponent extends BaseSection {
21
21
  constructor(platformId: Object, router: Router, restService: RestService, _eventService: EventsService);
22
22
  ngOnInit(): void;
23
23
  getSliceParameters(): number[];
24
+ getCollectionsIds(): void;
24
25
  redirectToListPage(collection: string): void;
25
- getAllCollections(): void;
26
26
  editSection(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", 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>;
@@ -5,7 +5,7 @@ import { Category } from '../../styles/category.modal';
5
5
  import { ItemVariant, Product } from '../../styles/product.modal';
6
6
  import { OrderedItems } from '../../styles/OrderedItems.modal';
7
7
  import { CartService } from '../../../services/cart.service';
8
- import { CategoryProductModal } from '../category-product/category-product.model';
8
+ import { CategoryProductContentModal, CategoryProductModal, CategoryProductStylesModel } from '../category-product/category-product.model';
9
9
  import { ActivatedRoute } from '@angular/router';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class ProductCategoryListComponent extends BaseSection implements OnInit, OnDestroy {
@@ -17,6 +17,8 @@ export declare class ProductCategoryListComponent extends BaseSection implements
17
17
  index?: number;
18
18
  edit?: boolean;
19
19
  delete?: boolean;
20
+ styles?: CategoryProductStylesModel;
21
+ content?: CategoryProductContentModal;
20
22
  categories: Category[];
21
23
  productList: Product[];
22
24
  USER_CART: OrderedItems[];
@@ -34,6 +34,7 @@ export declare class EventsService implements OnInit {
34
34
  openBlogListEvent: EventEmitter<unknown>;
35
35
  toggleEditorEvent: EventEmitter<boolean>;
36
36
  closeEditorEvent: EventEmitter<false>;
37
+ wrapDirection: EventEmitter<string>;
37
38
  stopCarouselEvent: EventEmitter<any>;
38
39
  redirectToPage: EventEmitter<unknown>;
39
40
  addToCart: EventEmitter<unknown>;
@@ -41,6 +42,7 @@ export declare class EventsService implements OnInit {
41
42
  featureCollectionList: EventEmitter<unknown>;
42
43
  environmentType: EventEmitter<string>;
43
44
  categoryProductList: EventEmitter<string>;
45
+ collectionsListEvent: EventEmitter<string[]>;
44
46
  showLoadingScreen: EventEmitter<boolean>;
45
47
  cashFreeEvent: EventEmitter<unknown>;
46
48
  addressAddedIdx: EventEmitter<number>;
@@ -14,6 +14,7 @@ export declare class RestService implements OnDestroy {
14
14
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
15
15
  getCategoriesByCollectionId(collectionId: string): Observable<any>;
16
16
  getProductDetails(productId?: string | null): Observable<any>;
17
+ getCollectionByIds(collectionIds: string[]): Observable<Object>;
17
18
  getAllCategories(): Observable<any>;
18
19
  getAllCollections(): Observable<any>;
19
20
  getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",