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.
Files changed (55) hide show
  1. package/README.md +1 -1
  2. package/dist/index.umd.js +1 -0
  3. package/package.json +5 -4
  4. package/x-next/_hooks/use-overflow.d.ts +0 -5
  5. package/x-next/_hooks/use-popup-manager.d.ts +0 -11
  6. package/x-next/_props/css.d.ts +0 -13
  7. package/x-next/_props/global.d.ts +0 -1
  8. package/x-next/_utils/config.d.ts +0 -9
  9. package/x-next/_utils/convert-case.d.ts +0 -3
  10. package/x-next/_utils/dom.d.ts +0 -10
  11. package/x-next/_utils/helpers.d.ts +0 -12
  12. package/x-next/_utils/icon.d.ts +0 -59
  13. package/x-next/_utils/is.d.ts +0 -22
  14. package/x-next/_utils/keyboard.d.ts +0 -24
  15. package/x-next/_utils/number.d.ts +0 -0
  16. package/x-next/_utils/vue-eco.d.ts +0 -28
  17. package/x-next/componets/button/index.vue.d.ts +0 -162
  18. package/x-next/componets/button/props.d.ts +0 -45
  19. package/x-next/componets/dialog/index.vue.d.ts +0 -221
  20. package/x-next/componets/dialog/props.d.ts +0 -83
  21. package/x-next/componets/dialog/use-props.d.ts +0 -33
  22. package/x-next/componets/dialog/use.d.ts +0 -3
  23. package/x-next/componets/dialog/warp.d.ts +0 -2
  24. package/x-next/componets/message/index.vue.d.ts +0 -387
  25. package/x-next/componets/message/props.d.ts +0 -31
  26. package/x-next/componets/message/warp.d.ts +0 -3
  27. package/x-next/componets/message-box/index.d.ts +0 -3
  28. package/x-next/componets/message-box/props.d.ts +0 -52
  29. package/x-next/componets/message-box/warp.d.ts +0 -2
  30. package/x-next/componets/notification/index.vue.d.ts +0 -160
  31. package/x-next/componets/notification/props.d.ts +0 -54
  32. package/x-next/componets/notification/warp.d.ts +0 -3
  33. package/x-next/componets/space/index.d.ts +0 -42
  34. package/x-next/componets/tag-cloud/index.d.ts +0 -0
  35. package/x-next/componets/trend-chart/components/trend-chart-curve.d.ts +0 -114
  36. package/x-next/componets/trend-chart/components/trend-chart-grid.d.ts +0 -55
  37. package/x-next/componets/trend-chart/components/trend-chart-labels.d.ts +0 -22
  38. package/x-next/componets/trend-chart/components/trend-chart.d.ts +0 -270
  39. package/x-next/componets/trend-chart/helpers/genPath.d.ts +0 -8
  40. package/x-next/componets/trend-chart/helpers/genPoints.d.ts +0 -3
  41. package/x-next/componets/trend-chart/helpers/getPadding.d.ts +0 -7
  42. package/x-next/componets/trend-chart/helpers/validatePadding.d.ts +0 -2
  43. package/x-next/componets/trend-chart/index.d.ts +0 -2
  44. package/x-next/componets/trend-chart/props.d.ts +0 -206
  45. package/x-next/icons/animation/animation-loading.vue.d.ts +0 -55
  46. package/x-next/icons/default/check-circle-fill.vue.d.ts +0 -55
  47. package/x-next/icons/default/close-circle-fill.vue.d.ts +0 -55
  48. package/x-next/icons/default/exclamation-circle-fill.vue.d.ts +0 -55
  49. package/x-next/icons/default/info-circle-fill.vue.d.ts +0 -55
  50. package/x-next/icons/default/minus-circle-fill.vue.d.ts +0 -55
  51. package/x-next/icons/index.d.ts +0 -7
  52. package/x-next/style.css +0 -1
  53. package/x-next/ui.d.ts +0 -5
  54. package/x-next/ui.js +0 -1357
  55. package/x-next/ui.umd.cjs +0 -1
