ng-miam 3.6.2 → 3.7.2

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.
@@ -1,4 +1,4 @@
1
- import { InjectionToken, ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵinject, Inject, EventEmitter, ApplicationRef, ɵɵelementStart, ɵɵelement, ɵɵelementEnd, ɵɵnextContext, ɵɵproperty, ɵɵpureFunction2, ɵɵadvance, ɵɵsanitizeUrl, ɵɵpureFunction1, ɵɵelementContainerStart, ɵɵnamespaceSVG, ɵɵelementContainerEnd, ɵɵattribute, ɵɵelementContainer, ɵɵtemplate, ɵɵdirectiveInject, ChangeDetectorRef, ɵɵdefineComponent, ɵɵNgOnChangesFeature, ɵɵtemplateRefExtractor, ɵɵreference, Component, ChangeDetectionStrategy, Input, ɵɵtext, ElementRef, ɵɵdefineDirective, ɵɵlistener, Directive, HostListener, ɵɵdefinePipe, Pipe, ɵɵtextInterpolate, ɵɵgetCurrentView, ɵɵrestoreView, ɵɵpipe, ɵɵpipeBind1, ɵɵtextInterpolate1, Output, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ViewEncapsulation, ViewChild, ɵɵgetInheritedFactory, ɵɵprojection, TemplateRef, ɵɵprojectionDef, ɵɵcontentQuery, ContentChild, ɵɵclassProp, ContentChildren, ɵɵpropertyInterpolate, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule, ɵɵresolveDocument, Injector, ɵɵresolveWindow, ɵɵpureFunction3, ɵɵtextInterpolate2, ViewChildren, ɵɵpipeBind2, ɵɵInheritDefinitionFeature, ɵɵstyleProp, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵpureFunction0, ɵɵsetComponentScope, ComponentFactoryResolver, LOCALE_ID } from '@angular/core';
1
+ import { InjectionToken, ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵinject, Inject, EventEmitter, ApplicationRef, ɵɵelementStart, ɵɵelement, ɵɵelementEnd, ɵɵnextContext, ɵɵproperty, ɵɵpureFunction2, ɵɵadvance, ɵɵsanitizeUrl, ɵɵpureFunction1, ɵɵelementContainerStart, ɵɵnamespaceSVG, ɵɵelementContainerEnd, ɵɵattribute, ɵɵelementContainer, ɵɵtemplate, ɵɵdirectiveInject, ChangeDetectorRef, ɵɵdefineComponent, ɵɵNgOnChangesFeature, ɵɵtemplateRefExtractor, ɵɵreference, Component, ChangeDetectionStrategy, Input, ɵɵtext, ElementRef, ɵɵdefineDirective, ɵɵlistener, Directive, HostListener, ɵɵdefinePipe, Pipe, ɵɵtextInterpolate, ɵɵgetCurrentView, ɵɵrestoreView, ɵɵpropertyInterpolate1, ɵɵpipe, ɵɵpipeBind1, ɵɵtextInterpolate1, Output, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ViewEncapsulation, ViewChild, ɵɵgetInheritedFactory, ɵɵprojection, TemplateRef, ɵɵprojectionDef, ɵɵcontentQuery, ContentChild, ɵɵclassProp, ContentChildren, ɵɵpropertyInterpolate, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule, ɵɵresolveDocument, Injector, ɵɵresolveWindow, ɵɵpureFunction3, ɵɵtextInterpolate2, ViewChildren, ɵɵpipeBind2, ɵɵInheritDefinitionFeature, ɵɵstyleProp, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵpureFunction0, ɵɵsetComponentScope, ComponentFactoryResolver, LOCALE_ID } from '@angular/core';
2
2
  import { NgIf, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgForOf, NgClass, AsyncPipe, DatePipe, NgTemplateOutlet, CommonModule, TitleCasePipe, NgComponentOutlet, NgPlural, NgPluralCase, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, CurrencyPipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe, registerLocaleData } from '@angular/common';
3
3
  import { Resource, DocumentCollection, Service, DocumentResource, NgxJsonapiModule } from 'ngx-jsonapi';
4
4
  import { skipWhile, take, map, tap, switchMap, debounceTime, startWith, catchError, finalize, filter } from 'rxjs/operators';
@@ -1357,14 +1357,14 @@ class IngredientsService extends Service {
1357
1357
  oldIngredientAttribute.unit !== ing.attributes.unit ||
1358
1358
  oldIngredientAttribute.quantity !== ing.attributes.quantity;
1359
1359
  if (hasChange) {
1360
- oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity });
1360
+ oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity, 'picture-url': ing.attributes['picture-url'] });
1361
1361
  ingredientsToSave.push(oldIngredients[oldIndex]);
1362
1362
  }
1363
1363
  }
1364
1364
  else {
1365
1365
  const newIng = this.new();
1366
1366
  delete newIng.id;
1367
- newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity });
1367
+ newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, 'picture-url': ing.attributes['picture-url'] });
1368
1368
  newIng.addRelationship(recipe, 'recipe');
1369
1369
  ingredientsToSave.push(newIng);
1370
1370
  }
@@ -2524,6 +2524,19 @@ class UserService {
2524
2524
  var _a;
2525
2525
  return (_a = this.userInfo$.value) === null || _a === void 0 ? void 0 : _a.forbidProfiling;
2526
2526
  }
2527
+ getUserSupplier() {
2528
+ return this.userInfo$.pipe(skipWhile(userInfo => !userInfo), switchMap((userInfo) => {
2529
+ if (!userInfo.supplierId) {
2530
+ return of(null);
2531
+ }
2532
+ else {
2533
+ return this.suppliersService.get(userInfo.supplierId);
2534
+ }
2535
+ }));
2536
+ }
2537
+ can(permission) {
2538
+ return this.userInfo$.pipe(map(info => { var _a, _b; return (_b = (_a = info === null || info === void 0 ? void 0 : info.app_metadata) === null || _a === void 0 ? void 0 : _a.permissions) === null || _b === void 0 ? void 0 : _b.includes(permission); }));
2539
+ }
2527
2540
  initProvider() {
2528
2541
  return this.userInfo$.pipe(switchMap((userInfo) => {
2529
2542
  var _a;
@@ -2535,16 +2548,6 @@ class UserService {
2535
2548
  var _a, _b;
2536
2549
  this.userRoles$.next(((_b = (_a = this.userInfo$.value) === null || _a === void 0 ? void 0 : _a.app_metadata) === null || _b === void 0 ? void 0 : _b.roles) || []);
2537
2550
  }
2538
- getUserSupplier() {
2539
- return this.userInfo$.pipe(skipWhile(userInfo => !userInfo), switchMap((userInfo) => {
2540
- if (!userInfo.supplierId) {
2541
- return of(null);
2542
- }
2543
- else {
2544
- return this.suppliersService.get(userInfo.supplierId);
2545
- }
2546
- }));
2547
- }
2548
2551
  }
2549
2552
  UserService.ɵfac = function UserService_Factory(t) { return new (t || UserService)(ɵɵinject(HttpClient), ɵɵinject(RecipeProviderService), ɵɵinject(ToastrService), ɵɵinject(SuppliersService)); };
2550
2553
  UserService.ɵprov = ɵɵdefineInjectable({ token: UserService, factory: UserService.ɵfac, providedIn: 'root' });
@@ -4896,31 +4899,70 @@ function ListInputComponent_ul_4_ng_container_1_Template(rf, ctx) { if (rf & 1)
4896
4899
  ɵɵadvance(1);
4897
4900
  ɵɵproperty("ngForOf", ctx_r4.list.controls)("ngForTrackBy", ctx_r4.trackByIndex);
4898
4901
  } }
4899
- function ListInputComponent_ul_4_ng_template_2_li_0_div_12_Template(rf, ctx) { if (rf & 1) {
4902
+ const _c0$1 = function (a0) { return { clickable: a0 }; };
4903
+ function ListInputComponent_ul_4_ng_template_2_li_0_label_12_img_1_Template(rf, ctx) { if (rf & 1) {
4904
+ ɵɵelement(0, "img", 39);
4905
+ } if (rf & 2) {
4906
+ const row_r18 = ɵɵnextContext(2).$implicit;
4907
+ const ctx_r24 = ɵɵnextContext(3);
4908
+ ɵɵproperty("ngClass", ɵɵpureFunction1(2, _c0$1, ctx_r24.ingredientsPictures.editable))("src", row_r18.controls.attributes.controls["picture-url"].value, ɵɵsanitizeUrl);
4909
+ } }
4910
+ function ListInputComponent_ul_4_ng_template_2_li_0_label_12_ng_miam_icon_2_Template(rf, ctx) { if (rf & 1) {
4911
+ ɵɵelement(0, "ng-miam-icon", 40);
4912
+ } if (rf & 2) {
4913
+ const ctx_r25 = ɵɵnextContext(5);
4914
+ ɵɵproperty("iconName", ctx_r25.icon.Picture);
4915
+ } }
4916
+ function ListInputComponent_ul_4_ng_template_2_li_0_label_12_Template(rf, ctx) { if (rf & 1) {
4917
+ ɵɵelementStart(0, "label", 36);
4918
+ ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_label_12_img_1_Template, 1, 4, "img", 37);
4919
+ ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_label_12_ng_miam_icon_2_Template, 1, 1, "ng-miam-icon", 38);
4920
+ ɵɵelementEnd();
4921
+ } if (rf & 2) {
4922
+ const ctx_r27 = ɵɵnextContext();
4923
+ const i_r19 = ctx_r27.index;
4924
+ const row_r18 = ctx_r27.$implicit;
4925
+ const ctx_r20 = ɵɵnextContext(3);
4926
+ ɵɵpropertyInterpolate1("for", "ing-picture-", i_r19, "");
4927
+ ɵɵadvance(1);
4928
+ ɵɵproperty("ngIf", row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value);
4929
+ ɵɵadvance(1);
4930
+ ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) && ctx_r20.ingredientsPictures.editable);
4931
+ } }
4932
+ function ListInputComponent_ul_4_ng_template_2_li_0_input_13_Template(rf, ctx) { if (rf & 1) {
4933
+ const _r29 = ɵɵgetCurrentView();
4934
+ ɵɵelementStart(0, "input", 41);
4935
+ ɵɵlistener("change", function ListInputComponent_ul_4_ng_template_2_li_0_input_13_Template_input_change_0_listener($event) { ɵɵrestoreView(_r29); const row_r18 = ɵɵnextContext().$implicit; const ctx_r28 = ɵɵnextContext(3); return ctx_r28.uploadIngredientPicture($event.target.files, row_r18.controls.attributes.controls["picture-url"]); });
4936
+ ɵɵelementEnd();
4937
+ } if (rf & 2) {
4938
+ const i_r19 = ɵɵnextContext().index;
4939
+ ɵɵpropertyInterpolate1("id", "ing-picture-", i_r19, "");
4940
+ } }
4941
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template(rf, ctx) { if (rf & 1) {
4900
4942
  ɵɵelement(0, "div", 23);
4901
4943
  } }
4902
- function ListInputComponent_ul_4_ng_template_2_li_0_div_13_Template(rf, ctx) { if (rf & 1) {
4944
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_16_Template(rf, ctx) { if (rf & 1) {
4903
4945
  ɵɵelementStart(0, "div", 24);
4904
- ɵɵelement(1, "ng-miam-icon", 33);
4905
- ɵɵelementStart(2, "span", 34);
4946
+ ɵɵelement(1, "ng-miam-icon", 42);
4947
+ ɵɵelementStart(2, "span", 43);
4906
4948
  ɵɵtext(3);
4907
4949
  ɵɵpipe(4, "capitalizeFirstLetter");
4908
4950
  ɵɵelementEnd();
4909
- ɵɵelementStart(5, "span", 34);
4951
+ ɵɵelementStart(5, "span", 43);
4910
4952
  ɵɵtext(6);
4911
4953
  ɵɵelementEnd();
4912
- ɵɵelementStart(7, "span", 34);
4954
+ ɵɵelementStart(7, "span", 43);
4913
4955
  ɵɵtext(8);
4914
4956
  ɵɵelementEnd();
4915
4957
  ɵɵelementEnd();
4916
4958
  } if (rf & 2) {
4917
4959
  const row_r18 = ɵɵnextContext().$implicit;
4918
- const ctx_r21 = ɵɵnextContext(3);
4960
+ const ctx_r23 = ɵɵnextContext(3);
4919
4961
  var tmp_1_0 = null;
4920
4962
  var tmp_2_0 = null;
4921
4963
  var tmp_3_0 = null;
4922
4964
  ɵɵadvance(1);
4923
- ɵɵproperty("iconName", ctx_r21.icon.Grip);
4965
+ ɵɵproperty("iconName", ctx_r23.icon.Grip);
4924
4966
  ɵɵadvance(2);
4925
4967
  ɵɵtextInterpolate(ɵɵpipeBind1(4, 4, row_r18 == null ? null : (tmp_1_0 = row_r18.get("attributes")) == null ? null : tmp_1_0.get("name").value));
4926
4968
  ɵɵadvance(3);
@@ -4929,7 +4971,7 @@ function ListInputComponent_ul_4_ng_template_2_li_0_div_13_Template(rf, ctx) { i
4929
4971
  ɵɵtextInterpolate(row_r18 == null ? null : (tmp_3_0 = row_r18.get("attributes")) == null ? null : tmp_3_0.get("unit").value);
4930
4972
  } }
4931
4973
  function ListInputComponent_ul_4_ng_template_2_li_0_Template(rf, ctx) { if (rf & 1) {
4932
- const _r24 = ɵɵgetCurrentView();
4974
+ const _r34 = ɵɵgetCurrentView();
4933
4975
  ɵɵelementStart(0, "li", 14);
4934
4976
  ɵɵelementStart(1, "div", 27);
4935
4977
  ɵɵelementStart(2, "div", 28);
@@ -4940,17 +4982,21 @@ function ListInputComponent_ul_4_ng_template_2_li_0_Template(rf, ctx) { if (rf &
4940
4982
  ɵɵpipe(6, "async");
4941
4983
  ɵɵpipe(7, "capitalizeFirstLetter");
4942
4984
  ɵɵelementStart(8, "input", 31);
4943
- ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_8_listener($event) { ɵɵrestoreView(_r24); const i_r19 = ctx.index; const ctx_r23 = ɵɵnextContext(3); return ctx_r23.updateQuantityValue($event, i_r19); });
4985
+ ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_8_listener($event) { ɵɵrestoreView(_r34); const i_r19 = ctx.index; const ctx_r33 = ɵɵnextContext(3); return ctx_r33.updateQuantityValue($event, i_r19); });
4944
4986
  ɵɵelementEnd();
4945
4987
  ɵɵelement(9, "input", 32);
4946
4988
  ɵɵpipe(10, "async");
4947
4989
  ɵɵelementEnd();
4948
4990
  ɵɵelementEnd();
4949
- ɵɵelementStart(11, "ng-miam-icon", 20);
4950
- ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_Template_ng_miam_icon_click_11_listener() { ɵɵrestoreView(_r24); const i_r19 = ctx.index; const ctx_r25 = ɵɵnextContext(3); return ctx_r25.delete(i_r19); });
4991
+ ɵɵelementStart(11, "div", 33);
4992
+ ɵɵtemplate(12, ListInputComponent_ul_4_ng_template_2_li_0_label_12_Template, 3, 3, "label", 34);
4993
+ ɵɵtemplate(13, ListInputComponent_ul_4_ng_template_2_li_0_input_13_Template, 1, 1, "input", 35);
4994
+ ɵɵelementStart(14, "ng-miam-icon", 20);
4995
+ ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_Template_ng_miam_icon_click_14_listener() { ɵɵrestoreView(_r34); const i_r19 = ctx.index; const ctx_r35 = ɵɵnextContext(3); return ctx_r35.delete(i_r19); });
4996
+ ɵɵelementEnd();
4997
+ ɵɵtemplate(15, ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template, 1, 0, "div", 21);
4998
+ ɵɵtemplate(16, ListInputComponent_ul_4_ng_template_2_li_0_div_16_Template, 9, 6, "div", 22);
4951
4999
  ɵɵelementEnd();
4952
- ɵɵtemplate(12, ListInputComponent_ul_4_ng_template_2_li_0_div_12_Template, 1, 0, "div", 21);
4953
- ɵɵtemplate(13, ListInputComponent_ul_4_ng_template_2_li_0_div_13_Template, 9, 6, "div", 22);
4954
5000
  ɵɵelementEnd();
4955
5001
  } if (rf & 2) {
4956
5002
  const row_r18 = ctx.$implicit;
@@ -4961,24 +5007,28 @@ function ListInputComponent_ul_4_ng_template_2_li_0_Template(rf, ctx) { if (rf &
4961
5007
  ɵɵadvance(2);
4962
5008
  ɵɵproperty("iconName", ctx_r17.icon.Grip);
4963
5009
  ɵɵadvance(2);
4964
- ɵɵproperty("ngClass", ɵɵpipeBind1(6, 10, ctx_r17.isIngredientReviewed(row_r18["controls"]["attributes"]["controls"]["name"].value)) ? "alert-success" : "alert-danger")("ngModel", ɵɵpipeBind1(7, 12, row_r18["controls"]["attributes"]["controls"]["name"].value))("formControl", row_r18["controls"]["attributes"]["controls"]["name"]);
5010
+ ɵɵproperty("ngClass", ɵɵpipeBind1(6, 12, ctx_r17.isIngredientReviewed(row_r18["controls"]["attributes"]["controls"]["name"].value)) ? "alert-success" : "alert-danger")("ngModel", ɵɵpipeBind1(7, 14, row_r18["controls"]["attributes"]["controls"]["name"].value))("formControl", row_r18["controls"]["attributes"]["controls"]["name"]);
4965
5011
  ɵɵadvance(3);
4966
5012
  ɵɵproperty("ngModel", row_r18["controls"]["attributes"]["controls"]["quantity"].value)("formControl", row_r18["controls"]["attributes"]["controls"]["quantity"]);
4967
5013
  ɵɵadvance(1);
4968
- ɵɵproperty("ngClass", ɵɵpipeBind1(10, 14, ctx_r17.isQuantityReviewed(row_r18["controls"]["attributes"]["controls"]["unit"].value)) ? "alert-success" : "alert-danger")("formControl", row_r18["controls"]["attributes"]["controls"]["unit"]);
4969
- ɵɵadvance(2);
5014
+ ɵɵproperty("ngClass", ɵɵpipeBind1(10, 16, ctx_r17.isQuantityReviewed(row_r18["controls"]["attributes"]["controls"]["unit"].value)) ? "alert-success" : "alert-danger")("formControl", row_r18["controls"]["attributes"]["controls"]["unit"]);
5015
+ ɵɵadvance(3);
5016
+ ɵɵproperty("ngIf", ctx_r17.ingredientsPictures.visible);
5017
+ ɵɵadvance(1);
5018
+ ɵɵproperty("ngIf", ctx_r17.ingredientsPictures.visible && ctx_r17.ingredientsPictures.editable);
5019
+ ɵɵadvance(1);
4970
5020
  ɵɵproperty("iconName", ctx_r17.icon.Trash);
4971
5021
  } }
4972
5022
  function ListInputComponent_ul_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
4973
- ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template, 14, 16, "li", 13);
5023
+ ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template, 17, 18, "li", 13);
4974
5024
  } if (rf & 2) {
4975
5025
  const ctx_r6 = ɵɵnextContext(2);
4976
5026
  ɵɵproperty("ngForOf", ctx_r6.list.controls)("ngForTrackBy", ctx_r6.trackByIndex);
4977
5027
  } }
