ng-easycommerce-v18 0.2.24 → 0.2.26

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.
@@ -18,11 +18,12 @@ export declare class OrderEcComponent implements OnInit {
18
18
  hideTaxes: boolean;
19
19
  channelConfig: any;
20
20
  numberOrder: any;
21
+ orderObj: any;
21
22
  ngOnInit(): void;
22
23
  getUrlBase(): string;
23
24
  back(): void;
24
25
  toDate(date: any, format: any): string;
25
- repeatOrder(order: any): void;
26
+ repeatOrder(): void;
26
27
  mediaUrl: () => string;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderEcComponent, never>;
28
29
  static ɵcmp: i0.ɵɵComponentDeclaration<OrderEcComponent, "app-order-ec", never, {}, {}, never, never, true, never>;
@@ -34,6 +34,7 @@ export declare class CollectionEcComponent implements OnInit {
34
34
  constructor();
35
35
  getProducts(): void;
36
36
  onScroll(): void;
37
+ productHasStock(product: Product): boolean;
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<CollectionEcComponent, never>;
38
39
  static ɵcmp: i0.ɵɵComponentDeclaration<CollectionEcComponent, "lib-collection-ec", never, { "optionsFilters": { "alias": "optionsFilters"; "required": false; }; }, {}, never, never, true, never>;
39
40
  }
@@ -11,6 +11,7 @@ export declare class CartService {
11
11
  private _channelService;
12
12
  private _consts;
13
13
  private _storage;
14
+ private _router;
14
15
  private _cartSubject;
15
16
  private _promotionsSubject;
16
17
  private _couponSubject;
@@ -40,6 +41,7 @@ export declare class CartService {
40
41
  private _cartBaseUrl;
41
42
  updateItemQuantityApi(item_id: any): string;
42
43
  addItemApi(): string;
44
+ addAllItemsApi: () => string;
43
45
  cartItemsApi(): string;
44
46
  deleteItemApi(item_id: string): string;
45
47
  couponApi(): string;
@@ -220,6 +222,7 @@ export declare class CartService {
220
222
  getRemainingCredits: () => Observable<number | undefined>;
221
223
  hasSufficientCreditsForCartTotal: () => boolean;
222
224
  private validatePriceAndCredits;
225
+ addRepeatOrderToCart(items: any[]): void;
223
226
  static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
224
227
  static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
225
228
  }
@@ -57,6 +57,7 @@ export declare class ProductsService {
57
57
  productWithVariantValues: (product: Product, variant: any, optionValue: any) => Product;
58
58
  private getObjectWithVariant;
59
59
  getRelatedProducts(product_id: any): Observable<any>;
60
+ hasStock(product: Product): boolean;
60
61
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductsService, never>;
61
62
  static ɵprov: i0.ɵɵInjectableDeclaration<ProductsService>;
62
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.2.24",
3
+ "version": "0.2.26",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"