@jsonforms/core 3.0.0-alpha.3 → 3.0.0-beta.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 (193) hide show
  1. package/docs/globals.html +37 -37
  2. package/docs/interfaces/arraycontrolprops.html +21 -21
  3. package/docs/interfaces/arraylayoutprops.html +21 -21
  4. package/docs/interfaces/cellprops.html +12 -12
  5. package/docs/interfaces/combinatorrendererprops.html +13 -13
  6. package/docs/interfaces/controlprops.html +16 -16
  7. package/docs/interfaces/controlstate.html +2 -2
  8. package/docs/interfaces/controlwithdetailprops.html +17 -17
  9. package/docs/interfaces/dispatchcellprops.html +10 -10
  10. package/docs/interfaces/dispatchcellstateprops.html +10 -10
  11. package/docs/interfaces/dispatchpropsofarraycontrol.html +4 -4
  12. package/docs/interfaces/dispatchpropsofcontrol.html +1 -1
  13. package/docs/interfaces/dispatchpropsofmultienumcontrol.html +2 -2
  14. package/docs/interfaces/enumcellprops.html +13 -13
  15. package/docs/interfaces/enumoption.html +2 -2
  16. package/docs/interfaces/jsonformsprops.html +9 -9
  17. package/docs/interfaces/layoutprops.html +10 -10
  18. package/docs/interfaces/ownpropsofcell.html +9 -9
  19. package/docs/interfaces/ownpropsofcontrol.html +9 -9
  20. package/docs/interfaces/ownpropsofenum.html +1 -1
  21. package/docs/interfaces/ownpropsofenumcell.html +10 -10
  22. package/docs/interfaces/ownpropsofjsonformsrenderer.html +8 -8
  23. package/docs/interfaces/ownpropsoflayout.html +9 -9
  24. package/docs/interfaces/ownpropsofmasterlistitem.html +6 -6
  25. package/docs/interfaces/ownpropsofrenderer.html +8 -8
  26. package/docs/interfaces/rendererprops.html +9 -9
  27. package/docs/interfaces/statepropsofarraycontrol.html +17 -17
  28. package/docs/interfaces/statepropsofarraylayout.html +17 -17
  29. package/docs/interfaces/statepropsofcell.html +11 -11
  30. package/docs/interfaces/statepropsofcombinator.html +12 -12
  31. package/docs/interfaces/statepropsofcontrol.html +15 -15
  32. package/docs/interfaces/statepropsofcontrolwithdetail.html +16 -16
  33. package/docs/interfaces/statepropsofenumcell.html +12 -12
  34. package/docs/interfaces/statepropsofjsonformsrenderer.html +9 -9
  35. package/docs/interfaces/statepropsoflayout.html +10 -10
  36. package/docs/interfaces/statepropsofmasteritem.html +7 -7
  37. package/docs/interfaces/statepropsofrenderer.html +9 -9
  38. package/docs/interfaces/statepropsofscopedrenderer.html +12 -12
  39. package/docs/interfaces/withclassname.html +1 -1
  40. package/lib/Helpers.d.ts +5 -5
  41. package/lib/actions/actions.d.ts +181 -181
  42. package/lib/actions/index.d.ts +1 -1
  43. package/lib/configDefault.d.ts +6 -6
  44. package/lib/generators/Generate.d.ts +6 -6
  45. package/lib/generators/index.d.ts +3 -3
  46. package/lib/generators/schema.d.ts +8 -8
  47. package/lib/generators/uischema.d.ts +12 -12
  48. package/lib/i18n/i18nTypes.d.ts +15 -15
  49. package/lib/i18n/i18nUtil.d.ts +18 -18
  50. package/lib/i18n/index.d.ts +2 -2
  51. package/lib/index.d.ts +11 -11
  52. package/lib/jsonforms-core.cjs.js +2445 -0
  53. package/lib/jsonforms-core.cjs.js.map +1 -0
  54. package/lib/jsonforms-core.esm.js +2164 -0
  55. package/lib/jsonforms-core.esm.js.map +1 -0
  56. package/lib/models/draft4.d.ts +198 -198
  57. package/lib/models/index.d.ts +5 -5
  58. package/lib/models/jsonSchema.d.ts +3 -3
  59. package/lib/models/jsonSchema4.d.ts +110 -110
  60. package/lib/models/jsonSchema7.d.ts +119 -119
  61. package/lib/models/uischema.d.ts +201 -201
  62. package/lib/reducers/cells.d.ts +11 -11
  63. package/lib/reducers/config.d.ts +3 -3
  64. package/lib/reducers/core.d.ts +24 -24
  65. package/lib/reducers/default-data.d.ts +10 -10
  66. package/lib/reducers/i18n.d.ts +8 -8
  67. package/lib/reducers/index.d.ts +9 -9
  68. package/lib/reducers/reducers.d.ts +29 -29
  69. package/lib/reducers/renderers.d.ts +10 -10
  70. package/lib/reducers/selectors.d.ts +15 -15
  71. package/lib/reducers/uischemas.d.ts +10 -10
  72. package/lib/store.d.ts +53 -53
  73. package/lib/testers/index.d.ts +1 -1
  74. package/lib/testers/testers.d.ts +203 -203
  75. package/lib/util/Formatted.d.ts +19 -19
  76. package/lib/util/array.d.ts +3 -3
  77. package/lib/util/cell.d.ts +79 -79
  78. package/lib/util/combinators.d.ts +10 -10
  79. package/lib/util/ids.d.ts +3 -3
  80. package/lib/util/index.d.ts +15 -15
  81. package/lib/util/label.d.ts +9 -9
  82. package/lib/util/path.d.ts +25 -25
  83. package/lib/util/renderer.d.ts +398 -397
  84. package/lib/util/resolvers.d.ts +25 -25
  85. package/lib/util/runtime.d.ts +18 -18
  86. package/lib/util/schema.d.ts +1 -1
  87. package/lib/util/type.d.ts +174 -174
  88. package/lib/util/uischema.d.ts +5 -5
  89. package/lib/util/util.d.ts +31 -31
  90. package/lib/util/validator.d.ts +3 -3
  91. package/package.json +16 -13
  92. package/rollup.config.js +44 -0
  93. package/src/reducers/reducers.ts +2 -2
  94. package/src/util/cell.ts +4 -4
  95. package/src/util/renderer.ts +9 -8
  96. package/stats.html +3279 -0
  97. package/lib/Helpers.js +0 -33
  98. package/lib/Helpers.js.map +0 -1
  99. package/lib/actions/actions.js +0 -173
  100. package/lib/actions/actions.js.map +0 -1
  101. package/lib/actions/index.js +0 -29
  102. package/lib/actions/index.js.map +0 -1
  103. package/lib/configDefault.js +0 -48
  104. package/lib/configDefault.js.map +0 -1
  105. package/lib/generators/Generate.js +0 -35
  106. package/lib/generators/Generate.js.map +0 -1
  107. package/lib/generators/index.js +0 -31
  108. package/lib/generators/index.js.map +0 -1
  109. package/lib/generators/schema.js +0 -154
  110. package/lib/generators/schema.js.map +0 -1
  111. package/lib/generators/uischema.js +0 -169
  112. package/lib/generators/uischema.js.map +0 -1
  113. package/lib/i18n/i18nTypes.js +0 -3
  114. package/lib/i18n/i18nTypes.js.map +0 -1
  115. package/lib/i18n/i18nUtil.js +0 -71
  116. package/lib/i18n/i18nUtil.js.map +0 -1
  117. package/lib/i18n/index.js +0 -6
  118. package/lib/i18n/index.js.map +0 -1
  119. package/lib/index.js +0 -40
  120. package/lib/index.js.map +0 -1
  121. package/lib/jsonforms-core.js +0 -25
  122. package/lib/jsonforms-core.js.map +0 -1
  123. package/lib/models/draft4.js +0 -174
  124. package/lib/models/draft4.js.map +0 -1
  125. package/lib/models/index.js +0 -33
  126. package/lib/models/index.js.map +0 -1
  127. package/lib/models/jsonSchema.js +0 -27
  128. package/lib/models/jsonSchema.js.map +0 -1
  129. package/lib/models/jsonSchema4.js +0 -30
  130. package/lib/models/jsonSchema4.js.map +0 -1
  131. package/lib/models/jsonSchema7.js +0 -30
  132. package/lib/models/jsonSchema7.js.map +0 -1
  133. package/lib/models/uischema.js +0 -58
  134. package/lib/models/uischema.js.map +0 -1
  135. package/lib/reducers/cells.js +0 -42
  136. package/lib/reducers/cells.js.map +0 -1
  137. package/lib/reducers/config.js +0 -46
  138. package/lib/reducers/config.js.map +0 -1
  139. package/lib/reducers/core.js +0 -294
  140. package/lib/reducers/core.js.map +0 -1
  141. package/lib/reducers/default-data.js +0 -45
  142. package/lib/reducers/default-data.js.map +0 -1
  143. package/lib/reducers/i18n.js +0 -83
  144. package/lib/reducers/i18n.js.map +0 -1
  145. package/lib/reducers/index.js +0 -37
  146. package/lib/reducers/index.js.map +0 -1
  147. package/lib/reducers/reducers.js +0 -98
  148. package/lib/reducers/reducers.js.map +0 -1
  149. package/lib/reducers/renderers.js +0 -43
  150. package/lib/reducers/renderers.js.map +0 -1
  151. package/lib/reducers/selectors.js +0 -56
  152. package/lib/reducers/selectors.js.map +0 -1
  153. package/lib/reducers/uischemas.js +0 -60
  154. package/lib/reducers/uischemas.js.map +0 -1
  155. package/lib/store.js +0 -27
  156. package/lib/store.js.map +0 -1
  157. package/lib/testers/index.js +0 -29
  158. package/lib/testers/index.js.map +0 -1
  159. package/lib/testers/testers.js +0 -421
  160. package/lib/testers/testers.js.map +0 -1
  161. package/lib/util/Formatted.js +0 -27
  162. package/lib/util/Formatted.js.map +0 -1
  163. package/lib/util/array.js +0 -44
  164. package/lib/util/array.js.map +0 -1
  165. package/lib/util/cell.js +0 -148
  166. package/lib/util/cell.js.map +0 -1
  167. package/lib/util/combinators.js +0 -59
  168. package/lib/util/combinators.js.map +0 -1
  169. package/lib/util/ids.js +0 -54
  170. package/lib/util/ids.js.map +0 -1
  171. package/lib/util/index.js +0 -43
  172. package/lib/util/index.js.map +0 -1
  173. package/lib/util/label.js +0 -73
  174. package/lib/util/label.js.map +0 -1
  175. package/lib/util/path.js +0 -90
  176. package/lib/util/path.js.map +0 -1
  177. package/lib/util/renderer.js +0 -530
  178. package/lib/util/renderer.js.map +0 -1
  179. package/lib/util/resolvers.js +0 -169
  180. package/lib/util/resolvers.js.map +0 -1
  181. package/lib/util/runtime.js +0 -167
  182. package/lib/util/runtime.js.map +0 -1
  183. package/lib/util/schema.js +0 -42
  184. package/lib/util/schema.js.map +0 -1
  185. package/lib/util/type.js +0 -27
  186. package/lib/util/type.js.map +0 -1
  187. package/lib/util/uischema.js +0 -56
  188. package/lib/util/uischema.js.map +0 -1
  189. package/lib/util/util.js +0 -112
  190. package/lib/util/util.js.map +0 -1
  191. package/lib/util/validator.js +0 -37
  192. package/lib/util/validator.js.map +0 -1
  193. package/webpack.build.js +0 -13
