@94ai/nf-toast-demo 1.1.32 → 1.1.34
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/components.d.ts +8 -0
- package/lib/index.d.ts +7 -107
- package/lib/nf-toast-demo.cjs.js +60 -60
- package/lib/nf-toast-demo.esm-bundler.js +60 -60
- package/lib/nf-toast-demo.vue.d.ts +4 -38
- package/lib/toastExtend.d.ts +4 -38
- package/package.json +2 -2
package/components.d.ts
ADDED
package/lib/index.d.ts
CHANGED
|
@@ -2,59 +2,9 @@ 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<{
|
|
6
|
-
|
|
7
|
-
|
|
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-demi").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-demi").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-demi").ShallowUnwrapRef<{}> & {
|
|
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<{}> & {
|
|
58
8
|
isShow: boolean;
|
|
59
9
|
live: boolean;
|
|
60
10
|
} & import("vue/types/v3-component-options").ExtractComputedReturns<{
|
|
@@ -63,39 +13,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
63
13
|
iconfonttoast: boolean;
|
|
64
14
|
};
|
|
65
15
|
style(): {};
|
|
66
|
-
}> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").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-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").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
|
-
}>>, {}, {
|
|
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>>>, {}, {
|
|
99
17
|
isShow: boolean;
|
|
100
18
|
live: boolean;
|
|
101
19
|
}, {
|
|
@@ -105,26 +23,8 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
105
23
|
};
|
|
106
24
|
style(): {};
|
|
107
25
|
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
-
};
|
|
26
|
+
[x: number]: string;
|
|
27
|
+
} | {}> & {
|
|
28
|
+
props: import("vue-demi").ComponentPropsOptions<import("vue-demi").Data>;
|
|
129
29
|
} & PluginObject<undefined>;
|
|
130
30
|
export default _default;
|
package/lib/nf-toast-demo.cjs.js
CHANGED
|
@@ -1,63 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vueDemi = require("vue-demi");
|
|
4
|
-
|
|
5
|
-
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
6
|
-
if (render2) {
|
|
7
|
-
options.render = render2;
|
|
8
|
-
options.staticRenderFns = staticRenderFns;
|
|
9
|
-
options._compiled = true;
|
|
10
|
-
}
|
|
11
|
-
if (functionalTemplate) {
|
|
12
|
-
options.functional = true;
|
|
13
|
-
}
|
|
14
|
-
if (scopeId) {
|
|
15
|
-
options._scopeId = "data-v-" + scopeId;
|
|
16
|
-
}
|
|
17
|
-
var hook;
|
|
18
|
-
if (moduleIdentifier) {
|
|
19
|
-
hook = function(context) {
|
|
20
|
-
context = context || // cached call
|
|
21
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
22
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
23
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
24
|
-
context = __VUE_SSR_CONTEXT__;
|
|
25
|
-
}
|
|
26
|
-
if (injectStyles) {
|
|
27
|
-
injectStyles.call(this, context);
|
|
28
|
-
}
|
|
29
|
-
if (context && context._registeredComponents) {
|
|
30
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
options._ssrRegister = hook;
|
|
34
|
-
} else if (injectStyles) {
|
|
35
|
-
hook = shadowMode ? function() {
|
|
36
|
-
injectStyles.call(
|
|
37
|
-
this,
|
|
38
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
39
|
-
);
|
|
40
|
-
} : injectStyles;
|
|
41
|
-
}
|
|
42
|
-
if (hook) {
|
|
43
|
-
if (options.functional) {
|
|
44
|
-
options._injectStyles = hook;
|
|
45
|
-
var originalRender = options.render;
|
|
46
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
47
|
-
hook.call(context);
|
|
48
|
-
return originalRender(h, context);
|
|
49
|
-
};
|
|
50
|
-
} else {
|
|
51
|
-
var existing = options.beforeCreate;
|
|
52
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
exports: scriptExports,
|
|
57
|
-
options
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
var _sfc_main = vueDemi.defineComponent({
|
|
4
|
+
const _sfc_main = vueDemi.defineComponent({
|
|
61
5
|
name: "nf-toast-demo",
|
|
62
6
|
props: {
|
|
63
7
|
message: {
|
|
@@ -66,7 +10,7 @@ var _sfc_main = vueDemi.defineComponent({
|
|
|
66
10
|
return "默认提示";
|
|
67
11
|
}
|
|
68
12
|
},
|
|
69
|
-
|
|
13
|
+
tip: {
|
|
70
14
|
type: String,
|
|
71
15
|
"default": function _default2() {
|
|
72
16
|
return "info";
|
|
@@ -115,12 +59,12 @@ var _sfc_main = vueDemi.defineComponent({
|
|
|
115
59
|
},
|
|
116
60
|
computed: {
|
|
117
61
|
getIcon: function getIcon() {
|
|
118
|
-
var
|
|
62
|
+
var tip = this.tip;
|
|
119
63
|
var obj = {
|
|
120
64
|
iconfont: true,
|
|
121
65
|
iconfonttoast: true
|
|
122
66
|
};
|
|
123
|
-
switch (
|
|
67
|
+
switch (tip) {
|
|
124
68
|
case "success":
|
|
125
69
|
obj.iconsuccess = true;
|
|
126
70
|
return obj;
|
|
@@ -141,6 +85,62 @@ var _sfc_main = vueDemi.defineComponent({
|
|
|
141
85
|
}
|
|
142
86
|
}
|
|
143
87
|
});
|
|
88
|
+
function normalizeComponent(scriptExports, render2, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
89
|
+
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
90
|
+
if (render2) {
|
|
91
|
+
options.render = render2;
|
|
92
|
+
options.staticRenderFns = staticRenderFns;
|
|
93
|
+
options._compiled = true;
|
|
94
|
+
}
|
|
95
|
+
if (functionalTemplate) {
|
|
96
|
+
options.functional = true;
|
|
97
|
+
}
|
|
98
|
+
if (scopeId) {
|
|
99
|
+
options._scopeId = "data-v-" + scopeId;
|
|
100
|
+
}
|
|
101
|
+
var hook;
|
|
102
|
+
if (moduleIdentifier) {
|
|
103
|
+
hook = function(context) {
|
|
104
|
+
context = context || // cached call
|
|
105
|
+
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
106
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
107
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
108
|
+
context = __VUE_SSR_CONTEXT__;
|
|
109
|
+
}
|
|
110
|
+
if (injectStyles) {
|
|
111
|
+
injectStyles.call(this, context);
|
|
112
|
+
}
|
|
113
|
+
if (context && context._registeredComponents) {
|
|
114
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
options._ssrRegister = hook;
|
|
118
|
+
} else if (injectStyles) {
|
|
119
|
+
hook = shadowMode ? function() {
|
|
120
|
+
injectStyles.call(
|
|
121
|
+
this,
|
|
122
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
123
|
+
);
|
|
124
|
+
} : injectStyles;
|
|
125
|
+
}
|
|
126
|
+
if (hook) {
|
|
127
|
+
if (options.functional) {
|
|
128
|
+
options._injectStyles = hook;
|
|
129
|
+
var originalRender = options.render;
|
|
130
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
131
|
+
hook.call(context);
|
|
132
|
+
return originalRender(h, context);
|
|
133
|
+
};
|
|
134
|
+
} else {
|
|
135
|
+
var existing = options.beforeCreate;
|
|
136
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return {
|
|
140
|
+
exports: scriptExports,
|
|
141
|
+
options
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
144
|
var _sfc_render = function render() {
|
|
145
145
|
var _vm = this, _c = _vm._self._c;
|
|
146
146
|
_vm._self._setupProxy;
|
|
@@ -1,61 +1,5 @@
|
|
|
1
1
|
import { defineComponent, Vue2 } from "vue-demi";
|
|
2
|
-
|
|
3
|
-
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
4
|
-
if (render2) {
|
|
5
|
-
options.render = render2;
|
|
6
|
-
options.staticRenderFns = staticRenderFns;
|
|
7
|
-
options._compiled = true;
|
|
8
|
-
}
|
|
9
|
-
if (functionalTemplate) {
|
|
10
|
-
options.functional = true;
|
|
11
|
-
}
|
|
12
|
-
if (scopeId) {
|
|
13
|
-
options._scopeId = "data-v-" + scopeId;
|
|
14
|
-
}
|
|
15
|
-
var hook;
|
|
16
|
-
if (moduleIdentifier) {
|
|
17
|
-
hook = function(context) {
|
|
18
|
-
context = context || // cached call
|
|
19
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
20
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
21
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
22
|
-
context = __VUE_SSR_CONTEXT__;
|
|
23
|
-
}
|
|
24
|
-
if (injectStyles) {
|
|
25
|
-
injectStyles.call(this, context);
|
|
26
|
-
}
|
|
27
|
-
if (context && context._registeredComponents) {
|
|
28
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
options._ssrRegister = hook;
|
|
32
|
-
} else if (injectStyles) {
|
|
33
|
-
hook = shadowMode ? function() {
|
|
34
|
-
injectStyles.call(
|
|
35
|
-
this,
|
|
36
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
37
|
-
);
|
|
38
|
-
} : injectStyles;
|
|
39
|
-
}
|
|
40
|
-
if (hook) {
|
|
41
|
-
if (options.functional) {
|
|
42
|
-
options._injectStyles = hook;
|
|
43
|
-
var originalRender = options.render;
|
|
44
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
45
|
-
hook.call(context);
|
|
46
|
-
return originalRender(h, context);
|
|
47
|
-
};
|
|
48
|
-
} else {
|
|
49
|
-
var existing = options.beforeCreate;
|
|
50
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
exports: scriptExports,
|
|
55
|
-
options
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
var _sfc_main = defineComponent({
|
|
2
|
+
const _sfc_main = defineComponent({
|
|
59
3
|
name: "nf-toast-demo",
|
|
60
4
|
props: {
|
|
61
5
|
message: {
|
|
@@ -64,7 +8,7 @@ var _sfc_main = defineComponent({
|
|
|
64
8
|
return "默认提示";
|
|
65
9
|
}
|
|
66
10
|
},
|
|
67
|
-
|
|
11
|
+
tip: {
|
|
68
12
|
type: String,
|
|
69
13
|
"default": function _default2() {
|
|
70
14
|
return "info";
|
|
@@ -113,12 +57,12 @@ var _sfc_main = defineComponent({
|
|
|
113
57
|
},
|
|
114
58
|
computed: {
|
|
115
59
|
getIcon: function getIcon() {
|
|
116
|
-
var
|
|
60
|
+
var tip = this.tip;
|
|
117
61
|
var obj = {
|
|
118
62
|
iconfont: true,
|
|
119
63
|
iconfonttoast: true
|
|
120
64
|
};
|
|
121
|
-
switch (
|
|
65
|
+
switch (tip) {
|
|
122
66
|
case "success":
|
|
123
67
|
obj.iconsuccess = true;
|
|
124
68
|
return obj;
|
|
@@ -139,6 +83,62 @@ var _sfc_main = defineComponent({
|
|
|
139
83
|
}
|
|
140
84
|
}
|
|
141
85
|
});
|
|
86
|
+
function normalizeComponent(scriptExports, render2, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
87
|
+
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
88
|
+
if (render2) {
|
|
89
|
+
options.render = render2;
|
|
90
|
+
options.staticRenderFns = staticRenderFns;
|
|
91
|
+
options._compiled = true;
|
|
92
|
+
}
|
|
93
|
+
if (functionalTemplate) {
|
|
94
|
+
options.functional = true;
|
|
95
|
+
}
|
|
96
|
+
if (scopeId) {
|
|
97
|
+
options._scopeId = "data-v-" + scopeId;
|
|
98
|
+
}
|
|
99
|
+
var hook;
|
|
100
|
+
if (moduleIdentifier) {
|
|
101
|
+
hook = function(context) {
|
|
102
|
+
context = context || // cached call
|
|
103
|
+
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
104
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
105
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
106
|
+
context = __VUE_SSR_CONTEXT__;
|
|
107
|
+
}
|
|
108
|
+
if (injectStyles) {
|
|
109
|
+
injectStyles.call(this, context);
|
|
110
|
+
}
|
|
111
|
+
if (context && context._registeredComponents) {
|
|
112
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
options._ssrRegister = hook;
|
|
116
|
+
} else if (injectStyles) {
|
|
117
|
+
hook = shadowMode ? function() {
|
|
118
|
+
injectStyles.call(
|
|
119
|
+
this,
|
|
120
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
121
|
+
);
|
|
122
|
+
} : injectStyles;
|
|
123
|
+
}
|
|
124
|
+
if (hook) {
|
|
125
|
+
if (options.functional) {
|
|
126
|
+
options._injectStyles = hook;
|
|
127
|
+
var originalRender = options.render;
|
|
128
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
129
|
+
hook.call(context);
|
|
130
|
+
return originalRender(h, context);
|
|
131
|
+
};
|
|
132
|
+
} else {
|
|
133
|
+
var existing = options.beforeCreate;
|
|
134
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
exports: scriptExports,
|
|
139
|
+
options
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
142
|
var _sfc_render = function render() {
|
|
143
143
|
var _vm = this, _c = _vm._self._c;
|
|
144
144
|
_vm._self._setupProxy;
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue-demi").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
|
-
}, {}, {
|
|
1
|
+
declare const _default: import("vue-demi").DefineComponent<import("vue-demi").ComponentPropsOptions<import("vue-demi").Data>, {}, {
|
|
18
2
|
isShow: boolean;
|
|
19
3
|
live: boolean;
|
|
20
4
|
}, {
|
|
@@ -23,25 +7,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
23
7
|
iconfonttoast: boolean;
|
|
24
8
|
};
|
|
25
9
|
style(): {};
|
|
26
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
}>;
|
|
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
|
+
} | {}>;
|
|
47
13
|
export default _default;
|
package/lib/toastExtend.d.ts
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
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
|
-
}, {}, {
|
|
2
|
+
extends: import("vue").DefineComponent<import("vue").ComponentPropsOptions<import("vue").Data>, {}, {
|
|
19
3
|
isShow: boolean;
|
|
20
4
|
live: boolean;
|
|
21
5
|
}, {
|
|
@@ -24,27 +8,9 @@ declare const _default: {
|
|
|
24
8
|
iconfonttoast: boolean;
|
|
25
9
|
};
|
|
26
10
|
style(): {};
|
|
27
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
}>;
|
|
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
|
+
} | {}>;
|
|
48
14
|
data(): {
|
|
49
15
|
timer: undefined;
|
|
50
16
|
verticalOffset: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-toast-demo",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.34",
|
|
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.
|
|
19
|
+
"@94ai/nf-theme-chalk": "^1.1.34",
|
|
20
20
|
"vue-demi": "^0.14.5"
|
|
21
21
|
},
|
|
22
22
|
"peerDependenciesMeta": {
|