@jsonforms/core 3.5.0-beta.0 → 3.5.0-beta.2
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/lib/jsonforms-core.cjs.js +5 -4
- package/lib/jsonforms-core.cjs.js.map +1 -1
- package/lib/jsonforms-core.esm.js +3 -3
- package/lib/jsonforms-core.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/mappers/renderer.ts +1 -1
- package/src/reducers/core.ts +1 -1
- package/src/util/resolvers.ts +2 -1
package/package.json
CHANGED
package/src/mappers/renderer.ts
CHANGED
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
} from '../store';
|
|
86
86
|
import { isInherentlyEnabled } from './util';
|
|
87
87
|
import { CombinatorKeyword } from './combinators';
|
|
88
|
-
import
|
|
88
|
+
import isEqual from 'lodash/isEqual';
|
|
89
89
|
|
|
90
90
|
const move = (array: any[], index: number, delta: number) => {
|
|
91
91
|
const newIndex: number = index + delta;
|
package/src/reducers/core.ts
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from '../actions';
|
|
45
45
|
import { JsonFormsCore, Reducer, ValidationMode } from '../store';
|
|
46
46
|
import Ajv, { ErrorObject } from 'ajv';
|
|
47
|
-
import
|
|
47
|
+
import isFunction from 'lodash/isFunction';
|
|
48
48
|
import { createAjv, validate } from '../util';
|
|
49
49
|
|
|
50
50
|
export const initState: JsonFormsCore = {
|
package/src/util/resolvers.ts
CHANGED
|
@@ -127,7 +127,8 @@ const resolveSchemaWithSegments = (
|
|
|
127
127
|
return undefined;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
// use typeof because schema can by of any type - check singleSegmentResolveSchema below
|
|
131
|
+
if (typeof schema.$ref === 'string') {
|
|
131
132
|
schema = resolveSchema(rootSchema, schema.$ref, rootSchema);
|
|
132
133
|
}
|
|
133
134
|
|