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.
Files changed (159) hide show
  1. package/AI_USAGE.md +2 -2
  2. package/CHANGELOG.md +36 -0
  3. package/dist/_utils/constant.d.ts +1 -1
  4. package/dist/_utils/palette.d.ts +6 -14
  5. package/dist/components/alert/Alert.vue.d.ts +9 -9
  6. package/dist/components/alert/index.d.ts +6 -6
  7. package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
  8. package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
  9. package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
  10. package/dist/components/date-picker/index.d.ts +1765 -1083
  11. package/dist/components/form-input-tag/index.d.ts +26 -25
  12. package/dist/components/form-input-tag/interface.d.ts +8 -0
  13. package/dist/components/link/Link.vue.d.ts +4 -4
  14. package/dist/components/link/index.d.ts +6 -6
  15. package/dist/components/message/index.d.ts +3 -3
  16. package/dist/components/message/message.vue.d.ts +1 -1
  17. package/dist/components/notification/Notification.d.ts +1 -1
  18. package/dist/components/notification/index.d.ts +3 -3
  19. package/dist/components/popconfirm/src/types.d.ts +1 -1
  20. package/dist/components/progress/Progress.vue.d.ts +3 -3
  21. package/dist/components/progress/index.d.ts +3 -3
  22. package/dist/components/tag/Tag.vue.d.ts +14 -0
  23. package/dist/components/tag/index.d.ts +9 -0
  24. package/dist/components/tag/interface.d.ts +5 -0
  25. package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
  26. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
  27. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
  28. package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
  29. package/dist/components/trend-chart/index.d.ts +223 -28
  30. package/dist/components/trend-chart/props.d.ts +63 -5
  31. package/dist/es/_styles/palette-aliases.js +182 -127
  32. package/dist/es/_utils/palette.js +49 -43
  33. package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
  34. package/dist/es/components/_components/picker/input.vue2.js +20 -20
  35. package/dist/es/components/_components/select-view/select-view.js +2 -2
  36. package/dist/es/components/alert/Alert.vue.js +2 -2
  37. package/dist/es/components/alert/Alert.vue2.js +21 -20
  38. package/dist/es/components/button/Button.js +17 -17
  39. package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
  40. package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
  41. package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
  42. package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
  43. package/dist/es/components/form/form-item-label.vue.js +25 -22
  44. package/dist/es/components/form/form-item-label.vue2.js +1 -1
  45. package/dist/es/components/form-checkbox/icon-check.js +12 -43
  46. package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
  47. package/dist/es/components/form-input/InputSearch.js +1 -1
  48. package/dist/es/components/form-input-number/InputNumber.js +4 -4
  49. package/dist/es/components/form-input-tag/InputTag.js +168 -147
  50. package/dist/es/components/form-input-tag/utils.js +21 -19
  51. package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
  52. package/dist/es/components/link/Link.vue2.js +1 -1
  53. package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
  54. package/dist/es/components/progress/Progress.vue2.js +1 -1
  55. package/dist/es/components/table/Table.js +1 -1
  56. package/dist/es/components/table/table-th.js +2 -2
  57. package/dist/es/components/tabs/tabs-button.js +2 -2
  58. package/dist/es/components/tabs/tabs-nav.js +1 -1
  59. package/dist/es/components/tag/Tag.vue.js +20 -20
  60. package/dist/es/components/tag/Tag.vue2.js +35 -28
  61. package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
  62. package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
  63. package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
  64. package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
  65. package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
  66. package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
  67. package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
  68. package/dist/es/components/trend-chart/props.js +101 -33
  69. package/dist/es/components/trend-chart/themes.js +15 -15
  70. package/dist/es/components/watermark/controller.js +40 -40
  71. package/dist/es/icons/default/calendar.js +15 -0
  72. package/dist/es/icons/default/clock-circle.js +15 -0
  73. package/dist/es/icons/default/double-left.js +15 -0
  74. package/dist/es/icons/default/double-right.js +15 -0
  75. package/dist/es/icons/default/down.js +16 -0
  76. package/dist/es/icons/default/eye-invisible.js +20 -0
  77. package/dist/es/icons/default/eye.js +18 -0
  78. package/dist/es/icons/default/left.js +15 -0
  79. package/dist/es/icons/default/minus.js +16 -0
  80. package/dist/es/icons/default/plus.js +16 -0
  81. package/dist/es/icons/default/question-circle.js +18 -0
  82. package/dist/es/icons/default/right.js +15 -0
  83. package/dist/es/icons/default/search.js +16 -0
  84. package/dist/es/icons/default/up.js +16 -0
  85. package/dist/es/icons/icon.js +26 -25
  86. package/dist/es/icons/public/boxicons/basic.js +1893 -0
  87. package/dist/es/icons/public/boxicons/brands.js +304 -0
  88. package/dist/es/icons/public/boxicons/filled.js +1893 -0
  89. package/dist/es/icons/public/boxicons/index.js +24 -0
  90. package/dist/es/icons/public/boxicons/names.js +4082 -0
  91. package/dist/es/icons/registry.js +15 -15
  92. package/dist/es/style.css +1 -1
  93. package/dist/icons/default/calendar.d.ts +93 -0
  94. package/dist/icons/default/clock-circle.d.ts +93 -0
  95. package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
  96. package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
  97. package/dist/icons/default/down.d.ts +93 -0
  98. package/dist/icons/default/eye-invisible.d.ts +93 -0
  99. package/dist/icons/default/eye.d.ts +93 -0
  100. package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
  101. package/dist/icons/default/minus.d.ts +93 -0
  102. package/dist/icons/{_self → default}/plus.d.ts +7 -0
  103. package/dist/icons/default/question-circle.d.ts +93 -0
  104. package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
  105. package/dist/icons/{_self → default}/search.d.ts +7 -0
  106. package/dist/icons/{_self → default}/up.d.ts +7 -0
  107. package/dist/icons/public/boxicons/basic.cjs +1 -0
  108. package/dist/icons/public/boxicons/basic.d.ts +2 -0
  109. package/dist/icons/public/boxicons/brands.cjs +1 -0
  110. package/dist/icons/public/boxicons/brands.d.ts +2 -0
  111. package/dist/icons/public/boxicons/filled.cjs +1 -0
  112. package/dist/icons/public/boxicons/filled.d.ts +2 -0
  113. package/dist/icons/public/boxicons/index.cjs +1 -0
  114. package/dist/icons/public/boxicons/index.d.ts +10 -0
  115. package/dist/icons/public/boxicons/names.d.ts +10 -0
  116. package/dist/icons/registry.d.ts +5 -0
  117. package/dist/index.cjs +4 -4
  118. package/dist/index.umd.js +4 -4
  119. package/dist/style/alert.css +1 -1
  120. package/dist/style/base.css +1 -1
  121. package/dist/style/button.css +1 -1
  122. package/dist/style/date-picker.css +1 -1
  123. package/dist/style/dialog.css +1 -1
  124. package/dist/style/drawer.css +1 -1
  125. package/dist/style/dropdown.css +1 -1
  126. package/dist/style/form-input-number.css +1 -1
  127. package/dist/style/form-input-tag.css +1 -1
  128. package/dist/style/form-input.css +1 -1
  129. package/dist/style/form-radio.css +1 -1
  130. package/dist/style/form-select.css +1 -1
  131. package/dist/style/form-textarea.css +1 -1
  132. package/dist/style/form.css +1 -1
  133. package/dist/style/link.css +1 -1
  134. package/dist/style/menu.css +1 -1
  135. package/dist/style/message-box.css +1 -1
  136. package/dist/style/network.css +1 -1
  137. package/dist/style/popconfirm.css +1 -1
  138. package/dist/style/popover.css +1 -1
  139. package/dist/style/popup.css +1 -1
  140. package/dist/style/progress.css +1 -1
  141. package/dist/style/rate.css +1 -1
  142. package/dist/style/spin.css +1 -1
  143. package/dist/style/steps.css +1 -1
  144. package/dist/style/table.css +1 -1
  145. package/dist/style/tag.css +1 -1
  146. package/dist/style/time-picker.css +1 -1
  147. package/dist/style/time-range-selector.css +1 -1
  148. package/dist/style.css +1 -1
  149. package/package.json +30 -4
  150. package/dist/es/icons/_self/down.js +0 -16
  151. package/dist/es/icons/_self/eye-invisible.js +0 -13
  152. package/dist/es/icons/_self/eye.js +0 -13
  153. package/dist/es/icons/_self/minus.js +0 -13
  154. package/dist/es/icons/_self/plus.js +0 -12
  155. package/dist/es/icons/_self/question-message.js +0 -12
  156. package/dist/es/icons/_self/search.js +0 -13
  157. package/dist/es/icons/_self/up.js +0 -16
  158. package/dist/es/icons/_ui/calendar.js +0 -13
  159. package/dist/es/icons/_ui/time.js +0 -12
