ng-miam 4.6.11 → 4.6.13
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 +377 -276
- 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/abstracts/abstract-recipe-card.component.js +6 -1
- package/esm2015/lib/_components/addon-link/addon-link.component.js +3 -3
- package/esm2015/lib/_models/recipe.js +6 -3
- package/esm2015/lib/_services/context.service.js +3 -4
- package/esm2015/lib/_services/recipes.service.js +14 -1
- package/esm2015/lib/_web-components/catalog-article-card/catalog-article-card.component.js +1 -1
- package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +150 -119
- package/esm2015/lib/_web-components/recipe-card/recipe-card.component.js +77 -62
- package/esm2015/lib/_web-components/recipe-details/recipe-addon/recipe-addon.component.js +3 -3
- package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +100 -88
- package/fesm2015/ng-miam.js +355 -277
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_models/recipe.d.ts +3 -2
- package/lib/_services/recipes.service.d.ts +4 -0
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -2169,6 +2169,13 @@
|
|
|
2169
2169
|
if (this.attributes['filigrane-logo-url']) {
|
|
2170
2170
|
return this.attributes['filigrane-logo-url'];
|
|
2171
2171
|
}
|
|
2172
|
+
return null;
|
|
2173
|
+
},
|
|
2174
|
+
enumerable: false,
|
|
2175
|
+
configurable: true
|
|
2176
|
+
});
|
|
2177
|
+
Object.defineProperty(Recipe.prototype, "sponsorLogoUrl", {
|
|
2178
|
+
get: function () {
|
|
2172
2179
|
if (this.sponsors.length > 0) {
|
|
2173
2180
|
return this.sponsors[0].attributes['logo-url'];
|
|
2174
2181
|
}
|
|
@@ -2250,7 +2257,7 @@
|
|
|
2250
2257
|
configurable: true
|
|
2251
2258
|
});
|
|
2252
2259
|
Object.defineProperty(Recipe.prototype, "ingredients", {
|
|
2253
|
-
// Returns ingredients, putting the sponsored ones first
|
|
2260
|
+
// Returns ingredients, putting the sponsored ones first
|
|
2254
2261
|
get: function () {
|
|
2255
2262
|
return this.relationships.ingredients.data
|
|
2256
2263
|
.filter(function (i) { return i.attributes.active; })
|
|
@@ -3851,6 +3858,7 @@
|
|
|
3851
3858
|
_this.hidden = new i0.EventEmitter();
|
|
3852
3859
|
_this.suggestionsPrimaryButtonActions = { display: true, addToBasket: true };
|
|
3853
3860
|
_this.recipesPrimaryButtonActions = { display: true, addToBasket: true };
|
|
3861
|
+
_this.reloadRecipes$ = new rxjs.BehaviorSubject(false);
|
|
3854
3862
|
_this.difficultyLevels = [
|
|
3855
3863
|
{ value: 1, label: 'Chef débutant' },
|
|
3856
3864
|
{ value: 2, label: 'Chef intermédiaire' },
|
|
@@ -4045,6 +4053,19 @@
|
|
|
4045
4053
|
RecipesService.prototype.addTagToRecipe = function (recipe, tag) {
|
|
4046
4054
|
return this.http.post(MIAM_API_HOST$4 + ("recipes/" + recipe.id + "/tags/" + tag.id), {});
|
|
4047
4055
|
};
|
|
4056
|
+
RecipesService.prototype.setRecipesPrimaryButtonActions = function (display, addToBasket) {
|
|
4057
|
+
if (display === void 0) { display = true; }
|
|
4058
|
+
if (addToBasket === void 0) { addToBasket = true; }
|
|
4059
|
+
this.recipesPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4060
|
+
this.suggestionsPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4061
|
+
this.reloadAllRecipes();
|
|
4062
|
+
};
|
|
4063
|
+
RecipesService.prototype.setSuggestionsPrimaryButtonActions = function (display, addToBasket) {
|
|
4064
|
+
if (display === void 0) { display = true; }
|
|
4065
|
+
if (addToBasket === void 0) { addToBasket = true; }
|
|
4066
|
+
this.suggestionsPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4067
|
+
this.reloadAllRecipes();
|
|
4068
|
+
};
|
|
4048
4069
|
// DEPRECATED / use TTL instead
|
|
4049
4070
|
RecipesService.prototype.getOrFetch = function (recipeId) {
|
|
4050
4071
|
var recipe = this.recipes.find(function (r) { return r.id === recipeId; });
|
|
@@ -4090,6 +4111,9 @@
|
|
|
4090
4111
|
RecipesService.prototype.intRandomSeed = function () {
|
|
4091
4112
|
this.randomSeed = Date.now();
|
|
4092
4113
|
};
|
|
4114
|
+
RecipesService.prototype.reloadAllRecipes = function () {
|
|
4115
|
+
this.reloadRecipes$.next(true);
|
|
4116
|
+
};
|
|
4093
4117
|
return RecipesService;
|
|
4094
4118
|
}(i1.Service));
|
|
4095
4119
|
RecipesService.ɵfac = function RecipesService_Factory(t) { return new (t || RecipesService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(RecipeProviderService), i0.ɵɵinject(RecipeStatusService), i0.ɵɵinject(RecipeTypeService), i0.ɵɵinject(SuppliersService), i0.ɵɵinject(PointOfSalesService), i0.ɵɵinject(GroceriesListsService), i0.ɵɵinject(IngredientsService), i0.ɵɵinject(RecipeStepsService), i0.ɵɵinject(RecipeEventsService), i0.ɵɵinject(SponsorService), i0.ɵɵinject(PackageService), i0.ɵɵinject(TagsService), i0.ɵɵinject(RecipeLikesService)); };
|
|
@@ -4494,13 +4518,12 @@
|
|
|
4494
4518
|
setRecipesPrimaryButtonActions: function (display, addToBasket) {
|
|
4495
4519
|
if (display === void 0) { display = true; }
|
|
4496
4520
|
if (addToBasket === void 0) { addToBasket = true; }
|
|
4497
|
-
_this.recipesService.
|
|
4498
|
-
_this.recipesService.suggestionsPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4521
|
+
_this.recipesService.setRecipesPrimaryButtonActions(display, addToBasket);
|
|
4499
4522
|
},
|
|
4500
4523
|
setSuggestionsPrimaryButtonActions: function (display, addToBasket) {
|
|
4501
4524
|
if (display === void 0) { display = true; }
|
|
4502
4525
|
if (addToBasket === void 0) { addToBasket = true; }
|
|
4503
|
-
_this.recipesService.
|
|
4526
|
+
_this.recipesService.setSuggestionsPrimaryButtonActions(display, addToBasket);
|
|
4504
4527
|
},
|
|
4505
4528
|
setDifficultyLevels: function (levels) {
|
|
4506
4529
|
_this.recipesService.difficultyLevels = levels;
|
|
@@ -8494,7 +8517,7 @@
|
|
|
8494
8517
|
if (rf & 2) {
|
|
8495
8518
|
var ctx_r4 = i0.ɵɵnextContext();
|
|
8496
8519
|
i0.ɵɵadvance(1);
|
|
8497
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.
|
|
8520
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
8498
8521
|
}
|
|
8499
8522
|
}
|
|
8500
8523
|
var AddonLinkComponent = /** @class */ (function () {
|
|
@@ -8522,7 +8545,7 @@
|
|
|
8522
8545
|
i0.ɵɵadvance(3);
|
|
8523
8546
|
i0.ɵɵproperty("ngIf", ctx.recipe.attributes["informational-page-html"]);
|
|
8524
8547
|
i0.ɵɵadvance(1);
|
|
8525
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.
|
|
8548
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.sponsorLogoUrl);
|
|
8526
8549
|
}
|
|
8527
8550
|
}, directives: [i4.NgIf], styles: [".miam-addon-link[_ngcontent-%COMP%]{align-items:center;background-color:var(--m-color-white);display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-left:96px;padding:12px 16px}@media (max-width:1023px){.miam-addon-link[_ngcontent-%COMP%]{margin-left:unset}}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__logo[_ngcontent-%COMP%]{align-items:center;display:flex;height:64px;justify-content:center;order:2;padding:0 16px;width:168px}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-o-object-fit:contain;max-height:100%;max-width:100%;object-fit:contain}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__info[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-right:8px}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__info[_ngcontent-%COMP%] .miam-addon-link__link[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;color:var(--m-color-primary);cursor:pointer;margin-top:8px}"] });
|
|
8528
8551
|
/*@__PURE__*/ (function () {
|
|
@@ -10877,7 +10900,7 @@
|
|
|
10877
10900
|
i0.ɵɵadvance(3);
|
|
10878
10901
|
i0.ɵɵproperty("href", ctx.article.url, i0.ɵɵsanitizeUrl);
|
|
10879
10902
|
}
|
|
10880
|
-
}, directives: [i4.NgIf], pipes: [EllipsisPipe, i4.DatePipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-article-card .miam-catalog-card__attributes,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-article-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);cursor:pointer;display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}.miam-catalog-article-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__attributes{flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.1)}.miam-catalog-article-card:hover .miam-catalog-card__attributes .miam-catalog-card__attributes__info a,.miam-catalog-article-card:hover .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{color:var(--m-color-primary)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{overflow:hidden}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{display:none}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{position:relative;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes{align-items:center}.miam-catalog-article-card .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{font-weight:700;line-height:1.3;margin:0;max-height:50px;overflow:hidden;text-align:center;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{justify-content:space-between;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info a{transition:all .3s ease}"], encapsulation: 2, changeDetection: 0 });
|
|
10903
|
+
}, directives: [i4.NgIf], pipes: [EllipsisPipe, i4.DatePipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-article-card .miam-catalog-card__attributes,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-article-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);cursor:pointer;display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}.miam-catalog-article-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{align-items:flex-start;display:flex;height:48px;justify-content:flex-start;left:16px;order:2;position:absolute;top:16px;width:64px}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:48px;justify-content:flex-end;order:2;position:absolute;right:16px;width:72px}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-article-card .miam-catalog-card__attributes{flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.1)}.miam-catalog-article-card:hover .miam-catalog-card__attributes .miam-catalog-card__attributes__info a,.miam-catalog-article-card:hover .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{color:var(--m-color-primary)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{overflow:hidden}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{display:none}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{position:relative;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes{align-items:center}.miam-catalog-article-card .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{font-weight:700;line-height:1.3;margin:0;max-height:50px;overflow:hidden;text-align:center;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{justify-content:space-between;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info a{transition:all .3s ease}"], encapsulation: 2, changeDetection: 0 });
|
|
10881
10904
|
/*@__PURE__*/ (function () {
|
|
10882
10905
|
i0.ɵsetClassMetadata(CatalogArticleCardComponent, [{
|
|
10883
10906
|
type: i0.Component,
|
|
@@ -10939,6 +10962,11 @@
|
|
|
10939
10962
|
this.sendShowEvent();
|
|
10940
10963
|
this.displayPrice();
|
|
10941
10964
|
this.subscriptions.push(this.groceriesListsService.list$.subscribe(function () { return _this.cdr.detectChanges(); }));
|
|
10965
|
+
this.subscriptions.push(this.recipeService.reloadRecipes$.subscribe(function (shouldReload) {
|
|
10966
|
+
if (shouldReload) {
|
|
10967
|
+
_this.cdr.detectChanges();
|
|
10968
|
+
}
|
|
10969
|
+
}));
|
|
10942
10970
|
};
|
|
10943
10971
|
AbstractRecipeCardComponent.prototype.ngOnDestroy = function () {
|
|
10944
10972
|
this.subscriptions.forEach(function (sub) { return sub.unsubscribe(); });
|
|
@@ -11074,8 +11102,8 @@
|
|
|
11074
11102
|
|
|
11075
11103
|
function RecipeCardComponent_div_0_div_3_div_2_Template(rf, ctx) {
|
|
11076
11104
|
if (rf & 1) {
|
|
11077
|
-
i0.ɵɵelementStart(0, "div",
|
|
11078
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11105
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
11106
|
+
i0.ɵɵelement(1, "ng-miam-icon", 38);
|
|
11079
11107
|
i0.ɵɵelementEnd();
|
|
11080
11108
|
}
|
|
11081
11109
|
if (rf & 2) {
|
|
@@ -11086,34 +11114,50 @@
|
|
|
11086
11114
|
}
|
|
11087
11115
|
function RecipeCardComponent_div_0_div_3_ng_miam_like_button_4_Template(rf, ctx) {
|
|
11088
11116
|
if (rf & 1) {
|
|
11089
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11117
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 39);
|
|
11090
11118
|
}
|
|
11091
11119
|
if (rf & 2) {
|
|
11092
11120
|
var ctx_r26 = i0.ɵɵnextContext(3);
|
|
11093
11121
|
i0.ɵɵproperty("recipe", ctx_r26.recipe)("originTrace", ctx_r26.eventTrace());
|
|
11094
11122
|
}
|
|
11095
11123
|
}
|
|
11096
|
-
function
|
|
11124
|
+
function RecipeCardComponent_div_0_div_3_div_6_Template(rf, ctx) {
|
|
11097
11125
|
if (rf & 1) {
|
|
11098
|
-
i0.ɵɵ
|
|
11126
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
11127
|
+
i0.ɵɵelement(1, "img", 41);
|
|
11128
|
+
i0.ɵɵelementEnd();
|
|
11099
11129
|
}
|
|
11100
11130
|
if (rf & 2) {
|
|
11101
11131
|
var ctx_r27 = i0.ɵɵnextContext(3);
|
|
11102
|
-
i0.ɵɵ
|
|
11132
|
+
i0.ɵɵadvance(1);
|
|
11133
|
+
i0.ɵɵproperty("src", ctx_r27.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11134
|
+
}
|
|
11135
|
+
}
|
|
11136
|
+
function RecipeCardComponent_div_0_div_3_div_7_Template(rf, ctx) {
|
|
11137
|
+
if (rf & 1) {
|
|
11138
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11139
|
+
i0.ɵɵelement(1, "img", 41);
|
|
11140
|
+
i0.ɵɵelementEnd();
|
|
11141
|
+
}
|
|
11142
|
+
if (rf & 2) {
|
|
11143
|
+
var ctx_r28 = i0.ɵɵnextContext(3);
|
|
11144
|
+
i0.ɵɵadvance(1);
|
|
11145
|
+
i0.ɵɵproperty("src", ctx_r28.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11103
11146
|
}
|
|
11104
11147
|
}
|
|
11105
11148
|
function RecipeCardComponent_div_0_div_3_Template(rf, ctx) {
|
|
11106
11149
|
if (rf & 1) {
|
|
11107
|
-
var
|
|
11150
|
+
var _r30_1 = i0.ɵɵgetCurrentView();
|
|
11108
11151
|
i0.ɵɵelementStart(0, "div", 30);
|
|
11109
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11152
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r30_1); var ctx_r29 = i0.ɵɵnextContext(2); return ctx_r29.openRecipe(); });
|
|
11110
11153
|
i0.ɵɵelement(1, "img", 31);
|
|
11111
11154
|
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_3_div_2_Template, 2, 3, "div", 32);
|
|
11112
11155
|
i0.ɵɵelementStart(3, "div", 33);
|
|
11113
11156
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_3_ng_miam_like_button_4_Template, 1, 2, "ng-miam-like-button", 34);
|
|
11114
11157
|
i0.ɵɵpipe(5, "async");
|
|
11115
11158
|
i0.ɵɵelementEnd();
|
|
11116
|
-
i0.ɵɵtemplate(6,
|
|
11159
|
+
i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_3_div_6_Template, 2, 1, "div", 35);
|
|
11160
|
+
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_3_div_7_Template, 2, 1, "div", 36);
|
|
11117
11161
|
i0.ɵɵelementEnd();
|
|
11118
11162
|
}
|
|
11119
11163
|
if (rf & 2) {
|
|
@@ -11123,14 +11167,16 @@
|
|
|
11123
11167
|
i0.ɵɵadvance(1);
|
|
11124
11168
|
i0.ɵɵproperty("ngIf", ctx_r3.contextService.videoRecipesEnabled && (ctx_r3.recipe == null ? null : ctx_r3.recipe.videoId));
|
|
11125
11169
|
i0.ɵɵadvance(2);
|
|
11126
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5,
|
|
11170
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 5, ctx_r3.userService.isLogged$));
|
|
11127
11171
|
i0.ɵɵadvance(2);
|
|
11172
|
+
i0.ɵɵproperty("ngIf", ctx_r3.recipe.sponsorLogoUrl);
|
|
11173
|
+
i0.ɵɵadvance(1);
|
|
11128
11174
|
i0.ɵɵproperty("ngIf", ctx_r3.recipe.filigraneLogoUrl);
|
|
11129
11175
|
}
|
|
11130
11176
|
}
|
|
11131
11177
|
function RecipeCardComponent_div_0_ng_template_4_Template(rf, ctx) {
|
|
11132
11178
|
if (rf & 1) {
|
|
11133
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11179
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11134
11180
|
}
|
|
11135
11181
|
if (rf & 2) {
|
|
11136
11182
|
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
@@ -11139,10 +11185,10 @@
|
|
|
11139
11185
|
}
|
|
11140
11186
|
function RecipeCardComponent_div_0_div_7_Template(rf, ctx) {
|
|
11141
11187
|
if (rf & 1) {
|
|
11142
|
-
var
|
|
11188
|
+
var _r32_1 = i0.ɵɵgetCurrentView();
|
|
11143
11189
|
i0.ɵɵelementStart(0, "div");
|
|
11144
|
-
i0.ɵɵelementStart(1, "div",
|
|
11145
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(
|
|
11190
|
+
i0.ɵɵelementStart(1, "div", 44);
|
|
11191
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r32_1); var ctx_r31 = i0.ɵɵnextContext(2); return ctx_r31.openRecipe(); });
|
|
11146
11192
|
i0.ɵɵtext(2);
|
|
11147
11193
|
i0.ɵɵelementEnd();
|
|
11148
11194
|
i0.ɵɵelementEnd();
|
|
@@ -11155,7 +11201,7 @@
|
|
|
11155
11201
|
}
|
|
11156
11202
|
function RecipeCardComponent_div_0_ng_template_8_Template(rf, ctx) {
|
|
11157
11203
|
if (rf & 1) {
|
|
11158
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11204
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11159
11205
|
}
|
|
11160
11206
|
if (rf & 2) {
|
|
11161
11207
|
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
@@ -11164,9 +11210,9 @@
|
|
|
11164
11210
|
}
|
|
11165
11211
|
function RecipeCardComponent_div_0_div_11_Template(rf, ctx) {
|
|
11166
11212
|
if (rf & 1) {
|
|
11167
|
-
i0.ɵɵelementStart(0, "div",
|
|
11168
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11169
|
-
i0.ɵɵelementStart(2, "span",
|
|
11213
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
11214
|
+
i0.ɵɵelement(1, "ng-miam-icon", 46);
|
|
11215
|
+
i0.ɵɵelementStart(2, "span", 47);
|
|
11170
11216
|
i0.ɵɵtext(3);
|
|
11171
11217
|
i0.ɵɵelementEnd();
|
|
11172
11218
|
i0.ɵɵelementEnd();
|
|
@@ -11182,49 +11228,49 @@
|
|
|
11182
11228
|
function RecipeCardComponent_div_0_div_12_ng_container_2_Template(rf, ctx) {
|
|
11183
11229
|
if (rf & 1) {
|
|
11184
11230
|
i0.ɵɵelementContainerStart(0);
|
|
11185
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11231
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11186
11232
|
i0.ɵɵelementContainerEnd();
|
|
11187
11233
|
}
|
|
11188
11234
|
if (rf & 2) {
|
|
11189
|
-
var
|
|
11235
|
+
var ctx_r33 = i0.ɵɵnextContext(3);
|
|
11190
11236
|
i0.ɵɵadvance(1);
|
|
11191
|
-
i0.ɵɵproperty("width", 44)("height", 20)("iconName",
|
|
11237
|
+
i0.ɵɵproperty("width", 44)("height", 20)("iconName", ctx_r33.icon.DifficultyMedium);
|
|
11192
11238
|
}
|
|
11193
11239
|
}
|
|
11194
11240
|
function RecipeCardComponent_div_0_div_12_ng_container_3_Template(rf, ctx) {
|
|
11195
11241
|
if (rf & 1) {
|
|
11196
11242
|
i0.ɵɵelementContainerStart(0);
|
|
11197
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11243
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11198
11244
|
i0.ɵɵelementContainerEnd();
|
|
11199
11245
|
}
|
|
11200
11246
|
if (rf & 2) {
|
|
11201
|
-
var
|
|
11247
|
+
var ctx_r34 = i0.ɵɵnextContext(3);
|
|
11202
11248
|
i0.ɵɵadvance(1);
|
|
11203
|
-
i0.ɵɵproperty("width", 67)("height", 20)("iconName",
|
|
11249
|
+
i0.ɵɵproperty("width", 67)("height", 20)("iconName", ctx_r34.icon.DifficultyHigh);
|
|
11204
11250
|
}
|
|
11205
11251
|
}
|
|
11206
11252
|
function RecipeCardComponent_div_0_div_12_ng_container_4_Template(rf, ctx) {
|
|
11207
11253
|
if (rf & 1) {
|
|
11208
11254
|
i0.ɵɵelementContainerStart(0);
|
|
11209
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11255
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11210
11256
|
i0.ɵɵelementContainerEnd();
|
|
11211
11257
|
}
|
|
11212
11258
|
if (rf & 2) {
|
|
11213
|
-
var
|
|
11259
|
+
var ctx_r35 = i0.ɵɵnextContext(3);
|
|
11214
11260
|
i0.ɵɵadvance(1);
|
|
11215
|
-
i0.ɵɵproperty("width", 20)("height", 20)("iconName",
|
|
11261
|
+
i0.ɵɵproperty("width", 20)("height", 20)("iconName", ctx_r35.icon.DifficultyLow);
|
|
11216
11262
|
}
|
|
11217
11263
|
}
|
|
11218
11264
|
var _c0$e = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11219
11265
|
function RecipeCardComponent_div_0_div_12_Template(rf, ctx) {
|
|
11220
11266
|
if (rf & 1) {
|
|
11221
|
-
i0.ɵɵelementStart(0, "div",
|
|
11222
|
-
i0.ɵɵelementContainerStart(1,
|
|
11223
|
-
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_2_Template, 2, 3, "ng-container",
|
|
11224
|
-
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_12_ng_container_3_Template, 2, 3, "ng-container",
|
|
11225
|
-
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container",
|
|
11267
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
11268
|
+
i0.ɵɵelementContainerStart(1, 49);
|
|
11269
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_2_Template, 2, 3, "ng-container", 50);
|
|
11270
|
+
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_12_ng_container_3_Template, 2, 3, "ng-container", 50);
|
|
11271
|
+
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 51);
|
|
11226
11272
|
i0.ɵɵelementContainerEnd();
|
|
11227
|
-
i0.ɵɵelementStart(5, "span",
|
|
11273
|
+
i0.ɵɵelementStart(5, "span", 47);
|
|
11228
11274
|
i0.ɵɵtext(6);
|
|
11229
11275
|
i0.ɵɵelementEnd();
|
|
11230
11276
|
i0.ɵɵelementEnd();
|
|
@@ -11244,9 +11290,9 @@
|
|
|
11244
11290
|
}
|
|
11245
11291
|
function RecipeCardComponent_div_0_div_13_Template(rf, ctx) {
|
|
11246
11292
|
if (rf & 1) {
|
|
11247
|
-
i0.ɵɵelementStart(0, "div",
|
|
11248
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11249
|
-
i0.ɵɵelementStart(2, "span",
|
|
11293
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
11294
|
+
i0.ɵɵelement(1, "ng-miam-icon", 54);
|
|
11295
|
+
i0.ɵɵelementStart(2, "span", 47);
|
|
11250
11296
|
i0.ɵɵtext(3);
|
|
11251
11297
|
i0.ɵɵelementEnd();
|
|
11252
11298
|
i0.ɵɵelementEnd();
|
|
@@ -11261,7 +11307,7 @@
|
|
|
11261
11307
|
}
|
|
11262
11308
|
function RecipeCardComponent_div_0_ng_template_14_Template(rf, ctx) {
|
|
11263
11309
|
if (rf & 1) {
|
|
11264
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11310
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11265
11311
|
}
|
|
11266
11312
|
if (rf & 2) {
|
|
11267
11313
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
@@ -11270,26 +11316,26 @@
|
|
|
11270
11316
|
}
|
|
11271
11317
|
function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) {
|
|
11272
11318
|
if (rf & 1) {
|
|
11273
|
-
i0.ɵɵelementStart(0, "div",
|
|
11319
|
+
i0.ɵɵelementStart(0, "div", 58);
|
|
11274
11320
|
i0.ɵɵtext(1);
|
|
11275
11321
|
i0.ɵɵelementEnd();
|
|
11276
11322
|
}
|
|
11277
11323
|
if (rf & 2) {
|
|
11278
|
-
var
|
|
11324
|
+
var ctx_r36 = i0.ɵɵnextContext(3);
|
|
11279
11325
|
i0.ɵɵadvance(1);
|
|
11280
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11326
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r36.recipe.modifiedIngredients.length - 2, " ");
|
|
11281
11327
|
}
|
|
11282
11328
|
}
|
|
11283
11329
|
function RecipeCardComponent_div_0_div_21_Template(rf, ctx) {
|
|
11284
11330
|
if (rf & 1) {
|
|
11285
|
-
i0.ɵɵelementStart(0, "div",
|
|
11286
|
-
i0.ɵɵelementStart(1, "div",
|
|
11287
|
-
i0.ɵɵelement(2, "img",
|
|
11331
|
+
i0.ɵɵelementStart(0, "div", 55);
|
|
11332
|
+
i0.ɵɵelementStart(1, "div", 56);
|
|
11333
|
+
i0.ɵɵelement(2, "img", 41);
|
|
11288
11334
|
i0.ɵɵelementEnd();
|
|
11289
|
-
i0.ɵɵelementStart(3, "div",
|
|
11290
|
-
i0.ɵɵelement(4, "img",
|
|
11335
|
+
i0.ɵɵelementStart(3, "div", 56);
|
|
11336
|
+
i0.ɵɵelement(4, "img", 41);
|
|
11291
11337
|
i0.ɵɵelementEnd();
|
|
11292
|
-
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div",
|
|
11338
|
+
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 57);
|
|
11293
11339
|
i0.ɵɵelementEnd();
|
|
11294
11340
|
}
|
|
11295
11341
|
if (rf & 2) {
|
|
@@ -11304,10 +11350,10 @@
|
|
|
11304
11350
|
}
|
|
11305
11351
|
function RecipeCardComponent_div_0_div_22_Template(rf, ctx) {
|
|
11306
11352
|
if (rf & 1) {
|
|
11307
|
-
var
|
|
11308
|
-
i0.ɵɵelementStart(0, "div",
|
|
11309
|
-
i0.ɵɵelementStart(1, "ng-miam-counter-input",
|
|
11310
|
-
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
11353
|
+
var _r38_1 = i0.ɵɵgetCurrentView();
|
|
11354
|
+
i0.ɵɵelementStart(0, "div", 59);
|
|
11355
|
+
i0.ɵɵelementStart(1, "ng-miam-counter-input", 60);
|
|
11356
|
+
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(_r38_1); var ctx_r37 = i0.ɵɵnextContext(2); return ctx_r37.updateGuests($event); });
|
|
11311
11357
|
i0.ɵɵelementEnd();
|
|
11312
11358
|
i0.ɵɵelementEnd();
|
|
11313
11359
|
}
|
|
@@ -11319,7 +11365,7 @@
|
|
|
11319
11365
|
}
|
|
11320
11366
|
function RecipeCardComponent_div_0_ng_template_23_Template(rf, ctx) {
|
|
11321
11367
|
if (rf & 1) {
|
|
11322
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11368
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11323
11369
|
}
|
|
11324
11370
|
if (rf & 2) {
|
|
11325
11371
|
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
@@ -11328,8 +11374,8 @@
|
|
|
11328
11374
|
}
|
|
11329
11375
|
function RecipeCardComponent_div_0_div_26_Template(rf, ctx) {
|
|
11330
11376
|
if (rf & 1) {
|
|
11331
|
-
i0.ɵɵelementStart(0, "div",
|
|
11332
|
-
i0.ɵɵelement(1, "ng-miam-recipe-pricing",
|
|
11377
|
+
i0.ɵɵelementStart(0, "div", 61);
|
|
11378
|
+
i0.ɵɵelement(1, "ng-miam-recipe-pricing", 62);
|
|
11333
11379
|
i0.ɵɵelementEnd();
|
|
11334
11380
|
}
|
|
11335
11381
|
if (rf & 2) {
|
|
@@ -11366,7 +11412,7 @@
|
|
|
11366
11412
|
}
|
|
11367
11413
|
function RecipeCardComponent_div_0_ng_miam_icon_33_Template(rf, ctx) {
|
|
11368
11414
|
if (rf & 1) {
|
|
11369
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
11415
|
+
i0.ɵɵelement(0, "ng-miam-icon", 63);
|
|
11370
11416
|
i0.ɵɵpipe(1, "async");
|
|
11371
11417
|
}
|
|
11372
11418
|
if (rf & 2) {
|
|
@@ -11382,12 +11428,12 @@
|
|
|
11382
11428
|
var _c1$5 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
11383
11429
|
function RecipeCardComponent_div_0_Template(rf, ctx) {
|
|
11384
11430
|
if (rf & 1) {
|
|
11385
|
-
var
|
|
11431
|
+
var _r40_1 = i0.ɵɵgetCurrentView();
|
|
11386
11432
|
i0.ɵɵelementStart(0, "div", 2);
|
|
11387
11433
|
i0.ɵɵelementStart(1, "div", 3);
|
|
11388
11434
|
i0.ɵɵelement(2, "img", 4);
|
|
11389
11435
|
i0.ɵɵelementEnd();
|
|
11390
|
-
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_3_Template,
|
|
11436
|
+
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_3_Template, 8, 7, "div", 5);
|
|
11391
11437
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_ng_template_4_Template, 1, 1, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
11392
11438
|
i0.ɵɵelementStart(6, "div", 7);
|
|
11393
11439
|
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_7_Template, 3, 1, "div", 8);
|
|
@@ -11402,7 +11448,7 @@
|
|
|
11402
11448
|
i0.ɵɵelementStart(17, "div", 16);
|
|
11403
11449
|
i0.ɵɵelementStart(18, "div", 17);
|
|
11404
11450
|
i0.ɵɵelementStart(19, "div", 18);
|
|
11405
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(
|
|
11451
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(_r40_1); var ctx_r39 = i0.ɵɵnextContext(); return ctx_r39.toggleHelper(); });
|
|
11406
11452
|
i0.ɵɵelement(20, "ng-miam-icon", 19);
|
|
11407
11453
|
i0.ɵɵelementEnd();
|
|
11408
11454
|
i0.ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
|
|
@@ -11416,7 +11462,7 @@
|
|
|
11416
11462
|
i0.ɵɵelementEnd();
|
|
11417
11463
|
i0.ɵɵelementStart(27, "div", 25);
|
|
11418
11464
|
i0.ɵɵelementStart(28, "button", 26);
|
|
11419
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(
|
|
11465
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r40_1); var ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.clickPrimary(); });
|
|
11420
11466
|
i0.ɵɵpipe(29, "async");
|
|
11421
11467
|
i0.ɵɵtemplate(30, RecipeCardComponent_div_0_span_30_Template, 3, 3, "span", 8);
|
|
11422
11468
|
i0.ɵɵtemplate(31, RecipeCardComponent_div_0_ng_template_31_Template, 3, 3, "ng-template", null, 27, i0.ɵɵtemplateRefExtractor);
|
|
@@ -11456,7 +11502,7 @@
|
|
|
11456
11502
|
i0.ɵɵadvance(2);
|
|
11457
11503
|
i0.ɵɵproperty("disabled", !ctx_r0.recipe)("ngClass", i0.ɵɵpureFunction2(25, _c1$5, i0.ɵɵpipeBind1(29, 23, ctx_r0.groceriesListsService.recipeIsInList(ctx_r0.recipe == null ? null : ctx_r0.recipe.id)), ctx_r0.addButtonLoading));
|
|
11458
11504
|
i0.ɵɵadvance(2);
|
|
11459
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipeService.recipesPrimaryButtonActions.display && !ctx_r0.recipeService.recipesPrimaryButtonActions.addToBasket)("ngIfElse", _r20);
|
|
11505
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipeService.suggestionsPrimaryButtonActions.display && !ctx_r0.recipeService.suggestionsPrimaryButtonActions.addToBasket || ctx_r0.recipeService.recipesPrimaryButtonActions.display && !ctx_r0.recipeService.recipesPrimaryButtonActions.addToBasket)("ngIfElse", _r20);
|
|
11460
11506
|
i0.ɵɵadvance(3);
|
|
11461
11507
|
i0.ɵɵproperty("ngIf", !ctx_r0.addButtonLoading)("ngIfElse", _r23);
|
|
11462
11508
|
}
|
|
@@ -11583,7 +11629,7 @@
|
|
|
11583
11629
|
return RecipeCardComponent;
|
|
11584
11630
|
}(AbstractRecipeCardComponent));
|
|
11585
11631
|
RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RecipesService), i0.ɵɵdirectiveInject(RecipeEventsService), i0.ɵɵdirectiveInject(GroceriesListsService), i0.ɵɵdirectiveInject(UserService), i0.ɵɵdirectiveInject(PointOfSalesService), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(AnalyticsService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(ToastrService)); };
|
|
11586
|
-
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: [["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"], ["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",
|
|
11632
|
+
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: [["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"], ["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"], [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], [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"], ["primaryColor", "#fff", 3, "width", "height", "iconName"]], template: function RecipeCardComponent_Template(rf, ctx) {
|
|
11587
11633
|
if (rf & 1) {
|
|
11588
11634
|
i0.ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 36, 28, "div", 0);
|
|
11589
11635
|
i0.ɵɵtemplate(1, RecipeCardComponent_ng_template_1_Template, 1, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -11591,7 +11637,7 @@
|
|
|
11591
11637
|
if (rf & 2) {
|
|
11592
11638
|
i0.ɵɵproperty("ngIf", ctx.isloaded);
|
|
11593
11639
|
}
|
|
11594
|
-
}, directives: [i4.NgIf, IconComponent, i4.NgClass, LikeButtonComponent, SkeletonComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, CounterInputComponent, RecipePricingComponent, LoaderComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-card{background-color:var(--m-color-white);border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:100%;min-height:440px;position:relative;width:320px}.miam-recipe-card .miam-recipe-card__bookmark{filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));left:0;position:absolute;top:10px;z-index:1}.miam-recipe-card .miam-recipe-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:60%;position:relative}.miam-recipe-card .miam-recipe-card__picture img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;object-fit:cover;position:absolute;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__video{left:calc(50% - 50px);position:absolute;top:calc(50% - 50px)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{display:flex;position:absolute;right:16px;top:20px;z-index:var(--m-z-index-position-absolute-high)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions ng-miam-like-button.miam-recipe-card__actions__icon{-o-object-fit:contain;background-color:var(--m-color-white);border-radius:var(--m-border-radius-circle);filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));margin:0 0 16px;object-fit:contain;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor{-o-object-fit:contain;
|
|
11640
|
+
}, directives: [i4.NgIf, IconComponent, i4.NgClass, LikeButtonComponent, SkeletonComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, CounterInputComponent, RecipePricingComponent, LoaderComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-card{background-color:var(--m-color-white);border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:100%;min-height:440px;position:relative;width:320px}.miam-recipe-card .miam-recipe-card__bookmark{filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));left:0;position:absolute;top:10px;z-index:1}.miam-recipe-card .miam-recipe-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:60%;position:relative}.miam-recipe-card .miam-recipe-card__picture img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;object-fit:cover;position:absolute;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__video{left:calc(50% - 50px);position:absolute;top:calc(50% - 50px)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{display:flex;position:absolute;right:16px;top:20px;z-index:var(--m-z-index-position-absolute-high)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions ng-miam-like-button.miam-recipe-card__actions__icon{-o-object-fit:contain;background-color:var(--m-color-white);border-radius:var(--m-border-radius-circle);filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));margin:0 0 16px;object-fit:contain;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor{align-items:flex-start;display:flex;height:48px;justify-content:flex-start;left:16px;order:2;position:absolute;top:16px;width:64px}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor img{-o-object-fit:contain;border-radius:0;height:auto;max-height:100%;max-width:100%;object-fit:contain;position:unset;transition:unset;width:auto;z-index:unset}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:48px;justify-content:flex-end;order:2;position:absolute;right:16px;width:72px}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__filigrane img{-o-object-fit:contain;border-radius:0;height:auto;max-height:100%;max-width:100%;object-fit:contain;position:unset;transition:unset;width:auto;z-index:unset}.miam-recipe-card .miam-recipe-card__attributes{display:flex;flex:1 1;flex-direction:column;justify-content:space-around;justify-content:space-between;padding:8px 16px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-slate);cursor:pointer;display:-webkit-box;font-size:20px;font-weight:700;font-weight:500;letter-spacing:normal;line-height:30;line-height:1.5;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:var(--m-default-transition)}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title:hover{color:var(--m-color-primary);text-decoration:underline}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;padding:8px 0}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info{align-items:center;display:flex;flex-direction:column;width:100%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info.recipe__total__time{border-right:1px solid #e9e9e9}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info.recipe__ingredients{border-left:1px solid #e9e9e9;display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info .miam-recipe-card__info__label{font-size:14px;margin-top:10px;text-transform:capitalize}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control{align-items:center;display:flex;justify-content:space-between}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col{display:flex;flex-direction:column-reverse}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter{align-items:center;display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:8px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom{align-items:flex-end;display:flex;justify-content:flex-start}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .icon-container{cursor:pointer}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .miam-recipe-card__help,.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .miam-recipe-card__ingredients__pictures{display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col{align-items:center;display:flex;flex-direction:column;min-width:60px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col .miam-recipe-card__right__col__price{display:none;height:48px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__cta{display:flex;justify-content:center;width:100%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__cta button{padding:12px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__cta button .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}@media (max-width:1023px){.miam-recipe-card{height:440px}.miam-recipe-card .miam-recipe-card__picture{height:55%}}"], encapsulation: 2, changeDetection: 0 });
|
|
11595
11641
|
/*@__PURE__*/ (function () {
|
|
11596
11642
|
i0.ɵsetClassMetadata(RecipeCardComponent, [{
|
|
11597
11643
|
type: i0.Component,
|
|
@@ -11641,127 +11687,142 @@
|
|
|
11641
11687
|
var _c0$f = ["miamMoreActions"];
|
|
11642
11688
|
function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) {
|
|
11643
11689
|
if (rf & 1) {
|
|
11644
|
-
i0.ɵɵelementStart(0, "div");
|
|
11645
|
-
i0.ɵɵelement(1, "img",
|
|
11690
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
11691
|
+
i0.ɵɵelement(1, "img", 33);
|
|
11646
11692
|
i0.ɵɵelementEnd();
|
|
11647
11693
|
}
|
|
11648
11694
|
if (rf & 2) {
|
|
11649
|
-
var
|
|
11695
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
11650
11696
|
i0.ɵɵadvance(1);
|
|
11651
|
-
i0.ɵɵproperty("src",
|
|
11697
|
+
i0.ɵɵproperty("src", ctx_r18.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11652
11698
|
}
|
|
11653
11699
|
}
|
|
11654
11700
|
function CatalogRecipeCardComponent_div_4_div_4_Template(rf, ctx) {
|
|
11655
11701
|
if (rf & 1) {
|
|
11656
|
-
i0.ɵɵelementStart(0, "div",
|
|
11657
|
-
i0.ɵɵelement(1, "
|
|
11702
|
+
i0.ɵɵelementStart(0, "div", 34);
|
|
11703
|
+
i0.ɵɵelement(1, "img", 33);
|
|
11658
11704
|
i0.ɵɵelementEnd();
|
|
11659
11705
|
}
|
|
11660
11706
|
if (rf & 2) {
|
|
11661
|
-
var
|
|
11707
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
11662
11708
|
i0.ɵɵadvance(1);
|
|
11663
|
-
i0.ɵɵproperty("
|
|
11709
|
+
i0.ɵɵproperty("src", ctx_r19.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11664
11710
|
}
|
|
11665
11711
|
}
|
|
11666
|
-
function
|
|
11712
|
+
function CatalogRecipeCardComponent_div_4_div_5_Template(rf, ctx) {
|
|
11667
11713
|
if (rf & 1) {
|
|
11668
|
-
i0.ɵɵelementStart(0, "div",
|
|
11714
|
+
i0.ɵɵelementStart(0, "div", 35);
|
|
11715
|
+
i0.ɵɵelement(1, "ng-miam-icon", 36);
|
|
11716
|
+
i0.ɵɵelementEnd();
|
|
11717
|
+
}
|
|
11718
|
+
if (rf & 2) {
|
|
11719
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
11720
|
+
i0.ɵɵadvance(1);
|
|
11721
|
+
i0.ɵɵproperty("iconName", ctx_r20.icon.Video)("width", 80)("height", 80);
|
|
11722
|
+
}
|
|
11723
|
+
}
|
|
11724
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template(rf, ctx) {
|
|
11725
|
+
if (rf & 1) {
|
|
11726
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
11669
11727
|
i0.ɵɵtext(1, " D\u00E9j\u00E0 ajout\u00E9e ");
|
|
11670
11728
|
i0.ɵɵelementEnd();
|
|
11671
11729
|
}
|
|
11672
11730
|
}
|
|
11673
|
-
function
|
|
11731
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_Template(rf, ctx) {
|
|
11674
11732
|
if (rf & 1) {
|
|
11675
11733
|
i0.ɵɵelementContainerStart(0);
|
|
11676
|
-
i0.ɵɵtemplate(1,
|
|
11734
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div", 37);
|
|
11677
11735
|
i0.ɵɵpipe(2, "async");
|
|
11678
11736
|
i0.ɵɵelementContainerEnd();
|
|
11679
11737
|
}
|
|
11680
11738
|
if (rf & 2) {
|
|
11681
|
-
var
|
|
11739
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
11682
11740
|
i0.ɵɵadvance(1);
|
|
11683
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1,
|
|
11741
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r21.groceriesListsService.recipeIsInList(ctx_r21.recipe == null ? null : ctx_r21.recipe.id)));
|
|
11684
11742
|
}
|
|
11685
11743
|
}
|
|
11686
|
-
function
|
|
11744
|
+
function CatalogRecipeCardComponent_div_4_ng_container_7_Template(rf, ctx) {
|
|
11687
11745
|
if (rf & 1) {
|
|
11688
|
-
var
|
|
11746
|
+
var _r29_1 = i0.ɵɵgetCurrentView();
|
|
11689
11747
|
i0.ɵɵelementContainerStart(0);
|
|
11690
|
-
i0.ɵɵelementStart(1, "div",
|
|
11691
|
-
i0.ɵɵlistener("click", function
|
|
11748
|
+
i0.ɵɵelementStart(1, "div", 39);
|
|
11749
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r29_1); var ctx_r28 = i0.ɵɵnextContext(2); return ctx_r28.openRecipe(); });
|
|
11692
11750
|
i0.ɵɵtext(2);
|
|
11693
11751
|
i0.ɵɵelementEnd();
|
|
11694
11752
|
i0.ɵɵelementContainerEnd();
|
|
11695
11753
|
}
|
|
11696
11754
|
if (rf & 2) {
|
|
11697
|
-
var
|
|
11755
|
+
var ctx_r22 = i0.ɵɵnextContext(2);
|
|
11698
11756
|
i0.ɵɵadvance(2);
|
|
11699
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11757
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r22.recipe == null ? null : ctx_r22.recipe.attributes["title"], " ");
|
|
11700
11758
|
}
|
|
11701
11759
|
}
|
|
11702
|
-
function
|
|
11760
|
+
function CatalogRecipeCardComponent_div_4_ng_template_8_Template(rf, ctx) {
|
|
11703
11761
|
if (rf & 1) {
|
|
11704
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11762
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11705
11763
|
}
|
|
11706
11764
|
if (rf & 2) {
|
|
11707
|
-
var
|
|
11708
|
-
i0.ɵɵproperty("type",
|
|
11765
|
+
var ctx_r24 = i0.ɵɵnextContext(2);
|
|
11766
|
+
i0.ɵɵproperty("type", ctx_r24.skeleton.Text);
|
|
11709
11767
|
}
|
|
11710
11768
|
}
|
|
11711
|
-
function
|
|
11769
|
+
function CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template(rf, ctx) {
|
|
11712
11770
|
if (rf & 1) {
|
|
11713
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11771
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 41);
|
|
11714
11772
|
}
|
|
11715
11773
|
if (rf & 2) {
|
|
11716
|
-
var
|
|
11717
|
-
i0.ɵɵproperty("recipe",
|
|
11774
|
+
var ctx_r25 = i0.ɵɵnextContext(2);
|
|
11775
|
+
i0.ɵɵproperty("recipe", ctx_r25.recipe)("originTrace", ctx_r25.eventTrace());
|
|
11718
11776
|
}
|
|
11719
11777
|
}
|
|
11720
11778
|
function CatalogRecipeCardComponent_div_4_Template(rf, ctx) {
|
|
11721
11779
|
if (rf & 1) {
|
|
11722
|
-
var
|
|
11723
|
-
i0.ɵɵelementStart(0, "div",
|
|
11724
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11725
|
-
i0.ɵɵelementStart(1, "div",
|
|
11726
|
-
i0.ɵɵelement(2, "img",
|
|
11727
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div",
|
|
11728
|
-
i0.ɵɵ
|
|
11729
|
-
i0.ɵɵ
|
|
11730
|
-
i0.ɵɵtemplate(5,
|
|
11731
|
-
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3,
|
|
11732
|
-
i0.ɵɵtemplate(7,
|
|
11733
|
-
i0.ɵɵ
|
|
11734
|
-
i0.ɵɵ
|
|
11735
|
-
i0.ɵɵ
|
|
11736
|
-
i0.ɵɵ
|
|
11737
|
-
i0.ɵɵ
|
|
11738
|
-
i0.ɵɵ
|
|
11780
|
+
var _r31_1 = i0.ɵɵgetCurrentView();
|
|
11781
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
11782
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r30 = i0.ɵɵnextContext(); return ctx_r30.openRecipe(); });
|
|
11783
|
+
i0.ɵɵelementStart(1, "div", 20);
|
|
11784
|
+
i0.ɵɵelement(2, "img", 21);
|
|
11785
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 22);
|
|
11786
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_div_4_Template, 2, 1, "div", 23);
|
|
11787
|
+
i0.ɵɵelementEnd();
|
|
11788
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 24);
|
|
11789
|
+
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container", 25);
|
|
11790
|
+
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container", 9);
|
|
11791
|
+
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null, 26, i0.ɵɵtemplateRefExtractor);
|
|
11792
|
+
i0.ɵɵelementStart(10, "div", 27);
|
|
11793
|
+
i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button", 28);
|
|
11794
|
+
i0.ɵɵpipe(12, "async");
|
|
11795
|
+
i0.ɵɵelementStart(13, "div", 29, 30);
|
|
11796
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_13_listener($event) { i0.ɵɵrestoreView(_r31_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.toggleMoreActions($event); });
|
|
11797
|
+
i0.ɵɵelement(15, "ng-miam-icon", 31);
|
|
11739
11798
|
i0.ɵɵelementEnd();
|
|
11740
11799
|
i0.ɵɵelementEnd();
|
|
11741
11800
|
i0.ɵɵelementEnd();
|
|
11742
11801
|
}
|
|
11743
11802
|
if (rf & 2) {
|
|
11744
|
-
var
|
|
11803
|
+
var _r23 = i0.ɵɵreference(9);
|
|
11745
11804
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
11746
11805
|
i0.ɵɵadvance(2);
|
|
11747
11806
|
i0.ɵɵproperty("src", ctx_r0.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
|
|
11748
11807
|
i0.ɵɵadvance(1);
|
|
11808
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.sponsorLogoUrl);
|
|
11809
|
+
i0.ɵɵadvance(1);
|
|
11749
11810
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
11750
11811
|
i0.ɵɵadvance(1);
|
|
11751
11812
|
i0.ɵɵproperty("ngIf", ctx_r0.contextService.videoRecipesEnabled && (ctx_r0.recipe == null ? null : ctx_r0.recipe.videoId));
|
|
11752
11813
|
i0.ɵɵadvance(1);
|
|
11753
11814
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe && ctx_r0.displayAddedOnPicture);
|
|
11754
11815
|
i0.ɵɵadvance(1);
|
|
11755
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse",
|
|
11816
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r23);
|
|
11756
11817
|
i0.ɵɵadvance(4);
|
|
11757
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
11818
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(12, 9, ctx_r0.userService.isLogged$));
|
|
11758
11819
|
i0.ɵɵadvance(4);
|
|
11759
11820
|
i0.ɵɵproperty("iconName", ctx_r0.actionsOpened ? ctx_r0.icon.Clear : ctx_r0.icon.HorizontalDots);
|
|
11760
11821
|
}
|
|
11761
11822
|
}
|
|
11762
11823
|
function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) {
|
|
11763
11824
|
if (rf & 1) {
|
|
11764
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11825
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11765
11826
|
}
|
|
11766
11827
|
if (rf & 2) {
|
|
11767
11828
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -11770,26 +11831,26 @@
|
|
|
11770
11831
|
}
|
|
11771
11832
|
function CatalogRecipeCardComponent_div_9_div_5_Template(rf, ctx) {
|
|
11772
11833
|
if (rf & 1) {
|
|
11773
|
-
i0.ɵɵelementStart(0, "div",
|
|
11834
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
11774
11835
|
i0.ɵɵtext(1);
|
|
11775
11836
|
i0.ɵɵelementEnd();
|
|
11776
11837
|
}
|
|
11777
11838
|
if (rf & 2) {
|
|
11778
|
-
var
|
|
11839
|
+
var ctx_r33 = i0.ɵɵnextContext(2);
|
|
11779
11840
|
i0.ɵɵadvance(1);
|
|
11780
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11841
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r33.recipe.modifiedIngredients.length - 2, " ");
|
|
11781
11842
|
}
|
|
11782
11843
|
}
|
|
11783
11844
|
function CatalogRecipeCardComponent_div_9_Template(rf, ctx) {
|
|
11784
11845
|
if (rf & 1) {
|
|
11785
|
-
i0.ɵɵelementStart(0, "div",
|
|
11786
|
-
i0.ɵɵelementStart(1, "div",
|
|
11787
|
-
i0.ɵɵelement(2, "img",
|
|
11846
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11847
|
+
i0.ɵɵelementStart(1, "div", 43);
|
|
11848
|
+
i0.ɵɵelement(2, "img", 33);
|
|
11788
11849
|
i0.ɵɵelementEnd();
|
|
11789
|
-
i0.ɵɵelementStart(3, "div",
|
|
11790
|
-
i0.ɵɵelement(4, "img",
|
|
11850
|
+
i0.ɵɵelementStart(3, "div", 43);
|
|
11851
|
+
i0.ɵɵelement(4, "img", 33);
|
|
11791
11852
|
i0.ɵɵelementEnd();
|
|
11792
|
-
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div",
|
|
11853
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div", 44);
|
|
11793
11854
|
i0.ɵɵelementEnd();
|
|
11794
11855
|
}
|
|
11795
11856
|
if (rf & 2) {
|
|
@@ -11804,17 +11865,17 @@
|
|
|
11804
11865
|
}
|
|
11805
11866
|
function CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template(rf, ctx) {
|
|
11806
11867
|
if (rf & 1) {
|
|
11807
|
-
i0.ɵɵelement(0, "ng-miam-recipe-pricing",
|
|
11868
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 48);
|
|
11808
11869
|
}
|
|
11809
11870
|
if (rf & 2) {
|
|
11810
|
-
var
|
|
11811
|
-
i0.ɵɵproperty("recipe",
|
|
11871
|
+
var ctx_r34 = i0.ɵɵnextContext(2);
|
|
11872
|
+
i0.ɵɵproperty("recipe", ctx_r34.recipe)("serves", ctx_r34.recipe == null ? null : ctx_r34.recipe.modifiedGuests);
|
|
11812
11873
|
}
|
|
11813
11874
|
}
|
|
11814
11875
|
function CatalogRecipeCardComponent_div_10_Template(rf, ctx) {
|
|
11815
11876
|
if (rf & 1) {
|
|
11816
|
-
i0.ɵɵelementStart(0, "div",
|
|
11817
|
-
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing",
|
|
11877
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
11878
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 47);
|
|
11818
11879
|
i0.ɵɵelementEnd();
|
|
11819
11880
|
}
|
|
11820
11881
|
if (rf & 2) {
|
|
@@ -11823,14 +11884,40 @@
|
|
|
11823
11884
|
i0.ɵɵproperty("ngIf", ctx_r4.isPriceDisplayed);
|
|
11824
11885
|
}
|
|
11825
11886
|
}
|
|
11887
|
+
function CatalogRecipeCardComponent_span_13_Template(rf, ctx) {
|
|
11888
|
+
if (rf & 1) {
|
|
11889
|
+
i0.ɵɵelementStart(0, "span");
|
|
11890
|
+
i0.ɵɵtext(1);
|
|
11891
|
+
i0.ɵɵpipe(2, "async");
|
|
11892
|
+
i0.ɵɵelementEnd();
|
|
11893
|
+
}
|
|
11894
|
+
if (rf & 2) {
|
|
11895
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
11896
|
+
i0.ɵɵadvance(1);
|
|
11897
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r5.groceriesListsService.recipeIsInList(ctx_r5.recipe == null ? null : ctx_r5.recipe.id)) ? "Voir le d\u00E9tail" : "D\u00E9couvrir l'id\u00E9e repas", " ");
|
|
11898
|
+
}
|
|
11899
|
+
}
|
|
11900
|
+
function CatalogRecipeCardComponent_ng_template_14_Template(rf, ctx) {
|
|
11901
|
+
if (rf & 1) {
|
|
11902
|
+
i0.ɵɵelementStart(0, "span");
|
|
11903
|
+
i0.ɵɵtext(1);
|
|
11904
|
+
i0.ɵɵpipe(2, "async");
|
|
11905
|
+
i0.ɵɵelementEnd();
|
|
11906
|
+
}
|
|
11907
|
+
if (rf & 2) {
|
|
11908
|
+
var ctx_r7 = i0.ɵɵnextContext();
|
|
11909
|
+
i0.ɵɵadvance(1);
|
|
11910
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r7.groceriesListsService.recipeIsInList(ctx_r7.recipe == null ? null : ctx_r7.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
|
|
11911
|
+
}
|
|
11912
|
+
}
|
|
11826
11913
|
function CatalogRecipeCardComponent_ng_miam_icon_16_Template(rf, ctx) {
|
|
11827
11914
|
if (rf & 1) {
|
|
11828
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
11915
|
+
i0.ɵɵelement(0, "ng-miam-icon", 49);
|
|
11829
11916
|
i0.ɵɵpipe(1, "async");
|
|
11830
11917
|
}
|
|
11831
11918
|
if (rf & 2) {
|
|
11832
|
-
var
|
|
11833
|
-
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3,
|
|
11919
|
+
var ctx_r8 = i0.ɵɵnextContext();
|
|
11920
|
+
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3, ctx_r8.groceriesListsService.recipeIsInList(ctx_r8.recipe == null ? null : ctx_r8.recipe.id)) ? ctx_r8.icon.CheckList : ctx_r8.icon.Cart);
|
|
11834
11921
|
}
|
|
11835
11922
|
}
|
|
11836
11923
|
function CatalogRecipeCardComponent_ng_template_17_Template(rf, ctx) {
|
|
@@ -11840,98 +11927,98 @@
|
|
|
11840
11927
|
}
|
|
11841
11928
|
function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
|
|
11842
11929
|
if (rf & 1) {
|
|
11843
|
-
i0.ɵɵelementStart(0, "div",
|
|
11844
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11845
|
-
i0.ɵɵelementStart(2, "span",
|
|
11930
|
+
i0.ɵɵelementStart(0, "div", 50);
|
|
11931
|
+
i0.ɵɵelement(1, "ng-miam-icon", 51);
|
|
11932
|
+
i0.ɵɵelementStart(2, "span", 52);
|
|
11846
11933
|
i0.ɵɵtext(3);
|
|
11847
11934
|
i0.ɵɵelementEnd();
|
|
11848
11935
|
i0.ɵɵelementEnd();
|
|
11849
11936
|
}
|
|
11850
11937
|
if (rf & 2) {
|
|
11851
|
-
var
|
|
11938
|
+
var ctx_r11 = i0.ɵɵnextContext();
|
|
11852
11939
|
i0.ɵɵadvance(1);
|
|
11853
|
-
i0.ɵɵproperty("iconName",
|
|
11940
|
+
i0.ɵɵproperty("iconName", ctx_r11.icon.Time);
|
|
11854
11941
|
i0.ɵɵadvance(2);
|
|
11855
|
-
i0.ɵɵtextInterpolate(
|
|
11942
|
+
i0.ɵɵtextInterpolate(ctx_r11.recipe == null ? null : ctx_r11.recipe.totalTime);
|
|
11856
11943
|
}
|
|
11857
11944
|
}
|
|
11858
11945
|
function CatalogRecipeCardComponent_div_21_ng_container_2_Template(rf, ctx) {
|
|
11859
11946
|
if (rf & 1) {
|
|
11860
11947
|
i0.ɵɵelementContainerStart(0);
|
|
11861
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11948
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11862
11949
|
i0.ɵɵelementContainerEnd();
|
|
11863
11950
|
}
|
|
11864
11951
|
if (rf & 2) {
|
|
11865
|
-
var
|
|
11952
|
+
var ctx_r35 = i0.ɵɵnextContext(2);
|
|
11866
11953
|
i0.ɵɵadvance(1);
|
|
11867
|
-
i0.ɵɵproperty("width", 39)("height", 18)("iconName",
|
|
11954
|
+
i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r35.icon.DifficultyMedium);
|
|
11868
11955
|
}
|
|
11869
11956
|
}
|
|
11870
11957
|
function CatalogRecipeCardComponent_div_21_ng_container_3_Template(rf, ctx) {
|
|
11871
11958
|
if (rf & 1) {
|
|
11872
11959
|
i0.ɵɵelementContainerStart(0);
|
|
11873
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11960
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11874
11961
|
i0.ɵɵelementContainerEnd();
|
|
11875
11962
|
}
|
|
11876
11963
|
if (rf & 2) {
|
|
11877
|
-
var
|
|
11964
|
+
var ctx_r36 = i0.ɵɵnextContext(2);
|
|
11878
11965
|
i0.ɵɵadvance(1);
|
|
11879
|
-
i0.ɵɵproperty("width", 60)("height", 18)("iconName",
|
|
11966
|
+
i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r36.icon.DifficultyHigh);
|
|
11880
11967
|
}
|
|
11881
11968
|
}
|
|
11882
11969
|
function CatalogRecipeCardComponent_div_21_ng_container_4_Template(rf, ctx) {
|
|
11883
11970
|
if (rf & 1) {
|
|
11884
11971
|
i0.ɵɵelementContainerStart(0);
|
|
11885
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11972
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11886
11973
|
i0.ɵɵelementContainerEnd();
|
|
11887
11974
|
}
|
|
11888
11975
|
if (rf & 2) {
|
|
11889
|
-
var
|
|
11976
|
+
var ctx_r37 = i0.ɵɵnextContext(2);
|
|
11890
11977
|
i0.ɵɵadvance(1);
|
|
11891
|
-
i0.ɵɵproperty("width", 18)("height", 18)("iconName",
|
|
11978
|
+
i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r37.icon.DifficultyLow);
|
|
11892
11979
|
}
|
|
11893
11980
|
}
|
|
11894
11981
|
var _c1$6 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11895
11982
|
function CatalogRecipeCardComponent_div_21_Template(rf, ctx) {
|
|
11896
11983
|
if (rf & 1) {
|
|
11897
|
-
i0.ɵɵelementStart(0, "div",
|
|
11898
|
-
i0.ɵɵelementContainerStart(1,
|
|
11899
|
-
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container",
|
|
11900
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container",
|
|
11901
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container",
|
|
11984
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
11985
|
+
i0.ɵɵelementContainerStart(1, 54);
|
|
11986
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container", 55);
|
|
11987
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container", 55);
|
|
11988
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container", 56);
|
|
11902
11989
|
i0.ɵɵelementContainerEnd();
|
|
11903
|
-
i0.ɵɵelementStart(5, "span",
|
|
11990
|
+
i0.ɵɵelementStart(5, "span", 52);
|
|
11904
11991
|
i0.ɵɵtext(6);
|
|
11905
11992
|
i0.ɵɵelementEnd();
|
|
11906
11993
|
i0.ɵɵelementEnd();
|
|
11907
11994
|
}
|
|
11908
11995
|
if (rf & 2) {
|
|
11909
|
-
var
|
|
11910
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (
|
|
11996
|
+
var ctx_r12 = i0.ɵɵnextContext();
|
|
11997
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty) === 1, (ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty) === 2, (ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty) === 3));
|
|
11911
11998
|
i0.ɵɵadvance(1);
|
|
11912
|
-
i0.ɵɵproperty("ngSwitch",
|
|
11999
|
+
i0.ɵɵproperty("ngSwitch", ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty);
|
|
11913
12000
|
i0.ɵɵadvance(1);
|
|
11914
12001
|
i0.ɵɵproperty("ngSwitchCase", 2);
|
|
11915
12002
|
i0.ɵɵadvance(1);
|
|
11916
12003
|
i0.ɵɵproperty("ngSwitchCase", 3);
|
|
11917
12004
|
i0.ɵɵadvance(3);
|
|
11918
|
-
i0.ɵɵtextInterpolate(
|
|
12005
|
+
i0.ɵɵtextInterpolate(ctx_r12.recipeService.difficultyLabel(ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty));
|
|
11919
12006
|
}
|
|
11920
12007
|
}
|
|
11921
12008
|
function CatalogRecipeCardComponent_ng_template_22_Template(rf, ctx) {
|
|
11922
12009
|
if (rf & 1) {
|
|
11923
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
12010
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11924
12011
|
}
|
|
11925
12012
|
if (rf & 2) {
|
|
11926
|
-
var
|
|
11927
|
-
i0.ɵɵproperty("type",
|
|
12013
|
+
var ctx_r14 = i0.ɵɵnextContext();
|
|
12014
|
+
i0.ɵɵproperty("type", ctx_r14.skeleton == null ? null : ctx_r14.skeleton.IconWithInfo);
|
|
11928
12015
|
}
|
|
11929
12016
|
}
|
|
11930
12017
|
function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template(rf, ctx) {
|
|
11931
12018
|
if (rf & 1) {
|
|
11932
|
-
var
|
|
11933
|
-
i0.ɵɵelementStart(0, "ng-miam-actions-popin",
|
|
11934
|
-
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(
|
|
12019
|
+
var _r39_1 = i0.ɵɵgetCurrentView();
|
|
12020
|
+
i0.ɵɵelementStart(0, "ng-miam-actions-popin", 58);
|
|
12021
|
+
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r39_1); var ctx_r38 = i0.ɵɵnextContext(); return ctx_r38.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r39_1); var ctx_r40 = i0.ɵɵnextContext(); return ctx_r40.actionTriggered.emit($event); });
|
|
11935
12022
|
i0.ɵɵelementEnd();
|
|
11936
12023
|
}
|
|
11937
12024
|
}
|
|
@@ -12042,7 +12129,7 @@
|
|
|
12042
12129
|
var _t;
|
|
12043
12130
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moreActions = _t.first);
|
|
12044
12131
|
}
|
|
12045
|
-
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars:
|
|
12132
|
+
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 20, consts: [[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", "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"], [4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [1, "miam-catalog-recipe-card__actions__icon", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [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"], [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], ["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"], [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"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) {
|
|
12046
12133
|
if (rf & 1) {
|
|
12047
12134
|
i0.ɵɵelementStart(0, "div", 0);
|
|
12048
12135
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -12050,7 +12137,7 @@
|
|
|
12050
12137
|
i0.ɵɵtext(3);
|
|
12051
12138
|
i0.ɵɵelementEnd();
|
|
12052
12139
|
i0.ɵɵelementEnd();
|
|
12053
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template,
|
|
12140
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template, 16, 11, "div", 2);
|
|
12054
12141
|
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_ng_template_5_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
12055
12142
|
i0.ɵɵelementStart(7, "div", 4);
|
|
12056
12143
|
i0.ɵɵelementStart(8, "div", 5);
|
|
@@ -12059,28 +12146,27 @@
|
|
|
12059
12146
|
i0.ɵɵelementStart(11, "button", 8);
|
|
12060
12147
|
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_11_listener() { return ctx.clickPrimary(); });
|
|
12061
12148
|
i0.ɵɵpipe(12, "async");
|
|
12062
|
-
i0.ɵɵ
|
|
12063
|
-
i0.ɵɵ
|
|
12064
|
-
i0.ɵɵ
|
|
12065
|
-
i0.ɵɵ
|
|
12066
|
-
i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_miam_icon_16_Template, 2, 5, "ng-miam-icon", 9);
|
|
12067
|
-
i0.ɵɵtemplate(17, CatalogRecipeCardComponent_ng_template_17_Template, 1, 0, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
12149
|
+
i0.ɵɵtemplate(13, CatalogRecipeCardComponent_span_13_Template, 3, 3, "span", 9);
|
|
12150
|
+
i0.ɵɵtemplate(14, CatalogRecipeCardComponent_ng_template_14_Template, 3, 3, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
12151
|
+
i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_miam_icon_16_Template, 2, 5, "ng-miam-icon", 11);
|
|
12152
|
+
i0.ɵɵtemplate(17, CatalogRecipeCardComponent_ng_template_17_Template, 1, 0, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
12068
12153
|
i0.ɵɵelementEnd();
|
|
12069
12154
|
i0.ɵɵelementEnd();
|
|
12070
|
-
i0.ɵɵelementStart(19, "div",
|
|
12071
|
-
i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 4, 2, "div",
|
|
12072
|
-
i0.ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 7, 9, "div",
|
|
12073
|
-
i0.ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null,
|
|
12155
|
+
i0.ɵɵelementStart(19, "div", 13);
|
|
12156
|
+
i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 4, 2, "div", 14);
|
|
12157
|
+
i0.ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 7, 9, "div", 15);
|
|
12158
|
+
i0.ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
|
|
12074
12159
|
i0.ɵɵelementEnd();
|
|
12075
12160
|
i0.ɵɵelementEnd();
|
|
12076
|
-
i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin",
|
|
12161
|
+
i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin", 17);
|
|
12077
12162
|
i0.ɵɵelementEnd();
|
|
12078
|
-
i0.ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null,
|
|
12163
|
+
i0.ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null, 18, i0.ɵɵtemplateRefExtractor);
|
|
12079
12164
|
}
|
|
12080
12165
|
if (rf & 2) {
|
|
12081
12166
|
var _r1 = i0.ɵɵreference(6);
|
|
12082
|
-
var _r6 = i0.ɵɵreference(
|
|
12083
|
-
var
|
|
12167
|
+
var _r6 = i0.ɵɵreference(15);
|
|
12168
|
+
var _r9 = i0.ɵɵreference(18);
|
|
12169
|
+
var _r13 = i0.ɵɵreference(23);
|
|
12084
12170
|
i0.ɵɵadvance(3);
|
|
12085
12171
|
i0.ɵɵtextInterpolate1(" ", ctx.headerText, "");
|
|
12086
12172
|
i0.ɵɵadvance(1);
|
|
@@ -12090,19 +12176,19 @@
|
|
|
12090
12176
|
i0.ɵɵadvance(1);
|
|
12091
12177
|
i0.ɵɵproperty("ngIf", ctx.recipe && ctx.displayPricing);
|
|
12092
12178
|
i0.ɵɵadvance(1);
|
|
12093
|
-
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(
|
|
12094
|
-
i0.ɵɵadvance(3);
|
|
12095
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 16, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
|
|
12179
|
+
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(17, _c2$1, ctx.addButtonLoading, i0.ɵɵpipeBind1(12, 15, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id))));
|
|
12096
12180
|
i0.ɵɵadvance(2);
|
|
12097
|
-
i0.ɵɵproperty("ngIf", !ctx.
|
|
12181
|
+
i0.ɵɵproperty("ngIf", ctx.recipeService.recipesPrimaryButtonActions.display && !ctx.recipeService.recipesPrimaryButtonActions.addToBasket)("ngIfElse", _r6);
|
|
12182
|
+
i0.ɵɵadvance(3);
|
|
12183
|
+
i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r9);
|
|
12098
12184
|
i0.ɵɵadvance(4);
|
|
12099
|
-
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse",
|
|
12185
|
+
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r13);
|
|
12100
12186
|
i0.ɵɵadvance(1);
|
|
12101
12187
|
i0.ɵɵproperty("ngIf", ctx.recipe);
|
|
12102
12188
|
i0.ɵɵadvance(3);
|
|
12103
12189
|
i0.ɵɵproperty("ngIf", ctx.actionsOpened);
|
|
12104
12190
|
}
|
|
12105
|
-
}, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-recipe-card .miam-catalog-card__attributes,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}ng-miam-catalog-recipe-card{flex-grow:1;margin:calc(var(--m-catalog-cards-spacing)/2);max-width:calc(var(--m-catalog-card-minwidth)*1.1)}.miam-catalog-recipe-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}.miam-catalog-recipe-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;overflow:hidden;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;position:relative;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__attributes{align-items:center;flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-recipe-card .miam-catalog-recipe-card__header{display:none}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__video{left:calc(50% - 40px);position:absolute;top:calc(50% - 50px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__tag{background-color:rgba(0,0,0,.6);border-radius:5px;color:var(--m-color-white);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase;top:16px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-black);cursor:pointer;display:-webkit-box;font-size:var(--m-catalog-card-title-size);font-weight:700;left:0;letter-spacing:normal;line-height:var(--m-catalog-card-line-height);margin:12px 0;overflow:hidden;padding:0 16px;position:absolute;text-align:center;text-overflow:ellipsis;top:var(--m-catalog-card-picture-height);transition:var(--m-default-transition);width:100%}@media (min-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title:hover{text-decoration:underline}}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions{position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-high)}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:center;margin-top:12px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price{margin-right:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price .miam-recipe-pricing__wrapper__price{line-height:20px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control button.m-button-primary .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:16px;margin-left:8px;width:16px}"], encapsulation: 2, changeDetection: 0 });
|
|
12191
|
+
}, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-recipe-card .miam-catalog-card__attributes,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}ng-miam-catalog-recipe-card{flex-grow:1;margin:calc(var(--m-catalog-cards-spacing)/2);max-width:calc(var(--m-catalog-card-minwidth)*1.1)}.miam-catalog-recipe-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}.miam-catalog-recipe-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;overflow:hidden;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;position:relative;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{align-items:flex-start;display:flex;height:48px;justify-content:flex-start;left:16px;order:2;position:absolute;top:16px;width:64px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:48px;justify-content:flex-end;order:2;position:absolute;right:16px;width:72px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-recipe-card .miam-catalog-card__attributes{align-items:center;flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-recipe-card .miam-catalog-recipe-card__header{display:none}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__video{left:calc(50% - 40px);position:absolute;top:calc(50% - 50px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__tag{background-color:rgba(0,0,0,.6);border-radius:5px;color:var(--m-color-white);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase;top:16px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-black);cursor:pointer;display:-webkit-box;font-size:var(--m-catalog-card-title-size);font-weight:700;left:0;letter-spacing:normal;line-height:var(--m-catalog-card-line-height);margin:12px 0;overflow:hidden;padding:0 16px;position:absolute;text-align:center;text-overflow:ellipsis;top:var(--m-catalog-card-picture-height);transition:var(--m-default-transition);width:100%}@media (min-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title:hover{text-decoration:underline}}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions{position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-high)}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:center;margin-top:12px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price{margin-right:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price .miam-recipe-pricing__wrapper__price{line-height:20px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control button.m-button-primary .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:16px;margin-left:8px;width:16px}"], encapsulation: 2, changeDetection: 0 });
|
|
12106
12192
|
/*@__PURE__*/ (function () {
|
|
12107
12193
|
i0.ɵsetClassMetadata(CatalogRecipeCardComponent, [{
|
|
12108
12194
|
type: i0.Component,
|
|
@@ -16244,7 +16330,7 @@
|
|
|
16244
16330
|
}
|
|
16245
16331
|
if (rf & 2) {
|
|
16246
16332
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
16247
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.
|
|
16333
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
16248
16334
|
}
|
|
16249
16335
|
}
|
|
16250
16336
|
var RecipeAddonComponent = /** @class */ (function () {
|
|
@@ -16278,7 +16364,7 @@
|
|
|
16278
16364
|
i0.ɵɵadvance(3);
|
|
16279
16365
|
i0.ɵɵproperty("iconName", ctx.icon.ChevronDown);
|
|
16280
16366
|
i0.ɵɵadvance(3);
|
|
16281
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.
|
|
16367
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.sponsorLogoUrl);
|
|
16282
16368
|
i0.ɵɵadvance(2);
|
|
16283
16369
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(9, 3, ctx.recipe == null ? null : ctx.recipe.attributes["informational-page-html"]), i0.ɵɵsanitizeResourceUrl);
|
|
16284
16370
|
}
|
|
@@ -16816,12 +16902,12 @@
|
|
|
16816
16902
|
var _c0$t = ["topContainerImg"];
|
|
16817
16903
|
function RecipeDetailsComponent_div_0_img_4_Template(rf, ctx) {
|
|
16818
16904
|
if (rf & 1) {
|
|
16819
|
-
i0.ɵɵelement(0, "img",
|
|
16905
|
+
i0.ɵɵelement(0, "img", 38);
|
|
16820
16906
|
}
|
|
16821
16907
|
}
|
|
16822
16908
|
function RecipeDetailsComponent_div_0_ng_template_5_Template(rf, ctx) {
|
|
16823
16909
|
if (rf & 1) {
|
|
16824
|
-
i0.ɵɵelement(0, "img",
|
|
16910
|
+
i0.ɵɵelement(0, "img", 39);
|
|
16825
16911
|
}
|
|
16826
16912
|
}
|
|
16827
16913
|
function RecipeDetailsComponent_div_0_span_8_Template(rf, ctx) {
|
|
@@ -16838,9 +16924,9 @@
|
|
|
16838
16924
|
}
|
|
16839
16925
|
function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template(rf, ctx) {
|
|
16840
16926
|
if (rf & 1) {
|
|
16841
|
-
var
|
|
16842
|
-
i0.ɵɵelementStart(0, "ng-miam-addon-link",
|
|
16843
|
-
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(
|
|
16927
|
+
var _r23_1 = i0.ɵɵgetCurrentView();
|
|
16928
|
+
i0.ɵɵelementStart(0, "ng-miam-addon-link", 40);
|
|
16929
|
+
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r23_1); var ctx_r22 = i0.ɵɵnextContext(2); return ctx_r22.toggleAddon(); });
|
|
16844
16930
|
i0.ɵɵelementEnd();
|
|
16845
16931
|
}
|
|
16846
16932
|
if (rf & 2) {
|
|
@@ -16851,7 +16937,7 @@
|
|
|
16851
16937
|
var _c1$d = function (a0, a1) { return { "sponsor": a0, "tags": a1 }; };
|
|
16852
16938
|
function RecipeDetailsComponent_div_0_img_18_Template(rf, ctx) {
|
|
16853
16939
|
if (rf & 1) {
|
|
16854
|
-
i0.ɵɵelement(0, "img",
|
|
16940
|
+
i0.ɵɵelement(0, "img", 41);
|
|
16855
16941
|
}
|
|
16856
16942
|
if (rf & 2) {
|
|
16857
16943
|
var ctx_r10 = i0.ɵɵnextContext(2);
|
|
@@ -16860,146 +16946,158 @@
|
|
|
16860
16946
|
}
|
|
16861
16947
|
function RecipeDetailsComponent_div_0_youtube_player_19_Template(rf, ctx) {
|
|
16862
16948
|
if (rf & 1) {
|
|
16863
|
-
i0.ɵɵelement(0, "youtube-player",
|
|
16949
|
+
i0.ɵɵelement(0, "youtube-player", 42);
|
|
16864
16950
|
}
|
|
16865
16951
|
if (rf & 2) {
|
|
16866
16952
|
var ctx_r11 = i0.ɵɵnextContext(2);
|
|
16867
16953
|
i0.ɵɵproperty("videoId", ctx_r11.recipe.videoId)("width", ctx_r11.playerWidth)("height", ctx_r11.playerHeight);
|
|
16868
16954
|
}
|
|
16869
16955
|
}
|
|
16870
|
-
function
|
|
16956
|
+
function RecipeDetailsComponent_div_0_div_20_Template(rf, ctx) {
|
|
16871
16957
|
if (rf & 1) {
|
|
16872
|
-
i0.ɵɵ
|
|
16958
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
16959
|
+
i0.ɵɵelement(1, "img", 37);
|
|
16960
|
+
i0.ɵɵelementEnd();
|
|
16873
16961
|
}
|
|
16874
16962
|
if (rf & 2) {
|
|
16875
16963
|
var ctx_r12 = i0.ɵɵnextContext(2);
|
|
16876
|
-
i0.ɵɵ
|
|
16964
|
+
i0.ɵɵadvance(1);
|
|
16965
|
+
i0.ɵɵproperty("src", ctx_r12.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
16877
16966
|
}
|
|
16878
16967
|
}
|
|
16879
|
-
function
|
|
16968
|
+
function RecipeDetailsComponent_div_0_ng_miam_like_button_23_Template(rf, ctx) {
|
|
16880
16969
|
if (rf & 1) {
|
|
16881
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
16970
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 44);
|
|
16882
16971
|
}
|
|
16883
16972
|
if (rf & 2) {
|
|
16884
16973
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
16885
|
-
i0.ɵɵproperty("recipe", ctx_r13.recipe)("
|
|
16974
|
+
i0.ɵɵproperty("recipe", ctx_r13.recipe)("originTrace", ctx_r13.eventTrace())("width", 24)("height", 24);
|
|
16886
16975
|
}
|
|
16887
16976
|
}
|
|
16888
|
-
function
|
|
16977
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_28_Template(rf, ctx) {
|
|
16889
16978
|
if (rf & 1) {
|
|
16890
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-
|
|
16979
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-infos", 45);
|
|
16891
16980
|
}
|
|
16892
16981
|
if (rf & 2) {
|
|
16893
16982
|
var ctx_r14 = i0.ɵɵnextContext(2);
|
|
16894
|
-
i0.ɵɵproperty("recipe", ctx_r14.recipe);
|
|
16983
|
+
i0.ɵɵproperty("recipe", ctx_r14.recipe)("displayTags", ctx_r14.displayTags)("displayTagsIcons", ctx_r14.displayTagsIcons)("reduced", ctx_r14.stepsOnLeftSide);
|
|
16895
16984
|
}
|
|
16896
16985
|
}
|
|
16897
|
-
function
|
|
16986
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_29_Template(rf, ctx) {
|
|
16898
16987
|
if (rf & 1) {
|
|
16899
|
-
i0.ɵɵelement(0, "ng-miam-recipe-
|
|
16988
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-steps", 46);
|
|
16900
16989
|
}
|
|
16901
16990
|
if (rf & 2) {
|
|
16902
16991
|
var ctx_r15 = i0.ɵɵnextContext(2);
|
|
16903
|
-
i0.ɵɵproperty("recipe", ctx_r15.recipe)
|
|
16992
|
+
i0.ɵɵproperty("recipe", ctx_r15.recipe);
|
|
16904
16993
|
}
|
|
16905
16994
|
}
|
|
16906
|
-
function
|
|
16995
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_pricing_32_Template(rf, ctx) {
|
|
16907
16996
|
if (rf & 1) {
|
|
16908
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
16997
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 47);
|
|
16909
16998
|
}
|
|
16910
16999
|
if (rf & 2) {
|
|
16911
|
-
var
|
|
16912
|
-
i0.ɵɵproperty("
|
|
17000
|
+
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
17001
|
+
i0.ɵɵproperty("recipe", ctx_r16.recipe)("serves", ctx_r16.recipe == null ? null : ctx_r16.recipe.modifiedGuests)("guestsText", ctx_r16.pricingGuestsText);
|
|
16913
17002
|
}
|
|
16914
17003
|
}
|
|
16915
|
-
function
|
|
17004
|
+
function RecipeDetailsComponent_div_0_div_33_div_2_ng_miam_icon_4_Template(rf, ctx) {
|
|
16916
17005
|
if (rf & 1) {
|
|
16917
|
-
i0.ɵɵ
|
|
17006
|
+
i0.ɵɵelement(0, "ng-miam-icon", 53);
|
|
17007
|
+
}
|
|
17008
|
+
if (rf & 2) {
|
|
17009
|
+
var ctx_r27 = i0.ɵɵnextContext(4);
|
|
17010
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r27.icon.Cart);
|
|
17011
|
+
}
|
|
17012
|
+
}
|
|
17013
|
+
function RecipeDetailsComponent_div_0_div_33_div_2_Template(rf, ctx) {
|
|
17014
|
+
if (rf & 1) {
|
|
17015
|
+
i0.ɵɵelementStart(0, "div", 51);
|
|
16918
17016
|
i0.ɵɵelementStart(1, "span");
|
|
16919
17017
|
i0.ɵɵtext(2);
|
|
16920
17018
|
i0.ɵɵpipe(3, "async");
|
|
16921
17019
|
i0.ɵɵelementEnd();
|
|
16922
|
-
i0.ɵɵtemplate(4,
|
|
17020
|
+
i0.ɵɵtemplate(4, RecipeDetailsComponent_div_0_div_33_div_2_ng_miam_icon_4_Template, 1, 3, "ng-miam-icon", 52);
|
|
16923
17021
|
i0.ɵɵpipe(5, "async");
|
|
16924
17022
|
i0.ɵɵelementEnd();
|
|
16925
17023
|
}
|
|
16926
17024
|
if (rf & 2) {
|
|
16927
|
-
var
|
|
17025
|
+
var ctx_r24 = i0.ɵɵnextContext(3);
|
|
16928
17026
|
i0.ɵɵadvance(2);
|
|
16929
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
17027
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r24.groceriesListsService.recipeIsInList(ctx_r24.recipe == null ? null : ctx_r24.recipe.id)) ? "Voir les produits" : "Ajouter les ingr\u00E9dients", " ");
|
|
16930
17028
|
i0.ɵɵadvance(2);
|
|
16931
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(5, 4,
|
|
17029
|
+
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(5, 4, ctx_r24.groceriesListsService.recipeIsInList(ctx_r24.recipe == null ? null : ctx_r24.recipe.id)));
|
|
16932
17030
|
}
|
|
16933
17031
|
}
|
|
16934
|
-
function
|
|
17032
|
+
function RecipeDetailsComponent_div_0_div_33_ng_template_3_Template(rf, ctx) {
|
|
16935
17033
|
if (rf & 1) {
|
|
16936
17034
|
i0.ɵɵelement(0, "ng-miam-loader");
|
|
16937
17035
|
}
|
|
16938
17036
|
}
|
|
16939
17037
|
var _c2$4 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
16940
|
-
function
|
|
17038
|
+
function RecipeDetailsComponent_div_0_div_33_Template(rf, ctx) {
|
|
16941
17039
|
if (rf & 1) {
|
|
16942
|
-
var
|
|
16943
|
-
i0.ɵɵelementStart(0, "div",
|
|
16944
|
-
i0.ɵɵlistener("click", function
|
|
17040
|
+
var _r29_1 = i0.ɵɵgetCurrentView();
|
|
17041
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
17042
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_33_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r29_1); var ctx_r28 = i0.ɵɵnextContext(2); return ctx_r28.clickPrimary(); });
|
|
16945
17043
|
i0.ɵɵpipe(1, "async");
|
|
16946
|
-
i0.ɵɵtemplate(2,
|
|
16947
|
-
i0.ɵɵtemplate(3,
|
|
17044
|
+
i0.ɵɵtemplate(2, RecipeDetailsComponent_div_0_div_33_div_2_Template, 6, 6, "div", 49);
|
|
17045
|
+
i0.ɵɵtemplate(3, RecipeDetailsComponent_div_0_div_33_ng_template_3_Template, 1, 0, "ng-template", null, 50, i0.ɵɵtemplateRefExtractor);
|
|
16948
17046
|
i0.ɵɵelementEnd();
|
|
16949
17047
|
}
|
|
16950
17048
|
if (rf & 2) {
|
|
16951
|
-
var
|
|
16952
|
-
var
|
|
16953
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c2$4, i0.ɵɵpipeBind1(1, 3,
|
|
17049
|
+
var _r25 = i0.ɵɵreference(4);
|
|
17050
|
+
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
17051
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c2$4, i0.ɵɵpipeBind1(1, 3, ctx_r17.groceriesListsService.recipeIsInList(ctx_r17.recipe == null ? null : ctx_r17.recipe.id)), ctx_r17.addButtonLoading));
|
|
16954
17052
|
i0.ɵɵadvance(2);
|
|
16955
|
-
i0.ɵɵproperty("ngIf", !
|
|
17053
|
+
i0.ɵɵproperty("ngIf", !ctx_r17.addButtonLoading)("ngIfElse", _r25);
|
|
16956
17054
|
}
|
|
16957
17055
|
}
|
|
16958
|
-
function
|
|
17056
|
+
function RecipeDetailsComponent_div_0_div_36_Template(rf, ctx) {
|
|
16959
17057
|
if (rf & 1) {
|
|
16960
|
-
i0.ɵɵelementStart(0, "div",
|
|
17058
|
+
i0.ɵɵelementStart(0, "div", 54);
|
|
16961
17059
|
i0.ɵɵtext(1);
|
|
16962
17060
|
i0.ɵɵelementEnd();
|
|
16963
17061
|
}
|
|
16964
17062
|
if (rf & 2) {
|
|
16965
|
-
var
|
|
17063
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
16966
17064
|
i0.ɵɵadvance(1);
|
|
16967
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17065
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r18.recipe == null ? null : ctx_r18.recipe.attributes["title"], " ");
|
|
16968
17066
|
}
|
|
16969
17067
|
}
|
|
16970
|
-
function
|
|
17068
|
+
function RecipeDetailsComponent_div_0_div_37_Template(rf, ctx) {
|
|
16971
17069
|
if (rf & 1) {
|
|
16972
|
-
i0.ɵɵelementStart(0, "div",
|
|
17070
|
+
i0.ɵɵelementStart(0, "div", 55);
|
|
16973
17071
|
i0.ɵɵtext(1);
|
|
16974
17072
|
i0.ɵɵelementEnd();
|
|
16975
17073
|
}
|
|
16976
17074
|
if (rf & 2) {
|
|
16977
|
-
var
|
|
17075
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
16978
17076
|
i0.ɵɵadvance(1);
|
|
16979
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17077
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r19.recipe == null ? null : ctx_r19.recipe.attributes.description, " ");
|
|
16980
17078
|
}
|
|
16981
17079
|
}
|
|
16982
|
-
function
|
|
17080
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_38_Template(rf, ctx) {
|
|
16983
17081
|
if (rf & 1) {
|
|
16984
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-infos",
|
|
17082
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-infos", 45);
|
|
16985
17083
|
}
|
|
16986
17084
|
if (rf & 2) {
|
|
16987
|
-
var
|
|
16988
|
-
i0.ɵɵproperty("recipe",
|
|
17085
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
17086
|
+
i0.ɵɵproperty("recipe", ctx_r20.recipe)("displayTags", ctx_r20.displayTags)("displayTagsIcons", ctx_r20.displayTagsIcons)("reduced", ctx_r20.stepsOnLeftSide);
|
|
16989
17087
|
}
|
|
16990
17088
|
}
|
|
16991
|
-
function
|
|
17089
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_40_Template(rf, ctx) {
|
|
16992
17090
|
if (rf & 1) {
|
|
16993
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-steps",
|
|
17091
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-steps", 46);
|
|
16994
17092
|
}
|
|
16995
17093
|
if (rf & 2) {
|
|
16996
|
-
var
|
|
16997
|
-
i0.ɵɵproperty("recipe",
|
|
17094
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
17095
|
+
i0.ɵɵproperty("recipe", ctx_r21.recipe);
|
|
16998
17096
|
}
|
|
16999
17097
|
}
|
|
17000
17098
|
function RecipeDetailsComponent_div_0_Template(rf, ctx) {
|
|
17001
17099
|
if (rf & 1) {
|
|
17002
|
-
var
|
|
17100
|
+
var _r31_1 = i0.ɵɵgetCurrentView();
|
|
17003
17101
|
i0.ɵɵelementStart(0, "div", 2, 3);
|
|
17004
17102
|
i0.ɵɵelementStart(2, "div", 4);
|
|
17005
17103
|
i0.ɵɵelementStart(3, "div", 5);
|
|
@@ -17022,43 +17120,44 @@
|
|
|
17022
17120
|
i0.ɵɵelementStart(16, "div", 16, 17);
|
|
17023
17121
|
i0.ɵɵtemplate(18, RecipeDetailsComponent_div_0_img_18_Template, 1, 5, "img", 18);
|
|
17024
17122
|
i0.ɵɵtemplate(19, RecipeDetailsComponent_div_0_youtube_player_19_Template, 1, 3, "youtube-player", 19);
|
|
17123
|
+
i0.ɵɵtemplate(20, RecipeDetailsComponent_div_0_div_20_Template, 2, 1, "div", 20);
|
|
17025
17124
|
i0.ɵɵelementEnd();
|
|
17026
|
-
i0.ɵɵelementStart(20, "div", 20);
|
|
17027
17125
|
i0.ɵɵelementStart(21, "div", 21);
|
|
17028
|
-
i0.ɵɵ
|
|
17029
|
-
i0.ɵɵ
|
|
17030
|
-
i0.ɵɵ
|
|
17031
|
-
i0.ɵɵ
|
|
17126
|
+
i0.ɵɵelementStart(22, "div", 22);
|
|
17127
|
+
i0.ɵɵtemplate(23, RecipeDetailsComponent_div_0_ng_miam_like_button_23_Template, 1, 4, "ng-miam-like-button", 23);
|
|
17128
|
+
i0.ɵɵpipe(24, "async");
|
|
17129
|
+
i0.ɵɵelementStart(25, "ng-miam-icon", 24);
|
|
17130
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_Template_ng_miam_icon_click_25_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r30 = i0.ɵɵnextContext(); return ctx_r30.print(); });
|
|
17032
17131
|
i0.ɵɵelementEnd();
|
|
17033
17132
|
i0.ɵɵelementEnd();
|
|
17034
|
-
i0.ɵɵelementStart(
|
|
17035
|
-
i0.ɵɵelementStart(
|
|
17036
|
-
i0.ɵɵlistener("click", function
|
|
17133
|
+
i0.ɵɵelementStart(26, "div", 22);
|
|
17134
|
+
i0.ɵɵelementStart(27, "ng-miam-icon", 25);
|
|
17135
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_Template_ng_miam_icon_click_27_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.toggleHelper(); });
|
|
17037
17136
|
i0.ɵɵelementEnd();
|
|
17038
17137
|
i0.ɵɵelementEnd();
|
|
17039
17138
|
i0.ɵɵelementEnd();
|
|
17040
|
-
i0.ɵɵtemplate(
|
|
17041
|
-
i0.ɵɵtemplate(
|
|
17042
|
-
i0.ɵɵelementStart(29, "div", 27);
|
|
17139
|
+
i0.ɵɵtemplate(28, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_28_Template, 1, 4, "ng-miam-recipe-details-infos", 26);
|
|
17140
|
+
i0.ɵɵtemplate(29, RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_29_Template, 1, 1, "ng-miam-recipe-details-steps", 27);
|
|
17043
17141
|
i0.ɵɵelementStart(30, "div", 28);
|
|
17044
|
-
i0.ɵɵ
|
|
17142
|
+
i0.ɵɵelementStart(31, "div", 29);
|
|
17143
|
+
i0.ɵɵtemplate(32, RecipeDetailsComponent_div_0_ng_miam_recipe_pricing_32_Template, 1, 3, "ng-miam-recipe-pricing", 30);
|
|
17045
17144
|
i0.ɵɵelementEnd();
|
|
17046
|
-
i0.ɵɵtemplate(
|
|
17145
|
+
i0.ɵɵtemplate(33, RecipeDetailsComponent_div_0_div_33_Template, 5, 8, "div", 31);
|
|
17047
17146
|
i0.ɵɵelementEnd();
|
|
17048
17147
|
i0.ɵɵelementEnd();
|
|
17049
17148
|
i0.ɵɵelementEnd();
|
|
17050
|
-
i0.ɵɵelementStart(
|
|
17051
|
-
i0.ɵɵelementStart(
|
|
17052
|
-
i0.ɵɵtemplate(35, RecipeDetailsComponent_div_0_div_35_Template, 2, 1, "div", 32);
|
|
17053
|
-
i0.ɵɵelementEnd();
|
|
17149
|
+
i0.ɵɵelementStart(34, "div", 32);
|
|
17150
|
+
i0.ɵɵelementStart(35, "div");
|
|
17054
17151
|
i0.ɵɵtemplate(36, RecipeDetailsComponent_div_0_div_36_Template, 2, 1, "div", 33);
|
|
17055
|
-
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_37_Template, 1, 4, "ng-miam-recipe-details-infos", 25);
|
|
17056
|
-
i0.ɵɵelementStart(38, "ng-miam-recipe-details-ingredients", 34);
|
|
17057
|
-
i0.ɵɵlistener("guestsUpdated", function RecipeDetailsComponent_div_0_Template_ng_miam_recipe_details_ingredients_guestsUpdated_38_listener() { i0.ɵɵrestoreView(_r30_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.updateGuests(); });
|
|
17058
17152
|
i0.ɵɵelementEnd();
|
|
17059
|
-
i0.ɵɵtemplate(
|
|
17060
|
-
i0.ɵɵ
|
|
17061
|
-
i0.ɵɵ
|
|
17153
|
+
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_div_37_Template, 2, 1, "div", 34);
|
|
17154
|
+
i0.ɵɵtemplate(38, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_38_Template, 1, 4, "ng-miam-recipe-details-infos", 26);
|
|
17155
|
+
i0.ɵɵelementStart(39, "ng-miam-recipe-details-ingredients", 35);
|
|
17156
|
+
i0.ɵɵlistener("guestsUpdated", function RecipeDetailsComponent_div_0_Template_ng_miam_recipe_details_ingredients_guestsUpdated_39_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r33 = i0.ɵɵnextContext(); return ctx_r33.updateGuests(); });
|
|
17157
|
+
i0.ɵɵelementEnd();
|
|
17158
|
+
i0.ɵɵtemplate(40, RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_40_Template, 1, 1, "ng-miam-recipe-details-steps", 27);
|
|
17159
|
+
i0.ɵɵelementStart(41, "a", 36);
|
|
17160
|
+
i0.ɵɵelement(42, "img", 37);
|
|
17062
17161
|
i0.ɵɵelementEnd();
|
|
17063
17162
|
i0.ɵɵelementEnd();
|
|
17064
17163
|
i0.ɵɵelementEnd();
|
|
@@ -17079,8 +17178,10 @@
|
|
|
17079
17178
|
i0.ɵɵproperty("ngIf", !ctx_r0.showVideo);
|
|
17080
17179
|
i0.ɵɵadvance(1);
|
|
17081
17180
|
i0.ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
|
|
17181
|
+
i0.ɵɵadvance(1);
|
|
17182
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
17082
17183
|
i0.ɵɵadvance(3);
|
|
17083
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
17184
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(24, 27, ctx_r0.userService.isLogged$));
|
|
17084
17185
|
i0.ɵɵadvance(2);
|
|
17085
17186
|
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r0.icon.Print);
|
|
17086
17187
|
i0.ɵɵadvance(2);
|
|
@@ -17111,9 +17212,9 @@
|
|
|
17111
17212
|
}
|
|
17112
17213
|
function RecipeDetailsComponent_ng_template_1_Template(rf, ctx) {
|
|
17113
17214
|
if (rf & 1) {
|
|
17114
|
-
var
|
|
17115
|
-
i0.ɵɵelementStart(0, "ng-miam-recipe-addon",
|
|
17116
|
-
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(
|
|
17215
|
+
var _r35_1 = i0.ɵɵgetCurrentView();
|
|
17216
|
+
i0.ɵɵelementStart(0, "ng-miam-recipe-addon", 56);
|
|
17217
|
+
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(_r35_1); var ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.toggleAddon(); });
|
|
17117
17218
|
i0.ɵɵelementEnd();
|
|
17118
17219
|
}
|
|
17119
17220
|
if (rf & 2) {
|
|
@@ -17307,16 +17408,16 @@
|
|
|
17307
17408
|
var _t;
|
|
17308
17409
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
|
|
17309
17410
|
}
|
|
17310
|
-
}, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText", recipeAddedToastText: "recipeAddedToastText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__header"], [1, "miam-recipe-details__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg", 4, "ngIf", "ngIfElse"], ["stamp", ""], [1, "miam-recipe-details__title"], [4, "ngIf"], [1, "miam-recipe-details__header__link", 3, "href"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__summary"], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], ["topContainerImg", ""], [3, "src", "ngClass", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], [1, "miam-recipe-details__actionbar"], [1, "miam-recipe-details__actionbar__group"], ["class", "miam-recipe-details__actions__icon like", 3, "recipe", "originTrace", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", "print", 3, "width", "height", "iconName", "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 1, "miam-recipe-details__actions__icon", "help", 3, "width", "height", "iconName", "click"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced", 4, "ngIf"], [3, "recipe", 4, "ngIf"], [1, "miam-recipe-details__action__container"], [1, "miam-recipe-details__price"], [3, "recipe", "serves", "guestsText", 4, "ngIf"], ["class", "miam-recipe-details__addbasket", 3, "ngClass", "click", 4, "ngIf"], ["id", "miam-recipe-details__content", 1, "miam-recipe-details__content"], ["class", "miam-recipe-details__title", "id", "miam-recipe-details__title", 4, "ngIf"], ["class", "miam-recipe-details__content__description", 4, "ngIf"], [3, "recipe", "ingredientsPictures", "guestsUpdated"], [1, "miam-recipe-details__content__image", 3, "href"], [3, "src"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-stamp.svg"], [3, "recipe", "showAddon"], [3, "src", "ngClass"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__actions__icon", "like", 3, "recipe", "originTrace", "width", "height"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced"], [3, "recipe"], [3, "recipe", "serves", "guestsText"], [1, "miam-recipe-details__addbasket", 3, "ngClass", "click"], ["class", "miam-recipe-details__addbasket__cta", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-details__addbasket__cta"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], ["id", "miam-recipe-details__title", 1, "miam-recipe-details__title"], [1, "miam-recipe-details__content__description"], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) {
|
|
17411
|
+
}, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText", recipeAddedToastText: "recipeAddedToastText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__header"], [1, "miam-recipe-details__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg", 4, "ngIf", "ngIfElse"], ["stamp", ""], [1, "miam-recipe-details__title"], [4, "ngIf"], [1, "miam-recipe-details__header__link", 3, "href"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__summary"], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], ["topContainerImg", ""], [3, "src", "ngClass", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], ["class", "miam-recipe-details__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-details__actionbar"], [1, "miam-recipe-details__actionbar__group"], ["class", "miam-recipe-details__actions__icon like", 3, "recipe", "originTrace", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", "print", 3, "width", "height", "iconName", "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 1, "miam-recipe-details__actions__icon", "help", 3, "width", "height", "iconName", "click"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced", 4, "ngIf"], [3, "recipe", 4, "ngIf"], [1, "miam-recipe-details__action__container"], [1, "miam-recipe-details__price"], [3, "recipe", "serves", "guestsText", 4, "ngIf"], ["class", "miam-recipe-details__addbasket", 3, "ngClass", "click", 4, "ngIf"], ["id", "miam-recipe-details__content", 1, "miam-recipe-details__content"], ["class", "miam-recipe-details__title", "id", "miam-recipe-details__title", 4, "ngIf"], ["class", "miam-recipe-details__content__description", 4, "ngIf"], [3, "recipe", "ingredientsPictures", "guestsUpdated"], [1, "miam-recipe-details__content__image", 3, "href"], [3, "src"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-stamp.svg"], [3, "recipe", "showAddon"], [3, "src", "ngClass"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__picture__filigrane"], [1, "miam-recipe-details__actions__icon", "like", 3, "recipe", "originTrace", "width", "height"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced"], [3, "recipe"], [3, "recipe", "serves", "guestsText"], [1, "miam-recipe-details__addbasket", 3, "ngClass", "click"], ["class", "miam-recipe-details__addbasket__cta", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-details__addbasket__cta"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], ["id", "miam-recipe-details__title", 1, "miam-recipe-details__title"], [1, "miam-recipe-details__content__description"], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) {
|
|
17311
17412
|
if (rf & 1) {
|
|
17312
|
-
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template,
|
|
17413
|
+
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 43, 29, "div", 0);
|
|
17313
17414
|
i0.ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
17314
17415
|
}
|
|
17315
17416
|
if (rf & 2) {
|
|
17316
17417
|
var _r1 = i0.ɵɵreference(2);
|
|
17317
17418
|
i0.ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
|
|
17318
17419
|
}
|
|
17319
|
-
}, directives: [i4.NgIf, IconComponent, RecipeDetailsIngredientsComponent, AddonLinkComponent, i4.NgClass, i8.YouTubePlayer, LikeButtonComponent, RecipeDetailsInfosComponent, RecipeDetailsStepsComponent, RecipePricingComponent, LoaderComponent, RecipeAddonComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-details{display:flex;flex-direction:column;height:100vh;width:100%}.miam-recipe-details .miam-recipe-details__title{font-size:32px;font-weight:700;line-height:40px;margin-left:112px;max-width:calc(100% - 352px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miam-recipe-details .miam-recipe-details__header{align-items:center;background-color:var(--m-color-white);box-shadow:0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;justify-content:space-between;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{height:126px;left:20px;position:absolute;top:0;width:72px;z-index:1}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark img{height:100%}}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{cursor:pointer;font-size:14px;line-height:20px;margin-right:64px}.miam-recipe-details .miam-recipe-details__container{display:flex;flex-direction:row;height:calc(100% - 80px);width:100%}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__container{height:calc(100% - 180px)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{border-right:1px solid #e9e9e9;display:flex;margin-bottom:80px;width:60%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container{display:flex;flex-direction:column;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture{height:auto;max-height:48vh;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{max-height:calc(100vh - 396px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor{max-height:calc(100vh - 504px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.tags{max-height:calc(100vh - 476px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:calc(100vh - 584px)}}@media (min-width:1023px) and (max-height:816px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:232px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{background-color:var(--m-color-white);display:flex;filter:drop-shadow(0 8px 28px rgba(0,0,0,.07));flex-direction:row;justify-content:space-between}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group{display:flex;flex-direction:row}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group .miam-recipe-details__actions__icon{-webkit-tap-highlight-color:transparent;align-items:center;cursor:pointer;display:flex;height:40px;justify-content:center;margin:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{background-color:var(--m-color-white);bottom:0;box-shadow:0 -1px 0 #e9e9e9,0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;left:0;position:absolute;right:40%}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:34%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{align-items:center;background-color:var(--m-color-secondary);color:var(--m-color-white);cursor:pointer;display:flex;font-size:19px;font-weight:700;justify-content:center;width:66%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-recipe-details__addbasket__cta{display:flex;flex-direction:row}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket:hover{background-color:var(--m-color-secondary-dark)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{background-color:var(--m-color-white);display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px 24px 0;width:40%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{color:var(--m-color-grey-text-dark);display:flex;flex-direction:column;font-size:16px;line-height:20px;margin-bottom:40px;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content ng-miam-recipe-details-ingredients{margin-bottom:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image,.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image img{width:100%}@media print{.miam-recipe-details{height:unset!important}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header{height:48px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{left:16px;top:4px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{font-size:16px;font-weight:900;line-height:20px;margin-left:64px;max-width:calc(100% - 200px)}}@media print and (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{margin-left:112px}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{display:none}.miam-recipe-details .miam-recipe-details__container{flex-direction:column;overflow-y:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{height:100%;margin-bottom:8px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{filter:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{position:fixed;right:0;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{height:100%;overflow-y:unset;padding:0 24px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:24px;line-height:28px;margin:0;max-width:unset;overflow:hidden;text-overflow:ellipsis;white-space:unset;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{margin:16px 0 0}}"], encapsulation: 2, changeDetection: 0 });
|
|
17420
|
+
}, directives: [i4.NgIf, IconComponent, RecipeDetailsIngredientsComponent, AddonLinkComponent, i4.NgClass, i8.YouTubePlayer, LikeButtonComponent, RecipeDetailsInfosComponent, RecipeDetailsStepsComponent, RecipePricingComponent, LoaderComponent, RecipeAddonComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-details{display:flex;flex-direction:column;height:100vh;width:100%}.miam-recipe-details .miam-recipe-details__title{font-size:32px;font-weight:700;line-height:40px;margin-left:112px;max-width:calc(100% - 352px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miam-recipe-details .miam-recipe-details__header{align-items:center;background-color:var(--m-color-white);box-shadow:0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;justify-content:space-between;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{height:126px;left:20px;position:absolute;top:0;width:72px;z-index:1}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark img{height:100%}}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{cursor:pointer;font-size:14px;line-height:20px;margin-right:64px}.miam-recipe-details .miam-recipe-details__container{display:flex;flex-direction:row;height:calc(100% - 80px);width:100%}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__container{height:calc(100% - 180px)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{border-right:1px solid #e9e9e9;display:flex;margin-bottom:80px;width:60%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container{display:flex;flex-direction:column;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture{height:auto;max-height:48vh;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{max-height:calc(100vh - 396px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor{max-height:calc(100vh - 504px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.tags{max-height:calc(100vh - 476px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:calc(100vh - 584px)}}@media (min-width:1023px) and (max-height:816px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:232px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture .miam-recipe-details__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:64px;justify-content:flex-end;order:2;position:absolute;right:16px;width:124px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture .miam-recipe-details__picture__filigrane img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{background-color:var(--m-color-white);display:flex;filter:drop-shadow(0 8px 28px rgba(0,0,0,.07));flex-direction:row;justify-content:space-between}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group{display:flex;flex-direction:row}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group .miam-recipe-details__actions__icon{-webkit-tap-highlight-color:transparent;align-items:center;cursor:pointer;display:flex;height:40px;justify-content:center;margin:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{background-color:var(--m-color-white);bottom:0;box-shadow:0 -1px 0 #e9e9e9,0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;left:0;position:absolute;right:40%}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:34%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{align-items:center;background-color:var(--m-color-secondary);color:var(--m-color-white);cursor:pointer;display:flex;font-size:19px;font-weight:700;justify-content:center;width:66%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-recipe-details__addbasket__cta{display:flex;flex-direction:row}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket:hover{background-color:var(--m-color-secondary-dark)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{background-color:var(--m-color-white);display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px 24px 0;width:40%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{color:var(--m-color-grey-text-dark);display:flex;flex-direction:column;font-size:16px;line-height:20px;margin-bottom:40px;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content ng-miam-recipe-details-ingredients{margin-bottom:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image,.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image img{width:100%}@media print{.miam-recipe-details{height:unset!important}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header{height:48px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{left:16px;top:4px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{font-size:16px;font-weight:900;line-height:20px;margin-left:64px;max-width:calc(100% - 200px)}}@media print and (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{margin-left:112px}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{display:none}.miam-recipe-details .miam-recipe-details__container{flex-direction:column;overflow-y:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{height:100%;margin-bottom:8px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{filter:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{position:fixed;right:0;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{height:100%;overflow-y:unset;padding:0 24px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:24px;line-height:28px;margin:0;max-width:unset;overflow:hidden;text-overflow:ellipsis;white-space:unset;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{margin:16px 0 0}}"], encapsulation: 2, changeDetection: 0 });
|
|
17320
17421
|
/*@__PURE__*/ (function () {
|
|
17321
17422
|
i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
|
|
17322
17423
|
type: i0.Component,
|