@bottlebooks/valid-values 1.1.0 → 1.2.1
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 +12 -0
- package/dist/core/translate.d.ts +3 -0
- package/dist/core/translate.d.ts.map +1 -0
- package/dist/core/translate.js +42 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -10
- package/dist/main.js +23 -17
- package/dist/validValues/award.d.ts +6 -2
- package/dist/validValues/award.d.ts.map +1 -1
- package/dist/validValues/award.js +29 -236
- package/dist/validValues/awardMedal.d.ts +1 -1
- package/dist/validValues/beerStyle.d.ts +1 -1
- package/dist/validValues/certification.d.ts +1 -1
- package/dist/validValues/country.d.ts +7 -2
- package/dist/validValues/country.d.ts.map +1 -1
- package/dist/validValues/country.js +2 -149
- package/dist/validValues/designation.d.ts +0 -115
- package/dist/validValues/designation.d.ts.map +1 -1
- package/dist/validValues/ingredient.d.ts +1 -1
- package/dist/validValues/ingredient.d.ts.map +1 -1
- package/dist/validValues/ingredient.js +37 -33
- package/dist/validValues/packagingCertification.d.ts +1 -1
- package/dist/validValues/productType.d.ts +6 -2
- package/dist/validValues/productType.d.ts.map +1 -1
- package/dist/validValues/productType.js +39 -78
- package/dist/validValues/productionMethod.d.ts +1 -1
- package/dist/validValues/region.d.ts +14 -17
- package/dist/validValues/region.d.ts.map +1 -1
- package/dist/validValues/region.js +4804 -5250
- package/dist/validValues/responsibleConsumptionLogo.d.ts +1 -1
- package/dist/validValues/subregion.d.ts +10 -17
- package/dist/validValues/subregion.d.ts.map +1 -1
- package/dist/validValues/subregion.js +11115 -13852
- package/dist/validValues/types/ProductType.d.ts.map +1 -1
- package/dist/validValues/types/ValidValueDefinition.d.ts +1 -1
- package/dist/validValues/types/ValidValueDefinition.d.ts.map +1 -1
- package/dist/validValues/types/award_p85_100.d.ts +3 -0
- package/dist/validValues/types/award_p85_100.d.ts.map +1 -0
- package/dist/validValues/types/award_p85_100.js +9 -0
- package/dist/validValues/types/productTypesSpirit.d.ts +4 -0
- package/dist/validValues/types/productTypesSpirit.d.ts.map +1 -0
- package/dist/validValues/types/productTypesSpirit.js +9 -0
- package/dist/validValues/types/productTypesWine.d.ts +4 -0
- package/dist/validValues/types/productTypesWine.d.ts.map +1 -0
- package/dist/validValues/types/productTypesWine.js +9 -0
- package/dist/validValues/utils/createValidValues.d.ts +1 -1
- package/dist/validValues/utils/createValidValues.d.ts.map +1 -1
- package/dist/validValues/utils/createValidValues.js +50 -53
- package/dist/validValues/varietyName.d.ts +1 -1
- package/dist/validValues/wineColor.d.ts +1 -1
- package/dist/validValues/wineType.d.ts +1 -1
- package/package.json +2 -2
- package/region.ts +0 -0
- package/src/core/translate.ts +40 -0
- package/src/index.ts +1 -6
- package/src/locales/po/bg.po +2110 -2110
- package/src/locales/po/de.po +2110 -2110
- package/src/locales/po/ee.po +2110 -2110
- package/src/locales/po/en.po +2110 -2110
- package/src/locales/po/es.po +2110 -2110
- package/src/locales/po/fi.po +2110 -2110
- package/src/locales/po/fr.po +2110 -2110
- package/src/locales/po/hr.po +2110 -2110
- package/src/locales/po/hu.po +2110 -2110
- package/src/locales/po/it.po +2110 -2110
- package/src/locales/po/lt.po +2110 -2110
- package/src/locales/po/lv.po +2110 -2110
- package/src/locales/po/mt.po +2110 -2110
- package/src/locales/po/nl.po +2110 -2110
- package/src/locales/po/pl.po +2110 -2110
- package/src/locales/po/pt.po +2110 -2110
- package/src/locales/po/ro.po +2110 -2110
- package/src/locales/po/se.po +2110 -2110
- package/src/locales/po/si.po +2110 -2110
- package/src/locales/po/sk.po +2110 -2110
- package/src/main.ts +39 -29
- package/src/validValues/award.ts +242 -709
- package/src/validValues/country.ts +7 -148
- package/src/validValues/designation.ts +0 -5
- package/src/validValues/ingredient.ts +35 -343
- package/src/validValues/productType.ts +7 -40
- package/src/validValues/region.ts +514 -479
- package/src/validValues/subregion.ts +1429 -2775
- package/src/validValues/types/ProductType.ts +0 -1
- package/src/validValues/types/ValidValueDefinition.ts +1 -1
- package/src/validValues/types/award_p85_100.ts +19 -0
- package/src/validValues/types/productTypesSpirit.ts +38 -0
- package/src/validValues/types/productTypesWine.ts +10 -0
- package/src/validValues/utils/createValidValues.ts +52 -50
- package/dist/validValues/types/Country.js +0 -5
- package/src/validValues/types/Award.ts +0 -39
- package/src/validValues/types/Country.ts +0 -39
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type { MessageDescriptor } from '@lingui/core';
|
|
2
2
|
import type { ProductType as ProductTypeKey } from './types/ProductTypeKey.js';
|
|
3
3
|
interface ValidValueDefinition {
|
|
4
|
-
/**
|
|
5
|
-
* The translatable title of the valid value.
|
|
6
|
-
*
|
|
7
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
8
|
-
*/
|
|
9
4
|
title: MessageDescriptor;
|
|
10
5
|
/**
|
|
11
6
|
* Fields that will never be stored in the database,
|
|
@@ -34,11 +29,6 @@ interface DesignationInput extends ValidValueDefinition {
|
|
|
34
29
|
}
|
|
35
30
|
declare const allDesignations: readonly [{
|
|
36
31
|
key: "brut";
|
|
37
|
-
/**
|
|
38
|
-
* The translatable title of the valid value.
|
|
39
|
-
*
|
|
40
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
41
|
-
*/
|
|
42
32
|
title: MessageDescriptor;
|
|
43
33
|
/**
|
|
44
34
|
* Fields that will never be stored in the database,
|
|
@@ -64,11 +54,6 @@ declare const allDesignations: readonly [{
|
|
|
64
54
|
frontend?: {} | undefined;
|
|
65
55
|
}, {
|
|
66
56
|
key: "brut_nature";
|
|
67
|
-
/**
|
|
68
|
-
* The translatable title of the valid value.
|
|
69
|
-
*
|
|
70
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
71
|
-
*/
|
|
72
57
|
title: MessageDescriptor;
|
|
73
58
|
/**
|
|
74
59
|
* Fields that will never be stored in the database,
|
|
@@ -94,11 +79,6 @@ declare const allDesignations: readonly [{
|
|
|
94
79
|
frontend?: {} | undefined;
|
|
95
80
|
}, {
|
|
96
81
|
key: "demi-sec";
|
|
97
|
-
/**
|
|
98
|
-
* The translatable title of the valid value.
|
|
99
|
-
*
|
|
100
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
101
|
-
*/
|
|
102
82
|
title: MessageDescriptor;
|
|
103
83
|
/**
|
|
104
84
|
* Fields that will never be stored in the database,
|
|
@@ -124,11 +104,6 @@ declare const allDesignations: readonly [{
|
|
|
124
104
|
frontend?: {} | undefined;
|
|
125
105
|
}, {
|
|
126
106
|
key: "dry";
|
|
127
|
-
/**
|
|
128
|
-
* The translatable title of the valid value.
|
|
129
|
-
*
|
|
130
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
131
|
-
*/
|
|
132
107
|
title: MessageDescriptor;
|
|
133
108
|
/**
|
|
134
109
|
* Fields that will never be stored in the database,
|
|
@@ -154,11 +129,6 @@ declare const allDesignations: readonly [{
|
|
|
154
129
|
frontend?: {} | undefined;
|
|
155
130
|
}, {
|
|
156
131
|
key: "extra_brut";
|
|
157
|
-
/**
|
|
158
|
-
* The translatable title of the valid value.
|
|
159
|
-
*
|
|
160
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
161
|
-
*/
|
|
162
132
|
title: MessageDescriptor;
|
|
163
133
|
/**
|
|
164
134
|
* Fields that will never be stored in the database,
|
|
@@ -184,11 +154,6 @@ declare const allDesignations: readonly [{
|
|
|
184
154
|
frontend?: {} | undefined;
|
|
185
155
|
}, {
|
|
186
156
|
key: "extra_dry";
|
|
187
|
-
/**
|
|
188
|
-
* The translatable title of the valid value.
|
|
189
|
-
*
|
|
190
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
191
|
-
*/
|
|
192
157
|
title: MessageDescriptor;
|
|
193
158
|
/**
|
|
194
159
|
* Fields that will never be stored in the database,
|
|
@@ -214,11 +179,6 @@ declare const allDesignations: readonly [{
|
|
|
214
179
|
frontend?: {} | undefined;
|
|
215
180
|
}, {
|
|
216
181
|
key: "feinherb";
|
|
217
|
-
/**
|
|
218
|
-
* The translatable title of the valid value.
|
|
219
|
-
*
|
|
220
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
221
|
-
*/
|
|
222
182
|
title: MessageDescriptor;
|
|
223
183
|
/**
|
|
224
184
|
* Fields that will never be stored in the database,
|
|
@@ -244,11 +204,6 @@ declare const allDesignations: readonly [{
|
|
|
244
204
|
frontend?: {} | undefined;
|
|
245
205
|
}, {
|
|
246
206
|
key: "lieblich";
|
|
247
|
-
/**
|
|
248
|
-
* The translatable title of the valid value.
|
|
249
|
-
*
|
|
250
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
251
|
-
*/
|
|
252
207
|
title: MessageDescriptor;
|
|
253
208
|
/**
|
|
254
209
|
* Fields that will never be stored in the database,
|
|
@@ -274,11 +229,6 @@ declare const allDesignations: readonly [{
|
|
|
274
229
|
frontend?: {} | undefined;
|
|
275
230
|
}, {
|
|
276
231
|
key: "semi";
|
|
277
|
-
/**
|
|
278
|
-
* The translatable title of the valid value.
|
|
279
|
-
*
|
|
280
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
281
|
-
*/
|
|
282
232
|
title: MessageDescriptor;
|
|
283
233
|
/**
|
|
284
234
|
* Fields that will never be stored in the database,
|
|
@@ -304,11 +254,6 @@ declare const allDesignations: readonly [{
|
|
|
304
254
|
frontend?: {} | undefined;
|
|
305
255
|
}, {
|
|
306
256
|
key: "sweet";
|
|
307
|
-
/**
|
|
308
|
-
* The translatable title of the valid value.
|
|
309
|
-
*
|
|
310
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
311
|
-
*/
|
|
312
257
|
title: MessageDescriptor;
|
|
313
258
|
/**
|
|
314
259
|
* Fields that will never be stored in the database,
|
|
@@ -334,11 +279,6 @@ declare const allDesignations: readonly [{
|
|
|
334
279
|
frontend?: {} | undefined;
|
|
335
280
|
}, {
|
|
336
281
|
key: "semi_sweet";
|
|
337
|
-
/**
|
|
338
|
-
* The translatable title of the valid value.
|
|
339
|
-
*
|
|
340
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
341
|
-
*/
|
|
342
282
|
title: MessageDescriptor;
|
|
343
283
|
/**
|
|
344
284
|
* Fields that will never be stored in the database,
|
|
@@ -413,11 +353,6 @@ declare const _default: {
|
|
|
413
353
|
listByProductType: Record<ProductTypeKey, DesignationOutput[]>;
|
|
414
354
|
list: readonly [{
|
|
415
355
|
key: "brut";
|
|
416
|
-
/**
|
|
417
|
-
* The translatable title of the valid value.
|
|
418
|
-
*
|
|
419
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
420
|
-
*/
|
|
421
356
|
title: MessageDescriptor;
|
|
422
357
|
/**
|
|
423
358
|
* Fields that will never be stored in the database,
|
|
@@ -443,11 +378,6 @@ declare const _default: {
|
|
|
443
378
|
frontend?: {} | undefined;
|
|
444
379
|
}, {
|
|
445
380
|
key: "brut_nature";
|
|
446
|
-
/**
|
|
447
|
-
* The translatable title of the valid value.
|
|
448
|
-
*
|
|
449
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
450
|
-
*/
|
|
451
381
|
title: MessageDescriptor;
|
|
452
382
|
/**
|
|
453
383
|
* Fields that will never be stored in the database,
|
|
@@ -473,11 +403,6 @@ declare const _default: {
|
|
|
473
403
|
frontend?: {} | undefined;
|
|
474
404
|
}, {
|
|
475
405
|
key: "demi-sec";
|
|
476
|
-
/**
|
|
477
|
-
* The translatable title of the valid value.
|
|
478
|
-
*
|
|
479
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
480
|
-
*/
|
|
481
406
|
title: MessageDescriptor;
|
|
482
407
|
/**
|
|
483
408
|
* Fields that will never be stored in the database,
|
|
@@ -503,11 +428,6 @@ declare const _default: {
|
|
|
503
428
|
frontend?: {} | undefined;
|
|
504
429
|
}, {
|
|
505
430
|
key: "dry";
|
|
506
|
-
/**
|
|
507
|
-
* The translatable title of the valid value.
|
|
508
|
-
*
|
|
509
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
510
|
-
*/
|
|
511
431
|
title: MessageDescriptor;
|
|
512
432
|
/**
|
|
513
433
|
* Fields that will never be stored in the database,
|
|
@@ -533,11 +453,6 @@ declare const _default: {
|
|
|
533
453
|
frontend?: {} | undefined;
|
|
534
454
|
}, {
|
|
535
455
|
key: "extra_brut";
|
|
536
|
-
/**
|
|
537
|
-
* The translatable title of the valid value.
|
|
538
|
-
*
|
|
539
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
540
|
-
*/
|
|
541
456
|
title: MessageDescriptor;
|
|
542
457
|
/**
|
|
543
458
|
* Fields that will never be stored in the database,
|
|
@@ -563,11 +478,6 @@ declare const _default: {
|
|
|
563
478
|
frontend?: {} | undefined;
|
|
564
479
|
}, {
|
|
565
480
|
key: "extra_dry";
|
|
566
|
-
/**
|
|
567
|
-
* The translatable title of the valid value.
|
|
568
|
-
*
|
|
569
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
570
|
-
*/
|
|
571
481
|
title: MessageDescriptor;
|
|
572
482
|
/**
|
|
573
483
|
* Fields that will never be stored in the database,
|
|
@@ -593,11 +503,6 @@ declare const _default: {
|
|
|
593
503
|
frontend?: {} | undefined;
|
|
594
504
|
}, {
|
|
595
505
|
key: "feinherb";
|
|
596
|
-
/**
|
|
597
|
-
* The translatable title of the valid value.
|
|
598
|
-
*
|
|
599
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
600
|
-
*/
|
|
601
506
|
title: MessageDescriptor;
|
|
602
507
|
/**
|
|
603
508
|
* Fields that will never be stored in the database,
|
|
@@ -623,11 +528,6 @@ declare const _default: {
|
|
|
623
528
|
frontend?: {} | undefined;
|
|
624
529
|
}, {
|
|
625
530
|
key: "lieblich";
|
|
626
|
-
/**
|
|
627
|
-
* The translatable title of the valid value.
|
|
628
|
-
*
|
|
629
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
630
|
-
*/
|
|
631
531
|
title: MessageDescriptor;
|
|
632
532
|
/**
|
|
633
533
|
* Fields that will never be stored in the database,
|
|
@@ -653,11 +553,6 @@ declare const _default: {
|
|
|
653
553
|
frontend?: {} | undefined;
|
|
654
554
|
}, {
|
|
655
555
|
key: "semi";
|
|
656
|
-
/**
|
|
657
|
-
* The translatable title of the valid value.
|
|
658
|
-
*
|
|
659
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
660
|
-
*/
|
|
661
556
|
title: MessageDescriptor;
|
|
662
557
|
/**
|
|
663
558
|
* Fields that will never be stored in the database,
|
|
@@ -683,11 +578,6 @@ declare const _default: {
|
|
|
683
578
|
frontend?: {} | undefined;
|
|
684
579
|
}, {
|
|
685
580
|
key: "sweet";
|
|
686
|
-
/**
|
|
687
|
-
* The translatable title of the valid value.
|
|
688
|
-
*
|
|
689
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
690
|
-
*/
|
|
691
581
|
title: MessageDescriptor;
|
|
692
582
|
/**
|
|
693
583
|
* Fields that will never be stored in the database,
|
|
@@ -713,11 +603,6 @@ declare const _default: {
|
|
|
713
603
|
frontend?: {} | undefined;
|
|
714
604
|
}, {
|
|
715
605
|
key: "semi_sweet";
|
|
716
|
-
/**
|
|
717
|
-
* The translatable title of the valid value.
|
|
718
|
-
*
|
|
719
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
720
|
-
*/
|
|
721
606
|
title: MessageDescriptor;
|
|
722
607
|
/**
|
|
723
608
|
* Fields that will never be stored in the database,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"designation.d.ts","sourceRoot":"","sources":["../../src/validValues/designation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI/E,UAAU,oBAAoB;IAC5B
|
|
1
|
+
{"version":3,"file":"designation.d.ts","sourceRoot":"","sources":["../../src/validValues/designation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI/E,UAAU,oBAAoB;IAC5B,KAAK,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;KACjC,CAAC;IACF;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,CAAC;CACf;AAED,UAAU,gBAAiB,SAAQ,oBAAoB;CAAG;AAW1D,QAAA,MAAM,eAAe;;WApCZ,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;EAkFK,CAAC;AAEX,aAAK,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;AAC5D,UAAU,iBAAkB,SAAQ,gBAAgB;IAClD,GAAG,EAAE,cAAc,CAAC;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3GC;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;AA+JL,wBAKE"}
|
|
@@ -15,7 +15,7 @@ export interface Ingredient extends ValidValueDefinition {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
declare const _default: {
|
|
18
|
-
list: (
|
|
18
|
+
list: ({
|
|
19
19
|
id: string;
|
|
20
20
|
} & Ingredient & {
|
|
21
21
|
getTitle: (locale?: "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../src/validValues/ingredient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../src/validValues/ingredient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAIvE,MAAM,WAAW,UAAW,SAAQ,oBAAoB;IACtD;;;;OAIG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB,IAAI,EAAE;QACJ,WAAW,EAAE,WAAW,EAAE,CAAC;QAC3B,IAAI,EAAE,aAAa,EAAE,CAAC;KACvB,CAAC;CACH;;;;;;;;;;;;;;;;;;;AAED,wBAylBG"}
|
|
@@ -9,6 +9,10 @@ var _createValidValues = _interopRequireDefault(require("./utils/createValidValu
|
|
|
9
9
|
|
|
10
10
|
var _core = require("@lingui/core");
|
|
11
11
|
|
|
12
|
+
var _productTypesWine = _interopRequireDefault(require("./types/productTypesWine.js"));
|
|
13
|
+
|
|
14
|
+
var _productTypesSpirit = _interopRequireDefault(require("./types/productTypesSpirit.js"));
|
|
15
|
+
|
|
12
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
17
|
|
|
14
18
|
var _default = (0, _createValidValues["default"])({
|
|
@@ -22,7 +26,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
22
26
|
},
|
|
23
27
|
form: {
|
|
24
28
|
tags: ['OTHER_INGREDIENT'],
|
|
25
|
-
productType: [
|
|
29
|
+
productType: _productTypesWine["default"]
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
32
|
ammoniaCaramel: {
|
|
@@ -48,7 +52,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
48
52
|
},
|
|
49
53
|
form: {
|
|
50
54
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
51
|
-
productType: [
|
|
55
|
+
productType: _productTypesWine["default"]
|
|
52
56
|
}
|
|
53
57
|
},
|
|
54
58
|
argon: {
|
|
@@ -61,7 +65,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
61
65
|
},
|
|
62
66
|
form: {
|
|
63
67
|
tags: ['ANTIOXIDANT'],
|
|
64
|
-
productType: [
|
|
68
|
+
productType: _productTypesWine["default"]
|
|
65
69
|
}
|
|
66
70
|
},
|
|
67
71
|
ascorbicAcid: {
|
|
@@ -74,7 +78,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
74
78
|
},
|
|
75
79
|
form: {
|
|
76
80
|
tags: ['ANTIOXIDANT'],
|
|
77
|
-
productType: [
|
|
81
|
+
productType: _productTypesWine["default"]
|
|
78
82
|
}
|
|
79
83
|
},
|
|
80
84
|
burnedSugar: {
|
|
@@ -100,7 +104,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
100
104
|
},
|
|
101
105
|
form: {
|
|
102
106
|
tags: ['ACIDITY_REGULATOR', 'ALLERGEN'],
|
|
103
|
-
productType: [
|
|
107
|
+
productType: _productTypesWine["default"]
|
|
104
108
|
}
|
|
105
109
|
},
|
|
106
110
|
carbonDioxide: {
|
|
@@ -113,7 +117,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
113
117
|
},
|
|
114
118
|
form: {
|
|
115
119
|
tags: ['ANTIOXIDANT', 'OTHER_INGREDIENT'],
|
|
116
|
-
productType: [
|
|
120
|
+
productType: _productTypesWine["default"]
|
|
117
121
|
}
|
|
118
122
|
},
|
|
119
123
|
carboxymethylcellulose: {
|
|
@@ -126,7 +130,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
126
130
|
},
|
|
127
131
|
form: {
|
|
128
132
|
tags: ['STABILISER'],
|
|
129
|
-
productType: [
|
|
133
|
+
productType: _productTypesWine["default"]
|
|
130
134
|
}
|
|
131
135
|
},
|
|
132
136
|
carobSyrup: {
|
|
@@ -165,7 +169,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
165
169
|
},
|
|
166
170
|
form: {
|
|
167
171
|
tags: ['RAW_MATERIAL'],
|
|
168
|
-
productType: [
|
|
172
|
+
productType: _productTypesSpirit["default"]
|
|
169
173
|
}
|
|
170
174
|
},
|
|
171
175
|
citricAcid: {
|
|
@@ -178,7 +182,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
178
182
|
},
|
|
179
183
|
form: {
|
|
180
184
|
tags: ['NATURALLY_ADDED_ACID'],
|
|
181
|
-
productType: [
|
|
185
|
+
productType: _productTypesWine["default"]
|
|
182
186
|
}
|
|
183
187
|
},
|
|
184
188
|
concentratedGrapeMust: {
|
|
@@ -191,7 +195,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
191
195
|
},
|
|
192
196
|
form: {
|
|
193
197
|
tags: ['ENRICHMENT_SUBSTANCE', 'SWEETENER'],
|
|
194
|
-
productType: [
|
|
198
|
+
productType: _productTypesWine["default"]
|
|
195
199
|
}
|
|
196
200
|
},
|
|
197
201
|
dimethyldicarbonate: {
|
|
@@ -204,7 +208,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
204
208
|
},
|
|
205
209
|
form: {
|
|
206
210
|
tags: ['PRESERVATIVE'],
|
|
207
|
-
productType: [
|
|
211
|
+
productType: _productTypesWine["default"]
|
|
208
212
|
}
|
|
209
213
|
},
|
|
210
214
|
distillateOfAgriculturalOrigin: {
|
|
@@ -256,7 +260,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
256
260
|
},
|
|
257
261
|
form: {
|
|
258
262
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
259
|
-
productType: [
|
|
263
|
+
productType: _productTypesWine["default"]
|
|
260
264
|
}
|
|
261
265
|
},
|
|
262
266
|
eggLysozyme: {
|
|
@@ -269,7 +273,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
269
273
|
},
|
|
270
274
|
form: {
|
|
271
275
|
tags: ['PRESERVATIVE'],
|
|
272
|
-
productType: [
|
|
276
|
+
productType: _productTypesWine["default"]
|
|
273
277
|
}
|
|
274
278
|
},
|
|
275
279
|
ethylAlcoholOfAgriculturalOrigin: {
|
|
@@ -334,7 +338,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
334
338
|
},
|
|
335
339
|
form: {
|
|
336
340
|
tags: ['RAW_MATERIAL'],
|
|
337
|
-
productType: [
|
|
341
|
+
productType: _productTypesSpirit["default"]
|
|
338
342
|
}
|
|
339
343
|
},
|
|
340
344
|
grape: {
|
|
@@ -347,7 +351,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
347
351
|
},
|
|
348
352
|
form: {
|
|
349
353
|
tags: ['RAW_MATERIAL'],
|
|
350
|
-
productType: [
|
|
354
|
+
productType: _productTypesWine["default"]
|
|
351
355
|
}
|
|
352
356
|
},
|
|
353
357
|
grapeMarcSpirit: {
|
|
@@ -373,7 +377,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
373
377
|
},
|
|
374
378
|
form: {
|
|
375
379
|
tags: ['STABILISER'],
|
|
376
|
-
productType: [
|
|
380
|
+
productType: _productTypesWine["default"]
|
|
377
381
|
}
|
|
378
382
|
},
|
|
379
383
|
honey: {
|
|
@@ -399,7 +403,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
399
403
|
},
|
|
400
404
|
form: {
|
|
401
405
|
tags: ['ACIDITY_REGULATOR'],
|
|
402
|
-
productType: [
|
|
406
|
+
productType: _productTypesWine["default"]
|
|
403
407
|
}
|
|
404
408
|
},
|
|
405
409
|
malicAcid: {
|
|
@@ -412,7 +416,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
412
416
|
},
|
|
413
417
|
form: {
|
|
414
418
|
tags: ['ACIDITY_REGULATOR'],
|
|
415
|
-
productType: [
|
|
419
|
+
productType: _productTypesWine["default"]
|
|
416
420
|
}
|
|
417
421
|
},
|
|
418
422
|
maltDistillateAndWater: {
|
|
@@ -425,7 +429,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
425
429
|
},
|
|
426
430
|
form: {
|
|
427
431
|
tags: ['RAW_MATERIAL'],
|
|
428
|
-
productType: [
|
|
432
|
+
productType: _productTypesSpirit["default"]
|
|
429
433
|
}
|
|
430
434
|
},
|
|
431
435
|
metatartaricAcid: {
|
|
@@ -438,7 +442,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
438
442
|
},
|
|
439
443
|
form: {
|
|
440
444
|
tags: ['STABILISER'],
|
|
441
|
-
productType: [
|
|
445
|
+
productType: _productTypesWine["default"]
|
|
442
446
|
}
|
|
443
447
|
},
|
|
444
448
|
milkCasein: {
|
|
@@ -451,7 +455,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
451
455
|
},
|
|
452
456
|
form: {
|
|
453
457
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
454
|
-
productType: [
|
|
458
|
+
productType: _productTypesWine["default"]
|
|
455
459
|
}
|
|
456
460
|
},
|
|
457
461
|
nitrogen: {
|
|
@@ -464,7 +468,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
464
468
|
},
|
|
465
469
|
form: {
|
|
466
470
|
tags: ['ANTIOXIDANT'],
|
|
467
|
-
productType: [
|
|
471
|
+
productType: _productTypesWine["default"]
|
|
468
472
|
}
|
|
469
473
|
},
|
|
470
474
|
plainCaramel: {
|
|
@@ -490,7 +494,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
490
494
|
},
|
|
491
495
|
form: {
|
|
492
496
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
493
|
-
productType: [
|
|
497
|
+
productType: _productTypesWine["default"]
|
|
494
498
|
}
|
|
495
499
|
},
|
|
496
500
|
potassiumMetabisulphite: {
|
|
@@ -503,7 +507,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
503
507
|
},
|
|
504
508
|
form: {
|
|
505
509
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
506
|
-
productType: [
|
|
510
|
+
productType: _productTypesWine["default"]
|
|
507
511
|
}
|
|
508
512
|
},
|
|
509
513
|
potassiumPolyaspartate: {
|
|
@@ -516,7 +520,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
516
520
|
},
|
|
517
521
|
form: {
|
|
518
522
|
tags: ['STABILISER'],
|
|
519
|
-
productType: [
|
|
523
|
+
productType: _productTypesWine["default"]
|
|
520
524
|
}
|
|
521
525
|
},
|
|
522
526
|
potassiumSorbate: {
|
|
@@ -529,7 +533,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
529
533
|
},
|
|
530
534
|
form: {
|
|
531
535
|
tags: ['PRESERVATIVE'],
|
|
532
|
-
productType: [
|
|
536
|
+
productType: _productTypesWine["default"]
|
|
533
537
|
}
|
|
534
538
|
},
|
|
535
539
|
ryeDistillateAndWater: {
|
|
@@ -542,7 +546,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
542
546
|
},
|
|
543
547
|
form: {
|
|
544
548
|
tags: ['RAW_MATERIAL'],
|
|
545
|
-
productType: [
|
|
549
|
+
productType: _productTypesSpirit["default"]
|
|
546
550
|
}
|
|
547
551
|
},
|
|
548
552
|
sucrose: {
|
|
@@ -555,7 +559,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
555
559
|
},
|
|
556
560
|
form: {
|
|
557
561
|
tags: ['ENRICHMENT_SUBSTANCE'],
|
|
558
|
-
productType: [
|
|
562
|
+
productType: _productTypesWine["default"]
|
|
559
563
|
}
|
|
560
564
|
},
|
|
561
565
|
sugar: {
|
|
@@ -594,7 +598,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
594
598
|
},
|
|
595
599
|
form: {
|
|
596
600
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
597
|
-
productType: [
|
|
601
|
+
productType: _productTypesWine["default"]
|
|
598
602
|
}
|
|
599
603
|
},
|
|
600
604
|
sulphurDioxide: {
|
|
@@ -607,7 +611,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
607
611
|
},
|
|
608
612
|
form: {
|
|
609
613
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
610
|
-
productType: [
|
|
614
|
+
productType: _productTypesWine["default"]
|
|
611
615
|
}
|
|
612
616
|
},
|
|
613
617
|
tartaricAcid: {
|
|
@@ -620,7 +624,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
620
624
|
},
|
|
621
625
|
form: {
|
|
622
626
|
tags: ['ACIDITY_REGULATOR'],
|
|
623
|
-
productType: [
|
|
627
|
+
productType: _productTypesWine["default"]
|
|
624
628
|
}
|
|
625
629
|
},
|
|
626
630
|
water: {
|
|
@@ -646,7 +650,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
646
650
|
},
|
|
647
651
|
form: {
|
|
648
652
|
tags: ['PROCESSING_AID'],
|
|
649
|
-
productType: [
|
|
653
|
+
productType: _productTypesWine["default"]
|
|
650
654
|
}
|
|
651
655
|
},
|
|
652
656
|
wine: {
|
|
@@ -711,7 +715,7 @@ var _default = (0, _createValidValues["default"])({
|
|
|
711
715
|
},
|
|
712
716
|
form: {
|
|
713
717
|
tags: ['STABILISER'],
|
|
714
|
-
productType: [
|
|
718
|
+
productType: _productTypesWine["default"]
|
|
715
719
|
}
|
|
716
720
|
}
|
|
717
721
|
});
|
|
@@ -15,7 +15,7 @@ interface PackagingCertification extends ValidValueDefinition {
|
|
|
15
15
|
}
|
|
16
16
|
declare type PackagingCertificationTag = 'packagingCertification';
|
|
17
17
|
declare const _default: {
|
|
18
|
-
list: (
|
|
18
|
+
list: ({
|
|
19
19
|
id: string;
|
|
20
20
|
} & PackagingCertification & {
|
|
21
21
|
getTitle: (locale?: "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MessageDescriptor } from '@lingui/core';
|
|
2
|
+
interface ProductType {
|
|
3
|
+
key: string;
|
|
4
|
+
title: MessageDescriptor;
|
|
5
|
+
}
|
|
2
6
|
declare const _default: {
|
|
3
|
-
list: (
|
|
7
|
+
list: ({
|
|
4
8
|
id: string;
|
|
5
9
|
} & ProductType & {
|
|
6
10
|
getTitle: (locale?: "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productType.d.ts","sourceRoot":"","sources":["../../src/validValues/productType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"productType.d.ts","sourceRoot":"","sources":["../../src/validValues/productType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,UAAU,WAAW;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,iBAAiB,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;AAED,wBAkRG"}
|