@infinite-table/infinite-react 5.0.4 → 5.0.6
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 +124 -32
- package/index.d.ts +13 -2
- package/index.dev.js +143 -105
- package/index.dev.mjs +141 -105
- package/index.js +143 -105
- package/index.mjs +141 -105
- package/package.json +2 -2
package/index.dev.js
CHANGED
|
@@ -84,6 +84,7 @@ __export(src_exports, {
|
|
|
84
84
|
RowDisabledState: () => RowDisabledState,
|
|
85
85
|
RowSelectionState: () => RowSelectionState,
|
|
86
86
|
WeakFixedSizeSet: () => WeakFixedSizeSet,
|
|
87
|
+
alignNode: () => alignNode,
|
|
87
88
|
components: () => components,
|
|
88
89
|
createFlashingColumnCellComponent: () => createFlashingColumnCellComponent,
|
|
89
90
|
debounce: () => debounce,
|
|
@@ -110,6 +111,7 @@ __export(src_exports, {
|
|
|
110
111
|
useInfiniteColumnEditor: () => useInfiniteColumnEditor,
|
|
111
112
|
useInfiniteColumnFilterEditor: () => useInfiniteColumnFilterEditor,
|
|
112
113
|
useInfiniteHeaderCell: () => useInfiniteHeaderCell,
|
|
114
|
+
useInfinitePortalContainer: () => useInfinitePortalContainer,
|
|
113
115
|
useManagedDataSource: () => useManagedDataSource,
|
|
114
116
|
useMasterRowInfo: () => useMasterRowInfo,
|
|
115
117
|
useOverlay: () => useOverlay,
|
|
@@ -936,16 +938,16 @@ var setupResizeObserver = (node, callback, config = { debounce: 0 }) => {
|
|
|
936
938
|
const onResizeCallback = debounceTime ? debounce(callback, { wait: debounceTime }) : callback;
|
|
937
939
|
const observer = new RO((entries) => {
|
|
938
940
|
const entry = entries[0];
|
|
939
|
-
let { width, height } = entry.contentRect;
|
|
941
|
+
let { width, height: height2 } = entry.contentRect;
|
|
940
942
|
if (entry.borderBoxSize?.[0]) {
|
|
941
|
-
|
|
943
|
+
height2 = entry.borderBoxSize[0].blockSize;
|
|
942
944
|
width = entry.borderBoxSize[0].inlineSize;
|
|
943
945
|
} else {
|
|
944
946
|
const rect = node.getBoundingClientRect();
|
|
945
|
-
|
|
947
|
+
height2 = rect.height;
|
|
946
948
|
width = rect.width;
|
|
947
949
|
}
|
|
948
|
-
onResizeCallback({ width, height });
|
|
950
|
+
onResizeCallback({ width, height: height2 });
|
|
949
951
|
});
|
|
950
952
|
observer.observe(node);
|
|
951
953
|
return () => {
|
|
@@ -1016,10 +1018,10 @@ var WRAPPER_STYLE = {
|
|
|
1016
1018
|
var useCSSVariableWatch = (params) => {
|
|
1017
1019
|
const lastValueRef = (0, import_react2.useRef)(0);
|
|
1018
1020
|
const onResize = React2.useCallback(
|
|
1019
|
-
({ height }) => {
|
|
1020
|
-
if (
|
|
1021
|
-
lastValueRef.current =
|
|
1022
|
-
params.onChange(
|
|
1021
|
+
({ height: height2 }) => {
|
|
1022
|
+
if (height2 != null && height2 !== lastValueRef.current) {
|
|
1023
|
+
lastValueRef.current = height2;
|
|
1024
|
+
params.onChange(height2);
|
|
1023
1025
|
}
|
|
1024
1026
|
},
|
|
1025
1027
|
[params.onChange]
|
|
@@ -1044,7 +1046,7 @@ var CSSNumericVariableWatch = (props) => {
|
|
|
1044
1046
|
...props,
|
|
1045
1047
|
ref: domRef
|
|
1046
1048
|
});
|
|
1047
|
-
const
|
|
1049
|
+
const height2 = props.varName.startsWith("var(") ? props.varName : `var(${props.varName})`;
|
|
1048
1050
|
const { allowInts = false } = props;
|
|
1049
1051
|
return /* @__PURE__ */ React2.createElement(
|
|
1050
1052
|
"div",
|
|
@@ -1058,7 +1060,7 @@ var CSSNumericVariableWatch = (props) => {
|
|
|
1058
1060
|
{
|
|
1059
1061
|
ref: domRef,
|
|
1060
1062
|
style: {
|
|
1061
|
-
height: allowInts ? `calc(1px * ${
|
|
1063
|
+
height: allowInts ? `calc(1px * ${height2})` : height2
|
|
1062
1064
|
// we do multiplication in order to support integer (without px) values as well
|
|
1063
1065
|
}
|
|
1064
1066
|
}
|
|
@@ -1120,9 +1122,9 @@ var import_react10 = require("react");
|
|
|
1120
1122
|
// src/components/VirtualList/SpacePlaceholder.tsx
|
|
1121
1123
|
var React6 = __toESM(require("react"));
|
|
1122
1124
|
function SpacePlaceholderFn(props) {
|
|
1123
|
-
const { height, width, count } = props;
|
|
1125
|
+
const { height: height2, width, count } = props;
|
|
1124
1126
|
const style2 = {
|
|
1125
|
-
height,
|
|
1127
|
+
height: height2,
|
|
1126
1128
|
width,
|
|
1127
1129
|
zIndex: -1,
|
|
1128
1130
|
opacity: 0,
|
|
@@ -1134,7 +1136,7 @@ function SpacePlaceholderFn(props) {
|
|
|
1134
1136
|
{
|
|
1135
1137
|
"data-count": count,
|
|
1136
1138
|
"data-placeholder-width": false ? width : void 0,
|
|
1137
|
-
"data-placeholder-height": false ?
|
|
1139
|
+
"data-placeholder-height": false ? height2 : void 0,
|
|
1138
1140
|
"data-name": "SpacePlaceholder",
|
|
1139
1141
|
style: style2
|
|
1140
1142
|
}
|
|
@@ -1827,7 +1829,7 @@ var MatrixBrain = class extends Logger {
|
|
|
1827
1829
|
return [];
|
|
1828
1830
|
}
|
|
1829
1831
|
const { scrollTop: scrollTop2 } = this.scrollPosition;
|
|
1830
|
-
const { height } = this.getAvailableSize();
|
|
1832
|
+
const { height: height2 } = this.getAvailableSize();
|
|
1831
1833
|
const offsets = [];
|
|
1832
1834
|
const heights = [];
|
|
1833
1835
|
let sum2 = 0;
|
|
@@ -1836,7 +1838,7 @@ var MatrixBrain = class extends Logger {
|
|
|
1836
1838
|
heights.push(rowHeight);
|
|
1837
1839
|
sum2 += rowHeight;
|
|
1838
1840
|
}
|
|
1839
|
-
const baseOffset =
|
|
1841
|
+
const baseOffset = height2 - sum2 + (skipScroll ? 0 : scrollTop2);
|
|
1840
1842
|
sum2 = 0;
|
|
1841
1843
|
let index = 0;
|
|
1842
1844
|
for (let rowIndex = this.rows - this.fixedRowsEnd; rowIndex < this.rows; rowIndex++) {
|
|
@@ -4202,12 +4204,12 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
4202
4204
|
return;
|
|
4203
4205
|
}
|
|
4204
4206
|
const covered = false;
|
|
4205
|
-
const
|
|
4207
|
+
const height2 = this.brain.getRowHeight(rowIndex);
|
|
4206
4208
|
const rowFixed = this.brain.isRowFixedStart(rowIndex) ? "start" : this.brain.isRowFixedEnd(rowIndex) ? "end" : false;
|
|
4207
4209
|
const hidden = !!covered;
|
|
4208
4210
|
const renderedDetailNode = renderDetailRow({
|
|
4209
4211
|
rowIndex,
|
|
4210
|
-
height,
|
|
4212
|
+
height: height2,
|
|
4211
4213
|
rowFixed,
|
|
4212
4214
|
hidden,
|
|
4213
4215
|
onMouseEnter: () => {
|
|
@@ -4248,11 +4250,11 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
4248
4250
|
return;
|
|
4249
4251
|
}
|
|
4250
4252
|
const covered = this.isCellCovered(rowIndex, colIndex);
|
|
4251
|
-
const
|
|
4253
|
+
const height2 = this.brain.getRowHeight(rowIndex);
|
|
4252
4254
|
const width = this.brain.getColWidth(colIndex);
|
|
4253
4255
|
const rowspan = this.brain.getRowspan(rowIndex, colIndex);
|
|
4254
4256
|
const colspan = this.brain.getColspan(rowIndex, colIndex);
|
|
4255
|
-
const heightWithRowspan = rowspan === 1 ?
|
|
4257
|
+
const heightWithRowspan = rowspan === 1 ? height2 : this.brain.getRowHeightWithSpan(rowIndex, colIndex, rowspan);
|
|
4256
4258
|
const widthWithColspan = colspan === 1 ? width : this.brain.getColWidthWithSpan(rowIndex, colIndex, colspan);
|
|
4257
4259
|
const { row: rowFixed, col: colFixed } = this.isCellFixed(
|
|
4258
4260
|
rowIndex,
|
|
@@ -4263,7 +4265,7 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
4263
4265
|
const renderedNode = renderCell({
|
|
4264
4266
|
rowIndex: renderRowIndex,
|
|
4265
4267
|
colIndex: renderColIndex,
|
|
4266
|
-
height,
|
|
4268
|
+
height: height2,
|
|
4267
4269
|
width,
|
|
4268
4270
|
rowspan,
|
|
4269
4271
|
colspan,
|
|
@@ -4571,10 +4573,10 @@ var createRuntimeFn = (config) => {
|
|
|
4571
4573
|
|
|
4572
4574
|
// src/components/InfiniteTable/components/ActiveCellIndicator.css.ts
|
|
4573
4575
|
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: [] });
|
|
4574
|
-
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4
|
|
4576
|
+
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";
|
|
4575
4577
|
|
|
4576
4578
|
// src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
|
|
4577
|
-
var ActiveRowIndicatorRecipe = createRuntimeFn({ defaultClassName: "ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2
|
|
4579
|
+
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: [] });
|
|
4578
4580
|
|
|
4579
4581
|
// src/components/InfiniteTable/components/ActiveRowIndicator.tsx
|
|
4580
4582
|
var { rootClassName: rootClassName3 } = internalProps;
|
|
@@ -5281,22 +5283,23 @@ var useInternalProps = () => {
|
|
|
5281
5283
|
};
|
|
5282
5284
|
|
|
5283
5285
|
// src/components/InfiniteTable/utilities.css.ts
|
|
5284
|
-
var absoluteCover = "utilities_position_absolute__16lm1iw2
|
|
5285
|
-
var alignItems = { center: "
|
|
5286
|
-
var cssEllipsisClassName = "
|
|
5286
|
+
var absoluteCover = "utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i";
|
|
5287
|
+
var alignItems = { center: "utilities_alignItems_center__16lm1iw1r", stretch: "utilities_alignItems_stretch__16lm1iw1s" };
|
|
5288
|
+
var cssEllipsisClassName = "utilities_whiteSpace_nowrap__16lm1iw24 utilities_textOverflow_ellipsis__16lm1iw25 utilities_overflow_hidden__16lm1iw1y";
|
|
5287
5289
|
var cursor = { pointer: "utilities_cursor_pointer__16lm1iwi", "default": "utilities_cursor_default__16lm1iwj", colResize: "utilities_cursor_colResize__16lm1iwk" };
|
|
5288
5290
|
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" };
|
|
5289
5291
|
var flex = { "1": "utilities_flex_1__16lm1iwm", none: "utilities_flex_none__16lm1iwn" };
|
|
5290
|
-
var flexFlow = { column: "
|
|
5291
|
-
var
|
|
5292
|
-
var
|
|
5292
|
+
var flexFlow = { column: "utilities_flexFlow_column__16lm1iw1n", columnReverse: "utilities_flexFlow_columnReverse__16lm1iw1o", row: "utilities_flexFlow_row__16lm1iw1p", rowReverse: "utilities_flexFlow_rowReverse__16lm1iw1q" };
|
|
5293
|
+
var height = { "0": "utilities_height_0__16lm1iw18", "100%": "utilities_height_100%__16lm1iw19", "50%": "utilities_height_50%__16lm1iw1a" };
|
|
5294
|
+
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" };
|
|
5295
|
+
var left = { "0": "utilities_left_0__16lm1iw1f", "100%": "utilities_left_100%__16lm1iw1g", auto: "utilities_left_auto__16lm1iw1h" };
|
|
5293
5296
|
var outline = { none: "utilities_outline_none__16lm1iwd" };
|
|
5294
|
-
var overflow = { hidden: "
|
|
5297
|
+
var overflow = { hidden: "utilities_overflow_hidden__16lm1iw1y", auto: "utilities_overflow_auto__16lm1iw1z", visible: "utilities_overflow_visible__16lm1iw20" };
|
|
5295
5298
|
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" };
|
|
5296
|
-
var top = { "0": "
|
|
5299
|
+
var top = { "0": "utilities_top_0__16lm1iw1d", "100%": "utilities_top_100%__16lm1iw1e" };
|
|
5297
5300
|
var transformTranslateZero = "utilities_transformTranslateZero__16lm1iwe";
|
|
5298
5301
|
var userSelect = { none: "utilities_userSelect_none__16lm1iw17" };
|
|
5299
|
-
var visibility = { visible: "
|
|
5302
|
+
var visibility = { visible: "utilities_visibility_visible__16lm1iw21", hidden: "utilities_visibility_hidden__16lm1iw22" };
|
|
5300
5303
|
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" };
|
|
5301
5304
|
|
|
5302
5305
|
// src/components/InfiniteTable/components/InfiniteTableFooter/InfiniteTableFooter.tsx
|
|
@@ -5443,29 +5446,29 @@ var React26 = __toESM(require("react"));
|
|
|
5443
5446
|
var import_react18 = require("react");
|
|
5444
5447
|
|
|
5445
5448
|
// src/components/InfiniteTable/components/InfiniteTableHeader/header.css.ts
|
|
5446
|
-
var CellCls = "cell_CellCls__1eexc2a5 utilities_display_flex__16lm1iwz
|
|
5447
|
-
var HeaderCellContentRecipe = createRuntimeFn({ defaultClassName: "header_HeaderCellContentRecipe__12zfob126 utilities_height_100%__16lm1iw19 utilities_width_100%
|
|
5448
|
-
var HeaderCellProxy = "header_HeaderCellProxy__12zfob1n
|
|
5449
|
+
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";
|
|
5450
|
+
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: [] });
|
|
5451
|
+
var HeaderCellProxy = "header_HeaderCellProxy__12zfob1n utilities_whiteSpace_nowrap__16lm1iw24 utilities_textOverflow_ellipsis__16lm1iw25 utilities_overflow_hidden__16lm1iw1y";
|
|
5449
5452
|
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"]] });
|
|
5450
5453
|
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"]] });
|
|
5451
|
-
var HeaderFilterEditorCls = "header_HeaderFilterEditorCls__12zfob12o utilities_width_100%
|
|
5454
|
+
var HeaderFilterEditorCls = "header_HeaderFilterEditorCls__12zfob12o utilities_width_100%__16lm1iw1c utilities_height_100%__16lm1iw19";
|
|
5452
5455
|
var HeaderFilterIconIndexCls = "header_HeaderFilterIconIndexCls__12zfob17";
|
|
5453
|
-
var HeaderFilterOperatorCls = "header_HeaderFilterOperatorCls__12zfob12k utilities_display_flex__16lm1iwz
|
|
5454
|
-
var HeaderFilterOperatorIconRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterOperatorIconRecipe__12zfob12l utilities_position_relative__16lm1iw1
|
|
5455
|
-
var HeaderFilterRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterRecipe__12zfob12h utilities_display_flex__16lm1iwz
|
|
5456
|
-
var HeaderGroupCls = "header_HeaderGroupCls__12zfob12g utilities_display_flex__16lm1iwz
|
|
5457
|
-
var HeaderMenuIconCls = createRuntimeFn({ defaultClassName: "header_HeaderMenuIconCls__12zfob121 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz
|
|
5456
|
+
var HeaderFilterOperatorCls = "header_HeaderFilterOperatorCls__12zfob12k utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_position_relative__16lm1iw1";
|
|
5457
|
+
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: [] });
|
|
5458
|
+
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: [] });
|
|
5459
|
+
var HeaderGroupCls = "header_HeaderGroupCls__12zfob12g utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r";
|
|
5460
|
+
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"]] });
|
|
5458
5461
|
var HeaderScrollbarPlaceholderCls = "header_HeaderScrollbarPlaceholderCls__12zfob18 utilities_position_absolute__16lm1iw2";
|
|
5459
5462
|
var HeaderSortIconCls = "utilities_position_relative__16lm1iw1";
|
|
5460
5463
|
var HeaderSortIconIndexCls = "header_HeaderSortIconIndexCls__12zfob16";
|
|
5461
5464
|
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: [] });
|
|
5462
|
-
var HeaderWrapperCls = "header_HeaderWrapperCls__12zfob12f
|
|
5465
|
+
var HeaderWrapperCls = "header_HeaderWrapperCls__12zfob12f utilities_overflow_hidden__16lm1iw1y utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p";
|
|
5463
5466
|
|
|
5464
5467
|
// src/components/InfiniteTable/components/icons/InfiniteTableIconClassName.ts
|
|
5465
5468
|
var InfiniteTableIconClassName = "InfiniteTableIcon";
|
|
5466
5469
|
|
|
5467
5470
|
// src/components/InfiniteTable/components/icons/FilterIcon.css.ts
|
|
5468
|
-
var FilterIconCls = "FilterIcon_FilterIconCls__6aunoi0 utilities_display_flex__16lm1iwz
|
|
5471
|
+
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";
|
|
5469
5472
|
|
|
5470
5473
|
// src/components/InfiniteTable/components/icons/FilterIcon.tsx
|
|
5471
5474
|
var defaultLineStyle = {
|
|
@@ -6652,8 +6655,7 @@ function InfiniteTableColumnHeaderFilterEmpty() {
|
|
|
6652
6655
|
onPointerDown: stopPropagation,
|
|
6653
6656
|
className: `${InfiniteTableColumnHeaderFilterClassName} ${HeaderFilterRecipe(
|
|
6654
6657
|
{ active: false }
|
|
6655
|
-
)}
|
|
6656
|
-
style: { height: "100%" }
|
|
6658
|
+
)} ${height["50%"]}`
|
|
6657
6659
|
}
|
|
6658
6660
|
);
|
|
6659
6661
|
}
|
|
@@ -6968,7 +6970,7 @@ var import_react21 = require("react");
|
|
|
6968
6970
|
|
|
6969
6971
|
// src/components/InfiniteTable/InfiniteCls.css.ts
|
|
6970
6972
|
var FooterCls = "utilities_position_relative__16lm1iw1";
|
|
6971
|
-
var InfiniteCls = "InfiniteCls_InfiniteCls__1yeub2v0 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz
|
|
6973
|
+
var InfiniteCls = "InfiniteCls_InfiniteCls__1yeub2v0 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_boxSizingBorderBox__16lm1iw0";
|
|
6972
6974
|
var InfiniteClsHasPinnedEnd = "InfiniteCls_InfiniteClsHasPinnedEnd__1yeub2vs";
|
|
6973
6975
|
var InfiniteClsHasPinnedStart = "InfiniteCls_InfiniteClsHasPinnedStart__1yeub2vr";
|
|
6974
6976
|
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"]] });
|
|
@@ -7804,7 +7806,8 @@ var useColumnPointerEvents = ({
|
|
|
7804
7806
|
}, []);
|
|
7805
7807
|
const onPointerDown = (0, import_react21.useCallback)(
|
|
7806
7808
|
(e) => {
|
|
7807
|
-
|
|
7809
|
+
const tagName = e.target?.tagName;
|
|
7810
|
+
if (tagName === "INPUT" || tagName === "BUTTON") {
|
|
7808
7811
|
return;
|
|
7809
7812
|
}
|
|
7810
7813
|
const { brain, draggableColumnsRestrictTo } = getState();
|
|
@@ -8288,7 +8291,7 @@ function objectValuesExcept(obj, exceptList) {
|
|
|
8288
8291
|
}
|
|
8289
8292
|
|
|
8290
8293
|
// src/components/InfiniteTable/components/cell.css.ts
|
|
8291
|
-
var ColumnCellCls = "cell_ColumnCellCls__1eexc2a6 cell_CellCls__1eexc2a5 utilities_display_flex__16lm1iwz
|
|
8294
|
+
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";
|
|
8292
8295
|
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"]] });
|
|
8293
8296
|
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: [] });
|
|
8294
8297
|
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: [] });
|
|
@@ -8814,12 +8817,15 @@ var defaultRenderSelectionCheckBox = (params) => {
|
|
|
8814
8817
|
selectCurrentRow,
|
|
8815
8818
|
deselectCurrentRow,
|
|
8816
8819
|
toggleCurrentGroupRowSelection,
|
|
8817
|
-
column
|
|
8820
|
+
column,
|
|
8821
|
+
api
|
|
8818
8822
|
} = params;
|
|
8819
8823
|
if (rowInfo.isGroupRow && !column.groupByForColumn) {
|
|
8820
8824
|
}
|
|
8825
|
+
const { components: components2 } = api.getState();
|
|
8826
|
+
const CheckBoxCmp = components2?.CheckBox || InfiniteCheckBox;
|
|
8821
8827
|
return /* @__PURE__ */ React36.createElement(
|
|
8822
|
-
|
|
8828
|
+
CheckBoxCmp,
|
|
8823
8829
|
{
|
|
8824
8830
|
domProps: {
|
|
8825
8831
|
className: SelectionCheckboxCls
|
|
@@ -9405,7 +9411,7 @@ var React39 = __toESM(require("react"));
|
|
|
9405
9411
|
var import_react26 = require("react");
|
|
9406
9412
|
|
|
9407
9413
|
// src/components/InfiniteTable/components/icons/SortIcon.css.ts
|
|
9408
|
-
var SortIconCls = "SortIcon_SortIconCls__1ek6mqy0 utilities_display_flex__16lm1iwz
|
|
9414
|
+
var SortIconCls = "SortIcon_SortIconCls__1ek6mqy0 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_position_relative__16lm1iw1 utilities_justifyContent_spaceAround__16lm1iw1v";
|
|
9409
9415
|
|
|
9410
9416
|
// src/components/InfiniteTable/components/icons/SortIcon.tsx
|
|
9411
9417
|
var defaultLineStyle3 = {
|
|
@@ -9623,9 +9629,9 @@ function getColumnGroupResizer(colIndexes, config) {
|
|
|
9623
9629
|
}
|
|
9624
9630
|
|
|
9625
9631
|
// src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/ResizeHandle.css.ts
|
|
9626
|
-
var ResizeHandleCls = "ResizeHandle_ResizeHandleCls__zneyzh0 utilities_position_absolute__16lm1iw2
|
|
9627
|
-
var ResizeHandleDraggerClsRecipe = createRuntimeFn({ defaultClassName: "ResizeHandle_ResizeHandleDraggerClsRecipe__zneyzhc utilities_position_absolute__16lm1iw2
|
|
9628
|
-
var ResizeHandleRecipeCls = createRuntimeFn({ defaultClassName: "ResizeHandle__zneyzh1", variantClassNames: { computedPinned: { start: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_start__zneyzh2", end: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_end__zneyzh3
|
|
9632
|
+
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";
|
|
9633
|
+
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"]] });
|
|
9634
|
+
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"]] });
|
|
9629
9635
|
|
|
9630
9636
|
// src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/index.tsx
|
|
9631
9637
|
var { rootClassName: rootClassName7 } = internalProps;
|
|
@@ -9827,13 +9833,16 @@ function useColumnResizeHandle(column, opts) {
|
|
|
9827
9833
|
|
|
9828
9834
|
// src/components/InfiniteTable/components/InfiniteTableHeader/headerClassName.ts
|
|
9829
9835
|
var InfiniteTableHeaderCellClassName = `${rootClassName2}HeaderCell`;
|
|
9836
|
+
var InfiniteTableHeaderWrapperClassName = `${rootClassName2}HeaderWrapper`;
|
|
9830
9837
|
|
|
9831
9838
|
// src/components/InfiniteTable/components/InfiniteTableHeader/InfiniteTableHeaderCell.tsx
|
|
9832
9839
|
var defaultRenderSelectionCheckBox2 = (params) => {
|
|
9833
9840
|
const { allRowsSelected, someRowsSelected, api } = params;
|
|
9834
9841
|
const selected = allRowsSelected ? true : someRowsSelected ? null : false;
|
|
9842
|
+
const { components: components2 } = api.getState();
|
|
9843
|
+
const CheckBoxCmp = components2?.CheckBox || InfiniteCheckBox;
|
|
9835
9844
|
return /* @__PURE__ */ React42.createElement(
|
|
9836
|
-
|
|
9845
|
+
CheckBoxCmp,
|
|
9837
9846
|
{
|
|
9838
9847
|
domProps: {
|
|
9839
9848
|
className: SelectionCheckboxCls
|
|
@@ -9888,7 +9897,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
9888
9897
|
const horizontalLayoutPageIndex = props.horizontalLayoutPageIndex;
|
|
9889
9898
|
const dragging = columnReorderDragColumnId === column.id;
|
|
9890
9899
|
const insideDisabledDraggingPage = columnReorderInPageIndex != null ? horizontalLayoutPageIndex !== columnReorderInPageIndex : false;
|
|
9891
|
-
const { onResize, height, width, headerOptions, columnsMap } = props;
|
|
9900
|
+
const { onResize, height: height2, width, headerOptions, columnsMap } = props;
|
|
9892
9901
|
const sortInfo = column.computedSortInfo;
|
|
9893
9902
|
const header = column.header;
|
|
9894
9903
|
const ref = (0, import_react29.useCallback)(
|
|
@@ -9951,10 +9960,12 @@ function InfiniteTableHeaderCell(props) {
|
|
|
9951
9960
|
};
|
|
9952
9961
|
const MenuIconCmp = column.components?.MenuIcon || components2?.MenuIcon || MenuIcon;
|
|
9953
9962
|
const menuIcon = /* @__PURE__ */ React42.createElement(MenuIconCmp, { ...menuIconProps });
|
|
9963
|
+
const domRef = (0, import_react29.useRef)(null);
|
|
9954
9964
|
const initialRenderParam = {
|
|
9955
9965
|
horizontalLayoutPageIndex,
|
|
9956
9966
|
dragging,
|
|
9957
9967
|
domRef: ref,
|
|
9968
|
+
htmlElementRef: domRef,
|
|
9958
9969
|
insideColumnMenu: false,
|
|
9959
9970
|
column,
|
|
9960
9971
|
columnsMap,
|
|
@@ -10095,7 +10106,6 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10095
10106
|
}
|
|
10096
10107
|
return all;
|
|
10097
10108
|
};
|
|
10098
|
-
const domRef = (0, import_react29.useRef)(null);
|
|
10099
10109
|
(0, import_react29.useEffect)(() => {
|
|
10100
10110
|
let clearOnResize = null;
|
|
10101
10111
|
const node = domRef.current;
|
|
@@ -10108,7 +10118,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10108
10118
|
}, [domRef.current, props.onResize]);
|
|
10109
10119
|
let style2 = {
|
|
10110
10120
|
// height: column.computedFiltered? height*2: height,
|
|
10111
|
-
height
|
|
10121
|
+
height: height2
|
|
10112
10122
|
};
|
|
10113
10123
|
if (column.headerStyle) {
|
|
10114
10124
|
style2 = typeof column.headerStyle === "function" ? { ...style2, ...column.headerStyle(renderParam) || {} } : { ...style2, ...column.headerStyle };
|
|
@@ -10128,7 +10138,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10128
10138
|
className: `${InfiniteTableHeaderCellClassName}Proxy ${HeaderCellProxy}`,
|
|
10129
10139
|
style: {
|
|
10130
10140
|
position: "absolute",
|
|
10131
|
-
height,
|
|
10141
|
+
height: height2,
|
|
10132
10142
|
width,
|
|
10133
10143
|
left: proxyPosition.left ?? 0,
|
|
10134
10144
|
top: proxyPosition.top ?? 0,
|
|
@@ -10173,6 +10183,22 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10173
10183
|
"data-sort": column.computedSortedAsc ? "asc" : column.computedSortedDesc ? "desc" : "none",
|
|
10174
10184
|
"data-sort-index": `${column.computedSortIndex ?? -1}`
|
|
10175
10185
|
};
|
|
10186
|
+
const columnFilterEditor = column.computedFilterable ? /* @__PURE__ */ React42.createElement(
|
|
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);
|
|
10201
|
+
renderParam.renderBag.filterEditor = columnFilterEditor;
|
|
10176
10202
|
return /* @__PURE__ */ React42.createElement(ContextProvider, { value: renderParam }, /* @__PURE__ */ React42.createElement(
|
|
10177
10203
|
InfiniteTableCell,
|
|
10178
10204
|
{
|
|
@@ -10189,7 +10215,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10189
10215
|
HeaderCellContentRecipe(contentRecipeVariants),
|
|
10190
10216
|
justifyContent[align2]
|
|
10191
10217
|
),
|
|
10192
|
-
contentStyle: showColumnFilters ? { height:
|
|
10218
|
+
contentStyle: showColumnFilters ? { height: height2 / 2 } : void 0,
|
|
10193
10219
|
className: join(
|
|
10194
10220
|
InfiniteTableHeaderCellClassName,
|
|
10195
10221
|
userSelect.none,
|
|
@@ -10219,21 +10245,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10219
10245
|
CellCls
|
|
10220
10246
|
),
|
|
10221
10247
|
cssEllipsis: headerCSSEllipsis,
|
|
10222
|
-
afterChildren: /* @__PURE__ */ React42.createElement(React42.Fragment, null, showColumnFilters ?
|
|
10223
|
-
InfiniteTableColumnHeaderFilter,
|
|
10224
|
-
{
|
|
10225
|
-
horizontalLayoutPageIndex,
|
|
10226
|
-
filterEditor: FilterEditor,
|
|
10227
|
-
filterOperatorSwitch: FilterOperatorSwitch ?? InfiniteTableFilterOperatorSwitch,
|
|
10228
|
-
operator,
|
|
10229
|
-
filterTypes,
|
|
10230
|
-
onChange: debouncedOnFilterValueChange,
|
|
10231
|
-
columnFilterType: filterTypeKey,
|
|
10232
|
-
columnLabel: column.field || column.name || column.id,
|
|
10233
|
-
columnFilterValue: column.computedFilterValue,
|
|
10234
|
-
columnHeaderHeight
|
|
10235
|
-
}
|
|
10236
|
-
) : /* @__PURE__ */ React42.createElement(InfiniteTableColumnHeaderFilterEmpty, null) : null, resizeHandle),
|
|
10248
|
+
afterChildren: /* @__PURE__ */ React42.createElement(React42.Fragment, null, showColumnFilters ? columnFilterEditor : null, resizeHandle),
|
|
10237
10249
|
renderChildren
|
|
10238
10250
|
}
|
|
10239
10251
|
), draggingProxy);
|
|
@@ -10543,7 +10555,7 @@ var TableHeaderGroupClassName = `${rootClassName2}HeaderGroup`;
|
|
|
10543
10555
|
var columnWidthAtIndex4 = stripVar(InternalVars.columnWidthAtIndex);
|
|
10544
10556
|
var columnZIndexAtIndex6 = stripVar(InternalVars.columnZIndexAtIndex);
|
|
10545
10557
|
function InfiniteTableHeaderGroup(props) {
|
|
10546
|
-
const { columnGroup, height, columns, bodyBrain, columnGroupsMaxDepth } = props;
|
|
10558
|
+
const { columnGroup, height: height2, columns, bodyBrain, columnGroupsMaxDepth } = props;
|
|
10547
10559
|
let { header, style: userStyle } = columnGroup;
|
|
10548
10560
|
if (header instanceof Function) {
|
|
10549
10561
|
header = header({
|
|
@@ -10553,7 +10565,7 @@ function InfiniteTableHeaderGroup(props) {
|
|
|
10553
10565
|
}
|
|
10554
10566
|
const handle = useColumnGroupResizeHandle(columns, {
|
|
10555
10567
|
bodyBrain,
|
|
10556
|
-
groupHeight:
|
|
10568
|
+
groupHeight: height2,
|
|
10557
10569
|
columnGroup,
|
|
10558
10570
|
columnGroupsMaxDepth
|
|
10559
10571
|
});
|
|
@@ -10568,7 +10580,7 @@ function InfiniteTableHeaderGroup(props) {
|
|
|
10568
10580
|
}) : userStyle;
|
|
10569
10581
|
style2 = style2 && typeof style2 === "object" ? style2 : {};
|
|
10570
10582
|
style2.width = width;
|
|
10571
|
-
style2.height =
|
|
10583
|
+
style2.height = height2;
|
|
10572
10584
|
return /* @__PURE__ */ React45.createElement(
|
|
10573
10585
|
"div",
|
|
10574
10586
|
{
|
|
@@ -10644,7 +10656,7 @@ function InfiniteTableHeaderFn(props) {
|
|
|
10644
10656
|
rowIndex,
|
|
10645
10657
|
colIndex,
|
|
10646
10658
|
domRef: domRef2,
|
|
10647
|
-
height,
|
|
10659
|
+
height: height2,
|
|
10648
10660
|
widthWithColspan,
|
|
10649
10661
|
heightWithRowspan,
|
|
10650
10662
|
hidden
|
|
@@ -10676,7 +10688,7 @@ function InfiniteTableHeaderFn(props) {
|
|
|
10676
10688
|
domRef: domRef2,
|
|
10677
10689
|
columns: columns2,
|
|
10678
10690
|
width: widthWithColspan,
|
|
10679
|
-
height,
|
|
10691
|
+
height: height2,
|
|
10680
10692
|
columnGroup: computedColumnGroup
|
|
10681
10693
|
}
|
|
10682
10694
|
) : null;
|
|
@@ -10741,7 +10753,7 @@ function TableHeaderWrapper(props) {
|
|
|
10741
10753
|
}
|
|
10742
10754
|
} = tableContextValue;
|
|
10743
10755
|
const rows = !computedColumnGroups || !Object.keys(computedColumnGroups).length ? 1 : columnGroupsMaxDepth + 2;
|
|
10744
|
-
const
|
|
10756
|
+
const height2 = rows * columnHeaderHeight + (showColumnFilters ? columnHeaderHeight : 0);
|
|
10745
10757
|
const columnAndGroupTreeInfo = React47.useMemo(() => {
|
|
10746
10758
|
if (!computedColumnGroups || !Object.keys(computedColumnGroups).length) {
|
|
10747
10759
|
return void 0;
|
|
@@ -10812,7 +10824,7 @@ function TableHeaderWrapper(props) {
|
|
|
10812
10824
|
rowHeight,
|
|
10813
10825
|
rows,
|
|
10814
10826
|
cols: computedVisibleColumns.length,
|
|
10815
|
-
height,
|
|
10827
|
+
height: height2,
|
|
10816
10828
|
rowspan,
|
|
10817
10829
|
colspan
|
|
10818
10830
|
},
|
|
@@ -10827,7 +10839,7 @@ function TableHeaderWrapper(props) {
|
|
|
10827
10839
|
columns: computedVisibleColumns,
|
|
10828
10840
|
headerBrain,
|
|
10829
10841
|
bodyBrain,
|
|
10830
|
-
columnHeaderHeight:
|
|
10842
|
+
columnHeaderHeight: height2,
|
|
10831
10843
|
columnGroupsMaxDepth,
|
|
10832
10844
|
columnAndGroupTreeInfo
|
|
10833
10845
|
}
|
|
@@ -10845,9 +10857,9 @@ function TableHeaderWrapper(props) {
|
|
|
10845
10857
|
return /* @__PURE__ */ React47.createElement(
|
|
10846
10858
|
"div",
|
|
10847
10859
|
{
|
|
10848
|
-
className: HeaderWrapperCls
|
|
10860
|
+
className: `${InfiniteTableHeaderWrapperClassName} ${HeaderWrapperCls}`,
|
|
10849
10861
|
style: {
|
|
10850
|
-
height
|
|
10862
|
+
height: height2
|
|
10851
10863
|
}
|
|
10852
10864
|
},
|
|
10853
10865
|
header,
|
|
@@ -10962,8 +10974,8 @@ var InfiniteTableLicenseFooter = React48.forwardRef(
|
|
|
10962
10974
|
var React49 = __toESM(require("react"));
|
|
10963
10975
|
|
|
10964
10976
|
// src/components/InfiniteTable/components/LoadMask.css.ts
|
|
10965
|
-
var LoadMaskCls = { visible: "LoadMask_LoadMaskCls_visible__qy58ya1 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2
|
|
10966
|
-
var LoadMaskOverlayCls = "LoadMask_LoadMaskOverlayCls__qy58ya3 utilities_position_absolute__16lm1iw2
|
|
10977
|
+
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" };
|
|
10978
|
+
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";
|
|
10967
10979
|
var LoadMaskTextCls = "LoadMask_LoadMaskTextCls__qy58ya4";
|
|
10968
10980
|
|
|
10969
10981
|
// src/components/InfiniteTable/components/LoadMask.tsx
|
|
@@ -20198,7 +20210,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
20198
20210
|
}
|
|
20199
20211
|
let valid2 = isValidLicense(licenseKey, {
|
|
20200
20212
|
publishedAt: 1624970570587,
|
|
20201
|
-
version: "5.0.
|
|
20213
|
+
version: "5.0.6"
|
|
20202
20214
|
});
|
|
20203
20215
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
20204
20216
|
return true;
|
|
@@ -21687,7 +21699,7 @@ function OverlayContent(props) {
|
|
|
21687
21699
|
(0, import_react54.useEffect)(() => {
|
|
21688
21700
|
return props.realign.onChange((handle) => {
|
|
21689
21701
|
if (nodeRef.current && handle) {
|
|
21690
|
-
|
|
21702
|
+
alignNode(nodeRef.current, handle);
|
|
21691
21703
|
}
|
|
21692
21704
|
});
|
|
21693
21705
|
}, [props.realign]);
|
|
@@ -21697,7 +21709,7 @@ function OverlayContent(props) {
|
|
|
21697
21709
|
style: { position: "absolute", top: 0, left: 0 },
|
|
21698
21710
|
ref: (0, import_react54.useCallback)((node) => {
|
|
21699
21711
|
if (node) {
|
|
21700
|
-
|
|
21712
|
+
alignNode(node, props);
|
|
21701
21713
|
}
|
|
21702
21714
|
nodeRef.current = node;
|
|
21703
21715
|
}, [])
|
|
@@ -21705,7 +21717,7 @@ function OverlayContent(props) {
|
|
|
21705
21717
|
typeof props.children === "function" ? props.children() : props.children
|
|
21706
21718
|
);
|
|
21707
21719
|
}
|
|
21708
|
-
async function
|
|
21720
|
+
async function alignNode(node, params) {
|
|
21709
21721
|
let { constrainTo, alignTo, alignPosition } = params;
|
|
21710
21722
|
if (Object.keys(alignTo).length === 2 && alignTo.top !== void 0 && alignTo.left !== void 0) {
|
|
21711
21723
|
alignTo = {
|
|
@@ -21813,20 +21825,35 @@ function useOverlay(params) {
|
|
|
21813
21825
|
const id = params2.id || getIdForReactOnlyChild(content) || getChangeDetect();
|
|
21814
21826
|
const key = `${id}`;
|
|
21815
21827
|
let handle = handles.get(key);
|
|
21816
|
-
const
|
|
21817
|
-
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21828
|
+
const getChildrenFnForContent = (content2) => {
|
|
21829
|
+
return () => {
|
|
21830
|
+
const children = typeof content2 === "function" ? content2() : content2;
|
|
21831
|
+
return injectPortalContainerAndConstrainInMenuChild(
|
|
21832
|
+
children,
|
|
21833
|
+
rootParams.portalContainer,
|
|
21834
|
+
params2.constrainTo ?? rootParams.constrainTo
|
|
21835
|
+
);
|
|
21836
|
+
};
|
|
21823
21837
|
};
|
|
21824
|
-
|
|
21825
|
-
|
|
21838
|
+
const childrenFn = getChildrenFnForContent(content);
|
|
21839
|
+
const updateOverlay = (overlayContent, options) => {
|
|
21840
|
+
if (!handle) {
|
|
21841
|
+
return;
|
|
21842
|
+
}
|
|
21843
|
+
const childrenFn2 = getChildrenFnForContent(overlayContent);
|
|
21844
|
+
Object.assign(handle, { children: childrenFn2 });
|
|
21826
21845
|
updateContent();
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
|
|
21846
|
+
const skipRealign = !!options?.skipRealign;
|
|
21847
|
+
const shouldRealign = !skipRealign;
|
|
21848
|
+
if (shouldRealign) {
|
|
21849
|
+
setHandleToRealign(handle.key);
|
|
21850
|
+
setRealignTimestamp(Date.now());
|
|
21851
|
+
}
|
|
21852
|
+
};
|
|
21853
|
+
if (handle) {
|
|
21854
|
+
Object.assign(handle, params2);
|
|
21855
|
+
updateOverlay(content);
|
|
21856
|
+
return updateOverlay;
|
|
21830
21857
|
}
|
|
21831
21858
|
handle = {
|
|
21832
21859
|
key,
|
|
@@ -21838,7 +21865,7 @@ function useOverlay(params) {
|
|
|
21838
21865
|
};
|
|
21839
21866
|
handles.set(handle.key, handle);
|
|
21840
21867
|
updateContent();
|
|
21841
|
-
return
|
|
21868
|
+
return updateOverlay;
|
|
21842
21869
|
},
|
|
21843
21870
|
[handles, rootParams.portalContainer, updateContent]
|
|
21844
21871
|
);
|
|
@@ -21893,8 +21920,8 @@ MenuItem.defaultProps = {
|
|
|
21893
21920
|
};
|
|
21894
21921
|
|
|
21895
21922
|
// src/components/Menu/MenuCls.css.ts
|
|
21896
|
-
var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16
|
|
21897
|
-
var MenuItemCls = createRuntimeFn({ defaultClassName: "MenuCls_MenuItemCls__db3arf2 utilities_display_flex__16lm1iwz
|
|
21923
|
+
var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16 utilities_flexFlow_column__16lm1iw1n utilities_margin_none__16lm1iw8";
|
|
21924
|
+
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"]] });
|
|
21898
21925
|
var MenuRowCls = "MenuCls_MenuRowCls__db3arf1";
|
|
21899
21926
|
var MenuSeparatorCls = "MenuCls_MenuSeparatorCls__db3arfd";
|
|
21900
21927
|
|
|
@@ -23985,6 +24012,15 @@ function runDebugMode(getState) {
|
|
|
23985
24012
|
}
|
|
23986
24013
|
}
|
|
23987
24014
|
|
|
24015
|
+
// src/components/InfiniteTable/hooks/useInfinitePortalContainer.ts
|
|
24016
|
+
function useInfinitePortalContainer() {
|
|
24017
|
+
const masterContext = useMasterDetailContext();
|
|
24018
|
+
const masterState = masterContext ? masterContext.getMasterState() : null;
|
|
24019
|
+
const infiniteState = useInfiniteTable().getState();
|
|
24020
|
+
const portalContainer = (masterState || infiniteState).portalDOMRef.current;
|
|
24021
|
+
return portalContainer;
|
|
24022
|
+
}
|
|
24023
|
+
|
|
23988
24024
|
// src/components/InfiniteTable/index.tsx
|
|
23989
24025
|
var InfiniteTableClassName = internalProps.rootClassName;
|
|
23990
24026
|
var HOVERED_CLASS_NAMES = [RowHoverCls, "InfiniteColumnCell--hovered"];
|
|
@@ -24949,6 +24985,7 @@ var components = {
|
|
|
24949
24985
|
RowDisabledState,
|
|
24950
24986
|
RowSelectionState,
|
|
24951
24987
|
WeakFixedSizeSet,
|
|
24988
|
+
alignNode,
|
|
24952
24989
|
components,
|
|
24953
24990
|
createFlashingColumnCellComponent,
|
|
24954
24991
|
debounce,
|
|
@@ -24975,6 +25012,7 @@ var components = {
|
|
|
24975
25012
|
useInfiniteColumnEditor,
|
|
24976
25013
|
useInfiniteColumnFilterEditor,
|
|
24977
25014
|
useInfiniteHeaderCell,
|
|
25015
|
+
useInfinitePortalContainer,
|
|
24978
25016
|
useManagedDataSource,
|
|
24979
25017
|
useMasterRowInfo,
|
|
24980
25018
|
useOverlay,
|