Skip to content

Releases: view-design/ViewUI

v4.7.0 Kena: Bridge of Spirits

19 Nov 02:03
Compare
Choose a tag to compare

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

v4.6.1

13 Jun 02:16
Compare
Choose a tag to compare
  • In version 4.6.0, when Button sets to and target: _blank, the problem that links are opened twice is fixed.

  • 修复 4.6.0 版本下,Button 设置 String 格式的 totarget: _blank 时,打开两次链接的问题。

v4.6.0 It Takes Two

11 Jun 02:21
Compare
Choose a tag to compare
  • Modal add new property 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.
  • Modal add new property reset-drag-position. After opening, when Modal is opened again, the drag position will be reset.
  • Modal property mask is no longer mandatory to be set to false in draggable mode.
  • Drawer's property 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.
  • AutoComplete add new property capture.
  • Dropdown, Select, DatePicker, TimePicker, Cascader, ColorPicker, Tooltip, Poptip, Page, AutoComplete add new property events-enabled, after enabling it, Popper's eventsEnabled property will be turned on, but some performance may be lost.
  • Fix the problem of invalid CSS class names when the Row component is in version 4.5.0.
  • Fixed the issue that the DatePicker component is in the daterange mode and the start date is the 31st, when the previous month panel is switched, the panel month does not change. #418
  • Fix the problem of errors in the multi-select and searchable state when the Select component uses label-in-value.
  • Fix the problem that when Button and other components set both target: _blank and Object type to property, the jump function is invalid.
  • Fix the problem that the scroll bar sometimes jitters when transfer is turned on for a component with a Dropdown component. #911
  • Fix Divider misalignment in Chrome 91 version. #913
  • Adjust the position where the Table cell click event @on-cell-click is triggered.

  • Modal 新增属性 stickysticky-distance,开启后,在拖拽时,将不会拖出屏幕边缘,并在极限距离时,自动吸附。
  • Modal 新增属性 reset-drag-position,开启后,Modal 再次打开时,将重置拖拽的位置。
  • Modal 的属性 maskdraggable 模式下,不再强制设置为 false。
  • Drawer 的属性 placement 新增值 topbottom,支持顶部和底部方向。同时增加属性 height。顶部、底部暂不支持拖拽。
  • AutoComplete 新增属性 capture
  • Dropdown、Select、DatePicker、TimePicker、Cascader、ColorPicker、Tooltip、Poptip、Page、AutoComplete 新增属性 events-enabled,开启后则会开启 Popper 的 eventsEnabled 属性,但可能会牺牲一定的性能。
  • 修复 Row 组件在 4.5.0 版本时,有时产生无效 CSS 类名的问题。
  • 修复 DatePicker 组件在 daterange 模式下,起始日期为31日时,切换上月面板,面板月份没有变化的问题。 #418
  • 修复 Select 组件使用 label-in-value 时,在多选、可搜索状态下出错的问题。
  • 修复 Button 等组件同时设置 target: _blank 和 Object 类型的 to 属性时,跳转功能失效的问题。
  • 修复带有下拉框的组件开启 transfer 时,有时滚动条抖动的问题。 #911
  • 修复 Divider 在 Chrome 91 版本错位的问题。 #913
  • 调整 Table 点击单元格事件 @on-cell-click 触发的位置。

v4.5.0 Carto

