ng-miam 6.2.2 → 6.2.3
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.
- package/bundles/ng-miam.umd.js +428 -144
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +2 -2
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/list-input/list-input.component.js +3 -1
- package/esm2015/lib/_services/context.service.js +4 -1
- package/esm2015/lib/_services/ingredients.service.js +2 -11
- package/esm2015/lib/_services/interceptor.service.js +2 -2
- package/esm2015/lib/_types/builded/miam-interface.js +1 -1
- package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +101 -29
- package/esm2015/lib/_web-components/recipe-card/recipe-card.component.js +121 -49
- package/esm2015/lib/_web-components/recipe-details/recipe-details-infos/recipe-details-infos.component.js +131 -59
- package/fesm2015/ng-miam.js +356 -144
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_types/builded/miam-interface.d.ts +4 -0
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -2590,15 +2590,6 @@
|
|
|
2590
2590
|
_this.resource = Ingredient;
|
|
2591
2591
|
_this.type = 'ingredients';
|
|
2592
2592
|
_this.register();
|
|
2593
|
-
// if you are using this service you will need this, prefetch it when user logs
|
|
2594
|
-
userService.isLogged$
|
|
2595
|
-
.pipe(operators.skipWhile(function (isLogged) { return !isLogged; }), operators.take(1))
|
|
2596
|
-
.subscribe(function (isLogged) {
|
|
2597
|
-
if (isLogged) {
|
|
2598
|
-
_this.fetchReviewedNames();
|
|
2599
|
-
_this.fetchReviewedUnits();
|
|
2600
|
-
}
|
|
2601
|
-
});
|
|
2602
2593
|
return _this;
|
|
2603
2594
|
}
|
|
2604
2595
|
IngredientsService.prototype.getReviewedNames = function () {
|
|
@@ -4352,6 +4343,9 @@
|
|
|
4352
4343
|
setDefaultIngredientPicture: function (url) {
|
|
4353
4344
|
_this.defaultIngredientPicture = url;
|
|
4354
4345
|
},
|
|
4346
|
+
search: function (provider, query) {
|
|
4347
|
+
return _this.recipesService.all({ remotefilter: { recipe_provider_id: provider, search: query } }).pipe(operators.skipWhile(function (result) { return !result; }), operators.map(function (response) { return response['data']; }));
|
|
4348
|
+
},
|
|
4355
4349
|
// We keep those just in case
|
|
4356
4350
|
// setRecipesPrimaryButtonActions: (display = true, addToBasket = true) => {
|
|
4357
4351
|
// this.recipesService.setRecipesPrimaryButtonActions(display, addToBasket);
|
|
@@ -7582,6 +7576,8 @@
|
|
|
7582
7576
|
this.orderHasChanged = new i0.EventEmitter();
|
|
7583
7577
|
this.previousQuantities = [];
|
|
7584
7578
|
this.maxSelectionNumber = 5;
|
|
7579
|
+
this.ingredientService.getReviewedNames();
|
|
7580
|
+
this.ingredientService.getReviewedUnits();
|
|
7585
7581
|
}
|
|
7586
7582
|
ListInputComponent.prototype.delete = function (index) {
|
|
7587
7583
|
var _a;
|
|
@@ -11377,41 +11373,137 @@
|
|
|
11377
11373
|
i0.ɵɵproperty("width", 60)("height", 20)("iconName", ctx_r36.icon.DifficultyLow);
|
|
11378
11374
|
}
|
|
11379
11375
|
}
|
|
11376
|
+
function RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template(rf, ctx) {
|
|
11377
|
+
if (rf & 1) {
|
|
11378
|
+
i0.ɵɵelementStart(0, "span", 56);
|
|
11379
|
+
i0.ɵɵtext(1);
|
|
11380
|
+
i0.ɵɵelementEnd();
|
|
11381
|
+
}
|
|
11382
|
+
if (rf & 2) {
|
|
11383
|
+
var ctx_r41 = i0.ɵɵnextContext(4);
|
|
11384
|
+
i0.ɵɵadvance(1);
|
|
11385
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r41.recipeService.difficultyLevels[0].label, " ");
|
|
11386
|
+
}
|
|
11387
|
+
}
|
|
11388
|
+
function RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template(rf, ctx) {
|
|
11389
|
+
if (rf & 1) {
|
|
11390
|
+
i0.ɵɵelementStart(0, "span", 56);
|
|
11391
|
+
i0.ɵɵi18n(1, 57);
|
|
11392
|
+
i0.ɵɵelementEnd();
|
|
11393
|
+
}
|
|
11394
|
+
}
|
|
11380
11395
|
function RecipeCardComponent_div_0_div_12_ng_container_6_Template(rf, ctx) {
|
|
11381
11396
|
if (rf & 1) {
|
|
11382
11397
|
i0.ɵɵelementContainerStart(0);
|
|
11383
|
-
i0.ɵɵ
|
|
11384
|
-
i0.ɵɵ
|
|
11385
|
-
i0.ɵɵelementEnd();
|
|
11398
|
+
i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template, 2, 1, "span", 54);
|
|
11399
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 55, i0.ɵɵtemplateRefExtractor);
|
|
11386
11400
|
i0.ɵɵelementContainerEnd();
|
|
11387
11401
|
}
|
|
11402
|
+
if (rf & 2) {
|
|
11403
|
+
var _r42 = i0.ɵɵreference(3);
|
|
11404
|
+
var ctx_r37 = i0.ɵɵnextContext(3);
|
|
11405
|
+
i0.ɵɵadvance(1);
|
|
11406
|
+
i0.ɵɵproperty("ngIf", (ctx_r37.recipeService.difficultyLevels[0] == null ? null : ctx_r37.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r42);
|
|
11407
|
+
}
|
|
11408
|
+
}
|
|
11409
|
+
function RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template(rf, ctx) {
|
|
11410
|
+
if (rf & 1) {
|
|
11411
|
+
i0.ɵɵelementStart(0, "span", 60);
|
|
11412
|
+
i0.ɵɵtext(1);
|
|
11413
|
+
i0.ɵɵelementEnd();
|
|
11414
|
+
}
|
|
11415
|
+
if (rf & 2) {
|
|
11416
|
+
var ctx_r44 = i0.ɵɵnextContext(4);
|
|
11417
|
+
i0.ɵɵadvance(1);
|
|
11418
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r44.recipeService.difficultyLevels[1].label, " ");
|
|
11419
|
+
}
|
|
11420
|
+
}
|
|
11421
|
+
function RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template(rf, ctx) {
|
|
11422
|
+
if (rf & 1) {
|
|
11423
|
+
i0.ɵɵelementStart(0, "span", 60);
|
|
11424
|
+
i0.ɵɵi18n(1, 61);
|
|
11425
|
+
i0.ɵɵelementEnd();
|
|
11426
|
+
}
|
|
11388
11427
|
}
|
|
11389
11428
|
function RecipeCardComponent_div_0_div_12_ng_container_7_Template(rf, ctx) {
|
|
11390
11429
|
if (rf & 1) {
|
|
11391
11430
|
i0.ɵɵelementContainerStart(0);
|
|
11392
|
-
i0.ɵɵ
|
|
11393
|
-
i0.ɵɵ
|
|
11394
|
-
i0.ɵɵelementEnd();
|
|
11431
|
+
i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template, 2, 1, "span", 58);
|
|
11432
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 59, i0.ɵɵtemplateRefExtractor);
|
|
11395
11433
|
i0.ɵɵelementContainerEnd();
|
|
11396
11434
|
}
|
|
11435
|
+
if (rf & 2) {
|
|
11436
|
+
var _r45 = i0.ɵɵreference(3);
|
|
11437
|
+
var ctx_r38 = i0.ɵɵnextContext(3);
|
|
11438
|
+
i0.ɵɵadvance(1);
|
|
11439
|
+
i0.ɵɵproperty("ngIf", (ctx_r38.recipeService.difficultyLevels[1] == null ? null : ctx_r38.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r45);
|
|
11440
|
+
}
|
|
11441
|
+
}
|
|
11442
|
+
function RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template(rf, ctx) {
|
|
11443
|
+
if (rf & 1) {
|
|
11444
|
+
i0.ɵɵelementStart(0, "span", 64);
|
|
11445
|
+
i0.ɵɵtext(1);
|
|
11446
|
+
i0.ɵɵelementEnd();
|
|
11447
|
+
}
|
|
11448
|
+
if (rf & 2) {
|
|
11449
|
+
var ctx_r47 = i0.ɵɵnextContext(4);
|
|
11450
|
+
i0.ɵɵadvance(1);
|
|
11451
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r47.recipeService.difficultyLevels[2].label, " ");
|
|
11452
|
+
}
|
|
11453
|
+
}
|
|
11454
|
+
function RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template(rf, ctx) {
|
|
11455
|
+
if (rf & 1) {
|
|
11456
|
+
i0.ɵɵelementStart(0, "span", 64);
|
|
11457
|
+
i0.ɵɵi18n(1, 65);
|
|
11458
|
+
i0.ɵɵelementEnd();
|
|
11459
|
+
}
|
|
11397
11460
|
}
|
|
11398
11461
|
function RecipeCardComponent_div_0_div_12_ng_container_8_Template(rf, ctx) {
|
|
11399
11462
|
if (rf & 1) {
|
|
11400
11463
|
i0.ɵɵelementContainerStart(0);
|
|
11401
|
-
i0.ɵɵ
|
|
11402
|
-
i0.ɵɵ
|
|
11403
|
-
i0.ɵɵelementEnd();
|
|
11464
|
+
i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template, 2, 1, "span", 62);
|
|
11465
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 63, i0.ɵɵtemplateRefExtractor);
|
|
11404
11466
|
i0.ɵɵelementContainerEnd();
|
|
11405
11467
|
}
|
|
11468
|
+
if (rf & 2) {
|
|
11469
|
+
var _r48 = i0.ɵɵreference(3);
|
|
11470
|
+
var ctx_r39 = i0.ɵɵnextContext(3);
|
|
11471
|
+
i0.ɵɵadvance(1);
|
|
11472
|
+
i0.ɵɵproperty("ngIf", (ctx_r39.recipeService.difficultyLevels[2] == null ? null : ctx_r39.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r48);
|
|
11473
|
+
}
|
|
11474
|
+
}
|
|
11475
|
+
function RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template(rf, ctx) {
|
|
11476
|
+
if (rf & 1) {
|
|
11477
|
+
i0.ɵɵelementStart(0, "span", 56);
|
|
11478
|
+
i0.ɵɵtext(1);
|
|
11479
|
+
i0.ɵɵelementEnd();
|
|
11480
|
+
}
|
|
11481
|
+
if (rf & 2) {
|
|
11482
|
+
var ctx_r50 = i0.ɵɵnextContext(4);
|
|
11483
|
+
i0.ɵɵadvance(1);
|
|
11484
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r50.recipeService.difficultyLevels[0].label, " ");
|
|
11485
|
+
}
|
|
11486
|
+
}
|
|
11487
|
+
function RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template(rf, ctx) {
|
|
11488
|
+
if (rf & 1) {
|
|
11489
|
+
i0.ɵɵelementStart(0, "span", 56);
|
|
11490
|
+
i0.ɵɵi18n(1, 67);
|
|
11491
|
+
i0.ɵɵelementEnd();
|
|
11492
|
+
}
|
|
11406
11493
|
}
|
|
11407
11494
|
function RecipeCardComponent_div_0_div_12_ng_container_9_Template(rf, ctx) {
|
|
11408
11495
|
if (rf & 1) {
|
|
11409
11496
|
i0.ɵɵelementContainerStart(0);
|
|
11410
|
-
i0.ɵɵ
|
|
11411
|
-
i0.ɵɵ
|
|
11412
|
-
i0.ɵɵelementEnd();
|
|
11497
|
+
i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template, 2, 1, "span", 54);
|
|
11498
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 66, i0.ɵɵtemplateRefExtractor);
|
|
11413
11499
|
i0.ɵɵelementContainerEnd();
|
|
11414
11500
|
}
|
|
11501
|
+
if (rf & 2) {
|
|
11502
|
+
var _r51 = i0.ɵɵreference(3);
|
|
11503
|
+
var ctx_r40 = i0.ɵɵnextContext(3);
|
|
11504
|
+
i0.ɵɵadvance(1);
|
|
11505
|
+
i0.ɵɵproperty("ngIf", (ctx_r40.recipeService.difficultyLevels[0] == null ? null : ctx_r40.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r51);
|
|
11506
|
+
}
|
|
11415
11507
|
}
|
|
11416
11508
|
var _c8 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11417
11509
|
function RecipeCardComponent_div_0_div_12_Template(rf, ctx) {
|
|
@@ -11423,10 +11515,10 @@
|
|
|
11423
11515
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 52);
|
|
11424
11516
|
i0.ɵɵelementContainerEnd();
|
|
11425
11517
|
i0.ɵɵelementContainerStart(5, 50);
|
|
11426
|
-
i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template,
|
|
11427
|
-
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template,
|
|
11428
|
-
i0.ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template,
|
|
11429
|
-
i0.ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template,
|
|
11518
|
+
i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 4, 2, "ng-container", 51);
|
|
11519
|
+
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 4, 2, "ng-container", 51);
|
|
11520
|
+
i0.ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 4, 2, "ng-container", 51);
|
|
11521
|
+
i0.ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 4, 2, "ng-container", 52);
|
|
11430
11522
|
i0.ɵɵelementContainerEnd();
|
|
11431
11523
|
i0.ɵɵelementEnd();
|
|
11432
11524
|
}
|
|
@@ -11451,14 +11543,14 @@
|
|
|
11451
11543
|
}
|
|
11452
11544
|
function RecipeCardComponent_div_0_div_13_Template(rf, ctx) {
|
|
11453
11545
|
if (rf & 1) {
|
|
11454
|
-
i0.ɵɵelementStart(0, "div",
|
|
11455
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11546
|
+
i0.ɵɵelementStart(0, "div", 68);
|
|
11547
|
+
i0.ɵɵelement(1, "ng-miam-icon", 69);
|
|
11456
11548
|
i0.ɵɵelementStart(2, "span", 48);
|
|
11457
11549
|
i0.ɵɵelementStart(3, "span");
|
|
11458
11550
|
i0.ɵɵtext(4);
|
|
11459
11551
|
i0.ɵɵelementEnd();
|
|
11460
11552
|
i0.ɵɵelementStart(5, "span");
|
|
11461
|
-
i0.ɵɵi18n(6,
|
|
11553
|
+
i0.ɵɵi18n(6, 70);
|
|
11462
11554
|
i0.ɵɵelementEnd();
|
|
11463
11555
|
i0.ɵɵelementEnd();
|
|
11464
11556
|
i0.ɵɵelementEnd();
|
|
@@ -11482,26 +11574,26 @@
|
|
|
11482
11574
|
}
|
|
11483
11575
|
function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) {
|
|
11484
11576
|
if (rf & 1) {
|
|
11485
|
-
i0.ɵɵelementStart(0, "div",
|
|
11577
|
+
i0.ɵɵelementStart(0, "div", 74);
|
|
11486
11578
|
i0.ɵɵtext(1);
|
|
11487
11579
|
i0.ɵɵelementEnd();
|
|
11488
11580
|
}
|
|
11489
11581
|
if (rf & 2) {
|
|
11490
|
-
var
|
|
11582
|
+
var ctx_r53 = i0.ɵɵnextContext(3);
|
|
11491
11583
|
i0.ɵɵadvance(1);
|
|
11492
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11584
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r53.recipe.modifiedIngredients.length - 2, " ");
|
|
11493
11585
|
}
|
|
11494
11586
|
}
|
|
11495
11587
|
function RecipeCardComponent_div_0_div_21_Template(rf, ctx) {
|
|
11496
11588
|
if (rf & 1) {
|
|
11497
|
-
i0.ɵɵelementStart(0, "div",
|
|
11498
|
-
i0.ɵɵelementStart(1, "div",
|
|
11589
|
+
i0.ɵɵelementStart(0, "div", 71);
|
|
11590
|
+
i0.ɵɵelementStart(1, "div", 72);
|
|
11499
11591
|
i0.ɵɵelement(2, "img", 42);
|
|
11500
11592
|
i0.ɵɵelementEnd();
|
|
11501
|
-
i0.ɵɵelementStart(3, "div",
|
|
11593
|
+
i0.ɵɵelementStart(3, "div", 72);
|
|
11502
11594
|
i0.ɵɵelement(4, "img", 42);
|
|
11503
11595
|
i0.ɵɵelementEnd();
|
|
11504
|
-
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div",
|
|
11596
|
+
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 73);
|
|
11505
11597
|
i0.ɵɵelementEnd();
|
|
11506
11598
|
}
|
|
11507
11599
|
if (rf & 2) {
|
|
@@ -11516,10 +11608,10 @@
|
|
|
11516
11608
|
}
|
|
11517
11609
|
function RecipeCardComponent_div_0_div_22_Template(rf, ctx) {
|
|
11518
11610
|
if (rf & 1) {
|
|
11519
|
-
var
|
|
11520
|
-
i0.ɵɵelementStart(0, "div",
|
|
11521
|
-
i0.ɵɵelementStart(1, "ng-miam-counter-input",
|
|
11522
|
-
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
11611
|
+
var _r55_1 = i0.ɵɵgetCurrentView();
|
|
11612
|
+
i0.ɵɵelementStart(0, "div", 75);
|
|
11613
|
+
i0.ɵɵelementStart(1, "ng-miam-counter-input", 76);
|
|
11614
|
+
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(_r55_1); var ctx_r54 = i0.ɵɵnextContext(2); return ctx_r54.updateGuests($event); });
|
|
11523
11615
|
i0.ɵɵelementEnd();
|
|
11524
11616
|
i0.ɵɵelementEnd();
|
|
11525
11617
|
}
|
|
@@ -11540,8 +11632,8 @@
|
|
|
11540
11632
|
}
|
|
11541
11633
|
function RecipeCardComponent_div_0_div_26_Template(rf, ctx) {
|
|
11542
11634
|
if (rf & 1) {
|
|
11543
|
-
i0.ɵɵelementStart(0, "div",
|
|
11544
|
-
i0.ɵɵelement(1, "ng-miam-recipe-pricing",
|
|
11635
|
+
i0.ɵɵelementStart(0, "div", 77);
|
|
11636
|
+
i0.ɵɵelement(1, "ng-miam-recipe-pricing", 78);
|
|
11545
11637
|
i0.ɵɵelementEnd();
|
|
11546
11638
|
}
|
|
11547
11639
|
if (rf & 2) {
|
|
@@ -11553,14 +11645,14 @@
|
|
|
11553
11645
|
function RecipeCardComponent_div_0_span_31_Template(rf, ctx) {
|
|
11554
11646
|
if (rf & 1) {
|
|
11555
11647
|
i0.ɵɵelementStart(0, "span");
|
|
11556
|
-
i0.ɵɵi18n(1,
|
|
11648
|
+
i0.ɵɵi18n(1, 79);
|
|
11557
11649
|
i0.ɵɵelementEnd();
|
|
11558
11650
|
}
|
|
11559
11651
|
}
|
|
11560
11652
|
function RecipeCardComponent_div_0_ng_container_33_span_1_Template(rf, ctx) {
|
|
11561
11653
|
if (rf & 1) {
|
|
11562
11654
|
i0.ɵɵelementStart(0, "span");
|
|
11563
|
-
i0.ɵɵi18n(1,
|
|
11655
|
+
i0.ɵɵi18n(1, 80);
|
|
11564
11656
|
i0.ɵɵelementEnd();
|
|
11565
11657
|
}
|
|
11566
11658
|
}
|
|
@@ -11580,7 +11672,7 @@
|
|
|
11580
11672
|
function RecipeCardComponent_div_0_ng_template_34_span_0_Template(rf, ctx) {
|
|
11581
11673
|
if (rf & 1) {
|
|
11582
11674
|
i0.ɵɵelementStart(0, "span");
|
|
11583
|
-
i0.ɵɵi18n(1,
|
|
11675
|
+
i0.ɵɵi18n(1, 81);
|
|
11584
11676
|
i0.ɵɵelementEnd();
|
|
11585
11677
|
}
|
|
11586
11678
|
}
|
|
@@ -11596,7 +11688,7 @@
|
|
|
11596
11688
|
}
|
|
11597
11689
|
function RecipeCardComponent_div_0_ng_miam_icon_36_Template(rf, ctx) {
|
|
11598
11690
|
if (rf & 1) {
|
|
11599
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
11691
|
+
i0.ɵɵelement(0, "ng-miam-icon", 82);
|
|
11600
11692
|
i0.ɵɵpipe(1, "async");
|
|
11601
11693
|
}
|
|
11602
11694
|
if (rf & 2) {
|
|
@@ -11612,7 +11704,7 @@
|
|
|
11612
11704
|
var _c17 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
11613
11705
|
function RecipeCardComponent_div_0_Template(rf, ctx) {
|
|
11614
11706
|
if (rf & 1) {
|
|
11615
|
-
var
|
|
11707
|
+
var _r59_1 = i0.ɵɵgetCurrentView();
|
|
11616
11708
|
i0.ɵɵelementStart(0, "div", 2);
|
|
11617
11709
|
i0.ɵɵelementStart(1, "div", 3);
|
|
11618
11710
|
i0.ɵɵelement(2, "img", 4);
|
|
@@ -11632,7 +11724,7 @@
|
|
|
11632
11724
|
i0.ɵɵelementStart(17, "div", 16);
|
|
11633
11725
|
i0.ɵɵelementStart(18, "div", 17);
|
|
11634
11726
|
i0.ɵɵelementStart(19, "div", 18);
|
|
11635
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(
|
|
11727
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(_r59_1); var ctx_r58 = i0.ɵɵnextContext(); return ctx_r58.toggleHelper(); });
|
|
11636
11728
|
i0.ɵɵelement(20, "ng-miam-icon", 19);
|
|
11637
11729
|
i0.ɵɵelementEnd();
|
|
11638
11730
|
i0.ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
|
|
@@ -11646,7 +11738,7 @@
|
|
|
11646
11738
|
i0.ɵɵelementEnd();
|
|
11647
11739
|
i0.ɵɵelementStart(27, "div", 25);
|
|
11648
11740
|
i0.ɵɵelementStart(28, "button", 26);
|
|
11649
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(
|
|
11741
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r59_1); var ctx_r60 = i0.ɵɵnextContext(); return ctx_r60.clickPrimary(); });
|
|
11650
11742
|
i0.ɵɵpipe(29, "async");
|
|
11651
11743
|
i0.ɵɵelementStart(30, "span");
|
|
11652
11744
|
i0.ɵɵtemplate(31, RecipeCardComponent_div_0_span_31_Template, 2, 0, "span", 27);
|
|
@@ -11822,32 +11914,32 @@
|
|
|
11822
11914
|
RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: function () {
|
|
11823
11915
|
var i18n_0;
|
|
11824
11916
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
11825
|
-
var MSG_EXTERNAL_3684169623116339825$$
|
|
11826
|
-
i18n_0 = MSG_EXTERNAL_3684169623116339825$$
|
|
11917
|
+
var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1 = goog.getMsg("Chef d\u00E9butant");
|
|
11918
|
+
i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1;
|
|
11827
11919
|
}
|
|
11828
11920
|
else {
|
|
11829
11921
|
i18n_0 = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
11830
11922
|
}
|
|
11831
11923
|
var i18n_2;
|
|
11832
11924
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
11833
|
-
var MSG_EXTERNAL_7733455880752157102$$
|
|
11834
|
-
i18n_2 = MSG_EXTERNAL_7733455880752157102$$
|
|
11925
|
+
var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3 = goog.getMsg("Chef interm\u00E9diaire");
|
|
11926
|
+
i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3;
|
|
11835
11927
|
}
|
|
11836
11928
|
else {
|
|
11837
11929
|
i18n_2 = $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
|
|
11838
11930
|
}
|
|
11839
11931
|
var i18n_4;
|
|
11840
11932
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
11841
|
-
var MSG_EXTERNAL_8735393154824887316$$
|
|
11842
|
-
i18n_4 = MSG_EXTERNAL_8735393154824887316$$
|
|
11933
|
+
var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5 = goog.getMsg("Top chef");
|
|
11934
|
+
i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5;
|
|
11843
11935
|
}
|
|
11844
11936
|
else {
|
|
11845
11937
|
i18n_4 = $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"], [":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"])));
|
|
11846
11938
|
}
|
|
11847
11939
|
var i18n_6;
|
|
11848
11940
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
11849
|
-
var MSG_EXTERNAL_3684169623116339825$$
|
|
11850
|
-
i18n_6 = MSG_EXTERNAL_3684169623116339825$$
|
|
11941
|
+
var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7 = goog.getMsg("Chef d\u00E9butant");
|
|
11942
|
+
i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7;
|
|
11851
11943
|
}
|
|
11852
11944
|
else {
|
|
11853
11945
|
i18n_6 = $localize(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
@@ -11884,7 +11976,7 @@
|
|
|
11884
11976
|
else {
|
|
11885
11977
|
i18n_15 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241Fe3d3d7039794cbbd2e16e8548bfbf9ee8fa29247\u241F1225769932237505428:Ajouter les ingr\u00E9dients"], [":\u241Fe3d3d7039794cbbd2e16e8548bfbf9ee8fa29247\u241F1225769932237505428:Ajouter les ingr\u00E9dients"])));
|
|
11886
11978
|
}
|
|
11887
|
-
return [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-card/Bookmark.svg", "alt", "Id\u00E9es repas"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__ingredients", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], ["class", "miam-recipe-card__right__col__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], ["originalCTA", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["class", "miam-recipe-card__picture__sponsor", 4, "ngIf"], ["class", "miam-recipe-card__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__picture__sponsor"], [3, "src"], [1, "miam-recipe-card__picture__filigrane"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__info", "recipe__total__time"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], [1, "miam-recipe-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], i18n_0, i18n_2, i18n_4, i18n_6, [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], i18n_9, [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], i18n_11, i18n_13, i18n_15, ["primaryColor", "#fff", 3, "width", "height", "iconName"]];
|
|
11979
|
+
return [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-card/Bookmark.svg", "alt", "Id\u00E9es repas"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__ingredients", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], ["class", "miam-recipe-card__right__col__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], ["originalCTA", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["class", "miam-recipe-card__picture__sponsor", 4, "ngIf"], ["class", "miam-recipe-card__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__picture__sponsor"], [3, "src"], [1, "miam-recipe-card__picture__filigrane"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__info", "recipe__total__time"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], [1, "miam-recipe-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__info__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-recipe-card__info__label", "easy"], i18n_0, ["class", "miam-recipe-card__info__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-recipe-card__info__label", "medium"], i18n_2, ["class", "miam-recipe-card__info__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-recipe-card__info__label", "hard"], i18n_4, ["difficultyDefault", ""], i18n_6, [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], i18n_9, [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], i18n_11, i18n_13, i18n_15, ["primaryColor", "#fff", 3, "width", "height", "iconName"]];
|
|
11888
11980
|
}, template: function RecipeCardComponent_Template(rf, ctx) {
|
|
11889
11981
|
if (rf & 1) {
|
|
11890
11982
|
i0.ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 39, 31, "div", 0);
|
|
@@ -15991,41 +16083,137 @@
|
|
|
15991
16083
|
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r2.icon.DifficultyLow);
|
|
15992
16084
|
}
|
|
15993
16085
|
}
|
|
16086
|
+
function RecipeDetailsInfosComponent_ng_container_8_span_1_Template(rf, ctx) {
|
|
16087
|
+
if (rf & 1) {
|
|
16088
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
16089
|
+
i0.ɵɵtext(1);
|
|
16090
|
+
i0.ɵɵelementEnd();
|
|
16091
|
+
}
|
|
16092
|
+
if (rf & 2) {
|
|
16093
|
+
var ctx_r10 = i0.ɵɵnextContext(2);
|
|
16094
|
+
i0.ɵɵadvance(1);
|
|
16095
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r10.recipesService.difficultyLevels[0].label, " ");
|
|
16096
|
+
}
|
|
16097
|
+
}
|
|
16098
|
+
function RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template(rf, ctx) {
|
|
16099
|
+
if (rf & 1) {
|
|
16100
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
16101
|
+
i0.ɵɵi18n(1, 18);
|
|
16102
|
+
i0.ɵɵelementEnd();
|
|
16103
|
+
}
|
|
16104
|
+
}
|
|
15994
16105
|
function RecipeDetailsInfosComponent_ng_container_8_Template(rf, ctx) {
|
|
15995
16106
|
if (rf & 1) {
|
|
15996
16107
|
i0.ɵɵelementContainerStart(0);
|
|
15997
|
-
i0.ɵɵ
|
|
15998
|
-
i0.ɵɵ
|
|
15999
|
-
i0.ɵɵelementEnd();
|
|
16108
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_8_span_1_Template, 2, 1, "span", 15);
|
|
16109
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
|
|
16000
16110
|
i0.ɵɵelementContainerEnd();
|
|
16001
16111
|
}
|
|
16112
|
+
if (rf & 2) {
|
|
16113
|
+
var _r11 = i0.ɵɵreference(3);
|
|
16114
|
+
var ctx_r3 = i0.ɵɵnextContext();
|
|
16115
|
+
i0.ɵɵadvance(1);
|
|
16116
|
+
i0.ɵɵproperty("ngIf", (ctx_r3.recipesService.difficultyLevels[0] == null ? null : ctx_r3.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r11);
|
|
16117
|
+
}
|
|
16118
|
+
}
|
|
16119
|
+
function RecipeDetailsInfosComponent_ng_container_9_span_1_Template(rf, ctx) {
|
|
16120
|
+
if (rf & 1) {
|
|
16121
|
+
i0.ɵɵelementStart(0, "span", 21);
|
|
16122
|
+
i0.ɵɵtext(1);
|
|
16123
|
+
i0.ɵɵelementEnd();
|
|
16124
|
+
}
|
|
16125
|
+
if (rf & 2) {
|
|
16126
|
+
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
16127
|
+
i0.ɵɵadvance(1);
|
|
16128
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r13.recipesService.difficultyLevels[1].label, " ");
|
|
16129
|
+
}
|
|
16130
|
+
}
|
|
16131
|
+
function RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template(rf, ctx) {
|
|
16132
|
+
if (rf & 1) {
|
|
16133
|
+
i0.ɵɵelementStart(0, "span", 21);
|
|
16134
|
+
i0.ɵɵi18n(1, 22);
|
|
16135
|
+
i0.ɵɵelementEnd();
|
|
16136
|
+
}
|
|
16002
16137
|
}
|
|
16003
16138
|
function RecipeDetailsInfosComponent_ng_container_9_Template(rf, ctx) {
|
|
16004
16139
|
if (rf & 1) {
|
|
16005
16140
|
i0.ɵɵelementContainerStart(0);
|
|
16006
|
-
i0.ɵɵ
|
|
16007
|
-
i0.ɵɵ
|
|
16008
|
-
i0.ɵɵelementEnd();
|
|
16141
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_9_span_1_Template, 2, 1, "span", 19);
|
|
16142
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 20, i0.ɵɵtemplateRefExtractor);
|
|
16009
16143
|
i0.ɵɵelementContainerEnd();
|
|
16010
16144
|
}
|
|
16145
|
+
if (rf & 2) {
|
|
16146
|
+
var _r14 = i0.ɵɵreference(3);
|
|
16147
|
+
var ctx_r4 = i0.ɵɵnextContext();
|
|
16148
|
+
i0.ɵɵadvance(1);
|
|
16149
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipesService.difficultyLevels[1] == null ? null : ctx_r4.recipesService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r14);
|
|
16150
|
+
}
|
|
16151
|
+
}
|
|
16152
|
+
function RecipeDetailsInfosComponent_ng_container_10_span_1_Template(rf, ctx) {
|
|
16153
|
+
if (rf & 1) {
|
|
16154
|
+
i0.ɵɵelementStart(0, "span", 25);
|
|
16155
|
+
i0.ɵɵtext(1);
|
|
16156
|
+
i0.ɵɵelementEnd();
|
|
16157
|
+
}
|
|
16158
|
+
if (rf & 2) {
|
|
16159
|
+
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
16160
|
+
i0.ɵɵadvance(1);
|
|
16161
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r16.recipesService.difficultyLevels[2].label, " ");
|
|
16162
|
+
}
|
|
16163
|
+
}
|
|
16164
|
+
function RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template(rf, ctx) {
|
|
16165
|
+
if (rf & 1) {
|
|
16166
|
+
i0.ɵɵelementStart(0, "span", 25);
|
|
16167
|
+
i0.ɵɵi18n(1, 26);
|
|
16168
|
+
i0.ɵɵelementEnd();
|
|
16169
|
+
}
|
|
16011
16170
|
}
|
|
16012
16171
|
function RecipeDetailsInfosComponent_ng_container_10_Template(rf, ctx) {
|
|
16013
16172
|
if (rf & 1) {
|
|
16014
16173
|
i0.ɵɵelementContainerStart(0);
|
|
16015
|
-
i0.ɵɵ
|
|
16016
|
-
i0.ɵɵ
|
|
16017
|
-
i0.ɵɵelementEnd();
|
|
16174
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_10_span_1_Template, 2, 1, "span", 23);
|
|
16175
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template, 2, 0, "ng-template", null, 24, i0.ɵɵtemplateRefExtractor);
|
|
16018
16176
|
i0.ɵɵelementContainerEnd();
|
|
16019
16177
|
}
|
|
16178
|
+
if (rf & 2) {
|
|
16179
|
+
var _r17 = i0.ɵɵreference(3);
|
|
16180
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
16181
|
+
i0.ɵɵadvance(1);
|
|
16182
|
+
i0.ɵɵproperty("ngIf", (ctx_r5.recipesService.difficultyLevels[2] == null ? null : ctx_r5.recipesService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r17);
|
|
16183
|
+
}
|
|
16184
|
+
}
|
|
16185
|
+
function RecipeDetailsInfosComponent_ng_container_11_span_1_Template(rf, ctx) {
|
|
16186
|
+
if (rf & 1) {
|
|
16187
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
16188
|
+
i0.ɵɵtext(1);
|
|
16189
|
+
i0.ɵɵelementEnd();
|
|
16190
|
+
}
|
|
16191
|
+
if (rf & 2) {
|
|
16192
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
16193
|
+
i0.ɵɵadvance(1);
|
|
16194
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r19.recipesService.difficultyLevels[0].label, " ");
|
|
16195
|
+
}
|
|
16196
|
+
}
|
|
16197
|
+
function RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template(rf, ctx) {
|
|
16198
|
+
if (rf & 1) {
|
|
16199
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
16200
|
+
i0.ɵɵi18n(1, 28);
|
|
16201
|
+
i0.ɵɵelementEnd();
|
|
16202
|
+
}
|
|
16020
16203
|
}
|
|
16021
16204
|
function RecipeDetailsInfosComponent_ng_container_11_Template(rf, ctx) {
|
|
16022
16205
|
if (rf & 1) {
|
|
16023
16206
|
i0.ɵɵelementContainerStart(0);
|
|
16024
|
-
i0.ɵɵ
|
|
16025
|
-
i0.ɵɵ
|
|
16026
|
-
i0.ɵɵelementEnd();
|
|
16207
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_11_span_1_Template, 2, 1, "span", 15);
|
|
16208
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template, 2, 0, "ng-template", null, 27, i0.ɵɵtemplateRefExtractor);
|
|
16027
16209
|
i0.ɵɵelementContainerEnd();
|
|
16028
16210
|
}
|
|
16211
|
+
if (rf & 2) {
|
|
16212
|
+
var _r20 = i0.ɵɵreference(3);
|
|
16213
|
+
var ctx_r6 = i0.ɵɵnextContext();
|
|
16214
|
+
i0.ɵɵadvance(1);
|
|
16215
|
+
i0.ɵɵproperty("ngIf", (ctx_r6.recipesService.difficultyLevels[0] == null ? null : ctx_r6.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r20);
|
|
16216
|
+
}
|
|
16029
16217
|
}
|
|
16030
16218
|
function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) {
|
|
16031
16219
|
if (rf & 1) {
|
|
@@ -16033,7 +16221,7 @@
|
|
|
16033
16221
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
16034
16222
|
i0.ɵɵelementStart(2, "div", 8);
|
|
16035
16223
|
i0.ɵɵelementStart(3, "span");
|
|
16036
|
-
i0.ɵɵi18n(4,
|
|
16224
|
+
i0.ɵɵi18n(4, 29);
|
|
16037
16225
|
i0.ɵɵelementEnd();
|
|
16038
16226
|
i0.ɵɵelementStart(5, "span");
|
|
16039
16227
|
i0.ɵɵtext(6);
|
|
@@ -16051,11 +16239,11 @@
|
|
|
16051
16239
|
}
|
|
16052
16240
|
function RecipeDetailsInfosComponent_div_21_div_1_Template(rf, ctx) {
|
|
16053
16241
|
if (rf & 1) {
|
|
16054
|
-
i0.ɵɵelementStart(0, "div",
|
|
16242
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
16055
16243
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
16056
16244
|
i0.ɵɵelementStart(2, "div", 8);
|
|
16057
16245
|
i0.ɵɵelementStart(3, "span");
|
|
16058
|
-
i0.ɵɵi18n(4,
|
|
16246
|
+
i0.ɵɵi18n(4, 33);
|
|
16059
16247
|
i0.ɵɵelementEnd();
|
|
16060
16248
|
i0.ɵɵelementStart(5, "span");
|
|
16061
16249
|
i0.ɵɵtext(6);
|
|
@@ -16064,20 +16252,20 @@
|
|
|
16064
16252
|
i0.ɵɵelementEnd();
|
|
16065
16253
|
}
|
|
16066
16254
|
if (rf & 2) {
|
|
16067
|
-
var
|
|
16255
|
+
var ctx_r22 = i0.ɵɵnextContext(2);
|
|
16068
16256
|
i0.ɵɵadvance(1);
|
|
16069
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16257
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r22.icon.Preparation);
|
|
16070
16258
|
i0.ɵɵadvance(5);
|
|
16071
|
-
i0.ɵɵtextInterpolate(
|
|
16259
|
+
i0.ɵɵtextInterpolate(ctx_r22.recipe == null ? null : ctx_r22.recipe.preparationTime);
|
|
16072
16260
|
}
|
|
16073
16261
|
}
|
|
16074
16262
|
function RecipeDetailsInfosComponent_div_21_div_2_Template(rf, ctx) {
|
|
16075
16263
|
if (rf & 1) {
|
|
16076
|
-
i0.ɵɵelementStart(0, "div",
|
|
16264
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
16077
16265
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
16078
16266
|
i0.ɵɵelementStart(2, "div", 8);
|
|
16079
16267
|
i0.ɵɵelementStart(3, "span");
|
|
16080
|
-
i0.ɵɵi18n(4,
|
|
16268
|
+
i0.ɵɵi18n(4, 34);
|
|
16081
16269
|
i0.ɵɵelementEnd();
|
|
16082
16270
|
i0.ɵɵelementStart(5, "span");
|
|
16083
16271
|
i0.ɵɵtext(6);
|
|
@@ -16086,20 +16274,20 @@
|
|
|
16086
16274
|
i0.ɵɵelementEnd();
|
|
16087
16275
|
}
|
|
16088
16276
|
if (rf & 2) {
|
|
16089
|
-
var
|
|
16277
|
+
var ctx_r23 = i0.ɵɵnextContext(2);
|
|
16090
16278
|
i0.ɵɵadvance(1);
|
|
16091
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16279
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r23.icon.Hot);
|
|
16092
16280
|
i0.ɵɵadvance(5);
|
|
16093
|
-
i0.ɵɵtextInterpolate(
|
|
16281
|
+
i0.ɵɵtextInterpolate(ctx_r23.recipe == null ? null : ctx_r23.recipe.cookingTime);
|
|
16094
16282
|
}
|
|
16095
16283
|
}
|
|
16096
16284
|
function RecipeDetailsInfosComponent_div_21_div_3_Template(rf, ctx) {
|
|
16097
16285
|
if (rf & 1) {
|
|
16098
|
-
i0.ɵɵelementStart(0, "div",
|
|
16286
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
16099
16287
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
16100
16288
|
i0.ɵɵelementStart(2, "div", 8);
|
|
16101
16289
|
i0.ɵɵelementStart(3, "span");
|
|
16102
|
-
i0.ɵɵi18n(4,
|
|
16290
|
+
i0.ɵɵi18n(4, 35);
|
|
16103
16291
|
i0.ɵɵelementEnd();
|
|
16104
16292
|
i0.ɵɵelementStart(5, "span");
|
|
16105
16293
|
i0.ɵɵtext(6);
|
|
@@ -16108,19 +16296,19 @@
|
|
|
16108
16296
|
i0.ɵɵelementEnd();
|
|
16109
16297
|
}
|
|
16110
16298
|
if (rf & 2) {
|
|
16111
|
-
var
|
|
16299
|
+
var ctx_r24 = i0.ɵɵnextContext(2);
|
|
16112
16300
|
i0.ɵɵadvance(1);
|
|
16113
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16301
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r24.icon.Wait);
|
|
16114
16302
|
i0.ɵɵadvance(5);
|
|
16115
|
-
i0.ɵɵtextInterpolate(
|
|
16303
|
+
i0.ɵɵtextInterpolate(ctx_r24.recipe == null ? null : ctx_r24.recipe.restingTime);
|
|
16116
16304
|
}
|
|
16117
16305
|
}
|
|
16118
16306
|
function RecipeDetailsInfosComponent_div_21_Template(rf, ctx) {
|
|
16119
16307
|
if (rf & 1) {
|
|
16120
|
-
i0.ɵɵelementStart(0, "div",
|
|
16121
|
-
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div",
|
|
16122
|
-
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div",
|
|
16123
|
-
i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div",
|
|
16308
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
16309
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 31);
|
|
16310
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 31);
|
|
16311
|
+
i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 31);
|
|
16124
16312
|
i0.ɵɵelementEnd();
|
|
16125
16313
|
}
|
|
16126
16314
|
if (rf & 2) {
|
|
@@ -16135,36 +16323,36 @@
|
|
|
16135
16323
|
}
|
|
16136
16324
|
function RecipeDetailsInfosComponent_div_22_div_1_img_1_Template(rf, ctx) {
|
|
16137
16325
|
if (rf & 1) {
|
|
16138
|
-
i0.ɵɵelement(0, "img",
|
|
16326
|
+
i0.ɵɵelement(0, "img", 41);
|
|
16139
16327
|
}
|
|
16140
16328
|
if (rf & 2) {
|
|
16141
|
-
var
|
|
16142
|
-
i0.ɵɵproperty("src",
|
|
16329
|
+
var tag_r26 = i0.ɵɵnextContext().$implicit;
|
|
16330
|
+
i0.ɵɵproperty("src", tag_r26.attributes.icon, i0.ɵɵsanitizeUrl);
|
|
16143
16331
|
}
|
|
16144
16332
|
}
|
|
16145
16333
|
function RecipeDetailsInfosComponent_div_22_div_1_Template(rf, ctx) {
|
|
16146
16334
|
if (rf & 1) {
|
|
16147
|
-
i0.ɵɵelementStart(0, "div",
|
|
16148
|
-
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img",
|
|
16149
|
-
i0.ɵɵelementStart(2, "span",
|
|
16335
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
16336
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 39);
|
|
16337
|
+
i0.ɵɵelementStart(2, "span", 40);
|
|
16150
16338
|
i0.ɵɵtext(3);
|
|
16151
16339
|
i0.ɵɵelementEnd();
|
|
16152
16340
|
i0.ɵɵelementEnd();
|
|
16153
16341
|
}
|
|
16154
16342
|
if (rf & 2) {
|
|
16155
|
-
var
|
|
16156
|
-
var
|
|
16157
|
-
i0.ɵɵproperty("ngClass",
|
|
16343
|
+
var tag_r26 = ctx.$implicit;
|
|
16344
|
+
var ctx_r25 = i0.ɵɵnextContext(2);
|
|
16345
|
+
i0.ɵɵproperty("ngClass", ctx_r25.tagClass(tag_r26));
|
|
16158
16346
|
i0.ɵɵadvance(1);
|
|
16159
|
-
i0.ɵɵproperty("ngIf",
|
|
16347
|
+
i0.ɵɵproperty("ngIf", ctx_r25.displayTagsIcons);
|
|
16160
16348
|
i0.ɵɵadvance(2);
|
|
16161
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16349
|
+
i0.ɵɵtextInterpolate1(" ", tag_r26.name, " ");
|
|
16162
16350
|
}
|
|
16163
16351
|
}
|
|
16164
16352
|
function RecipeDetailsInfosComponent_div_22_Template(rf, ctx) {
|
|
16165
16353
|
if (rf & 1) {
|
|
16166
|
-
i0.ɵɵelementStart(0, "div",
|
|
16167
|
-
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div",
|
|
16354
|
+
i0.ɵɵelementStart(0, "div", 36);
|
|
16355
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 37);
|
|
16168
16356
|
i0.ɵɵelementEnd();
|
|
16169
16357
|
}
|
|
16170
16358
|
if (rf & 2) {
|
|
@@ -16214,32 +16402,32 @@
|
|
|
16214
16402
|
}
|
|
16215
16403
|
var i18n_2;
|
|
16216
16404
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
16217
|
-
var MSG_EXTERNAL_3684169623116339825$$
|
|
16218
|
-
i18n_2 = MSG_EXTERNAL_3684169623116339825$$
|
|
16405
|
+
var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3 = goog.getMsg("Chef d\u00E9butant");
|
|
16406
|
+
i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3;
|
|
16219
16407
|
}
|
|
16220
16408
|
else {
|
|
16221
16409
|
i18n_2 = $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
16222
16410
|
}
|
|
16223
16411
|
var i18n_4;
|
|
16224
16412
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
16225
|
-
var MSG_EXTERNAL_7733455880752157102$$
|
|
16226
|
-
i18n_4 = MSG_EXTERNAL_7733455880752157102$$
|
|
16413
|
+
var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5 = goog.getMsg("Chef interm\u00E9diaire");
|
|
16414
|
+
i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5;
|
|
16227
16415
|
}
|
|
16228
16416
|
else {
|
|
16229
16417
|
i18n_4 = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
|
|
16230
16418
|
}
|
|
16231
16419
|
var i18n_6;
|
|
16232
16420
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
16233
|
-
var MSG_EXTERNAL_8735393154824887316$$
|
|
16234
|
-
i18n_6 = MSG_EXTERNAL_8735393154824887316$$
|
|
16421
|
+
var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7 = goog.getMsg("Top chef");
|
|
16422
|
+
i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7;
|
|
16235
16423
|
}
|
|
16236
16424
|
else {
|
|
16237
16425
|
i18n_6 = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"], [":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"])));
|
|
16238
16426
|
}
|
|
16239
16427
|
var i18n_8;
|
|
16240
16428
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
16241
|
-
var MSG_EXTERNAL_3684169623116339825$$
|
|
16242
|
-
i18n_8 = MSG_EXTERNAL_3684169623116339825$$
|
|
16429
|
+
var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9 = goog.getMsg("Chef d\u00E9butant");
|
|
16430
|
+
i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9;
|
|
16243
16431
|
}
|
|
16244
16432
|
else {
|
|
16245
16433
|
i18n_8 = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
@@ -16276,7 +16464,7 @@
|
|
|
16276
16464
|
else {
|
|
16277
16465
|
i18n_16 = $localize(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject([":\u241F09ad69ce9c59d2894e56c5667c5ba0a1b61be4d3\u241F7324854353917632472:Repos : "], [":\u241F09ad69ce9c59d2894e56c5667c5ba0a1b61be4d3\u241F7324854353917632472:Repos : "])));
|
|
16278
16466
|
}
|
|
16279
|
-
return [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], i18n_0, ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-
|
|
16467
|
+
return [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], i18n_0, ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], ["class", "miam-recipe-details-infos__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-recipe-details-infos__label", "easy"], i18n_2, ["class", "miam-recipe-details-infos__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-recipe-details-infos__label", "medium"], i18n_4, ["class", "miam-recipe-details-infos__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-recipe-details-infos__label", "hard"], i18n_6, ["difficultyDefault", ""], i18n_8, i18n_10, [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], i18n_12, i18n_14, i18n_16, [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]];
|
|
16280
16468
|
}, template: function RecipeDetailsInfosComponent_Template(rf, ctx) {
|
|
16281
16469
|
if (rf & 1) {
|
|
16282
16470
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -16288,10 +16476,10 @@
|
|
|
16288
16476
|
i0.ɵɵtemplate(6, RecipeDetailsInfosComponent_ng_container_6_Template, 2, 3, "ng-container", 5);
|
|
16289
16477
|
i0.ɵɵelementContainerEnd();
|
|
16290
16478
|
i0.ɵɵelementContainerStart(7, 3);
|
|
16291
|
-
i0.ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template,
|
|
16292
|
-
i0.ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template,
|
|
16293
|
-
i0.ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template,
|
|
16294
|
-
i0.ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template,
|
|
16479
|
+
i0.ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 4, 2, "ng-container", 4);
|
|
16480
|
+
i0.ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 4, 2, "ng-container", 4);
|
|
16481
|
+
i0.ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 4, 2, "ng-container", 4);
|
|
16482
|
+
i0.ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 4, 2, "ng-container", 5);
|
|
16295
16483
|
i0.ɵɵelementContainerEnd();
|
|
16296
16484
|
i0.ɵɵelementEnd();
|
|
16297
16485
|
i0.ɵɵelementStart(12, "div", 6);
|
|
@@ -18512,41 +18700,137 @@
|
|
|
18512
18700
|
i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r44.icon.DifficultyLow);
|
|
18513
18701
|
}
|
|
18514
18702
|
}
|
|
18703
|
+
function CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template(rf, ctx) {
|
|
18704
|
+
if (rf & 1) {
|
|
18705
|
+
i0.ɵɵelementStart(0, "span", 66);
|
|
18706
|
+
i0.ɵɵtext(1);
|
|
18707
|
+
i0.ɵɵelementEnd();
|
|
18708
|
+
}
|
|
18709
|
+
if (rf & 2) {
|
|
18710
|
+
var ctx_r49 = i0.ɵɵnextContext(3);
|
|
18711
|
+
i0.ɵɵadvance(1);
|
|
18712
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r49.recipeService.difficultyLevels[0].label, " ");
|
|
18713
|
+
}
|
|
18714
|
+
}
|
|
18715
|
+
function CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template(rf, ctx) {
|
|
18716
|
+
if (rf & 1) {
|
|
18717
|
+
i0.ɵɵelementStart(0, "span", 66);
|
|
18718
|
+
i0.ɵɵi18n(1, 67);
|
|
18719
|
+
i0.ɵɵelementEnd();
|
|
18720
|
+
}
|
|
18721
|
+
}
|
|
18515
18722
|
function CatalogRecipeCardComponent_div_23_ng_container_6_Template(rf, ctx) {
|
|
18516
18723
|
if (rf & 1) {
|
|
18517
18724
|
i0.ɵɵelementContainerStart(0);
|
|
18518
|
-
i0.ɵɵ
|
|
18519
|
-
i0.ɵɵ
|
|
18520
|
-
i0.ɵɵelementEnd();
|
|
18725
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template, 2, 1, "span", 64);
|
|
18726
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 65, i0.ɵɵtemplateRefExtractor);
|
|
18521
18727
|
i0.ɵɵelementContainerEnd();
|
|
18522
18728
|
}
|
|
18729
|
+
if (rf & 2) {
|
|
18730
|
+
var _r50 = i0.ɵɵreference(3);
|
|
18731
|
+
var ctx_r45 = i0.ɵɵnextContext(2);
|
|
18732
|
+
i0.ɵɵadvance(1);
|
|
18733
|
+
i0.ɵɵproperty("ngIf", (ctx_r45.recipeService.difficultyLevels[0] == null ? null : ctx_r45.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r50);
|
|
18734
|
+
}
|
|
18735
|
+
}
|
|
18736
|
+
function CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template(rf, ctx) {
|
|
18737
|
+
if (rf & 1) {
|
|
18738
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
18739
|
+
i0.ɵɵtext(1);
|
|
18740
|
+
i0.ɵɵelementEnd();
|
|
18741
|
+
}
|
|
18742
|
+
if (rf & 2) {
|
|
18743
|
+
var ctx_r52 = i0.ɵɵnextContext(3);
|
|
18744
|
+
i0.ɵɵadvance(1);
|
|
18745
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r52.recipeService.difficultyLevels[1].label, " ");
|
|
18746
|
+
}
|
|
18747
|
+
}
|
|
18748
|
+
function CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template(rf, ctx) {
|
|
18749
|
+
if (rf & 1) {
|
|
18750
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
18751
|
+
i0.ɵɵi18n(1, 71);
|
|
18752
|
+
i0.ɵɵelementEnd();
|
|
18753
|
+
}
|
|
18523
18754
|
}
|
|
18524
18755
|
function CatalogRecipeCardComponent_div_23_ng_container_7_Template(rf, ctx) {
|
|
18525
18756
|
if (rf & 1) {
|
|
18526
18757
|
i0.ɵɵelementContainerStart(0);
|
|
18527
|
-
i0.ɵɵ
|
|
18528
|
-
i0.ɵɵ
|
|
18529
|
-
i0.ɵɵelementEnd();
|
|
18758
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template, 2, 1, "span", 68);
|
|
18759
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 69, i0.ɵɵtemplateRefExtractor);
|
|
18530
18760
|
i0.ɵɵelementContainerEnd();
|
|
18531
18761
|
}
|
|
18762
|
+
if (rf & 2) {
|
|
18763
|
+
var _r53 = i0.ɵɵreference(3);
|
|
18764
|
+
var ctx_r46 = i0.ɵɵnextContext(2);
|
|
18765
|
+
i0.ɵɵadvance(1);
|
|
18766
|
+
i0.ɵɵproperty("ngIf", (ctx_r46.recipeService.difficultyLevels[1] == null ? null : ctx_r46.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r53);
|
|
18767
|
+
}
|
|
18768
|
+
}
|
|
18769
|
+
function CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template(rf, ctx) {
|
|
18770
|
+
if (rf & 1) {
|
|
18771
|
+
i0.ɵɵelementStart(0, "span", 74);
|
|
18772
|
+
i0.ɵɵtext(1);
|
|
18773
|
+
i0.ɵɵelementEnd();
|
|
18774
|
+
}
|
|
18775
|
+
if (rf & 2) {
|
|
18776
|
+
var ctx_r55 = i0.ɵɵnextContext(3);
|
|
18777
|
+
i0.ɵɵadvance(1);
|
|
18778
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r55.recipeService.difficultyLevels[2].label, " ");
|
|
18779
|
+
}
|
|
18780
|
+
}
|
|
18781
|
+
function CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template(rf, ctx) {
|
|
18782
|
+
if (rf & 1) {
|
|
18783
|
+
i0.ɵɵelementStart(0, "span", 74);
|
|
18784
|
+
i0.ɵɵi18n(1, 75);
|
|
18785
|
+
i0.ɵɵelementEnd();
|
|
18786
|
+
}
|
|
18532
18787
|
}
|
|
18533
18788
|
function CatalogRecipeCardComponent_div_23_ng_container_8_Template(rf, ctx) {
|
|
18534
18789
|
if (rf & 1) {
|
|
18535
18790
|
i0.ɵɵelementContainerStart(0);
|
|
18536
|
-
i0.ɵɵ
|
|
18537
|
-
i0.ɵɵ
|
|
18538
|
-
i0.ɵɵelementEnd();
|
|
18791
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template, 2, 1, "span", 72);
|
|
18792
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 73, i0.ɵɵtemplateRefExtractor);
|
|
18539
18793
|
i0.ɵɵelementContainerEnd();
|
|
18540
18794
|
}
|
|
18795
|
+
if (rf & 2) {
|
|
18796
|
+
var _r56 = i0.ɵɵreference(3);
|
|
18797
|
+
var ctx_r47 = i0.ɵɵnextContext(2);
|
|
18798
|
+
i0.ɵɵadvance(1);
|
|
18799
|
+
i0.ɵɵproperty("ngIf", (ctx_r47.recipeService.difficultyLevels[2] == null ? null : ctx_r47.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r56);
|
|
18800
|
+
}
|
|
18801
|
+
}
|
|
18802
|
+
function CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template(rf, ctx) {
|
|
18803
|
+
if (rf & 1) {
|
|
18804
|
+
i0.ɵɵelementStart(0, "span", 66);
|
|
18805
|
+
i0.ɵɵtext(1);
|
|
18806
|
+
i0.ɵɵelementEnd();
|
|
18807
|
+
}
|
|
18808
|
+
if (rf & 2) {
|
|
18809
|
+
var ctx_r58 = i0.ɵɵnextContext(3);
|
|
18810
|
+
i0.ɵɵadvance(1);
|
|
18811
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r58.recipeService.difficultyLevels[0].label, " ");
|
|
18812
|
+
}
|
|
18813
|
+
}
|
|
18814
|
+
function CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template(rf, ctx) {
|
|
18815
|
+
if (rf & 1) {
|
|
18816
|
+
i0.ɵɵelementStart(0, "span", 66);
|
|
18817
|
+
i0.ɵɵi18n(1, 77);
|
|
18818
|
+
i0.ɵɵelementEnd();
|
|
18819
|
+
}
|
|
18541
18820
|
}
|
|
18542
18821
|
function CatalogRecipeCardComponent_div_23_ng_container_9_Template(rf, ctx) {
|
|
18543
18822
|
if (rf & 1) {
|
|
18544
18823
|
i0.ɵɵelementContainerStart(0);
|
|
18545
|
-
i0.ɵɵ
|
|
18546
|
-
i0.ɵɵ
|
|
18547
|
-
i0.ɵɵelementEnd();
|
|
18824
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template, 2, 1, "span", 64);
|
|
18825
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 76, i0.ɵɵtemplateRefExtractor);
|
|
18548
18826
|
i0.ɵɵelementContainerEnd();
|
|
18549
18827
|
}
|
|
18828
|
+
if (rf & 2) {
|
|
18829
|
+
var _r59 = i0.ɵɵreference(3);
|
|
18830
|
+
var ctx_r48 = i0.ɵɵnextContext(2);
|
|
18831
|
+
i0.ɵɵadvance(1);
|
|
18832
|
+
i0.ɵɵproperty("ngIf", (ctx_r48.recipeService.difficultyLevels[0] == null ? null : ctx_r48.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r59);
|
|
18833
|
+
}
|
|
18550
18834
|
}
|
|
18551
18835
|
var _c17$1 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
18552
18836
|
function CatalogRecipeCardComponent_div_23_Template(rf, ctx) {
|
|
@@ -18558,10 +18842,10 @@
|
|
|
18558
18842
|
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_23_ng_container_4_Template, 2, 3, "ng-container", 62);
|
|
18559
18843
|
i0.ɵɵelementContainerEnd();
|
|
18560
18844
|
i0.ɵɵelementContainerStart(5, 60);
|
|
18561
|
-
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template,
|
|
18562
|
-
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template,
|
|
18563
|
-
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template,
|
|
18564
|
-
i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template,
|
|
18845
|
+
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 4, 2, "ng-container", 61);
|
|
18846
|
+
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 4, 2, "ng-container", 61);
|
|
18847
|
+
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 4, 2, "ng-container", 61);
|
|
18848
|
+
i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 4, 2, "ng-container", 62);
|
|
18565
18849
|
i0.ɵɵelementContainerEnd();
|
|
18566
18850
|
i0.ɵɵelementEnd();
|
|
18567
18851
|
}
|
|
@@ -18595,9 +18879,9 @@
|
|
|
18595
18879
|
}
|
|
18596
18880
|
function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template(rf, ctx) {
|
|
18597
18881
|
if (rf & 1) {
|
|
18598
|
-
var
|
|
18599
|
-
i0.ɵɵelementStart(0, "ng-miam-actions-popin",
|
|
18600
|
-
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(
|
|
18882
|
+
var _r62_1 = i0.ɵɵgetCurrentView();
|
|
18883
|
+
i0.ɵɵelementStart(0, "ng-miam-actions-popin", 78);
|
|
18884
|
+
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r62_1); var ctx_r61 = i0.ɵɵnextContext(); return ctx_r61.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r62_1); var ctx_r63 = i0.ɵɵnextContext(); return ctx_r63.actionTriggered.emit($event); });
|
|
18601
18885
|
i0.ɵɵelementEnd();
|
|
18602
18886
|
}
|
|
18603
18887
|
}
|
|
@@ -18735,37 +19019,37 @@
|
|
|
18735
19019
|
}
|
|
18736
19020
|
var i18n_9;
|
|
18737
19021
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
18738
|
-
var MSG_EXTERNAL_3684169623116339825$$
|
|
18739
|
-
i18n_9 = MSG_EXTERNAL_3684169623116339825$$
|
|
19022
|
+
var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10 = goog.getMsg("Chef d\u00E9butant");
|
|
19023
|
+
i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10;
|
|
18740
19024
|
}
|
|
18741
19025
|
else {
|
|
18742
19026
|
i18n_9 = $localize(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
18743
19027
|
}
|
|
18744
19028
|
var i18n_11;
|
|
18745
19029
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
18746
|
-
var MSG_EXTERNAL_7733455880752157102$$
|
|
18747
|
-
i18n_11 = MSG_EXTERNAL_7733455880752157102$$
|
|
19030
|
+
var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12 = goog.getMsg("Chef interm\u00E9diaire");
|
|
19031
|
+
i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12;
|
|
18748
19032
|
}
|
|
18749
19033
|
else {
|
|
18750
19034
|
i18n_11 = $localize(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
|
|
18751
19035
|
}
|
|
18752
19036
|
var i18n_13;
|
|
18753
19037
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
18754
|
-
var MSG_EXTERNAL_8735393154824887316$$
|
|
18755
|
-
i18n_13 = MSG_EXTERNAL_8735393154824887316$$
|
|
19038
|
+
var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14 = goog.getMsg("Top chef");
|
|
19039
|
+
i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14;
|
|
18756
19040
|
}
|
|
18757
19041
|
else {
|
|
18758
19042
|
i18n_13 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"], [":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"])));
|
|
18759
19043
|
}
|
|
18760
19044
|
var i18n_15;
|
|
18761
19045
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
18762
|
-
var MSG_EXTERNAL_3684169623116339825$$
|
|
18763
|
-
i18n_15 = MSG_EXTERNAL_3684169623116339825$$
|
|
19046
|
+
var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16 = goog.getMsg("Chef d\u00E9butant");
|
|
19047
|
+
i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16;
|
|
18764
19048
|
}
|
|
18765
19049
|
else {
|
|
18766
19050
|
i18n_15 = $localize(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
18767
19051
|
}
|
|
18768
|
-
return [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["originalCTA", ""], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 4, "ngIf"], ["class", "miam-catalog-card__picture__filigrane", 4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon m-button-primary reverse", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-catalog-card__picture__sponsor"], [3, "src"], [1, "miam-catalog-card__picture__filigrane"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], i18n_1, [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "m-button-primary", "reverse", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], i18n_3, i18n_5, i18n_7, [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], i18n_9, i18n_11, i18n_13, i18n_15, [3, "close", "actionTriggered"]];
|
|
19052
|
+
return [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["originalCTA", ""], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 4, "ngIf"], ["class", "miam-catalog-card__picture__filigrane", 4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon m-button-primary reverse", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-catalog-card__picture__sponsor"], [3, "src"], [1, "miam-catalog-card__picture__filigrane"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], i18n_1, [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "m-button-primary", "reverse", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], i18n_3, i18n_5, i18n_7, [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], ["class", "miam-catalog-card__info__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-catalog-card__info__label", "easy"], i18n_9, ["class", "miam-catalog-card__info__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-catalog-card__info__label", "medium"], i18n_11, ["class", "miam-catalog-card__info__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-catalog-card__info__label", "hard"], i18n_13, ["difficultyDefault", ""], i18n_15, [3, "close", "actionTriggered"]];
|
|
18769
19053
|
}, template: function CatalogRecipeCardComponent_Template(rf, ctx) {
|
|
18770
19054
|
if (rf & 1) {
|
|
18771
19055
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -23750,7 +24034,7 @@
|
|
|
23750
24034
|
request = request.clone({
|
|
23751
24035
|
setHeaders: {
|
|
23752
24036
|
'miam-origin': context.origin,
|
|
23753
|
-
'miam-front-version': '6.2.
|
|
24037
|
+
'miam-front-version': '6.2.3',
|
|
23754
24038
|
'miam-front-type': 'web',
|
|
23755
24039
|
'miam-api-version': '4.7.0'
|
|
23756
24040
|
}
|