vxe-table 4.23.18 → 4.23.20

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 (135) hide show
  1. package/dist/all.esm.js +301 -274
  2. package/dist/all.esm.min.js +3 -3
  3. package/dist/style.css +4 -1
  4. package/dist/style.mini.css +1 -1
  5. package/es/components.d.ts +1 -3
  6. package/es/components.js +1 -2
  7. package/es/esm.index.d.ts +7 -0
  8. package/es/esm.index.js +8 -0
  9. package/es/style.css +4 -1
  10. package/es/style.mini.css +1 -1
  11. package/es/table/module/edit/hook.js +2 -4
  12. package/es/table/module/export/export-panel.js +5 -5
  13. package/es/table/module/export/hook.js +8 -10
  14. package/es/table/module/export/import-panel.js +5 -5
  15. package/es/table/src/table.js +0 -1
  16. package/es/table/style.css +4 -1
  17. package/es/table/style.mini.css +1 -1
  18. package/es/ui/abandon.d.ts +82 -0
  19. package/es/ui/abandon.js +90 -0
  20. package/es/ui/index.d.ts +1 -82
  21. package/es/ui/index.js +2 -88
  22. package/es/ui/src/log.js +1 -1
  23. package/es/vxe-table/style.css +4 -1
  24. package/es/vxe-table/style.mini.css +1 -1
  25. package/lib/components.d.ts +1 -3
  26. package/lib/components.js +1 -2
  27. package/lib/esm.index.d.ts +7 -0
  28. package/lib/esm.index.js +39 -0
  29. package/lib/index.umd.js +266 -270
  30. package/lib/index.umd.min.js +3 -3
  31. package/lib/style.css +4 -1
  32. package/lib/style.mini.css +1 -1
  33. package/lib/table/module/edit/hook.js +2 -4
  34. package/lib/table/module/export/export-panel.js +5 -5
  35. package/lib/table/module/export/hook.js +8 -10
  36. package/lib/table/module/export/import-panel.js +5 -5
  37. package/lib/table/src/table.js +0 -1
  38. package/lib/table/style/style.css +4 -1
  39. package/lib/table/style/style.mini.css +1 -1
  40. package/lib/ui/abandon.d.ts +82 -0
  41. package/lib/ui/abandon.js +110 -0
  42. package/lib/ui/index.d.ts +1 -82
  43. package/lib/ui/index.js +3 -88
  44. package/lib/ui/src/log.js +1 -1
  45. package/lib/vxe-table/style/style.css +4 -1
  46. package/lib/vxe-table/style/style.mini.css +1 -1
  47. package/package.json +2 -2
  48. package/packages/colgroup/index.ts +22 -22
  49. package/packages/column/index.ts +22 -22
  50. package/packages/components.ts +42 -45
  51. package/packages/esm.index.ts +10 -0
  52. package/packages/grid/index.ts +18 -18
  53. package/packages/grid/src/emits.ts +5 -5
  54. package/packages/grid/src/grid.ts +2220 -2220
  55. package/packages/grid/src/props.ts +22 -22
  56. package/packages/index.ts +13 -13
  57. package/packages/locale/lang/ar-EG.ts +914 -914
  58. package/packages/locale/lang/de-DE.ts +914 -914
  59. package/packages/locale/lang/en-US.ts +914 -914
  60. package/packages/locale/lang/es-ES.ts +914 -914
  61. package/packages/locale/lang/fr-FR.ts +914 -914
  62. package/packages/locale/lang/hu-HU.ts +914 -914
  63. package/packages/locale/lang/hy-AM.ts +914 -914
  64. package/packages/locale/lang/id-ID.ts +914 -914
  65. package/packages/locale/lang/it-IT.ts +914 -914
  66. package/packages/locale/lang/ja-JP.ts +914 -914
  67. package/packages/locale/lang/ko-KR.ts +914 -914
  68. package/packages/locale/lang/ms-MY.ts +914 -914
  69. package/packages/locale/lang/nb-NO.ts +914 -914
  70. package/packages/locale/lang/pt-BR.ts +914 -914
  71. package/packages/locale/lang/ru-RU.ts +914 -914
  72. package/packages/locale/lang/th-TH.ts +914 -914
  73. package/packages/locale/lang/ug-CN.ts +914 -914
  74. package/packages/locale/lang/uk-UA.ts +914 -914
  75. package/packages/locale/lang/uz-UZ.ts +914 -914
  76. package/packages/locale/lang/vi-VN.ts +914 -914
  77. package/packages/locale/lang/zh-CHT.ts +914 -914
  78. package/packages/locale/lang/zh-CN.ts +914 -914
  79. package/packages/locale/lang/zh-HK.ts +914 -914
  80. package/packages/locale/lang/zh-MO.ts +914 -914
  81. package/packages/locale/lang/zh-TC.ts +914 -914
  82. package/packages/locale/lang/zh-TW.ts +914 -914
  83. package/packages/table/index.ts +26 -26
  84. package/packages/table/module/custom/hook.ts +510 -510
  85. package/packages/table/module/custom/panel.ts +2002 -2002
  86. package/packages/table/module/edit/hook.ts +1232 -1235
  87. package/packages/table/module/export/export-panel.ts +697 -697
  88. package/packages/table/module/export/hook.ts +2158 -2160
  89. package/packages/table/module/export/import-panel.ts +319 -319
  90. package/packages/table/module/export/util.ts +25 -25
  91. package/packages/table/module/filter/hook.ts +505 -505
  92. package/packages/table/module/filter/panel.ts +368 -368
  93. package/packages/table/module/keyboard/hook.ts +498 -498
  94. package/packages/table/module/menu/hook.ts +330 -330
  95. package/packages/table/module/menu/panel.ts +272 -272
  96. package/packages/table/module/validator/hook.ts +653 -653
  97. package/packages/table/render/index.ts +1819 -1819
  98. package/packages/table/src/body.ts +1078 -1078
  99. package/packages/table/src/cell.ts +1524 -1524
  100. package/packages/table/src/column.ts +192 -192
  101. package/packages/table/src/columnInfo.ts +232 -232
  102. package/packages/table/src/emits.ts +134 -134
  103. package/packages/table/src/footer.ts +425 -425
  104. package/packages/table/src/group.ts +67 -67
  105. package/packages/table/src/header.ts +661 -661
  106. package/packages/table/src/props.ts +336 -336
  107. package/packages/table/src/store.ts +14 -14
  108. package/packages/table/src/table.ts +0 -1
  109. package/packages/table/src/use/cell-view.ts +41 -41
  110. package/packages/table/src/use/index.ts +1 -1
  111. package/packages/table/src/util.ts +1206 -1206
  112. package/packages/toolbar/index.ts +18 -18
  113. package/packages/toolbar/src/toolbar.ts +768 -768
  114. package/packages/ui/abandon.ts +136 -0
  115. package/packages/ui/index.ts +404 -520
  116. package/packages/ui/src/anime.ts +51 -51
  117. package/packages/ui/src/comp.ts +3 -3
  118. package/packages/ui/src/dom.ts +466 -466
  119. package/packages/ui/src/log.ts +19 -19
  120. package/packages/ui/src/utils.ts +66 -66
  121. package/packages/ui/src/vn.ts +55 -55
  122. package/packages/v-x-e-table/index.d.ts +3 -3
  123. package/packages/v-x-e-table/index.ts +3 -3
  124. package/styles/components/table.scss +2 -1
  125. package/types/all.d.ts +76 -76
  126. package/types/index.d.ts +4 -4
  127. /package/dist/{iconfont.1794366305845.ttf → iconfont.1794633824975.ttf} +0 -0
  128. /package/dist/{iconfont.1794366305845.woff → iconfont.1794633824975.woff} +0 -0
  129. /package/dist/{iconfont.1794366305845.woff2 → iconfont.1794633824975.woff2} +0 -0
  130. /package/es/{iconfont.1794366305845.ttf → iconfont.1794633824975.ttf} +0 -0
  131. /package/es/{iconfont.1794366305845.woff → iconfont.1794633824975.woff} +0 -0
  132. /package/es/{iconfont.1794366305845.woff2 → iconfont.1794633824975.woff2} +0 -0
  133. /package/lib/{iconfont.1794366305845.ttf → iconfont.1794633824975.ttf} +0 -0
  134. /package/lib/{iconfont.1794366305845.woff → iconfont.1794633824975.woff} +0 -0
  135. /package/lib/{iconfont.1794366305845.woff2 → iconfont.1794633824975.woff2} +0 -0
