@bottlebooks/valid-values 4.0.3 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.js +2 -2
- package/dist/main.js +3 -3
- package/dist/validValues/award/award.d.ts +2 -0
- package/dist/validValues/award/award.d.ts.map +1 -1
- package/dist/validValues/award/award.js +40 -30
- package/dist/validValues/awardMedal/awardMedal.js +2 -2
- package/dist/validValues/beerStyle/beerStyle.js +3 -3
- package/dist/validValues/certification/certification.js +2 -2
- package/dist/validValues/containerColor/containerColor.js +2 -2
- package/dist/validValues/containerType/containerType.js +2 -2
- package/dist/validValues/country/country.js +4 -4
- package/dist/validValues/designation/designation.js +2 -2
- package/dist/validValues/ingredient/ingredient.js +36 -36
- package/dist/validValues/packagingCertification/packagingCertification.js +2 -2
- package/dist/validValues/packagingMaterialType/packagingMaterialType.js +2 -2
- package/dist/validValues/productType/productType.js +2 -2
- package/dist/validValues/productionMethod/productionMethod.js +2 -2
- package/dist/validValues/region/region.js +4 -4
- package/dist/validValues/responsibleConsumptionLogo/responsibleConsumptionLogo.js +2 -2
- package/dist/validValues/subregion/subregion.js +4 -4
- package/dist/validValues/types/award_p85_100.js +2 -2
- package/dist/validValues/types/productTypesSpirit.js +2 -2
- package/dist/validValues/types/productTypesWine.js +2 -2
- package/dist/validValues/utils/loadLocalizedData.js +1 -1
- package/dist/validValues/varietyName/varietyName.js +2 -2
- package/dist/validValues/wineColor/wineColor.js +2 -2
- package/dist/validValues/wineType/wineType.js +2 -2
- package/dist/validValues.js +20 -20
- package/package.json +2 -2
- package/src/validValues/award/award.ts +10 -0
- package/src/validValues/json/awards.js +12 -0
- package/dist/locales/locales.d.ts +0 -80
- package/dist/locales/locales.d.ts.map +0 -1
- package/dist/locales/locales.js +0 -159
- package/dist/locales/po/bg.d.js +0 -5
- package/dist/locales/po/bg.d.ts +0 -2526
- package/dist/locales/po/bg.d.ts.map +0 -1
- package/dist/locales/po/bg.js +0 -2534
- package/dist/locales/po/cs.d.js +0 -5
- package/dist/locales/po/cs.d.ts +0 -2526
- package/dist/locales/po/cs.d.ts.map +0 -1
- package/dist/locales/po/cs.js +0 -2534
- package/dist/locales/po/da.d.js +0 -5
- package/dist/locales/po/da.d.ts +0 -2526
- package/dist/locales/po/da.d.ts.map +0 -1
- package/dist/locales/po/da.js +0 -2534
- package/dist/locales/po/de.d.js +0 -5
- package/dist/locales/po/de.d.ts +0 -2526
- package/dist/locales/po/de.d.ts.map +0 -1
- package/dist/locales/po/de.js +0 -2534
- package/dist/locales/po/ee.d.js +0 -5
- package/dist/locales/po/ee.d.ts +0 -2526
- package/dist/locales/po/ee.d.ts.map +0 -1
- package/dist/locales/po/ee.js +0 -2534
- package/dist/locales/po/el.d.js +0 -5
- package/dist/locales/po/el.d.ts +0 -2526
- package/dist/locales/po/el.d.ts.map +0 -1
- package/dist/locales/po/el.js +0 -2534
- package/dist/locales/po/en.d.js +0 -5
- package/dist/locales/po/en.d.ts +0 -2526
- package/dist/locales/po/en.d.ts.map +0 -1
- package/dist/locales/po/en.js +0 -2534
- package/dist/locales/po/es.d.js +0 -5
- package/dist/locales/po/es.d.ts +0 -2526
- package/dist/locales/po/es.d.ts.map +0 -1
- package/dist/locales/po/es.js +0 -2534
- package/dist/locales/po/fi.d.js +0 -5
- package/dist/locales/po/fi.d.ts +0 -2526
- package/dist/locales/po/fi.d.ts.map +0 -1
- package/dist/locales/po/fi.js +0 -2534
- package/dist/locales/po/fr.d.js +0 -5
- package/dist/locales/po/fr.d.ts +0 -2526
- package/dist/locales/po/fr.d.ts.map +0 -1
- package/dist/locales/po/fr.js +0 -2534
- package/dist/locales/po/ga.d.js +0 -5
- package/dist/locales/po/ga.d.ts +0 -2526
- package/dist/locales/po/ga.d.ts.map +0 -1
- package/dist/locales/po/ga.js +0 -2534
- package/dist/locales/po/hr.d.js +0 -5
- package/dist/locales/po/hr.d.ts +0 -2526
- package/dist/locales/po/hr.d.ts.map +0 -1
- package/dist/locales/po/hr.js +0 -2534
- package/dist/locales/po/hu.d.js +0 -5
- package/dist/locales/po/hu.d.ts +0 -2526
- package/dist/locales/po/hu.d.ts.map +0 -1
- package/dist/locales/po/hu.js +0 -2534
- package/dist/locales/po/it.d.js +0 -5
- package/dist/locales/po/it.d.ts +0 -2526
- package/dist/locales/po/it.d.ts.map +0 -1
- package/dist/locales/po/it.js +0 -2534
- package/dist/locales/po/lt.d.js +0 -5
- package/dist/locales/po/lt.d.ts +0 -2526
- package/dist/locales/po/lt.d.ts.map +0 -1
- package/dist/locales/po/lt.js +0 -2534
- package/dist/locales/po/lv.d.js +0 -5
- package/dist/locales/po/lv.d.ts +0 -2526
- package/dist/locales/po/lv.d.ts.map +0 -1
- package/dist/locales/po/lv.js +0 -2534
- package/dist/locales/po/mt.d.js +0 -5
- package/dist/locales/po/mt.d.ts +0 -2526
- package/dist/locales/po/mt.d.ts.map +0 -1
- package/dist/locales/po/mt.js +0 -2534
- package/dist/locales/po/nl.d.js +0 -5
- package/dist/locales/po/nl.d.ts +0 -2526
- package/dist/locales/po/nl.d.ts.map +0 -1
- package/dist/locales/po/nl.js +0 -2534
- package/dist/locales/po/pl.d.js +0 -5
- package/dist/locales/po/pl.d.ts +0 -2526
- package/dist/locales/po/pl.d.ts.map +0 -1
- package/dist/locales/po/pl.js +0 -2534
- package/dist/locales/po/pt.d.js +0 -5
- package/dist/locales/po/pt.d.ts +0 -2526
- package/dist/locales/po/pt.d.ts.map +0 -1
- package/dist/locales/po/pt.js +0 -2534
- package/dist/locales/po/ro.d.js +0 -5
- package/dist/locales/po/ro.d.ts +0 -2526
- package/dist/locales/po/ro.d.ts.map +0 -1
- package/dist/locales/po/ro.js +0 -2534
- package/dist/locales/po/se.d.js +0 -5
- package/dist/locales/po/se.d.ts +0 -2526
- package/dist/locales/po/se.d.ts.map +0 -1
- package/dist/locales/po/se.js +0 -2534
- package/dist/locales/po/si.d.js +0 -5
- package/dist/locales/po/si.d.ts +0 -2526
- package/dist/locales/po/si.d.ts.map +0 -1
- package/dist/locales/po/si.js +0 -2534
- package/dist/locales/po/sk.d.js +0 -5
- package/dist/locales/po/sk.d.ts +0 -2526
- package/dist/locales/po/sk.d.ts.map +0 -1
- package/dist/locales/po/sk.js +0 -2534
- package/dist/validValues/award.d.ts +0 -218
- package/dist/validValues/award.d.ts.map +0 -1
- package/dist/validValues/award.js +0 -1065
- package/dist/validValues/awardMedal.d.ts +0 -236
- package/dist/validValues/awardMedal.d.ts.map +0 -1
- package/dist/validValues/awardMedal.js +0 -2070
- package/dist/validValues/beerStyle.d.ts +0 -101
- package/dist/validValues/beerStyle.d.ts.map +0 -1
- package/dist/validValues/beerStyle.js +0 -855
- package/dist/validValues/certification.d.ts +0 -35
- package/dist/validValues/certification.d.ts.map +0 -1
- package/dist/validValues/certification.js +0 -286
- package/dist/validValues/containerColor.d.ts +0 -16
- package/dist/validValues/containerColor.d.ts.map +0 -1
- package/dist/validValues/containerColor.js +0 -90
- package/dist/validValues/containerType.d.ts +0 -13
- package/dist/validValues/containerType.d.ts.map +0 -1
- package/dist/validValues/containerType.js +0 -63
- package/dist/validValues/country.d.ts +0 -157
- package/dist/validValues/country.d.ts.map +0 -1
- package/dist/validValues/country.js +0 -1488
- package/dist/validValues/designation.d.ts +0 -60
- package/dist/validValues/designation.d.ts.map +0 -1
- package/dist/validValues/designation.js +0 -169
- package/dist/validValues/ingredient.d.ts +0 -71
- package/dist/validValues/ingredient.d.ts.map +0 -1
- package/dist/validValues/ingredient.js +0 -737
- package/dist/validValues/json/appelation.d.ts +0 -2
- package/dist/validValues/json/appelation.d.ts.map +0 -1
- package/dist/validValues/packagingCertification.d.ts +0 -12
- package/dist/validValues/packagingCertification.d.ts.map +0 -1
- package/dist/validValues/packagingCertification.js +0 -56
- package/dist/validValues/packagingMaterialType.d.ts +0 -59
- package/dist/validValues/packagingMaterialType.d.ts.map +0 -1
- package/dist/validValues/packagingMaterialType.js +0 -706
- package/dist/validValues/productType.d.ts +0 -47
- package/dist/validValues/productType.d.ts.map +0 -1
- package/dist/validValues/productType.js +0 -369
- package/dist/validValues/productionMethod.d.ts +0 -20
- package/dist/validValues/productionMethod.d.ts.map +0 -1
- package/dist/validValues/productionMethod.js +0 -126
- package/dist/validValues/region.d.ts +0 -489
- package/dist/validValues/region.d.ts.map +0 -1
- package/dist/validValues/region.js +0 -4814
- package/dist/validValues/responsibleConsumptionLogo.d.ts +0 -12
- package/dist/validValues/responsibleConsumptionLogo.d.ts.map +0 -1
- package/dist/validValues/responsibleConsumptionLogo.js +0 -66
- package/dist/validValues/subregion.d.ts +0 -1395
- package/dist/validValues/subregion.d.ts.map +0 -1
- package/dist/validValues/subregion.js +0 -12508
- package/dist/validValues/types/Award.d.ts +0 -35
- package/dist/validValues/types/Award.d.ts.map +0 -1
- package/dist/validValues/types/Award.js +0 -5
- package/dist/validValues/types/Country.d.ts +0 -35
- package/dist/validValues/types/Country.d.ts.map +0 -1
- package/dist/validValues/types/Country.js +0 -5
- package/dist/validValues/utils/createValidValues.d.ts +0 -28
- package/dist/validValues/utils/createValidValues.d.ts.map +0 -1
- package/dist/validValues/utils/createValidValues.js +0 -98
- package/dist/validValues/varietyName.d.ts +0 -1966
- package/dist/validValues/varietyName.d.ts.map +0 -1
- package/dist/validValues/varietyName.js +0 -7848
- package/dist/validValues/wineColor.d.ts +0 -12
- package/dist/validValues/wineColor.d.ts.map +0 -1
- package/dist/validValues/wineColor.js +0 -54
- package/dist/validValues/wineType.d.ts +0 -12
- package/dist/validValues/wineType.d.ts.map +0 -1
- package/dist/validValues/wineType.js +0 -54
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.byProductType = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _productTypesSpirit = _interopRequireDefault(require("../types/productTypesS
|
|
|
11
11
|
|
|
12
12
|
var _productTypesWine = _interopRequireDefault(require("../types/productTypesWine"));
|
|
13
13
|
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
15
|
|
|
16
16
|
/** Makes sure errors are displayed where the error is introduced. */
|
|
17
17
|
var ingredient = function ingredient(value) {
|
|
@@ -29,7 +29,7 @@ var allIngredients = {
|
|
|
29
29
|
},
|
|
30
30
|
metadata: {
|
|
31
31
|
tags: ['OTHER_INGREDIENT'],
|
|
32
|
-
productType: _productTypesWine
|
|
32
|
+
productType: _productTypesWine["default"]
|
|
33
33
|
}
|
|
34
34
|
}),
|
|
35
35
|
ammoniaCaramel: ingredient({
|
|
@@ -55,7 +55,7 @@ var allIngredients = {
|
|
|
55
55
|
},
|
|
56
56
|
metadata: {
|
|
57
57
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
58
|
-
productType: _productTypesWine
|
|
58
|
+
productType: _productTypesWine["default"]
|
|
59
59
|
}
|
|
60
60
|
}),
|
|
61
61
|
argon: ingredient({
|
|
@@ -68,7 +68,7 @@ var allIngredients = {
|
|
|
68
68
|
},
|
|
69
69
|
metadata: {
|
|
70
70
|
tags: ['ANTIOXIDANT'],
|
|
71
|
-
productType: _productTypesWine
|
|
71
|
+
productType: _productTypesWine["default"]
|
|
72
72
|
}
|
|
73
73
|
}),
|
|
74
74
|
ascorbicAcid: ingredient({
|
|
@@ -81,7 +81,7 @@ var allIngredients = {
|
|
|
81
81
|
},
|
|
82
82
|
metadata: {
|
|
83
83
|
tags: ['ANTIOXIDANT'],
|
|
84
|
-
productType: _productTypesWine
|
|
84
|
+
productType: _productTypesWine["default"]
|
|
85
85
|
}
|
|
86
86
|
}),
|
|
87
87
|
burnedSugar: ingredient({
|
|
@@ -107,7 +107,7 @@ var allIngredients = {
|
|
|
107
107
|
},
|
|
108
108
|
metadata: {
|
|
109
109
|
tags: ['ACIDITY_REGULATOR', 'ALLERGEN'],
|
|
110
|
-
productType: _productTypesWine
|
|
110
|
+
productType: _productTypesWine["default"]
|
|
111
111
|
}
|
|
112
112
|
}),
|
|
113
113
|
carbonDioxide: ingredient({
|
|
@@ -120,7 +120,7 @@ var allIngredients = {
|
|
|
120
120
|
},
|
|
121
121
|
metadata: {
|
|
122
122
|
tags: ['ANTIOXIDANT', 'OTHER_INGREDIENT'],
|
|
123
|
-
productType: _productTypesWine
|
|
123
|
+
productType: _productTypesWine["default"]
|
|
124
124
|
}
|
|
125
125
|
}),
|
|
126
126
|
carboxymethylcellulose: ingredient({
|
|
@@ -133,7 +133,7 @@ var allIngredients = {
|
|
|
133
133
|
},
|
|
134
134
|
metadata: {
|
|
135
135
|
tags: ['STABILISER'],
|
|
136
|
-
productType: _productTypesWine
|
|
136
|
+
productType: _productTypesWine["default"]
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
carobSyrup: ingredient({
|
|
@@ -172,7 +172,7 @@ var allIngredients = {
|
|
|
172
172
|
},
|
|
173
173
|
metadata: {
|
|
174
174
|
tags: ['RAW_MATERIAL'],
|
|
175
|
-
productType: _productTypesSpirit
|
|
175
|
+
productType: _productTypesSpirit["default"]
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
178
|
citricAcid: ingredient({
|
|
@@ -185,7 +185,7 @@ var allIngredients = {
|
|
|
185
185
|
},
|
|
186
186
|
metadata: {
|
|
187
187
|
tags: ['NATURALLY_ADDED_ACID'],
|
|
188
|
-
productType: _productTypesWine
|
|
188
|
+
productType: _productTypesWine["default"]
|
|
189
189
|
}
|
|
190
190
|
}),
|
|
191
191
|
concentratedGrapeMust: ingredient({
|
|
@@ -198,7 +198,7 @@ var allIngredients = {
|
|
|
198
198
|
},
|
|
199
199
|
metadata: {
|
|
200
200
|
tags: ['ENRICHMENT_SUBSTANCE', 'SWEETENER'],
|
|
201
|
-
productType: _productTypesWine
|
|
201
|
+
productType: _productTypesWine["default"]
|
|
202
202
|
}
|
|
203
203
|
}),
|
|
204
204
|
dimethyldicarbonate: ingredient({
|
|
@@ -211,7 +211,7 @@ var allIngredients = {
|
|
|
211
211
|
},
|
|
212
212
|
metadata: {
|
|
213
213
|
tags: ['PRESERVATIVE'],
|
|
214
|
-
productType: _productTypesWine
|
|
214
|
+
productType: _productTypesWine["default"]
|
|
215
215
|
}
|
|
216
216
|
}),
|
|
217
217
|
distillateOfAgriculturalOrigin: ingredient({
|
|
@@ -263,7 +263,7 @@ var allIngredients = {
|
|
|
263
263
|
},
|
|
264
264
|
metadata: {
|
|
265
265
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
266
|
-
productType: _productTypesWine
|
|
266
|
+
productType: _productTypesWine["default"]
|
|
267
267
|
}
|
|
268
268
|
}),
|
|
269
269
|
eggLysozyme: ingredient({
|
|
@@ -276,7 +276,7 @@ var allIngredients = {
|
|
|
276
276
|
},
|
|
277
277
|
metadata: {
|
|
278
278
|
tags: ['PRESERVATIVE'],
|
|
279
|
-
productType: _productTypesWine
|
|
279
|
+
productType: _productTypesWine["default"]
|
|
280
280
|
}
|
|
281
281
|
}),
|
|
282
282
|
ethylAlcoholOfAgriculturalOrigin: ingredient({
|
|
@@ -341,7 +341,7 @@ var allIngredients = {
|
|
|
341
341
|
},
|
|
342
342
|
metadata: {
|
|
343
343
|
tags: ['RAW_MATERIAL'],
|
|
344
|
-
productType: _productTypesSpirit
|
|
344
|
+
productType: _productTypesSpirit["default"]
|
|
345
345
|
}
|
|
346
346
|
}),
|
|
347
347
|
grape: ingredient({
|
|
@@ -354,7 +354,7 @@ var allIngredients = {
|
|
|
354
354
|
},
|
|
355
355
|
metadata: {
|
|
356
356
|
tags: ['RAW_MATERIAL'],
|
|
357
|
-
productType: _productTypesWine
|
|
357
|
+
productType: _productTypesWine["default"]
|
|
358
358
|
}
|
|
359
359
|
}),
|
|
360
360
|
grapeMarcSpirit: ingredient({
|
|
@@ -380,7 +380,7 @@ var allIngredients = {
|
|
|
380
380
|
},
|
|
381
381
|
metadata: {
|
|
382
382
|
tags: ['STABILISER'],
|
|
383
|
-
productType: _productTypesWine
|
|
383
|
+
productType: _productTypesWine["default"]
|
|
384
384
|
}
|
|
385
385
|
}),
|
|
386
386
|
honey: ingredient({
|
|
@@ -406,7 +406,7 @@ var allIngredients = {
|
|
|
406
406
|
},
|
|
407
407
|
metadata: {
|
|
408
408
|
tags: ['ACIDITY_REGULATOR'],
|
|
409
|
-
productType: _productTypesWine
|
|
409
|
+
productType: _productTypesWine["default"]
|
|
410
410
|
}
|
|
411
411
|
}),
|
|
412
412
|
malicAcid: ingredient({
|
|
@@ -419,7 +419,7 @@ var allIngredients = {
|
|
|
419
419
|
},
|
|
420
420
|
metadata: {
|
|
421
421
|
tags: ['ACIDITY_REGULATOR'],
|
|
422
|
-
productType: _productTypesWine
|
|
422
|
+
productType: _productTypesWine["default"]
|
|
423
423
|
}
|
|
424
424
|
}),
|
|
425
425
|
maltDistillateAndWater: ingredient({
|
|
@@ -432,7 +432,7 @@ var allIngredients = {
|
|
|
432
432
|
},
|
|
433
433
|
metadata: {
|
|
434
434
|
tags: ['RAW_MATERIAL'],
|
|
435
|
-
productType: _productTypesSpirit
|
|
435
|
+
productType: _productTypesSpirit["default"]
|
|
436
436
|
}
|
|
437
437
|
}),
|
|
438
438
|
metatartaricAcid: ingredient({
|
|
@@ -445,7 +445,7 @@ var allIngredients = {
|
|
|
445
445
|
},
|
|
446
446
|
metadata: {
|
|
447
447
|
tags: ['STABILISER'],
|
|
448
|
-
productType: _productTypesWine
|
|
448
|
+
productType: _productTypesWine["default"]
|
|
449
449
|
}
|
|
450
450
|
}),
|
|
451
451
|
milkCasein: ingredient({
|
|
@@ -458,7 +458,7 @@ var allIngredients = {
|
|
|
458
458
|
},
|
|
459
459
|
metadata: {
|
|
460
460
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
461
|
-
productType: _productTypesWine
|
|
461
|
+
productType: _productTypesWine["default"]
|
|
462
462
|
}
|
|
463
463
|
}),
|
|
464
464
|
nitrogen: ingredient({
|
|
@@ -471,7 +471,7 @@ var allIngredients = {
|
|
|
471
471
|
},
|
|
472
472
|
metadata: {
|
|
473
473
|
tags: ['ANTIOXIDANT'],
|
|
474
|
-
productType: _productTypesWine
|
|
474
|
+
productType: _productTypesWine["default"]
|
|
475
475
|
}
|
|
476
476
|
}),
|
|
477
477
|
plainCaramel: ingredient({
|
|
@@ -497,7 +497,7 @@ var allIngredients = {
|
|
|
497
497
|
},
|
|
498
498
|
metadata: {
|
|
499
499
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
500
|
-
productType: _productTypesWine
|
|
500
|
+
productType: _productTypesWine["default"]
|
|
501
501
|
}
|
|
502
502
|
}),
|
|
503
503
|
potassiumMetabisulphite: ingredient({
|
|
@@ -510,7 +510,7 @@ var allIngredients = {
|
|
|
510
510
|
},
|
|
511
511
|
metadata: {
|
|
512
512
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
513
|
-
productType: _productTypesWine
|
|
513
|
+
productType: _productTypesWine["default"]
|
|
514
514
|
}
|
|
515
515
|
}),
|
|
516
516
|
potassiumPolyaspartate: ingredient({
|
|
@@ -523,7 +523,7 @@ var allIngredients = {
|
|
|
523
523
|
},
|
|
524
524
|
metadata: {
|
|
525
525
|
tags: ['STABILISER'],
|
|
526
|
-
productType: _productTypesWine
|
|
526
|
+
productType: _productTypesWine["default"]
|
|
527
527
|
}
|
|
528
528
|
}),
|
|
529
529
|
potassiumSorbate: ingredient({
|
|
@@ -536,7 +536,7 @@ var allIngredients = {
|
|
|
536
536
|
},
|
|
537
537
|
metadata: {
|
|
538
538
|
tags: ['PRESERVATIVE'],
|
|
539
|
-
productType: _productTypesWine
|
|
539
|
+
productType: _productTypesWine["default"]
|
|
540
540
|
}
|
|
541
541
|
}),
|
|
542
542
|
ryeDistillateAndWater: ingredient({
|
|
@@ -549,7 +549,7 @@ var allIngredients = {
|
|
|
549
549
|
},
|
|
550
550
|
metadata: {
|
|
551
551
|
tags: ['RAW_MATERIAL'],
|
|
552
|
-
productType: _productTypesSpirit
|
|
552
|
+
productType: _productTypesSpirit["default"]
|
|
553
553
|
}
|
|
554
554
|
}),
|
|
555
555
|
sucrose: ingredient({
|
|
@@ -562,7 +562,7 @@ var allIngredients = {
|
|
|
562
562
|
},
|
|
563
563
|
metadata: {
|
|
564
564
|
tags: ['ENRICHMENT_SUBSTANCE'],
|
|
565
|
-
productType: _productTypesWine
|
|
565
|
+
productType: _productTypesWine["default"]
|
|
566
566
|
}
|
|
567
567
|
}),
|
|
568
568
|
sugar: ingredient({
|
|
@@ -601,7 +601,7 @@ var allIngredients = {
|
|
|
601
601
|
},
|
|
602
602
|
metadata: {
|
|
603
603
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
604
|
-
productType: _productTypesWine
|
|
604
|
+
productType: _productTypesWine["default"]
|
|
605
605
|
}
|
|
606
606
|
}),
|
|
607
607
|
sulphurDioxide: ingredient({
|
|
@@ -614,7 +614,7 @@ var allIngredients = {
|
|
|
614
614
|
},
|
|
615
615
|
metadata: {
|
|
616
616
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
617
|
-
productType: _productTypesWine
|
|
617
|
+
productType: _productTypesWine["default"]
|
|
618
618
|
}
|
|
619
619
|
}),
|
|
620
620
|
tartaricAcid: ingredient({
|
|
@@ -627,7 +627,7 @@ var allIngredients = {
|
|
|
627
627
|
},
|
|
628
628
|
metadata: {
|
|
629
629
|
tags: ['ACIDITY_REGULATOR'],
|
|
630
|
-
productType: _productTypesWine
|
|
630
|
+
productType: _productTypesWine["default"]
|
|
631
631
|
}
|
|
632
632
|
}),
|
|
633
633
|
water: ingredient({
|
|
@@ -653,7 +653,7 @@ var allIngredients = {
|
|
|
653
653
|
},
|
|
654
654
|
metadata: {
|
|
655
655
|
tags: ['PROCESSING_AID'],
|
|
656
|
-
productType: _productTypesWine
|
|
656
|
+
productType: _productTypesWine["default"]
|
|
657
657
|
}
|
|
658
658
|
}),
|
|
659
659
|
wine: ingredient({
|
|
@@ -718,7 +718,7 @@ var allIngredients = {
|
|
|
718
718
|
},
|
|
719
719
|
metadata: {
|
|
720
720
|
tags: ['STABILISER'],
|
|
721
|
-
productType: _productTypesWine
|
|
721
|
+
productType: _productTypesWine["default"]
|
|
722
722
|
}
|
|
723
723
|
})
|
|
724
724
|
};
|
|
@@ -734,4 +734,4 @@ var byProductType = Object.values(allIngredients).reduce(function (acc, ingredie
|
|
|
734
734
|
}, {});
|
|
735
735
|
exports.byProductType = byProductType;
|
|
736
736
|
var _default = allIngredients;
|
|
737
|
-
exports
|
|
737
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
/** Makes sure errors are displayed where the error is introduced. */
|
|
9
9
|
var packagingCertification = function packagingCertification(value) {
|
|
@@ -53,4 +53,4 @@ var allPackagingCertifications = {
|
|
|
53
53
|
})
|
|
54
54
|
};
|
|
55
55
|
var _default = allPackagingCertifications;
|
|
56
|
-
exports
|
|
56
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -703,4 +703,4 @@ var allPackagingMaterialTypes = {
|
|
|
703
703
|
})
|
|
704
704
|
};
|
|
705
705
|
var _default = allPackagingMaterialTypes;
|
|
706
|
-
exports
|
|
706
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -366,4 +366,4 @@ var allProductTypes = {
|
|
|
366
366
|
})
|
|
367
367
|
};
|
|
368
368
|
var _default = allProductTypes;
|
|
369
|
-
exports
|
|
369
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -123,4 +123,4 @@ var allProductionMethods = {
|
|
|
123
123
|
})
|
|
124
124
|
};
|
|
125
125
|
var _default = allProductionMethods;
|
|
126
|
-
exports
|
|
126
|
+
exports["default"] = _default;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.byCountry = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
10
10
|
var _country = _interopRequireDefault(require("../country/country"));
|
|
11
11
|
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
|
|
14
14
|
/** Makes sure errors are displayed where the error is introduced. */
|
|
15
15
|
var region = function region(value) {
|
|
@@ -4798,7 +4798,7 @@ var allRegions = {
|
|
|
4798
4798
|
subregions: []
|
|
4799
4799
|
})
|
|
4800
4800
|
};
|
|
4801
|
-
var byCountry = Object.values(_country
|
|
4801
|
+
var byCountry = Object.values(_country["default"]).reduce(function (acc, country) {
|
|
4802
4802
|
var _country$regions;
|
|
4803
4803
|
|
|
4804
4804
|
//@ts-ignore
|
|
@@ -4811,4 +4811,4 @@ var byCountry = Object.values(_country.default).reduce(function (acc, country) {
|
|
|
4811
4811
|
}, {});
|
|
4812
4812
|
exports.byCountry = byCountry;
|
|
4813
4813
|
var _default = allRegions;
|
|
4814
|
-
exports
|
|
4814
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -63,4 +63,4 @@ var allResponsibleConsumptionLogos = {
|
|
|
63
63
|
})
|
|
64
64
|
};
|
|
65
65
|
var _default = allResponsibleConsumptionLogos;
|
|
66
|
-
exports
|
|
66
|
+
exports["default"] = _default;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.byRegion = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
10
10
|
var _region = _interopRequireDefault(require("../region/region"));
|
|
11
11
|
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
|
|
14
14
|
/** Adds the key to the subregion and makes sure we can only add valid subregions. */
|
|
15
15
|
var subregion = function subregion(value) {
|
|
@@ -12492,7 +12492,7 @@ var allSubregions = {
|
|
|
12492
12492
|
}
|
|
12493
12493
|
})
|
|
12494
12494
|
};
|
|
12495
|
-
var byRegion = Object.values(_region
|
|
12495
|
+
var byRegion = Object.values(_region["default"]).reduce(function (acc, region) {
|
|
12496
12496
|
var _region$subregions;
|
|
12497
12497
|
|
|
12498
12498
|
//@ts-ignore
|
|
@@ -12505,4 +12505,4 @@ var byRegion = Object.values(_region.default).reduce(function (acc, region) {
|
|
|
12505
12505
|
}, {});
|
|
12506
12506
|
exports.byRegion = byRegion;
|
|
12507
12507
|
var _default = allSubregions;
|
|
12508
|
-
exports
|
|
12508
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
var range = ['p_85', 'p_86', 'p_87', 'p_88', 'p_89', 'p_90', 'p_91', 'p_92', 'p_93', 'p_94', 'p_95', 'p_96', 'p_97', 'p_98', 'p_99', 'p_100'];
|
|
8
8
|
var _default = range;
|
|
9
|
-
exports
|
|
9
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
var PRODUCT_TYPE_SPIRITS = ['spirit_absinthe', 'spirit_anise', 'spirit_aquavit', 'spirit_arak', 'spirit_armagnac', 'spirit_asianspirit', 'spirit_bitter', 'spirit_cachaca', 'spirit_calvados', 'spirit_cocktail', 'spirit_cognac', 'spirit_fruitspirit', 'spirit_genever', 'spirit_gin', 'spirit_grainspirit', 'spirit_grapebrandy', 'spirit_grappa', 'spirit_liqueur', 'spirit_marc', 'spirit_mezcal', 'spirit_miscspririt', 'spirit_ouzo', 'spirit_pastis', 'spirit_pisco', 'spirit_raki', 'spirit_rum', 'spirit_sambuca', 'spirit_shochu', 'spirit_schnaps', 'spirit_tequila', 'spirit_vermouth', 'spirit_vodka', 'spirit_whisky'];
|
|
8
8
|
var _default = PRODUCT_TYPE_SPIRITS;
|
|
9
|
-
exports
|
|
9
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
var PRODUCT_TYPE_WINES = ['wine_stillwine', 'wine_fortified', 'wine_pearlwine', 'wine_sparkling', 'wine_aromatized'];
|
|
8
8
|
var _default = PRODUCT_TYPE_WINES;
|
|
9
|
-
exports
|
|
9
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
/** Makes sure errors are displayed where the error is introduced. */
|
|
9
9
|
var varietyName = function varietyName(value) {
|
|
@@ -7845,4 +7845,4 @@ var allVarietyNames = {
|
|
|
7845
7845
|
})
|
|
7846
7846
|
};
|
|
7847
7847
|
var _default = allVarietyNames;
|
|
7848
|
-
exports
|
|
7848
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -51,4 +51,4 @@ var allWineColors = {
|
|
|
51
51
|
})
|
|
52
52
|
};
|
|
53
53
|
var _default = allWineColors;
|
|
54
|
-
exports
|
|
54
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
@@ -51,4 +51,4 @@ var allWineTypes = {
|
|
|
51
51
|
})
|
|
52
52
|
};
|
|
53
53
|
var _default = allWineTypes;
|
|
54
|
-
exports
|
|
54
|
+
exports["default"] = _default;
|
package/dist/validValues.js
CHANGED
|
@@ -6,115 +6,115 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "award", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return _award
|
|
9
|
+
return _award["default"];
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "awardMedal", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function get() {
|
|
15
|
-
return _awardMedal
|
|
15
|
+
return _awardMedal["default"];
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "beerStyle", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function get() {
|
|
21
|
-
return _beerStyle
|
|
21
|
+
return _beerStyle["default"];
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "certification", {
|
|
25
25
|
enumerable: true,
|
|
26
26
|
get: function get() {
|
|
27
|
-
return _certification
|
|
27
|
+
return _certification["default"];
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "containerColor", {
|
|
31
31
|
enumerable: true,
|
|
32
32
|
get: function get() {
|
|
33
|
-
return _containerColor
|
|
33
|
+
return _containerColor["default"];
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "containerType", {
|
|
37
37
|
enumerable: true,
|
|
38
38
|
get: function get() {
|
|
39
|
-
return _containerType
|
|
39
|
+
return _containerType["default"];
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "country", {
|
|
43
43
|
enumerable: true,
|
|
44
44
|
get: function get() {
|
|
45
|
-
return _country
|
|
45
|
+
return _country["default"];
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "designation", {
|
|
49
49
|
enumerable: true,
|
|
50
50
|
get: function get() {
|
|
51
|
-
return _designation
|
|
51
|
+
return _designation["default"];
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "ingredient", {
|
|
55
55
|
enumerable: true,
|
|
56
56
|
get: function get() {
|
|
57
|
-
return _ingredient
|
|
57
|
+
return _ingredient["default"];
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "packagingCertification", {
|
|
61
61
|
enumerable: true,
|
|
62
62
|
get: function get() {
|
|
63
|
-
return _packagingCertification
|
|
63
|
+
return _packagingCertification["default"];
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "packagingMaterialType", {
|
|
67
67
|
enumerable: true,
|
|
68
68
|
get: function get() {
|
|
69
|
-
return _packagingMaterialType
|
|
69
|
+
return _packagingMaterialType["default"];
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "productType", {
|
|
73
73
|
enumerable: true,
|
|
74
74
|
get: function get() {
|
|
75
|
-
return _productType
|
|
75
|
+
return _productType["default"];
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "productionMethod", {
|
|
79
79
|
enumerable: true,
|
|
80
80
|
get: function get() {
|
|
81
|
-
return _productionMethod
|
|
81
|
+
return _productionMethod["default"];
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "region", {
|
|
85
85
|
enumerable: true,
|
|
86
86
|
get: function get() {
|
|
87
|
-
return _region
|
|
87
|
+
return _region["default"];
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "responsibleConsumptionLogo", {
|
|
91
91
|
enumerable: true,
|
|
92
92
|
get: function get() {
|
|
93
|
-
return _responsibleConsumptionLogo
|
|
93
|
+
return _responsibleConsumptionLogo["default"];
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "subregion", {
|
|
97
97
|
enumerable: true,
|
|
98
98
|
get: function get() {
|
|
99
|
-
return _subregion
|
|
99
|
+
return _subregion["default"];
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "varietyName", {
|
|
103
103
|
enumerable: true,
|
|
104
104
|
get: function get() {
|
|
105
|
-
return _varietyName
|
|
105
|
+
return _varietyName["default"];
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "wineColor", {
|
|
109
109
|
enumerable: true,
|
|
110
110
|
get: function get() {
|
|
111
|
-
return _wineColor
|
|
111
|
+
return _wineColor["default"];
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "wineType", {
|
|
115
115
|
enumerable: true,
|
|
116
116
|
get: function get() {
|
|
117
|
-
return _wineType
|
|
117
|
+
return _wineType["default"];
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
120
|
|
|
@@ -156,4 +156,4 @@ var _wineColor = _interopRequireDefault(require("./validValues/wineColor/wineCol
|
|
|
156
156
|
|
|
157
157
|
var _wineType = _interopRequireDefault(require("./validValues/wineType/wineType"));
|
|
158
158
|
|
|
159
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
159
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|