@jsonforms/core 3.0.0-rc.1 → 3.0.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
|
@@ -295,9 +295,9 @@ var RuleEffect;
|
|
|
295
295
|
const isInternationalized = (element) => typeof element === 'object' && element !== null && typeof element.i18n === 'string';
|
|
296
296
|
const isGroup = (layout) => layout.type === 'Group';
|
|
297
297
|
const isLayout = (uischema) => uischema.elements !== undefined;
|
|
298
|
-
const isScopable = (obj) => obj && typeof obj === 'object';
|
|
298
|
+
const isScopable = (obj) => !!obj && typeof obj === 'object';
|
|
299
299
|
const isScoped = (obj) => isScopable(obj) && typeof obj.scope === 'string';
|
|
300
|
-
const isLabelable = (obj) => obj && typeof obj === 'object';
|
|
300
|
+
const isLabelable = (obj) => !!obj && typeof obj === 'object';
|
|
301
301
|
const isLabeled = (obj) => isLabelable(obj) && ['string', 'boolean'].includes(typeof obj.label);
|
|
302
302
|
|
|
303
303
|
const move = (array, index, delta) => {
|