@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.js
CHANGED
|
@@ -13916,23 +13916,32 @@ function GridTable(props) {
|
|
|
13916
13916
|
}
|
|
13917
13917
|
return /* @__PURE__ */ jsx51(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ jsxs33(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
|
|
13918
13918
|
/* @__PURE__ */ jsx51("div", { ref: resizeRef, ...trussProps33(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)), ...tid.probe }),
|
|
13919
|
-
loading && /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
13920
|
-
position: "fixed",
|
|
13921
|
-
top: "top0",
|
|
13922
|
-
right: "r_0",
|
|
13923
|
-
bottom: "bot_0",
|
|
13924
|
-
left: "l_0",
|
|
13925
|
-
display: "df",
|
|
13926
|
-
alignItems: "aic",
|
|
13927
|
-
justifyContent: "jcc",
|
|
13928
|
-
pointerEvents: "pen",
|
|
13929
|
-
zIndex: ["z_var", {
|
|
13930
|
-
"--zIndex": maybeCssVar22(zIndices.tableLoadingOverlay)
|
|
13931
|
-
}]
|
|
13932
|
-
}), ...tid.loadingOverlay, children: /* @__PURE__ */ jsx51(Loader, { ...tid.loadingSpinner }) }),
|
|
13919
|
+
loading && /* @__PURE__ */ jsx51("div", { ...trussProps33(loadingOverlayCss), ...tid.loadingOverlay, children: /* @__PURE__ */ jsx51(Loader, { ...tid.loadingSpinner }) }),
|
|
13933
13920
|
as === "card" ? /* @__PURE__ */ jsx51(CardView, { cardRows: visibleDataRows, id, virtuosoRangeRef, infiniteScroll, persistScrollPosition, loading }) : _as === "virtual" ? /* @__PURE__ */ jsx51(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)
|
|
13934
13921
|
] }) });
|
|
13935
13922
|
}
|
|
13923
|
+
var loadingOverlayCss = {
|
|
13924
|
+
position: "fixed",
|
|
13925
|
+
top: ["top_var", {
|
|
13926
|
+
"--top": maybeCssVar22(__maybeInc12(stickyTableHeaderOffset()))
|
|
13927
|
+
}],
|
|
13928
|
+
bottom: ["bottom_var", {
|
|
13929
|
+
"--bottom": maybeCssVar22(__maybeInc12(getFloatingBottomOffset()))
|
|
13930
|
+
}],
|
|
13931
|
+
left: ["left_var", {
|
|
13932
|
+
"--left": maybeCssVar22(__maybeInc12(documentScrollChromeLeft()))
|
|
13933
|
+
}],
|
|
13934
|
+
width: ["w_var", {
|
|
13935
|
+
"--width": maybeCssVar22(__maybeInc12(`calc(${documentScrollChromeWidth()} - var(${beamRightPaneWidthVar}, 0px))`))
|
|
13936
|
+
}],
|
|
13937
|
+
display: "df",
|
|
13938
|
+
alignItems: "aic",
|
|
13939
|
+
justifyContent: "jcc",
|
|
13940
|
+
pointerEvents: "pen",
|
|
13941
|
+
zIndex: ["z_var", {
|
|
13942
|
+
"--zIndex": maybeCssVar22(zIndices.tableLoadingOverlay)
|
|
13943
|
+
}]
|
|
13944
|
+
};
|
|
13936
13945
|
var renders = {
|
|
13937
13946
|
table: renderTable,
|
|
13938
13947
|
div: renderDiv
|