ng-miam 4.7.5 → 4.7.6
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 +344 -715
- 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/components.module.js +5 -5
- package/esm2015/lib/_components/explaine-banner/explaine-banner.component.js +50 -0
- package/esm2015/lib/_components/icon/icon.component.js +5 -5
- package/esm2015/lib/_components/index.js +2 -2
- package/esm2015/lib/_components/like-button/like-button.component.js +1 -1
- package/esm2015/lib/_components/list-input/list-input.component.js +57 -140
- package/esm2015/lib/_components/recipe-filters/recipe-filters.component.js +1 -1
- package/esm2015/lib/_models/ingredient.js +2 -3
- package/esm2015/lib/_models/tag.js +5 -2
- package/esm2015/lib/_services/context.service.js +5 -14
- package/esm2015/lib/_services/ingredients.service.js +4 -5
- package/esm2015/lib/_types/icon.enum.js +4 -4
- package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +3 -8
- package/esm2015/lib/_web-components/catalog-article-card/catalog-article-card.component.js +1 -1
- package/esm2015/lib/_web-components/catalog-header/catalog-header.component.js +1 -1
- package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +115 -146
- package/esm2015/lib/_web-components/index.js +1 -2
- package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +3 -13
- package/esm2015/lib/_web-components/recipe-details/recipe-details-infos/recipe-details-infos.component.js +48 -48
- package/esm2015/lib/_web-components/recipe-details/recipe-details-steps/recipe-details-steps.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +22 -43
- package/esm2015/lib/_web-components/recipe-form/recipe-form.component.js +1 -7
- package/esm2015/lib/_web-components/recipe-stepper/recipe-stepper.component.js +6 -6
- package/esm2015/lib/_web-components/tags-selector/tags-selector.component.js +36 -104
- package/esm2015/lib/_web-components/web-components.module.js +9 -14
- package/esm2015/public_api.js +1 -2
- package/fesm2015/ng-miam.js +340 -665
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_components/components.module.d.ts +4 -7
- package/lib/_components/explaine-banner/explaine-banner.component.d.ts +8 -0
- package/lib/_components/index.d.ts +1 -1
- package/lib/_components/list-input/list-input.component.d.ts +1 -12
- package/lib/_models/ingredient.d.ts +1 -2
- package/lib/_models/tag.d.ts +5 -1
- package/lib/_services/context.service.d.ts +0 -2
- package/lib/_types/icon.enum.d.ts +3 -3
- package/lib/_web-components/index.d.ts +0 -1
- package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts +0 -1
- package/lib/_web-components/recipe-details/recipe-details.component.d.ts +4 -6
- package/lib/_web-components/tags-selector/tags-selector.component.d.ts +4 -12
- package/lib/_web-components/web-components.module.d.ts +14 -15
- package/miam-style.css +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -1
- package/esm2015/lib/_components/explain-banner/explain-banner.component.js +0 -72
- package/esm2015/lib/_web-components/tags-creator/tags-creator.component.js +0 -81
- package/lib/_components/explain-banner/explain-banner.component.d.ts +0 -10
- package/lib/_web-components/tags-creator/tags-creator.component.d.ts +0 -21
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
Icon[Icon["Filter"] = 61] = "Filter";
|
|
82
82
|
Icon[Icon["Difficulty"] = 62] = "Difficulty";
|
|
83
83
|
Icon[Icon["Cook"] = 63] = "Cook";
|
|
84
|
-
Icon[Icon["
|
|
85
|
-
Icon[Icon["
|
|
86
|
-
Icon[Icon["
|
|
84
|
+
Icon[Icon["ExplaineStep1"] = 64] = "ExplaineStep1";
|
|
85
|
+
Icon[Icon["ExplaineStep2"] = 65] = "ExplaineStep2";
|
|
86
|
+
Icon[Icon["ExplaineStep3"] = 66] = "ExplaineStep3";
|
|
87
87
|
})(exports.Icon || (exports.Icon = {}));
|
|
88
88
|
|
|
89
89
|
/*! *****************************************************************************
|
|
@@ -2669,7 +2669,6 @@
|
|
|
2669
2669
|
name: '',
|
|
2670
2670
|
quantity: '',
|
|
2671
2671
|
unit: '',
|
|
2672
|
-
importance: '',
|
|
2673
2672
|
active: true,
|
|
2674
2673
|
'forced-eans': [],
|
|
2675
2674
|
'picture-url': ''
|
|
@@ -2817,6 +2816,9 @@
|
|
|
2817
2816
|
'icon-url': '',
|
|
2818
2817
|
'picture-url': ''
|
|
2819
2818
|
};
|
|
2819
|
+
_this.relationships = {
|
|
2820
|
+
recipe: new i1.DocumentResource()
|
|
2821
|
+
};
|
|
2820
2822
|
return _this;
|
|
2821
2823
|
}
|
|
2822
2824
|
Object.defineProperty(Tag.prototype, "tagType", {
|
|
@@ -3766,17 +3768,16 @@
|
|
|
3766
3768
|
var oldIngredientAttribute = oldIngredients[oldIndex].attributes;
|
|
3767
3769
|
var hasChange = oldIngredientAttribute.name !== ing.attributes.name ||
|
|
3768
3770
|
oldIngredientAttribute.unit !== ing.attributes.unit ||
|
|
3769
|
-
oldIngredientAttribute.quantity !== ing.attributes.quantity
|
|
3770
|
-
oldIngredientAttribute.importance !== ing.attributes.importance;
|
|
3771
|
+
oldIngredientAttribute.quantity !== ing.attributes.quantity;
|
|
3771
3772
|
if (hasChange) {
|
|
3772
|
-
oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity,
|
|
3773
|
+
oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity, 'picture-url': ing.attributes['picture-url'] });
|
|
3773
3774
|
ingredientsToSave.push(oldIngredients[oldIndex]);
|
|
3774
3775
|
}
|
|
3775
3776
|
}
|
|
3776
3777
|
else {
|
|
3777
3778
|
var newIng = _this.new();
|
|
3778
3779
|
delete newIng.id;
|
|
3779
|
-
newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity,
|
|
3780
|
+
newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, 'picture-url': ing.attributes['picture-url'] });
|
|
3780
3781
|
newIng.addRelationship(recipe, 'recipe');
|
|
3781
3782
|
ingredientsToSave.push(newIng);
|
|
3782
3783
|
}
|
|
@@ -4399,8 +4400,7 @@
|
|
|
4399
4400
|
_this.basketHandler = new BasketHandler(_this.basketWrapper);
|
|
4400
4401
|
_this.basketHandler.initBasketProcess();
|
|
4401
4402
|
},
|
|
4402
|
-
// Modify the comparion-map to make it as is all products were added by the retailer.
|
|
4403
|
-
// Useful to reset the list without emptying the retailer's basket
|
|
4403
|
+
// Modify the comparion-map to make it as is all products were added by the retailer. Useful to reset the list without emptying the retailer's basket
|
|
4404
4404
|
setAllProductsAsRetailers: function () {
|
|
4405
4405
|
if (_this.basketHandler) {
|
|
4406
4406
|
_this.basketHandler.setAllProductsAsRetailers();
|
|
@@ -4447,9 +4447,7 @@
|
|
|
4447
4447
|
},
|
|
4448
4448
|
list: {
|
|
4449
4449
|
reset: function () { return _this.listsService.resetList().subscribe(); },
|
|
4450
|
-
addRecipe: function (recipeId, guests) {
|
|
4451
|
-
return _this.listsService.appendRecipeToList(recipeId, guests, { originPath: 'client', props: { recipe_id: recipeId } });
|
|
4452
|
-
},
|
|
4450
|
+
addRecipe: function (recipeId, guests) { return _this.listsService.appendRecipeToList(recipeId, guests, { originPath: 'client', props: { recipe_id: recipeId } }); },
|
|
4453
4451
|
hasRecipe: function (recipeId) { return _this.listsService.recipeIsInList(recipeId); },
|
|
4454
4452
|
createTemporaryList: function () { return _this.listsService.createTemporaryList(); },
|
|
4455
4453
|
refresh: function () { return _this.listsService.refreshCurrentList(); }
|
|
@@ -4494,12 +4492,7 @@
|
|
|
4494
4492
|
if (url === void 0) { url = ''; }
|
|
4495
4493
|
_this.miam.router.catalog = url;
|
|
4496
4494
|
},
|
|
4497
|
-
catalog: ''
|
|
4498
|
-
setRecipeInfoLink: function (url) {
|
|
4499
|
-
if (url === void 0) { url = ''; }
|
|
4500
|
-
_this.miam.router.recipeInfo = url;
|
|
4501
|
-
},
|
|
4502
|
-
recipeInfo: '',
|
|
4495
|
+
catalog: ''
|
|
4503
4496
|
},
|
|
4504
4497
|
supplier: {
|
|
4505
4498
|
load: function (supplierId) {
|
|
@@ -6312,11 +6305,11 @@
|
|
|
6312
6305
|
i0.ɵɵadvance(1);
|
|
6313
6306
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(69, _c0, ctx_r2.width + "px", ctx_r2.height + "px"));
|
|
6314
6307
|
i0.ɵɵadvance(1);
|
|
6315
|
-
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.
|
|
6308
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplaineStep1);
|
|
6316
6309
|
i0.ɵɵadvance(1);
|
|
6317
|
-
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.
|
|
6310
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplaineStep2);
|
|
6318
6311
|
i0.ɵɵadvance(1);
|
|
6319
|
-
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.
|
|
6312
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplaineStep3);
|
|
6320
6313
|
i0.ɵɵadvance(1);
|
|
6321
6314
|
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.CloudUpload);
|
|
6322
6315
|
i0.ɵɵadvance(1);
|
|
@@ -6473,7 +6466,7 @@
|
|
|
6473
6466
|
var _r1 = i0.ɵɵreference(2);
|
|
6474
6467
|
i0.ɵɵproperty("ngIf", ctx.iconOverrideUrl !== "")("ngIfElse", _r1);
|
|
6475
6468
|
}
|
|
6476
|
-
}, directives: [i4.NgIf, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault], styles: [".cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{font-weight:bolder;text-align:center}.cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border:1px solid;border-bottom:0}.cal-month-view[_ngcontent-%COMP%] .cal-cell-top[_ngcontent-%COMP%]{flex:1;min-height:78px}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{display:flex}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{pointer-events:all!important}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{display:block}}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{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[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view[_ngcontent-%COMP%] .cal-events[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-in-month.cal-has-events[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-out-month[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{cursor:default;opacity:.1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{font-size:1.9em}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{padding:15px}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{position:relative;top:2px}.cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%], .cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{opacity:.3}.cal-month-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-month-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]:hover{text-decoration:underline}.cal-month-view[_ngcontent-%COMP%]{background-color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]:hover{background-color:#fafafa}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]:hover, .cal-month-view[_ngcontent-%COMP%] .cal-cell.cal-has-events.cal-open[_ngcontent-%COMP%]{background-color:#ededed}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{background-color:#b94a48;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-weekend[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{color:#8b0000}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-drag-over[_ngcontent-%COMP%]{background-color:#e0e0e0!important}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border:1px solid;display:flex;padding-left:70px}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{flex:1;padding:5px;text-align:center}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400;opacity:.5}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:1px solid;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border:1px solid;font-size:12px}.cal-week-view[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{height:100%;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-events-row[_ngcontent-%COMP%]{height:31px;margin-left:70px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{display:inline-block;position:absolute}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container.resize-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-starts-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-ends-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{right:0}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{position:absolute;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{bottom:0}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]:after{content:\"\\00a0\"}.cal-week-view[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]:not(.cal-draggable){cursor:pointer}.cal-week-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] mwl-calendar-week-view-hour-segment[_ngcontent-%COMP%]{display:block}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom:thin dashed}.cal-week-view[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment.cal-after-hour-start[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{display:none}.cal-week-view[_ngcontent-%COMP%] .cal-starts-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-ends-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view[_ngcontent-%COMP%]{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border-color:#e1e1e1;border-top:0}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-weekend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#8b0000}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]:not(.cal-resize-active) .cal-hour-segment[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour-odd[_ngcontent-%COMP%]{background-color:#fafafa}.cal-week-view[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{background-color:#ea4334}.cal-day-view[_ngcontent-%COMP%] mwl-calendar-week-view-header[_ngcontent-%COMP%]{display:none}.cal-day-view[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{margin-left:70px}.cal-day-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:0}.cal-day-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%]{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%]{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%]{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner[_ngcontent-%COMP%]{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow[_ngcontent-%COMP%]{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-top-color:#000}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-left-color:#000}.cal-tooltip-inner[_ngcontent-%COMP%]{background-color:#000;color:#fff}.m-button[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%], .m-button-grey.reverse[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%]{-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[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]{padding:0}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child{margin-left:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child{margin-right:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child{margin:0}.m-button-primary[_ngcontent-%COMP%]{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}}.m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-primary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}}.m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}.m-button-secondary[_ngcontent-%COMP%]{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}}.m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-secondary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}}.m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}.m-button-grey[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}.m-button-grey.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}}.m-button-grey.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-input[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input[_ngcontent-%COMP%]{padding:8px}}.m-title-text-input[_ngcontent-%COMP%] .miam-text-input[_ngcontent-%COMP%]{max-width:565px}.miam-flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{margin-bottom:8px;padding:8px}}#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:.95!important}@media (min-width:1023px){#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]: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}}[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:focus-within [_ngcontent-%COMP%]:root .miam-text-input__label[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-body-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%]:focus-within .miam-text-input__label[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]: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[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}[_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%]{font-size:var(--m-font-size-small);line-height:16px}@media print{[_ngcontent-%COMP%]:root *[_ngcontent-%COMP%]{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}[_ngcontent-%COMP%]:root .miam-not-printable[_ngcontent-%COMP%]{display:none}[_ngcontent-%COMP%]:root:last-child{page-break-after:auto}}[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:none}@media print{[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:block}}.icon-container[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;justify-items:center;margin:auto;user-select:none}.icon-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}.icon-container[_ngcontent-%COMP%] .icon-container__icon[_ngcontent-%COMP%]{height:unset}"], changeDetection: 0 });
|
|
6469
|
+
}, directives: [i4.NgIf, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault], styles: [".cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{font-weight:bolder;text-align:center}.cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border:1px solid;border-bottom:0}.cal-month-view[_ngcontent-%COMP%] .cal-cell-top[_ngcontent-%COMP%]{flex:1;min-height:78px}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{display:flex}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{pointer-events:all!important}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{display:block}}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{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[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view[_ngcontent-%COMP%] .cal-events[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-in-month.cal-has-events[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-out-month[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{cursor:default;opacity:.1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{font-size:1.9em}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{padding:15px}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{position:relative;top:2px}.cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%], .cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{opacity:.3}.cal-month-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-month-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]:hover{text-decoration:underline}.cal-month-view[_ngcontent-%COMP%]{background-color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]:hover{background-color:#fafafa}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]:hover, .cal-month-view[_ngcontent-%COMP%] .cal-cell.cal-has-events.cal-open[_ngcontent-%COMP%]{background-color:#ededed}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{background-color:#b94a48;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-weekend[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{color:#8b0000}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-drag-over[_ngcontent-%COMP%]{background-color:#e0e0e0!important}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border:1px solid;display:flex;padding-left:70px}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{flex:1;padding:5px;text-align:center}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400;opacity:.5}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:1px solid;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border:1px solid;font-size:12px}.cal-week-view[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{height:100%;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-events-row[_ngcontent-%COMP%]{height:31px;margin-left:70px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{display:inline-block;position:absolute}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container.resize-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-starts-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-ends-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{right:0}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{position:absolute;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{bottom:0}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]:after{content:\"\\00a0\"}.cal-week-view[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]:not(.cal-draggable){cursor:pointer}.cal-week-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] mwl-calendar-week-view-hour-segment[_ngcontent-%COMP%]{display:block}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom:thin dashed}.cal-week-view[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment.cal-after-hour-start[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{display:none}.cal-week-view[_ngcontent-%COMP%] .cal-starts-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-ends-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view[_ngcontent-%COMP%]{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border-color:#e1e1e1;border-top:0}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-weekend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#8b0000}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]:not(.cal-resize-active) .cal-hour-segment[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour-odd[_ngcontent-%COMP%]{background-color:#fafafa}.cal-week-view[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{background-color:#ea4334}.cal-day-view[_ngcontent-%COMP%] mwl-calendar-week-view-header[_ngcontent-%COMP%]{display:none}.cal-day-view[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{margin-left:70px}.cal-day-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:0}.cal-day-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%]{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%]{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%]{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner[_ngcontent-%COMP%]{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow[_ngcontent-%COMP%]{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-top-color:#000}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-left-color:#000}.cal-tooltip-inner[_ngcontent-%COMP%]{background-color:#000;color:#fff}.m-button[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%], .m-button-grey.reverse[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%]{-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[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]{padding:0}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child{margin-left:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child{margin-right:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child{margin:0}.m-button-primary[_ngcontent-%COMP%]{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}.m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-primary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}.m-button-secondary[_ngcontent-%COMP%]{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}.m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-secondary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}.m-button-grey[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}.m-button-grey.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}.m-button-grey.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-input[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input[_ngcontent-%COMP%]{padding:8px}}.m-title-text-input[_ngcontent-%COMP%] .miam-text-input[_ngcontent-%COMP%]{max-width:565px}.miam-flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{margin-bottom:8px;padding:8px}}#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:.95!important}#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]: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}}[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:focus-within [_ngcontent-%COMP%]:root .miam-text-input__label[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-body-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%]:focus-within .miam-text-input__label[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]: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[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}[_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%]{font-size:var(--m-font-size-small);line-height:16px}@media print{[_ngcontent-%COMP%]:root *[_ngcontent-%COMP%]{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}[_ngcontent-%COMP%]:root .miam-not-printable[_ngcontent-%COMP%]{display:none}[_ngcontent-%COMP%]:root:last-child{page-break-after:auto}}[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:none}@media print{[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:block}}.icon-container[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;justify-items:center;margin:auto;user-select:none}.icon-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}.icon-container[_ngcontent-%COMP%] .icon-container__icon[_ngcontent-%COMP%]{height:unset}"], changeDetection: 0 });
|
|
6477
6470
|
/*@__PURE__*/ (function () {
|
|
6478
6471
|
i0.ɵsetClassMetadata(IconComponent, [{
|
|
6479
6472
|
type: i0.Component,
|
|
@@ -6681,139 +6674,67 @@
|
|
|
6681
6674
|
}
|
|
6682
6675
|
function ListInputComponent_ul_4_ng_template_2_li_0_option_9_Template(rf, ctx) {
|
|
6683
6676
|
if (rf & 1) {
|
|
6684
|
-
i0.ɵɵelement(0, "option",
|
|
6677
|
+
i0.ɵɵelement(0, "option", 37);
|
|
6685
6678
|
i0.ɵɵpipe(1, "capitalizeFirstLetter");
|
|
6686
6679
|
}
|
|
6687
6680
|
if (rf & 2) {
|
|
6688
|
-
var
|
|
6689
|
-
i0.ɵɵproperty("value", i0.ɵɵpipeBind1(1, 1,
|
|
6681
|
+
var ing_r26 = ctx.$implicit;
|
|
6682
|
+
i0.ɵɵproperty("value", i0.ɵɵpipeBind1(1, 1, ing_r26));
|
|
6690
6683
|
}
|
|
6691
6684
|
}
|
|
6692
6685
|
function ListInputComponent_ul_4_ng_template_2_li_0_option_14_Template(rf, ctx) {
|
|
6693
6686
|
if (rf & 1) {
|
|
6694
|
-
i0.ɵɵelement(0, "option",
|
|
6695
|
-
}
|
|
6696
|
-
if (rf & 2) {
|
|
6697
|
-
var unit_r28 = ctx.$implicit;
|
|
6698
|
-
i0.ɵɵproperty("value", unit_r28);
|
|
6699
|
-
}
|
|
6700
|
-
}
|
|
6701
|
-
function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_2_Template(rf, ctx) {
|
|
6702
|
-
if (rf & 1) {
|
|
6703
|
-
i0.ɵɵelementStart(0, "label", 43);
|
|
6704
|
-
i0.ɵɵtext(1, "Primordial");
|
|
6705
|
-
i0.ɵɵelementEnd();
|
|
6706
|
-
}
|
|
6707
|
-
if (rf & 2) {
|
|
6708
|
-
var i_r19 = i0.ɵɵnextContext(3).index;
|
|
6709
|
-
i0.ɵɵpropertyInterpolate("for", "importance-id-primary" + i_r19);
|
|
6710
|
-
}
|
|
6711
|
-
}
|
|
6712
|
-
function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_3_Template(rf, ctx) {
|
|
6713
|
-
if (rf & 1) {
|
|
6714
|
-
i0.ɵɵelementStart(0, "label", 43);
|
|
6715
|
-
i0.ɵɵtext(1, "Secondaire");
|
|
6716
|
-
i0.ɵɵelementEnd();
|
|
6717
|
-
}
|
|
6718
|
-
if (rf & 2) {
|
|
6719
|
-
var i_r19 = i0.ɵɵnextContext(3).index;
|
|
6720
|
-
i0.ɵɵpropertyInterpolate("for", "importance-id-secondary" + i_r19);
|
|
6721
|
-
}
|
|
6722
|
-
}
|
|
6723
|
-
function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_4_Template(rf, ctx) {
|
|
6724
|
-
if (rf & 1) {
|
|
6725
|
-
i0.ɵɵelementStart(0, "label", 43);
|
|
6726
|
-
i0.ɵɵtext(1, "Facultatif");
|
|
6727
|
-
i0.ɵɵelementEnd();
|
|
6687
|
+
i0.ɵɵelement(0, "option", 37);
|
|
6728
6688
|
}
|
|
6729
6689
|
if (rf & 2) {
|
|
6730
|
-
var
|
|
6731
|
-
i0.ɵɵ
|
|
6732
|
-
}
|
|
6733
|
-
}
|
|
6734
|
-
function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_Template(rf, ctx) {
|
|
6735
|
-
if (rf & 1) {
|
|
6736
|
-
var _r39_1 = i0.ɵɵgetCurrentView();
|
|
6737
|
-
i0.ɵɵelementStart(0, "div", 41);
|
|
6738
|
-
i0.ɵɵelementStart(1, "input", 42);
|
|
6739
|
-
i0.ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_Template_input_click_1_listener() { i0.ɵɵrestoreView(_r39_1); var importance_r30 = ctx.$implicit; var i_r19 = i0.ɵɵnextContext(2).index; var ctx_r37 = i0.ɵɵnextContext(3); return ctx_r37.updateImportance(importance_r30, i_r19); });
|
|
6740
|
-
i0.ɵɵelementEnd();
|
|
6741
|
-
i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_2_Template, 2, 1, "label", 36);
|
|
6742
|
-
i0.ɵɵtemplate(3, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_3_Template, 2, 1, "label", 36);
|
|
6743
|
-
i0.ɵɵtemplate(4, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_4_Template, 2, 1, "label", 36);
|
|
6744
|
-
i0.ɵɵelementEnd();
|
|
6745
|
-
}
|
|
6746
|
-
if (rf & 2) {
|
|
6747
|
-
var importance_r30 = ctx.$implicit;
|
|
6748
|
-
var ctx_r40 = i0.ɵɵnextContext(2);
|
|
6749
|
-
var i_r19 = ctx_r40.index;
|
|
6750
|
-
var row_r18 = ctx_r40.$implicit;
|
|
6751
|
-
i0.ɵɵadvance(1);
|
|
6752
|
-
i0.ɵɵproperty("name", "importance" + i_r19)("id", "importance-id-" + importance_r30 + i_r19)("value", importance_r30)("formControl", row_r18["controls"]["attributes"]["controls"]["importance"]);
|
|
6753
|
-
i0.ɵɵadvance(1);
|
|
6754
|
-
i0.ɵɵproperty("ngIf", importance_r30 === "primary");
|
|
6755
|
-
i0.ɵɵadvance(1);
|
|
6756
|
-
i0.ɵɵproperty("ngIf", importance_r30 === "secondary");
|
|
6757
|
-
i0.ɵɵadvance(1);
|
|
6758
|
-
i0.ɵɵproperty("ngIf", importance_r30 === "tertiary");
|
|
6759
|
-
}
|
|
6760
|
-
}
|
|
6761
|
-
function ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template(rf, ctx) {
|
|
6762
|
-
if (rf & 1) {
|
|
6763
|
-
i0.ɵɵelementStart(0, "div", 39);
|
|
6764
|
-
i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_Template, 5, 7, "div", 40);
|
|
6765
|
-
i0.ɵɵelementEnd();
|
|
6766
|
-
}
|
|
6767
|
-
if (rf & 2) {
|
|
6768
|
-
var ctx_r22 = i0.ɵɵnextContext(4);
|
|
6769
|
-
i0.ɵɵadvance(1);
|
|
6770
|
-
i0.ɵɵproperty("ngForOf", ctx_r22.getImportances());
|
|
6690
|
+
var unit_r27 = ctx.$implicit;
|
|
6691
|
+
i0.ɵɵproperty("value", unit_r27);
|
|
6771
6692
|
}
|
|
6772
6693
|
}
|
|
6773
6694
|
var _c0$1 = function (a0) { return { clickable: a0 }; };
|
|
6774
|
-
function
|
|
6695
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_label_16_img_1_Template(rf, ctx) {
|
|
6775
6696
|
if (rf & 1) {
|
|
6776
|
-
i0.ɵɵelement(0, "img",
|
|
6697
|
+
i0.ɵɵelement(0, "img", 41);
|
|
6777
6698
|
}
|
|
6778
6699
|
if (rf & 2) {
|
|
6779
6700
|
var row_r18 = i0.ɵɵnextContext(2).$implicit;
|
|
6780
|
-
var
|
|
6781
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$1,
|
|
6701
|
+
var ctx_r28 = i0.ɵɵnextContext(3);
|
|
6702
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$1, ctx_r28.ingredientsPictures.editable))("src", row_r18.controls.attributes.controls["picture-url"].value, i0.ɵɵsanitizeUrl);
|
|
6782
6703
|
}
|
|
6783
6704
|
}
|
|
6784
|
-
function
|
|
6705
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_label_16_ng_miam_icon_2_Template(rf, ctx) {
|
|
6785
6706
|
if (rf & 1) {
|
|
6786
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
6707
|
+
i0.ɵɵelement(0, "ng-miam-icon", 42);
|
|
6787
6708
|
}
|
|
6788
6709
|
if (rf & 2) {
|
|
6789
|
-
var
|
|
6790
|
-
i0.ɵɵproperty("iconName",
|
|
6710
|
+
var ctx_r29 = i0.ɵɵnextContext(5);
|
|
6711
|
+
i0.ɵɵproperty("iconName", ctx_r29.icon.Picture);
|
|
6791
6712
|
}
|
|
6792
6713
|
}
|
|
6793
|
-
function
|
|
6714
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_label_16_Template(rf, ctx) {
|
|
6794
6715
|
if (rf & 1) {
|
|
6795
|
-
i0.ɵɵelementStart(0, "label",
|
|
6796
|
-
i0.ɵɵtemplate(1,
|
|
6797
|
-
i0.ɵɵtemplate(2,
|
|
6716
|
+
i0.ɵɵelementStart(0, "label", 38);
|
|
6717
|
+
i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_label_16_img_1_Template, 1, 4, "img", 39);
|
|
6718
|
+
i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_label_16_ng_miam_icon_2_Template, 1, 1, "ng-miam-icon", 40);
|
|
6798
6719
|
i0.ɵɵelementEnd();
|
|
6799
6720
|
}
|
|
6800
6721
|
if (rf & 2) {
|
|
6801
|
-
var
|
|
6802
|
-
var i_r19 =
|
|
6803
|
-
var row_r18 =
|
|
6804
|
-
var
|
|
6722
|
+
var ctx_r31 = i0.ɵɵnextContext();
|
|
6723
|
+
var i_r19 = ctx_r31.index;
|
|
6724
|
+
var row_r18 = ctx_r31.$implicit;
|
|
6725
|
+
var ctx_r22 = i0.ɵɵnextContext(3);
|
|
6805
6726
|
i0.ɵɵpropertyInterpolate1("for", "ing-picture-", i_r19, "");
|
|
6806
6727
|
i0.ɵɵadvance(1);
|
|
6807
6728
|
i0.ɵɵproperty("ngIf", row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value);
|
|
6808
6729
|
i0.ɵɵadvance(1);
|
|
6809
|
-
i0.ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) &&
|
|
6730
|
+
i0.ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) && ctx_r22.ingredientsPictures.editable);
|
|
6810
6731
|
}
|
|
6811
6732
|
}
|
|
6812
|
-
function
|
|
6733
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_input_17_Template(rf, ctx) {
|
|
6813
6734
|
if (rf & 1) {
|
|
6814
|
-
var
|
|
6815
|
-
i0.ɵɵelementStart(0, "input",
|
|
6816
|
-
i0.ɵɵlistener("change", function
|
|
6735
|
+
var _r33_1 = i0.ɵɵgetCurrentView();
|
|
6736
|
+
i0.ɵɵelementStart(0, "input", 43);
|
|
6737
|
+
i0.ɵɵlistener("change", function ListInputComponent_ul_4_ng_template_2_li_0_input_17_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r33_1); var row_r18 = i0.ɵɵnextContext().$implicit; var ctx_r32 = i0.ɵɵnextContext(3); return ctx_r32.uploadIngredientPicture($event.target.files, row_r18.controls.attributes.controls["picture-url"]); });
|
|
6817
6738
|
i0.ɵɵelementEnd();
|
|
6818
6739
|
}
|
|
6819
6740
|
if (rf & 2) {
|
|
@@ -6821,35 +6742,35 @@
|
|
|
6821
6742
|
i0.ɵɵpropertyInterpolate1("id", "ing-picture-", i_r19, "");
|
|
6822
6743
|
}
|
|
6823
6744
|
}
|
|
6824
|
-
function
|
|
6745
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_div_19_Template(rf, ctx) {
|
|
6825
6746
|
if (rf & 1) {
|
|
6826
6747
|
i0.ɵɵelement(0, "div", 23);
|
|
6827
6748
|
}
|
|
6828
6749
|
}
|
|
6829
|
-
function
|
|
6750
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template(rf, ctx) {
|
|
6830
6751
|
if (rf & 1) {
|
|
6831
6752
|
i0.ɵɵelementStart(0, "div", 24);
|
|
6832
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
6833
|
-
i0.ɵɵelementStart(2, "span",
|
|
6753
|
+
i0.ɵɵelement(1, "ng-miam-icon", 44);
|
|
6754
|
+
i0.ɵɵelementStart(2, "span", 45);
|
|
6834
6755
|
i0.ɵɵtext(3);
|
|
6835
6756
|
i0.ɵɵpipe(4, "capitalizeFirstLetter");
|
|
6836
6757
|
i0.ɵɵelementEnd();
|
|
6837
|
-
i0.ɵɵelementStart(5, "span",
|
|
6758
|
+
i0.ɵɵelementStart(5, "span", 45);
|
|
6838
6759
|
i0.ɵɵtext(6);
|
|
6839
6760
|
i0.ɵɵelementEnd();
|
|
6840
|
-
i0.ɵɵelementStart(7, "span",
|
|
6761
|
+
i0.ɵɵelementStart(7, "span", 45);
|
|
6841
6762
|
i0.ɵɵtext(8);
|
|
6842
6763
|
i0.ɵɵelementEnd();
|
|
6843
6764
|
i0.ɵɵelementEnd();
|
|
6844
6765
|
}
|
|
6845
6766
|
if (rf & 2) {
|
|
6846
6767
|
var row_r18 = i0.ɵɵnextContext().$implicit;
|
|
6847
|
-
var
|
|
6768
|
+
var ctx_r25 = i0.ɵɵnextContext(3);
|
|
6848
6769
|
var tmp_1_0 = null;
|
|
6849
6770
|
var tmp_2_0 = null;
|
|
6850
6771
|
var tmp_3_0 = null;
|
|
6851
6772
|
i0.ɵɵadvance(1);
|
|
6852
|
-
i0.ɵɵproperty("iconName",
|
|
6773
|
+
i0.ɵɵproperty("iconName", ctx_r25.icon.Grip);
|
|
6853
6774
|
i0.ɵɵadvance(2);
|
|
6854
6775
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 4, row_r18 == null ? null : (tmp_1_0 = row_r18.get("attributes")) == null ? null : tmp_1_0.get("name").value));
|
|
6855
6776
|
i0.ɵɵadvance(3);
|
|
@@ -6860,7 +6781,7 @@
|
|
|
6860
6781
|
}
|
|
6861
6782
|
function ListInputComponent_ul_4_ng_template_2_li_0_Template(rf, ctx) {
|
|
6862
6783
|
if (rf & 1) {
|
|
6863
|
-
var
|
|
6784
|
+
var _r38_1 = i0.ɵɵgetCurrentView();
|
|
6864
6785
|
i0.ɵɵelementStart(0, "li", 14);
|
|
6865
6786
|
i0.ɵɵelementStart(1, "div", 27);
|
|
6866
6787
|
i0.ɵɵelementStart(2, "div", 28);
|
|
@@ -6874,24 +6795,23 @@
|
|
|
6874
6795
|
i0.ɵɵtemplate(9, ListInputComponent_ul_4_ng_template_2_li_0_option_9_Template, 2, 3, "option", 31);
|
|
6875
6796
|
i0.ɵɵelementEnd();
|
|
6876
6797
|
i0.ɵɵelementStart(10, "input", 32);
|
|
6877
|
-
i0.ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(
|
|
6798
|
+
i0.ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(_r38_1); var i_r19 = ctx.index; var ctx_r37 = i0.ɵɵnextContext(3); return ctx_r37.updateQuantityValue($event, i_r19); });
|
|
6878
6799
|
i0.ɵɵelementEnd();
|
|
6879
6800
|
i0.ɵɵelement(11, "input", 33);
|
|
6880
6801
|
i0.ɵɵpipe(12, "async");
|
|
6881
6802
|
i0.ɵɵelementStart(13, "datalist");
|
|
6882
6803
|
i0.ɵɵtemplate(14, ListInputComponent_ul_4_ng_template_2_li_0_option_14_Template, 1, 1, "option", 31);
|
|
6883
6804
|
i0.ɵɵelementEnd();
|
|
6884
|
-
i0.ɵɵtemplate(15, ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template, 2, 1, "div", 34);
|
|
6885
6805
|
i0.ɵɵelementEnd();
|
|
6886
6806
|
i0.ɵɵelementEnd();
|
|
6887
|
-
i0.ɵɵelementStart(
|
|
6888
|
-
i0.ɵɵtemplate(
|
|
6889
|
-
i0.ɵɵtemplate(
|
|
6890
|
-
i0.ɵɵelementStart(
|
|
6891
|
-
i0.ɵɵlistener("click", function
|
|
6807
|
+
i0.ɵɵelementStart(15, "div", 34);
|
|
6808
|
+
i0.ɵɵtemplate(16, ListInputComponent_ul_4_ng_template_2_li_0_label_16_Template, 3, 3, "label", 35);
|
|
6809
|
+
i0.ɵɵtemplate(17, ListInputComponent_ul_4_ng_template_2_li_0_input_17_Template, 1, 1, "input", 36);
|
|
6810
|
+
i0.ɵɵelementStart(18, "ng-miam-icon", 20);
|
|
6811
|
+
i0.ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_Template_ng_miam_icon_click_18_listener() { i0.ɵɵrestoreView(_r38_1); var i_r19 = ctx.index; var ctx_r39 = i0.ɵɵnextContext(3); return ctx_r39.delete(i_r19); });
|
|
6892
6812
|
i0.ɵɵelementEnd();
|
|
6893
|
-
i0.ɵɵtemplate(
|
|
6894
|
-
i0.ɵɵtemplate(
|
|
6813
|
+
i0.ɵɵtemplate(19, ListInputComponent_ul_4_ng_template_2_li_0_div_19_Template, 1, 0, "div", 21);
|
|
6814
|
+
i0.ɵɵtemplate(20, ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template, 9, 6, "div", 22);
|
|
6895
6815
|
i0.ɵɵelementEnd();
|
|
6896
6816
|
i0.ɵɵelementEnd();
|
|
6897
6817
|
}
|
|
@@ -6904,7 +6824,7 @@
|
|
|
6904
6824
|
i0.ɵɵadvance(2);
|
|
6905
6825
|
i0.ɵɵproperty("iconName", ctx_r17.icon.Grip);
|
|
6906
6826
|
i0.ɵɵadvance(2);
|
|
6907
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(6,
|
|
6827
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(6, 18, ctx_r17.isIngredientReviewed(row_r18["controls"]["attributes"]["controls"]["name"].value)) ? "alert-success" : "alert-danger")("ngModel", i0.ɵɵpipeBind1(7, 20, row_r18["controls"]["attributes"]["controls"]["name"].value))("formControl", row_r18["controls"]["attributes"]["controls"]["name"]);
|
|
6908
6828
|
i0.ɵɵattribute("list", "miam-list-input-dropdown-ingredients-id" + i_r19);
|
|
6909
6829
|
i0.ɵɵadvance(3);
|
|
6910
6830
|
i0.ɵɵattribute("id", "miam-list-input-dropdown-ingredients-id" + i_r19);
|
|
@@ -6913,14 +6833,12 @@
|
|
|
6913
6833
|
i0.ɵɵadvance(1);
|
|
6914
6834
|
i0.ɵɵproperty("ngModel", row_r18["controls"]["attributes"]["controls"]["quantity"].value)("formControl", row_r18["controls"]["attributes"]["controls"]["quantity"]);
|
|
6915
6835
|
i0.ɵɵadvance(1);
|
|
6916
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(12,
|
|
6836
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(12, 22, ctx_r17.isQuantityReviewed(row_r18["controls"]["attributes"]["controls"]["unit"].value)) ? "alert-success" : "alert-danger")("formControl", row_r18["controls"]["attributes"]["controls"]["unit"]);
|
|
6917
6837
|
i0.ɵɵattribute("list", "miam-list-input-dropdown-units-id" + i_r19);
|
|
6918
6838
|
i0.ɵɵadvance(2);
|
|
6919
6839
|
i0.ɵɵattribute("id", "miam-list-input-dropdown-units-id" + i_r19);
|
|
6920
6840
|
i0.ɵɵadvance(1);
|
|
6921
6841
|
i0.ɵɵproperty("ngForOf", ctx_r17.getFilteredUnitsFromIndex(i_r19));
|
|
6922
|
-
i0.ɵɵadvance(1);
|
|
6923
|
-
i0.ɵɵproperty("ngIf", ctx_r17.getImportances().length > 0);
|
|
6924
6842
|
i0.ɵɵadvance(2);
|
|
6925
6843
|
i0.ɵɵproperty("ngIf", ctx_r17.ingredientsPictures.visible);
|
|
6926
6844
|
i0.ɵɵadvance(1);
|
|
@@ -6931,7 +6849,7 @@
|
|
|
6931
6849
|
}
|
|
6932
6850
|
function ListInputComponent_ul_4_ng_template_2_Template(rf, ctx) {
|
|
6933
6851
|
if (rf & 1) {
|
|
6934
|
-
i0.ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template,
|
|
6852
|
+
i0.ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template, 21, 24, "li", 13);
|
|
6935
6853
|
}
|
|
6936
6854
|
if (rf & 2) {
|
|
6937
6855
|
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
@@ -6940,9 +6858,9 @@
|
|
|
6940
6858
|
}
|
|
6941
6859
|
function ListInputComponent_ul_4_Template(rf, ctx) {
|
|
6942
6860
|
if (rf & 1) {
|
|
6943
|
-
var
|
|
6861
|
+
var _r41_1 = i0.ɵɵgetCurrentView();
|
|
6944
6862
|
i0.ɵɵelementStart(0, "ul", 10);
|
|
6945
|
-
i0.ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(
|
|
6863
|
+
i0.ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(_r41_1); var ctx_r40 = i0.ɵɵnextContext(); return ctx_r40.drop($event); });
|
|
6946
6864
|
i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_container_1_Template, 2, 2, "ng-container", 11);
|
|
6947
6865
|
i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_Template, 1, 2, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
6948
6866
|
i0.ɵɵelementEnd();
|
|
@@ -6956,9 +6874,9 @@
|
|
|
6956
6874
|
}
|
|
6957
6875
|
function ListInputComponent_ng_template_5_Template(rf, ctx) {
|
|
6958
6876
|
if (rf & 1) {
|
|
6959
|
-
i0.ɵɵelementStart(0, "div",
|
|
6960
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
6961
|
-
i0.ɵɵelementStart(2, "span",
|
|
6877
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
6878
|
+
i0.ɵɵelement(1, "ng-miam-icon", 47);
|
|
6879
|
+
i0.ɵɵelementStart(2, "span", 48);
|
|
6962
6880
|
i0.ɵɵtext(3);
|
|
6963
6881
|
i0.ɵɵelementEnd();
|
|
6964
6882
|
i0.ɵɵelementEnd();
|
|
@@ -6973,7 +6891,7 @@
|
|
|
6973
6891
|
}
|
|
6974
6892
|
function ListInputComponent_div_13_Template(rf, ctx) {
|
|
6975
6893
|
if (rf & 1) {
|
|
6976
|
-
i0.ɵɵelementStart(0, "div",
|
|
6894
|
+
i0.ɵɵelementStart(0, "div", 49);
|
|
6977
6895
|
i0.ɵɵtext(1);
|
|
6978
6896
|
i0.ɵɵelementEnd();
|
|
6979
6897
|
}
|
|
@@ -6989,7 +6907,6 @@
|
|
|
6989
6907
|
this.fb = fb;
|
|
6990
6908
|
this.cdr = cdr;
|
|
6991
6909
|
this.placeholder = '';
|
|
6992
|
-
this.isPersonal = false;
|
|
6993
6910
|
this.list = new i15.FormArray([]);
|
|
6994
6911
|
this.ingredientsPictures = { visible: false, editable: false };
|
|
6995
6912
|
this.icon = exports.Icon;
|
|
@@ -7022,11 +6939,7 @@
|
|
|
7022
6939
|
attributes: _this.fb.group({
|
|
7023
6940
|
quantity: new i15.FormControl(ing.attributes.quantity, i15.Validators.required),
|
|
7024
6941
|
unit: new i15.FormControl(ing.attributes.unit, i15.Validators.required),
|
|
7025
|
-
name: new i15.FormControl(ing.attributes.name, i15.Validators.required)
|
|
7026
|
-
// importance: new FormControl(ing.attributes.importance,
|
|
7027
|
-
// this.isPersonal ? Validators.nullValidator : Validators.required),
|
|
7028
|
-
// Not mandatory for the moment, decomment above if mandatory later
|
|
7029
|
-
importance: new i15.FormControl(ing.attributes.importance, i15.Validators.nullValidator),
|
|
6942
|
+
name: new i15.FormControl(ing.attributes.name, i15.Validators.required)
|
|
7030
6943
|
})
|
|
7031
6944
|
}));
|
|
7032
6945
|
_this.previousQuantities.push(ing.attributes.quantity);
|
|
@@ -7155,26 +7068,10 @@
|
|
|
7155
7068
|
}
|
|
7156
7069
|
return filteredSelection;
|
|
7157
7070
|
};
|
|
7158
|
-
/**
|
|
7159
|
-
* function that returns an Array of importances
|
|
7160
|
-
*/
|
|
7161
|
-
ListInputComponent.prototype.getImportances = function () {
|
|
7162
|
-
return ['primary', 'secondary', 'tertiary'];
|
|
7163
|
-
};
|
|
7164
|
-
/**
|
|
7165
|
-
* updates the importance of a given ingredient
|
|
7166
|
-
* @param value new value
|
|
7167
|
-
* @param index of the ingredient
|
|
7168
|
-
*/
|
|
7169
|
-
ListInputComponent.prototype.updateImportance = function (value, index) {
|
|
7170
|
-
this.list.controls[index]['controls']['attributes']['controls']['importance'].value = value;
|
|
7171
|
-
this.cdr.detectChanges();
|
|
7172
|
-
this.list.markAsDirty();
|
|
7173
|
-
};
|
|
7174
7071
|
return ListInputComponent;
|
|
7175
7072
|
}());
|
|
7176
7073
|
ListInputComponent.ɵfac = function ListInputComponent_Factory(t) { return new (t || ListInputComponent)(i0.ɵɵdirectiveInject(IngredientsService), i0.ɵɵdirectiveInject(i15.FormBuilder), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
7177
|
-
ListInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode",
|
|
7074
|
+
ListInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode", list: "list", ingredientsPictures: "ingredientsPictures" }, outputs: { deleteId: "deleteId", orderHasChanged: "orderHasChanged" }, decls: 14, vars: 7, consts: [[1, "miam-list-input"], [1, "miam-list-input__list", 3, "formGroup"], [1, "miam-list-input__list__label"], ["class", "miam-list-input__container m-default-card", "cdkDropList", "", 3, "cdkDropListDropped", 4, "ngIf", "ngIfElse"], ["hintPlaceholder", ""], [1, "miam-list-input__actions"], ["matInput", "", "cdkTextareaAutosize", "", "cdkAutosizeMinRows", "4", "cdkAutosizeMaxRows", "4", 1, "m-input", 3, "formControl", "keydown.enter"], [1, "m-button-primary", 3, "mousedown", "mouseup"], [1, "miam-list-input__instructions__direction"], ["class", "miam-list-input__actions__instructions", 4, "ngIf"], ["cdkDropList", "", 1, "miam-list-input__container", "m-default-card", 3, "cdkDropListDropped"], [4, "ngIf", "ngIfElse"], ["ingredientRow", ""], ["cdkDrag", "", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", ""], [3, "formGroup"], [1, "miam-list-input__container__row", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 1, "miam-list-input__row__grip", 3, "iconName"], ["cdkTextareaAutosize", "true", "cdkAutosizeMinRows", "1", "cdkAutosizeMaxRows", "50", "formControlName", "description", 1, "m-input", 3, "blur"], ["autosize", "cdkTextareaAutosize"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName", "click"], ["class", "miam-list-input__row__placeholder", 4, "cdkDragPlaceholder"], ["class", "miam-list-input__row__preview m-default-card", 4, "cdkDragPreview"], [1, "miam-list-input__row__placeholder"], [1, "miam-list-input__row__preview", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 3, "iconName"], [1, "miam-list-input__preview__text", "m-body-typo"], [1, "miam-list-input__container__row", "m-default-card", 3, "formGroupName"], [1, "miam-list-input__row__left"], [1, "miam-list-input__row__right"], [1, "m-input", 3, "ngClass", "ngModel", "formControl"], [3, "value", 4, "ngFor", "ngForOf"], ["maxSize", "4", "autoWidthInput", "", 1, "m-input", 3, "ngModel", "formControl", "ngModelChange"], ["maxSize", "8", "autoWidthInput", "", 1, "m-input", 3, "ngClass", "formControl"], [1, "miam-list-input__row__controls"], [3, "for", 4, "ngIf"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change", 4, "ngIf"], [3, "value"], [3, "for"], ["class", "miam-list-input__row__picture", 3, "ngClass", "src", 4, "ngIf"], ["class", "miam-list-input__row__trash", "primaryColor", "var(--m-color-grey05)", 3, "iconName", 4, "ngIf"], [1, "miam-list-input__row__picture", 3, "ngClass", "src"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change"], ["primaryColor", "var(--m-color-grey-text-dark)", "cdkDragHandle", "", 3, "iconName"], [1, "m-body-typo"], [1, "miam-list-input__placeholder", "miam-list-input__container", "m-default-card"], ["primaryColor", "var(--m-color-grey-text-dark)", 3, "width", "height", "iconName"], [1, "miam-list-input__placeholder__hint", "m-body-typo"], [1, "miam-list-input__actions__instructions"]], template: function ListInputComponent_Template(rf, ctx) {
|
|
7178
7075
|
if (rf & 1) {
|
|
7179
7076
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7180
7077
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -7213,7 +7110,7 @@
|
|
|
7213
7110
|
i0.ɵɵadvance(5);
|
|
7214
7111
|
i0.ɵɵproperty("ngIf", ctx.instructions);
|
|
7215
7112
|
}
|
|
7216
|
-
}, directives: [i15.NgControlStatusGroup, i15.FormGroupDirective, i4.NgIf, i4$1.CdkTextareaAutosize, i15.DefaultValueAccessor, i15.NgControlStatus, i15.FormControlDirective, i5.CdkDropList, i4.NgForOf, i5.CdkDrag, IconComponent, i5.CdkDragHandle, i15.FormControlName, i5.CdkDragPlaceholder, i5.CdkDragPreview, i15.FormGroupName, i4.NgClass, AutowidthInputDirective, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x, i15.RadioControlValueAccessor], pipes: [i4.AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-list-input[_ngcontent-%COMP%]{padding:8px}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%]{width:calc(100% - 16px)}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{margin-top:50px;position:relative}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{width:55%}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__list__label[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);border-radius:8px 8px 0 0;color:var(--m-color-secondary);font-weight:700;left:0;padding:8px 24px;position:absolute;top:-33px;width:200px;z-index:0}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:400px;margin-bottom:32px;overflow-x:hidden;overflow-y:auto;position:inherit;z-index:1}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{height:55vh;margin-bottom:16px;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-button{height:20px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;row-gap:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:16px;align-items:center;column-gap:16px;display:flex;list-style:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:0;column-gap:0}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;flex:1;flex-direction:row;gap:16px;user-select:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{margin-right:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{max-width:unset;padding:inherit}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin:unset;max-width:unset;min-width:unset}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:60vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{cursor:move}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{margin-left:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;width:200px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{align-items:center;display:flex;flex:1;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-right:8px;width:80px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:first-child{flex:1}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:last-child{margin-right:0;text-align:right}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%] .miam-list-input__importance__radio[_ngcontent-%COMP%]{display:flex;flex-direction:row;line-height:24px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%] .miam-list-input__importance__radio[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:var(--m-color-slate);font-size:var(--m-font-size-medium);font-style:normal;font-weight:500}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%] .miam-list-input__importance__radio[_ngcontent-%COMP%] .ng-invalid[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:var(--m-color-danger)}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{flex-wrap:wrap}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{flex:1;margin-bottom:8px;margin-right:4px}}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{max-width:60vw}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:58vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-success[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-success);border-radius:8px;box-shadow:0 0 4px var(--m-color-success)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-danger[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-danger);border-radius:8px;box-shadow:0 0 4px var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%]{align-items:center;display:flex;gap:8px;justify-content:space-between}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;justify-content:center;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture.clickable[_ngcontent-%COMP%]{cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] .miam-list-input__row__trash[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;margin:0;max-width:none;outline:none;padding:5px;resize:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.warnning[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.error[_ngcontent-%COMP%]{background-color:var(--m-color-danger);color:var(--m-color-danger-text)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[cdktextareaautosize][_ngcontent-%COMP%]{overflow:hidden}.miam-list-input[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;font-size:12px;font-weight:600;padding-bottom:10px}.miam-list-input[_ngcontent-%COMP%] .hint.warnning[_ngcontent-%COMP%]{color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .hint.error[_ngcontent-%COMP%]{color:var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%]{align-items:center;justify-content:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%] .miam-list-input__placeholder__hint[_ngcontent-%COMP%]{color:var(--m-color-secondary);margin-top:40px;opacity:.5;text-align:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{-moz-column-gap:32px;column-gap:32px;display:flex;justify-content:space-between}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{width:calc(45% - 32px)}}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{flex-direction:column}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1;margin-top:0;outline:none;resize:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{background-color:var(--m-color-info);border-radius:8px;color:var(--m-color-info-text);max-width:calc(98vw - 776px);padding:8px;position:absolute;top:315px;white-space:pre-line;width:400px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{margin-top:16px;max-width:unset;position:unset;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{margin-left:4px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{display:none}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.miam-list-input__row__preview[_ngcontent-%COMP%]{align-items:center;display:flex;width:530px}@media (max-width:1023px){.miam-list-input__row__preview[_ngcontent-%COMP%]{flex-wrap:wrap;width:80vw}}.miam-list-input__row__preview[_ngcontent-%COMP%] .miam-list-input__preview__text[_ngcontent-%COMP%]{padding:5px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{flex:1;flex-shrink:1;margin-left:8px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2n){margin-right:8px}.miam-list-input__row__placeholder[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;background:var(--m-color-grey07);border-radius:8px;margin-right:24px;min-height:60px;user-select:none}.cdk-drag-animating[_ngcontent-%COMP%], .miam-list-input__row__placeholder[_ngcontent-%COMP%], ul.cdk-drop-list-dragging[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"] });
|
|
7113
|
+
}, directives: [i15.NgControlStatusGroup, i15.FormGroupDirective, i4.NgIf, i4$1.CdkTextareaAutosize, i15.DefaultValueAccessor, i15.NgControlStatus, i15.FormControlDirective, i5.CdkDropList, i4.NgForOf, i5.CdkDrag, IconComponent, i5.CdkDragHandle, i15.FormControlName, i5.CdkDragPlaceholder, i5.CdkDragPreview, i15.FormGroupName, i4.NgClass, AutowidthInputDirective, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x], pipes: [i4.AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-list-input[_ngcontent-%COMP%]{padding:8px}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%]{width:calc(100% - 16px)}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{margin-top:50px;position:relative}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{width:55%}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__list__label[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);border-radius:8px 8px 0 0;color:var(--m-color-secondary);font-weight:700;left:0;padding:8px 24px;position:absolute;top:-33px;width:200px;z-index:0}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:400px;margin-bottom:32px;overflow-x:hidden;overflow-y:auto;position:inherit;z-index:1}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{height:55vh;margin-bottom:16px;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-button{height:20px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;row-gap:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:16px;align-items:center;column-gap:16px;display:flex;list-style:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:0;column-gap:0}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;flex:1;flex-direction:row;gap:16px;user-select:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{margin-right:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{max-width:unset;padding:inherit}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin:unset;max-width:unset;min-width:unset}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:60vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{cursor:move}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{margin-left:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;width:200px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{align-items:center;display:flex;flex:1;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-right:8px;width:80px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:first-child{flex:1}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:last-child{margin-right:0;text-align:right}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{flex-wrap:wrap}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{flex:1;margin-bottom:8px;margin-right:4px}}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{max-width:60vw}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:58vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-success[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-success);border-radius:8px;box-shadow:0 0 4px var(--m-color-success)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-danger[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-danger);border-radius:8px;box-shadow:0 0 4px var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%]{align-items:center;display:flex;gap:8px;justify-content:space-between}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;justify-content:center;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture.clickable[_ngcontent-%COMP%]{cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] .miam-list-input__row__trash[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;margin:0;max-width:none;outline:none;padding:5px;resize:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.warnning[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.error[_ngcontent-%COMP%]{background-color:var(--m-color-danger);color:var(--m-color-danger-text)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[cdktextareaautosize][_ngcontent-%COMP%]{overflow:hidden}.miam-list-input[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;font-size:12px;font-weight:600;padding-bottom:10px}.miam-list-input[_ngcontent-%COMP%] .hint.warnning[_ngcontent-%COMP%]{color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .hint.error[_ngcontent-%COMP%]{color:var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%]{align-items:center;justify-content:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%] .miam-list-input__placeholder__hint[_ngcontent-%COMP%]{color:var(--m-color-secondary);margin-top:40px;opacity:.5;text-align:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{-moz-column-gap:32px;column-gap:32px;display:flex;justify-content:space-between}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{width:calc(45% - 32px)}}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{flex-direction:column}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1;margin-top:0;outline:none;resize:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{background-color:var(--m-color-info);border-radius:8px;color:var(--m-color-info-text);max-width:calc(98vw - 776px);padding:8px;position:absolute;top:315px;white-space:pre-line;width:400px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{margin-top:16px;max-width:unset;position:unset;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{margin-left:4px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{display:none}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.miam-list-input__row__preview[_ngcontent-%COMP%]{align-items:center;display:flex;width:530px}@media (max-width:1023px){.miam-list-input__row__preview[_ngcontent-%COMP%]{flex-wrap:wrap;width:80vw}}.miam-list-input__row__preview[_ngcontent-%COMP%] .miam-list-input__preview__text[_ngcontent-%COMP%]{padding:5px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{flex:1;flex-shrink:1;margin-left:8px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2n){margin-right:8px}.miam-list-input__row__placeholder[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;background:var(--m-color-grey07);border-radius:8px;margin-right:24px;min-height:60px;user-select:none}.cdk-drag-animating[_ngcontent-%COMP%], .miam-list-input__row__placeholder[_ngcontent-%COMP%], ul.cdk-drop-list-dragging[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"] });
|
|
7217
7114
|
/*@__PURE__*/ (function () {
|
|
7218
7115
|
i0.ɵsetClassMetadata(ListInputComponent, [{
|
|
7219
7116
|
type: i0.Component,
|
|
@@ -7232,8 +7129,6 @@
|
|
|
7232
7129
|
type: i0.Input
|
|
7233
7130
|
}], ingredientMode: [{
|
|
7234
7131
|
type: i0.Input
|
|
7235
|
-
}], isPersonal: [{
|
|
7236
|
-
type: i0.Input
|
|
7237
7132
|
}], list: [{
|
|
7238
7133
|
type: i0.Input
|
|
7239
7134
|
}], ingredientsPictures: [{
|
|
@@ -8040,7 +7935,7 @@
|
|
|
8040
7935
|
i0.ɵɵadvance(1);
|
|
8041
7936
|
i0.ɵɵproperty("ngClass", ctx.recipeLike.isPast == false ? "active" : "")("width", ctx.width)("height", ctx.height)("iconName", ctx.icon.HeartFull);
|
|
8042
7937
|
}
|
|
8043
|
-
}, directives: [IconComponent, i4.NgClass], styles: [".miam-like-button.m-button-primary.reverse{border-color:transparent;padding:8px;position:relative}.miam-like-button.m-button-primary.reverse ng-miam-icon{margin:0}.miam-like-button.m-button-primary.reverse ng-miam-icon.full{position:absolute}.miam-like-button.m-button-primary.reverse ng-miam-icon.full .icon-container{opacity:0;transition:visibility 0s,opacity .5s linear;visibility:hidden}.miam-like-button.m-button-primary.reverse ng-miam-icon.full.active .icon-container{opacity:1;visibility:visible}
|
|
7938
|
+
}, directives: [IconComponent, i4.NgClass], styles: [".miam-like-button.m-button-primary.reverse{border-color:transparent;padding:8px;position:relative}.miam-like-button.m-button-primary.reverse ng-miam-icon{margin:0}.miam-like-button.m-button-primary.reverse ng-miam-icon.full{position:absolute}.miam-like-button.m-button-primary.reverse ng-miam-icon.full .icon-container{opacity:0;transition:visibility 0s,opacity .5s linear;visibility:hidden}.miam-like-button.m-button-primary.reverse ng-miam-icon.full.active .icon-container{opacity:1;visibility:visible}.miam-like-button.m-button-primary.reverse:hover{background-color:#ececec}.miam-like-button.m-button-primary.reverse:hover .icon-container svg path{fill:var(--m-color-primary)}"], encapsulation: 2, changeDetection: 0 });
|
|
8044
7939
|
/*@__PURE__*/ (function () {
|
|
8045
7940
|
i0.ɵsetClassMetadata(LikeButtonComponent, [{
|
|
8046
7941
|
type: i0.Component,
|
|
@@ -8936,7 +8831,7 @@
|
|
|
8936
8831
|
i0.ɵɵadvance(1);
|
|
8937
8832
|
i0.ɵɵproperty("ngIf", ctx.isLogged && i0.ɵɵpipeBind1(26, 9, ctx.usersService.preferencesActivated$));
|
|
8938
8833
|
}
|
|
8939
|
-
}, directives: [i4.NgClass, IconComponent, i4.NgForOf, i4.NgIf, i15.CheckboxControlValueAccessor, i15.NgControlStatus, i15.NgModel], 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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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-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}@media (min-width:1023px){#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-recipe-filters{left:0;position:absolute;top:0;z-index:calc(var(--m-z-index-modal-overlay) - 1)}.miam-recipe-filters.filter-collapsed{display:none}.miam-recipe-filters.right{border-left:1px solid #ccc;border-right:0;box-shadow:0 -8px 28px 0 rgba(0,0,0,.07058823529411765);left:unset;right:-1px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:var(--m-border-radius-pill);border-bottom-right-radius:0;border-right:0!important;border-top-left-radius:var(--m-border-radius-pill);border-top-right-radius:0;left:unset;padding:12px 4px 12px 12px;right:320px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(-90deg)}.miam-recipe-filters:not(.right) .m-button-primary.reverse.miam-recipe-filters__toggle{border-left:0!important}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:0;border-bottom-right-radius:var(--m-border-radius-pill);border-top-left-radius:0;border-top-right-radius:var(--m-border-radius-pill);left:320px;padding:12px 12px 12px 4px;position:absolute;top:41px}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle:hover ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-white)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(90deg)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path{fill:none}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-primary)}.miam-recipe-filters .miam-recipe-filters__content{background-color:var(--m-color-white);border-bottom:1px solid #ccc;border-right:1px solid #ccc;box-shadow:0 8px 28px 0 rgba(0,0,0,.07058823529411765);height:100%;overflow-y:auto;padding:24px;width:320px}.miam-recipe-filters .miam-recipe-filters__head{color:var(--m-color-primary);font-size:21px;font-weight:700;line-height:24px;margin-bottom:48px}.miam-recipe-filters .miam-recipe-filters__container{opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1)}.miam-recipe-filters .miam-recipe-filters__container.filter-collapsed{opacity:0;transition:none}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details{align-items:center;background-color:var(--m-color-grey);display:flex;flex-flow:row wrap;margin-bottom:24px;min-height:10vh;padding-top:8px;position:-webkit-sticky;position:sticky;top:0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail__title{margin-bottom:16px;padding:0 24px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail{align-items:center;border:1px solid var(--m-color-primary);border-radius:4px;display:flex;margin:0 0 16px 8px;padding:8px 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail .miam-recipe-filter__detail__icon .icon-container{margin:0 0 0 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__title{font-size:16px;font-weight:700;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice{display:flex;font-size:16px;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice:first-letter{text-transform:capitalize}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice input{cursor:pointer;height:20px;margin:0 12px 0 0;width:20px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__separator{background-color:#e9e9e9;height:1px;margin:24px 0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__remove{cursor:pointer;margin:40px 0 24px;text-align:center}.miam-recipe-filters .miam-recipe-filters__container .m-button-primary.miam-recipe-filters__confirm{border-radius:0;font-size:16px;font-weight:700;height:60px;width:100%}@media (max-width:607px){.miam-recipe-filters{bottom:-1px;left:-1px!important;position:fixed;right:-1px!important;top:-1px;z-index:var(--m-z-index-modal)}.miam-recipe-filters .miam-recipe-filters__toggle{left:unset!important;right:8px!important;top:11px!important;z-index:calc(var(--m-z-index-modal) + 1px)}.miam-recipe-filters:not(.right) .miam-recipe-filters__toggle{transform:rotate(180deg)}.miam-recipe-filters .miam-recipe-filters__content{width:100%}}"], encapsulation: 2, changeDetection: 0 });
|
|
8834
|
+
}, directives: [i4.NgClass, IconComponent, i4.NgForOf, i4.NgIf, i15.CheckboxControlValueAccessor, i15.NgControlStatus, i15.NgModel], 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-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-recipe-filters{left:0;position:absolute;top:0;z-index:calc(var(--m-z-index-modal-overlay) - 1)}.miam-recipe-filters.filter-collapsed{display:none}.miam-recipe-filters.right{border-left:1px solid #ccc;border-right:0;box-shadow:0 -8px 28px 0 rgba(0,0,0,.07058823529411765);left:unset;right:-1px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:var(--m-border-radius-pill);border-bottom-right-radius:0;border-right:0!important;border-top-left-radius:var(--m-border-radius-pill);border-top-right-radius:0;left:unset;padding:12px 4px 12px 12px;right:320px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(-90deg)}.miam-recipe-filters:not(.right) .m-button-primary.reverse.miam-recipe-filters__toggle{border-left:0!important}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:0;border-bottom-right-radius:var(--m-border-radius-pill);border-top-left-radius:0;border-top-right-radius:var(--m-border-radius-pill);left:320px;padding:12px 12px 12px 4px;position:absolute;top:41px}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle:hover ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-white)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(90deg)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path{fill:none}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-primary)}.miam-recipe-filters .miam-recipe-filters__content{background-color:var(--m-color-white);border-bottom:1px solid #ccc;border-right:1px solid #ccc;box-shadow:0 8px 28px 0 rgba(0,0,0,.07058823529411765);height:100%;overflow-y:auto;padding:24px;width:320px}.miam-recipe-filters .miam-recipe-filters__head{color:var(--m-color-primary);font-size:21px;font-weight:700;line-height:24px;margin-bottom:48px}.miam-recipe-filters .miam-recipe-filters__container{opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1)}.miam-recipe-filters .miam-recipe-filters__container.filter-collapsed{opacity:0;transition:none}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details{align-items:center;background-color:var(--m-color-grey);display:flex;flex-flow:row wrap;margin-bottom:24px;min-height:10vh;padding-top:8px;position:-webkit-sticky;position:sticky;top:0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail__title{margin-bottom:16px;padding:0 24px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail{align-items:center;border:1px solid var(--m-color-primary);border-radius:4px;display:flex;margin:0 0 16px 8px;padding:8px 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail .miam-recipe-filter__detail__icon .icon-container{margin:0 0 0 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__title{font-size:16px;font-weight:700;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice{display:flex;font-size:16px;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice:first-letter{text-transform:capitalize}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice input{cursor:pointer;height:20px;margin:0 12px 0 0;width:20px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__separator{background-color:#e9e9e9;height:1px;margin:24px 0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__remove{cursor:pointer;margin:40px 0 24px;text-align:center}.miam-recipe-filters .miam-recipe-filters__container .m-button-primary.miam-recipe-filters__confirm{border-radius:0;font-size:16px;font-weight:700;height:60px;width:100%}@media (max-width:607px){.miam-recipe-filters{bottom:-1px;left:-1px!important;position:fixed;right:-1px!important;top:-1px;z-index:var(--m-z-index-modal)}.miam-recipe-filters .miam-recipe-filters__toggle{left:unset!important;right:8px!important;top:11px!important;z-index:calc(var(--m-z-index-modal) + 1px)}.miam-recipe-filters:not(.right) .miam-recipe-filters__toggle{transform:rotate(180deg)}.miam-recipe-filters .miam-recipe-filters__content{width:100%}}"], encapsulation: 2, changeDetection: 0 });
|
|
8940
8835
|
/*@__PURE__*/ (function () {
|
|
8941
8836
|
i0.ɵsetClassMetadata(RecipeFiltersComponent, [{
|
|
8942
8837
|
type: i0.Component,
|
|
@@ -9360,78 +9255,56 @@
|
|
|
9360
9255
|
}] });
|
|
9361
9256
|
})();
|
|
9362
9257
|
|
|
9363
|
-
function
|
|
9364
|
-
|
|
9365
|
-
i0.ɵɵelementStart(0, "div", 6);
|
|
9366
|
-
i0.ɵɵelementStart(1, "a", 7);
|
|
9367
|
-
i0.ɵɵelementStart(2, "span");
|
|
9368
|
-
i0.ɵɵtext(3, " Plus d'informations ");
|
|
9369
|
-
i0.ɵɵelementEnd();
|
|
9370
|
-
i0.ɵɵelementEnd();
|
|
9371
|
-
i0.ɵɵelementEnd();
|
|
9372
|
-
}
|
|
9373
|
-
if (rf & 2) {
|
|
9374
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
9375
|
-
i0.ɵɵadvance(1);
|
|
9376
|
-
i0.ɵɵproperty("href", ctx_r0.context.miam.router.recipeInfo, i0.ɵɵsanitizeUrl);
|
|
9377
|
-
}
|
|
9378
|
-
}
|
|
9379
|
-
var ExplainBannerComponent = /** @class */ (function () {
|
|
9380
|
-
function ExplainBannerComponent(context) {
|
|
9381
|
-
this.context = context;
|
|
9258
|
+
var ExplaineBannerComponent = /** @class */ (function () {
|
|
9259
|
+
function ExplaineBannerComponent() {
|
|
9382
9260
|
this.icon = exports.Icon;
|
|
9383
9261
|
}
|
|
9384
|
-
return
|
|
9262
|
+
return ExplaineBannerComponent;
|
|
9385
9263
|
}());
|
|
9386
|
-
|
|
9387
|
-
|
|
9264
|
+
ExplaineBannerComponent.ɵfac = function ExplaineBannerComponent_Factory(t) { return new (t || ExplaineBannerComponent)(); };
|
|
9265
|
+
ExplaineBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ExplaineBannerComponent, selectors: [["ng-miam-explaine-banner"]], decls: 13, vars: 9, consts: [[1, "miam-explaine-banner"], [1, "miam-explaine-banner__step"], [1, "miam-explaine-banner__step__icon", 3, "height", "width", "iconName"], [1, "miam-explaine-banner__step__text"]], template: function ExplaineBannerComponent_Template(rf, ctx) {
|
|
9388
9266
|
if (rf & 1) {
|
|
9389
9267
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9390
9268
|
i0.ɵɵelementStart(1, "div", 1);
|
|
9391
|
-
i0.ɵɵ
|
|
9392
|
-
i0.ɵɵ
|
|
9393
|
-
i0.ɵɵ
|
|
9394
|
-
i0.ɵɵtext(5, "Je choisis l'id\u00E9e repas qui me pla\u00EEt");
|
|
9395
|
-
i0.ɵɵelementEnd();
|
|
9269
|
+
i0.ɵɵelement(2, "ng-miam-icon", 2);
|
|
9270
|
+
i0.ɵɵelementStart(3, "span", 3);
|
|
9271
|
+
i0.ɵɵtext(4, "Je choisis l'id\u00E9e repas qui me pla\u00EEt");
|
|
9396
9272
|
i0.ɵɵelementEnd();
|
|
9397
|
-
i0.ɵɵelementStart(6, "div", 2);
|
|
9398
|
-
i0.ɵɵelement(7, "ng-miam-icon", 3);
|
|
9399
|
-
i0.ɵɵelementStart(8, "span", 4);
|
|
9400
|
-
i0.ɵɵtext(9, "Je d\u00E9finis le nombre de gourmands");
|
|
9401
9273
|
i0.ɵɵelementEnd();
|
|
9274
|
+
i0.ɵɵelementStart(5, "div", 1);
|
|
9275
|
+
i0.ɵɵelement(6, "ng-miam-icon", 2);
|
|
9276
|
+
i0.ɵɵelementStart(7, "span", 3);
|
|
9277
|
+
i0.ɵɵtext(8, "Je d\u00E9finis le nombre de gourmands");
|
|
9402
9278
|
i0.ɵɵelementEnd();
|
|
9403
|
-
i0.ɵɵelementStart(10, "div", 2);
|
|
9404
|
-
i0.ɵɵelement(11, "ng-miam-icon", 3);
|
|
9405
|
-
i0.ɵɵelementStart(12, "span", 4);
|
|
9406
|
-
i0.ɵɵtext(13, "J\u2019ajoute en 1 clic tous les ingr\u00E9dients");
|
|
9407
9279
|
i0.ɵɵelementEnd();
|
|
9280
|
+
i0.ɵɵelementStart(9, "div", 1);
|
|
9281
|
+
i0.ɵɵelement(10, "ng-miam-icon", 2);
|
|
9282
|
+
i0.ɵɵelementStart(11, "span", 3);
|
|
9283
|
+
i0.ɵɵtext(12, "J\u2019ajoute en 1 clic tous les ingr\u00E9dients");
|
|
9408
9284
|
i0.ɵɵelementEnd();
|
|
9409
9285
|
i0.ɵɵelementEnd();
|
|
9410
|
-
i0.ɵɵtemplate(14, ExplainBannerComponent_div_14_Template, 4, 1, "div", 5);
|
|
9411
9286
|
i0.ɵɵelementEnd();
|
|
9412
9287
|
}
|
|
9413
9288
|
if (rf & 2) {
|
|
9414
|
-
i0.ɵɵadvance(
|
|
9415
|
-
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.
|
|
9289
|
+
i0.ɵɵadvance(2);
|
|
9290
|
+
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplaineStep1);
|
|
9416
9291
|
i0.ɵɵadvance(4);
|
|
9417
|
-
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.
|
|
9292
|
+
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplaineStep2);
|
|
9418
9293
|
i0.ɵɵadvance(4);
|
|
9419
|
-
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.
|
|
9420
|
-
i0.ɵɵadvance(3);
|
|
9421
|
-
i0.ɵɵproperty("ngIf", ctx.context.miam.router.recipeInfo !== "");
|
|
9294
|
+
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplaineStep3);
|
|
9422
9295
|
}
|
|
9423
|
-
}, directives: [IconComponent
|
|
9296
|
+
}, directives: [IconComponent], styles: [".miam-explaine-banner{align-items:center;background-color:#f6f6f6;display:flex;height:200px;justify-content:space-around;margin-bottom:30px;position:relative}@media (max-width:1023px){.miam-explaine-banner{display:none}}.miam-explaine-banner:before{background:var(--m-color-white);border-radius:40%;content:\"\";height:20px;left:0;position:absolute;top:0;transform:translatey(-50%);width:100%}.miam-explaine-banner .miam-explaine-banner__step{align-items:center;display:flex;flex-direction:row;max-width:322px}.miam-explaine-banner .miam-explaine-banner__step .miam-explaine-banner__step__text{color:var(--m-color-black);font-size:20px;font-weight:900;font-weight:700;line-height:28px;margin-left:18px}"], encapsulation: 2, changeDetection: 0 });
|
|
9424
9297
|
/*@__PURE__*/ (function () {
|
|
9425
|
-
i0.ɵsetClassMetadata(
|
|
9298
|
+
i0.ɵsetClassMetadata(ExplaineBannerComponent, [{
|
|
9426
9299
|
type: i0.Component,
|
|
9427
9300
|
args: [{
|
|
9428
|
-
selector: 'ng-miam-
|
|
9429
|
-
templateUrl: './
|
|
9430
|
-
styleUrls: ['./
|
|
9301
|
+
selector: 'ng-miam-explaine-banner',
|
|
9302
|
+
templateUrl: './explaine-banner.component.html',
|
|
9303
|
+
styleUrls: ['./explaine-banner.component.scss'],
|
|
9431
9304
|
encapsulation: i0.ViewEncapsulation.None,
|
|
9432
9305
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
9433
9306
|
}]
|
|
9434
|
-
}], function () { return [
|
|
9307
|
+
}], function () { return []; }, null);
|
|
9435
9308
|
})();
|
|
9436
9309
|
|
|
9437
9310
|
var COMPONENTS = [
|
|
@@ -9457,7 +9330,7 @@
|
|
|
9457
9330
|
CardCreateRecipeComponent,
|
|
9458
9331
|
RecipeTypeChooserComponent,
|
|
9459
9332
|
ActionsPopinComponent,
|
|
9460
|
-
|
|
9333
|
+
ExplaineBannerComponent
|
|
9461
9334
|
];
|
|
9462
9335
|
var ComponentsModule = /** @class */ (function () {
|
|
9463
9336
|
function ComponentsModule() {
|
|
@@ -9496,7 +9369,7 @@
|
|
|
9496
9369
|
CardCreateRecipeComponent,
|
|
9497
9370
|
RecipeTypeChooserComponent,
|
|
9498
9371
|
ActionsPopinComponent,
|
|
9499
|
-
|
|
9372
|
+
ExplaineBannerComponent], imports: [UtilsModule,
|
|
9500
9373
|
i4.CommonModule,
|
|
9501
9374
|
i15.FormsModule,
|
|
9502
9375
|
i15.ReactiveFormsModule,
|
|
@@ -9523,7 +9396,7 @@
|
|
|
9523
9396
|
CardCreateRecipeComponent,
|
|
9524
9397
|
RecipeTypeChooserComponent,
|
|
9525
9398
|
ActionsPopinComponent,
|
|
9526
|
-
|
|
9399
|
+
ExplaineBannerComponent] });
|
|
9527
9400
|
})();
|
|
9528
9401
|
/*@__PURE__*/ (function () {
|
|
9529
9402
|
i0.ɵsetClassMetadata(ComponentsModule, [{
|
|
@@ -10686,17 +10559,12 @@
|
|
|
10686
10559
|
}),
|
|
10687
10560
|
this.blockStates.subscribe(function (newState) { return _this.handelblockState(newState); }),
|
|
10688
10561
|
this.listsService.takeFirstList().pipe(operators.switchMap(function (list) {
|
|
10689
|
-
return _this.basketsService.basketPreview$.pipe(
|
|
10690
|
-
// skipWhile(preview => !preview || preview.length === 0 || preview.length !== list.recipeInfos.length),
|
|
10691
|
-
operators.skipWhile(function (preview) { return !preview || preview.length !== list.recipeInfos.length; }), operators.tap(function (preview) { return _this.refreshPreview(preview.reverse()); }));
|
|
10562
|
+
return _this.basketsService.basketPreview$.pipe(operators.skipWhile(function (preview) { return !preview || preview.length === 0 || preview.length !== list.recipeInfos.length; }), operators.tap(function (preview) { return _this.refreshPreview(preview.reverse()); }));
|
|
10692
10563
|
})).subscribe(function () {
|
|
10693
10564
|
_this.loading.next(false);
|
|
10694
10565
|
_this.cdr.detectChanges();
|
|
10695
10566
|
}),
|
|
10696
|
-
this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe()
|
|
10697
|
-
this.posService.isPosValid().subscribe(function () {
|
|
10698
|
-
_this.cdr.detectChanges();
|
|
10699
|
-
})
|
|
10567
|
+
this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe()
|
|
10700
10568
|
];
|
|
10701
10569
|
};
|
|
10702
10570
|
BasketPreviewBlockComponent.prototype.ngOnChanges = function (changes) {
|
|
@@ -10995,7 +10863,7 @@
|
|
|
10995
10863
|
i0.ɵɵadvance(3);
|
|
10996
10864
|
i0.ɵɵproperty("href", ctx.article.url, i0.ɵɵsanitizeUrl);
|
|
10997
10865
|
}
|
|
10998
|
-
}, 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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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}@media (min-width:1023px){#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%}@media (min-width:1023px){.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 });
|
|
10866
|
+
}, 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 });
|
|
10999
10867
|
/*@__PURE__*/ (function () {
|
|
11000
10868
|
i0.ɵsetClassMetadata(CatalogArticleCardComponent, [{
|
|
11001
10869
|
type: i0.Component,
|
|
@@ -11727,30 +11595,30 @@
|
|
|
11727
11595
|
function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) {
|
|
11728
11596
|
if (rf & 1) {
|
|
11729
11597
|
i0.ɵɵelementStart(0, "div");
|
|
11730
|
-
i0.ɵɵelement(1, "img",
|
|
11598
|
+
i0.ɵɵelement(1, "img", 28);
|
|
11731
11599
|
i0.ɵɵelementEnd();
|
|
11732
11600
|
}
|
|
11733
11601
|
if (rf & 2) {
|
|
11734
|
-
var
|
|
11602
|
+
var ctx_r14 = i0.ɵɵnextContext(2);
|
|
11735
11603
|
i0.ɵɵadvance(1);
|
|
11736
|
-
i0.ɵɵproperty("src",
|
|
11604
|
+
i0.ɵɵproperty("src", ctx_r14.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11737
11605
|
}
|
|
11738
11606
|
}
|
|
11739
11607
|
function CatalogRecipeCardComponent_div_4_div_5_Template(rf, ctx) {
|
|
11740
11608
|
if (rf & 1) {
|
|
11741
|
-
i0.ɵɵelementStart(0, "div",
|
|
11742
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11609
|
+
i0.ɵɵelementStart(0, "div", 29);
|
|
11610
|
+
i0.ɵɵelement(1, "ng-miam-icon", 30);
|
|
11743
11611
|
i0.ɵɵelementEnd();
|
|
11744
11612
|
}
|
|
11745
11613
|
if (rf & 2) {
|
|
11746
|
-
var
|
|
11614
|
+
var ctx_r15 = i0.ɵɵnextContext(2);
|
|
11747
11615
|
i0.ɵɵadvance(1);
|
|
11748
|
-
i0.ɵɵproperty("iconName",
|
|
11616
|
+
i0.ɵɵproperty("iconName", ctx_r15.icon.Video)("width", 80)("height", 80);
|
|
11749
11617
|
}
|
|
11750
11618
|
}
|
|
11751
11619
|
function CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template(rf, ctx) {
|
|
11752
11620
|
if (rf & 1) {
|
|
11753
|
-
i0.ɵɵelementStart(0, "div",
|
|
11621
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
11754
11622
|
i0.ɵɵtext(1, " D\u00E9j\u00E0 ajout\u00E9e ");
|
|
11755
11623
|
i0.ɵɵelementEnd();
|
|
11756
11624
|
}
|
|
@@ -11758,76 +11626,76 @@
|
|
|
11758
11626
|
function CatalogRecipeCardComponent_div_4_ng_container_6_Template(rf, ctx) {
|
|
11759
11627
|
if (rf & 1) {
|
|
11760
11628
|
i0.ɵɵelementContainerStart(0);
|
|
11761
|
-
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div",
|
|
11629
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div", 31);
|
|
11762
11630
|
i0.ɵɵpipe(2, "async");
|
|
11763
11631
|
i0.ɵɵelementContainerEnd();
|
|
11764
11632
|
}
|
|
11765
11633
|
if (rf & 2) {
|
|
11766
|
-
var
|
|
11634
|
+
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
11767
11635
|
i0.ɵɵadvance(1);
|
|
11768
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1,
|
|
11636
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r16.groceriesListsService.recipeIsInList(ctx_r16.recipe == null ? null : ctx_r16.recipe.id)));
|
|
11769
11637
|
}
|
|
11770
11638
|
}
|
|
11771
11639
|
function CatalogRecipeCardComponent_div_4_ng_container_7_Template(rf, ctx) {
|
|
11772
11640
|
if (rf & 1) {
|
|
11773
|
-
var
|
|
11641
|
+
var _r24_1 = i0.ɵɵgetCurrentView();
|
|
11774
11642
|
i0.ɵɵelementContainerStart(0);
|
|
11775
|
-
i0.ɵɵelementStart(1, "div",
|
|
11776
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(
|
|
11643
|
+
i0.ɵɵelementStart(1, "div", 33);
|
|
11644
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r23 = i0.ɵɵnextContext(2); return ctx_r23.openRecipe(); });
|
|
11777
11645
|
i0.ɵɵtext(2);
|
|
11778
11646
|
i0.ɵɵelementEnd();
|
|
11779
11647
|
i0.ɵɵelementContainerEnd();
|
|
11780
11648
|
}
|
|
11781
11649
|
if (rf & 2) {
|
|
11782
|
-
var
|
|
11650
|
+
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
11783
11651
|
i0.ɵɵadvance(2);
|
|
11784
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11652
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r17.recipe == null ? null : ctx_r17.recipe.attributes["title"], " ");
|
|
11785
11653
|
}
|
|
11786
11654
|
}
|
|
11787
11655
|
function CatalogRecipeCardComponent_div_4_ng_template_8_Template(rf, ctx) {
|
|
11788
11656
|
if (rf & 1) {
|
|
11789
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11657
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 34);
|
|
11790
11658
|
}
|
|
11791
11659
|
if (rf & 2) {
|
|
11792
|
-
var
|
|
11793
|
-
i0.ɵɵproperty("type",
|
|
11660
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
11661
|
+
i0.ɵɵproperty("type", ctx_r19.skeleton.Text);
|
|
11794
11662
|
}
|
|
11795
11663
|
}
|
|
11796
11664
|
function CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template(rf, ctx) {
|
|
11797
11665
|
if (rf & 1) {
|
|
11798
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11666
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 35);
|
|
11799
11667
|
}
|
|
11800
11668
|
if (rf & 2) {
|
|
11801
|
-
var
|
|
11802
|
-
i0.ɵɵproperty("recipe",
|
|
11669
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
11670
|
+
i0.ɵɵproperty("recipe", ctx_r20.recipe)("originTrace", ctx_r20.eventTrace());
|
|
11803
11671
|
}
|
|
11804
11672
|
}
|
|
11805
11673
|
function CatalogRecipeCardComponent_div_4_Template(rf, ctx) {
|
|
11806
11674
|
if (rf & 1) {
|
|
11807
|
-
var
|
|
11808
|
-
i0.ɵɵelementStart(0, "div",
|
|
11809
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11810
|
-
i0.ɵɵelementStart(1, "div",
|
|
11811
|
-
i0.ɵɵelement(2, "img",
|
|
11812
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div",
|
|
11675
|
+
var _r26_1 = i0.ɵɵgetCurrentView();
|
|
11676
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
11677
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r26_1); var ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.openRecipe(); });
|
|
11678
|
+
i0.ɵɵelementStart(1, "div", 17);
|
|
11679
|
+
i0.ɵɵelement(2, "img", 18);
|
|
11680
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 19);
|
|
11813
11681
|
i0.ɵɵpipe(4, "async");
|
|
11814
11682
|
i0.ɵɵelementEnd();
|
|
11815
|
-
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div",
|
|
11816
|
-
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container",
|
|
11817
|
-
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container",
|
|
11818
|
-
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null,
|
|
11819
|
-
i0.ɵɵelementStart(10, "div",
|
|
11820
|
-
i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button",
|
|
11683
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 20);
|
|
11684
|
+
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container", 19);
|
|
11685
|
+
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container", 21);
|
|
11686
|
+
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null, 22, i0.ɵɵtemplateRefExtractor);
|
|
11687
|
+
i0.ɵɵelementStart(10, "div", 23);
|
|
11688
|
+
i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button", 24);
|
|
11821
11689
|
i0.ɵɵpipe(12, "async");
|
|
11822
|
-
i0.ɵɵelementStart(13, "div",
|
|
11823
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_13_listener($event) { i0.ɵɵrestoreView(
|
|
11824
|
-
i0.ɵɵelement(15, "ng-miam-icon",
|
|
11690
|
+
i0.ɵɵelementStart(13, "div", 25, 26);
|
|
11691
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_13_listener($event) { i0.ɵɵrestoreView(_r26_1); var ctx_r27 = i0.ɵɵnextContext(); return ctx_r27.toggleMoreActions($event); });
|
|
11692
|
+
i0.ɵɵelement(15, "ng-miam-icon", 27);
|
|
11825
11693
|
i0.ɵɵelementEnd();
|
|
11826
11694
|
i0.ɵɵelementEnd();
|
|
11827
11695
|
i0.ɵɵelementEnd();
|
|
11828
11696
|
}
|
|
11829
11697
|
if (rf & 2) {
|
|
11830
|
-
var
|
|
11698
|
+
var _r18 = i0.ɵɵreference(9);
|
|
11831
11699
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
11832
11700
|
i0.ɵɵadvance(2);
|
|
11833
11701
|
i0.ɵɵproperty("src", ctx_r0.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
|
|
@@ -11838,7 +11706,7 @@
|
|
|
11838
11706
|
i0.ɵɵadvance(1);
|
|
11839
11707
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe && ctx_r0.displayAddedOnPicture);
|
|
11840
11708
|
i0.ɵɵadvance(1);
|
|
11841
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse",
|
|
11709
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r18);
|
|
11842
11710
|
i0.ɵɵadvance(4);
|
|
11843
11711
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(12, 10, ctx_r0.userService.isLogged$));
|
|
11844
11712
|
i0.ɵɵadvance(4);
|
|
@@ -11847,181 +11715,147 @@
|
|
|
11847
11715
|
}
|
|
11848
11716
|
function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) {
|
|
11849
11717
|
if (rf & 1) {
|
|
11850
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11718
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 34);
|
|
11851
11719
|
}
|
|
11852
11720
|
if (rf & 2) {
|
|
11853
11721
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
11854
11722
|
i0.ɵɵproperty("type", ctx_r2.skeleton.Picture);
|
|
11855
11723
|
}
|
|
11856
11724
|
}
|
|
11857
|
-
function
|
|
11725
|
+
function CatalogRecipeCardComponent_div_9_ng_miam_recipe_pricing_1_Template(rf, ctx) {
|
|
11858
11726
|
if (rf & 1) {
|
|
11859
|
-
i0.ɵɵ
|
|
11860
|
-
i0.ɵɵtext(1);
|
|
11861
|
-
i0.ɵɵelementEnd();
|
|
11727
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 38);
|
|
11862
11728
|
}
|
|
11863
11729
|
if (rf & 2) {
|
|
11864
|
-
var
|
|
11865
|
-
i0.ɵɵ
|
|
11866
|
-
i0.ɵɵtextInterpolate1(" + ", ctx_r29.recipe.modifiedIngredients.length - 2, " ");
|
|
11730
|
+
var ctx_r28 = i0.ɵɵnextContext(2);
|
|
11731
|
+
i0.ɵɵproperty("recipe", ctx_r28.recipe)("serves", ctx_r28.recipe == null ? null : ctx_r28.recipe.modifiedGuests);
|
|
11867
11732
|
}
|
|
11868
11733
|
}
|
|
11869
11734
|
function CatalogRecipeCardComponent_div_9_Template(rf, ctx) {
|
|
11870
11735
|
if (rf & 1) {
|
|
11871
|
-
i0.ɵɵelementStart(0, "div",
|
|
11872
|
-
i0.ɵɵ
|
|
11873
|
-
i0.ɵɵelement(2, "img", 39);
|
|
11874
|
-
i0.ɵɵelementEnd();
|
|
11875
|
-
i0.ɵɵelementStart(3, "div", 38);
|
|
11876
|
-
i0.ɵɵelement(4, "img", 39);
|
|
11877
|
-
i0.ɵɵelementEnd();
|
|
11878
|
-
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div", 40);
|
|
11736
|
+
i0.ɵɵelementStart(0, "div", 36);
|
|
11737
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_9_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 37);
|
|
11879
11738
|
i0.ɵɵelementEnd();
|
|
11880
11739
|
}
|
|
11881
11740
|
if (rf & 2) {
|
|
11882
11741
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
11883
|
-
i0.ɵɵadvance(2);
|
|
11884
|
-
i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ctx_r3.recipe.modifiedIngredients[0]), i0.ɵɵsanitizeUrl);
|
|
11885
|
-
i0.ɵɵadvance(2);
|
|
11886
|
-
i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ctx_r3.recipe.modifiedIngredients[1]), i0.ɵɵsanitizeUrl);
|
|
11887
11742
|
i0.ɵɵadvance(1);
|
|
11888
|
-
i0.ɵɵproperty("ngIf", ctx_r3.
|
|
11743
|
+
i0.ɵɵproperty("ngIf", ctx_r3.isPriceDisplayed);
|
|
11889
11744
|
}
|
|
11890
11745
|
}
|
|
11891
|
-
function
|
|
11746
|
+
function CatalogRecipeCardComponent_ng_miam_icon_15_Template(rf, ctx) {
|
|
11892
11747
|
if (rf & 1) {
|
|
11893
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
11894
|
-
}
|
|
11895
|
-
if (rf & 2) {
|
|
11896
|
-
var ctx_r30 = i0.ɵɵnextContext(2);
|
|
11897
|
-
i0.ɵɵproperty("recipe", ctx_r30.recipe)("serves", ctx_r30.recipe == null ? null : ctx_r30.recipe.modifiedGuests);
|
|
11898
|
-
}
|
|
11899
|
-
}
|
|
11900
|
-
function CatalogRecipeCardComponent_div_10_Template(rf, ctx) {
|
|
11901
|
-
if (rf & 1) {
|
|
11902
|
-
i0.ɵɵelementStart(0, "div", 42);
|
|
11903
|
-
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 43);
|
|
11904
|
-
i0.ɵɵelementEnd();
|
|
11905
|
-
}
|
|
11906
|
-
if (rf & 2) {
|
|
11907
|
-
var ctx_r4 = i0.ɵɵnextContext();
|
|
11908
|
-
i0.ɵɵadvance(1);
|
|
11909
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isPriceDisplayed);
|
|
11910
|
-
}
|
|
11911
|
-
}
|
|
11912
|
-
function CatalogRecipeCardComponent_ng_miam_icon_16_Template(rf, ctx) {
|
|
11913
|
-
if (rf & 1) {
|
|
11914
|
-
i0.ɵɵelement(0, "ng-miam-icon", 45);
|
|
11748
|
+
i0.ɵɵelement(0, "ng-miam-icon", 39);
|
|
11915
11749
|
i0.ɵɵpipe(1, "async");
|
|
11916
11750
|
}
|
|
11917
11751
|
if (rf & 2) {
|
|
11918
|
-
var
|
|
11919
|
-
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3,
|
|
11752
|
+
var ctx_r4 = i0.ɵɵnextContext();
|
|
11753
|
+
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3, ctx_r4.groceriesListsService.recipeIsInList(ctx_r4.recipe == null ? null : ctx_r4.recipe.id)) ? ctx_r4.icon.CheckList : ctx_r4.icon.Cart);
|
|
11920
11754
|
}
|
|
11921
11755
|
}
|
|
11922
|
-
function
|
|
11756
|
+
function CatalogRecipeCardComponent_ng_template_16_Template(rf, ctx) {
|
|
11923
11757
|
if (rf & 1) {
|
|
11924
11758
|
i0.ɵɵelement(0, "ng-miam-loader");
|
|
11925
11759
|
}
|
|
11926
11760
|
}
|
|
11927
|
-
function
|
|
11761
|
+
function CatalogRecipeCardComponent_div_19_Template(rf, ctx) {
|
|
11928
11762
|
if (rf & 1) {
|
|
11929
|
-
i0.ɵɵelementStart(0, "div",
|
|
11930
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11931
|
-
i0.ɵɵelementStart(2, "span",
|
|
11763
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
11764
|
+
i0.ɵɵelement(1, "ng-miam-icon", 41);
|
|
11765
|
+
i0.ɵɵelementStart(2, "span", 42);
|
|
11932
11766
|
i0.ɵɵtext(3);
|
|
11933
11767
|
i0.ɵɵelementEnd();
|
|
11934
11768
|
i0.ɵɵelementEnd();
|
|
11935
11769
|
}
|
|
11936
11770
|
if (rf & 2) {
|
|
11937
|
-
var
|
|
11771
|
+
var ctx_r7 = i0.ɵɵnextContext();
|
|
11938
11772
|
i0.ɵɵadvance(1);
|
|
11939
|
-
i0.ɵɵproperty("iconName",
|
|
11773
|
+
i0.ɵɵproperty("iconName", ctx_r7.icon.Time);
|
|
11940
11774
|
i0.ɵɵadvance(2);
|
|
11941
|
-
i0.ɵɵtextInterpolate(
|
|
11775
|
+
i0.ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.totalTime);
|
|
11942
11776
|
}
|
|
11943
11777
|
}
|
|
11944
|
-
function
|
|
11778
|
+
function CatalogRecipeCardComponent_div_20_ng_container_2_Template(rf, ctx) {
|
|
11945
11779
|
if (rf & 1) {
|
|
11946
11780
|
i0.ɵɵelementContainerStart(0);
|
|
11947
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11781
|
+
i0.ɵɵelement(1, "ng-miam-icon", 47);
|
|
11948
11782
|
i0.ɵɵelementContainerEnd();
|
|
11949
11783
|
}
|
|
11950
11784
|
if (rf & 2) {
|
|
11951
|
-
var
|
|
11785
|
+
var ctx_r29 = i0.ɵɵnextContext(2);
|
|
11952
11786
|
i0.ɵɵadvance(1);
|
|
11953
|
-
i0.ɵɵproperty("width", 39)("height", 18)("iconName",
|
|
11787
|
+
i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r29.icon.DifficultyMedium);
|
|
11954
11788
|
}
|
|
11955
11789
|
}
|
|
11956
|
-
function
|
|
11790
|
+
function CatalogRecipeCardComponent_div_20_ng_container_3_Template(rf, ctx) {
|
|
11957
11791
|
if (rf & 1) {
|
|
11958
11792
|
i0.ɵɵelementContainerStart(0);
|
|
11959
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11793
|
+
i0.ɵɵelement(1, "ng-miam-icon", 47);
|
|
11960
11794
|
i0.ɵɵelementContainerEnd();
|
|
11961
11795
|
}
|
|
11962
11796
|
if (rf & 2) {
|
|
11963
|
-
var
|
|
11797
|
+
var ctx_r30 = i0.ɵɵnextContext(2);
|
|
11964
11798
|
i0.ɵɵadvance(1);
|
|
11965
|
-
i0.ɵɵproperty("width", 60)("height", 18)("iconName",
|
|
11799
|
+
i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r30.icon.DifficultyHigh);
|
|
11966
11800
|
}
|
|
11967
11801
|
}
|
|
11968
|
-
function
|
|
11802
|
+
function CatalogRecipeCardComponent_div_20_ng_container_4_Template(rf, ctx) {
|
|
11969
11803
|
if (rf & 1) {
|
|
11970
11804
|
i0.ɵɵelementContainerStart(0);
|
|
11971
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11805
|
+
i0.ɵɵelement(1, "ng-miam-icon", 47);
|
|
11972
11806
|
i0.ɵɵelementContainerEnd();
|
|
11973
11807
|
}
|
|
11974
11808
|
if (rf & 2) {
|
|
11975
|
-
var
|
|
11809
|
+
var ctx_r31 = i0.ɵɵnextContext(2);
|
|
11976
11810
|
i0.ɵɵadvance(1);
|
|
11977
|
-
i0.ɵɵproperty("width", 18)("height", 18)("iconName",
|
|
11811
|
+
i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r31.icon.DifficultyLow);
|
|
11978
11812
|
}
|
|
11979
11813
|
}
|
|
11980
11814
|
var _c1$6 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11981
|
-
function
|
|
11815
|
+
function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
|
|
11982
11816
|
if (rf & 1) {
|
|
11983
|
-
i0.ɵɵelementStart(0, "div",
|
|
11984
|
-
i0.ɵɵelementContainerStart(1,
|
|
11985
|
-
i0.ɵɵtemplate(2,
|
|
11986
|
-
i0.ɵɵtemplate(3,
|
|
11987
|
-
i0.ɵɵtemplate(4,
|
|
11817
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
11818
|
+
i0.ɵɵelementContainerStart(1, 44);
|
|
11819
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_20_ng_container_2_Template, 2, 3, "ng-container", 45);
|
|
11820
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_20_ng_container_3_Template, 2, 3, "ng-container", 45);
|
|
11821
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_20_ng_container_4_Template, 2, 3, "ng-container", 46);
|
|
11988
11822
|
i0.ɵɵelementContainerEnd();
|
|
11989
|
-
i0.ɵɵelementStart(5, "span",
|
|
11823
|
+
i0.ɵɵelementStart(5, "span", 42);
|
|
11990
11824
|
i0.ɵɵtext(6);
|
|
11991
11825
|
i0.ɵɵelementEnd();
|
|
11992
11826
|
i0.ɵɵelementEnd();
|
|
11993
11827
|
}
|
|
11994
11828
|
if (rf & 2) {
|
|
11995
|
-
var
|
|
11996
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (
|
|
11829
|
+
var ctx_r8 = i0.ɵɵnextContext();
|
|
11830
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty) === 1, (ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty) === 2, (ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty) === 3));
|
|
11997
11831
|
i0.ɵɵadvance(1);
|
|
11998
|
-
i0.ɵɵproperty("ngSwitch",
|
|
11832
|
+
i0.ɵɵproperty("ngSwitch", ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty);
|
|
11999
11833
|
i0.ɵɵadvance(1);
|
|
12000
11834
|
i0.ɵɵproperty("ngSwitchCase", 2);
|
|
12001
11835
|
i0.ɵɵadvance(1);
|
|
12002
11836
|
i0.ɵɵproperty("ngSwitchCase", 3);
|
|
12003
11837
|
i0.ɵɵadvance(3);
|
|
12004
|
-
i0.ɵɵtextInterpolate(
|
|
11838
|
+
i0.ɵɵtextInterpolate(ctx_r8.recipeService.difficultyLabel(ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty));
|
|
12005
11839
|
}
|
|
12006
11840
|
}
|
|
12007
|
-
function
|
|
11841
|
+
function CatalogRecipeCardComponent_ng_template_21_Template(rf, ctx) {
|
|
12008
11842
|
if (rf & 1) {
|
|
12009
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11843
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 34);
|
|
12010
11844
|
}
|
|
12011
11845
|
if (rf & 2) {
|
|
12012
|
-
var
|
|
12013
|
-
i0.ɵɵproperty("type",
|
|
11846
|
+
var ctx_r10 = i0.ɵɵnextContext();
|
|
11847
|
+
i0.ɵɵproperty("type", ctx_r10.skeleton == null ? null : ctx_r10.skeleton.IconWithInfo);
|
|
12014
11848
|
}
|
|
12015
11849
|
}
|
|
12016
|
-
function
|
|
11850
|
+
function CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template(rf, ctx) {
|
|
12017
11851
|
if (rf & 1) {
|
|
12018
|
-
var
|
|
12019
|
-
i0.ɵɵelementStart(0, "ng-miam-actions-popin",
|
|
12020
|
-
i0.ɵɵlistener("close", function
|
|
11852
|
+
var _r33_1 = i0.ɵɵgetCurrentView();
|
|
11853
|
+
i0.ɵɵelementStart(0, "ng-miam-actions-popin", 48);
|
|
11854
|
+
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r33_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r33_1); var ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.actionTriggered.emit($event); });
|
|
12021
11855
|
i0.ɵɵelementEnd();
|
|
12022
11856
|
}
|
|
12023
11857
|
}
|
|
12024
|
-
function
|
|
11858
|
+
function CatalogRecipeCardComponent_ng_template_24_Template(rf, ctx) {
|
|
12025
11859
|
if (rf & 1) {
|
|
12026
11860
|
i0.ɵɵelement(0, "ng-miam-cors-overlay");
|
|
12027
11861
|
}
|
|
@@ -12128,7 +11962,7 @@
|
|
|
12128
11962
|
var _t;
|
|
12129
11963
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moreActions = _t.first);
|
|
12130
11964
|
}
|
|
12131
|
-
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
11965
|
+
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 26, 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__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [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"], [4, "ngIf", "ngIfElse"], ["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__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) {
|
|
12132
11966
|
if (rf & 1) {
|
|
12133
11967
|
i0.ɵɵelementStart(0, "div", 0);
|
|
12134
11968
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -12140,55 +11974,52 @@
|
|
|
12140
11974
|
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_ng_template_5_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
12141
11975
|
i0.ɵɵelementStart(7, "div", 4);
|
|
12142
11976
|
i0.ɵɵelementStart(8, "div", 5);
|
|
12143
|
-
i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_9_Template,
|
|
12144
|
-
i0.ɵɵ
|
|
12145
|
-
i0.ɵɵ
|
|
12146
|
-
i0.ɵɵ
|
|
12147
|
-
i0.ɵɵ
|
|
12148
|
-
i0.ɵɵ
|
|
12149
|
-
i0.ɵɵ
|
|
12150
|
-
i0.ɵɵpipe(15, "async");
|
|
11977
|
+
i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_9_Template, 2, 1, "div", 6);
|
|
11978
|
+
i0.ɵɵelementStart(10, "button", 7);
|
|
11979
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_10_listener() { return ctx.clickPrimary(); });
|
|
11980
|
+
i0.ɵɵpipe(11, "async");
|
|
11981
|
+
i0.ɵɵelementStart(12, "span");
|
|
11982
|
+
i0.ɵɵtext(13);
|
|
11983
|
+
i0.ɵɵpipe(14, "async");
|
|
12151
11984
|
i0.ɵɵelementEnd();
|
|
12152
|
-
i0.ɵɵtemplate(
|
|
12153
|
-
i0.ɵɵtemplate(
|
|
11985
|
+
i0.ɵɵtemplate(15, CatalogRecipeCardComponent_ng_miam_icon_15_Template, 2, 5, "ng-miam-icon", 8);
|
|
11986
|
+
i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_template_16_Template, 1, 0, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
12154
11987
|
i0.ɵɵelementEnd();
|
|
12155
11988
|
i0.ɵɵelementEnd();
|
|
12156
|
-
i0.ɵɵelementStart(
|
|
12157
|
-
i0.ɵɵtemplate(
|
|
12158
|
-
i0.ɵɵtemplate(
|
|
12159
|
-
i0.ɵɵtemplate(
|
|
11989
|
+
i0.ɵɵelementStart(18, "div", 10);
|
|
11990
|
+
i0.ɵɵtemplate(19, CatalogRecipeCardComponent_div_19_Template, 4, 2, "div", 11);
|
|
11991
|
+
i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 7, 9, "div", 12);
|
|
11992
|
+
i0.ɵɵtemplate(21, CatalogRecipeCardComponent_ng_template_21_Template, 1, 1, "ng-template", null, 13, i0.ɵɵtemplateRefExtractor);
|
|
12160
11993
|
i0.ɵɵelementEnd();
|
|
12161
11994
|
i0.ɵɵelementEnd();
|
|
12162
|
-
i0.ɵɵtemplate(
|
|
11995
|
+
i0.ɵɵtemplate(23, CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template, 1, 0, "ng-miam-actions-popin", 14);
|
|
12163
11996
|
i0.ɵɵelementEnd();
|
|
12164
|
-
i0.ɵɵtemplate(
|
|
11997
|
+
i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_template_24_Template, 1, 0, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
|
|
12165
11998
|
}
|
|
12166
11999
|
if (rf & 2) {
|
|
12167
12000
|
var _r1 = i0.ɵɵreference(6);
|
|
12168
|
-
var
|
|
12169
|
-
var
|
|
12001
|
+
var _r5 = i0.ɵɵreference(17);
|
|
12002
|
+
var _r9 = i0.ɵɵreference(22);
|
|
12170
12003
|
i0.ɵɵadvance(3);
|
|
12171
12004
|
i0.ɵɵtextInterpolate1(" ", ctx.headerText, "");
|
|
12172
12005
|
i0.ɵɵadvance(1);
|
|
12173
12006
|
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r1);
|
|
12174
12007
|
i0.ɵɵadvance(5);
|
|
12175
|
-
i0.ɵɵproperty("ngIf", ctx.contextService.displayIngredientPicturesOnRecipeCards && (ctx.recipe == null ? null : ctx.recipe.modifiedIngredients == null ? null : ctx.recipe.modifiedIngredients.length) > 1);
|
|
12176
|
-
i0.ɵɵadvance(1);
|
|
12177
12008
|
i0.ɵɵproperty("ngIf", ctx.recipe && ctx.displayPricing);
|
|
12178
12009
|
i0.ɵɵadvance(1);
|
|
12179
|
-
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(
|
|
12010
|
+
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(17, _c2$1, ctx.addButtonLoading, i0.ɵɵpipeBind1(11, 13, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id))));
|
|
12180
12011
|
i0.ɵɵadvance(3);
|
|
12181
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
12012
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 15, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
|
|
12182
12013
|
i0.ɵɵadvance(2);
|
|
12183
|
-
i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse",
|
|
12014
|
+
i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r5);
|
|
12184
12015
|
i0.ɵɵadvance(4);
|
|
12185
|
-
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse",
|
|
12016
|
+
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r9);
|
|
12186
12017
|
i0.ɵɵadvance(1);
|
|
12187
12018
|
i0.ɵɵproperty("ngIf", ctx.recipe);
|
|
12188
12019
|
i0.ɵɵadvance(3);
|
|
12189
12020
|
i0.ɵɵproperty("ngIf", ctx.actionsOpened);
|
|
12190
12021
|
}
|
|
12191
|
-
}, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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}@media (min-width:1023px){#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%}@media (min-width:1023px){.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-recipe-card__ingredients__pictures{display:none}.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 .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 });
|
|
12022
|
+
}, 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 .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 });
|
|
12192
12023
|
/*@__PURE__*/ (function () {
|
|
12193
12024
|
i0.ɵsetClassMetadata(CatalogRecipeCardComponent, [{
|
|
12194
12025
|
type: i0.Component,
|
|
@@ -12843,7 +12674,7 @@
|
|
|
12843
12674
|
i0.ɵɵadvance(1);
|
|
12844
12675
|
i0.ɵɵproperty("ngIf", !ctx.personalButtonHidden);
|
|
12845
12676
|
}
|
|
12846
|
-
}, directives: [i4.NgClass, IconComponent, i4.NgIf, i15.DefaultValueAccessor, i15.NgControlStatus, i15.NgModel], 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){-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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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)}@media (min-width:1023px){.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-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}@media (min-width:1023px){#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-header{background-size:cover;padding:32px 24px 24px 40px;position:relative;width:100%}.miam-catalog-header.reduced{background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:24px}.miam-catalog-header.reduced .miam-catalog-header__content{align-items:center;flex-direction:row;justify-content:space-between}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav{color:var(--m-catalog-header-reduced-text-color);margin-bottom:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search{flex-grow:1;margin-left:24px;width:auto}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{flex-grow:1;max-width:400px;width:unset}.miam-catalog-header .miam-catalog-header__content{align-items:flex-start;display:flex;flex-direction:column;height:100%;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav{align-items:center;color:var(--m-catalog-header-text-color);display:flex;font-weight:700;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right{transform:rotate(-90deg)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav>*{margin-right:4px;text-align:center}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title-and-search{width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title{color:var(--m-catalog-header-text-color);display:flex;font-size:28px;font-weight:700;line-height:42px;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters{align-items:center;display:flex;justify-content:space-between;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{align-items:center;background:var(--m-color-white);border:1px solid #ddd;border-radius:var(--m-border-radius-pill);display:flex;font-size:14px;height:45px;padding:0 2px 0 20px;width:400px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input{background:transparent;border:transparent;flex:1}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input:focus{outline:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button:hover{border-color:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls{display:flex}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button{margin-left:8px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button span{white-space:nowrap}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter{border-color:transparent;font-weight:700;position:relative}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter.reduced ng-miam-icon{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter .miam-catalog-header__controls__filter-badge{align-items:center;background-color:var(--m-catalog-redpoint-color);border-radius:var(--m-border-radius-circle);color:var(--m-catalog-redpoint-text-color);display:flex;font-size:12px;height:18px;justify-content:center;line-height:18px;position:absolute;right:-4px;top:-4px;width:18px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):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}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-color-white)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-color-primary)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse: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}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) img{filter:invert(33%) sepia(25%) saturate(5002%) hue-rotate(184deg) brightness(91%) contrast(87%)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{border-color:transparent;color:var(--m-color-white);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:first-child{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary)!important}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reduced{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);font-weight:700}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color)}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover{background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{border-color:transparent;color:var(--m-catalog-alt-button-text-color-reverse)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color-reverse)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child{margin:0}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced{border-color:initial;padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter{border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter ng-miam-icon{margin-right:0!important}.miam-catalog-header.reduced .miam-catalog-header__nav{display:none}}@media (max-width:607px){.miam-catalog-header.reduced,.miam-catalog-header:not(.reduced){background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:16px 12px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__nav{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search{margin-left:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title{justify-content:center;margin-bottom:16px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:center}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar{border:0;height:42px;max-width:42px;padding:0;width:42px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}}"], encapsulation: 2, changeDetection: 0 });
|
|
12677
|
+
}, directives: [i4.NgClass, IconComponent, i4.NgIf, i15.DefaultValueAccessor, i15.NgControlStatus, i15.NgModel], 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){-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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) 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-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-header{background-size:cover;padding:32px 24px 24px 40px;position:relative;width:100%}.miam-catalog-header.reduced{background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:24px}.miam-catalog-header.reduced .miam-catalog-header__content{align-items:center;flex-direction:row;justify-content:space-between}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav{color:var(--m-catalog-header-reduced-text-color);margin-bottom:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search{flex-grow:1;margin-left:24px;width:auto}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{flex-grow:1;max-width:400px;width:unset}.miam-catalog-header .miam-catalog-header__content{align-items:flex-start;display:flex;flex-direction:column;height:100%;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav{align-items:center;color:var(--m-catalog-header-text-color);display:flex;font-weight:700;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right{transform:rotate(-90deg)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav>*{margin-right:4px;text-align:center}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title-and-search{width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title{color:var(--m-catalog-header-text-color);display:flex;font-size:28px;font-weight:700;line-height:42px;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters{align-items:center;display:flex;justify-content:space-between;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{align-items:center;background:var(--m-color-white);border:1px solid #ddd;border-radius:var(--m-border-radius-pill);display:flex;font-size:14px;height:45px;padding:0 2px 0 20px;width:400px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input{background:transparent;border:transparent;flex:1}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input:focus{outline:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button:hover{border-color:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls{display:flex}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button{margin-left:8px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button span{white-space:nowrap}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter{border-color:transparent;font-weight:700;position:relative}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter.reduced ng-miam-icon{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter .miam-catalog-header__controls__filter-badge{align-items:center;background-color:var(--m-catalog-redpoint-color);border-radius:var(--m-border-radius-circle);color:var(--m-catalog-redpoint-text-color);display:flex;font-size:12px;height:18px;justify-content:center;line-height:18px;position:absolute;right:-4px;top:-4px;width:18px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary);border:1px solid 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}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-color-primary)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse: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}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) img{filter:invert(33%) sepia(25%) saturate(5002%) hue-rotate(184deg) brightness(91%) contrast(87%)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{border-color:transparent;color:var(--m-color-white);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:first-child{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary)!important}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reduced{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover{background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{border-color:transparent;color:var(--m-catalog-alt-button-text-color-reverse)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color-reverse)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child{margin:0}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced{border-color:initial;padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter{border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter ng-miam-icon{margin-right:0!important}.miam-catalog-header.reduced .miam-catalog-header__nav{display:none}}@media (max-width:607px){.miam-catalog-header.reduced,.miam-catalog-header:not(.reduced){background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:16px 12px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__nav{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search{margin-left:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title{justify-content:center;margin-bottom:16px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:center}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar{border:0;height:42px;max-width:42px;padding:0;width:42px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}}"], encapsulation: 2, changeDetection: 0 });
|
|
12847
12678
|
/*@__PURE__*/ (function () {
|
|
12848
12679
|
i0.ɵsetClassMetadata(CatalogHeaderComponent, [{
|
|
12849
12680
|
type: i0.Component,
|
|
@@ -15897,7 +15728,7 @@
|
|
|
15897
15728
|
function RecipeCatalogComponent_div_2_ng_template_7_div_0_ng_container_1_div_2_Template(rf, ctx) {
|
|
15898
15729
|
if (rf & 1) {
|
|
15899
15730
|
i0.ɵɵelementStart(0, "div", 27);
|
|
15900
|
-
i0.ɵɵelement(1, "ng-miam-
|
|
15731
|
+
i0.ɵɵelement(1, "ng-miam-explaine-banner");
|
|
15901
15732
|
i0.ɵɵelementEnd();
|
|
15902
15733
|
}
|
|
15903
15734
|
}
|
|
@@ -16039,22 +15870,12 @@
|
|
|
16039
15870
|
this.setDirectAccess(this.initialRoute);
|
|
16040
15871
|
};
|
|
16041
15872
|
RecipeCatalogComponent.prototype.ngAfterViewInit = function () {
|
|
16042
|
-
this.openFeaturesFromURL();
|
|
16043
15873
|
this.cdr.detectChanges();
|
|
16044
15874
|
};
|
|
16045
15875
|
RecipeCatalogComponent.prototype.ngOnDestroy = function () {
|
|
16046
15876
|
this.subscriptions.forEach(function (s) { return s.unsubscribe(); });
|
|
16047
15877
|
};
|
|
16048
15878
|
RecipeCatalogComponent.prototype.currentPath = function () { return 'miam/recipes'; };
|
|
16049
|
-
RecipeCatalogComponent.prototype.openFeaturesFromURL = function () {
|
|
16050
|
-
var paramsArray = new URLSearchParams(window.location.search);
|
|
16051
|
-
if (paramsArray.get('openBasket') === 'true') {
|
|
16052
|
-
this.toggleMyMealDrawer();
|
|
16053
|
-
}
|
|
16054
|
-
if (paramsArray.get('personalCatalog') === 'true') {
|
|
16055
|
-
this.setPersonalFilter();
|
|
16056
|
-
}
|
|
16057
|
-
};
|
|
16058
15879
|
RecipeCatalogComponent.prototype.displayHomePage = function () {
|
|
16059
15880
|
return this.filters.isEmpty();
|
|
16060
15881
|
};
|
|
@@ -16284,7 +16105,7 @@
|
|
|
16284
16105
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topAnchor = _t.first);
|
|
16285
16106
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.categoriesComp = _t);
|
|
16286
16107
|
}
|
|
16287
|
-
}, inputs: { headerPictureUrl: "headerPictureUrl", homeTitlePictureUrl: "homeTitlePictureUrl", initialRoute: "initialRoute", filtersPosition: "filtersPosition", homeLabel: "homeLabel", displayPricing: "displayPricing", recipeAddedToastText: "recipeAddedToastText", customFilters: "customFilters" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 2, consts: [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf", "ngIfElse"], ["creationPage", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "title", "homeLabel", "pictureUrl", "titlePictureUrl", "favoritesButtonHidden", "personalButtonHidden", "filterBadgeCount", "returnButtonPressed", "filterButtonPressed", "searchStringChanged", "personalButtonPressed", "favoritesButtonPressed"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "originTrace", "filterChanged", "filterCollapsed", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__first__icon", 3, "iconName"], [1, "miam-recipe-catalog__myMeal__button__text"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__second__icon", 3, "iconName"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], ["width", "24", "height", "24", 3, "iconName", "click"], ["class", "miam-recipe-catalog__list__create___button", 3, "click", 4, "ngIf"], [3, "filters", "originTrace", "displayPricing", "recipeAddedToastText", "filterRemoved", "recipeActionTriggered"], [1, "miam-recipe-catalog__list__create___button", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-primary)", 3, "iconName"], ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [3, "title", "subtitle", "filters", "displayPricing", "originTrace", "recipeAddedToastText", "displayList"], ["class", "miam-recipe-
|
|
16108
|
+
}, inputs: { headerPictureUrl: "headerPictureUrl", homeTitlePictureUrl: "homeTitlePictureUrl", initialRoute: "initialRoute", filtersPosition: "filtersPosition", homeLabel: "homeLabel", displayPricing: "displayPricing", recipeAddedToastText: "recipeAddedToastText", customFilters: "customFilters" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 2, consts: [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf", "ngIfElse"], ["creationPage", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "title", "homeLabel", "pictureUrl", "titlePictureUrl", "favoritesButtonHidden", "personalButtonHidden", "filterBadgeCount", "returnButtonPressed", "filterButtonPressed", "searchStringChanged", "personalButtonPressed", "favoritesButtonPressed"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "originTrace", "filterChanged", "filterCollapsed", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__first__icon", 3, "iconName"], [1, "miam-recipe-catalog__myMeal__button__text"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__second__icon", 3, "iconName"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], ["width", "24", "height", "24", 3, "iconName", "click"], ["class", "miam-recipe-catalog__list__create___button", 3, "click", 4, "ngIf"], [3, "filters", "originTrace", "displayPricing", "recipeAddedToastText", "filterRemoved", "recipeActionTriggered"], [1, "miam-recipe-catalog__list__create___button", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-primary)", 3, "iconName"], ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [3, "title", "subtitle", "filters", "displayPricing", "originTrace", "recipeAddedToastText", "displayList"], ["class", "miam-recipe-catalog__explaine_banner", 4, "ngIf"], [1, "miam-recipe-catalog__explaine_banner"], [3, "recipe", "originTrace", "recipeChange", "canceled"]], template: function RecipeCatalogComponent_Template(rf, ctx) {
|
|
16288
16109
|
if (rf & 1) {
|
|
16289
16110
|
i0.ɵɵelement(0, "div", 0, 1);
|
|
16290
16111
|
i0.ɵɵtemplate(2, RecipeCatalogComponent_div_2_Template, 9, 17, "div", 2);
|
|
@@ -16399,7 +16220,7 @@
|
|
|
16399
16220
|
function RecipeDetailsInfosComponent_ng_container_4_Template(rf, ctx) {
|
|
16400
16221
|
if (rf & 1) {
|
|
16401
16222
|
i0.ɵɵelementContainerStart(0);
|
|
16402
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
16223
|
+
i0.ɵɵelement(1, "ng-miam-icon", 11);
|
|
16403
16224
|
i0.ɵɵelementContainerEnd();
|
|
16404
16225
|
}
|
|
16405
16226
|
if (rf & 2) {
|
|
@@ -16411,7 +16232,7 @@
|
|
|
16411
16232
|
function RecipeDetailsInfosComponent_ng_container_5_Template(rf, ctx) {
|
|
16412
16233
|
if (rf & 1) {
|
|
16413
16234
|
i0.ɵɵelementContainerStart(0);
|
|
16414
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
16235
|
+
i0.ɵɵelement(1, "ng-miam-icon", 11);
|
|
16415
16236
|
i0.ɵɵelementContainerEnd();
|
|
16416
16237
|
}
|
|
16417
16238
|
if (rf & 2) {
|
|
@@ -16423,7 +16244,7 @@
|
|
|
16423
16244
|
function RecipeDetailsInfosComponent_ng_container_6_Template(rf, ctx) {
|
|
16424
16245
|
if (rf & 1) {
|
|
16425
16246
|
i0.ɵɵelementContainerStart(0);
|
|
16426
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
16247
|
+
i0.ɵɵelement(1, "ng-miam-icon", 11);
|
|
16427
16248
|
i0.ɵɵelementContainerEnd();
|
|
16428
16249
|
}
|
|
16429
16250
|
if (rf & 2) {
|
|
@@ -16454,7 +16275,7 @@
|
|
|
16454
16275
|
i0.ɵɵtextInterpolate(ctx_r3.recipe == null ? null : ctx_r3.recipe.cookingTime);
|
|
16455
16276
|
}
|
|
16456
16277
|
}
|
|
16457
|
-
function
|
|
16278
|
+
function RecipeDetailsInfosComponent_div_18_div_2_Template(rf, ctx) {
|
|
16458
16279
|
if (rf & 1) {
|
|
16459
16280
|
i0.ɵɵelementStart(0, "div", 16);
|
|
16460
16281
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
@@ -16469,14 +16290,14 @@
|
|
|
16469
16290
|
i0.ɵɵelementEnd();
|
|
16470
16291
|
}
|
|
16471
16292
|
if (rf & 2) {
|
|
16472
|
-
var
|
|
16293
|
+
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
16473
16294
|
i0.ɵɵadvance(1);
|
|
16474
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16295
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r5.icon.Preparation);
|
|
16475
16296
|
i0.ɵɵadvance(5);
|
|
16476
|
-
i0.ɵɵtextInterpolate(
|
|
16297
|
+
i0.ɵɵtextInterpolate(ctx_r5.recipe == null ? null : ctx_r5.recipe.preparationTime);
|
|
16477
16298
|
}
|
|
16478
16299
|
}
|
|
16479
|
-
function
|
|
16300
|
+
function RecipeDetailsInfosComponent_div_18_div_3_Template(rf, ctx) {
|
|
16480
16301
|
if (rf & 1) {
|
|
16481
16302
|
i0.ɵɵelementStart(0, "div", 16);
|
|
16482
16303
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
@@ -16491,14 +16312,14 @@
|
|
|
16491
16312
|
i0.ɵɵelementEnd();
|
|
16492
16313
|
}
|
|
16493
16314
|
if (rf & 2) {
|
|
16494
|
-
var
|
|
16315
|
+
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
16495
16316
|
i0.ɵɵadvance(1);
|
|
16496
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16317
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r6.icon.Hot);
|
|
16497
16318
|
i0.ɵɵadvance(5);
|
|
16498
|
-
i0.ɵɵtextInterpolate(
|
|
16319
|
+
i0.ɵɵtextInterpolate(ctx_r6.recipe == null ? null : ctx_r6.recipe.cookingTime);
|
|
16499
16320
|
}
|
|
16500
16321
|
}
|
|
16501
|
-
function
|
|
16322
|
+
function RecipeDetailsInfosComponent_div_18_div_4_Template(rf, ctx) {
|
|
16502
16323
|
if (rf & 1) {
|
|
16503
16324
|
i0.ɵɵelementStart(0, "div", 16);
|
|
16504
16325
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
@@ -16513,32 +16334,14 @@
|
|
|
16513
16334
|
i0.ɵɵelementEnd();
|
|
16514
16335
|
}
|
|
16515
16336
|
if (rf & 2) {
|
|
16516
|
-
var
|
|
16337
|
+
var ctx_r7 = i0.ɵɵnextContext(2);
|
|
16517
16338
|
i0.ɵɵadvance(1);
|
|
16518
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16339
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r7.icon.Wait);
|
|
16519
16340
|
i0.ɵɵadvance(5);
|
|
16520
|
-
i0.ɵɵtextInterpolate(
|
|
16341
|
+
i0.ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.restingTime);
|
|
16521
16342
|
}
|
|
16522
16343
|
}
|
|
16523
|
-
function
|
|
16524
|
-
if (rf & 1) {
|
|
16525
|
-
i0.ɵɵelementStart(0, "div", 14);
|
|
16526
|
-
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_19_div_1_Template, 7, 4, "div", 15);
|
|
16527
|
-
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_19_div_2_Template, 7, 4, "div", 15);
|
|
16528
|
-
i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_19_div_3_Template, 7, 4, "div", 15);
|
|
16529
|
-
i0.ɵɵelementEnd();
|
|
16530
|
-
}
|
|
16531
|
-
if (rf & 2) {
|
|
16532
|
-
var ctx_r4 = i0.ɵɵnextContext();
|
|
16533
|
-
i0.ɵɵadvance(1);
|
|
16534
|
-
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.preparationTime) !== "-");
|
|
16535
|
-
i0.ɵɵadvance(1);
|
|
16536
|
-
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.cookingTime) !== "-");
|
|
16537
|
-
i0.ɵɵadvance(1);
|
|
16538
|
-
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.restingTime) !== "-");
|
|
16539
|
-
}
|
|
16540
|
-
}
|
|
16541
|
-
function RecipeDetailsInfosComponent_div_20_div_1_img_1_Template(rf, ctx) {
|
|
16344
|
+
function RecipeDetailsInfosComponent_div_18_div_5_div_1_img_1_Template(rf, ctx) {
|
|
16542
16345
|
if (rf & 1) {
|
|
16543
16346
|
i0.ɵɵelement(0, "img", 22);
|
|
16544
16347
|
}
|
|
@@ -16547,10 +16350,10 @@
|
|
|
16547
16350
|
i0.ɵɵproperty("src", tag_r10.attributes.icon, i0.ɵɵsanitizeUrl);
|
|
16548
16351
|
}
|
|
16549
16352
|
}
|
|
16550
|
-
function
|
|
16353
|
+
function RecipeDetailsInfosComponent_div_18_div_5_div_1_Template(rf, ctx) {
|
|
16551
16354
|
if (rf & 1) {
|
|
16552
16355
|
i0.ɵɵelementStart(0, "div", 19);
|
|
16553
|
-
i0.ɵɵtemplate(1,
|
|
16356
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_18_div_5_div_1_img_1_Template, 1, 1, "img", 20);
|
|
16554
16357
|
i0.ɵɵelementStart(2, "span", 21);
|
|
16555
16358
|
i0.ɵɵtext(3);
|
|
16556
16359
|
i0.ɵɵelementEnd();
|
|
@@ -16558,7 +16361,7 @@
|
|
|
16558
16361
|
}
|
|
16559
16362
|
if (rf & 2) {
|
|
16560
16363
|
var tag_r10 = ctx.$implicit;
|
|
16561
|
-
var ctx_r9 = i0.ɵɵnextContext(
|
|
16364
|
+
var ctx_r9 = i0.ɵɵnextContext(3);
|
|
16562
16365
|
i0.ɵɵproperty("ngClass", ctx_r9.tagClass(tag_r10));
|
|
16563
16366
|
i0.ɵɵadvance(1);
|
|
16564
16367
|
i0.ɵɵproperty("ngIf", ctx_r9.displayTagsIcons);
|
|
@@ -16566,16 +16369,39 @@
|
|
|
16566
16369
|
i0.ɵɵtextInterpolate1(" ", tag_r10.name, " ");
|
|
16567
16370
|
}
|
|
16568
16371
|
}
|
|
16569
|
-
function
|
|
16372
|
+
function RecipeDetailsInfosComponent_div_18_div_5_Template(rf, ctx) {
|
|
16570
16373
|
if (rf & 1) {
|
|
16571
16374
|
i0.ɵɵelementStart(0, "div", 17);
|
|
16572
|
-
i0.ɵɵtemplate(1,
|
|
16375
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_18_div_5_div_1_Template, 4, 3, "div", 18);
|
|
16573
16376
|
i0.ɵɵelementEnd();
|
|
16574
16377
|
}
|
|
16575
16378
|
if (rf & 2) {
|
|
16576
|
-
var
|
|
16379
|
+
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
16380
|
+
i0.ɵɵadvance(1);
|
|
16381
|
+
i0.ɵɵproperty("ngForOf", ctx_r8.tags);
|
|
16382
|
+
}
|
|
16383
|
+
}
|
|
16384
|
+
function RecipeDetailsInfosComponent_div_18_Template(rf, ctx) {
|
|
16385
|
+
if (rf & 1) {
|
|
16386
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
16387
|
+
i0.ɵɵelementStart(1, "div", 13);
|
|
16388
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_18_div_2_Template, 7, 4, "div", 14);
|
|
16389
|
+
i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_18_div_3_Template, 7, 4, "div", 14);
|
|
16390
|
+
i0.ɵɵtemplate(4, RecipeDetailsInfosComponent_div_18_div_4_Template, 7, 4, "div", 14);
|
|
16391
|
+
i0.ɵɵelementEnd();
|
|
16392
|
+
i0.ɵɵtemplate(5, RecipeDetailsInfosComponent_div_18_div_5_Template, 2, 1, "div", 15);
|
|
16393
|
+
i0.ɵɵelementEnd();
|
|
16394
|
+
}
|
|
16395
|
+
if (rf & 2) {
|
|
16396
|
+
var ctx_r4 = i0.ɵɵnextContext();
|
|
16397
|
+
i0.ɵɵadvance(2);
|
|
16398
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.preparationTime) !== "-");
|
|
16577
16399
|
i0.ɵɵadvance(1);
|
|
16578
|
-
i0.ɵɵproperty("
|
|
16400
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.cookingTime) !== "-");
|
|
16401
|
+
i0.ɵɵadvance(1);
|
|
16402
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.restingTime) !== "-");
|
|
16403
|
+
i0.ɵɵadvance(1);
|
|
16404
|
+
i0.ɵɵproperty("ngIf", ctx_r4.displayTags);
|
|
16579
16405
|
}
|
|
16580
16406
|
}
|
|
16581
16407
|
var RecipeDetailsInfosComponent = /** @class */ (function () {
|
|
@@ -16607,7 +16433,7 @@
|
|
|
16607
16433
|
return RecipeDetailsInfosComponent;
|
|
16608
16434
|
}());
|
|
16609
16435
|
RecipeDetailsInfosComponent.ɵfac = function RecipeDetailsInfosComponent_Factory(t) { return new (t || RecipeDetailsInfosComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RecipesService)); };
|
|
16610
|
-
RecipeDetailsInfosComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsInfosComponent, selectors: [["ng-miam-recipe-details-infos"]], inputs: { recipe: "recipe", displayTags: "displayTags", displayTagsIcons: "displayTagsIcons", reduced: "reduced" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
16436
|
+
RecipeDetailsInfosComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsInfosComponent, selectors: [["ng-miam-recipe-details-infos"]], inputs: { recipe: "recipe", displayTags: "displayTags", displayTagsIcons: "displayTagsIcons", reduced: "reduced" }, features: [i0.ɵɵNgOnChangesFeature], decls: 19, vars: 12, consts: [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], ["class", "miam-recipe-details-infos__additional", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__additional"], [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]], template: function RecipeDetailsInfosComponent_Template(rf, ctx) {
|
|
16611
16437
|
if (rf & 1) {
|
|
16612
16438
|
i0.ɵɵelementStart(0, "div", 0);
|
|
16613
16439
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -16635,10 +16461,7 @@
|
|
|
16635
16461
|
i0.ɵɵelementEnd();
|
|
16636
16462
|
i0.ɵɵtemplate(17, RecipeDetailsInfosComponent_div_17_Template, 7, 4, "div", 9);
|
|
16637
16463
|
i0.ɵɵelementEnd();
|
|
16638
|
-
i0.ɵɵ
|
|
16639
|
-
i0.ɵɵtemplate(19, RecipeDetailsInfosComponent_div_19_Template, 4, 3, "div", 11);
|
|
16640
|
-
i0.ɵɵtemplate(20, RecipeDetailsInfosComponent_div_20_Template, 2, 1, "div", 12);
|
|
16641
|
-
i0.ɵɵelementEnd();
|
|
16464
|
+
i0.ɵɵtemplate(18, RecipeDetailsInfosComponent_div_18_Template, 6, 4, "div", 10);
|
|
16642
16465
|
i0.ɵɵelementEnd();
|
|
16643
16466
|
}
|
|
16644
16467
|
if (rf & 2) {
|
|
@@ -16649,17 +16472,15 @@
|
|
|
16649
16472
|
i0.ɵɵadvance(1);
|
|
16650
16473
|
i0.ɵɵproperty("ngSwitchCase", 3);
|
|
16651
16474
|
i0.ɵɵadvance(3);
|
|
16652
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9,
|
|
16475
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, ctx.recipesService.difficultyLabel(ctx.recipe == null ? null : ctx.recipe.difficulty)));
|
|
16653
16476
|
i0.ɵɵadvance(3);
|
|
16654
16477
|
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx.icon.Time);
|
|
16655
16478
|
i0.ɵɵadvance(5);
|
|
16656
16479
|
i0.ɵɵtextInterpolate(ctx.recipe == null ? null : ctx.recipe.totalTime);
|
|
16657
16480
|
i0.ɵɵadvance(1);
|
|
16658
16481
|
i0.ɵɵproperty("ngIf", ctx.reduced && (ctx.recipe == null ? null : ctx.recipe.cookingTime) !== "-");
|
|
16659
|
-
i0.ɵɵadvance(2);
|
|
16660
|
-
i0.ɵɵproperty("ngIf", !ctx.reduced);
|
|
16661
16482
|
i0.ɵɵadvance(1);
|
|
16662
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
16483
|
+
i0.ɵɵproperty("ngIf", !ctx.reduced);
|
|
16663
16484
|
}
|
|
16664
16485
|
}, directives: [i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, IconComponent, i4.NgIf, i4.NgForOf, i4.NgClass], pipes: [i4.TitleCasePipe], styles: [".miam-recipe-details-infos{align-items:center;background-color:var(--m-color-white);display:flex;flex-direction:column;justify-content:center;padding:40px 16px}@media (min-width:1023px) and (max-height:804px){.miam-recipe-details-infos{padding:17px 24px}}.miam-recipe-details-infos .miam-recipe-details-infos__time{align-items:center;display:flex;flex-direction:column;justify-content:center;min-width:120px;padding:0 8px}.miam-recipe-details-infos .miam-recipe-details-infos__time .miam-recipe-details-infos__time__text span{font-size:16px}.miam-recipe-details-infos .miam-recipe-details-infos__time .miam-recipe-details-infos__time__text span:last-child{font-weight:700}.miam-recipe-details-infos .miam-recipe-details-infos__time ng-miam-icon{margin-bottom:8px}.miam-recipe-details-infos .miam-recipe-details-infos__main{align-items:center;display:flex;flex-direction:row;justify-content:center}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__difficulty{align-items:center;display:flex;flex-direction:column;justify-content:center;min-width:120px;padding:0 8px}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__difficulty ng-miam-icon{margin-bottom:8px}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__time__total .miam-recipe-details-infos__time__text span:first-child{display:none}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__time__total .miam-recipe-details-infos__time__text span:last-child{font-weight:400}.miam-recipe-details-infos .miam-recipe-details-infos__additional{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:24px;max-height:150px;overflow:hidden;transition:var(--m-default-transition);width:100%}@media print{.miam-recipe-details-infos .miam-recipe-details-infos__additional{margin-top:24px;max-height:150px;opacity:1}}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details-infos__times{align-items:center;display:flex;justify-content:center;width:100%}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details-infos__times .miam-recipe-details-infos__time{flex:1;max-width:172px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details-infos__times .miam-recipe-details-infos__time ng-miam-icon{display:none}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags{display:flex;flex-wrap:wrap;justify-content:center;margin-top:20px;width:100%}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag{background-color:var(--m-color-grey05);border-radius:4px;display:flex;margin:4px;padding:8px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag .miam-recipe-details__tag__icon{height:16px;width:16px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag .miam-recipe-details__tag__name{font-size:13px;line-height:16px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.meal_type{background-color:var(--m-color-tag-meal-type)}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.equipment{background-color:var(--m-color-tag-equipment)}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.diet{background-color:var(--m-color-tag-diet)}"], encapsulation: 2, changeDetection: 0 });
|
|
16665
16486
|
/*@__PURE__*/ (function () {
|
|
@@ -16893,7 +16714,7 @@
|
|
|
16893
16714
|
i0.ɵɵadvance(5);
|
|
16894
16715
|
i0.ɵɵproperty("ngForOf", ctx.recipe.steps);
|
|
16895
16716
|
}
|
|
16896
|
-
}, directives: [i4.NgForOf, i4.NgClass, i4.NgIf, IconComponent], styles: [".miam-recipe-details-steps{display:flex;flex:1;flex-direction:column}.miam-recipe-details-steps .miam-recipe-details-steps__header{border-bottom:1px solid var(--m-color-grey07);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.miam-recipe-details-steps .miam-recipe-details-steps__header span{color:var(--m-color-primary);display:block;font-size:21px;font-weight:700;line-height:24px}.miam-recipe-details-steps .miam-recipe-details-steps__list{flex:1 1;overflow-y:auto;padding-bottom:40px}
|
|
16717
|
+
}, directives: [i4.NgForOf, i4.NgClass, i4.NgIf, IconComponent], styles: [".miam-recipe-details-steps{display:flex;flex:1;flex-direction:column}.miam-recipe-details-steps .miam-recipe-details-steps__header{border-bottom:1px solid var(--m-color-grey07);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.miam-recipe-details-steps .miam-recipe-details-steps__header span{color:var(--m-color-primary);display:block;font-size:21px;font-weight:700;line-height:24px}.miam-recipe-details-steps .miam-recipe-details-steps__list{flex:1 1;overflow-y:auto;padding-bottom:40px}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step{-webkit-tap-highlight-color:transparent;align-items:center;border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 2px 24px 0;padding:8px;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__idx{align-items:center;background-color:var(--m-color-primary);border-radius:var(--m-border-radius-circle);color:var(--m-color-white);display:flex;font-size:16px;font-weight:700;height:32px;justify-content:center;line-height:20px;width:32px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__text{flex:1;font-size:14px;margin:0 12px;word-break:break-word}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__checkIcon{flex:0 0 auto}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step.miam-recipe-details-steps__step__done{background-color:var(--m-color-primary-light)}"], encapsulation: 2, changeDetection: 0 });
|
|
16897
16718
|
/*@__PURE__*/ (function () {
|
|
16898
16719
|
i0.ɵsetClassMetadata(RecipeDetailsStepsComponent, [{
|
|
16899
16720
|
type: i0.Component,
|
|
@@ -16932,16 +16753,16 @@
|
|
|
16932
16753
|
i0.ɵɵtextInterpolate1(" ", ctx_r7.recipe == null ? null : ctx_r7.recipe.attributes["title"], " ");
|
|
16933
16754
|
}
|
|
16934
16755
|
}
|
|
16935
|
-
function
|
|
16756
|
+
function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template(rf, ctx) {
|
|
16936
16757
|
if (rf & 1) {
|
|
16937
16758
|
var _r22_1 = i0.ɵɵgetCurrentView();
|
|
16938
16759
|
i0.ɵɵelementStart(0, "ng-miam-addon-link", 39);
|
|
16939
|
-
i0.ɵɵlistener("showAddon", function
|
|
16760
|
+
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r22_1); var ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.toggleAddon(); });
|
|
16940
16761
|
i0.ɵɵelementEnd();
|
|
16941
16762
|
}
|
|
16942
16763
|
if (rf & 2) {
|
|
16943
|
-
var
|
|
16944
|
-
i0.ɵɵproperty("recipe",
|
|
16764
|
+
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
16765
|
+
i0.ɵɵproperty("recipe", ctx_r8.recipe);
|
|
16945
16766
|
}
|
|
16946
16767
|
}
|
|
16947
16768
|
var _c1$d = function (a0, a1) { return { "sponsor": a0, "tags": a1 }; };
|
|
@@ -16978,7 +16799,7 @@
|
|
|
16978
16799
|
}
|
|
16979
16800
|
if (rf & 2) {
|
|
16980
16801
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
16981
|
-
i0.ɵɵproperty("recipe", ctx_r13.recipe)("displayTags", ctx_r13.displayTags)("displayTagsIcons", ctx_r13.displayTagsIcons)("reduced", ctx_r13.
|
|
16802
|
+
i0.ɵɵproperty("recipe", ctx_r13.recipe)("displayTags", ctx_r13.displayTags)("displayTagsIcons", ctx_r13.displayTagsIcons)("reduced", ctx_r13.stepsOnLeftSide);
|
|
16982
16803
|
}
|
|
16983
16804
|
}
|
|
16984
16805
|
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_28_Template(rf, ctx) {
|
|
@@ -17081,7 +16902,7 @@
|
|
|
17081
16902
|
}
|
|
17082
16903
|
if (rf & 2) {
|
|
17083
16904
|
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
17084
|
-
i0.ɵɵproperty("recipe", ctx_r19.recipe)("displayTags", ctx_r19.displayTags)("displayTagsIcons", ctx_r19.displayTagsIcons)("reduced", ctx_r19.
|
|
16905
|
+
i0.ɵɵproperty("recipe", ctx_r19.recipe)("displayTags", ctx_r19.displayTags)("displayTagsIcons", ctx_r19.displayTagsIcons)("reduced", ctx_r19.stepsOnLeftSide);
|
|
17085
16906
|
}
|
|
17086
16907
|
}
|
|
17087
16908
|
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_39_Template(rf, ctx) {
|
|
@@ -17110,12 +16931,12 @@
|
|
|
17110
16931
|
i0.ɵɵelementEnd();
|
|
17111
16932
|
i0.ɵɵelementEnd();
|
|
17112
16933
|
i0.ɵɵelementStart(11, "div", 11);
|
|
17113
|
-
i0.ɵɵelementStart(12, "div", 12
|
|
16934
|
+
i0.ɵɵelementStart(12, "div", 12);
|
|
16935
|
+
i0.ɵɵelementStart(13, "div", 13);
|
|
17114
16936
|
i0.ɵɵelementStart(14, "div", 14);
|
|
17115
|
-
i0.ɵɵ
|
|
17116
|
-
i0.ɵɵtemplate(16, RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template, 1, 1, "ng-miam-addon-link", 16);
|
|
16937
|
+
i0.ɵɵtemplate(15, RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template, 1, 1, "ng-miam-addon-link", 15);
|
|
17117
16938
|
i0.ɵɵelementEnd();
|
|
17118
|
-
i0.ɵɵelementStart(
|
|
16939
|
+
i0.ɵɵelementStart(16, "div", 16, 17);
|
|
17119
16940
|
i0.ɵɵtemplate(18, RecipeDetailsComponent_div_0_img_18_Template, 1, 5, "img", 18);
|
|
17120
16941
|
i0.ɵɵtemplate(19, RecipeDetailsComponent_div_0_youtube_player_19_Template, 1, 3, "youtube-player", 19);
|
|
17121
16942
|
i0.ɵɵelementEnd();
|
|
@@ -17169,9 +16990,9 @@
|
|
|
17169
16990
|
i0.ɵɵproperty("ngIf", !ctx_r0.isMobile || ctx_r0.titleInHeader);
|
|
17170
16991
|
i0.ɵɵadvance(1);
|
|
17171
16992
|
i0.ɵɵproperty("href", ctx_r0.contextService.miam.router.catalog, i0.ɵɵsanitizeUrl);
|
|
17172
|
-
i0.ɵɵadvance(
|
|
16993
|
+
i0.ɵɵadvance(6);
|
|
17173
16994
|
i0.ɵɵproperty("ngIf", (ctx_r0.recipe == null ? null : ctx_r0.recipe.sponsors == null ? null : ctx_r0.recipe.sponsors.length) > 0 || ctx_r0.recipe.informationalSentence);
|
|
17174
|
-
i0.ɵɵadvance(
|
|
16995
|
+
i0.ɵɵadvance(3);
|
|
17175
16996
|
i0.ɵɵproperty("ngIf", !ctx_r0.showVideo);
|
|
17176
16997
|
i0.ɵɵadvance(1);
|
|
17177
16998
|
i0.ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
|
|
@@ -17237,7 +17058,6 @@
|
|
|
17237
17058
|
_this.displayPricing = true;
|
|
17238
17059
|
_this.displayAddedOnPicture = true;
|
|
17239
17060
|
_this.stepsOnLeftSide = false; // If true, display the detail in 4 quarters instead of 2 halves
|
|
17240
|
-
_this.cookingTimeAsPrimaryInfo = false; // If true, display the cooking time next to total time
|
|
17241
17061
|
_this.pricingGuestsText = 'par personne';
|
|
17242
17062
|
_this.recipeAdded = new i0.EventEmitter();
|
|
17243
17063
|
_this.recipeError = new i0.EventEmitter();
|
|
@@ -17250,17 +17070,10 @@
|
|
|
17250
17070
|
_this.addButtonLoading = false;
|
|
17251
17071
|
_this.titleInHeader = false;
|
|
17252
17072
|
_this.subscriptions = [];
|
|
17073
|
+
_this.isMobile = _this.mediaMatcher.matchMedia('(max-width: 1023px)').matches;
|
|
17253
17074
|
return _this;
|
|
17254
17075
|
}
|
|
17255
|
-
RecipeDetailsComponent.prototype.ngOnInit = function () {
|
|
17256
|
-
var _this = this;
|
|
17257
|
-
this.subscriptions.push(this.contextService.miam.user.isSmallScreen$.subscribe(function (isSmall) {
|
|
17258
|
-
_this.isMobile = isSmall;
|
|
17259
|
-
_this.cdr.detectChanges();
|
|
17260
|
-
}));
|
|
17261
|
-
};
|
|
17262
17076
|
RecipeDetailsComponent.prototype.ngOnChanges = function (changes) {
|
|
17263
|
-
var _this = this;
|
|
17264
17077
|
var _a;
|
|
17265
17078
|
if (this.recipe && changes['recipe']) {
|
|
17266
17079
|
this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_RECIPE_DISPLAY, this.originTrace.originPath, this.props());
|
|
@@ -17272,32 +17085,19 @@
|
|
|
17272
17085
|
else {
|
|
17273
17086
|
this.displayTags = this.contextService.tagsOnRecipesEnabled;
|
|
17274
17087
|
}
|
|
17275
|
-
if (this.stepsOnLeftSide) {
|
|
17276
|
-
this.cookingTimeAsPrimaryInfo = true;
|
|
17277
|
-
}
|
|
17278
17088
|
this.showVideo = false; // force reload video player
|
|
17279
17089
|
this.cdr.detectChanges();
|
|
17280
17090
|
this.showVideo = this.contextService.videoRecipesEnabled && ((_a = this.recipe) === null || _a === void 0 ? void 0 : _a.videoId);
|
|
17281
|
-
if (this.showVideo) {
|
|
17282
|
-
this.setupYoutubePlayer();
|
|
17283
|
-
}
|
|
17284
|
-
setTimeout(function () {
|
|
17285
|
-
_this.initScrollListenerOnTitle();
|
|
17286
|
-
});
|
|
17287
17091
|
};
|
|
17288
|
-
RecipeDetailsComponent.prototype.
|
|
17092
|
+
RecipeDetailsComponent.prototype.ngAfterViewChecked = function () {
|
|
17289
17093
|
var _this = this;
|
|
17094
|
+
var _a, _b;
|
|
17095
|
+
this.playerWidth = Math.min(640, (_b = (_a = this.topContainerImg) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.offsetWidth);
|
|
17096
|
+
this.playerHeight = this.playerWidth * 390 / 640;
|
|
17097
|
+
this.cdr.detectChanges();
|
|
17290
17098
|
setTimeout(function () {
|
|
17291
|
-
|
|
17292
|
-
|
|
17293
|
-
_this.playerWidth = (_c = (_b = _this.topContainerImg) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.offsetWidth;
|
|
17294
|
-
_this.playerHeight = Math.min(window.innerHeight * 0.48, _this.playerWidth * 390 / 640);
|
|
17295
|
-
_this.cdr.detectChanges();
|
|
17296
|
-
}
|
|
17297
|
-
else {
|
|
17298
|
-
_this.setupYoutubePlayer();
|
|
17299
|
-
}
|
|
17300
|
-
}, 50);
|
|
17099
|
+
_this.initScrollListenerOnTitle();
|
|
17100
|
+
});
|
|
17301
17101
|
};
|
|
17302
17102
|
RecipeDetailsComponent.prototype.currentPath = function () {
|
|
17303
17103
|
return 'detail';
|
|
@@ -17320,8 +17120,8 @@
|
|
|
17320
17120
|
// For more precision on title scroll detection, we want to trigger an event each time the user scrolls 5% of the content
|
|
17321
17121
|
var threshold = __spread(Array(20).keys()).map(function (x) { return x / 20; });
|
|
17322
17122
|
// Receive an event each time the title enters/leaves the viewport
|
|
17323
|
-
this.intersectionObserver = new IntersectionObserver(function (
|
|
17324
|
-
var
|
|
17123
|
+
this.intersectionObserver = new IntersectionObserver(function (_c) {
|
|
17124
|
+
var _d = __read(_c, 1), entry = _d[0];
|
|
17325
17125
|
_this.toggleTitleInHeader();
|
|
17326
17126
|
}, { threshold: threshold });
|
|
17327
17127
|
this.intersectionObserver.observe(this.content);
|
|
@@ -17424,7 +17224,7 @@
|
|
|
17424
17224
|
var _t;
|
|
17425
17225
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
|
|
17426
17226
|
}
|
|
17427
|
-
}, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide",
|
|
17227
|
+
}, 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) {
|
|
17428
17228
|
if (rf & 1) {
|
|
17429
17229
|
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 42, 28, "div", 0);
|
|
17430
17230
|
i0.ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -17433,7 +17233,7 @@
|
|
|
17433
17233
|
var _r1 = i0.ɵɵreference(2);
|
|
17434
17234
|
i0.ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
|
|
17435
17235
|
}
|
|
17436
|
-
}, 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%}.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 .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 });
|
|
17236
|
+
}, 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 .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 });
|
|
17437
17237
|
/*@__PURE__*/ (function () {
|
|
17438
17238
|
i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
|
|
17439
17239
|
type: i0.Component,
|
|
@@ -17460,8 +17260,6 @@
|
|
|
17460
17260
|
type: i0.Input
|
|
17461
17261
|
}], stepsOnLeftSide: [{
|
|
17462
17262
|
type: i0.Input
|
|
17463
|
-
}], cookingTimeAsPrimaryInfo: [{
|
|
17464
|
-
type: i0.Input
|
|
17465
17263
|
}], moreRecipesImageURL: [{
|
|
17466
17264
|
type: i0.Input
|
|
17467
17265
|
}], pricingGuestsText: [{
|
|
@@ -17854,12 +17652,6 @@
|
|
|
17854
17652
|
quantity: new i15.FormControl(ingredient.attributes.quantity, i15.Validators.required),
|
|
17855
17653
|
unit: new i15.FormControl(ingredient.attributes.unit, i15.Validators.required),
|
|
17856
17654
|
name: new i15.FormControl(ingredient.attributes.name, i15.Validators.required),
|
|
17857
|
-
// importance: new FormControl(
|
|
17858
|
-
// ingredient.attributes.importance,
|
|
17859
|
-
// recipe.relationships?.[`recipe-provider`]?.data?.id === 'personal' ? Validators.nullValidator : Validators.required
|
|
17860
|
-
// ),
|
|
17861
|
-
// Not mandatory for the moment, decomment above if mandatory later
|
|
17862
|
-
importance: new i15.FormControl(ingredient.attributes.importance, i15.Validators.nullValidator),
|
|
17863
17655
|
'picture-url': new i15.FormControl(ingredient.attributes['picture-url'])
|
|
17864
17656
|
})
|
|
17865
17657
|
}));
|
|
@@ -18215,147 +18007,49 @@
|
|
|
18215
18007
|
}] });
|
|
18216
18008
|
})();
|
|
18217
18009
|
|
|
18218
|
-
function TagsCreatorComponent_ng_miam_modal_0_Template(rf, ctx) {
|
|
18219
|
-
if (rf & 1) {
|
|
18220
|
-
var _r2_1 = i0.ɵɵgetCurrentView();
|
|
18221
|
-
i0.ɵɵelementStart(0, "ng-miam-modal", 1);
|
|
18222
|
-
i0.ɵɵlistener("close", function TagsCreatorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.closeTagsCreator(); })("cancel", function TagsCreatorComponent_ng_miam_modal_0_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.closeTagsCreator(); })("confirm", function TagsCreatorComponent_ng_miam_modal_0_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.createTag(); });
|
|
18223
|
-
i0.ɵɵelementStart(1, "div", 2);
|
|
18224
|
-
i0.ɵɵelementStart(2, "label", 3);
|
|
18225
|
-
i0.ɵɵtext(3, "Nom du tag");
|
|
18226
|
-
i0.ɵɵelementEnd();
|
|
18227
|
-
i0.ɵɵelementStart(4, "input", 4);
|
|
18228
|
-
i0.ɵɵlistener("ngModelChange", function TagsCreatorComponent_ng_miam_modal_0_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.tagName = $event; });
|
|
18229
|
-
i0.ɵɵelementEnd();
|
|
18230
|
-
i0.ɵɵelementEnd();
|
|
18231
|
-
i0.ɵɵelementEnd();
|
|
18232
|
-
}
|
|
18233
|
-
if (rf & 2) {
|
|
18234
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
18235
|
-
i0.ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true)("confirmButtonIsLoading", ctx_r0.loading);
|
|
18236
|
-
i0.ɵɵadvance(4);
|
|
18237
|
-
i0.ɵɵproperty("ngModel", ctx_r0.tagName);
|
|
18238
|
-
}
|
|
18239
|
-
}
|
|
18240
|
-
var TagsCreatorComponent = /** @class */ (function () {
|
|
18241
|
-
function TagsCreatorComponent(tagsService, cdr) {
|
|
18242
|
-
this.tagsService = tagsService;
|
|
18243
|
-
this.cdr = cdr;
|
|
18244
|
-
this.display = false;
|
|
18245
|
-
this.close = new i0.EventEmitter();
|
|
18246
|
-
this.submit = new i0.EventEmitter();
|
|
18247
|
-
this.tagName = '';
|
|
18248
|
-
this.loading = false;
|
|
18249
|
-
}
|
|
18250
|
-
TagsCreatorComponent.prototype.closeTagsCreator = function () {
|
|
18251
|
-
this.close.emit();
|
|
18252
|
-
this.cdr.detectChanges();
|
|
18253
|
-
};
|
|
18254
|
-
TagsCreatorComponent.prototype.createTag = function () {
|
|
18255
|
-
var _this = this;
|
|
18256
|
-
this.loading = true;
|
|
18257
|
-
this.cdr.detectChanges();
|
|
18258
|
-
this.tag = this.tagsService.new();
|
|
18259
|
-
this.tag.attributes = Object.assign(Object.assign({}, this.tag.attributes), { 'tag-type-id': this.currentTagType, name: this.tagName });
|
|
18260
|
-
this.tag.save().subscribe(function (tag) {
|
|
18261
|
-
_this.tag.id = tag.data.id;
|
|
18262
|
-
_this.submit.emit(_this.tag);
|
|
18263
|
-
_this.loading = false;
|
|
18264
|
-
_this.cdr.detectChanges();
|
|
18265
|
-
});
|
|
18266
|
-
};
|
|
18267
|
-
return TagsCreatorComponent;
|
|
18268
|
-
}());
|
|
18269
|
-
TagsCreatorComponent.ɵfac = function TagsCreatorComponent_Factory(t) { return new (t || TagsCreatorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
18270
|
-
TagsCreatorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsCreatorComponent, selectors: [["ng-miam-tags-creator"]], inputs: { currentRecipe: "currentRecipe", currentTagType: "currentTagType", display: "display" }, outputs: { close: "close", submit: "submit" }, decls: 1, vars: 1, consts: [["title", "Nouveau Tag", "cancelButtonText", "Annuler", "confirmButtonText", "Cr\u00E9er", 3, "isAngularComponent", "noHeaderMode", "expanded", "confirmButtonIsLoading", "close", "cancel", "confirm", 4, "ngIf"], ["title", "Nouveau Tag", "cancelButtonText", "Annuler", "confirmButtonText", "Cr\u00E9er", 3, "isAngularComponent", "noHeaderMode", "expanded", "confirmButtonIsLoading", "close", "cancel", "confirm"], [1, "tags-creator"], ["for", "tag-name"], ["type", "text", "id", "tag-name", "name", "tag-name", 3, "ngModel", "ngModelChange"]], template: function TagsCreatorComponent_Template(rf, ctx) {
|
|
18271
|
-
if (rf & 1) {
|
|
18272
|
-
i0.ɵɵtemplate(0, TagsCreatorComponent_ng_miam_modal_0_Template, 5, 5, "ng-miam-modal", 0);
|
|
18273
|
-
}
|
|
18274
|
-
if (rf & 2) {
|
|
18275
|
-
i0.ɵɵproperty("ngIf", ctx.display);
|
|
18276
|
-
}
|
|
18277
|
-
}, directives: [i4.NgIf, ModalComponent, i15.DefaultValueAccessor, i15.NgControlStatus, i15.NgModel], styles: [".tags-creator{display:flex;flex-direction:column;font-size:16px;margin:24px;padding:4px 12px}.tags-creator label{margin:0 0 8px 8px}.tags-creator input{border:1px solid var(--m-color-grey07);border-radius:var(--m-border-radius);height:32px;padding:5px;width:100%}.tags-creator input:focus{border:1px solid var(--miam-color-primary);outline:none}"], encapsulation: 2, changeDetection: 0 });
|
|
18278
|
-
/*@__PURE__*/ (function () {
|
|
18279
|
-
i0.ɵsetClassMetadata(TagsCreatorComponent, [{
|
|
18280
|
-
type: i0.Component,
|
|
18281
|
-
args: [{
|
|
18282
|
-
selector: 'ng-miam-tags-creator',
|
|
18283
|
-
templateUrl: './tags-creator.component.html',
|
|
18284
|
-
styleUrls: ['./tags-creator.component.scss'],
|
|
18285
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
18286
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
18287
|
-
}]
|
|
18288
|
-
}], function () { return [{ type: TagsService }, { type: i0.ChangeDetectorRef }]; }, { currentRecipe: [{
|
|
18289
|
-
type: i0.Input
|
|
18290
|
-
}], currentTagType: [{
|
|
18291
|
-
type: i0.Input
|
|
18292
|
-
}], display: [{
|
|
18293
|
-
type: i0.Input
|
|
18294
|
-
}], close: [{
|
|
18295
|
-
type: i0.Output
|
|
18296
|
-
}], submit: [{
|
|
18297
|
-
type: i0.Output
|
|
18298
|
-
}] });
|
|
18299
|
-
})();
|
|
18300
|
-
|
|
18301
18010
|
function TagsSelectorComponent_ng_miam_modal_0_div_12_Template(rf, ctx) {
|
|
18302
18011
|
if (rf & 1) {
|
|
18303
|
-
var
|
|
18304
|
-
i0.ɵɵelementStart(0, "div",
|
|
18305
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
18012
|
+
var _r4_1 = i0.ɵɵgetCurrentView();
|
|
18013
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
18014
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r4_1); var tag_r2 = ctx.$implicit; var ctx_r3 = i0.ɵɵnextContext(2); return ctx_r3.toggleTag(tag_r2); });
|
|
18306
18015
|
i0.ɵɵtext(1);
|
|
18307
18016
|
i0.ɵɵelementEnd();
|
|
18308
18017
|
}
|
|
18309
18018
|
if (rf & 2) {
|
|
18310
|
-
var
|
|
18311
|
-
var
|
|
18312
|
-
i0.ɵɵproperty("ngClass",
|
|
18313
|
-
i0.ɵɵadvance(1);
|
|
18314
|
-
i0.ɵɵtextInterpolate1(" ", tag_r5.attributes.name, " ");
|
|
18315
|
-
}
|
|
18316
|
-
}
|
|
18317
|
-
function TagsSelectorComponent_ng_miam_modal_0_div_13_Template(rf, ctx) {
|
|
18318
|
-
if (rf & 1) {
|
|
18319
|
-
var _r9_1 = i0.ɵɵgetCurrentView();
|
|
18320
|
-
i0.ɵɵelementStart(0, "div", 10);
|
|
18321
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_13_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r9_1); var ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.displayTagsCreator(true); });
|
|
18322
|
-
i0.ɵɵelement(1, "ng-miam-icon", 11);
|
|
18323
|
-
i0.ɵɵelementEnd();
|
|
18324
|
-
}
|
|
18325
|
-
if (rf & 2) {
|
|
18326
|
-
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
18019
|
+
var tag_r2 = ctx.$implicit;
|
|
18020
|
+
var ctx_r1 = i0.ɵɵnextContext(2);
|
|
18021
|
+
i0.ɵɵproperty("ngClass", ctx_r1.tagClass(tag_r2));
|
|
18327
18022
|
i0.ɵɵadvance(1);
|
|
18328
|
-
i0.ɵɵ
|
|
18023
|
+
i0.ɵɵtextInterpolate1(" ", tag_r2.attributes.name, " ");
|
|
18329
18024
|
}
|
|
18330
18025
|
}
|
|
18331
18026
|
var _c0$v = function (a0) { return { "active": a0 }; };
|
|
18332
18027
|
function TagsSelectorComponent_ng_miam_modal_0_Template(rf, ctx) {
|
|
18333
18028
|
if (rf & 1) {
|
|
18334
|
-
var
|
|
18335
|
-
i0.ɵɵelementStart(0, "ng-miam-modal",
|
|
18336
|
-
i0.ɵɵlistener("close", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(
|
|
18337
|
-
i0.ɵɵelementStart(1, "div",
|
|
18338
|
-
i0.ɵɵelementStart(2, "div",
|
|
18339
|
-
i0.ɵɵelementStart(3, "div",
|
|
18340
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_3_listener() { i0.ɵɵrestoreView(
|
|
18029
|
+
var _r6_1 = i0.ɵɵgetCurrentView();
|
|
18030
|
+
i0.ɵɵelementStart(0, "ng-miam-modal", 1);
|
|
18031
|
+
i0.ɵɵlistener("close", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.closeTagsSelector(); })("cancel", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.closeTagsSelector(); })("confirm", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.confirm(); });
|
|
18032
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
18033
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
18034
|
+
i0.ɵɵelementStart(3, "div", 4);
|
|
18035
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_3_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.switchTab(ctx_r9.mealTypeTags); });
|
|
18341
18036
|
i0.ɵɵtext(4, " Type de plat ");
|
|
18342
18037
|
i0.ɵɵelementEnd();
|
|
18343
|
-
i0.ɵɵelementStart(5, "div",
|
|
18344
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_5_listener() { i0.ɵɵrestoreView(
|
|
18038
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
18039
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.switchTab(ctx_r10.ingredientCategoryTags); });
|
|
18345
18040
|
i0.ɵɵtext(6, " Famille d'ingr\u00E9dients ");
|
|
18346
18041
|
i0.ɵɵelementEnd();
|
|
18347
|
-
i0.ɵɵelementStart(7, "div",
|
|
18348
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(
|
|
18042
|
+
i0.ɵɵelementStart(7, "div", 4);
|
|
18043
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.switchTab(ctx_r11.equipmentTags); });
|
|
18349
18044
|
i0.ɵɵtext(8, " \u00C9quipements ");
|
|
18350
18045
|
i0.ɵɵelementEnd();
|
|
18351
|
-
i0.ɵɵelementStart(9, "div",
|
|
18352
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_9_listener() { i0.ɵɵrestoreView(
|
|
18046
|
+
i0.ɵɵelementStart(9, "div", 4);
|
|
18047
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_9_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.switchTab(ctx_r12.dietTags); });
|
|
18353
18048
|
i0.ɵɵtext(10, " R\u00E9gimes alimentaires ");
|
|
18354
18049
|
i0.ɵɵelementEnd();
|
|
18355
18050
|
i0.ɵɵelementEnd();
|
|
18356
|
-
i0.ɵɵelementStart(11, "div",
|
|
18357
|
-
i0.ɵɵtemplate(12, TagsSelectorComponent_ng_miam_modal_0_div_12_Template, 2, 2, "div",
|
|
18358
|
-
i0.ɵɵtemplate(13, TagsSelectorComponent_ng_miam_modal_0_div_13_Template, 2, 1, "div", 8);
|
|
18051
|
+
i0.ɵɵelementStart(11, "div", 5);
|
|
18052
|
+
i0.ɵɵtemplate(12, TagsSelectorComponent_ng_miam_modal_0_div_12_Template, 2, 2, "div", 6);
|
|
18359
18053
|
i0.ɵɵelementEnd();
|
|
18360
18054
|
i0.ɵɵelementEnd();
|
|
18361
18055
|
i0.ɵɵelementEnd();
|
|
@@ -18364,44 +18058,20 @@
|
|
|
18364
18058
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
18365
18059
|
i0.ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true);
|
|
18366
18060
|
i0.ɵɵadvance(3);
|
|
18367
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18061
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "meal_type"));
|
|
18368
18062
|
i0.ɵɵadvance(2);
|
|
18369
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18063
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "ingredient_category"));
|
|
18370
18064
|
i0.ɵɵadvance(2);
|
|
18371
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18065
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "equipment"));
|
|
18372
18066
|
i0.ɵɵadvance(2);
|
|
18373
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18067
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "diet"));
|
|
18374
18068
|
i0.ɵɵadvance(3);
|
|
18375
18069
|
i0.ɵɵproperty("ngForOf", ctx_r0.selectedTabTags);
|
|
18376
|
-
i0.ɵɵadvance(1);
|
|
18377
|
-
i0.ɵɵproperty("ngIf", ctx_r0.isAdmin);
|
|
18378
|
-
}
|
|
18379
|
-
}
|
|
18380
|
-
function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template(rf, ctx) {
|
|
18381
|
-
if (rf & 1) {
|
|
18382
|
-
var _r20_1 = i0.ɵɵgetCurrentView();
|
|
18383
|
-
i0.ɵɵelementStart(0, "ng-miam-tags-creator", 13);
|
|
18384
|
-
i0.ɵɵlistener("close", function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template_ng_miam_tags_creator_close_0_listener() { i0.ɵɵrestoreView(_r20_1); var ctx_r19 = i0.ɵɵnextContext(2); return ctx_r19.displayTagsCreator(false); })("submit", function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template_ng_miam_tags_creator_submit_0_listener($event) { i0.ɵɵrestoreView(_r20_1); var ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.addCreatedTag($event); });
|
|
18385
|
-
i0.ɵɵelementEnd();
|
|
18386
|
-
}
|
|
18387
|
-
if (rf & 2) {
|
|
18388
|
-
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
18389
|
-
i0.ɵɵproperty("display", ctx_r18.tagsCreatorDisplayed)("currentRecipe", ctx_r18.currentRecipe)("currentTagType", ctx_r18.selectedTabTags[0] == null ? null : ctx_r18.selectedTabTags[0].tagType);
|
|
18390
|
-
}
|
|
18391
|
-
}
|
|
18392
|
-
function TagsSelectorComponent_ng_template_1_Template(rf, ctx) {
|
|
18393
|
-
if (rf & 1) {
|
|
18394
|
-
i0.ɵɵtemplate(0, TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template, 1, 3, "ng-miam-tags-creator", 12);
|
|
18395
|
-
}
|
|
18396
|
-
if (rf & 2) {
|
|
18397
|
-
var ctx_r2 = i0.ɵɵnextContext();
|
|
18398
|
-
i0.ɵɵproperty("ngIf", ctx_r2.display);
|
|
18399
18070
|
}
|
|
18400
18071
|
}
|
|
18401
18072
|
var TagsSelectorComponent = /** @class */ (function () {
|
|
18402
|
-
function TagsSelectorComponent(tagsService,
|
|
18073
|
+
function TagsSelectorComponent(tagsService, cdr) {
|
|
18403
18074
|
this.tagsService = tagsService;
|
|
18404
|
-
this.userService = userService;
|
|
18405
18075
|
this.cdr = cdr;
|
|
18406
18076
|
this.currentTags = [];
|
|
18407
18077
|
this.display = false;
|
|
@@ -18414,8 +18084,6 @@
|
|
|
18414
18084
|
this.selectedTags = [];
|
|
18415
18085
|
this.selectedTabTags = [];
|
|
18416
18086
|
this.tagsArefetched = false;
|
|
18417
|
-
this.icon = exports.Icon;
|
|
18418
|
-
this.tagsCreatorDisplayed = false;
|
|
18419
18087
|
this.subscriptions = [];
|
|
18420
18088
|
}
|
|
18421
18089
|
TagsSelectorComponent.prototype.ngOnInit = function () {
|
|
@@ -18435,10 +18103,6 @@
|
|
|
18435
18103
|
.pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.ingredientCategoryTags = tags.data; })),
|
|
18436
18104
|
])
|
|
18437
18105
|
.subscribe(function () { _this.tagsArefetched = true; }));
|
|
18438
|
-
this.subscriptions.push(this.userService.isAdmin.subscribe(function (isAdmin) {
|
|
18439
|
-
_this.isAdmin = isAdmin;
|
|
18440
|
-
_this.cdr.detectChanges();
|
|
18441
|
-
}));
|
|
18442
18106
|
};
|
|
18443
18107
|
TagsSelectorComponent.prototype.ngOnChanges = function (changes) {
|
|
18444
18108
|
this.selectedTabTags = __spread(this.mealTypeTags);
|
|
@@ -18475,56 +18139,28 @@
|
|
|
18475
18139
|
this.savedTags.emit(this.selectedTags);
|
|
18476
18140
|
this.closeTagsSelector();
|
|
18477
18141
|
};
|
|
18478
|
-
TagsSelectorComponent.prototype.displayTagsCreator = function (display) {
|
|
18479
|
-
this.tagsCreatorDisplayed = display;
|
|
18480
|
-
this.cdr.detectChanges();
|
|
18481
|
-
};
|
|
18482
|
-
TagsSelectorComponent.prototype.addCreatedTag = function (tag) {
|
|
18483
|
-
if (tag.tagType === 'meal_type') {
|
|
18484
|
-
this.mealTypeTags.push(tag);
|
|
18485
|
-
this.switchTab(this.mealTypeTags);
|
|
18486
|
-
}
|
|
18487
|
-
else if (tag.tagType === 'ingredient_category') {
|
|
18488
|
-
this.ingredientCategoryTags.push(tag);
|
|
18489
|
-
this.switchTab(this.ingredientCategoryTags);
|
|
18490
|
-
}
|
|
18491
|
-
else if (tag.tagType === 'equipment') {
|
|
18492
|
-
this.equipmentTags.push(tag);
|
|
18493
|
-
this.switchTab(this.equipmentTags);
|
|
18494
|
-
}
|
|
18495
|
-
else if (tag.tagType === 'diet') {
|
|
18496
|
-
this.dietTags.push(tag);
|
|
18497
|
-
this.switchTab(this.dietTags);
|
|
18498
|
-
}
|
|
18499
|
-
this.toggleTag(tag);
|
|
18500
|
-
this.displayTagsCreator(false);
|
|
18501
|
-
};
|
|
18502
18142
|
return TagsSelectorComponent;
|
|
18503
18143
|
}());
|
|
18504
|
-
TagsSelectorComponent.ɵfac = function TagsSelectorComponent_Factory(t) { return new (t || TagsSelectorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(
|
|
18505
|
-
TagsSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsSelectorComponent, selectors: [["ng-miam-tags-selector"]], inputs: {
|
|
18144
|
+
TagsSelectorComponent.ɵfac = function TagsSelectorComponent_Factory(t) { return new (t || TagsSelectorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
18145
|
+
TagsSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsSelectorComponent, selectors: [["ng-miam-tags-selector"]], inputs: { currentTags: "currentTags", display: "display" }, outputs: { savedTags: "savedTags", close: "close" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm", 4, "ngIf"], ["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm"], [1, "tags-selector"], [1, "tags-selector__selectors"], [1, "tags-selector__selector", 3, "ngClass", "click"], [1, "tags-selector__tags"], ["class", "tags-selector__tag", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "tags-selector__tag", 3, "ngClass", "click"]], template: function TagsSelectorComponent_Template(rf, ctx) {
|
|
18506
18146
|
if (rf & 1) {
|
|
18507
|
-
i0.ɵɵtemplate(0, TagsSelectorComponent_ng_miam_modal_0_Template,
|
|
18508
|
-
i0.ɵɵtemplate(1, TagsSelectorComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
18147
|
+
i0.ɵɵtemplate(0, TagsSelectorComponent_ng_miam_modal_0_Template, 13, 16, "ng-miam-modal", 0);
|
|
18509
18148
|
}
|
|
18510
18149
|
if (rf & 2) {
|
|
18511
|
-
|
|
18512
|
-
i0.ɵɵproperty("ngIf", ctx.display && !ctx.tagsCreatorDisplayed)("ngIfElse", _r1);
|
|
18150
|
+
i0.ɵɵproperty("ngIf", ctx.display);
|
|
18513
18151
|
}
|
|
18514
|
-
}, directives: [i4.NgIf, ModalComponent, i4.NgClass, i4.NgForOf
|
|
18152
|
+
}, directives: [i4.NgIf, ModalComponent, i4.NgClass, i4.NgForOf], styles: [".tags-selector{margin:0 24px}.tags-selector .tags-selector__selectors{display:flex;flex-direction:row}.tags-selector .tags-selector__selectors .tags-selector__selector{border-bottom:1px solid var(--m-color-grey07);color:var(--m-color-grey03);cursor:pointer;font-size:16px;min-width:200px;padding:8px;text-align:center}.tags-selector .tags-selector__selectors .tags-selector__selector.active{border-bottom:2px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}.tags-selector .tags-selector__tags{display:flex;flex-flow:row wrap;min-height:200px}.tags-selector .tags-selector__tags .tags-selector__tag{align-items:center;background-color:var(--m-color-white);border:1px solid var(--m-color-grey07);border-radius:var(--m-border-radius-pill);cursor:pointer;display:flex;font-size:16px;height:32px;margin:8px;padding:4px 12px}.tags-selector .tags-selector__tags .tags-selector__tag.active{background-color:var(--m-color-primary-light);border:none}.tags-selector .tags-selector__tags .tags-selector__tag.active.meal_type{background-color:var(--m-color-tag-meal-type)}.tags-selector .tags-selector__tags .tags-selector__tag.active.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.tags-selector .tags-selector__tags .tags-selector__tag.active.equipment{background-color:var(--m-color-tag-equipment)}.tags-selector .tags-selector__tags .tags-selector__tag.active.diet{background-color:var(--m-color-tag-diet)}"], encapsulation: 2, changeDetection: 0 });
|
|
18515
18153
|
/*@__PURE__*/ (function () {
|
|
18516
18154
|
i0.ɵsetClassMetadata(TagsSelectorComponent, [{
|
|
18517
18155
|
type: i0.Component,
|
|
18518
18156
|
args: [{
|
|
18519
|
-
selector:
|
|
18157
|
+
selector: "ng-miam-tags-selector",
|
|
18520
18158
|
templateUrl: './tags-selector.component.html',
|
|
18521
18159
|
styleUrls: ['./tags-selector.component.scss'],
|
|
18522
18160
|
encapsulation: i0.ViewEncapsulation.None,
|
|
18523
18161
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
18524
18162
|
}]
|
|
18525
|
-
}], function () { return [{ type: TagsService }, { type:
|
|
18526
|
-
type: i0.Input
|
|
18527
|
-
}], currentTags: [{
|
|
18163
|
+
}], function () { return [{ type: TagsService }, { type: i0.ChangeDetectorRef }]; }, { currentTags: [{
|
|
18528
18164
|
type: i0.Input
|
|
18529
18165
|
}], display: [{
|
|
18530
18166
|
type: i0.Input
|
|
@@ -18656,7 +18292,7 @@
|
|
|
18656
18292
|
}
|
|
18657
18293
|
if (rf & 2) {
|
|
18658
18294
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
18659
|
-
i0.ɵɵproperty("
|
|
18295
|
+
i0.ɵɵproperty("placeholder", ctx_r13.INGREDIENT_PLACEHOLDER)("instructions", ctx_r13.INGREDIENT_INSTRUCTIONS)("list", ctx_r13.recipeForm.get("ingredients"))("ingredientMode", true)("ingredientsPictures", ctx_r13.ingredientsPictures);
|
|
18660
18296
|
}
|
|
18661
18297
|
}
|
|
18662
18298
|
function RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template(rf, ctx) {
|
|
@@ -18733,7 +18369,7 @@
|
|
|
18733
18369
|
i0.ɵɵelementContainerEnd();
|
|
18734
18370
|
i0.ɵɵelementStart(38, "div", 19, 20);
|
|
18735
18371
|
i0.ɵɵtemplate(40, RecipeStepperComponent_ng_container_28_div_40_Template, 5, 6, "div", 40);
|
|
18736
|
-
i0.ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1,
|
|
18372
|
+
i0.ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1, 5, "ng-miam-list-input", 41);
|
|
18737
18373
|
i0.ɵɵtemplate(42, RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template, 1, 3, "ng-miam-list-input", 42);
|
|
18738
18374
|
i0.ɵɵelementEnd();
|
|
18739
18375
|
i0.ɵɵelementContainerEnd();
|
|
@@ -18800,7 +18436,7 @@
|
|
|
18800
18436
|
}
|
|
18801
18437
|
if (rf & 2) {
|
|
18802
18438
|
var ctx_r5 = i0.ɵɵnextContext();
|
|
18803
|
-
i0.ɵɵproperty("display", ctx_r5.tagsSelectorDisplayed)("
|
|
18439
|
+
i0.ɵɵproperty("display", ctx_r5.tagsSelectorDisplayed)("currentTags", ctx_r5.recipe.relationships.tags == null ? null : ctx_r5.recipe.relationships.tags.data);
|
|
18804
18440
|
}
|
|
18805
18441
|
}
|
|
18806
18442
|
var RecipeStepperComponent = /** @class */ (function (_super) {
|
|
@@ -18927,7 +18563,7 @@
|
|
|
18927
18563
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepperLinks = _t.first);
|
|
18928
18564
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.steps = _t);
|
|
18929
18565
|
}
|
|
18930
|
-
}, inputs: { displayTags: "displayTags", ingredientsPictures: "ingredientsPictures" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 37, vars: 17, consts: [[1, "miam-recipe-stepper__anchor"], ["topAnchor", ""], [1, "miam-recipe-stepper"], [1, "miam-recipe-stepper__padding"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-stepper__links"], ["stepperLinks", ""], [1, "miam-recipe-stepper__link", 3, "ngClass", "click"], [1, "miam-recipe-stepper__link__number"], [1, "m-body-typo", "miam-recipe-stepper__link__name"], [1, "miam-recipe-stepper__link__divider"], [3, "formGroup", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "miam-recipe-stepper__footer"], [1, "m-button-secondary", 3, "disabled", "click"], [1, "m-button-primary", 3, "disabled", "click"], [3, "display", "
|
|
18566
|
+
}, inputs: { displayTags: "displayTags", ingredientsPictures: "ingredientsPictures" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 37, vars: 17, consts: [[1, "miam-recipe-stepper__anchor"], ["topAnchor", ""], [1, "miam-recipe-stepper"], [1, "miam-recipe-stepper__padding"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-stepper__links"], ["stepperLinks", ""], [1, "miam-recipe-stepper__link", 3, "ngClass", "click"], [1, "miam-recipe-stepper__link__number"], [1, "m-body-typo", "miam-recipe-stepper__link__name"], [1, "miam-recipe-stepper__link__divider"], [3, "formGroup", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "miam-recipe-stepper__footer"], [1, "m-button-secondary", 3, "disabled", "click"], [1, "m-button-primary", 3, "disabled", "click"], [3, "display", "currentTags", "close", "savedTags", 4, "ngIf"], [3, "formGroup"], [1, "miam-recipe-stepper__section"], ["step", ""], [1, "miam-recipe-stepper__mandatory"], ["ngDefaultControl", "", "placeholder", "Titre de la recette", 1, "m-title-text-input", 3, "formControl"], [1, "miam-recipe-stepper__type__label"], ["ngDefaultControl", "", 3, "formControl"], [1, "miam-recipe-stepper__section__guests", "m-default-card"], [1, "miam-recipe-stepper__guests__label"], ["ngDefaultControl", "", "formControlName", "number-of-guests", "minRange", "1", "maxRange", "999", 3, "counter", "counterChange"], ["class", "miam-recipe-stepper__tags", 4, "ngIf"], [1, "miam-recipe-stepper__section__row"], [1, "miam-recipe-stepper__picture"], ["ngDefaultControl", "", 3, "buttonText", "formControl", "imageUrl", "photoMode", "bigFileDropped", "onFileDropped"], ["class", "miam-recipe-stepper__picture__warning", 4, "ngIf"], [1, "miam-recipe-stepper__row__description"], [1, "m-h1-typo"], ["cdkTextareaAutosize", "", "cdkAutosizeMinRows", "20", "cdkAutosizeMaxRows", "50", "maxlength", "250", 1, "m-input", 3, "formControl"], [1, "miam-recipe-stepper__description__counter"], ["class", "miam-recipe-stepper__section__times", 4, "ngIf"], [1, "miam-recipe-stepper__attibutes__slider"], ["ngDefaultControl", "", 3, "steps", "formControl", "icons"], ["class", "miam-recipe-stepper__mobile__buttons", 4, "ngIf"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged", 4, "ngIf"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged", 4, "ngIf"], [1, "miam-recipe-stepper__tags"], [1, "miam-recipe-stepper__tags__title"], [1, "miam-recipe-stepper__tags__recap"], ["class", "miam-recipe-stepper__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], ["primaryColor", "var(--m-color-onyx)", 3, "iconName"], [1, "miam-recipe-stepper__tag", 3, "ngClass"], [1, "miam-recipe-stepper__tag__name"], ["primaryColor", "var(--m-color-grey01)", 1, "miam-recipe-stepper__tag__icon", 3, "iconName", "click"], [1, "miam-recipe-stepper__picture__warning"], ["primaryColor", "var(--m-color-warning-text)", 3, "iconName"], [1, "miam-recipe-stepper__picture__warning__background"], [1, "miam-recipe-stepper__section__times"], ["ngDefaultControl", "", "title", "Temps de pr\u00E9paration", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de cuisson", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de repos", 3, "formControl", "icon"], [1, "miam-recipe-stepper__mobile__buttons"], [1, "m-button-secondary", 3, "ngClass", "click"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged"], [3, "display", "currentTags", "close", "savedTags"]], template: function RecipeStepperComponent_Template(rf, ctx) {
|
|
18931
18567
|
if (rf & 1) {
|
|
18932
18568
|
i0.ɵɵelement(0, "div", 0, 1);
|
|
18933
18569
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -18985,7 +18621,7 @@
|
|
|
18985
18621
|
i0.ɵɵelementEnd();
|
|
18986
18622
|
i0.ɵɵelementEnd();
|
|
18987
18623
|
i0.ɵɵelementEnd();
|
|
18988
|
-
i0.ɵɵtemplate(36, RecipeStepperComponent_ng_miam_tags_selector_36_Template, 1,
|
|
18624
|
+
i0.ɵɵtemplate(36, RecipeStepperComponent_ng_miam_tags_selector_36_Template, 1, 2, "ng-miam-tags-selector", 17);
|
|
18989
18625
|
}
|
|
18990
18626
|
if (rf & 2) {
|
|
18991
18627
|
var _r3 = i0.ɵɵreference(30);
|
|
@@ -19961,8 +19597,7 @@
|
|
|
19961
19597
|
CatalogHeaderComponent,
|
|
19962
19598
|
RecipeStepperComponent,
|
|
19963
19599
|
CatalogArticleCardComponent,
|
|
19964
|
-
TagsSelectorComponent
|
|
19965
|
-
TagsCreatorComponent
|
|
19600
|
+
TagsSelectorComponent
|
|
19966
19601
|
];
|
|
19967
19602
|
// Tag names as imported in client application
|
|
19968
19603
|
// Warning : do not use caps, use dashed case only
|
|
@@ -19989,8 +19624,7 @@
|
|
|
19989
19624
|
'catalog-header',
|
|
19990
19625
|
'recipe-stepper',
|
|
19991
19626
|
'catalog-article-card',
|
|
19992
|
-
'tags-selector'
|
|
19993
|
-
'tags-creator'
|
|
19627
|
+
'tags-selector'
|
|
19994
19628
|
];
|
|
19995
19629
|
var WEBC_MODULES = [
|
|
19996
19630
|
LoaderModule,
|
|
@@ -20044,8 +19678,7 @@
|
|
|
20044
19678
|
CatalogHeaderComponent,
|
|
20045
19679
|
RecipeStepperComponent,
|
|
20046
19680
|
CatalogArticleCardComponent,
|
|
20047
|
-
TagsSelectorComponent,
|
|
20048
|
-
TagsCreatorComponent], imports: [LoaderModule,
|
|
19681
|
+
TagsSelectorComponent], imports: [LoaderModule,
|
|
20049
19682
|
BasketPreviewModule,
|
|
20050
19683
|
ListScanModule,
|
|
20051
19684
|
RecipeDetailsModule,
|
|
@@ -20079,8 +19712,7 @@
|
|
|
20079
19712
|
CatalogHeaderComponent,
|
|
20080
19713
|
RecipeStepperComponent,
|
|
20081
19714
|
CatalogArticleCardComponent,
|
|
20082
|
-
TagsSelectorComponent
|
|
20083
|
-
TagsCreatorComponent] });
|
|
19715
|
+
TagsSelectorComponent] });
|
|
20084
19716
|
})();
|
|
20085
19717
|
/*@__PURE__*/ (function () {
|
|
20086
19718
|
i0.ɵsetClassMetadata(WebComponentsModule, [{
|
|
@@ -20103,7 +19735,7 @@
|
|
|
20103
19735
|
}]
|
|
20104
19736
|
}], null, null);
|
|
20105
19737
|
})();
|
|
20106
|
-
i0.ɵɵsetComponentScope(RecipeCatalogComponent, [LoaderComponent, BasketPreviewBlockComponent, BasketPreviewLineComponent, BasketPreviewDisabledComponent, ReplaceItemComponent, ListScanComponent, RecipeDetailsIngredientsComponent, RecipeDetailsComponent, RecipeAddonComponent, RecipeDetailsStepsComponent, RecipeDetailsInfosComponent, ModalComponent, i4.NgClass, i4.NgComponentOutlet, i4.NgForOf, i4.NgIf, i4.NgTemplateOutlet, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, i4.NgPlural, i4.NgPluralCase, i15.ɵangular_packages_forms_forms_y, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x, i15.DefaultValueAccessor, i15.NumberValueAccessor, i15.RangeValueAccessor, i15.CheckboxControlValueAccessor, i15.SelectControlValueAccessor, i15.SelectMultipleControlValueAccessor, i15.RadioControlValueAccessor, i15.NgControlStatus, i15.NgControlStatusGroup, i15.RequiredValidator, i15.MinLengthValidator, i15.MaxLengthValidator, i15.PatternValidator, i15.CheckboxRequiredValidator, i15.EmailValidator, i15.NgModel, i15.NgModelGroup, i15.NgForm, i15.FormControlDirective, i15.FormGroupDirective, i15.FormControlName, i15.FormGroupName, i15.FormArrayName, IconComponent, CORSOverlayComponent, ListInputComponent, SkeletonComponent, SliderComponent, TimePickerComponent, CounterInputComponent, LikeButtonComponent, TabsComponent, TabBodyComponent, TabItemComponent, TabLabelComponent, DeleteConfirmButtonComponent, RecipePricingComponent, AddonLinkComponent, RecipeFiltersComponent, SelectInputComponent, TextInputComponent, ActionsPopinComponent, CardCreateRecipeComponent, RecipeTypeChooserComponent,
|
|
19738
|
+
i0.ɵɵsetComponentScope(RecipeCatalogComponent, [LoaderComponent, BasketPreviewBlockComponent, BasketPreviewLineComponent, BasketPreviewDisabledComponent, ReplaceItemComponent, ListScanComponent, RecipeDetailsIngredientsComponent, RecipeDetailsComponent, RecipeAddonComponent, RecipeDetailsStepsComponent, RecipeDetailsInfosComponent, ModalComponent, i4.NgClass, i4.NgComponentOutlet, i4.NgForOf, i4.NgIf, i4.NgTemplateOutlet, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, i4.NgPlural, i4.NgPluralCase, i15.ɵangular_packages_forms_forms_y, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x, i15.DefaultValueAccessor, i15.NumberValueAccessor, i15.RangeValueAccessor, i15.CheckboxControlValueAccessor, i15.SelectControlValueAccessor, i15.SelectMultipleControlValueAccessor, i15.RadioControlValueAccessor, i15.NgControlStatus, i15.NgControlStatusGroup, i15.RequiredValidator, i15.MinLengthValidator, i15.MaxLengthValidator, i15.PatternValidator, i15.CheckboxRequiredValidator, i15.EmailValidator, i15.NgModel, i15.NgModelGroup, i15.NgForm, i15.FormControlDirective, i15.FormGroupDirective, i15.FormControlName, i15.FormGroupName, i15.FormArrayName, IconComponent, CORSOverlayComponent, ListInputComponent, SkeletonComponent, SliderComponent, TimePickerComponent, CounterInputComponent, LikeButtonComponent, TabsComponent, TabBodyComponent, TabItemComponent, TabLabelComponent, DeleteConfirmButtonComponent, RecipePricingComponent, AddonLinkComponent, RecipeFiltersComponent, SelectInputComponent, TextInputComponent, ActionsPopinComponent, CardCreateRecipeComponent, RecipeTypeChooserComponent, ExplaineBannerComponent, i1$4.ɵb, i1$4.ɵc, i1$4.ɵd, i1$4.ɵe, i1$4.ɵf, i1$4.ɵg, i1$4.ɵh, i1$4.ɵl, i1$4.ɵm, i38.ɵb, i38.ɵa, i38.ɵd, i1$4.CalendarMonthViewComponent, i1$4.ɵn, i1$4.ɵa, i1$4.ɵo, i39.ResizableDirective, i39.ResizeHandleDirective, i1$4.CalendarWeekViewComponent, i1$4.ɵp, i1$4.ɵq, i1$4.ɵr, i1$4.ɵs, i1$4.CalendarDayViewComponent, AutowidthInputDirective, i8.YouTubePlayer, SuggestionCardComponent,
|
|
20107
19739
|
DrawerComponent,
|
|
20108
19740
|
OrderButtonComponent,
|
|
20109
19741
|
PosSelectionComponent,
|
|
@@ -20125,8 +19757,7 @@
|
|
|
20125
19757
|
CatalogHeaderComponent,
|
|
20126
19758
|
RecipeStepperComponent,
|
|
20127
19759
|
CatalogArticleCardComponent,
|
|
20128
|
-
TagsSelectorComponent,
|
|
20129
|
-
TagsCreatorComponent], [i4.AsyncPipe, i4.UpperCasePipe, i4.LowerCasePipe, i4.JsonPipe, i4.SlicePipe, i4.DecimalPipe, i4.PercentPipe, i4.TitleCasePipe, i4.CurrencyPipe, i4.DatePipe, i4.I18nPluralPipe, i4.I18nSelectPipe, i4.KeyValuePipe, i1$4.ɵi, i1$4.ɵj, i1$4.ɵk, ReadableFloatNumberPipe, EllipsisPipe, SafePipe, CapitalizeFirstLetterPipe, ExtendedDatePipe]);
|
|
19760
|
+
TagsSelectorComponent], [i4.AsyncPipe, i4.UpperCasePipe, i4.LowerCasePipe, i4.JsonPipe, i4.SlicePipe, i4.DecimalPipe, i4.PercentPipe, i4.TitleCasePipe, i4.CurrencyPipe, i4.DatePipe, i4.I18nPluralPipe, i4.I18nSelectPipe, i4.KeyValuePipe, i1$4.ɵi, i1$4.ɵj, i1$4.ɵk, ReadableFloatNumberPipe, EllipsisPipe, SafePipe, CapitalizeFirstLetterPipe, ExtendedDatePipe]);
|
|
20130
19761
|
|
|
20131
19762
|
var MiamInterceptor = /** @class */ (function () {
|
|
20132
19763
|
function MiamInterceptor(injector) {
|
|
@@ -20324,7 +19955,7 @@
|
|
|
20324
19955
|
exports.DeleteConfirmButtonComponent = DeleteConfirmButtonComponent;
|
|
20325
19956
|
exports.DragDropInputComponent = DragDropInputComponent;
|
|
20326
19957
|
exports.DrawerComponent = DrawerComponent;
|
|
20327
|
-
exports.
|
|
19958
|
+
exports.ExplaineBannerComponent = ExplaineBannerComponent;
|
|
20328
19959
|
exports.GroceriesEntriesService = GroceriesEntriesService;
|
|
20329
19960
|
exports.GroceriesListsService = GroceriesListsService;
|
|
20330
19961
|
exports.IconComponent = IconComponent;
|
|
@@ -20365,7 +19996,6 @@
|
|
|
20365
19996
|
exports.RecipeDetailsModule = RecipeDetailsModule;
|
|
20366
19997
|
exports.RecipeDetailsStepsComponent = RecipeDetailsStepsComponent;
|
|
20367
19998
|
exports.RecipeEventsService = RecipeEventsService;
|
|
20368
|
-
exports.RecipeFilters = RecipeFilters;
|
|
20369
19999
|
exports.RecipeFiltersComponent = RecipeFiltersComponent;
|
|
20370
20000
|
exports.RecipeFormComponent = RecipeFormComponent;
|
|
20371
20001
|
exports.RecipeHelperComponent = RecipeHelperComponent;
|
|
@@ -20401,7 +20031,6 @@
|
|
|
20401
20031
|
exports.TabLabelComponent = TabLabelComponent;
|
|
20402
20032
|
exports.TabsComponent = TabsComponent;
|
|
20403
20033
|
exports.Tag = Tag;
|
|
20404
|
-
exports.TagsCreatorComponent = TagsCreatorComponent;
|
|
20405
20034
|
exports.TagsSelectorComponent = TagsSelectorComponent;
|
|
20406
20035
|
exports.TagsService = TagsService;
|
|
20407
20036
|
exports.TextInputComponent = TextInputComponent;
|