ng-miam 9.3.14 → 9.3.15
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 +154 -96
- 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/meals-planner/meals-planner.component.js +65 -7
- package/esm2015/lib/_web-components/recipe-tags/recipe-tags.component.js +21 -32
- package/esm2015/lib/environments/environment.js +3 -3
- package/esm2015/lib/environments/environment.prod.js +3 -3
- package/esm2015/lib/environments/version.js +2 -2
- package/fesm2015/ng-miam.js +88 -42
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_web-components/meals-planner/meals-planner.component.d.ts +1 -0
- package/lib/_web-components/meals-planner/meals-planner.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-tags/recipe-tags.component.d.ts +0 -1
- package/lib/_web-components/recipe-tags/recipe-tags.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
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
i18n_0 = MSG_EXTERNAL_346178670015862382$$LIB__COMPONENTS_ADDON_LINK_ADDON_LINK_COMPONENT_TS__1;
|
|
577
577
|
}
|
|
578
578
|
else {
|
|
579
|
-
i18n_0 = $localize(templateObject_1$
|
|
579
|
+
i18n_0 = $localize(templateObject_1$R || (templateObject_1$R = __makeTemplateObject([":\u241F592a6ddb645d9971d03862cb6b8b323a3d9a0be2\u241F346178670015862382:Cette recette vous est propos\u00E9e par notre partenaire"], [":\u241F592a6ddb645d9971d03862cb6b8b323a3d9a0be2\u241F346178670015862382:Cette recette vous est propos\u00E9e par notre partenaire"])));
|
|
580
580
|
}
|
|
581
581
|
var i18n_2;
|
|
582
582
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
type: i0.Output
|
|
627
627
|
}] });
|
|
628
628
|
})();
|
|
629
|
-
var templateObject_1$
|
|
629
|
+
var templateObject_1$R, templateObject_2$E;
|
|
630
630
|
|
|
631
631
|
var CORSOverlayComponent = /** @class */ (function () {
|
|
632
632
|
function CORSOverlayComponent() {
|
|
@@ -1832,9 +1832,9 @@
|
|
|
1832
1832
|
env: 'prod',
|
|
1833
1833
|
miamAPI: 'https://api.miam.tech',
|
|
1834
1834
|
miamWeb: 'https://miam.tech',
|
|
1835
|
-
mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.
|
|
1835
|
+
mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.7/dist',
|
|
1836
1836
|
mealzSsrApi: 'https://ssr-api.mealz.ai',
|
|
1837
|
-
mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.
|
|
1837
|
+
mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.4',
|
|
1838
1838
|
lang: 'fr',
|
|
1839
1839
|
analyticsEnabled: true // Only used in DEV mode
|
|
1840
1840
|
};
|
|
@@ -3652,7 +3652,7 @@
|
|
|
3652
3652
|
EventJourney["EMPTY"] = "";
|
|
3653
3653
|
})(EventJourney || (EventJourney = {}));
|
|
3654
3654
|
|
|
3655
|
-
var VERSION = "9.3.
|
|
3655
|
+
var VERSION = "9.3.15"; // TODO: replace by ##VERSION## and update it in the CI/CD
|
|
3656
3656
|
|
|
3657
3657
|
var ContextRegistryService = /** @class */ (function () {
|
|
3658
3658
|
function ContextRegistryService() {
|
|
@@ -10786,9 +10786,9 @@
|
|
|
10786
10786
|
env: 'prod',
|
|
10787
10787
|
miamAPI: 'https://api.miam.tech',
|
|
10788
10788
|
miamWeb: 'https://miam.tech',
|
|
10789
|
-
mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.
|
|
10789
|
+
mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.7/dist',
|
|
10790
10790
|
mealzSsrApi: 'https://ssr-api.mealz.ai',
|
|
10791
|
-
mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.
|
|
10791
|
+
mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.4',
|
|
10792
10792
|
lang: 'fr',
|
|
10793
10793
|
analyticsEnabled: true // Only used in DEV mode
|
|
10794
10794
|
};
|
|
@@ -12049,7 +12049,7 @@
|
|
|
12049
12049
|
i18n_0 = MSG_EXTERNAL_7941873496647081087$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_1;
|
|
12050
12050
|
}
|
|
12051
12051
|
else {
|
|
12052
|
-
i18n_0 = $localize(templateObject_1$
|
|
12052
|
+
i18n_0 = $localize(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject([":\u241F31447cf300f37b6f8ae96281c427b49242c801e5\u241F7941873496647081087:Je planifie mes repas"], [":\u241F31447cf300f37b6f8ae96281c427b49242c801e5\u241F7941873496647081087:Je planifie mes repas"])));
|
|
12053
12053
|
}
|
|
12054
12054
|
var i18n_2;
|
|
12055
12055
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12111,7 +12111,7 @@
|
|
|
12111
12111
|
}]
|
|
12112
12112
|
}], function () { return [{ type: ContextService }]; }, null);
|
|
12113
12113
|
})();
|
|
12114
|
-
var templateObject_1$
|
|
12114
|
+
var templateObject_1$Q, templateObject_2$D, templateObject_3$t;
|
|
12115
12115
|
|
|
12116
12116
|
function ModalComponent_ng_container_0_div_7_Template(rf, ctx) {
|
|
12117
12117
|
if (rf & 1) {
|
|
@@ -12431,7 +12431,7 @@
|
|
|
12431
12431
|
i18n_0 = MSG_EXTERNAL_3775647930168967606$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS___1;
|
|
12432
12432
|
}
|
|
12433
12433
|
else {
|
|
12434
|
-
i18n_0 = $localize(templateObject_1$
|
|
12434
|
+
i18n_0 = $localize(templateObject_1$P || (templateObject_1$P = __makeTemplateObject([":\u241F77ab0a692c428421d89ca45e8f244219959d2913\u241F3775647930168967606:Utilis\u00E9 dans "], [":\u241F77ab0a692c428421d89ca45e8f244219959d2913\u241F3775647930168967606:Utilis\u00E9 dans "])));
|
|
12435
12435
|
}
|
|
12436
12436
|
var i18n_2;
|
|
12437
12437
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -12526,7 +12526,7 @@
|
|
|
12526
12526
|
args: ['window:keydown.escape']
|
|
12527
12527
|
}] });
|
|
12528
12528
|
})();
|
|
12529
|
-
var templateObject_1$
|
|
12529
|
+
var templateObject_1$P, templateObject_2$C, templateObject_3$s, templateObject_4$p, templateObject_5$j;
|
|
12530
12530
|
|
|
12531
12531
|
var _c0$n = ["mealzPrice"];
|
|
12532
12532
|
var _c1$d = ["mealzOldPrice"];
|
|
@@ -12660,7 +12660,7 @@
|
|
|
12660
12660
|
i18n_0 = MSG_EXTERNAL_8545968125113919212$$LIB__COMPONENTS_PRODUCT_BADGES_PRODUCT_BADGES_COMPONENT_TS__1;
|
|
12661
12661
|
}
|
|
12662
12662
|
else {
|
|
12663
|
-
i18n_0 = $localize(templateObject_1$
|
|
12663
|
+
i18n_0 = $localize(templateObject_1$O || (templateObject_1$O = __makeTemplateObject([":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"], [":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"])));
|
|
12664
12664
|
}
|
|
12665
12665
|
return [[1, "miam-product-card__badges"], ["class", "miam-ds-badge miam-ds-text size-xs weight-l", 4, "ngIf"], [1, "miam-ds-badge", "miam-ds-text", "size-xs", "weight-l", "outline"], [1, "miam-ds-text", "size-xs", "miam-product-card__details", "product-price-per-unit"], [1, "miam-ds-badge", "miam-ds-text", "size-xs", "weight-l"], i18n_0];
|
|
12666
12666
|
}, template: function ProductBadgesComponent_Template(rf, ctx) {
|
|
@@ -12704,7 +12704,7 @@
|
|
|
12704
12704
|
type: i0.Input
|
|
12705
12705
|
}] });
|
|
12706
12706
|
})();
|
|
12707
|
-
var templateObject_1$
|
|
12707
|
+
var templateObject_1$O;
|
|
12708
12708
|
|
|
12709
12709
|
function TooltipableContentComponent_div_2_span_1_Template(rf, ctx) {
|
|
12710
12710
|
if (rf & 1) {
|
|
@@ -13444,7 +13444,7 @@
|
|
|
13444
13444
|
i18n_0 = MSG_EXTERNAL_5491081266313732174$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_1;
|
|
13445
13445
|
}
|
|
13446
13446
|
else {
|
|
13447
|
-
i18n_0 = $localize(templateObject_1$
|
|
13447
|
+
i18n_0 = $localize(templateObject_1$N || (templateObject_1$N = __makeTemplateObject([":\u241F47e7dbf996c20e48f8f5f7235432acbe1ddb8441\u241F5491081266313732174:Filtres"], [":\u241F47e7dbf996c20e48f8f5f7235432acbe1ddb8441\u241F5491081266313732174:Filtres"])));
|
|
13448
13448
|
}
|
|
13449
13449
|
var i18n_2;
|
|
13450
13450
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -13671,7 +13671,7 @@
|
|
|
13671
13671
|
type: i0.Output
|
|
13672
13672
|
}] });
|
|
13673
13673
|
})();
|
|
13674
|
-
var templateObject_1$
|
|
13674
|
+
var templateObject_1$N, templateObject_2$B, templateObject_3$r, templateObject_4$o, templateObject_5$i, templateObject_6$e, templateObject_7$d, 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;
|
|
13675
13675
|
|
|
13676
13676
|
var SelectPosButtonDirective = /** @class */ (function () {
|
|
13677
13677
|
function SelectPosButtonDirective(el, contextService, posService) {
|
|
@@ -13974,7 +13974,7 @@
|
|
|
13974
13974
|
i18n_0 = MSG_EXTERNAL_2218803795065127471$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS__1;
|
|
13975
13975
|
}
|
|
13976
13976
|
else {
|
|
13977
|
-
i18n_0 = $localize(templateObject_1$
|
|
13977
|
+
i18n_0 = $localize(templateObject_1$M || (templateObject_1$M = __makeTemplateObject([":\u241F6cbbde0e661ae9f5f19f865ba802214c7432be8f\u241F2218803795065127471:Afficher le prix"], [":\u241F6cbbde0e661ae9f5f19f865ba802214c7432be8f\u241F2218803795065127471:Afficher le prix"])));
|
|
13978
13978
|
}
|
|
13979
13979
|
var i18n_2;
|
|
13980
13980
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -14035,7 +14035,7 @@
|
|
|
14035
14035
|
type: i0.Output
|
|
14036
14036
|
}] });
|
|
14037
14037
|
})();
|
|
14038
|
-
var templateObject_1$
|
|
14038
|
+
var templateObject_1$M, templateObject_2$A, templateObject_3$q, templateObject_4$n;
|
|
14039
14039
|
|
|
14040
14040
|
var _c0$j = ["background"];
|
|
14041
14041
|
var _c1$9 = function (a0) { return { "active": a0 }; };
|
|
@@ -14309,7 +14309,7 @@
|
|
|
14309
14309
|
i18n_1 = MSG_EXTERNAL_8398233202919865612$$LIB__COMPONENTS_TIME_PICKER_TIME_PICKER_COMPONENT_TS_2;
|
|
14310
14310
|
}
|
|
14311
14311
|
else {
|
|
14312
|
-
i18n_1 = $localize(templateObject_1$
|
|
14312
|
+
i18n_1 = $localize(templateObject_1$L || (templateObject_1$L = __makeTemplateObject([":\u241Fdb0ffbb13aa0ec193b8664c627359e86274d15fa\u241F8398233202919865612:h"], [":\u241Fdb0ffbb13aa0ec193b8664c627359e86274d15fa\u241F8398233202919865612:h"])));
|
|
14313
14313
|
}
|
|
14314
14314
|
var i18n_3;
|
|
14315
14315
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -14377,7 +14377,7 @@
|
|
|
14377
14377
|
args: ['title', { static: false }]
|
|
14378
14378
|
}] });
|
|
14379
14379
|
})();
|
|
14380
|
-
var templateObject_1$
|
|
14380
|
+
var templateObject_1$L, templateObject_2$z;
|
|
14381
14381
|
|
|
14382
14382
|
function ToasterComponent_div_2_Template(rf, ctx) {
|
|
14383
14383
|
if (rf & 1) {
|
|
@@ -15039,7 +15039,7 @@
|
|
|
15039
15039
|
i18n_0 = MSG_EXTERNAL_3835013333520355539$$LIB__COMPONENTS_UNAVAILABLE_BADGE_UNAVAILABLE_BADGE_COMPONENT_TS__1;
|
|
15040
15040
|
}
|
|
15041
15041
|
else {
|
|
15042
|
-
i18n_0 = $localize(templateObject_1$
|
|
15042
|
+
i18n_0 = $localize(templateObject_1$K || (templateObject_1$K = __makeTemplateObject([":\u241Fdcc9842895cc489369d88a8cccb8f35fb8e0b0f2\u241F3835013333520355539:Indisponible"], [":\u241Fdcc9842895cc489369d88a8cccb8f35fb8e0b0f2\u241F3835013333520355539:Indisponible"])));
|
|
15043
15043
|
}
|
|
15044
15044
|
var i18n_2;
|
|
15045
15045
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -15100,7 +15100,7 @@
|
|
|
15100
15100
|
type: i0.Output
|
|
15101
15101
|
}] });
|
|
15102
15102
|
})();
|
|
15103
|
-
var templateObject_1$
|
|
15103
|
+
var templateObject_1$K, templateObject_2$y, templateObject_3$p;
|
|
15104
15104
|
|
|
15105
15105
|
var _c0$8 = function (a0) { return { circle: a0 }; };
|
|
15106
15106
|
var SkeletonComponent = /** @class */ (function () {
|
|
@@ -15266,7 +15266,7 @@
|
|
|
15266
15266
|
i18n_0 = MSG_EXTERNAL_4705093661060921903$$LIB__COMPONENTS_PRODUCT_CARD_OUT_OF_STOCK_OVERLAY_OUT_OF_STOCK_OVERLAY_COMPONENT_TS_1;
|
|
15267
15267
|
}
|
|
15268
15268
|
else {
|
|
15269
|
-
i18n_0 = $localize(templateObject_1$
|
|
15269
|
+
i18n_0 = $localize(templateObject_1$J || (templateObject_1$J = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
|
|
15270
15270
|
}
|
|
15271
15271
|
return [[1, "miam-out-of-stock-overlay"], [1, "miam-out-of-stock-overlay__container"], [1, "miam-out-of-stock-overlay__footer"], [1, "miam-ds-button", "small", "primary", "reverse", 3, "click"], i18n_0];
|
|
15272
15272
|
}, template: function OutOfStockOverlayComponent_Template(rf, ctx) {
|
|
@@ -15299,7 +15299,7 @@
|
|
|
15299
15299
|
type: i0.Output
|
|
15300
15300
|
}] });
|
|
15301
15301
|
})();
|
|
15302
|
-
var templateObject_1$
|
|
15302
|
+
var templateObject_1$J;
|
|
15303
15303
|
|
|
15304
15304
|
function PromotionBadgeComponent_div_1_Template(rf, ctx) {
|
|
15305
15305
|
if (rf & 1) {
|
|
@@ -15336,7 +15336,7 @@
|
|
|
15336
15336
|
i18n_0 = MSG_EXTERNAL_2099073297842949197$$LIB__COMPONENTS_PROMOTION_BADGE_PROMOTION_BADGE_COMPONENT_TS__1;
|
|
15337
15337
|
}
|
|
15338
15338
|
else {
|
|
15339
|
-
i18n_0 = $localize(templateObject_1$
|
|
15339
|
+
i18n_0 = $localize(templateObject_1$I || (templateObject_1$I = __makeTemplateObject([":\u241Fde07fe635ab87dfb62bd5898b01cfef95abf5356\u241F2099073297842949197:de remise imm\u00E9diate"], [":\u241Fde07fe635ab87dfb62bd5898b01cfef95abf5356\u241F2099073297842949197:de remise imm\u00E9diate"])));
|
|
15340
15340
|
}
|
|
15341
15341
|
return [[1, "miam-product-card__promotion__container"], ["class", "miam-ds-badge miam-product-card__promotion", 4, "ngIf"], [1, "miam-ds-badge", "miam-product-card__promotion"], [1, "miam-product-card__promotion-value", "miam-ds-text", "size-s", "weight-l"], [1, "miam-product-card__promotion-text", "miam-ds-text", "size-s", "weight-l"], i18n_0];
|
|
15342
15342
|
}, template: function PromotionBadgeComponent_Template(rf, ctx) {
|
|
@@ -15364,7 +15364,7 @@
|
|
|
15364
15364
|
type: i0.Input
|
|
15365
15365
|
}] });
|
|
15366
15366
|
})();
|
|
15367
|
-
var templateObject_1$
|
|
15367
|
+
var templateObject_1$I;
|
|
15368
15368
|
|
|
15369
15369
|
function ProductCardComponent_div_0_ng_miam_out_of_stock_overlay_1_Template(rf, ctx) {
|
|
15370
15370
|
if (rf & 1) {
|
|
@@ -15877,7 +15877,7 @@
|
|
|
15877
15877
|
i18n_0 = MSG_EXTERNAL_4705093661060921903$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS___1;
|
|
15878
15878
|
}
|
|
15879
15879
|
else {
|
|
15880
|
-
i18n_0 = $localize(templateObject_1$
|
|
15880
|
+
i18n_0 = $localize(templateObject_1$H || (templateObject_1$H = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
|
|
15881
15881
|
}
|
|
15882
15882
|
var i18n_2;
|
|
15883
15883
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -15958,7 +15958,7 @@
|
|
|
15958
15958
|
type: i0.Input
|
|
15959
15959
|
}] });
|
|
15960
15960
|
})();
|
|
15961
|
-
var templateObject_1$
|
|
15961
|
+
var templateObject_1$H, templateObject_2$x, templateObject_3$o, templateObject_4$m, templateObject_5$h, templateObject_6$d, templateObject_7$c, templateObject_8$9;
|
|
15962
15962
|
|
|
15963
15963
|
function ProductsPickerComponent_ng_container_3_span_3_Template(rf, ctx) {
|
|
15964
15964
|
if (rf & 1) {
|
|
@@ -16233,7 +16233,7 @@
|
|
|
16233
16233
|
i18n_0 = MSG_EXTERNAL_605370619355451874$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS___1;
|
|
16234
16234
|
}
|
|
16235
16235
|
else {
|
|
16236
|
-
i18n_0 = $localize(templateObject_1$
|
|
16236
|
+
i18n_0 = $localize(templateObject_1$G || (templateObject_1$G = __makeTemplateObject([":\u241Ff2568064e2473c7c3d8d97951a6972d1ff930a96\u241F605370619355451874: ingr\u00E9dients"], [":\u241Ff2568064e2473c7c3d8d97951a6972d1ff930a96\u241F605370619355451874: ingr\u00E9dients"])));
|
|
16237
16237
|
}
|
|
16238
16238
|
var i18n_2;
|
|
16239
16239
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -16341,7 +16341,7 @@
|
|
|
16341
16341
|
type: i0.Output
|
|
16342
16342
|
}] });
|
|
16343
16343
|
})();
|
|
16344
|
-
var templateObject_1$
|
|
16344
|
+
var templateObject_1$G, templateObject_2$w, templateObject_3$n, templateObject_4$l, templateObject_5$g, templateObject_6$c, templateObject_7$b;
|
|
16345
16345
|
|
|
16346
16346
|
function NoPosSelectedComponent_ng_container_1_Template(rf, ctx) {
|
|
16347
16347
|
if (rf & 1) {
|
|
@@ -16390,7 +16390,7 @@
|
|
|
16390
16390
|
i18n_0 = MSG_EXTERNAL_951171230257254217$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS_1;
|
|
16391
16391
|
}
|
|
16392
16392
|
else {
|
|
16393
|
-
i18n_0 = $localize(templateObject_1$
|
|
16393
|
+
i18n_0 = $localize(templateObject_1$F || (templateObject_1$F = __makeTemplateObject([":\u241Fc8f80d9888c20c5fefa1a4273529366bdb421476\u241F951171230257254217:S\u00E9lectionner un magasin"], [":\u241Fc8f80d9888c20c5fefa1a4273529366bdb421476\u241F951171230257254217:S\u00E9lectionner un magasin"])));
|
|
16394
16394
|
}
|
|
16395
16395
|
var i18n_2;
|
|
16396
16396
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -16460,7 +16460,7 @@
|
|
|
16460
16460
|
type: i0.Output
|
|
16461
16461
|
}] });
|
|
16462
16462
|
})();
|
|
16463
|
-
var templateObject_1$
|
|
16463
|
+
var templateObject_1$F, templateObject_2$v, templateObject_3$m, templateObject_4$k, templateObject_5$f;
|
|
16464
16464
|
|
|
16465
16465
|
var ProductAdditionCardComponent = /** @class */ (function () {
|
|
16466
16466
|
function ProductAdditionCardComponent(productReplacementService) {
|
|
@@ -16476,7 +16476,7 @@
|
|
|
16476
16476
|
i18n_0 = MSG_EXTERNAL_1525113191484251425$$LIB__COMPONENTS_PRODUCT_ADDITION_CARD_PRODUCT_ADDITION_CARD_COMPONENT_TS_1;
|
|
16477
16477
|
}
|
|
16478
16478
|
else {
|
|
16479
|
-
i18n_0 = $localize(templateObject_1$
|
|
16479
|
+
i18n_0 = $localize(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([":\u241Ff6a73fdf0e43fb78d2badaca50e79f1f5f496258\u241F1525113191484251425:Besoin de quelque chose en particulier ?"], [":\u241Ff6a73fdf0e43fb78d2badaca50e79f1f5f496258\u241F1525113191484251425:Besoin de quelque chose en particulier ?"])));
|
|
16480
16480
|
}
|
|
16481
16481
|
var i18n_2;
|
|
16482
16482
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -16514,7 +16514,7 @@
|
|
|
16514
16514
|
}]
|
|
16515
16515
|
}], function () { return [{ type: ProductReplacementService }]; }, null);
|
|
16516
16516
|
})();
|
|
16517
|
-
var templateObject_1$
|
|
16517
|
+
var templateObject_1$E, templateObject_2$u;
|
|
16518
16518
|
|
|
16519
16519
|
var RecipePromotionBadgeComponent = /** @class */ (function () {
|
|
16520
16520
|
function RecipePromotionBadgeComponent() {
|
|
@@ -16529,7 +16529,7 @@
|
|
|
16529
16529
|
i18n_0 = MSG_EXTERNAL_7879917059977078945$$LIB__COMPONENTS_RECIPE_PROMOTION_BADGE_RECIPE_PROMOTION_BADGE_COMPONENT_TS_1;
|
|
16530
16530
|
}
|
|
16531
16531
|
else {
|
|
16532
|
-
i18n_0 = $localize(templateObject_1$
|
|
16532
|
+
i18n_0 = $localize(templateObject_1$D || (templateObject_1$D = __makeTemplateObject([":\u241Fa95b83d06c5cde80a506c7e649b862c065ebc393\u241F7879917059977078945:Promo'"], [":\u241Fa95b83d06c5cde80a506c7e649b862c065ebc393\u241F7879917059977078945:Promo'"])));
|
|
16533
16533
|
}
|
|
16534
16534
|
return [[1, "miam-recipe-promotion-badge"], ["alt", "", "aria-hidden", "true", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe_discount.svg", 1, "miam-recipe-promotion-badge__icon"], [1, "miam-ds-text", "weight-xl"], i18n_0];
|
|
16535
16535
|
}, template: function RecipePromotionBadgeComponent_Template(rf, ctx) {
|
|
@@ -16554,7 +16554,7 @@
|
|
|
16554
16554
|
}]
|
|
16555
16555
|
}], null, null);
|
|
16556
16556
|
})();
|
|
16557
|
-
var templateObject_1$
|
|
16557
|
+
var templateObject_1$D;
|
|
16558
16558
|
|
|
16559
16559
|
var PromotionsBannerComponent = /** @class */ (function () {
|
|
16560
16560
|
function PromotionsBannerComponent() {
|
|
@@ -16570,7 +16570,7 @@
|
|
|
16570
16570
|
i18n_0 = MSG_EXTERNAL_4019422797206036470$$LIB__COMPONENTS_PROMOTIONS_BANNER_PROMOTIONS_BANNER_COMPONENT_TS_1;
|
|
16571
16571
|
}
|
|
16572
16572
|
else {
|
|
16573
|
-
i18n_0 = $localize(templateObject_1$
|
|
16573
|
+
i18n_0 = $localize(templateObject_1$C || (templateObject_1$C = __makeTemplateObject([":\u241Faee24ecdebdace141b39819a7034cd1a2d2cfb55\u241F4019422797206036470:Nouveau"], [":\u241Faee24ecdebdace141b39819a7034cd1a2d2cfb55\u241F4019422797206036470:Nouveau"])));
|
|
16574
16574
|
}
|
|
16575
16575
|
var i18n_2;
|
|
16576
16576
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -16610,7 +16610,7 @@
|
|
|
16610
16610
|
type: i0.Output
|
|
16611
16611
|
}] });
|
|
16612
16612
|
})();
|
|
16613
|
-
var templateObject_1$
|
|
16613
|
+
var templateObject_1$C, templateObject_2$t;
|
|
16614
16614
|
|
|
16615
16615
|
var StoreLocatorComponent = /** @class */ (function (_super) {
|
|
16616
16616
|
__extends(StoreLocatorComponent, _super);
|
|
@@ -17110,7 +17110,7 @@
|
|
|
17110
17110
|
i18n_0 = MSG_EXTERNAL_5279571682523834027$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__1;
|
|
17111
17111
|
}
|
|
17112
17112
|
else {
|
|
17113
|
-
i18n_0 = $localize(templateObject_1$
|
|
17113
|
+
i18n_0 = $localize(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "], [":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "])));
|
|
17114
17114
|
}
|
|
17115
17115
|
var i18n_2;
|
|
17116
17116
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -17208,7 +17208,7 @@
|
|
|
17208
17208
|
args: ['window:resize', ['$event']]
|
|
17209
17209
|
}] });
|
|
17210
17210
|
})();
|
|
17211
|
-
var templateObject_1$
|
|
17211
|
+
var templateObject_1$B, templateObject_2$s, templateObject_3$l, templateObject_4$j, templateObject_5$e;
|
|
17212
17212
|
|
|
17213
17213
|
function BasketPreviewLineComponent_ng_container_0_div_5_Template(rf, ctx) {
|
|
17214
17214
|
if (rf & 1) {
|
|
@@ -18150,7 +18150,7 @@
|
|
|
18150
18150
|
i18n_0 = MSG_EXTERNAL_6749102764655247912$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS__1;
|
|
18151
18151
|
}
|
|
18152
18152
|
else {
|
|
18153
|
-
i18n_0 = $localize(templateObject_1$
|
|
18153
|
+
i18n_0 = $localize(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"], [":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"])));
|
|
18154
18154
|
}
|
|
18155
18155
|
var i18n_2;
|
|
18156
18156
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -18313,7 +18313,7 @@
|
|
|
18313
18313
|
type: i0.Output
|
|
18314
18314
|
}] });
|
|
18315
18315
|
})();
|
|
18316
|
-
var templateObject_1$
|
|
18316
|
+
var templateObject_1$A, templateObject_2$r, templateObject_3$k, templateObject_4$i, templateObject_5$d, templateObject_6$b, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$5, templateObject_11$5, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
|
|
18317
18317
|
|
|
18318
18318
|
function BasketPreviewProductComponent_div_0_div_19_Template(rf, ctx) {
|
|
18319
18319
|
if (rf & 1) {
|
|
@@ -18534,7 +18534,7 @@
|
|
|
18534
18534
|
i18n_0 = MSG_EXTERNAL_4705093661060921903$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_PRODUCT_BASKET_PREVIEW_PRODUCT_COMPONENT_TS___1;
|
|
18535
18535
|
}
|
|
18536
18536
|
else {
|
|
18537
|
-
i18n_0 = $localize(templateObject_1$
|
|
18537
|
+
i18n_0 = $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
|
|
18538
18538
|
}
|
|
18539
18539
|
return [["class", "miam-basket-preview-product", 3, "id", 4, "ngIf"], [1, "miam-basket-preview-product", 3, "id"], [1, "miam-basket-preview-product__infos-container"], [1, "miam-basket-preview-product__picture-container"], [1, "miam-basket-preview-product__picture"], [3, "alt", "src", "error"], [1, "miam-basket-preview-product__infos-and-actions"], [1, "miam-basket-preview-product__infos"], [1, "miam-basket-preview-product__title", "miam-ds-text", "weight-l", "size-s"], [1, "miam-product-card__badges"], [1, "miam-basket-preview-product__capacity", "miam-ds-badge"], ["aria-hidden", "true"], ["class", "miam-basket-preview-product__sponsorised miam-ds-badge", 4, "ngIf"], ["class", "miam-basket-preview-product__replace-button miam-ds-button ghost", 3, "disabled", "click", 4, "ngIf"], ["aria-label", "Supprimer", 1, "miam-basket-preview-line__remove", "miam-ds-button", "ghost", 3, "ngClass", "click"], ["class", "miam-ds-loader", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/trash.svg", "alt", "", "aria-hidden", "true", 4, "ngIf"], [1, "miam-basket-preview-product__price-and-action"], [1, "miam-basket-preview-product__price", "miam-ds-text", "size-l", "weight-xl"], ["minRange", "0", 3, "value", "minusLoading", "disable", "valueChange"], [1, "miam-basket-preview-product__sponsorised", "miam-ds-badge"], [1, "miam-basket-preview-product__replace-button", "miam-ds-button", "ghost", 3, "disabled", "click"], i18n_0, [1, "miam-ds-loader"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/trash.svg", "alt", "", "aria-hidden", "true"]];
|
|
18540
18540
|
}, template: function BasketPreviewProductComponent_Template(rf, ctx) {
|
|
@@ -18567,7 +18567,7 @@
|
|
|
18567
18567
|
type: i0.Output
|
|
18568
18568
|
}] });
|
|
18569
18569
|
})();
|
|
18570
|
-
var templateObject_1$
|
|
18570
|
+
var templateObject_1$z;
|
|
18571
18571
|
|
|
18572
18572
|
var RemoveRecipeAction = /** @class */ (function (_super) {
|
|
18573
18573
|
__extends(RemoveRecipeAction, _super);
|
|
@@ -19202,7 +19202,7 @@
|
|
|
19202
19202
|
i18n_0 = MSG_EXTERNAL_6950029358283595645$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_1;
|
|
19203
19203
|
}
|
|
19204
19204
|
else {
|
|
19205
|
-
i18n_0 = $localize(templateObject_1$
|
|
19205
|
+
i18n_0 = $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject([":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"], [":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"])));
|
|
19206
19206
|
}
|
|
19207
19207
|
var i18n_2;
|
|
19208
19208
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -19395,7 +19395,7 @@
|
|
|
19395
19395
|
args: ['@slide']
|
|
19396
19396
|
}] });
|
|
19397
19397
|
})();
|
|
19398
|
-
var templateObject_1$
|
|
19398
|
+
var templateObject_1$y, templateObject_2$q, templateObject_3$j, templateObject_4$h, templateObject_5$c, templateObject_6$a, templateObject_7$9, templateObject_8$7, templateObject_9$5, templateObject_10$4, templateObject_11$4;
|
|
19399
19399
|
|
|
19400
19400
|
function BasketPreviewBlockComponent_div_2_ng_container_1_div_2_Template(rf, ctx) {
|
|
19401
19401
|
if (rf & 1) {
|
|
@@ -19926,7 +19926,7 @@
|
|
|
19926
19926
|
i18n_0 = MSG_EXTERNAL_8629591622298910251$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS___1;
|
|
19927
19927
|
}
|
|
19928
19928
|
else {
|
|
19929
|
-
i18n_0 = $localize(templateObject_1$
|
|
19929
|
+
i18n_0 = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"], [":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"])));
|
|
19930
19930
|
}
|
|
19931
19931
|
var i18n_2;
|
|
19932
19932
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20043,7 +20043,7 @@
|
|
|
20043
20043
|
args: [BasketPreviewProductComponent]
|
|
20044
20044
|
}] });
|
|
20045
20045
|
})();
|
|
20046
|
-
var templateObject_1$
|
|
20046
|
+
var templateObject_1$x, templateObject_2$p, templateObject_3$i, templateObject_4$g, templateObject_5$b, templateObject_6$9, templateObject_7$8, templateObject_8$6;
|
|
20047
20047
|
|
|
20048
20048
|
var BasketPreviewModule = /** @class */ (function () {
|
|
20049
20049
|
// Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
|
|
@@ -20188,7 +20188,7 @@
|
|
|
20188
20188
|
i18n_0 = MSG_EXTERNAL_7845121959018697970$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_1;
|
|
20189
20189
|
}
|
|
20190
20190
|
else {
|
|
20191
|
-
i18n_0 = $localize(templateObject_1$
|
|
20191
|
+
i18n_0 = $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
|
|
20192
20192
|
}
|
|
20193
20193
|
var i18n_2;
|
|
20194
20194
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20301,7 +20301,7 @@
|
|
|
20301
20301
|
}]
|
|
20302
20302
|
}], function () { return [{ type: BasketTransferService }, { type: BasketsService }, { type: PointOfSalesService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
|
|
20303
20303
|
})();
|
|
20304
|
-
var templateObject_1$
|
|
20304
|
+
var templateObject_1$w, templateObject_2$o, templateObject_3$h, templateObject_4$f, templateObject_5$a, templateObject_6$8, templateObject_7$7, templateObject_8$5;
|
|
20305
20305
|
|
|
20306
20306
|
function BasketTransferLoaderComponent_ng_container_0_Template(rf, ctx) {
|
|
20307
20307
|
if (rf & 1) {
|
|
@@ -20345,7 +20345,7 @@
|
|
|
20345
20345
|
i18n_0 = MSG_EXTERNAL_5759781015293253997$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_BASKET_TRANSFER_LOADER_BASKET_TRANSFER_LOADER_COMPONENT_TS__1;
|
|
20346
20346
|
}
|
|
20347
20347
|
else {
|
|
20348
|
-
i18n_0 = $localize(templateObject_1$
|
|
20348
|
+
i18n_0 = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([":\u241Fb8c68d9e9ed9ce2143d907baf2a5bef770418bf6\u241F5759781015293253997: Vous allez \u00EAtre automatiquement redirig\u00E9 vers votre panier dans quelques secondes. "], [":\u241Fb8c68d9e9ed9ce2143d907baf2a5bef770418bf6\u241F5759781015293253997: Vous allez \u00EAtre automatiquement redirig\u00E9 vers votre panier dans quelques secondes. "])));
|
|
20349
20349
|
}
|
|
20350
20350
|
return [[4, "ngIf"], [1, "miam-basket-transfer-loader"], [1, "miam-shadow-overlay"], [1, "miam-basket-transfer-loader__content"], [1, "miam-ds-text"], i18n_0];
|
|
20351
20351
|
}, template: function BasketTransferLoaderComponent_Template(rf, ctx) {
|
|
@@ -20368,7 +20368,7 @@
|
|
|
20368
20368
|
}]
|
|
20369
20369
|
}], function () { return [{ type: BasketTransferService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
|
|
20370
20370
|
})();
|
|
20371
|
-
var templateObject_1$
|
|
20371
|
+
var templateObject_1$v;
|
|
20372
20372
|
|
|
20373
20373
|
var BasketTransferErrorModalComponent = /** @class */ (function () {
|
|
20374
20374
|
function BasketTransferErrorModalComponent(basketTransferService, cdr) {
|
|
@@ -20419,7 +20419,7 @@
|
|
|
20419
20419
|
i18n_0 = MSG_EXTERNAL_9059155436017318544$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_BASKET_TRANSFER_ERROR_MODAL_BASKET_TRANSFER_ERROR_MODAL_COMPONENT_TS_1;
|
|
20420
20420
|
}
|
|
20421
20421
|
else {
|
|
20422
|
-
i18n_0 = $localize(templateObject_1$
|
|
20422
|
+
i18n_0 = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"], [":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"])));
|
|
20423
20423
|
}
|
|
20424
20424
|
var i18n_2;
|
|
20425
20425
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20483,7 +20483,7 @@
|
|
|
20483
20483
|
}]
|
|
20484
20484
|
}], function () { return [{ type: BasketTransferService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
|
|
20485
20485
|
})();
|
|
20486
|
-
var templateObject_1$
|
|
20486
|
+
var templateObject_1$u, templateObject_2$n, templateObject_3$g, templateObject_4$e;
|
|
20487
20487
|
|
|
20488
20488
|
function ListScanBasketPreviewComponent_ng_container_2_ng_miam_basket_preview_product_6_Template(rf, ctx) {
|
|
20489
20489
|
if (rf & 1) {
|
|
@@ -20586,7 +20586,7 @@
|
|
|
20586
20586
|
i18n_0 = MSG_EXTERNAL_4239310127006405587$$LIB__WEB_COMPONENTS_LIST_SCAN_BASKET_PREVIEW_BASKET_PREVIEW_COMPONENT_TS___1;
|
|
20587
20587
|
}
|
|
20588
20588
|
else {
|
|
20589
|
-
i18n_0 = $localize(templateObject_1$
|
|
20589
|
+
i18n_0 = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."], [":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."])));
|
|
20590
20590
|
}
|
|
20591
20591
|
var i18n_2;
|
|
20592
20592
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20625,7 +20625,7 @@
|
|
|
20625
20625
|
type: i0.Output
|
|
20626
20626
|
}] });
|
|
20627
20627
|
})();
|
|
20628
|
-
var templateObject_1$
|
|
20628
|
+
var templateObject_1$t, templateObject_2$m;
|
|
20629
20629
|
|
|
20630
20630
|
function ListScanFilesInputsComponent_div_1_ng_container_4_Template(rf, ctx) {
|
|
20631
20631
|
if (rf & 1) {
|
|
@@ -20730,7 +20730,7 @@
|
|
|
20730
20730
|
i18n_0 = MSG_EXTERNAL_3102383292942643907$$LIB__WEB_COMPONENTS_LIST_SCAN_FILES_INPUTS_FILES_INPUTS_COMPONENT_TS___1;
|
|
20731
20731
|
}
|
|
20732
20732
|
else {
|
|
20733
|
-
i18n_0 = $localize(templateObject_1$
|
|
20733
|
+
i18n_0 = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"], [":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"])));
|
|
20734
20734
|
}
|
|
20735
20735
|
var i18n_3;
|
|
20736
20736
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20769,7 +20769,7 @@
|
|
|
20769
20769
|
type: i0.Input
|
|
20770
20770
|
}] });
|
|
20771
20771
|
})();
|
|
20772
|
-
var templateObject_1$
|
|
20772
|
+
var templateObject_1$s, templateObject_2$l;
|
|
20773
20773
|
|
|
20774
20774
|
var ListScanComponent = /** @class */ (function (_super) {
|
|
20775
20775
|
__extends(ListScanComponent, _super);
|
|
@@ -20855,7 +20855,7 @@
|
|
|
20855
20855
|
i18n_0 = MSG_EXTERNAL_5810732921987905942$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_1;
|
|
20856
20856
|
}
|
|
20857
20857
|
else {
|
|
20858
|
-
i18n_0 = $localize(templateObject_1$
|
|
20858
|
+
i18n_0 = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"], [":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"])));
|
|
20859
20859
|
}
|
|
20860
20860
|
var i18n_2;
|
|
20861
20861
|
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
@@ -20951,7 +20951,7 @@
|
|
|
20951
20951
|
type: i0.Output
|
|
20952
20952
|
}] });
|
|
20953
20953
|
})();
|
|
20954
|
-
var templateObject_1$
|
|
20954
|
+
var templateObject_1$r, templateObject_2$k, templateObject_3$f, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$6;
|
|
20955
20955
|
|
|
20956
20956
|
var ListScanModule = /** @class */ (function () {
|
|
20957
20957
|
// Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
|
|
@@ -21046,6 +21046,47 @@
|
|
|
21046
21046
|
}(BasketAction));
|
|
21047
21047
|
|
|
21048
21048
|
var _c0$6 = ["miamMealsPlannerTopAnchor"];
|
|
21049
|
+
function MealsPlannerComponent_ng_template_0_Template(rf, ctx) {
|
|
21050
|
+
if (rf & 1) {
|
|
21051
|
+
i0__namespace.ɵɵelementStart(0, "div", 4);
|
|
21052
|
+
i0__namespace.ɵɵelementStart(1, "span", 5);
|
|
21053
|
+
i0__namespace.ɵɵtext(2, "Chargement");
|
|
21054
|
+
i0__namespace.ɵɵelementEnd();
|
|
21055
|
+
i0__namespace.ɵɵnamespaceSVG();
|
|
21056
|
+
i0__namespace.ɵɵelementStart(3, "svg", 6);
|
|
21057
|
+
i0__namespace.ɵɵelement(4, "path", 7);
|
|
21058
|
+
i0__namespace.ɵɵelement(5, "path", 8);
|
|
21059
|
+
i0__namespace.ɵɵelement(6, "path", 9);
|
|
21060
|
+
i0__namespace.ɵɵelement(7, "path", 10);
|
|
21061
|
+
i0__namespace.ɵɵelement(8, "path", 11);
|
|
21062
|
+
i0__namespace.ɵɵelement(9, "path", 12);
|
|
21063
|
+
i0__namespace.ɵɵelement(10, "path", 13);
|
|
21064
|
+
i0__namespace.ɵɵelement(11, "path", 14);
|
|
21065
|
+
i0__namespace.ɵɵelementEnd();
|
|
21066
|
+
i0__namespace.ɵɵelementEnd();
|
|
21067
|
+
}
|
|
21068
|
+
}
|
|
21069
|
+
function MealsPlannerComponent_div_3_ng_container_1_Template(rf, ctx) {
|
|
21070
|
+
if (rf & 1) {
|
|
21071
|
+
i0__namespace.ɵɵelementContainer(0);
|
|
21072
|
+
}
|
|
21073
|
+
}
|
|
21074
|
+
function MealsPlannerComponent_div_3_Template(rf, ctx) {
|
|
21075
|
+
if (rf & 1) {
|
|
21076
|
+
i0__namespace.ɵɵelementStart(0, "div", 15);
|
|
21077
|
+
i0__namespace.ɵɵtemplate(1, MealsPlannerComponent_div_3_ng_container_1_Template, 1, 0, "ng-container", 16);
|
|
21078
|
+
i0__namespace.ɵɵelementStart(2, "span", 17);
|
|
21079
|
+
i0__namespace.ɵɵi18n(3, 18);
|
|
21080
|
+
i0__namespace.ɵɵelementEnd();
|
|
21081
|
+
i0__namespace.ɵɵelementEnd();
|
|
21082
|
+
}
|
|
21083
|
+
if (rf & 2) {
|
|
21084
|
+
i0__namespace.ɵɵnextContext();
|
|
21085
|
+
var _r0 = i0__namespace.ɵɵreference(1);
|
|
21086
|
+
i0__namespace.ɵɵadvance(1);
|
|
21087
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r0);
|
|
21088
|
+
}
|
|
21089
|
+
}
|
|
21049
21090
|
var recipeIncludes$4 = ['recipe-provider', 'sponsors', 'tags'];
|
|
21050
21091
|
var recipeSparseFields$4 = {
|
|
21051
21092
|
recipes: __spread(['title', 'number-of-guests', 'media-url', 'video-id', 'filigrane-logo-url', 'difficulty', 'preparation-time', 'cooking-time',
|
|
@@ -21080,6 +21121,7 @@
|
|
|
21080
21121
|
_this.timeOnStart = Date.now();
|
|
21081
21122
|
_this.featureIsAuthorized = false;
|
|
21082
21123
|
_this.previousBasketEntries = [];
|
|
21124
|
+
_this.plannerDashboardLoading = false;
|
|
21083
21125
|
// Progress bar
|
|
21084
21126
|
_this.usedBudget = 0;
|
|
21085
21127
|
_this.maxBudget = 0;
|
|
@@ -21130,9 +21172,18 @@
|
|
|
21130
21172
|
_this.initForm();
|
|
21131
21173
|
_this.pageview();
|
|
21132
21174
|
_this.subscriptions.push(_this.initRecipesPricing());
|
|
21133
|
-
_this.
|
|
21134
|
-
|
|
21135
|
-
|
|
21175
|
+
_this.plannerDashboardLoading = true;
|
|
21176
|
+
_this.cdr.detectChanges();
|
|
21177
|
+
_this.subscriptions.push(_this.loadPlannerDashboardHTML().subscribe({
|
|
21178
|
+
next: function (plannerDashboardHTML) {
|
|
21179
|
+
_this.plannerDashboardHTML = plannerDashboardHTML;
|
|
21180
|
+
_this.plannerDashboardLoading = false;
|
|
21181
|
+
_this.cdr.detectChanges();
|
|
21182
|
+
},
|
|
21183
|
+
error: function () {
|
|
21184
|
+
_this.plannerDashboardLoading = false;
|
|
21185
|
+
_this.cdr.detectChanges();
|
|
21186
|
+
}
|
|
21136
21187
|
}));
|
|
21137
21188
|
}));
|
|
21138
21189
|
};
|
|
@@ -21363,14 +21414,31 @@
|
|
|
21363
21414
|
var _t = void 0;
|
|
21364
21415
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.topAnchor = _t.first);
|
|
21365
21416
|
}
|
|
21366
|
-
}, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls:
|
|
21417
|
+
}, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 5, vars: 2, consts: function () {
|
|
21418
|
+
var i18n_1;
|
|
21419
|
+
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21420
|
+
var MSG_EXTERNAL_7273104079436475690$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS__2 = goog.getMsg(" Nous pr\u00E9parons vos recettes... ");
|
|
21421
|
+
i18n_1 = MSG_EXTERNAL_7273104079436475690$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS__2;
|
|
21422
|
+
}
|
|
21423
|
+
else {
|
|
21424
|
+
i18n_1 = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":\u241F5ad4fd8232f99c98138cc45a650f52787ffd9271\u241F7273104079436475690: Nous pr\u00E9parons vos recettes... "], [":\u241F5ad4fd8232f99c98138cc45a650f52787ffd9271\u241F7273104079436475690: Nous pr\u00E9parons vos recettes... "])));
|
|
21425
|
+
}
|
|
21426
|
+
return [["plannerDashboardLoader", ""], [1, "mealz-planner-dashboard__wrapper"], ["class", "mealz-planner-dashboard__loader-container", 4, "ngIf"], [1, "mealz-planner-dashboard__container", 3, "innerHTML"], ["role", "status", "aria-live", "polite", 1, "mealz-planner-dashboard__loader"], [1, "mealz-planner-dashboard__loader__label"], ["viewBox", "0 0 80 80", "aria-hidden", "true", "focusable", "false", 1, "mealz-planner-dashboard__loader__icon"], ["d", "M43.75 20V10C43.75 9.00544 43.3549 8.05161 42.6516 7.34835C41.9484 6.64509 40.9946 6.25 40 6.25C39.0054 6.25 38.0516 6.64509 37.3483 7.34835C36.6451 8.05161 36.25 9.00544 36.25 10V20C36.25 20.9946 36.6451 21.9484 37.3483 22.6516C38.0516 23.3549 39.0054 23.75 40 23.75C40.9946 23.75 41.9484 23.3549 42.6516 22.6516C43.3549 21.9484 43.75 20.9946 43.75 20Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0s"], ["d", "M55.5765 29.3234C55.1213 29.5122 54.6333 29.6094 54.1405 29.6094C53.3986 29.6093 52.6734 29.3893 52.0567 28.977C51.4399 28.5648 50.9593 27.9789 50.6756 27.2934C50.392 26.6079 50.318 25.8537 50.463 25.1262C50.608 24.3987 50.9656 23.7305 51.4905 23.2063L58.5529 16.125C59.2574 15.4205 60.2129 15.0247 61.2092 15.0247C62.2055 15.0247 63.161 15.4205 63.8654 16.125C64.5699 16.8295 64.9657 17.785 64.9657 18.7813C64.9657 19.7775 64.5699 20.733 63.8654 21.4375L56.7936 28.5094C56.4453 28.8581 56.0317 29.1347 55.5765 29.3234Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.15s"], ["d", "M60 36.25H70C70.9946 36.25 71.9484 36.6451 72.6516 37.3484C73.3549 38.0516 73.75 39.0054 73.75 40C73.75 40.9946 73.3549 41.9484 72.6516 42.6516C71.9484 43.3549 70.9946 43.75 70 43.75H60C59.0054 43.75 58.0516 43.3549 57.3484 42.6516C56.6451 41.9484 56.25 40.9946 56.25 40C56.25 39.0054 56.6451 38.0516 57.3484 37.3484C58.0516 36.6451 59.0054 36.25 60 36.25Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.3s"], ["d", "M55.5749 50.6763C56.0307 50.8651 56.4448 51.1418 56.7936 51.4906L63.8655 58.5625C64.57 59.267 64.9657 60.2225 64.9657 61.2188C64.9657 62.215 64.57 63.1705 63.8655 63.875C63.161 64.5795 62.2055 64.9753 61.2092 64.9753C60.213 64.9753 59.2575 64.5795 58.553 63.875L51.4811 56.8031C51.1323 56.4543 50.8556 56.0402 50.6668 55.5844C50.478 55.1287 50.3809 54.6402 50.3809 54.1469C50.3809 53.6536 50.478 53.1651 50.6668 52.7093C50.8556 52.2536 51.1323 51.8395 51.4811 51.4906C51.8299 51.1418 52.2441 50.8651 52.6998 50.6763C53.1556 50.4875 53.6441 50.3904 54.1374 50.3904C54.6307 50.3904 55.1192 50.4875 55.5749 50.6763Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.45s"], ["d", "M37.3483 57.3484C38.0516 56.6451 39.0054 56.25 40 56.25C40.9946 56.25 41.9484 56.6451 42.6516 57.3484C43.3549 58.0516 43.75 59.0054 43.75 60V70C43.75 70.9946 43.3549 71.9484 42.6516 72.6516C41.9484 73.3549 40.9946 73.75 40 73.75C39.0054 73.75 38.0516 73.3549 37.3483 72.6516C36.6451 71.9484 36.25 70.9946 36.25 70V60C36.25 59.0054 36.6451 58.0516 37.3483 57.3484Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.6s"], ["d", "M16.1344 58.5625L23.2063 51.4906C23.9108 50.7862 24.8663 50.3904 25.8626 50.3904C26.8588 50.3904 27.8143 50.7862 28.5188 51.4906C29.2233 52.1951 29.6191 53.1506 29.6191 54.1469C29.6191 55.1432 29.2233 56.0987 28.5188 56.8031L21.4469 63.875C20.7425 64.5795 19.787 64.9753 18.7907 64.9753C17.7944 64.9753 16.8389 64.5795 16.1344 63.875C15.43 63.1705 15.0342 62.215 15.0342 61.2188C15.0342 60.2225 15.43 59.267 16.1344 58.5625Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.75s"], ["d", "M23.75 40C23.75 39.0054 23.3549 38.0516 22.6516 37.3484C21.9484 36.6451 20.9946 36.25 20 36.25H10C9.00544 36.25 8.05161 36.6451 7.34835 37.3484C6.64509 38.0516 6.25 39.0054 6.25 40C6.25 40.9946 6.64509 41.9484 7.34835 42.6516C8.05161 43.3549 9.00544 43.75 10 43.75H20C20.9946 43.75 21.9484 43.3549 22.6516 42.6516C23.3549 41.9484 23.75 40.9946 23.75 40Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.9s"], ["d", "M18.7809 15.0341C19.7772 15.0341 20.7327 15.4299 21.4372 16.1344L28.5184 23.1969C29.2229 23.9014 29.6187 24.8568 29.6187 25.8531C29.6187 26.8494 29.2229 27.8049 28.5184 28.5094C27.8139 29.2139 26.8585 29.6096 25.8622 29.6096C24.8659 29.6096 23.9104 29.2139 23.2059 28.5094L16.1247 21.4469C15.4202 20.7424 15.0244 19.7869 15.0244 18.7906C15.0244 17.7943 15.4202 16.8389 16.1247 16.1344C16.8291 15.4299 17.7846 15.0341 18.7809 15.0341Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "1.05s"], [1, "mealz-planner-dashboard__loader-container"], [4, "ngTemplateOutlet"], [1, "miam-ds-text", "size-xs", "weight-l"], i18n_1];
|
|
21427
|
+
}, template: function MealsPlannerComponent_Template(rf, ctx) {
|
|
21367
21428
|
if (rf & 1) {
|
|
21368
|
-
i0__namespace.ɵɵ
|
|
21429
|
+
i0__namespace.ɵɵtemplate(0, MealsPlannerComponent_ng_template_0_Template, 12, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
21430
|
+
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
21431
|
+
i0__namespace.ɵɵtemplate(3, MealsPlannerComponent_div_3_Template, 4, 1, "div", 2);
|
|
21432
|
+
i0__namespace.ɵɵelement(4, "div", 3);
|
|
21433
|
+
i0__namespace.ɵɵelementEnd();
|
|
21369
21434
|
}
|
|
21370
21435
|
if (rf & 2) {
|
|
21436
|
+
i0__namespace.ɵɵadvance(3);
|
|
21437
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.plannerDashboardLoading);
|
|
21438
|
+
i0__namespace.ɵɵadvance(1);
|
|
21371
21439
|
i0__namespace.ɵɵproperty("innerHTML", ctx.plannerDashboardHTML, i0__namespace.ɵɵsanitizeHtml);
|
|
21372
21440
|
}
|
|
21373
|
-
}, styles: [".miam-meals-planner{display:flex;flex-direction:column;width:100%;height:100%;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb{display:flex;align-items:center;padding:24px;background:#fff;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb.hidden{display:none}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a{margin:0 4px;font-weight:500;font-size:14px;line-height:150%}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.inactive{color:#0f191f}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.active{font-weight:900;color:var(--m-color-primary)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right{transform:rotate(-90deg)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right .icon-container svg path:last-child{fill:#0f191f}.miam-meals-planner .miam-meals-planner__content{display:flex;height:100%;width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:300px;border-right:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview,.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-result{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview.reduced{width:0}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-catalog{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{width:100%;padding:0 80px}@media (max-width:1023px){.miam-meals-planner .miam-meals-planner__header{display:none}.miam-meals-planner .miam-meals-planner__content{flex-direction:column}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:unset;border-right:unset}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{padding:0 15px}}.miam-meals-planner .miam-meals-planner__catalog{padding:16px}.miam-meals-planner ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
|
|
21441
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgTemplateOutlet], styles: [".mealz-planner-dashboard__wrapper .mealz-planner-dashboard__loader-container{overflow:hidden;background-color:#fff;animation:planner-loader-expand .25s ease-in-out forwards;width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:8px}.mealz-planner-dashboard__wrapper .mealz-planner-dashboard__loader-container .mealz-planner-dashboard__loader{width:40px;height:40px;background-position-x:20px;background-size:20px 20px}.mealz-planner-dashboard__wrapper .mealz-planner-dashboard__container{position:relative}@keyframes planner-loader-expand{0%{height:0}to{height:90dvh}}.mealz-planner-dashboard__loader{display:flex;align-items:center;justify-content:center;color:var(--m-color-primary,#24748f)}.mealz-planner-dashboard__loader .mealz-planner-dashboard__loader__icon{width:80px;height:80px}.mealz-planner-dashboard__loader .mealz-planner-dashboard__loader__segment{fill:#e4edf1;animation:loader-pulse 1.2s linear infinite}.mealz-planner-dashboard__loader .mealz-planner-dashboard__loader__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0;clip:rect(0,0,0,0)}@keyframes loader-pulse{0%,to{fill:#e4edf1}15%,85%{fill:currentColor}}@media (prefers-reduced-motion:reduce){.loader .loader__segment{animation:none;fill:currentColor;opacity:.6}}.miam-meals-planner{display:flex;flex-direction:column;width:100%;height:100%;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb{display:flex;align-items:center;padding:24px;background:#fff;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb.hidden{display:none}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a{margin:0 4px;font-weight:500;font-size:14px;line-height:150%}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.inactive{color:#0f191f}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.active{font-weight:900;color:var(--m-color-primary)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right{transform:rotate(-90deg)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right .icon-container svg path:last-child{fill:#0f191f}.miam-meals-planner .miam-meals-planner__content{display:flex;height:100%;width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:300px;border-right:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview,.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-result{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview.reduced{width:0}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-catalog{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{width:100%;padding:0 80px}@media (max-width:1023px){.miam-meals-planner .miam-meals-planner__header{display:none}.miam-meals-planner .miam-meals-planner__content{flex-direction:column}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:unset;border-right:unset}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{padding:0 15px}}.miam-meals-planner .miam-meals-planner__catalog{padding:16px}.miam-meals-planner ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
|
|
21374
21442
|
(function () {
|
|
21375
21443
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MealsPlannerComponent, [{
|
|
21376
21444
|
type: i0.Component,
|
|
@@ -21386,6 +21454,7 @@
|
|
|
21386
21454
|
args: ['miamMealsPlannerTopAnchor']
|
|
21387
21455
|
}] });
|
|
21388
21456
|
})();
|
|
21457
|
+
var templateObject_1$q;
|
|
21389
21458
|
|
|
21390
21459
|
/**
|
|
21391
21460
|
* This is an angular component design to be a web component
|
|
@@ -28999,13 +29068,9 @@
|
|
|
28999
29068
|
var _c0$1 = ["tag"];
|
|
29000
29069
|
function RecipeTagsComponent_ng_container_0_div_1_div_2_Template(rf, ctx) {
|
|
29001
29070
|
if (rf & 1) {
|
|
29002
|
-
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
29003
29071
|
i0__namespace.ɵɵelementStart(0, "div", 11, 12);
|
|
29004
|
-
i0__namespace.ɵɵ
|
|
29005
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_div_2_Template_ng_miam_icon_click_2_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var recipeLine_r5 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(3); return ctx_r8.toggleRecipe(recipeLine_r5.id); });
|
|
29006
|
-
i0__namespace.ɵɵelementEnd();
|
|
29072
|
+
i0__namespace.ɵɵelement(2, "ng-miam-icon", 13);
|
|
29007
29073
|
i0__namespace.ɵɵelementStart(3, "span", 14);
|
|
29008
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_div_2_Template_span_click_3_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var recipeLine_r5 = ctx.$implicit; var ctx_r10 = i0__namespace.ɵɵnextContext(3); return ctx_r10.toggleRecipe(recipeLine_r5.id); });
|
|
29009
29074
|
i0__namespace.ɵɵtext(4);
|
|
29010
29075
|
i0__namespace.ɵɵpipe(5, "ellipsis");
|
|
29011
29076
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -29025,19 +29090,19 @@
|
|
|
29025
29090
|
var _c3 = function (a0) { return { "opacity": a0 }; };
|
|
29026
29091
|
function RecipeTagsComponent_ng_container_0_div_1_Template(rf, ctx) {
|
|
29027
29092
|
if (rf & 1) {
|
|
29028
|
-
var
|
|
29093
|
+
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
29029
29094
|
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
29030
29095
|
i0__namespace.ɵɵelementStart(1, "div", 4);
|
|
29031
29096
|
i0__namespace.ɵɵtemplate(2, RecipeTagsComponent_ng_container_0_div_1_div_2_Template, 6, 5, "div", 5);
|
|
29032
29097
|
i0__namespace.ɵɵelementEnd();
|
|
29033
29098
|
i0__namespace.ɵɵelementStart(3, "div", 6);
|
|
29034
29099
|
i0__namespace.ɵɵelementStart(4, "span", 7);
|
|
29035
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_4_listener() { i0__namespace.ɵɵrestoreView(
|
|
29100
|
+
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_4_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.toggleList(); });
|
|
29036
29101
|
i0__namespace.ɵɵtext(5);
|
|
29037
29102
|
i0__namespace.ɵɵelementEnd();
|
|
29038
29103
|
i0__namespace.ɵɵelement(6, "div", 8);
|
|
29039
29104
|
i0__namespace.ɵɵelementStart(7, "span", 9);
|
|
29040
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_7_listener() { i0__namespace.ɵɵrestoreView(
|
|
29105
|
+
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_7_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r10 = i0__namespace.ɵɵnextContext(2); return ctx_r10.toggleList(); });
|
|
29041
29106
|
i0__namespace.ɵɵelement(8, "ng-miam-icon", 10);
|
|
29042
29107
|
i0__namespace.ɵɵelementEnd();
|
|
29043
29108
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -29072,9 +29137,9 @@
|
|
|
29072
29137
|
}
|
|
29073
29138
|
function RecipeTagsComponent_ng_template_1_div_0_Template(rf, ctx) {
|
|
29074
29139
|
if (rf & 1) {
|
|
29075
|
-
var
|
|
29140
|
+
var _r14_1 = i0__namespace.ɵɵgetCurrentView();
|
|
29076
29141
|
i0__namespace.ɵɵelementStart(0, "div", 17);
|
|
29077
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_div_0_Template_div_click_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
29142
|
+
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_div_0_Template_div_click_0_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(2); return ctx_r13.toggleModal(); });
|
|
29078
29143
|
i0__namespace.ɵɵelementStart(1, "span", 18);
|
|
29079
29144
|
i0__namespace.ɵɵtext(2);
|
|
29080
29145
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -29084,48 +29149,44 @@
|
|
|
29084
29149
|
i0__namespace.ɵɵelementEnd();
|
|
29085
29150
|
}
|
|
29086
29151
|
if (rf & 2) {
|
|
29087
|
-
var
|
|
29152
|
+
var ctx_r11 = i0__namespace.ɵɵnextContext(2);
|
|
29088
29153
|
i0__namespace.ɵɵadvance(2);
|
|
29089
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
29154
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r11.recipePreviewLines.length);
|
|
29090
29155
|
}
|
|
29091
29156
|
}
|
|
29092
29157
|
function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template(rf, ctx) {
|
|
29093
29158
|
if (rf & 1) {
|
|
29094
|
-
var _r23_1 = i0__namespace.ɵɵgetCurrentView();
|
|
29095
29159
|
i0__namespace.ɵɵelementStart(0, "div", 11, 12);
|
|
29096
|
-
i0__namespace.ɵɵ
|
|
29097
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template_ng_miam_icon_click_2_listener() { i0__namespace.ɵɵrestoreView(_r23_1); var recipeLine_r19 = ctx.$implicit; var ctx_r22 = i0__namespace.ɵɵnextContext(3); return ctx_r22.toggleRecipe(recipeLine_r19.id); });
|
|
29098
|
-
i0__namespace.ɵɵelementEnd();
|
|
29160
|
+
i0__namespace.ɵɵelement(2, "ng-miam-icon", 13);
|
|
29099
29161
|
i0__namespace.ɵɵelementStart(3, "span", 14);
|
|
29100
|
-
i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template_span_click_3_listener() { i0__namespace.ɵɵrestoreView(_r23_1); var recipeLine_r19 = ctx.$implicit; var ctx_r24 = i0__namespace.ɵɵnextContext(3); return ctx_r24.toggleRecipe(recipeLine_r19.id); });
|
|
29101
29162
|
i0__namespace.ɵɵtext(4);
|
|
29102
29163
|
i0__namespace.ɵɵelementEnd();
|
|
29103
29164
|
i0__namespace.ɵɵelementEnd();
|
|
29104
29165
|
}
|
|
29105
29166
|
if (rf & 2) {
|
|
29106
|
-
var
|
|
29107
|
-
var
|
|
29167
|
+
var recipeLine_r16 = ctx.$implicit;
|
|
29168
|
+
var ctx_r15 = i0__namespace.ɵɵnextContext(3);
|
|
29108
29169
|
i0__namespace.ɵɵadvance(2);
|
|
29109
|
-
i0__namespace.ɵɵproperty("iconName",
|
|
29170
|
+
i0__namespace.ɵɵproperty("iconName", ctx_r15.icon.Meal);
|
|
29110
29171
|
i0__namespace.ɵɵadvance(2);
|
|
29111
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
29172
|
+
i0__namespace.ɵɵtextInterpolate(recipeLine_r16.title);
|
|
29112
29173
|
}
|
|
29113
29174
|
}
|
|
29114
29175
|
function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_Template(rf, ctx) {
|
|
29115
29176
|
if (rf & 1) {
|
|
29116
|
-
var
|
|
29177
|
+
var _r20_1 = i0__namespace.ɵɵgetCurrentView();
|
|
29117
29178
|
i0__namespace.ɵɵelementStart(0, "ng-miam-modal", 20);
|
|
29118
|
-
i0__namespace.ɵɵlistener("close", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_Template_ng_miam_modal_close_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
29179
|
+
i0__namespace.ɵɵlistener("close", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_Template_ng_miam_modal_close_0_listener() { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r19 = i0__namespace.ɵɵnextContext(2); return ctx_r19.toggleModal(); });
|
|
29119
29180
|
i0__namespace.ɵɵelementStart(1, "div", 4);
|
|
29120
29181
|
i0__namespace.ɵɵtemplate(2, RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template, 5, 2, "div", 5);
|
|
29121
29182
|
i0__namespace.ɵɵelementEnd();
|
|
29122
29183
|
i0__namespace.ɵɵelementEnd();
|
|
29123
29184
|
}
|
|
29124
29185
|
if (rf & 2) {
|
|
29125
|
-
var
|
|
29126
|
-
i0__namespace.ɵɵproperty("display",
|
|
29186
|
+
var ctx_r12 = i0__namespace.ɵɵnextContext(2);
|
|
29187
|
+
i0__namespace.ɵɵproperty("display", ctx_r12.modalIsOpened)("noHeaderMode", false)("recipesCount", ctx_r12.recipePreviewLines.length);
|
|
29127
29188
|
i0__namespace.ɵɵadvance(2);
|
|
29128
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
29189
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r12.recipePreviewLines);
|
|
29129
29190
|
}
|
|
29130
29191
|
}
|
|
29131
29192
|
function RecipeTagsComponent_ng_template_1_Template(rf, ctx) {
|
|
@@ -29201,9 +29262,6 @@
|
|
|
29201
29262
|
this.wrappedItemsCount = tags.toArray().length - (this.lastItemIndexOfFirstRow + 1);
|
|
29202
29263
|
this.cdr.detectChanges();
|
|
29203
29264
|
};
|
|
29204
|
-
RecipeTagsComponent.prototype.toggleRecipe = function (id) {
|
|
29205
|
-
this.recipesService.display(id, { previewAllowed: this.recipeDetailPreviewAllowed, previewMode: false });
|
|
29206
|
-
};
|
|
29207
29265
|
RecipeTagsComponent.prototype.toggleList = function () {
|
|
29208
29266
|
this.isListOpen = !this.isListOpen;
|
|
29209
29267
|
this.cdr.detectChanges();
|
|
@@ -29232,7 +29290,7 @@
|
|
|
29232
29290
|
else {
|
|
29233
29291
|
i18n_4 = $localize(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"], [":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"])));
|
|
29234
29292
|
}
|
|
29235
|
-
return [[4, "ngIf", "ngIfElse"], ["reduced", ""], ["class", "miam-recipe-tags__container", 3, "ngStyle", 4, "ngIf"], [1, "miam-recipe-tags__container", 3, "ngStyle"], [1, "miam-recipe-tags__container__list"], ["class", "miam-recipe-tags__list__badge", 4, "ngFor", "ngForOf"], [1, "miam-recipe-tags__container__toggle", 3, "ngClass"], [1, "miam-recipe-tags__toggle__open", 3, "click"], [1, "miam-recipe-tags__toggle__ligne"], [1, "miam-recipe-tags__toggle__close", 3, "ngStyle", "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-white)", 3, "iconName"], [1, "miam-recipe-tags__list__badge"], ["tag", ""], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-tags__badge__icon", 3, "iconName"
|
|
29293
|
+
return [[4, "ngIf", "ngIfElse"], ["reduced", ""], ["class", "miam-recipe-tags__container", 3, "ngStyle", 4, "ngIf"], [1, "miam-recipe-tags__container", 3, "ngStyle"], [1, "miam-recipe-tags__container__list"], ["class", "miam-recipe-tags__list__badge", 4, "ngFor", "ngForOf"], [1, "miam-recipe-tags__container__toggle", 3, "ngClass"], [1, "miam-recipe-tags__toggle__open", 3, "click"], [1, "miam-recipe-tags__toggle__ligne"], [1, "miam-recipe-tags__toggle__close", 3, "ngStyle", "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-white)", 3, "iconName"], [1, "miam-recipe-tags__list__badge"], ["tag", ""], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-tags__badge__icon", 3, "iconName"], [1, "miam-recipe-tag__badge__text"], ["class", "miam-recipe-tags__recipes", 3, "click", 4, "ngIf"], ["class", "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close", 4, "ngIf"], [1, "miam-recipe-tags__recipes", 3, "click"], [1, "miam-recipe-tags__recipes__count"], i18n_4, [1, "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close"]];
|
|
29236
29294
|
}, template: function RecipeTagsComponent_Template(rf, ctx) {
|
|
29237
29295
|
if (rf & 1) {
|
|
29238
29296
|
i0__namespace.ɵɵtemplate(0, RecipeTagsComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
|
|
@@ -29242,7 +29300,7 @@
|
|
|
29242
29300
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
29243
29301
|
i0__namespace.ɵɵproperty("ngIf", !ctx.reduce)("ngIfElse", _r1);
|
|
29244
29302
|
}
|
|
29245
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgStyle, i1__namespace.NgForOf, i1__namespace.NgClass, IconComponent, ModalComponent], pipes: [EllipsisPipe], styles: [".miam-recipe-tags__container__list{display:flex;flex-wrap:wrap;gap:8px;flex:1 1}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;
|
|
29303
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgStyle, i1__namespace.NgForOf, i1__namespace.NgClass, IconComponent, ModalComponent], pipes: [EllipsisPipe], styles: [".miam-recipe-tags__container__list{display:flex;flex-wrap:wrap;gap:8px;flex:1 1}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;position:relative;max-width:50vw}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge .miam-recipe-tags__badge__icon{padding:4px 8px;background:var(--m-color-primary);border-radius:100px 0 0 100px;flex:none;order:0;flex-grow:0}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge .miam-recipe-tag__badge__text{font-size:12px;line-height:16px;color:#676767;margin:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.miam-recipe-tags__container{display:flex;transition:height .25s cubic-bezier(0,0,.2,1);overflow:hidden;padding:0 8px;margin-top:16px}.miam-recipe-tags__container .miam-recipe-tags__container__toggle{display:flex;flex-direction:column;align-items:center;width:80px;visibility:visible}.miam-recipe-tags__container .miam-recipe-tags__container__toggle.miam-recipe-tags__container__toggle__hidden{visibility:hidden}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__open{display:flex;justify-content:center;padding:4px 8px;height:24px;background:#f6f6f6;min-width:40px;border-radius:100px;cursor:pointer;line-height:100%}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__ligne{width:2px;flex:1;background-color:var(--m-color-grey);transform:height 1s linear}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__close{background:var(--m-color-primary);min-width:40px;cursor:pointer;border-radius:100px;transition:opacity .2s linear}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__close ng-miam-icon .icon-container{transform:rotate(180deg)}.miam-recipe-tags__recipes{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;cursor:pointer;position:relative;max-width:50vw}.miam-recipe-tags__recipes .miam-recipe-tags__recipes__count{margin-right:4px}.miam-recipe-tags__modal .miam-modal{top:50%;right:50%;transform:translate3d(50%,-50%,0);height:auto;animation-name:none}.miam-recipe-tags__modal .miam-modal .miam-modal__container .miam-recipe-tags__container__list{display:flex;flex-flow:row wrap;max-width:480px;padding:24px}@media (max-width:1023px){.miam-recipe-tags__modal .miam-modal .miam-modal__container .miam-recipe-tags__container__list{flex-flow:column}}"], encapsulation: 2, changeDetection: 0 });
|
|
29246
29304
|
(function () {
|
|
29247
29305
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeTagsComponent, [{
|
|
29248
29306
|
type: i0.Component,
|