@textbus/adapter-viewfly 4.0.0-alpha.37 → 4.0.0-alpha.38
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 +2 -0
- package/bundles/index.js +2 -0
- package/package.json +4 -4
package/bundles/index.esm.js
CHANGED
@@ -45,6 +45,7 @@ class Adapter extends DomAdapter {
|
|
45
45
|
const instance = components[key](props);
|
46
46
|
if (typeof instance === 'function') {
|
47
47
|
return () => {
|
48
|
+
component.__slots__.forEach(i => this.renderedSlotCache.delete(i));
|
48
49
|
component.__slots__.length = 0;
|
49
50
|
this.componentRendingStack.push(component);
|
50
51
|
return instance();
|
@@ -52,6 +53,7 @@ class Adapter extends DomAdapter {
|
|
52
53
|
}
|
53
54
|
const self = this;
|
54
55
|
return Object.assign(Object.assign({}, instance), { $render() {
|
56
|
+
component.__slots__.forEach(i => self.renderedSlotCache.delete(i));
|
55
57
|
component.__slots__.length = 0;
|
56
58
|
self.componentRendingStack.push(component);
|
57
59
|
return instance.$render();
|
package/bundles/index.js
CHANGED
@@ -47,6 +47,7 @@ class Adapter extends platformBrowser.DomAdapter {
|
|
47
47
|
const instance = components[key](props);
|
48
48
|
if (typeof instance === 'function') {
|
49
49
|
return () => {
|
50
|
+
component.__slots__.forEach(i => this.renderedSlotCache.delete(i));
|
50
51
|
component.__slots__.length = 0;
|
51
52
|
this.componentRendingStack.push(component);
|
52
53
|
return instance();
|
@@ -54,6 +55,7 @@ class Adapter extends platformBrowser.DomAdapter {
|
|
54
55
|
}
|
55
56
|
const self = this;
|
56
57
|
return Object.assign(Object.assign({}, instance), { $render() {
|
58
|
+
component.__slots__.forEach(i => self.renderedSlotCache.delete(i));
|
57
59
|
component.__slots__.length = 0;
|
58
60
|
self.componentRendingStack.push(component);
|
59
61
|
return instance.$render();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/adapter-viewfly",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.38",
|
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/core": "^4.0.0-alpha.
|
30
|
-
"@textbus/platform-browser": "^4.0.0-alpha.
|
29
|
+
"@textbus/core": "^4.0.0-alpha.38",
|
30
|
+
"@textbus/platform-browser": "^4.0.0-alpha.38",
|
31
31
|
"@viewfly/core": "^0.6.3"
|
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": "
|
51
|
+
"gitHead": "6fd37c779309331bbe5ef1b93b2c3d0d47735636"
|
52
52
|
}
|