@ballistix.digital/react-components 9.9.1 → 9.10.0
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/index.d.ts +109 -62
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +76 -45
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +75 -44
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -12,7 +12,7 @@ import {FontAwesomeIcon as $4MPRY$FontAwesomeIcon} from "@fortawesome/react-font
|
|
|
12
12
|
import {useFloating as $4MPRY$useFloating, offset as $4MPRY$offset, flip as $4MPRY$flip, shift as $4MPRY$shift, arrow as $4MPRY$arrow, autoUpdate as $4MPRY$autoUpdate, useHover as $4MPRY$useHover, useFocus as $4MPRY$useFocus, useDismiss as $4MPRY$useDismiss, useRole as $4MPRY$useRole, useInteractions as $4MPRY$useInteractions, FloatingArrow as $4MPRY$FloatingArrow} from "@floating-ui/react";
|
|
13
13
|
import {Menu as $4MPRY$Menu, MenuButton as $4MPRY$MenuButton, Transition as $4MPRY$Transition, MenuItems as $4MPRY$MenuItems, Dialog as $4MPRY$Dialog, TransitionChild as $4MPRY$TransitionChild, Popover as $4MPRY$Popover, PopoverButton as $4MPRY$PopoverButton, PopoverPanel as $4MPRY$PopoverPanel, Switch as $4MPRY$Switch} from "@headlessui/react";
|
|
14
14
|
import {useMask as $4MPRY$useMask} from "@react-input/mask";
|
|
15
|
-
import {
|
|
15
|
+
import {useTable as $4MPRY$useTable, flexRender as $4MPRY$flexRender, tableFeatures as $4MPRY$tableFeatures, rowSortingFeature as $4MPRY$rowSortingFeature, columnVisibilityFeature as $4MPRY$columnVisibilityFeature, columnOrderingFeature as $4MPRY$columnOrderingFeature, columnPinningFeature as $4MPRY$columnPinningFeature, columnSizingFeature as $4MPRY$columnSizingFeature, rowPaginationFeature as $4MPRY$rowPaginationFeature, columnGroupingFeature as $4MPRY$columnGroupingFeature, createGroupedRowModel as $4MPRY$createGroupedRowModel, rowExpandingFeature as $4MPRY$rowExpandingFeature, createExpandedRowModel as $4MPRY$createExpandedRowModel, rowAggregationFeature as $4MPRY$rowAggregationFeature, aggregationFn_sum as $4MPRY$aggregationFn_sum, aggregationFn_min as $4MPRY$aggregationFn_min, aggregationFn_max as $4MPRY$aggregationFn_max, aggregationFn_extent as $4MPRY$aggregationFn_extent, aggregationFn_mean as $4MPRY$aggregationFn_mean, aggregationFn_median as $4MPRY$aggregationFn_median, aggregationFn_unique as $4MPRY$aggregationFn_unique, aggregationFn_uniqueCount as $4MPRY$aggregationFn_uniqueCount, aggregationFn_count as $4MPRY$aggregationFn_count, aggregationFn_first as $4MPRY$aggregationFn_first, aggregationFn_last as $4MPRY$aggregationFn_last, createColumnHelper as $4MPRY$createColumnHelper} from "@tanstack/react-table";
|
|
16
16
|
import $4MPRY$reacttailwindcssselect from "react-tailwindcss-select";
|
|
17
17
|
import {utils as $4MPRY$utils, writeFile as $4MPRY$writeFile} from "xlsx";
|
|
18
18
|
import {useSensors as $4MPRY$useSensors, useSensor as $4MPRY$useSensor, MouseSensor as $4MPRY$MouseSensor, TouchSensor as $4MPRY$TouchSensor, KeyboardSensor as $4MPRY$KeyboardSensor, DndContext as $4MPRY$DndContext, closestCenter as $4MPRY$closestCenter} from "@dnd-kit/core";
|
|
@@ -2793,6 +2793,36 @@ var $8239f5cdc1851973$export$2e2bcd8739ae039 = $8239f5cdc1851973$var$PanelPagina
|
|
|
2793
2793
|
|
|
2794
2794
|
|
|
2795
2795
|
|
|
2796
|
+
const $fc6e6482f238e9ea$export$8a456ae7ab58d698 = (0, $4MPRY$tableFeatures)({
|
|
2797
|
+
rowSortingFeature: $4MPRY$rowSortingFeature,
|
|
2798
|
+
columnVisibilityFeature: $4MPRY$columnVisibilityFeature,
|
|
2799
|
+
columnOrderingFeature: $4MPRY$columnOrderingFeature,
|
|
2800
|
+
columnPinningFeature: $4MPRY$columnPinningFeature,
|
|
2801
|
+
columnSizingFeature: $4MPRY$columnSizingFeature,
|
|
2802
|
+
rowPaginationFeature: $4MPRY$rowPaginationFeature,
|
|
2803
|
+
columnGroupingFeature: $4MPRY$columnGroupingFeature,
|
|
2804
|
+
groupedRowModel: (0, $4MPRY$createGroupedRowModel)(),
|
|
2805
|
+
rowExpandingFeature: $4MPRY$rowExpandingFeature,
|
|
2806
|
+
expandedRowModel: (0, $4MPRY$createExpandedRowModel)(),
|
|
2807
|
+
rowAggregationFeature: $4MPRY$rowAggregationFeature,
|
|
2808
|
+
aggregationFns: {
|
|
2809
|
+
sum: (0, $4MPRY$aggregationFn_sum),
|
|
2810
|
+
min: (0, $4MPRY$aggregationFn_min),
|
|
2811
|
+
max: (0, $4MPRY$aggregationFn_max),
|
|
2812
|
+
extent: (0, $4MPRY$aggregationFn_extent),
|
|
2813
|
+
mean: (0, $4MPRY$aggregationFn_mean),
|
|
2814
|
+
median: (0, $4MPRY$aggregationFn_median),
|
|
2815
|
+
unique: (0, $4MPRY$aggregationFn_unique),
|
|
2816
|
+
uniqueCount: (0, $4MPRY$aggregationFn_uniqueCount),
|
|
2817
|
+
count: (0, $4MPRY$aggregationFn_count),
|
|
2818
|
+
first: (0, $4MPRY$aggregationFn_first),
|
|
2819
|
+
last: (0, $4MPRY$aggregationFn_last)
|
|
2820
|
+
}
|
|
2821
|
+
});
|
|
2822
|
+
const $fc6e6482f238e9ea$export$4b44a5cb9651fe5e = ()=>(0, $4MPRY$createColumnHelper)();
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2796
2826
|
|
|
2797
2827
|
const $382ffb7c1faa0f62$export$4564041bcff0e281 = ()=>{
|
|
2798
2828
|
const handleFormatRow = (row)=>row.map((cell)=>({
|
|
@@ -2808,7 +2838,7 @@ const $382ffb7c1faa0f62$export$4564041bcff0e281 = ()=>{
|
|
|
2808
2838
|
const sheets = [];
|
|
2809
2839
|
const columns = table.getAllColumns();
|
|
2810
2840
|
const rows = exportData ?? table.getRowModel()?.flatRows?.map((row)=>row.original);
|
|
2811
|
-
const order = table.
|
|
2841
|
+
const order = table.state.columnOrder;
|
|
2812
2842
|
const sortedColumns = (0, $4MPRY$filter)([
|
|
2813
2843
|
...columns
|
|
2814
2844
|
].sort((a, b)=>(0, $4MPRY$indexOf)(order, a.id ?? (0, $4MPRY$get)(a, 'accessorKey')) - (0, $4MPRY$indexOf)(order, b.id ?? (0, $4MPRY$get)(b, 'accessorKey'))), (column)=>typeof column?.columnDef?.header === 'string' && column?.getIsVisible());
|
|
@@ -2971,7 +3001,7 @@ const $fb5a78a09a8b15b6$var$styles = {
|
|
|
2971
3001
|
var $fb5a78a09a8b15b6$export$2e2bcd8739ae039 = $fb5a78a09a8b15b6$var$styles;
|
|
2972
3002
|
|
|
2973
3003
|
|
|
2974
|
-
|
|
3004
|
+
function $4421fdc946e7dd6c$var$TableList(props) {
|
|
2975
3005
|
const { id: id, columns: columns, data: data, page: page, children: children, defaultOrder: defaultOrder, defaultVisibility: defaultVisibility, type: type = 'normal', isLoading: isLoading, isStriped: isStriped = false, hasStickyHeader: hasStickyHeader = false, hasVerticalSeparators: hasVerticalSeparators = false, areControlsVisible: areControlsVisible = true, customControls: customControls, exportFileName: exportFileName = 'table-export', styles: stylesOverrides, onChange: onChange, onPaginate: onPaginate } = props;
|
|
2976
3006
|
const { generate: generate, write: write } = (0, $382ffb7c1faa0f62$export$4564041bcff0e281)();
|
|
2977
3007
|
const handleGenerateStyle = ()=>{
|
|
@@ -2986,8 +3016,8 @@ const $4421fdc946e7dd6c$var$TableList = (props)=>{
|
|
|
2986
3016
|
const [sorting, setSorting] = (0, $4MPRY$useState)([]);
|
|
2987
3017
|
const [visibility, setVisibility] = (0, $4MPRY$useState)({});
|
|
2988
3018
|
const [order, setOrder] = (0, $4MPRY$useState)([]);
|
|
2989
|
-
const table = (0, $4MPRY$
|
|
2990
|
-
|
|
3019
|
+
const table = (0, $4MPRY$useTable)({
|
|
3020
|
+
features: (0, $fc6e6482f238e9ea$export$8a456ae7ab58d698),
|
|
2991
3021
|
columns: columns,
|
|
2992
3022
|
data: data,
|
|
2993
3023
|
state: {
|
|
@@ -3212,7 +3242,7 @@ const $4421fdc946e7dd6c$var$TableList = (props)=>{
|
|
|
3212
3242
|
children: table?.getRowModel().rows.map((row, index)=>(0, $4MPRY$jsx)("tr", {
|
|
3213
3243
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.row, isStriped && index % 2 === 0 && 'bg-gray-50'),
|
|
3214
3244
|
children: row.getVisibleCells().map((cell)=>(0, $4MPRY$jsx)("td", {
|
|
3215
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, hasStickyHeader && index !== table
|
|
3245
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, hasStickyHeader && index !== table.state.pagination.pageSize - 1 && 'border-b border-gray-200'),
|
|
3216
3246
|
children: (0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3217
3247
|
}, cell.id))
|
|
3218
3248
|
}, row.id))
|
|
@@ -3250,7 +3280,7 @@ const $4421fdc946e7dd6c$var$TableList = (props)=>{
|
|
|
3250
3280
|
]
|
|
3251
3281
|
})
|
|
3252
3282
|
});
|
|
3253
|
-
}
|
|
3283
|
+
}
|
|
3254
3284
|
var $4421fdc946e7dd6c$export$2e2bcd8739ae039 = $4421fdc946e7dd6c$var$TableList;
|
|
3255
3285
|
|
|
3256
3286
|
|
|
@@ -3297,6 +3327,7 @@ const $b77b4b93ae627775$var$isValidState = (state)=>{
|
|
|
3297
3327
|
|
|
3298
3328
|
|
|
3299
3329
|
|
|
3330
|
+
|
|
3300
3331
|
const $a159f18e2839f1e6$var$base = {
|
|
3301
3332
|
container: '',
|
|
3302
3333
|
head: '',
|
|
@@ -3305,15 +3336,15 @@ const $a159f18e2839f1e6$var$base = {
|
|
|
3305
3336
|
wrapper: 'flow-root relative',
|
|
3306
3337
|
content: '',
|
|
3307
3338
|
styleWrapper: 'flex overflow-x-scroll overflow-y-visible',
|
|
3308
|
-
|
|
3339
|
+
styleWrapperWithStartSide: 'flex',
|
|
3309
3340
|
tableWrapper: 'inline-block min-w-full align-middle',
|
|
3310
|
-
|
|
3341
|
+
tableWrapperWithStartSide: 'w-full overflow-x-scroll',
|
|
3311
3342
|
table: {
|
|
3312
3343
|
container: 'min-w-full border-separate border-spacing-0',
|
|
3313
|
-
|
|
3344
|
+
containerWithStartSide: 'border-separate border-spacing-0',
|
|
3314
3345
|
pinnedColumns: {
|
|
3315
|
-
|
|
3316
|
-
|
|
3346
|
+
start: '4px 0 4px -4px gray inset',
|
|
3347
|
+
end: '-4px 0 4px -4px gray inset'
|
|
3317
3348
|
},
|
|
3318
3349
|
head: {
|
|
3319
3350
|
container: '',
|
|
@@ -3363,7 +3394,7 @@ const $a159f18e2839f1e6$var$base = {
|
|
|
3363
3394
|
}
|
|
3364
3395
|
},
|
|
3365
3396
|
foot: '',
|
|
3366
|
-
|
|
3397
|
+
startSide: 'text-sm text-gray-500'
|
|
3367
3398
|
};
|
|
3368
3399
|
const $a159f18e2839f1e6$var$styles = {
|
|
3369
3400
|
base: $a159f18e2839f1e6$var$base,
|
|
@@ -3381,7 +3412,7 @@ var $a159f18e2839f1e6$export$2e2bcd8739ae039 = $a159f18e2839f1e6$var$styles;
|
|
|
3381
3412
|
|
|
3382
3413
|
|
|
3383
3414
|
const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
3384
|
-
const { id: id, table: config, head: head, foot: foot,
|
|
3415
|
+
const { id: id, table: config, head: head, foot: foot, startSide: startSide, renderSubComponent: renderSubComponent, isLoading: isLoading, onRowClick: onRowClick, onChange: onChange, styles: stylesOverrides, dragConfig: dragConfig } = props;
|
|
3385
3416
|
const [columnVisibility, setColumnVisibility] = (0, $4MPRY$useState)({});
|
|
3386
3417
|
const [columnOrder, setColumnOrder] = (0, $4MPRY$useState)([]);
|
|
3387
3418
|
const [sorting, setSorting] = (0, $4MPRY$useState)(config.options?.defaultSorting ?? []);
|
|
@@ -3441,10 +3472,8 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3441
3472
|
config.columns,
|
|
3442
3473
|
config.options?.defaultVisibility
|
|
3443
3474
|
]);
|
|
3444
|
-
const table = (0, $4MPRY$
|
|
3445
|
-
|
|
3446
|
-
getGroupedRowModel: (0, $4MPRY$getGroupedRowModel)(),
|
|
3447
|
-
getCoreRowModel: (0, $4MPRY$getCoreRowModel)(),
|
|
3475
|
+
const table = (0, $4MPRY$useTable)({
|
|
3476
|
+
features: (0, $fc6e6482f238e9ea$export$8a456ae7ab58d698),
|
|
3448
3477
|
getSubRows: config.options?.getSubRows,
|
|
3449
3478
|
autoResetExpanded: false,
|
|
3450
3479
|
columns: isDraggable ? [
|
|
@@ -3476,8 +3505,8 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3476
3505
|
...config.options?.defaultOrder ?? []
|
|
3477
3506
|
] : config.options?.defaultOrder,
|
|
3478
3507
|
columnPinning: {
|
|
3479
|
-
|
|
3480
|
-
|
|
3508
|
+
start: (0, $4MPRY$map)(config.options?.columnPinning?.start, 'name') ?? [],
|
|
3509
|
+
end: (0, $4MPRY$map)(config.options?.columnPinning?.end, 'name') ?? []
|
|
3481
3510
|
},
|
|
3482
3511
|
grouping: config.options?.grouping?.defaultGrouping,
|
|
3483
3512
|
expanded: config.options?.grouping?.defaultExpanded
|
|
@@ -3522,7 +3551,11 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3522
3551
|
const savedVisibility = (0, $b77b4b93ae627775$export$63dc08f552326ce2)(id)?.columnVisibility;
|
|
3523
3552
|
if (savedVisibility && !(0, $4MPRY$isEmpty)(Object.keys(savedVisibility))) setColumnVisibility(savedVisibility);
|
|
3524
3553
|
else {
|
|
3525
|
-
const
|
|
3554
|
+
const mappedColumns = (0, $4MPRY$map)(config.columns, (column)=>column?.id ?? (0, $4MPRY$get)(column, 'accessorKey'));
|
|
3555
|
+
const columnKeys = isDraggable ? [
|
|
3556
|
+
'drag-handle',
|
|
3557
|
+
...mappedColumns
|
|
3558
|
+
] : mappedColumns;
|
|
3526
3559
|
const visibility = {};
|
|
3527
3560
|
(0, $4MPRY$forEach)(columnKeys, (key)=>{
|
|
3528
3561
|
(0, $4MPRY$assign)(visibility, {
|
|
@@ -3538,9 +3571,10 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3538
3571
|
setColumnVisibility(visibility);
|
|
3539
3572
|
}
|
|
3540
3573
|
}, [
|
|
3574
|
+
config.columns,
|
|
3541
3575
|
config?.options?.defaultVisibility,
|
|
3542
3576
|
id,
|
|
3543
|
-
|
|
3577
|
+
isDraggable
|
|
3544
3578
|
]);
|
|
3545
3579
|
(0, $4MPRY$useEffect)(()=>{
|
|
3546
3580
|
const savedOrder = (0, $b77b4b93ae627775$export$63dc08f552326ce2)(id)?.columnOrder;
|
|
@@ -3625,7 +3659,7 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3625
3659
|
}, cell.id))
|
|
3626
3660
|
})
|
|
3627
3661
|
}) : (0, $4MPRY$map)(row.getVisibleCells(), (cell)=>(0, $4MPRY$jsx)("td", {
|
|
3628
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, config?.options?.hasStickyHeader && index !== table
|
|
3662
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, config?.options?.hasStickyHeader && index !== table.state.pagination.pageSize - 1 && styles.body.table.body.sticky),
|
|
3629
3663
|
style: {
|
|
3630
3664
|
width: cell.column.getSize()
|
|
3631
3665
|
},
|
|
@@ -3640,36 +3674,36 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3640
3674
|
name: id
|
|
3641
3675
|
});
|
|
3642
3676
|
if (pinnedColumnIndex === -1) return null;
|
|
3643
|
-
const startIndex = side === '
|
|
3644
|
-
const endIndex = side === '
|
|
3677
|
+
const startIndex = side === 'start' ? 0 : pinnedColumnIndex + 1;
|
|
3678
|
+
const endIndex = side === 'start' ? pinnedColumnIndex : pinnedColumns.length - pinnedColumnIndex + 1;
|
|
3645
3679
|
return pinnedColumns.slice(startIndex, endIndex).reduce((acc, size)=>acc + size, 0);
|
|
3646
3680
|
}, [
|
|
3647
3681
|
config.options?.columnPinning
|
|
3648
3682
|
]);
|
|
3649
3683
|
const getCommonPinningStyles = (0, $4MPRY$useCallback)((column)=>{
|
|
3650
3684
|
const isPinned = column.getIsPinned();
|
|
3651
|
-
const
|
|
3652
|
-
const
|
|
3653
|
-
const width = (0, $4MPRY$find)((0, $4MPRY$concat)(config.options?.columnPinning?.
|
|
3685
|
+
const isLastStartPinnedColumn = column.id == (0, $4MPRY$last)(config.options?.columnPinning?.start)?.name;
|
|
3686
|
+
const isFirstEndPinnedColumn = column.id == (0, $4MPRY$first)(config.options?.columnPinning?.end)?.name;
|
|
3687
|
+
const width = (0, $4MPRY$find)((0, $4MPRY$concat)(config.options?.columnPinning?.start, config.options?.columnPinning?.end), {
|
|
3654
3688
|
name: column.id
|
|
3655
3689
|
})?.size;
|
|
3656
3690
|
const customBoxShadow = config?.options?.columnPinning?.customShadow;
|
|
3657
|
-
const boxShadow =
|
|
3691
|
+
const boxShadow = isLastStartPinnedColumn ? customBoxShadow ?? styles.body.table.pinnedColumns.start : isFirstEndPinnedColumn ? customBoxShadow ?? styles.body.table.pinnedColumns.end : undefined;
|
|
3658
3692
|
return {
|
|
3659
3693
|
width: width,
|
|
3660
3694
|
maxWidth: width,
|
|
3661
3695
|
minWidth: width,
|
|
3662
3696
|
boxShadow: config.options?.columnPinning?.disableShadow ? undefined : boxShadow,
|
|
3663
|
-
left: isPinned === '
|
|
3664
|
-
right: isPinned === '
|
|
3697
|
+
left: isPinned === 'end' ? `${getPinnedColumnsWidth('end', column.id)}px` : undefined,
|
|
3698
|
+
right: isPinned === 'start' ? `${getPinnedColumnsWidth('start', column.id)}px` : undefined
|
|
3665
3699
|
};
|
|
3666
3700
|
}, [
|
|
3667
3701
|
config.options?.columnPinning?.customShadow,
|
|
3668
3702
|
config.options?.columnPinning?.disableShadow,
|
|
3669
|
-
config.options?.columnPinning?.
|
|
3670
|
-
config.options?.columnPinning?.
|
|
3671
|
-
styles.body.table.pinnedColumns.
|
|
3672
|
-
styles.body.table.pinnedColumns.
|
|
3703
|
+
config.options?.columnPinning?.start,
|
|
3704
|
+
config.options?.columnPinning?.end,
|
|
3705
|
+
styles.body.table.pinnedColumns.start,
|
|
3706
|
+
styles.body.table.pinnedColumns.end,
|
|
3673
3707
|
getPinnedColumnsWidth
|
|
3674
3708
|
]);
|
|
3675
3709
|
const getSortIcon = (0, $4MPRY$useCallback)((column)=>{
|
|
@@ -3711,17 +3745,17 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3711
3745
|
children: (0, $4MPRY$jsx)("div", {
|
|
3712
3746
|
className: styles.body.wrapper,
|
|
3713
3747
|
children: (0, $4MPRY$jsxs)("div", {
|
|
3714
|
-
className:
|
|
3748
|
+
className: startSide ? styles.body.styleWrapperWithStartSide : styles.body.styleWrapper,
|
|
3715
3749
|
children: [
|
|
3716
|
-
|
|
3717
|
-
className: styles.
|
|
3718
|
-
children:
|
|
3750
|
+
startSide && (0, $4MPRY$jsx)("div", {
|
|
3751
|
+
className: styles.startSide,
|
|
3752
|
+
children: startSide(state)
|
|
3719
3753
|
}),
|
|
3720
3754
|
(0, $4MPRY$jsxs)("div", {
|
|
3721
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(
|
|
3755
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(startSide ? styles.body.tableWrapperWithStartSide : styles.body.tableWrapper),
|
|
3722
3756
|
children: [
|
|
3723
3757
|
(0, $4MPRY$jsxs)("table", {
|
|
3724
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(
|
|
3758
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(startSide ? styles.body.table.container : styles.body.table.container),
|
|
3725
3759
|
children: [
|
|
3726
3760
|
(0, $4MPRY$jsx)("thead", {
|
|
3727
3761
|
className: styles.body.table.head.container,
|
|
@@ -3787,7 +3821,7 @@ const $df469b72efb8986e$var$TableList2 = (props)=>{
|
|
|
3787
3821
|
children: (0, $4MPRY$map)(row.getVisibleCells(), (cell)=>(0, $4MPRY$jsx)("td", {
|
|
3788
3822
|
"data-column-id": cell.column.id,
|
|
3789
3823
|
"data-row-id": row.id,
|
|
3790
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, config?.options?.hasStickyHeader && index !== table
|
|
3824
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, config?.options?.hasStickyHeader && index !== table.state.pagination.pageSize - 1 && styles.body.table.body.sticky, cell.column.getIsPinned() && styles.body.table.body.column.pinned.cell),
|
|
3791
3825
|
style: {
|
|
3792
3826
|
width: cell.column.getSize(),
|
|
3793
3827
|
...getCommonPinningStyles(cell.column)
|
|
@@ -3862,9 +3896,6 @@ var $df469b72efb8986e$export$2e2bcd8739ae039 = $df469b72efb8986e$var$TableList2;
|
|
|
3862
3896
|
|
|
3863
3897
|
|
|
3864
3898
|
|
|
3865
|
-
const $fc6e6482f238e9ea$export$4b44a5cb9651fe5e = ()=>(0, $4MPRY$createColumnHelper)();
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
3899
|
|
|
3869
3900
|
|
|
3870
3901
|
|