simpo-component-library 1.6.3 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,11 +32,11 @@ export declare class CategoryProductComponent extends BaseSection implements OnI
32
32
  getAllCategoriesById(): void;
33
33
  dataList: Product[];
34
34
  selectCategory(categoryId: string): void;
35
- scrollRight(): void;
36
35
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
37
36
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
38
37
  getPercentage(product: Product): string;
39
38
  getSupportingColor(color: string): string;
39
+ scrollRight(): void;
40
40
  scrollLeft(): void;
41
41
  showRightArrow: boolean;
42
42
  showLeftArrow: boolean;
@@ -24,6 +24,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
24
24
  getCollectionsIds(): void;
25
25
  redirectToListPage(collection: any): void;
26
26
  get stylesLayout(): LayOutModel;
27
+ get isMobile(): boolean;
27
28
  editSection(): void;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
29
30
  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>;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { FeaturedProductContentModal, FeaturedProductModal, FeaturedProductStylesModel } from './featured-products.modal';
3
3
  import { Product, ItemVariant } from '../../styles/product.modal';
4
4
  import { EventsService } from '.././../../services/events.service';
@@ -33,6 +33,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
33
33
  content?: FeaturedProductContentModal;
34
34
  styles?: FeaturedProductStylesModel;
35
35
  button?: ButtonModel;
36
+ containerRef: ElementRef<HTMLDivElement> | undefined;
36
37
  private _eventSubscriber;
37
38
  constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, cartService: CartService, bottomSheet: MatBottomSheet, storageService: StorageServiceService, messageService: MessageService);
38
39
  screenWidth: number;
@@ -54,6 +55,11 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
54
55
  isItemOutOfStock(product: Product): boolean;
55
56
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
56
57
  selectVarient(product: Product, varient: ItemVariant): void;
58
+ scrollRight(): void;
59
+ scrollLeft(): void;
60
+ showRightArrow: boolean;
61
+ showLeftArrow: boolean;
62
+ updateArrows(): void;
57
63
  get currency(): string;
58
64
  get isMobile(): boolean;
59
65
  private getVarientQuantity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file