ng-miam 9.1.9 → 9.2.1
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 +422 -301
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/recipe-filters/recipe-filters.component.js +3 -3
- package/esm2015/lib/_services/recipes.service.js +8 -7
- package/esm2015/lib/_types/recipe-filters.js +1 -1
- package/esm2015/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.js +100 -58
- package/esm2015/lib/_web-components/recipe-catalog/catalog-category/catalog-category.component.js +4 -4
- package/esm2015/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.js +58 -37
- package/esm2015/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.js +2 -5
- package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +163 -120
- package/esm2015/lib/environments/version.js +2 -2
- package/fesm2015/ng-miam.js +342 -238
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_components/recipe-filters/recipe-filters.component.d.ts.map +1 -1
- package/lib/_services/recipes.service.d.ts.map +1 -1
- package/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.d.ts +1 -0
- package/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts +4 -9
- package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts.map +1 -1
- package/lib/environments/version.d.ts +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -3507,7 +3507,7 @@
|
|
|
3507
3507
|
EventJourney["EMPTY"] = "";
|
|
3508
3508
|
})(EventJourney || (EventJourney = {}));
|
|
3509
3509
|
|
|
3510
|
-
var VERSION = '9.1
|
|
3510
|
+
var VERSION = '9.2.1'; // TODO: replace by ##VERSION## and update it in the CI/CD
|
|
3511
3511
|
|
|
3512
3512
|
var ContextRegistryService = /** @class */ (function () {
|
|
3513
3513
|
function ContextRegistryService() {
|
|
@@ -5082,17 +5082,18 @@
|
|
|
5082
5082
|
RecipesService.prototype.addMandatoryCompletionToFilter = function (filters) {
|
|
5083
5083
|
var _this = this;
|
|
5084
5084
|
var _a;
|
|
5085
|
+
var requestFilters = filters.copy();
|
|
5085
5086
|
// only set primary_completion_perc if not searching favorite recipes
|
|
5086
|
-
if ((_a =
|
|
5087
|
-
return rxjs.of(
|
|
5087
|
+
if ((_a = requestFilters.additionalFilters) === null || _a === void 0 ? void 0 : _a.filters.liked) {
|
|
5088
|
+
return rxjs.of(requestFilters);
|
|
5088
5089
|
}
|
|
5089
5090
|
return this.posService.posWasInitialized().pipe(operators.skipWhile(function (wasInitialized) { return !wasInitialized; }), operators.switchMap(function () { return _this.posService.pos$; }), operators.take(1), operators.map(function (pos) {
|
|
5090
5091
|
var _a;
|
|
5091
5092
|
if (pos === null || pos === void 0 ? void 0 : pos.id) {
|
|
5092
5093
|
// number of guests and point of sale id are mandatory in order to use primary_completion_perc filter
|
|
5093
|
-
|
|
5094
|
+
requestFilters.additionalFilters = Object.assign(Object.assign({}, filters.additionalFilters), { filters: Object.assign({ guests: '4', point_of_sale_id: pos.id, primary_completion_perc: '100,100', forced_completion_perc: '100,100' }, (_a = filters.additionalFilters) === null || _a === void 0 ? void 0 : _a.filters) });
|
|
5094
5095
|
}
|
|
5095
|
-
return
|
|
5096
|
+
return requestFilters;
|
|
5096
5097
|
}));
|
|
5097
5098
|
};
|
|
5098
5099
|
// Returns list of filtered recipes.
|
|
@@ -5146,7 +5147,7 @@
|
|
|
5146
5147
|
}
|
|
5147
5148
|
}
|
|
5148
5149
|
});
|
|
5149
|
-
return this.addMandatoryCompletionToFilter(packageFilter).pipe(operators.switchMap(function () { return _this.filter(
|
|
5150
|
+
return this.addMandatoryCompletionToFilter(packageFilter).pipe(operators.switchMap(function (requestFilters) { return _this.filter(requestFilters, { size: size, number: page }, recipeIncludes, recipeSparseFields, guests, false, 'position'); }));
|
|
5150
5151
|
};
|
|
5151
5152
|
// Fetches recipes corresponding to filters, and return total recipes count
|
|
5152
5153
|
RecipesService.prototype.filterCount = function (filters, guests, excludedRecipesIds, fromPreference) {
|
|
@@ -5254,7 +5255,7 @@
|
|
|
5254
5255
|
if (results[1]) {
|
|
5255
5256
|
supplierFilter = "supplier_id=" + results[0].id + "&pos_id=" + results[1].id;
|
|
5256
5257
|
}
|
|
5257
|
-
var url = MIAM_API_HOST$2 + ("recipes/suggestions?" + supplierFilter + ((includes.length > 0) ? ('&include=' + includes.join(',')) : '') + suggestionFields + _this.buildfilterUrlFromPreferences());
|
|
5258
|
+
var url = MIAM_API_HOST$2 + ("recipes/suggestions?" + supplierFilter + "&allow-empty=true" + ((includes.length > 0) ? ('&include=' + includes.join(',')) : '') + suggestionFields + _this.buildfilterUrlFromPreferences());
|
|
5258
5259
|
return _this.http.post(url, body);
|
|
5259
5260
|
}), operators.map(function (returnedRecipes) {
|
|
5260
5261
|
var recipes = _this.newCollection();
|
|
@@ -10979,7 +10980,7 @@
|
|
|
10979
10980
|
i18n_4 = MSG_EXTERNAL_6105149763216124630$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_5;
|
|
10980
10981
|
}
|
|
10981
10982
|
else {
|
|
10982
|
-
i18n_4 = $localize(templateObject_3$
|
|
10983
|
+
i18n_4 = $localize(templateObject_3$u || (templateObject_3$u = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
|
|
10983
10984
|
}
|
|
10984
10985
|
return [[1, "miam-meals-planner-link", 3, "click"], [1, "miam-meals-planner-link__gradient"], [1, "miam-meals-planner-link__content"], [1, "miam-meals-planner-link__title"], i18n_0, [1, "miam-meals-planner-link__description"], i18n_2, [1, "miam-meals-planner-link__cta"], [1, "miam-ds-button", "primary", "reverse"], i18n_4, ["width", "24", "height", "24", 3, "iconName"]];
|
|
10985
10986
|
}, template: function MealsPlannerLinkComponent_Template(rf, ctx) {
|
|
@@ -11025,7 +11026,7 @@
|
|
|
11025
11026
|
}]
|
|
11026
11027
|
}], function () { return [{ type: ContextService }]; }, null);
|
|
11027
11028
|
})();
|
|
11028
|
-
var templateObject_1$P, templateObject_2$E, templateObject_3$
|
|
11029
|
+
var templateObject_1$P, templateObject_2$E, templateObject_3$u;
|
|
11029
11030
|
|
|
11030
11031
|
function ModalComponent_ng_container_0_div_7_Template(rf, ctx) {
|
|
11031
11032
|
if (rf & 1) {
|
|
@@ -11358,7 +11359,7 @@
|
|
|
11358
11359
|
i18n_4 = MSG_EXTERNAL_4122997114884311871$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS____5;
|
|
11359
11360
|
}
|
|
11360
11361
|
else {
|
|
11361
|
-
i18n_4 = $localize(templateObject_3$
|
|
11362
|
+
i18n_4 = $localize(templateObject_3$t || (templateObject_3$t = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
|
|
11362
11363
|
}
|
|
11363
11364
|
var i18n_6;
|
|
11364
11365
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -11366,7 +11367,7 @@
|
|
|
11366
11367
|
i18n_6 = MSG_EXTERNAL_6395936232189121511$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS____7;
|
|
11367
11368
|
}
|
|
11368
11369
|
else {
|
|
11369
|
-
i18n_6 = $localize(templateObject_4$
|
|
11370
|
+
i18n_6 = $localize(templateObject_4$p || (templateObject_4$p = __makeTemplateObject([":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"], [":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"])));
|
|
11370
11371
|
}
|
|
11371
11372
|
var i18n_8;
|
|
11372
11373
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -11437,7 +11438,7 @@
|
|
|
11437
11438
|
args: ['window:keydown.escape']
|
|
11438
11439
|
}] });
|
|
11439
11440
|
})();
|
|
11440
|
-
var templateObject_1$O, templateObject_2$D, templateObject_3$
|
|
11441
|
+
var templateObject_1$O, templateObject_2$D, templateObject_3$t, templateObject_4$p, templateObject_5$k;
|
|
11441
11442
|
|
|
11442
11443
|
var _c0$n = ["mealzPrice"];
|
|
11443
11444
|
var _c1$d = ["mealzOldPrice"];
|
|
@@ -12340,7 +12341,7 @@
|
|
|
12340
12341
|
};
|
|
12341
12342
|
RecipeFiltersComponent.prototype.recalculateRecipesCount = function () {
|
|
12342
12343
|
var _this = this;
|
|
12343
|
-
this.subscriptions.push(this.recipesService.
|
|
12344
|
+
this.subscriptions.push(this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function (requestFilters) { return _this.recipesService.filterCount(requestFilters, _this.modifiedGuests, _this.excludedRecipesIds); }), operators.tap(function (result) {
|
|
12344
12345
|
_this.recipesCount = result;
|
|
12345
12346
|
_this.cdr.detectChanges();
|
|
12346
12347
|
})).subscribe());
|
|
@@ -12371,7 +12372,7 @@
|
|
|
12371
12372
|
i18n_4 = MSG_EXTERNAL_3088922289163197887$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_5;
|
|
12372
12373
|
}
|
|
12373
12374
|
else {
|
|
12374
|
-
i18n_4 = $localize(templateObject_3$
|
|
12375
|
+
i18n_4 = $localize(templateObject_3$s || (templateObject_3$s = __makeTemplateObject([":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "], [":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "])));
|
|
12375
12376
|
}
|
|
12376
12377
|
var i18n_6;
|
|
12377
12378
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12379,7 +12380,7 @@
|
|
|
12379
12380
|
i18n_6 = MSG_EXTERNAL_3809820644785537818$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_7;
|
|
12380
12381
|
}
|
|
12381
12382
|
else {
|
|
12382
|
-
i18n_6 = $localize(templateObject_4$
|
|
12383
|
+
i18n_6 = $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"], [":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"])));
|
|
12383
12384
|
}
|
|
12384
12385
|
var i18n_8;
|
|
12385
12386
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12403,7 +12404,7 @@
|
|
|
12403
12404
|
i18n_12 = MSG_EXTERNAL_2987005241567363499$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____13;
|
|
12404
12405
|
}
|
|
12405
12406
|
else {
|
|
12406
|
-
i18n_12 = $localize(templateObject_7$
|
|
12407
|
+
i18n_12 = $localize(templateObject_7$e || (templateObject_7$e = __makeTemplateObject([":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"], [":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"])));
|
|
12407
12408
|
}
|
|
12408
12409
|
var i18n_14;
|
|
12409
12410
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12427,7 +12428,7 @@
|
|
|
12427
12428
|
i18n_18 = MSG_EXTERNAL_2877853972557702593$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS__19;
|
|
12428
12429
|
}
|
|
12429
12430
|
else {
|
|
12430
|
-
i18n_18 = $localize(templateObject_10$
|
|
12431
|
+
i18n_18 = $localize(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject([":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"], [":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"])));
|
|
12431
12432
|
}
|
|
12432
12433
|
var i18n_20;
|
|
12433
12434
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12435,7 +12436,7 @@
|
|
|
12435
12436
|
i18n_20 = MSG_EXTERNAL_3684169623116339825$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____21;
|
|
12436
12437
|
}
|
|
12437
12438
|
else {
|
|
12438
|
-
i18n_20 = $localize(templateObject_11$
|
|
12439
|
+
i18n_20 = $localize(templateObject_11$6 || (templateObject_11$6 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
|
|
12439
12440
|
}
|
|
12440
12441
|
var i18n_22;
|
|
12441
12442
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12582,7 +12583,7 @@
|
|
|
12582
12583
|
type: i0.Output
|
|
12583
12584
|
}] });
|
|
12584
12585
|
})();
|
|
12585
|
-
var templateObject_1$M, templateObject_2$C, templateObject_3$
|
|
12586
|
+
var templateObject_1$M, templateObject_2$C, templateObject_3$s, templateObject_4$o, templateObject_5$j, templateObject_6$f, templateObject_7$e, templateObject_8$a, templateObject_9$7, templateObject_10$6, templateObject_11$6, templateObject_12$3, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
|
|
12586
12587
|
|
|
12587
12588
|
var SelectPosButtonDirective = /** @class */ (function () {
|
|
12588
12589
|
function SelectPosButtonDirective(el, contextService, posService) {
|
|
@@ -12908,7 +12909,7 @@
|
|
|
12908
12909
|
i18n_4 = MSG_EXTERNAL_435913562251126057$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS_____5;
|
|
12909
12910
|
}
|
|
12910
12911
|
else {
|
|
12911
|
-
i18n_4 = $localize(templateObject_3$
|
|
12912
|
+
i18n_4 = $localize(templateObject_3$r || (templateObject_3$r = __makeTemplateObject([":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"], [":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"])));
|
|
12912
12913
|
}
|
|
12913
12914
|
var i18n_6;
|
|
12914
12915
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12916,7 +12917,7 @@
|
|
|
12916
12917
|
i18n_6 = MSG_EXTERNAL_8969810584578915685$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS____7;
|
|
12917
12918
|
}
|
|
12918
12919
|
else {
|
|
12919
|
-
i18n_6 = $localize(templateObject_4$
|
|
12920
|
+
i18n_6 = $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."], [":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."])));
|
|
12920
12921
|
}
|
|
12921
12922
|
return [["class", "miam-recipe-pricing", "ngMiamSelectPosButton", "", 4, "ngIf"], ["ngMiamSelectPosButton", "", 1, "miam-recipe-pricing"], ["class", "miam-recipe-pricing__with-pos", 4, "ngIf"], [1, "miam-recipe-pricing__without-pos"], [1, "miam-ds-button", "ghost", "miam-select-pos-button__open-store-selector-button", 3, "click"], i18n_0, [1, "miam-recipe-pricing__with-pos"], [1, "miam-recipe-pricing__wrapper"], [1, "miam-recipe-pricing__wrapper__price", "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-recipe-pricing__wrapper__subline miam-ds-text size-xs weight-m", 4, "ngIf", "ngIfElse"], ["defaultGuestsText", ""], [1, "miam-recipe-pricing__total"], i18n_2, [1, "miam-recipe-pricing__wrapper__subline", "miam-ds-text", "size-xs", "weight-m"], [4, "ngIf"], i18n_4, [1, "miam-recipe-pricing__wrapper__subline", "miam-ds-text", "size-m", "weight-m"], i18n_6];
|
|
12922
12923
|
}, template: function RecipePricingComponent_Template(rf, ctx) {
|
|
@@ -12953,7 +12954,7 @@
|
|
|
12953
12954
|
type: i0.Output
|
|
12954
12955
|
}] });
|
|
12955
12956
|
})();
|
|
12956
|
-
var templateObject_1$L, templateObject_2$B, templateObject_3$
|
|
12957
|
+
var templateObject_1$L, templateObject_2$B, templateObject_3$r, templateObject_4$n;
|
|
12957
12958
|
|
|
12958
12959
|
var _c0$j = ["background"];
|
|
12959
12960
|
var _c1$9 = function (a0) { return { "active": a0 }; };
|
|
@@ -13973,7 +13974,7 @@
|
|
|
13973
13974
|
i18n_4 = MSG_EXTERNAL_540273173517524848$$LIB__COMPONENTS_UNAVAILABLE_BADGE_UNAVAILABLE_BADGE_COMPONENT_TS__5;
|
|
13974
13975
|
}
|
|
13975
13976
|
else {
|
|
13976
|
-
i18n_4 = $localize(templateObject_3$
|
|
13977
|
+
i18n_4 = $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":\u241F17bd4158678ac8226ea20b5b954ad560b8854ccd\u241F540273173517524848:produits indisponible"], [":\u241F17bd4158678ac8226ea20b5b954ad560b8854ccd\u241F540273173517524848:produits indisponible"])));
|
|
13977
13978
|
}
|
|
13978
13979
|
return [[1, "miam-ds-badge", "miam-unavailable-badge__container", 3, "disabled", "click"], [1, "miam-unavailable-badge__icon"], [4, "ngIf"], i18n_0, i18n_2, i18n_4];
|
|
13979
13980
|
}, template: function UnavailableBadgeComponent_Template(rf, ctx) {
|
|
@@ -14018,7 +14019,7 @@
|
|
|
14018
14019
|
type: i0.Output
|
|
14019
14020
|
}] });
|
|
14020
14021
|
})();
|
|
14021
|
-
var templateObject_1$J, templateObject_2$z, templateObject_3$
|
|
14022
|
+
var templateObject_1$J, templateObject_2$z, templateObject_3$q;
|
|
14022
14023
|
|
|
14023
14024
|
var _c0$8 = function (a0) { return { circle: a0 }; };
|
|
14024
14025
|
var SkeletonComponent = /** @class */ (function () {
|
|
@@ -14058,7 +14059,7 @@
|
|
|
14058
14059
|
var _c1$3 = function () { return { height: "120px", width: "120px" }; };
|
|
14059
14060
|
var _c2$5 = function () { return { width: "80px", "border-radius": "100px" }; };
|
|
14060
14061
|
var _c3$2 = function () { return { "border-radius": "100px" }; };
|
|
14061
|
-
var _c4$
|
|
14062
|
+
var _c4$3 = function () { return { height: "24px", width: "80px", "border-radius": "100px" }; };
|
|
14062
14063
|
var _c5$2 = function () { return { height: "12px", width: "80px", "border-radius": "100px" }; };
|
|
14063
14064
|
var ProductCardSkeletonComponent = /** @class */ (function () {
|
|
14064
14065
|
function ProductCardSkeletonComponent() {
|
|
@@ -14115,7 +14116,7 @@
|
|
|
14115
14116
|
i0__namespace.ɵɵadvance(2);
|
|
14116
14117
|
i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(12, _c3$2));
|
|
14117
14118
|
i0__namespace.ɵɵadvance(2);
|
|
14118
|
-
i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(13, _c4$
|
|
14119
|
+
i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(13, _c4$3));
|
|
14119
14120
|
i0__namespace.ɵɵadvance(3);
|
|
14120
14121
|
i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(14, _c5$2));
|
|
14121
14122
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14487,7 +14488,7 @@
|
|
|
14487
14488
|
}
|
|
14488
14489
|
var _c16 = function (a0, a1, a2, a3) { return { "added": a0, "disabled": a1, "out_of_stock": a2, "unavailable": a3 }; };
|
|
14489
14490
|
var _c17 = function (a0, a1, a2) { return { "added": a0, "disabled": a1, "unavailable": a2 }; };
|
|
14490
|
-
var _c18$
|
|
14491
|
+
var _c18$1 = function (a0) { return { "miam-product-card__disabled-text": a0 }; };
|
|
14491
14492
|
var _c19 = function (a0, a1) { return { "disabled": a0, "unavailable": a1 }; };
|
|
14492
14493
|
function ProductCardComponent_div_0_Template(rf, ctx) {
|
|
14493
14494
|
if (rf & 1) {
|
|
@@ -14523,11 +14524,11 @@
|
|
|
14523
14524
|
i0__namespace.ɵɵadvance(1);
|
|
14524
14525
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(19, _c17, ctx_r0.product.basketEntry.status === "active", ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted", ctx_r0.product.basketEntry.status === "unavailable"));
|
|
14525
14526
|
i0__namespace.ɵɵadvance(1);
|
|
14526
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(23, _c18$
|
|
14527
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(23, _c18$1, ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted" || ctx_r0.product.basketEntry.status === "unavailable"));
|
|
14527
14528
|
i0__namespace.ɵɵadvance(1);
|
|
14528
14529
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 12, ctx_r0.product.basketEntry.name), " ");
|
|
14529
14530
|
i0__namespace.ɵɵadvance(2);
|
|
14530
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(25, _c18$
|
|
14531
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(25, _c18$1, ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted" || ctx_r0.product.basketEntry.status === "unavailable"));
|
|
14531
14532
|
i0__namespace.ɵɵadvance(2);
|
|
14532
14533
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.modifiedIngQty, " ");
|
|
14533
14534
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -14773,7 +14774,7 @@
|
|
|
14773
14774
|
i18n_4 = MSG_EXTERNAL_4434991115235641711$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____5;
|
|
14774
14775
|
}
|
|
14775
14776
|
else {
|
|
14776
|
-
i18n_4 = $localize(templateObject_3$
|
|
14777
|
+
i18n_4 = $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "], [":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "])));
|
|
14777
14778
|
}
|
|
14778
14779
|
var i18n_6;
|
|
14779
14780
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -14781,7 +14782,7 @@
|
|
|
14781
14782
|
i18n_6 = MSG_EXTERNAL_6789864402883222370$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____7;
|
|
14782
14783
|
}
|
|
14783
14784
|
else {
|
|
14784
|
-
i18n_6 = $localize(templateObject_4$
|
|
14785
|
+
i18n_6 = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"], [":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"])));
|
|
14785
14786
|
}
|
|
14786
14787
|
var i18n_8;
|
|
14787
14788
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -14805,7 +14806,7 @@
|
|
|
14805
14806
|
i18n_12 = MSG_EXTERNAL_7389019358817586225$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS___13;
|
|
14806
14807
|
}
|
|
14807
14808
|
else {
|
|
14808
|
-
i18n_12 = $localize(templateObject_7$
|
|
14809
|
+
i18n_12 = $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "], [":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "])));
|
|
14809
14810
|
}
|
|
14810
14811
|
var i18n_14;
|
|
14811
14812
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -14838,7 +14839,7 @@
|
|
|
14838
14839
|
type: i0.Input
|
|
14839
14840
|
}] });
|
|
14840
14841
|
})();
|
|
14841
|
-
var templateObject_1$G, templateObject_2$y, templateObject_3$
|
|
14842
|
+
var templateObject_1$G, templateObject_2$y, templateObject_3$p, templateObject_4$m, templateObject_5$i, templateObject_6$e, templateObject_7$d, templateObject_8$9;
|
|
14842
14843
|
|
|
14843
14844
|
function ProductsPickerComponent_ng_container_3_span_3_Template(rf, ctx) {
|
|
14844
14845
|
if (rf & 1) {
|
|
@@ -15129,7 +15130,7 @@
|
|
|
15129
15130
|
i18n_4 = MSG_EXTERNAL_2731668650375138999$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__5;
|
|
15130
15131
|
}
|
|
15131
15132
|
else {
|
|
15132
|
-
i18n_4 = $localize(templateObject_3$
|
|
15133
|
+
i18n_4 = $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "], [":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "])));
|
|
15133
15134
|
}
|
|
15134
15135
|
var i18n_6;
|
|
15135
15136
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -15137,7 +15138,7 @@
|
|
|
15137
15138
|
i18n_6 = MSG_EXTERNAL_7935172570546041466$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__7;
|
|
15138
15139
|
}
|
|
15139
15140
|
else {
|
|
15140
|
-
i18n_6 = $localize(templateObject_4$
|
|
15141
|
+
i18n_6 = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
|
|
15141
15142
|
}
|
|
15142
15143
|
var i18n_8;
|
|
15143
15144
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -15161,7 +15162,7 @@
|
|
|
15161
15162
|
i18n_12 = MSG_EXTERNAL_2791054456946858131$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__13;
|
|
15162
15163
|
}
|
|
15163
15164
|
else {
|
|
15164
|
-
i18n_12 = $localize(templateObject_7$
|
|
15165
|
+
i18n_12 = $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."], [":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."])));
|
|
15165
15166
|
}
|
|
15166
15167
|
return [[1, "miam-products-picker__container"], [1, "miam-products-picker__header"], [1, "miam-products-picker__header-text", "miam-ds-text", "weight-xxl"], [4, "ngIf"], ["class", "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "debounceTime", "valueChange", 4, "ngIf"], ["class", "miam-products-picker__list", 4, "ngIf"], [1, "miam-products-picker__secondary-list"], [1, "miam-products-picker__more"], ["class", "miam-products-picker__more-anchor", 3, "href", "click", 4, "ngIf", "ngIfElse"], ["noAnchor", ""], ["class", "miam-products-picker__legal-notices", 4, "ngIf"], [3, "numberUnavailable", "clicked", 4, "ngIf"], i18n_0, i18n_2, [3, "numberUnavailable", "clicked"], [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "debounceTime", "valueChange"], [1, "miam-products-picker__list"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngIf"], [1, "miam-products-picker__items", 3, "id", "product", "originTrace"], [1, "miam-products-picker__often-ignored-list", 3, "isCollapsed", "isCollapsedChange"], [1, "miam-ds-text", "weight-xxl"], i18n_4, ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "miam-products-picker__more-anchor", 3, "href", "click"], [1, "miam-products-picker__go-to-catalog-button", "miam-ds-button", "secondary"], i18n_6, [1, "miam-products-picker__close-modal-button", "miam-ds-button", "secondary", 3, "click"], i18n_8, [1, "miam-products-picker__legal-notices"], [1, "miam-ds-text", "weight-xxl", "miam-products-picker__legal-notices-header"], i18n_10, [1, "miam-products-picker__legal-notices-content"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-legal-notices.svg"], i18n_12];
|
|
15167
15168
|
}, template: function ProductsPickerComponent_Template(rf, ctx) {
|
|
@@ -15221,7 +15222,7 @@
|
|
|
15221
15222
|
type: i0.Output
|
|
15222
15223
|
}] });
|
|
15223
15224
|
})();
|
|
15224
|
-
var templateObject_1$F, templateObject_2$x, templateObject_3$
|
|
15225
|
+
var templateObject_1$F, templateObject_2$x, templateObject_3$o, templateObject_4$l, templateObject_5$h, templateObject_6$d, templateObject_7$c;
|
|
15225
15226
|
|
|
15226
15227
|
function NoPosSelectedComponent_ng_container_1_Template(rf, ctx) {
|
|
15227
15228
|
if (rf & 1) {
|
|
@@ -15286,7 +15287,7 @@
|
|
|
15286
15287
|
i18n_4 = MSG_EXTERNAL_2921598154093258344$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__5;
|
|
15287
15288
|
}
|
|
15288
15289
|
else {
|
|
15289
|
-
i18n_4 = $localize(templateObject_3$
|
|
15290
|
+
i18n_4 = $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "], [":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "])));
|
|
15290
15291
|
}
|
|
15291
15292
|
var i18n_6;
|
|
15292
15293
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -15294,7 +15295,7 @@
|
|
|
15294
15295
|
i18n_6 = MSG_EXTERNAL_6530301909461759819$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__7;
|
|
15295
15296
|
}
|
|
15296
15297
|
else {
|
|
15297
|
-
i18n_6 = $localize(templateObject_4$
|
|
15298
|
+
i18n_6 = $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "], [":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "])));
|
|
15298
15299
|
}
|
|
15299
15300
|
var i18n_8;
|
|
15300
15301
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -15340,7 +15341,7 @@
|
|
|
15340
15341
|
type: i0.Output
|
|
15341
15342
|
}] });
|
|
15342
15343
|
})();
|
|
15343
|
-
var templateObject_1$E, templateObject_2$w, templateObject_3$
|
|
15344
|
+
var templateObject_1$E, templateObject_2$w, templateObject_3$n, templateObject_4$k, templateObject_5$g;
|
|
15344
15345
|
|
|
15345
15346
|
var ProductAdditionCardComponent = /** @class */ (function () {
|
|
15346
15347
|
function ProductAdditionCardComponent(productReplacementService) {
|
|
@@ -16006,7 +16007,7 @@
|
|
|
16006
16007
|
i18n_4 = MSG_EXTERNAL_6646707544911031345$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__5;
|
|
16007
16008
|
}
|
|
16008
16009
|
else {
|
|
16009
|
-
i18n_4 = $localize(templateObject_3$
|
|
16010
|
+
i18n_4 = $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "], [":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "])));
|
|
16010
16011
|
}
|
|
16011
16012
|
var i18n_6;
|
|
16012
16013
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -16014,7 +16015,7 @@
|
|
|
16014
16015
|
i18n_6 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS_____7;
|
|
16015
16016
|
}
|
|
16016
16017
|
else {
|
|
16017
|
-
i18n_6 = $localize(templateObject_4$
|
|
16018
|
+
i18n_6 = $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
|
|
16018
16019
|
}
|
|
16019
16020
|
var i18n_8;
|
|
16020
16021
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -16088,7 +16089,7 @@
|
|
|
16088
16089
|
args: ['window:resize', ['$event']]
|
|
16089
16090
|
}] });
|
|
16090
16091
|
})();
|
|
16091
|
-
var templateObject_1$A, templateObject_2$t, templateObject_3$
|
|
16092
|
+
var templateObject_1$A, templateObject_2$t, templateObject_3$m, templateObject_4$j, templateObject_5$f;
|
|
16092
16093
|
|
|
16093
16094
|
function BasketPreviewLineComponent_ng_container_0_div_5_Template(rf, ctx) {
|
|
16094
16095
|
if (rf & 1) {
|
|
@@ -17038,7 +17039,7 @@
|
|
|
17038
17039
|
i18n_4 = MSG_EXTERNAL_1112144680738962826$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___5;
|
|
17039
17040
|
}
|
|
17040
17041
|
else {
|
|
17041
|
-
i18n_4 = $localize(templateObject_3$
|
|
17042
|
+
i18n_4 = $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
|
|
17042
17043
|
}
|
|
17043
17044
|
var i18n_6;
|
|
17044
17045
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -17046,7 +17047,7 @@
|
|
|
17046
17047
|
i18n_6 = MSG_EXTERNAL_2861269811387022272$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___7;
|
|
17047
17048
|
}
|
|
17048
17049
|
else {
|
|
17049
|
-
i18n_6 = $localize(templateObject_4$
|
|
17050
|
+
i18n_6 = $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "], [":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "])));
|
|
17050
17051
|
}
|
|
17051
17052
|
var i18n_8;
|
|
17052
17053
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -17070,7 +17071,7 @@
|
|
|
17070
17071
|
i18n_15 = MSG_EXTERNAL_943969525955903510$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___16;
|
|
17071
17072
|
}
|
|
17072
17073
|
else {
|
|
17073
|
-
i18n_15 = $localize(templateObject_7$
|
|
17074
|
+
i18n_15 = $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "], [":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "])));
|
|
17074
17075
|
}
|
|
17075
17076
|
var i18n_17;
|
|
17076
17077
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -17094,7 +17095,7 @@
|
|
|
17094
17095
|
i18n_22 = MSG_EXTERNAL_5882806197320246536$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___23;
|
|
17095
17096
|
}
|
|
17096
17097
|
else {
|
|
17097
|
-
i18n_22 = $localize(templateObject_10$
|
|
17098
|
+
i18n_22 = $localize(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject([":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "], [":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "])));
|
|
17098
17099
|
}
|
|
17099
17100
|
var i18n_24;
|
|
17100
17101
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -17102,7 +17103,7 @@
|
|
|
17102
17103
|
i18n_24 = MSG_EXTERNAL_2014297263214357463$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___25;
|
|
17103
17104
|
}
|
|
17104
17105
|
else {
|
|
17105
|
-
i18n_24 = $localize(templateObject_11$
|
|
17106
|
+
i18n_24 = $localize(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject([":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"], [":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"])));
|
|
17106
17107
|
}
|
|
17107
17108
|
var i18n_27;
|
|
17108
17109
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -17185,7 +17186,7 @@
|
|
|
17185
17186
|
type: i0.Output
|
|
17186
17187
|
}] });
|
|
17187
17188
|
})();
|
|
17188
|
-
var templateObject_1$z, templateObject_2$s, templateObject_3$
|
|
17189
|
+
var templateObject_1$z, templateObject_2$s, templateObject_3$l, templateObject_4$i, templateObject_5$e, templateObject_6$c, templateObject_7$b, templateObject_8$8, templateObject_9$6, templateObject_10$5, templateObject_11$5, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
|
|
17189
17190
|
|
|
17190
17191
|
function BasketPreviewProductComponent_div_0_div_15_Template(rf, ctx) {
|
|
17191
17192
|
if (rf & 1) {
|
|
@@ -18073,7 +18074,7 @@
|
|
|
18073
18074
|
i18n_4 = MSG_EXTERNAL_2371976043497937004$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__5;
|
|
18074
18075
|
}
|
|
18075
18076
|
else {
|
|
18076
|
-
i18n_4 = $localize(templateObject_3$
|
|
18077
|
+
i18n_4 = $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"], [":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"])));
|
|
18077
18078
|
}
|
|
18078
18079
|
var i18n_6;
|
|
18079
18080
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18081,7 +18082,7 @@
|
|
|
18081
18082
|
i18n_6 = MSG_EXTERNAL_3600300940826652542$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__7;
|
|
18082
18083
|
}
|
|
18083
18084
|
else {
|
|
18084
|
-
i18n_6 = $localize(templateObject_4$
|
|
18085
|
+
i18n_6 = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
|
|
18085
18086
|
}
|
|
18086
18087
|
var i18n_8;
|
|
18087
18088
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18105,7 +18106,7 @@
|
|
|
18105
18106
|
i18n_12 = MSG_EXTERNAL_6492937435856655320$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_____13;
|
|
18106
18107
|
}
|
|
18107
18108
|
else {
|
|
18108
|
-
i18n_12 = $localize(templateObject_7$
|
|
18109
|
+
i18n_12 = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
|
|
18109
18110
|
}
|
|
18110
18111
|
var i18n_15;
|
|
18111
18112
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18129,7 +18130,7 @@
|
|
|
18129
18130
|
i18n_19 = MSG_EXTERNAL_4424868866602221395$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__20;
|
|
18130
18131
|
}
|
|
18131
18132
|
else {
|
|
18132
|
-
i18n_19 = $localize(templateObject_10$
|
|
18133
|
+
i18n_19 = $localize(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject([":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"], [":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"])));
|
|
18133
18134
|
}
|
|
18134
18135
|
var i18n_21;
|
|
18135
18136
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18137,7 +18138,7 @@
|
|
|
18137
18138
|
i18n_21 = MSG_EXTERNAL_3094902783246996897$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__22;
|
|
18138
18139
|
}
|
|
18139
18140
|
else {
|
|
18140
|
-
i18n_21 = $localize(templateObject_11$
|
|
18141
|
+
i18n_21 = $localize(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject([":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"], [":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"])));
|
|
18141
18142
|
}
|
|
18142
18143
|
return [[1, "miam-replace-item__header", "miam-ds-text", "weight-xxl"], [1, "miam-ds-button", "ghost", "square", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--miam-ds-color-primary-500)", 3, "iconName"], [4, "ngIf", "ngIfElse"], ["addProduct", ""], [1, "miam-replace-item__top-container"], [1, "miam-replace-item__searchbar"], ["width", "20", "height", "20", 3, "iconName"], ["type", "text", "placeholder", i18n_0, "class", "miam-replace-item__searchbar__input miam-ds-text size-m weight-l", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["type", "text", "placeholder", i18n_2, "class", "miam-replace-item__searchbar__input miam-ds-text size-m weight-l", 3, "ngModel", "ngModelChange", 4, "ngIf"], [1, "miam-ds-loader"], ["class", "miam-replace-item__product-banner", 4, "ngIf"], [1, "miam-replace-item__product-list"], ["class", "miam-replace-item__product-item", 3, "ngClass", 4, "ngFor", "ngForOf"], [4, "ngIf"], i18n_4, i18n_6, ["type", "text", "placeholder", i18n_0, 1, "miam-replace-item__searchbar__input", "miam-ds-text", "size-m", "weight-l", 3, "ngModel", "ngModelChange"], ["type", "text", "placeholder", i18n_2, 1, "miam-replace-item__searchbar__input", "miam-ds-text", "size-m", "weight-l", 3, "ngModel", "ngModelChange"], [1, "miam-replace-item__product-banner"], [1, "miam-replace-item__banner-product-name", "miam-ds-text", "size-s"], [1, "miam-replace-item__banner-quantity", "miam-ds-text", "weight-xxl"], [1, "miam-replace-item__product-item", 3, "ngClass"], [1, "miam-replace-item__promotions", 3, "priceData"], [1, "miam-replace-item__card-upper-section"], [1, "miam-replace-item__product-image-container"], ["alt", "product to replace", 1, "miam-replace-item__product-image", 3, "src", "error"], [1, "miam-replace-item__product-info"], [1, "miam-replace-item__product-brand", "miam-ds-text", "size-xs", "weight-xl"], [1, "miam-replace-item__product-brand-text"], [1, "miam-replace-item__product-name", "miam-ds-text", "size-xs"], [1, "miam-replace-item__product-name-text"], [3, "isSponsored", "item", "price"], [1, "miam-replace-item__card-lower-section"], [1, "miam-replace-item__product-price", "miam-ds-text", "size-m", "weight-xxl", 3, "oldPrice", "price"], [1, "miam-replace-item__cta", "miam-ds-button", "small", "primary", 3, "disabled", "click"], ["class", "miam-ds-loader", 4, "ngIf", "ngIfElse"], ["defaultSelectButton", ""], ["withSupplier", ""], i18n_8, i18n_10, i18n_12, [1, "miam-replace-item__error"], [1, "miam-replace-item__error-image-container", "small-img"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/product-issue.png", "alt", "issue with product", 1, "miam-replace-item__error-image"], [1, "miam-replace-item__issue-entry-name"], [1, "miam-replace-item__issue-title", "miam-replace-item__issue-title__no-substitution"], i18n_15, [1, "miam-replace-item__error-image-container"], [1, "miam-replace-item__issue-search-string"], [1, "miam-replace-item__issue-title", "miam-replace-item__issue-title__not-found"], i18n_17, [1, "miam-replace-item__issue-description", "miam-ds-text", "weight-xxl"], i18n_19, [1, "miam-replace-item__add-product-default"], [1, "miam-replace-item__add-product-image-container"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", "alt", "search icon", 1, "miam-replace-item__add-product-image"], [1, "miam-replace-item__add-product-title"], i18n_21];
|
|
18143
18144
|
}, template: function ReplaceItemComponent_Template(rf, ctx) {
|
|
@@ -18250,7 +18251,7 @@
|
|
|
18250
18251
|
args: ['@slide']
|
|
18251
18252
|
}] });
|
|
18252
18253
|
})();
|
|
18253
|
-
var templateObject_1$x, templateObject_2$r, templateObject_3$
|
|
18254
|
+
var templateObject_1$x, templateObject_2$r, templateObject_3$k, templateObject_4$h, templateObject_5$d, templateObject_6$b, templateObject_7$a, templateObject_8$7, templateObject_9$5, templateObject_10$4, templateObject_11$4;
|
|
18254
18255
|
|
|
18255
18256
|
function BasketPreviewBlockComponent_div_2_ng_container_1_div_2_Template(rf, ctx) {
|
|
18256
18257
|
if (rf & 1) {
|
|
@@ -18287,7 +18288,7 @@
|
|
|
18287
18288
|
i0__namespace.ɵɵelement(0, "ng-miam-product-addition-card");
|
|
18288
18289
|
}
|
|
18289
18290
|
}
|
|
18290
|
-
var _c4$
|
|
18291
|
+
var _c4$2 = function (a0) { return { "display": a0 }; };
|
|
18291
18292
|
function BasketPreviewBlockComponent_div_2_ng_container_1_div_4_ng_miam_basket_preview_line_2_Template(rf, ctx) {
|
|
18292
18293
|
if (rf & 1) {
|
|
18293
18294
|
var _r21_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -18298,7 +18299,7 @@
|
|
|
18298
18299
|
if (rf & 2) {
|
|
18299
18300
|
var line_r19 = ctx.$implicit;
|
|
18300
18301
|
var ctx_r16 = i0__namespace.ɵɵnextContext(4);
|
|
18301
|
-
i0__namespace.ɵɵproperty("line", line_r19)("blockStates", ctx_r16.blockStates)("recipesAlwaysExpanded", ctx_r16.recipesAlwaysExpanded)("itemsAlwaysExpanded", ctx_r16.itemsAlwaysExpanded)("displayItemsUnitaryPrice", ctx_r16.displayItemsUnitaryPrice)("legacyMode", ctx_r16.legacyMode)("originTrace", ctx_r16.eventTrace)("ngStyle", i0__namespace.ɵɵpureFunction1(8, _c4$
|
|
18302
|
+
i0__namespace.ɵɵproperty("line", line_r19)("blockStates", ctx_r16.blockStates)("recipesAlwaysExpanded", ctx_r16.recipesAlwaysExpanded)("itemsAlwaysExpanded", ctx_r16.itemsAlwaysExpanded)("displayItemsUnitaryPrice", ctx_r16.displayItemsUnitaryPrice)("legacyMode", ctx_r16.legacyMode)("originTrace", ctx_r16.eventTrace)("ngStyle", i0__namespace.ɵɵpureFunction1(8, _c4$2, (ctx_r16.blockStates == null ? null : ctx_r16.blockStates.value == null ? null : ctx_r16.blockStates.value.overlayOpen) ? "none" : "block"));
|
|
18302
18303
|
}
|
|
18303
18304
|
}
|
|
18304
18305
|
function BasketPreviewBlockComponent_div_2_ng_container_1_div_4_ng_miam_replace_item_3_Template(rf, ctx) {
|
|
@@ -18796,7 +18797,7 @@
|
|
|
18796
18797
|
i18n_5 = MSG_EXTERNAL_288551008191807939$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS_____6;
|
|
18797
18798
|
}
|
|
18798
18799
|
else {
|
|
18799
|
-
i18n_5 = $localize(templateObject_3$
|
|
18800
|
+
i18n_5 = $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."], [":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."])));
|
|
18800
18801
|
}
|
|
18801
18802
|
var i18n_7;
|
|
18802
18803
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18804,7 +18805,7 @@
|
|
|
18804
18805
|
i18n_7 = MSG_EXTERNAL_4236077440019410708$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS______8;
|
|
18805
18806
|
}
|
|
18806
18807
|
else {
|
|
18807
|
-
i18n_7 = $localize(templateObject_4$
|
|
18808
|
+
i18n_7 = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."], [":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."])));
|
|
18808
18809
|
}
|
|
18809
18810
|
var i18n_9;
|
|
18810
18811
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18828,7 +18829,7 @@
|
|
|
18828
18829
|
i18n_13 = MSG_EXTERNAL_4182983336835891106$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS__14;
|
|
18829
18830
|
}
|
|
18830
18831
|
else {
|
|
18831
|
-
i18n_13 = $localize(templateObject_7$
|
|
18832
|
+
i18n_13 = $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."], [":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."])));
|
|
18832
18833
|
}
|
|
18833
18834
|
var i18n_15;
|
|
18834
18835
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18897,7 +18898,7 @@
|
|
|
18897
18898
|
args: [BasketPreviewProductComponent]
|
|
18898
18899
|
}] });
|
|
18899
18900
|
})();
|
|
18900
|
-
var templateObject_1$w, templateObject_2$q, templateObject_3$
|
|
18901
|
+
var templateObject_1$w, templateObject_2$q, templateObject_3$j, templateObject_4$g, templateObject_5$c, templateObject_6$a, templateObject_7$9, templateObject_8$6;
|
|
18901
18902
|
|
|
18902
18903
|
var BasketPreviewModule = /** @class */ (function () {
|
|
18903
18904
|
// Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
|
|
@@ -19058,7 +19059,7 @@
|
|
|
19058
19059
|
i18n_4 = MSG_EXTERNAL_541716919875697840$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_5;
|
|
19059
19060
|
}
|
|
19060
19061
|
else {
|
|
19061
|
-
i18n_4 = $localize(templateObject_3$
|
|
19062
|
+
i18n_4 = $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"], [":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"])));
|
|
19062
19063
|
}
|
|
19063
19064
|
var i18n_6;
|
|
19064
19065
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -19066,7 +19067,7 @@
|
|
|
19066
19067
|
i18n_6 = MSG_EXTERNAL_7845121959018697970$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_7;
|
|
19067
19068
|
}
|
|
19068
19069
|
else {
|
|
19069
|
-
i18n_6 = $localize(templateObject_4$
|
|
19070
|
+
i18n_6 = $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
|
|
19070
19071
|
}
|
|
19071
19072
|
var i18n_8;
|
|
19072
19073
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -19090,7 +19091,7 @@
|
|
|
19090
19091
|
i18n_12 = MSG_EXTERNAL_4869108346013323377$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_13;
|
|
19091
19092
|
}
|
|
19092
19093
|
else {
|
|
19093
|
-
i18n_12 = $localize(templateObject_7$
|
|
19094
|
+
i18n_12 = $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"], [":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"])));
|
|
19094
19095
|
}
|
|
19095
19096
|
var i18n_14;
|
|
19096
19097
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -19155,7 +19156,7 @@
|
|
|
19155
19156
|
}]
|
|
19156
19157
|
}], function () { return [{ type: BasketTransferService }, { type: BasketsService }, { type: PointOfSalesService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
|
|
19157
19158
|
})();
|
|
19158
|
-
var templateObject_1$v, templateObject_2$p, templateObject_3$
|
|
19159
|
+
var templateObject_1$v, templateObject_2$p, templateObject_3$i, templateObject_4$f, templateObject_5$b, templateObject_6$9, templateObject_7$8, templateObject_8$5;
|
|
19159
19160
|
|
|
19160
19161
|
function ListScanBasketPreviewComponent_ng_container_2_ng_miam_basket_preview_product_6_Template(rf, ctx) {
|
|
19161
19162
|
if (rf & 1) {
|
|
@@ -19543,7 +19544,7 @@
|
|
|
19543
19544
|
i18n_4 = MSG_EXTERNAL_6492937435856655320$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_5;
|
|
19544
19545
|
}
|
|
19545
19546
|
else {
|
|
19546
|
-
i18n_4 = $localize(templateObject_3$
|
|
19547
|
+
i18n_4 = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
|
|
19547
19548
|
}
|
|
19548
19549
|
var i18n_6;
|
|
19549
19550
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -19551,7 +19552,7 @@
|
|
|
19551
19552
|
i18n_6 = MSG_EXTERNAL_5858088760260847694$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_7;
|
|
19552
19553
|
}
|
|
19553
19554
|
else {
|
|
19554
|
-
i18n_6 = $localize(templateObject_4$
|
|
19555
|
+
i18n_6 = $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
|
|
19555
19556
|
}
|
|
19556
19557
|
var i18n_8;
|
|
19557
19558
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -19575,7 +19576,7 @@
|
|
|
19575
19576
|
i18n_12 = MSG_EXTERNAL_8748233983301350015$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_13;
|
|
19576
19577
|
}
|
|
19577
19578
|
else {
|
|
19578
|
-
i18n_12 = $localize(templateObject_7$
|
|
19579
|
+
i18n_12 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"], [":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"])));
|
|
19579
19580
|
}
|
|
19580
19581
|
return [[1, "miam-list-scan"], [3, "isSchoolList"], ["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 1, "miam-list-scan__result", 3, "noHeaderMode", "display", "cancel", "close", "confirm"], [1, "miam-list-scan__content", 3, "closed", "cancelled"], ["title", i18n_6, "cancelButtonText", i18n_8, "confirmButtonText", i18n_10, 1, "miam-list-scan__confirmation", 3, "display", "noHeaderMode", "confirmButtonDisabled", "confirmButtonIsLoading", "cancelButtonDisabled", "displayChange", "close", "cancel", "confirm"], [1, "miam-ds-text", "size-m", "weight-m"], i18n_12];
|
|
19581
19582
|
}, template: function ListScanComponent_Template(rf, ctx) {
|
|
@@ -19623,7 +19624,7 @@
|
|
|
19623
19624
|
type: i0.Output
|
|
19624
19625
|
}] });
|
|
19625
19626
|
})();
|
|
19626
|
-
var templateObject_1$s, templateObject_2$m, templateObject_3$
|
|
19627
|
+
var templateObject_1$s, templateObject_2$m, templateObject_3$h, templateObject_4$e, templateObject_5$a, templateObject_6$8, templateObject_7$7;
|
|
19627
19628
|
|
|
19628
19629
|
var ListScanModule = /** @class */ (function () {
|
|
19629
19630
|
// Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
|
|
@@ -20008,7 +20009,7 @@
|
|
|
20008
20009
|
i18n_4 = MSG_EXTERNAL_7945563559620286178$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_5;
|
|
20009
20010
|
}
|
|
20010
20011
|
else {
|
|
20011
|
-
i18n_4 = $localize(templateObject_3$
|
|
20012
|
+
i18n_4 = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"], [":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"])));
|
|
20012
20013
|
}
|
|
20013
20014
|
var i18n_6;
|
|
20014
20015
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20016,7 +20017,7 @@
|
|
|
20016
20017
|
i18n_6 = MSG_EXTERNAL_980939234227251011$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_7;
|
|
20017
20018
|
}
|
|
20018
20019
|
else {
|
|
20019
|
-
i18n_6 = $localize(templateObject_4$
|
|
20020
|
+
i18n_6 = $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
|
|
20020
20021
|
}
|
|
20021
20022
|
var i18n_8;
|
|
20022
20023
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20040,7 +20041,7 @@
|
|
|
20040
20041
|
i18n_12 = MSG_EXTERNAL_2058601653972871945$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_13;
|
|
20041
20042
|
}
|
|
20042
20043
|
else {
|
|
20043
|
-
i18n_12 = $localize(templateObject_7$
|
|
20044
|
+
i18n_12 = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"], [":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"])));
|
|
20044
20045
|
}
|
|
20045
20046
|
var i18n_15;
|
|
20046
20047
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20064,7 +20065,7 @@
|
|
|
20064
20065
|
i18n_19 = MSG_EXTERNAL_6893194938999563957$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__20;
|
|
20065
20066
|
}
|
|
20066
20067
|
else {
|
|
20067
|
-
i18n_19 = $localize(templateObject_10$
|
|
20068
|
+
i18n_19 = $localize(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject([":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "], [":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "])));
|
|
20068
20069
|
}
|
|
20069
20070
|
var i18n_21;
|
|
20070
20071
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20072,7 +20073,7 @@
|
|
|
20072
20073
|
i18n_21 = MSG_EXTERNAL_4814452544539254182$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__22;
|
|
20073
20074
|
}
|
|
20074
20075
|
else {
|
|
20075
|
-
i18n_21 = $localize(templateObject_11$
|
|
20076
|
+
i18n_21 = $localize(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject([":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"], [":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"])));
|
|
20076
20077
|
}
|
|
20077
20078
|
var i18n_23;
|
|
20078
20079
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20240,7 +20241,7 @@
|
|
|
20240
20241
|
type: i0.Output
|
|
20241
20242
|
}] });
|
|
20242
20243
|
})();
|
|
20243
|
-
var templateObject_1$r, templateObject_2$l, templateObject_3$
|
|
20244
|
+
var templateObject_1$r, templateObject_2$l, templateObject_3$g, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$6, templateObject_8$4, templateObject_9$4, templateObject_10$3, templateObject_11$3, templateObject_12$1, templateObject_13;
|
|
20244
20245
|
|
|
20245
20246
|
function RecipeCardCtaComponent_div_0_ng_container_2_Template(rf, ctx) {
|
|
20246
20247
|
if (rf & 1) {
|
|
@@ -20439,8 +20440,8 @@
|
|
|
20439
20440
|
i0__namespace.ɵɵelement(0, "ng-miam-like-button", 32);
|
|
20440
20441
|
}
|
|
20441
20442
|
if (rf & 2) {
|
|
20442
|
-
var
|
|
20443
|
-
i0__namespace.ɵɵproperty("recipe",
|
|
20443
|
+
var ctx_r15 = i0__namespace.ɵɵnextContext(4);
|
|
20444
|
+
i0__namespace.ɵɵproperty("recipe", ctx_r15.recipe)("originTrace", ctx_r15.eventTrace);
|
|
20444
20445
|
}
|
|
20445
20446
|
}
|
|
20446
20447
|
function RecipeCardComponent_div_1_div_7_ng_template_1_Template(rf, ctx) {
|
|
@@ -20449,8 +20450,8 @@
|
|
|
20449
20450
|
i0__namespace.ɵɵpipe(1, "async");
|
|
20450
20451
|
}
|
|
20451
20452
|
if (rf & 2) {
|
|
20452
|
-
var
|
|
20453
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
20453
|
+
var ctx_r14 = i0__namespace.ɵɵnextContext(3);
|
|
20454
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r14.displayLikesBottom && i0__namespace.ɵɵpipeBind1(1, 1, ctx_r14.userService.isLogged$));
|
|
20454
20455
|
}
|
|
20455
20456
|
}
|
|
20456
20457
|
function RecipeCardComponent_div_1_div_7_Template(rf, ctx) {
|
|
@@ -20472,9 +20473,9 @@
|
|
|
20472
20473
|
i0__namespace.ɵɵelementEnd();
|
|
20473
20474
|
}
|
|
20474
20475
|
if (rf & 2) {
|
|
20475
|
-
var
|
|
20476
|
+
var ctx_r17 = i0__namespace.ɵɵnextContext(3);
|
|
20476
20477
|
i0__namespace.ɵɵadvance(1);
|
|
20477
|
-
i0__namespace.ɵɵproperty("src",
|
|
20478
|
+
i0__namespace.ɵɵproperty("src", ctx_r17.recipe.sponsorLogoUrl, i0__namespace.ɵɵsanitizeUrl);
|
|
20478
20479
|
}
|
|
20479
20480
|
}
|
|
20480
20481
|
function RecipeCardComponent_div_1_div_8_Template(rf, ctx) {
|
|
@@ -20485,11 +20486,11 @@
|
|
|
20485
20486
|
i0__namespace.ɵɵelementEnd();
|
|
20486
20487
|
}
|
|
20487
20488
|
if (rf & 2) {
|
|
20488
|
-
var
|
|
20489
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext(2);
|
|
20489
20490
|
i0__namespace.ɵɵadvance(1);
|
|
20490
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
20491
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r3.displayBadge && ctx_r3.isInPromotion);
|
|
20491
20492
|
i0__namespace.ɵɵadvance(1);
|
|
20492
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
20493
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r3.recipe.sponsorLogoUrl);
|
|
20493
20494
|
}
|
|
20494
20495
|
}
|
|
20495
20496
|
function RecipeCardComponent_div_1_div_9_ng_miam_recipe_promotion_badge_1_Template(rf, ctx) {
|
|
@@ -20516,14 +20517,14 @@
|
|
|
20516
20517
|
i0__namespace.ɵɵelementEnd();
|
|
20517
20518
|
}
|
|
20518
20519
|
if (rf & 2) {
|
|
20519
|
-
var
|
|
20520
|
-
i0__namespace.ɵɵproperty("ngClass",
|
|
20520
|
+
var ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
20521
|
+
i0__namespace.ɵɵproperty("ngClass", ctx_r4.isDrink ? "drink" : "food");
|
|
20521
20522
|
i0__namespace.ɵɵadvance(1);
|
|
20522
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
20523
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r4.isInPromotion);
|
|
20523
20524
|
i0__namespace.ɵɵadvance(1);
|
|
20524
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
20525
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r4.isDrink);
|
|
20525
20526
|
i0__namespace.ɵɵadvance(1);
|
|
20526
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
20527
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r4.isDrink);
|
|
20527
20528
|
}
|
|
20528
20529
|
}
|
|
20529
20530
|
function RecipeCardComponent_div_1_div_19_div_5_Template(rf, ctx) {
|
|
@@ -20533,36 +20534,36 @@
|
|
|
20533
20534
|
i0__namespace.ɵɵelementEnd();
|
|
20534
20535
|
}
|
|
20535
20536
|
if (rf & 2) {
|
|
20536
|
-
var
|
|
20537
|
+
var ctx_r21 = i0__namespace.ɵɵnextContext(3);
|
|
20537
20538
|
i0__namespace.ɵɵadvance(1);
|
|
20538
|
-
i0__namespace.ɵɵtextInterpolate1(" + ",
|
|
20539
|
+
i0__namespace.ɵɵtextInterpolate1(" + ", ctx_r21.recipe.modifiedIngredients.length - 2, " ");
|
|
20539
20540
|
}
|
|
20540
20541
|
}
|
|
20541
20542
|
function RecipeCardComponent_div_1_div_19_Template(rf, ctx) {
|
|
20542
20543
|
if (rf & 1) {
|
|
20543
|
-
var
|
|
20544
|
+
var _r23_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20544
20545
|
i0__namespace.ɵɵelementStart(0, "div", 43);
|
|
20545
20546
|
i0__namespace.ɵɵelementStart(1, "div", 44);
|
|
20546
20547
|
i0__namespace.ɵɵelementStart(2, "img", 45);
|
|
20547
|
-
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
20548
|
+
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_2_listener($event) { i0__namespace.ɵɵrestoreView(_r23_1); var ctx_r22 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r22.contextService.defaultIngredientPicture); });
|
|
20548
20549
|
i0__namespace.ɵɵelementEnd();
|
|
20549
20550
|
i0__namespace.ɵɵelementEnd();
|
|
20550
20551
|
i0__namespace.ɵɵelementStart(3, "div", 44);
|
|
20551
20552
|
i0__namespace.ɵɵelementStart(4, "img", 46);
|
|
20552
|
-
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_4_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
20553
|
+
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_4_listener($event) { i0__namespace.ɵɵrestoreView(_r23_1); var ctx_r24 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r24.contextService.defaultIngredientPicture); });
|
|
20553
20554
|
i0__namespace.ɵɵelementEnd();
|
|
20554
20555
|
i0__namespace.ɵɵelementEnd();
|
|
20555
20556
|
i0__namespace.ɵɵtemplate(5, RecipeCardComponent_div_1_div_19_div_5_Template, 2, 1, "div", 47);
|
|
20556
20557
|
i0__namespace.ɵɵelementEnd();
|
|
20557
20558
|
}
|
|
20558
20559
|
if (rf & 2) {
|
|
20559
|
-
var
|
|
20560
|
+
var ctx_r5 = i0__namespace.ɵɵnextContext(2);
|
|
20560
20561
|
i0__namespace.ɵɵadvance(2);
|
|
20561
|
-
i0__namespace.ɵɵproperty("src",
|
|
20562
|
+
i0__namespace.ɵɵproperty("src", ctx_r5.ingredientPicture(ctx_r5.recipe.modifiedIngredients[0]), i0__namespace.ɵɵsanitizeUrl);
|
|
20562
20563
|
i0__namespace.ɵɵadvance(2);
|
|
20563
|
-
i0__namespace.ɵɵproperty("src",
|
|
20564
|
+
i0__namespace.ɵɵproperty("src", ctx_r5.ingredientPicture(ctx_r5.recipe.modifiedIngredients[1]), i0__namespace.ɵɵsanitizeUrl);
|
|
20564
20565
|
i0__namespace.ɵɵadvance(1);
|
|
20565
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
20566
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r5.recipe.modifiedIngredients.length > 2);
|
|
20566
20567
|
}
|
|
20567
20568
|
}
|
|
20568
20569
|
function RecipeCardComponent_div_1_div_22_div_1_Template(rf, ctx) {
|
|
@@ -20575,9 +20576,9 @@
|
|
|
20575
20576
|
i0__namespace.ɵɵelementEnd();
|
|
20576
20577
|
}
|
|
20577
20578
|
if (rf & 2) {
|
|
20578
|
-
var
|
|
20579
|
+
var ctx_r25 = i0__namespace.ɵɵnextContext(3);
|
|
20579
20580
|
i0__namespace.ɵɵadvance(3);
|
|
20580
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
20581
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r25.recipeService.difficultyLevels[ctx_r25.recipe.difficulty - 1].label);
|
|
20581
20582
|
}
|
|
20582
20583
|
}
|
|
20583
20584
|
function RecipeCardComponent_div_1_div_22_div_2_Template(rf, ctx) {
|
|
@@ -20590,9 +20591,9 @@
|
|
|
20590
20591
|
i0__namespace.ɵɵelementEnd();
|
|
20591
20592
|
}
|
|
20592
20593
|
if (rf & 2) {
|
|
20593
|
-
var
|
|
20594
|
+
var ctx_r26 = i0__namespace.ɵɵnextContext(3);
|
|
20594
20595
|
i0__namespace.ɵɵadvance(3);
|
|
20595
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
20596
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r26.recipe.totalTime);
|
|
20596
20597
|
}
|
|
20597
20598
|
}
|
|
20598
20599
|
function RecipeCardComponent_div_1_div_22_Template(rf, ctx) {
|
|
@@ -20603,11 +20604,11 @@
|
|
|
20603
20604
|
i0__namespace.ɵɵelementEnd();
|
|
20604
20605
|
}
|
|
20605
20606
|
if (rf & 2) {
|
|
20606
|
-
var
|
|
20607
|
+
var ctx_r6 = i0__namespace.ɵɵnextContext(2);
|
|
20607
20608
|
i0__namespace.ɵɵadvance(1);
|
|
20608
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
20609
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r6.recipe.difficulty);
|
|
20609
20610
|
i0__namespace.ɵɵadvance(1);
|
|
20610
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
20611
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r6.recipe.totalTime);
|
|
20611
20612
|
}
|
|
20612
20613
|
}
|
|
20613
20614
|
function RecipeCardComponent_div_1_ng_miam_recipe_promotion_badge_24_Template(rf, ctx) {
|
|
@@ -20617,17 +20618,17 @@
|
|
|
20617
20618
|
}
|
|
20618
20619
|
function RecipeCardComponent_div_1_div_25_Template(rf, ctx) {
|
|
20619
20620
|
if (rf & 1) {
|
|
20620
|
-
var
|
|
20621
|
+
var _r28_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20621
20622
|
i0__namespace.ɵɵelementStart(0, "div", 58);
|
|
20622
20623
|
i0__namespace.ɵɵelementStart(1, "ng-miam-recipe-pricing", 59);
|
|
20623
|
-
i0__namespace.ɵɵlistener("priceSet", function RecipeCardComponent_div_1_div_25_Template_ng_miam_recipe_pricing_priceSet_1_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
20624
|
+
i0__namespace.ɵɵlistener("priceSet", function RecipeCardComponent_div_1_div_25_Template_ng_miam_recipe_pricing_priceSet_1_listener($event) { i0__namespace.ɵɵrestoreView(_r28_1); var ctx_r27 = i0__namespace.ɵɵnextContext(2); return ctx_r27.updateIsInPromotion($event); });
|
|
20624
20625
|
i0__namespace.ɵɵelementEnd();
|
|
20625
20626
|
i0__namespace.ɵɵelementEnd();
|
|
20626
20627
|
}
|
|
20627
20628
|
if (rf & 2) {
|
|
20628
|
-
var
|
|
20629
|
+
var ctx_r8 = i0__namespace.ɵɵnextContext(2);
|
|
20629
20630
|
i0__namespace.ɵɵadvance(1);
|
|
20630
|
-
i0__namespace.ɵɵproperty("recipeId",
|
|
20631
|
+
i0__namespace.ɵɵproperty("recipeId", ctx_r8.recipe.id)("serves", ctx_r8.recipe.modifiedGuests || +ctx_r8.recipe.guests)("inViewport", ctx_r8.inViewport);
|
|
20631
20632
|
}
|
|
20632
20633
|
}
|
|
20633
20634
|
function RecipeCardComponent_div_1_ng_miam_like_button_27_Template(rf, ctx) {
|
|
@@ -20635,49 +20636,49 @@
|
|
|
20635
20636
|
i0__namespace.ɵɵelement(0, "ng-miam-like-button", 32);
|
|
20636
20637
|
}
|
|
20637
20638
|
if (rf & 2) {
|
|
20638
|
-
var
|
|
20639
|
-
i0__namespace.ɵɵproperty("recipe",
|
|
20639
|
+
var ctx_r9 = i0__namespace.ɵɵnextContext(2);
|
|
20640
|
+
i0__namespace.ɵɵproperty("recipe", ctx_r9.recipe)("originTrace", ctx_r9.eventTrace);
|
|
20640
20641
|
}
|
|
20641
20642
|
}
|
|
20642
20643
|
function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template(rf, ctx) {
|
|
20643
20644
|
if (rf & 1) {
|
|
20644
|
-
var
|
|
20645
|
+
var _r30_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20645
20646
|
i0__namespace.ɵɵelementStart(0, "ng-miam-recipe-card-cta", 60);
|
|
20646
|
-
i0__namespace.ɵɵlistener("displayed", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_displayed_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
20647
|
+
i0__namespace.ɵɵlistener("displayed", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_displayed_0_listener() { i0__namespace.ɵɵrestoreView(_r30_1); var ctx_r29 = i0__namespace.ɵɵnextContext(2); return ctx_r29.displayed.emit(); })("clicked", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_clicked_0_listener($event) { i0__namespace.ɵɵrestoreView(_r30_1); var ctx_r31 = i0__namespace.ɵɵnextContext(2); return ctx_r31.primaryButtonClicked$.emit($event); });
|
|
20647
20648
|
i0__namespace.ɵɵelementEnd();
|
|
20648
20649
|
}
|
|
20649
20650
|
if (rf & 2) {
|
|
20650
|
-
var
|
|
20651
|
-
i0__namespace.ɵɵproperty("recipe",
|
|
20651
|
+
var ctx_r10 = i0__namespace.ɵɵnextContext(2);
|
|
20652
|
+
i0__namespace.ɵɵproperty("recipe", ctx_r10.recipe)("previewAllowed", ctx_r10.previewAllowed)("displayGuests", ctx_r10.displayGuests)("helpButtonAllowed", ctx_r10.helpButtonAllowed)("originTrace", ctx_r10.eventTrace);
|
|
20652
20653
|
}
|
|
20653
20654
|
}
|
|
20654
20655
|
function RecipeCardComponent_div_1_div_30_Template(rf, ctx) {
|
|
20655
20656
|
if (rf & 1) {
|
|
20656
|
-
var
|
|
20657
|
+
var _r33_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20657
20658
|
i0__namespace.ɵɵelementStart(0, "div", 61);
|
|
20658
20659
|
i0__namespace.ɵɵelementStart(1, "button", 62);
|
|
20659
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(
|
|
20660
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r33_1); var ctx_r32 = i0__namespace.ɵɵnextContext(2); return ctx_r32.openCatalog.emit(); });
|
|
20660
20661
|
i0__namespace.ɵɵelementStart(2, "span");
|
|
20661
20662
|
i0__namespace.ɵɵi18n(3, 63);
|
|
20662
20663
|
i0__namespace.ɵɵelementEnd();
|
|
20663
20664
|
i0__namespace.ɵɵelementEnd();
|
|
20664
20665
|
i0__namespace.ɵɵelementStart(4, "button", 64);
|
|
20665
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_4_listener() { i0__namespace.ɵɵrestoreView(
|
|
20666
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_4_listener() { i0__namespace.ɵɵrestoreView(_r33_1); var ctx_r34 = i0__namespace.ɵɵnextContext(2); return ctx_r34.removeFromMealsPlanner.emit(); });
|
|
20666
20667
|
i0__namespace.ɵɵelement(5, "ng-miam-icon", 65);
|
|
20667
20668
|
i0__namespace.ɵɵelementEnd();
|
|
20668
20669
|
i0__namespace.ɵɵelementEnd();
|
|
20669
20670
|
}
|
|
20670
20671
|
if (rf & 2) {
|
|
20671
|
-
var
|
|
20672
|
+
var ctx_r11 = i0__namespace.ɵɵnextContext(2);
|
|
20672
20673
|
i0__namespace.ɵɵadvance(5);
|
|
20673
|
-
i0__namespace.ɵɵproperty("iconName",
|
|
20674
|
+
i0__namespace.ɵɵproperty("iconName", ctx_r11.icon.Trash);
|
|
20674
20675
|
}
|
|
20675
20676
|
}
|
|
20676
20677
|
function RecipeCardComponent_div_1_button_31_Template(rf, ctx) {
|
|
20677
20678
|
if (rf & 1) {
|
|
20678
|
-
var
|
|
20679
|
+
var _r36_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20679
20680
|
i0__namespace.ɵɵelementStart(0, "button", 62);
|
|
20680
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_button_31_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
20681
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_button_31_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r35 = i0__namespace.ɵɵnextContext(2); return ctx_r35.addToMealsPlanner.emit(ctx_r35.recipe); });
|
|
20681
20682
|
i0__namespace.ɵɵelementStart(1, "span");
|
|
20682
20683
|
i0__namespace.ɵɵi18n(2, 66);
|
|
20683
20684
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20686,14 +20687,14 @@
|
|
|
20686
20687
|
}
|
|
20687
20688
|
function RecipeCardComponent_div_1_Template(rf, ctx) {
|
|
20688
20689
|
if (rf & 1) {
|
|
20689
|
-
var
|
|
20690
|
+
var _r38_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20690
20691
|
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
20691
|
-
i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_1_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
20692
|
+
i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_1_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r37 = i0__namespace.ɵɵnextContext(); return ctx_r37.cardInViewport(); });
|
|
20692
20693
|
i0__namespace.ɵɵelementStart(1, "div", 3);
|
|
20693
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(
|
|
20694
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r39 = i0__namespace.ɵɵnextContext(); return ctx_r39.openRecipe(); });
|
|
20694
20695
|
i0__namespace.ɵɵelementStart(2, "div", 4);
|
|
20695
20696
|
i0__namespace.ɵɵelementStart(3, "img", 5);
|
|
20696
|
-
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_Template_img_error_3_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
20697
|
+
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_Template_img_error_3_listener($event) { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r40 = i0__namespace.ɵɵnextContext(); return ($event.target["src"] = ctx_r40.contextService.defaultRecipePicture); });
|
|
20697
20698
|
i0__namespace.ɵɵelementEnd();
|
|
20698
20699
|
i0__namespace.ɵɵelementEnd();
|
|
20699
20700
|
i0__namespace.ɵɵelement(4, "div", 6);
|
|
@@ -20719,7 +20720,7 @@
|
|
|
20719
20720
|
i0__namespace.ɵɵelementEnd();
|
|
20720
20721
|
i0__namespace.ɵɵelementEnd();
|
|
20721
20722
|
i0__namespace.ɵɵelementStart(18, "div", 17);
|
|
20722
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_18_listener() { i0__namespace.ɵɵrestoreView(
|
|
20723
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_18_listener() { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r41 = i0__namespace.ɵɵnextContext(); return ctx_r41.openRecipe(); });
|
|
20723
20724
|
i0__namespace.ɵɵtemplate(19, RecipeCardComponent_div_1_div_19_Template, 6, 3, "div", 18);
|
|
20724
20725
|
i0__namespace.ɵɵelementStart(20, "div", 19);
|
|
20725
20726
|
i0__namespace.ɵɵelementStart(21, "div", 20);
|
|
@@ -20773,7 +20774,36 @@
|
|
|
20773
20774
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.addRecipeMode);
|
|
20774
20775
|
}
|
|
20775
20776
|
}
|
|
20776
|
-
|
|
20777
|
+
function RecipeCardComponent_div_2_Template(rf, ctx) {
|
|
20778
|
+
if (rf & 1) {
|
|
20779
|
+
var _r43_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20780
|
+
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
20781
|
+
i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_2_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r42 = i0__namespace.ɵɵnextContext(); return ctx_r42.cardInViewport(); });
|
|
20782
|
+
i0__namespace.ɵɵelementStart(1, "a", 67);
|
|
20783
|
+
i0__namespace.ɵɵelement(2, "img", 68);
|
|
20784
|
+
i0__namespace.ɵɵelementStart(3, "div", 69);
|
|
20785
|
+
i0__namespace.ɵɵelementStart(4, "div", 70);
|
|
20786
|
+
i0__namespace.ɵɵelementStart(5, "span");
|
|
20787
|
+
i0__namespace.ɵɵi18n(6, 71);
|
|
20788
|
+
i0__namespace.ɵɵelementEnd();
|
|
20789
|
+
i0__namespace.ɵɵelementEnd();
|
|
20790
|
+
i0__namespace.ɵɵelementStart(7, "button", 72);
|
|
20791
|
+
i0__namespace.ɵɵelementStart(8, "span");
|
|
20792
|
+
i0__namespace.ɵɵi18n(9, 73);
|
|
20793
|
+
i0__namespace.ɵɵelementEnd();
|
|
20794
|
+
i0__namespace.ɵɵelementEnd();
|
|
20795
|
+
i0__namespace.ɵɵelementEnd();
|
|
20796
|
+
i0__namespace.ɵɵelementEnd();
|
|
20797
|
+
i0__namespace.ɵɵelementEnd();
|
|
20798
|
+
}
|
|
20799
|
+
if (rf & 2) {
|
|
20800
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
20801
|
+
i0__namespace.ɵɵproperty("threshold", 0)("debounceTime", 0);
|
|
20802
|
+
i0__namespace.ɵɵadvance(1);
|
|
20803
|
+
i0__namespace.ɵɵproperty("href", ctx_r1.contextService.catalogUrl, i0__namespace.ɵɵsanitizeUrl);
|
|
20804
|
+
}
|
|
20805
|
+
}
|
|
20806
|
+
var _c8$2 = function (a0, a1, a2, a3, a4) { return { "variant-1": a0, "variant-2": a1, "variant-3": a2, "in-basket": a3, "redirect-card": a4 }; };
|
|
20777
20807
|
var recipeIncludes$4 = ['recipe-provider', 'sponsors', 'tags'];
|
|
20778
20808
|
var recipeSparseFields$4 = {
|
|
20779
20809
|
recipes: __spread(['title', 'number-of-guests', 'media-url', 'video-id', 'filigrane-logo-url', 'difficulty', 'preparation-time', 'cooking-time',
|
|
@@ -20937,6 +20967,7 @@
|
|
|
20937
20967
|
_this.afterRecipeLoad(results[0]);
|
|
20938
20968
|
}
|
|
20939
20969
|
else {
|
|
20970
|
+
_this.isloaded = true;
|
|
20940
20971
|
_this.hide.emit();
|
|
20941
20972
|
_this.cdr.detectChanges();
|
|
20942
20973
|
}
|
|
@@ -20991,7 +21022,7 @@
|
|
|
20991
21022
|
return RecipeCardComponent;
|
|
20992
21023
|
}(EventTracerComponent));
|
|
20993
21024
|
RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(RecipesService), i0__namespace.ɵɵdirectiveInject(BasketsService), i0__namespace.ɵɵdirectiveInject(UserService), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); };
|
|
20994
|
-
RecipeCardComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe", randomModeEnable: "randomModeEnable", productIds: "productIds", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayInfos: "displayInfos", displayPricing: "displayPricing", displayGuests: "displayGuests", addRecipeMode: "addRecipeMode", replaceMode: "replaceMode", displayVariant: "displayVariant", serves: "serves" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", removeFromMealsPlanner: "removeFromMealsPlanner", addToMealsPlanner: "addToMealsPlanner", openCatalog: "openCatalog", hide: "hide" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls:
|
|
21025
|
+
RecipeCardComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe", randomModeEnable: "randomModeEnable", productIds: "productIds", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayInfos: "displayInfos", displayPricing: "displayPricing", displayGuests: "displayGuests", addRecipeMode: "addRecipeMode", replaceMode: "replaceMode", displayVariant: "displayVariant", serves: "serves" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", removeFromMealsPlanner: "removeFromMealsPlanner", addToMealsPlanner: "addToMealsPlanner", openCatalog: "openCatalog", hide: "hide" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 10, consts: function () {
|
|
20995
21026
|
var i18n_0;
|
|
20996
21027
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
20997
21028
|
var MSG_EXTERNAL_9004334984468055592$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS___1 = goog.getMsg("Changer");
|
|
@@ -21008,20 +21039,39 @@
|
|
|
21008
21039
|
else {
|
|
21009
21040
|
i18n_2 = $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
|
|
21010
21041
|
}
|
|
21011
|
-
|
|
21042
|
+
var i18n_4;
|
|
21043
|
+
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21044
|
+
var MSG_EXTERNAL_1894766325611350442$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__5 = goog.getMsg("Besoin d'inspiration ?");
|
|
21045
|
+
i18n_4 = MSG_EXTERNAL_1894766325611350442$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__5;
|
|
21046
|
+
}
|
|
21047
|
+
else {
|
|
21048
|
+
i18n_4 = $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":\u241F4d250da5e232d9cfabd145c7b5307c0043090391\u241F1894766325611350442:Besoin d'inspiration ?"], [":\u241F4d250da5e232d9cfabd145c7b5307c0043090391\u241F1894766325611350442:Besoin d'inspiration ?"])));
|
|
21049
|
+
}
|
|
21050
|
+
var i18n_6;
|
|
21051
|
+
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21052
|
+
var MSG_EXTERNAL_9008711340501624723$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__7 = goog.getMsg("D\u00E9couvrez nos recettes");
|
|
21053
|
+
i18n_6 = MSG_EXTERNAL_9008711340501624723$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__7;
|
|
21054
|
+
}
|
|
21055
|
+
else {
|
|
21056
|
+
i18n_6 = $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":\u241Ff51693cf087a834d433fa3835d7b64905fdc57ee\u241F9008711340501624723:D\u00E9couvrez nos recettes"], [":\u241Ff51693cf087a834d433fa3835d7b64905fdc57ee\u241F9008711340501624723:D\u00E9couvrez nos recettes"])));
|
|
21057
|
+
}
|
|
21058
|
+
return [["ngMiamInViewport", "", 1, "miam-recipe-card", 3, "condition", "ngClass", "inViewport"], ["class", "miam-recipe-card__container", "ngMiamInViewport", "", 3, "threshold", "debounceTime", "inViewport", 4, "ngIf"], ["ngMiamInViewport", "", 1, "miam-recipe-card__container", 3, "threshold", "debounceTime", "inViewport"], [1, "miam-recipe-card__top", 3, "click"], [1, "miam-recipe-card__picture"], ["loading", "lazy", "aria-hidden", "true", 3, "src", "alt", "error"], [1, "miam-recipe-card__gradient"], [1, "miam-recipe-card__content"], [1, "miam-recipe-card__top-container"], ["class", "miam-recipe-card__like", 4, "ngIf"], ["class", "miam-recipe-card_sponso_and_promo_badge", 4, "ngIf"], ["class", "miam-recipe-card__badge-container", 3, "ngClass", 4, "ngIf"], [1, "miam-recipe-card__picture__bottom"], [1, "miam-recipe-card__title", "miam-ds-text", "weight-xxl", "size-m"], [1, "miam-recipe-card__counter"], [1, "miam-ds-text", "weight-xxl", "size-m"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/recipe-counter.svg", "alt", "people"], [1, "miam-recipe-card__bottom", 3, "click"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], [1, "miam-recipe-card__actions"], [1, "miam-recipe-card__infos"], ["class", "miam-recipe-card__difficulty-and-time", 4, "ngIf"], [1, "miam-recipe-card__price-and-promotion"], ["class", "miam-recipe-card__bottom-promotion", 4, "ngIf"], ["class", "miam-recipe-card__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked", 4, "ngIf"], ["class", "miam-recipe-card__actions__replace", 4, "ngIf"], ["class", "miam-ds-button ghost", 3, "click", 4, "ngIf"], [1, "miam-recipe-card__like"], ["like", ""], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card_sponso_and_promo_badge"], [4, "ngIf"], ["class", "miam-recipe-card__sponsor-container", 4, "ngIf"], [1, "miam-recipe-card__sponsor-container"], ["alt", "sponsor picture", 1, "miam-recipe-card__sponsor-picture", 3, "src"], [1, "miam-recipe-card__badge-container", 3, "ngClass"], ["class", "miam-recipe-card__badge", "src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 4, "ngIf"], ["class", "miam-recipe-card__badge", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe-card-badge-drinks.svg", "alt", "drink badge", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 1, "miam-recipe-card__badge"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe-card-badge-drinks.svg", "alt", "drink badge", 1, "miam-recipe-card__badge"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["alt", "first ingredient picture", 3, "src", "error"], ["alt", "second ingredient picture", 3, "src", "error"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__difficulty-and-time"], ["class", "miam-recipe-card__difficulty", 4, "ngIf"], ["class", "miam-recipe-card__time", 4, "ngIf"], [1, "miam-recipe-card__difficulty"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ChefHat.svg", "alt", "difficulty"], [1, "miam-ds-text", "size-s", "weight-m"], [1, "miam-recipe-card__time"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Clock.svg", "alt", "time"], [1, "miam-recipe-card__bottom-promotion"], [1, "miam-recipe-card__price"], [1, "miam-ds-text", "weight-xxl", 3, "recipeId", "serves", "inViewport", "priceSet"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked"], [1, "miam-recipe-card__actions__replace"], [1, "miam-ds-button", "ghost", 3, "click"], i18n_0, [1, "miam-ds-button", "ghost", "square", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], i18n_2, [1, "miam-recipe-card__redirect", 3, "href"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/Suggestion_Redirect_Background.png"], [1, "miam-recipe-card__redirect__footer"], [1, "miam-recipe-card__redirect__title", "miam-ds-text", "size-l", "weight-xxl"], i18n_4, [1, "miam-recipe-card__redirect__button", "miam-ds-button", "primary"], i18n_6];
|
|
21012
21059
|
}, template: function RecipeCardComponent_Template(rf, ctx) {
|
|
21013
21060
|
if (rf & 1) {
|
|
21014
21061
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21015
21062
|
i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_Template_div_inViewport_0_listener() { return ctx.sendShowEvent(); });
|
|
21016
21063
|
i0__namespace.ɵɵtemplate(1, RecipeCardComponent_div_1_Template, 32, 19, "div", 1);
|
|
21064
|
+
i0__namespace.ɵɵtemplate(2, RecipeCardComponent_div_2_Template, 10, 3, "div", 1);
|
|
21017
21065
|
i0__namespace.ɵɵelementEnd();
|
|
21018
21066
|
}
|
|
21019
21067
|
if (rf & 2) {
|
|
21020
|
-
i0__namespace.ɵɵproperty("condition", !!ctx.recipe)("ngClass", i0__namespace.ɵɵ
|
|
21068
|
+
i0__namespace.ɵɵproperty("condition", !!ctx.recipe)("ngClass", i0__namespace.ɵɵpureFunction5(4, _c8$2, ctx.displayVariant !== 2 && ctx.displayVariant !== 3, ctx.displayVariant === 2, ctx.displayVariant === 3, ctx.inBasket, ctx.isloaded && !ctx.recipe));
|
|
21021
21069
|
i0__namespace.ɵɵadvance(1);
|
|
21022
21070
|
i0__namespace.ɵɵproperty("ngIf", ctx.recipe);
|
|
21071
|
+
i0__namespace.ɵɵadvance(1);
|
|
21072
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.isloaded && !ctx.recipe);
|
|
21023
21073
|
}
|
|
21024
|
-
}, directives: [InViewportDirective, i2__namespace.NgClass, i2__namespace.NgIf, LikeButtonComponent, RecipePromotionBadgeComponent, RecipePricingComponent, RecipeCardCtaComponent, IconComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-card{position:relative;display:flex;width:var(--m-catalog-card-width,308px);height:500px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;overflow:hidden;cursor:pointer}.miam-recipe-card .miam-recipe-card__container{display:flex;flex-direction:column;height:100%;width:100%;flex-shrink:0;align-self:stretch}.miam-recipe-card .miam-recipe-card__container:hover .miam-recipe-card__top .miam-recipe-card__picture img{transform:scale(1.1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top{position:relative;flex:1;height:calc(100% - 72px)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture{width:100%;height:100%;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__gradient{position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(180deg,transparent 43.67%,rgba(0,0,0,.4) 91.33%)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom{width:100%;display:flex;justify-content:space-between;align-items:flex-end;padding:12px;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__title{color:var(--miam-ds-color-neutral-white,#fff);text-shadow:0 2px 8px rgba(0,0,0,.15);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:100px;background:var(--miam-ds-color-neutral-white,#fff);color:var(--miam-color-neutral-black);height:-moz-fit-content;height:fit-content;flex-shrink:0}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter span{line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter img{width:16px;height:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container{display:flex;flex-direction:row-reverse;justify-content:space-between;margin:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container{display:flex;padding:8px 12px;background-color:#fff;border-radius:100px;width:auto;height:auto;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container .miam-recipe-card__sponsor-picture{width:auto;height:auto;max-width:80px;max-height:40px;-o-object-fit:contain;object-fit:contain}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container>:not(:last-child),.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge>:not(:last-child){margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button{border-radius:48px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button.miam-ds-button.primary.reverse.square.small .miam-like-button__icon{height:16px;width:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom{display:flex;width:100%;height:72px;flex-direction:column;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:12px;border-radius:0 0 8px 8px;background-color:var(--miam-ds-color-neutral-white,#fff);border-right:1px solid var(--
|
|
21074
|
+
}, directives: [InViewportDirective, i2__namespace.NgClass, i2__namespace.NgIf, LikeButtonComponent, RecipePromotionBadgeComponent, RecipePricingComponent, RecipeCardCtaComponent, IconComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-card{position:relative;display:flex;width:var(--m-catalog-card-width,308px);height:500px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;overflow:hidden;cursor:pointer}.miam-recipe-card .miam-recipe-card__container{display:flex;flex-direction:column;height:100%;width:100%;flex-shrink:0;align-self:stretch}.miam-recipe-card .miam-recipe-card__container:hover .miam-recipe-card__top .miam-recipe-card__picture img{transform:scale(1.1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top{position:relative;flex:1;height:calc(100% - 72px)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture{width:100%;height:100%;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__gradient{position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(180deg,transparent 43.67%,rgba(0,0,0,.4) 91.33%)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom{width:100%;display:flex;justify-content:space-between;align-items:flex-end;padding:12px;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__title{color:var(--miam-ds-color-neutral-white,#fff);text-shadow:0 2px 8px rgba(0,0,0,.15);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:100px;background:var(--miam-ds-color-neutral-white,#fff);color:var(--miam-color-neutral-black);height:-moz-fit-content;height:fit-content;flex-shrink:0}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter span{line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter img{width:16px;height:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container{display:flex;flex-direction:row-reverse;justify-content:space-between;margin:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container{display:flex;padding:8px 12px;background-color:#fff;border-radius:100px;width:auto;height:auto;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container .miam-recipe-card__sponsor-picture{width:auto;height:auto;max-width:80px;max-height:40px;-o-object-fit:contain;object-fit:contain}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container>:not(:last-child),.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge>:not(:last-child){margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button{border-radius:48px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button.miam-ds-button.primary.reverse.square.small .miam-like-button__icon{height:16px;width:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom{display:flex;width:100%;height:72px;flex-direction:column;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:12px;border-radius:0 0 8px 8px;background-color:var(--miam-ds-color-neutral-white,#fff);border-right:1px solid var(--m-color-neutral-200,#d9dde1);border-bottom:1px solid var(--m-color-neutral-200,#d9dde1);border-left:1px solid var(--m-color-neutral-200,#d9dde1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions{display:flex;gap:8px;justify-content:space-between;align-items:center;align-self:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos .miam-recipe-card__price-and-promotion .miam-recipe-card__bottom-promotion{display:none}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__cta{display:flex;flex-direction:row;gap:16px;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time{display:flex;flex-direction:row;color:var(--miam-ds-color-text-disabled);gap:12px;margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time{display:flex}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty img,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time img{margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price{color:var(--miam-ds-color-primary);line-height:100%;margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing{max-width:70px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{color:rgba(31,53,67,.5);font-weight:500;line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__actions__replace{display:flex;flex:1;justify-content:space-between;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{display:flex;flex-direction:column;justify-content:flex-end;flex:1;border-radius:8px;border:1px solid var(--m-color-neutral-200,#d9dde1);box-sizing:border-box;text-decoration:unset}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{height:100%;-o-object-fit:cover;object-fit:cover}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button{margin-top:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button span{font-size:14px;font-weight:700;line-height:16px}@media (max-width:1023px){.miam-recipe-card.redirect-card{width:80vw;height:188px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{flex-direction:row;height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/images/Suggestion_Redirect_Background_Mobile.png);height:136%;margin:-22px -16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{min-width:156px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__title{font-size:16px}}"], encapsulation: 2, changeDetection: 0 });
|
|
21025
21075
|
(function () {
|
|
21026
21076
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCardComponent, [{
|
|
21027
21077
|
type: i0.Component,
|
|
@@ -21072,7 +21122,7 @@
|
|
|
21072
21122
|
type: i0.Output
|
|
21073
21123
|
}] });
|
|
21074
21124
|
})();
|
|
21075
|
-
var templateObject_1$q, templateObject_2$k;
|
|
21125
|
+
var templateObject_1$q, templateObject_2$k, templateObject_3$f, templateObject_4$c;
|
|
21076
21126
|
|
|
21077
21127
|
/**
|
|
21078
21128
|
* This is an angular component design to be a web component
|
|
@@ -21851,7 +21901,7 @@
|
|
|
21851
21901
|
i0__namespace.ɵɵproperty("recipe", recipe_r13)("originTrace", ctx_r3.eventTrace)("displayPricing", ctx_r3.displayPricing)("previewAllowed", !ctx_r3.addRecipeMode)("addRecipeMode", ctx_r3.addRecipeMode)("displayGuests", ctx_r3.displayGuests)("displayVariant", ctx_r3.displayRecipeVariant)("helpButtonAllowed", ctx_r3.helpButtonAllowed);
|
|
21852
21902
|
}
|
|
21853
21903
|
}
|
|
21854
|
-
var _c13
|
|
21904
|
+
var _c13 = function (a0) { return { recipe: a0 }; };
|
|
21855
21905
|
function CatalogListComponent_ng_container_8_ng_container_1_Template(rf, ctx) {
|
|
21856
21906
|
if (rf & 1) {
|
|
21857
21907
|
var _r21_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -21870,7 +21920,7 @@
|
|
|
21870
21920
|
i0__namespace.ɵɵadvance(1);
|
|
21871
21921
|
i0__namespace.ɵɵproperty("isLoading", i0__namespace.ɵɵpipeBind1(2, 3, ctx_r18.loading));
|
|
21872
21922
|
i0__namespace.ɵɵadvance(2);
|
|
21873
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(5, _c13
|
|
21923
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(5, _c13, recipe_r16));
|
|
21874
21924
|
}
|
|
21875
21925
|
}
|
|
21876
21926
|
function CatalogListComponent_ng_container_8_ng_container_2_Template(rf, ctx) {
|
|
@@ -21881,7 +21931,7 @@
|
|
|
21881
21931
|
var recipe_r16 = i0__namespace.ɵɵnextContext().$implicit;
|
|
21882
21932
|
i0__namespace.ɵɵnextContext();
|
|
21883
21933
|
var _r2 = i0__namespace.ɵɵreference(7);
|
|
21884
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c13
|
|
21934
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c13, recipe_r16));
|
|
21885
21935
|
}
|
|
21886
21936
|
}
|
|
21887
21937
|
function CatalogListComponent_ng_container_8_Template(rf, ctx) {
|
|
@@ -22021,10 +22071,7 @@
|
|
|
22021
22071
|
if (this.noMoreRecipes) {
|
|
22022
22072
|
return rxjs.of([]);
|
|
22023
22073
|
}
|
|
22024
|
-
return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function () {
|
|
22025
|
-
// keep a copy of the filters when request is sent, so we can check they are still the same when it is received
|
|
22026
|
-
// Because if it's not the case we have to ignore the results
|
|
22027
|
-
var requestFilters = _this.filters.copy();
|
|
22074
|
+
return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function (requestFilters) {
|
|
22028
22075
|
if (_this.context.displayIngredientPicturesOnRecipeCards && !recipeIncludes$3.includes('ingredients')) {
|
|
22029
22076
|
recipeIncludes$3.push('ingredients');
|
|
22030
22077
|
recipeSparseFields$3.recipes.push('ingredients');
|
|
@@ -23236,9 +23283,9 @@
|
|
|
23236
23283
|
recipeSparseFields$1.recipes.push('ingredients');
|
|
23237
23284
|
recipeSparseFields$1['ingredients'] = ['name', 'quantity', 'unit', 'active', 'forced-eans', 'picture-url', 'position'];
|
|
23238
23285
|
}
|
|
23239
|
-
return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function () {
|
|
23286
|
+
return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function (requestFilters) {
|
|
23240
23287
|
var pageSize = _this.maxRecipeNumber > 0 ? (_this.maxRecipeNumber < 30 ? _this.maxRecipeNumber : 30) : 0;
|
|
23241
|
-
return _this.recipesService.filter(
|
|
23288
|
+
return _this.recipesService.filter(requestFilters, { number: 1, size: pageSize }, recipeIncludes$1, recipeSparseFields$1, _this.modifiedGuests, false, 'position');
|
|
23242
23289
|
}), operators.tap(function (result) { return _this.recipes = result; }));
|
|
23243
23290
|
};
|
|
23244
23291
|
CatalogCategoryComponent.prototype.loadArticles = function () {
|
|
@@ -23312,7 +23359,7 @@
|
|
|
23312
23359
|
if (rf & 2) {
|
|
23313
23360
|
i0__namespace.ɵɵproperty("ngIf", !ctx.hide);
|
|
23314
23361
|
}
|
|
23315
|
-
}, directives: [i2__namespace.NgIf, InViewportDirective, i2__namespace.NgForOf, LoaderComponent, RecipeCardComponent, CatalogArticleCardComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-catalog-category{display:flex;flex-direction:column;margin
|
|
23362
|
+
}, directives: [i2__namespace.NgIf, InViewportDirective, i2__namespace.NgForOf, LoaderComponent, RecipeCardComponent, CatalogArticleCardComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-catalog-category{display:flex;flex-direction:column;margin:20px 0}.miam-catalog-category .miam-catalog-category__header{display:flex;flex-direction:column;margin-bottom:16px}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__title{width:-moz-fit-content;width:fit-content;margin-bottom:4px;font-size:24px;line-height:34px;font-weight:700;cursor:pointer}@media (min-width:1024px){.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__title:hover{text-decoration:underline}}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom{display:flex;align-items:center;justify-content:space-between;width:100%}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__subtitle{color:var(--miam-ds-color-neutral-500)}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__link{display:flex;align-items:center;color:var(--miam-ds-color-primary);cursor:pointer;white-space:nowrap;margin-left:16px;margin-right:4px}@media (min-width:1024px){.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__link:hover{text-decoration:underline}}.miam-catalog-category .miam-catalog-category__content{position:relative;overflow:hidden;padding:16px 0;width:100%;height:var(--m-catalog-card-height);box-sizing:content-box}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards{display:flex;flex-direction:row;flex-wrap:wrap;transition-duration:.5s;gap:16px}@media (min-width:1025px){.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards ng-miam-recipe-card{flex:1;min-width:240px;max-width:308px;display:flex}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards ng-miam-recipe-card .miam-recipe-card{flex:1}}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards .miam-catalog-category__loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards .miam-catalog-category__loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}@media (max-width:1023px){.miam-catalog-category .miam-catalog-category__header{flex-direction:column;align-items:flex-start;margin:0 24px 8px}.miam-catalog-category .miam-catalog-category__content{overflow-x:auto;margin:16px 0}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards{flex-wrap:nowrap;padding:0 24px}}"], encapsulation: 2, changeDetection: 0 });
|
|
23316
23363
|
(function () {
|
|
23317
23364
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CatalogCategoryComponent, [{
|
|
23318
23365
|
type: i0.Component,
|
|
@@ -23396,8 +23443,8 @@
|
|
|
23396
23443
|
}
|
|
23397
23444
|
function CatalogHeaderComponent_a_9_span_1_Template(rf, ctx) {
|
|
23398
23445
|
if (rf & 1) {
|
|
23399
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
23400
|
-
i0__namespace.ɵɵi18n(1,
|
|
23446
|
+
i0__namespace.ɵɵelementStart(0, "span", 22);
|
|
23447
|
+
i0__namespace.ɵɵi18n(1, 23);
|
|
23401
23448
|
i0__namespace.ɵɵelementEnd();
|
|
23402
23449
|
}
|
|
23403
23450
|
}
|
|
@@ -23416,20 +23463,20 @@
|
|
|
23416
23463
|
function CatalogHeaderComponent_a_9_div_3_span_1_Template(rf, ctx) {
|
|
23417
23464
|
if (rf & 1) {
|
|
23418
23465
|
i0__namespace.ɵɵelementStart(0, "span");
|
|
23419
|
-
i0__namespace.ɵɵi18n(1,
|
|
23466
|
+
i0__namespace.ɵɵi18n(1, 25);
|
|
23420
23467
|
i0__namespace.ɵɵelementEnd();
|
|
23421
23468
|
}
|
|
23422
23469
|
}
|
|
23423
23470
|
function CatalogHeaderComponent_a_9_div_3_span_2_Template(rf, ctx) {
|
|
23424
23471
|
if (rf & 1) {
|
|
23425
23472
|
i0__namespace.ɵɵelementStart(0, "span");
|
|
23426
|
-
i0__namespace.ɵɵi18n(1,
|
|
23473
|
+
i0__namespace.ɵɵi18n(1, 26);
|
|
23427
23474
|
i0__namespace.ɵɵelementEnd();
|
|
23428
23475
|
}
|
|
23429
23476
|
}
|
|
23430
23477
|
function CatalogHeaderComponent_a_9_div_3_Template(rf, ctx) {
|
|
23431
23478
|
if (rf & 1) {
|
|
23432
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
23479
|
+
i0__namespace.ɵɵelementStart(0, "div", 24);
|
|
23433
23480
|
i0__namespace.ɵɵtemplate(1, CatalogHeaderComponent_a_9_div_3_span_1_Template, 2, 0, "span", 17);
|
|
23434
23481
|
i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_a_9_div_3_span_2_Template, 2, 0, "span", 17);
|
|
23435
23482
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23444,20 +23491,27 @@
|
|
|
23444
23491
|
}
|
|
23445
23492
|
function CatalogHeaderComponent_a_9_span_4_Template(rf, ctx) {
|
|
23446
23493
|
if (rf & 1) {
|
|
23447
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
23494
|
+
i0__namespace.ɵɵelementStart(0, "span", 27);
|
|
23495
|
+
i0__namespace.ɵɵi18n(1, 28);
|
|
23496
|
+
i0__namespace.ɵɵelementEnd();
|
|
23497
|
+
}
|
|
23498
|
+
}
|
|
23499
|
+
function CatalogHeaderComponent_a_9_span_5_Template(rf, ctx) {
|
|
23500
|
+
if (rf & 1) {
|
|
23501
|
+
i0__namespace.ɵɵelementStart(0, "span", 29);
|
|
23448
23502
|
i0__namespace.ɵɵtext(1);
|
|
23449
23503
|
i0__namespace.ɵɵelementEnd();
|
|
23450
23504
|
}
|
|
23451
23505
|
if (rf & 2) {
|
|
23452
|
-
var
|
|
23506
|
+
var ctx_r14 = i0__namespace.ɵɵnextContext(2);
|
|
23453
23507
|
i0__namespace.ɵɵadvance(1);
|
|
23454
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
23508
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r14.additionalFiltersTitle);
|
|
23455
23509
|
}
|
|
23456
23510
|
}
|
|
23457
|
-
function
|
|
23511
|
+
function CatalogHeaderComponent_a_9_span_6_Template(rf, ctx) {
|
|
23458
23512
|
if (rf & 1) {
|
|
23459
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
23460
|
-
i0__namespace.ɵɵi18n(1,
|
|
23513
|
+
i0__namespace.ɵɵelementStart(0, "span", 30);
|
|
23514
|
+
i0__namespace.ɵɵi18n(1, 31);
|
|
23461
23515
|
i0__namespace.ɵɵelementEnd();
|
|
23462
23516
|
}
|
|
23463
23517
|
}
|
|
@@ -23467,13 +23521,14 @@
|
|
|
23467
23521
|
i0__namespace.ɵɵtemplate(1, CatalogHeaderComponent_a_9_span_1_Template, 2, 0, "span", 16);
|
|
23468
23522
|
i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_a_9_span_2_Template, 2, 1, "span", 17);
|
|
23469
23523
|
i0__namespace.ɵɵtemplate(3, CatalogHeaderComponent_a_9_div_3_Template, 3, 2, "div", 18);
|
|
23470
|
-
i0__namespace.ɵɵtemplate(4, CatalogHeaderComponent_a_9_span_4_Template, 2,
|
|
23471
|
-
i0__namespace.ɵɵtemplate(5, CatalogHeaderComponent_a_9_span_5_Template, 2,
|
|
23524
|
+
i0__namespace.ɵɵtemplate(4, CatalogHeaderComponent_a_9_span_4_Template, 2, 0, "span", 19);
|
|
23525
|
+
i0__namespace.ɵɵtemplate(5, CatalogHeaderComponent_a_9_span_5_Template, 2, 1, "span", 20);
|
|
23526
|
+
i0__namespace.ɵɵtemplate(6, CatalogHeaderComponent_a_9_span_6_Template, 2, 0, "span", 21);
|
|
23472
23527
|
i0__namespace.ɵɵelementEnd();
|
|
23473
23528
|
}
|
|
23474
23529
|
if (rf & 2) {
|
|
23475
23530
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
23476
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
23531
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$2, !ctx_r3.home));
|
|
23477
23532
|
i0__namespace.ɵɵadvance(1);
|
|
23478
23533
|
i0__namespace.ɵɵproperty("ngIf", ctx_r3.isSearchPage());
|
|
23479
23534
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23481,6 +23536,8 @@
|
|
|
23481
23536
|
i0__namespace.ɵɵadvance(1);
|
|
23482
23537
|
i0__namespace.ɵɵproperty("ngIf", ctx_r3.isFavoritesPage());
|
|
23483
23538
|
i0__namespace.ɵɵadvance(1);
|
|
23539
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r3.isAllRecipesPage());
|
|
23540
|
+
i0__namespace.ɵɵadvance(1);
|
|
23484
23541
|
i0__namespace.ɵɵproperty("ngIf", ctx_r3.isCategoryPage());
|
|
23485
23542
|
i0__namespace.ɵɵadvance(1);
|
|
23486
23543
|
i0__namespace.ɵɵproperty("ngIf", ctx_r3.isDefaultPage());
|
|
@@ -23493,44 +23550,44 @@
|
|
|
23493
23550
|
i0__namespace.ɵɵelementEnd();
|
|
23494
23551
|
}
|
|
23495
23552
|
if (rf & 2) {
|
|
23496
|
-
var
|
|
23553
|
+
var ctx_r18 = i0__namespace.ɵɵnextContext(2);
|
|
23497
23554
|
i0__namespace.ɵɵadvance(1);
|
|
23498
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
23555
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r18.catalogSetting == null ? null : ctx_r18.catalogSetting.attributes["banner-text"], " ");
|
|
23499
23556
|
}
|
|
23500
23557
|
}
|
|
23501
23558
|
function CatalogHeaderComponent_div_10_ng_template_3_Template(rf, ctx) {
|
|
23502
23559
|
if (rf & 1) {
|
|
23503
23560
|
i0__namespace.ɵɵelementStart(0, "span");
|
|
23504
|
-
i0__namespace.ɵɵi18n(1,
|
|
23561
|
+
i0__namespace.ɵɵi18n(1, 36);
|
|
23505
23562
|
i0__namespace.ɵɵelementEnd();
|
|
23506
23563
|
}
|
|
23507
23564
|
}
|
|
23508
23565
|
function CatalogHeaderComponent_div_10_Template(rf, ctx) {
|
|
23509
23566
|
if (rf & 1) {
|
|
23510
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
23511
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
23512
|
-
i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_div_10_div_2_Template, 2, 1, "div",
|
|
23513
|
-
i0__namespace.ɵɵtemplate(3, CatalogHeaderComponent_div_10_ng_template_3_Template, 2, 0, "ng-template", null,
|
|
23567
|
+
i0__namespace.ɵɵelementStart(0, "div", 32);
|
|
23568
|
+
i0__namespace.ɵɵelementStart(1, "div", 33);
|
|
23569
|
+
i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_div_10_div_2_Template, 2, 1, "div", 34);
|
|
23570
|
+
i0__namespace.ɵɵtemplate(3, CatalogHeaderComponent_div_10_ng_template_3_Template, 2, 0, "ng-template", null, 35, i0__namespace.ɵɵtemplateRefExtractor);
|
|
23514
23571
|
i0__namespace.ɵɵelementEnd();
|
|
23515
23572
|
i0__namespace.ɵɵelementEnd();
|
|
23516
23573
|
}
|
|
23517
23574
|
if (rf & 2) {
|
|
23518
|
-
var
|
|
23575
|
+
var _r19 = i0__namespace.ɵɵreference(4);
|
|
23519
23576
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
23520
23577
|
i0__namespace.ɵɵadvance(2);
|
|
23521
|
-
i0__namespace.ɵɵproperty("ngIf", (ctx_r4.catalogSetting == null ? null : ctx_r4.catalogSetting.attributes["banner-text"] == null ? null : ctx_r4.catalogSetting.attributes["banner-text"].length) > 0)("ngIfElse",
|
|
23578
|
+
i0__namespace.ɵɵproperty("ngIf", (ctx_r4.catalogSetting == null ? null : ctx_r4.catalogSetting.attributes["banner-text"] == null ? null : ctx_r4.catalogSetting.attributes["banner-text"].length) > 0)("ngIfElse", _r19);
|
|
23522
23579
|
}
|
|
23523
23580
|
}
|
|
23524
23581
|
function CatalogHeaderComponent_div_11_Template(rf, ctx) {
|
|
23525
23582
|
if (rf & 1) {
|
|
23526
|
-
i0__namespace.ɵɵelement(0, "div",
|
|
23583
|
+
i0__namespace.ɵɵelement(0, "div", 37);
|
|
23527
23584
|
}
|
|
23528
23585
|
if (rf & 2) {
|
|
23529
23586
|
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
23530
23587
|
i0__namespace.ɵɵstyleProp("background-image", "url(" + ((ctx_r5.catalogSetting == null ? null : ctx_r5.catalogSetting.attributes["banner-image"] == null ? null : ctx_r5.catalogSetting.attributes["banner-image"].length) > 0 ? ctx_r5.catalogSetting == null ? null : ctx_r5.catalogSetting.attributes["banner-image"] : ctx_r5.pictureUrl) + ")");
|
|
23531
23588
|
}
|
|
23532
23589
|
}
|
|
23533
|
-
var
|
|
23590
|
+
var _c15 = function (a0) { return { reduced: a0 }; };
|
|
23534
23591
|
var CatalogHeaderComponent = /** @class */ (function () {
|
|
23535
23592
|
function CatalogHeaderComponent(cdr, context) {
|
|
23536
23593
|
this.cdr = cdr;
|
|
@@ -23550,12 +23607,19 @@
|
|
|
23550
23607
|
CatalogHeaderComponent.prototype.isFavoritesPage = function () {
|
|
23551
23608
|
return !this.home && !this.isSearchPage() && this.additionalFiltersTitle === 'Mes idées repas';
|
|
23552
23609
|
};
|
|
23610
|
+
CatalogHeaderComponent.prototype.isAllRecipesPage = function () {
|
|
23611
|
+
return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && this.additionalFiltersTitle === 'Toutes nos recettes';
|
|
23612
|
+
};
|
|
23553
23613
|
CatalogHeaderComponent.prototype.isCategoryPage = function () {
|
|
23554
23614
|
var _a;
|
|
23555
|
-
return !this.home &&
|
|
23615
|
+
return !this.home &&
|
|
23616
|
+
!this.isSearchPage() &&
|
|
23617
|
+
!this.isFavoritesPage() &&
|
|
23618
|
+
!this.isAllRecipesPage() &&
|
|
23619
|
+
((_a = this.additionalFiltersTitle) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
23556
23620
|
};
|
|
23557
23621
|
CatalogHeaderComponent.prototype.isDefaultPage = function () {
|
|
23558
|
-
return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && !this.isCategoryPage();
|
|
23622
|
+
return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && !this.isAllRecipesPage() && !this.isCategoryPage();
|
|
23559
23623
|
};
|
|
23560
23624
|
return CatalogHeaderComponent;
|
|
23561
23625
|
}());
|
|
@@ -23595,21 +23659,29 @@
|
|
|
23595
23659
|
}
|
|
23596
23660
|
var i18n_9;
|
|
23597
23661
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
23598
|
-
var
|
|
23599
|
-
i18n_9 =
|
|
23662
|
+
var MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10 = goog.getMsg("Toutes nos recettes");
|
|
23663
|
+
i18n_9 = MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10;
|
|
23600
23664
|
}
|
|
23601
23665
|
else {
|
|
23602
|
-
i18n_9 = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":\
|
|
23666
|
+
i18n_9 = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
|
|
23603
23667
|
}
|
|
23604
23668
|
var i18n_11;
|
|
23605
23669
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
23606
|
-
var
|
|
23607
|
-
i18n_11 =
|
|
23670
|
+
var MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12 = goog.getMsg("Votre s\u00E9lection");
|
|
23671
|
+
i18n_11 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12;
|
|
23608
23672
|
}
|
|
23609
23673
|
else {
|
|
23610
|
-
i18n_11 = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":\
|
|
23674
|
+
i18n_11 = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
|
|
23611
23675
|
}
|
|
23612
|
-
|
|
23676
|
+
var i18n_13;
|
|
23677
|
+
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
23678
|
+
var MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___14 = goog.getMsg("Id\u00E9es repas en 1 clic");
|
|
23679
|
+
i18n_13 = MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___14;
|
|
23680
|
+
}
|
|
23681
|
+
else {
|
|
23682
|
+
i18n_13 = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"], [":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"])));
|
|
23683
|
+
}
|
|
23684
|
+
return [[1, "miam-catalog-header", 3, "ngClass"], [1, "miam-catalog-header__left"], [1, "miam-catalog-header__nav"], ["href", "/"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Home.svg", "alt", "Home"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-l", 3, "ngClass", "click", 4, "ngIf"], ["href", "javascript:void(0)", 3, "ngClass", "click", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret", 4, "ngIf"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-xxl", 3, "ngClass", 4, "ngIf"], ["class", "miam-catalog-header__title-container", 4, "ngIf"], ["class", "miam-catalog-header__right", 3, "background-image", 4, "ngIf"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-l", 3, "ngClass", "click"], i18n_0, ["href", "javascript:void(0)", 3, "ngClass", "click"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-xxl", 3, "ngClass"], ["class", "miam-catalog-header__search-label", 4, "ngIf"], [4, "ngIf"], ["class", "miam-catalog-header__favorites-label", 4, "ngIf"], ["class", "miam-catalog-header__all-recipes-label", 4, "ngIf"], ["class", "miam-catalog-header__category-label", 4, "ngIf"], ["class", "miam-catalog-header__default-label", 4, "ngIf"], [1, "miam-catalog-header__search-label"], i18n_3, [1, "miam-catalog-header__favorites-label"], i18n_5, i18n_7, [1, "miam-catalog-header__all-recipes-label"], i18n_9, [1, "miam-catalog-header__category-label"], [1, "miam-catalog-header__default-label"], i18n_11, [1, "miam-catalog-header__title-container"], [1, "miam-catalog-header__title"], [4, "ngIf", "ngIfElse"], ["baseTitle", ""], i18n_13, [1, "miam-catalog-header__right"]];
|
|
23613
23685
|
}, template: function CatalogHeaderComponent_Template(rf, ctx) {
|
|
23614
23686
|
if (rf & 1) {
|
|
23615
23687
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -23622,7 +23694,7 @@
|
|
|
23622
23694
|
i0__namespace.ɵɵtemplate(6, CatalogHeaderComponent_a_6_Template, 3, 3, "a", 6);
|
|
23623
23695
|
i0__namespace.ɵɵtemplate(7, CatalogHeaderComponent_a_7_Template, 2, 4, "a", 7);
|
|
23624
23696
|
i0__namespace.ɵɵtemplate(8, CatalogHeaderComponent_img_8_Template, 1, 0, "img", 8);
|
|
23625
|
-
i0__namespace.ɵɵtemplate(9, CatalogHeaderComponent_a_9_Template,
|
|
23697
|
+
i0__namespace.ɵɵtemplate(9, CatalogHeaderComponent_a_9_Template, 7, 9, "a", 9);
|
|
23626
23698
|
i0__namespace.ɵɵelementEnd();
|
|
23627
23699
|
i0__namespace.ɵɵtemplate(10, CatalogHeaderComponent_div_10_Template, 5, 2, "div", 10);
|
|
23628
23700
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23630,7 +23702,7 @@
|
|
|
23630
23702
|
i0__namespace.ɵɵelementEnd();
|
|
23631
23703
|
}
|
|
23632
23704
|
if (rf & 2) {
|
|
23633
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7,
|
|
23705
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c15, !ctx.home));
|
|
23634
23706
|
i0__namespace.ɵɵadvance(6);
|
|
23635
23707
|
i0__namespace.ɵɵproperty("ngIf", !ctx.homeLabel);
|
|
23636
23708
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23673,7 +23745,7 @@
|
|
|
23673
23745
|
type: i0.Output
|
|
23674
23746
|
}] });
|
|
23675
23747
|
})();
|
|
23676
|
-
var templateObject_1$g, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$6, templateObject_6$5;
|
|
23748
|
+
var templateObject_1$g, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$6, templateObject_6$5, templateObject_7$5;
|
|
23677
23749
|
|
|
23678
23750
|
function CatalogToolbarComponent_input_5_Template(rf, ctx) {
|
|
23679
23751
|
if (rf & 1) {
|
|
@@ -24193,7 +24265,7 @@
|
|
|
24193
24265
|
i0__namespace.ɵɵproperty("alt", "remove " + ingredient_r15.tag.attributes.name);
|
|
24194
24266
|
}
|
|
24195
24267
|
}
|
|
24196
|
-
var _c18
|
|
24268
|
+
var _c18 = function (a0) { return { "checked": a0 }; };
|
|
24197
24269
|
function PreferencesComponent_ng_container_5_button_17_Template(rf, ctx) {
|
|
24198
24270
|
if (rf & 1) {
|
|
24199
24271
|
var _r19_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -24211,7 +24283,7 @@
|
|
|
24211
24283
|
if (rf & 2) {
|
|
24212
24284
|
var ingredient_r15 = ctx.$implicit;
|
|
24213
24285
|
var ctx_r10 = i0__namespace.ɵɵnextContext(2);
|
|
24214
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c18
|
|
24286
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c18, ingredient_r15.checked));
|
|
24215
24287
|
i0__namespace.ɵɵadvance(3);
|
|
24216
24288
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 3, ingredient_r15.tag.attributes.name));
|
|
24217
24289
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -24732,9 +24804,9 @@
|
|
|
24732
24804
|
}
|
|
24733
24805
|
function RecipeCatalogComponent_div_2_div_7_div_4_Template(rf, ctx) {
|
|
24734
24806
|
if (rf & 1) {
|
|
24735
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24807
|
+
i0__namespace.ɵɵelementStart(0, "div", 39);
|
|
24736
24808
|
i0__namespace.ɵɵelementStart(1, "span");
|
|
24737
|
-
i0__namespace.ɵɵi18n(2,
|
|
24809
|
+
i0__namespace.ɵɵi18n(2, 40);
|
|
24738
24810
|
i0__namespace.ɵɵelementEnd();
|
|
24739
24811
|
i0__namespace.ɵɵelementStart(3, "span");
|
|
24740
24812
|
i0__namespace.ɵɵtext(4);
|
|
@@ -24750,22 +24822,22 @@
|
|
|
24750
24822
|
function RecipeCatalogComponent_div_2_div_7_div_5_span_1_Template(rf, ctx) {
|
|
24751
24823
|
if (rf & 1) {
|
|
24752
24824
|
i0__namespace.ɵɵelementStart(0, "span");
|
|
24753
|
-
i0__namespace.ɵɵi18n(1,
|
|
24825
|
+
i0__namespace.ɵɵi18n(1, 43);
|
|
24754
24826
|
i0__namespace.ɵɵelementEnd();
|
|
24755
24827
|
}
|
|
24756
24828
|
}
|
|
24757
24829
|
function RecipeCatalogComponent_div_2_div_7_div_5_span_2_Template(rf, ctx) {
|
|
24758
24830
|
if (rf & 1) {
|
|
24759
24831
|
i0__namespace.ɵɵelementStart(0, "span");
|
|
24760
|
-
i0__namespace.ɵɵi18n(1,
|
|
24832
|
+
i0__namespace.ɵɵi18n(1, 44);
|
|
24761
24833
|
i0__namespace.ɵɵelementEnd();
|
|
24762
24834
|
}
|
|
24763
24835
|
}
|
|
24764
24836
|
function RecipeCatalogComponent_div_2_div_7_div_5_Template(rf, ctx) {
|
|
24765
24837
|
if (rf & 1) {
|
|
24766
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24767
|
-
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_5_span_1_Template, 2, 0, "span",
|
|
24768
|
-
i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_div_7_div_5_span_2_Template, 2, 0, "span",
|
|
24838
|
+
i0__namespace.ɵɵelementStart(0, "div", 41);
|
|
24839
|
+
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_5_span_1_Template, 2, 0, "span", 42);
|
|
24840
|
+
i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_div_7_div_5_span_2_Template, 2, 0, "span", 42);
|
|
24769
24841
|
i0__namespace.ɵɵelementEnd();
|
|
24770
24842
|
}
|
|
24771
24843
|
if (rf & 2) {
|
|
@@ -24778,145 +24850,153 @@
|
|
|
24778
24850
|
}
|
|
24779
24851
|
function RecipeCatalogComponent_div_2_div_7_span_6_Template(rf, ctx) {
|
|
24780
24852
|
if (rf & 1) {
|
|
24781
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
24782
|
-
i0__namespace.ɵɵi18n(1,
|
|
24853
|
+
i0__namespace.ɵɵelementStart(0, "span", 45);
|
|
24854
|
+
i0__namespace.ɵɵi18n(1, 46);
|
|
24855
|
+
i0__namespace.ɵɵelementEnd();
|
|
24856
|
+
}
|
|
24857
|
+
}
|
|
24858
|
+
function RecipeCatalogComponent_div_2_div_7_span_7_Template(rf, ctx) {
|
|
24859
|
+
if (rf & 1) {
|
|
24860
|
+
i0__namespace.ɵɵelementStart(0, "span", 47);
|
|
24861
|
+
i0__namespace.ɵɵi18n(1, 48);
|
|
24783
24862
|
i0__namespace.ɵɵelementEnd();
|
|
24784
24863
|
}
|
|
24785
24864
|
}
|
|
24786
|
-
function
|
|
24865
|
+
function RecipeCatalogComponent_div_2_div_7_div_8_span_3_Template(rf, ctx) {
|
|
24787
24866
|
if (rf & 1) {
|
|
24788
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
24867
|
+
i0__namespace.ɵɵelementStart(0, "span", 52);
|
|
24789
24868
|
i0__namespace.ɵɵtext(1);
|
|
24790
24869
|
i0__namespace.ɵɵelementEnd();
|
|
24791
24870
|
}
|
|
24792
24871
|
if (rf & 2) {
|
|
24793
|
-
var
|
|
24872
|
+
var ctx_r32 = i0__namespace.ɵɵnextContext(4);
|
|
24794
24873
|
i0__namespace.ɵɵadvance(1);
|
|
24795
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
24874
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r32.filters.additionalFilters.subtitle, " ");
|
|
24796
24875
|
}
|
|
24797
24876
|
}
|
|
24798
|
-
function
|
|
24877
|
+
function RecipeCatalogComponent_div_2_div_7_div_8_Template(rf, ctx) {
|
|
24799
24878
|
if (rf & 1) {
|
|
24800
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24801
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
24879
|
+
i0__namespace.ɵɵelementStart(0, "div", 49);
|
|
24880
|
+
i0__namespace.ɵɵelementStart(1, "span", 50);
|
|
24802
24881
|
i0__namespace.ɵɵtext(2);
|
|
24803
24882
|
i0__namespace.ɵɵelementEnd();
|
|
24804
|
-
i0__namespace.ɵɵtemplate(3,
|
|
24883
|
+
i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_2_div_7_div_8_span_3_Template, 2, 1, "span", 51);
|
|
24805
24884
|
i0__namespace.ɵɵelementEnd();
|
|
24806
24885
|
}
|
|
24807
24886
|
if (rf & 2) {
|
|
24808
|
-
var
|
|
24887
|
+
var ctx_r24 = i0__namespace.ɵɵnextContext(3);
|
|
24809
24888
|
i0__namespace.ɵɵadvance(2);
|
|
24810
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
24889
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r24.filters.additionalFilters.title);
|
|
24811
24890
|
i0__namespace.ɵɵadvance(1);
|
|
24812
|
-
i0__namespace.ɵɵproperty("ngIf", (
|
|
24891
|
+
i0__namespace.ɵɵproperty("ngIf", (ctx_r24.filters.additionalFilters.subtitle == null ? null : ctx_r24.filters.additionalFilters.subtitle.length) > 0);
|
|
24813
24892
|
}
|
|
24814
24893
|
}
|
|
24815
|
-
function
|
|
24894
|
+
function RecipeCatalogComponent_div_2_div_7_span_9_Template(rf, ctx) {
|
|
24816
24895
|
if (rf & 1) {
|
|
24817
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
24818
|
-
i0__namespace.ɵɵi18n(1,
|
|
24896
|
+
i0__namespace.ɵɵelementStart(0, "span", 53);
|
|
24897
|
+
i0__namespace.ɵɵi18n(1, 54);
|
|
24819
24898
|
i0__namespace.ɵɵelementEnd();
|
|
24820
24899
|
}
|
|
24821
24900
|
}
|
|
24822
|
-
function
|
|
24901
|
+
function RecipeCatalogComponent_div_2_div_7_div_11_Template(rf, ctx) {
|
|
24823
24902
|
if (rf & 1) {
|
|
24824
|
-
var
|
|
24825
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24826
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
24827
|
-
i0__namespace.ɵɵlistener("click", function
|
|
24828
|
-
i0__namespace.ɵɵelement(2, "img",
|
|
24903
|
+
var _r34_1 = i0__namespace.ɵɵgetCurrentView();
|
|
24904
|
+
i0__namespace.ɵɵelementStart(0, "div", 55);
|
|
24905
|
+
i0__namespace.ɵɵelementStart(1, "div", 56);
|
|
24906
|
+
i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_div_11_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r34_1); var ctx_r33 = i0__namespace.ɵɵnextContext(3); return ctx_r33.toggleHistory(false); });
|
|
24907
|
+
i0__namespace.ɵɵelement(2, "img", 57);
|
|
24829
24908
|
i0__namespace.ɵɵelementStart(3, "span");
|
|
24830
|
-
i0__namespace.ɵɵi18n(4,
|
|
24909
|
+
i0__namespace.ɵɵi18n(4, 58);
|
|
24831
24910
|
i0__namespace.ɵɵelementEnd();
|
|
24832
24911
|
i0__namespace.ɵɵelementEnd();
|
|
24833
|
-
i0__namespace.ɵɵelementStart(5, "div",
|
|
24834
|
-
i0__namespace.ɵɵlistener("click", function
|
|
24835
|
-
i0__namespace.ɵɵelement(6, "img",
|
|
24912
|
+
i0__namespace.ɵɵelementStart(5, "div", 59);
|
|
24913
|
+
i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_div_11_Template_div_click_5_listener() { i0__namespace.ɵɵrestoreView(_r34_1); var ctx_r35 = i0__namespace.ɵɵnextContext(3); return ctx_r35.toggleHistory(true); });
|
|
24914
|
+
i0__namespace.ɵɵelement(6, "img", 60);
|
|
24836
24915
|
i0__namespace.ɵɵelementStart(7, "span");
|
|
24837
|
-
i0__namespace.ɵɵi18n(8,
|
|
24916
|
+
i0__namespace.ɵɵi18n(8, 61);
|
|
24838
24917
|
i0__namespace.ɵɵelementEnd();
|
|
24839
24918
|
i0__namespace.ɵɵelementEnd();
|
|
24840
24919
|
i0__namespace.ɵɵelementEnd();
|
|
24841
24920
|
}
|
|
24842
24921
|
if (rf & 2) {
|
|
24843
|
-
var
|
|
24922
|
+
var ctx_r26 = i0__namespace.ɵɵnextContext(3);
|
|
24844
24923
|
i0__namespace.ɵɵadvance(1);
|
|
24845
|
-
i0__namespace.ɵɵclassProp("active", !
|
|
24924
|
+
i0__namespace.ɵɵclassProp("active", !ctx_r26.historyDisplayed)("inactive", ctx_r26.historyDisplayed);
|
|
24846
24925
|
i0__namespace.ɵɵadvance(1);
|
|
24847
|
-
i0__namespace.ɵɵproperty("src", !
|
|
24926
|
+
i0__namespace.ɵɵproperty("src", !ctx_r26.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
|
|
24848
24927
|
i0__namespace.ɵɵadvance(3);
|
|
24849
|
-
i0__namespace.ɵɵclassProp("active",
|
|
24928
|
+
i0__namespace.ɵɵclassProp("active", ctx_r26.historyDisplayed)("inactive", !ctx_r26.historyDisplayed);
|
|
24850
24929
|
i0__namespace.ɵɵadvance(1);
|
|
24851
|
-
i0__namespace.ɵɵproperty("src",
|
|
24930
|
+
i0__namespace.ɵɵproperty("src", ctx_r26.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/History.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/History_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
|
|
24852
24931
|
}
|
|
24853
24932
|
}
|
|
24854
|
-
var
|
|
24855
|
-
function
|
|
24933
|
+
var _c20 = function (a0, a1, a2, a3, a4) { return { "miam-recipe-catalog__favorites-list": a0, "miam-recipe-catalog__search-list": a1, "miam-recipe-catalog__all-recipes-list": a2, "miam-recipe-catalog__category-list": a3, "miam-recipe-catalog__default-list": a4 }; };
|
|
24934
|
+
function RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_15_Template(rf, ctx) {
|
|
24856
24935
|
if (rf & 1) {
|
|
24857
|
-
var
|
|
24858
|
-
i0__namespace.ɵɵelementStart(0, "ng-miam-catalog-list",
|
|
24859
|
-
i0__namespace.ɵɵlistener("filterRemoved", function
|
|
24936
|
+
var _r37_1 = i0__namespace.ɵɵgetCurrentView();
|
|
24937
|
+
i0__namespace.ɵɵelementStart(0, "ng-miam-catalog-list", 62);
|
|
24938
|
+
i0__namespace.ɵɵlistener("filterRemoved", function RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_15_Template_ng_miam_catalog_list_filterRemoved_0_listener($event) { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r36 = i0__namespace.ɵɵnextContext(3); return ctx_r36.removeFilter($event); });
|
|
24860
24939
|
i0__namespace.ɵɵelementEnd();
|
|
24861
24940
|
}
|
|
24862
24941
|
if (rf & 2) {
|
|
24863
|
-
var
|
|
24864
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵ
|
|
24942
|
+
var ctx_r28 = i0__namespace.ɵɵnextContext(3);
|
|
24943
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction5(7, _c20, ctx_r28.isFavoritesPage(), ctx_r28.isSearchPage(), ctx_r28.isAllRecipesPage(), ctx_r28.isCategoryPage(), ctx_r28.isDefaultPage()))("filters", ctx_r28.filters)("originTrace", ctx_r28.eventTrace)("displayPricing", ctx_r28.displayPricing)("displayInfos", ctx_r28.displayInfos)("modifiedGuests", ctx_r28.guests)("displayRecipeVariant", ctx_r28.displayRecipeVariant);
|
|
24865
24944
|
}
|
|
24866
24945
|
}
|
|
24867
|
-
function
|
|
24946
|
+
function RecipeCatalogComponent_div_2_div_7_div_16_div_1_Template(rf, ctx) {
|
|
24868
24947
|
if (rf & 1) {
|
|
24869
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24948
|
+
i0__namespace.ɵɵelementStart(0, "div", 66);
|
|
24870
24949
|
i0__namespace.ɵɵelement(1, "ng-miam-loader");
|
|
24871
24950
|
i0__namespace.ɵɵelementStart(2, "span");
|
|
24872
|
-
i0__namespace.ɵɵi18n(3,
|
|
24951
|
+
i0__namespace.ɵɵi18n(3, 67);
|
|
24873
24952
|
i0__namespace.ɵɵelementEnd();
|
|
24874
24953
|
i0__namespace.ɵɵelementEnd();
|
|
24875
24954
|
}
|
|
24876
24955
|
}
|
|
24877
|
-
function
|
|
24956
|
+
function RecipeCatalogComponent_div_2_div_7_div_16_Template(rf, ctx) {
|
|
24878
24957
|
if (rf & 1) {
|
|
24879
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24880
|
-
i0__namespace.ɵɵtemplate(1,
|
|
24881
|
-
i0__namespace.ɵɵelement(2, "div",
|
|
24958
|
+
i0__namespace.ɵɵelementStart(0, "div", 63);
|
|
24959
|
+
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_16_div_1_Template, 4, 0, "div", 64);
|
|
24960
|
+
i0__namespace.ɵɵelement(2, "div", 65);
|
|
24882
24961
|
i0__namespace.ɵɵelementEnd();
|
|
24883
24962
|
}
|
|
24884
24963
|
if (rf & 2) {
|
|
24885
|
-
var
|
|
24964
|
+
var ctx_r29 = i0__namespace.ɵɵnextContext(3);
|
|
24886
24965
|
i0__namespace.ɵɵadvance(1);
|
|
24887
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
24966
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r29.historyService.fetchingHTMLLoader$.value);
|
|
24888
24967
|
i0__namespace.ɵɵadvance(1);
|
|
24889
|
-
i0__namespace.ɵɵproperty("innerHTML",
|
|
24968
|
+
i0__namespace.ɵɵproperty("innerHTML", ctx_r29.historyHTML, i0__namespace.ɵɵsanitizeHtml);
|
|
24890
24969
|
}
|
|
24891
24970
|
}
|
|
24892
24971
|
function RecipeCatalogComponent_div_2_div_7_Template(rf, ctx) {
|
|
24893
24972
|
if (rf & 1) {
|
|
24894
|
-
var
|
|
24973
|
+
var _r40_1 = i0__namespace.ɵɵgetCurrentView();
|
|
24895
24974
|
i0__namespace.ɵɵelementStart(0, "div", 25);
|
|
24896
24975
|
i0__namespace.ɵɵelementStart(1, "div", 26);
|
|
24897
24976
|
i0__namespace.ɵɵelementStart(2, "button", 27);
|
|
24898
|
-
i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(
|
|
24977
|
+
i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r39 = i0__namespace.ɵɵnextContext(2); return ctx_r39.returnToHomePage(); });
|
|
24899
24978
|
i0__namespace.ɵɵelement(3, "img", 28);
|
|
24900
24979
|
i0__namespace.ɵɵelementEnd();
|
|
24901
24980
|
i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_div_2_div_7_div_4_Template, 5, 1, "div", 29);
|
|
24902
24981
|
i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_2_div_7_div_5_Template, 3, 2, "div", 30);
|
|
24903
24982
|
i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_2_div_7_span_6_Template, 2, 0, "span", 31);
|
|
24904
|
-
i0__namespace.ɵɵtemplate(7,
|
|
24905
|
-
i0__namespace.ɵɵtemplate(8,
|
|
24983
|
+
i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_span_7_Template, 2, 0, "span", 32);
|
|
24984
|
+
i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_div_2_div_7_div_8_Template, 4, 2, "div", 33);
|
|
24985
|
+
i0__namespace.ɵɵtemplate(9, RecipeCatalogComponent_div_2_div_7_span_9_Template, 2, 0, "span", 34);
|
|
24906
24986
|
i0__namespace.ɵɵelementEnd();
|
|
24907
|
-
i0__namespace.ɵɵelement(
|
|
24908
|
-
i0__namespace.ɵɵtemplate(
|
|
24909
|
-
i0__namespace.ɵɵelementStart(
|
|
24910
|
-
i0__namespace.ɵɵelementStart(
|
|
24911
|
-
i0__namespace.ɵɵlistener("filterButtonPressed", function
|
|
24987
|
+
i0__namespace.ɵɵelement(10, "div", 14);
|
|
24988
|
+
i0__namespace.ɵɵtemplate(11, RecipeCatalogComponent_div_2_div_7_div_11_Template, 9, 10, "div", 35);
|
|
24989
|
+
i0__namespace.ɵɵelementStart(12, "div", 15, 36);
|
|
24990
|
+
i0__namespace.ɵɵelementStart(14, "ng-miam-catalog-toolbar", 17);
|
|
24991
|
+
i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_filterButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r41 = i0__namespace.ɵɵnextContext(2); return ctx_r41.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r42 = i0__namespace.ɵɵnextContext(2); return ctx_r42.isPreferenceModalOpen = !ctx_r42.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_searchStringChanged_14_listener($event) { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r43 = i0__namespace.ɵɵnextContext(2); return ctx_r43.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r44 = i0__namespace.ɵɵnextContext(2); return ctx_r44.checkAndSetFavoritesFilter(); })("returnHomePressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_returnHomePressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r45 = i0__namespace.ɵɵnextContext(2); return ctx_r45.returnToHomePage(); });
|
|
24912
24992
|
i0__namespace.ɵɵelementEnd();
|
|
24913
24993
|
i0__namespace.ɵɵelementEnd();
|
|
24914
|
-
i0__namespace.ɵɵtemplate(
|
|
24915
|
-
i0__namespace.ɵɵtemplate(
|
|
24994
|
+
i0__namespace.ɵɵtemplate(15, RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_15_Template, 1, 13, "ng-miam-catalog-list", 37);
|
|
24995
|
+
i0__namespace.ɵɵtemplate(16, RecipeCatalogComponent_div_2_div_7_div_16_Template, 3, 2, "div", 38);
|
|
24916
24996
|
i0__namespace.ɵɵelementEnd();
|
|
24917
24997
|
}
|
|
24918
24998
|
if (rf & 2) {
|
|
24919
|
-
var
|
|
24999
|
+
var _r27 = i0__namespace.ɵɵreference(13);
|
|
24920
25000
|
var ctx_r6 = i0__namespace.ɵɵnextContext(2);
|
|
24921
25001
|
i0__namespace.ɵɵadvance(4);
|
|
24922
25002
|
i0__namespace.ɵɵproperty("ngIf", ctx_r6.isSearchPage());
|
|
@@ -24925,13 +25005,15 @@
|
|
|
24925
25005
|
i0__namespace.ɵɵadvance(1);
|
|
24926
25006
|
i0__namespace.ɵɵproperty("ngIf", ctx_r6.isPromotionsPage());
|
|
24927
25007
|
i0__namespace.ɵɵadvance(1);
|
|
25008
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r6.isAllRecipesPage());
|
|
25009
|
+
i0__namespace.ɵɵadvance(1);
|
|
24928
25010
|
i0__namespace.ɵɵproperty("ngIf", ctx_r6.isCategoryPage());
|
|
24929
25011
|
i0__namespace.ɵɵadvance(1);
|
|
24930
25012
|
i0__namespace.ɵɵproperty("ngIf", ctx_r6.isDefaultPage());
|
|
24931
25013
|
i0__namespace.ɵɵadvance(2);
|
|
24932
25014
|
i0__namespace.ɵɵproperty("ngIf", ctx_r6.isFavoritesPage() && ctx_r6.contextService.orderHistoryEnabled);
|
|
24933
25015
|
i0__namespace.ɵɵadvance(3);
|
|
24934
|
-
i0__namespace.ɵɵproperty("home", ctx_r6.displayHomePage())("history", ctx_r6.historyDisplayed)("searchTerm", ctx_r6.filters == null ? null : ctx_r6.filters.search)("additionalFiltersTitle", ctx_r6.filters == null ? null : ctx_r6.filters.additionalFilters == null ? null : ctx_r6.filters.additionalFilters.title)("hideButtons", ctx_r6.isFavoritesPage())("filterBadgeCount", ctx_r6.filters.selectableFiltersCount())("reduced",
|
|
25016
|
+
i0__namespace.ɵɵproperty("home", ctx_r6.displayHomePage())("history", ctx_r6.historyDisplayed)("searchTerm", ctx_r6.filters == null ? null : ctx_r6.filters.search)("additionalFiltersTitle", ctx_r6.filters == null ? null : ctx_r6.filters.additionalFilters == null ? null : ctx_r6.filters.additionalFilters.title)("hideButtons", ctx_r6.isFavoritesPage())("filterBadgeCount", ctx_r6.filters.selectableFiltersCount())("reduced", _r27.classList.contains("sticking"));
|
|
24935
25017
|
i0__namespace.ɵɵadvance(1);
|
|
24936
25018
|
i0__namespace.ɵɵproperty("ngIf", !ctx_r6.historyDisplayed);
|
|
24937
25019
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -24940,18 +25022,18 @@
|
|
|
24940
25022
|
}
|
|
24941
25023
|
function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template(rf, ctx) {
|
|
24942
25024
|
if (rf & 1) {
|
|
24943
|
-
var
|
|
25025
|
+
var _r54_1 = i0__namespace.ɵɵgetCurrentView();
|
|
24944
25026
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
24945
|
-
i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category",
|
|
24946
|
-
i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
25027
|
+
i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 73);
|
|
25028
|
+
i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r54_1); var ctx_r53 = i0__namespace.ɵɵnextContext(5); return ctx_r53.categoryTitleClicked($event); });
|
|
24947
25029
|
i0__namespace.ɵɵelementEnd();
|
|
24948
25030
|
i0__namespace.ɵɵelementContainerEnd();
|
|
24949
25031
|
}
|
|
24950
25032
|
if (rf & 2) {
|
|
24951
|
-
var
|
|
24952
|
-
var
|
|
25033
|
+
var category_r48 = i0__namespace.ɵɵnextContext().$implicit;
|
|
25034
|
+
var ctx_r50 = i0__namespace.ɵɵnextContext(4);
|
|
24953
25035
|
i0__namespace.ɵɵadvance(1);
|
|
24954
|
-
i0__namespace.ɵɵproperty("title",
|
|
25036
|
+
i0__namespace.ɵɵproperty("title", category_r48.title)("subtitle", category_r48.subtitle)("filters", category_r48.filters)("maxRecipeNumber", ctx_r50.maxRecipesPerCategory)("displayInfos", ctx_r50.displayInfos)("displayPricing", ctx_r50.displayPricing)("originTrace", ctx_r50.eventTrace)("modifiedGuests", ctx_r50.guests)("displayRecipeVariant", ctx_r50.displayRecipeVariant);
|
|
24955
25037
|
}
|
|
24956
25038
|
}
|
|
24957
25039
|
function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_ng_miam_meals_planner_link_1_Template(rf, ctx) {
|
|
@@ -24961,53 +25043,62 @@
|
|
|
24961
25043
|
}
|
|
24962
25044
|
function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template(rf, ctx) {
|
|
24963
25045
|
if (rf & 1) {
|
|
24964
|
-
var
|
|
24965
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24966
|
-
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_ng_miam_meals_planner_link_1_Template, 1, 0, "ng-miam-meals-planner-link",
|
|
25046
|
+
var _r58_1 = i0__namespace.ɵɵgetCurrentView();
|
|
25047
|
+
i0__namespace.ɵɵelementStart(0, "div", 74);
|
|
25048
|
+
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_ng_miam_meals_planner_link_1_Template, 1, 0, "ng-miam-meals-planner-link", 42);
|
|
24967
25049
|
i0__namespace.ɵɵpipe(2, "async");
|
|
24968
|
-
i0__namespace.ɵɵelementStart(3, "ng-miam-catalog-category",
|
|
24969
|
-
i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_displayList_3_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
25050
|
+
i0__namespace.ɵɵelementStart(3, "ng-miam-catalog-category", 75);
|
|
25051
|
+
i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_displayList_3_listener($event) { i0__namespace.ɵɵrestoreView(_r58_1); var ctx_r57 = i0__namespace.ɵɵnextContext(5); return ctx_r57.categoryTitleClicked($event); })("isHidden", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_isHidden_3_listener($event) { i0__namespace.ɵɵrestoreView(_r58_1); var ctx_r59 = i0__namespace.ɵɵnextContext(5); return ctx_r59.categoryHidden($event); });
|
|
25052
|
+
i0__namespace.ɵɵelementEnd();
|
|
25053
|
+
i0__namespace.ɵɵelementEnd();
|
|
25054
|
+
i0__namespace.ɵɵelementStart(4, "div", 76);
|
|
25055
|
+
i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r58_1); var ctx_r60 = i0__namespace.ɵɵnextContext(5); return ctx_r60.seeAllRecipes(); });
|
|
25056
|
+
i0__namespace.ɵɵelementStart(5, "div", 77);
|
|
25057
|
+
i0__namespace.ɵɵi18n(6, 78);
|
|
25058
|
+
i0__namespace.ɵɵelementEnd();
|
|
25059
|
+
i0__namespace.ɵɵelementStart(7, "div", 79);
|
|
25060
|
+
i0__namespace.ɵɵelement(8, "img", 80);
|
|
24970
25061
|
i0__namespace.ɵɵelementEnd();
|
|
24971
25062
|
i0__namespace.ɵɵelementEnd();
|
|
24972
25063
|
}
|
|
24973
25064
|
if (rf & 2) {
|
|
24974
|
-
var
|
|
24975
|
-
var
|
|
25065
|
+
var category_r48 = i0__namespace.ɵɵnextContext().$implicit;
|
|
25066
|
+
var ctx_r52 = i0__namespace.ɵɵnextContext(4);
|
|
24976
25067
|
i0__namespace.ɵɵadvance(1);
|
|
24977
|
-
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 10,
|
|
25068
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 10, ctx_r52.contextService.enableMealsPlanner$));
|
|
24978
25069
|
i0__namespace.ɵɵadvance(2);
|
|
24979
|
-
i0__namespace.ɵɵproperty("title",
|
|
25070
|
+
i0__namespace.ɵɵproperty("title", category_r48.title)("subtitle", category_r48.subtitle)("filters", category_r48.filters)("displayInfos", ctx_r52.displayInfos)("displayPricing", ctx_r52.displayPricing)("maxRecipeNumber", ctx_r52.maxRecipesPerCategory)("modifiedGuests", ctx_r52.guests)("displayRecipeVariant", ctx_r52.displayRecipeVariant)("originTrace", ctx_r52.eventTrace);
|
|
24980
25071
|
}
|
|
24981
25072
|
}
|
|
24982
25073
|
function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_Template(rf, ctx) {
|
|
24983
25074
|
if (rf & 1) {
|
|
24984
25075
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
24985
|
-
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template, 2, 9, "ng-container",
|
|
24986
|
-
i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template,
|
|
25076
|
+
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template, 2, 9, "ng-container", 71);
|
|
25077
|
+
i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template, 9, 12, "ng-template", null, 72, i0__namespace.ɵɵtemplateRefExtractor);
|
|
24987
25078
|
i0__namespace.ɵɵelementContainerEnd();
|
|
24988
25079
|
}
|
|
24989
25080
|
if (rf & 2) {
|
|
24990
|
-
var
|
|
24991
|
-
var
|
|
25081
|
+
var i_r49 = ctx.index;
|
|
25082
|
+
var _r51 = i0__namespace.ɵɵreference(3);
|
|
24992
25083
|
i0__namespace.ɵɵadvance(1);
|
|
24993
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
25084
|
+
i0__namespace.ɵɵproperty("ngIf", i_r49 !== 0)("ngIfElse", _r51);
|
|
24994
25085
|
}
|
|
24995
25086
|
}
|
|
24996
25087
|
function RecipeCatalogComponent_div_2_ng_template_10_div_0_Template(rf, ctx) {
|
|
24997
25088
|
if (rf & 1) {
|
|
24998
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
24999
|
-
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_Template, 4, 2, "ng-container",
|
|
25089
|
+
i0__namespace.ɵɵelementStart(0, "div", 69);
|
|
25090
|
+
i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_Template, 4, 2, "ng-container", 70);
|
|
25000
25091
|
i0__namespace.ɵɵelementEnd();
|
|
25001
25092
|
}
|
|
25002
25093
|
if (rf & 2) {
|
|
25003
|
-
var
|
|
25094
|
+
var ctx_r46 = i0__namespace.ɵɵnextContext(3);
|
|
25004
25095
|
i0__namespace.ɵɵadvance(1);
|
|
25005
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
25096
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r46.categories);
|
|
25006
25097
|
}
|
|
25007
25098
|
}
|
|
25008
25099
|
function RecipeCatalogComponent_div_2_ng_template_10_Template(rf, ctx) {
|
|
25009
25100
|
if (rf & 1) {
|
|
25010
|
-
i0__namespace.ɵɵtemplate(0, RecipeCatalogComponent_div_2_ng_template_10_div_0_Template, 2, 1, "div",
|
|
25101
|
+
i0__namespace.ɵɵtemplate(0, RecipeCatalogComponent_div_2_ng_template_10_div_0_Template, 2, 1, "div", 68);
|
|
25011
25102
|
}
|
|
25012
25103
|
if (rf & 2) {
|
|
25013
25104
|
var ctx_r8 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -25016,23 +25107,23 @@
|
|
|
25016
25107
|
}
|
|
25017
25108
|
function RecipeCatalogComponent_div_2_Template(rf, ctx) {
|
|
25018
25109
|
if (rf & 1) {
|
|
25019
|
-
var
|
|
25110
|
+
var _r63_1 = i0__namespace.ɵɵgetCurrentView();
|
|
25020
25111
|
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
25021
25112
|
i0__namespace.ɵɵelementStart(1, "div", 4);
|
|
25022
25113
|
i0__namespace.ɵɵelementStart(2, "ng-miam-catalog-header", 5);
|
|
25023
|
-
i0__namespace.ɵɵlistener("returnButtonPressed", function RecipeCatalogComponent_div_2_Template_ng_miam_catalog_header_returnButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(
|
|
25114
|
+
i0__namespace.ɵɵlistener("returnButtonPressed", function RecipeCatalogComponent_div_2_Template_ng_miam_catalog_header_returnButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r62 = i0__namespace.ɵɵnextContext(); return ctx_r62.returnToHomePage(); });
|
|
25024
25115
|
i0__namespace.ɵɵelementEnd();
|
|
25025
25116
|
i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_2_div_3_Template, 1, 0, "div", 6);
|
|
25026
25117
|
i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_div_2_div_4_Template, 3, 7, "div", 7);
|
|
25027
25118
|
i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_2_div_5_Template, 2, 0, "div", 8);
|
|
25028
25119
|
i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_2_div_6_Template, 8, 1, "div", 9);
|
|
25029
|
-
i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_Template,
|
|
25120
|
+
i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_Template, 17, 16, "div", 10);
|
|
25030
25121
|
i0__namespace.ɵɵelementEnd();
|
|
25031
25122
|
i0__namespace.ɵɵelementStart(8, "ng-miam-recipe-filters", 11);
|
|
25032
|
-
i0__namespace.ɵɵlistener("filterChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterChanged_8_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
25123
|
+
i0__namespace.ɵɵlistener("filterChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterChanged_8_listener($event) { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r64 = i0__namespace.ɵɵnextContext(); return ctx_r64.updateFilters($event); })("filterCollapsed", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterCollapsed_8_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r65 = i0__namespace.ɵɵnextContext(); return ctx_r65.onFilterCollapsed(); })("preferencesChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_preferencesChanged_8_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r66 = i0__namespace.ɵɵnextContext(); return ctx_r66.reloadPackages(); });
|
|
25033
25124
|
i0__namespace.ɵɵelementEnd();
|
|
25034
25125
|
i0__namespace.ɵɵelementStart(9, "ng-miam-preferences", 12);
|
|
25035
|
-
i0__namespace.ɵɵlistener("isOpenChange", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_isOpenChange_9_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
25126
|
+
i0__namespace.ɵɵlistener("isOpenChange", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_isOpenChange_9_listener($event) { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r67 = i0__namespace.ɵɵnextContext(); return ctx_r67.isPreferenceModalOpen = $event; })("preferencesChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_preferencesChanged_9_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r68 = i0__namespace.ɵɵnextContext(); ctx_r68.updateFilters(ctx_r68.filters, false); return ctx_r68.reloadPackages(); });
|
|
25036
25127
|
i0__namespace.ɵɵelementEnd();
|
|
25037
25128
|
i0__namespace.ɵɵtemplate(10, RecipeCatalogComponent_div_2_ng_template_10_Template, 1, 1, "ng-template", null, 13, i0__namespace.ɵɵtemplateRefExtractor);
|
|
25038
25129
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -25226,6 +25317,10 @@
|
|
|
25226
25317
|
this.setStickyObserver();
|
|
25227
25318
|
this.returnToTop();
|
|
25228
25319
|
};
|
|
25320
|
+
RecipeCatalogComponent.prototype.seeAllRecipes = function () {
|
|
25321
|
+
this.filters.additionalFilters = { title: 'Toutes nos recettes', filters: {} };
|
|
25322
|
+
this.updateFilters(this.filters);
|
|
25323
|
+
};
|
|
25229
25324
|
RecipeCatalogComponent.prototype.updateSearch = function (search) {
|
|
25230
25325
|
if (this.historyDisplayed && search !== this.historySearch) {
|
|
25231
25326
|
this.loadHistoryContent(search);
|
|
@@ -25348,20 +25443,30 @@
|
|
|
25348
25443
|
var _a, _b;
|
|
25349
25444
|
return !this.displayHomePage() && !this.isSearchPage() && ((_b = (_a = this.filters) === null || _a === void 0 ? void 0 : _a.additionalFilters) === null || _b === void 0 ? void 0 : _b.title) === 'Promos';
|
|
25350
25445
|
};
|
|
25446
|
+
RecipeCatalogComponent.prototype.isAllRecipesPage = function () {
|
|
25447
|
+
var _a, _b;
|
|
25448
|
+
return (!this.displayHomePage() &&
|
|
25449
|
+
!this.isSearchPage() &&
|
|
25450
|
+
!this.isFavoritesPage() &&
|
|
25451
|
+
!this.isPromotionsPage() &&
|
|
25452
|
+
((_b = (_a = this.filters) === null || _a === void 0 ? void 0 : _a.additionalFilters) === null || _b === void 0 ? void 0 : _b.title) === 'Toutes nos recettes');
|
|
25453
|
+
};
|
|
25351
25454
|
RecipeCatalogComponent.prototype.isCategoryPage = function () {
|
|
25352
25455
|
var _a, _b, _c;
|
|
25353
25456
|
return (!this.displayHomePage() &&
|
|
25354
25457
|
!this.isSearchPage() &&
|
|
25355
25458
|
!this.isFavoritesPage() &&
|
|
25356
25459
|
!this.isPromotionsPage() &&
|
|
25460
|
+
!this.isAllRecipesPage() &&
|
|
25357
25461
|
((_c = (_b = (_a = this.filters) === null || _a === void 0 ? void 0 : _a.additionalFilters) === null || _b === void 0 ? void 0 : _b.title) === null || _c === void 0 ? void 0 : _c.length) > 0);
|
|
25358
25462
|
};
|
|
25359
25463
|
RecipeCatalogComponent.prototype.isDefaultPage = function () {
|
|
25360
25464
|
return (!this.displayHomePage() &&
|
|
25361
25465
|
!this.isSearchPage() &&
|
|
25362
25466
|
!this.isFavoritesPage() &&
|
|
25363
|
-
!this.
|
|
25364
|
-
!this.
|
|
25467
|
+
!this.isPromotionsPage() &&
|
|
25468
|
+
!this.isAllRecipesPage() &&
|
|
25469
|
+
!this.isCategoryPage());
|
|
25365
25470
|
};
|
|
25366
25471
|
RecipeCatalogComponent.prototype.toggleMyMealDrawer = function () {
|
|
25367
25472
|
this.recipesService.openBasket();
|
|
@@ -25395,12 +25500,12 @@
|
|
|
25395
25500
|
key: categoryPackage.title.trim().toLowerCase().replace(/[^a-zA-Z0-9 -]/, '').replace(/\s/g, '-'),
|
|
25396
25501
|
title: categoryPackage.title,
|
|
25397
25502
|
subtitle: categoryPackage.subtitle,
|
|
25398
|
-
filters: {
|
|
25503
|
+
filters: new RecipeFilters({
|
|
25399
25504
|
additionalFilters: {
|
|
25400
25505
|
filters: { packages: categoryPackage.id },
|
|
25401
25506
|
title: ''
|
|
25402
25507
|
}
|
|
25403
|
-
}
|
|
25508
|
+
})
|
|
25404
25509
|
}); });
|
|
25405
25510
|
};
|
|
25406
25511
|
RecipeCatalogComponent.prototype.selectCategoryFromUrl = function () {
|
|
@@ -25552,37 +25657,53 @@
|
|
|
25552
25657
|
}
|
|
25553
25658
|
var i18n_12;
|
|
25554
25659
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
25555
|
-
var
|
|
25556
|
-
i18n_12 =
|
|
25660
|
+
var MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13 = goog.getMsg("Toutes nos recettes");
|
|
25661
|
+
i18n_12 = MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13;
|
|
25557
25662
|
}
|
|
25558
25663
|
else {
|
|
25559
|
-
i18n_12 = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":\
|
|
25664
|
+
i18n_12 = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
|
|
25560
25665
|
}
|
|
25561
25666
|
var i18n_14;
|
|
25562
25667
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
25563
|
-
var
|
|
25564
|
-
i18n_14 =
|
|
25668
|
+
var MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____15 = goog.getMsg("Votre s\u00E9lection");
|
|
25669
|
+
i18n_14 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____15;
|
|
25565
25670
|
}
|
|
25566
25671
|
else {
|
|
25567
|
-
i18n_14 = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":\
|
|
25672
|
+
i18n_14 = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
|
|
25568
25673
|
}
|
|
25569
25674
|
var i18n_16;
|
|
25570
25675
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
25571
|
-
var
|
|
25572
|
-
i18n_16 =
|
|
25676
|
+
var MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____17 = goog.getMsg("Favoris");
|
|
25677
|
+
i18n_16 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____17;
|
|
25573
25678
|
}
|
|
25574
25679
|
else {
|
|
25575
|
-
i18n_16 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\
|
|
25680
|
+
i18n_16 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
|
|
25576
25681
|
}
|
|
25577
|
-
var
|
|
25682
|
+
var i18n_18;
|
|
25683
|
+
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
25684
|
+
var MSG_EXTERNAL_7831615079320449369$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____19 = goog.getMsg("Historique");
|
|
25685
|
+
i18n_18 = MSG_EXTERNAL_7831615079320449369$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____19;
|
|
25686
|
+
}
|
|
25687
|
+
else {
|
|
25688
|
+
i18n_18 = $localize(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject([":\u241F9b9c5d64a1ab25e0671a19dd19bf7207bbd2dd66\u241F7831615079320449369:Historique"], [":\u241F9b9c5d64a1ab25e0671a19dd19bf7207bbd2dd66\u241F7831615079320449369:Historique"])));
|
|
25689
|
+
}
|
|
25690
|
+
var i18n_21;
|
|
25691
|
+
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
25692
|
+
var MSG_EXTERNAL_1466844133086050831$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS_____22 = goog.getMsg(" Chargement des r\u00E9sultats... ");
|
|
25693
|
+
i18n_21 = MSG_EXTERNAL_1466844133086050831$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS_____22;
|
|
25694
|
+
}
|
|
25695
|
+
else {
|
|
25696
|
+
i18n_21 = $localize(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject([":\u241Fe31604fe529ededd6aa35b0a5d51aaf96634df29\u241F1466844133086050831: Chargement des r\u00E9sultats... "], [":\u241Fe31604fe529ededd6aa35b0a5d51aaf96634df29\u241F1466844133086050831: Chargement des r\u00E9sultats... "])));
|
|
25697
|
+
}
|
|
25698
|
+
var i18n_23;
|
|
25578
25699
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
25579
|
-
var
|
|
25580
|
-
|
|
25700
|
+
var MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS______24 = goog.getMsg("Toutes nos recettes");
|
|
25701
|
+
i18n_23 = MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS______24;
|
|
25581
25702
|
}
|
|
25582
25703
|
else {
|
|
25583
|
-
|
|
25704
|
+
i18n_23 = $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
|
|
25584
25705
|
}
|
|
25585
|
-
return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf"], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "homeLabel", "pictureUrl", "catalogSetting", "returnButtonPressed"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__promotions-banner", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "hideButtons", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__promotions-banner"], [3, "clicked"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "Cutlery", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "Caret", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], [1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "return", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__promotions__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["class", "miam-catalog-tabs miam-ds-tabs", 4, "ngIf"], ["stickyToolbarCollection", ""], [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", 4, "ngIf"], ["class", "miam-recipe-catalog__history-container", 4, "ngIf"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], [4, "ngIf"], i18n_6, i18n_8, [1, "miam-recipe-catalog__content__title__promotions__text"], i18n_10, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"],
|
|
25706
|
+
return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf"], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "homeLabel", "pictureUrl", "catalogSetting", "returnButtonPressed"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__promotions-banner", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "hideButtons", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__promotions-banner"], [3, "clicked"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "Cutlery", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "Caret", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], [1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "return", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__promotions__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__all-recipes__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["class", "miam-catalog-tabs miam-ds-tabs", 4, "ngIf"], ["stickyToolbarCollection", ""], [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", 4, "ngIf"], ["class", "miam-recipe-catalog__history-container", 4, "ngIf"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], [4, "ngIf"], i18n_6, i18n_8, [1, "miam-recipe-catalog__content__title__promotions__text"], i18n_10, [1, "miam-recipe-catalog__content__title__all-recipes__text"], i18n_12, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"], i18n_14, [1, "miam-catalog-tabs", "miam-ds-tabs"], [1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", "active", 3, "click"], ["alt", "heart icon", 3, "src"], i18n_16, [1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", "inactive", 3, "click"], ["alt", "history icon", 3, "src"], i18n_18, [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved"], [1, "miam-recipe-catalog__history-container"], ["class", "miam-recipe-catalog__history-loader", 4, "ngIf"], [3, "innerHTML"], [1, "miam-recipe-catalog__history-loader"], i18n_21, ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["firstCategory", ""], [3, "title", "subtitle", "filters", "maxRecipeNumber", "displayInfos", "displayPricing", "originTrace", "modifiedGuests", "displayRecipeVariant", "displayList"], [1, "miam-recipe-catalog__first-category"], [3, "title", "subtitle", "filters", "displayInfos", "displayPricing", "maxRecipeNumber", "modifiedGuests", "displayRecipeVariant", "originTrace", "displayList", "isHidden"], [1, "miam-recipe-catalog__all-banner", 3, "click"], [1, "miam-recipe-catalog__all-banner__text", "miam-ds-text", "size-m", "weight-xl"], i18n_23, [1, "miam-recipe-catalog__all-banner__icon"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_black.svg", "alt", "arrow right"]];
|
|
25586
25707
|
}, template: function RecipeCatalogComponent_Template(rf, ctx) {
|
|
25587
25708
|
if (rf & 1) {
|
|
25588
25709
|
i0__namespace.ɵɵelement(0, "div", 0, 1);
|
|
@@ -25592,7 +25713,7 @@
|
|
|
25592
25713
|
i0__namespace.ɵɵadvance(2);
|
|
25593
25714
|
i0__namespace.ɵɵproperty("ngIf", ctx.catalogSettingHasLoaded);
|
|
25594
25715
|
}
|
|
25595
|
-
}, directives: [i2__namespace.NgIf, CatalogHeaderComponent, RecipeFiltersComponent, PreferencesComponent, CatalogToolbarComponent, PromotionsBannerComponent, CatalogListComponent, i2__namespace.NgClass, LoaderComponent, i2__namespace.NgForOf, CatalogCategoryComponent, MealsPlannerLinkComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-catalog{display:flex;justify-content:space-between;width:100%;position:relative;background-color:var(--miam-ds-color-neutral-white)}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container-anchor{width:100%}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{width:-moz-available;width:-webkit-fill-available;width:fill-available;padding:33px 80px 0;box-sizing:border-box;background-color:var(--miam-ds-color-neutral-white);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{position:fixed;top:0;z-index:10;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 40px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{padding:24px 16px 0}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content{width:100%;position:relative}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 80px;font-size:20px;line-height:34px;font-weight:900;display:flex;align-items:center;gap:16px;color:var(--miam-ds-color-neutral-black,#0f191f);box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__search__text{display:flex;flex-wrap:wrap;gap:6px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon{width:32px;height:32px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon img{cursor:pointer;width:13px;height:13px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category{display:flex;flex-direction:column;gap:4px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category .size-s{color:var(--miam-ds-color-neutral-500)}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 24px;box-sizing:border-box}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__promotions-banner{display:none;justify-content:center;margin-top:36px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{display:flex;flex-direction:column;width:100%;padding:
|
|
25716
|
+
}, directives: [i2__namespace.NgIf, CatalogHeaderComponent, RecipeFiltersComponent, PreferencesComponent, CatalogToolbarComponent, PromotionsBannerComponent, CatalogListComponent, i2__namespace.NgClass, LoaderComponent, i2__namespace.NgForOf, CatalogCategoryComponent, MealsPlannerLinkComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-catalog{display:flex;justify-content:space-between;width:100%;position:relative;background-color:var(--miam-ds-color-neutral-white)}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container-anchor{width:100%}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{width:-moz-available;width:-webkit-fill-available;width:fill-available;padding:33px 80px 0;box-sizing:border-box;background-color:var(--miam-ds-color-neutral-white);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{position:fixed;top:0;z-index:10;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 40px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{padding:24px 16px 0}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content{width:100%;position:relative}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 80px;font-size:20px;line-height:34px;font-weight:900;display:flex;align-items:center;gap:16px;color:var(--miam-ds-color-neutral-black,#0f191f);box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__search__text{display:flex;flex-wrap:wrap;gap:6px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon{width:32px;height:32px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon img{cursor:pointer;width:13px;height:13px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category{display:flex;flex-direction:column;gap:4px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category .size-s{color:var(--miam-ds-color-neutral-500)}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 24px;box-sizing:border-box}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__promotions-banner{display:none;justify-content:center;margin-top:36px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{display:flex;flex-direction:column;width:100%;padding:4px 80px 48px;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{display:flex;flex-direction:row;width:100%;align-items:flex-end}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{margin:0 16px 36px 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{flex:1}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{display:flex;padding:24px 0;justify-content:center;align-items:center;gap:8px;align-self:stretch;border-radius:8px;background:var(--miam-ds-color-neutral-100,#eff1f3);cursor:pointer}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__text{color:var(--miam-ds-color-neutral-black,#0f191f)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__icon{transform:rotate(-180deg);height:24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{padding:24px 0 48px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{flex-direction:column;align-items:flex-start}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{width:100%}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{width:100%;padding:0 24px 24px;box-sizing:border-box;margin:unset}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{margin:0 24px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list{width:100%;padding:24px 0;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container:not(.sticking){padding-bottom:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container.sticking{padding:8px 24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container .sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{position:relative;display:flex;box-sizing:border-box;width:100%;padding:24px 80px 0;background-color:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{display:flex;align-items:center;gap:4px;text-decoration:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item.inactive span{color:var(--miam-ds-color-neutral-black,#0f191f);opacity:.7}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 24px 0}}@media (max-width:700px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 0 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{width:100%;justify-content:center;display:flex}}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button{cursor:pointer;width:400px;position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:1;display:inline-flex;min-height:48px;padding:0 16px;justify-content:space-between;align-items:center;gap:12px;border-radius:1000px;background:var(--miam-color-primary-900,#10323f);box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__button__text{font-weight:700;color:var(--miam-ds-color-neutral-white,#fff);white-space:nowrap}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__second__icon{transform:rotate(-90deg)}@media (max-width:607px){.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button{width:auto;z-index:2}}.miam-recipe-catalog ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
|
|
25596
25717
|
(function () {
|
|
25597
25718
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCatalogComponent, [{
|
|
25598
25719
|
type: i0.Component,
|
|
@@ -25638,7 +25759,7 @@
|
|
|
25638
25759
|
type: i0.Input
|
|
25639
25760
|
}] });
|
|
25640
25761
|
})();
|
|
25641
|
-
var templateObject_1$c, templateObject_2$8, templateObject_3$6, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$2, templateObject_9$2;
|
|
25762
|
+
var templateObject_1$c, templateObject_2$8, templateObject_3$6, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$2, templateObject_9$2, templateObject_10$2, templateObject_11$2;
|
|
25642
25763
|
|
|
25643
25764
|
var PreferencesModule = /** @class */ (function () {
|
|
25644
25765
|
// Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
|