@univerjs/sheets 0.2.4-alpha.0 → 0.2.4
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/cjs/index.js +3 -3
- package/lib/es/index.js +109 -108
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +2 -1
- package/lib/types/commands/commands/move-range.command.d.ts +2 -1
- package/lib/types/commands/mutations/__tests__/create-command-test-bed.d.ts +2 -1
- package/lib/types/commands/mutations/add-worksheet-merge.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/delete-range-protection.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/insert-row-col.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/insert-sheet.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/move-rows-cols.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/numfmt-mutation.d.ts +2 -1
- package/lib/types/commands/mutations/remove-row-col.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/remove-sheet.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/remove-worksheet-merge.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-col-visible.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-frozen.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-hide-gridlines.mutatiom.d.ts +2 -1
- package/lib/types/commands/mutations/set-range-protection.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-range-values.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-row-visible.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-tab-color.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-worksheet-hide.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-worksheet-name.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-worksheet-order.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-worksheet-right-to-left.mutation.d.ts +2 -1
- package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts +2 -1
- package/lib/types/commands/utils/handle-merge-operation.d.ts +2 -1
- package/lib/types/commands/utils/handle-range-mutation.d.ts +2 -1
- package/lib/types/commands/utils/selection-command-util.d.ts +1 -1
- package/lib/types/controllers/__tests__/util.d.ts +8 -7
- package/lib/types/controllers/basic-worksheet.controller.d.ts +2 -1
- package/lib/types/controllers/merge-cell.controller.d.ts +2 -1
- package/lib/types/services/__tests__/util.d.ts +8 -7
- package/lib/types/services/border-style-manager.service.d.ts +2 -1
- package/lib/types/services/numfmt/type.d.ts +1 -1
- package/lib/types/services/permission/worksheet-permission/worksheet-permission.service.d.ts +2 -1
- package/lib/types/services/ref-range/__tests__/__testing__.d.ts +8 -7
- package/lib/types/services/ref-range/__tests__/ref-range.service.spec.d.ts +6 -6
- package/lib/types/services/ref-range/ref-range.service.d.ts +2 -1
- package/lib/types/services/selections/ref-selections.service.d.ts +1 -1
- package/lib/types/services/sheet-interceptor/__tests__/create-core-test-bed.d.ts +8 -7
- package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts +2 -1
- package/lib/types/sheets-plugin.d.ts +2 -1
- package/lib/umd/index.js +3 -3
- package/package.json +12 -10
package/lib/es/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
var Os = Object.defineProperty;
|
|
2
2
|
var Ns = (t, e, n) => e in t ? Os(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var R = (t, e, n) => Ns(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { RxDisposable as po, UniverInstanceType as L, Disposable as ke, IUniverInstanceService as I, createInterceptorKey as sn, OnLifecycle as Me, LifecycleStages as ve, toDisposable as We, remove as to, composeInterceptors as Ts, DisposableCollection as Zt, Tools as O, normalizeTextRuns as Ds, CellValueType as ce, isSafeNumeric as As, isRealNum as So, isBooleanString as vo, CommandType as M, ObjectMatrix as X, ICommandService as k, IUndoRedoService as x, sequenceExecute as Q, LocaleService as Ve,
|
|
4
|
+
import { RxDisposable as po, UniverInstanceType as L, Disposable as ke, IUniverInstanceService as I, createInterceptorKey as sn, OnLifecycle as Me, LifecycleStages as ve, toDisposable as We, remove as to, composeInterceptors as Ts, DisposableCollection as Zt, Tools as O, normalizeTextRuns as Ds, CellValueType as ce, isSafeNumeric as As, isRealNum as So, isBooleanString as vo, CommandType as M, ObjectMatrix as X, ICommandService as k, IUndoRedoService as x, sequenceExecute as Q, LocaleService as Ve, IContextService as xs, selectionToArray as $s, Rectangle as P, RANGE_TYPE as q, ErrorService as gt, Range as Z, cellToRange as wo, PermissionStatus as G, IPermissionService as Pt, isICellData as Ws, Dimension as Re, getArrayLength as Io, insertMatrixArray as Qt, spliceArray as Mo, sliceMatrixArray as _o, concatMatrixArray as yo, BooleanNumber as re, Direction as ft, mergeWorksheetSnapshotWithDefault as Vs, moveMatrixArray as bo, BorderType as he, BorderStyleTypes as Ls, FontWeight as Hs, FontItalic as Fs, runOnLifecycle as Bs, IResourceManagerService as rn, IConfigService as Uo, queryObjectMatrix as Ye, InterceptorManager as js, ILogService as Gs, LRUMap as zs, DependentOn as Ks, Plugin as Js, mergeOverrideWithDependencies as qs, ColorKit as Ys, getCellInfoInMergeData as Xs, makeCellRangeToRangeData as Zs } from "@univerjs/core";
|
|
5
|
+
import { createIdentifier as ko, Inject as te, Injector as En, Optional as Qs } from "@wendellhu/redi";
|
|
5
6
|
import { SetDefinedNameMutation as st, RemoveDefinedNameMutation as In, SetFormulaCalculationResultMutation as er, handleNumfmtInCell as tr, IDefinedNamesService as nr, stripErrorMargin as or, UniverFormulaEnginePlugin as sr } from "@univerjs/engine-formula";
|
|
6
7
|
import { DataSyncPrimaryController as rr } from "@univerjs/rpc";
|
|
7
8
|
import { shareReplay as ir, takeUntil as Mn, switchMap as rt, of as mn, Subject as je, BehaviorSubject as ut, merge as gn, map as ar } from "rxjs";
|
|
@@ -477,7 +478,7 @@ const Le = (t, e) => {
|
|
|
477
478
|
function Tt(t) {
|
|
478
479
|
return t.v !== void 0 && t.v !== null && t.v !== "" || t.p !== void 0;
|
|
479
480
|
}
|
|
480
|
-
function
|
|
481
|
+
function Mc(t, e, n) {
|
|
481
482
|
const { left: o, right: s, up: r, down: i } = e, a = n.getMaxRows(), u = n.getMaxColumns();
|
|
482
483
|
let d = !0;
|
|
483
484
|
const c = { ...t };
|
|
@@ -782,7 +783,7 @@ var Lr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, Fr = (t, e
|
|
|
782
783
|
(i = t[r]) && (s = (o ? i(e, n, s) : i(s)) || s);
|
|
783
784
|
return o && s && Lr(e, n, s), s;
|
|
784
785
|
}, Br = (t, e) => (n, o) => e(n, o, t);
|
|
785
|
-
const jr =
|
|
786
|
+
const jr = ko("sheets-formula.ref-selections.service");
|
|
786
787
|
let io = class extends W {
|
|
787
788
|
constructor(t) {
|
|
788
789
|
super(t);
|
|
@@ -835,7 +836,7 @@ function an(t, e, n = !0) {
|
|
|
835
836
|
const r = P.union(t, ...s);
|
|
836
837
|
return n ? an(r, e, n) : r;
|
|
837
838
|
}
|
|
838
|
-
function
|
|
839
|
+
function _c(t, e, n) {
|
|
839
840
|
let o = null;
|
|
840
841
|
return n.getMatrixWithMergedCells(t, e, t, e).forValue((r, i, a) => (o = {
|
|
841
842
|
actualRow: r,
|
|
@@ -859,7 +860,7 @@ function Mc(t, e, n) {
|
|
|
859
860
|
rangeType: q.NORMAL
|
|
860
861
|
};
|
|
861
862
|
}
|
|
862
|
-
function
|
|
863
|
+
function yc(t, e, n) {
|
|
863
864
|
const { startRow: o, startColumn: s, endRow: r, endColumn: i } = t;
|
|
864
865
|
return Number.isNaN(o) && (t.startRow = 0), Number.isNaN(r) && (t.endRow = e - 1), Number.isNaN(s) && (t.startColumn = 0), Number.isNaN(i) && (t.endColumn = n - 1), t;
|
|
865
866
|
}
|
|
@@ -892,7 +893,7 @@ const Xe = (t, e, n) => ({
|
|
|
892
893
|
selections: [{ range: t, primary: Ue(t, n) }]
|
|
893
894
|
}
|
|
894
895
|
});
|
|
895
|
-
function
|
|
896
|
+
function bc(t) {
|
|
896
897
|
if (!t)
|
|
897
898
|
return !1;
|
|
898
899
|
const { range: e, primary: n } = t;
|
|
@@ -977,7 +978,7 @@ function An(t, e, n, o = !1) {
|
|
|
977
978
|
});
|
|
978
979
|
const b = new X();
|
|
979
980
|
Z.foreach(i, (E, D) => {
|
|
980
|
-
const H =
|
|
981
|
+
const H = wo(E, D), ie = P.getRelativeRange(H, i), Y = P.getPositionRange(ie, d);
|
|
981
982
|
b.setValue(Y.startRow, Y.startColumn, C.getValue(E, D));
|
|
982
983
|
});
|
|
983
984
|
const y = {
|
|
@@ -1019,7 +1020,7 @@ class Kr {
|
|
|
1019
1020
|
this.unitId = e, this.subUnitId = n, this.id = `${this.type}.${_.Copy}_${e}_${n}`;
|
|
1020
1021
|
}
|
|
1021
1022
|
}
|
|
1022
|
-
class
|
|
1023
|
+
class Uc {
|
|
1023
1024
|
constructor(e, n) {
|
|
1024
1025
|
R(this, "value", !0);
|
|
1025
1026
|
R(this, "type", V.Worksheet);
|
|
@@ -1029,7 +1030,7 @@ class bc {
|
|
|
1029
1030
|
this.unitId = e, this.subUnitId = n, this.id = `${this.type}.${_.SelectProtectedCells}_${e}_${n}`;
|
|
1030
1031
|
}
|
|
1031
1032
|
}
|
|
1032
|
-
class
|
|
1033
|
+
class kc {
|
|
1033
1034
|
constructor(e, n) {
|
|
1034
1035
|
R(this, "value", !0);
|
|
1035
1036
|
R(this, "type", V.Worksheet);
|
|
@@ -1179,7 +1180,7 @@ class ai {
|
|
|
1179
1180
|
this.unitId = e, this.subUnitId = n, this.id = `${this.type}.${_.EditExtraObject}_${e}_${n}`;
|
|
1180
1181
|
}
|
|
1181
1182
|
}
|
|
1182
|
-
class
|
|
1183
|
+
class Pc {
|
|
1183
1184
|
constructor(e, n) {
|
|
1184
1185
|
R(this, "value", !0);
|
|
1185
1186
|
R(this, "type", V.Worksheet);
|
|
@@ -1299,7 +1300,7 @@ class Ci {
|
|
|
1299
1300
|
this.unitId = e, this.unitId = e, this.id = `${this.type}.${_.CreateSheet}_${e}`;
|
|
1300
1301
|
}
|
|
1301
1302
|
}
|
|
1302
|
-
class
|
|
1303
|
+
class Ec {
|
|
1303
1304
|
constructor(e) {
|
|
1304
1305
|
R(this, "id");
|
|
1305
1306
|
R(this, "value", !0);
|
|
@@ -1466,7 +1467,7 @@ function xo(t, e) {
|
|
|
1466
1467
|
const y = Math.min(i.endRow, f.endRow);
|
|
1467
1468
|
let N = 0;
|
|
1468
1469
|
for (let D = i.startRow; D <= y; D++) {
|
|
1469
|
-
const H = m.getRow(D), ie = H ?
|
|
1470
|
+
const H = m.getRow(D), ie = H ? Io(H) - 1 : 0;
|
|
1470
1471
|
N = Math.max(N, ie);
|
|
1471
1472
|
}
|
|
1472
1473
|
w = {
|
|
@@ -1553,7 +1554,7 @@ function $o(t, e) {
|
|
|
1553
1554
|
const w = Math.min(i.endRow, m.endRow);
|
|
1554
1555
|
let v = 0;
|
|
1555
1556
|
for (let y = i.startRow; y <= w; y++) {
|
|
1556
|
-
const N = h.getRow(y), E = N ?
|
|
1557
|
+
const N = h.getRow(y), E = N ? Io(N) - 1 : 0;
|
|
1557
1558
|
v = Math.max(v, E);
|
|
1558
1559
|
}
|
|
1559
1560
|
S = {
|
|
@@ -1602,7 +1603,7 @@ function $o(t, e) {
|
|
|
1602
1603
|
undo: o
|
|
1603
1604
|
};
|
|
1604
1605
|
}
|
|
1605
|
-
function
|
|
1606
|
+
function Oc(t, e, n, o, s, r) {
|
|
1606
1607
|
const { startRow: i, endRow: a, startColumn: u, endColumn: d } = e;
|
|
1607
1608
|
if (s === Re.ROWS) {
|
|
1608
1609
|
const c = a - i + 1;
|
|
@@ -1626,7 +1627,7 @@ function Ec(t, e, n, o, s, r) {
|
|
|
1626
1627
|
r && r[l] && r[l][h] ? t.setValue(l, h, r[l][h]) : t.realDeleteValue(l, h);
|
|
1627
1628
|
}
|
|
1628
1629
|
}
|
|
1629
|
-
function
|
|
1630
|
+
function Nc(t, e, n, o, s) {
|
|
1630
1631
|
const { startRow: r, endRow: i, startColumn: a, endColumn: u } = e, d = i - r + 1, c = u - a + 1;
|
|
1631
1632
|
if (s === Re.ROWS)
|
|
1632
1633
|
for (let l = r; l <= n; l++)
|
|
@@ -1757,7 +1758,7 @@ const Wo = "sheet.command.delete-range-move-left", Wn = {
|
|
|
1757
1758
|
return s.setColumnCount(s.getColumnCount() + i.endColumn - i.startColumn + 1), s.getCellMatrix().insertColumns(i.startColumn, l), !0;
|
|
1758
1759
|
}
|
|
1759
1760
|
}, yi = (t, e) => {
|
|
1760
|
-
const s = e.getRowManager().getRowData(), r = {}, i = t.range, a =
|
|
1761
|
+
const s = e.getRowManager().getRowData(), r = {}, i = t.range, a = _o(i.startRow, i.endRow, s), u = yo(r, a);
|
|
1761
1762
|
return {
|
|
1762
1763
|
unitId: t.unitId,
|
|
1763
1764
|
subUnitId: t.subUnitId,
|
|
@@ -1777,7 +1778,7 @@ const Wo = "sheet.command.delete-range-move-left", Wn = {
|
|
|
1777
1778
|
for (let c = r.startRow; c <= r.endRow; c++)
|
|
1778
1779
|
s.getRowFiltered(c);
|
|
1779
1780
|
const u = r.endRow - r.startRow + 1;
|
|
1780
|
-
return
|
|
1781
|
+
return Mo(r.startRow, u, a), s.getCellMatrix().removeRows(r.startRow, u), s.setRowCount(s.getRowCount() - u), !0;
|
|
1781
1782
|
}
|
|
1782
1783
|
}, bi = (t, e) => {
|
|
1783
1784
|
const o = t.get(I).getUniverSheetInstance(e.unitId);
|
|
@@ -1786,7 +1787,7 @@ const Wo = "sheet.command.delete-range-move-left", Wn = {
|
|
|
1786
1787
|
const s = o.getSheetBySheetId(e.subUnitId);
|
|
1787
1788
|
if (s == null)
|
|
1788
1789
|
throw new Error("worksheet is null error!");
|
|
1789
|
-
const a = s.getColumnManager().getColumnData(), u = {}, d = e.range, c =
|
|
1790
|
+
const a = s.getColumnManager().getColumnData(), u = {}, d = e.range, c = _o(d.startColumn, d.endColumn, a), l = yo(u, c);
|
|
1790
1791
|
return {
|
|
1791
1792
|
unitId: e.unitId,
|
|
1792
1793
|
subUnitId: e.subUnitId,
|
|
@@ -1803,7 +1804,7 @@ const Wo = "sheet.command.delete-range-move-left", Wn = {
|
|
|
1803
1804
|
const s = o.getSheetBySheetId(e.subUnitId);
|
|
1804
1805
|
if (!s) return !1;
|
|
1805
1806
|
const r = e.range, a = s.getColumnManager().getColumnData(), u = r.endColumn - r.startColumn + 1;
|
|
1806
|
-
return
|
|
1807
|
+
return Mo(r.startColumn, u, a), s.setColumnCount(s.getColumnCount() - u), s.getCellMatrix().removeColumns(r.startColumn, u), !0;
|
|
1807
1808
|
}
|
|
1808
1809
|
}, Ui = "sheet.command.insert-range-move-down", Ln = {
|
|
1809
1810
|
type: M.COMMAND,
|
|
@@ -2206,7 +2207,7 @@ const Je = {
|
|
|
2206
2207
|
if (!u)
|
|
2207
2208
|
throw new Error("[MoveRowMutation] worksheet is null!");
|
|
2208
2209
|
const d = s.startRow, c = s.endRow - s.startRow + 1, l = r.startRow, h = u.getRowManager().getRowData();
|
|
2209
|
-
return
|
|
2210
|
+
return bo(d, c, l, h), u.getCellMatrix().moveRows(d, c, l), !0;
|
|
2210
2211
|
}
|
|
2211
2212
|
};
|
|
2212
2213
|
function Di(t, e) {
|
|
@@ -2242,7 +2243,7 @@ const qe = {
|
|
|
2242
2243
|
if (!u)
|
|
2243
2244
|
throw new Error("[MoveColumnMutation] worksheet is null!");
|
|
2244
2245
|
const d = s.startColumn, c = s.endColumn - s.startColumn + 1, l = r.startColumn, h = u.getColumnManager().getColumnData();
|
|
2245
|
-
return
|
|
2246
|
+
return bo(d, c, l, h), u.getCellMatrix().moveColumns(d, c, l), !0;
|
|
2246
2247
|
}
|
|
2247
2248
|
};
|
|
2248
2249
|
function Ai(t, e) {
|
|
@@ -3487,7 +3488,7 @@ const Ce = {
|
|
|
3487
3488
|
redoMutations: [{ id: oe.id, params: g }, ...w]
|
|
3488
3489
|
}), !0) : !1;
|
|
3489
3490
|
}
|
|
3490
|
-
},
|
|
3491
|
+
}, Tc = {
|
|
3491
3492
|
type: M.COMMAND,
|
|
3492
3493
|
id: "sheet.command.set-bold",
|
|
3493
3494
|
handler: async (t) => {
|
|
@@ -3503,7 +3504,7 @@ const Ce = {
|
|
|
3503
3504
|
};
|
|
3504
3505
|
return t.get(k).executeCommand(Ce.id, a);
|
|
3505
3506
|
}
|
|
3506
|
-
},
|
|
3507
|
+
}, Dc = {
|
|
3507
3508
|
type: M.COMMAND,
|
|
3508
3509
|
id: "sheet.command.set-italic",
|
|
3509
3510
|
handler: async (t) => {
|
|
@@ -3525,7 +3526,7 @@ const Ce = {
|
|
|
3525
3526
|
};
|
|
3526
3527
|
return t.get(k).executeCommand(Ce.id, r);
|
|
3527
3528
|
}
|
|
3528
|
-
},
|
|
3529
|
+
}, Ac = {
|
|
3529
3530
|
type: M.COMMAND,
|
|
3530
3531
|
id: "sheet.command.set-underline",
|
|
3531
3532
|
handler: async (t) => {
|
|
@@ -3546,7 +3547,7 @@ const Ce = {
|
|
|
3546
3547
|
};
|
|
3547
3548
|
return t.get(k).executeCommand(Ce.id, r);
|
|
3548
3549
|
}
|
|
3549
|
-
},
|
|
3550
|
+
}, xc = {
|
|
3550
3551
|
type: M.COMMAND,
|
|
3551
3552
|
id: "sheet.command.set-stroke",
|
|
3552
3553
|
handler: async (t) => {
|
|
@@ -3565,7 +3566,7 @@ const Ce = {
|
|
|
3565
3566
|
};
|
|
3566
3567
|
return t.get(k).executeCommand(Ce.id, r);
|
|
3567
3568
|
}
|
|
3568
|
-
},
|
|
3569
|
+
}, $c = {
|
|
3569
3570
|
type: M.COMMAND,
|
|
3570
3571
|
id: "sheet.command.set-overline",
|
|
3571
3572
|
handler: async (t) => {
|
|
@@ -3586,7 +3587,7 @@ const Ce = {
|
|
|
3586
3587
|
};
|
|
3587
3588
|
return t.get(k).executeCommand(Ce.id, r);
|
|
3588
3589
|
}
|
|
3589
|
-
},
|
|
3590
|
+
}, Wc = {
|
|
3590
3591
|
type: M.COMMAND,
|
|
3591
3592
|
id: "sheet.command.set-font-family",
|
|
3592
3593
|
handler: async (t, e) => {
|
|
@@ -3600,7 +3601,7 @@ const Ce = {
|
|
|
3600
3601
|
};
|
|
3601
3602
|
return n.executeCommand(Ce.id, o);
|
|
3602
3603
|
}
|
|
3603
|
-
},
|
|
3604
|
+
}, Vc = {
|
|
3604
3605
|
type: M.COMMAND,
|
|
3605
3606
|
id: "sheet.command.set-font-size",
|
|
3606
3607
|
handler: async (t, e) => {
|
|
@@ -4087,7 +4088,7 @@ const Ce = {
|
|
|
4087
4088
|
ranges: s,
|
|
4088
4089
|
autoHeightInfo: u
|
|
4089
4090
|
};
|
|
4090
|
-
},
|
|
4091
|
+
}, Lc = (t, e) => {
|
|
4091
4092
|
const { unitId: n, subUnitId: o, rowsAutoHeightInfo: s } = e, i = t.get(I).getUniverSheetInstance(n), a = i == null ? void 0 : i.getSheetBySheetId(o);
|
|
4092
4093
|
if (!a)
|
|
4093
4094
|
return {
|
|
@@ -4445,7 +4446,7 @@ const Ce = {
|
|
|
4445
4446
|
const e = pa(t);
|
|
4446
4447
|
return ds(e);
|
|
4447
4448
|
};
|
|
4448
|
-
class
|
|
4449
|
+
class Hc {
|
|
4449
4450
|
constructor() {
|
|
4450
4451
|
R(this, "_matrix", new X());
|
|
4451
4452
|
}
|
|
@@ -4468,9 +4469,9 @@ class Lc {
|
|
|
4468
4469
|
return ds(e);
|
|
4469
4470
|
}
|
|
4470
4471
|
}
|
|
4471
|
-
const St =
|
|
4472
|
+
const St = ko("INumfmtService");
|
|
4472
4473
|
Bs(ve.Ready, St);
|
|
4473
|
-
const
|
|
4474
|
+
const Fc = (t, e) => {
|
|
4474
4475
|
const n = t.get(St), { values: o, unitId: s, subUnitId: r } = e, i = [], a = [];
|
|
4475
4476
|
Object.keys(o).forEach((d) => {
|
|
4476
4477
|
o[d].ranges.forEach((l) => {
|
|
@@ -4530,7 +4531,7 @@ const Hc = (t, e) => {
|
|
|
4530
4531
|
const { unitId: n, subUnitId: o, ranges: s } = e;
|
|
4531
4532
|
return t.get(St).deleteValues(n, o, s), !0;
|
|
4532
4533
|
}
|
|
4533
|
-
},
|
|
4534
|
+
}, Bc = (t, e) => {
|
|
4534
4535
|
const n = t.get(St), { ranges: o, unitId: s, subUnitId: r } = e, i = [];
|
|
4535
4536
|
if (o.forEach((u) => {
|
|
4536
4537
|
Z.foreach(u, (d, c) => {
|
|
@@ -4555,7 +4556,7 @@ const Hc = (t, e) => {
|
|
|
4555
4556
|
s[d] = {
|
|
4556
4557
|
pattern: a
|
|
4557
4558
|
}, u.forEach((c) => {
|
|
4558
|
-
r[d] || (r[d] = { ranges: [] }), r[d].ranges.push(
|
|
4559
|
+
r[d] || (r[d] = { ranges: [] }), r[d].ranges.push(wo(c.row, c.col));
|
|
4559
4560
|
});
|
|
4560
4561
|
}), { unitId: t, subUnitId: e, refMap: s, values: r };
|
|
4561
4562
|
}, wa = {
|
|
@@ -4840,7 +4841,7 @@ const Qe = () => [
|
|
|
4840
4841
|
Zr,
|
|
4841
4842
|
Xr,
|
|
4842
4843
|
si
|
|
4843
|
-
],
|
|
4844
|
+
], jc = [
|
|
4844
4845
|
_.Copy,
|
|
4845
4846
|
_.DeleteColumn,
|
|
4846
4847
|
_.DeleteRow,
|
|
@@ -5081,7 +5082,7 @@ const fs = {
|
|
|
5081
5082
|
subUnitId: o.subUnitId
|
|
5082
5083
|
}), !0;
|
|
5083
5084
|
}
|
|
5084
|
-
},
|
|
5085
|
+
}, Gc = (t, e) => {
|
|
5085
5086
|
const n = t.get(Se), o = e.ruleIds.map((r) => n.getRule(e.unitId, e.subUnitId, r)).filter((r) => !!r);
|
|
5086
5087
|
return { id: kt.id, params: { subUnitId: e.subUnitId, unitId: e.unitId, rules: o } };
|
|
5087
5088
|
}, Ut = {
|
|
@@ -5093,7 +5094,7 @@ const fs = {
|
|
|
5093
5094
|
r.deleteRule(n, o, i);
|
|
5094
5095
|
}), !0;
|
|
5095
5096
|
}
|
|
5096
|
-
},
|
|
5097
|
+
}, zc = (t) => {
|
|
5097
5098
|
const e = { ...t, ruleIds: t.rules.map((n) => n.id) };
|
|
5098
5099
|
return { id: Ut.id, params: e };
|
|
5099
5100
|
}, kt = {
|
|
@@ -5159,7 +5160,7 @@ const fs = {
|
|
|
5159
5160
|
const { unitId: n, subUnitId: o, rule: s, ruleId: r } = e;
|
|
5160
5161
|
return t.get(Se).setRule(n, o, r, s), !0;
|
|
5161
5162
|
}
|
|
5162
|
-
},
|
|
5163
|
+
}, Kc = (t, e) => {
|
|
5163
5164
|
const { unitId: n, subUnitId: o, ruleId: s } = e, i = t.get(Se).getRule(n, o, s);
|
|
5164
5165
|
return i ? {
|
|
5165
5166
|
id: fe.id,
|
|
@@ -5395,8 +5396,8 @@ let jt = class extends ke {
|
|
|
5395
5396
|
jt = Ya([
|
|
5396
5397
|
Me(ve.Starting, jt),
|
|
5397
5398
|
Rn(0, k),
|
|
5398
|
-
Rn(1,
|
|
5399
|
-
Rn(2,
|
|
5399
|
+
Rn(1, Uo),
|
|
5400
|
+
Rn(2, Qs(rr))
|
|
5400
5401
|
], jt);
|
|
5401
5402
|
var Xa = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Qa = (t, e, n, o) => {
|
|
5402
5403
|
for (var s = o > 1 ? void 0 : o ? Za(e, n) : e, r = t.length - 1, i; r >= 0; r--)
|
|
@@ -5997,7 +5998,7 @@ const ys = (t, e) => {
|
|
|
5997
5998
|
}
|
|
5998
5999
|
}
|
|
5999
6000
|
return mt(n, t);
|
|
6000
|
-
},
|
|
6001
|
+
}, Jc = (t, e, n) => Cu(e, n).some((s) => P.intersects(s, t)) ? fu(t, e) : t, qc = (t, e) => {
|
|
6001
6002
|
let n = [];
|
|
6002
6003
|
switch (e.id) {
|
|
6003
6004
|
case T.DeleteRangeMoveLeftCommandId:
|
|
@@ -6242,7 +6243,7 @@ class _u extends ke {
|
|
|
6242
6243
|
let at = class extends ke {
|
|
6243
6244
|
constructor(e, n, o, s) {
|
|
6244
6245
|
super();
|
|
6245
|
-
R(this, "interceptor", new
|
|
6246
|
+
R(this, "interceptor", new js({ MERGE_REDO: Iu, MERGE_UNDO: Mu }));
|
|
6246
6247
|
R(this, "_watchRanges", /* @__PURE__ */ new Set());
|
|
6247
6248
|
R(this, "_refRangeManagerMap", /* @__PURE__ */ new Map());
|
|
6248
6249
|
R(this, "_serializer", yu());
|
|
@@ -7301,7 +7302,7 @@ let Pn = class extends ke {
|
|
|
7301
7302
|
Pn = Tu([
|
|
7302
7303
|
Cn(0, rn),
|
|
7303
7304
|
Cn(1, I),
|
|
7304
|
-
Cn(2,
|
|
7305
|
+
Cn(2, Gs)
|
|
7305
7306
|
], Pn);
|
|
7306
7307
|
const fo = () => [
|
|
7307
7308
|
ci,
|
|
@@ -7321,7 +7322,7 @@ const fo = () => [
|
|
|
7321
7322
|
wi,
|
|
7322
7323
|
Mi,
|
|
7323
7324
|
_i
|
|
7324
|
-
],
|
|
7325
|
+
], Yc = [
|
|
7325
7326
|
_.Edit,
|
|
7326
7327
|
_.Print,
|
|
7327
7328
|
_.Comment,
|
|
@@ -7432,7 +7433,7 @@ Jt = Vu([
|
|
|
7432
7433
|
Ro(0, nr),
|
|
7433
7434
|
Ro(1, rn)
|
|
7434
7435
|
], Jt);
|
|
7435
|
-
const et = () => [$n, xn],
|
|
7436
|
+
const et = () => [$n, xn], Xc = (t = "unitId", e = "subUnitId", n = "permissionId") => et().reduce((o, s) => {
|
|
7436
7437
|
const r = new s(t, e, n);
|
|
7437
7438
|
return o[r.subType] = r.value, o;
|
|
7438
7439
|
}, {});
|
|
@@ -7443,7 +7444,7 @@ var Hu = Object.defineProperty, Fu = Object.getOwnPropertyDescriptor, Bu = (t, e
|
|
|
7443
7444
|
}, Co = (t, e) => (n, o) => e(n, o, t);
|
|
7444
7445
|
let It = class {
|
|
7445
7446
|
constructor(t, e) {
|
|
7446
|
-
R(this, "_cache", new
|
|
7447
|
+
R(this, "_cache", new zs(1e4));
|
|
7447
7448
|
this._selectionProtectionRuleModel = t, this._permissionService = e, this._init();
|
|
7448
7449
|
}
|
|
7449
7450
|
_init() {
|
|
@@ -7848,7 +7849,7 @@ var ks = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, sc = (t, e
|
|
|
7848
7849
|
return o && s && ks(e, n, s), s;
|
|
7849
7850
|
}, $t = (t, e) => (n, o) => e(n, o, t), Ps = (t, e, n) => sc(t, typeof e != "symbol" ? e + "" : e, n);
|
|
7850
7851
|
const ic = "SHEET_PLUGIN";
|
|
7851
|
-
let on = class extends
|
|
7852
|
+
let on = class extends Js {
|
|
7852
7853
|
constructor(t, e, n, o, s) {
|
|
7853
7854
|
super(), this._config = t, this._commandService = e, this._configService = n, this._localeService = o, this._injector = s, this._initConfig(), this._initDependencies(s);
|
|
7854
7855
|
}
|
|
@@ -7885,7 +7886,7 @@ let on = class extends qs {
|
|
|
7885
7886
|
];
|
|
7886
7887
|
(n = this._config) != null && n.notExecuteFormula || e.push(
|
|
7887
7888
|
[Gt]
|
|
7888
|
-
),
|
|
7889
|
+
), qs(e, (o = this._config) == null ? void 0 : o.override).forEach((s) => {
|
|
7889
7890
|
t.add(s);
|
|
7890
7891
|
});
|
|
7891
7892
|
}
|
|
@@ -7893,13 +7894,13 @@ let on = class extends qs {
|
|
|
7893
7894
|
Ps(on, "pluginName", ic);
|
|
7894
7895
|
Ps(on, "type", L.UNIVER_SHEET);
|
|
7895
7896
|
on = rc([
|
|
7896
|
-
|
|
7897
|
+
Ks(sr),
|
|
7897
7898
|
$t(1, k),
|
|
7898
|
-
$t(2,
|
|
7899
|
+
$t(2, Uo),
|
|
7899
7900
|
$t(3, te(Ve)),
|
|
7900
7901
|
$t(4, te(En))
|
|
7901
7902
|
], on);
|
|
7902
|
-
const
|
|
7903
|
+
const Zc = [
|
|
7903
7904
|
ze.id,
|
|
7904
7905
|
Ae.id,
|
|
7905
7906
|
is.id,
|
|
@@ -7915,15 +7916,15 @@ const Xc = [
|
|
|
7915
7916
|
He.id,
|
|
7916
7917
|
$e.id,
|
|
7917
7918
|
Be.id
|
|
7918
|
-
],
|
|
7919
|
+
], Qc = [
|
|
7919
7920
|
oe.id,
|
|
7920
7921
|
dt.id,
|
|
7921
7922
|
se.id,
|
|
7922
7923
|
ne.id,
|
|
7923
7924
|
tn.id
|
|
7924
|
-
],
|
|
7925
|
-
function
|
|
7926
|
-
const e = t.getCurrentTheme(), n = new
|
|
7925
|
+
], ed = 1.5, td = "rgba(255, 255, 255, 0.01)";
|
|
7926
|
+
function nd(t) {
|
|
7927
|
+
const e = t.getCurrentTheme(), n = new Ys(e.primaryColor).setAlpha(0.07).toRgbString();
|
|
7927
7928
|
return {
|
|
7928
7929
|
strokeWidth: 1,
|
|
7929
7930
|
stroke: e.primaryColor,
|
|
@@ -7949,7 +7950,7 @@ function td(t) {
|
|
|
7949
7950
|
expandCornerSize: 40
|
|
7950
7951
|
};
|
|
7951
7952
|
}
|
|
7952
|
-
function
|
|
7953
|
+
function od(t) {
|
|
7953
7954
|
const { rangeWithCoord: e, primaryWithCoord: n, style: o } = t, s = {
|
|
7954
7955
|
range: {
|
|
7955
7956
|
startRow: e.startRow,
|
|
@@ -7978,8 +7979,8 @@ function ac(t) {
|
|
|
7978
7979
|
endColumn: u
|
|
7979
7980
|
};
|
|
7980
7981
|
}
|
|
7981
|
-
function
|
|
7982
|
-
const o =
|
|
7982
|
+
function sd(t, e, n) {
|
|
7983
|
+
const o = Xs(t, e, n), s = Zs(o);
|
|
7983
7984
|
if (s)
|
|
7984
7985
|
return {
|
|
7985
7986
|
range: s,
|
|
@@ -7987,7 +7988,7 @@ function od(t, e, n) {
|
|
|
7987
7988
|
style: null
|
|
7988
7989
|
};
|
|
7989
7990
|
}
|
|
7990
|
-
const
|
|
7991
|
+
const rd = (t, e, n) => {
|
|
7991
7992
|
const s = t.get(W).getCurrentSelections(), { value: r, selections: i, unitId: a, subUnitId: u } = e;
|
|
7992
7993
|
if (s) {
|
|
7993
7994
|
const c = s[(s == null ? void 0 : s.length) - 1].primary;
|
|
@@ -8027,7 +8028,7 @@ const sd = (t, e, n) => {
|
|
|
8027
8028
|
return null;
|
|
8028
8029
|
}
|
|
8029
8030
|
return null;
|
|
8030
|
-
},
|
|
8031
|
+
}, id = (t, e) => {
|
|
8031
8032
|
const o = t.get(W).getCurrentSelections(), { unitId: s, subUnitId: r } = e;
|
|
8032
8033
|
if (o && o[(o == null ? void 0 : o.length) - 1].primary) {
|
|
8033
8034
|
const u = {
|
|
@@ -8101,7 +8102,7 @@ const qn = {
|
|
|
8101
8102
|
redoMutations: c
|
|
8102
8103
|
}), !0) : !1;
|
|
8103
8104
|
}
|
|
8104
|
-
},
|
|
8105
|
+
}, ad = {
|
|
8105
8106
|
type: M.COMMAND,
|
|
8106
8107
|
id: "sheet.command.add-worksheet-merge-all",
|
|
8107
8108
|
handler: async (t) => {
|
|
@@ -8120,7 +8121,7 @@ const qn = {
|
|
|
8120
8121
|
subUnitId: u
|
|
8121
8122
|
});
|
|
8122
8123
|
}
|
|
8123
|
-
},
|
|
8124
|
+
}, ud = {
|
|
8124
8125
|
type: M.COMMAND,
|
|
8125
8126
|
id: "sheet.command.add-worksheet-merge-vertical",
|
|
8126
8127
|
handler: async (t) => {
|
|
@@ -8140,7 +8141,7 @@ const qn = {
|
|
|
8140
8141
|
subUnitId: u
|
|
8141
8142
|
});
|
|
8142
8143
|
}
|
|
8143
|
-
},
|
|
8144
|
+
}, cd = {
|
|
8144
8145
|
type: M.COMMAND,
|
|
8145
8146
|
id: "sheet.command.add-worksheet-merge-horizontal",
|
|
8146
8147
|
handler: async (t) => {
|
|
@@ -8177,7 +8178,7 @@ const qn = {
|
|
|
8177
8178
|
const s = o.getConfig();
|
|
8178
8179
|
return s.showGridlines = e.hideGridlines, !0;
|
|
8179
8180
|
}
|
|
8180
|
-
},
|
|
8181
|
+
}, dd = {
|
|
8181
8182
|
type: M.COMMAND,
|
|
8182
8183
|
id: "sheet.command.set-hide-gridlines",
|
|
8183
8184
|
handler: async (t, e) => {
|
|
@@ -8217,7 +8218,7 @@ const qn = {
|
|
|
8217
8218
|
const s = o.getConfig();
|
|
8218
8219
|
return s.rightToLeft = e.rightToLeft, !0;
|
|
8219
8220
|
}
|
|
8220
|
-
},
|
|
8221
|
+
}, ld = {
|
|
8221
8222
|
type: M.COMMAND,
|
|
8222
8223
|
id: "sheet.command.set-worksheet-right-to-left",
|
|
8223
8224
|
handler: async (t, e) => {
|
|
@@ -8248,20 +8249,20 @@ const qn = {
|
|
|
8248
8249
|
}
|
|
8249
8250
|
};
|
|
8250
8251
|
export {
|
|
8251
|
-
|
|
8252
|
+
rd as AddMergeRedoSelectionsOperationFactory,
|
|
8252
8253
|
De as AddMergeUndoMutationFactory,
|
|
8253
|
-
|
|
8254
|
+
id as AddMergeUndoSelectionsOperationFactory,
|
|
8254
8255
|
Rs as AddRangeProtectionCommand,
|
|
8255
8256
|
kt as AddRangeProtectionMutation,
|
|
8256
|
-
|
|
8257
|
+
ad as AddWorksheetMergeAllCommand,
|
|
8257
8258
|
qn as AddWorksheetMergeCommand,
|
|
8258
|
-
|
|
8259
|
+
cd as AddWorksheetMergeHorizontalCommand,
|
|
8259
8260
|
ne as AddWorksheetMergeMutation,
|
|
8260
|
-
|
|
8261
|
+
ud as AddWorksheetMergeVerticalCommand,
|
|
8261
8262
|
Pa as AddWorksheetProtectionMutation,
|
|
8262
8263
|
pt as BorderStyleManagerService,
|
|
8263
|
-
|
|
8264
|
-
|
|
8264
|
+
Zc as COMMAND_LISTENER_SKELETON_CHANGE,
|
|
8265
|
+
Qc as COMMAND_LISTENER_VALUE_CHANGE,
|
|
8265
8266
|
On as ClearSelectionAllCommand,
|
|
8266
8267
|
No as ClearSelectionContentCommand,
|
|
8267
8268
|
Nn as ClearSelectionFormatCommand,
|
|
@@ -8277,9 +8278,9 @@ export {
|
|
|
8277
8278
|
as as DeltaRowHeightCommand,
|
|
8278
8279
|
T as EffectRefRangId,
|
|
8279
8280
|
wa as EmptyMutation,
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8281
|
+
zc as FactoryAddRangeProtectionMutation,
|
|
8282
|
+
Gc as FactoryDeleteRangeProtectionMutation,
|
|
8283
|
+
Kc as FactorySetRangeProtectionMutation,
|
|
8283
8284
|
Wt as INTERCEPTOR_POINT,
|
|
8284
8285
|
St as INumfmtService,
|
|
8285
8286
|
jr as IRefSelectionsService,
|
|
@@ -8311,7 +8312,7 @@ export {
|
|
|
8311
8312
|
Ti as MoveRowsMutationUndoFactory,
|
|
8312
8313
|
Pn as NumfmtService,
|
|
8313
8314
|
K as OperatorType,
|
|
8314
|
-
|
|
8315
|
+
Hc as RangeMergeUtil,
|
|
8315
8316
|
xn as RangeProtectionPermissionEditPoint,
|
|
8316
8317
|
$n as RangeProtectionPermissionViewPoint,
|
|
8317
8318
|
qt as RangeProtectionRefRangeService,
|
|
@@ -8337,12 +8338,12 @@ export {
|
|
|
8337
8338
|
Ga as ReorderRangeUndoMutationFactory,
|
|
8338
8339
|
sa as ResetBackgroundColorCommand,
|
|
8339
8340
|
na as ResetTextColorCommand,
|
|
8340
|
-
|
|
8341
|
-
|
|
8341
|
+
td as SELECTION_CONTROL_BORDER_BUFFER_COLOR,
|
|
8342
|
+
ed as SELECTION_CONTROL_BORDER_BUFFER_WIDTH,
|
|
8342
8343
|
ya as ScrollToCellOperation,
|
|
8343
8344
|
mr as SelectionMoveType,
|
|
8344
8345
|
oa as SetBackgroundColorCommand,
|
|
8345
|
-
|
|
8346
|
+
Tc as SetBoldCommand,
|
|
8346
8347
|
Vi as SetBorderBasicCommand,
|
|
8347
8348
|
Fi as SetBorderColorCommand,
|
|
8348
8349
|
Ot as SetBorderCommand,
|
|
@@ -8353,18 +8354,18 @@ export {
|
|
|
8353
8354
|
_t as SetColVisibleMutation,
|
|
8354
8355
|
bn as SetColWidthCommand,
|
|
8355
8356
|
_a as SetDefinedNameCommand,
|
|
8356
|
-
|
|
8357
|
-
|
|
8357
|
+
Wc as SetFontFamilyCommand,
|
|
8358
|
+
Vc as SetFontSizeCommand,
|
|
8358
8359
|
qi as SetFrozenCancelCommand,
|
|
8359
8360
|
Ji as SetFrozenCommand,
|
|
8360
8361
|
tt as SetFrozenMutation,
|
|
8361
8362
|
Zo as SetFrozenMutationFactory,
|
|
8362
|
-
|
|
8363
|
+
dd as SetHideGridlinesCommand,
|
|
8363
8364
|
vn as SetHideGridlinesMutation,
|
|
8364
8365
|
ia as SetHorizontalTextAlignCommand,
|
|
8365
|
-
|
|
8366
|
+
Dc as SetItalicCommand,
|
|
8366
8367
|
Jn as SetNumfmtMutation,
|
|
8367
|
-
|
|
8368
|
+
$c as SetOverlineCommand,
|
|
8368
8369
|
Cs as SetRangeProtectionCommand,
|
|
8369
8370
|
fe as SetRangeProtectionMutation,
|
|
8370
8371
|
un as SetRangeValuesCommand,
|
|
@@ -8379,14 +8380,14 @@ export {
|
|
|
8379
8380
|
de as SetSelectionsOperation,
|
|
8380
8381
|
jn as SetSpecificColsVisibleCommand,
|
|
8381
8382
|
Gn as SetSpecificRowsVisibleCommand,
|
|
8382
|
-
|
|
8383
|
+
xc as SetStrikeThroughCommand,
|
|
8383
8384
|
Ce as SetStyleCommand,
|
|
8384
8385
|
da as SetTabColorCommand,
|
|
8385
8386
|
Lt as SetTabColorMutation,
|
|
8386
8387
|
ta as SetTextColorCommand,
|
|
8387
8388
|
ua as SetTextRotationCommand,
|
|
8388
8389
|
aa as SetTextWrapCommand,
|
|
8389
|
-
|
|
8390
|
+
Ac as SetUnderlineCommand,
|
|
8390
8391
|
ra as SetVerticalTextAlignCommand,
|
|
8391
8392
|
gs as SetWorkbookNameCommand,
|
|
8392
8393
|
ms as SetWorkbookNameMutation,
|
|
@@ -8403,10 +8404,10 @@ export {
|
|
|
8403
8404
|
Ba as SetWorksheetPermissionPointsCommand,
|
|
8404
8405
|
fs as SetWorksheetPermissionPointsMutation,
|
|
8405
8406
|
Ea as SetWorksheetProtectionMutation,
|
|
8406
|
-
|
|
8407
|
+
ld as SetWorksheetRightToLeftCommand,
|
|
8407
8408
|
wn as SetWorksheetRightToLeftMutation,
|
|
8408
8409
|
is as SetWorksheetRowAutoHeightMutation,
|
|
8409
|
-
|
|
8410
|
+
Lc as SetWorksheetRowAutoHeightMutationFactory,
|
|
8410
8411
|
ze as SetWorksheetRowHeightMutation,
|
|
8411
8412
|
cs as SetWorksheetRowIsAutoHeightCommand,
|
|
8412
8413
|
Ae as SetWorksheetRowIsAutoHeightMutation,
|
|
@@ -8423,7 +8424,7 @@ export {
|
|
|
8423
8424
|
ci as WorkbookEditablePermission,
|
|
8424
8425
|
hi as WorkbookExportPermission,
|
|
8425
8426
|
fi as WorkbookHideSheetPermission,
|
|
8426
|
-
|
|
8427
|
+
Ec as WorkbookHistoryPermission,
|
|
8427
8428
|
Ii as WorkbookManageCollaboratorPermission,
|
|
8428
8429
|
mi as WorkbookMoveSheetPermission,
|
|
8429
8430
|
Kt as WorkbookPermissionService,
|
|
@@ -8443,13 +8444,13 @@ export {
|
|
|
8443
8444
|
ei as WorksheetInsertColumnPermission,
|
|
8444
8445
|
ti as WorksheetInsertHyperlinkPermission,
|
|
8445
8446
|
Qr as WorksheetInsertRowPermission,
|
|
8446
|
-
|
|
8447
|
+
Pc as WorksheetManageCollaboratorPermission,
|
|
8447
8448
|
Bt as WorksheetPermissionService,
|
|
8448
8449
|
ii as WorksheetPivotTablePermission,
|
|
8449
8450
|
it as WorksheetProtectionPointModel,
|
|
8450
8451
|
Ke as WorksheetProtectionRuleModel,
|
|
8451
|
-
|
|
8452
|
-
|
|
8452
|
+
Uc as WorksheetSelectProtectedCellsPermission,
|
|
8453
|
+
kc as WorksheetSelectUnProtectedCellsPermission,
|
|
8453
8454
|
Jr as WorksheetSetCellStylePermission,
|
|
8454
8455
|
qr as WorksheetSetCellValuePermission,
|
|
8455
8456
|
Zr as WorksheetSetColumnStylePermission,
|
|
@@ -8458,14 +8459,14 @@ export {
|
|
|
8458
8459
|
Yr as WorksheetViewPermission,
|
|
8459
8460
|
an as alignToMergedCellsBorders,
|
|
8460
8461
|
ac as convertPrimaryWithCoordToPrimary,
|
|
8461
|
-
|
|
8462
|
+
od as convertSelectionDataToRange,
|
|
8462
8463
|
Sa as createTopMatrixFromMatrix,
|
|
8463
8464
|
pa as createTopMatrixFromRanges,
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8465
|
+
Yc as defaultWorkbookPermissionPoints,
|
|
8466
|
+
jc as defaultWorksheetPermissionPoint,
|
|
8467
|
+
Mc as expandToContinuousRange,
|
|
8468
|
+
Bc as factoryRemoveNumfmtUndoMutation,
|
|
8469
|
+
Fc as factorySetNumfmtUndoMutation,
|
|
8469
8470
|
ds as findAllRectangle,
|
|
8470
8471
|
Xe as followSelectionOperation,
|
|
8471
8472
|
Dr as generateNullCellValue,
|
|
@@ -8474,11 +8475,11 @@ export {
|
|
|
8474
8475
|
fo as getAllWorkbookPermissionPoint,
|
|
8475
8476
|
Qe as getAllWorksheetPermissionPoint,
|
|
8476
8477
|
Ft as getAllWorksheetPermissionPointByPointPanel,
|
|
8477
|
-
|
|
8478
|
-
|
|
8478
|
+
_c as getCellAtRowCol,
|
|
8479
|
+
Xc as getDefaultRangePermission,
|
|
8479
8480
|
xo as getInsertRangeMutations,
|
|
8480
8481
|
An as getMoveRangeUndoRedoMutations,
|
|
8481
|
-
|
|
8482
|
+
nd as getNormalSelectionStyle,
|
|
8482
8483
|
Ue as getPrimaryForRange,
|
|
8483
8484
|
$o as getRemoveRangeMutations,
|
|
8484
8485
|
Gr as getSelectionsService,
|
|
@@ -8488,27 +8489,27 @@ export {
|
|
|
8488
8489
|
ht as handleBaseInsertRange,
|
|
8489
8490
|
nn as handleBaseMoveRowsCols,
|
|
8490
8491
|
lt as handleBaseRemoveRange,
|
|
8491
|
-
|
|
8492
|
+
qc as handleCommonDefaultRangeChangeWithEffectRefCommands,
|
|
8492
8493
|
fu as handleDefaultRangeChangeWithEffectRefCommands,
|
|
8493
|
-
|
|
8494
|
+
Jc as handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests,
|
|
8494
8495
|
lu as handleDeleteRangeMoveLeft,
|
|
8495
8496
|
mu as handleDeleteRangeMoveUp,
|
|
8496
|
-
|
|
8497
|
+
Nc as handleDeleteRangeMutation,
|
|
8497
8498
|
Ms as handleIRemoveCol,
|
|
8498
8499
|
_s as handleIRemoveRow,
|
|
8499
8500
|
bs as handleInsertCol,
|
|
8500
8501
|
au as handleInsertRangeMoveDown,
|
|
8501
8502
|
cu as handleInsertRangeMoveRight,
|
|
8502
|
-
|
|
8503
|
+
Oc as handleInsertRangeMutation,
|
|
8503
8504
|
ys as handleInsertRow,
|
|
8504
8505
|
Is as handleMoveCols,
|
|
8505
8506
|
ou as handleMoveRange,
|
|
8506
8507
|
ws as handleMoveRows,
|
|
8507
|
-
|
|
8508
|
+
bc as isSingleCellSelection,
|
|
8508
8509
|
ls as rangeMerge,
|
|
8509
8510
|
Oe as rotateRange,
|
|
8510
8511
|
mt as runRefRangeMutations,
|
|
8511
|
-
|
|
8512
|
-
|
|
8512
|
+
yc as setEndForRange,
|
|
8513
|
+
sd as transformCellDataToSelectionData,
|
|
8513
8514
|
kn as transformCellsToRange
|
|
8514
8515
|
};
|