4978
5028
  function ListInputComponent_ul_4_Template(rf, ctx) { if (rf & 1) {
4979
- const _r27 = ɵɵgetCurrentView();
5029
+ const _r37 = ɵɵgetCurrentView();
4980
5030
  ɵɵelementStart(0, "ul", 10);
4981
- ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { ɵɵrestoreView(_r27); const ctx_r26 = ɵɵnextContext(); return ctx_r26.drop($event); });
5031
+ ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { ɵɵrestoreView(_r37); const ctx_r36 = ɵɵnextContext(); return ctx_r36.drop($event); });
4982
5032
  ɵɵtemplate(1, ListInputComponent_ul_4_ng_container_1_Template, 2, 2, "ng-container", 11);
4983
5033
  ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_Template, 1, 2, "ng-template", null, 12, ɵɵtemplateRefExtractor);
4984
5034
  ɵɵelementEnd();
@@ -4989,9 +5039,9 @@ function ListInputComponent_ul_4_Template(rf, ctx) { if (rf & 1) {
4989
5039
  ɵɵproperty("ngIf", !ctx_r0.ingredientMode)("ngIfElse", _r5);
4990
5040
  } }
4991
5041
  function ListInputComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
4992
- ɵɵelementStart(0, "div", 35);
4993
- ɵɵelement(1, "ng-miam-icon", 36);
4994
- ɵɵelementStart(2, "span", 37);
5042
+ ɵɵelementStart(0, "div", 44);
5043
+ ɵɵelement(1, "ng-miam-icon", 45);
5044
+ ɵɵelementStart(2, "span", 46);
4995
5045
  ɵɵtext(3);
4996
5046
  ɵɵelementEnd();
4997
5047
  ɵɵelementEnd();
@@ -5003,7 +5053,7 @@ function ListInputComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
5003
5053
  ɵɵtextInterpolate1("Oups... c\u2019est vide, commencez \u00E0 ajouter des ", ctx_r2.hint, " !");
5004
5054
  } }
