@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.
Files changed (199) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/index.js +2 -2
  3. package/dist/main.js +3 -3
  4. package/dist/validValues/award/award.d.ts +2 -0
  5. package/dist/validValues/award/award.d.ts.map +1 -1
  6. package/dist/validValues/award/award.js +40 -30
  7. package/dist/validValues/awardMedal/awardMedal.js +2 -2
  8. package/dist/validValues/beerStyle/beerStyle.js +3 -3
  9. package/dist/validValues/certification/certification.js +2 -2
  10. package/dist/validValues/containerColor/containerColor.js +2 -2
  11. package/dist/validValues/containerType/containerType.js +2 -2
  12. package/dist/validValues/country/country.js +4 -4
  13. package/dist/validValues/designation/designation.js +2 -2
  14. package/dist/validValues/ingredient/ingredient.js +36 -36
  15. package/dist/validValues/packagingCertification/packagingCertification.js +2 -2
  16. package/dist/validValues/packagingMaterialType/packagingMaterialType.js +2 -2
  17. package/dist/validValues/productType/productType.js +2 -2
  18. package/dist/validValues/productionMethod/productionMethod.js +2 -2
  19. package/dist/validValues/region/region.js +4 -4
  20. package/dist/validValues/responsibleConsumptionLogo/responsibleConsumptionLogo.js +2 -2
  21. package/dist/validValues/subregion/subregion.js +4 -4
  22. package/dist/validValues/types/award_p85_100.js +2 -2
  23. package/dist/validValues/types/productTypesSpirit.js +2 -2
  24. package/dist/validValues/types/productTypesWine.js +2 -2
  25. package/dist/validValues/utils/loadLocalizedData.js +1 -1
  26. package/dist/validValues/varietyName/varietyName.js +2 -2
  27. package/dist/validValues/wineColor/wineColor.js +2 -2
  28. package/dist/validValues/wineType/wineType.js +2 -2
  29. package/dist/validValues.js +20 -20
  30. package/package.json +2 -2
  31. package/src/validValues/award/award.ts +10 -0
  32. package/src/validValues/json/awards.js +12 -0
  33. package/dist/locales/locales.d.ts +0 -80
  34. package/dist/locales/locales.d.ts.map +0 -1
  35. package/dist/locales/locales.js +0 -159
  36. package/dist/locales/po/bg.d.js +0 -5
  37. package/dist/locales/po/bg.d.ts +0 -2526
  38. package/dist/locales/po/bg.d.ts.map +0 -1
  39. package/dist/locales/po/bg.js +0 -2534
  40. package/dist/locales/po/cs.d.js +0 -5
  41. package/dist/locales/po/cs.d.ts +0 -2526
  42. package/dist/locales/po/cs.d.ts.map +0 -1
  43. package/dist/locales/po/cs.js +0 -2534
  44. package/dist/locales/po/da.d.js +0 -5
  45. package/dist/locales/po/da.d.ts +0 -2526
  46. package/dist/locales/po/da.d.ts.map +0 -1
  47. package/dist/locales/po/da.js +0 -2534
  48. package/dist/locales/po/de.d.js +0 -5
  49. package/dist/locales/po/de.d.ts +0 -2526
  50. package/dist/locales/po/de.d.ts.map +0 -1
  51. package/dist/locales/po/de.js +0 -2534
  52. package/dist/locales/po/ee.d.js +0 -5
  53. package/dist/locales/po/ee.d.ts +0 -2526
  54. package/dist/locales/po/ee.d.ts.map +0 -1
  55. package/dist/locales/po/ee.js +0 -2534
  56. package/dist/locales/po/el.d.js +0 -5
  57. package/dist/locales/po/el.d.ts +0 -2526
  58. package/dist/locales/po/el.d.ts.map +0 -1
  59. package/dist/locales/po/el.js +0 -2534
  60. package/dist/locales/po/en.d.js +0 -5
  61. package/dist/locales/po/en.d.ts +0 -2526
  62. package/dist/locales/po/en.d.ts.map +0 -1
  63. package/dist/locales/po/en.js +0 -2534
  64. package/dist/locales/po/es.d.js +0 -5
  65. package/dist/locales/po/es.d.ts +0 -2526
  66. package/dist/locales/po/es.d.ts.map +0 -1
  67. package/dist/locales/po/es.js +0 -2534
  68. package/dist/locales/po/fi.d.js +0 -5
  69. package/dist/locales/po/fi.d.ts +0 -2526
  70. package/dist/locales/po/fi.d.ts.map +0 -1
  71. package/dist/locales/po/fi.js +0 -2534
  72. package/dist/locales/po/fr.d.js +0 -5
  73. package/dist/locales/po/fr.d.ts +0 -2526
  74. package/dist/locales/po/fr.d.ts.map +0 -1
  75. package/dist/locales/po/fr.js +0 -2534
  76. package/dist/locales/po/ga.d.js +0 -5
  77. package/dist/locales/po/ga.d.ts +0 -2526
  78. package/dist/locales/po/ga.d.ts.map +0 -1
  79. package/dist/locales/po/ga.js +0 -2534
  80. package/dist/locales/po/hr.d.js +0 -5
  81. package/dist/locales/po/hr.d.ts +0 -2526
  82. package/dist/locales/po/hr.d.ts.map +0 -1
  83. package/dist/locales/po/hr.js +0 -2534
  84. package/dist/locales/po/hu.d.js +0 -5
  85. package/dist/locales/po/hu.d.ts +0 -2526
  86. package/dist/locales/po/hu.d.ts.map +0 -1
  87. package/dist/locales/po/hu.js +0 -2534
  88. package/dist/locales/po/it.d.js +0 -5
  89. package/dist/locales/po/it.d.ts +0 -2526
  90. package/dist/locales/po/it.d.ts.map +0 -1
  91. package/dist/locales/po/it.js +0 -2534
  92. package/dist/locales/po/lt.d.js +0 -5
  93. package/dist/locales/po/lt.d.ts +0 -2526
  94. package/dist/locales/po/lt.d.ts.map +0 -1
  95. package/dist/locales/po/lt.js +0 -2534
  96. package/dist/locales/po/lv.d.js +0 -5
  97. package/dist/locales/po/lv.d.ts +0 -2526
  98. package/dist/locales/po/lv.d.ts.map +0 -1
  99. package/dist/locales/po/lv.js +0 -2534
  100. package/dist/locales/po/mt.d.js +0 -5
  101. package/dist/locales/po/mt.d.ts +0 -2526
  102. package/dist/locales/po/mt.d.ts.map +0 -1
  103. package/dist/locales/po/mt.js +0 -2534
  104. package/dist/locales/po/nl.d.js +0 -5
  105. package/dist/locales/po/nl.d.ts +0 -2526
  106. package/dist/locales/po/nl.d.ts.map +0 -1
  107. package/dist/locales/po/nl.js +0 -2534
  108. package/dist/locales/po/pl.d.js +0 -5
  109. package/dist/locales/po/pl.d.ts +0 -2526
  110. package/dist/locales/po/pl.d.ts.map +0 -1
  111. package/dist/locales/po/pl.js +0 -2534
  112. package/dist/locales/po/pt.d.js +0 -5
  113. package/dist/locales/po/pt.d.ts +0 -2526
  114. package/dist/locales/po/pt.d.ts.map +0 -1
  115. package/dist/locales/po/pt.js +0 -2534
  116. package/dist/locales/po/ro.d.js +0 -5
  117. package/dist/locales/po/ro.d.ts +0 -2526
  118. package/dist/locales/po/ro.d.ts.map +0 -1
  119. package/dist/locales/po/ro.js +0 -2534
  120. package/dist/locales/po/se.d.js +0 -5
  121. package/dist/locales/po/se.d.ts +0 -2526
  122. package/dist/locales/po/se.d.ts.map +0 -1
  123. package/dist/locales/po/se.js +0 -2534
  124. package/dist/locales/po/si.d.js +0 -5
  125. package/dist/locales/po/si.d.ts +0 -2526
  126. package/dist/locales/po/si.d.ts.map +0 -1
  127. package/dist/locales/po/si.js +0 -2534
  128. package/dist/locales/po/sk.d.js +0 -5
  129. package/dist/locales/po/sk.d.ts +0 -2526
  130. package/dist/locales/po/sk.d.ts.map +0 -1
  131. package/dist/locales/po/sk.js +0 -2534
  132. package/dist/validValues/award.d.ts +0 -218
  133. package/dist/validValues/award.d.ts.map +0 -1
  134. package/dist/validValues/award.js +0 -1065
  135. package/dist/validValues/awardMedal.d.ts +0 -236
  136. package/dist/validValues/awardMedal.d.ts.map +0 -1
  137. package/dist/validValues/awardMedal.js +0 -2070
  138. package/dist/validValues/beerStyle.d.ts +0 -101
  139. package/dist/validValues/beerStyle.d.ts.map +0 -1
  140. package/dist/validValues/beerStyle.js +0 -855
  141. package/dist/validValues/certification.d.ts +0 -35
  142. package/dist/validValues/certification.d.ts.map +0 -1
  143. package/dist/validValues/certification.js +0 -286
  144. package/dist/validValues/containerColor.d.ts +0 -16
  145. package/dist/validValues/containerColor.d.ts.map +0 -1
  146. package/dist/validValues/containerColor.js +0 -90
  147. package/dist/validValues/containerType.d.ts +0 -13
  148. package/dist/validValues/containerType.d.ts.map +0 -1
  149. package/dist/validValues/containerType.js +0 -63
  150. package/dist/validValues/country.d.ts +0 -157
  151. package/dist/validValues/country.d.ts.map +0 -1
  152. package/dist/validValues/country.js +0 -1488
  153. package/dist/validValues/designation.d.ts +0 -60
  154. package/dist/validValues/designation.d.ts.map +0 -1
  155. package/dist/validValues/designation.js +0 -169
  156. package/dist/validValues/ingredient.d.ts +0 -71
  157. package/dist/validValues/ingredient.d.ts.map +0 -1
  158. package/dist/validValues/ingredient.js +0 -737
  159. package/dist/validValues/json/appelation.d.ts +0 -2
  160. package/dist/validValues/json/appelation.d.ts.map +0 -1
  161. package/dist/validValues/packagingCertification.d.ts +0 -12
  162. package/dist/validValues/packagingCertification.d.ts.map +0 -1
  163. package/dist/validValues/packagingCertification.js +0 -56
  164. package/dist/validValues/packagingMaterialType.d.ts +0 -59
  165. package/dist/validValues/packagingMaterialType.d.ts.map +0 -1
  166. package/dist/validValues/packagingMaterialType.js +0 -706
  167. package/dist/validValues/productType.d.ts +0 -47
  168. package/dist/validValues/productType.d.ts.map +0 -1
  169. package/dist/validValues/productType.js +0 -369
  170. package/dist/validValues/productionMethod.d.ts +0 -20
  171. package/dist/validValues/productionMethod.d.ts.map +0 -1
  172. package/dist/validValues/productionMethod.js +0 -126
  173. package/dist/validValues/region.d.ts +0 -489
  174. package/dist/validValues/region.d.ts.map +0 -1
  175. package/dist/validValues/region.js +0 -4814
  176. package/dist/validValues/responsibleConsumptionLogo.d.ts +0 -12
  177. package/dist/validValues/responsibleConsumptionLogo.d.ts.map +0 -1
  178. package/dist/validValues/responsibleConsumptionLogo.js +0 -66
  179. package/dist/validValues/subregion.d.ts +0 -1395
  180. package/dist/validValues/subregion.d.ts.map +0 -1
  181. package/dist/validValues/subregion.js +0 -12508
  182. package/dist/validValues/types/Award.d.ts +0 -35
  183. package/dist/validValues/types/Award.d.ts.map +0 -1
  184. package/dist/validValues/types/Award.js +0 -5
  185. package/dist/validValues/types/Country.d.ts +0 -35
  186. package/dist/validValues/types/Country.d.ts.map +0 -1
  187. package/dist/validValues/types/Country.js +0 -5
  188. package/dist/validValues/utils/createValidValues.d.ts +0 -28
  189. package/dist/validValues/utils/createValidValues.d.ts.map +0 -1
  190. package/dist/validValues/utils/createValidValues.js +0 -98
  191. package/dist/validValues/varietyName.d.ts +0 -1966
  192. package/dist/validValues/varietyName.d.ts.map +0 -1
  193. package/dist/validValues/varietyName.js +0 -7848
  194. package/dist/validValues/wineColor.d.ts +0 -12
  195. package/dist/validValues/wineColor.d.ts.map +0 -1
  196. package/dist/validValues/wineColor.js +0 -54
  197. package/dist/validValues/wineType.d.ts +0 -12
  198. package/dist/validValues/wineType.d.ts.map +0 -1
  199. package/dist/validValues/wineType.js +0 -54
