@univerjs/sheets-zen-editor 0.23.0 → 0.24.0-insiders.20260528-29f582d
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/cjs/index.js +8 -6
- package/lib/cjs/locale/ar-SA.js +12 -0
- package/lib/cjs/locale/ca-ES.js +2 -2
- package/lib/cjs/locale/de-DE.js +12 -0
- package/lib/cjs/locale/en-US.js +2 -2
- package/lib/cjs/locale/es-ES.js +2 -2
- package/lib/cjs/locale/fa-IR.js +2 -2
- package/lib/cjs/locale/fr-FR.js +2 -2
- package/lib/cjs/locale/id-ID.js +12 -0
- package/lib/cjs/locale/it-IT.js +12 -0
- package/lib/cjs/locale/ja-JP.js +2 -2
- package/lib/cjs/locale/ko-KR.js +2 -2
- package/lib/cjs/locale/pl-PL.js +12 -0
- package/lib/cjs/locale/pt-BR.js +12 -0
- package/lib/cjs/locale/ru-RU.js +2 -2
- package/lib/cjs/locale/sk-SK.js +2 -2
- package/lib/cjs/locale/vi-VN.js +2 -2
- package/lib/cjs/locale/zh-CN.js +2 -2
- package/lib/cjs/locale/zh-HK.js +12 -0
- package/lib/cjs/locale/zh-TW.js +2 -2
- package/lib/es/index.js +8 -6
- package/lib/es/locale/ar-SA.js +11 -0
- package/lib/es/locale/ca-ES.js +2 -2
- package/lib/es/locale/de-DE.js +11 -0
- package/lib/es/locale/en-US.js +2 -2
- package/lib/es/locale/es-ES.js +2 -2
- package/lib/es/locale/fa-IR.js +2 -2
- package/lib/es/locale/fr-FR.js +2 -2
- package/lib/es/locale/id-ID.js +11 -0
- package/lib/es/locale/it-IT.js +11 -0
- package/lib/es/locale/ja-JP.js +2 -2
- package/lib/es/locale/ko-KR.js +2 -2
- package/lib/es/locale/pl-PL.js +11 -0
- package/lib/es/locale/pt-BR.js +11 -0
- package/lib/es/locale/ru-RU.js +2 -2
- package/lib/es/locale/sk-SK.js +2 -2
- package/lib/es/locale/vi-VN.js +2 -2
- package/lib/es/locale/zh-CN.js +2 -2
- package/lib/es/locale/zh-HK.js +11 -0
- package/lib/es/locale/zh-TW.js +2 -2
- package/lib/index.js +8 -6
- package/lib/locale/ar-SA.js +11 -0
- package/lib/locale/ca-ES.js +2 -2
- package/lib/locale/de-DE.js +11 -0
- package/lib/locale/en-US.js +2 -2
- package/lib/locale/es-ES.js +2 -2
- package/lib/locale/fa-IR.js +2 -2
- package/lib/locale/fr-FR.js +2 -2
- package/lib/locale/id-ID.js +11 -0
- package/lib/locale/it-IT.js +11 -0
- package/lib/locale/ja-JP.js +2 -2
- package/lib/locale/ko-KR.js +2 -2
- package/lib/locale/pl-PL.js +11 -0
- package/lib/locale/pt-BR.js +11 -0
- package/lib/locale/ru-RU.js +2 -2
- package/lib/locale/sk-SK.js +2 -2
- package/lib/locale/vi-VN.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/locale/zh-HK.js +11 -0
- package/lib/locale/zh-TW.js +2 -2
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +9 -7
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
- package/LICENSE +0 -176
package/lib/cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const CancelZenEditCommand = {
|
|
|
67
67
|
await (0, _univerjs_core.delayAnimationFrame)();
|
|
68
68
|
}
|
|
69
69
|
zenZoneEditorService.close();
|
|
70
|
-
const currentSheetInstance = univerInstanceManager.
|
|
70
|
+
const currentSheetInstance = univerInstanceManager.getCurrentUnitOfType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
|
|
71
71
|
if (currentSheetInstance) {
|
|
72
72
|
univerInstanceManager.focusUnit(currentSheetInstance.getUnitId());
|
|
73
73
|
editorBridgeService.refreshEditCellState();
|
|
@@ -93,7 +93,7 @@ const ConfirmZenEditCommand = {
|
|
|
93
93
|
const editor = editorService.getEditor(_univerjs_core.DOCS_ZEN_EDITOR_UNIT_ID_KEY);
|
|
94
94
|
if (editor == null) return false;
|
|
95
95
|
const renderManagerService = accessor.get(_univerjs_engine_render.IRenderManagerService);
|
|
96
|
-
const currentSheetInstance = univerInstanceManager.
|
|
96
|
+
const currentSheetInstance = univerInstanceManager.getCurrentUnitOfType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
|
|
97
97
|
if (currentSheetInstance) {
|
|
98
98
|
var _renderManagerService;
|
|
99
99
|
const currentSheetId = currentSheetInstance.getUnitId();
|
|
@@ -114,7 +114,7 @@ const ConfirmZenEditCommand = {
|
|
|
114
114
|
//#endregion
|
|
115
115
|
//#region package.json
|
|
116
116
|
var name = "@univerjs/sheets-zen-editor";
|
|
117
|
-
var version = "0.
|
|
117
|
+
var version = "0.24.0-insiders.20260528-29f582d";
|
|
118
118
|
|
|
119
119
|
//#endregion
|
|
120
120
|
//#region src/config/config.ts
|
|
@@ -129,7 +129,7 @@ function ZenEditorMenuItemFactory(accessor) {
|
|
|
129
129
|
return {
|
|
130
130
|
id: OpenZenEditorCommand.id,
|
|
131
131
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
132
|
-
title: "rightClick.zenEditor",
|
|
132
|
+
title: "sheets-zen-editor.rightClick.zenEditor",
|
|
133
133
|
icon: "AmplifyIcon",
|
|
134
134
|
hidden$: (0, _univerjs_sheets_ui.getCurrentExclusiveRangeInterest$)(accessor),
|
|
135
135
|
disabled$: editorBridgeService.currentEditCell$.pipe((0, rxjs.switchMap)((cell) => (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
|
|
@@ -313,15 +313,17 @@ function ZenEditor() {
|
|
|
313
313
|
//#region src/controllers/shortcuts/zen-editor.shortcut.ts
|
|
314
314
|
const ZenEditorConfirmShortcut = {
|
|
315
315
|
id: ConfirmZenEditCommand.id,
|
|
316
|
-
description: "shortcut.sheet.zen-edit-confirm",
|
|
316
|
+
description: "sheets-zen-editor.shortcut.sheet.zen-edit-confirm",
|
|
317
317
|
group: "4_sheet-edit",
|
|
318
|
+
groupTitle: "sheets-ui.shortcut.sheet-edit",
|
|
318
319
|
preconditions: (contextService) => whenZenEditorActivated(contextService),
|
|
319
320
|
binding: _univerjs_ui.KeyCode.ENTER | _univerjs_ui.MetaKeys.ALT
|
|
320
321
|
};
|
|
321
322
|
const ZenEditorCancelShortcut = {
|
|
322
323
|
id: CancelZenEditCommand.id,
|
|
323
|
-
description: "shortcut.sheet.zen-edit-cancel",
|
|
324
|
+
description: "sheets-zen-editor.shortcut.sheet.zen-edit-cancel",
|
|
324
325
|
group: "4_sheet-edit",
|
|
326
|
+
groupTitle: "sheets-ui.shortcut.sheet-edit",
|
|
325
327
|
preconditions: (contextService) => whenZenEditorActivated(contextService),
|
|
326
328
|
binding: _univerjs_ui.KeyCode.ESC
|
|
327
329
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/ar-SA.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "محرر ملء الشاشة" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "إلغاء التحرير في وضع ملء الشاشة",
|
|
7
|
+
"zen-edit-confirm": "تأكيد التحرير في وضع ملء الشاشة"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ca-ES.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "Editor a pantalla completa" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "Cancel·la edició Zen",
|
|
7
7
|
"zen-edit-confirm": "Confirma edició Zen"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/de-DE.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "Vollbild-Editor" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "Zen-Bearbeitung abbrechen",
|
|
7
|
+
"zen-edit-confirm": "Zen-Bearbeitung bestätigen"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
const locale = {
|
|
18
|
+
const locale = { "sheets-zen-editor": {
|
|
19
19
|
rightClick: { zenEditor: "Full Screen Editor" },
|
|
20
20
|
shortcut: { sheet: {
|
|
21
21
|
"zen-edit-cancel": "Cancel Zen Edit",
|
|
22
22
|
"zen-edit-confirm": "Confirm Zen Edit"
|
|
23
23
|
} }
|
|
24
|
-
};
|
|
24
|
+
} };
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
module.exports = locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/es-ES.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "Editor a pantalla completa" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "Cancelar edición Zen",
|
|
7
7
|
"zen-edit-confirm": "Confirmar edición Zen"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fa-IR.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "ویرایشگر تمام صفحه" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "لغو ویرایش Zen",
|
|
7
7
|
"zen-edit-confirm": "تایید ویرایش Zen"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fr-FR.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "Éditeur plein écran" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "Annuler l'édition plein écran",
|
|
7
7
|
"zen-edit-confirm": "Confirmer l'édition plein écran"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/id-ID.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "Editor Layar Penuh" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "Batalkan Edit Zen",
|
|
7
|
+
"zen-edit-confirm": "Konfirmasi Edit Zen"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/it-IT.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "Editor a schermo intero" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "Annulla modifica Zen",
|
|
7
|
+
"zen-edit-confirm": "Conferma modifica Zen"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ja-JP.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "禅モード" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "禅モードをキャンセル",
|
|
7
7
|
"zen-edit-confirm": "禅モードに移行"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ko-KR.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "젠 에디터" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "젠 편집 취소",
|
|
7
7
|
"zen-edit-confirm": "젠 편집 확인"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pl-PL.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "Edytor pełnoekranowy" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "Anuluj edycję w trybie Zen",
|
|
7
|
+
"zen-edit-confirm": "Potwierdź edycję w trybie Zen"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pt-BR.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "Editor em Tela Cheia" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "Cancelar Edição Zen",
|
|
7
|
+
"zen-edit-confirm": "Confirmar Edição Zen"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ru-RU.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "Редактор на весь экран" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "Отменить Zen редактирование",
|
|
7
7
|
"zen-edit-confirm": "Подтвердить Zen редактирование"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/sk-SK.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "Editor na celú obrazovku" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "Zrušiť zen úpravu",
|
|
7
7
|
"zen-edit-confirm": "Potvrdiť zen úpravu"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/vi-VN.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "Chế độ chỉnh sửa Zen" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "Hủy chỉnh sửa (trạng thái Zen mode)",
|
|
7
7
|
"zen-edit-confirm": "Bỏ chỉnh sửa (trạng thái Zen mode)"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/zh-CN.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "禅模式编辑" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "取消编辑(禅模式状态)",
|
|
7
7
|
"zen-edit-confirm": "放弃编辑(禅模式状态)"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/zh-HK.ts
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
|
+
rightClick: { zenEditor: "禪模式編輯" },
|
|
5
|
+
shortcut: { sheet: {
|
|
6
|
+
"zen-edit-cancel": "取消編輯(禪模式狀態)",
|
|
7
|
+
"zen-edit-confirm": "放棄編輯(禪模式狀態)"
|
|
8
|
+
} }
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/zh-TW.ts
|
|
3
|
-
const locale = {
|
|
3
|
+
const locale = { "sheets-zen-editor": {
|
|
4
4
|
rightClick: { zenEditor: "禪模式編輯" },
|
|
5
5
|
shortcut: { sheet: {
|
|
6
6
|
"zen-edit-cancel": "取消編輯(禪模式狀態)",
|
|
7
7
|
"zen-edit-confirm": "放棄編輯(禪模式狀態)"
|
|
8
8
|
} }
|
|
9
|
-
};
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = locale;
|
package/lib/es/index.js
CHANGED
|
@@ -66,7 +66,7 @@ const CancelZenEditCommand = {
|
|
|
66
66
|
await delayAnimationFrame();
|
|
67
67
|
}
|
|
68
68
|
zenZoneEditorService.close();
|
|
69
|
-
const currentSheetInstance = univerInstanceManager.
|
|
69
|
+
const currentSheetInstance = univerInstanceManager.getCurrentUnitOfType(UniverInstanceType.UNIVER_SHEET);
|
|
70
70
|
if (currentSheetInstance) {
|
|
71
71
|
univerInstanceManager.focusUnit(currentSheetInstance.getUnitId());
|
|
72
72
|
editorBridgeService.refreshEditCellState();
|
|
@@ -92,7 +92,7 @@ const ConfirmZenEditCommand = {
|
|
|
92
92
|
const editor = editorService.getEditor(DOCS_ZEN_EDITOR_UNIT_ID_KEY);
|
|
93
93
|
if (editor == null) return false;
|
|
94
94
|
const renderManagerService = accessor.get(IRenderManagerService);
|
|
95
|
-
const currentSheetInstance = univerInstanceManager.
|
|
95
|
+
const currentSheetInstance = univerInstanceManager.getCurrentUnitOfType(UniverInstanceType.UNIVER_SHEET);
|
|
96
96
|
if (currentSheetInstance) {
|
|
97
97
|
var _renderManagerService;
|
|
98
98
|
const currentSheetId = currentSheetInstance.getUnitId();
|
|
@@ -113,7 +113,7 @@ const ConfirmZenEditCommand = {
|
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region package.json
|
|
115
115
|
var name = "@univerjs/sheets-zen-editor";
|
|
116
|
-
var version = "0.
|
|
116
|
+
var version = "0.24.0-insiders.20260528-29f582d";
|
|
117
117
|
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/config/config.ts
|
|
@@ -128,7 +128,7 @@ function ZenEditorMenuItemFactory(accessor) {
|
|
|
128
128
|
return {
|
|
129
129
|
id: OpenZenEditorCommand.id,
|
|
130
130
|
type: MenuItemType.BUTTON,
|
|
131
|
-
title: "rightClick.zenEditor",
|
|
131
|
+
title: "sheets-zen-editor.rightClick.zenEditor",
|
|
132
132
|
icon: "AmplifyIcon",
|
|
133
133
|
hidden$: getCurrentExclusiveRangeInterest$(accessor),
|
|
134
134
|
disabled$: editorBridgeService.currentEditCell$.pipe(switchMap((cell) => getCurrentRangeDisable$(accessor, {
|
|
@@ -312,15 +312,17 @@ function ZenEditor() {
|
|
|
312
312
|
//#region src/controllers/shortcuts/zen-editor.shortcut.ts
|
|
313
313
|
const ZenEditorConfirmShortcut = {
|
|
314
314
|
id: ConfirmZenEditCommand.id,
|
|
315
|
-
description: "shortcut.sheet.zen-edit-confirm",
|
|
315
|
+
description: "sheets-zen-editor.shortcut.sheet.zen-edit-confirm",
|
|
316
316
|
group: "4_sheet-edit",
|
|
317
|
+
groupTitle: "sheets-ui.shortcut.sheet-edit",
|
|
317
318
|
preconditions: (contextService) => whenZenEditorActivated(contextService),
|
|
318
319
|
binding: KeyCode.ENTER | MetaKeys.ALT
|
|
319
320
|
};
|
|
320
321
|
const ZenEditorCancelShortcut = {
|
|
321
322
|
id: CancelZenEditCommand.id,
|
|
322
|
-
description: "shortcut.sheet.zen-edit-cancel",
|
|
323
|
+
description: "sheets-zen-editor.shortcut.sheet.zen-edit-cancel",
|
|
323
324
|
group: "4_sheet-edit",
|
|
325
|
+
groupTitle: "sheets-ui.shortcut.sheet-edit",
|
|
324
326
|
preconditions: (contextService) => whenZenEditorActivated(contextService),
|
|
325
327
|
binding: KeyCode.ESC
|
|
326
328
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "محرر ملء الشاشة" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "إلغاء التحرير في وضع ملء الشاشة",
|
|
6
|
+
"zen-edit-confirm": "تأكيد التحرير في وضع ملء الشاشة"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/ca-ES.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "Editor a pantalla completa" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "Cancel·la edició Zen",
|
|
6
6
|
"zen-edit-confirm": "Confirma edició Zen"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "Vollbild-Editor" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "Zen-Bearbeitung abbrechen",
|
|
6
|
+
"zen-edit-confirm": "Zen-Bearbeitung bestätigen"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
const locale = {
|
|
17
|
+
const locale = { "sheets-zen-editor": {
|
|
18
18
|
rightClick: { zenEditor: "Full Screen Editor" },
|
|
19
19
|
shortcut: { sheet: {
|
|
20
20
|
"zen-edit-cancel": "Cancel Zen Edit",
|
|
21
21
|
"zen-edit-confirm": "Confirm Zen Edit"
|
|
22
22
|
} }
|
|
23
|
-
};
|
|
23
|
+
} };
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
26
|
export { locale as default };
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/es-ES.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "Editor a pantalla completa" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "Cancelar edición Zen",
|
|
6
6
|
"zen-edit-confirm": "Confirmar edición Zen"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/fa-IR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "ویرایشگر تمام صفحه" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "لغو ویرایش Zen",
|
|
6
6
|
"zen-edit-confirm": "تایید ویرایش Zen"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/fr-FR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "Éditeur plein écran" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "Annuler l'édition plein écran",
|
|
6
6
|
"zen-edit-confirm": "Confirmer l'édition plein écran"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/id-ID.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "Editor Layar Penuh" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "Batalkan Edit Zen",
|
|
6
|
+
"zen-edit-confirm": "Konfirmasi Edit Zen"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/it-IT.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "Editor a schermo intero" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "Annulla modifica Zen",
|
|
6
|
+
"zen-edit-confirm": "Conferma modifica Zen"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/ja-JP.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "禅モード" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "禅モードをキャンセル",
|
|
6
6
|
"zen-edit-confirm": "禅モードに移行"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/ko-KR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "젠 에디터" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "젠 편집 취소",
|
|
6
6
|
"zen-edit-confirm": "젠 편집 확인"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/pl-PL.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "Edytor pełnoekranowy" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "Anuluj edycję w trybie Zen",
|
|
6
|
+
"zen-edit-confirm": "Potwierdź edycję w trybie Zen"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/pt-BR.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "Editor em Tela Cheia" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "Cancelar Edição Zen",
|
|
6
|
+
"zen-edit-confirm": "Confirmar Edição Zen"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/ru-RU.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "Редактор на весь экран" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "Отменить Zen редактирование",
|
|
6
6
|
"zen-edit-confirm": "Подтвердить Zen редактирование"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/sk-SK.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "Editor na celú obrazovku" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "Zrušiť zen úpravu",
|
|
6
6
|
"zen-edit-confirm": "Potvrdiť zen úpravu"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/vi-VN.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "Chế độ chỉnh sửa Zen" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "Hủy chỉnh sửa (trạng thái Zen mode)",
|
|
6
6
|
"zen-edit-confirm": "Bỏ chỉnh sửa (trạng thái Zen mode)"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/locale/zh-CN.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
3
|
rightClick: { zenEditor: "禅模式编辑" },
|
|
4
4
|
shortcut: { sheet: {
|
|
5
5
|
"zen-edit-cancel": "取消编辑(禅模式状态)",
|
|
6
6
|
"zen-edit-confirm": "放弃编辑(禅模式状态)"
|
|
7
7
|
} }
|
|
8
|
-
};
|
|
8
|
+
} };
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/zh-HK.ts
|
|
2
|
+
const locale = { "sheets-zen-editor": {
|
|
3
|
+
rightClick: { zenEditor: "禪模式編輯" },
|
|
4
|
+
shortcut: { sheet: {
|
|
5
|
+
"zen-edit-cancel": "取消編輯(禪模式狀態)",
|
|
6
|
+
"zen-edit-confirm": "放棄編輯(禪模式狀態)"
|
|
7
|
+
} }
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|