@ones-editor/editor 2.8.25-beta.9 → 2.8.26

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 (42) hide show
  1. package/@ones-editor/comments/src/comments/comments.d.ts +0 -4
  2. package/@ones-editor/comments/src/comments-helper/active-comment.d.ts +1 -3
  3. package/@ones-editor/comments/src/comments-helper/get-comment-from-selection.d.ts +0 -3
  4. package/@ones-editor/comments/src/comments-helper/get-comments-from-doc.d.ts +1 -5
  5. package/@ones-editor/comments/src/comments-helper/old-version-comment.d.ts +1 -2
  6. package/@ones-editor/comments/src/comments-list/comments-list.d.ts +1 -11
  7. package/@ones-editor/comments/src/comments-list/group-item.d.ts +0 -2
  8. package/@ones-editor/comments/src/comments-list/group-list.d.ts +2 -5
  9. package/@ones-editor/comments/src/comments-list/handler.d.ts +1 -2
  10. package/@ones-editor/comments/src/comments-list/mini-comment/group-list.d.ts +1 -1
  11. package/@ones-editor/comments/src/comments-list/mini-comment/mini-comments-list.d.ts +0 -1
  12. package/@ones-editor/comments/src/comments-list/mobile-comments-list/mobile-comments-list.d.ts +0 -1
  13. package/@ones-editor/comments/src/comments-render/index.d.ts +1 -10
  14. package/@ones-editor/comments/src/constant/index.d.ts +1 -2
  15. package/@ones-editor/comments/src/index.d.ts +0 -1
  16. package/@ones-editor/comments/src/locale/en-us.d.ts +0 -6
  17. package/@ones-editor/comments/src/locale/ja-jp.d.ts +0 -6
  18. package/@ones-editor/comments/src/locale/zh-cn.d.ts +0 -6
  19. package/@ones-editor/comments/src/types.d.ts +1 -6
  20. package/@ones-editor/core/src/core/block-renderers/block-renderers.d.ts +0 -1
  21. package/@ones-editor/core/src/core/doc/doc.d.ts +0 -9
  22. package/@ones-editor/core/src/core/types.d.ts +0 -1
  23. package/@ones-editor/core/src/local-doc/index.d.ts +0 -1
  24. package/@ones-editor/drawio-embed/src/config/drawio.d.ts +1 -1
  25. package/@ones-editor/drawio-embed/types/index.d.ts +2 -1
  26. package/@ones-editor/sharedb-doc/src/doc/comments.d.ts +1 -2
  27. package/@ones-editor/sharedb-doc/src/doc/op-parser/parse-handler.d.ts +1 -2
  28. package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +1 -3
  29. package/@ones-editor/sharedb-doc/src/types.d.ts +0 -1
  30. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  31. package/@ones-editor/ui/src/readonly-toolbar/add-comment-to-old-doc.d.ts +0 -1
  32. package/@ones-editor/ui-base/src/icons/index.d.ts +1 -2
  33. package/@ones-editor/versions/src/version-dialog/history-handler.d.ts +0 -1
  34. package/dist/comments/local-doc-comments-provider.d.ts +1 -2
  35. package/dist/comments/sharedb-doc-comments-provider.d.ts +1 -3
  36. package/dist/index.d.ts +0 -1
  37. package/dist/index.js +175 -843
  38. package/package.json +1 -1
  39. package/@ones-editor/comments/src/comments-render/get-block-comments.d.ts +0 -5
  40. package/@ones-editor/comments/src/resolved-comments/index.d.ts +0 -4
  41. package/@ones-editor/comments/src/resolved-comments/resolved-comment-editor.d.ts +0 -14
  42. package/@ones-editor/comments/src/resolved-comments/resolved-comment-list.d.ts +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.8.25-beta.9",
3
+ "version": "2.8.26",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {
@@ -1,5 +0,0 @@
1
- import { DocObject } from '../../../../@ones-editor/core';
2
- type CommentIds = Set<string>;
3
- export declare function getBlockCommentsFromDoc(doc: DocObject): Map<string, CommentIds>;
4
- export declare function getBlocksByCommentId(doc: DocObject, commentId: string): string[];
5
- export {};
@@ -1,4 +0,0 @@
1
- import { ManualCloseDialog } from '../../../../@ones-editor/ui-base';
2
- import { OnesEditor } from '../../../../@ones-editor/core';
3
- import './styles.scss';
4
- export declare function showResolvedComments(editor: OnesEditor): ManualCloseDialog | null;
@@ -1,14 +0,0 @@
1
- import type { OnesEditor, DocObject } from '../../../../@ones-editor/core';
2
- import { OnesEditorCommentsProvider } from '../types';
3
- export declare class ResolvedCommentEditor {
4
- private commentsProvider;
5
- private doc;
6
- root: HTMLDivElement;
7
- private components;
8
- constructor(commentsProvider: OnesEditorCommentsProvider, doc: DocObject);
9
- private createEditor;
10
- get editor(): OnesEditor;
11
- setDoc: (doc: DocObject) => void;
12
- readonly: () => void;
13
- destroy: () => void;
14
- }
@@ -1,4 +0,0 @@
1
- import { OnesEditor } from '../../../../@ones-editor/core';
2
- export declare function createResolvedCommentList(parent: HTMLElement, editor: OnesEditor): {
3
- destroy(): void;
4
- } | null;