Skip to content

Commit 75535dd

Browse files
committed
updates
1 parent 43446a9 commit 75535dd

File tree

12 files changed

+305
-22
lines changed

12 files changed

+305
-22
lines changed

package-lock.json

Lines changed: 285 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Form.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
33
import EventEmitter from 'eventemitter2';
4-
import AllComponents from 'formiojs/components';
5-
import Components from 'formiojs/components/Components';
4+
import AllComponents from 'formiojs/lib/components';
5+
import Components from 'formiojs/lib/components/Components';
66
Components.setComponents(AllComponents);
7-
import FormioForm from 'formiojs/Form';
7+
import FormioForm from 'formiojs/lib/Form';
88

99
export default class Form extends Component {
1010
static propTypes = {

src/components/FormBuilder.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
3-
import AllComponents from 'formiojs/components';
4-
import Components from 'formiojs/components/Components';
5-
import FormioFormBuilder from 'formiojs/FormBuilder';
3+
import AllComponents from 'formiojs/lib/components';
4+
import Components from 'formiojs/lib/components/Components';
5+
import FormioFormBuilder from 'formiojs/lib/FormBuilder';
66

77
Components.setComponents(AllComponents);
88

src/components/ReactComponent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Field from 'formiojs/components/_classes/field/Field';
1+
import Field from 'formiojs/lib/components/_classes/field/Field';
22

33
export default class ReactComponent extends Field {
44
/**

src/components/SubmissionGrid.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import FormioUtils from 'formiojs/utils';
1+
import FormioUtils from 'formiojs/lib/utils';
22
import _get from 'lodash/get';
33
import _isFunction from 'lodash/isFunction';
44
import _isObject from 'lodash/isObject';

src/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import Webform from 'formiojs/Webform';
2-
import WebformBuilder from 'formiojs/WebformBuilder';
3-
import Wizard from 'formiojs/Wizard';
4-
import WizardBuilder from 'formiojs/WizardBuilder';
5-
// import editFormUtils from 'formiojs/components//editForm/utils';
1+
import Webform from 'formiojs/lib/Webform';
2+
import WebformBuilder from 'formiojs/lib/WebformBuilder';
3+
import Wizard from 'formiojs/lib/Wizard';
4+
import WizardBuilder from 'formiojs/lib/WizardBuilder';
5+
// import editFormUtils from 'formiojs/lib/components//editForm/utils';
66

77
export {
88
Webform,
@@ -17,4 +17,4 @@ export * from './constants';
1717
export * from './modules';
1818
export * from './types';
1919
export * from './utils';
20-
export {Components, Formio, Utils, Templates} from 'formiojs';
20+
export {Components, Formio, Utils, Templates} from 'formiojs/lib';

src/modules/auth/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import formiojs from 'formiojs/Formio';
1+
import formiojs from 'formiojs/lib/Formio';
22
import * as type from './constants';
33

44
const requestUser = () => ({

src/modules/form/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Formiojs from 'formiojs/Formio';
1+
import Formiojs from 'formiojs/lib/Formio';
22
import * as types from './constants';
33
import {selectForm} from './selectors';
44

src/modules/forms/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Formiojs from 'formiojs/Formio';
1+
import Formiojs from 'formiojs/lib/Formio';
22

33
import {selectRoot} from '../root';
44

src/modules/submission/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Formiojs from 'formiojs/Formio';
1+
import Formiojs from 'formiojs/lib/Formio';
22

33
import * as types from './constants';
44

src/modules/submissions/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Formiojs from 'formiojs/Formio';
1+
import Formiojs from 'formiojs/lib/Formio';
22

33
import {selectRoot} from '../root';
44

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Components} from 'formiojs';
1+
import {Components} from 'formiojs/lib';
22
import _get from 'lodash/get';
33

44
export const getComponentDefaultColumn = (component) => ({

0 commit comments

Comments
 (0)