@hw-component/form 0.0.1-beta → 0.0.1-beta-v2
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/es/CheckboxGroup/CheckBox/index.js +16 -24
- package/es/CheckboxGroup/hooks.d.ts +3 -9
- package/es/CheckboxGroup/hooks.js +64 -115
- package/es/CheckboxGroup/index.d.ts +1 -6
- package/es/CheckboxGroup/index.js +58 -117
- package/es/CheckboxGroup/modal.d.ts +8 -9
- package/es/Form/Context/FormConfigProvider.js +19 -64
- package/es/Form/Context/index.d.ts +1 -4
- package/es/Form/Context/index.js +3 -3
- package/es/Form/FormItem/BasicItem.js +42 -80
- package/es/Form/FormItem/Helper.d.ts +1 -1
- package/es/Form/FormItem/Helper.js +9 -17
- package/es/Form/FormItem/RegularFormItem.js +8 -11
- package/es/Form/FormItem/UpFormItem.d.ts +1 -6
- package/es/Form/FormItem/UpFormItem.js +17 -27
- package/es/Form/FormItem/hooks.d.ts +4 -21
- package/es/Form/FormItem/hooks.js +9 -12
- package/es/Form/FormItem/index.js +5 -5
- package/es/Form/HFormConnect.d.ts +1 -9
- package/es/Form/HFormConnect.js +30 -90
- package/es/Form/InitSet.d.ts +1 -4
- package/es/Form/InitSet.js +6 -7
- package/es/Form/Label.d.ts +4 -4
- package/es/Form/Label.js +19 -36
- package/es/Form/config.d.ts +22 -100
- package/es/Form/config.js +19 -19
- package/es/Form/hooks/index.d.ts +1 -14
- package/es/Form/hooks/index.js +32 -80
- package/es/Form/hooks/useHForm.js +143 -224
- package/es/Form/hooks/useInitConfigData.d.ts +1 -4
- package/es/Form/hooks/useInitConfigData.js +61 -143
- package/es/Form/index.d.ts +1 -11
- package/es/Form/index.js +79 -79
- package/es/Form/modal.d.ts +54 -89
- package/es/Input/ButtonInput.js +51 -73
- package/es/Input/InputNumber.js +12 -21
- package/es/Input/SelectInput.d.ts +4 -16
- package/es/Input/SelectInput.js +62 -116
- package/es/Input/defaultConfig.d.ts +3 -3
- package/es/Input/defaultConfig.js +2 -2
- package/es/Input/index.js +7 -7
- package/es/Input/modal.d.ts +13 -15
- package/es/ModalForm/hooks.d.ts +12 -0
- package/es/ModalForm/hooks.js +63 -0
- package/es/ModalForm/index.d.ts +4 -0
- package/es/ModalForm/index.js +72 -0
- package/es/ModalForm/modal.d.ts +20 -0
- package/es/PageHandler/ErrorComponent.js +25 -47
- package/es/PageHandler/LoadingComponent.js +13 -17
- package/es/PageHandler/index.js +7 -7
- package/es/PageHandler/modal.d.ts +4 -4
- package/es/RadioGroup/index.d.ts +5 -12
- package/es/RadioGroup/index.js +33 -46
- package/es/Select/components/AllSelect.d.ts +1 -1
- package/es/Select/components/AllSelect.js +18 -40
- package/es/Select/components/CheckBoxOption.d.ts +3 -6
- package/es/Select/components/CheckBoxOption.js +7 -12
- package/es/Select/components/DropdownComponent.d.ts +4 -4
- package/es/Select/components/DropdownComponent.js +17 -30
- package/es/Select/components/NoFindItem.d.ts +1 -1
- package/es/Select/components/NoFindItem.js +7 -11
- package/es/Select/components/NotFoundContent.d.ts +2 -2
- package/es/Select/components/NotFoundContent.js +27 -49
- package/es/Select/defaultConfig.d.ts +1 -1
- package/es/Select/defaultConfig.js +16 -20
- package/es/Select/hooks/changeHooks.d.ts +2 -2
- package/es/Select/hooks/changeHooks.js +71 -147
- package/es/Select/hooks/norHooks.d.ts +9 -27
- package/es/Select/hooks/norHooks.js +39 -51
- package/es/Select/index.d.ts +1 -22
- package/es/Select/index.js +65 -124
- package/es/Select/modal.d.ts +15 -15
- package/es/Select/utils.js +15 -60
- package/es/Submit/index.d.ts +3 -9
- package/es/Submit/index.js +13 -18
- package/es/Switch/index.d.ts +4 -4
- package/es/Switch/index.js +20 -46
- package/es/TDPicker/RangePicker.d.ts +3 -8
- package/es/TDPicker/RangePicker.js +67 -138
- package/es/TDPicker/TimePicker.d.ts +1 -6
- package/es/TDPicker/TimePicker.js +13 -19
- package/es/TDPicker/hooks.d.ts +22 -42
- package/es/TDPicker/hooks.js +72 -106
- package/es/TDPicker/index.d.ts +1 -7
- package/es/TDPicker/index.js +14 -20
- package/es/TDPicker/modal.d.ts +16 -21
- package/es/TextArea/index.d.ts +1 -0
- package/es/Upload/Btn.d.ts +1 -5
- package/es/Upload/Btn.js +19 -35
- package/es/Upload/MediaTypeEle/TypeEle.d.ts +5 -10
- package/es/Upload/MediaTypeEle/TypeEle.js +23 -31
- package/es/Upload/MediaTypeEle/index.d.ts +1 -5
- package/es/Upload/MediaTypeEle/index.js +18 -21
- package/es/Upload/Preview/index.d.ts +1 -5
- package/es/Upload/Preview/index.js +13 -17
- package/es/Upload/UrlUpload/index.d.ts +1 -7
- package/es/Upload/UrlUpload/index.js +51 -72
- package/es/Upload/enums.d.ts +3 -3
- package/es/Upload/enums.js +3 -3
- package/es/Upload/hooks/change.d.ts +1 -8
- package/es/Upload/hooks/change.js +58 -115
- package/es/Upload/hooks/customRequest.d.ts +1 -5
- package/es/Upload/hooks/customRequest.js +46 -63
- package/es/Upload/hooks/propsMaker.d.ts +1 -5
- package/es/Upload/hooks/propsMaker.js +13 -52
- package/es/Upload/index.d.ts +1 -3
- package/es/Upload/index.js +61 -131
- package/es/Upload/modal.d.ts +15 -17
- package/es/Upload/util.d.ts +2 -8
- package/es/Upload/util.js +7 -15
- package/es/config.js +31 -34
- package/es/hooks/index.d.ts +7 -14
- package/es/hooks/index.js +49 -124
- package/es/index.d.ts +18 -98
- package/es/index.js +8 -22
- package/es/modal.d.ts +6 -6
- package/lib/CheckboxGroup/CheckBox/index.js +18 -26
- package/lib/CheckboxGroup/hooks.d.ts +3 -9
- package/lib/CheckboxGroup/hooks.js +65 -116
- package/lib/CheckboxGroup/index.d.ts +1 -6
- package/lib/CheckboxGroup/index.js +60 -119
- package/lib/CheckboxGroup/modal.d.ts +8 -9
- package/lib/Form/Context/FormConfigProvider.js +21 -66
- package/lib/Form/Context/index.d.ts +1 -4
- package/lib/Form/Context/index.js +4 -4
- package/lib/Form/FormItem/BasicItem.js +44 -82
- package/lib/Form/FormItem/Helper.d.ts +1 -1
- package/lib/Form/FormItem/Helper.js +11 -19
- package/lib/Form/FormItem/RegularFormItem.js +10 -13
- package/lib/Form/FormItem/UpFormItem.d.ts +1 -6
- package/lib/Form/FormItem/UpFormItem.js +19 -29
- package/lib/Form/FormItem/hooks.d.ts +4 -21
- package/lib/Form/FormItem/hooks.js +10 -13
- package/lib/Form/FormItem/index.js +7 -7
- package/lib/Form/HFormConnect.d.ts +1 -9
- package/lib/Form/HFormConnect.js +32 -92
- package/lib/Form/InitSet.d.ts +1 -4
- package/lib/Form/InitSet.js +8 -9
- package/lib/Form/Label.d.ts +4 -4
- package/lib/Form/Label.js +21 -41
- package/lib/Form/config.d.ts +22 -100
- package/lib/Form/config.js +21 -21
- package/lib/Form/hooks/index.d.ts +1 -14
- package/lib/Form/hooks/index.js +32 -81
- package/lib/Form/hooks/useHForm.js +145 -226
- package/lib/Form/hooks/useInitConfigData.d.ts +1 -4
- package/lib/Form/hooks/useInitConfigData.js +63 -144
- package/lib/Form/index.d.ts +1 -11
- package/lib/Form/index.js +83 -83
- package/lib/Form/modal.d.ts +54 -89
- package/lib/Input/ButtonInput.js +53 -75
- package/lib/Input/InputNumber.js +14 -23
- package/lib/Input/SelectInput.d.ts +4 -16
- package/lib/Input/SelectInput.js +66 -128
- package/lib/Input/defaultConfig.d.ts +3 -3
- package/lib/Input/defaultConfig.js +3 -3
- package/lib/Input/index.js +9 -9
- package/lib/Input/modal.d.ts +13 -15
- package/lib/ModalForm/hooks.d.ts +12 -0
- package/lib/ModalForm/hooks.js +66 -0
- package/lib/ModalForm/index.d.ts +4 -0
- package/lib/ModalForm/index.js +75 -0
- package/lib/ModalForm/modal.d.ts +20 -0
- package/lib/PageHandler/ErrorComponent.js +27 -49
- package/lib/PageHandler/LoadingComponent.js +15 -19
- package/lib/PageHandler/index.js +9 -9
- package/lib/PageHandler/modal.d.ts +4 -4
- package/lib/RadioGroup/index.d.ts +5 -12
- package/lib/RadioGroup/index.js +35 -48
- package/lib/Select/components/AllSelect.d.ts +1 -1
- package/lib/Select/components/AllSelect.js +20 -42
- package/lib/Select/components/CheckBoxOption.d.ts +3 -6
- package/lib/Select/components/CheckBoxOption.js +9 -14
- package/lib/Select/components/DropdownComponent.d.ts +4 -4
- package/lib/Select/components/DropdownComponent.js +19 -32
- package/lib/Select/components/NoFindItem.d.ts +1 -1
- package/lib/Select/components/NoFindItem.js +9 -13
- package/lib/Select/components/NotFoundContent.d.ts +2 -2
- package/lib/Select/components/NotFoundContent.js +29 -51
- package/lib/Select/defaultConfig.d.ts +1 -1
- package/lib/Select/defaultConfig.js +17 -21
- package/lib/Select/hooks/changeHooks.d.ts +2 -2
- package/lib/Select/hooks/changeHooks.js +72 -148
- package/lib/Select/hooks/norHooks.d.ts +9 -27
- package/lib/Select/hooks/norHooks.js +40 -52
- package/lib/Select/index.d.ts +1 -22
- package/lib/Select/index.js +67 -128
- package/lib/Select/modal.d.ts +15 -15
- package/lib/Select/utils.js +16 -61
- package/lib/Submit/index.d.ts +3 -9
- package/lib/Submit/index.js +15 -20
- package/lib/Switch/index.d.ts +4 -4
- package/lib/Switch/index.js +22 -48
- package/lib/TDPicker/RangePicker.d.ts +3 -8
- package/lib/TDPicker/RangePicker.js +69 -136
- package/lib/TDPicker/TimePicker.d.ts +1 -6
- package/lib/TDPicker/TimePicker.js +15 -21
- package/lib/TDPicker/hooks.d.ts +22 -42
- package/lib/TDPicker/hooks.js +72 -98
- package/lib/TDPicker/index.d.ts +1 -7
- package/lib/TDPicker/index.js +16 -22
- package/lib/TDPicker/modal.d.ts +16 -21
- package/lib/TextArea/index.d.ts +1 -0
- package/lib/Upload/Btn.d.ts +1 -5
- package/lib/Upload/Btn.js +21 -37
- package/lib/Upload/MediaTypeEle/TypeEle.d.ts +5 -10
- package/lib/Upload/MediaTypeEle/TypeEle.js +25 -33
- package/lib/Upload/MediaTypeEle/index.d.ts +1 -5
- package/lib/Upload/MediaTypeEle/index.js +20 -23
- package/lib/Upload/Preview/index.d.ts +1 -5
- package/lib/Upload/Preview/index.js +15 -19
- package/lib/Upload/UrlUpload/index.d.ts +1 -7
- package/lib/Upload/UrlUpload/index.js +53 -74
- package/lib/Upload/enums.d.ts +3 -3
- package/lib/Upload/enums.js +4 -4
- package/lib/Upload/hooks/change.d.ts +1 -8
- package/lib/Upload/hooks/change.js +59 -116
- package/lib/Upload/hooks/customRequest.d.ts +1 -5
- package/lib/Upload/hooks/customRequest.js +47 -64
- package/lib/Upload/hooks/propsMaker.d.ts +1 -5
- package/lib/Upload/hooks/propsMaker.js +15 -55
- package/lib/Upload/index.d.ts +1 -3
- package/lib/Upload/index.js +63 -133
- package/lib/Upload/modal.d.ts +15 -17
- package/lib/Upload/util.d.ts +2 -8
- package/lib/Upload/util.js +8 -16
- package/lib/config.js +32 -35
- package/lib/hooks/index.d.ts +7 -14
- package/lib/hooks/index.js +50 -125
- package/lib/index.d.ts +18 -98
- package/lib/index.js +10 -5
- package/lib/modal.d.ts +6 -6
- package/package.json +1 -1
- package/src/components/Form/InitSet.tsx +3 -5
- package/src/components/Form/hooks/index.ts +0 -20
- package/src/components/Form/hooks/useHForm.ts +8 -4
- package/src/components/Form/index.tsx +25 -7
- package/src/components/Form/modal.ts +4 -2
- package/src/components/Input/SelectInput.tsx +3 -2
- package/src/components/Input/modal.ts +2 -0
- package/src/components/ModalForm/hooks.ts +45 -0
- package/src/components/ModalForm/index.tsx +69 -0
- package/src/components/ModalForm/modal.ts +22 -0
- package/src/components/index.tsx +4 -0
- package/src/pages/ModalForm/index.tsx +127 -0
- package/src/routes.tsx +6 -1
|
@@ -1,44 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var React = require(
|
|
6
|
-
var _extends = require(
|
|
7
|
-
var _objectWithoutProperties = require(
|
|
8
|
-
var antd = require(
|
|
9
|
-
var BasicItem = require(
|
|
10
|
-
var hooks = require(
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var _extends = require('@babel/runtime-corejs3/helpers/extends');
|
|
7
|
+
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
8
|
+
var antd = require('antd');
|
|
9
|
+
var BasicItem = require('./BasicItem.js');
|
|
10
|
+
var hooks = require('./hooks.js');
|
|
11
11
|
|
|
12
12
|
var _excluded = ["shouldUpdate", "dependencies", "hide"];
|
|
13
13
|
var Item = antd.Form.Item;
|
|
14
|
-
var UpFormItem = function (_ref) {
|
|
14
|
+
var UpFormItem = (function (_ref) {
|
|
15
15
|
var shouldUpdate = _ref.shouldUpdate,
|
|
16
16
|
dependencies = _ref.dependencies,
|
|
17
17
|
hide = _ref.hide,
|
|
18
18
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
19
|
var resultShouldUpdate = hooks.useShouldUpdate({
|
|
20
20
|
shouldUpdate: shouldUpdate,
|
|
21
|
-
hide: hide
|
|
21
|
+
hide: hide
|
|
22
22
|
});
|
|
23
|
-
return /*#__PURE__*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
_extends(
|
|
33
|
-
{
|
|
34
|
-
hide: hide,
|
|
35
|
-
},
|
|
36
|
-
props
|
|
37
|
-
)
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
};
|
|
23
|
+
return /*#__PURE__*/React.createElement(Item, {
|
|
24
|
+
shouldUpdate: resultShouldUpdate,
|
|
25
|
+
dependencies: dependencies
|
|
26
|
+
}, function () {
|
|
27
|
+
return /*#__PURE__*/React.createElement(BasicItem.default, _extends({
|
|
28
|
+
hide: hide
|
|
29
|
+
}, props));
|
|
30
|
+
});
|
|
31
|
+
});
|
|
42
32
|
|
|
43
33
|
exports.default = UpFormItem;
|
|
44
34
|
// powered by h
|
|
@@ -1,27 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
3
|
-
FormItemWithRender,
|
|
4
|
-
HFormInstance,
|
|
5
|
-
} from "@/components/Form/modal";
|
|
2
|
+
import type { FormItemWithRender, HFormInstance } from "@/components/Form/modal";
|
|
6
3
|
import type { HItemProps } from "@/components/Form/modal";
|
|
7
|
-
export declare const useFormItemDomControl: ({
|
|
8
|
-
shouldUpdate,
|
|
9
|
-
hide,
|
|
10
|
-
dependencies,
|
|
11
|
-
}: FormItemWithRender) => ({
|
|
12
|
-
shouldUpdate,
|
|
13
|
-
dependencies,
|
|
14
|
-
hide,
|
|
15
|
-
...props
|
|
16
|
-
}: FormItemWithRender) => JSX.Element;
|
|
4
|
+
export declare const useFormItemDomControl: ({ shouldUpdate, hide, dependencies, }: FormItemWithRender) => ({ shouldUpdate, dependencies, hide, ...props }: FormItemWithRender) => JSX.Element;
|
|
17
5
|
interface UseHideUpItemModal extends Omit<HItemProps, "name"> {
|
|
18
|
-
|
|
6
|
+
form: HFormInstance;
|
|
19
7
|
}
|
|
20
|
-
export declare const useShouldUpdate: ({
|
|
21
|
-
hide,
|
|
22
|
-
shouldUpdate,
|
|
23
|
-
}: Omit<HItemProps, "name">) =>
|
|
24
|
-
| import("rc-field-form/lib/Field").ShouldUpdate<any>
|
|
25
|
-
| undefined;
|
|
8
|
+
export declare const useShouldUpdate: ({ hide, shouldUpdate, }: Omit<HItemProps, "name">) => import("rc-field-form/lib/Field").ShouldUpdate<any> | undefined;
|
|
26
9
|
export declare const useHide: ({ hide, form }: UseHideUpItemModal) => boolean;
|
|
27
10
|
export {};
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
var UpFormItem = require(
|
|
4
|
-
var RegularFormItem = require(
|
|
5
|
-
var React = require(
|
|
3
|
+
var UpFormItem = require('./UpFormItem.js');
|
|
4
|
+
var RegularFormItem = require('./RegularFormItem.js');
|
|
5
|
+
var React = require('react');
|
|
6
6
|
|
|
7
7
|
var useFormItemDomControl = function useFormItemDomControl(_ref) {
|
|
8
8
|
var shouldUpdate = _ref.shouldUpdate,
|
|
9
9
|
hide = _ref.hide,
|
|
10
10
|
dependencies = _ref.dependencies;
|
|
11
|
-
return React.useMemo(
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
[shouldUpdate, hide]
|
|
19
|
-
);
|
|
11
|
+
return React.useMemo(function () {
|
|
12
|
+
if (shouldUpdate || typeof hide === "function" || dependencies) {
|
|
13
|
+
return UpFormItem.default;
|
|
14
|
+
}
|
|
15
|
+
return RegularFormItem.default;
|
|
16
|
+
}, [shouldUpdate, hide]);
|
|
20
17
|
};
|
|
21
18
|
var useShouldUpdate = function useShouldUpdate(_ref2) {
|
|
22
19
|
var hide = _ref2.hide,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var hooks = require(
|
|
6
|
-
var React = require(
|
|
5
|
+
var hooks = require('./hooks.js');
|
|
6
|
+
var React = require('react');
|
|
7
7
|
|
|
8
|
-
var Item = function (props) {
|
|
8
|
+
var Item = (function (props) {
|
|
9
9
|
var Component = hooks.useFormItemDomControl(props);
|
|
10
|
-
return /*#__PURE__*/
|
|
11
|
-
};
|
|
10
|
+
return /*#__PURE__*/React.createElement(Component, props);
|
|
11
|
+
});
|
|
12
12
|
|
|
13
13
|
exports.default = Item;
|
|
14
14
|
// powered by h
|
|
@@ -2,13 +2,5 @@ import type { HFormItemProps } from "@/components/Form/modal";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import type { ConnectConfigModal } from "@/components/Form/modal";
|
|
4
4
|
import type { ConnectResultProps } from "@/components/Form/modal";
|
|
5
|
-
declare const _default: (
|
|
6
|
-
Component: React.FunctionComponent | React.ComponentClass,
|
|
7
|
-
config?: ConnectConfigModal
|
|
8
|
-
) => (
|
|
9
|
-
props: HFormItemProps
|
|
10
|
-
) => React.ReactElement<
|
|
11
|
-
ConnectResultProps,
|
|
12
|
-
string | React.JSXElementConstructor<any>
|
|
13
|
-
>;
|
|
5
|
+
declare const _default: (Component: React.FunctionComponent | React.ComponentClass, config?: ConnectConfigModal) => (props: HFormItemProps) => React.ReactElement<ConnectResultProps, string | React.JSXElementConstructor<any>>;
|
|
14
6
|
export default _default;
|
package/lib/Form/HFormConnect.js
CHANGED
|
@@ -1,60 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var _Object$keys = require(
|
|
6
|
-
var _Object$getOwnPropertySymbols = require(
|
|
7
|
-
var _filterInstanceProperty = require(
|
|
8
|
-
var _Object$getOwnPropertyDescriptor = require(
|
|
9
|
-
var _forEachInstanceProperty = require(
|
|
10
|
-
var _Object$getOwnPropertyDescriptors = require(
|
|
11
|
-
var _Object$defineProperties = require(
|
|
12
|
-
var _Object$defineProperty = require(
|
|
13
|
-
var _defineProperty = require(
|
|
14
|
-
var index = require(
|
|
15
|
-
var React = require(
|
|
5
|
+
var _Object$keys = require('@babel/runtime-corejs3/core-js/object/keys');
|
|
6
|
+
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js/object/get-own-property-symbols');
|
|
7
|
+
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js/instance/filter');
|
|
8
|
+
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js/object/get-own-property-descriptor');
|
|
9
|
+
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js/instance/for-each');
|
|
10
|
+
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js/object/get-own-property-descriptors');
|
|
11
|
+
var _Object$defineProperties = require('@babel/runtime-corejs3/core-js/object/define-properties');
|
|
12
|
+
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js/object/define-property');
|
|
13
|
+
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
14
|
+
var index = require('./Context/index.js');
|
|
15
|
+
var React = require('react');
|
|
16
16
|
|
|
17
|
-
function ownKeys(object, enumerableOnly) {
|
|
18
|
-
|
|
19
|
-
if (_Object$getOwnPropertySymbols) {
|
|
20
|
-
var symbols = _Object$getOwnPropertySymbols(object);
|
|
21
|
-
enumerableOnly &&
|
|
22
|
-
(symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) {
|
|
23
|
-
return _Object$getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24
|
-
})),
|
|
25
|
-
keys.push.apply(keys, symbols);
|
|
26
|
-
}
|
|
27
|
-
return keys;
|
|
28
|
-
}
|
|
29
|
-
function _objectSpread(target) {
|
|
30
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
31
|
-
var _context, _context2;
|
|
32
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
33
|
-
i % 2
|
|
34
|
-
? _forEachInstanceProperty((_context = ownKeys(Object(source), !0))).call(
|
|
35
|
-
_context,
|
|
36
|
-
function (key) {
|
|
37
|
-
_defineProperty(target, key, source[key]);
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
: _Object$getOwnPropertyDescriptors
|
|
41
|
-
? _Object$defineProperties(
|
|
42
|
-
target,
|
|
43
|
-
_Object$getOwnPropertyDescriptors(source)
|
|
44
|
-
)
|
|
45
|
-
: _forEachInstanceProperty((_context2 = ownKeys(Object(source)))).call(
|
|
46
|
-
_context2,
|
|
47
|
-
function (key) {
|
|
48
|
-
_Object$defineProperty(
|
|
49
|
-
target,
|
|
50
|
-
key,
|
|
51
|
-
_Object$getOwnPropertyDescriptor(source, key)
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
return target;
|
|
57
|
-
}
|
|
17
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
58
19
|
var formatMaker = function formatMaker(itemProps, formats) {
|
|
59
20
|
if (!formats) {
|
|
60
21
|
return formats;
|
|
@@ -67,12 +28,11 @@ var formatMaker = function formatMaker(itemProps, formats) {
|
|
|
67
28
|
},
|
|
68
29
|
outputValue: function outputValue(value) {
|
|
69
30
|
return _outputValue(itemProps, value);
|
|
70
|
-
}
|
|
31
|
+
}
|
|
71
32
|
};
|
|
72
33
|
};
|
|
73
|
-
var HFormConnect = function (Component) {
|
|
74
|
-
var config =
|
|
75
|
-
arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
34
|
+
var HFormConnect = (function (Component) {
|
|
35
|
+
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
76
36
|
var _config$format = config.format,
|
|
77
37
|
format = _config$format === void 0 ? {} : _config$format;
|
|
78
38
|
return function (props) {
|
|
@@ -81,45 +41,25 @@ var HFormConnect = function (Component) {
|
|
|
81
41
|
var _useFormContext = index.useFormContext(),
|
|
82
42
|
form = _useFormContext.form,
|
|
83
43
|
_useFormContext$value = _useFormContext.valueType,
|
|
84
|
-
valueType =
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
form === null || form === void 0
|
|
89
|
-
? void 0
|
|
90
|
-
: form.addFormat(name, formatMaker(props, format[valueType]));
|
|
91
|
-
},
|
|
92
|
-
[valueType, props]
|
|
93
|
-
);
|
|
44
|
+
valueType = _useFormContext$value === void 0 ? "float" : _useFormContext$value;
|
|
45
|
+
React.useEffect(function () {
|
|
46
|
+
form === null || form === void 0 ? void 0 : form.addFormat(name, formatMaker(props, format[valueType]));
|
|
47
|
+
}, [valueType, props]);
|
|
94
48
|
var addFormat = function addFormat(aFormat) {
|
|
95
|
-
form === null || form === void 0
|
|
96
|
-
? void 0
|
|
97
|
-
: form.addFormat(name, formatMaker(props, aFormat[valueType]));
|
|
49
|
+
form === null || form === void 0 ? void 0 : form.addFormat(name, formatMaker(props, aFormat[valueType]));
|
|
98
50
|
};
|
|
99
51
|
var addDispatchListener = function addDispatchListener(key, fn) {
|
|
100
|
-
form === null || form === void 0
|
|
101
|
-
|
|
102
|
-
:
|
|
103
|
-
|
|
104
|
-
key: key,
|
|
105
|
-
name: name,
|
|
106
|
-
},
|
|
107
|
-
fn
|
|
108
|
-
);
|
|
52
|
+
form === null || form === void 0 ? void 0 : form.addDispatchListener({
|
|
53
|
+
key: key,
|
|
54
|
+
name: name
|
|
55
|
+
}, fn);
|
|
109
56
|
};
|
|
110
|
-
return /*#__PURE__*/
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
{},
|
|
115
|
-
{
|
|
116
|
-
addFormat: addFormat,
|
|
117
|
-
addDispatchListener: addDispatchListener,
|
|
118
|
-
}
|
|
119
|
-
)
|
|
120
|
-
);
|
|
57
|
+
return /*#__PURE__*/React.createElement(Component, _objectSpread(_objectSpread({}, props), {}, {
|
|
58
|
+
addFormat: addFormat,
|
|
59
|
+
addDispatchListener: addDispatchListener
|
|
60
|
+
}));
|
|
121
61
|
};
|
|
122
|
-
};
|
|
62
|
+
});
|
|
123
63
|
|
|
124
64
|
exports.default = HFormConnect;
|
|
125
65
|
// powered by h
|
package/lib/Form/InitSet.d.ts
CHANGED
package/lib/Form/InitSet.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var React = require(
|
|
6
|
-
var index = require(
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var index = require('./Context/index.js');
|
|
7
7
|
|
|
8
|
-
var InitSet = function (
|
|
9
|
-
var initValues = _ref.initValues;
|
|
8
|
+
var InitSet = (function () {
|
|
10
9
|
var _useFormContext = index.useFormContext(),
|
|
11
10
|
form = _useFormContext.form;
|
|
12
11
|
React.useEffect(function () {
|
|
13
|
-
form.initValues(
|
|
12
|
+
form.initValues();
|
|
14
13
|
}, []);
|
|
15
|
-
return /*#__PURE__*/
|
|
16
|
-
};
|
|
14
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
15
|
+
});
|
|
17
16
|
|
|
18
17
|
exports.default = InitSet;
|
|
19
18
|
// powered by h
|
package/lib/Form/Label.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { HoverModal } from "./modal";
|
|
2
2
|
import React from "react";
|
|
3
3
|
interface IProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
labelWidth?: number;
|
|
5
|
+
hover?: string | HoverModal;
|
|
6
|
+
colon?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
8
|
}
|
|
9
9
|
declare const Index: React.FC<IProps>;
|
|
10
10
|
export default Index;
|
package/lib/Form/Label.js
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var React = require(
|
|
6
|
-
var icons = require(
|
|
7
|
-
var antd = require(
|
|
8
|
-
var index = require(
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var icons = require('@ant-design/icons');
|
|
7
|
+
var antd = require('antd');
|
|
8
|
+
var index = require('../hooks/index.js');
|
|
9
9
|
|
|
10
10
|
var useHover = function useHover(_ref) {
|
|
11
11
|
var hover = _ref.hover;
|
|
12
12
|
if (!hover || typeof hover === "string") {
|
|
13
13
|
return {
|
|
14
14
|
text: hover,
|
|
15
|
-
icon: /*#__PURE__*/
|
|
16
|
-
icons.QuestionCircleOutlined,
|
|
17
|
-
null
|
|
18
|
-
),
|
|
15
|
+
icon: /*#__PURE__*/React.createElement(icons.QuestionCircleOutlined, null)
|
|
19
16
|
};
|
|
20
17
|
}
|
|
21
18
|
return hover;
|
|
@@ -27,42 +24,25 @@ var Index = function Index(_ref2) {
|
|
|
27
24
|
required = _ref2.required,
|
|
28
25
|
hover = _ref2.hover;
|
|
29
26
|
var _useHover = useHover({
|
|
30
|
-
hover: hover
|
|
27
|
+
hover: hover
|
|
31
28
|
}),
|
|
32
29
|
text = _useHover.text,
|
|
33
30
|
icon = _useHover.icon;
|
|
34
|
-
var array = [
|
|
35
|
-
colon ? "hw-form-item-colon" : "",
|
|
36
|
-
required ? "hw-form-item-required" : "",
|
|
37
|
-
];
|
|
31
|
+
var array = [colon ? "hw-form-item-colon" : "", required ? "hw-form-item-required" : ""];
|
|
38
32
|
var className = index.useClassName(array);
|
|
39
|
-
return /*#__PURE__*/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
style: {
|
|
43
|
-
width: labelWidth,
|
|
44
|
-
},
|
|
45
|
-
className: className,
|
|
33
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
style: {
|
|
35
|
+
width: labelWidth
|
|
46
36
|
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
/*#__PURE__*/ React.createElement(
|
|
57
|
-
antd.Tooltip,
|
|
58
|
-
{
|
|
59
|
-
placement: "top",
|
|
60
|
-
title: text,
|
|
61
|
-
},
|
|
62
|
-
icon
|
|
63
|
-
)
|
|
64
|
-
)
|
|
65
|
-
);
|
|
37
|
+
className: className
|
|
38
|
+
}, children, text && /*#__PURE__*/React.createElement("span", {
|
|
39
|
+
style: {
|
|
40
|
+
marginLeft: 4
|
|
41
|
+
}
|
|
42
|
+
}, /*#__PURE__*/React.createElement(antd.Tooltip, {
|
|
43
|
+
placement: "top",
|
|
44
|
+
title: text
|
|
45
|
+
}, icon)));
|
|
66
46
|
};
|
|
67
47
|
|
|
68
48
|
exports.default = Index;
|
package/lib/Form/config.d.ts
CHANGED
|
@@ -1,106 +1,28 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const placeholderConfig: {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
inputType: string[];
|
|
4
|
+
selectType: string[];
|
|
5
5
|
};
|
|
6
6
|
declare const _default: {
|
|
7
|
-
|
|
8
|
-
style,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
onChange,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
...props
|
|
28
|
-
}: import("../Select/modal").HSelectProps) => JSX.Element;
|
|
29
|
-
inputNumber: ({
|
|
30
|
-
style,
|
|
31
|
-
...props
|
|
32
|
-
}: import("antd").InputNumberProps<string | number>) => JSX.Element;
|
|
33
|
-
selectInput: ({
|
|
34
|
-
selectProps,
|
|
35
|
-
value,
|
|
36
|
-
onChange,
|
|
37
|
-
valueName,
|
|
38
|
-
...props
|
|
39
|
-
}: import("../Input/modal").HSelectInputProps) => JSX.Element;
|
|
40
|
-
buttonInput: import("react").FC<import("../Input/modal").HButtonInputProps>;
|
|
41
|
-
checkboxGroup: (
|
|
42
|
-
props: import("./modal").HFormItemProps
|
|
43
|
-
) => import("react").ReactElement<
|
|
44
|
-
import("./modal").ConnectResultProps,
|
|
45
|
-
string | import("react").JSXElementConstructor<any>
|
|
46
|
-
>;
|
|
47
|
-
checkBox: import("react").FC<import("../CheckboxGroup/modal").HCheckboxProps>;
|
|
48
|
-
radioGroup: ({
|
|
49
|
-
value,
|
|
50
|
-
options,
|
|
51
|
-
onChange,
|
|
52
|
-
fieldNames: propsFieldNames,
|
|
53
|
-
...props
|
|
54
|
-
}: import("../RadioGroup").HRadioGroupProps) => JSX.Element;
|
|
55
|
-
switch: import("react").FC<import("../Switch").HSwitchProps>;
|
|
56
|
-
datePicker: ({
|
|
57
|
-
value,
|
|
58
|
-
onChange,
|
|
59
|
-
showTime,
|
|
60
|
-
format,
|
|
61
|
-
...props
|
|
62
|
-
}: import("../TDPicker/modal").HDatePickerProps) => JSX.Element;
|
|
63
|
-
rangePicker: {
|
|
64
|
-
Component: ({
|
|
65
|
-
value,
|
|
66
|
-
onChange,
|
|
67
|
-
showTime,
|
|
68
|
-
format,
|
|
69
|
-
valueMap,
|
|
70
|
-
ranges,
|
|
71
|
-
name,
|
|
72
|
-
...props
|
|
73
|
-
}: import("../TDPicker/modal").HRangePickerProps) => JSX.Element;
|
|
74
|
-
placeholder: ({ label }: import("./modal").HItemProps) => string[];
|
|
75
|
-
requiredErrMsg: ({ label }: import("./modal").HItemProps) => string;
|
|
76
|
-
};
|
|
77
|
-
timePicker: ({
|
|
78
|
-
value,
|
|
79
|
-
format,
|
|
80
|
-
onChange,
|
|
81
|
-
...props
|
|
82
|
-
}: import("../TDPicker/modal").HTimePickerProps) => JSX.Element;
|
|
83
|
-
input: ({ ...props }: import("antd").InputProps) => JSX.Element;
|
|
84
|
-
upload: import("react").ForwardRefExoticComponent<
|
|
85
|
-
import("../Upload/modal").IUpLoadProps &
|
|
86
|
-
import("react").RefAttributes<import("../Upload/modal").IUploadRefModal>
|
|
87
|
-
>;
|
|
88
|
-
urlUpload: ({
|
|
89
|
-
placeholder,
|
|
90
|
-
value,
|
|
91
|
-
onChange,
|
|
92
|
-
mediaType,
|
|
93
|
-
...props
|
|
94
|
-
}: import("../Upload/modal").IUrlUploadProps) => JSX.Element;
|
|
95
|
-
submit: ({
|
|
96
|
-
text,
|
|
97
|
-
type,
|
|
98
|
-
form,
|
|
99
|
-
loading,
|
|
100
|
-
...props
|
|
101
|
-
}: import("../Submit").ISubmitProps) => JSX.Element;
|
|
102
|
-
formConfigProvider: import("react").FC<
|
|
103
|
-
import("./modal").IFormConfigContextProps
|
|
104
|
-
>;
|
|
7
|
+
select: ({ style, mode, options, modeConfig, value, onChange, fieldNames: propsFieldNames, request, manual, optionLabelProp, filterProvider, optionFilterProp, serviceSearch, onSearch: propsOnSearch, filterOption, showSearch, labelInValue, noMatchItemRender, allSelect, ...props }: import("../Select/modal").HSelectProps) => JSX.Element;
|
|
8
|
+
inputNumber: ({ style, ...props }: import("antd").InputNumberProps<string | number>) => JSX.Element;
|
|
9
|
+
selectInput: (props: import("./modal").HFormItemProps) => import("react").ReactElement<import("./modal").ConnectResultProps, string | import("react").JSXElementConstructor<any>>;
|
|
10
|
+
buttonInput: import("react").FC<import("../Input/modal").HButtonInputProps>;
|
|
11
|
+
checkboxGroup: (props: import("./modal").HFormItemProps) => import("react").ReactElement<import("./modal").ConnectResultProps, string | import("react").JSXElementConstructor<any>>;
|
|
12
|
+
checkBox: import("react").FC<import("../CheckboxGroup/modal").HCheckboxProps>;
|
|
13
|
+
radioGroup: ({ value, options, onChange, fieldNames: propsFieldNames, ...props }: import("../RadioGroup").HRadioGroupProps) => JSX.Element;
|
|
14
|
+
switch: import("react").FC<import("../Switch").HSwitchProps>;
|
|
15
|
+
datePicker: ({ value, onChange, showTime, format, ...props }: import("../TDPicker/modal").HDatePickerProps) => JSX.Element;
|
|
16
|
+
rangePicker: {
|
|
17
|
+
Component: (props: import("./modal").HFormItemProps) => import("react").ReactElement<import("./modal").ConnectResultProps, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
placeholder: ({ label }: import("./modal").HItemProps) => string[];
|
|
19
|
+
requiredErrMsg: ({ label }: import("./modal").HItemProps) => string;
|
|
20
|
+
};
|
|
21
|
+
timePicker: ({ value, format, onChange, ...props }: import("../TDPicker/modal").HTimePickerProps) => JSX.Element;
|
|
22
|
+
input: ({ ...props }: import("antd").InputProps) => JSX.Element;
|
|
23
|
+
upload: import("react").ForwardRefExoticComponent<import("../Upload/modal").IUpLoadProps & import("react").RefAttributes<import("../Upload/modal").IUploadRefModal>>;
|
|
24
|
+
urlUpload: ({ placeholder, value, onChange, mediaType, ...props }: import("../Upload/modal").IUrlUploadProps) => JSX.Element;
|
|
25
|
+
submit: ({ text, type, form, loading, ...props }: import("../Submit").ISubmitProps) => JSX.Element;
|
|
26
|
+
formConfigProvider: import("react").FC<import("./modal").IFormConfigContextProps>;
|
|
105
27
|
};
|
|
106
28
|
export default _default;
|
package/lib/Form/config.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require(
|
|
6
|
-
var index$6 = require(
|
|
7
|
-
var InputNumber = require(
|
|
8
|
-
var SelectInput = require(
|
|
9
|
-
var ButtonInput = require(
|
|
10
|
-
var index$1 = require(
|
|
11
|
-
var index$2 = require(
|
|
12
|
-
var index$3 = require(
|
|
13
|
-
var index$4 = require(
|
|
14
|
-
var index$5 = require(
|
|
15
|
-
var RangePicker = require(
|
|
16
|
-
var TimePicker = require(
|
|
17
|
-
var index$7 = require(
|
|
18
|
-
var index$8 = require(
|
|
19
|
-
var index$9 = require(
|
|
20
|
-
var FormConfigProvider = require(
|
|
5
|
+
var index = require('../Select/index.js');
|
|
6
|
+
var index$6 = require('../Input/index.js');
|
|
7
|
+
var InputNumber = require('../Input/InputNumber.js');
|
|
8
|
+
var SelectInput = require('../Input/SelectInput.js');
|
|
9
|
+
var ButtonInput = require('../Input/ButtonInput.js');
|
|
10
|
+
var index$1 = require('../CheckboxGroup/index.js');
|
|
11
|
+
var index$2 = require('../CheckboxGroup/CheckBox/index.js');
|
|
12
|
+
var index$3 = require('../RadioGroup/index.js');
|
|
13
|
+
var index$4 = require('../Switch/index.js');
|
|
14
|
+
var index$5 = require('../TDPicker/index.js');
|
|
15
|
+
var RangePicker = require('../TDPicker/RangePicker.js');
|
|
16
|
+
var TimePicker = require('../TDPicker/TimePicker.js');
|
|
17
|
+
var index$7 = require('../Upload/index.js');
|
|
18
|
+
var index$8 = require('../Upload/UrlUpload/index.js');
|
|
19
|
+
var index$9 = require('../Submit/index.js');
|
|
20
|
+
var FormConfigProvider = require('./Context/FormConfigProvider.js');
|
|
21
21
|
|
|
22
22
|
var placeholderConfig = {
|
|
23
23
|
inputType: ["input", "inputNumber", "selectInput", "buttonInput"],
|
|
24
|
-
selectType: ["select", "datePicker", "timePicker"]
|
|
24
|
+
selectType: ["select", "datePicker", "timePicker"]
|
|
25
25
|
};
|
|
26
26
|
var FormConfig = {
|
|
27
27
|
select: index.default,
|
|
@@ -31,7 +31,7 @@ var FormConfig = {
|
|
|
31
31
|
checkboxGroup: index$1.default,
|
|
32
32
|
checkBox: index$2.default,
|
|
33
33
|
radioGroup: index$3.default,
|
|
34
|
-
switch: index$4.default,
|
|
34
|
+
"switch": index$4.default,
|
|
35
35
|
datePicker: index$5.default,
|
|
36
36
|
rangePicker: RangePicker.default,
|
|
37
37
|
timePicker: TimePicker.default,
|
|
@@ -39,7 +39,7 @@ var FormConfig = {
|
|
|
39
39
|
upload: index$7.default,
|
|
40
40
|
urlUpload: index$8.default,
|
|
41
41
|
submit: index$9.default,
|
|
42
|
-
formConfigProvider: FormConfigProvider.default
|
|
42
|
+
formConfigProvider: FormConfigProvider.default
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
exports.default = FormConfig;
|