5005
5055
  function ListInputComponent_div_13_Template(rf, ctx) { if (rf & 1) {
5006
- ɵɵelementStart(0, "div", 38);
5056
+ ɵɵelementStart(0, "div", 47);
5007
5057
  ɵɵtext(1);
5008
5058
  ɵɵelementEnd();
5009
5059
  } if (rf & 2) {
@@ -5018,6 +5068,7 @@ class ListInputComponent {
5018
5068
  this.cdr = cdr;
5019
5069
  this.placeholder = '';
5020
5070
  this.list = new FormArray([]);
5071
+ this.ingredientsPictures = { visible: false, editable: false };
5021
5072
  this.icon = Icon;
5022
5073
  this.fillListInput = new FormControl('');
5023
5074
  this.deleteId = new EventEmitter();
@@ -5111,9 +5162,22 @@ class ListInputComponent {
5111
5162
  trackByIndex(index, el) {
5112
5163
  return el;
5113
5164
  }
5165
+ // TODO: size check
5166
+ uploadIngredientPicture(files, ingForm) {
5167
+ if (!files[0] || !ingForm) {
5168
+ return;
5169
+ }
5170
+ const reader = new FileReader();
5171
+ reader.readAsDataURL(files[0]);
5172
+ reader.onload = () => {
5173
+ ingForm.patchValue(reader.result);
5174
+ this.list.markAsDirty();
5175
+ this.cdr.detectChanges();
5176
+ };
5177
+ }
5114
5178
  }
5115
5179
  ListInputComponent.ɵfac = function ListInputComponent_Factory(t) { return new (t || ListInputComponent)(ɵɵdirectiveInject(IngredientsService), ɵɵdirectiveInject(FormBuilder), ɵɵdirectiveInject(ChangeDetectorRef)); };
5116
- ListInputComponent.ɵcmp = ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode", list: "list" }, outputs: { deleteId: "deleteId", orderHasChanged: "orderHasChanged" }, decls: 14, vars: 7, consts: [[1, "miam-list-input"], [1, "miam-list-input__list", 3, "formGroup"], [1, "miam-list-input__list__label"], ["class", "miam-list-input__container m-default-card", "cdkDropList", "", 3, "cdkDropListDropped", 4, "ngIf", "ngIfElse"], ["hintPlaceholder", ""], [1, "miam-list-input__actions"], ["matInput", "", "cdkTextareaAutosize", "", "cdkAutosizeMinRows", "4", "cdkAutosizeMaxRows", "4", 1, "m-input", 3, "formControl", "keydown.enter"], [1, "m-button-primary", 3, "mousedown", "mouseup"], [1, "miam-list-input__instructions__direction"], ["class", "miam-list-input__actions__instructions", 4, "ngIf"], ["cdkDropList", "", 1, "miam-list-input__container", "m-default-card", 3, "cdkDropListDropped"], [4, "ngIf", "ngIfElse"], ["ingredientRow", ""], ["cdkDrag", "", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", ""], [3, "formGroup"], [1, "miam-list-input__container__row", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 1, "miam-list-input__row__grip", 3, "iconName"], ["cdkTextareaAutosize", "true", "cdkAutosizeMinRows", "1", "cdkAutosizeMaxRows", "50", "formControlName", "description", 1, "m-input", 3, "blur"], ["autosize", "cdkTextareaAutosize"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName", "click"], ["class", "miam-list-input__row__placeholder", 4, "cdkDragPlaceholder"], ["class", "miam-list-input__row__preview m-default-card", 4, "cdkDragPreview"], [1, "miam-list-input__row__placeholder"], [1, "miam-list-input__row__preview", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 3, "iconName"], [1, "miam-list-input__preview__text", "m-body-typo"], [1, "miam-list-input__container__row", "m-default-card", 3, "formGroupName"], [1, "miam-list-input__row__left"], [1, "miam-list-input__row__right"], [1, "m-input", 3, "ngClass", "ngModel", "formControl"], ["maxSize", "4", "autoWidthInput", "", 1, "m-input", 3, "ngModel", "formControl", "ngModelChange"], ["maxSize", "8", "autoWidthInput", "", 1, "m-input", 3, "ngClass", "formControl"], ["primaryColor", "var(--m-color-grey-text-dark)", "cdkDragHandle", "", 3, "iconName"], [1, "m-body-typo"], [1, "miam-list-input__placeholder", "miam-list-input__container", "m-default-card"], ["primaryColor", "var(--m-color-grey-text-dark)", 3, "width", "height", "iconName"], [1, "miam-list-input__placeholder__hint", "m-body-typo"], [1, "miam-list-input__actions__instructions"]], template: function ListInputComponent_Template(rf, ctx) { if (rf & 1) {
5180
+ ListInputComponent.ɵcmp = ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode", list: "list", ingredientsPictures: "ingredientsPictures" }, outputs: { deleteId: "deleteId", orderHasChanged: "orderHasChanged" }, decls: 14, vars: 7, consts: [[1, "miam-list-input"], [1, "miam-list-input__list", 3, "formGroup"], [1, "miam-list-input__list__label"], ["class", "miam-list-input__container m-default-card", "cdkDropList", "", 3, "cdkDropListDropped", 4, "ngIf", "ngIfElse"], ["hintPlaceholder", ""], [1, "miam-list-input__actions"], ["matInput", "", "cdkTextareaAutosize", "", "cdkAutosizeMinRows", "4", "cdkAutosizeMaxRows", "4", 1, "m-input", 3, "formControl", "keydown.enter"], [1, "m-button-primary", 3, "mousedown", "mouseup"], [1, "miam-list-input__instructions__direction"], ["class", "miam-list-input__actions__instructions", 4, "ngIf"], ["cdkDropList", "", 1, "miam-list-input__container", "m-default-card", 3, "cdkDropListDropped"], [4, "ngIf", "ngIfElse"], ["ingredientRow", ""], ["cdkDrag", "", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", ""], [3, "formGroup"], [1, "miam-list-input__container__row", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 1, "miam-list-input__row__grip", 3, "iconName"], ["cdkTextareaAutosize", "true", "cdkAutosizeMinRows", "1", "cdkAutosizeMaxRows", "50", "formControlName", "description", 1, "m-input", 3, "blur"], ["autosize", "cdkTextareaAutosize"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName", "click"], ["class", "miam-list-input__row__placeholder", 4, "cdkDragPlaceholder"], ["class", "miam-list-input__row__preview m-default-card", 4, "cdkDragPreview"], [1, "miam-list-input__row__placeholder"], [1, "miam-list-input__row__preview", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 3, "iconName"], [1, "miam-list-input__preview__text", "m-body-typo"], [1, "miam-list-input__container__row", "m-default-card", 3, "formGroupName"], [1, "miam-list-input__row__left"], [1, "miam-list-input__row__right"], [1, "m-input", 3, "ngClass", "ngModel", "formControl"], ["maxSize", "4", "autoWidthInput", "", 1, "m-input", 3, "ngModel", "formControl", "ngModelChange"], ["maxSize", "8", "autoWidthInput", "", 1, "m-input", 3, "ngClass", "formControl"], [1, "miam-list-input__row__controls"], [3, "for", 4, "ngIf"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change", 4, "ngIf"], [3, "for"], ["class", "miam-list-input__row__picture", 3, "ngClass", "src", 4, "ngIf"], ["class", "miam-list-input__row__trash", "primaryColor", "var(--m-color-grey05)", 3, "iconName", 4, "ngIf"], [1, "miam-list-input__row__picture", 3, "ngClass", "src"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change"], ["primaryColor", "var(--m-color-grey-text-dark)", "cdkDragHandle", "", 3, "iconName"], [1, "m-body-typo"], [1, "miam-list-input__placeholder", "miam-list-input__container", "m-default-card"], ["primaryColor", "var(--m-color-grey-text-dark)", 3, "width", "height", "iconName"], [1, "miam-list-input__placeholder__hint", "m-body-typo"], [1, "miam-list-input__actions__instructions"]], template: function ListInputComponent_Template(rf, ctx) { if (rf & 1) {
5117
5181
  ɵɵelementStart(0, "div", 0);
5118
5182
  ɵɵelementStart(1, "div", 1);
5119
5183
  ɵɵelementStart(2, "div", 2);
@@ -5149,7 +5213,7 @@ ListInputComponent.ɵcmp = ɵɵdefineComponent({ type: ListInputComponent, selec
5149
5213
  ɵɵattribute("placeholder", ctx.placeholder);
5150
5214
  ɵɵadvance(5);
5151
5215
  ɵɵproperty("ngIf", ctx.instructions);
5152
- } }, directives: [NgControlStatusGroup, FormGroupDirective, NgIf, CdkTextareaAutosize, DefaultValueAccessor, NgControlStatus, FormControlDirective, CdkDropList, NgForOf, CdkDrag, IconComponent, CdkDragHandle, FormControlName, CdkDragPlaceholder, CdkDragPreview, FormGroupName, NgClass, AutowidthInputDirective], pipes: [AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-list-input[_ngcontent-%COMP%]{padding:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{margin-top:50px;position:relative}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__list__label[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);border-radius:8px 8px 0 0;color:var(--m-color-secondary);font-weight:700;left:0;padding:8px 24px;position:absolute;top:-33px;width:200px;z-index:0}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:400px;margin-bottom:32px;overflow-x:hidden;overflow-y:auto;position:inherit;width:560px;z-index:1}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{height:55vh;margin-bottom:16px;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-button{height:20px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;row-gap:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:8px;align-items:center;column-gap:8px;display:flex;list-style:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:0;column-gap:0}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;flex:1;flex-direction:row;gap:8px;justify-content:space-between;user-select:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{margin-right:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{max-width:unset;padding:inherit}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin:unset;max-width:unset;min-width:unset}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:60vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{cursor:move}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{margin-left:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;width:200px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-right:8px;text-align:right}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{flex-wrap:wrap}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{flex:1;margin-bottom:8px;margin-right:4px}}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{max-width:60vw}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:58vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-success[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-success);border-radius:8px;box-shadow:0 0 4px var(--m-color-success)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-danger[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-danger);border-radius:8px;box-shadow:0 0 4px var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__trash[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;margin:0;max-width:none;outline:none;padding:5px;resize:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.warnning[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.error[_ngcontent-%COMP%]{background-color:var(--m-color-danger);color:var(--m-color-danger-text)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[cdktextareaautosize][_ngcontent-%COMP%]{overflow:hidden}.miam-list-input[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;font-size:12px;font-weight:600;padding-bottom:10px}.miam-list-input[_ngcontent-%COMP%] .hint.warnning[_ngcontent-%COMP%]{color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .hint.error[_ngcontent-%COMP%]{color:var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%]{align-items:center;justify-content:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%] .miam-list-input__placeholder__hint[_ngcontent-%COMP%]{color:var(--m-color-secondary);margin-top:40px;opacity:.5;text-align:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{-moz-column-gap:32px;column-gap:32px;display:flex;justify-content:space-between}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{flex-direction:column}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1;margin-top:0;outline:none;resize:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{background-color:var(--m-color-info);border-radius:8px;color:var(--m-color-info-text);max-width:calc(98vw - 776px);padding:8px;position:absolute;top:315px;white-space:pre-line;width:400px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{margin-top:16px;max-width:unset;position:unset;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{margin-left:4px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{display:none}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.miam-list-input__row__preview[_ngcontent-%COMP%]{align-items:center;display:flex;width:530px}@media (max-width:1023px){.miam-list-input__row__preview[_ngcontent-%COMP%]{flex-wrap:wrap;width:80vw}}.miam-list-input__row__preview[_ngcontent-%COMP%] .miam-list-input__preview__text[_ngcontent-%COMP%]{padding:5px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{flex:1;flex-shrink:1;margin-left:8px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2n){margin-right:8px}.miam-list-input__row__placeholder[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;background:var(--m-color-grey07);border-radius:8px;margin-right:24px;min-height:60px;user-select:none}.cdk-drag-animating[_ngcontent-%COMP%], .miam-list-input__row__placeholder[_ngcontent-%COMP%], ul.cdk-drop-list-dragging[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"] });
5216
+ } }, directives: [NgControlStatusGroup, FormGroupDirective, NgIf, CdkTextareaAutosize, DefaultValueAccessor, NgControlStatus, FormControlDirective, CdkDropList, NgForOf, CdkDrag, IconComponent, CdkDragHandle, FormControlName, CdkDragPlaceholder, CdkDragPreview, FormGroupName, NgClass, AutowidthInputDirective], pipes: [AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-list-input[_ngcontent-%COMP%]{padding:8px}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%]{width:calc(100% - 16px)}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{margin-top:50px;position:relative}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{width:55%}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__list__label[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);border-radius:8px 8px 0 0;color:var(--m-color-secondary);font-weight:700;left:0;padding:8px 24px;position:absolute;top:-33px;width:200px;z-index:0}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:400px;margin-bottom:32px;overflow-x:hidden;overflow-y:auto;position:inherit;z-index:1}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{height:55vh;margin-bottom:16px;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-button{height:20px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;row-gap:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:16px;align-items:center;column-gap:16px;display:flex;list-style:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:0;column-gap:0}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;flex:1;flex-direction:row;gap:16px;user-select:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{margin-right:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{max-width:unset;padding:inherit}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin:unset;max-width:unset;min-width:unset}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:60vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{cursor:move}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{margin-left:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;width:200px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{align-items:center;display:flex;flex:1;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-right:8px;width:80px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:first-child{flex:1}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:last-child{margin-right:0;text-align:right}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{flex-wrap:wrap}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{flex:1;margin-bottom:8px;margin-right:4px}}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{max-width:60vw}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:58vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-success[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-success);border-radius:8px;box-shadow:0 0 4px var(--m-color-success)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-danger[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-danger);border-radius:8px;box-shadow:0 0 4px var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%]{align-items:center;display:flex;gap:8px;justify-content:space-between}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;justify-content:center;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture.clickable[_ngcontent-%COMP%]{cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] .miam-list-input__row__trash[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;margin:0;max-width:none;outline:none;padding:5px;resize:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.warnning[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.error[_ngcontent-%COMP%]{background-color:var(--m-color-danger);color:var(--m-color-danger-text)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[cdktextareaautosize][_ngcontent-%COMP%]{overflow:hidden}.miam-list-input[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;font-size:12px;font-weight:600;padding-bottom:10px}.miam-list-input[_ngcontent-%COMP%] .hint.warnning[_ngcontent-%COMP%]{color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .hint.error[_ngcontent-%COMP%]{color:var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%]{align-items:center;justify-content:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%] .miam-list-input__placeholder__hint[_ngcontent-%COMP%]{color:var(--m-color-secondary);margin-top:40px;opacity:.5;text-align:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{-moz-column-gap:32px;column-gap:32px;display:flex;justify-content:space-between}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{width:calc(45% - 32px)}}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{flex-direction:column}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1;margin-top:0;outline:none;resize:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{background-color:var(--m-color-info);border-radius:8px;color:var(--m-color-info-text);max-width:calc(98vw - 776px);padding:8px;position:absolute;top:315px;white-space:pre-line;width:400px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{margin-top:16px;max-width:unset;position:unset;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{margin-left:4px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{display:none}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.miam-list-input__row__preview[_ngcontent-%COMP%]{align-items:center;display:flex;width:530px}@media (max-width:1023px){.miam-list-input__row__preview[_ngcontent-%COMP%]{flex-wrap:wrap;width:80vw}}.miam-list-input__row__preview[_ngcontent-%COMP%] .miam-list-input__preview__text[_ngcontent-%COMP%]{padding:5px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{flex:1;flex-shrink:1;margin-left:8px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2n){margin-right:8px}.miam-list-input__row__placeholder[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;background:var(--m-color-grey07);border-radius:8px;margin-right:24px;min-height:60px;user-select:none}.cdk-drag-animating[_ngcontent-%COMP%], .miam-list-input__row__placeholder[_ngcontent-%COMP%], ul.cdk-drop-list-dragging[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"] });
5153
5217
  /*@__PURE__*/ (function () { ɵsetClassMetadata(ListInputComponent, [{
5154
5218
  type: Component,
5155
5219
  args: [{
@@ -5169,6 +5233,8 @@ ListInputComponent.ɵcmp = ɵɵdefineComponent({ type: ListInputComponent, selec
5169
5233
  type: Input
5170
5234
  }], list: [{
5171
5235
  type: Input
5236
+ }], ingredientsPictures: [{
5237
+ type: Input
5172
5238
  }], deleteId: [{
5173
5239
  type: Output
5174
5240
  }], orderHasChanged: [{
@@ -5246,7 +5312,7 @@ SkeletonComponent.ɵcmp = ɵɵdefineComponent({ type: SkeletonComponent, selecto
5246
5312
  type: Input
5247
5313
  }] }); })();
5248
5314
 
5249
- const _c0$1 = ["miamLeftOfSliderTrack"];
5315
+ const _c0$2 = ["miamLeftOfSliderTrack"];
5250
5316
  const _c1$1 = ["miamSliderColored"];
5251
5317
  const _c2 = ["miamSliderHandle"];
5252
5318
  function SliderComponent_ng_miam_icon_2_Template(rf, ctx) { if (rf & 1) {
@@ -5340,7 +5406,7 @@ class SliderComponent {
5340
5406
  }
5341
5407
  SliderComponent.ɵfac = function SliderComponent_Factory(t) { return new (t || SliderComponent)(ɵɵdirectiveInject(ChangeDetectorRef)); };
5342
5408
  SliderComponent.ɵcmp = ɵɵdefineComponent({ type: SliderComponent, selectors: [["ng-miam-slider"]], viewQuery: function SliderComponent_Query(rf, ctx) { if (rf & 1) {
5343
- ɵɵviewQuery(_c0$1, true);
5409
+ ɵɵviewQuery(_c0$2, true);
5344
5410
  ɵɵviewQuery(_c1$1, true);
5345
5411
  ɵɵviewQuery(_c2, true);
5346
5412
  } if (rf & 2) {
@@ -5672,7 +5738,7 @@ const ɵExtendedDatePipe_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFactory(Ext
5672
5738
  }]
5673
5739
  }], null, null); })();
5674
5740
 
5675
- const _c0$2 = ["counterInput"];
5741
+ const _c0$3 = ["counterInput"];
5676
5742
  class CounterInputComponent {
5677
5743
  constructor(cdr, mediaMatcher) {
5678
5744
  this.cdr = cdr;
@@ -5743,7 +5809,7 @@ class CounterInputComponent {
5743
5809
  }
5744
5810
  CounterInputComponent.ɵfac = function CounterInputComponent_Factory(t) { return new (t || CounterInputComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(MediaMatcher)); };
5745
5811
  CounterInputComponent.ɵcmp = ɵɵdefineComponent({ type: CounterInputComponent, selectors: [["ng-miam-counter-input"]], viewQuery: function CounterInputComponent_Query(rf, ctx) { if (rf & 1) {
5746
- ɵɵviewQuery(_c0$2, true);
5812
+ ɵɵviewQuery(_c0$3, true);
5747
5813
  } if (rf & 2) {
5748
5814
  var _t;
5749
5815
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.counterInput = _t.first);
@@ -5875,7 +5941,7 @@ LikeButtonComponent.ɵcmp = ɵɵdefineComponent({ type: LikeButtonComponent, sel
5875
5941
  function TabLabelComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
5876
5942
  ɵɵprojection(0);
5877
5943
  } }
5878
- const _c0$3 = ["*"];
5944
+ const _c0$4 = ["*"];
5879
5945
  class TabLabelComponent {
5880
5946
  constructor() { }
5881
5947
  }
@@ -5885,7 +5951,7 @@ TabLabelComponent.ɵcmp = ɵɵdefineComponent({ type: TabLabelComponent, selecto
5885
5951
  } if (rf & 2) {
5886
5952
  var _t;
5887
5953
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.labelContent = _t.first);
5888
- } }, ngContentSelectors: _c0$3, decls: 1, vars: 0, template: function TabLabelComponent_Template(rf, ctx) { if (rf & 1) {
5954
+ } }, ngContentSelectors: _c0$4, decls: 1, vars: 0, template: function TabLabelComponent_Template(rf, ctx) { if (rf & 1) {
5889
5955
  ɵɵprojectionDef();
5890
5956
  ɵɵtemplate(0, TabLabelComponent_ng_template_0_Template, 1, 0, "ng-template");
5891
5957
  } }, encapsulation: 2 });
@@ -5903,7 +5969,7 @@ TabLabelComponent.ɵcmp = ɵɵdefineComponent({ type: TabLabelComponent, selecto
5903
5969
  function TabBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
5904
5970
  ɵɵprojection(0);
5905
5971
  } }
5906
- const _c0$4 = ["*"];
5972
+ const _c0$5 = ["*"];
5907
5973
  class TabBodyComponent {
5908
5974
  constructor() { }
5909
5975
  }
@@ -5913,7 +5979,7 @@ TabBodyComponent.ɵcmp = ɵɵdefineComponent({ type: TabBodyComponent, selectors
5913
5979
  } if (rf & 2) {
5914
5980
  var _t;
5915
5981
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.bodyContent = _t.first);
5916
- } }, ngContentSelectors: _c0$4, decls: 1, vars: 0, template: function TabBodyComponent_Template(rf, ctx) { if (rf & 1) {
5982
+ } }, ngContentSelectors: _c0$5, decls: 1, vars: 0, template: function TabBodyComponent_Template(rf, ctx) { if (rf & 1) {
5917
5983
  ɵɵprojectionDef();
5918
5984
  ɵɵtemplate(0, TabBodyComponent_ng_template_0_Template, 1, 0, "ng-template");
5919
5985
  } }, encapsulation: 2 });
@@ -5928,7 +5994,7 @@ TabBodyComponent.ɵcmp = ɵɵdefineComponent({ type: TabBodyComponent, selectors
5928
5994
  args: [TemplateRef]
5929
5995
  }] }); })();
5930
5996
 
5931
- const _c0$5 = ["*"];
5997
+ const _c0$6 = ["*"];
5932
5998
  class TabItemComponent {
5933
5999
  constructor() { }
5934
6000
  }
@@ -5940,7 +6006,7 @@ TabItemComponent.ɵcmp = ɵɵdefineComponent({ type: TabItemComponent, selectors
5940
6006
  var _t;
5941
6007
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.bodyComponent = _t.first);
5942
6008
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.labelComponent = _t.first);
5943
- } }, inputs: { label: "label" }, ngContentSelectors: _c0$5, decls: 1, vars: 0, template: function TabItemComponent_Template(rf, ctx) { if (rf & 1) {
6009
+ } }, inputs: { label: "label" }, ngContentSelectors: _c0$6, decls: 1, vars: 0, template: function TabItemComponent_Template(rf, ctx) { if (rf & 1) {
5944
6010
  ɵɵprojectionDef();
5945
6011
  ɵɵprojection(0);
5946
6012
  } }, encapsulation: 2 });
@@ -6072,7 +6138,7 @@ TabsComponent.ɵcmp = ɵɵdefineComponent({ type: TabsComponent, selectors: [["n
6072
6138
  args: [TabItemComponent]
6073
6139
  }] }); })();
6074
6140
 
6075
- const _c0$6 = function (a0) { return { "colapse": a0 }; };
6141
+ const _c0$7 = function (a0) { return { "colapse": a0 }; };
6076
6142
  class DeleteConfirmButtonComponent {
6077
6143
  constructor(cdr) {
6078
6144
  this.cdr = cdr;
@@ -6110,9 +6176,9 @@ DeleteConfirmButtonComponent.ɵcmp = ɵɵdefineComponent({ type: DeleteConfirmBu
6110
6176
  ɵɵelementEnd();
6111
6177
  ɵɵelementEnd();
6112
6178
  } if (rf & 2) {
6113
- ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c0$6, !ctx.isInComfirmStep));
6179
+ ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c0$7, !ctx.isInComfirmStep));
6114
6180
  ɵɵadvance(1);
6115
- ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$6, !ctx.isInComfirmStep));
6181
+ ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$7, !ctx.isInComfirmStep));
6116
6182
  ɵɵadvance(2);
6117
6183
  ɵɵproperty("width", 24)("height", 24)("iconName", ctx.isInComfirmStep ? ctx.icon.Clear : ctx.icon.Trash);
6118
6184
  } }, directives: [NgClass, IconComponent], styles: [".miam-delete-confirm{align-items:center;background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);border-radius:var(--m-border-radius);display:flex;margin:6px 0;outline:none}.miam-delete-confirm ng-miam-icon svg{fill:var(--m-color-secondary)}.miam-delete-confirm .miam-delete-confirm__text{color:var(--m-color-secondary);font-size:14px;height:unset;overflow:hidden;width:unset}.miam-delete-confirm .miam-delete-confirm__text:first-letter{text-transform:capitalize}.miam-delete-confirm .miam-delete-confirm__text.colapse{height:0;width:0}.miam-delete-confirm.colapse{border:none;border-radius:var(--m-border-radius-circle);margin:0;padding:8px}.miam-delete-confirm.colapse ng-miam-icon svg{fill:var(--m-color-grey-text)}@media (min-width:1022px){.miam-delete-confirm:hover{background-color:var(--m-color-grey)}}"], encapsulation: 2, changeDetection: 0 });
@@ -6445,7 +6511,7 @@ function RecipeFiltersComponent_div_25_Template(rf, ctx) { if (rf & 1) {
6445
6511
  ɵɵtext(1, " Fermer ");
6446
6512
  ɵɵelementEnd();
6447
6513
  } }
6448
- const _c0$7 = function (a0) { return { "filter-collapsed": a0 }; };
6514
+ const _c0$8 = function (a0) { return { "filter-collapsed": a0 }; };
6449
6515
  const _c1$2 = function (a0, a1) { return { "filter-collapsed": a0, "mobile-fixed": a1 }; };
6450
6516
  class RecipeFiltersComponent {
6451
6517
  constructor(cdr, mediaMatcher, usersService) {
@@ -6596,15 +6662,15 @@ RecipeFiltersComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeFiltersComponen
6596
6662
  ɵɵelementEnd();
6597
6663
  ɵɵelementEnd();
6598
6664
  } if (rf & 2) {
6599
- ɵɵproperty("ngClass", ɵɵpureFunction1(16, _c0$7, ctx.isFilterCollapsed));
6665
+ ɵɵproperty("ngClass", ɵɵpureFunction1(16, _c0$8, ctx.isFilterCollapsed));
6600
6666
  ɵɵadvance(1);
6601
6667
  ɵɵproperty("ngClass", ɵɵpureFunction2(18, _c1$2, ctx.isFilterCollapsed, ctx.mobileFixed));
6602
6668
  ɵɵadvance(1);
6603
6669
  ɵɵproperty("ngIf", ctx.isFilterCollapsed);
6604
6670
  ɵɵadvance(1);
6605
- ɵɵproperty("iconName", ctx.icon.ChevronDown)("height", 32)("width", 32)("ngClass", ɵɵpureFunction1(21, _c0$7, ctx.isFilterCollapsed));
6671
+ ɵɵproperty("iconName", ctx.icon.ChevronDown)("height", 32)("width", 32)("ngClass", ɵɵpureFunction1(21, _c0$8, ctx.isFilterCollapsed));
6606
6672
  ɵɵadvance(1);
6607
- ɵɵproperty("ngClass", ɵɵpureFunction1(23, _c0$7, ctx.isFilterCollapsed));
6673
+ ɵɵproperty("ngClass", ɵɵpureFunction1(23, _c0$8, ctx.isFilterCollapsed));
6608
6674
  ɵɵadvance(1);
6609
6675
  ɵɵproperty("ngIf", ctx.isMobile);
6610
6676
  ɵɵadvance(4);
@@ -6759,7 +6825,7 @@ function TextInputComponent_ng_miam_icon_4_Template(rf, ctx) { if (rf & 1) {
6759
6825
  const ctx_r0 = ɵɵnextContext();
6760
6826
  ɵɵproperty("iconName", ctx_r0.icon);
6761
6827
  } }
6762
- const _c0$8 = function (a0) { return { "miam-text-input__label__top": a0 }; };
6828
+ const _c0$9 = function (a0) { return { "miam-text-input__label__top": a0 }; };
6763
6829
  class TextInputComponent {
6764
6830
  constructor() {
6765
6831
  this.uniqueId = v4();
@@ -6778,7 +6844,7 @@ TextInputComponent.ɵcmp = ɵɵdefineComponent({ type: TextInputComponent, selec
6778
6844
  ɵɵadvance(1);
6779
6845
  ɵɵproperty("id", ctx.uniqueId)("ngModel", ctx.formControl == null ? null : ctx.formControl.value)("disabled", ctx.disable);
6780
6846
  ɵɵadvance(1);
6781
- ɵɵproperty("for", ctx.uniqueId)("ngClass", ɵɵpureFunction1(7, _c0$8, ctx.formControl == null ? null : ctx.formControl.value));
6847
+ ɵɵproperty("for", ctx.uniqueId)("ngClass", ɵɵpureFunction1(7, _c0$9, ctx.formControl == null ? null : ctx.formControl.value));
6782
6848
  ɵɵadvance(1);
6783
6849
  ɵɵtextInterpolate(ctx.placeholder);
6784
6850
  ɵɵadvance(1);
@@ -6803,7 +6869,7 @@ TextInputComponent.ɵcmp = ɵɵdefineComponent({ type: TextInputComponent, selec
6803
6869
  type: Input
6804
6870
  }] }); })();
6805
6871
 
6806
- const _c0$9 = function (a0) { return { "font-weight": a0 }; };
6872
+ const _c0$a = function (a0) { return { "font-weight": a0 }; };
6807
6873
  class RecipeTypeChooserComponent {
6808
6874
  constructor(cdr, recipeTypeService, mediaMatcher) {
6809
6875
  this.cdr = cdr;
@@ -6869,15 +6935,15 @@ RecipeTypeChooserComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeTypeChooser
6869
6935
  ɵɵadvance(2);
6870
6936
  ɵɵproperty("height", ctx.isMobile ? 128 : 64)("width", ctx.isMobile ? 128 : 64)("iconName", ctx.icon.Starter)("primaryColor", ctx.choosedType === "entr\u00E9e" ? "white" : "var(--m-color-primary)")("secondaryColor", ctx.choosedType === "entr\u00E9e" ? "var(--m-color-primary)" : "transparent");
6871
6937
  ɵɵadvance(1);
6872
- ɵɵproperty("ngStyle", ɵɵpureFunction1(18, _c0$9, ctx.choosedType === "entr\u00E9e" ? "bold" : "normal"));
6938
+ ɵɵproperty("ngStyle", ɵɵpureFunction1(18, _c0$a, ctx.choosedType === "entr\u00E9e" ? "bold" : "normal"));
6873
6939
  ɵɵadvance(3);
6874
6940
  ɵɵproperty("height", ctx.isMobile ? 128 : 64)("width", ctx.isMobile ? 128 : 64)("primaryColor", ctx.choosedType === "plat principal" ? "white" : "var(--m-color-primary)")("secondaryColor", ctx.choosedType === "plat principal" ? "var(--m-color-primary)" : "transparent")("iconName", ctx.icon.MainDish);
6875
6941
  ɵɵadvance(1);
6876
- ɵɵproperty("ngStyle", ɵɵpureFunction1(20, _c0$9, ctx.choosedType === "plat principal" ? "bold" : "normal"));
6942
+ ɵɵproperty("ngStyle", ɵɵpureFunction1(20, _c0$a, ctx.choosedType === "plat principal" ? "bold" : "normal"));
6877
6943
  ɵɵadvance(3);
6878
6944
  ɵɵproperty("height", ctx.isMobile ? 128 : 64)("width", ctx.isMobile ? 128 : 64)("iconName", ctx.icon.Dessert)("primaryColor", ctx.choosedType === "dessert" ? "white" : "var(--m-color-primary)")("secondaryColor", ctx.choosedType === "dessert" ? "var(--m-color-primary)" : "transparent");
6879
6945
  ɵɵadvance(1);
6880
- ɵɵproperty("ngStyle", ɵɵpureFunction1(22, _c0$9, ctx.choosedType === "dessert" ? "bold" : "normal"));
6946
+ ɵɵproperty("ngStyle", ɵɵpureFunction1(22, _c0$a, ctx.choosedType === "dessert" ? "bold" : "normal"));
6881
6947
  } }, directives: [IconComponent, NgStyle], styles: [".recipe-type-chooser{align-items:center;display:flex;gap:128px;justify-content:center}@media (max-width:1023px){.recipe-type-chooser{gap:0;justify-content:space-evenly;width:90vw}}.recipe-type-chooser .recipe-type-chooser__item{-webkit-tap-highlight-color:transparent;align-items:center;color:var(--m-color-primary);cursor:pointer;display:flex;flex-direction:column;font-size:24px;gap:16px;justify-content:center;line-height:32px;text-align:center}@media (max-width:1023px){.recipe-type-chooser .recipe-type-chooser__item{font-size:16px}}.recipe-type-chooser .recipe-type-chooser__item span:before{content:attr(title);display:block;font-size:24px;font-weight:700;height:0;overflow:hidden;visibility:hidden}@media (max-width:1023px){.recipe-type-chooser .recipe-type-chooser__item span:before{font-size:16px}}"], encapsulation: 2, changeDetection: 0 });
6882
6948
  /*@__PURE__*/ (function () { ɵsetClassMetadata(RecipeTypeChooserComponent, [{
6883
6949
  type: Component,
@@ -7156,7 +7222,7 @@ function BasketPreviewDisabledComponent_div_9_div_1_button_4_span_1_Template(rf,
7156
7222
  function BasketPreviewDisabledComponent_div_9_div_1_button_4_ng_miam_loader_2_Template(rf, ctx) { if (rf & 1) {
7157
7223
  ɵɵelement(0, "ng-miam-loader");
7158
7224
  } }
7159
- const _c0$a = function (a0) { return { loading: a0 }; };
7225
+ const _c0$b = function (a0) { return { loading: a0 }; };
7160
7226
  function BasketPreviewDisabledComponent_div_9_div_1_button_4_Template(rf, ctx) { if (rf & 1) {
7161
7227
  const _r8 = ɵɵgetCurrentView();
7162
7228
  ɵɵelementStart(0, "button", 12);
@@ -7167,7 +7233,7 @@ function BasketPreviewDisabledComponent_div_9_div_1_button_4_Template(rf, ctx) {
7167
7233
  } if (rf & 2) {
7168
7234
  const entry_r2 = ɵɵnextContext().$implicit;
7169
7235
  const ctx_r3 = ɵɵnextContext(2);
7170
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$a, ctx_r3.loading[entry_r2.id]));
7236
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$b, ctx_r3.loading[entry_r2.id]));
7171
7237
  ɵɵadvance(1);
7172
7238
  ɵɵproperty("ngIf", !ctx_r3.loading[entry_r2.id]);
7173
7239
  ɵɵadvance(1);
@@ -7349,7 +7415,7 @@ function BasketPreviewLineComponent_div_14_Template(rf, ctx) { if (rf & 1) {
7349
7415
  ɵɵtext(1, " Voir la recette ");
7350
7416
  ɵɵelementEnd();
7351
7417
  } }
7352
- const _c0$b = function (a0) { return { "disable": a0 }; };
7418
+ const _c0$c = function (a0) { return { "disable": a0 }; };
7353
7419
  function BasketPreviewLineComponent_div_15_Template(rf, ctx) { if (rf & 1) {
7354
7420
  const _r20 = ɵɵgetCurrentView();
7355
7421
  ɵɵelementStart(0, "div", 29);
@@ -7361,7 +7427,7 @@ function BasketPreviewLineComponent_div_15_Template(rf, ctx) { if (rf & 1) {
7361
7427
  } if (rf & 2) {
7362
7428
  const ctx_r4 = ɵɵnextContext();
7363
7429
  ɵɵadvance(1);
7364
- ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$b, ctx_r4.disableItemSelector));
7430
+ ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$c, ctx_r4.disableItemSelector));
7365
7431
  } }
7366
7432
  function BasketPreviewLineComponent_div_16_Template(rf, ctx) { if (rf & 1) {
7367
7433
  ɵɵelementStart(0, "div", 31);
@@ -7950,7 +8016,7 @@ function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_button_2_Template
7950
8016
  ɵɵadvance(1);
7951
8017
  ɵɵproperty("iconName", ctx_r10.icon.Trash);
7952
8018
  } }
7953
- const _c0$c = function (a0) { return { "miam-basket-preview-block__chevron__down": a0 }; };
8019
+ const _c0$d = function (a0) { return { "miam-basket-preview-block__chevron__down": a0 }; };
7954
8020
  function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_Template(rf, ctx) { if (rf & 1) {
7955
8021
  const _r14 = ɵɵgetCurrentView();
7956
8022
  ɵɵelementStart(0, "h3", 9);
@@ -7967,7 +8033,7 @@ function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_Template(rf, ctx)
7967
8033
  ɵɵadvance(2);
7968
8034
  ɵɵproperty("ngIf", ctx_r7.showLines);
7969
8035
  ɵɵadvance(1);
7970
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$c, !ctx_r7.showLines));
8036
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$d, !ctx_r7.showLines));
7971
8037
  ɵɵadvance(1);
7972
8038
  ɵɵproperty("iconName", ctx_r7.icon.ChevronDown);
7973
8039
  } }
@@ -8657,7 +8723,7 @@ function RecipeCardComponent_div_0_div_14_ng_container_4_Template(rf, ctx) { if
8657
8723
  function RecipeCardComponent_div_0_div_14_ng_container_5_Template(rf, ctx) { if (rf & 1) {
8658
8724
  ɵɵelementContainer(0);
8659
8725
  } }
8660
- const _c0$d = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
8726
+ const _c0$e = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
8661
8727
  function RecipeCardComponent_div_0_div_14_Template(rf, ctx) { if (rf & 1) {
8662
8728
  ɵɵelementStart(0, "div", 49);
8663
8729
  ɵɵelementContainerStart(1, 50);
@@ -8672,7 +8738,7 @@ function RecipeCardComponent_div_0_div_14_Template(rf, ctx) { if (rf & 1) {
8672
8738
  ɵɵelementEnd();
8673
8739
  } if (rf & 2) {
8674
8740
  const ctx_r11 = ɵɵnextContext(2);
8675
- ɵɵproperty("ngClass", ɵɵpureFunction3(6, _c0$d, (ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel) === "facile", (ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel) === "moyen", (ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel) === "difficile"));
8741
+ ɵɵproperty("ngClass", ɵɵpureFunction3(6, _c0$e, (ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel) === "facile", (ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel) === "moyen", (ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel) === "difficile"));
8676
8742
  ɵɵadvance(1);
8677
8743
  ɵɵproperty("ngSwitch", ctx_r11.recipe == null ? null : ctx_r11.recipe.difficultyLabel);
8678
8744
  ɵɵadvance(1);
@@ -8987,7 +9053,7 @@ RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, sel
8987
9053
  type: Output
8988
9054
  }] }); })();
8989
9055
 
8990
- const _c0$e = ["miamMoreActions"];
9056
+ const _c0$f = ["miamMoreActions"];
8991
9057
  function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) { if (rf & 1) {
8992
9058
  ɵɵelementStart(0, "div");
8993
9059
  ɵɵelement(1, "img", 32);
@@ -9281,7 +9347,7 @@ class CatalogRecipeCardComponent extends RecipeCardComponent {
9281
9347
  }
9282
9348
  CatalogRecipeCardComponent.ɵfac = function CatalogRecipeCardComponent_Factory(t) { return new (t || CatalogRecipeCardComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(MediaMatcher), ɵɵdirectiveInject(ElementRef)); };
9283
9349
  CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCardComponent, selectors: [["ng-miam-catalog-recipe-card"]], viewQuery: function CatalogRecipeCardComponent_Query(rf, ctx) { if (rf & 1) {
9284
- ɵɵviewQuery(_c0$e, true);
9350
+ ɵɵviewQuery(_c0$f, true);
9285
9351
  } if (rf & 2) {
9286
9352
  var _t;
9287
9353
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.moreActions = _t.first);
@@ -9388,7 +9454,7 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
9388
9454
  args: ['window:scroll']
9389
9455
  }] }); })();
