@fileverse-dev/dsheet 2.1.2-dropIn-4 → 2.1.2-dropIn-5

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.
@@ -51435,7 +51435,7 @@ const Do = ({
51435
51435
  }, v.readAsText(h);
51436
51436
  });
51437
51437
  }, Mm = async (e, t, n, r) => {
51438
- const { handleExportToXLSX: o } = await import("./xlsx-export-impl-Byjjs1do.js");
51438
+ const { handleExportToXLSX: o } = await import("./xlsx-export-impl-DXIj7EEk.js");
51439
51439
  return o(e, t, n, r);
51440
51440
  }, pM = (e) => {
51441
51441
  var n;
@@ -51510,7 +51510,7 @@ const Do = ({
51510
51510
  const [c, i] = Ee(!1);
51511
51511
  return { handleXLSXUpload: _e(
51512
51512
  async (d, u, f) => {
51513
- const { runXlsxFileUpload: h } = await import("./use-xlsx-import-impl-DfXuAuWm.js");
51513
+ const { runXlsxFileUpload: h } = await import("./use-xlsx-import-impl-CLQyfm8_.js");
51514
51514
  return h(
51515
51515
  {
51516
51516
  sheetEditorRef: e,
@@ -54128,7 +54128,7 @@ const bL = ({ userName: e }) => {
54128
54128
  return M.has(U) || M.add(U), M;
54129
54129
  });
54130
54130
  };
54131
- return m ? /* @__PURE__ */ l.jsxs("div", { children: [
54131
+ return d ? m ? /* @__PURE__ */ l.jsxs("div", { children: [
54132
54132
  /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2 px-2 py-2 border-b color-border-default", children: [
54133
54133
  /* @__PURE__ */ l.jsx(
54134
54134
  Xu,
@@ -54219,7 +54219,7 @@ const bL = ({ userName: e }) => {
54219
54219
  comment: O,
54220
54220
  sheetName: M == null ? void 0 : M.displayName,
54221
54221
  cellReference: B,
54222
- onAction: a || !d ? void 0 : o,
54222
+ onAction: a ? void 0 : o,
54223
54223
  ownerAddress: s,
54224
54224
  currentUserAddress: c,
54225
54225
  isOwner: i,
@@ -54233,7 +54233,7 @@ const bL = ({ userName: e }) => {
54233
54233
  f === U ? /* @__PURE__ */ l.jsx("div", { className: "pl-[32px]", children: O.isResolved ? /* @__PURE__ */ l.jsx("div", { className: "mt-3 p-3 bg-gray-50 border rounded-lg", children: /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2 text-sm text-gray-600", children: [
54234
54234
  /* @__PURE__ */ l.jsx($e, { name: "CheckCircle", size: "sm" }),
54235
54235
  /* @__PURE__ */ l.jsx("span", { children: "This thread has been resolved. No new replies can be added." })
54236
- ] }) }) : d ? /* @__PURE__ */ l.jsx(
54236
+ ] }) }) : /* @__PURE__ */ l.jsx(
54237
54237
  bi,
54238
54238
  {
54239
54239
  id: "sidebar-comment-edit",
@@ -54241,7 +54241,7 @@ const bL = ({ userName: e }) => {
54241
54241
  autoFocus: !0,
54242
54242
  backgroundColor: "white"
54243
54243
  }
54244
- ) : null }) : O.replies.length <= 0 ? /* @__PURE__ */ l.jsx("div", { className: "pl-[32px]", children: d && _.has(U) && !O.isResolved && /* @__PURE__ */ l.jsx(
54244
+ ) }) : O.replies.length <= 0 ? /* @__PURE__ */ l.jsx("div", { className: "pl-[32px]", children: _.has(U) && !O.isResolved && /* @__PURE__ */ l.jsx(
54245
54245
  bi,
54246
54246
  {
54247
54247
  id: "sidebar-comment-edit",
@@ -54288,7 +54288,7 @@ const bL = ({ userName: e }) => {
54288
54288
  U
54289
54289
  );
54290
54290
  }) }),
54291
- d ? /* @__PURE__ */ l.jsxs("div", { className: "border-t p-2 space-lg", children: [
54291
+ /* @__PURE__ */ l.jsxs("div", { className: "border-t p-2 space-lg", children: [
54292
54292
  /* @__PURE__ */ l.jsxs("div", { className: "flex justify-start items-center gap-2", children: [
54293
54293
  /* @__PURE__ */ l.jsx("div", { className: "flex items-center justify-center w-6 h-6", children: /* @__PURE__ */ l.jsx(gf, { size: "md", content: "text", alt: t }, t) }),
54294
54294
  /* @__PURE__ */ l.jsx("div", { className: "flex flex-col p-2", children: /* @__PURE__ */ l.jsx("span", { className: "text-body-sm-bold inline-flex items-center gap-1 force-font", children: /* @__PURE__ */ l.jsx(bL, { userName: t }) }) })
@@ -54307,8 +54307,8 @@ const bL = ({ userName: e }) => {
54307
54307
  className: "mt-2"
54308
54308
  }
54309
54309
  )
54310
- ] }) : /* @__PURE__ */ l.jsx("div", { className: "border-t", children: u ?? null })
54311
- ] }) : /* @__PURE__ */ l.jsx(wL, { setShowComment: p });
54310
+ ] })
54311
+ ] }) : /* @__PURE__ */ l.jsx(wL, { setShowComment: p }) : /* @__PURE__ */ l.jsx("div", { className: "flex h-full w-full items-center justify-center", children: u ?? null });
54312
54312
  }, _L = ({
54313
54313
  setShowFetchURLModal: e,
54314
54314
  renderNavbar: t,
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, T as S, e as d, f as i, g as c, h, j as m, k as C, l as u, n as p, o as E, p as F, q as g, r as x, s as R, t as f, u as A, v as I, w as L, x as w, z as T, A as b, B as v, D, E as M, F as k, G as V, H as z, I as P, J as U, K as X } from "./index-CT9N3iTI.js";
1
+ import { C as s, a as t, b as o, S as r, d as l, i as n, T as S, e as d, f as i, g as c, h, j as m, k as C, l as u, n as p, o as E, p as F, q as g, r as x, s as R, t as f, u as A, v as I, w as L, x as w, z as T, A as b, B as v, D, E as M, F as k, G as V, H as z, I as P, J as U, K as X } from "./index-BDaOOD6V.js";
2
2
  import { bQ as y, bR as B, bS as G, ar as H, bh as O, e as j, f as q, h as J, a as K, cf as N, aq as Q, cm as Y } from "./executeStringFunction-CGbxAbbw.js";
3
3
  import { FLVURL as W } from "@fileverse-dev/formulajs";
4
4
  import { E as ee, S as ae } from "./constants-yStXQJiK.js";
@@ -1,6 +1,6 @@
1
1
  import { g as Ue } from "./executeStringFunction-CGbxAbbw.js";
2
2
  import * as qe from "yjs";
3
- import { m as Xe, y as Ze } from "./index-CT9N3iTI.js";
3
+ import { m as Xe, y as Ze } from "./index-BDaOOD6V.js";
4
4
  import { n as Je } from "./xlsx-hyperlink-inline-DzewAypN.js";
5
5
  import { toast as Be } from "@fileverse/ui";
6
6
  var We = { 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-CGbxAbbw.js";
6
- import { c as Ct } from "./index-CT9N3iTI.js";
6
+ import { c as Ct } from "./index-BDaOOD6V.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": "2.1.2-dropIn-4",
5
+ "version": "2.1.2-dropIn-5",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {