@univerjs/sheets 0.12.2 → 0.12.3

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
@@ -3231,6 +3231,13 @@ function Ct(n, e, t, o, s, r, i) {
3231
3231
  const c = r ? n.getCellWithFilteredInterceptors(i, l, us, ms) : n.getCellWithFilteredInterceptors(u, i, us, ms);
3232
3232
  !c || !c.s || (a[u] || (a[u] = {}), a[u][l] = { s: c.s });
3233
3233
  }
3234
+ for (const u in a) {
3235
+ for (const l in a[u]) {
3236
+ const c = a[u][l];
3237
+ c.s && typeof c.s == "object" && A.isEmptyObject(c.s) && delete c.s, A.isEmptyObject(c) && delete a[u][l];
3238
+ }
3239
+ A.isEmptyObject(a[u]) && delete a[u];
3240
+ }
3234
3241
  return a;
3235
3242
  }
3236
3243
  var Vu = Object.getOwnPropertyDescriptor, Lu = (n, e, t, o) => {
@@ -3439,7 +3446,7 @@ class Fo {
3439
3446
  R(this, "type", x.SelectRange);
3440
3447
  R(this, "subType", _.View);
3441
3448
  R(this, "status", q.INIT);
3442
- R(this, "value", !0);
3449
+ R(this, "value", !1);
3443
3450
  R(this, "id");
3444
3451
  R(this, "unitId");
3445
3452
  R(this, "subUnitId");
@@ -11458,7 +11465,7 @@ let Wt = class extends ue {
11458
11465
  }
11459
11466
  _getSelectionActions(e, t, o) {
11460
11467
  var l, c, d, h, g, m, f, C, p, w, I, S;
11461
- const s = (d = (c = this._permissionService.getPermissionPoint((l = new Ve(e, t, o.permissionId)) == null ? void 0 : l.id)) == null ? void 0 : c.value) != null ? d : !0, r = (m = (g = this._permissionService.getPermissionPoint((h = new Fo(e, t, o.permissionId)) == null ? void 0 : h.id)) == null ? void 0 : g.value) != null ? m : !0, i = (p = (C = this._permissionService.getPermissionPoint((f = new ai(e, t, o.permissionId)) == null ? void 0 : f.id)) == null ? void 0 : C.value) != null ? p : !1, a = (S = (I = this._permissionService.getPermissionPoint((w = new ii(e, t, o.permissionId)) == null ? void 0 : w.id)) == null ? void 0 : I.value) != null ? S : !1;
11468
+ const s = (d = (c = this._permissionService.getPermissionPoint((l = new Ve(e, t, o.permissionId)) == null ? void 0 : l.id)) == null ? void 0 : c.value) != null ? d : !1, r = (m = (g = this._permissionService.getPermissionPoint((h = new Fo(e, t, o.permissionId)) == null ? void 0 : h.id)) == null ? void 0 : g.value) != null ? m : !1, i = (p = (C = this._permissionService.getPermissionPoint((f = new ai(e, t, o.permissionId)) == null ? void 0 : f.id)) == null ? void 0 : C.value) != null ? p : !1, a = (S = (I = this._permissionService.getPermissionPoint((w = new ii(e, t, o.permissionId)) == null ? void 0 : w.id)) == null ? void 0 : I.value) != null ? S : !1;
11462
11469
  return {
11463
11470
  [_.Edit]: s,
11464
11471
  [_.View]: r,
@@ -1,14 +1,14 @@
1
1
  const e = {
2
2
  sheets: {
3
3
  tabs: {
4
- sheetCopy: "(복사본{0})",
5
- sheet: "시트"
4
+ sheetCopy: "(コピー{0})",
5
+ sheet: "シート"
6
6
  },
7
7
  info: {
8
- overlappingSelections: "겹치는 영역에서는 해당 명령을 사용할 수 없습니다.",
9
- acrossMergedCell: "병합된 셀을 가로지름",
10
- partOfCell: "병합된 셀의 일부만 선택됨",
11
- hideSheet: "이 시트를 숨기면 표시되는 시트가 없습니다."
8
+ overlappingSelections: "そのコマンドは、重なり合う選択範囲に対しては使用できません。",
9
+ acrossMergedCell: "結合セルをまたいでいます",
10
+ partOfCell: "結合セルの一部が選択されています",
11
+ hideSheet: "表示されるシートがなくなるため、このシートを非表示にできません。"
12
12
  }
13
13
  }
14
14
  };