@94ai/nf-toast-demo 1.1.23 → 1.1.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.
@@ -0,0 +1,6 @@
1
+ declare const toast: (options: any) => any;
2
+ declare const success: (options: any) => void;
3
+ declare const errorFunc: (options: any) => void;
4
+ declare const warning: (options: any) => void;
5
+ declare const info: (options: any) => void;
6
+ export { toast, success, errorFunc, warning, info };
package/lib/index.d.ts ADDED
@@ -0,0 +1,130 @@
1
+ import { PluginObject } from 'vue';
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").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").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").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").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").ComponentCustomProperties & Readonly<import("vue").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").ComponentComputedOptions, import("vue").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue").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>;
130
+ export default _default;
@@ -0,0 +1,47 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ message: {
3
+ type: StringConstructor;
4
+ default(): "默认提示";
5
+ };
6
+ type: {
7
+ type: StringConstructor;
8
+ default(): "info";
9
+ };
10
+ closable: {
11
+ type: BooleanConstructor;
12
+ default(): true;
13
+ };
14
+ closend: {
15
+ type: FunctionConstructor;
16
+ };
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").ExtractPropTypes<{
27
+ message: {
28
+ type: StringConstructor;
29
+ default(): "默认提示";
30
+ };
31
+ type: {
32
+ type: StringConstructor;
33
+ default(): "info";
34
+ };
35
+ closable: {
36
+ type: BooleanConstructor;
37
+ default(): true;
38
+ };
39
+ closend: {
40
+ type: FunctionConstructor;
41
+ };
42
+ }>>, {
43
+ message: string;
44
+ type: string;
45
+ closable: boolean;
46
+ }>;
47
+ export default _default;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,67 @@
1
+ declare const _default: {
2
+ extends: import("vue").DefineComponent<{
3
+ message: {
4
+ type: StringConstructor;
5
+ default(): "默认提示";
6
+ };
7
+ type: {
8
+ type: StringConstructor;
9
+ default(): "info";
10
+ };
11
+ closable: {
12
+ type: BooleanConstructor;
13
+ default(): true;
14
+ };
15
+ closend: {
16
+ type: FunctionConstructor;
17
+ };
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<{
28
+ message: {
29
+ type: StringConstructor;
30
+ default(): "默认提示";
31
+ };
32
+ type: {
33
+ type: StringConstructor;
34
+ default(): "info";
35
+ };
36
+ closable: {
37
+ type: BooleanConstructor;
38
+ default(): true;
39
+ };
40
+ closend: {
41
+ type: FunctionConstructor;
42
+ };
43
+ }>>, {
44
+ message: string;
45
+ type: string;
46
+ closable: boolean;
47
+ }>;
48
+ data(): {
49
+ timer: undefined;
50
+ verticalOffset: number;
51
+ autoClose: number;
52
+ height: number;
53
+ isShow: boolean;
54
+ functionCall: boolean;
55
+ };
56
+ mounted(): void;
57
+ computed: {
58
+ style(): any;
59
+ };
60
+ methods: {
61
+ createTimer(): void;
62
+ clearTimer(): void;
63
+ afterEnter(): void;
64
+ };
65
+ beforeDestroy(): void;
66
+ };
67
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-toast-demo",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
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.23"
19
+ "@94ai/nf-theme-chalk": "^1.1.25"
20
20
  },
21
21
  "main": "lib/nf-toast-demo.cjs.js",
22
22
  "module": "lib/nf-toast-demo.esm-bundler.js",
@@ -26,5 +26,5 @@
26
26
  "element-ui": ">=2.13.2",
27
27
  "vue": ">=2"
28
28
  },
29
- "gitHead": "855c7a7981dfe1fe4bdfd263e52bcf46c4a74569"
29
+ "gitHead": "9a78d355588bca739562941f6f8673c22b8ce070"
30
30
  }