@infinite-table/infinite-react 3.2.4 → 3.2.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.dev.mjs CHANGED
@@ -123,7 +123,7 @@ function debounce(fn, { wait }) {
123
123
  }
124
124
 
125
125
  // src/components/InfiniteTable/index.tsx
126
- import * as React66 from "react";
126
+ import * as React67 from "react";
127
127
 
128
128
  // src/utils/join.ts
129
129
  var join = (...args) => args.filter((x) => !!`${x}`).join(" ");
@@ -4813,6 +4813,7 @@ var position = { relative: "utilities_position_relative__16lm1iw1", absolute: "u
4813
4813
  var top = { "0": "utilities_top_0__16lm1iw1c", "100%": "utilities_top_100%__16lm1iw1d" };
4814
4814
  var transformTranslateZero = "utilities_transformTranslateZero__16lm1iwe";
4815
4815
  var userSelect = { none: "utilities_userSelect_none__16lm1iw17" };
4816
+ var visibility = { visible: "utilities_visibility_visible__16lm1iw20", hidden: "utilities_visibility_hidden__16lm1iw21" };
4816
4817
  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" };
4817
4818
 
4818
4819
  // src/components/InfiniteTable/components/InfiniteTableBody/InfiniteTableBody.tsx
@@ -15056,12 +15057,21 @@ function DataSourceCmp({
15056
15057
  }
15057
15058
  function DataSource(props) {
15058
15059
  const masterContext = useMasterDetailContext();
15059
- return /* @__PURE__ */ React51.createElement(DataSourceRoot, __spreadValues({}, props), /* @__PURE__ */ React51.createElement(DataSourceCmp, { children: props.children, isDetail: !!masterContext }));
15060
+ const isDetail = !!masterContext;
15061
+ const key = isDetail ? masterContext.masterRowInfo.id : "master";
15062
+ return /* @__PURE__ */ React51.createElement(DataSourceRoot, __spreadProps(__spreadValues({}, props), { key }), /* @__PURE__ */ React51.createElement(DataSourceCmp, { children: props.children, isDetail }));
15060
15063
  }
15061
15064
  function useRowInfoReducers() {
15062
15065
  const { rowInfoReducerResults } = useDataSource();
15063
15066
  return rowInfoReducerResults;
15064
15067
  }
15068
+ function useMasterRowInfo() {
15069
+ const context = useMasterDetailContext();
15070
+ if (!context) {
15071
+ return void 0;
15072
+ }
15073
+ return context.masterRowInfo;
15074
+ }
15065
15075
 
15066
15076
  // src/components/InfiniteTable/api/realignColumnContextMenu.ts
15067
15077
  function realignColumnContextMenu(param) {
@@ -15353,6 +15363,20 @@ function getRowDetailApi(param) {
15353
15363
  const expanded = isRowDetailExpanded(rowInfo);
15354
15364
  return !expanded;
15355
15365
  },
15366
+ isRowDetailEnabledForRow(pk) {
15367
+ const { isRowDetailEnabled } = getState();
15368
+ if (!isRowDetailEnabled) {
15369
+ return false;
15370
+ }
15371
+ if (typeof isRowDetailEnabled === "function") {
15372
+ const rowInfo = dataSourceApi.getRowInfoByPrimaryKey(pk);
15373
+ if (!rowInfo) {
15374
+ return false;
15375
+ }
15376
+ return isRowDetailEnabled(rowInfo);
15377
+ }
15378
+ return true;
15379
+ },
15356
15380
  isRowDetailExpanded(pk) {
15357
15381
  return !rowDetailApi.isRowDetailCollapsed(pk);
15358
15382
  },
@@ -16503,6 +16527,7 @@ function useRegisterDetail(props) {
16503
16527
  getState: getMasterDataSourceState,
16504
16528
  componentActions: masterActions
16505
16529
  } = useDataSourceContextValue();
16530
+ const { getState: getMasterState } = useInfiniteTable();
16506
16531
  const { currentRowCache, cacheCalledByRowDetailRenderer } = useCurrentRowCache(rowInfo.id, rowDetailsCache);
16507
16532
  const masterDetailContextValue = useMemo8(() => {
16508
16533
  const shouldRestoreState = getMasterDataSourceState().detailDataSourcesStateToRestore.has(
@@ -16552,6 +16577,8 @@ function useRegisterDetail(props) {
16552
16577
  };
16553
16578
  }, [rowInfo.id, currentRowCache]);
16554
16579
  masterDetailContextValue.masterRowInfo = rowInfo;
16580
+ masterDetailContextValue.getMasterDataSourceState = getMasterDataSourceState;
16581
+ masterDetailContextValue.getMasterState = getMasterState;
16555
16582
  return { masterDetailContextValue, currentRowCache };
16556
16583
  }
16557
16584
 
@@ -16778,7 +16805,7 @@ function useCellRendering(param) {
16778
16805
  const dataArray2 = getData();
16779
16806
  const rowInfo = dataArray2[rowIndex];
16780
16807
  if (!rowInfo || !isRowDetailsExpanded(rowInfo) || !computedRowSizeCacheForDetails) {
16781
- return null;
16808
+ return /* @__PURE__ */ React53.createElement("div", { ref: domRef, className: visibility.hidden });
16782
16809
  }
16783
16810
  const { rowDetailHeight: rowDetailHeight2, rowHeight: rowHeight2 } = computedRowSizeCacheForDetails.getSize(rowIndex);
16784
16811
  return /* @__PURE__ */ React53.createElement(
@@ -17231,6 +17258,14 @@ function toMap(mapOrObject, weakMapCache) {
17231
17258
  return result;
17232
17259
  }
17233
17260
 
17261
+ // src/components/InfiniteTable/state/rowDetailRendererFromComponent.tsx
17262
+ import * as React54 from "react";
17263
+ function getRowDetailRendererFromComponent(RowDetail) {
17264
+ return (rowInfo, cache) => {
17265
+ return /* @__PURE__ */ React54.createElement(RowDetail, { key: rowInfo.id, rowInfo, cache });
17266
+ };
17267
+ }
17268
+
17234
17269
  // src/components/InfiniteTable/state/getInitialState.ts
17235
17270
  function createRenderer2(brain) {
17236
17271
  const renderer = new ReactHeadlessTableRenderer(brain);
@@ -17362,7 +17397,6 @@ var forwardProps4 = (setupState) => {
17362
17397
  columnDefaultEditable: 1,
17363
17398
  columnDefaultFilterable: 1,
17364
17399
  columnDefaultSortable: 1,
17365
- rowDetailRenderer: 1,
17366
17400
  rowStyle: 1,
17367
17401
  cellStyle: 1,
17368
17402
  rowProps: 1,
@@ -17477,7 +17511,7 @@ function getGroupByMap(groupBy) {
17477
17511
  }
17478
17512
  var weakMap = /* @__PURE__ */ new WeakMap();
17479
17513
  var mapPropsToState = (params) => {
17480
- var _a, _b, _c, _d;
17514
+ var _a, _b, _c, _d, _e;
17481
17515
  const { props, state, oldState, parentState } = params;
17482
17516
  const computedColumnGroups = state.pivotColumnGroups || state.columnGroups;
17483
17517
  const columnGroupsDepthsMap = state.columnGroups && state.columnGroups != (oldState == null ? void 0 : oldState.columnGroups) || state.pivotColumnGroups && state.pivotColumnGroups != (oldState == null ? void 0 : oldState.pivotColumnGroups) ? computeColumnGroupsDepths(computedColumnGroups) : state.columnGroupsDepthsMap;
@@ -17488,7 +17522,17 @@ var mapPropsToState = (params) => {
17488
17522
  groupColumn: props.groupColumn
17489
17523
  });
17490
17524
  let rowDetailState = void 0;
17491
- if (props.rowDetailRenderer) {
17525
+ let rowDetailRenderer = props.rowDetailRenderer;
17526
+ const RowDetailComponent = (_a = props.components) == null ? void 0 : _a.RowDetail;
17527
+ if (!rowDetailRenderer && RowDetailComponent) {
17528
+ let rowDetailRendererFromComponent = weakMap.get(RowDetailComponent);
17529
+ if (!rowDetailRendererFromComponent) {
17530
+ rowDetailRendererFromComponent = getRowDetailRendererFromComponent(RowDetailComponent);
17531
+ weakMap.set(RowDetailComponent, rowDetailRendererFromComponent);
17532
+ }
17533
+ rowDetailRenderer = rowDetailRendererFromComponent;
17534
+ }
17535
+ if (rowDetailRenderer) {
17492
17536
  rowDetailState = props.rowDetailState || state.rowDetailState || props.defaultRowDetailState;
17493
17537
  if (rowDetailState && !(rowDetailState instanceof RowDetailState)) {
17494
17538
  rowDetailState = new RowDetailState(rowDetailState);
@@ -17510,19 +17554,20 @@ var mapPropsToState = (params) => {
17510
17554
  }
17511
17555
  }
17512
17556
  }
17513
- const isRowDetailEnabled = !props.rowDetailRenderer ? false : props.isRowDetailEnabled || true;
17557
+ const isRowDetailEnabled = !rowDetailRenderer ? false : props.isRowDetailEnabled || true;
17514
17558
  return {
17559
+ rowDetailRenderer,
17515
17560
  rowDetailState,
17516
17561
  isRowDetailExpanded,
17517
17562
  isRowDetailEnabled,
17518
- showColumnFilters: (_a = props.showColumnFilters) != null ? _a : !!parentState.filterValue,
17563
+ showColumnFilters: (_b = props.showColumnFilters) != null ? _b : !!parentState.filterValue,
17519
17564
  controlledColumnVisibility: !!props.columnVisibility,
17520
17565
  groupRenderStrategy,
17521
17566
  groupBy,
17522
17567
  computedColumns,
17523
17568
  initialColumns: props.columns,
17524
- keyboardNavigation: (_b = props.keyboardNavigation) != null ? _b : state.activeCellIndex != null ? "cell" : state.activeRowIndex != null ? "row" : "cell",
17525
- columnHeaderCssEllipsis: (_d = (_c = props.columnHeaderCssEllipsis) != null ? _c : props.columnCssEllipsis) != null ? _d : true,
17569
+ keyboardNavigation: (_c = props.keyboardNavigation) != null ? _c : state.activeCellIndex != null ? "cell" : state.activeRowIndex != null ? "row" : "cell",
17570
+ columnHeaderCssEllipsis: (_e = (_d = props.columnHeaderCssEllipsis) != null ? _d : props.columnCssEllipsis) != null ? _e : true,
17526
17571
  columnGroupsDepthsMap,
17527
17572
  columnGroupsMaxDepth: columnGroupsDepthsMap != state.columnGroupsDepthsMap ? Math.max(...columnGroupsDepthsMap.values(), 0) : state.columnGroupsMaxDepth,
17528
17573
  computedColumnGroups,
@@ -18707,7 +18752,7 @@ var useLicense = (licenseKey = "") => {
18707
18752
  const valid = useMemo14(() => {
18708
18753
  let valid2 = isValidLicense(licenseKey, {
18709
18754
  publishedAt: 1624970570587,
18710
- version: "3.2.4"
18755
+ version: "3.2.6"
18711
18756
  });
18712
18757
  if (!licenseKey && !valid2 && isInsidePlayground) {
18713
18758
  return true;
@@ -18942,6 +18987,9 @@ function handleRowNavigation(options, event) {
18942
18987
  if (rowInfo && rowInfo.isGroupRow) {
18943
18988
  return api.collapseGroupRow(rowInfo.groupKeys);
18944
18989
  }
18990
+ if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
18991
+ return api.rowDetailApi.collapseRowDetail(rowInfo.id);
18992
+ }
18945
18993
  return false;
18946
18994
  },
18947
18995
  ArrowRight: () => {
@@ -18949,6 +18997,9 @@ function handleRowNavigation(options, event) {
18949
18997
  if (rowInfo && rowInfo.isGroupRow) {
18950
18998
  return api.expandGroupRow(rowInfo.groupKeys);
18951
18999
  }
19000
+ if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
19001
+ return api.rowDetailApi.expandRowDetail(rowInfo.id);
19002
+ }
18952
19003
  return false;
18953
19004
  },
18954
19005
  Enter: () => {
@@ -18956,6 +19007,12 @@ function handleRowNavigation(options, event) {
18956
19007
  if (rowInfo && rowInfo.isGroupRow) {
18957
19008
  return api.toggleGroupRow(rowInfo.groupKeys);
18958
19009
  }
19010
+ const hasRowDetail = api.rowDetailApi.isRowDetailEnabledForRow(
19011
+ rowInfo.id
19012
+ );
19013
+ if (hasRowDetail) {
19014
+ return api.rowDetailApi.toggleRowDetail(rowInfo.id);
19015
+ }
18959
19016
  return false;
18960
19017
  },
18961
19018
  PageDown: () => {
@@ -19046,6 +19103,9 @@ function handleCellNavigation(options, event) {
19046
19103
  if (rowInfo && rowInfo.isGroupRow) {
19047
19104
  return api.toggleGroupRow(rowInfo.groupKeys);
19048
19105
  }
19106
+ if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
19107
+ return api.rowDetailApi.toggleRowDetail(rowInfo.id);
19108
+ }
19049
19109
  return false;
19050
19110
  },
19051
19111
  PageDown: () => {
@@ -19606,7 +19666,7 @@ function useDOMEventHandlers() {
19606
19666
  import { useEffect as useEffect35 } from "react";
19607
19667
 
19608
19668
  // src/components/hooks/useOverlay/index.tsx
19609
- import * as React54 from "react";
19669
+ import * as React55 from "react";
19610
19670
  import {
19611
19671
  useCallback as useCallback23,
19612
19672
  useEffect as useEffect33,
@@ -19997,10 +20057,10 @@ function retrieveElement(elementGetter) {
19997
20057
  });
19998
20058
  }
19999
20059
  function DefaultOverlayPortal(props) {
20000
- return /* @__PURE__ */ React54.createElement("div", { style: { position: "fixed", top: 0, left: 0 } }, props.children);
20060
+ return /* @__PURE__ */ React55.createElement("div", { style: { position: "fixed", top: 0, left: 0 } }, props.children);
20001
20061
  }
20002
20062
  function OverlayContent(props) {
20003
- const nodeRef = React54.useRef(null);
20063
+ const nodeRef = React55.useRef(null);
20004
20064
  useEffect33(() => {
20005
20065
  return props.realign.onChange((handle) => {
20006
20066
  if (nodeRef.current && handle) {
@@ -20008,7 +20068,7 @@ function OverlayContent(props) {
20008
20068
  }
20009
20069
  });
20010
20070
  }, [props.realign]);
20011
- return /* @__PURE__ */ React54.createElement(
20071
+ return /* @__PURE__ */ React55.createElement(
20012
20072
  "div",
20013
20073
  {
20014
20074
  style: { position: "absolute", top: 0, left: 0 },
@@ -20079,22 +20139,22 @@ function useOverlayPortal(content, portalContainer) {
20079
20139
  }, [portalContainer]);
20080
20140
  return portalContainer ? container ? createPortal2(content, container) : (
20081
20141
  // we're probably still fetching the container
20082
- /* @__PURE__ */ React54.createElement(React54.Fragment, null)
20083
- ) : portalContainer === null || portalContainer === false ? content : /* @__PURE__ */ React54.createElement(DefaultOverlayPortal, null, content);
20142
+ /* @__PURE__ */ React55.createElement(React55.Fragment, null)
20143
+ ) : portalContainer === null || portalContainer === false ? content : /* @__PURE__ */ React55.createElement(DefaultOverlayPortal, null, content);
20084
20144
  }
20085
20145
  function getIdForReactOnlyChild(children) {
20086
- if (React54.Children.count(children) === 1) {
20087
- const child = React54.Children.only(children);
20088
- if (React54.isValidElement(child)) {
20146
+ if (React55.Children.count(children) === 1) {
20147
+ const child = React55.Children.only(children);
20148
+ if (React55.isValidElement(child)) {
20089
20149
  return child.props.id || child.key;
20090
20150
  }
20091
20151
  }
20092
20152
  return null;
20093
20153
  }
20094
20154
  function injectPortalContainerAndConstrainInMenuChild(children, portalContainer, constrainTo) {
20095
- if (React54.Children.count(children) === 1) {
20096
- const child = React54.Children.only(children);
20097
- if (React54.isValidElement(child) && child.props[propToIdentifyMenu]) {
20155
+ if (React55.Children.count(children) === 1) {
20156
+ const child = React55.Children.only(children);
20157
+ if (React55.isValidElement(child) && child.props[propToIdentifyMenu]) {
20098
20158
  const newProps = {};
20099
20159
  if (child.props.portalContainer === void 0) {
20100
20160
  newProps.portalContainer = portalContainer;
@@ -20102,7 +20162,7 @@ function injectPortalContainerAndConstrainInMenuChild(children, portalContainer,
20102
20162
  if (child.props.constrainTo === void 0) {
20103
20163
  newProps.constrainTo = constrainTo;
20104
20164
  }
20105
- return React54.cloneElement(child, newProps);
20165
+ return React55.cloneElement(child, newProps);
20106
20166
  }
20107
20167
  }
20108
20168
  return children;
@@ -20118,7 +20178,7 @@ function useOverlay(params) {
20118
20178
  const contentForPortal = [];
20119
20179
  for (const [_2, handle] of handles) {
20120
20180
  contentForPortal.push(
20121
- /* @__PURE__ */ React54.createElement(OverlayContent, __spreadProps(__spreadValues({}, handle), { key: handle.key }))
20181
+ /* @__PURE__ */ React55.createElement(OverlayContent, __spreadProps(__spreadValues({}, handle), { key: handle.key }))
20122
20182
  );
20123
20183
  }
20124
20184
  return contentForPortal;
@@ -20163,7 +20223,7 @@ function useOverlay(params) {
20163
20223
  },
20164
20224
  [handles, rootParams.portalContainer, updateContent]
20165
20225
  );
20166
- React54.useEffect(() => {
20226
+ React55.useEffect(() => {
20167
20227
  if (handleToRealign) {
20168
20228
  const handle = handles.get(handleToRealign);
20169
20229
  if (handle) {
@@ -20182,7 +20242,7 @@ function useOverlay(params) {
20182
20242
  handles.clear();
20183
20243
  updateContent();
20184
20244
  };
20185
- React54.useEffect(() => {
20245
+ React55.useEffect(() => {
20186
20246
  }, []);
20187
20247
  return {
20188
20248
  portal,
@@ -20194,16 +20254,16 @@ function useOverlay(params) {
20194
20254
  }
20195
20255
 
20196
20256
  // src/components/InfiniteTable/utils/getMenuForColumn.tsx
20197
- import * as React60 from "react";
20257
+ import * as React61 from "react";
20198
20258
 
20199
20259
  // src/components/Menu/index.tsx
20200
- import * as React58 from "react";
20260
+ import * as React59 from "react";
20201
20261
 
20202
20262
  // src/components/Menu/getMenuState.tsx
20203
- import * as React56 from "react";
20263
+ import * as React57 from "react";
20204
20264
 
20205
20265
  // src/components/Menu/childrenToRuntimeItems.tsx
20206
- import * as React55 from "react";
20266
+ import * as React56 from "react";
20207
20267
 
20208
20268
  // src/components/Menu/MenuCls.css.ts
20209
20269
  var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16 utilities_flexFlow_column__16lm1iw1m utilities_margin_none__16lm1iw8";
@@ -20214,7 +20274,7 @@ var MenuSeparatorCls = "MenuCls_MenuSeparatorCls__db3arfd";
20214
20274
  // src/components/Menu/childrenToRuntimeItems.tsx
20215
20275
  var SEPARATOR = "-";
20216
20276
  function MenuSeparator() {
20217
- return /* @__PURE__ */ React55.createElement("hr", { className: MenuSeparatorCls });
20277
+ return /* @__PURE__ */ React56.createElement("hr", { className: MenuSeparatorCls });
20218
20278
  }
20219
20279
  var toRuntimeItem = ({
20220
20280
  columns,
@@ -20223,7 +20283,7 @@ var toRuntimeItem = ({
20223
20283
  menuId
20224
20284
  }, item) => {
20225
20285
  const menuItem = item && (item.key != null || item.label != null) ? item : null;
20226
- const menuDecoration = menuItem === null ? item === SEPARATOR ? /* @__PURE__ */ React55.createElement(MenuSeparator, null) : item : null;
20286
+ const menuDecoration = menuItem === null ? item === SEPARATOR ? /* @__PURE__ */ React56.createElement(MenuSeparator, null) : item : null;
20227
20287
  const runtimeItem = menuItem != null ? {
20228
20288
  type: "item",
20229
20289
  parentMenuId: menuId,
@@ -20251,7 +20311,7 @@ var toRuntimeItem = ({
20251
20311
  return runtimeItem;
20252
20312
  };
20253
20313
  function childrenToRuntimeItems(context, children) {
20254
- return React55.Children.map(children, (child) => {
20314
+ return React56.Children.map(children, (child) => {
20255
20315
  if (child == null ? void 0 : child.props.__is_menu_item) {
20256
20316
  const itemProps = __spreadValues({}, child.props);
20257
20317
  if (!itemProps.key) {
@@ -20272,7 +20332,7 @@ function childrenToRuntimeItems(context, children) {
20272
20332
  // src/components/Menu/getMenuState.tsx
20273
20333
  var SUBMENU_COL_NAME = "submenu";
20274
20334
  function getInitialMenuState() {
20275
- const domRef = React56.createRef();
20335
+ const domRef = React57.createRef();
20276
20336
  return {
20277
20337
  keyboardActiveItemKey: null,
20278
20338
  activeItemKey: null,
@@ -20327,7 +20387,7 @@ var deriveStateFromProps2 = (params) => {
20327
20387
  columns.push({
20328
20388
  name: SUBMENU_COL_NAME,
20329
20389
  render: ({ domProps, item }) => {
20330
- return item.menu ? /* @__PURE__ */ React56.createElement("div", __spreadValues({}, domProps), /* @__PURE__ */ React56.createElement(ExpanderIcon, { expanded: false })) : /* @__PURE__ */ React56.createElement("div", __spreadValues({}, domProps));
20390
+ return item.menu ? /* @__PURE__ */ React57.createElement("div", __spreadValues({}, domProps), /* @__PURE__ */ React57.createElement(ExpanderIcon, { expanded: false })) : /* @__PURE__ */ React57.createElement("div", __spreadValues({}, domProps));
20331
20391
  }
20332
20392
  });
20333
20393
  }
@@ -20344,7 +20404,7 @@ var deriveStateFromProps2 = (params) => {
20344
20404
  };
20345
20405
 
20346
20406
  // src/components/Menu/Menu.tsx
20347
- import * as React57 from "react";
20407
+ import * as React58 from "react";
20348
20408
  import {
20349
20409
  useCallback as useCallback25,
20350
20410
  useLayoutEffect as useLayoutEffect14,
@@ -20609,7 +20669,7 @@ function renderSubmenuForItem(item, config) {
20609
20669
  if (typeof itemMenu === "function") {
20610
20670
  itemMenu = itemMenu();
20611
20671
  }
20612
- return /* @__PURE__ */ React57.createElement(
20672
+ return /* @__PURE__ */ React58.createElement(
20613
20673
  Menu,
20614
20674
  __spreadProps(__spreadValues({
20615
20675
  key: overlayId,
@@ -20822,7 +20882,7 @@ function MenuComponent(props) {
20822
20882
  setActiveItemKey(key);
20823
20883
  }
20824
20884
  });
20825
- renderedChildren = runtimeItems.map((runtimeItem, index) => /* @__PURE__ */ React57.createElement(
20885
+ renderedChildren = runtimeItems.map((runtimeItem, index) => /* @__PURE__ */ React58.createElement(
20826
20886
  RuntimeItemRenderer,
20827
20887
  {
20828
20888
  key: runtimeItem.type === "item" ? runtimeItem.key : index,
@@ -21007,7 +21067,7 @@ function MenuComponent(props) {
21007
21067
  domRef.current = node;
21008
21068
  }
21009
21069
  }, []);
21010
- const result = /* @__PURE__ */ React57.createElement("div", { className: display.contents }, /* @__PURE__ */ React57.createElement(
21070
+ const result = /* @__PURE__ */ React58.createElement("div", { className: display.contents }, /* @__PURE__ */ React58.createElement(
21011
21071
  "div",
21012
21072
  __spreadProps(__spreadValues({}, domProps), {
21013
21073
  "data-menu-id": menuId,
@@ -21039,12 +21099,12 @@ function MenuComponent(props) {
21039
21099
  return destroyed ? null : result;
21040
21100
  }
21041
21101
  function RuntimeItemRenderer(props) {
21042
- const [pressed, setPressed] = React57.useState(false);
21102
+ const [pressed, setPressed] = React58.useState(false);
21043
21103
  const { columns, item, index, active, keyboardActive } = props;
21044
21104
  const key = item.type === "item" ? item.value.key : index;
21045
21105
  let content = null;
21046
21106
  if (item.type === "decoration") {
21047
- content = /* @__PURE__ */ React57.createElement("div", { style: item.style }, item.value);
21107
+ content = /* @__PURE__ */ React58.createElement("div", { style: item.style }, item.value);
21048
21108
  } else {
21049
21109
  let spanIndex = 0;
21050
21110
  content = columns.map((col, i) => {
@@ -21105,7 +21165,7 @@ function RuntimeItemRenderer(props) {
21105
21165
  }
21106
21166
  }
21107
21167
  };
21108
- return col.render ? /* @__PURE__ */ React57.createElement(
21168
+ return col.render ? /* @__PURE__ */ React58.createElement(
21109
21169
  RenderHookComponent,
21110
21170
  {
21111
21171
  key: `${key}-${field}`,
@@ -21117,10 +21177,10 @@ function RuntimeItemRenderer(props) {
21117
21177
  domProps
21118
21178
  }
21119
21179
  }
21120
- ) : /* @__PURE__ */ React57.createElement("div", __spreadValues({ key: `${key}-${field}` }, domProps), target[field]);
21180
+ ) : /* @__PURE__ */ React58.createElement("div", __spreadValues({ key: `${key}-${field}` }, domProps), target[field]);
21121
21181
  }).filter(Boolean);
21122
21182
  }
21123
- return /* @__PURE__ */ React57.createElement("div", { className: MenuRowCls }, content);
21183
+ return /* @__PURE__ */ React58.createElement("div", { className: MenuRowCls }, content);
21124
21184
  }
21125
21185
  function MenuItem(_props) {
21126
21186
  return null;
@@ -21140,12 +21200,12 @@ var MenuRoot = getComponentStateRoot({
21140
21200
  function MenuContextProvider(props) {
21141
21201
  const { componentActions, componentState } = useComponentState();
21142
21202
  const getState = useLatest(componentState);
21143
- return /* @__PURE__ */ React58.createElement(
21203
+ return /* @__PURE__ */ React59.createElement(
21144
21204
  MenuContext.Provider,
21145
21205
  {
21146
21206
  value: { componentActions, componentState, getState }
21147
21207
  },
21148
- /* @__PURE__ */ React58.createElement(MenuComponent, { domProps: props.domProps })
21208
+ /* @__PURE__ */ React59.createElement(MenuComponent, { domProps: props.domProps })
21149
21209
  );
21150
21210
  }
21151
21211
  function Menu(props) {
@@ -21187,9 +21247,9 @@ function Menu(props) {
21187
21247
  //@ts-ignore
21188
21248
  "__is_infinite_menu_component"
21189
21249
  ]);
21190
- const menu = /* @__PURE__ */ React58.createElement(MenuRoot, __spreadValues({}, props), /* @__PURE__ */ React58.createElement(MenuContextProvider, { domProps }));
21250
+ const menu = /* @__PURE__ */ React59.createElement(MenuRoot, __spreadValues({}, props), /* @__PURE__ */ React59.createElement(MenuContextProvider, { domProps }));
21191
21251
  if (false) {
21192
- return /* @__PURE__ */ React58.createElement(React58.StrictMode, null, menu);
21252
+ return /* @__PURE__ */ React59.createElement(React59.StrictMode, null, menu);
21193
21253
  }
21194
21254
  return menu;
21195
21255
  }
@@ -21206,7 +21266,7 @@ var menuDefaultProps = {
21206
21266
  Menu.defaultProps = menuDefaultProps;
21207
21267
 
21208
21268
  // src/components/InfiniteTable/utils/defaultGetColumnMenuItems.tsx
21209
- import * as React59 from "react";
21269
+ import * as React60 from "react";
21210
21270
  function defaultGetColumnMenuItems(_items, params) {
21211
21271
  const { columnApi, column, getComputed, api } = params;
21212
21272
  const sortable = columnApi.isSortable();
@@ -21293,7 +21353,7 @@ function defaultGetColumnMenuItems(_items, params) {
21293
21353
  colItems.push({
21294
21354
  key: id,
21295
21355
  label,
21296
- check: /* @__PURE__ */ React59.createElement(
21356
+ check: /* @__PURE__ */ React60.createElement(
21297
21357
  InfiniteCheckBox,
21298
21358
  {
21299
21359
  key: col.id,
@@ -21356,7 +21416,7 @@ function getMenuForColumn(columnId, context, onHideIntent) {
21356
21416
  if (!items || !items.length) {
21357
21417
  return null;
21358
21418
  }
21359
- return /* @__PURE__ */ React60.createElement(
21419
+ return /* @__PURE__ */ React61.createElement(
21360
21420
  MenuCmp,
21361
21421
  {
21362
21422
  autoFocus: true,
@@ -21418,13 +21478,14 @@ function showMenuForColumn(options) {
21418
21478
  }
21419
21479
  function useColumnMenu() {
21420
21480
  const context = useInfiniteTable();
21481
+ const masterContext = useMasterDetailContext();
21421
21482
  const { getState, actions } = context;
21422
21483
  const {
21423
21484
  showOverlay,
21424
21485
  portal: menuPortal,
21425
21486
  clearAll
21426
21487
  } = useOverlay({
21427
- portalContainer: false
21488
+ portalContainer: masterContext ? masterContext.getMasterState().portalDOMRef.current : false
21428
21489
  });
21429
21490
  useEffect35(() => {
21430
21491
  const { actions: actions2, getState: getState2 } = context;
@@ -21475,7 +21536,7 @@ function useColumnMenu() {
21475
21536
  }
21476
21537
 
21477
21538
  // src/components/InfiniteTable/components/FocusDetect.tsx
21478
- import * as React61 from "react";
21539
+ import * as React62 from "react";
21479
21540
  import { useCallback as useCallback26 } from "react";
21480
21541
  var style = {
21481
21542
  width: 0,
@@ -21509,7 +21570,7 @@ function FocusDetect() {
21509
21570
  };
21510
21571
  focusLastFocusableCell(context);
21511
21572
  }), []);
21512
- return /* @__PURE__ */ React61.createElement(
21573
+ return /* @__PURE__ */ React62.createElement(
21513
21574
  "div",
21514
21575
  {
21515
21576
  onFocus,
@@ -21640,18 +21701,18 @@ function useEditingCallbackProps() {
21640
21701
  import { useEffect as useEffect37 } from "react";
21641
21702
 
21642
21703
  // src/components/InfiniteTable/utils/getFilterOperatorMenuForColumn.tsx
21643
- import * as React64 from "react";
21704
+ import * as React65 from "react";
21644
21705
 
21645
21706
  // src/components/InfiniteTable/components/icons/ClearIcon.tsx
21646
- import * as React62 from "react";
21707
+ import * as React63 from "react";
21647
21708
  var ClearIcon = (props) => {
21648
- return /* @__PURE__ */ React62.createElement(Icon, __spreadValues({}, props), /* @__PURE__ */ React62.createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }));
21709
+ return /* @__PURE__ */ React63.createElement(Icon, __spreadValues({}, props), /* @__PURE__ */ React63.createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }));
21649
21710
  };
21650
21711
 
21651
21712
  // src/components/InfiniteTable/components/icons/DoneIcon.tsx
21652
- import * as React63 from "react";
21713
+ import * as React64 from "react";
21653
21714
  var DoneIcon = (props) => {
21654
- return /* @__PURE__ */ React63.createElement(Icon, __spreadValues({}, props), /* @__PURE__ */ React63.createElement("path", { d: "m9.55 19-6.725-6.725L5.25 9.85l4.3 4.325 9.225-9.225 2.425 2.4Z" }));
21715
+ return /* @__PURE__ */ React64.createElement(Icon, __spreadValues({}, props), /* @__PURE__ */ React64.createElement("path", { d: "m9.55 19-6.725-6.725L5.25 9.85l4.3 4.325 9.225-9.225 2.425 2.4Z" }));
21655
21716
  };
21656
21717
 
21657
21718
  // src/components/InfiniteTable/utils/getFilterOperatorMenuForColumn.tsx
@@ -21697,12 +21758,12 @@ function getFilterOperatorMenuForColumn(columnId, context, onHideIntent) {
21697
21758
  const IconCmp = (_b = (_a2 = operator.components) == null ? void 0 : _a2.Icon) != null ? _b : FilterIcon;
21698
21759
  return {
21699
21760
  key,
21700
- icon: /* @__PURE__ */ React64.createElement(IconCmp, null),
21701
- label: /* @__PURE__ */ React64.createElement(React64.Fragment, null, (_c = operator.label) != null ? _c : operator.name),
21761
+ icon: /* @__PURE__ */ React65.createElement(IconCmp, null),
21762
+ label: /* @__PURE__ */ React65.createElement(React65.Fragment, null, (_c = operator.label) != null ? _c : operator.name),
21702
21763
  onAction: () => {
21703
21764
  api.setColumnFilterOperator(columnId, key);
21704
21765
  },
21705
- checked: checked ? /* @__PURE__ */ React64.createElement(DoneIcon, { size: 16 }) : null
21766
+ checked: checked ? /* @__PURE__ */ React65.createElement(DoneIcon, { size: 16 }) : null
21706
21767
  };
21707
21768
  });
21708
21769
  const firstItems = [
@@ -21717,7 +21778,7 @@ function getFilterOperatorMenuForColumn(columnId, context, onHideIntent) {
21717
21778
  {
21718
21779
  key: "reset",
21719
21780
  label: "Reset",
21720
- icon: /* @__PURE__ */ React64.createElement(ClearIcon, null),
21781
+ icon: /* @__PURE__ */ React65.createElement(ClearIcon, null),
21721
21782
  disabled: !column.computedFiltered,
21722
21783
  onAction: () => {
21723
21784
  api.clearColumnFilter(columnId);
@@ -21739,7 +21800,7 @@ function getFilterOperatorMenuForColumn(columnId, context, onHideIntent) {
21739
21800
  filterTypes
21740
21801
  };
21741
21802
  const items = getFilterOperatorMenuItems ? getFilterOperatorMenuItems(defaultItems, param) : defaultItems;
21742
- return /* @__PURE__ */ React64.createElement(
21803
+ return /* @__PURE__ */ React65.createElement(
21743
21804
  MenuCmp,
21744
21805
  {
21745
21806
  autoFocus: true,
@@ -21771,13 +21832,14 @@ function getFilterOperatorMenuForColumn(columnId, context, onHideIntent) {
21771
21832
  var OFFSET2 = 10;
21772
21833
  function useColumnFilterOperatorMenu() {
21773
21834
  const context = useInfiniteTable();
21835
+ const masterContext = useMasterDetailContext();
21774
21836
  const { getState, actions } = context;
21775
21837
  const {
21776
21838
  showOverlay,
21777
21839
  portal: menuPortal,
21778
21840
  clearAll
21779
21841
  } = useOverlay({
21780
- portalContainer: false
21842
+ portalContainer: masterContext ? masterContext.getMasterState().portalDOMRef.current : false
21781
21843
  });
21782
21844
  useEffect37(() => {
21783
21845
  const { actions: actions2, getState: getState2 } = context;
@@ -21845,7 +21907,7 @@ function useColumnFilterOperatorMenu() {
21845
21907
  import { useEffect as useEffect38 } from "react";
21846
21908
 
21847
21909
  // src/components/InfiniteTable/utils/getCellContextMenu.tsx
21848
- import * as React65 from "react";
21910
+ import * as React66 from "react";
21849
21911
  function getCellContextMenu(cellLocation, context, onHideIntent) {
21850
21912
  var _a;
21851
21913
  const { columnId, rowIndex, event } = cellLocation;
@@ -21885,7 +21947,7 @@ function getCellContextMenu(cellLocation, context, onHideIntent) {
21885
21947
  }
21886
21948
  return {
21887
21949
  preventDefault: true,
21888
- menu: /* @__PURE__ */ React65.createElement(
21950
+ menu: /* @__PURE__ */ React66.createElement(
21889
21951
  MenuCmp,
21890
21952
  {
21891
21953
  columns: menuColumns,
@@ -21940,7 +22002,7 @@ function getTableContextMenu(menuLocation, context, onHideIntent) {
21940
22002
  }
21941
22003
  return {
21942
22004
  preventDefault: true,
21943
- menu: /* @__PURE__ */ React65.createElement(
22005
+ menu: /* @__PURE__ */ React66.createElement(
21944
22006
  MenuCmp,
21945
22007
  {
21946
22008
  columns: menuColumns,
@@ -21978,13 +22040,14 @@ var ALIGN_POSITIONS = [
21978
22040
  ];
21979
22041
  function useCellContextMenu() {
21980
22042
  const context = useInfiniteTable();
22043
+ const masterContext = useMasterDetailContext();
21981
22044
  const { getState, actions } = context;
21982
22045
  const {
21983
22046
  showOverlay,
21984
22047
  portal: menuPortal,
21985
22048
  clearAll
21986
22049
  } = useOverlay({
21987
- portalContainer: false
22050
+ portalContainer: masterContext ? masterContext.getMasterState().portalDOMRef.current : false
21988
22051
  });
21989
22052
  useEffect38(() => {
21990
22053
  const { actions: actions2, getState: getState2, getDataSourceState } = context;
@@ -22063,13 +22126,14 @@ function useCellContextMenu() {
22063
22126
  }
22064
22127
  function useTableContextMenu() {
22065
22128
  const context = useInfiniteTable();
22129
+ const masterContext = useMasterDetailContext();
22066
22130
  const { getState, actions } = context;
22067
22131
  const {
22068
22132
  showOverlay,
22069
22133
  portal: menuPortal,
22070
22134
  clearAll
22071
22135
  } = useOverlay({
22072
- portalContainer: false
22136
+ portalContainer: masterContext ? masterContext.getMasterState().portalDOMRef.current : false
22073
22137
  });
22074
22138
  useEffect38(() => {
22075
22139
  const { actions: actions2, getState: getState2 } = context;
@@ -22163,10 +22227,11 @@ var InfiniteTableRoot = getComponentStateRoot({
22163
22227
  getParentState: () => useDataSource(),
22164
22228
  debugName: "InfiniteTable"
22165
22229
  });
22166
- var InfiniteTableComponent = React66.memo(
22230
+ var InfiniteTableComponent = React67.memo(
22167
22231
  function InfiniteTableComponent2() {
22168
22232
  var _a;
22169
22233
  const context = useInfiniteTable();
22234
+ const masterContext = useMasterDetailContext();
22170
22235
  const { state: componentState, getComputed, computed, api } = context;
22171
22236
  const {
22172
22237
  componentState: { loading, dataArray },
@@ -22211,7 +22276,7 @@ var InfiniteTableComponent = React66.memo(
22211
22276
  bodySize,
22212
22277
  computed
22213
22278
  });
22214
- React66.useEffect(() => {
22279
+ React67.useEffect(() => {
22215
22280
  const dataSourceState = getDataSourceState();
22216
22281
  const onChange = debounce(
22217
22282
  (renderRange) => {
@@ -22227,7 +22292,7 @@ var InfiniteTableComponent = React66.memo(
22227
22292
  const licenseValid = useLicense(licenseKey);
22228
22293
  const domProps = useDOMProps(componentState.domProps);
22229
22294
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22230
- React66.useEffect(() => {
22295
+ React67.useEffect(() => {
22231
22296
  brain.setScrollStopDelay(scrollStopDelay);
22232
22297
  dataSourceActions.scrollStopDelayUpdatedByTable = scrollStopDelay;
22233
22298
  }, [scrollStopDelay]);
@@ -22237,7 +22302,7 @@ var InfiniteTableComponent = React66.memo(
22237
22302
  const { menuPortal: cellContextMenuPortal } = useCellContextMenu();
22238
22303
  const { menuPortal: tableContextMenuPortal } = useTableContextMenu();
22239
22304
  const { menuPortal: filterOperatorMenuPortal } = useColumnFilterOperatorMenu();
22240
- React66.useEffect(() => {
22305
+ React67.useEffect(() => {
22241
22306
  if (typeof globalThis.__DO_NOT_USE_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_IS_READY === "function") {
22242
22307
  globalThis.__DO_NOT_USE_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_IS_READY(
22243
22308
  componentState.id,
@@ -22250,9 +22315,15 @@ var InfiniteTableComponent = React66.memo(
22250
22315
  globalThis.infiniteApi = context.api;
22251
22316
  }
22252
22317
  }, [componentState.ready]);
22253
- const onContextMenu = React66.useCallback((event) => {
22318
+ const onContextMenu = React67.useCallback((event) => {
22254
22319
  const state = context.getState();
22255
22320
  const target = event.target;
22321
+ if (!masterContext && event._from_row_detail) {
22322
+ return;
22323
+ }
22324
+ if (masterContext) {
22325
+ event._from_row_detail = true;
22326
+ }
22256
22327
  const cell = selectParentUntil(
22257
22328
  target,
22258
22329
  getCellSelector(),
@@ -22281,14 +22352,19 @@ var InfiniteTableComponent = React66.memo(
22281
22352
  }
22282
22353
  state.contextMenu(param);
22283
22354
  }, []);
22284
- return /* @__PURE__ */ React66.createElement("div", __spreadValues({ onKeyDown: onKeyDown2, ref: domRef }, domProps), header ? /* @__PURE__ */ React66.createElement(
22355
+ React67.useEffect(() => {
22356
+ if (masterContext) {
22357
+ portalDOMRef.current = masterContext.getMasterState().portalDOMRef.current;
22358
+ }
22359
+ }, []);
22360
+ return /* @__PURE__ */ React67.createElement("div", __spreadValues({ onKeyDown: onKeyDown2, ref: domRef }, domProps), header ? /* @__PURE__ */ React67.createElement(
22285
22361
  TableHeaderWrapper,
22286
22362
  {
22287
22363
  bodyBrain: brain,
22288
22364
  headerBrain,
22289
22365
  scrollbars
22290
22366
  }
22291
- ) : null, /* @__PURE__ */ React66.createElement(InfiniteTableBody, { onContextMenu }, /* @__PURE__ */ React66.createElement(
22367
+ ) : null, /* @__PURE__ */ React67.createElement(InfiniteTableBody, { onContextMenu }, /* @__PURE__ */ React67.createElement(
22292
22368
  HeadlessTable,
22293
22369
  {
22294
22370
  debugId,
@@ -22306,7 +22382,7 @@ var InfiniteTableComponent = React66.memo(
22306
22382
  cellHoverClassNames: HOVERED_CLASS_NAMES,
22307
22383
  scrollerDOMRef
22308
22384
  }
22309
- ), /* @__PURE__ */ React66.createElement(LoadMaskCmp, { visible: loading }, loadingText)), /* @__PURE__ */ React66.createElement(
22385
+ ), /* @__PURE__ */ React67.createElement(LoadMaskCmp, { visible: loading }, loadingText)), /* @__PURE__ */ React67.createElement(
22310
22386
  "div",
22311
22387
  {
22312
22388
  ref: portalDOMRef,
@@ -22322,25 +22398,25 @@ var InfiniteTableComponent = React66.memo(
22322
22398
  cellContextMenuPortal,
22323
22399
  tableContextMenuPortal,
22324
22400
  filterOperatorMenuPortal
22325
- ), rowHeightCSSVar ? /* @__PURE__ */ React66.createElement(
22401
+ ), rowHeightCSSVar ? /* @__PURE__ */ React67.createElement(
22326
22402
  CSSNumericVariableWatch,
22327
22403
  {
22328
22404
  varName: rowHeightCSSVar,
22329
22405
  onChange: onRowHeightCSSVarChange
22330
22406
  }
22331
- ) : null, rowDetailHeightCSSVar ? /* @__PURE__ */ React66.createElement(
22407
+ ) : null, rowDetailHeightCSSVar ? /* @__PURE__ */ React67.createElement(
22332
22408
  CSSNumericVariableWatch,
22333
22409
  {
22334
22410
  varName: rowDetailHeightCSSVar,
22335
22411
  onChange: onRowDetailHeightCSSVarChange
22336
22412
  }
22337
- ) : null, columnHeaderHeightCSSVar ? /* @__PURE__ */ React66.createElement(
22413
+ ) : null, columnHeaderHeightCSSVar ? /* @__PURE__ */ React67.createElement(
22338
22414
  CSSNumericVariableWatch,
22339
22415
  {
22340
22416
  varName: columnHeaderHeightCSSVar,
22341
22417
  onChange: onColumnHeaderHeightCSSVarChange
22342
22418
  }
22343
- ) : null, /* @__PURE__ */ React66.createElement(InfiniteTableFooter, null), licenseValid ? null : /* @__PURE__ */ React66.createElement(InfiniteTableLicenseFooter, null), /* @__PURE__ */ React66.createElement(FocusDetect, null));
22419
+ ) : null, /* @__PURE__ */ React67.createElement(InfiniteTableFooter, null), licenseValid ? null : /* @__PURE__ */ React67.createElement(InfiniteTableLicenseFooter, null), /* @__PURE__ */ React67.createElement(FocusDetect, null));
22344
22420
  }
22345
22421
  );
22346
22422
  function InfiniteTableContextProvider() {
@@ -22354,6 +22430,7 @@ function InfiniteTableContextProvider() {
22354
22430
  globalThis.getState = getState;
22355
22431
  globalThis.getComputed = getComputed;
22356
22432
  globalThis.componentActions = componentActions;
22433
+ globalThis.masterBrain = componentState.brain;
22357
22434
  }
22358
22435
  const {
22359
22436
  getState: getDataSourceState,
@@ -22361,7 +22438,7 @@ function InfiniteTableContextProvider() {
22361
22438
  getDataSourceMasterContext,
22362
22439
  api: dataSourceApi
22363
22440
  } = useDataSourceContextValue();
22364
- const [imperativeApi] = React66.useState(() => {
22441
+ const [imperativeApi] = React67.useState(() => {
22365
22442
  return getImperativeApi({
22366
22443
  getComputed,
22367
22444
  getState,
@@ -22396,21 +22473,21 @@ function InfiniteTableContextProvider() {
22396
22473
  },
22397
22474
  { earlyAttach: true, debounce: 50 }
22398
22475
  );
22399
- React66.useEffect(() => {
22476
+ React67.useEffect(() => {
22400
22477
  if (scrollerDOMRef.current) {
22401
22478
  scrollerDOMRef.current.scrollTop = 0;
22402
22479
  }
22403
22480
  }, [scrollTopKey, scrollerDOMRef]);
22404
22481
  const TableContext2 = getInfiniteTableContext();
22405
- return /* @__PURE__ */ React66.createElement(TableContext2.Provider, { value: contextValue }, /* @__PURE__ */ React66.createElement(InfiniteTableComponent, null));
22482
+ return /* @__PURE__ */ React67.createElement(TableContext2.Provider, { value: contextValue }, /* @__PURE__ */ React67.createElement(InfiniteTableComponent, null));
22406
22483
  }
22407
22484
  function InfiniteTable(props) {
22408
22485
  const table = (
22409
22486
  //@ts-ignore
22410
- /* @__PURE__ */ React66.createElement(InfiniteTableRoot, __spreadValues({}, props), /* @__PURE__ */ React66.createElement(InfiniteTableContextProvider, null))
22487
+ /* @__PURE__ */ React67.createElement(InfiniteTableRoot, __spreadValues({}, props), /* @__PURE__ */ React67.createElement(InfiniteTableContextProvider, null))
22411
22488
  );
22412
22489
  if (false) {
22413
- return /* @__PURE__ */ React66.createElement(React66.StrictMode, null, table);
22490
+ return /* @__PURE__ */ React67.createElement(React67.StrictMode, null, table);
22414
22491
  }
22415
22492
  return table;
22416
22493
  }
@@ -22579,6 +22656,7 @@ export {
22579
22656
  useInfiniteColumnEditor,
22580
22657
  useInfiniteColumnFilterEditor,
22581
22658
  useInfiniteHeaderCell,
22659
+ useMasterRowInfo,
22582
22660
  useOverlay,
22583
22661
  useOverlayPortal,
22584
22662
  useRowInfoReducers