优化重构

This commit is contained in:
xuliangzhan
2020-06-19 18:49:29 +08:00
parent 5d2fb889f3
commit a10f80c432
60 changed files with 2720 additions and 602 deletions

1454
helper/vetur/attributes.json Normal file

File diff suppressed because it is too large Load Diff

473
helper/vetur/tags.json Normal file
View File

@@ -0,0 +1,473 @@
{
"vxe-table": {
"attributes": [
"id",
"data",
"height",
"max-height",
"auto-resize",
"sync-resize",
"resizable",
"stripe",
"border",
"round",
"size",
"loading",
"align",
"header-align",
"footer-align",
"show-header",
"highlight-current-row",
"highlight-hover-row",
"highlight-current-column",
"highlight-hover-column",
"highlight-cell",
"row-class-name",
"cell-class-name",
"header-row-class-name",
"header-cell-class-name",
"footer-row-class-name",
"footer-cell-class-name",
"cell-style",
"header-cell-style",
"footer-cell-style",
"row-style",
"header-row-style",
"footer-row-style",
"show-footer",
"footer-method",
"span-method",
"footer-span-method",
"show-overflow",
"show-header-overflow",
"show-footer-overflow",
"column-width",
"column-min-width",
"column-key",
"row-key",
"row-id",
"keep-source",
"z-index",
"seq-config",
"sort-config",
"filter-config",
"export-config",
"import-config",
"print-config",
"radio-config",
"checkbox-config",
"tooltip-config",
"expand-config",
"tree-config",
"context-menu",
"mouse-config",
"keyboard-config",
"edit-config",
"valid-config",
"edit-rules",
"empty-render",
"custom-config",
"animat",
"cloak",
"delay-hover",
"scroll-x",
"scroll-y",
"params"
],
"subtags": [
"vxe-table-column"
],
"description": "基础表格"
},
"vxe-table-column": {
"attributes": [
"type",
"field",
"title",
"width",
"min-width",
"resizable",
"visible",
"fixed",
"align",
"header-align",
"footer-align",
"show-overflow",
"show-header-overflow",
"show-footer-overflow",
"class-name",
"header-class-name",
"footer-class-name",
"formatter",
"seq-method",
"sortable",
"sort-by",
"sort-method",
"remote-sort",
"filters",
"filter-multiple",
"filter-method",
"filter-render",
"cell-type",
"cell-render",
"edit-render",
"content-render",
"tree-node",
"params"
],
"description": "基础表格 - 列"
},
"vxe-grid": {
"attributes": [
"id",
"columns",
"data",
"height",
"max-height",
"auto-resize",
"sync-resize",
"resizable",
"stripe",
"border",
"round",
"size",
"loading",
"align",
"header-align",
"footer-align",
"show-header",
"highlight-current-row",
"highlight-hover-row",
"highlight-current-column",
"highlight-hover-column",
"highlight-cell",
"row-class-name",
"cell-class-name",
"header-row-class-name",
"header-cell-class-name",
"footer-row-class-name",
"footer-cell-class-name",
"cell-style",
"header-cell-style",
"footer-cell-style",
"row-style",
"header-row-style",
"footer-row-style",
"show-footer",
"footer-method",
"span-method",
"footer-span-method",
"show-overflow",
"show-header-overflow",
"show-footer-overflow",
"column-width",
"column-min-width",
"column-key",
"row-key",
"row-id",
"keep-source",
"z-index",
"seq-config",
"sort-config",
"filter-config",
"export-config",
"import-config",
"print-config",
"radio-config",
"checkbox-config",
"tooltip-config",
"expand-config",
"tree-config",
"context-menu",
"mouse-config",
"keyboard-config",
"edit-config",
"valid-config",
"edit-rules",
"empty-render",
"custom-config",
"animat",
"cloak",
"delay-hover",
"scroll-x",
"scroll-y",
"params",
"form-config",
"toolbar",
"pager-config",
"proxy-config",
"zoom-config"
],
"description": "高级表格"
},
"vxe-toolbar": {
"attributes": [
"size",
"loading",
"perfect",
"import",
"export",
"print",
"refresh",
"custom",
"buttons"
],
"description": "工具栏"
},
"vxe-pager": {
"attributes": [
"size",
"loading",
"layouts",
"current-page",
"page-size",
"total",
"pager-count",
"page-sizes",
"align",
"border",
"background",
"perfect",
"auto-hidden",
"icon-prev-page",
"icon-jump-prev",
"icon-jump-next",
"iconnext-page",
"icon-jump-more"
],
"description": "分页"
},
"vxe-radio": {
"attributes": [
"value,v-model",
"label",
"content",
"size",
"disabled",
"name"
],
"description": "单选框"
},
"vxe-checkbox": {
"attributes": [
"value,v-model",
"label",
"content",
"size",
"disabled",
"title",
"indeterminate"
],
"description": "复选框"
},
"vxe-switch": {
"attributes": [
"value,v-model",
"disabled",
"size",
"on-label",
"off-label",
"on-value",
"off-value",
"on-icon",
"off-icon"
],
"description": "开关按钮"
},
"vxe-input": {
"attributes": [
"value,v-model",
"size",
"type",
"name",
"form",
"clearable",
"placeholder",
"autocomplete",
"maxlength",
"readonly",
"disabled",
"prefix-icon",
"suffix-icon",
"min",
"max",
"step",
"digits",
"start-week",
"label-format",
"parse-format",
"value-format",
"editable",
"disabled-method",
"transfer"
],
"description": "输入框"
},
"vxe-select": {
"attributes": [
"value,v-model",
"size",
"clearable",
"placeholder",
"disabled",
"prefix-icon",
"placement",
"options",
"option-props",
"option-groups",
"option-group-props",
"opt-id",
"opt-key",
"transfer"
],
"subtags": [
"vxe-optgroup",
"vxe-option"
],
"description": "下拉框"
},
"vxe-optgroup": {
"attributes": [
"size",
"label",
"disabled"
],
"subtags": [
"vxe-option"
],
"description": "下拉框 - 分组"
},
"vxe-option": {
"attributes": [
"value,v-model",
"size",
"label",
"disabled"
],
"description": "下拉框 - 选项"
},
"vxe-button": {
"attributes": [
"content",
"type",
"size",
"name",
"icon",
"round",
"circle",
"status",
"disabled",
"loading",
"placement",
"transfer"
],
"description": "按钮"
},
"vxe-tooltip": {
"attributes": [
"value,v-model",
"content",
"trigger",
"theme",
"z-index",
"is-arrow",
"enterable",
"leave-delay"
],
"description": "工具提示"
},
"vxe-modal": {
"attributes": [
"value,v-model",
"size",
"loading",
"id",
"title",
"type",
"status",
"icon-status",
"message",
"show-header",
"show-footer",
"lock-view",
"lock-scroll",
"mask",
"mask-closable",
"esc-closable",
"resize",
"duration",
"width",
"height",
"min-width",
"min-height",
"top",
"position",
"z-index",
"show-title-overflow",
"transfer",
"fullscreen",
"dblclick-zoom",
"remember",
"destroy-on-close",
"storage"
],
"description": "模态窗口"
},
"vxe-form": {
"attributes": [
"data",
"loading",
"span",
"align",
"size",
"title-align",
"title-width",
"title-colon",
"items",
"rules"
],
"subtags": [
"vxe-form-item"
],
"description": "表单"
},
"vxe-form-item": {
"attributes": [
"field",
"title",
"span",
"align",
"title-align",
"title-width",
"visible-method",
"folding",
"collapse-node",
"title-prefix",
"title-suffix",
"reset-value",
"item-render"
],
"description": "表单 - 项"
},
"vxe-list": {
"attributes": [
"data",
"size",
"loading",
"height",
"auto-resize",
"sync-resize",
"scroll-y"
],
"description": "列表"
},
"vxe-pulldown": {
"attributes": [
"size",
"disabled",
"placement",
"transfer"
],
"description": "下拉容器"
}
}