@apollo-office/sheets-note-ui 1.0.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 (118) hide show
  1. package/LICENSE +176 -0
  2. package/MODIFICATIONS.md +26 -0
  3. package/NOTICE +14 -0
  4. package/README.md +42 -0
  5. package/lib/cjs/index.js +789 -0
  6. package/lib/cjs/locale/ar-SA.js +13 -0
  7. package/lib/cjs/locale/ca-ES.js +13 -0
  8. package/lib/cjs/locale/de-DE.js +13 -0
  9. package/lib/cjs/locale/en-US.js +28 -0
  10. package/lib/cjs/locale/es-ES.js +13 -0
  11. package/lib/cjs/locale/fa-IR.js +13 -0
  12. package/lib/cjs/locale/fr-FR.js +13 -0
  13. package/lib/cjs/locale/id-ID.js +13 -0
  14. package/lib/cjs/locale/it-IT.js +13 -0
  15. package/lib/cjs/locale/ja-JP.js +13 -0
  16. package/lib/cjs/locale/ko-KR.js +13 -0
  17. package/lib/cjs/locale/pl-PL.js +13 -0
  18. package/lib/cjs/locale/pt-BR.js +13 -0
  19. package/lib/cjs/locale/ru-RU.js +13 -0
  20. package/lib/cjs/locale/sk-SK.js +13 -0
  21. package/lib/cjs/locale/vi-VN.js +13 -0
  22. package/lib/cjs/locale/zh-CN.js +13 -0
  23. package/lib/cjs/locale/zh-HK.js +13 -0
  24. package/lib/cjs/locale/zh-TW.js +13 -0
  25. package/lib/es/index.js +764 -0
  26. package/lib/es/locale/ar-SA.js +12 -0
  27. package/lib/es/locale/ca-ES.js +12 -0
  28. package/lib/es/locale/de-DE.js +12 -0
  29. package/lib/es/locale/en-US.js +27 -0
  30. package/lib/es/locale/es-ES.js +12 -0
  31. package/lib/es/locale/fa-IR.js +12 -0
  32. package/lib/es/locale/fr-FR.js +12 -0
  33. package/lib/es/locale/id-ID.js +12 -0
  34. package/lib/es/locale/it-IT.js +12 -0
  35. package/lib/es/locale/ja-JP.js +12 -0
  36. package/lib/es/locale/ko-KR.js +12 -0
  37. package/lib/es/locale/pl-PL.js +12 -0
  38. package/lib/es/locale/pt-BR.js +12 -0
  39. package/lib/es/locale/ru-RU.js +12 -0
  40. package/lib/es/locale/sk-SK.js +12 -0
  41. package/lib/es/locale/vi-VN.js +12 -0
  42. package/lib/es/locale/zh-CN.js +12 -0
  43. package/lib/es/locale/zh-HK.js +12 -0
  44. package/lib/es/locale/zh-TW.js +12 -0
  45. package/lib/index.css +31 -0
  46. package/lib/index.js +764 -0
  47. package/lib/locale/ar-SA.js +12 -0
  48. package/lib/locale/ca-ES.js +12 -0
  49. package/lib/locale/de-DE.js +12 -0
  50. package/lib/locale/en-US.js +27 -0
  51. package/lib/locale/es-ES.js +12 -0
  52. package/lib/locale/fa-IR.js +12 -0
  53. package/lib/locale/fr-FR.js +12 -0
  54. package/lib/locale/id-ID.js +12 -0
  55. package/lib/locale/it-IT.js +12 -0
  56. package/lib/locale/ja-JP.js +12 -0
  57. package/lib/locale/ko-KR.js +12 -0
  58. package/lib/locale/pl-PL.js +12 -0
  59. package/lib/locale/pt-BR.js +12 -0
  60. package/lib/locale/ru-RU.js +12 -0
  61. package/lib/locale/sk-SK.js +12 -0
  62. package/lib/locale/vi-VN.js +12 -0
  63. package/lib/locale/zh-CN.js +12 -0
  64. package/lib/locale/zh-HK.js +12 -0
  65. package/lib/locale/zh-TW.js +12 -0
  66. package/lib/types/commands/operations/add-note-popup.operation.d.ts +20 -0
  67. package/lib/types/config/config.d.ts +26 -0
  68. package/lib/types/controllers/sheets-cell-content.controller.d.ts +28 -0
  69. package/lib/types/controllers/sheets-note-attachment.controller.d.ts +31 -0
  70. package/lib/types/controllers/sheets-note-popup.controller.d.ts +36 -0
  71. package/lib/types/controllers/sheets-note-ui.controller.d.ts +26 -0
  72. package/lib/types/index.d.ts +22 -0
  73. package/lib/types/locale/ar-SA.d.ts +18 -0
  74. package/lib/types/locale/ca-ES.d.ts +18 -0
  75. package/lib/types/locale/de-DE.d.ts +18 -0
  76. package/lib/types/locale/en-US.d.ts +28 -0
  77. package/lib/types/locale/es-ES.d.ts +18 -0
  78. package/lib/types/locale/fa-IR.d.ts +18 -0
  79. package/lib/types/locale/fr-FR.d.ts +18 -0
  80. package/lib/types/locale/id-ID.d.ts +18 -0
  81. package/lib/types/locale/it-IT.d.ts +18 -0
  82. package/lib/types/locale/ja-JP.d.ts +18 -0
  83. package/lib/types/locale/ko-KR.d.ts +18 -0
  84. package/lib/types/locale/pl-PL.d.ts +18 -0
  85. package/lib/types/locale/pt-BR.d.ts +18 -0
  86. package/lib/types/locale/ru-RU.d.ts +18 -0
  87. package/lib/types/locale/sk-SK.d.ts +18 -0
  88. package/lib/types/locale/vi-VN.d.ts +18 -0
  89. package/lib/types/locale/zh-CN.d.ts +18 -0
  90. package/lib/types/locale/zh-HK.d.ts +18 -0
  91. package/lib/types/locale/zh-TW.d.ts +18 -0
  92. package/lib/types/menu/note.menu.d.ts +21 -0
  93. package/lib/types/menu/schema.d.ts +17 -0
  94. package/lib/types/plugin.d.ts +30 -0
  95. package/lib/types/services/sheets-note-popup.service.d.ts +41 -0
  96. package/lib/types/views/Note.d.ts +27 -0
  97. package/lib/types/views/config.d.ts +16 -0
  98. package/lib/umd/index.js +1 -0
  99. package/lib/umd/locale/ar-SA.js +1 -0
  100. package/lib/umd/locale/ca-ES.js +1 -0
  101. package/lib/umd/locale/de-DE.js +1 -0
  102. package/lib/umd/locale/en-US.js +1 -0
  103. package/lib/umd/locale/es-ES.js +1 -0
  104. package/lib/umd/locale/fa-IR.js +1 -0
  105. package/lib/umd/locale/fr-FR.js +1 -0
  106. package/lib/umd/locale/id-ID.js +1 -0
  107. package/lib/umd/locale/it-IT.js +1 -0
  108. package/lib/umd/locale/ja-JP.js +1 -0
  109. package/lib/umd/locale/ko-KR.js +1 -0
  110. package/lib/umd/locale/pl-PL.js +1 -0
  111. package/lib/umd/locale/pt-BR.js +1 -0
  112. package/lib/umd/locale/ru-RU.js +1 -0
  113. package/lib/umd/locale/sk-SK.js +1 -0
  114. package/lib/umd/locale/vi-VN.js +1 -0
  115. package/lib/umd/locale/zh-CN.js +1 -0
  116. package/lib/umd/locale/zh-HK.js +1 -0
  117. package/lib/umd/locale/zh-TW.js +1 -0
  118. package/package.json +73 -0
