@innoways/form-generator 8.0.8 → 8.0.9
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/CHANGELOG.md +11 -0
- package/dist/index.js +21 -25
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed auto details fetch issue using formValue api, version 8.0.9
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @innoways/drip-form-theme-antd@8.0.9
|
|
10
|
+
- @innoways/drip-form@8.0.9
|
|
11
|
+
- @innoways/hooks@8.0.9
|
|
12
|
+
- @innoways/utils@8.0.9
|
|
13
|
+
|
|
3
14
|
## 8.0.8
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -3694,16 +3694,6 @@ var PreviewJSON = function PreviewJSON() {
|
|
|
3694
3694
|
var uiComponents = useRecoilValue(DripFormUiComponetsAtom);
|
|
3695
3695
|
var generatorContext = useContext(GeneratorContext);
|
|
3696
3696
|
var showTitleWithIcon = useShowTitleWithIcon(generatorContext); // below code is for test getAutoFormValueData
|
|
3697
|
-
// const getInitDataCB = (getInitData: any) => {
|
|
3698
|
-
// getInitData({
|
|
3699
|
-
// form_id: '6720979539a5a979690e4fec',
|
|
3700
|
-
// extension: {
|
|
3701
|
-
// type: 'hr-Portal',
|
|
3702
|
-
// orderNumber: 'I-IR-2409020',
|
|
3703
|
-
// function: 'Global-IQ Get Update',
|
|
3704
|
-
// },
|
|
3705
|
-
// })
|
|
3706
|
-
// }
|
|
3707
3697
|
|
|
3708
3698
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
3709
3699
|
keyboard: false,
|
|
@@ -3725,21 +3715,27 @@ var PreviewJSON = function PreviewJSON() {
|
|
|
3725
3715
|
options: {
|
|
3726
3716
|
showTitleWithIcon: showTitleWithIcon
|
|
3727
3717
|
} // below code is for test getAutoFormValueData and autoAddFormValueData
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3718
|
+
,
|
|
3719
|
+
getFormValueAndInitData: {
|
|
3720
|
+
form_id: '6720979539a5a979690e4fec',
|
|
3721
|
+
extension: {
|
|
3722
|
+
type: 'hr-Portal',
|
|
3723
|
+
orderNumber: 'I-IR-2409020',
|
|
3724
|
+
"function": 'Global-IQ Get Update'
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
3727
|
+
onSubmit: function onSubmit(data, autoAddFormValueData) {
|
|
3728
|
+
autoAddFormValueData(data.formData, {
|
|
3729
|
+
form_id: '6720979539a5a979690e4fec',
|
|
3730
|
+
version_id: '6720979539a5a979690e4fec',
|
|
3731
|
+
extension: {
|
|
3732
|
+
type: 'hr-Portal',
|
|
3733
|
+
orderNumber: 'I-IR-2409020',
|
|
3734
|
+
"function": 'Global-IQ Get Update'
|
|
3735
|
+
},
|
|
3736
|
+
form_data: data.formData
|
|
3737
|
+
});
|
|
3738
|
+
}
|
|
3743
3739
|
}));
|
|
3744
3740
|
};
|
|
3745
3741
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@innoways/form-generator",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.9",
|
|
4
4
|
"description": "drip-form 生成器",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hooks",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@dnd-kit/modifiers": "^4.0.0",
|
|
38
38
|
"@dnd-kit/sortable": "^5.0.0",
|
|
39
39
|
"@dnd-kit/utilities": "^3.0.0",
|
|
40
|
-
"@innoways/drip-form": "^8.0.
|
|
41
|
-
"@innoways/drip-form-theme-antd": "^8.0.
|
|
42
|
-
"@innoways/hooks": "^8.0.
|
|
43
|
-
"@innoways/utils": "^8.0.
|
|
40
|
+
"@innoways/drip-form": "^8.0.9",
|
|
41
|
+
"@innoways/drip-form-theme-antd": "^8.0.9",
|
|
42
|
+
"@innoways/hooks": "^8.0.9",
|
|
43
|
+
"@innoways/utils": "^8.0.9",
|
|
44
44
|
"@monaco-editor/react": "^4.2.2",
|
|
45
45
|
"antd": "^4.16.13",
|
|
46
46
|
"classnames": "^2.3.1",
|