@data-driven-forms/ant-component-mapper 3.15.5 → 3.16.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/README.md +1 -1
- package/field-array/field-array.js +1 -1
- package/index.d.ts +4 -4
- package/index.js +18 -18
- package/package.json +3 -3
- package/validation-error/validation-error.d.ts +1 -1
- package/validation-error/validation-error.js +1 -1
package/README.md
CHANGED
|
@@ -101,7 +101,7 @@ Data Driven Forms supports all kinds of component, basic set is consisted of:
|
|
|
101
101
|
### Useful links
|
|
102
102
|
|
|
103
103
|
- [Data Driven Forms documentation](https://data-driven-forms.org/)
|
|
104
|
-
- [Material-UI documentation](https://
|
|
104
|
+
- [Material-UI documentation](https://mui.com/)
|
|
105
105
|
- NPM
|
|
106
106
|
- [React Form Renderer](https://www.npmjs.com/package/@data-driven-forms/react-form-renderer)
|
|
107
107
|
- [MaterialUI Mapper](https://www.npmjs.com/package/@data-driven-forms/ant-component-mapper)
|
|
@@ -7,7 +7,7 @@ var _typeof3 = require("@babel/runtime/helpers/typeof");
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports["default"] =
|
|
10
|
+
exports.reducer = exports["default"] = void 0;
|
|
11
11
|
|
|
12
12
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
13
13
|
|
package/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export { default as DatePicker } from './date-picker';
|
|
|
6
6
|
export * from './date-picker';
|
|
7
7
|
export { default as DualListSelect } from './dual-list-select';
|
|
8
8
|
export * from './dual-list-select';
|
|
9
|
-
export { default as
|
|
9
|
+
export { default as DynamicArray } from './field-array';
|
|
10
10
|
export * from './field-array';
|
|
11
11
|
export { default as FormGroup } from './form-group';
|
|
12
12
|
export * from './form-group';
|
|
13
|
-
export { default as
|
|
13
|
+
export { default as AntFormTemplate } from './form-template';
|
|
14
14
|
export * from './form-template';
|
|
15
15
|
export { default as IsRequired } from './is-required';
|
|
16
16
|
export * from './is-required';
|
|
@@ -28,7 +28,7 @@ export { default as SubForm } from './sub-form';
|
|
|
28
28
|
export * from './sub-form';
|
|
29
29
|
export { default as Switch } from './switch';
|
|
30
30
|
export * from './switch';
|
|
31
|
-
export { default as
|
|
31
|
+
export { default as FormTabs } from './tabs';
|
|
32
32
|
export * from './tabs';
|
|
33
33
|
export { default as TextField } from './text-field';
|
|
34
34
|
export * from './text-field';
|
|
@@ -36,7 +36,7 @@ export { default as Textarea } from './textarea';
|
|
|
36
36
|
export * from './textarea';
|
|
37
37
|
export { default as TimePicker } from './time-picker';
|
|
38
38
|
export * from './time-picker';
|
|
39
|
-
export { default as
|
|
39
|
+
export { default as validationError } from './validation-error';
|
|
40
40
|
export * from './validation-error';
|
|
41
41
|
export { default as Wizard } from './wizard';
|
|
42
42
|
export * from './wizard';
|
package/index.js
CHANGED
|
@@ -7,24 +7,6 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
Object.defineProperty(exports, "componentMapper", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _componentMapper["default"];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "components", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function get() {
|
|
19
|
-
return _componentMapper.components;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, "FormTemplate", {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function get() {
|
|
25
|
-
return _formTemplate["default"];
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
10
|
Object.defineProperty(exports, "Checkbox", {
|
|
29
11
|
enumerable: true,
|
|
30
12
|
get: function get() {
|
|
@@ -49,6 +31,12 @@ Object.defineProperty(exports, "FieldArray", {
|
|
|
49
31
|
return _fieldArray["default"];
|
|
50
32
|
}
|
|
51
33
|
});
|
|
34
|
+
Object.defineProperty(exports, "FormTemplate", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function get() {
|
|
37
|
+
return _formTemplate["default"];
|
|
38
|
+
}
|
|
39
|
+
});
|
|
52
40
|
Object.defineProperty(exports, "PlainText", {
|
|
53
41
|
enumerable: true,
|
|
54
42
|
get: function get() {
|
|
@@ -109,6 +97,18 @@ Object.defineProperty(exports, "Wizard", {
|
|
|
109
97
|
return _wizard["default"];
|
|
110
98
|
}
|
|
111
99
|
});
|
|
100
|
+
Object.defineProperty(exports, "componentMapper", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function get() {
|
|
103
|
+
return _componentMapper["default"];
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "components", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function get() {
|
|
109
|
+
return _componentMapper.components;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
112
|
Object.defineProperty(exports, "validationError", {
|
|
113
113
|
enumerable: true,
|
|
114
114
|
get: function get() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@data-driven-forms/ant-component-mapper",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.1",
|
|
4
4
|
"description": "Ant Design React component mapper for Data Driven Forms.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"antd": "^4.2.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@data-driven-forms/react-form-renderer": "
|
|
32
|
+
"@data-driven-forms/react-form-renderer": "^3.16.1",
|
|
33
33
|
"antd": "^4.2.0",
|
|
34
34
|
"react": "^16.13.1 || ^17.0.2",
|
|
35
35
|
"react-dom": "^16.13.1 || ^17.0.2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@data-driven-forms/common": "
|
|
38
|
+
"@data-driven-forms/common": "^3.16.1",
|
|
39
39
|
"lodash": "^4.17.21"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from "@data-driven-forms/react-form-renderer";
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export function validationError(meta: Meta<any>, validateOnMount?: boolean): boolean | any | undefined
|
|
4
4
|
|
|
5
5
|
export default validationError;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports["default"] =
|
|
6
|
+
exports.validationError = exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var validationError = function validationError(meta, validateOnMount) {
|
|
9
9
|
if (validateOnMount) {
|