@homebound/beam 4.13.0 → 4.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +23 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14393,23 +14393,32 @@ function GridTable(props) {
|
|
|
14393
14393
|
}
|
|
14394
14394
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
|
|
14395
14395
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ref: resizeRef, ...(0, import_runtime42.trussProps)(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)), ...tid.probe }),
|
|
14396
|
-
loading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14397
|
-
position: "fixed",
|
|
14398
|
-
top: "top0",
|
|
14399
|
-
right: "r_0",
|
|
14400
|
-
bottom: "bot_0",
|
|
14401
|
-
left: "l_0",
|
|
14402
|
-
display: "df",
|
|
14403
|
-
alignItems: "aic",
|
|
14404
|
-
justifyContent: "jcc",
|
|
14405
|
-
pointerEvents: "pen",
|
|
14406
|
-
zIndex: ["z_var", {
|
|
14407
|
-
"--zIndex": (0, import_runtime42.maybeCssVar)(zIndices.tableLoadingOverlay)
|
|
14408
|
-
}]
|
|
14409
|
-
}), ...tid.loadingOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { ...tid.loadingSpinner }) }),
|
|
14396
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)(loadingOverlayCss), ...tid.loadingOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { ...tid.loadingSpinner }) }),
|
|
14410
14397
|
as === "card" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CardView, { cardRows: visibleDataRows, id, virtuosoRangeRef, infiniteScroll, persistScrollPosition, loading }) : _as === "virtual" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VirtualGridTableView, { style: tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, infiniteScroll, persistScrollPosition, loading }) : renders[_as](tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, loading, infiniteScroll, tableContainerRef, persistScrollPosition)
|
|
14411
14398
|
] }) });
|
|
14412
14399
|
}
|
|
14400
|
+
var loadingOverlayCss = {
|
|
14401
|
+
position: "fixed",
|
|
14402
|
+
top: ["top_var", {
|
|
14403
|
+
"--top": (0, import_runtime42.maybeCssVar)(__maybeInc12(stickyTableHeaderOffset()))
|
|
14404
|
+
}],
|
|
14405
|
+
bottom: ["bottom_var", {
|
|
14406
|
+
"--bottom": (0, import_runtime42.maybeCssVar)(__maybeInc12(getFloatingBottomOffset()))
|
|
14407
|
+
}],
|
|
14408
|
+
left: ["left_var", {
|
|
14409
|
+
"--left": (0, import_runtime42.maybeCssVar)(__maybeInc12(documentScrollChromeLeft()))
|
|
14410
|
+
}],
|
|
14411
|
+
width: ["w_var", {
|
|
14412
|
+
"--width": (0, import_runtime42.maybeCssVar)(__maybeInc12(`calc(${documentScrollChromeWidth()} - var(${beamRightPaneWidthVar}, 0px))`))
|
|
14413
|
+
}],
|
|
14414
|
+
display: "df",
|
|
14415
|
+
alignItems: "aic",
|
|
14416
|
+
justifyContent: "jcc",
|
|
14417
|
+
pointerEvents: "pen",
|
|
14418
|
+
zIndex: ["z_var", {
|
|
14419
|
+
"--zIndex": (0, import_runtime42.maybeCssVar)(zIndices.tableLoadingOverlay)
|
|
14420
|
+
}]
|
|
14421
|
+
};
|
|
14413
14422
|
var renders = {
|
|
14414
14423
|
table: renderTable,
|
|
14415
14424
|
div: renderDiv
|