es-grid-template 1.8.65 → 1.8.66
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/es/grid-component/TempTable.d.ts +2 -2
- package/es/grid-component/TempTable.js +3 -3
- package/es/grid-component/hooks/index.js +0 -1
- package/es/grid-component/hooks/useLazyKVMap.d.ts +1 -1
- package/es/grid-component/hooks/useLazyKVMap.js +0 -4
- package/es/grid-component/hooks/utils.d.ts +3 -4
- package/es/grid-component/hooks/utils.js +2 -1
- package/es/grid-component/styles.scss +1394 -1394
- package/es/grid-component/type.d.ts +0 -414
- package/es/grid-component/type.js +490 -1
- package/es/table-component/type.d.ts +2 -0
- package/es/table-virtuoso/ColumnsGroup/ColumnsGroup.js +1 -3
- package/es/table-virtuoso/InternalTable.js +6 -28
- package/es/table-virtuoso/body/TableBodyCell.js +0 -9
- package/es/table-virtuoso/body/TableBodyRow.js +0 -4
- package/es/table-virtuoso/style.js +2 -1
- package/es/table-virtuoso/style.scss +2 -1
- package/es/table-virtuoso/table/Grid.js +0 -4
- package/es/table-virtuoso/table/TableContainer.js +31 -44
- package/es/table-virtuoso/table/TableWrapper.d.ts +2 -0
- package/es/table-virtuoso/table/TableWrapper.js +5 -2
- package/lib/grid-component/TempTable.d.ts +2 -2
- package/lib/grid-component/TempTable.js +3 -5
- package/lib/grid-component/hooks/useLazyKVMap.d.ts +1 -1
- package/lib/grid-component/hooks/useLazyKVMap.js +0 -3
- package/lib/grid-component/hooks/utils.d.ts +3 -4
- package/lib/grid-component/hooks/utils.js +3 -0
- package/lib/grid-component/styles.scss +1394 -1394
- package/lib/grid-component/type.d.ts +0 -414
- package/lib/grid-component/type.js +490 -4
- package/lib/table-component/type.d.ts +2 -0
- package/lib/table-virtuoso/ColumnsGroup/ColumnsGroup.js +1 -3
- package/lib/table-virtuoso/InternalTable.js +6 -28
- package/lib/table-virtuoso/body/TableBodyCell.js +0 -9
- package/lib/table-virtuoso/body/TableBodyRow.js +0 -5
- package/lib/table-virtuoso/style.js +2 -1
- package/lib/table-virtuoso/style.scss +2 -1
- package/lib/table-virtuoso/table/Grid.js +0 -4
- package/lib/table-virtuoso/table/TableContainer.js +29 -42
- package/lib/table-virtuoso/table/TableWrapper.d.ts +2 -0
- package/lib/table-virtuoso/table/TableWrapper.js +4 -2
- package/package.json +1 -1
- package/es/grid-component/AdvanceFilter.d.ts +0 -14
- package/es/grid-component/AdvanceFilter.js +0 -454
- package/es/grid-component/CheckboxFilter.d.ts +0 -20
- package/es/grid-component/CheckboxFilter.js +0 -244
- package/es/grid-component/CheckboxFilter2.d.ts +0 -20
- package/es/grid-component/CheckboxFilter2.js +0 -244
- package/es/grid-component/ColumnsChoose.d.ts +0 -10
- package/es/grid-component/ColumnsChoose.js +0 -230
- package/es/grid-component/ColumnsGroup/ColumnsGroup.d.ts +0 -12
- package/es/grid-component/ColumnsGroup/ColumnsGroup.js +0 -232
- package/es/grid-component/ColumnsGroup/index.d.ts +0 -1
- package/es/grid-component/ColumnsGroup/index.js +0 -1
- package/es/grid-component/Command.d.ts +0 -8
- package/es/grid-component/Command.js +0 -80
- package/es/grid-component/ContextMenu.d.ts +0 -20
- package/es/grid-component/ContextMenu.js +0 -130
- package/es/grid-component/EditForm/EditForm.d.ts +0 -27
- package/es/grid-component/EditForm/EditForm.js +0 -394
- package/es/grid-component/EditForm/index.d.ts +0 -1
- package/es/grid-component/EditForm/index.js +0 -1
- package/es/grid-component/EditableCell.d.ts +0 -20
- package/es/grid-component/EditableCell.js +0 -1030
- package/es/grid-component/FilterSearch.d.ts +0 -12
- package/es/grid-component/FilterSearch.js +0 -33
- package/es/grid-component/GridStyle.d.ts +0 -8
- package/es/grid-component/GridStyle.js +0 -5
- package/es/grid-component/TableGrid.d.ts +0 -21
- package/es/grid-component/TableGrid.js +0 -493
- package/es/grid-component/async-select/index.d.ts +0 -11
- package/es/grid-component/async-select/index.js +0 -38
- package/es/grid-component/async-table-select/index.d.ts +0 -11
- package/es/grid-component/async-table-select/index.js +0 -40
- package/es/grid-component/checkbox-control/index.d.ts +0 -13
- package/es/grid-component/checkbox-control/index.js +0 -40
- package/es/grid-component/hooks/columns/index.d.ts +0 -10
- package/es/grid-component/hooks/columns/index.js +0 -503
- package/es/grid-component/hooks/content/ControlCheckbox.d.ts +0 -13
- package/es/grid-component/hooks/content/ControlCheckbox.js +0 -87
- package/es/grid-component/hooks/content/HeaderContent.d.ts +0 -14
- package/es/grid-component/hooks/content/HeaderContent.js +0 -44
- package/es/grid-component/hooks/content/TooltipContent.d.ts +0 -13
- package/es/grid-component/hooks/content/TooltipContent.js +0 -74
- package/es/grid-component/hooks/useColumns.d.ts +0 -19
- package/es/grid-component/hooks/useColumns.js +0 -317
- package/es/grid-component/number/index.d.ts +0 -10
- package/es/grid-component/number/index.js +0 -39
- package/es/grid-component/number-range/index.d.ts +0 -11
- package/es/grid-component/number-range/index.js +0 -63
- package/es/grid-component/useContext.d.ts +0 -34
- package/es/grid-component/useContext.js +0 -8
- package/es/table-virtuoso/body/TableBody.d.ts +0 -14
- package/es/table-virtuoso/body/TableBody.js +0 -84
- package/lib/grid-component/AdvanceFilter.d.ts +0 -14
- package/lib/grid-component/AdvanceFilter.js +0 -463
- package/lib/grid-component/CheckboxFilter.d.ts +0 -20
- package/lib/grid-component/CheckboxFilter.js +0 -253
- package/lib/grid-component/CheckboxFilter2.d.ts +0 -20
- package/lib/grid-component/CheckboxFilter2.js +0 -253
- package/lib/grid-component/ColumnsChoose.d.ts +0 -10
- package/lib/grid-component/ColumnsChoose.js +0 -240
- package/lib/grid-component/ColumnsGroup/ColumnsGroup.d.ts +0 -12
- package/lib/grid-component/ColumnsGroup/ColumnsGroup.js +0 -243
- package/lib/grid-component/ColumnsGroup/index.d.ts +0 -1
- package/lib/grid-component/ColumnsGroup/index.js +0 -16
- package/lib/grid-component/Command.d.ts +0 -8
- package/lib/grid-component/Command.js +0 -88
- package/lib/grid-component/ContextMenu.d.ts +0 -20
- package/lib/grid-component/ContextMenu.js +0 -140
- package/lib/grid-component/EditForm/EditForm.d.ts +0 -27
- package/lib/grid-component/EditForm/EditForm.js +0 -404
- package/lib/grid-component/EditForm/index.d.ts +0 -1
- package/lib/grid-component/EditForm/index.js +0 -16
- package/lib/grid-component/EditableCell.d.ts +0 -20
- package/lib/grid-component/EditableCell.js +0 -1032
- package/lib/grid-component/FilterSearch.d.ts +0 -12
- package/lib/grid-component/FilterSearch.js +0 -42
- package/lib/grid-component/GridStyle.d.ts +0 -8
- package/lib/grid-component/GridStyle.js +0 -12
- package/lib/grid-component/TableGrid.d.ts +0 -21
- package/lib/grid-component/TableGrid.js +0 -493
- package/lib/grid-component/async-select/index.d.ts +0 -11
- package/lib/grid-component/async-select/index.js +0 -47
- package/lib/grid-component/async-table-select/index.d.ts +0 -11
- package/lib/grid-component/async-table-select/index.js +0 -49
- package/lib/grid-component/checkbox-control/index.d.ts +0 -13
- package/lib/grid-component/checkbox-control/index.js +0 -48
- package/lib/grid-component/hooks/columns/index.d.ts +0 -10
- package/lib/grid-component/hooks/columns/index.js +0 -518
- package/lib/grid-component/hooks/content/ControlCheckbox.d.ts +0 -13
- package/lib/grid-component/hooks/content/ControlCheckbox.js +0 -95
- package/lib/grid-component/hooks/content/HeaderContent.d.ts +0 -14
- package/lib/grid-component/hooks/content/HeaderContent.js +0 -53
- package/lib/grid-component/hooks/content/TooltipContent.d.ts +0 -13
- package/lib/grid-component/hooks/content/TooltipContent.js +0 -81
- package/lib/grid-component/hooks/useColumns.d.ts +0 -19
- package/lib/grid-component/hooks/useColumns.js +0 -328
- package/lib/grid-component/number/index.d.ts +0 -10
- package/lib/grid-component/number/index.js +0 -47
- package/lib/grid-component/number-range/index.d.ts +0 -11
- package/lib/grid-component/number-range/index.js +0 -71
- package/lib/grid-component/useContext.d.ts +0 -34
- package/lib/grid-component/useContext.js +0 -13
- package/lib/table-virtuoso/body/TableBody.d.ts +0 -14
- package/lib/table-virtuoso/body/TableBody.js +0 -95
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { IFormat } from "../type";
|
|
3
|
-
type Props = {
|
|
4
|
-
t?: any;
|
|
5
|
-
format?: IFormat;
|
|
6
|
-
min: number | string | undefined;
|
|
7
|
-
max: number | string | undefined;
|
|
8
|
-
onChange?: (values: any[]) => void;
|
|
9
|
-
};
|
|
10
|
-
declare const NumberRange: (props: Props) => React.JSX.Element;
|
|
11
|
-
export default NumberRange;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNumericComponent = require("react-numeric-component");
|
|
9
|
-
var _rcMasterUi = require("rc-master-ui");
|
|
10
|
-
var _hooks = require("../hooks");
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
const NumberRange = props => {
|
|
14
|
-
const {
|
|
15
|
-
t,
|
|
16
|
-
max,
|
|
17
|
-
min,
|
|
18
|
-
format,
|
|
19
|
-
onChange
|
|
20
|
-
} = props;
|
|
21
|
-
const values = _react.default.useMemo(() => [min, max], [min, max]);
|
|
22
|
-
|
|
23
|
-
// const [values, setValues] = React.useState<any[]>(() =>
|
|
24
|
-
// mergedValues,
|
|
25
|
-
// );
|
|
26
|
-
|
|
27
|
-
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
28
|
-
className: '',
|
|
29
|
-
style: {
|
|
30
|
-
display: 'flex',
|
|
31
|
-
alignItems: 'center',
|
|
32
|
-
columnGap: 5
|
|
33
|
-
}
|
|
34
|
-
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_reactNumericComponent.NumericFormat, {
|
|
35
|
-
value: values[0] ?? ''
|
|
36
|
-
// value={min}
|
|
37
|
-
,
|
|
38
|
-
thousandSeparator: (0, _hooks.checkThousandSeparator)(format?.thousandSeparator, format?.decimalSeparator),
|
|
39
|
-
decimalSeparator: (0, _hooks.checkDecimalSeparator)(format?.thousandSeparator, format?.decimalSeparator),
|
|
40
|
-
allowNegative: true,
|
|
41
|
-
customInput: _rcMasterUi.Input,
|
|
42
|
-
className: ' rounded-0 input-element',
|
|
43
|
-
onValueChange: vals => {
|
|
44
|
-
// onChangeValueFilter(type, values.floatValue, 'min')
|
|
45
|
-
|
|
46
|
-
// setValues([vals.floatValue, values[1]])
|
|
47
|
-
onChange?.([vals.floatValue, max]);
|
|
48
|
-
}
|
|
49
|
-
// placeholder={t ? t('Min') : 'Min'}
|
|
50
|
-
,
|
|
51
|
-
placeholder: t ? t('From') : 'From',
|
|
52
|
-
autoFocus: true
|
|
53
|
-
})), /*#__PURE__*/_react.default.createElement("span", null, " - "), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_reactNumericComponent.NumericFormat, {
|
|
54
|
-
value: values[1] ?? ''
|
|
55
|
-
// value={max}
|
|
56
|
-
,
|
|
57
|
-
thousandSeparator: (0, _hooks.checkThousandSeparator)(format?.thousandSeparator, format?.decimalSeparator),
|
|
58
|
-
decimalSeparator: (0, _hooks.checkDecimalSeparator)(format?.thousandSeparator, format?.decimalSeparator),
|
|
59
|
-
allowNegative: true,
|
|
60
|
-
customInput: _rcMasterUi.Input,
|
|
61
|
-
className: ' rounded-0 input-element',
|
|
62
|
-
onValueChange: vals => {
|
|
63
|
-
// setValues([values[0], vals.floatValue])
|
|
64
|
-
onChange?.([min, vals.floatValue]);
|
|
65
|
-
}
|
|
66
|
-
// placeholder={t ? t('Max') : 'Max'}
|
|
67
|
-
,
|
|
68
|
-
placeholder: t ? t('To') : 'To'
|
|
69
|
-
}))));
|
|
70
|
-
};
|
|
71
|
-
var _default = exports.default = NumberRange;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { AnyObject, IFormat } from "./type";
|
|
3
|
-
import type { SubmitHandler } from "react-hook-form";
|
|
4
|
-
import type { GetRowKey } from "./type";
|
|
5
|
-
export interface IContext<RecordType> {
|
|
6
|
-
searchValue?: any;
|
|
7
|
-
setSearchValue?: any;
|
|
8
|
-
open?: boolean;
|
|
9
|
-
setOpen?: any;
|
|
10
|
-
rowKey: string | keyof RecordType | GetRowKey<RecordType>;
|
|
11
|
-
onSave?: any;
|
|
12
|
-
format?: IFormat;
|
|
13
|
-
control?: any;
|
|
14
|
-
errors?: any;
|
|
15
|
-
trigger?: any;
|
|
16
|
-
handleSubmit?: any;
|
|
17
|
-
onSubmit?: SubmitHandler<any>;
|
|
18
|
-
getValues?: any;
|
|
19
|
-
handleCellChange?: (args: ContextCellChange<RecordType>) => void;
|
|
20
|
-
getRowKey?: GetRowKey<RecordType>;
|
|
21
|
-
id: string;
|
|
22
|
-
}
|
|
23
|
-
export type ContextCellChange<RecordType = AnyObject> = {
|
|
24
|
-
key: string | keyof RecordType | GetRowKey<RecordType>;
|
|
25
|
-
record: any;
|
|
26
|
-
field: string | undefined;
|
|
27
|
-
option: any;
|
|
28
|
-
indexRow: number;
|
|
29
|
-
indexCol: number;
|
|
30
|
-
newState?: any;
|
|
31
|
-
prevState?: any;
|
|
32
|
-
type: 'enter' | 'blur' | 'outClick';
|
|
33
|
-
};
|
|
34
|
-
export declare const TableContext: import("react").Context<IContext<any>>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TableContext = void 0;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
// import {AnyObject} from "antd/es/_util/type";
|
|
9
|
-
|
|
10
|
-
const TableContext = exports.TableContext = /*#__PURE__*/(0, _react.createContext)({
|
|
11
|
-
rowKey: 'rowId',
|
|
12
|
-
id: ''
|
|
13
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Table } from "@tanstack/react-table";
|
|
2
|
-
import type { CommandClick } from "../../table-component/type";
|
|
3
|
-
import React from "react";
|
|
4
|
-
interface TableBodyProps<T> {
|
|
5
|
-
table: Table<T>;
|
|
6
|
-
tableContainerRef: React.RefObject<HTMLDivElement>;
|
|
7
|
-
commandClick?: (args: CommandClick<T>) => void;
|
|
8
|
-
editAble?: boolean;
|
|
9
|
-
tableId: string;
|
|
10
|
-
showEmptyText?: boolean;
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}
|
|
13
|
-
declare const TableBody: <RecordType extends object>({ columnVirtualizer, table, tableContainerRef, virtualPaddingLeft, virtualPaddingRight, fixedLeftColumns, fixedRightColumns, tableId, showEmptyText, ...rest }: TableBodyProps<RecordType>) => React.JSX.Element;
|
|
14
|
-
export default TableBody;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
-
var _TableBodyRow = _interopRequireDefault(require("./TableBodyRow"));
|
|
10
|
-
var _reactVirtual = require("@tanstack/react-virtual");
|
|
11
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _useContext = require("../useContext");
|
|
13
|
-
var _rcMasterUi = require("rc-master-ui");
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
-
// import type { Virtualizer } from "@tanstack/react-virtual";
|
|
17
|
-
|
|
18
|
-
// import type { Dispatch, SetStateAction } from "react";
|
|
19
|
-
|
|
20
|
-
const TableBody = ({
|
|
21
|
-
columnVirtualizer,
|
|
22
|
-
table,
|
|
23
|
-
tableContainerRef,
|
|
24
|
-
virtualPaddingLeft,
|
|
25
|
-
virtualPaddingRight,
|
|
26
|
-
fixedLeftColumns,
|
|
27
|
-
fixedRightColumns,
|
|
28
|
-
tableId,
|
|
29
|
-
showEmptyText,
|
|
30
|
-
...rest
|
|
31
|
-
}) => {
|
|
32
|
-
const {
|
|
33
|
-
rows
|
|
34
|
-
} = table.getRowModel();
|
|
35
|
-
const {
|
|
36
|
-
editingKey,
|
|
37
|
-
prefix,
|
|
38
|
-
locale
|
|
39
|
-
} = _react.default.useContext(_useContext.TableContext);
|
|
40
|
-
|
|
41
|
-
//dynamic row height virtualization - alternatively you could use a simpler fixed row height strategy without the need for `measureElement`
|
|
42
|
-
const rowVirtualizer = (0, _reactVirtual.useVirtualizer)({
|
|
43
|
-
count: rows.length,
|
|
44
|
-
estimateSize: () => 36,
|
|
45
|
-
//estimate row height for accurate scrollbar dragging
|
|
46
|
-
getScrollElement: () => tableContainerRef.current,
|
|
47
|
-
//measure dynamic row height, except in firefox because it measures table border height incorrectly
|
|
48
|
-
measureElement: typeof window !== 'undefined' && navigator.userAgent.indexOf('Firefox') === -1 ? element => element?.getBoundingClientRect().height : undefined,
|
|
49
|
-
overscan: 1
|
|
50
|
-
});
|
|
51
|
-
const virtualRows = rowVirtualizer.getVirtualItems();
|
|
52
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
-
className: `${prefix}-grid-tbody`,
|
|
54
|
-
style: {
|
|
55
|
-
display: 'grid',
|
|
56
|
-
// height: `${rowVirtualizer.getTotalSize()}px`, //tells scrollbar how big the table is
|
|
57
|
-
height: showEmptyText && rows.length === 0 ? `140px` : `${rowVirtualizer.getTotalSize()}px`,
|
|
58
|
-
//tells scrollbar how big the table is
|
|
59
|
-
position: 'relative' //needed for absolute positioning of rows
|
|
60
|
-
}
|
|
61
|
-
}, showEmptyText && rows.length === 0 ? /*#__PURE__*/_react.default.createElement("tr", {
|
|
62
|
-
style: {
|
|
63
|
-
// transform: `translateY(${virtualRow.start}px)`, //this should always be a `style` as it changes on scroll
|
|
64
|
-
}
|
|
65
|
-
}, /*#__PURE__*/_react.default.createElement("td", {
|
|
66
|
-
// colSpan={30}
|
|
67
|
-
style: {
|
|
68
|
-
position: "sticky",
|
|
69
|
-
left: 0,
|
|
70
|
-
width: tableContainerRef.current?.clientWidth,
|
|
71
|
-
overflow: 'hidden'
|
|
72
|
-
}
|
|
73
|
-
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Empty, {
|
|
74
|
-
image: _rcMasterUi.Empty.PRESENTED_IMAGE_SIMPLE,
|
|
75
|
-
description: locale?.emptyText
|
|
76
|
-
})))) : /*#__PURE__*/_react.default.createElement(_react.Fragment, null, virtualRows.map(virtualRow => {
|
|
77
|
-
const row = rows[virtualRow.index];
|
|
78
|
-
const isEditing = row.id === editingKey;
|
|
79
|
-
return /*#__PURE__*/_react.default.createElement(_TableBodyRow.default, (0, _extends2.default)({}, rest, {
|
|
80
|
-
table: table,
|
|
81
|
-
tableId: tableId,
|
|
82
|
-
key: row.id,
|
|
83
|
-
row: row,
|
|
84
|
-
columnVirtualizer: columnVirtualizer,
|
|
85
|
-
rowVirtualizer: rowVirtualizer,
|
|
86
|
-
virtualPaddingLeft: virtualPaddingLeft,
|
|
87
|
-
virtualPaddingRight: virtualPaddingRight,
|
|
88
|
-
virtualRow: virtualRow,
|
|
89
|
-
fixedLeftColumns: fixedLeftColumns,
|
|
90
|
-
fixedRightColumns: fixedRightColumns,
|
|
91
|
-
isEditing: isEditing
|
|
92
|
-
}));
|
|
93
|
-
})));
|
|
94
|
-
};
|
|
95
|
-
var _default = exports.default = TableBody;
|