Skip to content

Commit 2a1174b

Browse files
eneufeldedgarmueller
authored andcommitted
Fixed exports and imports
1 parent 78900f4 commit 2a1174b

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

packages/core/src/util/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,4 @@ export * from './runtime';
148148
export * from './Formatted';
149149
export * from './ids';
150150
export * from './validator';
151+
export * from './combinators';

packages/core/src/util/renderer.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,8 @@
2222
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
THE SOFTWARE.
2424
*/
25+
import get from 'lodash/get';
2526
import { ControlElement, UISchemaElement } from '../models/uischema';
26-
import {
27-
composeWithUi,
28-
createLabelDescriptionFrom,
29-
formatErrorMessage,
30-
isEnabled,
31-
isVisible,
32-
Resolve
33-
} from '../util';
3427
import union from 'lodash/union';
3528
import RefParser from 'json-schema-ref-parser';
3629
import {
@@ -42,19 +35,27 @@ import {
4235
getSchema,
4336
getSubErrorsAt,
4437
getUiSchema,
45-
UISchemaTester
38+
UISchemaTester,
4639
} from '../reducers';
4740
import { RankedTester } from '../testers';
4841
import { JsonSchema } from '../models/jsonSchema';
49-
import get from 'lodash/get';
42+
import {
43+
CombinatorKeyword,
44+
composeWithUi,
45+
createLabelDescriptionFrom,
46+
formatErrorMessage,
47+
isEnabled,
48+
isVisible,
49+
Resolve,
50+
resolveSubSchemas
51+
} from '../util';
5052
import has from 'lodash/has';
5153
import { update } from '../actions';
5254
import { ErrorObject } from 'ajv';
5355
import { generateDefaultUISchema } from '../generators';
5456
import { JsonFormsState } from '../store';
5557
import { AnyAction, Dispatch } from 'redux';
5658
import { JsonFormsRendererRegistryEntry } from '../reducers/renderers';
57-
import { CombinatorKeyword, resolveSubSchemas } from './combinators';
5859

5960
export { JsonFormsRendererRegistryEntry };
6061

packages/material/src/complex/MaterialAllOfRenderer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@ import { connect } from 'react-redux';
2727
import { Hidden } from '@material-ui/core';
2828

2929
import {
30+
createCombinatorRenderInfos,
3031
isAllOfControl,
3132
JsonSchema,
3233
mapStateToAllOfProps,
3334
RankedTester,
3435
rankWith,
36+
resolveSubSchemas,
3537
StatePropsOfCombinator
3638
} from '@jsonforms/core';
3739
import { ResolvedJsonForms } from '@jsonforms/react';
38-
import { createCombinatorRenderInfos, resolveSubSchemas } from '@jsonforms/core/src/util/combinators';
3940

4041
class MaterialAllOfRenderer extends React.Component<StatePropsOfCombinator, any> {
4142

packages/material/src/complex/MaterialAnyOfRenderer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ import React from 'react';
2626
import { connect } from 'react-redux';
2727

2828
import {
29+
createCombinatorRenderInfos,
2930
isAnyOfControl,
3031
JsonSchema,
3132
mapStateToAnyOfProps,
3233
RankedTester,
3334
rankWith,
35+
resolveSubSchemas,
3436
StatePropsOfCombinator
3537
} from '@jsonforms/core';
3638
import { ResolvedJsonForms } from '@jsonforms/react';
3739
import CombinatorProperties from './CombinatorProperties';
38-
import { createCombinatorRenderInfos, resolveSubSchemas } from '@jsonforms/core/src/util/combinators';
3940
import { Hidden, Tab, Tabs } from '@material-ui/core';
4041

4142
interface MaterialAnyOfState {

packages/material/src/complex/MaterialOneOfRenderer.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ import React from 'react';
2626

2727
import {
2828
CombinatorRendererProps,
29+
createCombinatorRenderInfos,
2930
createDefaultValue,
3031
isOneOfControl,
3132
JsonSchema,
3233
mapDispatchToControlProps,
3334
mapStateToOneOfProps,
3435
RankedTester,
35-
rankWith
36+
rankWith,
37+
resolveSubSchemas
3638
} from '@jsonforms/core';
3739
import {
3840
Button,
@@ -47,7 +49,6 @@ import {
4749
} from '@material-ui/core';
4850
import { connect } from 'react-redux';
4951
import { ResolvedJsonForms } from '@jsonforms/react';
50-
import { createCombinatorRenderInfos, resolveSubSchemas } from '@jsonforms/core/src/util/combinators';
5152
import CombinatorProperties from './CombinatorProperties';
5253

5354
interface MaterialOneOfState {

0 commit comments

Comments
 (0)