@jsonforms/core 3.3.0-beta.0 → 3.3.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 (52) hide show
  1. package/lib/Helpers.d.ts +5 -5
  2. package/lib/actions/actions.d.ts +198 -198
  3. package/lib/actions/index.d.ts +1 -1
  4. package/lib/configDefault.d.ts +6 -6
  5. package/lib/generators/Generate.d.ts +6 -6
  6. package/lib/generators/index.d.ts +3 -3
  7. package/lib/generators/schema.d.ts +8 -8
  8. package/lib/generators/uischema.d.ts +12 -12
  9. package/lib/i18n/arrayTranslations.d.ts +24 -24
  10. package/lib/i18n/combinatorTranslations.d.ts +14 -14
  11. package/lib/i18n/i18nTypes.d.ts +16 -16
  12. package/lib/i18n/i18nUtil.d.ts +28 -28
  13. package/lib/i18n/index.d.ts +4 -4
  14. package/lib/index.d.ts +11 -11
  15. package/lib/models/draft4.d.ts +198 -198
  16. package/lib/models/index.d.ts +5 -5
  17. package/lib/models/jsonSchema.d.ts +3 -3
  18. package/lib/models/jsonSchema4.d.ts +110 -110
  19. package/lib/models/jsonSchema7.d.ts +119 -119
  20. package/lib/models/uischema.d.ts +231 -231
  21. package/lib/reducers/cells.d.ts +11 -11
  22. package/lib/reducers/config.d.ts +3 -3
  23. package/lib/reducers/core.d.ts +26 -26
  24. package/lib/reducers/default-data.d.ts +10 -10
  25. package/lib/reducers/i18n.d.ts +8 -8
  26. package/lib/reducers/index.d.ts +10 -10
  27. package/lib/reducers/middleware.d.ts +6 -6
  28. package/lib/reducers/reducers.d.ts +29 -29
  29. package/lib/reducers/renderers.d.ts +10 -10
  30. package/lib/reducers/selectors.d.ts +15 -15
  31. package/lib/reducers/uischemas.d.ts +10 -10
  32. package/lib/store.d.ts +53 -53
  33. package/lib/testers/index.d.ts +1 -1
  34. package/lib/testers/testers.d.ts +220 -220
  35. package/lib/util/Formatted.d.ts +19 -19
  36. package/lib/util/array.d.ts +3 -3
  37. package/lib/util/cell.d.ts +78 -78
  38. package/lib/util/combinators.d.ts +9 -9
  39. package/lib/util/defaultDateFormat.d.ts +3 -3
  40. package/lib/util/ids.d.ts +3 -3
  41. package/lib/util/index.d.ts +16 -16
  42. package/lib/util/label.d.ts +21 -21
  43. package/lib/util/path.d.ts +38 -38
  44. package/lib/util/renderer.d.ts +429 -429
  45. package/lib/util/resolvers.d.ts +25 -25
  46. package/lib/util/runtime.d.ts +17 -17
  47. package/lib/util/schema.d.ts +10 -10
  48. package/lib/util/type.d.ts +174 -174
  49. package/lib/util/uischema.d.ts +18 -18
  50. package/lib/util/util.d.ts +57 -57
  51. package/lib/util/validator.d.ts +3 -3
  52. package/package.json +2 -2
