@univerjs/sheets-ui 1.0.3 → 1.1.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.
Files changed (104) hide show
  1. package/lib/cjs/index.js +775 -483
  2. package/lib/cjs/locale/ar-SA.js +15 -0
  3. package/lib/cjs/locale/ca-ES.js +15 -0
  4. package/lib/cjs/locale/de-DE.js +15 -0
  5. package/lib/cjs/locale/en-US.js +15 -0
  6. package/lib/cjs/locale/es-ES.js +15 -0
  7. package/lib/cjs/locale/fa-IR.js +15 -0
  8. package/lib/cjs/locale/fr-FR.js +15 -0
  9. package/lib/cjs/locale/id-ID.js +15 -0
  10. package/lib/cjs/locale/it-IT.js +15 -0
  11. package/lib/cjs/locale/ja-JP.js +15 -0
  12. package/lib/cjs/locale/ko-KR.js +15 -0
  13. package/lib/cjs/locale/pl-PL.js +15 -0
  14. package/lib/cjs/locale/pt-BR.js +15 -0
  15. package/lib/cjs/locale/ru-RU.js +15 -0
  16. package/lib/cjs/locale/sk-SK.js +15 -0
  17. package/lib/cjs/locale/vi-VN.js +15 -0
  18. package/lib/cjs/locale/zh-CN.js +15 -0
  19. package/lib/cjs/locale/zh-HK.js +15 -0
  20. package/lib/cjs/locale/zh-TW.js +15 -0
  21. package/lib/es/index.js +742 -451
  22. package/lib/es/locale/ar-SA.js +15 -0
  23. package/lib/es/locale/ca-ES.js +15 -0
  24. package/lib/es/locale/de-DE.js +15 -0
  25. package/lib/es/locale/en-US.js +15 -0
  26. package/lib/es/locale/es-ES.js +15 -0
  27. package/lib/es/locale/fa-IR.js +15 -0
  28. package/lib/es/locale/fr-FR.js +15 -0
  29. package/lib/es/locale/id-ID.js +15 -0
  30. package/lib/es/locale/it-IT.js +15 -0
  31. package/lib/es/locale/ja-JP.js +15 -0
  32. package/lib/es/locale/ko-KR.js +15 -0
  33. package/lib/es/locale/pl-PL.js +15 -0
  34. package/lib/es/locale/pt-BR.js +15 -0
  35. package/lib/es/locale/ru-RU.js +15 -0
  36. package/lib/es/locale/sk-SK.js +15 -0
  37. package/lib/es/locale/vi-VN.js +15 -0
  38. package/lib/es/locale/zh-CN.js +15 -0
  39. package/lib/es/locale/zh-HK.js +15 -0
  40. package/lib/es/locale/zh-TW.js +15 -0
  41. package/lib/index.css +0 -28
  42. package/lib/index.js +742 -451
  43. package/lib/locale/ar-SA.js +15 -0
  44. package/lib/locale/ca-ES.js +15 -0
  45. package/lib/locale/de-DE.js +15 -0
  46. package/lib/locale/en-US.js +15 -0
  47. package/lib/locale/es-ES.js +15 -0
  48. package/lib/locale/fa-IR.js +15 -0
  49. package/lib/locale/fr-FR.js +15 -0
  50. package/lib/locale/id-ID.js +15 -0
  51. package/lib/locale/it-IT.js +15 -0
  52. package/lib/locale/ja-JP.js +15 -0
  53. package/lib/locale/ko-KR.js +15 -0
  54. package/lib/locale/pl-PL.js +15 -0
  55. package/lib/locale/pt-BR.js +15 -0
  56. package/lib/locale/ru-RU.js +15 -0
  57. package/lib/locale/sk-SK.js +15 -0
  58. package/lib/locale/vi-VN.js +15 -0
  59. package/lib/locale/zh-CN.js +15 -0
  60. package/lib/locale/zh-HK.js +15 -0
  61. package/lib/locale/zh-TW.js +15 -0
  62. package/lib/types/commands/commands/set-selection.command.d.ts +2 -0
  63. package/lib/types/{views/editor-container/index.d.ts → common/selection-input.d.ts} +3 -2
  64. package/lib/types/config/config.d.ts +6 -0
  65. package/lib/types/controllers/editor/data-sync.controller.d.ts +1 -0
  66. package/lib/types/controllers/editor/editing.render-controller.d.ts +1 -0
  67. package/lib/types/controllers/render-controllers/contextmenu.render-controller.d.ts +6 -3
  68. package/lib/types/controllers/render-controllers/desktop-cell-edit.render-controller.d.ts +3 -1
  69. package/lib/types/index.d.ts +6 -4
  70. package/lib/types/locale/en-US.d.ts +15 -0
  71. package/lib/types/menu/zoom.menu.d.ts +2 -2
  72. package/lib/types/services/cell-alert-manager.service.d.ts +1 -0
  73. package/lib/types/services/editor/cell-editor-resize.service.d.ts +6 -0
  74. package/lib/types/services/editor-bridge.service.d.ts +4 -0
  75. package/lib/types/services/hover-manager.service.d.ts +2 -2
  76. package/lib/types/services/selection/base-selection-render.service.d.ts +2 -0
  77. package/lib/types/services/selection/selection-control.d.ts +6 -1
  78. package/lib/types/services/selection/selection-render.service.d.ts +1 -0
  79. package/lib/types/views/border-panel/interface.d.ts +37 -4
  80. package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +5 -2
  81. package/lib/types/views/editor-container/focus-editor.d.ts +3 -2
  82. package/lib/umd/facade.js +3 -1
  83. package/lib/umd/index.js +12 -12
  84. package/lib/umd/locale/ar-SA.js +1 -1
  85. package/lib/umd/locale/ca-ES.js +1 -1
  86. package/lib/umd/locale/de-DE.js +1 -1
  87. package/lib/umd/locale/en-US.js +1 -1
  88. package/lib/umd/locale/es-ES.js +1 -1
  89. package/lib/umd/locale/fa-IR.js +1 -1
  90. package/lib/umd/locale/fr-FR.js +1 -1
  91. package/lib/umd/locale/id-ID.js +1 -1
  92. package/lib/umd/locale/it-IT.js +1 -1
  93. package/lib/umd/locale/ja-JP.js +1 -1
  94. package/lib/umd/locale/ko-KR.js +1 -1
  95. package/lib/umd/locale/pl-PL.js +1 -1
  96. package/lib/umd/locale/pt-BR.js +1 -1
  97. package/lib/umd/locale/ru-RU.js +1 -1
  98. package/lib/umd/locale/sk-SK.js +1 -1
  99. package/lib/umd/locale/vi-VN.js +1 -1
  100. package/lib/umd/locale/zh-CN.js +1 -1
  101. package/lib/umd/locale/zh-HK.js +1 -1
  102. package/lib/umd/locale/zh-TW.js +1 -1
  103. package/package.json +16 -16
  104. package/lib/types/views/sheet-slider/SheetZoomInput.d.ts +0 -18
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "تقليص لاحتواء الخلية",
22
22
  textRotateMode: { main: "تدوير النص" },
