@univerjs/sheets-formula 0.8.1-nightly.202506171607 → 0.8.1-nightly.202506191607

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/lib/index.js CHANGED
@@ -3,7 +3,7 @@ var Xa = (a, e, n) => e in a ? Ya(a, e, { enumerable: !0, configurable: !0, writ
3
3
  var W = (a, e, n) => Xa(a, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { CommandType as xt, ICommandService as ce, ObjectMatrix as G, Tools as Ae, IUniverInstanceService as Ce, Rectangle as fe, sequenceExecuteAsync as Wa, isFormulaString as xe, isFormulaId as la, cellToRange as sa, Direction as Xe, getIntersectRange as Ye, RANGE_TYPE as Y, Inject as X, Disposable as ae, UniverInstanceType as te, LifecycleService as Ka, ILogService as ka, IConfigService as De, LocaleService as _t, Injector as rt, createIdentifier as yt, toDisposable as ie, moveRangeByOffset as Nt, DisposableCollection as We, AbsoluteRefType as Ke, Optional as Qa, InterceptorEffectEnum as $a, CellValueType as Gt, isRealNum as ja, DependentOn as da, Plugin as pa, merge as La, touchDependencies as Ue, isNodeEnv as Ht } from "@univerjs/core";
5
5
  import { SetRangeValuesCommand as Pa, SheetsSelectionsService as za, getSheetCommandTarget as Za, findFirstNonEmptyCell as Ja, alignToMergedCellsBorders as ct, expandToContinuousRange as en, SetSelectionsOperation as tn, SetRangeValuesMutation as Z, handleMoveCols as Ta, EffectRefRangId as H, runRefRangeMutations as w, handleMoveRows as Ea, handleMoveRange as Ia, handleInsertRangeMoveRight as Na, handleInsertRangeMoveDown as Ra, handleDeleteRangeMoveUp as Sa, handleDeleteRangeMoveLeft as Aa, handleIRemoveCol as Ca, handleIRemoveRow as Da, handleInsertCol as ba, handleInsertRow as Oa, RemoveDefinedNameCommand as Ma, SetDefinedNameCommand as xa, RemoveSheetCommand as an, SetWorksheetNameCommand as nn, DeleteRangeMoveLeftCommand as rn, DeleteRangeMoveUpCommand as on, RemoveColCommand as un, RemoveRowCommand as mn, InsertRangeMoveDownCommand as fn, InsertRangeMoveRightCommand as cn, InsertColCommand as ln, InsertRowCommand as sn, MoveColsCommand as dn, MoveRowsCommand as pn, MoveRangeCommand as Ln, SheetInterceptorService as qt, SetStyleCommand as gt, SetBorderCommand as _a, ClearSelectionFormatCommand as ya, RemoveSheetMutation as Rt, InsertSheetMutation as St, RefRangeService as Pn, handleDefaultRangeChangeWithEffectRefCommands as wt, getSeparateEffectedRangesOnCommand as Tn, handleCommonDefaultRangeChangeWithEffectRefCommands as En, MoveRangeMutation as Yt, MoveRowsMutation as Xt, MoveColsMutation as Wt, ReorderRangeMutation as Kt, RemoveRowMutation as kt, RemoveColMutation as Qt, InsertColMutation as $t, InsertRowMutation as jt, SetRowHiddenMutation as zt, SetRowVisibleMutation as Zt, INTERCEPTOR_POINT as In, SetWorksheetActiveOperation as Nn, SCOPE_WORKBOOK_VALUE_DEFINED_NAME as lt, UniverSheetsPlugin as Rn } from "@univerjs/sheets";
6
- import { serializeRange as ye, sequenceNodeType as ee, deserializeRangeWithSheetWithCache as pe, serializeRangeToRefString as ot, ErrorType as j, IDefinedNamesService as ht, LexerTreeBuilder as Ut, generateStringWithSequence as ke, SetDefinedNameMutation as qe, IActiveDirtyManagerService as Ft, SetFormulaCalculationResultMutation as Sn, RemoveOtherFormulaMutation as An, SetOtherFormulaMutation as Cn, FormulaDataModel as ut, SetFormulaCalculationStartMutation as Ie, SetFormulaCalculationStopMutation as Jt, ENGINE_FORMULA_CYCLE_REFERENCE_COUNT as ea, SetFormulaCalculationNotificationMutation as Dn, FormulaExecuteStageType as Fe, FormulaExecutedStateType as be, IFormulaCurrentConfigService as bn, Lexer as On, AstTreeBuilder as Mn, Interpreter as xn, generateExecuteAstNodeData as _n, getObjectValue as yn, SetFormulaDataMutation as Be, SetArrayFormulaDataMutation as At, initSheetFormulaData as ta, FunctionType as t, FUNCTION_NAMES_ARRAY as aa, FUNCTION_NAMES_COMPATIBILITY as _, FUNCTION_NAMES_CUBE as se, FUNCTION_NAMES_DATABASE as $, FUNCTION_NAMES_DATE as B, FUNCTION_NAMES_ENGINEERING as S, FUNCTION_NAMES_FINANCIAL as C, FUNCTION_NAMES_INFORMATION as v, FUNCTION_NAMES_LOGICAL as K, FUNCTION_NAMES_LOOKUP as y, FUNCTION_NAMES_MATH as P, FUNCTION_NAMES_STATISTICAL as s, FUNCTION_NAMES_TEXT as D, FUNCTION_NAMES_WEB as st, IFunctionService as Bt, isReferenceStrings as qn, functionArray as gn, functionCompatibility as hn, functionCube as Un, functionDatabase as Fn, functionDate as Bn, functionEngineering as vn, functionFinancial as Vn, functionInformation as Gn, functionLogical as Hn, functionLookup as wn, functionMath as Yn, functionMeta as Xn, functionStatistical as Wn, functionText as Kn, functionUniver as kn, functionWeb as Qn, serializeRangeWithSpreadsheet as na, serializeRangeWithSheet as ia, CustomFunction as Ct, AsyncCustomFunction as qa, RemoveDefinedNameMutation as Dt, stripErrorMargin as $n, UniverFormulaEnginePlugin as ga } from "@univerjs/engine-formula";
6
+ import { serializeRange as ye, sequenceNodeType as ee, deserializeRangeWithSheetWithCache as pe, serializeRangeToRefString as ot, ErrorType as j, IDefinedNamesService as ht, LexerTreeBuilder as Ut, generateStringWithSequence as ke, SetDefinedNameMutation as qe, IActiveDirtyManagerService as Ft, SetFormulaCalculationResultMutation as Sn, RemoveOtherFormulaMutation as An, SetOtherFormulaMutation as Cn, FormulaDataModel as ut, SetFormulaCalculationStartMutation as Ie, SetFormulaCalculationStopMutation as Jt, ENGINE_FORMULA_CYCLE_REFERENCE_COUNT as ea, SetFormulaCalculationNotificationMutation as Dn, FormulaExecuteStageType as Fe, FormulaExecutedStateType as be, IFormulaCurrentConfigService as bn, Lexer as On, AstTreeBuilder as Mn, Interpreter as xn, generateExecuteAstNodeData as _n, getObjectValue as yn, SetFormulaDataMutation as Be, SetArrayFormulaDataMutation as At, initSheetFormulaData as ta, FunctionType as t, FUNCTION_NAMES_ARRAY as aa, FUNCTION_NAMES_COMPATIBILITY as x, FUNCTION_NAMES_CUBE as se, FUNCTION_NAMES_DATABASE as $, FUNCTION_NAMES_DATE as F, FUNCTION_NAMES_ENGINEERING as A, FUNCTION_NAMES_FINANCIAL as C, FUNCTION_NAMES_INFORMATION as v, FUNCTION_NAMES_LOGICAL as K, FUNCTION_NAMES_LOOKUP as _, FUNCTION_NAMES_MATH as P, FUNCTION_NAMES_STATISTICAL as l, FUNCTION_NAMES_TEXT as b, FUNCTION_NAMES_WEB as st, IFunctionService as Bt, isReferenceStrings as qn, functionArray as gn, functionCompatibility as hn, functionCube as Un, functionDatabase as Fn, functionDate as Bn, functionEngineering as vn, functionFinancial as Vn, functionInformation as Gn, functionLogical as Hn, functionLookup as wn, functionMath as Yn, functionMeta as Xn, functionStatistical as Wn, functionText as Kn, functionUniver as kn, functionWeb as Qn, serializeRangeWithSpreadsheet as na, serializeRangeWithSheet as ia, CustomFunction as Ct, AsyncCustomFunction as qa, RemoveDefinedNameMutation as Dt, stripErrorMargin as $n, UniverFormulaEnginePlugin as ga } from "@univerjs/engine-formula";
7
7
  import { Subject as ra, BehaviorSubject as ha, bufferWhen as jn, filter as oa, map as zn } from "rxjs";
8
8
  import { IRPCChannelService as Ua, fromModule as Zn, toModule as Jn } from "@univerjs/rpc";
9
9
  const ei = {
@@ -11,21 +11,21 @@ const ei = {
11
11
  type: xt.COMMAND,
12
12
  handler: async (a, e) => {
13
13
  const { list: n, listOfRangeHasNumber: i } = e, r = a.get(ce), o = new G();
14
- n.forEach((m) => {
15
- const { range: f, primary: c, formula: d } = m, { row: T, column: L } = c, E = Ae.generateRandomId(6);
16
- o.setValue(T, L, {
17
- f: d,
18
- si: E
14
+ n.forEach((f) => {
15
+ const { range: m, primary: c, formula: s } = f, { row: L, column: E } = c, p = Ae.generateRandomId(6);
16
+ o.setValue(L, E, {
17
+ f: s,
18
+ si: p
19
19
  });
20
- const { startRow: I, startColumn: A, endRow: l, endColumn: N } = f;
21
- for (let R = I; R <= l; R++)
22
- for (let p = A; p <= N; p++)
23
- (R !== T || p !== L) && o.setValue(R, p, {
24
- si: E
20
+ const { startRow: R, startColumn: S, endRow: N, endColumn: d } = m;
21
+ for (let D = R; D <= N; D++)
22
+ for (let I = S; I <= d; I++)
23
+ (D !== L || I !== E) && o.setValue(D, I, {
24
+ si: p
25
25
  });
26
- }), i && i.length > 0 && i.forEach((m) => {
27
- const { primary: f, formula: c } = m;
28
- o.setValue(f.row, f.column, {
26
+ }), i && i.length > 0 && i.forEach((f) => {
27
+ const { primary: m, formula: c } = f;
28
+ o.setValue(m.row, m.column, {
29
29
  f: c
30
30
  });
31
31
  });
@@ -43,52 +43,52 @@ const ei = {
43
43
  const i = a.get(Ce), r = Za(i);
44
44
  if (!r) return !1;
45
45
  const o = n.range, { worksheet: u } = r;
46
- let m = Ja(o, u);
47
- if (!m) return !1;
48
- m = ct(m, u);
49
- const f = en({
50
- startRow: m.startRow,
51
- startColumn: m.startColumn,
46
+ let f = Ja(o, u);
47
+ if (!f) return !1;
48
+ f = ct(f, u);
49
+ const m = en({
50
+ startRow: f.startRow,
51
+ startColumn: f.startColumn,
52
52
  endRow: o.endRow,
53
53
  endColumn: o.endColumn
54
- }, { left: !0, right: !0, up: !0, down: !0 }, u), c = new G(), d = ct({
55
- startRow: f.endRow,
56
- endRow: f.endRow,
57
- startColumn: f.startColumn,
58
- endColumn: f.endColumn
54
+ }, { left: !0, right: !0, up: !0, down: !0 }, u), c = new G(), s = ct({
55
+ startRow: m.endRow,
56
+ endRow: m.endRow,
57
+ startColumn: m.startColumn,
58
+ endColumn: m.endColumn
59
59
  }, u);
60
- if (!fe.equals(d, f))
61
- for (const E of u.iterateByColumn(d))
62
- (!E.value || !u.cellHasValue(E.value)) && c.setValue(E.row, E.col, {
60
+ if (!fe.equals(s, m))
61
+ for (const p of u.iterateByColumn(s))
62
+ (!p.value || !u.cellHasValue(p.value)) && c.setValue(p.row, p.col, {
63
63
  f: `=SUM(${ye({
64
- startColumn: E.col,
65
- endColumn: E.col,
66
- startRow: f.startRow,
67
- endRow: E.row - 1
64
+ startColumn: p.col,
65
+ endColumn: p.col,
66
+ startRow: m.startRow,
67
+ endRow: p.row - 1
68
68
  })})`
69
69
  });
70
- const T = ct({
71
- startRow: f.startRow,
72
- startColumn: f.endColumn,
73
- endRow: f.endRow,
74
- endColumn: f.endColumn
70
+ const L = ct({
71
+ startRow: m.startRow,
72
+ startColumn: m.endColumn,
73
+ endRow: m.endRow,
74
+ endColumn: m.endColumn
75
75
  }, u);
76
- if (!fe.equals(T, f))
77
- for (const E of u.iterateByRow(T))
78
- (!E.value || !u.cellHasValue(E.value)) && c.setValue(E.row, E.col, {
76
+ if (!fe.equals(L, m))
77
+ for (const p of u.iterateByRow(L))
78
+ (!p.value || !u.cellHasValue(p.value)) && c.setValue(p.row, p.col, {
79
79
  f: `=SUM(${ye({
80
- startColumn: f.startColumn,
81
- endColumn: E.col - 1,
82
- startRow: E.row,
83
- endRow: E.row
80
+ startColumn: m.startColumn,
81
+ endColumn: p.col - 1,
82
+ startRow: p.row,
83
+ endRow: p.row
84
84
  })})`
85
85
  });
86
- const L = a.get(ce);
86
+ const E = a.get(ce);
87
87
  return (await Wa([
88
88
  {
89
89
  id: Pa.id,
90
90
  params: {
91
- range: f,
91
+ range: m,
92
92
  value: c.getMatrix()
93
93
  }
94
94
  },
@@ -98,13 +98,13 @@ const ei = {
98
98
  unitId: r.unitId,
99
99
  subUnitId: r.subUnitId,
100
100
  selections: [{
101
- range: f,
102
- primary: fe.contains(f, n.primary) ? n.primary : { ...m, actualRow: m.startRow, actualColumn: m.startColumn },
101
+ range: m,
102
+ primary: fe.contains(m, n.primary) ? n.primary : { ...f, actualRow: f.startRow, actualColumn: f.startColumn },
103
103
  style: null
104
104
  }]
105
105
  }
106
106
  }
107
- ], L)).result;
107
+ ], E)).result;
108
108
  }
109
109
  }, Me = {
110
110
  type: xt.MUTATION,
@@ -131,7 +131,7 @@ function dt(a, e, n) {
131
131
  [e]: null
132
132
  };
133
133
  }
134
- var q = /* @__PURE__ */ ((a) => (a[a.MoveRange = 0] = "MoveRange", a[a.MoveRows = 1] = "MoveRows", a[a.MoveCols = 2] = "MoveCols", a[a.InsertRow = 3] = "InsertRow", a[a.InsertColumn = 4] = "InsertColumn", a[a.RemoveRow = 5] = "RemoveRow", a[a.RemoveColumn = 6] = "RemoveColumn", a[a.DeleteMoveLeft = 7] = "DeleteMoveLeft", a[a.DeleteMoveUp = 8] = "DeleteMoveUp", a[a.InsertMoveDown = 9] = "InsertMoveDown", a[a.InsertMoveRight = 10] = "InsertMoveRight", a[a.SetName = 11] = "SetName", a[a.RemoveSheet = 12] = "RemoveSheet", a[a.SetDefinedName = 13] = "SetDefinedName", a[a.RemoveDefinedName = 14] = "RemoveDefinedName", a))(q || {});
134
+ var y = /* @__PURE__ */ ((a) => (a[a.MoveRange = 0] = "MoveRange", a[a.MoveRows = 1] = "MoveRows", a[a.MoveCols = 2] = "MoveCols", a[a.InsertRow = 3] = "InsertRow", a[a.InsertColumn = 4] = "InsertColumn", a[a.RemoveRow = 5] = "RemoveRow", a[a.RemoveColumn = 6] = "RemoveColumn", a[a.DeleteMoveLeft = 7] = "DeleteMoveLeft", a[a.DeleteMoveUp = 8] = "DeleteMoveUp", a[a.InsertMoveDown = 9] = "InsertMoveDown", a[a.InsertMoveRight = 10] = "InsertMoveRight", a[a.SetName = 11] = "SetName", a[a.RemoveSheet = 12] = "RemoveSheet", a[a.SetDefinedName = 13] = "SetDefinedName", a[a.RemoveDefinedName = 14] = "RemoveDefinedName", a))(y || {});
135
135
  const ni = [
136
136
  11,
137
137
  12,
@@ -149,33 +149,33 @@ function ri(a, e) {
149
149
  const o = e[r], u = a[r];
150
150
  if (o == null || u == null)
151
151
  return !0;
152
- Object.keys(o).forEach((m) => {
153
- const f = new G(o[m] || {}), c = new G(u[m] || {}), d = new G(), T = new G();
154
- if (f.forValue((l, N, R) => {
155
- if (R == null)
152
+ Object.keys(o).forEach((f) => {
153
+ const m = new G(o[f] || {}), c = new G(u[f] || {}), s = new G(), L = new G();
154
+ if (m.forValue((N, d, D) => {
155
+ if (D == null)
156
156
  return !0;
157
- const p = mt(R);
158
- p !== null && (d.setValue(l, N, p), T.setValue(l, N, c.getValue(l, N)));
159
- }), d.getSizeOf() === 0)
157
+ const I = mt(D);
158
+ I !== null && (s.setValue(N, d, I), L.setValue(N, d, c.getValue(N, d)));
159
+ }), s.getSizeOf() === 0)
160
160
  return;
161
- const L = {
162
- subUnitId: m,
161
+ const E = {
162
+ subUnitId: f,
163
163
  unitId: r,
164
- cellValue: d.getMatrix()
165
- }, E = {
164
+ cellValue: s.getMatrix()
165
+ }, p = {
166
166
  id: Z.id,
167
- params: L
167
+ params: E
168
168
  };
169
- i.push(E);
170
- const I = {
171
- subUnitId: m,
169
+ i.push(p);
170
+ const R = {
171
+ subUnitId: f,
172
172
  unitId: r,
173
- cellValue: T.getMatrix()
174
- }, A = {
173
+ cellValue: L.getMatrix()
174
+ }, S = {
175
175
  id: Z.id,
176
- params: I
176
+ params: R
177
177
  };
178
- n.push(A);
178
+ n.push(S);
179
179
  });
180
180
  }), {
181
181
  undos: n,
@@ -190,32 +190,32 @@ function oi(a, e, n) {
190
190
  redos: []
191
191
  };
192
192
  const o = [], u = [];
193
- return Object.keys(i).forEach((m) => {
194
- Object.keys(i[m]).forEach((f) => {
195
- if (Object.keys(i[m][f]).length !== 0) {
193
+ return Object.keys(i).forEach((f) => {
194
+ Object.keys(i[f]).forEach((m) => {
195
+ if (Object.keys(i[f][m]).length !== 0) {
196
196
  const c = {
197
- subUnitId: f,
198
- unitId: m,
199
- cellValue: i[m][f]
200
- }, d = {
197
+ subUnitId: m,
198
+ unitId: f,
199
+ cellValue: i[f][m]
200
+ }, s = {
201
201
  id: Z.id,
202
202
  params: c
203
203
  };
204
- o.push(d);
204
+ o.push(s);
205
205
  }
206
206
  });
207
- }), Object.keys(r).forEach((m) => {
208
- Object.keys(r[m]).forEach((f) => {
209
- if (Object.keys(r[m][f]).length !== 0) {
207
+ }), Object.keys(r).forEach((f) => {
208
+ Object.keys(r[f]).forEach((m) => {
209
+ if (Object.keys(r[f][m]).length !== 0) {
210
210
  const c = {
211
- subUnitId: f,
212
- unitId: m,
213
- cellValue: r[m][f]
214
- }, d = {
211
+ subUnitId: m,
212
+ unitId: f,
213
+ cellValue: r[f][m]
214
+ }, s = {
215
215
  id: Z.id,
216
216
  params: c
217
217
  };
218
- u.push(d);
218
+ u.push(s);
219
219
  }
220
220
  });
221
221
  }), {
@@ -224,25 +224,25 @@ function oi(a, e, n) {
224
224
  };
225
225
  }
226
226
  function ui(a, e, n) {
227
- const i = {}, r = {}, { type: o, unitId: u, sheetId: m, range: f, from: c, to: d } = n;
228
- return (/* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(e)])).forEach((L) => {
229
- if (ai(a, L, m))
227
+ const i = {}, r = {}, { unitId: o, sheetId: u } = n;
228
+ return (/* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(e)])).forEach((m) => {
229
+ if (ai(a, m, u))
230
230
  return;
231
231
  (/* @__PURE__ */ new Set([
232
- ...Object.keys(a[L] || {}),
233
- ...Object.keys(e[L] || {})
234
- ])).forEach((I) => {
235
- var F, U;
236
- const A = (F = a[L]) == null ? void 0 : F[I], l = (U = e[L]) == null ? void 0 : U[I], N = new G(A || {}), R = new G(l || {});
237
- let p = [];
238
- L !== u || I !== m ? p = fi(R) : p = mi(N, o, c, d, f);
239
- const O = Ai(p, N, R), M = Ci(p, N);
240
- i[L] || (i[L] = {}), r[L] || (r[L] = {}), i[L][I] = {
241
- ...i[L][I],
242
- ...O
243
- }, r[L][I] = {
244
- ...r[L][I],
245
- ...M
232
+ ...Object.keys(a[m] || {}),
233
+ ...Object.keys(e[m] || {})
234
+ ])).forEach((s) => {
235
+ var D, I;
236
+ const L = (D = a[m]) == null ? void 0 : D[s], E = (I = e[m]) == null ? void 0 : I[s], p = new G(L || {}), R = new G(E || {});
237
+ let S = [];
238
+ m !== o || s !== u ? S = fi(R) : S = mi(p, n);
239
+ const N = Ai(S, p, R), d = Ci(S, p);
240
+ i[m] || (i[m] = {}), r[m] || (r[m] = {}), i[m][s] = {
241
+ ...i[m][s],
242
+ ...N
243
+ }, r[m][s] = {
244
+ ...r[m][s],
245
+ ...d
246
246
  };
247
247
  });
248
248
  }), {
@@ -250,25 +250,25 @@ function ui(a, e, n) {
250
250
  undoFormulaData: r
251
251
  };
252
252
  }
253
- function mi(a, e, n, i, r) {
254
- const o = [];
255
- return a.forValue((u, m, f) => {
256
- if (f == null || !Fa(f)) return !0;
257
- const c = sa(u, m);
258
- let d = null, T = !1;
253
+ function mi(a, e) {
254
+ const { type: n, from: i, to: r, range: o } = e, u = [];
255
+ return a.forValue((f, m, c) => {
256
+ if (c == null || !Fa(c)) return !0;
257
+ const s = sa(f, m);
258
+ let L = null, E = !1;
259
259
  if ([
260
260
  0,
261
261
  1,
262
262
  2
263
263
  /* MoveCols */
264
- ].includes(e))
265
- d = ci(e, n, i, c);
266
- else if (r != null) {
267
- const L = li(e, r, c);
268
- d = L.newCell, T = L.isReverse;
264
+ ].includes(n))
265
+ L = ci(n, i, r, s);
266
+ else if (o != null) {
267
+ const p = li(s, e);
268
+ L = p.newCell, E = p.isReverse;
269
269
  }
270
- T ? o.unshift({ oldCell: c, newCell: d }) : o.push({ oldCell: c, newCell: d });
271
- }), o;
270
+ E ? u.unshift({ oldCell: s, newCell: L }) : u.push({ oldCell: s, newCell: L });
271
+ }), u;
272
272
  }
273
273
  function fi(a) {
274
274
  const e = [];
@@ -292,35 +292,36 @@ function ci(a, e, n, i) {
292
292
  return null;
293
293
  }
294
294
  }
295
- function li(a, e, n) {
296
- let i = null, r = !1;
297
- switch (a) {
295
+ function li(a, e) {
296
+ const { type: n, rangeFilteredRows: i } = e, r = e.range;
297
+ let o = null, u = !1;
298
+ switch (n) {
298
299
  case 3:
299
- i = Li(e, n), r = !0;
300
+ o = Li(r, a), u = !0;
300
301
  break;
301
302
  case 4:
302
- i = Pi(e, n), r = !0;
303
+ o = Pi(r, a), u = !0;
303
304
  break;
304
305
  case 5:
305
- i = Ti(e, n);
306
+ o = Ti(r, a, i);
306
307
  break;
307
308
  case 6:
308
- i = Ei(e, n);
309
+ o = Ei(r, a);
309
310
  break;
310
311
  case 7:
311
- i = Ii(e, n);
312
+ o = Ii(r, a);
312
313
  break;
313
314
  case 8:
314
- i = Ni(e, n);
315
+ o = Ni(r, a);
315
316
  break;
316
317
  case 9:
317
- i = Ri(e, n), r = !0;
318
+ o = Ri(r, a), u = !0;
318
319
  break;
319
320
  case 10:
320
- i = Si(e, n), r = !0;
321
+ o = Si(r, a), u = !0;
321
322
  break;
322
323
  }
323
- return { newCell: i, isReverse: r };
324
+ return { newCell: o, isReverse: u };
324
325
  }
325
326
  function si(a, e, n) {
326
327
  const i = Ia(
@@ -372,15 +373,16 @@ function Pi(a, e) {
372
373
  );
373
374
  return w(n, e);
374
375
  }
375
- function Ti(a, e) {
376
- const n = Da(
376
+ function Ti(a, e, n) {
377
+ const i = Da(
377
378
  {
378
379
  id: H.RemoveRowCommandId,
379
380
  params: { range: a }
380
381
  },
381
- e
382
+ e,
383
+ n
382
384
  );
383
- return w(n, e);
385
+ return w(i, e);
384
386
  }
385
387
  function Ei(a, e) {
386
388
  const n = Ca(
@@ -435,22 +437,22 @@ function Si(a, e) {
435
437
  function Ai(a, e, n) {
436
438
  const i = new G({});
437
439
  return a.forEach((r) => {
438
- const { oldCell: o, newCell: u } = r, { startRow: m, startColumn: f } = o, c = n.getValue(m, f) || e.getValue(m, f), d = mt(c);
439
- if (i.setValue(m, f, { f: null, si: null }), u) {
440
- const { startRow: T, startColumn: L } = u;
441
- i.setValue(T, L, d);
440
+ const { oldCell: o, newCell: u } = r, { startRow: f, startColumn: m } = o, c = n.getValue(f, m) || e.getValue(f, m), s = mt(c);
441
+ if (i.setValue(f, m, { f: null, si: null }), u) {
442
+ const { startRow: L, startColumn: E } = u;
443
+ i.setValue(L, E, s);
442
444
  }
443
445
  }), i.getMatrix();
444
446
  }
445
447
  function Ci(a, e) {
446
448
  const n = new G({});
447
449
  return a.reverse().forEach((i) => {
448
- const { oldCell: r, newCell: o } = i, { startRow: u, startColumn: m } = r, f = e.getValue(u, m), c = mt(f);
450
+ const { oldCell: r, newCell: o } = i, { startRow: u, startColumn: f } = r, m = e.getValue(u, f), c = mt(m);
449
451
  if (o) {
450
- const { startRow: d, startColumn: T } = o;
451
- n.setValue(d, T, { f: null, si: null });
452
+ const { startRow: s, startColumn: L } = o;
453
+ n.setValue(s, L, { f: null, si: null });
452
454
  }
453
- n.setValue(u, m, c);
455
+ n.setValue(u, f, c);
454
456
  }), n.getMatrix();
455
457
  }
456
458
  function mt(a) {
@@ -462,8 +464,8 @@ function mt(a) {
462
464
  f: null,
463
465
  si: null
464
466
  };
465
- const m = {};
466
- return u && (m.si = n), o && i === 0 && r === 0 && (m.f = e), m.f === void 0 && (m.f = null), m.si === void 0 && (m.si = null), m;
467
+ const f = {};
468
+ return u && (f.si = n), o && i === 0 && r === 0 && (f.f = e), f.f === void 0 && (f.f = null), f.si === void 0 && (f.si = null), f;
467
469
  }
468
470
  function Di(a) {
469
471
  const e = new G({});
@@ -487,272 +489,273 @@ function Ba(a, e, n, i, r, o) {
487
489
  function va(a, e, n = 0, i = 0) {
488
490
  const r = [];
489
491
  for (let o = 0, u = a.length; o < u; o++) {
490
- const m = a[o];
491
- if (typeof m == "string" || m.nodeType !== ee.REFERENCE || e.includes(o)) {
492
- r.push(m);
492
+ const f = a[o];
493
+ if (typeof f == "string" || f.nodeType !== ee.REFERENCE || e.includes(o)) {
494
+ r.push(f);
493
495
  continue;
494
496
  }
495
- const { token: f } = m, c = pe(f), { range: d, sheetName: T, unitId: L } = c, E = fe.moveOffset(d, n, i);
497
+ const { token: m } = f, c = pe(m), { range: s, sheetName: L, unitId: E } = c, p = fe.moveOffset(s, n, i);
496
498
  r.push({
497
- ...m,
499
+ ...f,
498
500
  token: ot({
499
- range: E,
500
- unitId: L,
501
- sheetName: T
501
+ range: p,
502
+ unitId: E,
503
+ sheetName: L
502
504
  })
503
505
  });
504
506
  }
505
507
  return r;
506
508
  }
507
509
  function Va(a, e, n, i) {
508
- const { type: r, unitId: o, sheetId: u, range: m, from: f, to: c } = e, {
509
- range: d,
510
- sheetId: T,
511
- unitId: L,
512
- sheetName: E,
513
- refOffsetX: I,
514
- refOffsetY: A
510
+ const { type: r, unitId: o, sheetId: u, range: f, from: m, to: c, rangeFilteredRows: s } = e, {
511
+ range: L,
512
+ sheetId: E,
513
+ unitId: p,
514
+ sheetName: R,
515
+ refOffsetX: S,
516
+ refOffsetY: N
515
517
  } = a;
516
518
  if (!Ba(
517
519
  o,
518
520
  u,
519
521
  n,
520
522
  i,
521
- L,
522
- T
523
+ p,
524
+ E
523
525
  ))
524
526
  return;
525
- const l = fe.moveOffset(d, I, A);
526
- let N = null;
527
- if (r === q.MoveRange) {
528
- if (f == null || c == null)
527
+ const d = fe.moveOffset(L, S, N);
528
+ let D = null;
529
+ if (r === y.MoveRange) {
530
+ if (m == null || c == null)
529
531
  return;
530
- const R = Lt(l, f), p = Ye(l, f);
531
- if (p == null || R !== 4)
532
+ const I = Lt(d, m), T = Ye(d, m);
533
+ if (T == null || I !== 4)
532
534
  return;
533
- const O = Ia(
534
- { id: H.MoveRangeCommandId, params: { toRange: c, fromRange: f } },
535
- p
536
- ), M = w(O, p);
537
- if (M == null)
535
+ const g = Ia(
536
+ { id: H.MoveRangeCommandId, params: { toRange: c, fromRange: m } },
537
+ T
538
+ ), h = w(g, T);
539
+ if (h == null)
538
540
  return j.REF;
539
- N = pt(R, M, f, c, l, p);
540
- } else if (r === q.MoveRows) {
541
- if (f == null || c == null)
541
+ D = pt(I, h, m, c, d, T);
542
+ } else if (r === y.MoveRows) {
543
+ if (m == null || c == null)
542
544
  return;
543
- const R = Lt(l, f);
544
- let p = Ye(l, f);
545
- if (p == null && (f.endRow < l.startRow && c.endRow < l.startRow || f.startRow > l.endRow && c.startRow > l.endRow))
545
+ const I = Lt(d, m);
546
+ let T = Ye(d, m);
547
+ if (T == null && (m.endRow < d.startRow && c.endRow < d.startRow || m.startRow > d.endRow && c.startRow > d.endRow))
546
548
  return;
547
- p == null && (p = {
548
- startRow: l.startRow,
549
- endRow: l.endRow,
550
- startColumn: l.startColumn,
551
- endColumn: l.endColumn,
549
+ T == null && (T = {
550
+ startRow: d.startRow,
551
+ endRow: d.endRow,
552
+ startColumn: d.startColumn,
553
+ endColumn: d.endColumn,
552
554
  rangeType: Y.NORMAL
553
555
  });
554
- const O = Ea(
555
- { id: H.MoveRowsCommandId, params: { toRange: c, fromRange: f } },
556
- p
557
- ), M = w(O, p);
558
- if (M == null)
556
+ const g = Ea(
557
+ { id: H.MoveRowsCommandId, params: { toRange: c, fromRange: m } },
558
+ T
559
+ ), h = w(g, T);
560
+ if (h == null)
559
561
  return j.REF;
560
- N = pt(R, M, f, c, l, p);
561
- } else if (r === q.MoveCols) {
562
- if (f == null || c == null)
562
+ D = pt(I, h, m, c, d, T);
563
+ } else if (r === y.MoveCols) {
564
+ if (m == null || c == null)
563
565
  return;
564
- const R = Lt(l, f);
565
- let p = Ye(l, f);
566
- if (p == null && (f.endColumn < l.startColumn && c.endColumn < l.startColumn || f.startColumn > l.endColumn && c.startColumn > l.endColumn))
566
+ const I = Lt(d, m);
567
+ let T = Ye(d, m);
568
+ if (T == null && (m.endColumn < d.startColumn && c.endColumn < d.startColumn || m.startColumn > d.endColumn && c.startColumn > d.endColumn))
567
569
  return;
568
- p == null && (p = {
569
- startRow: l.startRow,
570
- endRow: l.endRow,
571
- startColumn: l.startColumn,
572
- endColumn: l.endColumn,
570
+ T == null && (T = {
571
+ startRow: d.startRow,
572
+ endRow: d.endRow,
573
+ startColumn: d.startColumn,
574
+ endColumn: d.endColumn,
573
575
  rangeType: Y.NORMAL
574
576
  });
575
- const O = Ta(
576
- { id: H.MoveColsCommandId, params: { toRange: c, fromRange: f } },
577
- p
578
- ), M = w(O, p);
579
- if (M == null)
577
+ const g = Ta(
578
+ { id: H.MoveColsCommandId, params: { toRange: c, fromRange: m } },
579
+ T
580
+ ), h = w(g, T);
581
+ if (h == null)
580
582
  return j.REF;
581
- N = pt(R, M, f, c, l, p);
583
+ D = pt(I, h, m, c, d, T);
582
584
  }
583
- if (m != null) {
584
- if (r === q.InsertRow) {
585
- const R = Oa(
585
+ if (f != null) {
586
+ if (r === y.InsertRow) {
587
+ const I = Oa(
586
588
  {
587
589
  id: H.InsertRowCommandId,
588
- params: { range: m, unitId: "", subUnitId: "", direction: Xe.DOWN }
590
+ params: { range: f, unitId: "", subUnitId: "", direction: Xe.DOWN }
589
591
  },
590
- l
591
- ), p = w(R, l);
592
- if (p == null)
592
+ d
593
+ ), T = w(I, d);
594
+ if (T == null)
593
595
  return;
594
- N = {
595
- ...l,
596
- ...p
596
+ D = {
597
+ ...d,
598
+ ...T
597
599
  };
598
- } else if (r === q.InsertColumn) {
599
- const R = ba(
600
+ } else if (r === y.InsertColumn) {
601
+ const I = ba(
600
602
  {
601
603
  id: H.InsertColCommandId,
602
- params: { range: m, unitId: "", subUnitId: "", direction: Xe.RIGHT }
604
+ params: { range: f, unitId: "", subUnitId: "", direction: Xe.RIGHT }
603
605
  },
604
- l
605
- ), p = w(R, l);
606
- if (p == null)
606
+ d
607
+ ), T = w(I, d);
608
+ if (T == null)
607
609
  return;
608
- N = {
609
- ...l,
610
- ...p
610
+ D = {
611
+ ...d,
612
+ ...T
611
613
  };
612
- } else if (r === q.RemoveRow) {
613
- const R = Da(
614
+ } else if (r === y.RemoveRow) {
615
+ const I = Da(
614
616
  {
615
617
  id: H.RemoveRowCommandId,
616
- params: { range: m }
618
+ params: { range: f }
617
619
  },
618
- l
619
- ), p = w(R, l);
620
- if (p == null)
620
+ d,
621
+ s
622
+ ), T = w(I, d);
623
+ if (T == null)
621
624
  return j.REF;
622
- N = {
623
- ...l,
624
- ...p
625
+ D = {
626
+ ...d,
627
+ ...T
625
628
  };
626
- } else if (r === q.RemoveColumn) {
627
- const R = Ca(
629
+ } else if (r === y.RemoveColumn) {
630
+ const I = Ca(
628
631
  {
629
632
  id: H.RemoveColCommandId,
630
- params: { range: m }
633
+ params: { range: f }
631
634
  },
632
- l
633
- ), p = w(R, l);
634
- if (p == null)
635
+ d
636
+ ), T = w(I, d);
637
+ if (T == null)
635
638
  return j.REF;
636
- N = {
637
- ...l,
638
- ...p
639
+ D = {
640
+ ...d,
641
+ ...T
639
642
  };
640
- } else if (r === q.DeleteMoveLeft) {
641
- const R = Aa(
643
+ } else if (r === y.DeleteMoveLeft) {
644
+ const I = Aa(
642
645
  {
643
646
  id: H.DeleteRangeMoveLeftCommandId,
644
- params: { range: m }
647
+ params: { range: f }
645
648
  },
646
- l
647
- ), p = w(R, l);
648
- if (p == null)
649
+ d
650
+ ), T = w(I, d);
651
+ if (T == null)
649
652
  return j.REF;
650
- N = {
651
- ...l,
652
- ...p
653
+ D = {
654
+ ...d,
655
+ ...T
653
656
  };
654
- } else if (r === q.DeleteMoveUp) {
655
- const R = Sa(
657
+ } else if (r === y.DeleteMoveUp) {
658
+ const I = Sa(
656
659
  {
657
660
  id: H.DeleteRangeMoveUpCommandId,
658
- params: { range: m }
661
+ params: { range: f }
659
662
  },
660
- l
661
- ), p = w(R, l);
662
- if (p == null)
663
+ d
664
+ ), T = w(I, d);
665
+ if (T == null)
663
666
  return j.REF;
664
- N = {
665
- ...l,
666
- ...p
667
+ D = {
668
+ ...d,
669
+ ...T
667
670
  };
668
- } else if (r === q.InsertMoveDown) {
669
- const R = Ra(
671
+ } else if (r === y.InsertMoveDown) {
672
+ const I = Ra(
670
673
  {
671
674
  id: H.InsertRangeMoveDownCommandId,
672
- params: { range: m }
675
+ params: { range: f }
673
676
  },
674
- l
675
- ), p = w(R, l);
676
- if (p == null)
677
+ d
678
+ ), T = w(I, d);
679
+ if (T == null)
677
680
  return;
678
- N = {
679
- ...l,
680
- ...p
681
+ D = {
682
+ ...d,
683
+ ...T
681
684
  };
682
- } else if (r === q.InsertMoveRight) {
683
- const R = Na(
685
+ } else if (r === y.InsertMoveRight) {
686
+ const I = Na(
684
687
  {
685
688
  id: H.InsertRangeMoveRightCommandId,
686
- params: { range: m }
689
+ params: { range: f }
687
690
  },
688
- l
689
- ), p = w(R, l);
690
- if (p == null)
691
+ d
692
+ ), T = w(I, d);
693
+ if (T == null)
691
694
  return;
692
- N = {
693
- ...l,
694
- ...p
695
+ D = {
696
+ ...d,
697
+ ...T
695
698
  };
696
699
  }
697
700
  }
698
- if (N != null)
701
+ if (D != null)
699
702
  return ot({
700
- range: N,
701
- sheetName: E,
702
- unitId: L
703
+ range: D,
704
+ sheetName: R,
705
+ unitId: p
703
706
  });
704
707
  }
705
708
  function pt(a, e, n, i, r, o) {
706
- const { startRow: u, endRow: m, startColumn: f, endColumn: c, rangeType: d } = Oe(e), {
709
+ const { startRow: u, endRow: f, startColumn: m, endColumn: c, rangeType: s } = Oe(e), {
710
+ startRow: L,
711
+ startColumn: E,
712
+ endRow: p,
713
+ endColumn: R,
714
+ rangeType: S = Y.NORMAL
715
+ } = Oe(n), { startRow: N, startColumn: d, endRow: D, endColumn: I } = Oe(i), {
707
716
  startRow: T,
708
- startColumn: L,
709
- endRow: E,
710
- endColumn: I,
711
- rangeType: A = Y.NORMAL
712
- } = Oe(n), { startRow: l, startColumn: N, endRow: R, endColumn: p } = Oe(i), {
713
- startRow: O,
714
- endRow: M,
715
- startColumn: F,
716
- endColumn: U
717
- } = Oe(o), {
718
- startRow: g,
719
- endRow: x,
717
+ endRow: g,
720
718
  startColumn: h,
719
+ endColumn: B
720
+ } = Oe(o), {
721
+ startRow: q,
722
+ endRow: M,
723
+ startColumn: U,
721
724
  endColumn: V,
722
725
  rangeType: Q = Y.NORMAL
723
- } = Oe(r), b = { ...r };
726
+ } = Oe(r), O = { ...r };
724
727
  function Pe() {
725
- return d === Y.COLUMN && Q === Y.COLUMN ? !0 : f >= h && c <= V;
728
+ return s === Y.COLUMN && Q === Y.COLUMN ? !0 : m >= U && c <= V;
726
729
  }
727
730
  function ne() {
728
- return d === Y.ROW && Q === Y.ROW ? !0 : u >= g && m <= x;
731
+ return s === Y.ROW && Q === Y.ROW ? !0 : u >= q && f <= M;
729
732
  }
730
733
  if (a === 0)
731
734
  if (Pe())
732
- if (u < g)
733
- b.startRow = u;
734
- else if (u >= x)
735
- b.endRow -= E + 1 - g;
735
+ if (u < q)
736
+ O.startRow = u;
737
+ else if (u >= M)
738
+ O.endRow -= p + 1 - q;
736
739
  else
737
740
  return;
738
741
  else
739
742
  return;
740
743
  else if (a === 1)
741
744
  if (Pe())
742
- if (m > x)
743
- b.endRow = m;
744
- else if (m <= g)
745
- b.startRow += x - T + 1;
745
+ if (f > M)
746
+ O.endRow = f;
747
+ else if (f <= q)
748
+ O.startRow += M - L + 1;
746
749
  else
747
750
  return;
748
751
  else
749
752
  return;
750
753
  else if (a === 2)
751
754
  if (ne())
752
- if (f < h)
753
- b.startColumn = f;
754
- else if (f >= V)
755
- b.endColumn -= I + 1 - h;
755
+ if (m < U)
756
+ O.startColumn = m;
757
+ else if (m >= V)
758
+ O.endColumn -= R + 1 - U;
756
759
  else
757
760
  return;
758
761
  else
@@ -760,28 +763,28 @@ function pt(a, e, n, i, r, o) {
760
763
  else if (a === 3)
761
764
  if (ne())
762
765
  if (c > V)
763
- b.endColumn = c;
764
- else if (c <= h)
765
- b.startColumn += V - L + 1;
766
+ O.endColumn = c;
767
+ else if (c <= U)
768
+ O.startColumn += V - E + 1;
766
769
  else
767
770
  return;
768
771
  else
769
772
  return;
770
- else a === 4 ? (b.startRow = u, b.startColumn = f, b.endRow = m, b.endColumn = c) : L <= h && I >= V || A === Y.ROW && Q === Y.ROW ? n.endRow < g ? (l >= g && (b.startRow -= E - T + 1), l >= x && (b.endRow -= E - T + 1)) : n.startRow > x ? (R <= x && (b.endRow += E - T + 1), R <= g && (b.startRow += E - T + 1)) : n.startRow >= g && n.endRow <= x && (l <= g ? b.startRow += E - T + 1 : l >= x && (b.endRow -= E - T + 1)) : T <= g && E >= x || A === Y.COLUMN && Q === Y.COLUMN ? n.endColumn < h ? (N >= h && (b.startColumn -= I - L + 1), N >= V && (b.endColumn -= I - L + 1)) : n.startColumn > V ? (p <= V && (b.endColumn += I - L + 1), p <= h && (b.startColumn += I - L + 1)) : n.startColumn >= h && n.endColumn <= V && (N <= h ? b.startColumn += I - L + 1 : N >= V && (b.endColumn -= I - L + 1)) : ((N <= U + 1 && p >= V || N <= h && p >= F - 1) && l <= g && R >= x || (l <= M + 1 && R >= x || l <= g && R >= O - 1) && N <= h && p >= V, b.startRow = u, b.startColumn = f, b.endRow = m, b.endColumn = c);
771
- return b;
773
+ else a === 4 ? (O.startRow = u, O.startColumn = m, O.endRow = f, O.endColumn = c) : E <= U && R >= V || S === Y.ROW && Q === Y.ROW ? n.endRow < q ? (N >= q && (O.startRow -= p - L + 1), N >= M && (O.endRow -= p - L + 1)) : n.startRow > M ? (D <= M && (O.endRow += p - L + 1), D <= q && (O.startRow += p - L + 1)) : n.startRow >= q && n.endRow <= M && (N <= q ? O.startRow += p - L + 1 : N >= M && (O.endRow -= p - L + 1)) : L <= q && p >= M || S === Y.COLUMN && Q === Y.COLUMN ? n.endColumn < U ? (d >= U && (O.startColumn -= R - E + 1), d >= V && (O.endColumn -= R - E + 1)) : n.startColumn > V ? (I <= V && (O.endColumn += R - E + 1), I <= U && (O.startColumn += R - E + 1)) : n.startColumn >= U && n.endColumn <= V && (d <= U ? O.startColumn += R - E + 1 : d >= V && (O.endColumn -= R - E + 1)) : ((d <= B + 1 && I >= V || d <= U && I >= h - 1) && N <= q && D >= M || (N <= g + 1 && D >= M || N <= q && D >= T - 1) && d <= U && I >= V, O.startRow = u, O.startColumn = m, O.endRow = f, O.endColumn = c);
774
+ return O;
772
775
  }
773
776
  function Lt(a, e) {
774
- const n = Re(a.startRow), i = Se(a.endRow), r = Re(a.startColumn), o = Se(a.endColumn), u = Re(e.startRow), m = Se(e.endRow), f = Re(e.startColumn), c = Se(e.endColumn);
775
- function d() {
776
- return a.rangeType === Y.COLUMN && e.rangeType === Y.COLUMN ? !0 : n >= u && i <= m;
777
- }
778
- function T() {
779
- return a.rangeType === Y.ROW && e.rangeType === Y.ROW ? !0 : r >= f && o <= c;
777
+ const n = Re(a.startRow), i = Se(a.endRow), r = Re(a.startColumn), o = Se(a.endColumn), u = Re(e.startRow), f = Se(e.endRow), m = Re(e.startColumn), c = Se(e.endColumn);
778
+ function s() {
779
+ return a.rangeType === Y.COLUMN && e.rangeType === Y.COLUMN ? !0 : n >= u && i <= f;
780
780
  }
781
781
  function L() {
782
+ return a.rangeType === Y.ROW && e.rangeType === Y.ROW ? !0 : r >= m && o <= c;
783
+ }
784
+ function E() {
782
785
  return a.rangeType === Y.ALL && e.rangeType === Y.ALL;
783
786
  }
784
- return d() && T() || L() ? 4 : T() && n >= u && n <= m && i > m ? 0 : T() && i >= u && i <= m && n < u ? 1 : d() && r >= f && r <= c && o > c ? 2 : d() && o >= f && o <= c && r < f ? 3 : null;
787
+ return s() && L() || E() ? 4 : L() && n >= u && n <= f && i > f ? 0 : L() && i >= u && i <= f && n < u ? 1 : s() && r >= m && r <= c && o > c ? 2 : s() && o >= m && o <= c && r < m ? 3 : null;
785
788
  }
786
789
  function Re(a) {
787
790
  return isNaN(a) ? -1 / 0 : a;
@@ -866,7 +869,7 @@ function bi(a, e) {
866
869
  if (!i || !r) return null;
867
870
  const { unitId: o, sheetId: u } = J(e);
868
871
  return {
869
- type: q.MoveRange,
872
+ type: y.MoveRange,
870
873
  from: i,
871
874
  to: r,
872
875
  unitId: o,
@@ -879,26 +882,26 @@ function Oi(a, e) {
879
882
  const {
880
883
  fromRange: { startRow: i, endRow: r },
881
884
  toRange: { startRow: o, endRow: u }
882
- } = n, m = e.getUnitId(), f = e.getActiveSheet();
883
- if (!f) return null;
884
- const c = f.getSheetId(), d = {
885
+ } = n, f = e.getUnitId(), m = e.getActiveSheet();
886
+ if (!m) return null;
887
+ const c = m.getSheetId(), s = {
885
888
  startRow: i,
886
889
  startColumn: 0,
887
890
  endRow: r,
888
- endColumn: f.getColumnCount() - 1,
891
+ endColumn: m.getColumnCount() - 1,
889
892
  rangeType: Y.ROW
890
- }, T = {
893
+ }, L = {
891
894
  startRow: o,
892
895
  startColumn: 0,
893
896
  endRow: u,
894
- endColumn: f.getColumnCount() - 1,
897
+ endColumn: m.getColumnCount() - 1,
895
898
  rangeType: Y.ROW
896
899
  };
897
900
  return {
898
- type: q.MoveRows,
899
- from: d,
900
- to: T,
901
- unitId: m,
901
+ type: y.MoveRows,
902
+ from: s,
903
+ to: L,
904
+ unitId: f,
902
905
  sheetId: c
903
906
  };
904
907
  }
@@ -908,26 +911,26 @@ function Mi(a, e) {
908
911
  const {
909
912
  fromRange: { startColumn: i, endColumn: r },
910
913
  toRange: { startColumn: o, endColumn: u }
911
- } = n, m = e.getUnitId(), f = e.getActiveSheet();
912
- if (!f) return null;
913
- const c = f.getSheetId(), d = {
914
+ } = n, f = e.getUnitId(), m = e.getActiveSheet();
915
+ if (!m) return null;
916
+ const c = m.getSheetId(), s = {
914
917
  startRow: 0,
915
918
  startColumn: i,
916
- endRow: f.getRowCount() - 1,
919
+ endRow: m.getRowCount() - 1,
917
920
  endColumn: r,
918
921
  rangeType: Y.COLUMN
919
- }, T = {
922
+ }, L = {
920
923
  startRow: 0,
921
924
  startColumn: o,
922
- endRow: f.getRowCount() - 1,
925
+ endRow: m.getRowCount() - 1,
923
926
  endColumn: u,
924
927
  rangeType: Y.COLUMN
925
928
  };
926
929
  return {
927
- type: q.MoveCols,
928
- from: d,
929
- to: T,
930
- unitId: m,
930
+ type: y.MoveCols,
931
+ from: s,
932
+ to: L,
933
+ unitId: f,
931
934
  sheetId: c
932
935
  };
933
936
  }
@@ -936,7 +939,7 @@ function xi(a) {
936
939
  if (!e) return null;
937
940
  const { range: n, unitId: i, subUnitId: r } = e;
938
941
  return {
939
- type: q.InsertRow,
942
+ type: y.InsertRow,
940
943
  range: n,
941
944
  unitId: i,
942
945
  sheetId: r
@@ -947,7 +950,7 @@ function _i(a) {
947
950
  if (!e) return null;
948
951
  const { range: n, unitId: i, subUnitId: r } = e;
949
952
  return {
950
- type: q.InsertColumn,
953
+ type: y.InsertColumn,
951
954
  range: n,
952
955
  unitId: i,
953
956
  sheetId: r
@@ -958,7 +961,7 @@ function yi(a, e) {
958
961
  if (!n) return null;
959
962
  const { range: i } = n, { unitId: r, sheetId: o } = J(e);
960
963
  return {
961
- type: q.InsertMoveRight,
964
+ type: y.InsertMoveRight,
962
965
  range: i,
963
966
  unitId: r,
964
967
  sheetId: o
@@ -969,21 +972,23 @@ function qi(a, e) {
969
972
  if (!n) return null;
970
973
  const { range: i } = n, { unitId: r, sheetId: o } = J(e);
971
974
  return {
972
- type: q.InsertMoveDown,
975
+ type: y.InsertMoveDown,
973
976
  range: i,
974
977
  unitId: r,
975
978
  sheetId: o
976
979
  };
977
980
  }
978
981
  function gi(a, e) {
982
+ var u, f;
979
983
  const { params: n } = a;
980
984
  if (!n) return null;
981
985
  const { range: i } = n, { unitId: r, sheetId: o } = J(e);
982
986
  return {
983
- type: q.RemoveRow,
987
+ type: y.RemoveRow,
984
988
  range: i,
985
989
  unitId: r,
986
- sheetId: o
990
+ sheetId: o,
991
+ rangeFilteredRows: (f = (u = e.getSheetBySheetId(o)) == null ? void 0 : u.getRangeFilterRows(i)) != null ? f : []
987
992
  };
988
993
  }
989
994
  function hi(a, e) {
@@ -991,7 +996,7 @@ function hi(a, e) {
991
996
  if (!n) return null;
992
997
  const { range: i } = n, { unitId: r, sheetId: o } = J(e);
993
998
  return {
994
- type: q.RemoveColumn,
999
+ type: y.RemoveColumn,
995
1000
  range: i,
996
1001
  unitId: r,
997
1002
  sheetId: o
@@ -1002,7 +1007,7 @@ function Ui(a, e) {
1002
1007
  if (!n) return null;
1003
1008
  const { range: i } = n, { unitId: r, sheetId: o } = J(e);
1004
1009
  return {
1005
- type: q.DeleteMoveUp,
1010
+ type: y.DeleteMoveUp,
1006
1011
  range: i,
1007
1012
  unitId: r,
1008
1013
  sheetId: o
@@ -1013,7 +1018,7 @@ function Fi(a, e) {
1013
1018
  if (!n) return null;
1014
1019
  const { range: i } = n, { unitId: r, sheetId: o } = J(e);
1015
1020
  return {
1016
- type: q.DeleteMoveLeft,
1021
+ type: y.DeleteMoveLeft,
1017
1022
  range: i,
1018
1023
  unitId: r,
1019
1024
  sheetId: o
@@ -1022,11 +1027,11 @@ function Fi(a, e) {
1022
1027
  function Bi(a, e) {
1023
1028
  const { params: n } = a;
1024
1029
  if (!n) return null;
1025
- const { unitId: i, subUnitId: r, name: o } = n, { unitId: u, sheetId: m } = J(e);
1030
+ const { unitId: i, subUnitId: r, name: o } = n, { unitId: u, sheetId: f } = J(e);
1026
1031
  return {
1027
- type: q.SetName,
1032
+ type: y.SetName,
1028
1033
  unitId: i || u,
1029
- sheetId: r || m,
1034
+ sheetId: r || f,
1030
1035
  sheetName: o
1031
1036
  };
1032
1037
  }
@@ -1035,7 +1040,7 @@ function vi(a, e) {
1035
1040
  if (!n) return null;
1036
1041
  const { unitId: i, subUnitId: r } = n, { unitId: o, sheetId: u } = J(e);
1037
1042
  return {
1038
- type: q.RemoveSheet,
1043
+ type: y.RemoveSheet,
1039
1044
  unitId: i || o,
1040
1045
  sheetId: r || u
1041
1046
  };
@@ -1045,7 +1050,7 @@ function Vi(a, e) {
1045
1050
  if (!n) return null;
1046
1051
  const { unitId: i, name: r, id: o } = n, { sheetId: u } = J(e);
1047
1052
  return {
1048
- type: q.SetDefinedName,
1053
+ type: y.SetDefinedName,
1049
1054
  unitId: i,
1050
1055
  sheetId: u,
1051
1056
  definedName: r,
@@ -1057,7 +1062,7 @@ function Gi(a, e) {
1057
1062
  if (!n) return null;
1058
1063
  const { unitId: i, name: r, id: o } = n, { sheetId: u } = J(e);
1059
1064
  return {
1060
- type: q.RemoveDefinedName,
1065
+ type: y.RemoveDefinedName,
1061
1066
  unitId: i,
1062
1067
  sheetId: u,
1063
1068
  definedName: r,
@@ -1108,75 +1113,75 @@ let Qe = class extends ae {
1108
1113
  redos: [],
1109
1114
  undos: []
1110
1115
  };
1111
- const u = [], m = [];
1112
- return Object.values(o).forEach((f) => {
1113
- var l;
1114
- const { formulaOrRefString: c } = f, d = this._lexerTreeBuilder.sequenceNodesBuilder(c);
1115
- if (d == null)
1116
+ const u = [], f = [];
1117
+ return Object.values(o).forEach((m) => {
1118
+ var N;
1119
+ const { formulaOrRefString: c } = m, s = this._lexerTreeBuilder.sequenceNodesBuilder(c);
1120
+ if (s == null)
1116
1121
  return !0;
1117
- let T = !1;
1118
- const L = [];
1119
- for (let N = 0, R = d.length; N < R; N++) {
1120
- const p = d[N];
1121
- if (typeof p == "string" || p.nodeType !== ee.REFERENCE)
1122
+ let L = !1;
1123
+ const E = [];
1124
+ for (let d = 0, D = s.length; d < D; d++) {
1125
+ const I = s[d];
1126
+ if (typeof I == "string" || I.nodeType !== ee.REFERENCE)
1122
1127
  continue;
1123
- const { token: O } = p, M = pe(O), { range: F, sheetName: U, unitId: g } = M, x = ((l = a.getSheetBySheetName(U)) == null ? void 0 : l.getSheetId()) || "", h = {
1124
- range: F,
1125
- sheetId: x,
1126
- unitId: g,
1127
- sheetName: U,
1128
+ const { token: T } = I, g = pe(T), { range: h, sheetName: B, unitId: q } = g, M = ((N = a.getSheetBySheetName(B)) == null ? void 0 : N.getSheetId()) || "", U = {
1129
+ range: h,
1130
+ sheetId: M,
1131
+ unitId: q,
1132
+ sheetName: B,
1128
1133
  refOffsetX: 0,
1129
1134
  refOffsetY: 0
1130
1135
  };
1131
1136
  let V = null;
1132
- if (n === q.RemoveSheet)
1133
- V = this._removeSheet(f, i, r);
1134
- else if (n === q.SetName) {
1137
+ if (n === y.RemoveSheet)
1138
+ V = this._removeSheet(m, i, r);
1139
+ else if (n === y.SetName) {
1135
1140
  const {
1136
1141
  sheetId: Q,
1137
- sheetName: b
1142
+ sheetName: O
1138
1143
  } = e;
1139
- if (b == null || x == null || x.length === 0 || Q !== x)
1144
+ if (O == null || M == null || M.length === 0 || Q !== M)
1140
1145
  continue;
1141
1146
  V = ot({
1142
- range: F,
1143
- sheetName: b,
1144
- unitId: g
1147
+ range: h,
1148
+ sheetName: O,
1149
+ unitId: q
1145
1150
  });
1146
1151
  } else
1147
1152
  V = Va(
1148
- h,
1153
+ U,
1149
1154
  e,
1150
1155
  i,
1151
1156
  r
1152
1157
  );
1153
- V != null && (d[N] = {
1154
- ...p,
1158
+ V != null && (s[d] = {
1159
+ ...I,
1155
1160
  token: V
1156
- }, T = !0, L.push(N));
1161
+ }, L = !0, E.push(d));
1157
1162
  }
1158
- if (!T)
1163
+ if (!L)
1159
1164
  return !0;
1160
- const E = ke(va(d, L)), I = {
1165
+ const p = ke(va(s, E)), R = {
1161
1166
  id: qe.id,
1162
1167
  params: {
1163
1168
  unitId: i,
1164
- ...f,
1165
- formulaOrRefString: E
1169
+ ...m,
1170
+ formulaOrRefString: p
1166
1171
  }
1167
1172
  };
1168
- u.push(I);
1169
- const A = {
1173
+ u.push(R);
1174
+ const S = {
1170
1175
  id: qe.id,
1171
1176
  params: {
1172
1177
  unitId: i,
1173
- ...f
1178
+ ...m
1174
1179
  }
1175
1180
  };
1176
- m.push(A);
1181
+ f.push(S);
1177
1182
  }), {
1178
1183
  redos: u,
1179
- undos: m
1184
+ undos: f
1180
1185
  };
1181
1186
  }
1182
1187
  _removeSheet(a, e, n) {
@@ -1233,7 +1238,7 @@ let $e = class extends ae {
1233
1238
  }
1234
1239
  );
1235
1240
  const e = (n) => {
1236
- const { unitId: i, subUnitId: r, formulaText: o, formulaId: u, ranges: m } = n;
1241
+ const { unitId: i, subUnitId: r, formulaText: o, formulaId: u, ranges: f } = n;
1237
1242
  if (!this._ensureCacheMap(i, r).has(u))
1238
1243
  return;
1239
1244
  const c = {
@@ -1242,7 +1247,7 @@ let $e = class extends ae {
1242
1247
  formulaMap: {
1243
1248
  [u]: {
1244
1249
  f: o,
1245
- ranges: m
1250
+ ranges: f
1246
1251
  }
1247
1252
  }
1248
1253
  };
@@ -1264,24 +1269,24 @@ let $e = class extends ae {
1264
1269
  if (e.id === Sn.id) {
1265
1270
  const n = e.params, { unitOtherData: i } = n, r = {};
1266
1271
  for (const o in i) {
1267
- const u = i[o], m = {};
1268
- r[o] = m;
1269
- for (const f in u) {
1270
- const c = this._ensureCacheMap(o, f), d = u[f], T = [];
1271
- m[f] = T;
1272
- for (const L in d) {
1273
- const E = d[L];
1274
- if (c.has(L)) {
1275
- const I = c.get(L);
1276
- if (!I)
1272
+ const u = i[o], f = {};
1273
+ r[o] = f;
1274
+ for (const m in u) {
1275
+ const c = this._ensureCacheMap(o, m), s = u[m], L = [];
1276
+ f[m] = L;
1277
+ for (const E in s) {
1278
+ const p = s[E];
1279
+ if (c.has(E)) {
1280
+ const R = c.get(E);
1281
+ if (!R)
1277
1282
  continue;
1278
- I.result || (I.result = {});
1279
- const A = new G(E), l = new G(I.result);
1280
- A.forValue((N, R, p) => {
1281
- l.setValue(N, R, p);
1282
- }), I.status = Ne.SUCCESS, I.callbacks.forEach((N) => {
1283
- N(E);
1284
- }), I.callbacks.clear(), T.push(I);
1283
+ R.result || (R.result = {});
1284
+ const S = new G(p), N = new G(R.result);
1285
+ S.forValue((d, D, I) => {
1286
+ N.setValue(d, D, I);
1287
+ }), R.status = Ne.SUCCESS, R.callbacks.forEach((d) => {
1288
+ d(p);
1289
+ }), R.callbacks.clear(), L.push(R);
1285
1290
  }
1286
1291
  }
1287
1292
  }
@@ -1350,7 +1355,7 @@ var Ki = Object.getOwnPropertyDescriptor, ki = (a, e, n, i) => {
1350
1355
  }, de = (a, e) => (n, i) => e(n, i, a);
1351
1356
  const fa = { done: 0, count: 0 }, Tt = { onlyLocal: !0 };
1352
1357
  let _e = class extends ae {
1353
- constructor(e, n, i, r, o, u, m) {
1358
+ constructor(e, n, i, r, o, u, f) {
1354
1359
  super();
1355
1360
  W(this, "_waitingCommandQueue", []);
1356
1361
  W(this, "_executingDirtyData", {
@@ -1374,7 +1379,7 @@ let _e = class extends ae {
1374
1379
  W(this, "_forceCalculating", !1);
1375
1380
  W(this, "_progress$", new ha(fa));
1376
1381
  W(this, "progress$", this._progress$.asObservable());
1377
- this._commandService = e, this._activeDirtyManagerService = n, this._logService = i, this._configService = r, this._formulaDataModel = o, this._localeService = u, this._registerOtherFormulaService = m, this._commandExecutedListener(), this._initialExecuteFormulaProcessListener(), this._initialExecuteFormula();
1382
+ this._commandService = e, this._activeDirtyManagerService = n, this._logService = i, this._configService = r, this._formulaDataModel = o, this._localeService = u, this._registerOtherFormulaService = f, this._commandExecutedListener(), this._initialExecuteFormulaProcessListener(), this._initialExecuteFormula();
1378
1383
  }
1379
1384
  _emitProgress(e) {
1380
1385
  this._progress$.next({ done: this._doneCalculationTaskCount, count: this._totalCalculationTaskCount, label: e });
@@ -1433,13 +1438,13 @@ let _e = class extends ae {
1433
1438
  );
1434
1439
  }
1435
1440
  _generateDirty(e) {
1436
- const n = [], i = {}, r = {}, o = {}, u = {}, m = {};
1437
- for (const f of e) {
1438
- const c = this._activeDirtyManagerService.get(f.id);
1441
+ const n = [], i = {}, r = {}, o = {}, u = {}, f = {};
1442
+ for (const m of e) {
1443
+ const c = this._activeDirtyManagerService.get(m.id);
1439
1444
  if (c == null)
1440
1445
  continue;
1441
- const d = c.getDirtyData(f), { dirtyRanges: T, dirtyNameMap: L, dirtyDefinedNameMap: E, dirtyUnitFeatureMap: I, dirtyUnitOtherFormulaMap: A, clearDependencyTreeCache: l } = d;
1442
- T != null && this._mergeDirtyRanges(n, T), L != null && this._mergeDirtyNameMap(i, L), E != null && this._mergeDirtyNameMap(r, E), I != null && this._mergeDirtyUnitFeatureOrOtherFormulaMap(o, I), A != null && this._mergeDirtyUnitFeatureOrOtherFormulaMap(u, A), l != null && this._mergeDirtyNameMap(m, l);
1446
+ const s = c.getDirtyData(m), { dirtyRanges: L, dirtyNameMap: E, dirtyDefinedNameMap: p, dirtyUnitFeatureMap: R, dirtyUnitOtherFormulaMap: S, clearDependencyTreeCache: N } = s;
1447
+ L != null && this._mergeDirtyRanges(n, L), E != null && this._mergeDirtyNameMap(i, E), p != null && this._mergeDirtyNameMap(r, p), R != null && this._mergeDirtyUnitFeatureOrOtherFormulaMap(o, R), S != null && this._mergeDirtyUnitFeatureOrOtherFormulaMap(u, S), N != null && this._mergeDirtyNameMap(f, N);
1443
1448
  }
1444
1449
  return {
1445
1450
  dirtyRanges: n,
@@ -1448,23 +1453,23 @@ let _e = class extends ae {
1448
1453
  dirtyUnitFeatureMap: o,
1449
1454
  dirtyUnitOtherFormulaMap: u,
1450
1455
  forceCalculation: !1,
1451
- clearDependencyTreeCache: m,
1456
+ clearDependencyTreeCache: f,
1452
1457
  maxIteration: this._configService.getConfig(ea)
1453
1458
  // numfmtItemMap,
1454
1459
  };
1455
1460
  }
1456
1461
  _mergeDirty(e, n) {
1457
- const i = [...e.dirtyRanges, ...n.dirtyRanges], r = { ...e.dirtyNameMap }, o = { ...e.dirtyDefinedNameMap }, u = { ...e.dirtyUnitFeatureMap }, m = { ...e.dirtyUnitOtherFormulaMap }, f = { ...e.clearDependencyTreeCache };
1458
- this._mergeDirtyNameMap(r, n.dirtyNameMap), this._mergeDirtyNameMap(o, n.dirtyDefinedNameMap), this._mergeDirtyUnitFeatureOrOtherFormulaMap(u, n.dirtyUnitFeatureMap), this._mergeDirtyUnitFeatureOrOtherFormulaMap(m, n.dirtyUnitOtherFormulaMap), this._mergeDirtyNameMap(f, n.clearDependencyTreeCache);
1462
+ const i = [...e.dirtyRanges, ...n.dirtyRanges], r = { ...e.dirtyNameMap }, o = { ...e.dirtyDefinedNameMap }, u = { ...e.dirtyUnitFeatureMap }, f = { ...e.dirtyUnitOtherFormulaMap }, m = { ...e.clearDependencyTreeCache };
1463
+ this._mergeDirtyNameMap(r, n.dirtyNameMap), this._mergeDirtyNameMap(o, n.dirtyDefinedNameMap), this._mergeDirtyUnitFeatureOrOtherFormulaMap(u, n.dirtyUnitFeatureMap), this._mergeDirtyUnitFeatureOrOtherFormulaMap(f, n.dirtyUnitOtherFormulaMap), this._mergeDirtyNameMap(m, n.clearDependencyTreeCache);
1459
1464
  const c = e.maxIteration || n.maxIteration;
1460
1465
  return {
1461
1466
  dirtyRanges: i,
1462
1467
  dirtyNameMap: r,
1463
1468
  dirtyDefinedNameMap: o,
1464
1469
  dirtyUnitFeatureMap: u,
1465
- dirtyUnitOtherFormulaMap: m,
1470
+ dirtyUnitOtherFormulaMap: f,
1466
1471
  forceCalculation: !!this._forceCalculating,
1467
- clearDependencyTreeCache: f,
1472
+ clearDependencyTreeCache: m,
1468
1473
  maxIteration: c
1469
1474
  };
1470
1475
  }
@@ -1478,8 +1483,8 @@ let _e = class extends ae {
1478
1483
  let r = !1;
1479
1484
  for (const o of e)
1480
1485
  if (i.unitId === o.unitId && i.sheetId === o.sheetId) {
1481
- const { startRow: u, startColumn: m, endRow: f, endColumn: c } = i.range, { startRow: d, startColumn: T, endRow: L, endColumn: E } = o.range;
1482
- if (u === d && m === T && f === L && c === E) {
1486
+ const { startRow: u, startColumn: f, endRow: m, endColumn: c } = i.range, { startRow: s, startColumn: L, endRow: E, endColumn: p } = o.range;
1487
+ if (u === s && f === L && m === E && c === p) {
1483
1488
  r = !0;
1484
1489
  break;
1485
1490
  }
@@ -1606,7 +1611,7 @@ _e = ki([
1606
1611
  de(6, X($e))
1607
1612
  ], _e);
1608
1613
  function Xr(a, e, n, i) {
1609
- const r = a.get(bn), o = a.get(On), u = a.get(Mn), m = a.get(xn);
1614
+ const r = a.get(bn), o = a.get(On), u = a.get(Mn), f = a.get(xn);
1610
1615
  r.load({
1611
1616
  formulaData: {},
1612
1617
  arrayFormulaCellData: {},
@@ -1622,8 +1627,8 @@ function Xr(a, e, n, i) {
1622
1627
  },
1623
1628
  dirtyUnitOtherFormulaMap: {}
1624
1629
  });
1625
- const f = o.treeBuilder(e), c = u.parse(f), d = m.execute(_n(c));
1626
- return yn(d);
1630
+ const m = o.treeBuilder(e), c = u.parse(m), s = f.execute(_n(c));
1631
+ return yn(s);
1627
1632
  }
1628
1633
  var Qi = Object.getOwnPropertyDescriptor, $i = (a, e, n, i) => {
1629
1634
  for (var r = i > 1 ? void 0 : i ? Qi(e, n) : e, o = a.length - 1, u; o >= 0; o--)
@@ -1631,8 +1636,8 @@ var Qi = Object.getOwnPropertyDescriptor, $i = (a, e, n, i) => {
1631
1636
  return r;
1632
1637
  }, me = (a, e) => (n, i) => e(n, i, a);
1633
1638
  let je = class extends ae {
1634
- constructor(a, e, n, i, r, o, u, m) {
1635
- super(), this._univerInstanceService = a, this._commandService = e, this._lexerTreeBuilder = n, this._formulaDataModel = i, this._sheetInterceptorService = r, this._definedNamesService = o, this._configService = u, this._injector = m, this._commandExecutedListener();
1639
+ constructor(a, e, n, i, r, o, u, f) {
1640
+ super(), this._univerInstanceService = a, this._commandService = e, this._lexerTreeBuilder = n, this._formulaDataModel = i, this._sheetInterceptorService = r, this._definedNamesService = o, this._configService = u, this._injector = f, this._commandExecutedListener();
1636
1641
  }
1637
1642
  _commandExecutedListener() {
1638
1643
  this.disposeWithMe(this._sheetInterceptorService.interceptCommand({
@@ -1698,7 +1703,7 @@ let je = class extends ae {
1698
1703
  );
1699
1704
  }
1700
1705
  _handleWorkbookDisposed(a, e) {
1701
- const n = this._formulaDataModel.getFormulaData(), i = dt(n, a, e), r = this._formulaDataModel.getArrayFormulaRange(), o = dt(r, a, e), u = this._formulaDataModel.getArrayFormulaCellData(), m = dt(u, a, e);
1706
+ const n = this._formulaDataModel.getFormulaData(), i = dt(n, a, e), r = this._formulaDataModel.getArrayFormulaRange(), o = dt(r, a, e), u = this._formulaDataModel.getArrayFormulaCellData(), f = dt(u, a, e);
1702
1707
  i && this._commandService.executeCommand(
1703
1708
  Be.id,
1704
1709
  {
@@ -1707,7 +1712,7 @@ let je = class extends ae {
1707
1712
  {
1708
1713
  onlyLocal: !0
1709
1714
  }
1710
- ), o && m && this._commandService.executeCommand(
1715
+ ), o && f && this._commandService.executeCommand(
1711
1716
  At.id,
1712
1717
  {
1713
1718
  arrayFormulaRange: r,
@@ -1719,11 +1724,11 @@ let je = class extends ae {
1719
1724
  );
1720
1725
  }
1721
1726
  _handleInsertSheetMutation(a) {
1722
- const { sheet: e, unitId: n } = a, i = this._formulaDataModel.getFormulaData(), { id: r, cellData: o } = e, u = new G(o), m = ta(i, n, r, u);
1727
+ const { sheet: e, unitId: n } = a, i = this._formulaDataModel.getFormulaData(), { id: r, cellData: o } = e, u = new G(o), f = ta(i, n, r, u);
1723
1728
  this._commandService.executeCommand(
1724
1729
  Be.id,
1725
1730
  {
1726
- formulaData: m
1731
+ formulaData: f
1727
1732
  },
1728
1733
  {
1729
1734
  onlyLocal: !0
@@ -1731,15 +1736,15 @@ let je = class extends ae {
1731
1736
  );
1732
1737
  }
1733
1738
  _handleWorkbookAdded(a) {
1734
- var f;
1739
+ var m;
1735
1740
  const e = {}, n = a.getUnitId(), i = { [n]: {} };
1736
1741
  a.getSheets().forEach((c) => {
1737
- var E;
1738
- const d = c.getCellMatrix(), T = c.getSheetId(), L = ta(e, n, T, d);
1739
- i[n][T] = (E = L[n]) == null ? void 0 : E[T];
1742
+ var p;
1743
+ const s = c.getCellMatrix(), L = c.getSheetId(), E = ta(e, n, L, s);
1744
+ i[n][L] = (p = E[n]) == null ? void 0 : p[L];
1740
1745
  }), this._commandService.executeCommand(Be.id, { formulaData: i }, { onlyLocal: !0 });
1741
- const o = this._configService.getConfig(ge), u = (f = o == null ? void 0 : o.initialFormulaComputing) != null ? f : Le.WHEN_EMPTY, m = this._getDirtyDataByCalculationMode(u);
1742
- this._commandService.executeCommand(Ie.id, m, { onlyLocal: !0 });
1746
+ const o = this._configService.getConfig(ge), u = (m = o == null ? void 0 : o.initialFormulaComputing) != null ? m : Le.WHEN_EMPTY, f = this._getDirtyDataByCalculationMode(u);
1747
+ this._commandService.executeCommand(Ie.id, f, { onlyLocal: !0 });
1743
1748
  }
1744
1749
  _getDirtyDataByCalculationMode(a) {
1745
1750
  const e = a === Le.FORCED, n = a === Le.WHEN_EMPTY ? this._formulaDataModel.getFormulaDirtyRanges() : [];
@@ -1766,10 +1771,10 @@ let je = class extends ae {
1766
1771
  r,
1767
1772
  i,
1768
1773
  n
1769
- ), { undos: u, redos: m } = ii(r, o, n);
1774
+ ), { undos: u, redos: f } = ii(r, o, n);
1770
1775
  return {
1771
1776
  undos: u,
1772
- redos: m
1777
+ redos: f
1773
1778
  };
1774
1779
  }
1775
1780
  return {
@@ -1784,41 +1789,41 @@ let je = class extends ae {
1784
1789
  if (i.length === 0) return { newFormulaData: {}, oldFormulaData: {} };
1785
1790
  const r = {}, o = {};
1786
1791
  for (const u of i) {
1787
- const m = a[u];
1788
- if (m == null)
1792
+ const f = a[u];
1793
+ if (f == null)
1789
1794
  continue;
1790
- const f = Object.keys(m);
1795
+ const m = Object.keys(f);
1791
1796
  Ae.isDefine(r[u]) || (r[u] = {}), Ae.isDefine(o[u]) || (o[u] = {});
1792
- for (const c of f) {
1793
- const d = new G(m[c] || {}), T = new G();
1794
- d.forValue((L, E, I) => {
1795
- var U;
1796
- if (!I) return !0;
1797
- const { f: A, x: l, y: N, si: R } = I, p = this._lexerTreeBuilder.sequenceNodesBuilder(A);
1798
- if (p == null)
1797
+ for (const c of m) {
1798
+ const s = new G(f[c] || {}), L = new G();
1799
+ s.forValue((E, p, R) => {
1800
+ var B;
1801
+ if (!R) return !0;
1802
+ const { f: S, x: N, y: d, si: D } = R, I = this._lexerTreeBuilder.sequenceNodesBuilder(S);
1803
+ if (I == null)
1799
1804
  return !0;
1800
- let O = !1;
1801
- const M = [];
1802
- for (let g = 0, x = p.length; g < x; g++) {
1803
- const h = p[g];
1804
- if (typeof h == "string")
1805
+ let T = !1;
1806
+ const g = [];
1807
+ for (let q = 0, M = I.length; q < M; q++) {
1808
+ const U = I[q];
1809
+ if (typeof U == "string")
1805
1810
  continue;
1806
- const { token: V, nodeType: Q } = h, { type: b } = n;
1807
- if ((b === q.SetDefinedName || b === q.RemoveDefinedName) && (Q === ee.DEFINED_NAME || Q === ee.FUNCTION)) {
1811
+ const { token: V, nodeType: Q } = U, { type: O } = n;
1812
+ if ((O === y.SetDefinedName || O === y.RemoveDefinedName) && (Q === ee.DEFINED_NAME || Q === ee.FUNCTION)) {
1808
1813
  const { definedNameId: Te, definedName: Ee } = n;
1809
1814
  if (Te === void 0 || Ee === void 0)
1810
1815
  continue;
1811
1816
  const le = this._definedNamesService.getValueById(u, Te);
1812
1817
  if (le == null || le.name !== V)
1813
1818
  continue;
1814
- p[g] = {
1815
- ...h,
1816
- token: b === q.SetDefinedName ? Ee : j.REF
1817
- }, O = !0, M.push(g);
1819
+ I[q] = {
1820
+ ...U,
1821
+ token: O === y.SetDefinedName ? Ee : j.REF
1822
+ }, T = !0, g.push(q);
1818
1823
  continue;
1819
1824
  } else if (Q !== ee.REFERENCE)
1820
1825
  continue;
1821
- const Pe = pe(V), { range: ne, sheetName: re, unitId: k } = Pe, oe = k == null || k.length === 0 ? u : k, z = ((U = e == null ? void 0 : e[oe]) == null ? void 0 : U[re]) || "";
1826
+ const Pe = pe(V), { range: ne, sheetName: re, unitId: k } = Pe, oe = k == null || k.length === 0 ? u : k, z = ((B = e == null ? void 0 : e[oe]) == null ? void 0 : B[re]) || "";
1822
1827
  if (!Ba(
1823
1828
  n.unitId,
1824
1829
  n.sheetId,
@@ -1833,11 +1838,11 @@ let je = class extends ae {
1833
1838
  sheetId: z,
1834
1839
  unitId: k,
1835
1840
  sheetName: re,
1836
- refOffsetX: l || 0,
1837
- refOffsetY: N || 0
1841
+ refOffsetX: N || 0,
1842
+ refOffsetY: d || 0
1838
1843
  };
1839
1844
  let ue = null;
1840
- if (b === q.SetName) {
1845
+ if (O === y.SetName) {
1841
1846
  const {
1842
1847
  unitId: Te,
1843
1848
  sheetId: Ee,
@@ -1850,7 +1855,7 @@ let je = class extends ae {
1850
1855
  sheetName: le,
1851
1856
  unitId: k
1852
1857
  });
1853
- } else if (b === q.RemoveSheet) {
1858
+ } else if (O === y.RemoveSheet) {
1854
1859
  const {
1855
1860
  unitId: Te,
1856
1861
  sheetId: Ee,
@@ -1859,24 +1864,24 @@ let je = class extends ae {
1859
1864
  if (z == null || z.length === 0 || Ee !== z)
1860
1865
  continue;
1861
1866
  ue = j.REF;
1862
- } else b !== q.SetDefinedName && (ue = Va(
1867
+ } else O !== y.SetDefinedName && (ue = Va(
1863
1868
  he,
1864
1869
  n,
1865
1870
  u,
1866
1871
  c
1867
1872
  ));
1868
- ue != null && (p[g] = {
1869
- ...h,
1873
+ ue != null && (I[q] = {
1874
+ ...U,
1870
1875
  token: ue
1871
- }, O = !0, M.push(g));
1876
+ }, T = !0, g.push(q));
1872
1877
  }
1873
- if (!O)
1878
+ if (!T)
1874
1879
  return !0;
1875
- const F = va(p, M, l, N);
1876
- T.setValue(L, E, {
1877
- f: `=${ke(F)}`
1880
+ const h = va(I, g, N, d);
1881
+ L.setValue(E, p, {
1882
+ f: `=${ke(h)}`
1878
1883
  });
1879
- }), o[u] && (o[u][c] = T.getData());
1884
+ }), o[u] && (o[u][c] = L.getData());
1880
1885
  }
1881
1886
  }
1882
1887
  return { newFormulaData: o };
@@ -1946,7 +1951,7 @@ const ji = [
1946
1951
  }
1947
1952
  ], zi = [
1948
1953
  {
1949
- functionName: _.BETADIST,
1954
+ functionName: x.BETADIST,
1950
1955
  functionType: t.Compatibility,
1951
1956
  description: "formula.functionList.BETADIST.description",
1952
1957
  abstract: "formula.functionList.BETADIST.abstract",
@@ -1989,7 +1994,7 @@ const ji = [
1989
1994
  ]
1990
1995
  },
1991
1996
  {
1992
- functionName: _.BETAINV,
1997
+ functionName: x.BETAINV,
1993
1998
  functionType: t.Compatibility,
1994
1999
  description: "formula.functionList.BETAINV.description",
1995
2000
  abstract: "formula.functionList.BETAINV.abstract",
@@ -2032,7 +2037,7 @@ const ji = [
2032
2037
  ]
2033
2038
  },
2034
2039
  {
2035
- functionName: _.BINOMDIST,
2040
+ functionName: x.BINOMDIST,
2036
2041
  functionType: t.Compatibility,
2037
2042
  description: "formula.functionList.BINOMDIST.description",
2038
2043
  abstract: "formula.functionList.BINOMDIST.abstract",
@@ -2068,7 +2073,7 @@ const ji = [
2068
2073
  ]
2069
2074
  },
2070
2075
  {
2071
- functionName: _.CHIDIST,
2076
+ functionName: x.CHIDIST,
2072
2077
  functionType: t.Compatibility,
2073
2078
  description: "formula.functionList.CHIDIST.description",
2074
2079
  abstract: "formula.functionList.CHIDIST.abstract",
@@ -2090,7 +2095,7 @@ const ji = [
2090
2095
  ]
2091
2096
  },
2092
2097
  {
2093
- functionName: _.CHIINV,
2098
+ functionName: x.CHIINV,
2094
2099
  functionType: t.Compatibility,
2095
2100
  description: "formula.functionList.CHIINV.description",
2096
2101
  abstract: "formula.functionList.CHIINV.abstract",
@@ -2112,7 +2117,7 @@ const ji = [
2112
2117
  ]
2113
2118
  },
2114
2119
  {
2115
- functionName: _.CHITEST,
2120
+ functionName: x.CHITEST,
2116
2121
  functionType: t.Compatibility,
2117
2122
  description: "formula.functionList.CHITEST.description",
2118
2123
  abstract: "formula.functionList.CHITEST.abstract",
@@ -2134,7 +2139,7 @@ const ji = [
2134
2139
  ]
2135
2140
  },
2136
2141
  {
2137
- functionName: _.CONFIDENCE,
2142
+ functionName: x.CONFIDENCE,
2138
2143
  functionType: t.Compatibility,
2139
2144
  description: "formula.functionList.CONFIDENCE.description",
2140
2145
  abstract: "formula.functionList.CONFIDENCE.abstract",
@@ -2163,7 +2168,7 @@ const ji = [
2163
2168
  ]
2164
2169
  },
2165
2170
  {
2166
- functionName: _.COVAR,
2171
+ functionName: x.COVAR,
2167
2172
  functionType: t.Compatibility,
2168
2173
  description: "formula.functionList.COVAR.description",
2169
2174
  abstract: "formula.functionList.COVAR.abstract",
@@ -2185,7 +2190,7 @@ const ji = [
2185
2190
  ]
2186
2191
  },
2187
2192
  {
2188
- functionName: _.CRITBINOM,
2193
+ functionName: x.CRITBINOM,
2189
2194
  functionType: t.Compatibility,
2190
2195
  description: "formula.functionList.CRITBINOM.description",
2191
2196
  abstract: "formula.functionList.CRITBINOM.abstract",
@@ -2214,7 +2219,7 @@ const ji = [
2214
2219
  ]
2215
2220
  },
2216
2221
  {
2217
- functionName: _.EXPONDIST,
2222
+ functionName: x.EXPONDIST,
2218
2223
  functionType: t.Compatibility,
2219
2224
  description: "formula.functionList.EXPONDIST.description",
2220
2225
  abstract: "formula.functionList.EXPONDIST.abstract",
@@ -2243,7 +2248,7 @@ const ji = [
2243
2248
  ]
2244
2249
  },
2245
2250
  {
2246
- functionName: _.FDIST,
2251
+ functionName: x.FDIST,
2247
2252
  functionType: t.Compatibility,
2248
2253
  description: "formula.functionList.FDIST.description",
2249
2254
  abstract: "formula.functionList.FDIST.abstract",
@@ -2272,7 +2277,7 @@ const ji = [
2272
2277
  ]
2273
2278
  },
2274
2279
  {
2275
- functionName: _.FINV,
2280
+ functionName: x.FINV,
2276
2281
  functionType: t.Compatibility,
2277
2282
  description: "formula.functionList.FINV.description",
2278
2283
  abstract: "formula.functionList.FINV.abstract",
@@ -2301,7 +2306,7 @@ const ji = [
2301
2306
  ]
2302
2307
  },
2303
2308
  {
2304
- functionName: _.FTEST,
2309
+ functionName: x.FTEST,
2305
2310
  functionType: t.Compatibility,
2306
2311
  description: "formula.functionList.FTEST.description",
2307
2312
  abstract: "formula.functionList.FTEST.abstract",
@@ -2323,7 +2328,7 @@ const ji = [
2323
2328
  ]
2324
2329
  },
2325
2330
  {
2326
- functionName: _.GAMMADIST,
2331
+ functionName: x.GAMMADIST,
2327
2332
  functionType: t.Compatibility,
2328
2333
  description: "formula.functionList.GAMMADIST.description",
2329
2334
  abstract: "formula.functionList.GAMMADIST.abstract",
@@ -2359,7 +2364,7 @@ const ji = [
2359
2364
  ]
2360
2365
  },
2361
2366
  {
2362
- functionName: _.GAMMAINV,
2367
+ functionName: x.GAMMAINV,
2363
2368
  functionType: t.Compatibility,
2364
2369
  description: "formula.functionList.GAMMAINV.description",
2365
2370
  abstract: "formula.functionList.GAMMAINV.abstract",
@@ -2388,7 +2393,7 @@ const ji = [
2388
2393
  ]
2389
2394
  },
2390
2395
  {
2391
- functionName: _.HYPGEOMDIST,
2396
+ functionName: x.HYPGEOMDIST,
2392
2397
  functionType: t.Compatibility,
2393
2398
  description: "formula.functionList.HYPGEOMDIST.description",
2394
2399
  abstract: "formula.functionList.HYPGEOMDIST.abstract",
@@ -2424,7 +2429,7 @@ const ji = [
2424
2429
  ]
2425
2430
  },
2426
2431
  {
2427
- functionName: _.LOGINV,
2432
+ functionName: x.LOGINV,
2428
2433
  functionType: t.Compatibility,
2429
2434
  description: "formula.functionList.LOGINV.description",
2430
2435
  abstract: "formula.functionList.LOGINV.abstract",
@@ -2453,7 +2458,7 @@ const ji = [
2453
2458
  ]
2454
2459
  },
2455
2460
  {
2456
- functionName: _.LOGNORMDIST,
2461
+ functionName: x.LOGNORMDIST,
2457
2462
  functionType: t.Compatibility,
2458
2463
  description: "formula.functionList.LOGNORMDIST.description",
2459
2464
  abstract: "formula.functionList.LOGNORMDIST.abstract",
@@ -2482,7 +2487,7 @@ const ji = [
2482
2487
  ]
2483
2488
  },
2484
2489
  {
2485
- functionName: _.MODE,
2490
+ functionName: x.MODE,
2486
2491
  functionType: t.Compatibility,
2487
2492
  description: "formula.functionList.MODE.description",
2488
2493
  abstract: "formula.functionList.MODE.abstract",
@@ -2504,7 +2509,7 @@ const ji = [
2504
2509
  ]
2505
2510
  },
2506
2511
  {
2507
- functionName: _.NEGBINOMDIST,
2512
+ functionName: x.NEGBINOMDIST,
2508
2513
  functionType: t.Compatibility,
2509
2514
  description: "formula.functionList.NEGBINOMDIST.description",
2510
2515
  abstract: "formula.functionList.NEGBINOMDIST.abstract",
@@ -2533,7 +2538,7 @@ const ji = [
2533
2538
  ]
2534
2539
  },
2535
2540
  {
2536
- functionName: _.NORMDIST,
2541
+ functionName: x.NORMDIST,
2537
2542
  functionType: t.Compatibility,
2538
2543
  description: "formula.functionList.NORMDIST.description",
2539
2544
  abstract: "formula.functionList.NORMDIST.abstract",
@@ -2569,7 +2574,7 @@ const ji = [
2569
2574
  ]
2570
2575
  },
2571
2576
  {
2572
- functionName: _.NORMINV,
2577
+ functionName: x.NORMINV,
2573
2578
  functionType: t.Compatibility,
2574
2579
  description: "formula.functionList.NORMINV.description",
2575
2580
  abstract: "formula.functionList.NORMINV.abstract",
@@ -2598,7 +2603,7 @@ const ji = [
2598
2603
  ]
2599
2604
  },
2600
2605
  {
2601
- functionName: _.NORMSDIST,
2606
+ functionName: x.NORMSDIST,
2602
2607
  functionType: t.Compatibility,
2603
2608
  description: "formula.functionList.NORMSDIST.description",
2604
2609
  abstract: "formula.functionList.NORMSDIST.abstract",
@@ -2613,7 +2618,7 @@ const ji = [
2613
2618
  ]
2614
2619
  },
2615
2620
  {
2616
- functionName: _.NORMSINV,
2621
+ functionName: x.NORMSINV,
2617
2622
  functionType: t.Compatibility,
2618
2623
  description: "formula.functionList.NORMSINV.description",
2619
2624
  abstract: "formula.functionList.NORMSINV.abstract",
@@ -2628,7 +2633,7 @@ const ji = [
2628
2633
  ]
2629
2634
  },
2630
2635
  {
2631
- functionName: _.PERCENTILE,
2636
+ functionName: x.PERCENTILE,
2632
2637
  functionType: t.Compatibility,
2633
2638
  description: "formula.functionList.PERCENTILE.description",
2634
2639
  abstract: "formula.functionList.PERCENTILE.abstract",
@@ -2650,7 +2655,7 @@ const ji = [
2650
2655
  ]
2651
2656
  },
2652
2657
  {
2653
- functionName: _.PERCENTRANK,
2658
+ functionName: x.PERCENTRANK,
2654
2659
  functionType: t.Compatibility,
2655
2660
  description: "formula.functionList.PERCENTRANK.description",
2656
2661
  abstract: "formula.functionList.PERCENTRANK.abstract",
@@ -2679,7 +2684,7 @@ const ji = [
2679
2684
  ]
2680
2685
  },
2681
2686
  {
2682
- functionName: _.POISSON,
2687
+ functionName: x.POISSON,
2683
2688
  functionType: t.Compatibility,
2684
2689
  description: "formula.functionList.POISSON.description",
2685
2690
  abstract: "formula.functionList.POISSON.abstract",
@@ -2708,7 +2713,7 @@ const ji = [
2708
2713
  ]
2709
2714
  },
2710
2715
  {
2711
- functionName: _.QUARTILE,
2716
+ functionName: x.QUARTILE,
2712
2717
  functionType: t.Compatibility,
2713
2718
  description: "formula.functionList.QUARTILE.description",
2714
2719
  abstract: "formula.functionList.QUARTILE.abstract",
@@ -2730,7 +2735,7 @@ const ji = [
2730
2735
  ]
2731
2736
  },
2732
2737
  {
2733
- functionName: _.RANK,
2738
+ functionName: x.RANK,
2734
2739
  functionType: t.Compatibility,
2735
2740
  description: "formula.functionList.RANK.description",
2736
2741
  abstract: "formula.functionList.RANK.abstract",
@@ -2759,7 +2764,7 @@ const ji = [
2759
2764
  ]
2760
2765
  },
2761
2766
  {
2762
- functionName: _.STDEV,
2767
+ functionName: x.STDEV,
2763
2768
  functionType: t.Compatibility,
2764
2769
  description: "formula.functionList.STDEV.description",
2765
2770
  abstract: "formula.functionList.STDEV.abstract",
@@ -2781,7 +2786,7 @@ const ji = [
2781
2786
  ]
2782
2787
  },
2783
2788
  {
2784
- functionName: _.STDEVP,
2789
+ functionName: x.STDEVP,
2785
2790
  functionType: t.Compatibility,
2786
2791
  description: "formula.functionList.STDEVP.description",
2787
2792
  abstract: "formula.functionList.STDEVP.abstract",
@@ -2803,7 +2808,7 @@ const ji = [
2803
2808
  ]
2804
2809
  },
2805
2810
  {
2806
- functionName: _.TDIST,
2811
+ functionName: x.TDIST,
2807
2812
  functionType: t.Compatibility,
2808
2813
  description: "formula.functionList.TDIST.description",
2809
2814
  abstract: "formula.functionList.TDIST.abstract",
@@ -2832,7 +2837,7 @@ const ji = [
2832
2837
  ]
2833
2838
  },
2834
2839
  {
2835
- functionName: _.TINV,
2840
+ functionName: x.TINV,
2836
2841
  functionType: t.Compatibility,
2837
2842
  description: "formula.functionList.TINV.description",
2838
2843
  abstract: "formula.functionList.TINV.abstract",
@@ -2854,7 +2859,7 @@ const ji = [
2854
2859
  ]
2855
2860
  },
2856
2861
  {
2857
- functionName: _.TTEST,
2862
+ functionName: x.TTEST,
2858
2863
  functionType: t.Compatibility,
2859
2864
  description: "formula.functionList.TTEST.description",
2860
2865
  abstract: "formula.functionList.TTEST.abstract",
@@ -2890,7 +2895,7 @@ const ji = [
2890
2895
  ]
2891
2896
  },
2892
2897
  {
2893
- functionName: _.VAR,
2898
+ functionName: x.VAR,
2894
2899
  functionType: t.Compatibility,
2895
2900
  description: "formula.functionList.VAR.description",
2896
2901
  abstract: "formula.functionList.VAR.abstract",
@@ -2912,7 +2917,7 @@ const ji = [
2912
2917
  ]
2913
2918
  },
2914
2919
  {
2915
- functionName: _.VARP,
2920
+ functionName: x.VARP,
2916
2921
  functionType: t.Compatibility,
2917
2922
  description: "formula.functionList.VARP.description",
2918
2923
  abstract: "formula.functionList.VARP.abstract",
@@ -2934,7 +2939,7 @@ const ji = [
2934
2939
  ]
2935
2940
  },
2936
2941
  {
2937
- functionName: _.WEIBULL,
2942
+ functionName: x.WEIBULL,
2938
2943
  functionType: t.Compatibility,
2939
2944
  description: "formula.functionList.WEIBULL.description",
2940
2945
  abstract: "formula.functionList.WEIBULL.abstract",
@@ -2970,7 +2975,7 @@ const ji = [
2970
2975
  ]
2971
2976
  },
2972
2977
  {
2973
- functionName: _.ZTEST,
2978
+ functionName: x.ZTEST,
2974
2979
  functionType: t.Compatibility,
2975
2980
  description: "formula.functionList.ZTEST.description",
2976
2981
  abstract: "formula.functionList.ZTEST.abstract",
@@ -3504,7 +3509,7 @@ const ji = [
3504
3509
  }
3505
3510
  ], er = [
3506
3511
  {
3507
- functionName: B.DATE,
3512
+ functionName: F.DATE,
3508
3513
  functionType: t.Date,
3509
3514
  description: "formula.functionList.DATE.description",
3510
3515
  abstract: "formula.functionList.DATE.abstract",
@@ -3533,7 +3538,7 @@ const ji = [
3533
3538
  ]
3534
3539
  },
3535
3540
  {
3536
- functionName: B.DATEDIF,
3541
+ functionName: F.DATEDIF,
3537
3542
  functionType: t.Date,
3538
3543
  description: "formula.functionList.DATEDIF.description",
3539
3544
  abstract: "formula.functionList.DATEDIF.abstract",
@@ -3562,7 +3567,7 @@ const ji = [
3562
3567
  ]
3563
3568
  },
3564
3569
  {
3565
- functionName: B.DATEVALUE,
3570
+ functionName: F.DATEVALUE,
3566
3571
  functionType: t.Date,
3567
3572
  description: "formula.functionList.DATEVALUE.description",
3568
3573
  abstract: "formula.functionList.DATEVALUE.abstract",
@@ -3577,7 +3582,7 @@ const ji = [
3577
3582
  ]
3578
3583
  },
3579
3584
  {
3580
- functionName: B.DAY,
3585
+ functionName: F.DAY,
3581
3586
  functionType: t.Date,
3582
3587
  description: "formula.functionList.DAY.description",
3583
3588
  abstract: "formula.functionList.DAY.abstract",
@@ -3592,7 +3597,7 @@ const ji = [
3592
3597
  ]
3593
3598
  },
3594
3599
  {
3595
- functionName: B.DAYS,
3600
+ functionName: F.DAYS,
3596
3601
  functionType: t.Date,
3597
3602
  description: "formula.functionList.DAYS.description",
3598
3603
  abstract: "formula.functionList.DAYS.abstract",
@@ -3614,7 +3619,7 @@ const ji = [
3614
3619
  ]
3615
3620
  },
3616
3621
  {
3617
- functionName: B.DAYS360,
3622
+ functionName: F.DAYS360,
3618
3623
  functionType: t.Date,
3619
3624
  description: "formula.functionList.DAYS360.description",
3620
3625
  abstract: "formula.functionList.DAYS360.abstract",
@@ -3643,7 +3648,7 @@ const ji = [
3643
3648
  ]
3644
3649
  },
3645
3650
  {
3646
- functionName: B.EDATE,
3651
+ functionName: F.EDATE,
3647
3652
  functionType: t.Date,
3648
3653
  description: "formula.functionList.EDATE.description",
3649
3654
  abstract: "formula.functionList.EDATE.abstract",
@@ -3665,7 +3670,7 @@ const ji = [
3665
3670
  ]
3666
3671
  },
3667
3672
  {
3668
- functionName: B.EOMONTH,
3673
+ functionName: F.EOMONTH,
3669
3674
  functionType: t.Date,
3670
3675
  description: "formula.functionList.EOMONTH.description",
3671
3676
  abstract: "formula.functionList.EOMONTH.abstract",
@@ -3687,7 +3692,7 @@ const ji = [
3687
3692
  ]
3688
3693
  },
3689
3694
  {
3690
- functionName: B.EPOCHTODATE,
3695
+ functionName: F.EPOCHTODATE,
3691
3696
  functionType: t.Date,
3692
3697
  description: "formula.functionList.EPOCHTODATE.description",
3693
3698
  abstract: "formula.functionList.EPOCHTODATE.abstract",
@@ -3709,7 +3714,7 @@ const ji = [
3709
3714
  ]
3710
3715
  },
3711
3716
  {
3712
- functionName: B.HOUR,
3717
+ functionName: F.HOUR,
3713
3718
  functionType: t.Date,
3714
3719
  description: "formula.functionList.HOUR.description",
3715
3720
  abstract: "formula.functionList.HOUR.abstract",
@@ -3724,7 +3729,7 @@ const ji = [
3724
3729
  ]
3725
3730
  },
3726
3731
  {
3727
- functionName: B.ISOWEEKNUM,
3732
+ functionName: F.ISOWEEKNUM,
3728
3733
  functionType: t.Date,
3729
3734
  description: "formula.functionList.ISOWEEKNUM.description",
3730
3735
  abstract: "formula.functionList.ISOWEEKNUM.abstract",
@@ -3739,7 +3744,7 @@ const ji = [
3739
3744
  ]
3740
3745
  },
3741
3746
  {
3742
- functionName: B.MINUTE,
3747
+ functionName: F.MINUTE,
3743
3748
  functionType: t.Date,
3744
3749
  description: "formula.functionList.MINUTE.description",
3745
3750
  abstract: "formula.functionList.MINUTE.abstract",
@@ -3754,7 +3759,7 @@ const ji = [
3754
3759
  ]
3755
3760
  },
3756
3761
  {
3757
- functionName: B.MONTH,
3762
+ functionName: F.MONTH,
3758
3763
  functionType: t.Date,
3759
3764
  description: "formula.functionList.MONTH.description",
3760
3765
  abstract: "formula.functionList.MONTH.abstract",
@@ -3769,7 +3774,7 @@ const ji = [
3769
3774
  ]
3770
3775
  },
3771
3776
  {
3772
- functionName: B.NETWORKDAYS,
3777
+ functionName: F.NETWORKDAYS,
3773
3778
  functionType: t.Date,
3774
3779
  description: "formula.functionList.NETWORKDAYS.description",
3775
3780
  abstract: "formula.functionList.NETWORKDAYS.abstract",
@@ -3798,7 +3803,7 @@ const ji = [
3798
3803
  ]
3799
3804
  },
3800
3805
  {
3801
- functionName: B.NETWORKDAYS_INTL,
3806
+ functionName: F.NETWORKDAYS_INTL,
3802
3807
  functionType: t.Date,
3803
3808
  description: "formula.functionList.NETWORKDAYS_INTL.description",
3804
3809
  abstract: "formula.functionList.NETWORKDAYS_INTL.abstract",
@@ -3834,14 +3839,14 @@ const ji = [
3834
3839
  ]
3835
3840
  },
3836
3841
  {
3837
- functionName: B.NOW,
3842
+ functionName: F.NOW,
3838
3843
  functionType: t.Date,
3839
3844
  description: "formula.functionList.NOW.description",
3840
3845
  abstract: "formula.functionList.NOW.abstract",
3841
3846
  functionParameter: []
3842
3847
  },
3843
3848
  {
3844
- functionName: B.SECOND,
3849
+ functionName: F.SECOND,
3845
3850
  functionType: t.Date,
3846
3851
  description: "formula.functionList.SECOND.description",
3847
3852
  abstract: "formula.functionList.SECOND.abstract",
@@ -3856,7 +3861,7 @@ const ji = [
3856
3861
  ]
3857
3862
  },
3858
3863
  {
3859
- functionName: B.TIME,
3864
+ functionName: F.TIME,
3860
3865
  functionType: t.Date,
3861
3866
  description: "formula.functionList.TIME.description",
3862
3867
  abstract: "formula.functionList.TIME.abstract",
@@ -3885,7 +3890,7 @@ const ji = [
3885
3890
  ]
3886
3891
  },
3887
3892
  {
3888
- functionName: B.TIMEVALUE,
3893
+ functionName: F.TIMEVALUE,
3889
3894
  functionType: t.Date,
3890
3895
  description: "formula.functionList.TIMEVALUE.description",
3891
3896
  abstract: "formula.functionList.TIMEVALUE.abstract",
@@ -3900,7 +3905,7 @@ const ji = [
3900
3905
  ]
3901
3906
  },
3902
3907
  {
3903
- functionName: B.TO_DATE,
3908
+ functionName: F.TO_DATE,
3904
3909
  functionType: t.Date,
3905
3910
  description: "formula.functionList.TO_DATE.description",
3906
3911
  abstract: "formula.functionList.TO_DATE.abstract",
@@ -3915,14 +3920,14 @@ const ji = [
3915
3920
  ]
3916
3921
  },
3917
3922
  {
3918
- functionName: B.TODAY,
3923
+ functionName: F.TODAY,
3919
3924
  functionType: t.Date,
3920
3925
  description: "formula.functionList.TODAY.description",
3921
3926
  abstract: "formula.functionList.TODAY.abstract",
3922
3927
  functionParameter: []
3923
3928
  },
3924
3929
  {
3925
- functionName: B.WEEKDAY,
3930
+ functionName: F.WEEKDAY,
3926
3931
  functionType: t.Date,
3927
3932
  description: "formula.functionList.WEEKDAY.description",
3928
3933
  abstract: "formula.functionList.WEEKDAY.abstract",
@@ -3944,7 +3949,7 @@ const ji = [
3944
3949
  ]
3945
3950
  },
3946
3951
  {
3947
- functionName: B.WEEKNUM,
3952
+ functionName: F.WEEKNUM,
3948
3953
  functionType: t.Date,
3949
3954
  description: "formula.functionList.WEEKNUM.description",
3950
3955
  abstract: "formula.functionList.WEEKNUM.abstract",
@@ -3966,7 +3971,7 @@ const ji = [
3966
3971
  ]
3967
3972
  },
3968
3973
  {
3969
- functionName: B.WORKDAY,
3974
+ functionName: F.WORKDAY,
3970
3975
  functionType: t.Date,
3971
3976
  description: "formula.functionList.WORKDAY.description",
3972
3977
  abstract: "formula.functionList.WORKDAY.abstract",
@@ -3995,7 +4000,7 @@ const ji = [
3995
4000
  ]
3996
4001
  },
3997
4002
  {
3998
- functionName: B.WORKDAY_INTL,
4003
+ functionName: F.WORKDAY_INTL,
3999
4004
  functionType: t.Date,
4000
4005
  description: "formula.functionList.WORKDAY_INTL.description",
4001
4006
  abstract: "formula.functionList.WORKDAY_INTL.abstract",
@@ -4031,7 +4036,7 @@ const ji = [
4031
4036
  ]
4032
4037
  },
4033
4038
  {
4034
- functionName: B.YEAR,
4039
+ functionName: F.YEAR,
4035
4040
  functionType: t.Date,
4036
4041
  description: "formula.functionList.YEAR.description",
4037
4042
  abstract: "formula.functionList.YEAR.abstract",
@@ -4046,7 +4051,7 @@ const ji = [
4046
4051
  ]
4047
4052
  },
4048
4053
  {
4049
- functionName: B.YEARFRAC,
4054
+ functionName: F.YEARFRAC,
4050
4055
  functionType: t.Date,
4051
4056
  description: "formula.functionList.YEARFRAC.description",
4052
4057
  abstract: "formula.functionList.YEARFRAC.abstract",
@@ -4076,7 +4081,7 @@ const ji = [
4076
4081
  }
4077
4082
  ], tr = [
4078
4083
  {
4079
- functionName: S.BESSELI,
4084
+ functionName: A.BESSELI,
4080
4085
  functionType: t.Engineering,
4081
4086
  description: "formula.functionList.BESSELI.description",
4082
4087
  abstract: "formula.functionList.BESSELI.abstract",
@@ -4098,7 +4103,7 @@ const ji = [
4098
4103
  ]
4099
4104
  },
4100
4105
  {
4101
- functionName: S.BESSELJ,
4106
+ functionName: A.BESSELJ,
4102
4107
  functionType: t.Engineering,
4103
4108
  description: "formula.functionList.BESSELJ.description",
4104
4109
  abstract: "formula.functionList.BESSELJ.abstract",
@@ -4120,7 +4125,7 @@ const ji = [
4120
4125
  ]
4121
4126
  },
4122
4127
  {
4123
- functionName: S.BESSELK,
4128
+ functionName: A.BESSELK,
4124
4129
  functionType: t.Engineering,
4125
4130
  description: "formula.functionList.BESSELK.description",
4126
4131
  abstract: "formula.functionList.BESSELK.abstract",
@@ -4142,7 +4147,7 @@ const ji = [
4142
4147
  ]
4143
4148
  },
4144
4149
  {
4145
- functionName: S.BESSELY,
4150
+ functionName: A.BESSELY,
4146
4151
  functionType: t.Engineering,
4147
4152
  description: "formula.functionList.BESSELY.description",
4148
4153
  abstract: "formula.functionList.BESSELY.abstract",
@@ -4164,7 +4169,7 @@ const ji = [
4164
4169
  ]
4165
4170
  },
4166
4171
  {
4167
- functionName: S.BIN2DEC,
4172
+ functionName: A.BIN2DEC,
4168
4173
  functionType: t.Engineering,
4169
4174
  description: "formula.functionList.BIN2DEC.description",
4170
4175
  abstract: "formula.functionList.BIN2DEC.abstract",
@@ -4179,7 +4184,7 @@ const ji = [
4179
4184
  ]
4180
4185
  },
4181
4186
  {
4182
- functionName: S.BIN2HEX,
4187
+ functionName: A.BIN2HEX,
4183
4188
  functionType: t.Engineering,
4184
4189
  description: "formula.functionList.BIN2HEX.description",
4185
4190
  abstract: "formula.functionList.BIN2HEX.abstract",
@@ -4201,7 +4206,7 @@ const ji = [
4201
4206
  ]
4202
4207
  },
4203
4208
  {
4204
- functionName: S.BIN2OCT,
4209
+ functionName: A.BIN2OCT,
4205
4210
  functionType: t.Engineering,
4206
4211
  description: "formula.functionList.BIN2OCT.description",
4207
4212
  abstract: "formula.functionList.BIN2OCT.abstract",
@@ -4223,7 +4228,7 @@ const ji = [
4223
4228
  ]
4224
4229
  },
4225
4230
  {
4226
- functionName: S.BITAND,
4231
+ functionName: A.BITAND,
4227
4232
  functionType: t.Engineering,
4228
4233
  description: "formula.functionList.BITAND.description",
4229
4234
  abstract: "formula.functionList.BITAND.abstract",
@@ -4245,7 +4250,7 @@ const ji = [
4245
4250
  ]
4246
4251
  },
4247
4252
  {
4248
- functionName: S.BITLSHIFT,
4253
+ functionName: A.BITLSHIFT,
4249
4254
  functionType: t.Engineering,
4250
4255
  description: "formula.functionList.BITLSHIFT.description",
4251
4256
  abstract: "formula.functionList.BITLSHIFT.abstract",
@@ -4267,7 +4272,7 @@ const ji = [
4267
4272
  ]
4268
4273
  },
4269
4274
  {
4270
- functionName: S.BITOR,
4275
+ functionName: A.BITOR,
4271
4276
  functionType: t.Engineering,
4272
4277
  description: "formula.functionList.BITOR.description",
4273
4278
  abstract: "formula.functionList.BITOR.abstract",
@@ -4289,7 +4294,7 @@ const ji = [
4289
4294
  ]
4290
4295
  },
4291
4296
  {
4292
- functionName: S.BITRSHIFT,
4297
+ functionName: A.BITRSHIFT,
4293
4298
  functionType: t.Engineering,
4294
4299
  description: "formula.functionList.BITRSHIFT.description",
4295
4300
  abstract: "formula.functionList.BITRSHIFT.abstract",
@@ -4311,7 +4316,7 @@ const ji = [
4311
4316
  ]
4312
4317
  },
4313
4318
  {
4314
- functionName: S.BITXOR,
4319
+ functionName: A.BITXOR,
4315
4320
  functionType: t.Engineering,
4316
4321
  description: "formula.functionList.BITXOR.description",
4317
4322
  abstract: "formula.functionList.BITXOR.abstract",
@@ -4333,7 +4338,7 @@ const ji = [
4333
4338
  ]
4334
4339
  },
4335
4340
  {
4336
- functionName: S.COMPLEX,
4341
+ functionName: A.COMPLEX,
4337
4342
  functionType: t.Engineering,
4338
4343
  description: "formula.functionList.COMPLEX.description",
4339
4344
  abstract: "formula.functionList.COMPLEX.abstract",
@@ -4362,7 +4367,7 @@ const ji = [
4362
4367
  ]
4363
4368
  },
4364
4369
  {
4365
- functionName: S.CONVERT,
4370
+ functionName: A.CONVERT,
4366
4371
  functionType: t.Engineering,
4367
4372
  description: "formula.functionList.CONVERT.description",
4368
4373
  abstract: "formula.functionList.CONVERT.abstract",
@@ -4391,7 +4396,7 @@ const ji = [
4391
4396
  ]
4392
4397
  },
4393
4398
  {
4394
- functionName: S.DEC2BIN,
4399
+ functionName: A.DEC2BIN,
4395
4400
  functionType: t.Engineering,
4396
4401
  description: "formula.functionList.DEC2BIN.description",
4397
4402
  abstract: "formula.functionList.DEC2BIN.abstract",
@@ -4413,7 +4418,7 @@ const ji = [
4413
4418
  ]
4414
4419
  },
4415
4420
  {
4416
- functionName: S.DEC2HEX,
4421
+ functionName: A.DEC2HEX,
4417
4422
  functionType: t.Engineering,
4418
4423
  description: "formula.functionList.DEC2HEX.description",
4419
4424
  abstract: "formula.functionList.DEC2HEX.abstract",
@@ -4435,7 +4440,7 @@ const ji = [
4435
4440
  ]
4436
4441
  },
4437
4442
  {
4438
- functionName: S.DEC2OCT,
4443
+ functionName: A.DEC2OCT,
4439
4444
  functionType: t.Engineering,
4440
4445
  description: "formula.functionList.DEC2OCT.description",
4441
4446
  abstract: "formula.functionList.DEC2OCT.abstract",
@@ -4457,7 +4462,7 @@ const ji = [
4457
4462
  ]
4458
4463
  },
4459
4464
  {
4460
- functionName: S.DELTA,
4465
+ functionName: A.DELTA,
4461
4466
  functionType: t.Engineering,
4462
4467
  description: "formula.functionList.DELTA.description",
4463
4468
  abstract: "formula.functionList.DELTA.abstract",
@@ -4479,7 +4484,7 @@ const ji = [
4479
4484
  ]
4480
4485
  },
4481
4486
  {
4482
- functionName: S.ERF,
4487
+ functionName: A.ERF,
4483
4488
  functionType: t.Engineering,
4484
4489
  description: "formula.functionList.ERF.description",
4485
4490
  abstract: "formula.functionList.ERF.abstract",
@@ -4501,7 +4506,7 @@ const ji = [
4501
4506
  ]
4502
4507
  },
4503
4508
  {
4504
- functionName: S.ERF_PRECISE,
4509
+ functionName: A.ERF_PRECISE,
4505
4510
  functionType: t.Engineering,
4506
4511
  description: "formula.functionList.ERF_PRECISE.description",
4507
4512
  abstract: "formula.functionList.ERF_PRECISE.abstract",
@@ -4516,7 +4521,7 @@ const ji = [
4516
4521
  ]
4517
4522
  },
4518
4523
  {
4519
- functionName: S.ERFC,
4524
+ functionName: A.ERFC,
4520
4525
  functionType: t.Engineering,
4521
4526
  description: "formula.functionList.ERFC.description",
4522
4527
  abstract: "formula.functionList.ERFC.abstract",
@@ -4531,7 +4536,7 @@ const ji = [
4531
4536
  ]
4532
4537
  },
4533
4538
  {
4534
- functionName: S.ERFC_PRECISE,
4539
+ functionName: A.ERFC_PRECISE,
4535
4540
  functionType: t.Engineering,
4536
4541
  description: "formula.functionList.ERFC_PRECISE.description",
4537
4542
  abstract: "formula.functionList.ERFC_PRECISE.abstract",
@@ -4546,7 +4551,7 @@ const ji = [
4546
4551
  ]
4547
4552
  },
4548
4553
  {
4549
- functionName: S.GESTEP,
4554
+ functionName: A.GESTEP,
4550
4555
  functionType: t.Engineering,
4551
4556
  description: "formula.functionList.GESTEP.description",
4552
4557
  abstract: "formula.functionList.GESTEP.abstract",
@@ -4568,7 +4573,7 @@ const ji = [
4568
4573
  ]
4569
4574
  },
4570
4575
  {
4571
- functionName: S.HEX2BIN,
4576
+ functionName: A.HEX2BIN,
4572
4577
  functionType: t.Engineering,
4573
4578
  description: "formula.functionList.HEX2BIN.description",
4574
4579
  abstract: "formula.functionList.HEX2BIN.abstract",
@@ -4590,7 +4595,7 @@ const ji = [
4590
4595
  ]
4591
4596
  },
4592
4597
  {
4593
- functionName: S.HEX2DEC,
4598
+ functionName: A.HEX2DEC,
4594
4599
  functionType: t.Engineering,
4595
4600
  description: "formula.functionList.HEX2DEC.description",
4596
4601
  abstract: "formula.functionList.HEX2DEC.abstract",
@@ -4605,7 +4610,7 @@ const ji = [
4605
4610
  ]
4606
4611
  },
4607
4612
  {
4608
- functionName: S.HEX2OCT,
4613
+ functionName: A.HEX2OCT,
4609
4614
  functionType: t.Engineering,
4610
4615
  description: "formula.functionList.HEX2OCT.description",
4611
4616
  abstract: "formula.functionList.HEX2OCT.abstract",
@@ -4627,7 +4632,7 @@ const ji = [
4627
4632
  ]
4628
4633
  },
4629
4634
  {
4630
- functionName: S.IMABS,
4635
+ functionName: A.IMABS,
4631
4636
  functionType: t.Engineering,
4632
4637
  description: "formula.functionList.IMABS.description",
4633
4638
  abstract: "formula.functionList.IMABS.abstract",
@@ -4642,7 +4647,7 @@ const ji = [
4642
4647
  ]
4643
4648
  },
4644
4649
  {
4645
- functionName: S.IMAGINARY,
4650
+ functionName: A.IMAGINARY,
4646
4651
  functionType: t.Engineering,
4647
4652
  description: "formula.functionList.IMAGINARY.description",
4648
4653
  abstract: "formula.functionList.IMAGINARY.abstract",
@@ -4657,7 +4662,7 @@ const ji = [
4657
4662
  ]
4658
4663
  },
4659
4664
  {
4660
- functionName: S.IMARGUMENT,
4665
+ functionName: A.IMARGUMENT,
4661
4666
  functionType: t.Engineering,
4662
4667
  description: "formula.functionList.IMARGUMENT.description",
4663
4668
  abstract: "formula.functionList.IMARGUMENT.abstract",
@@ -4672,7 +4677,7 @@ const ji = [
4672
4677
  ]
4673
4678
  },
4674
4679
  {
4675
- functionName: S.IMCONJUGATE,
4680
+ functionName: A.IMCONJUGATE,
4676
4681
  functionType: t.Engineering,
4677
4682
  description: "formula.functionList.IMCONJUGATE.description",
4678
4683
  abstract: "formula.functionList.IMCONJUGATE.abstract",
@@ -4687,7 +4692,7 @@ const ji = [
4687
4692
  ]
4688
4693
  },
4689
4694
  {
4690
- functionName: S.IMCOS,
4695
+ functionName: A.IMCOS,
4691
4696
  functionType: t.Engineering,
4692
4697
  description: "formula.functionList.IMCOS.description",
4693
4698
  abstract: "formula.functionList.IMCOS.abstract",
@@ -4702,7 +4707,7 @@ const ji = [
4702
4707
  ]
4703
4708
  },
4704
4709
  {
4705
- functionName: S.IMCOSH,
4710
+ functionName: A.IMCOSH,
4706
4711
  functionType: t.Engineering,
4707
4712
  description: "formula.functionList.IMCOSH.description",
4708
4713
  abstract: "formula.functionList.IMCOSH.abstract",
@@ -4717,7 +4722,7 @@ const ji = [
4717
4722
  ]
4718
4723
  },
4719
4724
  {
4720
- functionName: S.IMCOT,
4725
+ functionName: A.IMCOT,
4721
4726
  functionType: t.Engineering,
4722
4727
  description: "formula.functionList.IMCOT.description",
4723
4728
  abstract: "formula.functionList.IMCOT.abstract",
@@ -4732,7 +4737,7 @@ const ji = [
4732
4737
  ]
4733
4738
  },
4734
4739
  {
4735
- functionName: S.IMCOTH,
4740
+ functionName: A.IMCOTH,
4736
4741
  functionType: t.Engineering,
4737
4742
  description: "formula.functionList.IMCOTH.description",
4738
4743
  abstract: "formula.functionList.IMCOTH.abstract",
@@ -4747,7 +4752,7 @@ const ji = [
4747
4752
  ]
4748
4753
  },
4749
4754
  {
4750
- functionName: S.IMCSC,
4755
+ functionName: A.IMCSC,
4751
4756
  functionType: t.Engineering,
4752
4757
  description: "formula.functionList.IMCSC.description",
4753
4758
  abstract: "formula.functionList.IMCSC.abstract",
@@ -4762,7 +4767,7 @@ const ji = [
4762
4767
  ]
4763
4768
  },
4764
4769
  {
4765
- functionName: S.IMCSCH,
4770
+ functionName: A.IMCSCH,
4766
4771
  functionType: t.Engineering,
4767
4772
  description: "formula.functionList.IMCSCH.description",
4768
4773
  abstract: "formula.functionList.IMCSCH.abstract",
@@ -4777,7 +4782,7 @@ const ji = [
4777
4782
  ]
4778
4783
  },
4779
4784
  {
4780
- functionName: S.IMDIV,
4785
+ functionName: A.IMDIV,
4781
4786
  functionType: t.Engineering,
4782
4787
  description: "formula.functionList.IMDIV.description",
4783
4788
  abstract: "formula.functionList.IMDIV.abstract",
@@ -4799,7 +4804,7 @@ const ji = [
4799
4804
  ]
4800
4805
  },
4801
4806
  {
4802
- functionName: S.IMEXP,
4807
+ functionName: A.IMEXP,
4803
4808
  functionType: t.Engineering,
4804
4809
  description: "formula.functionList.IMEXP.description",
4805
4810
  abstract: "formula.functionList.IMEXP.abstract",
@@ -4814,7 +4819,7 @@ const ji = [
4814
4819
  ]
4815
4820
  },
4816
4821
  {
4817
- functionName: S.IMLN,
4822
+ functionName: A.IMLN,
4818
4823
  functionType: t.Engineering,
4819
4824
  description: "formula.functionList.IMLN.description",
4820
4825
  abstract: "formula.functionList.IMLN.abstract",
@@ -4829,7 +4834,7 @@ const ji = [
4829
4834
  ]
4830
4835
  },
4831
4836
  {
4832
- functionName: S.IMLOG,
4837
+ functionName: A.IMLOG,
4833
4838
  functionType: t.Engineering,
4834
4839
  description: "formula.functionList.IMLOG.description",
4835
4840
  abstract: "formula.functionList.IMLOG.abstract",
@@ -4851,7 +4856,7 @@ const ji = [
4851
4856
  ]
4852
4857
  },
4853
4858
  {
4854
- functionName: S.IMLOG10,
4859
+ functionName: A.IMLOG10,
4855
4860
  functionType: t.Engineering,
4856
4861
  description: "formula.functionList.IMLOG10.description",
4857
4862
  abstract: "formula.functionList.IMLOG10.abstract",
@@ -4866,7 +4871,7 @@ const ji = [
4866
4871
  ]
4867
4872
  },
4868
4873
  {
4869
- functionName: S.IMLOG2,
4874
+ functionName: A.IMLOG2,
4870
4875
  functionType: t.Engineering,
4871
4876
  description: "formula.functionList.IMLOG2.description",
4872
4877
  abstract: "formula.functionList.IMLOG2.abstract",
@@ -4881,7 +4886,7 @@ const ji = [
4881
4886
  ]
4882
4887
  },
4883
4888
  {
4884
- functionName: S.IMPOWER,
4889
+ functionName: A.IMPOWER,
4885
4890
  functionType: t.Engineering,
4886
4891
  description: "formula.functionList.IMPOWER.description",
4887
4892
  abstract: "formula.functionList.IMPOWER.abstract",
@@ -4903,7 +4908,7 @@ const ji = [
4903
4908
  ]
4904
4909
  },
4905
4910
  {
4906
- functionName: S.IMPRODUCT,
4911
+ functionName: A.IMPRODUCT,
4907
4912
  functionType: t.Engineering,
4908
4913
  description: "formula.functionList.IMPRODUCT.description",
4909
4914
  abstract: "formula.functionList.IMPRODUCT.abstract",
@@ -4925,7 +4930,7 @@ const ji = [
4925
4930
  ]
4926
4931
  },
4927
4932
  {
4928
- functionName: S.IMREAL,
4933
+ functionName: A.IMREAL,
4929
4934
  functionType: t.Engineering,
4930
4935
  description: "formula.functionList.IMREAL.description",
4931
4936
  abstract: "formula.functionList.IMREAL.abstract",
@@ -4940,7 +4945,7 @@ const ji = [
4940
4945
  ]
4941
4946
  },
4942
4947
  {
4943
- functionName: S.IMSEC,
4948
+ functionName: A.IMSEC,
4944
4949
  functionType: t.Engineering,
4945
4950
  description: "formula.functionList.IMSEC.description",
4946
4951
  abstract: "formula.functionList.IMSEC.abstract",
@@ -4955,7 +4960,7 @@ const ji = [
4955
4960
  ]
4956
4961
  },
4957
4962
  {
4958
- functionName: S.IMSECH,
4963
+ functionName: A.IMSECH,
4959
4964
  functionType: t.Engineering,
4960
4965
  description: "formula.functionList.IMSECH.description",
4961
4966
  abstract: "formula.functionList.IMSECH.abstract",
@@ -4970,7 +4975,7 @@ const ji = [
4970
4975
  ]
4971
4976
  },
4972
4977
  {
4973
- functionName: S.IMSIN,
4978
+ functionName: A.IMSIN,
4974
4979
  functionType: t.Engineering,
4975
4980
  description: "formula.functionList.IMSIN.description",
4976
4981
  abstract: "formula.functionList.IMSIN.abstract",
@@ -4985,7 +4990,7 @@ const ji = [
4985
4990
  ]
4986
4991
  },
4987
4992
  {
4988
- functionName: S.IMSINH,
4993
+ functionName: A.IMSINH,
4989
4994
  functionType: t.Engineering,
4990
4995
  description: "formula.functionList.IMSINH.description",
4991
4996
  abstract: "formula.functionList.IMSINH.abstract",
@@ -5000,7 +5005,7 @@ const ji = [
5000
5005
  ]
5001
5006
  },
5002
5007
  {
5003
- functionName: S.IMSQRT,
5008
+ functionName: A.IMSQRT,
5004
5009
  functionType: t.Engineering,
5005
5010
  description: "formula.functionList.IMSQRT.description",
5006
5011
  abstract: "formula.functionList.IMSQRT.abstract",
@@ -5015,7 +5020,7 @@ const ji = [
5015
5020
  ]
5016
5021
  },
5017
5022
  {
5018
- functionName: S.IMSUB,
5023
+ functionName: A.IMSUB,
5019
5024
  functionType: t.Engineering,
5020
5025
  description: "formula.functionList.IMSUB.description",
5021
5026
  abstract: "formula.functionList.IMSUB.abstract",
@@ -5037,7 +5042,7 @@ const ji = [
5037
5042
  ]
5038
5043
  },
5039
5044
  {
5040
- functionName: S.IMSUM,
5045
+ functionName: A.IMSUM,
5041
5046
  functionType: t.Engineering,
5042
5047
  description: "formula.functionList.IMSUM.description",
5043
5048
  abstract: "formula.functionList.IMSUM.abstract",
@@ -5059,7 +5064,7 @@ const ji = [
5059
5064
  ]
5060
5065
  },
5061
5066
  {
5062
- functionName: S.IMTAN,
5067
+ functionName: A.IMTAN,
5063
5068
  functionType: t.Engineering,
5064
5069
  description: "formula.functionList.IMTAN.description",
5065
5070
  abstract: "formula.functionList.IMTAN.abstract",
@@ -5074,7 +5079,7 @@ const ji = [
5074
5079
  ]
5075
5080
  },
5076
5081
  {
5077
- functionName: S.IMTANH,
5082
+ functionName: A.IMTANH,
5078
5083
  functionType: t.Engineering,
5079
5084
  description: "formula.functionList.IMTANH.description",
5080
5085
  abstract: "formula.functionList.IMTANH.abstract",
@@ -5089,7 +5094,7 @@ const ji = [
5089
5094
  ]
5090
5095
  },
5091
5096
  {
5092
- functionName: S.OCT2BIN,
5097
+ functionName: A.OCT2BIN,
5093
5098
  functionType: t.Engineering,
5094
5099
  description: "formula.functionList.OCT2BIN.description",
5095
5100
  abstract: "formula.functionList.OCT2BIN.abstract",
@@ -5111,7 +5116,7 @@ const ji = [
5111
5116
  ]
5112
5117
  },
5113
5118
  {
5114
- functionName: S.OCT2DEC,
5119
+ functionName: A.OCT2DEC,
5115
5120
  functionType: t.Engineering,
5116
5121
  description: "formula.functionList.OCT2DEC.description",
5117
5122
  abstract: "formula.functionList.OCT2DEC.abstract",
@@ -5126,7 +5131,7 @@ const ji = [
5126
5131
  ]
5127
5132
  },
5128
5133
  {
5129
- functionName: S.OCT2HEX,
5134
+ functionName: A.OCT2HEX,
5130
5135
  functionType: t.Engineering,
5131
5136
  description: "formula.functionList.OCT2HEX.description",
5132
5137
  abstract: "formula.functionList.OCT2HEX.abstract",
@@ -8293,7 +8298,7 @@ const ji = [
8293
8298
  }
8294
8299
  ], rr = [
8295
8300
  {
8296
- functionName: y.ADDRESS,
8301
+ functionName: _.ADDRESS,
8297
8302
  functionType: t.Lookup,
8298
8303
  description: "formula.functionList.ADDRESS.description",
8299
8304
  abstract: "formula.functionList.ADDRESS.abstract",
@@ -8336,7 +8341,7 @@ const ji = [
8336
8341
  ]
8337
8342
  },
8338
8343
  {
8339
- functionName: y.AREAS,
8344
+ functionName: _.AREAS,
8340
8345
  functionType: t.Lookup,
8341
8346
  description: "formula.functionList.AREAS.description",
8342
8347
  abstract: "formula.functionList.AREAS.abstract",
@@ -8351,7 +8356,7 @@ const ji = [
8351
8356
  ]
8352
8357
  },
8353
8358
  {
8354
- functionName: y.CHOOSE,
8359
+ functionName: _.CHOOSE,
8355
8360
  functionType: t.Lookup,
8356
8361
  description: "formula.functionList.CHOOSE.description",
8357
8362
  abstract: "formula.functionList.CHOOSE.abstract",
@@ -8380,7 +8385,7 @@ const ji = [
8380
8385
  ]
8381
8386
  },
8382
8387
  {
8383
- functionName: y.CHOOSECOLS,
8388
+ functionName: _.CHOOSECOLS,
8384
8389
  functionType: t.Lookup,
8385
8390
  description: "formula.functionList.CHOOSECOLS.description",
8386
8391
  abstract: "formula.functionList.CHOOSECOLS.abstract",
@@ -8409,7 +8414,7 @@ const ji = [
8409
8414
  ]
8410
8415
  },
8411
8416
  {
8412
- functionName: y.CHOOSEROWS,
8417
+ functionName: _.CHOOSEROWS,
8413
8418
  functionType: t.Lookup,
8414
8419
  description: "formula.functionList.CHOOSEROWS.description",
8415
8420
  abstract: "formula.functionList.CHOOSEROWS.abstract",
@@ -8438,7 +8443,7 @@ const ji = [
8438
8443
  ]
8439
8444
  },
8440
8445
  {
8441
- functionName: y.COLUMN,
8446
+ functionName: _.COLUMN,
8442
8447
  functionType: t.Lookup,
8443
8448
  description: "formula.functionList.COLUMN.description",
8444
8449
  abstract: "formula.functionList.COLUMN.abstract",
@@ -8453,7 +8458,7 @@ const ji = [
8453
8458
  ]
8454
8459
  },
8455
8460
  {
8456
- functionName: y.COLUMNS,
8461
+ functionName: _.COLUMNS,
8457
8462
  functionType: t.Lookup,
8458
8463
  description: "formula.functionList.COLUMNS.description",
8459
8464
  abstract: "formula.functionList.COLUMNS.abstract",
@@ -8468,7 +8473,7 @@ const ji = [
8468
8473
  ]
8469
8474
  },
8470
8475
  {
8471
- functionName: y.DROP,
8476
+ functionName: _.DROP,
8472
8477
  functionType: t.Lookup,
8473
8478
  description: "formula.functionList.DROP.description",
8474
8479
  abstract: "formula.functionList.DROP.abstract",
@@ -8497,7 +8502,7 @@ const ji = [
8497
8502
  ]
8498
8503
  },
8499
8504
  {
8500
- functionName: y.EXPAND,
8505
+ functionName: _.EXPAND,
8501
8506
  functionType: t.Lookup,
8502
8507
  description: "formula.functionList.EXPAND.description",
8503
8508
  abstract: "formula.functionList.EXPAND.abstract",
@@ -8533,7 +8538,7 @@ const ji = [
8533
8538
  ]
8534
8539
  },
8535
8540
  {
8536
- functionName: y.FILTER,
8541
+ functionName: _.FILTER,
8537
8542
  functionType: t.Lookup,
8538
8543
  description: "formula.functionList.FILTER.description",
8539
8544
  abstract: "formula.functionList.FILTER.abstract",
@@ -8562,7 +8567,7 @@ const ji = [
8562
8567
  ]
8563
8568
  },
8564
8569
  {
8565
- functionName: y.FORMULATEXT,
8570
+ functionName: _.FORMULATEXT,
8566
8571
  functionType: t.Lookup,
8567
8572
  description: "formula.functionList.FORMULATEXT.description",
8568
8573
  abstract: "formula.functionList.FORMULATEXT.abstract",
@@ -8577,7 +8582,7 @@ const ji = [
8577
8582
  ]
8578
8583
  },
8579
8584
  {
8580
- functionName: y.GETPIVOTDATA,
8585
+ functionName: _.GETPIVOTDATA,
8581
8586
  functionType: t.Lookup,
8582
8587
  description: "formula.functionList.GETPIVOTDATA.description",
8583
8588
  abstract: "formula.functionList.GETPIVOTDATA.abstract",
@@ -8599,7 +8604,7 @@ const ji = [
8599
8604
  ]
8600
8605
  },
8601
8606
  {
8602
- functionName: y.HLOOKUP,
8607
+ functionName: _.HLOOKUP,
8603
8608
  functionType: t.Lookup,
8604
8609
  description: "formula.functionList.HLOOKUP.description",
8605
8610
  abstract: "formula.functionList.HLOOKUP.abstract",
@@ -8635,7 +8640,7 @@ const ji = [
8635
8640
  ]
8636
8641
  },
8637
8642
  {
8638
- functionName: y.HSTACK,
8643
+ functionName: _.HSTACK,
8639
8644
  functionType: t.Lookup,
8640
8645
  description: "formula.functionList.HSTACK.description",
8641
8646
  abstract: "formula.functionList.HSTACK.abstract",
@@ -8657,7 +8662,7 @@ const ji = [
8657
8662
  ]
8658
8663
  },
8659
8664
  {
8660
- functionName: y.HYPERLINK,
8665
+ functionName: _.HYPERLINK,
8661
8666
  functionType: t.Lookup,
8662
8667
  description: "formula.functionList.HYPERLINK.description",
8663
8668
  abstract: "formula.functionList.HYPERLINK.abstract",
@@ -8679,7 +8684,7 @@ const ji = [
8679
8684
  ]
8680
8685
  },
8681
8686
  {
8682
- functionName: y.IMAGE,
8687
+ functionName: _.IMAGE,
8683
8688
  functionType: t.Lookup,
8684
8689
  description: "formula.functionList.IMAGE.description",
8685
8690
  abstract: "formula.functionList.IMAGE.abstract",
@@ -8701,7 +8706,7 @@ const ji = [
8701
8706
  ]
8702
8707
  },
8703
8708
  {
8704
- functionName: y.INDEX,
8709
+ functionName: _.INDEX,
8705
8710
  functionType: t.Lookup,
8706
8711
  description: "formula.functionList.INDEX.description",
8707
8712
  abstract: "formula.functionList.INDEX.abstract",
@@ -8737,7 +8742,7 @@ const ji = [
8737
8742
  ]
8738
8743
  },
8739
8744
  {
8740
- functionName: y.INDIRECT,
8745
+ functionName: _.INDIRECT,
8741
8746
  functionType: t.Lookup,
8742
8747
  description: "formula.functionList.INDIRECT.description",
8743
8748
  abstract: "formula.functionList.INDIRECT.abstract",
@@ -8759,7 +8764,7 @@ const ji = [
8759
8764
  ]
8760
8765
  },
8761
8766
  {
8762
- functionName: y.LOOKUP,
8767
+ functionName: _.LOOKUP,
8763
8768
  functionType: t.Lookup,
8764
8769
  description: "formula.functionList.LOOKUP.description",
8765
8770
  abstract: "formula.functionList.LOOKUP.abstract",
@@ -8788,7 +8793,7 @@ const ji = [
8788
8793
  ]
8789
8794
  },
8790
8795
  {
8791
- functionName: y.MATCH,
8796
+ functionName: _.MATCH,
8792
8797
  functionType: t.Lookup,
8793
8798
  description: "formula.functionList.MATCH.description",
8794
8799
  abstract: "formula.functionList.MATCH.abstract",
@@ -8817,7 +8822,7 @@ const ji = [
8817
8822
  ]
8818
8823
  },
8819
8824
  {
8820
- functionName: y.OFFSET,
8825
+ functionName: _.OFFSET,
8821
8826
  functionType: t.Lookup,
8822
8827
  description: "formula.functionList.OFFSET.description",
8823
8828
  abstract: "formula.functionList.OFFSET.abstract",
@@ -8860,7 +8865,7 @@ const ji = [
8860
8865
  ]
8861
8866
  },
8862
8867
  {
8863
- functionName: y.ROW,
8868
+ functionName: _.ROW,
8864
8869
  functionType: t.Lookup,
8865
8870
  description: "formula.functionList.ROW.description",
8866
8871
  abstract: "formula.functionList.ROW.abstract",
@@ -8875,7 +8880,7 @@ const ji = [
8875
8880
  ]
8876
8881
  },
8877
8882
  {
8878
- functionName: y.ROWS,
8883
+ functionName: _.ROWS,
8879
8884
  functionType: t.Lookup,
8880
8885
  description: "formula.functionList.ROWS.description",
8881
8886
  abstract: "formula.functionList.ROWS.abstract",
@@ -8890,7 +8895,7 @@ const ji = [
8890
8895
  ]
8891
8896
  },
8892
8897
  {
8893
- functionName: y.RTD,
8898
+ functionName: _.RTD,
8894
8899
  functionType: t.Lookup,
8895
8900
  description: "formula.functionList.RTD.description",
8896
8901
  abstract: "formula.functionList.RTD.abstract",
@@ -8912,7 +8917,7 @@ const ji = [
8912
8917
  ]
8913
8918
  },
8914
8919
  {
8915
- functionName: y.SORT,
8920
+ functionName: _.SORT,
8916
8921
  functionType: t.Lookup,
8917
8922
  description: "formula.functionList.SORT.description",
8918
8923
  abstract: "formula.functionList.SORT.abstract",
@@ -8948,7 +8953,7 @@ const ji = [
8948
8953
  ]
8949
8954
  },
8950
8955
  {
8951
- functionName: y.SORTBY,
8956
+ functionName: _.SORTBY,
8952
8957
  functionType: t.Lookup,
8953
8958
  description: "formula.functionList.SORTBY.description",
8954
8959
  abstract: "formula.functionList.SORTBY.abstract",
@@ -8991,7 +8996,7 @@ const ji = [
8991
8996
  ]
8992
8997
  },
8993
8998
  {
8994
- functionName: y.TAKE,
8999
+ functionName: _.TAKE,
8995
9000
  functionType: t.Lookup,
8996
9001
  description: "formula.functionList.TAKE.description",
8997
9002
  abstract: "formula.functionList.TAKE.abstract",
@@ -9020,7 +9025,7 @@ const ji = [
9020
9025
  ]
9021
9026
  },
9022
9027
  {
9023
- functionName: y.TOCOL,
9028
+ functionName: _.TOCOL,
9024
9029
  functionType: t.Lookup,
9025
9030
  description: "formula.functionList.TOCOL.description",
9026
9031
  abstract: "formula.functionList.TOCOL.abstract",
@@ -9049,7 +9054,7 @@ const ji = [
9049
9054
  ]
9050
9055
  },
9051
9056
  {
9052
- functionName: y.TOROW,
9057
+ functionName: _.TOROW,
9053
9058
  functionType: t.Lookup,
9054
9059
  description: "formula.functionList.TOROW.description",
9055
9060
  abstract: "formula.functionList.TOROW.abstract",
@@ -9078,7 +9083,7 @@ const ji = [
9078
9083
  ]
9079
9084
  },
9080
9085
  {
9081
- functionName: y.TRANSPOSE,
9086
+ functionName: _.TRANSPOSE,
9082
9087
  functionType: t.Lookup,
9083
9088
  description: "formula.functionList.TRANSPOSE.description",
9084
9089
  abstract: "formula.functionList.TRANSPOSE.abstract",
@@ -9093,7 +9098,7 @@ const ji = [
9093
9098
  ]
9094
9099
  },
9095
9100
  {
9096
- functionName: y.UNIQUE,
9101
+ functionName: _.UNIQUE,
9097
9102
  functionType: t.Lookup,
9098
9103
  description: "formula.functionList.UNIQUE.description",
9099
9104
  abstract: "formula.functionList.UNIQUE.abstract",
@@ -9122,7 +9127,7 @@ const ji = [
9122
9127
  ]
9123
9128
  },
9124
9129
  {
9125
- functionName: y.VLOOKUP,
9130
+ functionName: _.VLOOKUP,
9126
9131
  functionType: t.Lookup,
9127
9132
  description: "formula.functionList.VLOOKUP.description",
9128
9133
  abstract: "formula.functionList.VLOOKUP.abstract",
@@ -9158,7 +9163,7 @@ const ji = [
9158
9163
  ]
9159
9164
  },
9160
9165
  {
9161
- functionName: y.VSTACK,
9166
+ functionName: _.VSTACK,
9162
9167
  functionType: t.Lookup,
9163
9168
  description: "formula.functionList.VSTACK.description",
9164
9169
  abstract: "formula.functionList.VSTACK.abstract",
@@ -9180,7 +9185,7 @@ const ji = [
9180
9185
  ]
9181
9186
  },
9182
9187
  {
9183
- functionName: y.WRAPCOLS,
9188
+ functionName: _.WRAPCOLS,
9184
9189
  functionType: t.Lookup,
9185
9190
  description: "formula.functionList.WRAPCOLS.description",
9186
9191
  abstract: "formula.functionList.WRAPCOLS.abstract",
@@ -9209,7 +9214,7 @@ const ji = [
9209
9214
  ]
9210
9215
  },
9211
9216
  {
9212
- functionName: y.WRAPROWS,
9217
+ functionName: _.WRAPROWS,
9213
9218
  functionType: t.Lookup,
9214
9219
  description: "formula.functionList.WRAPROWS.description",
9215
9220
  abstract: "formula.functionList.WRAPROWS.abstract",
@@ -9238,7 +9243,7 @@ const ji = [
9238
9243
  ]
9239
9244
  },
9240
9245
  {
9241
- functionName: y.XLOOKUP,
9246
+ functionName: _.XLOOKUP,
9242
9247
  functionType: t.Lookup,
9243
9248
  description: "formula.functionList.XLOOKUP.description",
9244
9249
  abstract: "formula.functionList.XLOOKUP.abstract",
@@ -9288,7 +9293,7 @@ const ji = [
9288
9293
  ]
9289
9294
  },
9290
9295
  {
9291
- functionName: y.XMATCH,
9296
+ functionName: _.XMATCH,
9292
9297
  functionType: t.Lookup,
9293
9298
  description: "formula.functionList.XMATCH.description",
9294
9299
  abstract: "formula.functionList.XMATCH.abstract",
@@ -10963,7 +10968,7 @@ const ji = [
10963
10968
  }
10964
10969
  ], ur = [
10965
10970
  {
10966
- functionName: s.AVEDEV,
10971
+ functionName: l.AVEDEV,
10967
10972
  functionType: t.Statistical,
10968
10973
  description: "formula.functionList.AVEDEV.description",
10969
10974
  abstract: "formula.functionList.AVEDEV.abstract",
@@ -10985,7 +10990,7 @@ const ji = [
10985
10990
  ]
10986
10991
  },
10987
10992
  {
10988
- functionName: s.AVERAGE,
10993
+ functionName: l.AVERAGE,
10989
10994
  aliasFunctionName: "formula.functionList.AVERAGE.aliasFunctionName",
10990
10995
  functionType: t.Statistical,
10991
10996
  description: "formula.functionList.AVERAGE.description",
@@ -11008,7 +11013,7 @@ const ji = [
11008
11013
  ]
11009
11014
  },
11010
11015
  {
11011
- functionName: s.AVERAGE_WEIGHTED,
11016
+ functionName: l.AVERAGE_WEIGHTED,
11012
11017
  aliasFunctionName: "formula.functionList.AVERAGE_WEIGHTED.aliasFunctionName",
11013
11018
  functionType: t.Statistical,
11014
11019
  description: "formula.functionList.AVERAGE_WEIGHTED.description",
@@ -11045,7 +11050,7 @@ const ji = [
11045
11050
  ]
11046
11051
  },
11047
11052
  {
11048
- functionName: s.AVERAGEA,
11053
+ functionName: l.AVERAGEA,
11049
11054
  functionType: t.Statistical,
11050
11055
  description: "formula.functionList.AVERAGEA.description",
11051
11056
  abstract: "formula.functionList.AVERAGEA.abstract",
@@ -11067,7 +11072,7 @@ const ji = [
11067
11072
  ]
11068
11073
  },
11069
11074
  {
11070
- functionName: s.AVERAGEIF,
11075
+ functionName: l.AVERAGEIF,
11071
11076
  functionType: t.Statistical,
11072
11077
  description: "formula.functionList.AVERAGEIF.description",
11073
11078
  abstract: "formula.functionList.AVERAGEIF.abstract",
@@ -11096,7 +11101,7 @@ const ji = [
11096
11101
  ]
11097
11102
  },
11098
11103
  {
11099
- functionName: s.AVERAGEIFS,
11104
+ functionName: l.AVERAGEIFS,
11100
11105
  functionType: t.Statistical,
11101
11106
  description: "formula.functionList.AVERAGEIFS.description",
11102
11107
  abstract: "formula.functionList.AVERAGEIFS.abstract",
@@ -11139,7 +11144,7 @@ const ji = [
11139
11144
  ]
11140
11145
  },
11141
11146
  {
11142
- functionName: s.BETA_DIST,
11147
+ functionName: l.BETA_DIST,
11143
11148
  functionType: t.Statistical,
11144
11149
  description: "formula.functionList.BETA_DIST.description",
11145
11150
  abstract: "formula.functionList.BETA_DIST.abstract",
@@ -11189,7 +11194,7 @@ const ji = [
11189
11194
  ]
11190
11195
  },
11191
11196
  {
11192
- functionName: s.BETA_INV,
11197
+ functionName: l.BETA_INV,
11193
11198
  functionType: t.Statistical,
11194
11199
  description: "formula.functionList.BETA_INV.description",
11195
11200
  abstract: "formula.functionList.BETA_INV.abstract",
@@ -11232,7 +11237,7 @@ const ji = [
11232
11237
  ]
11233
11238
  },
11234
11239
  {
11235
- functionName: s.BINOM_DIST,
11240
+ functionName: l.BINOM_DIST,
11236
11241
  functionType: t.Statistical,
11237
11242
  description: "formula.functionList.BINOM_DIST.description",
11238
11243
  abstract: "formula.functionList.BINOM_DIST.abstract",
@@ -11268,7 +11273,7 @@ const ji = [
11268
11273
  ]
11269
11274
  },
11270
11275
  {
11271
- functionName: s.BINOM_DIST_RANGE,
11276
+ functionName: l.BINOM_DIST_RANGE,
11272
11277
  functionType: t.Statistical,
11273
11278
  description: "formula.functionList.BINOM_DIST_RANGE.description",
11274
11279
  abstract: "formula.functionList.BINOM_DIST_RANGE.abstract",
@@ -11304,7 +11309,7 @@ const ji = [
11304
11309
  ]
11305
11310
  },
11306
11311
  {
11307
- functionName: s.BINOM_INV,
11312
+ functionName: l.BINOM_INV,
11308
11313
  functionType: t.Statistical,
11309
11314
  description: "formula.functionList.BINOM_INV.description",
11310
11315
  abstract: "formula.functionList.BINOM_INV.abstract",
@@ -11333,7 +11338,7 @@ const ji = [
11333
11338
  ]
11334
11339
  },
11335
11340
  {
11336
- functionName: s.CHISQ_DIST,
11341
+ functionName: l.CHISQ_DIST,
11337
11342
  functionType: t.Statistical,
11338
11343
  description: "formula.functionList.CHISQ_DIST.description",
11339
11344
  abstract: "formula.functionList.CHISQ_DIST.abstract",
@@ -11362,7 +11367,7 @@ const ji = [
11362
11367
  ]
11363
11368
  },
11364
11369
  {
11365
- functionName: s.CHISQ_DIST_RT,
11370
+ functionName: l.CHISQ_DIST_RT,
11366
11371
  functionType: t.Statistical,
11367
11372
  description: "formula.functionList.CHISQ_DIST_RT.description",
11368
11373
  abstract: "formula.functionList.CHISQ_DIST_RT.abstract",
@@ -11384,7 +11389,7 @@ const ji = [
11384
11389
  ]
11385
11390
  },
11386
11391
  {
11387
- functionName: s.CHISQ_INV,
11392
+ functionName: l.CHISQ_INV,
11388
11393
  functionType: t.Statistical,
11389
11394
  description: "formula.functionList.CHISQ_INV.description",
11390
11395
  abstract: "formula.functionList.CHISQ_INV.abstract",
@@ -11406,7 +11411,7 @@ const ji = [
11406
11411
  ]
11407
11412
  },
11408
11413
  {
11409
- functionName: s.CHISQ_INV_RT,
11414
+ functionName: l.CHISQ_INV_RT,
11410
11415
  functionType: t.Statistical,
11411
11416
  description: "formula.functionList.CHISQ_INV_RT.description",
11412
11417
  abstract: "formula.functionList.CHISQ_INV_RT.abstract",
@@ -11428,7 +11433,7 @@ const ji = [
11428
11433
  ]
11429
11434
  },
11430
11435
  {
11431
- functionName: s.CHISQ_TEST,
11436
+ functionName: l.CHISQ_TEST,
11432
11437
  functionType: t.Statistical,
11433
11438
  description: "formula.functionList.CHISQ_TEST.description",
11434
11439
  abstract: "formula.functionList.CHISQ_TEST.abstract",
@@ -11450,7 +11455,7 @@ const ji = [
11450
11455
  ]
11451
11456
  },
11452
11457
  {
11453
- functionName: s.CONFIDENCE_NORM,
11458
+ functionName: l.CONFIDENCE_NORM,
11454
11459
  functionType: t.Statistical,
11455
11460
  description: "formula.functionList.CONFIDENCE_NORM.description",
11456
11461
  abstract: "formula.functionList.CONFIDENCE_NORM.abstract",
@@ -11479,7 +11484,7 @@ const ji = [
11479
11484
  ]
11480
11485
  },
11481
11486
  {
11482
- functionName: s.CONFIDENCE_T,
11487
+ functionName: l.CONFIDENCE_T,
11483
11488
  functionType: t.Statistical,
11484
11489
  description: "formula.functionList.CONFIDENCE_T.description",
11485
11490
  abstract: "formula.functionList.CONFIDENCE_T.abstract",
@@ -11508,7 +11513,7 @@ const ji = [
11508
11513
  ]
11509
11514
  },
11510
11515
  {
11511
- functionName: s.CORREL,
11516
+ functionName: l.CORREL,
11512
11517
  functionType: t.Statistical,
11513
11518
  description: "formula.functionList.CORREL.description",
11514
11519
  abstract: "formula.functionList.CORREL.abstract",
@@ -11530,7 +11535,7 @@ const ji = [
11530
11535
  ]
11531
11536
  },
11532
11537
  {
11533
- functionName: s.COUNT,
11538
+ functionName: l.COUNT,
11534
11539
  aliasFunctionName: "formula.functionList.COUNT.aliasFunctionName",
11535
11540
  functionType: t.Statistical,
11536
11541
  description: "formula.functionList.COUNT.description",
@@ -11553,7 +11558,7 @@ const ji = [
11553
11558
  ]
11554
11559
  },
11555
11560
  {
11556
- functionName: s.COUNTA,
11561
+ functionName: l.COUNTA,
11557
11562
  aliasFunctionName: "formula.functionList.COUNTA.aliasFunctionName",
11558
11563
  functionType: t.Statistical,
11559
11564
  description: "formula.functionList.COUNTA.description",
@@ -11576,7 +11581,7 @@ const ji = [
11576
11581
  ]
11577
11582
  },
11578
11583
  {
11579
- functionName: s.COUNTBLANK,
11584
+ functionName: l.COUNTBLANK,
11580
11585
  functionType: t.Statistical,
11581
11586
  description: "formula.functionList.COUNTBLANK.description",
11582
11587
  abstract: "formula.functionList.COUNTBLANK.abstract",
@@ -11591,7 +11596,7 @@ const ji = [
11591
11596
  ]
11592
11597
  },
11593
11598
  {
11594
- functionName: s.COUNTIF,
11599
+ functionName: l.COUNTIF,
11595
11600
  functionType: t.Statistical,
11596
11601
  description: "formula.functionList.COUNTIF.description",
11597
11602
  abstract: "formula.functionList.COUNTIF.abstract",
@@ -11613,7 +11618,7 @@ const ji = [
11613
11618
  ]
11614
11619
  },
11615
11620
  {
11616
- functionName: s.COUNTIFS,
11621
+ functionName: l.COUNTIFS,
11617
11622
  functionType: t.Statistical,
11618
11623
  description: "formula.functionList.COUNTIFS.description",
11619
11624
  abstract: "formula.functionList.COUNTIFS.abstract",
@@ -11649,7 +11654,7 @@ const ji = [
11649
11654
  ]
11650
11655
  },
11651
11656
  {
11652
- functionName: s.COVARIANCE_P,
11657
+ functionName: l.COVARIANCE_P,
11653
11658
  functionType: t.Statistical,
11654
11659
  description: "formula.functionList.COVARIANCE_P.description",
11655
11660
  abstract: "formula.functionList.COVARIANCE_P.abstract",
@@ -11671,7 +11676,7 @@ const ji = [
11671
11676
  ]
11672
11677
  },
11673
11678
  {
11674
- functionName: s.COVARIANCE_S,
11679
+ functionName: l.COVARIANCE_S,
11675
11680
  functionType: t.Statistical,
11676
11681
  description: "formula.functionList.COVARIANCE_S.description",
11677
11682
  abstract: "formula.functionList.COVARIANCE_S.abstract",
@@ -11693,7 +11698,7 @@ const ji = [
11693
11698
  ]
11694
11699
  },
11695
11700
  {
11696
- functionName: s.DEVSQ,
11701
+ functionName: l.DEVSQ,
11697
11702
  functionType: t.Statistical,
11698
11703
  description: "formula.functionList.DEVSQ.description",
11699
11704
  abstract: "formula.functionList.DEVSQ.abstract",
@@ -11715,7 +11720,7 @@ const ji = [
11715
11720
  ]
11716
11721
  },
11717
11722
  {
11718
- functionName: s.EXPON_DIST,
11723
+ functionName: l.EXPON_DIST,
11719
11724
  functionType: t.Statistical,
11720
11725
  description: "formula.functionList.EXPON_DIST.description",
11721
11726
  abstract: "formula.functionList.EXPON_DIST.abstract",
@@ -11744,7 +11749,7 @@ const ji = [
11744
11749
  ]
11745
11750
  },
11746
11751
  {
11747
- functionName: s.F_DIST,
11752
+ functionName: l.F_DIST,
11748
11753
  functionType: t.Statistical,
11749
11754
  description: "formula.functionList.F_DIST.description",
11750
11755
  abstract: "formula.functionList.F_DIST.abstract",
@@ -11780,7 +11785,7 @@ const ji = [
11780
11785
  ]
11781
11786
  },
11782
11787
  {
11783
- functionName: s.F_DIST_RT,
11788
+ functionName: l.F_DIST_RT,
11784
11789
  functionType: t.Statistical,
11785
11790
  description: "formula.functionList.F_DIST_RT.description",
11786
11791
  abstract: "formula.functionList.F_DIST_RT.abstract",
@@ -11809,7 +11814,7 @@ const ji = [
11809
11814
  ]
11810
11815
  },
11811
11816
  {
11812
- functionName: s.F_INV,
11817
+ functionName: l.F_INV,
11813
11818
  functionType: t.Statistical,
11814
11819
  description: "formula.functionList.F_INV.description",
11815
11820
  abstract: "formula.functionList.F_INV.abstract",
@@ -11838,7 +11843,7 @@ const ji = [
11838
11843
  ]
11839
11844
  },
11840
11845
  {
11841
- functionName: s.F_INV_RT,
11846
+ functionName: l.F_INV_RT,
11842
11847
  functionType: t.Statistical,
11843
11848
  description: "formula.functionList.F_INV_RT.description",
11844
11849
  abstract: "formula.functionList.F_INV_RT.abstract",
@@ -11867,7 +11872,7 @@ const ji = [
11867
11872
  ]
11868
11873
  },
11869
11874
  {
11870
- functionName: s.F_TEST,
11875
+ functionName: l.F_TEST,
11871
11876
  functionType: t.Statistical,
11872
11877
  description: "formula.functionList.F_TEST.description",
11873
11878
  abstract: "formula.functionList.F_TEST.abstract",
@@ -11889,7 +11894,7 @@ const ji = [
11889
11894
  ]
11890
11895
  },
11891
11896
  {
11892
- functionName: s.FISHER,
11897
+ functionName: l.FISHER,
11893
11898
  functionType: t.Statistical,
11894
11899
  description: "formula.functionList.FISHER.description",
11895
11900
  abstract: "formula.functionList.FISHER.abstract",
@@ -11904,7 +11909,7 @@ const ji = [
11904
11909
  ]
11905
11910
  },
11906
11911
  {
11907
- functionName: s.FISHERINV,
11912
+ functionName: l.FISHERINV,
11908
11913
  functionType: t.Statistical,
11909
11914
  description: "formula.functionList.FISHERINV.description",
11910
11915
  abstract: "formula.functionList.FISHERINV.abstract",
@@ -11919,7 +11924,7 @@ const ji = [
11919
11924
  ]
11920
11925
  },
11921
11926
  {
11922
- functionName: s.FORECAST,
11927
+ functionName: l.FORECAST,
11923
11928
  functionType: t.Statistical,
11924
11929
  description: "formula.functionList.FORECAST.description",
11925
11930
  abstract: "formula.functionList.FORECAST.abstract",
@@ -11948,7 +11953,7 @@ const ji = [
11948
11953
  ]
11949
11954
  },
11950
11955
  {
11951
- functionName: s.FORECAST_ETS,
11956
+ functionName: l.FORECAST_ETS,
11952
11957
  functionType: t.Statistical,
11953
11958
  description: "formula.functionList.FORECAST_ETS.description",
11954
11959
  abstract: "formula.functionList.FORECAST_ETS.abstract",
@@ -11970,7 +11975,7 @@ const ji = [
11970
11975
  ]
11971
11976
  },
11972
11977
  {
11973
- functionName: s.FORECAST_ETS_CONFINT,
11978
+ functionName: l.FORECAST_ETS_CONFINT,
11974
11979
  functionType: t.Statistical,
11975
11980
  description: "formula.functionList.FORECAST_ETS_CONFINT.description",
11976
11981
  abstract: "formula.functionList.FORECAST_ETS_CONFINT.abstract",
@@ -11992,7 +11997,7 @@ const ji = [
11992
11997
  ]
11993
11998
  },
11994
11999
  {
11995
- functionName: s.FORECAST_ETS_SEASONALITY,
12000
+ functionName: l.FORECAST_ETS_SEASONALITY,
11996
12001
  functionType: t.Statistical,
11997
12002
  description: "formula.functionList.FORECAST_ETS_SEASONALITY.description",
11998
12003
  abstract: "formula.functionList.FORECAST_ETS_SEASONALITY.abstract",
@@ -12014,7 +12019,7 @@ const ji = [
12014
12019
  ]
12015
12020
  },
12016
12021
  {
12017
- functionName: s.FORECAST_ETS_STAT,
12022
+ functionName: l.FORECAST_ETS_STAT,
12018
12023
  functionType: t.Statistical,
12019
12024
  description: "formula.functionList.FORECAST_ETS_STAT.description",
12020
12025
  abstract: "formula.functionList.FORECAST_ETS_STAT.abstract",
@@ -12036,7 +12041,7 @@ const ji = [
12036
12041
  ]
12037
12042
  },
12038
12043
  {
12039
- functionName: s.FORECAST_LINEAR,
12044
+ functionName: l.FORECAST_LINEAR,
12040
12045
  functionType: t.Statistical,
12041
12046
  description: "formula.functionList.FORECAST_LINEAR.description",
12042
12047
  abstract: "formula.functionList.FORECAST_LINEAR.abstract",
@@ -12065,7 +12070,7 @@ const ji = [
12065
12070
  ]
12066
12071
  },
12067
12072
  {
12068
- functionName: s.FREQUENCY,
12073
+ functionName: l.FREQUENCY,
12069
12074
  functionType: t.Statistical,
12070
12075
  description: "formula.functionList.FREQUENCY.description",
12071
12076
  abstract: "formula.functionList.FREQUENCY.abstract",
@@ -12087,7 +12092,7 @@ const ji = [
12087
12092
  ]
12088
12093
  },
12089
12094
  {
12090
- functionName: s.GAMMA,
12095
+ functionName: l.GAMMA,
12091
12096
  functionType: t.Statistical,
12092
12097
  description: "formula.functionList.GAMMA.description",
12093
12098
  abstract: "formula.functionList.GAMMA.abstract",
@@ -12102,7 +12107,7 @@ const ji = [
12102
12107
  ]
12103
12108
  },
12104
12109
  {
12105
- functionName: s.GAMMA_DIST,
12110
+ functionName: l.GAMMA_DIST,
12106
12111
  functionType: t.Statistical,
12107
12112
  description: "formula.functionList.GAMMA_DIST.description",
12108
12113
  abstract: "formula.functionList.GAMMA_DIST.abstract",
@@ -12138,7 +12143,7 @@ const ji = [
12138
12143
  ]
12139
12144
  },
12140
12145
  {
12141
- functionName: s.GAMMA_INV,
12146
+ functionName: l.GAMMA_INV,
12142
12147
  functionType: t.Statistical,
12143
12148
  description: "formula.functionList.GAMMA_INV.description",
12144
12149
  abstract: "formula.functionList.GAMMA_INV.abstract",
@@ -12167,7 +12172,7 @@ const ji = [
12167
12172
  ]
12168
12173
  },
12169
12174
  {
12170
- functionName: s.GAMMALN,
12175
+ functionName: l.GAMMALN,
12171
12176
  functionType: t.Statistical,
12172
12177
  description: "formula.functionList.GAMMALN.description",
12173
12178
  abstract: "formula.functionList.GAMMALN.abstract",
@@ -12182,7 +12187,7 @@ const ji = [
12182
12187
  ]
12183
12188
  },
12184
12189
  {
12185
- functionName: s.GAMMALN_PRECISE,
12190
+ functionName: l.GAMMALN_PRECISE,
12186
12191
  functionType: t.Statistical,
12187
12192
  description: "formula.functionList.GAMMALN_PRECISE.description",
12188
12193
  abstract: "formula.functionList.GAMMALN_PRECISE.abstract",
@@ -12197,7 +12202,7 @@ const ji = [
12197
12202
  ]
12198
12203
  },
12199
12204
  {
12200
- functionName: s.GAUSS,
12205
+ functionName: l.GAUSS,
12201
12206
  functionType: t.Statistical,
12202
12207
  description: "formula.functionList.GAUSS.description",
12203
12208
  abstract: "formula.functionList.GAUSS.abstract",
@@ -12212,7 +12217,7 @@ const ji = [
12212
12217
  ]
12213
12218
  },
12214
12219
  {
12215
- functionName: s.GEOMEAN,
12220
+ functionName: l.GEOMEAN,
12216
12221
  functionType: t.Statistical,
12217
12222
  description: "formula.functionList.GEOMEAN.description",
12218
12223
  abstract: "formula.functionList.GEOMEAN.abstract",
@@ -12234,7 +12239,7 @@ const ji = [
12234
12239
  ]
12235
12240
  },
12236
12241
  {
12237
- functionName: s.GROWTH,
12242
+ functionName: l.GROWTH,
12238
12243
  functionType: t.Statistical,
12239
12244
  description: "formula.functionList.GROWTH.description",
12240
12245
  abstract: "formula.functionList.GROWTH.abstract",
@@ -12270,7 +12275,7 @@ const ji = [
12270
12275
  ]
12271
12276
  },
12272
12277
  {
12273
- functionName: s.HARMEAN,
12278
+ functionName: l.HARMEAN,
12274
12279
  functionType: t.Statistical,
12275
12280
  description: "formula.functionList.HARMEAN.description",
12276
12281
  abstract: "formula.functionList.HARMEAN.abstract",
@@ -12292,7 +12297,7 @@ const ji = [
12292
12297
  ]
12293
12298
  },
12294
12299
  {
12295
- functionName: s.HYPGEOM_DIST,
12300
+ functionName: l.HYPGEOM_DIST,
12296
12301
  functionType: t.Statistical,
12297
12302
  description: "formula.functionList.HYPGEOM_DIST.description",
12298
12303
  abstract: "formula.functionList.HYPGEOM_DIST.abstract",
@@ -12335,7 +12340,7 @@ const ji = [
12335
12340
  ]
12336
12341
  },
12337
12342
  {
12338
- functionName: s.INTERCEPT,
12343
+ functionName: l.INTERCEPT,
12339
12344
  functionType: t.Statistical,
12340
12345
  description: "formula.functionList.INTERCEPT.description",
12341
12346
  abstract: "formula.functionList.INTERCEPT.abstract",
@@ -12357,7 +12362,7 @@ const ji = [
12357
12362
  ]
12358
12363
  },
12359
12364
  {
12360
- functionName: s.KURT,
12365
+ functionName: l.KURT,
12361
12366
  functionType: t.Statistical,
12362
12367
  description: "formula.functionList.KURT.description",
12363
12368
  abstract: "formula.functionList.KURT.abstract",
@@ -12379,7 +12384,7 @@ const ji = [
12379
12384
  ]
12380
12385
  },
12381
12386
  {
12382
- functionName: s.LARGE,
12387
+ functionName: l.LARGE,
12383
12388
  functionType: t.Statistical,
12384
12389
  description: "formula.functionList.LARGE.description",
12385
12390
  abstract: "formula.functionList.LARGE.abstract",
@@ -12401,7 +12406,7 @@ const ji = [
12401
12406
  ]
12402
12407
  },
12403
12408
  {
12404
- functionName: s.LINEST,
12409
+ functionName: l.LINEST,
12405
12410
  functionType: t.Statistical,
12406
12411
  description: "formula.functionList.LINEST.description",
12407
12412
  abstract: "formula.functionList.LINEST.abstract",
@@ -12437,7 +12442,7 @@ const ji = [
12437
12442
  ]
12438
12443
  },
12439
12444
  {
12440
- functionName: s.LOGEST,
12445
+ functionName: l.LOGEST,
12441
12446
  functionType: t.Statistical,
12442
12447
  description: "formula.functionList.LOGEST.description",
12443
12448
  abstract: "formula.functionList.LOGEST.abstract",
@@ -12473,7 +12478,7 @@ const ji = [
12473
12478
  ]
12474
12479
  },
12475
12480
  {
12476
- functionName: s.LOGNORM_DIST,
12481
+ functionName: l.LOGNORM_DIST,
12477
12482
  functionType: t.Statistical,
12478
12483
  description: "formula.functionList.LOGNORM_DIST.description",
12479
12484
  abstract: "formula.functionList.LOGNORM_DIST.abstract",
@@ -12509,7 +12514,7 @@ const ji = [
12509
12514
  ]
12510
12515
  },
12511
12516
  {
12512
- functionName: s.LOGNORM_INV,
12517
+ functionName: l.LOGNORM_INV,
12513
12518
  functionType: t.Statistical,
12514
12519
  description: "formula.functionList.LOGNORM_INV.description",
12515
12520
  abstract: "formula.functionList.LOGNORM_INV.abstract",
@@ -12538,7 +12543,7 @@ const ji = [
12538
12543
  ]
12539
12544
  },
12540
12545
  {
12541
- functionName: s.MARGINOFERROR,
12546
+ functionName: l.MARGINOFERROR,
12542
12547
  aliasFunctionName: "formula.functionList.MARGINOFERROR.aliasFunctionName",
12543
12548
  functionType: t.Statistical,
12544
12549
  description: "formula.functionList.MARGINOFERROR.description",
@@ -12561,7 +12566,7 @@ const ji = [
12561
12566
  ]
12562
12567
  },
12563
12568
  {
12564
- functionName: s.MAX,
12569
+ functionName: l.MAX,
12565
12570
  aliasFunctionName: "formula.functionList.MAX.aliasFunctionName",
12566
12571
  functionType: t.Statistical,
12567
12572
  description: "formula.functionList.MAX.description",
@@ -12584,7 +12589,7 @@ const ji = [
12584
12589
  ]
12585
12590
  },
12586
12591
  {
12587
- functionName: s.MAXA,
12592
+ functionName: l.MAXA,
12588
12593
  functionType: t.Statistical,
12589
12594
  description: "formula.functionList.MAXA.description",
12590
12595
  abstract: "formula.functionList.MAXA.abstract",
@@ -12606,7 +12611,7 @@ const ji = [
12606
12611
  ]
12607
12612
  },
12608
12613
  {
12609
- functionName: s.MAXIFS,
12614
+ functionName: l.MAXIFS,
12610
12615
  functionType: t.Statistical,
12611
12616
  description: "formula.functionList.MAXIFS.description",
12612
12617
  abstract: "formula.functionList.MAXIFS.abstract",
@@ -12649,7 +12654,7 @@ const ji = [
12649
12654
  ]
12650
12655
  },
12651
12656
  {
12652
- functionName: s.MEDIAN,
12657
+ functionName: l.MEDIAN,
12653
12658
  functionType: t.Statistical,
12654
12659
  description: "formula.functionList.MEDIAN.description",
12655
12660
  abstract: "formula.functionList.MEDIAN.abstract",
@@ -12671,7 +12676,7 @@ const ji = [
12671
12676
  ]
12672
12677
  },
12673
12678
  {
12674
- functionName: s.MIN,
12679
+ functionName: l.MIN,
12675
12680
  aliasFunctionName: "formula.functionList.MIN.aliasFunctionName",
12676
12681
  functionType: t.Statistical,
12677
12682
  description: "formula.functionList.MIN.description",
@@ -12694,7 +12699,7 @@ const ji = [
12694
12699
  ]
12695
12700
  },
12696
12701
  {
12697
- functionName: s.MINA,
12702
+ functionName: l.MINA,
12698
12703
  functionType: t.Statistical,
12699
12704
  description: "formula.functionList.MINA.description",
12700
12705
  abstract: "formula.functionList.MINA.abstract",
@@ -12716,7 +12721,7 @@ const ji = [
12716
12721
  ]
12717
12722
  },
12718
12723
  {
12719
- functionName: s.MINIFS,
12724
+ functionName: l.MINIFS,
12720
12725
  functionType: t.Statistical,
12721
12726
  description: "formula.functionList.MINIFS.description",
12722
12727
  abstract: "formula.functionList.MINIFS.abstract",
@@ -12759,7 +12764,7 @@ const ji = [
12759
12764
  ]
12760
12765
  },
12761
12766
  {
12762
- functionName: s.MODE_MULT,
12767
+ functionName: l.MODE_MULT,
12763
12768
  functionType: t.Statistical,
12764
12769
  description: "formula.functionList.MODE_MULT.description",
12765
12770
  abstract: "formula.functionList.MODE_MULT.abstract",
@@ -12781,7 +12786,7 @@ const ji = [
12781
12786
  ]
12782
12787
  },
12783
12788
  {
12784
- functionName: s.MODE_SNGL,
12789
+ functionName: l.MODE_SNGL,
12785
12790
  functionType: t.Statistical,
12786
12791
  description: "formula.functionList.MODE_SNGL.description",
12787
12792
  abstract: "formula.functionList.MODE_SNGL.abstract",
@@ -12803,7 +12808,7 @@ const ji = [
12803
12808
  ]
12804
12809
  },
12805
12810
  {
12806
- functionName: s.NEGBINOM_DIST,
12811
+ functionName: l.NEGBINOM_DIST,
12807
12812
  functionType: t.Statistical,
12808
12813
  description: "formula.functionList.NEGBINOM_DIST.description",
12809
12814
  abstract: "formula.functionList.NEGBINOM_DIST.abstract",
@@ -12839,7 +12844,7 @@ const ji = [
12839
12844
  ]
12840
12845
  },
12841
12846
  {
12842
- functionName: s.NORM_DIST,
12847
+ functionName: l.NORM_DIST,
12843
12848
  functionType: t.Statistical,
12844
12849
  description: "formula.functionList.NORM_DIST.description",
12845
12850
  abstract: "formula.functionList.NORM_DIST.abstract",
@@ -12875,7 +12880,7 @@ const ji = [
12875
12880
  ]
12876
12881
  },
12877
12882
  {
12878
- functionName: s.NORM_INV,
12883
+ functionName: l.NORM_INV,
12879
12884
  functionType: t.Statistical,
12880
12885
  description: "formula.functionList.NORM_INV.description",
12881
12886
  abstract: "formula.functionList.NORM_INV.abstract",
@@ -12904,7 +12909,7 @@ const ji = [
12904
12909
  ]
12905
12910
  },
12906
12911
  {
12907
- functionName: s.NORM_S_DIST,
12912
+ functionName: l.NORM_S_DIST,
12908
12913
  functionType: t.Statistical,
12909
12914
  description: "formula.functionList.NORM_S_DIST.description",
12910
12915
  abstract: "formula.functionList.NORM_S_DIST.abstract",
@@ -12926,7 +12931,7 @@ const ji = [
12926
12931
  ]
12927
12932
  },
12928
12933
  {
12929
- functionName: s.NORM_S_INV,
12934
+ functionName: l.NORM_S_INV,
12930
12935
  functionType: t.Statistical,
12931
12936
  description: "formula.functionList.NORM_S_INV.description",
12932
12937
  abstract: "formula.functionList.NORM_S_INV.abstract",
@@ -12941,7 +12946,7 @@ const ji = [
12941
12946
  ]
12942
12947
  },
12943
12948
  {
12944
- functionName: s.PEARSON,
12949
+ functionName: l.PEARSON,
12945
12950
  functionType: t.Statistical,
12946
12951
  description: "formula.functionList.PEARSON.description",
12947
12952
  abstract: "formula.functionList.PEARSON.abstract",
@@ -12963,7 +12968,7 @@ const ji = [
12963
12968
  ]
12964
12969
  },
12965
12970
  {
12966
- functionName: s.PERCENTILE_EXC,
12971
+ functionName: l.PERCENTILE_EXC,
12967
12972
  functionType: t.Statistical,
12968
12973
  description: "formula.functionList.PERCENTILE_EXC.description",
12969
12974
  abstract: "formula.functionList.PERCENTILE_EXC.abstract",
@@ -12985,7 +12990,7 @@ const ji = [
12985
12990
  ]
12986
12991
  },
12987
12992
  {
12988
- functionName: s.PERCENTILE_INC,
12993
+ functionName: l.PERCENTILE_INC,
12989
12994
  functionType: t.Statistical,
12990
12995
  description: "formula.functionList.PERCENTILE_INC.description",
12991
12996
  abstract: "formula.functionList.PERCENTILE_INC.abstract",
@@ -13007,7 +13012,7 @@ const ji = [
13007
13012
  ]
13008
13013
  },
13009
13014
  {
13010
- functionName: s.PERCENTRANK_EXC,
13015
+ functionName: l.PERCENTRANK_EXC,
13011
13016
  functionType: t.Statistical,
13012
13017
  description: "formula.functionList.PERCENTRANK_EXC.description",
13013
13018
  abstract: "formula.functionList.PERCENTRANK_EXC.abstract",
@@ -13036,7 +13041,7 @@ const ji = [
13036
13041
  ]
13037
13042
  },
13038
13043
  {
13039
- functionName: s.PERCENTRANK_INC,
13044
+ functionName: l.PERCENTRANK_INC,
13040
13045
  functionType: t.Statistical,
13041
13046
  description: "formula.functionList.PERCENTRANK_INC.description",
13042
13047
  abstract: "formula.functionList.PERCENTRANK_INC.abstract",
@@ -13065,7 +13070,7 @@ const ji = [
13065
13070
  ]
13066
13071
  },
13067
13072
  {
13068
- functionName: s.PERMUT,
13073
+ functionName: l.PERMUT,
13069
13074
  functionType: t.Statistical,
13070
13075
  description: "formula.functionList.PERMUT.description",
13071
13076
  abstract: "formula.functionList.PERMUT.abstract",
@@ -13087,7 +13092,7 @@ const ji = [
13087
13092
  ]
13088
13093
  },
13089
13094
  {
13090
- functionName: s.PERMUTATIONA,
13095
+ functionName: l.PERMUTATIONA,
13091
13096
  functionType: t.Statistical,
13092
13097
  description: "formula.functionList.PERMUTATIONA.description",
13093
13098
  abstract: "formula.functionList.PERMUTATIONA.abstract",
@@ -13109,7 +13114,7 @@ const ji = [
13109
13114
  ]
13110
13115
  },
13111
13116
  {
13112
- functionName: s.PHI,
13117
+ functionName: l.PHI,
13113
13118
  functionType: t.Statistical,
13114
13119
  description: "formula.functionList.PHI.description",
13115
13120
  abstract: "formula.functionList.PHI.abstract",
@@ -13124,7 +13129,7 @@ const ji = [
13124
13129
  ]
13125
13130
  },
13126
13131
  {
13127
- functionName: s.POISSON_DIST,
13132
+ functionName: l.POISSON_DIST,
13128
13133
  functionType: t.Statistical,
13129
13134
  description: "formula.functionList.POISSON_DIST.description",
13130
13135
  abstract: "formula.functionList.POISSON_DIST.abstract",
@@ -13153,7 +13158,7 @@ const ji = [
13153
13158
  ]
13154
13159
  },
13155
13160
  {
13156
- functionName: s.PROB,
13161
+ functionName: l.PROB,
13157
13162
  functionType: t.Statistical,
13158
13163
  description: "formula.functionList.PROB.description",
13159
13164
  abstract: "formula.functionList.PROB.abstract",
@@ -13189,7 +13194,7 @@ const ji = [
13189
13194
  ]
13190
13195
  },
13191
13196
  {
13192
- functionName: s.QUARTILE_EXC,
13197
+ functionName: l.QUARTILE_EXC,
13193
13198
  functionType: t.Statistical,
13194
13199
  description: "formula.functionList.QUARTILE_EXC.description",
13195
13200
  abstract: "formula.functionList.QUARTILE_EXC.abstract",
@@ -13211,7 +13216,7 @@ const ji = [
13211
13216
  ]
13212
13217
  },
13213
13218
  {
13214
- functionName: s.QUARTILE_INC,
13219
+ functionName: l.QUARTILE_INC,
13215
13220
  functionType: t.Statistical,
13216
13221
  description: "formula.functionList.QUARTILE_INC.description",
13217
13222
  abstract: "formula.functionList.QUARTILE_INC.abstract",
@@ -13233,7 +13238,7 @@ const ji = [
13233
13238
  ]
13234
13239
  },
13235
13240
  {
13236
- functionName: s.RANK_AVG,
13241
+ functionName: l.RANK_AVG,
13237
13242
  functionType: t.Statistical,
13238
13243
  description: "formula.functionList.RANK_AVG.description",
13239
13244
  abstract: "formula.functionList.RANK_AVG.abstract",
@@ -13262,7 +13267,7 @@ const ji = [
13262
13267
  ]
13263
13268
  },
13264
13269
  {
13265
- functionName: s.RANK_EQ,
13270
+ functionName: l.RANK_EQ,
13266
13271
  functionType: t.Statistical,
13267
13272
  description: "formula.functionList.RANK_EQ.description",
13268
13273
  abstract: "formula.functionList.RANK_EQ.abstract",
@@ -13291,7 +13296,7 @@ const ji = [
13291
13296
  ]
13292
13297
  },
13293
13298
  {
13294
- functionName: s.RSQ,
13299
+ functionName: l.RSQ,
13295
13300
  functionType: t.Statistical,
13296
13301
  description: "formula.functionList.RSQ.description",
13297
13302
  abstract: "formula.functionList.RSQ.abstract",
@@ -13313,7 +13318,7 @@ const ji = [
13313
13318
  ]
13314
13319
  },
13315
13320
  {
13316
- functionName: s.SKEW,
13321
+ functionName: l.SKEW,
13317
13322
  functionType: t.Statistical,
13318
13323
  description: "formula.functionList.SKEW.description",
13319
13324
  abstract: "formula.functionList.SKEW.abstract",
@@ -13335,7 +13340,7 @@ const ji = [
13335
13340
  ]
13336
13341
  },
13337
13342
  {
13338
- functionName: s.SKEW_P,
13343
+ functionName: l.SKEW_P,
13339
13344
  functionType: t.Statistical,
13340
13345
  description: "formula.functionList.SKEW_P.description",
13341
13346
  abstract: "formula.functionList.SKEW_P.abstract",
@@ -13357,7 +13362,7 @@ const ji = [
13357
13362
  ]
13358
13363
  },
13359
13364
  {
13360
- functionName: s.SLOPE,
13365
+ functionName: l.SLOPE,
13361
13366
  functionType: t.Statistical,
13362
13367
  description: "formula.functionList.SLOPE.description",
13363
13368
  abstract: "formula.functionList.SLOPE.abstract",
@@ -13379,7 +13384,7 @@ const ji = [
13379
13384
  ]
13380
13385
  },
13381
13386
  {
13382
- functionName: s.SMALL,
13387
+ functionName: l.SMALL,
13383
13388
  functionType: t.Statistical,
13384
13389
  description: "formula.functionList.SMALL.description",
13385
13390
  abstract: "formula.functionList.SMALL.abstract",
@@ -13401,7 +13406,7 @@ const ji = [
13401
13406
  ]
13402
13407
  },
13403
13408
  {
13404
- functionName: s.STANDARDIZE,
13409
+ functionName: l.STANDARDIZE,
13405
13410
  functionType: t.Statistical,
13406
13411
  description: "formula.functionList.STANDARDIZE.description",
13407
13412
  abstract: "formula.functionList.STANDARDIZE.abstract",
@@ -13430,7 +13435,7 @@ const ji = [
13430
13435
  ]
13431
13436
  },
13432
13437
  {
13433
- functionName: s.STDEV_P,
13438
+ functionName: l.STDEV_P,
13434
13439
  functionType: t.Statistical,
13435
13440
  description: "formula.functionList.STDEV_P.description",
13436
13441
  abstract: "formula.functionList.STDEV_P.abstract",
@@ -13452,7 +13457,7 @@ const ji = [
13452
13457
  ]
13453
13458
  },
13454
13459
  {
13455
- functionName: s.STDEV_S,
13460
+ functionName: l.STDEV_S,
13456
13461
  functionType: t.Statistical,
13457
13462
  description: "formula.functionList.STDEV_S.description",
13458
13463
  abstract: "formula.functionList.STDEV_S.abstract",
@@ -13474,7 +13479,7 @@ const ji = [
13474
13479
  ]
13475
13480
  },
13476
13481
  {
13477
- functionName: s.STDEVA,
13482
+ functionName: l.STDEVA,
13478
13483
  functionType: t.Statistical,
13479
13484
  description: "formula.functionList.STDEVA.description",
13480
13485
  abstract: "formula.functionList.STDEVA.abstract",
@@ -13496,7 +13501,7 @@ const ji = [
13496
13501
  ]
13497
13502
  },
13498
13503
  {
13499
- functionName: s.STDEVPA,
13504
+ functionName: l.STDEVPA,
13500
13505
  functionType: t.Statistical,
13501
13506
  description: "formula.functionList.STDEVPA.description",
13502
13507
  abstract: "formula.functionList.STDEVPA.abstract",
@@ -13518,7 +13523,7 @@ const ji = [
13518
13523
  ]
13519
13524
  },
13520
13525
  {
13521
- functionName: s.STEYX,
13526
+ functionName: l.STEYX,
13522
13527
  functionType: t.Statistical,
13523
13528
  description: "formula.functionList.STEYX.description",
13524
13529
  abstract: "formula.functionList.STEYX.abstract",
@@ -13540,7 +13545,7 @@ const ji = [
13540
13545
  ]
13541
13546
  },
13542
13547
  {
13543
- functionName: s.T_DIST,
13548
+ functionName: l.T_DIST,
13544
13549
  functionType: t.Statistical,
13545
13550
  description: "formula.functionList.T_DIST.description",
13546
13551
  abstract: "formula.functionList.T_DIST.abstract",
@@ -13569,7 +13574,7 @@ const ji = [
13569
13574
  ]
13570
13575
  },
13571
13576
  {
13572
- functionName: s.T_DIST_2T,
13577
+ functionName: l.T_DIST_2T,
13573
13578
  functionType: t.Statistical,
13574
13579
  description: "formula.functionList.T_DIST_2T.description",
13575
13580
  abstract: "formula.functionList.T_DIST_2T.abstract",
@@ -13591,7 +13596,7 @@ const ji = [
13591
13596
  ]
13592
13597
  },
13593
13598
  {
13594
- functionName: s.T_DIST_RT,
13599
+ functionName: l.T_DIST_RT,
13595
13600
  functionType: t.Statistical,
13596
13601
  description: "formula.functionList.T_DIST_RT.description",
13597
13602
  abstract: "formula.functionList.T_DIST_RT.abstract",
@@ -13613,7 +13618,7 @@ const ji = [
13613
13618
  ]
13614
13619
  },
13615
13620
  {
13616
- functionName: s.T_INV,
13621
+ functionName: l.T_INV,
13617
13622
  functionType: t.Statistical,
13618
13623
  description: "formula.functionList.T_INV.description",
13619
13624
  abstract: "formula.functionList.T_INV.abstract",
@@ -13635,7 +13640,7 @@ const ji = [
13635
13640
  ]
13636
13641
  },
13637
13642
  {
13638
- functionName: s.T_INV_2T,
13643
+ functionName: l.T_INV_2T,
13639
13644
  functionType: t.Statistical,
13640
13645
  description: "formula.functionList.T_INV_2T.description",
13641
13646
  abstract: "formula.functionList.T_INV_2T.abstract",
@@ -13657,7 +13662,7 @@ const ji = [
13657
13662
  ]
13658
13663
  },
13659
13664
  {
13660
- functionName: s.T_TEST,
13665
+ functionName: l.T_TEST,
13661
13666
  functionType: t.Statistical,
13662
13667
  description: "formula.functionList.T_TEST.description",
13663
13668
  abstract: "formula.functionList.T_TEST.abstract",
@@ -13693,7 +13698,7 @@ const ji = [
13693
13698
  ]
13694
13699
  },
13695
13700
  {
13696
- functionName: s.TREND,
13701
+ functionName: l.TREND,
13697
13702
  functionType: t.Statistical,
13698
13703
  description: "formula.functionList.TREND.description",
13699
13704
  abstract: "formula.functionList.TREND.abstract",
@@ -13729,7 +13734,7 @@ const ji = [
13729
13734
  ]
13730
13735
  },
13731
13736
  {
13732
- functionName: s.TRIMMEAN,
13737
+ functionName: l.TRIMMEAN,
13733
13738
  functionType: t.Statistical,
13734
13739
  description: "formula.functionList.TRIMMEAN.description",
13735
13740
  abstract: "formula.functionList.TRIMMEAN.abstract",
@@ -13751,7 +13756,7 @@ const ji = [
13751
13756
  ]
13752
13757
  },
13753
13758
  {
13754
- functionName: s.VAR_P,
13759
+ functionName: l.VAR_P,
13755
13760
  functionType: t.Statistical,
13756
13761
  description: "formula.functionList.VAR_P.description",
13757
13762
  abstract: "formula.functionList.VAR_P.abstract",
@@ -13773,7 +13778,7 @@ const ji = [
13773
13778
  ]
13774
13779
  },
13775
13780
  {
13776
- functionName: s.VAR_S,
13781
+ functionName: l.VAR_S,
13777
13782
  functionType: t.Statistical,
13778
13783
  description: "formula.functionList.VAR_S.description",
13779
13784
  abstract: "formula.functionList.VAR_S.abstract",
@@ -13795,7 +13800,7 @@ const ji = [
13795
13800
  ]
13796
13801
  },
13797
13802
  {
13798
- functionName: s.VARA,
13803
+ functionName: l.VARA,
13799
13804
  functionType: t.Statistical,
13800
13805
  description: "formula.functionList.VARA.description",
13801
13806
  abstract: "formula.functionList.VARA.abstract",
@@ -13817,7 +13822,7 @@ const ji = [
13817
13822
  ]
13818
13823
  },
13819
13824
  {
13820
- functionName: s.VARPA,
13825
+ functionName: l.VARPA,
13821
13826
  functionType: t.Statistical,
13822
13827
  description: "formula.functionList.VARPA.description",
13823
13828
  abstract: "formula.functionList.VARPA.abstract",
@@ -13839,7 +13844,7 @@ const ji = [
13839
13844
  ]
13840
13845
  },
13841
13846
  {
13842
- functionName: s.WEIBULL_DIST,
13847
+ functionName: l.WEIBULL_DIST,
13843
13848
  functionType: t.Statistical,
13844
13849
  description: "formula.functionList.WEIBULL_DIST.description",
13845
13850
  abstract: "formula.functionList.WEIBULL_DIST.abstract",
@@ -13875,7 +13880,7 @@ const ji = [
13875
13880
  ]
13876
13881
  },
13877
13882
  {
13878
- functionName: s.Z_TEST,
13883
+ functionName: l.Z_TEST,
13879
13884
  functionType: t.Statistical,
13880
13885
  description: "formula.functionList.Z_TEST.description",
13881
13886
  abstract: "formula.functionList.Z_TEST.abstract",
@@ -13905,7 +13910,7 @@ const ji = [
13905
13910
  }
13906
13911
  ], mr = [
13907
13912
  {
13908
- functionName: D.ASC,
13913
+ functionName: b.ASC,
13909
13914
  functionType: t.Text,
13910
13915
  description: "formula.functionList.ASC.description",
13911
13916
  abstract: "formula.functionList.ASC.abstract",
@@ -13920,7 +13925,7 @@ const ji = [
13920
13925
  ]
13921
13926
  },
13922
13927
  {
13923
- functionName: D.ARRAYTOTEXT,
13928
+ functionName: b.ARRAYTOTEXT,
13924
13929
  functionType: t.Text,
13925
13930
  description: "formula.functionList.ARRAYTOTEXT.description",
13926
13931
  abstract: "formula.functionList.ARRAYTOTEXT.abstract",
@@ -13942,7 +13947,7 @@ const ji = [
13942
13947
  ]
13943
13948
  },
13944
13949
  {
13945
- functionName: D.BAHTTEXT,
13950
+ functionName: b.BAHTTEXT,
13946
13951
  functionType: t.Text,
13947
13952
  description: "formula.functionList.BAHTTEXT.description",
13948
13953
  abstract: "formula.functionList.BAHTTEXT.abstract",
@@ -13957,7 +13962,7 @@ const ji = [
13957
13962
  ]
13958
13963
  },
13959
13964
  {
13960
- functionName: D.CHAR,
13965
+ functionName: b.CHAR,
13961
13966
  functionType: t.Text,
13962
13967
  description: "formula.functionList.CHAR.description",
13963
13968
  abstract: "formula.functionList.CHAR.abstract",
@@ -13972,7 +13977,7 @@ const ji = [
13972
13977
  ]
13973
13978
  },
13974
13979
  {
13975
- functionName: D.CLEAN,
13980
+ functionName: b.CLEAN,
13976
13981
  functionType: t.Text,
13977
13982
  description: "formula.functionList.CLEAN.description",
13978
13983
  abstract: "formula.functionList.CLEAN.abstract",
@@ -13987,7 +13992,7 @@ const ji = [
13987
13992
  ]
13988
13993
  },
13989
13994
  {
13990
- functionName: D.CODE,
13995
+ functionName: b.CODE,
13991
13996
  functionType: t.Text,
13992
13997
  description: "formula.functionList.CODE.description",
13993
13998
  abstract: "formula.functionList.CODE.abstract",
@@ -14002,7 +14007,7 @@ const ji = [
14002
14007
  ]
14003
14008
  },
14004
14009
  {
14005
- functionName: D.CONCAT,
14010
+ functionName: b.CONCAT,
14006
14011
  functionType: t.Text,
14007
14012
  description: "formula.functionList.CONCAT.description",
14008
14013
  abstract: "formula.functionList.CONCAT.abstract",
@@ -14024,7 +14029,7 @@ const ji = [
14024
14029
  ]
14025
14030
  },
14026
14031
  {
14027
- functionName: D.CONCATENATE,
14032
+ functionName: b.CONCATENATE,
14028
14033
  functionType: t.Text,
14029
14034
  description: "formula.functionList.CONCATENATE.description",
14030
14035
  abstract: "formula.functionList.CONCATENATE.abstract",
@@ -14046,7 +14051,7 @@ const ji = [
14046
14051
  ]
14047
14052
  },
14048
14053
  {
14049
- functionName: D.DBCS,
14054
+ functionName: b.DBCS,
14050
14055
  functionType: t.Text,
14051
14056
  description: "formula.functionList.DBCS.description",
14052
14057
  abstract: "formula.functionList.DBCS.abstract",
@@ -14061,7 +14066,7 @@ const ji = [
14061
14066
  ]
14062
14067
  },
14063
14068
  {
14064
- functionName: D.DOLLAR,
14069
+ functionName: b.DOLLAR,
14065
14070
  functionType: t.Text,
14066
14071
  description: "formula.functionList.DOLLAR.description",
14067
14072
  abstract: "formula.functionList.DOLLAR.abstract",
@@ -14083,7 +14088,7 @@ const ji = [
14083
14088
  ]
14084
14089
  },
14085
14090
  {
14086
- functionName: D.EXACT,
14091
+ functionName: b.EXACT,
14087
14092
  functionType: t.Text,
14088
14093
  description: "formula.functionList.EXACT.description",
14089
14094
  abstract: "formula.functionList.EXACT.abstract",
@@ -14105,7 +14110,7 @@ const ji = [
14105
14110
  ]
14106
14111
  },
14107
14112
  {
14108
- functionName: D.FIND,
14113
+ functionName: b.FIND,
14109
14114
  functionType: t.Text,
14110
14115
  description: "formula.functionList.FIND.description",
14111
14116
  abstract: "formula.functionList.FIND.abstract",
@@ -14134,7 +14139,7 @@ const ji = [
14134
14139
  ]
14135
14140
  },
14136
14141
  {
14137
- functionName: D.FINDB,
14142
+ functionName: b.FINDB,
14138
14143
  functionType: t.Text,
14139
14144
  description: "formula.functionList.FINDB.description",
14140
14145
  abstract: "formula.functionList.FINDB.abstract",
@@ -14163,7 +14168,7 @@ const ji = [
14163
14168
  ]
14164
14169
  },
14165
14170
  {
14166
- functionName: D.FIXED,
14171
+ functionName: b.FIXED,
14167
14172
  functionType: t.Text,
14168
14173
  description: "formula.functionList.FIXED.description",
14169
14174
  abstract: "formula.functionList.FIXED.abstract",
@@ -14192,7 +14197,7 @@ const ji = [
14192
14197
  ]
14193
14198
  },
14194
14199
  {
14195
- functionName: D.LEFT,
14200
+ functionName: b.LEFT,
14196
14201
  functionType: t.Text,
14197
14202
  description: "formula.functionList.LEFT.description",
14198
14203
  abstract: "formula.functionList.LEFT.abstract",
@@ -14214,7 +14219,7 @@ const ji = [
14214
14219
  ]
14215
14220
  },
14216
14221
  {
14217
- functionName: D.LEFTB,
14222
+ functionName: b.LEFTB,
14218
14223
  functionType: t.Text,
14219
14224
  description: "formula.functionList.LEFTB.description",
14220
14225
  abstract: "formula.functionList.LEFTB.abstract",
@@ -14236,7 +14241,7 @@ const ji = [
14236
14241
  ]
14237
14242
  },
14238
14243
  {
14239
- functionName: D.LEN,
14244
+ functionName: b.LEN,
14240
14245
  functionType: t.Text,
14241
14246
  description: "formula.functionList.LEN.description",
14242
14247
  abstract: "formula.functionList.LEN.abstract",
@@ -14251,7 +14256,7 @@ const ji = [
14251
14256
  ]
14252
14257
  },
14253
14258
  {
14254
- functionName: D.LENB,
14259
+ functionName: b.LENB,
14255
14260
  functionType: t.Text,
14256
14261
  description: "formula.functionList.LENB.description",
14257
14262
  abstract: "formula.functionList.LENB.abstract",
@@ -14266,7 +14271,7 @@ const ji = [
14266
14271
  ]
14267
14272
  },
14268
14273
  {
14269
- functionName: D.LOWER,
14274
+ functionName: b.LOWER,
14270
14275
  functionType: t.Text,
14271
14276
  description: "formula.functionList.LOWER.description",
14272
14277
  abstract: "formula.functionList.LOWER.abstract",
@@ -14281,7 +14286,7 @@ const ji = [
14281
14286
  ]
14282
14287
  },
14283
14288
  {
14284
- functionName: D.MID,
14289
+ functionName: b.MID,
14285
14290
  functionType: t.Text,
14286
14291
  description: "formula.functionList.MID.description",
14287
14292
  abstract: "formula.functionList.MID.abstract",
@@ -14310,7 +14315,7 @@ const ji = [
14310
14315
  ]
14311
14316
  },
14312
14317
  {
14313
- functionName: D.MIDB,
14318
+ functionName: b.MIDB,
14314
14319
  functionType: t.Text,
14315
14320
  description: "formula.functionList.MIDB.description",
14316
14321
  abstract: "formula.functionList.MIDB.abstract",
@@ -14339,7 +14344,7 @@ const ji = [
14339
14344
  ]
14340
14345
  },
14341
14346
  {
14342
- functionName: D.NUMBERSTRING,
14347
+ functionName: b.NUMBERSTRING,
14343
14348
  functionType: t.Text,
14344
14349
  description: "formula.functionList.NUMBERSTRING.description",
14345
14350
  abstract: "formula.functionList.NUMBERSTRING.abstract",
@@ -14361,7 +14366,7 @@ const ji = [
14361
14366
  ]
14362
14367
  },
14363
14368
  {
14364
- functionName: D.NUMBERVALUE,
14369
+ functionName: b.NUMBERVALUE,
14365
14370
  functionType: t.Text,
14366
14371
  description: "formula.functionList.NUMBERVALUE.description",
14367
14372
  abstract: "formula.functionList.NUMBERVALUE.abstract",
@@ -14390,7 +14395,7 @@ const ji = [
14390
14395
  ]
14391
14396
  },
14392
14397
  {
14393
- functionName: D.PHONETIC,
14398
+ functionName: b.PHONETIC,
14394
14399
  functionType: t.Text,
14395
14400
  description: "formula.functionList.PHONETIC.description",
14396
14401
  abstract: "formula.functionList.PHONETIC.abstract",
@@ -14412,7 +14417,7 @@ const ji = [
14412
14417
  ]
14413
14418
  },
14414
14419
  {
14415
- functionName: D.PROPER,
14420
+ functionName: b.PROPER,
14416
14421
  functionType: t.Text,
14417
14422
  description: "formula.functionList.PROPER.description",
14418
14423
  abstract: "formula.functionList.PROPER.abstract",
@@ -14427,7 +14432,7 @@ const ji = [
14427
14432
  ]
14428
14433
  },
14429
14434
  {
14430
- functionName: D.REGEXEXTRACT,
14435
+ functionName: b.REGEXEXTRACT,
14431
14436
  functionType: t.Text,
14432
14437
  description: "formula.functionList.REGEXEXTRACT.description",
14433
14438
  abstract: "formula.functionList.REGEXEXTRACT.abstract",
@@ -14449,7 +14454,7 @@ const ji = [
14449
14454
  ]
14450
14455
  },
14451
14456
  {
14452
- functionName: D.REGEXMATCH,
14457
+ functionName: b.REGEXMATCH,
14453
14458
  functionType: t.Text,
14454
14459
  description: "formula.functionList.REGEXMATCH.description",
14455
14460
  abstract: "formula.functionList.REGEXMATCH.abstract",
@@ -14471,7 +14476,7 @@ const ji = [
14471
14476
  ]
14472
14477
  },
14473
14478
  {
14474
- functionName: D.REGEXREPLACE,
14479
+ functionName: b.REGEXREPLACE,
14475
14480
  functionType: t.Text,
14476
14481
  description: "formula.functionList.REGEXREPLACE.description",
14477
14482
  abstract: "formula.functionList.REGEXREPLACE.abstract",
@@ -14500,7 +14505,7 @@ const ji = [
14500
14505
  ]
14501
14506
  },
14502
14507
  {
14503
- functionName: D.REPLACE,
14508
+ functionName: b.REPLACE,
14504
14509
  functionType: t.Text,
14505
14510
  description: "formula.functionList.REPLACE.description",
14506
14511
  abstract: "formula.functionList.REPLACE.abstract",
@@ -14536,7 +14541,7 @@ const ji = [
14536
14541
  ]
14537
14542
  },
14538
14543
  {
14539
- functionName: D.REPLACEB,
14544
+ functionName: b.REPLACEB,
14540
14545
  functionType: t.Text,
14541
14546
  description: "formula.functionList.REPLACEB.description",
14542
14547
  abstract: "formula.functionList.REPLACEB.abstract",
@@ -14572,7 +14577,7 @@ const ji = [
14572
14577
  ]
14573
14578
  },
14574
14579
  {
14575
- functionName: D.REPT,
14580
+ functionName: b.REPT,
14576
14581
  functionType: t.Text,
14577
14582
  description: "formula.functionList.REPT.description",
14578
14583
  abstract: "formula.functionList.REPT.abstract",
@@ -14594,7 +14599,7 @@ const ji = [
14594
14599
  ]
14595
14600
  },
14596
14601
  {
14597
- functionName: D.RIGHT,
14602
+ functionName: b.RIGHT,
14598
14603
  functionType: t.Text,
14599
14604
  description: "formula.functionList.RIGHT.description",
14600
14605
  abstract: "formula.functionList.RIGHT.abstract",
@@ -14616,7 +14621,7 @@ const ji = [
14616
14621
  ]
14617
14622
  },
14618
14623
  {
14619
- functionName: D.RIGHTB,
14624
+ functionName: b.RIGHTB,
14620
14625
  functionType: t.Text,
14621
14626
  description: "formula.functionList.RIGHTB.description",
14622
14627
  abstract: "formula.functionList.RIGHTB.abstract",
@@ -14638,7 +14643,7 @@ const ji = [
14638
14643
  ]
14639
14644
  },
14640
14645
  {
14641
- functionName: D.SEARCH,
14646
+ functionName: b.SEARCH,
14642
14647
  functionType: t.Text,
14643
14648
  description: "formula.functionList.SEARCH.description",
14644
14649
  abstract: "formula.functionList.SEARCH.abstract",
@@ -14667,7 +14672,7 @@ const ji = [
14667
14672
  ]
14668
14673
  },
14669
14674
  {
14670
- functionName: D.SEARCHB,
14675
+ functionName: b.SEARCHB,
14671
14676
  functionType: t.Text,
14672
14677
  description: "formula.functionList.SEARCHB.description",
14673
14678
  abstract: "formula.functionList.SEARCHB.abstract",
@@ -14696,7 +14701,7 @@ const ji = [
14696
14701
  ]
14697
14702
  },
14698
14703
  {
14699
- functionName: D.SUBSTITUTE,
14704
+ functionName: b.SUBSTITUTE,
14700
14705
  functionType: t.Text,
14701
14706
  description: "formula.functionList.SUBSTITUTE.description",
14702
14707
  abstract: "formula.functionList.SUBSTITUTE.abstract",
@@ -14732,7 +14737,7 @@ const ji = [
14732
14737
  ]
14733
14738
  },
14734
14739
  {
14735
- functionName: D.T,
14740
+ functionName: b.T,
14736
14741
  functionType: t.Text,
14737
14742
  description: "formula.functionList.T.description",
14738
14743
  abstract: "formula.functionList.T.abstract",
@@ -14747,7 +14752,7 @@ const ji = [
14747
14752
  ]
14748
14753
  },
14749
14754
  {
14750
- functionName: D.TEXT,
14755
+ functionName: b.TEXT,
14751
14756
  functionType: t.Text,
14752
14757
  description: "formula.functionList.TEXT.description",
14753
14758
  abstract: "formula.functionList.TEXT.abstract",
@@ -14769,7 +14774,7 @@ const ji = [
14769
14774
  ]
14770
14775
  },
14771
14776
  {
14772
- functionName: D.TEXTAFTER,
14777
+ functionName: b.TEXTAFTER,
14773
14778
  functionType: t.Text,
14774
14779
  description: "formula.functionList.TEXTAFTER.description",
14775
14780
  abstract: "formula.functionList.TEXTAFTER.abstract",
@@ -14819,7 +14824,7 @@ const ji = [
14819
14824
  ]
14820
14825
  },
14821
14826
  {
14822
- functionName: D.TEXTBEFORE,
14827
+ functionName: b.TEXTBEFORE,
14823
14828
  functionType: t.Text,
14824
14829
  description: "formula.functionList.TEXTBEFORE.description",
14825
14830
  abstract: "formula.functionList.TEXTBEFORE.abstract",
@@ -14869,7 +14874,7 @@ const ji = [
14869
14874
  ]
14870
14875
  },
14871
14876
  {
14872
- functionName: D.TEXTJOIN,
14877
+ functionName: b.TEXTJOIN,
14873
14878
  functionType: t.Text,
14874
14879
  description: "formula.functionList.TEXTJOIN.description",
14875
14880
  abstract: "formula.functionList.TEXTJOIN.abstract",
@@ -14905,7 +14910,7 @@ const ji = [
14905
14910
  ]
14906
14911
  },
14907
14912
  {
14908
- functionName: D.TEXTSPLIT,
14913
+ functionName: b.TEXTSPLIT,
14909
14914
  functionType: t.Text,
14910
14915
  description: "formula.functionList.TEXTSPLIT.description",
14911
14916
  abstract: "formula.functionList.TEXTSPLIT.abstract",
@@ -14955,7 +14960,7 @@ const ji = [
14955
14960
  ]
14956
14961
  },
14957
14962
  {
14958
- functionName: D.TRIM,
14963
+ functionName: b.TRIM,
14959
14964
  functionType: t.Text,
14960
14965
  description: "formula.functionList.TRIM.description",
14961
14966
  abstract: "formula.functionList.TRIM.abstract",
@@ -14970,7 +14975,7 @@ const ji = [
14970
14975
  ]
14971
14976
  },
14972
14977
  {
14973
- functionName: D.UNICHAR,
14978
+ functionName: b.UNICHAR,
14974
14979
  functionType: t.Text,
14975
14980
  description: "formula.functionList.UNICHAR.description",
14976
14981
  abstract: "formula.functionList.UNICHAR.abstract",
@@ -14985,7 +14990,7 @@ const ji = [
14985
14990
  ]
14986
14991
  },
14987
14992
  {
14988
- functionName: D.UNICODE,
14993
+ functionName: b.UNICODE,
14989
14994
  functionType: t.Text,
14990
14995
  description: "formula.functionList.UNICODE.description",
14991
14996
  abstract: "formula.functionList.UNICODE.abstract",
@@ -15000,7 +15005,7 @@ const ji = [
15000
15005
  ]
15001
15006
  },
15002
15007
  {
15003
- functionName: D.UPPER,
15008
+ functionName: b.UPPER,
15004
15009
  functionType: t.Text,
15005
15010
  description: "formula.functionList.UPPER.description",
15006
15011
  abstract: "formula.functionList.UPPER.abstract",
@@ -15015,7 +15020,7 @@ const ji = [
15015
15020
  ]
15016
15021
  },
15017
15022
  {
15018
- functionName: D.VALUE,
15023
+ functionName: b.VALUE,
15019
15024
  functionType: t.Text,
15020
15025
  description: "formula.functionList.VALUE.description",
15021
15026
  abstract: "formula.functionList.VALUE.abstract",
@@ -15030,7 +15035,7 @@ const ji = [
15030
15035
  ]
15031
15036
  },
15032
15037
  {
15033
- functionName: D.VALUETOTEXT,
15038
+ functionName: b.VALUETOTEXT,
15034
15039
  functionType: t.Text,
15035
15040
  description: "formula.functionList.VALUETOTEXT.description",
15036
15041
  abstract: "formula.functionList.VALUETOTEXT.abstract",
@@ -15052,7 +15057,7 @@ const ji = [
15052
15057
  ]
15053
15058
  },
15054
15059
  {
15055
- functionName: D.CALL,
15060
+ functionName: b.CALL,
15056
15061
  functionType: t.Text,
15057
15062
  description: "formula.functionList.CALL.description",
15058
15063
  abstract: "formula.functionList.CALL.abstract",
@@ -15074,7 +15079,7 @@ const ji = [
15074
15079
  ]
15075
15080
  },
15076
15081
  {
15077
- functionName: D.EUROCONVERT,
15082
+ functionName: b.EUROCONVERT,
15078
15083
  functionType: t.Text,
15079
15084
  description: "formula.functionList.EUROCONVERT.description",
15080
15085
  abstract: "formula.functionList.EUROCONVERT.abstract",
@@ -15096,7 +15101,7 @@ const ji = [
15096
15101
  ]
15097
15102
  },
15098
15103
  {
15099
- functionName: D.REGISTER_ID,
15104
+ functionName: b.REGISTER_ID,
15100
15105
  functionType: t.Text,
15101
15106
  description: "formula.functionList.REGISTER_ID.description",
15102
15107
  abstract: "formula.functionList.REGISTER_ID.abstract",
@@ -15224,8 +15229,8 @@ let bt = class {
15224
15229
  getSearchListByName(a) {
15225
15230
  const e = [], n = this._functionService.getDescriptions(), i = a.toLocaleUpperCase().trim();
15226
15231
  return n.forEach((r) => {
15227
- const { functionName: o, abstract: u, functionType: m } = r;
15228
- o.toLocaleUpperCase().indexOf(i) > -1 && m !== t.DefinedName && e.push({ name: o, desc: u });
15232
+ const { functionName: o, abstract: u, functionType: f } = r;
15233
+ o.toLocaleUpperCase().indexOf(i) > -1 && f !== t.DefinedName && e.push({ name: o, desc: u });
15229
15234
  }), e;
15230
15235
  }
15231
15236
  getSearchListByNameFirstLetter(a) {
@@ -15323,16 +15328,16 @@ function ca(a, e, n, i) {
15323
15328
  if (r == null)
15324
15329
  return e;
15325
15330
  const o = [];
15326
- for (let u = 0, m = r.length; u < m; u++) {
15327
- const f = r[u];
15328
- if (typeof f == "string" || f.nodeType !== ee.REFERENCE)
15331
+ for (let u = 0, f = r.length; u < f; u++) {
15332
+ const m = r[u];
15333
+ if (typeof m == "string" || m.nodeType !== ee.REFERENCE)
15329
15334
  continue;
15330
- const { token: c } = f, d = pe(c), { sheetName: T, unitId: L } = d;
15331
- let E = d.range;
15332
- E.startAbsoluteRefType === Ke.ALL && E.endAbsoluteRefType === Ke.ALL || (E = Nt(E, n, i), o.push({
15333
- unitId: L,
15334
- sheetName: T,
15335
- range: E
15335
+ const { token: c } = m, s = pe(c), { sheetName: L, unitId: E } = s;
15336
+ let p = s.range;
15337
+ p.startAbsoluteRefType === Ke.ALL && p.endAbsoluteRefType === Ke.ALL || (p = Nt(p, n, i), o.push({
15338
+ unitId: E,
15339
+ sheetName: L,
15340
+ range: p
15336
15341
  }));
15337
15342
  }
15338
15343
  return o.map((u) => `${u.unitId}!${u.sheetName}!${u.range.startRow}!${u.range.endRow}!${u.range.startColumn}!${u.range.endColumn}`).join("|");
@@ -15342,65 +15347,65 @@ let Ot = class extends ae {
15342
15347
  super(), this._refRangeService = a, this._lexerTreeBuilder = e, this._univerInstanceService = n, this._injector = i;
15343
15348
  }
15344
15349
  transformFormulaByEffectCommand(a, e, n, i) {
15345
- const r = this._lexerTreeBuilder.sequenceNodesBuilder(n), o = this._univerInstanceService.getCurrentUnitForType(te.UNIVER_SHEET), u = o.getActiveSheet(), m = o.getUnitId(), f = u.getSheetId(), c = r == null ? void 0 : r.map((d) => {
15346
- if (typeof d == "object" && d.nodeType === ee.REFERENCE) {
15347
- const T = pe(d.token), { range: L, unitId: E, sheetName: I } = T, A = this._univerInstanceService.getUnit(E || a), l = I ? A == null ? void 0 : A.getSheetBySheetName(I) : A == null ? void 0 : A.getSheetBySheetId(e);
15348
- if (!l)
15350
+ const r = this._lexerTreeBuilder.sequenceNodesBuilder(n), o = this._univerInstanceService.getCurrentUnitForType(te.UNIVER_SHEET), u = o.getActiveSheet(), f = o.getUnitId(), m = u.getSheetId(), c = r == null ? void 0 : r.map((s) => {
15351
+ if (typeof s == "object" && s.nodeType === ee.REFERENCE) {
15352
+ const L = pe(s.token), { range: E, unitId: p, sheetName: R } = L, S = this._univerInstanceService.getUnit(p || a), N = R ? S == null ? void 0 : S.getSheetBySheetName(R) : S == null ? void 0 : S.getSheetBySheetId(e);
15353
+ if (!N)
15349
15354
  throw new Error("Sheet not found");
15350
- const N = A.getUnitId(), R = l.getSheetId();
15351
- if (N !== m || R !== f)
15352
- return d;
15353
- const p = wt(L, i);
15354
- let O = "";
15355
- if (p) {
15356
- const M = p.startColumn - L.startColumn, F = p.startRow - L.startRow, U = Nt(L, M, F);
15357
- E && I ? O = na(E, I, U) : I ? O = ia(I, U) : O = ye(U);
15355
+ const d = S.getUnitId(), D = N.getSheetId();
15356
+ if (d !== f || D !== m)
15357
+ return s;
15358
+ const I = wt(E, i);
15359
+ let T = "";
15360
+ if (I) {
15361
+ const g = I.startColumn - E.startColumn, h = I.startRow - E.startRow, B = Nt(E, g, h);
15362
+ p && R ? T = na(p, R, B) : R ? T = ia(R, B) : T = ye(B);
15358
15363
  } else
15359
- O = j.REF;
15364
+ T = j.REF;
15360
15365
  return {
15361
- ...d,
15362
- token: O
15366
+ ...s,
15367
+ token: T
15363
15368
  };
15364
15369
  } else
15365
- return d;
15370
+ return s;
15366
15371
  });
15367
15372
  return c ? `=${ke(c)}` : "";
15368
15373
  }
15369
15374
  registerFormula(a, e, n, i) {
15370
- const r = /* @__PURE__ */ new Map(), o = this._lexerTreeBuilder.sequenceNodesBuilder(n), u = new We(), m = (f) => {
15371
- const c = this._univerInstanceService.getCurrentUnitForType(te.UNIVER_SHEET), d = c.getActiveSheet(), T = c.getUnitId(), L = d.getSheetId(), E = o == null ? void 0 : o.map((A) => {
15372
- if (typeof A == "object" && A.nodeType === ee.REFERENCE) {
15373
- const l = r.get(A.token);
15374
- if (l.unitId !== T || l.subUnitId !== L)
15375
- return A;
15376
- const N = wt(l.range, f);
15377
- let R = "";
15378
- if (N) {
15379
- const p = N.startColumn - l.range.startColumn, O = N.startRow - l.range.startRow, M = Nt(l.range, p, O);
15380
- l.unitId && l.sheetName ? R = na(l.unitId, l.sheetName, M) : l.sheetName ? R = ia(l.sheetName, M) : R = ye(M);
15375
+ const r = /* @__PURE__ */ new Map(), o = this._lexerTreeBuilder.sequenceNodesBuilder(n), u = new We(), f = (m) => {
15376
+ const c = this._univerInstanceService.getCurrentUnitForType(te.UNIVER_SHEET), s = c.getActiveSheet(), L = c.getUnitId(), E = s.getSheetId(), p = o == null ? void 0 : o.map((S) => {
15377
+ if (typeof S == "object" && S.nodeType === ee.REFERENCE) {
15378
+ const N = r.get(S.token);
15379
+ if (N.unitId !== L || N.subUnitId !== E)
15380
+ return S;
15381
+ const d = wt(N.range, m);
15382
+ let D = "";
15383
+ if (d) {
15384
+ const I = d.startColumn - N.range.startColumn, T = d.startRow - N.range.startRow, g = Nt(N.range, I, T);
15385
+ N.unitId && N.sheetName ? D = na(N.unitId, N.sheetName, g) : N.sheetName ? D = ia(N.sheetName, g) : D = ye(g);
15381
15386
  } else
15382
- R = j.REF;
15387
+ D = j.REF;
15383
15388
  return {
15384
- ...A,
15385
- token: R
15389
+ ...S,
15390
+ token: D
15386
15391
  };
15387
15392
  } else
15388
- return A;
15389
- }), I = E && ke(E);
15390
- return i(`=${I}`);
15393
+ return S;
15394
+ }), R = p && ke(p);
15395
+ return i(`=${R}`);
15391
15396
  };
15392
- return o == null || o.forEach((f) => {
15393
- if (typeof f == "object" && f.nodeType === ee.REFERENCE) {
15394
- const c = pe(f.token), { range: d, unitId: T, sheetName: L } = c, E = this._univerInstanceService.getUnit(T || a), I = L ? E == null ? void 0 : E.getSheetBySheetName(L) : E == null ? void 0 : E.getSheetBySheetId(e);
15395
- if (!I)
15397
+ return o == null || o.forEach((m) => {
15398
+ if (typeof m == "object" && m.nodeType === ee.REFERENCE) {
15399
+ const c = pe(m.token), { range: s, unitId: L, sheetName: E } = c, p = this._univerInstanceService.getUnit(L || a), R = E ? p == null ? void 0 : p.getSheetBySheetName(E) : p == null ? void 0 : p.getSheetBySheetId(e);
15400
+ if (!R)
15396
15401
  return;
15397
- const A = E.getUnitId(), l = I.getSheetId(), N = {
15398
- unitId: A,
15399
- subUnitId: l,
15400
- range: d,
15401
- sheetName: L
15402
+ const S = p.getUnitId(), N = R.getSheetId(), d = {
15403
+ unitId: S,
15404
+ subUnitId: N,
15405
+ range: s,
15406
+ sheetName: E
15402
15407
  };
15403
- r.set(f.token, N), u.add(this._refRangeService.registerRefRange(d, m, A, l));
15408
+ r.set(m.token, d), u.add(this._refRangeService.registerRefRange(s, f, S, N));
15404
15409
  }
15405
15410
  }), u;
15406
15411
  }
@@ -15408,57 +15413,57 @@ let Ot = class extends ae {
15408
15413
  const r = xe(n) ? this._lexerTreeBuilder.sequenceNodesBuilder(n) : null, o = [];
15409
15414
  return r == null || r.forEach((u) => {
15410
15415
  if (typeof u == "object" && u.nodeType === ee.REFERENCE) {
15411
- const m = pe(u.token), { range: f, unitId: c, sheetName: d } = m;
15412
- if (f.startAbsoluteRefType === Ke.ALL && f.endAbsoluteRefType === Ke.ALL)
15416
+ const f = pe(u.token), { range: m, unitId: c, sheetName: s } = f;
15417
+ if (m.startAbsoluteRefType === Ke.ALL && m.endAbsoluteRefType === Ke.ALL)
15413
15418
  return;
15414
- const T = this._univerInstanceService.getUnit(c || a), L = d ? T == null ? void 0 : T.getSheetBySheetName(d) : T == null ? void 0 : T.getSheetBySheetId(e);
15415
- if (!L)
15419
+ const L = this._univerInstanceService.getUnit(c || a), E = s ? L == null ? void 0 : L.getSheetBySheetName(s) : L == null ? void 0 : L.getSheetBySheetId(e);
15420
+ if (!E)
15416
15421
  return;
15417
- const E = T.getUnitId(), I = L.getSheetId(), A = i[0].startRow, l = i[0].startColumn, N = f.startRow, R = f.startColumn, p = i.map((O) => ({
15418
- startRow: O.startRow - A + N,
15419
- endRow: O.endRow - A + N,
15420
- startColumn: O.startColumn - l + R,
15421
- endColumn: O.endColumn - l + R
15422
+ const p = L.getUnitId(), R = E.getSheetId(), S = i[0].startRow, N = i[0].startColumn, d = m.startRow, D = m.startColumn, I = i.map((T) => ({
15423
+ startRow: T.startRow - S + d,
15424
+ endRow: T.endRow - S + d,
15425
+ startColumn: T.startColumn - N + D,
15426
+ endColumn: T.endColumn - N + D
15422
15427
  }));
15423
15428
  o.push({
15424
- unitId: E,
15425
- subUnitId: I,
15426
- ranges: p
15429
+ unitId: p,
15430
+ subUnitId: R,
15431
+ ranges: I
15427
15432
  });
15428
15433
  }
15429
15434
  }), o;
15430
15435
  }
15431
15436
  // eslint-disable-next-line max-lines-per-function
15432
15437
  registerRangeFormula(a, e, n, i, r) {
15433
- const o = new We(), u = i.map((f) => this._getFormulaDependcy(a, e, f, n)), m = (f) => {
15434
- const c = n[0].startRow, d = n[0].startColumn, T = [{ unitId: a, subUnitId: e, ranges: n }, ...u.flat()], L = [], E = Tn(this._injector, f);
15435
- for (const { unitId: I, subUnitId: A, ranges: l } of T)
15436
- if (I === E.unitId && A === E.subUnitId) {
15437
- const N = [], R = l[0].startRow, p = l[0].startColumn, O = R - c, M = p - d;
15438
- for (const F of E.ranges) {
15439
- const U = l.map((g) => Ye(F, g)).filter(Boolean);
15440
- U.length > 0 && N.push(...U);
15438
+ const o = new We(), u = i.map((m) => this._getFormulaDependcy(a, e, m, n)), f = (m) => {
15439
+ const c = n[0].startRow, s = n[0].startColumn, L = [{ unitId: a, subUnitId: e, ranges: n }, ...u.flat()], E = [], p = Tn(this._injector, m);
15440
+ for (const { unitId: R, subUnitId: S, ranges: N } of L)
15441
+ if (R === p.unitId && S === p.subUnitId) {
15442
+ const d = [], D = N[0].startRow, I = N[0].startColumn, T = D - c, g = I - s;
15443
+ for (const h of p.ranges) {
15444
+ const B = N.map((q) => Ye(h, q)).filter(Boolean);
15445
+ B.length > 0 && d.push(...B);
15441
15446
  }
15442
- N.length > 0 && L.push(
15443
- N.map((F) => ({
15444
- startRow: F.startRow - O,
15445
- endRow: F.endRow - O,
15446
- startColumn: F.startColumn - M,
15447
- endColumn: F.endColumn - M
15447
+ d.length > 0 && E.push(
15448
+ d.map((h) => ({
15449
+ startRow: h.startRow - T,
15450
+ endRow: h.endRow - T,
15451
+ startColumn: h.startColumn - g,
15452
+ endColumn: h.endColumn - g
15448
15453
  }))
15449
15454
  );
15450
15455
  }
15451
- if (L.length > 0) {
15452
- const I = fe.splitIntoGrid([...L.flat()]), A = fe.subtractMulti(n, I);
15453
- A.sort((O, M) => O.startRow - M.startRow || O.startColumn - M.startColumn);
15454
- const l = /* @__PURE__ */ new Map();
15455
- for (let O = 0; O < I.length; O++) {
15456
- const M = I[O], F = M.startRow, U = M.startColumn, g = F - c, x = U - d, h = En(M, f).sort((k, oe) => k.startRow - oe.startRow || k.startColumn - oe.startColumn);
15457
- if (!h.length)
15456
+ if (E.length > 0) {
15457
+ const R = fe.splitIntoGrid([...E.flat()]), S = fe.subtractMulti(n, R);
15458
+ S.sort((T, g) => T.startRow - g.startRow || T.startColumn - g.startColumn);
15459
+ const N = /* @__PURE__ */ new Map();
15460
+ for (let T = 0; T < R.length; T++) {
15461
+ const g = R[T], h = g.startRow, B = g.startColumn, q = h - c, M = B - s, U = En(g, m).sort((k, oe) => k.startRow - oe.startRow || k.startColumn - oe.startColumn);
15462
+ if (!U.length)
15458
15463
  continue;
15459
- const V = h[0].startRow, Q = h[0].startColumn, b = V - c, Pe = Q - d, ne = [];
15464
+ const V = U[0].startRow, Q = U[0].startColumn, O = V - c, Pe = Q - s, ne = [];
15460
15465
  for (let k = 0; k < i.length; k++) {
15461
- const oe = i[k], z = xe(oe), he = z ? this._lexerTreeBuilder.moveFormulaRefOffset(oe, x, g) : oe, ue = z ? this.transformFormulaByEffectCommand(a, e, he, f) : he, Te = ca(this._lexerTreeBuilder, ue, -Pe, -b);
15466
+ const oe = i[k], z = xe(oe), he = z ? this._lexerTreeBuilder.moveFormulaRefOffset(oe, M, q) : oe, ue = z ? this.transformFormulaByEffectCommand(a, e, he, m) : he, Te = ca(this._lexerTreeBuilder, ue, -Pe, -O);
15462
15467
  ne.push({
15463
15468
  newFormula: ue,
15464
15469
  orginFormula: Te
@@ -15466,53 +15471,53 @@ let Ot = class extends ae {
15466
15471
  }
15467
15472
  const re = {
15468
15473
  formulas: ne,
15469
- ranges: h,
15474
+ ranges: U,
15470
15475
  key: ne.map((k) => k.orginFormula).join("_")
15471
15476
  };
15472
- l.has(re.key) ? l.get(re.key).push(re) : l.set(re.key, [re]);
15477
+ N.has(re.key) ? N.get(re.key).push(re) : N.set(re.key, [re]);
15473
15478
  }
15474
- const N = i.map((O) => ca(this._lexerTreeBuilder, O, 0, 0)).join("_");
15475
- if (A.length > 0) {
15476
- const O = A[0].startRow, M = A[0].startColumn, F = [];
15477
- for (let g = 0; g < i.length; g++) {
15478
- const x = i[g];
15479
- F.push({
15480
- newFormula: xe(x) ? this._lexerTreeBuilder.moveFormulaRefOffset(x, M - d, O - c) : x,
15481
- orginFormula: x
15479
+ const d = i.map((T) => ca(this._lexerTreeBuilder, T, 0, 0)).join("_");
15480
+ if (S.length > 0) {
15481
+ const T = S[0].startRow, g = S[0].startColumn, h = [];
15482
+ for (let q = 0; q < i.length; q++) {
15483
+ const M = i[q];
15484
+ h.push({
15485
+ newFormula: xe(M) ? this._lexerTreeBuilder.moveFormulaRefOffset(M, g - s, T - c) : M,
15486
+ orginFormula: M
15482
15487
  });
15483
15488
  }
15484
- const U = {
15485
- formulas: F,
15486
- ranges: A,
15487
- key: N
15489
+ const B = {
15490
+ formulas: h,
15491
+ ranges: S,
15492
+ key: d
15488
15493
  };
15489
- l.has(U.key) ? l.get(U.key).push(U) : l.set(U.key, [U]);
15494
+ N.has(B.key) ? N.get(B.key).push(B) : N.set(B.key, [B]);
15490
15495
  }
15491
- const R = [], p = Array.from(l.keys());
15492
- for (let O = p.length - 1; O >= 0; O--) {
15493
- const M = p[O], F = l.get(M).sort((x, h) => x.ranges[0].startRow - h.ranges[0].startRow || x.ranges[0].startColumn - h.ranges[0].startColumn), U = [];
15494
- for (let x = 0; x < F[0].formulas.length; x++)
15495
- U.push(F[0].formulas[x].newFormula);
15496
- const g = fe.mergeRanges(F.map((x) => x.ranges).flat());
15497
- g.sort((x, h) => x.startRow - h.startRow || x.startColumn - h.startColumn), R.push({
15498
- formulas: U,
15499
- ranges: g
15496
+ const D = [], I = Array.from(N.keys());
15497
+ for (let T = I.length - 1; T >= 0; T--) {
15498
+ const g = I[T], h = N.get(g).sort((M, U) => M.ranges[0].startRow - U.ranges[0].startRow || M.ranges[0].startColumn - U.ranges[0].startColumn), B = [];
15499
+ for (let M = 0; M < h[0].formulas.length; M++)
15500
+ B.push(h[0].formulas[M].newFormula);
15501
+ const q = fe.mergeRanges(h.map((M) => M.ranges).flat());
15502
+ q.sort((M, U) => M.startRow - U.startRow || M.startColumn - U.startColumn), D.push({
15503
+ formulas: B,
15504
+ ranges: q
15500
15505
  });
15501
15506
  }
15502
- return r(R);
15507
+ return r(D);
15503
15508
  }
15504
15509
  return {
15505
15510
  undos: [],
15506
15511
  redos: []
15507
15512
  };
15508
15513
  };
15509
- return n.forEach((f) => {
15510
- const c = this._refRangeService.registerRefRange(f, m, a, e);
15514
+ return n.forEach((m) => {
15515
+ const c = this._refRangeService.registerRefRange(m, f, a, e);
15511
15516
  o.add(c);
15512
- }), [...u.flat()].forEach(({ unitId: f, subUnitId: c, ranges: d }) => {
15513
- d.forEach((T) => {
15514
- const L = this._refRangeService.registerRefRange(T, m, f, c);
15515
- o.add(L);
15517
+ }), [...u.flat()].forEach(({ unitId: m, subUnitId: c, ranges: s }) => {
15518
+ s.forEach((L) => {
15519
+ const E = this._refRangeService.registerRefRange(L, f, m, c);
15520
+ o.add(E);
15516
15521
  });
15517
15522
  }), o;
15518
15523
  }
@@ -15581,11 +15586,11 @@ let Mt = class extends ae {
15581
15586
  if (n)
15582
15587
  r.add(this._descriptionService.registerDescriptions(n));
15583
15588
  else {
15584
- const o = i.map(([u, m, f]) => ({
15585
- functionName: m,
15589
+ const o = i.map(([u, f, m]) => ({
15590
+ functionName: f,
15586
15591
  functionType: t.User,
15587
15592
  description: "",
15588
- abstract: f || "",
15593
+ abstract: m || "",
15589
15594
  functionParameter: []
15590
15595
  }));
15591
15596
  r.add(this._functionService.registerDescriptions(...o));
@@ -15595,18 +15600,18 @@ let Mt = class extends ae {
15595
15600
  _registerSingleFunction(a) {
15596
15601
  const { name: e, func: n, description: i, locales: r, async: o = !1 } = a, u = new We();
15597
15602
  if (r && this._localeService.load(r), typeof i == "string") {
15598
- const f = {
15603
+ const m = {
15599
15604
  functionName: e,
15600
15605
  functionType: t.User,
15601
15606
  description: i,
15602
15607
  abstract: i || "",
15603
15608
  functionParameter: []
15604
15609
  };
15605
- u.add(this._descriptionService.registerDescriptions([f]));
15610
+ u.add(this._descriptionService.registerDescriptions([m]));
15606
15611
  } else
15607
15612
  u.add(this._descriptionService.registerDescriptions([i]));
15608
- const m = o ? new qa(e) : new Ct(e);
15609
- return m.calculateCustom = n, this._functionService.registerExecutors(m), u.add(ie(() => this._functionService.unregisterExecutors(e))), u.add(ie(() => this._functionService.unregisterDescriptions(e))), u.add(ie(() => this._functionService.deleteFormulaAstCacheKey(e))), this._remoteRegisterFunctionService && (this._remoteRegisterFunctionService.registerAsyncFunctions([[n.toString(), e]]), u.add(
15613
+ const f = o ? new qa(e) : new Ct(e);
15614
+ return f.calculateCustom = n, this._functionService.registerExecutors(f), u.add(ie(() => this._functionService.unregisterExecutors(e))), u.add(ie(() => this._functionService.unregisterDescriptions(e))), u.add(ie(() => this._functionService.deleteFormulaAstCacheKey(e))), this._remoteRegisterFunctionService && (this._remoteRegisterFunctionService.registerAsyncFunctions([[n.toString(), e]]), u.add(
15610
15615
  ie(() => this._remoteRegisterFunctionService.unregisterFunctions([e]))
15611
15616
  )), u;
15612
15617
  }
@@ -15842,30 +15847,30 @@ let Ze = class extends ae {
15842
15847
  return r.push(...this._getDirtyRangesByCellValue(e, n.subUnitId, n.value)), r.push(...this._getDirtyRangesByCellValue(e, i.subUnitId, i.value)), r.push(...this._getDirtyRangesForArrayFormula(e, i.subUnitId, i.value)), r;
15843
15848
  }
15844
15849
  _getMoveRowsMutationDirtyRange(a) {
15845
- const { subUnitId: e, unitId: n, sourceRange: i, targetRange: r } = a, o = [], u = this._rangeToMatrix(i).getData(), m = this._rangeToMatrix(r).getData();
15846
- return o.push(...this._getDirtyRangesByCellValue(n, e, u)), o.push(...this._getDirtyRangesByCellValue(n, e, m)), o.push(...this._getDirtyRangesForArrayFormula(n, e, m)), o;
15850
+ const { subUnitId: e, unitId: n, sourceRange: i, targetRange: r } = a, o = [], u = this._rangeToMatrix(i).getData(), f = this._rangeToMatrix(r).getData();
15851
+ return o.push(...this._getDirtyRangesByCellValue(n, e, u)), o.push(...this._getDirtyRangesByCellValue(n, e, f)), o.push(...this._getDirtyRangesForArrayFormula(n, e, f)), o;
15847
15852
  }
15848
15853
  _getReorderRangeMutationDirtyRange(a) {
15849
15854
  const { unitId: e, subUnitId: n, range: i } = a, r = this._rangeToMatrix(i).getData(), o = [];
15850
15855
  return o.push(...this._getDirtyRangesByCellValue(e, n, r)), o.push(...this._getDirtyRangesForArrayFormula(e, n, r)), o;
15851
15856
  }
15852
15857
  _getRemoveRowOrColumnMutation(a, e = !0) {
15853
- const { subUnitId: n, unitId: i, range: r } = a, o = [], u = this._univerInstanceService.getUniverSheetInstance(i), m = u == null ? void 0 : u.getSheetBySheetId(n), f = (m == null ? void 0 : m.getRowCount()) || 0, c = (m == null ? void 0 : m.getColumnCount()) || 0;
15854
- let d = null;
15855
- const { startRow: T, endRow: L, startColumn: E, endColumn: I } = r;
15856
- e === !0 ? d = this._rangeToMatrix({
15857
- startRow: T,
15858
+ const { subUnitId: n, unitId: i, range: r } = a, o = [], u = this._univerInstanceService.getUniverSheetInstance(i), f = u == null ? void 0 : u.getSheetBySheetId(n), m = (f == null ? void 0 : f.getRowCount()) || 0, c = (f == null ? void 0 : f.getColumnCount()) || 0;
15859
+ let s = null;
15860
+ const { startRow: L, endRow: E, startColumn: p, endColumn: R } = r;
15861
+ e === !0 ? s = this._rangeToMatrix({
15862
+ startRow: L,
15858
15863
  startColumn: 0,
15859
- endRow: L,
15864
+ endRow: E,
15860
15865
  endColumn: c - 1
15861
- }) : d = this._rangeToMatrix({
15866
+ }) : s = this._rangeToMatrix({
15862
15867
  startRow: 0,
15863
- startColumn: E,
15864
- endRow: f,
15865
- endColumn: I
15868
+ startColumn: p,
15869
+ endRow: m,
15870
+ endColumn: R
15866
15871
  });
15867
- const A = d.getData();
15868
- return o.push(...this._getDirtyRangesByCellValue(i, n, A)), o.push(...this._getDirtyRangesForArrayFormula(i, n, A)), o;
15872
+ const S = s.getData();
15873
+ return o.push(...this._getDirtyRangesByCellValue(i, n, S)), o.push(...this._getDirtyRangesForArrayFormula(i, n, S)), o;
15869
15874
  }
15870
15875
  _getHideRowMutation(a) {
15871
15876
  const { subUnitId: e, unitId: n, ranges: i } = a, r = [];
@@ -15885,8 +15890,8 @@ let Ze = class extends ae {
15885
15890
  _rangeToMatrix(a) {
15886
15891
  const e = new G(), { startRow: n, startColumn: i, endRow: r, endColumn: o } = a;
15887
15892
  for (let u = n; u <= r; u++)
15888
- for (let m = i; m <= o; m++)
15889
- e.setValue(u, m, {});
15893
+ for (let f = i; f <= o; f++)
15894
+ e.setValue(u, f, {});
15890
15895
  return e;
15891
15896
  }
15892
15897
  _getDirtyRangesByCellValue(a, e, n) {
@@ -15900,26 +15905,26 @@ let Ze = class extends ae {
15900
15905
  * All other positions, apart from the top-left corner, need to be marked as dirty.
15901
15906
  */
15902
15907
  _getDirtyRangesForArrayFormula(a, e, n) {
15903
- var u, m;
15908
+ var u, f;
15904
15909
  const i = [];
15905
15910
  if (n == null)
15906
15911
  return i;
15907
15912
  const r = new G(n), o = this._formulaDataModel.getArrayFormulaRange();
15908
15913
  if ((u = o == null ? void 0 : o[a]) != null && u[e]) {
15909
- const f = new G((m = o == null ? void 0 : o[a]) == null ? void 0 : m[e]);
15910
- r.forValue((c, d) => {
15911
- f.forValue((T, L, E) => {
15912
- if (E == null)
15914
+ const m = new G((f = o == null ? void 0 : o[a]) == null ? void 0 : f[e]);
15915
+ r.forValue((c, s) => {
15916
+ m.forValue((L, E, p) => {
15917
+ if (p == null)
15913
15918
  return !0;
15914
- const { startRow: I, startColumn: A, endRow: l, endColumn: N } = E;
15915
- c >= I && c <= l && d >= A && d <= N && i.push({
15919
+ const { startRow: R, startColumn: S, endRow: N, endColumn: d } = p;
15920
+ c >= R && c <= N && s >= S && s <= d && i.push({
15916
15921
  unitId: a,
15917
15922
  sheetId: e,
15918
15923
  range: {
15919
- startRow: I,
15920
- startColumn: A,
15921
- endRow: I,
15922
- endColumn: A
15924
+ startRow: R,
15925
+ startColumn: S,
15926
+ endRow: R,
15927
+ endColumn: S
15923
15928
  }
15924
15929
  });
15925
15930
  });
@@ -15963,8 +15968,8 @@ let Je = class extends ae {
15963
15968
  Object.entries(a).forEach(([n, i]) => {
15964
15969
  i && Array.from(Object.entries(i)).forEach(([r, o]) => {
15965
15970
  const u = new G();
15966
- new G(o).forValue((f, c, d) => {
15967
- u.setValue(f, c, { ref: ye(d) });
15971
+ new G(o).forValue((m, c, s) => {
15972
+ u.setValue(m, c, { ref: ye(s) });
15968
15973
  }), this._commandService.executeCommand(Z.id, {
15969
15974
  unitId: n,
15970
15975
  subUnitId: r,
@@ -15987,9 +15992,9 @@ let Je = class extends ae {
15987
15992
  priority: 100,
15988
15993
  effect: $a.Value,
15989
15994
  handler: (a, e, n) => {
15990
- var d, T, L;
15995
+ var s, L, E;
15991
15996
  let i = a;
15992
- const { unitId: r, subUnitId: o, row: u, col: m } = e, f = this._formulaDataModel.getArrayFormulaCellData(), c = (L = (T = (d = f == null ? void 0 : f[r]) == null ? void 0 : d[o]) == null ? void 0 : T[u]) == null ? void 0 : L[m];
15997
+ const { unitId: r, subUnitId: o, row: u, col: f } = e, m = this._formulaDataModel.getArrayFormulaCellData(), c = (E = (L = (s = m == null ? void 0 : m[r]) == null ? void 0 : s[o]) == null ? void 0 : L[u]) == null ? void 0 : E[f];
15993
15998
  return c == null ? n(i) : ((!i || i === e.rawData) && (i = { ...e.rawData }), c.v == null && c.t == null ? (i.v = 0, i.t = Gt.NUMBER, n(i)) : (i == null ? void 0 : i.t) === Gt.NUMBER && i.v !== void 0 && i.v !== null && ja(i.v) ? (i.v = $n(Number(i.v)), n(i)) : (i.v = c.v, i.t = c.t, n(i)));
15994
15999
  }
15995
16000
  })
@@ -16051,8 +16056,8 @@ let et = class extends ae {
16051
16056
  const { unitId: n, sheetId: i } = this._getUnitIdAndSheetId();
16052
16057
  if (n == null || i == null)
16053
16058
  return;
16054
- const { name: r, comment: o, formulaOrRefString: u, localSheetId: m } = e;
16055
- !this._descriptionService.hasDescription(r) && (m == null || m === lt || m === i) && this._descriptionService.registerDescriptions([{
16059
+ const { name: r, comment: o, formulaOrRefString: u, localSheetId: f } = e;
16060
+ !this._descriptionService.hasDescription(r) && (f == null || f === lt || f === i) && this._descriptionService.registerDescriptions([{
16056
16061
  functionName: r,
16057
16062
  description: u + (o || ""),
16058
16063
  abstract: u,
@@ -16095,11 +16100,11 @@ let et = class extends ae {
16095
16100
  return;
16096
16101
  const r = [];
16097
16102
  this._preUnitId = e, Array.from(Object.values(i)).forEach((o) => {
16098
- const { name: u, comment: m, formulaOrRefString: f, localSheetId: c } = o;
16103
+ const { name: u, comment: f, formulaOrRefString: m, localSheetId: c } = o;
16099
16104
  !this._descriptionService.hasDescription(u) && (c == null || c === lt || c === n) && r.push({
16100
16105
  functionName: u,
16101
- description: f + (m || ""),
16102
- abstract: f,
16106
+ description: m + (f || ""),
16107
+ abstract: m,
16103
16108
  functionType: t.DefinedName,
16104
16109
  functionParameter: []
16105
16110
  });
@@ -16114,8 +16119,8 @@ let et = class extends ae {
16114
16119
  return;
16115
16120
  const r = [];
16116
16121
  Array.from(Object.values(i)).forEach((o) => {
16117
- const { name: u, localSheetId: m } = o;
16118
- m !== lt && m !== n && r.push(u);
16122
+ const { name: u, localSheetId: f } = o;
16123
+ f !== lt && f !== n && r.push(u);
16119
16124
  }), this._descriptionService.unregisterDescriptions(r);
16120
16125
  }
16121
16126
  };