@ones-editor/editor 2.8.28-beta.1 → 2.8.31
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/@ones-editor/block-locker/src/i18n/zh-hant-hk.d.ts +8 -0
- package/@ones-editor/block-menu/src/locale/zh-hant-hk.d.ts +25 -0
- package/@ones-editor/callout-block/src/locale/zh-hant-hk.d.ts +15 -0
- package/@ones-editor/code-block/src/locale/zh-hant-hk.d.ts +13 -0
- package/@ones-editor/comments/src/comments/comments.d.ts +0 -4
- package/@ones-editor/comments/src/comments-helper/active-comment.d.ts +1 -3
- package/@ones-editor/comments/src/comments-helper/get-comment-from-selection.d.ts +0 -3
- package/@ones-editor/comments/src/comments-helper/get-comments-from-doc.d.ts +1 -5
- package/@ones-editor/comments/src/comments-helper/old-version-comment.d.ts +1 -2
- package/@ones-editor/comments/src/comments-list/comments-list.d.ts +1 -11
- package/@ones-editor/comments/src/comments-list/group-item.d.ts +0 -2
- package/@ones-editor/comments/src/comments-list/group-list.d.ts +2 -7
- package/@ones-editor/comments/src/comments-list/handler.d.ts +1 -2
- package/@ones-editor/comments/src/comments-list/mini-comment/group-list.d.ts +1 -1
- package/@ones-editor/comments/src/comments-list/mini-comment/mini-comments-list.d.ts +0 -1
- package/@ones-editor/comments/src/comments-list/mobile-comments-list/mobile-comments-list.d.ts +0 -1
- package/@ones-editor/comments/src/comments-render/index.d.ts +1 -10
- package/@ones-editor/comments/src/constant/index.d.ts +1 -2
- package/@ones-editor/comments/src/index.d.ts +0 -1
- package/@ones-editor/comments/src/locale/en-us.d.ts +0 -7
- package/@ones-editor/comments/src/locale/ja-jp.d.ts +0 -7
- package/@ones-editor/comments/src/locale/zh-cn.d.ts +0 -7
- package/@ones-editor/comments/src/locale/zh-hant-hk.d.ts +24 -0
- package/@ones-editor/comments/src/types.d.ts +1 -6
- package/@ones-editor/context-menu/src/locale/zh-hant-hk.d.ts +14 -0
- package/@ones-editor/core/src/core/block-renderers/block-renderers.d.ts +0 -1
- package/@ones-editor/core/src/core/composition/editor-input.d.ts +0 -2
- package/@ones-editor/core/src/core/doc/doc.d.ts +0 -9
- package/@ones-editor/core/src/core/types.d.ts +0 -3
- package/@ones-editor/core/src/i18n/i18n.d.ts +21 -1
- package/@ones-editor/core/src/i18n/zh-hant-hk.d.ts +21 -0
- package/@ones-editor/core/src/local-doc/index.d.ts +0 -1
- package/@ones-editor/dividing-line-embed/src/i18n/zh-hant-hk.d.ts +7 -0
- package/@ones-editor/drawio-embed/src/lang/zh-hant-hk.d.ts +19 -0
- package/@ones-editor/drawio-embed/types/index.d.ts +1 -1
- package/@ones-editor/embed-block-helper/src/locale/zh-hant-hk.d.ts +7 -0
- package/@ones-editor/exclusive-block/src/locale/zh-hant-hk.d.ts +7 -0
- package/@ones-editor/file/src/locale/zh-hant-hk.d.ts +15 -0
- package/@ones-editor/find-dialog/src/locale/zh-hant-hk.d.ts +13 -0
- package/@ones-editor/graph-embed/src/lang/zh-hant-hk.d.ts +18 -0
- package/@ones-editor/heading-collapse/src/locale/zh-hant-hk.d.ts +7 -0
- package/@ones-editor/image-embed/src/locale/zh-hant-hk.d.ts +17 -0
- package/@ones-editor/input-handlers/src/i18n/zh-hant-hk.d.ts +13 -0
- package/@ones-editor/layout-block/src/locale/zh-hant-hk.d.ts +10 -0
- package/@ones-editor/list-block/src/lang/zh-hant-hk.d.ts +21 -0
- package/@ones-editor/main-toolbar/src/locale/zh-hant-hk.d.ts +15 -0
- package/@ones-editor/mathjax/src/locale/zh-hant-hk.d.ts +7 -0
- package/@ones-editor/media-embed/src/locale/zh-hant-hk.d.ts +20 -0
- package/@ones-editor/mention/src/locale/zh-hant-hk.d.ts +9 -0
- package/@ones-editor/misc/src/re-auth/locale/zh-hant-hk.d.ts +7 -0
- package/@ones-editor/mobile-helper/src/locale/zh-hant-hk.d.ts +9 -0
- package/@ones-editor/paste-special/src/locale/zh-hant-hk.d.ts +8 -0
- package/@ones-editor/sharedb-doc/src/doc/comments.d.ts +1 -2
- package/@ones-editor/sharedb-doc/src/doc/op-parser/parse-handler.d.ts +1 -2
- package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +1 -3
- package/@ones-editor/sharedb-doc/src/types.d.ts +0 -1
- package/@ones-editor/status/src/locale/zh-hant-hk.d.ts +25 -0
- package/@ones-editor/table-block/src/locale/zh-hant-hk.d.ts +33 -0
- package/@ones-editor/templates/src/locale/zh-hant-hk.d.ts +9 -0
- package/@ones-editor/toc/src/locale/zh-hant-hk.d.ts +8 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/locale/zh-hant-hk.d.ts +60 -0
- package/@ones-editor/ui/src/readonly-toolbar/add-comment-to-old-doc.d.ts +0 -1
- package/@ones-editor/ui-base/src/icons/index.d.ts +1 -2
- package/@ones-editor/ui-base/src/locale/zh-hant-hk.d.ts +39 -0
- package/@ones-editor/versions/src/locale/zh-hant-hk.d.ts +45 -0
- package/@ones-editor/versions/src/version-dialog/history-handler.d.ts +0 -1
- package/@ones-editor/webpage-embed/src/locale/zh-hant-hk.d.ts +27 -0
- package/dist/comments/local-doc-comments-provider.d.ts +1 -2
- package/dist/comments/sharedb-doc-comments-provider.d.ts +1 -3
- package/dist/index.d.ts +0 -2
- package/dist/index.js +768 -878
- package/dist/lang/zh-hant-hk.d.ts +31 -0
- package/dist/types.d.ts +0 -2
- package/package.json +1 -1
- package/@ones-editor/comments/src/comments-render/get-block-comments.d.ts +0 -5
- package/@ones-editor/comments/src/resolved-comments/index.d.ts +0 -4
- package/@ones-editor/comments/src/resolved-comments/resolved-comment-editor.d.ts +0 -14
- package/@ones-editor/comments/src/resolved-comments/resolved-comment-list.d.ts +0 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
placeholder: {
|
|
3
|
+
common: {
|
|
4
|
+
title: string;
|
|
5
|
+
mobileTitle: string;
|
|
6
|
+
readonlyTitle: string;
|
|
7
|
+
content: string;
|
|
8
|
+
contentInContainer: string;
|
|
9
|
+
contentInCallout: string;
|
|
10
|
+
};
|
|
11
|
+
local: {
|
|
12
|
+
readonlyTitle: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
copyCutProperty: {
|
|
16
|
+
copy: string;
|
|
17
|
+
cut: string;
|
|
18
|
+
unsafeEnvTips: string;
|
|
19
|
+
limitedEnvTips: string;
|
|
20
|
+
};
|
|
21
|
+
error: {
|
|
22
|
+
retry: string;
|
|
23
|
+
network: string;
|
|
24
|
+
networkPopup: string;
|
|
25
|
+
uploadResourceError: string;
|
|
26
|
+
uploadResourceErrorMessage: string;
|
|
27
|
+
uploadResourcePopup: string;
|
|
28
|
+
uploadResourceNoPopup: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
package/dist/types.d.ts
CHANGED
|
@@ -59,7 +59,6 @@ export interface CreateOnesEditorOptions {
|
|
|
59
59
|
token: string;
|
|
60
60
|
disableLogout?: boolean;
|
|
61
61
|
enableComments?: boolean;
|
|
62
|
-
enableResolveComments?: boolean;
|
|
63
62
|
enableContextMenu?: boolean;
|
|
64
63
|
floatingToolbar?: boolean;
|
|
65
64
|
blockMenuButton?: boolean;
|
|
@@ -128,7 +127,6 @@ export interface CreateLocalEditorOptions {
|
|
|
128
127
|
};
|
|
129
128
|
serverUrl?: string;
|
|
130
129
|
enableComments?: boolean;
|
|
131
|
-
enableResolveComments?: boolean;
|
|
132
130
|
enableContextMenu?: boolean;
|
|
133
131
|
events?: EditorEvents;
|
|
134
132
|
componentsOptions?: EditorComponentOptions;
|
package/package.json
CHANGED
|
@@ -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,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
|
-
}
|