vxe-table 3.13.17 → 3.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 (69) hide show
  1. package/es/grid/src/grid.js +42 -72
  2. package/es/style.css +1 -1
  3. package/es/table/module/custom/panel.js +25 -27
  4. package/es/table/module/edit/mixin.js +3 -5
  5. package/es/table/module/export/export-panel.js +22 -24
  6. package/es/table/module/export/import-panel.js +14 -16
  7. package/es/table/module/export/mixin.js +15 -31
  8. package/es/table/module/validator/mixin.js +1 -3
  9. package/es/table/render/index.js +90 -61
  10. package/es/table/src/columnInfo.js +30 -32
  11. package/es/table/src/methods.js +141 -80
  12. package/es/table/src/table.js +16 -18
  13. package/es/table/src/util.js +5 -7
  14. package/es/toolbar/src/toolbar.js +18 -26
  15. package/es/ui/index.js +1 -1
  16. package/es/ui/src/log.js +1 -1
  17. package/lib/grid/src/grid.js +42 -72
  18. package/lib/grid/src/grid.min.js +1 -1
  19. package/lib/index.umd.js +447 -411
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/style.css +1 -1
  22. package/lib/table/module/custom/panel.js +31 -33
  23. package/lib/table/module/custom/panel.min.js +1 -1
  24. package/lib/table/module/edit/mixin.js +3 -5
  25. package/lib/table/module/edit/mixin.min.js +1 -1
  26. package/lib/table/module/export/export-panel.js +22 -24
  27. package/lib/table/module/export/export-panel.min.js +1 -1
  28. package/lib/table/module/export/import-panel.js +14 -16
  29. package/lib/table/module/export/import-panel.min.js +1 -1
  30. package/lib/table/module/export/mixin.js +15 -31
  31. package/lib/table/module/export/mixin.min.js +1 -1
  32. package/lib/table/module/validator/mixin.js +1 -3
  33. package/lib/table/module/validator/mixin.min.js +1 -1
  34. package/lib/table/render/index.js +98 -66
  35. package/lib/table/render/index.min.js +1 -1
  36. package/lib/table/src/columnInfo.js +32 -34
  37. package/lib/table/src/columnInfo.min.js +1 -1
  38. package/lib/table/src/methods.js +148 -78
  39. package/lib/table/src/methods.min.js +1 -1
  40. package/lib/table/src/table.js +13 -15
  41. package/lib/table/src/table.min.js +1 -1
  42. package/lib/table/src/util.js +4 -6
  43. package/lib/table/src/util.min.js +1 -1
  44. package/lib/toolbar/src/toolbar.js +18 -26
  45. package/lib/toolbar/src/toolbar.min.js +1 -1
  46. package/lib/ui/index.js +1 -1
  47. package/lib/ui/index.min.js +1 -1
  48. package/lib/ui/src/log.js +1 -1
  49. package/lib/ui/src/log.min.js +1 -1
  50. package/package.json +2 -2
  51. package/packages/grid/src/grid.ts +42 -72
  52. package/packages/table/module/custom/panel.ts +25 -27
  53. package/packages/table/module/edit/mixin.ts +3 -5
  54. package/packages/table/module/export/export-panel.ts +22 -24
  55. package/packages/table/module/export/import-panel.ts +14 -16
  56. package/packages/table/module/export/mixin.ts +15 -31
  57. package/packages/table/module/validator/mixin.ts +1 -3
  58. package/packages/table/render/index.ts +89 -59
  59. package/packages/table/src/columnInfo.ts +30 -32
  60. package/packages/table/src/methods.ts +143 -78
  61. package/packages/table/src/table.ts +13 -15
  62. package/packages/table/src/util.ts +4 -6
  63. package/packages/toolbar/src/toolbar.ts +18 -26
  64. /package/es/{iconfont.1741051533862.ttf → iconfont.1741224103306.ttf} +0 -0
  65. /package/es/{iconfont.1741051533862.woff → iconfont.1741224103306.woff} +0 -0
  66. /package/es/{iconfont.1741051533862.woff2 → iconfont.1741224103306.woff2} +0 -0
  67. /package/lib/{iconfont.1741051533862.ttf → iconfont.1741224103306.ttf} +0 -0
  68. /package/lib/{iconfont.1741051533862.woff → iconfont.1741224103306.woff} +0 -0
  69. /package/lib/{iconfont.1741051533862.woff2 → iconfont.1741224103306.woff2} +0 -0
