ng-miam 8.8.8 → 8.8.9
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 +65 -69
- 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/_web-components/recipe-cards/recipe-card/recipe-card.component.js +65 -67
- package/fesm2015/ng-miam.js +64 -66
- package/fesm2015/ng-miam.js.map +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -17813,36 +17813,32 @@
|
|
|
17813
17813
|
}] });
|
|
17814
17814
|
})();
|
|
17815
17815
|
|
|
17816
|
-
function
|
|
17816
|
+
function RecipeCardComponent_div_1_div_7_ng_miam_like_button_1_Template(rf, ctx) {
|
|
17817
17817
|
if (rf & 1) {
|
|
17818
|
-
i0__namespace.ɵɵelement(0, "ng-miam-like-button",
|
|
17818
|
+
i0__namespace.ɵɵelement(0, "ng-miam-like-button", 29);
|
|
17819
17819
|
}
|
|
17820
17820
|
if (rf & 2) {
|
|
17821
|
-
var
|
|
17822
|
-
i0__namespace.ɵɵproperty("recipe",
|
|
17823
|
-
}
|
|
17824
|
-
}
|
|
17825
|
-
function RecipeCardComponent_div_1_div_7_ng_template_1_Template(rf, ctx) {
|
|
17826
|
-
if (rf & 1) {
|
|
17827
|
-
i0__namespace.ɵɵtemplate(0, RecipeCardComponent_div_1_div_7_ng_template_1_ng_miam_like_button_0_Template, 1, 2, "ng-miam-like-button", 24);
|
|
17828
|
-
i0__namespace.ɵɵpipe(1, "async");
|
|
17829
|
-
}
|
|
17830
|
-
if (rf & 2) {
|
|
17831
|
-
var ctx_r12 = i0__namespace.ɵɵnextContext(3);
|
|
17832
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx_r12.displayLikesBottom && i0__namespace.ɵɵpipeBind1(1, 1, ctx_r12.userService.isLogged$));
|
|
17821
|
+
var ctx_r11 = i0__namespace.ɵɵnextContext(3);
|
|
17822
|
+
i0__namespace.ɵɵproperty("recipe", ctx_r11.recipe)("originTrace", ctx_r11.eventTrace());
|
|
17833
17823
|
}
|
|
17834
17824
|
}
|
|
17835
17825
|
function RecipeCardComponent_div_1_div_7_Template(rf, ctx) {
|
|
17836
17826
|
if (rf & 1) {
|
|
17837
17827
|
i0__namespace.ɵɵelementStart(0, "div", 28);
|
|
17838
|
-
i0__namespace.ɵɵtemplate(1,
|
|
17828
|
+
i0__namespace.ɵɵtemplate(1, RecipeCardComponent_div_1_div_7_ng_miam_like_button_1_Template, 1, 2, "ng-miam-like-button", 24);
|
|
17829
|
+
i0__namespace.ɵɵpipe(2, "async");
|
|
17839
17830
|
i0__namespace.ɵɵelementEnd();
|
|
17840
17831
|
}
|
|
17832
|
+
if (rf & 2) {
|
|
17833
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
17834
|
+
i0__namespace.ɵɵadvance(1);
|
|
17835
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r1.displayLikesBottom && i0__namespace.ɵɵpipeBind1(2, 1, ctx_r1.userService.isLogged$));
|
|
17836
|
+
}
|
|
17841
17837
|
}
|
|
17842
17838
|
function RecipeCardComponent_div_1_div_8_Template(rf, ctx) {
|
|
17843
17839
|
if (rf & 1) {
|
|
17844
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17845
|
-
i0__namespace.ɵɵelement(1, "img",
|
|
17840
|
+
i0__namespace.ɵɵelementStart(0, "div", 30);
|
|
17841
|
+
i0__namespace.ɵɵelement(1, "img", 31);
|
|
17846
17842
|
i0__namespace.ɵɵelementEnd();
|
|
17847
17843
|
}
|
|
17848
17844
|
if (rf & 2) {
|
|
@@ -17853,38 +17849,38 @@
|
|
|
17853
17849
|
}
|
|
17854
17850
|
function RecipeCardComponent_div_1_div_9_Template(rf, ctx) {
|
|
17855
17851
|
if (rf & 1) {
|
|
17856
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17857
|
-
i0__namespace.ɵɵelement(1, "img",
|
|
17852
|
+
i0__namespace.ɵɵelementStart(0, "div", 32);
|
|
17853
|
+
i0__namespace.ɵɵelement(1, "img", 33);
|
|
17858
17854
|
i0__namespace.ɵɵelementEnd();
|
|
17859
17855
|
}
|
|
17860
17856
|
}
|
|
17861
17857
|
function RecipeCardComponent_div_1_div_19_div_5_Template(rf, ctx) {
|
|
17862
17858
|
if (rf & 1) {
|
|
17863
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17859
|
+
i0__namespace.ɵɵelementStart(0, "div", 39);
|
|
17864
17860
|
i0__namespace.ɵɵtext(1);
|
|
17865
17861
|
i0__namespace.ɵɵelementEnd();
|
|
17866
17862
|
}
|
|
17867
17863
|
if (rf & 2) {
|
|
17868
|
-
var
|
|
17864
|
+
var ctx_r12 = i0__namespace.ɵɵnextContext(3);
|
|
17869
17865
|
i0__namespace.ɵɵadvance(1);
|
|
17870
|
-
i0__namespace.ɵɵtextInterpolate1(" + ",
|
|
17866
|
+
i0__namespace.ɵɵtextInterpolate1(" + ", ctx_r12.recipe.modifiedIngredients.length - 2, " ");
|
|
17871
17867
|
}
|
|
17872
17868
|
}
|
|
17873
17869
|
function RecipeCardComponent_div_1_div_19_Template(rf, ctx) {
|
|
17874
17870
|
if (rf & 1) {
|
|
17875
|
-
var
|
|
17876
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17877
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
17878
|
-
i0__namespace.ɵɵelementStart(2, "img",
|
|
17879
|
-
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
17871
|
+
var _r14_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17872
|
+
i0__namespace.ɵɵelementStart(0, "div", 34);
|
|
17873
|
+
i0__namespace.ɵɵelementStart(1, "div", 35);
|
|
17874
|
+
i0__namespace.ɵɵelementStart(2, "img", 36);
|
|
17875
|
+
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_2_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r13.contextService.defaultIngredientPicture); });
|
|
17880
17876
|
i0__namespace.ɵɵelementEnd();
|
|
17881
17877
|
i0__namespace.ɵɵelementEnd();
|
|
17882
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
17883
|
-
i0__namespace.ɵɵelementStart(4, "img",
|
|
17884
|
-
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_4_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
17878
|
+
i0__namespace.ɵɵelementStart(3, "div", 35);
|
|
17879
|
+
i0__namespace.ɵɵelementStart(4, "img", 37);
|
|
17880
|
+
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r15 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r15.contextService.defaultIngredientPicture); });
|
|
17885
17881
|
i0__namespace.ɵɵelementEnd();
|
|
17886
17882
|
i0__namespace.ɵɵelementEnd();
|
|
17887
|
-
i0__namespace.ɵɵtemplate(5, RecipeCardComponent_div_1_div_19_div_5_Template, 2, 1, "div",
|
|
17883
|
+
i0__namespace.ɵɵtemplate(5, RecipeCardComponent_div_1_div_19_div_5_Template, 2, 1, "div", 38);
|
|
17888
17884
|
i0__namespace.ɵɵelementEnd();
|
|
17889
17885
|
}
|
|
17890
17886
|
if (rf & 2) {
|
|
@@ -17899,39 +17895,39 @@
|
|
|
17899
17895
|
}
|
|
17900
17896
|
function RecipeCardComponent_div_1_div_22_div_1_Template(rf, ctx) {
|
|
17901
17897
|
if (rf & 1) {
|
|
17902
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17903
|
-
i0__namespace.ɵɵelement(1, "img",
|
|
17904
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
17898
|
+
i0__namespace.ɵɵelementStart(0, "div", 43);
|
|
17899
|
+
i0__namespace.ɵɵelement(1, "img", 44);
|
|
17900
|
+
i0__namespace.ɵɵelementStart(2, "span", 45);
|
|
17905
17901
|
i0__namespace.ɵɵtext(3);
|
|
17906
17902
|
i0__namespace.ɵɵelementEnd();
|
|
17907
17903
|
i0__namespace.ɵɵelementEnd();
|
|
17908
17904
|
}
|
|
17909
17905
|
if (rf & 2) {
|
|
17910
|
-
var
|
|
17906
|
+
var ctx_r16 = i0__namespace.ɵɵnextContext(3);
|
|
17911
17907
|
i0__namespace.ɵɵadvance(3);
|
|
17912
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
17908
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r16.recipeService.difficultyLevels[ctx_r16.recipe.difficulty - 1].label);
|
|
17913
17909
|
}
|
|
17914
17910
|
}
|
|
17915
17911
|
function RecipeCardComponent_div_1_div_22_div_2_Template(rf, ctx) {
|
|
17916
17912
|
if (rf & 1) {
|
|
17917
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17918
|
-
i0__namespace.ɵɵelement(1, "img",
|
|
17919
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
17913
|
+
i0__namespace.ɵɵelementStart(0, "div", 46);
|
|
17914
|
+
i0__namespace.ɵɵelement(1, "img", 47);
|
|
17915
|
+
i0__namespace.ɵɵelementStart(2, "span", 45);
|
|
17920
17916
|
i0__namespace.ɵɵtext(3);
|
|
17921
17917
|
i0__namespace.ɵɵelementEnd();
|
|
17922
17918
|
i0__namespace.ɵɵelementEnd();
|
|
17923
17919
|
}
|
|
17924
17920
|
if (rf & 2) {
|
|
17925
|
-
var
|
|
17921
|
+
var ctx_r17 = i0__namespace.ɵɵnextContext(3);
|
|
17926
17922
|
i0__namespace.ɵɵadvance(3);
|
|
17927
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
17923
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r17.recipe.totalTime);
|
|
17928
17924
|
}
|
|
17929
17925
|
}
|
|
17930
17926
|
function RecipeCardComponent_div_1_div_22_Template(rf, ctx) {
|
|
17931
17927
|
if (rf & 1) {
|
|
17932
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17933
|
-
i0__namespace.ɵɵtemplate(1, RecipeCardComponent_div_1_div_22_div_1_Template, 4, 1, "div",
|
|
17934
|
-
i0__namespace.ɵɵtemplate(2, RecipeCardComponent_div_1_div_22_div_2_Template, 4, 1, "div",
|
|
17928
|
+
i0__namespace.ɵɵelementStart(0, "div", 40);
|
|
17929
|
+
i0__namespace.ɵɵtemplate(1, RecipeCardComponent_div_1_div_22_div_1_Template, 4, 1, "div", 41);
|
|
17930
|
+
i0__namespace.ɵɵtemplate(2, RecipeCardComponent_div_1_div_22_div_2_Template, 4, 1, "div", 42);
|
|
17935
17931
|
i0__namespace.ɵɵelementEnd();
|
|
17936
17932
|
}
|
|
17937
17933
|
if (rf & 2) {
|
|
@@ -17944,8 +17940,8 @@
|
|
|
17944
17940
|
}
|
|
17945
17941
|
function RecipeCardComponent_div_1_div_23_Template(rf, ctx) {
|
|
17946
17942
|
if (rf & 1) {
|
|
17947
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17948
|
-
i0__namespace.ɵɵelement(1, "ng-miam-recipe-pricing",
|
|
17943
|
+
i0__namespace.ɵɵelementStart(0, "div", 48);
|
|
17944
|
+
i0__namespace.ɵɵelement(1, "ng-miam-recipe-pricing", 49);
|
|
17949
17945
|
i0__namespace.ɵɵelementEnd();
|
|
17950
17946
|
}
|
|
17951
17947
|
if (rf & 2) {
|
|
@@ -17956,7 +17952,7 @@
|
|
|
17956
17952
|
}
|
|
17957
17953
|
function RecipeCardComponent_div_1_ng_miam_like_button_25_Template(rf, ctx) {
|
|
17958
17954
|
if (rf & 1) {
|
|
17959
|
-
i0__namespace.ɵɵelement(0, "ng-miam-like-button",
|
|
17955
|
+
i0__namespace.ɵɵelement(0, "ng-miam-like-button", 29);
|
|
17960
17956
|
}
|
|
17961
17957
|
if (rf & 2) {
|
|
17962
17958
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -17965,9 +17961,9 @@
|
|
|
17965
17961
|
}
|
|
17966
17962
|
function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_27_Template(rf, ctx) {
|
|
17967
17963
|
if (rf & 1) {
|
|
17968
|
-
var
|
|
17969
|
-
i0__namespace.ɵɵelementStart(0, "ng-miam-recipe-card-cta",
|
|
17970
|
-
i0__namespace.ɵɵlistener("displayed", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_27_Template_ng_miam_recipe_card_cta_displayed_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
17964
|
+
var _r19_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17965
|
+
i0__namespace.ɵɵelementStart(0, "ng-miam-recipe-card-cta", 50);
|
|
17966
|
+
i0__namespace.ɵɵlistener("displayed", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_27_Template_ng_miam_recipe_card_cta_displayed_0_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var ctx_r18 = i0__namespace.ɵɵnextContext(2); return ctx_r18.displayed.emit(); })("clicked", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_27_Template_ng_miam_recipe_card_cta_clicked_0_listener($event) { i0__namespace.ɵɵrestoreView(_r19_1); var ctx_r20 = i0__namespace.ɵɵnextContext(2); return ctx_r20.primaryButtonClicked$.emit($event); });
|
|
17971
17967
|
i0__namespace.ɵɵelementEnd();
|
|
17972
17968
|
}
|
|
17973
17969
|
if (rf & 2) {
|
|
@@ -17977,17 +17973,17 @@
|
|
|
17977
17973
|
}
|
|
17978
17974
|
function RecipeCardComponent_div_1_div_28_Template(rf, ctx) {
|
|
17979
17975
|
if (rf & 1) {
|
|
17980
|
-
var
|
|
17981
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
17982
|
-
i0__namespace.ɵɵelementStart(1, "button",
|
|
17983
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_28_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(
|
|
17976
|
+
var _r22_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17977
|
+
i0__namespace.ɵɵelementStart(0, "div", 51);
|
|
17978
|
+
i0__namespace.ɵɵelementStart(1, "button", 52);
|
|
17979
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_28_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.openCatalog.emit(); });
|
|
17984
17980
|
i0__namespace.ɵɵelementStart(2, "span");
|
|
17985
|
-
i0__namespace.ɵɵi18n(3,
|
|
17981
|
+
i0__namespace.ɵɵi18n(3, 53);
|
|
17986
17982
|
i0__namespace.ɵɵelementEnd();
|
|
17987
17983
|
i0__namespace.ɵɵelementEnd();
|
|
17988
|
-
i0__namespace.ɵɵelementStart(4, "button",
|
|
17989
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_28_Template_button_click_4_listener() { i0__namespace.ɵɵrestoreView(
|
|
17990
|
-
i0__namespace.ɵɵelement(5, "ng-miam-icon",
|
|
17984
|
+
i0__namespace.ɵɵelementStart(4, "button", 54);
|
|
17985
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_28_Template_button_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var ctx_r23 = i0__namespace.ɵɵnextContext(2); return ctx_r23.removeFromMealsPlanner.emit(); });
|
|
17986
|
+
i0__namespace.ɵɵelement(5, "ng-miam-icon", 55);
|
|
17991
17987
|
i0__namespace.ɵɵelementEnd();
|
|
17992
17988
|
i0__namespace.ɵɵelementEnd();
|
|
17993
17989
|
}
|
|
@@ -17999,31 +17995,31 @@
|
|
|
17999
17995
|
}
|
|
18000
17996
|
function RecipeCardComponent_div_1_button_29_Template(rf, ctx) {
|
|
18001
17997
|
if (rf & 1) {
|
|
18002
|
-
var
|
|
18003
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
18004
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_button_29_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
17998
|
+
var _r25_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17999
|
+
i0__namespace.ɵɵelementStart(0, "button", 52);
|
|
18000
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_button_29_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r25_1); var ctx_r24 = i0__namespace.ɵɵnextContext(2); return ctx_r24.addToMealsPlanner.emit(ctx_r24.recipe); });
|
|
18005
18001
|
i0__namespace.ɵɵelementStart(1, "span");
|
|
18006
|
-
i0__namespace.ɵɵi18n(2,
|
|
18002
|
+
i0__namespace.ɵɵi18n(2, 56);
|
|
18007
18003
|
i0__namespace.ɵɵelementEnd();
|
|
18008
18004
|
i0__namespace.ɵɵelementEnd();
|
|
18009
18005
|
}
|
|
18010
18006
|
}
|
|
18011
18007
|
function RecipeCardComponent_div_1_Template(rf, ctx) {
|
|
18012
18008
|
if (rf & 1) {
|
|
18013
|
-
var
|
|
18009
|
+
var _r27_1 = i0__namespace.ɵɵgetCurrentView();
|
|
18014
18010
|
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
18015
|
-
i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_1_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
18011
|
+
i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_1_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r26 = i0__namespace.ɵɵnextContext(); return ctx_r26.cardInViewport(); });
|
|
18016
18012
|
i0__namespace.ɵɵelementStart(1, "div", 3);
|
|
18017
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(
|
|
18013
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r28 = i0__namespace.ɵɵnextContext(); return ctx_r28.openRecipe(); });
|
|
18018
18014
|
i0__namespace.ɵɵelementStart(2, "div", 4);
|
|
18019
18015
|
i0__namespace.ɵɵelementStart(3, "img", 5);
|
|
18020
|
-
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_Template_img_error_3_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
18016
|
+
i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_Template_img_error_3_listener($event) { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r29 = i0__namespace.ɵɵnextContext(); return ($event.target["src"] = ctx_r29.contextService.defaultRecipePicture); });
|
|
18021
18017
|
i0__namespace.ɵɵelementEnd();
|
|
18022
18018
|
i0__namespace.ɵɵelementEnd();
|
|
18023
18019
|
i0__namespace.ɵɵelement(4, "div", 6);
|
|
18024
18020
|
i0__namespace.ɵɵelementStart(5, "div", 7);
|
|
18025
18021
|
i0__namespace.ɵɵelementStart(6, "div", 8);
|
|
18026
|
-
i0__namespace.ɵɵtemplate(7, RecipeCardComponent_div_1_div_7_Template, 3,
|
|
18022
|
+
i0__namespace.ɵɵtemplate(7, RecipeCardComponent_div_1_div_7_Template, 3, 3, "div", 9);
|
|
18027
18023
|
i0__namespace.ɵɵtemplate(8, RecipeCardComponent_div_1_div_8_Template, 2, 1, "div", 10);
|
|
18028
18024
|
i0__namespace.ɵɵtemplate(9, RecipeCardComponent_div_1_div_9_Template, 2, 0, "div", 11);
|
|
18029
18025
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -18043,7 +18039,7 @@
|
|
|
18043
18039
|
i0__namespace.ɵɵelementEnd();
|
|
18044
18040
|
i0__namespace.ɵɵelementEnd();
|
|
18045
18041
|
i0__namespace.ɵɵelementStart(18, "div", 17);
|
|
18046
|
-
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_18_listener() { i0__namespace.ɵɵrestoreView(
|
|
18042
|
+
i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_18_listener() { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r30 = i0__namespace.ɵɵnextContext(); return ctx_r30.openRecipe(); });
|
|
18047
18043
|
i0__namespace.ɵɵtemplate(19, RecipeCardComponent_div_1_div_19_Template, 6, 3, "div", 18);
|
|
18048
18044
|
i0__namespace.ɵɵelementStart(20, "div", 19);
|
|
18049
18045
|
i0__namespace.ɵɵelementStart(21, "div", 20);
|
|
@@ -18314,7 +18310,7 @@
|
|
|
18314
18310
|
else {
|
|
18315
18311
|
i18n_2 = $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
|
|
18316
18312
|
}
|
|
18317
|
-
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", 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__sponsor-container", 4, "ngIf"], ["class", "miam-recipe-card__badge-container", 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"], ["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"], [
|
|
18313
|
+
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", 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__sponsor-container", 4, "ngIf"], ["class", "miam-recipe-card__badge-container", 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"], ["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"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__sponsor-container"], ["alt", "sponsor picture", 1, "miam-recipe-card__sponsor-picture", 3, "src"], [1, "miam-recipe-card__badge-container"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe 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__price"], [1, "miam-ds-text", "weight-xxl", 3, "recipeId", "serves", "inViewport"], [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];
|
|
18318
18314
|
}, template: function RecipeCardComponent_Template(rf, ctx) {
|
|
18319
18315
|
if (rf & 1) {
|
|
18320
18316
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|