23
23
  toggleGridlines: "تبديل خطوط الشبكة",
24
+ zoom: "التكبير والتصغير",
24
25
  fullscreen: "ملء الشاشة"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "موافق",
36
37
  cancel: "إلغاء"
37
38
  },
39
+ borderStyle: {
40
+ thin: "رفيع",
41
+ hair: "رفيع جدًا",
42
+ dotted: "منقّط",
43
+ dashed: "متقطّع",
44
+ dashDot: "شرطة ونقطة",
45
+ dashDotDot: "شرطة ونقطتان",
46
+ medium: "متوسط",
47
+ mediumDashed: "متقطّع متوسط",
48
+ mediumDashDot: "شرطة ونقطة متوسط",
49
+ mediumDashDotDot: "شرطة ونقطتان متوسط",
50
+ thick: "سميك",
51
+ double: "مزدوج"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "الحد العلوي",
40
55
  borderBottom: "الحد السفلي",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Redueix per ajustar",
22
22
  textRotateMode: { main: "Girar text" },
23
23
  toggleGridlines: "Alternar línies de quadrícula",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Pantalla completa"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "D'acord",
36
37
  cancel: "Cancel·lar"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Fi",
41
+ hair: "Molt fi",
42
+ dotted: "Puntejat",
43
+ dashed: "Discontinu",
44
+ dashDot: "Guió i punt",
45
+ dashDotDot: "Guió i dos punts",
46
+ medium: "Mitjà",
47
+ mediumDashed: "Discontinu mitjà",
48
+ mediumDashDot: "Guió i punt mitjà",
49
+ mediumDashDotDot: "Guió i dos punts mitjà",
50
+ thick: "Gruixut",
51
+ double: "Doble"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "voraSuperior",
40
55
  borderBottom: "voraInferior",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "An Zellgröße anpassen",
22
22
  textRotateMode: { main: "Text drehen" },
23
23
  toggleGridlines: "Gitterlinien ein-/ausblenden",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Vollbild"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Abbrechen"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Dünn",
41
+ hair: "Haarlinie",
42
+ dotted: "Gepunktet",
43
+ dashed: "Gestrichelt",
44
+ dashDot: "Strich-Punkt",
45
+ dashDotDot: "Strich-Punkt-Punkt",
46
+ medium: "Mittel",
47
+ mediumDashed: "Mittel gestrichelt",
48
+ mediumDashDot: "Mittel Strich-Punkt",
49
+ mediumDashDotDot: "Mittel Strich-Punkt-Punkt",
50
+ thick: "Dick",
51
+ double: "Doppelt"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "Rahmen oben",
40
55
  borderBottom: "Rahmen unten",
@@ -36,6 +36,7 @@ const locale = { "sheets-ui": {
36
36
  shrinkToFit: "Shrink to fit",
37
37
  textRotateMode: { main: "Text rotate" },
38
38
  toggleGridlines: "Toggle Gridlines",
39
+ zoom: "Zoom",
39
40
  fullscreen: "Fullscreen"
40
41
  },
41
42
  align: {
@@ -50,6 +51,20 @@ const locale = { "sheets-ui": {
50
51
  confirm: "OK",
51
52
  cancel: "Cancel"
52
53
  },
54
+ borderStyle: {
55
+ thin: "Thin",
56
+ hair: "Hairline",
57
+ dotted: "Dotted",
58
+ dashed: "Dashed",
59
+ dashDot: "Dash-dot",
60
+ dashDotDot: "Dash-dot-dot",
61
+ medium: "Medium",
62
+ mediumDashed: "Medium dashed",
63
+ mediumDashDot: "Medium dash-dot",
64
+ mediumDashDotDot: "Medium dash-dot-dot",
65
+ thick: "Thick",
66
+ double: "Double"
67
+ },
53
68
  borderLine: {
54
69
  borderTop: "borderTop",
55
70
  borderBottom: "borderBottom",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Reducir hasta ajustar",
22
22
  textRotateMode: { main: "Girar texto" },
23
23
  toggleGridlines: "Alternar líneas de cuadrícula",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Pantalla completa"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "Aceptar",
36
37
  cancel: "Cancelar"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Fino",
41
+ hair: "Muy fino",
42
+ dotted: "Punteado",
43
+ dashed: "Discontinuo",
44
+ dashDot: "Guion y punto",
45
+ dashDotDot: "Guion y dos puntos",
46
+ medium: "Medio",
47
+ mediumDashed: "Discontinuo medio",
48
+ mediumDashDot: "Guion y punto medio",
49
+ mediumDashDotDot: "Guion y dos puntos medio",
50
+ thick: "Grueso",
51
+ double: "Doble"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "bordeSuperior",
40
55
  borderBottom: "bordeInferior",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "کوچک کردن برای جا شدن",
22
22
  textRotateMode: { main: "چرخش متن" },
23
23
  toggleGridlines: "تغییر وضعیت خطوط شبکه",
24
+ zoom: "بزرگ‌نمایی",
24
25
  fullscreen: "تمام‌صفحه"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "تایید",
36
37
  cancel: "انصراف"
37
38
  },
39
+ borderStyle: {
40
+ thin: "نازک",
41
+ hair: "بسیار نازک",
42
+ dotted: "نقطه‌چین",
43
+ dashed: "خط‌چین",
44
+ dashDot: "خط و نقطه",
45
+ dashDotDot: "خط و دو نقطه",
46
+ medium: "متوسط",
47
+ mediumDashed: "خط‌چین متوسط",
48
+ mediumDashDot: "خط و نقطه متوسط",
49
+ mediumDashDotDot: "خط و دو نقطه متوسط",
50
+ thick: "ضخیم",
51
+ double: "دوتایی"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "خط بالای قاب",
40
55
  borderBottom: "خط پایینی قاب",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Réduire pour tenir",
22
22
  textRotateMode: { main: "Rotation du texte" },
23
23
  toggleGridlines: "Activer/désactiver le quadrillage",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Plein écran"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Annuler"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Fin",
41
+ hair: "Très fin",
42
+ dotted: "Pointillé",
43
+ dashed: "Tirets",
44
+ dashDot: "Tiret-point",
45
+ dashDotDot: "Tiret-point-point",
46
+ medium: "Moyen",
47
+ mediumDashed: "Tirets moyens",
48
+ mediumDashDot: "Tiret-point moyen",
49
+ mediumDashDotDot: "Tiret-point-point moyen",
50
+ thick: "Épais",
51
+ double: "Double"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "bordureHaut",
40
55
  borderBottom: "bordureBas",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Kecilkan agar pas",
22
22
  textRotateMode: { main: "Putar teks" },
23
23
  toggleGridlines: "Alihkan garis kisi",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Layar penuh"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Batal"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Tipis",
41
+ hair: "Sangat tipis",
42
+ dotted: "Titik-titik",
43
+ dashed: "Putus-putus",
44
+ dashDot: "Garis-titik",
45
+ dashDotDot: "Garis-dua titik",
46
+ medium: "Sedang",
47
+ mediumDashed: "Putus-putus sedang",
48
+ mediumDashDot: "Garis-titik sedang",
49
+ mediumDashDotDot: "Garis-dua titik sedang",
50
+ thick: "Tebal",
51
+ double: "Ganda"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "Batas atas",
40
55
  borderBottom: "Batas bawah",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Riduci e adatta",
22
22
  textRotateMode: { main: "Rotazione testo" },
23
23
  toggleGridlines: "Mostra/Nascondi griglia",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Schermo intero"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Annulla"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Sottile",
41
+ hair: "Sottilissimo",
42
+ dotted: "Punteggiato",
43
+ dashed: "Tratteggiato",
44
+ dashDot: "Tratto-punto",
45
+ dashDotDot: "Tratto-punto-punto",
46
+ medium: "Medio",
47
+ mediumDashed: "Tratteggiato medio",
48
+ mediumDashDot: "Tratto-punto medio",
49
+ mediumDashDotDot: "Tratto-punto-punto medio",
50
+ thick: "Spesso",
51
+ double: "Doppio"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "bordoSuperiore",
40
55
  borderBottom: "bordoInferiore",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "縮小して全体を表示",
22
22
  textRotateMode: { main: "文字の回転" },
23
23
  toggleGridlines: "グリッド線の表示/非表示",
24
+ zoom: "ズーム",
24
25
  fullscreen: "全画面表示"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "確認",
36
37
  cancel: "キャンセル"
37
38
  },
39
+ borderStyle: {
40
+ thin: "細線",
41
+ hair: "極細線",
42
+ dotted: "点線",
43
+ dashed: "破線",
44
+ dashDot: "一点鎖線",
45
+ dashDotDot: "二点鎖線",
46
+ medium: "中太線",
47
+ mediumDashed: "中太の破線",
48
+ mediumDashDot: "中太の一点鎖線",
49
+ mediumDashDotDot: "中太の二点鎖線",
50
+ thick: "太線",
51
+ double: "二重線"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "上",
40
55
  borderBottom: "下",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "셀에 맞춤",
22
22
  textRotateMode: { main: "텍스트 회전" },
23
23
  toggleGridlines: "눈금선 표시/숨기기",
24
+ zoom: "확대/축소",
24
25
  fullscreen: "전체 화면"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "확인",
36
37
  cancel: "취소"
37
38
  },
39
+ borderStyle: {
40
+ thin: "가는 실선",
41
+ hair: "매우 가는 선",
42
+ dotted: "점선",
43
+ dashed: "파선",
44
+ dashDot: "일점쇄선",
45
+ dashDotDot: "이점쇄선",
46
+ medium: "중간 실선",
47
+ mediumDashed: "중간 파선",
48
+ mediumDashDot: "중간 일점쇄선",
49
+ mediumDashDotDot: "중간 이점쇄선",
50
+ thick: "굵은 실선",
51
+ double: "이중선"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "위쪽",
40
55
  borderBottom: "아래쪽",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Zmniejsz, aby dopasować",
22
22
  textRotateMode: { main: "Obrót tekstu" },
23
23
  toggleGridlines: "Przełącz linie siatki",
24
+ zoom: "Powiększenie",
24
25
  fullscreen: "Pełny ekran"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Anuluj"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Cienka",
41
+ hair: "Bardzo cienka",
42
+ dotted: "Kropkowana",
43
+ dashed: "Kreskowana",
44
+ dashDot: "Kreska-kropka",
45
+ dashDotDot: "Kreska-kropka-kropka",
46
+ medium: "Średnia",
47
+ mediumDashed: "Średnia kreskowana",
48
+ mediumDashDot: "Średnia kreska-kropka",
49
+ mediumDashDotDot: "Średnia kreska-kropka-kropka",
50
+ thick: "Gruba",
51
+ double: "Podwójna"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "Góra",
40
55
  borderBottom: "Dół",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Reduzir para caber",
22
22
  textRotateMode: { main: "Rotação de texto" },
23
23
  toggleGridlines: "Mostrar/Ocultar linhas de grade",
24
+ zoom: "Zoom",
24
25
  fullscreen: "Tela cheia"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Cancelar"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Fina",
41
+ hair: "Muito fina",
42
+ dotted: "Pontilhada",
43
+ dashed: "Tracejada",
44
+ dashDot: "Traço e ponto",
45
+ dashDotDot: "Traço e dois pontos",
46
+ medium: "Média",
47
+ mediumDashed: "Tracejada média",
48
+ mediumDashDot: "Traço e ponto médio",
49
+ mediumDashDotDot: "Traço e dois pontos médio",
50
+ thick: "Grossa",
51
+ double: "Dupla"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "borda superior",
40
55
  borderBottom: "borda inferior",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Уменьшить до размера ячейки",
22
22
  textRotateMode: { main: "Поворот текста" },
23
23
  toggleGridlines: "Переключить сетку",
24
+ zoom: "Масштаб",
24
25
  fullscreen: "Полноэкранный режим"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "ОК",
36
37
  cancel: "Отмена"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Тонкая",
41
+ hair: "Волосяная",
42
+ dotted: "Точечная",
43
+ dashed: "Штриховая",
44
+ dashDot: "Штрихпунктирная",
45
+ dashDotDot: "Штрихпунктирная с двумя точками",
46
+ medium: "Средняя",
47
+ mediumDashed: "Средняя штриховая",
48
+ mediumDashDot: "Средняя штрихпунктирная",
49
+ mediumDashDotDot: "Средняя штрихпунктирная с двумя точками",
50
+ thick: "Толстая",
51
+ double: "Двойная"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "верхняя граница",
40
55
  borderBottom: "нижняя граница",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Zmenšiť podľa veľkosti bunky",
22
22
  textRotateMode: { main: "Otočenie textu" },
23
23
  toggleGridlines: "Prepnúť mriežku",
24
+ zoom: "Priblíženie",
24
25
  fullscreen: "Celá obrazovka"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "OK",
36
37
  cancel: "Zrušiť"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Tenká",
41
+ hair: "Vlasová",
42
+ dotted: "Bodkovaná",
43
+ dashed: "Čiarkovaná",
44
+ dashDot: "Bodkočiarkovaná",
45
+ dashDotDot: "Dvojbodkočiarkovaná",
46
+ medium: "Stredná",
47
+ mediumDashed: "Stredná čiarkovaná",
48
+ mediumDashDot: "Stredná bodkočiarkovaná",
49
+ mediumDashDotDot: "Stredná dvojbodkočiarkovaná",
50
+ thick: "Hrubá",
51
+ double: "Dvojitá"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "hornéOhraničenie",
40
55
  borderBottom: "dolnéOhraničenie",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "Thu nhỏ để vừa",
22
22
  textRotateMode: { main: "Xoay văn bản" },
23
23
  toggleGridlines: "Chuyển đổi đường lưới",
24
+ zoom: "Thu phóng",
24
25
  fullscreen: "Toàn màn hình"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "Xác nhận",
36
37
  cancel: "Hủy"
37
38
  },
39
+ borderStyle: {
40
+ thin: "Nét mảnh",
41
+ hair: "Nét cực mảnh",
42
+ dotted: "Nét chấm",
43
+ dashed: "Nét đứt",
44
+ dashDot: "Gạch chấm",
45
+ dashDotDot: "Gạch hai chấm",
46
+ medium: "Nét vừa",
47
+ mediumDashed: "Nét đứt vừa",
48
+ mediumDashDot: "Gạch chấm vừa",
49
+ mediumDashDotDot: "Gạch hai chấm vừa",
50
+ thick: "Nét đậm",
51
+ double: "Nét đôi"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "Viền trên",
40
55
  borderBottom: "Viền dưới",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "缩小字体填充",
22
22
  textRotateMode: { main: "文本旋转" },
23
23
  toggleGridlines: "切换网格线",
24
+ zoom: "缩放",
24
25
  fullscreen: "全屏"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "确定",
36
37
  cancel: "取消"
37
38
  },
39
+ borderStyle: {
40
+ thin: "细实线",
41
+ hair: "极细线",
42
+ dotted: "点线",
43
+ dashed: "虚线",
44
+ dashDot: "点划线",
45
+ dashDotDot: "双点划线",
46
+ medium: "中等实线",
47
+ mediumDashed: "中等虚线",
48
+ mediumDashDot: "中等点划线",
49
+ mediumDashDotDot: "中等双点划线",
50
+ thick: "粗实线",
51
+ double: "双线"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "上框线",
40
55
  borderBottom: "下框线",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "縮小字型填滿",
22
22
  textRotateMode: { main: "文字旋轉" },
23
23
  toggleGridlines: "切換網格線",
24
+ zoom: "縮放",
24
25
  fullscreen: "全螢幕"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "確定",
36
37
  cancel: "取消"
37
38
  },
39
+ borderStyle: {
40
+ thin: "細實線",
41
+ hair: "極細線",
42
+ dotted: "點線",
43
+ dashed: "虛線",
44
+ dashDot: "點劃線",
45
+ dashDotDot: "雙點劃線",
46
+ medium: "中等實線",
47
+ mediumDashed: "中等虛線",
48
+ mediumDashDot: "中等點劃線",
49
+ mediumDashDotDot: "中等雙點劃線",
50
+ thick: "粗實線",
51
+ double: "雙線"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "上框線",
40
55
  borderBottom: "下框線",
@@ -21,6 +21,7 @@ const locale = { "sheets-ui": {
21
21
  shrinkToFit: "縮小字型填滿",
22
22
  textRotateMode: { main: "文字旋轉" },
23
23
  toggleGridlines: "切換網格線",
24
+ zoom: "縮放",
24
25
  fullscreen: "全螢幕"
25
26
  },
26
27
  align: {
@@ -35,6 +36,20 @@ const locale = { "sheets-ui": {
35
36
  confirm: "確定",
36
37
  cancel: "取消"
37
38
  },
39
+ borderStyle: {
40
+ thin: "細實線",
41
+ hair: "極細線",
42
+ dotted: "點線",
43
+ dashed: "虛線",
44
+ dashDot: "點劃線",
45
+ dashDotDot: "雙點劃線",
46
+ medium: "中等實線",
47
+ mediumDashed: "中等虛線",
48
+ mediumDashDot: "中等點劃線",
49
+ mediumDashDotDot: "中等雙點劃線",
50
+ thick: "粗實線",
51
+ double: "雙線"
52
+ },
38
53
  borderLine: {
39
54
  borderTop: "上框線",
40
55
  borderBottom: "下框線",
@@ -48,6 +48,8 @@ export interface IExpandSelectionCommandParams {
48
48
  jumpOver?: JumpOver;
49
49
  nextStep?: number;
50
50
  extra?: string;
51
+ /** Use the normal selection's primary cell to start a formula reference. */
52
+ fromCurrentSelection?: boolean;
51
53
  }
52
54
  export declare const ExpandSelectionCommand: ICommand<IExpandSelectionCommandParams>;
53
55
  export interface ISelectAllCommandParams {
@@ -13,5 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export * from './EditorContainer';
17
- export { useKeyEventConfig } from './hooks';
16
+ import type { IMouseEvent } from '@univerjs/engine-render';
17
+ export declare function isSheetContextMenuGesture(event: Pick<IMouseEvent, 'button' | 'ctrlKey'>, isMac: boolean, refSelectionsEnabled: boolean): boolean;
18
+ export declare function isSheetMultiSelectModifier(event: Pick<IMouseEvent, 'ctrlKey' | 'metaKey'>, isMac: boolean): boolean;
@@ -23,6 +23,12 @@ export interface IUniverSheetsUIConfig {
23
23
  menu?: MenuConfig;
24
24
  disableAutoFocus?: true;
25
25
  override?: DependencyOverride;
26
+ /**
27
+ * Whether arrow keys may wrap to another row or column at worksheet boundaries.
28
+ * Does not affect Enter/Tab cycling within selected ranges.
29
+ * @default true
30
+ */
31
+ allowArrowKeyWrapOnSheetBoundary?: boolean;
26
32
  /**
27
33
  * The maximum count of rows triggering auto height. This is used to avoid performance issue.
28
34
  * @default 1000
@@ -47,6 +47,7 @@ export declare class EditorDataSyncController extends Disposable {
47
47
  private _syncFormulaBarTextColorOnThemeChange;
48
48
  private _refreshRenderStyleConfig;
49
49
  private _checkAndSetRenderStyleConfig;
50
+ private _getFormulaBarTextColor;
50
51
  protected _getSourceStyleRenderValue(isFormulaBar: boolean): BooleanNumber;
51
52
  private _clearParagraph;
52
53
  }
@@ -67,6 +67,7 @@ export declare class EditingRenderController extends Disposable {
67
67
  */
68
68
  private _commandExecutedListener;
69
69
  private _handleEditorVisible;
70
+ private _resizeEditorOnOpen;
70
71
  private _cacheEmptyCellTextStyle;
71
72
  private _refreshCurrentSelections;
72
73
  private _handleEditorInvisible;
@@ -17,9 +17,9 @@ import type { Workbook } from '@univerjs/core';
17
17
  import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
18
18
  import type { ISheetEmbedRuntimeDomScope } from '../../services/sheet-embed-integration.service';
19
19
  import type { ISheetHostChromeOverride } from '../../services/sheet-host-chrome-override.service';
20
- import { Disposable, Injector } from '@univerjs/core';
20
+ import { Disposable, IContextService, Injector } from '@univerjs/core';
21
21
  import { SheetsSelectionsService } from '@univerjs/sheets';
22
- import { IContextMenuService } from '@univerjs/ui';
22
+ import { IContextMenuService, IPlatformService } from '@univerjs/ui';
23
23
  import { ISheetSelectionRenderService } from '../../services/selection/base-selection-render.service';
24
24
  /**
25
25
  * This controller subscribe to context menu events in sheet rendering views and invoke context menu at a correct
@@ -31,8 +31,11 @@ export declare class SheetContextMenuRenderController extends Disposable impleme
31
31
  private readonly _selectionManagerService;
32
32
  private readonly _selectionRenderService;
33
33
  private readonly _injector;
34
- constructor(_context: IRenderContext<Workbook>, _contextMenuService: IContextMenuService, _selectionManagerService: SheetsSelectionsService, _selectionRenderService: ISheetSelectionRenderService, _injector: Injector);
34
+ private readonly _platformService;
35
+ private readonly _contextService;
36
+ constructor(_context: IRenderContext<Workbook>, _contextMenuService: IContextMenuService, _selectionManagerService: SheetsSelectionsService, _selectionRenderService: ISheetSelectionRenderService, _injector: Injector, _platformService: IPlatformService, _contextService: IContextService);
35
37
  private _init;
38
+ private _isContextMenuGesture;
36
39
  private _initEmbedRuntimeSessionListener;
37
40
  private _shouldSuppressHostContextMenu;
38
41
  private _getSheetHostChromeOverrideService;
@@ -18,6 +18,7 @@ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
18
18
  import { ICommandService, IContextService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
19
19
  import { IRenderManagerService } from '@univerjs/engine-render';
20
20
  import { SheetsSelectionsService } from '@univerjs/sheets';
21
+ import { IPlatformService } from '@univerjs/ui';
21
22
  import { IEditorBridgeService } from '../../services/editor-bridge.service';
22
23
  import { ISheetEmbedRuntimeFocusCoordinator } from '../../services/sheet-embed-integration.service';
23
24
  export declare class DesktopCellEditRenderController extends RxDisposable implements IRenderModule {
@@ -28,9 +29,10 @@ export declare class DesktopCellEditRenderController extends RxDisposable implem
28
29
  private readonly _selectionManagerService;
29
30
  private readonly _contextService;
30
31
  private readonly _renderManagerService;
32
+ private readonly _platformService;
31
33
  private readonly _embedRuntimeFocusCoordinator?;
32
34
  private _d;
33
- constructor(_context: IRenderContext<Workbook>, _instanceService: IUniverInstanceService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _selectionManagerService: SheetsSelectionsService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _embedRuntimeFocusCoordinator?: ISheetEmbedRuntimeFocusCoordinator | undefined);
35
+ constructor(_context: IRenderContext<Workbook>, _instanceService: IUniverInstanceService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _selectionManagerService: SheetsSelectionsService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _platformService: IPlatformService, _embedRuntimeFocusCoordinator?: ISheetEmbedRuntimeFocusCoordinator | undefined);
34
36
  private _init;
35
37
  private _disposeCurrent;
36
38
  private _initEventListener;