@jsonforms/core 3.0.0-rc.1 → 3.1.0-alpha.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/assets/js/search.json +1 -1
- package/docs/interfaces/categorization.html +18 -0
- package/docs/interfaces/category.html +18 -0
- package/docs/interfaces/grouplayout.html +18 -0
- package/docs/interfaces/internationalizable.html +9 -0
- package/lib/jsonforms-core.cjs.js +2 -2
- package/lib/jsonforms-core.cjs.js.map +1 -1
- package/lib/jsonforms-core.esm.js +2 -2
- package/lib/jsonforms-core.esm.js.map +1 -1
- package/lib/models/uischema.d.ts +3 -3
- package/package.json +2 -2
- package/src/models/uischema.ts +5 -5
- package/stats.html +1 -1
|
@@ -89,6 +89,9 @@
|
|
|
89
89
|
</li>
|
|
90
90
|
<li>
|
|
91
91
|
<a href="labeled.html" class="tsd-signature-type">Labeled</a>
|
|
92
|
+
</li>
|
|
93
|
+
<li>
|
|
94
|
+
<a href="internationalizable.html" class="tsd-signature-type">Internationalizable</a>
|
|
92
95
|
<ul class="tsd-hierarchy">
|
|
93
96
|
<li>
|
|
94
97
|
<span class="target">Categorization</span>
|
|
@@ -105,6 +108,7 @@
|
|
|
105
108
|
<h3>Properties</h3>
|
|
106
109
|
<ul class="tsd-index-list">
|
|
107
110
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="categorization.html#elements" class="tsd-kind-icon">elements</a></li>
|
|
111
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="categorization.html#i18n" class="tsd-kind-icon">i18n</a></li>
|
|
108
112
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited"><a href="categorization.html#label" class="tsd-kind-icon">label</a></li>
|
|
109
113
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="categorization.html#options" class="tsd-kind-icon">options</a></li>
|
|
110
114
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="categorization.html#rule" class="tsd-kind-icon">rule</a></li>
|
|
@@ -132,6 +136,17 @@
|
|
|
132
136
|
</div>
|
|
133
137
|
</div>
|
|
134
138
|
</section>
|
|
139
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
140
|
+
<a name="i18n" class="tsd-anchor"></a>
|
|
141
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> i18n</h3>
|
|
142
|
+
<div class="tsd-signature tsd-kind-icon">i18n<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
143
|
+
<aside class="tsd-sources">
|
|
144
|
+
<p>Inherited from <a href="internationalizable.html">Internationalizable</a>.<a href="internationalizable.html#i18n">i18n</a></p>
|
|
145
|
+
<ul>
|
|
146
|
+
<li>Defined in packages/core/src/models/uischema.ts:73</li>
|
|
147
|
+
</ul>
|
|
148
|
+
</aside>
|
|
149
|
+
</section>
|
|
135
150
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited">
|
|
136
151
|
<a name="label" class="tsd-anchor"></a>
|
|
137
152
|
<h3>label</h3>
|
|
@@ -215,6 +230,9 @@
|
|
|
215
230
|
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
216
231
|
<a href="categorization.html#elements" class="tsd-kind-icon">elements</a>
|
|
217
232
|
</li>
|
|
233
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
234
|
+
<a href="categorization.html#i18n" class="tsd-kind-icon">i18n</a>
|
|
235
|
+
</li>
|
|
218
236
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited">
|
|
219
237
|
<a href="categorization.html#label" class="tsd-kind-icon">label</a>
|
|
220
238
|
</li>
|
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
</li>
|
|
88
88
|
<li>
|
|
89
89
|
<a href="labeled.html" class="tsd-signature-type">Labeled</a>
|
|
90
|
+
</li>
|
|
91
|
+
<li>
|
|
92
|
+
<a href="internationalizable.html" class="tsd-signature-type">Internationalizable</a>
|
|
90
93
|
<ul class="tsd-hierarchy">
|
|
91
94
|
<li>
|
|
92
95
|
<span class="target">Category</span>
|
|
@@ -103,6 +106,7 @@
|
|
|
103
106
|
<h3>Properties</h3>
|
|
104
107
|
<ul class="tsd-index-list">
|
|
105
108
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="category.html#elements" class="tsd-kind-icon">elements</a></li>
|
|
109
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="category.html#i18n" class="tsd-kind-icon">i18n</a></li>
|
|
106
110
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited"><a href="category.html#label" class="tsd-kind-icon">label</a></li>
|
|
107
111
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="category.html#options" class="tsd-kind-icon">options</a></li>
|
|
108
112
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="category.html#rule" class="tsd-kind-icon">rule</a></li>
|
|
@@ -130,6 +134,17 @@
|
|
|
130
134
|
</div>
|
|
131
135
|
</div>
|
|
132
136
|
</section>
|
|
137
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
138
|
+
<a name="i18n" class="tsd-anchor"></a>
|
|
139
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> i18n</h3>
|
|
140
|
+
<div class="tsd-signature tsd-kind-icon">i18n<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
141
|
+
<aside class="tsd-sources">
|
|
142
|
+
<p>Inherited from <a href="internationalizable.html">Internationalizable</a>.<a href="internationalizable.html#i18n">i18n</a></p>
|
|
143
|
+
<ul>
|
|
144
|
+
<li>Defined in packages/core/src/models/uischema.ts:73</li>
|
|
145
|
+
</ul>
|
|
146
|
+
</aside>
|
|
147
|
+
</section>
|
|
133
148
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited">
|
|
134
149
|
<a name="label" class="tsd-anchor"></a>
|
|
135
150
|
<h3>label</h3>
|
|
@@ -213,6 +228,9 @@
|
|
|
213
228
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
214
229
|
<a href="category.html#elements" class="tsd-kind-icon">elements</a>
|
|
215
230
|
</li>
|
|
231
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
232
|
+
<a href="category.html#i18n" class="tsd-kind-icon">i18n</a>
|
|
233
|
+
</li>
|
|
216
234
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited">
|
|
217
235
|
<a href="category.html#label" class="tsd-kind-icon">label</a>
|
|
218
236
|
</li>
|
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
</li>
|
|
89
89
|
<li>
|
|
90
90
|
<a href="labelable.html" class="tsd-signature-type">Labelable</a>
|
|
91
|
+
</li>
|
|
92
|
+
<li>
|
|
93
|
+
<a href="internationalizable.html" class="tsd-signature-type">Internationalizable</a>
|
|
91
94
|
<ul class="tsd-hierarchy">
|
|
92
95
|
<li>
|
|
93
96
|
<span class="target">GroupLayout</span>
|
|
@@ -104,6 +107,7 @@
|
|
|
104
107
|
<h3>Properties</h3>
|
|
105
108
|
<ul class="tsd-index-list">
|
|
106
109
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="grouplayout.html#elements" class="tsd-kind-icon">elements</a></li>
|
|
110
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="grouplayout.html#i18n" class="tsd-kind-icon">i18n</a></li>
|
|
107
111
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="grouplayout.html#label" class="tsd-kind-icon">label</a></li>
|
|
108
112
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="grouplayout.html#options" class="tsd-kind-icon">options</a></li>
|
|
109
113
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="grouplayout.html#rule" class="tsd-kind-icon">rule</a></li>
|
|
@@ -131,6 +135,17 @@
|
|
|
131
135
|
</div>
|
|
132
136
|
</div>
|
|
133
137
|
</section>
|
|
138
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
139
|
+
<a name="i18n" class="tsd-anchor"></a>
|
|
140
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> i18n</h3>
|
|
141
|
+
<div class="tsd-signature tsd-kind-icon">i18n<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
142
|
+
<aside class="tsd-sources">
|
|
143
|
+
<p>Inherited from <a href="internationalizable.html">Internationalizable</a>.<a href="internationalizable.html#i18n">i18n</a></p>
|
|
144
|
+
<ul>
|
|
145
|
+
<li>Defined in packages/core/src/models/uischema.ts:73</li>
|
|
146
|
+
</ul>
|
|
147
|
+
</aside>
|
|
148
|
+
</section>
|
|
134
149
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
135
150
|
<a name="label" class="tsd-anchor"></a>
|
|
136
151
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> label</h3>
|
|
@@ -218,6 +233,9 @@
|
|
|
218
233
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
219
234
|
<a href="grouplayout.html#elements" class="tsd-kind-icon">elements</a>
|
|
220
235
|
</li>
|
|
236
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
237
|
+
<a href="grouplayout.html#i18n" class="tsd-kind-icon">i18n</a>
|
|
238
|
+
</li>
|
|
221
239
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
222
240
|
<a href="grouplayout.html#label" class="tsd-kind-icon">label</a>
|
|
223
241
|
</li>
|
|
@@ -70,12 +70,21 @@
|
|
|
70
70
|
<li>
|
|
71
71
|
<span class="target">Internationalizable</span>
|
|
72
72
|
<ul class="tsd-hierarchy">
|
|
73
|
+
<li>
|
|
74
|
+
<a href="grouplayout.html" class="tsd-signature-type">GroupLayout</a>
|
|
75
|
+
</li>
|
|
73
76
|
<li>
|
|
74
77
|
<a href="labelelement.html" class="tsd-signature-type">LabelElement</a>
|
|
75
78
|
</li>
|
|
76
79
|
<li>
|
|
77
80
|
<a href="controlelement.html" class="tsd-signature-type">ControlElement</a>
|
|
78
81
|
</li>
|
|
82
|
+
<li>
|
|
83
|
+
<a href="category.html" class="tsd-signature-type">Category</a>
|
|
84
|
+
</li>
|
|
85
|
+
<li>
|
|
86
|
+
<a href="categorization.html" class="tsd-signature-type">Categorization</a>
|
|
87
|
+
</li>
|
|
79
88
|
</ul>
|
|
80
89
|
</li>
|
|
81
90
|
</ul>
|
|
@@ -338,13 +338,13 @@ var isLayout = function (uischema) {
|
|
|
338
338
|
return uischema.elements !== undefined;
|
|
339
339
|
};
|
|
340
340
|
var isScopable = function (obj) {
|
|
341
|
-
return obj && typeof obj === 'object';
|
|
341
|
+
return !!obj && typeof obj === 'object';
|
|
342
342
|
};
|
|
343
343
|
var isScoped = function (obj) {
|
|
344
344
|
return isScopable(obj) && typeof obj.scope === 'string';
|
|
345
345
|
};
|
|
346
346
|
var isLabelable = function (obj) {
|
|
347
|
-
return obj && typeof obj === 'object';
|
|
347
|
+
return !!obj && typeof obj === 'object';
|
|
348
348
|
};
|
|
349
349
|
var isLabeled = function (obj) {
|
|
350
350
|
return isLabelable(obj) && ['string', 'boolean'].includes(typeof obj.label);
|