@fileverse-dev/dsheet 4.0.5-edit-mode-12 → 4.0.5-edit-mode-13

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.
@@ -51067,7 +51067,7 @@ const WN = ({
51067
51067
  }, V.readAsText(b);
51068
51068
  });
51069
51069
  }, IZ = async (e, t, l, i) => {
51070
- const { handleExportToXLSX: n } = await import("./xlsx-export-impl-FuZcrQ2a.js");
51070
+ const { handleExportToXLSX: n } = await import("./xlsx-export-impl-hYSXSJi0.js");
51071
51071
  return n(e, t, l, i);
51072
51072
  }, vr = (e) => {
51073
51073
  Cy({
@@ -51159,7 +51159,7 @@ const WN = ({
51159
51159
  const [o, d] = ge(!1);
51160
51160
  return { handleXLSXUpload: We(
51161
51161
  async (r, m, h) => {
51162
- const { runXlsxFileUpload: b } = await import("./use-xlsx-import-impl-B73ILpg3.js");
51162
+ const { runXlsxFileUpload: b } = await import("./use-xlsx-import-impl-DYqbWGKI.js");
51163
51163
  return b(
51164
51164
  {
51165
51165
  sheetEditorRef: e,
@@ -54190,10 +54190,10 @@ function $j(e, t) {
54190
54190
  return i.top >= l.top && i.left >= l.left && i.bottom <= l.bottom && i.right <= l.right;
54191
54191
  }
54192
54192
  const e7 = ({ userName: e }) => {
54193
- const { name: t, isEns: l } = cb(e);
54193
+ const { name: t, isEns: l } = cb(e), n = /^0x[a-fA-F0-9]{40}$/.test(t) ? `${t.slice(0, 5)}...${t.slice(-4)}` : t;
54194
54194
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
54195
- t,
54196
- l && /* @__PURE__ */ s.jsx("div", { title: "Verified ENS name", className: "flex items-center", children: /* @__PURE__ */ s.jsx(Ee, { name: "BadgeCheck", size: "sm", className: "text-blue-500" }) })
54195
+ /* @__PURE__ */ s.jsx("span", { className: "min-w-0 truncate", title: t, children: n }),
54196
+ l && /* @__PURE__ */ s.jsx("div", { title: "Verified ENS name", className: "flex shrink-0 items-center", children: /* @__PURE__ */ s.jsx(Ee, { name: "BadgeCheck", size: "sm", className: "text-blue-500" }) })
54197
54197
  ] });
54198
54198
  }, vZ = (e, t) => {
54199
54199
  if (e.includes("WITHOUT")) return null;
@@ -54481,9 +54481,9 @@ const e7 = ({ userName: e }) => {
54481
54481
  );
54482
54482
  }) }),
54483
54483
  /* @__PURE__ */ s.jsxs("div", { className: "border-t p-2 space-lg", children: [
54484
- /* @__PURE__ */ s.jsxs("div", { className: "flex justify-start items-center gap-2", children: [
54485
- /* @__PURE__ */ s.jsx("div", { className: "flex items-center justify-center w-6 h-6", children: /* @__PURE__ */ s.jsx(Jm, { size: "md", content: "text", alt: t }, t) }),
54486
- /* @__PURE__ */ s.jsx("div", { className: "flex flex-col p-2", children: /* @__PURE__ */ s.jsx("span", { className: "text-body-sm-bold inline-flex items-center gap-1 force-font", children: /* @__PURE__ */ s.jsx(e7, { userName: t }) }) })
54484
+ /* @__PURE__ */ s.jsxs("div", { className: "flex min-w-0 items-center justify-start gap-2", children: [
54485
+ /* @__PURE__ */ s.jsx("div", { className: "flex h-6 w-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ s.jsx(Jm, { size: "md", content: "text", alt: t }, t) }),
54486
+ /* @__PURE__ */ s.jsx("div", { className: "flex min-w-0 flex-1 flex-col p-2", children: /* @__PURE__ */ s.jsx("span", { className: "text-body-sm-bold force-font inline-flex min-w-0 items-center gap-1", children: /* @__PURE__ */ s.jsx(e7, { userName: t }) }) })
54487
54487
  ] }),
54488
54488
  /* @__PURE__ */ s.jsx(
54489
54489
  Gc,
@@ -56622,7 +56622,7 @@ async function mz(e, t) {
56622
56622
  { suppressUiWarnings: !0 }
56623
56623
  );
56624
56624
  else {
56625
- const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-B73ILpg3.js");
56625
+ const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-DYqbWGKI.js");
56626
56626
  await m(
56627
56627
  {
56628
56628
  sheetEditorRef: a,
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as s, d as o, f as t, S as r, g as l, h as d, j as n, T as i, k as S, l as c, n as h, o as m, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A as f, B as I, D as L, E as w, F as A, G as y, H as T, I as v, J as M, K as D, L as b, M as k, N as V } from "./index-D7psIU8B.js";
1
+ import { C as s, d as o, f as t, S as r, g as l, h as d, j as n, T as i, k as S, l as c, n as h, o as m, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A as f, B as I, D as L, E as w, F as A, G as y, H as T, I as v, J as M, K as D, L as b, M as k, N as V } from "./index-SD570TY0.js";
2
2
  import { cw as G, cx as K, cy as P, cE as U, bq as X, e as _, f as j, l as B, a as H, dg as O, dh as q, b9 as J, di as N, dj as Y, dn as Z, dp as Q, dr as W, I as $, dG as ee, ed as ae, b2 as se } from "./executeStringFunction-B6fhDKyN.js";
3
3
  import { FLVURL as te } from "@fileverse-dev/formulajs";
4
4
  import { E as le, S as de } from "./constants-CRFfbkoQ.js";
@@ -1,10 +1,10 @@
1
1
  import * as BZ from "yjs";
2
- import { i as Yl, a as hl, s as eZ, r as ul, y as Il, b as pl, m as Rl } from "./index-D7psIU8B.js";
2
+ import { i as Yl, a as hl, s as eZ, r as ul, y as Il, b as pl, m as Rl } from "./index-SD570TY0.js";
3
3
  import { g as sl } from "./executeStringFunction-B6fhDKyN.js";
4
4
  import { Workbook as al } from "exceljs";
5
5
  import Kl from "luckyexcel";
6
- import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-Cdizm_s4.js";
7
- import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-Bl8Y-KEV.js";
6
+ import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-C6xGZ4JM.js";
7
+ import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-23YzHCIr.js";
8
8
  import { toast as fZ } from "@fileverse/ui";
9
9
  var Zl = { exports: {} };
10
10
  (function(c) {
@@ -1,5 +1,5 @@
1
1
  import { i as w } from "./executeStringFunction-B6fhDKyN.js";
2
- import { J as x } from "./xlsx-hyperlink-inline-Cdizm_s4.js";
2
+ import { J as x } from "./xlsx-hyperlink-inline-C6xGZ4JM.js";
3
3
  function g(o) {
4
4
  return o.startsWith("_xlnm.");
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import { utils as F, write as it } from "xlsx-js-style";
2
2
  import { Workbook as ct } from "exceljs";
3
3
  import { toast as nt } from "@fileverse/ui";
4
- import { J as ft, c as X, g as ut, a as pt } from "./xlsx-hyperlink-inline-Cdizm_s4.js";
4
+ import { J as ft, c as X, g as ut, a as pt } from "./xlsx-hyperlink-inline-C6xGZ4JM.js";
5
5
  import { b as dt } from "./executeStringFunction-B6fhDKyN.js";
6
- import { e as ht } from "./index-D7psIU8B.js";
6
+ import { e as ht } from "./index-SD570TY0.js";
7
7
  const mt = {
8
8
  1: "thin",
9
9
  2: "hair",
@@ -806,7 +806,7 @@ const Y = (e) => {
806
806
  D
807
807
  );
808
808
  });
809
- const { applyDefinedNamesToExcelWorkbook: ot } = await import("./xlsx-defined-names-Bl8Y-KEV.js");
809
+ const { applyDefinedNamesToExcelWorkbook: ot } = await import("./xlsx-defined-names-23YzHCIr.js");
810
810
  ot(
811
811
  P,
812
812
  (T = (a = (d = e.current).getWorkbookContext) == null ? void 0 : a.call(d)) == null ? void 0 : T.definedNames,
@@ -1,5 +1,5 @@
1
1
  import { g as Rt, c as yt } from "./executeStringFunction-B6fhDKyN.js";
2
- import { c as wt } from "./index-D7psIU8B.js";
2
+ import { c as wt } from "./index-SD570TY0.js";
3
3
  function jt(J, nt) {
4
4
  const g = J.getImages();
5
5
  if (!g.length) return [];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "4.0.5-edit-mode-12",
5
+ "version": "4.0.5-edit-mode-13",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {