@fileverse-dev/dsheet 4.0.1-ref → 4.0.1-ref-a
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/{executeStringFunction-CCpEDh3D.js → executeStringFunction-JL-vGAz-.js} +842 -837
- package/dist/formula.js +1 -1
- package/dist/{index-Sxwr9Syr.js → index-CqA9CUoj.js} +4 -4
- package/dist/index.es.js +2 -2
- package/dist/{jszip.min-DHgf03FP.js → jszip.min-DPkPshCi.js} +2 -2
- package/dist/{use-xlsx-import-impl-DV7gsVeb.js → use-xlsx-import-impl-C0gpD_oL.js} +4 -4
- package/dist/{xlsx-defined-names-_KUWFAe9.js → xlsx-defined-names-CRkU-ioT.js} +2 -2
- package/dist/{xlsx-export-impl-BCGdJj_E.js → xlsx-export-impl-DbfoYbEU.js} +3 -3
- package/package.json +1 -1
package/dist/formula.js
CHANGED
|
@@ -2,7 +2,7 @@ var zW = Object.defineProperty;
|
|
|
2
2
|
var OW = (e, t, l) => t in e ? zW(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
|
|
3
3
|
var Je = (e, t, l) => OW(e, typeof t != "symbol" ? t + "" : t, l);
|
|
4
4
|
import vt, { useRef as Ye, useContext as mt, useState as ge, useMemo as st, useEffect as Ve, useCallback as fe, useLayoutEffect as yl, forwardRef as em, createElement as Br, useSyncExternalStore as EW, useImperativeHandle as DW, createContext as tm, memo as PW } from "react";
|
|
5
|
-
import { g as Uc, a as Ne, d as At, r as qt, h as uo, j as zt, k as Td, i as di, l as Ee, m as Ka, n as vr, o as hZ, p as ti, q as Kd, s as is, S as Ud, t as qo, v as QW, u as lm, w as AW, x as gi, y as qW, z as Ni, A as Jt, B as Kn, C as im, D as Mc, E as _W, F as jc, G as $W, H as Vt, I as Ut, J as bZ, K as ll, L as un, M as eg, N as Ua, O as Ql, P as Bi, Q as Rl, R as _t, T as vi, U as Qh, V as nm, W as tg, X as zc, Y as ds, Z as mn, _ as Ah, $ as Hn, a0 as lg, a1 as ZZ, a2 as Oc, a3 as Ma, a4 as IZ, a5 as Hi, a6 as ig, a7 as rs, a8 as ng, a9 as Ti, aa as Zl, ab as pl, ac as fs, ad as _o, ae as sg, af as ri, ag as sm, ah as cm, ai as cg, aj as yZ, ak as pZ, al as GZ, am as WZ, an as gZ, ao as $o, ap as kr, aq as XZ, ar as fZ, as as ea, at as VZ, au as xZ, av as og, aw as Vs, ax as YZ, ay as SZ, az as RZ, aA as LZ, aB as wZ, aC as CZ, aD as ag, aE as HZ, aF as JZ, aG as BZ, aH as vZ, aI as dg, aJ as kZ, aK as FZ, aL as om, aM as us, aN as ms, aO as NZ, aP as am, aQ as TZ, aR as KZ, aS as UZ, aT as MZ, aU as rg, aV as ja, aW as ug, aX as jZ, aY as za, aZ as Ui, a_ as mo, a$ as mg, b0 as dm, b1 as ns, b2 as $i, b3 as hg, b4 as bg, b5 as Ic, b6 as Zg, b7 as Ig, b8 as Md, b9 as rm, ba as yg, bb as pg, bc as Gg, bd as Wg, be as gg, bf as Oa, bg as Pl, bh as Ll, bi as il, bj as hs, bk as um, bl as yc, bm as tl, bn as Xg, bo as Ea, bp as bs, bq as mm, br as Dl, bs as Da, bt as hn, bu as Pa, bv as ta, bw as Un, bx as fg, by as hm, bz as bm, bA as Zm, bB as Vg, bC as Sn, bD as zl, bE as Qa, bF as xg, bG as Aa, bH as zZ, bI as Gi, bJ as Jn, bK as _n, bL as la, bM as Yg, bN as Sg, bO as xl, bP as Rg, bQ as pc, bR as Lg, bS as Ki, bT as Mn, bU as qa, bV as hl, bW as $t, bX as Ec, bY as Dc, bZ as OZ, b_ as EZ, b$ as Rn, c0 as _a, c1 as wg, c2 as Cg, c3 as Hg, c4 as Jg, c5 as Bg, c6 as vg, c7 as kg, c8 as Fg, c9 as Ng, ca as ia, cb as Ul, cc as Tg, cd as DZ, ce as PZ, cf as Kg, cg as Ug, ch as QZ, ci as $n, cj as Fr, ck as Mg, cl as AZ, cm as qZ, cn as jg, co as _Z, cp as Im, cq as $Z, cr as eI, cs as zg, ct as $a, cu as tI, cv as ym, cw as lI, cx as iI, cy as nI, cz as sI, cA as cI, cB as pm, cC as ed, cD as oI, cE as Ol, cF as Gm, cG as Wm, cH as Og, cI as aI, cJ as dI, cK as cn, cL as ki, cM as td, cN as Eg, cO as rI, cP as on, cQ as an, cR as ko, cS as Dg, cT as na, cU as Pg, cV as uI, cW as mI, cX as Qg, cY as sa, cZ as gm, c_ as hI, c$ as Ag, d0 as bI, d1 as ZI, d2 as II, d3 as qg, d4 as _g, d5 as yI, d6 as Nr, d7 as pI, d8 as GI, d9 as $g, da as eX, db as WI, dc as tX, dd as lX, de as Tr, df as ld, dg as Kr, dh as gI, di as es, dj as iX, dk as nX, dl as XI, dm as fI, dn as VI, dp as xI, dq as YI, dr as Xi, ds as sX, dt as cX, du as SI, dv as RI, dw as LI, dx as Xm, dy as wI, dz as oX, dA as aX, dB as ca, dC as CI, dD as dX, dE as rX, dF as uX, dG as HI, dH as Ur, dI as JI, dJ as Ci, dK as BI, dL as vI, dM as kI, dN as mX, dO as Mr, dP as Gc, dQ as hX, dR as FI, dS as NI, dT as jr, dU as bX, dV as zr, dW as ZX, dX as oa, dY as fm, dZ as Vm, d_ as xm, d$ as Or, e0 as TI, e1 as KI, e2 as UI, e3 as IX, e4 as yX, e5 as pX, e6 as GX, e7 as WX, e8 as Wc, e9 as gc, ea as ts, eb as MI, ec as gX, ed as jI, ee as zI, ef as Er, eg as OI, eh as EI, ei as XX, ej as DI, ek as PI, el as QI, em as AI, c as en, en as fX, eo as VX, ep as xX, eq as YX, er as SX, es as jd, et as RX, eu as LX, ev as wX, ew as CX, ex as HX, e as Ym, f as id, ey as JX, ez as BX, eA as qh, eB as _h, eC as $h, eD as eb, eE as vX, eF as kX, eG as tb } from "./executeStringFunction-
|
|
5
|
+
import { g as Uc, a as Ne, d as At, r as qt, h as uo, j as zt, k as Td, i as di, l as Ee, m as Ka, n as vr, o as hZ, p as ti, q as Kd, s as is, S as Ud, t as qo, v as QW, u as lm, w as AW, x as gi, y as qW, z as Ni, A as Jt, B as Kn, C as im, D as Mc, E as _W, F as jc, G as $W, H as Vt, I as Ut, J as bZ, K as ll, L as un, M as eg, N as Ua, O as Ql, P as Bi, Q as Rl, R as _t, T as vi, U as Qh, V as nm, W as tg, X as zc, Y as ds, Z as mn, _ as Ah, $ as Hn, a0 as lg, a1 as ZZ, a2 as Oc, a3 as Ma, a4 as IZ, a5 as Hi, a6 as ig, a7 as rs, a8 as ng, a9 as Ti, aa as Zl, ab as pl, ac as fs, ad as _o, ae as sg, af as ri, ag as sm, ah as cm, ai as cg, aj as yZ, ak as pZ, al as GZ, am as WZ, an as gZ, ao as $o, ap as kr, aq as XZ, ar as fZ, as as ea, at as VZ, au as xZ, av as og, aw as Vs, ax as YZ, ay as SZ, az as RZ, aA as LZ, aB as wZ, aC as CZ, aD as ag, aE as HZ, aF as JZ, aG as BZ, aH as vZ, aI as dg, aJ as kZ, aK as FZ, aL as om, aM as us, aN as ms, aO as NZ, aP as am, aQ as TZ, aR as KZ, aS as UZ, aT as MZ, aU as rg, aV as ja, aW as ug, aX as jZ, aY as za, aZ as Ui, a_ as mo, a$ as mg, b0 as dm, b1 as ns, b2 as $i, b3 as hg, b4 as bg, b5 as Ic, b6 as Zg, b7 as Ig, b8 as Md, b9 as rm, ba as yg, bb as pg, bc as Gg, bd as Wg, be as gg, bf as Oa, bg as Pl, bh as Ll, bi as il, bj as hs, bk as um, bl as yc, bm as tl, bn as Xg, bo as Ea, bp as bs, bq as mm, br as Dl, bs as Da, bt as hn, bu as Pa, bv as ta, bw as Un, bx as fg, by as hm, bz as bm, bA as Zm, bB as Vg, bC as Sn, bD as zl, bE as Qa, bF as xg, bG as Aa, bH as zZ, bI as Gi, bJ as Jn, bK as _n, bL as la, bM as Yg, bN as Sg, bO as xl, bP as Rg, bQ as pc, bR as Lg, bS as Ki, bT as Mn, bU as qa, bV as hl, bW as $t, bX as Ec, bY as Dc, bZ as OZ, b_ as EZ, b$ as Rn, c0 as _a, c1 as wg, c2 as Cg, c3 as Hg, c4 as Jg, c5 as Bg, c6 as vg, c7 as kg, c8 as Fg, c9 as Ng, ca as ia, cb as Ul, cc as Tg, cd as DZ, ce as PZ, cf as Kg, cg as Ug, ch as QZ, ci as $n, cj as Fr, ck as Mg, cl as AZ, cm as qZ, cn as jg, co as _Z, cp as Im, cq as $Z, cr as eI, cs as zg, ct as $a, cu as tI, cv as ym, cw as lI, cx as iI, cy as nI, cz as sI, cA as cI, cB as pm, cC as ed, cD as oI, cE as Ol, cF as Gm, cG as Wm, cH as Og, cI as aI, cJ as dI, cK as cn, cL as ki, cM as td, cN as Eg, cO as rI, cP as on, cQ as an, cR as ko, cS as Dg, cT as na, cU as Pg, cV as uI, cW as mI, cX as Qg, cY as sa, cZ as gm, c_ as hI, c$ as Ag, d0 as bI, d1 as ZI, d2 as II, d3 as qg, d4 as _g, d5 as yI, d6 as Nr, d7 as pI, d8 as GI, d9 as $g, da as eX, db as WI, dc as tX, dd as lX, de as Tr, df as ld, dg as Kr, dh as gI, di as es, dj as iX, dk as nX, dl as XI, dm as fI, dn as VI, dp as xI, dq as YI, dr as Xi, ds as sX, dt as cX, du as SI, dv as RI, dw as LI, dx as Xm, dy as wI, dz as oX, dA as aX, dB as ca, dC as CI, dD as dX, dE as rX, dF as uX, dG as HI, dH as Ur, dI as JI, dJ as Ci, dK as BI, dL as vI, dM as kI, dN as mX, dO as Mr, dP as Gc, dQ as hX, dR as FI, dS as NI, dT as jr, dU as bX, dV as zr, dW as ZX, dX as oa, dY as fm, dZ as Vm, d_ as xm, d$ as Or, e0 as TI, e1 as KI, e2 as UI, e3 as IX, e4 as yX, e5 as pX, e6 as GX, e7 as WX, e8 as Wc, e9 as gc, ea as ts, eb as MI, ec as gX, ed as jI, ee as zI, ef as Er, eg as OI, eh as EI, ei as XX, ej as DI, ek as PI, el as QI, em as AI, c as en, en as fX, eo as VX, ep as xX, eq as YX, er as SX, es as jd, et as RX, eu as LX, ev as wX, ew as CX, ex as HX, e as Ym, f as id, ey as JX, ez as BX, eA as qh, eB as _h, eC as $h, eD as eb, eE as vX, eF as kX, eG as tb } from "./executeStringFunction-JL-vGAz-.js";
|
|
6
6
|
import * as Be from "yjs";
|
|
7
7
|
import { p as Dr, E as qI, C as FX, a as lb, D as _I, H as NX, b as TX, T as KX } from "./constants-Cdz6oSCq.js";
|
|
8
8
|
import { t as ai, f as ii, s as UX, u as MX, m as jX } from "./persistence-utils-DsM_MOB1.js";
|
|
@@ -50405,7 +50405,7 @@ const gN = ({
|
|
|
50405
50405
|
}, f.readAsText(b);
|
|
50406
50406
|
});
|
|
50407
50407
|
}, q1 = async (e, t, l, i) => {
|
|
50408
|
-
const { handleExportToXLSX: n } = await import("./xlsx-export-impl-
|
|
50408
|
+
const { handleExportToXLSX: n } = await import("./xlsx-export-impl-DbfoYbEU.js");
|
|
50409
50409
|
return n(e, t, l, i);
|
|
50410
50410
|
}, Lr = (e) => {
|
|
50411
50411
|
ty({
|
|
@@ -50497,7 +50497,7 @@ const gN = ({
|
|
|
50497
50497
|
const [o, d] = ge(!1);
|
|
50498
50498
|
return { handleXLSXUpload: fe(
|
|
50499
50499
|
async (r, m, h) => {
|
|
50500
|
-
const { runXlsxFileUpload: b } = await import("./use-xlsx-import-impl-
|
|
50500
|
+
const { runXlsxFileUpload: b } = await import("./use-xlsx-import-impl-C0gpD_oL.js");
|
|
50501
50501
|
return b(
|
|
50502
50502
|
{
|
|
50503
50503
|
sheetEditorRef: e,
|
|
@@ -55433,7 +55433,7 @@ async function UK(e, t) {
|
|
|
55433
55433
|
{ suppressUiWarnings: !0 }
|
|
55434
55434
|
);
|
|
55435
55435
|
else {
|
|
55436
|
-
const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-
|
|
55436
|
+
const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-C0gpD_oL.js");
|
|
55437
55437
|
await m(
|
|
55438
55438
|
{
|
|
55439
55439
|
sheetEditorRef: a,
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s, a as t, b as o, S as r, d as l, i as d, e as n, T as i, f as S, g as c, h, j as m, k as p, l as C, n as u, o as E, p as g, q as F, s as x, t as R, u as f, v as w, w as A, x as I, z as L, A as T, B as v, D as b, E as D } from "./index-
|
|
2
|
-
import { cw as k, cx as V, cy as y, cE as z, bq as P, e as U, f as X, l as _, a as j, dg as B, dh as G, b9 as O, di as q, dj as H, dn as J, dp as K, dr as N, I as Y, dG as Z, ed as Q, b2 as W } from "./executeStringFunction-
|
|
1
|
+
import { C as s, a as t, b as o, S as r, d as l, i as d, e as n, T as i, f as S, g as c, h, j as m, k as p, l as C, n as u, o as E, p as g, q as F, s as x, t as R, u as f, v as w, w as A, x as I, z as L, A as T, B as v, D as b, E as D } from "./index-CqA9CUoj.js";
|
|
2
|
+
import { cw as k, cx as V, cy as y, cE as z, bq as P, e as U, f as X, l as _, a as j, dg as B, dh as G, b9 as O, di as q, dj as H, dn as J, dp as K, dr as N, I as Y, dG as Z, ed as Q, b2 as W } from "./executeStringFunction-JL-vGAz-.js";
|
|
3
3
|
import { FLVURL as ee } from "@fileverse-dev/formulajs";
|
|
4
4
|
import { E as se, S as te } from "./constants-Cdz6oSCq.js";
|
|
5
5
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as At, c as bt } from "./executeStringFunction-
|
|
2
|
-
import { c as vt } from "./index-
|
|
1
|
+
import { g as At, c as bt } from "./executeStringFunction-JL-vGAz-.js";
|
|
2
|
+
import { c as vt } from "./index-CqA9CUoj.js";
|
|
3
3
|
var xt = { exports: {} };
|
|
4
4
|
/*!
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as it } from "./executeStringFunction-
|
|
1
|
+
import { g as it } from "./executeStringFunction-JL-vGAz-.js";
|
|
2
2
|
import * as Je from "yjs";
|
|
3
|
-
import { m as ct, y as ot, r as lt } from "./index-
|
|
3
|
+
import { m as ct, y as ot, r as lt } from "./index-CqA9CUoj.js";
|
|
4
4
|
import { n as st } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
5
5
|
import { toast as Qe } from "@fileverse/ui";
|
|
6
6
|
var rt = { exports: {} };
|
|
@@ -1249,10 +1249,10 @@ async function Nt({
|
|
|
1249
1249
|
const {
|
|
1250
1250
|
parseDefinedNamesFromXlsxBuffer: be,
|
|
1251
1251
|
excelEntriesToDefinedNames: Ee
|
|
1252
|
-
} = await import("./xlsx-defined-names-
|
|
1252
|
+
} = await import("./xlsx-defined-names-CRkU-ioT.js"), {
|
|
1253
1253
|
syncDefinedNamesToYdoc: $e,
|
|
1254
1254
|
readDefinedNamesFromYdoc: Fe
|
|
1255
|
-
} = await import("./index-
|
|
1255
|
+
} = await import("./index-CqA9CUoj.js").then((e) => e.F), ke = await be(pe), Ve = (Ce = (re = (ie = (Te = ye.model) == null ? void 0 : Te.styles) == null ? void 0 : ie.fonts) == null ? void 0 : re[0]) == null ? void 0 : Ce.size, _e = {}, xe = {}, Oe = {}, r = {};
|
|
1256
1256
|
ye.eachSheet((e, t) => {
|
|
1257
1257
|
var D, G, ne;
|
|
1258
1258
|
const b = t - 1, a = {}, k = e.views;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as w } from "./executeStringFunction-
|
|
2
|
-
import { J as x } from "./jszip.min-
|
|
1
|
+
import { i as w } from "./executeStringFunction-JL-vGAz-.js";
|
|
2
|
+
import { J as x } from "./jszip.min-DPkPshCi.js";
|
|
3
3
|
function g(o) {
|
|
4
4
|
return o.startsWith("_xlnm.");
|
|
5
5
|
}
|
|
@@ -2,8 +2,8 @@ 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
4
|
import { addFortuneImagesToWorksheet as ft } from "./xlsx-image-utils-Cvg0qxRA.js";
|
|
5
|
-
import { J as ut } from "./jszip.min-
|
|
6
|
-
import { b as pt } from "./executeStringFunction-
|
|
5
|
+
import { J as ut } from "./jszip.min-DPkPshCi.js";
|
|
6
|
+
import { b as pt } from "./executeStringFunction-JL-vGAz-.js";
|
|
7
7
|
import { c as X, g as dt } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
8
8
|
const mt = {
|
|
9
9
|
1: "thin",
|
|
@@ -805,7 +805,7 @@ const Y = (e) => {
|
|
|
805
805
|
L
|
|
806
806
|
);
|
|
807
807
|
});
|
|
808
|
-
const { applyDefinedNamesToExcelWorkbook: ot } = await import("./xlsx-defined-names-
|
|
808
|
+
const { applyDefinedNamesToExcelWorkbook: ot } = await import("./xlsx-defined-names-CRkU-ioT.js");
|
|
809
809
|
ot(
|
|
810
810
|
P,
|
|
811
811
|
(T = (a = (d = e.current).getWorkbookContext) == null ? void 0 : a.call(d)) == null ? void 0 : T.definedNames,
|