@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.
- package/docs/globals.html +37 -37
- package/docs/interfaces/arraycontrolprops.html +21 -21
- package/docs/interfaces/arraylayoutprops.html +21 -21
- package/docs/interfaces/cellprops.html +12 -12
- package/docs/interfaces/combinatorrendererprops.html +13 -13
- package/docs/interfaces/controlprops.html +16 -16
- package/docs/interfaces/controlstate.html +2 -2
- package/docs/interfaces/controlwithdetailprops.html +17 -17
- package/docs/interfaces/dispatchcellprops.html +10 -10
- package/docs/interfaces/dispatchcellstateprops.html +10 -10
- package/docs/interfaces/dispatchpropsofarraycontrol.html +4 -4
- package/docs/interfaces/dispatchpropsofcontrol.html +1 -1
- package/docs/interfaces/dispatchpropsofmultienumcontrol.html +2 -2
- package/docs/interfaces/enumcellprops.html +13 -13
- package/docs/interfaces/enumoption.html +2 -2
- package/docs/interfaces/jsonformsprops.html +9 -9
- package/docs/interfaces/layoutprops.html +10 -10
- package/docs/interfaces/ownpropsofcell.html +9 -9
- package/docs/interfaces/ownpropsofcontrol.html +9 -9
- package/docs/interfaces/ownpropsofenum.html +1 -1
- package/docs/interfaces/ownpropsofenumcell.html +10 -10
- package/docs/interfaces/ownpropsofjsonformsrenderer.html +8 -8
- package/docs/interfaces/ownpropsoflayout.html +9 -9
- package/docs/interfaces/ownpropsofmasterlistitem.html +6 -6
- package/docs/interfaces/ownpropsofrenderer.html +8 -8
- package/docs/interfaces/rendererprops.html +9 -9
- package/docs/interfaces/statepropsofarraycontrol.html +17 -17
- package/docs/interfaces/statepropsofarraylayout.html +17 -17
- package/docs/interfaces/statepropsofcell.html +11 -11
- package/docs/interfaces/statepropsofcombinator.html +12 -12
- package/docs/interfaces/statepropsofcontrol.html +15 -15
- package/docs/interfaces/statepropsofcontrolwithdetail.html +16 -16
- package/docs/interfaces/statepropsofenumcell.html +12 -12
- package/docs/interfaces/statepropsofjsonformsrenderer.html +9 -9
- package/docs/interfaces/statepropsoflayout.html +10 -10
- package/docs/interfaces/statepropsofmasteritem.html +7 -7
- package/docs/interfaces/statepropsofrenderer.html +9 -9
- package/docs/interfaces/statepropsofscopedrenderer.html +12 -12
- package/docs/interfaces/withclassname.html +1 -1
- package/lib/Helpers.d.ts +5 -5
- package/lib/actions/actions.d.ts +181 -181
- package/lib/actions/index.d.ts +1 -1
- package/lib/configDefault.d.ts +6 -6
- package/lib/generators/Generate.d.ts +6 -6
- package/lib/generators/index.d.ts +3 -3
- package/lib/generators/schema.d.ts +8 -8
- package/lib/generators/uischema.d.ts +12 -12
- package/lib/i18n/i18nTypes.d.ts +15 -15
- package/lib/i18n/i18nUtil.d.ts +18 -18
- package/lib/i18n/index.d.ts +2 -2
- package/lib/index.d.ts +11 -11
- package/lib/jsonforms-core.cjs.js +2445 -0
- package/lib/jsonforms-core.cjs.js.map +1 -0
- package/lib/jsonforms-core.esm.js +2164 -0
- package/lib/jsonforms-core.esm.js.map +1 -0
- package/lib/models/draft4.d.ts +198 -198
- package/lib/models/index.d.ts +5 -5
- package/lib/models/jsonSchema.d.ts +3 -3
- package/lib/models/jsonSchema4.d.ts +110 -110
- package/lib/models/jsonSchema7.d.ts +119 -119
- package/lib/models/uischema.d.ts +201 -201
- package/lib/reducers/cells.d.ts +11 -11
- package/lib/reducers/config.d.ts +3 -3
- package/lib/reducers/core.d.ts +24 -24
- package/lib/reducers/default-data.d.ts +10 -10
- package/lib/reducers/i18n.d.ts +8 -8
- package/lib/reducers/index.d.ts +9 -9
- package/lib/reducers/reducers.d.ts +29 -29
- package/lib/reducers/renderers.d.ts +10 -10
- package/lib/reducers/selectors.d.ts +15 -15
- package/lib/reducers/uischemas.d.ts +10 -10
- package/lib/store.d.ts +53 -53
- package/lib/testers/index.d.ts +1 -1
- package/lib/testers/testers.d.ts +203 -203
- package/lib/util/Formatted.d.ts +19 -19
- package/lib/util/array.d.ts +3 -3
- package/lib/util/cell.d.ts +79 -79
- package/lib/util/combinators.d.ts +10 -10
- package/lib/util/ids.d.ts +3 -3
- package/lib/util/index.d.ts +15 -15
- package/lib/util/label.d.ts +9 -9
- package/lib/util/path.d.ts +25 -25
- package/lib/util/renderer.d.ts +398 -397
- package/lib/util/resolvers.d.ts +25 -25
- package/lib/util/runtime.d.ts +18 -18
- package/lib/util/schema.d.ts +1 -1
- package/lib/util/type.d.ts +174 -174
- package/lib/util/uischema.d.ts +5 -5
- package/lib/util/util.d.ts +31 -31
- package/lib/util/validator.d.ts +3 -3
- package/package.json +16 -13
- package/rollup.config.js +44 -0
- package/src/reducers/reducers.ts +2 -2
- package/src/util/cell.ts +4 -4
- package/src/util/renderer.ts +9 -8
- package/stats.html +3279 -0
- package/lib/Helpers.js +0 -33
- package/lib/Helpers.js.map +0 -1
- package/lib/actions/actions.js +0 -173
- package/lib/actions/actions.js.map +0 -1
- package/lib/actions/index.js +0 -29
- package/lib/actions/index.js.map +0 -1
- package/lib/configDefault.js +0 -48
- package/lib/configDefault.js.map +0 -1
- package/lib/generators/Generate.js +0 -35
- package/lib/generators/Generate.js.map +0 -1
- package/lib/generators/index.js +0 -31
- package/lib/generators/index.js.map +0 -1
- package/lib/generators/schema.js +0 -154
- package/lib/generators/schema.js.map +0 -1
- package/lib/generators/uischema.js +0 -169
- package/lib/generators/uischema.js.map +0 -1
- package/lib/i18n/i18nTypes.js +0 -3
- package/lib/i18n/i18nTypes.js.map +0 -1
- package/lib/i18n/i18nUtil.js +0 -71
- package/lib/i18n/i18nUtil.js.map +0 -1
- package/lib/i18n/index.js +0 -6
- package/lib/i18n/index.js.map +0 -1
- package/lib/index.js +0 -40
- package/lib/index.js.map +0 -1
- package/lib/jsonforms-core.js +0 -25
- package/lib/jsonforms-core.js.map +0 -1
- package/lib/models/draft4.js +0 -174
- package/lib/models/draft4.js.map +0 -1
- package/lib/models/index.js +0 -33
- package/lib/models/index.js.map +0 -1
- package/lib/models/jsonSchema.js +0 -27
- package/lib/models/jsonSchema.js.map +0 -1
- package/lib/models/jsonSchema4.js +0 -30
- package/lib/models/jsonSchema4.js.map +0 -1
- package/lib/models/jsonSchema7.js +0 -30
- package/lib/models/jsonSchema7.js.map +0 -1
- package/lib/models/uischema.js +0 -58
- package/lib/models/uischema.js.map +0 -1
- package/lib/reducers/cells.js +0 -42
- package/lib/reducers/cells.js.map +0 -1
- package/lib/reducers/config.js +0 -46
- package/lib/reducers/config.js.map +0 -1
- package/lib/reducers/core.js +0 -294
- package/lib/reducers/core.js.map +0 -1
- package/lib/reducers/default-data.js +0 -45
- package/lib/reducers/default-data.js.map +0 -1
- package/lib/reducers/i18n.js +0 -83
- package/lib/reducers/i18n.js.map +0 -1
- package/lib/reducers/index.js +0 -37
- package/lib/reducers/index.js.map +0 -1
- package/lib/reducers/reducers.js +0 -98
- package/lib/reducers/reducers.js.map +0 -1
- package/lib/reducers/renderers.js +0 -43
- package/lib/reducers/renderers.js.map +0 -1
- package/lib/reducers/selectors.js +0 -56
- package/lib/reducers/selectors.js.map +0 -1
- package/lib/reducers/uischemas.js +0 -60
- package/lib/reducers/uischemas.js.map +0 -1
- package/lib/store.js +0 -27
- package/lib/store.js.map +0 -1
- package/lib/testers/index.js +0 -29
- package/lib/testers/index.js.map +0 -1
- package/lib/testers/testers.js +0 -421
- package/lib/testers/testers.js.map +0 -1
- package/lib/util/Formatted.js +0 -27
- package/lib/util/Formatted.js.map +0 -1
- package/lib/util/array.js +0 -44
- package/lib/util/array.js.map +0 -1
- package/lib/util/cell.js +0 -148
- package/lib/util/cell.js.map +0 -1
- package/lib/util/combinators.js +0 -59
- package/lib/util/combinators.js.map +0 -1
- package/lib/util/ids.js +0 -54
- package/lib/util/ids.js.map +0 -1
- package/lib/util/index.js +0 -43
- package/lib/util/index.js.map +0 -1
- package/lib/util/label.js +0 -73
- package/lib/util/label.js.map +0 -1
- package/lib/util/path.js +0 -90
- package/lib/util/path.js.map +0 -1
- package/lib/util/renderer.js +0 -530
- package/lib/util/renderer.js.map +0 -1
- package/lib/util/resolvers.js +0 -169
- package/lib/util/resolvers.js.map +0 -1
- package/lib/util/runtime.js +0 -167
- package/lib/util/runtime.js.map +0 -1
- package/lib/util/schema.js +0 -42
- package/lib/util/schema.js.map +0 -1
- package/lib/util/type.js +0 -27
- package/lib/util/type.js.map +0 -1
- package/lib/util/uischema.js +0 -56
- package/lib/util/uischema.js.map +0 -1
- package/lib/util/util.js +0 -112
- package/lib/util/util.js.map +0 -1
- package/lib/util/validator.js +0 -37
- package/lib/util/validator.js.map +0 -1
- package/webpack.build.js +0 -13
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
<div class="tsd-signature tsd-kind-icon">cells<span class="tsd-signature-symbol">:</span> <a href="jsonformscellrendererregistryentry.html" class="tsd-signature-type">JsonFormsCellRendererRegistryEntry</a><span class="tsd-signature-symbol">[]</span></div>
|
|
120
120
|
<aside class="tsd-sources">
|
|
121
121
|
<ul>
|
|
122
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
122
|
+
<li>Defined in packages/core/src/util/renderer.ts:311</li>
|
|
123
123
|
</ul>
|
|
124
124
|
</aside>
|
|
125
125
|
<div class="tsd-comment tsd-typography">
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<div class="tsd-signature tsd-kind-icon">config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
|
|
135
135
|
<aside class="tsd-sources">
|
|
136
136
|
<ul>
|
|
137
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
137
|
+
<li>Defined in packages/core/src/util/renderer.ts:271</li>
|
|
138
138
|
</ul>
|
|
139
139
|
</aside>
|
|
140
140
|
<div class="tsd-comment tsd-typography">
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
<div class="tsd-signature tsd-kind-icon">data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
|
|
150
150
|
<aside class="tsd-sources">
|
|
151
151
|
<ul>
|
|
152
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
152
|
+
<li>Defined in packages/core/src/util/renderer.ts:286</li>
|
|
153
153
|
</ul>
|
|
154
154
|
</aside>
|
|
155
155
|
<div class="tsd-comment tsd-typography">
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
<div class="tsd-signature tsd-kind-icon">enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
165
165
|
<aside class="tsd-sources">
|
|
166
166
|
<ul>
|
|
167
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
167
|
+
<li>Defined in packages/core/src/util/renderer.ts:291</li>
|
|
168
168
|
</ul>
|
|
169
169
|
</aside>
|
|
170
170
|
<div class="tsd-comment tsd-typography">
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
<div class="tsd-signature tsd-kind-icon">path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
180
180
|
<aside class="tsd-sources">
|
|
181
181
|
<ul>
|
|
182
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
182
|
+
<li>Defined in packages/core/src/util/renderer.ts:300</li>
|
|
183
183
|
</ul>
|
|
184
184
|
</aside>
|
|
185
185
|
<div class="tsd-comment tsd-typography">
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
<div class="tsd-signature tsd-kind-icon">renderers<span class="tsd-signature-symbol">:</span> <a href="jsonformsrendererregistryentry.html" class="tsd-signature-type">JsonFormsRendererRegistryEntry</a><span class="tsd-signature-symbol">[]</span></div>
|
|
195
195
|
<aside class="tsd-sources">
|
|
196
196
|
<ul>
|
|
197
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
197
|
+
<li>Defined in packages/core/src/util/renderer.ts:305</li>
|
|
198
198
|
</ul>
|
|
199
199
|
</aside>
|
|
200
200
|
<div class="tsd-comment tsd-typography">
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
<div class="tsd-signature tsd-kind-icon">schema<span class="tsd-signature-symbol">:</span> <a href="../globals.html#jsonschema" class="tsd-signature-type">JsonSchema</a></div>
|
|
210
210
|
<aside class="tsd-sources">
|
|
211
211
|
<ul>
|
|
212
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
212
|
+
<li>Defined in packages/core/src/util/renderer.ts:281</li>
|
|
213
213
|
</ul>
|
|
214
214
|
</aside>
|
|
215
215
|
<div class="tsd-comment tsd-typography">
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
<div class="tsd-signature tsd-kind-icon">uischema<span class="tsd-signature-symbol">:</span> <a href="uischemaelement.html" class="tsd-signature-type">UISchemaElement</a></div>
|
|
225
225
|
<aside class="tsd-sources">
|
|
226
226
|
<ul>
|
|
227
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
227
|
+
<li>Defined in packages/core/src/util/renderer.ts:276</li>
|
|
228
228
|
</ul>
|
|
229
229
|
</aside>
|
|
230
230
|
<div class="tsd-comment tsd-typography">
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
<div class="tsd-signature tsd-kind-icon">visible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
240
240
|
<aside class="tsd-sources">
|
|
241
241
|
<ul>
|
|
242
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
242
|
+
<li>Defined in packages/core/src/util/renderer.ts:295</li>
|
|
243
243
|
</ul>
|
|
244
244
|
</aside>
|
|
245
245
|
<div class="tsd-comment tsd-typography">
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<aside class="tsd-sources">
|
|
126
126
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#cells">cells</a></p>
|
|
127
127
|
<ul>
|
|
128
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
128
|
+
<li>Defined in packages/core/src/util/renderer.ts:311</li>
|
|
129
129
|
</ul>
|
|
130
130
|
</aside>
|
|
131
131
|
<div class="tsd-comment tsd-typography">
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<aside class="tsd-sources">
|
|
142
142
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#config">config</a></p>
|
|
143
143
|
<ul>
|
|
144
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
144
|
+
<li>Defined in packages/core/src/util/renderer.ts:271</li>
|
|
145
145
|
</ul>
|
|
146
146
|
</aside>
|
|
147
147
|
<div class="tsd-comment tsd-typography">
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<aside class="tsd-sources">
|
|
158
158
|
<p>Overrides <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#data">data</a></p>
|
|
159
159
|
<ul>
|
|
160
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
160
|
+
<li>Defined in packages/core/src/util/renderer.ts:329</li>
|
|
161
161
|
</ul>
|
|
162
162
|
</aside>
|
|
163
163
|
<div class="tsd-comment tsd-typography">
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
<aside class="tsd-sources">
|
|
174
174
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#enabled">enabled</a></p>
|
|
175
175
|
<ul>
|
|
176
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
176
|
+
<li>Defined in packages/core/src/util/renderer.ts:291</li>
|
|
177
177
|
</ul>
|
|
178
178
|
</aside>
|
|
179
179
|
<div class="tsd-comment tsd-typography">
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
<div class="tsd-signature tsd-kind-icon">errors<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
189
189
|
<aside class="tsd-sources">
|
|
190
190
|
<ul>
|
|
191
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
191
|
+
<li>Defined in packages/core/src/util/renderer.ts:324</li>
|
|
192
192
|
</ul>
|
|
193
193
|
</aside>
|
|
194
194
|
<div class="tsd-comment tsd-typography">
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
204
204
|
<aside class="tsd-sources">
|
|
205
205
|
<ul>
|
|
206
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
206
|
+
<li>Defined in packages/core/src/util/renderer.ts:339</li>
|
|
207
207
|
</ul>
|
|
208
208
|
</aside>
|
|
209
209
|
<div class="tsd-comment tsd-typography">
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
<aside class="tsd-sources">
|
|
220
220
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#path">path</a></p>
|
|
221
221
|
<ul>
|
|
222
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
222
|
+
<li>Defined in packages/core/src/util/renderer.ts:300</li>
|
|
223
223
|
</ul>
|
|
224
224
|
</aside>
|
|
225
225
|
<div class="tsd-comment tsd-typography">
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
<aside class="tsd-sources">
|
|
236
236
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#renderers">renderers</a></p>
|
|
237
237
|
<ul>
|
|
238
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
238
|
+
<li>Defined in packages/core/src/util/renderer.ts:305</li>
|
|
239
239
|
</ul>
|
|
240
240
|
</aside>
|
|
241
241
|
<div class="tsd-comment tsd-typography">
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
<div class="tsd-signature tsd-kind-icon">root<wbr>Schema<span class="tsd-signature-symbol">:</span> <a href="../globals.html#jsonschema" class="tsd-signature-type">JsonSchema</a></div>
|
|
251
251
|
<aside class="tsd-sources">
|
|
252
252
|
<ul>
|
|
253
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
253
|
+
<li>Defined in packages/core/src/util/renderer.ts:334</li>
|
|
254
254
|
</ul>
|
|
255
255
|
</aside>
|
|
256
256
|
<div class="tsd-comment tsd-typography">
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
<aside class="tsd-sources">
|
|
267
267
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#schema">schema</a></p>
|
|
268
268
|
<ul>
|
|
269
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
269
|
+
<li>Defined in packages/core/src/util/renderer.ts:281</li>
|
|
270
270
|
</ul>
|
|
271
271
|
</aside>
|
|
272
272
|
<div class="tsd-comment tsd-typography">
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
<aside class="tsd-sources">
|
|
283
283
|
<p>Overrides <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#uischema">uischema</a></p>
|
|
284
284
|
<ul>
|
|
285
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
285
|
+
<li>Defined in packages/core/src/util/renderer.ts:319</li>
|
|
286
286
|
</ul>
|
|
287
287
|
</aside>
|
|
288
288
|
</section>
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
<aside class="tsd-sources">
|
|
294
294
|
<p>Inherited from <a href="statepropsofrenderer.html">StatePropsOfRenderer</a>.<a href="statepropsofrenderer.html#visible">visible</a></p>
|
|
295
295
|
<ul>
|
|
296
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
296
|
+
<li>Defined in packages/core/src/util/renderer.ts:295</li>
|
|
297
297
|
</ul>
|
|
298
298
|
</aside>
|
|
299
299
|
<div class="tsd-comment tsd-typography">
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
<div class="tsd-signature tsd-kind-icon">class<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
94
94
|
<aside class="tsd-sources">
|
|
95
95
|
<ul>
|
|
96
|
-
<li>Defined in packages/core/src/util/renderer.ts:
|
|
96
|
+
<li>Defined in packages/core/src/util/renderer.ts:170</li>
|
|
97
97
|
</ul>
|
|
98
98
|
</aside>
|
|
99
99
|
</section>
|
package/lib/Helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ControlElement, JsonSchema, LabelDescription } from './models';
|
|
2
|
-
export declare const Helpers: {
|
|
3
|
-
createLabelDescriptionFrom(withLabel: ControlElement, schema: JsonSchema): LabelDescription;
|
|
4
|
-
convertToValidClassName(s: string): string;
|
|
5
|
-
};
|
|
1
|
+
import { ControlElement, JsonSchema, LabelDescription } from './models';
|
|
2
|
+
export declare const Helpers: {
|
|
3
|
+
createLabelDescriptionFrom(withLabel: ControlElement, schema: JsonSchema): LabelDescription;
|
|
4
|
+
convertToValidClassName(s: string): string;
|
|
5
|
+
};
|
package/lib/actions/actions.d.ts
CHANGED
|
@@ -1,181 +1,181 @@
|
|
|
1
|
-
import AJV, { ErrorObject } from 'ajv';
|
|
2
|
-
import { JsonSchema, UISchemaElement } from '../models';
|
|
3
|
-
import { RankedTester } from '../testers';
|
|
4
|
-
import { UISchemaTester, ValidationMode } from '../reducers';
|
|
5
|
-
import { ErrorTranslator, Translator } from '../i18n';
|
|
6
|
-
export declare const INIT: 'jsonforms/INIT';
|
|
7
|
-
export declare const UPDATE_CORE: 'jsonforms/UPDATE_CORE';
|
|
8
|
-
export declare const SET_AJV: 'jsonforms/SET_AJV';
|
|
9
|
-
export declare const UPDATE_DATA: 'jsonforms/UPDATE';
|
|
10
|
-
export declare const UPDATE_ERRORS: 'jsonforms/UPDATE_ERRORS';
|
|
11
|
-
export declare const VALIDATE: 'jsonforms/VALIDATE';
|
|
12
|
-
export declare const ADD_RENDERER: 'jsonforms/ADD_RENDERER';
|
|
13
|
-
export declare const REMOVE_RENDERER: 'jsonforms/REMOVE_RENDERER';
|
|
14
|
-
export declare const ADD_CELL: 'jsonforms/ADD_CELL';
|
|
15
|
-
export declare const REMOVE_CELL: 'jsonforms/REMOVE_CELL';
|
|
16
|
-
export declare const SET_CONFIG: 'jsonforms/SET_CONFIG';
|
|
17
|
-
export declare const ADD_UI_SCHEMA: 'jsonforms/ADD_UI_SCHEMA';
|
|
18
|
-
export declare const REMOVE_UI_SCHEMA: 'jsonforms/REMOVE_UI_SCHEMA';
|
|
19
|
-
export declare const SET_SCHEMA: 'jsonforms/SET_SCHEMA';
|
|
20
|
-
export declare const SET_UISCHEMA: 'jsonforms/SET_UISCHEMA';
|
|
21
|
-
export declare const SET_VALIDATION_MODE: 'jsonforms/SET_VALIDATION_MODE';
|
|
22
|
-
export declare const SET_LOCALE: 'jsonforms/SET_LOCALE';
|
|
23
|
-
export declare const SET_TRANSLATOR: 'jsonforms/SET_TRANSLATOR';
|
|
24
|
-
export declare const UPDATE_I18N: 'jsonforms/UPDATE_I18N';
|
|
25
|
-
export declare const ADD_DEFAULT_DATA: 'jsonforms/ADD_DEFAULT_DATA';
|
|
26
|
-
export declare const REMOVE_DEFAULT_DATA: 'jsonforms/REMOVE_DEFAULT_DATA';
|
|
27
|
-
export declare type CoreActions = InitAction | UpdateCoreAction | UpdateAction | UpdateErrorsAction | SetAjvAction | SetSchemaAction | SetUISchemaAction | SetValidationModeAction;
|
|
28
|
-
export interface UpdateAction {
|
|
29
|
-
type: 'jsonforms/UPDATE';
|
|
30
|
-
path: string;
|
|
31
|
-
updater(existingData?: any): any;
|
|
32
|
-
}
|
|
33
|
-
export interface UpdateErrorsAction {
|
|
34
|
-
type: 'jsonforms/UPDATE_ERRORS';
|
|
35
|
-
errors: ErrorObject[];
|
|
36
|
-
}
|
|
37
|
-
export interface InitAction {
|
|
38
|
-
type: 'jsonforms/INIT';
|
|
39
|
-
data: any;
|
|
40
|
-
schema: JsonSchema;
|
|
41
|
-
uischema: UISchemaElement;
|
|
42
|
-
options?: InitActionOptions | AJV;
|
|
43
|
-
}
|
|
44
|
-
export interface UpdateCoreAction {
|
|
45
|
-
type: 'jsonforms/UPDATE_CORE';
|
|
46
|
-
data?: any;
|
|
47
|
-
schema?: JsonSchema;
|
|
48
|
-
uischema?: UISchemaElement;
|
|
49
|
-
options?: InitActionOptions | AJV;
|
|
50
|
-
}
|
|
51
|
-
export interface InitActionOptions {
|
|
52
|
-
ajv?: AJV;
|
|
53
|
-
validationMode?: ValidationMode;
|
|
54
|
-
}
|
|
55
|
-
export interface SetValidationModeAction {
|
|
56
|
-
type: 'jsonforms/SET_VALIDATION_MODE';
|
|
57
|
-
validationMode: ValidationMode;
|
|
58
|
-
}
|
|
59
|
-
export declare const init: (data: any, schema?: JsonSchema, uischema?: UISchemaElement, options?: InitActionOptions | AJV) => {
|
|
60
|
-
type: "jsonforms/INIT";
|
|
61
|
-
data: any;
|
|
62
|
-
schema: JsonSchema;
|
|
63
|
-
uischema: UISchemaElement;
|
|
64
|
-
options: InitActionOptions | AJV;
|
|
65
|
-
};
|
|
66
|
-
export declare const updateCore: (data: any, schema: JsonSchema, uischema?: UISchemaElement, options?: AJV | InitActionOptions) => UpdateCoreAction;
|
|
67
|
-
export interface RegisterDefaultDataAction {
|
|
68
|
-
type: 'jsonforms/ADD_DEFAULT_DATA';
|
|
69
|
-
schemaPath: string;
|
|
70
|
-
data: any;
|
|
71
|
-
}
|
|
72
|
-
export declare const registerDefaultData: (schemaPath: string, data: any) => {
|
|
73
|
-
type: "jsonforms/ADD_DEFAULT_DATA";
|
|
74
|
-
schemaPath: string;
|
|
75
|
-
data: any;
|
|
76
|
-
};
|
|
77
|
-
export interface UnregisterDefaultDataAction {
|
|
78
|
-
type: 'jsonforms/REMOVE_DEFAULT_DATA';
|
|
79
|
-
schemaPath: string;
|
|
80
|
-
}
|
|
81
|
-
export declare const unregisterDefaultData: (schemaPath: string) => {
|
|
82
|
-
type: "jsonforms/REMOVE_DEFAULT_DATA";
|
|
83
|
-
schemaPath: string;
|
|
84
|
-
};
|
|
85
|
-
export interface SetAjvAction {
|
|
86
|
-
type: 'jsonforms/SET_AJV';
|
|
87
|
-
ajv: AJV;
|
|
88
|
-
}
|
|
89
|
-
export declare const setAjv: (ajv: AJV) => {
|
|
90
|
-
type: "jsonforms/SET_AJV";
|
|
91
|
-
ajv: AJV;
|
|
92
|
-
};
|
|
93
|
-
export declare const update: (path: string, updater: (existingData: any) => any) => UpdateAction;
|
|
94
|
-
export declare const updateErrors: (errors: ErrorObject[]) => UpdateErrorsAction;
|
|
95
|
-
export interface AddRendererAction {
|
|
96
|
-
type: 'jsonforms/ADD_RENDERER';
|
|
97
|
-
tester: RankedTester;
|
|
98
|
-
renderer: any;
|
|
99
|
-
}
|
|
100
|
-
export declare const registerRenderer: (tester: RankedTester, renderer: any) => {
|
|
101
|
-
type: "jsonforms/ADD_RENDERER";
|
|
102
|
-
tester: RankedTester;
|
|
103
|
-
renderer: any;
|
|
104
|
-
};
|
|
105
|
-
export interface AddCellRendererAction {
|
|
106
|
-
type: 'jsonforms/ADD_CELL';
|
|
107
|
-
tester: RankedTester;
|
|
108
|
-
cell: any;
|
|
109
|
-
}
|
|
110
|
-
export declare const registerCell: (tester: RankedTester, cell: any) => {
|
|
111
|
-
type: "jsonforms/ADD_CELL";
|
|
112
|
-
tester: RankedTester;
|
|
113
|
-
cell: any;
|
|
114
|
-
};
|
|
115
|
-
export interface RemoveCellRendererAction {
|
|
116
|
-
type: 'jsonforms/REMOVE_CELL';
|
|
117
|
-
tester: RankedTester;
|
|
118
|
-
cell: any;
|
|
119
|
-
}
|
|
120
|
-
export declare const unregisterCell: (tester: RankedTester, cell: any) => {
|
|
121
|
-
type: "jsonforms/REMOVE_CELL";
|
|
122
|
-
tester: RankedTester;
|
|
123
|
-
cell: any;
|
|
124
|
-
};
|
|
125
|
-
export interface RemoveRendererAction {
|
|
126
|
-
type: 'jsonforms/REMOVE_RENDERER';
|
|
127
|
-
tester: RankedTester;
|
|
128
|
-
renderer: any;
|
|
129
|
-
}
|
|
130
|
-
export declare const unregisterRenderer: (tester: RankedTester, renderer: any) => {
|
|
131
|
-
type: "jsonforms/REMOVE_RENDERER";
|
|
132
|
-
tester: RankedTester;
|
|
133
|
-
renderer: any;
|
|
134
|
-
};
|
|
135
|
-
export interface SetConfigAction {
|
|
136
|
-
type: 'jsonforms/SET_CONFIG';
|
|
137
|
-
config: any;
|
|
138
|
-
}
|
|
139
|
-
export declare const setConfig: (config: any) => SetConfigAction;
|
|
140
|
-
export declare const setValidationMode: (validationMode: ValidationMode) => SetValidationModeAction;
|
|
141
|
-
export declare type UISchemaActions = AddUISchemaAction | RemoveUISchemaAction;
|
|
142
|
-
export interface AddUISchemaAction {
|
|
143
|
-
type: 'jsonforms/ADD_UI_SCHEMA';
|
|
144
|
-
tester: UISchemaTester;
|
|
145
|
-
uischema: UISchemaElement;
|
|
146
|
-
}
|
|
147
|
-
export declare const registerUISchema: (tester: UISchemaTester, uischema: UISchemaElement) => AddUISchemaAction;
|
|
148
|
-
export interface RemoveUISchemaAction {
|
|
149
|
-
type: 'jsonforms/REMOVE_UI_SCHEMA';
|
|
150
|
-
tester: UISchemaTester;
|
|
151
|
-
}
|
|
152
|
-
export declare const unregisterUISchema: (tester: UISchemaTester) => RemoveUISchemaAction;
|
|
153
|
-
export declare type I18nActions = SetLocaleAction | SetTranslatorAction | UpdateI18nAction;
|
|
154
|
-
export interface SetLocaleAction {
|
|
155
|
-
type: 'jsonforms/SET_LOCALE';
|
|
156
|
-
locale: string | undefined;
|
|
157
|
-
}
|
|
158
|
-
export declare const setLocale: (locale: string | undefined) => SetLocaleAction;
|
|
159
|
-
export interface SetSchemaAction {
|
|
160
|
-
type: 'jsonforms/SET_SCHEMA';
|
|
161
|
-
schema: JsonSchema;
|
|
162
|
-
}
|
|
163
|
-
export declare const setSchema: (schema: JsonSchema) => SetSchemaAction;
|
|
164
|
-
export interface SetTranslatorAction {
|
|
165
|
-
type: 'jsonforms/SET_TRANSLATOR';
|
|
166
|
-
translator?: Translator;
|
|
167
|
-
errorTranslator?: ErrorTranslator;
|
|
168
|
-
}
|
|
169
|
-
export declare const setTranslator: (translator?: Translator, errorTranslator?: ErrorTranslator) => SetTranslatorAction;
|
|
170
|
-
export interface UpdateI18nAction {
|
|
171
|
-
type: 'jsonforms/UPDATE_I18N';
|
|
172
|
-
locale: string | undefined;
|
|
173
|
-
translator: Translator | undefined;
|
|
174
|
-
errorTranslator: ErrorTranslator | undefined;
|
|
175
|
-
}
|
|
176
|
-
export declare const updateI18n: (locale: string | undefined, translator: Translator | undefined, errorTranslator: ErrorTranslator | undefined) => UpdateI18nAction;
|
|
177
|
-
export interface SetUISchemaAction {
|
|
178
|
-
type: 'jsonforms/SET_UISCHEMA';
|
|
179
|
-
uischema: UISchemaElement;
|
|
180
|
-
}
|
|
181
|
-
export declare const setUISchema: (uischema: UISchemaElement) => SetUISchemaAction;
|
|
1
|
+
import AJV, { ErrorObject } from 'ajv';
|
|
2
|
+
import { JsonSchema, UISchemaElement } from '../models';
|
|
3
|
+
import { RankedTester } from '../testers';
|
|
4
|
+
import { UISchemaTester, ValidationMode } from '../reducers';
|
|
5
|
+
import { ErrorTranslator, Translator } from '../i18n';
|
|
6
|
+
export declare const INIT: 'jsonforms/INIT';
|
|
7
|
+
export declare const UPDATE_CORE: 'jsonforms/UPDATE_CORE';
|
|
8
|
+
export declare const SET_AJV: 'jsonforms/SET_AJV';
|
|
9
|
+
export declare const UPDATE_DATA: 'jsonforms/UPDATE';
|
|
10
|
+
export declare const UPDATE_ERRORS: 'jsonforms/UPDATE_ERRORS';
|
|
11
|
+
export declare const VALIDATE: 'jsonforms/VALIDATE';
|
|
12
|
+
export declare const ADD_RENDERER: 'jsonforms/ADD_RENDERER';
|
|
13
|
+
export declare const REMOVE_RENDERER: 'jsonforms/REMOVE_RENDERER';
|
|
14
|
+
export declare const ADD_CELL: 'jsonforms/ADD_CELL';
|
|
15
|
+
export declare const REMOVE_CELL: 'jsonforms/REMOVE_CELL';
|
|
16
|
+
export declare const SET_CONFIG: 'jsonforms/SET_CONFIG';
|
|
17
|
+
export declare const ADD_UI_SCHEMA: 'jsonforms/ADD_UI_SCHEMA';
|
|
18
|
+
export declare const REMOVE_UI_SCHEMA: 'jsonforms/REMOVE_UI_SCHEMA';
|
|
19
|
+
export declare const SET_SCHEMA: 'jsonforms/SET_SCHEMA';
|
|
20
|
+
export declare const SET_UISCHEMA: 'jsonforms/SET_UISCHEMA';
|
|
21
|
+
export declare const SET_VALIDATION_MODE: 'jsonforms/SET_VALIDATION_MODE';
|
|
22
|
+
export declare const SET_LOCALE: 'jsonforms/SET_LOCALE';
|
|
23
|
+
export declare const SET_TRANSLATOR: 'jsonforms/SET_TRANSLATOR';
|
|
24
|
+
export declare const UPDATE_I18N: 'jsonforms/UPDATE_I18N';
|
|
25
|
+
export declare const ADD_DEFAULT_DATA: 'jsonforms/ADD_DEFAULT_DATA';
|
|
26
|
+
export declare const REMOVE_DEFAULT_DATA: 'jsonforms/REMOVE_DEFAULT_DATA';
|
|
27
|
+
export declare type CoreActions = InitAction | UpdateCoreAction | UpdateAction | UpdateErrorsAction | SetAjvAction | SetSchemaAction | SetUISchemaAction | SetValidationModeAction;
|
|
28
|
+
export interface UpdateAction {
|
|
29
|
+
type: 'jsonforms/UPDATE';
|
|
30
|
+
path: string;
|
|
31
|
+
updater(existingData?: any): any;
|
|
32
|
+
}
|
|
33
|
+
export interface UpdateErrorsAction {
|
|
34
|
+
type: 'jsonforms/UPDATE_ERRORS';
|
|
35
|
+
errors: ErrorObject[];
|
|
36
|
+
}
|
|
37
|
+
export interface InitAction {
|
|
38
|
+
type: 'jsonforms/INIT';
|
|
39
|
+
data: any;
|
|
40
|
+
schema: JsonSchema;
|
|
41
|
+
uischema: UISchemaElement;
|
|
42
|
+
options?: InitActionOptions | AJV;
|
|
43
|
+
}
|
|
44
|
+
export interface UpdateCoreAction {
|
|
45
|
+
type: 'jsonforms/UPDATE_CORE';
|
|
46
|
+
data?: any;
|
|
47
|
+
schema?: JsonSchema;
|
|
48
|
+
uischema?: UISchemaElement;
|
|
49
|
+
options?: InitActionOptions | AJV;
|
|
50
|
+
}
|
|
51
|
+
export interface InitActionOptions {
|
|
52
|
+
ajv?: AJV;
|
|
53
|
+
validationMode?: ValidationMode;
|
|
54
|
+
}
|
|
55
|
+
export interface SetValidationModeAction {
|
|
56
|
+
type: 'jsonforms/SET_VALIDATION_MODE';
|
|
57
|
+
validationMode: ValidationMode;
|
|
58
|
+
}
|
|
59
|
+
export declare const init: (data: any, schema?: JsonSchema, uischema?: UISchemaElement, options?: InitActionOptions | AJV) => {
|
|
60
|
+
type: "jsonforms/INIT";
|
|
61
|
+
data: any;
|
|
62
|
+
schema: JsonSchema;
|
|
63
|
+
uischema: UISchemaElement;
|
|
64
|
+
options: InitActionOptions | AJV;
|
|
65
|
+
};
|
|
66
|
+
export declare const updateCore: (data: any, schema: JsonSchema, uischema?: UISchemaElement, options?: AJV | InitActionOptions) => UpdateCoreAction;
|
|
67
|
+
export interface RegisterDefaultDataAction {
|
|
68
|
+
type: 'jsonforms/ADD_DEFAULT_DATA';
|
|
69
|
+
schemaPath: string;
|
|
70
|
+
data: any;
|
|
71
|
+
}
|
|
72
|
+
export declare const registerDefaultData: (schemaPath: string, data: any) => {
|
|
73
|
+
type: "jsonforms/ADD_DEFAULT_DATA";
|
|
74
|
+
schemaPath: string;
|
|
75
|
+
data: any;
|
|
76
|
+
};
|
|
77
|
+
export interface UnregisterDefaultDataAction {
|
|
78
|
+
type: 'jsonforms/REMOVE_DEFAULT_DATA';
|
|
79
|
+
schemaPath: string;
|
|
80
|
+
}
|
|
81
|
+
export declare const unregisterDefaultData: (schemaPath: string) => {
|
|
82
|
+
type: "jsonforms/REMOVE_DEFAULT_DATA";
|
|
83
|
+
schemaPath: string;
|
|
84
|
+
};
|
|
85
|
+
export interface SetAjvAction {
|
|
86
|
+
type: 'jsonforms/SET_AJV';
|
|
87
|
+
ajv: AJV;
|
|
88
|
+
}
|
|
89
|
+
export declare const setAjv: (ajv: AJV) => {
|
|
90
|
+
type: "jsonforms/SET_AJV";
|
|
91
|
+
ajv: AJV;
|
|
92
|
+
};
|
|
93
|
+
export declare const update: (path: string, updater: (existingData: any) => any) => UpdateAction;
|
|
94
|
+
export declare const updateErrors: (errors: ErrorObject[]) => UpdateErrorsAction;
|
|
95
|
+
export interface AddRendererAction {
|
|
96
|
+
type: 'jsonforms/ADD_RENDERER';
|
|
97
|
+
tester: RankedTester;
|
|
98
|
+
renderer: any;
|
|
99
|
+
}
|
|
100
|
+
export declare const registerRenderer: (tester: RankedTester, renderer: any) => {
|
|
101
|
+
type: "jsonforms/ADD_RENDERER";
|
|
102
|
+
tester: RankedTester;
|
|
103
|
+
renderer: any;
|
|
104
|
+
};
|
|
105
|
+
export interface AddCellRendererAction {
|
|
106
|
+
type: 'jsonforms/ADD_CELL';
|
|
107
|
+
tester: RankedTester;
|
|
108
|
+
cell: any;
|
|
109
|
+
}
|
|
110
|
+
export declare const registerCell: (tester: RankedTester, cell: any) => {
|
|
111
|
+
type: "jsonforms/ADD_CELL";
|
|
112
|
+
tester: RankedTester;
|
|
113
|
+
cell: any;
|
|
114
|
+
};
|
|
115
|
+
export interface RemoveCellRendererAction {
|
|
116
|
+
type: 'jsonforms/REMOVE_CELL';
|
|
117
|
+
tester: RankedTester;
|
|
118
|
+
cell: any;
|
|
119
|
+
}
|
|
120
|
+
export declare const unregisterCell: (tester: RankedTester, cell: any) => {
|
|
121
|
+
type: "jsonforms/REMOVE_CELL";
|
|
122
|
+
tester: RankedTester;
|
|
123
|
+
cell: any;
|
|
124
|
+
};
|
|
125
|
+
export interface RemoveRendererAction {
|
|
126
|
+
type: 'jsonforms/REMOVE_RENDERER';
|
|
127
|
+
tester: RankedTester;
|
|
128
|
+
renderer: any;
|
|
129
|
+
}
|
|
130
|
+
export declare const unregisterRenderer: (tester: RankedTester, renderer: any) => {
|
|
131
|
+
type: "jsonforms/REMOVE_RENDERER";
|
|
132
|
+
tester: RankedTester;
|
|
133
|
+
renderer: any;
|
|
134
|
+
};
|
|
135
|
+
export interface SetConfigAction {
|
|
136
|
+
type: 'jsonforms/SET_CONFIG';
|
|
137
|
+
config: any;
|
|
138
|
+
}
|
|
139
|
+
export declare const setConfig: (config: any) => SetConfigAction;
|
|
140
|
+
export declare const setValidationMode: (validationMode: ValidationMode) => SetValidationModeAction;
|
|
141
|
+
export declare type UISchemaActions = AddUISchemaAction | RemoveUISchemaAction;
|
|
142
|
+
export interface AddUISchemaAction {
|
|
143
|
+
type: 'jsonforms/ADD_UI_SCHEMA';
|
|
144
|
+
tester: UISchemaTester;
|
|
145
|
+
uischema: UISchemaElement;
|
|
146
|
+
}
|
|
147
|
+
export declare const registerUISchema: (tester: UISchemaTester, uischema: UISchemaElement) => AddUISchemaAction;
|
|
148
|
+
export interface RemoveUISchemaAction {
|
|
149
|
+
type: 'jsonforms/REMOVE_UI_SCHEMA';
|
|
150
|
+
tester: UISchemaTester;
|
|
151
|
+
}
|
|
152
|
+
export declare const unregisterUISchema: (tester: UISchemaTester) => RemoveUISchemaAction;
|
|
153
|
+
export declare type I18nActions = SetLocaleAction | SetTranslatorAction | UpdateI18nAction;
|
|
154
|
+
export interface SetLocaleAction {
|
|
155
|
+
type: 'jsonforms/SET_LOCALE';
|
|
156
|
+
locale: string | undefined;
|
|
157
|
+
}
|
|
158
|
+
export declare const setLocale: (locale: string | undefined) => SetLocaleAction;
|
|
159
|
+
export interface SetSchemaAction {
|
|
160
|
+
type: 'jsonforms/SET_SCHEMA';
|
|
161
|
+
schema: JsonSchema;
|
|
162
|
+
}
|
|
163
|
+
export declare const setSchema: (schema: JsonSchema) => SetSchemaAction;
|
|
164
|
+
export interface SetTranslatorAction {
|
|
165
|
+
type: 'jsonforms/SET_TRANSLATOR';
|
|
166
|
+
translator?: Translator;
|
|
167
|
+
errorTranslator?: ErrorTranslator;
|
|
168
|
+
}
|
|
169
|
+
export declare const setTranslator: (translator?: Translator, errorTranslator?: ErrorTranslator) => SetTranslatorAction;
|
|
170
|
+
export interface UpdateI18nAction {
|
|
171
|
+
type: 'jsonforms/UPDATE_I18N';
|
|
172
|
+
locale: string | undefined;
|
|
173
|
+
translator: Translator | undefined;
|
|
174
|
+
errorTranslator: ErrorTranslator | undefined;
|
|
175
|
+
}
|
|
176
|
+
export declare const updateI18n: (locale: string | undefined, translator: Translator | undefined, errorTranslator: ErrorTranslator | undefined) => UpdateI18nAction;
|
|
177
|
+
export interface SetUISchemaAction {
|
|
178
|
+
type: 'jsonforms/SET_UISCHEMA';
|
|
179
|
+
uischema: UISchemaElement;
|
|
180
|
+
}
|
|
181
|
+
export declare const setUISchema: (uischema: UISchemaElement) => SetUISchemaAction;
|
package/lib/actions/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './actions';
|
|
1
|
+
export * from './actions';
|
package/lib/configDefault.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const configDefault: {
|
|
2
|
-
restrict: boolean;
|
|
3
|
-
trim: boolean;
|
|
4
|
-
showUnfocusedDescription: boolean;
|
|
5
|
-
hideRequiredAsterisk: boolean;
|
|
6
|
-
};
|
|
1
|
+
export declare const configDefault: {
|
|
2
|
+
restrict: boolean;
|
|
3
|
+
trim: boolean;
|
|
4
|
+
showUnfocusedDescription: boolean;
|
|
5
|
+
hideRequiredAsterisk: boolean;
|
|
6
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ControlElement, JsonSchema, UISchemaElement } from '../';
|
|
2
|
-
export declare const Generate: {
|
|
3
|
-
jsonSchema(instance: Object, options?: any): JsonSchema;
|
|
4
|
-
uiSchema(jsonSchema: JsonSchema, layoutType?: string, prefix?: string, rootSchema?: JsonSchema): UISchemaElement;
|
|
5
|
-
controlElement(ref: string): ControlElement;
|
|
6
|
-
};
|
|
1
|
+
import { ControlElement, JsonSchema, UISchemaElement } from '../';
|
|
2
|
+
export declare const Generate: {
|
|
3
|
+
jsonSchema(instance: Object, options?: any): JsonSchema;
|
|
4
|
+
uiSchema(jsonSchema: JsonSchema, layoutType?: string, prefix?: string, rootSchema?: JsonSchema): UISchemaElement;
|
|
5
|
+
controlElement(ref: string): ControlElement;
|
|
6
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Generate';
|
|
2
|
-
export * from './schema';
|
|
3
|
-
export * from './uischema';
|
|
1
|
+
export * from './Generate';
|
|
2
|
+
export * from './schema';
|
|
3
|
+
export * from './uischema';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { JsonSchema4 } from '../models';
|
|
2
|
-
/**
|
|
3
|
-
* Generate a JSON schema based on the given data and any additional options.
|
|
4
|
-
* @param {Object} instance the data to create a JSON schema for
|
|
5
|
-
* @param {any} options any additional options that may alter the generated JSON schema
|
|
6
|
-
* @returns {JsonSchema} the generated schema
|
|
7
|
-
*/
|
|
8
|
-
export declare const generateJsonSchema: (instance: Object, options?: any) => JsonSchema4;
|
|
1
|
+
import { JsonSchema4 } from '../models';
|
|
2
|
+
/**
|
|
3
|
+
* Generate a JSON schema based on the given data and any additional options.
|
|
4
|
+
* @param {Object} instance the data to create a JSON schema for
|
|
5
|
+
* @param {any} options any additional options that may alter the generated JSON schema
|
|
6
|
+
* @returns {JsonSchema} the generated schema
|
|
7
|
+
*/
|
|
8
|
+
export declare const generateJsonSchema: (instance: Object, options?: any) => JsonSchema4;
|