diff --git a/docs/index.html b/docs/index.html
index 682c2abd4..6651b0dc9 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1 +1 @@
-
vue table 表格组件
\ No newline at end of file
+vue table 表格组件
\ No newline at end of file
diff --git a/docs/static/js/advanced.c0439b2b.js b/docs/static/js/advanced.7aae3fbd.js
similarity index 100%
rename from docs/static/js/advanced.c0439b2b.js
rename to docs/static/js/advanced.7aae3fbd.js
diff --git a/docs/static/js/api.24229c3a.js b/docs/static/js/api.0952c23d.js
similarity index 99%
rename from docs/static/js/api.24229c3a.js
rename to docs/static/js/api.0952c23d.js
index 99bfb9c6f..45a05601b 100644
--- a/docs/static/js/api.24229c3a.js
+++ b/docs/static/js/api.0952c23d.js
@@ -1 +1 @@
-(window["webpackJsonpVXETable"]=window["webpackJsonpVXETable"]||[]).push([["api"],{"79a6":function(e,a,t){},9224:function(e){e.exports={name:"vxe-table",version:"2.2.9",description:"A fully functional Vue table component.",scripts:{serve:"vue-cli-service serve",lint:"vue-cli-service lint",build:"vue-cli-service build","lib:modules":"gulp build","lib:pack":"vue-cli-service build --target lib --name index --dest lib index.js",lib:"npm run lib:pack && npm run lib:modules"},files:["lib","types","packages","styles"],main:"lib/index.common.js",style:"lib/index.css",unpkg:"lib/index.min.js",jsdelivr:"lib/index.min.js",typings:"types/index.d.ts",dependencies:{},devDependencies:{"@babel/core":"^7.4.4","@babel/preset-env":"^7.4.4","@vue/cli-plugin-babel":"^3.6.0","@vue/cli-plugin-eslint":"^3.6.0","@vue/cli-service":"^3.6.0","@vue/eslint-config-standard":"^4.0.0","ant-design-vue":"^1.3.13","babel-eslint":"^10.0.1","babel-plugin-import":"^1.12.0",babelify:"^10.0.0",browserify:"^16.2.3","core-js":"^2.6.5","element-ui":"^2.11.1",eslint:"^5.16.0","eslint-plugin-vue":"^5.0.0","file-saver":"^2.0.2","font-awesome":"^4.7.0",gulp:"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-babel":"^8.0.0","gulp-clean":"^0.4.0","gulp-clean-css":"^4.2.0","gulp-concat":"^2.6.1","gulp-rename":"^1.4.0","gulp-replace":"^1.0.0","gulp-sass":"^4.0.2","gulp-sourcemaps":"^2.6.5","gulp-uglify":"^3.0.2","highlight.js":"^9.15.9",iview:"^3.4.2",moment:"^2.24.0","node-sass":"^4.12.0","sass-loader":"^7.1.0",sortablejs:"^1.10.0-rc3",standalonify:"^0.1.3","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0",vue:"^2.6.10","vue-i18n":"^8.11.2","vue-router":"^3.0.3","vue-template-compiler":"^2.6.10","vxe-table-plugin-antd":"1.4.0","vxe-table-plugin-element":"1.4.0","vxe-table-plugin-excel":"^1.0.0","vxe-table-plugin-iview":"1.4.0","webpack-cli":"^3.3.1","xe-ajax":"^3.6.0","xe-ajax-mock":"^1.8.0","xe-clipboard":"^1.6.0","xe-utils":"^2.0.2",xlsx:"^0.14.3"},peerDependencies:{vue:"^2.6.10","xe-utils":"^1.9.0"},postcss:{plugins:{autoprefixer:{}}},repository:{type:"git",url:"git+https://github.com/xuliangzhan/vxe-table.git"},keywords:["vxe-table","vxe-editable","vue table","vue editable","vue excel"],author:{name:"Xu Liangzhan",email:"xu_liangzhan@163.com"},license:"MIT",bugs:{url:"https://github.com/xuliangzhan/vxe-table/issues"},homepage:"https://github.com/xuliangzhan/vxe-table#readme",browserslist:["> 1%","last 2 versions","not ie <= 8"]}},d2e1:function(e,a,t){"use strict";var l=t("79a6"),n=t.n(l);n.a},dcc0:function(e,a,t){"use strict";t.r(a);var l=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("vxe-toolbar",{attrs:{id:"document_api",loading:e.loading,refresh:{query:e.loadList},resizable:{storage:!0},setting:{storage:!0}},scopedSlots:e._u([{key:"buttons",fn:function(){return[t("vxe-input",{staticClass:"search-input",attrs:{type:"search",placeholder:"vxe-"+e.apiName+" "+e.$t("app.api.form.apiSearch")},on:{keyup:e.searchEvent},model:{value:e.filterName,callback:function(a){e.filterName=a},expression:"filterName"}})]},proxy:!0}])}),t("vxe-table",{ref:"xTable",staticClass:"api-table",attrs:{resizable:"","highlight-current-row":"","highlight-hover-row":"","highlight-current-column":"","row-id":"id",loading:e.loading,"cell-class-name":e.cellClassNameFunc,data:e.apiList,"tree-config":{children:"list",expandAll:!!e.filterName,expandRowKeys:e.defaultExpandRowKeys,trigger:"cell"},"context-menu":{header:{options:e.headerMenus},body:{options:e.bodyMenus}}},on:{"update:data":function(a){e.apiList=a},"header-cell-context-menu":e.headerCellContextMenuEvent,"cell-context-menu":e.cellContextMenuEvent,"context-menu-click":e.contextMenuClickEvent},scopedSlots:e._u([{key:"empty",fn:function(){return[t("span",{staticClass:"red"},[e._v("找不对应 API,请输入正确的关键字!")])]},proxy:!0}])},[t("vxe-table-column",{attrs:{field:"name",title:"app.api.title.prop","min-width":"280",filters:e.nameFilters,"tree-node":""},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.name||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"desc",title:"app.api.title.desc","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.desc||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"type",title:"app.api.title.type","min-width":"140"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.type||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"enum",title:e.$t("app.api.title.enum"),"min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.enum||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"defVal",title:e.$t("app.api.title.defVal"),"min-width":"160"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.defVal||" ")}})]}}])})],1)],1)},n=[],s=(t("a481"),t("3b2b"),t("6b54"),t("7f7f"),t("9224")),d=t("c695"),i=t.n(d),m=t("f11d"),o=[{name:"disabled",desc:"是否禁用右键",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"options",desc:"菜单配置",type:"Array",enum:"",defVal:"",list:[{name:"code",desc:"菜单键值",type:"String",enum:"",defVal:"",list:[]},{name:"name",desc:"菜单名称",type:"String",enum:"",defVal:"",list:[]},{name:"prefixIcon",desc:"前缀图标 className",type:"String",enum:"",defVal:"",list:[]},{name:"suffixIcon",desc:"后缀图标 className",type:"String",enum:"",defVal:"",list:[]},{name:"visible ",desc:"是否可视",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"disabled ",desc:"是否禁用",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"children ",desc:"二级菜单(最多只允许有二级)",type:"Array",enum:"",defVal:"",list:[{name:"code",desc:"菜单键值",type:"String",enum:"",defVal:"",list:[]},{name:"name",desc:"菜单名称",type:"String",enum:"",defVal:"",list:[]},{name:"prefixIcon",desc:"前缀图标 className",type:"String",enum:"",defVal:"",list:[]},{name:"visible ",desc:"是否可视",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"disabled ",desc:"是否禁用",type:"Boolean",enum:"",defVal:"false",list:[]}]}]}],p=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"data",descKey:"app.api.table.desc.data",type:"Array",enum:"",defVal:"",list:[]},{name:"customs",descKey:"app.api.table.desc.customs",type:"Array",enum:"",defVal:"",list:[]},{name:"height",descKey:"app.api.table.desc.height",type:"Number, String",enum:"auto, %, px",defVal:"",list:[]},{name:"max-height",descKey:"app.api.table.desc.maxHeight",type:"Number, String",enum:"%, px",defVal:"",list:[]},{name:"auto-resize",descKey:"app.api.table.desc.autoResize",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"resizable",descKey:"app.api.table.desc.resizable",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"stripe",descKey:"app.api.table.desc.stripe",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"border",descKey:"app.api.table.desc.border",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"size",descKey:"app.api.table.desc.size",type:"String",enum:"medium, small, mini",defVal:"",list:[]},{name:"fit",descKey:"app.api.table.desc.fit",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"loading",descKey:"app.api.table.desc.loading",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"align",descKey:"app.api.table.desc.align",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"left",list:[]},{name:"header-align",descKey:"app.api.table.desc.headerAlign",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"继承 align",list:[]},{name:"show-header",descKey:"app.api.table.desc.showHeader",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"start-index",descKey:"app.api.table.desc.startIndex",type:"Number",enum:"",defVal:"0",list:[]},{name:"highlight-current-row",descKey:"app.api.table.desc.highlightCurrentRow",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-hover-row",descKey:"app.api.table.desc.highlightHoverRow",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-current-column",descKey:"app.api.table.desc.highlightCurrentColumn",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-hover-column",descKey:"app.api.table.desc.highlightHoverColumn",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-cell",descKey:"app.api.table.desc.highlightCell",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"row-class-name",descKey:"app.api.table.desc.rowClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"cell-class-name",descKey:"app.api.table.desc.cellClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"header-row-class-name",descKey:"app.api.table.desc.headerRowClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"header-cell-class-name",descKey:"app.api.table.desc.headerCellClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"footer-row-class-name",descKey:"app.api.table.desc.footerRowClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"footer-cell-class-name",descKey:"app.api.table.desc.footerCellClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"show-footer",descKey:"app.api.table.desc.showFooter",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"footer-method",descKey:"app.api.table.desc.footerMethod",type:"Function",enum:"",defVal:"",list:[]},{name:"span-method",descKey:"app.api.table.desc.spanMethod",type:"Object",enum:"",defVal:"{ rowspan: 1, colspan: 1}",list:[]},{name:"show-overflow",descKey:"app.api.table.desc.showOverflow",type:"Boolean, String",enum:"ellipsis(只显示省略号),title(并且显示为原生 title),tooltip(并且显示为 tooltip 提示)",defVal:"",list:[]},{name:"show-header-overflow",descKey:"app.api.table.desc.showHeaderOverflow",type:"Boolean, String",enum:"ellipsis(只显示省略号),title(并且显示为原生 title),tooltip(并且显示为 tooltip 提示)",defVal:"",list:[]},{name:"remote-sort",descKey:"app.api.table.desc.remoteSort",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"remote-filter",descKey:"app.api.table.desc.remoteFilter",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"column-width",descKey:"app.api.table.desc.columnWidth",type:"Number, String",enum:"px,%",defVal:"默认均匀分配",list:[]},{name:"column-min-width",descKey:"app.api.table.desc.columnMinWidth",type:"Number, String",enum:"px,%",defVal:"",list:[]},{name:"column-key",descKey:"app.api.table.desc.columnKey",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"row-key",descKey:"app.api.table.desc.rowKey",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"row-id",descKey:"app.api.table.desc.rowId",type:"String",enum:"",defVal:"_XID",list:[]},{name:"sort-config",descKey:"app.api.table.desc.sortConfig",type:"Object",enum:"",defVal:"",list:[{name:"trigger",desc:"触发方式",type:"String",enum:"default(点击按钮触发),cell(点击表头触发)",defVal:"default",list:[]}]},{name:"radio-config",descKey:"app.api.table.desc.radioConfig",type:"Object",enum:"",defVal:"",list:[{name:"labelField",desc:"单选框显示的字段名,可以直接显示在单选框中",type:"String",enum:"",defVal:"",list:[]},{name:"checkRowKey",desc:"默认选中开指定行(需要有 row-id)",type:"Row.rowId",enum:"",defVal:"",list:[]},{name:"checkMethod",desc:"是否允许选中的方法,该方法 Function({row, rowIndex}) 的返回值用来决定这一行的 Radio 是否可以选中",type:"Function",enum:"",defVal:"",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(默认),cell(点击单元格触发),row(点击行触发)",defVal:"default",list:[]}]},{name:"select-config",descKey:"app.api.table.desc.selectConfig",type:"Object",enum:"",defVal:"",list:[{name:"reserve",desc:"是否保留勾选状态,对于某些场景下非常有用,比如分页之后还保留之前选中的状态(需要有 row-id)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"labelField",desc:"复选框显示的字段名,可以直接显示在复选框中",type:"String",enum:"",defVal:"",list:[]},{name:"checkField",desc:"绑定选中属性,如果设置了该属性渲染速度更快(建议数据量大时使用)",type:"String",enum:"",defVal:"",list:[]},{name:"showHeader",desc:"是否显示全选按钮(如果 checkStrictly=true 则默认为 false)",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"checkAll",desc:"默认勾选所有",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"checkRowKeys",desc:"默认勾选开指定行(需要有 row-id)",type:"Array",enum:"",defVal:"",list:[]},{name:"checkStrictly",desc:"是否严格的遵循父子不互相关联的做法",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"checkMethod",desc:"是否允许勾选的方法,该方法 Function({row, rowIndex}) 的返回值用来决定这一行的 CheckBox 是否可以勾选",type:"Function",enum:"",defVal:"",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(默认),cell(点击单元格触发),row(点击行触发)",defVal:"default",list:[]}]},{name:"tooltip-config",descKey:"app.api.table.desc.tooltipConfig",type:"Object",enum:"",defVal:"",list:[{name:"zIndex",desc:"自定义 tooltip 的堆叠顺序(对于在弹框中使用是由于堆叠被覆盖时可能会用到)",type:"Number",enum:"",defVal:"99",list:[]},{name:"theme",desc:"列 tooltip 的主题",type:"String",enum:"dark,light",defVal:"dark",list:[]}]},{name:"expand-config",descKey:"app.api.table.desc.expandConfig",type:"Object",enum:"",defVal:"",list:[{name:"expandAll",desc:"默认展开所有行",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"expandRowKeys",desc:"默认展开指定行(需要有 row-id)",type:"Array",enum:"",defVal:"",list:[]},{name:"accordion",desc:"对于同一级的节点,每次只能展开一个",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(点击按钮触发),cell(点击单元格触发),row(点击行触发)",defVal:"default",list:[]}]},{name:"tree-config",descKey:"app.api.table.desc.treeConfig",type:"Object",enum:"",defVal:"",list:[{name:"children",desc:"树子节点的属性",type:"String",enum:"",defVal:"children",list:[]},{name:"indent",desc:"树节点的缩进",type:"Number",enum:"",defVal:"16",list:[]},{name:"expandAll",desc:"默认展开所有子孙树节点",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"expandRowKeys",desc:"默认展开指定树节点(需要有 row-id)",type:"Array",enum:"",defVal:"",list:[]},{name:"accordion",desc:"对于同一级的节点,每次只能展开一个",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(点击按钮触发), cell(点击单元格触发), row(点击行触发)",defVal:"default",list:[]}]},{name:"context-menu",descKey:"app.api.table.desc.contextMenu",type:"Object",enum:"",defVal:"",list:[{name:"header",desc:"表头的快捷菜单",type:"Object",enum:"",defVal:"",list:i.a.clone(o,!0)},{name:"body",desc:"内容的快捷菜单",type:"Object",enum:"",defVal:"",list:i.a.clone(o,!0)},{name:"footer",desc:"表尾的快捷菜单",type:"Object",enum:"",defVal:"",list:i.a.clone(o,!0)},{name:"trigger",desc:"触发方式",type:"String",enum:"default(默认触发),cell(右键单元格触发)",defVal:"default",list:[]},{name:"visibleMethod",desc:"该函数会在菜单显示之前执行,支持通过 Function({type, row?, rowIndex?, column?, columnIndex?}) 的返回值用来决定是否允许显示右键菜单(对于需要对菜单进行权限控制时可能会用到)",type:"Function",enum:"",defVal:"",list:[]}]},{name:"mouse-config",descKey:"app.api.table.desc.mouseConfig",type:"Object",enum:"",defVal:"",list:[{name:"selected",desc:"开启左键选中功能",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"keyboard-config",descKey:"app.api.table.desc.keyboardConfig",type:"Object",enum:"",defVal:"",list:[{name:"isArrow",desc:"开启方向键功能",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isDel",desc:"开启删除键功能",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isTab",desc:"开启 Tab 键功能",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isEdit",desc:"开启任意键进入编辑(功能键除外)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"editMethod",desc:"只对 isEdit=true 有效,用于重写选中编辑处理逻辑,该函数 Function({seq, row, rowIndex, column, columnIndex, cell}) 可以返回 false 来阻止默认行为",type:"Function",enum:"",defVal:"",list:[]}]},{name:"edit-config",descKey:"app.api.table.desc.editConfig",type:"Object",enum:"",defVal:"",list:[{name:"trigger",desc:"触发方式",type:"String",enum:"manual(手动触发方式,只能用于 mode=row),click(点击触发编辑),dblclick(双击触发编辑)",defVal:"click",list:[]},{name:"mode",desc:"编辑模式",type:"String",enum:"cell(单元格编辑模式),row(行编辑模式)",defVal:"cell",list:[]},{name:"showIcon",desc:"是否显示列头编辑图标",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"showStatus",desc:"是否显示单元格值的修改状态",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"autoClear",desc:"当点击非编辑列之后,是否自动清除单元格的激活状态",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"activeMethod",desc:"该方法 Function({row, rowIndex, column, columnIndex}) 决定该单元格是否允许编辑",type:"Function",enum:"",defVal:"",list:[]}]},{name:"valid-config",descKey:"app.api.table.desc.validConfig",type:"Object",enum:"",defVal:"",list:[{name:"message",desc:"校验提示框的方式",type:"String",enum:"default(如果不设置高度,则默认第一行使用 tooltip,之后使用 inline), none(关闭提示), inline(强制使用内联的提示), tooltip(强制使用 tooltip 提示)",defVal:"default",list:[]},{name:"maxWidth",desc:"所有提示框的最大宽度(对于列比较小的场景下可能会用到)",type:"Number",enum:"",defVal:"320",list:[]}]},{name:"edit-rules",descKey:"app.api.table.desc.editRules",type:"Object",enum:"",defVal:"",list:[{name:"required",desc:"是否必填",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"min",desc:"校验值最小长度(如果 type=number 则比较值大小)",type:"Number",enum:"",defVal:"",list:[]},{name:"max",desc:"校验值最大长度(如果 type=number 则比较值大小)",type:"Number",enum:"",defVal:"",list:[]},{name:"type",desc:"数据校验的类型",type:"String",enum:"number, string",defVal:"string",list:[]},{name:"pattern",desc:"正则校验",type:"RegExp",enum:"",defVal:"",list:[]},{name:"validator",desc:'自定义校验方法,Function(rule, value, callback, {rules,row,column,rowIndex,columnIndex}),通过调用 callback() 则校验成功,调用 callback(new Error("该字段必填")) 则校验失败',type:"Function",enum:"",defVal:"",list:[]},{name:"message",desc:"校验提示内容(支持开启国际化)",type:"String, Function",enum:"",defVal:"",list:[]},{name:"trigger",desc:"触发校验方式(如果为空,则为常规校验方式; 如果指定触发方式,则只会在匹配情况下进行校验)",type:"String",enum:"blur,change",defVal:"",list:[]},{name:"maxWidth",desc:"提示框的最大宽度(对于列比较小的场景下可能会用到)",type:"Number",enum:"",defVal:"320",list:[]}]},{name:"optimization",descKey:"app.api.table.desc.optimization",type:"Object",enum:"",defVal:"",list:[{name:"animat",desc:"表格动画效果开关(关闭后视觉效果更快)",type:"Object",enum:"",defVal:"true",list:[]},{name:"scrollX",desc:"横向 X 虚拟滚动配置(用于特殊场景手动调优)",type:"Object",enum:"",defVal:"",list:[{name:"gt",desc:"指定大于多少范围时自动启动虚拟滚动(启用 X 虚拟滚动,必须固定所有列宽,否则无法兼容)",type:"Number",enum:"",defVal:"100",list:[]},{name:"oSize",desc:"当剩余数据少于指定范围时触发重新渲染",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"rSize",desc:"每次渲染条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"vSize",desc:"指定可视区域条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]}]},{name:"scrollY",desc:"纵向 Y 虚拟滚动配置(用于特殊场景手动调优)",type:"Object",enum:"",defVal:"",list:[{name:"gt",desc:"指定大于多少范围时自动启动虚拟滚动(启用 Y 虚拟滚动,必须固定所有行高,否则无法兼容)",type:"Number",enum:"",defVal:"500",list:[]},{name:"oSize",desc:"当剩余数据少于指定范围时触发重新渲染",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"rSize",desc:"每次渲染条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"vSize",desc:"指定可视区域条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"rHeight",desc:"指定行高",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"adaptive",desc:"自动适配最优的渲染方式",type:"Boolean",enum:"",defVal:"true",list:[]}]}]},{name:"params",descKey:"app.api.table.desc.params",type:"Object",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"empty",descKey:"app.api.table.desc.empty",type:"",enum:"",defVal:"暂无数据",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"current-change",descKey:"app.api.table.desc.currentChange",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"radio-change",descKey:"app.api.table.desc.radioChange",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"select-change",descKey:"app.api.table.desc.selectChange",type:"",enum:"",defVal:"{selection,checked,row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"select-all",descKey:"app.api.table.desc.selectAll",type:"",enum:"",defVal:"{selection,checked},event",list:[]},{name:"cell-click",descKey:"app.api.table.desc.cellClick",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"cell-dblclick",descKey:"app.api.table.desc.cellDblclick",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"cell-context-menu",descKey:"app.api.table.desc.cellContextmenu",type:"",enum:"",defVal:"{type,row,rowIndex,column,columnIndex,cell},event",list:[]},{name:"cell-mouseenter",descKey:"app.api.table.desc.cellMouseenter",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"cell-mouseleave",descKey:"app.api.table.desc.cellMouseleave",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"header-cell-click",descKey:"app.api.table.desc.headerCellClick",type:"",enum:"",defVal:"{triggerResizable,triggerSort,triggerFilter,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"header-cell-dblclick",descKey:"app.api.table.desc.headerCellDblclick",type:"",enum:"",defVal:"{$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"header-cell-context-menu",descKey:"app.api.table.desc.headerCellContextmenu",type:"",enum:"",defVal:"{type,column,columnIndex,cell},event",list:[]},{name:"footer-cell-click",descKey:"app.api.table.desc.footerCellClick",type:"",enum:"",defVal:"{$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"footer-cell-dblclick",descKey:"app.api.table.desc.footerCellDblclick",type:"",enum:"",defVal:"{$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"footer-cell-context-menu",descKey:"app.api.table.desc.footerCellContextmenu",type:"",enum:"",defVal:"{type,column,columnIndex,cell},event",list:[]},{name:"sort-change",descKey:"app.api.table.desc.sortChange",type:"",enum:"",defVal:"{column,property,order}",list:[]},{name:"filter-change",descKey:"app.api.table.desc.filterChange",type:"",enum:"",defVal:"{column,property,values,datas,filters}",list:[]},{name:"resizable-change",descKey:"app.api.table.desc.resizableChange",type:"",enum:"",defVal:"{$rowIndex, column, columnIndex, $columnIndex, fixed, isHidden}",list:[]},{name:"toggle-expand-change",descKey:"app.api.table.desc.toggleExpandChange",type:"",enum:"",defVal:"{row,rowIndex},event",list:[]},{name:"toggle-tree-change",descKey:"app.api.table.desc.toggleTreeChange",type:"",enum:"",defVal:"{row,rowIndex},event",list:[]},{name:"context-menu-click",descKey:"app.api.table.desc.contextMenuClick",type:"",enum:"",defVal:"{menu,type,row,rowIndex,column,columnIndex,cell},event",list:[]},{name:"edit-closed",descKey:"app.api.table.desc.editClosed",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"edit-actived",descKey:"app.api.table.desc.editActived",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"edit-disabled",descKey:"app.api.table.desc.editDisabled",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"valid-error",descKey:"app.api.table.desc.validError",type:"",enum:"",defVal:"{rule,row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"scroll",descKey:"app.api.table.desc.scroll",type:"",enum:"",defVal:"{type,fixed,scrollTop,scrollLeft,isX,isY},event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"loadData(datas)",desc:"加载数据(对于表格数据需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"datas",list:[]},{name:"reloadData(datas)",desc:"加载数据并恢复到初始状态(对于表格数据需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"datas",list:[]},{name:"updateData()",desc:"手动处理数据(对于手动更改了排序、筛选...等条件后需要重新处理数据时可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"refreshData()",desc:"同步刷新 data 数据;如果用了该方法,那么组件将不再记录增删改的状态,只能自行实现对应逻辑(对于某些特殊的场景,比如深层树节点元素发生变动时可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"reloadCustoms(customs)",desc:"初始化加载显示/隐藏列(对于异步更新的场景下可能会用到)",type:"Promise",enum:"",defVal:"customs",list:[]},{name:"loadColumn(columns)",desc:"加载列配置(对于表格列需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"columns",list:[]},{name:"reloadColumn(columns)",desc:"加载列配置并恢复到初始状态(对于表格列需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"columns",list:[]},{name:"refreshColumn()",desc:"刷新列配置(对于显示/隐藏列场景下可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"createRow(records)",desc:"创建 Row|Rows 对象(对于某些特殊场景需要对数据进行手动插入时可能会用到)",type:"Promise",enum:"",defVal:"records",list:[]},{name:"createData(records)",desc:"创建 data 对象(对于某些特殊场景可能会用到,会自动对数据的字段名进行检测,如果不存在就自动定义)",type:"Promise",enum:"",defVal:"records",list:[]},{name:"insert(records)",desc:"往表格插入数据,从第一行新增一行或多行新数据",type:"Promise<{row, rows}>",enum:"",defVal:"records",list:[]},{name:"insertAt(records, row)",desc:"往表格插入数据,从指定位置插入一行或多行;第二个参数:row 指定位置(不支持树表格)、null从第一行插入、-1 从最后插入",type:"Promise<{row, rows}>",enum:"",defVal:"records, row",list:[]},{name:"revert(rows, field)",desc:"还原更改,还原指定行 row 或者整个表格的数据",type:"Promise",enum:"",defVal:"rows?, field?",list:[]},{name:"remove(rows)",desc:"删除指定行数据,指定 row 或 [row, ...] 删除多条数据",type:"Promise<{row, rows}>",enum:"",defVal:"rows",list:[]},{name:"removeSelecteds()",desc:"删除已选中的所有行数据",type:"Promise<{row, rows}>",enum:"",defVal:"",list:[]},{name:"getRowIndex(row)",desc:"根据 row 获取相对于 data 中的索引",type:"Number",enum:"",defVal:"row",list:[]},{name:"getRowNode(tr)",desc:"根据 tr 元素获取对应的 row 信息",type:"{item, items, index, parent}",enum:"",defVal:"tr",list:[]},{name:"getColumns(columnIndex)",desc:"获取表格的可视列,也可以指定索引获取列",type:"Array",enum:"",defVal:"columnIndex?",list:[]},{name:"getColumnById(colid)",desc:"根据列的唯一主键获取列",type:"Column",enum:"",defVal:"colid",list:[]},{name:"getColumnByField(field)",desc:"根据列的字段名获取列",type:"Column",enum:"",defVal:"field",list:[]},{name:"getTableColumn()",desc:"获取当前表格的列(完整的列、处理条件之后的的列、当前渲染中的列)",type:"{fullColumn, visibleColumn, tableColumn}",enum:"",defVal:"",list:[]},{name:"getColumnIndex(column)",desc:"根据 column 获取相对于 columns 中的索引",type:"Number",enum:"",defVal:"column",list:[]},{name:"getColumnNode(cell)",desc:"根据 th/td 元素获取对应的 column 信息",type:"{item, items, index, parent}",enum:"",defVal:"cell",list:[]},{name:"getTableData()",desc:"获取当前表格的数据(完整的数据、处理条件之后的数据、当前渲染中的数据)",type:"{fullData, visibleData, tableData}",enum:"",defVal:"",list:[]},{name:"getRowById(rowid)",desc:"根据行的唯一主键获取行",type:"Row",enum:"",defVal:"rowid",list:[]},{name:"getRecords(rowIndex)",disabled:!0,desc:"即将废弃,请使用 getData",type:"Array",enum:"",defVal:"rowIndex?",list:[]},{name:"getData(rowIndex)",desc:"获取数据,和 data 的行为一致,也可以指定索引获取数据",type:"Array",enum:"",defVal:"rowIndex?",list:[]},{name:"getAllRecords()",disabled:!0,desc:"即将废弃,请使用 getRecordset",type:"{insertRecords, removeRecords, updateRecords}",enum:"",defVal:"",list:[]},{name:"getRecordset()",desc:"获取表格数据集(获取新增、删除、更改的数据,对于增删改查表格非常方便)",type:"{insertRecords, removeRecords, updateRecords}",enum:"",defVal:"",list:[]},{name:"getInsertRecords()",desc:"获取新增的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getRemoveRecords()",desc:"获取已删除的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getUpdateRecords()",desc:"获取已修改的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getCurrentRow()",desc:"用于当前行,获取当前行的数据",type:"Row",enum:"",defVal:"",list:[]},{name:"getRadioRow()",desc:"用于单选行,获取当已选中的数据",type:"Row",enum:"",defVal:"",list:[]},{name:"getSelectRecords()",desc:"用于多选行,获取已选中的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getActiveRow()",desc:"获取已激活的行数据",type:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",enum:"",defVal:"row",list:[]},{name:"getVirtualScroller()",desc:"获取虚拟滚动相关状态",type:"{scrollX, scrollY, scrollTop, scrollLeft}",enum:"",defVal:"",list:[]},{name:"hasActiveRow(row)",desc:"检查行是否已激活为编辑状态",type:"Boolean",enum:"",defVal:"row",list:[]},{name:"hasRowChange(row, field)",desc:"检查行或列数据是否发生改变",type:"Boolean",enum:"",defVal:"row, field?",list:[]},{name:"hasRowExpand(row)",desc:"检查行是否已展开",type:"Boolean",enum:"",defVal:"row",list:[]},{name:"hasTreeExpand(row)",desc:"检查树节点是否已展开",type:"Boolean",enum:"",defVal:"row",list:[]},{name:"setActiveRow(row)",desc:"激活行编辑,如果是 mode=cell 则默认激活第一个单元格",type:"Promise",enum:"",defVal:"row",list:[]},{name:"setActiveCell(row, field)",desc:"激活单元格编辑",type:"Promise",enum:"",defVal:"row, field",list:[]},{name:"setSelectCell(row, field)",desc:"选中某个单元格",type:"Promise",enum:"",defVal:"row, field",list:[]},{name:"setRowExpansion(rows, checked)",desc:"设置展开行,二个参数设置这一行展开与否",type:"Promise",enum:"",defVal:"rows, checked",list:[]},{name:"setAllRowExpansion(checked)",desc:"设置所有行的展开与否",type:"Promise",enum:"",defVal:"checked",list:[]},{name:"setTreeExpansion(rows, checked)",desc:"设置展开树形节点,二个参数设置这一行展开与否",type:"Promise",enum:"",defVal:"rows, checked",list:[]},{name:"setAllTreeExpansion(checked)",desc:"设置所有树节点的展开与否",type:"Promise",enum:"",defVal:"checked",list:[]},{name:"setCurrentRow(row)",desc:"用于当前行,设置某一行为高亮状态",type:"Promise",enum:"",defVal:"row",list:[]},{name:"setCurrentColumn(column)",desc:"用于当前列,设置某列行为高亮状态",type:"Promise",enum:"",defVal:"column",list:[]},{name:"setRadioRow(row)",desc:"用于单选行,设置某一行为选中状态",type:"Promise",enum:"",defVal:"row",list:[]},{name:"setSelection(rows, checked)",desc:"用于多选行,设置行为选中状态,第二个参数为选中与否",type:"Promise",enum:"",defVal:"rows, checked",list:[]},{name:"setAllSelection(checked)",desc:"用于多选行,设置所有行的选中状态",type:"Promise",enum:"",defVal:"checked",list:[]},{name:"toggleRowSelection(row)",desc:"用于多选行,切换某一行的选中状态",type:"Promise",enum:"",defVal:"row",list:[]},{name:"toggleAllSelection()",desc:"用于多选行,切换所有行的选中状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"toggleRowExpansion(row)",desc:"用于可展开表格,切换展开行",type:"Promise",enum:"",defVal:"row",list:[]},{name:"toggleTreeExpansion(row)",desc:"用于可树形表格,切换展开树形节点",type:"Promise",enum:"",defVal:"row",list:[]},{name:"clearCurrentRow()",desc:"用于当前行,手动清空当前高亮的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearCurrentColumn()",desc:"用于当前列,手动清空当前高亮的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearRadioRow()",desc:"用于单选行,手动清空用户的选择",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearSelection()",desc:"用于多选行,手动清空用户的选择",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearRowExpand()",desc:"手动清空展开行状态,数据会恢复成未展开的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearTreeExpand()",desc:"手动清空树形节点的展开状态,数据会恢复成未展开的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearSort(field)",desc:"手动清空排序条件,数据会恢复成未排序的状态(如果不传 field 则清空所有排序条件)",type:"Promise",enum:"",defVal:"field?",list:[]},{name:"clearFilter(field)",desc:"手动清空筛选条件(如果不传 field 则清空所有筛选条件),数据会恢复成未筛选的状态",type:"Promise",enum:"",defVal:"field?",list:[]},{name:"clearSelected()",desc:"手动清除单元格选中状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearActived()",desc:"手动清除单元格激活状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearData(rows, field)",desc:"手动清空单元格内容,如果不创参数,则清空整个表格内容,如果传了行则清空指定行内容,如果传了指定字段,则清空该字段内容",type:"Promise",enum:"",defVal:"rows?, field?",list:[]},{name:"clearScroll()",desc:"手动清除滚动相关信息,还原到初始状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearAll()",desc:"手动清除表格所有条件,还原到初始状态(对于增删改查的场景中可能会用到,比如在数据保存之后清除表格缓存)",type:"Promise",enum:"",defVal:"",list:[]},{name:"resetCustoms()",desc:"手动重置列的显示/隐藏操作,还原到初始状态(如果已关联工具栏,则会同步更新)",type:"Promise",enum:"",defVal:"",list:[]},{name:"resetResizable()",desc:"手动重置列宽拖动的操作,还原到初始状态(如果已关联工具栏,则会同步更新)",type:"Promise",enum:"",defVal:"",list:[]},{name:"resetAll()",desc:"手动重置列的所有操作,还原到初始状态(如果已关联工具栏,则会同步更新)",type:"Promise",enum:"",defVal:"",list:[]},{name:"closeFilter()",desc:"手动关闭筛选面板(某些特殊场景可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"clostTooltip()",desc:"手动关闭 tooltip 提示(某些特殊场景可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"closeMenu()",desc:"手动关闭快捷菜单(某些特殊场景可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"updateFooter()",desc:"手动更新表尾合计(对于某些需要频繁更新的场景下可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"updateStatus(scope)",desc:"更新单元格状态(当使用自定义渲染时可能会用到)",type:"Promise",enum:"",defVal:"{ row, column }",list:[]},{name:"hideColumn(column)",desc:"隐藏指定列",type:"Promise",enum:"",defVal:"column",list:[]},{name:"showColumn(column)",desc:"显示指定列",type:"Promise",enum:"",defVal:"column",list:[]},{name:"scrollTo(scrollLeft, scrollTop)",desc:"如果有滚动条,则滚动到对应的位置",type:"Promise",enum:"",defVal:"scrollLeft?, scrollTop?",list:[]},{name:"scrollToRow(row)",desc:"如果有滚动条,则滚动到对应的行",type:"Promise",enum:"",defVal:"row",list:[]},{name:"scrollToColumn(column)",desc:"如果有滚动条,则滚动到对应的列",type:"Promise",enum:"",defVal:"column",list:[]},{name:"sort(field, order)",desc:"手动对表格进行排序(如果 order 为空则自动切换排序)",type:"Promise",enum:"",defVal:"field, order?",list:[]},{name:"filter(field, callback)",desc:"手动对表格进行筛选,还可以通过 callback 返回新的选项列表",type:"Promise",enum:"",defVal:"field, callback?",list:[]},{name:"recalculate()",desc:"重新计算表格(对于某些特殊场景可能会用到,比如隐藏的表格、更新列宽...等)",type:"Promise",enum:"",defVal:"",list:[]},{name:"validate(rows, callback)",desc:"表格校验函数,如果指定 row 或 rows 则校验指定一行或多行,否则校验整个表格。该回调函数会在校验结束后被调用,并传入两个参数:(是否校验成功,最近一列未通过校验的字段)。若不传入回调函数,则会返回一个 promise",type:"Promise",enum:"",defVal:"rows?, callback?",list:[]},{name:"fullValidate(rows, callback)",desc:"表格完整校验函数,和 validate 的区别就是会对全量数据的所有规则进行完整校验",type:"Promise",enum:"",defVal:"rows?, callback?",list:[]},{name:"exportCsv(options)",desc:"将表格数据导出为 .csv 文件(支持所有主流的浏览器,不支持合并行或列)",type:"Promise",enum:"",defVal:"options",list:[{name:"filename",desc:"文件名",type:"String",enum:"",defVal:"table.csv",list:[]},{name:"original",desc:"是否导出源数据(特殊场景只能是 true, 比如虚拟滚动、优化的固定列..)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isHeader",desc:"是否导出表头",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"isFooter",desc:"是否导出表尾",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"download",desc:"是否马上下载,如果设置为 false 则通过返回结果为内容的 Promise",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"data",desc:"自定义数据",type:"Array",enum:"",defVal:"",list:[]},{name:"columns",desc:"自定义列",type:"Array",enum:"",defVal:"",list:[]},{name:"columnFilterMethod",desc:"列过滤方法,该函数 Function(column,columnIndex) 的返回值用来决定该列是否导出",type:"Function",enum:"",defVal:"默认过滤掉 type=index,selection,radio 和 field 为空的列",list:[]},{name:"dataFilterMethod",desc:"数据过滤方法,该函数 Function(row,rowIndex) 的返回值用来决定该数据是否导出",type:"Function",enum:"",defVal:"",list:[]}]}]}],c=p,r=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"type",descKey:"app.api.tableColumn.desc.type",type:"String",enum:"index(序号), selection(复选框), radio(单选框), expand(展开行)",defVal:"",list:[]},{name:"field",descKey:"app.api.tableColumn.desc.field",type:"String",enum:"",defVal:"",list:[]},{name:"title",descKey:"app.api.tableColumn.desc.title",type:"String",enum:"",defVal:"",list:[]},{name:"width",descKey:"app.api.tableColumn.desc.width",type:"Number, String",enum:"px,%",defVal:"继承 table 的 column-width",list:[]},{name:"min-width",descKey:"app.api.tableColumn.desc.minWidth",type:"Number, String",enum:"px,%",defVal:"继承 table 的 column-min-width",list:[]},{name:"resizable",descKey:"app.api.tableColumn.desc.resizable",type:"Boolean",enum:"",defVal:"继承 table 的 resizable",list:[]},{name:"fixed",descKey:"app.api.tableColumn.desc.fixed",type:"String",enum:"left(固定左侧), right(固定右侧)",defVal:"",list:[]},{name:"align",descKey:"app.api.tableColumn.desc.align",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"继承 table 的 align",list:[]},{name:"header-align",descKey:"app.api.tableColumn.desc.headerAlign",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"继承 align > 继承 table 的 header-align",list:[]},{name:"show-overflow",descKey:"app.api.tableColumn.desc.showOverflow",type:"String,Boolean",enum:"ellipsis(只显示省略号), title(并且显示为原生 title), tooltip(并且显示为 tooltip 提示)",defVal:"继承 table 的 show-overflow",list:[]},{name:"show-header-overflow",descKey:"app.api.tableColumn.desc.showHeaderOverflow",type:"String,Boolean",enum:"ellipsis(只显示省略号), title(并且显示为原生 title), tooltip(并且显示为 tooltip 提示)",defVal:"继承 table 的 show-header-overflow",list:[]},{name:"formatter",descKey:"app.api.tableColumn.desc.formatter",type:"Function, Array, String",enum:"",defVal:"",list:[]},{name:"index-method",descKey:"app.api.tableColumn.desc.indexMethod",type:"Function",enum:"",defVal:"",list:[]},{name:"sortable",descKey:"app.api.tableColumn.desc.sortable",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"sort-by",descKey:"app.api.tableColumn.desc.sortBy",type:"String, Array",enum:"",defVal:"",list:[]},{name:"remote-sort",descKey:"app.api.tableColumn.desc.remoteSort",type:"Boolean",enum:"",defVal:"继承 table 的 remote-sort",list:[]},{name:"filters",descKey:"app.api.tableColumn.desc.filters",type:"Array",enum:"",defVal:"",list:[{name:"label",desc:"显示的值",type:"String",enum:"",defVal:"",list:[]},{name:"value",desc:"实际的值",type:"Any",enum:"",defVal:"",list:[]},{name:"checked",desc:"默认是否选中",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"data",desc:"自定义渲染的数据值(当使用自定义模板时可能会用到)",type:"Any",enum:"",defVal:"",list:[]}]},{name:"filter-multiple",descKey:"app.api.tableColumn.desc.filterMultiple",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"filter-method",descKey:"app.api.tableColumn.desc.filterMethod",type:"Function",enum:"",defVal:"",list:[]},{name:"filter-render",descKey:"app.api.tableColumn.desc.filterRender",type:"Object",enum:"",defVal:"",list:[{name:"name",desc:"渲染器名称",type:"String",enum:"input, textarea, select",defVal:"",list:[]},{name:"props",desc:"渲染的参数(请查看目标渲染的 Props)",type:"Object",enum:"",defVal:"",list:[]},{name:"attrs",desc:"渲染的属性(请查看目标渲染的 Attrs)",type:"Object",enum:"",defVal:"",list:[]},{name:"events",desc:"渲染组件的事件(请查看目标渲染的 Events)",type:"Object",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[目标渲染的 arguments]",list:[]}]},{name:"cell-render",descKey:"app.api.tableColumn.desc.cellRender",type:"Object",enum:"",defVal:"",list:[{name:"name",desc:"渲染器名称",type:"String",enum:"input, textarea, select",defVal:"",list:[]},{name:"props",desc:"渲染的参数(请查看目标渲染的 Props)",type:"Object",enum:"",defVal:"",list:[]},{name:"attrs",desc:"渲染的属性(请查看目标渲染的 Attrs)",type:"Object",enum:"",defVal:"",list:[]},{name:"options",desc:"只对 name=select 有效,下拉选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionProps",desc:"只对 name=select 有效,下拉选项属性参数配置",type:"Object",enum:"",defVal:"{ value, label }",list:[]},{name:"optionGroups",desc:"只对 name=select 有效,下拉分组选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionGroupProps",desc:"只对 name=select 有效,下拉分组选项属性参数配置",type:"Object",enum:"",defVal:"{ options, label }",list:[]},{name:"events",desc:"渲染组件的事件(请查看目标渲染的 Events)",type:"Object",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[目标渲染的 arguments]",list:[]}]},{name:"edit-render",descKey:"app.api.tableColumn.desc.editRender",type:"Object",enum:"",defVal:"",list:[{name:"type",desc:"渲染类型",type:"String",enum:"default(组件触发后可视),visible(组件一直可视)",defVal:"default",list:[]},{name:"name",desc:"渲染器名称",type:"String",enum:"input, textarea, select",defVal:"",list:[]},{name:"props",desc:"渲染的参数(请查看目标渲染的 Props)",type:"Object",enum:"",defVal:"",list:[]},{name:"attrs",desc:"渲染的属性(请查看目标渲染的 Attrs)",type:"Object",enum:"",defVal:"",list:[]},{name:"options",desc:"只对 name=select 有效,下拉选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionProps",desc:"只对 name=select 有效,下拉选项属性参数配置",type:"Object",enum:"",defVal:"{ value, label }",list:[]},{name:"optionGroups",desc:"只对 name=select 有效,下拉分组选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionGroupProps",desc:"只对 name=select 有效,下拉分组选项属性参数配置",type:"Object",enum:"",defVal:"{ options, label }",list:[]},{name:"events",desc:"渲染组件的事件(请查看目标渲染的 Events)",type:"Object",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[目标渲染的 arguments]",list:[]},{name:"autofocus",desc:"如果是自定义渲染可以指定聚焦的 class",type:"String",enum:"",defVal:"",list:[]},{name:"autoselect",desc:"是否在激活编辑之后自动选中输入框内容",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"tree-node",descKey:"app.api.tableColumn.desc.treeNode",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"params",descKey:"app.api.tableColumn.desc.params",type:"Object",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"default",desc:"自定义显示内容模板",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]},{name:"header",desc:"自定义表头内容的模板",type:"",enum:"",defVal:"{column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]},{name:"filter",desc:"自定义筛选模板",type:"",enum:"",defVal:"{column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]},{name:"edit",desc:"自定义可编辑组件模板",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],u=r,y=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"id",descKey:"app.api.toolbar.desc.id",type:"String",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.toolbar.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"loading",descKey:"app.api.toolbar.desc.loading",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"refresh",descKey:"app.api.toolbar.desc.refresh",type:"Boolean,Object",enum:"",defVal:"",list:[{name:"query",desc:"查询的方法",type:"Function / Promise",enum:"",defVal:"",list:[]}]},{name:"resizable",descKey:"app.api.toolbar.desc.resizable",type:"Boolean,Object",enum:"",defVal:"",list:[{name:"storage",desc:"是否启用 localStorage 本地保存,会将保存列宽拖动的状态保存到本地(需要设置 id)",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"setting",descKey:"app.api.toolbar.desc.setting",type:"Boolean,Object",enum:"",defVal:"",list:[{name:"trigger",desc:"触发方式",type:"String",enum:"manual,click,hover",defVal:"click",list:[]},{name:"immediate",desc:"列勾选之后是否实时同步",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"storage",desc:"是否启用 localStorage 本地保存,会将列的隐藏状态保存到本地(需要设置 id)",type:"Boolean",enum:"",defVal:"false",list:[]}]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"buttons",desc:"按钮列表",type:"",enum:"",defVal:"{}, h",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"updateSetting()",desc:"手动更新列自定义的操作状态",type:"",enum:"",defVal:"",list:[]},{name:"updateResizable()",desc:"手动更新列宽拖动的操作状态",type:"",enum:"",defVal:"",list:[]}]}],f=y,V=(t("7514"),[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"toolbar",descKey:"app.api.grid.desc.toolbar",type:"Object",enum:"",defVal:"",list:i.a.clone(f.find(function(e){return"Props"===e.name}).list,!0).concat([{name:"buttons",desc:"按钮列表",type:"Array",enum:"",defVal:"",list:[{name:"name",desc:"按钮名称(支持开启国际化)",type:"String",enum:"",defVal:"",list:[]},{name:"code",desc:"按钮编码",type:"String",enum:"",defVal:"",list:[{name:"reload",desc:"刷新数据,会重置分页;触发 ajax.query 方法",type:"",enum:"",defVal:"",list:[]},{name:"query",desc:"刷新数据;会自动触发 ajax.query 方法",type:"",enum:"",defVal:"",list:[]},{name:"insert",desc:"新增数据",type:"",enum:"",defVal:"",list:[]},{name:"insert_actived",desc:"新增数据并且默认激活第一个可编辑的单元格",type:"",enum:"",defVal:"",list:[]},{name:"mark_cancel",desc:"将选中的数据标记或取消删除",type:"",enum:"",defVal:"",list:[]},{name:"delete_selection",desc:"删除选中行;会自动触发 ajax.delete 方法",type:"",enum:"",defVal:"",list:[]},{name:"remove_selection",desc:"移除选中行",type:"",enum:"",defVal:"",list:[]},{name:"save",desc:"保存数据;会自动触发 ajax.save 方法,并且在 Promise 完成之后重新触发 ajax.query 方法",type:"",enum:"",defVal:"",list:[]},{name:"export",desc:"导出数据",type:"",enum:"",defVal:"",list:[]},{name:"reset_custom",desc:"重置个性化数据(显示/隐藏列、列宽拖动状态)",type:"",enum:"",defVal:"",list:[]}]},{name:"dropdowns",desc:"下拉按钮列表",type:"Array",enum:"",defVal:"",list:[]}]}]).concat([{name:"slots",descKey:"app.api.title.slots",type:"Object",enum:"",defVal:"",list:i.a.clone(f.find(function(e){return"Slots"===e.name}).list,!0)}])},{name:"pager-config",descKey:"app.api.grid.desc.pagerConfig",type:"Object",enum:"",defVal:"",list:[{name:"current-page",desc:"当前页",type:"Number",enum:"",defVal:"1",list:[]},{name:"page-size",desc:"每页大小",type:"Number",enum:"",defVal:"10",list:[]},{name:"total",desc:"总条数",type:"Number",enum:"",defVal:"0",list:[]},{name:"pager-count",desc:"显示页码按钮的数量",type:"Number",enum:"",defVal:"7",list:[]},{name:"page-sizes",desc:"每页大小选项列表",type:"Array",enum:"",defVal:"[10,15,20,50,100]",list:[]},{name:"background",desc:"带背景颜色",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"proxy-config",descKey:"app.api.grid.desc.proxyConfig",type:"Object",enum:"",defVal:"",list:[{name:"autoLoad",desc:"是否自动加载查询数据",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"message",desc:"是否显示消息提示",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"index",desc:"存在 type=index 列时有效,是否代理动态序号(根据分页动态变化)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"sort",desc:"是否代理排序",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"filter",desc:"是否代理筛选",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"props",desc:"获取的属性配置",type:"Object",enum:"",defVal:"",list:[{name:"list",desc:"响应结果中获取数据列表的属性",type:"String",enum:"",defVal:"",list:[]},{name:"result",desc:"只对 pager-config 配置了有效,响应结果中获取数据列表的属性",type:"String",enum:"",defVal:"result",list:[]},{name:"total",desc:"只对 pager-config 配置了有效,响应结果中获取分页的属性",type:"String",enum:"",defVal:"page.total",list:[]}]},{name:"ajax",desc:"代理配置(任何使用 Promise API 的任何库都可以对接数据代理)",type:"Object",enum:"",defVal:"",list:[{name:"query",desc:"查询方法 Function({ page, sort, filters }, ...arguments),默认处理的数据结构 {page: {total: 0}, result: []};如果使用了服务端排序,sort 属性可以获取相关信息;如果使用了服务端过滤,filter 属性可以获取相关信息",type:"Function / Promise",enum:"",defVal:"",list:[]},{name:"delete",desc:"删除方法 Function({ body }, ...arguments),提交的参数 { removeRecords }",type:"Function / Promise",enum:"",defVal:"",list:[]},{name:"save",desc:"保存方法 Function({ body }, ...arguments),提交的参数 { insertRecords, updateRecords, removeRecords, pendingRecords}",type:"Function / Promise",enum:"",defVal:"",list:[]}]}]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"buttons",desc:"只对 toolbar 配置时有效,按钮列表",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"current-page-change",desc:"只对 pager-config 配置时有效,当前页发生改变时会触发该事件",type:"",enum:"",defVal:"currentPage",list:[]},{name:"page-size-change",desc:"只对 pager-config 配置时有效,每页大小发生改变时会触发该事件",type:"",enum:"",defVal:"pageSize",list:[]},{name:"page-change",desc:"只对 pager-config 配置时有效,分页发生改变时会触发该事件",type:"",enum:"",defVal:"{type, currentPage, pageSize}",list:[]},{name:"toolbar-button-click",desc:"只对 toolbar.buttons 配置时有效,当工具栏的按钮被点击时会后触发该事件",type:"",enum:"",defVal:"{menu ,type, row, rowIndex, column, columnIndex, cell}, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"commitProxy(code, ...arguments)",desc:"给数据代理提交指令(支持额外的参数,对于很多特殊场景很有用)",type:"",enum:"reload, query, delete, save",defVal:"",list:[]}]}]),g=i.a.clone(c,!0).map(function(e){var a=V.find(function(a){return a.name===e.name});return a.list=e.list.concat(a.list),a});g.find(function(e){return"Props"===e.name}).list.splice(1,0,{name:"columns",descKey:"app.api.table.desc.columns",type:"Array",enum:"",defVal:"",list:i.a.mapTree(u.find(function(e){return"Props"===e.name}).list,function(e){return Object.assign({},e,{name:i.a.camelCase(e.name)})})});var b=g,h=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],w=i.a.clone(c,!0).map(function(e){var a=h.find(function(a){return a.name===e.name});return a.list=e.list.concat(a.list),a}),x=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"size",descKey:"app.api.pager.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"loading",descKey:"app.api.pager.desc.loading",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"layouts",descKey:"app.api.pager.desc.layouts",type:"Array",enum:"PrevJump,PrevPage,Number,JumpNumber,NextPage,NextJump,Sizes,Jump,FullJump,PageCount,Total",defVal:"[PrevPage,NextPage,FullJump,Sizes,Total]",list:[]},{name:"current-page",descKey:"app.api.pager.desc.currentPage",type:"Number",enum:"",defVal:"1",list:[]},{name:"page-size",descKey:"app.api.pager.desc.pageSize",type:"Number",enum:"",defVal:"10",list:[]},{name:"total",descKey:"app.api.pager.desc.total",type:"Number",enum:"",defVal:"0",list:[]},{name:"pager-count",descKey:"app.api.pager.desc.pagerCount",type:"Number",enum:"",defVal:"7",list:[]},{name:"page-sizes",descKey:"app.api.pager.desc.pageSizes",type:"Array",enum:"",defVal:"[10,15,20,50,100]",list:[]},{name:"align",descKey:"app.api.pager.desc.align",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"right",list:[]},{name:"background",descKey:"app.api.pager.desc.background",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"current-change",desc:"当前页发生改变时会触发该事件",type:"",enum:"",defVal:"currentPage",list:[]},{name:"size-change",desc:"每页大小发生改变时会触发该事件",type:"",enum:"",defVal:"pageSize",list:[]},{name:"page-change",desc:"分页发生改变时会触发该事件",type:"",enum:"",defVal:"{type, currentPage, pageSize}",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],v=x,K=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.radio.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.radio.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"disabled",descKey:"app.api.radio.desc.disabled",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"name",descKey:"app.api.radio.desc.name",type:"String",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"change",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"value",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],S=K,I=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.checkbox.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.checkbox.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"disabled",descKey:"app.api.checkbox.desc.disabled",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"change",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"value",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],C=I,k=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.input.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.input.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"type",desc:"原生 type 属性",type:"String",enum:"",defVal:"",list:[]},{name:"name",desc:"原生 name 属性",type:"String",enum:"",defVal:"",list:[]},{name:"placeholder",desc:"原生 placeholder 属性",type:"String",enum:"",defVal:"",list:[]},{name:"autocomplete",desc:"原生 autocomplete 属性",type:"String",enum:"",defVal:"",list:[]},{name:"maxlength",desc:"最大长度",type:"String, Number",enum:"",defVal:"",list:[]},{name:"readonly",desc:"是否只读",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"disabled",descKey:"app.api.input.desc.disabled",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"*",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"{ value }, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],P=k,B=(t("6762"),t("2fdb"),[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:i.a.clone(P.find(function(e){return"Props"===e.name}).list.filter(function(e){return!["type"].includes(e.name)}),!0).concat([{name:"rows",desc:"原生 rows 属性",type:"String, Number",enum:"",defVal:"",list:[]},{name:"resize",desc:"原生 resize 属性",type:"String",enum:"",defVal:"",list:[]}])},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"*",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"{ value }, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}]),R=B,N=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"type",descKey:"app.api.button.desc.type",type:"",enum:"text,primary",defVal:"",list:[]},{name:"size",descKey:"app.api.button.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"name",descKey:"app.api.button.desc.name",type:"String, Number",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"—",desc:"按钮内容",type:"",enum:"",defVal:"",list:[]},{name:"dropdowns",desc:"下拉按钮",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"*",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"event",list:[]},{name:"dropdown-click",desc:"下拉列表按钮点击时会触发该事件",type:"",enum:"",defVal:"{ name }, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],A=N,z=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.tooltip.desc.value",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"content",descKey:"app.api.tooltip.desc.content",type:"String",enum:"",defVal:"",list:[]},{name:"trigger",descKey:"app.api.tooltip.desc.trigger",type:"String",enum:"manual, hover, click",defVal:"hover",list:[]},{name:"theme",descKey:"app.api.tooltip.desc.theme",type:"String",enum:"dark,light",defVal:"dark",list:[]},{name:"zIndex",descKey:"app.api.tooltip.desc.zIndex",type:"Number",enum:"",defVal:"3000",list:[]},{name:"isArrow",descKey:"app.api.tooltip.desc.isArrow",type:"Boolean",enum:"",defVal:"true",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"default",desc:"自定义显示内容模板",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"show()",desc:"手动显示提示框",type:"Promise",enum:"",defVal:"",list:[]},{name:"close()",desc:"手动关闭提示框",type:"Promise",enum:"",defVal:"",list:[]},{name:"toVisible(target, message)",desc:"手动显示提示框(对于可复用高性能场景非常适合,只需要创建一个实例,后续通过该方法调用即可显示)",type:"Promise",enum:"",defVal:"Event.target, message",list:[]}]}],j=z,$=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.msg.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"id",descKey:"app.api.msg.desc.id",type:"String",enum:"",defVal:"",list:[]},{name:"title",descKey:"app.api.msg.desc.title",type:"String",enum:"",defVal:"消息提示",list:[]},{name:"type",descKey:"app.api.msg.desc.type",type:"String",enum:"alert, confirm, message",defVal:"",list:[]},{name:"status",descKey:"app.api.msg.desc.status",type:"String",enum:"info, success, warning, error, loading",defVal:"",list:[]},{name:"message",descKey:"app.api.msg.desc.message",type:"String",enum:"",defVal:"",list:[]},{name:"lock-view",descKey:"app.api.msg.desc.lockView",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"lock-scroll",descKey:"app.api.msg.desc.lockScroll",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"mask",descKey:"app.api.msg.desc.mask",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"mask-closable",descKey:"app.api.msg.desc.maskClosable",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"duration",descKey:"app.api.msg.desc.duration",type:"Number",enum:"",defVal:"3000",list:[]},{name:"top",descKey:"app.api.msg.desc.top",type:"Number",enum:"",defVal:"15",list:[]},{name:"zIndex",descKey:"app.api.msg.desc.zIndex",type:"Number",enum:"",defVal:"999",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"—",desc:"提示框内容",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"show",desc:"在提示框打开时会触发该事件",type:"",enum:"",defVal:"",list:[]},{name:"hide",desc:"在提示框关闭时会触发该事件",type:"",enum:"",defVal:"",list:[]},{name:"confirm",desc:"点击确定按钮时会触发该事件",type:"",enum:"",defVal:"",list:[]},{name:"close",desc:"点击关闭按钮时会触发该事件",type:"",enum:"",defVal:"",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],E=$,O={data:function(){return{filterName:this.$route.query.filterName,apiList:[],defaultExpandRowKeys:[],loading:!1,tableData:[],nameFilters:[{label:"Props",value:"Props"},{label:"Slots",value:"Slots"},{label:"Events",value:"Events"},{label:"Methods",value:"Methods"}],headerMenus:[[{code:"hideColumn",name:"隐藏列"},{code:"showAllColumn",name:"取消所有隐藏列"},{code:"resetColumn",name:"重置个性化数据"}],[{code:"exportAll",name:"导出完整文档",prefixIcon:"fa fa-download"}]],bodyMenus:[[{code:"copy",name:"复制内容",prefixIcon:"fa fa-copy"}],[{code:"resize",name:"重新加载"},{code:"export",name:"导出文档",prefixIcon:"fa fa-download"}],[{code:"allExpand",name:"全部展开"},{code:"allShrink",name:"全部收起"}]]}},computed:{apiName:function(){return this.$route.params.name}},watch:{apiName:function(){this.loadList()},"$i18n.locale":function(){this.loadList()}},created:function(){this.loadList()},methods:{loadList:function(){var e=this;return this.loading=!0,new Promise(function(a){setTimeout(function(){var t=[];switch(e.$route.params.name){case"table":t=c;break;case"table-column":t=u;break;case"toolbar":t=f;break;case"grid":t=b;break;case"excel":t=w;break;case"pager":t=v;break;case"radio":t=S;break;case"checkbox":t=C;break;case"input":t=P;break;case"textarea":t=R;break;case"button":t=A;break;case"tooltip":t=j;break;case"message":t=E;break}var l=1,n=["name","desc","type","enum","defVal"];i.a.eachTree(t,function(a){a.id=l++,a.desc=a.descKey?e.$t(a.descKey):a.desc,n.forEach(function(e){a[e]=i.a.escape(a[e])})},{children:"list"}),e.tableData=t,e.defaultExpandRowKeys=t.filter(function(e){return e.list&&e.list.length}).map(function(e){return e.id}),e.loading=!1,e.handleSearch(),a()},100)})},cellClassNameFunc:function(e){var a=e.row,t=e.column;return{"api-disabled":a.disabled,"disabled-line-through":a.disabled&&"name"===t.property}},headerCellContextMenuEvent:function(e){var a=e.column;this.$refs.xTable.setCurrentColumn(a)},cellContextMenuEvent:function(e){var a=e.row;this.$refs.xTable.setCurrentRow(a)},contextMenuClickEvent:function(e){var a=this,t=e.menu,l=e.row,n=e.column,d=this.$refs.xTable;switch(t.code){case"hideColumn":d.hideColumn(n);break;case"showAllColumn":d.resetCustoms();break;case"resetColumn":d.resetAll();break;case"exportAll":d.exportCsv({data:i.a.toTreeArray(this.tableData,{children:"list"}),filename:"vxe-".concat(this.apiName,"_v").concat(s.version,".csv")});break;case"copy":l&&n&&m["a"].copy(l[n.property])&&this.$XMsg.message({message:this.$t("app.body.msg.copyToClipboard"),status:"success"});break;case"resize":this.filterName="",this.tableData=[],this.$nextTick(function(){d.clearAll(),a.loadList()});break;case"export":d.exportCsv({filename:"vxe-".concat(this.apiName,"_v").concat(s.version,".csv")});break;case"allExpand":d.setAllTreeExpansion(!0);break;case"allShrink":d.clearTreeExpand();break}},handleSearch:function(){var e=i.a.toString(this.filterName).trim().toLowerCase();if(e){var a=new RegExp(e,"gi"),t={children:"list"},l=["name","desc","type","enum","defVal"],n=i.a.searchTree(this.tableData,function(a){return l.some(function(t){return a[t].toLowerCase().indexOf(e)>-1})},t);i.a.eachTree(n,function(e){l.forEach(function(t){e[t]=e[t].replace(a,function(e){return''.concat(e,"")})})},t),this.apiList=n}else this.apiList=this.tableData},searchEvent:i.a.debounce(function(){this.handleSearch()},500,{leading:!1,trailing:!0})},beforeRouteUpdate:function(e,a,t){t(),this.filterName="",this.$refs.xTable&&this.$refs.xTable.clearAll()}},F=O,M=(t("d2e1"),t("2877")),T=Object(M["a"])(F,l,n,!1,null,null,null);a["default"]=T.exports},f11d:function(e,a,t){"use strict";var l=window.document,n=l.createElement("textarea");function s(e){var a=n.style;n.id="$XECopy",a.width="48px",a.height="24px",a.position="fixed",a.zIndex="0",a.left="-500px",a.top="-500px",n.value=null===e||void 0===e?"":""+e,n.parentNode||l.body.appendChild(n)}function d(e){return n.focus(),n.select(),n.setSelectionRange(0,n.value.length),l.execCommand("copy",!!e)}function i(e){var a=!1;try{s(e),a=d(),a||(a=d(1))}catch(t){}return a}i.copy=i,a["a"]=i}}]);
\ No newline at end of file
+(window["webpackJsonpVXETable"]=window["webpackJsonpVXETable"]||[]).push([["api"],{"79a6":function(e,a,t){},9224:function(e){e.exports={name:"vxe-table",version:"2.3.0",description:"A fully functional Vue table component.",scripts:{serve:"vue-cli-service serve",lint:"vue-cli-service lint",build:"vue-cli-service build","lib:modules":"gulp build","lib:pack":"vue-cli-service build --target lib --name index --dest lib index.js",lib:"npm run lib:pack && npm run lib:modules"},files:["lib","types","packages","styles"],main:"lib/index.common.js",style:"lib/index.css",unpkg:"lib/index.min.js",jsdelivr:"lib/index.min.js",typings:"types/index.d.ts",dependencies:{},devDependencies:{"@babel/core":"^7.4.4","@babel/preset-env":"^7.4.4","@vue/cli-plugin-babel":"^3.6.0","@vue/cli-plugin-eslint":"^3.6.0","@vue/cli-service":"^3.6.0","@vue/eslint-config-standard":"^4.0.0","ant-design-vue":"^1.3.13","babel-eslint":"^10.0.1","babel-plugin-import":"^1.12.0",babelify:"^10.0.0",browserify:"^16.2.3","core-js":"^2.6.5","element-ui":"^2.11.1",eslint:"^5.16.0","eslint-plugin-vue":"^5.0.0","file-saver":"^2.0.2","font-awesome":"^4.7.0",gulp:"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-babel":"^8.0.0","gulp-clean":"^0.4.0","gulp-clean-css":"^4.2.0","gulp-concat":"^2.6.1","gulp-rename":"^1.4.0","gulp-replace":"^1.0.0","gulp-sass":"^4.0.2","gulp-sourcemaps":"^2.6.5","gulp-uglify":"^3.0.2","highlight.js":"^9.15.9",iview:"^3.4.2",moment:"^2.24.0","node-sass":"^4.12.0","sass-loader":"^7.1.0",sortablejs:"^1.10.0-rc3",standalonify:"^0.1.3","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0",vue:"^2.6.10","vue-i18n":"^8.11.2","vue-router":"^3.0.3","vue-template-compiler":"^2.6.10","vxe-table-plugin-antd":"1.4.0","vxe-table-plugin-element":"1.4.0","vxe-table-plugin-excel":"^1.0.0","vxe-table-plugin-iview":"1.4.0","webpack-cli":"^3.3.1","xe-ajax":"^3.6.0","xe-ajax-mock":"^1.8.0","xe-clipboard":"^1.6.0","xe-utils":"^2.0.2",xlsx:"^0.14.3"},peerDependencies:{vue:"^2.6.10","xe-utils":"^1.9.0"},postcss:{plugins:{autoprefixer:{}}},repository:{type:"git",url:"git+https://github.com/xuliangzhan/vxe-table.git"},keywords:["vxe-table","vxe-editable","vue table","vue editable","vue excel"],author:{name:"Xu Liangzhan",email:"xu_liangzhan@163.com"},license:"MIT",bugs:{url:"https://github.com/xuliangzhan/vxe-table/issues"},homepage:"https://github.com/xuliangzhan/vxe-table#readme",browserslist:["> 1%","last 2 versions","not ie <= 8"]}},d2e1:function(e,a,t){"use strict";var l=t("79a6"),n=t.n(l);n.a},dcc0:function(e,a,t){"use strict";t.r(a);var l=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("vxe-toolbar",{attrs:{id:"document_api",loading:e.loading,refresh:{query:e.loadList},resizable:{storage:!0},setting:{storage:!0}},scopedSlots:e._u([{key:"buttons",fn:function(){return[t("vxe-input",{staticClass:"search-input",attrs:{type:"search",placeholder:"vxe-"+e.apiName+" "+e.$t("app.api.form.apiSearch")},on:{keyup:e.searchEvent},model:{value:e.filterName,callback:function(a){e.filterName=a},expression:"filterName"}})]},proxy:!0}])}),t("vxe-table",{ref:"xTable",staticClass:"api-table",attrs:{resizable:"","highlight-current-row":"","highlight-hover-row":"","highlight-current-column":"","row-id":"id",loading:e.loading,"cell-class-name":e.cellClassNameFunc,data:e.apiList,"tree-config":{children:"list",expandAll:!!e.filterName,expandRowKeys:e.defaultExpandRowKeys,trigger:"cell"},"context-menu":{header:{options:e.headerMenus},body:{options:e.bodyMenus}}},on:{"update:data":function(a){e.apiList=a},"header-cell-context-menu":e.headerCellContextMenuEvent,"cell-context-menu":e.cellContextMenuEvent,"context-menu-click":e.contextMenuClickEvent},scopedSlots:e._u([{key:"empty",fn:function(){return[t("span",{staticClass:"red"},[e._v("找不对应 API,请输入正确的关键字!")])]},proxy:!0}])},[t("vxe-table-column",{attrs:{field:"name",title:"app.api.title.prop","min-width":"280",filters:e.nameFilters,"tree-node":""},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.name||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"desc",title:"app.api.title.desc","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.desc||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"type",title:"app.api.title.type","min-width":"140"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.type||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"enum",title:e.$t("app.api.title.enum"),"min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.enum||" ")}})]}}])}),t("vxe-table-column",{attrs:{field:"defVal",title:e.$t("app.api.title.defVal"),"min-width":"160"},scopedSlots:e._u([{key:"default",fn:function(a){var l=a.row;return[t("span",{domProps:{innerHTML:e._s(l.defVal||" ")}})]}}])})],1)],1)},n=[],s=(t("a481"),t("3b2b"),t("6b54"),t("7f7f"),t("9224")),d=t("c695"),i=t.n(d),m=t("f11d"),o=[{name:"disabled",desc:"是否禁用右键",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"options",desc:"菜单配置",type:"Array",enum:"",defVal:"",list:[{name:"code",desc:"菜单键值",type:"String",enum:"",defVal:"",list:[]},{name:"name",desc:"菜单名称",type:"String",enum:"",defVal:"",list:[]},{name:"prefixIcon",desc:"前缀图标 className",type:"String",enum:"",defVal:"",list:[]},{name:"suffixIcon",desc:"后缀图标 className",type:"String",enum:"",defVal:"",list:[]},{name:"visible ",desc:"是否可视",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"disabled ",desc:"是否禁用",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"children ",desc:"二级菜单(最多只允许有二级)",type:"Array",enum:"",defVal:"",list:[{name:"code",desc:"菜单键值",type:"String",enum:"",defVal:"",list:[]},{name:"name",desc:"菜单名称",type:"String",enum:"",defVal:"",list:[]},{name:"prefixIcon",desc:"前缀图标 className",type:"String",enum:"",defVal:"",list:[]},{name:"visible ",desc:"是否可视",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"disabled ",desc:"是否禁用",type:"Boolean",enum:"",defVal:"false",list:[]}]}]}],p=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"data",descKey:"app.api.table.desc.data",type:"Array",enum:"",defVal:"",list:[]},{name:"customs",descKey:"app.api.table.desc.customs",type:"Array",enum:"",defVal:"",list:[]},{name:"height",descKey:"app.api.table.desc.height",type:"Number, String",enum:"auto, %, px",defVal:"",list:[]},{name:"max-height",descKey:"app.api.table.desc.maxHeight",type:"Number, String",enum:"%, px",defVal:"",list:[]},{name:"auto-resize",descKey:"app.api.table.desc.autoResize",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"resizable",descKey:"app.api.table.desc.resizable",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"stripe",descKey:"app.api.table.desc.stripe",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"border",descKey:"app.api.table.desc.border",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"size",descKey:"app.api.table.desc.size",type:"String",enum:"medium, small, mini",defVal:"",list:[]},{name:"fit",descKey:"app.api.table.desc.fit",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"loading",descKey:"app.api.table.desc.loading",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"align",descKey:"app.api.table.desc.align",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"left",list:[]},{name:"header-align",descKey:"app.api.table.desc.headerAlign",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"继承 align",list:[]},{name:"show-header",descKey:"app.api.table.desc.showHeader",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"start-index",descKey:"app.api.table.desc.startIndex",type:"Number",enum:"",defVal:"0",list:[]},{name:"highlight-current-row",descKey:"app.api.table.desc.highlightCurrentRow",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-hover-row",descKey:"app.api.table.desc.highlightHoverRow",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-current-column",descKey:"app.api.table.desc.highlightCurrentColumn",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-hover-column",descKey:"app.api.table.desc.highlightHoverColumn",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"highlight-cell",descKey:"app.api.table.desc.highlightCell",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"row-class-name",descKey:"app.api.table.desc.rowClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"cell-class-name",descKey:"app.api.table.desc.cellClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"header-row-class-name",descKey:"app.api.table.desc.headerRowClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"header-cell-class-name",descKey:"app.api.table.desc.headerCellClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"footer-row-class-name",descKey:"app.api.table.desc.footerRowClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"footer-cell-class-name",descKey:"app.api.table.desc.footerCellClassName",type:"String, Function",enum:"",defVal:"",list:[]},{name:"show-footer",descKey:"app.api.table.desc.showFooter",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"footer-method",descKey:"app.api.table.desc.footerMethod",type:"Function",enum:"",defVal:"",list:[]},{name:"span-method",descKey:"app.api.table.desc.spanMethod",type:"Object",enum:"",defVal:"{ rowspan: 1, colspan: 1}",list:[]},{name:"show-overflow",descKey:"app.api.table.desc.showOverflow",type:"Boolean, String",enum:"ellipsis(只显示省略号),title(并且显示为原生 title),tooltip(并且显示为 tooltip 提示)",defVal:"",list:[]},{name:"show-header-overflow",descKey:"app.api.table.desc.showHeaderOverflow",type:"Boolean, String",enum:"ellipsis(只显示省略号),title(并且显示为原生 title),tooltip(并且显示为 tooltip 提示)",defVal:"",list:[]},{name:"remote-sort",descKey:"app.api.table.desc.remoteSort",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"remote-filter",descKey:"app.api.table.desc.remoteFilter",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"column-width",descKey:"app.api.table.desc.columnWidth",type:"Number, String",enum:"px,%",defVal:"默认均匀分配",list:[]},{name:"column-min-width",descKey:"app.api.table.desc.columnMinWidth",type:"Number, String",enum:"px,%",defVal:"",list:[]},{name:"column-key",descKey:"app.api.table.desc.columnKey",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"row-key",descKey:"app.api.table.desc.rowKey",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"row-id",descKey:"app.api.table.desc.rowId",type:"String",enum:"",defVal:"_XID",list:[]},{name:"sort-config",descKey:"app.api.table.desc.sortConfig",type:"Object",enum:"",defVal:"",list:[{name:"trigger",desc:"触发方式",type:"String",enum:"default(点击按钮触发),cell(点击表头触发)",defVal:"default",list:[]}]},{name:"radio-config",descKey:"app.api.table.desc.radioConfig",type:"Object",enum:"",defVal:"",list:[{name:"labelField",desc:"单选框显示的字段名,可以直接显示在单选框中",type:"String",enum:"",defVal:"",list:[]},{name:"checkRowKey",desc:"默认选中开指定行(需要有 row-id)",type:"Row.rowId",enum:"",defVal:"",list:[]},{name:"checkMethod",desc:"是否允许选中的方法,该方法 Function({row, rowIndex}) 的返回值用来决定这一行的 Radio 是否可以选中",type:"Function",enum:"",defVal:"",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(默认),cell(点击单元格触发),row(点击行触发)",defVal:"default",list:[]}]},{name:"select-config",descKey:"app.api.table.desc.selectConfig",type:"Object",enum:"",defVal:"",list:[{name:"reserve",desc:"是否保留勾选状态,对于某些场景下非常有用,比如分页之后还保留之前选中的状态(需要有 row-id)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"labelField",desc:"复选框显示的字段名,可以直接显示在复选框中",type:"String",enum:"",defVal:"",list:[]},{name:"checkField",desc:"绑定选中属性,如果设置了该属性渲染速度更快(建议数据量大时使用)",type:"String",enum:"",defVal:"",list:[]},{name:"showHeader",desc:"是否显示全选按钮(如果 checkStrictly=true 则默认为 false)",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"checkAll",desc:"默认勾选所有",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"checkRowKeys",desc:"默认勾选开指定行(需要有 row-id)",type:"Array",enum:"",defVal:"",list:[]},{name:"checkStrictly",desc:"是否严格的遵循父子不互相关联的做法",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"checkMethod",desc:"是否允许勾选的方法,该方法 Function({row, rowIndex}) 的返回值用来决定这一行的 CheckBox 是否可以勾选",type:"Function",enum:"",defVal:"",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(默认),cell(点击单元格触发),row(点击行触发)",defVal:"default",list:[]}]},{name:"tooltip-config",descKey:"app.api.table.desc.tooltipConfig",type:"Object",enum:"",defVal:"",list:[{name:"zIndex",desc:"自定义 tooltip 的堆叠顺序(对于在弹框中使用是由于堆叠被覆盖时可能会用到)",type:"Number",enum:"",defVal:"99",list:[]},{name:"theme",desc:"列 tooltip 的主题",type:"String",enum:"dark,light",defVal:"dark",list:[]}]},{name:"expand-config",descKey:"app.api.table.desc.expandConfig",type:"Object",enum:"",defVal:"",list:[{name:"expandAll",desc:"默认展开所有行",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"expandRowKeys",desc:"默认展开指定行(需要有 row-id)",type:"Array",enum:"",defVal:"",list:[]},{name:"accordion",desc:"对于同一级的节点,每次只能展开一个",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(点击按钮触发),cell(点击单元格触发),row(点击行触发)",defVal:"default",list:[]}]},{name:"tree-config",descKey:"app.api.table.desc.treeConfig",type:"Object",enum:"",defVal:"",list:[{name:"children",desc:"树子节点的属性",type:"String",enum:"",defVal:"children",list:[]},{name:"indent",desc:"树节点的缩进",type:"Number",enum:"",defVal:"16",list:[]},{name:"expandAll",desc:"默认展开所有子孙树节点",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"expandRowKeys",desc:"默认展开指定树节点(需要有 row-id)",type:"Array",enum:"",defVal:"",list:[]},{name:"accordion",desc:"对于同一级的节点,每次只能展开一个",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"trigger",desc:"触发方式",type:"String",enum:"default(点击按钮触发), cell(点击单元格触发), row(点击行触发)",defVal:"default",list:[]}]},{name:"context-menu",descKey:"app.api.table.desc.contextMenu",type:"Object",enum:"",defVal:"",list:[{name:"header",desc:"表头的快捷菜单",type:"Object",enum:"",defVal:"",list:i.a.clone(o,!0)},{name:"body",desc:"内容的快捷菜单",type:"Object",enum:"",defVal:"",list:i.a.clone(o,!0)},{name:"footer",desc:"表尾的快捷菜单",type:"Object",enum:"",defVal:"",list:i.a.clone(o,!0)},{name:"trigger",desc:"触发方式",type:"String",enum:"default(默认触发),cell(右键单元格触发)",defVal:"default",list:[]},{name:"visibleMethod",desc:"该函数会在菜单显示之前执行,支持通过 Function({type, row?, rowIndex?, column?, columnIndex?}) 的返回值用来决定是否允许显示右键菜单(对于需要对菜单进行权限控制时可能会用到)",type:"Function",enum:"",defVal:"",list:[]}]},{name:"mouse-config",descKey:"app.api.table.desc.mouseConfig",type:"Object",enum:"",defVal:"",list:[{name:"selected",desc:"开启左键选中功能",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"keyboard-config",descKey:"app.api.table.desc.keyboardConfig",type:"Object",enum:"",defVal:"",list:[{name:"isArrow",desc:"开启方向键功能",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isDel",desc:"开启删除键功能",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isTab",desc:"开启 Tab 键功能",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isEdit",desc:"开启任意键进入编辑(功能键除外)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"editMethod",desc:"只对 isEdit=true 有效,用于重写选中编辑处理逻辑,该函数 Function({seq, row, rowIndex, column, columnIndex, cell}) 可以返回 false 来阻止默认行为",type:"Function",enum:"",defVal:"",list:[]}]},{name:"edit-config",descKey:"app.api.table.desc.editConfig",type:"Object",enum:"",defVal:"",list:[{name:"trigger",desc:"触发方式",type:"String",enum:"manual(手动触发方式,只能用于 mode=row),click(点击触发编辑),dblclick(双击触发编辑)",defVal:"click",list:[]},{name:"mode",desc:"编辑模式",type:"String",enum:"cell(单元格编辑模式),row(行编辑模式)",defVal:"cell",list:[]},{name:"showIcon",desc:"是否显示列头编辑图标",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"showStatus",desc:"是否显示单元格值的修改状态",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"autoClear",desc:"当点击非编辑列之后,是否自动清除单元格的激活状态",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"activeMethod",desc:"该方法 Function({row, rowIndex, column, columnIndex}) 决定该单元格是否允许编辑",type:"Function",enum:"",defVal:"",list:[]}]},{name:"valid-config",descKey:"app.api.table.desc.validConfig",type:"Object",enum:"",defVal:"",list:[{name:"message",desc:"校验提示框的方式",type:"String",enum:"default(如果不设置高度,则默认第一行使用 tooltip,之后使用 inline), none(关闭提示), inline(强制使用内联的提示), tooltip(强制使用 tooltip 提示)",defVal:"default",list:[]},{name:"maxWidth",desc:"所有提示框的最大宽度(对于列比较小的场景下可能会用到)",type:"Number",enum:"",defVal:"320",list:[]}]},{name:"edit-rules",descKey:"app.api.table.desc.editRules",type:"Object",enum:"",defVal:"",list:[{name:"required",desc:"是否必填",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"min",desc:"校验值最小长度(如果 type=number 则比较值大小)",type:"Number",enum:"",defVal:"",list:[]},{name:"max",desc:"校验值最大长度(如果 type=number 则比较值大小)",type:"Number",enum:"",defVal:"",list:[]},{name:"type",desc:"数据校验的类型",type:"String",enum:"number, string",defVal:"string",list:[]},{name:"pattern",desc:"正则校验",type:"RegExp",enum:"",defVal:"",list:[]},{name:"validator",desc:'自定义校验方法,Function(rule, value, callback, {rules,row,column,rowIndex,columnIndex}),通过调用 callback() 则校验成功,调用 callback(new Error("该字段必填")) 则校验失败',type:"Function",enum:"",defVal:"",list:[]},{name:"message",desc:"校验提示内容(支持开启国际化)",type:"String, Function",enum:"",defVal:"",list:[]},{name:"trigger",desc:"触发校验方式(如果为空,则为常规校验方式; 如果指定触发方式,则只会在匹配情况下进行校验)",type:"String",enum:"blur,change",defVal:"",list:[]},{name:"maxWidth",desc:"提示框的最大宽度(对于列比较小的场景下可能会用到)",type:"Number",enum:"",defVal:"320",list:[]}]},{name:"optimization",descKey:"app.api.table.desc.optimization",type:"Object",enum:"",defVal:"",list:[{name:"animat",desc:"表格动画效果开关(关闭后视觉效果更快)",type:"Object",enum:"",defVal:"true",list:[]},{name:"scrollX",desc:"横向 X 虚拟滚动配置(用于特殊场景手动调优)",type:"Object",enum:"",defVal:"",list:[{name:"gt",desc:"指定大于多少范围时自动启动虚拟滚动(启用 X 虚拟滚动,必须固定所有列宽,否则无法兼容)",type:"Number",enum:"",defVal:"100",list:[]},{name:"oSize",desc:"当剩余数据少于指定范围时触发重新渲染",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"rSize",desc:"每次渲染条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"vSize",desc:"指定可视区域条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]}]},{name:"scrollY",desc:"纵向 Y 虚拟滚动配置(用于特殊场景手动调优)",type:"Object",enum:"",defVal:"",list:[{name:"gt",desc:"指定大于多少范围时自动启动虚拟滚动(启用 Y 虚拟滚动,必须固定所有行高,否则无法兼容)",type:"Number",enum:"",defVal:"500",list:[]},{name:"oSize",desc:"当剩余数据少于指定范围时触发重新渲染",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"rSize",desc:"每次渲染条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"vSize",desc:"指定可视区域条数",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"rHeight",desc:"指定行高",type:"Number",enum:"",defVal:"默认自动计算",list:[]},{name:"adaptive",desc:"自动适配最优的渲染方式",type:"Boolean",enum:"",defVal:"true",list:[]}]}]},{name:"params",descKey:"app.api.table.desc.params",type:"Object",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"empty",descKey:"app.api.table.desc.empty",type:"",enum:"",defVal:"暂无数据",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"current-change",descKey:"app.api.table.desc.currentChange",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"radio-change",descKey:"app.api.table.desc.radioChange",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"select-change",descKey:"app.api.table.desc.selectChange",type:"",enum:"",defVal:"{selection,checked,row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"select-all",descKey:"app.api.table.desc.selectAll",type:"",enum:"",defVal:"{selection,checked},event",list:[]},{name:"cell-click",descKey:"app.api.table.desc.cellClick",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"cell-dblclick",descKey:"app.api.table.desc.cellDblclick",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"cell-context-menu",descKey:"app.api.table.desc.cellContextmenu",type:"",enum:"",defVal:"{type,row,rowIndex,column,columnIndex,cell},event",list:[]},{name:"cell-mouseenter",descKey:"app.api.table.desc.cellMouseenter",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"cell-mouseleave",descKey:"app.api.table.desc.cellMouseleave",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"header-cell-click",descKey:"app.api.table.desc.headerCellClick",type:"",enum:"",defVal:"{triggerResizable,triggerSort,triggerFilter,$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"header-cell-dblclick",descKey:"app.api.table.desc.headerCellDblclick",type:"",enum:"",defVal:"{$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"header-cell-context-menu",descKey:"app.api.table.desc.headerCellContextmenu",type:"",enum:"",defVal:"{type,column,columnIndex,cell},event",list:[]},{name:"footer-cell-click",descKey:"app.api.table.desc.footerCellClick",type:"",enum:"",defVal:"{$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"footer-cell-dblclick",descKey:"app.api.table.desc.footerCellDblclick",type:"",enum:"",defVal:"{$rowIndex,column,columnIndex,$columnIndex,cell},event",list:[]},{name:"footer-cell-context-menu",descKey:"app.api.table.desc.footerCellContextmenu",type:"",enum:"",defVal:"{type,column,columnIndex,cell},event",list:[]},{name:"sort-change",descKey:"app.api.table.desc.sortChange",type:"",enum:"",defVal:"{column,property,order}",list:[]},{name:"filter-change",descKey:"app.api.table.desc.filterChange",type:"",enum:"",defVal:"{column,property,values,datas,filters}",list:[]},{name:"resizable-change",descKey:"app.api.table.desc.resizableChange",type:"",enum:"",defVal:"{$rowIndex, column, columnIndex, $columnIndex, fixed, isHidden}",list:[]},{name:"toggle-expand-change",descKey:"app.api.table.desc.toggleExpandChange",type:"",enum:"",defVal:"{row,rowIndex},event",list:[]},{name:"toggle-tree-change",descKey:"app.api.table.desc.toggleTreeChange",type:"",enum:"",defVal:"{row,rowIndex},event",list:[]},{name:"context-menu-click",descKey:"app.api.table.desc.contextMenuClick",type:"",enum:"",defVal:"{menu,type,row,rowIndex,column,columnIndex,cell},event",list:[]},{name:"edit-closed",descKey:"app.api.table.desc.editClosed",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"edit-actived",descKey:"app.api.table.desc.editActived",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"edit-disabled",descKey:"app.api.table.desc.editDisabled",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"valid-error",descKey:"app.api.table.desc.validError",type:"",enum:"",defVal:"{rule,row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",list:[]},{name:"scroll",descKey:"app.api.table.desc.scroll",type:"",enum:"",defVal:"{type,fixed,scrollTop,scrollLeft,isX,isY},event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"loadData(datas)",desc:"加载数据(对于表格数据需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"datas",list:[]},{name:"reloadData(datas)",desc:"加载数据并恢复到初始状态(对于表格数据需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"datas",list:[]},{name:"updateData()",desc:"手动处理数据(对于手动更改了排序、筛选...等条件后需要重新处理数据时可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"refreshData()",desc:"同步刷新 data 数据;如果用了该方法,那么组件将不再记录增删改的状态,只能自行实现对应逻辑(对于某些特殊的场景,比如深层树节点元素发生变动时可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"reloadCustoms(customs)",desc:"初始化加载显示/隐藏列(对于异步更新的场景下可能会用到)",type:"Promise",enum:"",defVal:"customs",list:[]},{name:"loadColumn(columns)",desc:"加载列配置(对于表格列需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"columns",list:[]},{name:"reloadColumn(columns)",desc:"加载列配置并恢复到初始状态(对于表格列需要重载、局部递增场景下可能会用到)",type:"Promise",enum:"",defVal:"columns",list:[]},{name:"refreshColumn()",desc:"刷新列配置(对于显示/隐藏列场景下可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"createRow(records)",desc:"创建 Row|Rows 对象(对于某些特殊场景需要对数据进行手动插入时可能会用到)",type:"Promise",enum:"",defVal:"records",list:[]},{name:"createData(records)",desc:"创建 data 对象(对于某些特殊场景可能会用到,会自动对数据的字段名进行检测,如果不存在就自动定义)",type:"Promise",enum:"",defVal:"records",list:[]},{name:"insert(records)",desc:"往表格插入数据,从第一行新增一行或多行新数据",type:"Promise<{row, rows}>",enum:"",defVal:"records",list:[]},{name:"insertAt(records, row)",desc:"往表格插入数据,从指定位置插入一行或多行;第二个参数:row 指定位置(不支持树表格)、null从第一行插入、-1 从最后插入",type:"Promise<{row, rows}>",enum:"",defVal:"records, row",list:[]},{name:"revert(rows, field)",desc:"还原更改,还原指定行 row 或者整个表格的数据",type:"Promise",enum:"",defVal:"rows?, field?",list:[]},{name:"remove(rows)",desc:"删除指定行数据,指定 row 或 [row, ...] 删除多条数据",type:"Promise<{row, rows}>",enum:"",defVal:"rows",list:[]},{name:"removeSelecteds()",desc:"删除已选中的所有行数据",type:"Promise<{row, rows}>",enum:"",defVal:"",list:[]},{name:"getRowIndex(row)",desc:"根据 row 获取相对于 data 中的索引",type:"Number",enum:"",defVal:"row",list:[]},{name:"getRowNode(tr)",desc:"根据 tr 元素获取对应的 row 信息",type:"{item, items, index, parent}",enum:"",defVal:"tr",list:[]},{name:"getColumns(columnIndex)",desc:"获取表格的可视列,也可以指定索引获取列",type:"Array",enum:"",defVal:"columnIndex?",list:[]},{name:"getColumnById(colid)",desc:"根据列的唯一主键获取列",type:"Column",enum:"",defVal:"colid",list:[]},{name:"getColumnByField(field)",desc:"根据列的字段名获取列",type:"Column",enum:"",defVal:"field",list:[]},{name:"getTableColumn()",desc:"获取当前表格的列(完整的列、处理条件之后的的列、当前渲染中的列)",type:"{fullColumn, visibleColumn, tableColumn}",enum:"",defVal:"",list:[]},{name:"getColumnIndex(column)",desc:"根据 column 获取相对于 columns 中的索引",type:"Number",enum:"",defVal:"column",list:[]},{name:"getColumnNode(cell)",desc:"根据 th/td 元素获取对应的 column 信息",type:"{item, items, index, parent}",enum:"",defVal:"cell",list:[]},{name:"getTableData()",desc:"获取当前表格的数据(完整的数据、处理条件之后的数据、当前渲染中的数据)",type:"{fullData, visibleData, tableData}",enum:"",defVal:"",list:[]},{name:"getRowById(rowid)",desc:"根据行的唯一主键获取行",type:"Row",enum:"",defVal:"rowid",list:[]},{name:"getRecords(rowIndex)",disabled:!0,desc:"即将废弃,请使用 getData",type:"Array",enum:"",defVal:"rowIndex?",list:[]},{name:"getData(rowIndex)",desc:"获取数据,和 data 的行为一致,也可以指定索引获取数据",type:"Array",enum:"",defVal:"rowIndex?",list:[]},{name:"getAllRecords()",disabled:!0,desc:"即将废弃,请使用 getRecordset",type:"{insertRecords, removeRecords, updateRecords}",enum:"",defVal:"",list:[]},{name:"getRecordset()",desc:"获取表格数据集(获取新增、删除、更改的数据,对于增删改查表格非常方便)",type:"{insertRecords, removeRecords, updateRecords}",enum:"",defVal:"",list:[]},{name:"getInsertRecords()",desc:"获取新增的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getRemoveRecords()",desc:"获取已删除的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getUpdateRecords()",desc:"获取已修改的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getCurrentRow()",desc:"用于当前行,获取当前行的数据",type:"Row",enum:"",defVal:"",list:[]},{name:"getRadioRow()",desc:"用于单选行,获取当已选中的数据",type:"Row",enum:"",defVal:"",list:[]},{name:"getSelectRecords()",desc:"用于多选行,获取已选中的数据",type:"Array",enum:"",defVal:"",list:[]},{name:"getActiveRow()",desc:"获取已激活的行数据",type:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,cell}",enum:"",defVal:"row",list:[]},{name:"getVirtualScroller()",desc:"获取虚拟滚动相关状态",type:"{scrollX, scrollY, scrollTop, scrollLeft}",enum:"",defVal:"",list:[]},{name:"hasActiveRow(row)",desc:"检查行是否已激活为编辑状态",type:"Boolean",enum:"",defVal:"row",list:[]},{name:"hasRowChange(row, field)",desc:"检查行或列数据是否发生改变",type:"Boolean",enum:"",defVal:"row, field?",list:[]},{name:"hasRowExpand(row)",desc:"检查行是否已展开",type:"Boolean",enum:"",defVal:"row",list:[]},{name:"hasTreeExpand(row)",desc:"检查树节点是否已展开",type:"Boolean",enum:"",defVal:"row",list:[]},{name:"setActiveRow(row)",desc:"激活行编辑,如果是 mode=cell 则默认激活第一个单元格",type:"Promise",enum:"",defVal:"row",list:[]},{name:"setActiveCell(row, field)",desc:"激活单元格编辑",type:"Promise",enum:"",defVal:"row, field",list:[]},{name:"setSelectCell(row, field)",desc:"选中某个单元格",type:"Promise",enum:"",defVal:"row, field",list:[]},{name:"setRowExpansion(rows, checked)",desc:"设置展开行,二个参数设置这一行展开与否",type:"Promise",enum:"",defVal:"rows, checked",list:[]},{name:"setAllRowExpansion(checked)",desc:"设置所有行的展开与否",type:"Promise",enum:"",defVal:"checked",list:[]},{name:"setTreeExpansion(rows, checked)",desc:"设置展开树形节点,二个参数设置这一行展开与否",type:"Promise",enum:"",defVal:"rows, checked",list:[]},{name:"setAllTreeExpansion(checked)",desc:"设置所有树节点的展开与否",type:"Promise",enum:"",defVal:"checked",list:[]},{name:"setCurrentRow(row)",desc:"用于当前行,设置某一行为高亮状态",type:"Promise",enum:"",defVal:"row",list:[]},{name:"setCurrentColumn(column)",desc:"用于当前列,设置某列行为高亮状态",type:"Promise",enum:"",defVal:"column",list:[]},{name:"setRadioRow(row)",desc:"用于单选行,设置某一行为选中状态",type:"Promise",enum:"",defVal:"row",list:[]},{name:"setSelection(rows, checked)",desc:"用于多选行,设置行为选中状态,第二个参数为选中与否",type:"Promise",enum:"",defVal:"rows, checked",list:[]},{name:"setAllSelection(checked)",desc:"用于多选行,设置所有行的选中状态",type:"Promise",enum:"",defVal:"checked",list:[]},{name:"toggleRowSelection(row)",desc:"用于多选行,切换某一行的选中状态",type:"Promise",enum:"",defVal:"row",list:[]},{name:"toggleAllSelection()",desc:"用于多选行,切换所有行的选中状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"toggleRowExpansion(row)",desc:"用于可展开表格,切换展开行",type:"Promise",enum:"",defVal:"row",list:[]},{name:"toggleTreeExpansion(row)",desc:"用于可树形表格,切换展开树形节点",type:"Promise",enum:"",defVal:"row",list:[]},{name:"clearCurrentRow()",desc:"用于当前行,手动清空当前高亮的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearCurrentColumn()",desc:"用于当前列,手动清空当前高亮的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearRadioRow()",desc:"用于单选行,手动清空用户的选择",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearSelection()",desc:"用于多选行,手动清空用户的选择",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearRowExpand()",desc:"手动清空展开行状态,数据会恢复成未展开的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearTreeExpand()",desc:"手动清空树形节点的展开状态,数据会恢复成未展开的状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearSort(field)",desc:"手动清空排序条件,数据会恢复成未排序的状态(如果不传 field 则清空所有排序条件)",type:"Promise",enum:"",defVal:"field?",list:[]},{name:"clearFilter(field)",desc:"手动清空筛选条件(如果不传 field 则清空所有筛选条件),数据会恢复成未筛选的状态",type:"Promise",enum:"",defVal:"field?",list:[]},{name:"clearSelected()",desc:"手动清除单元格选中状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearActived()",desc:"手动清除单元格激活状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearData(rows, field)",desc:"手动清空单元格内容,如果不创参数,则清空整个表格内容,如果传了行则清空指定行内容,如果传了指定字段,则清空该字段内容",type:"Promise",enum:"",defVal:"rows?, field?",list:[]},{name:"clearScroll()",desc:"手动清除滚动相关信息,还原到初始状态",type:"Promise",enum:"",defVal:"",list:[]},{name:"clearAll()",desc:"手动清除表格所有条件,还原到初始状态(对于增删改查的场景中可能会用到,比如在数据保存之后清除表格缓存)",type:"Promise",enum:"",defVal:"",list:[]},{name:"resetCustoms()",desc:"手动重置列的显示/隐藏操作,还原到初始状态(如果已关联工具栏,则会同步更新)",type:"Promise",enum:"",defVal:"",list:[]},{name:"resetResizable()",desc:"手动重置列宽拖动的操作,还原到初始状态(如果已关联工具栏,则会同步更新)",type:"Promise",enum:"",defVal:"",list:[]},{name:"resetAll()",desc:"手动重置列的所有操作,还原到初始状态(如果已关联工具栏,则会同步更新)",type:"Promise",enum:"",defVal:"",list:[]},{name:"closeFilter()",desc:"手动关闭筛选面板(某些特殊场景可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"clostTooltip()",desc:"手动关闭 tooltip 提示(某些特殊场景可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"closeMenu()",desc:"手动关闭快捷菜单(某些特殊场景可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"updateFooter()",desc:"手动更新表尾合计(对于某些需要频繁更新的场景下可能会用到)",type:"Promise",enum:"",defVal:"",list:[]},{name:"updateStatus(scope)",desc:"更新单元格状态(当使用自定义渲染时可能会用到)",type:"Promise",enum:"",defVal:"{ row, column }",list:[]},{name:"hideColumn(column)",desc:"隐藏指定列",type:"Promise",enum:"",defVal:"column",list:[]},{name:"showColumn(column)",desc:"显示指定列",type:"Promise",enum:"",defVal:"column",list:[]},{name:"scrollTo(scrollLeft, scrollTop)",desc:"如果有滚动条,则滚动到对应的位置",type:"Promise",enum:"",defVal:"scrollLeft?, scrollTop?",list:[]},{name:"scrollToRow(row)",desc:"如果有滚动条,则滚动到对应的行",type:"Promise",enum:"",defVal:"row",list:[]},{name:"scrollToColumn(column)",desc:"如果有滚动条,则滚动到对应的列",type:"Promise",enum:"",defVal:"column",list:[]},{name:"sort(field, order)",desc:"手动对表格进行排序(如果 order 为空则自动切换排序)",type:"Promise",enum:"",defVal:"field, order?",list:[]},{name:"filter(field, callback)",desc:"手动对表格进行筛选,还可以通过 callback 返回新的选项列表",type:"Promise",enum:"",defVal:"field, callback?",list:[]},{name:"recalculate()",desc:"重新计算表格(对于某些特殊场景可能会用到,比如隐藏的表格、更新列宽...等)",type:"Promise",enum:"",defVal:"",list:[]},{name:"validate(rows, callback)",desc:"表格校验函数,如果指定 row 或 rows 则校验指定一行或多行,否则校验整个表格。该回调函数会在校验结束后被调用,并传入两个参数:(是否校验成功,最近一列未通过校验的字段)。若不传入回调函数,则会返回一个 promise",type:"Promise",enum:"",defVal:"rows?, callback?",list:[]},{name:"fullValidate(rows, callback)",desc:"表格完整校验函数,和 validate 的区别就是会对全量数据的所有规则进行完整校验",type:"Promise",enum:"",defVal:"rows?, callback?",list:[]},{name:"exportCsv(options)",desc:"将表格数据导出为 .csv 文件(支持所有主流的浏览器,不支持合并行或列)",type:"Promise",enum:"",defVal:"options",list:[{name:"filename",desc:"文件名",type:"String",enum:"",defVal:"table.csv",list:[]},{name:"original",desc:"是否导出源数据(特殊场景只能是 true, 比如虚拟滚动、优化的固定列..)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"isHeader",desc:"是否导出表头",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"isFooter",desc:"是否导出表尾",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"download",desc:"是否马上下载,如果设置为 false 则通过返回结果为内容的 Promise",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"data",desc:"自定义数据",type:"Array",enum:"",defVal:"",list:[]},{name:"columns",desc:"自定义列",type:"Array",enum:"",defVal:"",list:[]},{name:"columnFilterMethod",desc:"列过滤方法,该函数 Function(column,columnIndex) 的返回值用来决定该列是否导出",type:"Function",enum:"",defVal:"默认过滤掉 type=index,selection,radio 和 field 为空的列",list:[]},{name:"dataFilterMethod",desc:"数据过滤方法,该函数 Function(row,rowIndex) 的返回值用来决定该数据是否导出",type:"Function",enum:"",defVal:"",list:[]}]}]}],c=p,r=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"type",descKey:"app.api.tableColumn.desc.type",type:"String",enum:"index(序号), selection(复选框), radio(单选框), expand(展开行)",defVal:"",list:[]},{name:"field",descKey:"app.api.tableColumn.desc.field",type:"String",enum:"",defVal:"",list:[]},{name:"title",descKey:"app.api.tableColumn.desc.title",type:"String",enum:"",defVal:"",list:[]},{name:"width",descKey:"app.api.tableColumn.desc.width",type:"Number, String",enum:"px,%",defVal:"继承 table 的 column-width",list:[]},{name:"min-width",descKey:"app.api.tableColumn.desc.minWidth",type:"Number, String",enum:"px,%",defVal:"继承 table 的 column-min-width",list:[]},{name:"resizable",descKey:"app.api.tableColumn.desc.resizable",type:"Boolean",enum:"",defVal:"继承 table 的 resizable",list:[]},{name:"fixed",descKey:"app.api.tableColumn.desc.fixed",type:"String",enum:"left(固定左侧), right(固定右侧)",defVal:"",list:[]},{name:"align",descKey:"app.api.tableColumn.desc.align",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"继承 table 的 align",list:[]},{name:"header-align",descKey:"app.api.tableColumn.desc.headerAlign",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"继承 align > 继承 table 的 header-align",list:[]},{name:"show-overflow",descKey:"app.api.tableColumn.desc.showOverflow",type:"String,Boolean",enum:"ellipsis(只显示省略号), title(并且显示为原生 title), tooltip(并且显示为 tooltip 提示)",defVal:"继承 table 的 show-overflow",list:[]},{name:"show-header-overflow",descKey:"app.api.tableColumn.desc.showHeaderOverflow",type:"String,Boolean",enum:"ellipsis(只显示省略号), title(并且显示为原生 title), tooltip(并且显示为 tooltip 提示)",defVal:"继承 table 的 show-header-overflow",list:[]},{name:"formatter",descKey:"app.api.tableColumn.desc.formatter",type:"Function, Array, String",enum:"",defVal:"",list:[]},{name:"index-method",descKey:"app.api.tableColumn.desc.indexMethod",type:"Function",enum:"",defVal:"",list:[]},{name:"sortable",descKey:"app.api.tableColumn.desc.sortable",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"sort-by",descKey:"app.api.tableColumn.desc.sortBy",type:"String, Array",enum:"",defVal:"",list:[]},{name:"remote-sort",descKey:"app.api.tableColumn.desc.remoteSort",type:"Boolean",enum:"",defVal:"继承 table 的 remote-sort",list:[]},{name:"filters",descKey:"app.api.tableColumn.desc.filters",type:"Array",enum:"",defVal:"",list:[{name:"label",desc:"显示的值",type:"String",enum:"",defVal:"",list:[]},{name:"value",desc:"实际的值",type:"Any",enum:"",defVal:"",list:[]},{name:"checked",desc:"默认是否选中",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"data",desc:"自定义渲染的数据值(当使用自定义模板时可能会用到)",type:"Any",enum:"",defVal:"",list:[]}]},{name:"filter-multiple",descKey:"app.api.tableColumn.desc.filterMultiple",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"filter-method",descKey:"app.api.tableColumn.desc.filterMethod",type:"Function",enum:"",defVal:"",list:[]},{name:"filter-render",descKey:"app.api.tableColumn.desc.filterRender",type:"Object",enum:"",defVal:"",list:[{name:"name",desc:"渲染器名称",type:"String",enum:"input, textarea, select",defVal:"",list:[]},{name:"props",desc:"渲染的参数(请查看目标渲染的 Props)",type:"Object",enum:"",defVal:"",list:[]},{name:"attrs",desc:"渲染的属性(请查看目标渲染的 Attrs)",type:"Object",enum:"",defVal:"",list:[]},{name:"events",desc:"渲染组件的事件(请查看目标渲染的 Events)",type:"Object",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[目标渲染的 arguments]",list:[]}]},{name:"cell-render",descKey:"app.api.tableColumn.desc.cellRender",type:"Object",enum:"",defVal:"",list:[{name:"name",desc:"渲染器名称",type:"String",enum:"input, textarea, select",defVal:"",list:[]},{name:"props",desc:"渲染的参数(请查看目标渲染的 Props)",type:"Object",enum:"",defVal:"",list:[]},{name:"attrs",desc:"渲染的属性(请查看目标渲染的 Attrs)",type:"Object",enum:"",defVal:"",list:[]},{name:"options",desc:"只对 name=select 有效,下拉选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionProps",desc:"只对 name=select 有效,下拉选项属性参数配置",type:"Object",enum:"",defVal:"{ value, label }",list:[]},{name:"optionGroups",desc:"只对 name=select 有效,下拉分组选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionGroupProps",desc:"只对 name=select 有效,下拉分组选项属性参数配置",type:"Object",enum:"",defVal:"{ options, label }",list:[]},{name:"events",desc:"渲染组件的事件(请查看目标渲染的 Events)",type:"Object",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[目标渲染的 arguments]",list:[]}]},{name:"edit-render",descKey:"app.api.tableColumn.desc.editRender",type:"Object",enum:"",defVal:"",list:[{name:"type",desc:"渲染类型",type:"String",enum:"default(组件触发后可视),visible(组件一直可视)",defVal:"default",list:[]},{name:"name",desc:"渲染器名称",type:"String",enum:"input, textarea, select",defVal:"",list:[]},{name:"props",desc:"渲染的参数(请查看目标渲染的 Props)",type:"Object",enum:"",defVal:"",list:[]},{name:"attrs",desc:"渲染的属性(请查看目标渲染的 Attrs)",type:"Object",enum:"",defVal:"",list:[]},{name:"options",desc:"只对 name=select 有效,下拉选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionProps",desc:"只对 name=select 有效,下拉选项属性参数配置",type:"Object",enum:"",defVal:"{ value, label }",list:[]},{name:"optionGroups",desc:"只对 name=select 有效,下拉分组选项列表",type:"Array",enum:"",defVal:"",list:[]},{name:"optionGroupProps",desc:"只对 name=select 有效,下拉分组选项属性参数配置",type:"Object",enum:"",defVal:"{ options, label }",list:[]},{name:"events",desc:"渲染组件的事件(请查看目标渲染的 Events)",type:"Object",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[目标渲染的 arguments]",list:[]},{name:"autofocus",desc:"如果是自定义渲染可以指定聚焦的 class",type:"String",enum:"",defVal:"",list:[]},{name:"autoselect",desc:"是否在激活编辑之后自动选中输入框内容",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"tree-node",descKey:"app.api.tableColumn.desc.treeNode",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"params",descKey:"app.api.tableColumn.desc.params",type:"Object",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"default",desc:"自定义显示内容模板",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]},{name:"header",desc:"自定义表头内容的模板",type:"",enum:"",defVal:"{column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]},{name:"filter",desc:"自定义筛选模板",type:"",enum:"",defVal:"{column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]},{name:"edit",desc:"自定义可编辑组件模板",type:"",enum:"",defVal:"{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex,fixed,isHidden}, h",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],u=r,y=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"id",descKey:"app.api.toolbar.desc.id",type:"String",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.toolbar.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"loading",descKey:"app.api.toolbar.desc.loading",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"refresh",descKey:"app.api.toolbar.desc.refresh",type:"Boolean,Object",enum:"",defVal:"",list:[{name:"query",desc:"查询的方法",type:"Function / Promise",enum:"",defVal:"",list:[]}]},{name:"resizable",descKey:"app.api.toolbar.desc.resizable",type:"Boolean,Object",enum:"",defVal:"",list:[{name:"storage",desc:"是否启用 localStorage 本地保存,会将保存列宽拖动的状态保存到本地(需要设置 id)",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"setting",descKey:"app.api.toolbar.desc.setting",type:"Boolean,Object",enum:"",defVal:"",list:[{name:"trigger",desc:"触发方式",type:"String",enum:"manual,click,hover",defVal:"click",list:[]},{name:"immediate",desc:"列勾选之后是否实时同步",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"storage",desc:"是否启用 localStorage 本地保存,会将列的隐藏状态保存到本地(需要设置 id)",type:"Boolean",enum:"",defVal:"false",list:[]}]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"buttons",desc:"按钮列表",type:"",enum:"",defVal:"{}, h",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"updateSetting()",desc:"手动更新列自定义的操作状态",type:"",enum:"",defVal:"",list:[]},{name:"updateResizable()",desc:"手动更新列宽拖动的操作状态",type:"",enum:"",defVal:"",list:[]}]}],f=y,V=(t("7514"),[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"toolbar",descKey:"app.api.grid.desc.toolbar",type:"Object",enum:"",defVal:"",list:i.a.clone(f.find(function(e){return"Props"===e.name}).list,!0).concat([{name:"buttons",desc:"按钮列表",type:"Array",enum:"",defVal:"",list:[{name:"name",desc:"按钮名称(支持开启国际化)",type:"String",enum:"",defVal:"",list:[]},{name:"code",desc:"按钮编码",type:"String",enum:"",defVal:"",list:[{name:"reload",desc:"刷新数据,会重置分页;触发 ajax.query 方法",type:"",enum:"",defVal:"",list:[]},{name:"query",desc:"刷新数据;会自动触发 ajax.query 方法",type:"",enum:"",defVal:"",list:[]},{name:"insert",desc:"新增数据",type:"",enum:"",defVal:"",list:[]},{name:"insert_actived",desc:"新增数据并且默认激活第一个可编辑的单元格",type:"",enum:"",defVal:"",list:[]},{name:"mark_cancel",desc:"将选中的数据标记或取消删除",type:"",enum:"",defVal:"",list:[]},{name:"delete_selection",desc:"删除选中行;会自动触发 ajax.delete 方法",type:"",enum:"",defVal:"",list:[]},{name:"remove_selection",desc:"移除选中行",type:"",enum:"",defVal:"",list:[]},{name:"save",desc:"保存数据;会自动触发 ajax.save 方法,并且在 Promise 完成之后重新触发 ajax.query 方法",type:"",enum:"",defVal:"",list:[]},{name:"export",desc:"导出数据",type:"",enum:"",defVal:"",list:[]},{name:"reset_custom",desc:"重置个性化数据(显示/隐藏列、列宽拖动状态)",type:"",enum:"",defVal:"",list:[]}]},{name:"dropdowns",desc:"下拉按钮列表",type:"Array",enum:"",defVal:"",list:[]}]}]).concat([{name:"slots",descKey:"app.api.title.slots",type:"Object",enum:"",defVal:"",list:i.a.clone(f.find(function(e){return"Slots"===e.name}).list,!0)}])},{name:"pager-config",descKey:"app.api.grid.desc.pagerConfig",type:"Object",enum:"",defVal:"",list:[{name:"current-page",desc:"当前页",type:"Number",enum:"",defVal:"1",list:[]},{name:"page-size",desc:"每页大小",type:"Number",enum:"",defVal:"10",list:[]},{name:"total",desc:"总条数",type:"Number",enum:"",defVal:"0",list:[]},{name:"pager-count",desc:"显示页码按钮的数量",type:"Number",enum:"",defVal:"7",list:[]},{name:"page-sizes",desc:"每页大小选项列表",type:"Array",enum:"",defVal:"[10,15,20,50,100]",list:[]},{name:"background",desc:"带背景颜色",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"proxy-config",descKey:"app.api.grid.desc.proxyConfig",type:"Object",enum:"",defVal:"",list:[{name:"autoLoad",desc:"是否自动加载查询数据",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"message",desc:"是否显示消息提示",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"index",desc:"存在 type=index 列时有效,是否代理动态序号(根据分页动态变化)",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"sort",desc:"是否代理排序",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"filter",desc:"是否代理筛选",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"props",desc:"获取的属性配置",type:"Object",enum:"",defVal:"",list:[{name:"list",desc:"响应结果中获取数据列表的属性",type:"String",enum:"",defVal:"",list:[]},{name:"result",desc:"只对 pager-config 配置了有效,响应结果中获取数据列表的属性",type:"String",enum:"",defVal:"result",list:[]},{name:"total",desc:"只对 pager-config 配置了有效,响应结果中获取分页的属性",type:"String",enum:"",defVal:"page.total",list:[]}]},{name:"ajax",desc:"代理配置(任何使用 Promise API 的任何库都可以对接数据代理)",type:"Object",enum:"",defVal:"",list:[{name:"query",desc:"查询方法 Function({ page, sort, filters }, ...arguments),默认处理的数据结构 {page: {total: 0}, result: []};如果使用了服务端排序,sort 属性可以获取相关信息;如果使用了服务端过滤,filter 属性可以获取相关信息",type:"Function / Promise",enum:"",defVal:"",list:[]},{name:"delete",desc:"删除方法 Function({ body }, ...arguments),提交的参数 { removeRecords }",type:"Function / Promise",enum:"",defVal:"",list:[]},{name:"save",desc:"保存方法 Function({ body }, ...arguments),提交的参数 { insertRecords, updateRecords, removeRecords, pendingRecords}",type:"Function / Promise",enum:"",defVal:"",list:[]}]}]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"buttons",desc:"只对 toolbar 配置时有效,按钮列表",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"current-page-change",desc:"只对 pager-config 配置时有效,当前页发生改变时会触发该事件",type:"",enum:"",defVal:"currentPage",list:[]},{name:"page-size-change",desc:"只对 pager-config 配置时有效,每页大小发生改变时会触发该事件",type:"",enum:"",defVal:"pageSize",list:[]},{name:"page-change",desc:"只对 pager-config 配置时有效,分页发生改变时会触发该事件",type:"",enum:"",defVal:"{type, currentPage, pageSize}",list:[]},{name:"toolbar-button-click",desc:"只对 toolbar.buttons 配置时有效,当工具栏的按钮被点击时会后触发该事件",type:"",enum:"",defVal:"{menu ,type, row, rowIndex, column, columnIndex, cell}, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"commitProxy(code, ...arguments)",desc:"给数据代理提交指令(支持额外的参数,对于很多特殊场景很有用)",type:"",enum:"reload, query, delete, save",defVal:"",list:[]}]}]),g=i.a.clone(c,!0).map(function(e){var a=V.find(function(a){return a.name===e.name});return a.list=e.list.concat(a.list),a});g.find(function(e){return"Props"===e.name}).list.splice(1,0,{name:"columns",descKey:"app.api.table.desc.columns",type:"Array",enum:"",defVal:"",list:i.a.mapTree(u.find(function(e){return"Props"===e.name}).list,function(e){return Object.assign({},e,{name:i.a.camelCase(e.name)})})});var b=g,h=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],w=i.a.clone(c,!0).map(function(e){var a=h.find(function(a){return a.name===e.name});return a.list=e.list.concat(a.list),a}),x=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"size",descKey:"app.api.pager.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"loading",descKey:"app.api.pager.desc.loading",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"layouts",descKey:"app.api.pager.desc.layouts",type:"Array",enum:"PrevJump,PrevPage,Number,JumpNumber,NextPage,NextJump,Sizes,Jump,FullJump,PageCount,Total",defVal:"[PrevPage,NextPage,FullJump,Sizes,Total]",list:[]},{name:"current-page",descKey:"app.api.pager.desc.currentPage",type:"Number",enum:"",defVal:"1",list:[]},{name:"page-size",descKey:"app.api.pager.desc.pageSize",type:"Number",enum:"",defVal:"10",list:[]},{name:"total",descKey:"app.api.pager.desc.total",type:"Number",enum:"",defVal:"0",list:[]},{name:"pager-count",descKey:"app.api.pager.desc.pagerCount",type:"Number",enum:"",defVal:"7",list:[]},{name:"page-sizes",descKey:"app.api.pager.desc.pageSizes",type:"Array",enum:"",defVal:"[10,15,20,50,100]",list:[]},{name:"align",descKey:"app.api.pager.desc.align",type:"String",enum:"left(左对其), center(居中对其), right(右对齐)",defVal:"right",list:[]},{name:"background",descKey:"app.api.pager.desc.background",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"current-change",desc:"当前页发生改变时会触发该事件",type:"",enum:"",defVal:"currentPage",list:[]},{name:"size-change",desc:"每页大小发生改变时会触发该事件",type:"",enum:"",defVal:"pageSize",list:[]},{name:"page-change",desc:"分页发生改变时会触发该事件",type:"",enum:"",defVal:"{type, currentPage, pageSize}",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],v=x,K=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.radio.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.radio.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"disabled",descKey:"app.api.radio.desc.disabled",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"name",descKey:"app.api.radio.desc.name",type:"String",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"change",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"value",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],S=K,I=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.checkbox.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.checkbox.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"disabled",descKey:"app.api.checkbox.desc.disabled",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"change",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"value",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],C=I,k=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.input.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"size",descKey:"app.api.input.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"type",desc:"原生 type 属性",type:"String",enum:"",defVal:"",list:[]},{name:"name",desc:"原生 name 属性",type:"String",enum:"",defVal:"",list:[]},{name:"placeholder",desc:"原生 placeholder 属性",type:"String",enum:"",defVal:"",list:[]},{name:"autocomplete",desc:"原生 autocomplete 属性",type:"String",enum:"",defVal:"",list:[]},{name:"maxlength",desc:"最大长度",type:"String, Number",enum:"",defVal:"",list:[]},{name:"readonly",desc:"是否只读",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"disabled",descKey:"app.api.input.desc.disabled",type:"Boolean",enum:"",defVal:"false",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"*",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"{ value }, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],P=k,B=(t("6762"),t("2fdb"),[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:i.a.clone(P.find(function(e){return"Props"===e.name}).list.filter(function(e){return!["type"].includes(e.name)}),!0).concat([{name:"rows",desc:"原生 rows 属性",type:"String, Number",enum:"",defVal:"",list:[]},{name:"resize",desc:"原生 resize 属性",type:"String",enum:"",defVal:"",list:[]}])},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"*",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"{ value }, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}]),R=B,N=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"type",descKey:"app.api.button.desc.type",type:"",enum:"text,primary",defVal:"",list:[]},{name:"size",descKey:"app.api.button.desc.size",type:"String",enum:"medium,small,mini",defVal:"",list:[]},{name:"name",descKey:"app.api.button.desc.name",type:"String, Number",enum:"",defVal:"",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"—",desc:"按钮内容",type:"",enum:"",defVal:"",list:[]},{name:"dropdowns",desc:"下拉按钮",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"*",desc:"在值发生改变时触发该事件",type:"",enum:"",defVal:"event",list:[]},{name:"dropdown-click",desc:"下拉列表按钮点击时会触发该事件",type:"",enum:"",defVal:"{ name }, event",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],A=N,z=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.tooltip.desc.value",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"content",descKey:"app.api.tooltip.desc.content",type:"String",enum:"",defVal:"",list:[]},{name:"trigger",descKey:"app.api.tooltip.desc.trigger",type:"String",enum:"manual, hover, click",defVal:"hover",list:[]},{name:"theme",descKey:"app.api.tooltip.desc.theme",type:"String",enum:"dark,light",defVal:"dark",list:[]},{name:"zIndex",descKey:"app.api.tooltip.desc.zIndex",type:"Number",enum:"",defVal:"3000",list:[]},{name:"isArrow",descKey:"app.api.tooltip.desc.isArrow",type:"Boolean",enum:"",defVal:"true",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"default",desc:"自定义显示内容模板",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[{name:"show()",desc:"手动显示提示框",type:"Promise",enum:"",defVal:"",list:[]},{name:"close()",desc:"手动关闭提示框",type:"Promise",enum:"",defVal:"",list:[]},{name:"toVisible(target, message)",desc:"手动显示提示框(对于可复用高性能场景非常适合,只需要创建一个实例,后续通过该方法调用即可显示)",type:"Promise",enum:"",defVal:"Event.target, message",list:[]}]}],j=z,$=[{name:"Props",descKey:"app.api.title.props",type:"",enum:"",defVal:"",list:[{name:"value,v-model",descKey:"app.api.msg.desc.value",type:"",enum:"",defVal:"",list:[]},{name:"id",descKey:"app.api.msg.desc.id",type:"String",enum:"",defVal:"",list:[]},{name:"title",descKey:"app.api.msg.desc.title",type:"String",enum:"",defVal:"消息提示",list:[]},{name:"type",descKey:"app.api.msg.desc.type",type:"String",enum:"alert, confirm, message",defVal:"",list:[]},{name:"status",descKey:"app.api.msg.desc.status",type:"String",enum:"info, success, warning, error, loading",defVal:"",list:[]},{name:"message",descKey:"app.api.msg.desc.message",type:"String",enum:"",defVal:"",list:[]},{name:"lock-view",descKey:"app.api.msg.desc.lockView",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"lock-scroll",descKey:"app.api.msg.desc.lockScroll",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"mask",descKey:"app.api.msg.desc.mask",type:"Boolean",enum:"",defVal:"true",list:[]},{name:"mask-closable",descKey:"app.api.msg.desc.maskClosable",type:"Boolean",enum:"",defVal:"false",list:[]},{name:"duration",descKey:"app.api.msg.desc.duration",type:"Number",enum:"",defVal:"3000",list:[]},{name:"top",descKey:"app.api.msg.desc.top",type:"Number",enum:"",defVal:"15",list:[]},{name:"zIndex",descKey:"app.api.msg.desc.zIndex",type:"Number",enum:"",defVal:"999",list:[]}]},{name:"Slots",descKey:"app.api.title.slots",type:"",enum:"",defVal:"",list:[{name:"—",desc:"提示框内容",type:"",enum:"",defVal:"",list:[]}]},{name:"Events",descKey:"app.api.title.events",type:"",enum:"",defVal:"",list:[{name:"show",desc:"在提示框打开时会触发该事件",type:"",enum:"",defVal:"",list:[]},{name:"hide",desc:"在提示框关闭时会触发该事件",type:"",enum:"",defVal:"",list:[]},{name:"confirm",desc:"点击确定按钮时会触发该事件",type:"",enum:"",defVal:"",list:[]},{name:"close",desc:"点击关闭按钮时会触发该事件",type:"",enum:"",defVal:"",list:[]}]},{name:"Methods",descKey:"app.api.title.methods",type:"",enum:"",defVal:"",list:[]}],E=$,O={data:function(){return{filterName:this.$route.query.filterName,apiList:[],defaultExpandRowKeys:[],loading:!1,tableData:[],nameFilters:[{label:"Props",value:"Props"},{label:"Slots",value:"Slots"},{label:"Events",value:"Events"},{label:"Methods",value:"Methods"}],headerMenus:[[{code:"hideColumn",name:"隐藏列"},{code:"showAllColumn",name:"取消所有隐藏列"},{code:"resetColumn",name:"重置个性化数据"}],[{code:"exportAll",name:"导出完整文档",prefixIcon:"fa fa-download"}]],bodyMenus:[[{code:"copy",name:"复制内容",prefixIcon:"fa fa-copy"}],[{code:"resize",name:"重新加载"},{code:"export",name:"导出文档",prefixIcon:"fa fa-download"}],[{code:"allExpand",name:"全部展开"},{code:"allShrink",name:"全部收起"}]]}},computed:{apiName:function(){return this.$route.params.name}},watch:{apiName:function(){this.loadList()},"$i18n.locale":function(){this.loadList()}},created:function(){this.loadList()},methods:{loadList:function(){var e=this;return this.loading=!0,new Promise(function(a){setTimeout(function(){var t=[];switch(e.$route.params.name){case"table":t=c;break;case"table-column":t=u;break;case"toolbar":t=f;break;case"grid":t=b;break;case"excel":t=w;break;case"pager":t=v;break;case"radio":t=S;break;case"checkbox":t=C;break;case"input":t=P;break;case"textarea":t=R;break;case"button":t=A;break;case"tooltip":t=j;break;case"message":t=E;break}var l=1,n=["name","desc","type","enum","defVal"];i.a.eachTree(t,function(a){a.id=l++,a.desc=a.descKey?e.$t(a.descKey):a.desc,n.forEach(function(e){a[e]=i.a.escape(a[e])})},{children:"list"}),e.tableData=t,e.defaultExpandRowKeys=t.filter(function(e){return e.list&&e.list.length}).map(function(e){return e.id}),e.loading=!1,e.handleSearch(),a()},100)})},cellClassNameFunc:function(e){var a=e.row,t=e.column;return{"api-disabled":a.disabled,"disabled-line-through":a.disabled&&"name"===t.property}},headerCellContextMenuEvent:function(e){var a=e.column;this.$refs.xTable.setCurrentColumn(a)},cellContextMenuEvent:function(e){var a=e.row;this.$refs.xTable.setCurrentRow(a)},contextMenuClickEvent:function(e){var a=this,t=e.menu,l=e.row,n=e.column,d=this.$refs.xTable;switch(t.code){case"hideColumn":d.hideColumn(n);break;case"showAllColumn":d.resetCustoms();break;case"resetColumn":d.resetAll();break;case"exportAll":d.exportCsv({data:i.a.toTreeArray(this.tableData,{children:"list"}),filename:"vxe-".concat(this.apiName,"_v").concat(s.version,".csv")});break;case"copy":l&&n&&m["a"].copy(l[n.property])&&this.$XMsg.message({message:this.$t("app.body.msg.copyToClipboard"),status:"success"});break;case"resize":this.filterName="",this.tableData=[],this.$nextTick(function(){d.clearAll(),a.loadList()});break;case"export":d.exportCsv({filename:"vxe-".concat(this.apiName,"_v").concat(s.version,".csv")});break;case"allExpand":d.setAllTreeExpansion(!0);break;case"allShrink":d.clearTreeExpand();break}},handleSearch:function(){var e=i.a.toString(this.filterName).trim().toLowerCase();if(e){var a=new RegExp(e,"gi"),t={children:"list"},l=["name","desc","type","enum","defVal"],n=i.a.searchTree(this.tableData,function(a){return l.some(function(t){return a[t].toLowerCase().indexOf(e)>-1})},t);i.a.eachTree(n,function(e){l.forEach(function(t){e[t]=e[t].replace(a,function(e){return''.concat(e,"")})})},t),this.apiList=n}else this.apiList=this.tableData},searchEvent:i.a.debounce(function(){this.handleSearch()},500,{leading:!1,trailing:!0})},beforeRouteUpdate:function(e,a,t){t(),this.filterName="",this.$refs.xTable&&this.$refs.xTable.clearAll()}},F=O,M=(t("d2e1"),t("2877")),T=Object(M["a"])(F,l,n,!1,null,null,null);a["default"]=T.exports},f11d:function(e,a,t){"use strict";var l=window.document,n=l.createElement("textarea");function s(e){var a=n.style;n.id="$XECopy",a.width="48px",a.height="24px",a.position="fixed",a.zIndex="0",a.left="-500px",a.top="-500px",n.value=null===e||void 0===e?"":""+e,n.parentNode||l.body.appendChild(n)}function d(e){return n.focus(),n.select(),n.setSelectionRange(0,n.value.length),l.execCommand("copy",!!e)}function i(e){var a=!1;try{s(e),a=d(),a||(a=d(1))}catch(t){}return a}i.copy=i,a["a"]=i}}]);
\ No newline at end of file
diff --git a/docs/static/js/base.07a00992.js b/docs/static/js/base.774276e1.js
similarity index 100%
rename from docs/static/js/base.07a00992.js
rename to docs/static/js/base.774276e1.js
diff --git a/docs/static/js/edit.2e1de2e1.js b/docs/static/js/edit.aa4cd95a.js
similarity index 100%
rename from docs/static/js/edit.2e1de2e1.js
rename to docs/static/js/edit.aa4cd95a.js
diff --git a/docs/static/js/excel.535743f6.js b/docs/static/js/excel.59f28659.js
similarity index 100%
rename from docs/static/js/excel.535743f6.js
rename to docs/static/js/excel.59f28659.js
diff --git a/docs/static/js/grid.77e2b3f2.js b/docs/static/js/grid.2916c5ae.js
similarity index 100%
rename from docs/static/js/grid.77e2b3f2.js
rename to docs/static/js/grid.2916c5ae.js
diff --git a/docs/static/js/index.9be40a57.js b/docs/static/js/index.1a56969a.js
similarity index 99%
rename from docs/static/js/index.9be40a57.js
rename to docs/static/js/index.1a56969a.js
index d2e5aa591..e42bef96c 100644
--- a/docs/static/js/index.9be40a57.js
+++ b/docs/static/js/index.1a56969a.js
@@ -1 +1 @@
-var VXETable=function(e){function t(t){for(var a,l,o=t[0],s=t[1],c=t[2],d=0,u=[];d Cell",iviewRender:"iview -> Cell",antd:"ant-design-vue -> Cell",sortablejsRow:"sortablejs -> Row drag",sortablejsColumn:"sortablejs -> column moving",xlsxRender:"xlsx -> Export.xlsx",plugin:"The plugin list",elementPlugin:"plugin-element Basic config",elementFilterPlugin:"plugin-element Filter config",elementPluginMore:"plugin-element More config",iviewPlugin:"plugin-iview Basic config",iviewFilter:"plugin-iview Filter config",iviewPluginMore:"plugin-iview More config",antdPlugin:"plugin-antd Basic config",antdFilter:"plugin-antd Filter config",antdPluginMore:"plugin-antd More config",spanPlugin:"Select merge cells",chartsPlugin:"Charts toolbar",excelPlugin:"plugin-excel A simple excel",renderer:"Renderer",rendererFilter:"Filter renderer",rendererDefault:"Default renderer",rendererEdit:"Edit renderer",interceptor:"Interceptor",optimize:"Optimization and suggestion",optimizeScroller:"虚拟滚动优化",optimizeEdit:"可编辑优化",api:"API",vxeTable:"vxe-table",vxeTableColumn:"vxe-table-column",vxeGrid:"vxe-grid",vxeExcel:"vxe-excel",vxeToolbar:"vxe-toolbar",vxePager:"vxe-pager",vxeRadio:"vxe-radio",vxeCheckbox:"vxe-checkbox",vxeInput:"vxe-input",vxeTextarea:"vxe-textarea",vxeButton:"vxe-button",vxeTooltip:"vxe-tooltip",vxeMessageBox:"vxe-message"}},body:{button:{viewCode:"View source",runDemo:"Run demo",showCode:"Show code",refresh:"Refresh",insert:"Insert",save:"Save",markCancel:"Mark/Cancel",deleteSelectedRecords:"Delete selected records"},label:{translations:"Translations",version:"Version",name:"Name",age:"Age",sex:"Sex",createTime:"Create Date",updateTime:"Update Date"},valid:{rName:"The name of the required."},msg:{error:"Error message",copyToClipboard:"Copied to clipboard"}},footer:{donation:"Donation",donationDesc:"To make the project sustainable, you can support the author through sponsorship 😊"},api:{form:{apiSearch:"API Search"},title:{prop:"Attribute",desc:"Description",type:"Type / Return type",enum:"Accepted Values",defVal:"Default / Arguments",props:"Table Attributes",events:"Table events",slots:"Table slots",methods:"Table methods"},table:{desc:{data:"Table data",columns:"Column configuration",customs:"Initialize the show/hide column (hide the column by default by setting visible to false)",height:"Table height, supports adaptive or fixed width and height",maxHeight:"Maximum height of the table",autoResize:"Whether to automatically listen to the parent container to adjust the table width and height in a responsive manner (this may be used if you need to automatically follow the parent container's height)",resizable:"Whether drag column width resizing is allowed for all columns",stripe:"Whether with zebra stripes",border:"Whether there is a vertical border",size:"Table size",fit:"Whether the width of all columns is self-supporting",loading:"Whether the table is loaded",align:"All columns on its way",headerAlign:"Alignment of all header columns",showHeader:"Whether to display the header",startIndex:"只对 type=index 的列有效,动态索引的起始值",highlightCurrentRow:"Whether to highlight the current row",highlightHoverRow:"Mouse over a row to highlight",highlightCurrentColumn:"Whether to highlight the current column",highlightHoverColumn:"Mouse over whether to highlight a column",highlightCell:"只对 editConfig 配置时有效,是否在编辑时高亮单元格边框",rowClassName:"给行附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex})",cellClassName:"给单元格附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex})",headerRowClassName:"给表头的行附加 className,也可以是函数 Function({$rowIndex})",headerCellClassName:"给表头的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",footerRowClassName:"给表尾的行附加 className,也可以是函数 Function({$rowIndex})",footerCellClassName:"给表尾的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",showFooter:"Whether to display table end totals",footerMethod:"表尾合计的计算方法 Function({columns, data})",spanMethod:"合并行或列,该函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, data}) 返回计算后的值",showOverflow:"Sets all content to appear as ellipses if it is too long",showHeaderOverflow:"Sets the header to show ellipsis when all content is too long",remoteSort:"Whether to use remote sorting",remoteFilter:"Whether to use remote filter",columnWidth:"所有列宽度",columnMinWidth:"所有最小列宽度;会自动将剩余空间按比例分配",columnKey:"Whether the key attribute needs to be set for each column VNode (not required for non-exceptional cases)",rowKey:"Do you need to set the key attribute for VNode on each row (not necessary for non-exceptional cases)",rowId:"Field names for custom row data unique primary keys (row data must have a unique primary key, automatically generated by default)",sortConfig:"Sort configuration",radioConfig:"Radio configuration",selectConfig:"Checkbox configuration",tooltipConfig:"tooltip configuration",expandConfig:"Expand the row configuration",treeConfig:"Tree configuration",contextMenu:"context menu configuration",mouseConfig:"Mouse configuration",keyboardConfig:"Keyboard configuration",editConfig:"Editable configuration",validConfig:"Validate configuration",editRules:"Checksum rule configuration entries",optimization:"Optimize configuration",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)",empty:"Text content displayed when empty data",currentChange:"只对 highlightCurrentRow 有效,当手动选中行并且值发生改变时触发的事件",radioChange:"只对 type=radio 有效,当手动勾选并且值发生改变时触发的事件",selectChange:"只对 type=selection 有效,当手动勾选并且值发生改变时触发的事件",selectAll:"只对 type=selection 有效,当手动勾选全选时触发的事件",cellClick:"This event is triggered when the cell is click",cellDblclick:"This event is triggered when a cell is dblclick",cellContextmenu:"This event is triggered when the cell is contextmenu",headerCellClick:"This event is triggered when the header cell is click",headerCellDblclick:"This event is triggered when a header cell is dblclick",headerCellContextmenu:"This event is triggered when the header cell is contextmenu",footerCellClick:"This event is triggered when a header cell is click",footerCellDblclick:"This event is triggered when a cell at the end of a table is dblclick",footerCellContextmenu:"This event is triggered when the footer cell is contextmenu",cellMouseenter:"当单元格 hover 进入时会触发该事件",cellMouseleave:"当单元格 hover 退出时会触发该事件",sortChange:"This event is triggered when the sort condition changes",filterChange:"This event is triggered when a filter condition changes",resizableChange:"This event is triggered when the column width is dragged to change",toggleExpandChange:"This event is triggered when a row is expanded or collapsed",toggleTreeChange:"This event is triggered when the tree node is expanded or collapsed",contextMenuClick:"只对 context-menu 配置时有效,当点击快捷菜单时会触发该事件",editClosed:"This event is triggered when the cell edit state is turned off",editActived:"This event is triggered when the cell is activated for editing",editDisabled:"This event is triggered if the cell is disabled when activated",validError:"This event is triggered when data validation does not pass",scroll:"This event is triggered when the table scrolls"}},tableColumn:{desc:{type:"The type of the column",field:"Column field name",title:"Column title (support internationalization)",width:"Column width",minWidth:"Minimum height of the column,The remaining space is automatically allocated proportionally",resizable:"Whether column resizing allows dragging column widths",fixed:"Fix the column to the left or right (note: fixed columns should be left and right)",align:"Column on its way",headerAlign:"Alignment of header columns",showOverflow:"Appears as an ellipsis when the content is too long",showHeaderOverflow:"Appears as an ellipsis when the header content is too long",formatter:"Format display content, Function({cellValue, row, rowIndex, column, columnIndex})",indexMethod:"只对 type=index 有效,自定义索引方法 Function({row, rowIndex, column, columnIndex})",sortable:"Whether column sorting is allowed",sortBy:"只对 sortable 有效,自定义排序的属性",remoteSort:"Whether to use remote sorting",filters:"Configure filter conditions",filterMultiple:"只对 filters 有效,筛选是否允许多选",filterMethod:"只对 filters 有效,自定义筛选方法 Function({value, row, column})",filterRender:"Filter renderer config",treeNode:"只对 tree-config 配置时有效,指定为树节点",cellRender:"Default renderer config",editRender:"Edit renderer config",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)"}},tooltip:{desc:{value:"Whether or not shown",content:"Content",trigger:"trigger type",theme:"The theme style",zIndex:"set style z-index",isArrow:"Show arrow or not"}},grid:{desc:{toolbar:"Toolbar config",pagerConfig:"Pager config",proxyConfig:"Data proxy config"}},toolbar:{desc:{id:"Unique ID identification",size:"Size",loading:"Loading",refresh:"Refresh button config",resizable:"Column width drag config(需要设置 id)",setting:"Custom column config(需要设置 id)"}},pager:{desc:{size:"Size",loading:"Loading",layouts:"Custom layouts",currentPage:"Current page",pageSize:"Page size",total:"Total number",pagerCount:"Displays the number of page number buttons",pageSizes:"List of options for page size",align:"On the way",background:"Show background color"}},radio:{desc:{value:"Binding values",size:"Size",disabled:"Whether to disable",name:"Native name attribute"}},checkbox:{desc:{value:"Binding values",size:"Size",disabled:"Whether to disable"}},input:{desc:{value:"Binding values",size:"Size",disabled:"Whether to disable"}},button:{desc:{type:"Type",size:"Size",name:"用来标识这一项"}},msg:{desc:{value:"Binding values",id:"只对 type=message 有效,如果不想提示框重复点击,可以设置唯一的 id 防止重复提示",title:"Message title (support internationalization)",type:"Message type",status:"只对 type=message 有效,消息状态",message:"message content",lockView:"Whether or not the page is locked does not allow any action outside the prompt box",lockScroll:"Whether the scroll bar is locked and does not allow page scrolling",mask:"Whether to display the mask layer",maskClosable:"Click the mask layer to close the prompt box",duration:"只对 type=message 有效,自动关闭的延时",top:"只对 type=message 有效,消息距离顶部的位置",zIndex:"set style z-index"}}}}}},3096:function(e){e.exports=[{id:1,key:"name",name:"名字",isEdit:!1,required:!1,validator:"",validMsg:"",visible:!0,width:null,align:"",type:null,seq:1,link:"https://xuliangzhan.github.io/vxe-table/",describe:"",createTime:1550923830095,updateTime:1550105830095},{id:2,key:"age",name:"年龄",isEdit:!0,required:!0,validator:"",validMsg:"",visible:!0,width:"140",align:"center",type:null,seq:2,link:"",describe:"",createTime:1550923830095,updateTime:1550205830095},{id:3,key:"date",name:"日期",isEdit:!0,required:!1,validator:"",validMsg:"",visible:!0,width:"200",align:"",type:null,seq:3,link:"",describe:"",createTime:1550923830095,updateTime:1550305830095},{id:4,key:"phone",name:"手机",isEdit:!0,required:!1,validator:"^1[34578][0-9]{9}$",validMsg:"手机格式输入错误",visible:!0,width:null,align:"",type:null,seq:4,link:"",describe:"",createTime:1550923830095,updateTime:1550405830095},{id:5,key:"role",name:"角色",isEdit:!0,required:!1,validator:"",validMsg:"",visible:!1,width:null,align:"",type:null,seq:5,link:"",describe:"",createTime:1550923830095,updateTime:1550505830095},{id:6,key:"",name:"",isEdit:!1,required:!1,validator:"",validMsg:"",visible:!1,width:"80",align:"",type:"selection",seq:0,link:"",describe:"",createTime:1550923830095,updateTime:1550505830095}]},3261:function(e){e.exports=[{id:100,parentId:null,name:"一级目录",size:null,type:"0",createTime:1550923830095,updateTime:1551923830095},{id:101,parentId:100,name:"二级目录",size:null,type:"0",createTime:1550923830095,updateTime:1552923830095},{id:10100,parentId:101,name:"文件10100.pdf",size:218,type:"1",createTime:1550923830095,updateTime:1553924830095},{id:10101,parentId:101,name:"文件10101.excel",size:512,type:"1",createTime:1550923830095,updateTime:1550925830095},{id:102,parentId:100,name:"文件102.word",size:101024,type:"1",createTime:1550923830095,updateTime:1550963830095},{id:200,parentId:null,name:"我的文件",size:null,type:"0",createTime:1550923830095,updateTime:1550983830095},{id:201,parentId:200,name:"文件201.zip",size:1024,type:"1",createTime:1550923830095,updateTime:1550927830095},{id:202,parentId:200,name:"文件202.text",size:4096,type:"1",createTime:1550923830095,updateTime:1550926830095},{id:301,parentId:null,name:"文件301.zip",size:4024,type:"1",createTime:1550923830095,updateTime:1550823830095}]},4612:function(e){e.exports={"!return|array(200-600)":{"id|number":"{{ $index+1 }}",name:"{{ random.repeat(['name', 'test'],1) }}_{{ $index }}",nickname:"{{ random.repeat(['昵称', '名字'],1) }}_{{ $index }}",password:"{{ random.repeat('abcdefgABCDEFG',6,12) }}",checked:!1,"sex|random(1)":[null,"0","1"],"role|random(1)":["前端","后端","测试","设计","项目经理"],"region|random(1)":[[1,1,5],[19,199,1773],[9,73,719]],email:"{{ random.repeat('abcdefg',5,20) }}@{{ random.repeat(['qq','163'],1) }}.{{ random.repeat(['com','net'],1) }}","age|number":"{{ random.num(18,30) }}","rate|number":"{{ random.num(0,5) }}","slider|number":"{{ random.num(0,100) }}",color:"rgb({{ random.num(0,255) }}, {{ random.num(0,255) }}, 0)","flag|boolean":"{{ random.num(0,1) }}",phone:"136{{ random.num(10000000,99999999) }}",describe:"{{ random.repeat('用户信息',2,6) }}",describe2:"{{ random.repeat('用户信息',4,10) }}",describe3:"{{ random.repeat('用户信息',6,20) }}","seq|number":"{{ $index }}",date:"{{ random.date('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-ddTHH:mm:ss.000+0800') }}",date1:null,date5:"09:00",date6:"09:00:00","createTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}","updateTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}",attr1:null,attr2:null,attr3:null,attr4:null,attr5:null,attr6:null}}},4678:function(e,t,n){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function l(e){var t=i(e);return n(t)}function i(e){var t=a[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}l.keys=function(){return Object.keys(a)},l.resolve=i,e.exports=l,l.id="4678"},"61c2":function(e,t,n){"use strict";var a=n("c695"),l=n.n(a),i={"event.clear_actived":[],"event.clear_filter":[]},r={mixin:function(e){return l.a.each(e,function(e,t){return r.add(t,e)}),r},get:function(e){return i[e]||[]},add:function(e,t){var n=i[e];return n&&t&&-1===n.indexOf(t)&&n.push(t),r},delete:function(e,t){var n=i[e];return n&&l.a.remove(n,function(e){return e===t}),r}},o=r,s=n("7618"),c=(n("7514"),n("bd86"));n("7f7f");function d(e){var t=e.name,n=e.attrs;return"input"===t&&(n=Object.assign({type:"text"},n)),n}function u(e,t,n){var a=n.column,l=t.name,i=a.model,r=d(t);return[e(l,{class:"vxe-default-".concat(l),attrs:r,domProps:{value:i.value},on:h(t,n)})]}function h(e,t){var n=e.name,a=e.events,i=t.$table,r=t.column,o=r.model,s="select"===n?"change":"input",d=Object(c["a"])({},s,function(e){var n=e.target.value;o.update=!0,o.value=n,i.updateStatus(t,n)});return a&&l.a.assign(d,l.a.objectMap(a,function(e){return function(){e.apply(null,[t].concat.apply(t,arguments))}})),d}function p(e,t,n){var a=t.optionGroups,l=t.optionGroupProps,i=void 0===l?{}:l,r=i.options||"options",o=i.label||"label";return a.map(function(a,l){return e("optgroup",{domProps:{label:a[o]},key:l},m(e,a[r],t,n))})}function m(e,t,n,a){var l=n.optionProps,i=void 0===l?{}:l,r=a.column,o=i.label||"label",s=i.value||"value";return t.map(function(t,n){return e("option",{domProps:{value:t[s],selected:t.value===r.model.value},key:n},t[o])})}function f(e,t,n,a){var i=n.column,r=t.events,o="select"===name?"change":"input",s=Object(c["a"])({},o,function(t){e.data=t.target.value,g(a,i,!!e.data,e)});return r&&l.a.assign(s,l.a.objectMap(r,function(e){return function(){e.apply(null,[n].concat.apply(n,arguments))}})),s}function b(e,t,n,a){var l=n.column,i=t.name,r=d(t);return l.filters.map(function(l){return e(i,{class:"vxe-default-".concat(i),attrs:r,domProps:{value:l.data},on:f(l,t,n,a)})})}function g(e,t,n,a){e[t.filterMultiple?"changeMultipleOption":"changeRadioOption"]({},n,a)}function v(e){var t=e.option,n=e.row,a=e.column,i=t.data,r=l.a.get(n,a.property);return r==i}var x={input:{autofocus:"input",renderEdit:u,renderFilter:b,filterMethod:v},textarea:{autofocus:"textarea",renderEdit:u,renderFilter:b,filterMethod:v},select:{renderEdit:function(e,t,n){return[e("select",{class:"vxe-default-select",on:h(t,n)},t.optionGroups?p(e,t,n):m(e,t.options,t,n))]},renderCell:function(e,t,n){var a=t.options,i=t.optionGroups,r=t.optionProps,o=void 0===r?{}:r,c=t.optionGroupProps,d=void 0===c?{}:c,u=n.row,h=n.column,p=l.a.get(u,h.property);if(null!==p&&void 0!==p&&""!==p){var m=function(){var e,t=o.label||"label",n=o.value||"value";if(i){for(var l=d.options||"options",r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=C["a"].icon,n=C["a"].menu;e.menu&&Object.assign(n,e.menu),e.icon&&Object.assign(t,e.icon),Object.assign(C["a"],e,{icon:t})}var S=T;n.d(t,"a",function(){return r}),n.d(t,"b",function(){return w});var k=[];function E(e,t){return e&&e.install&&-1===k.indexOf(e)&&(e.install(R,t),k.push(e)),R}var R={t:l.a.get,v:"v2",use:E,setup:S,interceptor:o,renderer:y};t["c"]=R},"62f2":function(e){e.exports=[{value:1,label:"北京",children:[{value:2,label:"北京市",children:[{value:3,label:"东城区"},{value:4,label:"西城区"},{value:5,label:"崇文区"},{value:6,label:"宣武区"},{value:7,label:"朝阳区"},{value:8,label:"丰台区"},{value:9,label:"石景山区"},{value:10,label:"海淀区"},{value:11,label:"门头沟区"},{value:12,label:"房山区"},{value:13,label:"通州区"},{value:14,label:"顺义区"},{value:15,label:"昌平区"},{value:16,label:"大兴区"},{value:17,label:"怀柔区"},{value:18,label:"平谷区"},{value:19,label:"密云县"},{value:20,label:"延庆县"}]}]},{value:21,label:"上海",children:[{value:22,label:"上海市",children:[{value:23,label:"黄浦区"},{value:24,label:"卢湾区"},{value:25,label:"徐汇区"},{value:26,label:"长宁区"},{value:27,label:"静安区"},{value:28,label:"普陀区"},{value:29,label:"闸北区"},{value:30,label:"虹口区"},{value:31,label:"杨浦区"},{value:32,label:"闵行区"},{value:33,label:"宝山区"},{value:34,label:"嘉定区"},{value:35,label:"浦东新区"},{value:36,label:"金山区"},{value:37,label:"松江区"},{value:38,label:"青浦区"},{value:39,label:"南汇区"},{value:40,label:"奉贤区"},{value:41,label:"崇明县"}]}]},{value:42,label:"广东",children:[{value:43,label:"广州市",children:[{value:44,label:"东山区"},{value:45,label:"荔湾区"},{value:46,label:"越秀区"},{value:47,label:"海珠区"},{value:48,label:"天河区"},{value:49,label:"芳村区"},{value:50,label:"白云区"},{value:51,label:"黄埔区"},{value:52,label:"番禺区"},{value:53,label:"花都区"},{value:54,label:"增城市"},{value:55,label:"从化市"}]},{value:56,label:"韶关市",children:[{value:57,label:"武江区"},{value:58,label:"浈江区"},{value:59,label:"曲江区"},{value:60,label:"始兴县"},{value:61,label:"仁化县"},{value:62,label:"翁源县"},{value:63,label:"乳源瑶族自治县"},{value:64,label:"新丰县"},{value:65,label:"乐昌市"},{value:66,label:"南雄市"}]},{value:67,label:"深圳市",children:[{value:68,label:"罗湖区"},{value:69,label:"福田区"},{value:70,label:"南山区"},{value:71,label:"宝安区"},{value:72,label:"龙岗区"},{value:73,label:"盐田区"}]},{value:74,label:"珠海市",children:[{value:75,label:"香洲区"},{value:76,label:"斗门区"},{value:77,label:"金湾区"}]},{value:78,label:"汕头市",children:[{value:79,label:"龙湖区"},{value:80,label:"金平区"},{value:81,label:"濠江区"},{value:82,label:"潮阳区"},{value:83,label:"潮南区"},{value:84,label:"澄海区"},{value:85,label:"南澳县"}]},{value:86,label:"佛山市",children:[{value:87,label:"禅城区"},{value:88,label:"南海区"},{value:89,label:"顺德区"},{value:90,label:"三水区"},{value:91,label:"高明区"}]},{value:92,label:"江门市",children:[{value:93,label:"蓬江区"},{value:94,label:"江海区"},{value:95,label:"新会区"},{value:96,label:"台山市"},{value:97,label:"开平市"},{value:98,label:"鹤山市"},{value:99,label:"恩平市"}]},{value:100,label:"湛江市",children:[{value:101,label:"赤坎区"},{value:102,label:"霞山区"},{value:103,label:"坡头区"},{value:104,label:"麻章区"},{value:105,label:"遂溪县"},{value:106,label:"徐闻县"},{value:107,label:"廉江市"},{value:108,label:"雷州市"},{value:109,label:"吴川市"}]},{value:110,label:"茂名市",children:[{value:111,label:"茂南区"},{value:112,label:"茂港区"},{value:113,label:"电白县"},{value:114,label:"高州市"},{value:115,label:"化州市"},{value:116,label:"信宜市"}]},{value:117,label:"肇庆市",children:[{value:118,label:"端州区"},{value:119,label:"鼎湖区"},{value:120,label:"广宁县"},{value:121,label:"怀集县"},{value:122,label:"封开县"},{value:123,label:"德庆县"},{value:124,label:"高要市"},{value:125,label:"四会市"}]},{value:126,label:"惠州市",children:[{value:127,label:"惠城区"},{value:128,label:"惠阳区"},{value:129,label:"博罗县"},{value:130,label:"惠东县"},{value:131,label:"龙门县"}]},{value:132,label:"梅州市",children:[{value:133,label:"梅江区"},{value:134,label:"梅县"},{value:135,label:"大埔县"},{value:136,label:"丰顺县"},{value:137,label:"五华县"},{value:138,label:"平远县"},{value:139,label:"蕉岭县"},{value:140,label:"兴宁市"}]},{value:141,label:"汕尾市",children:[{value:142,label:"城区"},{value:143,label:"海丰县"},{value:144,label:"陆河县"},{value:145,label:"陆丰市"}]},{value:146,label:"河源市",children:[{value:147,label:"源城区"},{value:148,label:"紫金县"},{value:149,label:"龙川县"},{value:150,label:"连平县"},{value:151,label:"和平县"},{value:152,label:"东源县"}]},{value:153,label:"阳江市",children:[{value:154,label:"江城区"},{value:155,label:"阳西县"},{value:156,label:"阳东县"},{value:157,label:"阳春市"}]},{value:158,label:"清远市",children:[{value:159,label:"清城区"},{value:160,label:"佛冈县"},{value:161,label:"阳山县"},{value:162,label:"连山壮族瑶族自治县"},{value:163,label:"连南瑶族自治县"},{value:164,label:"清新县"},{value:165,label:"英德市"},{value:166,label:"连州市"}]},{value:167,label:"东莞市",children:[]},{value:168,label:"中山市",children:[]},{value:169,label:"潮州市",children:[{value:170,label:"湘桥区"},{value:171,label:"潮安县"},{value:172,label:"饶平县"}]},{value:173,label:"揭阳市",children:[{value:174,label:"榕城区"},{value:175,label:"揭东县"},{value:176,label:"揭西县"},{value:177,label:"惠来县"},{value:178,label:"普宁市"}]},{value:179,label:"云浮市",children:[{value:180,label:"云城区"},{value:181,label:"新兴县"},{value:182,label:"郁南县"},{value:183,label:"云安县"},{value:184,label:"罗定市"}]}]}]},"696c":function(e,t){},7909:function(e,t,n){},9391:function(e){e.exports=[{label:"中文",value:"zh_CN"},{label:"English",value:"en_US"}]},b4c6:function(e){e.exports={"!return|array(15-120)":{"id|number":"{{ $index+1 }}",name:"{{ random.repeat(['前端', '后端', '测试', '项目经理', '设计'],1) }}_{{ $index }}",describe:"{{ random.repeat('角色描述',4,50) }}","seq|number":"{{ $index }}","createTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}","updateTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}"}}},c31f:function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"},on:{click:e.clickEvent}},[n("header",{staticClass:"page-header"},[e._m(0),n("div",{staticClass:"right"},[n("div",{staticClass:"content"},[e.usedJSHeapSize?n("span",{staticClass:"performance"},[e._v("Memory used: "+e._s(e.usedJSHeapSize)+" MB.")]):e._e(),n("span",[e._v(e._s(e.$t("app.body.label.translations"))+":")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.$i18n.locale,expression:"$i18n.locale"}],staticClass:"locale-switch",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.$i18n,"locale",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"zh-CN"}},[e._v("中文")]),n("option",{attrs:{value:"en"}},[e._v("English")])]),n("span",[e._v(e._s(e.$t("app.body.label.version"))+": ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.version,expression:"version"}],staticClass:"version-switch",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.version=t.target.multiple?n:n[0]},e.vChangeEvent]}},[n("option",{attrs:{value:"1"}},[e._v("V1")]),n("option",{attrs:{value:"2"}},[e._v("V2")]),n("option",{attrs:{value:"3"}},[e._v("V3")])]),n("vxe-tooltip",{attrs:{content:e.$t("app.footer.donationDesc")}},[n("a",{staticClass:"donation",attrs:{href:"https://github.com/xuliangzhan/vxe-table#donation",target:"_blank"}},[e._v(e._s(e.$t("app.footer.donation"))+"☕")])])],1)])]),n("div",{staticClass:"page-container"},[n("div",{staticClass:"aside"},[n("ul",{staticClass:"nav-menu"},e._l(e.tableList,function(t,a){return n("li",{key:a,class:{expand:t.expand}},[n("a",{staticClass:"nav-link",class:{active:e.pageKey===t.value},attrs:{title:e.$t(t.label)},on:{click:function(n){return e.linkEvent(t)}}},[n("i",{staticClass:"vxe-icon--arrow-right nav-link-icon"}),e._v(e._s(e.$t(t.label)))]),t.children?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.expand,expression:"item.expand"}],staticClass:"nav-child-menu"},e._l(t.children,function(t,a){return n("li",{key:a},[t.disabled?n("a",{staticClass:"nav-link disabled",attrs:{title:"由于比较忙,后续有时间会完善该功能!"}},[e._v(e._s(e.$t(t.label)))]):n("router-link",{staticClass:"nav-link",attrs:{to:t.locat,title:e.$t(t.label)}},[e._v(e._s(e.$t(t.label)))])],1)}),0):e._e()])}),0)]),n("div",{staticClass:"body"},[n("div",{staticClass:"content",class:{full:e.$route.name&&e.$route.name.indexOf("API")>0}},[-1===e.$route.path.indexOf("/module")&&-1===e.$route.path.indexOf("/api")?[n("a",{staticClass:"link tosrc",attrs:{href:"https://github.com/xuliangzhan/vxe-table/tree/master/examples/views/table/"+e.pageKey,target:"_blank"}},[e._v(e._s(e.$t("app.body.button.viewCode")))]),e.demoLink?n("a",{staticClass:"link todemo",attrs:{href:e.demoLink,target:"_blank"}},[e._v(e._s(e.$t("app.body.button.runDemo")))]):e._e()]:e._e(),n("router-view")],2)])])])},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"left"},[n("a",{attrs:{href:"https://github.com/xuliangzhan/vxe-table"}},[n("span",{staticClass:"title"},[e._v("🐬vxe-table")]),n("img",{attrs:{src:"https://img.shields.io/npm/dm/vxe-table.svg?style=social&logo=github"}}),n("img",{attrs:{src:"https://img.shields.io/github/watchers/xuliangzhan/vxe-table.svg?style=social"}}),n("img",{attrs:{src:"https://img.shields.io/github/stars/xuliangzhan/vxe-table.svg?style=social"}}),n("img",{attrs:{src:"https://img.shields.io/github/forks/xuliangzhan/vxe-table.svg?style=social"}})])])}],r=(n("ac6a"),n("28a5"),n("7f7f"),n("7514"),n("c695")),o=n.n(r),s={data:function(){return{selected:null,version:"2",usedJSHeapSize:0,tableList:[{label:"app.aside.nav.start",value:"start",expand:!1,children:[{label:"app.aside.nav.install",locat:{name:"StartInstall"}},{label:"app.aside.nav.use",locat:{name:"StartUse"}},{label:"app.aside.nav.global",locat:{name:"StartGlobal"}},{label:"app.aside.nav.theme",locat:{name:"StartTheme"}},{label:"app.aside.nav.i18n",locat:{name:"StartI18n"}}]},{label:"app.aside.nav.basics",value:"base",expand:!1,children:[{label:"app.aside.nav.base",demoUrl:"https://jsrun.net/VrXKp",locat:{name:"TableBasic"}},{label:"app.aside.nav.size",demoUrl:"https://jsrun.net/PmXKp",locat:{name:"TableSize"}},{label:"app.aside.nav.ellipsis",locat:{name:"TableOverflow"}},{label:"app.aside.nav.stripe",demoUrl:"https://jsrun.net/zrXKp",locat:{name:"TableStripe"}},{label:"app.aside.nav.border",demoUrl:"https://jsrun.net/QrXKp",locat:{name:"TableBorder"}},{label:"app.aside.nav.style",demoUrl:"https://jsrun.net/EmXKp",locat:{name:"TableStyle"}},{label:"app.aside.nav.hideHead",demoUrl:"https://jsrun.net/7mXKp",locat:{name:"TableHeader"}},{label:"app.aside.nav.resizable",demoUrl:"https://jsrun.net/5AXKp",locat:{name:"TableResizable"}},{label:"app.aside.nav.fluidHeight",demoUrl:"https://jsrun.net/smXKp",locat:{name:"TableMaxHeight"}},{label:"app.aside.nav.resize",locat:{name:"TableAutoHeight"}},{label:"app.aside.nav.height",demoUrl:"https://jsrun.net/JrXKp",locat:{name:"TableHeight"}},{label:"app.aside.nav.fixed",demoUrl:"https://jsrun.net/TrXKp",locat:{name:"TableFixed"}},{label:"app.aside.nav.fullFixed",demoUrl:"https://jsrun.net/8rXKp",locat:{name:"TableFixedFull"}},{label:"app.aside.nav.group",demoUrl:"https://jsrun.net/7rXKp",locat:{name:"TableGroup"}},{label:"app.aside.nav.seq",demoUrl:"https://jsrun.net/xrXKp",locat:{name:"TableIndex"}},{label:"app.aside.nav.headerHighlight",locat:{name:"TableHeaderHighlight"}},{label:"app.aside.nav.current",locat:{name:"TableCurrent"}},{label:"app.aside.nav.radio",demoUrl:"https://jsrun.net/9rXKp",locat:{name:"TableRadio"}},{label:"app.aside.nav.checkbox",demoUrl:"https://jsrun.net/erXKp",locat:{name:"TableSelection"}},{label:"app.aside.nav.sort",demoUrl:"https://jsrun.net/crXKp",locat:{name:"TableSort"}},{label:"app.aside.nav.filter",demoUrl:"https://jsrun.net/drXKp",locat:{name:"TableFilter"}},{label:"app.aside.nav.empty",locat:{name:"TableEmpty"}},{label:"app.aside.nav.loading",demoUrl:"https://jsrun.net/GjXKp",locat:{name:"TableLoading"}},{label:"app.aside.nav.format",demoUrl:"https://jsrun.net/FrXKp",locat:{name:"TableFormat"}}]},{label:"app.aside.nav.more",value:"advanced",expand:!1,children:[{label:"app.aside.nav.events",locat:{name:"TableEvent"}},{label:"app.aside.nav.template",demoUrl:"https://jsrun.net/DjXKp",locat:{name:"TableTemplate"}},{label:"app.aside.nav.customSort",locat:{name:"TableCustomSort"}},{label:"app.aside.nav.manualFilter",locat:{name:"TableManualFilter"}},{label:"app.aside.nav.span",demoUrl:"https://jsrun.net/5jXKp",locat:{name:"TableSpan"}},{label:"app.aside.nav.spanRow",locat:{name:"TableSpanRow"}},{label:"app.aside.nav.footer",demoUrl:"https://jsrun.net/dmXKp",locat:{name:"TableFooter"}},{label:"app.aside.nav.export",demoUrl:"https://jsrun.net/cmXKp",locat:{name:"TableExport"}},{label:"app.aside.nav.contextMenu",demoUrl:"https://jsrun.net/VjXKp",locat:{name:"TableMenu"}},{label:"app.aside.nav.menuPrivilege",locat:{name:"TableMenuPrivilege"}},{label:"app.aside.nav.expandRow",demoUrl:"https://jsrun.net/eRXKp",locat:{name:"TableExpand"}},{label:"app.aside.nav.toolbar",locat:{name:"Toolbar"}},{label:"app.aside.nav.customs",demoUrl:"https://jsrun.net/PrXKp",locat:{name:"TableCustom"}},{label:"app.aside.nav.customStorage",locat:{name:"TableCustomStorage"}},{label:"app.aside.nav.customlWidthStorage",locat:{name:"TableCustomlWidthStorage"}},{label:"app.aside.nav.search",locat:{name:"TableSearch"}},{label:"app.aside.nav.pager",locat:{name:"TablePage"}},{label:"app.aside.nav.keyboard",locat:{name:"TableKeyboard"}}]},{label:"app.aside.nav.grid",value:"grid",expand:!1,children:[{label:"app.aside.nav.base",demoUrl:"https://jsrun.net/5RXKp",locat:{name:"GridBasic"}},{label:"app.aside.nav.reverse",locat:{name:"GridReverse"}},{label:"app.aside.nav.template",locat:{name:"GridTemplate"}},{label:"app.aside.nav.pager",locat:{name:"GridPage"}},{label:"app.aside.nav.proxy",locat:{name:"GridProxy"}},{label:"app.aside.nav.proxyPage",locat:{name:"GridPageProxy"}},{label:"app.aside.nav.fullQuery",locat:{name:"GridFullQuery"}},{label:"app.aside.nav.edit",locat:{name:"GridEdit"}},{label:"app.aside.nav.crudToolbar",locat:{name:"GridToolbar"}},{label:"app.aside.nav.customToolbar",locat:{name:"GridCustomToolbar"}},{label:"app.aside.nav.dynamicColumn",locat:{name:"GridDynamic"}},{label:"app.aside.nav.contextMenu",locat:{name:"GridMenu"}},{label:"app.aside.nav.span",disabled:!0,locat:{name:"GridSpan"}},{label:"app.aside.nav.baseTree",locat:{name:"GridTree"}},{label:"app.aside.nav.crudTreeToolbar",locat:{name:"GridTreeEdit"}},{label:"app.aside.nav.full",locat:{name:"GridFullEdit"}}]},{label:"app.aside.nav.tree",value:"tree",expand:!1,children:[{label:"app.aside.nav.base",locat:{name:"TableTreeBasic"}},{label:"app.aside.nav.radio",locat:{name:"TableTreeRadio"}},{label:"app.aside.nav.checkbox",demoUrl:"https://jsrun.pro/B6bKp/edit",locat:{name:"TableTreeSelection"}},{label:"app.aside.nav.edit",locat:{name:"TableTreeEdit"}},{label:"app.aside.nav.expandRow",locat:{name:"TableTreeExpand"}},{label:"app.aside.nav.crudToolbar",locat:{name:"TableTreeToolbar"}},{label:"app.aside.nav.insert",locat:{name:"TableTreeInsert"}},{label:"app.aside.nav.contextMenu",locat:{name:"TableTreeMenu"}},{label:"app.aside.nav.span",disabled:!0,locat:{name:"TableTreeSpan"}},{label:"app.aside.nav.keyboard",locat:{name:"TableTreeKeyboard"}},{label:"app.aside.nav.lazy",disabled:!0,locat:{name:"TableTreeLazy"}},{label:"app.aside.nav.full",disabled:!0,locat:{name:"TableTreeBasic"}}]},{label:"app.aside.nav.scroll",value:"scroll",expand:!1,children:[{label:"app.aside.nav.bigData",demoUrl:"https://jsrun.net/XRXKp",locat:{name:"TableScroll"}},{label:"app.aside.nav.big1wRow",locat:{name:"TableScrollRows"}},{label:"app.aside.nav.big10wRow",locat:{name:"TableScrollFullRows"}},{label:"app.aside.nav.big1wRow1wCol",demoUrl:"https://jsrun.net/ULyKp",locat:{name:"TableScrollCols"}},{label:"app.aside.nav.big10wRow1wCol",locat:{name:"TableScrollFullCols"}},{label:"app.aside.nav.keyboard",locat:{name:"TableScrollKeyboard"}},{label:"app.aside.nav.edit",locat:{name:"TableScrollEdit"}},{label:"app.aside.nav.treeScroll",disabled:!0,locat:{name:"TableScroll"}},{label:"app.aside.nav.pageScroll",disabled:!0,locat:{name:"TableScroll"}},{label:"app.aside.nav.infiniteScroll",disabled:!0,locat:{name:"TableScroll"}},{label:"app.aside.nav.full",disabled:!0,locat:{name:"TableScroll"}}]},{label:"app.aside.nav.editable",value:"edit",expand:!1,children:[{label:"app.aside.nav.manual",locat:{name:"TableEditManual"}},{label:"app.aside.nav.click",locat:{name:"TableEditClick"}},{label:"app.aside.nav.dblclick",locat:{name:"TableEditDBLClick"}},{label:"app.aside.nav.select",locat:{name:"TableEditSelect"}},{label:"app.aside.nav.autoClear",locat:{name:"TableAutoClearManual"}},{label:"app.aside.nav.insert",locat:{name:"TableEditInsert"}},{label:"app.aside.nav.delete",locat:{name:"TableEditRemove"}},{label:"app.aside.nav.revert",locat:{name:"TableEditRevert"}},{label:"app.aside.nav.status",locat:{name:"TableEditStatus"}},{label:"app.aside.nav.cellDisable",locat:{name:"TableEditCellDisable"}},{label:"app.aside.nav.rowDisable",locat:{name:"TableEditRowDisable"}},{label:"app.aside.nav.cellVaild",locat:{name:"TableEditCellValid"}},{label:"app.aside.nav.rowVaild",locat:{name:"TableEditRowValid"}},{label:"app.aside.nav.forceCellValid",disabled:!0,locat:{name:"TableEditForceCellValid"}},{label:"app.aside.nav.forceRowVaild",disabled:!0,locat:{name:"TableEditForceRowValid"}},{label:"app.aside.nav.keyboard",locat:{name:"TableEditKeyboard"}},{label:"app.aside.nav.footer",locat:{name:"TableEditFooter"}},{label:"app.aside.nav.contextMenu",locat:{name:"TableEditMenu"}},{label:"app.aside.nav.span",locat:{name:"TableEditSpan"}},{label:"app.aside.nav.template",locat:{name:"TableEditTemplate"}},{label:"app.aside.nav.full",disabled:!0,locat:{name:"TableEditFull"}}]},{label:"app.aside.nav.module",value:"module",expand:!1,children:[{label:"app.aside.nav.icon",locat:{name:"ModuleIcon"}},{label:"app.aside.nav.button",locat:{name:"ModuleButton"}},{label:"app.aside.nav.radio",locat:{name:"ModuleRadio"}},{label:"app.aside.nav.checkbox",locat:{name:"ModuleCheckbox"}},{label:"app.aside.nav.input",locat:{name:"ModuleInput"}},{label:"app.aside.nav.pager",locat:{name:"ModulePager"}},{label:"app.aside.nav.message",locat:{name:"ModuleMessage"}},{label:"app.aside.nav.tooltip",locat:{name:"ModuleTooltip"}},{label:"app.aside.nav.toolbar",locat:{name:"ModuleToolbar"}}]},{label:"app.aside.nav.other",value:"other",expand:!1,children:[{label:"app.aside.nav.elementRender",locat:{name:"TableOtherElement"}},{label:"app.aside.nav.iviewRender",locat:{name:"TableOtherIview"}},{label:"app.aside.nav.antd",locat:{name:"TableOtherAntd"}},{label:"app.aside.nav.sortablejsRow",locat:{name:"TableSortableRow"}},{label:"app.aside.nav.sortablejsColumn",demoUrl:"https://jsrun.net/MibKp/edit",locat:{name:"TableSortableColumn"}},{label:"app.aside.nav.xlsxRender",locat:{name:"TableXlsx"}}]},{label:"app.aside.nav.plugin",value:"plugin",expand:!1,children:[{label:"app.aside.nav.elementPlugin",locat:{name:"TablePluginElementConfig"}},{label:"app.aside.nav.elementFilterPlugin",locat:{name:"TablePluginElementFilter"}},{label:"app.aside.nav.elementPluginMore",locat:{name:"TablePluginElementPage"}},{label:"app.aside.nav.iviewPlugin",locat:{name:"TablePluginIviewConfig"}},{label:"app.aside.nav.iviewFilter",locat:{name:"TablePluginIviewFilter"}},{label:"app.aside.nav.iviewPluginMore",locat:{name:"TablePluginIviewPage"}},{label:"app.aside.nav.antdPlugin",locat:{name:"TablePluginAntdConfig"}},{label:"app.aside.nav.antdFilter",locat:{name:"TablePluginAntdFilter"}},{label:"app.aside.nav.antdPluginMore",locat:{name:"TablePluginAntdPage"}},{label:"app.aside.nav.spanPlugin",disabled:!0,locat:{name:"TableBasic"}},{label:"app.aside.nav.chartsPlugin",disabled:!0,locat:{name:"TableBasic"}},{label:"app.aside.nav.excelPlugin",locat:{name:"TablePluginExcel"}}]},{label:"app.aside.nav.renderer",value:"renderer",expand:!1,children:[{label:"app.aside.nav.api",locat:{name:"RendererAPI"}},{label:"app.aside.nav.rendererFilter",locat:{name:"RendererFilter"}},{label:"app.aside.nav.rendererDefault",locat:{name:"RendererDefault"}},{label:"app.aside.nav.rendererEdit",locat:{name:"RendererEdit"}}]},{label:"app.aside.nav.interceptor",value:"interceptor",expand:!1,children:[{label:"app.aside.nav.api",locat:{name:"InterceptorAPI"}}]},{label:"app.aside.nav.api",value:"api",expand:!1,children:[{label:"app.aside.nav.vxeTable",locat:{name:"VXEAPI",params:{name:"table"}}},{label:"app.aside.nav.vxeTableColumn",locat:{name:"VXEAPI",params:{name:"table-column"}}},{label:"app.aside.nav.vxeGrid",locat:{name:"VXEAPI",params:{name:"grid"}}},{label:"app.aside.nav.vxeToolbar",locat:{name:"VXEAPI",params:{name:"toolbar"}}},{label:"app.aside.nav.vxePager",locat:{name:"VXEAPI",params:{name:"pager"}}},{label:"app.aside.nav.vxeRadio",locat:{name:"VXEAPI",params:{name:"radio"}}},{label:"app.aside.nav.vxeCheckbox",locat:{name:"VXEAPI",params:{name:"checkbox"}}},{label:"app.aside.nav.vxeInput",locat:{name:"VXEAPI",params:{name:"input"}}},{label:"app.aside.nav.vxeTextarea",locat:{name:"VXEAPI",params:{name:"textarea"}}},{label:"app.aside.nav.vxeButton",locat:{name:"VXEAPI",params:{name:"button"}}},{label:"app.aside.nav.vxeMessageBox",locat:{name:"VXEAPI",params:{name:"message"}}},{label:"app.aside.nav.vxeTooltip",locat:{name:"VXEAPI",params:{name:"tooltip"}}}]}]}},computed:{demoLink:function(){var e=this,t=this.tableList.find(function(e){return e.expand});if(t&&t.children){var n=t.children.find(function(t){return t.locat&&t.locat.name===e.$route.name});if(n)return n.demoUrl}return null},pageKey:function(){return this.$route.path.split("/")[2]}},watch:{pageKey:function(){this.init()}},created:function(){this.init()},methods:{init:function(){var e=this;this.tableList.forEach(function(e){e.expand=!1});var t=this.tableList.find(function(t){return t.value===e.pageKey});t&&(t.expand=!0)},clickEvent:function(e){var t=e.target;if(t&&"demo-code"===t.className){var n=t.nextSibling;n&&"pre"===n.tagName.toLowerCase()&&(n.className.indexOf("is-show")>-1?n.className="":n.className="is-show")}},linkEvent:function(e){this.tableList.forEach(function(t){e!==t&&(t.expand=!1)}),e.expand=!e.expand},vChangeEvent:function(){switch(this.version){case"1":location.href="/vxe-table/v1/index.html";break;case"2":location.href="/vxe-table";break;case"3":this.version="2",this.$XMsg.message({message:"由于作者比较忙,该版本正在重构开发中,敬请期待!",status:"info"});break}}}},c=s,d=n("2877"),u=Object(d["a"])(c,l,i,!1,null,null,null),h=u.exports,p=n("8c4f"),m=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"61d9"))},f=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"f924"))},b=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"8dea"))},g=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"0aa1"))},v=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"a325"))},x=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"4b3a"))},w=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"f8c4"))},y=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"32c2"))},C=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"d0c5"))},T=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"335c8"))},S=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"3617"))},k=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"5c3a0"))},E=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"43ce"))},R=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"6dcda"))},O=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"c7b5"))},$=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"4ce9"))},j=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"8bd2"))},I=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"b369"))},z=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"069f"))},P=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"8c9e"))},M=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"db47"))},D=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"4308"))},F=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"ed84"))},N=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"e7ab"))},A=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"b811"))},L=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"203d"))},B=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"14f6"))},H=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"447e"))},V=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"0dc5"))},W=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"5029"))},_=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"3c8d"))},q=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"31d8"))},X=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"8b2b"))},G=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"a5bb"))},K=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"c07b"))},U=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"da5b"))},Y=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"c88d"))},J=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"7d8e"))},Q=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"551f"))},Z=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"9976"))},ee=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"0679"))},te=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"c82b"))},ne=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"269e"))},ae=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"7062"))},le=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"ee3d"))},ie=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"2e79"))},re=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"78196"))},oe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"a1cc"))},se=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"8323"))},ce=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"3d3f"))},de=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"21f3"))},ue=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"ec08"))},he=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"2796"))},pe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"7e08"))},me=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"23ab"))},fe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"420d"))},be=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"e5f1"))},ge=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"e60c"))},ve=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"27a2"))},xe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"9516"))},we=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"5c3a5"))},ye=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"21be"))},Ce=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"c284b"))},Te=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"6503"))},Se=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"e1b6"))},ke=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"32cf"))},Ee=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"c21a"))},Re=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"a1a0"))},Oe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"165f"))},$e=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"15b1"))},je=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"ce1c"))},Ie=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"07c0"))},ze=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"d69a"))},Pe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"5638"))},Me=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"862b"))},De=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"d13f"))},Fe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"3333"))},Ne=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"5304"))},Ae=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"728f"))},Le=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"d291"))},Be=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"bba7"))},He=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"ac09"))},Ve=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"9b96"))},We=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"4467"))},_e=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"a515"))},qe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"accd"))},Xe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"0389"))},Ge=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"59b6"))},Ke=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"f43b"))},Ue=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"e77b"))},Ye=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"62f0"))},Je=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"9335"))},Qe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"68ae"))},Ze=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b08c"))},et=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b9bd"))},tt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"a5f4"))},nt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b453"))},at=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"c466"))},lt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"7356"))},it=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"946e4"))},rt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"5513"))},ot=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b254"))},st=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"1726"))},ct=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"76f9"))},dt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"ec09"))},ut=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"c1c2"))},ht=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"1a05"))},pt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"48b7"))},mt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"1906"))},ft=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"1b04"))},bt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"ba0c"))},gt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"d567"))},vt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"de0f"))},xt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"e1fb"))},wt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"edda"))},yt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"8e22"))},Ct=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"9dc4"))},Tt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"cd8e"))},St=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"cd4e"))},kt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"87a1"))},Et=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"c25e"))},Rt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"e09e"))},Ot=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"9d44"))},$t=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"84b6"))},jt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"0f7c"))},It=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"2686e"))},zt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"ac90"))},Pt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"bc3d"))},Mt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"075b"))},Dt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"e2c5"))},Ft=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"e801"))},Nt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("excel")]).then(n.bind(null,"6c86"))},At=function(){return n.e("optimize").then(n.bind(null,"8c32"))},Lt=function(){return n.e("optimize").then(n.bind(null,"a9db"))},Bt=function(){return n.e("api").then(n.bind(null,"dcc0"))};a["default"].use(p["a"]);var Ht=new p["a"]({mode:"hash",base:"/vxe-table/",routes:[{path:"*",redirect:{name:"StartInstall"}},{path:"/",redirect:{name:"StartInstall"}},{path:"/table/start/install",name:"StartInstall",component:m},{path:"/table/start/use",name:"StartUse",component:f},{path:"/table/start/global",name:"StartGlobal",component:b},{path:"/table/start/theme",name:"StartTheme",component:g},{path:"/table/start/i18n",name:"StartI18n",component:v},{path:"/table/renderer/api",name:"RendererAPI",component:x},{path:"/table/renderer/filter",name:"RendererFilter",component:w},{path:"/table/renderer/default",name:"RendererDefault",component:y},{path:"/table/renderer/edit",name:"RendererEdit",component:C},{path:"/table/interceptor/api",name:"InterceptorAPI",component:T},{path:"/table/base/basic",name:"TableBasic",component:S},{path:"/table/base/size",name:"TableSize",component:k},{path:"/table/base/overflow",name:"TableOverflow",component:E},{path:"/table/base/stripe",name:"TableStripe",component:R},{path:"/table/base/border",name:"TableBorder",component:O},{path:"/table/base/style",name:"TableStyle",component:$},{path:"/table/base/header",name:"TableHeader",component:j},{path:"/table/base/highlight",name:"TableHeaderHighlight",component:I},{path:"/table/base/resizable",name:"TableResizable",component:z},{path:"/table/base/maxHeight",name:"TableMaxHeight",component:P},{path:"/table/base/height",name:"TableHeight",component:M},{path:"/table/base/autoHeight",name:"TableAutoHeight",component:D},{path:"/table/base/fixed",name:"TableFixed",component:F},{path:"/table/base/fixedFull",name:"TableFixedFull",component:N},{path:"/table/base/group",name:"TableGroup",component:A},{path:"/table/base/index",name:"TableIndex",component:L},{path:"/table/base/current",name:"TableCurrent",component:B},{path:"/table/base/radio",name:"TableRadio",component:H},{path:"/table/base/selection",name:"TableSelection",component:V},{path:"/table/base/sort",name:"TableSort",component:W},{path:"/table/base/filter",name:"TableFilter",component:_},{path:"/table/base/empty",name:"TableEmpty",component:q},{path:"/table/base/loading",name:"TableLoading",component:X},{path:"/table/base/format",name:"TableFormat",component:G},{path:"/table/advanced/event",name:"TableEvent",component:K},{path:"/table/advanced/template",name:"TableTemplate",component:U},{path:"/table/advanced/customSort",name:"TableCustomSort",component:Y},{path:"/table/advanced/manualFilter",name:"TableManualFilter",component:J},{path:"/table/advanced/span",name:"TableSpan",component:Q},{path:"/table/advanced/spanRow",name:"TableSpanRow",component:Z},{path:"/table/advanced/footer",name:"TableFooter",component:ee},{path:"/table/advanced/export",name:"TableExport",component:te},{path:"/table/advanced/menu",name:"TableMenu",component:ne},{path:"/table/advanced/menuPrivilege",name:"TableMenuPrivilege",component:ae},{path:"/table/advanced/expand",name:"TableExpand",component:le},{path:"/table/advanced/search",name:"TableSearch",component:ie},{path:"/table/advanced/toolbar",name:"Toolbar",component:re},{path:"/table/advanced/custom",name:"TableCustom",component:oe},{path:"/table/advanced/customStorage",name:"TableCustomStorage",component:se},{path:"/table/advanced/customlWidthStorage",name:"TableCustomlWidthStorage",component:ce},{path:"/table/advanced/page",name:"TablePage",component:de},{path:"/table/advanced/keyboard",name:"TableKeyboard",component:ue},{path:"/table/tree/basic",name:"TableTreeBasic",component:Oe},{path:"/table/tree/selection",name:"TableTreeSelection",component:$e},{path:"/table/tree/radio",name:"TableTreeRadio",component:je},{path:"/table/tree/expand",name:"TableTreeExpand",component:Ie},{path:"/table/tree/toolbar",name:"TableTreeToolbar",component:ze},{path:"/table/tree/insert",name:"TableTreeInsert",component:Pe},{path:"/table/tree/menu",name:"TableTreeMenu",component:Me},{path:"/table/tree/span",name:"TableTreeSpan",component:De},{path:"/table/tree/keyboard",name:"TableTreeKeyboard",component:Fe},{path:"/table/tree/lazy",name:"TableTreeLazy",component:Ne},{path:"/table/tree/edit",name:"TableTreeEdit",component:Ae},{path:"/table/grid/basic",name:"GridBasic",component:he},{path:"/table/grid/reverse",name:"GridReverse",component:pe},{path:"/table/grid/template",name:"GridTemplate",component:me},{path:"/table/grid/page",name:"GridPage",component:fe},{path:"/table/grid/proxy",name:"GridProxy",component:ge},{path:"/table/grid/pageProxy",name:"GridPageProxy",component:ve},{path:"/table/grid/edit",name:"GridEdit",component:xe},{path:"/table/grid/toolbar",name:"GridToolbar",component:we},{path:"/table/grid/customToolbar",name:"GridCustomToolbar",component:ye},{path:"/table/grid/dynamic",name:"GridDynamic",component:Ce},{path:"/table/grid/menu",name:"GridMenu",component:Te},{path:"/table/grid/span",name:"GridSpan",component:Se},{path:"/table/grid/tree",name:"GridTree",component:ke},{path:"/table/grid/treeEdit",name:"GridTreeEdit",component:Ee},{path:"/table/grid/fullEdit",name:"GridFullEdit",component:Re},{path:"/table/grid/fullQuery",name:"GridFullQuery",component:be},{path:"/table/scroll/scroll",name:"TableScroll",component:Le},{path:"/table/scroll/rows",name:"TableScrollRows",component:Be},{path:"/table/scroll/fullRows",name:"TableScrollFullRows",component:He},{path:"/table/scroll/cols",name:"TableScrollCols",component:Ve},{path:"/table/scroll/fullCols",name:"TableScrollFullCols",component:We},{path:"/table/scroll/keyboard",name:"TableScrollKeyboard",component:_e},{path:"/table/scroll/edit",name:"TableScrollEdit",component:qe},{path:"/table/edit/manual",name:"TableEditManual",component:Xe},{path:"/table/edit/click",name:"TableEditClick",component:Ge},{path:"/table/edit/dblclick",name:"TableEditDBLClick",component:Ke},{path:"/table/edit/select",name:"TableEditSelect",component:Ue},{path:"/table/edit/autoClear",name:"TableAutoClearManual",component:Ye},{path:"/table/edit/insert",name:"TableEditInsert",component:Je},{path:"/table/edit/remove",name:"TableEditRemove",component:Qe},{path:"/table/edit/revert",name:"TableEditRevert",component:Ze},{path:"/table/edit/status",name:"TableEditStatus",component:et},{path:"/table/edit/cellDisable",name:"TableEditCellDisable",component:tt},{path:"/table/edit/rowDisable",name:"TableEditRowDisable",component:nt},{path:"/table/edit/keyboard",name:"TableEditKeyboard",component:at},{path:"/table/edit/cellValid",name:"TableEditCellValid",component:lt},{path:"/table/edit/rowValid",name:"TableEditRowValid",component:it},{path:"/table/edit/forceCellValid",name:"TableEditForceCellValid",component:rt},{path:"/table/edit/forceRowValid",name:"TableEditForceRowValid",component:ot},{path:"/table/edit/footer",name:"TableEditFooter",component:st},{path:"/table/edit/menu",name:"TableEditMenu",component:ct},{path:"/table/edit/span",name:"TableEditSpan",component:dt},{path:"/table/edit/template",name:"TableEditTemplate",component:ut},{path:"/table/edit/full",name:"TableEditFull",component:ht},{path:"/table/module/icon",name:"ModuleIcon",component:pt},{path:"/table/module/button",name:"ModuleButton",component:mt},{path:"/table/module/radio",name:"ModuleRadio",component:ft},{path:"/table/module/checkbox",name:"ModuleCheckbox",component:bt},{path:"/table/module/input",name:"ModuleInput",component:gt},{path:"/table/module/pager",name:"ModulePager",component:vt},{path:"/table/module/message",name:"ModuleMessage",component:xt},{path:"/table/module/tooltip",name:"ModuleTooltip",component:wt},{path:"/table/module/toolbar",name:"ModuleToolbar",component:yt},{path:"/table/other/element",name:"TableOtherElement",component:Ct},{path:"/table/other/iview",name:"TableOtherIview",component:Tt},{path:"/table/other/antd",name:"TableOtherAntd",component:St},{path:"/table/other/sortableColumn",name:"TableSortableColumn",component:kt},{path:"/table/other/sortableRow",name:"TableSortableRow",component:Et},{path:"/table/other/xlsx",name:"TableXlsx",component:Rt},{path:"/table/plugin/elementConfig",name:"TablePluginElementConfig",component:Ot},{path:"/table/plugin/elementFilter",name:"TablePluginElementFilter",component:$t},{path:"/table/plugin/elementPage",name:"TablePluginElementPage",component:jt},{path:"/table/plugin/iviewConfig",name:"TablePluginIviewConfig",component:It},{path:"/table/plugin/iviewFilter",name:"TablePluginIviewFilter",component:zt},{path:"/table/plugin/iviewPage",name:"TablePluginIviewPage",component:Pt},{path:"/table/plugin/antdConfig",name:"TablePluginAntdConfig",component:Mt},{path:"/table/plugin/antdFilter",name:"TablePluginAntdFilter",component:Dt},{path:"/table/plugin/antdPage",name:"TablePluginAntdPage",component:Ft},{path:"/table/plugin/excel",name:"TablePluginExcel",component:Nt},{path:"/table/optimize/scroller",name:"TableOptimizeScroller",component:At},{path:"/table/optimize/edit",name:"TableOptimizeEdit",component:Lt},{path:"/:name/api",name:"VXEAPI",component:Bt}]}),Vt=n("cebc"),Wt=(n("6762"),n("2fdb"),n("a925")),_t=n("274c"),qt=n.n(_t),Xt=n("d142"),Gt=n.n(Xt),Kt={vxe:{error:{rowIdEmpty:"The property row-id is not allowed to be empty.",delProp:"The property prop is deprecated, please use field.",delLabel:"The property label is deprecated, please use title.",delGetRecords:"The function getRecords is deprecated, please use getData.",delGetAllRecords:"The function getAllRecords is deprecated, please use getRecordset.",groupFixed:"If grouping headers are used, fixed columns must be on the left and right sides.",notResizable:"Horizontal virtual scrolling does not support resizable.",cellEditRender:"The renderer cell-render and edit-render cannot be used together.",scrollOriginal:"Virtual scrolling can only export source data, please set original=true.",treeInsert:"The tree structure does not support insert operations.",scrollYHeight:"You must set the height or max-height to enable virtual scrolling.",notQuery:"query method not exist.",notDelete:"delete method not exist.",notSave:"save method not exist.",toolbarId:"Toolbar must have a unique id"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",allFilter:"All"},grid:{selectOneRecord:"Please choose at least one piece of record!",deleteSelectRecord:"Are you sure you want to delete the selected record?",removeSelectRecord:"Are you sure you want to remove the selected record?",dataUnchanged:"Data unchanged! ",saveSuccess:"save successfully."},pager:{goto:"Go to",pagesize:"/page",total:"Total {{total}} record",pageClassifier:""},alert:{title:"Message notification"},button:{confirm:"Confirm",cancel:"Cancel"}}},Ut={vxe:{error:{rowIdEmpty:"参数 row-id 不允许为空",delProp:"参数 prop 已废弃,请使用 field",delLabel:"参数 label 已废弃,请使用 title",delGetRecords:"方法 getRecords 已废弃,请使用 getData",delGetAllRecords:"方法 getAllRecords 已废弃,请使用 getRecordset",groupFixed:"如果使用分组表头,固定列必须在左右两侧",notResizable:"横向虚拟滚动不支持 resizable",cellEditRender:"渲染器 cell-render 和 edit-render 不能同时使用",scrollOriginal:"虚拟滚动启用后只能导出源数据,请将设置 original=true",treeInsert:"树结构不支持 insert 操作",scrollYHeight:"启用虚拟滚动必须要设置 height 或 max-height",notQuery:"query 方法不存在",notDelete:"delete 方法不存在",notSave:"save 方法不存在",toolbarId:"工具栏需要设置唯一 id"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",allFilter:"全部"},grid:{selectOneRecord:"请至少选择一条记录!",deleteSelectRecord:"您确定要删除所选记录吗?",removeSelectRecord:"您确定要移除所选记录吗?",dataUnchanged:"数据未改动! ",saveSuccess:"保存成功"},pager:{goto:"前往",pagesize:"条/页",total:"共 {{total}} 条记录",pageClassifier:"页"},alert:{title:"消息提示"},button:{confirm:"确认",cancel:"取消"}}};a["default"].use(Wt["a"]);var Yt=new Wt["a"]({locale:["zh-CN","zh-TW"].includes(navigator.language)?"zh-CN":"en",messages:{en:Object(Vt["a"])({},Kt,qt.a),"zh-CN":Object(Vt["a"])({},Ut,Gt.a)}}),Jt=Yt,Qt=(n("8512"),n("7909"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"table"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])}),Zt=[],en={name:"TableApiLink",props:{name:String,prop:String}},tn=en,nn=Object(d["a"])(tn,Qt,Zt,!1,null,null,null),an=nn.exports,ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"table-column"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},rn=[],on={name:"TableColumnApiLink",props:{name:String,prop:String}},sn=on,cn=Object(d["a"])(sn,ln,rn,!1,null,null,null),dn=cn.exports,un=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"pager"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},hn=[],pn={name:"PagerApiLink",props:{name:String,prop:String}},mn=pn,fn=Object(d["a"])(mn,un,hn,!1,null,null,null),bn=fn.exports,gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"toolbar"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},vn=[],xn={name:"ToolbarApiLink",props:{name:String,prop:String}},wn=xn,yn=Object(d["a"])(wn,gn,vn,!1,null,null,null),Cn=yn.exports,Tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"grid"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},Sn=[],kn={name:"GridApiLink",props:{name:String,prop:String}},En=kn,Rn=Object(d["a"])(En,Tn,Sn,!1,null,null,null),On=Rn.exports,$n=(n("8da8"),n("5c96")),jn=n.n($n);n("0fae");a["default"].use(jn.a);var In=n("e069"),zn=n.n(In);n("dcad");a["default"].use(zn.a,{transfer:!0}),a["default"].use(zn.a);var Pn=n("f23d");n("202f");a["default"].use(Pn["a"]);var Mn=n("61c2"),Dn=(n("456d"),n("55dd"),n("d263"),n("bd86")),Fn=(n("5df3"),n("f400"),n("c5f6"),n("d225")),Nn=n("b0b4"),An=n("10a8"),Ln=0,Bn=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.renderHeader,l=n.renderCell,i=n.renderData;Object(Fn["a"])(this,e),t.cellRender&&t.editRender&&Vn.warn("vxe.error.cellEditRender"),Object.assign(this,{id:"col_".concat(++Ln),type:t.type,prop:t.prop,property:t.field||t.prop,title:t.title,label:t.label,width:t.width,minWidth:t.minWidth,resizable:t.resizable,fixed:t.fixed,align:t.align,headerAlign:t.headerAlign,showOverflow:t.showOverflow,showHeaderOverflow:t.showHeaderOverflow,indexMethod:t.indexMethod,formatter:t.formatter,sortable:t.sortable,sortBy:t.sortBy,remoteSort:t.remoteSort,filters:Vn.getFilters(t.filters),filterMultiple:!o.a.isBoolean(t.filterMultiple)||t.filterMultiple,filterMethod:t.filterMethod,filterRender:t.filterRender,treeNode:t.treeNode,cellRender:t.cellRender,editRender:t.editRender,params:t.params,visible:!0,level:1,rowSpan:1,colSpan:1,order:null,renderWidth:0,renderHeight:0,resizeWidth:0,renderLeft:0,model:{},renderHeader:a||t.renderHeader,renderCell:l||t.renderCell,renderData:i,slots:t.slots,own:t})};function Hn(e){return function(t){var n="[vxe-table] ".concat(An["a"].i18n(t));return console[e](n),n}}var Vn={warn:Hn("warn"),error:Hn("error"),getSize:function(e){var t=e.size,n=e.$parent;return t||(n&&["medium","small","mini"].indexOf(n.size)>-1?n.size:null)},getFuncText:function(e){return o.a.isFunction(e)?e():An["a"].translate?An["a"].translate(e):e},getRowkey:function(e){return e.rowId},getRowid:function(e,t){var n=o.a.get(t,Vn.getRowkey(e));return n?encodeURIComponent(n):""},emitEvent:function(e,t,n){e.$listeners[t]&&e.$emit.apply(e,[t].concat(n))},getColumnList:function(e){var t=[];return e.forEach(function(e){t.push.apply(t,e.children&&e.children.length?Vn.getColumnList(e.children):[e])}),t},getFilters:function(e){return(e||[]).map(function(e){var t=e.label,n=e.value,a=e.data,l=e.checked;return{label:t,value:n,data:a,_data:a,checked:!!l}})},formatText:function(e,t){return""+(null===e||void 0===e?t?An["a"].emptyCell:"":e)},getCellValue:function(e,t){return o.a.get(e,t.property)},getCellLabel:function(e,t,n){var a=t.formatter,l=Vn.getCellValue(e,t),i=l;if(n&&a){var r,s,c=n.$table,d=t.id,u=c&&c.fullAllDataRowMap.has(e);if(u&&(r=c.fullAllDataRowMap.get(e),s=r.formatData,s||(s=c.fullAllDataRowMap.get(e).formatData={})),r&&s[d]&&s[d].value===l)return s[d].label;i=o.a.isString(a)?o.a[a](l):o.a.isArray(a)?o.a[a[0]].apply(o.a,[l].concat(a.slice(1))):a(Object.assign({cellValue:l},n)),s&&(s[d]={value:l,label:i})}return i},setCellValue:function(e,t,n){return o.a.set(e,t.property,n)},getColumnConfig:function(e,t){return e instanceof Bn?e:new Bn(e,t)},assemColumn:function(e){var t=e.$table,n=e.$parent,a=e.columnConfig,l=n.columnConfig;a.slots=e.$scopedSlots,l&&n.$children.length>0?(l.children||(l.children=[]),l.children.splice([].indexOf.call(n.$el.children,e.$el),0,a)):t.collectColumn.splice([].indexOf.call(t.$refs.hideColumn.children,e.$el),0,a)},destroyColumn:function(e){var t=e.$table,n=e.columnConfig,a=o.a.findTree(t.collectColumn,function(e){return e===n});a&&a.items.splice(a.index,1)},hasChildrenList:function(e){return e&&e.children&&e.children.length>0}},Wn=Vn,_n=(n("a481"),n("4917"),n("3b2b"),o.a.browse()),qn=document.querySelector("html"),Xn=document.body;function Gn(e){return Kn[e]||(Kn[e]=new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g")),Kn[e]}var Kn={},Un={browse:_n,isPx:function(e){return e&&/^\d+(px)?$/.test(e)},isScale:function(e){return e&&/^\d+%$/.test(e)},hasClass:function(e,t){return e&&e.className&&e.className.match&&e.className.match(Gn(t))},removeClass:function(e,t){e&&Un.hasClass(e,t)&&(e.className=e.className.replace(Gn(t),""))},addClass:function(e,t){e&&!Un.hasClass(e,t)&&(Un.removeClass(e,t),e.className="".concat(e.className," ").concat(t))},updateCellTitle:function(e){var t=e.currentTarget.querySelector(".vxe-cell"),n=t.innerText;t.getAttribute("title")!==n&&t.setAttribute("title",n)},rowToVisible:function(e,t){var n=e.$refs.tableBody.$el,a=n.querySelector('[data-rowid="'.concat(Wn.getRowid(e,t),'"]'));if(a){var l=n.clientHeight,i=n.scrollTop,r=a.offsetTop+(a.offsetParent?a.offsetParent.offsetTop:0),o=a.clientHeight;ri+l?n.scrollTop=r:r+o>=l+i&&(n.scrollTop=i+o)}else e.scrollYLoad&&(n.scrollTop=(e.afterFullData.indexOf(t)-1)*e.scrollYStore.rowHeight)},colToVisible:function(e,t){var n=e.$refs.tableBody.$el,a=n.querySelector(".".concat(t.id));if(a){var l=n.clientWidth,i=n.scrollLeft,r=a.offsetLeft+(a.offsetParent?a.offsetParent.offsetLeft:0),o=a.clientWidth;ri+l?n.scrollLeft=r:r+o>=l+i&&(n.scrollLeft=i+o)}else if(e.scrollXLoad){for(var s=e.visibleColumn,c=0,d=0;d-1}],on:h},u&&u.length?[e("i",{class:"vxe-tree--node-btn ".concat(n.tree)})]:[])]},renderIndexHeader:function(e,t){var n=t.column,a=n.slots,l=n.own;return a&&a.header?a.header(t,e):[Vn.formatText(Vn.getFuncText(l.title||l.label||"#"),1)]},renderIndexCell:function(e,t){var n=t.$table,a=t.column,l=n.startIndex,i=a.slots,r=a.indexMethod;if(i&&i.default)return i.default(t,e);var o=t.$seq,s=t.seq,c=t.level;return[Vn.formatText(r?r(t):c?"".concat(o,".").concat(s):l+s,1)]},renderTreeIndexCell:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderIndexCell(e,t))},renderRadioHeader:function(e,t){var n=t.column,a=n.slots,l=n.own;return a&&a.header?a.header(t,e):[Vn.formatText(Vn.getFuncText(l.title||l.label),1)]},renderRadioCell:function(e,t){var n,a=t.$table,l=t.column,i=t.isHidden,r=a.vSize,s=a.radioConfig,c=void 0===s?{}:s,d=l.slots,u=c.labelField,h=c.checkMethod,p=!!h;if(d&&d.default)return d.default(t,e);var m=a.selectRow,f=t.row,b={attrs:{type:"radio",name:"vxe-radio--".concat(a.id)}};return i||(h&&(p=!h(t),b.attrs.disabled=p),b.domProps={checked:f===m},b.on={change:function(e){a.triggerRadioRowEvent(e,t)}}),[e("label",{class:["vxe-radio",(n={},Object(Dn["a"])(n,"size--".concat(r),r),Object(Dn["a"])(n,"is--disabled",p),n)]},[e("input",b),e("span",{class:"vxe-radio--icon"}),u?e("span",{class:"vxe-radio--label"},o.a.get(f,u)):null])]},renderTreeRadioCell:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderRadioCell(e,t))},renderSelectionHeader:function(e,t){var n,a=t.$table,l=t.column,i=t.isHidden,r=a.vSize,o=a.selectConfig,s=l.slots,c=l.own,d=c.title||c.label,u={attrs:{type:"checkbox"}};return s&&s.header?s.header(t,e):o&&(o.checkStrictly?!o.showHeader:!1===o.showHeader)?[]:(i||(u.domProps={checked:a.isAllSelected},u.on={change:function(e){a.triggerCheckAllEvent(e,e.target.checked)}}),[e("label",{class:["vxe-checkbox",(n={},Object(Dn["a"])(n,"size--".concat(r),r),Object(Dn["a"])(n,"is--indeterminate",a.isIndeterminate),n)]},[e("input",u),e("span",{class:"vxe-checkbox--icon"}),d?e("span",{class:"vxe-checkbox--label"},Vn.getFuncText(d)):null])])},renderSelectionCell:function(e,t){var n,a=t.$table,l=t.row,i=t.column,r=t.isHidden,s=a.vSize,c=a.selectConfig,d=void 0===c?{}:c,u=a.treeConfig,h=a.treeIndeterminates,p=d.labelField,m=d.checkMethod,f=i.slots,b=!1,g=!!m,v={attrs:{type:"checkbox"}};return f&&f.default?f.default(t,e):(r||(m&&(g=!m(t),v.attrs.disabled=g),u&&(b=h.indexOf(l)>-1),v.domProps={checked:a.selection.indexOf(l)>-1},v.on={change:function(e){a.triggerCheckRowEvent(e,t,e.target.checked)}}),[e("label",{class:["vxe-checkbox",(n={},Object(Dn["a"])(n,"size--".concat(s),s),Object(Dn["a"])(n,"is--indeterminate",b),Object(Dn["a"])(n,"is--disabled",g),n)]},[e("input",v),e("span",{class:"vxe-checkbox--icon"}),p?e("span",{class:"vxe-checkbox--label"},o.a.get(l,p)):null])])},renderTreeSelectionCell:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderSelectionCell(e,t))},renderSelectionCellByProp:function(e,t){var n,a=t.$table,l=t.row,i=t.column,r=t.isHidden,s=a.vSize,c=a.selectConfig,d=void 0===c?{}:c,u=a.treeConfig,h=a.treeIndeterminates,p=d.labelField,m=d.checkField,f=d.checkMethod,b=i.slots,g=!1,v=!!f,x={attrs:{type:"checkbox"}};return b&&b.default?b.default(t,e):(r||(f&&(v=!f(t),x.attrs.disabled=v),u&&(g=h.indexOf(l)>-1),x.domProps={checked:o.a.get(l,m)},x.on={change:function(e){a.triggerCheckRowEvent(e,t,e.target.checked)}}),[e("label",{class:["vxe-checkbox",(n={},Object(Dn["a"])(n,"size--".concat(s),s),Object(Dn["a"])(n,"is--indeterminate",g),Object(Dn["a"])(n,"is--disabled",v),n)]},[e("input",x),e("span",{class:"vxe-checkbox--icon"}),p?e("span",{class:"vxe-checkbox--label"},o.a.get(l,p)):null])])},renderTreeSelectionCellByProp:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderSelectionCellByProp(e,t))},renderExpandCell:function(e,t){var n=t.$table,a=t.isHidden,l=!1;return a||(l=n.expandeds.indexOf(t.row)>-1),[e("span",{class:["vxe-table--expanded",{"expand--active":l}],on:{click:function(e){n.triggerRowExpandEvent(e,t)}}},[e("i",{class:"vxe-table--expand-icon"})])]},renderExpandData:function(e,t){var n=t.column,a=n.slots;return a&&a.default?a.default(t,e):[]},renderSortAndFilterHeader:function(e,t){return na.renderHeader(e,t).concat(na.renderSortIcon(e,t)).concat(na.renderFilterIcon(e,t))},renderSortHeader:function(e,t){return na.renderHeader(e,t).concat(na.renderSortIcon(e,t))},renderSortIcon:function(e,t){var n=An["a"].icon,a=t.$table,l=t.column;return[e("span",{class:"vxe-sort-wrapper"},[e("i",{class:["vxe-sort--asc-btn",n.sortAsc,{"sort--active":"asc"===l.order}],on:{click:function(e){a.triggerSortEvent(e,l,t,"asc")}}}),e("i",{class:["vxe-sort--desc-btn",n.sortDesc,{"sort--active":"desc"===l.order}],on:{click:function(e){a.triggerSortEvent(e,l,t,"desc")}}})])]},renderFilterHeader:function(e,t){return na.renderHeader(e,t).concat(na.renderFilterIcon(e,t))},renderFilterIcon:function(e,t){var n=An["a"].icon,a=t.$table,l=t.column,i=a.filterStore;return[e("span",{class:["vxe-filter-wrapper",{"is--active":i.visible&&i.column===l}]},[e("i",{class:"vxe-filter--btn ".concat(n.filter),on:{click:function(e){a.triggerFilterEvent(e,t.column,t)}}})])]},renderEditHeader:function(e,t){var n,a=An["a"].icon,l=t.$table,i=t.column,r=l.editRules,s=l.editConfig,c=i.sortable,d=i.remoteSort,u=i.filters;if(r){var h=o.a.get(r,t.column.property);h&&(n=h.some(function(e){return e.required}))}return[n?e("i",{class:"vxe-required-icon"}):null,s&&!1===s.showIcon?null:e("i",{class:"vxe-edit-icon ".concat(a.edit)})].concat(na.renderHeader(e,t)).concat(c||d?na.renderSortIcon(e,t):[]).concat(u&&u.length?na.renderFilterIcon(e,t):[])},renderRowEdit:function(e,t){var n=t.$table,a=n.editStore.actived;return na.runRenderer(e,t,this,a&&a.row===t.row)},renderTreeRowEdit:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderRowEdit(e,t))},renderCellEdit:function(e,t){var n=t.$table,a=n.editStore.actived;return na.runRenderer(e,t,this,a&&a.row===t.row&&a.column===t.column)},renderTreeCellEdit:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderCellEdit(e,t))},runRenderer:function(e,t,n,a){var l=t.$table,i=t.row,r=t.column,o=r.slots,s=r.own,c=r.formatter,d=s.editRender,u=Mn["b"].get(d.name);return"visible"===d.type||a?o&&o.edit?o.edit(t,e):u&&u.renderEdit?u.renderEdit.call(l,e,d,t,{$excel:l.$parent,$table:l,$column:r}):[]:o&&o.default?o.default(t,e):c?[Vn.formatText(Vn.getCellLabel(i,r,t),1)]:na.renderCell.call(n,e,t)}},aa=na,la=aa,ia=0,ra=Un.browse,oa=ra["-webkit"]&&!ra.edge,sa=ra.msie?40:20,ca=function(){function e(t){Object(Fn["a"])(this,e),Object.assign(this,{$options:t,required:t.required,min:t.min,max:t.min,type:t.type,pattern:t.pattern,validator:t.validator,trigger:t.trigger,maxWidth:t.maxWidth})}return Object(Nn["a"])(e,[{key:"message",get:function(){return Vn.getFuncText(this.$options.message)}}]),e}();function da(){return"row_".concat(++ia)}function ua(e,t,n){var a=t.tableData,l=t.tableColumn,i=t.visibleColumn,r=t.collectColumn,o=t.isGroup,s=t.vSize,c=t.showHeader,d=t.showFooter,u=t.columnStore,h=t.footerData,p=u["".concat(n,"List")];return e("div",{class:"vxe-table--fixed-".concat(n,"-wrapper"),ref:"".concat(n,"Container")},[c?e("vxe-table-header",{props:{fixedType:n,tableData:a,tableColumn:l,visibleColumn:i,collectColumn:r,size:s,fixedColumn:p,isGroup:o},ref:"".concat(n,"Header")}):null,e("vxe-table-body",{props:{fixedType:n,tableData:a,tableColumn:l,visibleColumn:i,collectColumn:r,fixedColumn:p,size:s,isGroup:o},ref:"".concat(n,"Body")}),d?e("vxe-table-footer",{props:{fixedType:n,footerData:h,tableColumn:l,visibleColumn:i,size:s,fixedColumn:p},ref:"".concat(n,"Footer")}):null])}var ha={children:"children"},pa={name:"VxeTable",props:{data:Array,customs:Array,height:[Number,String],maxHeight:[Number,String],resizable:{type:Boolean,default:function(){return An["a"].resizable}},stripe:{type:Boolean,default:function(){return An["a"].stripe}},border:{type:Boolean,default:function(){return An["a"].border}},size:{type:String,default:function(){return An["a"].size}},fit:{type:Boolean,default:function(){return An["a"].fit}},loading:Boolean,align:{type:String,default:function(){return An["a"].align}},headerAlign:{type:String,default:function(){return An["a"].headerAlign}},showHeader:{type:Boolean,default:function(){return An["a"].showHeader}},startIndex:{type:Number,default:0},highlightCurrentRow:{type:Boolean,default:function(){return An["a"].highlightCurrentRow}},highlightHoverRow:{type:Boolean,default:function(){return An["a"].highlightHoverRow}},highlightCurrentColumn:{type:Boolean,default:function(){return An["a"].highlightCurrentColumn}},highlightHoverColumn:{type:Boolean,default:function(){return An["a"].highlightHoverColumn}},highlightCell:Boolean,showFooter:Boolean,footerMethod:Function,rowClassName:[String,Function],cellClassName:[String,Function],headerRowClassName:[String,Function],headerCellClassName:[String,Function],footerRowClassName:[String,Function],footerCellClassName:[String,Function],spanMethod:Function,showOverflow:{type:[Boolean,String],default:function(){return An["a"].showOverflow}},showHeaderOverflow:{type:[Boolean,String],default:function(){return An["a"].showHeaderOverflow}},remoteFilter:Boolean,remoteSort:Boolean,columnWidth:[Number,String],columnMinWidth:[Number,String],columnKey:Boolean,rowKey:Boolean,rowId:{type:String,default:function(){return An["a"].rowId}},autoResize:Boolean,sortConfig:Object,radioConfig:Object,selectConfig:Object,tooltipConfig:Object,expandConfig:Object,treeConfig:Object,contextMenu:Object,mouseConfig:Object,keyboardConfig:Object,editConfig:Object,validConfig:Object,editRules:Object,optimization:Object,params:Object},provide:function(){return{$table:this}},data:function(){return{id:o.a.uniqueId(),collectColumn:[],tableFullColumn:[],tableColumn:[],tableData:[],scrollXLoad:!1,scrollYLoad:!1,overflowY:!0,overflowX:!1,scrollbarWidth:0,scrollbarHeight:0,isAllSelected:!1,isIndeterminate:!1,selection:[],currentRow:null,selectRow:null,footerData:[],expandeds:[],treeExpandeds:[],treeIndeterminates:[],filterStore:{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1},columnStore:{leftList:[],centerList:[],rightList:[],resizeList:[],pxList:[],pxMinList:[],scaleList:[],scaleMinList:[],autoList:[]},ctxMenuStore:{selected:null,visible:!1,showChild:!1,selectChild:null,list:[],style:null},editStore:{indexs:{columns:[]},titles:{columns:[]},checked:{rows:[],columns:[],tRows:[],tColumns:[]},selected:{row:null,column:null},copyed:{cut:!1,rows:[],columns:[]},actived:{row:null,column:null},insertList:[],removeList:[]},validStore:{visible:!1,row:null,column:null,content:"",rule:null,isArrow:!1}}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},validOpts:function(){return Object.assign({message:"default"},An["a"].validConfig,this.validConfig)},optimizeOpts:function(){return Object.assign({},An["a"].optimization,this.optimization)},vaildTipOpts:function(){return Object.assign({isArrow:!1},this.tooltipConfig)},sortOpts:function(){return Object.assign({},An["a"].sortConfig,this.sortConfig)},isGroup:function(){return this.collectColumn.some(function(e){return Vn.hasChildrenList(e)})},hasTip:function(){return An["a"]._tip},visibleColumn:function(){return this.tableFullColumn?this.tableFullColumn.filter(function(e){return e.visible}):[]},isResizable:function(){return this.resizable||this.tableFullColumn.some(function(e){return e.resizable})},hasFilter:function(){return this.tableColumn.some(function(e){return e.filters&&e.filters.length})},headerCtxMenu:function(){return this.ctxMenuOpts.header&&this.ctxMenuOpts.header.options?this.ctxMenuOpts.header.options:[]},bodyCtxMenu:function(){return this.ctxMenuOpts.body&&this.ctxMenuOpts.body.options?this.ctxMenuOpts.body.options:[]},isCtxMenu:function(){return this.headerCtxMenu.length||this.bodyCtxMenu.length},ctxMenuOpts:function(){return Object.assign({},An["a"].menu,this.contextMenu)},ctxMenuList:function(){var e=[];return this.ctxMenuStore.list.forEach(function(t){t.forEach(function(t){e.push(t)})}),e}},watch:{data:function(e){this._isUpdateData||this.loadData(e,!0).then(this.handleDefault),this._isUpdateData=!1},customs:function(e){this.isUpdateCustoms||this.mergeCustomColumn(e),this.isUpdateCustoms=!1},collectColumn:function(e){var t=Vn.getColumnList(e);if(this.tableFullColumn=t,this.cacheColumnMap(),this.customs&&this.mergeCustomColumn(this.customs),this.refreshColumn(),this.handleData(!0),this._toolbar&&this._toolbar.updateColumn(t),t.length){var n=Math.floor((t.length-1)/2);t[n].prop&&Vn.warn("vxe.error.delProp"),t[n].label&&Vn.warn("vxe.error.delLabel")}},tableColumn:function(){this.analyColumnWidth()},height:function(){this.$nextTick(this.recalculate)},loading:function(){this._isLoading||(this._isLoading=!0)}},created:function(){var e=this,t=Object.assign(this,{elemStore:{},scrollXStore:{},scrollYStore:{},tooltipStore:{},parentHeight:0,tableWidth:0,tableHeight:0,headerHeight:0,footerHeight:0,lastScrollLeft:0,lastScrollTop:0,tableFullData:[],afterFullData:[],fullAllDataRowMap:new Map,fullAllDataRowIdData:{},fullDataRowMap:new Map,fullDataRowIdData:{},fullColumnMap:new Map,fullColumnIdData:{}}),n=t.scrollYStore,a=t.optimizeOpts,l=t.data,i=t.loading,r=a.scrollY;this._isLoading=i,r&&Object.assign(n,{startIndex:0,visibleIndex:0,adaptive:!o.a.isBoolean(r.adaptive)||r.adaptive,renderSize:o.a.toNumber(r.rSize),offsetSize:o.a.toNumber(r.oSize)}),Vn.getRowkey(this)||Vn.error("vxe.error.rowIdEmpty"),this.loadData(l,!0).then(function(){e.handleDefault(),e.updateStyle()}),ea.on(this,"mousedown",this.handleGlobalMousedownEvent),ea.on(this,"blur",this.handleGlobalBlurEvent),ea.on(this,"contextmenu",this.handleGlobalContextmenuEvent),ea.on(this,"mousewheel",this.handleGlobalMousewheelEvent),ea.on(this,"keydown",this.handleGlobalKeydownEvent),ea.on(this,"resize",this.handleGlobalResizeEvent)},mounted:function(){this.autoResize&&ta.on(this,this.$el.parentNode,this.recalculate),document.body.appendChild(this.$refs.tableWrapper)},activated:function(){this.scrollTo(this.lastScrollLeft,this.lastScrollTop)},beforeDestroy:function(){var e=this.$refs.tableWrapper;e&&e.parentNode&&e.parentNode.removeChild(e),ta.off&&ta.off(this,this.$el.parentNode),this.closeFilter(),this.closeMenu()},destroyed:function(){ea.off(this,"mousedown"),ea.off(this,"blur"),ea.off(this,"contextmenu"),ea.off(this,"mousewheel"),ea.off(this,"keydown"),ea.off(this,"resize")},render:function(e){var t,n=this._e,a=this.id,l=this.tableData,i=this.tableColumn,r=this.visibleColumn,o=this.collectColumn,s=this.isGroup,c=this.hasFilter,d=this.isResizable,u=this.isCtxMenu,h=this.loading,p=this._isLoading,m=this.showHeader,f=this.border,b=this.stripe,g=this.height,v=this.highlightHoverRow,x=this.highlightHoverColumn,w=this.highlightCell,y=this.vSize,C=this.showOverflow,T=this.showHeaderOverflow,S=this.editConfig,k=this.validOpts,E=this.mouseConfig,R=void 0===E?{}:E,O=this.editRules,$=this.showFooter,j=this.footerMethod,I=this.overflowX,z=this.overflowY,P=this.scrollbarHeight,M=this.optimizeOpts,D=this.vaildTipOpts,F=this.tooltipConfig,N=this.columnStore,A=this.filterStore,L=this.ctxMenuStore,B=this.footerData,H=this.hasTip,V=N.leftList,W=N.rightList;return e("div",{class:(t={"vxe-table":1},Object(Dn["a"])(t,"size--".concat(y),y),Object(Dn["a"])(t,"vxe-editable",S),Object(Dn["a"])(t,"show--head",m),Object(Dn["a"])(t,"show--foot",$),Object(Dn["a"])(t,"scroll--y",z),Object(Dn["a"])(t,"scroll--x",I),Object(Dn["a"])(t,"fixed--left",V.length),Object(Dn["a"])(t,"fixed--right",W.length),Object(Dn["a"])(t,"all-overflow",C),Object(Dn["a"])(t,"all-head-overflow",T),Object(Dn["a"])(t,"c--highlight",w),Object(Dn["a"])(t,"t--animat",M.animat),Object(Dn["a"])(t,"t--stripe",b),Object(Dn["a"])(t,"t--border",f),Object(Dn["a"])(t,"t--checked",R.checked),Object(Dn["a"])(t,"is--loading",h),Object(Dn["a"])(t,"row--highlight",v),Object(Dn["a"])(t,"column--highlight",x),t)},[e("div",{class:"vxe-table-hidden-column",ref:"hideColumn"},this.$slots.default),m?e("vxe-table-header",{ref:"tableHeader",props:{tableData:l,tableColumn:i,visibleColumn:r,collectColumn:o,size:y,isGroup:s}}):n(),e("vxe-table-body",{ref:"tableBody",props:{tableData:l,tableColumn:i,visibleColumn:r,collectColumn:o,size:y,isGroup:s}}),$?e("vxe-table-footer",{props:{footerData:B,footerMethod:j,tableColumn:i,visibleColumn:r,size:y},ref:"tableFooter"}):n(),V&&V.length&&I?ua(e,this,"left"):n(),W&&W.length&&I?ua(e,this,"right"):n(),d?e("div",{class:"vxe-table--resizable-bar",style:I?{"padding-bottom":"".concat(P,"px")}:null,ref:"resizeBar"}):n(),p?e("vxe-table-loading",{props:{visible:h}}):n(),e("div",{class:"vxe-table".concat(a,"-wrapper ").concat(this.$vnode.data.staticClass||""),ref:"tableWrapper"},[c?e("vxe-table-filter",{props:{optimizeOpts:M,filterStore:A},ref:"filterWrapper"}):n(),u?e("vxe-table-context-menu",{props:{ctxMenuStore:L},ref:"ctxWrapper"}):n(),H?e("vxe-tooltip",{ref:"tooltip",props:F}):n(),H&&O&&("default"===k.message?!g:"tooltip"===k.message)?e("vxe-tooltip",{class:"vxe-table--valid-error",props:"tooltip"===k.message||1===l.length?D:null,ref:"validTip"}):n()])])},methods:{clearAll:function(){return this.clearScroll(),this.clearSort(),this.clearFilter(),this.clearCurrentRow(),this.clearCurrentColumn(),this.clearSelection(),this.clearRowExpand(),this.clearTreeExpand(),this.clearIndexChecked(),this.clearHeaderChecked(),this.clearChecked(),this.clearSelected(),this.clearCopyed(),this.clearActived()},refreshData:function(){var e=this;return this.$nextTick().then(function(){return e.tableData=[],e.$nextTick().then(function(){return e.loadData(e.tableFullData)})})},updateData:function(){return this.handleData(!0).then(this.recalculate)},handleData:function(e){return this.tableData=this.getTableData(e).tableData,this.$nextTick()},loadData:function(e,t){var n=this,a=this.height,l=this.maxHeight,i=this.editStore,r=this.optimizeOpts,s=this.recalculate,c=r.scrollY,d=e?e.slice(0):[],u=c&&c.gt&&c.gt-1}),f.push(u)}}):(e.forEach(function(e){d(e)||h.push(e)}),f=o.a.remove(a,function(t){return e.indexOf(t)>-1}),m||o.a.remove(c,function(t){return e.indexOf(t)>-1}),o.a.remove(n,function(t){return e.indexOf(t)>-1})),o.a.remove(p,function(t){return e.indexOf(t)>-1})),u&&this.updateScrollYSpace(),this.updateCache(),this.checkSelectionStatus(),this.$nextTick().then(function(){return t.recalculate(),{row:e&&e.length?e[e.length-1]:null,rows:f}})},removeSelecteds:function(){var e=this;return this.remove(this.getSelectRecords()).then(function(t){return e.clearSelection(),t})},revert:function(e,t){var n=this.tableSourceData,a=this.getRowIndex;return arguments.length?(e&&!o.a.isArray(e)&&(e=[e]),e.forEach(function(e){var l=a(e),i=n[l];i&&e&&(t?o.a.set(e,t,o.a.get(i,t)):o.a.destructuring(e,i))}),this.$nextTick()):this.reloadData(n)},clearData:function(e,t){var n=this.tableFullData,a=this.visibleColumn;return arguments.length?e&&!o.a.isArray(e)&&(e=[e]):e=n,t?e.forEach(function(e){return o.a.set(e,t,null)}):e.forEach(function(e){a.forEach(function(t){t.property&&Vn.setCellValue(e,t,null)})}),this.$nextTick()},hasRowInsert:function(e){return this.editStore.insertList.indexOf(e)>-1},hasRowChange:function(e,t){var n,a,l=this,i=this.visibleColumn,r=this.treeConfig,s=this.tableSourceData,c=this.fullDataRowIdData,d=Vn.getRowid(this,e);if(!c[d])return!1;if(r){var u=r.children,h=o.a.findTree(s,function(e){return d===Vn.getRowid(l,e)},r);e=Object.assign({},e,Object(Dn["a"])({},u,null)),h&&(n=Object.assign({},h.item,Object(Dn["a"])({},u,null)))}else{var p=c[d].index;n=s[p]}if(n){if(arguments.length>1)return!o.a.isEqual(o.a.get(n,t),o.a.get(e,t));for(var m=0,f=i.length;m-1},n):e.filter(function(e){return c.indexOf(e)>-1}),s=t.insertList.filter(function(e){return c.indexOf(e)>-1})}return r.concat(s)},getUpdateRecords:function(){var e=this.tableFullData,t=this.hasRowChange,n=this.treeConfig;return n?o.a.filterTree(e,function(e){return t(e)},n):e.filter(function(e){return t(e)})},updateAfterFullData:function(){var e=this.visibleColumn,t=this.tableFullData,n=this.remoteSort,a=this.remoteFilter,l=t,i=e.find(function(e){return e.order}),r=e.filter(function(e){var t=e.filters;return t&&t.length});if(l=l.filter(function(e){return r.every(function(t){var n=t.filters,l=t.filterRender,i=l?Mn["b"].get(l.name):null,r=[],s=[];if(n&&n.length&&(n.forEach(function(e){e.checked&&(s.push(e),r.push(e.value))}),r.length&&!a)){var c=t.property,d=t.filterMethod;return!d&&i&&i.renderFilter&&(d=i.filterMethod),d?s.some(function(n){return d({value:n.value,option:n,row:e,column:t})}):r.indexOf(o.a.get(e,c))>-1}return!0})}),i&&i.order){var s=o.a.isBoolean(i.remoteSort)?i.remoteSort:n;if(!s){var c=o.a.sortBy(l,i.property);l="desc"===i.order?c.reverse():c}}return this.afterFullData=l,l},getRowById:function(e){var t=this.fullDataRowIdData;return t[e]?t[e].row:null},getTableData:function(e){var t=this.tableFullData,n=this.scrollYLoad,a=this.scrollYStore,l=e?this.updateAfterFullData():this.afterFullData;return{fullData:t.slice(0),visibleData:l.slice(0),tableData:n?l.slice(a.startIndex,a.startIndex+a.renderSize):l.slice(0)}},handleDefault:function(){this.selectConfig&&this.handleSelectionDefChecked(),this.radioConfig&&this.handleRadioDefChecked(),this.expandConfig&&this.handleDefaultRowExpand(),this.treeConfig&&this.handleDefaultTreeExpand(),this.updateFooter(),this.$nextTick(this.recalculate)},mergeCustomColumn:function(e){var t=this.tableFullColumn;this.isUpdateCustoms=!0,e.length&&t.forEach(function(t){var n=e.find(function(e){return t.property&&(e.field||e.prop)===t.property});n&&(o.a.isNumber(n.resizeWidth)&&(t.resizeWidth=n.resizeWidth),o.a.isBoolean(n.visible)&&(t.visible=n.visible))}),this.$emit("update:customs",t)},resetAll:function(){this.resetCustoms(),this.resetResizable()},hideColumn:function(e){return this.handleVisibleColumn(e,!1)},showColumn:function(e){return this.handleVisibleColumn(e,!0)},resetCustoms:function(){return this.handleVisibleColumn()},handleVisibleColumn:function(e,t){return arguments.length?e.visible=t:this.tableFullColumn.forEach(function(e){e.visible=!0}),this._toolbar&&this._toolbar.updateSetting(),this.$nextTick()},reloadCustoms:function(e){var t=this;return this.$nextTick().then(function(){return t.mergeCustomColumn(e),t.refreshColumn().then(function(){return t.tableFullColumn})})},refreshColumn:function(){var e,t=this,n=0,a=[],l=null,i=null,r=[],s=[],c=this.tableFullColumn,d=this.isGroup,u=this.columnStore,h=this.scrollXStore,p=this.optimizeOpts,m=p.scrollX;d&&o.a.eachTree(this.collectColumn,function(e){e.children&&e.children.length&&(e.visible=!!o.a.findTree(e.children,function(e){return e.children&&e.children.length?0:e.visible},ha))},ha),c.filter(function(e){return e.visible}).forEach(function(t,o){"left"===t.fixed?(null===l&&(l=n),e||(o-n!==0?e=!0:n++),a.push(t)):"right"===t.fixed?(e||(null===i&&(i=o),o-i!==0?e=!0:i++),s.push(t)):r.push(t)});var f=a.concat(r).concat(s),b=m&&m.gt&&m.gt0?Math.floor(o/(f.length+h.length+b.length)):0,c?o>0&&f.concat(h).forEach(function(e){l+=a,e.renderWidth+=a}):a=i,b.forEach(function(e,t){var n=Math.max(a,i);if(e.renderWidth=n,l+=n,c&&t===b.length-1){var o=r-l;o>0&&(e.renderWidth+=o,l=r)}});var g=t.offsetHeight,v=t.scrollHeight>t.clientHeight;if(this.scrollbarWidth=v?t.offsetWidth-r:0,this.overflowY=v,this.tableWidth=l,this.tableHeight=g,this.parentHeight=s.parentNode.clientHeight,e&&(this.headerHeight=e.offsetHeight),n){var x=n.offsetHeight;this.scrollbarHeight=Math.max(x-n.clientHeight,0),this.overflowX=l>n.clientWidth,this.footerHeight=x}else this.scrollbarHeight=Math.max(g-t.clientHeight,0),this.overflowX=l>r;this.overflowX&&this.checkScrolling()},resetResizable:function(){return this.visibleColumn.forEach(function(e){e.resizeWidth=0}),this._toolbar&&this._toolbar.resetResizable(),this.analyColumnWidth(),this.recalculate(!0)},updateStyle:function(){var e=this.$refs,t=this.fullColumnIdData,n=this.maxHeight,a=this.height,l=this.parentHeight,i=this.border,r=this.tableColumn,s=this.headerHeight,c=this.showHeaderOverflow,d=this.showFooter,u=this.showOverflow,h=this.footerHeight,p=this.tableHeight,m=this.tableWidth,f=this.overflowY,b=this.scrollbarHeight,g=this.scrollbarWidth,v=this.scrollXLoad,x=this.columnStore,w=this.elemStore,y=this.currentRow,C=["main","left","right"],T="auto"===a?l:Un.isScale(a)?Math.floor(parseInt(a)/100*l):o.a.toNumber(a);return C.forEach(function(a,y){var C=y>0?a:"",S=["header","body","footer"],k=x["".concat(C,"List")],E=e["".concat(C,"Container")];S.forEach(function(e){var y=w["".concat(a,"-").concat(e,"-wrapper")],S=w["".concat(a,"-").concat(e,"-table")];if("header"===e){var R=m;v&&(C&&(r=k),R=r.reduce(function(e,t){return e+t.renderWidth},0)),S&&(S.style.width=null===R?R:"".concat(R+g,"px"));var O=w["".concat(a,"-").concat(e,"-repair")];O&&(O.style.width="".concat(m,"px"));var $=w["".concat(a,"-").concat(e,"-list")];$&&o.a.arrayEach($.querySelectorAll(".col--gutter"),function(e){e.style.width="".concat(g,"px")})}else if("body"===e){var j=w["".concat(a,"-").concat(e,"-emptyBlock")];if(y&&(T>0?y.style.height="".concat(C?(T>0?T-s-h:p)-(d?0:b):T-s-h,"px"):n&&(n=Un.isScale(n)?Math.floor(parseInt(n)/100*l):o.a.toNumber(n),y.style.maxHeight="".concat(C?n-s-(d?0:b):n-s,"px"))),E){var I="right"===C,z=x["".concat(C,"List")];y.style.top="".concat(s,"px"),E.style.height="".concat((T>0?T-s-h:p)+s+h-b*(d?2:1),"px"),E.style.width="".concat(z.reduce(function(e,t){return e+t.renderWidth},I?g:0),"px")}var P=m;C&&u?(r=k,P=r.reduce(function(e,t){return e+t.renderWidth},0)):v&&(C&&(r=k),P=r.reduce(function(e,t){return e+t.renderWidth},0)),S&&(S.style.width=P?"".concat(P,"px"):P,f&&C&&(ra["-moz"]||ra["safari"])&&(S.style.paddingRight="".concat(g,"px"))),j&&(j.style.width=P?"".concat(P,"px"):P)}else if("footer"===e){var M=m;C&&u?(r=k,M=r.reduce(function(e,t){return e+t.renderWidth},0)):v&&(C&&(r=k),M=r.reduce(function(e,t){return e+t.renderWidth},0)),y&&(E&&(y.style.top="".concat(T?T-h:p+s,"px")),y.style.marginTop="".concat(-b-1,"px")),S&&(S.style.width=null===M?M:"".concat(M+g,"px"))}var D=w["".concat(a,"-").concat(e,"-colgroup")];D&&o.a.arrayEach(D.children,function(n){var l=n.getAttribute("name");if("col-gutter"===l&&(n.width="".concat(g||"")),t[l]){var r,s=t[l].column,d=s.showHeaderOverflow,h=s.showOverflow,p=s.renderWidth;n.width="".concat(s.renderWidth||""),r="header"===e?o.a.isUndefined(d)||o.a.isNull(d)?c:d:o.a.isUndefined(h)||o.a.isNull(h)?u:h;var m="ellipsis"===r,f="title"===r,b=!0===r||"tooltip"===r,v=f||b||m,x=w["".concat(a,"-").concat(e,"-list")];x&&v&&o.a.arrayEach(x.querySelectorAll(".".concat(s.id)),function(e){var t=e.querySelector(".vxe-cell");t&&(t.style.width="".concat(i?p-1:p,"px"))})}})})}),y&&this.setCurrentRow(y),this.$nextTick()},checkScrolling:function(){var e=this.$refs,t=e.tableBody,n=e.leftContainer,a=e.rightContainer,l=t?t.$el:null;l&&(n&&Un[l.scrollLeft>0?"addClass":"removeClass"](n,"scrolling--middle"),a&&Un[l.clientWidth=48&&b<=57||b>=65&&b<=90||b>=96&&b<=111||b>=186&&b<=192||b>=219&&b<=222||32===b)&&m.column&&m.row&&m.column.editRender&&(d.editMethod&&!1===d.editMethod(m.args,e)||(Vn.setCellValue(m.row,m.column,null),this.handleActived(m.args,e)))},moveTabSelected:function(e,t){var n,a,l,i,r=this.tableData,o=this.visibleColumn,s=this.editConfig,c=this.hasIndexColumn,d=t.shiftKey,u=Object.assign({},e),h=r.indexOf(u.row),p=o.indexOf(u.column);if(t.preventDefault(),d){for(var m=p-1;m>=0;m--)if(!c(o[m])){i=m,l=o[m];break}if(!l&&h>0){a=h-1,n=r[a];for(var f=o.length-1;f>=0;f--)if(!c(o[f])){i=f,l=o[f];break}}}else{for(var b=p+1;b0?a=u[d-1]:t&&d0?a=s[h-1]:t&&h=0;d--)if(!s(o[d])){c.columnIndex=d,c.column=o[d];break}}else if(a)for(var u=c.columnIndex+1;u=0;d--)if(!1!==r[d].visible){s=r[d];break}n[a]=s||r[r.length-1]}else if(40===t){for(var u=c+1;u-10&&(l.style.top="".concat(f-n,"px")),o>-10&&(l.style.left="".concat(b-i,"px"))})}else this.closeMenu()}this.closeFilter()},closeMenu:function(){return Object.assign(this.ctxMenuStore,{visible:!1,selected:null,selectChild:null,showChild:!1}),this.$nextTick()},ctxMenuMouseoverEvent:function(e,t,n){var a=this.ctxMenuStore;e.preventDefault(),e.stopPropagation(),a.selected=t,a.selectChild=n,n||(a.showChild=Vn.hasChildrenList(t))},ctxMenuMouseoutEvent:function(e,t,n){var a=this.ctxMenuStore;t.children||(a.selected=null),a.selectChild=null},ctxMenuLinkEvent:function(e,t){t.disabled||t.children&&t.children.length||(Vn.emitEvent(this,"context-menu-click",[Object.assign({menu:t,$table:this},this.ctxMenuStore.args),e]),this.closeMenu())},triggerHeaderTooltipEvent:function(e,t){var n=this.tooltipStore,a=t.column;n.column===a&&n.visible||this.showTooltip(e,a)},triggerFooterTooltipEvent:function(e,t){var n=t.column,a=this.tooltipStore;a.column===n&&a.visible||this.showTooltip(e,n)},triggerTooltipEvent:function(e,t){var n=this.editConfig,a=this.editStore,l=this.tooltipStore,i=a.actived,r=t.row,o=t.column;n&&("row"===n.mode&&i.row===r||i.row===r&&i.column===o)||l.column===o&&l.row===r&&l.visible||this.showTooltip(e,o,r)},showTooltip:function(e,t,n){var a=e.currentTarget,l=this.$refs.tooltip,i=a.children[0],r=a.innerText;return r&&i.scrollWidth>i.clientWidth&&(Object.assign(this.tooltipStore,{row:n,column:t,visible:!0}),l&&l.toVisible(a,Vn.formatText(r))),this.$nextTick()},clostTooltip:function(){var e=this.$refs.tooltip;return Object.assign(this.tooltipStore,{row:null,column:null,content:null,visible:!1}),e&&e.close(),this.$nextTick()},handleSelectionDefChecked:function(){var e=this.selectConfig,t=void 0===e?{}:e,n=this.fullDataRowIdData,a=t.checkAll,l=t.checkRowKeys;if(a)this.setAllSelection(!0);else if(l){var i=[];l.forEach(function(e){n[e]&&i.push(n[e].row)}),this.setSelection(i,!0)}},setSelection:function(e,t){var n=this;return e&&!o.a.isArray(e)&&(e=[e]),e.forEach(function(e){return n.handleSelectRow({row:e},!!t)}),this.$nextTick()},handleSelectRow:function(e,t){var n=e.row,a=this.selection,l=this.tableFullData,i=this.selectConfig,r=void 0===i?{}:i,s=this.treeConfig,c=this.treeIndeterminates,d=r.checkField,u=r.checkStrictly,h=r.checkMethod;if(d)if(s&&!u){-1===t?(c.push(n),o.a.set(n,d,!1)):(o.a.eachTree([n],function(e,a){n!==e&&h&&!h({row:e,$rowIndex:a})||o.a.set(e,d,t)},s),o.a.remove(c,function(e){return e===n}));var p=o.a.findTree(l,function(e){return e===n},s);if(p&&p.parent){var m,f=h?p.items.filter(function(e,t){return h({row:e,$rowIndex:t})}):p.items,b=p.items.find(function(e){return c.indexOf(e)>-1});if(b)m=-1;else{var g=p.items.filter(function(e){return o.a.get(e,d)});m=g.filter(function(e){return f.indexOf(e)>-1}).length===f.length||!(!g.length&&-1!==t)&&-1}return this.handleSelectRow({row:p.parent},m)}}else o.a.set(n,d,t);else if(s&&!u){-1===t?(c.push(n),o.a.remove(a,function(e){return e===n})):(o.a.eachTree([n],function(e,l){n!==e&&h&&!h({row:e,$rowIndex:l})||(t?a.push(e):o.a.remove(a,function(t){return t===e}))},s),o.a.remove(c,function(e){return e===n}));var v=o.a.findTree(l,function(e){return e===n},s);if(v&&v.parent){var x,w=h?v.items.filter(function(e,t){return h({row:e,$rowIndex:t})}):v.items,y=v.items.find(function(e){return c.indexOf(e)>-1});if(y)x=-1;else{var C=v.items.filter(function(e){return a.indexOf(e)>-1});x=C.filter(function(e){return w.indexOf(e)>-1}).length===w.length||!(!C.length&&-1!==t)&&-1}return this.handleSelectRow({row:v.parent},x)}}else t?-1===a.indexOf(n)&&a.push(n):o.a.remove(a,function(e){return e===n});this.checkSelectionStatus()},handleToggleCheckRowEvent:function(e,t){var n=this.selectConfig,a=void 0===n?{}:n,l=this.selection,i=a.checkField,r=e.row,s=i?!o.a.get(r,i):-1===l.indexOf(r);t?this.triggerCheckRowEvent(t,e,s):this.handleSelectRow(e,s)},triggerCheckRowEvent:function(e,t,n){this.handleSelectRow(t,n),Vn.emitEvent(this,"select-change",[Object.assign({selection:this.getSelectRecords(),checked:n,$table:this},t),e])},toggleRowSelection:function(e){return this.handleToggleCheckRowEvent({row:e}),this.$nextTick()},setAllSelection:function(e){var t=this.tableFullData,n=this.editStore,a=this.selectConfig,l=void 0===a?{}:a,i=this.treeConfig,r=this.selection,s=l.checkField,c=l.reserve,d=l.checkStrictly,u=l.checkMethod,h=n.insertList,p=[];if(h.length&&(t=t.concat(h)),!d){if(s){var m="".concat(i?"$":"","rowIndex"),f=function(t,n){u&&!u(Object(Dn["a"])({row:t},m,n))||o.a.set(t,s,e)},b=function(t,n){(!u||!u(Object(Dn["a"])({row:t},m,n))&&r.indexOf(t)>-1)&&o.a.set(t,s,e)};i?o.a.eachTree(t,e?f:b,i):t.forEach(e?f:b)}else i?e?o.a.eachTree(t,function(e,t){u&&!u({row:e,$rowIndex:t})||p.push(e)},i):u&&o.a.eachTree(t,function(e,t){!u({row:e,$rowIndex:t})&&r.indexOf(e)>-1&&p.push(e)},i):e?p=u?t.filter(function(e,t){return r.indexOf(e)>-1||u({row:e,rowIndex:t})}):t.slice(0):u&&(p=t.filter(function(e,t){return u({row:e,rowIndex:t})?0:r.indexOf(e)>-1}));this.selection=e&&c?r.concat(p.filter(function(e){return-1===r.indexOf(e)})):p}this.treeIndeterminates=[],this.checkSelectionStatus()},checkSelectionStatus:function(){var e=this.tableFullData,t=this.editStore,n=this.selectConfig,a=void 0===n?{}:n,l=this.selection,i=this.treeIndeterminates,r=a.checkField,s=a.checkStrictly,c=a.checkMethod,d=t.insertList;d.length&&(e=e.concat(d)),s||(r?(this.isAllSelected=e.length&&e.every(c?function(e,t){return!c({row:e,rowIndex:t})||o.a.get(e,r)}:function(e){return o.a.get(e,r)}),this.isIndeterminate=!this.isAllSelected&&e.some(function(e){return o.a.get(e,r)||i.indexOf(e)>-1})):(this.isAllSelected=e.length&&e.every(c?function(e,t){return!c({row:e,rowIndex:t})||l.indexOf(e)>-1}:function(e){return l.indexOf(e)>-1}),this.isIndeterminate=!this.isAllSelected&&e.some(function(e){return i.indexOf(e)>-1||l.indexOf(e)>-1})))},reserveCheckSelection:function(){var e=this.selectConfig,t=void 0===e?{}:e,n=this.selection,a=this.fullDataRowIdData,l=t.reserve,i=Vn.getRowkey(this);l&&n.length&&(this.selection=n.map(function(e){var t=""+o.a.get(e,i);return a[t]?a[t].row:e}))},triggerCheckAllEvent:function(e,t){this.setAllSelection(t),Vn.emitEvent(this,"select-all",[{selection:this.getSelectRecords(),checked:t,$table:this},e])},toggleAllSelection:function(){return this.triggerCheckAllEvent(null,!this.isAllSelected),this.$nextTick()},clearSelection:function(){var e=this.tableFullData,t=this.selectConfig,n=void 0===t?{}:t,a=this.treeConfig,l=n.checkField;return l&&(a?o.a.eachTree(e,function(e){return o.a.set(e,l,!1)},a):e.forEach(function(e){return o.a.set(e,l,!1)})),this.isAllSelected=!1,this.isIndeterminate=!1,this.selection=[],this.treeIndeterminates=[],this.$nextTick()},handleRadioDefChecked:function(){var e=this.radioConfig,t=void 0===e?{}:e,n=this.fullDataRowIdData,a=t.checkRowKey;a&&n[a]&&this.setRadioRow(n[a].row)},triggerRadioRowEvent:function(e,t){var n=this.selectRow!==t.row;this.setRadioRow(t.row),n&&Vn.emitEvent(this,"radio-change",[t,e])},triggerCurrentRowEvent:function(e,t){var n=this.currentRow!==t.row;this.setCurrentRow(t.row),n&&Vn.emitEvent(this,"current-change",[t,e])},setCurrentRow:function(e){return this.clearCurrentRow(),this.clearCurrentColumn(),this.currentRow=e,this.highlightCurrentRow&&o.a.arrayEach(this.$el.querySelectorAll('[data-rowid="'.concat(Vn.getRowid(this,e),'"]')),function(e){return Un.addClass(e,"row--current")}),this.$nextTick()},setRadioRow:function(e){return this.selectRow!==e&&this.clearRadioRow(),this.selectRow=e,this.$nextTick()},clearCurrentRow:function(){return this.currentRow=null,this.hoverRow=null,o.a.arrayEach(this.$el.querySelectorAll(".row--current"),function(e){return Un.removeClass(e,"row--current")}),this.$nextTick()},clearRadioRow:function(){return this.selectRow=null,this.$nextTick()},getCurrentRow:function(){return this.currentRow},getRadioRow:function(){return this.selectRow},triggerHoverEvent:function(e,t){var n=t.row;this.setHoverRow(n)},setHoverRow:function(e){var t=Vn.getRowid(this,e);this.clearHoverRow(),o.a.arrayEach(this.$el.querySelectorAll('[data-rowid="'.concat(t,'"]')),function(e){return Un.addClass(e,"row--hover")}),this.hoverRow=e},clearHoverRow:function(){o.a.arrayEach(this.$el.querySelectorAll(".vxe-body--row.row--hover"),function(e){return Un.removeClass(e,"row--hover")}),this.hoverRow=null},triggerHeaderCellMousedownEvent:function(e,t){var n=this.$el,a=this.tableData,l=this.mouseConfig,i=void 0===l?{}:l,r=this.elemStore,s=this.handleChecked,c=this.handleHeaderChecked,d=e.button,u=t.column,h=t.cell,p=0===d,m="index"===u.type;if(p&&i.checked){var f=r["main-header-list"].children,b=r["main-body-list"].children;if(m)this.handleAllChecked(e);else{e.preventDefault(),e.stopPropagation(),this.clearSelected(e),this.clearHeaderChecked(),this.clearIndexChecked();var g=document.onmousemove,v=document.onmouseup,x=b[0].querySelector(".".concat(u.id)),w=o.a.throttle(function(e){e.preventDefault();var t=Un.getEventTargetNode(e,n,"vxe-header--column"),a=t.flag,l=t.targetElem;if(!a){var i=Un.getEventTargetNode(e,n,"vxe-body--column");a=i.flag,l=i.targetElem}if(a&&!Un.hasClass(l,"col--index")){var r=[].indexOf.call(l.parentNode.children,l),o=b[b.length-1].children[r],d=f[0].children[r];c(Un.getRowNodes(f,Un.getCellNodeIndex(d),Un.getCellNodeIndex(h))),s(Un.getRowNodes(b,Un.getCellNodeIndex(x),Un.getCellNodeIndex(o)))}},80,{leading:!0,trailing:!0});if(Un.addClass(n,"c--checked"),document.onmousemove=w,document.onmouseup=function(){Un.removeClass(n,"c--checked"),document.onmousemove=g,document.onmouseup=v},c([[h]]),b.length){var y=b[b.length-1].querySelector(".".concat(u.id)),C=b[0],T=b[b.length-1],S=C.querySelector(".col--index");t.rowIndex=0,t.row=a[0],t.cell=Un.getCell(this,t),this.handleSelected(t,e),this.handleIndexChecked(Un.getRowNodes(b,Un.getCellNodeIndex(S),Un.getCellNodeIndex(T.querySelector(".col--index")))),this.handleChecked(Un.getRowNodes(b,Un.getCellNodeIndex(x),Un.getCellNodeIndex(y)))}}this.closeMenu()}},triggerCellMousedownEvent:function(e,t){var n=this.$el,a=this.tableData,l=this.visibleColumn,i=this.editStore,r=this.editConfig,s=this.handleSelected,c=this.mouseConfig,d=void 0===c?{}:c,u=this.handleChecked,h=this.handleIndexChecked,p=this.handleHeaderChecked,m=this.elemStore,f=i.checked,b=i.actived,g=t.row,v=t.column,x=t.cell,w=e.button,y=0===w;if(r){if(b.row!==g||"cell"!==r.mode||b.column!==v)if(y&&d.checked){e.preventDefault(),e.stopPropagation(),this.clearHeaderChecked(),this.clearIndexChecked();var C=document.onmousemove,T=document.onmouseup,S=Un.getCellNodeIndex(x),k="index"===v.type,E=m["main-body-list"].children,R=m["main-header-list"].children,O=x.parentNode.lastElementChild,$=x.parentNode.firstElementChild,j=[].indexOf.call(x.parentNode.children,x),I=R[0].children[j],z=o.a.throttle(function(e){e.preventDefault();var t=Un.getEventTargetNode(e,n,"vxe-body--column"),a=t.flag,l=t.targetElem;if(a)if(k){var i=l.parentNode.firstElementChild;u(Un.getRowNodes(E,Un.getCellNodeIndex(i.nextElementSibling),Un.getCellNodeIndex(O))),h(Un.getRowNodes(E,Un.getCellNodeIndex(i),Un.getCellNodeIndex(x)))}else if(!Un.hasClass(l,"col--index")){var r=l.parentNode.firstElementChild,o=[].indexOf.call(l.parentNode.children,l),s=R[0].children[o];p(Un.getRowNodes(R,Un.getCellNodeIndex(s),Un.getCellNodeIndex(I))),h(Un.getRowNodes(E,Un.getCellNodeIndex(r),Un.getCellNodeIndex($))),u(Un.getRowNodes(E,S,Un.getCellNodeIndex(l)))}},80,{leading:!0,trailing:!0});if(document.onmousemove=z,document.onmouseup=function(e){document.onmousemove=C,document.onmouseup=T},k){var P=x.parentNode.firstElementChild;t.columnIndex++,t.column=l[t.columnIndex],t.cell=x.nextElementSibling,s(t,e),u(Un.getRowNodes(E,Un.getCellNodeIndex(P.nextElementSibling),Un.getCellNodeIndex(O))),p([R[0].querySelectorAll(".vxe-header--column:not(.col--index)")]),h(Un.getRowNodes(E,Un.getCellNodeIndex(P),Un.getCellNodeIndex(x)))}else s(t,e);this.closeFilter(),this.closeMenu()}else if(d.selected&&"dblclick"===r.trigger){var M=Un.getCellIndexs(x);-1!==f.rows.indexOf(a[M.rowIndex])&&-1!==f.columns.indexOf(l[M.columnIndex])||s(t,e)}}else d.selected&&s(t,e)},triggerHeaderCellClickEvent:function(e,t){var n=this._lastResizeTime,a=this.sortOpts,l=t.column,i=t.cell,r=n&&n>Date.now()-300,o=this.getEventTargetNode(e,i,"vxe-sort-wrapper").flag,s=this.getEventTargetNode(e,i,"vxe-filter-wrapper").flag;return"cell"!==a.trigger||r||o||s||this.sort(l.property),Vn.emitEvent(this,"header-cell-click",[Object.assign({triggerResizable:r,triggerSort:o,triggerFilter:s},t),e]),this.highlightCurrentColumn?this.setCurrentColumn(l,!0):this.$nextTick()},setCurrentColumn:function(e){return this.clearCurrentRow(),this.clearCurrentColumn(),this.currentColumn=e,o.a.arrayEach(this.$el.querySelectorAll(".".concat(e.id)),function(e){return Un.addClass(e,"col--current")}),this.$nextTick()},clearCurrentColumn:function(){return this.currentColumn=null,o.a.arrayEach(this.$el.querySelectorAll(".col--current"),function(e){return Un.removeClass(e,"col--current")}),this.$nextTick()},triggerCellClickEvent:function(e,t){var n=this,a=this.$el,l=this.highlightCurrentRow,i=this.editStore,r=this.radioConfig,o=void 0===r?{}:r,s=this.selectConfig,c=void 0===s?{}:s,d=this.treeConfig,u=void 0===d?{}:d,h=this.editConfig,p=this.mouseConfig,m=void 0===p?{}:p,f=i.actived,b=t.column,g=t.cell;("row"===u.trigger||b.treeNode&&"cell"===u.trigger)&&this.triggerTreeExpandEvent(e,t),b.treeNode&&this.getEventTargetNode(e,a,"vxe-tree-wrapper").flag||(l&&("row"!==o.trigger&&(this.getEventTargetNode(e,a,"vxe-checkbox").flag||this.getEventTargetNode(e,a,"vxe-radio").flag)||this.triggerCurrentRowEvent(e,t)),"row"!==o.trigger&&("radio"!==b.type||"cell"!==o.trigger)||this.getEventTargetNode(e,a,"vxe-radio").flag||this.triggerRadioRowEvent(e,t),"row"!==c.trigger&&("selection"!==b.type||"cell"!==c.trigger)||this.getEventTargetNode(e,t.cell,"vxe-checkbox").flag||this.handleToggleCheckRowEvent(t,e),m.checked||h&&(f.args&&g===f.args.cell||("click"===h.trigger?this.triggerValidate("blur").catch(function(e){return e}).then(function(){n.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e})}):"dblclick"===h.trigger&&("row"===h.mode&&f.row===t.row?this.triggerValidate("blur").catch(function(e){return e}).then(function(){n.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e})}):this.handleSelected(t,e))))),Vn.emitEvent(this,"cell-click",[t,e])},triggerCellDBLClickEvent:function(e,t){var n=this,a=this.editStore,l=this.editConfig,i=a.actived;l&&"dblclick"===l.trigger&&(i.args&&e.currentTarget===i.args.cell||("row"===l.mode?this.triggerValidate("blur").catch(function(e){return e}).then(function(){n.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e})}):"cell"===l.mode&&this.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e}))),Vn.emitEvent(this,"cell-dblclick",[t,e])},handleActived:function(e,t){var n=this,a=this.editStore,l=this.editConfig,i=this.tableColumn,r=l.activeMethod,o=a.actived,s=e.row,c=e.column,d=e.cell,u=c.model,h=c.editRender;if(h&&d)if(o.row!==s||"cell"===l.mode&&o.column!==c){var p="edit-disabled";r&&!r(e)||(this.clostTooltip(),this.clearCopyed(t),this.clearChecked(),this.clearSelected(t),this.clearActived(t),p="edit-actived",c.renderHeight=d.offsetHeight,o.args=e,o.row=s,o.column=c,"row"===l.mode?i.forEach(function(e){e.editRender&&(e.model.value=Vn.getCellValue(s,e),e.model.update=!1)}):(u.value=Vn.getCellValue(s,c),u.update=!1),this.$nextTick(function(){n.handleFocus(e,t)})),Vn.emitEvent(this,p,[e,t])}else{var m=o.column;if(m!==c){var f=m.model;f.update&&Vn.setCellValue(s,m,f.value),this.clearValidate()}c.renderHeight=d.offsetHeight,o.args=e,o.column=c,setTimeout(function(){n.handleFocus(e,t)})}return this.$nextTick()},clearActived:function(e){var t=this.editStore,n=t.actived,a=n.args,l=n.row,i=n.column;if(l||i){var r=i.model;r.update&&(Vn.setCellValue(l,i,r.value),r.update=!1,r.value=null,this.updateFooter()),Vn.emitEvent(this,"edit-closed",[a,e])}return n.args=null,n.row=null,n.column=null,this.clearValidate().then(this.recalculate)},getActiveRow:function(){var e=this.$el,t=this.editStore,n=this.tableData,a=t.actived,l=a.args,i=a.row;return l&&n.indexOf(i)>-1&&e.querySelectorAll(".vxe-body--column.col--actived").length?Object.assign({},l):null},hasActiveRow:function(e){return this.editStore.actived.row===e},clearSelected:function(e){var t=this.editStore,n=this.elemStore,a=t.selected;a.row=null,a.column=null;var l=n["main-header-list"],i=n["main-body-list"];return o.a.arrayEach(l.querySelectorAll(".col--title-selected"),function(e){return Un.removeClass(e,"col--title-selected")}),o.a.arrayEach([i.querySelector(".col--selected")],function(e){return Un.removeClass(e,"col--selected")}),this.$nextTick()},handleSelected:function(e,t){var n=this,a=this.mouseConfig,l=void 0===a?{}:a,i=this.editConfig,r=this.editStore,o=this.elemStore,s=r.actived,c=r.selected,d=e.row,u=e.column,h=e.cell,p=function(){if((c.row!==d||c.column!==u)&&(s.row!==d||"cell"===i.mode&&s.column!==u)){if(n.clearChecked(t),n.clearIndexChecked(),n.clearHeaderChecked(),n.clearSelected(t),n.clearActived(t),c.args=e,c.row=d,c.column=u,l.selected){var a=o["main-body-list"],r=Vn.getRowid(n,d),p=a.querySelector('[data-rowid="'.concat(r,'"]')),m=p.querySelector(".".concat(u.id));Un.addClass(m,"col--selected")}if(l.checked){var f=o["main-header-list"];n.handleChecked([[h]]),n.handleHeaderChecked([[f.querySelector(".".concat(u.id))]]),n.handleIndexChecked([[h.parentNode.querySelector(".col--index")]])}}return n.$nextTick()};return p()},clearChecked:function(e){var t=this.$refs,n=this.editStore,a=this.mouseConfig,l=n.checked;if(a&&a.checked){var i=t.tableBody;l.rows=[],l.columns=[],l.tRows=[],l.tColumns=[];var r=i.$refs.checkBorders;r.style.display="none",o.a.arrayEach(i.$el.querySelectorAll(".col--checked"),function(e){return Un.removeClass(e,"col--checked")})}return this.$nextTick()},handleChecked:function(e){var t=this.editStore.checked;this.clearChecked();var n=-2,a=-2,l=0,i=0;o.a.arrayEach(e,function(e,t){var r=0===t;o.a.arrayEach(e,function(e,t){var o=0===t;o&&r&&(l=e.offsetTop,i=e.offsetLeft),r&&(n+=e.offsetWidth),o&&(a+=e.offsetHeight),Un.addClass(e,"col--checked")})});var r=this.$refs.tableBody.$refs,s=r.checkBorders,c=r.checkTop,d=r.checkRight,u=r.checkBottom,h=r.checkLeft;s.style.display="block",Object.assign(c.style,{top:"".concat(l,"px"),left:"".concat(i,"px"),width:"".concat(n,"px")}),Object.assign(d.style,{top:"".concat(l,"px"),left:"".concat(i+n,"px"),height:"".concat(a,"px")}),Object.assign(u.style,{top:"".concat(l+a,"px"),left:"".concat(i,"px"),width:"".concat(n,"px")}),Object.assign(h.style,{top:"".concat(l,"px"),left:"".concat(i,"px"),height:"".concat(a,"px")}),t.rowNodes=e},handleAllChecked:function(e){var t=this.tableData,n=this.visibleColumn,a=this.mouseConfig,l=void 0===a?{}:a,i=this.elemStore;if(l.checked){e.preventDefault();var r=i["main-header-list"],o=r.children,s=i["main-body-list"].children,c=n.find(function(e){return"index"===e.type})||n[0],d=r.querySelector(".".concat(c.id)),u=s[0],h=s[s.length-1],p=u.querySelector(".".concat(c.id)),m={$table:this,rowIndex:0,row:t[0],column:n.find(function(e){return e.property})};m.columnIndex=this.getColumnIndex(m.column),m.cell=Un.getCell(this,m),this.handleSelected(m,e),this.handleHeaderChecked(Un.getRowNodes(o,Un.getCellNodeIndex(d.nextElementSibling),Un.getCellNodeIndex(d.parentNode.lastElementChild))),this.handleIndexChecked(Un.getRowNodes(s,Un.getCellNodeIndex(p),Un.getCellNodeIndex(h.querySelector(".".concat(c.id))))),this.handleChecked(Un.getRowNodes(s,Un.getCellNodeIndex(p.nextElementSibling),Un.getCellNodeIndex(h.lastElementChild)))}},handleIndexChecked:function(e){var t=this.editStore.indexs;this.clearIndexChecked(),o.a.arrayEach(e,function(e){o.a.arrayEach(e,function(e){Un.addClass(e,"col--index-checked")})}),t.rowNodes=e},clearIndexChecked:function(){var e=this.elemStore,t=e["main-body-list"];return o.a.arrayEach(t.querySelectorAll(".col--index-checked"),function(e){return Un.removeClass(e,"col--index-checked")}),this.$nextTick()},handleHeaderChecked:function(e){var t=this.editStore.titles;this.clearHeaderChecked(),o.a.arrayEach(e,function(e){o.a.arrayEach(e,function(e){Un.addClass(e,"col--title-checked")})}),t.rowNodes=e},clearHeaderChecked:function(){var e=this.elemStore,t=e["main-header-list"];return o.a.arrayEach(t.querySelectorAll(".col--title-checked"),function(e){return Un.removeClass(e,"col--title-checked")}),this.$nextTick()},clearCopyed:function(){var e=this.$refs,t=this.editStore,n=this.keyboardConfig,a=t.copyed;if(n&&n.isCut){var l=e.tableBody,i=e.tableBody.$refs.copyBorders;a.cut=!1,a.rows=[],a.columns=[],i.style.display="none",o.a.arrayEach(l.$el.querySelectorAll(".col--copyed"),function(e){return Un.removeClass(e,"col--copyed")})}return this.$nextTick()},handleCopyed:function(e,t){var n=this.tableData,a=this.tableColumn,l=this.editStore,i=l.copyed,r=l.checked,s=r.rowNodes;this.clearCopyed();var c=-3,d=-3,u=0,h=0,p=[],m=[];if(s.length){var f=s[0],b=Un.getCellNodeIndex(f[0]),g=b.rowIndex,v=b.columnIndex;p=a.slice(v,v+f.length),m=n.slice(g,g+s.length)}o.a.arrayEach(s,function(e,t){var n=0===t;o.a.arrayEach(e,function(e,t){var a=0===t;a&&n&&(u=e.offsetTop,h=e.offsetLeft),n&&(c+=e.offsetWidth),a&&(d+=e.offsetHeight),Un.addClass(e,"col--copyed")})});var x=this.$refs.tableBody.$refs,w=x.copyBorders,y=x.copyTop,C=x.copyRight,T=x.copyBottom,S=x.copyLeft;w.style.display="block",Object.assign(y.style,{top:"".concat(u,"px"),left:"".concat(h,"px"),width:"".concat(c,"px")}),Object.assign(C.style,{top:"".concat(u,"px"),left:"".concat(h+c,"px"),height:"".concat(d,"px")}),Object.assign(T.style,{top:"".concat(u+d,"px"),left:"".concat(h,"px"),width:"".concat(c,"px")}),Object.assign(S.style,{top:"".concat(u,"px"),left:"".concat(h,"px"),height:"".concat(d,"px")}),i.cut=e,i.rows=m,i.columns=p,i.rowNodes=s},handlePaste:function(e){var t=this.tableData,n=this.visibleColumn,a=this.editStore,l=this.elemStore,i=a.copyed,r=a.selected,s=i.cut,c=i.rows,d=i.columns;if(c.length&&d.length&&r.row&&r.column){var u=r.args,h=u.rowIndex,p=u.columnIndex;o.a.arrayEach(c,function(e,a){var l=t[h+a];l&&o.a.arrayEach(d,function(t,a){var i=n[p+a];i&&Vn.setCellValue(l,i,Vn.getCellValue(e,t)),s&&Vn.setCellValue(e,t,null)})}),s&&this.clearCopyed();var m=l["main-body-list"].children,f=r.args.cell,b=f.parentNode,g=o.a.arrayIndexOf(b.children,f),v=o.a.arrayIndexOf(m,b),x=m[v+c.length-1],w=x.children[g+d.length-1];this.handleChecked(Un.getRowNodes(m,Un.getCellNodeIndex(f),Un.getCellNodeIndex(w)))}},handleFocus:function(e,t){var n=e.column,a=e.cell,l=n.editRender;if(l){var i,r=Mn["b"].get(l.name),o=l.autofocus,s=l.autoselect;if(o&&(i=a.querySelector(o)),!i&&r&&r.autofocus&&(i=a.querySelector(r.autofocus)),i&&(i[s?"select":"focus"](),ra.msie)){var c=i.createTextRange();c.collapse(!1),c.select()}}},setActiveRow:function(e){return this.setActiveCell(e,this.visibleColumn.find(function(e){return e.editRender}).property)},setActiveCell:function(e,t){var n=this;return this.scrollToRow(e,!0).then(function(){if(e&&t){var a=n.visibleColumn.find(function(e){return e.property===t});if(a&&a.editRender){var l=Un.getCell(n,{row:e,column:a});l&&(n.handleActived({row:e,rowIndex:n.getRowIndex(e),column:a,columnIndex:n.getColumnIndex(a),cell:l,$table:n}),n.lastCallTime=Date.now())}}return n.$nextTick()})},setSelectCell:function(e,t){var n=this.tableData,a=this.editConfig,l=this.visibleColumn;if(e&&t&&"manual"!==a.trigger){var i=l.find(function(e){return e.property===t}),r=n.indexOf(e);if(r>-1&&i){var o=Un.getCell(this,{row:e,rowIndex:r,column:i}),s={row:e,rowIndex:r,column:i,columnIndex:l.indexOf(i),cell:o};this.handleSelected(s,{})}}return this.$nextTick()},triggerSortEvent:function(e,t,n,a){t.order===a?this.clearSort(t.property):this.sort(t.property,a)},sort:function(e,t){var n=this.visibleColumn,a=this.tableFullColumn,l=this.remoteSort,i=n.find(function(t){return t.property===e}),r=o.a.isBoolean(i.remoteSort)?i.remoteSort:l;return i.sortable||i.remoteSort?(t||(t="desc"===i.order?"asc":"desc"),i.order!==t&&(a.forEach(function(e){e.order=null}),i.order=t,r||this.handleData(!0),Vn.emitEvent(this,"sort-change",[{column:i,property:e,prop:e,field:e,order:t,$table:this}])),this.$nextTick().then(this.updateStyle)):this.$nextTick()},clearSort:function(e){var t=arguments.length?this.getColumnByField(e):null;return t?t.order=null:this.tableFullColumn.forEach(function(e){e.order=null}),this.handleData(!0)},filter:function(e,t){var n=this.getColumnByField(e),a=n.filters;if(t){var l=t(a);o.a.isArray(l)&&(n.filters=Vn.getFilters(l))}return Promise.resolve(a)},triggerFilterEvent:function(e,t,n){var a=this.$refs,l=this.filterStore,i=this.overflowX;if(l.column===t&&l.visible)l.visible=!1;else{var r=e.target,o=a.tableBody.$el,s=a.filterWrapper,c=Un.getOffsetPos(r),d=c.top,u=c.left;i&&(u-=o.scrollLeft),Object.assign(l,{args:n,multiple:t.filterMultiple,options:t.filters,column:t,style:{zIndex:An["a"].tooltip.zIndex,top:"".concat(d+r.clientHeight+6,"px"),left:"".concat(u,"px")},visible:!0}),l.isAllSelected=l.options.every(function(e){return e.checked}),l.isIndeterminate=!l.isAllSelected&&l.options.some(function(e){return e.checked}),this.$nextTick(function(){var e=s.$el;l.style.top="".concat(d+r.clientHeight+6,"px"),l.style.left="".concat(u-e.clientWidth/2+10,"px")})}},confirmFilterEvent:function(e){var t=this.visibleColumn,n=this.filterStore,a=this.remoteFilter,l=this.scrollXLoad,i=this.scrollYLoad,r=n.column,o=r.property,s=[],c=[];r.filters.forEach(function(e){e.checked&&(s.push(e.value),c.push(e.data))}),n.visible=!1,a||this.handleData(!0);var d=[];t.filter(function(e){var t=e.property,n=e.filters,a=[],l=[];n&&n.length&&(n.forEach(function(e){e.checked&&(a.push(e.value),l.push(e.data))}),d.push({column:e,property:t,field:t,prop:t,values:a,datas:l}))}),Vn.emitEvent(this,"filter-change",[{column:r,property:o,field:o,prop:o,values:s,datas:c,filters:d,$table:this}]),(l||i)&&(this.clearScroll(),i&&this.updateScrollYSpace()),this.closeFilter(),this.$nextTick(this.recalculate)},closeFilter:function(e){return Object.assign(this.filterStore,{isAllSelected:!1,isIndeterminate:!1,options:[],visible:!1}),this.$nextTick()},resetFilterEvent:function(e){this.filterStore.options.forEach(function(e){e.checked=!1,e.data=e._data}),this.confirmFilterEvent(e)},clearFilter:function(e){var t=arguments.length?this.getColumnByField(e):null,n=this.filterStore,a=function(e){var t=e.filters;t&&t.length&&t.forEach(function(e){e.checked=!1,e.data=e._data})};return t?a(t):this.visibleColumn.forEach(a),t&&t===n.column||Object.assign(n,{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1}),this.handleData(!0).then(this.recalculate)},triggerRowExpandEvent:function(e,t){var n=t.row,a=this.toggleRowExpansion(n);return Vn.emitEvent(this,"toggle-expand-change",[{row:n,rowIndex:this.getRowIndex(n),$table:this},e]),a},toggleRowExpansion:function(e){return this.setRowExpansion(e)},handleDefaultRowExpand:function(){var e=this.expandConfig,t=void 0===e?{}:e,n=this.tableFullData,a=this.fullDataRowIdData,l=t.expandAll,i=t.expandRowKeys;if(l)this.expandeds=n.slice(0);else if(i){var r=[];i.forEach(function(e){a[e]&&r.push(a[e].row)}),this.expandeds=r}},setAllRowExpansion:function(e){return this.expandeds=e?this.tableFullData.slice(0):[],this.$nextTick()},setRowExpansion:function(e,t){var n=this.expandeds,a=this.expandConfig,l=void 0===a?{}:a,i=1===arguments.length;return e&&(o.a.isArray(e)||(e=[e]),l.accordion&&(n.length=0,e=e.slice(e.length-1,e.length)),e.forEach(function(e){var a=n.indexOf(e);a>-1?!i&&t||n.splice(a,1):(i||t)&&n.push(e)})),this.$nextTick()},hasRowExpand:function(e){return this.expandeds.indexOf(e)>-1},clearRowExpand:function(){return this.expandeds=[],this.$nextTick()},triggerTreeExpandEvent:function(e,t){var n=this,a=t.row,l=this.currentRow,i=this.currentColumn,r=this.toggleTreeExpansion(a);return Vn.emitEvent(this,"toggle-tree-change",[{row:a,rowIndex:this.getRowIndex(a),$table:this},e]),l?this.$nextTick(function(){return n.setCurrentRow(l)}):i&&this.$nextTick(function(){return n.setCurrentColumn(i)}),r},toggleTreeExpansion:function(e){return this.setTreeExpansion(e)},handleDefaultTreeExpand:function(){var e=this.treeConfig,t=this.tableFullData;if(e){var n=e.expandAll,a=e.expandRowKeys,l=e.children,i=[];if(n)o.a.filterTree(t,function(e){var t=e[l];t&&t.length&&i.push(e)},e),this.treeExpandeds=i;else if(a){var r=Vn.getRowkey(this);a.forEach(function(n){var a=o.a.findTree(t,function(e){return n===o.a.get(e,r)},e),s=a?a.item[l]:0;s&&s.length&&i.push(a.item)}),this.treeExpandeds=i}}},setAllTreeExpansion:function(e){var t=this.tableFullData,n=this.treeConfig,a=n.children,l=[];return e&&o.a.eachTree(t,function(e){var t=e[a];t&&t.length&&l.push(e)},n),this.treeExpandeds=l,this.$nextTick()},setTreeExpansion:function(e,t){var n=this.tableFullData,a=this.treeExpandeds,l=this.treeConfig,i=l.children,r=1===arguments.length;return e&&(o.a.isArray(e)||(e=[e]),l.accordion&&(e=e.slice(e.length-1,e.length)),e.forEach(function(e){var s=e[i];if(s&&s.length){var c=a.indexOf(e);if(l.accordion){var d=o.a.findTree(n,function(t){return t===e},l);o.a.remove(a,function(e){return d.items.indexOf(e)>-1})}c>-1?!r&&t||a.splice(c,1):(r||t)&&a.push(e)}})),this.$nextTick()},hasTreeExpand:function(e){return this.treeExpandeds.indexOf(e)>-1},clearTreeExpand:function(){return this.treeExpandeds=[],this.$nextTick()},getVirtualScroller:function(){var e=this.$refs,t=this.scrollXLoad,n=this.scrollYLoad,a=e.tableBody.$el;return{scrollX:t,scrollY:n,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}},triggerScrollXEvent:function(e){for(var t=this.$refs,n=this.visibleColumn,a=this.scrollXStore,l=a.startIndex,i=a.renderSize,r=a.offsetSize,o=a.visibleSize,s=t.tableBody.$el,c=s.scrollLeft,d=0,u=0,h=!1,p=0;pd?(h=d-r<=l,h&&(a.startIndex=Math.max(0,d-Math.max(m,i-o)))):(h=d+o+r>=l+i,h&&(a.startIndex=Math.max(0,Math.min(n.length-i,d-m)))),h&&this.updateScrollXData(),a.visibleIndex=d}this.clostTooltip()},triggerScrollYEvent:function(e){oa&&this.scrollYStore.adaptive?this.loadScrollYData(e):this.debounceScrollY(e)},debounceScrollY:o.a.debounce(function(e){this.loadScrollYData(e)},sa,{leading:!1,trailing:!0}),loadScrollYData:function(e){var t=this.afterFullData,n=this.scrollYStore,a=n.startIndex,l=n.renderSize,i=n.offsetSize,r=n.visibleSize,o=n.rowHeight,s=e.target,c=s.scrollTop,d=Math.ceil(c/o),u=!1;if(n.visibleIndex!==d){var h=Math.min(Math.floor((l-r)/2),r);n.visibleIndex>d?(u=d-i<=a,u&&(n.startIndex=Math.max(0,d-Math.max(h,l-r)))):(u=d+r+i>=a+l,u&&(n.startIndex=Math.max(0,Math.min(t.length-l,d-h)))),u&&this.updateScrollYData(),n.visibleIndex=d}},computeScrollLoad:function(){var e=this;return this.$nextTick().then(function(){var t=e.vSize,n=e.scrollXLoad,a=e.scrollYLoad,l=e.scrollYStore,i=e.scrollXStore,r=e.visibleColumn,s=e.optimizeOpts,c=s.scrollX,d=s.scrollY,u=e.$refs.tableBody,h=u?u.$el:null,p=e.$refs.tableHeader;if(h){if(n){var m=r[0],f=m?m.renderWidth:40,b=o.a.toNumber(c.vSize||Math.ceil(h.clientWidth/f));i.visibleSize=b,c.oSize||(i.offsetSize=b),c.rSize||(i.renderSize=b+2),e.updateScrollXData()}else e.updateScrollXSpace();if(a){var g;if(d.rHeight)g=d.rHeight;else{var v=h.querySelector("tbody>tr");!v&&p&&(v=p.$el.querySelector("thead>tr")),v&&(g=v.clientHeight)}if(!g)switch(t){case"medium":g=44;break;case"small":g=40;break;case"mini":g=36;break;default:g=48;break}var x=o.a.toNumber(d.vSize||Math.ceil(h.clientHeight/g));l.visibleSize=x,l.rowHeight=g,d.oSize||(l.offsetSize=x),d.rSize||(l.renderSize=ra.firefox?6*x:ra.edge?10*x:oa?x+2:6*x),e.updateScrollYData()}else e.updateScrollYSpace()}e.$nextTick(e.updateStyle)})},updateScrollXData:function(){var e=this.visibleColumn,t=this.scrollXStore;this.tableColumn=e.slice(t.startIndex,t.startIndex+t.renderSize),this.updateScrollXSpace()},updateScrollXSpace:function(){var e=this.$refs,t=this.elemStore,n=this.visibleColumn,a=this.scrollXStore,l=this.scrollXLoad,i=this.tableWidth,r=this.scrollbarWidth,o=e.tableHeader,s=e.tableBody,c=e.tableFooter,d=o?o.$el.querySelector(".vxe-table--header"):null,u=s.$el.querySelector(".vxe-table--body"),h=c?c.$el.querySelector(".vxe-table--footer"):null,p=n.slice(0,a.startIndex).reduce(function(e,t){return e+t.renderWidth},0),m="";l&&(m="".concat(p,"px")),d&&(d.style.marginLeft=m),u.style.marginLeft=m,h&&(h.style.marginLeft=m);var f=["main"];f.forEach(function(e){var n=["header","body","footer"];n.forEach(function(n){var a=t["".concat(e,"-").concat(n,"-xSpace")];a&&(a.style.width=l?"".concat(i+("header"===n?r:0),"px"):"")})}),this.$nextTick(this.updateStyle)},updateScrollYData:function(){this.handleData(),this.updateScrollYSpace()},updateScrollYSpace:function(){var e=this.elemStore,t=this.scrollYStore,n=this.scrollYLoad,a=this.afterFullData,l=a.length*t.rowHeight,i=Math.max(t.startIndex*t.rowHeight,0),r=["main","left","right"],o="",s="";n&&(o="".concat(i,"px"),s="".concat(l,"px")),r.forEach(function(t){var n=["header","body","footer"],a=e["".concat(t,"-body-table")];a&&(a.style.marginTop=o),n.forEach(function(n){var a=e["".concat(t,"-").concat(n,"-ySpace")];a&&(a.style.height=s)})}),this.$nextTick(this.updateStyle)},scrollTo:function(e,t){var n=this.$refs.tableBody.$el;if(o.a.isNumber(e)){var a=this.$refs.tableFooter;a?a.$el.scrollLeft=e:n.scrollLeft=e}if(o.a.isNumber(t)){var l=this.$refs.rightBody;l&&(l.$el.scrollTop=t),n.scrollTop=t}return this.$nextTick()},scrollToRow:function(e,t,n){return e&&this.fullAllDataRowMap.has(e)&&Un.rowToVisible(this,e),this.scrollToColumn(t,n||o.a.isBoolean(t))},scrollToColumn:function(e,t){var n=this;return e&&this.fullColumnMap.has(e)&&Un.colToVisible(this,e),t&&this.scrollYLoad?new Promise(function(e){return setTimeout(function(){return e(n.$nextTick())},50)}):this.$nextTick()},clearScroll:function(){var e=this;return Object.assign(this.scrollXStore,{startIndex:0}),Object.assign(this.scrollYStore,{startIndex:0}),this.$nextTick(function(){var t=e.$refs.tableBody,n=t?t.$el:null,a=e.$refs.tableFooter,l=a?a.$el:null;n&&(n.scrollTop=0,n.scrollLeft=0),l&&(l.scrollLeft=0)}),this.$nextTick()},updateFooter:function(){var e=this.showFooter,t=this.tableColumn,n=this.footerMethod;return e&&n&&(this.footerData=t.length?n({columns:t,data:this.tableFullData}):[]),this.$nextTick()},updateStatus:function(e,t){var n=this,a=!o.a.isUndefined(t);return this.$nextTick().then(function(){var l=n.$refs,i=n.tableData,r=n.editRules,o=n.validStore;if(e&&l.tableBody&&r){var s=e.row,c=e.column,d="change";if(n.hasCellRules(d,s,c)){var u=i.indexOf(s),h=Un.getCell(n,{row:s,rowIndex:u,column:c});if(h)return n.validCellRules(d,s,c,t).then(function(){a&&o.visible&&Vn.setCellValue(s,c,t),n.clearValidate()}).catch(function(e){var l=e.rule;a&&Vn.setCellValue(s,c,t),n.showValidTooltip({rule:l,row:s,column:c,cell:h})})}}})},triggerValidate:function(e){var t=this,n=this.editConfig,a=this.editStore,l=this.editRules,i=this.validStore,r=a.actived;if(r.row&&l){var o=r.args,s=o.row,c=o.column,d=o.cell;if(this.hasCellRules(e,s,c))return this.validCellRules(e,s,c).then(function(){"row"===n.mode&&i.visible&&i.row===s&&i.column===c&&t.clearValidate()}).catch(function(n){var a=n.rule;if(!a.trigger||e===a.trigger){var l={rule:a,row:s,column:c,cell:d};return t.showValidTooltip(l),Promise.reject(l)}return Promise.resolve()})}return Promise.resolve()},fullValidate:function(e,t){return this.beginValidate(e,t,!0)},validate:function(e,t){return this.beginValidate(e,t)},beginValidate:function(e,t,n){var a=this,l={},i=!0,r=this.editRules,s=this.tableData,c=this.tableFullData,d=this.scrollYLoad,u=d?c:s;e&&(o.a.isFunction(e)?t=e:u=o.a.isArray(e)?e:[e]);var h=[];if(this.lastCallTime=Date.now(),this.clearValidate(),r){var p=this.getColumns();return u.forEach(function(e){var t=[];p.forEach(function(i,s){o.a.has(r,i.property)&&t.push(new Promise(function(t,r){a.validCellRules("all",e,i).then(t).catch(function(o){var c=o.rule,d=o.rules,u={rule:c,rules:d,rowIndex:a.getRowIndex(e),row:e,columnIndex:s,column:i,$table:a};return n?(l[i.property]||(l[i.property]=[]),l[i.property].push(u),t()):r(u)})}))}),h.push(Promise.all(t))}),Promise.all(h).then(function(){var e=Object.keys(l);if(e.length)return Promise.reject(l[e[0]][0]);t&&t(i)}).catch(function(e){var r=n?l:Object(Dn["a"])({},e.column.property,e);return new Promise(function(n,l){var o=function(){e.cell=Un.getCell(a,e),a.handleValidError(e),t?(i=!1,n(t(i,r))):l(r)};d?a.scrollToRow(e.row,!0).then(o):o()})})}return t&&t(i),Promise.resolve(!0)},hasCellRules:function(e,t,n){var a=this.editRules,l=n.property;if(l&&a){var i=o.a.get(a,l);return i&&i.find(function(t){return"all"===e||!t.trigger||e===t.trigger})}return!1},validCellRules:function(e,t,n,a){var l=this,i=this.editRules,r=n.property,s=[],c=[];if(r&&i){var d=o.a.get(i,r),u=o.a.isUndefined(a)?o.a.get(t,r):a;d&&d.forEach(function(a){c.push(new Promise(function(i){var r=!0===a.required;if("all"!==e&&a.trigger&&e!==a.trigger)i();else if(o.a.isFunction(a.validator))a.validator(a,u,function(e){if(o.a.isError(e)){var t={type:"custom",trigger:a.trigger,message:e.message,rule:new ca(a)};s.push(new ca(t))}return i()},{rules:d,row:t,column:n,rowIndex:l.getRowIndex(t),columnIndex:l.getColumnIndex(n)});else{var c,h=u,p="number"===a.type,m=null===u||void 0===u||""===u;p?h=o.a.toNumber(u):c=o.a.getSize(h),r&&m?s.push(new ca(a)):(p&&isNaN(u)||o.a.isRegExp(a.pattern)&&!a.pattern.test(u)||o.a.isNumber(a.min)&&(p?ha.max:c>a.max))&&s.push(new ca(a)),i()}}))})}return Promise.all(c).then(function(){if(s.length){var e={rules:s,rule:s[0]};return Promise.reject(e)}})},clearValidate:function(){var e=this.$refs.validTip;return Object.assign(this.validStore,{visible:!1,row:null,column:null,content:"",rule:null}),e&&e.visible&&e.close(),this.$nextTick()},handleValidError:function(e){var t=this;this.handleActived(e,{type:"valid-error",trigger:"call"}).then(function(){return t.showValidTooltip(e)})},showValidTooltip:function(e){var t=this,n=this.$refs,a=this.height,l=this.tableData,i=this.validOpts,r=e.rule,o=e.row,s=e.column,c=e.cell,d=n.validTip,u=r.message;this.$nextTick(function(){Object.assign(t.validStore,{row:o,column:s,rule:r,content:u,visible:!0}),d&&("tooltip"===i.message||"default"===i.message&&!a&&l.length<2)&&d.toVisible(c,u),Vn.emitEvent(t,"valid-error",[e])})},exportCsv:function(e){var t=this.visibleColumn,n=this.scrollXLoad,a=this.scrollYLoad,l=this.treeConfig,i=Object.assign({filename:"table.csv",original:!!l,isHeader:!0,isFooter:!0,download:!0,data:null,columns:null,columnFilterMethod:function(e){return-1===["index","selection","radio"].indexOf(e.type)&&e.property},dataFilterMethod:null},e);-1===i.filename.indexOf(".csv")&&(i.filename+=".csv"),i.original||(n||a)&&(i.original=!0,Vn.warn("vxe.error.scrollOriginal"));var r=t,s=this.tableFullData;return l&&(s=o.a.toTreeArray(s,l)),Jn.downloadCsc(i,Jn.getCsvContent(this,i,r,s))},connect:function(e){var t=e.toolbar;this._toolbar=t},getEventTargetNode:Un.getEventTargetNode}},ma=pa;pa.install=function(e){Mn["c"].Vue=e,Mn["c"].Table=ma,e.component(pa.name,pa)};var fa,ba=pa,ga={name:"VxeTableColumn",props:{type:String,prop:String,label:String,field:String,title:String,width:[Number,String],minWidth:[Number,String],resizable:{type:Boolean,default:null},fixed:String,align:String,headerAlign:String,showOverflow:{type:[Boolean,String],default:null},showHeaderOverflow:{type:[Boolean,String],default:null},formatter:[Function,Array,String],indexMethod:Function,sortable:Boolean,remoteSort:{type:Boolean,default:null},sortBy:[String,Array],filters:Array,filterMultiple:{type:Boolean,default:!0},filterMethod:Function,filterRender:Object,treeNode:Boolean,cellRender:Object,editRender:Object,params:Object},inject:["$table"],created:function(){this.columnConfig=this.createColumn(this.$table,this)},mounted:function(){Vn.assemColumn(this)},destroyed:function(){Vn.destroyColumn(this)},render:function(e){return e("div",this.$slots.default)},methods:la,install:function(e){e.component(ga.name,ga)}},va=ga,xa=function e(t){var n=[];return t.forEach(function(t){t.visible&&(t.children&&t.children.length&&t.children.some(function(e){return e.visible})?(n.push(t),n.push.apply(n,e(t.children))):n.push(t))}),n},wa=function(e){var t=1,n=function e(n,a){if(a&&(n.level=a.level+1,t1:"inline"===L.message),ne={"data-colid":u.id},ae=V&&N&&"dblclick"===N.trigger,le={$table:n,$seq:a,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,data:v};if(!C&&!T||J||(K=!0),(U||Y||g["cell-mouseenter"])&&(Q.mouseenter=function(e){if(!Ta(n)){var t={$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget};U?Un.updateCellTitle(e):Y&&n.triggerTooltipEvent(e,t),Vn.emitEvent(n,"cell-mouseenter",[t,e])}}),(Y||g["cell-mouseleave"])&&(Q.mouseleave=function(e){Ta(n)||(Y&&n.clostTooltip(),Vn.emitEvent(n,"cell-mouseleave",[{$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget},e]))}),(F.checked||F.selected)&&(Q.mousedown=function(e){n.triggerCellMousedownEvent(e,{$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget})}),(S||g["cell-click"]||F.checked||V&&N||"row"===j.trigger||"radio"===u.type&&"cell"===j.trigger||"row"===z.trigger||"selection"===u.type&&"cell"===z.trigger||"row"===M.trigger||u.treeNode&&"cell"===M.trigger)&&(Q.click=function(e){n.triggerCellClickEvent(e,{$table:n,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget})}),(ae||g["cell-dblclick"])&&(Q.dblclick=function(e){n.triggerCellDBLClickEvent(e,{$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget})}),O){var ie=O(le)||{},re=ie.rowspan,oe=void 0===re?1:re,se=ie.colspan,ce=void 0===se?1:se;if(!oe||!ce)return null;ne.rowspan=oe,ne.colspan=ce}return!X&&N&&N.showStatus&&(f=n.hasRowChange(s,u.property)),e("td",{class:["vxe-body--column",u.id,(m={},Object(Dn["a"])(m,"col--".concat(Z),Z),Object(Dn["a"])(m,"col--edit",V),Object(Dn["a"])(m,"col--index","index"===u.type),Object(Dn["a"])(m,"col--ellipsis",J),Object(Dn["a"])(m,"edit--visible",V&&"visible"===V.type),Object(Dn["a"])(m,"fixed--hidden",X),Object(Dn["a"])(m,"col--dirty",f),Object(Dn["a"])(m,"col--actived",N&&V&&q.row===s&&(q.column===u||"row"===N.mode)),Object(Dn["a"])(m,"col--valid-error",ee),m),R?o.a.isFunction(R)?R(le):R:""],key:w?u.id:h,attrs:ne,on:Q},k&&X?[]:[e("div",{class:["vxe-cell",{"c--title":U,"c--tooltip":Y,"c--ellipsis":K}],attrs:{title:U?Vn.getCellLabel(s,u,le):null}},u.renderCell(e,le)),te?ee?e("div",{class:"vxe-cell--valid",style:H.rule&&H.rule.width?{width:"".concat(H.rule.width,"px")}:null},[e("span",{class:"vxe-cell--valid-msg"},H.content)]):b():null])}function Ea(e,t,n,a,l,i,r,s){var c=n.rowKey,d=n.highlightHoverRow,u=n.rowClassName,h=n.treeConfig,p=n.treeExpandeds,m=n.scrollYLoad,f=n.scrollYStore,b=n.editStore,g=n.expandeds,v=n.getColumnIndex,x=[];return r.forEach(function(r,w){var y,C={},T=w,S=T+1;m&&(S+=f.startIndex),T=n.getRowIndex(r),d&&(C.mouseenter=function(e){Ta(n)||n.triggerHoverEvent(e,{row:r,rowIndex:T})});var k=Vn.getRowid(n,r);if(x.push(e("tr",{class:["vxe-body--row",(y={},Object(Dn["a"])(y,"row--level-".concat(l),h),Object(Dn["a"])(y,"row--new",b.insertList.indexOf(r)>-1),y),u?o.a.isFunction(u)?u({$table:n,$seq:a,seq:S,fixedType:i,rowLevel:l,row:r,rowIndex:T,$rowIndex:w}):u:""],attrs:{"data-rowid":k},key:c||h?k:w,on:C},s.map(function(o,s){var c=v(o);return ka(e,t,n,a,S,i,l,r,T,w,o,c,s)}))),g.length&&g.indexOf(r)>-1){var E,R=s.find(function(e){return"expand"===e.type}),O=v(R);h&&(E={paddingLeft:"".concat(l*(h.indent||16)+30,"px")}),R&&x.push(e("tr",{class:"vxe-body--expanded-row",key:"expand_".concat(k),on:C},[e("td",{class:"vxe-body--expanded-column",attrs:{colspan:s.length}},[e("div",{class:"vxe-body--expanded-cell",style:E},[R.renderData(e,{$table:n,seq:S,row:r,rowIndex:T,column:R,columnIndex:O,fixed:i,level:l})])])]))}if(h&&p.length){var $=r[h.children];$&&$.length&&p.indexOf(r)>-1&&x.push.apply(x,Ea(e,t,n,a?"".concat(a,".").concat(S):"".concat(S),l+1,i,$,s))}}),x}function Ra(e,t,n){(t||n)&&(t&&(t.onscroll=null,t.scrollTop=e),n&&(n.onscroll=null,n.scrollTop=e),clearTimeout(fa),fa=setTimeout(function(){t&&(t.onscroll=t._onscroll),n&&(n.onscroll=n._onscroll)},100))}var Oa={name:"VxeTableBody",props:{tableData:Array,tableColumn:Array,visibleColumn:Array,collectColumn:Array,fixedColumn:Array,size:String,fixedType:String,isGroup:Boolean},mounted:function(){var e=this.$parent,t=this.$el,n=this.$refs,a=this.fixedType,l=e.elemStore,i="".concat(a||"main","-body-");l["".concat(i,"wrapper")]=t,l["".concat(i,"table")]=n.table,l["".concat(i,"colgroup")]=n.colgroup,l["".concat(i,"list")]=n.tbody,l["".concat(i,"xSpace")]=n.xSpace,l["".concat(i,"ySpace")]=n.ySpace,l["".concat(i,"emptyBlock")]=n.emptyBlock,this.$el.onscroll=this.scrollEvent,this.$el._onscroll=this.scrollEvent},beforeDestroy:function(){this.$el._onscroll=null,this.$el.onscroll=null},render:function(e){var t=this._e,n=this.$parent,a=this.fixedColumn,l=this.fixedType,i=n.tableData,r=n.tableColumn,o=n.showOverflow,s=n.scrollXLoad,c=n.mouseConfig,d=void 0===c?{}:c,u=n.keyboardConfig,h=void 0===u?{}:u;return l&&o?r=a:s&&l&&(r=a),e("div",{class:["vxe-table--body-wrapper",l?"fixed-".concat(l,"--wrapper"):"body--wrapper"]},[l?t():e("div",{class:"vxe-body--x-space",ref:"xSpace"}),e("div",{class:"vxe-body--y-space",ref:"ySpace"}),e("table",{class:"vxe-table--body",attrs:{cellspacing:0,cellpadding:0,border:0},ref:"table"},[e("colgroup",{ref:"colgroup"},r.map(function(t,n){return e("col",{attrs:{name:t.id},key:n})})),e("tbody",{ref:"tbody"},Ea(e,this,n,"",0,l,i,r))]),l||!d.checked&&!h.isCut?null:e("div",{class:"vxe-table--borders"},[d.checked?Sa(e,"check"):null,h.isCut?Sa(e,"copy"):null]),l?null:e("div",{class:"vxe-table--empty-block".concat(i.length?"":" is--visible"),ref:"emptyBlock"},[e("span",{class:"vxe-table--empty-text"},n.$slots.empty||An["a"].i18n("vxe.table.emptyText"))])])},methods:{scrollEvent:function(e){var t=this.$parent,n=this.fixedType,a=t.$refs,l=t.highlightHoverRow,i=t.scrollXLoad,r=t.scrollYLoad,o=t.lastScrollTop,s=t.lastScrollLeft,c=a.tableHeader,d=a.tableBody,u=a.leftBody,h=a.rightBody,p=c?c.$el:null,m=d.$el,f=u?u.$el:null,b=h?h.$el:null,g=m.scrollTop,v=m.scrollLeft,x=v!==s,w=g!==o;t.lastScrollTop=g,t.lastScrollLeft=v,t.lastScrollTime=Date.now(),l&&t.clearHoverRow(),f&&"left"===n?(g=f.scrollTop,Ra(g,m,b)):b&&"right"===n?(g=b.scrollTop,Ra(g,m,f)):(x&&p&&(p.scrollLeft=m.scrollLeft),(f||b)&&(t.checkScrolling(),w&&Ra(g,f,b))),i&&x&&(t.triggerScrollXEvent(e),p&&v+m.clientWidth>=m.scrollWidth&&this.$nextTick(function(){m.scrollLeft!==p.scrollLeft&&(p.scrollLeft=m.scrollLeft)})),r&&w&&t.triggerScrollYEvent(e),Vn.emitEvent(t,"scroll",[{type:"body",fixed:n,scrollTop:g,scrollLeft:v,isX:x,isY:w,$table:t},e])}},install:function(e){e.component(Oa.name,Oa)}},$a=Oa,ja={name:"VxeTableFooter",props:{footerData:Array,tableColumn:Array,visibleColumn:Array,fixedColumn:Array,size:String,fixedType:String},mounted:function(){var e=this.$parent,t=this.$el,n=this.$refs,a=this.fixedType,l=e.elemStore,i="".concat(a||"main","-footer-");l["".concat(i,"wrapper")]=t,l["".concat(i,"table")]=n.table,l["".concat(i,"colgroup")]=n.colgroup,l["".concat(i,"list")]=n.tfoot,l["".concat(i,"x-space")]=n.xSpace},render:function(e){var t=this._e,n=this.$parent,a=this.fixedType,l=this.fixedColumn,i=this.tableColumn,r=this.footerData,s=n.$listeners,c=n.footerRowClassName,d=n.footerCellClassName,u=n.scrollXLoad,h=n.columnKey,p=n.showOverflow,m=n.overflowX,f=n.getColumnIndex;return a&&p?i=l:u&&a&&(i=l),e("div",{class:["vxe-table--footer-wrapper",a?"fixed-".concat(a,"--wrapper"):"body--wrapper"],on:{scroll:this.scrollEvent}},[a?t():e("div",{class:"vxe-body--x-space",ref:"xSpace"}),e("table",{class:"vxe-table--footer",attrs:{cellspacing:0,cellpadding:0,border:0},ref:"table"},[e("colgroup",{ref:"colgroup"},i.map(function(t,n){return e("col",{attrs:{name:t.id},key:n})}).concat([e("col",{name:"col--gutter"})])),e("tfoot",{ref:"tfoot"},r.map(function(t,l){return e("tr",{class:["vxe-footer--row",c?o.a.isFunction(c)?c({$table:n,$rowIndex:l,fixed:a}):c:""]},i.map(function(i,r){var c,u=i.showOverflow,b=i.children&&i.children.length,g=a?i.fixed!==a&&!b:i.fixed&&m,v=o.a.isUndefined(u)||o.a.isNull(u)?p:u,x="ellipsis"===v,w="title"===v,y=!0===v||"tooltip"===v,C=w||y||x,T={},S=f(i);return(w||y)&&(T.mouseover=function(e){w?Un.updateCellTitle(e):y&&n.triggerFooterTooltipEvent(e,{$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a})}),y&&(T.mouseout=function(e){n.clostTooltip()}),s["header-cell-click"]&&(T.click=function(e){Vn.emitEvent(n,"header-cell-click",[{$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a,cell:e.currentTarget},e])}),s["header-cell-dblclick"]&&(T.dblclick=function(e){Vn.emitEvent(n,"header-cell-dblclick",[{$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a,cell:e.currentTarget},e])}),e("td",{class:["vxe-footer--column",i.id,(c={},Object(Dn["a"])(c,"col--".concat(i.headerAlign),i.headerAlign),Object(Dn["a"])(c,"fixed--hidden",g),Object(Dn["a"])(c,"col--ellipsis",C),Object(Dn["a"])(c,"filter--active",i.filters.some(function(e){return e.checked})),c),d?o.a.isFunction(d)?d({$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a}):d:""],attrs:{"data-colid":i.id},on:T,key:h?i.id:S},[e("div",{class:"vxe-cell"},Vn.formatText(t[n.tableColumn.indexOf(i)],1))])}).concat([e("td",{class:"col--gutter"})]))}))])])},methods:{scrollEvent:function(e){var t=this.$parent,n=this.fixedType,a=t.$refs,l=t.scrollXLoad,i=t.triggerScrollXEvent,r=t.lastScrollLeft,o=a.tableHeader,s=o?o.$el:null,c=a.tableBody.$el,d=a.tableFooter.$el,u=d.scrollLeft,h=u!==r;t.lastScrollLeft=u,t.lastScrollTime=Date.now(),s&&(s.scrollLeft=u),c&&(c.scrollLeft=u),l&&h&&i(e),Vn.emitEvent(t,"scroll",[{type:"footer",fixed:n,scrollTop:c.scrollTop,scrollLeft:u,isX:h,isY:!1,$table:t},e])}},install:function(e){e.component(ja.name,ja)}},Ia=ja,za={name:"VxeTableFilter",props:{filterStore:Object,optimizeOpts:Object},render:function(e){var t=this.filterStore,n=this.optimizeOpts;return e("div",{class:["vxe-table--filter-wrapper","filter--prevent-default",{"t--animat":n.animat,"filter--active":t.visible}],style:t.style},t.visible?[e("ul",{class:"vxe-table--filter-body"},this.renderOptions(e)),this.renderFooter(e)]:[])},methods:{renderOptions:function(e){var t,n=this,a=this.$parent,l=this.filterStore,i=a.vSize,r=l.args,o=l.column,s=l.multiple,c=o.slots,d=o.own,u=d.filterRender,h=u?Mn["b"].get(u.name):null;if(c&&c.filter)return c.filter.call(a,Object.assign({$table:a,context:this},r),e);if(h&&h.renderFilter)return h.renderFilter(e,u,r,this);var p=[e("li",{class:["vxe-table--filter-option",{"is--active":!l.options.some(function(e){return e.checked})}]},[s?e("label",{class:["vxe-checkbox",(t={},Object(Dn["a"])(t,"size--".concat(i),i),Object(Dn["a"])(t,"is--indeterminate",l.isIndeterminate),t)]},[e("input",{attrs:{type:"checkbox"},domProps:{checked:l.isAllSelected},on:{change:function(e){return n.filterCheckAllEvent(e,e.target.checked)}}}),e("span",{class:"vxe-checkbox--icon"}),e("span",{class:"vxe-checkbox--label"},An["a"].i18n("vxe.table.allFilter"))]):e("span",{class:"vxe-table--filter-label",on:{click:a.resetFilterEvent}},An["a"].i18n("vxe.table.allFilter"))])];return l.options.forEach(function(t,a){p.push(e("li",{class:["vxe-table--filter-option",{"is--active":t.checked}],key:a},[s?e("label",{class:["vxe-checkbox",Object(Dn["a"])({},"size--".concat(i),i)]},[e("input",{attrs:{type:"checkbox"},domProps:{checked:t.checked},on:{change:function(e){return n.changeMultipleOption(e,e.target.checked,t)}}}),e("span",{class:"vxe-checkbox--icon"}),e("span",{class:"vxe-checkbox--label"},t.label)]):e("span",{class:"vxe-table--filter-label",on:{click:function(e){return n.changeRadioOption(e,!t.checked,t)}}},t.label)]))}),p},renderFooter:function(e){var t=this.filterStore,n=t.multiple;return n?e("div",{class:"vxe-table--filter-footer"},[e("button",{class:{"is--disabled":!t.isAllSelected&&!t.isIndeterminate},attrs:{disabled:!t.isAllSelected&&!t.isIndeterminate},on:{click:this.confirmFilter}},An["a"].i18n("vxe.table.confirmFilter")),e("button",{on:{click:this.resetFilter}},An["a"].i18n("vxe.table.resetFilter"))]):null},filterCheckAllEvent:function(e,t){var n=this.filterStore;n.options.forEach(function(e){e.checked=t}),n.isAllSelected=t,n.isIndeterminate=!1},checkOptions:function(){var e=this.filterStore;e.isAllSelected=e.options.every(function(e){return e.checked}),e.isIndeterminate=!e.isAllSelected&&e.options.some(function(e){return e.checked})},changeRadioOption:function(e,t,n){this.filterStore.options.forEach(function(e){e.checked=!1}),n.checked=t,this.checkOptions(),this.$parent.confirmFilterEvent()},changeMultipleOption:function(e,t,n){n.checked=t,this.checkOptions()},changeOption:function(e,t,n){this.filterStore.multiple?this.changeMultipleOption(e,t,n):this.changeRadioOption(e,t,n)},confirmFilter:function(){this.$parent.confirmFilterEvent()},resetFilter:function(){this.$parent.resetFilterEvent()}},install:function(e){e.component(za.name,za)}},Pa=za,Ma={name:"VxeTableLoading",props:{visible:Boolean},render:function(e){return e("div",{class:["vxe-table--loading"],style:{display:this.visible?"block":"none"}},[e("div",{class:"vxe-table--spinner"})])},install:function(e){e.component(Ma.name,Ma)}},Da=Ma,Fa={},Na=Object.keys(ba.props);Object.keys(ba.methods).forEach(function(e){Fa[e]=function(){return this.$refs.xTable[e].apply(this.$refs.xTable[e],arguments)}});var Aa={name:"VxeGrid",props:Object(Vt["a"])({columns:Array,pagerConfig:Object,proxyConfig:Object,toolbar:Object},ba.props),provide:function(){return{$grid:this}},data:function(){return{tableLoading:!1,tableData:[],tableCustoms:[],pendingRecords:[],filterData:[],sortData:{field:"",order:""},tablePage:{total:0,pageSize:10,currentPage:1}}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},isMsg:function(){return!1!==this.proxyOpts.message},proxyOpts:function(){return Object.assign({},An["a"].grid.proxyConfig,this.proxyConfig)},tableProps:function(){var e=this,t={};return Na.forEach(function(n){t[n]=e[n]}),t}},watch:{columns:function(e){this.loadColumn(e)},tableCustoms:function(){var e=this.$refs,t=this.toolbar;t&&e.toolbar&&e.toolbar.loadStorage()}},created:function(){var e=this.customs,t=this.proxyOpts,n=this.pagerConfig,a=t.props;e&&(this.tableCustoms=e),n&&n.pageSize&&(this.tablePage.pageSize=n.pageSize),a&&a.data&&console.warn("[vxe-table] The property proxyConfig.props.data is deprecated, please use proxyConfig.props.result")},mounted:function(){var e=this.columns,t=this.proxyConfig,n=this.proxyOpts;e&&e.length&&this.loadColumn(this.columns),t&&!1!==n.autoLoad&&this.commitProxy("query")},render:function(e){var t,n=this,a=this.$slots,l=this.$scopedSlots,i=this.$listeners,r=this.pagerConfig,o=this.vSize,s=this.loading,c=this.toolbar,d=this.editConfig,u=this.proxyConfig,h=this.proxyOpts,p=this.tableProps,m=this.tableLoading,f=this.tablePage,b=this.tableData,g=this.tableCustoms,v=this.optimization,x=Object.assign({},p,{optimization:Object.assign({},An["a"].optimization,v)}),w=Object.assign({},i),y=l.buttons;return u&&(Object.assign(x,{loading:s||m,data:b,rowClassName:this.handleRowClassName}),h.index&&r&&(x.startIndex=(f.currentPage-1)*f.pageSize),h.sort&&(w["sort-change"]=this.sortChangeEvent),h.filter&&(w["filter-change"]=this.filterChangeEvent)),c&&(c.slots&&(y=c.slots.buttons||y),c.setting&&c.setting.storage||(x.customs=g),w["update:customs"]=function(e){n.tableCustoms=e}),d&&(x.editConfig=Object.assign({},d,{activeMethod:this.handleActiveMethod})),e("div",{class:["vxe-grid",(t={},Object(Dn["a"])(t,"size--".concat(o),o),Object(Dn["a"])(t,"t--animat",x.optimization.animat),t)]},[c?e("vxe-toolbar",{ref:"toolbar",props:Object.assign({loading:s||m},c),scopedSlots:y?{buttons:y}:null}):null,e("vxe-table",{props:x,on:w,ref:"xTable"},a.default),r?e("vxe-pager",{props:Object.assign({size:o,loading:s||m},r,u?f:{}),on:{"page-change":this.pageChangeEvent}}):null])},methods:Object(Vt["a"])({},Fa,{handleRowClassName:function(e){var t=this.rowClassName,n=[];return this.pendingRecords.some(function(t){return t===e.row})&&n.push("row--pending"),n.concat(t?t(e):[])},handleActiveMethod:function(e){var t=this.editConfig.activeMethod;return-1===this.pendingRecords.indexOf(e.row)&&(!t||t(e))},commitProxy:function(e){var t=this,n=this.proxyOpts,a=this.tablePage,l=this.pagerConfig,i=this.sortData,r=this.filterData,s=this.isMsg,c=n.ajax,d=n.props,u=void 0===d?{}:d,h=o.a.slice(arguments,1);if(c)switch(e){case"insert":this.insert();break;case"insert_actived":this.insert().then(function(e){var n=e.row;return t.setActiveRow(n)});break;case"mark_cancel":this.triggerPendingEvent(e);break;case"delete_selection":this.handleDeleteRow(e,"vxe.grid.deleteSelectRecord",function(){return t.commitProxy.apply(t,["delete"].concat(h))});break;case"remove_selection":this.handleDeleteRow(e,"vxe.grid.removeSelectRecord",function(){return t.removeSelecteds()});break;case"export":this.exportCsv();break;case"reset_custom":this.resetAll();break;case"reload":case"query":if(c.query){var p={$grid:this,sort:i,filters:r};return this.tableLoading=!0,l&&(p.page=a),"reload"===e&&(l&&(a.currentPage=1),this.pendingRecords=[]),c.query.apply(this,[p].concat(h)).then(function(e){e?l?(a.total=o.a.get(e,u.total||"page.total")||0,t.tableData=o.a.get(e,u.result||u.data||"result")||[]):t.tableData=(u.list?o.a.get(e,u.list):e)||[]:t.tableData=[],t.tableLoading=!1}).catch(function(e){t.tableLoading=!1})}Vn.error("vxe.error.notQuery");break;case"delete":if(c.delete){var m=this.getSelectRecords();this.remove(m).then(function(){var n=t.getRemoveRecords(),a={removeRecords:n};if(n.length)return t.tableLoading=!0,c.delete.apply(t,[{$grid:t,body:a}].concat(h)).then(function(e){t.tableLoading=!1}).catch(function(e){t.tableLoading=!1}).then(function(){return t.commitProxy("reload")});s&&!m.length&&t.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.selectOneRecord"),status:"warning"})})}else Vn.error("vxe.error.notDelete");break;case"save":if(c.save){var f=Object.assign({pendingRecords:this.pendingRecords},this.getRecordset()),b=f.insertRecords,g=f.removeRecords,v=f.updateRecords,x=f.pendingRecords;return b.length&&(f.pendingRecords=x.filter(function(e){return-1===b.indexOf(e)})),x.length&&(f.insertRecords=b.filter(function(e){return-1===x.indexOf(e)})),new Promise(function(n){t.validate(f.insertRecords.concat(v),function(a){a?f.insertRecords.length||g.length||v.length||f.pendingRecords.length?(t.tableLoading=!0,n(c.save.apply(t,[{$grid:t,body:f}].concat(h)).then(function(){t.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.saveSuccess"),status:"success"}),t.tableLoading=!1}).catch(function(e){t.tableLoading=!1}).then(function(){return t.commitProxy("reload")}))):(s&&(x.length?t.remove(x):t.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.dataUnchanged"),status:"info"})),n()):n(a)})})}Vn.error("vxe.error.notSave");break}return this.$nextTick()},handleDeleteRow:function(e,t,n){var a=this.getSelectRecords();this.isMsg?a.length?this.$XMsg.confirm(An["a"].i18n(t)).then(function(e){"confirm"===e&&n()}):this.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.selectOneRecord"),status:"warning"}):a.length&&n()},getPendingRecords:function(){return this.pendingRecords},triggerPendingEvent:function(e){var t=this.pendingRecords,n=this.isMsg,a=this.getSelectRecords();if(a.length){var l=[],i=[];a.forEach(function(e){t.some(function(t){return e===t})?i.push(e):l.push(e)}),i.length?this.pendingRecords=t.filter(function(e){return-1===i.indexOf(e)}).concat(l):l.length&&(this.pendingRecords=t.concat(l)),this.clearSelection()}else n&&this.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.selectOneRecord"),status:"warning"})},pageChangeEvent:function(e){var t=this.tablePage,n=e.currentPage,a=e.pageSize;t.currentPage=n,t.pageSize=a,"current-change"===e.type?Vn.emitEvent(this,"current-page-change",[n]):Vn.emitEvent(this,"page-size-change",[a]),Vn.emitEvent(this,"page-change",[Object.assign({$grid:this},e)]),this.commitProxy("query")},sortChangeEvent:function(e){var t=this.remoteSort,n=this.sortData,a=e.column,l=o.a.isBoolean(a.remoteSort)?a.remoteSort:t;l&&(Object.assign(n,e),this.commitProxy("query")),Vn.emitEvent(this,"sort-change",[Object.assign({$grid:this},e)])},filterChangeEvent:function(e){var t=this.remoteFilter,n=e.filters;t&&(this.filterData=n,this.commitProxy("reload")),Vn.emitEvent(this,"filter-change",[Object.assign({$grid:this},e)])}}),install:function(e){e.component(Aa.name,Aa)}},La=Aa,Ba={name:"VxeTableContextMenu",props:{ctxMenuStore:Object},render:function(e){var t=this.$parent,n=this._e,a=this.ctxMenuStore;return e("div",{class:["vxe-table--ctxmenu-wrapper",{show:a.visible}],style:a.style},a.list.map(function(l,i){return e("ul",{class:"vxe-ctxmenu--option-wrapper",key:i},l.map(function(l,r){var o=l.children&&l.children.length;return!1===l.visible?n():e("li",{class:{"link--disabled":l.disabled,"link--active":l===a.selected},key:"".concat(i,"_").concat(r)},[e("a",{class:"vxe-ctxmenu--link",on:{click:function(e){t.ctxMenuLinkEvent(e,l)},mouseover:function(e){t.ctxMenuMouseoverEvent(e,l)},mouseout:function(e){t.ctxMenuMouseoutEvent(e,l)}}},[e("i",{class:["vxe-ctxmenu--link-prefix",l.prefixIcon]}),e("span",{class:"vxe-ctxmenu--link-content"},l.name),e("i",{class:["vxe-ctxmenu--link-suffix",o?l.suffixIcon||"suffix--haschild":l.suffixIcon]})]),o?e("ul",{class:["vxe-table--ctxmenu-clild-wrapper",{show:l===a.selected&&a.showChild}]},l.children.map(function(o,s){return!1===o.visible?n():e("li",{class:{"link--disabled":o.disabled,"link--active":o===a.selectChild},key:"".concat(i,"_").concat(r,"_").concat(s)},[e("a",{class:"vxe-ctxmenu--link",on:{click:function(e){t.ctxMenuLinkEvent(e,o)},mouseover:function(e){t.ctxMenuMouseoverEvent(e,l,o)},mouseout:function(e){t.ctxMenuMouseoutEvent(e,l,o)}}},[e("i",{class:["vxe-ctxmenu--link-prefix",o.prefixIcon]}),e("span",{class:"vxe-ctxmenu--link-content"},o.name)])])})):n()])}))}))},install:function(e){e.component(Ba.name,Ba)}},Ha=Ba,Va=(n("8615"),{name:"VxeToolbar",props:{id:String,loading:!1,resizable:{type:[Boolean,Object],default:function(){return An["a"].toolbar.resizable}},refresh:{type:[Boolean,Object],default:function(){return An["a"].toolbar.refresh}},setting:{type:[Boolean,Object],default:function(){return An["a"].toolbar.setting}},buttons:{type:Array,default:function(){return An["a"].toolbar.buttons}},size:String,data:Array,customs:Array},inject:{$grid:{default:null}},data:function(){return{$table:null,isRefresh:!1,tableFullColumn:[],settingStore:{visible:!1}}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},refreshOpts:function(){return Object.assign({},An["a"].toolbar.refresh,this.refresh)},resizableOpts:function(){return Object.assign({storageKey:"VXE_TABLE_CUSTOM_COLUMN_WIDTH"},An["a"].toolbar.resizable,this.resizable)},settingOpts:function(){return Object.assign({storageKey:"VXE_TABLE_CUSTOM_COLUMN_HIDDEN"},An["a"].toolbar.setting,this.setting)}},created:function(){var e=this,t=this.settingOpts,n=this.id,a=this.customs;if(a&&(this.tableFullColumn=a),t.storage&&!n)return Vn.error("vxe.error.toolbarId");this.$nextTick(function(){e.updateConf(),e.loadStorage()}),ea.on(this,"mousedown",this.handleGlobalMousedownEvent),ea.on(this,"blur",this.handleGlobalBlurEvent)},destroyed:function(){ea.off(this,"mousedown"),ea.off(this,"blur")},render:function(e){var t,n=this,a=this.$scopedSlots,l=this.$grid,i=this.$table,r=this.loading,o=this.settingStore,s=this.refresh,c=this.setting,d=this.settingOpts,u=this.buttons,h=void 0===u?[]:u,p=this.vSize,m=this.tableFullColumn,f={},b={},g=a.buttons;return c&&("manual"===d.trigger||("hover"===d.trigger?(f.mouseenter=this.handleMouseenterSettingEvent,f.mouseleave=this.handleMouseleaveSettingEvent,b.mouseenter=this.handleWrapperMouseenterEvent,b.mouseleave=this.handleWrapperMouseleaveEvent):f.click=this.handleClickSettingEvent)),e("div",{class:["vxe-toolbar",(t={},Object(Dn["a"])(t,"size--".concat(p),p),Object(Dn["a"])(t,"is--loading",r),t)]},[e("div",{class:"vxe-button--wrapper"},g?g.call(l||i||this,{$grid:l,$table:i},e):h.map(function(t){return e("vxe-button",{on:{click:function(e){return n.btnEvent(e,t)}},scopedSlots:t.dropdowns&&t.dropdowns.length?{default:function(){return Vn.getFuncText(t.name)},dropdowns:function(){return t.dropdowns.map(function(t){return e("vxe-button",{on:{click:function(e){return n.btnEvent(e,t)}}},Vn.getFuncText(t.name))})}}:null},Vn.getFuncText(t.name))})),c?e("div",{class:["vxe-custom--wrapper",{"is--active":o.visible}],ref:"customWrapper"},[e("div",{class:"vxe-custom--setting-btn",on:f},[e("i",{class:An["a"].icon.custom})]),e("div",{class:"vxe-custom--option-wrapper"},[e("div",{class:"vxe-custom--option",on:b},m.map(function(t){var a=t.property,l=t.visible,i=t.own,r=Vn.getFuncText(i.title||i.label);return a&&r?e("vxe-checkbox",{props:{value:l},on:{change:function(e){t.visible=e,c&&d.immediate&&n.updateSetting()}}},r):null}))])]):null,s?e("div",{class:"vxe-refresh--wrapper"},[e("div",{class:"vxe-refresh--btn",on:{click:this.refreshEvent}},[e("i",{class:[An["a"].icon.refresh,{roll:this.isRefresh}]})])]):null])},methods:{updateConf:function(){var e=this.$parent,t=this.data,n=e.$children,a=n.indexOf(this);this.$table=n.find(function(e,n){return e&&e.refreshColumn&&n>a&&(t?e.data===t:"vxe-table"===e.$vnode.componentOptions.tag)})},openSetting:function(){this.settingStore.visible=!0},closeSetting:function(){var e=this.setting,t=this.settingStore;t.visible&&(t.visible=!1,e&&!t.immediate&&this.updateSetting())},loadStorage:function(){var e=this.$grid,t=this.$table,n=this.id,a=this.refresh,l=this.resizable,i=this.setting,r=this.refreshOpts,s=this.resizableOpts,c=this.settingOpts;if(a&&!e&&(r.query||console.warn("[vxe-toolbar] refresh.query function does not exist")),l||i){if(!e&&!t)throw new Error("[vxe-toolbar] Not found vxe-table.");(e||t).connect({toolbar:this});var d={};if(s.storage){var u=this.getStorageMap(s.storageKey)[n];u&&o.a.each(u,function(e,t){d[t]={field:t,resizeWidth:e}})}if(c.storage){var h=this.getStorageMap(c.storageKey)[n];h&&h.split(",").forEach(function(e){d[e]?d[e].visible=!1:d[e]={field:e,visible:!1}})}var p=Object.values(d);this.updateCustoms(p.length?p:this.tableFullColumn)}},updateColumn:function(e){this.tableFullColumn=e},updateCustoms:function(e){var t=this,n=this.$grid,a=this.$table,l=n||a;l&&l.reloadCustoms(e).then(function(e){t.tableFullColumn=e})},getStorageMap:function(e){var t=An["a"].version,n=o.a.toStringJSON(localStorage.getItem(e));return n&&n._v===t?n:{_v:t}},saveColumnHide:function(){var e=this.id,t=this.tableFullColumn,n=this.settingOpts;if(n.storage){var a=this.getStorageMap(n.storageKey),l=t.filter(function(e){return e.property&&!e.visible});a[e]=l.length?l.map(function(e){return e.property}).join(","):void 0,localStorage.setItem(n.storageKey,o.a.toJSONString(a))}return this.$nextTick()},saveColumnWidth:function(e){var t=this.id,n=this.tableFullColumn,a=this.resizableOpts;if(a.storage){var l,i=this.getStorageMap(a.storageKey);e||(l=o.a.isPlainObject(i[t])?i[t]:{},n.forEach(function(e){var t=e.property,n=e.resizeWidth,a=e.renderWidth;t&&n&&(l[t]=a)})),i[t]=o.a.isEmpty(l)?void 0:l,localStorage.setItem(a.storageKey,o.a.toJSONString(i))}return this.$nextTick()},hideColumn:function(e){return console.warn("[vxe-table] The function hideColumn is deprecated"),e.visible=!1,this.updateSetting()},showColumn:function(e){return console.warn("[vxe-table] The function showColumn is deprecated"),e.visible=!0,this.updateSetting()},resetCustoms:function(){return this.updateSetting()},resetResizable:function(){this.updateResizable(this)},updateResizable:function(e){var t=this.$grid,n=this.$table,a=t||n;return this.saveColumnWidth(e),a.analyColumnWidth(),a.recalculate(!0)},updateSetting:function(){return(this.$grid||this.$table).refreshColumn(),this.saveColumnHide()},handleGlobalMousedownEvent:function(e){Un.getEventTargetNode(e,this.$refs.customWrapper).flag||this.closeSetting()},handleGlobalBlurEvent:function(e){this.closeSetting()},handleClickSettingEvent:function(e){var t=this.settingStore;t.visible=!t.visible},handleMouseenterSettingEvent:function(e){this.settingStore.activeBtn=!0,this.openSetting()},handleMouseleaveSettingEvent:function(e){var t=this,n=this.settingStore;n.activeBtn=!1,setTimeout(function(){n.activeBtn||n.activeWrapper||t.closeSetting()},300)},handleWrapperMouseenterEvent:function(e){this.settingStore.activeWrapper=!0,this.openSetting()},handleWrapperMouseleaveEvent:function(e){var t=this,n=this.settingStore;n.activeWrapper=!1,setTimeout(function(){n.activeBtn||n.activeWrapper||t.closeSetting()},300)},refreshEvent:function(){var e=this,t=this.$grid,n=this.refreshOpts,a=this.isRefresh;a||(n.query?(this.isRefresh=!0,n.query().catch(function(e){return e}).then(function(){e.isRefresh=!1})):t&&(this.isRefresh=!0,t.commitProxy("reload").catch(function(e){return e}).then(function(){e.isRefresh=!1})))},btnEvent:function(e,t){var n=this.$grid,a=this.$table;t.code&&n&&(n.commitProxy(t.code),Vn.emitEvent(n,"toolbar-button-click",[{button:t,$grid:n,$table:a},e]))}},install:function(e){e.component(Va.name,Va)}}),Wa=Va,_a=(n("1c4c"),{name:"VxePager",props:{size:String,layouts:{type:Array,default:function(){return An["a"].pager.layouts||["PrevJump","PrevPage","Jump","PageCount","NextPage","NextJump","Sizes","Total"]}},currentPage:{type:Number,default:1},loading:Boolean,pageSize:{type:Number,default:function(){return An["a"].pager.pageSize||10}},total:{type:Number,default:0},pagerCount:{type:Number,default:function(){return An["a"].pager.pagerCount||7}},pageSizes:{type:Array,default:function(){return An["a"].pager.pageSizes||[10,15,20,50,100]}},align:String,background:Boolean},inject:{$grid:{default:null}},data:function(){return{showSizes:!1,panelStyle:null}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},isSizes:function(){return this.layouts.some(function(e){return"Sizes"===e})},pageCount:function(){return this.getPageCount(this.total,this.pageSize)},numList:function(){return Array.from(new Array(this.pageCount>this.pagerCount?this.pagerCount-2:this.pagerCount))},offsetNumber:function(){return Math.floor((this.pagerCount-2)/2)}},created:function(){ea.on(this,"mousedown",this.handleGlobalMousedownEvent)},destroyed:function(){ea.off(this,"mousedown")},render:function(e){var t,n=this,a=this.layouts,l=this.loading,i=this.vSize,r=this.align,o=this.background;return e("div",{class:["vxe-pager",(t={},Object(Dn["a"])(t,"size--".concat(i),i),Object(Dn["a"])(t,"align--".concat(r),r),Object(Dn["a"])(t,"p--background",o),Object(Dn["a"])(t,"is--loading",l),t)]},a.map(function(t){return n["render".concat(t)](e)}))},methods:{renderPrevPage:function(e){var t=this.currentPage;return e("span",{class:["vxe-pager--prev-btn",{"is--disabled":t<=1}],on:{click:this.prevPageEvent}},[e("i",{class:["vxe-icon--page-icon",An["a"].icon.prevPage]})])},renderPrevJump:function(e,t){var n=this,a=this.numList,l=this.currentPage;return e(t||"span",{class:["vxe-pager--jump-prev",{"is--fixed":!t,"is--disabled":l<=1}],on:{click:function(){return n.jumpPageEvent(Math.max(l-a.length,1))}}},[t?e("i",{class:"vxe-pager--jump-more vxe-icon--more"}):null,e("i",{class:["vxe-pager--jump-icon",An["a"].icon.jumpPrev]})])},renderNumber:function(e){return e("ul",{class:"vxe-pager--btn-wrapper"},this.renderPageBtn(e))},renderJumpNumber:function(e){return e("ul",{class:"vxe-pager--btn-wrapper"},this.renderPageBtn(e,!0))},renderNextJump:function(e,t){var n=this,a=this.numList,l=this.currentPage,i=this.pageCount;return e(t||"span",{class:["vxe-pager--jump-next",{"is--fixed":!t,"is--disabled":l>=i}],on:{click:function(){return n.jumpPageEvent(Math.min(l+a.length,i))}}},[t?e("i",{class:"vxe-pager--jump-more vxe-icon--more"}):null,e("i",{class:["vxe-pager--jump-icon",An["a"].icon.jumpNext]})])},renderNextPage:function(e){var t=this.currentPage,n=this.pageCount;return e("span",{class:["vxe-pager--next-btn",{"is--disabled":t>=n}],on:{click:this.nextPageEvent}},[e("i",{class:["vxe-icon--page-icon",An["a"].icon.nextPage]})])},renderSizes:function(e){var t=this,n=this.pageSizes,a=this.showSizes,l=this.pageSize,i=this.panelStyle;return e("span",{class:["vxe-pager--sizes",{"is--active":a}],ref:"sizeBtn"},[e("span",{class:"size--content",on:{click:this.toggleSizePanel}},[e("span","".concat(l).concat(An["a"].i18n("vxe.pager.pagesize"))),e("i",{class:"vxe-pager--sizes-arrow ".concat(An["a"].icon.caretBottom)})]),e("div",{class:"vxe-pager-size--select-wrapper",style:i,ref:"sizePanel"},[e("ul",{class:"vxe-pager-size--select"},n.map(function(n){return e("li",{class:["size--option",{"is--active":n===l}],on:{click:function(){return t.sizeChangeEvent(n)}}},"".concat(n).concat(An["a"].i18n("vxe.pager.pagesize")))}))])])},renderFullJump:function(e){return this.renderJump(e,!0)},renderJump:function(e,t){var n=this,a=this.currentPage,l=this.pageCount;return e("span",{class:"vxe-pager--jump"},[t?e("span",{class:"vxe-pager--goto-text"},An["a"].i18n("vxe.pager.goto")):null,e("input",{class:"vxe-pager--goto",domProps:{value:a},attrs:{type:"text",autocomplete:"off"},on:{keydown:function(e){if(13===e.keyCode){var t=o.a.toNumber(e.target.value),a=t<=0?1:t>=l?l:t;e.target.value=a,n.jumpPageEvent(a)}else 38===e.keyCode?(e.preventDefault(),n.nextPageEvent(e)):40===e.keyCode&&(e.preventDefault(),n.prevPageEvent(e))}}}),t?e("span",{class:"vxe-pager--classifier-text"},An["a"].i18n("vxe.pager.pageClassifier")):null])},renderPageCount:function(e){var t=this.pageCount;return e("span",{class:"vxe-pager--count"},[e("span",{class:"vxe-pager--separator"},"/"),e("span",t)])},renderTotal:function(e){var t=this.total;return e("span",{class:"vxe-pager--total"},o.a.template(An["a"].i18n("vxe.pager.total"),{total:t}))},renderPageBtn:function(e,t){var n=this,a=this.numList,l=this.currentPage,i=this.pageCount,r=this.pagerCount,o=this.offsetNumber,s=[],c=i>r,d=c&&l>o+1,u=c&&l=i-o?Math.max(i-a.length+1,1):Math.max(l-o,1)),t&&d&&s.push(e("li",{class:"vxe-pager--num-btn",on:{click:function(){return n.jumpPageEvent(1)}}},1),this.renderPrevJump(e,"li")),a.forEach(function(t,a){var r=h+a;r<=i&&s.push(e("li",{class:["vxe-pager--num-btn",{"is--active":l===r}],on:{click:function(){return n.jumpPageEvent(r)}},key:r},r))}),t&&u&&s.push(this.renderNextJump(e,"li"),e("li",{class:"vxe-pager--num-btn",on:{click:function(){return n.jumpPageEvent(i)}}},i)),s},getPageCount:function(e,t){return Math.max(Math.ceil(e/t),1)},handleGlobalMousedownEvent:function(e){!this.showSizes||Un.getEventTargetNode(e,this.$refs.sizeBtn).flag||Un.getEventTargetNode(e,this.$refs.sizePanel).flag||this.hideSizePanel()},prevPageEvent:function(){var e=this.currentPage;e>1&&this.jumpPageEvent(Math.max(e-1,1))},nextPageEvent:function(){var e=this.currentPage,t=this.pageCount;e-1&&o.a.remove(al,function(t){return t===e}),this.updateStyle()},updateStyle:function(){this.$nextTick(function(){var e=0;al.forEach(function(t){e+=t.top,t.msgTop=e,e+=t.$refs.msgBox.clientHeight})})},close:function(e){var t=this,n=this.visible,a=this.lockScroll,l=this.beforeLockStyle,i=this.isMsg;n&&(i&&this.removeMsgQueue(),this.contentVisible=!1,setTimeout(function(){t.visible=!1,a&&Object.assign(document.body.style,l),t._handleCustom?t._handleCustom(e):(t.$emit("input",!1),t.$emit("hide",e))},200))},mousedownEvent:function(e){var t=this;if(0===e.button){e.preventDefault();var n=this.$refs.msgBox,a=document.onmousemove,l=document.onmouseup,i=e.clientX-n.offsetLeft,r=e.clientY-n.offsetTop;document.onmousemove=function(e){e.preventDefault();var t=document.documentElement.clientWidth||document.body.clientWidth,a=document.documentElement.clientHeight||document.body.clientHeight,l=n.offsetWidth,o=n.offsetHeight,s=l/2,c=t-l/2,d=0,u=a-o,h=e.clientX-i,p=e.clientY-r;h>c&&(h=c),hu&&(p=u),p1&&(i.insertBefore(n,t),e||(e=n))}),i.removeChild(t),this.target=e,e&&("hover"===n?(e.onmouseleave=this.mouseleaveEvent,e.onmouseenter=this.mouseenterEvent):"click"===n&&(e.onclick=this.clickEvent)),l&&this.show()},beforeDestroy:function(){var e=this.$el,t=this.target,n=this.trigger,a=e.parentNode;a&&a.removeChild(e),t&&("hover"===n?(t.onmouseleave=null,t.onmouseenter=null):"click"===n&&(t.onclick=null))},render:function(e){var t=this.theme,n=this.message,a=this.isArrow,l=this.visible,i=this.tipStore;return e("div",{class:["vxe-table--tooltip-wrapper","theme--".concat(t),"placement--".concat(i.placement),{"is--visible":l,"is--arrow":a}],style:i.style,ref:"tipWrapper"},[e("div",{class:"vxe-table--tooltip-content"},this.$slots.content||n),e("div",{class:"vxe-table--tooltip-arrow",style:i.arrowStyle})].concat(this.$slots.default))},methods:{show:function(){return this.toVisible(this.target)},close:function(){return Object.assign(this.tipStore,{style:{},placement:"",arrowStyle:null}),this.update(!1),this.$nextTick()},update:function(e){e!==this.visible&&(this.visible=e,this.isUpdate=!0,this.$listeners.input&&this.$emit("input",this.visible))},toVisible:function(e,t){var n=this;if(e){var a=this.$el,l=this.tipStore,i=this.zIndex,r=Un.getAbsolutePos(e),s=r.top,c=r.left,d=Un.getDomNode(),u=d.scrollTop,h=d.scrollLeft,p=d.visibleWidth,m=a.parentNode,f=c;return l.placement="top",l.style={width:"auto"},l.arrowStyle={left:"50%"},m||document.body.appendChild(a),t&&(this.message=t),this.update(!0),this.$nextTick().then(function(){var t=a;if(t){var r=t.clientHeight,d=o.a.toNumber(getComputedStyle(t).width);return f=c+Math.floor((e.offsetWidth-d)/2),l.style={zIndex:i,width:"".concat(d,"px"),top:"".concat(s-r-6,"px"),left:"".concat(f,"px")},n.$nextTick()}}).then(function(){var t=a;if(t){var n=t.clientHeight,i=t.clientWidth;Object.assign(l.style,{top:"".concat(s-n-6,"px"),left:"".concat(f,"px")}),s-nf+16?c-f+16:16,"px"),l.style.left="".concat(f,"px")):f+i>h+p&&(f=h+p-i-6,l.arrowStyle.left="".concat(i-Math.max(Math.floor((f+i-c)/2),22),"px"),l.style.left="".concat(f,"px"))}})}return this.$nextTick()},clickEvent:function(e){this[this.visible?"close":"show"]()},mouseleaveEvent:function(e){this.close()},mouseenterEvent:function(e){this.show()}},install:function(e){An["a"]._tip=1,e.component(sl.name,sl)}},cl=sl,dl={getCsvContent:function(e,t,n,a){var l=t.original,i=e.$el,r=hl(t,a,n,i),o=r.columns,s=r.datas,c="\ufeff";return t.isHeader&&(c+=o.map(function(e){var t=e.own;return Vn.getFuncText(t.title||t.label)}).join(",")+"\n"),s.forEach(function(e,t){c+=l?o.map(function(n){return"index"===n.type?'"'.concat(n.indexMethod?n.indexMethod(t):t+1,'"'):'"'.concat(Vn.getCellValue(e,n)||"",'"')}).join(",")+"\n":o.map(function(t){return'"'.concat(e[t.id],'"')}).join(",")+"\n"}),t.isFooter&&e.footerData.forEach(function(e){c+=e.join(",")+"\n"}),c},downloadCsc:function(e,t){if(!e.download)return Promise.resolve(t);if(navigator.msSaveBlob&&window.Blob)navigator.msSaveBlob(new Blob([t],{type:"text/csv"}),e.filename);else if(Un.browse["-ms"]){var n=window.top.open("about:blank","_blank");n.document.charset="utf-8",n.document.write(t),n.document.close(),n.document.execCommand("SaveAs",e.filename),n.close()}else{var a=document.createElement("a");a.target="_blank",a.download=e.filename,a.href=pl(e,t),document.body.appendChild(a),a.click(),document.body.removeChild(a)}}};function ul(e,t,n){var a=n.querySelectorAll(".vxe-table--body-wrapper.body--wrapper .vxe-body--row");return Array.from(a).map(function(t){var n={};return e.forEach(function(e){var a=t.querySelector(".".concat(e.id));n[e.id]=a?a.innerText.trim():""}),n})}function hl(e,t,n,a){var l=e.original,i=e.columns?e.columns:n;e.columnFilterMethod&&(i=i.filter(e.columnFilterMethod));var r=e.data?e.data:l?t:ul(i,t,a);return e.dataFilterMethod&&(r=r.filter(e.dataFilterMethod)),{columns:i,datas:r}}function pl(e,t){return window.Blob&&window.URL&&window.URL.createObjectURL&&!Un.browse.safari?URL.createObjectURL(new Blob([t],{type:"text/csv"})):"data:attachment/csv;charset=utf-8,".concat(encodeURIComponent(t))}dl.install=function(){Object.assign(Jn,dl)};var ml=dl,fl=[],bl=250,gl=null;function vl(){clearTimeout(gl),gl=setTimeout(xl,An["a"].resizeInterval||bl)}function xl(){fl.length&&(fl.forEach(function(e){var t=e.comp,n=e.target,a=e.cb,l=e.width,i=e.heighe,r=n.clientWidth,o=n.clientHeight,s=r&&l!==r,c=o&&i!==o;(s||c)&&(e.width=r,e.heighe=o,a.call(t,{type:"resize",target:n,rWidth:s,rHeight:c,currentTarget:n}))}),gl=setTimeout(xl,An["a"].resizeInterval||bl))}var wl={on:function(e,t,n){fl.length||vl(),fl.some(function(n){return n.comp===e&&n.target===t})||fl.push({comp:e,target:t,cb:n,width:t.clientWidth,heighe:t.clientWidth})},off:function(e,t){o.a.remove(fl,function(n){return n.comp===e&&n.target===t})},install:function(){Object.assign(ta,wl)}},yl=wl,Cl=(n("1a97"),n("5486")),Tl=n.n(Cl),Sl=n("487f"),kl=n.n(Sl),El=n("f385"),Rl=n.n(El),Ol=n("2ea3"),$l=n.n(Ol);n("f8dd"),n("a026"),n("8ce5"),n("d502");Mn["c"].setup({translate:function(e){return e&&e.indexOf("app.")>-1?Jt.t(e):e},i18n:function(e,t){return Jt.t(e,t)}}),a["default"].use(ba),a["default"].use(va),a["default"].use(Ca),a["default"].use($a),a["default"].use(Ia),a["default"].use(Pa),a["default"].use(Da),a["default"].use(La),a["default"].use(Ha),a["default"].use(Wa),a["default"].use(qa),a["default"].use(Ga),a["default"].use(Ua),a["default"].use(Za),a["default"].use(tl),a["default"].use(ol),a["default"].use(cl),a["default"].use(ml),a["default"].use(yl),Mn["c"].use(Tl.a),Mn["c"].use(kl.a),Mn["c"].use(Rl.a),Mn["c"].use($l.a),a["default"].component(an.name,an),a["default"].component(dn.name,dn),a["default"].component(bn.name,bn),a["default"].component(Cn.name,Cn),a["default"].component(On.name,On);var jl=n("628a"),Il=n.n(jl),zl=n("4168"),Pl=n.n(zl);Pl.a.setup({template:!0,pathVariable:"auto",timeout:"40-300",error:!0,log:!0});n("b54a");var Ml=1e5,Dl=function(){function e(t,n){Object(Fn["a"])(this,e),this.list=Object(zl["template"])(t),this.ModelVO=n}return Object(Nn["a"])(e,[{key:"findList",value:function(e){var t=this.list,n=e||{},a=n.sort,l=void 0===a?["updateTime"]:a,i=n.order,r=void 0===i?"desc":i,s=n.max;return function(e){var n=t,a=e.params,i=l,c=r;if(a){var d=o.a.keys(a).filter(function(e){return!["sort","order"].includes(e)&&a[e]});d&&(n=n.filter(function(e){return d.every(function(t){return""+e[t]===""+a[t]})})),a.order&&(c=a.order),a.sort&&(i=a.sort.split(","))}return n=o.a.sortBy(t,i),"desc"===c&&(n=n.reverse()),s?n.slice(0,s):n}}},{key:"findTreeNodeList",value:function(e){var t=this.list,n=e||{},a=n.sort,l=void 0===a?["updateTime"]:a,i=n.order,r=void 0===i?"desc":i,s=n.key,c=void 0===s?"id":s,d=n.parentKey,u=void 0===d?"parentId":d,h=n.max;return function(e){var n=t,a=e.params,i=l,s=r;if(a){var d=o.a.keys(a).filter(function(e){return!["sort","order"].includes(e)&&a[e]});d&&(n=n.filter(function(e){return d.every(function(t){return""+e[t]===""+a[t]})})),a.order&&(s=a.order),a.sort&&(i=a.sort.split(","))}if(n=o.a.toArrayTree(t,{key:c,parentKey:u,sortKey:i}),a&&a[c]){var p=o.a.findTree(n,function(e){return""+e[c]===""+a[c]},{key:c,parentKey:u});n=p?p.item.children:[]}return n=n.map(function(e){return e.children&&e.children.length&&(e.hasChildren=!0),delete e.children,e}),"desc"===s&&(n=n.reverse()),h?n.slice(0,h):n}}},{key:"findPageList",value:function(e){var t=this.list,n=e||{},a=n.sort,l=void 0===a?["updateTime"]:a,i=n.order,r=void 0===i?"desc":i,s=n.page;return function(e,n,a){var i=a.pathVariable,c=10,d=1,u=t,h=e.params,p=l,m=r;if(h){var f=o.a.keys(h).filter(function(e){return!["sort","order"].includes(e)&&h[e]});f&&(u=u.filter(function(e){return f.every(function(t){return String(e[t]||"").indexOf(h[t])>-1})})),h.order&&(m=h.order),h.sort&&(p=h.sort.split(","))}i&&(c=o.a.toNumber(i[s&&s.size?s.size:"pageSize"])||c,d=o.a.toNumber(i[s&&s.current?s.current:"currentPage"])||d);var b=u.length;return u=o.a.sortBy(u,p),"desc"===m&&(u=u.reverse()),n.body={page:{pageSize:c,currentPage:d,totalResult:b,total:b},result:u.slice((d-1)*c,d*c)},n}}},{key:"deleteByPathVariable",value:function(e){var t=this.list,n=e||{},a=n.key,l=void 0===a?"id":a;return function(e,n,a){var i=a.pathVariable,r=[];return i&&(r=o.a.remove(t,function(e){return e[l]===i[l]})),n.body=r,n}}},{key:"deleteTreeByPathVariable",value:function(e){var t=this.list,n=e||{},a=n.key,l=void 0===a?"id":a,i=n.parentKey,r=void 0===i?"parentId":i;return function(e,n,a){var i=a.pathVariable,s=[];return i&&function(){var e=o.a.remove(t,function(e){return e[l]===i[l]});s=s.concat(e);while(e.length)e=o.a.remove(t,function(t){return e.some(function(e){return e[l]===t[r]})}),s=s.concat(e)}(),n.body=s,n}}},{key:"insertByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l;return function(e,a){var l=[];if(e.body){var r=Date.now(),o=[e.body];o.forEach(function(e){var a,o=Object.assign(new n(e),(a={},Object(Dn["a"])(a,i,Ml++),Object(Dn["a"])(a,"updateTime",r),Object(Dn["a"])(a,"createTime",r),a));l.push(o),t.push(o)})}return l}}},{key:"insertTreeByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l,r=a.parentKey,s=void 0===r?"parentId":r;return function(e,a){var l=[];if(e.body){var r=Date.now(),c=[e.body],d=function e(a,o){a.forEach(function(a){var c,d=Object.assign(new n(a),(c={},Object(Dn["a"])(c,i,Ml++),Object(Dn["a"])(c,"updateTime",r),Object(Dn["a"])(c,"createTime",r),c));o&&(d[s]=o[i]),l.push(d),t.push(d),e(a.children||[],d)})};d(o.a.toArrayTree(c,{key:i,parentKey:s}))}return l}}},{key:"updateByBody",value:function(e){var t=this.list,n=e||{},a=n.key,l=void 0===a?"id":a;return function(e,n){var a=[];if(e.body){var i=Date.now(),r=[e.body];r.forEach(function(e){var n=t.find(function(t){return t[l]===e[l]});n&&(o.a.destructuring(n,e,{updateTime:i}),a.push(n))})}return a}}},{key:"saveListByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l,r=a.page;return function(e,a){var l=[],s=[],c=[];if(e.body){var d=Date.now(),u=e.body[r&&r.update?r.update:"updateRecords"]||[],h=e.body[r&&r.remove?r.remove:"removeRecords"]||[],p=e.body[r&&r.remove?r.remove:"pendingRecords"]||[],m=e.body[r&&r.insert?r.insert:"insertRecords"]||[];u.forEach(function(e){var n=t.find(function(t){return t[i]===e[i]});n&&(o.a.destructuring(n,e,{updateTime:d}),s.push(n))}),m.forEach(function(e){var a,r=Object.assign(new n(e),(a={},Object(Dn["a"])(a,i,Ml++),Object(Dn["a"])(a,"updateTime",d),Object(Dn["a"])(a,"createTime",d),a));l.push(r),t.push(r)}),h=h.concat(p),c=o.a.remove(t,function(e){return h.some(function(t){return t[i]===e[i]})})}return a.body={insertRest:l,updateRest:s,removeRest:c},a}}},{key:"saveTreeListByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l,r=a.parentKey,s=void 0===r?"parentId":r,c=a.page;return function(e,a){var l=[],r=[],d=[];return e.body&&function(){var a=Date.now(),u=e.body[c&&c.update?c.update:"updateRecords"]||[],h=e.body[c&&c.remove?c.remove:"removeRecords"]||[],p=e.body[c&&c.remove?c.remove:"pendingRecords"]||[],m=e.body[c&&c.insert?c.insert:"insertRecords"]||[];u.forEach(function(e){var n=t.find(function(t){return t[i]===e[i]});n&&(o.a.destructuring(n,e,{updateTime:a}),r.push(n))});var f=function e(r,o){r.forEach(function(r){var c,d=Object.assign(new n(r),(c={},Object(Dn["a"])(c,i,Ml++),Object(Dn["a"])(c,"updateTime",a),Object(Dn["a"])(c,"createTime",a),c));o&&(d[s]=o[i]),l.push(d),t.push(d),e(r.children||[],d)})};f(o.a.toArrayTree(m,{key:i,parentKey:s})),h=h.concat(p);var b=o.a.remove(t,function(e){return h.some(function(t){return t[i]===e[i]})});d=d.concat(b);while(b.length)b=o.a.remove(t,function(e){return b.some(function(t){return t[i]===e[s]})}),d=d.concat(b)}(),a.body={insertRest:l,updateRest:r,removeRest:d},a}}}]),e}(),Fl=Dl;Object(zl["GET"])("/api/conf/region/list",n("62f2")),Object(zl["GET"])("/api/conf/sex/list",n("e9c4")),Object(zl["GET"])("/api/conf/columns/list",n("d97a")),Object(zl["GET"])("/api/conf/languages/list",n("9391"));var Nl=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.name=t.name,this.describe=t.describe,this.createTime=t.createTime,this.updateTime=t.updateTime},Al=new Fl(n("b4c6"),Nl);Object(zl["DELETE"])("/api/role/delete/{id}",Al.deleteByPathVariable()),Object(zl["POST"])("/api/role/add",Al.insertByBody()),Object(zl["POST"])("/api/role/update",Al.updateByBody()),Object(zl["POST"])("/api/role/save",Al.saveListByBody()),Object(zl["GET"])("/api/role/list",Al.findList({max:10})),Object(zl["GET"])("/api/role/page/list/{pageSize}/{currentPage}",Al.findPageList());var Ll=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.name=t.name,this.password=t.password,this.sex=t.sex,this.role=t.role,this.region=t.region,this.email=t.email,this.age=t.age,this.rate=t.rate,this.flag=t.flag,this.phone=t.phone,this.describe=t.describe,this.describe2=t.describe2,this.describe3=t.describe3,this.attr1=t.attr1,this.attr2=t.attr2,this.attr3=t.attr3,this.attr4=t.attr4,this.attr5=t.attr5,this.attr6=t.attr6,this.createTime=t.createTime,this.updateTime=t.updateTime},Bl=new Fl(n("4612"),Ll);Object(zl["DELETE"])("/api/user/delete/{id}",Bl.deleteByPathVariable()),Object(zl["POST"])("/api/user/add",Bl.insertByBody()),Object(zl["POST"])("/api/user/update",Bl.updateByBody()),Object(zl["POST"])("/api/user/save",Bl.saveListByBody()),Object(zl["GET"])("/api/user/list",Bl.findList({max:10})),Object(zl["GET"])("/api/user/page/list/{pageSize}/{currentPage}",Bl.findPageList());var Hl=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.parentId=t.parentId,this.name=t.name,this.size=t.size,this.type=t.type,this.createTime=t.createTime,this.updateTime=t.updateTime},Vl=new Fl(n("3261"),Hl);Object(zl["DELETE"])("/api/file/delete/{id}",Vl.deleteByPathVariable()),Object(zl["POST"])("/api/file/add",Vl.insertByBody()),Object(zl["POST"])("/api/file/update",Vl.updateByBody()),Object(zl["POST"])("/api/file/save",Vl.saveTreeListByBody()),Object(zl["GET"])("/api/file/list",Vl.findList()),Object(zl["GET"])("/api/file/node/list",Vl.findTreeNodeList()),Object(zl["GET"])("/api/file/page/list/{pageSize}/{currentPage}",Vl.findPageList());var Wl=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.key=t.key,this.name=t.name,this.isEdit=t.isEdit,this.required=t.required,this.validator=t.validator,this.validMsg=t.validMsg,this.visible=t.visible,this.width=t.width,this.type=t.type,this.link=t.link,this.describe=t.describe,this.createTime=t.createTime,this.updateTime=t.updateTime},_l=new Fl(n("3096"),Wl);Object(zl["DELETE"])("/api/column/delete/{id}",_l.deleteByPathVariable()),Object(zl["POST"])("/api/column/add",_l.insertByBody()),Object(zl["POST"])("/api/column/update",_l.updateByBody()),Object(zl["POST"])("/api/column/save",_l.saveListByBody()),Object(zl["GET"])("/api/column/list",_l.findList()),Object(zl["GET"])("/api/column/page/list/{pageSize}/{currentPage}",_l.findPageList());var ql=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.key=t.key,this.name=t.name,this.language=t.language,this.createTime=t.createTime,this.updateTime=t.updateTime},Xl=new Fl(n("0e3c"),ql);Object(zl["DELETE"])("/api/i18n/delete/{id}",Xl.deleteByPathVariable()),Object(zl["POST"])("/api/i18n/add",Xl.insertByBody()),Object(zl["POST"])("/api/i18n/update",Xl.updateByBody()),Object(zl["POST"])("/api/i18n/save",Xl.saveListByBody()),Object(zl["GET"])("/api/i18n/list",Xl.findList()),Object(zl["GET"])("/api/i18n/page/list/{pageSize}/{currentPage}",Xl.findPageList({sort:["key"],order:"asc"}));n("696c");Il.a.use(Pl.a);var Gl=n("c1df"),Kl=n.n(Gl);a["default"].config.productionTip=!1;var Ul=window.MOCK_COLUMN_LIST=[],Yl=window.MOCK_DATA_LIST=[],Jl=Date.now(),Ql=0,Zl=1e5,ei=o.a.shuffle(["a","t","b","v","g","k","r","h","x","z","c","d","e","p","u","f","s","n"]);function ti(){for(var e=o.a.browse().msie?500:2e3,t=0;t 单元格",iviewRender:"iview -> 单元格",antd:"ant-design-vue -> 单元格",sortablejsRow:"sortablejs -> 行拖拽",sortablejsColumn:"sortablejs -> 列拖拽",xlsxRender:"xlsx -> 导出 xlsx",plugin:"插件列表",elementPlugin:"plugin-element 基本配置",elementFilterPlugin:"plugin-element 筛选配置",elementPluginMore:"plugin-element 更多配置",iviewPlugin:"plugin-iview 基本配置",iviewFilter:"plugin-iview 筛选配置",iviewPluginMore:"plugin-iview 更多配置",antdPlugin:"plugin-antd 基本配置",antdFilter:"plugin-antd 筛选配置",antdPluginMore:"plugin-antd 更多配置",spanPlugin:"单元格选中合并",chartsPlugin:"图表功能",excelPlugin:"plugin-excel 简单的 Excel",renderer:"渲染器",rendererFilter:"筛选渲染器",rendererDefault:"默认的渲染器",rendererEdit:"可编辑渲染器",interceptor:"事件冲突拦截器",optimize:"优化建议",optimizeScroller:"虚拟滚动优化",optimizeEdit:"可编辑优化",api:"API",vxeTable:"vxe-table",vxeTableColumn:"vxe-table-column",vxeGrid:"vxe-grid",vxeExcel:"vxe-excel",vxeToolbar:"vxe-toolbar",vxePager:"vxe-pager",vxeRadio:"vxe-radio",vxeCheckbox:"vxe-checkbox",vxeInput:"vxe-input",vxeTextarea:"vxe-textarea",vxeButton:"vxe-button",vxeTooltip:"vxe-tooltip",vxeMessageBox:"vxe-message"}},body:{button:{viewCode:"查看代码",runDemo:"在线运行",showCode:"显示代码",refresh:"刷新",insert:"新增",save:"保存",markCancel:"标记/取消",deleteSelectedRecords:"删除选中"},label:{translations:"语言",version:"版本",name:"名字",age:"年龄",sex:"性别",createTime:"创建时间",updateTime:"更新时间"},valid:{rName:"名称必须填写"},msg:{error:"错误提示",copyToClipboard:"已复制到剪贴板!"}},footer:{donation:"捐赠",donationDesc:"为了使项目能够健康持续的发展下去,你可以通过赞助来支持作者 😊"},api:{form:{apiSearch:"API 搜索"},title:{prop:"属性",desc:"说明",type:"类型 / 返回类型",enum:"可选值",defVal:"默认值 / 参数",props:"参数",events:"事件",slots:"插槽",methods:"方法"},table:{desc:{data:"显示的数据",columns:"列配置",customs:"初始化显示/隐藏列(通过 visible 设置为 false 则默认隐藏列)",height:"表格的高度;支持铺满父容器或者固定宽高",maxHeight:"表格的最大高度",autoResize:"是否自动监听父容器响应式调整表格宽高(如果需要自动跟随父容器的高度变化时可能会用到)",resizable:"所有的列是否允许拖动列宽调整大小",stripe:"是否带有斑马纹",border:"是否带有纵向边框",size:"表格的尺寸",fit:"所有列的宽度是否自撑开",loading:"表格是否显示加载中",align:"所有的列对其方式",headerAlign:"所有的表头列的对齐方式",showHeader:"是否显示表头",startIndex:"只对 type=index 的列有效,动态索引的起始值",highlightCurrentRow:"是否要高亮当前行",highlightHoverRow:"鼠标移到行是否要高亮显示",highlightCurrentColumn:"是否要高亮当前列",highlightHoverColumn:"鼠标移到列是否要高亮显示",highlightCell:"只对 editConfig 配置时有效,是否在编辑时高亮单元格边框",rowClassName:"给行附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex})",cellClassName:"给单元格附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex})",headerRowClassName:"给表头的行附加 className,也可以是函数 Function({$rowIndex})",headerCellClassName:"给表头的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",footerRowClassName:"给表尾的行附加 className,也可以是函数 Function({$rowIndex})",footerCellClassName:"给表尾的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",showFooter:"是否显示表尾合计",footerMethod:"表尾合计的计算方法 Function({columns, data})",spanMethod:"合并行或列,该函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, data}) 返回计算后的值",showOverflow:"设置所有内容过长时显示为省略号(如果是固定列建议设置该值,提升渲染速度)",showHeaderOverflow:"设置表头所有内容过长时显示为省略号",remoteSort:"所有列是否使用服务端排序,如果设置为 true 则不会对数据进行处理",remoteFilter:"所有列是否使用服务端筛选,如果设置为 true 则不会对数据进行处理",columnWidth:"所有列宽度",columnMinWidth:"所有最小列宽度;会自动将剩余空间按比例分配",columnKey:"是否需要为每一列的 VNode 设置 key 属性(非特殊情况下不需要使用)",rowKey:"是否需要为每一行的 VNode 设置 key 属性(非特殊情况下没必要设置)",rowId:"自定义行数据唯一主键的字段名(行数据必须要有唯一主键,默认自动生成)",sortConfig:"排序配置项",radioConfig:"单选框配置项",selectConfig:"复选框配置项",tooltipConfig:"tooltip 配置项",expandConfig:"展开行配置项",treeConfig:"树形结构配置项",contextMenu:"快捷菜单配置项",mouseConfig:"鼠标配置项",keyboardConfig:"按键配置项",editConfig:"可编辑配置项",validConfig:"校验配置项",editRules:"校验规则配置项",optimization:"优化配置项",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)",empty:"空数据时显示的文本内容",currentChange:"只对 highlightCurrentRow 有效,当手动选中行并且值发生改变时触发的事件",radioChange:"只对 type=radio 有效,当手动勾选并且值发生改变时触发的事件",selectChange:"只对 type=selection 有效,当手动勾选并且值发生改变时触发的事件",selectAll:"只对 type=selection 有效,当手动勾选全选时触发的事件",cellClick:"单元格被点击时会触发该事件",cellDblclick:"单元格被双击时会触发该事件",cellContextmenu:"单元格被鼠标右键点击时触发该事件",headerCellClick:"表头单元格被点击时会触发该事件",headerCellDblclick:"表头单元格被双击时会触发该事件",headerCellContextmenu:"表头单元格被鼠标右键点击时触发该事件",footerCellClick:"表尾单元格被点击时会触发该事件",footerCellDblclick:"表尾单元格被双击时会触发该事件",footerCellContextmenu:"表尾单元格被鼠标右键点击时触发该事件",cellMouseenter:"当单元格 hover 进入时会触发该事件",cellMouseleave:"当单元格 hover 退出时会触发该事件",sortChange:"当排序条件发生变化时会触发该事件",filterChange:"当筛选条件发生变化时会触发该事件",resizableChange:"当列宽拖动发生变化时会触发该事件",toggleExpandChange:"当行展开或收起时会触发该事件",toggleTreeChange:"当树节点展开或收起时会触发该事件",contextMenuClick:"只对 context-menu 配置时有效,当点击快捷菜单时会触发该事件",editClosed:"单元格编辑状态下被关闭时会触发该事件",editActived:"单元格被激活编辑时会触发该事件",editDisabled:"当单元格激活时如果是禁用状态时会触发该事件",validError:"当数据校验不通过时会触发该事件",scroll:"表格滚动时会触发该事件"}},tableColumn:{desc:{type:"列的类型",field:"列属性",title:"列标题(支持开启国际化)",width:"列宽度",minWidth:"最小列宽度;会自动将剩余空间按比例分配",resizable:"列是否允许拖动列宽调整大小",fixed:"将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)",align:"列对其方式",headerAlign:"表头列的对齐方式",showOverflow:"当内容过长时显示为省略号",showHeaderOverflow:"当表头内容过长时显示为省略号",formatter:"格式化显示内容 Function({cellValue, row, rowIndex, column, columnIndex})",indexMethod:"只对 type=index 有效,自定义索引方法 Function({row, rowIndex, column, columnIndex})",sortable:"是否允许列排序",sortBy:"只对 sortable 有效,自定义排序的属性",remoteSort:"是否使用服务端排序,如果设置为 true 则不会对数据进行处理",filters:"配置筛选条件",filterMultiple:"只对 filters 有效,筛选是否允许多选",filterMethod:"只对 filters 有效,自定义筛选方法 Function({value, row, column})",filterRender:"筛选渲染器配置项",treeNode:"只对 tree-config 配置时有效,指定为树节点",cellRender:"默认的渲染器配置项",editRender:"可编辑渲染器配置项",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)"}},tooltip:{desc:{value:"是否显示",content:"显示内容",trigger:"触发方式",theme:"主题样式",zIndex:"自定义堆叠顺序(对于在弹框中使用是由于堆叠被覆盖时可能会用到)",isArrow:"是否显示箭头"}},grid:{desc:{toolbar:"工具栏配置",pagerConfig:"分页配置项",proxyConfig:"数据代理配置项"}},toolbar:{desc:{id:"唯一 ID 标识",size:"尺寸",loading:"是否加载中",refresh:"刷新按钮",resizable:"列宽拖动配置(需要设置 id)",setting:"列个性化配置(需要设置 id)"}},pager:{desc:{size:"尺寸",loading:"是否加载中",layouts:"自定义布局",currentPage:"当前页",pageSize:"每页大小",total:"总条数",pagerCount:"显示页码按钮的数量",pageSizes:"每页大小选项列表",align:"对其方式",background:"带背景颜色"}},radio:{desc:{value:"绑定值",size:"尺寸",disabled:"是否禁用",name:"原生 name 属性"}},checkbox:{desc:{value:"绑定值",size:"尺寸",disabled:"是否禁用"}},input:{desc:{value:"绑定值",size:"尺寸",disabled:"是否禁用"}},button:{desc:{type:"类型",size:"尺寸",name:"用来标识这一项"}},msg:{desc:{value:"绑定值",id:"只对 type=message 有效,如果不想提示框重复点击,可以设置唯一的 id 防止重复提示",title:"提示框的标题(支持开启国际化)",type:"提示框类型",status:"只对 type=message 有效,消息状态",message:"提示框的内容",lockView:"是否锁住页面,不允许提示框之外的任何操作",lockScroll:"是否锁住滚动条,不允许页面滚动",mask:"是否显示遮罩层",maskClosable:"是否允许点击遮罩层关闭提示框",duration:"只对 type=message 有效,自动关闭的延时",top:"只对 type=message 有效,消息距离顶部的位置",zIndex:"自定义堆叠顺序(对于在弹框中使用是由于堆叠被覆盖时可能会用到)"}}}}}},d97a:function(e){e.exports=[{prop:"name",label:"名称",visible:!0},{prop:"nickname",label:"昵称",visible:!0},{prop:"sex",label:"性别",visible:!0},{prop:"age",label:"年龄",visible:!0},{prop:"phone",label:"手机",visible:!0},{prop:"region",label:"地区",visible:!0},{prop:"date",label:"日期",visible:!0},{prop:"rate",label:"评分",visible:!0},{prop:"attr1",label:"属性1",visible:!1},{prop:"attr2",label:"属性2",visible:!1},{prop:"attr3",label:"属性3",visible:!1},{prop:"attr4",label:"属性4",visible:!1},{prop:"attr5",label:"属性5",visible:!1}]},e9c4:function(e){e.exports=[{label:"男",spell:"nan",value:"1",value2:1,val:"x"},{label:"女",spell:"nv",value:"0",value2:0,val:"o"}]}})["default"];
\ No newline at end of file
+var VXETable=function(e){function t(t){for(var a,l,o=t[0],s=t[1],c=t[2],d=0,u=[];d Cell",iviewRender:"iview -> Cell",antd:"ant-design-vue -> Cell",sortablejsRow:"sortablejs -> Row drag",sortablejsColumn:"sortablejs -> column moving",xlsxRender:"xlsx -> Export.xlsx",plugin:"The plugin list",elementPlugin:"plugin-element Basic config",elementFilterPlugin:"plugin-element Filter config",elementPluginMore:"plugin-element More config",iviewPlugin:"plugin-iview Basic config",iviewFilter:"plugin-iview Filter config",iviewPluginMore:"plugin-iview More config",antdPlugin:"plugin-antd Basic config",antdFilter:"plugin-antd Filter config",antdPluginMore:"plugin-antd More config",spanPlugin:"Select merge cells",chartsPlugin:"Charts toolbar",excelPlugin:"plugin-excel A simple excel",renderer:"Renderer",rendererFilter:"Filter renderer",rendererDefault:"Default renderer",rendererEdit:"Edit renderer",interceptor:"Interceptor",optimize:"Optimization and suggestion",optimizeScroller:"虚拟滚动优化",optimizeEdit:"可编辑优化",api:"API",vxeTable:"vxe-table",vxeTableColumn:"vxe-table-column",vxeGrid:"vxe-grid",vxeExcel:"vxe-excel",vxeToolbar:"vxe-toolbar",vxePager:"vxe-pager",vxeRadio:"vxe-radio",vxeCheckbox:"vxe-checkbox",vxeInput:"vxe-input",vxeTextarea:"vxe-textarea",vxeButton:"vxe-button",vxeTooltip:"vxe-tooltip",vxeMessageBox:"vxe-message"}},body:{button:{viewCode:"View source",runDemo:"Run demo",showCode:"Show code",refresh:"Refresh",insert:"Insert",save:"Save",markCancel:"Mark/Cancel",deleteSelectedRecords:"Delete selected records"},label:{translations:"Translations",version:"Version",name:"Name",age:"Age",sex:"Sex",createTime:"Create Date",updateTime:"Update Date"},valid:{rName:"The name of the required."},msg:{error:"Error message",copyToClipboard:"Copied to clipboard"}},footer:{donation:"Donation",donationDesc:"To make the project sustainable, you can support the author through sponsorship 😊"},api:{form:{apiSearch:"API Search"},title:{prop:"Attribute",desc:"Description",type:"Type / Return type",enum:"Accepted Values",defVal:"Default / Arguments",props:"Table Attributes",events:"Table events",slots:"Table slots",methods:"Table methods"},table:{desc:{data:"Table data",columns:"Column configuration",customs:"Initialize the show/hide column (hide the column by default by setting visible to false)",height:"Table height, supports adaptive or fixed width and height",maxHeight:"Maximum height of the table",autoResize:"Whether to automatically listen to the parent container to adjust the table width and height in a responsive manner (this may be used if you need to automatically follow the parent container's height)",resizable:"Whether drag column width resizing is allowed for all columns",stripe:"Whether with zebra stripes",border:"Whether there is a vertical border",size:"Table size",fit:"Whether the width of all columns is self-supporting",loading:"Whether the table is loaded",align:"All columns on its way",headerAlign:"Alignment of all header columns",showHeader:"Whether to display the header",startIndex:"只对 type=index 的列有效,动态索引的起始值",highlightCurrentRow:"Whether to highlight the current row",highlightHoverRow:"Mouse over a row to highlight",highlightCurrentColumn:"Whether to highlight the current column",highlightHoverColumn:"Mouse over whether to highlight a column",highlightCell:"只对 editConfig 配置时有效,是否在编辑时高亮单元格边框",rowClassName:"给行附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex})",cellClassName:"给单元格附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex})",headerRowClassName:"给表头的行附加 className,也可以是函数 Function({$rowIndex})",headerCellClassName:"给表头的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",footerRowClassName:"给表尾的行附加 className,也可以是函数 Function({$rowIndex})",footerCellClassName:"给表尾的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",showFooter:"Whether to display table end totals",footerMethod:"表尾合计的计算方法 Function({columns, data})",spanMethod:"合并行或列,该函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, data}) 返回计算后的值",showOverflow:"Sets all content to appear as ellipses if it is too long",showHeaderOverflow:"Sets the header to show ellipsis when all content is too long",remoteSort:"Whether to use remote sorting",remoteFilter:"Whether to use remote filter",columnWidth:"所有列宽度",columnMinWidth:"所有最小列宽度;会自动将剩余空间按比例分配",columnKey:"Whether the key attribute needs to be set for each column VNode (not required for non-exceptional cases)",rowKey:"Do you need to set the key attribute for VNode on each row (not necessary for non-exceptional cases)",rowId:"Field names for custom row data unique primary keys (row data must have a unique primary key, automatically generated by default)",sortConfig:"Sort configuration",radioConfig:"Radio configuration",selectConfig:"Checkbox configuration",tooltipConfig:"tooltip configuration",expandConfig:"Expand the row configuration",treeConfig:"Tree configuration",contextMenu:"context menu configuration",mouseConfig:"Mouse configuration",keyboardConfig:"Keyboard configuration",editConfig:"Editable configuration",validConfig:"Validate configuration",editRules:"Checksum rule configuration entries",optimization:"Optimize configuration",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)",empty:"Text content displayed when empty data",currentChange:"只对 highlightCurrentRow 有效,当手动选中行并且值发生改变时触发的事件",radioChange:"只对 type=radio 有效,当手动勾选并且值发生改变时触发的事件",selectChange:"只对 type=selection 有效,当手动勾选并且值发生改变时触发的事件",selectAll:"只对 type=selection 有效,当手动勾选全选时触发的事件",cellClick:"This event is triggered when the cell is click",cellDblclick:"This event is triggered when a cell is dblclick",cellContextmenu:"This event is triggered when the cell is contextmenu",headerCellClick:"This event is triggered when the header cell is click",headerCellDblclick:"This event is triggered when a header cell is dblclick",headerCellContextmenu:"This event is triggered when the header cell is contextmenu",footerCellClick:"This event is triggered when a header cell is click",footerCellDblclick:"This event is triggered when a cell at the end of a table is dblclick",footerCellContextmenu:"This event is triggered when the footer cell is contextmenu",cellMouseenter:"当单元格 hover 进入时会触发该事件",cellMouseleave:"当单元格 hover 退出时会触发该事件",sortChange:"This event is triggered when the sort condition changes",filterChange:"This event is triggered when a filter condition changes",resizableChange:"This event is triggered when the column width is dragged to change",toggleExpandChange:"This event is triggered when a row is expanded or collapsed",toggleTreeChange:"This event is triggered when the tree node is expanded or collapsed",contextMenuClick:"只对 context-menu 配置时有效,当点击快捷菜单时会触发该事件",editClosed:"This event is triggered when the cell edit state is turned off",editActived:"This event is triggered when the cell is activated for editing",editDisabled:"This event is triggered if the cell is disabled when activated",validError:"This event is triggered when data validation does not pass",scroll:"This event is triggered when the table scrolls"}},tableColumn:{desc:{type:"The type of the column",field:"Column field name",title:"Column title (support internationalization)",width:"Column width",minWidth:"Minimum height of the column,The remaining space is automatically allocated proportionally",resizable:"Whether column resizing allows dragging column widths",fixed:"Fix the column to the left or right (note: fixed columns should be left and right)",align:"Column on its way",headerAlign:"Alignment of header columns",showOverflow:"Appears as an ellipsis when the content is too long",showHeaderOverflow:"Appears as an ellipsis when the header content is too long",formatter:"Format display content, Function({cellValue, row, rowIndex, column, columnIndex})",indexMethod:"只对 type=index 有效,自定义索引方法 Function({row, rowIndex, column, columnIndex})",sortable:"Whether column sorting is allowed",sortBy:"只对 sortable 有效,自定义排序的属性",remoteSort:"Whether to use remote sorting",filters:"Configure filter conditions",filterMultiple:"只对 filters 有效,筛选是否允许多选",filterMethod:"只对 filters 有效,自定义筛选方法 Function({value, row, column})",filterRender:"Filter renderer config",treeNode:"只对 tree-config 配置时有效,指定为树节点",cellRender:"Default renderer config",editRender:"Edit renderer config",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)"}},tooltip:{desc:{value:"Whether or not shown",content:"Content",trigger:"trigger type",theme:"The theme style",zIndex:"set style z-index",isArrow:"Show arrow or not"}},grid:{desc:{toolbar:"Toolbar config",pagerConfig:"Pager config",proxyConfig:"Data proxy config"}},toolbar:{desc:{id:"Unique ID identification",size:"Size",loading:"Loading",refresh:"Refresh button config",resizable:"Column width drag config(需要设置 id)",setting:"Custom column config(需要设置 id)"}},pager:{desc:{size:"Size",loading:"Loading",layouts:"Custom layouts",currentPage:"Current page",pageSize:"Page size",total:"Total number",pagerCount:"Displays the number of page number buttons",pageSizes:"List of options for page size",align:"On the way",background:"Show background color"}},radio:{desc:{value:"Binding values",size:"Size",disabled:"Whether to disable",name:"Native name attribute"}},checkbox:{desc:{value:"Binding values",size:"Size",disabled:"Whether to disable"}},input:{desc:{value:"Binding values",size:"Size",disabled:"Whether to disable"}},button:{desc:{type:"Type",size:"Size",name:"用来标识这一项"}},msg:{desc:{value:"Binding values",id:"只对 type=message 有效,如果不想提示框重复点击,可以设置唯一的 id 防止重复提示",title:"Message title (support internationalization)",type:"Message type",status:"只对 type=message 有效,消息状态",message:"message content",lockView:"Whether or not the page is locked does not allow any action outside the prompt box",lockScroll:"Whether the scroll bar is locked and does not allow page scrolling",mask:"Whether to display the mask layer",maskClosable:"Click the mask layer to close the prompt box",duration:"只对 type=message 有效,自动关闭的延时",top:"只对 type=message 有效,消息距离顶部的位置",zIndex:"set style z-index"}}}}}},3096:function(e){e.exports=[{id:1,key:"name",name:"名字",isEdit:!1,required:!1,validator:"",validMsg:"",visible:!0,width:null,align:"",type:null,seq:1,link:"https://xuliangzhan.github.io/vxe-table/",describe:"",createTime:1550923830095,updateTime:1550105830095},{id:2,key:"age",name:"年龄",isEdit:!0,required:!0,validator:"",validMsg:"",visible:!0,width:"140",align:"center",type:null,seq:2,link:"",describe:"",createTime:1550923830095,updateTime:1550205830095},{id:3,key:"date",name:"日期",isEdit:!0,required:!1,validator:"",validMsg:"",visible:!0,width:"200",align:"",type:null,seq:3,link:"",describe:"",createTime:1550923830095,updateTime:1550305830095},{id:4,key:"phone",name:"手机",isEdit:!0,required:!1,validator:"^1[34578][0-9]{9}$",validMsg:"手机格式输入错误",visible:!0,width:null,align:"",type:null,seq:4,link:"",describe:"",createTime:1550923830095,updateTime:1550405830095},{id:5,key:"role",name:"角色",isEdit:!0,required:!1,validator:"",validMsg:"",visible:!1,width:null,align:"",type:null,seq:5,link:"",describe:"",createTime:1550923830095,updateTime:1550505830095},{id:6,key:"",name:"",isEdit:!1,required:!1,validator:"",validMsg:"",visible:!1,width:"80",align:"",type:"selection",seq:0,link:"",describe:"",createTime:1550923830095,updateTime:1550505830095}]},3261:function(e){e.exports=[{id:100,parentId:null,name:"一级目录",size:null,type:"0",createTime:1550923830095,updateTime:1551923830095},{id:101,parentId:100,name:"二级目录",size:null,type:"0",createTime:1550923830095,updateTime:1552923830095},{id:10100,parentId:101,name:"文件10100.pdf",size:218,type:"1",createTime:1550923830095,updateTime:1553924830095},{id:10101,parentId:101,name:"文件10101.excel",size:512,type:"1",createTime:1550923830095,updateTime:1550925830095},{id:102,parentId:100,name:"文件102.word",size:101024,type:"1",createTime:1550923830095,updateTime:1550963830095},{id:200,parentId:null,name:"我的文件",size:null,type:"0",createTime:1550923830095,updateTime:1550983830095},{id:201,parentId:200,name:"文件201.zip",size:1024,type:"1",createTime:1550923830095,updateTime:1550927830095},{id:202,parentId:200,name:"文件202.text",size:4096,type:"1",createTime:1550923830095,updateTime:1550926830095},{id:301,parentId:null,name:"文件301.zip",size:4024,type:"1",createTime:1550923830095,updateTime:1550823830095}]},4612:function(e){e.exports={"!return|array(200-600)":{"id|number":"{{ $index+1 }}",name:"{{ random.repeat(['name', 'test'],1) }}_{{ $index }}",nickname:"{{ random.repeat(['昵称', '名字'],1) }}_{{ $index }}",password:"{{ random.repeat('abcdefgABCDEFG',6,12) }}",checked:!1,"sex|random(1)":[null,"0","1"],"role|random(1)":["前端","后端","测试","设计","项目经理"],"region|random(1)":[[1,1,5],[19,199,1773],[9,73,719]],email:"{{ random.repeat('abcdefg',5,20) }}@{{ random.repeat(['qq','163'],1) }}.{{ random.repeat(['com','net'],1) }}","age|number":"{{ random.num(18,30) }}","rate|number":"{{ random.num(0,5) }}","slider|number":"{{ random.num(0,100) }}",color:"rgb({{ random.num(0,255) }}, {{ random.num(0,255) }}, 0)","flag|boolean":"{{ random.num(0,1) }}",phone:"136{{ random.num(10000000,99999999) }}",describe:"{{ random.repeat('用户信息',2,6) }}",describe2:"{{ random.repeat('用户信息',4,10) }}",describe3:"{{ random.repeat('用户信息',6,20) }}","seq|number":"{{ $index }}",date:"{{ random.date('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-ddTHH:mm:ss.000+0800') }}",date1:null,date5:"09:00",date6:"09:00:00","createTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}","updateTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}",attr1:null,attr2:null,attr3:null,attr4:null,attr5:null,attr6:null}}},4678:function(e,t,n){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function l(e){var t=i(e);return n(t)}function i(e){var t=a[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}l.keys=function(){return Object.keys(a)},l.resolve=i,e.exports=l,l.id="4678"},"61c2":function(e,t,n){"use strict";var a=n("c695"),l=n.n(a),i={"event.clear_actived":[],"event.clear_filter":[]},r={mixin:function(e){return l.a.each(e,function(e,t){return r.add(t,e)}),r},get:function(e){return i[e]||[]},add:function(e,t){var n=i[e];return n&&t&&-1===n.indexOf(t)&&n.push(t),r},delete:function(e,t){var n=i[e];return n&&l.a.remove(n,function(e){return e===t}),r}},o=r,s=n("7618"),c=(n("7514"),n("bd86"));n("7f7f");function d(e){var t=e.name,n=e.attrs;return"input"===t&&(n=Object.assign({type:"text"},n)),n}function u(e,t,n){var a=n.column,l=t.name,i=a.model,r=d(t);return[e(l,{class:"vxe-default-".concat(l),attrs:r,domProps:{value:i.value},on:h(t,n)})]}function h(e,t){var n=e.name,a=e.events,i=t.$table,r=t.column,o=r.model,s="select"===n?"change":"input",d=Object(c["a"])({},s,function(e){var n=e.target.value;o.update=!0,o.value=n,i.updateStatus(t,n)});return a&&l.a.assign(d,l.a.objectMap(a,function(e){return function(){e.apply(null,[t].concat.apply(t,arguments))}})),d}function p(e,t,n){var a=t.optionGroups,l=t.optionGroupProps,i=void 0===l?{}:l,r=i.options||"options",o=i.label||"label";return a.map(function(a,l){return e("optgroup",{domProps:{label:a[o]},key:l},m(e,a[r],t,n))})}function m(e,t,n,a){var l=n.optionProps,i=void 0===l?{}:l,r=a.column,o=i.label||"label",s=i.value||"value";return t.map(function(t,n){return e("option",{domProps:{value:t[s],selected:t.value===r.model.value},key:n},t[o])})}function f(e,t,n,a){var i=n.column,r=t.events,o="select"===name?"change":"input",s=Object(c["a"])({},o,function(t){e.data=t.target.value,g(a,i,!!e.data,e)});return r&&l.a.assign(s,l.a.objectMap(r,function(e){return function(){e.apply(null,[n].concat.apply(n,arguments))}})),s}function b(e,t,n,a){var l=n.column,i=t.name,r=d(t);return l.filters.map(function(l){return e(i,{class:"vxe-default-".concat(i),attrs:r,domProps:{value:l.data},on:f(l,t,n,a)})})}function g(e,t,n,a){e[t.filterMultiple?"changeMultipleOption":"changeRadioOption"]({},n,a)}function v(e){var t=e.option,n=e.row,a=e.column,i=t.data,r=l.a.get(n,a.property);return r==i}var x={input:{autofocus:"input",renderEdit:u,renderFilter:b,filterMethod:v},textarea:{autofocus:"textarea",renderEdit:u,renderFilter:b,filterMethod:v},select:{renderEdit:function(e,t,n){return[e("select",{class:"vxe-default-select",on:h(t,n)},t.optionGroups?p(e,t,n):m(e,t.options,t,n))]},renderCell:function(e,t,n){var a=t.options,i=t.optionGroups,r=t.optionProps,o=void 0===r?{}:r,c=t.optionGroupProps,d=void 0===c?{}:c,u=n.row,h=n.column,p=l.a.get(u,h.property);if(null!==p&&void 0!==p&&""!==p){var m=function(){var e,t=o.label||"label",n=o.value||"value";if(i){for(var l=d.options||"options",r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=C["a"].icon,n=C["a"].menu;e.menu&&Object.assign(n,e.menu),e.icon&&Object.assign(t,e.icon),Object.assign(C["a"],e,{icon:t})}var S=T;n.d(t,"a",function(){return r}),n.d(t,"b",function(){return w});var k=[];function E(e,t){return e&&e.install&&-1===k.indexOf(e)&&(e.install(R,t),k.push(e)),R}var R={t:l.a.get,v:"v2",use:E,setup:S,interceptor:o,renderer:y};t["c"]=R},"62f2":function(e){e.exports=[{value:1,label:"北京",children:[{value:2,label:"北京市",children:[{value:3,label:"东城区"},{value:4,label:"西城区"},{value:5,label:"崇文区"},{value:6,label:"宣武区"},{value:7,label:"朝阳区"},{value:8,label:"丰台区"},{value:9,label:"石景山区"},{value:10,label:"海淀区"},{value:11,label:"门头沟区"},{value:12,label:"房山区"},{value:13,label:"通州区"},{value:14,label:"顺义区"},{value:15,label:"昌平区"},{value:16,label:"大兴区"},{value:17,label:"怀柔区"},{value:18,label:"平谷区"},{value:19,label:"密云县"},{value:20,label:"延庆县"}]}]},{value:21,label:"上海",children:[{value:22,label:"上海市",children:[{value:23,label:"黄浦区"},{value:24,label:"卢湾区"},{value:25,label:"徐汇区"},{value:26,label:"长宁区"},{value:27,label:"静安区"},{value:28,label:"普陀区"},{value:29,label:"闸北区"},{value:30,label:"虹口区"},{value:31,label:"杨浦区"},{value:32,label:"闵行区"},{value:33,label:"宝山区"},{value:34,label:"嘉定区"},{value:35,label:"浦东新区"},{value:36,label:"金山区"},{value:37,label:"松江区"},{value:38,label:"青浦区"},{value:39,label:"南汇区"},{value:40,label:"奉贤区"},{value:41,label:"崇明县"}]}]},{value:42,label:"广东",children:[{value:43,label:"广州市",children:[{value:44,label:"东山区"},{value:45,label:"荔湾区"},{value:46,label:"越秀区"},{value:47,label:"海珠区"},{value:48,label:"天河区"},{value:49,label:"芳村区"},{value:50,label:"白云区"},{value:51,label:"黄埔区"},{value:52,label:"番禺区"},{value:53,label:"花都区"},{value:54,label:"增城市"},{value:55,label:"从化市"}]},{value:56,label:"韶关市",children:[{value:57,label:"武江区"},{value:58,label:"浈江区"},{value:59,label:"曲江区"},{value:60,label:"始兴县"},{value:61,label:"仁化县"},{value:62,label:"翁源县"},{value:63,label:"乳源瑶族自治县"},{value:64,label:"新丰县"},{value:65,label:"乐昌市"},{value:66,label:"南雄市"}]},{value:67,label:"深圳市",children:[{value:68,label:"罗湖区"},{value:69,label:"福田区"},{value:70,label:"南山区"},{value:71,label:"宝安区"},{value:72,label:"龙岗区"},{value:73,label:"盐田区"}]},{value:74,label:"珠海市",children:[{value:75,label:"香洲区"},{value:76,label:"斗门区"},{value:77,label:"金湾区"}]},{value:78,label:"汕头市",children:[{value:79,label:"龙湖区"},{value:80,label:"金平区"},{value:81,label:"濠江区"},{value:82,label:"潮阳区"},{value:83,label:"潮南区"},{value:84,label:"澄海区"},{value:85,label:"南澳县"}]},{value:86,label:"佛山市",children:[{value:87,label:"禅城区"},{value:88,label:"南海区"},{value:89,label:"顺德区"},{value:90,label:"三水区"},{value:91,label:"高明区"}]},{value:92,label:"江门市",children:[{value:93,label:"蓬江区"},{value:94,label:"江海区"},{value:95,label:"新会区"},{value:96,label:"台山市"},{value:97,label:"开平市"},{value:98,label:"鹤山市"},{value:99,label:"恩平市"}]},{value:100,label:"湛江市",children:[{value:101,label:"赤坎区"},{value:102,label:"霞山区"},{value:103,label:"坡头区"},{value:104,label:"麻章区"},{value:105,label:"遂溪县"},{value:106,label:"徐闻县"},{value:107,label:"廉江市"},{value:108,label:"雷州市"},{value:109,label:"吴川市"}]},{value:110,label:"茂名市",children:[{value:111,label:"茂南区"},{value:112,label:"茂港区"},{value:113,label:"电白县"},{value:114,label:"高州市"},{value:115,label:"化州市"},{value:116,label:"信宜市"}]},{value:117,label:"肇庆市",children:[{value:118,label:"端州区"},{value:119,label:"鼎湖区"},{value:120,label:"广宁县"},{value:121,label:"怀集县"},{value:122,label:"封开县"},{value:123,label:"德庆县"},{value:124,label:"高要市"},{value:125,label:"四会市"}]},{value:126,label:"惠州市",children:[{value:127,label:"惠城区"},{value:128,label:"惠阳区"},{value:129,label:"博罗县"},{value:130,label:"惠东县"},{value:131,label:"龙门县"}]},{value:132,label:"梅州市",children:[{value:133,label:"梅江区"},{value:134,label:"梅县"},{value:135,label:"大埔县"},{value:136,label:"丰顺县"},{value:137,label:"五华县"},{value:138,label:"平远县"},{value:139,label:"蕉岭县"},{value:140,label:"兴宁市"}]},{value:141,label:"汕尾市",children:[{value:142,label:"城区"},{value:143,label:"海丰县"},{value:144,label:"陆河县"},{value:145,label:"陆丰市"}]},{value:146,label:"河源市",children:[{value:147,label:"源城区"},{value:148,label:"紫金县"},{value:149,label:"龙川县"},{value:150,label:"连平县"},{value:151,label:"和平县"},{value:152,label:"东源县"}]},{value:153,label:"阳江市",children:[{value:154,label:"江城区"},{value:155,label:"阳西县"},{value:156,label:"阳东县"},{value:157,label:"阳春市"}]},{value:158,label:"清远市",children:[{value:159,label:"清城区"},{value:160,label:"佛冈县"},{value:161,label:"阳山县"},{value:162,label:"连山壮族瑶族自治县"},{value:163,label:"连南瑶族自治县"},{value:164,label:"清新县"},{value:165,label:"英德市"},{value:166,label:"连州市"}]},{value:167,label:"东莞市",children:[]},{value:168,label:"中山市",children:[]},{value:169,label:"潮州市",children:[{value:170,label:"湘桥区"},{value:171,label:"潮安县"},{value:172,label:"饶平县"}]},{value:173,label:"揭阳市",children:[{value:174,label:"榕城区"},{value:175,label:"揭东县"},{value:176,label:"揭西县"},{value:177,label:"惠来县"},{value:178,label:"普宁市"}]},{value:179,label:"云浮市",children:[{value:180,label:"云城区"},{value:181,label:"新兴县"},{value:182,label:"郁南县"},{value:183,label:"云安县"},{value:184,label:"罗定市"}]}]}]},"696c":function(e,t){},7909:function(e,t,n){},9391:function(e){e.exports=[{label:"中文",value:"zh_CN"},{label:"English",value:"en_US"}]},b4c6:function(e){e.exports={"!return|array(15-120)":{"id|number":"{{ $index+1 }}",name:"{{ random.repeat(['前端', '后端', '测试', '项目经理', '设计'],1) }}_{{ $index }}",describe:"{{ random.repeat('角色描述',4,50) }}","seq|number":"{{ $index }}","createTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}","updateTime|number":"{{ random.time('2019-01-01 00:00:00','2019-02-20 23:59:59', 'yyyy-MM-dd HH:mm:ss') }}"}}},c31f:function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"},on:{click:e.clickEvent}},[n("header",{staticClass:"page-header"},[e._m(0),n("div",{staticClass:"right"},[n("div",{staticClass:"content"},[e.usedJSHeapSize?n("span",{staticClass:"performance"},[e._v("Memory used: "+e._s(e.usedJSHeapSize)+" MB.")]):e._e(),n("span",[e._v(e._s(e.$t("app.body.label.translations"))+":")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.$i18n.locale,expression:"$i18n.locale"}],staticClass:"locale-switch",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.$i18n,"locale",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"zh-CN"}},[e._v("中文")]),n("option",{attrs:{value:"en"}},[e._v("English")])]),n("span",[e._v(e._s(e.$t("app.body.label.version"))+": ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.version,expression:"version"}],staticClass:"version-switch",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.version=t.target.multiple?n:n[0]},e.vChangeEvent]}},[n("option",{attrs:{value:"1"}},[e._v("V1")]),n("option",{attrs:{value:"2"}},[e._v("V2")]),n("option",{attrs:{value:"3"}},[e._v("V3")])]),n("vxe-tooltip",{attrs:{content:e.$t("app.footer.donationDesc")}},[n("a",{staticClass:"donation",attrs:{href:"https://github.com/xuliangzhan/vxe-table#donation",target:"_blank"}},[e._v(e._s(e.$t("app.footer.donation"))+"☕")])])],1)])]),n("div",{staticClass:"page-container"},[n("div",{staticClass:"aside"},[n("ul",{staticClass:"nav-menu"},e._l(e.tableList,function(t,a){return n("li",{key:a,class:{expand:t.expand}},[n("a",{staticClass:"nav-link",class:{active:e.pageKey===t.value},attrs:{title:e.$t(t.label)},on:{click:function(n){return e.linkEvent(t)}}},[n("i",{staticClass:"vxe-icon--arrow-right nav-link-icon"}),e._v(e._s(e.$t(t.label)))]),t.children?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.expand,expression:"item.expand"}],staticClass:"nav-child-menu"},e._l(t.children,function(t,a){return n("li",{key:a},[t.disabled?n("a",{staticClass:"nav-link disabled",attrs:{title:"由于比较忙,后续有时间会完善该功能!"}},[e._v(e._s(e.$t(t.label)))]):n("router-link",{staticClass:"nav-link",attrs:{to:t.locat,title:e.$t(t.label)}},[e._v(e._s(e.$t(t.label)))])],1)}),0):e._e()])}),0)]),n("div",{staticClass:"body"},[n("div",{staticClass:"content",class:{full:e.$route.name&&e.$route.name.indexOf("API")>0}},[-1===e.$route.path.indexOf("/module")&&-1===e.$route.path.indexOf("/api")?[n("a",{staticClass:"link tosrc",attrs:{href:"https://github.com/xuliangzhan/vxe-table/tree/master/examples/views/table/"+e.pageKey,target:"_blank"}},[e._v(e._s(e.$t("app.body.button.viewCode")))]),e.demoLink?n("a",{staticClass:"link todemo",attrs:{href:e.demoLink,target:"_blank"}},[e._v(e._s(e.$t("app.body.button.runDemo")))]):e._e()]:e._e(),n("router-view")],2)])])])},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"left"},[n("a",{attrs:{href:"https://github.com/xuliangzhan/vxe-table"}},[n("span",{staticClass:"title"},[e._v("🐬vxe-table")]),n("img",{attrs:{src:"https://img.shields.io/npm/dm/vxe-table.svg?style=social&logo=github"}}),n("img",{attrs:{src:"https://img.shields.io/github/watchers/xuliangzhan/vxe-table.svg?style=social"}}),n("img",{attrs:{src:"https://img.shields.io/github/stars/xuliangzhan/vxe-table.svg?style=social"}}),n("img",{attrs:{src:"https://img.shields.io/github/forks/xuliangzhan/vxe-table.svg?style=social"}})])])}],r=(n("ac6a"),n("28a5"),n("7f7f"),n("7514"),n("c695")),o=n.n(r),s={data:function(){return{selected:null,version:"2",usedJSHeapSize:0,tableList:[{label:"app.aside.nav.start",value:"start",expand:!1,children:[{label:"app.aside.nav.install",locat:{name:"StartInstall"}},{label:"app.aside.nav.use",locat:{name:"StartUse"}},{label:"app.aside.nav.global",locat:{name:"StartGlobal"}},{label:"app.aside.nav.theme",locat:{name:"StartTheme"}},{label:"app.aside.nav.i18n",locat:{name:"StartI18n"}}]},{label:"app.aside.nav.basics",value:"base",expand:!1,children:[{label:"app.aside.nav.base",demoUrl:"https://jsrun.net/VrXKp",locat:{name:"TableBasic"}},{label:"app.aside.nav.size",demoUrl:"https://jsrun.net/PmXKp",locat:{name:"TableSize"}},{label:"app.aside.nav.ellipsis",locat:{name:"TableOverflow"}},{label:"app.aside.nav.stripe",demoUrl:"https://jsrun.net/zrXKp",locat:{name:"TableStripe"}},{label:"app.aside.nav.border",demoUrl:"https://jsrun.net/QrXKp",locat:{name:"TableBorder"}},{label:"app.aside.nav.style",demoUrl:"https://jsrun.net/EmXKp",locat:{name:"TableStyle"}},{label:"app.aside.nav.hideHead",demoUrl:"https://jsrun.net/7mXKp",locat:{name:"TableHeader"}},{label:"app.aside.nav.resizable",demoUrl:"https://jsrun.net/5AXKp",locat:{name:"TableResizable"}},{label:"app.aside.nav.fluidHeight",demoUrl:"https://jsrun.net/smXKp",locat:{name:"TableMaxHeight"}},{label:"app.aside.nav.resize",locat:{name:"TableAutoHeight"}},{label:"app.aside.nav.height",demoUrl:"https://jsrun.net/JrXKp",locat:{name:"TableHeight"}},{label:"app.aside.nav.fixed",demoUrl:"https://jsrun.net/TrXKp",locat:{name:"TableFixed"}},{label:"app.aside.nav.fullFixed",demoUrl:"https://jsrun.net/8rXKp",locat:{name:"TableFixedFull"}},{label:"app.aside.nav.group",demoUrl:"https://jsrun.net/7rXKp",locat:{name:"TableGroup"}},{label:"app.aside.nav.seq",demoUrl:"https://jsrun.net/xrXKp",locat:{name:"TableIndex"}},{label:"app.aside.nav.headerHighlight",locat:{name:"TableHeaderHighlight"}},{label:"app.aside.nav.current",locat:{name:"TableCurrent"}},{label:"app.aside.nav.radio",demoUrl:"https://jsrun.net/9rXKp",locat:{name:"TableRadio"}},{label:"app.aside.nav.checkbox",demoUrl:"https://jsrun.net/erXKp",locat:{name:"TableSelection"}},{label:"app.aside.nav.sort",demoUrl:"https://jsrun.net/crXKp",locat:{name:"TableSort"}},{label:"app.aside.nav.filter",demoUrl:"https://jsrun.net/drXKp",locat:{name:"TableFilter"}},{label:"app.aside.nav.empty",locat:{name:"TableEmpty"}},{label:"app.aside.nav.loading",demoUrl:"https://jsrun.net/GjXKp",locat:{name:"TableLoading"}},{label:"app.aside.nav.format",demoUrl:"https://jsrun.net/FrXKp",locat:{name:"TableFormat"}}]},{label:"app.aside.nav.more",value:"advanced",expand:!1,children:[{label:"app.aside.nav.events",locat:{name:"TableEvent"}},{label:"app.aside.nav.template",demoUrl:"https://jsrun.net/DjXKp",locat:{name:"TableTemplate"}},{label:"app.aside.nav.customSort",locat:{name:"TableCustomSort"}},{label:"app.aside.nav.manualFilter",locat:{name:"TableManualFilter"}},{label:"app.aside.nav.span",demoUrl:"https://jsrun.net/5jXKp",locat:{name:"TableSpan"}},{label:"app.aside.nav.spanRow",locat:{name:"TableSpanRow"}},{label:"app.aside.nav.footer",demoUrl:"https://jsrun.net/dmXKp",locat:{name:"TableFooter"}},{label:"app.aside.nav.export",demoUrl:"https://jsrun.net/cmXKp",locat:{name:"TableExport"}},{label:"app.aside.nav.contextMenu",demoUrl:"https://jsrun.net/VjXKp",locat:{name:"TableMenu"}},{label:"app.aside.nav.menuPrivilege",locat:{name:"TableMenuPrivilege"}},{label:"app.aside.nav.expandRow",demoUrl:"https://jsrun.net/eRXKp",locat:{name:"TableExpand"}},{label:"app.aside.nav.toolbar",locat:{name:"Toolbar"}},{label:"app.aside.nav.customs",demoUrl:"https://jsrun.net/PrXKp",locat:{name:"TableCustom"}},{label:"app.aside.nav.customStorage",locat:{name:"TableCustomStorage"}},{label:"app.aside.nav.customlWidthStorage",locat:{name:"TableCustomlWidthStorage"}},{label:"app.aside.nav.search",locat:{name:"TableSearch"}},{label:"app.aside.nav.pager",locat:{name:"TablePage"}},{label:"app.aside.nav.keyboard",locat:{name:"TableKeyboard"}}]},{label:"app.aside.nav.grid",value:"grid",expand:!1,children:[{label:"app.aside.nav.base",demoUrl:"https://jsrun.net/5RXKp",locat:{name:"GridBasic"}},{label:"app.aside.nav.reverse",locat:{name:"GridReverse"}},{label:"app.aside.nav.template",locat:{name:"GridTemplate"}},{label:"app.aside.nav.pager",locat:{name:"GridPage"}},{label:"app.aside.nav.proxy",locat:{name:"GridProxy"}},{label:"app.aside.nav.proxyPage",locat:{name:"GridPageProxy"}},{label:"app.aside.nav.fullQuery",locat:{name:"GridFullQuery"}},{label:"app.aside.nav.edit",locat:{name:"GridEdit"}},{label:"app.aside.nav.crudToolbar",locat:{name:"GridToolbar"}},{label:"app.aside.nav.customToolbar",locat:{name:"GridCustomToolbar"}},{label:"app.aside.nav.dynamicColumn",locat:{name:"GridDynamic"}},{label:"app.aside.nav.contextMenu",locat:{name:"GridMenu"}},{label:"app.aside.nav.span",disabled:!0,locat:{name:"GridSpan"}},{label:"app.aside.nav.baseTree",locat:{name:"GridTree"}},{label:"app.aside.nav.crudTreeToolbar",locat:{name:"GridTreeEdit"}},{label:"app.aside.nav.full",locat:{name:"GridFullEdit"}}]},{label:"app.aside.nav.tree",value:"tree",expand:!1,children:[{label:"app.aside.nav.base",locat:{name:"TableTreeBasic"}},{label:"app.aside.nav.radio",locat:{name:"TableTreeRadio"}},{label:"app.aside.nav.checkbox",demoUrl:"https://jsrun.pro/B6bKp/edit",locat:{name:"TableTreeSelection"}},{label:"app.aside.nav.edit",locat:{name:"TableTreeEdit"}},{label:"app.aside.nav.expandRow",locat:{name:"TableTreeExpand"}},{label:"app.aside.nav.crudToolbar",locat:{name:"TableTreeToolbar"}},{label:"app.aside.nav.insert",locat:{name:"TableTreeInsert"}},{label:"app.aside.nav.contextMenu",locat:{name:"TableTreeMenu"}},{label:"app.aside.nav.span",disabled:!0,locat:{name:"TableTreeSpan"}},{label:"app.aside.nav.keyboard",locat:{name:"TableTreeKeyboard"}},{label:"app.aside.nav.lazy",disabled:!0,locat:{name:"TableTreeLazy"}},{label:"app.aside.nav.full",disabled:!0,locat:{name:"TableTreeBasic"}}]},{label:"app.aside.nav.scroll",value:"scroll",expand:!1,children:[{label:"app.aside.nav.bigData",demoUrl:"https://jsrun.net/XRXKp",locat:{name:"TableScroll"}},{label:"app.aside.nav.big1wRow",locat:{name:"TableScrollRows"}},{label:"app.aside.nav.big10wRow",locat:{name:"TableScrollFullRows"}},{label:"app.aside.nav.big1wRow1wCol",demoUrl:"https://jsrun.net/ULyKp",locat:{name:"TableScrollCols"}},{label:"app.aside.nav.big10wRow1wCol",locat:{name:"TableScrollFullCols"}},{label:"app.aside.nav.keyboard",locat:{name:"TableScrollKeyboard"}},{label:"app.aside.nav.edit",locat:{name:"TableScrollEdit"}},{label:"app.aside.nav.treeScroll",disabled:!0,locat:{name:"TableScroll"}},{label:"app.aside.nav.pageScroll",disabled:!0,locat:{name:"TableScroll"}},{label:"app.aside.nav.infiniteScroll",disabled:!0,locat:{name:"TableScroll"}},{label:"app.aside.nav.full",disabled:!0,locat:{name:"TableScroll"}}]},{label:"app.aside.nav.editable",value:"edit",expand:!1,children:[{label:"app.aside.nav.manual",locat:{name:"TableEditManual"}},{label:"app.aside.nav.click",locat:{name:"TableEditClick"}},{label:"app.aside.nav.dblclick",locat:{name:"TableEditDBLClick"}},{label:"app.aside.nav.select",locat:{name:"TableEditSelect"}},{label:"app.aside.nav.autoClear",locat:{name:"TableAutoClearManual"}},{label:"app.aside.nav.insert",locat:{name:"TableEditInsert"}},{label:"app.aside.nav.delete",locat:{name:"TableEditRemove"}},{label:"app.aside.nav.revert",locat:{name:"TableEditRevert"}},{label:"app.aside.nav.status",locat:{name:"TableEditStatus"}},{label:"app.aside.nav.cellDisable",locat:{name:"TableEditCellDisable"}},{label:"app.aside.nav.rowDisable",locat:{name:"TableEditRowDisable"}},{label:"app.aside.nav.cellVaild",locat:{name:"TableEditCellValid"}},{label:"app.aside.nav.rowVaild",locat:{name:"TableEditRowValid"}},{label:"app.aside.nav.forceCellValid",disabled:!0,locat:{name:"TableEditForceCellValid"}},{label:"app.aside.nav.forceRowVaild",disabled:!0,locat:{name:"TableEditForceRowValid"}},{label:"app.aside.nav.keyboard",locat:{name:"TableEditKeyboard"}},{label:"app.aside.nav.footer",locat:{name:"TableEditFooter"}},{label:"app.aside.nav.contextMenu",locat:{name:"TableEditMenu"}},{label:"app.aside.nav.span",locat:{name:"TableEditSpan"}},{label:"app.aside.nav.template",locat:{name:"TableEditTemplate"}},{label:"app.aside.nav.full",disabled:!0,locat:{name:"TableEditFull"}}]},{label:"app.aside.nav.module",value:"module",expand:!1,children:[{label:"app.aside.nav.icon",locat:{name:"ModuleIcon"}},{label:"app.aside.nav.button",locat:{name:"ModuleButton"}},{label:"app.aside.nav.radio",locat:{name:"ModuleRadio"}},{label:"app.aside.nav.checkbox",locat:{name:"ModuleCheckbox"}},{label:"app.aside.nav.input",locat:{name:"ModuleInput"}},{label:"app.aside.nav.pager",locat:{name:"ModulePager"}},{label:"app.aside.nav.message",locat:{name:"ModuleMessage"}},{label:"app.aside.nav.tooltip",locat:{name:"ModuleTooltip"}},{label:"app.aside.nav.toolbar",locat:{name:"ModuleToolbar"}}]},{label:"app.aside.nav.other",value:"other",expand:!1,children:[{label:"app.aside.nav.elementRender",locat:{name:"TableOtherElement"}},{label:"app.aside.nav.iviewRender",locat:{name:"TableOtherIview"}},{label:"app.aside.nav.antd",locat:{name:"TableOtherAntd"}},{label:"app.aside.nav.sortablejsRow",locat:{name:"TableSortableRow"}},{label:"app.aside.nav.sortablejsColumn",demoUrl:"https://jsrun.net/MibKp/edit",locat:{name:"TableSortableColumn"}},{label:"app.aside.nav.xlsxRender",locat:{name:"TableXlsx"}}]},{label:"app.aside.nav.plugin",value:"plugin",expand:!1,children:[{label:"app.aside.nav.elementPlugin",locat:{name:"TablePluginElementConfig"}},{label:"app.aside.nav.elementFilterPlugin",locat:{name:"TablePluginElementFilter"}},{label:"app.aside.nav.elementPluginMore",locat:{name:"TablePluginElementPage"}},{label:"app.aside.nav.iviewPlugin",locat:{name:"TablePluginIviewConfig"}},{label:"app.aside.nav.iviewFilter",locat:{name:"TablePluginIviewFilter"}},{label:"app.aside.nav.iviewPluginMore",locat:{name:"TablePluginIviewPage"}},{label:"app.aside.nav.antdPlugin",locat:{name:"TablePluginAntdConfig"}},{label:"app.aside.nav.antdFilter",locat:{name:"TablePluginAntdFilter"}},{label:"app.aside.nav.antdPluginMore",locat:{name:"TablePluginAntdPage"}},{label:"app.aside.nav.spanPlugin",disabled:!0,locat:{name:"TableBasic"}},{label:"app.aside.nav.chartsPlugin",disabled:!0,locat:{name:"TableBasic"}},{label:"app.aside.nav.excelPlugin",locat:{name:"TablePluginExcel"}}]},{label:"app.aside.nav.renderer",value:"renderer",expand:!1,children:[{label:"app.aside.nav.api",locat:{name:"RendererAPI"}},{label:"app.aside.nav.rendererFilter",locat:{name:"RendererFilter"}},{label:"app.aside.nav.rendererDefault",locat:{name:"RendererDefault"}},{label:"app.aside.nav.rendererEdit",locat:{name:"RendererEdit"}}]},{label:"app.aside.nav.interceptor",value:"interceptor",expand:!1,children:[{label:"app.aside.nav.api",locat:{name:"InterceptorAPI"}}]},{label:"app.aside.nav.api",value:"api",expand:!1,children:[{label:"app.aside.nav.vxeTable",locat:{name:"VXEAPI",params:{name:"table"}}},{label:"app.aside.nav.vxeTableColumn",locat:{name:"VXEAPI",params:{name:"table-column"}}},{label:"app.aside.nav.vxeGrid",locat:{name:"VXEAPI",params:{name:"grid"}}},{label:"app.aside.nav.vxeToolbar",locat:{name:"VXEAPI",params:{name:"toolbar"}}},{label:"app.aside.nav.vxePager",locat:{name:"VXEAPI",params:{name:"pager"}}},{label:"app.aside.nav.vxeRadio",locat:{name:"VXEAPI",params:{name:"radio"}}},{label:"app.aside.nav.vxeCheckbox",locat:{name:"VXEAPI",params:{name:"checkbox"}}},{label:"app.aside.nav.vxeInput",locat:{name:"VXEAPI",params:{name:"input"}}},{label:"app.aside.nav.vxeTextarea",locat:{name:"VXEAPI",params:{name:"textarea"}}},{label:"app.aside.nav.vxeButton",locat:{name:"VXEAPI",params:{name:"button"}}},{label:"app.aside.nav.vxeMessageBox",locat:{name:"VXEAPI",params:{name:"message"}}},{label:"app.aside.nav.vxeTooltip",locat:{name:"VXEAPI",params:{name:"tooltip"}}}]}]}},computed:{demoLink:function(){var e=this,t=this.tableList.find(function(e){return e.expand});if(t&&t.children){var n=t.children.find(function(t){return t.locat&&t.locat.name===e.$route.name});if(n)return n.demoUrl}return null},pageKey:function(){return this.$route.path.split("/")[2]}},watch:{pageKey:function(){this.init()}},created:function(){this.init()},methods:{init:function(){var e=this;this.tableList.forEach(function(e){e.expand=!1});var t=this.tableList.find(function(t){return t.value===e.pageKey});t&&(t.expand=!0)},clickEvent:function(e){var t=e.target;if(t&&"demo-code"===t.className){var n=t.nextSibling;n&&"pre"===n.tagName.toLowerCase()&&(n.className.indexOf("is-show")>-1?n.className="":n.className="is-show")}},linkEvent:function(e){this.tableList.forEach(function(t){e!==t&&(t.expand=!1)}),e.expand=!e.expand},vChangeEvent:function(){switch(this.version){case"1":location.href="/vxe-table/v1/index.html";break;case"2":location.href="/vxe-table";break;case"3":this.version="2",this.$XMsg.message({message:"由于作者比较忙,该版本正在重构开发中,敬请期待!",status:"info"});break}}}},c=s,d=n("2877"),u=Object(d["a"])(c,l,i,!1,null,null,null),h=u.exports,p=n("8c4f"),m=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"61d9"))},f=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"f924"))},b=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"8dea"))},g=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"0aa1"))},v=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"a325"))},x=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"4b3a"))},w=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"f8c4"))},y=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"32c2"))},C=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"d0c5"))},T=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("start")]).then(n.bind(null,"335c8"))},S=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"3617"))},k=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"5c3a0"))},E=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"43ce"))},R=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"6dcda"))},O=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"c7b5"))},$=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"4ce9"))},j=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"8bd2"))},I=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"b369"))},z=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"069f"))},P=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"8c9e"))},M=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"db47"))},D=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"4308"))},F=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"ed84"))},N=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"e7ab"))},A=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"b811"))},L=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"203d"))},B=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"14f6"))},H=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"447e"))},V=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"0dc5"))},W=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"5029"))},_=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"3c8d"))},q=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"31d8"))},X=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"8b2b"))},G=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("base")]).then(n.bind(null,"a5bb"))},K=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"c07b"))},U=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"da5b"))},Y=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"c88d"))},J=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"7d8e"))},Q=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"551f"))},Z=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"9976"))},ee=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"0679"))},te=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"c82b"))},ne=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"269e"))},ae=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"7062"))},le=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"ee3d"))},ie=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"2e79"))},re=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"78196"))},oe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"a1cc"))},se=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"8323"))},ce=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"3d3f"))},de=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"21f3"))},ue=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("advanced")]).then(n.bind(null,"ec08"))},he=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"2796"))},pe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"7e08"))},me=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"23ab"))},fe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"420d"))},be=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"e5f1"))},ge=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"e60c"))},ve=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"27a2"))},xe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"9516"))},we=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"5c3a5"))},ye=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"21be"))},Ce=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"c284b"))},Te=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"6503"))},Se=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"e1b6"))},ke=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"32cf"))},Ee=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"c21a"))},Re=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("grid")]).then(n.bind(null,"a1a0"))},Oe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"165f"))},$e=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"15b1"))},je=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"ce1c"))},Ie=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"07c0"))},ze=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"d69a"))},Pe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"5638"))},Me=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"862b"))},De=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"d13f"))},Fe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"3333"))},Ne=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"5304"))},Ae=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("tree")]).then(n.bind(null,"728f"))},Le=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"d291"))},Be=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"bba7"))},He=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"ac09"))},Ve=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"9b96"))},We=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"4467"))},_e=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"a515"))},qe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("scroll")]).then(n.bind(null,"accd"))},Xe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"0389"))},Ge=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"59b6"))},Ke=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"f43b"))},Ue=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"e77b"))},Ye=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"62f0"))},Je=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"9335"))},Qe=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"68ae"))},Ze=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b08c"))},et=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b9bd"))},tt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"a5f4"))},nt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b453"))},at=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"c466"))},lt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"7356"))},it=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"946e4"))},rt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"5513"))},ot=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"b254"))},st=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"1726"))},ct=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"76f9"))},dt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"ec09"))},ut=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"c1c2"))},ht=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("edit")]).then(n.bind(null,"1a05"))},pt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"48b7"))},mt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"1906"))},ft=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"1b04"))},bt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"ba0c"))},gt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"d567"))},vt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"de0f"))},xt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"e1fb"))},wt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"edda"))},yt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("module")]).then(n.bind(null,"8e22"))},Ct=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"9dc4"))},Tt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"cd8e"))},St=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"cd4e"))},kt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"87a1"))},Et=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"c25e"))},Rt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("other")]).then(n.bind(null,"e09e"))},Ot=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"9d44"))},$t=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"84b6"))},jt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"0f7c"))},It=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"2686e"))},zt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"ac90"))},Pt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"bc3d"))},Mt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"075b"))},Dt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"e2c5"))},Ft=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("plugin")]).then(n.bind(null,"e801"))},Nt=function(){return Promise.all([n.e("advanced~base~edit~excel~grid~module~other~plugin~scroll~start~tree"),n.e("excel~other"),n.e("excel")]).then(n.bind(null,"6c86"))},At=function(){return n.e("optimize").then(n.bind(null,"8c32"))},Lt=function(){return n.e("optimize").then(n.bind(null,"a9db"))},Bt=function(){return n.e("api").then(n.bind(null,"dcc0"))};a["default"].use(p["a"]);var Ht=new p["a"]({mode:"hash",base:"/vxe-table/",routes:[{path:"*",redirect:{name:"StartInstall"}},{path:"/",redirect:{name:"StartInstall"}},{path:"/table/start/install",name:"StartInstall",component:m},{path:"/table/start/use",name:"StartUse",component:f},{path:"/table/start/global",name:"StartGlobal",component:b},{path:"/table/start/theme",name:"StartTheme",component:g},{path:"/table/start/i18n",name:"StartI18n",component:v},{path:"/table/renderer/api",name:"RendererAPI",component:x},{path:"/table/renderer/filter",name:"RendererFilter",component:w},{path:"/table/renderer/default",name:"RendererDefault",component:y},{path:"/table/renderer/edit",name:"RendererEdit",component:C},{path:"/table/interceptor/api",name:"InterceptorAPI",component:T},{path:"/table/base/basic",name:"TableBasic",component:S},{path:"/table/base/size",name:"TableSize",component:k},{path:"/table/base/overflow",name:"TableOverflow",component:E},{path:"/table/base/stripe",name:"TableStripe",component:R},{path:"/table/base/border",name:"TableBorder",component:O},{path:"/table/base/style",name:"TableStyle",component:$},{path:"/table/base/header",name:"TableHeader",component:j},{path:"/table/base/highlight",name:"TableHeaderHighlight",component:I},{path:"/table/base/resizable",name:"TableResizable",component:z},{path:"/table/base/maxHeight",name:"TableMaxHeight",component:P},{path:"/table/base/height",name:"TableHeight",component:M},{path:"/table/base/autoHeight",name:"TableAutoHeight",component:D},{path:"/table/base/fixed",name:"TableFixed",component:F},{path:"/table/base/fixedFull",name:"TableFixedFull",component:N},{path:"/table/base/group",name:"TableGroup",component:A},{path:"/table/base/index",name:"TableIndex",component:L},{path:"/table/base/current",name:"TableCurrent",component:B},{path:"/table/base/radio",name:"TableRadio",component:H},{path:"/table/base/selection",name:"TableSelection",component:V},{path:"/table/base/sort",name:"TableSort",component:W},{path:"/table/base/filter",name:"TableFilter",component:_},{path:"/table/base/empty",name:"TableEmpty",component:q},{path:"/table/base/loading",name:"TableLoading",component:X},{path:"/table/base/format",name:"TableFormat",component:G},{path:"/table/advanced/event",name:"TableEvent",component:K},{path:"/table/advanced/template",name:"TableTemplate",component:U},{path:"/table/advanced/customSort",name:"TableCustomSort",component:Y},{path:"/table/advanced/manualFilter",name:"TableManualFilter",component:J},{path:"/table/advanced/span",name:"TableSpan",component:Q},{path:"/table/advanced/spanRow",name:"TableSpanRow",component:Z},{path:"/table/advanced/footer",name:"TableFooter",component:ee},{path:"/table/advanced/export",name:"TableExport",component:te},{path:"/table/advanced/menu",name:"TableMenu",component:ne},{path:"/table/advanced/menuPrivilege",name:"TableMenuPrivilege",component:ae},{path:"/table/advanced/expand",name:"TableExpand",component:le},{path:"/table/advanced/search",name:"TableSearch",component:ie},{path:"/table/advanced/toolbar",name:"Toolbar",component:re},{path:"/table/advanced/custom",name:"TableCustom",component:oe},{path:"/table/advanced/customStorage",name:"TableCustomStorage",component:se},{path:"/table/advanced/customlWidthStorage",name:"TableCustomlWidthStorage",component:ce},{path:"/table/advanced/page",name:"TablePage",component:de},{path:"/table/advanced/keyboard",name:"TableKeyboard",component:ue},{path:"/table/tree/basic",name:"TableTreeBasic",component:Oe},{path:"/table/tree/selection",name:"TableTreeSelection",component:$e},{path:"/table/tree/radio",name:"TableTreeRadio",component:je},{path:"/table/tree/expand",name:"TableTreeExpand",component:Ie},{path:"/table/tree/toolbar",name:"TableTreeToolbar",component:ze},{path:"/table/tree/insert",name:"TableTreeInsert",component:Pe},{path:"/table/tree/menu",name:"TableTreeMenu",component:Me},{path:"/table/tree/span",name:"TableTreeSpan",component:De},{path:"/table/tree/keyboard",name:"TableTreeKeyboard",component:Fe},{path:"/table/tree/lazy",name:"TableTreeLazy",component:Ne},{path:"/table/tree/edit",name:"TableTreeEdit",component:Ae},{path:"/table/grid/basic",name:"GridBasic",component:he},{path:"/table/grid/reverse",name:"GridReverse",component:pe},{path:"/table/grid/template",name:"GridTemplate",component:me},{path:"/table/grid/page",name:"GridPage",component:fe},{path:"/table/grid/proxy",name:"GridProxy",component:ge},{path:"/table/grid/pageProxy",name:"GridPageProxy",component:ve},{path:"/table/grid/edit",name:"GridEdit",component:xe},{path:"/table/grid/toolbar",name:"GridToolbar",component:we},{path:"/table/grid/customToolbar",name:"GridCustomToolbar",component:ye},{path:"/table/grid/dynamic",name:"GridDynamic",component:Ce},{path:"/table/grid/menu",name:"GridMenu",component:Te},{path:"/table/grid/span",name:"GridSpan",component:Se},{path:"/table/grid/tree",name:"GridTree",component:ke},{path:"/table/grid/treeEdit",name:"GridTreeEdit",component:Ee},{path:"/table/grid/fullEdit",name:"GridFullEdit",component:Re},{path:"/table/grid/fullQuery",name:"GridFullQuery",component:be},{path:"/table/scroll/scroll",name:"TableScroll",component:Le},{path:"/table/scroll/rows",name:"TableScrollRows",component:Be},{path:"/table/scroll/fullRows",name:"TableScrollFullRows",component:He},{path:"/table/scroll/cols",name:"TableScrollCols",component:Ve},{path:"/table/scroll/fullCols",name:"TableScrollFullCols",component:We},{path:"/table/scroll/keyboard",name:"TableScrollKeyboard",component:_e},{path:"/table/scroll/edit",name:"TableScrollEdit",component:qe},{path:"/table/edit/manual",name:"TableEditManual",component:Xe},{path:"/table/edit/click",name:"TableEditClick",component:Ge},{path:"/table/edit/dblclick",name:"TableEditDBLClick",component:Ke},{path:"/table/edit/select",name:"TableEditSelect",component:Ue},{path:"/table/edit/autoClear",name:"TableAutoClearManual",component:Ye},{path:"/table/edit/insert",name:"TableEditInsert",component:Je},{path:"/table/edit/remove",name:"TableEditRemove",component:Qe},{path:"/table/edit/revert",name:"TableEditRevert",component:Ze},{path:"/table/edit/status",name:"TableEditStatus",component:et},{path:"/table/edit/cellDisable",name:"TableEditCellDisable",component:tt},{path:"/table/edit/rowDisable",name:"TableEditRowDisable",component:nt},{path:"/table/edit/keyboard",name:"TableEditKeyboard",component:at},{path:"/table/edit/cellValid",name:"TableEditCellValid",component:lt},{path:"/table/edit/rowValid",name:"TableEditRowValid",component:it},{path:"/table/edit/forceCellValid",name:"TableEditForceCellValid",component:rt},{path:"/table/edit/forceRowValid",name:"TableEditForceRowValid",component:ot},{path:"/table/edit/footer",name:"TableEditFooter",component:st},{path:"/table/edit/menu",name:"TableEditMenu",component:ct},{path:"/table/edit/span",name:"TableEditSpan",component:dt},{path:"/table/edit/template",name:"TableEditTemplate",component:ut},{path:"/table/edit/full",name:"TableEditFull",component:ht},{path:"/table/module/icon",name:"ModuleIcon",component:pt},{path:"/table/module/button",name:"ModuleButton",component:mt},{path:"/table/module/radio",name:"ModuleRadio",component:ft},{path:"/table/module/checkbox",name:"ModuleCheckbox",component:bt},{path:"/table/module/input",name:"ModuleInput",component:gt},{path:"/table/module/pager",name:"ModulePager",component:vt},{path:"/table/module/message",name:"ModuleMessage",component:xt},{path:"/table/module/tooltip",name:"ModuleTooltip",component:wt},{path:"/table/module/toolbar",name:"ModuleToolbar",component:yt},{path:"/table/other/element",name:"TableOtherElement",component:Ct},{path:"/table/other/iview",name:"TableOtherIview",component:Tt},{path:"/table/other/antd",name:"TableOtherAntd",component:St},{path:"/table/other/sortableColumn",name:"TableSortableColumn",component:kt},{path:"/table/other/sortableRow",name:"TableSortableRow",component:Et},{path:"/table/other/xlsx",name:"TableXlsx",component:Rt},{path:"/table/plugin/elementConfig",name:"TablePluginElementConfig",component:Ot},{path:"/table/plugin/elementFilter",name:"TablePluginElementFilter",component:$t},{path:"/table/plugin/elementPage",name:"TablePluginElementPage",component:jt},{path:"/table/plugin/iviewConfig",name:"TablePluginIviewConfig",component:It},{path:"/table/plugin/iviewFilter",name:"TablePluginIviewFilter",component:zt},{path:"/table/plugin/iviewPage",name:"TablePluginIviewPage",component:Pt},{path:"/table/plugin/antdConfig",name:"TablePluginAntdConfig",component:Mt},{path:"/table/plugin/antdFilter",name:"TablePluginAntdFilter",component:Dt},{path:"/table/plugin/antdPage",name:"TablePluginAntdPage",component:Ft},{path:"/table/plugin/excel",name:"TablePluginExcel",component:Nt},{path:"/table/optimize/scroller",name:"TableOptimizeScroller",component:At},{path:"/table/optimize/edit",name:"TableOptimizeEdit",component:Lt},{path:"/:name/api",name:"VXEAPI",component:Bt}]}),Vt=n("cebc"),Wt=(n("6762"),n("2fdb"),n("a925")),_t=n("274c"),qt=n.n(_t),Xt=n("d142"),Gt=n.n(Xt),Kt={vxe:{error:{rowIdEmpty:"The property row-id is not allowed to be empty.",delProp:"The property prop is deprecated, please use field.",delLabel:"The property label is deprecated, please use title.",delGetRecords:"The function getRecords is deprecated, please use getData.",delGetAllRecords:"The function getAllRecords is deprecated, please use getRecordset.",groupFixed:"If grouping headers are used, fixed columns must be on the left and right sides.",notResizable:"Horizontal virtual scrolling does not support resizable.",cellEditRender:"The renderer cell-render and edit-render cannot be used together.",scrollOriginal:"Virtual scrolling can only export source data, please set original=true.",treeInsert:"The tree structure does not support insert operations.",scrollYHeight:"You must set the height or max-height to enable virtual scrolling.",notQuery:"query method not exist.",notDelete:"delete method not exist.",notSave:"save method not exist.",toolbarId:"Toolbar must have a unique id"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",allFilter:"All"},grid:{selectOneRecord:"Please choose at least one piece of record!",deleteSelectRecord:"Are you sure you want to delete the selected record?",removeSelectRecord:"Are you sure you want to remove the selected record?",dataUnchanged:"Data unchanged! ",saveSuccess:"save successfully."},pager:{goto:"Go to",pagesize:"/page",total:"Total {{total}} record",pageClassifier:""},alert:{title:"Message notification"},button:{confirm:"Confirm",cancel:"Cancel"}}},Ut={vxe:{error:{rowIdEmpty:"参数 row-id 不允许为空",delProp:"参数 prop 已废弃,请使用 field",delLabel:"参数 label 已废弃,请使用 title",delGetRecords:"方法 getRecords 已废弃,请使用 getData",delGetAllRecords:"方法 getAllRecords 已废弃,请使用 getRecordset",groupFixed:"如果使用分组表头,固定列必须在左右两侧",notResizable:"横向虚拟滚动不支持 resizable",cellEditRender:"渲染器 cell-render 和 edit-render 不能同时使用",scrollOriginal:"虚拟滚动启用后只能导出源数据,请将设置 original=true",treeInsert:"树结构不支持 insert 操作",scrollYHeight:"启用虚拟滚动必须要设置 height 或 max-height",notQuery:"query 方法不存在",notDelete:"delete 方法不存在",notSave:"save 方法不存在",toolbarId:"工具栏需要设置唯一 id"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",allFilter:"全部"},grid:{selectOneRecord:"请至少选择一条记录!",deleteSelectRecord:"您确定要删除所选记录吗?",removeSelectRecord:"您确定要移除所选记录吗?",dataUnchanged:"数据未改动! ",saveSuccess:"保存成功"},pager:{goto:"前往",pagesize:"条/页",total:"共 {{total}} 条记录",pageClassifier:"页"},alert:{title:"消息提示"},button:{confirm:"确认",cancel:"取消"}}};a["default"].use(Wt["a"]);var Yt=new Wt["a"]({locale:["zh-CN","zh-TW"].includes(navigator.language)?"zh-CN":"en",messages:{en:Object(Vt["a"])({},Kt,qt.a),"zh-CN":Object(Vt["a"])({},Ut,Gt.a)}}),Jt=Yt,Qt=(n("8512"),n("7909"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"table"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])}),Zt=[],en={name:"TableApiLink",props:{name:String,prop:String}},tn=en,nn=Object(d["a"])(tn,Qt,Zt,!1,null,null,null),an=nn.exports,ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"table-column"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},rn=[],on={name:"TableColumnApiLink",props:{name:String,prop:String}},sn=on,cn=Object(d["a"])(sn,ln,rn,!1,null,null,null),dn=cn.exports,un=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"pager"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},hn=[],pn={name:"PagerApiLink",props:{name:String,prop:String}},mn=pn,fn=Object(d["a"])(mn,un,hn,!1,null,null,null),bn=fn.exports,gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"toolbar"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},vn=[],xn={name:"ToolbarApiLink",props:{name:String,prop:String}},wn=xn,yn=Object(d["a"])(wn,gn,vn,!1,null,null,null),Cn=yn.exports,Tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"link",attrs:{to:{name:"VXEAPI",params:{name:"grid"},query:{filterName:e.prop}}}},[e._v(e._s(e.prop||e.name))])},Sn=[],kn={name:"GridApiLink",props:{name:String,prop:String}},En=kn,Rn=Object(d["a"])(En,Tn,Sn,!1,null,null,null),On=Rn.exports,$n=(n("8da8"),n("5c96")),jn=n.n($n);n("0fae");a["default"].use(jn.a);var In=n("e069"),zn=n.n(In);n("dcad");a["default"].use(zn.a,{transfer:!0}),a["default"].use(zn.a);var Pn=n("f23d");n("202f");a["default"].use(Pn["a"]);var Mn=n("61c2"),Dn=(n("456d"),n("55dd"),n("d263"),n("bd86")),Fn=(n("5df3"),n("f400"),n("c5f6"),n("d225")),Nn=n("b0b4"),An=n("10a8"),Ln=0,Bn=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.renderHeader,l=n.renderCell,i=n.renderData;Object(Fn["a"])(this,e),t.cellRender&&t.editRender&&Vn.warn("vxe.error.cellEditRender"),Object.assign(this,{id:"col_".concat(++Ln),type:t.type,prop:t.prop,property:t.field||t.prop,title:t.title,label:t.label,width:t.width,minWidth:t.minWidth,resizable:t.resizable,fixed:t.fixed,align:t.align,headerAlign:t.headerAlign,showOverflow:t.showOverflow,showHeaderOverflow:t.showHeaderOverflow,indexMethod:t.indexMethod,formatter:t.formatter,sortable:t.sortable,sortBy:t.sortBy,remoteSort:t.remoteSort,filters:Vn.getFilters(t.filters),filterMultiple:!o.a.isBoolean(t.filterMultiple)||t.filterMultiple,filterMethod:t.filterMethod,filterRender:t.filterRender,treeNode:t.treeNode,cellRender:t.cellRender,editRender:t.editRender,params:t.params,visible:!0,level:1,rowSpan:1,colSpan:1,order:null,renderWidth:0,renderHeight:0,resizeWidth:0,renderLeft:0,model:{},renderHeader:a||t.renderHeader,renderCell:l||t.renderCell,renderData:i,slots:t.slots,own:t})};function Hn(e){return function(t){var n="[vxe-table] ".concat(An["a"].i18n(t));return console[e](n),n}}var Vn={warn:Hn("warn"),error:Hn("error"),getSize:function(e){var t=e.size,n=e.$parent;return t||(n&&["medium","small","mini"].indexOf(n.size)>-1?n.size:null)},getFuncText:function(e){return o.a.isFunction(e)?e():An["a"].translate?An["a"].translate(e):e},getRowkey:function(e){return e.rowId},getRowid:function(e,t){var n=o.a.get(t,Vn.getRowkey(e));return n?encodeURIComponent(n):""},emitEvent:function(e,t,n){e.$listeners[t]&&e.$emit.apply(e,[t].concat(n))},getColumnList:function(e){var t=[];return e.forEach(function(e){t.push.apply(t,e.children&&e.children.length?Vn.getColumnList(e.children):[e])}),t},getFilters:function(e){return(e||[]).map(function(e){var t=e.label,n=e.value,a=e.data,l=e.checked;return{label:t,value:n,data:a,_data:a,checked:!!l}})},formatText:function(e,t){return""+(null===e||void 0===e?t?An["a"].emptyCell:"":e)},getCellValue:function(e,t){return o.a.get(e,t.property)},getCellLabel:function(e,t,n){var a=t.formatter,l=Vn.getCellValue(e,t),i=l;if(n&&a){var r,s,c=n.$table,d=t.id,u=c&&c.fullAllDataRowMap.has(e);if(u&&(r=c.fullAllDataRowMap.get(e),s=r.formatData,s||(s=c.fullAllDataRowMap.get(e).formatData={})),r&&s[d]&&s[d].value===l)return s[d].label;i=o.a.isString(a)?o.a[a](l):o.a.isArray(a)?o.a[a[0]].apply(o.a,[l].concat(a.slice(1))):a(Object.assign({cellValue:l},n)),s&&(s[d]={value:l,label:i})}return i},setCellValue:function(e,t,n){return o.a.set(e,t.property,n)},getColumnConfig:function(e,t){return e instanceof Bn?e:new Bn(e,t)},assemColumn:function(e){var t=e.$table,n=e.$parent,a=e.columnConfig,l=n.columnConfig;a.slots=e.$scopedSlots,l&&n.$children.length>0?(l.children||(l.children=[]),l.children.splice([].indexOf.call(n.$el.children,e.$el),0,a)):t.collectColumn.splice([].indexOf.call(t.$refs.hideColumn.children,e.$el),0,a)},destroyColumn:function(e){var t=e.$table,n=e.columnConfig,a=o.a.findTree(t.collectColumn,function(e){return e===n});a&&a.items.splice(a.index,1)},hasChildrenList:function(e){return e&&e.children&&e.children.length>0}},Wn=Vn,_n=(n("a481"),n("4917"),n("3b2b"),o.a.browse()),qn=document.querySelector("html"),Xn=document.body;function Gn(e){return Kn[e]||(Kn[e]=new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g")),Kn[e]}var Kn={},Un={browse:_n,isPx:function(e){return e&&/^\d+(px)?$/.test(e)},isScale:function(e){return e&&/^\d+%$/.test(e)},hasClass:function(e,t){return e&&e.className&&e.className.match&&e.className.match(Gn(t))},removeClass:function(e,t){e&&Un.hasClass(e,t)&&(e.className=e.className.replace(Gn(t),""))},addClass:function(e,t){e&&!Un.hasClass(e,t)&&(Un.removeClass(e,t),e.className="".concat(e.className," ").concat(t))},updateCellTitle:function(e){var t=e.currentTarget.querySelector(".vxe-cell"),n=t.innerText;t.getAttribute("title")!==n&&t.setAttribute("title",n)},rowToVisible:function(e,t){var n=e.$refs.tableBody.$el,a=n.querySelector('[data-rowid="'.concat(Wn.getRowid(e,t),'"]'));if(a){var l=n.clientHeight,i=n.scrollTop,r=a.offsetTop+(a.offsetParent?a.offsetParent.offsetTop:0),o=a.clientHeight;ri+l?n.scrollTop=r:r+o>=l+i&&(n.scrollTop=i+o)}else e.scrollYLoad&&(n.scrollTop=(e.afterFullData.indexOf(t)-1)*e.scrollYStore.rowHeight)},colToVisible:function(e,t){var n=e.$refs.tableBody.$el,a=n.querySelector(".".concat(t.id));if(a){var l=n.clientWidth,i=n.scrollLeft,r=a.offsetLeft+(a.offsetParent?a.offsetParent.offsetLeft:0),o=a.clientWidth;ri+l?n.scrollLeft=r:r+o>=l+i&&(n.scrollLeft=i+o)}else if(e.scrollXLoad){for(var s=e.visibleColumn,c=0,d=0;d-1}],on:h},u&&u.length?[e("i",{class:"vxe-tree--node-btn ".concat(n.tree)})]:[])]},renderIndexHeader:function(e,t){var n=t.column,a=n.slots,l=n.own;return a&&a.header?a.header(t,e):[Vn.formatText(Vn.getFuncText(l.title||l.label||"#"),1)]},renderIndexCell:function(e,t){var n=t.$table,a=t.column,l=n.startIndex,i=a.slots,r=a.indexMethod;if(i&&i.default)return i.default(t,e);var o=t.$seq,s=t.seq,c=t.level;return[Vn.formatText(r?r(t):c?"".concat(o,".").concat(s):l+s,1)]},renderTreeIndexCell:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderIndexCell(e,t))},renderRadioHeader:function(e,t){var n=t.column,a=n.slots,l=n.own;return a&&a.header?a.header(t,e):[Vn.formatText(Vn.getFuncText(l.title||l.label),1)]},renderRadioCell:function(e,t){var n,a=t.$table,l=t.column,i=t.isHidden,r=a.vSize,s=a.radioConfig,c=void 0===s?{}:s,d=l.slots,u=c.labelField,h=c.checkMethod,p=!!h;if(d&&d.default)return d.default(t,e);var m=a.selectRow,f=t.row,b={attrs:{type:"radio",name:"vxe-radio--".concat(a.id)}};return i||(h&&(p=!h(t),b.attrs.disabled=p),b.domProps={checked:f===m},b.on={change:function(e){a.triggerRadioRowEvent(e,t)}}),[e("label",{class:["vxe-radio",(n={},Object(Dn["a"])(n,"size--".concat(r),r),Object(Dn["a"])(n,"is--disabled",p),n)]},[e("input",b),e("span",{class:"vxe-radio--icon"}),u?e("span",{class:"vxe-radio--label"},o.a.get(f,u)):null])]},renderTreeRadioCell:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderRadioCell(e,t))},renderSelectionHeader:function(e,t){var n,a=t.$table,l=t.column,i=t.isHidden,r=a.vSize,o=a.selectConfig,s=l.slots,c=l.own,d=c.title||c.label,u={attrs:{type:"checkbox"}};return s&&s.header?s.header(t,e):o&&(o.checkStrictly?!o.showHeader:!1===o.showHeader)?[]:(i||(u.domProps={checked:a.isAllSelected},u.on={change:function(e){a.triggerCheckAllEvent(e,e.target.checked)}}),[e("label",{class:["vxe-checkbox",(n={},Object(Dn["a"])(n,"size--".concat(r),r),Object(Dn["a"])(n,"is--indeterminate",a.isIndeterminate),n)]},[e("input",u),e("span",{class:"vxe-checkbox--icon"}),d?e("span",{class:"vxe-checkbox--label"},Vn.getFuncText(d)):null])])},renderSelectionCell:function(e,t){var n,a=t.$table,l=t.row,i=t.column,r=t.isHidden,s=a.vSize,c=a.selectConfig,d=void 0===c?{}:c,u=a.treeConfig,h=a.treeIndeterminates,p=d.labelField,m=d.checkMethod,f=i.slots,b=!1,g=!!m,v={attrs:{type:"checkbox"}};return f&&f.default?f.default(t,e):(r||(m&&(g=!m(t),v.attrs.disabled=g),u&&(b=h.indexOf(l)>-1),v.domProps={checked:a.selection.indexOf(l)>-1},v.on={change:function(e){a.triggerCheckRowEvent(e,t,e.target.checked)}}),[e("label",{class:["vxe-checkbox",(n={},Object(Dn["a"])(n,"size--".concat(s),s),Object(Dn["a"])(n,"is--indeterminate",b),Object(Dn["a"])(n,"is--disabled",g),n)]},[e("input",v),e("span",{class:"vxe-checkbox--icon"}),p?e("span",{class:"vxe-checkbox--label"},o.a.get(l,p)):null])])},renderTreeSelectionCell:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderSelectionCell(e,t))},renderSelectionCellByProp:function(e,t){var n,a=t.$table,l=t.row,i=t.column,r=t.isHidden,s=a.vSize,c=a.selectConfig,d=void 0===c?{}:c,u=a.treeConfig,h=a.treeIndeterminates,p=d.labelField,m=d.checkField,f=d.checkMethod,b=i.slots,g=!1,v=!!f,x={attrs:{type:"checkbox"}};return b&&b.default?b.default(t,e):(r||(f&&(v=!f(t),x.attrs.disabled=v),u&&(g=h.indexOf(l)>-1),x.domProps={checked:o.a.get(l,m)},x.on={change:function(e){a.triggerCheckRowEvent(e,t,e.target.checked)}}),[e("label",{class:["vxe-checkbox",(n={},Object(Dn["a"])(n,"size--".concat(s),s),Object(Dn["a"])(n,"is--indeterminate",g),Object(Dn["a"])(n,"is--disabled",v),n)]},[e("input",x),e("span",{class:"vxe-checkbox--icon"}),p?e("span",{class:"vxe-checkbox--label"},o.a.get(l,p)):null])])},renderTreeSelectionCellByProp:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderSelectionCellByProp(e,t))},renderExpandCell:function(e,t){var n=t.$table,a=t.isHidden,l=!1;return a||(l=n.expandeds.indexOf(t.row)>-1),[e("span",{class:["vxe-table--expanded",{"expand--active":l}],on:{click:function(e){n.triggerRowExpandEvent(e,t)}}},[e("i",{class:"vxe-table--expand-icon"})])]},renderExpandData:function(e,t){var n=t.column,a=n.slots;return a&&a.default?a.default(t,e):[]},renderSortAndFilterHeader:function(e,t){return na.renderHeader(e,t).concat(na.renderSortIcon(e,t)).concat(na.renderFilterIcon(e,t))},renderSortHeader:function(e,t){return na.renderHeader(e,t).concat(na.renderSortIcon(e,t))},renderSortIcon:function(e,t){var n=An["a"].icon,a=t.$table,l=t.column;return[e("span",{class:"vxe-sort-wrapper"},[e("i",{class:["vxe-sort--asc-btn",n.sortAsc,{"sort--active":"asc"===l.order}],on:{click:function(e){a.triggerSortEvent(e,l,t,"asc")}}}),e("i",{class:["vxe-sort--desc-btn",n.sortDesc,{"sort--active":"desc"===l.order}],on:{click:function(e){a.triggerSortEvent(e,l,t,"desc")}}})])]},renderFilterHeader:function(e,t){return na.renderHeader(e,t).concat(na.renderFilterIcon(e,t))},renderFilterIcon:function(e,t){var n=An["a"].icon,a=t.$table,l=t.column,i=a.filterStore;return[e("span",{class:["vxe-filter-wrapper",{"is--active":i.visible&&i.column===l}]},[e("i",{class:"vxe-filter--btn ".concat(n.filter),on:{click:function(e){a.triggerFilterEvent(e,t.column,t)}}})])]},renderEditHeader:function(e,t){var n,a=An["a"].icon,l=t.$table,i=t.column,r=l.editRules,s=l.editConfig,c=i.sortable,d=i.remoteSort,u=i.filters;if(r){var h=o.a.get(r,t.column.property);h&&(n=h.some(function(e){return e.required}))}return[n?e("i",{class:"vxe-required-icon"}):null,s&&!1===s.showIcon?null:e("i",{class:"vxe-edit-icon ".concat(a.edit)})].concat(na.renderHeader(e,t)).concat(c||d?na.renderSortIcon(e,t):[]).concat(u&&u.length?na.renderFilterIcon(e,t):[])},renderRowEdit:function(e,t){var n=t.$table,a=n.editStore.actived;return na.runRenderer(e,t,this,a&&a.row===t.row)},renderTreeRowEdit:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderRowEdit(e,t))},renderCellEdit:function(e,t){var n=t.$table,a=n.editStore.actived;return na.runRenderer(e,t,this,a&&a.row===t.row&&a.column===t.column)},renderTreeCellEdit:function(e,t){return na.renderTreeIcon(e,t).concat(na.renderCellEdit(e,t))},runRenderer:function(e,t,n,a){var l=t.$table,i=t.row,r=t.column,o=r.slots,s=r.own,c=r.formatter,d=s.editRender,u=Mn["b"].get(d.name);return"visible"===d.type||a?o&&o.edit?o.edit(t,e):u&&u.renderEdit?u.renderEdit.call(l,e,d,t,{$excel:l.$parent,$table:l,$column:r}):[]:o&&o.default?o.default(t,e):c?[Vn.formatText(Vn.getCellLabel(i,r,t),1)]:na.renderCell.call(n,e,t)}},aa=na,la=aa,ia=0,ra=Un.browse,oa=ra["-webkit"]&&!ra.edge,sa=ra.msie?40:20,ca=function(){function e(t){Object(Fn["a"])(this,e),Object.assign(this,{$options:t,required:t.required,min:t.min,max:t.min,type:t.type,pattern:t.pattern,validator:t.validator,trigger:t.trigger,maxWidth:t.maxWidth})}return Object(Nn["a"])(e,[{key:"message",get:function(){return Vn.getFuncText(this.$options.message)}}]),e}();function da(){return"row_".concat(++ia)}function ua(e,t,n){var a=t.tableData,l=t.tableColumn,i=t.visibleColumn,r=t.collectColumn,o=t.isGroup,s=t.vSize,c=t.showHeader,d=t.showFooter,u=t.columnStore,h=t.footerData,p=u["".concat(n,"List")];return e("div",{class:"vxe-table--fixed-".concat(n,"-wrapper"),ref:"".concat(n,"Container")},[c?e("vxe-table-header",{props:{fixedType:n,tableData:a,tableColumn:l,visibleColumn:i,collectColumn:r,size:s,fixedColumn:p,isGroup:o},ref:"".concat(n,"Header")}):null,e("vxe-table-body",{props:{fixedType:n,tableData:a,tableColumn:l,visibleColumn:i,collectColumn:r,fixedColumn:p,size:s,isGroup:o},ref:"".concat(n,"Body")}),d?e("vxe-table-footer",{props:{fixedType:n,footerData:h,tableColumn:l,visibleColumn:i,size:s,fixedColumn:p},ref:"".concat(n,"Footer")}):null])}var ha={children:"children"},pa={name:"VxeTable",props:{data:Array,customs:Array,height:[Number,String],maxHeight:[Number,String],resizable:{type:Boolean,default:function(){return An["a"].resizable}},stripe:{type:Boolean,default:function(){return An["a"].stripe}},border:{type:Boolean,default:function(){return An["a"].border}},size:{type:String,default:function(){return An["a"].size}},fit:{type:Boolean,default:function(){return An["a"].fit}},loading:Boolean,align:{type:String,default:function(){return An["a"].align}},headerAlign:{type:String,default:function(){return An["a"].headerAlign}},showHeader:{type:Boolean,default:function(){return An["a"].showHeader}},startIndex:{type:Number,default:0},highlightCurrentRow:{type:Boolean,default:function(){return An["a"].highlightCurrentRow}},highlightHoverRow:{type:Boolean,default:function(){return An["a"].highlightHoverRow}},highlightCurrentColumn:{type:Boolean,default:function(){return An["a"].highlightCurrentColumn}},highlightHoverColumn:{type:Boolean,default:function(){return An["a"].highlightHoverColumn}},highlightCell:Boolean,showFooter:Boolean,footerMethod:Function,rowClassName:[String,Function],cellClassName:[String,Function],headerRowClassName:[String,Function],headerCellClassName:[String,Function],footerRowClassName:[String,Function],footerCellClassName:[String,Function],spanMethod:Function,showOverflow:{type:[Boolean,String],default:function(){return An["a"].showOverflow}},showHeaderOverflow:{type:[Boolean,String],default:function(){return An["a"].showHeaderOverflow}},remoteFilter:Boolean,remoteSort:Boolean,columnWidth:[Number,String],columnMinWidth:[Number,String],columnKey:Boolean,rowKey:Boolean,rowId:{type:String,default:function(){return An["a"].rowId}},autoResize:Boolean,sortConfig:Object,radioConfig:Object,selectConfig:Object,tooltipConfig:Object,expandConfig:Object,treeConfig:Object,contextMenu:Object,mouseConfig:Object,keyboardConfig:Object,editConfig:Object,validConfig:Object,editRules:Object,optimization:Object,params:Object},provide:function(){return{$table:this}},data:function(){return{id:o.a.uniqueId(),collectColumn:[],tableFullColumn:[],tableColumn:[],tableData:[],scrollXLoad:!1,scrollYLoad:!1,overflowY:!0,overflowX:!1,scrollbarWidth:0,scrollbarHeight:0,isAllSelected:!1,isIndeterminate:!1,selection:[],currentRow:null,selectRow:null,footerData:[],expandeds:[],treeExpandeds:[],treeIndeterminates:[],filterStore:{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1},columnStore:{leftList:[],centerList:[],rightList:[],resizeList:[],pxList:[],pxMinList:[],scaleList:[],scaleMinList:[],autoList:[]},ctxMenuStore:{selected:null,visible:!1,showChild:!1,selectChild:null,list:[],style:null},editStore:{indexs:{columns:[]},titles:{columns:[]},checked:{rows:[],columns:[],tRows:[],tColumns:[]},selected:{row:null,column:null},copyed:{cut:!1,rows:[],columns:[]},actived:{row:null,column:null},insertList:[],removeList:[]},validStore:{visible:!1,row:null,column:null,content:"",rule:null,isArrow:!1}}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},validOpts:function(){return Object.assign({message:"default"},An["a"].validConfig,this.validConfig)},optimizeOpts:function(){return Object.assign({},An["a"].optimization,this.optimization)},vaildTipOpts:function(){return Object.assign({isArrow:!1},this.tooltipConfig)},sortOpts:function(){return Object.assign({},An["a"].sortConfig,this.sortConfig)},isGroup:function(){return this.collectColumn.some(function(e){return Vn.hasChildrenList(e)})},hasTip:function(){return An["a"]._tip},visibleColumn:function(){return this.tableFullColumn?this.tableFullColumn.filter(function(e){return e.visible}):[]},isResizable:function(){return this.resizable||this.tableFullColumn.some(function(e){return e.resizable})},hasFilter:function(){return this.tableColumn.some(function(e){return e.filters&&e.filters.length})},headerCtxMenu:function(){return this.ctxMenuOpts.header&&this.ctxMenuOpts.header.options?this.ctxMenuOpts.header.options:[]},bodyCtxMenu:function(){return this.ctxMenuOpts.body&&this.ctxMenuOpts.body.options?this.ctxMenuOpts.body.options:[]},isCtxMenu:function(){return this.headerCtxMenu.length||this.bodyCtxMenu.length},ctxMenuOpts:function(){return Object.assign({},An["a"].menu,this.contextMenu)},ctxMenuList:function(){var e=[];return this.ctxMenuStore.list.forEach(function(t){t.forEach(function(t){e.push(t)})}),e}},watch:{data:function(e){this._isUpdateData||this.loadData(e,!0).then(this.handleDefault),this._isUpdateData=!1},customs:function(e){this.isUpdateCustoms||this.mergeCustomColumn(e),this.isUpdateCustoms=!1},collectColumn:function(e){var t=Vn.getColumnList(e);if(this.tableFullColumn=t,this.cacheColumnMap(),this.customs&&this.mergeCustomColumn(this.customs),this.refreshColumn(),this.handleData(!0),this._toolbar&&this._toolbar.updateColumn(t),t.length){var n=Math.floor((t.length-1)/2);t[n].prop&&Vn.warn("vxe.error.delProp"),t[n].label&&Vn.warn("vxe.error.delLabel")}},tableColumn:function(){this.analyColumnWidth()},height:function(){this.$nextTick(this.recalculate)},loading:function(){this._isLoading||(this._isLoading=!0)}},created:function(){var e=this,t=Object.assign(this,{elemStore:{},scrollXStore:{},scrollYStore:{},tooltipStore:{},parentHeight:0,tableWidth:0,tableHeight:0,headerHeight:0,footerHeight:0,lastScrollLeft:0,lastScrollTop:0,tableFullData:[],afterFullData:[],fullAllDataRowMap:new Map,fullAllDataRowIdData:{},fullDataRowMap:new Map,fullDataRowIdData:{},fullColumnMap:new Map,fullColumnIdData:{}}),n=t.scrollYStore,a=t.optimizeOpts,l=t.data,i=t.loading,r=a.scrollY;this._isLoading=i,r&&Object.assign(n,{startIndex:0,visibleIndex:0,adaptive:!o.a.isBoolean(r.adaptive)||r.adaptive,renderSize:o.a.toNumber(r.rSize),offsetSize:o.a.toNumber(r.oSize)}),Vn.getRowkey(this)||Vn.error("vxe.error.rowIdEmpty"),this.loadData(l,!0).then(function(){e.handleDefault(),e.updateStyle()}),ea.on(this,"mousedown",this.handleGlobalMousedownEvent),ea.on(this,"blur",this.handleGlobalBlurEvent),ea.on(this,"contextmenu",this.handleGlobalContextmenuEvent),ea.on(this,"mousewheel",this.handleGlobalMousewheelEvent),ea.on(this,"keydown",this.handleGlobalKeydownEvent),ea.on(this,"resize",this.handleGlobalResizeEvent)},mounted:function(){this.autoResize&&ta.on(this,this.$el.parentNode,this.recalculate),document.body.appendChild(this.$refs.tableWrapper)},activated:function(){this.scrollTo(this.lastScrollLeft,this.lastScrollTop)},beforeDestroy:function(){var e=this.$refs.tableWrapper;e&&e.parentNode&&e.parentNode.removeChild(e),ta.off&&ta.off(this,this.$el.parentNode),this.closeFilter(),this.closeMenu()},destroyed:function(){ea.off(this,"mousedown"),ea.off(this,"blur"),ea.off(this,"contextmenu"),ea.off(this,"mousewheel"),ea.off(this,"keydown"),ea.off(this,"resize")},render:function(e){var t,n=this._e,a=this.id,l=this.tableData,i=this.tableColumn,r=this.visibleColumn,o=this.collectColumn,s=this.isGroup,c=this.hasFilter,d=this.isResizable,u=this.isCtxMenu,h=this.loading,p=this._isLoading,m=this.showHeader,f=this.border,b=this.stripe,g=this.height,v=this.highlightHoverRow,x=this.highlightHoverColumn,w=this.highlightCell,y=this.vSize,C=this.showOverflow,T=this.showHeaderOverflow,S=this.editConfig,k=this.validOpts,E=this.mouseConfig,R=void 0===E?{}:E,O=this.editRules,$=this.showFooter,j=this.footerMethod,I=this.overflowX,z=this.overflowY,P=this.scrollbarHeight,M=this.optimizeOpts,D=this.vaildTipOpts,F=this.tooltipConfig,N=this.columnStore,A=this.filterStore,L=this.ctxMenuStore,B=this.footerData,H=this.hasTip,V=N.leftList,W=N.rightList;return e("div",{class:(t={"vxe-table":1},Object(Dn["a"])(t,"size--".concat(y),y),Object(Dn["a"])(t,"vxe-editable",S),Object(Dn["a"])(t,"show--head",m),Object(Dn["a"])(t,"show--foot",$),Object(Dn["a"])(t,"scroll--y",z),Object(Dn["a"])(t,"scroll--x",I),Object(Dn["a"])(t,"fixed--left",V.length),Object(Dn["a"])(t,"fixed--right",W.length),Object(Dn["a"])(t,"all-overflow",C),Object(Dn["a"])(t,"all-head-overflow",T),Object(Dn["a"])(t,"c--highlight",w),Object(Dn["a"])(t,"t--animat",M.animat),Object(Dn["a"])(t,"t--stripe",b),Object(Dn["a"])(t,"t--border",f),Object(Dn["a"])(t,"t--checked",R.checked),Object(Dn["a"])(t,"is--loading",h),Object(Dn["a"])(t,"row--highlight",v),Object(Dn["a"])(t,"column--highlight",x),t)},[e("div",{class:"vxe-table-hidden-column",ref:"hideColumn"},this.$slots.default),m?e("vxe-table-header",{ref:"tableHeader",props:{tableData:l,tableColumn:i,visibleColumn:r,collectColumn:o,size:y,isGroup:s}}):n(),e("vxe-table-body",{ref:"tableBody",props:{tableData:l,tableColumn:i,visibleColumn:r,collectColumn:o,size:y,isGroup:s}}),$?e("vxe-table-footer",{props:{footerData:B,footerMethod:j,tableColumn:i,visibleColumn:r,size:y},ref:"tableFooter"}):n(),V&&V.length&&I?ua(e,this,"left"):n(),W&&W.length&&I?ua(e,this,"right"):n(),d?e("div",{class:"vxe-table--resizable-bar",style:I?{"padding-bottom":"".concat(P,"px")}:null,ref:"resizeBar"}):n(),p?e("vxe-table-loading",{props:{visible:h}}):n(),e("div",{class:"vxe-table".concat(a,"-wrapper ").concat(this.$vnode.data.staticClass||""),ref:"tableWrapper"},[c?e("vxe-table-filter",{props:{optimizeOpts:M,filterStore:A},ref:"filterWrapper"}):n(),u?e("vxe-table-context-menu",{props:{ctxMenuStore:L},ref:"ctxWrapper"}):n(),H?e("vxe-tooltip",{ref:"tooltip",props:F}):n(),H&&O&&("default"===k.message?!g:"tooltip"===k.message)?e("vxe-tooltip",{class:"vxe-table--valid-error",props:"tooltip"===k.message||1===l.length?D:null,ref:"validTip"}):n()])])},methods:{clearAll:function(){return this.clearScroll(),this.clearSort(),this.clearFilter(),this.clearCurrentRow(),this.clearCurrentColumn(),this.clearSelection(),this.clearRowExpand(),this.clearTreeExpand(),this.clearIndexChecked(),this.clearHeaderChecked(),this.clearChecked(),this.clearSelected(),this.clearCopyed(),this.clearActived()},refreshData:function(){var e=this;return this.$nextTick().then(function(){return e.tableData=[],e.$nextTick().then(function(){return e.loadData(e.tableFullData)})})},updateData:function(){return this.handleData(!0).then(this.recalculate)},handleData:function(e){return this.tableData=this.getTableData(e).tableData,this.$nextTick()},loadData:function(e,t){var n=this,a=this.height,l=this.maxHeight,i=this.editStore,r=this.optimizeOpts,s=this.recalculate,c=r.scrollY,d=e?e.slice(0):[],u=c&&c.gt&&c.gt-1}),f.push(u)}}):(e.forEach(function(e){d(e)||h.push(e)}),f=o.a.remove(a,function(t){return e.indexOf(t)>-1}),m||o.a.remove(c,function(t){return e.indexOf(t)>-1}),o.a.remove(n,function(t){return e.indexOf(t)>-1})),o.a.remove(p,function(t){return e.indexOf(t)>-1})),u&&this.updateScrollYSpace(),this.updateCache(),this.checkSelectionStatus(),this.$nextTick().then(function(){return t.recalculate(),{row:e&&e.length?e[e.length-1]:null,rows:f}})},removeSelecteds:function(){var e=this;return this.remove(this.getSelectRecords()).then(function(t){return e.clearSelection(),t})},revert:function(e,t){var n=this.tableSourceData,a=this.getRowIndex;return arguments.length?(e&&!o.a.isArray(e)&&(e=[e]),e.forEach(function(e){var l=a(e),i=n[l];i&&e&&(t?o.a.set(e,t,o.a.get(i,t)):o.a.destructuring(e,i))}),this.$nextTick()):this.reloadData(n)},clearData:function(e,t){var n=this.tableFullData,a=this.visibleColumn;return arguments.length?e&&!o.a.isArray(e)&&(e=[e]):e=n,t?e.forEach(function(e){return o.a.set(e,t,null)}):e.forEach(function(e){a.forEach(function(t){t.property&&Vn.setCellValue(e,t,null)})}),this.$nextTick()},hasRowInsert:function(e){return this.editStore.insertList.indexOf(e)>-1},hasRowChange:function(e,t){var n,a,l=this,i=this.visibleColumn,r=this.treeConfig,s=this.tableSourceData,c=this.fullDataRowIdData,d=Vn.getRowid(this,e);if(!c[d])return!1;if(r){var u=r.children,h=o.a.findTree(s,function(e){return d===Vn.getRowid(l,e)},r);e=Object.assign({},e,Object(Dn["a"])({},u,null)),h&&(n=Object.assign({},h.item,Object(Dn["a"])({},u,null)))}else{var p=c[d].index;n=s[p]}if(n){if(arguments.length>1)return!o.a.isEqual(o.a.get(n,t),o.a.get(e,t));for(var m=0,f=i.length;m-1},n):e.filter(function(e){return c.indexOf(e)>-1}),s=t.insertList.filter(function(e){return c.indexOf(e)>-1})}return r.concat(s)},getUpdateRecords:function(){var e=this.tableFullData,t=this.hasRowChange,n=this.treeConfig;return n?o.a.filterTree(e,function(e){return t(e)},n):e.filter(function(e){return t(e)})},updateAfterFullData:function(){var e=this.visibleColumn,t=this.tableFullData,n=this.remoteSort,a=this.remoteFilter,l=t,i=e.find(function(e){return e.order}),r=e.filter(function(e){var t=e.filters;return t&&t.length});if(l=l.filter(function(e){return r.every(function(t){var n=t.filters,l=t.filterRender,i=l?Mn["b"].get(l.name):null,r=[],s=[];if(n&&n.length&&(n.forEach(function(e){e.checked&&(s.push(e),r.push(e.value))}),r.length&&!a)){var c=t.property,d=t.filterMethod;return!d&&i&&i.renderFilter&&(d=i.filterMethod),d?s.some(function(n){return d({value:n.value,option:n,row:e,column:t})}):r.indexOf(o.a.get(e,c))>-1}return!0})}),i&&i.order){var s=o.a.isBoolean(i.remoteSort)?i.remoteSort:n;if(!s){var c=o.a.sortBy(l,i.property);l="desc"===i.order?c.reverse():c}}return this.afterFullData=l,l},getRowById:function(e){var t=this.fullDataRowIdData;return t[e]?t[e].row:null},getTableData:function(e){var t=this.tableFullData,n=this.scrollYLoad,a=this.scrollYStore,l=e?this.updateAfterFullData():this.afterFullData;return{fullData:t.slice(0),visibleData:l.slice(0),tableData:n?l.slice(a.startIndex,a.startIndex+a.renderSize):l.slice(0)}},handleDefault:function(){this.selectConfig&&this.handleSelectionDefChecked(),this.radioConfig&&this.handleRadioDefChecked(),this.expandConfig&&this.handleDefaultRowExpand(),this.treeConfig&&this.handleDefaultTreeExpand(),this.updateFooter(),this.$nextTick(this.recalculate)},mergeCustomColumn:function(e){var t=this.tableFullColumn;this.isUpdateCustoms=!0,e.length&&t.forEach(function(t){var n=e.find(function(e){return t.property&&(e.field||e.prop)===t.property});n&&(o.a.isNumber(n.resizeWidth)&&(t.resizeWidth=n.resizeWidth),o.a.isBoolean(n.visible)&&(t.visible=n.visible))}),this.$emit("update:customs",t)},resetAll:function(){this.resetCustoms(),this.resetResizable()},hideColumn:function(e){return this.handleVisibleColumn(e,!1)},showColumn:function(e){return this.handleVisibleColumn(e,!0)},resetCustoms:function(){return this.handleVisibleColumn()},handleVisibleColumn:function(e,t){return arguments.length?e.visible=t:this.tableFullColumn.forEach(function(e){e.visible=!0}),this._toolbar&&this._toolbar.updateSetting(),this.$nextTick()},reloadCustoms:function(e){var t=this;return this.$nextTick().then(function(){return t.mergeCustomColumn(e),t.refreshColumn().then(function(){return t.tableFullColumn})})},refreshColumn:function(){var e,t=this,n=0,a=[],l=null,i=null,r=[],s=[],c=this.tableFullColumn,d=this.isGroup,u=this.columnStore,h=this.scrollXStore,p=this.optimizeOpts,m=p.scrollX;d&&o.a.eachTree(this.collectColumn,function(e){e.children&&e.children.length&&(e.visible=!!o.a.findTree(e.children,function(e){return e.children&&e.children.length?0:e.visible},ha))},ha),c.filter(function(e){return e.visible}).forEach(function(t,o){"left"===t.fixed?(null===l&&(l=n),e||(o-n!==0?e=!0:n++),a.push(t)):"right"===t.fixed?(e||(null===i&&(i=o),o-i!==0?e=!0:i++),s.push(t)):r.push(t)});var f=a.concat(r).concat(s),b=m&&m.gt&&m.gt0?Math.floor(o/(f.length+h.length+b.length)):0,c?o>0&&f.concat(h).forEach(function(e){l+=a,e.renderWidth+=a}):a=i,b.forEach(function(e,t){var n=Math.max(a,i);if(e.renderWidth=n,l+=n,c&&t===b.length-1){var o=r-l;o>0&&(e.renderWidth+=o,l=r)}});var g=t.offsetHeight,v=t.scrollHeight>t.clientHeight;if(this.scrollbarWidth=v?t.offsetWidth-r:0,this.overflowY=v,this.tableWidth=l,this.tableHeight=g,this.parentHeight=s.parentNode.clientHeight,e&&(this.headerHeight=e.offsetHeight),n){var x=n.offsetHeight;this.scrollbarHeight=Math.max(x-n.clientHeight,0),this.overflowX=l>n.clientWidth,this.footerHeight=x}else this.scrollbarHeight=Math.max(g-t.clientHeight,0),this.overflowX=l>r;this.overflowX&&this.checkScrolling()},resetResizable:function(){return this.visibleColumn.forEach(function(e){e.resizeWidth=0}),this._toolbar&&this._toolbar.resetResizable(),this.analyColumnWidth(),this.recalculate(!0)},updateStyle:function(){var e=this.$refs,t=this.fullColumnIdData,n=this.maxHeight,a=this.height,l=this.parentHeight,i=this.border,r=this.tableColumn,s=this.headerHeight,c=this.showHeaderOverflow,d=this.showFooter,u=this.showOverflow,h=this.footerHeight,p=this.tableHeight,m=this.tableWidth,f=this.overflowY,b=this.scrollbarHeight,g=this.scrollbarWidth,v=this.scrollXLoad,x=this.columnStore,w=this.elemStore,y=this.currentRow,C=["main","left","right"],T="auto"===a?l:Un.isScale(a)?Math.floor(parseInt(a)/100*l):o.a.toNumber(a);return C.forEach(function(a,y){var C=y>0?a:"",S=["header","body","footer"],k=x["".concat(C,"List")],E=e["".concat(C,"Container")];S.forEach(function(e){var y=w["".concat(a,"-").concat(e,"-wrapper")],S=w["".concat(a,"-").concat(e,"-table")];if("header"===e){var R=m;v&&(C&&(r=k),R=r.reduce(function(e,t){return e+t.renderWidth},0)),S&&(S.style.width=null===R?R:"".concat(R+g,"px"));var O=w["".concat(a,"-").concat(e,"-repair")];O&&(O.style.width="".concat(m,"px"));var $=w["".concat(a,"-").concat(e,"-list")];$&&o.a.arrayEach($.querySelectorAll(".col--gutter"),function(e){e.style.width="".concat(g,"px")})}else if("body"===e){var j=w["".concat(a,"-").concat(e,"-emptyBlock")];if(y&&(T>0?y.style.height="".concat(C?(T>0?T-s-h:p)-(d?0:b):T-s-h,"px"):n&&(n=Un.isScale(n)?Math.floor(parseInt(n)/100*l):o.a.toNumber(n),y.style.maxHeight="".concat(C?n-s-(d?0:b):n-s,"px"))),E){var I="right"===C,z=x["".concat(C,"List")];y.style.top="".concat(s,"px"),E.style.height="".concat((T>0?T-s-h:p)+s+h-b*(d?2:1),"px"),E.style.width="".concat(z.reduce(function(e,t){return e+t.renderWidth},I?g:0),"px")}var P=m;C&&u?(r=k,P=r.reduce(function(e,t){return e+t.renderWidth},0)):v&&(C&&(r=k),P=r.reduce(function(e,t){return e+t.renderWidth},0)),S&&(S.style.width=P?"".concat(P,"px"):P,f&&C&&(ra["-moz"]||ra["safari"])&&(S.style.paddingRight="".concat(g,"px"))),j&&(j.style.width=P?"".concat(P,"px"):P)}else if("footer"===e){var M=m;C&&u?(r=k,M=r.reduce(function(e,t){return e+t.renderWidth},0)):v&&(C&&(r=k),M=r.reduce(function(e,t){return e+t.renderWidth},0)),y&&(E&&(y.style.top="".concat(T?T-h:p+s,"px")),y.style.marginTop="".concat(-b-1,"px")),S&&(S.style.width=null===M?M:"".concat(M+g,"px"))}var D=w["".concat(a,"-").concat(e,"-colgroup")];D&&o.a.arrayEach(D.children,function(n){var l=n.getAttribute("name");if("col-gutter"===l&&(n.width="".concat(g||"")),t[l]){var r,s=t[l].column,d=s.showHeaderOverflow,h=s.showOverflow,p=s.renderWidth;n.width="".concat(s.renderWidth||""),r="header"===e?o.a.isUndefined(d)||o.a.isNull(d)?c:d:o.a.isUndefined(h)||o.a.isNull(h)?u:h;var m="ellipsis"===r,f="title"===r,b=!0===r||"tooltip"===r,v=f||b||m,x=w["".concat(a,"-").concat(e,"-list")];x&&v&&o.a.arrayEach(x.querySelectorAll(".".concat(s.id)),function(e){var t=e.querySelector(".vxe-cell");t&&(t.style.width="".concat(i?p-1:p,"px"))})}})})}),y&&this.setCurrentRow(y),this.$nextTick()},checkScrolling:function(){var e=this.$refs,t=e.tableBody,n=e.leftContainer,a=e.rightContainer,l=t?t.$el:null;l&&(n&&Un[l.scrollLeft>0?"addClass":"removeClass"](n,"scrolling--middle"),a&&Un[l.clientWidth=48&&b<=57||b>=65&&b<=90||b>=96&&b<=111||b>=186&&b<=192||b>=219&&b<=222||32===b)&&m.column&&m.row&&m.column.editRender&&(d.editMethod&&!1===d.editMethod(m.args,e)||(Vn.setCellValue(m.row,m.column,null),this.handleActived(m.args,e)))},moveTabSelected:function(e,t){var n,a,l,i,r=this.tableData,o=this.visibleColumn,s=this.editConfig,c=this.hasIndexColumn,d=t.shiftKey,u=Object.assign({},e),h=r.indexOf(u.row),p=o.indexOf(u.column);if(t.preventDefault(),d){for(var m=p-1;m>=0;m--)if(!c(o[m])){i=m,l=o[m];break}if(!l&&h>0){a=h-1,n=r[a];for(var f=o.length-1;f>=0;f--)if(!c(o[f])){i=f,l=o[f];break}}}else{for(var b=p+1;b0?a=u[d-1]:t&&d0?a=s[h-1]:t&&h=0;d--)if(!s(o[d])){c.columnIndex=d,c.column=o[d];break}}else if(a)for(var u=c.columnIndex+1;u=0;d--)if(!1!==r[d].visible){s=r[d];break}n[a]=s||r[r.length-1]}else if(40===t){for(var u=c+1;u-10&&(l.style.top="".concat(f-n,"px")),o>-10&&(l.style.left="".concat(b-i,"px"))})}else this.closeMenu()}this.closeFilter()},closeMenu:function(){return Object.assign(this.ctxMenuStore,{visible:!1,selected:null,selectChild:null,showChild:!1}),this.$nextTick()},ctxMenuMouseoverEvent:function(e,t,n){var a=this.ctxMenuStore;e.preventDefault(),e.stopPropagation(),a.selected=t,a.selectChild=n,n||(a.showChild=Vn.hasChildrenList(t))},ctxMenuMouseoutEvent:function(e,t,n){var a=this.ctxMenuStore;t.children||(a.selected=null),a.selectChild=null},ctxMenuLinkEvent:function(e,t){t.disabled||t.children&&t.children.length||(Vn.emitEvent(this,"context-menu-click",[Object.assign({menu:t,$table:this},this.ctxMenuStore.args),e]),this.closeMenu())},triggerHeaderTooltipEvent:function(e,t){var n=this.tooltipStore,a=t.column;n.column===a&&n.visible||this.showTooltip(e,a)},triggerFooterTooltipEvent:function(e,t){var n=t.column,a=this.tooltipStore;a.column===n&&a.visible||this.showTooltip(e,n)},triggerTooltipEvent:function(e,t){var n=this.editConfig,a=this.editStore,l=this.tooltipStore,i=a.actived,r=t.row,o=t.column;n&&("row"===n.mode&&i.row===r||i.row===r&&i.column===o)||l.column===o&&l.row===r&&l.visible||this.showTooltip(e,o,r)},showTooltip:function(e,t,n){var a=e.currentTarget,l=this.$refs.tooltip,i=a.children[0],r=a.innerText;return r&&i.scrollWidth>i.clientWidth&&(Object.assign(this.tooltipStore,{row:n,column:t,visible:!0}),l&&l.toVisible(a,Vn.formatText(r))),this.$nextTick()},clostTooltip:function(){var e=this.$refs.tooltip;return Object.assign(this.tooltipStore,{row:null,column:null,content:null,visible:!1}),e&&e.close(),this.$nextTick()},handleSelectionDefChecked:function(){var e=this.selectConfig,t=void 0===e?{}:e,n=this.fullDataRowIdData,a=t.checkAll,l=t.checkRowKeys;if(a)this.setAllSelection(!0);else if(l){var i=[];l.forEach(function(e){n[e]&&i.push(n[e].row)}),this.setSelection(i,!0)}},setSelection:function(e,t){var n=this;return e&&!o.a.isArray(e)&&(e=[e]),e.forEach(function(e){return n.handleSelectRow({row:e},!!t)}),this.$nextTick()},handleSelectRow:function(e,t){var n=e.row,a=this.selection,l=this.tableFullData,i=this.selectConfig,r=void 0===i?{}:i,s=this.treeConfig,c=this.treeIndeterminates,d=r.checkField,u=r.checkStrictly,h=r.checkMethod;if(d)if(s&&!u){-1===t?(c.push(n),o.a.set(n,d,!1)):(o.a.eachTree([n],function(e,a){n!==e&&h&&!h({row:e,$rowIndex:a})||o.a.set(e,d,t)},s),o.a.remove(c,function(e){return e===n}));var p=o.a.findTree(l,function(e){return e===n},s);if(p&&p.parent){var m,f=h?p.items.filter(function(e,t){return h({row:e,$rowIndex:t})}):p.items,b=p.items.find(function(e){return c.indexOf(e)>-1});if(b)m=-1;else{var g=p.items.filter(function(e){return o.a.get(e,d)});m=g.filter(function(e){return f.indexOf(e)>-1}).length===f.length||!(!g.length&&-1!==t)&&-1}return this.handleSelectRow({row:p.parent},m)}}else o.a.set(n,d,t);else if(s&&!u){-1===t?(c.push(n),o.a.remove(a,function(e){return e===n})):(o.a.eachTree([n],function(e,l){n!==e&&h&&!h({row:e,$rowIndex:l})||(t?a.push(e):o.a.remove(a,function(t){return t===e}))},s),o.a.remove(c,function(e){return e===n}));var v=o.a.findTree(l,function(e){return e===n},s);if(v&&v.parent){var x,w=h?v.items.filter(function(e,t){return h({row:e,$rowIndex:t})}):v.items,y=v.items.find(function(e){return c.indexOf(e)>-1});if(y)x=-1;else{var C=v.items.filter(function(e){return a.indexOf(e)>-1});x=C.filter(function(e){return w.indexOf(e)>-1}).length===w.length||!(!C.length&&-1!==t)&&-1}return this.handleSelectRow({row:v.parent},x)}}else t?-1===a.indexOf(n)&&a.push(n):o.a.remove(a,function(e){return e===n});this.checkSelectionStatus()},handleToggleCheckRowEvent:function(e,t){var n=this.selectConfig,a=void 0===n?{}:n,l=this.selection,i=a.checkField,r=e.row,s=i?!o.a.get(r,i):-1===l.indexOf(r);t?this.triggerCheckRowEvent(t,e,s):this.handleSelectRow(e,s)},triggerCheckRowEvent:function(e,t,n){this.handleSelectRow(t,n),Vn.emitEvent(this,"select-change",[Object.assign({selection:this.getSelectRecords(),checked:n,$table:this},t),e])},toggleRowSelection:function(e){return this.handleToggleCheckRowEvent({row:e}),this.$nextTick()},setAllSelection:function(e){var t=this.tableFullData,n=this.editStore,a=this.selectConfig,l=void 0===a?{}:a,i=this.treeConfig,r=this.selection,s=l.checkField,c=l.reserve,d=l.checkStrictly,u=l.checkMethod,h=n.insertList,p=[];if(h.length&&(t=t.concat(h)),!d){if(s){var m="".concat(i?"$":"","rowIndex"),f=function(t,n){u&&!u(Object(Dn["a"])({row:t},m,n))||o.a.set(t,s,e)},b=function(t,n){(!u||!u(Object(Dn["a"])({row:t},m,n))&&r.indexOf(t)>-1)&&o.a.set(t,s,e)};i?o.a.eachTree(t,e?f:b,i):t.forEach(e?f:b)}else i?e?o.a.eachTree(t,function(e,t){u&&!u({row:e,$rowIndex:t})||p.push(e)},i):u&&o.a.eachTree(t,function(e,t){!u({row:e,$rowIndex:t})&&r.indexOf(e)>-1&&p.push(e)},i):e?p=u?t.filter(function(e,t){return r.indexOf(e)>-1||u({row:e,rowIndex:t})}):t.slice(0):u&&(p=t.filter(function(e,t){return u({row:e,rowIndex:t})?0:r.indexOf(e)>-1}));this.selection=e&&c?r.concat(p.filter(function(e){return-1===r.indexOf(e)})):p}this.treeIndeterminates=[],this.checkSelectionStatus()},checkSelectionStatus:function(){var e=this.tableFullData,t=this.editStore,n=this.selectConfig,a=void 0===n?{}:n,l=this.selection,i=this.treeIndeterminates,r=a.checkField,s=a.checkStrictly,c=a.checkMethod,d=t.insertList;d.length&&(e=e.concat(d)),s||(r?(this.isAllSelected=e.length&&e.every(c?function(e,t){return!c({row:e,rowIndex:t})||o.a.get(e,r)}:function(e){return o.a.get(e,r)}),this.isIndeterminate=!this.isAllSelected&&e.some(function(e){return o.a.get(e,r)||i.indexOf(e)>-1})):(this.isAllSelected=e.length&&e.every(c?function(e,t){return!c({row:e,rowIndex:t})||l.indexOf(e)>-1}:function(e){return l.indexOf(e)>-1}),this.isIndeterminate=!this.isAllSelected&&e.some(function(e){return i.indexOf(e)>-1||l.indexOf(e)>-1})))},reserveCheckSelection:function(){var e=this.selectConfig,t=void 0===e?{}:e,n=this.selection,a=this.fullDataRowIdData,l=t.reserve,i=Vn.getRowkey(this);l&&n.length&&(this.selection=n.map(function(e){var t=""+o.a.get(e,i);return a[t]?a[t].row:e}))},triggerCheckAllEvent:function(e,t){this.setAllSelection(t),Vn.emitEvent(this,"select-all",[{selection:this.getSelectRecords(),checked:t,$table:this},e])},toggleAllSelection:function(){return this.triggerCheckAllEvent(null,!this.isAllSelected),this.$nextTick()},clearSelection:function(){var e=this.tableFullData,t=this.selectConfig,n=void 0===t?{}:t,a=this.treeConfig,l=n.checkField;return l&&(a?o.a.eachTree(e,function(e){return o.a.set(e,l,!1)},a):e.forEach(function(e){return o.a.set(e,l,!1)})),this.isAllSelected=!1,this.isIndeterminate=!1,this.selection=[],this.treeIndeterminates=[],this.$nextTick()},handleRadioDefChecked:function(){var e=this.radioConfig,t=void 0===e?{}:e,n=this.fullDataRowIdData,a=t.checkRowKey;a&&n[a]&&this.setRadioRow(n[a].row)},triggerRadioRowEvent:function(e,t){var n=this.selectRow!==t.row;this.setRadioRow(t.row),n&&Vn.emitEvent(this,"radio-change",[t,e])},triggerCurrentRowEvent:function(e,t){var n=this.currentRow!==t.row;this.setCurrentRow(t.row),n&&Vn.emitEvent(this,"current-change",[t,e])},setCurrentRow:function(e){return this.clearCurrentRow(),this.clearCurrentColumn(),this.currentRow=e,this.highlightCurrentRow&&o.a.arrayEach(this.$el.querySelectorAll('[data-rowid="'.concat(Vn.getRowid(this,e),'"]')),function(e){return Un.addClass(e,"row--current")}),this.$nextTick()},setRadioRow:function(e){return this.selectRow!==e&&this.clearRadioRow(),this.selectRow=e,this.$nextTick()},clearCurrentRow:function(){return this.currentRow=null,this.hoverRow=null,o.a.arrayEach(this.$el.querySelectorAll(".row--current"),function(e){return Un.removeClass(e,"row--current")}),this.$nextTick()},clearRadioRow:function(){return this.selectRow=null,this.$nextTick()},getCurrentRow:function(){return this.currentRow},getRadioRow:function(){return this.selectRow},triggerHoverEvent:function(e,t){var n=t.row;this.setHoverRow(n)},setHoverRow:function(e){var t=Vn.getRowid(this,e);this.clearHoverRow(),o.a.arrayEach(this.$el.querySelectorAll('[data-rowid="'.concat(t,'"]')),function(e){return Un.addClass(e,"row--hover")}),this.hoverRow=e},clearHoverRow:function(){o.a.arrayEach(this.$el.querySelectorAll(".vxe-body--row.row--hover"),function(e){return Un.removeClass(e,"row--hover")}),this.hoverRow=null},triggerHeaderCellMousedownEvent:function(e,t){var n=this.$el,a=this.tableData,l=this.mouseConfig,i=void 0===l?{}:l,r=this.elemStore,s=this.handleChecked,c=this.handleHeaderChecked,d=e.button,u=t.column,h=t.cell,p=0===d,m="index"===u.type;if(p&&i.checked){var f=r["main-header-list"].children,b=r["main-body-list"].children;if(m)this.handleAllChecked(e);else{e.preventDefault(),e.stopPropagation(),this.clearSelected(e),this.clearHeaderChecked(),this.clearIndexChecked();var g=document.onmousemove,v=document.onmouseup,x=b[0].querySelector(".".concat(u.id)),w=o.a.throttle(function(e){e.preventDefault();var t=Un.getEventTargetNode(e,n,"vxe-header--column"),a=t.flag,l=t.targetElem;if(!a){var i=Un.getEventTargetNode(e,n,"vxe-body--column");a=i.flag,l=i.targetElem}if(a&&!Un.hasClass(l,"col--index")){var r=[].indexOf.call(l.parentNode.children,l),o=b[b.length-1].children[r],d=f[0].children[r];c(Un.getRowNodes(f,Un.getCellNodeIndex(d),Un.getCellNodeIndex(h))),s(Un.getRowNodes(b,Un.getCellNodeIndex(x),Un.getCellNodeIndex(o)))}},80,{leading:!0,trailing:!0});if(Un.addClass(n,"c--checked"),document.onmousemove=w,document.onmouseup=function(){Un.removeClass(n,"c--checked"),document.onmousemove=g,document.onmouseup=v},c([[h]]),b.length){var y=b[b.length-1].querySelector(".".concat(u.id)),C=b[0],T=b[b.length-1],S=C.querySelector(".col--index");t.rowIndex=0,t.row=a[0],t.cell=Un.getCell(this,t),this.handleSelected(t,e),this.handleIndexChecked(Un.getRowNodes(b,Un.getCellNodeIndex(S),Un.getCellNodeIndex(T.querySelector(".col--index")))),this.handleChecked(Un.getRowNodes(b,Un.getCellNodeIndex(x),Un.getCellNodeIndex(y)))}}this.closeMenu()}},triggerCellMousedownEvent:function(e,t){var n=this.$el,a=this.tableData,l=this.visibleColumn,i=this.editStore,r=this.editConfig,s=this.handleSelected,c=this.mouseConfig,d=void 0===c?{}:c,u=this.handleChecked,h=this.handleIndexChecked,p=this.handleHeaderChecked,m=this.elemStore,f=i.checked,b=i.actived,g=t.row,v=t.column,x=t.cell,w=e.button,y=0===w;if(r){if(b.row!==g||"cell"!==r.mode||b.column!==v)if(y&&d.checked){e.preventDefault(),e.stopPropagation(),this.clearHeaderChecked(),this.clearIndexChecked();var C=document.onmousemove,T=document.onmouseup,S=Un.getCellNodeIndex(x),k="index"===v.type,E=m["main-body-list"].children,R=m["main-header-list"].children,O=x.parentNode.lastElementChild,$=x.parentNode.firstElementChild,j=[].indexOf.call(x.parentNode.children,x),I=R[0].children[j],z=o.a.throttle(function(e){e.preventDefault();var t=Un.getEventTargetNode(e,n,"vxe-body--column"),a=t.flag,l=t.targetElem;if(a)if(k){var i=l.parentNode.firstElementChild;u(Un.getRowNodes(E,Un.getCellNodeIndex(i.nextElementSibling),Un.getCellNodeIndex(O))),h(Un.getRowNodes(E,Un.getCellNodeIndex(i),Un.getCellNodeIndex(x)))}else if(!Un.hasClass(l,"col--index")){var r=l.parentNode.firstElementChild,o=[].indexOf.call(l.parentNode.children,l),s=R[0].children[o];p(Un.getRowNodes(R,Un.getCellNodeIndex(s),Un.getCellNodeIndex(I))),h(Un.getRowNodes(E,Un.getCellNodeIndex(r),Un.getCellNodeIndex($))),u(Un.getRowNodes(E,S,Un.getCellNodeIndex(l)))}},80,{leading:!0,trailing:!0});if(document.onmousemove=z,document.onmouseup=function(e){document.onmousemove=C,document.onmouseup=T},k){var P=x.parentNode.firstElementChild;t.columnIndex++,t.column=l[t.columnIndex],t.cell=x.nextElementSibling,s(t,e),u(Un.getRowNodes(E,Un.getCellNodeIndex(P.nextElementSibling),Un.getCellNodeIndex(O))),p([R[0].querySelectorAll(".vxe-header--column:not(.col--index)")]),h(Un.getRowNodes(E,Un.getCellNodeIndex(P),Un.getCellNodeIndex(x)))}else s(t,e);this.closeFilter(),this.closeMenu()}else if(d.selected&&"dblclick"===r.trigger){var M=Un.getCellIndexs(x);-1!==f.rows.indexOf(a[M.rowIndex])&&-1!==f.columns.indexOf(l[M.columnIndex])||s(t,e)}}else d.selected&&s(t,e)},triggerHeaderCellClickEvent:function(e,t){var n=this._lastResizeTime,a=this.sortOpts,l=t.column,i=t.cell,r=n&&n>Date.now()-300,o=this.getEventTargetNode(e,i,"vxe-sort-wrapper").flag,s=this.getEventTargetNode(e,i,"vxe-filter-wrapper").flag;return"cell"!==a.trigger||r||o||s||this.sort(l.property),Vn.emitEvent(this,"header-cell-click",[Object.assign({triggerResizable:r,triggerSort:o,triggerFilter:s},t),e]),this.highlightCurrentColumn?this.setCurrentColumn(l,!0):this.$nextTick()},setCurrentColumn:function(e){return this.clearCurrentRow(),this.clearCurrentColumn(),this.currentColumn=e,o.a.arrayEach(this.$el.querySelectorAll(".".concat(e.id)),function(e){return Un.addClass(e,"col--current")}),this.$nextTick()},clearCurrentColumn:function(){return this.currentColumn=null,o.a.arrayEach(this.$el.querySelectorAll(".col--current"),function(e){return Un.removeClass(e,"col--current")}),this.$nextTick()},triggerCellClickEvent:function(e,t){var n=this,a=this.$el,l=this.highlightCurrentRow,i=this.editStore,r=this.radioConfig,o=void 0===r?{}:r,s=this.selectConfig,c=void 0===s?{}:s,d=this.treeConfig,u=void 0===d?{}:d,h=this.editConfig,p=this.mouseConfig,m=void 0===p?{}:p,f=i.actived,b=t.column,g=t.cell;("row"===u.trigger||b.treeNode&&"cell"===u.trigger)&&this.triggerTreeExpandEvent(e,t),b.treeNode&&this.getEventTargetNode(e,a,"vxe-tree-wrapper").flag||(l&&("row"!==o.trigger&&(this.getEventTargetNode(e,a,"vxe-checkbox").flag||this.getEventTargetNode(e,a,"vxe-radio").flag)||this.triggerCurrentRowEvent(e,t)),"row"!==o.trigger&&("radio"!==b.type||"cell"!==o.trigger)||this.getEventTargetNode(e,a,"vxe-radio").flag||this.triggerRadioRowEvent(e,t),"row"!==c.trigger&&("selection"!==b.type||"cell"!==c.trigger)||this.getEventTargetNode(e,t.cell,"vxe-checkbox").flag||this.handleToggleCheckRowEvent(t,e),m.checked||h&&(f.args&&g===f.args.cell||("click"===h.trigger?this.triggerValidate("blur").catch(function(e){return e}).then(function(){n.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e})}):"dblclick"===h.trigger&&("row"===h.mode&&f.row===t.row?this.triggerValidate("blur").catch(function(e){return e}).then(function(){n.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e})}):this.handleSelected(t,e))))),Vn.emitEvent(this,"cell-click",[t,e])},triggerCellDBLClickEvent:function(e,t){var n=this,a=this.editStore,l=this.editConfig,i=a.actived;l&&"dblclick"===l.trigger&&(i.args&&e.currentTarget===i.args.cell||("row"===l.mode?this.triggerValidate("blur").catch(function(e){return e}).then(function(){n.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e})}):"cell"===l.mode&&this.handleActived(t,e).then(function(){return n.triggerValidate("change")}).catch(function(e){return e}))),Vn.emitEvent(this,"cell-dblclick",[t,e])},handleActived:function(e,t){var n=this,a=this.editStore,l=this.editConfig,i=this.tableColumn,r=l.activeMethod,o=a.actived,s=e.row,c=e.column,d=e.cell,u=c.model,h=c.editRender;if(h&&d)if(o.row!==s||"cell"===l.mode&&o.column!==c){var p="edit-disabled";r&&!r(e)||(this.clostTooltip(),this.clearCopyed(t),this.clearChecked(),this.clearSelected(t),this.clearActived(t),p="edit-actived",c.renderHeight=d.offsetHeight,o.args=e,o.row=s,o.column=c,"row"===l.mode?i.forEach(function(e){e.editRender&&(e.model.value=Vn.getCellValue(s,e),e.model.update=!1)}):(u.value=Vn.getCellValue(s,c),u.update=!1),this.$nextTick(function(){n.handleFocus(e,t)})),Vn.emitEvent(this,p,[e,t])}else{var m=o.column;if(m!==c){var f=m.model;f.update&&Vn.setCellValue(s,m,f.value),this.clearValidate()}c.renderHeight=d.offsetHeight,o.args=e,o.column=c,setTimeout(function(){n.handleFocus(e,t)})}return this.$nextTick()},clearActived:function(e){var t=this.editStore,n=t.actived,a=n.args,l=n.row,i=n.column;if(l||i){var r=i.model;r.update&&(Vn.setCellValue(l,i,r.value),r.update=!1,r.value=null,this.updateFooter()),Vn.emitEvent(this,"edit-closed",[a,e])}return n.args=null,n.row=null,n.column=null,this.clearValidate().then(this.recalculate)},getActiveRow:function(){var e=this.$el,t=this.editStore,n=this.tableData,a=t.actived,l=a.args,i=a.row;return l&&n.indexOf(i)>-1&&e.querySelectorAll(".vxe-body--column.col--actived").length?Object.assign({},l):null},hasActiveRow:function(e){return this.editStore.actived.row===e},clearSelected:function(e){var t=this.editStore,n=this.elemStore,a=t.selected;a.row=null,a.column=null;var l=n["main-header-list"],i=n["main-body-list"];return o.a.arrayEach(l.querySelectorAll(".col--title-selected"),function(e){return Un.removeClass(e,"col--title-selected")}),o.a.arrayEach([i.querySelector(".col--selected")],function(e){return Un.removeClass(e,"col--selected")}),this.$nextTick()},handleSelected:function(e,t){var n=this,a=this.mouseConfig,l=void 0===a?{}:a,i=this.editConfig,r=this.editStore,o=this.elemStore,s=r.actived,c=r.selected,d=e.row,u=e.column,h=e.cell,p=function(){if((c.row!==d||c.column!==u)&&(s.row!==d||"cell"===i.mode&&s.column!==u)){if(n.clearChecked(t),n.clearIndexChecked(),n.clearHeaderChecked(),n.clearSelected(t),n.clearActived(t),c.args=e,c.row=d,c.column=u,l.selected){var a=o["main-body-list"],r=Vn.getRowid(n,d),p=a.querySelector('[data-rowid="'.concat(r,'"]')),m=p.querySelector(".".concat(u.id));Un.addClass(m,"col--selected")}if(l.checked){var f=o["main-header-list"];n.handleChecked([[h]]),n.handleHeaderChecked([[f.querySelector(".".concat(u.id))]]),n.handleIndexChecked([[h.parentNode.querySelector(".col--index")]])}}return n.$nextTick()};return p()},clearChecked:function(e){var t=this.$refs,n=this.editStore,a=this.mouseConfig,l=n.checked;if(a&&a.checked){var i=t.tableBody;l.rows=[],l.columns=[],l.tRows=[],l.tColumns=[];var r=i.$refs.checkBorders;r.style.display="none",o.a.arrayEach(i.$el.querySelectorAll(".col--checked"),function(e){return Un.removeClass(e,"col--checked")})}return this.$nextTick()},handleChecked:function(e){var t=this.editStore.checked;this.clearChecked();var n=-2,a=-2,l=0,i=0;o.a.arrayEach(e,function(e,t){var r=0===t;o.a.arrayEach(e,function(e,t){var o=0===t;o&&r&&(l=e.offsetTop,i=e.offsetLeft),r&&(n+=e.offsetWidth),o&&(a+=e.offsetHeight),Un.addClass(e,"col--checked")})});var r=this.$refs.tableBody.$refs,s=r.checkBorders,c=r.checkTop,d=r.checkRight,u=r.checkBottom,h=r.checkLeft;s.style.display="block",Object.assign(c.style,{top:"".concat(l,"px"),left:"".concat(i,"px"),width:"".concat(n,"px")}),Object.assign(d.style,{top:"".concat(l,"px"),left:"".concat(i+n,"px"),height:"".concat(a,"px")}),Object.assign(u.style,{top:"".concat(l+a,"px"),left:"".concat(i,"px"),width:"".concat(n,"px")}),Object.assign(h.style,{top:"".concat(l,"px"),left:"".concat(i,"px"),height:"".concat(a,"px")}),t.rowNodes=e},handleAllChecked:function(e){var t=this.tableData,n=this.visibleColumn,a=this.mouseConfig,l=void 0===a?{}:a,i=this.elemStore;if(l.checked){e.preventDefault();var r=i["main-header-list"],o=r.children,s=i["main-body-list"].children,c=n.find(function(e){return"index"===e.type})||n[0],d=r.querySelector(".".concat(c.id)),u=s[0],h=s[s.length-1],p=u.querySelector(".".concat(c.id)),m={$table:this,rowIndex:0,row:t[0],column:n.find(function(e){return e.property})};m.columnIndex=this.getColumnIndex(m.column),m.cell=Un.getCell(this,m),this.handleSelected(m,e),this.handleHeaderChecked(Un.getRowNodes(o,Un.getCellNodeIndex(d.nextElementSibling),Un.getCellNodeIndex(d.parentNode.lastElementChild))),this.handleIndexChecked(Un.getRowNodes(s,Un.getCellNodeIndex(p),Un.getCellNodeIndex(h.querySelector(".".concat(c.id))))),this.handleChecked(Un.getRowNodes(s,Un.getCellNodeIndex(p.nextElementSibling),Un.getCellNodeIndex(h.lastElementChild)))}},handleIndexChecked:function(e){var t=this.editStore.indexs;this.clearIndexChecked(),o.a.arrayEach(e,function(e){o.a.arrayEach(e,function(e){Un.addClass(e,"col--index-checked")})}),t.rowNodes=e},clearIndexChecked:function(){var e=this.elemStore,t=e["main-body-list"];return o.a.arrayEach(t.querySelectorAll(".col--index-checked"),function(e){return Un.removeClass(e,"col--index-checked")}),this.$nextTick()},handleHeaderChecked:function(e){var t=this.editStore.titles;this.clearHeaderChecked(),o.a.arrayEach(e,function(e){o.a.arrayEach(e,function(e){Un.addClass(e,"col--title-checked")})}),t.rowNodes=e},clearHeaderChecked:function(){var e=this.elemStore,t=e["main-header-list"];return o.a.arrayEach(t.querySelectorAll(".col--title-checked"),function(e){return Un.removeClass(e,"col--title-checked")}),this.$nextTick()},clearCopyed:function(){var e=this.$refs,t=this.editStore,n=this.keyboardConfig,a=t.copyed;if(n&&n.isCut){var l=e.tableBody,i=e.tableBody.$refs.copyBorders;a.cut=!1,a.rows=[],a.columns=[],i.style.display="none",o.a.arrayEach(l.$el.querySelectorAll(".col--copyed"),function(e){return Un.removeClass(e,"col--copyed")})}return this.$nextTick()},handleCopyed:function(e,t){var n=this.tableData,a=this.tableColumn,l=this.editStore,i=l.copyed,r=l.checked,s=r.rowNodes;this.clearCopyed();var c=-3,d=-3,u=0,h=0,p=[],m=[];if(s.length){var f=s[0],b=Un.getCellNodeIndex(f[0]),g=b.rowIndex,v=b.columnIndex;p=a.slice(v,v+f.length),m=n.slice(g,g+s.length)}o.a.arrayEach(s,function(e,t){var n=0===t;o.a.arrayEach(e,function(e,t){var a=0===t;a&&n&&(u=e.offsetTop,h=e.offsetLeft),n&&(c+=e.offsetWidth),a&&(d+=e.offsetHeight),Un.addClass(e,"col--copyed")})});var x=this.$refs.tableBody.$refs,w=x.copyBorders,y=x.copyTop,C=x.copyRight,T=x.copyBottom,S=x.copyLeft;w.style.display="block",Object.assign(y.style,{top:"".concat(u,"px"),left:"".concat(h,"px"),width:"".concat(c,"px")}),Object.assign(C.style,{top:"".concat(u,"px"),left:"".concat(h+c,"px"),height:"".concat(d,"px")}),Object.assign(T.style,{top:"".concat(u+d,"px"),left:"".concat(h,"px"),width:"".concat(c,"px")}),Object.assign(S.style,{top:"".concat(u,"px"),left:"".concat(h,"px"),height:"".concat(d,"px")}),i.cut=e,i.rows=m,i.columns=p,i.rowNodes=s},handlePaste:function(e){var t=this.tableData,n=this.visibleColumn,a=this.editStore,l=this.elemStore,i=a.copyed,r=a.selected,s=i.cut,c=i.rows,d=i.columns;if(c.length&&d.length&&r.row&&r.column){var u=r.args,h=u.rowIndex,p=u.columnIndex;o.a.arrayEach(c,function(e,a){var l=t[h+a];l&&o.a.arrayEach(d,function(t,a){var i=n[p+a];i&&Vn.setCellValue(l,i,Vn.getCellValue(e,t)),s&&Vn.setCellValue(e,t,null)})}),s&&this.clearCopyed();var m=l["main-body-list"].children,f=r.args.cell,b=f.parentNode,g=o.a.arrayIndexOf(b.children,f),v=o.a.arrayIndexOf(m,b),x=m[v+c.length-1],w=x.children[g+d.length-1];this.handleChecked(Un.getRowNodes(m,Un.getCellNodeIndex(f),Un.getCellNodeIndex(w)))}},handleFocus:function(e,t){var n=e.column,a=e.cell,l=n.editRender;if(l){var i,r=Mn["b"].get(l.name),o=l.autofocus,s=l.autoselect;if(o&&(i=a.querySelector(o)),!i&&r&&r.autofocus&&(i=a.querySelector(r.autofocus)),i&&(i[s?"select":"focus"](),ra.msie)){var c=i.createTextRange();c.collapse(!1),c.select()}}},setActiveRow:function(e){return this.setActiveCell(e,this.visibleColumn.find(function(e){return e.editRender}).property)},setActiveCell:function(e,t){var n=this;return this.scrollToRow(e,!0).then(function(){if(e&&t){var a=n.visibleColumn.find(function(e){return e.property===t});if(a&&a.editRender){var l=Un.getCell(n,{row:e,column:a});l&&(n.handleActived({row:e,rowIndex:n.getRowIndex(e),column:a,columnIndex:n.getColumnIndex(a),cell:l,$table:n}),n.lastCallTime=Date.now())}}return n.$nextTick()})},setSelectCell:function(e,t){var n=this.tableData,a=this.editConfig,l=this.visibleColumn;if(e&&t&&"manual"!==a.trigger){var i=l.find(function(e){return e.property===t}),r=n.indexOf(e);if(r>-1&&i){var o=Un.getCell(this,{row:e,rowIndex:r,column:i}),s={row:e,rowIndex:r,column:i,columnIndex:l.indexOf(i),cell:o};this.handleSelected(s,{})}}return this.$nextTick()},triggerSortEvent:function(e,t,n,a){t.order===a?this.clearSort(t.property):this.sort(t.property,a)},sort:function(e,t){var n=this.visibleColumn,a=this.tableFullColumn,l=this.remoteSort,i=n.find(function(t){return t.property===e}),r=o.a.isBoolean(i.remoteSort)?i.remoteSort:l;return i.sortable||i.remoteSort?(t||(t="desc"===i.order?"asc":"desc"),i.order!==t&&(a.forEach(function(e){e.order=null}),i.order=t,r||this.handleData(!0),Vn.emitEvent(this,"sort-change",[{column:i,property:e,prop:e,field:e,order:t,$table:this}])),this.$nextTick().then(this.updateStyle)):this.$nextTick()},clearSort:function(e){var t=arguments.length?this.getColumnByField(e):null;return t?t.order=null:this.tableFullColumn.forEach(function(e){e.order=null}),this.handleData(!0)},filter:function(e,t){var n=this.getColumnByField(e),a=n.filters;if(t){var l=t(a);o.a.isArray(l)&&(n.filters=Vn.getFilters(l))}return Promise.resolve(a)},triggerFilterEvent:function(e,t,n){var a=this.$refs,l=this.filterStore,i=this.overflowX;if(l.column===t&&l.visible)l.visible=!1;else{var r=e.target,o=a.tableBody.$el,s=a.filterWrapper,c=Un.getOffsetPos(r),d=c.top,u=c.left;i&&(u-=o.scrollLeft),Object.assign(l,{args:n,multiple:t.filterMultiple,options:t.filters,column:t,style:{zIndex:An["a"].tooltip.zIndex,top:"".concat(d+r.clientHeight+6,"px"),left:"".concat(u,"px")},visible:!0}),l.isAllSelected=l.options.every(function(e){return e.checked}),l.isIndeterminate=!l.isAllSelected&&l.options.some(function(e){return e.checked}),this.$nextTick(function(){var e=s.$el;l.style.top="".concat(d+r.clientHeight+6,"px"),l.style.left="".concat(u-e.clientWidth/2+10,"px")})}},confirmFilterEvent:function(e){var t=this.visibleColumn,n=this.filterStore,a=this.remoteFilter,l=this.scrollXLoad,i=this.scrollYLoad,r=n.column,o=r.property,s=[],c=[];r.filters.forEach(function(e){e.checked&&(s.push(e.value),c.push(e.data))}),n.visible=!1,a||this.handleData(!0);var d=[];t.filter(function(e){var t=e.property,n=e.filters,a=[],l=[];n&&n.length&&(n.forEach(function(e){e.checked&&(a.push(e.value),l.push(e.data))}),d.push({column:e,property:t,field:t,prop:t,values:a,datas:l}))}),Vn.emitEvent(this,"filter-change",[{column:r,property:o,field:o,prop:o,values:s,datas:c,filters:d,$table:this}]),(l||i)&&(this.clearScroll(),i&&this.updateScrollYSpace()),this.closeFilter(),this.$nextTick(this.recalculate)},closeFilter:function(e){return Object.assign(this.filterStore,{isAllSelected:!1,isIndeterminate:!1,options:[],visible:!1}),this.$nextTick()},resetFilterEvent:function(e){this.filterStore.options.forEach(function(e){e.checked=!1,e.data=e._data}),this.confirmFilterEvent(e)},clearFilter:function(e){var t=arguments.length?this.getColumnByField(e):null,n=this.filterStore,a=function(e){var t=e.filters;t&&t.length&&t.forEach(function(e){e.checked=!1,e.data=e._data})};return t?a(t):this.visibleColumn.forEach(a),t&&t===n.column||Object.assign(n,{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1}),this.handleData(!0).then(this.recalculate)},triggerRowExpandEvent:function(e,t){var n=t.row,a=this.toggleRowExpansion(n);return Vn.emitEvent(this,"toggle-expand-change",[{row:n,rowIndex:this.getRowIndex(n),$table:this},e]),a},toggleRowExpansion:function(e){return this.setRowExpansion(e)},handleDefaultRowExpand:function(){var e=this.expandConfig,t=void 0===e?{}:e,n=this.tableFullData,a=this.fullDataRowIdData,l=t.expandAll,i=t.expandRowKeys;if(l)this.expandeds=n.slice(0);else if(i){var r=[];i.forEach(function(e){a[e]&&r.push(a[e].row)}),this.expandeds=r}},setAllRowExpansion:function(e){return this.expandeds=e?this.tableFullData.slice(0):[],this.$nextTick()},setRowExpansion:function(e,t){var n=this.expandeds,a=this.expandConfig,l=void 0===a?{}:a,i=1===arguments.length;return e&&(o.a.isArray(e)||(e=[e]),l.accordion&&(n.length=0,e=e.slice(e.length-1,e.length)),e.forEach(function(e){var a=n.indexOf(e);a>-1?!i&&t||n.splice(a,1):(i||t)&&n.push(e)})),this.$nextTick()},hasRowExpand:function(e){return this.expandeds.indexOf(e)>-1},clearRowExpand:function(){return this.expandeds=[],this.$nextTick()},triggerTreeExpandEvent:function(e,t){var n=this,a=t.row,l=this.currentRow,i=this.currentColumn,r=this.toggleTreeExpansion(a);return Vn.emitEvent(this,"toggle-tree-change",[{row:a,rowIndex:this.getRowIndex(a),$table:this},e]),l?this.$nextTick(function(){return n.setCurrentRow(l)}):i&&this.$nextTick(function(){return n.setCurrentColumn(i)}),r},toggleTreeExpansion:function(e){return this.setTreeExpansion(e)},handleDefaultTreeExpand:function(){var e=this.treeConfig,t=this.tableFullData;if(e){var n=e.expandAll,a=e.expandRowKeys,l=e.children,i=[];if(n)o.a.filterTree(t,function(e){var t=e[l];t&&t.length&&i.push(e)},e),this.treeExpandeds=i;else if(a){var r=Vn.getRowkey(this);a.forEach(function(n){var a=o.a.findTree(t,function(e){return n===o.a.get(e,r)},e),s=a?a.item[l]:0;s&&s.length&&i.push(a.item)}),this.treeExpandeds=i}}},setAllTreeExpansion:function(e){var t=this.tableFullData,n=this.treeConfig,a=n.children,l=[];return e&&o.a.eachTree(t,function(e){var t=e[a];t&&t.length&&l.push(e)},n),this.treeExpandeds=l,this.$nextTick()},setTreeExpansion:function(e,t){var n=this.tableFullData,a=this.treeExpandeds,l=this.treeConfig,i=l.children,r=1===arguments.length;return e&&(o.a.isArray(e)||(e=[e]),l.accordion&&(e=e.slice(e.length-1,e.length)),e.forEach(function(e){var s=e[i];if(s&&s.length){var c=a.indexOf(e);if(l.accordion){var d=o.a.findTree(n,function(t){return t===e},l);o.a.remove(a,function(e){return d.items.indexOf(e)>-1})}c>-1?!r&&t||a.splice(c,1):(r||t)&&a.push(e)}})),this.$nextTick()},hasTreeExpand:function(e){return this.treeExpandeds.indexOf(e)>-1},clearTreeExpand:function(){return this.treeExpandeds=[],this.$nextTick()},getVirtualScroller:function(){var e=this.$refs,t=this.scrollXLoad,n=this.scrollYLoad,a=e.tableBody.$el;return{scrollX:t,scrollY:n,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}},triggerScrollXEvent:function(e){for(var t=this.$refs,n=this.visibleColumn,a=this.scrollXStore,l=a.startIndex,i=a.renderSize,r=a.offsetSize,o=a.visibleSize,s=t.tableBody.$el,c=s.scrollLeft,d=0,u=0,h=!1,p=0;pd?(h=d-r<=l,h&&(a.startIndex=Math.max(0,d-Math.max(m,i-o)))):(h=d+o+r>=l+i,h&&(a.startIndex=Math.max(0,Math.min(n.length-i,d-m)))),h&&this.updateScrollXData(),a.visibleIndex=d}this.clostTooltip()},triggerScrollYEvent:function(e){oa&&this.scrollYStore.adaptive?this.loadScrollYData(e):this.debounceScrollY(e)},debounceScrollY:o.a.debounce(function(e){this.loadScrollYData(e)},sa,{leading:!1,trailing:!0}),loadScrollYData:function(e){var t=this.afterFullData,n=this.scrollYStore,a=n.startIndex,l=n.renderSize,i=n.offsetSize,r=n.visibleSize,o=n.rowHeight,s=e.target,c=s.scrollTop,d=Math.ceil(c/o),u=!1;if(n.visibleIndex!==d){var h=Math.min(Math.floor((l-r)/2),r);n.visibleIndex>d?(u=d-i<=a,u&&(n.startIndex=Math.max(0,d-Math.max(h,l-r)))):(u=d+r+i>=a+l,u&&(n.startIndex=Math.max(0,Math.min(t.length-l,d-h)))),u&&this.updateScrollYData(),n.visibleIndex=d}},computeScrollLoad:function(){var e=this;return this.$nextTick().then(function(){var t=e.vSize,n=e.scrollXLoad,a=e.scrollYLoad,l=e.scrollYStore,i=e.scrollXStore,r=e.visibleColumn,s=e.optimizeOpts,c=s.scrollX,d=s.scrollY,u=e.$refs.tableBody,h=u?u.$el:null,p=e.$refs.tableHeader;if(h){if(n){var m=r[0],f=m?m.renderWidth:40,b=o.a.toNumber(c.vSize||Math.ceil(h.clientWidth/f));i.visibleSize=b,c.oSize||(i.offsetSize=b),c.rSize||(i.renderSize=b+2),e.updateScrollXData()}else e.updateScrollXSpace();if(a){var g;if(d.rHeight)g=d.rHeight;else{var v=h.querySelector("tbody>tr");!v&&p&&(v=p.$el.querySelector("thead>tr")),v&&(g=v.clientHeight)}if(!g)switch(t){case"medium":g=44;break;case"small":g=40;break;case"mini":g=36;break;default:g=48;break}var x=o.a.toNumber(d.vSize||Math.ceil(h.clientHeight/g));l.visibleSize=x,l.rowHeight=g,d.oSize||(l.offsetSize=x),d.rSize||(l.renderSize=ra.firefox?6*x:ra.edge?10*x:oa?x+2:6*x),e.updateScrollYData()}else e.updateScrollYSpace()}e.$nextTick(e.updateStyle)})},updateScrollXData:function(){var e=this.visibleColumn,t=this.scrollXStore;this.tableColumn=e.slice(t.startIndex,t.startIndex+t.renderSize),this.updateScrollXSpace()},updateScrollXSpace:function(){var e=this.$refs,t=this.elemStore,n=this.visibleColumn,a=this.scrollXStore,l=this.scrollXLoad,i=this.tableWidth,r=this.scrollbarWidth,o=e.tableHeader,s=e.tableBody,c=e.tableFooter,d=o?o.$el.querySelector(".vxe-table--header"):null,u=s.$el.querySelector(".vxe-table--body"),h=c?c.$el.querySelector(".vxe-table--footer"):null,p=n.slice(0,a.startIndex).reduce(function(e,t){return e+t.renderWidth},0),m="";l&&(m="".concat(p,"px")),d&&(d.style.marginLeft=m),u.style.marginLeft=m,h&&(h.style.marginLeft=m);var f=["main"];f.forEach(function(e){var n=["header","body","footer"];n.forEach(function(n){var a=t["".concat(e,"-").concat(n,"-xSpace")];a&&(a.style.width=l?"".concat(i+("header"===n?r:0),"px"):"")})}),this.$nextTick(this.updateStyle)},updateScrollYData:function(){this.handleData(),this.updateScrollYSpace()},updateScrollYSpace:function(){var e=this.elemStore,t=this.scrollYStore,n=this.scrollYLoad,a=this.afterFullData,l=a.length*t.rowHeight,i=Math.max(t.startIndex*t.rowHeight,0),r=["main","left","right"],o="",s="";n&&(o="".concat(i,"px"),s="".concat(l,"px")),r.forEach(function(t){var n=["header","body","footer"],a=e["".concat(t,"-body-table")];a&&(a.style.marginTop=o),n.forEach(function(n){var a=e["".concat(t,"-").concat(n,"-ySpace")];a&&(a.style.height=s)})}),this.$nextTick(this.updateStyle)},scrollTo:function(e,t){var n=this.$refs.tableBody.$el;if(o.a.isNumber(e)){var a=this.$refs.tableFooter;a?a.$el.scrollLeft=e:n.scrollLeft=e}if(o.a.isNumber(t)){var l=this.$refs.rightBody;l&&(l.$el.scrollTop=t),n.scrollTop=t}return this.$nextTick()},scrollToRow:function(e,t,n){return e&&this.fullAllDataRowMap.has(e)&&Un.rowToVisible(this,e),this.scrollToColumn(t,n||o.a.isBoolean(t))},scrollToColumn:function(e,t){var n=this;return e&&this.fullColumnMap.has(e)&&Un.colToVisible(this,e),t&&this.scrollYLoad?new Promise(function(e){return setTimeout(function(){return e(n.$nextTick())},50)}):this.$nextTick()},clearScroll:function(){var e=this;return Object.assign(this.scrollXStore,{startIndex:0}),Object.assign(this.scrollYStore,{startIndex:0}),this.$nextTick(function(){var t=e.$refs.tableBody,n=t?t.$el:null,a=e.$refs.tableFooter,l=a?a.$el:null;n&&(n.scrollTop=0,n.scrollLeft=0),l&&(l.scrollLeft=0)}),this.$nextTick()},updateFooter:function(){var e=this.showFooter,t=this.tableColumn,n=this.footerMethod;return e&&n&&(this.footerData=t.length?n({columns:t,data:this.tableFullData}):[]),this.$nextTick()},updateStatus:function(e,t){var n=this,a=!o.a.isUndefined(t);return this.$nextTick().then(function(){var l=n.$refs,i=n.tableData,r=n.editRules,o=n.validStore;if(e&&l.tableBody&&r){var s=e.row,c=e.column,d="change";if(n.hasCellRules(d,s,c)){var u=i.indexOf(s),h=Un.getCell(n,{row:s,rowIndex:u,column:c});if(h)return n.validCellRules(d,s,c,t).then(function(){a&&o.visible&&Vn.setCellValue(s,c,t),n.clearValidate()}).catch(function(e){var l=e.rule;a&&Vn.setCellValue(s,c,t),n.showValidTooltip({rule:l,row:s,column:c,cell:h})})}}})},triggerValidate:function(e){var t=this,n=this.editConfig,a=this.editStore,l=this.editRules,i=this.validStore,r=a.actived;if(r.row&&l){var o=r.args,s=o.row,c=o.column,d=o.cell;if(this.hasCellRules(e,s,c))return this.validCellRules(e,s,c).then(function(){"row"===n.mode&&i.visible&&i.row===s&&i.column===c&&t.clearValidate()}).catch(function(n){var a=n.rule;if(!a.trigger||e===a.trigger){var l={rule:a,row:s,column:c,cell:d};return t.showValidTooltip(l),Promise.reject(l)}return Promise.resolve()})}return Promise.resolve()},fullValidate:function(e,t){return this.beginValidate(e,t,!0)},validate:function(e,t){return this.beginValidate(e,t)},beginValidate:function(e,t,n){var a=this,l={},i=!0,r=this.editRules,s=this.tableData,c=this.tableFullData,d=this.scrollYLoad,u=d?c:s;e&&(o.a.isFunction(e)?t=e:u=o.a.isArray(e)?e:[e]);var h=[];if(this.lastCallTime=Date.now(),this.clearValidate(),r){var p=this.getColumns();return u.forEach(function(e){var t=[];p.forEach(function(i,s){o.a.has(r,i.property)&&t.push(new Promise(function(t,r){a.validCellRules("all",e,i).then(t).catch(function(o){var c=o.rule,d=o.rules,u={rule:c,rules:d,rowIndex:a.getRowIndex(e),row:e,columnIndex:s,column:i,$table:a};return n?(l[i.property]||(l[i.property]=[]),l[i.property].push(u),t()):r(u)})}))}),h.push(Promise.all(t))}),Promise.all(h).then(function(){var e=Object.keys(l);if(e.length)return Promise.reject(l[e[0]][0]);t&&t(i)}).catch(function(e){var r=n?l:Object(Dn["a"])({},e.column.property,e);return new Promise(function(n,l){var o=function(){e.cell=Un.getCell(a,e),a.handleValidError(e),t?(i=!1,n(t(i,r))):l(r)};d?a.scrollToRow(e.row,!0).then(o):o()})})}return t&&t(i),Promise.resolve(!0)},hasCellRules:function(e,t,n){var a=this.editRules,l=n.property;if(l&&a){var i=o.a.get(a,l);return i&&i.find(function(t){return"all"===e||!t.trigger||e===t.trigger})}return!1},validCellRules:function(e,t,n,a){var l=this,i=this.editRules,r=n.property,s=[],c=[];if(r&&i){var d=o.a.get(i,r),u=o.a.isUndefined(a)?o.a.get(t,r):a;d&&d.forEach(function(a){c.push(new Promise(function(i){var r=!0===a.required;if("all"!==e&&a.trigger&&e!==a.trigger)i();else if(o.a.isFunction(a.validator))a.validator(a,u,function(e){if(o.a.isError(e)){var t={type:"custom",trigger:a.trigger,message:e.message,rule:new ca(a)};s.push(new ca(t))}return i()},{rules:d,row:t,column:n,rowIndex:l.getRowIndex(t),columnIndex:l.getColumnIndex(n)});else{var c,h=u,p="number"===a.type,m=null===u||void 0===u||""===u;p?h=o.a.toNumber(u):c=o.a.getSize(h),r&&m?s.push(new ca(a)):(p&&isNaN(u)||o.a.isRegExp(a.pattern)&&!a.pattern.test(u)||o.a.isNumber(a.min)&&(p?ha.max:c>a.max))&&s.push(new ca(a)),i()}}))})}return Promise.all(c).then(function(){if(s.length){var e={rules:s,rule:s[0]};return Promise.reject(e)}})},clearValidate:function(){var e=this.$refs.validTip;return Object.assign(this.validStore,{visible:!1,row:null,column:null,content:"",rule:null}),e&&e.visible&&e.close(),this.$nextTick()},handleValidError:function(e){var t=this;this.handleActived(e,{type:"valid-error",trigger:"call"}).then(function(){return t.showValidTooltip(e)})},showValidTooltip:function(e){var t=this,n=this.$refs,a=this.height,l=this.tableData,i=this.validOpts,r=e.rule,o=e.row,s=e.column,c=e.cell,d=n.validTip,u=r.message;this.$nextTick(function(){Object.assign(t.validStore,{row:o,column:s,rule:r,content:u,visible:!0}),d&&("tooltip"===i.message||"default"===i.message&&!a&&l.length<2)&&d.toVisible(c,u),Vn.emitEvent(t,"valid-error",[e])})},exportCsv:function(e){var t=this.visibleColumn,n=this.scrollXLoad,a=this.scrollYLoad,l=this.treeConfig,i=Object.assign({filename:"table.csv",original:!!l,isHeader:!0,isFooter:!0,download:!0,data:null,columns:null,columnFilterMethod:function(e){return-1===["index","selection","radio"].indexOf(e.type)&&e.property},dataFilterMethod:null},e);-1===i.filename.indexOf(".csv")&&(i.filename+=".csv"),i.original||(n||a)&&(i.original=!0,Vn.warn("vxe.error.scrollOriginal"));var r=t,s=this.tableFullData;return l&&(s=o.a.toTreeArray(s,l)),Jn.downloadCsc(i,Jn.getCsvContent(this,i,r,s))},connect:function(e){var t=e.toolbar;this._toolbar=t},getEventTargetNode:Un.getEventTargetNode}},ma=pa;pa.install=function(e){Mn["c"].Vue=e,Mn["c"].Table=ma,e.component(pa.name,pa)};var fa,ba=pa,ga={name:"VxeTableColumn",props:{type:String,prop:String,label:String,field:String,title:String,width:[Number,String],minWidth:[Number,String],resizable:{type:Boolean,default:null},fixed:String,align:String,headerAlign:String,showOverflow:{type:[Boolean,String],default:null},showHeaderOverflow:{type:[Boolean,String],default:null},formatter:[Function,Array,String],indexMethod:Function,sortable:Boolean,remoteSort:{type:Boolean,default:null},sortBy:[String,Array],filters:Array,filterMultiple:{type:Boolean,default:!0},filterMethod:Function,filterRender:Object,treeNode:Boolean,cellRender:Object,editRender:Object,params:Object},inject:["$table"],created:function(){this.columnConfig=this.createColumn(this.$table,this)},mounted:function(){Vn.assemColumn(this)},destroyed:function(){Vn.destroyColumn(this)},render:function(e){return e("div",this.$slots.default)},methods:la,install:function(e){e.component(ga.name,ga)}},va=ga,xa=function e(t){var n=[];return t.forEach(function(t){t.visible&&(t.children&&t.children.length&&t.children.some(function(e){return e.visible})?(n.push(t),n.push.apply(n,e(t.children))):n.push(t))}),n},wa=function(e){var t=1,n=function e(n,a){if(a&&(n.level=a.level+1,t1:"inline"===L.message),ne={"data-colid":u.id},ae=V&&N&&"dblclick"===N.trigger,le={$table:n,$seq:a,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,data:v};if(!C&&!T||J||(K=!0),(U||Y||g["cell-mouseenter"])&&(Q.mouseenter=function(e){if(!Ta(n)){var t={$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget};U?Un.updateCellTitle(e):Y&&n.triggerTooltipEvent(e,t),Vn.emitEvent(n,"cell-mouseenter",[t,e])}}),(Y||g["cell-mouseleave"])&&(Q.mouseleave=function(e){Ta(n)||(Y&&n.clostTooltip(),Vn.emitEvent(n,"cell-mouseleave",[{$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget},e]))}),(F.checked||F.selected)&&(Q.mousedown=function(e){n.triggerCellMousedownEvent(e,{$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget})}),(S||g["cell-click"]||F.checked||V&&N||"row"===j.trigger||"radio"===u.type&&"cell"===j.trigger||"row"===z.trigger||"selection"===u.type&&"cell"===z.trigger||"row"===M.trigger||u.treeNode&&"cell"===M.trigger)&&(Q.click=function(e){n.triggerCellClickEvent(e,{$table:n,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget})}),(ae||g["cell-dblclick"])&&(Q.dblclick=function(e){n.triggerCellDBLClickEvent(e,{$table:n,seq:l,row:s,rowIndex:c,$rowIndex:d,column:u,columnIndex:h,$columnIndex:p,fixed:i,isHidden:X,level:r,cell:e.currentTarget})}),O){var ie=O(le)||{},re=ie.rowspan,oe=void 0===re?1:re,se=ie.colspan,ce=void 0===se?1:se;if(!oe||!ce)return null;ne.rowspan=oe,ne.colspan=ce}return!X&&N&&N.showStatus&&(f=n.hasRowChange(s,u.property)),e("td",{class:["vxe-body--column",u.id,(m={},Object(Dn["a"])(m,"col--".concat(Z),Z),Object(Dn["a"])(m,"col--edit",V),Object(Dn["a"])(m,"col--index","index"===u.type),Object(Dn["a"])(m,"col--ellipsis",J),Object(Dn["a"])(m,"edit--visible",V&&"visible"===V.type),Object(Dn["a"])(m,"fixed--hidden",X),Object(Dn["a"])(m,"col--dirty",f),Object(Dn["a"])(m,"col--actived",N&&V&&q.row===s&&(q.column===u||"row"===N.mode)),Object(Dn["a"])(m,"col--valid-error",ee),m),R?o.a.isFunction(R)?R(le):R:""],key:w?u.id:h,attrs:ne,on:Q},k&&X?[]:[e("div",{class:["vxe-cell",{"c--title":U,"c--tooltip":Y,"c--ellipsis":K}],attrs:{title:U?Vn.getCellLabel(s,u,le):null}},u.renderCell(e,le)),te?ee?e("div",{class:"vxe-cell--valid",style:H.rule&&H.rule.width?{width:"".concat(H.rule.width,"px")}:null},[e("span",{class:"vxe-cell--valid-msg"},H.content)]):b():null])}function Ea(e,t,n,a,l,i,r,s){var c=n.rowKey,d=n.highlightHoverRow,u=n.rowClassName,h=n.treeConfig,p=n.treeExpandeds,m=n.scrollYLoad,f=n.scrollYStore,b=n.editStore,g=n.expandeds,v=n.getColumnIndex,x=[];return r.forEach(function(r,w){var y,C={},T=w,S=T+1;m&&(S+=f.startIndex),T=n.getRowIndex(r),d&&(C.mouseenter=function(e){Ta(n)||n.triggerHoverEvent(e,{row:r,rowIndex:T})});var k=Vn.getRowid(n,r);if(x.push(e("tr",{class:["vxe-body--row",(y={},Object(Dn["a"])(y,"row--level-".concat(l),h),Object(Dn["a"])(y,"row--new",b.insertList.indexOf(r)>-1),y),u?o.a.isFunction(u)?u({$table:n,$seq:a,seq:S,fixedType:i,rowLevel:l,row:r,rowIndex:T,$rowIndex:w}):u:""],attrs:{"data-rowid":k},key:c||h?k:w,on:C},s.map(function(o,s){var c=v(o);return ka(e,t,n,a,S,i,l,r,T,w,o,c,s)}))),g.length&&g.indexOf(r)>-1){var E,R=s.find(function(e){return"expand"===e.type}),O=v(R);h&&(E={paddingLeft:"".concat(l*(h.indent||16)+30,"px")}),R&&x.push(e("tr",{class:"vxe-body--expanded-row",key:"expand_".concat(k),on:C},[e("td",{class:"vxe-body--expanded-column",attrs:{colspan:s.length}},[e("div",{class:"vxe-body--expanded-cell",style:E},[R.renderData(e,{$table:n,seq:S,row:r,rowIndex:T,column:R,columnIndex:O,fixed:i,level:l})])])]))}if(h&&p.length){var $=r[h.children];$&&$.length&&p.indexOf(r)>-1&&x.push.apply(x,Ea(e,t,n,a?"".concat(a,".").concat(S):"".concat(S),l+1,i,$,s))}}),x}function Ra(e,t,n){(t||n)&&(t&&(t.onscroll=null,t.scrollTop=e),n&&(n.onscroll=null,n.scrollTop=e),clearTimeout(fa),fa=setTimeout(function(){t&&(t.onscroll=t._onscroll),n&&(n.onscroll=n._onscroll)},100))}var Oa={name:"VxeTableBody",props:{tableData:Array,tableColumn:Array,visibleColumn:Array,collectColumn:Array,fixedColumn:Array,size:String,fixedType:String,isGroup:Boolean},mounted:function(){var e=this.$parent,t=this.$el,n=this.$refs,a=this.fixedType,l=e.elemStore,i="".concat(a||"main","-body-");l["".concat(i,"wrapper")]=t,l["".concat(i,"table")]=n.table,l["".concat(i,"colgroup")]=n.colgroup,l["".concat(i,"list")]=n.tbody,l["".concat(i,"xSpace")]=n.xSpace,l["".concat(i,"ySpace")]=n.ySpace,l["".concat(i,"emptyBlock")]=n.emptyBlock,this.$el.onscroll=this.scrollEvent,this.$el._onscroll=this.scrollEvent},beforeDestroy:function(){this.$el._onscroll=null,this.$el.onscroll=null},render:function(e){var t=this._e,n=this.$parent,a=this.fixedColumn,l=this.fixedType,i=n.tableData,r=n.tableColumn,o=n.showOverflow,s=n.scrollXLoad,c=n.mouseConfig,d=void 0===c?{}:c,u=n.keyboardConfig,h=void 0===u?{}:u;return l&&o?r=a:s&&l&&(r=a),e("div",{class:["vxe-table--body-wrapper",l?"fixed-".concat(l,"--wrapper"):"body--wrapper"]},[l?t():e("div",{class:"vxe-body--x-space",ref:"xSpace"}),e("div",{class:"vxe-body--y-space",ref:"ySpace"}),e("table",{class:"vxe-table--body",attrs:{cellspacing:0,cellpadding:0,border:0},ref:"table"},[e("colgroup",{ref:"colgroup"},r.map(function(t,n){return e("col",{attrs:{name:t.id},key:n})})),e("tbody",{ref:"tbody"},Ea(e,this,n,"",0,l,i,r))]),l||!d.checked&&!h.isCut?null:e("div",{class:"vxe-table--borders"},[d.checked?Sa(e,"check"):null,h.isCut?Sa(e,"copy"):null]),l?null:e("div",{class:"vxe-table--empty-block".concat(i.length?"":" is--visible"),ref:"emptyBlock"},[e("span",{class:"vxe-table--empty-text"},n.$slots.empty||An["a"].i18n("vxe.table.emptyText"))])])},methods:{scrollEvent:function(e){var t=this.$parent,n=this.fixedType,a=t.$refs,l=t.highlightHoverRow,i=t.scrollXLoad,r=t.scrollYLoad,o=t.lastScrollTop,s=t.lastScrollLeft,c=a.tableHeader,d=a.tableBody,u=a.leftBody,h=a.rightBody,p=c?c.$el:null,m=d.$el,f=u?u.$el:null,b=h?h.$el:null,g=m.scrollTop,v=m.scrollLeft,x=v!==s,w=g!==o;t.lastScrollTop=g,t.lastScrollLeft=v,t.lastScrollTime=Date.now(),l&&t.clearHoverRow(),f&&"left"===n?(g=f.scrollTop,Ra(g,m,b)):b&&"right"===n?(g=b.scrollTop,Ra(g,m,f)):(x&&p&&(p.scrollLeft=m.scrollLeft),(f||b)&&(t.checkScrolling(),w&&Ra(g,f,b))),i&&x&&(t.triggerScrollXEvent(e),p&&v+m.clientWidth>=m.scrollWidth&&this.$nextTick(function(){m.scrollLeft!==p.scrollLeft&&(p.scrollLeft=m.scrollLeft)})),r&&w&&t.triggerScrollYEvent(e),Vn.emitEvent(t,"scroll",[{type:"body",fixed:n,scrollTop:g,scrollLeft:v,isX:x,isY:w,$table:t},e])}},install:function(e){e.component(Oa.name,Oa)}},$a=Oa,ja={name:"VxeTableFooter",props:{footerData:Array,tableColumn:Array,visibleColumn:Array,fixedColumn:Array,size:String,fixedType:String},mounted:function(){var e=this.$parent,t=this.$el,n=this.$refs,a=this.fixedType,l=e.elemStore,i="".concat(a||"main","-footer-");l["".concat(i,"wrapper")]=t,l["".concat(i,"table")]=n.table,l["".concat(i,"colgroup")]=n.colgroup,l["".concat(i,"list")]=n.tfoot,l["".concat(i,"x-space")]=n.xSpace},render:function(e){var t=this._e,n=this.$parent,a=this.fixedType,l=this.fixedColumn,i=this.tableColumn,r=this.footerData,s=n.$listeners,c=n.footerRowClassName,d=n.footerCellClassName,u=n.scrollXLoad,h=n.columnKey,p=n.showOverflow,m=n.overflowX,f=n.getColumnIndex;return a&&p?i=l:u&&a&&(i=l),e("div",{class:["vxe-table--footer-wrapper",a?"fixed-".concat(a,"--wrapper"):"body--wrapper"],on:{scroll:this.scrollEvent}},[a?t():e("div",{class:"vxe-body--x-space",ref:"xSpace"}),e("table",{class:"vxe-table--footer",attrs:{cellspacing:0,cellpadding:0,border:0},ref:"table"},[e("colgroup",{ref:"colgroup"},i.map(function(t,n){return e("col",{attrs:{name:t.id},key:n})}).concat([e("col",{name:"col--gutter"})])),e("tfoot",{ref:"tfoot"},r.map(function(t,l){return e("tr",{class:["vxe-footer--row",c?o.a.isFunction(c)?c({$table:n,$rowIndex:l,fixed:a}):c:""]},i.map(function(i,r){var c,u=i.showOverflow,b=i.children&&i.children.length,g=a?i.fixed!==a&&!b:i.fixed&&m,v=o.a.isUndefined(u)||o.a.isNull(u)?p:u,x="ellipsis"===v,w="title"===v,y=!0===v||"tooltip"===v,C=w||y||x,T={},S=f(i);return(w||y)&&(T.mouseover=function(e){w?Un.updateCellTitle(e):y&&n.triggerFooterTooltipEvent(e,{$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a})}),y&&(T.mouseout=function(e){n.clostTooltip()}),s["header-cell-click"]&&(T.click=function(e){Vn.emitEvent(n,"header-cell-click",[{$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a,cell:e.currentTarget},e])}),s["header-cell-dblclick"]&&(T.dblclick=function(e){Vn.emitEvent(n,"header-cell-dblclick",[{$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a,cell:e.currentTarget},e])}),e("td",{class:["vxe-footer--column",i.id,(c={},Object(Dn["a"])(c,"col--".concat(i.headerAlign),i.headerAlign),Object(Dn["a"])(c,"fixed--hidden",g),Object(Dn["a"])(c,"col--ellipsis",C),Object(Dn["a"])(c,"filter--active",i.filters.some(function(e){return e.checked})),c),d?o.a.isFunction(d)?d({$table:n,$rowIndex:l,column:i,columnIndex:S,$columnIndex:r,fixed:a}):d:""],attrs:{"data-colid":i.id},on:T,key:h?i.id:S},[e("div",{class:"vxe-cell"},Vn.formatText(t[n.tableColumn.indexOf(i)],1))])}).concat([e("td",{class:"col--gutter"})]))}))])])},methods:{scrollEvent:function(e){var t=this.$parent,n=this.fixedType,a=t.$refs,l=t.scrollXLoad,i=t.triggerScrollXEvent,r=t.lastScrollLeft,o=a.tableHeader,s=o?o.$el:null,c=a.tableBody.$el,d=a.tableFooter.$el,u=d.scrollLeft,h=u!==r;t.lastScrollLeft=u,t.lastScrollTime=Date.now(),s&&(s.scrollLeft=u),c&&(c.scrollLeft=u),l&&h&&i(e),Vn.emitEvent(t,"scroll",[{type:"footer",fixed:n,scrollTop:c.scrollTop,scrollLeft:u,isX:h,isY:!1,$table:t},e])}},install:function(e){e.component(ja.name,ja)}},Ia=ja,za={name:"VxeTableFilter",props:{filterStore:Object,optimizeOpts:Object},render:function(e){var t=this.filterStore,n=this.optimizeOpts;return e("div",{class:["vxe-table--filter-wrapper","filter--prevent-default",{"t--animat":n.animat,"filter--active":t.visible}],style:t.style},t.visible?[e("ul",{class:"vxe-table--filter-body"},this.renderOptions(e)),this.renderFooter(e)]:[])},methods:{renderOptions:function(e){var t,n=this,a=this.$parent,l=this.filterStore,i=a.vSize,r=l.args,o=l.column,s=l.multiple,c=o.slots,d=o.own,u=d.filterRender,h=u?Mn["b"].get(u.name):null;if(c&&c.filter)return c.filter.call(a,Object.assign({$table:a,context:this},r),e);if(h&&h.renderFilter)return h.renderFilter(e,u,r,this);var p=[e("li",{class:["vxe-table--filter-option",{"is--active":!l.options.some(function(e){return e.checked})}]},[s?e("label",{class:["vxe-checkbox",(t={},Object(Dn["a"])(t,"size--".concat(i),i),Object(Dn["a"])(t,"is--indeterminate",l.isIndeterminate),t)]},[e("input",{attrs:{type:"checkbox"},domProps:{checked:l.isAllSelected},on:{change:function(e){return n.filterCheckAllEvent(e,e.target.checked)}}}),e("span",{class:"vxe-checkbox--icon"}),e("span",{class:"vxe-checkbox--label"},An["a"].i18n("vxe.table.allFilter"))]):e("span",{class:"vxe-table--filter-label",on:{click:a.resetFilterEvent}},An["a"].i18n("vxe.table.allFilter"))])];return l.options.forEach(function(t,a){p.push(e("li",{class:["vxe-table--filter-option",{"is--active":t.checked}],key:a},[s?e("label",{class:["vxe-checkbox",Object(Dn["a"])({},"size--".concat(i),i)]},[e("input",{attrs:{type:"checkbox"},domProps:{checked:t.checked},on:{change:function(e){return n.changeMultipleOption(e,e.target.checked,t)}}}),e("span",{class:"vxe-checkbox--icon"}),e("span",{class:"vxe-checkbox--label"},t.label)]):e("span",{class:"vxe-table--filter-label",on:{click:function(e){return n.changeRadioOption(e,!t.checked,t)}}},t.label)]))}),p},renderFooter:function(e){var t=this.filterStore,n=t.multiple;return n?e("div",{class:"vxe-table--filter-footer"},[e("button",{class:{"is--disabled":!t.isAllSelected&&!t.isIndeterminate},attrs:{disabled:!t.isAllSelected&&!t.isIndeterminate},on:{click:this.confirmFilter}},An["a"].i18n("vxe.table.confirmFilter")),e("button",{on:{click:this.resetFilter}},An["a"].i18n("vxe.table.resetFilter"))]):null},filterCheckAllEvent:function(e,t){var n=this.filterStore;n.options.forEach(function(e){e.checked=t}),n.isAllSelected=t,n.isIndeterminate=!1},checkOptions:function(){var e=this.filterStore;e.isAllSelected=e.options.every(function(e){return e.checked}),e.isIndeterminate=!e.isAllSelected&&e.options.some(function(e){return e.checked})},changeRadioOption:function(e,t,n){this.filterStore.options.forEach(function(e){e.checked=!1}),n.checked=t,this.checkOptions(),this.$parent.confirmFilterEvent()},changeMultipleOption:function(e,t,n){n.checked=t,this.checkOptions()},changeOption:function(e,t,n){this.filterStore.multiple?this.changeMultipleOption(e,t,n):this.changeRadioOption(e,t,n)},confirmFilter:function(){this.$parent.confirmFilterEvent()},resetFilter:function(){this.$parent.resetFilterEvent()}},install:function(e){e.component(za.name,za)}},Pa=za,Ma={name:"VxeTableLoading",props:{visible:Boolean},render:function(e){return e("div",{class:["vxe-table--loading"],style:{display:this.visible?"block":"none"}},[e("div",{class:"vxe-table--spinner"})])},install:function(e){e.component(Ma.name,Ma)}},Da=Ma,Fa={},Na=Object.keys(ba.props);Object.keys(ba.methods).forEach(function(e){Fa[e]=function(){return this.$refs.xTable[e].apply(this.$refs.xTable[e],arguments)}});var Aa={name:"VxeGrid",props:Object(Vt["a"])({columns:Array,pagerConfig:Object,proxyConfig:Object,toolbar:Object},ba.props),provide:function(){return{$grid:this}},data:function(){return{tableLoading:!1,tableData:[],tableCustoms:[],pendingRecords:[],filterData:[],sortData:{field:"",order:""},tablePage:{total:0,pageSize:10,currentPage:1}}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},isMsg:function(){return!1!==this.proxyOpts.message},proxyOpts:function(){return Object.assign({},An["a"].grid.proxyConfig,this.proxyConfig)},tableProps:function(){var e=this,t={};return Na.forEach(function(n){t[n]=e[n]}),t}},watch:{columns:function(e){this.loadColumn(e)},tableCustoms:function(){var e=this.$refs,t=this.toolbar;t&&e.toolbar&&e.toolbar.loadStorage()}},created:function(){var e=this.customs,t=this.proxyOpts,n=this.pagerConfig,a=t.props;e&&(this.tableCustoms=e),n&&n.pageSize&&(this.tablePage.pageSize=n.pageSize),a&&a.data&&console.warn("[vxe-table] The property proxyConfig.props.data is deprecated, please use proxyConfig.props.result")},mounted:function(){var e=this.columns,t=this.proxyConfig,n=this.proxyOpts;e&&e.length&&this.loadColumn(this.columns),t&&!1!==n.autoLoad&&this.commitProxy("query")},render:function(e){var t,n=this,a=this.$slots,l=this.$scopedSlots,i=this.$listeners,r=this.pagerConfig,o=this.vSize,s=this.loading,c=this.toolbar,d=this.editConfig,u=this.proxyConfig,h=this.proxyOpts,p=this.tableProps,m=this.tableLoading,f=this.tablePage,b=this.tableData,g=this.tableCustoms,v=this.optimization,x=Object.assign({},p,{optimization:Object.assign({},An["a"].optimization,v)}),w=Object.assign({},i),y=l.buttons;return u&&(Object.assign(x,{loading:s||m,data:b,rowClassName:this.handleRowClassName}),h.index&&r&&(x.startIndex=(f.currentPage-1)*f.pageSize),h.sort&&(w["sort-change"]=this.sortChangeEvent),h.filter&&(w["filter-change"]=this.filterChangeEvent)),c&&(c.slots&&(y=c.slots.buttons||y),c.setting&&c.setting.storage||(x.customs=g),w["update:customs"]=function(e){n.tableCustoms=e}),d&&(x.editConfig=Object.assign({},d,{activeMethod:this.handleActiveMethod})),e("div",{class:["vxe-grid",(t={},Object(Dn["a"])(t,"size--".concat(o),o),Object(Dn["a"])(t,"t--animat",x.optimization.animat),t)]},[c?e("vxe-toolbar",{ref:"toolbar",props:Object.assign({loading:s||m},c),scopedSlots:y?{buttons:y}:null}):null,e("vxe-table",{props:x,on:w,ref:"xTable"},a.default),r?e("vxe-pager",{props:Object.assign({size:o,loading:s||m},r,u?f:{}),on:{"page-change":this.pageChangeEvent}}):null])},methods:Object(Vt["a"])({},Fa,{handleRowClassName:function(e){var t=this.rowClassName,n=[];return this.pendingRecords.some(function(t){return t===e.row})&&n.push("row--pending"),n.concat(t?t(e):[])},handleActiveMethod:function(e){var t=this.editConfig.activeMethod;return-1===this.pendingRecords.indexOf(e.row)&&(!t||t(e))},commitProxy:function(e){var t=this,n=this.proxyOpts,a=this.tablePage,l=this.pagerConfig,i=this.sortData,r=this.filterData,s=this.isMsg,c=n.ajax,d=n.props,u=void 0===d?{}:d,h=o.a.slice(arguments,1);if(c)switch(e){case"insert":this.insert();break;case"insert_actived":this.insert().then(function(e){var n=e.row;return t.setActiveRow(n)});break;case"mark_cancel":this.triggerPendingEvent(e);break;case"delete_selection":this.handleDeleteRow(e,"vxe.grid.deleteSelectRecord",function(){return t.commitProxy.apply(t,["delete"].concat(h))});break;case"remove_selection":this.handleDeleteRow(e,"vxe.grid.removeSelectRecord",function(){return t.removeSelecteds()});break;case"export":this.exportCsv();break;case"reset_custom":this.resetAll();break;case"reload":case"query":if(c.query){var p={$grid:this,sort:i,filters:r};return this.tableLoading=!0,l&&(p.page=a),"reload"===e&&(l&&(a.currentPage=1),this.pendingRecords=[]),c.query.apply(this,[p].concat(h)).then(function(e){e?l?(a.total=o.a.get(e,u.total||"page.total")||0,t.tableData=o.a.get(e,u.result||u.data||"result")||[]):t.tableData=(u.list?o.a.get(e,u.list):e)||[]:t.tableData=[],t.tableLoading=!1}).catch(function(e){t.tableLoading=!1})}Vn.error("vxe.error.notQuery");break;case"delete":if(c.delete){var m=this.getSelectRecords();this.remove(m).then(function(){var n=t.getRemoveRecords(),a={removeRecords:n};if(n.length)return t.tableLoading=!0,c.delete.apply(t,[{$grid:t,body:a}].concat(h)).then(function(e){t.tableLoading=!1}).catch(function(e){t.tableLoading=!1}).then(function(){return t.commitProxy("reload")});s&&!m.length&&t.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.selectOneRecord"),status:"warning"})})}else Vn.error("vxe.error.notDelete");break;case"save":if(c.save){var f=Object.assign({pendingRecords:this.pendingRecords},this.getRecordset()),b=f.insertRecords,g=f.removeRecords,v=f.updateRecords,x=f.pendingRecords;return b.length&&(f.pendingRecords=x.filter(function(e){return-1===b.indexOf(e)})),x.length&&(f.insertRecords=b.filter(function(e){return-1===x.indexOf(e)})),new Promise(function(n){t.validate(f.insertRecords.concat(v),function(a){a?f.insertRecords.length||g.length||v.length||f.pendingRecords.length?(t.tableLoading=!0,n(c.save.apply(t,[{$grid:t,body:f}].concat(h)).then(function(){t.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.saveSuccess"),status:"success"}),t.tableLoading=!1}).catch(function(e){t.tableLoading=!1}).then(function(){return t.commitProxy("reload")}))):(s&&(x.length?t.remove(x):t.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.dataUnchanged"),status:"info"})),n()):n(a)})})}Vn.error("vxe.error.notSave");break}return this.$nextTick()},handleDeleteRow:function(e,t,n){var a=this.getSelectRecords();this.isMsg?a.length?this.$XMsg.confirm(An["a"].i18n(t)).then(function(e){"confirm"===e&&n()}):this.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.selectOneRecord"),status:"warning"}):a.length&&n()},getPendingRecords:function(){return this.pendingRecords},triggerPendingEvent:function(e){var t=this.pendingRecords,n=this.isMsg,a=this.getSelectRecords();if(a.length){var l=[],i=[];a.forEach(function(e){t.some(function(t){return e===t})?i.push(e):l.push(e)}),i.length?this.pendingRecords=t.filter(function(e){return-1===i.indexOf(e)}).concat(l):l.length&&(this.pendingRecords=t.concat(l)),this.clearSelection()}else n&&this.$XMsg.message({id:e,message:An["a"].i18n("vxe.grid.selectOneRecord"),status:"warning"})},pageChangeEvent:function(e){var t=this.tablePage,n=e.currentPage,a=e.pageSize;t.currentPage=n,t.pageSize=a,"current-change"===e.type?Vn.emitEvent(this,"current-page-change",[n]):Vn.emitEvent(this,"page-size-change",[a]),Vn.emitEvent(this,"page-change",[Object.assign({$grid:this},e)]),this.commitProxy("query")},sortChangeEvent:function(e){var t=this.remoteSort,n=this.sortData,a=e.column,l=o.a.isBoolean(a.remoteSort)?a.remoteSort:t;l&&(Object.assign(n,e),this.commitProxy("query")),Vn.emitEvent(this,"sort-change",[Object.assign({$grid:this},e)])},filterChangeEvent:function(e){var t=this.remoteFilter,n=e.filters;t&&(this.filterData=n,this.commitProxy("reload")),Vn.emitEvent(this,"filter-change",[Object.assign({$grid:this},e)])}}),install:function(e){e.component(Aa.name,Aa)}},La=Aa,Ba={name:"VxeTableContextMenu",props:{ctxMenuStore:Object},render:function(e){var t=this.$parent,n=this._e,a=this.ctxMenuStore;return e("div",{class:["vxe-table--ctxmenu-wrapper",{show:a.visible}],style:a.style},a.list.map(function(l,i){return e("ul",{class:"vxe-ctxmenu--option-wrapper",key:i},l.map(function(l,r){var o=l.children&&l.children.length;return!1===l.visible?n():e("li",{class:{"link--disabled":l.disabled,"link--active":l===a.selected},key:"".concat(i,"_").concat(r)},[e("a",{class:"vxe-ctxmenu--link",on:{click:function(e){t.ctxMenuLinkEvent(e,l)},mouseover:function(e){t.ctxMenuMouseoverEvent(e,l)},mouseout:function(e){t.ctxMenuMouseoutEvent(e,l)}}},[e("i",{class:["vxe-ctxmenu--link-prefix",l.prefixIcon]}),e("span",{class:"vxe-ctxmenu--link-content"},l.name),e("i",{class:["vxe-ctxmenu--link-suffix",o?l.suffixIcon||"suffix--haschild":l.suffixIcon]})]),o?e("ul",{class:["vxe-table--ctxmenu-clild-wrapper",{show:l===a.selected&&a.showChild}]},l.children.map(function(o,s){return!1===o.visible?n():e("li",{class:{"link--disabled":o.disabled,"link--active":o===a.selectChild},key:"".concat(i,"_").concat(r,"_").concat(s)},[e("a",{class:"vxe-ctxmenu--link",on:{click:function(e){t.ctxMenuLinkEvent(e,o)},mouseover:function(e){t.ctxMenuMouseoverEvent(e,l,o)},mouseout:function(e){t.ctxMenuMouseoutEvent(e,l,o)}}},[e("i",{class:["vxe-ctxmenu--link-prefix",o.prefixIcon]}),e("span",{class:"vxe-ctxmenu--link-content"},o.name)])])})):n()])}))}))},install:function(e){e.component(Ba.name,Ba)}},Ha=Ba,Va=(n("8615"),{name:"VxeToolbar",props:{id:String,loading:!1,resizable:{type:[Boolean,Object],default:function(){return An["a"].toolbar.resizable}},refresh:{type:[Boolean,Object],default:function(){return An["a"].toolbar.refresh}},setting:{type:[Boolean,Object],default:function(){return An["a"].toolbar.setting}},buttons:{type:Array,default:function(){return An["a"].toolbar.buttons}},size:String,data:Array,customs:Array},inject:{$grid:{default:null}},data:function(){return{$table:null,isRefresh:!1,tableFullColumn:[],settingStore:{visible:!1}}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},refreshOpts:function(){return Object.assign({},An["a"].toolbar.refresh,this.refresh)},resizableOpts:function(){return Object.assign({storageKey:"VXE_TABLE_CUSTOM_COLUMN_WIDTH"},An["a"].toolbar.resizable,this.resizable)},settingOpts:function(){return Object.assign({storageKey:"VXE_TABLE_CUSTOM_COLUMN_HIDDEN"},An["a"].toolbar.setting,this.setting)}},created:function(){var e=this,t=this.settingOpts,n=this.id,a=this.customs;if(a&&(this.tableFullColumn=a),t.storage&&!n)return Vn.error("vxe.error.toolbarId");this.$nextTick(function(){e.updateConf(),e.loadStorage()}),ea.on(this,"mousedown",this.handleGlobalMousedownEvent),ea.on(this,"blur",this.handleGlobalBlurEvent)},destroyed:function(){ea.off(this,"mousedown"),ea.off(this,"blur")},render:function(e){var t,n=this,a=this.$scopedSlots,l=this.$grid,i=this.$table,r=this.loading,o=this.settingStore,s=this.refresh,c=this.setting,d=this.settingOpts,u=this.buttons,h=void 0===u?[]:u,p=this.vSize,m=this.tableFullColumn,f={},b={},g=a.buttons;return c&&("manual"===d.trigger||("hover"===d.trigger?(f.mouseenter=this.handleMouseenterSettingEvent,f.mouseleave=this.handleMouseleaveSettingEvent,b.mouseenter=this.handleWrapperMouseenterEvent,b.mouseleave=this.handleWrapperMouseleaveEvent):f.click=this.handleClickSettingEvent)),e("div",{class:["vxe-toolbar",(t={},Object(Dn["a"])(t,"size--".concat(p),p),Object(Dn["a"])(t,"is--loading",r),t)]},[e("div",{class:"vxe-button--wrapper"},g?g.call(l||i||this,{$grid:l,$table:i},e):h.map(function(t){return e("vxe-button",{on:{click:function(e){return n.btnEvent(e,t)}},scopedSlots:t.dropdowns&&t.dropdowns.length?{default:function(){return Vn.getFuncText(t.name)},dropdowns:function(){return t.dropdowns.map(function(t){return e("vxe-button",{on:{click:function(e){return n.btnEvent(e,t)}}},Vn.getFuncText(t.name))})}}:null},Vn.getFuncText(t.name))})),c?e("div",{class:["vxe-custom--wrapper",{"is--active":o.visible}],ref:"customWrapper"},[e("div",{class:"vxe-custom--setting-btn",on:f},[e("i",{class:An["a"].icon.custom})]),e("div",{class:"vxe-custom--option-wrapper"},[e("div",{class:"vxe-custom--option",on:b},m.map(function(t){var a=t.property,l=t.visible,i=t.own,r=Vn.getFuncText(i.title||i.label);return a&&r?e("vxe-checkbox",{props:{value:l},on:{change:function(e){t.visible=e,c&&d.immediate&&n.updateSetting()}}},r):null}))])]):null,s?e("div",{class:"vxe-refresh--wrapper"},[e("div",{class:"vxe-refresh--btn",on:{click:this.refreshEvent}},[e("i",{class:[An["a"].icon.refresh,{roll:this.isRefresh}]})])]):null])},methods:{updateConf:function(){var e=this.$parent,t=this.data,n=e.$children,a=n.indexOf(this);this.$table=n.find(function(e,n){return e&&e.refreshColumn&&n>a&&(t?e.data===t:"vxe-table"===e.$vnode.componentOptions.tag)})},openSetting:function(){this.settingStore.visible=!0},closeSetting:function(){var e=this.setting,t=this.settingStore;t.visible&&(t.visible=!1,e&&!t.immediate&&this.updateSetting())},loadStorage:function(){var e=this.$grid,t=this.$table,n=this.id,a=this.refresh,l=this.resizable,i=this.setting,r=this.refreshOpts,s=this.resizableOpts,c=this.settingOpts;if(a&&!e&&(r.query||console.warn("[vxe-toolbar] refresh.query function does not exist")),l||i){if(!e&&!t)throw new Error("[vxe-toolbar] Not found vxe-table.");(e||t).connect({toolbar:this});var d={};if(s.storage){var u=this.getStorageMap(s.storageKey)[n];u&&o.a.each(u,function(e,t){d[t]={field:t,resizeWidth:e}})}if(c.storage){var h=this.getStorageMap(c.storageKey)[n];h&&h.split(",").forEach(function(e){d[e]?d[e].visible=!1:d[e]={field:e,visible:!1}})}var p=Object.values(d);this.updateCustoms(p.length?p:this.tableFullColumn)}},updateColumn:function(e){this.tableFullColumn=e},updateCustoms:function(e){var t=this,n=this.$grid,a=this.$table,l=n||a;l&&l.reloadCustoms(e).then(function(e){t.tableFullColumn=e})},getStorageMap:function(e){var t=An["a"].version,n=o.a.toStringJSON(localStorage.getItem(e));return n&&n._v===t?n:{_v:t}},saveColumnHide:function(){var e=this.id,t=this.tableFullColumn,n=this.settingOpts;if(n.storage){var a=this.getStorageMap(n.storageKey),l=t.filter(function(e){return e.property&&!e.visible});a[e]=l.length?l.map(function(e){return e.property}).join(","):void 0,localStorage.setItem(n.storageKey,o.a.toJSONString(a))}return this.$nextTick()},saveColumnWidth:function(e){var t=this.id,n=this.tableFullColumn,a=this.resizableOpts;if(a.storage){var l,i=this.getStorageMap(a.storageKey);e||(l=o.a.isPlainObject(i[t])?i[t]:{},n.forEach(function(e){var t=e.property,n=e.resizeWidth,a=e.renderWidth;t&&n&&(l[t]=a)})),i[t]=o.a.isEmpty(l)?void 0:l,localStorage.setItem(a.storageKey,o.a.toJSONString(i))}return this.$nextTick()},hideColumn:function(e){return console.warn("[vxe-table] The function hideColumn is deprecated"),e.visible=!1,this.updateSetting()},showColumn:function(e){return console.warn("[vxe-table] The function showColumn is deprecated"),e.visible=!0,this.updateSetting()},resetCustoms:function(){return this.updateSetting()},resetResizable:function(){this.updateResizable(this)},updateResizable:function(e){var t=this.$grid,n=this.$table,a=t||n;return this.saveColumnWidth(e),a.analyColumnWidth(),a.recalculate(!0)},updateSetting:function(){return(this.$grid||this.$table).refreshColumn(),this.saveColumnHide()},handleGlobalMousedownEvent:function(e){Un.getEventTargetNode(e,this.$refs.customWrapper).flag||this.closeSetting()},handleGlobalBlurEvent:function(e){this.closeSetting()},handleClickSettingEvent:function(e){var t=this.settingStore;t.visible=!t.visible},handleMouseenterSettingEvent:function(e){this.settingStore.activeBtn=!0,this.openSetting()},handleMouseleaveSettingEvent:function(e){var t=this,n=this.settingStore;n.activeBtn=!1,setTimeout(function(){n.activeBtn||n.activeWrapper||t.closeSetting()},300)},handleWrapperMouseenterEvent:function(e){this.settingStore.activeWrapper=!0,this.openSetting()},handleWrapperMouseleaveEvent:function(e){var t=this,n=this.settingStore;n.activeWrapper=!1,setTimeout(function(){n.activeBtn||n.activeWrapper||t.closeSetting()},300)},refreshEvent:function(){var e=this,t=this.$grid,n=this.refreshOpts,a=this.isRefresh;a||(n.query?(this.isRefresh=!0,n.query().catch(function(e){return e}).then(function(){e.isRefresh=!1})):t&&(this.isRefresh=!0,t.commitProxy("reload").catch(function(e){return e}).then(function(){e.isRefresh=!1})))},btnEvent:function(e,t){var n=this.$grid,a=this.$table;t.code&&n&&(n.commitProxy(t.code),Vn.emitEvent(n,"toolbar-button-click",[{button:t,$grid:n,$table:a},e]))}},install:function(e){e.component(Va.name,Va)}}),Wa=Va,_a=(n("1c4c"),{name:"VxePager",props:{size:String,layouts:{type:Array,default:function(){return An["a"].pager.layouts||["PrevJump","PrevPage","Jump","PageCount","NextPage","NextJump","Sizes","Total"]}},currentPage:{type:Number,default:1},loading:Boolean,pageSize:{type:Number,default:function(){return An["a"].pager.pageSize||10}},total:{type:Number,default:0},pagerCount:{type:Number,default:function(){return An["a"].pager.pagerCount||7}},pageSizes:{type:Array,default:function(){return An["a"].pager.pageSizes||[10,15,20,50,100]}},align:String,background:Boolean},inject:{$grid:{default:null}},data:function(){return{showSizes:!1,panelStyle:null}},computed:{vSize:function(){return this.size||this.$parent.size||this.$parent.vSize},isSizes:function(){return this.layouts.some(function(e){return"Sizes"===e})},pageCount:function(){return this.getPageCount(this.total,this.pageSize)},numList:function(){return Array.from(new Array(this.pageCount>this.pagerCount?this.pagerCount-2:this.pagerCount))},offsetNumber:function(){return Math.floor((this.pagerCount-2)/2)}},created:function(){ea.on(this,"mousedown",this.handleGlobalMousedownEvent)},destroyed:function(){ea.off(this,"mousedown")},render:function(e){var t,n=this,a=this.layouts,l=this.loading,i=this.vSize,r=this.align,o=this.background;return e("div",{class:["vxe-pager",(t={},Object(Dn["a"])(t,"size--".concat(i),i),Object(Dn["a"])(t,"align--".concat(r),r),Object(Dn["a"])(t,"p--background",o),Object(Dn["a"])(t,"is--loading",l),t)]},a.map(function(t){return n["render".concat(t)](e)}))},methods:{renderPrevPage:function(e){var t=this.currentPage;return e("span",{class:["vxe-pager--prev-btn",{"is--disabled":t<=1}],on:{click:this.prevPageEvent}},[e("i",{class:["vxe-icon--page-icon",An["a"].icon.prevPage]})])},renderPrevJump:function(e,t){var n=this,a=this.numList,l=this.currentPage;return e(t||"span",{class:["vxe-pager--jump-prev",{"is--fixed":!t,"is--disabled":l<=1}],on:{click:function(){return n.jumpPageEvent(Math.max(l-a.length,1))}}},[t?e("i",{class:"vxe-pager--jump-more vxe-icon--more"}):null,e("i",{class:["vxe-pager--jump-icon",An["a"].icon.jumpPrev]})])},renderNumber:function(e){return e("ul",{class:"vxe-pager--btn-wrapper"},this.renderPageBtn(e))},renderJumpNumber:function(e){return e("ul",{class:"vxe-pager--btn-wrapper"},this.renderPageBtn(e,!0))},renderNextJump:function(e,t){var n=this,a=this.numList,l=this.currentPage,i=this.pageCount;return e(t||"span",{class:["vxe-pager--jump-next",{"is--fixed":!t,"is--disabled":l>=i}],on:{click:function(){return n.jumpPageEvent(Math.min(l+a.length,i))}}},[t?e("i",{class:"vxe-pager--jump-more vxe-icon--more"}):null,e("i",{class:["vxe-pager--jump-icon",An["a"].icon.jumpNext]})])},renderNextPage:function(e){var t=this.currentPage,n=this.pageCount;return e("span",{class:["vxe-pager--next-btn",{"is--disabled":t>=n}],on:{click:this.nextPageEvent}},[e("i",{class:["vxe-icon--page-icon",An["a"].icon.nextPage]})])},renderSizes:function(e){var t=this,n=this.pageSizes,a=this.showSizes,l=this.pageSize,i=this.panelStyle;return e("span",{class:["vxe-pager--sizes",{"is--active":a}],ref:"sizeBtn"},[e("span",{class:"size--content",on:{click:this.toggleSizePanel}},[e("span","".concat(l).concat(An["a"].i18n("vxe.pager.pagesize"))),e("i",{class:"vxe-pager--sizes-arrow ".concat(An["a"].icon.caretBottom)})]),e("div",{class:"vxe-pager-size--select-wrapper",style:i,ref:"sizePanel"},[e("ul",{class:"vxe-pager-size--select"},n.map(function(n){return e("li",{class:["size--option",{"is--active":n===l}],on:{click:function(){return t.sizeChangeEvent(n)}}},"".concat(n).concat(An["a"].i18n("vxe.pager.pagesize")))}))])])},renderFullJump:function(e){return this.renderJump(e,!0)},renderJump:function(e,t){var n=this,a=this.currentPage,l=this.pageCount;return e("span",{class:"vxe-pager--jump"},[t?e("span",{class:"vxe-pager--goto-text"},An["a"].i18n("vxe.pager.goto")):null,e("input",{class:"vxe-pager--goto",domProps:{value:a},attrs:{type:"text",autocomplete:"off"},on:{keydown:function(e){if(13===e.keyCode){var t=o.a.toNumber(e.target.value),a=t<=0?1:t>=l?l:t;e.target.value=a,n.jumpPageEvent(a)}else 38===e.keyCode?(e.preventDefault(),n.nextPageEvent(e)):40===e.keyCode&&(e.preventDefault(),n.prevPageEvent(e))}}}),t?e("span",{class:"vxe-pager--classifier-text"},An["a"].i18n("vxe.pager.pageClassifier")):null])},renderPageCount:function(e){var t=this.pageCount;return e("span",{class:"vxe-pager--count"},[e("span",{class:"vxe-pager--separator"},"/"),e("span",t)])},renderTotal:function(e){var t=this.total;return e("span",{class:"vxe-pager--total"},o.a.template(An["a"].i18n("vxe.pager.total"),{total:t}))},renderPageBtn:function(e,t){var n=this,a=this.numList,l=this.currentPage,i=this.pageCount,r=this.pagerCount,o=this.offsetNumber,s=[],c=i>r,d=c&&l>o+1,u=c&&l=i-o?Math.max(i-a.length+1,1):Math.max(l-o,1)),t&&d&&s.push(e("li",{class:"vxe-pager--num-btn",on:{click:function(){return n.jumpPageEvent(1)}}},1),this.renderPrevJump(e,"li")),a.forEach(function(t,a){var r=h+a;r<=i&&s.push(e("li",{class:["vxe-pager--num-btn",{"is--active":l===r}],on:{click:function(){return n.jumpPageEvent(r)}},key:r},r))}),t&&u&&s.push(this.renderNextJump(e,"li"),e("li",{class:"vxe-pager--num-btn",on:{click:function(){return n.jumpPageEvent(i)}}},i)),s},getPageCount:function(e,t){return Math.max(Math.ceil(e/t),1)},handleGlobalMousedownEvent:function(e){!this.showSizes||Un.getEventTargetNode(e,this.$refs.sizeBtn).flag||Un.getEventTargetNode(e,this.$refs.sizePanel).flag||this.hideSizePanel()},prevPageEvent:function(){var e=this.currentPage;e>1&&this.jumpPageEvent(Math.max(e-1,1))},nextPageEvent:function(){var e=this.currentPage,t=this.pageCount;e-1&&o.a.remove(al,function(t){return t===e}),this.updateStyle()},updateStyle:function(){this.$nextTick(function(){var e=0;al.forEach(function(t){e+=t.top,t.msgTop=e,e+=t.$refs.msgBox.clientHeight})})},close:function(e){var t=this,n=this.visible,a=this.lockScroll,l=this.beforeLockStyle,i=this.isMsg;n&&(i&&this.removeMsgQueue(),this.contentVisible=!1,setTimeout(function(){t.visible=!1,a&&Object.assign(document.body.style,l),t._handleCustom?t._handleCustom(e):(t.$emit("input",!1),t.$emit("hide",e))},200))},mousedownEvent:function(e){var t=this;if(0===e.button){e.preventDefault();var n=this.$refs.msgBox,a=document.onmousemove,l=document.onmouseup,i=e.clientX-n.offsetLeft,r=e.clientY-n.offsetTop;document.onmousemove=function(e){e.preventDefault();var t=document.documentElement.clientWidth||document.body.clientWidth,a=document.documentElement.clientHeight||document.body.clientHeight,l=n.offsetWidth,o=n.offsetHeight,s=l/2,c=t-l/2,d=0,u=a-o,h=e.clientX-i,p=e.clientY-r;h>c&&(h=c),hu&&(p=u),p1&&(i.insertBefore(n,t),e||(e=n))}),i.removeChild(t),this.target=e,e&&("hover"===n?(e.onmouseleave=this.mouseleaveEvent,e.onmouseenter=this.mouseenterEvent):"click"===n&&(e.onclick=this.clickEvent)),l&&this.show()},beforeDestroy:function(){var e=this.$el,t=this.target,n=this.trigger,a=e.parentNode;a&&a.removeChild(e),t&&("hover"===n?(t.onmouseleave=null,t.onmouseenter=null):"click"===n&&(t.onclick=null))},render:function(e){var t=this.theme,n=this.message,a=this.isArrow,l=this.visible,i=this.tipStore;return e("div",{class:["vxe-table--tooltip-wrapper","theme--".concat(t),"placement--".concat(i.placement),{"is--visible":l,"is--arrow":a}],style:i.style,ref:"tipWrapper"},[e("div",{class:"vxe-table--tooltip-content"},this.$slots.content||n),e("div",{class:"vxe-table--tooltip-arrow",style:i.arrowStyle})].concat(this.$slots.default))},methods:{show:function(){return this.toVisible(this.target)},close:function(){return Object.assign(this.tipStore,{style:{},placement:"",arrowStyle:null}),this.update(!1),this.$nextTick()},update:function(e){e!==this.visible&&(this.visible=e,this.isUpdate=!0,this.$listeners.input&&this.$emit("input",this.visible))},toVisible:function(e,t){var n=this;if(e){var a=this.$el,l=this.tipStore,i=this.zIndex,r=Un.getAbsolutePos(e),s=r.top,c=r.left,d=Un.getDomNode(),u=d.scrollTop,h=d.scrollLeft,p=d.visibleWidth,m=a.parentNode,f=c;return l.placement="top",l.style={width:"auto"},l.arrowStyle={left:"50%"},m||document.body.appendChild(a),t&&(this.message=t),this.update(!0),this.$nextTick().then(function(){var t=a;if(t){var r=t.clientHeight,d=o.a.toNumber(getComputedStyle(t).width);return f=c+Math.floor((e.offsetWidth-d)/2),l.style={zIndex:i,width:"".concat(d,"px"),top:"".concat(s-r-6,"px"),left:"".concat(f,"px")},n.$nextTick()}}).then(function(){var t=a;if(t){var n=t.clientHeight,i=t.clientWidth;Object.assign(l.style,{top:"".concat(s-n-6,"px"),left:"".concat(f,"px")}),s-nf+16?c-f+16:16,"px"),l.style.left="".concat(f,"px")):f+i>h+p&&(f=h+p-i-6,l.arrowStyle.left="".concat(i-Math.max(Math.floor((f+i-c)/2),22),"px"),l.style.left="".concat(f,"px"))}})}return this.$nextTick()},clickEvent:function(e){this[this.visible?"close":"show"]()},mouseleaveEvent:function(e){this.close()},mouseenterEvent:function(e){this.show()}},install:function(e){An["a"]._tip=1,e.component(sl.name,sl)}},cl=sl,dl={getCsvContent:function(e,t,n,a){var l=t.original,i=e.$el,r=hl(t,a,n,i),o=r.columns,s=r.datas,c="\ufeff";return t.isHeader&&(c+=o.map(function(e){var t=e.own;return Vn.getFuncText(t.title||t.label)}).join(",")+"\n"),s.forEach(function(e,t){c+=l?o.map(function(n){return"index"===n.type?'"'.concat(n.indexMethod?n.indexMethod(t):t+1,'"'):'"'.concat(Vn.getCellValue(e,n)||"",'"')}).join(",")+"\n":o.map(function(t){return'"'.concat(e[t.id],'"')}).join(",")+"\n"}),t.isFooter&&e.footerData.forEach(function(e){c+=e.join(",")+"\n"}),c},downloadCsc:function(e,t){if(!e.download)return Promise.resolve(t);if(navigator.msSaveBlob&&window.Blob)navigator.msSaveBlob(new Blob([t],{type:"text/csv"}),e.filename);else if(Un.browse["-ms"]){var n=window.top.open("about:blank","_blank");n.document.charset="utf-8",n.document.write(t),n.document.close(),n.document.execCommand("SaveAs",e.filename),n.close()}else{var a=document.createElement("a");a.target="_blank",a.download=e.filename,a.href=pl(e,t),document.body.appendChild(a),a.click(),document.body.removeChild(a)}}};function ul(e,t,n){var a=n.querySelectorAll(".vxe-table--body-wrapper.body--wrapper .vxe-body--row");return Array.from(a).map(function(t){var n={};return e.forEach(function(e){var a=t.querySelector(".".concat(e.id));n[e.id]=a?a.innerText.trim():""}),n})}function hl(e,t,n,a){var l=e.original,i=e.columns?e.columns:n;e.columnFilterMethod&&(i=i.filter(e.columnFilterMethod));var r=e.data?e.data:l?t:ul(i,t,a);return e.dataFilterMethod&&(r=r.filter(e.dataFilterMethod)),{columns:i,datas:r}}function pl(e,t){return window.Blob&&window.URL&&window.URL.createObjectURL&&!Un.browse.safari?URL.createObjectURL(new Blob([t],{type:"text/csv"})):"data:attachment/csv;charset=utf-8,".concat(encodeURIComponent(t))}dl.install=function(){Object.assign(Jn,dl)};var ml=dl,fl=[],bl=250,gl=null;function vl(){clearTimeout(gl),gl=setTimeout(xl,An["a"].resizeInterval||bl)}function xl(){fl.length&&(fl.forEach(function(e){var t=e.comp,n=e.target,a=e.cb,l=e.width,i=e.heighe,r=n.clientWidth,o=n.clientHeight,s=r&&l!==r,c=o&&i!==o;(s||c)&&(e.width=r,e.heighe=o,a.call(t,{type:"resize",target:n,rWidth:s,rHeight:c,currentTarget:n}))}),gl=setTimeout(xl,An["a"].resizeInterval||bl))}var wl={on:function(e,t,n){fl.length||vl(),fl.some(function(n){return n.comp===e&&n.target===t})||fl.push({comp:e,target:t,cb:n,width:t.clientWidth,heighe:t.clientWidth})},off:function(e,t){o.a.remove(fl,function(n){return n.comp===e&&n.target===t})},install:function(){Object.assign(ta,wl)}},yl=wl,Cl=(n("1a97"),n("5486")),Tl=n.n(Cl),Sl=n("487f"),kl=n.n(Sl),El=n("f385"),Rl=n.n(El),Ol=n("2ea3"),$l=n.n(Ol);n("f8dd"),n("a026"),n("8ce5"),n("d502");Mn["c"].setup({translate:function(e){return e&&e.indexOf("app.")>-1?Jt.t(e):e},i18n:function(e,t){return Jt.t(e,t)}}),a["default"].use(ba),a["default"].use(va),a["default"].use(Ca),a["default"].use($a),a["default"].use(Ia),a["default"].use(Pa),a["default"].use(Da),a["default"].use(La),a["default"].use(Ha),a["default"].use(Wa),a["default"].use(qa),a["default"].use(Ga),a["default"].use(Ua),a["default"].use(Za),a["default"].use(tl),a["default"].use(ol),a["default"].use(cl),a["default"].use(ml),a["default"].use(yl),Mn["c"].use(Tl.a),Mn["c"].use(kl.a),Mn["c"].use(Rl.a),Mn["c"].use($l.a),a["default"].component(an.name,an),a["default"].component(dn.name,dn),a["default"].component(bn.name,bn),a["default"].component(Cn.name,Cn),a["default"].component(On.name,On);var jl=n("628a"),Il=n.n(jl),zl=n("4168"),Pl=n.n(zl);Pl.a.setup({template:!0,pathVariable:"auto",timeout:"40-300",error:!0,log:!0});n("b54a");var Ml=1e5,Dl=function(){function e(t,n){Object(Fn["a"])(this,e),this.list=Object(zl["template"])(t),this.ModelVO=n}return Object(Nn["a"])(e,[{key:"findList",value:function(e){var t=this.list,n=e||{},a=n.sort,l=void 0===a?["updateTime"]:a,i=n.order,r=void 0===i?"desc":i,s=n.max;return function(e){var n=t,a=e.params,i=l,c=r;if(a){var d=o.a.keys(a).filter(function(e){return!["sort","order"].includes(e)&&a[e]});d&&(n=n.filter(function(e){return d.every(function(t){return""+e[t]===""+a[t]})})),a.order&&(c=a.order),a.sort&&(i=a.sort.split(","))}return n=o.a.sortBy(t,i),"desc"===c&&(n=n.reverse()),s?n.slice(0,s):n}}},{key:"findTreeNodeList",value:function(e){var t=this.list,n=e||{},a=n.sort,l=void 0===a?["updateTime"]:a,i=n.order,r=void 0===i?"desc":i,s=n.key,c=void 0===s?"id":s,d=n.parentKey,u=void 0===d?"parentId":d,h=n.max;return function(e){var n=t,a=e.params,i=l,s=r;if(a){var d=o.a.keys(a).filter(function(e){return!["sort","order"].includes(e)&&a[e]});d&&(n=n.filter(function(e){return d.every(function(t){return""+e[t]===""+a[t]})})),a.order&&(s=a.order),a.sort&&(i=a.sort.split(","))}if(n=o.a.toArrayTree(t,{key:c,parentKey:u,sortKey:i}),a&&a[c]){var p=o.a.findTree(n,function(e){return""+e[c]===""+a[c]},{key:c,parentKey:u});n=p?p.item.children:[]}return n=n.map(function(e){return e.children&&e.children.length&&(e.hasChildren=!0),delete e.children,e}),"desc"===s&&(n=n.reverse()),h?n.slice(0,h):n}}},{key:"findPageList",value:function(e){var t=this.list,n=e||{},a=n.sort,l=void 0===a?["updateTime"]:a,i=n.order,r=void 0===i?"desc":i,s=n.page;return function(e,n,a){var i=a.pathVariable,c=10,d=1,u=t,h=e.params,p=l,m=r;if(h){var f=o.a.keys(h).filter(function(e){return!["sort","order"].includes(e)&&h[e]});f&&(u=u.filter(function(e){return f.every(function(t){return String(e[t]||"").indexOf(h[t])>-1})})),h.order&&(m=h.order),h.sort&&(p=h.sort.split(","))}i&&(c=o.a.toNumber(i[s&&s.size?s.size:"pageSize"])||c,d=o.a.toNumber(i[s&&s.current?s.current:"currentPage"])||d);var b=u.length;return u=o.a.sortBy(u,p),"desc"===m&&(u=u.reverse()),n.body={page:{pageSize:c,currentPage:d,totalResult:b,total:b},result:u.slice((d-1)*c,d*c)},n}}},{key:"deleteByPathVariable",value:function(e){var t=this.list,n=e||{},a=n.key,l=void 0===a?"id":a;return function(e,n,a){var i=a.pathVariable,r=[];return i&&(r=o.a.remove(t,function(e){return e[l]===i[l]})),n.body=r,n}}},{key:"deleteTreeByPathVariable",value:function(e){var t=this.list,n=e||{},a=n.key,l=void 0===a?"id":a,i=n.parentKey,r=void 0===i?"parentId":i;return function(e,n,a){var i=a.pathVariable,s=[];return i&&function(){var e=o.a.remove(t,function(e){return e[l]===i[l]});s=s.concat(e);while(e.length)e=o.a.remove(t,function(t){return e.some(function(e){return e[l]===t[r]})}),s=s.concat(e)}(),n.body=s,n}}},{key:"insertByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l;return function(e,a){var l=[];if(e.body){var r=Date.now(),o=[e.body];o.forEach(function(e){var a,o=Object.assign(new n(e),(a={},Object(Dn["a"])(a,i,Ml++),Object(Dn["a"])(a,"updateTime",r),Object(Dn["a"])(a,"createTime",r),a));l.push(o),t.push(o)})}return l}}},{key:"insertTreeByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l,r=a.parentKey,s=void 0===r?"parentId":r;return function(e,a){var l=[];if(e.body){var r=Date.now(),c=[e.body],d=function e(a,o){a.forEach(function(a){var c,d=Object.assign(new n(a),(c={},Object(Dn["a"])(c,i,Ml++),Object(Dn["a"])(c,"updateTime",r),Object(Dn["a"])(c,"createTime",r),c));o&&(d[s]=o[i]),l.push(d),t.push(d),e(a.children||[],d)})};d(o.a.toArrayTree(c,{key:i,parentKey:s}))}return l}}},{key:"updateByBody",value:function(e){var t=this.list,n=e||{},a=n.key,l=void 0===a?"id":a;return function(e,n){var a=[];if(e.body){var i=Date.now(),r=[e.body];r.forEach(function(e){var n=t.find(function(t){return t[l]===e[l]});n&&(o.a.destructuring(n,e,{updateTime:i}),a.push(n))})}return a}}},{key:"saveListByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l,r=a.page;return function(e,a){var l=[],s=[],c=[];if(e.body){var d=Date.now(),u=e.body[r&&r.update?r.update:"updateRecords"]||[],h=e.body[r&&r.remove?r.remove:"removeRecords"]||[],p=e.body[r&&r.remove?r.remove:"pendingRecords"]||[],m=e.body[r&&r.insert?r.insert:"insertRecords"]||[];u.forEach(function(e){var n=t.find(function(t){return t[i]===e[i]});n&&(o.a.destructuring(n,e,{updateTime:d}),s.push(n))}),m.forEach(function(e){var a,r=Object.assign(new n(e),(a={},Object(Dn["a"])(a,i,Ml++),Object(Dn["a"])(a,"updateTime",d),Object(Dn["a"])(a,"createTime",d),a));l.push(r),t.push(r)}),h=h.concat(p),c=o.a.remove(t,function(e){return h.some(function(t){return t[i]===e[i]})})}return a.body={insertRest:l,updateRest:s,removeRest:c},a}}},{key:"saveTreeListByBody",value:function(e){var t=this.list,n=this.ModelVO,a=e||{},l=a.key,i=void 0===l?"id":l,r=a.parentKey,s=void 0===r?"parentId":r,c=a.page;return function(e,a){var l=[],r=[],d=[];return e.body&&function(){var a=Date.now(),u=e.body[c&&c.update?c.update:"updateRecords"]||[],h=e.body[c&&c.remove?c.remove:"removeRecords"]||[],p=e.body[c&&c.remove?c.remove:"pendingRecords"]||[],m=e.body[c&&c.insert?c.insert:"insertRecords"]||[];u.forEach(function(e){var n=t.find(function(t){return t[i]===e[i]});n&&(o.a.destructuring(n,e,{updateTime:a}),r.push(n))});var f=function e(r,o){r.forEach(function(r){var c,d=Object.assign(new n(r),(c={},Object(Dn["a"])(c,i,Ml++),Object(Dn["a"])(c,"updateTime",a),Object(Dn["a"])(c,"createTime",a),c));o&&(d[s]=o[i]),l.push(d),t.push(d),e(r.children||[],d)})};f(o.a.toArrayTree(m,{key:i,parentKey:s})),h=h.concat(p);var b=o.a.remove(t,function(e){return h.some(function(t){return t[i]===e[i]})});d=d.concat(b);while(b.length)b=o.a.remove(t,function(e){return b.some(function(t){return t[i]===e[s]})}),d=d.concat(b)}(),a.body={insertRest:l,updateRest:r,removeRest:d},a}}}]),e}(),Fl=Dl;Object(zl["GET"])("/api/conf/region/list",n("62f2")),Object(zl["GET"])("/api/conf/sex/list",n("e9c4")),Object(zl["GET"])("/api/conf/columns/list",n("d97a")),Object(zl["GET"])("/api/conf/languages/list",n("9391"));var Nl=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.name=t.name,this.describe=t.describe,this.createTime=t.createTime,this.updateTime=t.updateTime},Al=new Fl(n("b4c6"),Nl);Object(zl["DELETE"])("/api/role/delete/{id}",Al.deleteByPathVariable()),Object(zl["POST"])("/api/role/add",Al.insertByBody()),Object(zl["POST"])("/api/role/update",Al.updateByBody()),Object(zl["POST"])("/api/role/save",Al.saveListByBody()),Object(zl["GET"])("/api/role/list",Al.findList({max:10})),Object(zl["GET"])("/api/role/page/list/{pageSize}/{currentPage}",Al.findPageList());var Ll=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.name=t.name,this.password=t.password,this.sex=t.sex,this.role=t.role,this.region=t.region,this.email=t.email,this.age=t.age,this.rate=t.rate,this.flag=t.flag,this.phone=t.phone,this.describe=t.describe,this.describe2=t.describe2,this.describe3=t.describe3,this.attr1=t.attr1,this.attr2=t.attr2,this.attr3=t.attr3,this.attr4=t.attr4,this.attr5=t.attr5,this.attr6=t.attr6,this.createTime=t.createTime,this.updateTime=t.updateTime},Bl=new Fl(n("4612"),Ll);Object(zl["DELETE"])("/api/user/delete/{id}",Bl.deleteByPathVariable()),Object(zl["POST"])("/api/user/add",Bl.insertByBody()),Object(zl["POST"])("/api/user/update",Bl.updateByBody()),Object(zl["POST"])("/api/user/save",Bl.saveListByBody()),Object(zl["GET"])("/api/user/list",Bl.findList({max:10})),Object(zl["GET"])("/api/user/page/list/{pageSize}/{currentPage}",Bl.findPageList());var Hl=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.parentId=t.parentId,this.name=t.name,this.size=t.size,this.type=t.type,this.createTime=t.createTime,this.updateTime=t.updateTime},Vl=new Fl(n("3261"),Hl);Object(zl["DELETE"])("/api/file/delete/{id}",Vl.deleteByPathVariable()),Object(zl["POST"])("/api/file/add",Vl.insertByBody()),Object(zl["POST"])("/api/file/update",Vl.updateByBody()),Object(zl["POST"])("/api/file/save",Vl.saveTreeListByBody()),Object(zl["GET"])("/api/file/list",Vl.findList()),Object(zl["GET"])("/api/file/node/list",Vl.findTreeNodeList()),Object(zl["GET"])("/api/file/page/list/{pageSize}/{currentPage}",Vl.findPageList());var Wl=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.key=t.key,this.name=t.name,this.isEdit=t.isEdit,this.required=t.required,this.validator=t.validator,this.validMsg=t.validMsg,this.visible=t.visible,this.width=t.width,this.type=t.type,this.link=t.link,this.describe=t.describe,this.createTime=t.createTime,this.updateTime=t.updateTime},_l=new Fl(n("3096"),Wl);Object(zl["DELETE"])("/api/column/delete/{id}",_l.deleteByPathVariable()),Object(zl["POST"])("/api/column/add",_l.insertByBody()),Object(zl["POST"])("/api/column/update",_l.updateByBody()),Object(zl["POST"])("/api/column/save",_l.saveListByBody()),Object(zl["GET"])("/api/column/list",_l.findList()),Object(zl["GET"])("/api/column/page/list/{pageSize}/{currentPage}",_l.findPageList());var ql=function e(t){Object(Fn["a"])(this,e),this.id=t.id,this.key=t.key,this.name=t.name,this.language=t.language,this.createTime=t.createTime,this.updateTime=t.updateTime},Xl=new Fl(n("0e3c"),ql);Object(zl["DELETE"])("/api/i18n/delete/{id}",Xl.deleteByPathVariable()),Object(zl["POST"])("/api/i18n/add",Xl.insertByBody()),Object(zl["POST"])("/api/i18n/update",Xl.updateByBody()),Object(zl["POST"])("/api/i18n/save",Xl.saveListByBody()),Object(zl["GET"])("/api/i18n/list",Xl.findList()),Object(zl["GET"])("/api/i18n/page/list/{pageSize}/{currentPage}",Xl.findPageList({sort:["key"],order:"asc"}));n("696c");Il.a.use(Pl.a);var Gl=n("c1df"),Kl=n.n(Gl);a["default"].config.productionTip=!1;var Ul=window.MOCK_COLUMN_LIST=[],Yl=window.MOCK_DATA_LIST=[],Jl=Date.now(),Ql=0,Zl=1e5,ei=o.a.shuffle(["a","t","b","v","g","k","r","h","x","z","c","d","e","p","u","f","s","n"]);function ti(){for(var e=o.a.browse().msie?500:2e3,t=0;t 单元格",iviewRender:"iview -> 单元格",antd:"ant-design-vue -> 单元格",sortablejsRow:"sortablejs -> 行拖拽",sortablejsColumn:"sortablejs -> 列拖拽",xlsxRender:"xlsx -> 导出 xlsx",plugin:"插件列表",elementPlugin:"plugin-element 基本配置",elementFilterPlugin:"plugin-element 筛选配置",elementPluginMore:"plugin-element 更多配置",iviewPlugin:"plugin-iview 基本配置",iviewFilter:"plugin-iview 筛选配置",iviewPluginMore:"plugin-iview 更多配置",antdPlugin:"plugin-antd 基本配置",antdFilter:"plugin-antd 筛选配置",antdPluginMore:"plugin-antd 更多配置",spanPlugin:"单元格选中合并",chartsPlugin:"图表功能",excelPlugin:"plugin-excel 简单的 Excel",renderer:"渲染器",rendererFilter:"筛选渲染器",rendererDefault:"默认的渲染器",rendererEdit:"可编辑渲染器",interceptor:"事件冲突拦截器",optimize:"优化建议",optimizeScroller:"虚拟滚动优化",optimizeEdit:"可编辑优化",api:"API",vxeTable:"vxe-table",vxeTableColumn:"vxe-table-column",vxeGrid:"vxe-grid",vxeExcel:"vxe-excel",vxeToolbar:"vxe-toolbar",vxePager:"vxe-pager",vxeRadio:"vxe-radio",vxeCheckbox:"vxe-checkbox",vxeInput:"vxe-input",vxeTextarea:"vxe-textarea",vxeButton:"vxe-button",vxeTooltip:"vxe-tooltip",vxeMessageBox:"vxe-message"}},body:{button:{viewCode:"查看代码",runDemo:"在线运行",showCode:"显示代码",refresh:"刷新",insert:"新增",save:"保存",markCancel:"标记/取消",deleteSelectedRecords:"删除选中"},label:{translations:"语言",version:"版本",name:"名字",age:"年龄",sex:"性别",createTime:"创建时间",updateTime:"更新时间"},valid:{rName:"名称必须填写"},msg:{error:"错误提示",copyToClipboard:"已复制到剪贴板!"}},footer:{donation:"捐赠",donationDesc:"为了使项目能够健康持续的发展下去,你可以通过赞助来支持作者 😊"},api:{form:{apiSearch:"API 搜索"},title:{prop:"属性",desc:"说明",type:"类型 / 返回类型",enum:"可选值",defVal:"默认值 / 参数",props:"参数",events:"事件",slots:"插槽",methods:"方法"},table:{desc:{data:"显示的数据",columns:"列配置",customs:"初始化显示/隐藏列(通过 visible 设置为 false 则默认隐藏列)",height:"表格的高度;支持铺满父容器或者固定宽高",maxHeight:"表格的最大高度",autoResize:"是否自动监听父容器响应式调整表格宽高(如果需要自动跟随父容器的高度变化时可能会用到)",resizable:"所有的列是否允许拖动列宽调整大小",stripe:"是否带有斑马纹",border:"是否带有纵向边框",size:"表格的尺寸",fit:"所有列的宽度是否自撑开",loading:"表格是否显示加载中",align:"所有的列对其方式",headerAlign:"所有的表头列的对齐方式",showHeader:"是否显示表头",startIndex:"只对 type=index 的列有效,动态索引的起始值",highlightCurrentRow:"是否要高亮当前行",highlightHoverRow:"鼠标移到行是否要高亮显示",highlightCurrentColumn:"是否要高亮当前列",highlightHoverColumn:"鼠标移到列是否要高亮显示",highlightCell:"只对 editConfig 配置时有效,是否在编辑时高亮单元格边框",rowClassName:"给行附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex})",cellClassName:"给单元格附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex})",headerRowClassName:"给表头的行附加 className,也可以是函数 Function({$rowIndex})",headerCellClassName:"给表头的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",footerRowClassName:"给表尾的行附加 className,也可以是函数 Function({$rowIndex})",footerCellClassName:"给表尾的单元格附加 className,也可以是函数 Function({$rowIndex, column, columnIndex, $columnIndex})",showFooter:"是否显示表尾合计",footerMethod:"表尾合计的计算方法 Function({columns, data})",spanMethod:"合并行或列,该函数 Function({seq, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, data}) 返回计算后的值",showOverflow:"设置所有内容过长时显示为省略号(如果是固定列建议设置该值,提升渲染速度)",showHeaderOverflow:"设置表头所有内容过长时显示为省略号",remoteSort:"所有列是否使用服务端排序,如果设置为 true 则不会对数据进行处理",remoteFilter:"所有列是否使用服务端筛选,如果设置为 true 则不会对数据进行处理",columnWidth:"所有列宽度",columnMinWidth:"所有最小列宽度;会自动将剩余空间按比例分配",columnKey:"是否需要为每一列的 VNode 设置 key 属性(非特殊情况下不需要使用)",rowKey:"是否需要为每一行的 VNode 设置 key 属性(非特殊情况下没必要设置)",rowId:"自定义行数据唯一主键的字段名(行数据必须要有唯一主键,默认自动生成)",sortConfig:"排序配置项",radioConfig:"单选框配置项",selectConfig:"复选框配置项",tooltipConfig:"tooltip 配置项",expandConfig:"展开行配置项",treeConfig:"树形结构配置项",contextMenu:"快捷菜单配置项",mouseConfig:"鼠标配置项",keyboardConfig:"按键配置项",editConfig:"可编辑配置项",validConfig:"校验配置项",editRules:"校验规则配置项",optimization:"优化配置项",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)",empty:"空数据时显示的文本内容",currentChange:"只对 highlightCurrentRow 有效,当手动选中行并且值发生改变时触发的事件",radioChange:"只对 type=radio 有效,当手动勾选并且值发生改变时触发的事件",selectChange:"只对 type=selection 有效,当手动勾选并且值发生改变时触发的事件",selectAll:"只对 type=selection 有效,当手动勾选全选时触发的事件",cellClick:"单元格被点击时会触发该事件",cellDblclick:"单元格被双击时会触发该事件",cellContextmenu:"单元格被鼠标右键点击时触发该事件",headerCellClick:"表头单元格被点击时会触发该事件",headerCellDblclick:"表头单元格被双击时会触发该事件",headerCellContextmenu:"表头单元格被鼠标右键点击时触发该事件",footerCellClick:"表尾单元格被点击时会触发该事件",footerCellDblclick:"表尾单元格被双击时会触发该事件",footerCellContextmenu:"表尾单元格被鼠标右键点击时触发该事件",cellMouseenter:"当单元格 hover 进入时会触发该事件",cellMouseleave:"当单元格 hover 退出时会触发该事件",sortChange:"当排序条件发生变化时会触发该事件",filterChange:"当筛选条件发生变化时会触发该事件",resizableChange:"当列宽拖动发生变化时会触发该事件",toggleExpandChange:"当行展开或收起时会触发该事件",toggleTreeChange:"当树节点展开或收起时会触发该事件",contextMenuClick:"只对 context-menu 配置时有效,当点击快捷菜单时会触发该事件",editClosed:"单元格编辑状态下被关闭时会触发该事件",editActived:"单元格被激活编辑时会触发该事件",editDisabled:"当单元格激活时如果是禁用状态时会触发该事件",validError:"当数据校验不通过时会触发该事件",scroll:"表格滚动时会触发该事件"}},tableColumn:{desc:{type:"列的类型",field:"列属性",title:"列标题(支持开启国际化)",width:"列宽度",minWidth:"最小列宽度;会自动将剩余空间按比例分配",resizable:"列是否允许拖动列宽调整大小",fixed:"将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)",align:"列对其方式",headerAlign:"表头列的对齐方式",showOverflow:"当内容过长时显示为省略号",showHeaderOverflow:"当表头内容过长时显示为省略号",formatter:"格式化显示内容 Function({cellValue, row, rowIndex, column, columnIndex})",indexMethod:"只对 type=index 有效,自定义索引方法 Function({row, rowIndex, column, columnIndex})",sortable:"是否允许列排序",sortBy:"只对 sortable 有效,自定义排序的属性",remoteSort:"是否使用服务端排序,如果设置为 true 则不会对数据进行处理",filters:"配置筛选条件",filterMultiple:"只对 filters 有效,筛选是否允许多选",filterMethod:"只对 filters 有效,自定义筛选方法 Function({value, row, column})",filterRender:"筛选渲染器配置项",treeNode:"只对 tree-config 配置时有效,指定为树节点",cellRender:"默认的渲染器配置项",editRender:"可编辑渲染器配置项",params:"额外的参数(自定义一些数据参数,对于某些特殊的场景可能会用到)"}},tooltip:{desc:{value:"是否显示",content:"显示内容",trigger:"触发方式",theme:"主题样式",zIndex:"自定义堆叠顺序(对于在弹框中使用是由于堆叠被覆盖时可能会用到)",isArrow:"是否显示箭头"}},grid:{desc:{toolbar:"工具栏配置",pagerConfig:"分页配置项",proxyConfig:"数据代理配置项"}},toolbar:{desc:{id:"唯一 ID 标识",size:"尺寸",loading:"是否加载中",refresh:"刷新按钮",resizable:"列宽拖动配置(需要设置 id)",setting:"列个性化配置(需要设置 id)"}},pager:{desc:{size:"尺寸",loading:"是否加载中",layouts:"自定义布局",currentPage:"当前页",pageSize:"每页大小",total:"总条数",pagerCount:"显示页码按钮的数量",pageSizes:"每页大小选项列表",align:"对其方式",background:"带背景颜色"}},radio:{desc:{value:"绑定值",size:"尺寸",disabled:"是否禁用",name:"原生 name 属性"}},checkbox:{desc:{value:"绑定值",size:"尺寸",disabled:"是否禁用"}},input:{desc:{value:"绑定值",size:"尺寸",disabled:"是否禁用"}},button:{desc:{type:"类型",size:"尺寸",name:"用来标识这一项"}},msg:{desc:{value:"绑定值",id:"只对 type=message 有效,如果不想提示框重复点击,可以设置唯一的 id 防止重复提示",title:"提示框的标题(支持开启国际化)",type:"提示框类型",status:"只对 type=message 有效,消息状态",message:"提示框的内容",lockView:"是否锁住页面,不允许提示框之外的任何操作",lockScroll:"是否锁住滚动条,不允许页面滚动",mask:"是否显示遮罩层",maskClosable:"是否允许点击遮罩层关闭提示框",duration:"只对 type=message 有效,自动关闭的延时",top:"只对 type=message 有效,消息距离顶部的位置",zIndex:"自定义堆叠顺序(对于在弹框中使用是由于堆叠被覆盖时可能会用到)"}}}}}},d97a:function(e){e.exports=[{prop:"name",label:"名称",visible:!0},{prop:"nickname",label:"昵称",visible:!0},{prop:"sex",label:"性别",visible:!0},{prop:"age",label:"年龄",visible:!0},{prop:"phone",label:"手机",visible:!0},{prop:"region",label:"地区",visible:!0},{prop:"date",label:"日期",visible:!0},{prop:"rate",label:"评分",visible:!0},{prop:"attr1",label:"属性1",visible:!1},{prop:"attr2",label:"属性2",visible:!1},{prop:"attr3",label:"属性3",visible:!1},{prop:"attr4",label:"属性4",visible:!1},{prop:"attr5",label:"属性5",visible:!1}]},e9c4:function(e){e.exports=[{label:"男",spell:"nan",value:"1",value2:1,val:"x"},{label:"女",spell:"nv",value:"0",value2:0,val:"o"}]}})["default"];
\ No newline at end of file
diff --git a/docs/static/js/module.d817d7cf.js b/docs/static/js/module.46214ae7.js
similarity index 100%
rename from docs/static/js/module.d817d7cf.js
rename to docs/static/js/module.46214ae7.js
diff --git a/docs/static/js/optimize.b25c7462.js b/docs/static/js/optimize.2e879618.js
similarity index 100%
rename from docs/static/js/optimize.b25c7462.js
rename to docs/static/js/optimize.2e879618.js
diff --git a/docs/static/js/other.6889ac5c.js b/docs/static/js/other.1fdec3ad.js
similarity index 100%
rename from docs/static/js/other.6889ac5c.js
rename to docs/static/js/other.1fdec3ad.js
diff --git a/docs/static/js/plugin.bed10eaf.js b/docs/static/js/plugin.fa98577e.js
similarity index 100%
rename from docs/static/js/plugin.bed10eaf.js
rename to docs/static/js/plugin.fa98577e.js
diff --git a/docs/static/js/scroll.92b2bd8a.js b/docs/static/js/scroll.c5488786.js
similarity index 100%
rename from docs/static/js/scroll.92b2bd8a.js
rename to docs/static/js/scroll.c5488786.js
diff --git a/docs/static/js/start.3d3f3fea.js b/docs/static/js/start.7c0e2fb3.js
similarity index 100%
rename from docs/static/js/start.3d3f3fea.js
rename to docs/static/js/start.7c0e2fb3.js
diff --git a/docs/static/js/tree.2e4a9469.js b/docs/static/js/tree.bd5ac86b.js
similarity index 100%
rename from docs/static/js/tree.2e4a9469.js
rename to docs/static/js/tree.bd5ac86b.js