@textbus/adapter-viewfly 4.3.4 → 4.3.6
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 +12 -2
- package/bundles/index.js +12 -2
- package/package.json +7 -7
package/bundles/index.esm.js
CHANGED
@@ -95,8 +95,18 @@ class ViewflyAdapter extends DomAdapter {
|
|
95
95
|
return jsx(vNode.tagName, props, key);
|
96
96
|
}
|
97
97
|
}, mount);
|
98
|
-
this
|
99
|
-
|
98
|
+
Object.defineProperty(this, "components", {
|
99
|
+
enumerable: true,
|
100
|
+
configurable: true,
|
101
|
+
writable: true,
|
102
|
+
value: {}
|
103
|
+
});
|
104
|
+
Object.defineProperty(this, "componentRefs", {
|
105
|
+
enumerable: true,
|
106
|
+
configurable: true,
|
107
|
+
writable: true,
|
108
|
+
value: new WeakMap()
|
109
|
+
});
|
100
110
|
let isRoot = true;
|
101
111
|
Object.entries(components).forEach(([key, viewFlyComponent]) => {
|
102
112
|
this.components[key] = withAnnotation(Object.assign({}, viewFlyComponent.annotation), (props) => {
|
package/bundles/index.js
CHANGED
@@ -97,8 +97,18 @@ class ViewflyAdapter extends platformBrowser.DomAdapter {
|
|
97
97
|
return core$1.jsx(vNode.tagName, props, key);
|
98
98
|
}
|
99
99
|
}, mount);
|
100
|
-
this
|
101
|
-
|
100
|
+
Object.defineProperty(this, "components", {
|
101
|
+
enumerable: true,
|
102
|
+
configurable: true,
|
103
|
+
writable: true,
|
104
|
+
value: {}
|
105
|
+
});
|
106
|
+
Object.defineProperty(this, "componentRefs", {
|
107
|
+
enumerable: true,
|
108
|
+
configurable: true,
|
109
|
+
writable: true,
|
110
|
+
value: new WeakMap()
|
111
|
+
});
|
102
112
|
let isRoot = true;
|
103
113
|
Object.entries(components).forEach(([key, viewFlyComponent]) => {
|
104
114
|
this.components[key] = core$1.withAnnotation(Object.assign({}, viewFlyComponent.annotation), (props) => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/adapter-viewfly",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.6",
|
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,11 +26,11 @@
|
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/stream": "^1.2.6",
|
29
|
-
"@textbus/core": "^4.3.
|
30
|
-
"@textbus/platform-browser": "^4.3.
|
31
|
-
"@textbus/platform-node": "^4.3.
|
32
|
-
"@viewfly/core": "^1.1.
|
33
|
-
"@viewfly/platform-browser": "^1.1.
|
29
|
+
"@textbus/core": "^4.3.6",
|
30
|
+
"@textbus/platform-browser": "^4.3.6",
|
31
|
+
"@textbus/platform-node": "^4.3.6",
|
32
|
+
"@viewfly/core": "^1.1.10",
|
33
|
+
"@viewfly/platform-browser": "^1.1.10"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
36
|
"@rollup/plugin-commonjs": "^23.0.2",
|
@@ -50,5 +50,5 @@
|
|
50
50
|
"bugs": {
|
51
51
|
"url": "https://github.com/textbus/textbus.git/issues"
|
52
52
|
},
|
53
|
-
"gitHead": "
|
53
|
+
"gitHead": "f09dce2a210eed0fde349b67fa8ecd7f904aefdf"
|
54
54
|
}
|