@textbus/adapter-vue 4.0.0-alpha.59 → 4.0.0-alpha.60

Sign up to get free protection for your applications and to get access to all the features.
@@ -122,11 +122,11 @@ class VueAdapter extends DomAdapter {
122
122
  });
123
123
  const result = setup(props, context, ...args);
124
124
  if (typeof result === 'function') {
125
- return function () {
125
+ return function (...args) {
126
126
  component.__slots__.forEach(i => self.renderedSlotCache.delete(i));
127
127
  component.__slots__.length = 0;
128
128
  self.componentRendingStack.push(component);
129
- return result();
129
+ return result.apply(this, args);
130
130
  };
131
131
  }
132
132
  return result;
package/bundles/index.js CHANGED
@@ -124,11 +124,11 @@ class VueAdapter extends platformBrowser.DomAdapter {
124
124
  });
125
125
  const result = setup(props, context, ...args);
126
126
  if (typeof result === 'function') {
127
- return function () {
127
+ return function (...args) {
128
128
  component.__slots__.forEach(i => self.renderedSlotCache.delete(i));
129
129
  component.__slots__.length = 0;
130
130
  self.componentRendingStack.push(component);
131
- return result();
131
+ return result.apply(this, args);
132
132
  };
133
133
  }
134
134
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-vue",
3
- "version": "4.0.0-alpha.59",
3
+ "version": "4.0.0-alpha.60",
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.4",
29
- "@textbus/core": "^4.0.0-alpha.59",
30
- "@textbus/platform-browser": "^4.0.0-alpha.59",
29
+ "@textbus/core": "^4.0.0-alpha.60",
30
+ "@textbus/platform-browser": "^4.0.0-alpha.60",
31
31
  "vue": "^3.3.4"
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": "444feba7873584e9ad3611f374d197e6f2933823"
51
+ "gitHead": "bae80846bc8c26754af661e35dea236db237aeeb"
52
52
  }