@ones-editor/editor 0.0.3-beta.100 → 0.0.3-beta.102
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-menu/src/locale/ja-jp.d.ts +24 -0
- package/@ones-editor/drawio-embed/src/drawio-embed.d.ts +1 -0
- package/@ones-editor/drawio-embed/src/lang/en-us.d.ts +6 -4
- package/@ones-editor/drawio-embed/src/lang/index.d.ts +1 -1
- package/@ones-editor/drawio-embed/src/lang/ja-jp.d.ts +9 -0
- package/@ones-editor/drawio-embed/src/lang/zh-cn.d.ts +6 -4
- package/@ones-editor/drop-target/src/drop-target.d.ts +1 -0
- package/@ones-editor/exclusive-block/src/exclusive-dom.d.ts +1 -1
- package/@ones-editor/exclusive-block/src/index.d.ts +1 -0
- package/@ones-editor/exclusive-block/src/locale/en-us.d.ts +7 -0
- package/@ones-editor/exclusive-block/src/locale/index.d.ts +1 -0
- package/@ones-editor/exclusive-block/src/locale/ja-jp.d.ts +7 -0
- package/@ones-editor/exclusive-block/src/locale/zh-cn.d.ts +7 -0
- package/@ones-editor/find-dialog/src/locale/ja-jp.d.ts +13 -0
- package/@ones-editor/list-block/src/lang/ja-jp.d.ts +21 -0
- package/@ones-editor/text-commands/src/locale/en-us.d.ts +0 -14
- package/@ones-editor/text-commands/src/locale/ja-jp.d.ts +13 -0
- package/@ones-editor/text-commands/src/locale/zh-cn.d.ts +0 -14
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/locale/en-us.d.ts +0 -12
- package/@ones-editor/ui/src/locale/ja-jp.d.ts +43 -0
- package/@ones-editor/ui/src/locale/zh-cn.d.ts +0 -12
- package/@ones-editor/webpage-embed/src/locale/ja-jp.d.ts +23 -0
- package/dist/index.js +85 -85
- package/package.json +1 -1
- package/@ones-editor/misc/src/copy-cut-property.d.ts +0 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
blockMenu: {
|
|
3
|
+
section: {
|
|
4
|
+
basics: string;
|
|
5
|
+
system: string;
|
|
6
|
+
styles: string;
|
|
7
|
+
common: string;
|
|
8
|
+
actions: string;
|
|
9
|
+
thirdParty: string;
|
|
10
|
+
};
|
|
11
|
+
command: {
|
|
12
|
+
insertAbove: string;
|
|
13
|
+
insertAfter: string;
|
|
14
|
+
copy: string;
|
|
15
|
+
cut: string;
|
|
16
|
+
delete: string;
|
|
17
|
+
};
|
|
18
|
+
button: {
|
|
19
|
+
searchPlaceholder: string;
|
|
20
|
+
tips: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -17,6 +17,7 @@ export default class OnesEditorDropTarget {
|
|
|
17
17
|
addHandler(handler: DropHandler): void;
|
|
18
18
|
static register(editor: OnesEditor): OnesEditorDropTarget;
|
|
19
19
|
static get(editor: OnesEditor): OnesEditorDropTarget;
|
|
20
|
+
static find(editor: OnesEditor): OnesEditorDropTarget | null;
|
|
20
21
|
private canInsertAfter;
|
|
21
22
|
private canInsertBefore;
|
|
22
23
|
private canDrop;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockElement, OnesEditor } from '../../../@ones-editor/core';
|
|
2
|
-
export declare function addExclusiveStyle(block: BlockElement, userId: string, displayName: string): void;
|
|
2
|
+
export declare function addExclusiveStyle(editor: OnesEditor, block: BlockElement, userId: string, displayName: string): void;
|
|
3
3
|
export declare function removeExclusiveStyle(block: BlockElement): void;
|
|
4
4
|
export declare function updateBlockExclusive(editor: OnesEditor, block: BlockElement, exclusive: boolean, userId: string, displayName: string): void;
|
|
5
5
|
export declare function isExclusiveBlock(block: BlockElement): boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnesEditorExclusiveBlock } from './exclusive-block';
|
|
2
2
|
import BlockExclusiveHook from './exclusive-block-hook';
|
|
3
3
|
import './exclusive-block-styles.scss';
|
|
4
|
+
import './locale';
|
|
4
5
|
export { isExclusiveBlock } from './exclusive-dom';
|
|
5
6
|
export { exclusiveBlock, unexclusiveBlock } from './exclusive-block';
|
|
6
7
|
export { BlockExclusiveHook, OnesEditorExclusiveBlock };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
find: {
|
|
3
|
+
findLabel: string;
|
|
4
|
+
replaceLabel: string;
|
|
5
|
+
findButton: string;
|
|
6
|
+
replaceButton: string;
|
|
7
|
+
replaceAllButton: string;
|
|
8
|
+
moreButton: string;
|
|
9
|
+
findPlaceholder: string;
|
|
10
|
+
replacePlaceholder: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
list: {
|
|
3
|
+
confirm: string;
|
|
4
|
+
setStart: string;
|
|
5
|
+
continueList: string;
|
|
6
|
+
restartList: string;
|
|
7
|
+
changeNumber: string;
|
|
8
|
+
numberLabel: string;
|
|
9
|
+
mention: {
|
|
10
|
+
tooltip: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
mindmap: {
|
|
14
|
+
viewAsMindMap: string;
|
|
15
|
+
autoFit: string;
|
|
16
|
+
fullScreen: string;
|
|
17
|
+
close: string;
|
|
18
|
+
exitFullscreen: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -9,19 +9,5 @@ declare const _default: {
|
|
|
9
9
|
superscript: string;
|
|
10
10
|
more: string;
|
|
11
11
|
};
|
|
12
|
-
commandDesc: {
|
|
13
|
-
mac: {
|
|
14
|
-
bold: string;
|
|
15
|
-
italic: string;
|
|
16
|
-
underline: string;
|
|
17
|
-
strikethrough: string;
|
|
18
|
-
};
|
|
19
|
-
window: {
|
|
20
|
-
bold: string;
|
|
21
|
-
italic: string;
|
|
22
|
-
underline: string;
|
|
23
|
-
strikethrough: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
12
|
};
|
|
27
13
|
export default _default;
|
|
@@ -9,19 +9,5 @@ declare const _default: {
|
|
|
9
9
|
superscript: string;
|
|
10
10
|
more: string;
|
|
11
11
|
};
|
|
12
|
-
commandDesc: {
|
|
13
|
-
mac: {
|
|
14
|
-
bold: string;
|
|
15
|
-
italic: string;
|
|
16
|
-
underline: string;
|
|
17
|
-
strikethrough: string;
|
|
18
|
-
};
|
|
19
|
-
window: {
|
|
20
|
-
bold: string;
|
|
21
|
-
italic: string;
|
|
22
|
-
underline: string;
|
|
23
|
-
strikethrough: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
12
|
};
|
|
27
13
|
export default _default;
|