@univerjs/sheets-thread-comment-ui 0.24.0 → 0.25.0-insiders.20260608-e4336f7
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 +14 -14
- package/lib/cjs/locale/ar-SA.js +12 -0
- package/lib/cjs/locale/ca-ES.js +7 -4
- package/lib/cjs/locale/de-DE.js +12 -0
- package/lib/cjs/locale/en-US.js +7 -4
- package/lib/cjs/locale/es-ES.js +7 -4
- package/lib/cjs/locale/fa-IR.js +7 -4
- package/lib/cjs/locale/fr-FR.js +7 -4
- 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 +7 -4
- package/lib/cjs/locale/ko-KR.js +7 -4
- 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 +7 -4
- package/lib/cjs/locale/sk-SK.js +7 -4
- package/lib/cjs/locale/vi-VN.js +7 -4
- package/lib/cjs/locale/zh-CN.js +7 -4
- package/lib/cjs/locale/zh-HK.js +12 -0
- package/lib/cjs/locale/zh-TW.js +7 -4
- package/lib/es/index.js +14 -14
- package/lib/es/locale/ar-SA.js +11 -0
- package/lib/es/locale/ca-ES.js +7 -4
- package/lib/es/locale/de-DE.js +11 -0
- package/lib/es/locale/en-US.js +7 -4
- package/lib/es/locale/es-ES.js +7 -4
- package/lib/es/locale/fa-IR.js +7 -4
- package/lib/es/locale/fr-FR.js +7 -4
- 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 +7 -4
- package/lib/es/locale/ko-KR.js +7 -4
- 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 +7 -4
- package/lib/es/locale/sk-SK.js +7 -4
- package/lib/es/locale/vi-VN.js +7 -4
- package/lib/es/locale/zh-CN.js +7 -4
- package/lib/es/locale/zh-HK.js +11 -0
- package/lib/es/locale/zh-TW.js +7 -4
- package/lib/index.js +14 -14
- package/lib/locale/ar-SA.js +11 -0
- package/lib/locale/ca-ES.js +7 -4
- package/lib/locale/de-DE.js +11 -0
- package/lib/locale/en-US.js +7 -4
- package/lib/locale/es-ES.js +7 -4
- package/lib/locale/fa-IR.js +7 -4
- package/lib/locale/fr-FR.js +7 -4
- package/lib/locale/id-ID.js +11 -0
- package/lib/locale/it-IT.js +11 -0
- package/lib/locale/ja-JP.js +7 -4
- package/lib/locale/ko-KR.js +7 -4
- package/lib/locale/pl-PL.js +11 -0
- package/lib/locale/pt-BR.js +11 -0
- package/lib/locale/ru-RU.js +7 -4
- package/lib/locale/sk-SK.js +7 -4
- package/lib/locale/vi-VN.js +7 -4
- package/lib/locale/zh-CN.js +7 -4
- package/lib/locale/zh-HK.js +11 -0
- package/lib/locale/zh-TW.js +7 -4
- 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 +4 -1
- 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/types/views/sheets-thread-comment-cell/index.d.ts +1 -1
- package/lib/types/views/sheets-thread-comment-panel/index.d.ts +1 -1
- 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 +14 -14
- package/LICENSE +0 -176
package/lib/cjs/index.js
CHANGED
|
@@ -34,7 +34,7 @@ const SHEETS_THREAD_COMMENT_PANEL = "univer.sheet.thread-comment-panel";
|
|
|
34
34
|
const PLUGIN_NAME = "SHEET_THREAD_COMMENT_UI_PLUGIN";
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region \0@oxc-project+runtime@0.
|
|
37
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/typeof.js
|
|
38
38
|
function _typeof(o) {
|
|
39
39
|
"@babel/helpers - typeof";
|
|
40
40
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -45,7 +45,7 @@ function _typeof(o) {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region \0@oxc-project+runtime@0.
|
|
48
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPrimitive.js
|
|
49
49
|
function toPrimitive(t, r) {
|
|
50
50
|
if ("object" != _typeof(t) || !t) return t;
|
|
51
51
|
var e = t[Symbol.toPrimitive];
|
|
@@ -58,14 +58,14 @@ function toPrimitive(t, r) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
//#endregion
|
|
61
|
-
//#region \0@oxc-project+runtime@0.
|
|
61
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPropertyKey.js
|
|
62
62
|
function toPropertyKey(t) {
|
|
63
63
|
var i = toPrimitive(t, "string");
|
|
64
64
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region \0@oxc-project+runtime@0.
|
|
68
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/defineProperty.js
|
|
69
69
|
function _defineProperty(e, r, t) {
|
|
70
70
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
71
71
|
value: t,
|
|
@@ -76,7 +76,7 @@ function _defineProperty(e, r, t) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
//#endregion
|
|
79
|
-
//#region \0@oxc-project+runtime@0.
|
|
79
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/decorateParam.js
|
|
80
80
|
function __decorateParam(paramIndex, decorator) {
|
|
81
81
|
return function(target, key) {
|
|
82
82
|
decorator(target, key, paramIndex);
|
|
@@ -84,7 +84,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
//#endregion
|
|
87
|
-
//#region \0@oxc-project+runtime@0.
|
|
87
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/decorate.js
|
|
88
88
|
function __decorate(decorators, target, key, desc) {
|
|
89
89
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
90
90
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -224,7 +224,7 @@ const ToggleSheetCommentPanelOperation = {
|
|
|
224
224
|
panelService.setPanelVisible(false);
|
|
225
225
|
} else {
|
|
226
226
|
sidebarService.open({
|
|
227
|
-
header: { title: "
|
|
227
|
+
header: { title: "sheets-thread-comment-ui.panel.title" },
|
|
228
228
|
children: { label: SHEETS_THREAD_COMMENT_PANEL },
|
|
229
229
|
width: 360
|
|
230
230
|
});
|
|
@@ -237,7 +237,7 @@ const ToggleSheetCommentPanelOperation = {
|
|
|
237
237
|
//#endregion
|
|
238
238
|
//#region package.json
|
|
239
239
|
var name = "@univerjs/sheets-thread-comment-ui";
|
|
240
|
-
var version = "0.
|
|
240
|
+
var version = "0.25.0-insiders.20260608-e4336f7";
|
|
241
241
|
|
|
242
242
|
//#endregion
|
|
243
243
|
//#region src/config/config.ts
|
|
@@ -505,7 +505,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
505
505
|
if (!this._sheetPermissionCheckController.permissionCheckWithoutRange({
|
|
506
506
|
workbookTypes: [_univerjs_sheets.WorkbookCommentPermission],
|
|
507
507
|
worksheetTypes: [_univerjs_sheets.WorksheetViewPermission]
|
|
508
|
-
})) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
508
|
+
})) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
509
509
|
} else if (id === _univerjs_thread_comment.AddCommentCommand.id) {
|
|
510
510
|
const { unitId, subUnitId, comment } = command.params;
|
|
511
511
|
const { row, column } = (0, _univerjs_engine_formula.singleReferenceToGrid)(comment.ref);
|
|
@@ -518,7 +518,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
518
518
|
startColumn: column,
|
|
519
519
|
endRow: row,
|
|
520
520
|
endColumn: column
|
|
521
|
-
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
521
|
+
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
522
522
|
} else if (id === _univerjs_thread_comment.UpdateCommentCommand.id) {
|
|
523
523
|
const { unitId, subUnitId, payload } = command.params;
|
|
524
524
|
const { commentId } = payload;
|
|
@@ -534,7 +534,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
534
534
|
startColumn: column,
|
|
535
535
|
endRow: row,
|
|
536
536
|
endColumn: column
|
|
537
|
-
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
537
|
+
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
538
538
|
}
|
|
539
539
|
} else if (id === _univerjs_thread_comment.ResolveCommentCommand.id || id === _univerjs_thread_comment.DeleteCommentCommand.id || id === _univerjs_thread_comment.DeleteCommentTreeCommand.id) {
|
|
540
540
|
const { unitId, subUnitId, commentId } = command.params;
|
|
@@ -550,7 +550,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
550
550
|
startColumn: column,
|
|
551
551
|
endRow: row,
|
|
552
552
|
endColumn: column
|
|
553
|
-
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
553
|
+
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}));
|
|
@@ -746,7 +746,7 @@ const threadCommentMenuFactory = (accessor) => {
|
|
|
746
746
|
id: ShowAddSheetCommentModalOperation.id,
|
|
747
747
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
748
748
|
icon: "CommentIcon",
|
|
749
|
-
title: "
|
|
749
|
+
title: "sheets-thread-comment-ui.menu.addComment",
|
|
750
750
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
751
751
|
disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
|
|
752
752
|
workbookTypes: [_univerjs_sheets.WorkbookCommentPermission],
|
|
@@ -760,7 +760,7 @@ const threadPanelMenuFactory = (accessor) => {
|
|
|
760
760
|
id: ToggleSheetCommentPanelOperation.id,
|
|
761
761
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
762
762
|
icon: "CommentIcon",
|
|
763
|
-
tooltip: "
|
|
763
|
+
tooltip: "sheets-thread-comment-ui.menu.commentManagement",
|
|
764
764
|
disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
|
|
765
765
|
workbookTypes: [_univerjs_sheets.WorkbookCommentPermission],
|
|
766
766
|
worksheetTypes: [_univerjs_sheets.WorksheetViewPermission],
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ca-ES.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Gestió de comentaris" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Afegeix un comentari",
|
|
7
|
+
commentManagement: "Gestió de comentaris"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/de-DE.ts
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Kommentarverwaltung" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Kommentar hinzufügen",
|
|
7
|
+
commentManagement: "Kommentarverwaltung"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -15,10 +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 = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
19
|
+
panel: { title: "Comment Management" },
|
|
20
|
+
menu: {
|
|
21
|
+
addComment: "Add Comment",
|
|
22
|
+
commentManagement: "Comment Management"
|
|
23
|
+
}
|
|
24
|
+
} };
|
|
22
25
|
|
|
23
26
|
//#endregion
|
|
24
27
|
module.exports = locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/es-ES.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Gestión de comentarios" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Añadir comentario",
|
|
7
|
+
commentManagement: "Gestión de comentarios"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fa-IR.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "مدیریت نظر" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "افزودن نظر",
|
|
7
|
+
commentManagement: "مدیریت نظر"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fr-FR.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Gestion des commentaires" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Ajouter un commentaire",
|
|
7
|
+
commentManagement: "Gestion des commentaires"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/id-ID.ts
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Manajemen Komentar" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Tambah Komentar",
|
|
7
|
+
commentManagement: "Manajemen Komentar"
|
|
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-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Gestione commenti" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Aggiungi commento",
|
|
7
|
+
commentManagement: "Gestione commenti"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ja-JP.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "コメント管理" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "コメントを追加",
|
|
7
|
+
commentManagement: "コメント管理"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ko-KR.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "댓글 관리" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "댓글 추가",
|
|
7
|
+
commentManagement: "댓글 관리"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pl-PL.ts
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Zarządzanie komentarzami" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Dodaj komentarz",
|
|
7
|
+
commentManagement: "Zarządzanie komentarzami"
|
|
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-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Gerenciamento de Comentários" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Adicionar Comentário",
|
|
7
|
+
commentManagement: "Gerenciamento de Comentários"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
module.exports = locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ru-RU.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Управление комментариями" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Добавить комментарий",
|
|
7
|
+
commentManagement: "Управление комментариями"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/sk-SK.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Správa komentárov" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Pridať komentár",
|
|
7
|
+
commentManagement: "Správa komentárov"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/vi-VN.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "Quản lý bình luận" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "Thêm bình luận",
|
|
7
|
+
commentManagement: "Quản lý bình luận"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/zh-CN.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "评论管理" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "添加评论",
|
|
7
|
+
commentManagement: "评论管理"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/zh-TW.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
4
|
+
panel: { title: "評論管理" },
|
|
5
|
+
menu: {
|
|
6
|
+
addComment: "新增評論",
|
|
7
|
+
commentManagement: "評論管理"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
7
10
|
|
|
8
11
|
//#endregion
|
|
9
12
|
module.exports = locale;
|
package/lib/es/index.js
CHANGED
|
@@ -33,7 +33,7 @@ const SHEETS_THREAD_COMMENT_PANEL = "univer.sheet.thread-comment-panel";
|
|
|
33
33
|
const PLUGIN_NAME = "SHEET_THREAD_COMMENT_UI_PLUGIN";
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region \0@oxc-project+runtime@0.
|
|
36
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/typeof.js
|
|
37
37
|
function _typeof(o) {
|
|
38
38
|
"@babel/helpers - typeof";
|
|
39
39
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -44,7 +44,7 @@ function _typeof(o) {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
//#endregion
|
|
47
|
-
//#region \0@oxc-project+runtime@0.
|
|
47
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPrimitive.js
|
|
48
48
|
function toPrimitive(t, r) {
|
|
49
49
|
if ("object" != _typeof(t) || !t) return t;
|
|
50
50
|
var e = t[Symbol.toPrimitive];
|
|
@@ -57,14 +57,14 @@ function toPrimitive(t, r) {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
//#endregion
|
|
60
|
-
//#region \0@oxc-project+runtime@0.
|
|
60
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPropertyKey.js
|
|
61
61
|
function toPropertyKey(t) {
|
|
62
62
|
var i = toPrimitive(t, "string");
|
|
63
63
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
//#endregion
|
|
67
|
-
//#region \0@oxc-project+runtime@0.
|
|
67
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/defineProperty.js
|
|
68
68
|
function _defineProperty(e, r, t) {
|
|
69
69
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
70
70
|
value: t,
|
|
@@ -75,7 +75,7 @@ function _defineProperty(e, r, t) {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
//#endregion
|
|
78
|
-
//#region \0@oxc-project+runtime@0.
|
|
78
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/decorateParam.js
|
|
79
79
|
function __decorateParam(paramIndex, decorator) {
|
|
80
80
|
return function(target, key) {
|
|
81
81
|
decorator(target, key, paramIndex);
|
|
@@ -83,7 +83,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
//#endregion
|
|
86
|
-
//#region \0@oxc-project+runtime@0.
|
|
86
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/decorate.js
|
|
87
87
|
function __decorate(decorators, target, key, desc) {
|
|
88
88
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
89
89
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -223,7 +223,7 @@ const ToggleSheetCommentPanelOperation = {
|
|
|
223
223
|
panelService.setPanelVisible(false);
|
|
224
224
|
} else {
|
|
225
225
|
sidebarService.open({
|
|
226
|
-
header: { title: "
|
|
226
|
+
header: { title: "sheets-thread-comment-ui.panel.title" },
|
|
227
227
|
children: { label: SHEETS_THREAD_COMMENT_PANEL },
|
|
228
228
|
width: 360
|
|
229
229
|
});
|
|
@@ -236,7 +236,7 @@ const ToggleSheetCommentPanelOperation = {
|
|
|
236
236
|
//#endregion
|
|
237
237
|
//#region package.json
|
|
238
238
|
var name = "@univerjs/sheets-thread-comment-ui";
|
|
239
|
-
var version = "0.
|
|
239
|
+
var version = "0.25.0-insiders.20260608-e4336f7";
|
|
240
240
|
|
|
241
241
|
//#endregion
|
|
242
242
|
//#region src/config/config.ts
|
|
@@ -504,7 +504,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
504
504
|
if (!this._sheetPermissionCheckController.permissionCheckWithoutRange({
|
|
505
505
|
workbookTypes: [WorkbookCommentPermission],
|
|
506
506
|
worksheetTypes: [WorksheetViewPermission]
|
|
507
|
-
})) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
507
|
+
})) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
508
508
|
} else if (id === AddCommentCommand$1.id) {
|
|
509
509
|
const { unitId, subUnitId, comment } = command.params;
|
|
510
510
|
const { row, column } = singleReferenceToGrid(comment.ref);
|
|
@@ -517,7 +517,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
517
517
|
startColumn: column,
|
|
518
518
|
endRow: row,
|
|
519
519
|
endColumn: column
|
|
520
|
-
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
520
|
+
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
521
521
|
} else if (id === UpdateCommentCommand$1.id) {
|
|
522
522
|
const { unitId, subUnitId, payload } = command.params;
|
|
523
523
|
const { commentId } = payload;
|
|
@@ -533,7 +533,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
533
533
|
startColumn: column,
|
|
534
534
|
endRow: row,
|
|
535
535
|
endColumn: column
|
|
536
|
-
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
536
|
+
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
537
537
|
}
|
|
538
538
|
} else if (id === ResolveCommentCommand$1.id || id === DeleteCommentCommand$1.id || id === DeleteCommentTreeCommand$1.id) {
|
|
539
539
|
const { unitId, subUnitId, commentId } = command.params;
|
|
@@ -549,7 +549,7 @@ let SheetsThreadCommentPermissionController = class SheetsThreadCommentPermissio
|
|
|
549
549
|
startColumn: column,
|
|
550
550
|
endRow: row,
|
|
551
551
|
endColumn: column
|
|
552
|
-
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
552
|
+
}], unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-thread-comment-ui.permission.commentErr"));
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
}));
|
|
@@ -745,7 +745,7 @@ const threadCommentMenuFactory = (accessor) => {
|
|
|
745
745
|
id: ShowAddSheetCommentModalOperation.id,
|
|
746
746
|
type: MenuItemType.BUTTON,
|
|
747
747
|
icon: "CommentIcon",
|
|
748
|
-
title: "
|
|
748
|
+
title: "sheets-thread-comment-ui.menu.addComment",
|
|
749
749
|
hidden$: getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_SHEET),
|
|
750
750
|
disabled$: getCurrentRangeDisable$(accessor, {
|
|
751
751
|
workbookTypes: [WorkbookCommentPermission],
|
|
@@ -759,7 +759,7 @@ const threadPanelMenuFactory = (accessor) => {
|
|
|
759
759
|
id: ToggleSheetCommentPanelOperation.id,
|
|
760
760
|
type: MenuItemType.BUTTON,
|
|
761
761
|
icon: "CommentIcon",
|
|
762
|
-
tooltip: "
|
|
762
|
+
tooltip: "sheets-thread-comment-ui.menu.commentManagement",
|
|
763
763
|
disabled$: getCurrentRangeDisable$(accessor, {
|
|
764
764
|
workbookTypes: [WorkbookCommentPermission],
|
|
765
765
|
worksheetTypes: [WorksheetViewPermission],
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
//#region src/locale/ca-ES.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
3
|
+
panel: { title: "Gestió de comentaris" },
|
|
4
|
+
menu: {
|
|
5
|
+
addComment: "Afegeix un comentari",
|
|
6
|
+
commentManagement: "Gestió de comentaris"
|
|
7
|
+
}
|
|
8
|
+
} };
|
|
6
9
|
|
|
7
10
|
//#endregion
|
|
8
11
|
export { locale as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
3
|
+
panel: { title: "Kommentarverwaltung" },
|
|
4
|
+
menu: {
|
|
5
|
+
addComment: "Kommentar hinzufügen",
|
|
6
|
+
commentManagement: "Kommentarverwaltung"
|
|
7
|
+
}
|
|
8
|
+
} };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { locale as default };
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -14,10 +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 = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
18
|
+
panel: { title: "Comment Management" },
|
|
19
|
+
menu: {
|
|
20
|
+
addComment: "Add Comment",
|
|
21
|
+
commentManagement: "Comment Management"
|
|
22
|
+
}
|
|
23
|
+
} };
|
|
21
24
|
|
|
22
25
|
//#endregion
|
|
23
26
|
export { locale as default };
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
//#region src/locale/es-ES.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
3
|
+
panel: { title: "Gestión de comentarios" },
|
|
4
|
+
menu: {
|
|
5
|
+
addComment: "Añadir comentario",
|
|
6
|
+
commentManagement: "Gestión de comentarios"
|
|
7
|
+
}
|
|
8
|
+
} };
|
|
6
9
|
|
|
7
10
|
//#endregion
|
|
8
11
|
export { locale as default };
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
//#region src/locale/fa-IR.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
const locale = { "sheets-thread-comment-ui": {
|
|
3
|
+
panel: { title: "مدیریت نظر" },
|
|
4
|
+
menu: {
|
|
5
|
+
addComment: "افزودن نظر",
|
|
6
|
+
commentManagement: "مدیریت نظر"
|
|
7
|
+
}
|
|
8
|
+
} };
|
|
6
9
|
|
|
7
10
|
//#endregion
|
|
8
11
|
export { locale as default };
|