@fileverse-dev/dsheet 1.0.24 → 1.0.25-patch-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.es.js CHANGED
@@ -217337,6 +217337,7 @@ const r_t = ({
217337
217337
  isAuthorized: j,
217338
217338
  ref: y,
217339
217339
  data: A,
217340
+ allowEdit: !a,
217340
217341
  toolbarItems: _,
217341
217342
  cellContextMenu: L,
217342
217343
  headerContextMenu: I,
@@ -440931,42 +440932,35 @@ const r_t = ({
440931
440932
  children: r(j)
440932
440933
  }
440933
440934
  ),
440934
- /* @__PURE__ */ or.jsxs(
440935
- "div",
440936
- {
440937
- style: { height: "97.8%", marginTop: "44px" },
440938
- className: "relative overflow-hidden",
440939
- children: [
440940
- /* @__PURE__ */ or.jsx(SS, { show: x, children: /* @__PURE__ */ or.jsx(fX, { isReadOnly: t }) }),
440941
- /* @__PURE__ */ or.jsxs(SS, { show: !x, children: [
440942
- t && /* @__PURE__ */ or.jsx("div", { className: "absolute top-2 right-4 z-20", children: /* @__PURE__ */ or.jsx(u_t, { allowComments: a || !1 }) }),
440943
- /* @__PURE__ */ or.jsx(
440944
- a_t,
440945
- {
440946
- setShowFetchURLModal: e,
440947
- setFetchingURLData: m,
440948
- setInputFetchURLDataBlock: p,
440949
- commentData: d,
440950
- getCommentCellUI: h,
440951
- isReadOnly: t,
440952
- toggleTemplateSidebar: n,
440953
- onboardingComplete: i,
440954
- onboardingHandler: o,
440955
- dataBlockApiKeyHandler: c,
440956
- exportDropdownOpen: s,
440957
- setExportDropdownOpen: l,
440958
- dsheetId: u,
440959
- storeApiKey: g,
440960
- allowComments: a,
440961
- onDataBlockApiResponse: y,
440962
- onDuneChartEmbed: b,
440963
- onSheetCountChange: w
440964
- }
440965
- )
440966
- ] })
440967
- ]
440968
- }
440969
- )
440935
+ /* @__PURE__ */ or.jsxs("div", { className: "relative overflow-hidden h-[94dvh] md:!h-[calc(100vh-44px)] mt-[44px]", children: [
440936
+ /* @__PURE__ */ or.jsx(SS, { show: x, children: /* @__PURE__ */ or.jsx(fX, { isReadOnly: t }) }),
440937
+ /* @__PURE__ */ or.jsxs(SS, { show: !x, children: [
440938
+ t && /* @__PURE__ */ or.jsx("div", { className: "absolute top-2 right-4 z-20", children: /* @__PURE__ */ or.jsx(u_t, { allowComments: a || !1 }) }),
440939
+ /* @__PURE__ */ or.jsx(
440940
+ a_t,
440941
+ {
440942
+ setShowFetchURLModal: e,
440943
+ setFetchingURLData: m,
440944
+ setInputFetchURLDataBlock: p,
440945
+ commentData: d,
440946
+ getCommentCellUI: h,
440947
+ isReadOnly: t,
440948
+ toggleTemplateSidebar: n,
440949
+ onboardingComplete: i,
440950
+ onboardingHandler: o,
440951
+ dataBlockApiKeyHandler: c,
440952
+ exportDropdownOpen: s,
440953
+ setExportDropdownOpen: l,
440954
+ dsheetId: u,
440955
+ storeApiKey: g,
440956
+ allowComments: a,
440957
+ onDataBlockApiResponse: y,
440958
+ onDuneChartEmbed: b,
440959
+ onSheetCountChange: w
440960
+ }
440961
+ )
440962
+ ] })
440963
+ ] })
440970
440964
  ]
440971
440965
  }
440972
440966
  );