@agilemotion/oui-react-js 1.8.73 → 1.8.75
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.
|
@@ -777,7 +777,7 @@ const DataGrid = exports.DataGrid = /*#__PURE__*/_react.default.memo(/*#__PURE__
|
|
|
777
777
|
}, getTileLabel(row)));
|
|
778
778
|
}
|
|
779
779
|
function renderTiles() {
|
|
780
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null,
|
|
780
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, rows.map((row, index) => {
|
|
781
781
|
const isItemSelected = isSelected(row.id);
|
|
782
782
|
const labelId = "enhanced-table-checkbox-".concat(index);
|
|
783
783
|
row.index = index;
|
|
@@ -28,6 +28,7 @@ function a11yProps(index) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
const TabPanel = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
31
|
+
var _props$config, _props$config2, _props$config3, _props$config4;
|
|
31
32
|
const [tabValue, setTabValue] = _react.default.useState(0);
|
|
32
33
|
const [errors, setErrors] = _react.default.useState({});
|
|
33
34
|
const [visibleTabPages, setVisibleTabPages] = _react.default.useState(null);
|
|
@@ -148,9 +149,8 @@ const TabPanel = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react.default.fo
|
|
|
148
149
|
};
|
|
149
150
|
return !_Utils.default.isNull(visibleTabPages) && /*#__PURE__*/_react.default.createElement("div", {
|
|
150
151
|
style: {
|
|
151
|
-
width: '100%',
|
|
152
|
-
height: '100%'
|
|
153
|
-
borderBottom: '1px solid #d1d1d1'
|
|
152
|
+
width: (_props$config = props.config) !== null && _props$config !== void 0 && (_props$config = _props$config.attributes) !== null && _props$config !== void 0 && (_props$config = _props$config.style) !== null && _props$config !== void 0 && _props$config.width ? (_props$config2 = props.config) === null || _props$config2 === void 0 || (_props$config2 = _props$config2.attributes) === null || _props$config2 === void 0 || (_props$config2 = _props$config2.style) === null || _props$config2 === void 0 ? void 0 : _props$config2.width : '100%',
|
|
153
|
+
height: (_props$config3 = props.config) !== null && _props$config3 !== void 0 && (_props$config3 = _props$config3.attributes) !== null && _props$config3 !== void 0 && (_props$config3 = _props$config3.style) !== null && _props$config3 !== void 0 && _props$config3.height ? (_props$config4 = props.config) === null || _props$config4 === void 0 || (_props$config4 = _props$config4.attributes) === null || _props$config4 === void 0 || (_props$config4 = _props$config4.style) === null || _props$config4 === void 0 ? void 0 : _props$config4.height : '100%'
|
|
154
154
|
}
|
|
155
155
|
}, /*#__PURE__*/_react.default.createElement(_AppBar.default, {
|
|
156
156
|
position: "static",
|
|
@@ -201,9 +201,10 @@ const TabPanel = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react.default.fo
|
|
|
201
201
|
height: 'calc(100% - 64px)'
|
|
202
202
|
}, props.config)
|
|
203
203
|
}, visibleTabPages.map((page, index) => {
|
|
204
|
+
var _page$attributes, _page$attributes2;
|
|
204
205
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
205
206
|
style: {
|
|
206
|
-
height: '100%',
|
|
207
|
+
height: page !== null && page !== void 0 && (_page$attributes = page.attributes) !== null && _page$attributes !== void 0 && (_page$attributes = _page$attributes.style) !== null && _page$attributes !== void 0 && _page$attributes.height ? page === null || page === void 0 || (_page$attributes2 = page.attributes) === null || _page$attributes2 === void 0 || (_page$attributes2 = _page$attributes2.style) === null || _page$attributes2 === void 0 ? void 0 : _page$attributes2.height : '100%',
|
|
207
208
|
display: tabValue === index ? null : 'none'
|
|
208
209
|
}
|
|
209
210
|
}, /*#__PURE__*/_react.default.createElement(_TabPage.default, {
|
package/package.json
CHANGED