@94ai/nf-toast-demo 1.0.4
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/.eslintrc.js +49 -0
- package/README.md +11 -0
- package/lib/createInstants.d.ts +6 -0
- package/lib/index.d.ts +2 -0
- package/lib/nf-toast-demo.cjs.js +3336 -0
- package/lib/nf-toast-demo.css +29 -0
- package/lib/nf-toast-demo.esm-bundler.js +3336 -0
- package/lib/nf-toast-demo.umd.js +3339 -0
- package/lib/nf-toast-demo.vue.d.ts +47 -0
- package/lib/style/css.d.ts +1 -0
- package/lib/style/css.js +1 -0
- package/lib/style/index.d.ts +1 -0
- package/lib/style/index.js +1 -0
- package/lib/toastExtend.d.ts +67 -0
- package/package.json +30 -0
- package/postcss.config.js +8 -0
|
@@ -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
|
+
|
package/lib/style/css.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@94ai/nf-theme-chalk/lib/css/nf-toast-demo.css'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@94ai/nf-theme-chalk/lib/nf-toast-demo.scss'
|
|
@@ -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
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@94ai/nf-toast-demo",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "toast示例组件",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"toast"
|
|
7
|
+
],
|
|
8
|
+
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
9
|
+
"homepage": "https://oss.xccjh.top/common-ui/#/nf-index",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@94ai/nf-theme-chalk": "^1.0.4"
|
|
20
|
+
},
|
|
21
|
+
"main": "lib/nf-toast-demo.cjs.js",
|
|
22
|
+
"module": "lib/nf-toast-demo.esm-bundler.js",
|
|
23
|
+
"style": "lib/nf-toast-demo.css",
|
|
24
|
+
"types": "lib/index.d.ts",
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"element-ui": ">=2.13.2",
|
|
27
|
+
"vue": ">=2"
|
|
28
|
+
},
|
|
29
|
+
"gitHead": "1512ee2a1a09a4e3a790f744afd25897b60a7402"
|
|
30
|
+
}
|