@fileverse-dev/dsheet 2.0.26-copy-1 → 2.0.27-bundle
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/editor/hooks/use-apply-templates.d.ts +2 -1
- package/dist/editor/hooks/use-xlsx-import-impl.d.ts +16 -0
- package/dist/editor/hooks/use-xlsx-import.d.ts +13 -7
- package/dist/editor/utils/xlsx-export-impl.d.ts +4 -0
- package/dist/editor/utils/xlsx-export.d.ts +4 -0
- package/dist/{executeStringFunction-C2k81eQQ.js → executeStringFunction-DOK3z9nV.js} +307 -253
- package/dist/formula.js +1 -1
- package/dist/index-IhnJm9PN.js +39862 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +43 -44464
- package/dist/sheet-engine/core/api/cell.d.ts +1 -1
- package/dist/sheet-engine/core/events/mouse.d.ts +1 -1
- package/dist/sheet-engine/core/modules/formula.d.ts +4 -4
- package/dist/sheet-engine/core/modules/inline-string.d.ts +6 -6
- package/dist/sheet-engine/core/modules/rowcol.d.ts +3 -3
- package/dist/sheet-engine/core/modules/selection.d.ts +6 -6
- package/dist/sheet-engine/core/paste/paste-internals.d.ts +2 -2
- package/dist/sheet-engine/core/types.d.ts +2 -2
- package/dist/sheet-engine/react/hooks/useFormulaEditorHistory.d.ts +1 -1
- package/dist/template-data-list-oP1s0Uxn.js +502875 -0
- package/dist/use-xlsx-import-impl-CHqptfOb.js +1527 -0
- package/dist/xlsx-export-impl-Bojkus14.js +3128 -0
- package/dist/xlsx-hyperlink-inline-DzewAypN.js +71 -0
- package/dist/xlsx-image-utils-Cvg0qxRA.js +126 -0
- package/package.json +1 -1
|
@@ -14472,7 +14472,9 @@ function Of(e, t, r) {
|
|
|
14472
14472
|
if (l === i && l.nodeType === Node.TEXT_NODE && n.toString().length > 0 && u) {
|
|
14473
14473
|
let T = ((p = f == null ? void 0 : f.style) == null ? void 0 : p.cssText) || "";
|
|
14474
14474
|
if (o.innerHTML.substring(0, 5) !== "<span" && f) {
|
|
14475
|
-
const N = f.closest(
|
|
14475
|
+
const N = f.closest(
|
|
14476
|
+
"#luckysheet-input-box"
|
|
14477
|
+
);
|
|
14476
14478
|
N != null && (T = hn(N.style.cssText, T));
|
|
14477
14479
|
}
|
|
14478
14480
|
T = kn(T);
|
|
@@ -15633,7 +15635,9 @@ function ma(e) {
|
|
|
15633
15635
|
formatType: n[1].length === 1 ? "M d yyyy" : "MM dd yyyy"
|
|
15634
15636
|
};
|
|
15635
15637
|
}
|
|
15636
|
-
if (n = new RegExp(`^(\\d{4})\\s+(${fn})\\s+(\\d{1,2})$`, "i").exec(
|
|
15638
|
+
if (n = new RegExp(`^(\\d{4})\\s+(${fn})\\s+(\\d{1,2})$`, "i").exec(
|
|
15639
|
+
t
|
|
15640
|
+
), n) {
|
|
15637
15641
|
const o = +n[1], i = gt[n[2].toLowerCase()], l = +n[3];
|
|
15638
15642
|
if (i && We(o, i, l))
|
|
15639
15643
|
return {
|
|
@@ -15847,9 +15851,10 @@ function ma(e) {
|
|
|
15847
15851
|
};
|
|
15848
15852
|
}
|
|
15849
15853
|
}
|
|
15850
|
-
if (n = new RegExp(
|
|
15851
|
-
|
|
15852
|
-
|
|
15854
|
+
if (n = new RegExp(
|
|
15855
|
+
`^(?:${Er}),\\s+(\\d{2})\\/(\\d{2})\\/(\\d{4})$`,
|
|
15856
|
+
"i"
|
|
15857
|
+
).exec(t), n) {
|
|
15853
15858
|
const o = +n[1], i = +n[2], l = +n[3], c = a ? o : i, s = a ? i : o;
|
|
15854
15859
|
if (We(l, c, s))
|
|
15855
15860
|
return {
|
|
@@ -15878,9 +15883,10 @@ function ma(e) {
|
|
|
15878
15883
|
formatType: "dy, mmm d, yyyy"
|
|
15879
15884
|
};
|
|
15880
15885
|
}
|
|
15881
|
-
if (n = new RegExp(
|
|
15882
|
-
|
|
15883
|
-
|
|
15886
|
+
if (n = new RegExp(
|
|
15887
|
+
`^(?:${Jn}),\\s+(${Ut})\\s+(\\d{1,2})$`,
|
|
15888
|
+
"i"
|
|
15889
|
+
).exec(t), n) {
|
|
15884
15890
|
const o = gt[n[1].toLowerCase()], i = +n[2];
|
|
15885
15891
|
if (o && We(r, o, i))
|
|
15886
15892
|
return {
|
|
@@ -15893,7 +15899,10 @@ function ma(e) {
|
|
|
15893
15899
|
formatType: "dy, mmm d"
|
|
15894
15900
|
};
|
|
15895
15901
|
}
|
|
15896
|
-
if (n = new RegExp(
|
|
15902
|
+
if (n = new RegExp(
|
|
15903
|
+
`^(?:${Jn}),\\s+(\\d{1,2})\\s+(${Ut})\\s+(\\d{4})$`,
|
|
15904
|
+
"i"
|
|
15905
|
+
).exec(t), n) {
|
|
15897
15906
|
const o = +n[1], i = gt[n[2].toLowerCase()], l = +n[3];
|
|
15898
15907
|
if (i && We(l, i, o))
|
|
15899
15908
|
return {
|
|
@@ -15906,7 +15915,10 @@ function ma(e) {
|
|
|
15906
15915
|
formatType: "dy, d mmm yyyy"
|
|
15907
15916
|
};
|
|
15908
15917
|
}
|
|
15909
|
-
if (n = new RegExp(
|
|
15918
|
+
if (n = new RegExp(
|
|
15919
|
+
`^(?:${Jn})\\s+(\\d{2})\\/(\\d{2})\\/(\\d{4})$`,
|
|
15920
|
+
"i"
|
|
15921
|
+
).exec(t), n) {
|
|
15910
15922
|
const o = +n[1], i = +n[2], l = +n[3], c = a ? o : i, s = a ? i : o;
|
|
15911
15923
|
if (We(l, c, s))
|
|
15912
15924
|
return {
|
|
@@ -17083,7 +17095,13 @@ function rc(e) {
|
|
|
17083
17095
|
} else r.includes(".") && (a = Math.min(5, (r.split(".")[1] || "").split(/[eE]/)[0].length));
|
|
17084
17096
|
return ga(e, a);
|
|
17085
17097
|
}
|
|
17086
|
-
return t >= ha ? e.toLocaleString("en-US", {
|
|
17098
|
+
return t >= ha ? e.toLocaleString("en-US", {
|
|
17099
|
+
maximumFractionDigits: 50,
|
|
17100
|
+
useGrouping: !1
|
|
17101
|
+
}) : e.toLocaleString("en-US", {
|
|
17102
|
+
maximumFractionDigits: 21,
|
|
17103
|
+
useGrouping: !1
|
|
17104
|
+
});
|
|
17087
17105
|
}
|
|
17088
17106
|
function ac(e) {
|
|
17089
17107
|
return !Number.isFinite(e) || e === 0 ? 1 : e.toExponential().split("e")[0].replace("-", "").replace(".", "").replace(/^0+/, "").replace(/0+$/, "").length || 1;
|
|
@@ -17209,7 +17227,10 @@ function It(e) {
|
|
|
17209
17227
|
t = e.toString(), r = { fa: "@", t: "s" };
|
|
17210
17228
|
else if (Xe(e)) {
|
|
17211
17229
|
const n = parseFloat(e), o = Math.abs(n);
|
|
17212
|
-
a = n, r = { fa: "General", t: "n" }, o >= ha ? t = n.toLocaleString("en-US", {
|
|
17230
|
+
a = n, r = { fa: "General", t: "n" }, o >= ha ? t = n.toLocaleString("en-US", {
|
|
17231
|
+
maximumFractionDigits: 50,
|
|
17232
|
+
useGrouping: !1
|
|
17233
|
+
}) : t = n.toString();
|
|
17213
17234
|
} else if (typeof e == "string") {
|
|
17214
17235
|
const n = ma(e.toString());
|
|
17215
17236
|
if (n) {
|
|
@@ -18055,7 +18076,9 @@ function _n(e, t, r, a, n, o, i, l) {
|
|
|
18055
18076
|
if (Object.prototype.toString.call(b) === "[object Date]" && !h.isNil(b) && (b = b.toString()), !h.isNil(r) && !h.isNil(a)) {
|
|
18056
18077
|
if (i) {
|
|
18057
18078
|
let N = b;
|
|
18058
|
-
e.formulaCache.parser.cryptoDenomination && e.formulaCache.parser.cryptoDenomination !== "" && (typeof b == "number" || typeof b == "string") && (N = `${Number(b).toFixed(
|
|
18079
|
+
e.formulaCache.parser.cryptoDenomination && e.formulaCache.parser.cryptoDenomination !== "" && (typeof b == "number" || typeof b == "string") && (N = `${Number(b).toFixed(
|
|
18080
|
+
e.formulaCache.parser.cryptoDecimals
|
|
18081
|
+
)} ${e.formulaCache.parser.cryptoDenomination}`), Wn(
|
|
18059
18082
|
e,
|
|
18060
18083
|
r,
|
|
18061
18084
|
a,
|
|
@@ -18066,7 +18089,9 @@ function _n(e, t, r, a, n, o, i, l) {
|
|
|
18066
18089
|
l || Rc(e, r, a, n, o);
|
|
18067
18090
|
}
|
|
18068
18091
|
let w = b;
|
|
18069
|
-
e.formulaCache.parser.cryptoDenomination && e.formulaCache.parser.cryptoDenomination !== "" && (typeof b == "number" || typeof b == "string") && (w = `${Number(b).toFixed(
|
|
18092
|
+
e.formulaCache.parser.cryptoDenomination && e.formulaCache.parser.cryptoDenomination !== "" && (typeof b == "number" || typeof b == "string") && (w = `${Number(b).toFixed(
|
|
18093
|
+
e.formulaCache.parser.cryptoDecimals
|
|
18094
|
+
)} ${e.formulaCache.parser.cryptoDenomination}`);
|
|
18070
18095
|
const T = !h.isNil(g), $ = Xs(w == null ? void 0 : w.toString());
|
|
18071
18096
|
return T || $ ? ra(e, r, a, {
|
|
18072
18097
|
row_column: `${r}_${a}`,
|
|
@@ -18619,7 +18644,9 @@ function No(e, t, r) {
|
|
|
18619
18644
|
function Hc(e, t) {
|
|
18620
18645
|
const r = Pc();
|
|
18621
18646
|
if (!r) return;
|
|
18622
|
-
const a = h.trim(
|
|
18647
|
+
const a = h.trim(
|
|
18648
|
+
(r.textContent || "").replace(/\u200b/g, "")
|
|
18649
|
+
);
|
|
18623
18650
|
if (a === "=") {
|
|
18624
18651
|
const { functionlist: n } = Rt(e);
|
|
18625
18652
|
e.defaultCandidates = n.filter((i) => i.t === 20).slice(0, 11);
|
|
@@ -18972,7 +18999,10 @@ function Kc(e, t, r, a, n, o = !0) {
|
|
|
18972
18999
|
),
|
|
18973
19000
|
w.anchorOffset
|
|
18974
19001
|
];
|
|
18975
|
-
e.formulaCache.functionRangeGlobalOffset = zc(
|
|
19002
|
+
e.formulaCache.functionRangeGlobalOffset = zc(
|
|
19003
|
+
r,
|
|
19004
|
+
w
|
|
19005
|
+
);
|
|
18976
19006
|
} else {
|
|
18977
19007
|
const w = document.selection.createRange();
|
|
18978
19008
|
e.formulaCache.functionRangeIndex = w, e.formulaCache.functionRangeGlobalOffset = null;
|
|
@@ -18992,7 +19022,9 @@ function Tn(e) {
|
|
|
18992
19022
|
return a === "$" && (o[0] = !0), n === "$" && (o[1] = !0), o;
|
|
18993
19023
|
}
|
|
18994
19024
|
function Rr(e) {
|
|
18995
|
-
const t = e.match(
|
|
19025
|
+
const t = e.match(
|
|
19026
|
+
/^((?:'(?:[^']|'')*'|[^!]+)!)?(\$?)([A-Za-z]+)(\$?)(\d+)$/
|
|
19027
|
+
);
|
|
18996
19028
|
if (!t) return null;
|
|
18997
19029
|
const [, r = "", a, n, o, i] = t, l = a === "$", c = o === "$";
|
|
18998
19030
|
let s = !1, u = !1;
|
|
@@ -19157,7 +19189,9 @@ function br(e, t) {
|
|
|
19157
19189
|
if (r.rangeCount > 0 && xo(e, f, r) && l())
|
|
19158
19190
|
return !0;
|
|
19159
19191
|
const m = f.querySelectorAll("span");
|
|
19160
|
-
let d = h.trim(
|
|
19192
|
+
let d = h.trim(
|
|
19193
|
+
Bt(((s = h.last(m)) == null ? void 0 : s.innerText) || "")
|
|
19194
|
+
), p = h.last(m);
|
|
19161
19195
|
d.length === 0 && m.length > 1 && (d = h.trim(
|
|
19162
19196
|
Bt(m[m.length - 2].innerText)
|
|
19163
19197
|
), p = m[m.length - 2]);
|
|
@@ -21644,7 +21678,7 @@ function yn(e, t, r, a, n) {
|
|
|
21644
21678
|
}
|
|
21645
21679
|
else if (Xe(l)) {
|
|
21646
21680
|
s && !V.includes(",") && (V = sf(String(l), s)), l = parseFloat(l), V.includes("%") && !m.includes("%") && (!i || G) && (l /= 100), o != null && o.ct && (o.ct = { ...o.ct, fa: V, t: "n" });
|
|
21647
|
-
|
|
21681
|
+
const R = Et(V, l);
|
|
21648
21682
|
if (R === l) {
|
|
21649
21683
|
const C = tr(
|
|
21650
21684
|
m,
|
|
@@ -21660,7 +21694,7 @@ function yn(e, t, r, a, n) {
|
|
|
21660
21694
|
} else if (cc(V, Rt(e).currencyDetail) && typeof l == "string" && !m.startsWith("=") && !Xe(l))
|
|
21661
21695
|
o.v = m, o.m = m, o.ct = { fa: V, t: "s" };
|
|
21662
21696
|
else {
|
|
21663
|
-
|
|
21697
|
+
const R = Et(V, l);
|
|
21664
21698
|
if (R === l) {
|
|
21665
21699
|
const C = tr(
|
|
21666
21700
|
m,
|
|
@@ -21940,8 +21974,7 @@ function ud(e, t, r, a, n, o) {
|
|
|
21940
21974
|
} else {
|
|
21941
21975
|
Kt(e, t, r), Qr(e, t, r), v = h.cloneDeep(((y = Ce == null ? void 0 : Ce[t]) == null ? void 0 : y[r]) || {}), v.v = n, delete v.f, delete v._formulaEditHtml, delete v.spl;
|
|
21942
21976
|
const M = (g = L == null ? void 0 : L.m) != null && g.toString().includes(".") ? (w = (b = L == null ? void 0 : L.m) == null ? void 0 : b.toString().split(" ")[0].split(".")[1]) == null ? void 0 : w.length : 0, ee = (T = L == null ? void 0 : L.m) == null ? void 0 : T.toString().split(" ")[1];
|
|
21943
|
-
typeof v == "object" && (v != null && v.baseValue) && (L != null && L.baseCurrencyPrice) && (v.m = `${
|
|
21944
|
-
(parseFloat(n) / L.baseCurrencyPrice).toFixed(M || 2)} ${ee}`, v.baseValue = n), Wn(e, t, r, v), Te = !1, v.qp === 1 && `${n}`.substring(0, 1) !== "'" && (v.qp = 0, v.ct && (v.ct.fa = "General", v.ct.t = "n"));
|
|
21977
|
+
typeof v == "object" && (v != null && v.baseValue) && (L != null && L.baseCurrencyPrice) && (v.m = `${(parseFloat(n) / L.baseCurrencyPrice).toFixed(M || 2)} ${ee}`, v.baseValue = n), Wn(e, t, r, v), Te = !1, v.qp === 1 && `${n}`.substring(0, 1) !== "'" && (v.qp = 0, v.ct && (v.ct.fa = "General", v.ct.t = "n"));
|
|
21945
21978
|
}
|
|
21946
21979
|
n = v;
|
|
21947
21980
|
} else if (h.isString(n) && n.slice(0, 1) === "=" && n.length > 1) {
|
|
@@ -21999,7 +22032,6 @@ function ud(e, t, r, a, n, o) {
|
|
|
21999
22032
|
Kt(e, t, r), Qr(e, t, r), Wn(e, t, r, n), Te = !1;
|
|
22000
22033
|
const ce = (N = L == null ? void 0 : L.m) != null && N.toString().includes(".") ? (E = (O = L == null ? void 0 : L.m) == null ? void 0 : O.toString().split(" ")[0].split(".")[1]) == null ? void 0 : E.length : 0, Pe = (B = L == null ? void 0 : L.m) == null ? void 0 : B.toString().split(" ")[1];
|
|
22001
22034
|
typeof n == "object" && n.baseValue && !(n != null && n.m) && (n.m = `${// @ts-expect-error later
|
|
22002
|
-
// eslint-disable-next-line no-unsafe-optional-chaining
|
|
22003
22035
|
(parseFloat(n == null ? void 0 : n.v) / (L == null ? void 0 : L.baseCurrencyPrice)).toFixed(
|
|
22004
22036
|
ce || 2
|
|
22005
22037
|
)} ${Pe}`), typeof n == "string" ? n = {
|
|
@@ -22331,15 +22363,17 @@ function Aa(e) {
|
|
|
22331
22363
|
if (!e) return e ?? null;
|
|
22332
22364
|
const { v: t, m: r, f: a, ct: n } = e, o = (n == null ? void 0 : n.t) === "inlineStr" && Array.isArray(n.s) && n.s.length > 0, i = o ? {
|
|
22333
22365
|
...n,
|
|
22334
|
-
s: (n.s || []).map(
|
|
22335
|
-
|
|
22336
|
-
|
|
22337
|
-
|
|
22338
|
-
|
|
22339
|
-
linkType
|
|
22340
|
-
|
|
22341
|
-
|
|
22342
|
-
|
|
22366
|
+
s: (n.s || []).map(
|
|
22367
|
+
(l) => {
|
|
22368
|
+
const c = {
|
|
22369
|
+
v: String((l == null ? void 0 : l.v) ?? "")
|
|
22370
|
+
}, s = l == null ? void 0 : l.link;
|
|
22371
|
+
return s != null && s.linkType && (s != null && s.linkAddress) && (c.link = {
|
|
22372
|
+
linkType: s.linkType,
|
|
22373
|
+
linkAddress: s.linkAddress
|
|
22374
|
+
}, c.fc = "rgb(0, 0, 255)", c.un = 1), c;
|
|
22375
|
+
}
|
|
22376
|
+
)
|
|
22343
22377
|
} : void 0;
|
|
22344
22378
|
return t !== void 0 || r !== void 0 || a !== void 0 || o ? i ? {
|
|
22345
22379
|
v: t,
|
|
@@ -23355,7 +23389,9 @@ function Zu(e, t, r, a) {
|
|
|
23355
23389
|
B += `border-top:${Nt(X, F)}`;
|
|
23356
23390
|
}
|
|
23357
23391
|
}
|
|
23358
|
-
const H = n ? encodeURIComponent(
|
|
23392
|
+
const H = n ? encodeURIComponent(
|
|
23393
|
+
JSON.stringify({ ...E, _srcRow: _, _srcCol: N })
|
|
23394
|
+
) : "";
|
|
23359
23395
|
O = Lo(O, { style: B, span: W, cellData: H }), h.isNil(Y) && (Y = Ke(_, N, y)), h.isNil(Y) && (Y = ""), o && Vt(E) ? O += _l(_, N, y, {
|
|
23360
23396
|
useSemanticMarkup: !0,
|
|
23361
23397
|
inheritedStyle: J,
|
|
@@ -23456,14 +23492,21 @@ function kd(e) {
|
|
|
23456
23492
|
String(
|
|
23457
23493
|
Ke(T, $, t, "m") ?? Ke(T, $, t) ?? ""
|
|
23458
23494
|
)
|
|
23459
|
-
).replace(/<br\s*\/?>/g, "<br>"), J = u ? encodeURIComponent(
|
|
23495
|
+
).replace(/<br\s*\/?>/g, "<br>"), J = u ? encodeURIComponent(
|
|
23496
|
+
JSON.stringify({ ...N ?? {}, _srcRow: T, _srcCol: $ })
|
|
23497
|
+
) : "";
|
|
23460
23498
|
f = `<table data-type="fortune-copy-action-table"><tr><td style="white-space: pre-line; ${Q}" data-fortune-cell="${J}">${Y}</td></tr></table>`;
|
|
23461
23499
|
} else
|
|
23462
|
-
f = Zu(
|
|
23463
|
-
|
|
23464
|
-
|
|
23465
|
-
|
|
23466
|
-
|
|
23500
|
+
f = Zu(
|
|
23501
|
+
e,
|
|
23502
|
+
e.currentSheetId,
|
|
23503
|
+
e.luckysheet_select_save,
|
|
23504
|
+
{
|
|
23505
|
+
includeCellMetadata: u,
|
|
23506
|
+
preferRichText: s,
|
|
23507
|
+
respectFilterHiddenRows: !0
|
|
23508
|
+
}
|
|
23509
|
+
), f = f === null ? f : f.replace('<td style="', '<td style="white-space: pre-line; ');
|
|
23467
23510
|
let p = !1;
|
|
23468
23511
|
f && u && f.length > Gu && (p = !0, f = f.replace(/\sdata-fortune-cell="[^"]*"/g, "")), f && (e.iscopyself = !0, e.lastInternalCopyHtmlMetadataStripped = p, Wu.writeHtml(f));
|
|
23469
23512
|
}
|
|
@@ -25421,7 +25464,9 @@ function tf(e, t, r = !0) {
|
|
|
25421
25464
|
const j = Number(I.split("_")[0]), z = Number(I.split("_")[1]), M = te[I];
|
|
25422
25465
|
o === "row" ? i < j ? ie[`${j + a}_${z}`] = M : i === j ? l === "lefttop" ? ie[`${j + a}_${z}`] = M : ie[`${j}_${z}`] = M : ie[`${j}_${z}`] = M : o === "column" && (i < z ? ie[`${j}_${z + a}`] = M : i === z ? l === "lefttop" ? ie[`${j}_${z + a}`] = M : ie[`${j}_${z}`] = M : ie[`${j}_${z}`] = M);
|
|
25423
25466
|
}), o === "row") {
|
|
25424
|
-
const D = h.cloneDeep(d.borderInfo || []), I = y ? [
|
|
25467
|
+
const D = h.cloneDeep(d.borderInfo || []), I = y ? [
|
|
25468
|
+
((me = d.rowlen) == null ? void 0 : me[b]) ?? f.defaultRowHeight ?? e.defaultrowlen
|
|
25469
|
+
] : null, j = y ? [(ue = d.customHeight) == null ? void 0 : ue[b]] : null, z = ((fe = d.rowlen) == null ? void 0 : fe[i]) ?? f.defaultRowHeight ?? e.defaultrowlen, M = (_e = d.customHeight) == null ? void 0 : _e[i];
|
|
25425
25470
|
if (d.rowlen != null) {
|
|
25426
25471
|
const qe = {}, ke = {};
|
|
25427
25472
|
h.forEach(d.rowlen, (Ue, Fe) => {
|
|
@@ -25511,7 +25556,9 @@ function tf(e, t, r = !0) {
|
|
|
25511
25556
|
m
|
|
25512
25557
|
);
|
|
25513
25558
|
} else {
|
|
25514
|
-
const D = h.cloneDeep(d.borderInfo || []), I = g ? [
|
|
25559
|
+
const D = h.cloneDeep(d.borderInfo || []), I = g ? [
|
|
25560
|
+
((Te = d.columnlen) == null ? void 0 : Te[w]) ?? f.defaultColWidth ?? e.defaultcollen
|
|
25561
|
+
] : null, j = g ? [(Ce = d.customWidth) == null ? void 0 : Ce[w]] : null, z = ((de = d.columnlen) == null ? void 0 : de[i]) ?? f.defaultColWidth ?? e.defaultcollen, M = (ce = d.customWidth) == null ? void 0 : ce[i];
|
|
25515
25562
|
if (d.columnlen != null) {
|
|
25516
25563
|
const ge = {}, be = {};
|
|
25517
25564
|
h.forEach(d.columnlen, (He, Se) => {
|
|
@@ -25701,7 +25748,10 @@ function Al(e, t) {
|
|
|
25701
25748
|
const c = l.config || {}, s = Mt(
|
|
25702
25749
|
l.filter
|
|
25703
25750
|
);
|
|
25704
|
-
if (c.rowhidden_manual == null && (c.rowhidden_manual = h.omit(
|
|
25751
|
+
if (c.rowhidden_manual == null && (c.rowhidden_manual = h.omit(
|
|
25752
|
+
c.rowhidden || {},
|
|
25753
|
+
h.keys(s)
|
|
25754
|
+
)), c.rowhidden_filter = s, c.rowhidden = h.assign({}, c.rowhidden_manual, s), r === "row") {
|
|
25705
25755
|
for (let C = a; C <= n; C += 1)
|
|
25706
25756
|
if ((Q = c.rowReadOnly) != null && Q[C])
|
|
25707
25757
|
throw new Error("readOnly");
|
|
@@ -25852,7 +25902,11 @@ function Al(e, t) {
|
|
|
25852
25902
|
}));
|
|
25853
25903
|
}
|
|
25854
25904
|
const b = (g == null ? void 0 : g.filter) != null ? Mt(g.filter) : Mt(y);
|
|
25855
|
-
c.rowhidden_filter = b, c.rowhidden = h.assign(
|
|
25905
|
+
c.rowhidden_filter = b, c.rowhidden = h.assign(
|
|
25906
|
+
{},
|
|
25907
|
+
c.rowhidden_manual || {},
|
|
25908
|
+
b
|
|
25909
|
+
);
|
|
25856
25910
|
const w = l.luckysheet_conditionformat_save, T = [];
|
|
25857
25911
|
if (w != null && w.length > 0)
|
|
25858
25912
|
for (let C = 0; C < w.length; C += 1) {
|
|
@@ -26902,175 +26956,175 @@ function wf(e) {
|
|
|
26902
26956
|
return c;
|
|
26903
26957
|
}
|
|
26904
26958
|
export {
|
|
26905
|
-
|
|
26906
|
-
|
|
26907
|
-
|
|
26908
|
-
|
|
26909
|
-
|
|
26910
|
-
|
|
26911
|
-
|
|
26912
|
-
|
|
26913
|
-
|
|
26914
|
-
|
|
26915
|
-
|
|
26916
|
-
|
|
26917
|
-
|
|
26918
|
-
|
|
26919
|
-
|
|
26920
|
-
|
|
26921
|
-
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
|
|
26927
|
-
|
|
26928
|
-
|
|
26929
|
-
|
|
26930
|
-
|
|
26931
|
-
|
|
26932
|
-
|
|
26959
|
+
sd as $,
|
|
26960
|
+
Os as A,
|
|
26961
|
+
Yt as B,
|
|
26962
|
+
Vt as C,
|
|
26963
|
+
Wn as D,
|
|
26964
|
+
xd as E,
|
|
26965
|
+
Sf as F,
|
|
26966
|
+
Af as G,
|
|
26967
|
+
Hs as H,
|
|
26968
|
+
tn as I,
|
|
26969
|
+
od as J,
|
|
26970
|
+
qf as K,
|
|
26971
|
+
Df as L,
|
|
26972
|
+
Pf as M,
|
|
26973
|
+
ba as N,
|
|
26974
|
+
Xe as O,
|
|
26975
|
+
ma as P,
|
|
26976
|
+
gr as Q,
|
|
26977
|
+
Et as R,
|
|
26978
|
+
If as S,
|
|
26979
|
+
Ys as T,
|
|
26980
|
+
Ff as U,
|
|
26981
|
+
wl as V,
|
|
26982
|
+
sr as W,
|
|
26983
|
+
Je as X,
|
|
26984
|
+
Js as Y,
|
|
26985
|
+
dd as Z,
|
|
26986
|
+
ll as _,
|
|
26933
26987
|
Le as a,
|
|
26934
|
-
|
|
26935
|
-
|
|
26936
|
-
|
|
26937
|
-
|
|
26938
|
-
|
|
26939
|
-
|
|
26940
|
-
|
|
26941
|
-
|
|
26942
|
-
|
|
26943
|
-
|
|
26944
|
-
|
|
26945
|
-
|
|
26946
|
-
|
|
26947
|
-
|
|
26948
|
-
|
|
26949
|
-
|
|
26950
|
-
|
|
26951
|
-
|
|
26952
|
-
|
|
26953
|
-
|
|
26954
|
-
|
|
26955
|
-
|
|
26956
|
-
|
|
26957
|
-
|
|
26958
|
-
|
|
26959
|
-
|
|
26960
|
-
|
|
26961
|
-
|
|
26962
|
-
|
|
26963
|
-
|
|
26964
|
-
|
|
26965
|
-
|
|
26966
|
-
|
|
26967
|
-
|
|
26968
|
-
|
|
26969
|
-
|
|
26970
|
-
|
|
26971
|
-
|
|
26972
|
-
|
|
26973
|
-
|
|
26974
|
-
|
|
26975
|
-
|
|
26976
|
-
|
|
26977
|
-
|
|
26978
|
-
|
|
26979
|
-
|
|
26980
|
-
|
|
26981
|
-
|
|
26982
|
-
|
|
26983
|
-
|
|
26984
|
-
|
|
26985
|
-
|
|
26986
|
-
|
|
26987
|
-
|
|
26988
|
-
|
|
26989
|
-
|
|
26990
|
-
|
|
26991
|
-
|
|
26992
|
-
|
|
26993
|
-
|
|
26994
|
-
|
|
26995
|
-
|
|
26996
|
-
|
|
26997
|
-
|
|
26998
|
-
|
|
26999
|
-
|
|
27000
|
-
|
|
27001
|
-
|
|
27002
|
-
|
|
27003
|
-
|
|
27004
|
-
|
|
27005
|
-
|
|
27006
|
-
|
|
27007
|
-
|
|
27008
|
-
|
|
27009
|
-
|
|
27010
|
-
|
|
27011
|
-
|
|
27012
|
-
|
|
27013
|
-
|
|
27014
|
-
|
|
27015
|
-
|
|
27016
|
-
|
|
27017
|
-
|
|
27018
|
-
|
|
27019
|
-
|
|
27020
|
-
|
|
27021
|
-
|
|
27022
|
-
|
|
27023
|
-
|
|
27024
|
-
|
|
27025
|
-
|
|
27026
|
-
|
|
27027
|
-
|
|
27028
|
-
|
|
27029
|
-
|
|
27030
|
-
|
|
27031
|
-
|
|
27032
|
-
|
|
27033
|
-
|
|
27034
|
-
|
|
27035
|
-
$
|
|
27036
|
-
|
|
27037
|
-
|
|
27038
|
-
|
|
27039
|
-
|
|
27040
|
-
|
|
27041
|
-
|
|
27042
|
-
|
|
27043
|
-
|
|
27044
|
-
|
|
27045
|
-
|
|
27046
|
-
|
|
27047
|
-
|
|
27048
|
-
|
|
27049
|
-
|
|
27050
|
-
|
|
27051
|
-
|
|
27052
|
-
|
|
27053
|
-
|
|
27054
|
-
|
|
27055
|
-
|
|
27056
|
-
|
|
27057
|
-
|
|
27058
|
-
|
|
27059
|
-
|
|
27060
|
-
|
|
27061
|
-
|
|
27062
|
-
|
|
27063
|
-
|
|
27064
|
-
|
|
27065
|
-
|
|
27066
|
-
|
|
27067
|
-
|
|
27068
|
-
|
|
27069
|
-
|
|
27070
|
-
|
|
27071
|
-
|
|
27072
|
-
|
|
27073
|
-
|
|
26988
|
+
Id as a$,
|
|
26989
|
+
fc as a0,
|
|
26990
|
+
qr as a1,
|
|
26991
|
+
Mo as a2,
|
|
26992
|
+
yn as a3,
|
|
26993
|
+
wa as a4,
|
|
26994
|
+
br as a5,
|
|
26995
|
+
$a as a6,
|
|
26996
|
+
zf as a7,
|
|
26997
|
+
Vs as a8,
|
|
26998
|
+
un as a9,
|
|
26999
|
+
zu as aA,
|
|
27000
|
+
qn as aB,
|
|
27001
|
+
Vd as aC,
|
|
27002
|
+
Ke as aD,
|
|
27003
|
+
an as aE,
|
|
27004
|
+
Qr as aF,
|
|
27005
|
+
Fo as aG,
|
|
27006
|
+
Jr as aH,
|
|
27007
|
+
qt as aI,
|
|
27008
|
+
ud as aJ,
|
|
27009
|
+
rn as aK,
|
|
27010
|
+
Zu as aL,
|
|
27011
|
+
tm as aM,
|
|
27012
|
+
Kt as aN,
|
|
27013
|
+
im as aO,
|
|
27014
|
+
rm as aP,
|
|
27015
|
+
ff as aQ,
|
|
27016
|
+
nm as aR,
|
|
27017
|
+
om as aS,
|
|
27018
|
+
am as aT,
|
|
27019
|
+
bd as aU,
|
|
27020
|
+
ra as aV,
|
|
27021
|
+
sm as aW,
|
|
27022
|
+
uf as aX,
|
|
27023
|
+
lm as aY,
|
|
27024
|
+
Ld as aZ,
|
|
27025
|
+
kd as a_,
|
|
27026
|
+
Ze as aa,
|
|
27027
|
+
ml as ab,
|
|
27028
|
+
cd as ac,
|
|
27029
|
+
Qu as ad,
|
|
27030
|
+
_u as ae,
|
|
27031
|
+
cm as af,
|
|
27032
|
+
hl as ag,
|
|
27033
|
+
jt as ah,
|
|
27034
|
+
_o as ai,
|
|
27035
|
+
af as aj,
|
|
27036
|
+
Tl as ak,
|
|
27037
|
+
mn as al,
|
|
27038
|
+
rc as am,
|
|
27039
|
+
It as an,
|
|
27040
|
+
Tu as ao,
|
|
27041
|
+
gl as ap,
|
|
27042
|
+
Bf as aq,
|
|
27043
|
+
Hn as ar,
|
|
27044
|
+
zn as as,
|
|
27045
|
+
em as at,
|
|
27046
|
+
Jd as au,
|
|
27047
|
+
Yn as av,
|
|
27048
|
+
Tr as aw,
|
|
27049
|
+
nf as ax,
|
|
27050
|
+
yl as ay,
|
|
27051
|
+
nl as az,
|
|
27052
|
+
hc as b,
|
|
27053
|
+
Mt as b$,
|
|
27054
|
+
Dd as b0,
|
|
27055
|
+
Od as b1,
|
|
27056
|
+
Md as b2,
|
|
27057
|
+
Rd as b3,
|
|
27058
|
+
Yf as b4,
|
|
27059
|
+
Ad as b5,
|
|
27060
|
+
Zd as b6,
|
|
27061
|
+
jc as b7,
|
|
27062
|
+
Vf as b8,
|
|
27063
|
+
Zc as b9,
|
|
27064
|
+
Nd as bA,
|
|
27065
|
+
Zf as bB,
|
|
27066
|
+
Qf as bC,
|
|
27067
|
+
Kf as bD,
|
|
27068
|
+
Vu as bE,
|
|
27069
|
+
Wu as bF,
|
|
27070
|
+
cr as bG,
|
|
27071
|
+
Sc as bH,
|
|
27072
|
+
Hd as bI,
|
|
27073
|
+
yd as bJ,
|
|
27074
|
+
gd as bK,
|
|
27075
|
+
pd as bL,
|
|
27076
|
+
id as bM,
|
|
27077
|
+
zd as bN,
|
|
27078
|
+
Al as bO,
|
|
27079
|
+
xt as bP,
|
|
27080
|
+
Ud as bQ,
|
|
27081
|
+
Un as bR,
|
|
27082
|
+
rf as bS,
|
|
27083
|
+
Pd as bT,
|
|
27084
|
+
Bd as bU,
|
|
27085
|
+
ea as bV,
|
|
27086
|
+
Xo as bW,
|
|
27087
|
+
xs as bX,
|
|
27088
|
+
Es as bY,
|
|
27089
|
+
$u as bZ,
|
|
27090
|
+
$l as b_,
|
|
27091
|
+
Ed as ba,
|
|
27092
|
+
Uf as bb,
|
|
27093
|
+
Kc as bc,
|
|
27094
|
+
xf as bd,
|
|
27095
|
+
vd as be,
|
|
27096
|
+
Gf as bf,
|
|
27097
|
+
Qd as bg,
|
|
27098
|
+
qd as bh,
|
|
27099
|
+
Fd as bi,
|
|
27100
|
+
jf as bj,
|
|
27101
|
+
Sd as bk,
|
|
27102
|
+
yr as bl,
|
|
27103
|
+
Ta as bm,
|
|
27104
|
+
Hf as bn,
|
|
27105
|
+
wd as bo,
|
|
27106
|
+
md as bp,
|
|
27107
|
+
hd as bq,
|
|
27108
|
+
rd as br,
|
|
27109
|
+
Gn as bs,
|
|
27110
|
+
vl as bt,
|
|
27111
|
+
Lc as bu,
|
|
27112
|
+
Hc as bv,
|
|
27113
|
+
Jf as bw,
|
|
27114
|
+
ed as bx,
|
|
27115
|
+
Io as by,
|
|
27116
|
+
Xf as bz,
|
|
27117
|
+
Ll as c,
|
|
27118
|
+
Wf as c0,
|
|
27119
|
+
Lf as c1,
|
|
27120
|
+
_l as c2,
|
|
27121
|
+
Mf as c3,
|
|
27122
|
+
Ef as c4,
|
|
27123
|
+
na as c5,
|
|
27124
|
+
Pc as c6,
|
|
27125
|
+
Yd as c7,
|
|
27126
|
+
Wd as c8,
|
|
27127
|
+
tf as c9,
|
|
27074
27128
|
mf as cA,
|
|
27075
27129
|
bf as cB,
|
|
27076
27130
|
Rl as cC,
|
|
@@ -27080,53 +27134,53 @@ export {
|
|
|
27080
27134
|
gf as cG,
|
|
27081
27135
|
yf as cH,
|
|
27082
27136
|
ql as cI,
|
|
27083
|
-
|
|
27084
|
-
|
|
27085
|
-
|
|
27086
|
-
|
|
27087
|
-
|
|
27088
|
-
|
|
27089
|
-
|
|
27090
|
-
|
|
27091
|
-
|
|
27092
|
-
|
|
27093
|
-
|
|
27094
|
-
|
|
27095
|
-
|
|
27096
|
-
|
|
27097
|
-
|
|
27098
|
-
|
|
27099
|
-
|
|
27100
|
-
|
|
27101
|
-
|
|
27102
|
-
|
|
27103
|
-
|
|
27104
|
-
|
|
27105
|
-
|
|
27106
|
-
|
|
27107
|
-
|
|
27108
|
-
|
|
27109
|
-
|
|
27137
|
+
cc as ca,
|
|
27138
|
+
Xd as cb,
|
|
27139
|
+
sc as cc,
|
|
27140
|
+
da as cd,
|
|
27141
|
+
fd as ce,
|
|
27142
|
+
Cn as cf,
|
|
27143
|
+
Cf as cg,
|
|
27144
|
+
Ns as ch,
|
|
27145
|
+
yt as ci,
|
|
27146
|
+
td as cj,
|
|
27147
|
+
Vn as ck,
|
|
27148
|
+
iu as cl,
|
|
27149
|
+
Lo as cm,
|
|
27150
|
+
$d as cn,
|
|
27151
|
+
Cd as co,
|
|
27152
|
+
ju as cp,
|
|
27153
|
+
Yu as cq,
|
|
27154
|
+
nd as cr,
|
|
27155
|
+
Nf as cs,
|
|
27156
|
+
ad as ct,
|
|
27157
|
+
_d as cu,
|
|
27158
|
+
ks as cv,
|
|
27159
|
+
jd as cw,
|
|
27160
|
+
Td as cx,
|
|
27161
|
+
ld as cy,
|
|
27162
|
+
Gd as cz,
|
|
27163
|
+
_n as d,
|
|
27110
27164
|
um as e,
|
|
27111
27165
|
hf as f,
|
|
27112
27166
|
zo as g,
|
|
27113
|
-
|
|
27167
|
+
Re as h,
|
|
27114
27168
|
Rc as i,
|
|
27115
|
-
|
|
27116
|
-
|
|
27169
|
+
cf as j,
|
|
27170
|
+
Kd as k,
|
|
27117
27171
|
Rt as l,
|
|
27118
|
-
|
|
27119
|
-
|
|
27120
|
-
|
|
27121
|
-
|
|
27122
|
-
|
|
27172
|
+
pr as m,
|
|
27173
|
+
Rs as n,
|
|
27174
|
+
va as o,
|
|
27175
|
+
_a as p,
|
|
27176
|
+
Qt as q,
|
|
27123
27177
|
mc as r,
|
|
27124
27178
|
bl as s,
|
|
27125
|
-
|
|
27126
|
-
|
|
27127
|
-
|
|
27128
|
-
|
|
27129
|
-
|
|
27130
|
-
|
|
27131
|
-
|
|
27179
|
+
Nn as t,
|
|
27180
|
+
Jt as u,
|
|
27181
|
+
vt as v,
|
|
27182
|
+
nn as w,
|
|
27183
|
+
Rf as x,
|
|
27184
|
+
kf as y,
|
|
27185
|
+
Of as z
|
|
27132
27186
|
};
|