ng-miam 4.6.12 → 4.6.14
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 +303 -239
- 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/addon-link/addon-link.component.js +3 -3
- package/esm2015/lib/_models/recipe.js +6 -3
- package/esm2015/lib/_services/point-of-sales.service.js +6 -2
- package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +8 -3
- 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 +95 -83
- package/esm2015/lib/_web-components/recipe-card/recipe-card.component.js +76 -61
- 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 +291 -240
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_models/recipe.d.ts +3 -2
- package/lib/_services/point-of-sales.service.d.ts +1 -0
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -1154,13 +1154,17 @@
|
|
|
1154
1154
|
_this.resource = PointOfSale;
|
|
1155
1155
|
_this.type = 'point-of-sales';
|
|
1156
1156
|
_this.pos$ = new rxjs.BehaviorSubject(null);
|
|
1157
|
+
_this.posHasBeenFetched = false;
|
|
1157
1158
|
_this.register();
|
|
1158
1159
|
return _this;
|
|
1159
1160
|
}
|
|
1160
1161
|
PointOfSalesService.prototype.loadPos = function (posId) {
|
|
1161
1162
|
var _this = this;
|
|
1162
1163
|
if (!this.pos$.value || this.pos$.value.id !== posId) {
|
|
1163
|
-
this.get(posId, { include: ['supplier'] }).pipe(operators.skipWhile(function (pos) { return pos.is_loading; }), operators.tap(function (pos) {
|
|
1164
|
+
this.get(posId, { include: ['supplier'] }).pipe(operators.skipWhile(function (pos) { return pos.is_loading; }), operators.tap(function (pos) {
|
|
1165
|
+
_this.pos$.next(pos);
|
|
1166
|
+
_this.posHasBeenFetched = true;
|
|
1167
|
+
})).subscribe();
|
|
1164
1168
|
}
|
|
1165
1169
|
return this.pos$;
|
|
1166
1170
|
};
|
|
@@ -2169,6 +2173,13 @@
|
|
|
2169
2173
|
if (this.attributes['filigrane-logo-url']) {
|
|
2170
2174
|
return this.attributes['filigrane-logo-url'];
|
|
2171
2175
|
}
|
|
2176
|
+
return null;
|
|
2177
|
+
},
|
|
2178
|
+
enumerable: false,
|
|
2179
|
+
configurable: true
|
|
2180
|
+
});
|
|
2181
|
+
Object.defineProperty(Recipe.prototype, "sponsorLogoUrl", {
|
|
2182
|
+
get: function () {
|
|
2172
2183
|
if (this.sponsors.length > 0) {
|
|
2173
2184
|
return this.sponsors[0].attributes['logo-url'];
|
|
2174
2185
|
}
|
|
@@ -2250,7 +2261,7 @@
|
|
|
2250
2261
|
configurable: true
|
|
2251
2262
|
});
|
|
2252
2263
|
Object.defineProperty(Recipe.prototype, "ingredients", {
|
|
2253
|
-
// Returns ingredients, putting the sponsored ones first
|
|
2264
|
+
// Returns ingredients, putting the sponsored ones first
|
|
2254
2265
|
get: function () {
|
|
2255
2266
|
return this.relationships.ingredients.data
|
|
2256
2267
|
.filter(function (i) { return i.attributes.active; })
|
|
@@ -8510,7 +8521,7 @@
|
|
|
8510
8521
|
if (rf & 2) {
|
|
8511
8522
|
var ctx_r4 = i0.ɵɵnextContext();
|
|
8512
8523
|
i0.ɵɵadvance(1);
|
|
8513
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.
|
|
8524
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
8514
8525
|
}
|
|
8515
8526
|
}
|
|
8516
8527
|
var AddonLinkComponent = /** @class */ (function () {
|
|
@@ -8538,7 +8549,7 @@
|
|
|
8538
8549
|
i0.ɵɵadvance(3);
|
|
8539
8550
|
i0.ɵɵproperty("ngIf", ctx.recipe.attributes["informational-page-html"]);
|
|
8540
8551
|
i0.ɵɵadvance(1);
|
|
8541
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.
|
|
8552
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.sponsorLogoUrl);
|
|
8542
8553
|
}
|
|
8543
8554
|
}, 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}"] });
|
|
8544
8555
|
/*@__PURE__*/ (function () {
|
|
@@ -10586,13 +10597,18 @@
|
|
|
10586
10597
|
}),
|
|
10587
10598
|
this.blockStates.subscribe(function (newState) { return _this.handelblockState(newState); }),
|
|
10588
10599
|
this.listsService.takeFirstList().pipe(operators.switchMap(function (list) {
|
|
10589
|
-
return _this.basketsService.basketPreview$.pipe(
|
|
10600
|
+
return _this.basketsService.basketPreview$.pipe(
|
|
10601
|
+
// skipWhile(preview => !preview || preview.length === 0 || preview.length !== list.recipeInfos.length),
|
|
10602
|
+
operators.skipWhile(function (preview) { return !preview || preview.length !== list.recipeInfos.length; }), operators.tap(function (preview) { return _this.refreshPreview(preview.reverse()); }));
|
|
10590
10603
|
})).subscribe(function () {
|
|
10591
10604
|
_this.loading.next(false);
|
|
10592
10605
|
_this.cdr.detectChanges();
|
|
10593
10606
|
}),
|
|
10594
10607
|
this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe(),
|
|
10595
|
-
this.posService.isPosValid().subscribe(function () {
|
|
10608
|
+
this.posService.isPosValid().subscribe(function (isValid) {
|
|
10609
|
+
if (!isValid && _this.posService.posHasBeenFetched) {
|
|
10610
|
+
_this.loading.next(false);
|
|
10611
|
+
}
|
|
10596
10612
|
_this.cdr.detectChanges();
|
|
10597
10613
|
})
|
|
10598
10614
|
];
|
|
@@ -10893,7 +10909,7 @@
|
|
|
10893
10909
|
i0.ɵɵadvance(3);
|
|
10894
10910
|
i0.ɵɵproperty("href", ctx.article.url, i0.ɵɵsanitizeUrl);
|
|
10895
10911
|
}
|
|
10896
|
-
}, 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 });
|
|
10912
|
+
}, 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 });
|
|
10897
10913
|
/*@__PURE__*/ (function () {
|
|
10898
10914
|
i0.ɵsetClassMetadata(CatalogArticleCardComponent, [{
|
|
10899
10915
|
type: i0.Component,
|
|
@@ -11095,8 +11111,8 @@
|
|
|
11095
11111
|
|
|
11096
11112
|
function RecipeCardComponent_div_0_div_3_div_2_Template(rf, ctx) {
|
|
11097
11113
|
if (rf & 1) {
|
|
11098
|
-
i0.ɵɵelementStart(0, "div",
|
|
11099
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11114
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
11115
|
+
i0.ɵɵelement(1, "ng-miam-icon", 38);
|
|
11100
11116
|
i0.ɵɵelementEnd();
|
|
11101
11117
|
}
|
|
11102
11118
|
if (rf & 2) {
|
|
@@ -11107,34 +11123,50 @@
|
|
|
11107
11123
|
}
|
|
11108
11124
|
function RecipeCardComponent_div_0_div_3_ng_miam_like_button_4_Template(rf, ctx) {
|
|
11109
11125
|
if (rf & 1) {
|
|
11110
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11126
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 39);
|
|
11111
11127
|
}
|
|
11112
11128
|
if (rf & 2) {
|
|
11113
11129
|
var ctx_r26 = i0.ɵɵnextContext(3);
|
|
11114
11130
|
i0.ɵɵproperty("recipe", ctx_r26.recipe)("originTrace", ctx_r26.eventTrace());
|
|
11115
11131
|
}
|
|
11116
11132
|
}
|
|
11117
|
-
function
|
|
11133
|
+
function RecipeCardComponent_div_0_div_3_div_6_Template(rf, ctx) {
|
|
11118
11134
|
if (rf & 1) {
|
|
11119
|
-
i0.ɵɵ
|
|
11135
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
11136
|
+
i0.ɵɵelement(1, "img", 41);
|
|
11137
|
+
i0.ɵɵelementEnd();
|
|
11120
11138
|
}
|
|
11121
11139
|
if (rf & 2) {
|
|
11122
11140
|
var ctx_r27 = i0.ɵɵnextContext(3);
|
|
11123
|
-
i0.ɵɵ
|
|
11141
|
+
i0.ɵɵadvance(1);
|
|
11142
|
+
i0.ɵɵproperty("src", ctx_r27.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11143
|
+
}
|
|
11144
|
+
}
|
|
11145
|
+
function RecipeCardComponent_div_0_div_3_div_7_Template(rf, ctx) {
|
|
11146
|
+
if (rf & 1) {
|
|
11147
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11148
|
+
i0.ɵɵelement(1, "img", 41);
|
|
11149
|
+
i0.ɵɵelementEnd();
|
|
11150
|
+
}
|
|
11151
|
+
if (rf & 2) {
|
|
11152
|
+
var ctx_r28 = i0.ɵɵnextContext(3);
|
|
11153
|
+
i0.ɵɵadvance(1);
|
|
11154
|
+
i0.ɵɵproperty("src", ctx_r28.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11124
11155
|
}
|
|
11125
11156
|
}
|
|
11126
11157
|
function RecipeCardComponent_div_0_div_3_Template(rf, ctx) {
|
|
11127
11158
|
if (rf & 1) {
|
|
11128
|
-
var
|
|
11159
|
+
var _r30_1 = i0.ɵɵgetCurrentView();
|
|
11129
11160
|
i0.ɵɵelementStart(0, "div", 30);
|
|
11130
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11161
|
+
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(); });
|
|
11131
11162
|
i0.ɵɵelement(1, "img", 31);
|
|
11132
11163
|
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_3_div_2_Template, 2, 3, "div", 32);
|
|
11133
11164
|
i0.ɵɵelementStart(3, "div", 33);
|
|
11134
11165
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_3_ng_miam_like_button_4_Template, 1, 2, "ng-miam-like-button", 34);
|
|
11135
11166
|
i0.ɵɵpipe(5, "async");
|
|
11136
11167
|
i0.ɵɵelementEnd();
|
|
11137
|
-
i0.ɵɵtemplate(6,
|
|
11168
|
+
i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_3_div_6_Template, 2, 1, "div", 35);
|
|
11169
|
+
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_3_div_7_Template, 2, 1, "div", 36);
|
|
11138
11170
|
i0.ɵɵelementEnd();
|
|
11139
11171
|
}
|
|
11140
11172
|
if (rf & 2) {
|
|
@@ -11144,14 +11176,16 @@
|
|
|
11144
11176
|
i0.ɵɵadvance(1);
|
|
11145
11177
|
i0.ɵɵproperty("ngIf", ctx_r3.contextService.videoRecipesEnabled && (ctx_r3.recipe == null ? null : ctx_r3.recipe.videoId));
|
|
11146
11178
|
i0.ɵɵadvance(2);
|
|
11147
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5,
|
|
11179
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 5, ctx_r3.userService.isLogged$));
|
|
11148
11180
|
i0.ɵɵadvance(2);
|
|
11181
|
+
i0.ɵɵproperty("ngIf", ctx_r3.recipe.sponsorLogoUrl);
|
|
11182
|
+
i0.ɵɵadvance(1);
|
|
11149
11183
|
i0.ɵɵproperty("ngIf", ctx_r3.recipe.filigraneLogoUrl);
|
|
11150
11184
|
}
|
|
11151
11185
|
}
|
|
11152
11186
|
function RecipeCardComponent_div_0_ng_template_4_Template(rf, ctx) {
|
|
11153
11187
|
if (rf & 1) {
|
|
11154
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11188
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11155
11189
|
}
|
|
11156
11190
|
if (rf & 2) {
|
|
11157
11191
|
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
@@ -11160,10 +11194,10 @@
|
|
|
11160
11194
|
}
|
|
11161
11195
|
function RecipeCardComponent_div_0_div_7_Template(rf, ctx) {
|
|
11162
11196
|
if (rf & 1) {
|
|
11163
|
-
var
|
|
11197
|
+
var _r32_1 = i0.ɵɵgetCurrentView();
|
|
11164
11198
|
i0.ɵɵelementStart(0, "div");
|
|
11165
|
-
i0.ɵɵelementStart(1, "div",
|
|
11166
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(
|
|
11199
|
+
i0.ɵɵelementStart(1, "div", 44);
|
|
11200
|
+
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(); });
|
|
11167
11201
|
i0.ɵɵtext(2);
|
|
11168
11202
|
i0.ɵɵelementEnd();
|
|
11169
11203
|
i0.ɵɵelementEnd();
|
|
@@ -11176,7 +11210,7 @@
|
|
|
11176
11210
|
}
|
|
11177
11211
|
function RecipeCardComponent_div_0_ng_template_8_Template(rf, ctx) {
|
|
11178
11212
|
if (rf & 1) {
|
|
11179
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11213
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11180
11214
|
}
|
|
11181
11215
|
if (rf & 2) {
|
|
11182
11216
|
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
@@ -11185,9 +11219,9 @@
|
|
|
11185
11219
|
}
|
|
11186
11220
|
function RecipeCardComponent_div_0_div_11_Template(rf, ctx) {
|
|
11187
11221
|
if (rf & 1) {
|
|
11188
|
-
i0.ɵɵelementStart(0, "div",
|
|
11189
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11190
|
-
i0.ɵɵelementStart(2, "span",
|
|
11222
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
11223
|
+
i0.ɵɵelement(1, "ng-miam-icon", 46);
|
|
11224
|
+
i0.ɵɵelementStart(2, "span", 47);
|
|
11191
11225
|
i0.ɵɵtext(3);
|
|
11192
11226
|
i0.ɵɵelementEnd();
|
|
11193
11227
|
i0.ɵɵelementEnd();
|
|
@@ -11203,49 +11237,49 @@
|
|
|
11203
11237
|
function RecipeCardComponent_div_0_div_12_ng_container_2_Template(rf, ctx) {
|
|
11204
11238
|
if (rf & 1) {
|
|
11205
11239
|
i0.ɵɵelementContainerStart(0);
|
|
11206
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11240
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11207
11241
|
i0.ɵɵelementContainerEnd();
|
|
11208
11242
|
}
|
|
11209
11243
|
if (rf & 2) {
|
|
11210
|
-
var
|
|
11244
|
+
var ctx_r33 = i0.ɵɵnextContext(3);
|
|
11211
11245
|
i0.ɵɵadvance(1);
|
|
11212
|
-
i0.ɵɵproperty("width", 44)("height", 20)("iconName",
|
|
11246
|
+
i0.ɵɵproperty("width", 44)("height", 20)("iconName", ctx_r33.icon.DifficultyMedium);
|
|
11213
11247
|
}
|
|
11214
11248
|
}
|
|
11215
11249
|
function RecipeCardComponent_div_0_div_12_ng_container_3_Template(rf, ctx) {
|
|
11216
11250
|
if (rf & 1) {
|
|
11217
11251
|
i0.ɵɵelementContainerStart(0);
|
|
11218
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11252
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11219
11253
|
i0.ɵɵelementContainerEnd();
|
|
11220
11254
|
}
|
|
11221
11255
|
if (rf & 2) {
|
|
11222
|
-
var
|
|
11256
|
+
var ctx_r34 = i0.ɵɵnextContext(3);
|
|
11223
11257
|
i0.ɵɵadvance(1);
|
|
11224
|
-
i0.ɵɵproperty("width", 67)("height", 20)("iconName",
|
|
11258
|
+
i0.ɵɵproperty("width", 67)("height", 20)("iconName", ctx_r34.icon.DifficultyHigh);
|
|
11225
11259
|
}
|
|
11226
11260
|
}
|
|
11227
11261
|
function RecipeCardComponent_div_0_div_12_ng_container_4_Template(rf, ctx) {
|
|
11228
11262
|
if (rf & 1) {
|
|
11229
11263
|
i0.ɵɵelementContainerStart(0);
|
|
11230
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11264
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11231
11265
|
i0.ɵɵelementContainerEnd();
|
|
11232
11266
|
}
|
|
11233
11267
|
if (rf & 2) {
|
|
11234
|
-
var
|
|
11268
|
+
var ctx_r35 = i0.ɵɵnextContext(3);
|
|
11235
11269
|
i0.ɵɵadvance(1);
|
|
11236
|
-
i0.ɵɵproperty("width", 20)("height", 20)("iconName",
|
|
11270
|
+
i0.ɵɵproperty("width", 20)("height", 20)("iconName", ctx_r35.icon.DifficultyLow);
|
|
11237
11271
|
}
|
|
11238
11272
|
}
|
|
11239
11273
|
var _c0$e = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11240
11274
|
function RecipeCardComponent_div_0_div_12_Template(rf, ctx) {
|
|
11241
11275
|
if (rf & 1) {
|
|
11242
|
-
i0.ɵɵelementStart(0, "div",
|
|
11243
|
-
i0.ɵɵelementContainerStart(1,
|
|
11244
|
-
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_2_Template, 2, 3, "ng-container",
|
|
11245
|
-
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_12_ng_container_3_Template, 2, 3, "ng-container",
|
|
11246
|
-
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container",
|
|
11276
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
11277
|
+
i0.ɵɵelementContainerStart(1, 49);
|
|
11278
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_2_Template, 2, 3, "ng-container", 50);
|
|
11279
|
+
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_12_ng_container_3_Template, 2, 3, "ng-container", 50);
|
|
11280
|
+
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 51);
|
|
11247
11281
|
i0.ɵɵelementContainerEnd();
|
|
11248
|
-
i0.ɵɵelementStart(5, "span",
|
|
11282
|
+
i0.ɵɵelementStart(5, "span", 47);
|
|
11249
11283
|
i0.ɵɵtext(6);
|
|
11250
11284
|
i0.ɵɵelementEnd();
|
|
11251
11285
|
i0.ɵɵelementEnd();
|
|
@@ -11265,9 +11299,9 @@
|
|
|
11265
11299
|
}
|
|
11266
11300
|
function RecipeCardComponent_div_0_div_13_Template(rf, ctx) {
|
|
11267
11301
|
if (rf & 1) {
|
|
11268
|
-
i0.ɵɵelementStart(0, "div",
|
|
11269
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11270
|
-
i0.ɵɵelementStart(2, "span",
|
|
11302
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
11303
|
+
i0.ɵɵelement(1, "ng-miam-icon", 54);
|
|
11304
|
+
i0.ɵɵelementStart(2, "span", 47);
|
|
11271
11305
|
i0.ɵɵtext(3);
|
|
11272
11306
|
i0.ɵɵelementEnd();
|
|
11273
11307
|
i0.ɵɵelementEnd();
|
|
@@ -11282,7 +11316,7 @@
|
|
|
11282
11316
|
}
|
|
11283
11317
|
function RecipeCardComponent_div_0_ng_template_14_Template(rf, ctx) {
|
|
11284
11318
|
if (rf & 1) {
|
|
11285
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11319
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11286
11320
|
}
|
|
11287
11321
|
if (rf & 2) {
|
|
11288
11322
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
@@ -11291,26 +11325,26 @@
|
|
|
11291
11325
|
}
|
|
11292
11326
|
function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) {
|
|
11293
11327
|
if (rf & 1) {
|
|
11294
|
-
i0.ɵɵelementStart(0, "div",
|
|
11328
|
+
i0.ɵɵelementStart(0, "div", 58);
|
|
11295
11329
|
i0.ɵɵtext(1);
|
|
11296
11330
|
i0.ɵɵelementEnd();
|
|
11297
11331
|
}
|
|
11298
11332
|
if (rf & 2) {
|
|
11299
|
-
var
|
|
11333
|
+
var ctx_r36 = i0.ɵɵnextContext(3);
|
|
11300
11334
|
i0.ɵɵadvance(1);
|
|
11301
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11335
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r36.recipe.modifiedIngredients.length - 2, " ");
|
|
11302
11336
|
}
|
|
11303
11337
|
}
|
|
11304
11338
|
function RecipeCardComponent_div_0_div_21_Template(rf, ctx) {
|
|
11305
11339
|
if (rf & 1) {
|
|
11306
|
-
i0.ɵɵelementStart(0, "div",
|
|
11307
|
-
i0.ɵɵelementStart(1, "div",
|
|
11308
|
-
i0.ɵɵelement(2, "img",
|
|
11340
|
+
i0.ɵɵelementStart(0, "div", 55);
|
|
11341
|
+
i0.ɵɵelementStart(1, "div", 56);
|
|
11342
|
+
i0.ɵɵelement(2, "img", 41);
|
|
11309
11343
|
i0.ɵɵelementEnd();
|
|
11310
|
-
i0.ɵɵelementStart(3, "div",
|
|
11311
|
-
i0.ɵɵelement(4, "img",
|
|
11344
|
+
i0.ɵɵelementStart(3, "div", 56);
|
|
11345
|
+
i0.ɵɵelement(4, "img", 41);
|
|
11312
11346
|
i0.ɵɵelementEnd();
|
|
11313
|
-
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div",
|
|
11347
|
+
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 57);
|
|
11314
11348
|
i0.ɵɵelementEnd();
|
|
11315
11349
|
}
|
|
11316
11350
|
if (rf & 2) {
|
|
@@ -11325,10 +11359,10 @@
|
|
|
11325
11359
|
}
|
|
11326
11360
|
function RecipeCardComponent_div_0_div_22_Template(rf, ctx) {
|
|
11327
11361
|
if (rf & 1) {
|
|
11328
|
-
var
|
|
11329
|
-
i0.ɵɵelementStart(0, "div",
|
|
11330
|
-
i0.ɵɵelementStart(1, "ng-miam-counter-input",
|
|
11331
|
-
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
11362
|
+
var _r38_1 = i0.ɵɵgetCurrentView();
|
|
11363
|
+
i0.ɵɵelementStart(0, "div", 59);
|
|
11364
|
+
i0.ɵɵelementStart(1, "ng-miam-counter-input", 60);
|
|
11365
|
+
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); });
|
|
11332
11366
|
i0.ɵɵelementEnd();
|
|
11333
11367
|
i0.ɵɵelementEnd();
|
|
11334
11368
|
}
|
|
@@ -11340,7 +11374,7 @@
|
|
|
11340
11374
|
}
|
|
11341
11375
|
function RecipeCardComponent_div_0_ng_template_23_Template(rf, ctx) {
|
|
11342
11376
|
if (rf & 1) {
|
|
11343
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11377
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11344
11378
|
}
|
|
11345
11379
|
if (rf & 2) {
|
|
11346
11380
|
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
@@ -11349,8 +11383,8 @@
|
|
|
11349
11383
|
}
|
|
11350
11384
|
function RecipeCardComponent_div_0_div_26_Template(rf, ctx) {
|
|
11351
11385
|
if (rf & 1) {
|
|
11352
|
-
i0.ɵɵelementStart(0, "div",
|
|
11353
|
-
i0.ɵɵelement(1, "ng-miam-recipe-pricing",
|
|
11386
|
+
i0.ɵɵelementStart(0, "div", 61);
|
|
11387
|
+
i0.ɵɵelement(1, "ng-miam-recipe-pricing", 62);
|
|
11354
11388
|
i0.ɵɵelementEnd();
|
|
11355
11389
|
}
|
|
11356
11390
|
if (rf & 2) {
|
|
@@ -11387,7 +11421,7 @@
|
|
|
11387
11421
|
}
|
|
11388
11422
|
function RecipeCardComponent_div_0_ng_miam_icon_33_Template(rf, ctx) {
|
|
11389
11423
|
if (rf & 1) {
|
|
11390
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
11424
|
+
i0.ɵɵelement(0, "ng-miam-icon", 63);
|
|
11391
11425
|
i0.ɵɵpipe(1, "async");
|
|
11392
11426
|
}
|
|
11393
11427
|
if (rf & 2) {
|
|
@@ -11403,12 +11437,12 @@
|
|
|
11403
11437
|
var _c1$5 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
11404
11438
|
function RecipeCardComponent_div_0_Template(rf, ctx) {
|
|
11405
11439
|
if (rf & 1) {
|
|
11406
|
-
var
|
|
11440
|
+
var _r40_1 = i0.ɵɵgetCurrentView();
|
|
11407
11441
|
i0.ɵɵelementStart(0, "div", 2);
|
|
11408
11442
|
i0.ɵɵelementStart(1, "div", 3);
|
|
11409
11443
|
i0.ɵɵelement(2, "img", 4);
|
|
11410
11444
|
i0.ɵɵelementEnd();
|
|
11411
|
-
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_3_Template,
|
|
11445
|
+
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_3_Template, 8, 7, "div", 5);
|
|
11412
11446
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_ng_template_4_Template, 1, 1, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
11413
11447
|
i0.ɵɵelementStart(6, "div", 7);
|
|
11414
11448
|
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_7_Template, 3, 1, "div", 8);
|
|
@@ -11423,7 +11457,7 @@
|
|
|
11423
11457
|
i0.ɵɵelementStart(17, "div", 16);
|
|
11424
11458
|
i0.ɵɵelementStart(18, "div", 17);
|
|
11425
11459
|
i0.ɵɵelementStart(19, "div", 18);
|
|
11426
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(
|
|
11460
|
+
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(); });
|
|
11427
11461
|
i0.ɵɵelement(20, "ng-miam-icon", 19);
|
|
11428
11462
|
i0.ɵɵelementEnd();
|
|
11429
11463
|
i0.ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
|
|
@@ -11437,7 +11471,7 @@
|
|
|
11437
11471
|
i0.ɵɵelementEnd();
|
|
11438
11472
|
i0.ɵɵelementStart(27, "div", 25);
|
|
11439
11473
|
i0.ɵɵelementStart(28, "button", 26);
|
|
11440
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(
|
|
11474
|
+
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(); });
|
|
11441
11475
|
i0.ɵɵpipe(29, "async");
|
|
11442
11476
|
i0.ɵɵtemplate(30, RecipeCardComponent_div_0_span_30_Template, 3, 3, "span", 8);
|
|
11443
11477
|
i0.ɵɵtemplate(31, RecipeCardComponent_div_0_ng_template_31_Template, 3, 3, "ng-template", null, 27, i0.ɵɵtemplateRefExtractor);
|
|
@@ -11604,7 +11638,7 @@
|
|
|
11604
11638
|
return RecipeCardComponent;
|
|
11605
11639
|
}(AbstractRecipeCardComponent));
|
|
11606
11640
|
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)); };
|
|
11607
|
-
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",
|
|
11641
|
+
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) {
|
|
11608
11642
|
if (rf & 1) {
|
|
11609
11643
|
i0.ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 36, 28, "div", 0);
|
|
11610
11644
|
i0.ɵɵtemplate(1, RecipeCardComponent_ng_template_1_Template, 1, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -11612,7 +11646,7 @@
|
|
|
11612
11646
|
if (rf & 2) {
|
|
11613
11647
|
i0.ɵɵproperty("ngIf", ctx.isloaded);
|
|
11614
11648
|
}
|
|
11615
|
-
}, 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;
|
|
11649
|
+
}, 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 });
|
|
11616
11650
|
/*@__PURE__*/ (function () {
|
|
11617
11651
|
i0.ɵsetClassMetadata(RecipeCardComponent, [{
|
|
11618
11652
|
type: i0.Component,
|
|
@@ -11662,127 +11696,142 @@
|
|
|
11662
11696
|
var _c0$f = ["miamMoreActions"];
|
|
11663
11697
|
function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) {
|
|
11664
11698
|
if (rf & 1) {
|
|
11665
|
-
i0.ɵɵelementStart(0, "div");
|
|
11666
|
-
i0.ɵɵelement(1, "img",
|
|
11699
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
11700
|
+
i0.ɵɵelement(1, "img", 33);
|
|
11667
11701
|
i0.ɵɵelementEnd();
|
|
11668
11702
|
}
|
|
11669
11703
|
if (rf & 2) {
|
|
11670
11704
|
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
11671
11705
|
i0.ɵɵadvance(1);
|
|
11672
|
-
i0.ɵɵproperty("src", ctx_r18.recipe.
|
|
11706
|
+
i0.ɵɵproperty("src", ctx_r18.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11673
11707
|
}
|
|
11674
11708
|
}
|
|
11675
11709
|
function CatalogRecipeCardComponent_div_4_div_4_Template(rf, ctx) {
|
|
11676
11710
|
if (rf & 1) {
|
|
11677
|
-
i0.ɵɵelementStart(0, "div",
|
|
11678
|
-
i0.ɵɵelement(1, "
|
|
11711
|
+
i0.ɵɵelementStart(0, "div", 34);
|
|
11712
|
+
i0.ɵɵelement(1, "img", 33);
|
|
11679
11713
|
i0.ɵɵelementEnd();
|
|
11680
11714
|
}
|
|
11681
11715
|
if (rf & 2) {
|
|
11682
11716
|
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
11683
11717
|
i0.ɵɵadvance(1);
|
|
11684
|
-
i0.ɵɵproperty("
|
|
11718
|
+
i0.ɵɵproperty("src", ctx_r19.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11685
11719
|
}
|
|
11686
11720
|
}
|
|
11687
|
-
function
|
|
11721
|
+
function CatalogRecipeCardComponent_div_4_div_5_Template(rf, ctx) {
|
|
11688
11722
|
if (rf & 1) {
|
|
11689
|
-
i0.ɵɵelementStart(0, "div",
|
|
11723
|
+
i0.ɵɵelementStart(0, "div", 35);
|
|
11724
|
+
i0.ɵɵelement(1, "ng-miam-icon", 36);
|
|
11725
|
+
i0.ɵɵelementEnd();
|
|
11726
|
+
}
|
|
11727
|
+
if (rf & 2) {
|
|
11728
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
11729
|
+
i0.ɵɵadvance(1);
|
|
11730
|
+
i0.ɵɵproperty("iconName", ctx_r20.icon.Video)("width", 80)("height", 80);
|
|
11731
|
+
}
|
|
11732
|
+
}
|
|
11733
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template(rf, ctx) {
|
|
11734
|
+
if (rf & 1) {
|
|
11735
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
11690
11736
|
i0.ɵɵtext(1, " D\u00E9j\u00E0 ajout\u00E9e ");
|
|
11691
11737
|
i0.ɵɵelementEnd();
|
|
11692
11738
|
}
|
|
11693
11739
|
}
|
|
11694
|
-
function
|
|
11740
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_Template(rf, ctx) {
|
|
11695
11741
|
if (rf & 1) {
|
|
11696
11742
|
i0.ɵɵelementContainerStart(0);
|
|
11697
|
-
i0.ɵɵtemplate(1,
|
|
11743
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div", 37);
|
|
11698
11744
|
i0.ɵɵpipe(2, "async");
|
|
11699
11745
|
i0.ɵɵelementContainerEnd();
|
|
11700
11746
|
}
|
|
11701
11747
|
if (rf & 2) {
|
|
11702
|
-
var
|
|
11748
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
11703
11749
|
i0.ɵɵadvance(1);
|
|
11704
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1,
|
|
11750
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r21.groceriesListsService.recipeIsInList(ctx_r21.recipe == null ? null : ctx_r21.recipe.id)));
|
|
11705
11751
|
}
|
|
11706
11752
|
}
|
|
11707
|
-
function
|
|
11753
|
+
function CatalogRecipeCardComponent_div_4_ng_container_7_Template(rf, ctx) {
|
|
11708
11754
|
if (rf & 1) {
|
|
11709
|
-
var
|
|
11755
|
+
var _r29_1 = i0.ɵɵgetCurrentView();
|
|
11710
11756
|
i0.ɵɵelementContainerStart(0);
|
|
11711
|
-
i0.ɵɵelementStart(1, "div",
|
|
11712
|
-
i0.ɵɵlistener("click", function
|
|
11757
|
+
i0.ɵɵelementStart(1, "div", 39);
|
|
11758
|
+
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(); });
|
|
11713
11759
|
i0.ɵɵtext(2);
|
|
11714
11760
|
i0.ɵɵelementEnd();
|
|
11715
11761
|
i0.ɵɵelementContainerEnd();
|
|
11716
11762
|
}
|
|
11717
11763
|
if (rf & 2) {
|
|
11718
|
-
var
|
|
11764
|
+
var ctx_r22 = i0.ɵɵnextContext(2);
|
|
11719
11765
|
i0.ɵɵadvance(2);
|
|
11720
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11766
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r22.recipe == null ? null : ctx_r22.recipe.attributes["title"], " ");
|
|
11721
11767
|
}
|
|
11722
11768
|
}
|
|
11723
|
-
function
|
|
11769
|
+
function CatalogRecipeCardComponent_div_4_ng_template_8_Template(rf, ctx) {
|
|
11724
11770
|
if (rf & 1) {
|
|
11725
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11771
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11726
11772
|
}
|
|
11727
11773
|
if (rf & 2) {
|
|
11728
|
-
var
|
|
11729
|
-
i0.ɵɵproperty("type",
|
|
11774
|
+
var ctx_r24 = i0.ɵɵnextContext(2);
|
|
11775
|
+
i0.ɵɵproperty("type", ctx_r24.skeleton.Text);
|
|
11730
11776
|
}
|
|
11731
11777
|
}
|
|
11732
|
-
function
|
|
11778
|
+
function CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template(rf, ctx) {
|
|
11733
11779
|
if (rf & 1) {
|
|
11734
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11780
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 41);
|
|
11735
11781
|
}
|
|
11736
11782
|
if (rf & 2) {
|
|
11737
|
-
var
|
|
11738
|
-
i0.ɵɵproperty("recipe",
|
|
11783
|
+
var ctx_r25 = i0.ɵɵnextContext(2);
|
|
11784
|
+
i0.ɵɵproperty("recipe", ctx_r25.recipe)("originTrace", ctx_r25.eventTrace());
|
|
11739
11785
|
}
|
|
11740
11786
|
}
|
|
11741
11787
|
function CatalogRecipeCardComponent_div_4_Template(rf, ctx) {
|
|
11742
11788
|
if (rf & 1) {
|
|
11743
|
-
var
|
|
11789
|
+
var _r31_1 = i0.ɵɵgetCurrentView();
|
|
11744
11790
|
i0.ɵɵelementStart(0, "div", 19);
|
|
11745
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11791
|
+
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(); });
|
|
11746
11792
|
i0.ɵɵelementStart(1, "div", 20);
|
|
11747
11793
|
i0.ɵɵelement(2, "img", 21);
|
|
11748
11794
|
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 22);
|
|
11749
|
-
i0.ɵɵ
|
|
11750
|
-
i0.ɵɵ
|
|
11751
|
-
i0.ɵɵtemplate(5,
|
|
11752
|
-
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3,
|
|
11753
|
-
i0.ɵɵtemplate(7,
|
|
11754
|
-
i0.ɵɵ
|
|
11755
|
-
i0.ɵɵ
|
|
11756
|
-
i0.ɵɵ
|
|
11757
|
-
i0.ɵɵ
|
|
11758
|
-
i0.ɵɵ
|
|
11759
|
-
i0.ɵɵ
|
|
11795
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_div_4_Template, 2, 1, "div", 23);
|
|
11796
|
+
i0.ɵɵelementEnd();
|
|
11797
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 24);
|
|
11798
|
+
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container", 25);
|
|
11799
|
+
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container", 9);
|
|
11800
|
+
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null, 26, i0.ɵɵtemplateRefExtractor);
|
|
11801
|
+
i0.ɵɵelementStart(10, "div", 27);
|
|
11802
|
+
i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button", 28);
|
|
11803
|
+
i0.ɵɵpipe(12, "async");
|
|
11804
|
+
i0.ɵɵelementStart(13, "div", 29, 30);
|
|
11805
|
+
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); });
|
|
11806
|
+
i0.ɵɵelement(15, "ng-miam-icon", 31);
|
|
11760
11807
|
i0.ɵɵelementEnd();
|
|
11761
11808
|
i0.ɵɵelementEnd();
|
|
11762
11809
|
i0.ɵɵelementEnd();
|
|
11763
11810
|
}
|
|
11764
11811
|
if (rf & 2) {
|
|
11765
|
-
var
|
|
11812
|
+
var _r23 = i0.ɵɵreference(9);
|
|
11766
11813
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
11767
11814
|
i0.ɵɵadvance(2);
|
|
11768
11815
|
i0.ɵɵproperty("src", ctx_r0.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
|
|
11769
11816
|
i0.ɵɵadvance(1);
|
|
11817
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.sponsorLogoUrl);
|
|
11818
|
+
i0.ɵɵadvance(1);
|
|
11770
11819
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
11771
11820
|
i0.ɵɵadvance(1);
|
|
11772
11821
|
i0.ɵɵproperty("ngIf", ctx_r0.contextService.videoRecipesEnabled && (ctx_r0.recipe == null ? null : ctx_r0.recipe.videoId));
|
|
11773
11822
|
i0.ɵɵadvance(1);
|
|
11774
11823
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe && ctx_r0.displayAddedOnPicture);
|
|
11775
11824
|
i0.ɵɵadvance(1);
|
|
11776
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse",
|
|
11825
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r23);
|
|
11777
11826
|
i0.ɵɵadvance(4);
|
|
11778
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
11827
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(12, 9, ctx_r0.userService.isLogged$));
|
|
11779
11828
|
i0.ɵɵadvance(4);
|
|
11780
11829
|
i0.ɵɵproperty("iconName", ctx_r0.actionsOpened ? ctx_r0.icon.Clear : ctx_r0.icon.HorizontalDots);
|
|
11781
11830
|
}
|
|
11782
11831
|
}
|
|
11783
11832
|
function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) {
|
|
11784
11833
|
if (rf & 1) {
|
|
11785
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11834
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11786
11835
|
}
|
|
11787
11836
|
if (rf & 2) {
|
|
11788
11837
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -11791,26 +11840,26 @@
|
|
|
11791
11840
|
}
|
|
11792
11841
|
function CatalogRecipeCardComponent_div_9_div_5_Template(rf, ctx) {
|
|
11793
11842
|
if (rf & 1) {
|
|
11794
|
-
i0.ɵɵelementStart(0, "div",
|
|
11843
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
11795
11844
|
i0.ɵɵtext(1);
|
|
11796
11845
|
i0.ɵɵelementEnd();
|
|
11797
11846
|
}
|
|
11798
11847
|
if (rf & 2) {
|
|
11799
|
-
var
|
|
11848
|
+
var ctx_r33 = i0.ɵɵnextContext(2);
|
|
11800
11849
|
i0.ɵɵadvance(1);
|
|
11801
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11850
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r33.recipe.modifiedIngredients.length - 2, " ");
|
|
11802
11851
|
}
|
|
11803
11852
|
}
|
|
11804
11853
|
function CatalogRecipeCardComponent_div_9_Template(rf, ctx) {
|
|
11805
11854
|
if (rf & 1) {
|
|
11806
|
-
i0.ɵɵelementStart(0, "div",
|
|
11807
|
-
i0.ɵɵelementStart(1, "div",
|
|
11808
|
-
i0.ɵɵelement(2, "img",
|
|
11855
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11856
|
+
i0.ɵɵelementStart(1, "div", 43);
|
|
11857
|
+
i0.ɵɵelement(2, "img", 33);
|
|
11809
11858
|
i0.ɵɵelementEnd();
|
|
11810
|
-
i0.ɵɵelementStart(3, "div",
|
|
11811
|
-
i0.ɵɵelement(4, "img",
|
|
11859
|
+
i0.ɵɵelementStart(3, "div", 43);
|
|
11860
|
+
i0.ɵɵelement(4, "img", 33);
|
|
11812
11861
|
i0.ɵɵelementEnd();
|
|
11813
|
-
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div",
|
|
11862
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div", 44);
|
|
11814
11863
|
i0.ɵɵelementEnd();
|
|
11815
11864
|
}
|
|
11816
11865
|
if (rf & 2) {
|
|
@@ -11825,17 +11874,17 @@
|
|
|
11825
11874
|
}
|
|
11826
11875
|
function CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template(rf, ctx) {
|
|
11827
11876
|
if (rf & 1) {
|
|
11828
|
-
i0.ɵɵelement(0, "ng-miam-recipe-pricing",
|
|
11877
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 48);
|
|
11829
11878
|
}
|
|
11830
11879
|
if (rf & 2) {
|
|
11831
|
-
var
|
|
11832
|
-
i0.ɵɵproperty("recipe",
|
|
11880
|
+
var ctx_r34 = i0.ɵɵnextContext(2);
|
|
11881
|
+
i0.ɵɵproperty("recipe", ctx_r34.recipe)("serves", ctx_r34.recipe == null ? null : ctx_r34.recipe.modifiedGuests);
|
|
11833
11882
|
}
|
|
11834
11883
|
}
|
|
11835
11884
|
function CatalogRecipeCardComponent_div_10_Template(rf, ctx) {
|
|
11836
11885
|
if (rf & 1) {
|
|
11837
|
-
i0.ɵɵelementStart(0, "div",
|
|
11838
|
-
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing",
|
|
11886
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
11887
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 47);
|
|
11839
11888
|
i0.ɵɵelementEnd();
|
|
11840
11889
|
}
|
|
11841
11890
|
if (rf & 2) {
|
|
@@ -11872,7 +11921,7 @@
|
|
|
11872
11921
|
}
|
|
11873
11922
|
function CatalogRecipeCardComponent_ng_miam_icon_16_Template(rf, ctx) {
|
|
11874
11923
|
if (rf & 1) {
|
|
11875
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
11924
|
+
i0.ɵɵelement(0, "ng-miam-icon", 49);
|
|
11876
11925
|
i0.ɵɵpipe(1, "async");
|
|
11877
11926
|
}
|
|
11878
11927
|
if (rf & 2) {
|
|
@@ -11887,9 +11936,9 @@
|
|
|
11887
11936
|
}
|
|
11888
11937
|
function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
|
|
11889
11938
|
if (rf & 1) {
|
|
11890
|
-
i0.ɵɵelementStart(0, "div",
|
|
11891
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11892
|
-
i0.ɵɵelementStart(2, "span",
|
|
11939
|
+
i0.ɵɵelementStart(0, "div", 50);
|
|
11940
|
+
i0.ɵɵelement(1, "ng-miam-icon", 51);
|
|
11941
|
+
i0.ɵɵelementStart(2, "span", 52);
|
|
11893
11942
|
i0.ɵɵtext(3);
|
|
11894
11943
|
i0.ɵɵelementEnd();
|
|
11895
11944
|
i0.ɵɵelementEnd();
|
|
@@ -11905,49 +11954,49 @@
|
|
|
11905
11954
|
function CatalogRecipeCardComponent_div_21_ng_container_2_Template(rf, ctx) {
|
|
11906
11955
|
if (rf & 1) {
|
|
11907
11956
|
i0.ɵɵelementContainerStart(0);
|
|
11908
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11957
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11909
11958
|
i0.ɵɵelementContainerEnd();
|
|
11910
11959
|
}
|
|
11911
11960
|
if (rf & 2) {
|
|
11912
|
-
var
|
|
11961
|
+
var ctx_r35 = i0.ɵɵnextContext(2);
|
|
11913
11962
|
i0.ɵɵadvance(1);
|
|
11914
|
-
i0.ɵɵproperty("width", 39)("height", 18)("iconName",
|
|
11963
|
+
i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r35.icon.DifficultyMedium);
|
|
11915
11964
|
}
|
|
11916
11965
|
}
|
|
11917
11966
|
function CatalogRecipeCardComponent_div_21_ng_container_3_Template(rf, ctx) {
|
|
11918
11967
|
if (rf & 1) {
|
|
11919
11968
|
i0.ɵɵelementContainerStart(0);
|
|
11920
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11969
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11921
11970
|
i0.ɵɵelementContainerEnd();
|
|
11922
11971
|
}
|
|
11923
11972
|
if (rf & 2) {
|
|
11924
|
-
var
|
|
11973
|
+
var ctx_r36 = i0.ɵɵnextContext(2);
|
|
11925
11974
|
i0.ɵɵadvance(1);
|
|
11926
|
-
i0.ɵɵproperty("width", 60)("height", 18)("iconName",
|
|
11975
|
+
i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r36.icon.DifficultyHigh);
|
|
11927
11976
|
}
|
|
11928
11977
|
}
|
|
11929
11978
|
function CatalogRecipeCardComponent_div_21_ng_container_4_Template(rf, ctx) {
|
|
11930
11979
|
if (rf & 1) {
|
|
11931
11980
|
i0.ɵɵelementContainerStart(0);
|
|
11932
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11981
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11933
11982
|
i0.ɵɵelementContainerEnd();
|
|
11934
11983
|
}
|
|
11935
11984
|
if (rf & 2) {
|
|
11936
|
-
var
|
|
11985
|
+
var ctx_r37 = i0.ɵɵnextContext(2);
|
|
11937
11986
|
i0.ɵɵadvance(1);
|
|
11938
|
-
i0.ɵɵproperty("width", 18)("height", 18)("iconName",
|
|
11987
|
+
i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r37.icon.DifficultyLow);
|
|
11939
11988
|
}
|
|
11940
11989
|
}
|
|
11941
11990
|
var _c1$6 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11942
11991
|
function CatalogRecipeCardComponent_div_21_Template(rf, ctx) {
|
|
11943
11992
|
if (rf & 1) {
|
|
11944
|
-
i0.ɵɵelementStart(0, "div",
|
|
11945
|
-
i0.ɵɵelementContainerStart(1,
|
|
11946
|
-
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container",
|
|
11947
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container",
|
|
11948
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container",
|
|
11993
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
11994
|
+
i0.ɵɵelementContainerStart(1, 54);
|
|
11995
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container", 55);
|
|
11996
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container", 55);
|
|
11997
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container", 56);
|
|
11949
11998
|
i0.ɵɵelementContainerEnd();
|
|
11950
|
-
i0.ɵɵelementStart(5, "span",
|
|
11999
|
+
i0.ɵɵelementStart(5, "span", 52);
|
|
11951
12000
|
i0.ɵɵtext(6);
|
|
11952
12001
|
i0.ɵɵelementEnd();
|
|
11953
12002
|
i0.ɵɵelementEnd();
|
|
@@ -11967,7 +12016,7 @@
|
|
|
11967
12016
|
}
|
|
11968
12017
|
function CatalogRecipeCardComponent_ng_template_22_Template(rf, ctx) {
|
|
11969
12018
|
if (rf & 1) {
|
|
11970
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
12019
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11971
12020
|
}
|
|
11972
12021
|
if (rf & 2) {
|
|
11973
12022
|
var ctx_r14 = i0.ɵɵnextContext();
|
|
@@ -11976,9 +12025,9 @@
|
|
|
11976
12025
|
}
|
|
11977
12026
|
function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template(rf, ctx) {
|
|
11978
12027
|
if (rf & 1) {
|
|
11979
|
-
var
|
|
11980
|
-
i0.ɵɵelementStart(0, "ng-miam-actions-popin",
|
|
11981
|
-
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(
|
|
12028
|
+
var _r39_1 = i0.ɵɵgetCurrentView();
|
|
12029
|
+
i0.ɵɵelementStart(0, "ng-miam-actions-popin", 58);
|
|
12030
|
+
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); });
|
|
11982
12031
|
i0.ɵɵelementEnd();
|
|
11983
12032
|
}
|
|
11984
12033
|
}
|
|
@@ -12089,7 +12138,7 @@
|
|
|
12089
12138
|
var _t;
|
|
12090
12139
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moreActions = _t.first);
|
|
12091
12140
|
}
|
|
12092
|
-
}, 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"], [4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 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-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"], [
|
|
12141
|
+
}, 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) {
|
|
12093
12142
|
if (rf & 1) {
|
|
12094
12143
|
i0.ɵɵelementStart(0, "div", 0);
|
|
12095
12144
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -12097,7 +12146,7 @@
|
|
|
12097
12146
|
i0.ɵɵtext(3);
|
|
12098
12147
|
i0.ɵɵelementEnd();
|
|
12099
12148
|
i0.ɵɵelementEnd();
|
|
12100
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template,
|
|
12149
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template, 16, 11, "div", 2);
|
|
12101
12150
|
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_ng_template_5_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
12102
12151
|
i0.ɵɵelementStart(7, "div", 4);
|
|
12103
12152
|
i0.ɵɵelementStart(8, "div", 5);
|
|
@@ -12148,7 +12197,7 @@
|
|
|
12148
12197
|
i0.ɵɵadvance(3);
|
|
12149
12198
|
i0.ɵɵproperty("ngIf", ctx.actionsOpened);
|
|
12150
12199
|
}
|
|
12151
|
-
}, 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 });
|
|
12200
|
+
}, 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 });
|
|
12152
12201
|
/*@__PURE__*/ (function () {
|
|
12153
12202
|
i0.ɵsetClassMetadata(CatalogRecipeCardComponent, [{
|
|
12154
12203
|
type: i0.Component,
|
|
@@ -16290,7 +16339,7 @@
|
|
|
16290
16339
|
}
|
|
16291
16340
|
if (rf & 2) {
|
|
16292
16341
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
16293
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.
|
|
16342
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
16294
16343
|
}
|
|
16295
16344
|
}
|
|
16296
16345
|
var RecipeAddonComponent = /** @class */ (function () {
|
|
@@ -16324,7 +16373,7 @@
|
|
|
16324
16373
|
i0.ɵɵadvance(3);
|
|
16325
16374
|
i0.ɵɵproperty("iconName", ctx.icon.ChevronDown);
|
|
16326
16375
|
i0.ɵɵadvance(3);
|
|
16327
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.
|
|
16376
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.sponsorLogoUrl);
|
|
16328
16377
|
i0.ɵɵadvance(2);
|
|
16329
16378
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(9, 3, ctx.recipe == null ? null : ctx.recipe.attributes["informational-page-html"]), i0.ɵɵsanitizeResourceUrl);
|
|
16330
16379
|
}
|
|
@@ -16862,12 +16911,12 @@
|
|
|
16862
16911
|
var _c0$t = ["topContainerImg"];
|
|
16863
16912
|
function RecipeDetailsComponent_div_0_img_4_Template(rf, ctx) {
|
|
16864
16913
|
if (rf & 1) {
|
|
16865
|
-
i0.ɵɵelement(0, "img",
|
|
16914
|
+
i0.ɵɵelement(0, "img", 38);
|
|
16866
16915
|
}
|
|
16867
16916
|
}
|
|
16868
16917
|
function RecipeDetailsComponent_div_0_ng_template_5_Template(rf, ctx) {
|
|
16869
16918
|
if (rf & 1) {
|
|
16870
|
-
i0.ɵɵelement(0, "img",
|
|
16919
|
+
i0.ɵɵelement(0, "img", 39);
|
|
16871
16920
|
}
|
|
16872
16921
|
}
|
|
16873
16922
|
function RecipeDetailsComponent_div_0_span_8_Template(rf, ctx) {
|
|
@@ -16884,9 +16933,9 @@
|
|
|
16884
16933
|
}
|
|
16885
16934
|
function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template(rf, ctx) {
|
|
16886
16935
|
if (rf & 1) {
|
|
16887
|
-
var
|
|
16888
|
-
i0.ɵɵelementStart(0, "ng-miam-addon-link",
|
|
16889
|
-
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(
|
|
16936
|
+
var _r23_1 = i0.ɵɵgetCurrentView();
|
|
16937
|
+
i0.ɵɵelementStart(0, "ng-miam-addon-link", 40);
|
|
16938
|
+
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(); });
|
|
16890
16939
|
i0.ɵɵelementEnd();
|
|
16891
16940
|
}
|
|
16892
16941
|
if (rf & 2) {
|
|
@@ -16897,7 +16946,7 @@
|
|
|
16897
16946
|
var _c1$d = function (a0, a1) { return { "sponsor": a0, "tags": a1 }; };
|
|
16898
16947
|
function RecipeDetailsComponent_div_0_img_18_Template(rf, ctx) {
|
|
16899
16948
|
if (rf & 1) {
|
|
16900
|
-
i0.ɵɵelement(0, "img",
|
|
16949
|
+
i0.ɵɵelement(0, "img", 41);
|
|
16901
16950
|
}
|
|
16902
16951
|
if (rf & 2) {
|
|
16903
16952
|
var ctx_r10 = i0.ɵɵnextContext(2);
|
|
@@ -16906,146 +16955,158 @@
|
|
|
16906
16955
|
}
|
|
16907
16956
|
function RecipeDetailsComponent_div_0_youtube_player_19_Template(rf, ctx) {
|
|
16908
16957
|
if (rf & 1) {
|
|
16909
|
-
i0.ɵɵelement(0, "youtube-player",
|
|
16958
|
+
i0.ɵɵelement(0, "youtube-player", 42);
|
|
16910
16959
|
}
|
|
16911
16960
|
if (rf & 2) {
|
|
16912
16961
|
var ctx_r11 = i0.ɵɵnextContext(2);
|
|
16913
16962
|
i0.ɵɵproperty("videoId", ctx_r11.recipe.videoId)("width", ctx_r11.playerWidth)("height", ctx_r11.playerHeight);
|
|
16914
16963
|
}
|
|
16915
16964
|
}
|
|
16916
|
-
function
|
|
16965
|
+
function RecipeDetailsComponent_div_0_div_20_Template(rf, ctx) {
|
|
16917
16966
|
if (rf & 1) {
|
|
16918
|
-
i0.ɵɵ
|
|
16967
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
16968
|
+
i0.ɵɵelement(1, "img", 37);
|
|
16969
|
+
i0.ɵɵelementEnd();
|
|
16919
16970
|
}
|
|
16920
16971
|
if (rf & 2) {
|
|
16921
16972
|
var ctx_r12 = i0.ɵɵnextContext(2);
|
|
16922
|
-
i0.ɵɵ
|
|
16973
|
+
i0.ɵɵadvance(1);
|
|
16974
|
+
i0.ɵɵproperty("src", ctx_r12.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
16923
16975
|
}
|
|
16924
16976
|
}
|
|
16925
|
-
function
|
|
16977
|
+
function RecipeDetailsComponent_div_0_ng_miam_like_button_23_Template(rf, ctx) {
|
|
16926
16978
|
if (rf & 1) {
|
|
16927
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
16979
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 44);
|
|
16928
16980
|
}
|
|
16929
16981
|
if (rf & 2) {
|
|
16930
16982
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
16931
|
-
i0.ɵɵproperty("recipe", ctx_r13.recipe)("
|
|
16983
|
+
i0.ɵɵproperty("recipe", ctx_r13.recipe)("originTrace", ctx_r13.eventTrace())("width", 24)("height", 24);
|
|
16932
16984
|
}
|
|
16933
16985
|
}
|
|
16934
|
-
function
|
|
16986
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_28_Template(rf, ctx) {
|
|
16935
16987
|
if (rf & 1) {
|
|
16936
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-
|
|
16988
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-infos", 45);
|
|
16937
16989
|
}
|
|
16938
16990
|
if (rf & 2) {
|
|
16939
16991
|
var ctx_r14 = i0.ɵɵnextContext(2);
|
|
16940
|
-
i0.ɵɵproperty("recipe", ctx_r14.recipe);
|
|
16992
|
+
i0.ɵɵproperty("recipe", ctx_r14.recipe)("displayTags", ctx_r14.displayTags)("displayTagsIcons", ctx_r14.displayTagsIcons)("reduced", ctx_r14.stepsOnLeftSide);
|
|
16941
16993
|
}
|
|
16942
16994
|
}
|
|
16943
|
-
function
|
|
16995
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_29_Template(rf, ctx) {
|
|
16944
16996
|
if (rf & 1) {
|
|
16945
|
-
i0.ɵɵelement(0, "ng-miam-recipe-
|
|
16997
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-steps", 46);
|
|
16946
16998
|
}
|
|
16947
16999
|
if (rf & 2) {
|
|
16948
17000
|
var ctx_r15 = i0.ɵɵnextContext(2);
|
|
16949
|
-
i0.ɵɵproperty("recipe", ctx_r15.recipe)
|
|
17001
|
+
i0.ɵɵproperty("recipe", ctx_r15.recipe);
|
|
16950
17002
|
}
|
|
16951
17003
|
}
|
|
16952
|
-
function
|
|
17004
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_pricing_32_Template(rf, ctx) {
|
|
16953
17005
|
if (rf & 1) {
|
|
16954
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
17006
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 47);
|
|
16955
17007
|
}
|
|
16956
17008
|
if (rf & 2) {
|
|
16957
|
-
var
|
|
16958
|
-
i0.ɵɵproperty("
|
|
17009
|
+
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
17010
|
+
i0.ɵɵproperty("recipe", ctx_r16.recipe)("serves", ctx_r16.recipe == null ? null : ctx_r16.recipe.modifiedGuests)("guestsText", ctx_r16.pricingGuestsText);
|
|
16959
17011
|
}
|
|
16960
17012
|
}
|
|
16961
|
-
function
|
|
17013
|
+
function RecipeDetailsComponent_div_0_div_33_div_2_ng_miam_icon_4_Template(rf, ctx) {
|
|
16962
17014
|
if (rf & 1) {
|
|
16963
|
-
i0.ɵɵ
|
|
17015
|
+
i0.ɵɵelement(0, "ng-miam-icon", 53);
|
|
17016
|
+
}
|
|
17017
|
+
if (rf & 2) {
|
|
17018
|
+
var ctx_r27 = i0.ɵɵnextContext(4);
|
|
17019
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r27.icon.Cart);
|
|
17020
|
+
}
|
|
17021
|
+
}
|
|
17022
|
+
function RecipeDetailsComponent_div_0_div_33_div_2_Template(rf, ctx) {
|
|
17023
|
+
if (rf & 1) {
|
|
17024
|
+
i0.ɵɵelementStart(0, "div", 51);
|
|
16964
17025
|
i0.ɵɵelementStart(1, "span");
|
|
16965
17026
|
i0.ɵɵtext(2);
|
|
16966
17027
|
i0.ɵɵpipe(3, "async");
|
|
16967
17028
|
i0.ɵɵelementEnd();
|
|
16968
|
-
i0.ɵɵtemplate(4,
|
|
17029
|
+
i0.ɵɵtemplate(4, RecipeDetailsComponent_div_0_div_33_div_2_ng_miam_icon_4_Template, 1, 3, "ng-miam-icon", 52);
|
|
16969
17030
|
i0.ɵɵpipe(5, "async");
|
|
16970
17031
|
i0.ɵɵelementEnd();
|
|
16971
17032
|
}
|
|
16972
17033
|
if (rf & 2) {
|
|
16973
|
-
var
|
|
17034
|
+
var ctx_r24 = i0.ɵɵnextContext(3);
|
|
16974
17035
|
i0.ɵɵadvance(2);
|
|
16975
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
17036
|
+
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", " ");
|
|
16976
17037
|
i0.ɵɵadvance(2);
|
|
16977
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(5, 4,
|
|
17038
|
+
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(5, 4, ctx_r24.groceriesListsService.recipeIsInList(ctx_r24.recipe == null ? null : ctx_r24.recipe.id)));
|
|
16978
17039
|
}
|
|
16979
17040
|
}
|
|
16980
|
-
function
|
|
17041
|
+
function RecipeDetailsComponent_div_0_div_33_ng_template_3_Template(rf, ctx) {
|
|
16981
17042
|
if (rf & 1) {
|
|
16982
17043
|
i0.ɵɵelement(0, "ng-miam-loader");
|
|
16983
17044
|
}
|
|
16984
17045
|
}
|
|
16985
17046
|
var _c2$4 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
16986
|
-
function
|
|
17047
|
+
function RecipeDetailsComponent_div_0_div_33_Template(rf, ctx) {
|
|
16987
17048
|
if (rf & 1) {
|
|
16988
|
-
var
|
|
16989
|
-
i0.ɵɵelementStart(0, "div",
|
|
16990
|
-
i0.ɵɵlistener("click", function
|
|
17049
|
+
var _r29_1 = i0.ɵɵgetCurrentView();
|
|
17050
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
17051
|
+
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(); });
|
|
16991
17052
|
i0.ɵɵpipe(1, "async");
|
|
16992
|
-
i0.ɵɵtemplate(2,
|
|
16993
|
-
i0.ɵɵtemplate(3,
|
|
17053
|
+
i0.ɵɵtemplate(2, RecipeDetailsComponent_div_0_div_33_div_2_Template, 6, 6, "div", 49);
|
|
17054
|
+
i0.ɵɵtemplate(3, RecipeDetailsComponent_div_0_div_33_ng_template_3_Template, 1, 0, "ng-template", null, 50, i0.ɵɵtemplateRefExtractor);
|
|
16994
17055
|
i0.ɵɵelementEnd();
|
|
16995
17056
|
}
|
|
16996
17057
|
if (rf & 2) {
|
|
16997
|
-
var
|
|
16998
|
-
var
|
|
16999
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c2$4, i0.ɵɵpipeBind1(1, 3,
|
|
17058
|
+
var _r25 = i0.ɵɵreference(4);
|
|
17059
|
+
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
17060
|
+
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));
|
|
17000
17061
|
i0.ɵɵadvance(2);
|
|
17001
|
-
i0.ɵɵproperty("ngIf", !
|
|
17062
|
+
i0.ɵɵproperty("ngIf", !ctx_r17.addButtonLoading)("ngIfElse", _r25);
|
|
17002
17063
|
}
|
|
17003
17064
|
}
|
|
17004
|
-
function
|
|
17065
|
+
function RecipeDetailsComponent_div_0_div_36_Template(rf, ctx) {
|
|
17005
17066
|
if (rf & 1) {
|
|
17006
|
-
i0.ɵɵelementStart(0, "div",
|
|
17067
|
+
i0.ɵɵelementStart(0, "div", 54);
|
|
17007
17068
|
i0.ɵɵtext(1);
|
|
17008
17069
|
i0.ɵɵelementEnd();
|
|
17009
17070
|
}
|
|
17010
17071
|
if (rf & 2) {
|
|
17011
|
-
var
|
|
17072
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
17012
17073
|
i0.ɵɵadvance(1);
|
|
17013
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17074
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r18.recipe == null ? null : ctx_r18.recipe.attributes["title"], " ");
|
|
17014
17075
|
}
|
|
17015
17076
|
}
|
|
17016
|
-
function
|
|
17077
|
+
function RecipeDetailsComponent_div_0_div_37_Template(rf, ctx) {
|
|
17017
17078
|
if (rf & 1) {
|
|
17018
|
-
i0.ɵɵelementStart(0, "div",
|
|
17079
|
+
i0.ɵɵelementStart(0, "div", 55);
|
|
17019
17080
|
i0.ɵɵtext(1);
|
|
17020
17081
|
i0.ɵɵelementEnd();
|
|
17021
17082
|
}
|
|
17022
17083
|
if (rf & 2) {
|
|
17023
|
-
var
|
|
17084
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
17024
17085
|
i0.ɵɵadvance(1);
|
|
17025
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17086
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r19.recipe == null ? null : ctx_r19.recipe.attributes.description, " ");
|
|
17026
17087
|
}
|
|
17027
17088
|
}
|
|
17028
|
-
function
|
|
17089
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_38_Template(rf, ctx) {
|
|
17029
17090
|
if (rf & 1) {
|
|
17030
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-infos",
|
|
17091
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-infos", 45);
|
|
17031
17092
|
}
|
|
17032
17093
|
if (rf & 2) {
|
|
17033
|
-
var
|
|
17034
|
-
i0.ɵɵproperty("recipe",
|
|
17094
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
17095
|
+
i0.ɵɵproperty("recipe", ctx_r20.recipe)("displayTags", ctx_r20.displayTags)("displayTagsIcons", ctx_r20.displayTagsIcons)("reduced", ctx_r20.stepsOnLeftSide);
|
|
17035
17096
|
}
|
|
17036
17097
|
}
|
|
17037
|
-
function
|
|
17098
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_40_Template(rf, ctx) {
|
|
17038
17099
|
if (rf & 1) {
|
|
17039
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-steps",
|
|
17100
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-steps", 46);
|
|
17040
17101
|
}
|
|
17041
17102
|
if (rf & 2) {
|
|
17042
|
-
var
|
|
17043
|
-
i0.ɵɵproperty("recipe",
|
|
17103
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
17104
|
+
i0.ɵɵproperty("recipe", ctx_r21.recipe);
|
|
17044
17105
|
}
|
|
17045
17106
|
}
|
|
17046
17107
|
function RecipeDetailsComponent_div_0_Template(rf, ctx) {
|
|
17047
17108
|
if (rf & 1) {
|
|
17048
|
-
var
|
|
17109
|
+
var _r31_1 = i0.ɵɵgetCurrentView();
|
|
17049
17110
|
i0.ɵɵelementStart(0, "div", 2, 3);
|
|
17050
17111
|
i0.ɵɵelementStart(2, "div", 4);
|
|
17051
17112
|
i0.ɵɵelementStart(3, "div", 5);
|
|
@@ -17068,43 +17129,44 @@
|
|
|
17068
17129
|
i0.ɵɵelementStart(16, "div", 16, 17);
|
|
17069
17130
|
i0.ɵɵtemplate(18, RecipeDetailsComponent_div_0_img_18_Template, 1, 5, "img", 18);
|
|
17070
17131
|
i0.ɵɵtemplate(19, RecipeDetailsComponent_div_0_youtube_player_19_Template, 1, 3, "youtube-player", 19);
|
|
17132
|
+
i0.ɵɵtemplate(20, RecipeDetailsComponent_div_0_div_20_Template, 2, 1, "div", 20);
|
|
17071
17133
|
i0.ɵɵelementEnd();
|
|
17072
|
-
i0.ɵɵelementStart(20, "div", 20);
|
|
17073
17134
|
i0.ɵɵelementStart(21, "div", 21);
|
|
17074
|
-
i0.ɵɵ
|
|
17075
|
-
i0.ɵɵ
|
|
17076
|
-
i0.ɵɵ
|
|
17077
|
-
i0.ɵɵ
|
|
17135
|
+
i0.ɵɵelementStart(22, "div", 22);
|
|
17136
|
+
i0.ɵɵtemplate(23, RecipeDetailsComponent_div_0_ng_miam_like_button_23_Template, 1, 4, "ng-miam-like-button", 23);
|
|
17137
|
+
i0.ɵɵpipe(24, "async");
|
|
17138
|
+
i0.ɵɵelementStart(25, "ng-miam-icon", 24);
|
|
17139
|
+
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(); });
|
|
17078
17140
|
i0.ɵɵelementEnd();
|
|
17079
17141
|
i0.ɵɵelementEnd();
|
|
17080
|
-
i0.ɵɵelementStart(
|
|
17081
|
-
i0.ɵɵelementStart(
|
|
17082
|
-
i0.ɵɵlistener("click", function
|
|
17142
|
+
i0.ɵɵelementStart(26, "div", 22);
|
|
17143
|
+
i0.ɵɵelementStart(27, "ng-miam-icon", 25);
|
|
17144
|
+
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(); });
|
|
17083
17145
|
i0.ɵɵelementEnd();
|
|
17084
17146
|
i0.ɵɵelementEnd();
|
|
17085
17147
|
i0.ɵɵelementEnd();
|
|
17086
|
-
i0.ɵɵtemplate(
|
|
17087
|
-
i0.ɵɵtemplate(
|
|
17088
|
-
i0.ɵɵelementStart(29, "div", 27);
|
|
17148
|
+
i0.ɵɵtemplate(28, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_28_Template, 1, 4, "ng-miam-recipe-details-infos", 26);
|
|
17149
|
+
i0.ɵɵtemplate(29, RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_29_Template, 1, 1, "ng-miam-recipe-details-steps", 27);
|
|
17089
17150
|
i0.ɵɵelementStart(30, "div", 28);
|
|
17090
|
-
i0.ɵɵ
|
|
17151
|
+
i0.ɵɵelementStart(31, "div", 29);
|
|
17152
|
+
i0.ɵɵtemplate(32, RecipeDetailsComponent_div_0_ng_miam_recipe_pricing_32_Template, 1, 3, "ng-miam-recipe-pricing", 30);
|
|
17091
17153
|
i0.ɵɵelementEnd();
|
|
17092
|
-
i0.ɵɵtemplate(
|
|
17154
|
+
i0.ɵɵtemplate(33, RecipeDetailsComponent_div_0_div_33_Template, 5, 8, "div", 31);
|
|
17093
17155
|
i0.ɵɵelementEnd();
|
|
17094
17156
|
i0.ɵɵelementEnd();
|
|
17095
17157
|
i0.ɵɵelementEnd();
|
|
17096
|
-
i0.ɵɵelementStart(
|
|
17097
|
-
i0.ɵɵelementStart(
|
|
17098
|
-
i0.ɵɵtemplate(35, RecipeDetailsComponent_div_0_div_35_Template, 2, 1, "div", 32);
|
|
17099
|
-
i0.ɵɵelementEnd();
|
|
17158
|
+
i0.ɵɵelementStart(34, "div", 32);
|
|
17159
|
+
i0.ɵɵelementStart(35, "div");
|
|
17100
17160
|
i0.ɵɵtemplate(36, RecipeDetailsComponent_div_0_div_36_Template, 2, 1, "div", 33);
|
|
17101
|
-
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_37_Template, 1, 4, "ng-miam-recipe-details-infos", 25);
|
|
17102
|
-
i0.ɵɵelementStart(38, "ng-miam-recipe-details-ingredients", 34);
|
|
17103
|
-
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(); });
|
|
17104
17161
|
i0.ɵɵelementEnd();
|
|
17105
|
-
i0.ɵɵtemplate(
|
|
17106
|
-
i0.ɵɵ
|
|
17107
|
-
i0.ɵɵ
|
|
17162
|
+
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_div_37_Template, 2, 1, "div", 34);
|
|
17163
|
+
i0.ɵɵtemplate(38, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_38_Template, 1, 4, "ng-miam-recipe-details-infos", 26);
|
|
17164
|
+
i0.ɵɵelementStart(39, "ng-miam-recipe-details-ingredients", 35);
|
|
17165
|
+
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(); });
|
|
17166
|
+
i0.ɵɵelementEnd();
|
|
17167
|
+
i0.ɵɵtemplate(40, RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_40_Template, 1, 1, "ng-miam-recipe-details-steps", 27);
|
|
17168
|
+
i0.ɵɵelementStart(41, "a", 36);
|
|
17169
|
+
i0.ɵɵelement(42, "img", 37);
|
|
17108
17170
|
i0.ɵɵelementEnd();
|
|
17109
17171
|
i0.ɵɵelementEnd();
|
|
17110
17172
|
i0.ɵɵelementEnd();
|
|
@@ -17125,8 +17187,10 @@
|
|
|
17125
17187
|
i0.ɵɵproperty("ngIf", !ctx_r0.showVideo);
|
|
17126
17188
|
i0.ɵɵadvance(1);
|
|
17127
17189
|
i0.ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
|
|
17190
|
+
i0.ɵɵadvance(1);
|
|
17191
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
17128
17192
|
i0.ɵɵadvance(3);
|
|
17129
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
17193
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(24, 27, ctx_r0.userService.isLogged$));
|
|
17130
17194
|
i0.ɵɵadvance(2);
|
|
17131
17195
|
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r0.icon.Print);
|
|
17132
17196
|
i0.ɵɵadvance(2);
|
|
@@ -17157,9 +17221,9 @@
|
|
|
17157
17221
|
}
|
|
17158
17222
|
function RecipeDetailsComponent_ng_template_1_Template(rf, ctx) {
|
|
17159
17223
|
if (rf & 1) {
|
|
17160
|
-
var
|
|
17161
|
-
i0.ɵɵelementStart(0, "ng-miam-recipe-addon",
|
|
17162
|
-
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(
|
|
17224
|
+
var _r35_1 = i0.ɵɵgetCurrentView();
|
|
17225
|
+
i0.ɵɵelementStart(0, "ng-miam-recipe-addon", 56);
|
|
17226
|
+
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(); });
|
|
17163
17227
|
i0.ɵɵelementEnd();
|
|
17164
17228
|
}
|
|
17165
17229
|
if (rf & 2) {
|
|
@@ -17353,16 +17417,16 @@
|
|
|
17353
17417
|
var _t;
|
|
17354
17418
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
|
|
17355
17419
|
}
|
|
17356
|
-
}, 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) {
|
|
17420
|
+
}, 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) {
|
|
17357
17421
|
if (rf & 1) {
|
|
17358
|
-
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template,
|
|
17422
|
+
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 43, 29, "div", 0);
|
|
17359
17423
|
i0.ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
17360
17424
|
}
|
|
17361
17425
|
if (rf & 2) {
|
|
17362
17426
|
var _r1 = i0.ɵɵreference(2);
|
|
17363
17427
|
i0.ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
|
|
17364
17428
|
}
|
|
17365
|
-
}, 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 });
|
|
17429
|
+
}, 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 });
|
|
17366
17430
|
/*@__PURE__*/ (function () {
|
|
17367
17431
|
i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
|
|
17368
17432
|
type: i0.Component,
|