@fileverse-dev/dsheet 2.0.31 → 2.0.32
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.
|
@@ -35540,15 +35540,15 @@ const Kc = (e) => {
|
|
|
35540
35540
|
navigator.userLanguage || "en");
|
|
35541
35541
|
await o1(T), S(
|
|
35542
35542
|
($) => {
|
|
35543
|
-
var te, K, ne, fe
|
|
35543
|
+
var te, K, ne, fe;
|
|
35544
35544
|
if ($.defaultcolumnNum = C.column, $.defaultrowNum = C.row, $.defaultFontSize = C.defaultFontSize, N.isEmpty($.luckysheetfile)) {
|
|
35545
|
-
const
|
|
35546
|
-
Zu(
|
|
35545
|
+
const le = gn(t, (oe) => {
|
|
35546
|
+
Zu(oe, C.generateSheetId);
|
|
35547
35547
|
});
|
|
35548
|
-
$.luckysheetfile =
|
|
35549
|
-
var
|
|
35550
|
-
const
|
|
35551
|
-
w($,
|
|
35548
|
+
$.luckysheetfile = le, le.forEach((oe) => {
|
|
35549
|
+
var ue;
|
|
35550
|
+
const ie = Se($, oe.id), ee = (ue = $.luckysheetfile) == null ? void 0 : ue[ie];
|
|
35551
|
+
w($, ee, ie);
|
|
35552
35552
|
});
|
|
35553
35553
|
}
|
|
35554
35554
|
C.devicePixelRatio > 0 && ($.devicePixelRatio = C.devicePixelRatio), $.lang = T, $.dateBaseLocale = l1(
|
|
@@ -35560,17 +35560,17 @@ const Kc = (e) => {
|
|
|
35560
35560
|
if (!X) return;
|
|
35561
35561
|
let { data: G } = X;
|
|
35562
35562
|
if (N.isEmpty(G)) {
|
|
35563
|
-
const
|
|
35564
|
-
N.isNull(
|
|
35563
|
+
const le = w($, X, H);
|
|
35564
|
+
N.isNull(le) || (G = le);
|
|
35565
35565
|
}
|
|
35566
35566
|
if (N.isEmpty($.luckysheet_select_save) && !N.isEmpty(X.luckysheet_select_save) && ($.luckysheet_select_save = X.luckysheet_select_save), !C.suppressInitialCellSelection && !((ne = $.luckysheet_select_save) != null && ne.length) && ($.luckysheet_select_save = ps(G)), $.config = N.isNil(X.config) ? {} : X.config, $.insertedImgs = X.images, $.insertedIframes = X.iframes, $.currency = C.currency || "¥", $.zoomRatio = N.isNil(X.zoomRatio) ? 1 : X.zoomRatio, $.rowHeaderWidth = C.rowHeaderWidth * $.zoomRatio, $.columnHeaderHeight = C.columnHeaderHeight * $.zoomRatio, N.isNil(X.defaultRowHeight) ? $.defaultrowlen = C.defaultRowHeight : $.defaultrowlen = Number(X.defaultRowHeight), N.isNil(X.addRows) ? $.addDefaultRows = C.addRows : $.addDefaultRows = Number(X.addRows), N.isNil(X.defaultColWidth) ? $.defaultcollen = C.defaultColWidth : $.defaultcollen = Number(X.defaultColWidth), N.isNil(X.showGridLines))
|
|
35567
35567
|
$.showGridLines = !0;
|
|
35568
35568
|
else {
|
|
35569
|
-
const { showGridLines:
|
|
35570
|
-
|
|
35569
|
+
const { showGridLines: le } = X;
|
|
35570
|
+
le === 0 || le === !1 ? $.showGridLines = !1 : $.showGridLines = !0;
|
|
35571
35571
|
}
|
|
35572
35572
|
const Z = ((fe = $.luckysheetfile[H]) == null ? void 0 : fe.data) ?? G;
|
|
35573
|
-
Z && Z.length > 0 &&
|
|
35573
|
+
Z && Z.length > 0 && Vo($, Z);
|
|
35574
35574
|
},
|
|
35575
35575
|
{ noHistory: !0 }
|
|
35576
35576
|
);
|
|
@@ -38932,7 +38932,7 @@ const Ro = ({
|
|
|
38932
38932
|
const [u, i] = be(!1);
|
|
38933
38933
|
return { handleXLSXUpload: Ce(
|
|
38934
38934
|
async (d, c, h) => {
|
|
38935
|
-
const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl
|
|
38935
|
+
const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-C36HAaE8.js");
|
|
38936
38936
|
return m(
|
|
38937
38937
|
{
|
|
38938
38938
|
sheetEditorRef: e,
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as s, i as l, T as o, a as r, c as t, b as n, h as d, d as h, e as S, f as i, g as c, j as m, k as p, l as C, n as E, o as F, p as x, q as g, r as f, s as L, t as R, u, v as T, w as b } from "./index-
|
|
1
|
+
import { S as s, i as l, T as o, a as r, c as t, b as n, h as d, d as h, e as S, f as i, g as c, j as m, k as p, l as C, n as E, o as F, p as x, q as g, r as f, s as L, t as R, u, v as T, w as b } from "./index-C5KtMCEt.js";
|
|
2
2
|
import { bJ as I, bK as w, bL as V, bP as k, ba as P, e as X, f as _, h as v, a as y, ca as z, ap as M, ch as U } from "./executeStringFunction-BuxBjU-d.js";
|
|
3
3
|
import { FLVURL as G } from "@fileverse-dev/formulajs";
|
|
4
4
|
import { E as J, S as K } from "./constants-CnhOvijG.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as Ue } from "./executeStringFunction-BuxBjU-d.js";
|
|
2
2
|
import * as qe from "yjs";
|
|
3
|
-
import { m as Xe, y as Ze } from "./index-
|
|
3
|
+
import { m as Xe, y as Ze } from "./index-C5KtMCEt.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: {} };
|