@ones-editor/editor 0.0.3-beta.87 → 0.0.3-beta.89

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 (40) hide show
  1. package/@ones-editor/code-block/src/code-block/code-block-content.d.ts +0 -1
  2. package/@ones-editor/code-block/src/code-block/types.d.ts +3 -0
  3. package/@ones-editor/code-block/src/index.d.ts +1 -0
  4. package/@ones-editor/column-block/package.json +8 -0
  5. package/@ones-editor/column-block/src/child-containers.d.ts +2 -0
  6. package/@ones-editor/column-block/src/columns-options.d.ts +2 -0
  7. package/@ones-editor/column-block/src/columns-properties.d.ts +15 -0
  8. package/@ones-editor/column-block/src/index.d.ts +4 -0
  9. package/@ones-editor/column-block/src/types.d.ts +11 -0
  10. package/@ones-editor/core/src/core/blocks/common/block-dom.d.ts +1 -0
  11. package/@ones-editor/core/src/core/blocks/common/block-properties.d.ts +7 -1
  12. package/@ones-editor/core/src/core/blocks/complex-blocks/complex-block-helper.d.ts +2 -2
  13. package/@ones-editor/core/src/core/types.d.ts +2 -2
  14. package/@ones-editor/core/src/helper/block-helper.d.ts +1 -1
  15. package/@ones-editor/core/src/helper/find-block.d.ts +3 -0
  16. package/@ones-editor/core/src/helper/index.d.ts +1 -0
  17. package/@ones-editor/details-block/package.json +8 -0
  18. package/@ones-editor/details-block/src/auto-expand.d.ts +7 -0
  19. package/@ones-editor/details-block/src/create-empty-details.d.ts +8 -0
  20. package/@ones-editor/details-block/src/details-dom.d.ts +3 -0
  21. package/@ones-editor/details-block/src/details-object.d.ts +11 -0
  22. package/@ones-editor/details-block/src/details-options.d.ts +2 -0
  23. package/@ones-editor/details-block/src/index.d.ts +4 -0
  24. package/@ones-editor/details-block/src/types.d.ts +5 -0
  25. package/@ones-editor/details-block/src/update-expand.d.ts +3 -0
  26. package/@ones-editor/drop-target/src/handlers/drag-file.d.ts +0 -1
  27. package/@ones-editor/drop-target/src/handlers/patch-insert-file.d.ts +2 -0
  28. package/@ones-editor/drop-target/src/index.d.ts +2 -1
  29. package/@ones-editor/image-embed/src/drag-drop/handle-drop-over.d.ts +1 -1
  30. package/@ones-editor/image-embed/src/image-file.d.ts +2 -1
  31. package/@ones-editor/image-embed/src/image-resizer.d.ts +3 -0
  32. package/@ones-editor/list-block/src/mindmap/to-mindmap/close-mindmap.d.ts +1 -0
  33. package/@ones-editor/media-embed/src/core/media.d.ts +7 -4
  34. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  35. package/@ones-editor/ui/src/index.d.ts +2 -1
  36. package/@ones-editor/ui/src/toolbar/object-commands.d.ts +5 -1
  37. package/@ones-editor/ui-base/src/list/drop-down-filterable-list.d.ts +0 -1
  38. package/dist/index.js +130 -130
  39. package/dist/types.d.ts +5 -2
  40. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Embed, Box, i18n, OnesEditor, OnesEditorUser, OnesEditorUserPermission, OnesEditorBlockHook, OnesEditorCommandProvider, LogLevel, Block } from '../@ones-editor/core';
1
+ import { Embed, Box, i18n, OnesEditor, OnesEditorUser, OnesEditorUserPermission, OnesEditorBlockHook, OnesEditorCommandProvider, LogLevel, Block, ShortcutRecords } from '../@ones-editor/core';
2
2
  import { DrawIoOptions } from '../@ones-editor/drawio-embed';
3
3
  import { MermaidEmbedOptions } from '../@ones-editor/graph-embed';
4
4
  import { ImageOptions } from '../@ones-editor/image-embed';
@@ -7,11 +7,12 @@ import { MentionOptions } from '../@ones-editor/mention/src/mention';
7
7
  import { TableOptions } from '../@ones-editor/table-block';
8
8
  import { WebpageOptions } from '../@ones-editor/webpage-embed';
9
9
  import { OnesEditorCommentOptions } from '../@ones-editor/comments';
10
+ import { FileOptions } from '../@ones-editor/file';
10
11
  import { ListOptions } from '../@ones-editor/list-block';
11
12
  import { QuickMenuOptions } from '../@ones-editor/ui/src/quick-menu';
12
13
  import { TemplateOptions } from '../@ones-editor/templates';
13
14
  import { FindDialogOptions, PopoverOptions } from '../@ones-editor/ui-base';
14
- import { FileOptions } from '../@ones-editor/file';
15
+ import { CodeBlockExternalOptions } from '../@ones-editor/code-block';
15
16
  export interface RemoteCaretsOptions {
16
17
  onUserChanged?: (editor: OnesEditor, users: OnesEditorUser[]) => void;
17
18
  }
@@ -32,6 +33,7 @@ export type EditorComponentOptions = {
32
33
  popover?: PopoverOptions;
33
34
  findDialog?: FindDialogOptions;
34
35
  file?: FileOptions;
36
+ code?: CodeBlockExternalOptions;
35
37
  };
36
38
  export type EditorEvents = {
37
39
  onClickLink?: (editor: OnesEditor, event: MouseEvent, link: Element) => void;
@@ -63,6 +65,7 @@ export interface CreateOnesEditorOptions {
63
65
  commandProviders?: OnesEditorCommandProvider[];
64
66
  };
65
67
  events?: EditorEvents;
68
+ shortcuts?: ShortcutRecords[];
66
69
  componentsOptions?: EditorComponentOptions;
67
70
  }
68
71
  export interface CreateLocalEditorOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "0.0.3-beta.87",
3
+ "version": "0.0.3-beta.89",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",