@@ -1,737 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.byProductType = void 0;
7
-
8
- var _core = require("@lingui/core");
9
-
10
- var _productTypesWine = _interopRequireDefault(require("./types/productTypesWine.js"));
11
-
12
- var _productTypesSpirit = _interopRequireDefault(require("./types/productTypesSpirit.js"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- /** Makes sure errors are displayed where the error is introduced. */
17
- var ingredient = function ingredient(value) {
18
- return value;
19
- };
20
-
21
- var allIngredients = {
22
- aleppoPineResin: ingredient({
23
- key: 'aleppoPineResin',
24
- label:
25
- /*i18n*/
26
- {
27
- id: 'validValues.ingredient.aleppoPineResin',
28
- message: 'Aleppo pine resin'
29
- },
30
- metadata: {
31
- tags: ['OTHER_INGREDIENT'],
32
- productType: _productTypesWine.default
33
- }
34
- }),
35
- ammoniaCaramel: ingredient({
36
- key: 'ammoniaCaramel',
37
- label:
38
- /*i18n*/
39
- {
40
- id: 'validValues.ingredient.ammoniaCaramel',
41
- message: 'ammonia caramel'
42
- },
43
- metadata: {
44
- tags: ['COLOUR'],
45
- productType: ['wine_aromatized']
46
- }
47
- }),
48
- ammoniumBisulphite: ingredient({
49
- key: 'ammoniumBisulphite',
50
- label:
51
- /*i18n*/
52
- {
53
- id: 'validValues.ingredient.ammoniumBisulphite',
54
- message: 'Ammonium bisulphite'
55
- },
56
- metadata: {
57
- tags: ['PROCESSING_AID', 'ALLERGEN'],
58
- productType: _productTypesWine.default
59
- }
60
- }),
61
- argon: ingredient({
62
- key: 'argon',
63
- label:
64
- /*i18n*/
65
- {
66
- id: 'validValues.ingredient.argon',
67
- message: 'Argon'
68
- },
69
- metadata: {
70
- tags: ['ANTIOXIDANT'],
71
- productType: _productTypesWine.default
72
- }
73
- }),
74
- ascorbicAcid: ingredient({
75
- key: 'ascorbicAcid',
76
- label:
77
- /*i18n*/
78
- {
79
- id: 'validValues.ingredient.ascorbicAcid',
80
- message: 'Ascorbic acid'
81
- },
82
- metadata: {
83
- tags: ['ANTIOXIDANT'],
84
- productType: _productTypesWine.default
85
- }
86
- }),
87
- burnedSugar: ingredient({
88
- key: 'burnedSugar',
89
- label:
90
- /*i18n*/
91
- {
92
- id: 'validValues.ingredient.burnedSugar',
93
- message: 'burned sugar'
94
- },
95
- metadata: {
96
- tags: ['SWEETENER'],
97
- productType: ['wine_aromatized']
98
- }
99
- }),
100
- calciumSulphate: ingredient({
101
- key: 'calciumSulphate',
102
- label:
103
- /*i18n*/
104
- {
105
- id: 'validValues.ingredient.calciumSulphate',
106
- message: 'Calcium sulphate'
107
- },
108
- metadata: {
109
- tags: ['ACIDITY_REGULATOR', 'ALLERGEN'],
110
- productType: _productTypesWine.default
111
- }
112
- }),
113
- carbonDioxide: ingredient({
114
- key: 'carbonDioxide',
115
- label:
116
- /*i18n*/
117
- {
118
- id: 'validValues.ingredient.carbonDioxide',
119
- message: 'Carbon dioxide'
120
- },
121
- metadata: {
122
- tags: ['ANTIOXIDANT', 'OTHER_INGREDIENT'],
123
- productType: _productTypesWine.default
124
- }
125
- }),
126
- carboxymethylcellulose: ingredient({
127
- key: 'carboxymethylcellulose',
128
- label:
129
- /*i18n*/
130
- {
131
- id: 'validValues.ingredient.carboxymethylcellulose',
132
- message: 'carboxymethylcellulose'
133
- },
134
- metadata: {
135
- tags: ['STABILISER'],
136
- productType: _productTypesWine.default
137
- }
138
- }),
139
- carobSyrup: ingredient({
140
- key: 'carobSyrup',
141
- label:
142
- /*i18n*/
143
- {
144
- id: 'validValues.ingredient.carobSyrup',
145
- message: 'carob syrup'
146
- },
147
- metadata: {
148
- tags: ['SWEETENER'],
149
- productType: ['wine_aromatized']
150
- }
151
- }),
152
- causticSulfiteCaramel: ingredient({
153
- key: 'causticSulfiteCaramel',
154
- label:
155
- /*i18n*/
156
- {
157
- id: 'validValues.ingredient.causticSulfiteCaramel',
158
- message: 'caustic sulfite caramel'
159
- },
160
- metadata: {
161
- tags: ['COLOUR'],
162
- productType: ['wine_aromatized']
163
- }
164
- }),
165
- cerealDistillateAndWater: ingredient({
166
- key: 'cerealDistillateAndWater',
167
- label:
168
- /*i18n*/
169
- {
170
- id: 'validValues.ingredient.cerealDistillateAndWater',
171
- message: 'Cereal distillate and water'
172
- },
173
- metadata: {
174
- tags: ['RAW_MATERIAL'],
175
- productType: _productTypesSpirit.default
176
- }
177
- }),
178
- citricAcid: ingredient({
179
- key: 'citricAcid',
180
- label:
181
- /*i18n*/
182
- {
183
- id: 'validValues.ingredient.citricAcid',
184
- message: 'Citric acid'
185
- },
186
- metadata: {
187
- tags: ['NATURALLY_ADDED_ACID'],
188
- productType: _productTypesWine.default
189
- }
190
- }),
191
- concentratedGrapeMust: ingredient({
192
- key: 'concentratedGrapeMust',
193
- label:
194
- /*i18n*/
195
- {
196
- id: 'validValues.ingredient.concentratedGrapeMust',
197
- message: 'Grape must'
198
- },
199
- metadata: {
200
- tags: ['ENRICHMENT_SUBSTANCE', 'SWEETENER'],
201
- productType: _productTypesWine.default
202
- }
203
- }),
204
- dimethyldicarbonate: ingredient({
205
- key: 'dimethyldicarbonate',
206
- label:
207
- /*i18n*/
208
- {
209
- id: 'validValues.ingredient.dimethyldicarbonate',
210
- message: 'Dimethyldicarbonate'
211
- },
212
- metadata: {
213
- tags: ['PRESERVATIVE'],
214
- productType: _productTypesWine.default
215
- }
216
- }),
217
- distillateOfAgriculturalOrigin: ingredient({
218
- key: 'distillateOfAgriculturalOrigin',
219
- label:
220
- /*i18n*/
221
- {
222
- id: 'validValues.ingredient.distillateOfAgriculturalOrigin',
223
- message: 'distillate of agricultural origin'
224
- },
225
- metadata: {
226
- tags: ['ALCOHOL'],
227
- productType: ['wine_aromatized']
228
- }
229
- }),
230
- driedGrapeAlcohol: ingredient({
231
- key: 'driedGrapeAlcohol',
232
- label:
233
- /*i18n*/
234
- {
235
- id: 'validValues.ingredient.driedGrapeAlcohol',
236
- message: 'dried grape alcohol'
237
- },
238
- metadata: {
239
- tags: ['ALCOHOL'],
240
- productType: ['wine_aromatized']
241
- }
242
- }),
243
- driedGrapeDistillate: ingredient({
244
- key: 'driedGrapeDistillate',
245
- label:
246
- /*i18n*/
247
- {
248
- id: 'validValues.ingredient.driedGrapeDistillate',
249
- message: 'dried grape distillate'
250
- },
251
- metadata: {
252
- tags: ['ALCOHOL'],
253
- productType: ['wine_aromatized']
254
- }
255
- }),
256
- eggAlbumin: ingredient({
257
- key: 'eggAlbumin',
258
- label:
259
- /*i18n*/
260
- {
261
- id: 'validValues.ingredient.eggAlbumin',
262
- message: 'egg albumin'
263
- },
264
- metadata: {
265
- tags: ['PROCESSING_AID', 'ALLERGEN'],
266
- productType: _productTypesWine.default
267
- }
268
- }),
269
- eggLysozyme: ingredient({
270
- key: 'eggLysozyme',
271
- label:
272
- /*i18n*/
273
- {
274
- id: 'validValues.ingredient.eggLysozyme',
275
- message: 'Egg lysozyme'
276
- },
277
- metadata: {
278
- tags: ['PRESERVATIVE'],
279
- productType: _productTypesWine.default
280
- }
281
- }),
282
- ethylAlcoholOfAgriculturalOrigin: ingredient({
283
- key: 'ethylAlcoholOfAgriculturalOrigin',
284
- label:
285
- /*i18n*/
286
- {
287
- id: 'validValues.ingredient.ethylAlcoholOfAgriculturalOrigin',
288
- message: 'ethyl alcohol of agricultural origin'
289
- },
290
- metadata: {
291
- tags: ['ALCOHOL'],
292
- productType: ['wine_aromatized']
293
- }
294
- }),
295
- flavouring: ingredient({
296
- key: 'flavouring',
297
- label:
298
- /*i18n*/
299
- {
300
- id: 'validValues.ingredient.flavouring',
301
- message: 'flavouring'
302
- },
303
- metadata: {
304
- tags: ['FLAVOURING'],
305
- productType: ['wine_aromatized']
306
- }
307
- }),
308
- freshBeerDistillateAndWater: ingredient({
309
- key: 'freshBeerDistillateAndWater',
310
- label:
311
- /*i18n*/
312
- {
313
- id: 'validValues.ingredient.freshBeerDistillateAndWater',
314
- message: 'Fresh beer distillate and Water'
315
- },
316
- metadata: {
317
- tags: ['RAW_MATERIAL'],
318
- productType: ['beer']
319
- }
320
- }),
321
- fumaricAcid: ingredient({
322
- key: 'fumaricAcid',
323
- label:
324
- /*i18n*/
325
- {
326
- id: 'validValues.ingredient.fumaricAcid',
327
- message: 'fumaric acid'
328
- },
329
- metadata: {
330
- tags: ['STABILISER'],
331
- productType: ['wine_stillwine', 'wine_fortified', 'wine_pearlwine', 'wine_sparkling', 'wine_aromatized']
332
- }
333
- }),
334
- grainDistillateAndWater: ingredient({
335
- key: 'grainDistillateAndWater',
336
- label:
337
- /*i18n*/
338
- {
339
- id: 'validValues.ingredient.grainDistillateAndWater',
340
- message: 'Grain distillate and water'
341
- },
342
- metadata: {
343
- tags: ['RAW_MATERIAL'],
344
- productType: _productTypesSpirit.default
345
- }
346
- }),
347
- grape: ingredient({
348
- key: 'grape',
349
- label:
350
- /*i18n*/
351
- {
352
- id: 'validValues.ingredient.grape',
353
- message: 'Grape'
354
- },
355
- metadata: {
356
- tags: ['RAW_MATERIAL'],
357
- productType: _productTypesWine.default
358
- }
359
- }),
360
- grapeMarcSpirit: ingredient({
361
- key: 'grapeMarcSpirit',
362
- label:
363
- /*i18n*/
364
- {
365
- id: 'validValues.ingredient.grapeMarcSpirit',
366
- message: 'grape-marc spirit'
367
- },
368
- metadata: {
369
- tags: ['ALCOHOL'],
370
- productType: ['wine_aromatized']
371
- }
372
- }),
373
- gumArabic: ingredient({
374
- key: 'gumArabic',
375
- label:
376
- /*i18n*/
377
- {
378
- id: 'validValues.ingredient.gumArabic',
379
- message: 'gum arabic'
380
- },
381
- metadata: {
382
- tags: ['STABILISER'],
383
- productType: _productTypesWine.default
384
- }
385
- }),
386
- honey: ingredient({
387
- key: 'honey',
388
- label:
389
- /*i18n*/
390
- {
391
- id: 'validValues.ingredient.honey',
392
- message: 'honey'
393
- },
394
- metadata: {
395
- tags: ['SWEETENER'],
396
- productType: ['wine_aromatized']
397
- }
398
- }),
399
- lacticAcid: ingredient({
400
- key: 'lacticAcid',
401
- label:
402
- /*i18n*/
403
- {
404
- id: 'validValues.ingredient.lacticAcid',
405
- message: 'Lactic acid'
406
- },
407
- metadata: {
408
- tags: ['ACIDITY_REGULATOR'],
409
- productType: _productTypesWine.default
410
- }
411
- }),
412
- malicAcid: ingredient({
413
- key: 'malicAcid',
414
- label:
415
- /*i18n*/
416
- {
417
- id: 'validValues.ingredient.malicAcid',
418
- message: 'Malic acid'
419
- },
420
- metadata: {
421
- tags: ['ACIDITY_REGULATOR'],
422
- productType: _productTypesWine.default
423
- }
424
- }),
425
- maltDistillateAndWater: ingredient({
426
- key: 'maltDistillateAndWater',
427
- label:
428
- /*i18n*/
429
- {
430
- id: 'validValues.ingredient.maltDistillateAndWater',
431
- message: 'Malt distillate and water'
432
- },
433
- metadata: {
434
- tags: ['RAW_MATERIAL'],
435
- productType: _productTypesSpirit.default
436
- }
437
- }),
438
- metatartaricAcid: ingredient({
439
- key: 'metatartaricAcid',
440
- label:
441
- /*i18n*/
442
- {
443
- id: 'validValues.ingredient.metatartaricAcid',
444
- message: 'metatartaric acid'
445
- },
446
- metadata: {
447
- tags: ['STABILISER'],
448
- productType: _productTypesWine.default
449
- }
450
- }),
451
- milkCasein: ingredient({
452
- key: 'milkCasein',
453
- label:
454
- /*i18n*/
455
- {
456
- id: 'validValues.ingredient.milkCasein',
457
- message: 'Milk casein'
458
- },
459
- metadata: {
460
- tags: ['PROCESSING_AID', 'ALLERGEN'],
461
- productType: _productTypesWine.default
462
- }
463
- }),
464
- nitrogen: ingredient({
465
- key: 'nitrogen',
466
- label:
467
- /*i18n*/
468
- {
469
- id: 'validValues.ingredient.nitrogen',
470
- message: 'Nitrogen'
471
- },
472
- metadata: {
473
- tags: ['ANTIOXIDANT'],
474
- productType: _productTypesWine.default
475
- }
476
- }),
477
- plainCaramel: ingredient({
478
- key: 'plainCaramel',
479
- label:
480
- /*i18n*/
481
- {
482
- id: 'validValues.ingredient.plainCaramel',
483
- message: 'plain caramel'
484
- },
485
- metadata: {
486
- tags: ['COLOUR'],
487
- productType: ['wine_aromatized']
488
- }
489
- }),
490
- potassiumHydrogenSulphite: ingredient({
491
- key: 'potassiumHydrogenSulphite',
492
- label:
493
- /*i18n*/
494
- {
495
- id: 'validValues.ingredient.potassiumHydrogenSulphite',
496
- message: 'Potassium hydrogen sulphite'
497
- },
498
- metadata: {
499
- tags: ['PRESERVATIVE', 'ALLERGEN'],
500
- productType: _productTypesWine.default
501
- }
502
- }),
503
- potassiumMetabisulphite: ingredient({
504
- key: 'potassiumMetabisulphite',
505
- label:
506
- /*i18n*/
507
- {
508
- id: 'validValues.ingredient.potassiumMetabisulphite',
509
- message: 'Potassium metabisulphite'
510
- },
511
- metadata: {
512
- tags: ['PRESERVATIVE', 'ALLERGEN'],
513
- productType: _productTypesWine.default
514
- }
515
- }),
516
- potassiumPolyaspartate: ingredient({
517
- key: 'potassiumPolyaspartate',
518
- label:
519
- /*i18n*/
520
- {
521
- id: 'validValues.ingredient.potassiumPolyaspartate',
522
- message: 'potassium polyaspartate'
523
- },
524
- metadata: {
525
- tags: ['STABILISER'],
526
- productType: _productTypesWine.default
527
- }
528
- }),
529
- potassiumSorbate: ingredient({
530
- key: 'potassiumSorbate',
531
- label:
532
- /*i18n*/
533
- {
534
- id: 'validValues.ingredient.potassiumSorbate',
535
- message: 'Potassium sorbate'
536
- },
537
- metadata: {
538
- tags: ['PRESERVATIVE'],
539
- productType: _productTypesWine.default
540
- }
541
- }),
542
- ryeDistillateAndWater: ingredient({
543
- key: 'ryeDistillateAndWater',
544
- label:
545
- /*i18n*/
546
- {
547
- id: 'validValues.ingredient.ryeDistillateAndWater',
548
- message: 'Rye distillate and water'
549
- },
550
- metadata: {
551
- tags: ['RAW_MATERIAL'],
552
- productType: _productTypesSpirit.default
553
- }
554
- }),
555
- sucrose: ingredient({
556
- key: 'sucrose',
557
- label:
558
- /*i18n*/
559
- {
560
- id: 'validValues.ingredient.sucrose',
561
- message: 'Sucrose'
562
- },
563
- metadata: {
564
- tags: ['ENRICHMENT_SUBSTANCE'],
565
- productType: _productTypesWine.default
566
- }
567
- }),
568
- sugar: ingredient({
569
- key: 'sugar',
570
- label:
571
- /*i18n*/
572
- {
573
- id: 'validValues.ingredient.sugar',
574
- message: 'sugar'
575
- },
576
- metadata: {
577
- tags: ['SWEETENER'],
578
- productType: ['wine_aromatized']
579
- }
580
- }),
581
- sulfiteAmmoniaCaramel: ingredient({
582
- key: 'sulfiteAmmoniaCaramel',
583
- label:
584
- /*i18n*/
585
- {
586
- id: 'validValues.ingredient.sulfiteAmmoniaCaramel',
587
- message: 'sulfite ammonia caramel'
588
- },
589
- metadata: {
590
- tags: ['COLOUR'],
591
- productType: ['wine_aromatized']
592
- }
593
- }),
594
- sulfites: ingredient({
595
- key: 'sulfites',
596
- label:
597
- /*i18n*/
598
- {
599
- id: 'validValues.ingredient.sulfites',
600
- message: 'sulphites'
601
- },
602
- metadata: {
603
- tags: ['PRESERVATIVE', 'ALLERGEN'],
604
- productType: _productTypesWine.default
605
- }
606
- }),
607
- sulphurDioxide: ingredient({
608
- key: 'sulphurDioxide',
609
- label:
610
- /*i18n*/
611
- {
612
- id: 'validValues.ingredient.sulphurDioxide',
613
- message: 'Sulphur dioxide'
614
- },
615
- metadata: {
616
- tags: ['PRESERVATIVE', 'ALLERGEN'],
617
- productType: _productTypesWine.default
618
- }
619
- }),
620
- tartaricAcid: ingredient({
621
- key: 'tartaricAcid',
622
- label:
623
- /*i18n*/
624
- {
625
- id: 'validValues.ingredient.tartaricAcid',
626
- message: 'Tartaric acid'
627
- },
628
- metadata: {
629
- tags: ['ACIDITY_REGULATOR'],
630
- productType: _productTypesWine.default
631
- }
632
- }),
633
- water: ingredient({
634
- key: 'water',
635
- label:
636
- /*i18n*/
637
- {
638
- id: 'validValues.ingredient.water',
639
- message: 'water'
640
- },
641
- metadata: {
642
- tags: ['OTHER_INGREDIENT'],
643
- productType: ['wine_aromatized']
644
- }
645
- }),
646
- wheatProtein: ingredient({
647
- key: 'wheatProtein',
648
- label:
649
- /*i18n*/
650
- {
651
- id: 'validValues.ingredient.wheatProtein',
652
- message: 'Wheat protein'
653
- },
654
- metadata: {
655
- tags: ['PROCESSING_AID'],
656
- productType: _productTypesWine.default
657
- }
658
- }),
659
- wine: ingredient({
660
- key: 'wine',
661
- label:
662
- /*i18n*/
663
- {
664
- id: 'validValues.ingredient.wine',
665
- message: 'wine'
666
- },
667
- metadata: {
668
- tags: ['RAW_MATERIAL'],
669
- productType: ['wine_aromatized']
670
- }
671
- }),
672
- wineAlcohol: ingredient({
673
- key: 'wineAlcohol',
674
- label:
675
- /*i18n*/
676
- {
677
- id: 'validValues.ingredient.wineAlcohol',
678
- message: 'wine alcohol'
679
- },
680
- metadata: {
681
- tags: ['ALCOHOL'],
682
- productType: ['wine_aromatized']
683
- }
684
- }),
685
- wineDistillate: ingredient({
686
- key: 'wineDistillate',
687
- label:
688
- /*i18n*/
689
- {
690
- id: 'validValues.ingredient.wineDistillate',
691
- message: 'wine distillate'
692
- },
693
- metadata: {
694
- tags: ['ALCOHOL'],
695
- productType: ['wine_aromatized']
696
- }
697
- }),
698
- wineSpirit: ingredient({
699
- key: 'wineSpirit',
700
- label:
701
- /*i18n*/
702
- {
703
- id: 'validValues.ingredient.wineSpirit',
704
- message: 'wine spirit'
705
- },
706
- metadata: {
707
- tags: ['ALCOHOL'],
708
- productType: ['wine_aromatized']
709
- }
710
- }),
711
- yeastMannoproteins: ingredient({
712
- key: 'yeastMannoproteins',
713
- label:
714
- /*i18n*/
715
- {
716
- id: 'validValues.ingredient.yeastMannoproteins',
717
- message: 'Yeast mannoproteins'
718
- },
719
- metadata: {
720
- tags: ['STABILISER'],
721
- productType: _productTypesWine.default
722
- }
723
- })
724
- };
725
- var byProductType = Object.values(allIngredients).reduce(function (acc, ingredient) {
726
- var productTypes = ingredient.metadata.productType;
727
- productTypes.forEach(function (productType) {
728
- //@ts-ignore
729
- if (!acc[productType]) acc[productType] = []; //@ts-ignore
730
-
731
- acc[productType].push(ingredient);
732
- });
733
- return acc;
734
- }, {});
735
- exports.byProductType = byProductType;
736
- var _default = allIngredients;
737
- exports.default = _default;