@univerjs/docs-thread-comment-ui 0.24.0 → 0.25.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 (100) hide show
  1. package/lib/cjs/index.js +16 -42
  2. package/lib/cjs/locale/ar-SA.js +9 -0
  3. package/lib/cjs/locale/ca-ES.js +9 -0
  4. package/lib/cjs/locale/de-DE.js +9 -0
  5. package/lib/cjs/locale/en-US.js +24 -0
  6. package/lib/cjs/locale/es-ES.js +9 -0
  7. package/lib/cjs/locale/fa-IR.js +9 -0
  8. package/lib/cjs/locale/fr-FR.js +9 -0
  9. package/lib/cjs/locale/id-ID.js +9 -0
  10. package/lib/cjs/locale/it-IT.js +9 -0
  11. package/lib/cjs/locale/ja-JP.js +9 -0
  12. package/lib/cjs/locale/ko-KR.js +9 -0
  13. package/lib/cjs/locale/pl-PL.js +9 -0
  14. package/lib/cjs/locale/pt-BR.js +9 -0
  15. package/lib/cjs/locale/ru-RU.js +9 -0
  16. package/lib/cjs/locale/sk-SK.js +9 -0
  17. package/lib/cjs/locale/vi-VN.js +9 -0
  18. package/lib/cjs/locale/zh-CN.js +9 -0
  19. package/lib/cjs/locale/zh-HK.js +9 -0
  20. package/lib/cjs/locale/zh-TW.js +9 -0
  21. package/lib/es/index.js +16 -42
  22. package/lib/es/locale/ar-SA.js +8 -0
  23. package/lib/es/locale/ca-ES.js +8 -0
  24. package/lib/es/locale/de-DE.js +8 -0
  25. package/lib/es/locale/en-US.js +23 -0
  26. package/lib/es/locale/es-ES.js +8 -0
  27. package/lib/es/locale/fa-IR.js +8 -0
  28. package/lib/es/locale/fr-FR.js +8 -0
  29. package/lib/es/locale/id-ID.js +8 -0
  30. package/lib/es/locale/it-IT.js +8 -0
  31. package/lib/es/locale/ja-JP.js +8 -0
  32. package/lib/es/locale/ko-KR.js +8 -0
  33. package/lib/es/locale/pl-PL.js +8 -0
  34. package/lib/es/locale/pt-BR.js +8 -0
  35. package/lib/es/locale/ru-RU.js +8 -0
  36. package/lib/es/locale/sk-SK.js +8 -0
  37. package/lib/es/locale/vi-VN.js +8 -0
  38. package/lib/es/locale/zh-CN.js +8 -0
  39. package/lib/es/locale/zh-HK.js +8 -0
  40. package/lib/es/locale/zh-TW.js +8 -0
  41. package/lib/index.js +16 -42
  42. package/lib/locale/ar-SA.js +8 -0
  43. package/lib/locale/ca-ES.js +8 -0
  44. package/lib/locale/de-DE.js +8 -0
  45. package/lib/locale/en-US.js +23 -0
  46. package/lib/locale/es-ES.js +8 -0
  47. package/lib/locale/fa-IR.js +8 -0
  48. package/lib/locale/fr-FR.js +8 -0
  49. package/lib/locale/id-ID.js +8 -0
  50. package/lib/locale/it-IT.js +8 -0
  51. package/lib/locale/ja-JP.js +8 -0
  52. package/lib/locale/ko-KR.js +8 -0
  53. package/lib/locale/pl-PL.js +8 -0
  54. package/lib/locale/pt-BR.js +8 -0
  55. package/lib/locale/ru-RU.js +8 -0
  56. package/lib/locale/sk-SK.js +8 -0
  57. package/lib/locale/vi-VN.js +8 -0
  58. package/lib/locale/zh-CN.js +8 -0
  59. package/lib/locale/zh-HK.js +8 -0
  60. package/lib/locale/zh-TW.js +8 -0
  61. package/lib/types/locale/ar-SA.d.ts +18 -0
  62. package/lib/types/locale/ca-ES.d.ts +18 -0
  63. package/lib/types/locale/de-DE.d.ts +18 -0
  64. package/lib/types/locale/en-US.d.ts +24 -0
  65. package/lib/types/locale/es-ES.d.ts +18 -0
  66. package/lib/types/locale/fa-IR.d.ts +18 -0
  67. package/lib/types/locale/fr-FR.d.ts +18 -0
  68. package/lib/types/locale/id-ID.d.ts +18 -0
  69. package/lib/types/locale/it-IT.d.ts +18 -0
  70. package/lib/types/locale/ja-JP.d.ts +18 -0
  71. package/lib/types/locale/ko-KR.d.ts +18 -0
  72. package/lib/types/locale/pl-PL.d.ts +18 -0
  73. package/lib/types/locale/pt-BR.d.ts +18 -0
  74. package/lib/types/locale/ru-RU.d.ts +18 -0
  75. package/lib/types/locale/sk-SK.d.ts +18 -0
  76. package/lib/types/locale/vi-VN.d.ts +18 -0
  77. package/lib/types/locale/zh-CN.d.ts +18 -0
  78. package/lib/types/locale/zh-HK.d.ts +18 -0
  79. package/lib/types/locale/zh-TW.d.ts +18 -0
  80. package/lib/umd/index.js +2 -2
  81. package/lib/umd/locale/ar-SA.js +1 -0
  82. package/lib/umd/locale/ca-ES.js +1 -0
  83. package/lib/umd/locale/de-DE.js +1 -0
  84. package/lib/umd/locale/en-US.js +1 -0
  85. package/lib/umd/locale/es-ES.js +1 -0
  86. package/lib/umd/locale/fa-IR.js +1 -0
  87. package/lib/umd/locale/fr-FR.js +1 -0
  88. package/lib/umd/locale/id-ID.js +1 -0
  89. package/lib/umd/locale/it-IT.js +1 -0
  90. package/lib/umd/locale/ja-JP.js +1 -0
  91. package/lib/umd/locale/ko-KR.js +1 -0
  92. package/lib/umd/locale/pl-PL.js +1 -0
  93. package/lib/umd/locale/pt-BR.js +1 -0
  94. package/lib/umd/locale/ru-RU.js +1 -0
  95. package/lib/umd/locale/sk-SK.js +1 -0
  96. package/lib/umd/locale/vi-VN.js +1 -0
  97. package/lib/umd/locale/zh-CN.js +1 -0
  98. package/lib/umd/locale/zh-HK.js +1 -0
  99. package/lib/umd/locale/zh-TW.js +1 -0
  100. package/package.json +16 -11
