@zat-design/sisyphus-react 3.4.9-beta.10 → 3.4.9-beta.11
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.
|
@@ -6,5 +6,5 @@ import { GroupProps } from './propsType';
|
|
|
6
6
|
*
|
|
7
7
|
* render内部能力 show, component, value, onChange, disabled, clearNotShow, fieldProps
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const Group: React.FC<GroupProps>;
|
|
10
|
+
export default Group;
|
|
@@ -16,7 +16,7 @@ import ComRender from './component/ComRender';
|
|
|
16
16
|
*
|
|
17
17
|
* render内部能力 show, component, value, onChange, disabled, clearNotShow, fieldProps
|
|
18
18
|
*/
|
|
19
|
-
var
|
|
19
|
+
var Group = function Group(props) {
|
|
20
20
|
var children = props.children,
|
|
21
21
|
className = props.className,
|
|
22
22
|
_props$space = props.space,
|
|
@@ -66,12 +66,12 @@ var GroupCopy = function GroupCopy(props) {
|
|
|
66
66
|
return _jsx("div", {
|
|
67
67
|
className: _className,
|
|
68
68
|
children: space.compact || (space === null || space === void 0 ? void 0 : space.separator) ? _jsx(_Space.Compact, {
|
|
69
|
-
children: columns.map(function (column) {
|
|
69
|
+
children: columns.map(function (column, index) {
|
|
70
70
|
return _jsx(ComRender, _objectSpread(_objectSpread({
|
|
71
71
|
contextProps: contextProps
|
|
72
72
|
}, column), {}, {
|
|
73
73
|
otherProps: otherProps
|
|
74
|
-
}));
|
|
74
|
+
}), column.name);
|
|
75
75
|
})
|
|
76
76
|
}) : _jsx(_Space, _objectSpread(_objectSpread({
|
|
77
77
|
align: "start"
|
|
@@ -81,9 +81,9 @@ var GroupCopy = function GroupCopy(props) {
|
|
|
81
81
|
contextProps: contextProps
|
|
82
82
|
}, column), {}, {
|
|
83
83
|
otherProps: otherProps
|
|
84
|
-
}));
|
|
84
|
+
}), column.name);
|
|
85
85
|
})
|
|
86
86
|
}))
|
|
87
87
|
});
|
|
88
88
|
};
|
|
89
|
-
export default
|
|
89
|
+
export default Group;
|
|
@@ -6,5 +6,5 @@ import { GroupProps } from './propsType';
|
|
|
6
6
|
*
|
|
7
7
|
* render内部能力 show, component, value, onChange, disabled, clearNotShow, fieldProps
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const Group: React.FC<GroupProps>;
|
|
10
|
+
export default Group;
|
|
@@ -22,7 +22,7 @@ var _ComRender = _interopRequireDefault(require("./component/ComRender"));
|
|
|
22
22
|
*
|
|
23
23
|
* render内部能力 show, component, value, onChange, disabled, clearNotShow, fieldProps
|
|
24
24
|
*/
|
|
25
|
-
var
|
|
25
|
+
var Group = function Group(props) {
|
|
26
26
|
var children = props.children,
|
|
27
27
|
className = props.className,
|
|
28
28
|
_props$space = props.space,
|
|
@@ -72,12 +72,12 @@ var GroupCopy = function GroupCopy(props) {
|
|
|
72
72
|
return (0, _jsxRuntime.jsx)("div", {
|
|
73
73
|
className: _className,
|
|
74
74
|
children: space.compact || (space === null || space === void 0 ? void 0 : space.separator) ? (0, _jsxRuntime.jsx)(_antd.Space.Compact, {
|
|
75
|
-
children: columns.map(function (column) {
|
|
75
|
+
children: columns.map(function (column, index) {
|
|
76
76
|
return (0, _jsxRuntime.jsx)(_ComRender.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
77
77
|
contextProps: contextProps
|
|
78
78
|
}, column), {}, {
|
|
79
79
|
otherProps: otherProps
|
|
80
|
-
}));
|
|
80
|
+
}), column.name);
|
|
81
81
|
})
|
|
82
82
|
}) : (0, _jsxRuntime.jsx)(_antd.Space, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
83
83
|
align: "start"
|
|
@@ -87,9 +87,9 @@ var GroupCopy = function GroupCopy(props) {
|
|
|
87
87
|
contextProps: contextProps
|
|
88
88
|
}, column), {}, {
|
|
89
89
|
otherProps: otherProps
|
|
90
|
-
}));
|
|
90
|
+
}), column.name);
|
|
91
91
|
})
|
|
92
92
|
}))
|
|
93
93
|
});
|
|
94
94
|
};
|
|
95
|
-
var _default = exports.default =
|
|
95
|
+
var _default = exports.default = Group;
|