@infinite-table/infinite-react 5.0.5 → 5.0.7
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/index.css +36 -120
- package/index.d.ts +36 -25
- package/index.dev.js +160 -105
- package/index.dev.mjs +158 -105
- package/index.js +160 -105
- package/index.mjs +158 -105
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -880,16 +880,16 @@ var setupResizeObserver = (node, callback, config = { debounce: 0 }) => {
|
|
|
880
880
|
const onResizeCallback = debounceTime ? debounce(callback, { wait: debounceTime }) : callback;
|
|
881
881
|
const observer = new RO((entries) => {
|
|
882
882
|
const entry = entries[0];
|
|
883
|
-
let { width, height } = entry.contentRect;
|
|
883
|
+
let { width, height: height2 } = entry.contentRect;
|
|
884
884
|
if (entry.borderBoxSize?.[0]) {
|
|
885
|
-
|
|
885
|
+
height2 = entry.borderBoxSize[0].blockSize;
|
|
886
886
|
width = entry.borderBoxSize[0].inlineSize;
|
|
887
887
|
} else {
|
|
888
888
|
const rect = node.getBoundingClientRect();
|
|
889
|
-
|
|
889
|
+
height2 = rect.height;
|
|
890
890
|
width = rect.width;
|
|
891
891
|
}
|
|
892
|
-
onResizeCallback({ width, height });
|
|
892
|
+
onResizeCallback({ width, height: height2 });
|
|
893
893
|
});
|
|
894
894
|
observer.observe(node);
|
|
895
895
|
return () => {
|
|
@@ -960,10 +960,10 @@ var WRAPPER_STYLE = {
|
|
|
960
960
|
var useCSSVariableWatch = (params) => {
|
|
961
961
|
const lastValueRef = useRef2(0);
|
|
962
962
|
const onResize = React2.useCallback(
|
|
963
|
-
({ height }) => {
|
|
964
|
-
if (
|
|
965
|
-
lastValueRef.current =
|
|
966
|
-
params.onChange(
|
|
963
|
+
({ height: height2 }) => {
|
|
964
|
+
if (height2 != null && height2 !== lastValueRef.current) {
|
|
965
|
+
lastValueRef.current = height2;
|
|
966
|
+
params.onChange(height2);
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
969
|
[params.onChange]
|
|
@@ -988,7 +988,7 @@ var CSSNumericVariableWatch = (props) => {
|
|
|
988
988
|
...props,
|
|
989
989
|
ref: domRef
|
|
990
990
|
});
|
|
991
|
-
const
|
|
991
|
+
const height2 = props.varName.startsWith("var(") ? props.varName : `var(${props.varName})`;
|
|
992
992
|
const { allowInts = false } = props;
|
|
993
993
|
return /* @__PURE__ */ React2.createElement(
|
|
994
994
|
"div",
|
|
@@ -1002,7 +1002,7 @@ var CSSNumericVariableWatch = (props) => {
|
|
|
1002
1002
|
{
|
|
1003
1003
|
ref: domRef,
|
|
1004
1004
|
style: {
|
|
1005
|
-
height: allowInts ? `calc(1px * ${
|
|
1005
|
+
height: allowInts ? `calc(1px * ${height2})` : height2
|
|
1006
1006
|
// we do multiplication in order to support integer (without px) values as well
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
@@ -1069,9 +1069,9 @@ import {
|
|
|
1069
1069
|
// src/components/VirtualList/SpacePlaceholder.tsx
|
|
1070
1070
|
import * as React6 from "react";
|
|
1071
1071
|
function SpacePlaceholderFn(props) {
|
|
1072
|
-
const { height, width, count } = props;
|
|
1072
|
+
const { height: height2, width, count } = props;
|
|
1073
1073
|
const style2 = {
|
|
1074
|
-
height,
|
|
1074
|
+
height: height2,
|
|
1075
1075
|
width,
|
|
1076
1076
|
zIndex: -1,
|
|
1077
1077
|
opacity: 0,
|
|
@@ -1083,7 +1083,7 @@ function SpacePlaceholderFn(props) {
|
|
|
1083
1083
|
{
|
|
1084
1084
|
"data-count": count,
|
|
1085
1085
|
"data-placeholder-width": false ? width : void 0,
|
|
1086
|
-
"data-placeholder-height": false ?
|
|
1086
|
+
"data-placeholder-height": false ? height2 : void 0,
|
|
1087
1087
|
"data-name": "SpacePlaceholder",
|
|
1088
1088
|
style: style2
|
|
1089
1089
|
}
|
|
@@ -1776,7 +1776,7 @@ var MatrixBrain = class extends Logger {
|
|
|
1776
1776
|
return [];
|
|
1777
1777
|
}
|
|
1778
1778
|
const { scrollTop: scrollTop2 } = this.scrollPosition;
|
|
1779
|
-
const { height } = this.getAvailableSize();
|
|
1779
|
+
const { height: height2 } = this.getAvailableSize();
|
|
1780
1780
|
const offsets = [];
|
|
1781
1781
|
const heights = [];
|
|
1782
1782
|
let sum2 = 0;
|
|
@@ -1785,7 +1785,7 @@ var MatrixBrain = class extends Logger {
|
|
|
1785
1785
|
heights.push(rowHeight);
|
|
1786
1786
|
sum2 += rowHeight;
|
|
1787
1787
|
}
|
|
1788
|
-
const baseOffset =
|
|
1788
|
+
const baseOffset = height2 - sum2 + (skipScroll ? 0 : scrollTop2);
|
|
1789
1789
|
sum2 = 0;
|
|
1790
1790
|
let index = 0;
|
|
1791
1791
|
for (let rowIndex = this.rows - this.fixedRowsEnd; rowIndex < this.rows; rowIndex++) {
|
|
@@ -4151,12 +4151,12 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
4151
4151
|
return;
|
|
4152
4152
|
}
|
|
4153
4153
|
const covered = false;
|
|
4154
|
-
const
|
|
4154
|
+
const height2 = this.brain.getRowHeight(rowIndex);
|
|
4155
4155
|
const rowFixed = this.brain.isRowFixedStart(rowIndex) ? "start" : this.brain.isRowFixedEnd(rowIndex) ? "end" : false;
|
|
4156
4156
|
const hidden = !!covered;
|
|
4157
4157
|
const renderedDetailNode = renderDetailRow({
|
|
4158
4158
|
rowIndex,
|
|
4159
|
-
height,
|
|
4159
|
+
height: height2,
|
|
4160
4160
|
rowFixed,
|
|
4161
4161
|
hidden,
|
|
4162
4162
|
onMouseEnter: () => {
|
|
@@ -4197,11 +4197,11 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
4197
4197
|
return;
|
|
4198
4198
|
}
|
|
4199
4199
|
const covered = this.isCellCovered(rowIndex, colIndex);
|
|
4200
|
-
const
|
|
4200
|
+
const height2 = this.brain.getRowHeight(rowIndex);
|
|
4201
4201
|
const width = this.brain.getColWidth(colIndex);
|
|
4202
4202
|
const rowspan = this.brain.getRowspan(rowIndex, colIndex);
|
|
4203
4203
|
const colspan = this.brain.getColspan(rowIndex, colIndex);
|
|
4204
|
-
const heightWithRowspan = rowspan === 1 ?
|
|
4204
|
+
const heightWithRowspan = rowspan === 1 ? height2 : this.brain.getRowHeightWithSpan(rowIndex, colIndex, rowspan);
|
|
4205
4205
|
const widthWithColspan = colspan === 1 ? width : this.brain.getColWidthWithSpan(rowIndex, colIndex, colspan);
|
|
4206
4206
|
const { row: rowFixed, col: colFixed } = this.isCellFixed(
|
|
4207
4207
|
rowIndex,
|
|
@@ -4212,7 +4212,7 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
4212
4212
|
const renderedNode = renderCell({
|
|
4213
4213
|
rowIndex: renderRowIndex,
|
|
4214
4214
|
colIndex: renderColIndex,
|
|
4215
|
-
height,
|
|
4215
|
+
height: height2,
|
|
4216
4216
|
width,
|
|
4217
4217
|
rowspan,
|
|
4218
4218
|
colspan,
|
|
@@ -4520,10 +4520,10 @@ var createRuntimeFn = (config) => {
|
|
|
4520
4520
|
|
|
4521
4521
|
// src/components/InfiniteTable/components/ActiveCellIndicator.css.ts
|
|
4522
4522
|
var ActiveCellIndicatorRecipe = createRuntimeFn({ defaultClassName: "ActiveCellIndicator_ActiveCellIndicator__nxbq1c1 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2", variantClassNames: { visible: { true: "ActiveCellIndicator_ActiveCellIndicatorRecipe_visible_true__nxbq1c3", false: "ActiveCellIndicator_ActiveCellIndicatorRecipe_visible_false__nxbq1c4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4523
|
-
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4
|
|
4523
|
+
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4 utilities_left_0__16lm1iw1f utilities_top_0__16lm1iw1d utilities_height_0__16lm1iw18 utilities_zIndex_1000000__16lm1iwu";
|
|
4524
4524
|
|
|
4525
4525
|
// src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
|
|
4526
|
-
var ActiveRowIndicatorRecipe = createRuntimeFn({ defaultClassName: "ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2
|
|
4526
|
+
var ActiveRowIndicatorRecipe = createRuntimeFn({ defaultClassName: "ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f", variantClassNames: { active: { true: "ActiveRowIndicator_ActiveRowIndicatorRecipe_active_true__j26lrx2", false: "ActiveRowIndicator_ActiveRowIndicatorRecipe_active_false__j26lrx3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4527
4527
|
|
|
4528
4528
|
// src/components/InfiniteTable/components/ActiveRowIndicator.tsx
|
|
4529
4529
|
var { rootClassName: rootClassName3 } = internalProps;
|
|
@@ -5238,22 +5238,23 @@ var useInternalProps = () => {
|
|
|
5238
5238
|
};
|
|
5239
5239
|
|
|
5240
5240
|
// src/components/InfiniteTable/utilities.css.ts
|
|
5241
|
-
var absoluteCover = "utilities_position_absolute__16lm1iw2
|
|
5242
|
-
var alignItems = { center: "
|
|
5243
|
-
var cssEllipsisClassName = "
|
|
5241
|
+
var absoluteCover = "utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i";
|
|
5242
|
+
var alignItems = { center: "utilities_alignItems_center__16lm1iw1r", stretch: "utilities_alignItems_stretch__16lm1iw1s" };
|
|
5243
|
+
var cssEllipsisClassName = "utilities_whiteSpace_nowrap__16lm1iw24 utilities_textOverflow_ellipsis__16lm1iw25 utilities_overflow_hidden__16lm1iw1y";
|
|
5244
5244
|
var cursor = { pointer: "utilities_cursor_pointer__16lm1iwi", "default": "utilities_cursor_default__16lm1iwj", colResize: "utilities_cursor_colResize__16lm1iwk" };
|
|
5245
5245
|
var display = { flex: "utilities_display_flex__16lm1iwz", contents: "utilities_display_contents__16lm1iw10", none: "utilities_display_none__16lm1iw11", block: "utilities_display_block__16lm1iw12", grid: "utilities_display_grid__16lm1iw13", inlineBlock: "utilities_display_inlineBlock__16lm1iw14", inlineFlex: "utilities_display_inlineFlex__16lm1iw15", inlineGrid: "utilities_display_inlineGrid__16lm1iw16" };
|
|
5246
5246
|
var flex = { "1": "utilities_flex_1__16lm1iwm", none: "utilities_flex_none__16lm1iwn" };
|
|
5247
|
-
var flexFlow = { column: "
|
|
5248
|
-
var
|
|
5249
|
-
var
|
|
5247
|
+
var flexFlow = { column: "utilities_flexFlow_column__16lm1iw1n", columnReverse: "utilities_flexFlow_columnReverse__16lm1iw1o", row: "utilities_flexFlow_row__16lm1iw1p", rowReverse: "utilities_flexFlow_rowReverse__16lm1iw1q" };
|
|
5248
|
+
var height = { "0": "utilities_height_0__16lm1iw18", "100%": "utilities_height_100%__16lm1iw19", "50%": "utilities_height_50%__16lm1iw1a" };
|
|
5249
|
+
var justifyContent = { center: "utilities_justifyContent_center__16lm1iw1t", spaceBetween: "utilities_justifyContent_spaceBetween__16lm1iw1u", spaceAround: "utilities_justifyContent_spaceAround__16lm1iw1v", start: "utilities_justifyContent_start__16lm1iw1w", end: "utilities_justifyContent_end__16lm1iw1x" };
|
|
5250
|
+
var left = { "0": "utilities_left_0__16lm1iw1f", "100%": "utilities_left_100%__16lm1iw1g", auto: "utilities_left_auto__16lm1iw1h" };
|
|
5250
5251
|
var outline = { none: "utilities_outline_none__16lm1iwd" };
|
|
5251
|
-
var overflow = { hidden: "
|
|
5252
|
+
var overflow = { hidden: "utilities_overflow_hidden__16lm1iw1y", auto: "utilities_overflow_auto__16lm1iw1z", visible: "utilities_overflow_visible__16lm1iw20" };
|
|
5252
5253
|
var position = { relative: "utilities_position_relative__16lm1iw1", absolute: "utilities_position_absolute__16lm1iw2", "static": "utilities_position_static__16lm1iw3", sticky: "utilities_position_sticky__16lm1iw4", fixed: "utilities_position_fixed__16lm1iw5" };
|
|
5253
|
-
var top = { "0": "
|
|
5254
|
+
var top = { "0": "utilities_top_0__16lm1iw1d", "100%": "utilities_top_100%__16lm1iw1e" };
|
|
5254
5255
|
var transformTranslateZero = "utilities_transformTranslateZero__16lm1iwe";
|
|
5255
5256
|
var userSelect = { none: "utilities_userSelect_none__16lm1iw17" };
|
|
5256
|
-
var visibility = { visible: "
|
|
5257
|
+
var visibility = { visible: "utilities_visibility_visible__16lm1iw21", hidden: "utilities_visibility_hidden__16lm1iw22" };
|
|
5257
5258
|
var zIndex = { "1": "utilities_zIndex_1__16lm1iwo", "10": "utilities_zIndex_10__16lm1iwp", "100": "utilities_zIndex_100__16lm1iwq", "1000": "utilities_zIndex_1000__16lm1iwr", "10000": "utilities_zIndex_10000__16lm1iws", "100000": "utilities_zIndex_100000__16lm1iwt", "1000000": "utilities_zIndex_1000000__16lm1iwu", "10000000": "utilities_zIndex_10000000__16lm1iwv", "1k": "utilities_zIndex_1k__16lm1iww", "10k": "utilities_zIndex_10k__16lm1iwx", "100k": "utilities_zIndex_100k__16lm1iwy" };
|
|
5258
5259
|
|
|
5259
5260
|
// src/components/InfiniteTable/components/InfiniteTableFooter/InfiniteTableFooter.tsx
|
|
@@ -5400,29 +5401,29 @@ import * as React26 from "react";
|
|
|
5400
5401
|
import { useEffect as useEffect10, useLayoutEffect as useLayoutEffect8, useState as useState5 } from "react";
|
|
5401
5402
|
|
|
5402
5403
|
// src/components/InfiniteTable/components/InfiniteTableHeader/header.css.ts
|
|
5403
|
-
var CellCls = "cell_CellCls__1eexc2a5 utilities_display_flex__16lm1iwz
|
|
5404
|
-
var HeaderCellContentRecipe = createRuntimeFn({ defaultClassName: "header_HeaderCellContentRecipe__12zfob126 utilities_height_100%__16lm1iw19 utilities_width_100%
|
|
5405
|
-
var HeaderCellProxy = "header_HeaderCellProxy__12zfob1n
|
|
5404
|
+
var CellCls = "cell_CellCls__1eexc2a5 utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_position_absolute__16lm1iw2 utilities_willChange_transform__16lm1iw23 utilities_whiteSpace_nowrap__16lm1iw24 utilities_userSelect_none__16lm1iw17";
|
|
5405
|
+
var HeaderCellContentRecipe = createRuntimeFn({ defaultClassName: "header_HeaderCellContentRecipe__12zfob126 utilities_height_100%__16lm1iw19 utilities_width_100%__16lm1iw1c utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_justifyContent_start__16lm1iw1w", variantClassNames: { filtered: { false: "header_HeaderCellContentRecipe_filtered_false__12zfob127", true: "header_HeaderCellContentRecipe_filtered_true__12zfob128" }, verticalAlign: { start: "header_HeaderCellContentRecipe_verticalAlign_start__12zfob129", end: "header_HeaderCellContentRecipe_verticalAlign_end__12zfob12a", center: "header_HeaderCellContentRecipe_verticalAlign_center__12zfob12b" }, align: { start: "header_HeaderCellContentRecipe_align_start__12zfob12c", end: "header_HeaderCellContentRecipe_align_end__12zfob12d", center: "header_HeaderCellContentRecipe_align_center__12zfob12e" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5406
|
+
var HeaderCellProxy = "header_HeaderCellProxy__12zfob1n utilities_whiteSpace_nowrap__16lm1iw24 utilities_textOverflow_ellipsis__16lm1iw25 utilities_overflow_hidden__16lm1iw1y";
|
|
5406
5407
|
var HeaderCellRecipe = createRuntimeFn({ defaultClassName: "header_HeaderCellRecipe__12zfob1o utilities_display_block__16lm1iw12", variantClassNames: { rowActive: { false: "header_HeaderCellRecipe_rowActive_false__12zfob1p", true: "header_HeaderCellRecipe_rowActive_true__12zfob1q" }, cellSelected: { false: "header_HeaderCellRecipe_cellSelected_false__12zfob1r", true: "header_HeaderCellRecipe_cellSelected_true__12zfob1s" }, rowSelected: { false: "header_HeaderCellRecipe_rowSelected_false__12zfob1t", true: "header_HeaderCellRecipe_rowSelected_true__12zfob1u", null: "header_HeaderCellRecipe_rowSelected_null__12zfob1v" }, rowDisabled: { false: "header_HeaderCellRecipe_rowDisabled_false__12zfob1w", true: "header_HeaderCellRecipe_rowDisabled_true__12zfob1x" }, firstRow: { false: "header_HeaderCellRecipe_firstRow_false__12zfob1y", true: "header_HeaderCellRecipe_firstRow_true__12zfob1z" }, firstRowInHorizontalLayoutPage: { false: "header_HeaderCellRecipe_firstRowInHorizontalLayoutPage_false__12zfob110", true: "header_HeaderCellRecipe_firstRowInHorizontalLayoutPage_true__12zfob111" }, groupRow: { false: "header_HeaderCellRecipe_groupRow_false__12zfob112", true: "header_HeaderCellRecipe_groupRow_true__12zfob113" }, groupCell: { false: "header_HeaderCellRecipe_groupCell_false__12zfob114", true: "header_HeaderCellRecipe_groupCell_true__12zfob115" }, align: { start: "header_HeaderCellRecipe_align_start__12zfob116", end: "header_HeaderCellRecipe_align_end__12zfob117", center: "header_HeaderCellRecipe_align_center__12zfob118" }, verticalAlign: { start: "header_HeaderCellRecipe_verticalAlign_start__12zfob119", end: "header_HeaderCellRecipe_verticalAlign_end__12zfob11a", center: "header_HeaderCellRecipe_verticalAlign_center__12zfob11b" }, zebra: { false: "header_HeaderCellRecipe_zebra_false__12zfob11c", even: "header_HeaderCellRecipe_zebra_even__12zfob11d", odd: "header_HeaderCellRecipe_zebra_odd__12zfob11e" }, dragging: { true: "header_HeaderCellRecipe_dragging_true__12zfob11f", false: "header_HeaderCellRecipe_dragging_false__12zfob11g" }, insideDisabledDraggingPage: { true: "header_HeaderCellRecipe_insideDisabledDraggingPage_true__12zfob11h", false: "header_HeaderCellRecipe_insideDisabledDraggingPage_false__12zfob11i" }, first: { true: "header_HeaderCellRecipe_first_true__12zfob11j", false: "header_HeaderCellRecipe_first_false__12zfob11k" }, last: { true: "header_HeaderCellRecipe_last_true__12zfob11l", false: "header_HeaderCellRecipe_last_false__12zfob11m" }, groupByField: { true: "header_HeaderCellRecipe_groupByField_true__12zfob11n", false: "header_HeaderCellRecipe_groupByField_false__12zfob11o" }, firstInCategory: { true: "header_HeaderCellRecipe_firstInCategory_true__12zfob11p", false: "header_HeaderCellRecipe_firstInCategory_false__12zfob11q" }, lastInCategory: { true: "header_HeaderCellRecipe_lastInCategory_true__12zfob11r", false: "header_HeaderCellRecipe_lastInCategory_false__12zfob11s" }, pinned: { start: "header_HeaderCellRecipe_pinned_start__12zfob11t", end: "header_HeaderCellRecipe_pinned_end__12zfob11u", false: "header_HeaderCellRecipe_pinned_false__12zfob11v" }, filtered: { true: "header_HeaderCellRecipe_filtered_true__12zfob11w", false: "header_HeaderCellRecipe_filtered_false__12zfob11x" } }, defaultVariants: {}, compoundVariants: [[{ pinned: "start", lastInCategory: true }, "header_HeaderCellRecipe_compound_0__12zfob11y"], [{ pinned: "end", firstInCategory: true }, "header_HeaderCellRecipe_compound_1__12zfob11z"], [{ pinned: false, lastInCategory: true }, "header_HeaderCellRecipe_compound_2__12zfob120"]] });
|
|
5407
5408
|
var HeaderClsRecipe = createRuntimeFn({ defaultClassName: "header_HeaderClsRecipe__12zfob19 utilities_display_block__16lm1iw12 utilities_position_absolute__16lm1iw2", variantClassNames: { pinned: { start: "header_HeaderClsRecipe_pinned_start__12zfob1a", end: "header_HeaderClsRecipe_pinned_end__12zfob1b", false: "header_HeaderClsRecipe_pinned_false__12zfob1c" }, firstInCategory: { true: "header_HeaderClsRecipe_firstInCategory_true__12zfob1d", false: "header_HeaderClsRecipe_firstInCategory_false__12zfob1e" }, lastInCategory: { true: "header_HeaderClsRecipe_lastInCategory_true__12zfob1f", false: "header_HeaderClsRecipe_lastInCategory_false__12zfob1g" }, overflow: { true: "header_HeaderClsRecipe_overflow_true__12zfob1h", false: "header_HeaderClsRecipe_overflow_false__12zfob1i" } }, defaultVariants: {}, compoundVariants: [[{ overflow: true, pinned: "start" }, "header_HeaderClsRecipe_compound_0__12zfob1j"], [{ pinned: "start", firstInCategory: true }, "header_HeaderClsRecipe_compound_1__12zfob1k"], [{ overflow: true, pinned: "end" }, "header_HeaderClsRecipe_compound_2__12zfob1l"], [{ pinned: "end", lastInCategory: true }, "header_HeaderClsRecipe_compound_3__12zfob1m"]] });
|
|
5408
|
-
var HeaderFilterEditorCls = "header_HeaderFilterEditorCls__12zfob12o utilities_width_100%
|
|
5409
|
+
var HeaderFilterEditorCls = "header_HeaderFilterEditorCls__12zfob12o utilities_width_100%__16lm1iw1c utilities_height_100%__16lm1iw19";
|
|
5409
5410
|
var HeaderFilterIconIndexCls = "header_HeaderFilterIconIndexCls__12zfob17";
|
|
5410
|
-
var HeaderFilterOperatorCls = "header_HeaderFilterOperatorCls__12zfob12k utilities_display_flex__16lm1iwz
|
|
5411
|
-
var HeaderFilterOperatorIconRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterOperatorIconRecipe__12zfob12l utilities_position_relative__16lm1iw1
|
|
5412
|
-
var HeaderFilterRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterRecipe__12zfob12h utilities_display_flex__16lm1iwz
|
|
5413
|
-
var HeaderGroupCls = "header_HeaderGroupCls__12zfob12g utilities_display_flex__16lm1iwz
|
|
5414
|
-
var HeaderMenuIconCls = createRuntimeFn({ defaultClassName: "header_HeaderMenuIconCls__12zfob121 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz
|
|
5411
|
+
var HeaderFilterOperatorCls = "header_HeaderFilterOperatorCls__12zfob12k utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_position_relative__16lm1iw1";
|
|
5412
|
+
var HeaderFilterOperatorIconRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterOperatorIconRecipe__12zfob12l utilities_position_relative__16lm1iw1 utilities_top_0__16lm1iw1d", variantClassNames: { disabled: { true: "header_HeaderFilterOperatorIconRecipe_disabled_true__12zfob12m", false: "header_HeaderFilterOperatorIconRecipe_disabled_false__12zfob12n" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5413
|
+
var HeaderFilterRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterRecipe__12zfob12h utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_stretch__16lm1iw1s utilities_position_relative__16lm1iw1", variantClassNames: { active: { true: "header_HeaderFilterRecipe_active_true__12zfob12i", false: "header_HeaderFilterRecipe_active_false__12zfob12j" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5414
|
+
var HeaderGroupCls = "header_HeaderGroupCls__12zfob12g utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r";
|
|
5415
|
+
var HeaderMenuIconCls = createRuntimeFn({ defaultClassName: "header_HeaderMenuIconCls__12zfob121 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_justifyContent_spaceAround__16lm1iw1v utilities_visibility_hidden__16lm1iw22", variantClassNames: { menuVisible: { true: "header_HeaderMenuIconCls_menuVisible_true__12zfob122" }, reserveSpaceWhenHidden: { true: "header_HeaderMenuIconCls_reserveSpaceWhenHidden_true__12zfob123", false: "header_HeaderMenuIconCls_reserveSpaceWhenHidden_false__12zfob124" } }, defaultVariants: {}, compoundVariants: [[{ menuVisible: true, reserveSpaceWhenHidden: false }, "header_HeaderMenuIconCls_compound_0__12zfob125"]] });
|
|
5415
5416
|
var HeaderScrollbarPlaceholderCls = "header_HeaderScrollbarPlaceholderCls__12zfob18 utilities_position_absolute__16lm1iw2";
|
|
5416
5417
|
var HeaderSortIconCls = "utilities_position_relative__16lm1iw1";
|
|
5417
5418
|
var HeaderSortIconIndexCls = "header_HeaderSortIconIndexCls__12zfob16";
|
|
5418
5419
|
var HeaderSortIconRecipe = createRuntimeFn({ defaultClassName: "header__12zfob12", variantClassNames: { align: { start: "header_HeaderSortIconRecipe_align_start__12zfob13", center: "header_HeaderSortIconRecipe_align_center__12zfob14", end: "header_HeaderSortIconRecipe_align_end__12zfob15" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5419
|
-
var HeaderWrapperCls = "header_HeaderWrapperCls__12zfob12f
|
|
5420
|
+
var HeaderWrapperCls = "header_HeaderWrapperCls__12zfob12f utilities_overflow_hidden__16lm1iw1y utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p";
|
|
5420
5421
|
|
|
5421
5422
|
// src/components/InfiniteTable/components/icons/InfiniteTableIconClassName.ts
|
|
5422
5423
|
var InfiniteTableIconClassName = "InfiniteTableIcon";
|
|
5423
5424
|
|
|
5424
5425
|
// src/components/InfiniteTable/components/icons/FilterIcon.css.ts
|
|
5425
|
-
var FilterIconCls = "FilterIcon_FilterIconCls__6aunoi0 utilities_display_flex__16lm1iwz
|
|
5426
|
+
var FilterIconCls = "FilterIcon_FilterIconCls__6aunoi0 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_position_relative__16lm1iw1 utilities_justifyContent_spaceAround__16lm1iw1v utilities_alignItems_center__16lm1iw1r";
|
|
5426
5427
|
|
|
5427
5428
|
// src/components/InfiniteTable/components/icons/FilterIcon.tsx
|
|
5428
5429
|
var defaultLineStyle = {
|
|
@@ -6609,8 +6610,7 @@ function InfiniteTableColumnHeaderFilterEmpty() {
|
|
|
6609
6610
|
onPointerDown: stopPropagation,
|
|
6610
6611
|
className: `${InfiniteTableColumnHeaderFilterClassName} ${HeaderFilterRecipe(
|
|
6611
6612
|
{ active: false }
|
|
6612
|
-
)}
|
|
6613
|
-
style: { height: "100%" }
|
|
6613
|
+
)} ${height["50%"]}`
|
|
6614
6614
|
}
|
|
6615
6615
|
);
|
|
6616
6616
|
}
|
|
@@ -6925,7 +6925,7 @@ import { useCallback as useCallback8, useState as useState7 } from "react";
|
|
|
6925
6925
|
|
|
6926
6926
|
// src/components/InfiniteTable/InfiniteCls.css.ts
|
|
6927
6927
|
var FooterCls = "utilities_position_relative__16lm1iw1";
|
|
6928
|
-
var InfiniteCls = "InfiniteCls_InfiniteCls__1yeub2v0 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz
|
|
6928
|
+
var InfiniteCls = "InfiniteCls_InfiniteCls__1yeub2v0 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_boxSizingBorderBox__16lm1iw0";
|
|
6929
6929
|
var InfiniteClsHasPinnedEnd = "InfiniteCls_InfiniteClsHasPinnedEnd__1yeub2vs";
|
|
6930
6930
|
var InfiniteClsHasPinnedStart = "InfiniteCls_InfiniteClsHasPinnedStart__1yeub2vr";
|
|
6931
6931
|
var InfiniteClsRecipe = createRuntimeFn({ defaultClassName: "InfiniteCls__1yeub2v2", variantClassNames: { horizontalLayout: { true: "InfiniteCls_InfiniteClsRecipe_horizontalLayout_true__1yeub2v3", false: "InfiniteCls_InfiniteClsRecipe_horizontalLayout_false__1yeub2v4" }, focused: { true: "InfiniteCls_InfiniteClsRecipe_focused_true__1yeub2v5", false: "InfiniteCls_InfiniteClsRecipe_focused_false__1yeub2v6" }, focusedWithin: { true: "InfiniteCls_InfiniteClsRecipe_focusedWithin_true__1yeub2v7", false: "InfiniteCls_InfiniteClsRecipe_focusedWithin_false__1yeub2v8" }, hasPinnedStart: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedStart_true__1yeub2v9", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedStart_false__1yeub2va" }, hasPinnedEnd: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedEnd_true__1yeub2vb", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedEnd_false__1yeub2vc" }, hasPinnedStartOverflow: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedStartOverflow_true__1yeub2vd", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedStartOverflow_false__1yeub2ve" }, hasPinnedEndOverflow: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedEndOverflow_true__1yeub2vf", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedEndOverflow_false__1yeub2vg" } }, defaultVariants: {}, compoundVariants: [[{ focused: false, focusedWithin: false }, "InfiniteCls_InfiniteClsRecipe_compound_0__1yeub2vh"]] });
|
|
@@ -8246,7 +8246,7 @@ function objectValuesExcept(obj, exceptList) {
|
|
|
8246
8246
|
}
|
|
8247
8247
|
|
|
8248
8248
|
// src/components/InfiniteTable/components/cell.css.ts
|
|
8249
|
-
var ColumnCellCls = "cell_ColumnCellCls__1eexc2a6 cell_CellCls__1eexc2a5 utilities_display_flex__16lm1iwz
|
|
8249
|
+
var ColumnCellCls = "cell_ColumnCellCls__1eexc2a6 cell_CellCls__1eexc2a5 utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_position_absolute__16lm1iw2 utilities_willChange_transform__16lm1iw23 utilities_whiteSpace_nowrap__16lm1iw24 utilities_userSelect_none__16lm1iw17";
|
|
8250
8250
|
var ColumnCellRecipe = createRuntimeFn({ defaultClassName: "cell_ColumnCellRecipe__1eexc2am", variantClassNames: { dragging: { false: "cell_ColumnCellRecipe_dragging_false__1eexc2an", true: "cell_ColumnCellRecipe_dragging_true__1eexc2ao" }, insideDisabledDraggingPage: { true: "cell_ColumnCellRecipe_insideDisabledDraggingPage_true__1eexc2ap", false: "cell_ColumnCellRecipe_insideDisabledDraggingPage_false__1eexc2aq" }, cellSelected: { false: "cell_ColumnCellRecipe_cellSelected_false__1eexc2ar", true: "cell_ColumnCellRecipe_cellSelected_true__1eexc2as" }, align: { start: "cell_ColumnCellRecipe_align_start__1eexc2at", end: "cell_ColumnCellRecipe_align_end__1eexc2au", center: "cell_ColumnCellRecipe_align_center__1eexc2av" }, verticalAlign: { start: "cell_ColumnCellRecipe_verticalAlign_start__1eexc2aw", end: "cell_ColumnCellRecipe_verticalAlign_end__1eexc2ax", center: "cell_ColumnCellRecipe_verticalAlign_center__1eexc2ay" }, rowActive: { false: "cell_ColumnCellRecipe_rowActive_false__1eexc2az", true: "cell_ColumnCellRecipe_rowActive_true__1eexc2a10" }, groupRow: { false: "cell_ColumnCellRecipe_groupRow_false__1eexc2a11", true: "cell_ColumnCellRecipe_groupRow_true__1eexc2a12" }, groupCell: { false: "cell_ColumnCellRecipe_groupCell_false__1eexc2a13", true: "cell_ColumnCellRecipe_groupCell_true__1eexc2a14" }, rowDisabled: { false: "cell_ColumnCellRecipe_rowDisabled_false__1eexc2a15", true: "cell_ColumnCellRecipe_rowDisabled_true__1eexc2a16" }, zebra: { false: "cell_ColumnCellRecipe_zebra_false__1eexc2a17", even: "cell_ColumnCellRecipe_zebra_even__1eexc2a18", odd: "cell_ColumnCellRecipe_zebra_odd__1eexc2a19" }, rowSelected: { true: "cell_ColumnCellRecipe_rowSelected_true__1eexc2a1a", false: "cell_ColumnCellRecipe_rowSelected_false__1eexc2a1b", null: "cell_ColumnCellRecipe_rowSelected_null__1eexc2a1c" }, first: { true: "cell_ColumnCellRecipe_first_true__1eexc2a1d", false: "cell_ColumnCellRecipe_first_false__1eexc2a1e" }, last: { true: "cell_ColumnCellRecipe_last_true__1eexc2a1f", false: "cell_ColumnCellRecipe_last_false__1eexc2a1g" }, groupByField: { true: "cell_ColumnCellRecipe_groupByField_true__1eexc2a1h", false: "cell_ColumnCellRecipe_groupByField_false__1eexc2a1i" }, firstInCategory: { true: "cell_ColumnCellRecipe_firstInCategory_true__1eexc2a1j", false: "cell_ColumnCellRecipe_firstInCategory_false__1eexc2a1k" }, firstRow: { true: "cell_ColumnCellRecipe_firstRow_true__1eexc2a1l", false: "cell_ColumnCellRecipe_firstRow_false__1eexc2a1m" }, firstRowInHorizontalLayoutPage: { true: "cell_ColumnCellRecipe_firstRowInHorizontalLayoutPage_true__1eexc2a1n", false: "cell_ColumnCellRecipe_firstRowInHorizontalLayoutPage_false__1eexc2a1o" }, lastInCategory: { true: "cell_ColumnCellRecipe_lastInCategory_true__1eexc2a1p", false: "cell_ColumnCellRecipe_lastInCategory_false__1eexc2a1q" }, pinned: { start: "cell_ColumnCellRecipe_pinned_start__1eexc2a1r", end: "cell_ColumnCellRecipe_pinned_end__1eexc2a1s", false: "cell_ColumnCellRecipe_pinned_false__1eexc2a1t" }, filtered: { true: "cell_ColumnCellRecipe_filtered_true__1eexc2a1u", false: "cell_ColumnCellRecipe_filtered_false__1eexc2a1v" } }, defaultVariants: {}, compoundVariants: [[{ firstRowInHorizontalLayoutPage: true, firstRow: false }, "cell_ColumnCellRecipe_compound_0__1eexc2a1w"], [{ pinned: "start", lastInCategory: true }, "cell_ColumnCellRecipe_compound_1__1eexc2a1x"], [{ pinned: "start", firstInCategory: true }, "cell_ColumnCellRecipe_compound_2__1eexc2a1y"], [{ pinned: "end", firstInCategory: true }, "cell_ColumnCellRecipe_compound_3__1eexc2a1z"], [{ pinned: "end", lastInCategory: true }, "cell_ColumnCellRecipe_compound_4__1eexc2a20"], [{ align: "center", groupCell: false }, "cell_ColumnCellRecipe_compound_5__1eexc2a21"], [{ rowDisabled: true, zebra: "odd" }, "cell_ColumnCellRecipe_compound_6__1eexc2a22"]] });
|
|
8251
8251
|
var ColumnCellSelectionIndicatorRecipe = createRuntimeFn({ defaultClassName: "cell_ColumnCellSelectionIndicatorRecipe__1eexc2ad", variantClassNames: { right: { true: "cell_ColumnCellSelectionIndicatorRecipe_right_true__1eexc2ae", false: "cell_ColumnCellSelectionIndicatorRecipe_right_false__1eexc2af" }, left: { true: "cell_ColumnCellSelectionIndicatorRecipe_left_true__1eexc2ag", false: "cell_ColumnCellSelectionIndicatorRecipe_left_false__1eexc2ah" }, top: { true: "cell_ColumnCellSelectionIndicatorRecipe_top_true__1eexc2ai", false: "cell_ColumnCellSelectionIndicatorRecipe_top_false__1eexc2aj" }, bottom: { true: "cell_ColumnCellSelectionIndicatorRecipe_bottom_true__1eexc2ak", false: "cell_ColumnCellSelectionIndicatorRecipe_bottom_false__1eexc2al" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8252
8252
|
var FlashingColumnCellRecipe = createRuntimeFn({ defaultClassName: "cell_FlashingColumnCellRecipe__1eexc2a9", variantClassNames: { direction: { up: "cell_FlashingColumnCellRecipe_direction_up__1eexc2aa", down: "cell_FlashingColumnCellRecipe_direction_down__1eexc2ab", neutral: "cell_FlashingColumnCellRecipe_direction_neutral__1eexc2ac" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -9366,7 +9366,7 @@ import * as React39 from "react";
|
|
|
9366
9366
|
import { useEffect as useEffect14, useState as useState10 } from "react";
|
|
9367
9367
|
|
|
9368
9368
|
// src/components/InfiniteTable/components/icons/SortIcon.css.ts
|
|
9369
|
-
var SortIconCls = "SortIcon_SortIconCls__1ek6mqy0 utilities_display_flex__16lm1iwz
|
|
9369
|
+
var SortIconCls = "SortIcon_SortIconCls__1ek6mqy0 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_position_relative__16lm1iw1 utilities_justifyContent_spaceAround__16lm1iw1v";
|
|
9370
9370
|
|
|
9371
9371
|
// src/components/InfiniteTable/components/icons/SortIcon.tsx
|
|
9372
9372
|
var defaultLineStyle3 = {
|
|
@@ -9584,9 +9584,9 @@ function getColumnGroupResizer(colIndexes, config) {
|
|
|
9584
9584
|
}
|
|
9585
9585
|
|
|
9586
9586
|
// src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/ResizeHandle.css.ts
|
|
9587
|
-
var ResizeHandleCls = "ResizeHandle_ResizeHandleCls__zneyzh0 utilities_position_absolute__16lm1iw2
|
|
9588
|
-
var ResizeHandleDraggerClsRecipe = createRuntimeFn({ defaultClassName: "ResizeHandle_ResizeHandleDraggerClsRecipe__zneyzhc utilities_position_absolute__16lm1iw2
|
|
9589
|
-
var ResizeHandleRecipeCls = createRuntimeFn({ defaultClassName: "ResizeHandle__zneyzh1", variantClassNames: { computedPinned: { start: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_start__zneyzh2", end: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_end__zneyzh3
|
|
9587
|
+
var ResizeHandleCls = "ResizeHandle_ResizeHandleCls__zneyzh0 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i utilities_cursor_colResize__16lm1iwk utilities_overflow_hidden__16lm1iw1y";
|
|
9588
|
+
var ResizeHandleDraggerClsRecipe = createRuntimeFn({ defaultClassName: "ResizeHandle_ResizeHandleDraggerClsRecipe__zneyzhc utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_bottom_0__16lm1iw1i", variantClassNames: { constrained: { false: "ResizeHandle_ResizeHandleDraggerClsRecipe_constrained_false__zneyzhd", true: "ResizeHandle_ResizeHandleDraggerClsRecipe_constrained_true__zneyzhe" }, computedPinned: { start: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedPinned_start__zneyzhf", end: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedPinned_end__zneyzhg", false: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedPinned_false__zneyzhh" }, computedFirstInCategory: { true: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedFirstInCategory_true__zneyzhi", false: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedFirstInCategory_false__zneyzhj" }, computedLastInCategory: { true: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedLastInCategory_true__zneyzhk", false: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedLastInCategory_false__zneyzhl" } }, defaultVariants: {}, compoundVariants: [[{ computedPinned: "start", computedLastInCategory: true }, "ResizeHandle_ResizeHandleDraggerClsRecipe_compound_0__zneyzhm"], [{ computedPinned: "end", computedFirstInCategory: true }, "ResizeHandle_ResizeHandleDraggerClsRecipe_compound_1__zneyzhn"]] });
|
|
9589
|
+
var ResizeHandleRecipeCls = createRuntimeFn({ defaultClassName: "ResizeHandle__zneyzh1", variantClassNames: { computedPinned: { start: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_start__zneyzh2", end: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_end__zneyzh3 utilities_left_0__16lm1iw1f utilities_right_auto__16lm1iw1m", false: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_false__zneyzh4" }, computedFirstInCategory: { true: "ResizeHandle_ResizeHandleRecipeCls_computedFirstInCategory_true__zneyzh5", false: "ResizeHandle_ResizeHandleRecipeCls_computedFirstInCategory_false__zneyzh6" }, computedLastInCategory: { true: "ResizeHandle_ResizeHandleRecipeCls_computedLastInCategory_true__zneyzh7", false: "ResizeHandle_ResizeHandleRecipeCls_computedLastInCategory_false__zneyzh8" } }, defaultVariants: {}, compoundVariants: [[{ computedPinned: "end", computedLastInCategory: false, computedFirstInCategory: true }, "ResizeHandle_ResizeHandleRecipeCls_compound_0__zneyzh9"], [{ computedPinned: false, computedFirstInCategory: false, computedLastInCategory: true }, "ResizeHandle_ResizeHandleRecipeCls_compound_1__zneyzha"], [{ computedPinned: "start", computedFirstInCategory: false, computedLastInCategory: true }, "ResizeHandle_ResizeHandleRecipeCls_compound_2__zneyzhb"]] });
|
|
9590
9590
|
|
|
9591
9591
|
// src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/index.tsx
|
|
9592
9592
|
var { rootClassName: rootClassName7 } = internalProps;
|
|
@@ -9852,7 +9852,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
9852
9852
|
const horizontalLayoutPageIndex = props.horizontalLayoutPageIndex;
|
|
9853
9853
|
const dragging = columnReorderDragColumnId === column.id;
|
|
9854
9854
|
const insideDisabledDraggingPage = columnReorderInPageIndex != null ? horizontalLayoutPageIndex !== columnReorderInPageIndex : false;
|
|
9855
|
-
const { onResize, height, width, headerOptions, columnsMap } = props;
|
|
9855
|
+
const { onResize, height: height2, width, headerOptions, columnsMap } = props;
|
|
9856
9856
|
const sortInfo = column.computedSortInfo;
|
|
9857
9857
|
const header = column.header;
|
|
9858
9858
|
const ref = useCallback14(
|
|
@@ -9915,10 +9915,12 @@ function InfiniteTableHeaderCell(props) {
|
|
|
9915
9915
|
};
|
|
9916
9916
|
const MenuIconCmp = column.components?.MenuIcon || components2?.MenuIcon || MenuIcon;
|
|
9917
9917
|
const menuIcon = /* @__PURE__ */ React42.createElement(MenuIconCmp, { ...menuIconProps });
|
|
9918
|
+
const domRef = useRef16(null);
|
|
9918
9919
|
const initialRenderParam = {
|
|
9919
9920
|
horizontalLayoutPageIndex,
|
|
9920
9921
|
dragging,
|
|
9921
9922
|
domRef: ref,
|
|
9923
|
+
htmlElementRef: domRef,
|
|
9922
9924
|
insideColumnMenu: false,
|
|
9923
9925
|
column,
|
|
9924
9926
|
columnsMap,
|
|
@@ -10059,7 +10061,6 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10059
10061
|
}
|
|
10060
10062
|
return all;
|
|
10061
10063
|
};
|
|
10062
|
-
const domRef = useRef16(null);
|
|
10063
10064
|
useEffect15(() => {
|
|
10064
10065
|
let clearOnResize = null;
|
|
10065
10066
|
const node = domRef.current;
|
|
@@ -10072,7 +10073,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10072
10073
|
}, [domRef.current, props.onResize]);
|
|
10073
10074
|
let style2 = {
|
|
10074
10075
|
// height: column.computedFiltered? height*2: height,
|
|
10075
|
-
height
|
|
10076
|
+
height: height2
|
|
10076
10077
|
};
|
|
10077
10078
|
if (column.headerStyle) {
|
|
10078
10079
|
style2 = typeof column.headerStyle === "function" ? { ...style2, ...column.headerStyle(renderParam) || {} } : { ...style2, ...column.headerStyle };
|
|
@@ -10092,7 +10093,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10092
10093
|
className: `${InfiniteTableHeaderCellClassName}Proxy ${HeaderCellProxy}`,
|
|
10093
10094
|
style: {
|
|
10094
10095
|
position: "absolute",
|
|
10095
|
-
height,
|
|
10096
|
+
height: height2,
|
|
10096
10097
|
width,
|
|
10097
10098
|
left: proxyPosition.left ?? 0,
|
|
10098
10099
|
top: proxyPosition.top ?? 0,
|
|
@@ -10137,6 +10138,22 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10137
10138
|
"data-sort": column.computedSortedAsc ? "asc" : column.computedSortedDesc ? "desc" : "none",
|
|
10138
10139
|
"data-sort-index": `${column.computedSortIndex ?? -1}`
|
|
10139
10140
|
};
|
|
10141
|
+
const columnFilterEditor = column.computedFilterable ? /* @__PURE__ */ React42.createElement(
|
|
10142
|
+
InfiniteTableColumnHeaderFilter,
|
|
10143
|
+
{
|
|
10144
|
+
horizontalLayoutPageIndex,
|
|
10145
|
+
filterEditor: FilterEditor,
|
|
10146
|
+
filterOperatorSwitch: FilterOperatorSwitch ?? InfiniteTableFilterOperatorSwitch,
|
|
10147
|
+
operator,
|
|
10148
|
+
filterTypes,
|
|
10149
|
+
onChange: debouncedOnFilterValueChange,
|
|
10150
|
+
columnFilterType: filterTypeKey,
|
|
10151
|
+
columnLabel: column.field || column.name || column.id,
|
|
10152
|
+
columnFilterValue: column.computedFilterValue,
|
|
10153
|
+
columnHeaderHeight
|
|
10154
|
+
}
|
|
10155
|
+
) : /* @__PURE__ */ React42.createElement(InfiniteTableColumnHeaderFilterEmpty, null);
|
|
10156
|
+
renderParam.renderBag.filterEditor = columnFilterEditor;
|
|
10140
10157
|
return /* @__PURE__ */ React42.createElement(ContextProvider, { value: renderParam }, /* @__PURE__ */ React42.createElement(
|
|
10141
10158
|
InfiniteTableCell,
|
|
10142
10159
|
{
|
|
@@ -10153,7 +10170,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10153
10170
|
HeaderCellContentRecipe(contentRecipeVariants),
|
|
10154
10171
|
justifyContent[align2]
|
|
10155
10172
|
),
|
|
10156
|
-
contentStyle: showColumnFilters ? { height:
|
|
10173
|
+
contentStyle: showColumnFilters ? { height: height2 / 2 } : void 0,
|
|
10157
10174
|
className: join(
|
|
10158
10175
|
InfiniteTableHeaderCellClassName,
|
|
10159
10176
|
userSelect.none,
|
|
@@ -10183,21 +10200,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10183
10200
|
CellCls
|
|
10184
10201
|
),
|
|
10185
10202
|
cssEllipsis: headerCSSEllipsis,
|
|
10186
|
-
afterChildren: /* @__PURE__ */ React42.createElement(React42.Fragment, null, showColumnFilters ?
|
|
10187
|
-
InfiniteTableColumnHeaderFilter,
|
|
10188
|
-
{
|
|
10189
|
-
horizontalLayoutPageIndex,
|
|
10190
|
-
filterEditor: FilterEditor,
|
|
10191
|
-
filterOperatorSwitch: FilterOperatorSwitch ?? InfiniteTableFilterOperatorSwitch,
|
|
10192
|
-
operator,
|
|
10193
|
-
filterTypes,
|
|
10194
|
-
onChange: debouncedOnFilterValueChange,
|
|
10195
|
-
columnFilterType: filterTypeKey,
|
|
10196
|
-
columnLabel: column.field || column.name || column.id,
|
|
10197
|
-
columnFilterValue: column.computedFilterValue,
|
|
10198
|
-
columnHeaderHeight
|
|
10199
|
-
}
|
|
10200
|
-
) : /* @__PURE__ */ React42.createElement(InfiniteTableColumnHeaderFilterEmpty, null) : null, resizeHandle),
|
|
10203
|
+
afterChildren: /* @__PURE__ */ React42.createElement(React42.Fragment, null, showColumnFilters ? columnFilterEditor : null, resizeHandle),
|
|
10201
10204
|
renderChildren
|
|
10202
10205
|
}
|
|
10203
10206
|
), draggingProxy);
|
|
@@ -10507,7 +10510,7 @@ var TableHeaderGroupClassName = `${rootClassName2}HeaderGroup`;
|
|
|
10507
10510
|
var columnWidthAtIndex4 = stripVar(InternalVars.columnWidthAtIndex);
|
|
10508
10511
|
var columnZIndexAtIndex6 = stripVar(InternalVars.columnZIndexAtIndex);
|
|
10509
10512
|
function InfiniteTableHeaderGroup(props) {
|
|
10510
|
-
const { columnGroup, height, columns, bodyBrain, columnGroupsMaxDepth } = props;
|
|
10513
|
+
const { columnGroup, height: height2, columns, bodyBrain, columnGroupsMaxDepth } = props;
|
|
10511
10514
|
let { header, style: userStyle } = columnGroup;
|
|
10512
10515
|
if (header instanceof Function) {
|
|
10513
10516
|
header = header({
|
|
@@ -10517,7 +10520,7 @@ function InfiniteTableHeaderGroup(props) {
|
|
|
10517
10520
|
}
|
|
10518
10521
|
const handle = useColumnGroupResizeHandle(columns, {
|
|
10519
10522
|
bodyBrain,
|
|
10520
|
-
groupHeight:
|
|
10523
|
+
groupHeight: height2,
|
|
10521
10524
|
columnGroup,
|
|
10522
10525
|
columnGroupsMaxDepth
|
|
10523
10526
|
});
|
|
@@ -10532,7 +10535,7 @@ function InfiniteTableHeaderGroup(props) {
|
|
|
10532
10535
|
}) : userStyle;
|
|
10533
10536
|
style2 = style2 && typeof style2 === "object" ? style2 : {};
|
|
10534
10537
|
style2.width = width;
|
|
10535
|
-
style2.height =
|
|
10538
|
+
style2.height = height2;
|
|
10536
10539
|
return /* @__PURE__ */ React45.createElement(
|
|
10537
10540
|
"div",
|
|
10538
10541
|
{
|
|
@@ -10608,7 +10611,7 @@ function InfiniteTableHeaderFn(props) {
|
|
|
10608
10611
|
rowIndex,
|
|
10609
10612
|
colIndex,
|
|
10610
10613
|
domRef: domRef2,
|
|
10611
|
-
height,
|
|
10614
|
+
height: height2,
|
|
10612
10615
|
widthWithColspan,
|
|
10613
10616
|
heightWithRowspan,
|
|
10614
10617
|
hidden
|
|
@@ -10640,7 +10643,7 @@ function InfiniteTableHeaderFn(props) {
|
|
|
10640
10643
|
domRef: domRef2,
|
|
10641
10644
|
columns: columns2,
|
|
10642
10645
|
width: widthWithColspan,
|
|
10643
|
-
height,
|
|
10646
|
+
height: height2,
|
|
10644
10647
|
columnGroup: computedColumnGroup
|
|
10645
10648
|
}
|
|
10646
10649
|
) : null;
|
|
@@ -10705,7 +10708,7 @@ function TableHeaderWrapper(props) {
|
|
|
10705
10708
|
}
|
|
10706
10709
|
} = tableContextValue;
|
|
10707
10710
|
const rows = !computedColumnGroups || !Object.keys(computedColumnGroups).length ? 1 : columnGroupsMaxDepth + 2;
|
|
10708
|
-
const
|
|
10711
|
+
const height2 = rows * columnHeaderHeight + (showColumnFilters ? columnHeaderHeight : 0);
|
|
10709
10712
|
const columnAndGroupTreeInfo = React47.useMemo(() => {
|
|
10710
10713
|
if (!computedColumnGroups || !Object.keys(computedColumnGroups).length) {
|
|
10711
10714
|
return void 0;
|
|
@@ -10776,7 +10779,7 @@ function TableHeaderWrapper(props) {
|
|
|
10776
10779
|
rowHeight,
|
|
10777
10780
|
rows,
|
|
10778
10781
|
cols: computedVisibleColumns.length,
|
|
10779
|
-
height,
|
|
10782
|
+
height: height2,
|
|
10780
10783
|
rowspan,
|
|
10781
10784
|
colspan
|
|
10782
10785
|
},
|
|
@@ -10791,7 +10794,7 @@ function TableHeaderWrapper(props) {
|
|
|
10791
10794
|
columns: computedVisibleColumns,
|
|
10792
10795
|
headerBrain,
|
|
10793
10796
|
bodyBrain,
|
|
10794
|
-
columnHeaderHeight:
|
|
10797
|
+
columnHeaderHeight: height2,
|
|
10795
10798
|
columnGroupsMaxDepth,
|
|
10796
10799
|
columnAndGroupTreeInfo
|
|
10797
10800
|
}
|
|
@@ -10811,7 +10814,7 @@ function TableHeaderWrapper(props) {
|
|
|
10811
10814
|
{
|
|
10812
10815
|
className: `${InfiniteTableHeaderWrapperClassName} ${HeaderWrapperCls}`,
|
|
10813
10816
|
style: {
|
|
10814
|
-
height
|
|
10817
|
+
height: height2
|
|
10815
10818
|
}
|
|
10816
10819
|
},
|
|
10817
10820
|
header,
|
|
@@ -10926,8 +10929,8 @@ var InfiniteTableLicenseFooter = React48.forwardRef(
|
|
|
10926
10929
|
import * as React49 from "react";
|
|
10927
10930
|
|
|
10928
10931
|
// src/components/InfiniteTable/components/LoadMask.css.ts
|
|
10929
|
-
var LoadMaskCls = { visible: "LoadMask_LoadMaskCls_visible__qy58ya1 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2
|
|
10930
|
-
var LoadMaskOverlayCls = "LoadMask_LoadMaskOverlayCls__qy58ya3 utilities_position_absolute__16lm1iw2
|
|
10932
|
+
var LoadMaskCls = { visible: "LoadMask_LoadMaskCls_visible__qy58ya1 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i", hidden: "LoadMask_LoadMaskCls_hidden__qy58ya2 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i" };
|
|
10933
|
+
var LoadMaskOverlayCls = "LoadMask_LoadMaskOverlayCls__qy58ya3 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i";
|
|
10931
10934
|
var LoadMaskTextCls = "LoadMask_LoadMaskTextCls__qy58ya4";
|
|
10932
10935
|
|
|
10933
10936
|
// src/components/InfiniteTable/components/LoadMask.tsx
|
|
@@ -15465,6 +15468,30 @@ function getLivePaginationCursorValue(livePaginationCursorProp, state) {
|
|
|
15465
15468
|
return livePaginationCursor;
|
|
15466
15469
|
}
|
|
15467
15470
|
var weakMap = /* @__PURE__ */ new WeakMap();
|
|
15471
|
+
function toShouldReloadObject(shouldReloadData) {
|
|
15472
|
+
if (typeof shouldReloadData === "boolean") {
|
|
15473
|
+
return {
|
|
15474
|
+
filterValue: shouldReloadData,
|
|
15475
|
+
sortInfo: shouldReloadData,
|
|
15476
|
+
groupBy: shouldReloadData,
|
|
15477
|
+
pivotBy: shouldReloadData
|
|
15478
|
+
};
|
|
15479
|
+
}
|
|
15480
|
+
const result = {};
|
|
15481
|
+
if (shouldReloadData.filterValue != null) {
|
|
15482
|
+
result.filterValue = shouldReloadData.filterValue;
|
|
15483
|
+
}
|
|
15484
|
+
if (shouldReloadData.sortInfo != null) {
|
|
15485
|
+
result.sortInfo = shouldReloadData.sortInfo;
|
|
15486
|
+
}
|
|
15487
|
+
if (shouldReloadData.groupBy != null) {
|
|
15488
|
+
result.groupBy = shouldReloadData.groupBy;
|
|
15489
|
+
}
|
|
15490
|
+
if (shouldReloadData.pivotBy != null) {
|
|
15491
|
+
result.pivotBy = shouldReloadData.pivotBy;
|
|
15492
|
+
}
|
|
15493
|
+
return result;
|
|
15494
|
+
}
|
|
15468
15495
|
function deriveStateFromProps(params) {
|
|
15469
15496
|
const { props, state, oldState } = params;
|
|
15470
15497
|
const controlledSort = isControlledValue(props.sortInfo);
|
|
@@ -15554,7 +15581,7 @@ function deriveStateFromProps(params) {
|
|
|
15554
15581
|
collapsedRows: []
|
|
15555
15582
|
}
|
|
15556
15583
|
);
|
|
15557
|
-
const
|
|
15584
|
+
const shouldReloadData = toShouldReloadObject(props.shouldReloadData || {});
|
|
15558
15585
|
const propsGroupMode = props.groupMode ?? (shouldReloadData.groupBy != null ? shouldReloadData.groupBy ? "remote" : "local" : void 0);
|
|
15559
15586
|
const propsSortMode = props.sortMode ?? shouldReloadData.sortInfo != null ? shouldReloadData.sortInfo ? "remote" : "local" : void 0;
|
|
15560
15587
|
const propsFilterMode = props.filterMode ?? shouldReloadData.filterValue != null ? shouldReloadData.filterValue ? "remote" : "local" : void 0;
|
|
@@ -15607,10 +15634,10 @@ function deriveStateFromProps(params) {
|
|
|
15607
15634
|
// since we want a subtle difference between the computed sortMode and shouldReloadData.sortInfo (for example)
|
|
15608
15635
|
// difference: sortMode will be local when sortFunction is provided, however, the user may want to reload data when sortInfo changes
|
|
15609
15636
|
// and thus the data will be refetched, but will be sorted locally
|
|
15610
|
-
filterValue:
|
|
15611
|
-
sortInfo:
|
|
15612
|
-
groupBy:
|
|
15613
|
-
pivotBy:
|
|
15637
|
+
filterValue: shouldReloadData?.filterValue ?? filterMode === "remote",
|
|
15638
|
+
sortInfo: shouldReloadData?.sortInfo ?? sortMode === "remote",
|
|
15639
|
+
groupBy: shouldReloadData?.groupBy ?? groupMode === "remote",
|
|
15640
|
+
pivotBy: shouldReloadData?.pivotBy ?? pivotMode === "remote"
|
|
15614
15641
|
},
|
|
15615
15642
|
isRowDisabled,
|
|
15616
15643
|
rowSelection: rowSelectionState,
|
|
@@ -20171,7 +20198,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
20171
20198
|
}
|
|
20172
20199
|
let valid2 = isValidLicense(licenseKey, {
|
|
20173
20200
|
publishedAt: 1624970570587,
|
|
20174
|
-
version: "5.0.
|
|
20201
|
+
version: "5.0.7"
|
|
20175
20202
|
});
|
|
20176
20203
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
20177
20204
|
return true;
|
|
@@ -21665,7 +21692,7 @@ function OverlayContent(props) {
|
|
|
21665
21692
|
useEffect30(() => {
|
|
21666
21693
|
return props.realign.onChange((handle) => {
|
|
21667
21694
|
if (nodeRef.current && handle) {
|
|
21668
|
-
|
|
21695
|
+
alignNode(nodeRef.current, handle);
|
|
21669
21696
|
}
|
|
21670
21697
|
});
|
|
21671
21698
|
}, [props.realign]);
|
|
@@ -21675,7 +21702,7 @@ function OverlayContent(props) {
|
|
|
21675
21702
|
style: { position: "absolute", top: 0, left: 0 },
|
|
21676
21703
|
ref: useCallback24((node) => {
|
|
21677
21704
|
if (node) {
|
|
21678
|
-
|
|
21705
|
+
alignNode(node, props);
|
|
21679
21706
|
}
|
|
21680
21707
|
nodeRef.current = node;
|
|
21681
21708
|
}, [])
|
|
@@ -21683,7 +21710,7 @@ function OverlayContent(props) {
|
|
|
21683
21710
|
typeof props.children === "function" ? props.children() : props.children
|
|
21684
21711
|
);
|
|
21685
21712
|
}
|
|
21686
|
-
async function
|
|
21713
|
+
async function alignNode(node, params) {
|
|
21687
21714
|
let { constrainTo, alignTo, alignPosition } = params;
|
|
21688
21715
|
if (Object.keys(alignTo).length === 2 && alignTo.top !== void 0 && alignTo.left !== void 0) {
|
|
21689
21716
|
alignTo = {
|
|
@@ -21791,20 +21818,35 @@ function useOverlay(params) {
|
|
|
21791
21818
|
const id = params2.id || getIdForReactOnlyChild(content) || getChangeDetect();
|
|
21792
21819
|
const key = `${id}`;
|
|
21793
21820
|
let handle = handles.get(key);
|
|
21794
|
-
const
|
|
21795
|
-
|
|
21796
|
-
|
|
21797
|
-
|
|
21798
|
-
|
|
21799
|
-
|
|
21800
|
-
|
|
21821
|
+
const getChildrenFnForContent = (content2) => {
|
|
21822
|
+
return () => {
|
|
21823
|
+
const children = typeof content2 === "function" ? content2() : content2;
|
|
21824
|
+
return injectPortalContainerAndConstrainInMenuChild(
|
|
21825
|
+
children,
|
|
21826
|
+
rootParams.portalContainer,
|
|
21827
|
+
params2.constrainTo ?? rootParams.constrainTo
|
|
21828
|
+
);
|
|
21829
|
+
};
|
|
21801
21830
|
};
|
|
21802
|
-
|
|
21803
|
-
|
|
21831
|
+
const childrenFn = getChildrenFnForContent(content);
|
|
21832
|
+
const updateOverlay = (overlayContent, options) => {
|
|
21833
|
+
if (!handle) {
|
|
21834
|
+
return;
|
|
21835
|
+
}
|
|
21836
|
+
const childrenFn2 = getChildrenFnForContent(overlayContent);
|
|
21837
|
+
Object.assign(handle, { children: childrenFn2 });
|
|
21804
21838
|
updateContent();
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21839
|
+
const skipRealign = !!options?.skipRealign;
|
|
21840
|
+
const shouldRealign = !skipRealign;
|
|
21841
|
+
if (shouldRealign) {
|
|
21842
|
+
setHandleToRealign(handle.key);
|
|
21843
|
+
setRealignTimestamp(Date.now());
|
|
21844
|
+
}
|
|
21845
|
+
};
|
|
21846
|
+
if (handle) {
|
|
21847
|
+
Object.assign(handle, params2);
|
|
21848
|
+
updateOverlay(content);
|
|
21849
|
+
return updateOverlay;
|
|
21808
21850
|
}
|
|
21809
21851
|
handle = {
|
|
21810
21852
|
key,
|
|
@@ -21816,7 +21858,7 @@ function useOverlay(params) {
|
|
|
21816
21858
|
};
|
|
21817
21859
|
handles.set(handle.key, handle);
|
|
21818
21860
|
updateContent();
|
|
21819
|
-
return
|
|
21861
|
+
return updateOverlay;
|
|
21820
21862
|
},
|
|
21821
21863
|
[handles, rootParams.portalContainer, updateContent]
|
|
21822
21864
|
);
|
|
@@ -21871,8 +21913,8 @@ MenuItem.defaultProps = {
|
|
|
21871
21913
|
};
|
|
21872
21914
|
|
|
21873
21915
|
// src/components/Menu/MenuCls.css.ts
|
|
21874
|
-
var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16
|
|
21875
|
-
var MenuItemCls = createRuntimeFn({ defaultClassName: "MenuCls_MenuItemCls__db3arf2 utilities_display_flex__16lm1iwz
|
|
21916
|
+
var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16 utilities_flexFlow_column__16lm1iw1n utilities_margin_none__16lm1iw8";
|
|
21917
|
+
var MenuItemCls = createRuntimeFn({ defaultClassName: "MenuCls_MenuItemCls__db3arf2 utilities_display_flex__16lm1iwz utilities_alignItems_center__16lm1iw1r utilities_userSelect_none__16lm1iw17", variantClassNames: { disabled: { true: "MenuCls_MenuItemCls_disabled_true__db3arf3 utilities_cursor_default__16lm1iwj utilities_userSelect_none__16lm1iw17", false: "utilities_cursor_pointer__16lm1iwi" }, active: { true: "MenuCls_MenuItemCls_active_true__db3arf5", false: "MenuCls_MenuItemCls_active_false__db3arf6" }, pressed: { false: "MenuCls_MenuItemCls_pressed_false__db3arf7", true: "MenuCls_MenuItemCls_pressed_true__db3arf8" }, keyboardActive: { true: "MenuCls_MenuItemCls_keyboardActive_true__db3arf9", false: "MenuCls_MenuItemCls_keyboardActive_false__db3arfa" } }, defaultVariants: {}, compoundVariants: [[{ active: true, disabled: false }, "MenuCls_MenuItemCls_compound_0__db3arfb"], [{ pressed: true, active: true, disabled: false }, "MenuCls_MenuItemCls_compound_1__db3arfc"]] });
|
|
21876
21918
|
var MenuRowCls = "MenuCls_MenuRowCls__db3arf1";
|
|
21877
21919
|
var MenuSeparatorCls = "MenuCls_MenuSeparatorCls__db3arfd";
|
|
21878
21920
|
|
|
@@ -23968,6 +24010,15 @@ function runDebugMode(getState) {
|
|
|
23968
24010
|
}
|
|
23969
24011
|
}
|
|
23970
24012
|
|
|
24013
|
+
// src/components/InfiniteTable/hooks/useInfinitePortalContainer.ts
|
|
24014
|
+
function useInfinitePortalContainer() {
|
|
24015
|
+
const masterContext = useMasterDetailContext();
|
|
24016
|
+
const masterState = masterContext ? masterContext.getMasterState() : null;
|
|
24017
|
+
const infiniteState = useInfiniteTable().getState();
|
|
24018
|
+
const portalContainer = (masterState || infiniteState).portalDOMRef.current;
|
|
24019
|
+
return portalContainer;
|
|
24020
|
+
}
|
|
24021
|
+
|
|
23971
24022
|
// src/components/InfiniteTable/index.tsx
|
|
23972
24023
|
var InfiniteTableClassName = internalProps.rootClassName;
|
|
23973
24024
|
var HOVERED_CLASS_NAMES = [RowHoverCls, "InfiniteColumnCell--hovered"];
|
|
@@ -24931,6 +24982,7 @@ export {
|
|
|
24931
24982
|
RowDisabledState,
|
|
24932
24983
|
RowSelectionState,
|
|
24933
24984
|
WeakFixedSizeSet,
|
|
24985
|
+
alignNode,
|
|
24934
24986
|
components,
|
|
24935
24987
|
createFlashingColumnCellComponent,
|
|
24936
24988
|
debounce,
|
|
@@ -24957,6 +25009,7 @@ export {
|
|
|
24957
25009
|
useInfiniteColumnEditor,
|
|
24958
25010
|
useInfiniteColumnFilterEditor,
|
|
24959
25011
|
useInfiniteHeaderCell,
|
|
25012
|
+
useInfinitePortalContainer,
|
|
24960
25013
|
useManagedDataSource,
|
|
24961
25014
|
useMasterRowInfo,
|
|
24962
25015
|
useOverlay,
|