x-next 1.3.1 → 1.4.0
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/AI_USAGE.md +2 -2
- package/CHANGELOG.md +36 -0
- package/dist/_utils/constant.d.ts +1 -1
- package/dist/_utils/palette.d.ts +6 -14
- package/dist/components/alert/Alert.vue.d.ts +9 -9
- package/dist/components/alert/index.d.ts +6 -6
- package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
- package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
- package/dist/components/date-picker/index.d.ts +1765 -1083
- package/dist/components/form-input-tag/index.d.ts +26 -25
- package/dist/components/form-input-tag/interface.d.ts +8 -0
- package/dist/components/link/Link.vue.d.ts +4 -4
- package/dist/components/link/index.d.ts +6 -6
- package/dist/components/message/index.d.ts +3 -3
- package/dist/components/message/message.vue.d.ts +1 -1
- package/dist/components/notification/Notification.d.ts +1 -1
- package/dist/components/notification/index.d.ts +3 -3
- package/dist/components/popconfirm/src/types.d.ts +1 -1
- package/dist/components/progress/Progress.vue.d.ts +3 -3
- package/dist/components/progress/index.d.ts +3 -3
- package/dist/components/tag/Tag.vue.d.ts +14 -0
- package/dist/components/tag/index.d.ts +9 -0
- package/dist/components/tag/interface.d.ts +5 -0
- package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
- package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
- package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
- package/dist/components/trend-chart/index.d.ts +223 -28
- package/dist/components/trend-chart/props.d.ts +63 -5
- package/dist/es/_styles/palette-aliases.js +182 -127
- package/dist/es/_utils/palette.js +49 -43
- package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
- package/dist/es/components/_components/picker/input.vue2.js +20 -20
- package/dist/es/components/_components/select-view/select-view.js +2 -2
- package/dist/es/components/alert/Alert.vue.js +2 -2
- package/dist/es/components/alert/Alert.vue2.js +21 -20
- package/dist/es/components/button/Button.js +17 -17
- package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
- package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
- package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
- package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
- package/dist/es/components/form/form-item-label.vue.js +25 -22
- package/dist/es/components/form/form-item-label.vue2.js +1 -1
- package/dist/es/components/form-checkbox/icon-check.js +12 -43
- package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
- package/dist/es/components/form-input/InputSearch.js +1 -1
- package/dist/es/components/form-input-number/InputNumber.js +4 -4
- package/dist/es/components/form-input-tag/InputTag.js +168 -147
- package/dist/es/components/form-input-tag/utils.js +21 -19
- package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
- package/dist/es/components/link/Link.vue2.js +1 -1
- package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
- package/dist/es/components/progress/Progress.vue2.js +1 -1
- package/dist/es/components/table/Table.js +1 -1
- package/dist/es/components/table/table-th.js +2 -2
- package/dist/es/components/tabs/tabs-button.js +2 -2
- package/dist/es/components/tabs/tabs-nav.js +1 -1
- package/dist/es/components/tag/Tag.vue.js +20 -20
- package/dist/es/components/tag/Tag.vue2.js +35 -28
- package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
- package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
- package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
- package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
- package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
- package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
- package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
- package/dist/es/components/trend-chart/props.js +101 -33
- package/dist/es/components/trend-chart/themes.js +15 -15
- package/dist/es/components/watermark/controller.js +40 -40
- package/dist/es/icons/default/calendar.js +15 -0
- package/dist/es/icons/default/clock-circle.js +15 -0
- package/dist/es/icons/default/double-left.js +15 -0
- package/dist/es/icons/default/double-right.js +15 -0
- package/dist/es/icons/default/down.js +16 -0
- package/dist/es/icons/default/eye-invisible.js +20 -0
- package/dist/es/icons/default/eye.js +18 -0
- package/dist/es/icons/default/left.js +15 -0
- package/dist/es/icons/default/minus.js +16 -0
- package/dist/es/icons/default/plus.js +16 -0
- package/dist/es/icons/default/question-circle.js +18 -0
- package/dist/es/icons/default/right.js +15 -0
- package/dist/es/icons/default/search.js +16 -0
- package/dist/es/icons/default/up.js +16 -0
- package/dist/es/icons/icon.js +26 -25
- package/dist/es/icons/public/boxicons/basic.js +1893 -0
- package/dist/es/icons/public/boxicons/brands.js +304 -0
- package/dist/es/icons/public/boxicons/filled.js +1893 -0
- package/dist/es/icons/public/boxicons/index.js +24 -0
- package/dist/es/icons/public/boxicons/names.js +4082 -0
- package/dist/es/icons/registry.js +15 -15
- package/dist/es/style.css +1 -1
- package/dist/icons/default/calendar.d.ts +93 -0
- package/dist/icons/default/clock-circle.d.ts +93 -0
- package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
- package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
- package/dist/icons/default/down.d.ts +93 -0
- package/dist/icons/default/eye-invisible.d.ts +93 -0
- package/dist/icons/default/eye.d.ts +93 -0
- package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
- package/dist/icons/default/minus.d.ts +93 -0
- package/dist/icons/{_self → default}/plus.d.ts +7 -0
- package/dist/icons/default/question-circle.d.ts +93 -0
- package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
- package/dist/icons/{_self → default}/search.d.ts +7 -0
- package/dist/icons/{_self → default}/up.d.ts +7 -0
- package/dist/icons/public/boxicons/basic.cjs +1 -0
- package/dist/icons/public/boxicons/basic.d.ts +2 -0
- package/dist/icons/public/boxicons/brands.cjs +1 -0
- package/dist/icons/public/boxicons/brands.d.ts +2 -0
- package/dist/icons/public/boxicons/filled.cjs +1 -0
- package/dist/icons/public/boxicons/filled.d.ts +2 -0
- package/dist/icons/public/boxicons/index.cjs +1 -0
- package/dist/icons/public/boxicons/index.d.ts +10 -0
- package/dist/icons/public/boxicons/names.d.ts +10 -0
- package/dist/icons/registry.d.ts +5 -0
- package/dist/index.cjs +4 -4
- package/dist/index.umd.js +4 -4
- package/dist/style/alert.css +1 -1
- package/dist/style/base.css +1 -1
- package/dist/style/button.css +1 -1
- package/dist/style/date-picker.css +1 -1
- package/dist/style/dialog.css +1 -1
- package/dist/style/drawer.css +1 -1
- package/dist/style/dropdown.css +1 -1
- package/dist/style/form-input-number.css +1 -1
- package/dist/style/form-input-tag.css +1 -1
- package/dist/style/form-input.css +1 -1
- package/dist/style/form-radio.css +1 -1
- package/dist/style/form-select.css +1 -1
- package/dist/style/form-textarea.css +1 -1
- package/dist/style/form.css +1 -1
- package/dist/style/link.css +1 -1
- package/dist/style/menu.css +1 -1
- package/dist/style/message-box.css +1 -1
- package/dist/style/network.css +1 -1
- package/dist/style/popconfirm.css +1 -1
- package/dist/style/popover.css +1 -1
- package/dist/style/popup.css +1 -1
- package/dist/style/progress.css +1 -1
- package/dist/style/rate.css +1 -1
- package/dist/style/spin.css +1 -1
- package/dist/style/steps.css +1 -1
- package/dist/style/table.css +1 -1
- package/dist/style/tag.css +1 -1
- package/dist/style/time-picker.css +1 -1
- package/dist/style/time-range-selector.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +30 -4
- package/dist/es/icons/_self/down.js +0 -16
- package/dist/es/icons/_self/eye-invisible.js +0 -13
- package/dist/es/icons/_self/eye.js +0 -13
- package/dist/es/icons/_self/minus.js +0 -13
- package/dist/es/icons/_self/plus.js +0 -12
- package/dist/es/icons/_self/question-message.js +0 -12
- package/dist/es/icons/_self/search.js +0 -13
- package/dist/es/icons/_self/up.js +0 -16
- package/dist/es/icons/_ui/calendar.js +0 -13
- package/dist/es/icons/_ui/time.js +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Theme } from '../props';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
dataset: {
|
|
4
4
|
required: boolean;
|
|
@@ -9,6 +9,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
type: import('vue').PropType<import('../props').TrendChartStatus>;
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
|
+
height: {
|
|
13
|
+
type: import('vue').PropType<number | string>;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
type: import('vue').PropType<number | string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
12
20
|
grid: {
|
|
13
21
|
default: null;
|
|
14
22
|
type: import('vue').PropType<import('../props').Grid>;
|
|
@@ -25,19 +33,50 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
33
|
};
|
|
26
34
|
padding: {
|
|
27
35
|
default: string;
|
|
28
|
-
type:
|
|
29
|
-
validator(val: string): boolean;
|
|
36
|
+
type: import('vue').PropType<string | number>;
|
|
37
|
+
validator(val: string | number): boolean;
|
|
38
|
+
};
|
|
39
|
+
smooth: {
|
|
40
|
+
default: boolean;
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
stroke: {
|
|
44
|
+
default: boolean;
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
};
|
|
47
|
+
fill: {
|
|
48
|
+
default: boolean;
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
};
|
|
51
|
+
showPoints: {
|
|
52
|
+
default: string;
|
|
53
|
+
type: import('vue').PropType<import('../props').ShowPoints>;
|
|
54
|
+
validator(val: import('../props').ShowPoints): val is boolean | "auto";
|
|
30
55
|
};
|
|
31
56
|
interactive: {
|
|
32
57
|
default: boolean;
|
|
33
58
|
type: BooleanConstructor;
|
|
34
59
|
};
|
|
60
|
+
tooltip: {
|
|
61
|
+
default: boolean;
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
};
|
|
64
|
+
tooltipFormatter: {
|
|
65
|
+
default: (value: number) => string;
|
|
66
|
+
type: import('vue').PropType<(value: number) => string>;
|
|
67
|
+
};
|
|
68
|
+
ariaLabel: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
35
71
|
theme: {
|
|
36
72
|
type: import('vue').PropType<Theme>;
|
|
37
73
|
default: () => {};
|
|
38
74
|
};
|
|
39
75
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
'mouse-move': (event:
|
|
76
|
+
'mouse-move': (event: {
|
|
77
|
+
index: number;
|
|
78
|
+
data: number;
|
|
79
|
+
} | null) => boolean;
|
|
41
80
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
81
|
dataset: {
|
|
43
82
|
required: boolean;
|
|
@@ -48,6 +87,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
87
|
type: import('vue').PropType<import('../props').TrendChartStatus>;
|
|
49
88
|
default: undefined;
|
|
50
89
|
};
|
|
90
|
+
height: {
|
|
91
|
+
type: import('vue').PropType<number | string>;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
width: {
|
|
95
|
+
type: import('vue').PropType<number | string>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
51
98
|
grid: {
|
|
52
99
|
default: null;
|
|
53
100
|
type: import('vue').PropType<import('../props').Grid>;
|
|
@@ -64,26 +111,65 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
64
111
|
};
|
|
65
112
|
padding: {
|
|
66
113
|
default: string;
|
|
67
|
-
type:
|
|
68
|
-
validator(val: string): boolean;
|
|
114
|
+
type: import('vue').PropType<string | number>;
|
|
115
|
+
validator(val: string | number): boolean;
|
|
116
|
+
};
|
|
117
|
+
smooth: {
|
|
118
|
+
default: boolean;
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
};
|
|
121
|
+
stroke: {
|
|
122
|
+
default: boolean;
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
};
|
|
125
|
+
fill: {
|
|
126
|
+
default: boolean;
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
};
|
|
129
|
+
showPoints: {
|
|
130
|
+
default: string;
|
|
131
|
+
type: import('vue').PropType<import('../props').ShowPoints>;
|
|
132
|
+
validator(val: import('../props').ShowPoints): val is boolean | "auto";
|
|
69
133
|
};
|
|
70
134
|
interactive: {
|
|
71
135
|
default: boolean;
|
|
72
136
|
type: BooleanConstructor;
|
|
73
137
|
};
|
|
138
|
+
tooltip: {
|
|
139
|
+
default: boolean;
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
};
|
|
142
|
+
tooltipFormatter: {
|
|
143
|
+
default: (value: number) => string;
|
|
144
|
+
type: import('vue').PropType<(value: number) => string>;
|
|
145
|
+
};
|
|
146
|
+
ariaLabel: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
};
|
|
74
149
|
theme: {
|
|
75
150
|
type: import('vue').PropType<Theme>;
|
|
76
151
|
default: () => {};
|
|
77
152
|
};
|
|
78
153
|
}>> & Readonly<{
|
|
79
|
-
"onMouse-move"?: ((event:
|
|
154
|
+
"onMouse-move"?: ((event: {
|
|
155
|
+
index: number;
|
|
156
|
+
data: number;
|
|
157
|
+
} | null) => any) | undefined;
|
|
80
158
|
}>, {
|
|
159
|
+
fill: boolean;
|
|
81
160
|
status: import('../props').TrendChartStatus;
|
|
161
|
+
height: string | number;
|
|
162
|
+
width: string | number;
|
|
82
163
|
grid: import('../props').Grid;
|
|
83
|
-
padding: string;
|
|
164
|
+
padding: string | number;
|
|
165
|
+
stroke: boolean;
|
|
166
|
+
smooth: boolean;
|
|
167
|
+
tooltip: boolean;
|
|
84
168
|
dataset: import('../props').DataSet;
|
|
85
169
|
theme: Theme;
|
|
86
170
|
interactive: boolean;
|
|
171
|
+
showPoints: import('../props').ShowPoints;
|
|
172
|
+
tooltipFormatter: (value: number) => string;
|
|
87
173
|
labels: import('../props').Labels;
|
|
88
174
|
}, {}, {
|
|
89
175
|
TrendChartGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -142,6 +228,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
142
228
|
TrendChartLabels: import('vue').DefineComponent<{
|
|
143
229
|
boundary: import('../props').Boundary;
|
|
144
230
|
yLabelsTextFormatter: Function;
|
|
231
|
+
color?: import('../../../_props/css.ts').CSSColor | undefined;
|
|
232
|
+
fontSize?: number | undefined;
|
|
145
233
|
minValue?: number | undefined;
|
|
146
234
|
maxValue?: number | undefined;
|
|
147
235
|
xLabels?: unknown[] | undefined;
|
|
@@ -151,6 +239,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
151
239
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
152
240
|
boundary: import('../props').Boundary;
|
|
153
241
|
yLabelsTextFormatter: Function;
|
|
242
|
+
color?: import('../../../_props/css.ts').CSSColor | undefined;
|
|
243
|
+
fontSize?: number | undefined;
|
|
154
244
|
minValue?: number | undefined;
|
|
155
245
|
maxValue?: number | undefined;
|
|
156
246
|
xLabels?: unknown[] | undefined;
|
|
@@ -190,6 +280,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
190
280
|
className: {
|
|
191
281
|
type: import('vue').PropType<string>;
|
|
192
282
|
};
|
|
283
|
+
clipPath: {
|
|
284
|
+
type: StringConstructor;
|
|
285
|
+
};
|
|
193
286
|
smooth: {
|
|
194
287
|
default: boolean;
|
|
195
288
|
type: BooleanConstructor;
|
|
@@ -203,14 +296,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
203
296
|
type: BooleanConstructor;
|
|
204
297
|
};
|
|
205
298
|
showPoints: {
|
|
299
|
+
default: string;
|
|
300
|
+
type: import('vue').PropType<import('../props').ShowPoints>;
|
|
301
|
+
validator(val: import('../props').ShowPoints): val is boolean | "auto";
|
|
302
|
+
};
|
|
303
|
+
tooltip: {
|
|
206
304
|
default: boolean;
|
|
207
305
|
type: BooleanConstructor;
|
|
208
306
|
};
|
|
209
|
-
|
|
210
|
-
|
|
307
|
+
tooltipFormatter: {
|
|
308
|
+
default: (value: number) => string;
|
|
309
|
+
type: import('vue').PropType<(value: number) => string>;
|
|
211
310
|
};
|
|
212
|
-
|
|
213
|
-
type: import('vue').PropType<CurveTheme>;
|
|
311
|
+
theme: {
|
|
312
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
|
214
313
|
};
|
|
215
314
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
216
315
|
boundary: {
|
|
@@ -243,6 +342,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
243
342
|
className: {
|
|
244
343
|
type: import('vue').PropType<string>;
|
|
245
344
|
};
|
|
345
|
+
clipPath: {
|
|
346
|
+
type: StringConstructor;
|
|
347
|
+
};
|
|
246
348
|
smooth: {
|
|
247
349
|
default: boolean;
|
|
248
350
|
type: BooleanConstructor;
|
|
@@ -256,22 +358,30 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
256
358
|
type: BooleanConstructor;
|
|
257
359
|
};
|
|
258
360
|
showPoints: {
|
|
361
|
+
default: string;
|
|
362
|
+
type: import('vue').PropType<import('../props').ShowPoints>;
|
|
363
|
+
validator(val: import('../props').ShowPoints): val is boolean | "auto";
|
|
364
|
+
};
|
|
365
|
+
tooltip: {
|
|
259
366
|
default: boolean;
|
|
260
367
|
type: BooleanConstructor;
|
|
261
368
|
};
|
|
262
|
-
|
|
263
|
-
|
|
369
|
+
tooltipFormatter: {
|
|
370
|
+
default: (value: number) => string;
|
|
371
|
+
type: import('vue').PropType<(value: number) => string>;
|
|
264
372
|
};
|
|
265
|
-
|
|
266
|
-
type: import('vue').PropType<CurveTheme>;
|
|
373
|
+
theme: {
|
|
374
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
|
267
375
|
};
|
|
268
376
|
}>> & Readonly<{}>, {
|
|
269
377
|
fill: boolean;
|
|
270
378
|
data: number[];
|
|
271
379
|
stroke: boolean;
|
|
272
380
|
smooth: boolean;
|
|
381
|
+
tooltip: boolean;
|
|
273
382
|
boundary: import('../props').Boundary;
|
|
274
|
-
showPoints:
|
|
383
|
+
showPoints: import('../props').ShowPoints;
|
|
384
|
+
tooltipFormatter: (value: number) => string;
|
|
275
385
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
276
386
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
277
387
|
export default _default;
|
|
@@ -29,6 +29,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
29
29
|
className: {
|
|
30
30
|
type: import('vue').PropType<string>;
|
|
31
31
|
};
|
|
32
|
+
clipPath: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
};
|
|
32
35
|
smooth: {
|
|
33
36
|
default: boolean;
|
|
34
37
|
type: BooleanConstructor;
|
|
@@ -42,13 +45,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
45
|
type: BooleanConstructor;
|
|
43
46
|
};
|
|
44
47
|
showPoints: {
|
|
48
|
+
default: string;
|
|
49
|
+
type: import('vue').PropType<import('../props').ShowPoints>;
|
|
50
|
+
validator(val: import('../props').ShowPoints): val is boolean | "auto";
|
|
51
|
+
};
|
|
52
|
+
tooltip: {
|
|
45
53
|
default: boolean;
|
|
46
54
|
type: BooleanConstructor;
|
|
47
55
|
};
|
|
48
|
-
|
|
49
|
-
|
|
56
|
+
tooltipFormatter: {
|
|
57
|
+
default: (value: number) => string;
|
|
58
|
+
type: import('vue').PropType<(value: number) => string>;
|
|
50
59
|
};
|
|
51
|
-
|
|
60
|
+
theme: {
|
|
52
61
|
type: import('vue').PropType<import('../props').CurveTheme>;
|
|
53
62
|
};
|
|
54
63
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -82,6 +91,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
82
91
|
className: {
|
|
83
92
|
type: import('vue').PropType<string>;
|
|
84
93
|
};
|
|
94
|
+
clipPath: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
};
|
|
85
97
|
smooth: {
|
|
86
98
|
default: boolean;
|
|
87
99
|
type: BooleanConstructor;
|
|
@@ -95,13 +107,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
95
107
|
type: BooleanConstructor;
|
|
96
108
|
};
|
|
97
109
|
showPoints: {
|
|
110
|
+
default: string;
|
|
111
|
+
type: import('vue').PropType<import('../props').ShowPoints>;
|
|
112
|
+
validator(val: import('../props').ShowPoints): val is boolean | "auto";
|
|
113
|
+
};
|
|
114
|
+
tooltip: {
|
|
98
115
|
default: boolean;
|
|
99
116
|
type: BooleanConstructor;
|
|
100
117
|
};
|
|
101
|
-
|
|
102
|
-
|
|
118
|
+
tooltipFormatter: {
|
|
119
|
+
default: (value: number) => string;
|
|
120
|
+
type: import('vue').PropType<(value: number) => string>;
|
|
103
121
|
};
|
|
104
|
-
|
|
122
|
+
theme: {
|
|
105
123
|
type: import('vue').PropType<import('../props').CurveTheme>;
|
|
106
124
|
};
|
|
107
125
|
}>> & Readonly<{}>, {
|
|
@@ -109,7 +127,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
109
127
|
data: number[];
|
|
110
128
|
stroke: boolean;
|
|
111
129
|
smooth: boolean;
|
|
130
|
+
tooltip: boolean;
|
|
112
131
|
boundary: import('../props').Boundary;
|
|
113
|
-
showPoints:
|
|
132
|
+
showPoints: import('../props').ShowPoints;
|
|
133
|
+
tooltipFormatter: (value: number) => string;
|
|
114
134
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
135
|
export default _default;
|
|
@@ -2,6 +2,8 @@ import { VNode } from 'vue';
|
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
boundary: import('../props').Boundary;
|
|
4
4
|
yLabelsTextFormatter: Function;
|
|
5
|
+
color?: import('../../../_props/css').CSSColor | undefined;
|
|
6
|
+
fontSize?: number | undefined;
|
|
5
7
|
minValue?: number | undefined;
|
|
6
8
|
maxValue?: number | undefined;
|
|
7
9
|
xLabels?: unknown[] | undefined;
|
|
@@ -11,6 +13,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
13
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
14
|
boundary: import('../props').Boundary;
|
|
13
15
|
yLabelsTextFormatter: Function;
|
|
16
|
+
color?: import('../../../_props/css').CSSColor | undefined;
|
|
17
|
+
fontSize?: number | undefined;
|
|
14
18
|
minValue?: number | undefined;
|
|
15
19
|
maxValue?: number | undefined;
|
|
16
20
|
xLabels?: unknown[] | undefined;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Padding } from '../props';
|
|
2
2
|
/**
|
|
3
3
|
* 获取padding
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
|
+
* 支持 CSS 简写风格的 1-4 个值字符串(如 '5 10'),也支持单个非负数字。
|
|
5
6
|
*/
|
|
6
|
-
declare const _default: (
|
|
7
|
+
declare const _default: (padding: string | number) => Padding;
|
|
7
8
|
export default _default;
|