react-schema-form 0.9.10 → 1.0.1
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/dist/index.js +52 -41
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +42 -31
- package/dist/index.modern.js.map +1 -1
- package/package.json +41 -32
- package/CHANGELOG.md +0 -339
package/dist/index.modern.js
CHANGED
|
@@ -8,41 +8,41 @@ import isUndefined from 'lodash/isUndefined';
|
|
|
8
8
|
import ObjectPath from 'objectpath';
|
|
9
9
|
import tv4 from 'tv4';
|
|
10
10
|
import notevil from 'notevil';
|
|
11
|
-
import TextField from '@material
|
|
12
|
-
import FormLabel from '@material
|
|
13
|
-
import FormHelperText from '@material
|
|
11
|
+
import TextField from '@mui/material/TextField';
|
|
12
|
+
import FormLabel from '@mui/material/FormLabel';
|
|
13
|
+
import FormHelperText from '@mui/material/FormHelperText';
|
|
14
14
|
import ReactMde from 'react-mde';
|
|
15
15
|
import { Converter } from 'showdown';
|
|
16
16
|
import 'react-mde/lib/styles/css/react-mde-all.css';
|
|
17
|
-
import MenuItem from '@material
|
|
18
|
-
import MuiSelect from '@material
|
|
19
|
-
import InputLabel from '@material
|
|
20
|
-
import FormControl from '@material
|
|
21
|
-
import
|
|
22
|
-
import Chip from '@material
|
|
23
|
-
import FormControlLabel from '@material
|
|
24
|
-
import RadioGroup from '@material
|
|
25
|
-
import Radio from '@material
|
|
26
|
-
import Checkbox$1 from '@material
|
|
27
|
-
import FormGroup from '@material
|
|
28
|
-
import Typography from '@material
|
|
29
|
-
import Button from '@material
|
|
30
|
-
import Card from '@material
|
|
31
|
-
import IconButton from '@material
|
|
32
|
-
import DeleteIcon from '@
|
|
17
|
+
import MenuItem from '@mui/material/MenuItem';
|
|
18
|
+
import MuiSelect from '@mui/material/Select';
|
|
19
|
+
import InputLabel from '@mui/material/InputLabel';
|
|
20
|
+
import FormControl from '@mui/material/FormControl';
|
|
21
|
+
import withStyles from '@mui/styles/withStyles';
|
|
22
|
+
import Chip from '@mui/material/Chip';
|
|
23
|
+
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
24
|
+
import RadioGroup from '@mui/material/RadioGroup';
|
|
25
|
+
import Radio from '@mui/material/Radio';
|
|
26
|
+
import Checkbox$1 from '@mui/material/Checkbox';
|
|
27
|
+
import FormGroup from '@mui/material/FormGroup';
|
|
28
|
+
import Typography from '@mui/material/Typography';
|
|
29
|
+
import Button from '@mui/material/Button';
|
|
30
|
+
import Card from '@mui/material/Card';
|
|
31
|
+
import IconButton from '@mui/material/IconButton';
|
|
32
|
+
import DeleteIcon from '@mui/icons-material/Close';
|
|
33
33
|
import classNames from 'classnames';
|
|
34
|
-
import { FormGroup as FormGroup$1, FormControlLabel as FormControlLabel$1, Checkbox as Checkbox$2, Button as Button$1, Card as Card$1 } from '@material
|
|
34
|
+
import { FormGroup as FormGroup$1, FormControlLabel as FormControlLabel$1, Checkbox as Checkbox$2, Button as Button$1, Card as Card$1 } from '@mui/material';
|
|
35
35
|
import CheckboxTree from 'react-checkbox-tree';
|
|
36
36
|
import 'react-checkbox-tree/lib/react-checkbox-tree.css';
|
|
37
|
-
import CheckBoxIcon from '@
|
|
38
|
-
import CheckBoxOutlineBlankIcon from '@
|
|
39
|
-
import IndeterminateCheckBoxIcon from '@
|
|
40
|
-
import ChevronRightIcon from '@
|
|
41
|
-
import KeyboardArrowDownIcon from '@
|
|
42
|
-
import AddBoxIcon from '@
|
|
43
|
-
import FolderIcon from '@
|
|
44
|
-
import FolderOpenIcon from '@
|
|
45
|
-
import InsertDriveFileIcon from '@
|
|
37
|
+
import CheckBoxIcon from '@mui/icons-material/CheckBox';
|
|
38
|
+
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
|
|
39
|
+
import IndeterminateCheckBoxIcon from '@mui/icons-material/IndeterminateCheckBox';
|
|
40
|
+
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
|
|
41
|
+
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
|
|
42
|
+
import AddBoxIcon from '@mui/icons-material/AddBox';
|
|
43
|
+
import FolderIcon from '@mui/icons-material/Folder';
|
|
44
|
+
import FolderOpenIcon from '@mui/icons-material/FolderOpen';
|
|
45
|
+
import InsertDriveFileIcon from '@mui/icons-material/InsertDriveFile';
|
|
46
46
|
import Cookies from 'universal-cookie';
|
|
47
47
|
|
|
48
48
|
function _extends() {
|
|
@@ -66,7 +66,17 @@ function _extends() {
|
|
|
66
66
|
function _inheritsLoose(subClass, superClass) {
|
|
67
67
|
subClass.prototype = Object.create(superClass.prototype);
|
|
68
68
|
subClass.prototype.constructor = subClass;
|
|
69
|
-
|
|
69
|
+
|
|
70
|
+
_setPrototypeOf(subClass, superClass);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function _setPrototypeOf(o, p) {
|
|
74
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
75
|
+
o.__proto__ = p;
|
|
76
|
+
return o;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
return _setPrototypeOf(o, p);
|
|
70
80
|
}
|
|
71
81
|
|
|
72
82
|
function _assertThisInitialized(self) {
|
|
@@ -1707,7 +1717,8 @@ var ArrayComponent = /*#__PURE__*/function (_Component) {
|
|
|
1707
1717
|
className: classes.elementsContainer
|
|
1708
1718
|
}, forms), /*#__PURE__*/React.createElement(IconButton, {
|
|
1709
1719
|
onClick: _this2.onDelete(i),
|
|
1710
|
-
className: classes.deleteItemButton
|
|
1720
|
+
className: classes.deleteItemButton,
|
|
1721
|
+
size: "large"
|
|
1711
1722
|
}, /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
1712
1723
|
fontSize: "small"
|
|
1713
1724
|
}))));
|