@vtj/ui 0.0.1-alpha.2 → 0.0.1-alpha.4
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/cdn/index.js +110 -4
- package/cdn/style.css +1 -1
- package/lib/index.js +77 -3188
- package/lib/style.css +1 -1
- package/package.json +5 -5
- package/types/components/block/Block.d.ts +6 -0
- package/types/components/block/index.d.ts +9 -0
- package/types/components/config/Config.d.ts +5 -1
- package/types/components/config/index.d.ts +5 -1
- package/types/components/config/props.d.ts +1 -0
- package/types/components/element/Element.d.ts +25 -0
- package/types/components/element/index.d.ts +21 -0
- package/types/components/index.d.ts +2 -0
- package/types/components/page/Page.d.ts +2 -21
- package/types/components/page/index.d.ts +2 -14
- package/types/hooks/useConfig.d.ts +1 -3
- package/types/index.d.ts +4 -2
- package/types/list.d.ts +247 -6
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--
|
|
1
|
+
div::-webkit-scrollbar{z-index:11;width:6px}div::-webkit-scrollbar:horizontal{height:6px}div::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}div::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}div::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}div::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}:root{--el-ui-page-bg: #e6a23c}.x-page{height:100%;background-color:var(--el-ui-page-bg)}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.1-alpha.
|
|
4
|
+
"version": "0.0.1-alpha.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"setup": "npm install --registry=https://registry.npmmirror.com",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"node": ">=16.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@vtj/deps": "^0.3.8-alpha.
|
|
18
|
+
"@vtj/deps": "^0.3.8-alpha.2",
|
|
19
19
|
"@vtj/icons": "*",
|
|
20
|
-
"@vtj/utils": "^0.3.8-alpha.
|
|
20
|
+
"@vtj/utils": "^0.3.8-alpha.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@vtj/cli": "^0.3.7-alpha.
|
|
23
|
+
"@vtj/cli": "^0.3.7-alpha.2"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"lib",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "8c53e8cc5a097657fd9b49ff5e84b913c6fb275d"
|
|
45
45
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const Block: DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
5
|
+
export type BlockInstance = InstanceType<typeof Block>;
|
|
6
|
+
export default Block;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { WithInstall } from '../../utils';
|
|
3
|
+
import Block from './Block';
|
|
4
|
+
export declare const XBlock: WithInstall<DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>> & Record<string, any>;
|
|
7
|
+
export default XBlock;
|
|
8
|
+
export { Block };
|
|
9
|
+
export * from './Block';
|
|
@@ -10,13 +10,17 @@ export declare function provideConfig(config: ConfigContext | Ref<ConfigContext>
|
|
|
10
10
|
declare const Config: DefineComponent<{
|
|
11
11
|
tag: {
|
|
12
12
|
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
13
14
|
};
|
|
14
15
|
}, () => VNode<RendererNode, RendererElement, {
|
|
15
16
|
[key: string]: any;
|
|
16
17
|
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
17
18
|
tag: {
|
|
18
19
|
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
19
21
|
};
|
|
20
|
-
}>>, {
|
|
22
|
+
}>>, {
|
|
23
|
+
tag: string;
|
|
24
|
+
}>;
|
|
21
25
|
export type ConfigInstance = InstanceType<typeof Config>;
|
|
22
26
|
export default Config;
|
|
@@ -3,13 +3,17 @@ import type { WithInstall } from '../../utils';
|
|
|
3
3
|
export declare const XConfig: WithInstall<DefineComponent<{
|
|
4
4
|
tag: {
|
|
5
5
|
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
6
7
|
};
|
|
7
8
|
}, () => VNode<RendererNode, RendererElement, {
|
|
8
9
|
[key: string]: any;
|
|
9
10
|
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
10
11
|
tag: {
|
|
11
12
|
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
12
14
|
};
|
|
13
|
-
}>>, {
|
|
15
|
+
}>>, {
|
|
16
|
+
tag: string;
|
|
17
|
+
}>> & Record<string, any>;
|
|
14
18
|
export default XConfig;
|
|
15
19
|
export * from './Config';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const elementProps: {
|
|
3
|
+
tag: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: () => string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export type ElementProps = ExtractPropTypes<typeof elementProps>;
|
|
9
|
+
export declare const Element: DefineComponent<{
|
|
10
|
+
tag: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: () => string;
|
|
13
|
+
};
|
|
14
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
17
|
+
tag: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: () => string;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
tag: string;
|
|
23
|
+
}>;
|
|
24
|
+
export type ElementInstance = InstanceType<typeof Element>;
|
|
25
|
+
export default Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { WithInstall } from '../../utils';
|
|
3
|
+
import Element from './Element';
|
|
4
|
+
export declare const XElement: WithInstall<DefineComponent<{
|
|
5
|
+
tag: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: () => string;
|
|
8
|
+
};
|
|
9
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
12
|
+
tag: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: () => string;
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
tag: string;
|
|
18
|
+
}>> & Record<string, any>;
|
|
19
|
+
export default XElement;
|
|
20
|
+
export { Element };
|
|
21
|
+
export * from './Element';
|
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
export declare const
|
|
3
|
-
tag: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export type PageProps = ExtractPropTypes<typeof pageProps>;
|
|
9
|
-
export declare const Page: DefineComponent<{
|
|
10
|
-
tag: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
2
|
+
export declare const Page: DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
|
|
15
3
|
[key: string]: any;
|
|
16
|
-
}>,
|
|
17
|
-
tag: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>>, {
|
|
22
|
-
tag: string;
|
|
23
|
-
}>;
|
|
4
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
24
5
|
export type PageInstance = InstanceType<typeof Page>;
|
|
25
6
|
export default Page;
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { WithInstall } from '../../utils';
|
|
3
3
|
import Page from './Page';
|
|
4
|
-
export declare const XPage: WithInstall<DefineComponent<{
|
|
5
|
-
tag: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
4
|
+
export declare const XPage: WithInstall<DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
|
|
10
5
|
[key: string]: any;
|
|
11
|
-
}>,
|
|
12
|
-
tag: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
}>>, {
|
|
17
|
-
tag: string;
|
|
18
|
-
}>> & Record<string, any>;
|
|
6
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>> & Record<string, any>;
|
|
19
7
|
export default XPage;
|
|
20
8
|
export { Page };
|
|
21
9
|
export * from './Page';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { ConfigContext } from '../components';
|
|
3
|
-
export declare function useConfig(key?: keyof ConfigContext): ComputedRef<
|
|
4
|
-
tag?: string | undefined;
|
|
5
|
-
}> | undefined>;
|
|
3
|
+
export declare function useConfig<T>(key?: keyof ConfigContext, defaultValue?: any): ComputedRef<T>;
|
|
6
4
|
export declare function setConfig(value: ConfigContext | Ref<ConfigContext>): void;
|
package/types/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ConfigProps } from './components';
|
|
2
2
|
import type { App } from 'vue';
|
|
3
|
-
import
|
|
3
|
+
import components from './list';
|
|
4
|
+
export * from './components';
|
|
5
|
+
export * from './hooks';
|
|
4
6
|
declare const installer: {
|
|
5
7
|
install: (app: App<any>, options?: Partial<ConfigProps> | undefined) => void;
|
|
6
8
|
};
|
|
7
9
|
export declare const install: (app: App<any>, options?: Partial<ConfigProps> | undefined) => void;
|
|
8
10
|
export default installer;
|
|
9
|
-
export {
|
|
11
|
+
export { components };
|
package/types/list.d.ts
CHANGED
|
@@ -1,14 +1,255 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { ComponentInternalInstance, ExtractPropTypes, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, VNode, RendererNode, RendererElement, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, App } from 'vue';
|
|
2
|
+
declare const _default: (({
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
tag: string;
|
|
8
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
|
9
|
+
tag: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, "tag">;
|
|
14
|
+
$attrs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
$refs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$slots: Readonly<{
|
|
21
|
+
[name: string]: Slot | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
24
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
26
|
+
$el: any;
|
|
27
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
28
|
+
tag: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
35
|
+
tag: string;
|
|
36
|
+
}, {}, string> & {
|
|
37
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
50
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
51
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
52
|
+
};
|
|
53
|
+
$forceUpdate: () => void;
|
|
54
|
+
$nextTick: typeof nextTick;
|
|
55
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
56
|
+
} & Readonly<ExtractPropTypes<{
|
|
57
|
+
tag: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
}>> & ShallowUnwrapRef<() => VNode<RendererNode, RendererElement, {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}>> & {} & ComponentCustomProperties & {};
|
|
64
|
+
__isFragment?: undefined;
|
|
65
|
+
__isTeleport?: undefined;
|
|
66
|
+
__isSuspense?: undefined;
|
|
67
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
4
68
|
tag: {
|
|
5
69
|
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
6
71
|
};
|
|
7
|
-
}
|
|
72
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
8
73
|
[key: string]: any;
|
|
9
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
74
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
75
|
+
tag: string;
|
|
76
|
+
}, {}, string> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ((app: App<any>, ...options: any[]) => any) & {
|
|
77
|
+
install?: ((app: App<any>, ...options: any[]) => any) | undefined;
|
|
78
|
+
} & Record<string, any>) | ({
|
|
79
|
+
new (...args: any[]): {
|
|
80
|
+
$: ComponentInternalInstance;
|
|
81
|
+
$data: {};
|
|
82
|
+
$props: Partial<{
|
|
83
|
+
tag: string;
|
|
84
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
|
85
|
+
tag: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, "tag">;
|
|
90
|
+
$attrs: {
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
$refs: {
|
|
94
|
+
[x: string]: unknown;
|
|
95
|
+
};
|
|
96
|
+
$slots: Readonly<{
|
|
97
|
+
[name: string]: Slot | undefined;
|
|
98
|
+
}>;
|
|
99
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
100
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
101
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
102
|
+
$el: any;
|
|
103
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
104
|
+
tag: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
111
|
+
tag: string;
|
|
112
|
+
}, {}, string> & {
|
|
113
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
119
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
120
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
121
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
122
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
123
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
124
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
125
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
126
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
127
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
128
|
+
};
|
|
129
|
+
$forceUpdate: () => void;
|
|
130
|
+
$nextTick: typeof nextTick;
|
|
131
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
132
|
+
} & Readonly<ExtractPropTypes<{
|
|
133
|
+
tag: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
}>> & ShallowUnwrapRef<() => VNode<RendererNode, RendererElement, {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
}>> & {} & ComponentCustomProperties & {};
|
|
140
|
+
__isFragment?: undefined;
|
|
141
|
+
__isTeleport?: undefined;
|
|
142
|
+
__isSuspense?: undefined;
|
|
143
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
10
144
|
tag: {
|
|
11
145
|
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
12
147
|
};
|
|
13
|
-
}>>,
|
|
148
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
151
|
+
tag: string;
|
|
152
|
+
}, {}, string> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
153
|
+
install: (app: App<any>, ...options: any[]) => any;
|
|
154
|
+
} & Record<string, any>) | ({
|
|
155
|
+
new (...args: any[]): {
|
|
156
|
+
$: ComponentInternalInstance;
|
|
157
|
+
$data: {};
|
|
158
|
+
$props: Partial<{}> & Omit<Readonly<ExtractPropTypes<{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
159
|
+
$attrs: {
|
|
160
|
+
[x: string]: unknown;
|
|
161
|
+
};
|
|
162
|
+
$refs: {
|
|
163
|
+
[x: string]: unknown;
|
|
164
|
+
};
|
|
165
|
+
$slots: Readonly<{
|
|
166
|
+
[name: string]: Slot | undefined;
|
|
167
|
+
}>;
|
|
168
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
169
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
170
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
171
|
+
$el: any;
|
|
172
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{}>>, () => VNode<RendererNode, RendererElement, {
|
|
173
|
+
[key: string]: any;
|
|
174
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
175
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
176
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
177
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
178
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
179
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
180
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
181
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
182
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
183
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
184
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
185
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
186
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
187
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
188
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
189
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
190
|
+
};
|
|
191
|
+
$forceUpdate: () => void;
|
|
192
|
+
$nextTick: typeof nextTick;
|
|
193
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
194
|
+
} & Readonly<ExtractPropTypes<{}>> & ShallowUnwrapRef<() => VNode<RendererNode, RendererElement, {
|
|
195
|
+
[key: string]: any;
|
|
196
|
+
}>> & {} & ComponentCustomProperties & {};
|
|
197
|
+
__isFragment?: undefined;
|
|
198
|
+
__isTeleport?: undefined;
|
|
199
|
+
__isSuspense?: undefined;
|
|
200
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{}>>, () => VNode<RendererNode, RendererElement, {
|
|
201
|
+
[key: string]: any;
|
|
202
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ((app: App<any>, ...options: any[]) => any) & {
|
|
203
|
+
install?: ((app: App<any>, ...options: any[]) => any) | undefined;
|
|
204
|
+
} & Record<string, any>) | ({
|
|
205
|
+
new (...args: any[]): {
|
|
206
|
+
$: ComponentInternalInstance;
|
|
207
|
+
$data: {};
|
|
208
|
+
$props: Partial<{}> & Omit<Readonly<ExtractPropTypes<{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
209
|
+
$attrs: {
|
|
210
|
+
[x: string]: unknown;
|
|
211
|
+
};
|
|
212
|
+
$refs: {
|
|
213
|
+
[x: string]: unknown;
|
|
214
|
+
};
|
|
215
|
+
$slots: Readonly<{
|
|
216
|
+
[name: string]: Slot | undefined;
|
|
217
|
+
}>;
|
|
218
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
219
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
220
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
221
|
+
$el: any;
|
|
222
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{}>>, () => VNode<RendererNode, RendererElement, {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
225
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
226
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
227
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
228
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
229
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
230
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
231
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
232
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
233
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
234
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
235
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
236
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
237
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
238
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
239
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
240
|
+
};
|
|
241
|
+
$forceUpdate: () => void;
|
|
242
|
+
$nextTick: typeof nextTick;
|
|
243
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
244
|
+
} & Readonly<ExtractPropTypes<{}>> & ShallowUnwrapRef<() => VNode<RendererNode, RendererElement, {
|
|
245
|
+
[key: string]: any;
|
|
246
|
+
}>> & {} & ComponentCustomProperties & {};
|
|
247
|
+
__isFragment?: undefined;
|
|
248
|
+
__isTeleport?: undefined;
|
|
249
|
+
__isSuspense?: undefined;
|
|
250
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{}>>, () => VNode<RendererNode, RendererElement, {
|
|
251
|
+
[key: string]: any;
|
|
252
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
253
|
+
install: (app: App<any>, ...options: any[]) => any;
|
|
254
|
+
} & Record<string, any>))[];
|
|
14
255
|
export default _default;
|