@94ai/nf-toast-demo 4.0.15 → 4.0.16

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.
@@ -1,6 +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 };
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 CHANGED
@@ -1,124 +1,124 @@
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: () => string;
9
- };
10
- tip: {
11
- type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
12
- default: () => string;
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: () => string;
25
- };
26
- tip: {
27
- type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
28
- default: () => string;
29
- };
30
- closable: {
31
- type: BooleanConstructor;
32
- default: () => true;
33
- };
34
- closend: {
35
- type: FunctionConstructor;
36
- };
37
- }>>, {}, {
38
- message: string;
39
- tip: "success" | "info" | "warning" | "error";
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: () => string;
45
- };
46
- tip: {
47
- type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
48
- default: () => string;
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(): Record<string, any>;
62
- style(): {};
63
- }> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
64
- message: {
65
- type: StringConstructor;
66
- default: () => string;
67
- };
68
- tip: {
69
- type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
70
- default: () => string;
71
- };
72
- closable: {
73
- type: BooleanConstructor;
74
- default: () => true;
75
- };
76
- closend: {
77
- type: FunctionConstructor;
78
- };
79
- }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
80
- message: {
81
- type: StringConstructor;
82
- default: () => string;
83
- };
84
- tip: {
85
- type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
86
- default: () => string;
87
- };
88
- closable: {
89
- type: BooleanConstructor;
90
- default: () => true;
91
- };
92
- closend: {
93
- type: FunctionConstructor;
94
- };
95
- }>>, {}, {
96
- isShow: boolean;
97
- live: boolean;
98
- }, {
99
- getIcon(): Record<string, any>;
100
- style(): {};
101
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
102
- message: string;
103
- tip: "success" | "info" | "warning" | "error";
104
- closable: boolean;
105
- }> & {
106
- props: {
107
- message: {
108
- type: StringConstructor;
109
- default: () => string;
110
- };
111
- tip: {
112
- type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
113
- default: () => string;
114
- };
115
- closable: {
116
- type: BooleanConstructor;
117
- default: () => true;
118
- };
119
- closend: {
120
- type: FunctionConstructor;
121
- };
122
- };
123
- } & PluginObject<undefined>;
124
- export default _default;
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: () => string;
9
+ };
10
+ tip: {
11
+ type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
12
+ default: () => string;
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: () => string;
25
+ };
26
+ tip: {
27
+ type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
28
+ default: () => string;
29
+ };
30
+ closable: {
31
+ type: BooleanConstructor;
32
+ default: () => true;
33
+ };
34
+ closend: {
35
+ type: FunctionConstructor;
36
+ };
37
+ }>>, {}, {
38
+ message: string;
39
+ tip: "success" | "info" | "warning" | "error";
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: () => string;
45
+ };
46
+ tip: {
47
+ type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
48
+ default: () => string;
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(): Record<string, any>;
62
+ style(): {};
63
+ }> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
64
+ message: {
65
+ type: StringConstructor;
66
+ default: () => string;
67
+ };
68
+ tip: {
69
+ type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
70
+ default: () => string;
71
+ };
72
+ closable: {
73
+ type: BooleanConstructor;
74
+ default: () => true;
75
+ };
76
+ closend: {
77
+ type: FunctionConstructor;
78
+ };
79
+ }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
80
+ message: {
81
+ type: StringConstructor;
82
+ default: () => string;
83
+ };
84
+ tip: {
85
+ type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
86
+ default: () => string;
87
+ };
88
+ closable: {
89
+ type: BooleanConstructor;
90
+ default: () => true;
91
+ };
92
+ closend: {
93
+ type: FunctionConstructor;
94
+ };
95
+ }>>, {}, {
96
+ isShow: boolean;
97
+ live: boolean;
98
+ }, {
99
+ getIcon(): Record<string, any>;
100
+ style(): {};
101
+ }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
102
+ message: string;
103
+ tip: "success" | "info" | "warning" | "error";
104
+ closable: boolean;
105
+ }> & {
106
+ props: {
107
+ message: {
108
+ type: StringConstructor;
109
+ default: () => string;
110
+ };
111
+ tip: {
112
+ type: import("vue-demi").PropType<"success" | "info" | "warning" | "error">;
113
+ default: () => string;
114
+ };
115
+ closable: {
116
+ type: BooleanConstructor;
117
+ default: () => true;
118
+ };
119
+ closend: {
120
+ type: FunctionConstructor;
121
+ };
122
+ };
123
+ } & PluginObject<undefined>;
124
+ export default _default;
@@ -1,45 +1,45 @@
1
- import { PropType } from 'vue-demi';
2
- declare const _default: import("vue-demi").DefineComponent<{
3
- message: {
4
- type: StringConstructor;
5
- default: () => string;
6
- };
7
- tip: {
8
- type: PropType<"success" | "info" | "warning" | "error">;
9
- default: () => string;
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(): Record<string, any>;
23
- style(): {};
24
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
25
- message: {
26
- type: StringConstructor;
27
- default: () => string;
28
- };
29
- tip: {
30
- type: PropType<"success" | "info" | "warning" | "error">;
31
- default: () => string;
32
- };
33
- closable: {
34
- type: BooleanConstructor;
35
- default: () => true;
36
- };
37
- closend: {
38
- type: FunctionConstructor;
39
- };
40
- }>>, {
41
- message: string;
42
- tip: "success" | "info" | "warning" | "error";
43
- closable: boolean;
44
- }>;
45
- export default _default;
1
+ import { PropType } from 'vue-demi';
2
+ declare const _default: import("vue-demi").DefineComponent<{
3
+ message: {
4
+ type: StringConstructor;
5
+ default: () => string;
6
+ };
7
+ tip: {
8
+ type: PropType<"success" | "info" | "warning" | "error">;
9
+ default: () => string;
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(): Record<string, any>;
23
+ style(): {};
24
+ }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
25
+ message: {
26
+ type: StringConstructor;
27
+ default: () => string;
28
+ };
29
+ tip: {
30
+ type: PropType<"success" | "info" | "warning" | "error">;
31
+ default: () => string;
32
+ };
33
+ closable: {
34
+ type: BooleanConstructor;
35
+ default: () => true;
36
+ };
37
+ closend: {
38
+ type: FunctionConstructor;
39
+ };
40
+ }>>, {
41
+ message: string;
42
+ tip: "success" | "info" | "warning" | "error";
43
+ closable: boolean;
44
+ }>;
45
+ export default _default;
@@ -1 +1 @@
1
-
1
+
@@ -1 +1 @@
1
-
1
+
@@ -1,64 +1,64 @@
1
- declare const _default: {
2
- extends: import("vue").DefineComponent<{
3
- message: {
4
- type: StringConstructor;
5
- default: () => string;
6
- };
7
- tip: {
8
- type: import("vue").PropType<"success" | "info" | "warning" | "error">;
9
- default: () => string;
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(): Record<string, any>;
23
- style(): {};
24
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
25
- message: {
26
- type: StringConstructor;
27
- default: () => string;
28
- };
29
- tip: {
30
- type: import("vue").PropType<"success" | "info" | "warning" | "error">;
31
- default: () => string;
32
- };
33
- closable: {
34
- type: BooleanConstructor;
35
- default: () => true;
36
- };
37
- closend: {
38
- type: FunctionConstructor;
39
- };
40
- }>>, {
41
- message: string;
42
- tip: "success" | "info" | "warning" | "error";
43
- closable: boolean;
44
- }>;
45
- data(): {
46
- timer: undefined;
47
- verticalOffset: number;
48
- autoClose: number;
49
- height: number;
50
- isShow: boolean;
51
- functionCall: boolean;
52
- };
53
- mounted(): void;
54
- computed: {
55
- style(): any;
56
- };
57
- methods: {
58
- createTimer(): void;
59
- clearTimer(): void;
60
- afterEnter(): void;
61
- };
62
- beforeDestroy(): void;
63
- };
64
- export default _default;
1
+ declare const _default: {
2
+ extends: import("vue").DefineComponent<{
3
+ message: {
4
+ type: StringConstructor;
5
+ default: () => string;
6
+ };
7
+ tip: {
8
+ type: import("vue").PropType<"success" | "info" | "warning" | "error">;
9
+ default: () => string;
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(): Record<string, any>;
23
+ style(): {};
24
+ }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
25
+ message: {
26
+ type: StringConstructor;
27
+ default: () => string;
28
+ };
29
+ tip: {
30
+ type: import("vue").PropType<"success" | "info" | "warning" | "error">;
31
+ default: () => string;
32
+ };
33
+ closable: {
34
+ type: BooleanConstructor;
35
+ default: () => true;
36
+ };
37
+ closend: {
38
+ type: FunctionConstructor;
39
+ };
40
+ }>>, {
41
+ message: string;
42
+ tip: "success" | "info" | "warning" | "error";
43
+ closable: boolean;
44
+ }>;
45
+ data(): {
46
+ timer: undefined;
47
+ verticalOffset: number;
48
+ autoClose: number;
49
+ height: number;
50
+ isShow: boolean;
51
+ functionCall: boolean;
52
+ };
53
+ mounted(): void;
54
+ computed: {
55
+ style(): any;
56
+ };
57
+ methods: {
58
+ createTimer(): void;
59
+ clearTimer(): void;
60
+ afterEnter(): void;
61
+ };
62
+ beforeDestroy(): void;
63
+ };
64
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-toast-demo",
3
- "version": "4.0.15",
3
+ "version": "4.0.16",
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": "^4.0.15",
19
+ "@94ai/nf-theme-chalk": "^4.0.16",
20
20
  "vue-demi": "^0.14.5"
21
21
  },
22
22
  "peerDependenciesMeta": {
@@ -32,5 +32,5 @@
32
32
  "types": "lib/index.d.ts",
33
33
  "main": "lib/nf-toast-demo.cjs.js",
34
34
  "module": "lib/nf-toast-demo.esm-bundler.js",
35
- "gitHead": "8ced6ca63e328dce24daff1cc42ce92761996e45"
35
+ "gitHead": "d471e0b9b19168d34c609f6cb7c8a2b692d342b2"
36
36
  }