@ztocwst/rc-pro-materials 0.1.9 → 0.1.10
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 +2 -2
- package/build/lowcode/view.js +2 -2
- package/dist/SCM_Comps.js +2 -2
- package/dist/SCM_Comps.js.map +1 -1
- package/es/utils/props/microSwitch.js +6 -4
- package/lib/utils/props/microSwitch.js +6 -4
- package/package.json +3 -3
|
@@ -2,7 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
3
|
var _excluded = ["columns"],
|
|
4
4
|
_excluded2 = ["restProps", "requestOptions"],
|
|
5
|
-
_excluded3 = ["
|
|
5
|
+
_excluded3 = ["isMicroSwitch"],
|
|
6
|
+
_excluded4 = ["enableReasonKey", "disableReasonKey", "formProps"];
|
|
6
7
|
import { processJsonOrFunctionProps } from "../../../lib";
|
|
7
8
|
import { processRequestConfig } from "./common";
|
|
8
9
|
import { transformFormProps } from "./microModal";
|
|
@@ -47,15 +48,16 @@ var transformSwitchModal = function transformSwitchModal(column, tableRef) {
|
|
|
47
48
|
});
|
|
48
49
|
}
|
|
49
50
|
} else {
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
var _isMicroSwitch = column.isMicroSwitch,
|
|
52
|
+
_rest = _objectWithoutPropertiesLoose(column, _excluded3);
|
|
53
|
+
return _rest;
|
|
52
54
|
}
|
|
53
55
|
};
|
|
54
56
|
function transformMicroModalFormProps(microModalConfig) {
|
|
55
57
|
var enableReasonKey = microModalConfig.enableReasonKey,
|
|
56
58
|
disableReasonKey = microModalConfig.disableReasonKey,
|
|
57
59
|
formProps = microModalConfig.formProps,
|
|
58
|
-
rest = _objectWithoutPropertiesLoose(microModalConfig,
|
|
60
|
+
rest = _objectWithoutPropertiesLoose(microModalConfig, _excluded4);
|
|
59
61
|
return _extends({}, enableReasonKey || disableReasonKey ? {
|
|
60
62
|
enableReasonKey: enableReasonKey,
|
|
61
63
|
disableReasonKey: disableReasonKey
|
|
@@ -10,7 +10,8 @@ var _common = require("./common");
|
|
|
10
10
|
var _microModal = require("./microModal");
|
|
11
11
|
var _excluded = ["columns"],
|
|
12
12
|
_excluded2 = ["restProps", "requestOptions"],
|
|
13
|
-
_excluded3 = ["
|
|
13
|
+
_excluded3 = ["isMicroSwitch"],
|
|
14
|
+
_excluded4 = ["enableReasonKey", "disableReasonKey", "formProps"];
|
|
14
15
|
var processMicroSwitchProps = function processMicroSwitchProps(props, tableRef) {
|
|
15
16
|
var _columns$map;
|
|
16
17
|
var _props$columns = props.columns,
|
|
@@ -53,15 +54,16 @@ var transformSwitchModal = function transformSwitchModal(column, tableRef) {
|
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
} else {
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
var _isMicroSwitch = column.isMicroSwitch,
|
|
58
|
+
_rest = (0, _objectWithoutPropertiesLoose2["default"])(column, _excluded3);
|
|
59
|
+
return _rest;
|
|
58
60
|
}
|
|
59
61
|
};
|
|
60
62
|
function transformMicroModalFormProps(microModalConfig) {
|
|
61
63
|
var enableReasonKey = microModalConfig.enableReasonKey,
|
|
62
64
|
disableReasonKey = microModalConfig.disableReasonKey,
|
|
63
65
|
formProps = microModalConfig.formProps,
|
|
64
|
-
rest = (0, _objectWithoutPropertiesLoose2["default"])(microModalConfig,
|
|
66
|
+
rest = (0, _objectWithoutPropertiesLoose2["default"])(microModalConfig, _excluded4);
|
|
65
67
|
return (0, _extends2["default"])({}, enableReasonKey || disableReasonKey ? {
|
|
66
68
|
enableReasonKey: enableReasonKey,
|
|
67
69
|
disableReasonKey: disableReasonKey
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ztocwst/rc-pro-materials",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "@ztocwst/rc-pro-materials",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
},
|
|
85
85
|
"componentConfig": {
|
|
86
86
|
"isComponentLibrary": true,
|
|
87
|
-
"materialSchema": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.
|
|
87
|
+
"materialSchema": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.10/build/lowcode/assets-prod.json"
|
|
88
88
|
},
|
|
89
|
-
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.
|
|
89
|
+
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.10/build/index.html",
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"registry": "https://registry.npmjs.org/",
|
|
92
92
|
"access": "public"
|