@ztocwst/rc-pro-materials 0.2.39 → 0.2.40
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/SCM_Comps.js +1 -1
- package/dist/SCM_Comps.js.map +1 -1
- package/es/utils/props/microModal.js +6 -0
- package/lib/utils/props/microModal.js +6 -0
- package/package.json +4 -4
|
@@ -21,6 +21,12 @@ export var processMicroModalProps = function processMicroModalProps(item) {
|
|
|
21
21
|
requestOptions: processRequestConfig(requestOptions)
|
|
22
22
|
} : {}, restProps ? processJsonOrFunctionProps(restProps) : {})
|
|
23
23
|
});
|
|
24
|
+
var keys = Object.keys(_props.microModal.formProps);
|
|
25
|
+
keys.forEach(function (key) {
|
|
26
|
+
if (_props.microModal.formProps[key] === undefined) {
|
|
27
|
+
delete _props.microModal.formProps[key];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
24
30
|
return _props;
|
|
25
31
|
};
|
|
26
32
|
export function transformFormProps(formProps) {
|
|
@@ -27,6 +27,12 @@ var processMicroModalProps = exports.processMicroModalProps = function processMi
|
|
|
27
27
|
requestOptions: (0, _common.processRequestConfig)(requestOptions)
|
|
28
28
|
} : {}, restProps ? (0, _lib.processJsonOrFunctionProps)(restProps) : {})
|
|
29
29
|
});
|
|
30
|
+
var keys = Object.keys(_props.microModal.formProps);
|
|
31
|
+
keys.forEach(function (key) {
|
|
32
|
+
if (_props.microModal.formProps[key] === undefined) {
|
|
33
|
+
delete _props.microModal.formProps[key];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
30
36
|
return _props;
|
|
31
37
|
};
|
|
32
38
|
function transformFormProps(formProps) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ztocwst/rc-pro-materials",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.40",
|
|
4
4
|
"description": "@ztocwst/rc-pro-materials",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider npm run lowcode:dev",
|
|
17
17
|
"start": "npm run dumi",
|
|
18
18
|
"build": "build-scripts build",
|
|
19
|
-
"lowcode:dev": "build-scripts start --config ./build.lowcode.js",
|
|
19
|
+
"lowcode:dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-scripts start --config ./build.lowcode.js",
|
|
20
20
|
"lowcode:build": "build-scripts build --config ./build.lowcode.js",
|
|
21
21
|
"f2elint-scan": "f2elint scan",
|
|
22
22
|
"f2elint-fix": "f2elint fix",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
},
|
|
87
87
|
"componentConfig": {
|
|
88
88
|
"isComponentLibrary": true,
|
|
89
|
-
"materialSchema": "https://npm.ztocwst.com/@ztocwst/rc-pro-materials@0.2.
|
|
89
|
+
"materialSchema": "https://npm.ztocwst.com/@ztocwst/rc-pro-materials@0.2.40/build/lowcode/assets-prod.json"
|
|
90
90
|
},
|
|
91
|
-
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.2.
|
|
91
|
+
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.2.40/build/index.html",
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"registry": "https://registry.npmjs.org/",
|
|
94
94
|
"access": "public"
|