@@ -1,42 +0,0 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- direction: {
4
- type: PropType<"horizontal" | "vertical">;
5
- default: string;
6
- };
7
- size: {
8
- type: PropType<number | "mini" | "small" | "medium" | "large">;
9
- default: string;
10
- };
11
- align: {
12
- type: PropType<"start" | "end" | "center" | "baseline">;
13
- default: string;
14
- };
15
- fill: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
- direction: {
21
- type: PropType<"horizontal" | "vertical">;
22
- default: string;
23
- };
24
- size: {
25
- type: PropType<number | "mini" | "small" | "medium" | "large">;
26
- default: string;
27
- };
28
- align: {
29
- type: PropType<"start" | "end" | "center" | "baseline">;
30
- default: string;
31
- };
32
- fill: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- }>> & Readonly<{}>, {
37
- fill: boolean;
38
- size: number | "small" | "medium" | "large" | "mini";
39
- direction: "horizontal" | "vertical";
40
- align: "center" | "end" | "start" | "baseline";
41
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
- export default _default;
File without changes
@@ -1,114 +0,0 @@
1
- import { VNode } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- boundary: {
4
- required: boolean;
5
- type: import('vue').PropType<import('../props').Boundary>;
6
- default: () => void;
7
- };
8
- minValue: {
9
- required: boolean;
10
- type: NumberConstructor;
11
- };
12
- maxValue: {
13
- required: boolean;
14
- type: NumberConstructor;
15
- };
16
- maxAmount: {
17
- required: boolean;
18
- type: NumberConstructor;
19
- };
20
- activeLineParams: {
21
- type: ObjectConstructor;
22
- };
23
- data: {
24
- required: boolean;
25
- type: import('vue').PropType<import('../props').PointValue[]>;
26
- default: () => never[];
27
- };
28
- className: {
29
- type: import('vue').PropType<string>;
30
- };
31
- smooth: {
32
- default: boolean;
33
- type: BooleanConstructor;
34
- };
35
- stroke: {
36
- default: boolean;
37
- type: BooleanConstructor;
38
- };
39
- fill: {
40
- default: boolean;
41
- type: BooleanConstructor;
42
- };
43
- showPoints: {
44
- default: boolean;
45
- type: BooleanConstructor;
46
- };
47
- theme: {
48
- type: import('vue').PropType<import('../props').CurveTheme>;
49
- };
50
- mainTheme: {
51
- type: import('vue').PropType<import('../props').CurveTheme>;
52
- };
53
- }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
54
- [key: string]: any;
55
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
56
- boundary: {
57
- required: boolean;
58
- type: import('vue').PropType<import('../props').Boundary>;
59
- default: () => void;
60
- };
61
- minValue: {
62
- required: boolean;
63
- type: NumberConstructor;
64
- };
65
- maxValue: {
66
- required: boolean;
67
- type: NumberConstructor;
68
- };
69
- maxAmount: {
70
- required: boolean;
71
- type: NumberConstructor;
72
- };
73
- activeLineParams: {
74
- type: ObjectConstructor;
75
- };
76
- data: {
77
- required: boolean;
78
- type: import('vue').PropType<import('../props').PointValue[]>;
79
- default: () => never[];
80
- };
81
- className: {
82
- type: import('vue').PropType<string>;
83
- };
84
- smooth: {
85
- default: boolean;
86
- type: BooleanConstructor;
87
- };
88
- stroke: {
89
- default: boolean;
90
- type: BooleanConstructor;
91
- };
92
- fill: {
93
- default: boolean;
94
- type: BooleanConstructor;
95
- };
96
- showPoints: {
97
- default: boolean;
98
- type: BooleanConstructor;
99
- };
100
- theme: {
101
- type: import('vue').PropType<import('../props').CurveTheme>;
102
- };
103
- mainTheme: {
104
- type: import('vue').PropType<import('../props').CurveTheme>;
105
- };
106
- }>> & Readonly<{}>, {
107
- fill: boolean;
108
- stroke: boolean;
109
- data: import('../props').PointValue[];
110
- smooth: boolean;
111
- boundary: import('../props').Boundary;
112
- showPoints: boolean;
113
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
114
- export default _default;
@@ -1,55 +0,0 @@
1
- import { VNode } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- boundary: {
4
- required: boolean;
5
- type: import('vue').PropType<import('../props').Boundary>;
6
- default: () => void;
7
- };
8
- verticalLines: {
9
- default: boolean;
10
- type: BooleanConstructor;
11
- };
12
- verticalLinesNumber: {
13
- default: number;
14
- type: NumberConstructor;
15
- };
16
- horizontalLines: {
17
- default: boolean;
18
- type: BooleanConstructor;
19
- };
20
- horizontalLinesNumber: {
21
- default: number;
22
- type: NumberConstructor;
23
- };
24
- }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
25
- [key: string]: any;
26
- }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
- boundary: {
28
- required: boolean;
29
- type: import('vue').PropType<import('../props').Boundary>;
30
- default: () => void;
31
- };
32
- verticalLines: {
33
- default: boolean;
34
- type: BooleanConstructor;
35
- };
36
- verticalLinesNumber: {
37
- default: number;
38
- type: NumberConstructor;
39
- };
40
- horizontalLines: {
41
- default: boolean;
42
- type: BooleanConstructor;
43
- };
44
- horizontalLinesNumber: {
45
- default: number;
46
- type: NumberConstructor;
47
- };
48
- }>> & Readonly<{}>, {
49
- boundary: import('../props').Boundary;
50
- verticalLines: boolean;
51
- verticalLinesNumber: number;
52
- horizontalLines: boolean;
53
- horizontalLinesNumber: number;
54
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
55
- export default _default;
@@ -1,22 +0,0 @@
1
- import { VNode } from 'vue';
2
- declare const _default: import('vue').DefineComponent<{
3
- boundary: import('../props').Boundary;
4
- yLabelsTextFormatter: Function;
5
- minValue?: number | undefined;
6
- maxValue?: number | undefined;
7
- xLabels?: unknown[] | undefined;
8
- yLabels?: number | undefined;
9
- }, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
- [key: string]: any;
11
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
- boundary: import('../props').Boundary;
13
- yLabelsTextFormatter: Function;
14
- minValue?: number | undefined;
15
- maxValue?: number | undefined;
16
- xLabels?: unknown[] | undefined;
17
- yLabels?: number | undefined;
18
- }> & Readonly<{}>, {
19
- boundary: import('../props').Boundary;
20
- yLabelsTextFormatter: Function;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
- export default _default;
@@ -1,270 +0,0 @@
1
- import { VNode } from 'vue';
2
- import { MouseMoveEvent, PointValue } from '../props';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- datasets: {
5
- required: boolean;
6
- type: import('vue').PropType<import('../props').DataSets>;
7
- };
8
- grid: {
9
- default: null;
10
- type: import('vue').PropType<import('../props').Grid>;
11
- };
12
- labels: {
13
- default: null;
14
- type: import('vue').PropType<import('../props').Labels>;
15
- };
16
- max: {
17
- type: NumberConstructor;
18
- };
19
- min: {
20
- type: NumberConstructor;
21
- };
22
- padding: {
23
- default: string;
24
- type: StringConstructor;
25
- validator(val: string): boolean;
26
- };
27
- interactive: {
28
- default: boolean;
29
- type: BooleanConstructor;
30
- };
31
- theme: {
32
- type: import('vue').PropType<import('../props').Theme>;
33
- default: () => {
34
- activeLineColor: string;
35
- };
36
- };
37
- }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
38
- [key: string]: any;
39
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
- 'mouse-move': (event: MouseMoveEvent) => boolean;
41
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
42
- datasets: {
43
- required: boolean;
44
- type: import('vue').PropType<import('../props').DataSets>;
45
- };
46
- grid: {
47
- default: null;
48
- type: import('vue').PropType<import('../props').Grid>;
49
- };
50
- labels: {
51
- default: null;
52
- type: import('vue').PropType<import('../props').Labels>;
53
- };
54
- max: {
55
- type: NumberConstructor;
56
- };
57
- min: {
58
- type: NumberConstructor;
59
- };
60
- padding: {
61
- default: string;
62
- type: StringConstructor;
63
- validator(val: string): boolean;
64
- };
65
- interactive: {
66
- default: boolean;
67
- type: BooleanConstructor;
68
- };
69
- theme: {
70
- type: import('vue').PropType<import('../props').Theme>;
71
- default: () => {
72
- activeLineColor: string;
73
- };
74
- };
75
- }>> & Readonly<{
76
- "onMouse-move"?: ((event: MouseMoveEvent) => any) | undefined;
77
- }>, {
78
- grid: import('../props').Grid;
79
- padding: string;
80
- theme: import('../props').Theme;
81
- labels: import('../props').Labels;
82
- interactive: boolean;
83
- }, {}, {
84
- TrendChartGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
85
- boundary: {
86
- required: boolean;
87
- type: import('vue').PropType<import('../props').Boundary>;
88
- default: () => void;
89
- };
90
- verticalLines: {
91
- default: boolean;
92
- type: BooleanConstructor;
93
- };
94
- verticalLinesNumber: {
95
- default: number;
96
- type: NumberConstructor;
97
- };
98
- horizontalLines: {
99
- default: boolean;
100
- type: BooleanConstructor;
101
- };
102
- horizontalLinesNumber: {
103
- default: number;
104
- type: NumberConstructor;
105
- };
106
- }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
107
- [key: string]: any;
108
- }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
109
- boundary: {
110
- required: boolean;
111
- type: import('vue').PropType<import('../props').Boundary>;
112
- default: () => void;
113
- };
114
- verticalLines: {
115
- default: boolean;
116
- type: BooleanConstructor;
117
- };
118
- verticalLinesNumber: {
119
- default: number;
120
- type: NumberConstructor;
121
- };
122
- horizontalLines: {
123
- default: boolean;
124
- type: BooleanConstructor;
125
- };
126
- horizontalLinesNumber: {
127
- default: number;
128
- type: NumberConstructor;
129
- };
130
- }>> & Readonly<{}>, {
131
- boundary: import('../props').Boundary;
132
- verticalLines: boolean;
133
- verticalLinesNumber: number;
134
- horizontalLines: boolean;
135
- horizontalLinesNumber: number;
136
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
137
- TrendChartLabels: import('vue').DefineComponent<{
138
- boundary: import('../props').Boundary;
139
- yLabelsTextFormatter: Function;
140
- minValue?: number | undefined;
141
- maxValue?: number | undefined;
142
- xLabels?: unknown[] | undefined;
143
- yLabels?: number | undefined;
144
- }, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
145
- [key: string]: any;
146
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
147
- boundary: import('../props').Boundary;
148
- yLabelsTextFormatter: Function;
149
- minValue?: number | undefined;
150
- maxValue?: number | undefined;
151
- xLabels?: unknown[] | undefined;
152
- yLabels?: number | undefined;
153
- }> & Readonly<{}>, {
154
- boundary: import('../props').Boundary;
155
- yLabelsTextFormatter: Function;
156
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
157
- TrendChartCurve: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
158
- boundary: {
159
- required: boolean;
160
- type: import('vue').PropType<import('../props').Boundary>;
161
- default: () => void;
162
- };
163
- minValue: {
164
- required: boolean;
165
- type: NumberConstructor;
166
- };
167
- maxValue: {
168
- required: boolean;
169
- type: NumberConstructor;
170
- };
171
- maxAmount: {
172
- required: boolean;
173
- type: NumberConstructor;
174
- };
175
- activeLineParams: {
176
- type: ObjectConstructor;
177
- };
178
- data: {
179
- required: boolean;
180
- type: import('vue').PropType<PointValue[]>;
181
- default: () => never[];
182
- };
183
- className: {
184
- type: import('vue').PropType<string>;
185
- };
186
- smooth: {
187
- default: boolean;
188
- type: BooleanConstructor;
189
- };
190
- stroke: {
191
- default: boolean;
192
- type: BooleanConstructor;
193
- };
194
- fill: {
195
- default: boolean;
196
- type: BooleanConstructor;
197
- };
198
- showPoints: {
199
- default: boolean;
200
- type: BooleanConstructor;
201
- };
202
- theme: {
203
- type: import('vue').PropType<import('../props').CurveTheme>;
204
- };
205
- mainTheme: {
206
- type: import('vue').PropType<import('../props').CurveTheme>;
207
- };
208
- }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
209
- [key: string]: any;
210
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
211
- boundary: {
212
- required: boolean;
213
- type: import('vue').PropType<import('../props').Boundary>;
214
- default: () => void;
215
- };
216
- minValue: {
217
- required: boolean;
218
- type: NumberConstructor;
219
- };
220
- maxValue: {
221
- required: boolean;
222
- type: NumberConstructor;
223
- };
224
- maxAmount: {
225
- required: boolean;
226
- type: NumberConstructor;
227
- };
228
- activeLineParams: {
229
- type: ObjectConstructor;
230
- };
231
- data: {
232
- required: boolean;
233
- type: import('vue').PropType<PointValue[]>;
234
- default: () => never[];
235
- };
236
- className: {
237
- type: import('vue').PropType<string>;
238
- };
239
- smooth: {
240
- default: boolean;
241
- type: BooleanConstructor;
242
- };
243
- stroke: {
244
- default: boolean;
245
- type: BooleanConstructor;
246
- };
247
- fill: {
248
- default: boolean;
249
- type: BooleanConstructor;
250
- };
251
- showPoints: {
252
- default: boolean;
253
- type: BooleanConstructor;
254
- };
255
- theme: {
256
- type: import('vue').PropType<import('../props').CurveTheme>;
257
- };
258
- mainTheme: {
259
- type: import('vue').PropType<import('../props').CurveTheme>;
260
- };
261
- }>> & Readonly<{}>, {
262
- fill: boolean;
263
- stroke: boolean;
264
- data: PointValue[];
265
- smooth: boolean;
266
- boundary: import('../props').Boundary;
267
- showPoints: boolean;
268
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
269
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
270
- export default _default;
@@ -1,8 +0,0 @@
1
- import { Point } from '../props';
2
- declare const _default: (points: Point[], smooth: boolean, { maxY }: {
3
- maxY: any;
4
- }) => {
5
- linePath: string;
6
- fillPath: string;
7
- };
8
- export default _default;
@@ -1,3 +0,0 @@
1
- import { Boundary, Point, PointValue } from '../props';
2
- declare const _default: (points: PointValue[], boundary: Boundary, max: number, min: number, maxAmount: number) => Point[];
3
- export default _default;
@@ -1,7 +0,0 @@
1
- import { Padding } from '../props';
2
- /**
3
- * 获取padding
4
- * @param paddingString
5
- */
6
- declare const _default: (paddingString: string) => Padding;
7
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: (padding: string) => boolean;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- import { default as TrendChart } from './components/trend-chart';
2
- export default TrendChart;