vxe-table 4.14.5 → 4.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/grid/src/grid.js +1 -1
- package/es/locale/lang/ar-EG.js +2 -1
- package/es/locale/lang/de-DE.js +2 -1
- package/es/locale/lang/en-US.js +2 -1
- package/es/locale/lang/es-ES.js +2 -1
- package/es/locale/lang/fr-FR.js +2 -1
- package/es/locale/lang/hu-HU.js +2 -1
- package/es/locale/lang/hy-AM.js +2 -1
- package/es/locale/lang/id-ID.js +2 -1
- package/es/locale/lang/it-IT.js +2 -1
- package/es/locale/lang/ja-JP.js +2 -1
- package/es/locale/lang/ko-KR.js +2 -1
- package/es/locale/lang/ms-MY.js +2 -1
- package/es/locale/lang/nb-NO.js +2 -1
- package/es/locale/lang/pt-BR.js +2 -1
- package/es/locale/lang/ru-RU.js +2 -1
- package/es/locale/lang/th-TH.js +2 -1
- package/es/locale/lang/ug-CN.js +2 -1
- package/es/locale/lang/uk-UA.js +2 -1
- package/es/locale/lang/uz-UZ.js +2 -1
- package/es/locale/lang/vi-VN.js +2 -1
- package/es/locale/lang/zh-CHT.js +2 -1
- package/es/locale/lang/zh-CN.js +2 -1
- package/es/style.css +1 -1
- package/es/table/src/body.js +1 -1
- package/es/table/src/cell.js +5 -5
- package/es/table/src/footer.js +1 -1
- package/es/table/src/header.js +1 -1
- package/es/table/src/table.js +45 -15
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +18 -15
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +2 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +2 -1
- package/lib/locale/lang/de-DE.js +2 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +2 -1
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -1
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/fr-FR.js +2 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +2 -1
- package/lib/locale/lang/hu-HU.js +2 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +2 -1
- package/lib/locale/lang/hy-AM.js +2 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +2 -1
- package/lib/locale/lang/id-ID.js +2 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +2 -1
- package/lib/locale/lang/it-IT.js +2 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +2 -1
- package/lib/locale/lang/ja-JP.js +2 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -1
- package/lib/locale/lang/ko-KR.js +2 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +2 -1
- package/lib/locale/lang/ms-MY.js +2 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +2 -1
- package/lib/locale/lang/nb-NO.js +2 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +2 -1
- package/lib/locale/lang/pt-BR.js +2 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -1
- package/lib/locale/lang/ru-RU.js +2 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +2 -1
- package/lib/locale/lang/th-TH.js +2 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +2 -1
- package/lib/locale/lang/ug-CN.js +2 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +2 -1
- package/lib/locale/lang/uk-UA.js +2 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +2 -1
- package/lib/locale/lang/uz-UZ.js +2 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +2 -1
- package/lib/locale/lang/vi-VN.js +2 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +2 -1
- package/lib/locale/lang/zh-CHT.js +2 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +2 -1
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -1
- package/lib/style.css +1 -1
- package/lib/table/src/body.js +1 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +5 -4
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/footer.js +1 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +1 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/table.js +4 -4
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +2 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +1 -1
- package/packages/locale/lang/ar-EG.ts +2 -1
- package/packages/locale/lang/de-DE.ts +2 -1
- package/packages/locale/lang/en-US.ts +2 -1
- package/packages/locale/lang/es-ES.ts +2 -1
- package/packages/locale/lang/fr-FR.ts +2 -1
- package/packages/locale/lang/hu-HU.ts +2 -1
- package/packages/locale/lang/hy-AM.ts +2 -1
- package/packages/locale/lang/id-ID.ts +2 -1
- package/packages/locale/lang/it-IT.ts +2 -1
- package/packages/locale/lang/ja-JP.ts +2 -1
- package/packages/locale/lang/ko-KR.ts +2 -1
- package/packages/locale/lang/ms-MY.ts +2 -1
- package/packages/locale/lang/nb-NO.ts +2 -1
- package/packages/locale/lang/pt-BR.ts +2 -1
- package/packages/locale/lang/ru-RU.ts +2 -1
- package/packages/locale/lang/th-TH.ts +2 -1
- package/packages/locale/lang/ug-CN.ts +2 -1
- package/packages/locale/lang/uk-UA.ts +2 -1
- package/packages/locale/lang/uz-UZ.ts +2 -1
- package/packages/locale/lang/vi-VN.ts +2 -1
- package/packages/locale/lang/zh-CHT.ts +2 -1
- package/packages/locale/lang/zh-CN.ts +2 -1
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/cell.ts +5 -5
- package/packages/table/src/footer.ts +1 -1
- package/packages/table/src/header.ts +1 -1
- package/packages/table/src/table.ts +54 -14
- package/packages/ui/index.ts +1 -0
- /package/es/{iconfont.1753174940670.ttf → iconfont.1753520194267.ttf} +0 -0
- /package/es/{iconfont.1753174940670.woff → iconfont.1753520194267.woff} +0 -0
- /package/es/{iconfont.1753174940670.woff2 → iconfont.1753520194267.woff2} +0 -0
- /package/lib/{iconfont.1753174940670.ttf → iconfont.1753520194267.ttf} +0 -0
- /package/lib/{iconfont.1753174940670.woff → iconfont.1753520194267.woff} +0 -0
- /package/lib/{iconfont.1753174940670.woff2 → iconfont.1753520194267.woff2} +0 -0
package/lib/ui/index.js
CHANGED
|
@@ -13,7 +13,7 @@ Object.defineProperty(exports, "VxeUI", {
|
|
|
13
13
|
exports.version = exports.validators = exports.use = exports.t = exports.setup = exports.setTheme = exports.setLanguage = exports.setIcon = exports.setI18n = exports.setConfig = exports.saveFile = exports.renderer = exports.readFile = exports.print = exports.modal = exports.menus = exports.log = exports.interceptor = exports.hooks = exports.globalResize = exports.globalEvents = exports.getTheme = exports.getIcon = exports.getI18n = exports.getConfig = exports.formats = exports.default = exports.config = exports.commands = exports.clipboard = exports._t = void 0;
|
|
14
14
|
var _core = require("@vxe-ui/core");
|
|
15
15
|
var _utils = require("./src/utils");
|
|
16
|
-
const version = exports.version = "4.14.
|
|
16
|
+
const version = exports.version = "4.14.7";
|
|
17
17
|
_core.VxeUI.version = version;
|
|
18
18
|
_core.VxeUI.tableVersion = version;
|
|
19
19
|
_core.VxeUI.setConfig({
|
|
@@ -151,6 +151,7 @@ _core.VxeUI.setConfig({
|
|
|
151
151
|
// filterMethod: null,
|
|
152
152
|
// destroyOnClose: false,
|
|
153
153
|
// isEvery: false,
|
|
154
|
+
multiple: true,
|
|
154
155
|
showIcon: true
|
|
155
156
|
},
|
|
156
157
|
aggregateConfig: {
|
package/lib/ui/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.VXETable=void 0,Object.defineProperty(exports,"VxeUI",{enumerable:!0,get:function(){return _core.VxeUI}}),exports.version=exports.validators=exports.use=exports.t=exports.setup=exports.setTheme=exports.setLanguage=exports.setIcon=exports.setI18n=exports.setConfig=exports.saveFile=exports.renderer=exports.readFile=exports.print=exports.modal=exports.menus=exports.log=exports.interceptor=exports.hooks=exports.globalResize=exports.globalEvents=exports.getTheme=exports.getIcon=exports.getI18n=exports.getConfig=exports.formats=exports.default=exports.config=exports.commands=exports.clipboard=exports._t=void 0;var _core=require("@vxe-ui/core"),_utils=require("./src/utils");let version=exports.version="4.14.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.VXETable=void 0,Object.defineProperty(exports,"VxeUI",{enumerable:!0,get:function(){return _core.VxeUI}}),exports.version=exports.validators=exports.use=exports.t=exports.setup=exports.setTheme=exports.setLanguage=exports.setIcon=exports.setI18n=exports.setConfig=exports.saveFile=exports.renderer=exports.readFile=exports.print=exports.modal=exports.menus=exports.log=exports.interceptor=exports.hooks=exports.globalResize=exports.globalEvents=exports.getTheme=exports.getIcon=exports.getI18n=exports.getConfig=exports.formats=exports.default=exports.config=exports.commands=exports.clipboard=exports._t=void 0;var _core=require("@vxe-ui/core"),_utils=require("./src/utils");let version=exports.version="4.14.7",iconPrefix=(_core.VxeUI.version=version,_core.VxeUI.tableVersion=version,_core.VxeUI.setConfig({emptyCell:" ",table:{fit:!0,showHeader:!0,animat:!0,delayHover:250,autoResize:!0,minHeight:144,resizeConfig:{},resizableConfig:{dragMode:"auto",showDragTip:!0,isSyncAutoHeight:!0,isSyncAutoWidth:!0,minHeight:18},radioConfig:{strict:!0},rowDragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},columnDragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},checkboxConfig:{strict:!0},tooltipConfig:{enterable:!0},validConfig:{showMessage:!0,autoClear:!0,autoPos:!0,message:"inline",msgMode:"single",theme:"beautify"},columnConfig:{autoOptions:{isCalcHeader:!0,isCalcBody:!0,isCalcFooter:!0},maxFixedSize:4},cellConfig:{padding:!0},headerCellConfig:{height:"unset"},footerCellConfig:{height:"unset"},customConfig:{allowVisible:!0,allowResizable:!0,allowFixed:!0,allowSort:!0,showFooter:!0,placement:"top-right",storeOptions:{visible:!0,resizable:!0,sort:!0,fixed:!0},modalOptions:{showMaximize:!0,mask:!0,lockView:!0,resize:!0,escClosable:!0},drawerOptions:{mask:!0,lockView:!0,escClosable:!0,resize:!0}},sortConfig:{showIcon:!0,allowClear:!0,allowBtn:!0,iconLayout:"vertical"},filterConfig:{multiple:!0,showIcon:!0},aggregateConfig:{padding:!0,rowField:"id",parentField:"_X_ROW_PARENT_KEY",childrenField:"_X_ROW_CHILDREN",mapChildrenField:"_X_ROW_CHILD_LIST",indent:20,showIcon:!0,maxGroupSize:4,showAggFuncTitle:!0},treeConfig:{padding:!0,rowField:"id",parentField:"parentId",childrenField:"children",hasChildField:"hasChild",mapChildrenField:"_X_ROW_CHILD",indent:20,showIcon:!0},expandConfig:{showIcon:!0,mode:"fixed"},editConfig:{showIcon:!0,showAsterisk:!0,autoFocus:!0},importConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1}},exportConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1}},printConfig:{},mouseConfig:{extension:!0},keyboardConfig:{isAll:!0,isEsc:!0},areaConfig:{autoClear:!0,selectCellByHeader:!0,selectCellByBody:!0,extendDirection:{top:!0,left:!0,bottom:!0,right:!0}},clipConfig:{isCopy:!0,isCut:!0,isPaste:!0},fnrConfig:{isFind:!0,isReplace:!0},virtualXConfig:{gt:24,preSize:1,oSize:0},virtualYConfig:{gt:100,preSize:1,oSize:0},scrollbarConfig:{}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,showLoading:!0,showResponseMsg:!0,showActionMsg:!0,response:{list:null,result:"result",total:"page.total",message:"message"}}},toolbar:{}}),"vxe-table-icon-"),setTheme=(_core.VxeUI.setIcon({TABLE_SORT_ASC:iconPrefix+"caret-up",TABLE_SORT_DESC:iconPrefix+"caret-down",TABLE_FILTER_NONE:iconPrefix+"funnel",TABLE_FILTER_MATCH:iconPrefix+"funnel",TABLE_EDIT:iconPrefix+"edit",TABLE_TITLE_PREFIX:iconPrefix+"question-circle-fill",TABLE_TITLE_SUFFIX:iconPrefix+"question-circle-fill",TABLE_TREE_LOADED:iconPrefix+"spinner roll",TABLE_TREE_OPEN:iconPrefix+"caret-right rotate90",TABLE_TREE_CLOSE:iconPrefix+"caret-right",TABLE_EXPAND_LOADED:iconPrefix+"spinner roll",TABLE_EXPAND_OPEN:iconPrefix+"arrow-right rotate90",TABLE_EXPAND_CLOSE:iconPrefix+"arrow-right",TABLE_CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",TABLE_CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",TABLE_CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",TABLE_CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",TABLE_RADIO_CHECKED:iconPrefix+"radio-checked-fill",TABLE_RADIO_UNCHECKED:iconPrefix+"radio-unchecked",TABLE_RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",TABLE_CUSTOM_SORT:iconPrefix+"drag-handle",TABLE_MENU_OPTIONS:iconPrefix+"arrow-right",TABLE_DRAG_ROW:iconPrefix+"drag-handle",TABLE_DRAG_COLUMN:iconPrefix+"drag-handle",TABLE_DRAG_STATUS_ROW:iconPrefix+"sort",TABLE_DRAG_STATUS_SUB_ROW:iconPrefix+"add-sub",TABLE_DRAG_STATUS_AGG_GROUP:iconPrefix+"grouping",TABLE_DRAG_STATUS_AGG_VALUES:iconPrefix+"values",TABLE_DRAG_STATUS_COLUMN:iconPrefix+"swap",TABLE_DRAG_DISABLED:iconPrefix+"no-drop",TABLE_ROW_GROUP_OPEN:iconPrefix+"arrow-right rotate90",TABLE_ROW_GROUP_CLOSE:iconPrefix+"arrow-right",TABLE_AGGREGATE_GROUPING:iconPrefix+"grouping",TABLE_AGGREGATE_VALUES:iconPrefix+"values",TABLE_AGGREGATE_SORT:iconPrefix+"drag-handle",TABLE_AGGREGATE_DELETE:iconPrefix+"close",TOOLBAR_TOOLS_REFRESH:iconPrefix+"repeat",TOOLBAR_TOOLS_REFRESH_LOADING:iconPrefix+"repeat roll",TOOLBAR_TOOLS_IMPORT:iconPrefix+"upload",TOOLBAR_TOOLS_EXPORT:iconPrefix+"download",TOOLBAR_TOOLS_PRINT:iconPrefix+"print",TOOLBAR_TOOLS_FULLSCREEN:iconPrefix+"fullscreen",TOOLBAR_TOOLS_MINIMIZE:iconPrefix+"minimize",TOOLBAR_TOOLS_CUSTOM:iconPrefix+"custom-column",TOOLBAR_TOOLS_FIXED_LEFT:iconPrefix+"fixed-left",TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE:iconPrefix+"fixed-left-fill",TOOLBAR_TOOLS_FIXED_RIGHT:iconPrefix+"fixed-right",TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE:iconPrefix+"fixed-right-fill"}),exports.setTheme=_core.VxeUI.setTheme),getTheme=exports.getTheme=_core.VxeUI.getTheme,setConfig=exports.setConfig=_core.VxeUI.setConfig,getConfig=exports.getConfig=_core.VxeUI.getConfig,setIcon=exports.setIcon=_core.VxeUI.setIcon,getIcon=exports.getIcon=_core.VxeUI.getIcon,setLanguage=exports.setLanguage=_core.VxeUI.setLanguage,setI18n=exports.setI18n=_core.VxeUI.setI18n,getI18n=exports.getI18n=_core.VxeUI.getI18n,globalEvents=exports.globalEvents=_core.VxeUI.globalEvents,globalResize=exports.globalResize=_core.VxeUI.globalResize,renderer=exports.renderer=_core.VxeUI.renderer,validators=exports.validators=_core.VxeUI.validators,menus=exports.menus=_core.VxeUI.menus,formats=exports.formats=_core.VxeUI.formats,commands=exports.commands=_core.VxeUI.commands,interceptor=exports.interceptor=_core.VxeUI.interceptor,clipboard=exports.clipboard=_core.VxeUI.clipboard,log=exports.log=_core.VxeUI.log,hooks=exports.hooks=_core.VxeUI.hooks,use=exports.use=_core.VxeUI.use,setup=e=>_core.VxeUI.setConfig(e),config=(exports.setup=setup,_core.VxeUI.setup=setup,e=>_core.VxeUI.setConfig(e)),t=(exports.config=config,_core.VxeUI.config=config,(e,o)=>_core.VxeUI.getI18n(e,o)),_t=(exports.t=t,_core.VxeUI.t=t,(e,o)=>(0,_utils.getFuncText)(e,o)),VXETable=(exports._t=_t,_core.VxeUI._t=_t,exports.VXETable=_core.VxeUI),saveFile=e=>_core.VxeUI.saveFile(e),readFile=(exports.saveFile=saveFile,e=>_core.VxeUI.readFile(e)),print=(exports.readFile=readFile,e=>_core.VxeUI.print(e)),modal=(exports.print=print,exports.modal={get(e){return _core.VxeUI.modal.get(e)},close(e){return _core.VxeUI.modal.close(e)},open(e){return _core.VxeUI.modal.open(e)},alert(e,o,r){return _core.VxeUI.modal.alert(e,o,r)},confirm(e,o,r){return _core.VxeUI.modal.confirm(e,o,r)},message(e,o){return _core.VxeUI.modal.message(e,o)},notification(e,o,r){return _core.VxeUI.modal.notification(e,o,r)}});var _default=exports.default=_core.VxeUI;
|
package/lib/ui/src/log.js
CHANGED
|
@@ -8,6 +8,6 @@ var _core = require("@vxe-ui/core");
|
|
|
8
8
|
const {
|
|
9
9
|
log
|
|
10
10
|
} = _core.VxeUI;
|
|
11
|
-
const version = `table v${"4.14.
|
|
11
|
+
const version = `table v${"4.14.7"}`;
|
|
12
12
|
const warnLog = exports.warnLog = log.create('warn', version);
|
|
13
13
|
const errLog = exports.errLog = log.create('error', version);
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,version="table v4.14.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,version="table v4.14.7",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.7",
|
|
4
4
|
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -18,7 +18,7 @@ const { getConfig, getI18n, commands, hooks, useFns, createEvent, globalEvents,
|
|
|
18
18
|
|
|
19
19
|
const tableComponentPropKeys = Object.keys(tableComponentProps as any)
|
|
20
20
|
|
|
21
|
-
const tableComponentMethodKeys: (keyof VxeTableMethods)[] = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isRemoveByRow', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeRowChildren', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'setRowHeightConf', 'getRowHeightConf', 'setRowHeight', 'getRowHeight', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'hasPendingByRow', 'isPendingByRow', 'getPendingRecords', 'clearPendingRow', 'sort', 'setSort', 'clearSort', 'clearSortByEvent', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'clearFilterByEvent', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'setRowGroupExpand', 'setAllRowGroupExpand', 'clearRowGroupExpand', 'isRowGroupExpandByRow', 'isRowGroupRecord', 'isAggregateRecord', 'isAggregateExpandByRow', 'getAggregateContentByRow', 'getAggregateRowChildren', 'setRowGroups', 'clearRowGroups', 'openTooltip', 'moveColumnTo', 'moveRowTo', 'getCellLabel', 'getCellElement', 'focus', 'blur', 'connect']
|
|
21
|
+
const tableComponentMethodKeys: (keyof VxeTableMethods)[] = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isRemoveByRow', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeRowChildren', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'setRowHeightConf', 'getRowHeightConf', 'setRowHeight', 'getRowHeight', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'hasPendingByRow', 'isPendingByRow', 'getPendingRecords', 'clearPendingRow', 'setFilterByEvent', 'sort', 'setSort', 'setSortByEvent', 'clearSort', 'clearSortByEvent', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'clearFilterByEvent', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'setRowGroupExpand', 'setAllRowGroupExpand', 'clearRowGroupExpand', 'isRowGroupExpandByRow', 'isRowGroupRecord', 'isAggregateRecord', 'isAggregateExpandByRow', 'getAggregateContentByRow', 'getAggregateRowChildren', 'setRowGroups', 'clearRowGroups', 'openTooltip', 'moveColumnTo', 'moveRowTo', 'getCellLabel', 'getCellElement', 'focus', 'blur', 'connect']
|
|
22
22
|
|
|
23
23
|
const gridComponentEmits: VxeGridEmits = [
|
|
24
24
|
...tableComponentEmits,
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'فقط اسحب المستوى الأول',
|
|
56
56
|
treeDragChild: 'لا يمكن للآباء السحب إلى أطفالهم',
|
|
57
57
|
reqPlugin: '"{1}" لم يتم تثبيته على https://vxeui.com/other',
|
|
58
|
-
errMaxRow: 'تجاوز الحد الأقصى لصفوف البيانات المدعومة {0} ، قد يتسبب ذلك في حدوث خطأ'
|
|
58
|
+
errMaxRow: 'تجاوز الحد الأقصى لصفوف البيانات المدعومة {0} ، قد يتسبب ذلك في حدوث خطأ',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'لا توجد بيانات حتى الآن',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Ziehen Sie nur die erste Ebene',
|
|
56
56
|
treeDragChild: 'Eltern können nicht zu ihren eigenen Kindern ziehen',
|
|
57
57
|
reqPlugin: '"{1}" ist nicht unter https://vxeui.com/Otheriationation installiert',
|
|
58
|
-
errMaxRow: 'Wenn das maximal unterstützte Datenvolumen {0} Zeilen überschreitet, kann dies einen Fehler verursachen'
|
|
58
|
+
errMaxRow: 'Wenn das maximal unterstützte Datenvolumen {0} Zeilen überschreitet, kann dies einen Fehler verursachen',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Noch keine Daten',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Only drag the first level',
|
|
56
56
|
treeDragChild: 'Parents cannot drag to their own children',
|
|
57
57
|
reqPlugin: '"{1}" is not installed at https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: 'Exceeding the maximum supported data volume {0} rows, this may cause an error'
|
|
58
|
+
errMaxRow: 'Exceeding the maximum supported data volume {0} rows, this may cause an error',
|
|
59
|
+
useNew: 'It is not recommended to use {0}. Please use {1} instead.'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'No data yet',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Solo arrastre el primer nivel',
|
|
56
56
|
treeDragChild: 'Los padres no pueden arrastrar a sus propios hijos',
|
|
57
57
|
reqPlugin: '"{1}" no está instalado en https://vxeui.com/other{0 /#/{1}/install',
|
|
58
|
-
errMaxRow: 'Al exceder las filas de volumen de datos máximos admitidos, esto puede causar un error'
|
|
58
|
+
errMaxRow: 'Al exceder las filas de volumen de datos máximos admitidos, esto puede causar un error',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Aún no hay datos',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Faites seulement glisser le premier niveau',
|
|
56
56
|
treeDragChild: 'Les parents ne peuvent pas traîner à leurs propres enfants',
|
|
57
57
|
reqPlugin: "\"{1}\" n'est pas installé sur https://vxeui.com/other {0,/#/{1 }/install",
|
|
58
|
-
errMaxRow: 'Dépassant les lignes maximales du volume de données prises en charge {0}, cela peut entraîner une erreur'
|
|
58
|
+
errMaxRow: 'Dépassant les lignes maximales du volume de données prises en charge {0}, cela peut entraîner une erreur',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Pas encore de données',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Csak húzza az első szintet',
|
|
56
56
|
treeDragChild: 'A szülők nem tudnak elhúzni a saját gyermekeiket',
|
|
57
57
|
reqPlugin: 'A "{1}" nincs telepítve a https://vxeui.com/other oldalon {0 }/#/ (1 }/install',
|
|
58
|
-
errMaxRow: 'A maximális támogatott adatmennyiség {0} sorok túllépése, ez hibát okozhat'
|
|
58
|
+
errMaxRow: 'A maximális támogatott adatmennyiség {0} sorok túllépése, ez hibát okozhat',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Még nincs adat',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一层级',
|
|
56
56
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
57
57
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
58
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '暂无数据',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Hanya menyeret level pertama',
|
|
56
56
|
treeDragChild: 'Orang tua tidak bisa menyeret ke anak -anak mereka sendiri',
|
|
57
57
|
reqPlugin: '"{1}" tidak diinstal di https://vxeUi.com/other{ 0',
|
|
58
|
-
errMaxRow: 'Melebihi volume data yang didukung maksimum {0}, ini dapat menyebabkan kesalahan'
|
|
58
|
+
errMaxRow: 'Melebihi volume data yang didukung maksimum {0}, ini dapat menyebabkan kesalahan',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Belum ada data',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Trascina solo il primo livello',
|
|
56
56
|
treeDragChild: 'I genitori non possono trascinare con i propri figli',
|
|
57
57
|
reqPlugin: '"{1}" non è installato su https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: 'Superando il volume dei dati supportato massimo {0} righe, questo può causare un errore'
|
|
58
|
+
errMaxRow: 'Superando il volume dei dati supportato massimo {0} righe, questo può causare un errore',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Nessun dati ancora',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '最初のレベルのみをドラッグします',
|
|
56
56
|
treeDragChild: '親は自分の子供にドラッグすることはできません',
|
|
57
57
|
reqPlugin: '「{1}」はhttps://vxeui.com/other {0 }/#/ {1 }/installにインストールされていません',
|
|
58
|
-
errMaxRow: 'サポートされている最大データボリューム{0}行を超えると、これによりエラーが発生する可能性があります'
|
|
58
|
+
errMaxRow: 'サポートされている最大データボリューム{0}行を超えると、これによりエラーが発生する可能性があります',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'まだデータはありません',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '첫 번째 레벨 만 드래그하십시오',
|
|
56
56
|
treeDragChild: '부모는 자신의 자녀에게 끌 수 없습니다',
|
|
57
57
|
reqPlugin: '"{1}"은 https://vxeui.com/other {0 }/#/1 }/install에 설치되지 않았습니다',
|
|
58
|
-
errMaxRow: '최대 지원되는 데이터 볼륨 {0} 행을 초과하면 오류가 발생할 수 있습니다.'
|
|
58
|
+
errMaxRow: '최대 지원되는 데이터 볼륨 {0} 행을 초과하면 오류가 발생할 수 있습니다.',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '아직 데이터가 없습니다',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Hanya seret tahap pertama',
|
|
56
56
|
treeDragChild: 'Ibu bapa tidak boleh menyeret anak mereka sendiri',
|
|
57
57
|
reqPlugin: '"{1}" tidak dipasang di https://vxeui.com/other (0 )/#/ = (1 )/Install',
|
|
58
|
-
errMaxRow: 'Melebihi baris data yang disokong maksimum {0} baris, ini boleh menyebabkan ralat'
|
|
58
|
+
errMaxRow: 'Melebihi baris data yang disokong maksimum {0} baris, ini boleh menyebabkan ralat',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Belum ada data',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Bare dra det første nivået',
|
|
56
56
|
treeDragChild: 'Foreldre kan ikke dra til sine egne barn',
|
|
57
57
|
reqPlugin: '"{1}" er ikke installert på http',
|
|
58
|
-
errMaxRow: 'Overskridende det maksimale støttede datavolumet {0} Rader, dette kan føre til en feil'
|
|
58
|
+
errMaxRow: 'Overskridende det maksimale støttede datavolumet {0} Rader, dette kan føre til en feil',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Ingen data ennå',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Apenas arraste o primeiro nível',
|
|
56
56
|
treeDragChild: 'Os pais não podem arrastar para seus próprios filhos',
|
|
57
57
|
reqPlugin: '"{1}" não está instalado em https://vxeui.com/other {0a }/# {1age/install',
|
|
58
|
-
errMaxRow: 'Excedendo o volume máximo de dados suportado {0} linhas, isso pode causar um erro'
|
|
58
|
+
errMaxRow: 'Excedendo o volume máximo de dados suportado {0} linhas, isso pode causar um erro',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Ainda não há dados',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Только перетащите первый уровень',
|
|
56
56
|
treeDragChild: 'Родители не могут тащить своих детей',
|
|
57
57
|
reqPlugin: '"{1}" не установлен по адресу https://vxeui.com/otherbe',
|
|
58
|
-
errMaxRow: 'Превышение максимального поддерживаемого объема данных {0} строк, это может вызвать ошибку'
|
|
58
|
+
errMaxRow: 'Превышение максимального поддерживаемого объема данных {0} строк, это может вызвать ошибку',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Нет данных пока',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'ลากระดับแรกเท่านั้น',
|
|
56
56
|
treeDragChild: 'พ่อแม่ไม่สามารถลากลูกของตัวเองได้',
|
|
57
57
|
reqPlugin: '"{1}" ไม่ได้ติดตั้งที่ https://vxeui.com/other {0}/#/{1}/install',
|
|
58
|
-
errMaxRow: 'เกินปริมาณข้อมูลที่รองรับสูงสุด {0} แถวซึ่งอาจทำให้เกิดข้อผิดพลาด'
|
|
58
|
+
errMaxRow: 'เกินปริมาณข้อมูลที่รองรับสูงสุด {0} แถวซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'ยังไม่มีข้อมูล',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一层级',
|
|
56
56
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
57
57
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
58
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'ھازىرچە ئۇچۇر يوق',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Тільки перетягніть перший рівень',
|
|
56
56
|
treeDragChild: 'Батьки не можуть тягнути до своїх дітей',
|
|
57
57
|
reqPlugin: '"{1}" не встановлюється на https://vxeui.com/other інд.',
|
|
58
|
-
errMaxRow: 'Перевищення максимально підтримуваного обсягу даних {0} рядків це може спричинити помилку'
|
|
58
|
+
errMaxRow: 'Перевищення максимально підтримуваного обсягу даних {0} рядків це може спричинити помилку',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Ще немає даних',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Faqat birinchi darajani torting',
|
|
56
56
|
treeDragChild: "Ota-onalar o'z farzandlariga sudrab ketolmaydilar",
|
|
57
57
|
reqPlugin: "\"{1}\" https://vxeui.com/oter{/#/#/#/install-da o'rnatilmagan",
|
|
58
|
-
errMaxRow: "Maksimal qo'llab-quvvatlanadigan ma'lumotlar hajmi {0} qatorlar hajmidan oshib ketishi mumkin, bu xatoga olib kelishi mumkin"
|
|
58
|
+
errMaxRow: "Maksimal qo'llab-quvvatlanadigan ma'lumotlar hajmi {0} qatorlar hajmidan oshib ketishi mumkin, bu xatoga olib kelishi mumkin",
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: "Hali ma'lumot yo'q",
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Chỉ kéo cấp độ đầu tiên',
|
|
56
56
|
treeDragChild: 'Cha mẹ không thể kéo đến con cái của họ',
|
|
57
57
|
reqPlugin: '"{1}" không được cài đặt tại https://vxeui.com/other/khác',
|
|
58
|
-
errMaxRow: 'Vượt quá khối lượng dữ liệu được hỗ trợ tối đa {0}, điều này có thể gây ra lỗi'
|
|
58
|
+
errMaxRow: 'Vượt quá khối lượng dữ liệu được hỗ trợ tối đa {0}, điều này có thể gây ra lỗi',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Chưa có dữ liệu',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一層級',
|
|
56
56
|
treeDragChild: '父級不能拖拽到自己的子級中',
|
|
57
57
|
reqPlugin: '擴展插件未安裝 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超過支持的最大數據量 {0} 行,這可能會導致出現錯誤'
|
|
58
|
+
errMaxRow: '超過支持的最大數據量 {0} 行,這可能會導致出現錯誤',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '暫無數據',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一层级',
|
|
56
56
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
57
57
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
58
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
59
|
+
useNew: '不建议使用 {0},请使用 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '暂无数据',
|
|
@@ -291,7 +291,7 @@ export default defineVxeComponent({
|
|
|
291
291
|
const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto')
|
|
292
292
|
|
|
293
293
|
let isVNPreEmptyStatus = false
|
|
294
|
-
if (!isMergeCell) {
|
|
294
|
+
if (overflowX && !isMergeCell) {
|
|
295
295
|
if (!dragRow || getRowid($xeTable, dragRow) !== rowid) {
|
|
296
296
|
if (scrollYLoad && !treeConfig && !virtualYOpts.immediate && (_rowIndex < scrollYStore.visibleStartIndex - scrollYStore.preloadSize || _rowIndex > scrollYStore.visibleEndIndex + scrollYStore.preloadSize)) {
|
|
297
297
|
isVNPreEmptyStatus = true
|
|
@@ -419,7 +419,7 @@ export const Cell = {
|
|
|
419
419
|
const { computeAggregateOpts } = $table.getComputeMaps()
|
|
420
420
|
const aggregateOpts = computeAggregateOpts.value
|
|
421
421
|
const { mode, showTotal, totalMethod, countFields, contentMethod, mapChildrenField } = aggregateOpts
|
|
422
|
-
const
|
|
422
|
+
const aggCalcMethod = (aggregateOpts as any).calcValuesMethod || aggregateOpts.countMethod || aggregateOpts.aggregateMethod
|
|
423
423
|
const groupField = aggRow.groupField
|
|
424
424
|
const groupContent = aggRow.groupContent
|
|
425
425
|
const childList = mapChildrenField ? (aggRow[mapChildrenField] || []) : []
|
|
@@ -452,9 +452,9 @@ export const Cell = {
|
|
|
452
452
|
} else if ($table.getPivotTableAggregateCellAggValue) {
|
|
453
453
|
cellValue = $table.getPivotTableAggregateCellAggValue(params)
|
|
454
454
|
} else if (aggFunc === true || (countFields && countFields.includes(field))) {
|
|
455
|
-
if (
|
|
455
|
+
if (aggCalcMethod) {
|
|
456
456
|
ctParams.aggValue = childCount
|
|
457
|
-
cellValue = `${
|
|
457
|
+
cellValue = `${aggCalcMethod(ctParams)}`
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
} else {
|
|
@@ -508,14 +508,14 @@ export const Cell = {
|
|
|
508
508
|
const { rowGroupExpandedFlag } = tableReactData
|
|
509
509
|
const { rowGroupExpandedMaps } = tableInternalData
|
|
510
510
|
const aggregateOpts = computeAggregateOpts.value
|
|
511
|
-
const { padding, indent } = aggregateOpts
|
|
511
|
+
const { mode, padding, indent } = aggregateOpts
|
|
512
512
|
const rowid = getRowid($table, row)
|
|
513
513
|
const isExpand = !!rowGroupExpandedFlag && !!rowGroupExpandedMaps[rowid]
|
|
514
514
|
return h('div', {
|
|
515
515
|
class: ['vxe-row-group--tree-node', {
|
|
516
516
|
'is--expanded': isExpand
|
|
517
517
|
}],
|
|
518
|
-
style: padding && indent
|
|
518
|
+
style: mode !== 'column' && padding && indent
|
|
519
519
|
? {
|
|
520
520
|
paddingLeft: `${level * indent}px`
|
|
521
521
|
}
|
|
@@ -159,7 +159,7 @@ export default defineVxeComponent({
|
|
|
159
159
|
const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto')
|
|
160
160
|
|
|
161
161
|
let isVNPreEmptyStatus = false
|
|
162
|
-
if (isOptimizeMode && !isMergeCell) {
|
|
162
|
+
if (isOptimizeMode && overflowX && !isMergeCell) {
|
|
163
163
|
if (scrollXLoad && !column.fixed && !virtualXOpts.immediate && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
164
164
|
isVNPreEmptyStatus = true
|
|
165
165
|
}
|
|
@@ -130,7 +130,7 @@ export default defineVxeComponent({
|
|
|
130
130
|
const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto')
|
|
131
131
|
|
|
132
132
|
let isVNPreEmptyStatus = false
|
|
133
|
-
if (isOptimizeMode && !isGroup) {
|
|
133
|
+
if (isOptimizeMode && overflowX && !isGroup) {
|
|
134
134
|
if (!dragCol || dragCol.id !== colid) {
|
|
135
135
|
if (scrollXLoad && !column.fixed && !virtualXOpts.immediate && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
136
136
|
isVNPreEmptyStatus = true
|
|
@@ -5929,8 +5929,8 @@ export default defineVxeComponent({
|
|
|
5929
5929
|
setSort (sortConfs, isUpdate) {
|
|
5930
5930
|
return handleSortEvent(null, sortConfs, isUpdate)
|
|
5931
5931
|
},
|
|
5932
|
-
setSortByEvent (evnt, sortConfs
|
|
5933
|
-
return handleSortEvent(evnt, sortConfs,
|
|
5932
|
+
setSortByEvent (evnt, sortConfs) {
|
|
5933
|
+
return handleSortEvent(evnt, sortConfs, true)
|
|
5934
5934
|
},
|
|
5935
5935
|
/**
|
|
5936
5936
|
* 清空指定列的排序条件
|
|
@@ -5958,6 +5958,7 @@ export default defineVxeComponent({
|
|
|
5958
5958
|
clearSortByEvent (evnt, fieldOrColumn) {
|
|
5959
5959
|
const { tableFullColumn } = internalData
|
|
5960
5960
|
const sortOpts = computeSortOpts.value
|
|
5961
|
+
const { multiple } = sortOpts
|
|
5961
5962
|
const sortCols: VxeTableDefines.ColumnInfo[] = []
|
|
5962
5963
|
let column: VxeTableDefines.ColumnInfo<any> | null = null
|
|
5963
5964
|
if (evnt) {
|
|
@@ -5977,11 +5978,18 @@ export default defineVxeComponent({
|
|
|
5977
5978
|
if (!sortOpts.remote) {
|
|
5978
5979
|
$xeTable.handleTableData(true)
|
|
5979
5980
|
}
|
|
5980
|
-
|
|
5981
|
+
|
|
5982
|
+
if (!multiple) {
|
|
5983
|
+
column = sortCols[0]
|
|
5984
|
+
}
|
|
5985
|
+
|
|
5986
|
+
if (column) {
|
|
5987
|
+
$xeTable.handleColumnSortEvent(evnt, column)
|
|
5988
|
+
}
|
|
5989
|
+
|
|
5990
|
+
if (multiple && sortCols.length) {
|
|
5981
5991
|
const params = { $table: $xeTable, $event: evnt, cols: sortCols, sortList: [] }
|
|
5982
5992
|
dispatchEvent('clear-all-sort', params, evnt)
|
|
5983
|
-
} else if (column) {
|
|
5984
|
-
$xeTable.handleColumnSortEvent(evnt, column)
|
|
5985
5993
|
}
|
|
5986
5994
|
}
|
|
5987
5995
|
return nextTick().then(() => {
|
|
@@ -6012,13 +6020,11 @@ export default defineVxeComponent({
|
|
|
6012
6020
|
}
|
|
6013
6021
|
return sortList
|
|
6014
6022
|
},
|
|
6015
|
-
setFilterByEvent (evnt, fieldOrColumn, options
|
|
6023
|
+
setFilterByEvent (evnt, fieldOrColumn, options) {
|
|
6016
6024
|
const column = handleFieldOrColumn($xeTable, fieldOrColumn)
|
|
6017
6025
|
if (column && column.filters) {
|
|
6018
6026
|
column.filters = toFilters(options || [])
|
|
6019
|
-
|
|
6020
|
-
return $xeTable.handleColumnConfirmFilter(column, evnt)
|
|
6021
|
-
}
|
|
6027
|
+
return $xeTable.handleColumnConfirmFilter(column, evnt)
|
|
6022
6028
|
}
|
|
6023
6029
|
return nextTick()
|
|
6024
6030
|
},
|
|
@@ -6062,6 +6068,7 @@ export default defineVxeComponent({
|
|
|
6062
6068
|
const { filterStore } = reactData
|
|
6063
6069
|
const { tableFullColumn } = internalData
|
|
6064
6070
|
const filterOpts = computeFilterOpts.value
|
|
6071
|
+
const { multiple } = filterOpts
|
|
6065
6072
|
const filterCols: VxeTableDefines.ColumnInfo[] = []
|
|
6066
6073
|
let column: VxeTableDefines.ColumnInfo<any> | null = null
|
|
6067
6074
|
if (fieldOrColumn) {
|
|
@@ -6084,19 +6091,49 @@ export default defineVxeComponent({
|
|
|
6084
6091
|
style: null,
|
|
6085
6092
|
options: [],
|
|
6086
6093
|
column: null,
|
|
6087
|
-
multiple: false,
|
|
6094
|
+
multiple: false, // 选项是覅多选
|
|
6088
6095
|
visible: false
|
|
6089
6096
|
})
|
|
6090
6097
|
}
|
|
6098
|
+
|
|
6091
6099
|
if (!filterOpts.remote) {
|
|
6092
6100
|
$xeTable.updateData()
|
|
6093
6101
|
}
|
|
6094
|
-
|
|
6102
|
+
|
|
6103
|
+
if (!multiple) {
|
|
6104
|
+
column = filterCols[0]
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
if (column) {
|
|
6108
|
+
const filterList = () => $xeTable.getCheckedFilters()
|
|
6109
|
+
const values: any[] = []
|
|
6110
|
+
const datas: any[] = []
|
|
6111
|
+
column.filters.forEach((item: any) => {
|
|
6112
|
+
if (item.checked) {
|
|
6113
|
+
values.push(item.value)
|
|
6114
|
+
datas.push(item.data)
|
|
6115
|
+
}
|
|
6116
|
+
})
|
|
6117
|
+
const params = {
|
|
6118
|
+
$table: $xeTable,
|
|
6119
|
+
$event: evnt as Event,
|
|
6120
|
+
column,
|
|
6121
|
+
field: column.field,
|
|
6122
|
+
property: column.field,
|
|
6123
|
+
values,
|
|
6124
|
+
datas,
|
|
6125
|
+
filters: filterList,
|
|
6126
|
+
filterList
|
|
6127
|
+
}
|
|
6128
|
+
$xeTable.dispatchEvent('filter-change', params, evnt)
|
|
6129
|
+
$xeTable.dispatchEvent('clear-filter', params, evnt)
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
if (multiple && filterCols.length) {
|
|
6095
6133
|
const params = { $table: $xeTable, $event: evnt, cols: filterCols, filterList: [] }
|
|
6096
6134
|
dispatchEvent('clear-all-filter', params, evnt)
|
|
6097
|
-
} else if (column) {
|
|
6098
|
-
$xeTable.dispatchEvent('clear-filter', { filterList: () => $xeTable.getCheckedFilters() }, evnt)
|
|
6099
6135
|
}
|
|
6136
|
+
|
|
6100
6137
|
return nextTick()
|
|
6101
6138
|
},
|
|
6102
6139
|
/**
|
|
@@ -11928,7 +11965,10 @@ export default defineVxeComponent({
|
|
|
11928
11965
|
warnLog('vxe.error.delProp', ['row-group-config.countFields', 'column.agg-func'])
|
|
11929
11966
|
}
|
|
11930
11967
|
if (aggregateOpts.aggregateMethod) {
|
|
11931
|
-
warnLog('vxe.error.delProp', ['row-group-config.aggregateMethod', 'aggregate-config.
|
|
11968
|
+
warnLog('vxe.error.delProp', ['row-group-config.aggregateMethod', 'aggregate-config.calcValuesMethod'])
|
|
11969
|
+
}
|
|
11970
|
+
if (aggregateOpts.countMethod) {
|
|
11971
|
+
warnLog('vxe.error.delProp', ['aggregate-config.countMethod', 'aggregate-config.calcValuesMethod'])
|
|
11932
11972
|
}
|
|
11933
11973
|
if (props.treeConfig && treeOpts.children) {
|
|
11934
11974
|
warnLog('vxe.error.delProp', ['tree-config.children', 'tree-config.childrenField'])
|
package/packages/ui/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|