02 Feb 03:21
Compare
Choose a tag to compare
  • Row is forced to use flex layout, add new property wrap, and Col add new property flex, which supports Flex filling.
  • InputNumber add new property controls-outside. When it is turned on, the button position will be placed on both sides of the input box.
  • Table add new property tooltip-max-width, column add new property tooltipTheme and tooltipMaxWidth. When opening the tooltip, the column configuration is preferred.
  • A new property border for Input can be set to not display the border.
  • Input method focus supports parameter passing, you can specify the cursor position as the start, end or select all text.
  • Divider adds a new property plain, and the title is displayed in normal text style when it is turned on.
  • RadioGroup has added a new property button-style, which can be set as the bottom button style.
  • Optimize the memory problem of Select component and popper. #589 #590 #592 6ee13b1
  • Fix the problem that when Select uses grouping and search is turned on, the option display is incomplete. #757
  • Fix the problem that the tooltip is always displayed in this column when the tooltip is turned on in the Table column. Now only the omitted content will display the tooltip.
  • Fix the problem that the color input box cannot be activated when ColorPicker is used with Select and other components.
  • Fixed the problem of stacking errors when using Modal in draggable mode. #763
  • Fixed an issue that sometimes caused the page to crash when the Avatar was zoomed on the page. #807
  • Fix the problem that Page sometimes appears as garbled characters.
  • Fix the problem that the eye icon is opposite when the password property is turned on for Input.

  • Row 强制使用 flex 布局,新增属性 wrap,Col 新增属性 flex,支持 Flex 填充。
  • InputNumber 新增属性 controls-outside,开启后,按钮位置会置于输入框两侧。
  • Table 新增属性 tooltip-max-width 属性,column 新增 tooltipThemetooltipMaxWidth 属性。开启 tooltip 时,优先使用 column 的配置。
  • Input 新增属性 border,可以设置为不显示边框。
  • Input 聚焦方法 focus 支持传参,可以指定光标位置为开始、结束或全选文本。
  • Divider 新增属性 plain,开启则标题显示为普通文字样式。
  • RadioGroup 新增属性 button-style,可以设置为填底的按钮样式。
  • 优化 Select 组件、popper 的内存问题。#589 #590 #592 6ee13b1
  • 修复 Select 使用分组,且开启搜索时,选项显示不完整的问题。#757
  • 修复 Table 列开启 tooltip,该列总是显示 tooltip 的问题,现在只有被省略的内容才显示 tooltip。
  • 修复 ColorPicker 在和 Select 等组件共同使用时,颜色输入框无法激活的问题。
  • 修复 Modal 在可拖拽模式下,嵌套使用时层叠出错的问题。#763
  • 修复 Avatar 在页面缩放时,有时导致页面崩溃的问题。#807
  • 修复 Page 有时显示为乱码的问题。
  • 修复 Input 开启 password 属性时,眼睛图标相反的问题。

v4.4.0 Cro-Mag

16 Oct 01:13
Compare
Choose a tag to compare
  • AutoComplete、DatePicker、TimePicker、Cascader、ColorPicker、Tooltip、Poptip 新增属性 transfer-class-name
  • Select 新增属性 default-label 和事件 @on-set-default-options,用于远程搜索时设置初始值的 label。
  • Table 新增属性 update-show-children#675
  • Tree 新增属性 select-nodeexpand-node,可以控制点击节点效果为单选或展开/收起子节点。
  • Upload 新增属性 webkitdirectory,支持选择文件夹。 #619
  • Modal、$Modal、Drawer、$Spin 新增属性 lock-scroll,设置为 false 时,不会改变浏览器滚动条。
  • Scroll 新增属性 stop-slide,开启可防止短时间加载数据时的抖动。 #701
  • 优化 Table、Tree、Tabs 右键菜单,展开新菜单时,会自动关闭上一次展开的菜单。
  • 修复 Table 动态设置 draggable 属性时的问题。 #603
  • 修复 Table 表头分组时,点击表头有时报错的问题。 #616
  • 修复 Dropdown 在 trigger: click 模式下,嵌套使用的问题。 #661
  • 修复 DatePicker 设置 capture 为 false 时选择年月自动关闭的问题。 #593
  • 修复 Input 同时使用 show-word-limit 和 disabled 属性时,样式错误的问题。 #685
  • 修复 Table、Tree、Tabs 没有引用 Dropdown、DropdownMenu 组件的问题。 #674

  • AutoComplete, DatePicker, TimePicker, Cascader, ColorPicker, Tooltip, Poptip add new property transfer-class-name.
  • Select add new property default-label and event @on-set-default-options, used to set the initial label during remote search.
  • Table add new property update-show-children. #675
  • Tree add new properties select-node and expand-node, which can control the effect of clicking on a node as single selection or expand/collapse child nodes.
  • Upload add new property webkitdirectory, support selecting folders. #619
  • Modal, $Modal, Drawer, $Spin add new property lock-scroll, when set to false, the browser scroll bar will not be changed.
  • Scroll adds a new property stop-slide, which can prevent jitter when loading data in a short time. #701
  • Optimize the right-click menus of Table, Tree, and Tabs. When a new menu is expanded, the last expanded menu will be automatically closed.
  • Fix the problem when Table dynamically sets the draggable property. #603
  • Fix the problem of sometimes reporting errors when clicking on the table header when the Table header is grouped. #616
  • Fix the problem of nested use of Dropdown in trigger: click mode. #661
  • Fix the problem that DatePicker is automatically closed when selecting the year and month when the capture is set to false. #593
  • Fix the problem that the Input style is wrong when the show-word-limit and disabled properties are used at the same time. #685
  • Fix the problem that Table, Tree, Tabs do not reference Dropdown, DropdownMenu components. #674

