ng-miam 4.7.2 → 4.7.4

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.
@@ -10,6 +10,19 @@ import { MediaMatcher } from '@angular/cdk/layout';
10
10
  import { AnalyticsService } from '../../_services/analytics.service';
11
11
  import { EventTracerComponent } from '../../_components/abstracts/event-tracer.component';
12
12
  import * as i0 from "@angular/core";
13
+ interface Category {
14
+ key: string;
15
+ title: string;
16
+ subtitle: string;
17
+ filters: {
18
+ additionalFilters: {
19
+ filters: {
20
+ packages: string;
21
+ };
22
+ title: string;
23
+ };
24
+ };
25
+ }
13
26
  export declare class RecipeCatalogComponent extends EventTracerComponent implements AfterViewInit, OnInit, OnDestroy {
14
27
  cdr: ChangeDetectorRef;
15
28
  recipeTypesService: RecipeTypeService;
@@ -41,7 +54,7 @@ export declare class RecipeCatalogComponent extends EventTracerComponent impleme
41
54
  filters: RecipeFilters;
42
55
  isFilterCollapsed: boolean;
43
56
  icon: typeof Icon;
44
- categories: any[];
57
+ categories: Category[];
45
58
  creatingRecipe: boolean;
46
59
  recipeToUpdate: Recipe;
47
60
  filterToRemove: string;
@@ -91,3 +104,4 @@ export declare class RecipeCatalogComponent extends EventTracerComponent impleme
91
104
  static ɵfac: i0.ɵɵFactoryDef<RecipeCatalogComponent, never>;
92
105
  static ɵcmp: i0.ɵɵComponentDefWithMeta<RecipeCatalogComponent, "ng-miam-recipe-catalog", never, { "headerPictureUrl": "headerPictureUrl"; "homeTitlePictureUrl": "homeTitlePictureUrl"; "initialRoute": "initialRoute"; "filtersPosition": "filtersPosition"; "homeLabel": "homeLabel"; "displayPricing": "displayPricing"; "recipeAddedToastText": "recipeAddedToastText"; "customFilters": "customFilters"; }, {}, never, never>;
93
106
  }
107
+ export {};
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, ElementRef, QueryList, AfterViewInit, SimpleChanges, OnChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, ElementRef, QueryList, SimpleChanges, OnChanges } from '@angular/core';
2
2
  import { BasketsService } from '../../_services/baskets.service';
3
3
  import { Subscription } from 'rxjs';
4
4
  import { Icon } from '../../_types/icon.enum';
@@ -7,7 +7,7 @@ import { ContextService } from '../../_services';
7
7
  import { EventTracerComponent } from '../../_components/abstracts/event-tracer.component';
8
8
  import { AnalyticsService } from '../../_services/analytics.service';
9
9
  import * as i0 from "@angular/core";
10
- export declare class RecipeTagsComponent extends EventTracerComponent implements OnChanges, AfterViewInit, OnDestroy {
10
+ export declare class RecipeTagsComponent extends EventTracerComponent implements OnChanges, OnDestroy {
11
11
  private cdr;
12
12
  private basketService;
13
13
  private contexteservice;
@@ -28,7 +28,6 @@ export declare class RecipeTagsComponent extends EventTracerComponent implements
28
28
  constructor(cdr: ChangeDetectorRef, basketService: BasketsService, contexteservice: ContextService, analyticsService: AnalyticsService);
29
29
  currentPath(): string;
30
30
  ngOnChanges(simpleChanges: SimpleChanges): void;
31
- ngAfterViewInit(): void;
32
31
  ngOnDestroy(): void;
33
32
  /**
34
33
  * This function detect and count wrapped item below the fist row
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-miam",
3
- "version": "4.7.2",
3
+ "version": "4.7.4",
4
4
  "description": "Angular library to facilitate the interactions with Miam API",
5
5
  "author": "Cesar Tonnoir <cesar.tonnoir@miam.tech>",
6
6
  "repository": {