ng-miam 6.4.13 → 7.0.0
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 +8539 -10855
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +2 -2
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/abstracts/event-tracer.component.js +3 -2
- package/esm2015/lib/_components/accordion/accordion.component.js +75 -0
- package/esm2015/lib/_components/components.module.js +27 -21
- package/esm2015/lib/_components/counter-input/counter-input.component.js +86 -76
- package/esm2015/lib/_components/icon/icon.component.js +1 -1
- package/esm2015/lib/_components/index.js +5 -5
- package/esm2015/lib/_components/like-button/like-button.component.js +1 -1
- package/esm2015/lib/_components/list-input/list-input.component.js +5 -5
- package/esm2015/lib/_components/loader/loader.component.js +1 -1
- package/esm2015/lib/_components/meals-planner-link/meals-planner-link.component.js +3 -3
- package/esm2015/lib/_components/modal/modal.component.js +155 -137
- package/esm2015/lib/_components/product-card/product-card.component.js +333 -0
- package/esm2015/lib/_components/products-picker/products-picker.component.js +155 -0
- package/esm2015/lib/_components/progress-tracker/progress-tracker.component.js +1 -1
- package/esm2015/lib/_components/recipe-filters/recipe-filters.component.js +166 -217
- package/esm2015/lib/_components/recipe-pricing/recipe-pricing.component.js +55 -35
- package/esm2015/lib/_components/slider-tabs/slider-tabs.component.js +84 -0
- package/esm2015/lib/_components/sponsor-blocks/sponsor-image-and-text-block/sponsor-image-and-text-block.component.js +1 -1
- package/esm2015/lib/_components/sponsor-blocks/sponsor-text-and-image-block/sponsor-text-and-image-block.component.js +1 -1
- package/esm2015/lib/_components/tabs/tabs.component.js +48 -88
- package/esm2015/lib/_components/toaster/toaster.component.js +48 -84
- package/esm2015/lib/_components/tooltipable-content/tooltipable-content.component.js +1 -1
- package/esm2015/lib/_models/basket-entry.js +33 -49
- package/esm2015/lib/_models/basket-preview-line.js +5 -5
- package/esm2015/lib/_models/basket.js +15 -12
- package/esm2015/lib/_models/item.js +2 -2
- package/esm2015/lib/_models/recipe.js +2 -15
- package/esm2015/lib/_models/user.js +1 -1
- package/esm2015/lib/_services/analytics.service.js +24 -5
- package/esm2015/lib/_services/baskets-synchronizing/baskets-comparator.service.js +1 -10
- package/esm2015/lib/_services/baskets-synchronizing/baskets-synchronizer.service.js +15 -15
- package/esm2015/lib/_services/baskets.service.js +478 -60
- package/esm2015/lib/_services/context.service.js +22 -35
- package/esm2015/lib/_services/index.js +3 -5
- package/esm2015/lib/_services/interceptor.service.js +2 -2
- package/esm2015/lib/_services/items.service.js +27 -4
- package/esm2015/lib/_services/recipe-details.service.js +198 -0
- package/esm2015/lib/_services/recipe-likes.service.js +1 -1
- package/esm2015/lib/_services/recipes.service.js +24 -53
- package/esm2015/lib/_services/scrolling.service.js +17 -0
- package/esm2015/lib/_services/toaster.service.js +4 -5
- package/esm2015/lib/_services/user.service.js +2 -2
- package/esm2015/lib/_types/basket-action-type.enum.js +11 -0
- package/esm2015/lib/_types/basket-action.js +2 -0
- package/esm2015/lib/_types/basket-stats.js +2 -0
- package/esm2015/lib/_types/builded/miam-interface.js +1 -1
- package/esm2015/lib/_types/event-trace.js +5 -0
- package/esm2015/lib/_types/items-comparator.js +1 -10
- package/esm2015/lib/_types/recipe-filters.js +1 -1
- package/esm2015/lib/_types/toaster.js +1 -1
- package/esm2015/lib/_utils/directives/index.js +2 -1
- package/esm2015/lib/_utils/directives/reach-top.directive.js +33 -0
- package/esm2015/lib/_utils/pipes/readable-float-number/readable-float-number.pipe.js +8 -2
- package/esm2015/lib/_utils/utils.module.js +12 -8
- package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +140 -118
- package/esm2015/lib/_web-components/basket-preview/basket-preview-disabled/basket-preview-disabled.component.js +2 -2
- package/esm2015/lib/_web-components/basket-preview/basket-preview-line/basket-preview-line.component.js +125 -444
- package/esm2015/lib/_web-components/basket-preview/replace-item/replace-item.component.js +211 -108
- package/esm2015/lib/_web-components/index.js +1 -4
- package/esm2015/lib/_web-components/list-scan/basket-preview/basket-preview.component.js +11 -14
- package/esm2015/lib/_web-components/list-scan/files-inputs/files-inputs.component.js +13 -13
- package/esm2015/lib/_web-components/list-scan/ingredients-list/ingredients-list.component.js +6 -6
- package/esm2015/lib/_web-components/list-scan/list-scan.component.js +10 -10
- package/esm2015/lib/_web-components/list-scan/overlay-button/overlay-button.component.js +23 -11
- package/esm2015/lib/_web-components/meals-planner/meals-planner-basket-confirmation/meals-planner-basket-confirmation.component.js +1 -1
- package/esm2015/lib/_web-components/meals-planner/meals-planner-catalog/meals-planner-catalog.component.js +1 -1
- package/esm2015/lib/_web-components/meals-planner/meals-planner-form/meals-planner-form.component.js +7 -7
- package/esm2015/lib/_web-components/meals-planner/meals-planner-result/meals-planner-result.component.js +5 -5
- package/esm2015/lib/_web-components/meals-planner/meals-planner.component.js +16 -20
- package/esm2015/lib/_web-components/planner-side-menu/planner-side-menu.component.js +4 -53
- package/esm2015/lib/_web-components/recipe-cards/add-recipe-card/add-recipe-card.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-cards/index.js +1 -3
- package/esm2015/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.js +326 -404
- package/esm2015/lib/_web-components/recipe-cards/recipe-card-cta/recipe-card-cta.component.js +50 -146
- package/esm2015/lib/_web-components/recipe-cards/recipe-cards.module.js +3 -15
- package/esm2015/lib/_web-components/recipe-catalog/catalog-article-card/catalog-article-card.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-catalog/catalog-category/catalog-category.component.js +35 -29
- package/esm2015/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.js +27 -31
- package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +98 -100
- package/esm2015/lib/_web-components/recipe-creation/recipe-form/recipe-form.component.js +2 -2
- package/esm2015/lib/_web-components/recipe-creation/recipe-stepper/recipe-stepper.component.js +7 -7
- package/esm2015/lib/_web-components/recipe-creation/tags-creator/tags-creator.component.js +4 -4
- package/esm2015/lib/_web-components/recipe-creation/tags-selector/tags-selector.component.js +8 -8
- package/esm2015/lib/_web-components/recipe-details/recipe-addon/recipe-addon.component.js +7 -3
- package/esm2015/lib/_web-components/recipe-details/recipe-details-infos/recipe-details-infos.component.js +57 -358
- package/esm2015/lib/_web-components/recipe-details/recipe-details-ingredients/recipe-details-ingredients.component.js +59 -122
- package/esm2015/lib/_web-components/recipe-details/recipe-details-steps/recipe-details-steps.component.js +51 -72
- package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +313 -363
- package/esm2015/lib/_web-components/recipe-details/recipe-details.module.js +8 -4
- package/esm2015/lib/_web-components/recipe-details/sponsor-storytelling/sponsor-storytelling.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-helper/recipe-helper.component.js +89 -113
- package/esm2015/lib/_web-components/recipe-modal/recipe-modal.component.js +78 -69
- package/esm2015/lib/_web-components/recipe-tags/recipe-tags.component.js +5 -5
- package/esm2015/lib/_web-components/toaster-stack/toaster-stack.component.js +8 -4
- package/esm2015/lib/_web-components/web-components.module.js +3 -19
- package/esm2015/lib/ng-miam.module.js +5 -7
- package/fesm2015/ng-miam.js +5165 -6973
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_components/abstracts/event-tracer.component.d.ts +2 -1
- package/lib/_components/accordion/accordion.component.d.ts +23 -0
- package/lib/_components/components.module.d.ts +38 -36
- package/lib/_components/counter-input/counter-input.component.d.ts +12 -14
- package/lib/_components/index.d.ts +4 -4
- package/lib/_components/modal/modal.component.d.ts +18 -18
- package/lib/_components/product-card/product-card.component.d.ts +40 -0
- package/lib/_components/products-picker/products-picker.component.d.ts +17 -0
- package/lib/_components/recipe-pricing/recipe-pricing.component.d.ts +12 -8
- package/lib/_components/slider-tabs/slider-tabs.component.d.ts +16 -0
- package/lib/_components/tabs/tabs.component.d.ts +11 -11
- package/lib/_components/toaster/toaster.component.d.ts +4 -2
- package/lib/_models/basket-entry.d.ts +16 -20
- package/lib/_models/basket-preview-line.d.ts +1 -0
- package/lib/_models/basket.d.ts +12 -5
- package/lib/_models/item.d.ts +1 -1
- package/lib/_models/recipe.d.ts +0 -5
- package/lib/_models/user.d.ts +0 -1
- package/lib/_services/analytics.service.d.ts +8 -22
- package/lib/_services/baskets-synchronizing/baskets-comparator.service.d.ts +0 -5
- package/lib/_services/baskets-synchronizing/baskets-synchronizer.service.d.ts +3 -6
- package/lib/_services/baskets.service.d.ts +137 -18
- package/lib/_services/context.service.d.ts +2 -4
- package/lib/_services/index.d.ts +2 -4
- package/lib/_services/items.service.d.ts +9 -2
- package/lib/_services/recipe-details.service.d.ts +84 -0
- package/lib/_services/recipe-likes.service.d.ts +2 -1
- package/lib/_services/recipes.service.d.ts +10 -14
- package/lib/_services/scrolling.service.d.ts +8 -0
- package/lib/_services/toaster.service.d.ts +1 -1
- package/lib/_types/basket-action-type.enum.d.ts +9 -0
- package/lib/_types/basket-action.d.ts +14 -0
- package/lib/_types/basket-stats.d.ts +5 -0
- package/lib/_types/builded/miam-interface.d.ts +16 -25
- package/lib/_types/event-trace.d.ts +22 -0
- package/lib/_types/items-comparator.d.ts +0 -5
- package/lib/_types/recipe-filters.d.ts +0 -2
- package/lib/_types/toaster.d.ts +1 -1
- package/lib/_utils/directives/index.d.ts +1 -0
- package/lib/_utils/directives/reach-top.directive.d.ts +13 -0
- package/lib/_utils/pipes/readable-float-number/readable-float-number.pipe.d.ts +1 -1
- package/lib/_utils/utils.module.d.ts +2 -2
- package/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.d.ts +9 -8
- package/lib/_web-components/basket-preview/basket-preview-line/basket-preview-line.component.d.ts +11 -9
- package/lib/_web-components/basket-preview/replace-item/replace-item.component.d.ts +27 -20
- package/lib/_web-components/index.d.ts +0 -3
- package/lib/_web-components/list-scan/basket-preview/basket-preview.component.d.ts +1 -2
- package/lib/_web-components/list-scan/files-inputs/files-inputs.component.d.ts +6 -5
- package/lib/_web-components/list-scan/ingredients-list/ingredients-list.component.d.ts +3 -3
- package/lib/_web-components/list-scan/list-scan.component.d.ts +3 -3
- package/lib/_web-components/list-scan/overlay-button/overlay-button.component.d.ts +8 -6
- package/lib/_web-components/meals-planner/meals-planner.component.d.ts +2 -3
- package/lib/_web-components/recipe-cards/index.d.ts +0 -2
- package/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.d.ts +58 -17
- package/lib/_web-components/recipe-cards/recipe-card-cta/recipe-card-cta.component.d.ts +5 -12
- package/lib/_web-components/recipe-cards/recipe-cards.module.d.ts +7 -9
- package/lib/_web-components/recipe-catalog/catalog-category/catalog-category.component.d.ts +8 -6
- package/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.d.ts +7 -4
- package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts +2 -3
- package/lib/_web-components/recipe-details/recipe-addon/recipe-addon.component.d.ts +5 -2
- package/lib/_web-components/recipe-details/recipe-details-infos/recipe-details-infos.component.d.ts +6 -18
- package/lib/_web-components/recipe-details/recipe-details-ingredients/recipe-details-ingredients.component.d.ts +6 -13
- package/lib/_web-components/recipe-details/recipe-details-steps/recipe-details-steps.component.d.ts +2 -10
- package/lib/_web-components/recipe-details/recipe-details.component.d.ts +29 -36
- package/lib/_web-components/recipe-details/recipe-details.module.d.ts +2 -1
- package/lib/_web-components/recipe-helper/recipe-helper.component.d.ts +2 -6
- package/lib/_web-components/recipe-modal/recipe-modal.component.d.ts +11 -9
- package/lib/_web-components/toaster-stack/toaster-stack.component.d.ts +5 -2
- package/lib/_web-components/web-components.module.d.ts +23 -29
- package/miam-style.css +1 -1
- package/package.json +1 -1
- package/esm2015/lib/_components/abstracts/abstract-recipe-card.component.js +0 -130
- package/esm2015/lib/_components/skeleton/skeleton.component.js +0 -70
- package/esm2015/lib/_components/tabs/tab-body.component.js +0 -30
- package/esm2015/lib/_components/tabs/tab-item.component.js +0 -36
- package/esm2015/lib/_components/tabs/tab-label.component.js +0 -30
- package/esm2015/lib/_models/groceries-entry.js +0 -42
- package/esm2015/lib/_models/groceries-list.js +0 -36
- package/esm2015/lib/_services/counter.service.js +0 -20
- package/esm2015/lib/_services/groceries-entries.service.js +0 -21
- package/esm2015/lib/_services/groceries-lists.service.js +0 -240
- package/esm2015/lib/_services/recipe-events.service.js +0 -63
- package/esm2015/lib/_types/skeleton.enum.js +0 -7
- package/esm2015/lib/_web-components/drawer/drawer.component.js +0 -273
- package/esm2015/lib/_web-components/pos-card/pos-card.component.js +0 -207
- package/esm2015/lib/_web-components/pos-selection/pos-selection.component.js +0 -283
- package/esm2015/lib/_web-components/recipe-cards/catalog-recipe-card/catalog-recipe-card.component.js +0 -632
- package/esm2015/lib/_web-components/recipe-cards/suggestion-card/suggestion-card.component.js +0 -144
- package/lib/_components/abstracts/abstract-recipe-card.component.d.ts +0 -49
- package/lib/_components/skeleton/skeleton.component.d.ts +0 -11
- package/lib/_components/tabs/tab-body.component.d.ts +0 -8
- package/lib/_components/tabs/tab-item.component.d.ts +0 -11
- package/lib/_components/tabs/tab-label.component.d.ts +0 -8
- package/lib/_models/groceries-entry.d.ts +0 -20
- package/lib/_models/groceries-list.d.ts +0 -30
- package/lib/_services/counter.service.d.ts +0 -10
- package/lib/_services/groceries-entries.service.d.ts +0 -10
- package/lib/_services/groceries-lists.service.d.ts +0 -68
- package/lib/_services/recipe-events.service.d.ts +0 -23
- package/lib/_types/skeleton.enum.d.ts +0 -5
- package/lib/_web-components/drawer/drawer.component.d.ts +0 -37
- package/lib/_web-components/pos-card/pos-card.component.d.ts +0 -24
- package/lib/_web-components/pos-selection/pos-selection.component.d.ts +0 -38
- package/lib/_web-components/recipe-cards/catalog-recipe-card/catalog-recipe-card.component.d.ts +0 -49
- package/lib/_web-components/recipe-cards/suggestion-card/suggestion-card.component.d.ts +0 -42
|
@@ -1,155 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ContextService } from '../../../_services';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { ContextService, RecipeDetailsService } from '../../../_services';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
import * as i1 from "../../../_services";
|
|
6
5
|
import * as i2 from "@angular/common";
|
|
7
|
-
import * as i3 from "../../../
|
|
8
|
-
import * as i4 from "../../../_utils/pipes/
|
|
9
|
-
|
|
10
|
-
function RecipeDetailsIngredientsComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
import * as i3 from "../../../_utils/pipes/capitalize-first-letter/capitalize-first-letter.pipe";
|
|
7
|
+
import * as i4 from "../../../_utils/pipes/readable-float-number/readable-float-number.pipe";
|
|
8
|
+
function RecipeDetailsIngredientsComponent_div_0_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
11
9
|
i0.ɵɵelementStart(0, "span");
|
|
12
|
-
i0.ɵɵi18n(1,
|
|
10
|
+
i0.ɵɵi18n(1, 6);
|
|
13
11
|
i0.ɵɵelementEnd();
|
|
14
12
|
} }
|
|
15
|
-
function
|
|
13
|
+
function RecipeDetailsIngredientsComponent_div_0_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
16
14
|
i0.ɵɵelementStart(0, "span");
|
|
17
|
-
i0.ɵɵi18n(1,
|
|
15
|
+
i0.ɵɵi18n(1, 7);
|
|
18
16
|
i0.ɵɵelementEnd();
|
|
19
17
|
} }
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
i0.ɵɵelementStart(
|
|
23
|
-
i0.ɵɵ
|
|
24
|
-
i0.ɵɵlistener("counterChange", function RecipeDetailsIngredientsComponent_div_8_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.updateGuests($event); });
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
i0.ɵɵelementStart(2, "span", 11);
|
|
27
|
-
i0.ɵɵelementStart(3, "span");
|
|
28
|
-
i0.ɵɵi18n(4, 12);
|
|
18
|
+
function RecipeDetailsIngredientsComponent_div_0_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
20
|
+
i0.ɵɵelementStart(1, "div", 9);
|
|
21
|
+
i0.ɵɵelement(2, "img", 10);
|
|
29
22
|
i0.ɵɵelementEnd();
|
|
30
|
-
i0.ɵɵelementStart(
|
|
31
|
-
i0.ɵɵtext(
|
|
23
|
+
i0.ɵɵelementStart(3, "span", 11);
|
|
24
|
+
i0.ɵɵtext(4);
|
|
25
|
+
i0.ɵɵpipe(5, "capitalizeFirstLetter");
|
|
32
26
|
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵelementStart(
|
|
34
|
-
i0.ɵɵ
|
|
27
|
+
i0.ɵɵelementStart(6, "div", 12);
|
|
28
|
+
i0.ɵɵtext(7);
|
|
29
|
+
i0.ɵɵpipe(8, "readableFloatNumber");
|
|
35
30
|
i0.ɵɵelementEnd();
|
|
36
31
|
i0.ɵɵelementEnd();
|
|
37
|
-
i0.ɵɵelementEnd();
|
|
38
|
-
} if (rf & 2) {
|
|
39
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
40
|
-
i0.ɵɵadvance(1);
|
|
41
|
-
i0.ɵɵproperty("counter", (ctx_r2.recipe == null ? null : ctx_r2.recipe.modifiedGuests) || ctx_r2.recipe.guests);
|
|
42
|
-
i0.ɵɵadvance(5);
|
|
43
|
-
i0.ɵɵtextInterpolate(ctx_r2.recipe == null ? null : ctx_r2.recipe.modifiedGuests);
|
|
44
|
-
} }
|
|
45
|
-
function RecipeDetailsIngredientsComponent_div_10_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
i0.ɵɵelementStart(0, "div");
|
|
47
|
-
i0.ɵɵelement(1, "img", 16);
|
|
48
|
-
i0.ɵɵelementEnd();
|
|
49
32
|
} if (rf & 2) {
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
i0.ɵɵadvance(
|
|
53
|
-
i0.ɵɵproperty("src",
|
|
33
|
+
const ingredient_r4 = ctx.$implicit;
|
|
34
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
35
|
+
i0.ɵɵadvance(2);
|
|
36
|
+
i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ingredient_r4), i0.ɵɵsanitizeUrl)("alt", ingredient_r4.name + " picture");
|
|
37
|
+
i0.ɵɵadvance(2);
|
|
38
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, ingredient_r4.name));
|
|
39
|
+
i0.ɵɵadvance(3);
|
|
40
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(8, 6, ingredient_r4.qty, ingredient_r4.unit), " ");
|
|
54
41
|
} }
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
i0.ɵɵelementStart(
|
|
58
|
-
i0.ɵɵ
|
|
59
|
-
i0.ɵɵelementStart(2, "div");
|
|
42
|
+
function RecipeDetailsIngredientsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
44
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
45
|
+
i0.ɵɵelementStart(2, "span");
|
|
60
46
|
i0.ɵɵtext(3);
|
|
61
|
-
i0.ɵɵpipe(4, "capitalizeFirstLetter");
|
|
62
47
|
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(
|
|
64
|
-
i0.ɵɵ
|
|
65
|
-
i0.ɵɵ
|
|
48
|
+
i0.ɵɵelementStart(4, "span");
|
|
49
|
+
i0.ɵɵtemplate(5, RecipeDetailsIngredientsComponent_div_0_span_5_Template, 2, 0, "span", 3);
|
|
50
|
+
i0.ɵɵtemplate(6, RecipeDetailsIngredientsComponent_div_0_span_6_Template, 2, 0, "span", 3);
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
i0.ɵɵelementStart(7, "div", 4);
|
|
54
|
+
i0.ɵɵtemplate(8, RecipeDetailsIngredientsComponent_div_0_div_8_Template, 9, 9, "div", 5);
|
|
66
55
|
i0.ɵɵelementEnd();
|
|
67
56
|
i0.ɵɵelementEnd();
|
|
68
57
|
} if (rf & 2) {
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
i0.ɵɵ
|
|
58
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
59
|
+
i0.ɵɵadvance(3);
|
|
60
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.ingredients == null ? null : ctx_r0.ingredients.length, " ");
|
|
61
|
+
i0.ɵɵadvance(2);
|
|
62
|
+
i0.ɵɵproperty("ngIf", (ctx_r0.ingredients == null ? null : ctx_r0.ingredients.length) > 1);
|
|
73
63
|
i0.ɵɵadvance(1);
|
|
74
|
-
i0.ɵɵproperty("ngIf",
|
|
64
|
+
i0.ɵɵproperty("ngIf", (ctx_r0.ingredients == null ? null : ctx_r0.ingredients.length) === 1);
|
|
75
65
|
i0.ɵɵadvance(2);
|
|
76
|
-
i0.ɵɵ
|
|
77
|
-
i0.ɵɵadvance(3);
|
|
78
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(7, 6, ingredient_r6.qty, ingredient_r6.unit), " ");
|
|
66
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.ingredients);
|
|
79
67
|
} }
|
|
80
68
|
export class RecipeDetailsIngredientsComponent {
|
|
81
|
-
constructor(
|
|
82
|
-
this.cdr = cdr;
|
|
69
|
+
constructor(contextService, recipeDetailsService) {
|
|
83
70
|
this.contextService = contextService;
|
|
84
|
-
this.
|
|
85
|
-
this.ingredientsPictures = false;
|
|
86
|
-
this.guestsUpdated = new EventEmitter();
|
|
87
|
-
this.ingredientsChecked = {};
|
|
88
|
-
}
|
|
89
|
-
updateGuests(guests) {
|
|
90
|
-
this.recipe.modifiedGuests = guests;
|
|
91
|
-
this.guestsUpdated.emit();
|
|
92
|
-
this.cdr.detectChanges();
|
|
71
|
+
this.recipeDetailsService = recipeDetailsService;
|
|
93
72
|
}
|
|
94
73
|
ingredientPicture(ingredient) {
|
|
95
74
|
return ingredient.picture || this.contextService.defaultIngredientPicture;
|
|
96
75
|
}
|
|
97
76
|
}
|
|
98
|
-
RecipeDetailsIngredientsComponent.ɵfac = function RecipeDetailsIngredientsComponent_Factory(t) { return new (t || RecipeDetailsIngredientsComponent)(i0.ɵɵdirectiveInject(
|
|
99
|
-
RecipeDetailsIngredientsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsIngredientsComponent, selectors: [["ng-miam-recipe-details-ingredients"]], inputs: {
|
|
100
|
-
const MSG_EXTERNAL_7521397528410775601$$
|
|
101
|
-
i18n_0 = MSG_EXTERNAL_7521397528410775601$$
|
|
77
|
+
RecipeDetailsIngredientsComponent.ɵfac = function RecipeDetailsIngredientsComponent_Factory(t) { return new (t || RecipeDetailsIngredientsComponent)(i0.ɵɵdirectiveInject(i1.ContextService), i0.ɵɵdirectiveInject(i1.RecipeDetailsService)); };
|
|
78
|
+
RecipeDetailsIngredientsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsIngredientsComponent, selectors: [["ng-miam-recipe-details-ingredients"]], inputs: { ingredients: "ingredients" }, decls: 2, vars: 3, consts: function () { var i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
79
|
+
const MSG_EXTERNAL_7521397528410775601$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS___1 = goog.getMsg("ingr\u00E9dients");
|
|
80
|
+
i18n_0 = MSG_EXTERNAL_7521397528410775601$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS___1;
|
|
102
81
|
}
|
|
103
82
|
else {
|
|
104
83
|
i18n_0 = $localize `:␟e859ba2d36a6f30bb3acdc80852d4e82a5411aa0␟7521397528410775601:ingrédients`;
|
|
105
84
|
} var i18n_2; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
106
|
-
const MSG_EXTERNAL_6517018329453008605$$
|
|
107
|
-
i18n_2 = MSG_EXTERNAL_6517018329453008605$$
|
|
85
|
+
const MSG_EXTERNAL_6517018329453008605$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS___3 = goog.getMsg("ingr\u00E9dient");
|
|
86
|
+
i18n_2 = MSG_EXTERNAL_6517018329453008605$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS___3;
|
|
108
87
|
}
|
|
109
88
|
else {
|
|
110
89
|
i18n_2 = $localize `:␟50bd24ece9d857e744e5647b7bfb3a637b6f2a44␟6517018329453008605:ingrédient`;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
i18n_4 = $localize `:␟767ac7d695ee51771c92c1ce24a2920511544f6a␟6355784539835027667:Pour`;
|
|
117
|
-
} var i18n_6; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
118
|
-
const MSG_EXTERNAL_3397501349112812891$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS__7 = goog.getMsg("personnes");
|
|
119
|
-
i18n_6 = MSG_EXTERNAL_3397501349112812891$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS__7;
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
i18n_6 = $localize `:␟63e53fe349a9d568182157b18cf3140aca246d62␟3397501349112812891:personnes`;
|
|
123
|
-
} return [[1, "miam-recipe-details-ingredients"], [1, "miam-recipe-details-ingredients__header"], [1, "miam-recipe-details-ingredients__header__title"], [4, "ngIf"], ["class", "miam-recipe-details-ingredients__counter", 4, "ngIf"], [1, "miam-recipe-details-ingredients__list"], ["class", "miam-recipe-details-ingredients__row", 3, "ngClass", 4, "ngFor", "ngForOf"], i18n_0, i18n_2, [1, "miam-recipe-details-ingredients__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-details-ingredients__counter__print"], i18n_4, i18n_6, [1, "miam-recipe-details-ingredients__row", 3, "ngClass"], [1, "miam-recipe-details-ingredients__row__qty"], [1, "miam-recipe-details-ingredients__row__picture", 3, "src"]]; }, template: function RecipeDetailsIngredientsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
125
|
-
i0.ɵɵelementStart(1, "div", 1);
|
|
126
|
-
i0.ɵɵelementStart(2, "span", 2);
|
|
127
|
-
i0.ɵɵelementStart(3, "span");
|
|
128
|
-
i0.ɵɵtext(4);
|
|
129
|
-
i0.ɵɵelementEnd();
|
|
130
|
-
i0.ɵɵelementStart(5, "span");
|
|
131
|
-
i0.ɵɵtemplate(6, RecipeDetailsIngredientsComponent_span_6_Template, 2, 0, "span", 3);
|
|
132
|
-
i0.ɵɵtemplate(7, RecipeDetailsIngredientsComponent_span_7_Template, 2, 0, "span", 3);
|
|
133
|
-
i0.ɵɵelementEnd();
|
|
134
|
-
i0.ɵɵelementEnd();
|
|
135
|
-
i0.ɵɵtemplate(8, RecipeDetailsIngredientsComponent_div_8_Template, 9, 2, "div", 4);
|
|
136
|
-
i0.ɵɵelementEnd();
|
|
137
|
-
i0.ɵɵelementStart(9, "div", 5);
|
|
138
|
-
i0.ɵɵtemplate(10, RecipeDetailsIngredientsComponent_div_10_Template, 8, 11, "div", 6);
|
|
139
|
-
i0.ɵɵelementEnd();
|
|
140
|
-
i0.ɵɵelementEnd();
|
|
90
|
+
} return [["class", "miam-recipe-details-ingredients", 4, "ngIf"], [1, "miam-recipe-details-ingredients"], [1, "miam-ds-text", "weight-xxl", "miam-recipe-details-ingredients__header"], [4, "ngIf"], [1, "miam-recipe-details-ingredients__list"], ["class", "miam-recipe-details-ingredients__item", 4, "ngFor", "ngForOf"], i18n_0, i18n_2, [1, "miam-recipe-details-ingredients__item"], [1, "miam-recipe-details-ingredients__picture_container"], [1, "miam-recipe-details-ingredients__picture", 3, "src", "alt"], [1, "miam-ds-text", "size-s", "weight-xxl", "miam-recipe-details-ingredients__name"], [1, "miam-ds-text", "size-s", "weight-l", "miam-recipe-details-ingredients__row__qty"]]; }, template: function RecipeDetailsIngredientsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0.ɵɵtemplate(0, RecipeDetailsIngredientsComponent_div_0_Template, 9, 4, "div", 0);
|
|
92
|
+
i0.ɵɵpipe(1, "async");
|
|
141
93
|
} if (rf & 2) {
|
|
142
|
-
i0.ɵɵ
|
|
143
|
-
|
|
144
|
-
i0.ɵɵadvance(2);
|
|
145
|
-
i0.ɵɵproperty("ngIf", (ctx.recipe == null ? null : ctx.recipe.modifiedIngredients.length) > 1);
|
|
146
|
-
i0.ɵɵadvance(1);
|
|
147
|
-
i0.ɵɵproperty("ngIf", !((ctx.recipe == null ? null : ctx.recipe.modifiedIngredients.length) > 1));
|
|
148
|
-
i0.ɵɵadvance(1);
|
|
149
|
-
i0.ɵɵproperty("ngIf", ctx.displayGuests);
|
|
150
|
-
i0.ɵɵadvance(2);
|
|
151
|
-
i0.ɵɵproperty("ngForOf", ctx.recipe == null ? null : ctx.recipe.modifiedIngredients);
|
|
152
|
-
} }, directives: [i2.NgIf, i2.NgForOf, i3.CounterInputComponent, i2.NgClass], pipes: [i4.CapitalizeFirstLetterPipe, i5.ReadableFloatNumberPipe], styles: [".miam-recipe-details-ingredients{display:flex;flex-direction:column}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header{border-bottom:1px solid var(--m-color-grey07);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header .miam-recipe-details-ingredients__header__title{color:var(--m-color-primary);font-size:21px;font-weight:700;line-height:24px}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header .miam-recipe-details-ingredients__counter{align-items:center;display:flex}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header .miam-recipe-details-ingredients__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:16px}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header .miam-recipe-details-ingredients__counter .miam-recipe-details-ingredients__counter__print{display:none}@media print{.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header .miam-recipe-details-ingredients__counter ng-miam-counter-input{display:none}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header .miam-recipe-details-ingredients__counter .miam-recipe-details-ingredients__counter__print{display:block}}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__list{background-color:var(--m-color-primary-light);border-radius:8px;display:flex;flex-direction:column;padding:4px 16px}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__row{color:var(--m-color-black);display:flex;font-size:16px;justify-content:space-between;line-height:20px;padding:12px 0}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__row .miam-recipe-details-ingredients__row__qty{font-weight:700}"], encapsulation: 2, changeDetection: 0 });
|
|
94
|
+
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(1, 1, ctx.recipeDetailsService.recipeLoading$) && ctx.ingredients);
|
|
95
|
+
} }, directives: [i2.NgIf, i2.NgForOf], pipes: [i2.AsyncPipe, i3.CapitalizeFirstLetterPipe, i4.ReadableFloatNumberPipe], styles: [".miam-recipe-details-ingredients{display:flex;flex-direction:column;gap:16px}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header{color:var(--miam-color-neutral-black,#1f3543)}@media (min-width:1022px){.miam-recipe-details-ingredients .miam-recipe-details-ingredients__header{font-size:20px;line-height:120%}}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__list{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;justify-content:center}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__item{align-items:center;display:flex;flex:1;flex-direction:column;gap:8px;text-align:center}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__item .miam-recipe-details-ingredients__picture_container{border:1px solid var(--miam-ds-color-neutral-200,#d9dde1);border-radius:100%;height:64px;overflow:hidden;width:64px}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__item .miam-recipe-details-ingredients__picture_container .miam-recipe-details-ingredients__picture{height:100%;width:100%}.miam-recipe-details-ingredients .miam-recipe-details-ingredients__item .miam-recipe-details-ingredients__name,.miam-recipe-details-ingredients .miam-recipe-details-ingredients__item .miam-recipe-details-ingredients__row__qty{color:var(--miam-ds-color-neutral-black,#1f3543)}"], encapsulation: 2, changeDetection: 0 });
|
|
153
96
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(RecipeDetailsIngredientsComponent, [{
|
|
154
97
|
type: Component,
|
|
155
98
|
args: [{
|
|
@@ -159,13 +102,7 @@ RecipeDetailsIngredientsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeD
|
|
|
159
102
|
encapsulation: ViewEncapsulation.None,
|
|
160
103
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
161
104
|
}]
|
|
162
|
-
}], function () { return [{ type:
|
|
163
|
-
type: Input
|
|
164
|
-
}], displayGuests: [{
|
|
165
|
-
type: Input
|
|
166
|
-
}], ingredientsPictures: [{
|
|
105
|
+
}], function () { return [{ type: i1.ContextService }, { type: i1.RecipeDetailsService }]; }, { ingredients: [{
|
|
167
106
|
type: Input
|
|
168
|
-
}], guestsUpdated: [{
|
|
169
|
-
type: Output
|
|
170
107
|
}] }); })();
|
|
171
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
108
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2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pY3R1cmVfY29udGFpbmVyXCI+XG4gICAgICAgIDxpbWcgY2xhc3M9XCJtaWFtLXJlY2lwZS1kZXRhaWxzLWluZ3JlZGllbnRzX19waWN0dXJlXCIgW3NyY109XCJpbmdyZWRpZW50UGljdHVyZShpbmdyZWRpZW50KVwiIFthbHRdPVwiaW5ncmVkaWVudC5uYW1lICsgJyBwaWN0dXJlJ1wiPlxuICAgICAgPC9kaXY+XG4gICAgICA8IS0tIE5BTUUgLS0+XG4gICAgICA8c3BhblxuICAgICAgICBjbGFzcz1cIm1pYW0tZHMtdGV4dCBzaXplLXMgd2VpZ2h0LXh4bCBtaWFtLXJlY2lwZS1kZXRhaWxzLWluZ3JlZGllbnRzX19uYW1lXCI+e3sgaW5ncmVkaWVudC5uYW1lIHwgY2FwaXRhbGl6ZUZpcnN0TGV0dGVyfX08L3NwYW4+XG4gICAgICA8IS0tIFFVQU5USVRZIC0tPlxuICAgICAgPGRpdiBjbGFzcz1cIm1pYW0tZHMtdGV4dCBzaXplLXMgd2VpZ2h0LWwgbWlhbS1yZWNpcGUtZGV0YWlscy1pbmdyZWRpZW50c19fcm93X19xdHlcIj5cbiAgICAgICAge3sgaW5ncmVkaWVudC5xdHkgfCByZWFkYWJsZUZsb2F0TnVtYmVyIDogaW5ncmVkaWVudC51bml0IH19XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,95 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Recipe } from '../../../_models
|
|
3
|
-
import { Icon } from '../../../_types/icon.enum';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { Recipe } from '../../../_models';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
import * as i1 from "@angular/common";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
i0.ɵɵ
|
|
9
|
-
i0.ɵɵelementStart(1, "span");
|
|
10
|
-
i0.ɵɵtext(2);
|
|
5
|
+
function RecipeDetailsStepsComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵelementStart(0, "span");
|
|
7
|
+
i0.ɵɵi18n(1, 5);
|
|
11
8
|
i0.ɵɵelementEnd();
|
|
12
|
-
i0.ɵɵelementEnd();
|
|
13
|
-
} if (rf & 2) {
|
|
14
|
-
const i_r2 = i0.ɵɵnextContext().index;
|
|
15
|
-
i0.ɵɵadvance(2);
|
|
16
|
-
i0.ɵɵtextInterpolate1(" ", i_r2 + 1, " ");
|
|
17
9
|
} }
|
|
18
|
-
function
|
|
19
|
-
i0.ɵɵ
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
i0.ɵɵproperty("height", 32)("width", 32)("iconName", ctx_r5.icon.CheckCircleFill);
|
|
10
|
+
function RecipeDetailsStepsComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
i0.ɵɵelementStart(0, "span");
|
|
12
|
+
i0.ɵɵi18n(1, 6);
|
|
13
|
+
i0.ɵɵelementEnd();
|
|
23
14
|
} }
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
i0.ɵɵelementStart(
|
|
28
|
-
i0.ɵɵ
|
|
29
|
-
i0.ɵɵ
|
|
30
|
-
i0.ɵɵ
|
|
31
|
-
i0.ɵɵelementStart(4, "div",
|
|
15
|
+
function RecipeDetailsStepsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
17
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
18
|
+
i0.ɵɵelementStart(2, "span", 9);
|
|
19
|
+
i0.ɵɵtext(3);
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
i0.ɵɵelementStart(4, "div", 10);
|
|
32
23
|
i0.ɵɵtext(5);
|
|
33
24
|
i0.ɵɵelementEnd();
|
|
34
|
-
i0.ɵɵelement(6, "ng-miam-icon", 9);
|
|
35
25
|
i0.ɵɵelementEnd();
|
|
36
26
|
} if (rf & 2) {
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
i0.ɵɵ
|
|
42
|
-
i0.ɵɵ
|
|
43
|
-
i0.ɵɵproperty("ngIf", i_r2 >= ctx_r0.activeStep)("ngIfElse", _r4);
|
|
44
|
-
i0.ɵɵadvance(4);
|
|
45
|
-
i0.ɵɵtextInterpolate(step_r1 == null ? null : step_r1.attributes == null ? null : step_r1.attributes.description);
|
|
46
|
-
i0.ɵɵadvance(1);
|
|
47
|
-
i0.ɵɵproperty("height", 20)("width", 20)("iconName", i_r2 < ctx_r0.activeStep ? ctx_r0.icon.CheckboxChecked : ctx_r0.icon.CheckboxUnchecked);
|
|
27
|
+
const step_r3 = ctx.$implicit;
|
|
28
|
+
const i_r4 = ctx.index;
|
|
29
|
+
i0.ɵɵadvance(3);
|
|
30
|
+
i0.ɵɵtextInterpolate1(" ", i_r4 + 1, " ");
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵtextInterpolate(step_r3 == null ? null : step_r3.attributes == null ? null : step_r3.attributes.description);
|
|
48
33
|
} }
|
|
49
34
|
export class RecipeDetailsStepsComponent {
|
|
50
|
-
constructor(cdr) {
|
|
51
|
-
this.cdr = cdr;
|
|
52
|
-
this.activeStep = 0;
|
|
53
|
-
this.icon = Icon;
|
|
54
|
-
}
|
|
55
|
-
ngOnChanges() {
|
|
56
|
-
if (this.recipe) {
|
|
57
|
-
this.activeStep = 0;
|
|
58
|
-
}
|
|
59
|
-
this.cdr.detectChanges();
|
|
60
|
-
}
|
|
61
|
-
changeActiveStep(index) {
|
|
62
|
-
if (this.activeStep >= index) {
|
|
63
|
-
this.activeStep = index - 1;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
this.activeStep = index;
|
|
67
|
-
}
|
|
68
|
-
this.cdr.detectChanges();
|
|
69
|
-
}
|
|
70
35
|
}
|
|
71
|
-
RecipeDetailsStepsComponent.ɵfac = function RecipeDetailsStepsComponent_Factory(t) { return new (t || RecipeDetailsStepsComponent)(
|
|
72
|
-
RecipeDetailsStepsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsStepsComponent, selectors: [["ng-miam-recipe-details-steps"]], inputs: { recipe: "recipe" },
|
|
73
|
-
const
|
|
74
|
-
i18n_0 =
|
|
36
|
+
RecipeDetailsStepsComponent.ɵfac = function RecipeDetailsStepsComponent_Factory(t) { return new (t || RecipeDetailsStepsComponent)(); };
|
|
37
|
+
RecipeDetailsStepsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsStepsComponent, selectors: [["ng-miam-recipe-details-steps"]], inputs: { recipe: "recipe" }, decls: 8, vars: 4, consts: function () { var i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
38
|
+
const MSG_EXTERNAL_8637234547790461302$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_STEPS_RECIPE_DETAILS_STEPS_COMPONENT_TS__1 = goog.getMsg("\u00E9tape");
|
|
39
|
+
i18n_0 = MSG_EXTERNAL_8637234547790461302$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_STEPS_RECIPE_DETAILS_STEPS_COMPONENT_TS__1;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
i18n_0 = $localize `:␟cc53912b673207fb8f211965ce70a6126839560c␟8637234547790461302:étape`;
|
|
43
|
+
} var i18n_2; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
44
|
+
const MSG_EXTERNAL_2078952905340877546$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_STEPS_RECIPE_DETAILS_STEPS_COMPONENT_TS__3 = goog.getMsg("\u00E9tapes");
|
|
45
|
+
i18n_2 = MSG_EXTERNAL_2078952905340877546$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_STEPS_RECIPE_DETAILS_STEPS_COMPONENT_TS__3;
|
|
75
46
|
}
|
|
76
47
|
else {
|
|
77
|
-
|
|
78
|
-
} return [[1, "miam-recipe-details-steps"], [1, "miam-
|
|
48
|
+
i18n_2 = $localize `:␟72dadcda5c07bc70b1fdafebbc6eade69922cc41␟2078952905340877546:étapes`;
|
|
49
|
+
} return [[1, "miam-recipe-details-steps"], [1, "miam-ds-text", "weight-xxl", "miam-recipe-details-steps__header"], [4, "ngIf"], [1, "miam-recipe-details-steps__list"], ["class", "miam-recipe-details-steps__step", 4, "ngFor", "ngForOf"], i18n_0, i18n_2, [1, "miam-recipe-details-steps__step"], [1, "miam-recipe-details-steps__step__idx"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-ds-text", "weight-l", "miam-recipe-details-steps__step__text"]]; }, template: function RecipeDetailsStepsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
79
50
|
i0.ɵɵelementStart(0, "div", 0);
|
|
80
51
|
i0.ɵɵelementStart(1, "div", 1);
|
|
81
52
|
i0.ɵɵelementStart(2, "span");
|
|
82
|
-
i0.ɵɵ
|
|
53
|
+
i0.ɵɵtext(3);
|
|
54
|
+
i0.ɵɵtemplate(4, RecipeDetailsStepsComponent_span_4_Template, 2, 0, "span", 2);
|
|
55
|
+
i0.ɵɵtemplate(5, RecipeDetailsStepsComponent_span_5_Template, 2, 0, "span", 2);
|
|
83
56
|
i0.ɵɵelementEnd();
|
|
84
57
|
i0.ɵɵelementEnd();
|
|
85
|
-
i0.ɵɵelementStart(
|
|
86
|
-
i0.ɵɵtemplate(
|
|
58
|
+
i0.ɵɵelementStart(6, "div", 3);
|
|
59
|
+
i0.ɵɵtemplate(7, RecipeDetailsStepsComponent_div_7_Template, 6, 2, "div", 4);
|
|
87
60
|
i0.ɵɵelementEnd();
|
|
88
61
|
i0.ɵɵelementEnd();
|
|
89
62
|
} if (rf & 2) {
|
|
90
|
-
i0.ɵɵadvance(
|
|
91
|
-
i0.ɵɵ
|
|
92
|
-
|
|
63
|
+
i0.ɵɵadvance(3);
|
|
64
|
+
i0.ɵɵtextInterpolate1("", ctx.recipe == null ? null : ctx.recipe.steps.length, " ");
|
|
65
|
+
i0.ɵɵadvance(1);
|
|
66
|
+
i0.ɵɵproperty("ngIf", (ctx.recipe == null ? null : ctx.recipe.steps.length) <= 1);
|
|
67
|
+
i0.ɵɵadvance(1);
|
|
68
|
+
i0.ɵɵproperty("ngIf", (ctx.recipe == null ? null : ctx.recipe.steps.length) > 1);
|
|
69
|
+
i0.ɵɵadvance(2);
|
|
70
|
+
i0.ɵɵproperty("ngForOf", ctx.recipe == null ? null : ctx.recipe.steps);
|
|
71
|
+
} }, directives: [i1.NgIf, i1.NgForOf], styles: [".miam-recipe-details-steps{display:flex;flex:1;flex-direction:column;gap:16px}.miam-recipe-details-steps .miam-recipe-details-steps__header{color:var(--miam-color-neutral-black,#1f3543)}@media (min-width:1022px){.miam-recipe-details-steps .miam-recipe-details-steps__header{font-size:20px;line-height:120%}}.miam-recipe-details-steps .miam-recipe-details-steps__list{display:flex;flex-direction:column;gap:16px}@media (min-width:1022px){.miam-recipe-details-steps .miam-recipe-details-steps__list{gap:0}}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step{align-items:center;display:flex;gap:12px}@media (min-width:1022px){.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step{padding:16px 0}}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__idx{align-items:center;background-color:var(--miam-ds-color-primary-100,#e4eaec);border-radius:var(--m-border-radius-circle);color:var(--miam-color-neutral-black,#1f3543);display:flex;height:32px;justify-content:center;width:32px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__text{color:var(--miam-color-neutral-black,#1f3543);flex:1;word-break:break-word}"], encapsulation: 2, changeDetection: 0 });
|
|
93
72
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(RecipeDetailsStepsComponent, [{
|
|
94
73
|
type: Component,
|
|
95
74
|
args: [{
|
|
@@ -99,7 +78,7 @@ RecipeDetailsStepsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetails
|
|
|
99
78
|
encapsulation: ViewEncapsulation.None,
|
|
100
79
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
101
80
|
}]
|
|
102
|
-
}],
|
|
81
|
+
}], null, { recipe: [{
|
|
103
82
|
type: Input
|
|
104
83
|
}] }); })();
|
|
105
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjaXBlLWRldGFpbHMtc3RlcHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Ii9idWlsZHMvbWlhbS9uZy1taWFtLXNkay9wcm9qZWN0cy9uZy1taWFtL3NyYy8iLCJzb3VyY2VzIjpbImxpYi9fd2ViLWNvbXBvbmVudHMvcmVjaXBlLWRldGFpbHMvcmVjaXBlLWRldGFpbHMtc3RlcHMvcmVjaXBlLWRldGFpbHMtc3RlcHMuY29tcG9uZW50LnRzIiwibGliL193ZWItY29tcG9uZW50cy9yZWNpcGUtZGV0YWlscy9yZWNpcGUtZGV0YWlscy1zdGVwcy9yZWNpcGUtZGV0YWlscy1zdGVwcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RixPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7SUNFTCw0QkFBNkM7SUFBN0MsZUFBNkM7SUFBSyxpQkFBTzs7O0lBQUEsNEJBQTRDO0lB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