ng-miam 8.5.5 → 8.5.7
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 +59 -46
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/product-card/product-card.component.js +2 -2
- package/esm2015/lib/_components/products-picker/products-picker.component.js +49 -40
- package/esm2015/lib/_services/context.service.js +8 -7
- package/esm2015/lib/_services/interceptor.service.js +2 -2
- package/fesm2015/ng-miam.js +56 -46
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_services/context.service.d.ts.map +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -5702,11 +5702,12 @@
|
|
|
5702
5702
|
};
|
|
5703
5703
|
ContextService.prototype.generateAuthlessIdIfNecessary = function () {
|
|
5704
5704
|
var _this = this;
|
|
5705
|
-
return this.userService.generatingAuthlessId$.pipe(operators.take(1), operators.switchMap(function (isGenerating) {
|
|
5706
|
-
|| _this.loggedOnSession
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5705
|
+
return this.userService.generatingAuthlessId$.pipe(operators.debounceTime(800), operators.take(1), operators.switchMap(function (isGenerating) {
|
|
5706
|
+
if (isGenerating || _this.loggedOnSession || !!localStorage.getItem('_miam/authlessId')) {
|
|
5707
|
+
return rxjs.of(null);
|
|
5708
|
+
}
|
|
5709
|
+
return _this.userService.generateAnonymousUserId();
|
|
5710
|
+
}));
|
|
5710
5711
|
};
|
|
5711
5712
|
return ContextService;
|
|
5712
5713
|
}());
|
|
@@ -8571,7 +8572,7 @@
|
|
|
8571
8572
|
MiamInterceptor.prototype.setMiamHeaders = function (request) {
|
|
8572
8573
|
var headersToAdd = {
|
|
8573
8574
|
'miam-origin': this.context.origin.value,
|
|
8574
|
-
'miam-front-version': '8.5.
|
|
8575
|
+
'miam-front-version': '8.5.7',
|
|
8575
8576
|
'miam-front-type': 'web',
|
|
8576
8577
|
'miam-api-version': '4.7.0'
|
|
8577
8578
|
};
|
|
@@ -13954,7 +13955,7 @@
|
|
|
13954
13955
|
i0__namespace.ɵɵtemplate(0, ProductCardComponent_div_0_Template, 15, 25, "div", 0);
|
|
13955
13956
|
}
|
|
13956
13957
|
if (rf & 2) {
|
|
13957
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.product.basketEntry
|
|
13958
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.product.basketEntry);
|
|
13958
13959
|
}
|
|
13959
13960
|
}, directives: [i2__namespace$1.NgIf, i2__namespace$1.NgClass, PriceComponent, CounterInputComponent], pipes: [CapitalizeFirstLetterPipe, i2__namespace$1.DecimalPipe, i2__namespace$1.CurrencyPipe, i2__namespace$1.AsyncPipe], styles: [".miam-product-card__container{display:flex;flex-direction:column;box-sizing:border-box;height:100%;border-radius:8px;overflow:hidden;border:1px solid var(--miam-ds-color-primary-100,#e4eaec);background:var(--miam-ds-color-primary-text,#fff);transition:all .3s}.miam-product-card__container.added{border:1px solid var(--miam-ds-color-primary,#24748f);background:var(--miam-ds-color-primary-text,#fff)}.miam-product-card__container .miam-product-card__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;padding:8px;color:var(--miam-ds-color-neutral-black,#1f3543);background:var(--miam-ds-color-primary-100,#e4eaec);transition:all .3s}.miam-product-card__container .miam-product-card__header.added{background:var(--miam-ds-color-primary,#24748f);color:var(--core-background-background-primary,#fff)}.miam-product-card__container .miam-product-card__header.disabled{background:var(--miam-ds-color-neutral-200,#d9dde1)}.miam-product-card__container .miam-product-card__header .miam-product-card__header-quantity{text-align:right}.miam-product-card__container .miam-product-card__content{padding:8px 12px;height:100%;display:flex;flex-direction:column;gap:12px;background-color:var(--miam-ds-color-neutral-white,#fff);transition:background-color .3s}.miam-product-card__container .miam-product-card__content.disabled{justify-content:center;align-items:center;gap:12px;padding:12px;text-align:center;background-color:var(--miam-ds-color-neutral-200,#d9dde1)}@media (max-width:1023px){.miam-product-card__container .miam-product-card__content{padding:12px}}@media (min-width:1023px) and (max-height:800px){.miam-product-card__container .miam-product-card__content{padding:12px}}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%}@media (max-width:1023px){.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product{flex-direction:row;justify-content:flex-start;align-items:flex-start;gap:16px}}@media (min-width:1023px) and (max-height:800px){.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product{flex-direction:row;justify-content:flex-start;align-items:flex-start;gap:16px}}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__picture{height:72px;width:72px}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column{display:flex;flex-direction:column;align-items:center;justify-content:center}@media (max-width:1023px){.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column{align-items:flex-start}}@media (min-width:1023px) and (max-height:800px){.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column{align-items:flex-start}}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column .miam-product-card__details{font-size:12px!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column .miam-product-card__details.product-brand{text-transform:uppercase}@media screen{.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column .miam-product-card__details.product-fullname{height:36px}}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__info-column .miam-product-card__link{font-size:14px}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__badges{display:flex;gap:8px;margin:8px 0}.miam-product-card__container .miam-product-card__content .miam-product-card__selected-product .miam-product-card__badges .miam-product-card__badge-text{color:var(--miam-ds-color-neutral-black,#1f3543);font-size:12px}.miam-product-card__container .miam-product-card__content .miam-product-card__lower-action{display:flex;align-items:center;justify-content:space-between;gap:8px}.miam-product-card__container .miam-product-card__content .miam-product-card__lower-action .miam-product-card__cta{display:flex;align-items:center;gap:12px}.miam-product-card__container .miam-product-card__content .miam-product-card__lower-action .miam-product-card__cta .miam-ds-button.square{padding:8px;height:40px;width:40px}.miam-product-card__container .miam-product-card__content .miam-product-card__lower-action .miam-product-card__cta .miam-product-card__loading-button{padding:14px}@media (max-width:1024px){.miam-product-card__container .miam-product-card__content .miam-product-card__lower-action .miam-product-card__cta .miam-ds-button.primary:hover{background-color:var(--miam-ds-color-primary)}}.miam-product-card__container .miam-product-card__content .miam-product-card__lower-action .miam-product-card__price{color:var(--miam-ds-color-primary,#24748f)}.miam-product-card__container .miam-product-card__disabled-text{color:var(--miam-ds-color-neutral-black,#1f3543);opacity:.65}.miam-product-card__container .miam-product-card__footer{display:flex;flex-direction:column;align-items:center;background:var(--miam-ds-color-primary-50,#f0f3f4);padding:8px}.miam-product-card__container .miam-product-card__footer .light-text{color:var(--miam-ds-color-neutral-black,#1f3543);opacity:.5}"], encapsulation: 2, changeDetection: 0 });
|
|
13960
13961
|
(function () {
|
|
@@ -14024,20 +14025,32 @@
|
|
|
14024
14025
|
i0__namespace.ɵɵelement(0, "div", 15);
|
|
14025
14026
|
}
|
|
14026
14027
|
}
|
|
14027
|
-
function
|
|
14028
|
+
function ProductsPickerComponent_div_7_ng_container_1_ng_miam_product_card_1_Template(rf, ctx) {
|
|
14029
|
+
if (rf & 1) {
|
|
14030
|
+
i0__namespace.ɵɵelement(0, "ng-miam-product-card", 19);
|
|
14031
|
+
}
|
|
14032
|
+
if (rf & 2) {
|
|
14033
|
+
var product_r15 = i0__namespace.ɵɵnextContext().$implicit;
|
|
14034
|
+
var ctx_r16 = i0__namespace.ɵɵnextContext(2);
|
|
14035
|
+
i0__namespace.ɵɵproperty("id", "miam_" + product_r15.basketEntry.nameId + "_product_card")("product", product_r15)("originTrace", ctx_r16.eventTrace());
|
|
14036
|
+
}
|
|
14037
|
+
}
|
|
14038
|
+
function ProductsPickerComponent_div_7_ng_container_1_Template(rf, ctx) {
|
|
14028
14039
|
if (rf & 1) {
|
|
14029
|
-
i0__namespace.ɵɵ
|
|
14040
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
14041
|
+
i0__namespace.ɵɵtemplate(1, ProductsPickerComponent_div_7_ng_container_1_ng_miam_product_card_1_Template, 1, 3, "ng-miam-product-card", 18);
|
|
14042
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
14030
14043
|
}
|
|
14031
14044
|
if (rf & 2) {
|
|
14032
14045
|
var product_r15 = ctx.$implicit;
|
|
14033
|
-
|
|
14034
|
-
i0__namespace.ɵɵproperty("
|
|
14046
|
+
i0__namespace.ɵɵadvance(1);
|
|
14047
|
+
i0__namespace.ɵɵproperty("ngIf", product_r15.basketEntry == null ? null : product_r15.basketEntry.selectedItem);
|
|
14035
14048
|
}
|
|
14036
14049
|
}
|
|
14037
14050
|
function ProductsPickerComponent_div_7_Template(rf, ctx) {
|
|
14038
14051
|
if (rf & 1) {
|
|
14039
14052
|
i0__namespace.ɵɵelementStart(0, "div", 16);
|
|
14040
|
-
i0__namespace.ɵɵtemplate(1,
|
|
14053
|
+
i0__namespace.ɵɵtemplate(1, ProductsPickerComponent_div_7_ng_container_1_Template, 2, 1, "ng-container", 17);
|
|
14041
14054
|
i0__namespace.ɵɵelementEnd();
|
|
14042
14055
|
}
|
|
14043
14056
|
if (rf & 2) {
|
|
@@ -14048,28 +14061,28 @@
|
|
|
14048
14061
|
}
|
|
14049
14062
|
function ProductsPickerComponent_ng_container_10_ng_miam_product_card_7_Template(rf, ctx) {
|
|
14050
14063
|
if (rf & 1) {
|
|
14051
|
-
i0__namespace.ɵɵelement(0, "ng-miam-product-card",
|
|
14064
|
+
i0__namespace.ɵɵelement(0, "ng-miam-product-card", 19);
|
|
14052
14065
|
}
|
|
14053
14066
|
if (rf & 2) {
|
|
14054
|
-
var
|
|
14055
|
-
var
|
|
14056
|
-
i0__namespace.ɵɵproperty("id", "miam_" +
|
|
14067
|
+
var product_r19 = ctx.$implicit;
|
|
14068
|
+
var ctx_r18 = i0__namespace.ɵɵnextContext(2);
|
|
14069
|
+
i0__namespace.ɵɵproperty("id", "miam_" + product_r19.basketEntry.nameId + "_product_card")("product", product_r19)("originTrace", ctx_r18.eventTrace());
|
|
14057
14070
|
}
|
|
14058
14071
|
}
|
|
14059
14072
|
function ProductsPickerComponent_ng_container_10_Template(rf, ctx) {
|
|
14060
14073
|
if (rf & 1) {
|
|
14061
|
-
var
|
|
14074
|
+
var _r21_1 = i0__namespace.ɵɵgetCurrentView();
|
|
14062
14075
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
14063
|
-
i0__namespace.ɵɵelementStart(1, "ng-miam-accordion",
|
|
14064
|
-
i0__namespace.ɵɵlistener("isCollapsedChange", function ProductsPickerComponent_ng_container_10_Template_ng_miam_accordion_isCollapsedChange_1_listener() { i0__namespace.ɵɵrestoreView(
|
|
14076
|
+
i0__namespace.ɵɵelementStart(1, "ng-miam-accordion", 20);
|
|
14077
|
+
i0__namespace.ɵɵlistener("isCollapsedChange", function ProductsPickerComponent_ng_container_10_Template_ng_miam_accordion_isCollapsedChange_1_listener() { i0__namespace.ɵɵrestoreView(_r21_1); var ctx_r20 = i0__namespace.ɵɵnextContext(); return ctx_r20.cdr.detectChanges(); });
|
|
14065
14078
|
i0__namespace.ɵɵelementStart(2, "ng-miam-accordion-title");
|
|
14066
|
-
i0__namespace.ɵɵelementStart(3, "span",
|
|
14067
|
-
i0__namespace.ɵɵi18n(4,
|
|
14079
|
+
i0__namespace.ɵɵelementStart(3, "span", 21);
|
|
14080
|
+
i0__namespace.ɵɵi18n(4, 22);
|
|
14068
14081
|
i0__namespace.ɵɵelementEnd();
|
|
14069
14082
|
i0__namespace.ɵɵelementEnd();
|
|
14070
14083
|
i0__namespace.ɵɵelementStart(5, "ng-miam-accordion-content");
|
|
14071
14084
|
i0__namespace.ɵɵelementStart(6, "div", 16);
|
|
14072
|
-
i0__namespace.ɵɵtemplate(7, ProductsPickerComponent_ng_container_10_ng_miam_product_card_7_Template, 1, 3, "ng-miam-product-card",
|
|
14085
|
+
i0__namespace.ɵɵtemplate(7, ProductsPickerComponent_ng_container_10_ng_miam_product_card_7_Template, 1, 3, "ng-miam-product-card", 23);
|
|
14073
14086
|
i0__namespace.ɵɵelementEnd();
|
|
14074
14087
|
i0__namespace.ɵɵelementEnd();
|
|
14075
14088
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -14085,28 +14098,28 @@
|
|
|
14085
14098
|
}
|
|
14086
14099
|
function ProductsPickerComponent_ng_container_11_ng_miam_product_card_7_Template(rf, ctx) {
|
|
14087
14100
|
if (rf & 1) {
|
|
14088
|
-
i0__namespace.ɵɵelement(0, "ng-miam-product-card",
|
|
14101
|
+
i0__namespace.ɵɵelement(0, "ng-miam-product-card", 19);
|
|
14089
14102
|
}
|
|
14090
14103
|
if (rf & 2) {
|
|
14091
|
-
var
|
|
14092
|
-
var
|
|
14093
|
-
i0__namespace.ɵɵproperty("id", "miam_" +
|
|
14104
|
+
var product_r23 = ctx.$implicit;
|
|
14105
|
+
var ctx_r22 = i0__namespace.ɵɵnextContext(2);
|
|
14106
|
+
i0__namespace.ɵɵproperty("id", "miam_" + product_r23.basketEntry.nameId + "_product_card")("product", product_r23)("originTrace", ctx_r22.eventTrace());
|
|
14094
14107
|
}
|
|
14095
14108
|
}
|
|
14096
14109
|
function ProductsPickerComponent_ng_container_11_Template(rf, ctx) {
|
|
14097
14110
|
if (rf & 1) {
|
|
14098
|
-
var
|
|
14111
|
+
var _r25_1 = i0__namespace.ɵɵgetCurrentView();
|
|
14099
14112
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
14100
|
-
i0__namespace.ɵɵelementStart(1, "ng-miam-accordion",
|
|
14101
|
-
i0__namespace.ɵɵlistener("isCollapsedChange", function ProductsPickerComponent_ng_container_11_Template_ng_miam_accordion_isCollapsedChange_1_listener() { i0__namespace.ɵɵrestoreView(
|
|
14113
|
+
i0__namespace.ɵɵelementStart(1, "ng-miam-accordion", 24);
|
|
14114
|
+
i0__namespace.ɵɵlistener("isCollapsedChange", function ProductsPickerComponent_ng_container_11_Template_ng_miam_accordion_isCollapsedChange_1_listener() { i0__namespace.ɵɵrestoreView(_r25_1); var ctx_r24 = i0__namespace.ɵɵnextContext(); return ctx_r24.cdr.detectChanges(); });
|
|
14102
14115
|
i0__namespace.ɵɵelementStart(2, "ng-miam-accordion-title");
|
|
14103
|
-
i0__namespace.ɵɵelementStart(3, "span",
|
|
14104
|
-
i0__namespace.ɵɵi18n(4,
|
|
14116
|
+
i0__namespace.ɵɵelementStart(3, "span", 21);
|
|
14117
|
+
i0__namespace.ɵɵi18n(4, 25);
|
|
14105
14118
|
i0__namespace.ɵɵelementEnd();
|
|
14106
14119
|
i0__namespace.ɵɵelementEnd();
|
|
14107
14120
|
i0__namespace.ɵɵelementStart(5, "ng-miam-accordion-content");
|
|
14108
14121
|
i0__namespace.ɵɵelementStart(6, "div", 16);
|
|
14109
|
-
i0__namespace.ɵɵtemplate(7, ProductsPickerComponent_ng_container_11_ng_miam_product_card_7_Template, 1, 3, "ng-miam-product-card",
|
|
14122
|
+
i0__namespace.ɵɵtemplate(7, ProductsPickerComponent_ng_container_11_ng_miam_product_card_7_Template, 1, 3, "ng-miam-product-card", 23);
|
|
14110
14123
|
i0__namespace.ɵɵelementEnd();
|
|
14111
14124
|
i0__namespace.ɵɵelementEnd();
|
|
14112
14125
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -14122,10 +14135,10 @@
|
|
|
14122
14135
|
}
|
|
14123
14136
|
function ProductsPickerComponent_a_13_Template(rf, ctx) {
|
|
14124
14137
|
if (rf & 1) {
|
|
14125
|
-
i0__namespace.ɵɵelementStart(0, "a",
|
|
14126
|
-
i0__namespace.ɵɵelementStart(1, "button",
|
|
14138
|
+
i0__namespace.ɵɵelementStart(0, "a", 26);
|
|
14139
|
+
i0__namespace.ɵɵelementStart(1, "button", 27);
|
|
14127
14140
|
i0__namespace.ɵɵelementStart(2, "span");
|
|
14128
|
-
i0__namespace.ɵɵi18n(3,
|
|
14141
|
+
i0__namespace.ɵɵi18n(3, 28);
|
|
14129
14142
|
i0__namespace.ɵɵelementEnd();
|
|
14130
14143
|
i0__namespace.ɵɵelementEnd();
|
|
14131
14144
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -14137,25 +14150,25 @@
|
|
|
14137
14150
|
}
|
|
14138
14151
|
function ProductsPickerComponent_ng_template_14_Template(rf, ctx) {
|
|
14139
14152
|
if (rf & 1) {
|
|
14140
|
-
var
|
|
14141
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
14142
|
-
i0__namespace.ɵɵlistener("click", function ProductsPickerComponent_ng_template_14_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
14153
|
+
var _r27_1 = i0__namespace.ɵɵgetCurrentView();
|
|
14154
|
+
i0__namespace.ɵɵelementStart(0, "button", 29);
|
|
14155
|
+
i0__namespace.ɵɵlistener("click", function ProductsPickerComponent_ng_template_14_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r26 = i0__namespace.ɵɵnextContext(); return ctx_r26.closeRecipeModal(); });
|
|
14143
14156
|
i0__namespace.ɵɵelementStart(1, "span");
|
|
14144
|
-
i0__namespace.ɵɵi18n(2,
|
|
14157
|
+
i0__namespace.ɵɵi18n(2, 30);
|
|
14145
14158
|
i0__namespace.ɵɵelementEnd();
|
|
14146
14159
|
i0__namespace.ɵɵelementEnd();
|
|
14147
14160
|
}
|
|
14148
14161
|
}
|
|
14149
14162
|
function ProductsPickerComponent_div_16_Template(rf, ctx) {
|
|
14150
14163
|
if (rf & 1) {
|
|
14151
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
14152
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
14153
|
-
i0__namespace.ɵɵi18n(2,
|
|
14164
|
+
i0__namespace.ɵɵelementStart(0, "div", 31);
|
|
14165
|
+
i0__namespace.ɵɵelementStart(1, "span", 32);
|
|
14166
|
+
i0__namespace.ɵɵi18n(2, 33);
|
|
14154
14167
|
i0__namespace.ɵɵelementEnd();
|
|
14155
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
14156
|
-
i0__namespace.ɵɵelement(4, "img",
|
|
14168
|
+
i0__namespace.ɵɵelementStart(3, "div", 34);
|
|
14169
|
+
i0__namespace.ɵɵelement(4, "img", 35);
|
|
14157
14170
|
i0__namespace.ɵɵelementStart(5, "span");
|
|
14158
|
-
i0__namespace.ɵɵi18n(6,
|
|
14171
|
+
i0__namespace.ɵɵi18n(6, 36);
|
|
14159
14172
|
i0__namespace.ɵɵelementEnd();
|
|
14160
14173
|
i0__namespace.ɵɵelementEnd();
|
|
14161
14174
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -14280,7 +14293,7 @@
|
|
|
14280
14293
|
else {
|
|
14281
14294
|
i18n_14 = $localize(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject([":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."], [":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."])));
|
|
14282
14295
|
}
|
|
14283
|
-
return [[1, "miam-products-picker__container"], [1, "miam-products-picker__header"], [1, "miam-products-picker__header-text", "miam-ds-text", "weight-xxl"], [4, "ngIf"], ["class", "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange", 4, "ngIf"], ["class", " miam-ds-loader miam-products-picker__loader", 4, "ngIf"], ["class", "miam-products-picker__list", 4, "ngIf"], [1, "miam-products-picker__secondary-list"], [1, "miam-products-picker__more"], ["class", "miam-products-picker__more-anchor", 3, "href", 4, "ngIf", "ngIfElse"], ["noAnchor", ""], ["class", "miam-products-picker__legal-notices", 4, "ngIf"], i18n_0, i18n_2, [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange"], [1, "miam-ds-loader", "miam-products-picker__loader"], [1, "miam-products-picker__list"], ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "
|
|
14296
|
+
return [[1, "miam-products-picker__container"], [1, "miam-products-picker__header"], [1, "miam-products-picker__header-text", "miam-ds-text", "weight-xxl"], [4, "ngIf"], ["class", "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange", 4, "ngIf"], ["class", " miam-ds-loader miam-products-picker__loader", 4, "ngIf"], ["class", "miam-products-picker__list", 4, "ngIf"], [1, "miam-products-picker__secondary-list"], [1, "miam-products-picker__more"], ["class", "miam-products-picker__more-anchor", 3, "href", 4, "ngIf", "ngIfElse"], ["noAnchor", ""], ["class", "miam-products-picker__legal-notices", 4, "ngIf"], i18n_0, i18n_2, [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange"], [1, "miam-ds-loader", "miam-products-picker__loader"], [1, "miam-products-picker__list"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngIf"], [1, "miam-products-picker__items", 3, "id", "product", "originTrace"], [1, "miam-products-picker__often-ignored-list", 3, "isCollapsed", "isCollapsedChange"], [1, "miam-ds-text", "weight-xxl"], i18n_4, ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "miam-products-picker__unavailable-list", 3, "isCollapsed", "isCollapsedChange"], i18n_6, [1, "miam-products-picker__more-anchor", 3, "href"], [1, "miam-products-picker__go-to-catalog-button", "miam-ds-button", "secondary"], i18n_8, [1, "miam-products-picker__close-modal-button", "miam-ds-button", "secondary", 3, "click"], i18n_10, [1, "miam-products-picker__legal-notices"], [1, "miam-ds-text", "weight-xxl", "miam-products-picker__legal-notices-header"], i18n_12, [1, "miam-products-picker__legal-notices-content"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-legal-notices.svg"], i18n_14];
|
|
14284
14297
|
}, template: function ProductsPickerComponent_Template(rf, ctx) {
|
|
14285
14298
|
if (rf & 1) {
|
|
14286
14299
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|