ng-miam 4.7.6 → 4.7.8
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 +762 -399
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +2 -2
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/addon-link/addon-link.component.js +28 -35
- package/esm2015/lib/_components/components.module.js +5 -5
- package/esm2015/lib/_components/explain-banner/explain-banner.component.js +72 -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 +140 -57
- package/esm2015/lib/_components/recipe-filters/recipe-filters.component.js +1 -1
- package/esm2015/lib/_models/ingredient.js +3 -2
- package/esm2015/lib/_models/tag.js +2 -5
- package/esm2015/lib/_services/context.service.js +14 -5
- package/esm2015/lib/_services/ingredients.service.js +5 -4
- package/esm2015/lib/_types/icon.enum.js +4 -4
- package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +8 -3
- package/esm2015/lib/_web-components/catalog-article-card/catalog-article-card.component.js +1 -1
- package/esm2015/lib/_web-components/catalog-header/catalog-header.component.js +1 -1
- package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +157 -127
- package/esm2015/lib/_web-components/index.js +2 -1
- package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +13 -3
- package/esm2015/lib/_web-components/recipe-details/recipe-addon/recipe-addon.component.js +1 -1
- 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 +43 -22
- package/esm2015/lib/_web-components/recipe-form/recipe-form.component.js +7 -1
- package/esm2015/lib/_web-components/recipe-stepper/recipe-stepper.component.js +6 -6
- package/esm2015/lib/_web-components/tags-creator/tags-creator.component.js +81 -0
- package/esm2015/lib/_web-components/tags-selector/tags-selector.component.js +109 -40
- package/esm2015/lib/_web-components/web-components.module.js +14 -9
- package/esm2015/public_api.js +2 -1
- package/fesm2015/ng-miam.js +709 -391
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_components/components.module.d.ts +7 -4
- package/lib/_components/explain-banner/explain-banner.component.d.ts +10 -0
- package/lib/_components/index.d.ts +1 -1
- package/lib/_components/list-input/list-input.component.d.ts +12 -1
- package/lib/_models/ingredient.d.ts +2 -1
- package/lib/_models/tag.d.ts +1 -5
- package/lib/_services/context.service.d.ts +2 -0
- package/lib/_types/icon.enum.d.ts +3 -3
- package/lib/_web-components/index.d.ts +1 -0
- package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts +1 -0
- package/lib/_web-components/recipe-details/recipe-details.component.d.ts +6 -4
- package/lib/_web-components/tags-creator/tags-creator.component.d.ts +21 -0
- package/lib/_web-components/tags-selector/tags-selector.component.d.ts +12 -4
- package/lib/_web-components/web-components.module.d.ts +15 -14
- package/miam-style.css +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/esm2015/lib/_components/explaine-banner/explaine-banner.component.js +0 -50
- package/lib/_components/explaine-banner/explaine-banner.component.d.ts +0 -8
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["ExplainStep1"] = 64] = "ExplainStep1";
|
|
85
|
+
Icon[Icon["ExplainStep2"] = 65] = "ExplainStep2";
|
|
86
|
+
Icon[Icon["ExplainStep3"] = 66] = "ExplainStep3";
|
|
87
87
|
})(exports.Icon || (exports.Icon = {}));
|
|
88
88
|
|
|
89
89
|
/*! *****************************************************************************
|
|
@@ -2669,6 +2669,7 @@
|
|
|
2669
2669
|
name: '',
|
|
2670
2670
|
quantity: '',
|
|
2671
2671
|
unit: '',
|
|
2672
|
+
importance: '',
|
|
2672
2673
|
active: true,
|
|
2673
2674
|
'forced-eans': [],
|
|
2674
2675
|
'picture-url': ''
|
|
@@ -2816,9 +2817,6 @@
|
|
|
2816
2817
|
'icon-url': '',
|
|
2817
2818
|
'picture-url': ''
|
|
2818
2819
|
};
|
|
2819
|
-
_this.relationships = {
|
|
2820
|
-
recipe: new i1.DocumentResource()
|
|
2821
|
-
};
|
|
2822
2820
|
return _this;
|
|
2823
2821
|
}
|
|
2824
2822
|
Object.defineProperty(Tag.prototype, "tagType", {
|
|
@@ -3768,16 +3766,17 @@
|
|
|
3768
3766
|
var oldIngredientAttribute = oldIngredients[oldIndex].attributes;
|
|
3769
3767
|
var hasChange = oldIngredientAttribute.name !== ing.attributes.name ||
|
|
3770
3768
|
oldIngredientAttribute.unit !== ing.attributes.unit ||
|
|
3771
|
-
oldIngredientAttribute.quantity !== ing.attributes.quantity
|
|
3769
|
+
oldIngredientAttribute.quantity !== ing.attributes.quantity ||
|
|
3770
|
+
oldIngredientAttribute.importance !== ing.attributes.importance;
|
|
3772
3771
|
if (hasChange) {
|
|
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'] });
|
|
3772
|
+
oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity, importance: ing.attributes.importance, 'picture-url': ing.attributes['picture-url'] });
|
|
3774
3773
|
ingredientsToSave.push(oldIngredients[oldIndex]);
|
|
3775
3774
|
}
|
|
3776
3775
|
}
|
|
3777
3776
|
else {
|
|
3778
3777
|
var newIng = _this.new();
|
|
3779
3778
|
delete newIng.id;
|
|
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'] });
|
|
3779
|
+
newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, importance: ing.attributes.importance, 'picture-url': ing.attributes['picture-url'] });
|
|
3781
3780
|
newIng.addRelationship(recipe, 'recipe');
|
|
3782
3781
|
ingredientsToSave.push(newIng);
|
|
3783
3782
|
}
|
|
@@ -4400,7 +4399,8 @@
|
|
|
4400
4399
|
_this.basketHandler = new BasketHandler(_this.basketWrapper);
|
|
4401
4400
|
_this.basketHandler.initBasketProcess();
|
|
4402
4401
|
},
|
|
4403
|
-
// Modify the comparion-map to make it as is all products were added by the retailer.
|
|
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
|
|
4404
4404
|
setAllProductsAsRetailers: function () {
|
|
4405
4405
|
if (_this.basketHandler) {
|
|
4406
4406
|
_this.basketHandler.setAllProductsAsRetailers();
|
|
@@ -4447,7 +4447,9 @@
|
|
|
4447
4447
|
},
|
|
4448
4448
|
list: {
|
|
4449
4449
|
reset: function () { return _this.listsService.resetList().subscribe(); },
|
|
4450
|
-
addRecipe: function (recipeId, guests) {
|
|
4450
|
+
addRecipe: function (recipeId, guests) {
|
|
4451
|
+
return _this.listsService.appendRecipeToList(recipeId, guests, { originPath: 'client', props: { recipe_id: recipeId } });
|
|
4452
|
+
},
|
|
4451
4453
|
hasRecipe: function (recipeId) { return _this.listsService.recipeIsInList(recipeId); },
|
|
4452
4454
|
createTemporaryList: function () { return _this.listsService.createTemporaryList(); },
|
|
4453
4455
|
refresh: function () { return _this.listsService.refreshCurrentList(); }
|
|
@@ -4492,7 +4494,12 @@
|
|
|
4492
4494
|
if (url === void 0) { url = ''; }
|
|
4493
4495
|
_this.miam.router.catalog = url;
|
|
4494
4496
|
},
|
|
4495
|
-
catalog: ''
|
|
4497
|
+
catalog: '',
|
|
4498
|
+
setRecipeInfoLink: function (url) {
|
|
4499
|
+
if (url === void 0) { url = ''; }
|
|
4500
|
+
_this.miam.router.recipeInfo = url;
|
|
4501
|
+
},
|
|
4502
|
+
recipeInfo: '',
|
|
4496
4503
|
},
|
|
4497
4504
|
supplier: {
|
|
4498
4505
|
load: function (supplierId) {
|
|
@@ -6305,11 +6312,11 @@
|
|
|
6305
6312
|
i0.ɵɵadvance(1);
|
|
6306
6313
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(69, _c0, ctx_r2.width + "px", ctx_r2.height + "px"));
|
|
6307
6314
|
i0.ɵɵadvance(1);
|
|
6308
|
-
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.
|
|
6315
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplainStep1);
|
|
6309
6316
|
i0.ɵɵadvance(1);
|
|
6310
|
-
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.
|
|
6317
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplainStep2);
|
|
6311
6318
|
i0.ɵɵadvance(1);
|
|
6312
|
-
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.
|
|
6319
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplainStep3);
|
|
6313
6320
|
i0.ɵɵadvance(1);
|
|
6314
6321
|
i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.CloudUpload);
|
|
6315
6322
|
i0.ɵɵadvance(1);
|
|
@@ -6466,7 +6473,7 @@
|
|
|
6466
6473
|
var _r1 = i0.ɵɵreference(2);
|
|
6467
6474
|
i0.ɵɵproperty("ngIf", ctx.iconOverrideUrl !== "")("ngIfElse", _r1);
|
|
6468
6475
|
}
|
|
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 });
|
|
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 });
|
|
6470
6477
|
/*@__PURE__*/ (function () {
|
|
6471
6478
|
i0.ɵsetClassMetadata(IconComponent, [{
|
|
6472
6479
|
type: i0.Component,
|
|
@@ -6674,67 +6681,139 @@
|
|
|
6674
6681
|
}
|
|
6675
6682
|
function ListInputComponent_ul_4_ng_template_2_li_0_option_9_Template(rf, ctx) {
|
|
6676
6683
|
if (rf & 1) {
|
|
6677
|
-
i0.ɵɵelement(0, "option",
|
|
6684
|
+
i0.ɵɵelement(0, "option", 38);
|
|
6678
6685
|
i0.ɵɵpipe(1, "capitalizeFirstLetter");
|
|
6679
6686
|
}
|
|
6680
6687
|
if (rf & 2) {
|
|
6681
|
-
var
|
|
6682
|
-
i0.ɵɵproperty("value", i0.ɵɵpipeBind1(1, 1,
|
|
6688
|
+
var ing_r27 = ctx.$implicit;
|
|
6689
|
+
i0.ɵɵproperty("value", i0.ɵɵpipeBind1(1, 1, ing_r27));
|
|
6683
6690
|
}
|
|
6684
6691
|
}
|
|
6685
6692
|
function ListInputComponent_ul_4_ng_template_2_li_0_option_14_Template(rf, ctx) {
|
|
6686
6693
|
if (rf & 1) {
|
|
6687
|
-
i0.ɵɵelement(0, "option",
|
|
6694
|
+
i0.ɵɵelement(0, "option", 38);
|
|
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();
|
|
6688
6717
|
}
|
|
6689
6718
|
if (rf & 2) {
|
|
6690
|
-
var
|
|
6691
|
-
i0.ɵɵ
|
|
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();
|
|
6728
|
+
}
|
|
6729
|
+
if (rf & 2) {
|
|
6730
|
+
var i_r19 = i0.ɵɵnextContext(3).index;
|
|
6731
|
+
i0.ɵɵpropertyInterpolate("for", "importance-id-tertiary" + i_r19);
|
|
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());
|
|
6692
6771
|
}
|
|
6693
6772
|
}
|
|
6694
6773
|
var _c0$1 = function (a0) { return { clickable: a0 }; };
|
|
6695
|
-
function
|
|
6774
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_label_17_img_1_Template(rf, ctx) {
|
|
6696
6775
|
if (rf & 1) {
|
|
6697
|
-
i0.ɵɵelement(0, "img",
|
|
6776
|
+
i0.ɵɵelement(0, "img", 46);
|
|
6698
6777
|
}
|
|
6699
6778
|
if (rf & 2) {
|
|
6700
6779
|
var row_r18 = i0.ɵɵnextContext(2).$implicit;
|
|
6701
|
-
var
|
|
6702
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$1,
|
|
6780
|
+
var ctx_r41 = i0.ɵɵnextContext(3);
|
|
6781
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$1, ctx_r41.ingredientsPictures.editable))("src", row_r18.controls.attributes.controls["picture-url"].value, i0.ɵɵsanitizeUrl);
|
|
6703
6782
|
}
|
|
6704
6783
|
}
|
|
6705
|
-
function
|
|
6784
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_label_17_ng_miam_icon_2_Template(rf, ctx) {
|
|
6706
6785
|
if (rf & 1) {
|
|
6707
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
6786
|
+
i0.ɵɵelement(0, "ng-miam-icon", 47);
|
|
6708
6787
|
}
|
|
6709
6788
|
if (rf & 2) {
|
|
6710
|
-
var
|
|
6711
|
-
i0.ɵɵproperty("iconName",
|
|
6789
|
+
var ctx_r42 = i0.ɵɵnextContext(5);
|
|
6790
|
+
i0.ɵɵproperty("iconName", ctx_r42.icon.Picture);
|
|
6712
6791
|
}
|
|
6713
6792
|
}
|
|
6714
|
-
function
|
|
6793
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_label_17_Template(rf, ctx) {
|
|
6715
6794
|
if (rf & 1) {
|
|
6716
|
-
i0.ɵɵelementStart(0, "label",
|
|
6717
|
-
i0.ɵɵtemplate(1,
|
|
6718
|
-
i0.ɵɵtemplate(2,
|
|
6795
|
+
i0.ɵɵelementStart(0, "label", 43);
|
|
6796
|
+
i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_label_17_img_1_Template, 1, 4, "img", 44);
|
|
6797
|
+
i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_label_17_ng_miam_icon_2_Template, 1, 1, "ng-miam-icon", 45);
|
|
6719
6798
|
i0.ɵɵelementEnd();
|
|
6720
6799
|
}
|
|
6721
6800
|
if (rf & 2) {
|
|
6722
|
-
var
|
|
6723
|
-
var i_r19 =
|
|
6724
|
-
var row_r18 =
|
|
6725
|
-
var
|
|
6801
|
+
var ctx_r44 = i0.ɵɵnextContext();
|
|
6802
|
+
var i_r19 = ctx_r44.index;
|
|
6803
|
+
var row_r18 = ctx_r44.$implicit;
|
|
6804
|
+
var ctx_r23 = i0.ɵɵnextContext(3);
|
|
6726
6805
|
i0.ɵɵpropertyInterpolate1("for", "ing-picture-", i_r19, "");
|
|
6727
6806
|
i0.ɵɵadvance(1);
|
|
6728
6807
|
i0.ɵɵproperty("ngIf", row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value);
|
|
6729
6808
|
i0.ɵɵadvance(1);
|
|
6730
|
-
i0.ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) &&
|
|
6809
|
+
i0.ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) && ctx_r23.ingredientsPictures.editable);
|
|
6731
6810
|
}
|
|
6732
6811
|
}
|
|
6733
|
-
function
|
|
6812
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_input_18_Template(rf, ctx) {
|
|
6734
6813
|
if (rf & 1) {
|
|
6735
|
-
var
|
|
6736
|
-
i0.ɵɵelementStart(0, "input",
|
|
6737
|
-
i0.ɵɵlistener("change", function
|
|
6814
|
+
var _r46_1 = i0.ɵɵgetCurrentView();
|
|
6815
|
+
i0.ɵɵelementStart(0, "input", 48);
|
|
6816
|
+
i0.ɵɵlistener("change", function ListInputComponent_ul_4_ng_template_2_li_0_input_18_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r46_1); var row_r18 = i0.ɵɵnextContext().$implicit; var ctx_r45 = i0.ɵɵnextContext(3); return ctx_r45.uploadIngredientPicture($event.target.files, row_r18.controls.attributes.controls["picture-url"]); });
|
|
6738
6817
|
i0.ɵɵelementEnd();
|
|
6739
6818
|
}
|
|
6740
6819
|
if (rf & 2) {
|
|
@@ -6742,35 +6821,35 @@
|
|
|
6742
6821
|
i0.ɵɵpropertyInterpolate1("id", "ing-picture-", i_r19, "");
|
|
6743
6822
|
}
|
|
6744
6823
|
}
|
|
6745
|
-
function
|
|
6824
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template(rf, ctx) {
|
|
6746
6825
|
if (rf & 1) {
|
|
6747
6826
|
i0.ɵɵelement(0, "div", 23);
|
|
6748
6827
|
}
|
|
6749
6828
|
}
|
|
6750
|
-
function
|
|
6829
|
+
function ListInputComponent_ul_4_ng_template_2_li_0_div_21_Template(rf, ctx) {
|
|
6751
6830
|
if (rf & 1) {
|
|
6752
6831
|
i0.ɵɵelementStart(0, "div", 24);
|
|
6753
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
6754
|
-
i0.ɵɵelementStart(2, "span",
|
|
6832
|
+
i0.ɵɵelement(1, "ng-miam-icon", 49);
|
|
6833
|
+
i0.ɵɵelementStart(2, "span", 50);
|
|
6755
6834
|
i0.ɵɵtext(3);
|
|
6756
6835
|
i0.ɵɵpipe(4, "capitalizeFirstLetter");
|
|
6757
6836
|
i0.ɵɵelementEnd();
|
|
6758
|
-
i0.ɵɵelementStart(5, "span",
|
|
6837
|
+
i0.ɵɵelementStart(5, "span", 50);
|
|
6759
6838
|
i0.ɵɵtext(6);
|
|
6760
6839
|
i0.ɵɵelementEnd();
|
|
6761
|
-
i0.ɵɵelementStart(7, "span",
|
|
6840
|
+
i0.ɵɵelementStart(7, "span", 50);
|
|
6762
6841
|
i0.ɵɵtext(8);
|
|
6763
6842
|
i0.ɵɵelementEnd();
|
|
6764
6843
|
i0.ɵɵelementEnd();
|
|
6765
6844
|
}
|
|
6766
6845
|
if (rf & 2) {
|
|
6767
6846
|
var row_r18 = i0.ɵɵnextContext().$implicit;
|
|
6768
|
-
var
|
|
6847
|
+
var ctx_r26 = i0.ɵɵnextContext(3);
|
|
6769
6848
|
var tmp_1_0 = null;
|
|
6770
6849
|
var tmp_2_0 = null;
|
|
6771
6850
|
var tmp_3_0 = null;
|
|
6772
6851
|
i0.ɵɵadvance(1);
|
|
6773
|
-
i0.ɵɵproperty("iconName",
|
|
6852
|
+
i0.ɵɵproperty("iconName", ctx_r26.icon.Grip);
|
|
6774
6853
|
i0.ɵɵadvance(2);
|
|
6775
6854
|
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));
|
|
6776
6855
|
i0.ɵɵadvance(3);
|
|
@@ -6781,7 +6860,7 @@
|
|
|
6781
6860
|
}
|
|
6782
6861
|
function ListInputComponent_ul_4_ng_template_2_li_0_Template(rf, ctx) {
|
|
6783
6862
|
if (rf & 1) {
|
|
6784
|
-
var
|
|
6863
|
+
var _r51_1 = i0.ɵɵgetCurrentView();
|
|
6785
6864
|
i0.ɵɵelementStart(0, "li", 14);
|
|
6786
6865
|
i0.ɵɵelementStart(1, "div", 27);
|
|
6787
6866
|
i0.ɵɵelementStart(2, "div", 28);
|
|
@@ -6795,23 +6874,24 @@
|
|
|
6795
6874
|
i0.ɵɵtemplate(9, ListInputComponent_ul_4_ng_template_2_li_0_option_9_Template, 2, 3, "option", 31);
|
|
6796
6875
|
i0.ɵɵelementEnd();
|
|
6797
6876
|
i0.ɵɵelementStart(10, "input", 32);
|
|
6798
|
-
i0.ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(
|
|
6877
|
+
i0.ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(_r51_1); var i_r19 = ctx.index; var ctx_r50 = i0.ɵɵnextContext(3); return ctx_r50.updateQuantityValue($event, i_r19); });
|
|
6799
6878
|
i0.ɵɵelementEnd();
|
|
6800
6879
|
i0.ɵɵelement(11, "input", 33);
|
|
6801
6880
|
i0.ɵɵpipe(12, "async");
|
|
6802
6881
|
i0.ɵɵelementStart(13, "datalist");
|
|
6803
6882
|
i0.ɵɵtemplate(14, ListInputComponent_ul_4_ng_template_2_li_0_option_14_Template, 1, 1, "option", 31);
|
|
6804
6883
|
i0.ɵɵelementEnd();
|
|
6884
|
+
i0.ɵɵtemplate(15, ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template, 2, 1, "div", 34);
|
|
6805
6885
|
i0.ɵɵelementEnd();
|
|
6806
6886
|
i0.ɵɵelementEnd();
|
|
6807
|
-
i0.ɵɵelementStart(
|
|
6808
|
-
i0.ɵɵtemplate(
|
|
6809
|
-
i0.ɵɵtemplate(
|
|
6810
|
-
i0.ɵɵelementStart(
|
|
6811
|
-
i0.ɵɵlistener("click", function
|
|
6887
|
+
i0.ɵɵelementStart(16, "div", 35);
|
|
6888
|
+
i0.ɵɵtemplate(17, ListInputComponent_ul_4_ng_template_2_li_0_label_17_Template, 3, 3, "label", 36);
|
|
6889
|
+
i0.ɵɵtemplate(18, ListInputComponent_ul_4_ng_template_2_li_0_input_18_Template, 1, 1, "input", 37);
|
|
6890
|
+
i0.ɵɵelementStart(19, "ng-miam-icon", 20);
|
|
6891
|
+
i0.ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_Template_ng_miam_icon_click_19_listener() { i0.ɵɵrestoreView(_r51_1); var i_r19 = ctx.index; var ctx_r52 = i0.ɵɵnextContext(3); return ctx_r52.delete(i_r19); });
|
|
6812
6892
|
i0.ɵɵelementEnd();
|
|
6813
|
-
i0.ɵɵtemplate(
|
|
6814
|
-
i0.ɵɵtemplate(
|
|
6893
|
+
i0.ɵɵtemplate(20, ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template, 1, 0, "div", 21);
|
|
6894
|
+
i0.ɵɵtemplate(21, ListInputComponent_ul_4_ng_template_2_li_0_div_21_Template, 9, 6, "div", 22);
|
|
6815
6895
|
i0.ɵɵelementEnd();
|
|
6816
6896
|
i0.ɵɵelementEnd();
|
|
6817
6897
|
}
|
|
@@ -6824,7 +6904,7 @@
|
|
|
6824
6904
|
i0.ɵɵadvance(2);
|
|
6825
6905
|
i0.ɵɵproperty("iconName", ctx_r17.icon.Grip);
|
|
6826
6906
|
i0.ɵɵadvance(2);
|
|
6827
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(6,
|
|
6907
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(6, 19, ctx_r17.isIngredientReviewed(row_r18["controls"]["attributes"]["controls"]["name"].value)) ? "alert-success" : "alert-danger")("ngModel", i0.ɵɵpipeBind1(7, 21, row_r18["controls"]["attributes"]["controls"]["name"].value))("formControl", row_r18["controls"]["attributes"]["controls"]["name"]);
|
|
6828
6908
|
i0.ɵɵattribute("list", "miam-list-input-dropdown-ingredients-id" + i_r19);
|
|
6829
6909
|
i0.ɵɵadvance(3);
|
|
6830
6910
|
i0.ɵɵattribute("id", "miam-list-input-dropdown-ingredients-id" + i_r19);
|
|
@@ -6833,12 +6913,14 @@
|
|
|
6833
6913
|
i0.ɵɵadvance(1);
|
|
6834
6914
|
i0.ɵɵproperty("ngModel", row_r18["controls"]["attributes"]["controls"]["quantity"].value)("formControl", row_r18["controls"]["attributes"]["controls"]["quantity"]);
|
|
6835
6915
|
i0.ɵɵadvance(1);
|
|
6836
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(12,
|
|
6916
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(12, 23, ctx_r17.isQuantityReviewed(row_r18["controls"]["attributes"]["controls"]["unit"].value)) ? "alert-success" : "alert-danger")("formControl", row_r18["controls"]["attributes"]["controls"]["unit"]);
|
|
6837
6917
|
i0.ɵɵattribute("list", "miam-list-input-dropdown-units-id" + i_r19);
|
|
6838
6918
|
i0.ɵɵadvance(2);
|
|
6839
6919
|
i0.ɵɵattribute("id", "miam-list-input-dropdown-units-id" + i_r19);
|
|
6840
6920
|
i0.ɵɵadvance(1);
|
|
6841
6921
|
i0.ɵɵproperty("ngForOf", ctx_r17.getFilteredUnitsFromIndex(i_r19));
|
|
6922
|
+
i0.ɵɵadvance(1);
|
|
6923
|
+
i0.ɵɵproperty("ngIf", ctx_r17.getImportances().length > 0);
|
|
6842
6924
|
i0.ɵɵadvance(2);
|
|
6843
6925
|
i0.ɵɵproperty("ngIf", ctx_r17.ingredientsPictures.visible);
|
|
6844
6926
|
i0.ɵɵadvance(1);
|
|
@@ -6849,7 +6931,7 @@
|
|
|
6849
6931
|
}
|
|
6850
6932
|
function ListInputComponent_ul_4_ng_template_2_Template(rf, ctx) {
|
|
6851
6933
|
if (rf & 1) {
|
|
6852
|
-
i0.ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template,
|
|
6934
|
+
i0.ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template, 22, 25, "li", 13);
|
|
6853
6935
|
}
|
|
6854
6936
|
if (rf & 2) {
|
|
6855
6937
|
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
@@ -6858,9 +6940,9 @@
|
|
|
6858
6940
|
}
|
|
6859
6941
|
function ListInputComponent_ul_4_Template(rf, ctx) {
|
|
6860
6942
|
if (rf & 1) {
|
|
6861
|
-
var
|
|
6943
|
+
var _r54_1 = i0.ɵɵgetCurrentView();
|
|
6862
6944
|
i0.ɵɵelementStart(0, "ul", 10);
|
|
6863
|
-
i0.ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(
|
|
6945
|
+
i0.ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(_r54_1); var ctx_r53 = i0.ɵɵnextContext(); return ctx_r53.drop($event); });
|
|
6864
6946
|
i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_container_1_Template, 2, 2, "ng-container", 11);
|
|
6865
6947
|
i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_Template, 1, 2, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
6866
6948
|
i0.ɵɵelementEnd();
|
|
@@ -6874,9 +6956,9 @@
|
|
|
6874
6956
|
}
|
|
6875
6957
|
function ListInputComponent_ng_template_5_Template(rf, ctx) {
|
|
6876
6958
|
if (rf & 1) {
|
|
6877
|
-
i0.ɵɵelementStart(0, "div",
|
|
6878
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
6879
|
-
i0.ɵɵelementStart(2, "span",
|
|
6959
|
+
i0.ɵɵelementStart(0, "div", 51);
|
|
6960
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
6961
|
+
i0.ɵɵelementStart(2, "span", 53);
|
|
6880
6962
|
i0.ɵɵtext(3);
|
|
6881
6963
|
i0.ɵɵelementEnd();
|
|
6882
6964
|
i0.ɵɵelementEnd();
|
|
@@ -6891,7 +6973,7 @@
|
|
|
6891
6973
|
}
|
|
6892
6974
|
function ListInputComponent_div_13_Template(rf, ctx) {
|
|
6893
6975
|
if (rf & 1) {
|
|
6894
|
-
i0.ɵɵelementStart(0, "div",
|
|
6976
|
+
i0.ɵɵelementStart(0, "div", 54);
|
|
6895
6977
|
i0.ɵɵtext(1);
|
|
6896
6978
|
i0.ɵɵelementEnd();
|
|
6897
6979
|
}
|
|
@@ -6907,6 +6989,7 @@
|
|
|
6907
6989
|
this.fb = fb;
|
|
6908
6990
|
this.cdr = cdr;
|
|
6909
6991
|
this.placeholder = '';
|
|
6992
|
+
this.isPersonal = false;
|
|
6910
6993
|
this.list = new i15.FormArray([]);
|
|
6911
6994
|
this.ingredientsPictures = { visible: false, editable: false };
|
|
6912
6995
|
this.icon = exports.Icon;
|
|
@@ -6939,7 +7022,11 @@
|
|
|
6939
7022
|
attributes: _this.fb.group({
|
|
6940
7023
|
quantity: new i15.FormControl(ing.attributes.quantity, i15.Validators.required),
|
|
6941
7024
|
unit: new i15.FormControl(ing.attributes.unit, i15.Validators.required),
|
|
6942
|
-
name: new i15.FormControl(ing.attributes.name, 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),
|
|
6943
7030
|
})
|
|
6944
7031
|
}));
|
|
6945
7032
|
_this.previousQuantities.push(ing.attributes.quantity);
|
|
@@ -7068,10 +7155,26 @@
|
|
|
7068
7155
|
}
|
|
7069
7156
|
return filteredSelection;
|
|
7070
7157
|
};
|
|
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
|
+
};
|
|
7071
7174
|
return ListInputComponent;
|
|
7072
7175
|
}());
|
|
7073
7176
|
ListInputComponent.ɵfac = function ListInputComponent_Factory(t) { return new (t || ListInputComponent)(i0.ɵɵdirectiveInject(IngredientsService), i0.ɵɵdirectiveInject(i15.FormBuilder), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
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) {
|
|
7177
|
+
ListInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode", isPersonal: "isPersonal", 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"], ["class", "miam-list-input__importance", 4, "ngIf"], [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"], [1, "miam-list-input__importance"], ["class", "miam-list-input__importance__radio", 4, "ngFor", "ngForOf"], [1, "miam-list-input__importance__radio"], ["type", "radio", 3, "name", "id", "value", "formControl", "click"], [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) {
|
|
7075
7178
|
if (rf & 1) {
|
|
7076
7179
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7077
7180
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -7110,7 +7213,7 @@
|
|
|
7110
7213
|
i0.ɵɵadvance(5);
|
|
7111
7214
|
i0.ɵɵproperty("ngIf", ctx.instructions);
|
|
7112
7215
|
}
|
|
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)}"] });
|
|
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)}"] });
|
|
7114
7217
|
/*@__PURE__*/ (function () {
|
|
7115
7218
|
i0.ɵsetClassMetadata(ListInputComponent, [{
|
|
7116
7219
|
type: i0.Component,
|
|
@@ -7129,6 +7232,8 @@
|
|
|
7129
7232
|
type: i0.Input
|
|
7130
7233
|
}], ingredientMode: [{
|
|
7131
7234
|
type: i0.Input
|
|
7235
|
+
}], isPersonal: [{
|
|
7236
|
+
type: i0.Input
|
|
7132
7237
|
}], list: [{
|
|
7133
7238
|
type: i0.Input
|
|
7134
7239
|
}], ingredientsPictures: [{
|
|
@@ -7935,7 +8040,7 @@
|
|
|
7935
8040
|
i0.ɵɵadvance(1);
|
|
7936
8041
|
i0.ɵɵproperty("ngClass", ctx.recipeLike.isPast == false ? "active" : "")("width", ctx.width)("height", ctx.height)("iconName", ctx.icon.HeartFull);
|
|
7937
8042
|
}
|
|
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 });
|
|
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}@media (min-width:1023px){.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 });
|
|
7939
8044
|
/*@__PURE__*/ (function () {
|
|
7940
8045
|
i0.ɵsetClassMetadata(LikeButtonComponent, [{
|
|
7941
8046
|
type: i0.Component,
|
|
@@ -8438,54 +8543,46 @@
|
|
|
8438
8543
|
}] });
|
|
8439
8544
|
})();
|
|
8440
8545
|
|
|
8441
|
-
function
|
|
8442
|
-
if (rf & 1) {
|
|
8443
|
-
i0.ɵɵelementStart(0, "div", 6);
|
|
8444
|
-
i0.ɵɵelement(1, "img", 7);
|
|
8445
|
-
i0.ɵɵelementEnd();
|
|
8446
|
-
}
|
|
8447
|
-
if (rf & 2) {
|
|
8448
|
-
var ctx_r0 = i0.ɵɵnextContext();
|
|
8449
|
-
i0.ɵɵadvance(1);
|
|
8450
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
8451
|
-
}
|
|
8452
|
-
}
|
|
8453
|
-
function AddonLinkComponent_span_3_Template(rf, ctx) {
|
|
8546
|
+
function AddonLinkComponent_span_2_Template(rf, ctx) {
|
|
8454
8547
|
if (rf & 1) {
|
|
8455
8548
|
i0.ɵɵelementStart(0, "span");
|
|
8456
8549
|
i0.ɵɵtext(1);
|
|
8457
8550
|
i0.ɵɵelementEnd();
|
|
8458
8551
|
}
|
|
8459
8552
|
if (rf & 2) {
|
|
8460
|
-
var
|
|
8553
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
8461
8554
|
i0.ɵɵadvance(1);
|
|
8462
|
-
i0.ɵɵtextInterpolate(
|
|
8555
|
+
i0.ɵɵtextInterpolate(ctx_r0.recipe.informationalSentence);
|
|
8463
8556
|
}
|
|
8464
8557
|
}
|
|
8465
|
-
function
|
|
8558
|
+
function AddonLinkComponent_ng_template_3_Template(rf, ctx) {
|
|
8466
8559
|
if (rf & 1) {
|
|
8467
8560
|
i0.ɵɵelementStart(0, "span");
|
|
8468
8561
|
i0.ɵɵtext(1, " Cette recette vous est propos\u00E9e par notre partenaire ");
|
|
8469
|
-
i0.ɵɵelementStart(2, "b");
|
|
8470
|
-
i0.ɵɵtext(3);
|
|
8471
|
-
i0.ɵɵelementEnd();
|
|
8472
8562
|
i0.ɵɵelementEnd();
|
|
8473
8563
|
}
|
|
8474
|
-
if (rf & 2) {
|
|
8475
|
-
var ctx_r3 = i0.ɵɵnextContext();
|
|
8476
|
-
i0.ɵɵadvance(3);
|
|
8477
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r3.recipe == null ? null : ctx_r3.recipe.sponsors[0] == null ? null : ctx_r3.recipe.sponsors[0].attributes.name, "");
|
|
8478
|
-
}
|
|
8479
8564
|
}
|
|
8480
|
-
function
|
|
8565
|
+
function AddonLinkComponent_span_5_Template(rf, ctx) {
|
|
8481
8566
|
if (rf & 1) {
|
|
8482
8567
|
var _r6_1 = i0.ɵɵgetCurrentView();
|
|
8483
|
-
i0.ɵɵelementStart(0, "span",
|
|
8484
|
-
i0.ɵɵlistener("click", function
|
|
8568
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
8569
|
+
i0.ɵɵlistener("click", function AddonLinkComponent_span_5_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.showAddon.emit(); });
|
|
8485
8570
|
i0.ɵɵtext(1, " En savoir plus ");
|
|
8486
8571
|
i0.ɵɵelementEnd();
|
|
8487
8572
|
}
|
|
8488
8573
|
}
|
|
8574
|
+
function AddonLinkComponent_div_6_Template(rf, ctx) {
|
|
8575
|
+
if (rf & 1) {
|
|
8576
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
8577
|
+
i0.ɵɵelement(1, "img", 8);
|
|
8578
|
+
i0.ɵɵelementEnd();
|
|
8579
|
+
}
|
|
8580
|
+
if (rf & 2) {
|
|
8581
|
+
var ctx_r4 = i0.ɵɵnextContext();
|
|
8582
|
+
i0.ɵɵadvance(1);
|
|
8583
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
8584
|
+
}
|
|
8585
|
+
}
|
|
8489
8586
|
var AddonLinkComponent = /** @class */ (function () {
|
|
8490
8587
|
function AddonLinkComponent() {
|
|
8491
8588
|
this.showAddon = new i0.EventEmitter();
|
|
@@ -8493,27 +8590,27 @@
|
|
|
8493
8590
|
return AddonLinkComponent;
|
|
8494
8591
|
}());
|
|
8495
8592
|
AddonLinkComponent.ɵfac = function AddonLinkComponent_Factory(t) { return new (t || AddonLinkComponent)(); };
|
|
8496
|
-
AddonLinkComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AddonLinkComponent, selectors: [["ng-miam-addon-link"]], inputs: { recipe: "recipe" }, outputs: { showAddon: "showAddon" }, decls: 7, vars: 4, consts: [[1, "miam-addon-link"], [
|
|
8593
|
+
AddonLinkComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AddonLinkComponent, selectors: [["ng-miam-addon-link"]], inputs: { recipe: "recipe" }, outputs: { showAddon: "showAddon" }, decls: 7, vars: 4, consts: [[1, "miam-addon-link"], [1, "miam-addon-link__info"], [4, "ngIf", "ngIfElse"], ["sponsorsedLink", ""], ["class", "miam-addon-link__link", 3, "click", 4, "ngIf"], ["class", "miam-addon-link__logo", 4, "ngIf"], [1, "miam-addon-link__link", 3, "click"], [1, "miam-addon-link__logo"], [3, "src"]], template: function AddonLinkComponent_Template(rf, ctx) {
|
|
8497
8594
|
if (rf & 1) {
|
|
8498
8595
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8499
|
-
i0.ɵɵ
|
|
8500
|
-
i0.ɵɵ
|
|
8501
|
-
i0.ɵɵtemplate(3,
|
|
8502
|
-
i0.ɵɵtemplate(
|
|
8503
|
-
i0.ɵɵtemplate(6, AddonLinkComponent_span_6_Template, 2, 0, "span", 5);
|
|
8596
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
8597
|
+
i0.ɵɵtemplate(2, AddonLinkComponent_span_2_Template, 2, 1, "span", 2);
|
|
8598
|
+
i0.ɵɵtemplate(3, AddonLinkComponent_ng_template_3_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
8599
|
+
i0.ɵɵtemplate(5, AddonLinkComponent_span_5_Template, 2, 0, "span", 4);
|
|
8504
8600
|
i0.ɵɵelementEnd();
|
|
8601
|
+
i0.ɵɵtemplate(6, AddonLinkComponent_div_6_Template, 2, 1, "div", 5);
|
|
8505
8602
|
i0.ɵɵelementEnd();
|
|
8506
8603
|
}
|
|
8507
8604
|
if (rf & 2) {
|
|
8508
|
-
var
|
|
8509
|
-
i0.ɵɵadvance(1);
|
|
8510
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.filigraneLogoUrl);
|
|
8605
|
+
var _r1 = i0.ɵɵreference(4);
|
|
8511
8606
|
i0.ɵɵadvance(2);
|
|
8512
|
-
i0.ɵɵproperty("ngIf", ctx.recipe.informationalSentence)("ngIfElse",
|
|
8607
|
+
i0.ɵɵproperty("ngIf", ctx.recipe.informationalSentence)("ngIfElse", _r1);
|
|
8513
8608
|
i0.ɵɵadvance(3);
|
|
8514
8609
|
i0.ɵɵproperty("ngIf", ctx.recipe.attributes["informational-page-html"]);
|
|
8610
|
+
i0.ɵɵadvance(1);
|
|
8611
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.filigraneLogoUrl);
|
|
8515
8612
|
}
|
|
8516
|
-
}, directives: [i4.NgIf], styles: [".miam-addon-link[_ngcontent-%COMP%]{align-items:center;background-color:var(--m-color-white);display:flex;flex-direction:row;font-size:16px;padding:16px}.miam-addon-link[_ngcontent-%COMP%]
|
|
8613
|
+
}, directives: [i4.NgIf], styles: [".miam-addon-link[_ngcontent-%COMP%]{align-items:center;background-color:var(--m-color-white);display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-left:96px;padding:12px 16px}@media (max-width:1023px){.miam-addon-link[_ngcontent-%COMP%]{margin-left:unset}}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__logo[_ngcontent-%COMP%]{align-items:center;display:flex;height:64px;justify-content:center;order:2;padding:0 16px;width:168px}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-o-object-fit:contain;max-height:100%;max-width:100%;object-fit:contain}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__info[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-right:8px}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__info[_ngcontent-%COMP%] .miam-addon-link__link[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;color:var(--m-color-primary);cursor:pointer;margin-top:8px}"] });
|
|
8517
8614
|
/*@__PURE__*/ (function () {
|
|
8518
8615
|
i0.ɵsetClassMetadata(AddonLinkComponent, [{
|
|
8519
8616
|
type: i0.Component,
|
|
@@ -8831,7 +8928,7 @@
|
|
|
8831
8928
|
i0.ɵɵadvance(1);
|
|
8832
8929
|
i0.ɵɵproperty("ngIf", ctx.isLogged && i0.ɵɵpipeBind1(26, 9, ctx.usersService.preferencesActivated$));
|
|
8833
8930
|
}
|
|
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 });
|
|
8931
|
+
}, 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 });
|
|
8835
8932
|
/*@__PURE__*/ (function () {
|
|
8836
8933
|
i0.ɵsetClassMetadata(RecipeFiltersComponent, [{
|
|
8837
8934
|
type: i0.Component,
|
|
@@ -9255,56 +9352,78 @@
|
|
|
9255
9352
|
}] });
|
|
9256
9353
|
})();
|
|
9257
9354
|
|
|
9258
|
-
|
|
9259
|
-
|
|
9355
|
+
function ExplainBannerComponent_div_14_Template(rf, ctx) {
|
|
9356
|
+
if (rf & 1) {
|
|
9357
|
+
i0.ɵɵelementStart(0, "div", 6);
|
|
9358
|
+
i0.ɵɵelementStart(1, "a", 7);
|
|
9359
|
+
i0.ɵɵelementStart(2, "span");
|
|
9360
|
+
i0.ɵɵtext(3, " Plus d'informations ");
|
|
9361
|
+
i0.ɵɵelementEnd();
|
|
9362
|
+
i0.ɵɵelementEnd();
|
|
9363
|
+
i0.ɵɵelementEnd();
|
|
9364
|
+
}
|
|
9365
|
+
if (rf & 2) {
|
|
9366
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
9367
|
+
i0.ɵɵadvance(1);
|
|
9368
|
+
i0.ɵɵproperty("href", ctx_r0.context.miam.router.recipeInfo, i0.ɵɵsanitizeUrl);
|
|
9369
|
+
}
|
|
9370
|
+
}
|
|
9371
|
+
var ExplainBannerComponent = /** @class */ (function () {
|
|
9372
|
+
function ExplainBannerComponent(context) {
|
|
9373
|
+
this.context = context;
|
|
9260
9374
|
this.icon = exports.Icon;
|
|
9261
9375
|
}
|
|
9262
|
-
return
|
|
9376
|
+
return ExplainBannerComponent;
|
|
9263
9377
|
}());
|
|
9264
|
-
|
|
9265
|
-
|
|
9378
|
+
ExplainBannerComponent.ɵfac = function ExplainBannerComponent_Factory(t) { return new (t || ExplainBannerComponent)(i0.ɵɵdirectiveInject(ContextService)); };
|
|
9379
|
+
ExplainBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ExplainBannerComponent, selectors: [["ng-miam-explain-banner"]], decls: 15, vars: 10, consts: [[1, "miam-explain-banner"], [1, "miam-explain-banner__steps"], [1, "miam-explain-banner__step"], [1, "miam-explain-banner__step__icon", 3, "height", "width", "iconName"], [1, "miam-explain-banner__step__text"], ["class", "miam-explain-banner__info__link", 4, "ngIf"], [1, "miam-explain-banner__info__link"], [3, "href"]], template: function ExplainBannerComponent_Template(rf, ctx) {
|
|
9266
9380
|
if (rf & 1) {
|
|
9267
9381
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9268
9382
|
i0.ɵɵelementStart(1, "div", 1);
|
|
9269
|
-
i0.ɵɵ
|
|
9270
|
-
i0.ɵɵ
|
|
9271
|
-
i0.ɵɵ
|
|
9383
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
9384
|
+
i0.ɵɵelement(3, "ng-miam-icon", 3);
|
|
9385
|
+
i0.ɵɵelementStart(4, "span", 4);
|
|
9386
|
+
i0.ɵɵtext(5, "Je choisis l'id\u00E9e repas qui me pla\u00EEt");
|
|
9272
9387
|
i0.ɵɵelementEnd();
|
|
9273
9388
|
i0.ɵɵelementEnd();
|
|
9274
|
-
i0.ɵɵelementStart(
|
|
9275
|
-
i0.ɵɵelement(
|
|
9276
|
-
i0.ɵɵelementStart(
|
|
9277
|
-
i0.ɵɵtext(
|
|
9389
|
+
i0.ɵɵelementStart(6, "div", 2);
|
|
9390
|
+
i0.ɵɵelement(7, "ng-miam-icon", 3);
|
|
9391
|
+
i0.ɵɵelementStart(8, "span", 4);
|
|
9392
|
+
i0.ɵɵtext(9, "Je d\u00E9finis le nombre de gourmands");
|
|
9278
9393
|
i0.ɵɵelementEnd();
|
|
9279
9394
|
i0.ɵɵelementEnd();
|
|
9280
|
-
i0.ɵɵelementStart(
|
|
9281
|
-
i0.ɵɵelement(
|
|
9282
|
-
i0.ɵɵelementStart(
|
|
9283
|
-
i0.ɵɵtext(
|
|
9395
|
+
i0.ɵɵelementStart(10, "div", 2);
|
|
9396
|
+
i0.ɵɵelement(11, "ng-miam-icon", 3);
|
|
9397
|
+
i0.ɵɵelementStart(12, "span", 4);
|
|
9398
|
+
i0.ɵɵtext(13, "J\u2019ajoute en 1 clic tous les ingr\u00E9dients");
|
|
9399
|
+
i0.ɵɵelementEnd();
|
|
9284
9400
|
i0.ɵɵelementEnd();
|
|
9285
9401
|
i0.ɵɵelementEnd();
|
|
9402
|
+
i0.ɵɵtemplate(14, ExplainBannerComponent_div_14_Template, 4, 1, "div", 5);
|
|
9286
9403
|
i0.ɵɵelementEnd();
|
|
9287
9404
|
}
|
|
9288
9405
|
if (rf & 2) {
|
|
9289
|
-
i0.ɵɵadvance(
|
|
9290
|
-
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.
|
|
9406
|
+
i0.ɵɵadvance(3);
|
|
9407
|
+
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplainStep1);
|
|
9291
9408
|
i0.ɵɵadvance(4);
|
|
9292
|
-
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.
|
|
9409
|
+
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplainStep2);
|
|
9293
9410
|
i0.ɵɵadvance(4);
|
|
9294
|
-
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.
|
|
9411
|
+
i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplainStep3);
|
|
9412
|
+
i0.ɵɵadvance(3);
|
|
9413
|
+
i0.ɵɵproperty("ngIf", ctx.context.miam.router.recipeInfo !== "");
|
|
9295
9414
|
}
|
|
9296
|
-
}, directives: [IconComponent], styles: [".miam-
|
|
9415
|
+
}, directives: [IconComponent, i4.NgIf], styles: [".miam-explain-banner{background-color:#f6f6f6;display:flex;flex-direction:column;height:200px;margin-bottom:30px;position:relative}@media (max-width:1023px){.miam-explain-banner{display:none}}.miam-explain-banner .miam-explain-banner__steps{align-items:center;display:flex;height:100%;justify-content:space-around}.miam-explain-banner .miam-explain-banner__steps:before{background:var(--m-color-white);border-radius:40%;content:\"\";height:20px;left:0;position:absolute;top:0;transform:translatey(-50%);width:100%}.miam-explain-banner .miam-explain-banner__steps .miam-explain-banner__step{align-items:center;display:flex;flex-direction:row;max-width:322px}.miam-explain-banner .miam-explain-banner__steps .miam-explain-banner__step .miam-explain-banner__step__text{color:var(--m-color-black);font-size:20px;font-weight:900;font-weight:700;line-height:28px;margin-left:18px}.miam-explain-banner .miam-explain-banner__info__link{bottom:16px;position:absolute;text-align:center;width:100%}.miam-explain-banner .miam-explain-banner__info__link a{color:var(--m-color-primary);text-decoration:none}"], encapsulation: 2, changeDetection: 0 });
|
|
9297
9416
|
/*@__PURE__*/ (function () {
|
|
9298
|
-
i0.ɵsetClassMetadata(
|
|
9417
|
+
i0.ɵsetClassMetadata(ExplainBannerComponent, [{
|
|
9299
9418
|
type: i0.Component,
|
|
9300
9419
|
args: [{
|
|
9301
|
-
selector: 'ng-miam-
|
|
9302
|
-
templateUrl: './
|
|
9303
|
-
styleUrls: ['./
|
|
9420
|
+
selector: 'ng-miam-explain-banner',
|
|
9421
|
+
templateUrl: './explain-banner.component.html',
|
|
9422
|
+
styleUrls: ['./explain-banner.component.scss'],
|
|
9304
9423
|
encapsulation: i0.ViewEncapsulation.None,
|
|
9305
9424
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
9306
9425
|
}]
|
|
9307
|
-
}], function () { return []; }, null);
|
|
9426
|
+
}], function () { return [{ type: ContextService }]; }, null);
|
|
9308
9427
|
})();
|
|
9309
9428
|
|
|
9310
9429
|
var COMPONENTS = [
|
|
@@ -9330,7 +9449,7 @@
|
|
|
9330
9449
|
CardCreateRecipeComponent,
|
|
9331
9450
|
RecipeTypeChooserComponent,
|
|
9332
9451
|
ActionsPopinComponent,
|
|
9333
|
-
|
|
9452
|
+
ExplainBannerComponent
|
|
9334
9453
|
];
|
|
9335
9454
|
var ComponentsModule = /** @class */ (function () {
|
|
9336
9455
|
function ComponentsModule() {
|
|
@@ -9369,7 +9488,7 @@
|
|
|
9369
9488
|
CardCreateRecipeComponent,
|
|
9370
9489
|
RecipeTypeChooserComponent,
|
|
9371
9490
|
ActionsPopinComponent,
|
|
9372
|
-
|
|
9491
|
+
ExplainBannerComponent], imports: [UtilsModule,
|
|
9373
9492
|
i4.CommonModule,
|
|
9374
9493
|
i15.FormsModule,
|
|
9375
9494
|
i15.ReactiveFormsModule,
|
|
@@ -9396,7 +9515,7 @@
|
|
|
9396
9515
|
CardCreateRecipeComponent,
|
|
9397
9516
|
RecipeTypeChooserComponent,
|
|
9398
9517
|
ActionsPopinComponent,
|
|
9399
|
-
|
|
9518
|
+
ExplainBannerComponent] });
|
|
9400
9519
|
})();
|
|
9401
9520
|
/*@__PURE__*/ (function () {
|
|
9402
9521
|
i0.ɵsetClassMetadata(ComponentsModule, [{
|
|
@@ -10559,12 +10678,17 @@
|
|
|
10559
10678
|
}),
|
|
10560
10679
|
this.blockStates.subscribe(function (newState) { return _this.handelblockState(newState); }),
|
|
10561
10680
|
this.listsService.takeFirstList().pipe(operators.switchMap(function (list) {
|
|
10562
|
-
return _this.basketsService.basketPreview$.pipe(
|
|
10681
|
+
return _this.basketsService.basketPreview$.pipe(
|
|
10682
|
+
// skipWhile(preview => !preview || preview.length === 0 || preview.length !== list.recipeInfos.length),
|
|
10683
|
+
operators.skipWhile(function (preview) { return !preview || preview.length !== list.recipeInfos.length; }), operators.tap(function (preview) { return _this.refreshPreview(preview.reverse()); }));
|
|
10563
10684
|
})).subscribe(function () {
|
|
10564
10685
|
_this.loading.next(false);
|
|
10565
10686
|
_this.cdr.detectChanges();
|
|
10566
10687
|
}),
|
|
10567
|
-
this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe()
|
|
10688
|
+
this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe(),
|
|
10689
|
+
this.posService.isPosValid().subscribe(function () {
|
|
10690
|
+
_this.cdr.detectChanges();
|
|
10691
|
+
})
|
|
10568
10692
|
];
|
|
10569
10693
|
};
|
|
10570
10694
|
BasketPreviewBlockComponent.prototype.ngOnChanges = function (changes) {
|
|
@@ -10863,7 +10987,7 @@
|
|
|
10863
10987
|
i0.ɵɵadvance(3);
|
|
10864
10988
|
i0.ɵɵproperty("href", ctx.article.url, i0.ɵɵsanitizeUrl);
|
|
10865
10989
|
}
|
|
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 });
|
|
10990
|
+
}, 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 });
|
|
10867
10991
|
/*@__PURE__*/ (function () {
|
|
10868
10992
|
i0.ɵsetClassMetadata(CatalogArticleCardComponent, [{
|
|
10869
10993
|
type: i0.Component,
|
|
@@ -11595,267 +11719,300 @@
|
|
|
11595
11719
|
function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) {
|
|
11596
11720
|
if (rf & 1) {
|
|
11597
11721
|
i0.ɵɵelementStart(0, "div");
|
|
11598
|
-
i0.ɵɵelement(1, "img",
|
|
11722
|
+
i0.ɵɵelement(1, "img", 29);
|
|
11599
11723
|
i0.ɵɵelementEnd();
|
|
11600
11724
|
}
|
|
11601
11725
|
if (rf & 2) {
|
|
11602
|
-
var
|
|
11726
|
+
var ctx_r15 = i0.ɵɵnextContext(2);
|
|
11603
11727
|
i0.ɵɵadvance(1);
|
|
11604
|
-
i0.ɵɵproperty("src",
|
|
11728
|
+
i0.ɵɵproperty("src", ctx_r15.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11605
11729
|
}
|
|
11606
11730
|
}
|
|
11607
|
-
function
|
|
11731
|
+
function CatalogRecipeCardComponent_div_4_div_4_Template(rf, ctx) {
|
|
11608
11732
|
if (rf & 1) {
|
|
11609
|
-
i0.ɵɵelementStart(0, "div",
|
|
11610
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11733
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
11734
|
+
i0.ɵɵelement(1, "ng-miam-icon", 31);
|
|
11611
11735
|
i0.ɵɵelementEnd();
|
|
11612
11736
|
}
|
|
11613
11737
|
if (rf & 2) {
|
|
11614
|
-
var
|
|
11738
|
+
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
11615
11739
|
i0.ɵɵadvance(1);
|
|
11616
|
-
i0.ɵɵproperty("iconName",
|
|
11740
|
+
i0.ɵɵproperty("iconName", ctx_r16.icon.Video)("width", 80)("height", 80);
|
|
11617
11741
|
}
|
|
11618
11742
|
}
|
|
11619
|
-
function
|
|
11743
|
+
function CatalogRecipeCardComponent_div_4_ng_container_5_div_1_Template(rf, ctx) {
|
|
11620
11744
|
if (rf & 1) {
|
|
11621
|
-
i0.ɵɵelementStart(0, "div",
|
|
11745
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
11622
11746
|
i0.ɵɵtext(1, " D\u00E9j\u00E0 ajout\u00E9e ");
|
|
11623
11747
|
i0.ɵɵelementEnd();
|
|
11624
11748
|
}
|
|
11625
11749
|
}
|
|
11626
|
-
function
|
|
11750
|
+
function CatalogRecipeCardComponent_div_4_ng_container_5_Template(rf, ctx) {
|
|
11627
11751
|
if (rf & 1) {
|
|
11628
11752
|
i0.ɵɵelementContainerStart(0);
|
|
11629
|
-
i0.ɵɵtemplate(1,
|
|
11753
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_5_div_1_Template, 2, 0, "div", 32);
|
|
11630
11754
|
i0.ɵɵpipe(2, "async");
|
|
11631
11755
|
i0.ɵɵelementContainerEnd();
|
|
11632
11756
|
}
|
|
11633
11757
|
if (rf & 2) {
|
|
11634
|
-
var
|
|
11758
|
+
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
11635
11759
|
i0.ɵɵadvance(1);
|
|
11636
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1,
|
|
11760
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r17.groceriesListsService.recipeIsInList(ctx_r17.recipe == null ? null : ctx_r17.recipe.id)));
|
|
11637
11761
|
}
|
|
11638
11762
|
}
|
|
11639
|
-
function
|
|
11763
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_Template(rf, ctx) {
|
|
11640
11764
|
if (rf & 1) {
|
|
11641
|
-
var
|
|
11765
|
+
var _r25_1 = i0.ɵɵgetCurrentView();
|
|
11642
11766
|
i0.ɵɵelementContainerStart(0);
|
|
11643
|
-
i0.ɵɵelementStart(1, "div",
|
|
11644
|
-
i0.ɵɵlistener("click", function
|
|
11767
|
+
i0.ɵɵelementStart(1, "div", 34);
|
|
11768
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_6_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r25_1); var ctx_r24 = i0.ɵɵnextContext(2); return ctx_r24.openRecipe(); });
|
|
11645
11769
|
i0.ɵɵtext(2);
|
|
11646
11770
|
i0.ɵɵelementEnd();
|
|
11647
11771
|
i0.ɵɵelementContainerEnd();
|
|
11648
11772
|
}
|
|
11649
11773
|
if (rf & 2) {
|
|
11650
|
-
var
|
|
11774
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
11651
11775
|
i0.ɵɵadvance(2);
|
|
11652
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11776
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r18.recipe == null ? null : ctx_r18.recipe.attributes["title"], " ");
|
|
11653
11777
|
}
|
|
11654
11778
|
}
|
|
11655
|
-
function
|
|
11779
|
+
function CatalogRecipeCardComponent_div_4_ng_template_7_Template(rf, ctx) {
|
|
11656
11780
|
if (rf & 1) {
|
|
11657
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11781
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 35);
|
|
11658
11782
|
}
|
|
11659
11783
|
if (rf & 2) {
|
|
11660
|
-
var
|
|
11661
|
-
i0.ɵɵproperty("type",
|
|
11784
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
11785
|
+
i0.ɵɵproperty("type", ctx_r20.skeleton.Text);
|
|
11662
11786
|
}
|
|
11663
11787
|
}
|
|
11664
|
-
function
|
|
11788
|
+
function CatalogRecipeCardComponent_div_4_ng_miam_like_button_10_Template(rf, ctx) {
|
|
11665
11789
|
if (rf & 1) {
|
|
11666
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11790
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 36);
|
|
11667
11791
|
}
|
|
11668
11792
|
if (rf & 2) {
|
|
11669
|
-
var
|
|
11670
|
-
i0.ɵɵproperty("recipe",
|
|
11793
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
11794
|
+
i0.ɵɵproperty("recipe", ctx_r21.recipe)("originTrace", ctx_r21.eventTrace());
|
|
11671
11795
|
}
|
|
11672
11796
|
}
|
|
11673
11797
|
function CatalogRecipeCardComponent_div_4_Template(rf, ctx) {
|
|
11674
11798
|
if (rf & 1) {
|
|
11675
|
-
var
|
|
11676
|
-
i0.ɵɵelementStart(0, "div",
|
|
11677
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11678
|
-
i0.ɵɵelementStart(1, "div",
|
|
11679
|
-
i0.ɵɵelement(2, "img",
|
|
11680
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div",
|
|
11681
|
-
i0.ɵɵpipe(4, "async");
|
|
11799
|
+
var _r27_1 = i0.ɵɵgetCurrentView();
|
|
11800
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
11801
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r27_1); var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.openRecipe(); });
|
|
11802
|
+
i0.ɵɵelementStart(1, "div", 18);
|
|
11803
|
+
i0.ɵɵelement(2, "img", 19);
|
|
11804
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 20);
|
|
11682
11805
|
i0.ɵɵelementEnd();
|
|
11683
|
-
i0.ɵɵtemplate(
|
|
11684
|
-
i0.ɵɵtemplate(
|
|
11685
|
-
i0.ɵɵtemplate(
|
|
11686
|
-
i0.ɵɵtemplate(
|
|
11687
|
-
i0.ɵɵelementStart(
|
|
11688
|
-
i0.ɵɵtemplate(
|
|
11689
|
-
i0.ɵɵpipe(
|
|
11690
|
-
i0.ɵɵelementStart(
|
|
11691
|
-
i0.ɵɵlistener("click", function
|
|
11692
|
-
i0.ɵɵelement(
|
|
11806
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_div_4_Template, 2, 3, "div", 21);
|
|
11807
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_ng_container_5_Template, 3, 3, "ng-container", 20);
|
|
11808
|
+
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 1, "ng-container", 22);
|
|
11809
|
+
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_template_7_Template, 1, 1, "ng-template", null, 23, i0.ɵɵtemplateRefExtractor);
|
|
11810
|
+
i0.ɵɵelementStart(9, "div", 24);
|
|
11811
|
+
i0.ɵɵtemplate(10, CatalogRecipeCardComponent_div_4_ng_miam_like_button_10_Template, 1, 2, "ng-miam-like-button", 25);
|
|
11812
|
+
i0.ɵɵpipe(11, "async");
|
|
11813
|
+
i0.ɵɵelementStart(12, "div", 26, 27);
|
|
11814
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_12_listener($event) { i0.ɵɵrestoreView(_r27_1); var ctx_r28 = i0.ɵɵnextContext(); return ctx_r28.toggleMoreActions($event); });
|
|
11815
|
+
i0.ɵɵelement(14, "ng-miam-icon", 28);
|
|
11693
11816
|
i0.ɵɵelementEnd();
|
|
11694
11817
|
i0.ɵɵelementEnd();
|
|
11695
11818
|
i0.ɵɵelementEnd();
|
|
11696
11819
|
}
|
|
11697
11820
|
if (rf & 2) {
|
|
11698
|
-
var
|
|
11821
|
+
var _r19 = i0.ɵɵreference(8);
|
|
11699
11822
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
11700
11823
|
i0.ɵɵadvance(2);
|
|
11701
11824
|
i0.ɵɵproperty("src", ctx_r0.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
|
|
11702
11825
|
i0.ɵɵadvance(1);
|
|
11703
|
-
i0.ɵɵproperty("ngIf",
|
|
11704
|
-
i0.ɵɵadvance(
|
|
11826
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
11827
|
+
i0.ɵɵadvance(1);
|
|
11705
11828
|
i0.ɵɵproperty("ngIf", ctx_r0.contextService.videoRecipesEnabled && (ctx_r0.recipe == null ? null : ctx_r0.recipe.videoId));
|
|
11706
11829
|
i0.ɵɵadvance(1);
|
|
11707
11830
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe && ctx_r0.displayAddedOnPicture);
|
|
11708
11831
|
i0.ɵɵadvance(1);
|
|
11709
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse",
|
|
11832
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r19);
|
|
11710
11833
|
i0.ɵɵadvance(4);
|
|
11711
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
11834
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 8, ctx_r0.userService.isLogged$));
|
|
11712
11835
|
i0.ɵɵadvance(4);
|
|
11713
11836
|
i0.ɵɵproperty("iconName", ctx_r0.actionsOpened ? ctx_r0.icon.Clear : ctx_r0.icon.HorizontalDots);
|
|
11714
11837
|
}
|
|
11715
11838
|
}
|
|
11716
11839
|
function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) {
|
|
11717
11840
|
if (rf & 1) {
|
|
11718
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11841
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 35);
|
|
11719
11842
|
}
|
|
11720
11843
|
if (rf & 2) {
|
|
11721
11844
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
11722
11845
|
i0.ɵɵproperty("type", ctx_r2.skeleton.Picture);
|
|
11723
11846
|
}
|
|
11724
11847
|
}
|
|
11725
|
-
function
|
|
11848
|
+
function CatalogRecipeCardComponent_div_9_div_5_Template(rf, ctx) {
|
|
11726
11849
|
if (rf & 1) {
|
|
11727
|
-
i0.ɵɵ
|
|
11850
|
+
i0.ɵɵelementStart(0, "div", 41);
|
|
11851
|
+
i0.ɵɵtext(1);
|
|
11852
|
+
i0.ɵɵelementEnd();
|
|
11728
11853
|
}
|
|
11729
11854
|
if (rf & 2) {
|
|
11730
|
-
var
|
|
11731
|
-
i0.ɵɵ
|
|
11855
|
+
var ctx_r29 = i0.ɵɵnextContext(2);
|
|
11856
|
+
i0.ɵɵadvance(1);
|
|
11857
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r29.recipe.modifiedIngredients.length - 2, " ");
|
|
11732
11858
|
}
|
|
11733
11859
|
}
|
|
11734
11860
|
function CatalogRecipeCardComponent_div_9_Template(rf, ctx) {
|
|
11735
11861
|
if (rf & 1) {
|
|
11736
|
-
i0.ɵɵelementStart(0, "div",
|
|
11737
|
-
i0.ɵɵ
|
|
11862
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
11863
|
+
i0.ɵɵelementStart(1, "div", 38);
|
|
11864
|
+
i0.ɵɵelement(2, "img", 39);
|
|
11865
|
+
i0.ɵɵelementEnd();
|
|
11866
|
+
i0.ɵɵelementStart(3, "div", 38);
|
|
11867
|
+
i0.ɵɵelement(4, "img", 39);
|
|
11868
|
+
i0.ɵɵelementEnd();
|
|
11869
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div", 40);
|
|
11738
11870
|
i0.ɵɵelementEnd();
|
|
11739
11871
|
}
|
|
11740
11872
|
if (rf & 2) {
|
|
11741
11873
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
11874
|
+
i0.ɵɵadvance(2);
|
|
11875
|
+
i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ctx_r3.recipe.modifiedIngredients[0]), i0.ɵɵsanitizeUrl);
|
|
11876
|
+
i0.ɵɵadvance(2);
|
|
11877
|
+
i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ctx_r3.recipe.modifiedIngredients[1]), i0.ɵɵsanitizeUrl);
|
|
11742
11878
|
i0.ɵɵadvance(1);
|
|
11743
|
-
i0.ɵɵproperty("ngIf", ctx_r3.
|
|
11879
|
+
i0.ɵɵproperty("ngIf", ctx_r3.recipe.modifiedIngredients.length > 2);
|
|
11744
11880
|
}
|
|
11745
11881
|
}
|
|
11746
|
-
function
|
|
11882
|
+
function CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template(rf, ctx) {
|
|
11747
11883
|
if (rf & 1) {
|
|
11748
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
11749
|
-
|
|
11884
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 44);
|
|
11885
|
+
}
|
|
11886
|
+
if (rf & 2) {
|
|
11887
|
+
var ctx_r30 = i0.ɵɵnextContext(2);
|
|
11888
|
+
i0.ɵɵproperty("recipe", ctx_r30.recipe)("serves", ctx_r30.recipe == null ? null : ctx_r30.recipe.modifiedGuests);
|
|
11889
|
+
}
|
|
11890
|
+
}
|
|
11891
|
+
function CatalogRecipeCardComponent_div_10_Template(rf, ctx) {
|
|
11892
|
+
if (rf & 1) {
|
|
11893
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11894
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 43);
|
|
11895
|
+
i0.ɵɵelementEnd();
|
|
11750
11896
|
}
|
|
11751
11897
|
if (rf & 2) {
|
|
11752
11898
|
var ctx_r4 = i0.ɵɵnextContext();
|
|
11753
|
-
i0.ɵɵ
|
|
11899
|
+
i0.ɵɵadvance(1);
|
|
11900
|
+
i0.ɵɵproperty("ngIf", ctx_r4.isPriceDisplayed);
|
|
11754
11901
|
}
|
|
11755
11902
|
}
|
|
11756
|
-
function
|
|
11903
|
+
function CatalogRecipeCardComponent_ng_miam_icon_16_Template(rf, ctx) {
|
|
11904
|
+
if (rf & 1) {
|
|
11905
|
+
i0.ɵɵelement(0, "ng-miam-icon", 45);
|
|
11906
|
+
i0.ɵɵpipe(1, "async");
|
|
11907
|
+
}
|
|
11908
|
+
if (rf & 2) {
|
|
11909
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
11910
|
+
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3, ctx_r5.groceriesListsService.recipeIsInList(ctx_r5.recipe == null ? null : ctx_r5.recipe.id)) ? ctx_r5.icon.CheckList : ctx_r5.icon.Cart);
|
|
11911
|
+
}
|
|
11912
|
+
}
|
|
11913
|
+
function CatalogRecipeCardComponent_ng_template_17_Template(rf, ctx) {
|
|
11757
11914
|
if (rf & 1) {
|
|
11758
11915
|
i0.ɵɵelement(0, "ng-miam-loader");
|
|
11759
11916
|
}
|
|
11760
11917
|
}
|
|
11761
|
-
function
|
|
11918
|
+
function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
|
|
11762
11919
|
if (rf & 1) {
|
|
11763
|
-
i0.ɵɵelementStart(0, "div",
|
|
11764
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11765
|
-
i0.ɵɵelementStart(2, "span",
|
|
11920
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
11921
|
+
i0.ɵɵelement(1, "ng-miam-icon", 47);
|
|
11922
|
+
i0.ɵɵelementStart(2, "span", 48);
|
|
11766
11923
|
i0.ɵɵtext(3);
|
|
11767
11924
|
i0.ɵɵelementEnd();
|
|
11768
11925
|
i0.ɵɵelementEnd();
|
|
11769
11926
|
}
|
|
11770
11927
|
if (rf & 2) {
|
|
11771
|
-
var
|
|
11928
|
+
var ctx_r8 = i0.ɵɵnextContext();
|
|
11772
11929
|
i0.ɵɵadvance(1);
|
|
11773
|
-
i0.ɵɵproperty("iconName",
|
|
11930
|
+
i0.ɵɵproperty("iconName", ctx_r8.icon.Time);
|
|
11774
11931
|
i0.ɵɵadvance(2);
|
|
11775
|
-
i0.ɵɵtextInterpolate(
|
|
11932
|
+
i0.ɵɵtextInterpolate(ctx_r8.recipe == null ? null : ctx_r8.recipe.totalTime);
|
|
11776
11933
|
}
|
|
11777
11934
|
}
|
|
11778
|
-
function
|
|
11935
|
+
function CatalogRecipeCardComponent_div_21_ng_container_2_Template(rf, ctx) {
|
|
11779
11936
|
if (rf & 1) {
|
|
11780
11937
|
i0.ɵɵelementContainerStart(0);
|
|
11781
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11938
|
+
i0.ɵɵelement(1, "ng-miam-icon", 53);
|
|
11782
11939
|
i0.ɵɵelementContainerEnd();
|
|
11783
11940
|
}
|
|
11784
11941
|
if (rf & 2) {
|
|
11785
|
-
var
|
|
11942
|
+
var ctx_r31 = i0.ɵɵnextContext(2);
|
|
11786
11943
|
i0.ɵɵadvance(1);
|
|
11787
|
-
i0.ɵɵproperty("width", 39)("height", 18)("iconName",
|
|
11944
|
+
i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r31.icon.DifficultyMedium);
|
|
11788
11945
|
}
|
|
11789
11946
|
}
|
|
11790
|
-
function
|
|
11947
|
+
function CatalogRecipeCardComponent_div_21_ng_container_3_Template(rf, ctx) {
|
|
11791
11948
|
if (rf & 1) {
|
|
11792
11949
|
i0.ɵɵelementContainerStart(0);
|
|
11793
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11950
|
+
i0.ɵɵelement(1, "ng-miam-icon", 53);
|
|
11794
11951
|
i0.ɵɵelementContainerEnd();
|
|
11795
11952
|
}
|
|
11796
11953
|
if (rf & 2) {
|
|
11797
|
-
var
|
|
11954
|
+
var ctx_r32 = i0.ɵɵnextContext(2);
|
|
11798
11955
|
i0.ɵɵadvance(1);
|
|
11799
|
-
i0.ɵɵproperty("width", 60)("height", 18)("iconName",
|
|
11956
|
+
i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r32.icon.DifficultyHigh);
|
|
11800
11957
|
}
|
|
11801
11958
|
}
|
|
11802
|
-
function
|
|
11959
|
+
function CatalogRecipeCardComponent_div_21_ng_container_4_Template(rf, ctx) {
|
|
11803
11960
|
if (rf & 1) {
|
|
11804
11961
|
i0.ɵɵelementContainerStart(0);
|
|
11805
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11962
|
+
i0.ɵɵelement(1, "ng-miam-icon", 53);
|
|
11806
11963
|
i0.ɵɵelementContainerEnd();
|
|
11807
11964
|
}
|
|
11808
11965
|
if (rf & 2) {
|
|
11809
|
-
var
|
|
11966
|
+
var ctx_r33 = i0.ɵɵnextContext(2);
|
|
11810
11967
|
i0.ɵɵadvance(1);
|
|
11811
|
-
i0.ɵɵproperty("width", 18)("height", 18)("iconName",
|
|
11968
|
+
i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r33.icon.DifficultyLow);
|
|
11812
11969
|
}
|
|
11813
11970
|
}
|
|
11814
11971
|
var _c1$6 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11815
|
-
function
|
|
11972
|
+
function CatalogRecipeCardComponent_div_21_Template(rf, ctx) {
|
|
11816
11973
|
if (rf & 1) {
|
|
11817
|
-
i0.ɵɵelementStart(0, "div",
|
|
11818
|
-
i0.ɵɵelementContainerStart(1,
|
|
11819
|
-
i0.ɵɵtemplate(2,
|
|
11820
|
-
i0.ɵɵtemplate(3,
|
|
11821
|
-
i0.ɵɵtemplate(4,
|
|
11974
|
+
i0.ɵɵelementStart(0, "div", 49);
|
|
11975
|
+
i0.ɵɵelementContainerStart(1, 50);
|
|
11976
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container", 51);
|
|
11977
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container", 51);
|
|
11978
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container", 52);
|
|
11822
11979
|
i0.ɵɵelementContainerEnd();
|
|
11823
|
-
i0.ɵɵelementStart(5, "span",
|
|
11980
|
+
i0.ɵɵelementStart(5, "span", 48);
|
|
11824
11981
|
i0.ɵɵtext(6);
|
|
11825
11982
|
i0.ɵɵelementEnd();
|
|
11826
11983
|
i0.ɵɵelementEnd();
|
|
11827
11984
|
}
|
|
11828
11985
|
if (rf & 2) {
|
|
11829
|
-
var
|
|
11830
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (
|
|
11986
|
+
var ctx_r9 = i0.ɵɵnextContext();
|
|
11987
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty) === 1, (ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty) === 2, (ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty) === 3));
|
|
11831
11988
|
i0.ɵɵadvance(1);
|
|
11832
|
-
i0.ɵɵproperty("ngSwitch",
|
|
11989
|
+
i0.ɵɵproperty("ngSwitch", ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty);
|
|
11833
11990
|
i0.ɵɵadvance(1);
|
|
11834
11991
|
i0.ɵɵproperty("ngSwitchCase", 2);
|
|
11835
11992
|
i0.ɵɵadvance(1);
|
|
11836
11993
|
i0.ɵɵproperty("ngSwitchCase", 3);
|
|
11837
11994
|
i0.ɵɵadvance(3);
|
|
11838
|
-
i0.ɵɵtextInterpolate(
|
|
11995
|
+
i0.ɵɵtextInterpolate(ctx_r9.recipeService.difficultyLabel(ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty));
|
|
11839
11996
|
}
|
|
11840
11997
|
}
|
|
11841
|
-
function
|
|
11998
|
+
function CatalogRecipeCardComponent_ng_template_22_Template(rf, ctx) {
|
|
11842
11999
|
if (rf & 1) {
|
|
11843
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
12000
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 35);
|
|
11844
12001
|
}
|
|
11845
12002
|
if (rf & 2) {
|
|
11846
|
-
var
|
|
11847
|
-
i0.ɵɵproperty("type",
|
|
12003
|
+
var ctx_r11 = i0.ɵɵnextContext();
|
|
12004
|
+
i0.ɵɵproperty("type", ctx_r11.skeleton == null ? null : ctx_r11.skeleton.IconWithInfo);
|
|
11848
12005
|
}
|
|
11849
12006
|
}
|
|
11850
|
-
function
|
|
12007
|
+
function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template(rf, ctx) {
|
|
11851
12008
|
if (rf & 1) {
|
|
11852
|
-
var
|
|
11853
|
-
i0.ɵɵelementStart(0, "ng-miam-actions-popin",
|
|
11854
|
-
i0.ɵɵlistener("close", function
|
|
12009
|
+
var _r35_1 = i0.ɵɵgetCurrentView();
|
|
12010
|
+
i0.ɵɵelementStart(0, "ng-miam-actions-popin", 54);
|
|
12011
|
+
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r35_1); var ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r35_1); var ctx_r36 = i0.ɵɵnextContext(); return ctx_r36.actionTriggered.emit($event); });
|
|
11855
12012
|
i0.ɵɵelementEnd();
|
|
11856
12013
|
}
|
|
11857
12014
|
}
|
|
11858
|
-
function
|
|
12015
|
+
function CatalogRecipeCardComponent_ng_template_25_Template(rf, ctx) {
|
|
11859
12016
|
if (rf & 1) {
|
|
11860
12017
|
i0.ɵɵelement(0, "ng-miam-cors-overlay");
|
|
11861
12018
|
}
|
|
@@ -11962,7 +12119,7 @@
|
|
|
11962
12119
|
var _t;
|
|
11963
12120
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moreActions = _t.first);
|
|
11964
12121
|
}
|
|
11965
|
-
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
12122
|
+
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 21, consts: [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [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__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], [3, "src"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) {
|
|
11966
12123
|
if (rf & 1) {
|
|
11967
12124
|
i0.ɵɵelementStart(0, "div", 0);
|
|
11968
12125
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -11970,56 +12127,59 @@
|
|
|
11970
12127
|
i0.ɵɵtext(3);
|
|
11971
12128
|
i0.ɵɵelementEnd();
|
|
11972
12129
|
i0.ɵɵelementEnd();
|
|
11973
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template,
|
|
12130
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template, 15, 10, "div", 2);
|
|
11974
12131
|
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_ng_template_5_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
11975
12132
|
i0.ɵɵelementStart(7, "div", 4);
|
|
11976
12133
|
i0.ɵɵelementStart(8, "div", 5);
|
|
11977
|
-
i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_9_Template,
|
|
11978
|
-
i0.ɵɵ
|
|
11979
|
-
i0.ɵɵ
|
|
11980
|
-
i0.ɵɵ
|
|
11981
|
-
i0.ɵɵ
|
|
11982
|
-
i0.ɵɵ
|
|
11983
|
-
i0.ɵɵ
|
|
12134
|
+
i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_9_Template, 6, 3, "div", 6);
|
|
12135
|
+
i0.ɵɵtemplate(10, CatalogRecipeCardComponent_div_10_Template, 2, 1, "div", 7);
|
|
12136
|
+
i0.ɵɵelementStart(11, "button", 8);
|
|
12137
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_11_listener() { return ctx.clickPrimary(); });
|
|
12138
|
+
i0.ɵɵpipe(12, "async");
|
|
12139
|
+
i0.ɵɵelementStart(13, "span");
|
|
12140
|
+
i0.ɵɵtext(14);
|
|
12141
|
+
i0.ɵɵpipe(15, "async");
|
|
11984
12142
|
i0.ɵɵelementEnd();
|
|
11985
|
-
i0.ɵɵtemplate(
|
|
11986
|
-
i0.ɵɵtemplate(
|
|
12143
|
+
i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_miam_icon_16_Template, 2, 5, "ng-miam-icon", 9);
|
|
12144
|
+
i0.ɵɵtemplate(17, CatalogRecipeCardComponent_ng_template_17_Template, 1, 0, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
11987
12145
|
i0.ɵɵelementEnd();
|
|
11988
12146
|
i0.ɵɵelementEnd();
|
|
11989
|
-
i0.ɵɵelementStart(
|
|
11990
|
-
i0.ɵɵtemplate(
|
|
11991
|
-
i0.ɵɵtemplate(
|
|
11992
|
-
i0.ɵɵtemplate(
|
|
12147
|
+
i0.ɵɵelementStart(19, "div", 11);
|
|
12148
|
+
i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 4, 2, "div", 12);
|
|
12149
|
+
i0.ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 7, 9, "div", 13);
|
|
12150
|
+
i0.ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
|
11993
12151
|
i0.ɵɵelementEnd();
|
|
11994
12152
|
i0.ɵɵelementEnd();
|
|
11995
|
-
i0.ɵɵtemplate(
|
|
12153
|
+
i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin", 15);
|
|
11996
12154
|
i0.ɵɵelementEnd();
|
|
11997
|
-
i0.ɵɵtemplate(
|
|
12155
|
+
i0.ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
|
|
11998
12156
|
}
|
|
11999
12157
|
if (rf & 2) {
|
|
12000
12158
|
var _r1 = i0.ɵɵreference(6);
|
|
12001
|
-
var
|
|
12002
|
-
var
|
|
12159
|
+
var _r6 = i0.ɵɵreference(18);
|
|
12160
|
+
var _r10 = i0.ɵɵreference(23);
|
|
12003
12161
|
i0.ɵɵadvance(3);
|
|
12004
12162
|
i0.ɵɵtextInterpolate1(" ", ctx.headerText, "");
|
|
12005
12163
|
i0.ɵɵadvance(1);
|
|
12006
12164
|
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r1);
|
|
12007
12165
|
i0.ɵɵadvance(5);
|
|
12166
|
+
i0.ɵɵproperty("ngIf", ctx.contextService.displayIngredientPicturesOnRecipeCards && (ctx.recipe == null ? null : ctx.recipe.modifiedIngredients == null ? null : ctx.recipe.modifiedIngredients.length) > 1);
|
|
12167
|
+
i0.ɵɵadvance(1);
|
|
12008
12168
|
i0.ɵɵproperty("ngIf", ctx.recipe && ctx.displayPricing);
|
|
12009
12169
|
i0.ɵɵadvance(1);
|
|
12010
|
-
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(
|
|
12170
|
+
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(18, _c2$1, ctx.addButtonLoading, i0.ɵɵpipeBind1(12, 14, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id))));
|
|
12011
12171
|
i0.ɵɵadvance(3);
|
|
12012
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
12172
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 16, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
|
|
12013
12173
|
i0.ɵɵadvance(2);
|
|
12014
|
-
i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse",
|
|
12174
|
+
i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r6);
|
|
12015
12175
|
i0.ɵɵadvance(4);
|
|
12016
|
-
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse",
|
|
12176
|
+
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r10);
|
|
12017
12177
|
i0.ɵɵadvance(1);
|
|
12018
12178
|
i0.ɵɵproperty("ngIf", ctx.recipe);
|
|
12019
12179
|
i0.ɵɵadvance(3);
|
|
12020
12180
|
i0.ɵɵproperty("ngIf", ctx.actionsOpened);
|
|
12021
12181
|
}
|
|
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 });
|
|
12182
|
+
}, 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 });
|
|
12023
12183
|
/*@__PURE__*/ (function () {
|
|
12024
12184
|
i0.ɵsetClassMetadata(CatalogRecipeCardComponent, [{
|
|
12025
12185
|
type: i0.Component,
|
|
@@ -12674,7 +12834,7 @@
|
|
|
12674
12834
|
i0.ɵɵadvance(1);
|
|
12675
12835
|
i0.ɵɵproperty("ngIf", !ctx.personalButtonHidden);
|
|
12676
12836
|
}
|
|
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 });
|
|
12837
|
+
}, 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 });
|
|
12678
12838
|
/*@__PURE__*/ (function () {
|
|
12679
12839
|
i0.ɵsetClassMetadata(CatalogHeaderComponent, [{
|
|
12680
12840
|
type: i0.Component,
|
|
@@ -15728,7 +15888,7 @@
|
|
|
15728
15888
|
function RecipeCatalogComponent_div_2_ng_template_7_div_0_ng_container_1_div_2_Template(rf, ctx) {
|
|
15729
15889
|
if (rf & 1) {
|
|
15730
15890
|
i0.ɵɵelementStart(0, "div", 27);
|
|
15731
|
-
i0.ɵɵelement(1, "ng-miam-
|
|
15891
|
+
i0.ɵɵelement(1, "ng-miam-explain-banner");
|
|
15732
15892
|
i0.ɵɵelementEnd();
|
|
15733
15893
|
}
|
|
15734
15894
|
}
|
|
@@ -15870,12 +16030,22 @@
|
|
|
15870
16030
|
this.setDirectAccess(this.initialRoute);
|
|
15871
16031
|
};
|
|
15872
16032
|
RecipeCatalogComponent.prototype.ngAfterViewInit = function () {
|
|
16033
|
+
this.openFeaturesFromURL();
|
|
15873
16034
|
this.cdr.detectChanges();
|
|
15874
16035
|
};
|
|
15875
16036
|
RecipeCatalogComponent.prototype.ngOnDestroy = function () {
|
|
15876
16037
|
this.subscriptions.forEach(function (s) { return s.unsubscribe(); });
|
|
15877
16038
|
};
|
|
15878
16039
|
RecipeCatalogComponent.prototype.currentPath = function () { return 'miam/recipes'; };
|
|
16040
|
+
RecipeCatalogComponent.prototype.openFeaturesFromURL = function () {
|
|
16041
|
+
var paramsArray = new URLSearchParams(window.location.search);
|
|
16042
|
+
if (paramsArray.get('openBasket') === 'true') {
|
|
16043
|
+
this.toggleMyMealDrawer();
|
|
16044
|
+
}
|
|
16045
|
+
if (paramsArray.get('personalCatalog') === 'true') {
|
|
16046
|
+
this.setPersonalFilter();
|
|
16047
|
+
}
|
|
16048
|
+
};
|
|
15879
16049
|
RecipeCatalogComponent.prototype.displayHomePage = function () {
|
|
15880
16050
|
return this.filters.isEmpty();
|
|
15881
16051
|
};
|
|
@@ -16105,7 +16275,7 @@
|
|
|
16105
16275
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topAnchor = _t.first);
|
|
16106
16276
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.categoriesComp = _t);
|
|
16107
16277
|
}
|
|
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-
|
|
16278
|
+
}, 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__explain_banner", 4, "ngIf"], [1, "miam-recipe-catalog__explain_banner"], [3, "recipe", "originTrace", "recipeChange", "canceled"]], template: function RecipeCatalogComponent_Template(rf, ctx) {
|
|
16109
16279
|
if (rf & 1) {
|
|
16110
16280
|
i0.ɵɵelement(0, "div", 0, 1);
|
|
16111
16281
|
i0.ɵɵtemplate(2, RecipeCatalogComponent_div_2_Template, 9, 17, "div", 2);
|
|
@@ -16199,7 +16369,7 @@
|
|
|
16199
16369
|
i0.ɵɵadvance(2);
|
|
16200
16370
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(9, 3, ctx.recipe == null ? null : ctx.recipe.attributes["informational-page-html"]), i0.ɵɵsanitizeResourceUrl);
|
|
16201
16371
|
}
|
|
16202
|
-
}, directives: [IconComponent, i4.NgIf], pipes: [SafePipe], styles: [".recipe-addon{display:flex;flex-direction:column;height:
|
|
16372
|
+
}, directives: [IconComponent, i4.NgIf], pipes: [SafePipe], styles: [".recipe-addon{display:flex;flex-direction:column;height:100%;width:100%}.recipe-addon .recipe-addon__header{align-items:center;box-shadow:0 8px 28px rgba(0,0,0,.07);display:flex;justify-content:space-between;padding:26px 80px 26px 16px;width:100%}@media (max-width:1023px){.recipe-addon .recipe-addon__header{padding:16px 80px 16px 16px}}.recipe-addon .recipe-addon__header button{background-color:transparent;border:none;color:var(--m-color-black);font-size:19px;font-weight:700;max-width:150px;padding:0}.recipe-addon .recipe-addon__header button ng-miam-icon{height:16px;margin:0;transform:rotate(90deg) scale(1.5)}.recipe-addon .recipe-addon__header button ng-miam-icon svg path{fill:var(--m-color-black)}.recipe-addon .recipe-addon__header button ng-miam-icon svg path:first-of-type{fill:transparent}.recipe-addon .recipe-addon__header button:hover{background-color:transparent;border:none}.recipe-addon .recipe-addon__header button:hover ng-miam-icon svg path{fill:var(--m-color-black)}.recipe-addon .recipe-addon__header button:hover ng-miam-icon svg path:first-of-type{fill:transparent}.recipe-addon .recipe-addon__header button span{margin-left:8px}.recipe-addon .recipe-addon__header img{height:25px}.recipe-addon .recipe-addon__content{flex:1 1;height:100%;margin-right:8px;overflow-x:hidden;overflow-y:auto;padding-top:16px;width:calc(100% - 8px)}.recipe-addon .recipe-addon__content::-webkit-scrollbar-button{height:20px}.recipe-addon .recipe-addon__content::-webkit-scrollbar-track{background:var(--m-color-grey)}.recipe-addon .recipe-addon__content::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.recipe-addon .recipe-addon__content::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.recipe-addon .recipe-addon__content .recipe-addon__content__iframe{height:calc(100vh - 98px);width:100%}"], encapsulation: 2, changeDetection: 0 });
|
|
16203
16373
|
/*@__PURE__*/ (function () {
|
|
16204
16374
|
i0.ɵsetClassMetadata(RecipeAddonComponent, [{
|
|
16205
16375
|
type: i0.Component,
|
|
@@ -16220,7 +16390,7 @@
|
|
|
16220
16390
|
function RecipeDetailsInfosComponent_ng_container_4_Template(rf, ctx) {
|
|
16221
16391
|
if (rf & 1) {
|
|
16222
16392
|
i0.ɵɵelementContainerStart(0);
|
|
16223
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
16393
|
+
i0.ɵɵelement(1, "ng-miam-icon", 13);
|
|
16224
16394
|
i0.ɵɵelementContainerEnd();
|
|
16225
16395
|
}
|
|
16226
16396
|
if (rf & 2) {
|
|
@@ -16232,7 +16402,7 @@
|
|
|
16232
16402
|
function RecipeDetailsInfosComponent_ng_container_5_Template(rf, ctx) {
|
|
16233
16403
|
if (rf & 1) {
|
|
16234
16404
|
i0.ɵɵelementContainerStart(0);
|
|
16235
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
16405
|
+
i0.ɵɵelement(1, "ng-miam-icon", 13);
|
|
16236
16406
|
i0.ɵɵelementContainerEnd();
|
|
16237
16407
|
}
|
|
16238
16408
|
if (rf & 2) {
|
|
@@ -16244,7 +16414,7 @@
|
|
|
16244
16414
|
function RecipeDetailsInfosComponent_ng_container_6_Template(rf, ctx) {
|
|
16245
16415
|
if (rf & 1) {
|
|
16246
16416
|
i0.ɵɵelementContainerStart(0);
|
|
16247
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
16417
|
+
i0.ɵɵelement(1, "ng-miam-icon", 13);
|
|
16248
16418
|
i0.ɵɵelementContainerEnd();
|
|
16249
16419
|
}
|
|
16250
16420
|
if (rf & 2) {
|
|
@@ -16275,7 +16445,7 @@
|
|
|
16275
16445
|
i0.ɵɵtextInterpolate(ctx_r3.recipe == null ? null : ctx_r3.recipe.cookingTime);
|
|
16276
16446
|
}
|
|
16277
16447
|
}
|
|
16278
|
-
function
|
|
16448
|
+
function RecipeDetailsInfosComponent_div_19_div_1_Template(rf, ctx) {
|
|
16279
16449
|
if (rf & 1) {
|
|
16280
16450
|
i0.ɵɵelementStart(0, "div", 16);
|
|
16281
16451
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
@@ -16290,14 +16460,14 @@
|
|
|
16290
16460
|
i0.ɵɵelementEnd();
|
|
16291
16461
|
}
|
|
16292
16462
|
if (rf & 2) {
|
|
16293
|
-
var
|
|
16463
|
+
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
16294
16464
|
i0.ɵɵadvance(1);
|
|
16295
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16465
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r6.icon.Preparation);
|
|
16296
16466
|
i0.ɵɵadvance(5);
|
|
16297
|
-
i0.ɵɵtextInterpolate(
|
|
16467
|
+
i0.ɵɵtextInterpolate(ctx_r6.recipe == null ? null : ctx_r6.recipe.preparationTime);
|
|
16298
16468
|
}
|
|
16299
16469
|
}
|
|
16300
|
-
function
|
|
16470
|
+
function RecipeDetailsInfosComponent_div_19_div_2_Template(rf, ctx) {
|
|
16301
16471
|
if (rf & 1) {
|
|
16302
16472
|
i0.ɵɵelementStart(0, "div", 16);
|
|
16303
16473
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
@@ -16312,14 +16482,14 @@
|
|
|
16312
16482
|
i0.ɵɵelementEnd();
|
|
16313
16483
|
}
|
|
16314
16484
|
if (rf & 2) {
|
|
16315
|
-
var
|
|
16485
|
+
var ctx_r7 = i0.ɵɵnextContext(2);
|
|
16316
16486
|
i0.ɵɵadvance(1);
|
|
16317
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16487
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r7.icon.Hot);
|
|
16318
16488
|
i0.ɵɵadvance(5);
|
|
16319
|
-
i0.ɵɵtextInterpolate(
|
|
16489
|
+
i0.ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.cookingTime);
|
|
16320
16490
|
}
|
|
16321
16491
|
}
|
|
16322
|
-
function
|
|
16492
|
+
function RecipeDetailsInfosComponent_div_19_div_3_Template(rf, ctx) {
|
|
16323
16493
|
if (rf & 1) {
|
|
16324
16494
|
i0.ɵɵelementStart(0, "div", 16);
|
|
16325
16495
|
i0.ɵɵelement(1, "ng-miam-icon", 7);
|
|
@@ -16334,14 +16504,32 @@
|
|
|
16334
16504
|
i0.ɵɵelementEnd();
|
|
16335
16505
|
}
|
|
16336
16506
|
if (rf & 2) {
|
|
16337
|
-
var
|
|
16507
|
+
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
16338
16508
|
i0.ɵɵadvance(1);
|
|
16339
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
16509
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r8.icon.Wait);
|
|
16340
16510
|
i0.ɵɵadvance(5);
|
|
16341
|
-
i0.ɵɵtextInterpolate(
|
|
16511
|
+
i0.ɵɵtextInterpolate(ctx_r8.recipe == null ? null : ctx_r8.recipe.restingTime);
|
|
16342
16512
|
}
|
|
16343
16513
|
}
|
|
16344
|
-
function
|
|
16514
|
+
function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) {
|
|
16515
|
+
if (rf & 1) {
|
|
16516
|
+
i0.ɵɵelementStart(0, "div", 14);
|
|
16517
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_19_div_1_Template, 7, 4, "div", 15);
|
|
16518
|
+
i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_19_div_2_Template, 7, 4, "div", 15);
|
|
16519
|
+
i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_19_div_3_Template, 7, 4, "div", 15);
|
|
16520
|
+
i0.ɵɵelementEnd();
|
|
16521
|
+
}
|
|
16522
|
+
if (rf & 2) {
|
|
16523
|
+
var ctx_r4 = i0.ɵɵnextContext();
|
|
16524
|
+
i0.ɵɵadvance(1);
|
|
16525
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.preparationTime) !== "-");
|
|
16526
|
+
i0.ɵɵadvance(1);
|
|
16527
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.cookingTime) !== "-");
|
|
16528
|
+
i0.ɵɵadvance(1);
|
|
16529
|
+
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.restingTime) !== "-");
|
|
16530
|
+
}
|
|
16531
|
+
}
|
|
16532
|
+
function RecipeDetailsInfosComponent_div_20_div_1_img_1_Template(rf, ctx) {
|
|
16345
16533
|
if (rf & 1) {
|
|
16346
16534
|
i0.ɵɵelement(0, "img", 22);
|
|
16347
16535
|
}
|
|
@@ -16350,10 +16538,10 @@
|
|
|
16350
16538
|
i0.ɵɵproperty("src", tag_r10.attributes.icon, i0.ɵɵsanitizeUrl);
|
|
16351
16539
|
}
|
|
16352
16540
|
}
|
|
16353
|
-
function
|
|
16541
|
+
function RecipeDetailsInfosComponent_div_20_div_1_Template(rf, ctx) {
|
|
16354
16542
|
if (rf & 1) {
|
|
16355
16543
|
i0.ɵɵelementStart(0, "div", 19);
|
|
16356
|
-
i0.ɵɵtemplate(1,
|
|
16544
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_20_div_1_img_1_Template, 1, 1, "img", 20);
|
|
16357
16545
|
i0.ɵɵelementStart(2, "span", 21);
|
|
16358
16546
|
i0.ɵɵtext(3);
|
|
16359
16547
|
i0.ɵɵelementEnd();
|
|
@@ -16361,7 +16549,7 @@
|
|
|
16361
16549
|
}
|
|
16362
16550
|
if (rf & 2) {
|
|
16363
16551
|
var tag_r10 = ctx.$implicit;
|
|
16364
|
-
var ctx_r9 = i0.ɵɵnextContext(
|
|
16552
|
+
var ctx_r9 = i0.ɵɵnextContext(2);
|
|
16365
16553
|
i0.ɵɵproperty("ngClass", ctx_r9.tagClass(tag_r10));
|
|
16366
16554
|
i0.ɵɵadvance(1);
|
|
16367
16555
|
i0.ɵɵproperty("ngIf", ctx_r9.displayTagsIcons);
|
|
@@ -16369,39 +16557,16 @@
|
|
|
16369
16557
|
i0.ɵɵtextInterpolate1(" ", tag_r10.name, " ");
|
|
16370
16558
|
}
|
|
16371
16559
|
}
|
|
16372
|
-
function
|
|
16560
|
+
function RecipeDetailsInfosComponent_div_20_Template(rf, ctx) {
|
|
16373
16561
|
if (rf & 1) {
|
|
16374
16562
|
i0.ɵɵelementStart(0, "div", 17);
|
|
16375
|
-
i0.ɵɵtemplate(1,
|
|
16376
|
-
i0.ɵɵelementEnd();
|
|
16377
|
-
}
|
|
16378
|
-
if (rf & 2) {
|
|
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);
|
|
16563
|
+
i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_20_div_1_Template, 4, 3, "div", 18);
|
|
16393
16564
|
i0.ɵɵelementEnd();
|
|
16394
16565
|
}
|
|
16395
16566
|
if (rf & 2) {
|
|
16396
|
-
var
|
|
16397
|
-
i0.ɵɵadvance(2);
|
|
16398
|
-
i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.preparationTime) !== "-");
|
|
16399
|
-
i0.ɵɵadvance(1);
|
|
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) !== "-");
|
|
16567
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
16403
16568
|
i0.ɵɵadvance(1);
|
|
16404
|
-
i0.ɵɵproperty("
|
|
16569
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.tags);
|
|
16405
16570
|
}
|
|
16406
16571
|
}
|
|
16407
16572
|
var RecipeDetailsInfosComponent = /** @class */ (function () {
|
|
@@ -16433,7 +16598,7 @@
|
|
|
16433
16598
|
return RecipeDetailsInfosComponent;
|
|
16434
16599
|
}());
|
|
16435
16600
|
RecipeDetailsInfosComponent.ɵfac = function RecipeDetailsInfosComponent_Factory(t) { return new (t || RecipeDetailsInfosComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RecipesService)); };
|
|
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:
|
|
16601
|
+
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: 21, vars: 13, 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"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 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) {
|
|
16437
16602
|
if (rf & 1) {
|
|
16438
16603
|
i0.ɵɵelementStart(0, "div", 0);
|
|
16439
16604
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -16461,7 +16626,10 @@
|
|
|
16461
16626
|
i0.ɵɵelementEnd();
|
|
16462
16627
|
i0.ɵɵtemplate(17, RecipeDetailsInfosComponent_div_17_Template, 7, 4, "div", 9);
|
|
16463
16628
|
i0.ɵɵelementEnd();
|
|
16464
|
-
i0.ɵɵ
|
|
16629
|
+
i0.ɵɵelementStart(18, "div", 10);
|
|
16630
|
+
i0.ɵɵtemplate(19, RecipeDetailsInfosComponent_div_19_Template, 4, 3, "div", 11);
|
|
16631
|
+
i0.ɵɵtemplate(20, RecipeDetailsInfosComponent_div_20_Template, 2, 1, "div", 12);
|
|
16632
|
+
i0.ɵɵelementEnd();
|
|
16465
16633
|
i0.ɵɵelementEnd();
|
|
16466
16634
|
}
|
|
16467
16635
|
if (rf & 2) {
|
|
@@ -16472,15 +16640,17 @@
|
|
|
16472
16640
|
i0.ɵɵadvance(1);
|
|
16473
16641
|
i0.ɵɵproperty("ngSwitchCase", 3);
|
|
16474
16642
|
i0.ɵɵadvance(3);
|
|
16475
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9,
|
|
16643
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 11, ctx.recipesService.difficultyLabel(ctx.recipe == null ? null : ctx.recipe.difficulty)));
|
|
16476
16644
|
i0.ɵɵadvance(3);
|
|
16477
16645
|
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx.icon.Time);
|
|
16478
16646
|
i0.ɵɵadvance(5);
|
|
16479
16647
|
i0.ɵɵtextInterpolate(ctx.recipe == null ? null : ctx.recipe.totalTime);
|
|
16480
16648
|
i0.ɵɵadvance(1);
|
|
16481
16649
|
i0.ɵɵproperty("ngIf", ctx.reduced && (ctx.recipe == null ? null : ctx.recipe.cookingTime) !== "-");
|
|
16482
|
-
i0.ɵɵadvance(
|
|
16650
|
+
i0.ɵɵadvance(2);
|
|
16483
16651
|
i0.ɵɵproperty("ngIf", !ctx.reduced);
|
|
16652
|
+
i0.ɵɵadvance(1);
|
|
16653
|
+
i0.ɵɵproperty("ngIf", ctx.displayTags && ctx.tags.length);
|
|
16484
16654
|
}
|
|
16485
16655
|
}, 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 });
|
|
16486
16656
|
/*@__PURE__*/ (function () {
|
|
@@ -16714,7 +16884,7 @@
|
|
|
16714
16884
|
i0.ɵɵadvance(5);
|
|
16715
16885
|
i0.ɵɵproperty("ngForOf", ctx.recipe.steps);
|
|
16716
16886
|
}
|
|
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 });
|
|
16887
|
+
}, 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}@media (max-width:1023px){.miam-recipe-details-steps .miam-recipe-details-steps__list{padding-bottom:140px}}.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 });
|
|
16718
16888
|
/*@__PURE__*/ (function () {
|
|
16719
16889
|
i0.ɵsetClassMetadata(RecipeDetailsStepsComponent, [{
|
|
16720
16890
|
type: i0.Component,
|
|
@@ -16753,16 +16923,16 @@
|
|
|
16753
16923
|
i0.ɵɵtextInterpolate1(" ", ctx_r7.recipe == null ? null : ctx_r7.recipe.attributes["title"], " ");
|
|
16754
16924
|
}
|
|
16755
16925
|
}
|
|
16756
|
-
function
|
|
16926
|
+
function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template(rf, ctx) {
|
|
16757
16927
|
if (rf & 1) {
|
|
16758
16928
|
var _r22_1 = i0.ɵɵgetCurrentView();
|
|
16759
16929
|
i0.ɵɵelementStart(0, "ng-miam-addon-link", 39);
|
|
16760
|
-
i0.ɵɵlistener("showAddon", function
|
|
16930
|
+
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r22_1); var ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.toggleAddon(); });
|
|
16761
16931
|
i0.ɵɵelementEnd();
|
|
16762
16932
|
}
|
|
16763
16933
|
if (rf & 2) {
|
|
16764
|
-
var
|
|
16765
|
-
i0.ɵɵproperty("recipe",
|
|
16934
|
+
var ctx_r9 = i0.ɵɵnextContext(2);
|
|
16935
|
+
i0.ɵɵproperty("recipe", ctx_r9.recipe);
|
|
16766
16936
|
}
|
|
16767
16937
|
}
|
|
16768
16938
|
var _c1$d = function (a0, a1) { return { "sponsor": a0, "tags": a1 }; };
|
|
@@ -16799,7 +16969,7 @@
|
|
|
16799
16969
|
}
|
|
16800
16970
|
if (rf & 2) {
|
|
16801
16971
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
16802
|
-
i0.ɵɵproperty("recipe", ctx_r13.recipe)("displayTags", ctx_r13.displayTags)("displayTagsIcons", ctx_r13.displayTagsIcons)("reduced", ctx_r13.
|
|
16972
|
+
i0.ɵɵproperty("recipe", ctx_r13.recipe)("displayTags", ctx_r13.displayTags)("displayTagsIcons", ctx_r13.displayTagsIcons)("reduced", ctx_r13.cookingTimeAsPrimaryInfo);
|
|
16803
16973
|
}
|
|
16804
16974
|
}
|
|
16805
16975
|
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_28_Template(rf, ctx) {
|
|
@@ -16902,7 +17072,7 @@
|
|
|
16902
17072
|
}
|
|
16903
17073
|
if (rf & 2) {
|
|
16904
17074
|
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
16905
|
-
i0.ɵɵproperty("recipe", ctx_r19.recipe)("displayTags", ctx_r19.displayTags)("displayTagsIcons", ctx_r19.displayTagsIcons)("reduced", ctx_r19.
|
|
17075
|
+
i0.ɵɵproperty("recipe", ctx_r19.recipe)("displayTags", ctx_r19.displayTags)("displayTagsIcons", ctx_r19.displayTagsIcons)("reduced", ctx_r19.cookingTimeAsPrimaryInfo);
|
|
16906
17076
|
}
|
|
16907
17077
|
}
|
|
16908
17078
|
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_39_Template(rf, ctx) {
|
|
@@ -16931,12 +17101,12 @@
|
|
|
16931
17101
|
i0.ɵɵelementEnd();
|
|
16932
17102
|
i0.ɵɵelementEnd();
|
|
16933
17103
|
i0.ɵɵelementStart(11, "div", 11);
|
|
16934
|
-
i0.ɵɵelementStart(12, "div", 12);
|
|
16935
|
-
i0.ɵɵelementStart(13, "div", 13);
|
|
17104
|
+
i0.ɵɵelementStart(12, "div", 12, 13);
|
|
16936
17105
|
i0.ɵɵelementStart(14, "div", 14);
|
|
16937
|
-
i0.ɵɵ
|
|
17106
|
+
i0.ɵɵelementStart(15, "div", 15);
|
|
17107
|
+
i0.ɵɵtemplate(16, RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template, 1, 1, "ng-miam-addon-link", 16);
|
|
16938
17108
|
i0.ɵɵelementEnd();
|
|
16939
|
-
i0.ɵɵelementStart(
|
|
17109
|
+
i0.ɵɵelementStart(17, "div", 17);
|
|
16940
17110
|
i0.ɵɵtemplate(18, RecipeDetailsComponent_div_0_img_18_Template, 1, 5, "img", 18);
|
|
16941
17111
|
i0.ɵɵtemplate(19, RecipeDetailsComponent_div_0_youtube_player_19_Template, 1, 3, "youtube-player", 19);
|
|
16942
17112
|
i0.ɵɵelementEnd();
|
|
@@ -16990,9 +17160,9 @@
|
|
|
16990
17160
|
i0.ɵɵproperty("ngIf", !ctx_r0.isMobile || ctx_r0.titleInHeader);
|
|
16991
17161
|
i0.ɵɵadvance(1);
|
|
16992
17162
|
i0.ɵɵproperty("href", ctx_r0.contextService.miam.router.catalog, i0.ɵɵsanitizeUrl);
|
|
16993
|
-
i0.ɵɵadvance(
|
|
17163
|
+
i0.ɵɵadvance(7);
|
|
16994
17164
|
i0.ɵɵproperty("ngIf", (ctx_r0.recipe == null ? null : ctx_r0.recipe.sponsors == null ? null : ctx_r0.recipe.sponsors.length) > 0 || ctx_r0.recipe.informationalSentence);
|
|
16995
|
-
i0.ɵɵadvance(
|
|
17165
|
+
i0.ɵɵadvance(2);
|
|
16996
17166
|
i0.ɵɵproperty("ngIf", !ctx_r0.showVideo);
|
|
16997
17167
|
i0.ɵɵadvance(1);
|
|
16998
17168
|
i0.ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
|
|
@@ -17058,6 +17228,7 @@
|
|
|
17058
17228
|
_this.displayPricing = true;
|
|
17059
17229
|
_this.displayAddedOnPicture = true;
|
|
17060
17230
|
_this.stepsOnLeftSide = false; // If true, display the detail in 4 quarters instead of 2 halves
|
|
17231
|
+
_this.cookingTimeAsPrimaryInfo = false; // If true, display the cooking time next to total time
|
|
17061
17232
|
_this.pricingGuestsText = 'par personne';
|
|
17062
17233
|
_this.recipeAdded = new i0.EventEmitter();
|
|
17063
17234
|
_this.recipeError = new i0.EventEmitter();
|
|
@@ -17070,10 +17241,17 @@
|
|
|
17070
17241
|
_this.addButtonLoading = false;
|
|
17071
17242
|
_this.titleInHeader = false;
|
|
17072
17243
|
_this.subscriptions = [];
|
|
17073
|
-
_this.isMobile = _this.mediaMatcher.matchMedia('(max-width: 1023px)').matches;
|
|
17074
17244
|
return _this;
|
|
17075
17245
|
}
|
|
17246
|
+
RecipeDetailsComponent.prototype.ngOnInit = function () {
|
|
17247
|
+
var _this = this;
|
|
17248
|
+
this.subscriptions.push(this.contextService.miam.user.isSmallScreen$.subscribe(function (isSmall) {
|
|
17249
|
+
_this.isMobile = isSmall;
|
|
17250
|
+
_this.cdr.detectChanges();
|
|
17251
|
+
}));
|
|
17252
|
+
};
|
|
17076
17253
|
RecipeDetailsComponent.prototype.ngOnChanges = function (changes) {
|
|
17254
|
+
var _this = this;
|
|
17077
17255
|
var _a;
|
|
17078
17256
|
if (this.recipe && changes['recipe']) {
|
|
17079
17257
|
this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_RECIPE_DISPLAY, this.originTrace.originPath, this.props());
|
|
@@ -17085,20 +17263,33 @@
|
|
|
17085
17263
|
else {
|
|
17086
17264
|
this.displayTags = this.contextService.tagsOnRecipesEnabled;
|
|
17087
17265
|
}
|
|
17266
|
+
if (this.stepsOnLeftSide) {
|
|
17267
|
+
this.cookingTimeAsPrimaryInfo = true;
|
|
17268
|
+
}
|
|
17088
17269
|
this.showVideo = false; // force reload video player
|
|
17089
17270
|
this.cdr.detectChanges();
|
|
17090
17271
|
this.showVideo = this.contextService.videoRecipesEnabled && ((_a = this.recipe) === null || _a === void 0 ? void 0 : _a.videoId);
|
|
17091
|
-
|
|
17092
|
-
|
|
17093
|
-
|
|
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();
|
|
17272
|
+
if (this.showVideo) {
|
|
17273
|
+
this.setupYoutubePlayer();
|
|
17274
|
+
}
|
|
17098
17275
|
setTimeout(function () {
|
|
17099
17276
|
_this.initScrollListenerOnTitle();
|
|
17100
17277
|
});
|
|
17101
17278
|
};
|
|
17279
|
+
RecipeDetailsComponent.prototype.setupYoutubePlayer = function () {
|
|
17280
|
+
var _this = this;
|
|
17281
|
+
setTimeout(function () {
|
|
17282
|
+
var _a, _b, _c;
|
|
17283
|
+
if ((_a = window.YT) === null || _a === void 0 ? void 0 : _a.Player) {
|
|
17284
|
+
_this.playerWidth = (_c = (_b = _this.topContainerImg) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.offsetWidth;
|
|
17285
|
+
_this.playerHeight = Math.min(window.innerHeight * 0.48, _this.playerWidth * 390 / 640);
|
|
17286
|
+
_this.cdr.detectChanges();
|
|
17287
|
+
}
|
|
17288
|
+
else {
|
|
17289
|
+
_this.setupYoutubePlayer();
|
|
17290
|
+
}
|
|
17291
|
+
}, 50);
|
|
17292
|
+
};
|
|
17102
17293
|
RecipeDetailsComponent.prototype.currentPath = function () {
|
|
17103
17294
|
return 'detail';
|
|
17104
17295
|
};
|
|
@@ -17120,8 +17311,8 @@
|
|
|
17120
17311
|
// For more precision on title scroll detection, we want to trigger an event each time the user scrolls 5% of the content
|
|
17121
17312
|
var threshold = __spread(Array(20).keys()).map(function (x) { return x / 20; });
|
|
17122
17313
|
// Receive an event each time the title enters/leaves the viewport
|
|
17123
|
-
this.intersectionObserver = new IntersectionObserver(function (
|
|
17124
|
-
var
|
|
17314
|
+
this.intersectionObserver = new IntersectionObserver(function (_d) {
|
|
17315
|
+
var _e = __read(_d, 1), entry = _e[0];
|
|
17125
17316
|
_this.toggleTitleInHeader();
|
|
17126
17317
|
}, { threshold: threshold });
|
|
17127
17318
|
this.intersectionObserver.observe(this.content);
|
|
@@ -17224,7 +17415,7 @@
|
|
|
17224
17415
|
var _t;
|
|
17225
17416
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
|
|
17226
17417
|
}
|
|
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"], [
|
|
17418
|
+
}, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", cookingTimeAsPrimaryInfo: "cookingTimeAsPrimaryInfo", 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"], ["topContainerImg", ""], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], [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) {
|
|
17228
17419
|
if (rf & 1) {
|
|
17229
17420
|
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 42, 28, "div", 0);
|
|
17230
17421
|
i0.ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -17233,7 +17424,7 @@
|
|
|
17233
17424
|
var _r1 = i0.ɵɵreference(2);
|
|
17234
17425
|
i0.ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
|
|
17235
17426
|
}
|
|
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 });
|
|
17427
|
+
}, 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 });
|
|
17237
17428
|
/*@__PURE__*/ (function () {
|
|
17238
17429
|
i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
|
|
17239
17430
|
type: i0.Component,
|
|
@@ -17260,6 +17451,8 @@
|
|
|
17260
17451
|
type: i0.Input
|
|
17261
17452
|
}], stepsOnLeftSide: [{
|
|
17262
17453
|
type: i0.Input
|
|
17454
|
+
}], cookingTimeAsPrimaryInfo: [{
|
|
17455
|
+
type: i0.Input
|
|
17263
17456
|
}], moreRecipesImageURL: [{
|
|
17264
17457
|
type: i0.Input
|
|
17265
17458
|
}], pricingGuestsText: [{
|
|
@@ -17652,6 +17845,12 @@
|
|
|
17652
17845
|
quantity: new i15.FormControl(ingredient.attributes.quantity, i15.Validators.required),
|
|
17653
17846
|
unit: new i15.FormControl(ingredient.attributes.unit, i15.Validators.required),
|
|
17654
17847
|
name: new i15.FormControl(ingredient.attributes.name, i15.Validators.required),
|
|
17848
|
+
// importance: new FormControl(
|
|
17849
|
+
// ingredient.attributes.importance,
|
|
17850
|
+
// recipe.relationships?.[`recipe-provider`]?.data?.id === 'personal' ? Validators.nullValidator : Validators.required
|
|
17851
|
+
// ),
|
|
17852
|
+
// Not mandatory for the moment, decomment above if mandatory later
|
|
17853
|
+
importance: new i15.FormControl(ingredient.attributes.importance, i15.Validators.nullValidator),
|
|
17655
17854
|
'picture-url': new i15.FormControl(ingredient.attributes['picture-url'])
|
|
17656
17855
|
})
|
|
17657
17856
|
}));
|
|
@@ -18007,49 +18206,147 @@
|
|
|
18007
18206
|
}] });
|
|
18008
18207
|
})();
|
|
18009
18208
|
|
|
18209
|
+
function TagsCreatorComponent_ng_miam_modal_0_Template(rf, ctx) {
|
|
18210
|
+
if (rf & 1) {
|
|
18211
|
+
var _r2_1 = i0.ɵɵgetCurrentView();
|
|
18212
|
+
i0.ɵɵelementStart(0, "ng-miam-modal", 1);
|
|
18213
|
+
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(); });
|
|
18214
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
18215
|
+
i0.ɵɵelementStart(2, "label", 3);
|
|
18216
|
+
i0.ɵɵtext(3, "Nom du tag");
|
|
18217
|
+
i0.ɵɵelementEnd();
|
|
18218
|
+
i0.ɵɵelementStart(4, "input", 4);
|
|
18219
|
+
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; });
|
|
18220
|
+
i0.ɵɵelementEnd();
|
|
18221
|
+
i0.ɵɵelementEnd();
|
|
18222
|
+
i0.ɵɵelementEnd();
|
|
18223
|
+
}
|
|
18224
|
+
if (rf & 2) {
|
|
18225
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
18226
|
+
i0.ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true)("confirmButtonIsLoading", ctx_r0.loading);
|
|
18227
|
+
i0.ɵɵadvance(4);
|
|
18228
|
+
i0.ɵɵproperty("ngModel", ctx_r0.tagName);
|
|
18229
|
+
}
|
|
18230
|
+
}
|
|
18231
|
+
var TagsCreatorComponent = /** @class */ (function () {
|
|
18232
|
+
function TagsCreatorComponent(tagsService, cdr) {
|
|
18233
|
+
this.tagsService = tagsService;
|
|
18234
|
+
this.cdr = cdr;
|
|
18235
|
+
this.display = false;
|
|
18236
|
+
this.close = new i0.EventEmitter();
|
|
18237
|
+
this.submit = new i0.EventEmitter();
|
|
18238
|
+
this.tagName = '';
|
|
18239
|
+
this.loading = false;
|
|
18240
|
+
}
|
|
18241
|
+
TagsCreatorComponent.prototype.closeTagsCreator = function () {
|
|
18242
|
+
this.close.emit();
|
|
18243
|
+
this.cdr.detectChanges();
|
|
18244
|
+
};
|
|
18245
|
+
TagsCreatorComponent.prototype.createTag = function () {
|
|
18246
|
+
var _this = this;
|
|
18247
|
+
this.loading = true;
|
|
18248
|
+
this.cdr.detectChanges();
|
|
18249
|
+
this.tag = this.tagsService.new();
|
|
18250
|
+
this.tag.attributes = Object.assign(Object.assign({}, this.tag.attributes), { 'tag-type-id': this.currentTagType, name: this.tagName });
|
|
18251
|
+
this.tag.save().subscribe(function (tag) {
|
|
18252
|
+
_this.tag.id = tag.data.id;
|
|
18253
|
+
_this.submit.emit(_this.tag);
|
|
18254
|
+
_this.loading = false;
|
|
18255
|
+
_this.cdr.detectChanges();
|
|
18256
|
+
});
|
|
18257
|
+
};
|
|
18258
|
+
return TagsCreatorComponent;
|
|
18259
|
+
}());
|
|
18260
|
+
TagsCreatorComponent.ɵfac = function TagsCreatorComponent_Factory(t) { return new (t || TagsCreatorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
18261
|
+
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) {
|
|
18262
|
+
if (rf & 1) {
|
|
18263
|
+
i0.ɵɵtemplate(0, TagsCreatorComponent_ng_miam_modal_0_Template, 5, 5, "ng-miam-modal", 0);
|
|
18264
|
+
}
|
|
18265
|
+
if (rf & 2) {
|
|
18266
|
+
i0.ɵɵproperty("ngIf", ctx.display);
|
|
18267
|
+
}
|
|
18268
|
+
}, 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 });
|
|
18269
|
+
/*@__PURE__*/ (function () {
|
|
18270
|
+
i0.ɵsetClassMetadata(TagsCreatorComponent, [{
|
|
18271
|
+
type: i0.Component,
|
|
18272
|
+
args: [{
|
|
18273
|
+
selector: 'ng-miam-tags-creator',
|
|
18274
|
+
templateUrl: './tags-creator.component.html',
|
|
18275
|
+
styleUrls: ['./tags-creator.component.scss'],
|
|
18276
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
18277
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
18278
|
+
}]
|
|
18279
|
+
}], function () { return [{ type: TagsService }, { type: i0.ChangeDetectorRef }]; }, { currentRecipe: [{
|
|
18280
|
+
type: i0.Input
|
|
18281
|
+
}], currentTagType: [{
|
|
18282
|
+
type: i0.Input
|
|
18283
|
+
}], display: [{
|
|
18284
|
+
type: i0.Input
|
|
18285
|
+
}], close: [{
|
|
18286
|
+
type: i0.Output
|
|
18287
|
+
}], submit: [{
|
|
18288
|
+
type: i0.Output
|
|
18289
|
+
}] });
|
|
18290
|
+
})();
|
|
18291
|
+
|
|
18010
18292
|
function TagsSelectorComponent_ng_miam_modal_0_div_12_Template(rf, ctx) {
|
|
18011
18293
|
if (rf & 1) {
|
|
18012
|
-
var
|
|
18013
|
-
i0.ɵɵelementStart(0, "div",
|
|
18014
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
18294
|
+
var _r7_1 = i0.ɵɵgetCurrentView();
|
|
18295
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
18296
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r7_1); var tag_r5 = ctx.$implicit; var ctx_r6 = i0.ɵɵnextContext(2); return ctx_r6.toggleTag(tag_r5); });
|
|
18015
18297
|
i0.ɵɵtext(1);
|
|
18016
18298
|
i0.ɵɵelementEnd();
|
|
18017
18299
|
}
|
|
18018
18300
|
if (rf & 2) {
|
|
18019
|
-
var
|
|
18020
|
-
var
|
|
18021
|
-
i0.ɵɵproperty("ngClass",
|
|
18301
|
+
var tag_r5 = ctx.$implicit;
|
|
18302
|
+
var ctx_r3 = i0.ɵɵnextContext(2);
|
|
18303
|
+
i0.ɵɵproperty("ngClass", ctx_r3.tagClass(tag_r5));
|
|
18022
18304
|
i0.ɵɵadvance(1);
|
|
18023
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
18305
|
+
i0.ɵɵtextInterpolate1(" ", tag_r5.attributes.name, " ");
|
|
18306
|
+
}
|
|
18307
|
+
}
|
|
18308
|
+
function TagsSelectorComponent_ng_miam_modal_0_div_13_Template(rf, ctx) {
|
|
18309
|
+
if (rf & 1) {
|
|
18310
|
+
var _r9_1 = i0.ɵɵgetCurrentView();
|
|
18311
|
+
i0.ɵɵelementStart(0, "div", 10);
|
|
18312
|
+
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); });
|
|
18313
|
+
i0.ɵɵelement(1, "ng-miam-icon", 11);
|
|
18314
|
+
i0.ɵɵelementEnd();
|
|
18315
|
+
}
|
|
18316
|
+
if (rf & 2) {
|
|
18317
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
18318
|
+
i0.ɵɵadvance(1);
|
|
18319
|
+
i0.ɵɵproperty("iconName", ctx_r4.icon.Plus);
|
|
18024
18320
|
}
|
|
18025
18321
|
}
|
|
18026
18322
|
var _c0$v = function (a0) { return { "active": a0 }; };
|
|
18027
18323
|
function TagsSelectorComponent_ng_miam_modal_0_Template(rf, ctx) {
|
|
18028
18324
|
if (rf & 1) {
|
|
18029
|
-
var
|
|
18030
|
-
i0.ɵɵelementStart(0, "ng-miam-modal",
|
|
18031
|
-
i0.ɵɵlistener("close", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(
|
|
18032
|
-
i0.ɵɵelementStart(1, "div",
|
|
18033
|
-
i0.ɵɵelementStart(2, "div",
|
|
18034
|
-
i0.ɵɵelementStart(3, "div",
|
|
18035
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_3_listener() { i0.ɵɵrestoreView(
|
|
18325
|
+
var _r11_1 = i0.ɵɵgetCurrentView();
|
|
18326
|
+
i0.ɵɵelementStart(0, "ng-miam-modal", 2);
|
|
18327
|
+
i0.ɵɵlistener("close", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.closeTagsSelector(); })("cancel", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.closeTagsSelector(); })("confirm", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.confirm(); });
|
|
18328
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
18329
|
+
i0.ɵɵelementStart(2, "div", 4);
|
|
18330
|
+
i0.ɵɵelementStart(3, "div", 5);
|
|
18331
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_3_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.switchTab(ctx_r14.mealTypeTags); });
|
|
18036
18332
|
i0.ɵɵtext(4, " Type de plat ");
|
|
18037
18333
|
i0.ɵɵelementEnd();
|
|
18038
|
-
i0.ɵɵelementStart(5, "div",
|
|
18039
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_5_listener() { i0.ɵɵrestoreView(
|
|
18334
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
18335
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.switchTab(ctx_r15.ingredientCategoryTags); });
|
|
18040
18336
|
i0.ɵɵtext(6, " Famille d'ingr\u00E9dients ");
|
|
18041
18337
|
i0.ɵɵelementEnd();
|
|
18042
|
-
i0.ɵɵelementStart(7, "div",
|
|
18043
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(
|
|
18338
|
+
i0.ɵɵelementStart(7, "div", 5);
|
|
18339
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.switchTab(ctx_r16.equipmentTags); });
|
|
18044
18340
|
i0.ɵɵtext(8, " \u00C9quipements ");
|
|
18045
18341
|
i0.ɵɵelementEnd();
|
|
18046
|
-
i0.ɵɵelementStart(9, "div",
|
|
18047
|
-
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_9_listener() { i0.ɵɵrestoreView(
|
|
18342
|
+
i0.ɵɵelementStart(9, "div", 5);
|
|
18343
|
+
i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_9_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.switchTab(ctx_r17.dietTags); });
|
|
18048
18344
|
i0.ɵɵtext(10, " R\u00E9gimes alimentaires ");
|
|
18049
18345
|
i0.ɵɵelementEnd();
|
|
18050
18346
|
i0.ɵɵelementEnd();
|
|
18051
|
-
i0.ɵɵelementStart(11, "div",
|
|
18052
|
-
i0.ɵɵtemplate(12, TagsSelectorComponent_ng_miam_modal_0_div_12_Template, 2, 2, "div",
|
|
18347
|
+
i0.ɵɵelementStart(11, "div", 6);
|
|
18348
|
+
i0.ɵɵtemplate(12, TagsSelectorComponent_ng_miam_modal_0_div_12_Template, 2, 2, "div", 7);
|
|
18349
|
+
i0.ɵɵtemplate(13, TagsSelectorComponent_ng_miam_modal_0_div_13_Template, 2, 1, "div", 8);
|
|
18053
18350
|
i0.ɵɵelementEnd();
|
|
18054
18351
|
i0.ɵɵelementEnd();
|
|
18055
18352
|
i0.ɵɵelementEnd();
|
|
@@ -18058,20 +18355,44 @@
|
|
|
18058
18355
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
18059
18356
|
i0.ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true);
|
|
18060
18357
|
i0.ɵɵadvance(3);
|
|
18061
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18358
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "meal_type"));
|
|
18062
18359
|
i0.ɵɵadvance(2);
|
|
18063
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18360
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "ingredient_category"));
|
|
18064
18361
|
i0.ɵɵadvance(2);
|
|
18065
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18362
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "equipment"));
|
|
18066
18363
|
i0.ɵɵadvance(2);
|
|
18067
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
18364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "diet"));
|
|
18068
18365
|
i0.ɵɵadvance(3);
|
|
18069
18366
|
i0.ɵɵproperty("ngForOf", ctx_r0.selectedTabTags);
|
|
18367
|
+
i0.ɵɵadvance(1);
|
|
18368
|
+
i0.ɵɵproperty("ngIf", ctx_r0.isAdmin);
|
|
18369
|
+
}
|
|
18370
|
+
}
|
|
18371
|
+
function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template(rf, ctx) {
|
|
18372
|
+
if (rf & 1) {
|
|
18373
|
+
var _r20_1 = i0.ɵɵgetCurrentView();
|
|
18374
|
+
i0.ɵɵelementStart(0, "ng-miam-tags-creator", 13);
|
|
18375
|
+
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); });
|
|
18376
|
+
i0.ɵɵelementEnd();
|
|
18377
|
+
}
|
|
18378
|
+
if (rf & 2) {
|
|
18379
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
18380
|
+
i0.ɵɵproperty("display", ctx_r18.tagsCreatorDisplayed)("currentRecipe", ctx_r18.currentRecipe)("currentTagType", ctx_r18.selectedTabTags[0] == null ? null : ctx_r18.selectedTabTags[0].tagType);
|
|
18381
|
+
}
|
|
18382
|
+
}
|
|
18383
|
+
function TagsSelectorComponent_ng_template_1_Template(rf, ctx) {
|
|
18384
|
+
if (rf & 1) {
|
|
18385
|
+
i0.ɵɵtemplate(0, TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template, 1, 3, "ng-miam-tags-creator", 12);
|
|
18386
|
+
}
|
|
18387
|
+
if (rf & 2) {
|
|
18388
|
+
var ctx_r2 = i0.ɵɵnextContext();
|
|
18389
|
+
i0.ɵɵproperty("ngIf", ctx_r2.display);
|
|
18070
18390
|
}
|
|
18071
18391
|
}
|
|
18072
18392
|
var TagsSelectorComponent = /** @class */ (function () {
|
|
18073
|
-
function TagsSelectorComponent(tagsService, cdr) {
|
|
18393
|
+
function TagsSelectorComponent(tagsService, userService, cdr) {
|
|
18074
18394
|
this.tagsService = tagsService;
|
|
18395
|
+
this.userService = userService;
|
|
18075
18396
|
this.cdr = cdr;
|
|
18076
18397
|
this.currentTags = [];
|
|
18077
18398
|
this.display = false;
|
|
@@ -18084,25 +18405,32 @@
|
|
|
18084
18405
|
this.selectedTags = [];
|
|
18085
18406
|
this.selectedTabTags = [];
|
|
18086
18407
|
this.tagsArefetched = false;
|
|
18408
|
+
this.icon = exports.Icon;
|
|
18409
|
+
this.tagsCreatorDisplayed = false;
|
|
18087
18410
|
this.subscriptions = [];
|
|
18088
18411
|
}
|
|
18089
18412
|
TagsSelectorComponent.prototype.ngOnInit = function () {
|
|
18090
18413
|
var _this = this;
|
|
18414
|
+
var page = { size: 30, number: 1 };
|
|
18091
18415
|
this.subscriptions.push(rxjs.forkJoin([
|
|
18092
18416
|
// TODO: make it more generic so we don't have to do a PR each time we add a new tag_type
|
|
18093
|
-
this.tagsService.all({ remotefilter: { tag_type: 'diet' } })
|
|
18417
|
+
this.tagsService.all({ page: page, remotefilter: { tag_type: 'diet' } })
|
|
18094
18418
|
.pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.dietTags = tags.data; })),
|
|
18095
|
-
this.tagsService.all({ remotefilter: { tag_type: 'equipment' } })
|
|
18419
|
+
this.tagsService.all({ page: page, remotefilter: { tag_type: 'equipment' } })
|
|
18096
18420
|
.pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.equipmentTags = tags.data; })),
|
|
18097
|
-
this.tagsService.all({ remotefilter: { tag_type: 'meal_type' } })
|
|
18421
|
+
this.tagsService.all({ page: page, remotefilter: { tag_type: 'meal_type' } })
|
|
18098
18422
|
.pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) {
|
|
18099
18423
|
_this.mealTypeTags = tags.data;
|
|
18100
18424
|
_this.selectedTabTags = tags.data;
|
|
18101
18425
|
})),
|
|
18102
|
-
this.tagsService.all({ remotefilter: { tag_type: 'ingredient_category' } })
|
|
18426
|
+
this.tagsService.all({ page: page, remotefilter: { tag_type: 'ingredient_category' } })
|
|
18103
18427
|
.pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.ingredientCategoryTags = tags.data; })),
|
|
18104
18428
|
])
|
|
18105
18429
|
.subscribe(function () { _this.tagsArefetched = true; }));
|
|
18430
|
+
this.subscriptions.push(this.userService.isAdmin.subscribe(function (isAdmin) {
|
|
18431
|
+
_this.isAdmin = isAdmin;
|
|
18432
|
+
_this.cdr.detectChanges();
|
|
18433
|
+
}));
|
|
18106
18434
|
};
|
|
18107
18435
|
TagsSelectorComponent.prototype.ngOnChanges = function (changes) {
|
|
18108
18436
|
this.selectedTabTags = __spread(this.mealTypeTags);
|
|
@@ -18139,28 +18467,56 @@
|
|
|
18139
18467
|
this.savedTags.emit(this.selectedTags);
|
|
18140
18468
|
this.closeTagsSelector();
|
|
18141
18469
|
};
|
|
18470
|
+
TagsSelectorComponent.prototype.displayTagsCreator = function (display) {
|
|
18471
|
+
this.tagsCreatorDisplayed = display;
|
|
18472
|
+
this.cdr.detectChanges();
|
|
18473
|
+
};
|
|
18474
|
+
TagsSelectorComponent.prototype.addCreatedTag = function (tag) {
|
|
18475
|
+
if (tag.tagType === 'meal_type') {
|
|
18476
|
+
this.mealTypeTags.push(tag);
|
|
18477
|
+
this.switchTab(this.mealTypeTags);
|
|
18478
|
+
}
|
|
18479
|
+
else if (tag.tagType === 'ingredient_category') {
|
|
18480
|
+
this.ingredientCategoryTags.push(tag);
|
|
18481
|
+
this.switchTab(this.ingredientCategoryTags);
|
|
18482
|
+
}
|
|
18483
|
+
else if (tag.tagType === 'equipment') {
|
|
18484
|
+
this.equipmentTags.push(tag);
|
|
18485
|
+
this.switchTab(this.equipmentTags);
|
|
18486
|
+
}
|
|
18487
|
+
else if (tag.tagType === 'diet') {
|
|
18488
|
+
this.dietTags.push(tag);
|
|
18489
|
+
this.switchTab(this.dietTags);
|
|
18490
|
+
}
|
|
18491
|
+
this.toggleTag(tag);
|
|
18492
|
+
this.displayTagsCreator(false);
|
|
18493
|
+
};
|
|
18142
18494
|
return TagsSelectorComponent;
|
|
18143
18495
|
}());
|
|
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:
|
|
18496
|
+
TagsSelectorComponent.ɵfac = function TagsSelectorComponent_Factory(t) { return new (t || TagsSelectorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(UserService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
18497
|
+
TagsSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsSelectorComponent, selectors: [["ng-miam-tags-selector"]], inputs: { currentRecipe: "currentRecipe", currentTags: "currentTags", display: "display" }, outputs: { savedTags: "savedTags", close: "close" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm", 4, "ngIf", "ngIfElse"], ["tagsCreator", ""], ["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"], ["class", "tags-selector__tag", 3, "click", 4, "ngIf"], [1, "tags-selector__tag", 3, "ngClass", "click"], [1, "tags-selector__tag", 3, "click"], [3, "iconName"], [3, "display", "currentRecipe", "currentTagType", "close", "submit", 4, "ngIf"], [3, "display", "currentRecipe", "currentTagType", "close", "submit"]], template: function TagsSelectorComponent_Template(rf, ctx) {
|
|
18146
18498
|
if (rf & 1) {
|
|
18147
|
-
i0.ɵɵtemplate(0, TagsSelectorComponent_ng_miam_modal_0_Template,
|
|
18499
|
+
i0.ɵɵtemplate(0, TagsSelectorComponent_ng_miam_modal_0_Template, 14, 17, "ng-miam-modal", 0);
|
|
18500
|
+
i0.ɵɵtemplate(1, TagsSelectorComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
18148
18501
|
}
|
|
18149
18502
|
if (rf & 2) {
|
|
18150
|
-
i0.ɵɵ
|
|
18503
|
+
var _r1 = i0.ɵɵreference(2);
|
|
18504
|
+
i0.ɵɵproperty("ngIf", ctx.display && !ctx.tagsCreatorDisplayed)("ngIfElse", _r1);
|
|
18151
18505
|
}
|
|
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 });
|
|
18506
|
+
}, directives: [i4.NgIf, ModalComponent, i4.NgClass, i4.NgForOf, IconComponent, TagsCreatorComponent], 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 });
|
|
18153
18507
|
/*@__PURE__*/ (function () {
|
|
18154
18508
|
i0.ɵsetClassMetadata(TagsSelectorComponent, [{
|
|
18155
18509
|
type: i0.Component,
|
|
18156
18510
|
args: [{
|
|
18157
|
-
selector:
|
|
18511
|
+
selector: 'ng-miam-tags-selector',
|
|
18158
18512
|
templateUrl: './tags-selector.component.html',
|
|
18159
18513
|
styleUrls: ['./tags-selector.component.scss'],
|
|
18160
18514
|
encapsulation: i0.ViewEncapsulation.None,
|
|
18161
18515
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
18162
18516
|
}]
|
|
18163
|
-
}], function () { return [{ type: TagsService }, { type: i0.ChangeDetectorRef }]; }, {
|
|
18517
|
+
}], function () { return [{ type: TagsService }, { type: UserService }, { type: i0.ChangeDetectorRef }]; }, { currentRecipe: [{
|
|
18518
|
+
type: i0.Input
|
|
18519
|
+
}], currentTags: [{
|
|
18164
18520
|
type: i0.Input
|
|
18165
18521
|
}], display: [{
|
|
18166
18522
|
type: i0.Input
|
|
@@ -18292,7 +18648,7 @@
|
|
|
18292
18648
|
}
|
|
18293
18649
|
if (rf & 2) {
|
|
18294
18650
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
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);
|
|
18651
|
+
i0.ɵɵproperty("isPersonal", (ctx_r13.recipe.relationships["recipe-provider"] == null ? null : ctx_r13.recipe.relationships["recipe-provider"].data == null ? null : ctx_r13.recipe.relationships["recipe-provider"].data.id) === "personal")("placeholder", ctx_r13.INGREDIENT_PLACEHOLDER)("instructions", ctx_r13.INGREDIENT_INSTRUCTIONS)("list", ctx_r13.recipeForm.get("ingredients"))("ingredientMode", true)("ingredientsPictures", ctx_r13.ingredientsPictures);
|
|
18296
18652
|
}
|
|
18297
18653
|
}
|
|
18298
18654
|
function RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template(rf, ctx) {
|
|
@@ -18369,7 +18725,7 @@
|
|
|
18369
18725
|
i0.ɵɵelementContainerEnd();
|
|
18370
18726
|
i0.ɵɵelementStart(38, "div", 19, 20);
|
|
18371
18727
|
i0.ɵɵtemplate(40, RecipeStepperComponent_ng_container_28_div_40_Template, 5, 6, "div", 40);
|
|
18372
|
-
i0.ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1,
|
|
18728
|
+
i0.ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1, 6, "ng-miam-list-input", 41);
|
|
18373
18729
|
i0.ɵɵtemplate(42, RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template, 1, 3, "ng-miam-list-input", 42);
|
|
18374
18730
|
i0.ɵɵelementEnd();
|
|
18375
18731
|
i0.ɵɵelementContainerEnd();
|
|
@@ -18436,7 +18792,7 @@
|
|
|
18436
18792
|
}
|
|
18437
18793
|
if (rf & 2) {
|
|
18438
18794
|
var ctx_r5 = i0.ɵɵnextContext();
|
|
18439
|
-
i0.ɵɵproperty("display", ctx_r5.tagsSelectorDisplayed)("currentTags", ctx_r5.recipe.relationships.tags == null ? null : ctx_r5.recipe.relationships.tags.data);
|
|
18795
|
+
i0.ɵɵproperty("display", ctx_r5.tagsSelectorDisplayed)("currentRecipe", ctx_r5.recipe)("currentTags", ctx_r5.recipe.relationships.tags == null ? null : ctx_r5.recipe.relationships.tags.data);
|
|
18440
18796
|
}
|
|
18441
18797
|
}
|
|
18442
18798
|
var RecipeStepperComponent = /** @class */ (function (_super) {
|
|
@@ -18563,7 +18919,7 @@
|
|
|
18563
18919
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepperLinks = _t.first);
|
|
18564
18920
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.steps = _t);
|
|
18565
18921
|
}
|
|
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) {
|
|
18922
|
+
}, 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", "currentRecipe", "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, "isPersonal", "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, "isPersonal", "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged"], [3, "display", "currentRecipe", "currentTags", "close", "savedTags"]], template: function RecipeStepperComponent_Template(rf, ctx) {
|
|
18567
18923
|
if (rf & 1) {
|
|
18568
18924
|
i0.ɵɵelement(0, "div", 0, 1);
|
|
18569
18925
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -18621,7 +18977,7 @@
|
|
|
18621
18977
|
i0.ɵɵelementEnd();
|
|
18622
18978
|
i0.ɵɵelementEnd();
|
|
18623
18979
|
i0.ɵɵelementEnd();
|
|
18624
|
-
i0.ɵɵtemplate(36, RecipeStepperComponent_ng_miam_tags_selector_36_Template, 1,
|
|
18980
|
+
i0.ɵɵtemplate(36, RecipeStepperComponent_ng_miam_tags_selector_36_Template, 1, 3, "ng-miam-tags-selector", 17);
|
|
18625
18981
|
}
|
|
18626
18982
|
if (rf & 2) {
|
|
18627
18983
|
var _r3 = i0.ɵɵreference(30);
|
|
@@ -19597,7 +19953,8 @@
|
|
|
19597
19953
|
CatalogHeaderComponent,
|
|
19598
19954
|
RecipeStepperComponent,
|
|
19599
19955
|
CatalogArticleCardComponent,
|
|
19600
|
-
TagsSelectorComponent
|
|
19956
|
+
TagsSelectorComponent,
|
|
19957
|
+
TagsCreatorComponent
|
|
19601
19958
|
];
|
|
19602
19959
|
// Tag names as imported in client application
|
|
19603
19960
|
// Warning : do not use caps, use dashed case only
|
|
@@ -19624,7 +19981,8 @@
|
|
|
19624
19981
|
'catalog-header',
|
|
19625
19982
|
'recipe-stepper',
|
|
19626
19983
|
'catalog-article-card',
|
|
19627
|
-
'tags-selector'
|
|
19984
|
+
'tags-selector',
|
|
19985
|
+
'tags-creator'
|
|
19628
19986
|
];
|
|
19629
19987
|
var WEBC_MODULES = [
|
|
19630
19988
|
LoaderModule,
|
|
@@ -19678,7 +20036,8 @@
|
|
|
19678
20036
|
CatalogHeaderComponent,
|
|
19679
20037
|
RecipeStepperComponent,
|
|
19680
20038
|
CatalogArticleCardComponent,
|
|
19681
|
-
TagsSelectorComponent
|
|
20039
|
+
TagsSelectorComponent,
|
|
20040
|
+
TagsCreatorComponent], imports: [LoaderModule,
|
|
19682
20041
|
BasketPreviewModule,
|
|
19683
20042
|
ListScanModule,
|
|
19684
20043
|
RecipeDetailsModule,
|
|
@@ -19712,7 +20071,8 @@
|
|
|
19712
20071
|
CatalogHeaderComponent,
|
|
19713
20072
|
RecipeStepperComponent,
|
|
19714
20073
|
CatalogArticleCardComponent,
|
|
19715
|
-
TagsSelectorComponent
|
|
20074
|
+
TagsSelectorComponent,
|
|
20075
|
+
TagsCreatorComponent] });
|
|
19716
20076
|
})();
|
|
19717
20077
|
/*@__PURE__*/ (function () {
|
|
19718
20078
|
i0.ɵsetClassMetadata(WebComponentsModule, [{
|
|
@@ -19735,7 +20095,7 @@
|
|
|
19735
20095
|
}]
|
|
19736
20096
|
}], null, null);
|
|
19737
20097
|
})();
|
|
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,
|
|
20098
|
+
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, ExplainBannerComponent, 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,
|
|
19739
20099
|
DrawerComponent,
|
|
19740
20100
|
OrderButtonComponent,
|
|
19741
20101
|
PosSelectionComponent,
|
|
@@ -19757,7 +20117,8 @@
|
|
|
19757
20117
|
CatalogHeaderComponent,
|
|
19758
20118
|
RecipeStepperComponent,
|
|
19759
20119
|
CatalogArticleCardComponent,
|
|
19760
|
-
TagsSelectorComponent
|
|
20120
|
+
TagsSelectorComponent,
|
|
20121
|
+
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]);
|
|
19761
20122
|
|
|
19762
20123
|
var MiamInterceptor = /** @class */ (function () {
|
|
19763
20124
|
function MiamInterceptor(injector) {
|
|
@@ -19955,7 +20316,7 @@
|
|
|
19955
20316
|
exports.DeleteConfirmButtonComponent = DeleteConfirmButtonComponent;
|
|
19956
20317
|
exports.DragDropInputComponent = DragDropInputComponent;
|
|
19957
20318
|
exports.DrawerComponent = DrawerComponent;
|
|
19958
|
-
exports.
|
|
20319
|
+
exports.ExplainBannerComponent = ExplainBannerComponent;
|
|
19959
20320
|
exports.GroceriesEntriesService = GroceriesEntriesService;
|
|
19960
20321
|
exports.GroceriesListsService = GroceriesListsService;
|
|
19961
20322
|
exports.IconComponent = IconComponent;
|
|
@@ -19996,6 +20357,7 @@
|
|
|
19996
20357
|
exports.RecipeDetailsModule = RecipeDetailsModule;
|
|
19997
20358
|
exports.RecipeDetailsStepsComponent = RecipeDetailsStepsComponent;
|
|
19998
20359
|
exports.RecipeEventsService = RecipeEventsService;
|
|
20360
|
+
exports.RecipeFilters = RecipeFilters;
|
|
19999
20361
|
exports.RecipeFiltersComponent = RecipeFiltersComponent;
|
|
20000
20362
|
exports.RecipeFormComponent = RecipeFormComponent;
|
|
20001
20363
|
exports.RecipeHelperComponent = RecipeHelperComponent;
|
|
@@ -20031,6 +20393,7 @@
|
|
|
20031
20393
|
exports.TabLabelComponent = TabLabelComponent;
|
|
20032
20394
|
exports.TabsComponent = TabsComponent;
|
|
20033
20395
|
exports.Tag = Tag;
|
|
20396
|
+
exports.TagsCreatorComponent = TagsCreatorComponent;
|
|
20034
20397
|
exports.TagsSelectorComponent = TagsSelectorComponent;
|
|
20035
20398
|
exports.TagsService = TagsService;
|
|
20036
20399
|
exports.TextInputComponent = TextInputComponent;
|