@textbus/platform-browser 4.0.0-alpha.36 → 4.0.0-alpha.37
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/dom-adapter.d.ts +1 -0
- package/bundles/index.esm.js +1 -0
- package/bundles/index.js +1 -0
- package/package.json +4 -4
package/bundles/dom-adapter.d.ts
CHANGED
@@ -37,6 +37,7 @@ export declare abstract class DomAdapter<ViewComponent, ViewElement> extends Vie
|
|
37
37
|
remove: (key: HTMLElement | Slot) => void;
|
38
38
|
};
|
39
39
|
protected slotRootVElementCaches: WeakMap<Slot, VElement>;
|
40
|
+
protected renderedSlotCache: WeakMap<Slot, true>;
|
40
41
|
protected constructor(mount: (host: HTMLElement, viewComponent: ViewComponent, textbus: Textbus) => (void | (() => void)));
|
41
42
|
render(rootComponent: Component, textbus: Textbus): void | (() => void);
|
42
43
|
abstract componentRender(component: Component): ViewComponent;
|
package/bundles/index.esm.js
CHANGED
@@ -333,6 +333,7 @@ class DomAdapter extends ViewAdapter {
|
|
333
333
|
return a instanceof Slot;
|
334
334
|
});
|
335
335
|
this.slotRootVElementCaches = new WeakMap();
|
336
|
+
this.renderedSlotCache = new WeakMap();
|
336
337
|
}
|
337
338
|
render(rootComponent, textbus) {
|
338
339
|
const view = this.componentRender(rootComponent);
|
package/bundles/index.js
CHANGED
@@ -335,6 +335,7 @@ class DomAdapter extends core$1.ViewAdapter {
|
|
335
335
|
return a instanceof core$1.Slot;
|
336
336
|
});
|
337
337
|
this.slotRootVElementCaches = new WeakMap();
|
338
|
+
this.renderedSlotCache = new WeakMap();
|
338
339
|
}
|
339
340
|
render(rootComponent, textbus) {
|
340
341
|
const view = this.componentRender(rootComponent);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/platform-browser",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.37",
|
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,8 +26,8 @@
|
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/stream": "^1.2.3",
|
29
|
-
"@textbus/collaborate": "^4.0.0-alpha.
|
30
|
-
"@textbus/core": "^4.0.0-alpha.
|
29
|
+
"@textbus/collaborate": "^4.0.0-alpha.37",
|
30
|
+
"@textbus/core": "^4.0.0-alpha.37",
|
31
31
|
"@viewfly/core": "^0.6.3",
|
32
32
|
"reflect-metadata": "^0.1.13"
|
33
33
|
},
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"bugs": {
|
50
50
|
"url": "https://github.com/textbus/textbus.git/issues"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "7a67eda8ef99b52bbc356002ca3396d64b6c1e89"
|
53
53
|
}
|