vxe-table 4.13.18 → 4.13.19

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 (139) hide show
  1. package/es/locale/lang/ar-EG.js +1 -1
  2. package/es/locale/lang/de-DE.js +1 -1
  3. package/es/locale/lang/en-US.js +1 -1
  4. package/es/locale/lang/es-ES.js +1 -1
  5. package/es/locale/lang/fr-FR.js +1 -1
  6. package/es/locale/lang/hu-HU.js +1 -1
  7. package/es/locale/lang/hy-AM.js +1 -1
  8. package/es/locale/lang/id-ID.js +1 -1
  9. package/es/locale/lang/it-IT.js +1 -1
  10. package/es/locale/lang/ja-JP.js +1 -1
  11. package/es/locale/lang/ko-KR.js +1 -1
  12. package/es/locale/lang/ms-MY.js +1 -1
  13. package/es/locale/lang/nb-NO.js +1 -1
  14. package/es/locale/lang/pt-BR.js +1 -1
  15. package/es/locale/lang/ru-RU.js +1 -1
  16. package/es/locale/lang/th-TH.js +1 -1
  17. package/es/locale/lang/ug-CN.js +1 -1
  18. package/es/locale/lang/uk-UA.js +1 -1
  19. package/es/locale/lang/uz-UZ.js +1 -1
  20. package/es/locale/lang/vi-VN.js +1 -1
  21. package/es/locale/lang/zh-CHT.js +1 -1
  22. package/es/locale/lang/zh-CN.js +1 -1
  23. package/es/style.css +1 -1
  24. package/es/table/render/index.js +21 -15
  25. package/es/table/src/body.js +2 -1
  26. package/es/table/src/table.js +17 -15
  27. package/es/ui/index.js +1 -1
  28. package/es/ui/src/log.js +1 -1
  29. package/lib/index.umd.js +28 -21
  30. package/lib/index.umd.min.js +1 -1
  31. package/lib/locale/lang/ar-EG.js +1 -1
  32. package/lib/locale/lang/ar-EG.min.js +1 -1
  33. package/lib/locale/lang/ar-EG.umd.js +1 -1
  34. package/lib/locale/lang/de-DE.js +1 -1
  35. package/lib/locale/lang/de-DE.min.js +1 -1
  36. package/lib/locale/lang/de-DE.umd.js +1 -1
  37. package/lib/locale/lang/en-US.js +1 -1
  38. package/lib/locale/lang/en-US.min.js +1 -1
  39. package/lib/locale/lang/en-US.umd.js +1 -1
  40. package/lib/locale/lang/es-ES.js +1 -1
  41. package/lib/locale/lang/es-ES.min.js +1 -1
  42. package/lib/locale/lang/es-ES.umd.js +1 -1
  43. package/lib/locale/lang/fr-FR.js +1 -1
  44. package/lib/locale/lang/fr-FR.min.js +1 -1
  45. package/lib/locale/lang/fr-FR.umd.js +1 -1
  46. package/lib/locale/lang/hu-HU.js +1 -1
  47. package/lib/locale/lang/hu-HU.min.js +1 -1
  48. package/lib/locale/lang/hu-HU.umd.js +1 -1
  49. package/lib/locale/lang/hy-AM.js +1 -1
  50. package/lib/locale/lang/hy-AM.min.js +1 -1
  51. package/lib/locale/lang/hy-AM.umd.js +1 -1
  52. package/lib/locale/lang/id-ID.js +1 -1
  53. package/lib/locale/lang/id-ID.min.js +1 -1
  54. package/lib/locale/lang/id-ID.umd.js +1 -1
  55. package/lib/locale/lang/it-IT.js +1 -1
  56. package/lib/locale/lang/it-IT.min.js +1 -1
  57. package/lib/locale/lang/it-IT.umd.js +1 -1
  58. package/lib/locale/lang/ja-JP.js +1 -1
  59. package/lib/locale/lang/ja-JP.min.js +1 -1
  60. package/lib/locale/lang/ja-JP.umd.js +1 -1
  61. package/lib/locale/lang/ko-KR.js +1 -1
  62. package/lib/locale/lang/ko-KR.min.js +1 -1
  63. package/lib/locale/lang/ko-KR.umd.js +1 -1
  64. package/lib/locale/lang/ms-MY.js +1 -1
  65. package/lib/locale/lang/ms-MY.min.js +1 -1
  66. package/lib/locale/lang/ms-MY.umd.js +1 -1
  67. package/lib/locale/lang/nb-NO.js +1 -1
  68. package/lib/locale/lang/nb-NO.min.js +1 -1
  69. package/lib/locale/lang/nb-NO.umd.js +1 -1
  70. package/lib/locale/lang/pt-BR.js +1 -1
  71. package/lib/locale/lang/pt-BR.min.js +1 -1
  72. package/lib/locale/lang/pt-BR.umd.js +1 -1
  73. package/lib/locale/lang/ru-RU.js +1 -1
  74. package/lib/locale/lang/ru-RU.min.js +1 -1
  75. package/lib/locale/lang/ru-RU.umd.js +1 -1
  76. package/lib/locale/lang/th-TH.js +1 -1
  77. package/lib/locale/lang/th-TH.min.js +1 -1
  78. package/lib/locale/lang/th-TH.umd.js +1 -1
  79. package/lib/locale/lang/ug-CN.js +1 -1
  80. package/lib/locale/lang/ug-CN.min.js +1 -1
  81. package/lib/locale/lang/ug-CN.umd.js +1 -1
  82. package/lib/locale/lang/uk-UA.js +1 -1
  83. package/lib/locale/lang/uk-UA.min.js +1 -1
  84. package/lib/locale/lang/uk-UA.umd.js +1 -1
  85. package/lib/locale/lang/uz-UZ.js +1 -1
  86. package/lib/locale/lang/uz-UZ.min.js +1 -1
  87. package/lib/locale/lang/uz-UZ.umd.js +1 -1
  88. package/lib/locale/lang/vi-VN.js +1 -1
  89. package/lib/locale/lang/vi-VN.min.js +1 -1
  90. package/lib/locale/lang/vi-VN.umd.js +1 -1
  91. package/lib/locale/lang/zh-CHT.js +1 -1
  92. package/lib/locale/lang/zh-CHT.min.js +1 -1
  93. package/lib/locale/lang/zh-CHT.umd.js +1 -1
  94. package/lib/locale/lang/zh-CN.js +1 -1
  95. package/lib/locale/lang/zh-CN.min.js +1 -1
  96. package/lib/locale/lang/zh-CN.umd.js +1 -1
  97. package/lib/style.css +1 -1
  98. package/lib/table/render/index.js +21 -15
  99. package/lib/table/render/index.min.js +1 -1
  100. package/lib/table/src/body.js +2 -1
  101. package/lib/table/src/body.min.js +1 -1
  102. package/lib/table/src/table.js +2 -2
  103. package/lib/table/src/table.min.js +1 -1
  104. package/lib/ui/index.js +1 -1
  105. package/lib/ui/index.min.js +1 -1
  106. package/lib/ui/src/log.js +1 -1
  107. package/lib/ui/src/log.min.js +1 -1
  108. package/package.json +1 -1
  109. package/packages/locale/lang/ar-EG.ts +1 -1
  110. package/packages/locale/lang/de-DE.ts +1 -1
  111. package/packages/locale/lang/en-US.ts +1 -1
  112. package/packages/locale/lang/es-ES.ts +1 -1
  113. package/packages/locale/lang/fr-FR.ts +1 -1
  114. package/packages/locale/lang/hu-HU.ts +1 -1
  115. package/packages/locale/lang/hy-AM.ts +1 -1
  116. package/packages/locale/lang/id-ID.ts +1 -1
  117. package/packages/locale/lang/it-IT.ts +1 -1
  118. package/packages/locale/lang/ja-JP.ts +1 -1
  119. package/packages/locale/lang/ko-KR.ts +1 -1
  120. package/packages/locale/lang/ms-MY.ts +1 -1
  121. package/packages/locale/lang/nb-NO.ts +1 -1
  122. package/packages/locale/lang/pt-BR.ts +1 -1
  123. package/packages/locale/lang/ru-RU.ts +1 -1
  124. package/packages/locale/lang/th-TH.ts +1 -1
  125. package/packages/locale/lang/ug-CN.ts +1 -1
  126. package/packages/locale/lang/uk-UA.ts +1 -1
  127. package/packages/locale/lang/uz-UZ.ts +1 -1
  128. package/packages/locale/lang/vi-VN.ts +1 -1
  129. package/packages/locale/lang/zh-CHT.ts +1 -1
  130. package/packages/locale/lang/zh-CN.ts +1 -1
  131. package/packages/table/render/index.ts +21 -15
  132. package/packages/table/src/body.ts +2 -1
  133. package/packages/table/src/table.ts +16 -14
  134. /package/es/{iconfont.1746578870894.ttf → iconfont.1746694097015.ttf} +0 -0
  135. /package/es/{iconfont.1746578870894.woff → iconfont.1746694097015.woff} +0 -0
  136. /package/es/{iconfont.1746578870894.woff2 → iconfont.1746694097015.woff2} +0 -0
  137. /package/lib/{iconfont.1746578870894.ttf → iconfont.1746694097015.ttf} +0 -0
  138. /package/lib/{iconfont.1746578870894.woff → iconfont.1746694097015.woff} +0 -0
  139. /package/lib/{iconfont.1746578870894.woff2 → iconfont.1746694097015.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.13.18";
16
+ const version = exports.version = "4.13.19";
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.13.18",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},rowGroupConfig:{padding:!0,rowField:"id",parentField:"_X_ROW_PARENT_KEY",childrenField:"_X_ROW_CHILDREN",mapChildrenField:"_X_ROW_CHILD_LIST",indent:20,showIcon:!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:{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:!1,gt:24,preSize:1,oSize:0},virtualYConfig:{enabled:!1,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",TABLE_ROW_GROUP_OPEN:iconPrefix+"arrow-right rotate90",TABLE_ROW_GROUP_CLOSE:iconPrefix+"arrow-right",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.13.19",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},rowGroupConfig:{padding:!0,rowField:"id",parentField:"_X_ROW_PARENT_KEY",childrenField:"_X_ROW_CHILDREN",mapChildrenField:"_X_ROW_CHILD_LIST",indent:20,showIcon:!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:{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:!1,gt:24,preSize:1,oSize:0},virtualYConfig:{enabled:!1,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",TABLE_ROW_GROUP_OPEN:iconPrefix+"arrow-right rotate90",TABLE_ROW_GROUP_CLOSE:iconPrefix+"arrow-right",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.13.18"}`;
11
+ const version = `table v${"4.13.19"}`;
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.13.18",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.13.19",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.13.18",
3
+ "version": "4.13.19",
4
4
  "description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'أسبوع',
275
+ w: '',
276
276
  w0: 'شمس',
277
277
  w1: 'الاثنين',
278
278
  w2: 'الثلاثاء',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Woche',
275
+ w: '',
276
276
  w0: 'Sonntag',
277
277
  w1: 'am Montag',
278
278
  w2: 'Dienstag',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Week',
275
+ w: '',
276
276
  w0: 'Sun',
277
277
  w1: 'Mon',
278
278
  w2: 'Tue',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Semana',
275
+ w: '',
276
276
  w0: 'Sol',
277
277
  w1: 'Lun',
278
278
  w2: 'Mar',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Semaine',
275
+ w: '',
276
276
  w0: 'Soleil',
277
277
  w1: 'Lun',
278
278
  w2: 'Mar',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Hét',
275
+ w: '',
276
276
  w0: 'Nap',
277
277
  w1: 'Mon',
278
278
  w2: 'Kedd',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: '',
275
+ w: '',
276
276
  w0: '周日',
277
277
  w1: '周一',
278
278
  w2: '周二',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Pekan',
275
+ w: '',
276
276
  w0: 'Matahari',
277
277
  w1: 'Senin',
278
278
  w2: 'Sel',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Settimana',
275
+ w: '',
276
276
  w0: 'Sole',
277
277
  w1: 'Lun',
278
278
  w2: 'Mar',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: '',
275
+ w: '',
276
276
  w0: '日',
277
277
  w1: '月',
278
278
  w2: '火',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: '',
275
+ w: '',
276
276
  w0: '일요일',
277
277
  w1: '월요일',
278
278
  w2: '화요일',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'minggu',
275
+ w: '',
276
276
  w0: 'Ahad',
277
277
  w1: 'pada hari Isnin',
278
278
  w2: 'Selasa',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Uke',
275
+ w: '',
276
276
  w0: 'Sol',
277
277
  w1: 'Man',
278
278
  w2: 'Tir',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Semana',
275
+ w: '',
276
276
  w0: 'Sol',
277
277
  w1: 'seg',
278
278
  w2: 'ter',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'неделя',
275
+ w: '',
276
276
  w0: 'Воскресенье',
277
277
  w1: 'в понедельник',
278
278
  w2: 'Вторник',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'สัปดาห์',
275
+ w: '',
276
276
  w0: 'ดวงอาทิตย์',
277
277
  w1: 'จอน',
278
278
  w2: 'อ.',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'ھەپتە',
275
+ w: '',
276
276
  w0: 'يەكشەنبە',
277
277
  w1: 'دۈشەنبە',
278
278
  w2: 'سەيشەنبە',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Тиждень',
275
+ w: '',
276
276
  w0: 'Сонце',
277
277
  w1: 'Мн',
278
278
  w2: 'Зміст',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'hafta',
275
+ w: '',
276
276
  w0: 'Yakshanba',
277
277
  w1: 'dushanba kuni',
278
278
  w2: 'Seshanba',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: 'Tuần',
275
+ w: '',
276
276
  w0: 'Mặt trời',
277
277
  w1: 'Mon',
278
278
  w2: 'TUE',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: '',
275
+ w: '',
276
276
  w0: '週日',
277
277
  w1: '週一',
278
278
  w2: '週二',
@@ -272,7 +272,7 @@ export default {
272
272
  year: 'yyyy'
273
273
  },
274
274
  weeks: {
275
- w: '',
275
+ w: '',
276
276
  w0: '周日',
277
277
  w1: '周一',
278
278
  w2: '周二',
@@ -422,12 +422,15 @@ function renderNativeOptgroups (renderOpts: any, params: any, renderOptionsMetho
422
422
  const { optionGroups, optionGroupProps = {} } = renderOpts
423
423
  const groupOptions = optionGroupProps.options || 'options'
424
424
  const groupLabel = optionGroupProps.label || 'label'
425
- return optionGroups.map((group: any, gIndex: any) => {
426
- return h('optgroup', {
427
- key: gIndex,
428
- label: group[groupLabel]
429
- }, renderOptionsMethods(group[groupOptions], renderOpts, params))
430
- })
425
+ if (optionGroups) {
426
+ return optionGroups.map((group: any, gIndex: any) => {
427
+ return h('optgroup', {
428
+ key: gIndex,
429
+ label: group[groupLabel]
430
+ }, renderOptionsMethods(group[groupOptions], renderOpts, params))
431
+ })
432
+ }
433
+ return []
431
434
  }
432
435
 
433
436
  /**
@@ -440,15 +443,18 @@ function renderNativeOptions (options: any, renderOpts: any, params: any) {
440
443
  const valueProp = optionProps.value || 'value'
441
444
  const disabledProp = optionProps.disabled || 'disabled'
442
445
  const cellValue = isImmediateCell(renderOpts, params) ? getCellValue(row, column) : column.model.value
443
- return options.map((option: any, oIndex: any) => {
444
- return h('option', {
445
- key: oIndex,
446
- value: option[valueProp],
447
- disabled: option[disabledProp],
448
- /* eslint-disable eqeqeq */
449
- selected: option[valueProp] == cellValue
450
- }, option[labelProp])
451
- })
446
+ if (options) {
447
+ return options.map((option: any, oIndex: any) => {
448
+ return h('option', {
449
+ key: oIndex,
450
+ value: option[valueProp],
451
+ disabled: option[disabledProp],
452
+ /* eslint-disable eqeqeq */
453
+ selected: option[valueProp] == cellValue
454
+ }, option[labelProp])
455
+ })
456
+ }
457
+ return []
452
458
  }
