uiw 5.0.0-bate-9 → 5.0.0-bate-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/dist/uiw.js CHANGED
@@ -17170,7 +17170,6 @@ function TableTr(props) {
17170
17170
  children: keys.map((keyName, colNum) => {
17171
17171
  var isHasChildren = Array.isArray(trData[childrenColumnName]);
17172
17172
  var itemShow = {};
17173
- console.log(isAutoMergeRowSpan, summary);
17174
17173
  if (isAutoMergeRowSpan && summary) {
17175
17174
  var newLaval = Reflect.get(keyName, 'level');
17176
17175
  var summaryCount = summary.summaryCount[newLaval];
@@ -17184,7 +17183,11 @@ function TableTr(props) {
17184
17183
  children: trData[keyName.key]
17185
17184
  };
17186
17185
  if (render[keyName.key]) {
17187
- var child = render[keyName.key](trData[keyName.key], keyName.key, trData, rowNum, colNum, itemShow.rowSpan);
17186
+ var child = render[keyName.key](trData[keyName.key], keyName.key, trData, rowNum, colNum, {
17187
+ level: hierarchy,
17188
+ rowSpan: itemShow.rowSpan,
17189
+ summary
17190
+ });
17188
17191
  if ( /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(child)) {
17189
17192
  objs.children = child;
17190
17193
  } else {
@@ -17481,7 +17484,7 @@ function esm_Table(props) {
17481
17484
  render,
17482
17485
  ellipsis
17483
17486
  } = getLevelItems(self.selfColumns);
17484
- var treeData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => isAutoMergeRowSpan && new NodeTreeData(data, rowKey, (expandable == null ? void 0 : expandable.childrenColumnName) || 'children') || undefined, [data, rowKey, expandable == null ? void 0 : expandable.childrenColumnName, isAutoMergeRowSpan]);
17487
+ var treeData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => new NodeTreeData(data, rowKey, (expandable == null ? void 0 : expandable.childrenColumnName) || 'children'), [data, rowKey, expandable == null ? void 0 : expandable.childrenColumnName, isAutoMergeRowSpan]);
17485
17488
  return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
17486
17489
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)(TableStyleWrap, extends_extends({
17487
17490
  className: cls