x-next 0.0.0-alpha.3 → 0.0.0-alpha.31
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/{x-next → dist}/_utils/config.d.ts +1 -1
- package/dist/_utils/constant.d.ts +17 -0
- package/{x-next → dist}/_utils/is.d.ts +2 -0
- package/{x-next → dist}/_utils/vue-eco.d.ts +4 -1
- package/{x-next/componets/button/index.vue.d.ts → dist/components/button/Button.d.ts} +5 -70
- package/dist/components/button/index.d.ts +181 -0
- package/{x-next/componets/dialog/index.vue.d.ts → dist/components/dialog/Dialog.d.ts} +13 -46
- package/dist/components/dialog/index.d.ts +334 -0
- package/{x-next/componets → dist/components}/dialog/props.d.ts +5 -5
- package/dist/components/index.d.ts +7 -0
- package/dist/components/message/Message.d.ts +108 -0
- package/{x-next/componets/message/index.vue.d.ts → dist/components/message/MessageVue.vue.d.ts} +22 -47
- package/dist/components/message/index.d.ts +193 -0
- package/dist/components/message-box/index.d.ts +4 -0
- package/dist/components/message-box/warp.d.ts +2 -0
- package/dist/components/notification/Notification.d.ts +89 -0
- package/dist/components/notification/index.d.ts +166 -0
- package/dist/components/scrollbar/props.d.ts +16 -0
- package/{x-next/componets/space/index.d.ts → dist/components/space/Space.d.ts} +1 -1
- package/dist/components/space/index.d.ts +82 -0
- package/dist/components/tag-cloud/index.d.ts +0 -0
- package/dist/components/trend-chart/components/TrendChart.d.ts +277 -0
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +111 -0
- package/dist/components/trend-chart/components/trend-chart-grid.d.ts +55 -0
- package/dist/components/trend-chart/components/trend-chart-labels.d.ts +22 -0
- package/dist/components/trend-chart/helpers/genPath.d.ts +8 -0
- package/dist/components/trend-chart/helpers/genPoints.d.ts +3 -0
- package/dist/components/trend-chart/helpers/getPadding.d.ts +7 -0
- package/dist/components/trend-chart/helpers/validatePadding.d.ts +2 -0
- package/dist/components/trend-chart/index.d.ts +535 -0
- package/dist/components/trend-chart/props.d.ts +203 -0
- package/dist/components/trend-chart/themes.d.ts +128 -0
- package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart-curve.d.ts +2 -5
- package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart.d.ts +19 -15
- package/dist/components/trend-chart.bak/index.d.ts +530 -0
- package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/props.d.ts +10 -5
- package/dist/components/trend-chart.bak/themes.d.ts +152 -0
- package/dist/directives/clipboard/cache.d.ts +8 -0
- package/dist/directives/clipboard/clipboard.d.ts +18 -0
- package/dist/directives/clipboard/convert.d.ts +3 -0
- package/dist/directives/clipboard/index.d.ts +3 -0
- package/dist/directives/clipboard/plugin.d.ts +2 -0
- package/dist/directives/clipboard/textarea.d.ts +3 -0
- package/{x-next/icons/default/exclamation-circle-fill.vue.d.ts → dist/icons/animation/animation-loading.d.ts} +4 -9
- package/{x-next/icons/animation/animation-loading.vue.d.ts → dist/icons/default/check-circle-fill.d.ts} +4 -9
- package/{x-next/icons/default/close-circle-fill.vue.d.ts → dist/icons/default/close-circle-fill.d.ts} +4 -9
- package/{x-next/icons/default/check-circle-fill.vue.d.ts → dist/icons/default/exclamation-circle-fill.d.ts} +4 -9
- package/dist/icons/default/info-circle-fill.d.ts +50 -0
- package/dist/icons/default/logo-simple.d.ts +50 -0
- package/dist/icons/default/minus-circle-fill.d.ts +50 -0
- package/dist/icons/icon.d.ts +51 -0
- package/{x-next → dist}/icons/index.d.ts +8 -7
- package/dist/index.d.ts +13 -0
- package/dist/index.es.js +2064 -0
- package/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +12 -0
- package/package.json +23 -13
- package/volar.d.ts +13 -0
- package/x-next/_utils/icon.d.ts +0 -59
- package/x-next/componets/message-box/warp.d.ts +0 -2
- package/x-next/componets/notification/index.vue.d.ts +0 -160
- package/x-next/componets/trend-chart/index.d.ts +0 -2
- package/x-next/icons/default/info-circle-fill.vue.d.ts +0 -55
- package/x-next/icons/default/minus-circle-fill.vue.d.ts +0 -55
- package/x-next/style.css +0 -1
- package/x-next/ui.d.ts +0 -5
- package/x-next/ui.js +0 -1357
- package/x-next/ui.umd.cjs +0 -1
- /package/{x-next → dist}/_hooks/use-overflow.d.ts +0 -0
- /package/{x-next → dist}/_hooks/use-popup-manager.d.ts +0 -0
- /package/{x-next → dist}/_props/css.d.ts +0 -0
- /package/{x-next → dist}/_props/global.d.ts +0 -0
- /package/{x-next → dist}/_utils/convert-case.d.ts +0 -0
- /package/{x-next → dist}/_utils/dom.d.ts +0 -0
- /package/{x-next → dist}/_utils/helpers.d.ts +0 -0
- /package/{x-next → dist}/_utils/keyboard.d.ts +0 -0
- /package/{x-next → dist}/_utils/number.d.ts +0 -0
- /package/{x-next/componets → dist/components}/button/props.d.ts +0 -0
- /package/{x-next/componets → dist/components}/dialog/use-props.d.ts +0 -0
- /package/{x-next/componets → dist/components}/dialog/use.d.ts +0 -0
- /package/{x-next/componets → dist/components}/dialog/warp.d.ts +0 -0
- /package/{x-next/componets → dist/components}/message/props.d.ts +0 -0
- /package/{x-next/componets → dist/components}/message/warp.d.ts +0 -0
- /package/{x-next/componets/message-box/index.d.ts → dist/components/message-box/MessageBox.d.ts} +0 -0
- /package/{x-next/componets → dist/components}/message-box/props.d.ts +0 -0
- /package/{x-next/componets → dist/components}/notification/props.d.ts +0 -0
- /package/{x-next/componets → dist/components}/notification/warp.d.ts +0 -0
- /package/{x-next/componets/tag-cloud → dist/components/scrollbar}/index.d.ts +0 -0
- /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart-grid.d.ts +0 -0
- /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart-labels.d.ts +0 -0
- /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/genPath.d.ts +0 -0
- /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/genPoints.d.ts +0 -0
- /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/getPadding.d.ts +0 -0
- /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/validatePadding.d.ts +0 -0
@@ -0,0 +1,193 @@
|
|
1
|
+
export declare const XMessage: {
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
id: {
|
4
|
+
type: StringConstructor;
|
5
|
+
default: string;
|
6
|
+
};
|
7
|
+
message: {
|
8
|
+
type: import('vue').PropType<import('./props').IMessage>;
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
type: {
|
12
|
+
type: import('vue').PropType<import('./props').IMessageType>;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
duration: {
|
16
|
+
type: NumberConstructor;
|
17
|
+
default: number;
|
18
|
+
};
|
19
|
+
center: {
|
20
|
+
type: BooleanConstructor;
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
onClose: {
|
24
|
+
type: import('vue').PropType<() => void>;
|
25
|
+
default: () => void;
|
26
|
+
};
|
27
|
+
offset: {
|
28
|
+
type: NumberConstructor;
|
29
|
+
default: number;
|
30
|
+
};
|
31
|
+
zIndex: {
|
32
|
+
type: NumberConstructor;
|
33
|
+
default: number;
|
34
|
+
};
|
35
|
+
showClose: {
|
36
|
+
type: BooleanConstructor;
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
useHTML: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
popupClass: {
|
44
|
+
type: StringConstructor;
|
45
|
+
default: undefined;
|
46
|
+
};
|
47
|
+
}>> & Readonly<{
|
48
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
49
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "destroy"[], import('vue').PublicProps, {
|
50
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
51
|
+
message: import('./props').IMessage;
|
52
|
+
zIndex: number;
|
53
|
+
offset: number;
|
54
|
+
center: boolean;
|
55
|
+
popupClass: string;
|
56
|
+
showClose: boolean;
|
57
|
+
onClose: () => void;
|
58
|
+
id: string;
|
59
|
+
duration: number;
|
60
|
+
useHTML: boolean;
|
61
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
62
|
+
P: {};
|
63
|
+
B: {};
|
64
|
+
D: {};
|
65
|
+
C: {};
|
66
|
+
M: {};
|
67
|
+
Defaults: {};
|
68
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
69
|
+
id: {
|
70
|
+
type: StringConstructor;
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
message: {
|
74
|
+
type: import('vue').PropType<import('./props').IMessage>;
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
type: {
|
78
|
+
type: import('vue').PropType<import('./props').IMessageType>;
|
79
|
+
default: string;
|
80
|
+
};
|
81
|
+
duration: {
|
82
|
+
type: NumberConstructor;
|
83
|
+
default: number;
|
84
|
+
};
|
85
|
+
center: {
|
86
|
+
type: BooleanConstructor;
|
87
|
+
default: boolean;
|
88
|
+
};
|
89
|
+
onClose: {
|
90
|
+
type: import('vue').PropType<() => void>;
|
91
|
+
default: () => void;
|
92
|
+
};
|
93
|
+
offset: {
|
94
|
+
type: NumberConstructor;
|
95
|
+
default: number;
|
96
|
+
};
|
97
|
+
zIndex: {
|
98
|
+
type: NumberConstructor;
|
99
|
+
default: number;
|
100
|
+
};
|
101
|
+
showClose: {
|
102
|
+
type: BooleanConstructor;
|
103
|
+
default: boolean;
|
104
|
+
};
|
105
|
+
useHTML: {
|
106
|
+
type: BooleanConstructor;
|
107
|
+
default: boolean;
|
108
|
+
};
|
109
|
+
popupClass: {
|
110
|
+
type: StringConstructor;
|
111
|
+
default: undefined;
|
112
|
+
};
|
113
|
+
}>> & Readonly<{
|
114
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
115
|
+
}>, () => any, {}, {}, {}, {
|
116
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
117
|
+
message: import('./props').IMessage;
|
118
|
+
zIndex: number;
|
119
|
+
offset: number;
|
120
|
+
center: boolean;
|
121
|
+
popupClass: string;
|
122
|
+
showClose: boolean;
|
123
|
+
onClose: () => void;
|
124
|
+
id: string;
|
125
|
+
duration: number;
|
126
|
+
useHTML: boolean;
|
127
|
+
}>;
|
128
|
+
__isFragment?: never;
|
129
|
+
__isTeleport?: never;
|
130
|
+
__isSuspense?: never;
|
131
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
132
|
+
id: {
|
133
|
+
type: StringConstructor;
|
134
|
+
default: string;
|
135
|
+
};
|
136
|
+
message: {
|
137
|
+
type: import('vue').PropType<import('./props').IMessage>;
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
type: {
|
141
|
+
type: import('vue').PropType<import('./props').IMessageType>;
|
142
|
+
default: string;
|
143
|
+
};
|
144
|
+
duration: {
|
145
|
+
type: NumberConstructor;
|
146
|
+
default: number;
|
147
|
+
};
|
148
|
+
center: {
|
149
|
+
type: BooleanConstructor;
|
150
|
+
default: boolean;
|
151
|
+
};
|
152
|
+
onClose: {
|
153
|
+
type: import('vue').PropType<() => void>;
|
154
|
+
default: () => void;
|
155
|
+
};
|
156
|
+
offset: {
|
157
|
+
type: NumberConstructor;
|
158
|
+
default: number;
|
159
|
+
};
|
160
|
+
zIndex: {
|
161
|
+
type: NumberConstructor;
|
162
|
+
default: number;
|
163
|
+
};
|
164
|
+
showClose: {
|
165
|
+
type: BooleanConstructor;
|
166
|
+
default: boolean;
|
167
|
+
};
|
168
|
+
useHTML: {
|
169
|
+
type: BooleanConstructor;
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
popupClass: {
|
173
|
+
type: StringConstructor;
|
174
|
+
default: undefined;
|
175
|
+
};
|
176
|
+
}>> & Readonly<{
|
177
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
178
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "destroy"[], "destroy", {
|
179
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
180
|
+
message: import('./props').IMessage;
|
181
|
+
zIndex: number;
|
182
|
+
offset: number;
|
183
|
+
center: boolean;
|
184
|
+
popupClass: string;
|
185
|
+
showClose: boolean;
|
186
|
+
onClose: () => void;
|
187
|
+
id: string;
|
188
|
+
duration: number;
|
189
|
+
useHTML: boolean;
|
190
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
191
|
+
install(app: import('vue').App): void;
|
192
|
+
};
|
193
|
+
export { XMessage as default };
|
@@ -0,0 +1,89 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
position: {
|
3
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
offset: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: number;
|
9
|
+
};
|
10
|
+
title: {
|
11
|
+
type: StringConstructor;
|
12
|
+
default: string;
|
13
|
+
};
|
14
|
+
type: {
|
15
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
16
|
+
default: string;
|
17
|
+
};
|
18
|
+
message: {
|
19
|
+
type: StringConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
duration: {
|
23
|
+
type: NumberConstructor;
|
24
|
+
default: number;
|
25
|
+
};
|
26
|
+
showClose: {
|
27
|
+
type: BooleanConstructor;
|
28
|
+
default: boolean;
|
29
|
+
};
|
30
|
+
onClose: {
|
31
|
+
type: import('vue').PropType<() => void>;
|
32
|
+
default: () => void;
|
33
|
+
};
|
34
|
+
renderToBody: {
|
35
|
+
type: BooleanConstructor;
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "destroy")[], "close" | "destroy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
39
|
+
position: {
|
40
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
41
|
+
default: string;
|
42
|
+
};
|
43
|
+
offset: {
|
44
|
+
type: NumberConstructor;
|
45
|
+
default: number;
|
46
|
+
};
|
47
|
+
title: {
|
48
|
+
type: StringConstructor;
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
type: {
|
52
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
53
|
+
default: string;
|
54
|
+
};
|
55
|
+
message: {
|
56
|
+
type: StringConstructor;
|
57
|
+
default: undefined;
|
58
|
+
};
|
59
|
+
duration: {
|
60
|
+
type: NumberConstructor;
|
61
|
+
default: number;
|
62
|
+
};
|
63
|
+
showClose: {
|
64
|
+
type: BooleanConstructor;
|
65
|
+
default: boolean;
|
66
|
+
};
|
67
|
+
onClose: {
|
68
|
+
type: import('vue').PropType<() => void>;
|
69
|
+
default: () => void;
|
70
|
+
};
|
71
|
+
renderToBody: {
|
72
|
+
type: BooleanConstructor;
|
73
|
+
default: boolean;
|
74
|
+
};
|
75
|
+
}>> & Readonly<{
|
76
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
77
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
78
|
+
}>, {
|
79
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
80
|
+
title: string;
|
81
|
+
message: string;
|
82
|
+
position: import('./props').NotificationPosition;
|
83
|
+
offset: number;
|
84
|
+
showClose: boolean;
|
85
|
+
onClose: () => void;
|
86
|
+
duration: number;
|
87
|
+
renderToBody: boolean;
|
88
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
89
|
+
export default _default;
|
@@ -0,0 +1,166 @@
|
|
1
|
+
export declare const XNotification: {
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
position: {
|
4
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
5
|
+
default: string;
|
6
|
+
};
|
7
|
+
offset: {
|
8
|
+
type: NumberConstructor;
|
9
|
+
default: number;
|
10
|
+
};
|
11
|
+
title: {
|
12
|
+
type: StringConstructor;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
type: {
|
16
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
message: {
|
20
|
+
type: StringConstructor;
|
21
|
+
default: undefined;
|
22
|
+
};
|
23
|
+
duration: {
|
24
|
+
type: NumberConstructor;
|
25
|
+
default: number;
|
26
|
+
};
|
27
|
+
showClose: {
|
28
|
+
type: BooleanConstructor;
|
29
|
+
default: boolean;
|
30
|
+
};
|
31
|
+
onClose: {
|
32
|
+
type: import('vue').PropType<() => void>;
|
33
|
+
default: () => void;
|
34
|
+
};
|
35
|
+
renderToBody: {
|
36
|
+
type: BooleanConstructor;
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
}>> & Readonly<{
|
40
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
41
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
42
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "destroy")[], import('vue').PublicProps, {
|
43
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
44
|
+
title: string;
|
45
|
+
message: string;
|
46
|
+
position: import('./props').NotificationPosition;
|
47
|
+
offset: number;
|
48
|
+
showClose: boolean;
|
49
|
+
onClose: () => void;
|
50
|
+
duration: number;
|
51
|
+
renderToBody: boolean;
|
52
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
53
|
+
P: {};
|
54
|
+
B: {};
|
55
|
+
D: {};
|
56
|
+
C: {};
|
57
|
+
M: {};
|
58
|
+
Defaults: {};
|
59
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
60
|
+
position: {
|
61
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
62
|
+
default: string;
|
63
|
+
};
|
64
|
+
offset: {
|
65
|
+
type: NumberConstructor;
|
66
|
+
default: number;
|
67
|
+
};
|
68
|
+
title: {
|
69
|
+
type: StringConstructor;
|
70
|
+
default: string;
|
71
|
+
};
|
72
|
+
type: {
|
73
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
74
|
+
default: string;
|
75
|
+
};
|
76
|
+
message: {
|
77
|
+
type: StringConstructor;
|
78
|
+
default: undefined;
|
79
|
+
};
|
80
|
+
duration: {
|
81
|
+
type: NumberConstructor;
|
82
|
+
default: number;
|
83
|
+
};
|
84
|
+
showClose: {
|
85
|
+
type: BooleanConstructor;
|
86
|
+
default: boolean;
|
87
|
+
};
|
88
|
+
onClose: {
|
89
|
+
type: import('vue').PropType<() => void>;
|
90
|
+
default: () => void;
|
91
|
+
};
|
92
|
+
renderToBody: {
|
93
|
+
type: BooleanConstructor;
|
94
|
+
default: boolean;
|
95
|
+
};
|
96
|
+
}>> & Readonly<{
|
97
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
98
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
99
|
+
}>, () => any, {}, {}, {}, {
|
100
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
101
|
+
title: string;
|
102
|
+
message: string;
|
103
|
+
position: import('./props').NotificationPosition;
|
104
|
+
offset: number;
|
105
|
+
showClose: boolean;
|
106
|
+
onClose: () => void;
|
107
|
+
duration: number;
|
108
|
+
renderToBody: boolean;
|
109
|
+
}>;
|
110
|
+
__isFragment?: never;
|
111
|
+
__isTeleport?: never;
|
112
|
+
__isSuspense?: never;
|
113
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
114
|
+
position: {
|
115
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
116
|
+
default: string;
|
117
|
+
};
|
118
|
+
offset: {
|
119
|
+
type: NumberConstructor;
|
120
|
+
default: number;
|
121
|
+
};
|
122
|
+
title: {
|
123
|
+
type: StringConstructor;
|
124
|
+
default: string;
|
125
|
+
};
|
126
|
+
type: {
|
127
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
128
|
+
default: string;
|
129
|
+
};
|
130
|
+
message: {
|
131
|
+
type: StringConstructor;
|
132
|
+
default: undefined;
|
133
|
+
};
|
134
|
+
duration: {
|
135
|
+
type: NumberConstructor;
|
136
|
+
default: number;
|
137
|
+
};
|
138
|
+
showClose: {
|
139
|
+
type: BooleanConstructor;
|
140
|
+
default: boolean;
|
141
|
+
};
|
142
|
+
onClose: {
|
143
|
+
type: import('vue').PropType<() => void>;
|
144
|
+
default: () => void;
|
145
|
+
};
|
146
|
+
renderToBody: {
|
147
|
+
type: BooleanConstructor;
|
148
|
+
default: boolean;
|
149
|
+
};
|
150
|
+
}>> & Readonly<{
|
151
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
152
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
153
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "destroy")[], "close" | "destroy", {
|
154
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
155
|
+
title: string;
|
156
|
+
message: string;
|
157
|
+
position: import('./props').NotificationPosition;
|
158
|
+
offset: number;
|
159
|
+
showClose: boolean;
|
160
|
+
onClose: () => void;
|
161
|
+
duration: number;
|
162
|
+
renderToBody: boolean;
|
163
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
164
|
+
install(app: import('vue').App): void;
|
165
|
+
};
|
166
|
+
export { XNotification as default };
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export interface ThumbData {
|
2
|
+
ratio: number;
|
3
|
+
thumbSize: number;
|
4
|
+
max: number;
|
5
|
+
}
|
6
|
+
export interface ThumbMap {
|
7
|
+
size: 'width' | 'height';
|
8
|
+
direction: 'left' | 'top';
|
9
|
+
offset: 'offsetWidth' | 'offsetHeight';
|
10
|
+
client: 'clientX' | 'clientY';
|
11
|
+
}
|
12
|
+
export interface ScrollbarProps {
|
13
|
+
type: 'track' | 'embed';
|
14
|
+
outerClass: any;
|
15
|
+
outerStyle: any;
|
16
|
+
}
|
@@ -34,8 +34,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
34
34
|
default: boolean;
|
35
35
|
};
|
36
36
|
}>> & Readonly<{}>, {
|
37
|
+
size: number | "mini" | "small" | "medium" | "large";
|
37
38
|
fill: boolean;
|
38
|
-
size: number | "small" | "medium" | "large" | "mini";
|
39
39
|
direction: "horizontal" | "vertical";
|
40
40
|
align: "center" | "end" | "start" | "baseline";
|
41
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
export declare const XSpace: {
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
direction: {
|
4
|
+
type: import('vue').PropType<"horizontal" | "vertical">;
|
5
|
+
default: string;
|
6
|
+
};
|
7
|
+
size: {
|
8
|
+
type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
align: {
|
12
|
+
type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
fill: {
|
16
|
+
type: BooleanConstructor;
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
}>> & Readonly<{}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
20
|
+
size: number | "mini" | "small" | "medium" | "large";
|
21
|
+
fill: boolean;
|
22
|
+
direction: "horizontal" | "vertical";
|
23
|
+
align: "center" | "end" | "start" | "baseline";
|
24
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
25
|
+
P: {};
|
26
|
+
B: {};
|
27
|
+
D: {};
|
28
|
+
C: {};
|
29
|
+
M: {};
|
30
|
+
Defaults: {};
|
31
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
32
|
+
direction: {
|
33
|
+
type: import('vue').PropType<"horizontal" | "vertical">;
|
34
|
+
default: string;
|
35
|
+
};
|
36
|
+
size: {
|
37
|
+
type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
|
38
|
+
default: string;
|
39
|
+
};
|
40
|
+
align: {
|
41
|
+
type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
|
42
|
+
default: string;
|
43
|
+
};
|
44
|
+
fill: {
|
45
|
+
type: BooleanConstructor;
|
46
|
+
default: boolean;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, () => any, {}, {}, {}, {
|
49
|
+
size: number | "mini" | "small" | "medium" | "large";
|
50
|
+
fill: boolean;
|
51
|
+
direction: "horizontal" | "vertical";
|
52
|
+
align: "center" | "end" | "start" | "baseline";
|
53
|
+
}>;
|
54
|
+
__isFragment?: never;
|
55
|
+
__isTeleport?: never;
|
56
|
+
__isSuspense?: never;
|
57
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
58
|
+
direction: {
|
59
|
+
type: import('vue').PropType<"horizontal" | "vertical">;
|
60
|
+
default: string;
|
61
|
+
};
|
62
|
+
size: {
|
63
|
+
type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
|
64
|
+
default: string;
|
65
|
+
};
|
66
|
+
align: {
|
67
|
+
type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
|
68
|
+
default: string;
|
69
|
+
};
|
70
|
+
fill: {
|
71
|
+
type: BooleanConstructor;
|
72
|
+
default: boolean;
|
73
|
+
};
|
74
|
+
}>> & Readonly<{}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
75
|
+
size: number | "mini" | "small" | "medium" | "large";
|
76
|
+
fill: boolean;
|
77
|
+
direction: "horizontal" | "vertical";
|
78
|
+
align: "center" | "end" | "start" | "baseline";
|
79
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
80
|
+
install(app: import('vue').App): void;
|
81
|
+
};
|
82
|
+
export { XSpace as default };
|
File without changes
|