x-next 0.0.0-alpha.3 → 0.0.0-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/index.umd.js +1 -0
- package/package.json +5 -4
- package/x-next/_hooks/use-overflow.d.ts +0 -5
- package/x-next/_hooks/use-popup-manager.d.ts +0 -11
- package/x-next/_props/css.d.ts +0 -13
- package/x-next/_props/global.d.ts +0 -1
- package/x-next/_utils/config.d.ts +0 -9
- package/x-next/_utils/convert-case.d.ts +0 -3
- package/x-next/_utils/dom.d.ts +0 -10
- package/x-next/_utils/helpers.d.ts +0 -12
- package/x-next/_utils/icon.d.ts +0 -59
- package/x-next/_utils/is.d.ts +0 -22
- package/x-next/_utils/keyboard.d.ts +0 -24
- package/x-next/_utils/number.d.ts +0 -0
- package/x-next/_utils/vue-eco.d.ts +0 -28
- package/x-next/componets/button/index.vue.d.ts +0 -162
- package/x-next/componets/button/props.d.ts +0 -45
- package/x-next/componets/dialog/index.vue.d.ts +0 -221
- package/x-next/componets/dialog/props.d.ts +0 -83
- package/x-next/componets/dialog/use-props.d.ts +0 -33
- package/x-next/componets/dialog/use.d.ts +0 -3
- package/x-next/componets/dialog/warp.d.ts +0 -2
- package/x-next/componets/message/index.vue.d.ts +0 -387
- package/x-next/componets/message/props.d.ts +0 -31
- package/x-next/componets/message/warp.d.ts +0 -3
- package/x-next/componets/message-box/index.d.ts +0 -3
- package/x-next/componets/message-box/props.d.ts +0 -52
- 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/notification/props.d.ts +0 -54
- package/x-next/componets/notification/warp.d.ts +0 -3
- package/x-next/componets/space/index.d.ts +0 -42
- package/x-next/componets/tag-cloud/index.d.ts +0 -0
- package/x-next/componets/trend-chart/components/trend-chart-curve.d.ts +0 -114
- package/x-next/componets/trend-chart/components/trend-chart-grid.d.ts +0 -55
- package/x-next/componets/trend-chart/components/trend-chart-labels.d.ts +0 -22
- package/x-next/componets/trend-chart/components/trend-chart.d.ts +0 -270
- package/x-next/componets/trend-chart/helpers/genPath.d.ts +0 -8
- package/x-next/componets/trend-chart/helpers/genPoints.d.ts +0 -3
- package/x-next/componets/trend-chart/helpers/getPadding.d.ts +0 -7
- package/x-next/componets/trend-chart/helpers/validatePadding.d.ts +0 -2
- package/x-next/componets/trend-chart/index.d.ts +0 -2
- package/x-next/componets/trend-chart/props.d.ts +0 -206
- package/x-next/icons/animation/animation-loading.vue.d.ts +0 -55
- package/x-next/icons/default/check-circle-fill.vue.d.ts +0 -55
- package/x-next/icons/default/close-circle-fill.vue.d.ts +0 -55
- package/x-next/icons/default/exclamation-circle-fill.vue.d.ts +0 -55
- 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/icons/index.d.ts +0 -7
- 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
@@ -1,221 +0,0 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
-
renderTo: {
|
3
|
-
type: import('vue').PropType<string | HTMLElement>;
|
4
|
-
default: string;
|
5
|
-
};
|
6
|
-
disabled: {
|
7
|
-
type: BooleanConstructor;
|
8
|
-
default: boolean;
|
9
|
-
};
|
10
|
-
modelValue: {
|
11
|
-
type: BooleanConstructor;
|
12
|
-
default: boolean;
|
13
|
-
};
|
14
|
-
top: {
|
15
|
-
type: (StringConstructor | NumberConstructor)[];
|
16
|
-
default: string;
|
17
|
-
};
|
18
|
-
center: {
|
19
|
-
type: BooleanConstructor;
|
20
|
-
default: boolean;
|
21
|
-
};
|
22
|
-
width: {
|
23
|
-
type: (StringConstructor | NumberConstructor)[];
|
24
|
-
default: number;
|
25
|
-
};
|
26
|
-
height: {
|
27
|
-
type: (StringConstructor | NumberConstructor)[];
|
28
|
-
default: number;
|
29
|
-
};
|
30
|
-
minWidth: {
|
31
|
-
type: (StringConstructor | NumberConstructor)[];
|
32
|
-
default: number;
|
33
|
-
};
|
34
|
-
minHeight: {
|
35
|
-
type: (StringConstructor | NumberConstructor)[];
|
36
|
-
default: number;
|
37
|
-
};
|
38
|
-
title: {
|
39
|
-
type: StringConstructor;
|
40
|
-
default: string;
|
41
|
-
};
|
42
|
-
mask: {
|
43
|
-
type: BooleanConstructor;
|
44
|
-
default: boolean;
|
45
|
-
};
|
46
|
-
destroyOnClosed: {
|
47
|
-
type: BooleanConstructor;
|
48
|
-
default: boolean;
|
49
|
-
};
|
50
|
-
onBeforeCancel: {
|
51
|
-
type: FunctionConstructor;
|
52
|
-
};
|
53
|
-
maskToClose: {
|
54
|
-
type: BooleanConstructor;
|
55
|
-
default: boolean;
|
56
|
-
};
|
57
|
-
escToClose: {
|
58
|
-
type: BooleanConstructor;
|
59
|
-
default: boolean;
|
60
|
-
};
|
61
|
-
fullscreen: {
|
62
|
-
type: BooleanConstructor;
|
63
|
-
default: boolean;
|
64
|
-
};
|
65
|
-
messageBox: {
|
66
|
-
type: BooleanConstructor;
|
67
|
-
default: boolean;
|
68
|
-
};
|
69
|
-
popupClass: {
|
70
|
-
type: StringConstructor;
|
71
|
-
default: undefined;
|
72
|
-
};
|
73
|
-
showClose: {
|
74
|
-
type: BooleanConstructor;
|
75
|
-
default: boolean;
|
76
|
-
};
|
77
|
-
showHeaderBottomLine: {
|
78
|
-
type: BooleanConstructor;
|
79
|
-
default: boolean;
|
80
|
-
};
|
81
|
-
}>, {
|
82
|
-
cls: import('vue').ComputedRef<(string | false | undefined)[]>;
|
83
|
-
ns: string;
|
84
|
-
cn: {
|
85
|
-
block: string;
|
86
|
-
element: (className: string) => string;
|
87
|
-
modifier: (className: string) => string;
|
88
|
-
is: (className: string) => string;
|
89
|
-
};
|
90
|
-
cnOMB: {
|
91
|
-
block: string;
|
92
|
-
element: (className: string) => string;
|
93
|
-
modifier: (className: string) => string;
|
94
|
-
is: (className: string) => string;
|
95
|
-
};
|
96
|
-
messageBoxNs: string;
|
97
|
-
containerStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
98
|
-
dialogStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
99
|
-
dialogRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
100
|
-
teleportContainer: import('vue').ComputedRef<HTMLElement | undefined>;
|
101
|
-
teleportDisabled: import('vue').ComputedRef<boolean>;
|
102
|
-
modelVisible: import('vue').ComputedRef<boolean>;
|
103
|
-
mergeVisible: import('vue').ComputedRef<boolean>;
|
104
|
-
interceptClose: (action: "cancel" | "ok", e?: Event) => void;
|
105
|
-
afterLeave: () => void;
|
106
|
-
afterEnter: () => void;
|
107
|
-
handleMaskClick: () => void;
|
108
|
-
handleCancel: (e: Event) => void;
|
109
|
-
handleOk: (e: Event) => void;
|
110
|
-
loadingObj: {
|
111
|
-
ok: boolean;
|
112
|
-
cancel: boolean;
|
113
|
-
};
|
114
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "open" | "closed" | "opened" | "update:modelValue")[], "close" | "open" | "closed" | "opened" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
115
|
-
renderTo: {
|
116
|
-
type: import('vue').PropType<string | HTMLElement>;
|
117
|
-
default: string;
|
118
|
-
};
|
119
|
-
disabled: {
|
120
|
-
type: BooleanConstructor;
|
121
|
-
default: boolean;
|
122
|
-
};
|
123
|
-
modelValue: {
|
124
|
-
type: BooleanConstructor;
|
125
|
-
default: boolean;
|
126
|
-
};
|
127
|
-
top: {
|
128
|
-
type: (StringConstructor | NumberConstructor)[];
|
129
|
-
default: string;
|
130
|
-
};
|
131
|
-
center: {
|
132
|
-
type: BooleanConstructor;
|
133
|
-
default: boolean;
|
134
|
-
};
|
135
|
-
width: {
|
136
|
-
type: (StringConstructor | NumberConstructor)[];
|
137
|
-
default: number;
|
138
|
-
};
|
139
|
-
height: {
|
140
|
-
type: (StringConstructor | NumberConstructor)[];
|
141
|
-
default: number;
|
142
|
-
};
|
143
|
-
minWidth: {
|
144
|
-
type: (StringConstructor | NumberConstructor)[];
|
145
|
-
default: number;
|
146
|
-
};
|
147
|
-
minHeight: {
|
148
|
-
type: (StringConstructor | NumberConstructor)[];
|
149
|
-
default: number;
|
150
|
-
};
|
151
|
-
title: {
|
152
|
-
type: StringConstructor;
|
153
|
-
default: string;
|
154
|
-
};
|
155
|
-
mask: {
|
156
|
-
type: BooleanConstructor;
|
157
|
-
default: boolean;
|
158
|
-
};
|
159
|
-
destroyOnClosed: {
|
160
|
-
type: BooleanConstructor;
|
161
|
-
default: boolean;
|
162
|
-
};
|
163
|
-
onBeforeCancel: {
|
164
|
-
type: FunctionConstructor;
|
165
|
-
};
|
166
|
-
maskToClose: {
|
167
|
-
type: BooleanConstructor;
|
168
|
-
default: boolean;
|
169
|
-
};
|
170
|
-
escToClose: {
|
171
|
-
type: BooleanConstructor;
|
172
|
-
default: boolean;
|
173
|
-
};
|
174
|
-
fullscreen: {
|
175
|
-
type: BooleanConstructor;
|
176
|
-
default: boolean;
|
177
|
-
};
|
178
|
-
messageBox: {
|
179
|
-
type: BooleanConstructor;
|
180
|
-
default: boolean;
|
181
|
-
};
|
182
|
-
popupClass: {
|
183
|
-
type: StringConstructor;
|
184
|
-
default: undefined;
|
185
|
-
};
|
186
|
-
showClose: {
|
187
|
-
type: BooleanConstructor;
|
188
|
-
default: boolean;
|
189
|
-
};
|
190
|
-
showHeaderBottomLine: {
|
191
|
-
type: BooleanConstructor;
|
192
|
-
default: boolean;
|
193
|
-
};
|
194
|
-
}>> & Readonly<{
|
195
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
196
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
197
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
198
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
199
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
200
|
-
}>, {
|
201
|
-
height: string | number;
|
202
|
-
minHeight: string | number;
|
203
|
-
minWidth: string | number;
|
204
|
-
top: string | number;
|
205
|
-
width: string | number;
|
206
|
-
mask: boolean;
|
207
|
-
title: string;
|
208
|
-
center: boolean;
|
209
|
-
disabled: boolean;
|
210
|
-
renderTo: string | HTMLElement;
|
211
|
-
modelValue: boolean;
|
212
|
-
destroyOnClosed: boolean;
|
213
|
-
maskToClose: boolean;
|
214
|
-
escToClose: boolean;
|
215
|
-
fullscreen: boolean;
|
216
|
-
messageBox: boolean;
|
217
|
-
popupClass: string;
|
218
|
-
showClose: boolean;
|
219
|
-
showHeaderBottomLine: boolean;
|
220
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
221
|
-
export default _default;
|
@@ -1,83 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
2
|
-
export declare const dialogProps: {
|
3
|
-
renderTo: {
|
4
|
-
type: import('vue').PropType<string | HTMLElement>;
|
5
|
-
default: string;
|
6
|
-
};
|
7
|
-
disabled: {
|
8
|
-
type: BooleanConstructor;
|
9
|
-
default: boolean;
|
10
|
-
};
|
11
|
-
modelValue: {
|
12
|
-
type: BooleanConstructor;
|
13
|
-
default: boolean;
|
14
|
-
};
|
15
|
-
top: {
|
16
|
-
type: (StringConstructor | NumberConstructor)[];
|
17
|
-
default: string;
|
18
|
-
};
|
19
|
-
center: {
|
20
|
-
type: BooleanConstructor;
|
21
|
-
default: boolean;
|
22
|
-
};
|
23
|
-
width: {
|
24
|
-
type: (StringConstructor | NumberConstructor)[];
|
25
|
-
default: number;
|
26
|
-
};
|
27
|
-
height: {
|
28
|
-
type: (StringConstructor | NumberConstructor)[];
|
29
|
-
default: number;
|
30
|
-
};
|
31
|
-
minWidth: {
|
32
|
-
type: (StringConstructor | NumberConstructor)[];
|
33
|
-
default: number;
|
34
|
-
};
|
35
|
-
minHeight: {
|
36
|
-
type: (StringConstructor | NumberConstructor)[];
|
37
|
-
default: number;
|
38
|
-
};
|
39
|
-
title: {
|
40
|
-
type: StringConstructor;
|
41
|
-
default: string;
|
42
|
-
};
|
43
|
-
mask: {
|
44
|
-
type: BooleanConstructor;
|
45
|
-
default: boolean;
|
46
|
-
};
|
47
|
-
destroyOnClosed: {
|
48
|
-
type: BooleanConstructor;
|
49
|
-
default: boolean;
|
50
|
-
};
|
51
|
-
onBeforeCancel: {
|
52
|
-
type: FunctionConstructor;
|
53
|
-
};
|
54
|
-
maskToClose: {
|
55
|
-
type: BooleanConstructor;
|
56
|
-
default: boolean;
|
57
|
-
};
|
58
|
-
escToClose: {
|
59
|
-
type: BooleanConstructor;
|
60
|
-
default: boolean;
|
61
|
-
};
|
62
|
-
fullscreen: {
|
63
|
-
type: BooleanConstructor;
|
64
|
-
default: boolean;
|
65
|
-
};
|
66
|
-
messageBox: {
|
67
|
-
type: BooleanConstructor;
|
68
|
-
default: boolean;
|
69
|
-
};
|
70
|
-
popupClass: {
|
71
|
-
type: StringConstructor;
|
72
|
-
default: undefined;
|
73
|
-
};
|
74
|
-
showClose: {
|
75
|
-
type: BooleanConstructor;
|
76
|
-
default: boolean;
|
77
|
-
};
|
78
|
-
showHeaderBottomLine: {
|
79
|
-
type: BooleanConstructor;
|
80
|
-
default: boolean;
|
81
|
-
};
|
82
|
-
};
|
83
|
-
export type DialogProps = ExtractPropTypes<typeof dialogProps>;
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { RenderFunction, VNode } from 'vue';
|
2
|
-
export type DialogBeforeAction = () => boolean | Promise<boolean>;
|
3
|
-
export type DialogContent = string | number | VNode | RenderFunction;
|
4
|
-
export interface DialogOptions {
|
5
|
-
title?: DialogContent;
|
6
|
-
content?: DialogContent;
|
7
|
-
footer?: boolean | ((scoped: DialogFooterScoped) => VNode);
|
8
|
-
okText?: string;
|
9
|
-
cancelText?: string;
|
10
|
-
mask?: boolean;
|
11
|
-
maskToClose?: boolean;
|
12
|
-
onOk?: (e: Event) => void;
|
13
|
-
beforeOnOk?: DialogBeforeAction;
|
14
|
-
onCancel?: (e: Event) => void;
|
15
|
-
beforeOnCancel?: DialogBeforeAction;
|
16
|
-
width?: number | string;
|
17
|
-
height?: number | string;
|
18
|
-
top?: number | string;
|
19
|
-
center?: boolean;
|
20
|
-
renderTo?: string | HTMLElement;
|
21
|
-
hideCancel?: boolean;
|
22
|
-
hideOk?: boolean;
|
23
|
-
popupClass?: string;
|
24
|
-
}
|
25
|
-
export type DialogFooterAction = 'cancel' | 'ok';
|
26
|
-
export interface DialogFooterScoped {
|
27
|
-
cancel(): void;
|
28
|
-
ok(): void;
|
29
|
-
loadingObj?: {
|
30
|
-
ok: boolean;
|
31
|
-
cancel: boolean;
|
32
|
-
};
|
33
|
-
}
|