@bottlebooks/valid-values 1.6.0 → 2.0.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 (194) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +3 -0
  3. package/dist/locales/locales.d.ts +34 -25
  4. package/dist/locales/locales.d.ts.map +1 -1
  5. package/dist/locales/locales.js +67 -49
  6. package/dist/locales/po/bg.d.ts +1 -94
  7. package/dist/locales/po/bg.d.ts.map +1 -1
  8. package/dist/locales/po/bg.js +3 -96
  9. package/dist/locales/po/cs.d.ts +1 -94
  10. package/dist/locales/po/cs.d.ts.map +1 -1
  11. package/dist/locales/po/cs.js +4 -97
  12. package/dist/{validValues/types/Award.js → locales/po/da.d.js} +0 -0
  13. package/dist/locales/po/da.d.ts +2524 -0
  14. package/dist/locales/po/da.d.ts.map +1 -0
  15. package/dist/locales/po/da.js +2532 -0
  16. package/dist/locales/po/de.d.ts +1 -94
  17. package/dist/locales/po/de.d.ts.map +1 -1
  18. package/dist/locales/po/de.js +50 -143
  19. package/dist/locales/po/ee.d.ts +1 -94
  20. package/dist/locales/po/ee.d.ts.map +1 -1
  21. package/dist/locales/po/ee.js +3 -96
  22. package/dist/locales/po/el.d.js +5 -0
  23. package/dist/locales/po/el.d.ts +2524 -0
  24. package/dist/locales/po/el.d.ts.map +1 -0
  25. package/dist/locales/po/el.js +2532 -0
  26. package/dist/locales/po/en.d.ts +1 -94
  27. package/dist/locales/po/en.d.ts.map +1 -1
  28. package/dist/locales/po/en.js +3 -96
  29. package/dist/locales/po/es.d.ts +1 -94
  30. package/dist/locales/po/es.d.ts.map +1 -1
  31. package/dist/locales/po/es.js +51 -144
  32. package/dist/locales/po/fi.d.ts +1 -94
  33. package/dist/locales/po/fi.d.ts.map +1 -1
  34. package/dist/locales/po/fi.js +3 -96
  35. package/dist/locales/po/fr.d.ts +1 -94
  36. package/dist/locales/po/fr.d.ts.map +1 -1
  37. package/dist/locales/po/fr.js +51 -144
  38. package/dist/locales/po/ga.d.js +5 -0
  39. package/dist/locales/po/ga.d.ts +2524 -0
  40. package/dist/locales/po/ga.d.ts.map +1 -0
  41. package/dist/locales/po/ga.js +2532 -0
  42. package/dist/locales/po/hr.d.ts +1 -94
  43. package/dist/locales/po/hr.d.ts.map +1 -1
  44. package/dist/locales/po/hr.js +3 -96
  45. package/dist/locales/po/hu.d.ts +1 -94
  46. package/dist/locales/po/hu.d.ts.map +1 -1
  47. package/dist/locales/po/hu.js +3 -96
  48. package/dist/locales/po/it.d.ts +1 -96
  49. package/dist/locales/po/it.d.ts.map +1 -1
  50. package/dist/locales/po/it.js +51 -146
  51. package/dist/locales/po/lt.d.ts +1 -94
  52. package/dist/locales/po/lt.d.ts.map +1 -1
  53. package/dist/locales/po/lt.js +3 -96
  54. package/dist/locales/po/lv.d.ts +1 -94
  55. package/dist/locales/po/lv.d.ts.map +1 -1
  56. package/dist/locales/po/lv.js +3 -96
  57. package/dist/locales/po/mt.d.ts +1 -94
  58. package/dist/locales/po/mt.d.ts.map +1 -1
  59. package/dist/locales/po/mt.js +3 -96
  60. package/dist/locales/po/nl.d.ts +1 -94
  61. package/dist/locales/po/nl.d.ts.map +1 -1
  62. package/dist/locales/po/nl.js +4 -97
  63. package/dist/locales/po/pl.d.ts +1 -94
  64. package/dist/locales/po/pl.d.ts.map +1 -1
  65. package/dist/locales/po/pl.js +3 -96
  66. package/dist/locales/po/pt.d.ts +1 -94
  67. package/dist/locales/po/pt.d.ts.map +1 -1
  68. package/dist/locales/po/pt.js +51 -144
  69. package/dist/locales/po/ro.d.ts +1 -94
  70. package/dist/locales/po/ro.d.ts.map +1 -1
  71. package/dist/locales/po/ro.js +3 -96
  72. package/dist/locales/po/se.d.ts +1 -94
  73. package/dist/locales/po/se.d.ts.map +1 -1
  74. package/dist/locales/po/se.js +3 -96
  75. package/dist/locales/po/si.d.ts +1 -94
  76. package/dist/locales/po/si.d.ts.map +1 -1
  77. package/dist/locales/po/si.js +3 -96
  78. package/dist/locales/po/sk.d.ts +1 -94
  79. package/dist/locales/po/sk.d.ts.map +1 -1
  80. package/dist/locales/po/sk.js +35 -128
  81. package/dist/validValues/award.d.ts +4 -4
  82. package/dist/validValues/awardMedal.d.ts +4 -4
  83. package/dist/validValues/beerStyle.d.ts +4 -4
  84. package/dist/validValues/certification.d.ts +4 -4
  85. package/dist/validValues/containerColor.d.ts +4 -4
  86. package/dist/validValues/containerType.d.ts +4 -4
  87. package/dist/validValues/country.d.ts +4 -4
  88. package/dist/validValues/designation.d.ts +0 -1
  89. package/dist/validValues/designation.d.ts.map +1 -1
  90. package/dist/validValues/designation.js +0 -1
  91. package/dist/validValues/ingredient.d.ts +4 -4
  92. package/dist/validValues/packagingCertification.d.ts +4 -4
  93. package/dist/validValues/packagingMaterialType.d.ts +4 -4
  94. package/dist/validValues/productType.d.ts +4 -4
  95. package/dist/validValues/productionMethod.d.ts +4 -4
  96. package/dist/validValues/responsibleConsumptionLogo.d.ts +4 -4
  97. package/dist/validValues/utils/createValidValues.d.ts +2 -2
  98. package/dist/validValues/varietyName.d.ts +4 -4
  99. package/dist/validValues/wineColor.d.ts +4 -4
  100. package/dist/validValues/wineType.d.ts +4 -4
  101. package/lingui.config.ts +14 -11
  102. package/package.json +2 -2
  103. package/src/locales/json/de.json +50 -30
  104. package/src/locales/json/en.json +40 -30
  105. package/src/locales/json/es.json +50 -30
  106. package/src/locales/json/fr.json +50 -30
  107. package/src/locales/json/it.json +50 -30
  108. package/src/locales/json/pt.json +50 -30
  109. package/src/locales/json/sk.json +2 -30
  110. package/src/locales/locales.ts +49 -37
  111. package/src/locales/po/bg.po +10 -380
  112. package/src/locales/po/bg.ts +1 -1
  113. package/src/locales/po/cs.po +7 -379
  114. package/src/locales/po/cs.ts +1 -1
  115. package/src/locales/po/da.d.ts +4 -0
  116. package/src/locales/po/da.po +10098 -0
  117. package/src/locales/po/da.ts +1 -0
  118. package/src/locales/po/de.po +58 -428
  119. package/src/locales/po/de.ts +1 -1
  120. package/src/locales/po/ee.po +10 -380
  121. package/src/locales/po/ee.ts +1 -1
  122. package/src/locales/po/el.d.ts +4 -0
  123. package/src/locales/po/el.po +10098 -0
  124. package/src/locales/po/el.ts +1 -0
  125. package/src/locales/po/en.po +7 -379
  126. package/src/locales/po/en.ts +1 -1
  127. package/src/locales/po/es.po +58 -428
  128. package/src/locales/po/es.ts +1 -1
  129. package/src/locales/po/fi.po +10 -380
  130. package/src/locales/po/fi.ts +1 -1
  131. package/src/locales/po/fr.po +58 -428
  132. package/src/locales/po/fr.ts +1 -1
  133. package/src/locales/po/ga.d.ts +4 -0
  134. package/src/locales/po/ga.po +10098 -0
  135. package/src/locales/po/ga.ts +1 -0
  136. package/src/locales/po/hr.po +10 -380
  137. package/src/locales/po/hr.ts +1 -1
  138. package/src/locales/po/hu.po +10 -380
  139. package/src/locales/po/hu.ts +1 -1
  140. package/src/locales/po/it.po +58 -434
  141. package/src/locales/po/it.ts +1 -1
  142. package/src/locales/po/lt.po +10 -380
  143. package/src/locales/po/lt.ts +1 -1
  144. package/src/locales/po/lv.po +10 -380
  145. package/src/locales/po/lv.ts +1 -1
  146. package/src/locales/po/mt.po +10 -380
  147. package/src/locales/po/mt.ts +1 -1
  148. package/src/locales/po/nl.po +11 -381
  149. package/src/locales/po/nl.ts +1 -1
  150. package/src/locales/po/pl.po +10 -380
  151. package/src/locales/po/pl.ts +1 -1
  152. package/src/locales/po/pt.po +58 -428
  153. package/src/locales/po/pt.ts +1 -1
  154. package/src/locales/po/ro.po +10 -380
  155. package/src/locales/po/ro.ts +1 -1
  156. package/src/locales/po/se.po +10 -380
  157. package/src/locales/po/se.ts +1 -1
  158. package/src/locales/po/si.po +10 -380
  159. package/src/locales/po/si.ts +1 -1
  160. package/src/locales/po/sk.po +42 -412
  161. package/src/locales/po/sk.ts +1 -1
  162. package/src/validValues/designation.ts +0 -1
  163. package/dist/validValues/capsuleMaterial.d.ts +0 -26
  164. package/dist/validValues/capsuleMaterial.d.ts.map +0 -1
  165. package/dist/validValues/capsuleMaterial.js +0 -117
  166. package/dist/validValues/caseMaterial.d.ts +0 -26
  167. package/dist/validValues/caseMaterial.d.ts.map +0 -1
  168. package/dist/validValues/caseMaterial.js +0 -37
  169. package/dist/validValues/closureType.d.ts +0 -26
  170. package/dist/validValues/closureType.d.ts.map +0 -1
  171. package/dist/validValues/closureType.js +0 -137
  172. package/dist/validValues/giftPackagingMaterial.d.ts +0 -26
  173. package/dist/validValues/giftPackagingMaterial.d.ts.map +0 -1
  174. package/dist/validValues/giftPackagingMaterial.js +0 -37
  175. package/dist/validValues/json/capsuleMaterial.d.ts +0 -2
  176. package/dist/validValues/json/capsuleMaterial.d.ts.map +0 -1
  177. package/dist/validValues/json/caseMaterial.d.ts +0 -2
  178. package/dist/validValues/json/caseMaterial.d.ts.map +0 -1
  179. package/dist/validValues/json/closureType.d.ts +0 -2
  180. package/dist/validValues/json/closureType.d.ts.map +0 -1
  181. package/dist/validValues/json/giftPackagingMaterial.d.ts +0 -2
  182. package/dist/validValues/json/giftPackagingMaterial.d.ts.map +0 -1
  183. package/dist/validValues/json/labelMaterial.d.ts +0 -2
  184. package/dist/validValues/json/labelMaterial.d.ts.map +0 -1
  185. package/dist/validValues/labelMaterial.d.ts +0 -26
  186. package/dist/validValues/labelMaterial.d.ts.map +0 -1
  187. package/dist/validValues/labelMaterial.js +0 -47
  188. package/dist/validValues/types/Award.d.ts +0 -35
  189. package/dist/validValues/types/Award.d.ts.map +0 -1
  190. package/dist/validValues/types/Country.d.ts +0 -35
  191. package/dist/validValues/types/Country.d.ts.map +0 -1
  192. package/src/locales/po/dk.po +0 -156
  193. package/src/locales/po/gr.po +0 -156
  194. package/src/locales/po/ie.po +0 -156
