@94ai/nf-toast-demo 1.1.22 → 1.1.24
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/README.md +1 -1
- package/lib/createInstants.d.ts +6 -0
- package/lib/index.d.ts +2 -0
- package/lib/nf-toast-demo.vue.d.ts +47 -0
- package/lib/style/css.d.ts +1 -0
- package/lib/style/index.d.ts +1 -0
- package/lib/toastExtend.d.ts +67 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -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,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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-toast-demo",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.24",
|
|
4
4
|
"description": "toast示例组件",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"toast"
|
|
7
7
|
],
|
|
8
8
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
9
|
-
"homepage": "https://oss.xccjh.top/common-ui/#/",
|
|
9
|
+
"homepage": "https://oss.xccjh.top/common-ui/#/ai-index",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
@@ -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.24"
|
|
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": "
|
|
29
|
+
"gitHead": "9a78d355588bca739562941f6f8673c22b8ce070"
|
|
30
30
|
}
|