v4.3.2

13 Jul 01:38
Compare
Choose a tag to compare
  • Fix the problem when using Table asynchronous tree data in version 4.3.0. #573

  • 修复 4.3.0 版本中,使用 Table 异步树形数据时的问题。 #573

v4.3.1

03 Jul 04:27
Compare
Choose a tag to compare
  • Fix the problem that the to property of Button, Menu, Card, Cell and other components uses the router object in version 4.3.0.
  • Fix Select in multiple mode, when there is a disabled option, the tag can still be removed, and the style of the multiple default disabled item is optimized.

  • 修复 4.3.0 版本中,Button、Menu、Card、Cell 等组件的 to 属性使用 router 对象时报错的问题。
  • 修复 Select 在多选模式下,有禁用选项时,仍然能移除标签的问题,并优化多选默认禁用项的样式。

v4.3.0 Watame

03 Jul 00:44
Compare
Choose a tag to compare
  • Tree add new slot contextMenu, and supports context menu.
  • Tree node data has a new attribute 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.
  • Tree add new event @on-contextmenu.
  • Tabs add new slot contextMenu, and supports context menu.
  • TabPane add new property 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.
  • Tabs add new event @on-contextmenu.
  • Tabs add new property draggable and event @on-drag-drop, which are used to drag and adjust the order of tabs.
  • Tabs add new event @on-dblclick.
  • Table add new event @on-expand-tree.
  • Table no longer actively modify the _showChildren field, please use the @on-expand-tree event.
  • The to property of Button, Menu, Card, Cell and other components support jumping to absolute addresses.
  • Update async-validator version to support any type.
  • Fix the problem that Select can't delete search keywords correctly in low version browsers. #512
  • Fix Select to open the clearable attribute and click to clear the unsynchronized value. #446
  • Fix the problem that Select sometimes can't select options with tabs. #548
  • Fix the problem that the show-summary property of Table is turned on and the table is scrolled. #553
  • Fix the problem that FormItem does not set prop field cannot be verified. #437
  • Fix an issue where Tabs sometimes reported an error when closing the last tab. #510
  • Fix TimePicker sometimes unable to hide seconds correctly. #561
  • Fix the problem that the Input show-word-limit property is turned on and the style is wrong on the Windows platform.

  • Tree 新增 slot contextMenu,支持右键菜单。
  • Tree 的节点数据新增属性 contextmenu,开启后,该节点可以使用右键菜单功能,需配合 Tree 的 slot contextMenu 一起使用。
  • Tree 新增事件 @on-contextmenu
  • Tabs 新增 slot contextMenu,支持右键菜单。
  • TabPane 新增属性 context-menu,开启后,该页签可以使用右键菜单功能,需配合 Tabs 的 slot contextMenu 一起使用。
  • Tabs 新增事件 @on-contextmenu
  • Tabs 新增属性 draggable 和事件 @on-drag-drop,用于拖拽调整页签顺序。
  • Tabs 新增双击事件 @on-dblclick
  • Table 新增展开/收起子数据事件 @on-expand-tree
  • Table 不再主动修改 _showChildren 字段,请使用 @on-expand-tree 事件。
  • Button、Menu、Card、Cell 等组件的 to 属性,支持跳转到绝对地址。
  • 更新 async-validator 版本,支持 any 类型。
  • 修复 Select 在低版本浏览器,无法正确删除搜索关键字的问题。 #512
  • 修复 Select 开启 clearable 属性,点击清空未同步 value 的问题。 #446
  • 修复 Select 有时不能选择含制表符选项的问题。 #548
  • 修复 Table 开启 show-summary 属性,滚动表格报错的问题。 #553
  • 修复 FormItem 未设置 prop 字段无法验证的问题。 #437
  • 修复 Tabs 关闭最后一个页签有时报错的问题。 #510
  • 修复 TimePicker 有时无法正确隐藏秒的问题。 #561
  • 修复 Input 开启 show-word-limit 属性,在 Windows 平台样式出错的问题。