@@ -1,110 +1,110 @@
1
- export interface JsonSchema4 {
2
- $ref?: string;
3
- /**
4
- * This is important because it tells refs where
5
- * the root of the document is located
6
- */
7
- id?: string;
8
- /**
9
- * It is recommended that the meta-schema is
10
- * included in the root of any JSON Schema
11
- */
12
- $schema?: string;
13
- /**
14
- * Title of the schema
15
- */
16
- title?: string;
17
- /**
18
- * Schema description
19
- */
20
- description?: string;
21
- /**
22
- * Default json for the object represented by
23
- * this schema
24
- */
25
- default?: any;
26
- /**
27
- * The value must be a multiple of the number
28
- * (e.g. 10 is a multiple of 5)
29
- */
30
- multipleOf?: number;
31
- maximum?: number;
32
- /**
33
- * If true maximum must be > value, >= otherwise
34
- */
35
- exclusiveMaximum?: boolean;
36
- minimum?: number;
37
- /**
38
- * If true minimum must be < value, <= otherwise
39
- */
40
- exclusiveMinimum?: boolean;
41
- maxLength?: number;
42
- minLength?: number;
43
- /**
44
- * This is a regex string that the value must
45
- * conform to
46
- */
47
- pattern?: string;
48
- additionalItems?: boolean | JsonSchema4;
49
- items?: JsonSchema4 | JsonSchema4[];
50
- maxItems?: number;
51
- minItems?: number;
52
- uniqueItems?: boolean;
53
- maxProperties?: number;
54
- minProperties?: number;
55
- required?: string[];
56
- additionalProperties?: boolean | JsonSchema4;
57
- /**
58
- * Holds simple JSON Schema definitions for
59
- * referencing from elsewhere.
60
- */
61
- definitions?: {
62
- [key: string]: JsonSchema4;
63
- };
64
- /**
65
- * The keys that can exist on the object with the
66
- * json schema that should validate their value
67
- */
68
- properties?: {
69
- [property: string]: JsonSchema4;
70
- };
71
- /**
72
- * The key of this object is a regex for which
73
- * properties the schema applies to
74
- */
75
- patternProperties?: {
76
- [pattern: string]: JsonSchema4;
77
- };
78
- /**
79
- * If the key is present as a property then the
80
- * string of properties must also be present.
81
- * If the value is a JSON Schema then it must
82
- * also be valid for the object if the key is
83
- * present.
84
- */
85
- dependencies?: {
86
- [key: string]: JsonSchema4 | string[];
87
- };
88
- /**
89
- * Enumerates the values that this schema can be
90
- * e.g.
91
- * {"type": "string",
92
- * "enum": ["red", "green", "blue"]}
93
- */
94
- enum?: any[];
95
- /**
96
- * The basic type of this schema, can be one of
97
- * [string, number, object, array, boolean, null]
98
- * or an array of the acceptable types
99
- */
100
- type?: string | string[];
101
- allOf?: JsonSchema4[];
102
- anyOf?: JsonSchema4[];
103
- oneOf?: JsonSchema4[];
104
- /**
105
- * The entity being validated must not match this schema
106
- */
107
- not?: JsonSchema4;
108
- format?: string;
109
- const?: any;
110
- }
1
+ export interface JsonSchema4 {
2
+ $ref?: string;
3
+ /**
4
+ * This is important because it tells refs where
5
+ * the root of the document is located
6
+ */
7
+ id?: string;
8
+ /**
9
+ * It is recommended that the meta-schema is
10
+ * included in the root of any JSON Schema
11
+ */
12
+ $schema?: string;
13
+ /**
14
+ * Title of the schema
15
+ */
16
+ title?: string;
17
+ /**
18
+ * Schema description
19
+ */
20
+ description?: string;
21
+ /**
22
+ * Default json for the object represented by
23
+ * this schema
24
+ */
25
+ default?: any;
26
+ /**
27
+ * The value must be a multiple of the number
28
+ * (e.g. 10 is a multiple of 5)
29
+ */
30
+ multipleOf?: number;
31
+ maximum?: number;
32
+ /**
33
+ * If true maximum must be > value, >= otherwise
34
+ */
35
+ exclusiveMaximum?: boolean;
36
+ minimum?: number;
37
+ /**
38
+ * If true minimum must be < value, <= otherwise
39
+ */
40
+ exclusiveMinimum?: boolean;
41
+ maxLength?: number;
42
+ minLength?: number;
43
+ /**
44
+ * This is a regex string that the value must
45
+ * conform to
46
+ */
47
+ pattern?: string;
48
+ additionalItems?: boolean | JsonSchema4;
49
+ items?: JsonSchema4 | JsonSchema4[];
50
+ maxItems?: number;
51
+ minItems?: number;
52
+ uniqueItems?: boolean;
53
+ maxProperties?: number;
54
+ minProperties?: number;
55
+ required?: string[];
56
+ additionalProperties?: boolean | JsonSchema4;
57
+ /**
58
+ * Holds simple JSON Schema definitions for
59
+ * referencing from elsewhere.
60
+ */
61
+ definitions?: {
62
+ [key: string]: JsonSchema4;
63
+ };
64
+ /**
65
+ * The keys that can exist on the object with the
66
+ * json schema that should validate their value
67
+ */
68
+ properties?: {
69
+ [property: string]: JsonSchema4;
70
+ };
71
+ /**
72
+ * The key of this object is a regex for which
73
+ * properties the schema applies to
74
+ */
75
+ patternProperties?: {
76
+ [pattern: string]: JsonSchema4;
77
+ };
78
+ /**
79
+ * If the key is present as a property then the
80
+ * string of properties must also be present.
81
+ * If the value is a JSON Schema then it must
82
+ * also be valid for the object if the key is
83
+ * present.
84
+ */
85
+ dependencies?: {
86
+ [key: string]: JsonSchema4 | string[];
87
+ };
88
+ /**
89
+ * Enumerates the values that this schema can be
90
+ * e.g.
91
+ * {"type": "string",
92
+ * "enum": ["red", "green", "blue"]}
93
+ */
94
+ enum?: any[];
95
+ /**
96
+ * The basic type of this schema, can be one of
97
+ * [string, number, object, array, boolean, null]
98
+ * or an array of the acceptable types
99
+ */
100
+ type?: string | string[];
101
+ allOf?: JsonSchema4[];
102
+ anyOf?: JsonSchema4[];
103
+ oneOf?: JsonSchema4[];
104
+ /**
105
+ * The entity being validated must not match this schema
106
+ */
107
+ not?: JsonSchema4;
108
+ format?: string;
109
+ const?: any;
110
+ }
@@ -1,119 +1,119 @@
1
- export interface JsonSchema7 {
2
- $ref?: string;
3
- /**
4
- * This is important because it tells refs where
5
- * the root of the document is located
6
- */
7
- $id?: string;
8
- /**
9
- * It is recommended that the meta-schema is
10
- * included in the root of any JSON Schema
11
- */
12
- $schema?: string;
13
- /**
14
- * Title of the schema
15
- */
16
- title?: string;
17
- /**
18
- * Schema description
19
- */
20
- description?: string;
21
- /**
22
- * Default json for the object represented by
23
- * this schema
24
- */
25
- default?: any;
26
- /**
27
- * The value must be a multiple of the number
28
- * (e.g. 10 is a multiple of 5)
29
- */
30
- multipleOf?: number;
31
- maximum?: number;
32
- /**
33
- * If true maximum must be > value, >= otherwise
34
- */
35
- exclusiveMaximum?: number;
36
- minimum?: number;
37
- /**
38
- * If true minimum must be < value, <= otherwise
39
- */
40
- exclusiveMinimum?: number;
41
- maxLength?: number;
42
- minLength?: number;
43
- /**
44
- * This is a regex string that the value must
45
- * conform to
46
- */
47
- pattern?: string;
48
- additionalItems?: boolean | JsonSchema7;
49
- items?: JsonSchema7 | JsonSchema7[];
50
- maxItems?: number;
51
- minItems?: number;
52
- uniqueItems?: boolean;
53
- maxProperties?: number;
54
- minProperties?: number;
55
- required?: string[];
56
- additionalProperties?: boolean | JsonSchema7;
57
- /**
58
- * Holds simple JSON Schema definitions for
59
- * referencing from elsewhere.
60
- */
61
- definitions?: {
62
- [key: string]: JsonSchema7;
63
- };
64
- /**
65
- * The keys that can exist on the object with the
66
- * json schema that should validate their value
67
- */
68
- properties?: {
69
- [property: string]: JsonSchema7;
70
- };
71
- /**
72
- * The key of this object is a regex for which
73
- * properties the schema applies to
74
- */
75
- patternProperties?: {
76
- [pattern: string]: JsonSchema7;
77
- };
78
- /**
79
- * If the key is present as a property then the
80
- * string of properties must also be present.
81
- * If the value is a JSON Schema then it must
82
- * also be valid for the object if the key is
83
- * present.
84
- */
85
- dependencies?: {
86
- [key: string]: JsonSchema7 | string[];
87
- };
88
- /**
89
- * Enumerates the values that this schema can be
90
- * e.g.
91
- * {"type": "string",
92
- * "enum": ["red", "green", "blue"]}
93
- */
94
- enum?: any[];
95
- /**
96
- * The basic type of this schema, can be one of
97
- * [string, number, object, array, boolean, null]
98
- * or an array of the acceptable types
99
- */
100
- type?: string | string[];
101
- allOf?: JsonSchema7[];
102
- anyOf?: JsonSchema7[];
103
- oneOf?: JsonSchema7[];
104
- /**
105
- * The entity being validated must not match this schema
106
- */
107
- not?: JsonSchema7;
108
- format?: string;
109
- readOnly?: boolean;
110
- writeOnly?: boolean;
111
- examples?: any[];
112
- contains?: JsonSchema7;
113
- propertyNames?: JsonSchema7;
114
- const?: any;
115
- if?: JsonSchema7;
116
- then?: JsonSchema7;
117
- else?: JsonSchema7;
118
- errorMessage?: any;
119
- }
1
+ export interface JsonSchema7 {
2
+ $ref?: string;
3
+ /**
4
+ * This is important because it tells refs where
5
+ * the root of the document is located
6
+ */
7
+ $id?: string;
8
+ /**
9
+ * It is recommended that the meta-schema is
10
+ * included in the root of any JSON Schema
11
+ */
12
+ $schema?: string;
13
+ /**
14
+ * Title of the schema
15
+ */
16
+ title?: string;
17
+ /**
18
+ * Schema description
19
+ */
20
+ description?: string;
21
+ /**
22
+ * Default json for the object represented by
23
+ * this schema
24
+ */
25
+ default?: any;
26
+ /**
27
+ * The value must be a multiple of the number
28
+ * (e.g. 10 is a multiple of 5)
29
+ */
30
+ multipleOf?: number;
31
+ maximum?: number;
32
+ /**
33
+ * If true maximum must be > value, >= otherwise
34
+ */
35
+ exclusiveMaximum?: number;
36
+ minimum?: number;
37
+ /**
38
+ * If true minimum must be < value, <= otherwise
39
+ */
40
+ exclusiveMinimum?: number;
41
+ maxLength?: number;
42
+ minLength?: number;
43
+ /**
44
+ * This is a regex string that the value must
45
+ * conform to
46
+ */
47
+ pattern?: string;
48
+ additionalItems?: boolean | JsonSchema7;
49
+ items?: JsonSchema7 | JsonSchema7[];
50
+ maxItems?: number;
51
+ minItems?: number;
52
+ uniqueItems?: boolean;
53
+ maxProperties?: number;
54
+ minProperties?: number;
55
+ required?: string[];
56
+ additionalProperties?: boolean | JsonSchema7;
57
+ /**
58
+ * Holds simple JSON Schema definitions for
59
+ * referencing from elsewhere.
60
+ */
61
+ definitions?: {
62
+ [key: string]: JsonSchema7;
63
+ };
64
+ /**
65
+ * The keys that can exist on the object with the
66
+ * json schema that should validate their value
67
+ */
68
+ properties?: {
69
+ [property: string]: JsonSchema7;
70
+ };
71
+ /**
72
+ * The key of this object is a regex for which
73
+ * properties the schema applies to
74
+ */
75
+ patternProperties?: {
76
+ [pattern: string]: JsonSchema7;
77
+ };
78
+ /**
79
+ * If the key is present as a property then the
80
+ * string of properties must also be present.
81
+ * If the value is a JSON Schema then it must
82
+ * also be valid for the object if the key is
83
+ * present.
84
+ */
85
+ dependencies?: {
86
+ [key: string]: JsonSchema7 | string[];
87
+ };
88
+ /**
89
+ * Enumerates the values that this schema can be
90
+ * e.g.
91
+ * {"type": "string",
92
+ * "enum": ["red", "green", "blue"]}
93
+ */
94
+ enum?: any[];
95
+ /**
96
+ * The basic type of this schema, can be one of
97
+ * [string, number, object, array, boolean, null]
98
+ * or an array of the acceptable types
99
+ */
100
+ type?: string | string[];
101
+ allOf?: JsonSchema7[];
102
+ anyOf?: JsonSchema7[];
103
+ oneOf?: JsonSchema7[];
104
+ /**
105
+ * The entity being validated must not match this schema
106
+ */
107
+ not?: JsonSchema7;
108
+ format?: string;
109
+ readOnly?: boolean;
110
+ writeOnly?: boolean;
111
+ examples?: any[];
112
+ contains?: JsonSchema7;
113
+ propertyNames?: JsonSchema7;
114
+ const?: any;
115
+ if?: JsonSchema7;
116
+ then?: JsonSchema7;
117
+ else?: JsonSchema7;
118
+ errorMessage?: any;
119
+ }