ng-miam 4.0.4 → 4.0.5
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 +54 -17
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +2 -2
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_web-components/list-scan/basket-preview/basket-preview.component.js +7 -3
- package/esm2015/lib/_web-components/list-scan/files-inputs/files-inputs.component.js +18 -6
- package/esm2015/lib/_web-components/list-scan/ingredients-list/ingredients-list.component.js +8 -4
- package/esm2015/lib/_web-components/list-scan/list-scan.component.js +23 -8
- package/fesm2015/ng-miam.js +52 -17
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_web-components/list-scan/basket-preview/basket-preview.component.d.ts +3 -1
- package/lib/_web-components/list-scan/files-inputs/files-inputs.component.d.ts +3 -1
- package/lib/_web-components/list-scan/ingredients-list/ingredients-list.component.d.ts +2 -1
- package/lib/_web-components/list-scan/list-scan.component.d.ts +6 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -13724,9 +13724,14 @@
|
|
|
13724
13724
|
function ListScanFilesInputsComponent_div_1_div_4_Template(rf, ctx) {
|
|
13725
13725
|
if (rf & 1) {
|
|
13726
13726
|
i0.ɵɵelementStart(0, "div", 9);
|
|
13727
|
-
i0.ɵɵtext(1
|
|
13727
|
+
i0.ɵɵtext(1);
|
|
13728
13728
|
i0.ɵɵelementEnd();
|
|
13729
13729
|
}
|
|
13730
|
+
if (rf & 2) {
|
|
13731
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
13732
|
+
i0.ɵɵadvance(1);
|
|
13733
|
+
i0.ɵɵtextInterpolate(ctx_r4.mobileText);
|
|
13734
|
+
}
|
|
13730
13735
|
}
|
|
13731
13736
|
function ListScanFilesInputsComponent_div_1_ng_miam_loader_5_Template(rf, ctx) {
|
|
13732
13737
|
if (rf & 1) {
|
|
@@ -13742,7 +13747,7 @@
|
|
|
13742
13747
|
i0.ɵɵelementEnd();
|
|
13743
13748
|
i0.ɵɵelementStart(2, "label", 4);
|
|
13744
13749
|
i0.ɵɵtemplate(3, ListScanFilesInputsComponent_div_1_ng_miam_icon_3_Template, 1, 1, "ng-miam-icon", 5);
|
|
13745
|
-
i0.ɵɵtemplate(4, ListScanFilesInputsComponent_div_1_div_4_Template, 2,
|
|
13750
|
+
i0.ɵɵtemplate(4, ListScanFilesInputsComponent_div_1_div_4_Template, 2, 1, "div", 6);
|
|
13746
13751
|
i0.ɵɵtemplate(5, ListScanFilesInputsComponent_div_1_ng_miam_loader_5_Template, 1, 0, "ng-miam-loader", 7);
|
|
13747
13752
|
i0.ɵɵelementEnd();
|
|
13748
13753
|
i0.ɵɵelementEnd();
|
|
@@ -13771,9 +13776,14 @@
|
|
|
13771
13776
|
function ListScanFilesInputsComponent_ng_template_2_div_3_Template(rf, ctx) {
|
|
13772
13777
|
if (rf & 1) {
|
|
13773
13778
|
i0.ɵɵelementStart(0, "div", 9);
|
|
13774
|
-
i0.ɵɵtext(1
|
|
13779
|
+
i0.ɵɵtext(1);
|
|
13775
13780
|
i0.ɵɵelementEnd();
|
|
13776
13781
|
}
|
|
13782
|
+
if (rf & 2) {
|
|
13783
|
+
var ctx_r9 = i0.ɵɵnextContext(2);
|
|
13784
|
+
i0.ɵɵadvance(1);
|
|
13785
|
+
i0.ɵɵtextInterpolate(ctx_r9.desktopText);
|
|
13786
|
+
}
|
|
13777
13787
|
}
|
|
13778
13788
|
function ListScanFilesInputsComponent_ng_template_2_ng_miam_loader_4_Template(rf, ctx) {
|
|
13779
13789
|
if (rf & 1) {
|
|
@@ -13788,7 +13798,7 @@
|
|
|
13788
13798
|
i0.ɵɵelementEnd();
|
|
13789
13799
|
i0.ɵɵelementStart(1, "label", 11);
|
|
13790
13800
|
i0.ɵɵtemplate(2, ListScanFilesInputsComponent_ng_template_2_ng_miam_icon_2_Template, 1, 1, "ng-miam-icon", 5);
|
|
13791
|
-
i0.ɵɵtemplate(3, ListScanFilesInputsComponent_ng_template_2_div_3_Template, 2,
|
|
13801
|
+
i0.ɵɵtemplate(3, ListScanFilesInputsComponent_ng_template_2_div_3_Template, 2, 1, "div", 6);
|
|
13792
13802
|
i0.ɵɵtemplate(4, ListScanFilesInputsComponent_ng_template_2_ng_miam_loader_4_Template, 1, 0, "ng-miam-loader", 7);
|
|
13793
13803
|
i0.ɵɵelementEnd();
|
|
13794
13804
|
}
|
|
@@ -13844,7 +13854,7 @@
|
|
|
13844
13854
|
return ListScanFilesInputsComponent;
|
|
13845
13855
|
}());
|
|
13846
13856
|
ListScanFilesInputsComponent.ɵfac = function ListScanFilesInputsComponent_Factory(t) { return new (t || ListScanFilesInputsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$2.MediaMatcher), i0.ɵɵdirectiveInject(GroceriesListsService)); };
|
|
13847
|
-
ListScanFilesInputsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanFilesInputsComponent, selectors: [["ng-miam-list-scan-files-inputs"]], inputs: { overlay: "overlay", disableIngredientsMatching: "disableIngredientsMatching" }, outputs: { entriesAdded: "entriesAdded" }, decls: 4, vars: 5, consts: [[1, "miam-list-scan__files-inputs", 3, "ngClass"], [4, "ngIf", "ngIfElse"], ["desktop", ""], ["type", "file", "name", "photo", "id", "photo", "accept", "image/*", "capture", "environment", 1, "inputfile", 3, "disabled", "change"], ["for", "photo", 1, "m-button", "m-button-primary", "miam-list-scan__files-inputs__label__photo"], ["width", "16", "height", "16", 3, "iconName", 4, "ngIf"], ["class", "button-label", 4, "ngIf"], [4, "ngIf"], ["width", "16", "height", "16", 3, "iconName"], [1, "button-label"], ["type", "file", "name", "file", "id", "file", "accept", "image/*,application/pdf", 1, "inputfile", 3, "disabled", "change"], ["for", "file", 1, "m-button", "m-button-secondary", "miam-list-scan__files-inputs__label__file"]], template: function ListScanFilesInputsComponent_Template(rf, ctx) {
|
|
13857
|
+
ListScanFilesInputsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanFilesInputsComponent, selectors: [["ng-miam-list-scan-files-inputs"]], inputs: { overlay: "overlay", disableIngredientsMatching: "disableIngredientsMatching", desktopText: "desktopText", mobileText: "mobileText" }, outputs: { entriesAdded: "entriesAdded" }, decls: 4, vars: 5, consts: [[1, "miam-list-scan__files-inputs", 3, "ngClass"], [4, "ngIf", "ngIfElse"], ["desktop", ""], ["type", "file", "name", "photo", "id", "photo", "accept", "image/*", "capture", "environment", 1, "inputfile", 3, "disabled", "change"], ["for", "photo", 1, "m-button", "m-button-primary", "miam-list-scan__files-inputs__label__photo"], ["width", "16", "height", "16", 3, "iconName", 4, "ngIf"], ["class", "button-label", 4, "ngIf"], [4, "ngIf"], ["width", "16", "height", "16", 3, "iconName"], [1, "button-label"], ["type", "file", "name", "file", "id", "file", "accept", "image/*,application/pdf", 1, "inputfile", 3, "disabled", "change"], ["for", "file", 1, "m-button", "m-button-secondary", "miam-list-scan__files-inputs__label__file"]], template: function ListScanFilesInputsComponent_Template(rf, ctx) {
|
|
13848
13858
|
if (rf & 1) {
|
|
13849
13859
|
i0.ɵɵelementStart(0, "div", 0);
|
|
13850
13860
|
i0.ɵɵtemplate(1, ListScanFilesInputsComponent_div_1_Template, 6, 4, "div", 1);
|
|
@@ -13872,6 +13882,10 @@
|
|
|
13872
13882
|
type: i0.Input
|
|
13873
13883
|
}], disableIngredientsMatching: [{
|
|
13874
13884
|
type: i0.Input
|
|
13885
|
+
}], desktopText: [{
|
|
13886
|
+
type: i0.Input
|
|
13887
|
+
}], mobileText: [{
|
|
13888
|
+
type: i0.Input
|
|
13875
13889
|
}], entriesAdded: [{
|
|
13876
13890
|
type: i0.Output
|
|
13877
13891
|
}] });
|
|
@@ -14076,7 +14090,7 @@
|
|
|
14076
14090
|
return ListScanIngredientsListComponent;
|
|
14077
14091
|
}());
|
|
14078
14092
|
ListScanIngredientsListComponent.ɵfac = function ListScanIngredientsListComponent_Factory(t) { return new (t || ListScanIngredientsListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(BasketsService)); };
|
|
14079
|
-
ListScanIngredientsListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanIngredientsListComponent, selectors: [["ng-miam-list-scan-ingredients-list"]], inputs: { entries: "entries" }, outputs: { closed: "closed", confirmed: "confirmed" }, decls: 14, vars:
|
|
14093
|
+
ListScanIngredientsListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanIngredientsListComponent, selectors: [["ng-miam-list-scan-ingredients-list"]], inputs: { entries: "entries", title: "title" }, outputs: { closed: "closed", confirmed: "confirmed" }, decls: 14, vars: 4, consts: [[1, "miam-list-scan__ingredients-list"], [1, "miam-list-scan__ingredients-list__header"], ["width", "24", "height", "24", 3, "iconName", "click"], [1, "miam-list-scan__ingredients-list__content"], ["class", "miam-list-scan__ingredients-list__entry", 4, "ngFor", "ngForOf"], [1, "miam-list-scan__ingredients-list__controls"], [1, "m-button-grey", 3, "click"], [1, "m-button-primary", 3, "click"], ["width", "24", "height", "24", 3, "iconName"], [1, "miam-list-scan__ingredients-list__entry"], [1, "miam-list-scan__ingredients-list__entry__delete", 3, "click"], ["primaryColor", "var(--m-color-grey-text)", 3, "iconName"], [1, "miam-list-scan__ingredients-list__entry__name"], [1, "entry-label"], ["type", "text", 3, "ngModel", "ngModelChange"], [1, "miam-list-scan__ingredients-list__entry__quantity"], ["type", "number", 3, "ngModel", "ngModelChange"], [1, "miam-list-scan__ingredients-list__entry__unit"]], template: function ListScanIngredientsListComponent_Template(rf, ctx) {
|
|
14080
14094
|
if (rf & 1) {
|
|
14081
14095
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14082
14096
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -14084,7 +14098,7 @@
|
|
|
14084
14098
|
i0.ɵɵlistener("click", function ListScanIngredientsListComponent_Template_ng_miam_icon_click_2_listener() { return ctx.cancel(); });
|
|
14085
14099
|
i0.ɵɵelementEnd();
|
|
14086
14100
|
i0.ɵɵelementStart(3, "h3");
|
|
14087
|
-
i0.ɵɵtext(4
|
|
14101
|
+
i0.ɵɵtext(4);
|
|
14088
14102
|
i0.ɵɵelementEnd();
|
|
14089
14103
|
i0.ɵɵelementEnd();
|
|
14090
14104
|
i0.ɵɵelementStart(5, "div", 3);
|
|
@@ -14108,7 +14122,9 @@
|
|
|
14108
14122
|
if (rf & 2) {
|
|
14109
14123
|
i0.ɵɵadvance(2);
|
|
14110
14124
|
i0.ɵɵproperty("iconName", ctx.icon.ArrowDown);
|
|
14111
|
-
i0.ɵɵadvance(
|
|
14125
|
+
i0.ɵɵadvance(2);
|
|
14126
|
+
i0.ɵɵtextInterpolate(ctx.title);
|
|
14127
|
+
i0.ɵɵadvance(2);
|
|
14112
14128
|
i0.ɵɵproperty("ngForOf", ctx.entries);
|
|
14113
14129
|
i0.ɵɵadvance(5);
|
|
14114
14130
|
i0.ɵɵproperty("iconName", ctx.icon.CartPlus);
|
|
@@ -14126,6 +14142,8 @@
|
|
|
14126
14142
|
}]
|
|
14127
14143
|
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: BasketsService }]; }, { entries: [{
|
|
14128
14144
|
type: i0.Input
|
|
14145
|
+
}], title: [{
|
|
14146
|
+
type: i0.Input
|
|
14129
14147
|
}], closed: [{
|
|
14130
14148
|
type: i0.Output
|
|
14131
14149
|
}], confirmed: [{
|
|
@@ -14266,7 +14284,7 @@
|
|
|
14266
14284
|
return ListScanBasketPreviewComponent;
|
|
14267
14285
|
}());
|
|
14268
14286
|
ListScanBasketPreviewComponent.ɵfac = function ListScanBasketPreviewComponent_Factory(t) { return new (t || ListScanBasketPreviewComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(BasketsService)); };
|
|
14269
|
-
ListScanBasketPreviewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanBasketPreviewComponent, selectors: [["ng-miam-list-scan-basket-preview"]], inputs: { entries: "entries" }, outputs: { closed: "closed", cancelled: "cancelled", removedEntries: "removedEntries" }, decls: 16, vars: 10, consts: [[1, "miam-list-scan__basket-preview"], [1, "miam-list-scan__basket-preview__header"], ["width", "24", "height", "24", 3, "iconName", "click"], [1, "miam-list-scan__basket-preview__content", 3, "ngClass"], [4, "ngFor", "ngForOf"], [3, "entries", 4, "ngIf"], [1, "miam-list-scan__basket-preview__controls"], [1, "m-button-secondary", 3, "click"], [4, "ngIf"], [1, "m-button-primary", 3, "click"], ["width", "24", "height", "24", 3, "iconName"], [3, "line", "removed", "replaceItem", 4, "ngIf"], [3, "line", "selected", 4, "ngIf"], [3, "line", "removed", "replaceItem"], [3, "line", "selected"], [3, "entries"]], template: function ListScanBasketPreviewComponent_Template(rf, ctx) {
|
|
14287
|
+
ListScanBasketPreviewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanBasketPreviewComponent, selectors: [["ng-miam-list-scan-basket-preview"]], inputs: { entries: "entries", title: "title", replaceItemTitle: "replaceItemTitle" }, outputs: { closed: "closed", cancelled: "cancelled", removedEntries: "removedEntries" }, decls: 16, vars: 10, consts: [[1, "miam-list-scan__basket-preview"], [1, "miam-list-scan__basket-preview__header"], ["width", "24", "height", "24", 3, "iconName", "click"], [1, "miam-list-scan__basket-preview__content", 3, "ngClass"], [4, "ngFor", "ngForOf"], [3, "entries", 4, "ngIf"], [1, "miam-list-scan__basket-preview__controls"], [1, "m-button-secondary", 3, "click"], [4, "ngIf"], [1, "m-button-primary", 3, "click"], ["width", "24", "height", "24", 3, "iconName"], [3, "line", "removed", "replaceItem", 4, "ngIf"], [3, "line", "selected", 4, "ngIf"], [3, "line", "removed", "replaceItem"], [3, "line", "selected"], [3, "entries"]], template: function ListScanBasketPreviewComponent_Template(rf, ctx) {
|
|
14270
14288
|
if (rf & 1) {
|
|
14271
14289
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14272
14290
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -14301,7 +14319,7 @@
|
|
|
14301
14319
|
i0.ɵɵadvance(2);
|
|
14302
14320
|
i0.ɵɵproperty("iconName", ctx.icon.ArrowDown);
|
|
14303
14321
|
i0.ɵɵadvance(2);
|
|
14304
|
-
i0.ɵɵtextInterpolate(ctx.replaceItemCurrentLine ?
|
|
14322
|
+
i0.ɵɵtextInterpolate(ctx.replaceItemCurrentLine ? ctx.replaceItemTitle : ctx.title);
|
|
14305
14323
|
i0.ɵɵadvance(1);
|
|
14306
14324
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$o, ctx.replaceItemCurrentLine));
|
|
14307
14325
|
i0.ɵɵadvance(1);
|
|
@@ -14328,6 +14346,10 @@
|
|
|
14328
14346
|
}]
|
|
14329
14347
|
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: BasketsService }]; }, { entries: [{
|
|
14330
14348
|
type: i0.Input
|
|
14349
|
+
}], title: [{
|
|
14350
|
+
type: i0.Input
|
|
14351
|
+
}], replaceItemTitle: [{
|
|
14352
|
+
type: i0.Input
|
|
14331
14353
|
}], closed: [{
|
|
14332
14354
|
type: i0.Output
|
|
14333
14355
|
}], cancelled: [{
|
|
@@ -14346,7 +14368,7 @@
|
|
|
14346
14368
|
}
|
|
14347
14369
|
if (rf & 2) {
|
|
14348
14370
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
14349
|
-
i0.ɵɵproperty("disableIngredientsMatching", ctx_r0.disableIngredientsMatching);
|
|
14371
|
+
i0.ɵɵproperty("disableIngredientsMatching", ctx_r0.disableIngredientsMatching)("desktopText", ctx_r0.ctaDesktopText)("mobileText", ctx_r0.ctaMobileText);
|
|
14350
14372
|
}
|
|
14351
14373
|
}
|
|
14352
14374
|
function ListScanComponent_ng_miam_list_scan_overlay_button_2_Template(rf, ctx) {
|
|
@@ -14370,7 +14392,7 @@
|
|
|
14370
14392
|
}
|
|
14371
14393
|
if (rf & 2) {
|
|
14372
14394
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
14373
|
-
i0.ɵɵproperty("entries", ctx_r2.entries);
|
|
14395
|
+
i0.ɵɵproperty("entries", ctx_r2.entries)("title", ctx_r2.scanResultsTitle);
|
|
14374
14396
|
}
|
|
14375
14397
|
}
|
|
14376
14398
|
function ListScanComponent_ng_miam_list_scan_basket_preview_5_Template(rf, ctx) {
|
|
@@ -14382,7 +14404,7 @@
|
|
|
14382
14404
|
}
|
|
14383
14405
|
if (rf & 2) {
|
|
14384
14406
|
var ctx_r3 = i0.ɵɵnextContext();
|
|
14385
|
-
i0.ɵɵproperty("entries", ctx_r3.entries);
|
|
14407
|
+
i0.ɵɵproperty("entries", ctx_r3.entries)("title", ctx_r3.productMatchingTitle)("replaceItemTitle", ctx_r3.replaceItemTitle);
|
|
14386
14408
|
}
|
|
14387
14409
|
}
|
|
14388
14410
|
var ListScanComponent = /** @class */ (function () {
|
|
@@ -14392,6 +14414,11 @@
|
|
|
14392
14414
|
this.floatingButton = false;
|
|
14393
14415
|
this.overlay = true;
|
|
14394
14416
|
this.disableIngredientsMatching = false;
|
|
14417
|
+
this.productMatchingTitle = 'Produits ajoutés';
|
|
14418
|
+
this.replaceItemTitle = 'Remplacer le produit';
|
|
14419
|
+
this.ctaDesktopText = 'Importer ma liste';
|
|
14420
|
+
this.ctaMobileText = 'Scanner ma liste';
|
|
14421
|
+
this.scanResultsTitle = 'Résultats du scan';
|
|
14395
14422
|
this.confirmed = new i0.EventEmitter();
|
|
14396
14423
|
this.entries = [];
|
|
14397
14424
|
this.ingredientsShown = false;
|
|
@@ -14449,15 +14476,15 @@
|
|
|
14449
14476
|
return ListScanComponent;
|
|
14450
14477
|
}());
|
|
14451
14478
|
ListScanComponent.ɵfac = function ListScanComponent_Factory(t) { return new (t || ListScanComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(BasketsService)); };
|
|
14452
|
-
ListScanComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanComponent, selectors: [["ng-miam-list-scan"]], inputs: { floatingButton: "floatingButton", overlay: "overlay", disableIngredientsMatching: "disableIngredientsMatching" }, outputs: { confirmed: "confirmed" }, decls: 6, vars: 8, consts: [[1, "miam-list-scan"], [3, "disableIngredientsMatching", "entriesAdded", 4, "ngIf"], [3, "overlay", "entriesAdded", 4, "ngIf"], [3, "isAngularComponent", "noHeaderMode", "expanded", "expandedChange", "close"], ["class", "miam-list-scan__content", 3, "entries", "closed", "confirmed", 4, "ngIf"], ["class", "miam-list-scan__content", 3, "entries", "closed", "cancelled", "removedEntries", 4, "ngIf"], [3, "disableIngredientsMatching", "entriesAdded"], [3, "overlay", "entriesAdded"], [1, "miam-list-scan__content", 3, "entries", "closed", "confirmed"], [1, "miam-list-scan__content", 3, "entries", "closed", "cancelled", "removedEntries"]], template: function ListScanComponent_Template(rf, ctx) {
|
|
14479
|
+
ListScanComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListScanComponent, selectors: [["ng-miam-list-scan"]], inputs: { floatingButton: "floatingButton", overlay: "overlay", disableIngredientsMatching: "disableIngredientsMatching", productMatchingTitle: "productMatchingTitle", replaceItemTitle: "replaceItemTitle", ctaDesktopText: "ctaDesktopText", ctaMobileText: "ctaMobileText", scanResultsTitle: "scanResultsTitle" }, outputs: { confirmed: "confirmed" }, decls: 6, vars: 8, consts: [[1, "miam-list-scan"], [3, "disableIngredientsMatching", "desktopText", "mobileText", "entriesAdded", 4, "ngIf"], [3, "overlay", "entriesAdded", 4, "ngIf"], [3, "isAngularComponent", "noHeaderMode", "expanded", "expandedChange", "close"], ["class", "miam-list-scan__content", 3, "entries", "title", "closed", "confirmed", 4, "ngIf"], ["class", "miam-list-scan__content", 3, "entries", "title", "replaceItemTitle", "closed", "cancelled", "removedEntries", 4, "ngIf"], [3, "disableIngredientsMatching", "desktopText", "mobileText", "entriesAdded"], [3, "overlay", "entriesAdded"], [1, "miam-list-scan__content", 3, "entries", "title", "closed", "confirmed"], [1, "miam-list-scan__content", 3, "entries", "title", "replaceItemTitle", "closed", "cancelled", "removedEntries"]], template: function ListScanComponent_Template(rf, ctx) {
|
|
14453
14480
|
if (rf & 1) {
|
|
14454
14481
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14455
|
-
i0.ɵɵtemplate(1, ListScanComponent_ng_miam_list_scan_files_inputs_1_Template, 1,
|
|
14482
|
+
i0.ɵɵtemplate(1, ListScanComponent_ng_miam_list_scan_files_inputs_1_Template, 1, 3, "ng-miam-list-scan-files-inputs", 1);
|
|
14456
14483
|
i0.ɵɵtemplate(2, ListScanComponent_ng_miam_list_scan_overlay_button_2_Template, 1, 1, "ng-miam-list-scan-overlay-button", 2);
|
|
14457
14484
|
i0.ɵɵelementStart(3, "ng-miam-modal", 3);
|
|
14458
14485
|
i0.ɵɵlistener("expandedChange", function ListScanComponent_Template_ng_miam_modal_expandedChange_3_listener($event) { return ctx.ingredientsShown || (ctx.basketPreviewShown = $event); })("close", function ListScanComponent_Template_ng_miam_modal_close_3_listener() { return ctx.cancel(); });
|
|
14459
|
-
i0.ɵɵtemplate(4, ListScanComponent_ng_miam_list_scan_ingredients_list_4_Template, 1,
|
|
14460
|
-
i0.ɵɵtemplate(5, ListScanComponent_ng_miam_list_scan_basket_preview_5_Template, 1,
|
|
14486
|
+
i0.ɵɵtemplate(4, ListScanComponent_ng_miam_list_scan_ingredients_list_4_Template, 1, 2, "ng-miam-list-scan-ingredients-list", 4);
|
|
14487
|
+
i0.ɵɵtemplate(5, ListScanComponent_ng_miam_list_scan_basket_preview_5_Template, 1, 3, "ng-miam-list-scan-basket-preview", 5);
|
|
14461
14488
|
i0.ɵɵelementEnd();
|
|
14462
14489
|
i0.ɵɵelementEnd();
|
|
14463
14490
|
}
|
|
@@ -14490,6 +14517,16 @@
|
|
|
14490
14517
|
type: i0.Input
|
|
14491
14518
|
}], disableIngredientsMatching: [{
|
|
14492
14519
|
type: i0.Input
|
|
14520
|
+
}], productMatchingTitle: [{
|
|
14521
|
+
type: i0.Input
|
|
14522
|
+
}], replaceItemTitle: [{
|
|
14523
|
+
type: i0.Input
|
|
14524
|
+
}], ctaDesktopText: [{
|
|
14525
|
+
type: i0.Input
|
|
14526
|
+
}], ctaMobileText: [{
|
|
14527
|
+
type: i0.Input
|
|
14528
|
+
}], scanResultsTitle: [{
|
|
14529
|
+
type: i0.Input
|
|
14493
14530
|
}], confirmed: [{
|
|
14494
14531
|
type: i0.Output
|
|
14495
14532
|
}] });
|