v4.2.0 Vikings: an Archer's Journey

13 Apr 09:25
Compare
Choose a tag to compare
  • Table add new property show-context-menu, after opening, you can right-click to pop up the menu, you need to use it with slot contextMenu.
  • Table event @on-contextmenu return a new parameter position.
  • Table column add new property 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.
  • Table add new event @on-cell-click, triggered when a cell is clicked.
  • Select add a new property filter-by-label. After opening, when searching, only search according to label.
  • Transfer add a new property reverse-operation. After opening, reverse the order of the two operation buttons.
  • Restore the Split code to fix the problem that px cannot be used.
  • Fixed some problems with Select creating new options. #404
  • Fixed the problem that Tooltip does not automatically wrap when there are long letters and numbers, and solve the problem of turning on the tooltip property in the Table column.
  • Fixed the problem that the bottom border disappears when the Table opens border property with fixed header and columns.
  • Fixed the problem that the loading of Table is turned on and the border is displayed incorrectly.
  • Fixed the issue that Input is offset by 1px when using append slot. #380
  • Added Norwegian language. #399

  • Table 新增属性 show-context-menu,开启后,可以点击右键弹出菜单,需配合 slot contextMenu 一起使用。
  • Table 事件 @on-contextmenu 新增返回参数 position,右键距离 Table 组件左上角的位置。
  • Table 列新增属性 display,使用 slot 自定义列时,列的渲染模式。可选值为 block、inline、inline-block。当使用树形数据时,建议使用 inline 或 inline-block。
  • Table 新增事件 @on-cell-click,点击单元格时触发。
  • Select 新增属性 filter-by-label,开启后,在搜索时,只按照 label 进行搜索。
  • Transfer 新增属性 reverse-operation,开启后,颠倒两个操作按钮的上下顺序。
  • 还原 Split 部分代码,以修复不能使用 px 的问题。
  • 修复 Select 创建新项目的一些问题。 #404
  • 修复 Tooltip 在长字母、数字时不自动换行的问题,同时解决 Table 列开启 tooltip 属性的问题。
  • 修复 Table 开启 border,且同时固定表头和列时,底部边框消失的问题。
  • 修复 Table 开启 loading,边框显示错误的问题。
  • 修复 Input 在使用 append slot 时,偏移 1px 的问题。 #380
  • 新增挪威语。 #399

v4.1.3

24 Feb 06:40
Compare
Choose a tag to compare
  • Revert the modification of 4.1.0 DatePicker. #303 #334
  • Fixed issue where Slider slider was not centered.
  • Fixed Tag problem that large and medium size text was not centered in color mode.
  • Fixed the problem that Tree sometimes reports errors. #307

  • 还原 4.1.0 对 DatePicker 的修改。#303 #334
  • 修复 Slider 滑块没有居中的问题。
  • 修复 Tag 在彩色模式下,大号和中号尺寸文字没有居中的问题。
  • 修复 Tree 有时报错的问题。 #307