@bottlebooks/valid-values 1.5.0 → 1.6.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 +18 -23
- package/dist/main.js +3 -3
- package/dist/validValues/capsuleMaterial.d.ts +26 -0
- package/dist/validValues/capsuleMaterial.d.ts.map +1 -0
- package/dist/validValues/capsuleMaterial.js +117 -0
- package/dist/validValues/caseMaterial.d.ts +26 -0
- package/dist/validValues/caseMaterial.d.ts.map +1 -0
- package/dist/validValues/caseMaterial.js +37 -0
- package/dist/validValues/closureType.d.ts +26 -0
- package/dist/validValues/closureType.d.ts.map +1 -0
- package/dist/validValues/closureType.js +137 -0
- package/dist/validValues/designation.js +2 -2
- package/dist/validValues/giftPackagingMaterial.d.ts +26 -0
- package/dist/validValues/giftPackagingMaterial.d.ts.map +1 -0
- package/dist/validValues/giftPackagingMaterial.js +37 -0
- package/dist/validValues/json/capsuleMaterial.d.ts +2 -0
- package/dist/validValues/json/capsuleMaterial.d.ts.map +1 -0
- package/dist/validValues/json/caseMaterial.d.ts +2 -0
- package/dist/validValues/json/caseMaterial.d.ts.map +1 -0
- package/dist/validValues/json/closureType.d.ts +2 -0
- package/dist/validValues/json/closureType.d.ts.map +1 -0
- package/dist/validValues/json/giftPackagingMaterial.d.ts +2 -0
- package/dist/validValues/json/giftPackagingMaterial.d.ts.map +1 -0
- package/dist/validValues/json/labelMaterial.d.ts +2 -0
- package/dist/validValues/json/labelMaterial.d.ts.map +1 -0
- package/dist/validValues/labelMaterial.d.ts +26 -0
- package/dist/validValues/labelMaterial.d.ts.map +1 -0
- package/dist/validValues/labelMaterial.js +47 -0
- package/dist/validValues/packagingMaterialType.d.ts.map +1 -1
- package/dist/validValues/packagingMaterialType.js +14 -12
- package/dist/validValues/types/Award.d.ts +35 -0
- package/dist/validValues/types/Award.d.ts.map +1 -0
- package/dist/validValues/types/Award.js +5 -0
- package/dist/validValues/types/Country.d.ts +35 -0
- package/dist/validValues/types/Country.d.ts.map +1 -0
- package/dist/validValues/utils/createValidValues.js +2 -2
- package/dist/validValues.d.ts +11 -11
- package/dist/validValues.d.ts.map +1 -1
- package/dist/validValues.js +16 -16
- package/package.json +2 -2
- package/src/locales/po/bg.po +49 -49
- package/src/locales/po/cs.po +49 -49
- package/src/locales/po/de.po +49 -49
- package/src/locales/po/ee.po +49 -49
- package/src/locales/po/en.po +49 -49
- package/src/locales/po/es.po +49 -49
- package/src/locales/po/fi.po +49 -49
- package/src/locales/po/fr.po +49 -49
- package/src/locales/po/hr.po +49 -49
- package/src/locales/po/hu.po +49 -49
- package/src/locales/po/it.po +49 -49
- package/src/locales/po/lt.po +49 -49
- package/src/locales/po/lv.po +49 -49
- package/src/locales/po/mt.po +49 -49
- package/src/locales/po/nl.po +49 -49
- package/src/locales/po/pl.po +49 -49
- package/src/locales/po/pt.po +49 -49
- package/src/locales/po/ro.po +49 -49
- package/src/locales/po/se.po +49 -49
- package/src/locales/po/si.po +49 -49
- package/src/locales/po/sk.po +49 -49
- package/src/validValues/packagingMaterialType.ts +14 -12
- package/src/validValues.ts +12 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,43 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [1.
|
|
7
|
-
|
|
6
|
+
# [1.6.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@1.5.0...@bottlebooks/valid-values@1.6.0) (2023-01-23)
|
|
8
7
|
|
|
9
8
|
### Features
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
- generic recycling image ([7a1e223](https://github.com/bottlebooks/bottlebooks/commit/7a1e22360000266e733338deaa9fb0dec69b3190))
|
|
13
11
|
|
|
12
|
+
# [1.5.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@1.4.0...@bottlebooks/valid-values@1.5.0) (2023-01-18)
|
|
14
13
|
|
|
14
|
+
### Features
|
|
15
15
|
|
|
16
|
+
- add Grape Brujidera ([eecac16](https://github.com/bottlebooks/bottlebooks/commit/eecac16de9a44e33c0aa8c3b422f6b6be44c3789))
|
|
16
17
|
|
|
17
18
|
# [1.4.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@1.3.1...@bottlebooks/valid-values@1.4.0) (2023-01-13)
|
|
18
19
|
|
|
19
|
-
|
|
20
20
|
### Bug Fixes
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
- add back required file ([1a1886f](https://github.com/bottlebooks/bottlebooks/commit/1a1886fdc5db0f1f67ed06b75d5384f4c35ff57d))
|
|
23
|
+
- remove special chars ([d0471da](https://github.com/bottlebooks/bottlebooks/commit/d0471da5a913cb9463eae5e30833e52434167751))
|
|
24
|
+
- remove special chars '\t' ([f81386e](https://github.com/bottlebooks/bottlebooks/commit/f81386eb272d3e858bb669ad65c65f5e5e8d04e5))
|
|
25
|
+
- remove unused validValues ([e93cb91](https://github.com/bottlebooks/bottlebooks/commit/e93cb912d46b5759780bc96675690d3fde2d757a))
|
|
26
|
+
- remove unused/unneeded validvalue json files ([d8bdbfc](https://github.com/bottlebooks/bottlebooks/commit/d8bdbfcb5810a193a898953e4697a660fce65323))
|
|
27
|
+
- wrong recyclingMaterial valid value logo urls ([220a50f](https://github.com/bottlebooks/bottlebooks/commit/220a50fc048b7f4e3ebbb719e99d270509cc44a7))
|
|
29
28
|
|
|
30
29
|
### Features
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
- add material category ([947ac66](https://github.com/bottlebooks/bottlebooks/commit/947ac66bbf7582ebb67376d6cf462a746e5d2abd))
|
|
32
|
+
- add primaryContainerType / primaryContainerColor / primaryContainer valid values ([990f7d9](https://github.com/bottlebooks/bottlebooks/commit/990f7d97f16f7a2ebf301a0f5dab7e40fa4540dd))
|
|
33
|
+
- add recyclingMaterials valid values ([4ef4464](https://github.com/bottlebooks/bottlebooks/commit/4ef4464e2e94b7e695e11b72c5b7aacb4a2afdff))
|
|
34
|
+
- reaming valid values ([cf9cd28](https://github.com/bottlebooks/bottlebooks/commit/cf9cd281a94e3d598d3deb940f44415d0eb0cc3e))
|
|
35
|
+
- rename recyclingMaterial to packagingMaterialType; ([ac94022](https://github.com/bottlebooks/bottlebooks/commit/ac94022ef8fe90f7a230470412d8f1b5dfabf703))
|
|
36
|
+
- transform closuretype, capsuleMaterial, labelMaterial, giftPackagingMaterial and caseMaterial valid values ([ffcc78a](https://github.com/bottlebooks/bottlebooks/commit/ffcc78a36042b5ccd3e3b7590c5b3f95a389e5da))
|
|
37
|
+
- upgrade lingui to v3.14.0 ([422476c](https://github.com/bottlebooks/bottlebooks/commit/422476cca758e39cbc79dd3485a2a623d5469d88))
|
|
43
38
|
|
|
44
39
|
## [1.3.1](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@1.3.0...@bottlebooks/valid-values@1.3.1) (2023-01-11)
|
|
45
40
|
|
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
require("./style.css");
|
|
6
6
|
|
|
@@ -12,9 +12,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
12
12
|
|
|
13
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
14
|
|
|
15
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly
|
|
15
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
16
16
|
|
|
17
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source =
|
|
17
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
18
18
|
|
|
19
19
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20
20
|
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,117 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,137 @@
|
|
|
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;
|
|
@@ -7,9 +7,9 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _core = require("@lingui/core");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
11
11
|
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source =
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
13
|
|
|
14
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capsuleMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/capsuleMaterial.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caseMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/caseMaterial.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closureType.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/closureType.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"giftPackagingMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/giftPackagingMaterial.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/labelMaterial.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|