UNPKG

vhb-table

Version:

一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...

588 lines 11.2 kB
{ "vhb-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", "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", "merge-cells", "merge-footer-items", "span-method", "footer-span-method", "show-overflow", "show-header-overflow", "show-footer-overflow", "column-key", "row-key", "row-id", "keep-source", "column-config", "row-config", "resizable-config", "seq-config", "sort-config", "filter-config", "export-config", "import-config", "print-config", "radio-config", "checkbox-config", "tooltip-config", "expand-config", "tree-config", "menu-config", "clip-config", "fnr-config", "mouse-config", "area-config", "keyboard-config", "edit-config", "valid-config", "edit-rules", "empty-text", "empty-render", "custom-config", "scroll-x", "scroll-y", "params" ], "subtags": [ "vhb-colgroup", "vhb-column" ], "description": "基础表格" }, "vhb-colgroup": { "attributes": [ "field", "title", "width", "min-width", "resizable", "visible", "fixed", "align", "header-align", "show-overflow", "show-header-overflow", "header-class-name" ], "subtags": [ "vhb-column" ], "description": "基础表格 - 分组列" }, "vhb-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", "sortable", "sort-by", "sort-type", "filters", "filter-multiple", "filter-method", "filter-reset-method", "filter-recover-method", "filter-render", "export-method", "footer-export-method", "title-help", "cell-type", "cell-render", "edit-render", "content-render", "tree-node", "params", "col-id" ], "description": "基础表格 - 列" }, "vhb-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", "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", "merge-cells", "merge-footer-items", "span-method", "footer-span-method", "show-overflow", "show-header-overflow", "show-footer-overflow", "column-key", "row-key", "row-id", "keep-source", "column-config", "row-config", "resizable-config", "seq-config", "sort-config", "filter-config", "export-config", "import-config", "print-config", "radio-config", "checkbox-config", "tooltip-config", "expand-config", "tree-config", "menu-config", "clip-config", "fnr-config", "mouse-config", "area-config", "keyboard-config", "edit-config", "valid-config", "edit-rules", "empty-text", "empty-render", "custom-config", "scroll-x", "scroll-y", "params", "form-config", "toolbar-config", "pager-config", "proxy-config", "zoom-config" ], "description": "高级表格" }, "vhb-toolbar": { "attributes": [ "size", "loading", "perfect", "class-name", "import", "export", "print", "refresh", "custom", "buttons", "tools" ], "description": "工具栏" }, "vhb-pager": { "attributes": [ "size", "loading", "layouts", "current-page", "page-size", "total", "pager-count", "page-sizes", "align", "border", "background", "perfect", "class-name", "auto-hidden", "icon-prev-page", "icon-jump-prev", "icon-jump-next", "iconnext-page", "icon-jump-more" ], "description": "分页" }, "vhb-radio": { "attributes": [ "value", "label", "content", "size", "disabled", "strict", "name" ], "description": "单选框" }, "vhb-radio-group": { "attributes": [ "value", "size", "disabled", "strict" ], "subtags": [ "vhb-radio", "vhb-radio-button" ], "description": "单选组" }, "vhb-radio-button": { "attributes": [ "value", "label", "content", "disabled", "strict" ], "description": "单选按钮" }, "vhb-checkbox": { "attributes": [ "value", "label", "content", "size", "disabled", "title", "indeterminate", "checked-value", "unchecked-value" ], "description": "复选框" }, "vhb-checkbox-group": { "attributes": [ "value", "size", "disabled" ], "subtags": [ "vhb-checkbox" ], "description": "复选组" }, "vhb-switch": { "attributes": [ "value", "disabled", "size", "open-label", "close-label", "open-value", "close-value", "open-icon", "close-icon" ], "description": "开关按钮" }, "vhb-input": { "attributes": [ "value", "size", "type", "name", "class-name", "form", "clearable", "placeholder", "autocomplete", "maxlength", "readonly", "disabled", "prefix-icon", "suffix-icon", "min", "max", "step", "digits", "align", "exponential", "controls", "min-date", "max-date", "start-week", "start-day", "select-day", "label-format", "value-format", "editable", "disabled-method", "festival-method", "transfer" ], "description": "输入框" }, "vhb-select": { "attributes": [ "value", "size", "multiple", "multi-char-overflow", "clearable", "placeholder", "class-name", "visible", "disabled", "prefix-icon", "placement", "options", "option-props", "option-groups", "option-group-props", "option-id", "option-key", "transfer" ], "subtags": [ "vhb-optgroup", "vhb-option" ], "description": "下拉框" }, "vhb-optgroup": { "attributes": [ "label", "visible", "class-name", "disabled" ], "subtags": [ "vhb-option" ], "description": "下拉框 - 分组" }, "vhb-option": { "attributes": [ "value", "label", "visible", "class-name", "disabled" ], "description": "下拉框 - 选项" }, "vhb-button": { "attributes": [ "content", "type", "size", "name", "class-name", "icon", "round", "circle", "status", "disabled", "loading", "placement", "destroy-on-close", "transfer" ], "description": "按钮" }, "vhb-tooltip": { "attributes": [ "value", "content", "trigger", "theme", "z-index", "is-arrow", "enterable", "enter-delay", "leave-delay" ], "description": "工具提示" }, "vhb-modal": { "attributes": [ "value", "size", "loading", "id", "title", "type", "status", "class-name", "icon-status", "content", "message", "cancel-button-text", "confirm-button-text", "show-header", "show-footer", "lock-view", "lock-scroll", "mask", "mask-closable", "esc-closable", "show-zoom", "resize", "margin-size", "show-close", "duration", "width", "height", "min-width", "min-height", "top", "position", "z-index", "show-title-overflow", "transfer", "fullscreen", "draggable", "dblclick-zoom", "remember", "destroy-on-close", "storage", "before-hide-method" ], "description": "弹窗" }, "vhb-form": { "attributes": [ "data", "loading", "span", "align", "size", "title-align", "title-width", "title-colon", "title-asterisk", "title-overflow", "class-name", "collapse-status", "custom-layout", "items", "rules", "prevent-submit", "valid-config" ], "subtags": [ "vhb-form-item" ], "description": "表单" }, "vhb-form-item": { "attributes": [ "field", "title", "span", "align", "title-align", "title-width", "title-overflow", "class-name", "visible", "visible-method", "folding", "collapse-node", "title-prefix", "title-suffix", "reset-value", "item-render" ], "description": "表单 - 项" }, "vhb-form-gather": { "attributes": [ "span", "class-name" ], "description": "表单 - 项集合" }, "vhb-list": { "attributes": [ "data", "size", "class-name", "loading", "height", "auto-resize", "sync-resize", "scroll-y" ], "description": "列表" }, "vhb-pulldown": { "attributes": [ "model-value", "size", "disabled", "placement", "destroy-on-close", "transfer" ], "description": "下拉容器" } }