@univerjs/sheets-table 0.12.4 → 0.13.0

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/es/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var st = Object.defineProperty;
2
2
  var rt = (t, e, n) => e in t ? st(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var b = (t, e, n) => rt(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { CellValueType as J, BorderStyleTypes as at, createREGEXFromWildChar as Z, generateRandomId as L, IUniverInstanceService as B, Inject as _, LocaleService as be, Disposable as H, CommandType as N, IUndoRedoService as A, ICommandService as D, sequenceExecute as E, ILogService as Le, IResourceManagerService as ot, Rectangle as Re, RTree as it, InterceptorEffectEnum as lt, UniverInstanceType as z, customNameCharacterCheck as ut, Injector as We, IConfigService as He, Plugin as ct, merge as dt, registerDependencies as ht, touchDependencies as Me } from "@univerjs/core";
5
- import { getSheetCommandTarget as $, SheetInterceptorService as Ce, INTERCEPTOR_POINT as Ve, RemoveSheetCommand as gt, CopySheetCommand as mt, AddRangeThemeMutation as Pe, RemoveRangeThemeMutation as qe, SheetRangeThemeModel as Je, SheetsSelectionsService as we, InsertRowMutation as ke, RemoveRowMutation as Qe, getMoveRangeUndoRedoMutations as fe, InsertColMutation as Ye, RemoveColMutation as Ge, IExclusiveRangeService as bt, RefRangeService as wt, RemoveColCommand as ft, RemoveRowCommand as pt, InsertColCommand as St, InsertRowCommand as Rt, SheetRangeThemeService as _t, RangeThemeStyle as Ct, ZebraCrossingCacheController as Tt } from "@univerjs/sheets";
4
+ import { CellValueType as J, BorderStyleTypes as at, createREGEXFromWildChar as Z, generateRandomId as L, IUniverInstanceService as B, Inject as R, LocaleService as be, Disposable as H, CommandType as N, IUndoRedoService as A, ICommandService as D, sequenceExecute as E, ILogService as Le, IResourceManagerService as ot, Rectangle as _e, RTree as it, InterceptorEffectEnum as lt, UniverInstanceType as z, customNameCharacterCheck as ut, Injector as We, IConfigService as He, Plugin as ct, merge as dt, registerDependencies as ht, touchDependencies as Me } from "@univerjs/core";
5
+ import { getSheetCommandTarget as $, SheetInterceptorService as Ce, INTERCEPTOR_POINT as Ve, RemoveSheetCommand as gt, CopySheetCommand as mt, AddRangeThemeMutation as Pe, RemoveRangeThemeMutation as qe, SheetRangeThemeModel as Je, SheetsSelectionsService as we, InsertRowMutation as ke, RemoveRowMutation as Qe, getMoveRangeUndoRedoMutations as fe, InsertColMutation as Ye, RemoveColMutation as Ge, IExclusiveRangeService as bt, RefRangeService as wt, RemoveColCommand as ft, RemoveRowCommand as pt, InsertColCommand as St, InsertRowCommand as _t, SheetRangeThemeService as Rt, RangeThemeStyle as Ct, ZebraCrossingCacheController as Tt } from "@univerjs/sheets";
6
6
  import { Subject as Y, BehaviorSubject as ze, filter as pe, switchMap as ve } from "rxjs";
7
7
  import { RemoveSuperTableMutation as Fe, SetSuperTableMutation as It } from "@univerjs/engine-formula";
8
8
  var M = /* @__PURE__ */ ((t) => (t.Insert = "insert", t.Delete = "delete", t))(M || {}), y = /* @__PURE__ */ ((t) => (t.Row = "row", t.Col = "column", t))(y || {}), je = /* @__PURE__ */ ((t) => (t.None = "none", t.String = "string", t.Number = "number", t.Date = "date", t.Bool = "bool", t.Checkbox = "checkbox", t.List = "list", t))(je || {}), ne = /* @__PURE__ */ ((t) => (t.manual = "manual", t.condition = "condition", t))(ne || {}), O = /* @__PURE__ */ ((t) => (t.Date = "date", t.Number = "number", t.String = "string", t.Logic = "logic", t))(O || {}), F = /* @__PURE__ */ ((t) => (t.Equal = "equal", t.NotEqual = "notEqual", t.GreaterThan = "greaterThan", t.GreaterThanOrEqual = "greaterThanOrEqual", t.LessThan = "lessThan", t.LessThanOrEqual = "lessThanOrEqual", t.Between = "between", t.NotBetween = "notBetween", t.Above = "above", t.Below = "below", t.TopN = "topN", t))(F || {}), P = /* @__PURE__ */ ((t) => (t.Equal = "equal", t.NotEqual = "notEqual", t.Contains = "contains", t.NotContains = "notContains", t.StartsWith = "startsWith", t.EndsWith = "endsWith", t))(P || {}), m = /* @__PURE__ */ ((t) => (t.Equal = "equal", t.NotEqual = "notEqual", t.After = "after", t.AfterOrEqual = "afterOrEqual", t.Before = "before", t.BeforeOrEqual = "beforeOrEqual", t.Between = "between", t.NotBetween = "notBetween", t.Today = "today", t.Yesterday = "yesterday", t.Tomorrow = "tomorrow", t.ThisWeek = "thisWeek", t.LastWeek = "lastWeek", t.NextWeek = "nextWeek", t.ThisMonth = "thisMonth", t.LastMonth = "lastMonth", t.NextMonth = "nextMonth", t.ThisQuarter = "thisQuarter", t.LastQuarter = "lastQuarter", t.NextQuarter = "nextQuarter", t.ThisYear = "thisYear", t.LastYear = "lastYear", t.NextYear = "nextYear", t.YearToDate = "yearToDate", t.Quarter = "quarter", t.Month = "month", t.M1 = "m1", t.M2 = "m2", t.M3 = "m3", t.M4 = "m4", t.M5 = "m5", t.M6 = "m6", t.M7 = "m7", t.M8 = "m8", t.M9 = "m9", t.M10 = "m10", t.M11 = "m11", t.M12 = "m12", t.Q1 = "q1", t.Q2 = "q2", t.Q3 = "q3", t.Q4 = "q4", t))(m || {}), q = /* @__PURE__ */ ((t) => (t[t.FilteredSortNone = 1] = "FilteredSortNone", t[t.FilteredSortAsc = 2] = "FilteredSortAsc", t[t.FilteredSortDesc = 3] = "FilteredSortDesc", t[t.FilterNoneSortNone = 4] = "FilterNoneSortNone", t[t.FilterNoneSortAsc = 5] = "FilterNoneSortAsc", t[t.FilterNoneSortDesc = 6] = "FilterNoneSortDesc", t))(q || {}), G = /* @__PURE__ */ ((t) => (t.Asc = "asc", t.Desc = "desc", t.None = "none", t))(G || {});
@@ -557,7 +557,7 @@ function wn(t, e) {
557
557
  }
558
558
  }
559
559
  }
