Comparing version 7.35.1 to 7.35.2
@@ -35,3 +35,4 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; | ||
// Fill width | ||
var restWidth = Math.max(scrollWidth - totalWidth, missWidthCount); | ||
var maxFitWidth = Math.max(scrollWidth, clientWidth); | ||
var restWidth = Math.max(maxFitWidth - totalWidth, missWidthCount); | ||
var restCount = missWidthCount; | ||
@@ -54,3 +55,2 @@ var avgWidth = restWidth / missWidthCount; | ||
}); | ||
var maxFitWidth = Math.max(scrollWidth, clientWidth); | ||
@@ -57,0 +57,0 @@ // If realTotal is less than clientWidth, |
import { EXPAND_COLUMN, INTERNAL_HOOKS } from './constant'; | ||
import { FooterComponents as Summary } from './Footer'; | ||
import type { Reference } from './interface'; | ||
import type { ColumnType, Reference } from './interface'; | ||
import Column from './sugar/Column'; | ||
@@ -11,3 +11,3 @@ import ColumnGroup from './sugar/ColumnGroup'; | ||
import VirtualTable, { genVirtualTable } from './VirtualTable'; | ||
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, }; | ||
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, type ColumnType, }; | ||
export default Table; |
@@ -45,3 +45,4 @@ "use strict"; | ||
// Fill width | ||
var restWidth = Math.max(scrollWidth - totalWidth, missWidthCount); | ||
var maxFitWidth = Math.max(scrollWidth, clientWidth); | ||
var restWidth = Math.max(maxFitWidth - totalWidth, missWidthCount); | ||
var restCount = missWidthCount; | ||
@@ -64,3 +65,2 @@ var avgWidth = restWidth / missWidthCount; | ||
}); | ||
var maxFitWidth = Math.max(scrollWidth, clientWidth); | ||
@@ -67,0 +67,0 @@ // If realTotal is less than clientWidth, |
import { EXPAND_COLUMN, INTERNAL_HOOKS } from './constant'; | ||
import { FooterComponents as Summary } from './Footer'; | ||
import type { Reference } from './interface'; | ||
import type { ColumnType, Reference } from './interface'; | ||
import Column from './sugar/Column'; | ||
@@ -11,3 +11,3 @@ import ColumnGroup from './sugar/ColumnGroup'; | ||
import VirtualTable, { genVirtualTable } from './VirtualTable'; | ||
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, }; | ||
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, type ColumnType, }; | ||
export default Table; |
{ | ||
"name": "rc-table", | ||
"version": "7.35.1", | ||
"version": "7.35.2", | ||
"description": "table ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
400913
0