@fileverse-dev/dsheet 4.1.25 → 4.1.26
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-BFhluxuv.js → executeStringFunction-KWYZ3QNg.js} +1473 -1457
- package/dist/formula.js +1 -1
- package/dist/{index-DvF1d0FL.js → index-BDSumZYk.js} +6 -6
- package/dist/index.es.js +2 -2
- package/dist/{use-xlsx-import-impl-B1LpQg4_.js → use-xlsx-import-impl-DN63dMYx.js} +4 -4
- package/dist/{xlsx-defined-names-D6F82dKD.js → xlsx-defined-names-DoOdrbDR.js} +2 -2
- package/dist/{xlsx-export-impl-DPszP_-s.js → xlsx-export-impl-l3bwAIHT.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-e7wlJvQ6.js → xlsx-hyperlink-inline-CJfom4ax.js} +2 -2
- package/package.json +1 -1
package/dist/formula.js
CHANGED
|
@@ -3,7 +3,7 @@ var cW = (e, t, l) => t in e ? sW(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Le = (e, t, l) => cW(e, typeof t != "symbol" ? t + "" : t, l);
|
|
4
4
|
import { jsx as a, jsxs as v, Fragment as Vt } from "react/jsx-runtime";
|
|
5
5
|
import vt, { useRef as Re, useContext as ht, useState as We, useMemo as it, useEffect as Xe, useCallback as Ge, useLayoutEffect as bl, forwardRef as rh, createElement as Od, useSyncExternalStore as rW, useImperativeHandle as aW, createContext as ah, memo as dW } from "react";
|
|
6
|
-
import { g as Xo, a as Me, d as Pt, r as At, h as cc, j as Ot, k as Ea, i as sn, l as Qe, m as Or, n as zd, o as op, p as _l, q as Da, s as lo, S as Pa, t as jc, v as uW, u as dh, w as hW, x as Zn, y as sp, z as kn, A as Ht, B as Ni, C as uh, D as Os, E as mW, F as zs, G as bW, H as Wt, I as Kt, J as cp, K as el, L as ui, M as ZW, N as zr, O as Al, P as Rn, Q as Yl, R as jt, T as Cn, U as Y1, V as hh, W as pW, X as Es, Y as ro, Z as hi, _ as x1, $ as Ci, a0 as IW, a1 as rp, a2 as Ds, a3 as Er, a4 as ap, a5 as wn, a6 as yW, a7 as ao, a8 as fW, a9 as Fn, aa as mh, ab as bh, ac as ml, ad as Zl, ae as Vo, af as Qc, ag as gW, ah as cn, ai as Zh, aj as ph, ak as GW, al as dp, am as up, an as hp, ao as mp, ap as bp, aq as qc, ar as Ed, as as Zp, at as pp, au as _c, av as Ip, aw as yp, ax as WW, ay as So, az as fp, aA as gp, aB as Gp, aC as Wp, aD as Xp, aE as Vp, aF as XW, aG as Sp, aH as Yp, aI as xp, aJ as wp, aK as VW, aL as Lp, aM as Rp, aN as Ih, aO as uo, aP as ho, aQ as Cp, aR as yh, aS as vp, aT as Bp, aU as Hp, aV as kp, aW as SW, aX as Dr, aY as YW, aZ as Fp, a_ as Ps, a$ as fn, b0 as rc, b1 as xW, b2 as fh, b3 as no, b4 as qn, b5 as wW, b6 as LW, b7 as fs, b8 as RW, b9 as CW, ba as Aa, bb as gh, bc as vW, bd as BW, be as HW, bf as kW, bg as FW, bh as Pr, bi as _n, bj as xl, bk as tl, bl as mo, bm as Gh, bn as JW, bo as TW, bp as Jp, bq as NW, br as gs, bs as vn, bt as $t, bu as UW, bv as Ar, bw as bo, bx as Wh, by as Pl, bz as jr, bA as mi, bB as Qr, bC as $c, bD as qr, bE as KW, bF as Xh, bG as Vh, bH as Sh, bI as MW, bJ as Ol, bK as OW, bL as Tp, bM as mn, bN as vi, bO as qi, bP as er, bQ as zW, bR as EW, bS as Vl, bT as DW, bU as Gs, bV as PW, bW as Jn, bX as Ui, bY as _r, bZ as ul, b_ as qt, b$ as As, c0 as js, c1 as Np, c2 as Up, c3 as Yi, c4 as $r, c5 as AW, c6 as jW, c7 as QW, c8 as qW, c9 as _W, ca as Bc, cb as $W, cc as e5, cd as t5, ce as l5, cf as tr, cg as Tl, ch as n5, ci as Kp, cj as Mp, ck as i5, cl as o5, cm as Op, cn as _i, co as Dd, cp as s5, cq as zp, cr as Ep, cs as c5, ct as Dp, cu as Yh, cv as Pp, cw as Ap, cx as r5, cy as ea, cz as jp, cA as xh, cB as Qp, cC as qp, cD as _p, cE as $p, cF as eI, cG as wh, cH as ta, cI as tI, cJ as El, cK as Lh, cL as Rh, cM as a5, cN as lI, cO as nI, cP as oi, cQ as Bn, cR as la, cS as d5, cT as iI, cU as si, cV as ci, cW as Hc, cX as u5, cY as h5, cZ as lr, c_ as m5, c$ as oI, d0 as sI, d1 as b5, d2 as nr, d3 as Ch, d4 as cI, d5 as Z5, d6 as vh, d7 as rI, d8 as aI, d9 as dI, da as p5, db as I5, dc as uI, dd as Pd, de as hI, df as mI, dg as y5, dh as f5, di as bI, dj as g5, dk as G5, dl as Ad, dm as na, dn as jd, dp as ZI, dq as $i, dr as W5, ds as X5, dt as pI, du as II, dv as yI, dw as fI, dx as gI, dy as pn, dz as V5, dA as Bh, dB as S5, dC as GI, dD as WI, dE as XI, dF as Hh, dG as VI, dH as Y5, dI as x5, dJ as ir, dK as SI, dL as w5, dM as L5, dN as R5, dO as YI, dP as Qd, dQ as xI, dR as jn, dS as wI, dT as LI, dU as RI, dV as C5, dW as qd, dX as Ws, dY as v5, dZ as CI, d_ as vI, d$ as _d, e0 as B5, e1 as $d, e2 as H5, e3 as or, e4 as kh, e5 as Fh, e6 as Jh, e7 as eu, e8 as BI, e9 as HI, ea as kI, eb as k5, ec as F5, ed as J5, ee as T5, ef as N5, eg as Xs, eh as Vs, ei as eo, ej as FI, ek as U5, el as JI, em as TI, en as tu, eo as NI, ep as UI, eq as K5, er as KI, es as MI, et as OI, eu as zI, ev as EI, ew as DI, c as $n, ex as M5, ey as O5, ez as z5, eA as E5, eB as D5, eC as ja, eD as P5, eE as A5, eF as j5, eG as Q5, eH as q5, eI as _5, eJ as $5, e as Th, f as ia, eK as e3, eL as t3, eM as w1, eN as L1, eO as R1, eP as C1, eQ as l3, eR as n3, eS as v1 } from "./executeStringFunction-
|
|
6
|
+
import { g as Xo, a as Me, d as Pt, r as At, h as cc, j as Ot, k as Ea, i as sn, l as Qe, m as Or, n as zd, o as op, p as _l, q as Da, s as lo, S as Pa, t as jc, v as uW, u as dh, w as hW, x as Zn, y as sp, z as kn, A as Ht, B as Ni, C as uh, D as Os, E as mW, F as zs, G as bW, H as Wt, I as Kt, J as cp, K as el, L as ui, M as ZW, N as zr, O as Al, P as Rn, Q as Yl, R as jt, T as Cn, U as Y1, V as hh, W as pW, X as Es, Y as ro, Z as hi, _ as x1, $ as Ci, a0 as IW, a1 as rp, a2 as Ds, a3 as Er, a4 as ap, a5 as wn, a6 as yW, a7 as ao, a8 as fW, a9 as Fn, aa as mh, ab as bh, ac as ml, ad as Zl, ae as Vo, af as Qc, ag as gW, ah as cn, ai as Zh, aj as ph, ak as GW, al as dp, am as up, an as hp, ao as mp, ap as bp, aq as qc, ar as Ed, as as Zp, at as pp, au as _c, av as Ip, aw as yp, ax as WW, ay as So, az as fp, aA as gp, aB as Gp, aC as Wp, aD as Xp, aE as Vp, aF as XW, aG as Sp, aH as Yp, aI as xp, aJ as wp, aK as VW, aL as Lp, aM as Rp, aN as Ih, aO as uo, aP as ho, aQ as Cp, aR as yh, aS as vp, aT as Bp, aU as Hp, aV as kp, aW as SW, aX as Dr, aY as YW, aZ as Fp, a_ as Ps, a$ as fn, b0 as rc, b1 as xW, b2 as fh, b3 as no, b4 as qn, b5 as wW, b6 as LW, b7 as fs, b8 as RW, b9 as CW, ba as Aa, bb as gh, bc as vW, bd as BW, be as HW, bf as kW, bg as FW, bh as Pr, bi as _n, bj as xl, bk as tl, bl as mo, bm as Gh, bn as JW, bo as TW, bp as Jp, bq as NW, br as gs, bs as vn, bt as $t, bu as UW, bv as Ar, bw as bo, bx as Wh, by as Pl, bz as jr, bA as mi, bB as Qr, bC as $c, bD as qr, bE as KW, bF as Xh, bG as Vh, bH as Sh, bI as MW, bJ as Ol, bK as OW, bL as Tp, bM as mn, bN as vi, bO as qi, bP as er, bQ as zW, bR as EW, bS as Vl, bT as DW, bU as Gs, bV as PW, bW as Jn, bX as Ui, bY as _r, bZ as ul, b_ as qt, b$ as As, c0 as js, c1 as Np, c2 as Up, c3 as Yi, c4 as $r, c5 as AW, c6 as jW, c7 as QW, c8 as qW, c9 as _W, ca as Bc, cb as $W, cc as e5, cd as t5, ce as l5, cf as tr, cg as Tl, ch as n5, ci as Kp, cj as Mp, ck as i5, cl as o5, cm as Op, cn as _i, co as Dd, cp as s5, cq as zp, cr as Ep, cs as c5, ct as Dp, cu as Yh, cv as Pp, cw as Ap, cx as r5, cy as ea, cz as jp, cA as xh, cB as Qp, cC as qp, cD as _p, cE as $p, cF as eI, cG as wh, cH as ta, cI as tI, cJ as El, cK as Lh, cL as Rh, cM as a5, cN as lI, cO as nI, cP as oi, cQ as Bn, cR as la, cS as d5, cT as iI, cU as si, cV as ci, cW as Hc, cX as u5, cY as h5, cZ as lr, c_ as m5, c$ as oI, d0 as sI, d1 as b5, d2 as nr, d3 as Ch, d4 as cI, d5 as Z5, d6 as vh, d7 as rI, d8 as aI, d9 as dI, da as p5, db as I5, dc as uI, dd as Pd, de as hI, df as mI, dg as y5, dh as f5, di as bI, dj as g5, dk as G5, dl as Ad, dm as na, dn as jd, dp as ZI, dq as $i, dr as W5, ds as X5, dt as pI, du as II, dv as yI, dw as fI, dx as gI, dy as pn, dz as V5, dA as Bh, dB as S5, dC as GI, dD as WI, dE as XI, dF as Hh, dG as VI, dH as Y5, dI as x5, dJ as ir, dK as SI, dL as w5, dM as L5, dN as R5, dO as YI, dP as Qd, dQ as xI, dR as jn, dS as wI, dT as LI, dU as RI, dV as C5, dW as qd, dX as Ws, dY as v5, dZ as CI, d_ as vI, d$ as _d, e0 as B5, e1 as $d, e2 as H5, e3 as or, e4 as kh, e5 as Fh, e6 as Jh, e7 as eu, e8 as BI, e9 as HI, ea as kI, eb as k5, ec as F5, ed as J5, ee as T5, ef as N5, eg as Xs, eh as Vs, ei as eo, ej as FI, ek as U5, el as JI, em as TI, en as tu, eo as NI, ep as UI, eq as K5, er as KI, es as MI, et as OI, eu as zI, ev as EI, ew as DI, c as $n, ex as M5, ey as O5, ez as z5, eA as E5, eB as D5, eC as ja, eD as P5, eE as A5, eF as j5, eG as Q5, eH as q5, eI as _5, eJ as $5, e as Th, f as ia, eK as e3, eL as t3, eM as w1, eN as L1, eO as R1, eP as C1, eQ as l3, eR as n3, eS as v1 } from "./executeStringFunction-KWYZ3QNg.js";
|
|
7
7
|
import * as Ke from "yjs";
|
|
8
8
|
import { b as i3, i as o3, a as s3, m as c3, p as lu, E as PI, C as Qa, c as B1, T as r3, H as a3, d as d3, D as AI } from "./constants-8Ij49Lxv.js";
|
|
9
9
|
import { t as Wl, f as nn, m as u3, s as h3, u as m3, a as b3 } from "./persistence-utils-BXFajzvq.js";
|
|
@@ -50927,10 +50927,10 @@ const g7 = ({
|
|
|
50927
50927
|
}, V.readAsText(b);
|
|
50928
50928
|
});
|
|
50929
50929
|
}, vZ = async (e, t, l, n) => {
|
|
50930
|
-
const { handleExportToXLSX: i } = await import("./xlsx-export-impl-
|
|
50930
|
+
const { handleExportToXLSX: i } = await import("./xlsx-export-impl-l3bwAIHT.js");
|
|
50931
50931
|
return i(e, t, l, n);
|
|
50932
50932
|
}, BZ = async (e, t, l, n) => {
|
|
50933
|
-
const { handleExportToODS: i } = await import("./xlsx-export-impl-
|
|
50933
|
+
const { handleExportToODS: i } = await import("./xlsx-export-impl-l3bwAIHT.js");
|
|
50934
50934
|
return i(e, t, l, n);
|
|
50935
50935
|
}, Td = (e) => {
|
|
50936
50936
|
Nh({
|
|
@@ -51021,7 +51021,7 @@ const g7 = ({
|
|
|
51021
51021
|
}) => {
|
|
51022
51022
|
const [s, r] = We(!1), u = Ge(
|
|
51023
51023
|
async (h, m, b) => {
|
|
51024
|
-
const { runXlsxFileUpload: Z } = await import("./use-xlsx-import-impl-
|
|
51024
|
+
const { runXlsxFileUpload: Z } = await import("./use-xlsx-import-impl-DN63dMYx.js");
|
|
51025
51025
|
return Z(
|
|
51026
51026
|
{
|
|
51027
51027
|
sheetEditorRef: e,
|
|
@@ -51052,7 +51052,7 @@ const g7 = ({
|
|
|
51052
51052
|
), d = Ge(
|
|
51053
51053
|
async (h, m, b) => {
|
|
51054
51054
|
var y;
|
|
51055
|
-
const { convertOdsFileToXlsxFile: Z } = await import("./ods-to-xlsx-DeJAYBkD.js"), { runXlsxFileUpload: I } = await import("./use-xlsx-import-impl-
|
|
51055
|
+
const { convertOdsFileToXlsxFile: Z } = await import("./ods-to-xlsx-DeJAYBkD.js"), { runXlsxFileUpload: I } = await import("./use-xlsx-import-impl-DN63dMYx.js"), G = h == null ? void 0 : h.target, V = ((y = G == null ? void 0 : G.files) == null ? void 0 : y[0]) || m;
|
|
51056
51056
|
if (!V) return;
|
|
51057
51057
|
const f = await Z(V);
|
|
51058
51058
|
return I(
|
|
@@ -56776,7 +56776,7 @@ async function Sz(e, t) {
|
|
|
56776
56776
|
const { convertOdsFileToXlsxFile: b } = await import("./ods-to-xlsx-DeJAYBkD.js");
|
|
56777
56777
|
h = await b(e);
|
|
56778
56778
|
}
|
|
56779
|
-
const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-
|
|
56779
|
+
const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-DN63dMYx.js");
|
|
56780
56780
|
await m(
|
|
56781
56781
|
{
|
|
56782
56782
|
sheetEditorRef: c,
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s, d as o, f as t, S as r, g as l, h as n, j as d, T as S, k as c, l as i, n as m, o as h, p, q as C, t as u, u as E, v as F, w as x, x as g, z as R, A as f, B as A, D as I, E as L, F as w, G as T, H as v, I as y, J as D, K as M, L as b, M as O, N as k, O as P, P as V } from "./index-
|
|
2
|
-
import { cB as B, cC as K, cD as U, cJ as X, bx as _, e as G, f as H, l as J, a as j, dn as q, dp as N, bb as Y, dq as Z, dr as Q, dv as W, dw as $, dy as ee, I as ae, dO as se, el as oe, b4 as te } from "./executeStringFunction-
|
|
1
|
+
import { C as s, d as o, f as t, S as r, g as l, h as n, j as d, T as S, k as c, l as i, n as m, o as h, p, q as C, t as u, u as E, v as F, w as x, x as g, z as R, A as f, B as A, D as I, E as L, F as w, G as T, H as v, I as y, J as D, K as M, L as b, M as O, N as k, O as P, P as V } from "./index-BDSumZYk.js";
|
|
2
|
+
import { cB as B, cC as K, cD as U, cJ as X, bx as _, e as G, f as H, l as J, a as j, dn as q, dp as N, bb as Y, dq as Z, dr as Q, dv as W, dw as $, dy as ee, I as ae, dO as se, el as oe, b4 as te } from "./executeStringFunction-KWYZ3QNg.js";
|
|
3
3
|
import { FLVURL as le } from "@fileverse-dev/formulajs";
|
|
4
4
|
import { E as de, S as Se } from "./constants-8Ij49Lxv.js";
|
|
5
5
|
export {
|
|
@@ -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-
|
|
3
|
-
import { g as sl } from "./executeStringFunction-
|
|
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-BDSumZYk.js";
|
|
3
|
+
import { g as sl } from "./executeStringFunction-KWYZ3QNg.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-
|
|
7
|
-
import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-
|
|
6
|
+
import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-CJfom4ax.js";
|
|
7
|
+
import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-DoOdrbDR.js";
|
|
8
8
|
import { toast as fZ } from "@fileverse/ui";
|
|
9
9
|
var Zl = { exports: {} };
|
|
10
10
|
(function(m) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as w } from "./executeStringFunction-
|
|
2
|
-
import { J as x } from "./xlsx-hyperlink-inline-
|
|
1
|
+
import { i as w } from "./executeStringFunction-KWYZ3QNg.js";
|
|
2
|
+
import { J as x } from "./xlsx-hyperlink-inline-CJfom4ax.js";
|
|
3
3
|
function g(o) {
|
|
4
4
|
return o.startsWith("_xlnm.");
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { utils as S, write as nt } from "xlsx-js-style";
|
|
2
2
|
import { Workbook as pt } from "exceljs";
|
|
3
3
|
import { toast as rt } from "@fileverse/ui";
|
|
4
|
-
import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-
|
|
5
|
-
import { b as gt } from "./executeStringFunction-
|
|
6
|
-
import { e as bt } from "./index-
|
|
4
|
+
import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-CJfom4ax.js";
|
|
5
|
+
import { b as gt } from "./executeStringFunction-KWYZ3QNg.js";
|
|
6
|
+
import { e as bt } from "./index-BDSumZYk.js";
|
|
7
7
|
const xt = {
|
|
8
8
|
1: "thin",
|
|
9
9
|
2: "hair",
|
|
@@ -854,7 +854,7 @@ const Z = (t) => {
|
|
|
854
854
|
O
|
|
855
855
|
);
|
|
856
856
|
});
|
|
857
|
-
const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-
|
|
857
|
+
const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-DoOdrbDR.js");
|
|
858
858
|
ct(
|
|
859
859
|
B,
|
|
860
860
|
(k = (C = (s = t.current).getWorkbookContext) == null ? void 0 : C.call(s)) == null ? void 0 : k.definedNames,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Rt, c as yt } from "./executeStringFunction-
|
|
2
|
-
import { c as wt } from "./index-
|
|
1
|
+
import { g as Rt, c as yt } from "./executeStringFunction-KWYZ3QNg.js";
|
|
2
|
+
import { c as wt } from "./index-BDSumZYk.js";
|
|
3
3
|
function jt(J, nt) {
|
|
4
4
|
const g = J.getImages();
|
|
5
5
|
if (!g.length) return [];
|