@textbus/platform-browser 3.0.0-alpha.23 → 3.0.0-alpha.25

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.
@@ -25,7 +25,7 @@ export declare class CollaborateCursor {
25
25
  private nativeSelection;
26
26
  private scheduler;
27
27
  private selection;
28
- private awarenessDelegate;
28
+ private awarenessDelegate?;
29
29
  private host;
30
30
  private canvasContainer;
31
31
  private canvas;
@@ -35,7 +35,7 @@ export declare class CollaborateCursor {
35
35
  private subscription;
36
36
  private currentSelection;
37
37
  private container;
38
- constructor(injector: Injector, nativeSelection: SelectionBridge, scheduler: Scheduler, selection: Selection, awarenessDelegate?: CollaborateSelectionAwarenessDelegate | null);
38
+ constructor(injector: Injector, nativeSelection: SelectionBridge, scheduler: Scheduler, selection: Selection, awarenessDelegate?: CollaborateSelectionAwarenessDelegate | undefined);
39
39
  refresh(): void;
40
40
  destroy(): void;
41
41
  draw(paths: RemoteSelection[]): void;
@@ -1344,7 +1344,7 @@ SelectionBridge = __decorate([
1344
1344
  class CollaborateSelectionAwarenessDelegate {
1345
1345
  }
1346
1346
  let CollaborateCursor = class CollaborateCursor {
1347
- constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate = null) {
1347
+ constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate) {
1348
1348
  this.injector = injector;
1349
1349
  this.nativeSelection = nativeSelection;
1350
1350
  this.scheduler = scheduler;
@@ -1586,7 +1586,8 @@ CollaborateCursor = __decorate([
1586
1586
  __metadata("design:paramtypes", [Injector,
1587
1587
  SelectionBridge,
1588
1588
  Scheduler,
1589
- Selection, Object])
1589
+ Selection,
1590
+ CollaborateSelectionAwarenessDelegate])
1590
1591
  ], CollaborateCursor);
1591
1592
 
1592
1593
  var DomRenderer_1;
package/bundles/index.js CHANGED
@@ -1346,7 +1346,7 @@ exports.SelectionBridge = __decorate([
1346
1346
  class CollaborateSelectionAwarenessDelegate {
1347
1347
  }
1348
1348
  exports.CollaborateCursor = class CollaborateCursor {
1349
- constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate = null) {
1349
+ constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate) {
1350
1350
  this.injector = injector;
1351
1351
  this.nativeSelection = nativeSelection;
1352
1352
  this.scheduler = scheduler;
@@ -1588,7 +1588,8 @@ exports.CollaborateCursor = __decorate([
1588
1588
  __metadata("design:paramtypes", [di.Injector,
1589
1589
  exports.SelectionBridge,
1590
1590
  core.Scheduler,
1591
- core.Selection, Object])
1591
+ core.Selection,
1592
+ CollaborateSelectionAwarenessDelegate])
1592
1593
  ], exports.CollaborateCursor);
1593
1594
 
1594
1595
  var DomRenderer_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/platform-browser",
3
- "version": "3.0.0-alpha.23",
3
+ "version": "3.0.0-alpha.25",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@tanbo/di": "^1.1.3",
29
29
  "@tanbo/stream": "^1.1.8",
30
- "@textbus/core": "^3.0.0-alpha.23",
30
+ "@textbus/core": "^3.0.0-alpha.25",
31
31
  "reflect-metadata": "^0.1.13"
32
32
  },
33
33
  "devDependencies": {
@@ -48,5 +48,5 @@
48
48
  "bugs": {
49
49
  "url": "https://github.com/textbus/textbus.git/issues"
50
50
  },
51
- "gitHead": "039e53c8d440fec2a70e7777ac28a43c1c47a7bd"
51
+ "gitHead": "08d4abb5c802c620dce53490aeb889712f516fce"
52
52
  }