@univerjs/sheets-note-ui 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.
Files changed (90) hide show
  1. package/lib/cjs/index.js +7 -7
  2. package/lib/cjs/locale/ar-SA.js +13 -0
  3. package/lib/cjs/locale/ca-ES.js +4 -4
  4. package/lib/cjs/locale/de-DE.js +13 -0
  5. package/lib/cjs/locale/en-US.js +4 -4
  6. package/lib/cjs/locale/es-ES.js +4 -4
  7. package/lib/cjs/locale/fa-IR.js +4 -4
  8. package/lib/cjs/locale/fr-FR.js +4 -4
  9. package/lib/cjs/locale/id-ID.js +13 -0
  10. package/lib/cjs/locale/it-IT.js +13 -0
  11. package/lib/cjs/locale/ja-JP.js +4 -4
  12. package/lib/cjs/locale/ko-KR.js +4 -4
  13. package/lib/cjs/locale/pl-PL.js +13 -0
  14. package/lib/cjs/locale/pt-BR.js +13 -0
  15. package/lib/cjs/locale/ru-RU.js +4 -4
  16. package/lib/cjs/locale/sk-SK.js +4 -4
  17. package/lib/cjs/locale/vi-VN.js +4 -4
  18. package/lib/cjs/locale/zh-CN.js +4 -4
  19. package/lib/cjs/locale/zh-HK.js +13 -0
  20. package/lib/cjs/locale/zh-TW.js +4 -4
  21. package/lib/es/index.js +7 -7
  22. package/lib/es/locale/ar-SA.js +12 -0
  23. package/lib/es/locale/ca-ES.js +4 -4
  24. package/lib/es/locale/de-DE.js +12 -0
  25. package/lib/es/locale/en-US.js +4 -4
  26. package/lib/es/locale/es-ES.js +4 -4
  27. package/lib/es/locale/fa-IR.js +4 -4
  28. package/lib/es/locale/fr-FR.js +4 -4
  29. package/lib/es/locale/id-ID.js +12 -0
  30. package/lib/es/locale/it-IT.js +12 -0
  31. package/lib/es/locale/ja-JP.js +4 -4
  32. package/lib/es/locale/ko-KR.js +4 -4
  33. package/lib/es/locale/pl-PL.js +12 -0
  34. package/lib/es/locale/pt-BR.js +12 -0
  35. package/lib/es/locale/ru-RU.js +4 -4
  36. package/lib/es/locale/sk-SK.js +4 -4
  37. package/lib/es/locale/vi-VN.js +4 -4
  38. package/lib/es/locale/zh-CN.js +4 -4
  39. package/lib/es/locale/zh-HK.js +12 -0
  40. package/lib/es/locale/zh-TW.js +4 -4
  41. package/lib/index.js +7 -7
  42. package/lib/locale/ar-SA.js +12 -0
  43. package/lib/locale/ca-ES.js +4 -4
  44. package/lib/locale/de-DE.js +12 -0
  45. package/lib/locale/en-US.js +4 -4
  46. package/lib/locale/es-ES.js +4 -4
  47. package/lib/locale/fa-IR.js +4 -4
  48. package/lib/locale/fr-FR.js +4 -4
  49. package/lib/locale/id-ID.js +12 -0
  50. package/lib/locale/it-IT.js +12 -0
  51. package/lib/locale/ja-JP.js +4 -4
  52. package/lib/locale/ko-KR.js +4 -4
  53. package/lib/locale/pl-PL.js +12 -0
  54. package/lib/locale/pt-BR.js +12 -0
  55. package/lib/locale/ru-RU.js +4 -4
  56. package/lib/locale/sk-SK.js +4 -4
  57. package/lib/locale/vi-VN.js +4 -4
  58. package/lib/locale/zh-CN.js +4 -4
  59. package/lib/locale/zh-HK.js +12 -0
  60. package/lib/locale/zh-TW.js +4 -4
  61. package/lib/types/locale/ar-SA.d.ts +18 -0
  62. package/lib/types/locale/de-DE.d.ts +18 -0
  63. package/lib/types/locale/en-US.d.ts +9 -7
  64. package/lib/types/locale/id-ID.d.ts +18 -0
  65. package/lib/types/locale/it-IT.d.ts +18 -0
  66. package/lib/types/locale/pl-PL.d.ts +18 -0
  67. package/lib/types/locale/pt-BR.d.ts +18 -0
  68. package/lib/types/locale/zh-HK.d.ts +18 -0
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -0
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -0
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -0
  78. package/lib/umd/locale/it-IT.js +1 -0
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -0
  82. package/lib/umd/locale/pt-BR.js +1 -0
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -0
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +10 -10
  90. package/LICENSE +0 -176