453
459
 
454
460
  function nativeFilterRender (renderOpts: any, params: any) {
@@ -818,7 +818,8 @@ export default defineComponent({
818
818
  xid: xID,
819
819
  cellspacing: 0,
820
820
  cellpadding: 0,
821
- border: 0
821
+ border: 0,
822
+ xvm: isOptimizeMode ? '1' : null
822
823
  }, [
823
824
  /**
824
825
  * 列宽
@@ -8669,24 +8669,26 @@ export default defineComponent({
8669
8669
  const { selectRadioRow: oldValue } = reactData
8670
8670
  const { row } = params
8671
8671
  const radioOpts = computeRadioOpts.value
8672
- const { trigger } = radioOpts
8672
+ const { trigger, checkMethod } = radioOpts
8673
8673
  if (trigger === 'manual') {
8674
8674
  return
8675
8675
  }
8676
8676
  evnt.stopPropagation()
8677
- let newValue = row
8678
- let isChange = oldValue !== newValue
8679
- if (isChange) {
8680
- handleCheckedRadioRow(newValue)
8681
- } else if (!radioOpts.strict) {
8682
- isChange = oldValue === newValue
8677
+ if (!checkMethod || checkMethod({ $table: $xeTable, row })) {
8678
+ let newValue = row
8679
+ let isChange = oldValue !== newValue
8683
8680
  if (isChange) {
8684
- newValue = null
8685
- $xeTable.clearRadioRow()
8681
+ handleCheckedRadioRow(newValue)
8682
+ } else if (!radioOpts.strict) {
8683
+ isChange = oldValue === newValue
8684
+ if (isChange) {
8685
+ newValue = null
8686
+ $xeTable.clearRadioRow()
8687
+ }
8688
+ }
8689
+ if (isChange) {
8690
+ dispatchEvent('radio-change', { oldValue, newValue, ...params }, evnt)
8686
8691
  }
8687
- }
8688
- if (isChange) {
8689
- dispatchEvent('radio-change', { oldValue, newValue, ...params }, evnt)
8690
8692
  }
8691
8693
  },
8692
8694
  triggerCurrentColumnEvent (evnt, params) {
@@ -11217,8 +11219,8 @@ export default defineComponent({
11217
11219
  if (props.editConfig && (editOpts.showStatus || editOpts.showUpdateStatus || editOpts.showInsertStatus) && !props.keepSource) {
11218
11220
  warnLog('vxe.error.reqProp', ['keep-source'])
11219
11221
  }
11220
- if (treeConfig && (treeOpts.showLine || treeOpts.line) && (!(props.rowKey || rowOpts.useKey) || !showOverflow)) {
11221
- warnLog('vxe.error.reqProp', ['row-config.useKey | show-overflow'])
11222
+ if (treeConfig && (treeOpts.showLine || treeOpts.line) && !showOverflow) {
11223
+ warnLog('vxe.error.reqProp', ['show-overflow'])
11222
11224
  }
11223
11225
  if (treeConfig && !treeOpts.transform && props.stripe) {
11224
11226
  warnLog('vxe.error.noTree', ['stripe'])