@infinite-table/infinite-react 5.0.5 → 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 +36 -120
- package/index.d.ts +13 -2
- package/index.dev.js +131 -100
- package/index.dev.mjs +129 -100
- package/index.js +131 -100
- package/index.mjs +129 -100
- package/package.json +2 -2
package/index.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"]] });
|
|
@@ -8289,7 +8291,7 @@ function objectValuesExcept(obj, exceptList) {
|
|
|
8289
8291
|
}
|
|
8290
8292
|
|
|
8291
8293
|
// src/components/InfiniteTable/components/cell.css.ts
|
|
8292
|
-
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";
|
|
8293
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"]] });
|
|
8294
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: [] });
|
|
8295
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: [] });
|
|
@@ -9409,7 +9411,7 @@ var React39 = __toESM(require("react"));
|
|
|
9409
9411
|
var import_react26 = require("react");
|
|
9410
9412
|
|
|
9411
9413
|
// src/components/InfiniteTable/components/icons/SortIcon.css.ts
|
|
9412
|
-
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";
|
|
9413
9415
|
|
|
9414
9416
|
// src/components/InfiniteTable/components/icons/SortIcon.tsx
|
|
9415
9417
|
var defaultLineStyle3 = {
|
|
@@ -9627,9 +9629,9 @@ function getColumnGroupResizer(colIndexes, config) {
|
|
|
9627
9629
|
}
|
|
9628
9630
|
|
|
9629
9631
|
// src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/ResizeHandle.css.ts
|
|
9630
|
-
var ResizeHandleCls = "ResizeHandle_ResizeHandleCls__zneyzh0 utilities_position_absolute__16lm1iw2
|
|
9631
|
-
var ResizeHandleDraggerClsRecipe = createRuntimeFn({ defaultClassName: "ResizeHandle_ResizeHandleDraggerClsRecipe__zneyzhc utilities_position_absolute__16lm1iw2
|
|
9632
|
-
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"]] });
|
|
9633
9635
|
|
|
9634
9636
|
// src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/index.tsx
|
|
9635
9637
|
var { rootClassName: rootClassName7 } = internalProps;
|
|
@@ -9895,7 +9897,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
9895
9897
|
const horizontalLayoutPageIndex = props.horizontalLayoutPageIndex;
|
|
9896
9898
|
const dragging = columnReorderDragColumnId === column.id;
|
|
9897
9899
|
const insideDisabledDraggingPage = columnReorderInPageIndex != null ? horizontalLayoutPageIndex !== columnReorderInPageIndex : false;
|
|
9898
|
-
const { onResize, height, width, headerOptions, columnsMap } = props;
|
|
9900
|
+
const { onResize, height: height2, width, headerOptions, columnsMap } = props;
|
|
9899
9901
|
const sortInfo = column.computedSortInfo;
|
|
9900
9902
|
const header = column.header;
|
|
9901
9903
|
const ref = (0, import_react29.useCallback)(
|
|
@@ -9958,10 +9960,12 @@ function InfiniteTableHeaderCell(props) {
|
|
|
9958
9960
|
};
|
|
9959
9961
|
const MenuIconCmp = column.components?.MenuIcon || components2?.MenuIcon || MenuIcon;
|
|
9960
9962
|
const menuIcon = /* @__PURE__ */ React42.createElement(MenuIconCmp, { ...menuIconProps });
|
|
9963
|
+
const domRef = (0, import_react29.useRef)(null);
|
|
9961
9964
|
const initialRenderParam = {
|
|
9962
9965
|
horizontalLayoutPageIndex,
|
|
9963
9966
|
dragging,
|
|
9964
9967
|
domRef: ref,
|
|
9968
|
+
htmlElementRef: domRef,
|
|
9965
9969
|
insideColumnMenu: false,
|
|
9966
9970
|
column,
|
|
9967
9971
|
columnsMap,
|
|
@@ -10102,7 +10106,6 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10102
10106
|
}
|
|
10103
10107
|
return all;
|
|
10104
10108
|
};
|
|
10105
|
-
const domRef = (0, import_react29.useRef)(null);
|
|
10106
10109
|
(0, import_react29.useEffect)(() => {
|
|
10107
10110
|
let clearOnResize = null;
|
|
10108
10111
|
const node = domRef.current;
|
|
@@ -10115,7 +10118,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10115
10118
|
}, [domRef.current, props.onResize]);
|
|
10116
10119
|
let style2 = {
|
|
10117
10120
|
// height: column.computedFiltered? height*2: height,
|
|
10118
|
-
height
|
|
10121
|
+
height: height2
|
|
10119
10122
|
};
|
|
10120
10123
|
if (column.headerStyle) {
|
|
10121
10124
|
style2 = typeof column.headerStyle === "function" ? { ...style2, ...column.headerStyle(renderParam) || {} } : { ...style2, ...column.headerStyle };
|
|
@@ -10135,7 +10138,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10135
10138
|
className: `${InfiniteTableHeaderCellClassName}Proxy ${HeaderCellProxy}`,
|
|
10136
10139
|
style: {
|
|
10137
10140
|
position: "absolute",
|
|
10138
|
-
height,
|
|
10141
|
+
height: height2,
|
|
10139
10142
|
width,
|
|
10140
10143
|
left: proxyPosition.left ?? 0,
|
|
10141
10144
|
top: proxyPosition.top ?? 0,
|
|
@@ -10180,6 +10183,22 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10180
10183
|
"data-sort": column.computedSortedAsc ? "asc" : column.computedSortedDesc ? "desc" : "none",
|
|
10181
10184
|
"data-sort-index": `${column.computedSortIndex ?? -1}`
|
|
10182
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;
|
|
10183
10202
|
return /* @__PURE__ */ React42.createElement(ContextProvider, { value: renderParam }, /* @__PURE__ */ React42.createElement(
|
|
10184
10203
|
InfiniteTableCell,
|
|
10185
10204
|
{
|
|
@@ -10196,7 +10215,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10196
10215
|
HeaderCellContentRecipe(contentRecipeVariants),
|
|
10197
10216
|
justifyContent[align2]
|
|
10198
10217
|
),
|
|
10199
|
-
contentStyle: showColumnFilters ? { height:
|
|
10218
|
+
contentStyle: showColumnFilters ? { height: height2 / 2 } : void 0,
|
|
10200
10219
|
className: join(
|
|
10201
10220
|
InfiniteTableHeaderCellClassName,
|
|
10202
10221
|
userSelect.none,
|
|
@@ -10226,21 +10245,7 @@ function InfiniteTableHeaderCell(props) {
|
|
|
10226
10245
|
CellCls
|
|
10227
10246
|
),
|
|
10228
10247
|
cssEllipsis: headerCSSEllipsis,
|
|
10229
|
-
afterChildren: /* @__PURE__ */ React42.createElement(React42.Fragment, null, showColumnFilters ?
|
|
10230
|
-
InfiniteTableColumnHeaderFilter,
|
|
10231
|
-
{
|
|
10232
|
-
horizontalLayoutPageIndex,
|
|
10233
|
-
filterEditor: FilterEditor,
|
|
10234
|
-
filterOperatorSwitch: FilterOperatorSwitch ?? InfiniteTableFilterOperatorSwitch,
|
|
10235
|
-
operator,
|
|
10236
|
-
filterTypes,
|
|
10237
|
-
onChange: debouncedOnFilterValueChange,
|
|
10238
|
-
columnFilterType: filterTypeKey,
|
|
10239
|
-
columnLabel: column.field || column.name || column.id,
|
|
10240
|
-
columnFilterValue: column.computedFilterValue,
|
|
10241
|
-
columnHeaderHeight
|
|
10242
|
-
}
|
|
10243
|
-
) : /* @__PURE__ */ React42.createElement(InfiniteTableColumnHeaderFilterEmpty, null) : null, resizeHandle),
|
|
10248
|
+
afterChildren: /* @__PURE__ */ React42.createElement(React42.Fragment, null, showColumnFilters ? columnFilterEditor : null, resizeHandle),
|
|
10244
10249
|
renderChildren
|
|
10245
10250
|
}
|
|
10246
10251
|
), draggingProxy);
|
|
@@ -10550,7 +10555,7 @@ var TableHeaderGroupClassName = `${rootClassName2}HeaderGroup`;
|
|
|
10550
10555
|
var columnWidthAtIndex4 = stripVar(InternalVars.columnWidthAtIndex);
|
|
10551
10556
|
var columnZIndexAtIndex6 = stripVar(InternalVars.columnZIndexAtIndex);
|
|
10552
10557
|
function InfiniteTableHeaderGroup(props) {
|
|
10553
|
-
const { columnGroup, height, columns, bodyBrain, columnGroupsMaxDepth } = props;
|
|
10558
|
+
const { columnGroup, height: height2, columns, bodyBrain, columnGroupsMaxDepth } = props;
|
|
10554
10559
|
let { header, style: userStyle } = columnGroup;
|
|
10555
10560
|
if (header instanceof Function) {
|
|
10556
10561
|
header = header({
|
|
@@ -10560,7 +10565,7 @@ function InfiniteTableHeaderGroup(props) {
|
|
|
10560
10565
|
}
|
|
10561
10566
|
const handle = useColumnGroupResizeHandle(columns, {
|
|
10562
10567
|
bodyBrain,
|
|
10563
|
-
groupHeight:
|
|
10568
|
+
groupHeight: height2,
|
|
10564
10569
|
columnGroup,
|
|
10565
10570
|
columnGroupsMaxDepth
|
|
10566
10571
|
});
|
|
@@ -10575,7 +10580,7 @@ function InfiniteTableHeaderGroup(props) {
|
|
|
10575
10580
|
}) : userStyle;
|
|
10576
10581
|
style2 = style2 && typeof style2 === "object" ? style2 : {};
|
|
10577
10582
|
style2.width = width;
|
|
10578
|
-
style2.height =
|
|
10583
|
+
style2.height = height2;
|
|
10579
10584
|
return /* @__PURE__ */ React45.createElement(
|
|
10580
10585
|
"div",
|
|
10581
10586
|
{
|
|
@@ -10651,7 +10656,7 @@ function InfiniteTableHeaderFn(props) {
|
|
|
10651
10656
|
rowIndex,
|
|
10652
10657
|
colIndex,
|
|
10653
10658
|
domRef: domRef2,
|
|
10654
|
-
height,
|
|
10659
|
+
height: height2,
|
|
10655
10660
|
widthWithColspan,
|
|
10656
10661
|
heightWithRowspan,
|
|
10657
10662
|
hidden
|
|
@@ -10683,7 +10688,7 @@ function InfiniteTableHeaderFn(props) {
|
|
|
10683
10688
|
domRef: domRef2,
|
|
10684
10689
|
columns: columns2,
|
|
10685
10690
|
width: widthWithColspan,
|
|
10686
|
-
height,
|
|
10691
|
+
height: height2,
|
|
10687
10692
|
columnGroup: computedColumnGroup
|
|
10688
10693
|
}
|
|
10689
10694
|
) : null;
|
|
@@ -10748,7 +10753,7 @@ function TableHeaderWrapper(props) {
|
|
|
10748
10753
|
}
|
|
10749
10754
|
} = tableContextValue;
|
|
10750
10755
|
const rows = !computedColumnGroups || !Object.keys(computedColumnGroups).length ? 1 : columnGroupsMaxDepth + 2;
|
|
10751
|
-
const
|
|
10756
|
+
const height2 = rows * columnHeaderHeight + (showColumnFilters ? columnHeaderHeight : 0);
|
|
10752
10757
|
const columnAndGroupTreeInfo = React47.useMemo(() => {
|
|
10753
10758
|
if (!computedColumnGroups || !Object.keys(computedColumnGroups).length) {
|
|
10754
10759
|
return void 0;
|
|
@@ -10819,7 +10824,7 @@ function TableHeaderWrapper(props) {
|
|
|
10819
10824
|
rowHeight,
|
|
10820
10825
|
rows,
|
|
10821
10826
|
cols: computedVisibleColumns.length,
|
|
10822
|
-
height,
|
|
10827
|
+
height: height2,
|
|
10823
10828
|
rowspan,
|
|
10824
10829
|
colspan
|
|
10825
10830
|
},
|
|
@@ -10834,7 +10839,7 @@ function TableHeaderWrapper(props) {
|
|
|
10834
10839
|
columns: computedVisibleColumns,
|
|
10835
10840
|
headerBrain,
|
|
10836
10841
|
bodyBrain,
|
|
10837
|
-
columnHeaderHeight:
|
|
10842
|
+
columnHeaderHeight: height2,
|
|
10838
10843
|
columnGroupsMaxDepth,
|
|
10839
10844
|
columnAndGroupTreeInfo
|
|
10840
10845
|
}
|
|
@@ -10854,7 +10859,7 @@ function TableHeaderWrapper(props) {
|
|
|
10854
10859
|
{
|
|
10855
10860
|
className: `${InfiniteTableHeaderWrapperClassName} ${HeaderWrapperCls}`,
|
|
10856
10861
|
style: {
|
|
10857
|
-
height
|
|
10862
|
+
height: height2
|
|
10858
10863
|
}
|
|
10859
10864
|
},
|
|
10860
10865
|
header,
|
|
@@ -10969,8 +10974,8 @@ var InfiniteTableLicenseFooter = React48.forwardRef(
|
|
|
10969
10974
|
var React49 = __toESM(require("react"));
|
|
10970
10975
|
|
|
10971
10976
|
// src/components/InfiniteTable/components/LoadMask.css.ts
|
|
10972
|
-
var LoadMaskCls = { visible: "LoadMask_LoadMaskCls_visible__qy58ya1 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2
|
|
10973
|
-
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";
|
|
10974
10979
|
var LoadMaskTextCls = "LoadMask_LoadMaskTextCls__qy58ya4";
|
|
10975
10980
|
|
|
10976
10981
|
// src/components/InfiniteTable/components/LoadMask.tsx
|
|
@@ -20205,7 +20210,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
20205
20210
|
}
|
|
20206
20211
|
let valid2 = isValidLicense(licenseKey, {
|
|
20207
20212
|
publishedAt: 1624970570587,
|
|
20208
|
-
version: "5.0.
|
|
20213
|
+
version: "5.0.6"
|
|
20209
20214
|
});
|
|
20210
20215
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
20211
20216
|
return true;
|
|
@@ -21694,7 +21699,7 @@ function OverlayContent(props) {
|
|
|
21694
21699
|
(0, import_react54.useEffect)(() => {
|
|
21695
21700
|
return props.realign.onChange((handle) => {
|
|
21696
21701
|
if (nodeRef.current && handle) {
|
|
21697
|
-
|
|
21702
|
+
alignNode(nodeRef.current, handle);
|
|
21698
21703
|
}
|
|
21699
21704
|
});
|
|
21700
21705
|
}, [props.realign]);
|
|
@@ -21704,7 +21709,7 @@ function OverlayContent(props) {
|
|
|
21704
21709
|
style: { position: "absolute", top: 0, left: 0 },
|
|
21705
21710
|
ref: (0, import_react54.useCallback)((node) => {
|
|
21706
21711
|
if (node) {
|
|
21707
|
-
|
|
21712
|
+
alignNode(node, props);
|
|
21708
21713
|
}
|
|
21709
21714
|
nodeRef.current = node;
|
|
21710
21715
|
}, [])
|
|
@@ -21712,7 +21717,7 @@ function OverlayContent(props) {
|
|
|
21712
21717
|
typeof props.children === "function" ? props.children() : props.children
|
|
21713
21718
|
);
|
|
21714
21719
|
}
|
|
21715
|
-
async function
|
|
21720
|
+
async function alignNode(node, params) {
|
|
21716
21721
|
let { constrainTo, alignTo, alignPosition } = params;
|
|
21717
21722
|
if (Object.keys(alignTo).length === 2 && alignTo.top !== void 0 && alignTo.left !== void 0) {
|
|
21718
21723
|
alignTo = {
|
|
@@ -21820,20 +21825,35 @@ function useOverlay(params) {
|
|
|
21820
21825
|
const id = params2.id || getIdForReactOnlyChild(content) || getChangeDetect();
|
|
21821
21826
|
const key = `${id}`;
|
|
21822
21827
|
let handle = handles.get(key);
|
|
21823
|
-
const
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
|
|
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
|
+
};
|
|
21830
21837
|
};
|
|
21831
|
-
|
|
21832
|
-
|
|
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 });
|
|
21833
21845
|
updateContent();
|
|
21834
|
-
|
|
21835
|
-
|
|
21836
|
-
|
|
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;
|
|
21837
21857
|
}
|
|
21838
21858
|
handle = {
|
|
21839
21859
|
key,
|
|
@@ -21845,7 +21865,7 @@ function useOverlay(params) {
|
|
|
21845
21865
|
};
|
|
21846
21866
|
handles.set(handle.key, handle);
|
|
21847
21867
|
updateContent();
|
|
21848
|
-
return
|
|
21868
|
+
return updateOverlay;
|
|
21849
21869
|
},
|
|
21850
21870
|
[handles, rootParams.portalContainer, updateContent]
|
|
21851
21871
|
);
|
|
@@ -21900,8 +21920,8 @@ MenuItem.defaultProps = {
|
|
|
21900
21920
|
};
|
|
21901
21921
|
|
|
21902
21922
|
// src/components/Menu/MenuCls.css.ts
|
|
21903
|
-
var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16
|
|
21904
|
-
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"]] });
|
|
21905
21925
|
var MenuRowCls = "MenuCls_MenuRowCls__db3arf1";
|
|
21906
21926
|
var MenuSeparatorCls = "MenuCls_MenuSeparatorCls__db3arfd";
|
|
21907
21927
|
|
|
@@ -23992,6 +24012,15 @@ function runDebugMode(getState) {
|
|
|
23992
24012
|
}
|
|
23993
24013
|
}
|
|
23994
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
|
+
|
|
23995
24024
|
// src/components/InfiniteTable/index.tsx
|
|
23996
24025
|
var InfiniteTableClassName = internalProps.rootClassName;
|
|
23997
24026
|
var HOVERED_CLASS_NAMES = [RowHoverCls, "InfiniteColumnCell--hovered"];
|
|
@@ -24956,6 +24985,7 @@ var components = {
|
|
|
24956
24985
|
RowDisabledState,
|
|
24957
24986
|
RowSelectionState,
|
|
24958
24987
|
WeakFixedSizeSet,
|
|
24988
|
+
alignNode,
|
|
24959
24989
|
components,
|
|
24960
24990
|
createFlashingColumnCellComponent,
|
|
24961
24991
|
debounce,
|
|
@@ -24982,6 +25012,7 @@ var components = {
|
|
|
24982
25012
|
useInfiniteColumnEditor,
|
|
24983
25013
|
useInfiniteColumnFilterEditor,
|
|
24984
25014
|
useInfiniteHeaderCell,
|
|
25015
|
+
useInfinitePortalContainer,
|
|
24985
25016
|
useManagedDataSource,
|
|
24986
25017
|
useMasterRowInfo,
|
|
24987
25018
|
useOverlay,
|