9390
9456
 
9391
- const _c0$f = ["categoryContent"];
9457
+ const _c0$g = ["categoryContent"];
9392
9458
  const _c1$8 = ["categoryCards"];
9393
9459
  function CatalogCategoryComponent_div_0_div_11_Template(rf, ctx) { if (rf & 1) {
9394
9460
  ɵɵelementStart(0, "div", 15);
@@ -9640,7 +9706,7 @@ class CatalogCategoryComponent {
9640
9706
  }
9641
9707
  CatalogCategoryComponent.ɵfac = function CatalogCategoryComponent_Factory(t) { return new (t || CatalogCategoryComponent)(ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(RecipeLikesService), ɵɵdirectiveInject(ArticlesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(ChangeDetectorRef)); };
9642
9708
  CatalogCategoryComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogCategoryComponent, selectors: [["ng-miam-catalog-category"]], viewQuery: function CatalogCategoryComponent_Query(rf, ctx) { if (rf & 1) {
9643
- ɵɵviewQuery(_c0$f, true);
9709
+ ɵɵviewQuery(_c0$g, true);
9644
9710
  ɵɵviewQuery(_c1$8, true);
9645
9711
  ɵɵviewQuery(CatalogRecipeCardComponent, true);
9646
9712
  } if (rf & 2) {
@@ -9723,7 +9789,7 @@ function CatalogHeaderComponent_div_0_div_14_Template(rf, ctx) { if (rf & 1) {
9723
9789
  ɵɵadvance(1);
9724
9790
  ɵɵproperty("iconName", ctx_r2.icon.Video)("width", 50)("height", 50);
9725
9791
  } }
9726
- const _c0$g = function (a0) { return { video: a0 }; };
9792
+ const _c0$h = function (a0) { return { video: a0 }; };
9727
9793
  function CatalogHeaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9728
9794
  const _r8 = ɵɵgetCurrentView();
9729
9795
  ɵɵelementStart(0, "div", 1);
@@ -9759,7 +9825,7 @@ function CatalogHeaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9759
9825
  ɵɵadvance(1);
9760
9826
  ɵɵproperty("ngIf", ctx_r0.displayReturnButton);
9761
9827
  ɵɵadvance(3);
9762
- ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$g, ctx_r0.context.videoRecipesEnabled && !ctx_r0.displayReturnButton));
9828
+ ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$h, ctx_r0.context.videoRecipesEnabled && !ctx_r0.displayReturnButton));
9763
9829
  ɵɵadvance(1);
9764
9830
  ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
9765
9831
  ɵɵadvance(2);
@@ -10230,7 +10296,7 @@ CatalogListComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogListComponent, s
10230
10296
  args: [CatalogRecipeCardComponent]
10231
10297
  }] }); })();