@@ -163,7 +163,6 @@ const byProductType = {
163
163
  spirit_vermouth: {},
164
164
  spirit_vodka: {},
165
165
  spirit_whisky: {},
166
- spirit_whiskey: {},
167
166
  wine_fortified: pick(['dry', 'semi', 'sweet']),
168
167
  wine_pearlwine: pick(['dry', 'semi', 'sweet']),
169
168
  wine_sparkling: pick([
@@ -1,26 +0,0 @@
1
- import { MessageDescriptor } from '@lingui/core';
2
- import { ValidValueDefinition } from './types/ValidValueDefinition';
3
- export interface CapsuleMaterial extends ValidValueDefinition {
4
- key: string;
5
- title: MessageDescriptor;
6
- }
7
- declare const _default: {
8
- list: ({
9
- id: string;
10
- } & CapsuleMaterial & {
11
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
12
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
13
- form: {} | undefined;
14
- })[];
15
- byId: () => {
16
- [k: string]: {
17
- id: string;
18
- } & CapsuleMaterial & {
19
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
20
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
21
- form: {} | undefined;
22
- };
23
- };
24
- };
25
- export default _default;
26
- //# sourceMappingURL=capsuleMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"capsuleMaterial.d.ts","sourceRoot":"","sources":["../../src/validValues/capsuleMaterial.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,eAAgB,SAAQ,oBAAoB;IAC3D,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,iBAAiB,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;AAED,wBAiFG"}
@@ -1,117 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _createValidValues = _interopRequireDefault(require("./utils/createValidValues.js"));
9
-
10
- var _core = require("@lingui/core");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- var _default = (0, _createValidValues["default"])({
15
- aluminum: {
16
- key: 'aluminum',
17
- title:
18
- /*i18n*/
19
- {
20
- id: 'validValues.capsuleMaterial.aluminum',
21
- message: 'Aluminum'
22
- },
23
- form: {}
24
- },
25
- lead: {
26
- key: 'lead',
27
- title:
28
- /*i18n*/
29
- {
30
- id: 'validValues.capsuleMaterial.lead',
31
- message: 'Lead'
32
- },
33
- form: {}
34
- },
35
- metal: {
36
- key: 'metal',
37
- title:
38
- /*i18n*/
39
- {
40
- id: 'validValues.capsuleMaterial.metal',
41
- message: 'Metal'
42
- },
43
- form: {}
44
- },
45
- none: {
46
- key: 'none',
47
- title:
48
- /*i18n*/
49
- {
50
- id: 'validValues.capsuleMaterial.none',
51
- message: 'None - no capsule used'
52
- },
53
- form: {}
54
- },
55
- paper: {
56
- key: 'paper',
57
- title:
58
- /*i18n*/
59
- {
60
- id: 'validValues.capsuleMaterial.paper',
61
- message: 'Paper'
62
- },
63
- form: {}
64
- },
65
- plastic: {
66
- key: 'plastic',
67
- title:
68
- /*i18n*/
69
- {
70
- id: 'validValues.capsuleMaterial.plastic',
71
- message: 'Plastic'
72
- },
73
- form: {}
74
- },
75
- polylam: {
76
- key: 'polylam',
77
- title:
78
- /*i18n*/
79
- {
80
- id: 'validValues.capsuleMaterial.polylam',
81
- message: 'Polylaminate'
82
- },
83
- form: {}
84
- },
85
- pvc: {
86
- key: 'pvc',
87
- title:
88
- /*i18n*/
89
- {
90
- id: 'validValues.capsuleMaterial.pvc',
91
- message: 'PVC'
92
- },
93
- form: {}
94
- },
95
- tin: {
96
- key: 'tin',
97
- title:
98
- /*i18n*/
99
- {
100
- id: 'validValues.capsuleMaterial.tin',
101
- message: 'Tin'
102
- },
103
- form: {}
104
- },
105
- wax: {
106
- key: 'wax',
107
- title:
108
- /*i18n*/
109
- {
110
- id: 'validValues.capsuleMaterial.wax',
111
- message: 'Wax'
112
- },
113
- form: {}
114
- }
115
- });
116
-
117
- exports["default"] = _default;
@@ -1,26 +0,0 @@
1
- import { MessageDescriptor } from '@lingui/core';
2
- import { ValidValueDefinition } from './types/ValidValueDefinition';
3
- export interface CaseMaterial extends ValidValueDefinition {
4
- key: string;
5
- title: MessageDescriptor;
6
- }
7
- declare const _default: {
8
- list: ({
9
- id: string;
10
- } & CaseMaterial & {
11
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
12
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
13
- form: {} | undefined;
14
- })[];
15
- byId: () => {
16
- [k: string]: {
17
- id: string;
18
- } & CaseMaterial & {
19
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
20
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
21
- form: {} | undefined;
22
- };
23
- };
24
- };
25
- export default _default;
26
- //# sourceMappingURL=caseMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"caseMaterial.d.ts","sourceRoot":"","sources":["../../src/validValues/caseMaterial.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,YAAa,SAAQ,oBAAoB;IACxD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,iBAAiB,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;AAED,wBAiBG"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _createValidValues = _interopRequireDefault(require("./utils/createValidValues.js"));
9
-
10
- var _core = require("@lingui/core");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- var _default = (0, _createValidValues["default"])({
15
- none: {
16
- key: 'none',
17
- title:
18
- /*i18n*/
19
- {
20
- id: 'validValues.caseMaterial.none',
21
- message: 'No gift wrap'
22
- },
23
- form: {}
24
- },
25
- paper: {
26
- key: 'paper',
27
- title:
28
- /*i18n*/
29
- {
30
- id: 'validValues.caseMaterial.paper',
31
- message: 'Paper'
32
- },
33
- form: {}
34
- }
35
- });
36
-
37
- exports["default"] = _default;
@@ -1,26 +0,0 @@
1
- import { MessageDescriptor } from '@lingui/core';
2
- import { ValidValueDefinition } from './types/ValidValueDefinition';
3
- export interface ClosureType extends ValidValueDefinition {
4
- key: string;
5
- title: MessageDescriptor;
6
- }
7
- declare const _default: {
8
- list: ({
9
- id: string;
10
- } & ClosureType & {
11
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
12
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
13
- form: {} | undefined;
14
- })[];
15
- byId: () => {
16
- [k: string]: {
17
- id: string;
18
- } & ClosureType & {
19
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
20
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
21
- form: {} | undefined;
22
- };
23
- };
24
- };
25
- export default _default;
26
- //# sourceMappingURL=closureType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"closureType.d.ts","sourceRoot":"","sources":["../../src/validValues/closureType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,WAAY,SAAQ,oBAAoB;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,iBAAiB,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;AAED,wBAiGG"}
@@ -1,137 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _createValidValues = _interopRequireDefault(require("./utils/createValidValues.js"));
9
-
10
- var _core = require("@lingui/core");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- var _default = (0, _createValidValues["default"])({
15
- agglomerated: {
16
- key: 'agglomerated',
17
- title:
18
- /*i18n*/
19
- {
20
- id: 'validValues.closureType.agglomerated',
21
- message: 'Agglomerated cork'
22
- },
23
- form: {}
24
- },
25
- bagInBox: {
26
- key: 'bagInBox',
27
- title:
28
- /*i18n*/
29
- {
30
- id: 'validValues.closureType.bagInBox',
31
- message: 'Bag in box'
32
- },
33
- form: {}
34
- },
35
- can: {
36
- key: 'can',
37
- title:
38
- /*i18n*/
39
- {
40
- id: 'validValues.closureType.can',
41
- message: 'Can'
42
- },
43
- form: {}
44
- },
45
- crown: {
46
- key: 'crown',
47
- title:
48
- /*i18n*/
49
- {
50
- id: 'validValues.closureType.crown',
51
- message: 'Crown cap'
52
- },
53
- form: {}
54
- },
55
- diam: {
56
- key: 'diam',
57
- title:
58
- /*i18n*/
59
- {
60
- id: 'validValues.closureType.diam',
61
- message: 'Diam'
62
- },
63
- form: {}
64
- },
65
- glass: {
66
- key: 'glass',
67
- title:
68
- /*i18n*/
69
- {
70
- id: 'validValues.closureType.glass',
71
- message: 'Glass closure'
72
- },
73
- form: {}
74
- },
75
- keg: {
76
- key: 'keg',
77
- title:
78
- /*i18n*/
79
- {
80
- id: 'validValues.closureType.keg',
81
- message: 'Keg'
82
- },
83
- form: {}
84
- },
85
- natural: {
86
- key: 'natural',
87
- title:
88
- /*i18n*/
89
- {
90
- id: 'validValues.closureType.natural',
91
- message: 'Natural cork'
92
- },
93
- form: {}
94
- },
95
- screwcap: {
96
- key: 'screwcap',
97
- title:
98
- /*i18n*/
99
- {
100
- id: 'validValues.closureType.screwcap',
101
- message: 'Screw top'
102
- },
103
- form: {}
104
- },
105
- swingTop: {
106
- key: 'swingTop',
107
- title:
108
- /*i18n*/
109
- {
110
- id: 'validValues.closureType.swingTop',
111
- message: 'Swing top'
112
- },
113
- form: {}
114
- },
115
- synthetic: {
116
- key: 'synthetic',
117
- title:
118
- /*i18n*/
119
- {
120
- id: 'validValues.closureType.synthetic',
121
- message: 'Synthetic cork'
122
- },
123
- form: {}
124
- },
125
- tcork: {
126
- key: 'tcork',
127
- title:
128
- /*i18n*/
129
- {
130
- id: 'validValues.closureType.tcork',
131
- message: 'T-Cork'
132
- },
133
- form: {}
134
- }
135
- });
136
-
137
- exports["default"] = _default;
@@ -1,26 +0,0 @@
1
- import { MessageDescriptor } from '@lingui/core';
2
- import { ValidValueDefinition } from './types/ValidValueDefinition';
3
- export interface GiftPackagingMaterial extends ValidValueDefinition {
4
- key: string;
5
- title: MessageDescriptor;
6
- }
7
- declare const _default: {
8
- list: ({
9
- id: string;
10
- } & GiftPackagingMaterial & {
11
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
12
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
13
- form: {} | undefined;
14
- })[];
15
- byId: () => {
16
- [k: string]: {
17
- id: string;
18
- } & GiftPackagingMaterial & {
19
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
20
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
21
- form: {} | undefined;
22
- };
23
- };
24
- };
25
- export default _default;
26
- //# sourceMappingURL=giftPackagingMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"giftPackagingMaterial.d.ts","sourceRoot":"","sources":["../../src/validValues/giftPackagingMaterial.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,iBAAiB,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;AAED,wBAiBG"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _createValidValues = _interopRequireDefault(require("./utils/createValidValues.js"));
9
-
10
- var _core = require("@lingui/core");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- var _default = (0, _createValidValues["default"])({
15
- none: {
16
- key: 'none',
17
- title:
18
- /*i18n*/
19
- {
20
- id: 'validValues.giftPackagingMaterial.none',
21
- message: 'No gift wrap'
22
- },
23
- form: {}
24
- },
25
- paper: {
26
- key: 'paper',
27
- title:
28
- /*i18n*/
29
- {
30
- id: 'validValues.giftPackagingMaterial.paper',
31
- message: 'Paper'
32
- },
33
- form: {}
34
- }
35
- });
36
-
37
- exports["default"] = _default;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=capsuleMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"capsuleMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/capsuleMaterial.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=caseMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"caseMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/caseMaterial.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=closureType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"closureType.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/closureType.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=giftPackagingMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"giftPackagingMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/giftPackagingMaterial.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=labelMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/labelMaterial.js"],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- import { MessageDescriptor } from '@lingui/core';
2
- import { ValidValueDefinition } from './types/ValidValueDefinition';
3
- export interface LabelMaterial extends ValidValueDefinition {
4
- key: string;
5
- title: MessageDescriptor;
6
- }
7
- declare const _default: {
8
- list: ({
9
- id: string;
10
- } & LabelMaterial & {
11
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
12
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
13
- form: {} | undefined;
14
- })[];
15
- byId: () => {
16
- [k: string]: {
17
- id: string;
18
- } & LabelMaterial & {
19
- getTitle: (locale?: "cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se" | undefined) => string;
20
- getTitles(locales?: ("cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se")[]): Record<"cs" | "de" | "en" | "es" | "fr" | "it" | "pt" | "sk" | "bg" | "hr" | "nl" | "ee" | "fi" | "hu" | "lv" | "lt" | "mt" | "pl" | "ro" | "si" | "se", string>;
21
- form: {} | undefined;
22
- };
23
- };
24
- };
25
- export default _default;
26
- //# sourceMappingURL=labelMaterial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelMaterial.d.ts","sourceRoot":"","sources":["../../src/validValues/labelMaterial.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,WAAW,aAAc,SAAQ,oBAAoB;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,iBAAiB,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;AAED,wBAyBG"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _createValidValues = _interopRequireDefault(require("./utils/createValidValues.js"));
9
-
10
- var _core = require("@lingui/core");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- var _default = (0, _createValidValues["default"])({
15
- none: {
16
- key: 'none',
17
- title:
18
- /*i18n*/
19
- {
20
- id: 'validValues.labelMaterial.none',
21
- message: 'None - labels are printed directly on container'
22
- },
23
- form: {}
24
- },
25
- paper: {
26
- key: 'paper',
27
- title:
28
- /*i18n*/
29
- {
30
- id: 'validValues.labelMaterial.paper',
31
- message: 'Paper'
32
- },
33
- form: {}
34
- },
35
- plastic: {
36
- key: 'plastic',
37
- title:
38
- /*i18n*/
39
- {
40
- id: 'validValues.labelMaterial.plastic',
41
- message: 'Plastic'
42
- },
43
- form: {}
44
- }
45
- });
46
-
47
- exports["default"] = _default;
@@ -1,35 +0,0 @@
1
- import type { MessageDescriptor } from '@lingui/core';
2
- interface ValidValueEnabledFor {
3
- field: string;
4
- value: string;
5
- }
6
- export interface Award {
7
- key: string;
8
- enabledFor?: ValidValueEnabledFor[];
9
- /**
10
- * The translatable title of the valid value.
11
- *
12
- * Define it using `defineMessage()` from @lingui/macro.
13
- */
14
- title?: string | MessageDescriptor;
15
- /**
16
- * Fields that will never be stored in the database,
17
- * because they are not relevant to the frontend rendering.
18
- * They are only used for the form, like grouping values for easier entry.
19
- */
20
- form?: {};
21
- medals?: string[];
22
- /**
23
- * Fields that are stored in the database together with each lookup value,
24
- * because they affect the frontend rendering.
25
- * They are also included in the hash values to detect breaking changes.
26
- *
27
- * We should try to avoid them if possible because if false positives:
28
- * Any change in one of those fields would lead to
29
- * eLabels that are marked as incompatible,
30
- * although there might be no user-visible changes.
31
- */
32
- frontend?: {};
33
- }
34
- export {};
35
- //# sourceMappingURL=Award.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Award.d.ts","sourceRoot":"","sources":["../../../src/validValues/types/Award.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,KAAK;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAAC;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,EAKN,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,CAAC;CACf"}
@@ -1,35 +0,0 @@
1
- import type { MessageDescriptor } from '@lingui/core';
2
- interface ValidValueEnabledFor {
3
- field: string;
4
- value: string;
5
- }
6
- export interface Country {
7
- key: string;
8
- enabledFor?: ValidValueEnabledFor[];
9
- /**
10
- * The translatable title of the valid value.
11
- *
12
- * Define it using `defineMessage()` from @lingui/macro.
13
- */
14
- title?: string | MessageDescriptor;
15
- /**
16
- * Fields that will never be stored in the database,
17
- * because they are not relevant to the frontend rendering.
18
- * They are only used for the form, like grouping values for easier entry.
19
- */
20
- form?: {};
21
- regions?: string[];
22
- /**
23
- * Fields that are stored in the database together with each lookup value,
24
- * because they affect the frontend rendering.
25
- * They are also included in the hash values to detect breaking changes.
26
- *
27
- * We should try to avoid them if possible because if false positives:
28
- * Any change in one of those fields would lead to
29
- * eLabels that are marked as incompatible,
30
- * although there might be no user-visible changes.
31
- */
32
- frontend?: {};
33
- }
34
- export {};
35
- //# sourceMappingURL=Country.d.ts.map