Skip to content

Commit 8cc8299

Browse files
committed
[release]v2.9.1
1 parent 8363d73 commit 8cc8299

File tree

12 files changed

+62
-40
lines changed

12 files changed

+62
-40
lines changed

index.js

+22
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,19 @@ import TransferDom from './src/directives/transfer-dom/index.js'
131131
import TransferDomDirective from './src/directives/transfer-dom/index.js'
132132
import trim from './src/tools/string/trim'
133133
import Value2nameFilter from './src/filters/value2name.js'
134+
import VArea from './src/components/v-chart/v-area.vue'
135+
import VAxis from './src/components/v-chart/v-axis.vue'
136+
import VBar from './src/components/v-chart/v-bar.vue'
137+
import VChart from './src/components/v-chart/v-chart.vue'
138+
import VGuide from './src/components/v-chart/v-guide.vue'
134139
import Video from './src/components/video/index.vue'
135140
import ViewBox from './src/components/view-box/index.vue'
141+
import VLegend from './src/components/v-chart/v-legend.vue'
142+
import VLine from './src/components/v-chart/v-line.vue'
143+
import VPie from './src/components/v-chart/v-pie.vue'
144+
import VPoint from './src/components/v-chart/v-point.vue'
145+
import VScale from './src/components/v-chart/v-scale.vue'
146+
import VTooltip from './src/components/v-chart/v-tooltip.vue'
136147
import VuxComponentListData from './src/datas/vux_component_list.json'
137148
import WechatEmotion from './src/components/wechat-emotion/index.vue'
138149
import WechatPlugin from './src/plugins/wechat/index.js'
@@ -282,8 +293,19 @@ export {
282293
TransferDomDirective,
283294
trim,
284295
Value2nameFilter,
296+
VArea,
297+
VAxis,
298+
VBar,
299+
VChart,
300+
VGuide,
285301
Video,
286302
ViewBox,
303+
VLegend,
304+
VLine,
305+
VPie,
306+
VPoint,
307+
VScale,
308+
VTooltip,
287309
VuxComponentListData,
288310
WechatEmotion,
289311
WechatPlugin,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vux",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"main": "index.js",
55
"description": "Mobile web UI based on Vue and WeUI",
66
"keywords": [

src/components/alert/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ events:
171171
en: emits when dialog is closed
172172
zh-CN: 弹窗关闭时触发
173173
changes:
174-
next:
174+
v2.9.1:
175175
en:
176176
- '[feature] add isVisible function for AlertPlugin #2704'
177177
zh-CN:

src/components/confirm/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ methods:
152152
en: set input value when show-input is true
153153
zh-CN: 设置输入值,当 show-input 为 true 时有效
154154
changes:
155-
next:
155+
v2.9.1:
156156
en:
157157
- '[feature] add isVisible function for ConfirmPlugin #2704'
158158
zh-CN:

src/components/loading/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ slots:
6868
en: content area
6969
zh-CN: 提示文字区域
7070
changes:
71-
next:
71+
v2.9.1:
7272
en:
7373
- '[feature] add isVisible function for LoadingPlugin #2704'
7474
- '[fix] fix covered by element when using scroll plugins'

src/components/popup/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ slots:
8585
en: content body
8686
zh-CN: 弹窗主体内容
8787
changes:
88-
next:
88+
v2.9.1:
8989
en:
9090
- '[fix] fixed popup has black border on the right #2651'
9191
zh-CN:

src/components/previewer/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ methods:
128128
version: v2.5.10
129129
en: go to previous image
130130
zh-CN: 跳转到上一张
131-
next:
131+
v2.9.1:
132132
version: v2.5.10
133133
en: go to next image
134134
zh-CN: 跳转到下一张

src/components/qrcode/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ props:
3333
en: 'render type, can be `img` or `canvas`'
3434
zh-CN: '渲染类型,可以为`img`(适合需要在微信需要长按识别的场景)和`canvas`'
3535
changes:
36-
next:
36+
v2.9.1:
3737
en:
3838
- '[fix] fix missing support for Chinese works #2652'
3939
zh-CN:

src/components/tab/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ tab-item:
112112
en: emits when current tabItem is clicked
113113
zh-CN: 当前 tabItem 被点击时触发
114114
changes:
115-
next:
115+
v2.9.1:
116116
en:
117117
- '[fix] fix box-sizing issue #2621. thanks to @suncodeer'
118118
zh-CN:

src/components/toast/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ events:
9494
en: emits when toast hides
9595
zh-CN: 提示隐藏时触发
9696
changes:
97-
next:
97+
v2.9.1:
9898
en:
9999
- '[feature] add isVisible function for ToastPlugin #2704'
100100
zh-CN:

src/components/v-chart/metas.yml

+30-30
Original file line numberDiff line numberDiff line change
@@ -74,34 +74,34 @@ items:
7474
v-chart:
7575
props:
7676
prevent-render:
77-
version: next
77+
version: v2.9.1
7878
type: boolean
7979
default: false
8080
en: whether prevent rendering
8181
zh-CN: 是否自定义渲染逻辑
8282
prevent-default:
83-
version: next
83+
version: v2.9.1
8484
type: boolean
8585
default: false
8686
en: whether prevent default behavior
8787
zh-CN: 是否阻止默认行为
8888
events:
8989
on-render:
90-
version: next
90+
version: v2.9.1
9191
params: '`({ chart })`'
9292
en: fires before render
9393
zh-CN: 渲染前触发,一般用于配合 `prevent-render` 自定义渲染逻辑
9494
methods:
9595
rerender:
96-
version: next
96+
version: v2.9.1
9797
en: destroy and re-render canvas
9898
zh-CN: 清除并重新渲染
9999
repaint:
100-
version: next
100+
version: v2.9.1
101101
en: repain canvas
102102
zh-CN: 重新渲染
103103
destroy:
104-
version: next
104+
version: v2.9.1
105105
en: destroy chart
106106
zh-CN: 销毁图表,canvas dom 元素不会销毁
107107
v-point:
@@ -115,17 +115,17 @@ v-line:
115115
:::
116116
props:
117117
shape:
118-
version: next
118+
version: v2.9.1
119119
type: String
120120
en: shape type, one of `line`, `smooth`, `dash`
121121
zh-CN: 线条形状,可选值 `line`(默认), `smooth`(平滑线), `dash`(虚线)
122122
series-field:
123-
version: next
123+
version: v2.9.1
124124
type: String
125125
en: alias to color, specify color value or which field to color
126126
zh-CN: 用于绘制多组线条时的分组字段名。该属性相当于 F2 里的 `color`,出于理解和设置方便使用 `series-field`
127127
colors:
128-
version: next
128+
version: v2.9.1
129129
type: String,Array
130130
en: colors, use default colors if not specified
131131
zh-CN: 线条颜色,可以为单个颜色或者颜色列表。不指定时使用默认颜色。
@@ -136,24 +136,24 @@ v-guide:
136136
:::
137137
props:
138138
type:
139-
version: next
139+
version: v2.9.1
140140
type: String
141141
en: guide type, one of `line`, `text`, `tag`, `rect`, `html`, `arc`
142142
zh-CN: 辅助元素类型,可以为 `line`, `text`, `tag`, `rect`, `html`, `arc`
143143
options:
144-
version: next
144+
version: v2.9.1
145145
type: Object
146146
en: guide options
147147
zh-CN: 辅助元素属性对象。你也可以在 template 里将属性分开写,不需要使用该 prop,同时使用时属性会被合并。
148148
v-area:
149149
props:
150150
series-field:
151-
version: next
151+
version: v2.9.1
152152
type: String
153153
en: alias to color, specify color value or which field to color
154154
zh-CN: 用于绘制多组线条时的分组字段名。该属性相当于 F2 里的 `color`,出于理解和设置方便使用 `series-field`
155155
colors:
156-
version: next
156+
version: v2.9.1
157157
type: String,Array
158158
en: colors, use default colors if not specified
159159
zh-CN: 线条颜色,可以为单个颜色或者颜色列表。不指定时使用默认颜色。
@@ -166,19 +166,19 @@ v-tooltip:
166166
:::
167167
props:
168168
disabled:
169-
version: next
169+
version: v2.9.1
170170
type: boolean
171171
default: false
172172
en: whether disable tooltip
173173
zh-CN: '[快捷属性,非 F2 原有属性]是否禁用 tooltip, 相当于调用`chart.tooltip(false)`'
174174
show-x-value:
175-
version: next
175+
version: v2.9.1
176176
type: boolean
177177
default: false
178178
en: whether set display template to `xValue:yValue`, default `xLabel:yValue`
179179
zh-CN: '[快捷属性,非 F2 原有属性]用于单折线的情况,设定是否将 x 轴值显示在 tooltip 里,默认是 `xLabel:yValue` 的形式(value:23),启用将变成 `xValue:yValue` 的形式(2017-01-01:23),建议在 `tickCount` 无法完全显示时启用。该设置会覆盖原有 `onShow` 设置。'
180180
show-value-in-legend:
181-
version: next
181+
version: v2.9.1
182182
type: boolean
183183
default: false
184184
en: whether hide default tooltip and show value in legend
@@ -188,7 +188,7 @@ v-legend:
188188
图例。[F2 Legend](https://antv.alipay.com/zh-cn/f2/3.x/api/legend.html)。
189189
props:
190190
disabled:
191-
version: next
191+
version: v2.9.1
192192
type: boolean
193193
default: false
194194
en: whether disable tooltip
@@ -198,7 +198,7 @@ v-bar:
198198
柱状图,使用垂直的柱子显示类别之间的数值比较。
199199
props:
200200
colors:
201-
version: next
201+
version: v2.9.1
202202
type: String,Array
203203
en: colors, use default colors if not specified
204204
zh-CN: 线条颜色,可以为单个颜色或者颜色列表。不指定时使用默认颜色。
@@ -209,56 +209,56 @@ v-axis:
209209
坐标轴配置。[详细文档](https://antv.alipay.com/zh-cn/f2/3.x/api/axis.html)。
210210
props:
211211
disabled:
212-
version: next
212+
version: v2.9.1
213213
type: boolean
214214
zh-CN: 禁用当前坐标轴。
215215
x:
216-
version: next
216+
version: v2.9.1
217217
type: boolean
218218
zh-CN: '[组件属性]是否为 `x轴` 配置。'
219219
y:
220-
version: next
220+
version: v2.9.1
221221
type: boolean
222222
zh-CN: '[组件属性]是否为 `y轴` 配置。'
223223
v-scale:
224224
description: |
225225
度量 Scale,是数据空间到图形空间的转换桥梁,负责原始数据到 [0, 1] 区间数值的相互转换工作。针对不同的数据类型对应不同类型的度量。详细文档 [F2 Scale](https://antv.alipay.com/zh-cn/f2/3.x/api/scale.html)。
226226
props:
227227
field:
228-
version: next
228+
version: v2.9.1
229229
type: string
230230
zh-CN: '[组件属性]指定 `坐标轴` 字段。对于简单数据,VChart 可以判断使用哪个字段,但是如果顺序不确定或者多字段的数据,最好手动指定。'
231231
x:
232-
version: next
232+
version: v2.9.1
233233
type: boolean
234234
zh-CN: '[组件属性]是否为 `x轴` 配置。'
235235
y:
236-
version: next
236+
version: v2.9.1
237237
type: boolean
238238
zh-CN: '[组件属性]是否为 `y轴` 配置。'
239239
type:
240-
version: next
240+
version: v2.9.1
241241
type: string
242242
zh-CN: 指定不同的度量类型,支持的 type 为 `identity`、`linear`、`cat`、`timeCat`。
243243
formatter:
244-
version: next
244+
version: v2.9.1
245245
type: function
246246
zh-CN: 回调函数,用于格式化坐标轴刻度点的文本显示,会影响数据在坐标轴 axis、图例 legend、提示信息 tooltip 上的显示。
247247
range:
248-
version: next
248+
version: v2.9.1
249249
type: array
250250
default: '[0, 1]'
251251
zh-CN: 输出数据的范围,默认[0, 1],格式为 [min, max],min 和 max 均为 0 至 1 范围的数据。
252252
alias:
253-
version: next
253+
version: v2.9.1
254254
type: string
255255
zh-CN: '该数据字段的显示别名,一般用于将字段的英文名称转换成中文名(tooltip 中显示)。'
256256
tick-count:
257-
version: next
257+
version: v2.9.1
258258
type: number
259259
default: 5
260260
zh-CN: 坐标轴上刻度点的个数,设为 0 时表示全部显示。
261261
ticks:
262-
version: next
262+
version: v2.9.1
263263
type: array
264264
zh-CN: '用于指定坐标轴上刻度点的文本信息,当用户设置了 ticks 就会按照 ticks 的个数和文本来显示。如 `[ 0, 50, 100, 150, 200, 300, 500 ]`'

src/components/x-circle/metas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ changes:
5050
- '[feature] support gradient #2616 @spencer1994'
5151
zh-CN:
5252
- '[feature] 支持渐变色 #2616 @spencer1994'
53-
next:
53+
v2.9.1:
5454
en:
5555
- '[feature] support show percent anticlockwise'
5656
zh:

0 commit comments

Comments
 (0)