10232
10298
 
10233
- const _c0$h = ["fileInput"];
10299
+ const _c0$i = ["fileInput"];
10234
10300
  function DragDropInputComponent_input_1_Template(rf, ctx) { if (rf & 1) {
10235
10301
  const _r6 = ɵɵgetCurrentView();
10236
10302
  ɵɵelementStart(0, "input", 7, 8);
@@ -10332,7 +10398,7 @@ class DragDropInputComponent {
10332
10398
  }
10333
10399
  DragDropInputComponent.ɵfac = function DragDropInputComponent_Factory(t) { return new (t || DragDropInputComponent)(ɵɵdirectiveInject(ChangeDetectorRef)); };
10334
10400
  DragDropInputComponent.ɵcmp = ɵɵdefineComponent({ type: DragDropInputComponent, selectors: [["ng-miam-drag-drop-input"]], viewQuery: function DragDropInputComponent_Query(rf, ctx) { if (rf & 1) {
10335
- ɵɵviewQuery(_c0$h, true);
10401
+ ɵɵviewQuery(_c0$i, true);
10336
10402
  } if (rf & 2) {
10337
10403
  var _t;
10338
10404
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -10568,7 +10634,7 @@ PosCardComponent.ɵcmp = ɵɵdefineComponent({ type: PosCardComponent, selectors
10568
10634
  type: Output
10569
10635
  }] }); })();
10570
10636
 
10571
- const _c0$i = ["selectedPosCard"];
10637
+ const _c0$j = ["selectedPosCard"];
10572
10638
  function PosSelectionComponent_ng_container_0_div_6_ng_miam_pos_card_1_Template(rf, ctx) { if (rf & 1) {
10573
10639
  const _r7 = ɵɵgetCurrentView();
10574
10640
  ɵɵelementStart(0, "ng-miam-pos-card", 10);
@@ -10779,7 +10845,7 @@ class PosSelectionComponent {
10779
10845
  }
10780
10846
  PosSelectionComponent.ɵfac = function PosSelectionComponent_Factory(t) { return new (t || PosSelectionComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(AnalyticsService)); };
10781
10847
  PosSelectionComponent.ɵcmp = ɵɵdefineComponent({ type: PosSelectionComponent, selectors: [["ng-miam-pos-selection"]], viewQuery: function PosSelectionComponent_Query(rf, ctx) { if (rf & 1) {
10782
- ɵɵviewQuery(_c0$i, true);
10848
+ ɵɵviewQuery(_c0$j, true);
10783
10849
  } if (rf & 2) {
10784
10850
  var _t;
10785
10851
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.selectedPosCard = _t.first);
@@ -10885,7 +10951,7 @@ function DrawerComponent_div_11_Template(rf, ctx) { if (rf & 1) {
10885
10951
  ɵɵadvance(1);
10886
10952
  ɵɵproperty("ngIf", ctx_r3.loading);
10887
10953
  } }
10888
- const _c0$j = function (a0) { return { expand: a0 }; };
10954
+ const _c0$k = function (a0) { return { expand: a0 }; };
10889
10955
  class DrawerComponent {
10890
10956
  constructor(cdr, listsService, posService, basketsService, analyticsService) {
10891
10957
  this.cdr = cdr;
@@ -11009,13 +11075,13 @@ DrawerComponent.ɵcmp = ɵɵdefineComponent({ type: DrawerComponent, selectors:
11009
11075
  } if (rf & 2) {
11010
11076
  ɵɵproperty("ngIf", ctx.expand);
11011
11077
  ɵɵadvance(1);
11012
- ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$j, ctx.expand));
11078
+ ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$k, ctx.expand));
11013
11079
  ɵɵadvance(1);
11014
11080
  ɵɵclassProp("jiggle", ctx.jiggle);
11015
11081
  ɵɵadvance(1);
11016
11082
  ɵɵproperty("ngIf", ctx.recipesCount && ctx.recipesCount > 0);
11017
11083
  ɵɵadvance(1);
11018
- ɵɵproperty("ngClass", ɵɵpureFunction1(10, _c0$j, ctx.expand));
11084
+ ɵɵproperty("ngClass", ɵɵpureFunction1(10, _c0$k, ctx.expand));
11019
11085
  ɵɵadvance(6);
11020
11086
  ɵɵproperty("ngIf", ctx.expand);
11021
11087
  ɵɵadvance(1);
@@ -11038,7 +11104,7 @@ DrawerComponent.ɵcmp = ɵɵdefineComponent({ type: DrawerComponent, selectors:
11038
11104
  args: ['document:click', ['$event']]
11039
11105
  }] }); })();
11040
11106
 
11041
- const _c0$k = ["miamCatalogTopAnchor"];
11107
+ const _c0$l = ["miamCatalogTopAnchor"];
11042
11108
  function RecipeCatalogComponent_div_2_div_4_Template(rf, ctx) { if (rf & 1) {
11043
11109
  const _r10 = ɵɵgetCurrentView();
11044
11110
  ɵɵelementStart(0, "div", 12);
@@ -11446,7 +11512,7 @@ class RecipeCatalogComponent {
11446
11512
  RecipeCatalogComponent.ɵfac = function RecipeCatalogComponent_Factory(t) { return new (t || RecipeCatalogComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipeTypeService), ɵɵdirectiveInject(SponsorService), ɵɵdirectiveInject(SuppliersService), ɵɵdirectiveInject(PackageService), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(MediaMatcher), ɵɵdirectiveInject(UserService)); };
11447
11513
  RecipeCatalogComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCatalogComponent, selectors: [["ng-miam-recipe-catalog"]], viewQuery: function RecipeCatalogComponent_Query(rf, ctx) { if (rf & 1) {
11448
11514
  ɵɵviewQuery(CatalogHeaderComponent, true);
11449
- ɵɵviewQuery(_c0$k, true);
11515
+ ɵɵviewQuery(_c0$l, true);
11450
11516
  ɵɵviewQuery(CatalogCategoryComponent, true);
11451
11517
  } if (rf & 2) {
11452
11518
  var _t;
@@ -11502,7 +11568,7 @@ function FavoritePageComponent_div_2_div_6_Template(rf, ctx) { if (rf & 1) {
11502
11568
  ɵɵadvance(1);
11503
11569
  ɵɵproperty("iconName", ctx_r5.icon.ChevronDown);
11504
11570
  } }
11505
- const _c0$l = function (a0) { return { "filter-collapsed": a0 }; };
11571
+ const _c0$m = function (a0) { return { "filter-collapsed": a0 }; };
11506
11572
  function FavoritePageComponent_div_2_Template(rf, ctx) { if (rf & 1) {
11507
11573
  const _r13 = ɵɵgetCurrentView();
11508
11574
  ɵɵelementStart(0, "div", 4);
@@ -11525,7 +11591,7 @@ function FavoritePageComponent_div_2_Template(rf, ctx) { if (rf & 1) {
11525
11591
  ɵɵadvance(1);
11526
11592
  ɵɵproperty("ngIf", !(ctx_r1.listIsEmpty && ctx_r1.isMobile && ctx_r1.areFiltersEmpty()));
11527
11593
  ɵɵadvance(1);
11528
- ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c0$l, ctx_r1.isFilterCollapsed));
11594
+ ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c0$m, ctx_r1.isFilterCollapsed));
11529
11595
  ɵɵadvance(1);
11530
11596
  ɵɵproperty("displayReturnButton", false)("forcedPictureUrl", ctx_r1.forcedPictureUrl)("title", ctx_r1.homePageTitle);
11531
11597
  ɵɵadvance(2);
@@ -11635,14 +11701,14 @@ function ListScanOverlayButtonComponent_ng_miam_icon_3_Template(rf, ctx) { if (r
11635
11701
  const ctx_r0 = ɵɵnextContext();
11636
11702
  ɵɵproperty("iconName", ctx_r0.icon.ListScanner);
11637
11703
  } }
11638
- const _c0$m = function (a0) { return { reduced: a0 }; };
11704
+ const _c0$n = function (a0) { return { reduced: a0 }; };
11639
11705
  function ListScanOverlayButtonComponent_div_4_Template(rf, ctx) { if (rf & 1) {
11640
11706
  ɵɵelementStart(0, "div", 10);
11641
11707
  ɵɵtext(1, "Scanner ma liste de courses");
11642
11708
  ɵɵelementEnd();
11643
11709
  } if (rf & 2) {
11644
11710
  const ctx_r1 = ɵɵnextContext();
11645
- ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$m, ctx_r1.reduced == "true"));
11711
+ ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$n, ctx_r1.reduced == "true"));
11646
11712
  } }
11647
11713
  function ListScanOverlayButtonComponent_ng_miam_loader_5_Template(rf, ctx) { if (rf & 1) {
11648
11714
  ɵɵelement(0, "ng-miam-loader");
@@ -11709,7 +11775,7 @@ ListScanOverlayButtonComponent.ɵcmp = ɵɵdefineComponent({ type: ListScanOverl
11709
11775
  ɵɵadvance(1);
11710
11776
  ɵɵproperty("ngIf", ctx.loading);
11711
11777
  ɵɵadvance(1);
11712
- ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$m, ctx.reduced == "true"));
11778
+ ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$n, ctx.reduced == "true"));
11713
11779
  } }, directives: [NgClass, NgIf, IconComponent, LoaderComponent], styles: [".miam-list-scan__overlay-button[_ngcontent-%COMP%]{display:inline-block;position:relative}.miam-list-scan__overlay-button.overlay[_ngcontent-%COMP%]{bottom:20px;position:fixed;right:20px}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .inputfile[_ngcontent-%COMP%]{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px;z-index:-1}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%]{max-height:50px;min-width:0}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]{margin:0}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{margin-left:10px}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%] .button-label.reduced[_ngcontent-%COMP%]{display:none}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__reduce[_ngcontent-%COMP%]{align-items:center;background-color:#fff;border-radius:12px;box-shadow:0 2px 5px rgba(0,0,0,.25);cursor:pointer;display:flex;font-size:16px;font-weight:700;height:24px;justify-content:center;position:absolute;right:-8px;top:-9px;width:24px}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__reduce.reduced[_ngcontent-%COMP%]{display:none}"], changeDetection: 0 });
11714
11780
  /*@__PURE__*/ (function () { ɵsetClassMetadata(ListScanOverlayButtonComponent, [{
11715
11781
  type: Component,
@@ -11736,7 +11802,7 @@ function ListScanIngredientsListComponent_div_0_Template(rf, ctx) { if (rf & 1)
11736
11802
  ɵɵadvance(1);
11737
11803
  ɵɵproperty("iconName", ctx_r0.icon.DrawerHorizontalCloseBar);
11738
11804
  } }
11739
- const _c0$n = function (a0) { return { overlay: a0 }; };
11805
+ const _c0$o = function (a0) { return { overlay: a0 }; };
11740
11806
  function ListScanIngredientsListComponent_div_4_Template(rf, ctx) { if (rf & 1) {
11741
11807
  const _r6 = ɵɵgetCurrentView();
11742
11808
  ɵɵelementStart(0, "div", 9);
@@ -11772,7 +11838,7 @@ function ListScanIngredientsListComponent_div_4_Template(rf, ctx) { if (rf & 1)
11772
11838
  } if (rf & 2) {
11773
11839
  const e_r4 = ctx.$implicit;
11774
11840
  const ctx_r1 = ɵɵnextContext();
11775
- ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c0$n, ctx_r1.overlay));
11841
+ ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c0$o, ctx_r1.overlay));
11776
11842
  ɵɵadvance(2);
11777
11843
  ɵɵproperty("iconName", ctx_r1.icon.Trash);
11778
11844
  ɵɵadvance(4);
@@ -12007,7 +12073,7 @@ function ListScanComponent_ng_miam_list_scan_overlay_button_1_Template(rf, ctx)
12007
12073
  const ctx_r0 = ɵɵnextContext();
12008
12074
  ɵɵproperty("overlay", ctx_r0.overlay);
12009
12075
  } }
12010
- const _c0$o = function (a0) { return { overlay: a0 }; };
12076
+ const _c0$p = function (a0) { return { overlay: a0 }; };
12011
12077
  function ListScanComponent_ng_miam_list_scan_ingredients_list_2_Template(rf, ctx) { if (rf & 1) {
12012
12078
  const _r6 = ɵɵgetCurrentView();
12013
12079
  ɵɵelementStart(0, "ng-miam-list-scan-ingredients-list", 5);
@@ -12015,7 +12081,7 @@ function ListScanComponent_ng_miam_list_scan_ingredients_list_2_Template(rf, ctx
12015
12081
  ɵɵelementEnd();
12016
12082
  } if (rf & 2) {
12017
12083
  const ctx_r1 = ɵɵnextContext();
12018
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$o, ctx_r1.overlay))("overlay", ctx_r1.overlay)("entries", ctx_r1.entries);
12084
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$p, ctx_r1.overlay))("overlay", ctx_r1.overlay)("entries", ctx_r1.entries);
12019
12085
  } }
