@esolve/ng-esolve-connect 0.14.0 → 0.14.1

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.
@@ -28,5 +28,5 @@ export declare class EsolveCartStockItem {
28
28
  */
29
29
  get original_image_src(): string;
30
30
  constructor(code: string, name: string, sef_name: string, description: string, active: boolean, items_in_pack: number, delivery_category: string, image_name: string);
31
- private generateImagePath;
31
+ getImagePath(image_size: 'tiny' | 'thumb' | 'small' | 'big' | 'original'): string;
32
32
  }
@@ -20,5 +20,5 @@ export declare class EsolveCategoryTreeItem implements EsolveSeoDetails {
20
20
  get thumbnail_image_src(): string;
21
21
  get tiny_image_src(): string;
22
22
  constructor(type: 'category' | 'subcategory', esolve_id: string | number, parent_id: string, description: string, sef_description: string, short_description: string, sort_priority: number, active: boolean, display_only: boolean, image_name: string, seo_title: string, seo_keywords: string, seo_description: string, children?: EsolveCategoryTreeItem[]);
23
- private generateImagePath;
23
+ getImagePath(image_size: 'small' | 'thumb' | 'tiny'): string;
24
24
  }
@@ -12,9 +12,10 @@ export declare class EsolveManufacturer implements EsolveSeoDetails {
12
12
  image_name: string;
13
13
  seo_details: EsolveSeoInfo;
14
14
  private image_path;
15
+ get original_image_src(): string;
15
16
  get small_image_src(): string;
16
17
  get thumbnail_image_src(): string;
17
18
  get tiny_image_src(): string;
18
19
  constructor(id: number, manufacturer: string, sef_manufacturer: string, title: string, article: string, sort_priority: number, is_active: boolean, featured: boolean, image_name: string, seo_title?: string, seo_keywords?: string, seo_description?: string);
19
- private generateImagePath;
20
+ getImagePath(image_size: 'small' | 'thumb' | 'tiny' | 'original'): string;
20
21
  }
@@ -15,5 +15,5 @@ export declare class EsolveRange implements EsolveSeoDetails {
15
15
  private image_path;
16
16
  get image_src(): string;
17
17
  constructor(id: number, range: string, sef_range: string, manufacturers_id: number, title: string, article: string, is_active: boolean, featured: boolean, sort_priority: number, image_name: string, seo_title?: string, seo_keywords?: string, seo_description?: string);
18
- private generateImagePath;
18
+ getImagePath(): string;
19
19
  }
@@ -94,5 +94,5 @@ export declare class EsolveStockItemBase<T = EsolveGenericCustomFields> implemen
94
94
  */
95
95
  get original_image_src(): string;
96
96
  constructor(record?: Partial<EsolveStockBaseRecord<T>>);
97
- private generateImagePath;
97
+ getImagePath(image_size: 'tiny' | 'thumb' | 'small' | 'big' | 'original'): string;
98
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esolve/ng-esolve-connect",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "An Angular library that speaks to an eSolve instance's API",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=12.0.0",