Skip to content

Commit

Permalink
[release]v2.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed May 11, 2018
1 parent 8363d73 commit 8cc8299
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 40 deletions.
22 changes: 22 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,19 @@ import TransferDom from './src/directives/transfer-dom/index.js'
import TransferDomDirective from './src/directives/transfer-dom/index.js'
import trim from './src/tools/string/trim'
import Value2nameFilter from './src/filters/value2name.js'
import VArea from './src/components/v-chart/v-area.vue'
import VAxis from './src/components/v-chart/v-axis.vue'
import VBar from './src/components/v-chart/v-bar.vue'
import VChart from './src/components/v-chart/v-chart.vue'
import VGuide from './src/components/v-chart/v-guide.vue'
import Video from './src/components/video/index.vue'
import ViewBox from './src/components/view-box/index.vue'
import VLegend from './src/components/v-chart/v-legend.vue'
import VLine from './src/components/v-chart/v-line.vue'
import VPie from './src/components/v-chart/v-pie.vue'
import VPoint from './src/components/v-chart/v-point.vue'
import VScale from './src/components/v-chart/v-scale.vue'
import VTooltip from './src/components/v-chart/v-tooltip.vue'
import VuxComponentListData from './src/datas/vux_component_list.json'
import WechatEmotion from './src/components/wechat-emotion/index.vue'
import WechatPlugin from './src/plugins/wechat/index.js'
Expand Down Expand Up @@ -282,8 +293,19 @@ export {
TransferDomDirective,
trim,
Value2nameFilter,
VArea,
VAxis,
VBar,
VChart,
VGuide,
Video,
ViewBox,
VLegend,
VLine,
VPie,
VPoint,
VScale,
VTooltip,
VuxComponentListData,
WechatEmotion,
WechatPlugin,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vux",
"version": "2.9.0",
"version": "2.9.1",
"main": "index.js",
"description": "Mobile web UI based on Vue and WeUI",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/alert/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ events:
en: emits when dialog is closed
zh-CN: 弹窗关闭时触发
changes:
next:
v2.9.1:
en:
- '[feature] add isVisible function for AlertPlugin #2704'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/confirm/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ methods:
en: set input value when show-input is true
zh-CN: 设置输入值,当 show-input 为 true 时有效
changes:
next:
v2.9.1:
en:
- '[feature] add isVisible function for ConfirmPlugin #2704'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/loading/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ slots:
en: content area
zh-CN: 提示文字区域
changes:
next:
v2.9.1:
en:
- '[feature] add isVisible function for LoadingPlugin #2704'
- '[fix] fix covered by element when using scroll plugins'
Expand Down
2 changes: 1 addition & 1 deletion src/components/popup/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ slots:
en: content body
zh-CN: 弹窗主体内容
changes:
next:
v2.9.1:
en:
- '[fix] fixed popup has black border on the right #2651'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/previewer/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ methods:
version: v2.5.10
en: go to previous image
zh-CN: 跳转到上一张
next:
v2.9.1:
version: v2.5.10
en: go to next image
zh-CN: 跳转到下一张
Expand Down
2 changes: 1 addition & 1 deletion src/components/qrcode/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ props:
en: 'render type, can be `img` or `canvas`'
zh-CN: '渲染类型,可以为`img`(适合需要在微信需要长按识别的场景)和`canvas`'
changes:
next:
v2.9.1:
en:
- '[fix] fix missing support for Chinese works #2652'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/tab/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ tab-item:
en: emits when current tabItem is clicked
zh-CN: 当前 tabItem 被点击时触发
changes:
next:
v2.9.1:
en:
- '[fix] fix box-sizing issue #2621. thanks to @suncodeer'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/toast/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ events:
en: emits when toast hides
zh-CN: 提示隐藏时触发
changes:
next:
v2.9.1:
en:
- '[feature] add isVisible function for ToastPlugin #2704'
zh-CN:
Expand Down
60 changes: 30 additions & 30 deletions src/components/v-chart/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,34 +74,34 @@ items:
v-chart:
props:
prevent-render:
version: next
version: v2.9.1
type: boolean
default: false
en: whether prevent rendering
zh-CN: 是否自定义渲染逻辑
prevent-default:
version: next
version: v2.9.1
type: boolean
default: false
en: whether prevent default behavior
zh-CN: 是否阻止默认行为
events:
on-render:
version: next
version: v2.9.1
params: '`({ chart })`'
en: fires before render
zh-CN: 渲染前触发,一般用于配合 `prevent-render` 自定义渲染逻辑
methods:
rerender:
version: next
version: v2.9.1
en: destroy and re-render canvas
zh-CN: 清除并重新渲染
repaint:
version: next
version: v2.9.1
en: repain canvas
zh-CN: 重新渲染
destroy:
version: next
version: v2.9.1
en: destroy chart
zh-CN: 销毁图表,canvas dom 元素不会销毁
v-point:
Expand All @@ -115,17 +115,17 @@ v-line:
:::
props:
shape:
version: next
version: v2.9.1
type: String
en: shape type, one of `line`, `smooth`, `dash`
zh-CN: 线条形状,可选值 `line`(默认), `smooth`(平滑线), `dash`(虚线)
series-field:
version: next
version: v2.9.1
type: String
en: alias to color, specify color value or which field to color
zh-CN: 用于绘制多组线条时的分组字段名。该属性相当于 F2 里的 `color`,出于理解和设置方便使用 `series-field`
colors:
version: next
version: v2.9.1
type: String,Array
en: colors, use default colors if not specified
zh-CN: 线条颜色,可以为单个颜色或者颜色列表。不指定时使用默认颜色。
Expand All @@ -136,24 +136,24 @@ v-guide:
:::
props:
type:
version: next
version: v2.9.1
type: String
en: guide type, one of `line`, `text`, `tag`, `rect`, `html`, `arc`
zh-CN: 辅助元素类型,可以为 `line`, `text`, `tag`, `rect`, `html`, `arc`
options:
version: next
version: v2.9.1
type: Object
en: guide options
zh-CN: 辅助元素属性对象。你也可以在 template 里将属性分开写,不需要使用该 prop,同时使用时属性会被合并。
v-area:
props:
series-field:
version: next
version: v2.9.1
type: String
en: alias to color, specify color value or which field to color
zh-CN: 用于绘制多组线条时的分组字段名。该属性相当于 F2 里的 `color`,出于理解和设置方便使用 `series-field`
colors:
version: next
version: v2.9.1
type: String,Array
en: colors, use default colors if not specified
zh-CN: 线条颜色,可以为单个颜色或者颜色列表。不指定时使用默认颜色。
Expand All @@ -166,19 +166,19 @@ v-tooltip:
:::
props:
disabled:
version: next
version: v2.9.1
type: boolean
default: false
en: whether disable tooltip
zh-CN: '[快捷属性,非 F2 原有属性]是否禁用 tooltip, 相当于调用`chart.tooltip(false)`'
show-x-value:
version: next
version: v2.9.1
type: boolean
default: false
en: whether set display template to `xValue:yValue`, default `xLabel:yValue`
zh-CN: '[快捷属性,非 F2 原有属性]用于单折线的情况,设定是否将 x 轴值显示在 tooltip 里,默认是 `xLabel:yValue` 的形式(value:23),启用将变成 `xValue:yValue` 的形式(2017-01-01:23),建议在 `tickCount` 无法完全显示时启用。该设置会覆盖原有 `onShow` 设置。'
show-value-in-legend:
version: next
version: v2.9.1
type: boolean
default: false
en: whether hide default tooltip and show value in legend
Expand All @@ -188,7 +188,7 @@ v-legend:
图例。[F2 Legend](https://antv.alipay.com/zh-cn/f2/3.x/api/legend.html)。
props:
disabled:
version: next
version: v2.9.1
type: boolean
default: false
en: whether disable tooltip
Expand All @@ -198,7 +198,7 @@ v-bar:
柱状图,使用垂直的柱子显示类别之间的数值比较。
props:
colors:
version: next
version: v2.9.1
type: String,Array
en: colors, use default colors if not specified
zh-CN: 线条颜色,可以为单个颜色或者颜色列表。不指定时使用默认颜色。
Expand All @@ -209,56 +209,56 @@ v-axis:
坐标轴配置。[详细文档](https://antv.alipay.com/zh-cn/f2/3.x/api/axis.html)。
props:
disabled:
version: next
version: v2.9.1
type: boolean
zh-CN: 禁用当前坐标轴。
x:
version: next
version: v2.9.1
type: boolean
zh-CN: '[组件属性]是否为 `x轴` 配置。'
y:
version: next
version: v2.9.1
type: boolean
zh-CN: '[组件属性]是否为 `y轴` 配置。'
v-scale:
description: |
度量 Scale,是数据空间到图形空间的转换桥梁,负责原始数据到 [0, 1] 区间数值的相互转换工作。针对不同的数据类型对应不同类型的度量。详细文档 [F2 Scale](https://antv.alipay.com/zh-cn/f2/3.x/api/scale.html)。
props:
field:
version: next
version: v2.9.1
type: string
zh-CN: '[组件属性]指定 `坐标轴` 字段。对于简单数据,VChart 可以判断使用哪个字段,但是如果顺序不确定或者多字段的数据,最好手动指定。'
x:
version: next
version: v2.9.1
type: boolean
zh-CN: '[组件属性]是否为 `x轴` 配置。'
y:
version: next
version: v2.9.1
type: boolean
zh-CN: '[组件属性]是否为 `y轴` 配置。'
type:
version: next
version: v2.9.1
type: string
zh-CN: 指定不同的度量类型,支持的 type 为 `identity`、`linear`、`cat`、`timeCat`。
formatter:
version: next
version: v2.9.1
type: function
zh-CN: 回调函数,用于格式化坐标轴刻度点的文本显示,会影响数据在坐标轴 axis、图例 legend、提示信息 tooltip 上的显示。
range:
version: next
version: v2.9.1
type: array
default: '[0, 1]'
zh-CN: 输出数据的范围,默认[0, 1],格式为 [min, max],min 和 max 均为 0 至 1 范围的数据。
alias:
version: next
version: v2.9.1
type: string
zh-CN: '该数据字段的显示别名,一般用于将字段的英文名称转换成中文名(tooltip 中显示)。'
tick-count:
version: next
version: v2.9.1
type: number
default: 5
zh-CN: 坐标轴上刻度点的个数,设为 0 时表示全部显示。
ticks:
version: next
version: v2.9.1
type: array
zh-CN: '用于指定坐标轴上刻度点的文本信息,当用户设置了 ticks 就会按照 ticks 的个数和文本来显示。如 `[ 0, 50, 100, 150, 200, 300, 500 ]`'
2 changes: 1 addition & 1 deletion src/components/x-circle/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ changes:
- '[feature] support gradient #2616 @spencer1994'
zh-CN:
- '[feature] 支持渐变色 #2616 @spencer1994'
next:
v2.9.1:
en:
- '[feature] support show percent anticlockwise'
zh:
Expand Down

0 comments on commit 8cc8299

Please sign in to comment.