@univerjs/sheets-table 0.10.8 → 0.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  var Ze = Object.defineProperty;
2
2
  var et = (t, e, n) => e in t ? Ze(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var b = (t, e, n) => et(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { CellValueType as V, BorderStyleTypes as tt, generateRandomId as q, IUniverInstanceService as E, Inject as C, LocaleService as de, Disposable as k, CommandType as y, IUndoRedoService as A, ICommandService as x, sequenceExecute as B, IResourceManagerService as nt, Rectangle as pe, RTree as rt, InterceptorEffectEnum as st, UniverInstanceType as he, customNameCharacterCheck as at, ILogService as ot, Injector as Ae, IConfigService as Be, Plugin as it, merge as lt, registerDependencies as ut, touchDependencies as Ie } from "@univerjs/core";
5
- import { getSheetCommandTarget as $, SheetInterceptorService as Ce, INTERCEPTOR_POINT as Le, AddRangeThemeMutation as Ee, RemoveRangeThemeMutation as We, SheetRangeThemeModel as He, SheetsSelectionsService as ge, InsertRowMutation as Pe, RemoveRowMutation as Ve, getMoveRangeUndoRedoMutations as me, InsertColMutation as qe, RemoveColMutation as ke, IExclusiveRangeService as ct, RefRangeService as dt, RemoveColCommand as ht, RemoveRowCommand as gt, InsertColCommand as mt, InsertRowCommand as bt, SheetRangeThemeService as wt, RangeThemeStyle as Rt } from "@univerjs/sheets";
4
+ import { CellValueType as V, BorderStyleTypes as tt, generateRandomId as q, IUniverInstanceService as E, Inject as C, LocaleService as de, Disposable as k, CommandType as y, IUndoRedoService as A, ICommandService as x, sequenceExecute as L, IResourceManagerService as nt, Rectangle as pe, RTree as rt, InterceptorEffectEnum as st, UniverInstanceType as he, customNameCharacterCheck as at, ILogService as ot, Injector as Ae, IConfigService as Le, Plugin as it, merge as lt, registerDependencies as ut, touchDependencies as Ie } from "@univerjs/core";
5
+ import { getSheetCommandTarget as $, SheetInterceptorService as Ce, INTERCEPTOR_POINT as Be, AddRangeThemeMutation as Ee, RemoveRangeThemeMutation as We, SheetRangeThemeModel as He, SheetsSelectionsService as ge, InsertRowMutation as Pe, RemoveRowMutation as Ve, getMoveRangeUndoRedoMutations as me, InsertColMutation as qe, RemoveColMutation as ke, IExclusiveRangeService as ct, RefRangeService as dt, RemoveColCommand as ht, RemoveRowCommand as gt, InsertColCommand as mt, InsertRowCommand as bt, SheetRangeThemeService as wt, RangeThemeStyle as Rt } from "@univerjs/sheets";
6
6
  import { Subject as J, BehaviorSubject as Je, filter as be, switchMap as Me } from "rxjs";
7
- var I = /* @__PURE__ */ ((t) => (t.Insert = "insert", t.Delete = "delete", t))(I || {}), D = /* @__PURE__ */ ((t) => (t.Row = "row", t.Col = "column", t))(D || {}), Qe = /* @__PURE__ */ ((t) => (t.None = "none", t.String = "string", t.Number = "number", t.Date = "date", t.Bool = "bool", t.Checkbox = "checkbox", t.List = "list", t))(Qe || {}), Z = /* @__PURE__ */ ((t) => (t.manual = "manual", t.condition = "condition", t))(Z || {}), U = /* @__PURE__ */ ((t) => (t.Date = "date", t.Number = "number", t.String = "string", t.Logic = "logic", t))(U || {}), 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 || {}), H = /* @__PURE__ */ ((t) => (t.Equal = "equal", t.NotEqual = "notEqual", t.Contains = "contains", t.NotContains = "notContains", t.StartsWith = "startsWith", t.EndsWith = "endsWith", t))(H || {}), g = /* @__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))(g || {}), P = /* @__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))(P || {}), Q = /* @__PURE__ */ ((t) => (t.Asc = "asc", t.Desc = "desc", t.None = "none", t))(Q || {});
7
+ var M = /* @__PURE__ */ ((t) => (t.Insert = "insert", t.Delete = "delete", t))(M || {}), D = /* @__PURE__ */ ((t) => (t.Row = "row", t.Col = "column", t))(D || {}), Qe = /* @__PURE__ */ ((t) => (t.None = "none", t.String = "string", t.Number = "number", t.Date = "date", t.Bool = "bool", t.Checkbox = "checkbox", t.List = "list", t))(Qe || {}), Z = /* @__PURE__ */ ((t) => (t.manual = "manual", t.condition = "condition", t))(Z || {}), 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 || {}), H = /* @__PURE__ */ ((t) => (t.Equal = "equal", t.NotEqual = "notEqual", t.Contains = "contains", t.NotContains = "notContains", t.StartsWith = "startsWith", t.EndsWith = "endsWith", t))(H || {}), g = /* @__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))(g || {}), P = /* @__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))(P || {}), Q = /* @__PURE__ */ ((t) => (t.Asc = "asc", t.Desc = "desc", t.None = "none", t))(Q || {});
8
8
  function X(t, e) {
9
9
  return `${e} ${t}`;
10
10
  }
