@ones-editor/editor 0.0.3-beta.111 → 0.0.3-beta.113

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.
@@ -0,0 +1,3 @@
1
+ import { Box } from '../../types';
2
+ declare const ImageBox: Box;
3
+ export default ImageBox;
@@ -1,4 +1,5 @@
1
1
  import TextBox from './text-box';
2
2
  import BrBox from './br-box';
3
3
  import EditorBoxes from './editor-boxes';
4
- export { EditorBoxes, TextBox, BrBox };
4
+ import ImageBox from './image-box';
5
+ export { EditorBoxes, TextBox, BrBox, ImageBox };
@@ -13,5 +13,8 @@ declare const _default: {
13
13
  common: {
14
14
  cancel: string;
15
15
  };
16
+ docx: {
17
+ imageExportFailed: string;
18
+ };
16
19
  };
17
20
  export default _default;
@@ -14,6 +14,9 @@ declare const langs: {
14
14
  common: {
15
15
  cancel: string;
16
16
  };
17
+ docx: {
18
+ imageExportFailed: string;
19
+ };
17
20
  };
18
21
  'zh-CN': {
19
22
  name: string;
@@ -30,6 +33,9 @@ declare const langs: {
30
33
  common: {
31
34
  cancel: string;
32
35
  };
36
+ docx: {
37
+ imageExportFailed: string;
38
+ };
33
39
  };
34
40
  'ja-JP': {
35
41
  name: string;
@@ -46,6 +52,9 @@ declare const langs: {
46
52
  common: {
47
53
  cancel: string;
48
54
  };
55
+ docx: {
56
+ imageExportFailed: string;
57
+ };
49
58
  };
50
59
  };
51
60
  export declare function setLang(lang?: string | null | undefined): void;
@@ -13,5 +13,8 @@ declare const _default: {
13
13
  common: {
14
14
  cancel: string;
15
15
  };
16
+ docx: {
17
+ imageExportFailed: string;
18
+ };
16
19
  };
17
20
  export default _default;
@@ -13,5 +13,8 @@ declare const _default: {
13
13
  common: {
14
14
  cancel: string;
15
15
  };
16
+ docx: {
17
+ imageExportFailed: string;
18
+ };
16
19
  };
17
20
  export default _default;
@@ -11,7 +11,7 @@ export interface BlocksGenerator {
11
11
  addTextBlock(obj: BlockObject): Promise<void>;
12
12
  addCodeBlockObject(obj: CodeObject): Promise<void>;
13
13
  addListBlockObject(parent: string, obj: BlockObject): Promise<void>;
14
- addImagesBlockObject(obj: BlockObject, maxWidth: number): Promise<void>;
14
+ addImagesBlockObject(block: DocBlock, obj: BlockObject, maxWidth: number): Promise<void>;
15
15
  addSeparatorBlock(): void;
16
16
  addVideoPlaceholder(): void;
17
17
  addAudioPlaceholder(): void;