@@ -0,0 +1,82 @@
1
+ import type { VxeUploadDefines, VxePrintDefines, VxeGlobalConfig } from 'vxe-pc-ui';
2
+ /**
3
+ * 已废弃,兼容老版本
4
+ * @deprecated
5
+ */
6
+ export declare const setup: (options?: VxeGlobalConfig) => import("vxe-pc-ui").VxeUIExport;
7
+ /**
8
+ * 已废弃,兼容老版本
9
+ * @deprecated
10
+ */
11
+ export declare const config: (options?: VxeGlobalConfig) => import("vxe-pc-ui").VxeUIExport;
12
+ /**
13
+ * 已废弃,兼容老版本
14
+ * @deprecated
15
+ */
16
+ export declare const t: (key: string, args?: any) => string;
17
+ /**
18
+ * 已废弃,兼容老版本
19
+ * @deprecated
20
+ */
21
+ export declare const _t: (content: string | number | boolean | null | undefined, args?: any) => string;
22
+ /**
23
+ * 已废弃,兼容老版本
24
+ * @deprecated
25
+ */
26
+ export declare const VXETable: import("vxe-pc-ui").VxeUIExport;
27
+ /**
28
+ * 已废弃,兼容老版本
29
+ * @deprecated
30
+ */
31
+ export declare const saveFile: VxeUploadDefines.SaveFileFunction;
32
+ /**
33
+ * 已废弃,兼容老版本
34
+ * @deprecated
35
+ */
36
+ export declare const readFile: VxeUploadDefines.ReadFileFunction;
37
+ /**
38
+ * 已废弃,兼容老版本
39
+ * @deprecated
40
+ */
41
+ export declare const print: VxePrintDefines.PrintFunction;
42
+ /**
43
+ * 已废弃,兼容老版本
44
+ * @deprecated
45
+ */
46
+ export declare const modal: {
47
+ /**
48
+ * 已废弃,兼容老版本
49
+ * @deprecated
50
+ */
51
+ get(id: any): import("vxe-pc-ui").VxeModalConstructor;
52
+ /**
53
+ * 已废弃,兼容老版本
54
+ * @deprecated
55
+ */
56
+ close(id: any): Promise<any>;
57
+ /**
58
+ * 已废弃,兼容老版本
59
+ * @deprecated
60
+ */
61
+ open(options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
62
+ /**
63
+ * 已废弃,兼容老版本
64
+ * @deprecated
65
+ */
66
+ alert(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
67
+ /**
68
+ * 已废弃,兼容老版本
69
+ * @deprecated
70
+ */
71
+ confirm(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
72
+ /**
73
+ * 已废弃,兼容老版本
74
+ * @deprecated
75
+ */
76
+ message(content: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
77
+ /**
78
+ * 已废弃,兼容老版本
79
+ * @deprecated
80
+ */
81
+ notification(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
82
+ };
@@ -0,0 +1,90 @@
1
+ import { VxeUI } from "@vxe-ui/core";
2
+ import { getFuncText } from "./src/utils";
3
+ const setup = (options) => {
4
+ return VxeUI.setConfig(options);
5
+ };
6
+ VxeUI.setup = setup;
7
+ const config = (options) => {
8
+ return VxeUI.setConfig(options);
9
+ };
10
+ VxeUI.config = config;
11
+ const t = (key, args) => {
12
+ return VxeUI.getI18n(key, args);
13
+ };
14
+ VxeUI.t = t;
15
+ const _t = (content, args) => {
16
+ return getFuncText(content, args);
17
+ };
18
+ VxeUI._t = _t;
19
+ const VXETable = VxeUI;
20
+ const saveFile = (options) => {
21
+ return VxeUI.saveFile(options);
22
+ };
23
+ const readFile = (options) => {
24
+ return VxeUI.readFile(options);
25
+ };
26
+ const print = (options) => {
27
+ return VxeUI.print(options);
28
+ };
29
+ const modal = {
30
+ /**
31
+ * 已废弃,兼容老版本
32
+ * @deprecated
33
+ */
34
+ get(id) {
35
+ return VxeUI.modal.get(id);
36
+ },
37
+ /**
38
+ * 已废弃,兼容老版本
39
+ * @deprecated
40
+ */
41
+ close(id) {
42
+ return VxeUI.modal.close(id);
43
+ },
44
+ /**
45
+ * 已废弃,兼容老版本
46
+ * @deprecated
47
+ */
48
+ open(options) {
49
+ return VxeUI.modal.open(options);
50
+ },
51
+ /**
52
+ * 已废弃,兼容老版本
53
+ * @deprecated
54
+ */
55
+ alert(content, title, options) {
56
+ return VxeUI.modal.alert(content, title, options);
57
+ },
58
+ /**
59
+ * 已废弃,兼容老版本
60
+ * @deprecated
61
+ */
62
+ confirm(content, title, options) {
63
+ return VxeUI.modal.confirm(content, title, options);
64
+ },
65
+ /**
66
+ * 已废弃,兼容老版本
67
+ * @deprecated
68
+ */
69
+ message(content, options) {
70
+ return VxeUI.modal.message(content, options);
71
+ },
72
+ /**
73
+ * 已废弃,兼容老版本
74
+ * @deprecated
75
+ */
76
+ notification(content, title, options) {
77
+ return VxeUI.modal.notification(content, title, options);
78
+ }
79
+ };
80
+ export {
81
+ VXETable,
82
+ _t,
83
+ config,
84
+ modal,
85
+ print,
86
+ readFile,
87
+ saveFile,
88
+ setup,
89
+ t
90
+ };
package/es/ui/index.d.ts CHANGED
@@ -1,85 +1,4 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
- import type { VxeUploadDefines, VxePrintDefines, VxeGlobalConfig } from 'vxe-pc-ui';
3
2
  export declare const version: string;
4
- /**
5
- * 已废弃
6
- * @deprecated
7
- */
8
- export declare const setup: (options?: VxeGlobalConfig) => import("vxe-pc-ui").VxeUIExport;
9
- /**
10
- * 已废弃
11
- * @deprecated
12
- */
13
- export declare const config: (options?: VxeGlobalConfig) => import("vxe-pc-ui").VxeUIExport;
14
- /**
15
- * 已废弃
16
- * @deprecated
17
- */
18
- export declare const t: (key: string, args?: any) => string;
19
- /**
20
- * 已废弃
21
- * @deprecated
22
- */
23
- export declare const _t: (content: string | number | boolean | null | undefined, args?: any) => string;
24
- /**
25
- * 已废弃,兼容老版本
26
- * @deprecated
27
- */
28
- export declare const VXETable: import("vxe-pc-ui").VxeUIExport;
29
- /**
30
- * 已废弃,兼容老版本
31
- * @deprecated
32
- */
33
- export declare const saveFile: VxeUploadDefines.SaveFileFunction;
34
- /**
35
- * 已废弃,兼容老版本
36
- * @deprecated
37
- */
38
- export declare const readFile: VxeUploadDefines.ReadFileFunction;
39
- /**
40
- * 已废弃,兼容老版本
41
- * @deprecated
42
- */
43
- export declare const print: VxePrintDefines.PrintFunction;
44
- /**
45
- * 已废弃,兼容老版本
46
- * @deprecated
47
- */
48
- export declare const modal: {
49
- /**
50
- * 已废弃,兼容老版本
51
- * @deprecated
52
- */
53
- get(id: any): import("vxe-pc-ui").VxeModalConstructor;
54
- /**
55
- * 已废弃,兼容老版本
56
- * @deprecated
57
- */
58
- close(id: any): Promise<any>;
59
- /**
60
- * 已废弃,兼容老版本
61
- * @deprecated
62
- */
63
- open(options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
64
- /**
65
- * 已废弃,兼容老版本
66
- * @deprecated
67
- */
68
- alert(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
69
- /**
70
- * 已废弃,兼容老版本
71
- * @deprecated
72
- */
73
- confirm(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
74
- /**
75
- * 已废弃,兼容老版本
76
- * @deprecated
77
- */
78
- message(content: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
79
- /**
80
- * 已废弃,兼容老版本
81
- * @deprecated
82
- */
83
- notification(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
84
- };
3
+ export * from './abandon';
85
4
  export default VxeUI;
package/es/ui/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { VxeUI } from "@vxe-ui/core";
2
- import { getFuncText } from "./src/utils";
3
- const version = "4.23.18";
2
+ const version = "4.23.20";
4
3
  VxeUI.version = version;
5
4
  VxeUI.tableVersion = version;
6
5
  VxeUI.setConfig({
@@ -390,94 +389,9 @@ VxeUI.setIcon({
390
389
  TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + "fixed-right",
391
390
  TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + "fixed-right-fill"
392
391
  });
393
- const setup = (options) => {
394
- return VxeUI.setConfig(options);
395
- };
396
- VxeUI.setup = setup;
397
- const config = (options) => {
398
- return VxeUI.setConfig(options);
399
- };
400
- VxeUI.config = config;
401
- const t = (key, args) => {
402
- return VxeUI.getI18n(key, args);
403
- };
404
- VxeUI.t = t;
405
- const _t = (content, args) => {
406
- return getFuncText(content, args);
407
- };
408
- VxeUI._t = _t;
409
- const VXETable = VxeUI;
410
- const saveFile = (options) => {
411
- return VxeUI.saveFile(options);
412
- };
413
- const readFile = (options) => {
414
- return VxeUI.readFile(options);
415
- };
416
- const print = (options) => {
417
- return VxeUI.print(options);
418
- };
419
- const modal = {
420
- /**
421
- * 已废弃,兼容老版本
422
- * @deprecated
423
- */
424
- get(id) {
425
- return VxeUI.modal.get(id);
426
- },
427
- /**
428
- * 已废弃,兼容老版本
429
- * @deprecated
430
- */
431
- close(id) {
432
- return VxeUI.modal.close(id);
433
- },
434
- /**
435
- * 已废弃,兼容老版本
436
- * @deprecated
437
- */
438
- open(options) {
439
- return VxeUI.modal.open(options);
440
- },
441
- /**
442
- * 已废弃,兼容老版本
443
- * @deprecated
444
- */
445
- alert(content, title, options) {
446
- return VxeUI.modal.alert(content, title, options);
447
- },
448
- /**
449
- * 已废弃,兼容老版本
450
- * @deprecated
451
- */
452
- confirm(content, title, options) {
453
- return VxeUI.modal.confirm(content, title, options);
454
- },
455
- /**
456
- * 已废弃,兼容老版本
457
- * @deprecated
458
- */
459
- message(content, options) {
460
- return VxeUI.modal.message(content, options);
461
- },
462
- /**
463
- * 已废弃,兼容老版本
464
- * @deprecated
465
- */
466
- notification(content, title, options) {
467
- return VxeUI.modal.notification(content, title, options);
468
- }
469
- };
392
+ export * from "./abandon";
470
393
  var ui_default = VxeUI;
471
394
  export {
472
- VXETable,
473
- _t,
474
- config,
475
395
  ui_default as default,
476
- modal,
477
- print,
478
- readFile,
479
- saveFile,
480
- setup,
481
- t,
482
396
  version
483
397
  };
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.18"}`;
3
+ const tableVersion = `table v${"4.23.20"}`;
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}` : "";
@@ -4035,7 +4035,10 @@
4035
4035
  .vxe-table--render-default .vxe-cell--wrapper {
4036
4036
  margin: auto 0;
4037
4037
  }
4038
- .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-cell--wrapper > div > .vxe-reusekeep-control, .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-cell--wrapper > span > .vxe-reusekeep-control, .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-cell--wrapper > .vxe-reusekeep-control {
4038
+ .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-cell--wrapper > div > .vxe-reusekeep-control, .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-cell--wrapper > span > .vxe-reusekeep-control, .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-cell--wrapper > .vxe-reusekeep-control,
4039
+ .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-tree-cell > div > .vxe-reusekeep-control,
4040
+ .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-tree-cell > span > .vxe-reusekeep-control,
4041
+ .vxe-table--render-default .vxe-body--row .vxe-table--column .vxe-cell .vxe-tree-cell > .vxe-reusekeep-control {
4039
4042
  position: absolute;
4040
4043
  width: 0;
4041
4044
  height: 0;