@textbus/xnote 0.0.7 → 0.0.9

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.
@@ -6433,7 +6433,7 @@ class Editor extends Textbus {
6433
6433
  provide: CollaborateSelectionAwarenessDelegate,
6434
6434
  useClass: TableSelectionAwarenessDelegate
6435
6435
  }, {
6436
- provide: MessageBus,
6436
+ provide: XNoteMessageBug,
6437
6437
  useFactory: (selection, collaborateCursor) => {
6438
6438
  return new XNoteMessageBug(selection, collaborateCursor, editorConfig.collaborateConfig.userinfo);
6439
6439
  },
@@ -6441,6 +6441,9 @@ class Editor extends Textbus {
6441
6441
  Selection,
6442
6442
  CollaborateCursor
6443
6443
  ]
6444
+ }, {
6445
+ provide: MessageBus,
6446
+ useExisting: XNoteMessageBug
6444
6447
  }]
6445
6448
  });
6446
6449
  }
@@ -6564,4 +6567,4 @@ class Editor extends Textbus {
6564
6567
  }
6565
6568
  }
6566
6569
 
6567
- export { AtComponent, AtComponentView, AttrTool, BlockTool, BlockquoteComponent, BlockquoteView, BoldTool, Button, CellAlignTool, CellBackgroundTool, CodeTool, ColorTool, ComponentToolbar, Divider, DragResize, Dropdown, DropdownContextService, DropdownMenuPortal, DropdownService, Editor, EditorService, FileUploader, FontFamilyTool, FontSizeTool, HighlightBoxComponent, HighlightBoxView, ImageComponent, ImageView, InsertTool, ItalicTool, KatexComponent, KatexComponentView, Keymap, LeftToolbar, LeftToolbarPlugin, LinkJump, LinkTool, ListComponent, ListComponentView, Matcher, MenuHeading, MenuItem, MergeCellsTool, Organization, OutputInjectionToken, ParagraphComponent, ParagraphView, Popup, RefreshService, RootComponent, RootView, SourceCodeComponent, SourceCodeView, SplitCellsTool, StrikeThroughTool, TableComponent, TableComponentView, TodolistComponent, TodolistView, Toolbar, ToolbarItem, ToolbarPlugin, UnderlineTool, VideoComponent, VideoView, atComponentLoader, backgroundColorFormatLoader, backgroundColorFormatter, blockquoteComponentLoader, boldFormatLoader, boldFormatter, cellAlignAttr, cellAlignAttrLoader, codeFormatLoader, codeFormatter, colorFormatLoader, colorFormatter, deltaToBlock, fontFamilyFormatLoader, fontFamilyFormatter, fontSizeFormatLoader, fontSizeFormatter, headingAttr, headingAttrLoader, highlightBoxComponentLoader, imageComponentLoader, isSupportFont, italicFormatLoader, italicFormatter, katexComponentLoader, languageList, linkFormatLoader, linkFormatter, listComponentLoader, paragraphComponentLoader, registerAtShortcut, registerBlockquoteShortcut, registerBoldShortcut, registerCodeShortcut, registerHeadingShortcut, registerItalicShortcut, registerListShortcut, registerStrikeThroughShortcut, registerTextAlignShortcut, registerTextIndentShortcut, registerUnderlineShortcut, rootComponentLoader, sourceCodeComponentLoader, sourceCodeThemes, strikeThroughFormatLoader, strikeThroughFormatter, tableComponentLoader, textAlignAttr, textAlignAttrLoader, textIndentAttr, textIndentAttrLoader, toBlockquote, toList, todolistComponentLoader, toggleBold, toggleCode, toggleItalic, toggleStrikeThrough, toggleUnderline, underlineFormatLoader, underlineFormatter, useActiveBlock, useBlockContent, useBlockTransform, useOutput, useReadonly, videoComponentLoader };
6570
+ export { AtComponent, AtComponentView, AttrTool, BlockTool, BlockquoteComponent, BlockquoteView, BoldTool, Button, CellAlignTool, CellBackgroundTool, CodeTool, ColorTool, ComponentToolbar, Divider, DragResize, Dropdown, DropdownContextService, DropdownMenuPortal, DropdownService, Editor, EditorService, FileUploader, FontFamilyTool, FontSizeTool, HighlightBoxComponent, HighlightBoxView, ImageComponent, ImageView, InsertTool, ItalicTool, KatexComponent, KatexComponentView, Keymap, LeftToolbar, LeftToolbarPlugin, LinkJump, LinkTool, ListComponent, ListComponentView, Matcher, MenuHeading, MenuItem, MergeCellsTool, Organization, OutputInjectionToken, ParagraphComponent, ParagraphView, Popup, RefreshService, RootComponent, RootView, SourceCodeComponent, SourceCodeView, SplitCellsTool, StrikeThroughTool, TableComponent, TableComponentView, TodolistComponent, TodolistView, Toolbar, ToolbarItem, ToolbarPlugin, UnderlineTool, VideoComponent, VideoView, XNoteMessageBug, atComponentLoader, backgroundColorFormatLoader, backgroundColorFormatter, blockquoteComponentLoader, boldFormatLoader, boldFormatter, cellAlignAttr, cellAlignAttrLoader, codeFormatLoader, codeFormatter, colorFormatLoader, colorFormatter, deltaToBlock, fontFamilyFormatLoader, fontFamilyFormatter, fontSizeFormatLoader, fontSizeFormatter, headingAttr, headingAttrLoader, highlightBoxComponentLoader, imageComponentLoader, isSupportFont, italicFormatLoader, italicFormatter, katexComponentLoader, languageList, linkFormatLoader, linkFormatter, listComponentLoader, paragraphComponentLoader, registerAtShortcut, registerBlockquoteShortcut, registerBoldShortcut, registerCodeShortcut, registerHeadingShortcut, registerItalicShortcut, registerListShortcut, registerStrikeThroughShortcut, registerTextAlignShortcut, registerTextIndentShortcut, registerUnderlineShortcut, rootComponentLoader, sourceCodeComponentLoader, sourceCodeThemes, strikeThroughFormatLoader, strikeThroughFormatter, tableComponentLoader, textAlignAttr, textAlignAttrLoader, textIndentAttr, textIndentAttrLoader, toBlockquote, toList, todolistComponentLoader, toggleBold, toggleCode, toggleItalic, toggleStrikeThrough, toggleUnderline, underlineFormatLoader, underlineFormatter, useActiveBlock, useBlockContent, useBlockTransform, useOutput, useReadonly, videoComponentLoader };
package/bundles/index.js CHANGED
@@ -6435,7 +6435,7 @@ class Editor extends core$1.Textbus {
6435
6435
  provide: platformBrowser.CollaborateSelectionAwarenessDelegate,
6436
6436
  useClass: TableSelectionAwarenessDelegate
6437
6437
  }, {
6438
- provide: collaborate.MessageBus,
6438
+ provide: XNoteMessageBug,
6439
6439
  useFactory: (selection, collaborateCursor) => {
6440
6440
  return new XNoteMessageBug(selection, collaborateCursor, editorConfig.collaborateConfig.userinfo);
6441
6441
  },
@@ -6443,6 +6443,9 @@ class Editor extends core$1.Textbus {
6443
6443
  core$1.Selection,
6444
6444
  platformBrowser.CollaborateCursor
6445
6445
  ]
6446
+ }, {
6447
+ provide: collaborate.MessageBus,
6448
+ useExisting: XNoteMessageBug
6446
6449
  }]
6447
6450
  });
6448
6451
  }
@@ -6627,6 +6630,7 @@ exports.ToolbarPlugin = ToolbarPlugin;
6627
6630
  exports.UnderlineTool = UnderlineTool;
6628
6631
  exports.VideoComponent = VideoComponent;
6629
6632
  exports.VideoView = VideoView;
6633
+ exports.XNoteMessageBug = XNoteMessageBug;
6630
6634
  exports.atComponentLoader = atComponentLoader;
6631
6635
  exports.backgroundColorFormatLoader = backgroundColorFormatLoader;
6632
6636
  exports.backgroundColorFormatter = backgroundColorFormatter;
@@ -4,3 +4,4 @@ export * from './services/_api';
4
4
  export * from './textbus/_api';
5
5
  export * from './interfaces';
6
6
  export * from './editor';
7
+ export * from './xnote-message-bus';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "A high-performance rich text editor that supports multiplayer online collaboration.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",