@@ -1,4 +1,4 @@
1
- import { MouseMoveEvent, CurveTheme, Theme } from '../props';
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: StringConstructor;
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: MouseMoveEvent) => boolean;
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: StringConstructor;
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: MouseMoveEvent) => any) | undefined;
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
- theme: {
210
- type: import('vue').PropType<CurveTheme>;
307
+ tooltipFormatter: {
308
+ default: (value: number) => string;
309
+ type: import('vue').PropType<(value: number) => string>;
211
310
  };
212
- mainTheme: {
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
- theme: {
263
- type: import('vue').PropType<CurveTheme>;
369
+ tooltipFormatter: {
370
+ default: (value: number) => string;
371
+ type: import('vue').PropType<(value: number) => string>;
264
372
  };
265
- mainTheme: {
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: boolean;
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
- theme: {
49
- type: import('vue').PropType<import('../props').CurveTheme>;
56
+ tooltipFormatter: {
57
+ default: (value: number) => string;
58
+ type: import('vue').PropType<(value: number) => string>;
50
59
  };
51
- mainTheme: {
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
- theme: {
102
- type: import('vue').PropType<import('../props').CurveTheme>;
118
+ tooltipFormatter: {
119
+ default: (value: number) => string;
120
+ type: import('vue').PropType<(value: number) => string>;
103
121
  };
104
- mainTheme: {
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: boolean;
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
- * @param paddingString
4
+ *
5
+ * 支持 CSS 简写风格的 1-4 个值字符串(如 '5 10'),也支持单个非负数字。
5
6
  */
6
- declare const _default: (paddingString: string) => Padding;
7
+ declare const _default: (padding: string | number) => Padding;
7
8
  export default _default;