@textbus/collaborate 2.5.11 → 2.5.13
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.
- package/bundles/index.esm.js +8 -8
- package/bundles/index.js +8 -8
- package/package.json +5 -5
package/bundles/index.esm.js
CHANGED
|
@@ -344,6 +344,14 @@ class ContentMap {
|
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
let Collaborate = class Collaborate {
|
|
347
|
+
get canBack() {
|
|
348
|
+
var _a;
|
|
349
|
+
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canUndo()) || false;
|
|
350
|
+
}
|
|
351
|
+
get canForward() {
|
|
352
|
+
var _a;
|
|
353
|
+
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canRedo()) || false;
|
|
354
|
+
}
|
|
347
355
|
constructor(stackSize, rootComponentRef, collaborateCursor, controller, scheduler, translator, registry, selection, starter) {
|
|
348
356
|
this.stackSize = stackSize;
|
|
349
357
|
this.rootComponentRef = rootComponentRef;
|
|
@@ -380,14 +388,6 @@ let Collaborate = class Collaborate {
|
|
|
380
388
|
this.onPush = this.pushEvent.asObservable();
|
|
381
389
|
this.onLocalChangesApplied = this.localChangesAppliedEvent.asObservable();
|
|
382
390
|
}
|
|
383
|
-
get canBack() {
|
|
384
|
-
var _a;
|
|
385
|
-
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canUndo()) || false;
|
|
386
|
-
}
|
|
387
|
-
get canForward() {
|
|
388
|
-
var _a;
|
|
389
|
-
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canRedo()) || false;
|
|
390
|
-
}
|
|
391
391
|
listen() {
|
|
392
392
|
const root = this.yDoc.getMap('RootComponent');
|
|
393
393
|
const rootComponent = this.rootComponentRef.component;
|
package/bundles/index.js
CHANGED
|
@@ -346,6 +346,14 @@ class ContentMap {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
exports.Collaborate = class Collaborate {
|
|
349
|
+
get canBack() {
|
|
350
|
+
var _a;
|
|
351
|
+
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canUndo()) || false;
|
|
352
|
+
}
|
|
353
|
+
get canForward() {
|
|
354
|
+
var _a;
|
|
355
|
+
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canRedo()) || false;
|
|
356
|
+
}
|
|
349
357
|
constructor(stackSize, rootComponentRef, collaborateCursor, controller, scheduler, translator, registry, selection, starter) {
|
|
350
358
|
this.stackSize = stackSize;
|
|
351
359
|
this.rootComponentRef = rootComponentRef;
|
|
@@ -382,14 +390,6 @@ exports.Collaborate = class Collaborate {
|
|
|
382
390
|
this.onPush = this.pushEvent.asObservable();
|
|
383
391
|
this.onLocalChangesApplied = this.localChangesAppliedEvent.asObservable();
|
|
384
392
|
}
|
|
385
|
-
get canBack() {
|
|
386
|
-
var _a;
|
|
387
|
-
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canUndo()) || false;
|
|
388
|
-
}
|
|
389
|
-
get canForward() {
|
|
390
|
-
var _a;
|
|
391
|
-
return ((_a = this.manager) === null || _a === void 0 ? void 0 : _a.canRedo()) || false;
|
|
392
|
-
}
|
|
393
393
|
listen() {
|
|
394
394
|
const root = this.yDoc.getMap('RootComponent');
|
|
395
395
|
const rootComponent = this.rootComponentRef.component;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@textbus/collaborate",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.13",
|
|
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",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@tanbo/di": "^1.1.4",
|
|
29
|
-
"@tanbo/stream": "^1.1.
|
|
30
|
-
"@textbus/browser": "^2.5.
|
|
31
|
-
"@textbus/core": "^2.5.
|
|
29
|
+
"@tanbo/stream": "^1.1.9",
|
|
30
|
+
"@textbus/browser": "^2.5.13",
|
|
31
|
+
"@textbus/core": "^2.5.13",
|
|
32
32
|
"reflect-metadata": "^0.1.13",
|
|
33
33
|
"y-protocols": "^1.0.5",
|
|
34
34
|
"yjs": "^13.5.39"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"bugs": {
|
|
52
52
|
"url": "https://github.com/textbus/textbus.git/issues"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "05e6a973e48ce1cf561b26df22e9b2904b40661d"
|
|
55
55
|
}
|