@fileverse-dev/dsheet 2.0.28 → 2.0.29-comment-ux-3
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/components/editor-workbook.d.ts +1 -0
- package/dist/editor/dsheet-editor.d.ts +1 -1
- package/dist/editor/types.d.ts +2 -0
- package/dist/{executeStringFunction-BspF8hVB.js → executeStringFunction-BuxBjU-d.js} +142 -132
- package/dist/formula.js +1 -1
- package/dist/{index-D1i_xETZ.js → index-BM6JlVDx.js} +8381 -8279
- package/dist/index.es.js +19 -19
- package/dist/sheet-engine/core/index.d.ts +1 -1
- package/dist/sheet-engine/core/modules/index.d.ts +1 -1
- package/dist/sheet-engine/core/modules/selection.d.ts +3 -1
- package/dist/sheet-engine/core/settings.d.ts +2 -0
- package/dist/sheet-engine/react/components/Workbook/api.d.ts +1 -0
- package/dist/sheet-engine/react/components/Workbook/index.d.ts +1 -0
- package/dist/{use-xlsx-import-impl-B5-qrMmL.js → use-xlsx-import-impl-BvB-9rbj.js} +2 -2
- package/dist/{xlsx-export-impl-S-mMhIas.js → xlsx-export-impl-B_v1nNSW.js} +1 -1
- package/package.json +2 -2
|
@@ -14,6 +14,7 @@ interface EditorWorkbookProps {
|
|
|
14
14
|
allowComments?: boolean;
|
|
15
15
|
toggleTemplateSidebar?: () => void;
|
|
16
16
|
onboardingComplete?: boolean;
|
|
17
|
+
onboardingCompleteLocalStorageKey?: string;
|
|
17
18
|
onboardingHandler?: OnboardingHandler;
|
|
18
19
|
dataBlockApiKeyHandler?: DataBlockApiKeyHandler;
|
|
19
20
|
exportDropdownOpen?: boolean;
|
|
@@ -7,5 +7,5 @@ import { DsheetProps } from './types';
|
|
|
7
7
|
* @param props - Component properties
|
|
8
8
|
* @returns The SpreadsheetEditor component
|
|
9
9
|
*/
|
|
10
|
-
declare const SpreadsheetEditor: ({ isCollaborative, isReadOnly, allowComments, renderNavbar, enableIndexeddbSync, dsheetId, portalContent, onChange, username, selectedTemplate, toggleTemplateSidebar, isTemplateOpen, enableWebrtc, onboardingComplete, onboardingHandler, commentData, getCommentCellUI, dataBlockApiKeyHandler, setFetchingURLData, setShowFetchURLModal, setInputFetchURLDataBlock, sheetEditorRef: externalSheetEditorRef, storeApiKey, onDuneChartEmbed, onSheetCountChange, onDataBlockApiResponse, isAuthorized, getDocumentTitle, updateDocumentTitle, setShowSmartContractModal, editorStateRef, handleSmartContractQuery, setSelectedTemplate, isNewSheet, liveQueryRefreshRate, enableLiveQuery, }: DsheetProps) => JSX.Element;
|
|
10
|
+
declare const SpreadsheetEditor: ({ isCollaborative, isReadOnly, allowComments, renderNavbar, enableIndexeddbSync, dsheetId, portalContent, onChange, username, selectedTemplate, toggleTemplateSidebar, isTemplateOpen, enableWebrtc, onboardingComplete, onboardingCompleteLocalStorageKey, onboardingHandler, commentData, getCommentCellUI, dataBlockApiKeyHandler, setFetchingURLData, setShowFetchURLModal, setInputFetchURLDataBlock, sheetEditorRef: externalSheetEditorRef, storeApiKey, onDuneChartEmbed, onSheetCountChange, onDataBlockApiResponse, isAuthorized, getDocumentTitle, updateDocumentTitle, setShowSmartContractModal, editorStateRef, handleSmartContractQuery, setSelectedTemplate, isNewSheet, liveQueryRefreshRate, enableLiveQuery, }: DsheetProps) => JSX.Element;
|
|
11
11
|
export default SpreadsheetEditor;
|
package/dist/editor/types.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ export interface DsheetProps {
|
|
|
63
63
|
isCollaborative?: boolean;
|
|
64
64
|
selectedTemplate?: string;
|
|
65
65
|
onboardingComplete?: boolean;
|
|
66
|
+
/** When `onboardingComplete` is omitted, read `localStorage.getItem(key)==='true'` (default key `onboardingComplete`). */
|
|
67
|
+
onboardingCompleteLocalStorageKey?: string;
|
|
66
68
|
onboardingHandler?: OnboardingHandlerType;
|
|
67
69
|
dataBlockApiKeyHandler?: DataBlockApiKeyHandlerType;
|
|
68
70
|
setForceSheetRender?: React.Dispatch<React.SetStateAction<number>>;
|
|
@@ -22654,6 +22654,15 @@ function xd(e, t, r) {
|
|
|
22654
22654
|
}
|
|
22655
22655
|
], Jt(e, e.luckysheet_select_save));
|
|
22656
22656
|
}
|
|
22657
|
+
function Ad(e) {
|
|
22658
|
+
var t, r, a, n;
|
|
22659
|
+
return (r = (t = e == null ? void 0 : e[0]) == null ? void 0 : t[0]) != null && r.mc && !h.isNil((a = e[0][0].mc) == null ? void 0 : a.rs) && !h.isNil((n = e[0][0].mc) == null ? void 0 : n.cs) ? [
|
|
22660
|
+
{
|
|
22661
|
+
row: [0, e[0][0].mc.rs - 1],
|
|
22662
|
+
column: [0, e[0][0].mc.cs - 1]
|
|
22663
|
+
}
|
|
22664
|
+
] : [{ row: [0, 0], column: [0, 0] }];
|
|
22665
|
+
}
|
|
22657
22666
|
function Jt(e, t) {
|
|
22658
22667
|
if (!t)
|
|
22659
22668
|
return e.primaryCellActive = null, t;
|
|
@@ -22672,13 +22681,13 @@ function Jt(e, t) {
|
|
|
22672
22681
|
}
|
|
22673
22682
|
return Oo(e, t), t;
|
|
22674
22683
|
}
|
|
22675
|
-
function
|
|
22684
|
+
function Sd(e, t, r) {
|
|
22676
22685
|
const a = e || {};
|
|
22677
22686
|
for (let n = t; n <= r; n += 1)
|
|
22678
22687
|
n in a || (a[n] = 0);
|
|
22679
22688
|
return a;
|
|
22680
22689
|
}
|
|
22681
|
-
function
|
|
22690
|
+
function kd(e) {
|
|
22682
22691
|
const t = Object.keys(e).map(Number);
|
|
22683
22692
|
t.sort((n, o) => n - o);
|
|
22684
22693
|
let r, a = [];
|
|
@@ -22698,7 +22707,7 @@ function Lo(e) {
|
|
|
22698
22707
|
const t = h.cloneDeep(e);
|
|
22699
22708
|
return delete t.cellrange, JSON.stringify(t);
|
|
22700
22709
|
}
|
|
22701
|
-
function
|
|
22710
|
+
function Ed(e, t) {
|
|
22702
22711
|
var F, te;
|
|
22703
22712
|
const r = e.config;
|
|
22704
22713
|
if (r.merge == null && (r.merge = {}), !t) return;
|
|
@@ -22867,7 +22876,7 @@ function kd(e, t) {
|
|
|
22867
22876
|
}
|
|
22868
22877
|
Xu(e);
|
|
22869
22878
|
}
|
|
22870
|
-
function
|
|
22879
|
+
function qd(e, t) {
|
|
22871
22880
|
e == null && (e = t.luckysheet_selection_range), e = JSON.parse(JSON.stringify(e));
|
|
22872
22881
|
}
|
|
22873
22882
|
function St(e, t, r, a) {
|
|
@@ -22978,7 +22987,7 @@ function zt(e, t, r, a) {
|
|
|
22978
22987
|
l = o;
|
|
22979
22988
|
return [i, l];
|
|
22980
22989
|
}
|
|
22981
|
-
function
|
|
22990
|
+
function Md(e, t, r, a) {
|
|
22982
22991
|
var y;
|
|
22983
22992
|
const n = Re(e);
|
|
22984
22993
|
if (!n) return;
|
|
@@ -23056,7 +23065,7 @@ function qd(e, t, r, a) {
|
|
|
23056
23065
|
}, Un(e, s, d);
|
|
23057
23066
|
}
|
|
23058
23067
|
}
|
|
23059
|
-
function
|
|
23068
|
+
function Rd(e, t, r, a) {
|
|
23060
23069
|
let n, o, i, l;
|
|
23061
23070
|
const c = Re(e);
|
|
23062
23071
|
if (!h.isNil(c) && !h.isNil(e.luckysheet_select_save)) {
|
|
@@ -23433,7 +23442,7 @@ function ef(e, t, r, a) {
|
|
|
23433
23442
|
}
|
|
23434
23443
|
return `<table data-type="fortune-copy-action-table">${g}${p}</table>`;
|
|
23435
23444
|
}
|
|
23436
|
-
function
|
|
23445
|
+
function Id(e) {
|
|
23437
23446
|
var y, g, b, w;
|
|
23438
23447
|
const t = Re(e);
|
|
23439
23448
|
e.lastInternalCopyHtmlMetadataStripped = !1, e.luckysheet_selection_range = [];
|
|
@@ -23516,7 +23525,7 @@ function Rd(e) {
|
|
|
23516
23525
|
let p = !1;
|
|
23517
23526
|
f && u && f.length > Zu && (p = !0, f = f.replace(/\sdata-fortune-cell="[^"]*"/g, "")), f && (e.iscopyself = !0, e.lastInternalCopyHtmlMetadataStripped = p, ju.writeHtml(f));
|
|
23518
23527
|
}
|
|
23519
|
-
function
|
|
23528
|
+
function Dd(e) {
|
|
23520
23529
|
var a, n, o, i, l, c, s, u;
|
|
23521
23530
|
if (nn(e) === !1 || e.isFlvReadOnly)
|
|
23522
23531
|
return "allowEdit";
|
|
@@ -23569,7 +23578,7 @@ function Id(e) {
|
|
|
23569
23578
|
}
|
|
23570
23579
|
return "success";
|
|
23571
23580
|
}
|
|
23572
|
-
function
|
|
23581
|
+
function Od(e) {
|
|
23573
23582
|
var a;
|
|
23574
23583
|
if (nn(e) === !1)
|
|
23575
23584
|
return "allowEdit";
|
|
@@ -23607,7 +23616,7 @@ function Dd(e) {
|
|
|
23607
23616
|
}
|
|
23608
23617
|
return "success";
|
|
23609
23618
|
}
|
|
23610
|
-
function
|
|
23619
|
+
function Ld(e) {
|
|
23611
23620
|
var a, n, o;
|
|
23612
23621
|
if (nn(e) === !1)
|
|
23613
23622
|
return "allowEdit";
|
|
@@ -23714,7 +23723,7 @@ function Od(e) {
|
|
|
23714
23723
|
}
|
|
23715
23724
|
return "success";
|
|
23716
23725
|
}
|
|
23717
|
-
function
|
|
23726
|
+
function Fd(e) {
|
|
23718
23727
|
var a, n, o;
|
|
23719
23728
|
if (nn(e) === !1)
|
|
23720
23729
|
return "allowEdit";
|
|
@@ -23821,7 +23830,7 @@ function Ld(e) {
|
|
|
23821
23830
|
}
|
|
23822
23831
|
return "success";
|
|
23823
23832
|
}
|
|
23824
|
-
function
|
|
23833
|
+
function Bd(e, t) {
|
|
23825
23834
|
var n;
|
|
23826
23835
|
if (nn(e) === !1)
|
|
23827
23836
|
return "allowEdit";
|
|
@@ -23859,7 +23868,7 @@ function Fd(e, t) {
|
|
|
23859
23868
|
}
|
|
23860
23869
|
return "success";
|
|
23861
23870
|
}
|
|
23862
|
-
function
|
|
23871
|
+
function Pd(e) {
|
|
23863
23872
|
var a;
|
|
23864
23873
|
if (nn(e) === !1)
|
|
23865
23874
|
return "allowEdit";
|
|
@@ -23902,7 +23911,7 @@ function Bd(e) {
|
|
|
23902
23911
|
}
|
|
23903
23912
|
return "success";
|
|
23904
23913
|
}
|
|
23905
|
-
function
|
|
23914
|
+
function Hd(e) {
|
|
23906
23915
|
var a;
|
|
23907
23916
|
if (nn(e) === !1)
|
|
23908
23917
|
return "allowEdit";
|
|
@@ -23944,10 +23953,10 @@ function Pd(e) {
|
|
|
23944
23953
|
}
|
|
23945
23954
|
return "success";
|
|
23946
23955
|
}
|
|
23947
|
-
function
|
|
23956
|
+
function zd(e, t) {
|
|
23948
23957
|
return !1;
|
|
23949
23958
|
}
|
|
23950
|
-
function
|
|
23959
|
+
function Ud(e) {
|
|
23951
23960
|
const t = Re(e);
|
|
23952
23961
|
t && (e.luckysheet_select_status = !1, e.luckysheet_select_save = [
|
|
23953
23962
|
{
|
|
@@ -23960,7 +23969,7 @@ function zd(e) {
|
|
|
23960
23969
|
}
|
|
23961
23970
|
], Jt(e, e.luckysheet_select_save));
|
|
23962
23971
|
}
|
|
23963
|
-
function
|
|
23972
|
+
function Wd(e, t, r, a) {
|
|
23964
23973
|
var c;
|
|
23965
23974
|
if (!a) return {};
|
|
23966
23975
|
const n = {}, { scrollTop: o } = e, i = (c = a.horizontal) == null ? void 0 : c.freezenhorizontaldata;
|
|
@@ -23971,7 +23980,7 @@ function Ud(e, t, r, a) {
|
|
|
23971
23980
|
}
|
|
23972
23981
|
return l || (n.display = "none"), n;
|
|
23973
23982
|
}
|
|
23974
|
-
function
|
|
23983
|
+
function Vd(e, t, r, a) {
|
|
23975
23984
|
var c;
|
|
23976
23985
|
if (!a) return {};
|
|
23977
23986
|
const n = {}, { scrollLeft: o } = e, i = (c = a.vertical) == null ? void 0 : c.freezenverticaldata;
|
|
@@ -23982,7 +23991,7 @@ function Wd(e, t, r, a) {
|
|
|
23982
23991
|
}
|
|
23983
23992
|
return l || (n.display = "none"), n;
|
|
23984
23993
|
}
|
|
23985
|
-
function
|
|
23994
|
+
function Gd(e) {
|
|
23986
23995
|
var c, s, u, f, m, d, p, y, g, b, w, T, $, _, x, N, O, E;
|
|
23987
23996
|
const t = e.luckysheet_select_save;
|
|
23988
23997
|
let r = 0, a = 0, n = 0, o = -1 / 0, i = 1 / 0;
|
|
@@ -24001,7 +24010,7 @@ function Vd(e) {
|
|
|
24001
24010
|
const l = String(n / r);
|
|
24002
24011
|
return { numberC: r, count: a, sum: n, max: o, min: i, average: l };
|
|
24003
24012
|
}
|
|
24004
|
-
function
|
|
24013
|
+
function Yd(e) {
|
|
24005
24014
|
return {
|
|
24006
24015
|
luckysheetfile: [],
|
|
24007
24016
|
defaultcolumnNum: 60,
|
|
@@ -24314,7 +24323,7 @@ function tf(e, t, r) {
|
|
|
24314
24323
|
}
|
|
24315
24324
|
e.ch_width += a;
|
|
24316
24325
|
}
|
|
24317
|
-
function
|
|
24326
|
+
function jd(e, t) {
|
|
24318
24327
|
if ((e == null ? void 0 : e.length) > 0) {
|
|
24319
24328
|
let r = !1;
|
|
24320
24329
|
const a = [];
|
|
@@ -24323,7 +24332,7 @@ function Yd(e, t) {
|
|
|
24323
24332
|
}), r || (e[0].status = 1);
|
|
24324
24333
|
}
|
|
24325
24334
|
}
|
|
24326
|
-
function
|
|
24335
|
+
function Xd(e) {
|
|
24327
24336
|
const t = e.luckysheetfile.filter(
|
|
24328
24337
|
(r) => h.isUndefined(r.hide) || r.hide !== 1
|
|
24329
24338
|
);
|
|
@@ -24334,11 +24343,11 @@ function jd(e) {
|
|
|
24334
24343
|
break;
|
|
24335
24344
|
}
|
|
24336
24345
|
}
|
|
24337
|
-
function
|
|
24346
|
+
function Zd(e, t) {
|
|
24338
24347
|
const r = t.length, a = r === 0 ? 0 : t[0].length;
|
|
24339
24348
|
tf(e, r, a), Jt(e, e.luckysheet_select_save);
|
|
24340
24349
|
}
|
|
24341
|
-
function
|
|
24350
|
+
function Kd(e, t, r) {
|
|
24342
24351
|
e.luckysheetTableContentHW = [
|
|
24343
24352
|
r.clientWidth,
|
|
24344
24353
|
r.clientHeight
|
|
@@ -26109,7 +26118,7 @@ function kl(e, t) {
|
|
|
26109
26118
|
C.length > 0 && (e.formulaCache.execFunctionExist = C, Vn(e, null, null, null, null, Re(e)), e.formulaCache.execFunctionExist = void 0);
|
|
26110
26119
|
}
|
|
26111
26120
|
}
|
|
26112
|
-
function
|
|
26121
|
+
function Qd(e, t) {
|
|
26113
26122
|
if (!e.luckysheet_select_save || e.luckysheet_select_save.length > 1)
|
|
26114
26123
|
return "noMulti";
|
|
26115
26124
|
const r = Le(e, e.currentSheetId);
|
|
@@ -26131,7 +26140,7 @@ function Kd(e, t) {
|
|
|
26131
26140
|
}
|
|
26132
26141
|
return e.luckysheetfile[r].config = e.config, "";
|
|
26133
26142
|
}
|
|
26134
|
-
function
|
|
26143
|
+
function Jd(e, t) {
|
|
26135
26144
|
if (!e.luckysheet_select_save || e.luckysheet_select_save.length > 1)
|
|
26136
26145
|
return "noMulti";
|
|
26137
26146
|
const r = Le(e, e.currentSheetId);
|
|
@@ -26149,7 +26158,7 @@ function Qd(e, t) {
|
|
|
26149
26158
|
}
|
|
26150
26159
|
return e.luckysheetfile[r].config = e.config, "";
|
|
26151
26160
|
}
|
|
26152
|
-
function
|
|
26161
|
+
function em(e) {
|
|
26153
26162
|
var t, r, a, n;
|
|
26154
26163
|
if (!e.luckysheet_select_save || !e.config.colhidden && !e.config.rowhidden)
|
|
26155
26164
|
return !1;
|
|
@@ -26165,7 +26174,7 @@ function Jd(e) {
|
|
|
26165
26174
|
}
|
|
26166
26175
|
return !1;
|
|
26167
26176
|
}
|
|
26168
|
-
function
|
|
26177
|
+
function tm(e, t) {
|
|
26169
26178
|
let r = 1;
|
|
26170
26179
|
if (!e.luckysheet_select_save) return 0;
|
|
26171
26180
|
const a = e.luckysheet_select_save[0], n = e.config.rowhidden ?? {}, o = e.config.colhidden ?? {};
|
|
@@ -26210,7 +26219,7 @@ function em(e, t) {
|
|
|
26210
26219
|
}
|
|
26211
26220
|
return r;
|
|
26212
26221
|
}
|
|
26213
|
-
function
|
|
26222
|
+
function nm(e, t, r) {
|
|
26214
26223
|
let a = e.length;
|
|
26215
26224
|
const n = Rt(r).pivotTable, { title: o } = n;
|
|
26216
26225
|
for (let i = 0; i < e.length; i += 1)
|
|
@@ -26267,7 +26276,7 @@ function xr(e, t) {
|
|
|
26267
26276
|
const r = Le(e, t);
|
|
26268
26277
|
return h.isNil(r) ? null : e.luckysheetfile[r];
|
|
26269
26278
|
}
|
|
26270
|
-
function
|
|
26279
|
+
function rm(e) {
|
|
26271
26280
|
const t = /* @__PURE__ */ new Date(), r = t.getFullYear();
|
|
26272
26281
|
let a = t.getMonth(), n = t.getDate(), o = t.getHours(), i = t.getMinutes(), l = t.getSeconds();
|
|
26273
26282
|
a += 1, a < 10 && (a = `0${a}`), n < 10 && (n = `0${n}`), o < 10 && (o = `0${o}`), i < 10 && (i = `0${i}`), l < 10 && (l = `0${l}`);
|
|
@@ -26280,10 +26289,10 @@ function Bo(e, t) {
|
|
|
26280
26289
|
return typeof n < "u" ? n : r;
|
|
26281
26290
|
});
|
|
26282
26291
|
}
|
|
26283
|
-
function
|
|
26292
|
+
function am(e) {
|
|
26284
26293
|
return e.replace("~*", "\\*").replace("~?", "\\?").replace(".", "\\.").replace("*", ".*").replace("?", ".");
|
|
26285
26294
|
}
|
|
26286
|
-
function
|
|
26295
|
+
function im(e) {
|
|
26287
26296
|
let n = "";
|
|
26288
26297
|
for (; e >= 0; )
|
|
26289
26298
|
n = String.fromCharCode(e % 26 + 97) + n, e = Math.floor(e / 26) - 1;
|
|
@@ -26411,7 +26420,7 @@ const rn = new Error("invalid params"), Po = new Error("sheet not found"), mf =
|
|
|
26411
26420
|
n != null && t.push({ r, c: a, v: n });
|
|
26412
26421
|
}
|
|
26413
26422
|
return t;
|
|
26414
|
-
},
|
|
26423
|
+
}, om = (e, t, r) => {
|
|
26415
26424
|
const a = h.maxBy(e, "r"), n = h.maxBy(e, "c");
|
|
26416
26425
|
let o = ((a == null ? void 0 : a.r) ?? 0) + 1, i = ((n == null ? void 0 : n.c) ?? 0) + 1;
|
|
26417
26426
|
if (t != null && r != null && t > 0 && r > 0 && (o = Math.max(o, t), i = Math.max(i, r)), o && i) {
|
|
@@ -26434,11 +26443,11 @@ function an(e, t = {}) {
|
|
|
26434
26443
|
throw Po;
|
|
26435
26444
|
return a;
|
|
26436
26445
|
}
|
|
26437
|
-
function
|
|
26446
|
+
function lm(e, t = {}) {
|
|
26438
26447
|
const r = an(e, t);
|
|
26439
26448
|
return { ...r, celldata: mf(r.data) };
|
|
26440
26449
|
}
|
|
26441
|
-
function
|
|
26450
|
+
function sm(e, t, r, a = {}) {
|
|
26442
26451
|
const n = an(e, a), i = {
|
|
26443
26452
|
row: "rangeRow",
|
|
26444
26453
|
column: "rangeColumn",
|
|
@@ -26453,7 +26462,7 @@ function lm(e, t, r, a = {}) {
|
|
|
26453
26462
|
}
|
|
26454
26463
|
};
|
|
26455
26464
|
}
|
|
26456
|
-
function
|
|
26465
|
+
function cm(e, t, r, a, n, o = {}) {
|
|
26457
26466
|
if (!["row", "column"].includes(t) || !h.isNumber(r) || !h.isNumber(a) || !["lefttop", "rightbottom"].includes(n))
|
|
26458
26467
|
throw rn;
|
|
26459
26468
|
const i = an(e, o);
|
|
@@ -26469,13 +26478,13 @@ function sm(e, t, r, a, n, o = {}) {
|
|
|
26469
26478
|
console.error(l);
|
|
26470
26479
|
}
|
|
26471
26480
|
}
|
|
26472
|
-
function
|
|
26481
|
+
function um(e, t, r, a, n = {}) {
|
|
26473
26482
|
if (!["row", "column"].includes(t) || !h.isNumber(r) || !h.isNumber(a))
|
|
26474
26483
|
throw rn;
|
|
26475
26484
|
const o = an(e, n);
|
|
26476
26485
|
kl(e, { type: t, start: r, end: a, id: o.id });
|
|
26477
26486
|
}
|
|
26478
|
-
function
|
|
26487
|
+
function fm(e, t, r) {
|
|
26479
26488
|
if (!["row", "column"].includes(r))
|
|
26480
26489
|
throw rn;
|
|
26481
26490
|
if (!e || !e.config) return;
|
|
@@ -26494,7 +26503,7 @@ function um(e, t, r) {
|
|
|
26494
26503
|
}
|
|
26495
26504
|
e.luckysheetfile[a].config = e.config;
|
|
26496
26505
|
}
|
|
26497
|
-
function
|
|
26506
|
+
function dm(e, t, r) {
|
|
26498
26507
|
if (!["row", "column"].includes(r))
|
|
26499
26508
|
throw rn;
|
|
26500
26509
|
if (!e || !e.config) return;
|
|
@@ -26521,7 +26530,7 @@ function hf(e, t, r = {}, a = !1) {
|
|
|
26521
26530
|
Number(l) >= 0 && Number(i) >= 0 && (o.rowlen[Number(l)] = Number(i), a && h.isUndefined(o.customHeight) ? o.customHeight = { [l]: 1 } : a && (o.customHeight[l] = 1));
|
|
26522
26531
|
}), n.config = o, e.currentSheetId === n.id && (e.config = o);
|
|
26523
26532
|
}
|
|
26524
|
-
function
|
|
26533
|
+
function mm(e, t, r = {}, a = !1) {
|
|
26525
26534
|
if (!h.isPlainObject(t))
|
|
26526
26535
|
throw rn;
|
|
26527
26536
|
const n = an(e, r), o = n.config || {};
|
|
@@ -26540,7 +26549,7 @@ function pf(e, t, r = {}) {
|
|
|
26540
26549
|
}
|
|
26541
26550
|
}), i;
|
|
26542
26551
|
}
|
|
26543
|
-
function
|
|
26552
|
+
function hm(e, t, r = {}) {
|
|
26544
26553
|
if (!h.isArray(t) || t.length === 0)
|
|
26545
26554
|
throw rn;
|
|
26546
26555
|
const o = (an(e, r).config || {}).columnlen || {}, i = {};
|
|
@@ -26831,7 +26840,7 @@ const Rl = `$#,##0.${"0".repeat(2)}`, bf = ({
|
|
|
26831
26840
|
formulaResponseUiSync: bf
|
|
26832
26841
|
}, { callSignature: l } = e;
|
|
26833
26842
|
await t(i)(l);
|
|
26834
|
-
},
|
|
26843
|
+
}, pm = async ({
|
|
26835
26844
|
functionCallString: e,
|
|
26836
26845
|
sheetEditorRef: t,
|
|
26837
26846
|
dataBlockRow: r,
|
|
@@ -26967,7 +26976,7 @@ export {
|
|
|
26967
26976
|
Yt as B,
|
|
26968
26977
|
Vt as C,
|
|
26969
26978
|
Vn as D,
|
|
26970
|
-
|
|
26979
|
+
qd as E,
|
|
26971
26980
|
Mf as F,
|
|
26972
26981
|
qf as G,
|
|
26973
26982
|
Us as H,
|
|
@@ -26991,7 +27000,7 @@ export {
|
|
|
26991
27000
|
gd as Z,
|
|
26992
27001
|
cl as _,
|
|
26993
27002
|
Le as a,
|
|
26994
|
-
|
|
27003
|
+
Bd as a$,
|
|
26995
27004
|
pc as a0,
|
|
26996
27005
|
Rr as a1,
|
|
26997
27006
|
Io as a2,
|
|
@@ -27004,7 +27013,7 @@ export {
|
|
|
27004
27013
|
un as a9,
|
|
27005
27014
|
Gu as aA,
|
|
27006
27015
|
Mn as aB,
|
|
27007
|
-
|
|
27016
|
+
Zd as aC,
|
|
27008
27017
|
Ke as aD,
|
|
27009
27018
|
an as aE,
|
|
27010
27019
|
ea as aF,
|
|
@@ -27014,27 +27023,27 @@ export {
|
|
|
27014
27023
|
hd as aJ,
|
|
27015
27024
|
rn as aK,
|
|
27016
27025
|
ef as aL,
|
|
27017
|
-
|
|
27026
|
+
om as aM,
|
|
27018
27027
|
Kt as aN,
|
|
27019
|
-
|
|
27020
|
-
|
|
27028
|
+
um as aO,
|
|
27029
|
+
sm as aP,
|
|
27021
27030
|
pf as aQ,
|
|
27022
|
-
|
|
27023
|
-
|
|
27024
|
-
|
|
27031
|
+
lm as aR,
|
|
27032
|
+
fm as aS,
|
|
27033
|
+
cm as aT,
|
|
27025
27034
|
Td as aU,
|
|
27026
27035
|
ia as aV,
|
|
27027
|
-
|
|
27036
|
+
mm as aW,
|
|
27028
27037
|
hf as aX,
|
|
27029
|
-
|
|
27030
|
-
|
|
27031
|
-
|
|
27038
|
+
dm as aY,
|
|
27039
|
+
zd as aZ,
|
|
27040
|
+
Id as a_,
|
|
27032
27041
|
Ze as aa,
|
|
27033
27042
|
pl as ab,
|
|
27034
27043
|
md as ac,
|
|
27035
27044
|
nf as ad,
|
|
27036
27045
|
Nu as ae,
|
|
27037
|
-
|
|
27046
|
+
hm as af,
|
|
27038
27047
|
gl as ag,
|
|
27039
27048
|
Xt as ah,
|
|
27040
27049
|
$o as ai,
|
|
@@ -27048,26 +27057,26 @@ export {
|
|
|
27048
27057
|
Uf as aq,
|
|
27049
27058
|
zn as ar,
|
|
27050
27059
|
Un as as,
|
|
27051
|
-
|
|
27052
|
-
|
|
27060
|
+
im as at,
|
|
27061
|
+
am as au,
|
|
27053
27062
|
jn as av,
|
|
27054
27063
|
Nr as aw,
|
|
27055
27064
|
lf as ax,
|
|
27056
27065
|
wl as ay,
|
|
27057
27066
|
al as az,
|
|
27058
27067
|
bc as b,
|
|
27059
|
-
|
|
27060
|
-
|
|
27061
|
-
|
|
27062
|
-
|
|
27063
|
-
|
|
27068
|
+
Nl as b$,
|
|
27069
|
+
Pd as b0,
|
|
27070
|
+
Hd as b1,
|
|
27071
|
+
Ld as b2,
|
|
27072
|
+
Fd as b3,
|
|
27064
27073
|
Kf as b4,
|
|
27065
|
-
|
|
27066
|
-
|
|
27074
|
+
Md as b5,
|
|
27075
|
+
tm as b6,
|
|
27067
27076
|
Qc as b7,
|
|
27068
27077
|
Xf as b8,
|
|
27069
27078
|
eu as b9,
|
|
27070
|
-
|
|
27079
|
+
Ed as bA,
|
|
27071
27080
|
ed as bB,
|
|
27072
27081
|
nd as bC,
|
|
27073
27082
|
td as bD,
|
|
@@ -27075,36 +27084,36 @@ export {
|
|
|
27075
27084
|
ju as bF,
|
|
27076
27085
|
dr as bG,
|
|
27077
27086
|
Mc as bH,
|
|
27078
|
-
|
|
27087
|
+
Gd as bI,
|
|
27079
27088
|
_d as bJ,
|
|
27080
27089
|
vd as bK,
|
|
27081
27090
|
wd as bL,
|
|
27082
27091
|
cd as bM,
|
|
27083
|
-
|
|
27084
|
-
|
|
27085
|
-
|
|
27086
|
-
|
|
27087
|
-
|
|
27088
|
-
|
|
27089
|
-
|
|
27090
|
-
|
|
27091
|
-
|
|
27092
|
-
|
|
27093
|
-
|
|
27094
|
-
|
|
27095
|
-
|
|
27096
|
-
|
|
27097
|
-
|
|
27092
|
+
Yd as bN,
|
|
27093
|
+
Ad as bO,
|
|
27094
|
+
kl as bP,
|
|
27095
|
+
xt as bQ,
|
|
27096
|
+
jd as bR,
|
|
27097
|
+
Wn as bS,
|
|
27098
|
+
sf as bT,
|
|
27099
|
+
Vd as bU,
|
|
27100
|
+
Wd as bV,
|
|
27101
|
+
na as bW,
|
|
27102
|
+
Ko as bX,
|
|
27103
|
+
Ss as bY,
|
|
27104
|
+
Ms as bZ,
|
|
27105
|
+
Au as b_,
|
|
27106
|
+
Dd as ba,
|
|
27098
27107
|
Yf as bb,
|
|
27099
27108
|
tu as bc,
|
|
27100
27109
|
Ef as bd,
|
|
27101
27110
|
Cd as be,
|
|
27102
27111
|
Zf as bf,
|
|
27103
|
-
|
|
27104
|
-
|
|
27105
|
-
|
|
27112
|
+
rm as bg,
|
|
27113
|
+
Od as bh,
|
|
27114
|
+
Ud as bi,
|
|
27106
27115
|
Qf as bj,
|
|
27107
|
-
|
|
27116
|
+
Rd as bk,
|
|
27108
27117
|
vr as bl,
|
|
27109
27118
|
Ca as bm,
|
|
27110
27119
|
Vf as bn,
|
|
@@ -27121,59 +27130,60 @@ export {
|
|
|
27121
27130
|
Oo as by,
|
|
27122
27131
|
Jf as bz,
|
|
27123
27132
|
Bl as c,
|
|
27124
|
-
|
|
27125
|
-
|
|
27126
|
-
|
|
27127
|
-
|
|
27128
|
-
|
|
27129
|
-
|
|
27130
|
-
|
|
27131
|
-
|
|
27132
|
-
|
|
27133
|
-
|
|
27134
|
-
|
|
27135
|
-
|
|
27136
|
-
|
|
27137
|
-
|
|
27138
|
-
|
|
27139
|
-
|
|
27140
|
-
|
|
27141
|
-
|
|
27142
|
-
|
|
27143
|
-
|
|
27144
|
-
|
|
27145
|
-
|
|
27146
|
-
|
|
27147
|
-
|
|
27148
|
-
|
|
27149
|
-
|
|
27150
|
-
|
|
27151
|
-
|
|
27152
|
-
|
|
27153
|
-
|
|
27154
|
-
|
|
27155
|
-
|
|
27156
|
-
|
|
27133
|
+
Mt as c0,
|
|
27134
|
+
jf as c1,
|
|
27135
|
+
Hf as c2,
|
|
27136
|
+
$l as c3,
|
|
27137
|
+
Of as c4,
|
|
27138
|
+
If as c5,
|
|
27139
|
+
aa as c6,
|
|
27140
|
+
Wc as c7,
|
|
27141
|
+
Qd as c8,
|
|
27142
|
+
Xd as c9,
|
|
27143
|
+
Kd as cA,
|
|
27144
|
+
yf as cB,
|
|
27145
|
+
Tf as cC,
|
|
27146
|
+
Dl as cD,
|
|
27147
|
+
$f as cE,
|
|
27148
|
+
gr as cF,
|
|
27149
|
+
la as cG,
|
|
27150
|
+
vf as cH,
|
|
27151
|
+
_f as cI,
|
|
27152
|
+
Rl as cJ,
|
|
27153
|
+
of as ca,
|
|
27154
|
+
mc as cb,
|
|
27155
|
+
em as cc,
|
|
27156
|
+
dc as cd,
|
|
27157
|
+
ha as ce,
|
|
27158
|
+
pd as cf,
|
|
27159
|
+
Nn as cg,
|
|
27160
|
+
Sf as ch,
|
|
27161
|
+
As as ci,
|
|
27162
|
+
yt as cj,
|
|
27163
|
+
id as ck,
|
|
27164
|
+
Gn as cl,
|
|
27165
|
+
cu as cm,
|
|
27166
|
+
Bo as cn,
|
|
27157
27167
|
Sd as co,
|
|
27158
|
-
|
|
27159
|
-
|
|
27160
|
-
|
|
27161
|
-
|
|
27162
|
-
|
|
27163
|
-
|
|
27164
|
-
|
|
27165
|
-
|
|
27166
|
-
|
|
27167
|
-
|
|
27168
|
-
|
|
27168
|
+
kd as cp,
|
|
27169
|
+
Qu as cq,
|
|
27170
|
+
Ku as cr,
|
|
27171
|
+
od as cs,
|
|
27172
|
+
kf as ct,
|
|
27173
|
+
sd as cu,
|
|
27174
|
+
Nd as cv,
|
|
27175
|
+
qs as cw,
|
|
27176
|
+
Jd as cx,
|
|
27177
|
+
xd as cy,
|
|
27178
|
+
fd as cz,
|
|
27169
27179
|
Tn as d,
|
|
27170
|
-
|
|
27180
|
+
pm as e,
|
|
27171
27181
|
bf as f,
|
|
27172
27182
|
Wo as g,
|
|
27173
27183
|
Re as h,
|
|
27174
27184
|
Lc as i,
|
|
27175
27185
|
mf as j,
|
|
27176
|
-
|
|
27186
|
+
nm as k,
|
|
27177
27187
|
Rt as l,
|
|
27178
27188
|
br as m,
|
|
27179
27189
|
Ds as n,
|
package/dist/formula.js
CHANGED