@dooherceg/material-react-table 4.0.5 → 4.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.
- package/dist/index.d.ts +18 -1
- package/dist/index.esm.js +407 -50
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +406 -49
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -11,7 +11,7 @@ import Stack from '@mui/material/Stack';
|
|
|
11
11
|
import { c } from 'react/compiler-runtime';
|
|
12
12
|
import DeleteOutlineIcon from '@mui/icons-material/DeleteOutline';
|
|
13
13
|
import Tooltip from '@mui/material/Tooltip';
|
|
14
|
-
import { darken, lighten, alpha, useTheme } from '@mui/material/styles';
|
|
14
|
+
import { keyframes, darken, lighten, alpha, useTheme } from '@mui/material/styles';
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
import EditNoteIcon from '@mui/icons-material/EditNote';
|
|
17
17
|
import FileDownloadIcon from '@mui/icons-material/FileDownload';
|
|
@@ -488,6 +488,12 @@ const createRow = (table, originalRow, rowIndex = -1, depth = 0, subRows, parent
|
|
|
488
488
|
[getColumnId(col)]: ''
|
|
489
489
|
}))), rowIndex, depth, subRows, parentId);
|
|
490
490
|
|
|
491
|
+
// Loading indicators fade in after a short delay
|
|
492
|
+
// (`animation: ${mrtDelayedFadeIn}`), so fast responses don't flash them.
|
|
493
|
+
const mrtDelayedFadeIn = `${keyframes`
|
|
494
|
+
from { opacity: 0; }
|
|
495
|
+
to { opacity: 1; }
|
|
496
|
+
`} 150ms ease-out 200ms both`;
|
|
491
497
|
const parseCSSVarId = id => id.replace(/[^a-zA-Z0-9]/g, '_');
|
|
492
498
|
const getMRTTheme = (mrtTheme, muiTheme) => {
|
|
493
499
|
const mrtThemeOverrides = parseFromValuesOrFunc(mrtTheme, muiTheme);
|
|
@@ -2482,7 +2488,7 @@ const MRT_ReorderRowCheckbox = t0 => {
|
|
|
2482
2488
|
t1 = {
|
|
2483
2489
|
color: _temp2$d,
|
|
2484
2490
|
"&.Mui-checked": {
|
|
2485
|
-
color: _temp3$
|
|
2491
|
+
color: _temp3$6
|
|
2486
2492
|
}
|
|
2487
2493
|
};
|
|
2488
2494
|
$[0] = t1;
|
|
@@ -2513,7 +2519,7 @@ function _temp$y(event) {
|
|
|
2513
2519
|
function _temp2$d(theme) {
|
|
2514
2520
|
return theme.palette.warning.main;
|
|
2515
2521
|
}
|
|
2516
|
-
function _temp3$
|
|
2522
|
+
function _temp3$6(theme_0) {
|
|
2517
2523
|
return theme_0.palette.warning.main;
|
|
2518
2524
|
}
|
|
2519
2525
|
|
|
@@ -4017,6 +4023,7 @@ const useMRT_TableOptions = ({
|
|
|
4017
4023
|
positionActionsColumn = 'first',
|
|
4018
4024
|
positionExpandColumn = 'first',
|
|
4019
4025
|
positionPagination = 'bottom',
|
|
4026
|
+
positionProgressBars = 'both',
|
|
4020
4027
|
positionToolbarAlertBanner = 'top',
|
|
4021
4028
|
positionToolbarDropZone = 'top',
|
|
4022
4029
|
rowNumberDisplayMode = 'static',
|
|
@@ -4153,6 +4160,7 @@ const useMRT_TableOptions = ({
|
|
|
4153
4160
|
positionActionsColumn,
|
|
4154
4161
|
positionExpandColumn,
|
|
4155
4162
|
positionPagination,
|
|
4163
|
+
positionProgressBars,
|
|
4156
4164
|
positionToolbarAlertBanner,
|
|
4157
4165
|
positionToolbarDropZone,
|
|
4158
4166
|
rowNumberDisplayMode,
|
|
@@ -4567,9 +4575,9 @@ const useMRT_TableInstance = definedTableOptions => {
|
|
|
4567
4575
|
// pageSize changes while skeletons are already showing, the skeleton row
|
|
4568
4576
|
// *count* stays as-is until loading toggles again — cosmetic only, no data
|
|
4569
4577
|
// is affected.
|
|
4570
|
-
statefulTableOptions.data = useMemo(() => (statefulTableOptions.state.isLoading || statefulTableOptions.state.showSkeletons) && !rows.length ? [...Array(Math.min(statefulTableOptions.state.pagination.pageSize, 20)).fill(null)].map(() => Object.assign({}, ...getAllLeafColumnDefs(statefulTableOptions.columns).map(col => ({
|
|
4578
|
+
statefulTableOptions.data = useMemo(() => statefulTableOptions.skeletonMode !== 'placeholder' && (statefulTableOptions.state.isLoading || statefulTableOptions.state.showSkeletons) && !rows.length ? [...Array(Math.min(statefulTableOptions.state.pagination.pageSize, 20)).fill(null)].map(() => Object.assign({}, ...getAllLeafColumnDefs(statefulTableOptions.columns).map(col => ({
|
|
4571
4579
|
[getColumnId(col)]: null
|
|
4572
|
-
})))) : rows, [rows, statefulTableOptions.columns, statefulTableOptions.state.isLoading, statefulTableOptions.state.showSkeletons]);
|
|
4580
|
+
})))) : rows, [rows, statefulTableOptions.columns, statefulTableOptions.state.isLoading, statefulTableOptions.state.showSkeletons, statefulTableOptions.skeletonMode]);
|
|
4573
4581
|
const table = useTable({
|
|
4574
4582
|
features: MRT_tableFeatures,
|
|
4575
4583
|
// Only wire our atom in for a slice when the consumer hasn't taken over
|
|
@@ -6150,8 +6158,8 @@ const MRT_FilterRuleBooleanEditor = props => {
|
|
|
6150
6158
|
t3 = /*#__PURE__*/jsx(MRT_SingleValueEditor, {
|
|
6151
6159
|
...props,
|
|
6152
6160
|
options: t2,
|
|
6153
|
-
transformValue: _temp3$
|
|
6154
|
-
valueFormatter: _temp4$
|
|
6161
|
+
transformValue: _temp3$5,
|
|
6162
|
+
valueFormatter: _temp4$2
|
|
6155
6163
|
});
|
|
6156
6164
|
$[7] = props;
|
|
6157
6165
|
$[8] = t2;
|
|
@@ -6349,10 +6357,10 @@ function _temp$q(value) {
|
|
|
6349
6357
|
function _temp2$9(value_0) {
|
|
6350
6358
|
return value_0 === undefined || value_0 === null || value_0 === "" ? "" : String(value_0);
|
|
6351
6359
|
}
|
|
6352
|
-
function _temp3$
|
|
6360
|
+
function _temp3$5(value) {
|
|
6353
6361
|
return value === "true" ? true : value === "false" ? false : "";
|
|
6354
6362
|
}
|
|
6355
|
-
function _temp4$
|
|
6363
|
+
function _temp4$2(value_0) {
|
|
6356
6364
|
return value_0 === true ? "true" : value_0 === false ? "false" : "";
|
|
6357
6365
|
}
|
|
6358
6366
|
function _temp5$1(n) {
|
|
@@ -9905,7 +9913,7 @@ const MRT_AdvancedFiltersContent = t0 => {
|
|
|
9905
9913
|
display: "flex",
|
|
9906
9914
|
justifyContent: "center",
|
|
9907
9915
|
sx: {
|
|
9908
|
-
border: _temp3$
|
|
9916
|
+
border: _temp3$4,
|
|
9909
9917
|
borderRadius: 2,
|
|
9910
9918
|
flex: 1,
|
|
9911
9919
|
minHeight: 140,
|
|
@@ -10112,7 +10120,7 @@ function _temp$n(current) {
|
|
|
10112
10120
|
function _temp2$8(theme) {
|
|
10113
10121
|
return theme.zIndex.drawer + 1;
|
|
10114
10122
|
}
|
|
10115
|
-
function _temp3$
|
|
10123
|
+
function _temp3$4(theme_0) {
|
|
10116
10124
|
return `1px dashed ${theme_0.palette.divider}`;
|
|
10117
10125
|
}
|
|
10118
10126
|
|
|
@@ -11297,6 +11305,7 @@ const MRT_BottomToolbar = ({
|
|
|
11297
11305
|
enableRowSelection,
|
|
11298
11306
|
muiBottomToolbarProps,
|
|
11299
11307
|
positionPagination,
|
|
11308
|
+
positionProgressBars,
|
|
11300
11309
|
positionToolbarDropZone,
|
|
11301
11310
|
renderBottomToolbarCustomActions
|
|
11302
11311
|
},
|
|
@@ -11333,7 +11342,7 @@ const MRT_BottomToolbar = ({
|
|
|
11333
11342
|
right: 0,
|
|
11334
11343
|
...parseFromValuesOrFunc(toolbarProps?.sx, theme)
|
|
11335
11344
|
}),
|
|
11336
|
-
children: [/*#__PURE__*/jsx(MRT_LinearProgressBar, {
|
|
11345
|
+
children: [['both', 'bottom'].includes(positionProgressBars ?? '') && /*#__PURE__*/jsx(MRT_LinearProgressBar, {
|
|
11337
11346
|
isTopToolbar: false,
|
|
11338
11347
|
table: table
|
|
11339
11348
|
}), ['both', 'bottom'].includes(positionToolbarDropZone ?? '') && /*#__PURE__*/jsx(MRT_ToolbarDropZone, {
|
|
@@ -11620,7 +11629,7 @@ const MRT_QuickFilterItem = t0 => {
|
|
|
11620
11629
|
top: 8,
|
|
11621
11630
|
zIndex: 1,
|
|
11622
11631
|
"&:hover": {
|
|
11623
|
-
backgroundColor: _temp3$
|
|
11632
|
+
backgroundColor: _temp3$3
|
|
11624
11633
|
}
|
|
11625
11634
|
},
|
|
11626
11635
|
children: /*#__PURE__*/jsx(CloseIcon, {
|
|
@@ -11765,7 +11774,7 @@ function _temp$h(theme) {
|
|
|
11765
11774
|
function _temp2$6(theme_0) {
|
|
11766
11775
|
return theme_0.palette.background.paper;
|
|
11767
11776
|
}
|
|
11768
|
-
function _temp3$
|
|
11777
|
+
function _temp3$3(theme_1) {
|
|
11769
11778
|
return theme_1.palette.error.dark;
|
|
11770
11779
|
}
|
|
11771
11780
|
|
|
@@ -13404,6 +13413,7 @@ const MRT_TopToolbar = ({
|
|
|
13404
13413
|
enableToolbarInternalActions,
|
|
13405
13414
|
muiTopToolbarProps,
|
|
13406
13415
|
positionPagination,
|
|
13416
|
+
positionProgressBars,
|
|
13407
13417
|
positionToolbarDropZone,
|
|
13408
13418
|
renderTopToolbarCustomActions
|
|
13409
13419
|
},
|
|
@@ -13477,7 +13487,7 @@ const MRT_TopToolbar = ({
|
|
|
13477
13487
|
}), enablePagination && ['both', 'top'].includes(positionPagination ?? '') && /*#__PURE__*/jsx(MRT_TablePagination, {
|
|
13478
13488
|
position: "top",
|
|
13479
13489
|
table: table
|
|
13480
|
-
}), /*#__PURE__*/jsx(MRT_LinearProgressBar, {
|
|
13490
|
+
}), ['both', 'top'].includes(positionProgressBars ?? '') && /*#__PURE__*/jsx(MRT_LinearProgressBar, {
|
|
13481
13491
|
isTopToolbar: true,
|
|
13482
13492
|
table: table
|
|
13483
13493
|
})]
|
|
@@ -13650,6 +13660,137 @@ const MRT_CellActionMenu = ({
|
|
|
13650
13660
|
});
|
|
13651
13661
|
};
|
|
13652
13662
|
|
|
13663
|
+
const BAR_WIDTHS = [72, 48, 85, 60, 40, 66, 78, 54, 82, 45];
|
|
13664
|
+
|
|
13665
|
+
// animates the row's own opacity around its fade-to-bottom level (--mrt-ghost-o)
|
|
13666
|
+
const pulse = keyframes`
|
|
13667
|
+
0%, 100% { opacity: var(--mrt-ghost-o); }
|
|
13668
|
+
50% { opacity: calc(var(--mrt-ghost-o) * 0.45); }
|
|
13669
|
+
`;
|
|
13670
|
+
// Pulsing loading rows shared by the body placeholder (skeletonMode: 'placeholder')
|
|
13671
|
+
// and the server table's config skeleton. Plain <td><span> per cell (no MRT cell
|
|
13672
|
+
// logic, hooks or store subscriptions); styles live on the row's sx via descendant
|
|
13673
|
+
// selectors (one emotion class shared by all rows), and only the rows' opacity animates.
|
|
13674
|
+
const MRT_GhostRows = ({
|
|
13675
|
+
cells,
|
|
13676
|
+
isGridLayout,
|
|
13677
|
+
rowCount = 8,
|
|
13678
|
+
rowHeight
|
|
13679
|
+
}) => Array.from({
|
|
13680
|
+
length: rowCount
|
|
13681
|
+
}, (_, rowIndex) => /*#__PURE__*/jsx(Box, {
|
|
13682
|
+
"aria-hidden": true,
|
|
13683
|
+
component: "tr",
|
|
13684
|
+
style: {
|
|
13685
|
+
'--mrt-ghost-o': 1 - rowIndex / rowCount * 0.85,
|
|
13686
|
+
animationDelay: `${rowIndex * 90}ms`
|
|
13687
|
+
},
|
|
13688
|
+
sx: theme => ({
|
|
13689
|
+
animation: `${pulse} 1.6s ease-in-out infinite`,
|
|
13690
|
+
display: isGridLayout ? 'flex' : undefined,
|
|
13691
|
+
height: rowHeight,
|
|
13692
|
+
opacity: 'var(--mrt-ghost-o)',
|
|
13693
|
+
width: '100%',
|
|
13694
|
+
'& > td': {
|
|
13695
|
+
alignItems: isGridLayout ? 'center' : undefined,
|
|
13696
|
+
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
13697
|
+
boxSizing: 'border-box',
|
|
13698
|
+
display: isGridLayout ? 'flex' : undefined,
|
|
13699
|
+
overflow: 'hidden',
|
|
13700
|
+
// fallback = compact padding, for use outside MRT_Table (server table skeleton)
|
|
13701
|
+
p: 'var(--mrt-cell-p, 0.5rem)'
|
|
13702
|
+
},
|
|
13703
|
+
'& > td > span': {
|
|
13704
|
+
backgroundColor: alpha(theme.palette.text.primary, 0.1),
|
|
13705
|
+
borderRadius: 999,
|
|
13706
|
+
display: 'block',
|
|
13707
|
+
height: 10
|
|
13708
|
+
}
|
|
13709
|
+
}),
|
|
13710
|
+
children: cells.map(({
|
|
13711
|
+
id,
|
|
13712
|
+
isDisplay,
|
|
13713
|
+
style
|
|
13714
|
+
}, columnIndex) => /*#__PURE__*/jsx("td", {
|
|
13715
|
+
style: style,
|
|
13716
|
+
children: !isDisplay && /*#__PURE__*/jsx("span", {
|
|
13717
|
+
style: {
|
|
13718
|
+
width: `${BAR_WIDTHS[(columnIndex * 3 + rowIndex * 7) % BAR_WIDTHS.length]}%`
|
|
13719
|
+
}
|
|
13720
|
+
})
|
|
13721
|
+
}, id))
|
|
13722
|
+
}, rowIndex));
|
|
13723
|
+
|
|
13724
|
+
// skeletonMode: 'placeholder'. Ghost rows instead of a MUI Skeleton in every
|
|
13725
|
+
// cell, sized with the same --col-* CSS vars as real cells, so the layout
|
|
13726
|
+
// doesn't shift when data arrives.
|
|
13727
|
+
const MRT_TableBodyLoadingPlaceholder = t0 => {
|
|
13728
|
+
const $ = c(11);
|
|
13729
|
+
const {
|
|
13730
|
+
columns,
|
|
13731
|
+
density,
|
|
13732
|
+
layoutMode
|
|
13733
|
+
} = t0;
|
|
13734
|
+
const rowHeight = density === "compact" ? 37 : density === "comfortable" ? 53 : 69;
|
|
13735
|
+
let t1;
|
|
13736
|
+
if ($[0] !== columns || $[1] !== layoutMode) {
|
|
13737
|
+
let t2;
|
|
13738
|
+
if ($[3] !== layoutMode) {
|
|
13739
|
+
t2 = column => {
|
|
13740
|
+
const sizeVar = `var(--col-${parseCSSVarId(column.id)}-size)`;
|
|
13741
|
+
const {
|
|
13742
|
+
columnDefType,
|
|
13743
|
+
grow,
|
|
13744
|
+
minSize
|
|
13745
|
+
} = column.columnDef;
|
|
13746
|
+
return {
|
|
13747
|
+
id: column.id,
|
|
13748
|
+
isDisplay: columnDefType === "display",
|
|
13749
|
+
style: {
|
|
13750
|
+
flex: layoutMode === "grid" ? `${[0, false].includes(grow) ? 0 : sizeVar} 0 auto` : layoutMode === "grid-no-grow" ? `${+(grow || 0)} 0 auto` : undefined,
|
|
13751
|
+
minWidth: `max(calc(${sizeVar} * 1px), ${minSize ?? 30}px)`,
|
|
13752
|
+
width: `calc(${sizeVar} * 1px)`
|
|
13753
|
+
}
|
|
13754
|
+
};
|
|
13755
|
+
};
|
|
13756
|
+
$[3] = layoutMode;
|
|
13757
|
+
$[4] = t2;
|
|
13758
|
+
} else {
|
|
13759
|
+
t2 = $[4];
|
|
13760
|
+
}
|
|
13761
|
+
t1 = columns.map(t2);
|
|
13762
|
+
$[0] = columns;
|
|
13763
|
+
$[1] = layoutMode;
|
|
13764
|
+
$[2] = t1;
|
|
13765
|
+
} else {
|
|
13766
|
+
t1 = $[2];
|
|
13767
|
+
}
|
|
13768
|
+
const cells = t1;
|
|
13769
|
+
let t2;
|
|
13770
|
+
if ($[5] !== layoutMode) {
|
|
13771
|
+
t2 = layoutMode?.startsWith("grid");
|
|
13772
|
+
$[5] = layoutMode;
|
|
13773
|
+
$[6] = t2;
|
|
13774
|
+
} else {
|
|
13775
|
+
t2 = $[6];
|
|
13776
|
+
}
|
|
13777
|
+
let t3;
|
|
13778
|
+
if ($[7] !== cells || $[8] !== rowHeight || $[9] !== t2) {
|
|
13779
|
+
t3 = /*#__PURE__*/jsx(MRT_GhostRows, {
|
|
13780
|
+
cells: cells,
|
|
13781
|
+
isGridLayout: t2,
|
|
13782
|
+
rowHeight: rowHeight
|
|
13783
|
+
});
|
|
13784
|
+
$[7] = cells;
|
|
13785
|
+
$[8] = rowHeight;
|
|
13786
|
+
$[9] = t2;
|
|
13787
|
+
$[10] = t3;
|
|
13788
|
+
} else {
|
|
13789
|
+
t3 = $[10];
|
|
13790
|
+
}
|
|
13791
|
+
return t3;
|
|
13792
|
+
};
|
|
13793
|
+
|
|
13653
13794
|
const MRT_DisplayColumnCellRenderer = t0 => {
|
|
13654
13795
|
const $ = c(12);
|
|
13655
13796
|
const {
|
|
@@ -13757,6 +13898,8 @@ const MRT_TableBodyCellValue = ({
|
|
|
13757
13898
|
|
|
13758
13899
|
const MRT_TableBodyCell = ({
|
|
13759
13900
|
cell,
|
|
13901
|
+
columnPinningKey: _columnPinningKey,
|
|
13902
|
+
isSkeleton: _isSkeleton,
|
|
13760
13903
|
numRows,
|
|
13761
13904
|
rowRef,
|
|
13762
13905
|
staticColumnIndex,
|
|
@@ -13813,7 +13956,12 @@ const MRT_TableBodyCell = ({
|
|
|
13813
13956
|
draggingRow: state.draggingRow,
|
|
13814
13957
|
hoveredColumn: state.hoveredColumn,
|
|
13815
13958
|
hoveredRow: state.hoveredRow
|
|
13816
|
-
})
|
|
13959
|
+
}),
|
|
13960
|
+
// The selector returns a new object every time; the default `===` compare would
|
|
13961
|
+
// re-render every cell on any store update (e.g. a filter change), bypassing memo.
|
|
13962
|
+
{
|
|
13963
|
+
compare: shallowEqual
|
|
13964
|
+
});
|
|
13817
13965
|
const isResizingThisColumn = columnResizing.isResizingColumn === column.id;
|
|
13818
13966
|
const isActionCell = actionCell?.id === cell.id;
|
|
13819
13967
|
const isDraggingColumn = draggingColumn?.id === column.id;
|
|
@@ -13962,7 +14110,11 @@ const Memo_MRT_TableBodyCell = /*#__PURE__*/memo(MRT_TableBodyCell, (prev, next)
|
|
|
13962
14110
|
// without this, a cell whose own reference is stable but whose row moved to/from
|
|
13963
14111
|
// the last position (e.g. after a filter/sort changed row count) would keep a
|
|
13964
14112
|
// stale border.
|
|
13965
|
-
prev.staticRowIndex === next.staticRowIndex && prev.numRows === next.numRows
|
|
14113
|
+
prev.staticRowIndex === next.staticRowIndex && prev.numRows === next.numRows &&
|
|
14114
|
+
// data-index for the column virtualizer (column order/visibility changes)
|
|
14115
|
+
prev.staticColumnIndex === next.staticColumnIndex &&
|
|
14116
|
+
// Read outside of `cell`: theme (sx), pinning (sticky offsets) and skeletons
|
|
14117
|
+
prev.theme === next.theme && prev.columnPinningKey === next.columnPinningKey && prev.isSkeleton === next.isSkeleton);
|
|
13966
14118
|
|
|
13967
14119
|
const MRT_TableDetailPanel = t0 => {
|
|
13968
14120
|
const $ = c(51);
|
|
@@ -14220,7 +14372,10 @@ const MRT_TableBodyRow = ({
|
|
|
14220
14372
|
}
|
|
14221
14373
|
} = table;
|
|
14222
14374
|
const {
|
|
14223
|
-
|
|
14375
|
+
columnPinning,
|
|
14376
|
+
isLoading,
|
|
14377
|
+
rowPinning,
|
|
14378
|
+
showSkeletons
|
|
14224
14379
|
} = getState();
|
|
14225
14380
|
const {
|
|
14226
14381
|
density,
|
|
@@ -14232,7 +14387,12 @@ const MRT_TableBodyRow = ({
|
|
|
14232
14387
|
draggingColumn: state.draggingColumn,
|
|
14233
14388
|
draggingRow: state.draggingRow,
|
|
14234
14389
|
hoveredRow: state.hoveredRow
|
|
14235
|
-
})
|
|
14390
|
+
}),
|
|
14391
|
+
// New object per call — compare shallowly so unrelated store updates don't re-render
|
|
14392
|
+
{
|
|
14393
|
+
compare: shallowEqual
|
|
14394
|
+
});
|
|
14395
|
+
const columnPinningKey = `${columnPinning.start?.join() ?? ''}|${columnPinning.end?.join() ?? ''}`;
|
|
14236
14396
|
const isDraggingRow = draggingRow?.id === row.id;
|
|
14237
14397
|
const isHoveredRow = hoveredRow?.id === row.id;
|
|
14238
14398
|
const isAnyDragging = !!draggingColumn || !!draggingRow;
|
|
@@ -14342,6 +14502,8 @@ const MRT_TableBodyRow = ({
|
|
|
14342
14502
|
}
|
|
14343
14503
|
const props = {
|
|
14344
14504
|
cell,
|
|
14505
|
+
columnPinningKey,
|
|
14506
|
+
isSkeleton: showSkeletons !== false && (isLoading || showSkeletons),
|
|
14345
14507
|
numRows,
|
|
14346
14508
|
rowRef,
|
|
14347
14509
|
staticColumnIndex,
|
|
@@ -14397,7 +14559,8 @@ const MRT_TableBody = ({
|
|
|
14397
14559
|
muiTableBodyProps,
|
|
14398
14560
|
renderDetailPanel,
|
|
14399
14561
|
renderEmptyRowsFallback,
|
|
14400
|
-
rowPinningDisplayMode
|
|
14562
|
+
rowPinningDisplayMode,
|
|
14563
|
+
skeletonMode
|
|
14401
14564
|
},
|
|
14402
14565
|
refs: {
|
|
14403
14566
|
tableFooterRef,
|
|
@@ -14407,8 +14570,11 @@ const MRT_TableBody = ({
|
|
|
14407
14570
|
} = table;
|
|
14408
14571
|
const {
|
|
14409
14572
|
filters,
|
|
14410
|
-
|
|
14573
|
+
isLoading,
|
|
14574
|
+
rowPinning,
|
|
14575
|
+
showSkeletons
|
|
14411
14576
|
} = getState();
|
|
14577
|
+
const showLoadingPlaceholder = skeletonMode === 'placeholder' && showSkeletons !== false && (isLoading || showSkeletons);
|
|
14412
14578
|
const density = useSelector(table.store, state => state.density);
|
|
14413
14579
|
|
|
14414
14580
|
//read once per body render instead of once per row/cell, since every
|
|
@@ -14477,15 +14643,30 @@ const MRT_TableBody = ({
|
|
|
14477
14643
|
}, row_0.id);
|
|
14478
14644
|
})
|
|
14479
14645
|
}), /*#__PURE__*/jsx(TableBody, {
|
|
14646
|
+
"data-loading-placeholder": showLoadingPlaceholder && !rows.length ? true : undefined,
|
|
14647
|
+
"data-refetching": isLoading && rows.length ? true : undefined,
|
|
14480
14648
|
...tableBodyProps,
|
|
14481
14649
|
sx: theme_1 => ({
|
|
14482
14650
|
display: layoutMode?.startsWith('grid') ? 'grid' : undefined,
|
|
14651
|
+
'&[data-loading-placeholder]': {
|
|
14652
|
+
animation: mrtDelayedFadeIn
|
|
14653
|
+
},
|
|
14654
|
+
//refetch with the old rows still shown: dim them (after a short
|
|
14655
|
+
//delay, so fast responses don't flash) instead of re-rendering cells
|
|
14656
|
+
'&[data-refetching]': {
|
|
14657
|
+
opacity: 0.6,
|
|
14658
|
+
transition: 'opacity 150ms ease-out 200ms'
|
|
14659
|
+
},
|
|
14483
14660
|
height: rowVirtualizer ? `${rowVirtualizer.getTotalSize()}px` : undefined,
|
|
14484
14661
|
minHeight: !rows.length ? '100px' : undefined,
|
|
14485
14662
|
position: 'relative',
|
|
14486
14663
|
...parseFromValuesOrFunc(tableBodyProps?.sx, theme_1)
|
|
14487
14664
|
}),
|
|
14488
|
-
children: tableBodyProps?.children ?? (!rows.length ? /*#__PURE__*/jsx(
|
|
14665
|
+
children: tableBodyProps?.children ?? (!rows.length ? showLoadingPlaceholder ? /*#__PURE__*/jsx(MRT_TableBodyLoadingPlaceholder, {
|
|
14666
|
+
columns: table.getVisibleLeafColumns(),
|
|
14667
|
+
density: density,
|
|
14668
|
+
layoutMode: layoutMode
|
|
14669
|
+
}) : /*#__PURE__*/jsx("tr", {
|
|
14489
14670
|
style: {
|
|
14490
14671
|
display: layoutMode?.startsWith('grid') ? 'grid' : undefined
|
|
14491
14672
|
},
|
|
@@ -15191,7 +15372,7 @@ const MRT_ColumnActionMenu = t0 => {
|
|
|
15191
15372
|
let t7;
|
|
15192
15373
|
if ($[15] !== column || $[16] !== setAnchorEl || $[17] !== setColumnResizing) {
|
|
15193
15374
|
t7 = () => {
|
|
15194
|
-
setColumnResizing(_temp3$
|
|
15375
|
+
setColumnResizing(_temp3$2);
|
|
15195
15376
|
column.resetSize();
|
|
15196
15377
|
setAnchorEl(null);
|
|
15197
15378
|
};
|
|
@@ -15233,7 +15414,7 @@ const MRT_ColumnActionMenu = t0 => {
|
|
|
15233
15414
|
if ($[25] !== column || $[26] !== setAnchorEl || $[27] !== setColumnOrder) {
|
|
15234
15415
|
t10 = () => {
|
|
15235
15416
|
column.toggleGrouping();
|
|
15236
|
-
setColumnOrder(_temp4);
|
|
15417
|
+
setColumnOrder(_temp4$1);
|
|
15237
15418
|
setAnchorEl(null);
|
|
15238
15419
|
};
|
|
15239
15420
|
$[25] = column;
|
|
@@ -15434,13 +15615,13 @@ function _temp$8(state) {
|
|
|
15434
15615
|
function _temp2$5(state_0) {
|
|
15435
15616
|
return state_0.density;
|
|
15436
15617
|
}
|
|
15437
|
-
function _temp3$
|
|
15618
|
+
function _temp3$2(old) {
|
|
15438
15619
|
return {
|
|
15439
15620
|
...old,
|
|
15440
15621
|
isResizingColumn: false
|
|
15441
15622
|
};
|
|
15442
15623
|
}
|
|
15443
|
-
function _temp4(old_0) {
|
|
15624
|
+
function _temp4$1(old_0) {
|
|
15444
15625
|
return ["mrt-row-expand", ...old_0];
|
|
15445
15626
|
}
|
|
15446
15627
|
function _temp5(col) {
|
|
@@ -16822,6 +17003,127 @@ const MRT_Table = ({
|
|
|
16822
17003
|
});
|
|
16823
17004
|
};
|
|
16824
17005
|
|
|
17006
|
+
// positionProgressBars: 'header'. A zero-height box that sticks to the top-left
|
|
17007
|
+
// of the scroll container (so the bar stays in view while scrolling horizontally,
|
|
17008
|
+
// and vertically too with a sticky header), with the bar placed at the head's
|
|
17009
|
+
// bottom edge. The fade-in delay keeps fast refetches from flashing it.
|
|
17010
|
+
const MRT_TableHeadProgressBar = t0 => {
|
|
17011
|
+
const $ = c(16);
|
|
17012
|
+
const {
|
|
17013
|
+
table
|
|
17014
|
+
} = t0;
|
|
17015
|
+
const {
|
|
17016
|
+
options: t1,
|
|
17017
|
+
refs: t2
|
|
17018
|
+
} = table;
|
|
17019
|
+
const {
|
|
17020
|
+
enableStickyHeader
|
|
17021
|
+
} = t1;
|
|
17022
|
+
const {
|
|
17023
|
+
tableHeadRef
|
|
17024
|
+
} = t2;
|
|
17025
|
+
const [headHeight, setHeadHeight] = useState(0);
|
|
17026
|
+
let t3;
|
|
17027
|
+
let t4;
|
|
17028
|
+
if ($[0] !== tableHeadRef) {
|
|
17029
|
+
t3 = () => {
|
|
17030
|
+
const head = tableHeadRef.current;
|
|
17031
|
+
if (!head) {
|
|
17032
|
+
return;
|
|
17033
|
+
}
|
|
17034
|
+
const observer = new ResizeObserver(() => setHeadHeight(head.offsetHeight));
|
|
17035
|
+
observer.observe(head);
|
|
17036
|
+
return () => observer.disconnect();
|
|
17037
|
+
};
|
|
17038
|
+
t4 = [tableHeadRef];
|
|
17039
|
+
$[0] = tableHeadRef;
|
|
17040
|
+
$[1] = t3;
|
|
17041
|
+
$[2] = t4;
|
|
17042
|
+
} else {
|
|
17043
|
+
t3 = $[1];
|
|
17044
|
+
t4 = $[2];
|
|
17045
|
+
}
|
|
17046
|
+
useEffect(t3, t4);
|
|
17047
|
+
const t5 = enableStickyHeader ? 0 : undefined;
|
|
17048
|
+
let t6;
|
|
17049
|
+
if ($[3] !== t5) {
|
|
17050
|
+
t6 = {
|
|
17051
|
+
flexShrink: 0,
|
|
17052
|
+
height: 0,
|
|
17053
|
+
left: 0,
|
|
17054
|
+
position: "sticky",
|
|
17055
|
+
top: t5,
|
|
17056
|
+
width: "100%",
|
|
17057
|
+
zIndex: 3
|
|
17058
|
+
};
|
|
17059
|
+
$[3] = t5;
|
|
17060
|
+
$[4] = t6;
|
|
17061
|
+
} else {
|
|
17062
|
+
t6 = $[4];
|
|
17063
|
+
}
|
|
17064
|
+
let t7;
|
|
17065
|
+
if ($[5] !== headHeight) {
|
|
17066
|
+
t7 = {
|
|
17067
|
+
left: 0,
|
|
17068
|
+
position: "absolute",
|
|
17069
|
+
right: 0,
|
|
17070
|
+
top: headHeight
|
|
17071
|
+
};
|
|
17072
|
+
$[5] = headHeight;
|
|
17073
|
+
$[6] = t7;
|
|
17074
|
+
} else {
|
|
17075
|
+
t7 = $[6];
|
|
17076
|
+
}
|
|
17077
|
+
let t8;
|
|
17078
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
17079
|
+
t8 = {
|
|
17080
|
+
animation: mrtDelayedFadeIn,
|
|
17081
|
+
height: 2,
|
|
17082
|
+
position: "relative"
|
|
17083
|
+
};
|
|
17084
|
+
$[7] = t8;
|
|
17085
|
+
} else {
|
|
17086
|
+
t8 = $[7];
|
|
17087
|
+
}
|
|
17088
|
+
let t9;
|
|
17089
|
+
if ($[8] !== table) {
|
|
17090
|
+
t9 = /*#__PURE__*/jsx(MRT_LinearProgressBar, {
|
|
17091
|
+
isTopToolbar: false,
|
|
17092
|
+
sx: t8,
|
|
17093
|
+
table: table
|
|
17094
|
+
});
|
|
17095
|
+
$[8] = table;
|
|
17096
|
+
$[9] = t9;
|
|
17097
|
+
} else {
|
|
17098
|
+
t9 = $[9];
|
|
17099
|
+
}
|
|
17100
|
+
let t10;
|
|
17101
|
+
if ($[10] !== t7 || $[11] !== t9) {
|
|
17102
|
+
t10 = /*#__PURE__*/jsx(Box, {
|
|
17103
|
+
sx: t7,
|
|
17104
|
+
children: t9
|
|
17105
|
+
});
|
|
17106
|
+
$[10] = t7;
|
|
17107
|
+
$[11] = t9;
|
|
17108
|
+
$[12] = t10;
|
|
17109
|
+
} else {
|
|
17110
|
+
t10 = $[12];
|
|
17111
|
+
}
|
|
17112
|
+
let t11;
|
|
17113
|
+
if ($[13] !== t10 || $[14] !== t6) {
|
|
17114
|
+
t11 = /*#__PURE__*/jsx(Box, {
|
|
17115
|
+
sx: t6,
|
|
17116
|
+
children: t10
|
|
17117
|
+
});
|
|
17118
|
+
$[13] = t10;
|
|
17119
|
+
$[14] = t6;
|
|
17120
|
+
$[15] = t11;
|
|
17121
|
+
} else {
|
|
17122
|
+
t11 = $[15];
|
|
17123
|
+
}
|
|
17124
|
+
return t11;
|
|
17125
|
+
};
|
|
17126
|
+
|
|
16825
17127
|
const MRT_TableLoadingOverlay = t0 => {
|
|
16826
17128
|
const $ = c(20);
|
|
16827
17129
|
let rest;
|
|
@@ -16944,7 +17246,8 @@ const MRT_TableContainer = ({
|
|
|
16944
17246
|
options: {
|
|
16945
17247
|
enableCellActions,
|
|
16946
17248
|
enableRowVirtualization,
|
|
16947
|
-
muiTableContainerProps
|
|
17249
|
+
muiTableContainerProps,
|
|
17250
|
+
positionProgressBars
|
|
16948
17251
|
},
|
|
16949
17252
|
refs: {
|
|
16950
17253
|
resizeIndicatorRef,
|
|
@@ -17025,6 +17328,8 @@ const MRT_TableContainer = ({
|
|
|
17025
17328
|
width: '2px',
|
|
17026
17329
|
zIndex: 3
|
|
17027
17330
|
}
|
|
17331
|
+
}), positionProgressBars === 'header' && /*#__PURE__*/jsx(MRT_TableHeadProgressBar, {
|
|
17332
|
+
table: table
|
|
17028
17333
|
}), /*#__PURE__*/jsx(MRT_Table, {
|
|
17029
17334
|
table: table
|
|
17030
17335
|
}), newEntryModal.open && /*#__PURE__*/jsx(Suspense, {
|
|
@@ -17711,6 +18016,10 @@ const MaterialReactServerTableInstanceComponent = ({
|
|
|
17711
18016
|
const [pageCount, setPageCount] = useState(undefined);
|
|
17712
18017
|
const [rowCount, setRowCount] = useState(0);
|
|
17713
18018
|
const [isLoading, setIsLoading] = useState(false);
|
|
18019
|
+
// Skeletons only until the first data arrives. On later refetches (filter, sort, paging)
|
|
18020
|
+
// the current rows stay visible with a progress bar - swapping every cell to a Skeleton
|
|
18021
|
+
// and back remounts the whole table body twice per refetch.
|
|
18022
|
+
const [hasLoadedOnce, setHasLoadedOnce] = useState(false);
|
|
17714
18023
|
|
|
17715
18024
|
// Filter availableExports by exportPermissions if provided.
|
|
17716
18025
|
// exportPermissions maps export key → required permission strings.
|
|
@@ -17760,7 +18069,8 @@ const MaterialReactServerTableInstanceComponent = ({
|
|
|
17760
18069
|
enableRowPinning: false,
|
|
17761
18070
|
getRowId: originalRow => originalRow.id,
|
|
17762
18071
|
state: {
|
|
17763
|
-
showSkeletons: isLoading,
|
|
18072
|
+
showSkeletons: isLoading && !hasLoadedOnce,
|
|
18073
|
+
showProgressBars: isLoading,
|
|
17764
18074
|
...tableState
|
|
17765
18075
|
},
|
|
17766
18076
|
enableResetState,
|
|
@@ -17795,6 +18105,7 @@ const MaterialReactServerTableInstanceComponent = ({
|
|
|
17795
18105
|
hasNextPage
|
|
17796
18106
|
} = await loadData(tableInstance.getState());
|
|
17797
18107
|
tableInstance.setRows(newData);
|
|
18108
|
+
setHasLoadedOnce(true);
|
|
17798
18109
|
if (hasNextPage) {
|
|
17799
18110
|
setPageCount(-1);
|
|
17800
18111
|
setRowCount(0);
|
|
@@ -17830,6 +18141,12 @@ const MaterialReactServerTableInstanceComponent = ({
|
|
|
17830
18141
|
};
|
|
17831
18142
|
const MaterialReactServerTableInstance = /*#__PURE__*/forwardRef(MaterialReactServerTableInstanceComponent);
|
|
17832
18143
|
|
|
18144
|
+
const GHOST_COLUMNS = Array.from({
|
|
18145
|
+
length: 6
|
|
18146
|
+
}, (_, i) => ({
|
|
18147
|
+
id: `${i}`
|
|
18148
|
+
}));
|
|
18149
|
+
const HEADER_BAR_WIDTHS = [55, 40, 65, 45, 60, 35];
|
|
17833
18150
|
const MaterialReactServerTableSkeleton = () => {
|
|
17834
18151
|
const $ = c(6);
|
|
17835
18152
|
let t0;
|
|
@@ -17837,7 +18154,10 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17837
18154
|
t0 = {
|
|
17838
18155
|
display: "flex",
|
|
17839
18156
|
flexDirection: "column",
|
|
17840
|
-
height: "100%"
|
|
18157
|
+
height: "100%",
|
|
18158
|
+
"& > *": {
|
|
18159
|
+
animation: mrtDelayedFadeIn
|
|
18160
|
+
}
|
|
17841
18161
|
};
|
|
17842
18162
|
$[0] = t0;
|
|
17843
18163
|
} else {
|
|
@@ -17852,22 +18172,22 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17852
18172
|
gap: "0.5rem"
|
|
17853
18173
|
},
|
|
17854
18174
|
children: [/*#__PURE__*/jsx(Skeleton, {
|
|
17855
|
-
animation: "
|
|
18175
|
+
animation: "pulse",
|
|
17856
18176
|
height: 30,
|
|
17857
18177
|
variant: "rounded",
|
|
17858
18178
|
width: 73
|
|
17859
18179
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17860
|
-
animation: "
|
|
18180
|
+
animation: "pulse",
|
|
17861
18181
|
height: 30,
|
|
17862
18182
|
variant: "rounded",
|
|
17863
18183
|
width: 80
|
|
17864
18184
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17865
|
-
animation: "
|
|
18185
|
+
animation: "pulse",
|
|
17866
18186
|
height: 30,
|
|
17867
18187
|
variant: "rounded",
|
|
17868
18188
|
width: 67
|
|
17869
18189
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17870
|
-
animation: "
|
|
18190
|
+
animation: "pulse",
|
|
17871
18191
|
height: 30,
|
|
17872
18192
|
variant: "rounded",
|
|
17873
18193
|
width: 135
|
|
@@ -17888,7 +18208,7 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17888
18208
|
gap: "0.5rem"
|
|
17889
18209
|
},
|
|
17890
18210
|
children: /*#__PURE__*/jsx(Skeleton, {
|
|
17891
|
-
animation: "
|
|
18211
|
+
animation: "pulse",
|
|
17892
18212
|
height: 24,
|
|
17893
18213
|
variant: "circular",
|
|
17894
18214
|
width: 24
|
|
@@ -17902,9 +18222,8 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17902
18222
|
let t3;
|
|
17903
18223
|
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
17904
18224
|
t3 = {
|
|
17905
|
-
display: "flex",
|
|
17906
18225
|
flex: 1,
|
|
17907
|
-
|
|
18226
|
+
overflow: "hidden"
|
|
17908
18227
|
};
|
|
17909
18228
|
$[3] = t3;
|
|
17910
18229
|
} else {
|
|
@@ -17914,13 +18233,20 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17914
18233
|
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
17915
18234
|
t4 = /*#__PURE__*/jsx(Box, {
|
|
17916
18235
|
sx: t3,
|
|
17917
|
-
children: /*#__PURE__*/
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
|
|
17923
|
-
|
|
18236
|
+
children: /*#__PURE__*/jsxs(Box, {
|
|
18237
|
+
component: "table",
|
|
18238
|
+
sx: _temp2$3,
|
|
18239
|
+
children: [/*#__PURE__*/jsx("thead", {
|
|
18240
|
+
"aria-hidden": true,
|
|
18241
|
+
children: /*#__PURE__*/jsx("tr", {
|
|
18242
|
+
children: GHOST_COLUMNS.map(_temp3$1)
|
|
18243
|
+
})
|
|
18244
|
+
}), /*#__PURE__*/jsx("tbody", {
|
|
18245
|
+
children: /*#__PURE__*/jsx(MRT_GhostRows, {
|
|
18246
|
+
cells: GHOST_COLUMNS,
|
|
18247
|
+
rowHeight: 37
|
|
18248
|
+
})
|
|
18249
|
+
})]
|
|
17924
18250
|
})
|
|
17925
18251
|
});
|
|
17926
18252
|
$[4] = t4;
|
|
@@ -17933,7 +18259,7 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17933
18259
|
"data-testid": "server-table-skeleton",
|
|
17934
18260
|
sx: t0,
|
|
17935
18261
|
children: [t2, t4, /*#__PURE__*/jsx(Box, {
|
|
17936
|
-
sx:
|
|
18262
|
+
sx: _temp4,
|
|
17937
18263
|
children: /*#__PURE__*/jsxs(Box, {
|
|
17938
18264
|
sx: {
|
|
17939
18265
|
alignItems: "center",
|
|
@@ -17941,27 +18267,27 @@ const MaterialReactServerTableSkeleton = () => {
|
|
|
17941
18267
|
gap: "1rem"
|
|
17942
18268
|
},
|
|
17943
18269
|
children: [/*#__PURE__*/jsx(Skeleton, {
|
|
17944
|
-
animation: "
|
|
18270
|
+
animation: "pulse",
|
|
17945
18271
|
height: 36,
|
|
17946
18272
|
variant: "rounded",
|
|
17947
18273
|
width: 136
|
|
17948
18274
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17949
|
-
animation: "
|
|
18275
|
+
animation: "pulse",
|
|
17950
18276
|
height: 31,
|
|
17951
18277
|
variant: "text",
|
|
17952
18278
|
width: 176
|
|
17953
18279
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17954
|
-
animation: "
|
|
18280
|
+
animation: "pulse",
|
|
17955
18281
|
height: 22,
|
|
17956
18282
|
variant: "text",
|
|
17957
18283
|
width: 70
|
|
17958
18284
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17959
|
-
animation: "
|
|
18285
|
+
animation: "pulse",
|
|
17960
18286
|
height: 24,
|
|
17961
18287
|
variant: "circular",
|
|
17962
18288
|
width: 24
|
|
17963
18289
|
}), /*#__PURE__*/jsx(Skeleton, {
|
|
17964
|
-
animation: "
|
|
18290
|
+
animation: "pulse",
|
|
17965
18291
|
height: 24,
|
|
17966
18292
|
variant: "circular",
|
|
17967
18293
|
width: 24
|
|
@@ -17987,9 +18313,40 @@ function _temp$6(theme) {
|
|
|
17987
18313
|
};
|
|
17988
18314
|
}
|
|
17989
18315
|
function _temp2$3(theme_0) {
|
|
18316
|
+
return {
|
|
18317
|
+
borderCollapse: "collapse",
|
|
18318
|
+
tableLayout: "fixed",
|
|
18319
|
+
width: "100%",
|
|
18320
|
+
"& th": {
|
|
18321
|
+
borderBottom: `1px solid ${theme_0.palette.divider}`,
|
|
18322
|
+
height: 48,
|
|
18323
|
+
p: "0.5rem",
|
|
18324
|
+
textAlign: "left"
|
|
18325
|
+
},
|
|
18326
|
+
"& th > span": {
|
|
18327
|
+
backgroundColor: alpha(theme_0.palette.text.primary, 0.16),
|
|
18328
|
+
borderRadius: 999,
|
|
18329
|
+
display: "block",
|
|
18330
|
+
height: 12
|
|
18331
|
+
}
|
|
18332
|
+
};
|
|
18333
|
+
}
|
|
18334
|
+
function _temp3$1(t0, i) {
|
|
18335
|
+
const {
|
|
18336
|
+
id
|
|
18337
|
+
} = t0;
|
|
18338
|
+
return /*#__PURE__*/jsx("th", {
|
|
18339
|
+
children: /*#__PURE__*/jsx("span", {
|
|
18340
|
+
style: {
|
|
18341
|
+
width: `${HEADER_BAR_WIDTHS[i]}%`
|
|
18342
|
+
}
|
|
18343
|
+
})
|
|
18344
|
+
}, id);
|
|
18345
|
+
}
|
|
18346
|
+
function _temp4(theme_1) {
|
|
17990
18347
|
return {
|
|
17991
18348
|
alignItems: "center",
|
|
17992
|
-
borderTop: `1px solid ${
|
|
18349
|
+
borderTop: `1px solid ${theme_1.palette.divider}`,
|
|
17993
18350
|
display: "flex",
|
|
17994
18351
|
height: "3.30rem",
|
|
17995
18352
|
justifyContent: "flex-end",
|