File tree 2 files changed +5
-16
lines changed
packages/core/src/reducers
2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,7 @@ import {
45
45
import { JsonFormsCore , Reducer , ValidationMode } from '../store' ;
46
46
import Ajv , { ErrorObject } from 'ajv' ;
47
47
import { isFunction } from 'lodash' ;
48
- import {
49
- composePaths ,
50
- createAjv ,
51
- isOneOfEnumSchema ,
52
- Reducer ,
53
- toLodashSegments ,
54
- validate ,
55
- } from '../util' ;
48
+ import { createAjv , toLodashSegments , validate } from '../util' ;
56
49
57
50
export const initState : JsonFormsCore = {
58
51
data : { } ,
Original file line number Diff line number Diff line change 23
23
THE SOFTWARE.
24
24
*/
25
25
26
- import {
27
- defaultErrorTranslator ,
28
- defaultTranslator ,
29
- ErrorTranslator ,
30
- JsonFormsI18nState ,
31
- Translator ,
32
- } from '../i18n' ;
26
+ import { defaultErrorTranslator , defaultTranslator } from '../i18n' ;
33
27
import {
34
28
I18nActions ,
35
29
SET_LOCALE ,
36
30
SET_TRANSLATOR ,
37
31
UPDATE_I18N ,
38
32
} from '../actions' ;
39
33
import { Reducer } from '../store/type' ;
40
- import { JsonFormsI18nState } from '../store' ;
34
+ import { ErrorTranslator , JsonFormsI18nState , Translator } from '../store' ;
41
35
import { UISchemaElement } from '../models' ;
36
+ import { toLodashPath } from '../util' ;
37
+ import { ErrorObject } from 'ajv' ;
42
38
43
39
export const defaultJsonFormsI18nState : Required < JsonFormsI18nState > = {
44
40
locale : 'en' ,
You can’t perform that action at this time.
0 commit comments