@@ -200,7 +200,7 @@ const _t = (t) => t.getMonth() <= 2, Tt = (t) => {
200
200
  }, Mt = (t) => {
201
201
  const e = t.getMonth();
202
202
  return e > 8 && e <= 11;
203
- }, vt = (t) => t.getMonth() === 0, Ft = (t) => t.getMonth() === 1, Dt = (t) => t.getMonth() === 2, yt = (t) => t.getMonth() === 3, Nt = (t) => t.getMonth() === 4, xt = (t) => t.getMonth() === 5, Ot = (t) => t.getMonth() === 6, Ut = (t) => t.getMonth() === 7, $t = (t) => t.getMonth() === 8, At = (t) => t.getMonth() === 9, Bt = (t) => t.getMonth() === 10, Lt = (t) => t.getMonth() === 11, Et = (t, e = /* @__PURE__ */ new Date()) => t.toDateString() === e.toDateString(), Wt = (t, e = /* @__PURE__ */ new Date()) => {
203
+ }, vt = (t) => t.getMonth() === 0, Ft = (t) => t.getMonth() === 1, Dt = (t) => t.getMonth() === 2, yt = (t) => t.getMonth() === 3, Nt = (t) => t.getMonth() === 4, xt = (t) => t.getMonth() === 5, Ot = (t) => t.getMonth() === 6, Ut = (t) => t.getMonth() === 7, $t = (t) => t.getMonth() === 8, At = (t) => t.getMonth() === 9, Lt = (t) => t.getMonth() === 10, Bt = (t) => t.getMonth() === 11, Et = (t, e = /* @__PURE__ */ new Date()) => t.toDateString() === e.toDateString(), Wt = (t, e = /* @__PURE__ */ new Date()) => {
204
204
  const n = new Date(e);
205
205
  return n.setDate(n.getDate() + 1), t.toDateString() === n.toDateString();
206
206
  }, Ht = (t, e = /* @__PURE__ */ new Date()) => {
@@ -384,9 +384,9 @@ function tn(t) {
384
384
  case g.M10:
385
385
  return At;
386
386
  case g.M11:
387
- return Bt;
388
- case g.M12:
389
387
  return Lt;
388
+ case g.M12:
389
+ return Bt;
390
390
  case g.Q1:
391
391
  return _t;
392
392
  case g.Q2:
@@ -591,26 +591,26 @@ function fn(t, e) {
591
591
  if (Ke(t.filterInfo.compareType))
592
592
  return (n) => !0;
593
593
  switch (t.filterInfo.conditionType) {
594
- case U.Date:
594
+ case O.Date:
595
595
  return tn(t.filterInfo);
596
- case U.Number:
596
+ case O.Number:
597
597
  return un(t.filterInfo, e);
598
- case U.String:
598
+ case O.String:
599
599
  return wn(t.filterInfo);
600
- case U.Logic:
600
+ case O.Logic:
601
601
  default:
602
602
  return (n) => !0;
603
603
  }
604
604
  }
605
605
  function oe(t, e, n, r) {
606
606
  switch (r) {
607
- case U.Date: {
607
+ case O.Date: {
608
608
  const s = ye(t, e, n);
609
609
  return s ? Cn(s) : null;
610
610
  }
611
- case U.Number:
611
+ case O.Number:
612
612
  return ye(t, e, n);
613
- case U.String:
613
+ case O.String:
614
614
  default:
615
615
  return Sn(t, e, n);
616
616
  }
@@ -689,7 +689,7 @@ class Ne {
689
689
  if (a && e) {
690
690
  const { startRow: o, endRow: u, startColumn: l } = n, i = l + r, h = this.getExecuteFunc(e, n, r, a);
691
691
  for (let d = o; d <= u; d++) {
692
- const c = St(a) ? a.filterInfo.conditionType : U.String;
692
+ const c = St(a) ? a.filterInfo.conditionType : O.String;
693
693
  oe(e, d, i, c) === null ? s.add(d) : h(oe(e, d, i, c)) || s.add(d);
694
694
  }
695
695
  }
@@ -698,7 +698,7 @@ class Ne {
698
698
  const { startRow: s, endRow: a, startColumn: o } = n, u = o + r, l = [];
699
699
  let i = 0, h = 0;
700
700
  for (let d = s; d <= a; d++) {
701
- const c = oe(e, d, u, U.Number);
701
+ const c = oe(e, d, u, O.Number);
702
702
  c !== null && (l.push(c), i++, h += c);
703
703
  }
704
704
  return {
@@ -920,7 +920,7 @@ var _n = Object.getOwnPropertyDescriptor, Tn = (t, e, n, r) => {
920
920
  (o = t[a]) && (s = o(s) || s);
921
921
  return s;
922
922
  }, Oe = (t, e) => (n, r) => e(n, r, t);
923
- let _ = class extends k {
923
+ let T = class extends k {
924
924
  constructor(e, n) {
925
925
  super();
926
926
  b(this, "_tableMap");
@@ -956,6 +956,8 @@ let _ = class extends k {
956
956
  * @param {string} subUnitId The subunit id of the table.
957
957
  * @param {string} name The table name, it should be unique in the unit or it will be appended with a number.
958
958
  * @param {ITableRange} range The range of the table, it contains the unit id and subunit id.
959
+ * @param {string[]} [header] The header of the table, if not provided, it will be generated based on the range.
960
+ * @param {string} [initId] The initial id of the table, if not provided, a random id will be generated.
959
961
  * @param {ITableOptions} [options] Other options of the table.
960
962
  * @returns {string} The table id.
961
963
  */
@@ -1075,7 +1077,7 @@ let _ = class extends k {
1075
1077
  const s = this.getTableById(e, n);
1076
1078
  if (!s) return;
1077
1079
  const { operationType: a, rowColType: o, index: u, count: l, columnsJson: i } = r, h = s.getRange(), d = { ...h };
1078
- if (a === I.Insert) {
1080
+ if (a === M.Insert) {
1079
1081
  if (o === "row")
1080
1082
  d.endRow += l;
1081
1083
  else if (o === "column") {
@@ -1217,10 +1219,10 @@ let _ = class extends k {
1217
1219
  }), this._tableMap.clear();
1218
1220
  }
1219
1221
  };
1220
- _ = Tn([
1222
+ T = Tn([
1221
1223
  Oe(0, E),
1222
1224
  Oe(1, C(de))
1223
- ], _);
1225
+ ], T);
1224
1226
  var In = Object.getOwnPropertyDescriptor, Mn = (t, e, n, r) => {
1225
1227
  for (var s = r > 1 ? void 0 : r ? In(e, n) : e, a = t.length - 1, o; a >= 0; a--)
1226
1228
  (o = t[a]) && (s = o(s) || s);
@@ -1266,12 +1268,12 @@ let j = class extends k {
1266
1268
  addFilter(t, e, n, r) {
1267
1269
  this._tableManager.addFilter(t, e, n, r);
1268
1270
  }
1269
- getCellValueWithConditionType(t, e, n, r = U.String) {
1271
+ getCellValueWithConditionType(t, e, n, r = O.String) {
1270
1272
  return oe(t, e, n, r);
1271
1273
  }
1272
1274
  };
1273
1275
  j = Mn([
1274
- vn(0, C(_))
1276
+ vn(0, C(T))
1275
1277
  ], j);
1276
1278
  const ee = {
1277
1279
  id: "sheet.mutation.add-table",
@@ -1297,11 +1299,11 @@ const ee = {
1297
1299
  const n = t.get(A), r = t.get(x), s = t.get(de), a = (w = e.id) != null ? w : q();
1298
1300
  let o = e.name;
1299
1301
  if (!o) {
1300
- const R = t.get(_).getTableList(e.unitId).length;
1302
+ const R = t.get(T).getTableList(e.unitId).length;
1301
1303
  o = `${s.t("sheets-table.tablePrefix")}${R + 1}`;
1302
1304
  }
1303
- const u = [], l = [], i = t.get(_), { unitId: h, subUnitId: d, range: c } = e, m = i.getColumnHeader(h, d, c, s.t("sheets-table.columnPrefix"));
1304
- return u.push({ id: ee.id, params: { ...e, tableId: a, name: o, header: m } }), l.push({ id: te.id, params: { tableId: a, unitId: e.unitId } }), B(u, r) && n.pushUndoRedo({
1305
+ const u = [], l = [], i = t.get(T), { unitId: h, subUnitId: d, range: c } = e, m = i.getColumnHeader(h, d, c, s.t("sheets-table.columnPrefix"));
1306
+ return u.push({ id: ee.id, params: { ...e, tableId: a, name: o, header: m } }), l.push({ id: te.id, params: { tableId: a, unitId: e.unitId } }), L(u, r) && n.pushUndoRedo({
1305
1307
  unitID: e.unitId,
1306
1308
  undoMutations: l,
1307
1309
  redoMutations: u
@@ -1313,7 +1315,7 @@ const ee = {
1313
1315
  handler: (t, e) => {
1314
1316
  if (!e)
1315
1317
  return !1;
1316
- const n = t.get(A), r = t.get(x), s = t.get(_), a = [], o = [], u = s.getTable(e.unitId, e.tableId), l = u == null ? void 0 : u.toJSON();
1318
+ const n = t.get(A), r = t.get(x), s = t.get(T), a = [], o = [], u = s.getTable(e.unitId, e.tableId), l = u == null ? void 0 : u.toJSON();
1317
1319
  if (!l)
1318
1320
  throw new Error("[TableManager]: Table not found");
1319
1321
  return a.push({ id: te.id, params: { ...e } }), o.push({
@@ -1326,7 +1328,7 @@ const ee = {
1326
1328
  range: l.range,
1327
1329
  options: l.options
1328
1330
  }
1329
- }), B(a, r) && n.pushUndoRedo({
1331
+ }), L(a, r) && n.pushUndoRedo({
1330
1332
  unitID: e.unitId,
1331
1333
  undoMutations: o,
1332
1334
  redoMutations: a
@@ -1337,7 +1339,7 @@ const ee = {
1337
1339
  type: y.MUTATION,
1338
1340
  handler: (t, e) => {
1339
1341
  const { tableId: n, unitId: r, column: s, tableFilter: a } = e;
1340
- return t.get(_).addFilter(r, n, s, a), !0;
1342
+ return t.get(T).addFilter(r, n, s, a), !0;
1341
1343
  }
1342
1344
  }, yn = {
1343
1345
  id: "sheet.command.set-table-filter",
@@ -1346,7 +1348,7 @@ const ee = {
1346
1348
  if (!e)
1347
1349
  return !1;
1348
1350
  const n = t.get(A), r = t.get(x), s = e.tableId || q(), a = [], o = [];
1349
- return a.push({ id: Se.id, params: { ...e, tableId: s } }), o.push({ id: Se.id, params: { ...e, tableId: s, tableFilter: void 0 } }), B(a, r) && n.pushUndoRedo({
1351
+ return a.push({ id: Se.id, params: { ...e, tableId: s } }), o.push({ id: Se.id, params: { ...e, tableId: s, tableFilter: void 0 } }), L(a, r) && n.pushUndoRedo({
1350
1352
  unitID: e.unitId,
1351
1353
  undoMutations: o,
1352
1354
  redoMutations: a
@@ -1358,7 +1360,7 @@ var xn = Object.getOwnPropertyDescriptor, On = (t, e, n, r) => {
1358
1360
  (o = t[a]) && (s = o(s) || s);
1359
1361
  return s;
1360
1362
  }, we = (t, e) => (n, r) => e(n, r, t);
1361
- let L = class extends k {
1363
+ let B = class extends k {
1362
1364
  constructor(e, n, r) {
1363
1365
  super();
1364
1366
  b(this, "_tableRangeRTree", /* @__PURE__ */ new Map());
@@ -1415,7 +1417,7 @@ let L = class extends k {
1415
1417
  }
1416
1418
  registerTableHeaderInterceptor() {
1417
1419
  this.disposeWithMe(
1418
- this._sheetInterceptorService.intercept(Le.CELL_CONTENT, {
1420
+ this._sheetInterceptorService.intercept(Be.CELL_CONTENT, {
1419
1421
  effect: st.Value,
1420
1422
  handler: (e, n, r) => {
1421
1423
  const { row: s, col: a, unitId: o, subUnitId: u } = n, l = this._ensureTableRangeRTree(o);
@@ -1472,11 +1474,11 @@ let L = class extends k {
1472
1474
  super.dispose(), this._tableRangeRTree.clear();
1473
1475
  }
1474
1476
  };
1475
- L = On([
1477
+ B = On([
1476
1478
  we(0, C(Ce)),
1477
- we(1, C(_)),
1479
+ we(1, C(T)),
1478
1480
  we(2, C(nt))
1479
- ], L);
1481
+ ], B);
1480
1482
  const p = {
1481
1483
  id: "sheet.mutation.set-sheet-table",
1482
1484
  type: y.MUTATION,
@@ -1484,7 +1486,7 @@ const p = {
1484
1486
  if (!e)
1485
1487
  return !1;
1486
1488
  const { unitId: n, tableId: r, config: s } = e;
1487
- return t.get(_).setTableByConfig(n, r, s), !0;
1489
+ return t.get(T).setTableByConfig(n, r, s), !0;
1488
1490
  }
1489
1491
  }, Un = {
1490
1492
  id: "sheet.command.add-table-theme",
@@ -1492,7 +1494,7 @@ const p = {
1492
1494
  handler: (t, e) => {
1493
1495
  if (!e)
1494
1496
  return !1;
1495
- const n = t.get(_), { unitId: r, tableId: s, themeStyle: a } = e, o = [], u = [], l = n.getTableById(r, s);
1497
+ const n = t.get(T), { unitId: r, tableId: s, themeStyle: a } = e, o = [], u = [], l = n.getTableById(r, s);
1496
1498
  if (!l) return !1;
1497
1499
  const i = l.getSubunitId();
1498
1500
  o.push({
@@ -1531,7 +1533,7 @@ const p = {
1531
1533
  }
1532
1534
  });
1533
1535
  const h = t.get(x);
1534
- return B(o, h) && t.get(A).pushUndoRedo({
1536
+ return L(o, h) && t.get(A).pushUndoRedo({
1535
1537
  unitID: r,
1536
1538
  undoMutations: u,
1537
1539
  redoMutations: o
@@ -1543,7 +1545,7 @@ const p = {
1543
1545
  handler: (t, e) => {
1544
1546
  if (!e)
1545
1547
  return !1;
1546
- const { unitId: n, tableId: r, themeName: s } = e, a = t.get(_), o = t.get(He), u = a.getTableById(n, r);
1548
+ const { unitId: n, tableId: r, themeName: s } = e, a = t.get(T), o = t.get(He), u = a.getTableById(n, r);
1547
1549
  if (!u) return !1;
1548
1550
  const l = u.getSubunitId(), i = [], h = [], d = o.getRegisteredRangeThemes().filter((R) => R == null ? void 0 : R.startsWith("table-default"));
1549
1551
  let m = o.getRegisteredRangeThemes().filter((R) => R == null ? void 0 : R.startsWith(Nn)).find((R) => R !== s);
@@ -1551,7 +1553,7 @@ const p = {
1551
1553
  const S = o.getDefaultRangeThemeStyle(s);
1552
1554
  S && (h.push({ id: Ee.id, params: { unitId: n, subUnitId: l, styleJSON: S.toJson() } }), h.push({ id: p.id, params: { unitId: n, subUnitId: l, tableId: r, config: { theme: s } } }));
1553
1555
  const w = t.get(x);
1554
- return B(i, w) && t.get(A).pushUndoRedo({
1556
+ return L(i, w) && t.get(A).pushUndoRedo({
1555
1557
  unitID: n,
1556
1558
  redoMutations: i,
1557
1559
  undoMutations: h
@@ -1564,18 +1566,20 @@ const p = {
1564
1566
  handler: (t, e) => {
1565
1567
  if (!e)
1566
1568
  return !1;
1567
- const { unitId: n, tableId: r, name: s, updateRange: a, rowColOperation: o, theme: u } = e, i = t.get(_).getTableById(n, r);
1569
+ const { unitId: n, tableId: r, name: s, updateRange: a, rowColOperation: o, theme: u } = e, l = t.get(T), i = l.getTableById(n, r);
1568
1570
  if (!i) return !1;
1569
1571
  const h = {}, d = {}, c = t.get(de), S = t.get(E).getCurrentUnitOfType(he.UNIVER_SHEET), w = /* @__PURE__ */ new Set();
1570
- if (S && S.getSheets().forEach((O) => {
1571
- w.add(O.getName());
1572
- }), s) {
1572
+ if (S && (S.getSheets().forEach((_) => {
1573
+ w.add(_.getName());
1574
+ }), l.getTableList(n).forEach((_) => {
1575
+ w.add(_.name);
1576
+ })), s) {
1573
1577
  if (!at(s, w))
1574
1578
  return t.get(ot).warn(c.t("sheets-table.tableNameError")), !1;
1575
1579
  h.name = i.getDisplayName(), d.name = s;
1576
1580
  }
1577
1581
  o && (h.rowColOperation = {
1578
- operationType: o.operationType === I.Insert ? I.Delete : I.Insert,
1582
+ operationType: o.operationType === M.Insert ? M.Delete : M.Insert,
1579
1583
  rowColType: o.rowColType,
1580
1584
  index: o.index,
1581
1585
  count: o.count
@@ -1609,7 +1613,7 @@ const p = {
1609
1613
  ]
1610
1614
  }), !0;
1611
1615
  }
1612
- }, Bn = {
1616
+ }, Ln = {
1613
1617
  id: "sheet.command.table-insert-row",
1614
1618
  type: y.COMMAND,
1615
1619
  handler: (t) => {
@@ -1619,10 +1623,10 @@ const p = {
1619
1623
  const { workbook: r, worksheet: s, unitId: a, subUnitId: o } = n, l = t.get(ge).getCurrentSelections();
1620
1624
  if (!l.length || l.length > 1)
1621
1625
  return !1;
1622
- t.get(_);
1623
- const h = l[0].range, c = t.get(L).getContainerTableWithRange(a, o, h);
1626
+ t.get(T);
1627
+ const h = l[0].range, c = t.get(B).getContainerTableWithRange(a, o, h);
1624
1628
  if (!c) return !1;
1625
- const m = h.endRow - h.startRow + 1, w = s.getRowCount() - 1, f = s.getCellMatrix().getDataRange().endRow, R = [], T = [];
1629
+ const m = h.endRow - h.startRow + 1, w = s.getRowCount() - 1, f = s.getCellMatrix().getDataRange().endRow, R = [], I = [];
1626
1630
  if (w - f < m)
1627
1631
  R.push({
1628
1632
  id: Pe.id,
@@ -1646,7 +1650,7 @@ const p = {
1646
1650
  }
1647
1651
  }
1648
1652
  }
1649
- }), T.push({
1653
+ }), I.push({
1650
1654
  id: p.id,
1651
1655
  params: {
1652
1656
  unitId: a,
@@ -1658,7 +1662,7 @@ const p = {
1658
1662
  }
1659
1663
  }
1660
1664
  }
1661
- }), T.push({
1665
+ }), I.push({
1662
1666
  id: Ve.id,
1663
1667
  params: {
1664
1668
  unitId: a,
@@ -1667,7 +1671,7 @@ const p = {
1667
1671
  }
1668
1672
  });
1669
1673
  else {
1670
- const M = { ...c.getRange() };
1674
+ const v = { ...c.getRange() };
1671
1675
  R.push({
1672
1676
  id: p.id,
1673
1677
  params: {
@@ -1677,13 +1681,13 @@ const p = {
1677
1681
  config: {
1678
1682
  updateRange: {
1679
1683
  newRange: {
1680
- ...M,
1681
- endRow: M.endRow + m
1684
+ ...v,
1685
+ endRow: v.endRow + m
1682
1686
  }
1683
1687
  }
1684
1688
  }
1685
1689
  }
1686
- }), T.push({
1690
+ }), I.push({
1687
1691
  id: p.id,
1688
1692
  params: {
1689
1693
  unitId: a,
@@ -1691,7 +1695,7 @@ const p = {
1691
1695
  tableId: c.getId(),
1692
1696
  config: {
1693
1697
  updateRange: {
1694
- newRange: { ...M }
1698
+ newRange: { ...v }
1695
1699
  }
1696
1700
  }
1697
1701
  }
@@ -1704,8 +1708,8 @@ const p = {
1704
1708
  range: {
1705
1709
  startRow: h.startRow,
1706
1710
  endRow: f,
1707
- startColumn: M.startColumn,
1708
- endColumn: M.endColumn
1711
+ startColumn: v.startColumn,
1712
+ endColumn: v.endColumn
1709
1713
  }
1710
1714
  },
1711
1715
  {
@@ -1714,21 +1718,21 @@ const p = {
1714
1718
  range: {
1715
1719
  startRow: h.startRow + m,
1716
1720
  endRow: f + m,
1717
- startColumn: M.startColumn,
1718
- endColumn: M.endColumn
1721
+ startColumn: v.startColumn,
1722
+ endColumn: v.endColumn
1719
1723
  }
1720
1724
  }
1721
1725
  );
1722
- K && (R.push(...K.redos), T.push(...K.undos));
1726
+ K && (R.push(...K.redos), I.push(...K.undos));
1723
1727
  }
1724
- const O = t.get(x);
1725
- return B(R, O) && t.get(A).pushUndoRedo({
1728
+ const U = t.get(x);
1729
+ return L(R, U) && t.get(A).pushUndoRedo({
1726
1730
  unitID: a,
1727
- undoMutations: T,
1731
+ undoMutations: I,
1728
1732
  redoMutations: R
1729
1733
  }), !0;
1730
1734
  }
1731
- }, Ln = {
1735
+ }, Bn = {
1732
1736
  id: "sheet.command.table-insert-col",
1733
1737
  type: y.COMMAND,
1734
1738
  handler: (t) => {
@@ -1738,7 +1742,7 @@ const p = {
1738
1742
  const { worksheet: r, unitId: s, subUnitId: a } = n, u = t.get(ge).getCurrentSelections();
1739
1743
  if (!u.length || u.length > 1)
1740
1744
  return !1;
1741
- const i = u[0].range, d = t.get(L).getContainerTableWithRange(s, a, i);
1745
+ const i = u[0].range, d = t.get(B).getContainerTableWithRange(s, a, i);
1742
1746
  if (!d) return !1;
1743
1747
  const c = i.endColumn - i.startColumn + 1, S = r.getColumnCount() - 1, w = r.getCellMatrix().getDataRange().endColumn, f = [], R = [];
1744
1748
  if (S - w < c)
@@ -1757,7 +1761,7 @@ const p = {
1757
1761
  tableId: d.getId(),
1758
1762
  config: {
1759
1763
  rowColOperation: {
1760
- operationType: I.Insert,
1764
+ operationType: M.Insert,
1761
1765
  rowColType: D.Col,
1762
1766
  index: i.startColumn,
1763
1767
  count: c
@@ -1772,7 +1776,7 @@ const p = {
1772
1776
  tableId: d.getId(),
1773
1777
  config: {
1774
1778
  rowColOperation: {
1775
- operationType: I.Delete,
1779
+ operationType: M.Delete,
1776
1780
  rowColType: D.Col,
1777
1781
  index: i.startColumn,
1778
1782
  count: c
@@ -1788,7 +1792,7 @@ const p = {
1788
1792
  }
1789
1793
  });
1790
1794
  else {
1791
- const v = d.getRange();
1795
+ const _ = d.getRange();
1792
1796
  f.push({
1793
1797
  id: p.id,
1794
1798
  params: {
@@ -1797,7 +1801,7 @@ const p = {
1797
1801
  tableId: d.getId(),
1798
1802
  config: {
1799
1803
  rowColOperation: {
1800
- operationType: I.Insert,
1804
+ operationType: M.Insert,
1801
1805
  rowColType: D.Col,
1802
1806
  index: i.startColumn,
1803
1807
  count: c
@@ -1812,7 +1816,7 @@ const p = {
1812
1816
  tableId: d.getId(),
1813
1817
  config: {
1814
1818
  rowColOperation: {
1815
- operationType: I.Delete,
1819
+ operationType: M.Delete,
1816
1820
  rowColType: D.Col,
1817
1821
  index: i.startColumn,
1818
1822
  count: c
@@ -1820,14 +1824,14 @@ const p = {
1820
1824
  }
1821
1825
  }
1822
1826
  });
1823
- const M = me(
1827
+ const v = me(
1824
1828
  t,
1825
1829
  {
1826
1830
  unitId: s,
1827
1831
  subUnitId: a,
1828
1832
  range: {
1829
- startRow: v.startRow,
1830
- endRow: v.endRow,
1833
+ startRow: _.startRow,
1834
+ endRow: _.endRow,
1831
1835
  startColumn: i.startColumn,
1832
1836
  endColumn: w
1833
1837
  }
@@ -1836,17 +1840,17 @@ const p = {
1836
1840
  unitId: s,
1837
1841
  subUnitId: a,
1838
1842
  range: {
1839
- startRow: v.startRow,
1840
- endRow: v.endRow,
1843
+ startRow: _.startRow,
1844
+ endRow: _.endRow,
1841
1845
  startColumn: i.startColumn + c,
1842
1846
  endColumn: w + c
1843
1847
  }
1844
1848
  }
1845
1849
  );
1846
- M && (f.push(...M.redos), R.push(...M.undos));
1850
+ v && (f.push(...v.redos), R.push(...v.undos));
1847
1851
  }
1848
- const T = t.get(x);
1849
- return B(f, T) && t.get(A).pushUndoRedo({
1852
+ const I = t.get(x);
1853
+ return L(f, I) && t.get(A).pushUndoRedo({
1850
1854
  unitID: s,
1851
1855
  undoMutations: R,
1852
1856
  redoMutations: f
@@ -1864,7 +1868,7 @@ const p = {
1864
1868
  const { unitId: s, subUnitId: a } = r, u = t.get(ge).getCurrentSelections();
1865
1869
  if (!u.length || u.length > 1)
1866
1870
  return !1;
1867
- const i = u[0].range, d = t.get(L).getContainerTableWithRange(s, a, i);
1871
+ const i = u[0].range, d = t.get(B).getContainerTableWithRange(s, a, i);
1868
1872
  if (!d) return !1;
1869
1873
  const c = i.endRow - i.startRow + 1, m = [], S = [], w = d.getRange();
1870
1874
  m.push({
@@ -1895,7 +1899,7 @@ const p = {
1895
1899
  }
1896
1900
  }
1897
1901
  });
1898
- const R = r.worksheet.getCellMatrix().getDataRange().endRow, T = me(
1902
+ const R = r.worksheet.getCellMatrix().getDataRange().endRow, I = me(
1899
1903
  t,
1900
1904
  {
1901
1905
  unitId: s,
@@ -1918,9 +1922,9 @@ const p = {
1918
1922
  }
1919
1923
  }
1920
1924
  );
1921
- T && (m.push(...T.redos), S.push(...T.undos));
1922
- const O = t.get(x);
1923
- return B(m, O) && t.get(A).pushUndoRedo({
1925
+ I && (m.push(...I.redos), S.push(...I.undos));
1926
+ const U = t.get(x);
1927
+ return L(m, U) && t.get(A).pushUndoRedo({
1924
1928
  unitID: s,
1925
1929
  undoMutations: S,
1926
1930
  redoMutations: m
@@ -1936,11 +1940,11 @@ const p = {
1936
1940
  if (!r)
1937
1941
  return !1;
1938
1942
  const { workbook: s, unitId: a, subUnitId: o } = r;
1939
- t.get(_);
1943
+ t.get(T);
1940
1944
  const l = t.get(ge).getCurrentSelections();
1941
1945
  if (!l.length || l.length > 1)
1942
1946
  return !1;
1943
- const h = l[0].range, c = t.get(L).getContainerTableWithRange(a, o, h);
1947
+ const h = l[0].range, c = t.get(B).getContainerTableWithRange(a, o, h);
1944
1948
  if (!c) return !1;
1945
1949
  const m = h.endColumn - h.startColumn + 1, S = [], w = [], f = c.getRange();
1946
1950
  S.push({
@@ -1951,7 +1955,7 @@ const p = {
1951
1955
  tableId: c.getId(),
1952
1956
  config: {
1953
1957
  rowColOperation: {
1954
- operationType: I.Delete,
1958
+ operationType: M.Delete,
1955
1959
  rowColType: D.Col,
1956
1960
  index: h.startColumn,
1957
1961
  count: m
@@ -1959,9 +1963,9 @@ const p = {
1959
1963
  }
1960
1964
  }
1961
1965
  });
1962
- const R = [], T = h.startColumn - f.startColumn;
1966
+ const R = [], I = h.startColumn - f.startColumn;
1963
1967
  for (let ne = 0; ne < m; ne++) {
1964
- const Te = c.getTableInfo().columns[T + ne];
1968
+ const Te = c.getTableInfo().columns[I + ne];
1965
1969
  Te && R.push(Te);
1966
1970
  }
1967
1971
  w.push({
@@ -1972,7 +1976,7 @@ const p = {
1972
1976
  tableId: c.getId(),
1973
1977
  config: {
1974
1978
  rowColOperation: {
1975
- operationType: I.Insert,
1979
+ operationType: M.Insert,
1976
1980
  rowColType: D.Col,
1977
1981
  index: h.startColumn,
1978
1982
  count: m,
@@ -1981,7 +1985,7 @@ const p = {
1981
1985
  }
1982
1986
  }
1983
1987
  });
1984
- const v = r.worksheet.getCellMatrix().getDataRange().endColumn, M = me(
1988
+ const _ = r.worksheet.getCellMatrix().getDataRange().endColumn, v = me(
1985
1989
  t,
1986
1990
  {
1987
1991
  unitId: a,
@@ -1990,7 +1994,7 @@ const p = {
1990
1994
  startRow: f.startRow,
1991
1995
  endRow: f.endRow,
1992
1996
  startColumn: h.endColumn + 1,
1993
- endColumn: v
1997
+ endColumn: _
1994
1998
  }
1995
1999
  },
1996
2000
  {
@@ -2000,13 +2004,13 @@ const p = {
2000
2004
  startRow: f.startRow,
2001
2005
  endRow: f.endRow,
2002
2006
  startColumn: h.startColumn,
2003
- endColumn: v - m
2007
+ endColumn: _ - m
2004
2008
  }
2005
2009
  }
2006
2010
  );
2007
- M && (S.push(...M.redos), w.push(...M.undos));
2011
+ v && (S.push(...v.redos), w.push(...v.undos));
2008
2012
  const K = t.get(x);
2009
- return B(S, K) && t.get(A).pushUndoRedo({
2013
+ return L(S, K) && t.get(A).pushUndoRedo({
2010
2014
  unitID: a,
2011
2015
  undoMutations: w,
2012
2016
  redoMutations: S
@@ -2048,7 +2052,7 @@ let ie = class extends k {
2048
2052
  }
2049
2053
  };
2050
2054
  ie = Pn([
2051
- Ue(0, C(_)),
2055
+ Ue(0, C(T)),
2052
2056
  Ue(1, C(ct))
2053
2057
  ], ie);
2054
2058
  var Vn = Object.getOwnPropertyDescriptor, qn = (t, e, n, r) => {
@@ -2144,7 +2148,7 @@ let le = class extends k {
2144
2148
  tableId: l.getId(),
2145
2149
  config: {
2146
2150
  rowColOperation: {
2147
- operationType: I.Insert,
2151
+ operationType: M.Insert,
2148
2152
  rowColType: D.Col,
2149
2153
  index: u.startColumn,
2150
2154
  count: h
@@ -2159,7 +2163,7 @@ let le = class extends k {
2159
2163
  tableId: l.getId(),
2160
2164
  config: {
2161
2165
  rowColOperation: {
2162
- operationType: I.Delete,
2166
+ operationType: M.Delete,
2163
2167
  rowColType: D.Col,
2164
2168
  index: u.startColumn,
2165
2169
  count: h
@@ -2283,12 +2287,12 @@ let le = class extends k {
2283
2287
  tableId: d.getId()
2284
2288
  }
2285
2289
  });
2286
- const m = d.toJSON(), { startRow: S, startColumn: w, endColumn: f } = m.range, R = this._univerInstanceService.getUnit(o), T = R == null ? void 0 : R.getSheetBySheetId(u);
2287
- if (!T)
2290
+ const m = d.toJSON(), { startRow: S, startColumn: w, endColumn: f } = m.range, R = this._univerInstanceService.getUnit(o), I = R == null ? void 0 : R.getSheetBySheetId(u);
2291
+ if (!I)
2288
2292
  return { undos: e, redos: n, preRedos: r, preUndos: s };
2289
- const O = [];
2290
- for (let v = w; v <= f; v++)
2291
- O.push(Ye(T == null ? void 0 : T.getCell(S, v)) || X(v - w + 1, this._localeService.t("sheets-table.columnPrefix")));
2293
+ const U = [];
2294
+ for (let _ = w; _ <= f; _++)
2295
+ U.push(Ye(I == null ? void 0 : I.getCell(S, _)) || X(_ - w + 1, this._localeService.t("sheets-table.columnPrefix")));
2292
2296
  e.push({
2293
2297
  id: ee.id,
2294
2298
  params: {
@@ -2296,7 +2300,7 @@ let le = class extends k {
2296
2300
  subUnitId: u,
2297
2301
  tableId: m.id,
2298
2302
  name: m.name,
2299
- header: O,
2303
+ header: U,
2300
2304
  range: m.range,
2301
2305
  options: m.options
2302
2306
  }
@@ -2311,7 +2315,7 @@ let le = class extends k {
2311
2315
  tableId: d.getId(),
2312
2316
  config: {
2313
2317
  rowColOperation: {
2314
- operationType: I.Delete,
2318
+ operationType: M.Delete,
2315
2319
  rowColType: D.Col,
2316
2320
  index: c.startColumn,
2317
2321
  count: m
@@ -2332,7 +2336,7 @@ let le = class extends k {
2332
2336
  tableId: d.getId(),
2333
2337
  config: {
2334
2338
  rowColOperation: {
2335
- operationType: I.Insert,
2339
+ operationType: M.Insert,
2336
2340
  rowColType: D.Col,
2337
2341
  index: c.startColumn,
2338
2342
  count: m,
@@ -2351,7 +2355,7 @@ let le = class extends k {
2351
2355
  tableId: d.getId(),
2352
2356
  config: {
2353
2357
  rowColOperation: {
2354
- operationType: I.Delete,
2358
+ operationType: M.Delete,
2355
2359
  rowColType: D.Col,
2356
2360
  index: i.startColumn,
2357
2361
  count: m
@@ -2372,7 +2376,7 @@ let le = class extends k {
2372
2376
  tableId: d.getId(),
2373
2377
  config: {
2374
2378
  rowColOperation: {
2375
- operationType: I.Insert,
2379
+ operationType: M.Insert,
2376
2380
  rowColType: D.Col,
2377
2381
  index: i.startColumn,
2378
2382
  count: h,
@@ -2390,7 +2394,7 @@ let le = class extends k {
2390
2394
  tableId: d.getId(),
2391
2395
  config: {
2392
2396
  rowColOperation: {
2393
- operationType: I.Delete,
2397
+ operationType: M.Delete,
2394
2398
  rowColType: D.Col,
2395
2399
  index: i.startColumn,
2396
2400
  count: h
@@ -2411,7 +2415,7 @@ let le = class extends k {
2411
2415
  tableId: d.getId(),
2412
2416
  config: {
2413
2417
  rowColOperation: {
2414
- operationType: I.Insert,
2418
+ operationType: M.Insert,
2415
2419
  rowColType: D.Col,
2416
2420
  index: i.startColumn,
2417
2421
  count: h,
@@ -2484,7 +2488,7 @@ le = qn([
2484
2488
  W(2, C(E)),
2485
2489
  W(3, C(Ae)),
2486
2490
  W(4, C(Ce)),
2487
- W(5, C(_)),
2491
+ W(5, C(T)),
2488
2492
  W(6, C(de))
2489
2493
  ], le);
2490
2494
  var kn = Object.getOwnPropertyDescriptor, Jn = (t, e, n, r) => {
@@ -2562,10 +2566,10 @@ let ue = class extends k {
2562
2566
  }
2563
2567
  };
2564
2568
  ue = Jn([
2565
- se(0, C(_)),
2569
+ se(0, C(T)),
2566
2570
  se(1, C(wt)),
2567
2571
  se(2, C(He)),
2568
- se(3, Be)
2572
+ se(3, Le)
2569
2573
  ], ue);
2570
2574
  var Qn = Object.getOwnPropertyDescriptor, Yn = (t, e, n, r) => {
2571
2575
  for (var s = r > 1 ? void 0 : r ? Qn(e, n) : e, a = t.length - 1, o; a >= 0; a--)
@@ -2587,7 +2591,7 @@ let ce = class extends k {
2587
2591
  this._tableFilteredOutRows$.next(e);
2588
2592
  }
2589
2593
  initTableHiddenRowIntercept() {
2590
- this.disposeWithMe(this._sheetInterceptorService.intercept(Le.ROW_FILTERED, {
2594
+ this.disposeWithMe(this._sheetInterceptorService.intercept(Be.ROW_FILTERED, {
2591
2595
  // 这里需要保证优先级高于sheet的筛选,因为筛选没有next,低于筛选的不会触发interceptor
2592
2596
  priority: 100,
2593
2597
  handler: (e, n, r) => {
@@ -2639,7 +2643,7 @@ let ce = class extends k {
2639
2643
  }
2640
2644
  };
2641
2645
  ce = Yn([
2642
- Re(0, C(_)),
2646
+ Re(0, C(T)),
2643
2647
  Re(1, C(Ce)),
2644
2648
  Re(2, C(E))
2645
2649
  ], ce);
@@ -2660,9 +2664,9 @@ let $e = (ae = class extends it {
2660
2664
  }
2661
2665
  onStarting() {
2662
2666
  ut(this._injector, [
2663
- [_],
2667
+ [T],
2664
2668
  [ue],
2665
- [L],
2669
+ [B],
2666
2670
  [j],
2667
2671
  [ce],
2668
2672
  [ie],
@@ -2671,14 +2675,14 @@ let $e = (ae = class extends it {
2671
2675
  [ie],
2672
2676
  [le],
2673
2677
  [ue],
2674
- [L],
2678
+ [B],
2675
2679
  [j],
2676
2680
  [ce]
2677
2681
  ]);
2678
2682
  }
2679
2683
  onReady() {
2680
2684
  Ie(this._injector, [
2681
- [_]
2685
+ [T]
2682
2686
  ]);
2683
2687
  }
2684
2688
  _initRegisterCommand() {
@@ -2693,8 +2697,8 @@ let $e = (ae = class extends it {
2693
2697
  p,
2694
2698
  Un,
2695
2699
  $n,
2696
- Bn,
2697
2700
  Ln,
2701
+ Bn,
2698
2702
  En,
2699
2703
  Wn
2700
2704
  ].forEach((t) => this._commandService.registerCommand(t));
@@ -2702,7 +2706,7 @@ let $e = (ae = class extends it {
2702
2706
  }, b(ae, "pluginName", Xe), b(ae, "type", he.UNIVER_SHEET), ae);
2703
2707
  $e = jn([
2704
2708
  fe(1, C(Ae)),
2705
- fe(2, Be),
2709
+ fe(2, Le),
2706
2710
  fe(3, C(x))
2707
2711
  ], $e);
2708
2712
  export {
@@ -2717,19 +2721,19 @@ export {
2717
2721
  yn as SetSheetTableFilterCommand,
2718
2722
  Se as SetSheetTableFilterMutation,
2719
2723
  p as SetSheetTableMutation,
2720
- Ln as SheetTableInsertColCommand,
2721
- Bn as SheetTableInsertRowCommand,
2724
+ Bn as SheetTableInsertColCommand,
2725
+ Ln as SheetTableInsertRowCommand,
2722
2726
  Wn as SheetTableRemoveColCommand,
2723
2727
  En as SheetTableRemoveRowCommand,
2724
2728
  j as SheetTableService,
2725
2729
  P as SheetsTableButtonStateEnum,
2726
- L as SheetsTableController,
2730
+ B as SheetsTableController,
2727
2731
  Q as SheetsTableSortStateEnum,
2728
2732
  Qe as TableColumnDataTypeEnum,
2729
2733
  Z as TableColumnFilterTypeEnum,
2730
- U as TableConditionTypeEnum,
2734
+ O as TableConditionTypeEnum,
2731
2735
  g as TableDateCompareTypeEnum,
2732
- _ as TableManager,
2736
+ T as TableManager,
2733
2737
  F as TableNumberCompareTypeEnum,
2734
2738
  H as TableStringCompareTypeEnum,
2735
2739
  $e as UniverSheetsTablePlugin,