@@ -0,0 +1,8 @@
1
+ //#region src/locale/pl-PL.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Zarządzanie komentarzami",
4
+ addComment: "Dodaj komentarz"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/pt-BR.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Gerenciamento de Comentários",
4
+ addComment: "Adicionar Comentário"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/ru-RU.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Управление комментариями",
4
+ addComment: "Добавить комментарий"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/sk-SK.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Správa komentárov",
4
+ addComment: "Pridať komentár"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/vi-VN.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Quản lý Bình luận",
4
+ addComment: "Thêm bình luận"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/zh-CN.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "评论管理",
4
+ addComment: "添加评论"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/zh-HK.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "評論管理",
4
+ addComment: "新增評論"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/zh-TW.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "評論管理",
4
+ addComment: "新增評論"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
package/lib/index.js CHANGED
@@ -87,7 +87,7 @@ const DeleteDocCommentComment = {
87
87
  };
88
88
 
89
89
  //#endregion
90
- //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
90
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
91
91
  function _typeof(o) {
92
92
  "@babel/helpers - typeof";
93
93
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -98,7 +98,7 @@ function _typeof(o) {
98
98
  }
99
99
 
100
100
  //#endregion
101
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
101
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
102
102
  function toPrimitive(t, r) {
103
103
  if ("object" != _typeof(t) || !t) return t;
104
104
  var e = t[Symbol.toPrimitive];
@@ -111,14 +111,14 @@ function toPrimitive(t, r) {
111
111
  }
112
112
 
113
113
  //#endregion
114
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
114
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
115
115
  function toPropertyKey(t) {
116
116
  var i = toPrimitive(t, "string");
117
117
  return "symbol" == _typeof(i) ? i : i + "";
118
118
  }
119
119
 
120
120
  //#endregion
121
- //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
121
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
122
122
  function _defineProperty(e, r, t) {
123
123
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
124
124
  value: t,
@@ -129,7 +129,7 @@ function _defineProperty(e, r, t) {
129
129
  }
130
130
 
131
131
  //#endregion
132
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
132
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
133
133
  function __decorateParam(paramIndex, decorator) {
134
134
  return function(target, key) {
135
135
  decorator(target, key, paramIndex);
@@ -137,7 +137,7 @@ function __decorateParam(paramIndex, decorator) {
137
137
  }
138
138
 
139
139
  //#endregion
140
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
140
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
141
141
  function __decorate(decorators, target, key, desc) {
142
142
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
143
143
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -181,7 +181,7 @@ const ShowCommentPanelOperation = {
181
181
  const sidebarService = accessor.get(ISidebarService);
182
182
  if (!panelService.panelVisible || ((_sidebarService$optio = sidebarService.options.children) === null || _sidebarService$optio === void 0 ? void 0 : _sidebarService$optio.label) !== "univer.doc.thread-comment-panel") {
183
183
  sidebarService.open({
184
- header: { title: "threadCommentUI.panel.title" },
184
+ header: { title: "docs-thread-comment-ui.panel.title" },
185
185
  children: { label: DOCS_THREAD_COMMENT_PANEL },
186
186
  width: 320,
187
187
  onClose: () => panelService.setPanelVisible(false)
@@ -201,7 +201,7 @@ const ToggleCommentPanelOperation = {
201
201
  const sidebarService = accessor.get(ISidebarService);
202
202
  if (!panelService.panelVisible || ((_sidebarService$optio2 = sidebarService.options.children) === null || _sidebarService$optio2 === void 0 ? void 0 : _sidebarService$optio2.label) !== "univer.doc.thread-comment-panel") {
203
203
  sidebarService.open({
204
- header: { title: "threadCommentUI.panel.title" },
204
+ header: { title: "docs-thread-comment-ui.panel.title" },
205
205
  children: { label: DOCS_THREAD_COMMENT_PANEL },
206
206
  width: 320,
207
207
  onClose: () => panelService.setPanelVisible(false)
@@ -272,7 +272,7 @@ const StartAddCommentOperation = {
272
272
  //#endregion
273
273
  //#region package.json
274
274
  var name = "@univerjs/docs-thread-comment-ui";
275
- var version = "0.24.0";
275
+ var version = "0.25.0";
276
276
 
277
277
  //#endregion
278
278
  //#region src/config/config.ts
@@ -325,6 +325,9 @@ let DocThreadCommentSelectionController = class DocThreadCommentSelectionControl
325
325
  }
326
326
  }
327
327
  if (!this._threadCommentPanelService.activeCommentId) return;
328
+ const addingComment = this._docThreadCommentService.addingComment;
329
+ const activeComment = this._threadCommentPanelService.activeCommentId;
330
+ if (addingComment && (activeComment === null || activeComment === void 0 ? void 0 : activeComment.unitId) === addingComment.unitId && (activeComment === null || activeComment === void 0 ? void 0 : activeComment.subUnitId) === "default_doc" && (activeComment === null || activeComment === void 0 ? void 0 : activeComment.commentId) === addingComment.id) return;
328
331
  this._commandService.executeCommand(SetActiveCommentOperation.id);
329
332
  }
330
333
  }));
@@ -376,8 +379,8 @@ function AddDocCommentMenuItemFactory(accessor) {
376
379
  id: StartAddCommentOperation.id,
377
380
  type: MenuItemType.BUTTON,
378
381
  icon: "CommentIcon",
379
- title: "threadCommentUI.panel.addComment",
380
- tooltip: "threadCommentUI.panel.addComment",
382
+ title: "docs-thread-comment-ui.panel.addComment",
383
+ tooltip: "docs-thread-comment-ui.panel.addComment",
381
384
  hidden$: getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_DOC, void 0, SHEET_EDITOR_UNITS),
382
385
  disabled$: new Observable(function(subscribe) {
383
386
  const observer = accessor.get(DocSelectionManagerService).textSelection$.pipe(debounceTime(16)).subscribe(() => {
@@ -394,8 +397,8 @@ function ToolbarDocCommentMenuItemFactory(accessor) {
394
397
  id: ToggleCommentPanelOperation.id,
395
398
  type: MenuItemType.BUTTON,
396
399
  icon: "CommentIcon",
397
- title: "threadCommentUI.panel.addComment",
398
- tooltip: "threadCommentUI.panel.addComment",
400
+ title: "docs-thread-comment-ui.panel.addComment",
401
+ tooltip: "docs-thread-comment-ui.panel.addComment",
399
402
  hidden$: getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_DOC)
400
403
  };
401
404
  }
@@ -600,18 +603,6 @@ let DocThreadCommentRenderController = class DocThreadCommentRenderController ex
600
603
  const unitId = this._context.unit.getUnitId();
601
604
  const subUnitId = DEFAULT_DOC_SUBUNIT_ID;
602
605
  const threadIds = (_this$_context$unit$g = (_this$_context$unit$g2 = this._context.unit.getBody()) === null || _this$_context$unit$g2 === void 0 || (_this$_context$unit$g2 = _this$_context$unit$g2.customDecorations) === null || _this$_context$unit$g2 === void 0 ? void 0 : _this$_context$unit$g2.filter((i) => i.type === CustomDecorationType.COMMENT).map((i) => i.id)) !== null && _this$_context$unit$g !== void 0 ? _this$_context$unit$g : [];
603
- threadIds.forEach((id) => {
604
- if (!this._threadCommentModel.getComment(unitId, subUnitId, id)) this._threadCommentModel.addComment(unitId, subUnitId, {
605
- id,
606
- threadId: id,
607
- ref: "",
608
- dT: "",
609
- personId: "",
610
- text: { dataStream: "" },
611
- unitId,
612
- subUnitId
613
- });
614
- });
615
606
  threadIds.length && this._threadCommentModel.syncThreadComments(this._context.unit.getUnitId(), "default_doc", threadIds);
616
607
  let prevThreadIds = threadIds.sort();
617
608
  this.disposeWithMe(this._commandService.onCommandExecuted((commandInfo) => {
@@ -622,28 +613,11 @@ let DocThreadCommentRenderController = class DocThreadCommentRenderController ex
622
613
  const currentThreadIdsSorted = currentThreadIds.sort();
623
614
  if (JSON.stringify(prevThreadIds) !== JSON.stringify(currentThreadIdsSorted)) {
624
615
  const preIds = new Set(prevThreadIds);
625
- const currentIds = new Set(currentThreadIdsSorted);
626
616
  const addIds = /* @__PURE__ */ new Set();
627
- const deleteIds = /* @__PURE__ */ new Set();
628
617
  currentThreadIds.forEach((id) => {
629
618
  if (!preIds.has(id)) addIds.add(id);
630
619
  });
631
- prevThreadIds.forEach((id) => {
632
- if (!currentIds.has(id)) deleteIds.add(id);
633
- });
634
620
  prevThreadIds = currentThreadIdsSorted;
635
- addIds.forEach((id) => {
636
- if (!this._threadCommentModel.getComment(unitId, subUnitId, id)) this._threadCommentModel.addComment(unitId, subUnitId, {
637
- id,
638
- threadId: id,
639
- ref: "",
640
- dT: "",
641
- personId: "",
642
- text: { dataStream: "" },
643
- unitId,
644
- subUnitId
645
- });
646
- });
647
621
  this._threadCommentModel.syncThreadComments(unitId, subUnitId, [...addIds]);
648
622
  }
649
623
  }
@@ -0,0 +1,8 @@
1
+ //#region src/locale/ar-SA.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "إدارة التعليقات",
4
+ addComment: "إضافة تعليق"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/ca-ES.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Gestió de comentaris",
4
+ addComment: "Afegeix un comentari"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/de-DE.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Kommentarverwaltung",
4
+ addComment: "Kommentar hinzufügen"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,23 @@
1
+ //#region src/locale/en-US.ts
2
+ /**
3
+ * Copyright 2023-present DreamNum Co., Ltd.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ const locale = { "docs-thread-comment-ui": { panel: {
18
+ title: "Comment Management",
19
+ addComment: "Add Comment"
20
+ } } };
21
+
22
+ //#endregion
23
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/es-ES.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Gestión de comentarios",
4
+ addComment: "Añadir comentario"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/fa-IR.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "مدیریت نظرات",
4
+ addComment: "افزودن نظر"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/fr-FR.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Gestion des commentaires",
4
+ addComment: "Ajouter un commentaire"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/id-ID.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Manajemen Komentar",
4
+ addComment: "Tambah Komentar"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/it-IT.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Gestione Commenti",
4
+ addComment: "Aggiungi Commento"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/ja-JP.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "コメント管理",
4
+ addComment: "コメントを追加"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/ko-KR.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "댓글 관리",
4
+ addComment: "댓글 추가"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/pl-PL.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Zarządzanie komentarzami",
4
+ addComment: "Dodaj komentarz"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/pt-BR.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Gerenciamento de Comentários",
4
+ addComment: "Adicionar Comentário"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/ru-RU.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Управление комментариями",
4
+ addComment: "Добавить комментарий"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/sk-SK.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Správa komentárov",
4
+ addComment: "Pridať komentár"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/vi-VN.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "Quản lý Bình luận",
4
+ addComment: "Thêm bình luận"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/zh-CN.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "评论管理",
4
+ addComment: "添加评论"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/zh-HK.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "評論管理",
4
+ addComment: "新增評論"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,8 @@
1
+ //#region src/locale/zh-TW.ts
2
+ const locale = { "docs-thread-comment-ui": { panel: {
3
+ title: "評論管理",
4
+ addComment: "新增評論"
5
+ } } };
6
+
7
+ //#endregion
8
+ export { locale as default };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ declare const locale: {
17
+ 'docs-thread-comment-ui': {
18
+ panel: {
19
+ title: string;
20
+ addComment: string;
21
+ };
22
+ };
23
+ };
24
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;