@ones-editor/editor 3.0.4-beta.1 → 3.0.4-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.
Files changed (46) hide show
  1. package/@ones-editor/block-locker/src/i18n/de-de.d.ts +8 -0
  2. package/@ones-editor/block-menu/src/locale/de-de.d.ts +25 -0
  3. package/@ones-editor/callout-block/src/locale/de-de.d.ts +15 -0
  4. package/@ones-editor/code-block/src/locale/de-de.d.ts +13 -0
  5. package/@ones-editor/comments/src/locale/de-de.d.ts +33 -0
  6. package/@ones-editor/context-menu/src/locale/de-de.d.ts +14 -0
  7. package/@ones-editor/core/src/core/types.d.ts +0 -1
  8. package/@ones-editor/core/src/i18n/de-de.d.ts +21 -0
  9. package/@ones-editor/core/src/i18n/i18n.d.ts +21 -1
  10. package/@ones-editor/dividing-line-embed/src/i18n/de-de.d.ts +7 -0
  11. package/@ones-editor/drawio-embed/src/lang/de-de.d.ts +19 -0
  12. package/@ones-editor/embed-block-helper/src/locale/de-de.d.ts +7 -0
  13. package/@ones-editor/exclusive-block/src/locale/de-de.d.ts +7 -0
  14. package/@ones-editor/file/src/locale/de-de.d.ts +17 -0
  15. package/@ones-editor/find-dialog/src/locale/de-de.d.ts +13 -0
  16. package/@ones-editor/graph-embed/src/lang/de-de.d.ts +18 -0
  17. package/@ones-editor/heading-collapse/src/locale/de-de.d.ts +7 -0
  18. package/@ones-editor/image-embed/src/locale/de-de.d.ts +17 -0
  19. package/@ones-editor/input-handlers/src/i18n/de-de.d.ts +13 -0
  20. package/@ones-editor/input-handlers/src/markdown-shortcuts/markdown-input-handler.d.ts +0 -3
  21. package/@ones-editor/input-handlers/src/markdown-shortcuts/match-block-style.d.ts +1 -2
  22. package/@ones-editor/layout-block/src/locale/de-de.d.ts +10 -0
  23. package/@ones-editor/list-block/src/lang/de-de.d.ts +21 -0
  24. package/@ones-editor/main-toolbar/src/items/text-color.d.ts +0 -1
  25. package/@ones-editor/main-toolbar/src/locale/de-de.d.ts +18 -0
  26. package/@ones-editor/mathjax/src/locale/de-de.d.ts +7 -0
  27. package/@ones-editor/media-embed/src/locale/de-de.d.ts +20 -0
  28. package/@ones-editor/mention/src/locale/de-de.d.ts +9 -0
  29. package/@ones-editor/misc/src/re-auth/locale/de-de.d.ts +7 -0
  30. package/@ones-editor/mobile-helper/src/locale/de-de.d.ts +9 -0
  31. package/@ones-editor/paste-special/src/locale/de-de.d.ts +8 -0
  32. package/@ones-editor/status/src/locale/de-de.d.ts +25 -0
  33. package/@ones-editor/table-block/src/locale/de-de.d.ts +33 -0
  34. package/@ones-editor/templates/src/locale/de-de.d.ts +9 -0
  35. package/@ones-editor/to-docx/src/locale/de-de.d.ts +7 -0
  36. package/@ones-editor/toc/src/locale/de-de.d.ts +8 -0
  37. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  38. package/@ones-editor/ui/src/locale/de-de.d.ts +60 -0
  39. package/@ones-editor/ui-base/src/locale/de-de.d.ts +39 -0
  40. package/@ones-editor/versions/src/locale/de-de.d.ts +46 -0
  41. package/@ones-editor/webpage-embed/src/locale/de-de.d.ts +27 -0
  42. package/dist/index.d.ts +0 -2
  43. package/dist/index.js +684 -131
  44. package/dist/lang/de-de.d.ts +31 -0
  45. package/package.json +1 -1
  46. package/@ones-editor/input-handlers/src/markdown-shortcuts/types.d.ts +0 -3
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ locker: {
3
+ lock: string;
4
+ unlock: string;
5
+ lockedBy: string;
6
+ };
7
+ };
8
+ export default _default;
@@ -0,0 +1,25 @@
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
+ insertTips: string;
22
+ };
23
+ };
24
+ };
25
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ callout: {
3
+ name: string;
4
+ command: {
5
+ presetInfo: string;
6
+ presetAlert: string;
7
+ clearEmoji: string;
8
+ background: string;
9
+ };
10
+ icon: {
11
+ toggleIcon: string;
12
+ };
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ code: {
3
+ title: string;
4
+ abstract: string;
5
+ wrap: string;
6
+ copy: string;
7
+ caption: string;
8
+ search: string;
9
+ copySuccess: string;
10
+ plainText: string;
11
+ };
12
+ };
13
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ comment: {
3
+ count: string;
4
+ hide: string;
5
+ show: string;
6
+ reply: string;
7
+ quicklyReply: string;
8
+ send: string;
9
+ placeholder: string;
10
+ replyPlaceholder: string;
11
+ edit: string;
12
+ delete: string;
13
+ image: string;
14
+ sendTitle: string;
15
+ replyTitle: string;
16
+ isFirst: string;
17
+ isLast: string;
18
+ more: string;
19
+ comment: string;
20
+ command: string;
21
+ quickMenuCommand: string;
22
+ resolvedBy: string;
23
+ reopen: string;
24
+ currentComment: string;
25
+ resolvedComment: string;
26
+ removedFromDoc: string;
27
+ noCurrentComment: string;
28
+ noResolvedComment: string;
29
+ resolveComment: string;
30
+ commentHasAlreadyRemoved: string;
31
+ };
32
+ };
33
+ export default _default;
@@ -0,0 +1,14 @@
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;
@@ -132,7 +132,6 @@ export interface CommandItem {
132
132
  value?: string;
133
133
  order?: number;
134
134
  type?: CommandItemType;
135
- className?: string;
136
135
  element?: HTMLElement | ((item: CommandItem) => HTMLElement);
137
136
  icon?: string;
138
137
  childrenType?: 'menu' | 'toolbar' | 'mobile-bottom-menu';
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ name: string;
3
+ date: {
4
+ dateFromFuture: string;
5
+ dateJustNow: string;
6
+ dateYesterday: string;
7
+ dateMinutesAgo: string;
8
+ date1HourAgo: string;
9
+ dateHoursAgo: string;
10
+ dateDaysAgo: string;
11
+ dateWeeksAgo: string;
12
+ };
13
+ common: {
14
+ cancel: string;
15
+ downloadAsImage: string;
16
+ };
17
+ docx: {
18
+ imageExportFailed: string;
19
+ };
20
+ };
21
+ export default _default;
@@ -80,9 +80,29 @@ declare const langs: {
80
80
  imageExportFailed: string;
81
81
  };
