vxe-table 4.23.8 → 4.23.9

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 (126) hide show
  1. package/dist/all.esm.js +5715 -3783
  2. package/es/components.d.ts +1 -0
  3. package/es/components.js +2 -7
  4. package/es/grid/src/emits.js +1 -15
  5. package/es/grid/src/grid.js +397 -120
  6. package/es/index.esm.js +1 -0
  7. package/es/index.js +1 -0
  8. package/es/table/module/custom/hook.js +49 -42
  9. package/es/table/module/custom/panel.js +777 -527
  10. package/es/table/module/edit/hook.js +140 -62
  11. package/es/table/module/export/export-panel.js +399 -316
  12. package/es/table/module/export/hook.js +395 -337
  13. package/es/table/module/export/import-panel.js +152 -123
  14. package/es/table/module/filter/hook.js +16 -2
  15. package/es/table/module/filter/panel.js +146 -84
  16. package/es/table/module/keyboard/hook.js +8 -4
  17. package/es/table/module/menu/panel.js +197 -126
  18. package/es/table/render/index.js +151 -98
  19. package/es/table/src/body.js +355 -233
  20. package/es/table/src/cell.js +426 -269
  21. package/es/table/src/columnInfo.js +1 -0
  22. package/es/table/src/footer.js +144 -99
  23. package/es/table/src/group.js +7 -3
  24. package/es/table/src/header.js +229 -172
  25. package/es/table/src/table.js +1503 -1030
  26. package/es/table/src/util.js +15 -19
  27. package/es/toolbar/src/toolbar.js +132 -75
  28. package/es/ui/index.js +1 -1
  29. package/es/ui/src/dom.js +9 -6
  30. package/es/ui/src/log.js +1 -1
  31. package/es/ui/src/utils.d.ts +1 -1
  32. package/lib/components.js +2 -7
  33. package/lib/grid/src/emits.js +1 -15
  34. package/lib/grid/src/grid.js +397 -120
  35. package/lib/index.common.js +1 -0
  36. package/lib/index.js +1 -0
  37. package/lib/index.umd.js +5732 -3800
  38. package/lib/index.umd.min.js +3 -3
  39. package/lib/table/module/custom/hook.js +49 -42
  40. package/lib/table/module/custom/panel.js +777 -527
  41. package/lib/table/module/edit/hook.js +140 -62
  42. package/lib/table/module/export/export-panel.js +399 -316
  43. package/lib/table/module/export/hook.js +395 -337
  44. package/lib/table/module/export/import-panel.js +152 -123
  45. package/lib/table/module/filter/hook.js +16 -2
  46. package/lib/table/module/filter/panel.js +146 -84
  47. package/lib/table/module/keyboard/hook.js +8 -4
  48. package/lib/table/module/menu/panel.js +197 -126
  49. package/lib/table/render/index.js +151 -98
  50. package/lib/table/src/body.js +355 -233
  51. package/lib/table/src/cell.js +426 -269
  52. package/lib/table/src/columnInfo.js +1 -0
  53. package/lib/table/src/footer.js +144 -99
  54. package/lib/table/src/group.js +7 -3
  55. package/lib/table/src/header.js +229 -172
  56. package/lib/table/src/table.js +1471 -1029
  57. package/lib/table/src/util.js +15 -19
  58. package/lib/toolbar/src/toolbar.js +132 -75
  59. package/lib/ui/index.js +1 -1
  60. package/lib/ui/src/dom.js +9 -6
  61. package/lib/ui/src/log.js +1 -1
  62. package/package.json +2 -2
  63. package/packages/colgroup/index.ts +22 -22
  64. package/packages/column/index.ts +22 -22
  65. package/packages/components.ts +41 -44
  66. package/packages/grid/index.ts +18 -18
  67. package/packages/grid/src/emits.ts +5 -19
  68. package/packages/grid/src/grid.ts +2229 -1925
  69. package/packages/grid/src/props.ts +22 -23
  70. package/packages/index.ts +11 -11
  71. package/packages/locale/lang/fr-FR.ts +15 -15
  72. package/packages/locale/lang/it-IT.ts +4 -4
  73. package/packages/locale/lang/uk-UA.ts +1 -1
  74. package/packages/locale/lang/uz-UZ.ts +13 -13
  75. package/packages/locale/lang/zh-CN.ts +907 -907
  76. package/packages/table/index.ts +26 -26
  77. package/packages/table/module/custom/hook.ts +510 -503
  78. package/packages/table/module/custom/panel.ts +2002 -1743
  79. package/packages/table/module/edit/hook.ts +1224 -1131
  80. package/packages/table/module/export/export-panel.ts +697 -611
  81. package/packages/table/module/export/hook.ts +2160 -2059
  82. package/packages/table/module/export/import-panel.ts +319 -279
  83. package/packages/table/module/export/util.ts +25 -24
  84. package/packages/table/module/filter/hook.ts +519 -501
  85. package/packages/table/module/filter/panel.ts +368 -304
  86. package/packages/table/module/keyboard/hook.ts +498 -494
  87. package/packages/table/module/menu/hook.ts +330 -330
  88. package/packages/table/module/menu/panel.ts +272 -201
  89. package/packages/table/module/validator/hook.ts +653 -635
  90. package/packages/table/render/index.ts +1819 -1744
  91. package/packages/table/src/body.ts +1078 -955
  92. package/packages/table/src/cell.ts +1524 -1359
  93. package/packages/table/src/column.ts +192 -192
  94. package/packages/table/src/columnInfo.ts +232 -232
  95. package/packages/table/src/emits.ts +134 -134
  96. package/packages/table/src/footer.ts +425 -380
  97. package/packages/table/src/group.ts +67 -63
  98. package/packages/table/src/header.ts +642 -581
  99. package/packages/table/src/props.ts +336 -336
  100. package/packages/table/src/store.ts +14 -14
  101. package/packages/table/src/table.ts +16011 -15454
  102. package/packages/table/src/use/cell-view.ts +41 -44
  103. package/packages/table/src/use/index.ts +1 -1
  104. package/packages/table/src/util.ts +1206 -1216
  105. package/packages/toolbar/index.ts +18 -18
  106. package/packages/toolbar/src/toolbar.ts +768 -706
  107. package/packages/ui/index.ts +519 -520
  108. package/packages/ui/src/anime.ts +51 -52
  109. package/packages/ui/src/comp.ts +3 -3
  110. package/packages/ui/src/dom.ts +466 -463
  111. package/packages/ui/src/log.ts +19 -19
  112. package/packages/ui/src/utils.ts +66 -66
  113. package/packages/ui/src/vn.ts +55 -55
  114. package/packages/v-x-e-table/index.d.ts +3 -3
  115. package/packages/v-x-e-table/index.ts +3 -3
  116. package/types/all.d.ts +76 -76
  117. package/types/index.d.ts +4 -4
  118. /package/dist/{iconfont.1793007753347.ttf → iconfont.1793009263429.ttf} +0 -0
  119. /package/dist/{iconfont.1793007753347.woff → iconfont.1793009263429.woff} +0 -0
  120. /package/dist/{iconfont.1793007753347.woff2 → iconfont.1793009263429.woff2} +0 -0
  121. /package/es/{iconfont.1793007753347.ttf → iconfont.1793009263429.ttf} +0 -0
  122. /package/es/{iconfont.1793007753347.woff → iconfont.1793009263429.woff} +0 -0
  123. /package/es/{iconfont.1793007753347.woff2 → iconfont.1793009263429.woff2} +0 -0
  124. /package/lib/{iconfont.1793007753347.ttf → iconfont.1793009263429.ttf} +0 -0
  125. /package/lib/{iconfont.1793007753347.woff → iconfont.1793009263429.woff} +0 -0
  126. /package/lib/{iconfont.1793007753347.woff2 → iconfont.1793009263429.woff2} +0 -0
