vxe-table 4.15.4 → 4.15.6

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 (87) hide show
  1. package/README.en.md +2 -6
  2. package/README.ja-JP.md +2 -6
  3. package/README.md +8 -10
  4. package/README.zh-TW.md +2 -6
  5. package/es/grid/src/emits.js +16 -0
  6. package/es/grid/src/grid.js +77 -62
  7. package/es/grid/src/props.js +7 -0
  8. package/es/style.css +1 -1
  9. package/es/table/index.js +0 -8
  10. package/es/table/module/custom/hook.js +3 -0
  11. package/es/table/module/edit/hook.js +3 -0
  12. package/es/table/module/export/hook.js +6 -1
  13. package/es/table/module/filter/hook.js +3 -0
  14. package/es/table/module/menu/hook.js +3 -0
  15. package/es/table/module/validator/hook.js +3 -0
  16. package/es/table/src/emits.js +1 -1
  17. package/es/table/src/header.js +2 -2
  18. package/es/table/src/props.js +1 -1
  19. package/es/table/src/table.js +161 -63
  20. package/es/table/src/util.js +1 -14
  21. package/es/toolbar/src/toolbar.js +2 -2
  22. package/es/ui/index.js +13 -4
  23. package/es/ui/src/log.js +1 -1
  24. package/lib/grid/src/emits.js +8 -0
  25. package/lib/grid/src/emits.min.js +1 -0
  26. package/lib/grid/src/grid.js +78 -54
  27. package/lib/grid/src/grid.min.js +1 -1
  28. package/lib/grid/src/props.js +24 -0
  29. package/lib/grid/src/props.min.js +1 -0
  30. package/lib/index.umd.js +12073 -12008
  31. package/lib/index.umd.min.js +1 -1
  32. package/lib/style.css +1 -1
  33. package/lib/table/index.js +0 -8
  34. package/lib/table/index.min.js +1 -1
  35. package/lib/table/module/custom/hook.js +3 -0
  36. package/lib/table/module/custom/hook.min.js +1 -1
  37. package/lib/table/module/edit/hook.js +3 -0
  38. package/lib/table/module/edit/hook.min.js +1 -1
  39. package/lib/table/module/export/hook.js +8 -1
  40. package/lib/table/module/export/hook.min.js +1 -1
  41. package/lib/table/module/filter/hook.js +3 -0
  42. package/lib/table/module/filter/hook.min.js +1 -1
  43. package/lib/table/module/menu/hook.js +3 -0
  44. package/lib/table/module/menu/hook.min.js +1 -1
  45. package/lib/table/module/validator/hook.js +3 -0
  46. package/lib/table/module/validator/hook.min.js +1 -1
  47. package/lib/table/src/emits.js +2 -2
  48. package/lib/table/src/emits.min.js +1 -1
  49. package/lib/table/src/header.js +2 -2
  50. package/lib/table/src/props.js +2 -2
  51. package/lib/table/src/props.min.js +1 -1
  52. package/lib/table/src/table.js +33 -26
  53. package/lib/table/src/table.min.js +1 -1
  54. package/lib/table/src/util.js +1 -14
  55. package/lib/table/src/util.min.js +1 -1
  56. package/lib/toolbar/src/toolbar.js +2 -0
  57. package/lib/toolbar/src/toolbar.min.js +1 -1
  58. package/lib/ui/index.js +12 -3
  59. package/lib/ui/index.min.js +1 -1
  60. package/lib/ui/src/log.js +1 -1
  61. package/lib/ui/src/log.min.js +1 -1
  62. package/package.json +1 -1
  63. package/packages/grid/src/emits.ts +19 -0
  64. package/packages/grid/src/grid.ts +89 -85
  65. package/packages/grid/src/props.ts +23 -0
  66. package/packages/table/index.ts +0 -8
  67. package/packages/table/module/custom/hook.ts +3 -0
  68. package/packages/table/module/edit/hook.ts +3 -0
  69. package/packages/table/module/export/hook.ts +8 -3
  70. package/packages/table/module/filter/hook.ts +3 -0
  71. package/packages/table/module/menu/hook.ts +3 -0
  72. package/packages/table/module/validator/hook.ts +3 -0
  73. package/packages/table/src/emits.ts +2 -2
  74. package/packages/table/src/header.ts +5 -5
  75. package/packages/table/src/props.ts +1 -1
  76. package/packages/table/src/table.ts +167 -66
  77. package/packages/table/src/util.ts +1 -14
  78. package/packages/toolbar/src/toolbar.ts +2 -2
  79. package/packages/ui/index.ts +12 -2
  80. package/packages/ui/src/dom.ts +1 -1
  81. package/styles/cssvar.scss +0 -2
  82. /package/es/{iconfont.1754457119712.ttf → iconfont.1754905357789.ttf} +0 -0
  83. /package/es/{iconfont.1754457119712.woff → iconfont.1754905357789.woff} +0 -0
  84. /package/es/{iconfont.1754457119712.woff2 → iconfont.1754905357789.woff2} +0 -0
  85. /package/lib/{iconfont.1754457119712.ttf → iconfont.1754905357789.ttf} +0 -0
  86. /package/lib/{iconfont.1754457119712.woff → iconfont.1754905357789.woff} +0 -0
  87. /package/lib/{iconfont.1754457119712.woff2 → iconfont.1754905357789.woff2} +0 -0
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.gridProps = void 0;
7
+ var _ui = require("../../ui");
8
+ var _props = require("../../table/src/props");
9
+ const {
10
+ getConfig
11
+ } = _ui.VxeUI;
12
+ const gridProps = exports.gridProps = Object.assign(Object.assign({}, _props.tableProps), {
13
+ layouts: Array,
14
+ columns: Array,
15
+ pagerConfig: Object,
16
+ proxyConfig: Object,
17
+ toolbarConfig: Object,
18
+ formConfig: Object,
19
+ zoomConfig: Object,
20
+ size: {
21
+ type: String,
22
+ default: () => getConfig().grid.size || getConfig().size
23
+ }
24
+ });
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.gridProps=void 0;var _ui=require("../../ui"),_props=require("../../table/src/props");let getConfig=_ui.VxeUI.getConfig,gridProps=exports.gridProps=Object.assign(Object.assign({},_props.tableProps),{layouts:Array,columns:Array,pagerConfig:Object,proxyConfig:Object,toolbarConfig:Object,formConfig:Object,zoomConfig:Object,size:{type:String,default:()=>getConfig().grid.size||getConfig().size}});