12020
12086
  function ListScanComponent_ng_miam_list_scan_basket_preview_3_Template(rf, ctx) { if (rf & 1) {
12021
12087
  const _r9 = ɵɵgetCurrentView();
@@ -12024,7 +12090,7 @@ function ListScanComponent_ng_miam_list_scan_basket_preview_3_Template(rf, ctx)
12024
12090
  ɵɵelementEnd();
12025
12091
  } if (rf & 2) {
12026
12092
  const ctx_r2 = ɵɵnextContext();
12027
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$o, ctx_r2.overlay))("overlay", ctx_r2.overlay)("entries", ctx_r2.entries);
12093
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$p, ctx_r2.overlay))("overlay", ctx_r2.overlay)("entries", ctx_r2.entries);
12028
12094
  } }
12029
12095
  class ListScanComponent {
12030
12096
  constructor(cdr) {
@@ -12155,7 +12221,7 @@ function ModalComponent_ng_container_0_button_13_Template(rf, ctx) { if (rf & 1)
12155
12221
  ɵɵadvance(1);
12156
12222
  ɵɵtextInterpolate1(" ", ctx_r5.confirmButtonText, " ");
12157
12223
  } }
12158
- const _c0$p = function (a0, a1) { return { "with-header": a0, "without-header": a1 }; };
12224
+ const _c0$q = function (a0, a1) { return { "with-header": a0, "without-header": a1 }; };
12159
12225
  function ModalComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
12160
12226
  const _r11 = ɵɵgetCurrentView();
12161
12227
  ɵɵelementContainerStart(0);
@@ -12185,7 +12251,7 @@ function ModalComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
12185
12251
  const _r2 = ɵɵreference(10);
12186
12252
  const ctx_r0 = ɵɵnextContext();
12187
12253
  ɵɵadvance(2);
12188
- ɵɵproperty("ngClass", ɵɵpureFunction2(9, _c0$p, !ctx_r0.noHeaderMode, ctx_r0.noHeaderMode));
12254
+ ɵɵproperty("ngClass", ɵɵpureFunction2(9, _c0$q, !ctx_r0.noHeaderMode, ctx_r0.noHeaderMode));
12189
12255
  ɵɵadvance(4);
12190
12256
  ɵɵtextInterpolate(ctx_r0.title);
12191
12257
  ɵɵadvance(1);
@@ -12408,7 +12474,7 @@ function PersonalRecipesComponent_div_2_div_7_Template(rf, ctx) { if (rf & 1) {
12408
12474
  ɵɵadvance(1);
12409
12475
  ɵɵproperty("iconName", ctx_r6.icon.ChevronDown);
12410
12476
  } }
12411
- const _c0$q = function (a0) { return { "filter-collapsed": a0 }; };
12477
+ const _c0$r = function (a0) { return { "filter-collapsed": a0 }; };
12412
12478
  function PersonalRecipesComponent_div_2_Template(rf, ctx) { if (rf & 1) {
12413
12479
  const _r16 = ɵɵgetCurrentView();
12414
12480
  ɵɵelementStart(0, "div", 4);
@@ -12432,7 +12498,7 @@ function PersonalRecipesComponent_div_2_Template(rf, ctx) { if (rf & 1) {
12432
12498
  ɵɵadvance(1);
12433
12499
  ɵɵproperty("ngIf", !(ctx_r1.listIsEmpty && ctx_r1.isMobile && ctx_r1.areFiltersEmpty()));
12434
12500
  ɵɵadvance(1);
12435
- ɵɵproperty("ngClass", ɵɵpureFunction1(11, _c0$q, ctx_r1.isFilterCollapsed));
12501
+ ɵɵproperty("ngClass", ɵɵpureFunction1(11, _c0$r, ctx_r1.isFilterCollapsed));
12436
12502
  ɵɵadvance(1);
12437
12503
  ɵɵproperty("displayReturnButton", false)("forcedPictureUrl", ctx_r1.forcedPictureUrl)("title", ctx_r1.homePageTitle);
12438
12504
  ɵɵadvance(2);
@@ -12591,7 +12657,7 @@ CalendarEventsService.ɵprov = ɵɵdefineInjectable({ token: CalendarEventsServi
12591
12657
  }]
12592
12658
  }], function () { return []; }, null); })();
12593
12659
 
12594
- const _c0$r = function (a0) { return { event: a0 }; };
12660
+ const _c0$s = function (a0) { return { event: a0 }; };
12595
12661
  function PlannerSideMenuComponent_div_7_Template(rf, ctx) { if (rf & 1) {
12596
12662
  ɵɵelementStart(0, "div", 3);
12597
12663
  ɵɵelement(1, "img", 4);
@@ -12599,7 +12665,7 @@ function PlannerSideMenuComponent_div_7_Template(rf, ctx) { if (rf & 1) {
12599
12665
  ɵɵelementEnd();
12600
12666
  } if (rf & 2) {
12601
12667
  const event_r1 = ctx.$implicit;
12602
- ɵɵproperty("dropData", ɵɵpureFunction1(3, _c0$r, event_r1));
12668
+ ɵɵproperty("dropData", ɵɵpureFunction1(3, _c0$s, event_r1));
12603
12669
  ɵɵadvance(1);
12604
12670
  ɵɵproperty("src", event_r1.recipe == null ? null : event_r1.recipe.attributes["media-url"], ɵɵsanitizeUrl);
12605
12671
  ɵɵadvance(1);
@@ -12818,7 +12884,7 @@ RecipeAddonComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeAddonComponent, s
12818
12884
  type: Output
12819
12885
  }] }); })();
12820
12886
 
12821
- const _c0$s = ["topContainerImg"];
12887
+ const _c0$t = ["topContainerImg"];
12822
12888
  const _c1$e = ["mainContainer"];
12823
12889
  function RecipeDetailsComponent_div_0_img_6_Template(rf, ctx) { if (rf & 1) {
12824
12890
  ɵɵelement(0, "img", 40);
@@ -13607,7 +13673,7 @@ class RecipeDetailsComponent {
13607
13673
  }
13608
13674
  RecipeDetailsComponent.ɵfac = function RecipeDetailsComponent_Factory(t) { return new (t || RecipeDetailsComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(MediaMatcher), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(ContextService)); };
13609
13675
  RecipeDetailsComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsComponent, selectors: [["ng-miam-recipe-details"]], viewQuery: function RecipeDetailsComponent_Query(rf, ctx) { if (rf & 1) {
13610
- ɵɵviewQuery(_c0$s, true);
13676
+ ɵɵviewQuery(_c0$t, true);
13611
13677
  ɵɵviewQuery(_c1$e, true);
13612
13678
  } if (rf & 2) {
13613
13679
  var _t;
@@ -13699,7 +13765,7 @@ function RecipeFormComponent_form_0_div_22_Template(rf, ctx) { if (rf & 1) {
13699
13765
  ɵɵadvance(2);
13700
13766
  ɵɵproperty("formControl", ctx_r2.recipeForm == null ? null : (tmp_4_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : tmp_4_0.get("description"));
13701
13767
  } }
13702
- const _c0$t = function () { return ["number-of-guests"]; };
13768
+ const _c0$u = function () { return ["number-of-guests"]; };
13703
13769
  function RecipeFormComponent_form_0_Template(rf, ctx) { if (rf & 1) {
13704
13770
  const _r4 = ɵɵgetCurrentView();
13705
13771
  ɵɵelementStart(0, "form", 4);
@@ -13756,7 +13822,7 @@ function RecipeFormComponent_form_0_Template(rf, ctx) { if (rf & 1) {
13756
13822
  ɵɵadvance(3);
13757
13823
  ɵɵproperty("formControl", ctx_r0.recipeForm == null ? null : (tmp_3_0 = ctx_r0.recipeForm.get("attributes")) == null ? null : tmp_3_0.get("media-url"))("imageUrl", ctx_r0.recipeForm == null ? null : (tmp_4_0 = ctx_r0.recipeForm.get("attributes")) == null ? null : (tmp_4_1 = tmp_4_0.get("media-url")) == null ? null : tmp_4_1.value)("photoMode", true);
13758
13824
  ɵɵadvance(4);
13759
- ɵɵproperty("formControl", ctx_r0.recipeForm.controls["attributes"]["controls"][ɵɵpureFunction0(19, _c0$t)]);
13825
+ ɵɵproperty("formControl", ctx_r0.recipeForm.controls["attributes"]["controls"][ɵɵpureFunction0(19, _c0$u)]);
13760
13826
  ɵɵadvance(2);
13761
13827
  ɵɵproperty("options", ɵɵpipeBind1(12, 17, ctx_r0.recipeTypeService == null ? null : ctx_r0.recipeTypeService.getTypes()))("formControl", ctx_r0.recipeForm == null ? null : ctx_r0.recipeForm.get("recipe-type"));
13762
13828
  ɵɵadvance(4);
@@ -13927,7 +13993,8 @@ class RecipeFormComponent {
13927
13993
  attributes: this.fb.group({
13928
13994
  quantity: new FormControl(ingredient.attributes.quantity, Validators.required),
13929
13995
  unit: new FormControl(ingredient.attributes.unit, Validators.required),
13930
- name: new FormControl(ingredient.attributes.name, Validators.required)
13996
+ name: new FormControl(ingredient.attributes.name, Validators.required),
13997
+ 'picture-url': new FormControl(ingredient.attributes['picture-url'])
13931
13998
  })
13932
13999
  }));
13933
14000
  });
@@ -14269,7 +14336,7 @@ function TagsSelectorComponent_ng_miam_modal_0_div_12_Template(rf, ctx) { if (rf
14269
14336
  ɵɵadvance(1);
14270
14337
  ɵɵtextInterpolate1(" ", tag_r2.attributes.name, " ");
14271
14338
  } }
14272
- const _c0$u = function (a0) { return { "active": a0 }; };
14339
+ const _c0$v = function (a0) { return { "active": a0 }; };
14273
14340
  function TagsSelectorComponent_ng_miam_modal_0_Template(rf, ctx) { if (rf & 1) {
14274
14341
  const _r6 = ɵɵgetCurrentView();
14275
14342
  ɵɵelementStart(0, "ng-miam-modal", 1);
@@ -14302,13 +14369,13 @@ function TagsSelectorComponent_ng_miam_modal_0_Template(rf, ctx) { if (rf & 1) {
14302
14369
  const ctx_r0 = ɵɵnextContext();
14303
14370
  ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true);
14304
14371
  ɵɵadvance(3);
14305
- ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$u, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "meal_type"));
14372
+ ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "meal_type"));
14306
14373
  ɵɵadvance(2);
14307
- ɵɵproperty("ngClass", ɵɵpureFunction1(10, _c0$u, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "ingredient_category"));
14374
+ ɵɵproperty("ngClass", ɵɵpureFunction1(10, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "ingredient_category"));
14308
14375
  ɵɵadvance(2);
14309
- ɵɵproperty("ngClass", ɵɵpureFunction1(12, _c0$u, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "equipment"));
14376
+ ɵɵproperty("ngClass", ɵɵpureFunction1(12, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "equipment"));
14310
14377
  ɵɵadvance(2);
14311
- ɵɵproperty("ngClass", ɵɵpureFunction1(14, _c0$u, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "diet"));
14378
+ ɵɵproperty("ngClass", ɵɵpureFunction1(14, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "diet"));
14312
14379
  ɵɵadvance(3);
14313
14380
  ɵɵproperty("ngForOf", ctx_r0.selectedTabTags);
14314
14381
  } }
@@ -14406,7 +14473,7 @@ TagsSelectorComponent.ɵcmp = ɵɵdefineComponent({ type: TagsSelectorComponent,
14406
14473
  type: Output
14407
14474
  }] }); })();
14408
14475
 
14409
- const _c0$v = ["topAnchor"];
14476
+ const _c0$w = ["topAnchor"];
14410
14477
  const _c1$f = ["stepperLinks"];
14411
14478
  const _c2$3 = ["step"];
