@ones-editor/editor 0.0.3-beta.106 → 0.0.3-beta.108
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/ja-JP.d.ts +8 -0
- package/@ones-editor/block-menu/src/block-menu-button/drag-drop/drag-handler.d.ts +1 -1
- package/@ones-editor/input-handlers/src/i18n/ja-jp.d.ts +11 -0
- package/@ones-editor/list-block/src/index.d.ts +6 -4
- package/@ones-editor/list-block/src/mindmap/to-mindmap/index.d.ts +2 -0
- package/@ones-editor/mathjax/src/locale/ja-jp.d.ts +7 -0
- package/@ones-editor/media-embed/src/locale/ja-jp.d.ts +19 -0
- package/@ones-editor/sharedb-doc/src/doc/op-parser/parse-handler.d.ts +25 -0
- package/@ones-editor/table-block/src/locale/ja-jp.d.ts +27 -0
- package/@ones-editor/templates/src/locale/ja-jp.d.ts +9 -0
- package/@ones-editor/toc/src/locale/ja-jp.d.ts +6 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/versions/src/locale/ja-jp.d.ts +36 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +113 -113
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { TextKindBlock } from '../../../@ones-editor/core';
|
|
2
2
|
import OnesEditorListMindmap from './mindmap';
|
|
3
|
+
import { toMindmap } from './mindmap/to-mindmap';
|
|
4
|
+
import { Mindmap } from './mindmap/mindmap';
|
|
5
|
+
import { resetListStart } from './start/reset-list-start';
|
|
6
|
+
import { getListAllNextBrothers } from './utils/list-brother';
|
|
3
7
|
import './lang';
|
|
4
8
|
import './style.scss';
|
|
5
|
-
|
|
6
|
-
import { resetListStart } from './start/reset-list-start';
|
|
7
|
-
export { type ListOptions } from './types';
|
|
9
|
+
export { type ListOptions, type DocListBlock } from './types';
|
|
8
10
|
declare const ListBlock: TextKindBlock;
|
|
9
11
|
export * from './keyboard/to-text-block';
|
|
10
|
-
export { ListBlock, OnesEditorListMindmap, resetListStart, getListAllNextBrothers, };
|
|
12
|
+
export { ListBlock, OnesEditorListMindmap, Mindmap, resetListStart, getListAllNextBrothers, toMindmap, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
media: {
|
|
3
|
+
upload: {
|
|
4
|
+
failed: string;
|
|
5
|
+
};
|
|
6
|
+
load: {
|
|
7
|
+
failed: string;
|
|
8
|
+
};
|
|
9
|
+
audio: {
|
|
10
|
+
menuItem: string;
|
|
11
|
+
abstract: string;
|
|
12
|
+
};
|
|
13
|
+
video: {
|
|
14
|
+
menuItem: string;
|
|
15
|
+
abstract: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DocBlock, DocBlockTextActions, OnesEditorHistoryDataParseHandler } from '../../../../../@ones-editor/core';
|
|
2
|
+
type ActionType = 'deleteBlock' | 'insertBlock' | 'deleteBlockData' | 'insertBlockData' | 'updateBlockText' | 'deleteContainer' | 'createContainer' | 'deleteComment' | 'createComment' | 'updateComment';
|
|
3
|
+
interface Action {
|
|
4
|
+
type: ActionType;
|
|
5
|
+
containerId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class ParseHandler {
|
|
8
|
+
private outerHandler;
|
|
9
|
+
private local;
|
|
10
|
+
private actions;
|
|
11
|
+
constructor(outerHandler: OnesEditorHistoryDataParseHandler, local: boolean);
|
|
12
|
+
pushActions(action: Action): void;
|
|
13
|
+
onDeleteBlock(containerId: string, blockIndex: number): void;
|
|
14
|
+
onInsertBlock(containerId: string, blockIndex: number, data: DocBlock): void;
|
|
15
|
+
onDeleteBlockData(containerId: string, blockIndex: number, key: string): void;
|
|
16
|
+
onInsertBlockData(containerId: string, blockIndex: number, key: string, value: unknown): void;
|
|
17
|
+
onUpdateBlockText(containerId: string, blockIndex: number, richTextData: DocBlockTextActions): void;
|
|
18
|
+
onDeleteContainer(containerId: string): void;
|
|
19
|
+
onCreateContainer(containerId: string, data: DocBlock[]): void;
|
|
20
|
+
onDeleteComment(commentId: string): void;
|
|
21
|
+
onCreateComment(commentId: string): void;
|
|
22
|
+
onUpdateComment(commentId: string): void;
|
|
23
|
+
end(): void;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
table: {
|
|
3
|
+
cellBackground: string;
|
|
4
|
+
deleteSelectRow: string;
|
|
5
|
+
deleteSelectCol: string;
|
|
6
|
+
mergeCell: string;
|
|
7
|
+
splitCell: string;
|
|
8
|
+
tableConfigKey: string;
|
|
9
|
+
deleteTable: string;
|
|
10
|
+
insertCol: string;
|
|
11
|
+
insertRow: string;
|
|
12
|
+
deleteCol: string;
|
|
13
|
+
deleteRow: string;
|
|
14
|
+
tableConfig: {
|
|
15
|
+
rowTitle: string;
|
|
16
|
+
colTitle: string;
|
|
17
|
+
stripeStyle: string;
|
|
18
|
+
hideBorder: string;
|
|
19
|
+
showBorder: string;
|
|
20
|
+
showChart: string;
|
|
21
|
+
hideChart: string;
|
|
22
|
+
};
|
|
23
|
+
title: string;
|
|
24
|
+
abstract: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|