@ones-editor/editor 0.0.3-beta.92 → 0.0.3-beta.94

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.
@@ -5,6 +5,8 @@ declare const _default: {
5
5
  wrap: string;
6
6
  copy: string;
7
7
  caption: string;
8
+ search: string;
9
+ copySuccess: string;
8
10
  };
9
11
  };
10
12
  export default _default;
@@ -5,6 +5,8 @@ declare const _default: {
5
5
  wrap: string;
6
6
  copy: string;
7
7
  caption: string;
8
+ search: string;
9
+ copySuccess: string;
8
10
  };
9
11
  };
10
12
  export default _default;
@@ -5,6 +5,8 @@ declare const _default: {
5
5
  wrap: string;
6
6
  copy: string;
7
7
  caption: string;
8
+ search: string;
9
+ copySuccess: string;
8
10
  };
9
11
  };
10
12
  export default _default;
@@ -588,6 +588,7 @@ export interface OnesEditorInputHandler {
588
588
  handleBeforeKeyDown?: (editor: OnesEditor, event: KeyboardEvent) => boolean;
589
589
  handleAfterKeyDown?: (editor: OnesEditor, event: KeyboardEvent) => boolean;
590
590
  handleBeforeCopy?: (editor: OnesEditor, event: ClipboardEvent, doc: DocObject) => DocObject | boolean | undefined;
591
+ handleBeforeCut?: (editor: OnesEditor, event: ClipboardEvent) => DocObject | boolean | undefined;
591
592
  handleBeforePaste?: (editor: OnesEditor, event: ClipboardEvent | null, doc: OnesEditorDocs) => Promise<boolean>;
592
593
  handleAfterPaste?: (editor: OnesEditor, event: ClipboardEvent | null, doc: OnesEditorDocs) => Promise<boolean>;
593
594
  handleBeforePasteDoc?: (editor: OnesEditor, doc: DocObject) => Promise<boolean>;
@@ -31,6 +31,22 @@ declare const langs: {
31
31
  cancel: string;
32
32
  };
33
33
  };
34
+ 'ja-JP': {
35
+ name: string;
36
+ date: {
37
+ dateFromFuture: string;
38
+ dateJustNow: string;
39
+ dateYesterday: string;
40
+ dateMinutesAgo: string;
41
+ date1HourAgo: string;
42
+ dateHoursAgo: string;
43
+ dateDaysAgo: string;
44
+ dateWeeksAgo: string;
45
+ };
46
+ common: {
47
+ cancel: string;
48
+ };
49
+ };
34
50
  };
35
51
  export declare function setLang(lang?: string | null | undefined): void;
36
52
  export declare function mergeLang(l: any): void;
@@ -0,0 +1,17 @@
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
+ };
16
+ };
17
+ export default _default;
@@ -3,5 +3,6 @@ export declare class ImageCopyHandler implements OnesEditorInputHandler, OnesEdi
3
3
  private editor;
4
4
  constructor(editor: OnesEditor);
5
5
  handleBeforeCopy(editor: OnesEditor, event: ClipboardEvent, doc: DocObject): boolean | DocObject | undefined;
6
+ handleBeforeCut(editor: OnesEditor, event: ClipboardEvent): boolean | undefined;
6
7
  destroy(): void;
7
8
  }
@@ -1,3 +1,4 @@
1
- import { ShortcutRecords } from '../../../../@ones-editor/core';
1
+ import { OnesEditor, ShortcutRecords } from '../../../../@ones-editor/core';
2
+ declare function cutImage(editor: OnesEditor): true | undefined;
2
3
  declare const ImageShortcuts: ShortcutRecords;
3
- export { ImageShortcuts, };
4
+ export { ImageShortcuts, cutImage, };