@94ai/nf-toast-demo 1.1.36 → 1.2.0

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 CHANGED
@@ -2,29 +2,123 @@ import { PluginObject } from 'vue-demi';
2
2
  declare const _default: import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{
3
3
  isShow: boolean;
4
4
  live: boolean;
5
- }, Readonly<import("vue-demi").ExtractPropTypes<string[]>> | Readonly<import("vue-demi").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue-demi").Data>>>, Readonly<import("vue-demi").ExtractPropTypes<string[]> | import("vue-demi").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue-demi").Data>>>, {}, {
6
- [x: number]: string;
7
- } | {}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<string[]>> | Readonly<import("vue-demi").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue-demi").Data>>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
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<{}> & {
8
58
  isShow: boolean;
9
59
  live: boolean;
10
60
  } & import("vue/types/v3-component-options").ExtractComputedReturns<{
11
- getIcon(): {
12
- iconfont: boolean;
13
- iconfonttoast: boolean;
14
- };
61
+ getIcon(): Record<string, any>;
15
62
  style(): {};
16
- }> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<string[]> | import("vue-demi").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue-demi").Data>>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<string[]> | import("vue-demi").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue-demi").Data>>>, {}, {
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
+ }>>, {}, {
17
96
  isShow: boolean;
18
97
  live: boolean;
19
98
  }, {
20
- getIcon(): {
21
- iconfont: boolean;
22
- iconfonttoast: boolean;
23
- };
99
+ getIcon(): Record<string, any>;
24
100
  style(): {};
25
101
  }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
26
- [x: number]: string;
27
- } | {}> & {
28
- props: import("vue-demi").ComponentPropsOptions<import("vue-demi").Data>;
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
+ };
29
123
  } & PluginObject<undefined>;
30
124
  export default _default;
@@ -1,13 +1,45 @@
1
- declare const _default: import("vue-demi").DefineComponent<import("vue-demi").ComponentPropsOptions<import("vue-demi").Data>, {}, {
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
+ }, {}, {
2
19
  isShow: boolean;
3
20
  live: boolean;
4
21
  }, {
5
- getIcon(): {
6
- iconfont: boolean;
7
- iconfonttoast: boolean;
8
- };
22
+ getIcon(): Record<string, any>;
9
23
  style(): {};
10
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<string[]> | import("vue-demi").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue-demi").Data>>>, {
11
- [x: number]: string;
12
- } | {}>;
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
+ }>;
13
45
  export default _default;
@@ -1,16 +1,47 @@
1
1
  declare const _default: {
2
- extends: import("vue").DefineComponent<import("vue").ComponentPropsOptions<import("vue").Data>, {}, {
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
+ }, {}, {
3
19
  isShow: boolean;
4
20
  live: boolean;
5
21
  }, {
6
- getIcon(): {
7
- iconfont: boolean;
8
- iconfonttoast: boolean;
9
- };
22
+ getIcon(): Record<string, any>;
10
23
  style(): {};
11
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]> | import("vue").ExtractPropTypes<import("vue/types/v3-component-props").ComponentObjectPropsOptions<import("vue").Data>>>, {
12
- [x: number]: string;
13
- } | {}>;
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
+ }>;
14
45
  data(): {
15
46
  timer: undefined;
16
47
  verticalOffset: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-toast-demo",
3
- "version": "1.1.36",
3
+ "version": "1.2.0",
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.36",
19
+ "@94ai/nf-theme-chalk": "^1.2.0",
20
20
  "vue-demi": "^0.14.5"
21
21
  },
22
22
  "peerDependenciesMeta": {