@textbus/adapter-vue 4.0.0-alpha.20 → 4.0.0-alpha.22
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/adapter.d.ts +2 -2
- package/package.json +5 -5
package/bundles/adapter.d.ts
CHANGED
@@ -6,7 +6,7 @@ export interface ViewComponentProps<T extends Component = Component> {
|
|
6
6
|
component: ExtractComponentInstanceType<T>;
|
7
7
|
rootRef: Ref<HTMLElement | undefined>;
|
8
8
|
}
|
9
|
-
export interface
|
9
|
+
export interface VueAdapterComponents {
|
10
10
|
[key: string]: DefineComponent<ViewComponentProps>;
|
11
11
|
}
|
12
12
|
/**
|
@@ -16,7 +16,7 @@ export declare class Adapter extends DomAdapter<VNode, VNode> {
|
|
16
16
|
onViewUpdated: Subject<void>;
|
17
17
|
private components;
|
18
18
|
private componentRefs;
|
19
|
-
constructor(components:
|
19
|
+
constructor(components: VueAdapterComponents, mount: (host: HTMLElement, root: VNode) => (void | (() => void)));
|
20
20
|
componentRender(component: ComponentInstance): VNode;
|
21
21
|
slotRender(slot: Slot, slotHostRender: (children: Array<VElement | VTextNode | ComponentInstance>) => VElement, renderEnv?: any): VNode;
|
22
22
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/adapter-vue",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.22",
|
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",
|
@@ -25,9 +25,9 @@
|
|
25
25
|
"typescript editor"
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
|
-
"@tanbo/stream": "^1.2.
|
29
|
-
"@textbus/core": "^4.0.0-alpha.
|
30
|
-
"@textbus/platform-browser": "^4.0.0-alpha.
|
28
|
+
"@tanbo/stream": "^1.2.3",
|
29
|
+
"@textbus/core": "^4.0.0-alpha.22",
|
30
|
+
"@textbus/platform-browser": "^4.0.0-alpha.22",
|
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": "
|
51
|
+
"gitHead": "c2df243641755e3668fb2ab8f3e1077693cda609"
|
52
52
|
}
|