@@ -833,17 +833,20 @@ function createColumn($xeTable, options, renderOptions) {
833
833
  }
834
834
  function watchColumn($xeTable, props, column) {
835
835
  Object.keys(props).forEach((name) => {
836
- watch(() => props[name], (value) => {
837
- column.update(name, value);
838
- if ($xeTable) {
839
- if (name === "filters") {
840
- $xeTable.setFilter(column, value);
841
- $xeTable.handleUpdateDataQueue();
842
- } else if (["visible", "fixed", "width", "minWidth", "maxWidth"].includes(name)) {
843
- $xeTable.handleRefreshColumnQueue();
836
+ watch(
837
+ () => props[name],
838
+ (value) => {
839
+ column.update(name, value);
840
+ if ($xeTable) {
841
+ if (name === "filters") {
842
+ $xeTable.setFilter(column, value);
843
+ $xeTable.handleUpdateDataQueue();
844
+ } else if (["visible", "fixed", "width", "minWidth", "maxWidth"].includes(name)) {
845
+ $xeTable.handleRefreshColumnQueue();
846
+ }
844
847
  }
845
848
  }
846
- });
849
+ );
847
850
  });
848
851
  }
849
852
  function assembleColumn($xeTable, elem, column, colgroup) {
@@ -918,20 +921,13 @@ function clearTableDefaultStatus($xeTable) {
918
921
  $xeTable.clearPendingRow()
919
922
  ];
920
923
  if ($xeTable.clearFilter) {
921
- actionList.push(
922
- $xeTable.clearFilter()
923
- );
924
+ actionList.push($xeTable.clearFilter());
924
925
  }
925
926
  if ($xeTable.clearSelected && (hasEnableConf(keyboardConfig, keyboardOpts) || hasEnableConf(mouseConfig, mouseOpts))) {
926
- actionList.push(
927
- $xeTable.clearSelected()
928
- );
927
+ actionList.push($xeTable.clearSelected());
929
928
  }
930
929
  if ($xeTable.clearCellAreas && hasEnableConf(mouseConfig, mouseOpts)) {
931
- actionList.push(
932
- $xeTable.clearCellAreas(),
933
- $xeTable.clearCopyCellArea()
934
- );
930
+ actionList.push($xeTable.clearCellAreas(), $xeTable.clearCopyCellArea());
935
931
  }
936
932
  return Promise.all(actionList).then(() => {
937
933
  return $xeTable.clearScroll();
@@ -52,10 +52,7 @@ var toolbar_default = defineVxeComponent({
52
52
  },
53
53
  className: [String, Function]
54
54
  },
55
- emits: [
56
- "button-click",
57
- "tool-click"
58
- ],
55
+ emits: ["button-click", "tool-click"],
59
56
  setup(props, context) {
60
57
  const { slots, emit } = context;
61
58
  const xID = XEUtils.uniqueId();
@@ -368,24 +365,32 @@ var toolbar_default = defineVxeComponent({
368
365
  const toolbarButtonClassName = compConf.toolbarButtonClassName;
369
366
  const params = { $grid: $xeGrid, $gantt: $xeGantt, $table, button: item };
370
367
  btnVNs.push(
371
- h("span", {
372
- key: `br${item.code || index}`,
373
- class: ["vxe-button--item", toolbarButtonClassName ? XEUtils.isFunction(toolbarButtonClassName) ? toolbarButtonClassName(params) : toolbarButtonClassName : ""]
374
- }, getSlotVNs(compConf.renderToolbarButton(buttonRender, params)))
368
+ h(
369
+ "span",
370
+ {
371
+ key: `br${item.code || index}`,
372
+ class: ["vxe-button--item", toolbarButtonClassName ? XEUtils.isFunction(toolbarButtonClassName) ? toolbarButtonClassName(params) : toolbarButtonClassName : ""]
373
+ },
374
+ getSlotVNs(compConf.renderToolbarButton(buttonRender, params))
375
+ )
375
376
  );
376
377
  } else {
377
378
  if (VxeUIButtonComponent) {
378
379
  btnVNs.push(
379
- h(VxeUIButtonComponent, {
380
- key: `bd${item.code || index}`,
381
- ...Object.assign({}, item, {
382
- content: item.content || item.name,
383
- options: void 0
384
- }),
385
- onClick: (eventParams) => btnEvent(eventParams, item)
386
- }, dropdowns && dropdowns.length ? {
387
- dropdowns: () => renderDropdowns(item, true)
388
- } : {})
380
+ h(
381
+ VxeUIButtonComponent,
382
+ {
383
+ key: `bd${item.code || index}`,
384
+ ...Object.assign({}, item, {
385
+ content: item.content || item.name,
386
+ options: void 0
387
+ }),
388
+ onClick: (eventParams) => btnEvent(eventParams, item)
389
+ },
390
+ dropdowns && dropdowns.length ? {
391
+ dropdowns: () => renderDropdowns(item, true)
392
+ } : {}
393
+ )
389
394
  );
390
395
  }
391
396
  }
@@ -393,15 +398,27 @@ var toolbar_default = defineVxeComponent({
393
398
  });
394
399
  }
395
400
  return [
396
- h("div", {
397
- class: "vxe-button--prefix-wrapper"
398
- }, buttonPrefixSlot ? getSlotVNs(buttonPrefixSlot({ buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : []),
399
- h("div", {
400
- class: "vxe-button--item-wrapper"
401
- }, buttonsSlot ? getSlotVNs(buttonsSlot({ buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : btnVNs),
402
- h("div", {
403
- class: "vxe-button--suffix-wrapper"
404
- }, buttonSuffixSlot ? getSlotVNs(buttonSuffixSlot({ buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : [])
401
+ h(
402
+ "div",
403
+ {
404
+ class: "vxe-button--prefix-wrapper"
405
+ },
406
+ buttonPrefixSlot ? getSlotVNs(buttonPrefixSlot({ buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : []
407
+ ),
408
+ h(
409
+ "div",
410
+ {
411
+ class: "vxe-button--item-wrapper"
412
+ },
413
+ buttonsSlot ? getSlotVNs(buttonsSlot({ buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : btnVNs
414
+ ),
415
+ h(
416
+ "div",
417
+ {
418
+ class: "vxe-button--suffix-wrapper"
419
+ },
420
+ buttonSuffixSlot ? getSlotVNs(buttonSuffixSlot({ buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : []
421
+ )
405
422
  ];
406
423
  };
407
424
  const renderRightTools = () => {
@@ -423,24 +440,32 @@ var toolbar_default = defineVxeComponent({
423
440
  const toolbarToolClassName = compConf.toolbarToolClassName;
424
441
  const params = { $grid: $xeGrid, $gantt: $xeGantt, $table, tool: item };
425
442
  btnVNs.push(
426
- h("span", {
427
- key: tIndex,
428
- class: ["vxe-tool--item", toolbarToolClassName ? XEUtils.isFunction(toolbarToolClassName) ? toolbarToolClassName(params) : toolbarToolClassName : ""]
429
- }, getSlotVNs(compConf.renderToolbarTool(toolRender, params)))
443
+ h(
444
+ "span",
445
+ {
446
+ key: tIndex,
447
+ class: ["vxe-tool--item", toolbarToolClassName ? XEUtils.isFunction(toolbarToolClassName) ? toolbarToolClassName(params) : toolbarToolClassName : ""]
448
+ },
449
+ getSlotVNs(compConf.renderToolbarTool(toolRender, params))
450
+ )
430
451
  );
431
452
  } else {
432
453
  if (VxeUIButtonComponent) {
433
454
  btnVNs.push(
434
- h(VxeUIButtonComponent, {
435
- key: tIndex,
436
- ...Object.assign({}, item, {
437
- content: item.content || item.name,
438
- options: void 0
439
- }),
440
- onClick: (eventParams) => tolEvent(eventParams, item)
441
- }, dropdowns && dropdowns.length ? {
442
- dropdowns: () => renderDropdowns(item, false)
443
- } : {})
455
+ h(
456
+ VxeUIButtonComponent,
457
+ {
458
+ key: tIndex,
459
+ ...Object.assign({}, item, {
460
+ content: item.content || item.name,
461
+ options: void 0
462
+ }),
463
+ onClick: (eventParams) => tolEvent(eventParams, item)
464
+ },
465
+ dropdowns && dropdowns.length ? {
466
+ dropdowns: () => renderDropdowns(item, false)
467
+ } : {}
468
+ )
444
469
  );
445
470
  }
446
471
  }
@@ -448,15 +473,27 @@ var toolbar_default = defineVxeComponent({
448
473
  });
449
474
  }
450
475
  return [
451
- h("div", {
452
- class: "vxe-tool--prefix-wrapper"
453
- }, toolPrefixSlot ? getSlotVNs(toolPrefixSlot({ tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : []),
454
- h("div", {
455
- class: "vxe-tool--item-wrapper"
456
- }, toolsSlot ? getSlotVNs(toolsSlot({ tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : btnVNs),
457
- h("div", {
458
- class: "vxe-tool--suffix-wrapper"
459
- }, toolSuffixSlot ? getSlotVNs(toolSuffixSlot({ tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : [])
476
+ h(
477
+ "div",
478
+ {
479
+ class: "vxe-tool--prefix-wrapper"
480
+ },
481
+ toolPrefixSlot ? getSlotVNs(toolPrefixSlot({ tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : []
482
+ ),
483
+ h(
484
+ "div",
485
+ {
486
+ class: "vxe-tool--item-wrapper"
487
+ },
488
+ toolsSlot ? getSlotVNs(toolsSlot({ tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : btnVNs
489
+ ),
490
+ h(
491
+ "div",
492
+ {
493
+ class: "vxe-tool--suffix-wrapper"
494
+ },
495
+ toolSuffixSlot ? getSlotVNs(toolSuffixSlot({ tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table })) : []
496
+ )
460
497
  ];
461
498
  };
462
499
  const renderToolImport = () => {
@@ -532,31 +569,51 @@ var toolbar_default = defineVxeComponent({
532
569
  const renderVN = () => {
533
570
  const { perfect, loading, refresh, zoom, custom, className } = props;
534
571
  const vSize = computeSize.value;
535
- return h("div", {
536
- ref: refElem,
537
- class: ["vxe-toolbar", className ? XEUtils.isFunction(className) ? className({ $toolbar: $xeToolbar }) : className : "", {
538
- [`size--${vSize}`]: vSize,
539
- "is--perfect": perfect,
540
- "is--loading": loading
541
- }]
542
- }, [
543
- h("div", {
544
- class: "vxe-buttons--wrapper"
545
- }, renderLeftBtns()),
546
- h("div", {
547
- class: "vxe-tools--wrapper"
548
- }, renderRightTools()),
549
- h("div", {
550
- class: "vxe-tools--operate"
551
- }, [
552
- props.import ? renderToolImport() : createCommentVNode(),
553
- props.export ? renderToolExport() : createCommentVNode(),
554
- props.print ? renderToolPrint() : createCommentVNode(),
555
- refresh ? renderToolRefresh() : createCommentVNode(),
556
- zoom && $xeGGWrapper ? renderToolZoom() : createCommentVNode(),
557
- custom ? renderToolCustom() : createCommentVNode()
558
- ])
559
- ]);
572
+ return h(
573
+ "div",
574
+ {
575
+ ref: refElem,
576
+ class: [
577
+ "vxe-toolbar",
578
+ className ? XEUtils.isFunction(className) ? className({ $toolbar: $xeToolbar }) : className : "",
579
+ {
580
+ [`size--${vSize}`]: vSize,
581
+ "is--perfect": perfect,
582
+ "is--loading": loading
583
+ }
584
+ ]
585
+ },
586
+ [
587
+ h(
588
+ "div",
589
+ {
590
+ class: "vxe-buttons--wrapper"
591
+ },
592
+ renderLeftBtns()
593
+ ),
594
+ h(
595
+ "div",
596
+ {
597
+ class: "vxe-tools--wrapper"
598
+ },
599
+ renderRightTools()
600
+ ),
601
+ h(
602
+ "div",
603
+ {
604
+ class: "vxe-tools--operate"
605
+ },
606
+ [
607
+ props.import ? renderToolImport() : createCommentVNode(),
608
+ props.export ? renderToolExport() : createCommentVNode(),
609
+ props.print ? renderToolPrint() : createCommentVNode(),
610
+ refresh ? renderToolRefresh() : createCommentVNode(),
611
+ zoom && $xeGGWrapper ? renderToolZoom() : createCommentVNode(),
612
+ custom ? renderToolCustom() : createCommentVNode()
613
+ ]
614
+ )
615
+ ]
616
+ );
560
617
  };
561
618
  $xeToolbar.renderVN = renderVN;
562
619
  nextTick(() => {
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from "@vxe-ui/core";
2
2
  import { getFuncText } from "./src/utils";
3
- const version = "4.23.8";
3
+ const version = "4.23.9";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/dom.js CHANGED
@@ -232,12 +232,15 @@ function wheelScrollTopTo(diffNum, cb) {
232
232
  });
233
233
  }
234
234
  function updatePanelPlacement(targetElem, panelElem, options) {
235
- const { defaultTop, defaultLeft, placement, defaultPlacement, appendTo, teleportTo, marginSize, isMinWidth } = Object.assign({
236
- appendTo: "",
237
- teleportTo: false,
238
- marginSize: 18,
239
- isMinWidth: true
240
- }, options);
235
+ const { defaultTop, defaultLeft, placement, defaultPlacement, appendTo, teleportTo, marginSize, isMinWidth } = Object.assign(
236
+ {
237
+ appendTo: "",
238
+ teleportTo: false,
239
+ marginSize: 18,
240
+ isMinWidth: true
241
+ },
242
+ options
243
+ );
241
244
  let panelPlacement = "bottom";
242
245
  let top = "";
243
246
  let bottom = "";
package/es/ui/src/log.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from "@vxe-ui/core";
2
2
  const { log } = VxeUI;
3
- const tableVersion = `table v${"4.23.8"}`;
3
+ const tableVersion = `table v${"4.23.9"}`;
4
4
  function createComponentLog(name) {
5
5
  const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : "";
6
6
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : "";
@@ -20,4 +20,4 @@ export declare function formatText(value: any, placeholder?: any): string;
20
20
  * 判断值为:'' | null | undefined 时都属于空值
21
21
  */
22
22
  export declare function eqEmptyValue(cellValue: any): boolean;
23
- export declare function getDefaultConfig<T = any, D = any>(val1: T, def1: D): (T | D);
23
+ export declare function getDefaultConfig<T = any, D = any>(val1: T, def1: D): T | D;
package/lib/components.js CHANGED
@@ -41,18 +41,13 @@ var import_grid = require("./grid");
41
41
  var import_table = require("./table");
42
42
  var import_toolbar = require("./toolbar");
43
43
  var import_zh_CN = __toESM(require("./locale/lang/zh-CN"));
44
+ __reExport(components_exports, require("./ui"), module.exports);
44
45
  __reExport(components_exports, require("./table"), module.exports);
45
46
  __reExport(components_exports, require("./column"), module.exports);
46
47
  __reExport(components_exports, require("./colgroup"), module.exports);
47
48
  __reExport(components_exports, require("./grid"), module.exports);
48
49
  __reExport(components_exports, require("./toolbar"), module.exports);
49
- const components = [
50
- import_column.VxeColumn,
51
- import_colgroup.VxeColgroup,
52
- import_grid.VxeGrid,
53
- import_table.VxeTable,
54
- import_toolbar.VxeToolbar
55
- ];
50
+ const components = [import_column.VxeColumn, import_colgroup.VxeColgroup, import_grid.VxeGrid, import_table.VxeTable, import_toolbar.VxeToolbar];
56
51
  function install(app, options) {
57
52
  import_core.VxeUI.setConfig(options);
58
53
  components.forEach((component) => component.install(app));
@@ -22,18 +22,4 @@ __export(emits_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(emits_exports);
24
24
  var import_emits = require("../../table/src/emits");
25
- const gridEmits = [
26
- ...import_emits.tableEmits,
27
- "page-change",
28
- "form-submit",
29
- "form-submit-invalid",
30
- "form-reset",
31
- "form-collapse",
32
- "form-toggle-collapse",
33
- "proxy-query",
34
- "proxy-delete",
35
- "proxy-save",
36
- "toolbar-button-click",
37
- "toolbar-tool-click",
38
- "zoom"
39
- ];
25
+ const gridEmits = [...import_emits.tableEmits, "page-change", "form-submit", "form-submit-invalid", "form-reset", "form-collapse", "form-toggle-collapse", "proxy-query", "proxy-delete", "proxy-save", "toolbar-button-click", "toolbar-tool-click", "zoom"];