@94ai/nf-toast-demo 1.1.27 → 1.1.28
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/lib/index.d.ts +1 -129
- package/lib/nf-toast-demo.vue.d.ts +46 -13
- package/lib/toastExtend.d.ts +46 -13
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,130 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{
|
|
3
|
-
isShow: boolean;
|
|
4
|
-
live: boolean;
|
|
5
|
-
}, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
6
|
-
message: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default(): "默认提示";
|
|
9
|
-
};
|
|
10
|
-
type: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default(): "info";
|
|
13
|
-
};
|
|
14
|
-
closable: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default(): true;
|
|
17
|
-
};
|
|
18
|
-
closend: {
|
|
19
|
-
type: FunctionConstructor;
|
|
20
|
-
};
|
|
21
|
-
}>>, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
22
|
-
message: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default(): "默认提示";
|
|
25
|
-
};
|
|
26
|
-
type: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default(): "info";
|
|
29
|
-
};
|
|
30
|
-
closable: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default(): true;
|
|
33
|
-
};
|
|
34
|
-
closend: {
|
|
35
|
-
type: FunctionConstructor;
|
|
36
|
-
};
|
|
37
|
-
}>>, {}, {
|
|
38
|
-
message: string;
|
|
39
|
-
type: string;
|
|
40
|
-
closable: boolean;
|
|
41
|
-
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
42
|
-
message: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default(): "默认提示";
|
|
45
|
-
};
|
|
46
|
-
type: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default(): "info";
|
|
49
|
-
};
|
|
50
|
-
closable: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default(): true;
|
|
53
|
-
};
|
|
54
|
-
closend: {
|
|
55
|
-
type: FunctionConstructor;
|
|
56
|
-
};
|
|
57
|
-
}>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
|
|
58
|
-
isShow: boolean;
|
|
59
|
-
live: boolean;
|
|
60
|
-
} & import("vue/types/v3-component-options").ExtractComputedReturns<{
|
|
61
|
-
getIcon(): {
|
|
62
|
-
iconfont: boolean;
|
|
63
|
-
iconfonttoast: boolean;
|
|
64
|
-
};
|
|
65
|
-
style(): {};
|
|
66
|
-
}> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
|
|
67
|
-
message: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
default(): "默认提示";
|
|
70
|
-
};
|
|
71
|
-
type: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default(): "info";
|
|
74
|
-
};
|
|
75
|
-
closable: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default(): true;
|
|
78
|
-
};
|
|
79
|
-
closend: {
|
|
80
|
-
type: FunctionConstructor;
|
|
81
|
-
};
|
|
82
|
-
}>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
83
|
-
message: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default(): "默认提示";
|
|
86
|
-
};
|
|
87
|
-
type: {
|
|
88
|
-
type: StringConstructor;
|
|
89
|
-
default(): "info";
|
|
90
|
-
};
|
|
91
|
-
closable: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default(): true;
|
|
94
|
-
};
|
|
95
|
-
closend: {
|
|
96
|
-
type: FunctionConstructor;
|
|
97
|
-
};
|
|
98
|
-
}>>, {}, {
|
|
99
|
-
isShow: boolean;
|
|
100
|
-
live: boolean;
|
|
101
|
-
}, {
|
|
102
|
-
getIcon(): {
|
|
103
|
-
iconfont: boolean;
|
|
104
|
-
iconfonttoast: boolean;
|
|
105
|
-
};
|
|
106
|
-
style(): {};
|
|
107
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
|
|
108
|
-
message: string;
|
|
109
|
-
type: string;
|
|
110
|
-
closable: boolean;
|
|
111
|
-
}> & {
|
|
112
|
-
props: {
|
|
113
|
-
message: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
default(): "默认提示";
|
|
116
|
-
};
|
|
117
|
-
type: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default(): "info";
|
|
120
|
-
};
|
|
121
|
-
closable: {
|
|
122
|
-
type: BooleanConstructor;
|
|
123
|
-
default(): true;
|
|
124
|
-
};
|
|
125
|
-
closend: {
|
|
126
|
-
type: FunctionConstructor;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
} & PluginObject<undefined>;
|
|
1
|
+
declare const _default: any;
|
|
130
2
|
export default _default;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('../../../vue-demi').ComponentOptions<import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, any>>, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data> & {
|
|
2
|
+
isShow: boolean;
|
|
3
|
+
live: boolean;
|
|
4
|
+
}, {
|
|
5
|
+
handleClose(e: any): void;
|
|
6
|
+
afterLeave(): void;
|
|
7
|
+
afterEnter(): void;
|
|
8
|
+
clearTimer(): void;
|
|
9
|
+
createTimer(): void;
|
|
10
|
+
}, {
|
|
11
|
+
getIcon(): {
|
|
12
|
+
iconfont: boolean;
|
|
13
|
+
iconfonttoast: boolean;
|
|
14
|
+
};
|
|
15
|
+
style(): {};
|
|
16
|
+
}, {
|
|
2
17
|
message: {
|
|
3
18
|
type: StringConstructor;
|
|
4
19
|
default(): "默认提示";
|
|
@@ -14,16 +29,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
14
29
|
closend: {
|
|
15
30
|
type: FunctionConstructor;
|
|
16
31
|
};
|
|
17
|
-
}, {
|
|
18
|
-
isShow: boolean;
|
|
19
|
-
live: boolean;
|
|
20
|
-
}, {
|
|
21
|
-
getIcon(): {
|
|
22
|
-
iconfont: boolean;
|
|
23
|
-
iconfonttoast: boolean;
|
|
24
|
-
};
|
|
25
|
-
style(): {};
|
|
26
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
32
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
27
33
|
message: {
|
|
28
34
|
type: StringConstructor;
|
|
29
35
|
default(): "默认提示";
|
|
@@ -39,9 +45,36 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
39
45
|
closend: {
|
|
40
46
|
type: FunctionConstructor;
|
|
41
47
|
};
|
|
42
|
-
}
|
|
48
|
+
}>, {}, import('../../../vue-demi/types/v3-component-options').ComponentOptionsMixin, import('../../../vue-demi/types/v3-component-options').ComponentOptionsMixin> & Omit<import('../../../vue-demi').VueConstructor<import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, any>>>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
49
|
+
message: string;
|
|
50
|
+
type: string;
|
|
51
|
+
closable: boolean;
|
|
52
|
+
} & {
|
|
53
|
+
closend?: undefined;
|
|
54
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data>, {
|
|
55
|
+
isShow: boolean;
|
|
56
|
+
live: boolean;
|
|
57
|
+
}, {
|
|
58
|
+
getIcon(): {
|
|
59
|
+
iconfont: boolean;
|
|
60
|
+
iconfonttoast: boolean;
|
|
61
|
+
};
|
|
62
|
+
style(): {};
|
|
63
|
+
}, {
|
|
64
|
+
handleClose(e: any): void;
|
|
65
|
+
afterLeave(): void;
|
|
66
|
+
afterEnter(): void;
|
|
67
|
+
clearTimer(): void;
|
|
68
|
+
createTimer(): void;
|
|
69
|
+
}, {}, {}, {}, {
|
|
70
|
+
message: string;
|
|
71
|
+
type: string;
|
|
72
|
+
closable: boolean;
|
|
73
|
+
} & {
|
|
74
|
+
closend?: undefined;
|
|
75
|
+
}, {
|
|
43
76
|
message: string;
|
|
44
77
|
type: string;
|
|
45
78
|
closable: boolean;
|
|
46
|
-
}
|
|
79
|
+
}, true>);
|
|
47
80
|
export default _default;
|
package/lib/toastExtend.d.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
extends: import("vue").
|
|
2
|
+
extends: import('../../../vue-demi').ComponentOptions<import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, any>>, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data> & {
|
|
3
|
+
isShow: boolean;
|
|
4
|
+
live: boolean;
|
|
5
|
+
}, {
|
|
6
|
+
handleClose(e: any): void;
|
|
7
|
+
afterLeave(): void;
|
|
8
|
+
afterEnter(): void;
|
|
9
|
+
clearTimer(): void;
|
|
10
|
+
createTimer(): void;
|
|
11
|
+
}, {
|
|
12
|
+
getIcon(): {
|
|
13
|
+
iconfont: boolean;
|
|
14
|
+
iconfonttoast: boolean;
|
|
15
|
+
};
|
|
16
|
+
style(): {};
|
|
17
|
+
}, {
|
|
3
18
|
message: {
|
|
4
19
|
type: StringConstructor;
|
|
5
20
|
default(): "默认提示";
|
|
@@ -15,16 +30,7 @@ declare const _default: {
|
|
|
15
30
|
closend: {
|
|
16
31
|
type: FunctionConstructor;
|
|
17
32
|
};
|
|
18
|
-
}, {
|
|
19
|
-
isShow: boolean;
|
|
20
|
-
live: boolean;
|
|
21
|
-
}, {
|
|
22
|
-
getIcon(): {
|
|
23
|
-
iconfont: boolean;
|
|
24
|
-
iconfonttoast: boolean;
|
|
25
|
-
};
|
|
26
|
-
style(): {};
|
|
27
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
28
34
|
message: {
|
|
29
35
|
type: StringConstructor;
|
|
30
36
|
default(): "默认提示";
|
|
@@ -40,11 +46,38 @@ declare const _default: {
|
|
|
40
46
|
closend: {
|
|
41
47
|
type: FunctionConstructor;
|
|
42
48
|
};
|
|
43
|
-
}
|
|
49
|
+
}>, {}, import('../../../vue-demi/types/v3-component-options').ComponentOptionsMixin, import('../../../vue-demi/types/v3-component-options').ComponentOptionsMixin> & Omit<import('../../../vue-demi').VueConstructor<import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('../../../vue-demi').default<Record<string, any>, Record<string, any>, never, never, any>>>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
50
|
+
message: string;
|
|
51
|
+
type: string;
|
|
52
|
+
closable: boolean;
|
|
53
|
+
} & {
|
|
54
|
+
closend?: undefined;
|
|
55
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data>, {
|
|
56
|
+
isShow: boolean;
|
|
57
|
+
live: boolean;
|
|
58
|
+
}, {
|
|
59
|
+
getIcon(): {
|
|
60
|
+
iconfont: boolean;
|
|
61
|
+
iconfonttoast: boolean;
|
|
62
|
+
};
|
|
63
|
+
style(): {};
|
|
64
|
+
}, {
|
|
65
|
+
handleClose(e: any): void;
|
|
66
|
+
afterLeave(): void;
|
|
67
|
+
afterEnter(): void;
|
|
68
|
+
clearTimer(): void;
|
|
69
|
+
createTimer(): void;
|
|
70
|
+
}, {}, {}, {}, {
|
|
71
|
+
message: string;
|
|
72
|
+
type: string;
|
|
73
|
+
closable: boolean;
|
|
74
|
+
} & {
|
|
75
|
+
closend?: undefined;
|
|
76
|
+
}, {
|
|
44
77
|
message: string;
|
|
45
78
|
type: string;
|
|
46
79
|
closable: boolean;
|
|
47
|
-
}
|
|
80
|
+
}, true>);
|
|
48
81
|
data(): {
|
|
49
82
|
timer: undefined;
|
|
50
83
|
verticalOffset: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-toast-demo",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.28",
|
|
4
4
|
"description": "toast示例组件",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"toast"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@94ai/nf-theme-chalk": "^1.1.
|
|
19
|
+
"@94ai/nf-theme-chalk": "^1.1.28",
|
|
20
20
|
"vue-demi": "^0.14.5"
|
|
21
21
|
},
|
|
22
22
|
"main": "lib/nf-toast-demo.cjs.js",
|