@fileverse-dev/dsheet 1.0.26 → 1.0.27

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.es.js CHANGED
@@ -217347,6 +217347,7 @@ const a_t = ({
217347
217347
  isAuthorized: j,
217348
217348
  ref: y,
217349
217349
  data: A,
217350
+ allowEdit: !a,
217350
217351
  toolbarItems: _,
217351
217352
  cellContextMenu: L,
217352
217353
  headerContextMenu: I,
@@ -440941,42 +440942,35 @@ const a_t = ({
440941
440942
  children: r(j)
440942
440943
  }
440943
440944
  ),
440944
- /* @__PURE__ */ or.jsxs(
440945
- "div",
440946
- {
440947
- style: { height: "97.8%", marginTop: "44px" },
440948
- className: "relative overflow-hidden",
440949
- children: [
440950
- /* @__PURE__ */ or.jsx(LS, { show: x, children: /* @__PURE__ */ or.jsx(uX, { isReadOnly: t }) }),
440951
- /* @__PURE__ */ or.jsxs(LS, { show: !x, children: [
440952
- t && /* @__PURE__ */ or.jsx("div", { className: "absolute top-2 right-4 z-20", children: /* @__PURE__ */ or.jsx(d_t, { allowComments: a || !1 }) }),
440953
- /* @__PURE__ */ or.jsx(
440954
- n_t,
440955
- {
440956
- setShowFetchURLModal: e,
440957
- setFetchingURLData: m,
440958
- setInputFetchURLDataBlock: p,
440959
- commentData: d,
440960
- getCommentCellUI: h,
440961
- isReadOnly: t,
440962
- toggleTemplateSidebar: n,
440963
- onboardingComplete: i,
440964
- onboardingHandler: o,
440965
- dataBlockApiKeyHandler: c,
440966
- exportDropdownOpen: s,
440967
- setExportDropdownOpen: l,
440968
- dsheetId: u,
440969
- storeApiKey: g,
440970
- allowComments: a,
440971
- onDataBlockApiResponse: y,
440972
- onDuneChartEmbed: b,
440973
- onSheetCountChange: w
440974
- }
440975
- )
440976
- ] })
440977
- ]
440978
- }
440979
- )
440945
+ /* @__PURE__ */ or.jsxs("div", { className: "relative overflow-hidden h-[94dvh] md:!h-[calc(100vh-44px)] mt-[44px]", children: [
440946
+ /* @__PURE__ */ or.jsx(LS, { show: x, children: /* @__PURE__ */ or.jsx(uX, { isReadOnly: t }) }),
440947
+ /* @__PURE__ */ or.jsxs(LS, { show: !x, children: [
440948
+ t && /* @__PURE__ */ or.jsx("div", { className: "absolute top-2 right-4 z-20", children: /* @__PURE__ */ or.jsx(d_t, { allowComments: a || !1 }) }),
440949
+ /* @__PURE__ */ or.jsx(
440950
+ n_t,
440951
+ {
440952
+ setShowFetchURLModal: e,
440953
+ setFetchingURLData: m,
440954
+ setInputFetchURLDataBlock: p,
440955
+ commentData: d,
440956
+ getCommentCellUI: h,
440957
+ isReadOnly: t,
440958
+ toggleTemplateSidebar: n,
440959
+ onboardingComplete: i,
440960
+ onboardingHandler: o,
440961
+ dataBlockApiKeyHandler: c,
440962
+ exportDropdownOpen: s,
440963
+ setExportDropdownOpen: l,
440964
+ dsheetId: u,
440965
+ storeApiKey: g,
440966
+ allowComments: a,
440967
+ onDataBlockApiResponse: y,
440968
+ onDuneChartEmbed: b,
440969
+ onSheetCountChange: w
440970
+ }
440971
+ )
440972
+ ] })
440973
+ ] })
440980
440974
  ]
440981
440975
  }
440982
440976
  );