@bottlebooks/valid-values 1.4.0 → 1.5.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 +11 -0
- package/dist/main.js +3 -3
- package/dist/validValues/designation.js +2 -2
- package/dist/validValues/utils/createValidValues.js +2 -2
- package/dist/validValues/varietyName.d.ts.map +1 -1
- package/dist/validValues/varietyName.js +5 -0
- package/package.json +2 -2
- package/src/validValues/varietyName.ts +5 -0
- package/dist/validValues/capsuleMaterial.d.ts +0 -26
- package/dist/validValues/capsuleMaterial.d.ts.map +0 -1
- package/dist/validValues/capsuleMaterial.js +0 -117
- package/dist/validValues/caseMaterial.d.ts +0 -26
- package/dist/validValues/caseMaterial.d.ts.map +0 -1
- package/dist/validValues/caseMaterial.js +0 -37
- package/dist/validValues/closureType.d.ts +0 -26
- package/dist/validValues/closureType.d.ts.map +0 -1
- package/dist/validValues/closureType.js +0 -137
- package/dist/validValues/giftPackagingMaterial.d.ts +0 -26
- package/dist/validValues/giftPackagingMaterial.d.ts.map +0 -1
- package/dist/validValues/giftPackagingMaterial.js +0 -37
- package/dist/validValues/json/capsuleMaterial.d.ts +0 -2
- package/dist/validValues/json/capsuleMaterial.d.ts.map +0 -1
- package/dist/validValues/json/caseMaterial.d.ts +0 -2
- package/dist/validValues/json/caseMaterial.d.ts.map +0 -1
- package/dist/validValues/json/closureType.d.ts +0 -2
- package/dist/validValues/json/closureType.d.ts.map +0 -1
- package/dist/validValues/json/giftPackagingMaterial.d.ts +0 -2
- package/dist/validValues/json/giftPackagingMaterial.d.ts.map +0 -1
- package/dist/validValues/json/labelMaterial.d.ts +0 -2
- package/dist/validValues/json/labelMaterial.d.ts.map +0 -1
- package/dist/validValues/labelMaterial.d.ts +0 -26
- package/dist/validValues/labelMaterial.d.ts.map +0 -1
- package/dist/validValues/labelMaterial.js +0 -47
- package/dist/validValues/types/Award.d.ts +0 -35
- package/dist/validValues/types/Award.d.ts.map +0 -1
- package/dist/validValues/types/Award.js +0 -5
- package/dist/validValues/types/Country.d.ts +0 -35
- package/dist/validValues/types/Country.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.5.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@1.4.0...@bottlebooks/valid-values@1.5.0) (2023-01-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add Grape Brujidera ([eecac16](https://github.com/bottlebooks/bottlebooks/commit/eecac16de9a44e33c0aa8c3b422f6b6be44c3789))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.4.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@1.3.1...@bottlebooks/valid-values@1.4.0) (2023-01-13)
|
|
7
18
|
|
|
8
19
|
|
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"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _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);
|
|
15
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); 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 = arguments[i]
|
|
17
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : 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
|
|
|
@@ -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);
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); 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 = arguments[i]
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : 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
|
|
|
@@ -9,9 +9,9 @@ var _core = require("@lingui/core");
|
|
|
9
9
|
|
|
10
10
|
var _locales = require("../../locales/locales.js");
|
|
11
11
|
|
|
12
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
13
|
|
|
14
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
15
|
|
|
16
16
|
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; }
|
|
17
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"varietyName.d.ts","sourceRoot":"","sources":["../../src/validValues/varietyName.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,MAAM,WAAW,WAAY,SAAQ,oBAAoB;CAAG;;;;;;;;;;;;;;;;;;;AAC5D,
|
|
1
|
+
{"version":3,"file":"varietyName.d.ts","sourceRoot":"","sources":["../../src/validValues/varietyName.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,MAAM,WAAW,WAAY,SAAQ,oBAAoB;CAAG;;;;;;;;;;;;;;;;;;;AAC5D,wBA+jTG"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@bottlebooks/valid-values",
|
|
3
3
|
"description": "The Bottlebooks lookup values, defined globally.",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.5.0",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"scripts": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"@babel/core": "^7.15.5",
|
|
33
33
|
"@lingui/core": "3.14.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c9751625876882c906a5b96c2e685795c8ba9e68"
|
|
36
36
|
}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capsuleMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/capsuleMaterial.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caseMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/caseMaterial.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"closureType.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/closureType.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"giftPackagingMaterial.d.ts","sourceRoot":"","sources":["../../../src/validValues/json/giftPackagingMaterial.js"],"names":[],"mappings":""}
|
|
@@ -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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Country.d.ts","sourceRoot":"","sources":["../../../src/validValues/types/Country.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,OAAO;IACtB,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,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,CAAC;CACf"}
|