@@ -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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/ca-ES.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Escriu aquí" },
4
+ rightClick: {
5
+ addNote: "Afegeix nota",
6
+ deleteNote: "Elimina nota",
7
+ toggleNote: "Mostra/Amaga nota"
8
+ }
9
+ } };
10
+
11
+ //#endregion
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 };
@@ -0,0 +1,27 @@
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 = { "sheets-note-ui": {
18
+ note: { placeholder: "Type here" },
19
+ rightClick: {
20
+ addNote: "Add Note",
21
+ deleteNote: "Delete Note",
22
+ toggleNote: "Show/Hide Note"
23
+ }
24
+ } };
25
+
26
+ //#endregion
27
+ export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/es-ES.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Escribe aquí" },
4
+ rightClick: {
5
+ addNote: "Agregar nota",
6
+ deleteNote: "Eliminar nota",
7
+ toggleNote: "Mostrar/Ocultar nota"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/fa-IR.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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/fr-FR.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Écrivez ici" },
4
+ rightClick: {
5
+ addNote: "Ajouter une note",
6
+ deleteNote: "Supprimer la note",
7
+ toggleNote: "Afficher/Masquer la note"
8
+ }
9
+ } };
10
+
11
+ //#endregion
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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/ja-JP.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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/ko-KR.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 };
@@ -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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/ru-RU.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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/sk-SK.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Píšte sem" },
4
+ rightClick: {
5
+ addNote: "Pridať poznámku",
6
+ deleteNote: "Odstrániť poznámku",
7
+ toggleNote: "Zobraziť/Skryť poznámku"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/vi-VN.ts
2
+ const locale = { "sheets-note-ui": {
3
+ note: { placeholder: "Nhập tại đây" },
4
+ rightClick: {
5
+ addNote: "Thêm ghi chú",
6
+ deleteNote: "Xóa ghi chú",
7
+ toggleNote: "Hiện/Ẩn ghi chú"
8
+ }
9
+ } };
10
+
11
+ //#endregion
12
+ export { locale as default };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/zh-CN.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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/zh-HK.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 };
@@ -0,0 +1,12 @@
1
+ //#region src/locale/zh-TW.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 };
@@ -0,0 +1,20 @@
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 { ICommand } from '@apollo-office/core';
17
+ export interface IAddNotePopupOperationParams {
18
+ trigger?: string;
19
+ }
20
+ export declare const AddNotePopupOperation: ICommand;
@@ -0,0 +1,26 @@
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 { MenuConfig } from '@apollo-office/ui';
17
+ export declare const SHEETS_NOTE_UI_PLUGIN_CONFIG_KEY = "sheets-note-ui.config";
18
+ export declare const configSymbol: unique symbol;
19
+ export interface IUniverSheetsNoteUIConfig {
20
+ menu?: MenuConfig;
21
+ defaultNoteSize?: {
22
+ width: number;
23
+ height: number;
24
+ };
25
+ }
26
+ export declare const defaultPluginConfig: IUniverSheetsNoteUIConfig;
@@ -0,0 +1,28 @@
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 { Disposable, IUniverInstanceService } from '@apollo-office/core';
17
+ import { IRenderManagerService } from '@apollo-office/engine-render';
18
+ import { SheetInterceptorService } from '@apollo-office/sheets';
19
+ import { SheetsNoteModel } from '@apollo-office/sheets-note';
20
+ export declare class SheetsCellContentController extends Disposable {
21
+ private readonly _sheetInterceptorService;
22
+ private readonly _sheetsNoteModel;
23
+ private readonly _renderManagerService;
24
+ private readonly _univerInstanceService;
25
+ constructor(_sheetInterceptorService: SheetInterceptorService, _sheetsNoteModel: SheetsNoteModel, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService);
26
+ private _initViewModelIntercept;
27
+ private _initSkeletonChange;
28
+ }
@@ -0,0 +1,31 @@
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 { Disposable, IUniverInstanceService } from '@apollo-office/core';
17
+ import { SheetsNoteModel } from '@apollo-office/sheets-note';
18
+ import { CellPopupManagerService } from '@apollo-office/sheets-ui';
19
+ import { SheetsNotePopupService } from '../services/sheets-note-popup.service';
20
+ export declare class SheetsNoteAttachmentController extends Disposable {
21
+ private readonly _sheetsNoteModel;
22
+ private readonly _univerInstanceService;
23
+ private readonly _cellPopupManagerService;
24
+ private readonly _sheetsNotePopupService;
25
+ private _noteMatrix;
26
+ constructor(_sheetsNoteModel: SheetsNoteModel, _univerInstanceService: IUniverInstanceService, _cellPopupManagerService: CellPopupManagerService, _sheetsNotePopupService: SheetsNotePopupService);
27
+ private _showPopup;
28
+ dispose(): void;
29
+ private _initSheet;
30
+ private _initNoteChangeListener;
31
+ }
@@ -0,0 +1,36 @@
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 { Disposable } from '@apollo-office/core';
17
+ import { IRenderManagerService } from '@apollo-office/engine-render';
18
+ import { SheetsSelectionsService } from '@apollo-office/sheets';
19
+ import { SheetsNoteModel } from '@apollo-office/sheets-note';
20
+ import { HoverManagerService, IEditorBridgeService } from '@apollo-office/sheets-ui';
21
+ import { SheetsNotePopupService } from '../services/sheets-note-popup.service';
22
+ export declare class SheetsNotePopupController extends Disposable {
23
+ private readonly _sheetsNotePopupService;
24
+ private readonly _sheetsNoteModel;
25
+ private readonly _sheetSelectionService;
26
+ private readonly _editorBridgeService;
27
+ private readonly _renderManagerService;
28
+ private readonly _hoverManagerService;
29
+ private _isSwitchingSheet;
30
+ constructor(_sheetsNotePopupService: SheetsNotePopupService, _sheetsNoteModel: SheetsNoteModel, _sheetSelectionService: SheetsSelectionsService, _editorBridgeService: IEditorBridgeService, _renderManagerService: IRenderManagerService, _hoverManagerService: HoverManagerService);
31
+ private _handleSelectionChange;
32
+ private _initSelectionUpdateListener;
33
+ private _initEditorBridge;
34
+ private _initHoverEvent;
35
+ private _initDeleteNoteListener;
36
+ }
@@ -0,0 +1,26 @@
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 { Disposable, ICommandService } from '@apollo-office/core';
17
+ import { ComponentManager, IMenuManagerService } from '@apollo-office/ui';
18
+ export declare class SheetsNoteUIController extends Disposable {
19
+ private readonly _componentManager;
20
+ private readonly _menuManagerService;
21
+ private readonly _commandService;
22
+ constructor(_componentManager: ComponentManager, _menuManagerService: IMenuManagerService, _commandService: ICommandService);
23
+ private _initComponents;
24
+ private _initMenu;
25
+ private _initCommands;
26
+ }
@@ -0,0 +1,22 @@
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 './global.css';
17
+ export type { IUniverSheetsNoteUIConfig } from './config/config';
18
+ export { SheetsCellContentController } from './controllers/sheets-cell-content.controller';
19
+ export { SheetsNotePopupController } from './controllers/sheets-note-popup.controller';
20
+ export { UniverSheetsNoteUIPlugin } from './plugin';
21
+ export { SheetsNotePopupService } from './services/sheets-note-popup.service';
22
+ export { SheetsNote } from './views/Note';
@@ -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,28 @@
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
+ 'sheets-note-ui': {
18
+ note: {
19
+ placeholder: string;
20
+ };
21
+ rightClick: {
22
+ addNote: string;
23
+ deleteNote: string;
24
+ toggleNote: string;
25
+ };
26
+ };
27
+ };
28
+ 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;