@kne/table-page 0.1.0 → 0.1.1

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.
@@ -3339,6 +3339,11 @@ const TablePageInnerContent = withLocale(_ref => {
3339
3339
  dataFormat,
3340
3340
  pagination
3341
3341
  }), [data, fetchProps, requestParams, refresh, reload, loadMore, send, dataFormat, pagination]);
3342
+ const tableContext = _extends({}, columnRenderProps, {
3343
+ requestParams,
3344
+ fetchProps,
3345
+ data
3346
+ });
3342
3347
  const tableProps = _extends({}, props, {
3343
3348
  rowSelection,
3344
3349
  dataSource: formatData.list,
@@ -3348,11 +3353,8 @@ const TablePageInnerContent = withLocale(_ref => {
3348
3353
  [style$1['table-in-toolbar']]: hasToolbar
3349
3354
  }),
3350
3355
  columns: resolvedColumns,
3351
- columnRenderProps: _extends({}, columnRenderProps, {
3352
- requestParams,
3353
- fetchProps,
3354
- data
3355
- }),
3356
+ context: tableContext,
3357
+ columnRenderProps: tableContext,
3356
3358
  summary: typeof summary === 'function' ? (pageData, ...args) => {
3357
3359
  return summary(Object.assign({}, fetchContext, {
3358
3360
  pageData