@univerjs/sheets 0.2.4 → 0.2.5

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