14412
14479
  function RecipeStepperComponent_ng_container_28_div_16_div_4_Template(rf, ctx) { if (rf & 1) {
@@ -14510,7 +14577,7 @@ function RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template(r
14510
14577
  ɵɵelementEnd();
14511
14578
  } if (rf & 2) {
14512
14579
  const ctx_r13 = ɵɵnextContext(2);
14513
- ɵɵproperty("placeholder", ctx_r13.INGREDIENT_PLACEHOLDER)("ingredientMode", true)("list", ctx_r13.recipeForm.get("ingredients"))("instructions", ctx_r13.INGREDIENT_INSTRUCTIONS);
14580
+ ɵɵproperty("placeholder", ctx_r13.INGREDIENT_PLACEHOLDER)("instructions", ctx_r13.INGREDIENT_INSTRUCTIONS)("list", ctx_r13.recipeForm.get("ingredients"))("ingredientMode", true)("ingredientsPictures", ctx_r13.ingredientsPictures);
14514
14581
  } }
14515
14582
  function RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template(rf, ctx) { if (rf & 1) {
14516
14583
  const _r28 = ɵɵgetCurrentView();
@@ -14582,7 +14649,7 @@ function RecipeStepperComponent_ng_container_28_Template(rf, ctx) { if (rf & 1)
14582
14649
  ɵɵelementContainerEnd();
14583
14650
  ɵɵelementStart(38, "div", 19, 20);
14584
14651
  ɵɵtemplate(40, RecipeStepperComponent_ng_container_28_div_40_Template, 5, 6, "div", 40);
14585
- ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1, 4, "ng-miam-list-input", 41);
14652
+ ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1, 5, "ng-miam-list-input", 41);
14586
14653
  ɵɵtemplate(42, RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template, 1, 3, "ng-miam-list-input", 42);
14587
14654
  ɵɵelementEnd();
14588
14655
  ɵɵelementContainerEnd();
@@ -14613,7 +14680,7 @@ function RecipeStepperComponent_ng_container_28_Template(rf, ctx) { if (rf & 1)
14613
14680
  ɵɵadvance(1);
14614
14681
  ɵɵproperty("ngIf", ctx_r2.displayTags);
14615
14682
  ɵɵadvance(5);
14616
- ɵɵproperty("buttonText", (ctx_r2.recipeForm == null ? null : (tmp_6_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : (tmp_6_1 = tmp_6_0.get("media-url")) == null ? null : tmp_6_1.value == null ? null : tmp_6_1.value.length) > 0 ? "Modifier la photo (2MB max)" : "Ajouter une photo (2MB max)")("formControl", ctx_r2.recipeForm == null ? null : (tmp_7_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : tmp_7_0.get("media-url"))("imageUrl", ctx_r2.recipeForm == null ? null : (tmp_8_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : (tmp_8_1 = tmp_8_0.get("media-url")) == null ? null : tmp_8_1.value)("photoMode", false);
14683
+ ɵɵproperty("buttonText", (ctx_r2.recipeForm == null ? null : (tmp_6_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : (tmp_6_1 = tmp_6_0.get("media-url")) == null ? null : tmp_6_1.value == null ? null : tmp_6_1.value.length) > 0 ? "Modifier la photo (2MB max)" : "Ajouter une photo (2MB max)")("formControl", ctx_r2.recipeForm == null ? null : (tmp_7_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : tmp_7_0.get("media-url"))("imageUrl", ctx_r2.recipeForm == null ? null : (tmp_8_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : (tmp_8_1 = tmp_8_0.get("media-url")) == null ? null : tmp_8_1.value)("photoMode", true);
14617
14684
  ɵɵadvance(1);
14618
14685
  ɵɵproperty("ngIf", ctx_r2.bigImageWarning);
14619
14686
  ɵɵadvance(3);
@@ -14649,6 +14716,7 @@ class RecipeStepperComponent extends RecipeFormComponent {
14649
14716
  constructor() {
14650
14717
  super(...arguments);
14651
14718
  this.displayTags = false;
14719
+ this.ingredientsPictures = { visible: false, editable: false };
14652
14720
  this.INGREDIENT_PLACEHOLDER = 'Exemple :\n500g de farine\n250g de beurre\nhuile d\'olive\n4 tranches de jambon';
14653
14721
  this.STEP_PLACEHOLDER = `Exemple :\nHacher grossièrement le céleri et l'oignon.\nCouper le chou-fleur en petits bouquets.`;
14654
14722
  this.INGREDIENT_INSTRUCTIONS = 'Vous pouvez saisir un ingrédient ou copier coller une liste d’ingrédients. \n Une ligne correspond à un ingrédient.';
@@ -14747,7 +14815,7 @@ class RecipeStepperComponent extends RecipeFormComponent {
14747
14815
  }
14748
14816
  RecipeStepperComponent.ɵfac = function RecipeStepperComponent_Factory(t) { return ɵRecipeStepperComponent_BaseFactory(t || RecipeStepperComponent); };
14749
14817
  RecipeStepperComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeStepperComponent, selectors: [["ng-miam-recipe-stepper"]], viewQuery: function RecipeStepperComponent_Query(rf, ctx) { if (rf & 1) {
14750
- ɵɵviewQuery(_c0$v, true);
14818
+ ɵɵviewQuery(_c0$w, true);
14751
14819
  ɵɵviewQuery(_c1$f, true);
14752
14820
  ɵɵviewQuery(_c2$3, true);
14753
14821
  } if (rf & 2) {
@@ -14755,7 +14823,7 @@ RecipeStepperComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeStepperComponen
14755
14823
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.topAnchor = _t.first);
14756
14824
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.stepperLinks = _t.first);
14757
14825
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.steps = _t);
14758
- } }, inputs: { displayTags: "displayTags" }, features: [ɵɵInheritDefinitionFeature], decls: 37, vars: 17, consts: [[1, "miam-recipe-stepper__anchor"], ["topAnchor", ""], [1, "miam-recipe-stepper"], [1, "miam-recipe-stepper__padding"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-stepper__links"], ["stepperLinks", ""], [1, "miam-recipe-stepper__link", 3, "ngClass", "click"], [1, "miam-recipe-stepper__link__number"], [1, "m-body-typo", "miam-recipe-stepper__link__name"], [1, "miam-recipe-stepper__link__divider"], [3, "formGroup", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "miam-recipe-stepper__footer"], [1, "m-button-secondary", 3, "disabled", "click"], [1, "m-button-primary", 3, "disabled", "click"], [3, "display", "currentTags", "close", "savedTags", 4, "ngIf"], [3, "formGroup"], [1, "miam-recipe-stepper__section"], ["step", ""], [1, "miam-recipe-stepper__mandatory"], ["ngDefaultControl", "", "placeholder", "Titre de la recette", 1, "m-title-text-input", 3, "formControl"], [1, "miam-recipe-stepper__type__label"], ["ngDefaultControl", "", 3, "formControl"], [1, "miam-recipe-stepper__section__guests", "m-default-card"], [1, "miam-recipe-stepper__guests__label"], ["ngDefaultControl", "", "formControlName", "number-of-guests", "minRange", "1", "maxRange", "999", 3, "counter", "counterChange"], ["class", "miam-recipe-stepper__tags", 4, "ngIf"], [1, "miam-recipe-stepper__section__row"], [1, "miam-recipe-stepper__picture"], ["ngDefaultControl", "", 3, "buttonText", "formControl", "imageUrl", "photoMode", "bigFileDropped", "onFileDropped"], ["class", "miam-recipe-stepper__picture__warning", 4, "ngIf"], [1, "miam-recipe-stepper__row__description"], [1, "m-h1-typo"], ["cdkTextareaAutosize", "", "cdkAutosizeMinRows", "20", "cdkAutosizeMaxRows", "50", "maxlength", "250", 1, "m-input", 3, "formControl"], [1, "miam-recipe-stepper__description__counter"], ["class", "miam-recipe-stepper__section__times", 4, "ngIf"], [1, "miam-recipe-stepper__attibutes__slider"], ["ngDefaultControl", "", 3, "steps", "formControl", "icons"], ["class", "miam-recipe-stepper__mobile__buttons", 4, "ngIf"], ["label", "Ingr\u00E9dients", "ngDefaultControl", "", "formArrayName", "ingredients", "hint", "ingr\u00E9dients", 3, "placeholder", "ingredientMode", "list", "instructions", "deleteId", "orderHasChanged", 4, "ngIf"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged", 4, "ngIf"], [1, "miam-recipe-stepper__tags"], [1, "miam-recipe-stepper__tags__title"], [1, "miam-recipe-stepper__tags__recap"], ["class", "miam-recipe-stepper__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], ["primaryColor", "var(--m-color-onyx)", 3, "iconName"], [1, "miam-recipe-stepper__tag", 3, "ngClass"], [1, "miam-recipe-stepper__tag__name"], ["primaryColor", "var(--m-color-grey01)", 1, "miam-recipe-stepper__tag__icon", 3, "iconName", "click"], [1, "miam-recipe-stepper__picture__warning"], ["primaryColor", "var(--m-color-warning-text)", 3, "iconName"], [1, "miam-recipe-stepper__picture__warning__background"], [1, "miam-recipe-stepper__section__times"], ["ngDefaultControl", "", "title", "Temps de pr\u00E9paration", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de cuisson", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de repos", 3, "formControl", "icon"], [1, "miam-recipe-stepper__mobile__buttons"], [1, "m-button-secondary", 3, "ngClass", "click"], ["label", "Ingr\u00E9dients", "ngDefaultControl", "", "formArrayName", "ingredients", "hint", "ingr\u00E9dients", 3, "placeholder", "ingredientMode", "list", "instructions", "deleteId", "orderHasChanged"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged"], [3, "display", "currentTags", "close", "savedTags"]], template: function RecipeStepperComponent_Template(rf, ctx) { if (rf & 1) {
14826
+ } }, inputs: { displayTags: "displayTags", ingredientsPictures: "ingredientsPictures" }, features: [ɵɵInheritDefinitionFeature], decls: 37, vars: 17, consts: [[1, "miam-recipe-stepper__anchor"], ["topAnchor", ""], [1, "miam-recipe-stepper"], [1, "miam-recipe-stepper__padding"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-stepper__links"], ["stepperLinks", ""], [1, "miam-recipe-stepper__link", 3, "ngClass", "click"], [1, "miam-recipe-stepper__link__number"], [1, "m-body-typo", "miam-recipe-stepper__link__name"], [1, "miam-recipe-stepper__link__divider"], [3, "formGroup", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "miam-recipe-stepper__footer"], [1, "m-button-secondary", 3, "disabled", "click"], [1, "m-button-primary", 3, "disabled", "click"], [3, "display", "currentTags", "close", "savedTags", 4, "ngIf"], [3, "formGroup"], [1, "miam-recipe-stepper__section"], ["step", ""], [1, "miam-recipe-stepper__mandatory"], ["ngDefaultControl", "", "placeholder", "Titre de la recette", 1, "m-title-text-input", 3, "formControl"], [1, "miam-recipe-stepper__type__label"], ["ngDefaultControl", "", 3, "formControl"], [1, "miam-recipe-stepper__section__guests", "m-default-card"], [1, "miam-recipe-stepper__guests__label"], ["ngDefaultControl", "", "formControlName", "number-of-guests", "minRange", "1", "maxRange", "999", 3, "counter", "counterChange"], ["class", "miam-recipe-stepper__tags", 4, "ngIf"], [1, "miam-recipe-stepper__section__row"], [1, "miam-recipe-stepper__picture"], ["ngDefaultControl", "", 3, "buttonText", "formControl", "imageUrl", "photoMode", "bigFileDropped", "onFileDropped"], ["class", "miam-recipe-stepper__picture__warning", 4, "ngIf"], [1, "miam-recipe-stepper__row__description"], [1, "m-h1-typo"], ["cdkTextareaAutosize", "", "cdkAutosizeMinRows", "20", "cdkAutosizeMaxRows", "50", "maxlength", "250", 1, "m-input", 3, "formControl"], [1, "miam-recipe-stepper__description__counter"], ["class", "miam-recipe-stepper__section__times", 4, "ngIf"], [1, "miam-recipe-stepper__attibutes__slider"], ["ngDefaultControl", "", 3, "steps", "formControl", "icons"], ["class", "miam-recipe-stepper__mobile__buttons", 4, "ngIf"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged", 4, "ngIf"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged", 4, "ngIf"], [1, "miam-recipe-stepper__tags"], [1, "miam-recipe-stepper__tags__title"], [1, "miam-recipe-stepper__tags__recap"], ["class", "miam-recipe-stepper__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], ["primaryColor", "var(--m-color-onyx)", 3, "iconName"], [1, "miam-recipe-stepper__tag", 3, "ngClass"], [1, "miam-recipe-stepper__tag__name"], ["primaryColor", "var(--m-color-grey01)", 1, "miam-recipe-stepper__tag__icon", 3, "iconName", "click"], [1, "miam-recipe-stepper__picture__warning"], ["primaryColor", "var(--m-color-warning-text)", 3, "iconName"], [1, "miam-recipe-stepper__picture__warning__background"], [1, "miam-recipe-stepper__section__times"], ["ngDefaultControl", "", "title", "Temps de pr\u00E9paration", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de cuisson", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de repos", 3, "formControl", "icon"], [1, "miam-recipe-stepper__mobile__buttons"], [1, "m-button-secondary", 3, "ngClass", "click"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged"], [3, "display", "currentTags", "close", "savedTags"]], template: function RecipeStepperComponent_Template(rf, ctx) { if (rf & 1) {
14759
14827
  ɵɵelement(0, "div", 0, 1);
14760
14828
  ɵɵelementStart(2, "div", 2);
14761
14829
  ɵɵelementStart(3, "div", 3);
@@ -14835,7 +14903,7 @@ RecipeStepperComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeStepperComponen
14835
14903
  ɵɵtextInterpolate1(" ", ctx.primaryActionText, " ");
14836
14904
  ɵɵadvance(1);
14837
14905
  ɵɵproperty("ngIf", ctx.displayTags && ctx.recipe);
14838
- } }, directives: [IconComponent, NgClass, NgIf, NgControlStatusGroup, FormGroupDirective, TextInputComponent, DefaultValueAccessor, NgControlStatus, FormControlDirective, RecipeTypeChooserComponent, CounterInputComponent, FormControlName, DragDropInputComponent, MaxLengthValidator, SliderComponent, NgForOf, TimePickerComponent, ListInputComponent, FormArrayName, LoaderComponent, TagsSelectorComponent], styles: ["@charset \"UTF-8\";.miam-recipe-stepper__anchor{bottom:0;height:250px;margin-top:-250px;position:relative}.miam-recipe-stepper{display:flex;flex-direction:column;width:100%}.miam-recipe-stepper label{font-size:19px;line-height:24px}.miam-recipe-stepper label span{color:var(--m-color-secondary)}.miam-recipe-stepper .miam-recipe-stepper__padding{background-color:var(--m-color-unpure-white);height:32px;position:relative;width:100%}.miam-recipe-stepper .miam-recipe-stepper__padding button{left:40px;padding:8px 16px;position:absolute;z-index:3}.miam-recipe-stepper .miam-recipe-stepper__padding button ng-miam-icon{height:16px;margin-left:0;padding-top:20px;transform:rotate(90deg)}.miam-recipe-stepper .miam-recipe-stepper__padding button ng-miam-icon svg path:first-of-type{fill:none}.miam-recipe-stepper .miam-recipe-stepper__links{align-items:center;background-color:var(--m-color-unpure-white);display:flex;justify-content:space-evenly;padding:16px 0;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:3}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__links{align-items:baseline;justify-content:center;width:100vw}}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link{align-items:center;cursor:pointer;display:flex;flex-direction:column;justify-content:center}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link .miam-recipe-stepper__link__number{align-items:center;border:1px solid;border-radius:64px;color:var(--m-color-grey02);display:flex;font-size:32px;font-style:normal;font-weight:700;height:64px;justify-content:center;line-height:44px;width:64px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link .miam-recipe-stepper__link__number{font-size:22px;height:40px;line-height:32px;width:40px}}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link .miam-recipe-stepper__link__name{color:var(--m-color-grey02);padding-top:8px}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link.active .miam-recipe-stepper__link__number{background-color:var(--m-color-secondary);border-color:var(--m-color-secondary);color:var(--m-color-unpure-white)}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link.active .miam-recipe-stepper__link__name{color:var(--m-color-secondary)}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link__divider{background-color:var(--m-color-slate);height:1px;width:64px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link__divider{width:40px}}.miam-recipe-stepper .miam-recipe-stepper__section{align-items:center;display:flex;flex-direction:column;gap:64px;justify-content:center;padding:84px 0;position:relative;scroll-margin-top:175px;width:100%}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section{gap:0;justify-content:flex-start;padding:24px 36px;width:100vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mandatory{bottom:0;color:var(--m-color-danger);position:absolute;right:32px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mandatory{right:16px}}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .m-input{align-items:flex-start;background-color:transparent;border:none;display:flex;flex-direction:column-reverse;justify-content:flex-start;max-width:unset;min-width:unset}.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__input{border:1px solid var(--m-color-light-slate);border-radius:4px;max-width:90vw;min-width:90vw}.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__label.input__label__top,.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__label:not(.input__label__top){background-color:transparent;color:var(--m-color-black);font-size:24px;font-weight:700;padding-bottom:16px;position:static;transform:none}.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__label:after{color:var(--m-color-warning-text);content:\"*\"}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__type__label{color:var(--m-color-black);font-size:24px;font-weight:700;padding-bottom:16px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__type__label{padding:16px 0;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section:nth-child(2n){background-color:var(--m-color-primary-light)}.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-text-input .miam-text-input{background-color:var(--m-color-unpure-white)}.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-select-input .miam-select{background-color:var(--m-color-unpure-white);width:330px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__guests{display:flex;gap:16px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__guests{align-items:center;flex-direction:column;justify-content:center;margin:16px 0;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags{align-items:center;display:flex;flex-direction:column}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__title{font-size:16px;font-weight:700}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap{align-items:center;display:flex;flex-flow:row wrap;margin:10px 8px;max-width:80vw}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag{align-items:center;background-color:var(--m-color-primary-light);border-radius:4px;display:flex;margin:6px;padding:8px 12px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.meal_type{background-color:var(--m-color-tag-meal-type)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.equipment{background-color:var(--m-color-tag-equipment)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.diet{background-color:var(--m-color-tag-diet)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag .miam-recipe-stepper__tag__name{color:var(--m-color-grey01)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag .miam-recipe-stepper__tag__icon .icon-container{-webkit-tap-highlight-color:transparent;cursor:pointer;margin:0 0 0 16px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .m-button-secondary ng-miam-icon{margin:0 16px 0 0}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row{display:flex;flex-wrap:wrap;gap:64px;justify-content:center;width:100%}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row{gap:0;width:100vw}}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description{width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description label{margin-top:16px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description textarea.m-input{height:150px;max-width:700px;resize:none;width:700px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description textarea.m-input{width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description .miam-recipe-stepper__description__counter{color:var(--m-color-light-slate);margin:8px;text-align:end}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture{display:flex;flex-direction:column;gap:8px;width:330px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture{width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture .miam-uploader{margin-bottom:0}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture .miam-recipe-stepper__picture__warning{border:1px solid var(--m-color-warning);border-radius:8px;color:var(--m-color-warning-text);display:flex;gap:12px;padding:8px;position:relative}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture .miam-recipe-stepper__picture__warning .miam-recipe-stepper__picture__warning__background{background-color:var(--m-color-warning);border-radius:8px;height:100%;left:0;opacity:.15;position:absolute;top:0;width:100%}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__times{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-evenly}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__times .miam-time-picker{align-items:center;flex-direction:column;justify-content:center;margin-bottom:16px;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider{width:560px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider label{text-align:center;width:100%}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider{width:90vw}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider label{width:100vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input{display:flex;flex-direction:row-reverse;gap:32px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input{flex-direction:column;gap:0;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions{margin-top:50px;position:relative}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions{margin-top:0}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions textarea{height:300px!important;max-height:300px!important;max-width:calc(98vw - 776px);min-height:300px!important;width:400px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions textarea{height:unset!important;max-width:unset!important;min-height:110px!important;width:unset!important}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions button{margin-top:16px}.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-list-input:first-of-type .miam-list-input__actions .miam-list-input__actions__instructions:before{content:\"Merci d'indiquer la quantit\u00E9 en premier comme indiqu\u00E9 dans les exemples.\\a\\a\";font-weight:700}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mobile__buttons{display:grid;gap:8px;grid-template-columns:repeat(2,1fr)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mobile__buttons button{margin-right:0}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mobile__buttons button.active{background-color:var(--m-color-primary);color:var(--m-color-white)}.miam-recipe-stepper ng-miam-loader{display:flex;justify-content:center;padding:50vh;width:100%}.miam-recipe-stepper .miam-recipe-stepper__footer{display:flex;gap:64px;justify-content:center;padding:64px 0}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__footer{display:grid;gap:8px;grid-template-columns:repeat(2,1fr);padding:16px 8px}}"], encapsulation: 2, changeDetection: 0 });
14906
+ } }, directives: [IconComponent, NgClass, NgIf, NgControlStatusGroup, FormGroupDirective, TextInputComponent, DefaultValueAccessor, NgControlStatus, FormControlDirective, RecipeTypeChooserComponent, CounterInputComponent, FormControlName, DragDropInputComponent, MaxLengthValidator, SliderComponent, NgForOf, TimePickerComponent, ListInputComponent, FormArrayName, LoaderComponent, TagsSelectorComponent], styles: ["@charset \"UTF-8\";.miam-recipe-stepper__anchor{bottom:0;height:250px;margin-top:-250px;position:relative}.miam-recipe-stepper{display:flex;flex-direction:column;width:100%}.miam-recipe-stepper label{font-size:19px;line-height:24px}.miam-recipe-stepper label span{color:var(--m-color-secondary)}.miam-recipe-stepper .miam-recipe-stepper__padding{background-color:var(--m-color-unpure-white);height:32px;position:relative;width:100%}.miam-recipe-stepper .miam-recipe-stepper__padding button{left:40px;padding:8px 16px;position:absolute;z-index:3}.miam-recipe-stepper .miam-recipe-stepper__padding button ng-miam-icon{height:16px;margin-left:0;padding-top:20px;transform:rotate(90deg)}.miam-recipe-stepper .miam-recipe-stepper__padding button ng-miam-icon svg path:first-of-type{fill:none}.miam-recipe-stepper .miam-recipe-stepper__links{align-items:center;background-color:var(--m-color-unpure-white);display:flex;justify-content:space-evenly;padding:16px 0;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:3}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__links{align-items:baseline;justify-content:center;width:100vw}}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link{align-items:center;cursor:pointer;display:flex;flex-direction:column;justify-content:center}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link .miam-recipe-stepper__link__number{align-items:center;border:1px solid;border-radius:64px;color:var(--m-color-grey02);display:flex;font-size:32px;font-style:normal;font-weight:700;height:64px;justify-content:center;line-height:44px;width:64px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link .miam-recipe-stepper__link__number{font-size:22px;height:40px;line-height:32px;width:40px}}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link .miam-recipe-stepper__link__name{color:var(--m-color-grey02);padding-top:8px}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link.active .miam-recipe-stepper__link__number{background-color:var(--m-color-secondary);border-color:var(--m-color-secondary);color:var(--m-color-unpure-white)}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link.active .miam-recipe-stepper__link__name{color:var(--m-color-secondary)}.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link__divider{background-color:var(--m-color-slate);height:1px;width:64px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__links .miam-recipe-stepper__link__divider{width:40px}}.miam-recipe-stepper .miam-recipe-stepper__section{align-items:center;display:flex;flex-direction:column;gap:64px;justify-content:center;padding:84px 0;position:relative;scroll-margin-top:175px;width:100%}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section{gap:0;justify-content:flex-start;padding:24px 36px;width:100vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mandatory{bottom:0;color:var(--m-color-danger);position:absolute;right:32px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mandatory{right:16px}}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .m-input{align-items:flex-start;background-color:transparent;border:none;display:flex;flex-direction:column-reverse;justify-content:flex-start;max-width:unset;min-width:unset}.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__input{border:1px solid var(--m-color-light-slate);border-radius:4px;max-width:90vw;min-width:90vw}.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__label.input__label__top,.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__label:not(.input__label__top){background-color:transparent;color:var(--m-color-black);font-size:24px;font-weight:700;padding-bottom:16px;position:static;transform:none}.miam-recipe-stepper .miam-recipe-stepper__section .m-title-text-input .miam-text-input__label:after{color:var(--m-color-warning-text);content:\"*\"}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__type__label{color:var(--m-color-black);font-size:24px;font-weight:700;padding-bottom:16px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__type__label{padding:16px 0;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section:nth-child(2n){background-color:var(--m-color-primary-light)}.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-text-input .miam-text-input{background-color:var(--m-color-unpure-white)}.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-select-input .miam-select{background-color:var(--m-color-unpure-white);width:330px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__guests{display:flex;gap:16px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__guests{align-items:center;flex-direction:column;justify-content:center;margin:16px 0;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags{align-items:center;display:flex;flex-direction:column}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__title{font-size:16px;font-weight:700}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap{align-items:center;display:flex;flex-flow:row wrap;margin:10px 8px;max-width:80vw}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag{align-items:center;background-color:var(--m-color-primary-light);border-radius:4px;display:flex;margin:6px;padding:8px 12px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.meal_type{background-color:var(--m-color-tag-meal-type)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.equipment{background-color:var(--m-color-tag-equipment)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag.diet{background-color:var(--m-color-tag-diet)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag .miam-recipe-stepper__tag__name{color:var(--m-color-grey01)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .miam-recipe-stepper__tags__recap .miam-recipe-stepper__tag .miam-recipe-stepper__tag__icon .icon-container{-webkit-tap-highlight-color:transparent;cursor:pointer;margin:0 0 0 16px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__tags .m-button-secondary ng-miam-icon{margin:0 16px 0 0}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row{display:flex;flex-wrap:wrap;gap:64px;justify-content:center;width:100%}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row{gap:0;width:100vw}}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description{width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description label{margin-top:16px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description textarea.m-input{height:150px;max-width:700px;resize:none;width:700px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description textarea.m-input{width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__row__description .miam-recipe-stepper__description__counter{color:var(--m-color-light-slate);margin:8px;text-align:end}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture{display:flex;flex-direction:column;gap:8px;width:330px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture{width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture .miam-uploader{margin-bottom:0}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture .miam-recipe-stepper__picture__warning{border:1px solid var(--m-color-warning);border-radius:8px;color:var(--m-color-warning-text);display:flex;gap:12px;padding:8px;position:relative}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__row .miam-recipe-stepper__picture .miam-recipe-stepper__picture__warning .miam-recipe-stepper__picture__warning__background{background-color:var(--m-color-warning);border-radius:8px;height:100%;left:0;opacity:.15;position:absolute;top:0;width:100%}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__times{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-evenly}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__section__times .miam-time-picker{align-items:center;flex-direction:column;justify-content:center;margin-bottom:16px;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider{width:560px}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider label{text-align:center;width:100%}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider{width:90vw}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__attibutes__slider label{width:100vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input{display:flex;flex-direction:row-reverse;gap:32px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input{flex-direction:column;gap:0;width:90vw}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions{margin-top:50px;position:relative}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions{margin-top:0}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions textarea{height:300px!important;max-height:300px!important;max-width:calc(98vw - 776px);min-height:300px!important;width:400px}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions textarea{height:unset!important;max-width:unset!important;min-height:110px!important;width:unset!important}}.miam-recipe-stepper .miam-recipe-stepper__section .miam-list-input .miam-list-input__actions button{margin-top:16px}@media (min-width:1024px){.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-list-input{width:calc(100% - 16px)}}.miam-recipe-stepper .miam-recipe-stepper__section ng-miam-list-input:first-of-type .miam-list-input__actions .miam-list-input__actions__instructions:before{content:\"Merci d'indiquer la quantit\u00E9 en premier comme indiqu\u00E9 dans les exemples.\\a\\a\";font-weight:700}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mobile__buttons{display:grid;gap:8px;grid-template-columns:repeat(2,1fr)}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mobile__buttons button{margin-right:0}.miam-recipe-stepper .miam-recipe-stepper__section .miam-recipe-stepper__mobile__buttons button.active{background-color:var(--m-color-primary);color:var(--m-color-white)}.miam-recipe-stepper ng-miam-loader{display:flex;justify-content:center;padding:50vh;width:100%}.miam-recipe-stepper .miam-recipe-stepper__footer{display:flex;gap:64px;justify-content:center;padding:64px 0}@media (max-width:1023px){.miam-recipe-stepper .miam-recipe-stepper__footer{display:grid;gap:8px;grid-template-columns:repeat(2,1fr);padding:16px 8px}}"], encapsulation: 2, changeDetection: 0 });
14839
14907
  const ɵRecipeStepperComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFactory(RecipeStepperComponent);
14840
14908
  /*@__PURE__*/ (function () { ɵsetClassMetadata(RecipeStepperComponent, [{
14841
14909
  type: Component,
@@ -14848,6 +14916,8 @@ const ɵRecipeStepperComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFacto
14848
14916
  }]
14849
14917
  }], null, { displayTags: [{
14850
14918
  type: Input
14919
+ }], ingredientsPictures: [{
14920
+ type: Input
14851
14921
  }], topAnchor: [{
14852
14922
  type: ViewChild,
14853
14923
  args: ['topAnchor']
@@ -14859,7 +14929,7 @@ const ɵRecipeStepperComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFacto
14859
14929
  args: ['step']
14860
14930
  }] }); })();