@@ -255,9 +255,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
255
255
  if (tCommandMethod) {
256
256
  tCommandMethod(params)
257
257
  } else {
258
- if (process.env.VUE_APP_VXE_ENV === 'development') {
259
- errLog('vxe.error.notCommands', [code])
260
- }
258
+ errLog('vxe.error.notCommands', [code])
261
259
  }
262
260
  }
263
261
  $xeToolbar.dispatchEvent('button-click', params, evnt)
@@ -283,9 +281,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
283
281
  if (tCommandMethod) {
284
282
  tCommandMethod(params)
285
283
  } else {
286
- if (process.env.VUE_APP_VXE_ENV === 'development') {
287
- errLog('vxe.error.notCommands', [code])
288
- }
284
+ errLog('vxe.error.notCommands', [code])
289
285
  }
290
286
  }
291
287
  $xeToolbar.dispatchEvent('tool-click', params, evnt)
@@ -732,30 +728,26 @@ export default /* define-vxe-component start */ defineVxeComponent({
732
728
  $xetable.connect(this)
733
729
  }
734
730
  const customOpts = $xeToolbar.computeCustomOpts
735
- if (process.env.VUE_APP_VXE_ENV === 'development') {
736
- if (customOpts.isFooter) {
737
- warnLog('vxe.error.delProp', ['toolbar.custom.isFooter', 'table.custom-config.showFooter'])
738
- }
739
- if (customOpts.showFooter) {
740
- warnLog('vxe.error.delProp', ['toolbar.custom.showFooter', 'table.custom-config.showFooter'])
741
- }
742
- if (customOpts.immediate) {
743
- warnLog('vxe.error.delProp', ['toolbar.custom.immediate', 'table.custom-config.immediate'])
744
- }
745
- if (customOpts.trigger) {
746
- warnLog('vxe.error.delProp', ['toolbar.custom.trigger', 'table.custom-config.trigger'])
747
- }
731
+ if (customOpts.isFooter) {
732
+ warnLog('vxe.error.delProp', ['toolbar.custom.isFooter', 'table.custom-config.showFooter'])
733
+ }
734
+ if (customOpts.showFooter) {
735
+ warnLog('vxe.error.delProp', ['toolbar.custom.showFooter', 'table.custom-config.showFooter'])
736
+ }
737
+ if (customOpts.immediate) {
738
+ warnLog('vxe.error.delProp', ['toolbar.custom.immediate', 'table.custom-config.immediate'])
739
+ }
740
+ if (customOpts.trigger) {
741
+ warnLog('vxe.error.delProp', ['toolbar.custom.trigger', 'table.custom-config.trigger'])
748
742
  }
749
743
  })
750
744
 
751
- if (process.env.VUE_APP_VXE_ENV === 'development') {
752
- // 使用已安装的组件,如果未安装则不渲染
753
- const VxeUIButtonComponent = VxeUI.getComponent<VxeButtonComponent>('VxeButton')
745
+ // 使用已安装的组件,如果未安装则不渲染
746
+ const VxeUIButtonComponent = VxeUI.getComponent<VxeButtonComponent>('VxeButton')
754
747
 
755
- if (props.refresh || props.import || props.export || props.print || props.zoom) {
756
- if (!VxeUIButtonComponent) {
757
- errLog('vxe.error.reqComp', ['vxe-button'])
758
- }
748
+ if (props.refresh || props.import || props.export || props.print || props.zoom) {
749
+ if (!VxeUIButtonComponent) {
750
+ errLog('vxe.error.reqComp', ['vxe-button'])
759
751
  }
760
752
  }
761
753
  },