vxe-table 4.12.3 → 4.12.4

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.
Files changed (114) hide show
  1. package/es/locale/lang/ar-EG.js +1 -0
  2. package/es/locale/lang/de-DE.js +1 -0
  3. package/es/locale/lang/en-US.js +1 -0
  4. package/es/locale/lang/es-ES.js +1 -0
  5. package/es/locale/lang/fr-FR.js +1 -0
  6. package/es/locale/lang/hu-HU.js +1 -0
  7. package/es/locale/lang/hy-AM.js +1 -0
  8. package/es/locale/lang/id-ID.js +1 -0
  9. package/es/locale/lang/it-IT.js +1 -0
  10. package/es/locale/lang/ja-JP.js +1 -0
  11. package/es/locale/lang/ko-KR.js +1 -0
  12. package/es/locale/lang/nb-NO.js +1 -0
  13. package/es/locale/lang/pt-BR.js +1 -0
  14. package/es/locale/lang/ru-RU.js +1 -0
  15. package/es/locale/lang/th-TH.js +1 -0
  16. package/es/locale/lang/ug-CN.js +1 -0
  17. package/es/locale/lang/uk-UA.js +1 -0
  18. package/es/locale/lang/vi-VN.js +1 -0
  19. package/es/locale/lang/zh-CHT.js +1 -0
  20. package/es/locale/lang/zh-CN.js +1 -0
  21. package/es/style.css +1 -1
  22. package/es/table/module/keyboard/hook.js +26 -9
  23. package/es/table/src/table.js +26 -1
  24. package/es/ui/index.js +1 -1
  25. package/es/ui/src/log.js +1 -1
  26. package/lib/index.umd.js +880 -12089
  27. package/lib/index.umd.min.js +1 -1
  28. package/lib/locale/lang/ar-EG.js +1 -0
  29. package/lib/locale/lang/ar-EG.min.js +1 -1
  30. package/lib/locale/lang/de-DE.js +1 -0
  31. package/lib/locale/lang/de-DE.min.js +1 -1
  32. package/lib/locale/lang/en-US.js +1 -0
  33. package/lib/locale/lang/en-US.min.js +1 -1
  34. package/lib/locale/lang/en-US.umd.js +1 -0
  35. package/lib/locale/lang/es-ES.js +1 -0
  36. package/lib/locale/lang/es-ES.min.js +1 -1
  37. package/lib/locale/lang/es-ES.umd.js +1 -0
  38. package/lib/locale/lang/fr-FR.js +1 -0
  39. package/lib/locale/lang/fr-FR.min.js +1 -1
  40. package/lib/locale/lang/hu-HU.js +1 -0
  41. package/lib/locale/lang/hu-HU.min.js +1 -1
  42. package/lib/locale/lang/hu-HU.umd.js +1 -0
  43. package/lib/locale/lang/hy-AM.js +1 -0
  44. package/lib/locale/lang/hy-AM.min.js +1 -1
  45. package/lib/locale/lang/id-ID.js +1 -0
  46. package/lib/locale/lang/id-ID.min.js +1 -1
  47. package/lib/locale/lang/it-IT.js +1 -0
  48. package/lib/locale/lang/it-IT.min.js +1 -1
  49. package/lib/locale/lang/ja-JP.js +1 -0
  50. package/lib/locale/lang/ja-JP.min.js +1 -1
  51. package/lib/locale/lang/ja-JP.umd.js +1 -0
  52. package/lib/locale/lang/ko-KR.js +1 -0
  53. package/lib/locale/lang/ko-KR.min.js +1 -1
  54. package/lib/locale/lang/ko-KR.umd.js +1 -0
  55. package/lib/locale/lang/nb-NO.js +1 -0
  56. package/lib/locale/lang/nb-NO.min.js +1 -1
  57. package/lib/locale/lang/pt-BR.js +1 -0
  58. package/lib/locale/lang/pt-BR.min.js +1 -1
  59. package/lib/locale/lang/pt-BR.umd.js +1 -0
  60. package/lib/locale/lang/ru-RU.js +1 -0
  61. package/lib/locale/lang/ru-RU.min.js +1 -1
  62. package/lib/locale/lang/ru-RU.umd.js +1 -0
  63. package/lib/locale/lang/th-TH.js +1 -0
  64. package/lib/locale/lang/th-TH.min.js +1 -1
  65. package/lib/locale/lang/ug-CN.js +1 -0
  66. package/lib/locale/lang/ug-CN.min.js +1 -1
  67. package/lib/locale/lang/uk-UA.js +1 -0
  68. package/lib/locale/lang/uk-UA.min.js +1 -1
  69. package/lib/locale/lang/uk-UA.umd.js +1 -0
  70. package/lib/locale/lang/vi-VN.js +1 -0
  71. package/lib/locale/lang/vi-VN.min.js +1 -1
  72. package/lib/locale/lang/zh-CHT.js +1 -0
  73. package/lib/locale/lang/zh-CHT.min.js +1 -1
  74. package/lib/locale/lang/zh-CN.js +1 -0
  75. package/lib/locale/lang/zh-CN.min.js +1 -1
  76. package/lib/locale/lang/zh-CN.umd.js +1 -0
  77. package/lib/style.css +1 -1
  78. package/lib/table/module/keyboard/hook.js +27 -9
  79. package/lib/table/module/keyboard/hook.min.js +1 -1
  80. package/lib/table/src/table.js +28 -1
  81. package/lib/table/src/table.min.js +1 -1
  82. package/lib/ui/index.js +1 -1
  83. package/lib/ui/index.min.js +1 -1
  84. package/lib/ui/src/log.js +1 -1
  85. package/lib/ui/src/log.min.js +1 -1
  86. package/package.json +2 -2
  87. package/packages/locale/lang/ar-EG.ts +1 -0
  88. package/packages/locale/lang/de-DE.ts +1 -0
  89. package/packages/locale/lang/en-US.ts +1 -0
  90. package/packages/locale/lang/es-ES.ts +1 -0
  91. package/packages/locale/lang/fr-FR.ts +1 -0
  92. package/packages/locale/lang/hu-HU.ts +1 -0
  93. package/packages/locale/lang/hy-AM.ts +1 -0
  94. package/packages/locale/lang/id-ID.ts +1 -0
  95. package/packages/locale/lang/it-IT.ts +1 -0
  96. package/packages/locale/lang/ja-JP.ts +1 -0
  97. package/packages/locale/lang/ko-KR.ts +1 -0
  98. package/packages/locale/lang/nb-NO.ts +1 -0
  99. package/packages/locale/lang/pt-BR.ts +1 -0
  100. package/packages/locale/lang/ru-RU.ts +1 -0
  101. package/packages/locale/lang/th-TH.ts +1 -0
  102. package/packages/locale/lang/ug-CN.ts +1 -0
  103. package/packages/locale/lang/uk-UA.ts +1 -0
  104. package/packages/locale/lang/vi-VN.ts +1 -0
  105. package/packages/locale/lang/zh-CHT.ts +1 -0
  106. package/packages/locale/lang/zh-CN.ts +1 -0
  107. package/packages/table/module/keyboard/hook.ts +24 -9
  108. package/packages/table/src/table.ts +28 -1
  109. /package/es/{iconfont.1743389164894.ttf → iconfont.1743394011765.ttf} +0 -0
  110. /package/es/{iconfont.1743389164894.woff → iconfont.1743394011765.woff} +0 -0
  111. /package/es/{iconfont.1743389164894.woff2 → iconfont.1743394011765.woff2} +0 -0
  112. /package/lib/{iconfont.1743389164894.ttf → iconfont.1743394011765.ttf} +0 -0
  113. /package/lib/{iconfont.1743389164894.woff → iconfont.1743394011765.woff} +0 -0
  114. /package/lib/{iconfont.1743389164894.woff2 → iconfont.1743394011765.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.12.3";
16
+ const version = exports.version = "4.12.4";
17
17
  _core.VxeUI.version = version;
18
18
  _core.VxeUI.tableVersion = version;
19
19
  _core.VxeUI.setConfig({
@@ -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.12.3",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:{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",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:{showIcon:!0},treeConfig:{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:{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:{enabled:!0,gt:60,preSize:1,oSize:0},virtualYConfig:{enabled:!0,gt:100,preSize:1,oSize:0},scrollbarConfig:{}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,showResponseMsg:!0,showActiveMsg:!0,props:{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_RADIO_CHECKED:iconPrefix+"radio-checked-fill",TABLE_RADIO_UNCHECKED:iconPrefix+"radio-unchecked",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_COLUMN:iconPrefix+"swap",TABLE_DRAG_DISABLED:iconPrefix+"no-drop",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;
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.12.4",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:{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",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:{showIcon:!0},treeConfig:{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:{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:{enabled:!0,gt:60,preSize:1,oSize:0},virtualYConfig:{enabled:!0,gt:100,preSize:1,oSize:0},scrollbarConfig:{}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,showResponseMsg:!0,showActiveMsg:!0,props:{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_RADIO_CHECKED:iconPrefix+"radio-checked-fill",TABLE_RADIO_UNCHECKED:iconPrefix+"radio-unchecked",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_COLUMN:iconPrefix+"swap",TABLE_DRAG_DISABLED:iconPrefix+"no-drop",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.12.3"}`;
11
+ const version = `table v${"4.12.4"}`;
12
12
  const warnLog = exports.warnLog = log.create('warn', version);
13
13
  const errLog = exports.errLog = log.create('error', version);
@@ -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.12.3",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
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.12.4",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.12.3",
3
+ "version": "4.12.4",
4
4
  "description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -28,7 +28,7 @@
28
28
  "style": "lib/style.css",
29
29
  "typings": "types/index.d.ts",
30
30
  "dependencies": {
31
- "vxe-pc-ui": "^4.5.8"
31
+ "vxe-pc-ui": "^4.5.9"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/resize-observer-browser": "^0.1.11",
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -19,6 +19,7 @@ export default
19
19
  scrollErrProp: 'Der Parameter „{0}“ wird nicht unterstützt, wenn virtuelles Scrollen aktiviert ist',
20
20
  errConflicts: 'Parameter „{0}“ stehen im Konflikt mit „{1}“',
21
21
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
22
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
22
23
  unableInsert: 'Das Einfügen an der angegebenen Position ist nicht möglich. Bitte überprüfen Sie, ob die Parameter korrekt sind',
23
24
  useErr: 'Bei der Installation des Moduls „{0}“ ist möglicherweise die falsche Reihenfolge aufgetreten. Die abhängigen Module müssen vor der Tabelle installiert werden.',
24
25
  barUnableLink: 'Die Symbolleiste kann nicht mit der Tabelle verknüpft werden',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'The parameter "{0}" is not supported when virtual scrolling is enabled',
19
19
  errConflicts: '"{1}" is not supported when parameter "{0}", it should be "{2}", otherwise an error will occur',
20
20
  notSupportProp: '"{1}" is not supported when parameter "{0}" is enabled, it should be "{2}", otherwise an error will occur',
21
+ notConflictProp: 'When using "{0}", you should set "{1}", otherwise there may be a functional conflict',
21
22
  unableInsert: 'Unable to insert into the specified position, please check whether the parameters are correct',
22
23
  useErr: 'An error occurred while installing the "{0}" module. The order may be incorrect. The dependent modules need to be installed before Table.',
23
24
  barUnableLink: 'The toolbar cannot be associated with the table',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'El parámetro "{0}" no es compatible cuando el desplazamiento virtual está habilitado.',
19
19
  errConflicts: 'El argumento "{0}" entra en conflicto con "{1}"',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'No se puede insertar en la ubicación especificada.',
22
23
  useErr: 'Error al instalar el módulo "{0}", posiblemente en el orden equivocado, los módulos dependientes deben ser instalados antes de la tabla.',
23
24
  barUnableLink: 'La barra de herramientas no puede asociarse con la tabla.',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'A "{0}" paraméter nem támogatott, ha a virtuális görgetés engedélyezve van',
19
19
  errConflicts: 'A "{0}" paraméter ütközik a következővel: "{1}"',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'Nem sikerült beilleszteni a megadott pozícióba, ellenőrizze, hogy a paraméterek helyesek-e',
22
23
  useErr: 'Hiba történt a "{0}" modul telepítésekor. Lehet, hogy a sorrend helytelen. A függő modulokat a táblázat előtt kell telepíteni.',
23
24
  barUnableLink: 'Az eszköztár nem társítható a táblázathoz',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'Il parametro "{0}" non è supportato quando è abilitato lo scorrimento virtuale',
19
19
  errConflicts: 'I parametri "{0}" sono in conflitto con "{1}"',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'Impossibile inserire nella posizione specificata, verificare se i parametri sono corretti',
22
23
  useErr: "Si è verificato un errore durante l'installazione del modulo \"{0}\". L'ordine potrebbe essere errato. I moduli dipendenti devono essere installati prima della Tabella.",
23
24
  barUnableLink: 'La barra degli strumenti non può essere associata alla tabella',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '仮想スクロールはこのパラメータを使えません: "{0}"',
19
19
  errConflicts: 'パラメータ "{0}" と "{1}" は同時に使えません',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '指定された位置に挿入できない',
22
23
  useErr: '"{0}" モジュールをインストールする際にエラーが発生し、順序が正しくない可能性がある。依存するモジュールはTableの前にインストールする必要がある',
23
24
  barUnableLink: 'ツールバーはフォームを関連付けることができない',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '가상 스크롤을 활성화한 경우, 매개변수 "{0}"은 지원되지 않습니다.',
19
19
  errConflicts: '매개변수 "{0}"과(와) "{1}"은(는) 충돌합니다.',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '지정된 위치에 삽입할 수 없습니다. 매개변수가 올바른지 확인하세요.',
22
23
  useErr: '"{0}" 모듈 설치 중 오류가 발생했습니다. 순서가 잘못되었을 수 있으며, 테이블 전에 종속 모듈이 설치되어야 합니다.',
23
24
  barUnableLink: '도구 모음과 테이블을 연결할 수 없습니다.',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'O parâmetro "{0}" não é suportado quando a rolagem virtual está habilitada.',
19
19
  errConflicts: 'O argumento "{0}" entra em conflito com "{1}"',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'Não é possível inserir na localização especificada.',
22
23
  useErr: 'Erro ao instalar o módulo "{0}", possivelmente na ordem errada, os módulos dependentes precisam ser instalados antes da Tabela.',
23
24
  barUnableLink: 'A barra de ferramentas não pode ser associada à tabela.',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'Параметр "{0}" не поддерживается, если включена виртуальная прокрутка.',
19
19
  errConflicts: 'Параметры "{0}" конфликтуют с "{1}"',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'Невозможно вставить в указанную позицию, проверьте правильность параметров.',
22
23
  useErr: 'Произошла ошибка при установке модуля "{0}". Порядок может быть неправильным. Зависимые модули необходимо установить перед Табл.',
23
24
  barUnableLink: 'Панель инструментов не может быть связана с таблицей',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'ไม่สนับสนุนพารามิเตอร์ "{0}" เมื่อเปิดใช้งานการเลื่อนเสมือน',
19
19
  errConflicts: 'พารามิเตอร์ "{0}" ขัดแย้งกับ "{1}"',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'ไม่สามารถแทรกลงในตำแหน่งที่ระบุได้ โปรดตรวจสอบว่าพารามิเตอร์ถูกต้องหรือไม่',
22
23
  useErr: 'เกิดข้อผิดพลาดขณะติดตั้งโมดูล "{0}" ลำดับอาจไม่ถูกต้อง จำเป็นต้องติดตั้งโมดูลที่ต้องพึ่งพาก่อนตาราง',
23
24
  barUnableLink: 'แถบเครื่องมือไม่สามารถเชื่อมโยงกับตารางได้',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'مەۋھۇم يۇمىلاتما ئىقىدارىنى قوزغاتقاندىن كىيىن بۇ سېپىرنى تەكشەشكە بولمايدۇ "{0}"',
19
19
  errConflicts: 'سان سىپىر "{0}" بىلەن "{1}" دە ماسلاشماسلىق ئەھۋالى مەۋجۇت',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'بىكىتىلگەن ئورۇنغا قىستۇرۇشقا بولمايدۇ، پارامېتىرىڭىزنىڭ توغرا-خاتالىقىنى تەكشۈرۈڭ ',
22
23
  useErr: 'قاچىلاش: "{0}" پارچىنى قاچىلىغاندا خاتالىق كۆرۈلدى ،بەلكىم رەت تەرتىۋىدە بىنۇرماللىق كۆرۈلگەن بولۇشى مومكىن,مۇناسىۋەتلىك پارچە چوقۇم Table دىن ئاۋۋال قاچىلىنىشى كىرەك',
23
24
  barUnableLink: 'ئەسۋاب ئىستونى جەدىۋەل بىلەن ئۇلىنىشقا ئامالسىز',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: 'Параметр "{0}" не підтримується після включення віртуального скролінгу',
19
19
  errConflicts: 'Параметри "{0}" та "{1}" конфліктують',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: 'Неможливо вставити в задане місце, перевірте правильність параметрів',
22
23
  useErr: 'Сталася помилка під час встановлення модуля "{0}", можливо, порядок неправильний, залежні модулі повинні бути встановлені до таблиці',
23
24
  barUnableLink: "Панель інструментів не може бути пов'язана з таблицею",
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '啟用虛擬滾動後不支援此參數 "{0}"',
19
19
  errConflicts: '參數 "{0}" 與 "{1}" 有衝突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '無法插入指定位置,請檢查參數是否正確',
22
23
  useErr: '安裝 "{0}" 模組時發生錯誤,可能順序不正確,依賴的模組需要在 Table 之前安裝',
23
24
  barUnableLink: '工具列無法關聯表格',
@@ -18,6 +18,7 @@ export default {
18
18
  scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
21
+ notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
21
22
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
22
23
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
23
24
  barUnableLink: '工具栏无法关联表格',
@@ -455,27 +455,42 @@ hooks.add('tableKeyboardModule', {
455
455
  moveArrowSelected (args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt) {
456
456
  const { highlightCurrentRow, highlightCurrentColumn } = props
457
457
  const rowOpts = computeRowOpts.value
458
+ const currentRowOpts = computeCurrentRowOpts.value
458
459
  const columnOpts = computeColumnOpts.value
459
- handleMoveSelected(evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow)
460
- // 当前行按键上下移动
461
- if ((isUpArrow || isDwArrow) && (rowOpts.isCurrent || highlightCurrentRow)) {
462
- $xeTable.moveCurrentRow(isUpArrow, isDwArrow, evnt)
460
+ const currentColumnOpts = computeCurrentColumnOpts.value
461
+ const params = handleMoveSelected(evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow)
462
+ if (rowOpts.isCurrent || highlightCurrentRow) {
463
+ if (currentRowOpts.isFollowSelected) {
464
+ $xeTable.triggerCurrentRowEvent(evnt, params)
465
+ } else {
466
+ // 当前行按键上下移动
467
+ if ((isUpArrow || isDwArrow) && (rowOpts.isCurrent || highlightCurrentRow)) {
468
+ $xeTable.moveCurrentRow(isUpArrow, isDwArrow, evnt)
469
+ }
470
+ }
463
471
  }
464
- // 当前行按键左右移动
465
- if ((isLeftArrow || isRightArrow) && (columnOpts.isCurrent || highlightCurrentColumn)) {
466
- $xeTable.moveCurrentColumn(isLeftArrow, isRightArrow, evnt)
472
+ if (columnOpts.isCurrent || highlightCurrentColumn) {
473
+ if (currentColumnOpts.isFollowSelected) {
474
+ $xeTable.triggerCurrentColumnEvent(evnt, params)
475
+ } else {
476
+ // 当前行按键左右移动
477
+ if ((isLeftArrow || isRightArrow) && (columnOpts.isCurrent || highlightCurrentColumn)) {
478
+ $xeTable.moveCurrentColumn(isLeftArrow, isRightArrow, evnt)
479
+ }
480
+ }
467
481
  }
468
482
  },
469
483
  moveEnterSelected (args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt) {
484
+ const { highlightCurrentRow, highlightCurrentColumn } = props
470
485
  const rowOpts = computeRowOpts.value
471
486
  const currentRowOpts = computeCurrentRowOpts.value
472
487
  const columnOpts = computeColumnOpts.value
473
488
  const currentColumnOpts = computeCurrentColumnOpts.value
474
489
  const params = handleMoveSelected(evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow)
475
- if ((rowOpts.isCurrent && currentRowOpts.isFollowSelected)) {
490
+ if (((rowOpts.isCurrent || highlightCurrentRow) && currentRowOpts.isFollowSelected)) {
476
491
  $xeTable.triggerCurrentRowEvent(evnt, params)
477
492
  }
478
- if (columnOpts.isCurrent && currentColumnOpts.isFollowSelected) {
493
+ if ((columnOpts.isCurrent || highlightCurrentColumn) && currentColumnOpts.isFollowSelected) {
479
494
  $xeTable.triggerCurrentColumnEvent(evnt, params)
480
495
  }
481
496
  },
@@ -886,6 +886,7 @@ export default defineComponent({
886
886
  computeBodyMenu,
887
887
  computeFooterMenu,
888
888
  computeIsMenu,
889
+ computeMenuList,
889
890
  computeMenuOpts,
890
891
  computeExportOpts,
891
892
  computeImportOpts,
@@ -10439,7 +10440,7 @@ export default defineComponent({
10439
10440
  }
10440
10441
 
10441
10442
  nextTick(() => {
10442
- const { data, exportConfig, importConfig, treeConfig, showOverflow } = props
10443
+ const { data, exportConfig, importConfig, treeConfig, showOverflow, highlightCurrentRow, highlightCurrentColumn } = props
10443
10444
  const { scrollXStore, scrollYStore } = internalData
10444
10445
  const editOpts = computeEditOpts.value
10445
10446
  const treeOpts = computeTreeOpts.value
@@ -10451,6 +10452,10 @@ export default defineComponent({
10451
10452
  const mouseOpts = computeMouseOpts.value
10452
10453
  const exportOpts = computeExportOpts.value
10453
10454
  const importOpts = computeImportOpts.value
10455
+ const currentRowOpts = computeCurrentRowOpts.value
10456
+ const currentColumnOpts = computeCurrentColumnOpts.value
10457
+ const virtualXOpts = computeVirtualXOpts.value
10458
+ const virtualYOpts = computeVirtualYOpts.value
10454
10459
 
10455
10460
  if (props.rowId) {
10456
10461
  warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField'])
@@ -10553,6 +10558,28 @@ export default defineComponent({
10553
10558
  warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField'])
10554
10559
  }
10555
10560
 
10561
+ if ((rowOpts.isCurrent || highlightCurrentRow) && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
10562
+ warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected'])
10563
+ }
10564
+ if ((columnOpts.isCurrent || highlightCurrentColumn) && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
10565
+ warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected'])
10566
+ }
10567
+
10568
+ // 如果不支持虚拟滚动
10569
+ if (props.spanMethod) {
10570
+ if (virtualXOpts.enabled) {
10571
+ warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-x-config.enabled=false'])
10572
+ }
10573
+ if (virtualYOpts.enabled) {
10574
+ warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-y-config.enabled=false'])
10575
+ }
10576
+ }
10577
+ if (props.footerSpanMethod) {
10578
+ if (virtualXOpts.enabled) {
10579
+ warnLog('vxe.error.notConflictProp', ['footer-span-method', 'virtual-x-config.enabled=false'])
10580
+ }
10581
+ }
10582
+
10556
10583
  // 检查是否有安装需要的模块
10557
10584
  if (props.editConfig && !$xeTable.insert) {
10558
10585
  errLog('vxe.error.reqModule', ['Edit'])