560
- const fn = (t, e) => Z(e).test(t), pn = (t, e) => !Z(e).test(t), Sn = (t, e) => Z(`*${e}*`).test(t), Rn = (t, e) => !Z(`*${e}*`).test(t), _n = (t, e) => Z(`${e}*`).test(t), Cn = (t, e) => Z(`*${e}`).test(t);
560
+ const fn = (t, e) => Z(e).test(t), pn = (t, e) => !Z(e).test(t), Sn = (t, e) => Z(`*${e}*`).test(t), _n = (t, e) => !Z(`*${e}*`).test(t), Rn = (t, e) => Z(`${e}*`).test(t), Cn = (t, e) => Z(`*${e}`).test(t);
561
561
  function Tn(t) {
562
562
  switch (t.compareType) {
563
563
  case P.Equal:
@@ -567,9 +567,9 @@ function Tn(t) {
567
567
  case P.Contains:
568
568
  return (e) => Sn(e, t.expectedValue);
569
569
  case P.NotContains:
570
- return (e) => Rn(e, t.expectedValue);
571
- case P.StartsWith:
572
570
  return (e) => _n(e, t.expectedValue);
571
+ case P.StartsWith:
572
+ return (e) => Rn(e, t.expectedValue);
573
573
  case P.EndsWith:
574
574
  return (e) => Cn(e, t.expectedValue);
575
575
  default:
@@ -1090,10 +1090,10 @@ let C = class extends H {
1090
1090
  else if (o === "column") {
1091
1091
  d.endColumn += l;
1092
1092
  for (let c = 0; c < l; c++) {
1093
- const g = this._localeService.t("sheets-table.columnPrefix"), R = new j(L(), te(r.getColumnsCount() + 1 + c, g));
1094
- i != null && i[c] && R.fromJSON(i[c]);
1093
+ const g = this._localeService.t("sheets-table.columnPrefix"), _ = new j(L(), te(r.getColumnsCount() + 1 + c, g));
1094
+ i != null && i[c] && _.fromJSON(i[c]);
1095
1095
  const w = u + c - h.startColumn;
1096
- r.insertColumn(w, R);
1096
+ r.insertColumn(w, _);
1097
1097
  }
1098
1098
  }
1099
1099
  } else if (o === "row")
@@ -1218,17 +1218,18 @@ let C = class extends H {
1218
1218
  }), this._tableInitStatus.next(!0);
1219
1219
  }
1220
1220
  deleteUnitId(e) {
1221
- this._tableMap.delete(e);
1221
+ const n = this._tableMap.get(e);
1222
+ n && n.forEach((s) => s.dispose()), this._tableMap.delete(e);
1222
1223
  }
1223
1224
  dispose() {
1224
- super.dispose(), this._tableMap.forEach((e) => {
1225
+ super.dispose(), this._tableAdd$.complete(), this._tableDelete$.complete(), this._tableNameChanged$.complete(), this._tableRangeChanged$.complete(), this._tableThemeChanged$.complete(), this._tableFilterChanged$.complete(), this._tableInitStatus.complete(), this._tableMap.forEach((e) => {
1225
1226
  e.forEach((n) => n.dispose()), e.clear();
1226
1227
  }), this._tableMap.clear();
1227
1228
  }
1228
1229
  };
1229
1230
  C = Dn([
1230
1231
  $e(0, B),
1231
- $e(1, _(be))
1232
+ $e(1, R(be))
1232
1233
  ], C);
1233
1234
  var xn = Object.getOwnPropertyDescriptor, On = (t, e, n, s) => {
1234
1235
  for (var r = s > 1 ? void 0 : s ? xn(e, n) : e, a = t.length - 1, o; a >= 0; a--)
@@ -1280,7 +1281,7 @@ let X = class extends H {
1280
1281
  }
1281
1282
  };
1282
1283
  X = On([
1283
- Un(0, _(C))
1284
+ Un(0, R(C))
1284
1285
  ], X);
1285
1286
  const k = {
1286
1287
  id: "sheet.mutation.add-table",
@@ -1339,7 +1340,7 @@ const k = {
1339
1340
  redoMutations: o
1340
1341
  }), !0) : (a.error("[TableManager]: Table not found"), !1);
1341
1342
  }