@@ -1,174 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2017-2019 EclipseSource Munich
6
- https://github.com/eclipsesource/jsonforms
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.Draft4 = void 0;
28
- exports.Draft4 = {
29
- id: 'http://json-schema.org/draft-04/schema#',
30
- $schema: 'http://json-schema.org/draft-04/schema#',
31
- description: 'Core schema meta-schema',
32
- definitions: {
33
- schemaArray: {
34
- type: 'array',
35
- minItems: 1,
36
- items: { $ref: '#' }
37
- },
38
- positiveInteger: {
39
- type: 'integer',
40
- minimum: 0
41
- },
42
- positiveIntegerDefault0: {
43
- allOf: [{ $ref: '#/definitions/positiveInteger' }, { default: 0 }]
44
- },
45
- simpleTypes: {
46
- enum: [
47
- 'array',
48
- 'boolean',
49
- 'integer',
50
- 'null',
51
- 'number',
52
- 'object',
53
- 'string'
54
- ]
55
- },
56
- stringArray: {
57
- type: 'array',
58
- items: { type: 'string' },
59
- minItems: 1,
60
- uniqueItems: true
61
- }
62
- },
63
- type: 'object',
64
- properties: {
65
- id: {
66
- type: 'string',
67
- format: 'uri'
68
- },
69
- $schema: {
70
- type: 'string',
71
- format: 'uri'
72
- },
73
- title: {
74
- type: 'string'
75
- },
76
- description: {
77
- type: 'string'
78
- },
79
- default: {},
80
- multipleOf: {
81
- type: 'number',
82
- minimum: 0,
83
- exclusiveMinimum: true
84
- },
85
- maximum: {
86
- type: 'number'
87
- },
88
- exclusiveMaximum: {
89
- type: 'boolean',
90
- default: false
91
- },
92
- minimum: {
93
- type: 'number'
94
- },
95
- exclusiveMinimum: {
96
- type: 'boolean',
97
- default: false
98
- },
99
- maxLength: { $ref: '#/definitions/positiveInteger' },
100
- minLength: { $ref: '#/definitions/positiveIntegerDefault0' },
101
- pattern: {
102
- type: 'string',
103
- format: 'regex'
104
- },
105
- additionalItems: {
106
- anyOf: [{ type: 'boolean' }, { $ref: '#' }],
107
- default: {}
108
- },
109
- items: {
110
- anyOf: [{ $ref: '#' }, { $ref: '#/definitions/schemaArray' }],
111
- default: {}
112
- },
113
- maxItems: { $ref: '#/definitions/positiveInteger' },
114
- minItems: { $ref: '#/definitions/positiveIntegerDefault0' },
115
- uniqueItems: {
116
- type: 'boolean',
117
- default: false
118
- },
119
- maxProperties: { $ref: '#/definitions/positiveInteger' },
120
- minProperties: { $ref: '#/definitions/positiveIntegerDefault0' },
121
- required: { $ref: '#/definitions/stringArray' },
122
- additionalProperties: {
123
- anyOf: [{ type: 'boolean' }, { $ref: '#' }],
124
- default: {}
125
- },
126
- definitions: {
127
- type: 'object',
128
- additionalProperties: { $ref: '#' },
129
- default: {}
130
- },
131
- properties: {
132
- type: 'object',
133
- additionalProperties: { $ref: '#' },
134
- default: {}
135
- },
136
- patternProperties: {
137
- type: 'object',
138
- additionalProperties: { $ref: '#' },
139
- default: {}
140
- },
141
- dependencies: {
142
- type: 'object',
143
- additionalProperties: {
144
- anyOf: [{ $ref: '#' }, { $ref: '#/definitions/stringArray' }]
145
- }
146
- },
147
- enum: {
148
- type: 'array',
149
- minItems: 1,
150
- uniqueItems: true
151
- },
152
- type: {
153
- anyOf: [
154
- { $ref: '#/definitions/simpleTypes' },
155
- {
156
- type: 'array',
157
- items: { $ref: '#/definitions/simpleTypes' },
158
- minItems: 1,
159
- uniqueItems: true
160
- }
161
- ]
162
- },
163
- allOf: { $ref: '#/definitions/schemaArray' },
164
- anyOf: { $ref: '#/definitions/schemaArray' },
165
- oneOf: { $ref: '#/definitions/schemaArray' },
166
- not: { $ref: '#' }
167
- },
168
- dependencies: {
169
- exclusiveMaximum: ['maximum'],
170
- exclusiveMinimum: ['minimum']
171
- },
172
- default: {}
173
- };
174
- //# sourceMappingURL=draft4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"draft4.js","sourceRoot":"","sources":["../../src/models/draft4.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;;;AAEW,QAAA,MAAM,GAAG;IACpB,EAAE,EAAE,yCAAyC;IAC7C,OAAO,EAAE,yCAAyC;IAClD,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE;QACX,WAAW,EAAE;YACX,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,CAAC;YACX,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE;SACrB;QACD,eAAe,EAAE;YACf,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CAAC;SACX;QACD,uBAAuB,EAAE;YACvB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,+BAA+B,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;SACnE;QACD,WAAW,EAAE;YACX,IAAI,EAAE;gBACJ,OAAO;gBACP,SAAS;gBACT,SAAS;gBACT,MAAM;gBACN,QAAQ;gBACR,QAAQ;gBACR,QAAQ;aACT;SACF;QACD,WAAW,EAAE;YACX,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,QAAQ,EAAE,CAAC;YACX,WAAW,EAAE,IAAI;SAClB;KACF;IACD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;SACd;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;SACd;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;SACf;QACD,OAAO,EAAE,EAAE;QACX,UAAU,EAA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0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2017-2019 EclipseSource Munich
6
- https://github.com/eclipsesource/jsonforms
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- var tslib_1 = require("tslib");
28
- tslib_1.__exportStar(require("./draft4"), exports);
29
- tslib_1.__exportStar(require("./jsonSchema"), exports);
30
- tslib_1.__exportStar(require("./jsonSchema4"), exports);
31
- tslib_1.__exportStar(require("./jsonSchema7"), exports);
32
- tslib_1.__exportStar(require("./uischema"), exports);
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;;;AAEF,mDAAyB;AACzB,uDAA6B;AAC7B,wDAA8B;AAC9B,wDAA8B;AAC9B,qDAA2B"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2017-2019 EclipseSource Munich
6
- https://github.com/eclipsesource/jsonforms
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- //# sourceMappingURL=jsonSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonSchema.js","sourceRoot":"","sources":["../../src/models/jsonSchema.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2016 Richard Adams
6
- https://github.com/enriched
7
-
8
- Modifications by EclipseSource Munich 2018
9
- https://github.com/eclipsesource/jsonforms
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions:
17
-
18
- The above copyright notice and this permission notice shall be included in
19
- all copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
- THE SOFTWARE.
28
- */
29
- Object.defineProperty(exports, "__esModule", { value: true });
30
- //# sourceMappingURL=jsonSchema4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonSchema4.js","sourceRoot":"","sources":["../../src/models/jsonSchema4.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BE"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2016 Richard Adams
6
- https://github.com/enriched
7
-
8
- Modifications by EclipseSource Munich 2018
9
- https://github.com/eclipsesource/jsonforms
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions:
17
-
18
- The above copyright notice and this permission notice shall be included in
19
- all copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
- THE SOFTWARE.
28
- */
29
- Object.defineProperty(exports, "__esModule", { value: true });
30
- //# sourceMappingURL=jsonSchema7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonSchema7.js","sourceRoot":"","sources":["../../src/models/jsonSchema7.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BE"}
@@ -1,58 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2017-2019 EclipseSource Munich
6
- https://github.com/eclipsesource/jsonforms
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.isLayout = exports.isGroup = exports.RuleEffect = void 0;
28
- /**
29
- * The different rule effects.
30
- */
31
- var RuleEffect;
32
- (function (RuleEffect) {
33
- /**
34
- * Effect that hides the associated element.
35
- */
36
- RuleEffect["HIDE"] = "HIDE";
37
- /**
38
- * Effect that shows the associated element.
39
- */
40
- RuleEffect["SHOW"] = "SHOW";
41
- /**
42
- * Effect that enables the associated element.
43
- */
44
- RuleEffect["ENABLE"] = "ENABLE";
45
- /**
46
- * Effect that disables the associated element.
47
- */
48
- RuleEffect["DISABLE"] = "DISABLE";
49
- })(RuleEffect = exports.RuleEffect || (exports.RuleEffect = {}));
50
- var isGroup = function (layout) {
51
- return layout.type === 'Group';
52
- };
53
- exports.isGroup = isGroup;
54
- var isLayout = function (uischema) {
55
- return uischema.elements !== undefined;
56
- };
57
- exports.isLayout = isLayout;
58
- //# sourceMappingURL=uischema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uischema.js","sourceRoot":"","sources":["../../src/models/uischema.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;;;AA+BF;;GAEG;AACH,IAAY,UAiBX;AAjBD,WAAY,UAAU;IACpB;;OAEG;IACH,2BAAa,CAAA;IACb;;OAEG;IACH,2BAAa,CAAA;IACb;;OAEG;IACH,+BAAiB,CAAA;IACjB;;OAEG;IACH,iCAAmB,CAAA;AACrB,CAAC,EAjBW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAiBrB;AA4KM,IAAM,OAAO,GAAG,UAAC,MAAc;IACpC,OAAA,MAAM,CAAC,IAAI,KAAK,OAAO;AAAvB,CAAuB,CAAC;AADb,QAAA,OAAO,WACM;AAEnB,IAAM,QAAQ,GAAG,UAAC,QAAyB;IAChD,OAAC,QAAmB,CAAC,QAAQ,KAAK,SAAS;AAA3C,CAA2C,CAAC;AADjC,QAAA,QAAQ,YACyB"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2017-2019 EclipseSource Munich
6
- https://github.com/eclipsesource/jsonforms
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.cellReducer = void 0;
28
- var actions_1 = require("../actions");
29
- var cellReducer = function (state, _a) {
30
- if (state === void 0) { state = []; }
31
- var type = _a.type, tester = _a.tester, cell = _a.cell;
32
- switch (type) {
33
- case actions_1.ADD_CELL:
34
- return state.concat([{ tester: tester, cell: cell }]);
35
- case actions_1.REMOVE_CELL:
36
- return state.filter(function (t) { return t.tester !== tester; });
37
- default:
38
- return state;
39
- }
40
- };
41
- exports.cellReducer = cellReducer;
42
- //# sourceMappingURL=cells.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cells.js","sourceRoot":"","sources":["../../src/reducers/cells.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;;;AAGF,sCAKoB;AAYb,IAAM,WAAW,GAAyE,UAC/F,KAAU,EACV,EAAsB;IADtB,sBAAA,EAAA,UAAU;QACR,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,IAAI,UAAA;IAEpB,QAAQ,IAAI,EAAE;QACZ,KAAK,kBAAQ;YACX,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,QAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC,CAAC;QAC1C,KAAK,qBAAW;YACd,OAAO,KAAK,CAAC,MAAM,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,MAAM,KAAK,MAAM,EAAnB,CAAmB,CAAC,CAAC;QAChD;YACE,OAAO,KAAK,CAAC;KAChB;AACH,CAAC,CAAC;AAZW,QAAA,WAAW,eAYtB"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /*
3
- The MIT License
4
-
5
- Copyright (c) 2017-2019 EclipseSource Munich
6
- https://github.com/eclipsesource/jsonforms
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.configReducer = void 0;
28
- var tslib_1 = require("tslib");
29
- var merge_1 = tslib_1.__importDefault(require("lodash/merge"));
30
- var actions_1 = require("../actions");
31
- var configDefault_1 = require("../configDefault");
32
- var applyDefaultConfiguration = function (config) {
33
- if (config === void 0) { config = {}; }
34
- return merge_1.default({}, configDefault_1.configDefault, config);
35
- };
36
- var configReducer = function (state, action) {
37
- if (state === void 0) { state = applyDefaultConfiguration(); }
38
- switch (action.type) {
39
- case actions_1.SET_CONFIG:
40
- return applyDefaultConfiguration(action.config);
41
- default:
42
- return state;
43
- }
44
- };
45
- exports.configReducer = configReducer;
46
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/reducers/config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;;;;AAEF,+DAAiC;AACjC,sCAAyD;AACzD,kDAAiD;AAGjD,IAAM,yBAAyB,GAAG,UAAC,MAAgB;IAAhB,uBAAA,EAAA,WAAgB;IACjD,OAAA,eAAK,CAAC,EAAE,EAAE,6BAAa,EAAE,MAAM,CAAC;AAAhC,CAAgC,CAAC;AAE5B,IAAM,aAAa,GAAkC,UAC1D,KAAmC,EACnC,MAAM;IADN,sBAAA,EAAA,QAAQ,yBAAyB,EAAE;IAGnC,QAAQ,MAAM,CAAC,IAAI,EAAE;QACnB,KAAK,oBAAU;YACb,OAAO,yBAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAClD;YACE,OAAO,KAAK,CAAC;KAChB;AACH,CAAC,CAAC;AAVW,QAAA,aAAa,iBAUxB"}