@94ai/nf-toast-demo 1.1.28 → 1.1.30
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 +129 -1
- package/lib/nf-toast-demo.vue.d.ts +13 -46
- package/lib/toastExtend.d.ts +13 -46
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,130 @@
|
|
|
1
|
-
|
|
1
|
+
import { PluginObject } from 'vue-demi';
|
|
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>;
|
|
2
130
|
export default _default;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
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
|
-
}, {
|
|
1
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
17
2
|
message: {
|
|
18
3
|
type: StringConstructor;
|
|
19
4
|
default(): "默认提示";
|
|
@@ -29,7 +14,16 @@ declare const _default: import('../../../vue-demi').ComponentOptions<import('../
|
|
|
29
14
|
closend: {
|
|
30
15
|
type: FunctionConstructor;
|
|
31
16
|
};
|
|
32
|
-
},
|
|
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<{
|
|
33
27
|
message: {
|
|
34
28
|
type: StringConstructor;
|
|
35
29
|
default(): "默认提示";
|
|
@@ -45,36 +39,9 @@ declare const _default: import('../../../vue-demi').ComponentOptions<import('../
|
|
|
45
39
|
closend: {
|
|
46
40
|
type: FunctionConstructor;
|
|
47
41
|
};
|
|
48
|
-
}
|
|
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
|
-
}, {
|
|
42
|
+
}>>, {
|
|
76
43
|
message: string;
|
|
77
44
|
type: string;
|
|
78
45
|
closable: boolean;
|
|
79
|
-
}
|
|
46
|
+
}>;
|
|
80
47
|
export default _default;
|
package/lib/toastExtend.d.ts
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
extends: import(
|
|
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
|
-
}, {
|
|
2
|
+
extends: import("vue").DefineComponent<{
|
|
18
3
|
message: {
|
|
19
4
|
type: StringConstructor;
|
|
20
5
|
default(): "默认提示";
|
|
@@ -30,7 +15,16 @@ declare const _default: {
|
|
|
30
15
|
closend: {
|
|
31
16
|
type: FunctionConstructor;
|
|
32
17
|
};
|
|
33
|
-
},
|
|
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<{
|
|
34
28
|
message: {
|
|
35
29
|
type: StringConstructor;
|
|
36
30
|
default(): "默认提示";
|
|
@@ -46,38 +40,11 @@ declare const _default: {
|
|
|
46
40
|
closend: {
|
|
47
41
|
type: FunctionConstructor;
|
|
48
42
|
};
|
|
49
|
-
}
|
|
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
|
-
}, {
|
|
43
|
+
}>>, {
|
|
77
44
|
message: string;
|
|
78
45
|
type: string;
|
|
79
46
|
closable: boolean;
|
|
80
|
-
}
|
|
47
|
+
}>;
|
|
81
48
|
data(): {
|
|
82
49
|
timer: undefined;
|
|
83
50
|
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.30",
|
|
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.30",
|
|
20
20
|
"vue-demi": "^0.14.5"
|
|
21
21
|
},
|
|
22
22
|
"main": "lib/nf-toast-demo.cjs.js",
|