14861
14931
 
14862
- const _c0$w = ["tag"];
14932
+ const _c0$x = ["tag"];
14863
14933
  function RecipeTagsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
14864
14934
  const _r6 = ɵɵgetCurrentView();
14865
14935
  ɵɵelementStart(0, "div", 9, 10);
@@ -14979,7 +15049,7 @@ class RecipeTagsComponent {
14979
15049
  }
14980
15050
  RecipeTagsComponent.ɵfac = function RecipeTagsComponent_Factory(t) { return new (t || RecipeTagsComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(BasketsService), ɵɵdirectiveInject(ContextService)); };
14981
15051
  RecipeTagsComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeTagsComponent, selectors: [["ng-miam-recipe-tags"]], viewQuery: function RecipeTagsComponent_Query(rf, ctx) { if (rf & 1) {
14982
- ɵɵviewQuery(_c0$w, true);
15052
+ ɵɵviewQuery(_c0$x, true);
14983
15053
  } if (rf & 2) {
14984
15054
  var _t;
14985
15055
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.tags = _t);
@@ -15083,7 +15153,7 @@ function RecipesHistoryComponent_div_6_div_8_Template(rf, ctx) { if (rf & 1) {
15083
15153
  ɵɵadvance(1);
15084
15154
  ɵɵproperty("ngIf", ɵɵpipeBind1(2, 1, line_r8));
15085
15155
  } }
15086
- const _c0$x = function (a0) { return { rotate: a0 }; };
15156
+ const _c0$y = function (a0) { return { rotate: a0 }; };
15087
15157
  const _c1$h = function (a0) { return { wrap: a0 }; };
15088
15158
  function RecipesHistoryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
15089
15159
  const _r12 = ɵɵgetCurrentView();
@@ -15108,7 +15178,7 @@ function RecipesHistoryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
15108
15178
  ɵɵadvance(3);
15109
15179
  ɵɵtextInterpolate(ɵɵpipeBind1(4, 5, group_r6.date));
15110
15180
  ɵɵadvance(2);
15111
- ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$x, !group_r6.show));
15181
+ ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$y, !group_r6.show));
15112
15182
  ɵɵadvance(1);
15113
15183
  ɵɵproperty("iconName", ctx_r2.icon.ChevronDown);
15114
15184
  ɵɵadvance(1);
@@ -15271,7 +15341,7 @@ PrintService.ɵprov = ɵɵdefineInjectable({ token: PrintService, factory: Print
15271
15341
  }]
15272
15342
  }], function () { return []; }, null); })();
15273
15343
 
15274
- const _c0$y = ["details"];
15344
+ const _c0$z = ["details"];
15275
15345
  function RecipeModalComponent_ng_miam_recipe_details_1_Template(rf, ctx) { if (rf & 1) {
15276
15346
  const _r4 = ɵɵgetCurrentView();
15277
15347
  ɵɵelementStart(0, "ng-miam-recipe-details", 3, 4);
@@ -15359,7 +15429,7 @@ class RecipeModalComponent {
15359
15429
  }
15360
15430
  RecipeModalComponent.ɵfac = function RecipeModalComponent_Factory(t) { return new (t || RecipeModalComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(PrintService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(GroceriesListsService)); };
15361
15431
  RecipeModalComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeModalComponent, selectors: [["ng-miam-recipe-modal"]], viewQuery: function RecipeModalComponent_Query(rf, ctx) { if (rf & 1) {
15362
- ɵɵviewQuery(_c0$y, true);
15432
+ ɵɵviewQuery(_c0$z, true);
15363
15433
  } if (rf & 2) {
15364
15434
  var _t;
15365
15435
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.content = _t.first);
@@ -15389,7 +15459,7 @@ RecipeModalComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeModalComponent, s
15389
15459
  args: ['details']
15390
15460
  }] }); })();
15391
15461
 
15392
- const _c0$z = ["recipeCard"];
15462
+ const _c0$A = ["recipeCard"];
15393
15463
  function SuggestionCardComponent_ng_miam_recipe_card_0_Template(rf, ctx) { if (rf & 1) {
15394
15464
  const _r3 = ɵɵgetCurrentView();
15395
15465
  ɵɵelementStart(0, "ng-miam-recipe-card", 1, 2);
@@ -15481,7 +15551,7 @@ class SuggestionCardComponent extends AbstractRecipeCardComponent {
15481
15551
  }
15482
15552
  SuggestionCardComponent.ɵfac = function SuggestionCardComponent_Factory(t) { return new (t || SuggestionCardComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(ElementRef)); };
15483
15553
  SuggestionCardComponent.ɵcmp = ɵɵdefineComponent({ type: SuggestionCardComponent, selectors: [["ng-miam-suggestion-card"]], viewQuery: function SuggestionCardComponent_Query(rf, ctx) { if (rf & 1) {
15484
- ɵɵviewQuery(_c0$z, true);
15554
+ ɵɵviewQuery(_c0$A, true);
15485
15555
  } if (rf & 2) {
15486
15556
  var _t;
15487
15557
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.recipeCard = _t.first);