@ningboyz/vue 1.0.23 → 1.0.25
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/package.json
CHANGED
package/types/all.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import YzDesginer from
|
|
1
|
+
import YzDesginer from "./components/stimulsoft/desginer/desginer";
|
|
2
2
|
interface AllComponents {
|
|
3
|
-
|
|
3
|
+
YzDesginer: typeof YzDesginer;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
export function install(app: App): void;
|
|
7
|
+
|
|
8
|
+
declare module "@vue/runtime-core" {
|
|
7
9
|
export interface GlobalComponents extends AllComponents {}
|
|
8
10
|
}
|
|
9
11
|
|
|
10
|
-
export * from "./components/core/component"
|
|
11
|
-
export * from "./components/stimulsoft/desginer/desginer"
|
|
12
|
+
export * from "./components/core/component";
|
|
13
|
+
export * from "./components/stimulsoft/desginer/desginer";
|
|
@@ -4,13 +4,15 @@ import { App } from "vue";
|
|
|
4
4
|
* 组件类型
|
|
5
5
|
*/
|
|
6
6
|
export type YzComponent<
|
|
7
|
-
P, //props
|
|
8
|
-
E, //event
|
|
9
|
-
S, //
|
|
10
|
-
M
|
|
11
|
-
EM
|
|
7
|
+
P = { [key: string]: any }, //props
|
|
8
|
+
E = { [key: string]: any }, //event
|
|
9
|
+
S = { [key: string]: (...args: any[]) => any }, //slots
|
|
10
|
+
M = { [key: string]: any } //method emits
|
|
12
11
|
> = {
|
|
13
|
-
new ():
|
|
12
|
+
new (): M & {
|
|
13
|
+
$props: P & E;
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
14
16
|
} & {
|
|
15
17
|
install(app: App): void;
|
|
16
18
|
};
|