1342
- }, _e = {
1343
+ }, Re = {
1343
1344
  id: "sheet.mutation.set-table-filter",
1344
1345
  type: N.MUTATION,
1345
1346
  handler: (t, e) => {
@@ -1353,7 +1354,7 @@ const k = {
1353
1354
  if (!e)
1354
1355
  return !1;
1355
1356
  const n = t.get(A), s = t.get(D), r = e.tableId || L(), a = [], o = [];
1356
- return a.push({ id: _e.id, params: { ...e, tableId: r } }), o.push({ id: _e.id, params: { ...e, tableId: r, tableFilter: void 0 } }), E(a, s) && n.pushUndoRedo({
1357
+ return a.push({ id: Re.id, params: { ...e, tableId: r } }), o.push({ id: Re.id, params: { ...e, tableId: r, tableFilter: void 0 } }), E(a, s) && n.pushUndoRedo({
1357
1358
  unitID: e.unitId,
1358
1359
  undoMutations: o,
1359
1360
  redoMutations: a
@@ -1374,7 +1375,7 @@ let W = class extends H {
1374
1375
  getContainerTableWithRange(e, n, s) {
1375
1376
  const r = this._ensureTableRangeRTree(e), o = Array.from(r.bulkSearch([{ unitId: e, sheetId: n, range: s }])).find((u) => {
1376
1377
  const l = this._tableManager.getTable(e, String(u));
1377
- return l ? Re.contains(l.getRange(), s) : !1;
1378
+ return l ? _e.contains(l.getRange(), s) : !1;
1378
1379
  });
1379
1380
  if (o)
1380
1381
  return this._tableManager.getTable(e, String(o));
@@ -1562,10 +1563,10 @@ let W = class extends H {
1562
1563
  }
1563
1564
  };
1564
1565
  W = Wn([
1565
- ae(0, _(B)),
1566
- ae(1, _(Ce)),
1567
- ae(2, _(C)),
1568
- ae(3, _(ot))
1566
+ ae(0, R(B)),
1567
+ ae(1, R(Ce)),
1568
+ ae(2, R(C)),
1569
+ ae(3, R(ot))
1569
1570
  ], W);
1570
1571
  const S = {
1571
1572
  id: "sheet.mutation.set-sheet-table",
@@ -1638,8 +1639,8 @@ const S = {
1638
1639
  const l = u.getSubunitId(), i = [], h = [], d = o.getRegisteredRangeThemes().filter((f) => f == null ? void 0 : f.startsWith("table-default"));
1639
1640
  let g = o.getRegisteredRangeThemes().filter((f) => f == null ? void 0 : f.startsWith(En)).find((f) => f !== r);
1640
1641
  g || (g = d[0]), i.push({ id: S.id, params: { unitId: n, subUnitId: l, tableId: s, config: { theme: g } } }), i.push({ id: qe.id, params: { unitId: n, subUnitId: l, styleName: r } });
1641
- const R = o.getDefaultRangeThemeStyle(r);
1642
- R && (h.push({ id: Pe.id, params: { unitId: n, subUnitId: l, styleJSON: R.toJson() } }), h.push({ id: S.id, params: { unitId: n, subUnitId: l, tableId: s, config: { theme: r } } }));
1642
+ const _ = o.getDefaultRangeThemeStyle(r);
1643
+ _ && (h.push({ id: Pe.id, params: { unitId: n, subUnitId: l, styleJSON: _.toJson() } }), h.push({ id: S.id, params: { unitId: n, subUnitId: l, tableId: s, config: { theme: r } } }));
1643
1644
  const w = t.get(D);
1644
1645
  return E(i, w) && t.get(A).pushUndoRedo({
1645
1646
  unitID: n,
@@ -1656,8 +1657,8 @@ const S = {
1656
1657
  return !1;
1657
1658
  const { unitId: n, tableId: s, name: r, updateRange: a, rowColOperation: o, theme: u } = e, l = t.get(C), i = l.getTableById(n, s);
1658
1659
  if (!i) return !1;
1659
- const h = {}, d = {}, c = t.get(be), R = t.get(B).getCurrentUnitOfType(z.UNIVER_SHEET), w = /* @__PURE__ */ new Set();
1660
- if (R && (R.getSheets().forEach((T) => {
1660
+ const h = {}, d = {}, c = t.get(be), _ = t.get(B).getCurrentUnitOfType(z.UNIVER_SHEET), w = /* @__PURE__ */ new Set();
1661
+ if (_ && (_.getSheets().forEach((T) => {
1661
1662
  w.add(T.getName());
1662
1663
  }), l.getTableList(n).forEach((T) => {
1663
1664
  w.add(T.name);
@@ -1832,8 +1833,8 @@ const S = {
1832
1833
  return !1;
1833
1834
  const i = u[0].range, d = t.get(W).getContainerTableWithRange(r, a, i);
1834
1835
  if (!d) return !1;
1835
- const c = i.endColumn - i.startColumn + 1, R = s.getColumnCount() - 1, w = s.getCellMatrix().getDataRange().endColumn, p = [], f = [];
1836
- if (R - w < c)
1836
+ const c = i.endColumn - i.startColumn + 1, _ = s.getColumnCount() - 1, w = s.getCellMatrix().getDataRange().endColumn, p = [], f = [];
1837
+ if (_ - w < c)
1837
1838
  p.push({
1838
1839
  id: Ye.id,
1839
1840
  params: {
@@ -1958,7 +1959,7 @@ const S = {
1958
1959
  return !1;
1959
1960
  const i = u[0].range, d = t.get(W).getContainerTableWithRange(r, a, i);
1960
1961
  if (!d) return !1;
1961
- const c = i.endRow - i.startRow + 1, g = [], R = [], w = d.getRange();
1962
+ const c = i.endRow - i.startRow + 1, g = [], _ = [], w = d.getRange();
1962
1963
  g.push({
1963
1964
  id: S.id,
1964
1965
  params: {
@@ -1974,7 +1975,7 @@ const S = {
1974
1975
  }
1975
1976
  }
1976
1977
  }
1977
- }), R.push({
1978
+ }), _.push({
1978
1979
  id: S.id,
1979
1980
  params: {
1980
1981
  unitId: r,
@@ -2010,11 +2011,11 @@ const S = {
2010
2011
  }
2011
2012
  }
2012
2013
  );
2013
- I && (g.push(...I.redos), R.push(...I.undos));
2014
+ I && (g.push(...I.redos), _.push(...I.undos));
2014
2015
  const U = t.get(D);
2015
2016
  return E(g, U) && t.get(A).pushUndoRedo({
2016
2017
  unitID: r,
2017
- undoMutations: R,
2018
+ undoMutations: _,
2018
2019
  redoMutations: g
2019
2020
  }), !0;
2020
2021
  }
@@ -2034,8 +2035,8 @@ const S = {
2034
2035
  return !1;
2035
2036
  const h = l[0].range, c = t.get(W).getContainerTableWithRange(a, o, h);
2036
2037
  if (!c) return !1;
2037
- const g = h.endColumn - h.startColumn + 1, R = [], w = [], p = c.getRange();
2038
- R.push({
2038
+ const g = h.endColumn - h.startColumn + 1, _ = [], w = [], p = c.getRange();
2039
+ _.push({
2039
2040
  id: S.id,
2040
2041
  params: {
2041
2042
  unitId: a,
@@ -2096,12 +2097,12 @@ const S = {
2096
2097
  }
2097
2098
  }
2098
2099
  );
2099
- v && (R.push(...v.redos), w.push(...v.undos));
2100
+ v && (_.push(...v.redos), w.push(...v.undos));
2100
2101
  const ee = t.get(D);
2101
- return E(R, ee) && t.get(A).pushUndoRedo({
2102
+ return E(_, ee) && t.get(A).pushUndoRedo({
2102
2103
  unitID: a,
2103
2104
  undoMutations: w,
2104
- redoMutations: R
2105
+ redoMutations: _
2105
2106
  }), !0;
2106
2107
  }
2107
2108
  };
@@ -2161,7 +2162,7 @@ let ce = class extends H {
2161
2162
  }
2162
2163
  };
2163
2164
  ce = Gn([
2164
- Ae(0, _(C)),
2165
+ Ae(0, R(C)),
2165
2166
  Ae(1, D)
2166
2167
  ], ce);
2167
2168
  var zn = Object.getOwnPropertyDescriptor, jn = (t, e, n, s) => {
@@ -2199,8 +2200,8 @@ let de = class extends H {
2199
2200
  }
2200
2201
  };
2201
2202
  de = jn([
2202
- Be(0, _(C)),
2203
- Be(1, _(bt))
2203
+ Be(0, R(C)),
2204
+ Be(1, R(bt))
2204
2205
  ], de);
2205
2206
  var Kn = Object.getOwnPropertyDescriptor, Xn = (t, e, n, s) => {
2206
2207
  for (var r = s > 1 ? void 0 : s ? Kn(e, n) : e, a = t.length - 1, o; a >= 0; a--)
@@ -2217,7 +2218,7 @@ let he = class extends H {
2217
2218
  getMutations(e) {
2218
2219
  const n = { redos: [], undos: [] }, { id: s, params: r } = e;
2219
2220
  switch (s) {
2220
- case Rt.id:
2221
+ case _t.id:
2221
2222
  return t._generateTableMutationWithInsertRow(r);
2222
2223
  case St.id:
2223
2224
  return t._generateTableMutationWithInsertCol(r);
@@ -2331,7 +2332,7 @@ let he = class extends H {
2331
2332
  const { range: i } = t, h = i.endRow - i.startRow + 1;
2332
2333
  return l.forEach((d) => {
2333
2334
  const c = d.getRange();
2334
- if (Re.intersects(c, i))
2335
+ if (_e.intersects(c, i))
2335
2336
  if (i.startRow <= c.startRow && i.endRow >= c.startRow) {
2336
2337
  s.push({
2337
2338
  id: Q.id,
@@ -2424,7 +2425,7 @@ let he = class extends H {
2424
2425
  const { range: i } = t, h = i.endColumn - i.startColumn + 1;
2425
2426
  return l.forEach((d) => {
2426
2427
  const c = d.getRange();
2427
- if (Re.intersects(c, i)) {
2428
+ if (_e.intersects(c, i)) {
2428
2429
  if (i.startColumn <= c.startColumn && i.endColumn >= c.endColumn) {
2429
2430
  s.push({
2430
2431
  id: Q.id,
@@ -2434,12 +2435,12 @@ let he = class extends H {
2434
2435
  tableId: d.getId()
2435
2436
  }
2436
2437
  });
2437
- const g = d.toJSON(), { startRow: R, startColumn: w, endColumn: p } = g.range, f = this._univerInstanceService.getUnit(o), I = f == null ? void 0 : f.getSheetBySheetId(u);
2438
+ const g = d.toJSON(), { startRow: _, startColumn: w, endColumn: p } = g.range, f = this._univerInstanceService.getUnit(o), I = f == null ? void 0 : f.getSheetBySheetId(u);
2438
2439
  if (!I)
2439
2440
  return { undos: e, redos: n, preRedos: s, preUndos: r };
2440
2441
  const U = [];
2441
2442
  for (let T = w; T <= p; T++)
2442
- U.push(Ke(I == null ? void 0 : I.getCell(R, T)) || te(T - w + 1, this._localeService.t("sheets-table.columnPrefix")));
2443
+ U.push(Ke(I == null ? void 0 : I.getCell(_, T)) || te(T - w + 1, this._localeService.t("sheets-table.columnPrefix")));
2443
2444
  e.push({
2444
2445
  id: k.id,
2445
2446
  params: {
@@ -2470,10 +2471,10 @@ let he = class extends H {
2470
2471
  }
2471
2472
  }
2472
2473
  });
2473
- const R = [];
2474
+ const _ = [];
2474
2475
  for (let w = 0; w < g; w++) {
2475
2476
  const p = d.getTableColumnByIndex(w);
2476
- p && R.push(p.toJSON());
2477
+ p && _.push(p.toJSON());
2477
2478
  }
2478
2479
  e.push({
2479
2480
  id: S.id,
@@ -2487,7 +2488,7 @@ let he = class extends H {
2487
2488
  rowColType: y.Col,
2488
2489
  index: c.startColumn,
2489
2490
  count: g,
2490
- columnsJson: R
2491
+ columnsJson: _
2491
2492
  }
2492
2493
  }
2493
2494
  }
@@ -2510,10 +2511,10 @@ let he = class extends H {
2510
2511
  }
2511
2512
  }
2512
2513
  });
2513
- const R = [], w = i.startColumn - c.startColumn;
2514
+ const _ = [], w = i.startColumn - c.startColumn;
2514
2515
  for (let p = 0; p < g; p++) {
2515
2516
  const f = d.getTableColumnByIndex(p + w);
2516
- f && R.push(f.toJSON());
2517
+ f && _.push(f.toJSON());
2517
2518
  }
2518
2519
  e.push({
2519
2520
  id: S.id,
@@ -2527,7 +2528,7 @@ let he = class extends H {
2527
2528
  rowColType: y.Col,
2528
2529
  index: i.startColumn,
2529
2530
  count: h,
2530
- columnsJson: R
2531
+ columnsJson: _
2531
2532
  }
2532
2533
  }
2533
2534
  }
@@ -2549,9 +2550,9 @@ let he = class extends H {
2549
2550
  }
2550
2551
  }
2551
2552
  });
2552
- const g = [], R = i.startColumn - c.startColumn;
2553
+ const g = [], _ = i.startColumn - c.startColumn;
2553
2554
  for (let w = 0; w < h; w++) {
2554
- const p = d.getTableColumnByIndex(w + R);
2555
+ const p = d.getTableColumnByIndex(w + _);
2555
2556
  p && g.push(p.toJSON());
2556
2557
  }
2557
2558
  e.push({
@@ -2630,13 +2631,13 @@ let he = class extends H {
2630
2631
  }
2631
2632
  };
2632
2633
  he = Xn([
2633
- V(0, _(D)),
2634
- V(1, _(wt)),
2635
- V(2, _(B)),
2636
- V(3, _(We)),
2637
- V(4, _(Ce)),
2638
- V(5, _(C)),
2639
- V(6, _(be))
2634
+ V(0, R(D)),
2635
+ V(1, R(wt)),
2636
+ V(2, R(B)),
2637
+ V(3, R(We)),
2638
+ V(4, R(Ce)),
2639
+ V(5, R(C)),
2640
+ V(6, R(be))
2640
2641
  ], he);
2641
2642
  var Zn = Object.getOwnPropertyDescriptor, es = (t, e, n, s) => {
2642
2643
  for (var r = s > 1 ? void 0 : s ? Zn(e, n) : e, a = t.length - 1, o; a >= 0; a--)
@@ -2713,9 +2714,9 @@ let ge = class extends H {
2713
2714
  }
2714
2715
  };
2715
2716
  ge = es([
2716
- oe(0, _(C)),
2717
- oe(1, _(_t)),
2718
- oe(2, _(Je)),
2717
+ oe(0, R(C)),
2718
+ oe(1, R(Rt)),
2719
+ oe(2, R(Je)),
2719
2720
  oe(3, He)
2720
2721
  ], ge);
2721
2722
  var ts = Object.getOwnPropertyDescriptor, ns = (t, e, n, s) => {
@@ -2790,10 +2791,10 @@ let me = class extends H {
2790
2791
  }
2791
2792
  };
2792
2793
  me = ns([
2793
- ie(0, _(C)),
2794
- ie(1, _(Ce)),
2795
- ie(2, _(B)),
2796
- ie(3, _(Tt))
2794
+ ie(0, R(C)),
2795
+ ie(1, R(Ce)),
2796
+ ie(2, R(B)),
2797
+ ie(3, R(Tt))
2797
2798
  ], me);
2798
2799
  var ss = Object.getOwnPropertyDescriptor, rs = (t, e, n, s) => {
2799
2800
  for (var r = s > 1 ? void 0 : s ? ss(e, n) : e, a = t.length - 1, o; a >= 0; a--)
@@ -2841,7 +2842,7 @@ let Ee = (le = class extends ct {
2841
2842
  k,
2842
2843
  An,
2843
2844
  Q,
2844
- _e,
2845
+ Re,
2845
2846
  Bn,
2846
2847
  Pn,
2847
2848
  S,
@@ -2855,9 +2856,9 @@ let Ee = (le = class extends ct {
2855
2856
  }
2856
2857
  }, b(le, "pluginName", nt), b(le, "type", z.UNIVER_SHEET), le);
2857
2858
  Ee = rs([
2858
- Se(1, _(We)),
2859
+ Se(1, R(We)),
2859
2860
  Se(2, He),
2860
- Se(3, _(D))
2861
+ Se(3, R(D))
2861
2862
  ], Ee);
2862
2863
  export {
2863
2864
  $n as AddSheetTableCommand,
@@ -2869,7 +2870,7 @@ export {
2869
2870
  En as SHEET_TABLE_CUSTOM_THEME_PREFIX,
2870
2871
  Pn as SetSheetTableCommand,
2871
2872
  Bn as SetSheetTableFilterCommand,
2872
- _e as SetSheetTableFilterMutation,
2873
+ Re as SetSheetTableFilterMutation,
2873
2874
  S as SetSheetTableMutation,
2874
2875
  Jn as SheetTableInsertColCommand,
2875
2876
  qn as SheetTableInsertRowCommand,