优化图标

This commit is contained in:
xuliangzhan
2022-08-28 18:06:26 +08:00
parent dc7915827e
commit ac1749dafc
8 changed files with 66 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ A [vue](https://www.npmjs.com/package/vue) based PC form component, support add,
* [x] v1.0 Based on vue2.6+, Support for all major browsers.
* [x] v2.0 Based on vue2.6+, Support for all major browsers.
* [x] v3.0 Support modern browser and keep IE11 compatible to improve rendering performance.
* [x] v4.0 Based on vue3.0+, Only support modern browser, not IE.
* [x] v4.0 Based on vue3.2+, Only support modern browser, not IE.
## Browser Support

View File

@@ -23,7 +23,7 @@
* [x] v1.0 基于 vue2.6+,支持所有主流的浏览器,实现表格的一切实用的功能
* [x] v2.0 基于 vue2.6+,支持所有主流的浏览器,同时兼具功能与性能
* [x] v3.0 基于 vue2.6+,支持现代浏览器并保留兼容 IE11提升渲染性能
* [x] v4.0 基于 vue3.0+,只支持现代浏览器,不支持 IE
* [x] v4.0 基于 vue3.2+,只支持现代浏览器,不支持 IE
* [ ] 下一阶段sticky 渲染模式、css 变量主题、将虚拟滚动提升到极致、虚拟滚动动态行高、数据图表可视化
## QQ 交流群

View File

@@ -23,7 +23,7 @@
* [x] v1.0 基於 vue2.6+,支持所有主流的瀏覽器,實現表格的一切實用的功能
* [x] v2.0 基於 vue2.6+,支持所有主流的瀏覽器,同時兼具功能與效能
* [x] v3.0 基於 vue2.6+支持現代瀏覽器並保留相容IE11提升渲染效能
* [x] v4.0 基于 vue3.0+只支持現代瀏覽器不支持IE
* [x] v4.0 基于 vue3.2+只支持現代瀏覽器不支持IE
## 瀏覽器支持

View File

@@ -25,7 +25,7 @@ export default defineComponent({
setup () {
return {
prefixClass: 'vxe-icon-',
iconList: ['add', 'arrow-double-left', 'arrow-double-right', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', 'bell', 'bell-fill', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart-bar-x', 'chart-bar-y', 'chart-line', 'chart-pie', 'chart-radar', 'check', 'checkbox-checked', 'checkbox-indeterminate', 'checkbox-unchecked', 'close', 'cloud-download', 'cloud-upload', 'comment', 'company', 'copy', 'custom-column', 'cut', 'delete', 'delete-fill', 'dot', 'download', 'edit', 'ellipsis-h', 'ellipsis-v', 'envelope', 'error-circle', 'error-circle-fill', 'exclamation', 'eye-fill', 'eye-fill-close', 'fixed', 'fixed-fill', 'flow-branch', 'folder', 'folder-open', 'fullscreen', 'funnel', 'home', 'home-fill', 'info-circle', 'info-circle-fill', 'information', 'link', 'lock', 'lock-fill', 'maximize', 'menu', 'merge-cells', 'minimize', 'minus', 'num-list', 'paste', 'picture', 'picture-fill', 'print', 'question', 'question-circle', 'question-circle-fill', 'radio-checked', 'radio-unchecked', 'refresh', 'repeat', 'save', 'search', 'search-zoom-in', 'setting', 'setting-fill', 'sort', 'sort-alpha-asc', 'sort-alpha-desc', 'sort-numeric-asc', 'sort-numeric-desc', 'spinner', 'square', 'square-caret-right', 'square-caret-right-fill', 'square-checked', 'square-checked-fill', 'square-close', 'square-close-fill', 'square-down', 'square-down-fill', 'square-fill', 'square-left', 'square-left-fill', 'square-minus', 'square-minus-fill', 'square-plus', 'square-plus-fill', 'square-plus-square', 'square-right', 'square-right-fill', 'square-square', 'square-up', 'square-up-fill', 'star', 'star-fill', 'star-half', 'success-circle', 'success-circle-fill', 'swap', 'swap-left', 'swap-right', 'table', 'undo', 'unlock', 'unlock-fill', 'upload', 'user', 'user-fill', 'voice', 'voice-fill', 'warning-circle', 'warning-triangle', 'warning-triangle-fill', 'warnion-circle-fill', 'zoom-in', 'zoom-out'],
iconList: ['add', 'arrow-double-left', 'arrow-double-right', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', 'bell', 'bell-fill', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart-bar-x', 'chart-bar-y', 'chart-line', 'chart-pie', 'chart-radar', 'check', 'checkbox-checked', 'checkbox-indeterminate', 'checkbox-unchecked', 'close', 'cloud-download', 'cloud-upload', 'comment', 'company', 'copy', 'custom-column', 'cut', 'delete', 'delete-fill', 'dot', 'download', 'edit', 'ellipsis-h', 'ellipsis-v', 'envelope', 'error-circle', 'error-circle-fill', 'exclamation', 'eye-fill', 'eye-fill-close', 'file-excel', 'file-image', 'file-markdown', 'file-pdf', 'file-ppt', 'file-txt', 'file-word', 'file-zip', 'fixed', 'fixed-fill', 'flow-branch', 'folder', 'folder-open', 'fullscreen', 'funnel', 'home', 'home-fill', 'info-circle', 'info-circle-fill', 'information', 'link', 'lock', 'lock-fill', 'maximize', 'menu', 'merge-cells', 'minimize', 'minus', 'num-list', 'paste', 'picture', 'picture-fill', 'print', 'question', 'question-circle', 'question-circle-fill', 'radio-checked', 'radio-unchecked', 'refresh', 'repeat', 'save', 'search', 'search-zoom-in', 'setting', 'setting-fill', 'sort', 'sort-alpha-asc', 'sort-alpha-desc', 'sort-numeric-asc', 'sort-numeric-desc', 'spinner', 'square', 'square-caret-right', 'square-caret-right-fill', 'square-checked', 'square-checked-fill', 'square-close', 'square-close-fill', 'square-down', 'square-down-fill', 'square-fill', 'square-left', 'square-left-fill', 'square-minus', 'square-minus-fill', 'square-plus', 'square-plus-fill', 'square-plus-square', 'square-right', 'square-right-fill', 'square-square', 'square-up', 'square-up-fill', 'star', 'star-fill', 'star-half', 'success-circle', 'success-circle-fill', 'swap', 'swap-left', 'swap-right', 'table', 'undo', 'unlock', 'unlock-fill', 'upload', 'user', 'user-fill', 'voice', 'voice-fill', 'warning-circle', 'warning-triangle', 'warning-triangle-fill', 'warnion-circle-fill', 'zoom-in', 'zoom-out'],
demoCodes: [
`
<i class="vxe-icon-delete"></i>

View File

@@ -1,4 +1,8 @@
{
"vxe-icon/name": {
"type": "string",
"description": "图标名称"
},
"vxe-table/id": {
"type": "string",
"description": "唯一标识(被某些特定的功能所依赖)"
@@ -1171,13 +1175,13 @@
"type": "boolean",
"description": "只对 type=number|integer|float 有效,是否显示控制按钮"
},
"vxe-input/min-date": {
"vxe-input/start-date": {
"type": "number | string | date",
"description": "只对 type=date|datetime|week|month|quarter|year 有效,设置日期可选范围的最小值"
"description": "只对 type=date|datetime|week|month|quarter|year 有效,设置面板起始日期"
},
"vxe-input/max-date": {
"vxe-input/end-date": {
"type": "number | string | date",
"description": "只对 type=date|datetime|week|month|quarter|year 有效,设置日期可选范围的最大值"
"description": "只对 type=date|datetime|week|month|quarter|year 有效,设置面板结束日期"
},
"vxe-input/start-week": {
"type": "number | string",
@@ -1287,6 +1291,14 @@
"type": "boolean",
"description": "已废弃,被 option-config.useKey 替换"
},
"vxe-select/filterable": {
"type": "boolean",
"description": "是否启用下拉过滤功能"
},
"vxe-select/filter-method": {
"type": "({ searchvalue, option, group }) => boolean",
"description": "只对 filterable 有效,自定义过滤方法"
},
"vxe-select/transfer": {
"type": "boolean",
"description": "是否将弹框容器插入于 body 内(对于嵌入到表格或者弹窗中被遮挡时需要设置为 true"
@@ -1557,7 +1569,7 @@
},
"vxe-modal/fullscreen": {
"type": "boolean",
"description": "默认最大化显示"
"description": "窗口打开时自动最大化显示"
},
"vxe-modal/draggable": {
"type": "boolean",

View File

@@ -1,4 +1,10 @@
{
"vxe-icon": {
"attributes": [
"name"
],
"description": "图标"
},
"vxe-table": {
"attributes": [
"id",
@@ -368,8 +374,8 @@
"align",
"exponential",
"controls",
"min-date",
"max-date",
"start-date",
"end-date",
"start-week",
"start-day",
"select-day",
@@ -402,6 +408,8 @@
"option-config",
"option-id",
"option-key",
"filterable",
"filter-method",
"transfer"
],
"subtags": [

View File

@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "4.3.0-beta.8",
"version": "4.3.0-beta.10",
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...",
"scripts": {
"serve": "vue-cli-service serve",

File diff suppressed because one or more lines are too long