@ones-editor/editor 1.0.2-beta.2 → 1.0.2-beta.21
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/core/src/core/composition/clipboard/copy.d.ts +1 -3
- package/@ones-editor/core/src/core/composition/index.d.ts +1 -1
- package/@ones-editor/core/src/core/doc/doc.d.ts +8 -5
- package/@ones-editor/core/src/core/editor-doc/editor-doc.d.ts +1 -0
- package/@ones-editor/core/src/core/index.d.ts +0 -1
- package/@ones-editor/core/src/core/input-handler/input-handler.d.ts +2 -2
- package/@ones-editor/core/src/core/types.d.ts +0 -11
- package/@ones-editor/core/src/local-doc/index.d.ts +1 -0
- package/@ones-editor/image-embed/src/shortcuts/index.d.ts +1 -2
- package/@ones-editor/mathjax/src/mathjax/convert.d.ts +9 -0
- package/@ones-editor/mathjax/src/mathjax-box/mathjax-editor.d.ts +3 -3
- package/@ones-editor/sharedb-doc/src/doc/sharedb-client.d.ts +4 -0
- package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +1 -0
- package/@ones-editor/sharedb-doc/src/index.d.ts +1 -0
- package/@ones-editor/sharedb-doc/src/versions/index.d.ts +2 -0
- package/@ones-editor/sharedb-doc/src/versions/sharedb-server.d.ts +29 -0
- package/@ones-editor/sharedb-doc/src/versions/simple-client.d.ts +25 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui-base/src/color-button/text-color-item.d.ts +1 -1
- package/@ones-editor/versions/src/history-doc/history-doc.d.ts +4 -3
- package/@ones-editor/versions/src/utils/index.d.ts +2 -2
- package/@ones-editor/versions/src/version-dialog/index.d.ts +3 -3
- package/@ones-editor/versions/src/version-dialog/version-list.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +183 -183
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
- package/@ones-editor/context-menu/package.json +0 -8
- package/@ones-editor/context-menu/src/helper/actions.d.ts +0 -2
- package/@ones-editor/context-menu/src/helper/command-items.d.ts +0 -17
- package/@ones-editor/context-menu/src/helper/is-clipboard-empty.d.ts +0 -1
- package/@ones-editor/context-menu/src/helper/save-as.d.ts +0 -2
- package/@ones-editor/context-menu/src/helper/selection.d.ts +0 -0
- package/@ones-editor/context-menu/src/index.d.ts +0 -3
- package/@ones-editor/context-menu/src/locale/en-us.d.ts +0 -14
- package/@ones-editor/context-menu/src/locale/index.d.ts +0 -1
- package/@ones-editor/context-menu/src/locale/ja-jp.d.ts +0 -14
- package/@ones-editor/context-menu/src/locale/zh-cn.d.ts +0 -14
- package/@ones-editor/context-menu/src/menu/index.d.ts +0 -17
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { OnesEditor, CommandItem } from '../../../../@ones-editor/core';
|
|
2
|
-
export default class ContextMenuCommandItems {
|
|
3
|
-
private editor;
|
|
4
|
-
private t;
|
|
5
|
-
private isSecureContext;
|
|
6
|
-
constructor(editor: OnesEditor);
|
|
7
|
-
get isRangeCollapsed(): boolean;
|
|
8
|
-
get imageTypeCommandItems(): CommandItem[];
|
|
9
|
-
get copyTypeCommandItems(): CommandItem[];
|
|
10
|
-
get cutCommandItem(): CommandItem;
|
|
11
|
-
get stepItem(): CommandItem;
|
|
12
|
-
get selectionCommandItems(): CommandItem[];
|
|
13
|
-
getPasteCommandItem: () => Promise<CommandItem>;
|
|
14
|
-
getCommandItems: () => Promise<CommandItem[]>;
|
|
15
|
-
private secureEnvTips;
|
|
16
|
-
private isFocusImageBlock;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function isClipboardEmpty(): Promise<boolean>;
|
|
File without changes
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
contextMenu: {
|
|
3
|
-
copyMarkdown: string;
|
|
4
|
-
paste: string;
|
|
5
|
-
copyImage: string;
|
|
6
|
-
copyImageUrl: string;
|
|
7
|
-
imageSaveAs: string;
|
|
8
|
-
newTabOpenImage: string;
|
|
9
|
-
selectBlock: string;
|
|
10
|
-
selectAll: string;
|
|
11
|
-
uneditableBlockSelected: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
contextMenu: {
|
|
3
|
-
copyMarkdown: string;
|
|
4
|
-
paste: string;
|
|
5
|
-
copyImage: string;
|
|
6
|
-
copyImageUrl: string;
|
|
7
|
-
imageSaveAs: string;
|
|
8
|
-
newTabOpenImage: string;
|
|
9
|
-
selectBlock: string;
|
|
10
|
-
selectAll: string;
|
|
11
|
-
uneditableBlockSelected: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
contextMenu: {
|
|
3
|
-
copyMarkdown: string;
|
|
4
|
-
paste: string;
|
|
5
|
-
copyImage: string;
|
|
6
|
-
copyImageUrl: string;
|
|
7
|
-
imageSaveAs: string;
|
|
8
|
-
newTabOpenImage: string;
|
|
9
|
-
selectBlock: string;
|
|
10
|
-
selectAll: string;
|
|
11
|
-
uneditableBlockSelected: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { OnesEditor, OnesEditorContextMenuInstance } from '../../../../@ones-editor/core';
|
|
2
|
-
import './context-menu.scss';
|
|
3
|
-
declare class RightContextMenu implements OnesEditorContextMenuInstance {
|
|
4
|
-
private editor;
|
|
5
|
-
private contextMenu;
|
|
6
|
-
private contextMenuCommandItems;
|
|
7
|
-
constructor(editor: OnesEditor);
|
|
8
|
-
show(event: MouseEvent): void;
|
|
9
|
-
close(): void;
|
|
10
|
-
private handleContextMenu;
|
|
11
|
-
private isInMenu;
|
|
12
|
-
private isInEditor;
|
|
13
|
-
private handleContextMenuShown;
|
|
14
|
-
private handleContextMenuClick;
|
|
15
|
-
private handleImageEmbedAction;
|
|
16
|
-
}
|
|
17
|
-
export default RightContextMenu;
|