A high quality UI Toolkit built on Vue.js 2.0
OTHER License
Bot releases are visible (Hide)
Modal add new property before-close
.
Table add new property fixed-shadow
.
Table column add new property hideSelectAll
, which is used to disable the table header selection.
The property indexMethod
of Table column has a new parameter index
.
Page add new events @on-prev
and @on-next
.
Page property size
has a new value of default
.
Alert add new property fade
.
The value of CheckboxGroup, Cascader, Slider, ColorPicker, Rate, DatePicker, TimePicker supports null values.
Fix the problem that the total is sometimes not displayed when the max-height property is set when using show-summary in Table. #969
Fix the problem that the null value cannot be changed when the Form is reset.
Fix DatePicker after version 4.6.0, when switching the year, the problem is displayed incorrectly.
Fix the problem that the focus style is wrong when DatePicker and TimePicker are in disabled state.
Fix the problem that Modal uses the fullscreen function in draggable mode incorrectly.
Fix the problem that the clear icon is sometimes incorrectly positioned when the Input is in the clearable state.
Fix the issue that the Select cannot create an entry when the initial candidate is empty in the allow-create mode. #926
Fix the problem that Select is in clearable mode with empty options, press the keyboard arrow keys to report an error. #917
Fix the problem that Select sometimes reports errors. #944
Fix the problem that the value of Select cannot be set to null.
Fix the problem that an error is reported when the value of Switch is set to null.
Fix the problem that the value of Cascader cannot be set to null.
Fix the problem that the value of Slider cannot be set to null.
Fix the problem that the values of DatePicker and TimePicker cannot be set to null.
Fix the problem that the value of Rate cannot be set to null.
Fix the problem that the value of ColorPicker cannot be set to null.
Adjust the style in Switch focus and hover state.
Adjust the clear icon in the AutoComplete clearable state.
Sinhala language added. #920
Modal 新增属性 before-close
。
Table 新增属性 fixed-shadow
。
Table 列 column 新增属性 hideSelectAll
,用于禁用表头全选。
Table 列 column 的属性 indexMethod
新增参数 index
。
Page 新增事件 @on-prev
和 @on-next
。
Page 属性 size
新增值 default
。
Alert 新增属性 fade
。
CheckboxGroup、Cascader、Slider、ColorPicker、Rate、DatePicker、TimePicker 的 value 支持 null 值。
修复 Table 在使用 show-summary 时,设置 max-height 属性有时不显示合计的问题。#969
修复 Form 在重置时,无法改变 null 值的问题。
修复 DatePicker 在 4.6.0 版本后,切换年时,显示错误的问题。
修复 DatePicker、TimePicker 在 disabled 状态下,focus 时样式错误的问题。
修复 Modal 在 draggable 模式下,使用 fullscreen 功能样式错误的问题。
修复 Input 在 clearable 状态下,清空图标有时位置不正确的问题。
修复 Select 在 allow-create 模式下,初始候选项为空时,无法创建条目的问题。#926
修复 Select 在 clearable 模式下,候选项为空时,按键盘方向键报错的问题。#917
修复 Select 有时报错的问题。#944
修复 Select 的值无法置为 null 的问题。
修复 Switch 的值置为 null 时报错的问题。
修复 Cascader 的值无法置为 null 的问题。
修复 Slider 的值无法置为 null 的问题。
修复 DatePicker、TimePicker 的值无法置为 null 的问题。
修复 Rate 的值无法置为 null 的问题。
修复 ColorPicker 的值无法置为 null 的问题。
调整 Switch focus 且 hover 状态下的样式。
调整 AutoComplete clearable 状态的清空图标。
新增僧伽罗语。#920
Published by icarusion over 3 years ago
to
and target: _blank
, the problem that links are opened twice is fixed.to
和 target: _blank
时,打开两次链接的问题。Published by icarusion over 3 years ago
sticky
and sticky-distance
. When enabled, when dragging, it will not be dragged out of the edge of the screen, and will automatically snap to the limit distance.reset-drag-position
. After opening, when Modal is opened again, the drag position will be reset.mask
is no longer mandatory to be set to false in draggable
mode.placement
add top
and bottom
to support top and bottom directions. At the same time add the property height
. The top and bottom do not support dragging currently.capture
.events-enabled
, after enabling it, Popper's eventsEnabled property will be turned on, but some performance may be lost.daterange
mode and the start date is the 31st, when the previous month panel is switched, the panel month does not change. #418label-in-value
.target: _blank
and Object type to
property, the jump function is invalid.@on-cell-click
is triggered.sticky
和 sticky-distance
,开启后,在拖拽时,将不会拖出屏幕边缘,并在极限距离时,自动吸附。reset-drag-position
,开启后,Modal 再次打开时,将重置拖拽的位置。mask
在 draggable
模式下,不再强制设置为 false。placement
新增值 top
和 bottom
,支持顶部和底部方向。同时增加属性 height
。顶部、底部暂不支持拖拽。capture
。events-enabled
,开启后则会开启 Popper 的 eventsEnabled 属性,但可能会牺牲一定的性能。daterange
模式下,起始日期为31日时,切换上月面板,面板月份没有变化的问题。 #418label-in-value
时,在多选、可搜索状态下出错的问题。target: _blank
和 Object 类型的 to
属性时,跳转功能失效的问题。@on-cell-click
触发的位置。Published by icarusion over 3 years ago
wrap
, and Col add new property flex
, which supports Flex filling.controls-outside
. When it is turned on, the button position will be placed on both sides of the input box.tooltip-max-width
, column add new property tooltipTheme
and tooltipMaxWidth
. When opening the tooltip, the column configuration is preferred.border
for Input can be set to not display the border.focus
supports parameter passing, you can specify the cursor position as the start, end or select all text.plain
, and the title is displayed in normal text style when it is turned on.button-style
, which can be set as the bottom button style.wrap
,Col 新增属性 flex
,支持 Flex 填充。controls-outside
,开启后,按钮位置会置于输入框两侧。tooltip-max-width
属性,column 新增 tooltipTheme
和 tooltipMaxWidth
属性。开启 tooltip 时,优先使用 column 的配置。border
,可以设置为不显示边框。focus
支持传参,可以指定光标位置为开始、结束或全选文本。plain
,开启则标题显示为普通文字样式。button-style
,可以设置为填底的按钮样式。Published by icarusion about 4 years ago
transfer-class-name
。default-label
和事件 @on-set-default-options
,用于远程搜索时设置初始值的 label。update-show-children
。 #675select-node
和 expand-node
,可以控制点击节点效果为单选或展开/收起子节点。webkitdirectory
,支持选择文件夹。 #619lock-scroll
,设置为 false 时,不会改变浏览器滚动条。stop-slide
,开启可防止短时间加载数据时的抖动。 #701draggable
属性时的问题。 #603trigger: click
模式下,嵌套使用的问题。 #661transfer-class-name
.default-label
and event @on-set-default-options
, used to set the initial label during remote search.update-show-children
. #675select-node
and expand-node
, which can control the effect of clicking on a node as single selection or expand/collapse child nodes.webkitdirectory
, support selecting folders. #619lock-scroll
, when set to false, the browser scroll bar will not be changed.stop-slide
, which can prevent jitter when loading data in a short time. #701draggable
property. #603trigger: click
mode. #661Published by icarusion over 4 years ago
Published by icarusion over 4 years ago
to
property of Button, Menu, Card, Cell and other components uses the router object in version 4.3.0.Published by icarusion over 4 years ago
contextMenu
, and supports context menu.contextmenu
. After opening, the node can use the right-click menu function, which needs to be used in conjunction with the Tree’s slot contextMenu
.@on-contextmenu
.contextMenu
, and supports context menu.context-menu
. After opening, the tab can use the right-click menu function, which needs to be used together with the slot contextMenu
of Tabs.@on-contextmenu
.draggable
and event @on-drag-drop
, which are used to drag and adjust the order of tabs.@on-dblclick
.@on-expand-tree
._showChildren
field, please use the @on-expand-tree
event.to
property of Button, Menu, Card, Cell and other components support jumping to absolute addresses.async-validator
version to support any
type.clearable
attribute and click to clear the unsynchronized value. #446show-summary
property of Table is turned on and the table is scrolled. #553show-word-limit
property is turned on and the style is wrong on the Windows platform.contextMenu
,支持右键菜单。contextmenu
,开启后,该节点可以使用右键菜单功能,需配合 Tree 的 slot contextMenu
一起使用。@on-contextmenu
。contextMenu
,支持右键菜单。context-menu
,开启后,该页签可以使用右键菜单功能,需配合 Tabs 的 slot contextMenu
一起使用。@on-contextmenu
。draggable
和事件 @on-drag-drop
,用于拖拽调整页签顺序。@on-dblclick
。@on-expand-tree
。_showChildren
字段,请使用 @on-expand-tree
事件。to
属性,支持跳转到绝对地址。async-validator
版本,支持 any
类型。clearable
属性,点击清空未同步 value 的问题。 #446show-summary
属性,滚动表格报错的问题。 #553Published by icarusion over 4 years ago
show-context-menu
, after opening, you can right-click to pop up the menu, you need to use it with slot contextMenu
.@on-contextmenu
return a new parameter position
.display
, the rendering mode of the column when you use slot. The available values are block, inline, and inline-block. When using tree data, it is recommended to use inline or inline-block.@on-cell-click
, triggered when a cell is clicked.filter-by-label
. After opening, when searching, only search according to label.reverse-operation
. After opening, reverse the order of the two operation buttons.show-context-menu
,开启后,可以点击右键弹出菜单,需配合 slot contextMenu
一起使用。@on-contextmenu
新增返回参数 position
,右键距离 Table 组件左上角的位置。display
,使用 slot 自定义列时,列的渲染模式。可选值为 block、inline、inline-block。当使用树形数据时,建议使用 inline 或 inline-block。@on-cell-click
,点击单元格时触发。filter-by-label
,开启后,在搜索时,只按照 label 进行搜索。reverse-operation
,开启后,颠倒两个操作按钮的上下顺序。Published by icarusion over 4 years ago
Published by icarusion over 4 years ago
Published by icarusion almost 5 years ago
Published by icarusion almost 5 years ago
indent-size
, you can set the tree indent width.load-data
, used when the tree data is asynchronous.row-key
supports String type, which must be String when using tree data.tree
is used for tree data. When opened, the column is an expandable column._showChildren
, used for tree data, specifies whether the default child data is expanded._loading
, used for tree data, for asynchronously requesting child data.context-menu
, when enabled, right-clicking on the current line prevents the default behavior.@on-contextmenu
, triggered when the right button is clicked on the current row.@on-select
, triggered when an item is selected.@on-click
, triggered when the slide is clicked, returns the index value.use-capture
.indent-size
,可设置树形的缩进宽度。load-data
,树形数据异步时使用。row-key
支持 String 类型,使用树形数据时必须为 String。tree
,树形数据使用,开启则该列为可展开列。_showChildren
,树形数据使用,指定默认子数据是否展开。_loading
,树形数据使用,用于异步请求子数据。context-menu
,开启后,当前行点击右键会阻止默认行为。@on-contextmenu
,当前行点击右键时触发。@on-select
,选择项目时触发。@on-click
,点击幻灯片时触发,返回索引值。use-capture
。Published by icarusion almost 5 years ago
Published by icarusion about 5 years ago
Published by icarusion about 5 years ago
Global Settings:
capture
. Whether all components with dropdown have capture mode enabled, the default is true.Capture is a default behavior of the browser. If it is enabled, when the drop-down component (such as Select) is in the expanded state, clicking the external operation will not respond immediately, but will first close the drop-down menu and click again to respond to the operation.
If this feature is not required, the capture can be set to false by global configuration.
Table:
span-method
to merge rows or columns.show-summary
, which can be used to total the data in the last line. Also add the properties summary-method
and sum-text
.resizable
, which can be dragged and adjusted to adjust the width of the column.@on-column-width-resize
, triggered when dragging and adjusting column width.Form:
hide-required-mark
to enable you to hide the required tags for all form items.label-colon
. When it is opened, a colon will be added automatically after the label name.disabled
to disable all components within the Form (for Form components with a disabled property).@on-validate
, triggered by any FormItem, return the FormItem prop, check status, error message.Select:
allow-create
. When enabled, in filterable mode, you can create a new entry by typing in the input box.@on-create
to fire when a new entry will be created.tag
. After setting, when multiple selections, the label will display the tag value first.capture
.Input:
show-word-limit
. When enabled, the maxlength property can be used to show the word count.password
, when enabled, you can switch between displaying and hiding password.Slider:
marks
to show the tag content.Progress:
text-inside
, when opened, the percentage will be placed inside the progress bar.stroke-color
supports incoming arrays and displays them as gradients.Radio:
border
to support border style.Checkbox:
border
to support border style.Circle:
stroke-color
supports incoming arrays and displays them as gradients.Page:
disabled
, which enables the paging component to be disabled.Switch:
true-color
and false-color
, you can set the switch background color.before-change
, return a Promise to broke switch.Badge:
color
to set more status point colors and custom colors.count
, when setting, you can customize the corner display content (de-marking background), the value count will be invalid.text
, when setting, you can customize the content of the corner display (with the background of the corner), the value count will be invalid. You can also customize the text content in state point mode.Message:
background
, set to true, the notification will display the background color.Tabs:
AutoComplete:
Card:
to
, target
, replace
, append
to support jump links.Tag:
size
, you can set different sizes, optional values are large, medium and default.Avatar:
size
property support set value.Steps:
title
, content
, and icon
.DatePicker:
capture
.TimePicker:
capture
.ColorPicker:
capture
.Button:
Circle:
stroke-linecap
property also works for dashboard mode.Tooltip/Poptip:
Tabs:
Steps:
AutoComplete:
Steps:
全局配置:
capture 是浏览器的一种默认行为,如果开启,当可下拉的组件(例如 Select)处于展开状态时,点击外部操作不会立即响应,而是先收起下拉菜单,再次点击才会响应操作。
如果不需要该特性,可以通过全局配置,将 capture 设置为 false。
Table 表格:
span-method
,可以合并行或列。show-summary
,开启可以在尾行对数据进行合计。另外新增了属性 summary-method
和 sum-text
。resizable
,开启后可以拖拽调整列的宽度。@on-column-width-resize
,拖拽调整列宽度时触发。Form 表单:
hide-required-mark
,开启后可以隐藏所有表单项的必选标记。label-colon
,开启则 label 名称后会自动添加冒号。disabled
,是否禁用该表单内的所有组件(适用于具有 disabled 属性的表单类组件)。@on-validate
,任一表单项被校验后触发,返回表单项 prop、校验状态、错误消息。Select 选择器:
allow-create
,开启后,在 filterable 模式下,可以通过在输入框中输入内容来创建新的条目。@on-create
,在将创建新条目时触发。tag
,设置后,在多选时,标签将优先显示设置的内容。capture
。Input 输入框:
show-word-limit
,开启后,可以配合 maxlength 属性来显示字数统计。password
,开启后,可以切换显示与隐藏密码。Slider 滑块:
marks
,可以展示标记内容。Progress 进度条:
text-inside
,开启后,百分比将置于进度条内部。stroke-color
支持传入数组,显示为渐变色。Radio 单选:
border
,支持带边框的单选样式。Checkbox 多选:
border
,支持带边框的多选样式。Circle 进度环:
stroke-color
支持传入数组,显示为渐变色。Page 分页:
disabled
,开启后可以禁用分页组件。Switch 开关:
true-color
和 false-color
,可以设置开关背景颜色。before-change
,返回 Promise 可以阻止切换。Badge 徽标数:
color
,可以设置更多的状态点颜色及自定义颜色。count
,设置时,可以自定义角标显示内容(去角标背景),数值 count 将无效。text
,设置时,可以自定义角标显示内容(带角标背景),数值 count 将无效。亦可自定义状态点模式下的 text 内容。Message 全局提示:
background
,设置为 true 后,通知会显示背景色。Tabs 标签页:
AutoComplete 自动完成:
Card 卡片:
to
、target
、replace
、append
,支持跳转链接。Tag 标签:
size
,可以设置不同的尺寸,可选值为 large(大号)、medium(中号)、default(默认)Avatar 头像:
Steps 步骤条:
title
、content
和 icon
。DatePicker 日期选择器:
capture
。TimePicker 日期选择器:
capture
。ColorPicker 颜色选择器:
capture
。Button 按钮:
Circle 进度环:
stroke-linecap
属性也对 dashboard 模式生效了。Tooltip/Poptip:
Tabs 标签页:
Steps 步骤条:
AutoComplete 自动完成:
Steps 步骤条:
Published by icarusion about 5 years ago