82
82
  };
83
+ 'de-DE': {
84
+ name: string;
85
+ date: {
86
+ dateFromFuture: string;
87
+ dateJustNow: string;
88
+ dateYesterday: string;
89
+ dateMinutesAgo: string;
90
+ date1HourAgo: string;
91
+ dateHoursAgo: string;
92
+ dateDaysAgo: string;
93
+ dateWeeksAgo: string;
94
+ };
95
+ common: {
96
+ cancel: string;
97
+ downloadAsImage: string;
98
+ };
99
+ docx: {
100
+ imageExportFailed: string;
101
+ };
102
+ };
83
103
  };
84
104
  export declare function setLang(lang?: LANGS | null | undefined): void;
85
105
  export declare function mergeLang(l: any): void;
86
106
  export declare function t(key: string, args?: Record<string, string>): string;
87
- export declare function getCurrentLang(): "en-US" | "zh-CN" | "zh-HK" | "ja-JP";
107
+ export declare function getCurrentLang(): "en-US" | "zh-CN" | "zh-HK" | "ja-JP" | "de-DE";
88
108
  export {};
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ dividingLine: {
3
+ type: string;
4
+ abstract: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ drawio: {
3
+ title: string;
4
+ empty: string;
5
+ loading: string;
6
+ abstract: string;
7
+ errorTips: string;
8
+ errorSubTips: string;
9
+ warnTips: string;
10
+ retry: string;
11
+ save: string;
12
+ exit: string;
13
+ error: {
14
+ exitConfirm: string;
15
+ exitMessage: string;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ embedProperties: {
3
+ edit: string;
4
+ addComment: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ exclusive: {
3
+ tips: string;
4
+ fallbackAbstract: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ file: {
3
+ abstract: string;
4
+ commands: {
5
+ download: string;
6
+ toLink: string;
7
+ toCard: string;
8
+ comment: string;
9
+ preview: string;
10
+ };
11
+ uploadedTime: string;
12
+ askAi: string;
13
+ uploadFailed: string;
14
+ retryUpload: string;
15
+ };
16
+ };
17
+ export default _default;
@@ -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,18 @@
1
+ declare const _default: {
2
+ graph: {
3
+ empty: string;
4
+ readonlyEmpty: string;
5
+ errorTips: string;
6
+ help: string;
7
+ plantuml: string;
8
+ mermaid: string;
9
+ flowchart: string;
10
+ command: {
11
+ name: string;
12
+ bothShow: string;
13
+ codeShow: string;
14
+ drawShow: string;
15
+ };
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ expandCollapseButton: {
3
+ expand: string;
4
+ collapse: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ image: {
3
+ title: string;
4
+ upload: {
5
+ failed: string;
6
+ };
7
+ load: {
8
+ failed: string;
9
+ remote: {
10
+ failed: string;
11
+ tooltip: string;
12
+ };
13
+ };
14
+ abstract: string;
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ placeholder: {
3
+ default: string;
4
+ heading: string;
5
+ list: string;
6
+ mention: string;
7
+ mobileMention: string;
8
+ quote: string;
9
+ title: string;
10
+ mobileDefault: string;
11
+ };
12
+ };
13
+ export default _default;
@@ -1,8 +1,5 @@
1
1
  import { OnesEditor, OnesEditorInputHandler } from '../../../../@ones-editor/core';
2
- import { MarkdownInputHandlerOptions } from './types';
3
2
  declare class MarkdownInputHandler implements OnesEditorInputHandler {
4
- private options?;
5
- constructor(options?: MarkdownInputHandlerOptions | undefined);
6
3
  handleAfterInsertText(editor: OnesEditor, containerId: string, blockIndex: number, offset: number, text: string): boolean;
7
4
  handleBeforeKeyDown(editor: OnesEditor, event: KeyboardEvent): boolean;
8
5
  }
@@ -1,3 +1,2 @@
1
1
  import { OnesEditor } from '../../../../@ones-editor/core';
2
- import { MarkdownInputHandlerOptions } from './types';
3
- export declare function matchBlockStyle(editor: OnesEditor, containerId: string, blockIndex: number, offset: number, options?: MarkdownInputHandlerOptions): boolean;
2
+ export declare function matchBlockStyle(editor: OnesEditor, containerId: string, blockIndex: number, offset: number): boolean;
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ layout: {
3
+ title: string;
4
+ columnDrag: string;
5
+ insertColumn: string;
6
+ selectColumn: string;
7
+ currentCols: string;
8
+ };
9
+ };
10
+ 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;
@@ -15,7 +15,6 @@ export declare class ColorItem extends TextColorItem implements ToolbarItem {
15
15
  value?: string | undefined;
16
16
  order?: number | undefined;
17
17
  type?: import("@ones-editor/core").CommandItemType | undefined;
18
- className?: string | undefined;
19
18
  element?: HTMLElement | ((item: import("@ones-editor/core").CommandItem) => HTMLElement) | undefined;
20
19
  icon?: string | undefined;
21
20
  childrenType?: "menu" | "toolbar" | "mobile-bottom-menu" | undefined;
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ toolbar: {
3
+ undo: string;
4
+ redo: string;
5
+ insert: string;
6
+ findReplace: string;
7
+ image: string;
8
+ link: string;
9
+ quote: string;
10
+ checkList: string;
11
+ orderedList: string;
12
+ unorderedList: string;
13
+ fullscreen: string;
14
+ file: string;
15
+ mention: string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ mathjax: {
3
+ emptyText: string;
4
+ abstract: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ media: {
3
+ upload: {
4
+ failed: string;
5
+ maxSizeFailed: string;
6
+ };
7
+ load: {
8
+ failed: string;
9
+ };
10
+ audio: {
11
+ menuItem: string;
12
+ abstract: string;
13
+ };
14
+ video: {
15
+ menuItem: string;
16
+ abstract: string;
17
+ };
18
+ };
19
+ };
20
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ mention: {
3
+ abstract: string;
4
+ placeholder: string;
5
+ noResult: string;
6
+ header: string;
7
+ };
8
+ };
9
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ authError: {
3
+ tips: string;
4
+ successTips: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ mobile: {
3
+ insert: string;
4
+ commands: {
5
+ select: string;
6
+ };
7
+ };
8
+ };
9
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ pasteSpecial: {
3
+ originFormats: string;
4
+ plainText: string;
5
+ markdown: string;
6
+ };
7
+ };
8
+ export default _default;
@@ -0,0 +1,25 @@
1
+ declare const _default: {
2
+ status: {
3
+ empty: string;
4
+ command: {
5
+ name: string;
6
+ };
7
+ color: {
8
+ red: string;
9
+ yellow: string;
10
+ green: string;
11
+ blue: string;
12
+ purple: string;
13
+ grey: string;
14
+ };
15
+ colorDefaultTitle: {
16
+ red: string;
17
+ yellow: string;
18
+ green: string;
19
+ blue: string;
20
+ purple: string;
21
+ grey: string;
22
+ };
23
+ };
24
+ };
25
+ export default _default;
@@ -0,0 +1,33 @@
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
+ adjustColumnWidthsEvenly: string;
11
+ insertCol: string;
12
+ insertRow: string;
13
+ deleteCol: string;
14
+ deleteRow: string;
15
+ tableConfig: {
16
+ rowTitle: string;
17
+ colTitle: string;
18
+ stripeStyle: string;
19
+ hideBorder: string;
20
+ showBorder: string;
21
+ showChart: string;
22
+ hideChart: string;
23
+ };
24
+ title: string;
25
+ abstract: string;
26
+ commands: {
27
+ setting: string;
28
+ insertRightCol: string;
29
+ insertBottomRow: string;
30
+ };
31
+ };
32
+ };
33
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ templates: {
3
+ title: string;
4
+ create: string;
5
+ choose: string;
6
+ customizedMark: string;
7
+ };
8
+ };
9
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ toDocx: {
3
+ videoUnsupportedExport: string;
4
+ audioUnsupportedExport: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ toc: {
3
+ name: string;
4
+ empty: string;
5
+ abstract: string;
6
+ };
7
+ };
8
+ export default _default;