@fileverse-dev/dsheet 3.0.1 → 3.0.2

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.
@@ -52649,7 +52649,7 @@ const Cn = ({
52649
52649
  }, V.readAsText(b);
52650
52650
  });
52651
52651
  }, GZ = async (e, t, l, i) => {
52652
- const { handleExportToXLSX: n } = await import("./xlsx-export-impl-wtT-xTA3.js");
52652
+ const { handleExportToXLSX: n } = await import("./xlsx-export-impl-DfQuhamE.js");
52653
52653
  return n(e, t, l, i);
52654
52654
  }, fN = (e) => {
52655
52655
  var l;
@@ -52724,7 +52724,7 @@ const Cn = ({
52724
52724
  const [d, o] = Ve(!1);
52725
52725
  return { handleXLSXUpload: Ye(
52726
52726
  async (u, r, m) => {
52727
- const { runXlsxFileUpload: h } = await import("./use-xlsx-import-impl-CyZXfYLs.js");
52727
+ const { runXlsxFileUpload: h } = await import("./use-xlsx-import-impl-BsL90Hs0.js");
52728
52728
  return h(
52729
52729
  {
52730
52730
  sheetEditorRef: e,
@@ -53945,7 +53945,7 @@ const eT = ({
53945
53945
  smartContract: te
53946
53946
  } = sa(), $ = we(!1), J = we(r);
53947
53947
  J.current = r;
53948
- const E = !!r, P = E, R = Ye(
53948
+ const E = !!r, P = !(r != null && r.disabled), R = Ye(
53949
53949
  (z, se) => {
53950
53950
  EN(p, z, se);
53951
53951
  },
@@ -57295,7 +57295,7 @@ const jT = ({ textToCopy: e }) => /* @__PURE__ */ c.jsx(
57295
57295
  {
57296
57296
  className: "dsheet-permission-chip-wrap absolute top-2 right-4 z-20",
57297
57297
  "data-testid": "dsheet-permission-chip-wrap",
57298
- children: /* @__PURE__ */ c.jsx(dT, { allowComments: !!h })
57298
+ children: /* @__PURE__ */ c.jsx(dT, { allowComments: !(h != null && h.disabled) })
57299
57299
  }
57300
57300
  ),
57301
57301
  /* @__PURE__ */ c.jsx(
@@ -57573,7 +57573,7 @@ async function NK(e, t) {
57573
57573
  { suppressUiWarnings: !0 }
57574
57574
  );
57575
57575
  else {
57576
- const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-CyZXfYLs.js");
57576
+ const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-BsL90Hs0.js");
57577
57577
  await m(
57578
57578
  {
57579
57579
  sheetEditorRef: d,
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as s, a as t, b as o, S as r, d as l, i as n, e as i, T as d, f as S, g as c, h, j as m, k as p, l as C, n as u, o as E, p as F, q as g, s as x, t as R, u as L, v as f, w as A, x as I, z as w, A as T, B as b, D as v, E as M, F as D, G as k, H as V, I as X, J as z, K as P, L as U, M as _, N as y } from "./index-Enuo_ZOm.js";
1
+ import { C as s, a as t, b as o, S as r, d as l, i as n, e as i, T as d, f as S, g as c, h, j as m, k as p, l as C, n as u, o as E, p as F, q as g, s as x, t as R, u as L, v as f, w as A, x as I, z as w, A as T, B as b, D as v, E as M, F as D, G as k, H as V, I as X, J as z, K as P, L as U, M as _, N as y } from "./index-Dql-IRPC.js";
2
2
  import { bW as G, bX as H, bY as O, c0 as j, bi as J, e as K, f as N, h as Y, a as q, cm as W, as as Z, cu as Q } from "./executeStringFunction-C5hEkx9z.js";
3
3
  import { FLVURL as ee } from "@fileverse-dev/formulajs";
4
4
  import { E as se, S as te } from "./constants-Q8nzbvQO.js";
@@ -1,6 +1,6 @@
1
1
  import { g as Ze } from "./executeStringFunction-C5hEkx9z.js";
2
2
  import * as Je from "yjs";
3
- import { m as Qe, y as Ke, r as et } from "./index-Enuo_ZOm.js";
3
+ import { m as Qe, y as Ke, r as et } from "./index-Dql-IRPC.js";
4
4
  import { n as tt } from "./xlsx-hyperlink-inline-DzewAypN.js";
5
5
  import { toast as Ie } from "@fileverse/ui";
6
6
  var ze = { exports: {} };
@@ -3,7 +3,7 @@ import { Workbook as Pt } from "exceljs";
3
3
  import { toast as Ut } from "@fileverse/ui";
4
4
  import { addFortuneImagesToWorksheet as Lt } from "./xlsx-image-utils-Cvg0qxRA.js";
5
5
  import { g as jt, c as xt } from "./executeStringFunction-C5hEkx9z.js";
6
- import { c as Ct } from "./index-Enuo_ZOm.js";
6
+ import { c as Ct } from "./index-Dql-IRPC.js";
7
7
  import { c as zt, g as Wt } from "./xlsx-hyperlink-inline-DzewAypN.js";
8
8
  const Mt = {
9
9
  1: "thin",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "3.0.1",
5
+ "version": "3.0.2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -112,4 +112,4 @@
112
112
  "typescript": "^5.2.2",
113
113
  "vite": "^5.0.0"
114
114
  }
115
- }
115
+ }