package/lib/cjs/index.js CHANGED
@@ -67,7 +67,7 @@ let SheetsCellContentController = class SheetsCellContentController extends _uni
67
67
  _initSkeletonChange() {
68
68
  const markSkeletonDirty = () => {
69
69
  var _currentRender$mainCo;
70
- const workbook = this._univerInstanceService.getCurrentUnitForType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
70
+ const workbook = this._univerInstanceService.getCurrentUnitOfType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
71
71
  if (!workbook) return;
72
72
  const unitId = workbook.getUnitId();
73
73
  const currentRender = this._renderManagerService.getRenderById(unitId);
@@ -345,7 +345,7 @@ SheetsNotePopupController = __decorate([
345
345
  //#endregion
346
346
  //#region package.json
347
347
  var name = "@univerjs/sheets-note-ui";
348
- var version = "0.23.0";
348
+ var version = "0.24.0-insiders.20260528-29f582d";
349
349
 
350
350
  //#endregion
351
351
  //#region src/config/config.ts
@@ -474,7 +474,7 @@ const AddNotePopupOperation = {
474
474
  var _params$trigger;
475
475
  const selectionService = accessor.get(_univerjs_sheets.SheetsSelectionsService);
476
476
  const notePopupService = accessor.get(SheetsNotePopupService);
477
- const workbook = accessor.get(_univerjs_core.IUniverInstanceService).getCurrentUnitForType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
477
+ const workbook = accessor.get(_univerjs_core.IUniverInstanceService).getCurrentUnitOfType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
478
478
  if (!workbook) return false;
479
479
  const worksheet = workbook.getActiveSheet();
480
480
  const lastSelection = selectionService.getCurrentLastSelection();
@@ -514,7 +514,7 @@ function sheetNoteContextMenuFactory(accessor) {
514
514
  return {
515
515
  id: AddNotePopupOperation.id,
516
516
  type: _univerjs_ui.MenuItemType.BUTTON,
517
- title: "rightClick.addNote",
517
+ title: "sheets-note-ui.rightClick.addNote",
518
518
  icon: "AddNoteIcon",
519
519
  hidden$: (0, rxjs.combineLatest)([(0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET), getHasNote$(accessor)]).pipe((0, rxjs.map)(([hidden, hasNote]) => hidden || hasNote)),
520
520
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
@@ -528,7 +528,7 @@ function sheetDeleteNoteMenuFactory(accessor) {
528
528
  return {
529
529
  id: _univerjs_sheets_note.SheetDeleteNoteCommand.id,
530
530
  type: _univerjs_ui.MenuItemType.BUTTON,
531
- title: "rightClick.deleteNote",
531
+ title: "sheets-note-ui.rightClick.deleteNote",
532
532
  icon: "DeleteNoteIcon",
533
533
  hidden$: getHasNote$(accessor).pipe((0, rxjs.map)((hasNote) => !hasNote)),
534
534
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
@@ -541,7 +541,7 @@ function sheetNoteToggleMenuFactory(accessor) {
541
541
  return {
542
542
  id: _univerjs_sheets_note.SheetToggleNotePopupCommand.id,
543
543
  type: _univerjs_ui.MenuItemType.BUTTON,
544
- title: "rightClick.toggleNote",
544
+ title: "sheets-note-ui.rightClick.toggleNote",
545
545
  icon: "HideNoteIcon",
546
546
  hidden$: getHasNote$(accessor).pipe((0, rxjs.map)((hasNote) => !hasNote))
547
547
  };
@@ -662,7 +662,7 @@ const SheetsNote = (props) => {
662
662
  "data-u-comp": "note-textarea",
663
663
  className: (0, _univerjs_design.clsx)("univer-ml-px univer-min-h-1 univer-min-w-1 univer-bg-white !univer-text-sm univer-shadow dark:!univer-bg-gray-800"),
664
664
  value: note === null || note === void 0 ? void 0 : note.note,
665
- placeholder: localeService.t("note.placeholder"),
665
+ placeholder: localeService.t("sheets-note-ui.note.placeholder"),
666
666
  onResize: handleResize,
667
667
  onValueChange: handleNoteChange,
668
668
  onWheel: (e) => {
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/ar-SA.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "اكتب هنا" },
5
+ rightClick: {
6
+ addNote: "إضافة ملاحظة",
7
+ deleteNote: "حذف الملاحظة",
8
+ toggleNote: "إظهار/إخفاء الملاحظة"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/ca-ES.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Escriu aquí" },
4
5
  rightClick: {
5
6
  addNote: "Afegeix nota",
6
7
  deleteNote: "Elimina nota",
7
8
  toggleNote: "Mostra/Amaga nota"
8
- },
9
- note: { placeholder: "Escriu aquí" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/de-DE.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Hier eingeben" },
5
+ rightClick: {
6
+ addNote: "Notiz hinzufügen",
7
+ deleteNote: "Notiz löschen",
8
+ toggleNote: "Notiz anzeigen/ausblenden"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -15,14 +15,14 @@
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-note-ui": {
19
+ note: { placeholder: "Type here" },
19
20
  rightClick: {
20
21
  addNote: "Add Note",
21
22
  deleteNote: "Delete Note",
22
23
  toggleNote: "Show/Hide Note"
23
- },
24
- note: { placeholder: "Type here" }
25
- };
24
+ }
25
+ } };
26
26
 
27
27
  //#endregion
28
28
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/es-ES.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Escribe aquí" },
4
5
  rightClick: {
5
6
  addNote: "Agregar nota",
6
7
  deleteNote: "Eliminar nota",
7
8
  toggleNote: "Mostrar/Ocultar nota"
8
- },
9
- note: { placeholder: "Escribe aquí" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/fa-IR.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "اینجا تایپ کنید" },
4
5
  rightClick: {
5
6
  addNote: "افزودن یادداشت",
6
7
  deleteNote: "حذف یادداشت",
7
8
  toggleNote: "نمایش/پنهان کردن یادداشت"
8
- },
9
- note: { placeholder: "اینجا تایپ کنید" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/fr-FR.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Écrivez ici" },
4
5
  rightClick: {
5
6
  addNote: "Ajouter une note",
6
7
  deleteNote: "Supprimer la note",
7
8
  toggleNote: "Afficher/Masquer la note"
8
- },
9
- note: { placeholder: "Écrivez ici" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/id-ID.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Ketik di sini" },
5
+ rightClick: {
6
+ addNote: "Tambah Catatan",
7
+ deleteNote: "Hapus Catatan",
8
+ toggleNote: "Tampilkan/Sembunyikan Catatan"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/it-IT.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Scrivi qui" },
5
+ rightClick: {
6
+ addNote: "Aggiungi nota",
7
+ deleteNote: "Elimina nota",
8
+ toggleNote: "Mostra/Nascondi nota"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/ja-JP.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "ここに入力" },
4
5
  rightClick: {
5
6
  addNote: "コメントを追加",
6
7
  deleteNote: "コメントを削除",
7
8
  toggleNote: "コメントの表示/非表示"
8
- },
9
- note: { placeholder: "ここに入力" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/ko-KR.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "여기에 입력" },
4
5
  rightClick: {
5
6
  addNote: "노트 추가",
6
7
  deleteNote: "노트 삭제",
7
8
  toggleNote: "노트 표시/숨기기"
8
- },
9
- note: { placeholder: "여기에 입력" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/pl-PL.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Wpisz tutaj" },
5
+ rightClick: {
6
+ addNote: "Dodaj notatkę",
7
+ deleteNote: "Usuń notatkę",
8
+ toggleNote: "Pokaż/Ukryj notatkę"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/pt-BR.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Digite aqui" },
5
+ rightClick: {
6
+ addNote: "Adicionar Nota",
7
+ deleteNote: "Excluir Nota",
8
+ toggleNote: "Exibir/Ocultar Nota"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/ru-RU.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Введите текст здесь" },
4
5
  rightClick: {
5
6
  addNote: "Добавить примечание",
6
7
  deleteNote: "Удалить примечание",
7
8
  toggleNote: "Показать/Скрыть примечание"
8
- },
9
- note: { placeholder: "Введите текст здесь" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/sk-SK.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Píšte sem" },
4
5
  rightClick: {
5
6
  addNote: "Pridať poznámku",
6
7
  deleteNote: "Odstrániť poznámku",
7
8
  toggleNote: "Zobraziť/Skryť poznámku"
8
- },
9
- note: { placeholder: "Píšte sem" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/vi-VN.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "Nhập tại đây" },
4
5
  rightClick: {
5
6
  addNote: "Thêm ghi chú",
6
7
  deleteNote: "Xóa ghi chú",
7
8
  toggleNote: "Hiện/Ẩn ghi chú"
8
- },
9
- note: { placeholder: "Nhập tại đây" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/zh-CN.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "在此输入" },
4
5
  rightClick: {
5
6
  addNote: "添加批注",
6
7
  deleteNote: "删除批注",
7
8
  toggleNote: "显示/隐藏批注"
8
- },
9
- note: { placeholder: "在此输入" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
@@ -0,0 +1,13 @@
1
+
2
+ //#region src/locale/zh-HK.ts
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "在此輸入" },
5
+ rightClick: {
6
+ addNote: "添加批註",
7
+ deleteNote: "刪除批註",
8
+ toggleNote: "顯示/隱藏批註"
9
+ }
10
+ } };
11
+
12
+ //#endregion
13
+ module.exports = locale;
@@ -1,13 +1,13 @@
1
1
 
2
2
  //#region src/locale/zh-TW.ts
3
- const locale = {
3
+ const locale = { "sheets-note-ui": {
4
+ note: { placeholder: "在此輸入" },
4
5
  rightClick: {
5
6
  addNote: "添加批註",
6
7
  deleteNote: "刪除批註",
7
8
  toggleNote: "顯示/隱藏批註"
8
- },
9
- note: { placeholder: "在此輸入" }
10
- };
9
+ }
10
+ } };
11
11
 
12
12
  //#endregion
13
13
  module.exports = locale;
package/lib/es/index.js CHANGED
@@ -66,7 +66,7 @@ let SheetsCellContentController = class SheetsCellContentController extends Disp
66
66
  _initSkeletonChange() {
67
67
  const markSkeletonDirty = () => {
68
68
  var _currentRender$mainCo;
69
- const workbook = this._univerInstanceService.getCurrentUnitForType(UniverInstanceType.UNIVER_SHEET);
69
+ const workbook = this._univerInstanceService.getCurrentUnitOfType(UniverInstanceType.UNIVER_SHEET);
70
70
  if (!workbook) return;
71
71
  const unitId = workbook.getUnitId();
72
72
  const currentRender = this._renderManagerService.getRenderById(unitId);
@@ -344,7 +344,7 @@ SheetsNotePopupController = __decorate([
344
344
  //#endregion
345
345
  //#region package.json
346
346
  var name = "@univerjs/sheets-note-ui";
347
- var version = "0.23.0";
347
+ var version = "0.24.0-insiders.20260528-29f582d";
348
348
 
349
349
  //#endregion
350
350
  //#region src/config/config.ts
@@ -473,7 +473,7 @@ const AddNotePopupOperation = {
473
473
  var _params$trigger;
474
474
  const selectionService = accessor.get(SheetsSelectionsService);
475
475
  const notePopupService = accessor.get(SheetsNotePopupService);
476
- const workbook = accessor.get(IUniverInstanceService).getCurrentUnitForType(UniverInstanceType.UNIVER_SHEET);
476
+ const workbook = accessor.get(IUniverInstanceService).getCurrentUnitOfType(UniverInstanceType.UNIVER_SHEET);
477
477
  if (!workbook) return false;
478
478
  const worksheet = workbook.getActiveSheet();
479
479
  const lastSelection = selectionService.getCurrentLastSelection();
@@ -513,7 +513,7 @@ function sheetNoteContextMenuFactory(accessor) {
513
513
  return {
514
514
  id: AddNotePopupOperation.id,
515
515
  type: MenuItemType.BUTTON,
516
- title: "rightClick.addNote",
516
+ title: "sheets-note-ui.rightClick.addNote",
517
517
  icon: "AddNoteIcon",
518
518
  hidden$: combineLatest([getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_SHEET), getHasNote$(accessor)]).pipe(map(([hidden, hasNote]) => hidden || hasNote)),
519
519
  disabled$: getCurrentRangeDisable$(accessor, {
@@ -527,7 +527,7 @@ function sheetDeleteNoteMenuFactory(accessor) {
527
527
  return {
528
528
  id: SheetDeleteNoteCommand.id,
529
529
  type: MenuItemType.BUTTON,
530
- title: "rightClick.deleteNote",
530
+ title: "sheets-note-ui.rightClick.deleteNote",
531
531
  icon: "DeleteNoteIcon",
532
532
  hidden$: getHasNote$(accessor).pipe(map((hasNote) => !hasNote)),
533
533
  disabled$: getCurrentRangeDisable$(accessor, {
@@ -540,7 +540,7 @@ function sheetNoteToggleMenuFactory(accessor) {
540
540
  return {
541
541
  id: SheetToggleNotePopupCommand.id,
542
542
  type: MenuItemType.BUTTON,
543
- title: "rightClick.toggleNote",
543
+ title: "sheets-note-ui.rightClick.toggleNote",
544
544
  icon: "HideNoteIcon",
545
545
  hidden$: getHasNote$(accessor).pipe(map((hasNote) => !hasNote))
546
546
  };
@@ -661,7 +661,7 @@ const SheetsNote = (props) => {
661
661
  "data-u-comp": "note-textarea",
662
662
  className: clsx("univer-ml-px univer-min-h-1 univer-min-w-1 univer-bg-white !univer-text-sm univer-shadow dark:!univer-bg-gray-800"),
663
663
  value: note === null || note === void 0 ? void 0 : note.note,
664
- placeholder: localeService.t("note.placeholder"),
664
+ placeholder: localeService.t("sheets-note-ui.note.placeholder"),
665
665
  onResize: handleResize,
666
666
  onValueChange: handleNoteChange,
667
667
  onWheel: (e) => {
@@ -0,0 +1,12 @@
1
+ //#region src/locale/ar-SA.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "اكتب هنا" },
4
+ rightClick: {
5
+ addNote: "إضافة ملاحظة",
6
+ deleteNote: "حذف الملاحظة",
7
+ toggleNote: "إظهار/إخفاء الملاحظة"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -1,12 +1,12 @@
1
1
  //#region src/locale/ca-ES.ts
2
- const locale = {
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Escriu aquí" },
3
4
  rightClick: {
4
5
  addNote: "Afegeix nota",
5
6
  deleteNote: "Elimina nota",
6
7
  toggleNote: "Mostra/Amaga nota"
7
- },
8
- note: { placeholder: "Escriu aquí" }
9
- };
8
+ }
9
+ } };
10
10
 
11
11
  //#endregion
12
12
  export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/de-DE.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Hier eingeben" },
4
+ rightClick: {
5
+ addNote: "Notiz hinzufügen",
6
+ deleteNote: "Notiz löschen",
7
+ toggleNote: "Notiz anzeigen/ausblenden"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -14,14 +14,14 @@
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-note-ui": {
18
+ note: { placeholder: "Type here" },
18
19
  rightClick: {
19
20
  addNote: "Add Note",
20
21
  deleteNote: "Delete Note",
21
22
  toggleNote: "Show/Hide Note"
22
- },
23
- note: { placeholder: "Type here" }
24
- };
23
+ }
24
+ } };
25
25
 
26
26
  //#endregion
27
27
  export { locale as default };
@@ -1,12 +1,12 @@
1
1
  //#region src/locale/es-ES.ts
2
- const locale = {
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Escribe aquí" },
3
4
  rightClick: {
4
5
  addNote: "Agregar nota",
5
6
  deleteNote: "Eliminar nota",
6
7
  toggleNote: "Mostrar/Ocultar nota"
7
- },
8
- note: { placeholder: "Escribe aquí" }
9
- };
8
+ }
9
+ } };
10
10
 
11
11
  //#endregion
12
12
  export { locale as default };
@@ -1,12 +1,12 @@
1
1
  //#region src/locale/fa-IR.ts
2
- const locale = {
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "اینجا تایپ کنید" },
3
4
  rightClick: {
4
5
  addNote: "افزودن یادداشت",
5
6
  deleteNote: "حذف یادداشت",
6
7
  toggleNote: "نمایش/پنهان کردن یادداشت"
7
- },
8
- note: { placeholder: "اینجا تایپ کنید" }
9
- };
8
+ }
9
+ } };
10
10
 
11
11
  //#endregion
12
12
  export { locale as default };
@@ -1,12 +1,12 @@
1
1
  //#region src/locale/fr-FR.ts
2
- const locale = {
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Écrivez ici" },
3
4
  rightClick: {
4
5
  addNote: "Ajouter une note",
5
6
  deleteNote: "Supprimer la note",
6
7
  toggleNote: "Afficher/Masquer la note"
7
- },
8
- note: { placeholder: "Écrivez ici" }
9
- };
8
+ }
9
+ } };
10
10
 
11
11
  //#endregion
12
12
  export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/id-ID.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Ketik di sini" },
4
+ rightClick: {
5
+ addNote: "Tambah Catatan",
6
+ deleteNote: "Hapus Catatan",
7
+ toggleNote: "Tampilkan/Sembunyikan Catatan"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/it-IT.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Scrivi qui" },
4
+ rightClick: {
5
+ addNote: "Aggiungi nota",
6
+ deleteNote: "Elimina nota",
7
+ toggleNote: "Mostra/Nascondi nota"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -1,12 +1,12 @@
1
1
  //#region src/locale/ja-JP.ts
2
- const locale = {
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "ここに入力" },
3
4
  rightClick: {
4
5
  addNote: "コメントを追加",
5
6
  deleteNote: "コメントを削除",
6
7
  toggleNote: "コメントの表示/非表示"
7
- },
8
- note: { placeholder: "ここに入力" }
9
- };
8
+ }
9
+ } };
10
10
 
11
11
  //#endregion
12
12
  export { locale as default };
@@ -1,12 +1,12 @@
1
1
  //#region src/locale/ko-KR.ts
2
- const locale = {
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "여기에 입력" },
3
4
  rightClick: {
4
5
  addNote: "노트 추가",
5
6
  deleteNote: "노트 삭제",
6
7
  toggleNote: "노트 표시/숨기기"
7
- },
8
- note: { placeholder: "여기에 입력" }
9
- };
8
+ }
9
+ } };
10
10
 
11
11
  //#endregion
12
12
  export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/pl-PL.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Wpisz tutaj" },
4
+ rightClick: {
5
+ addNote: "Dodaj notatkę",
6
+ deleteNote: "Usuń notatkę",
7
+ toggleNote: "Pokaż/Ukryj notatkę"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/pt-BR.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Digite aqui" },
4
+ rightClick: {
5
+ addNote: "Adicionar Nota",
6
+ deleteNote: "Excluir Nota",
7
+ toggleNote: "Exibir/Ocultar Nota"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };