vxe-table 4.23.19 → 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 (124) hide show
  1. package/dist/all.esm.js +283 -251
  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/style.css +4 -1
  12. package/es/table/style.mini.css +1 -1
  13. package/es/ui/abandon.d.ts +82 -0
  14. package/es/ui/abandon.js +90 -0
  15. package/es/ui/index.d.ts +1 -83
  16. package/es/ui/index.js +2 -89
  17. package/es/ui/src/log.js +1 -1
  18. package/es/vxe-table/style.css +4 -1
  19. package/es/vxe-table/style.mini.css +1 -1
  20. package/lib/components.d.ts +1 -3
  21. package/lib/components.js +1 -2
  22. package/lib/esm.index.d.ts +7 -0
  23. package/lib/esm.index.js +39 -0
  24. package/lib/index.umd.js +248 -247
  25. package/lib/index.umd.min.js +3 -3
  26. package/lib/style.css +4 -1
  27. package/lib/style.mini.css +1 -1
  28. package/lib/table/style/style.css +4 -1
  29. package/lib/table/style/style.mini.css +1 -1
  30. package/lib/ui/abandon.d.ts +82 -0
  31. package/lib/ui/abandon.js +110 -0
  32. package/lib/ui/index.d.ts +1 -83
  33. package/lib/ui/index.js +3 -89
  34. package/lib/ui/src/log.js +1 -1
  35. package/lib/vxe-table/style/style.css +4 -1
  36. package/lib/vxe-table/style/style.mini.css +1 -1
  37. package/package.json +1 -1
  38. package/packages/colgroup/index.ts +22 -22
  39. package/packages/column/index.ts +22 -22
  40. package/packages/components.ts +42 -45
  41. package/packages/esm.index.ts +10 -0
  42. package/packages/grid/index.ts +18 -18
  43. package/packages/grid/src/emits.ts +5 -5
  44. package/packages/grid/src/grid.ts +2220 -2220
  45. package/packages/grid/src/props.ts +22 -22
  46. package/packages/index.ts +13 -13
  47. package/packages/locale/lang/ar-EG.ts +914 -914
  48. package/packages/locale/lang/de-DE.ts +914 -914
  49. package/packages/locale/lang/en-US.ts +914 -914
  50. package/packages/locale/lang/es-ES.ts +914 -914
  51. package/packages/locale/lang/fr-FR.ts +914 -914
  52. package/packages/locale/lang/hu-HU.ts +914 -914
  53. package/packages/locale/lang/hy-AM.ts +914 -914
  54. package/packages/locale/lang/id-ID.ts +914 -914
  55. package/packages/locale/lang/it-IT.ts +914 -914
  56. package/packages/locale/lang/ja-JP.ts +914 -914
  57. package/packages/locale/lang/ko-KR.ts +914 -914
  58. package/packages/locale/lang/ms-MY.ts +914 -914
  59. package/packages/locale/lang/nb-NO.ts +914 -914
  60. package/packages/locale/lang/pt-BR.ts +914 -914
  61. package/packages/locale/lang/ru-RU.ts +914 -914
  62. package/packages/locale/lang/th-TH.ts +914 -914
  63. package/packages/locale/lang/ug-CN.ts +914 -914
  64. package/packages/locale/lang/uk-UA.ts +914 -914
  65. package/packages/locale/lang/uz-UZ.ts +914 -914
  66. package/packages/locale/lang/vi-VN.ts +914 -914
  67. package/packages/locale/lang/zh-CHT.ts +914 -914
  68. package/packages/locale/lang/zh-CN.ts +914 -914
  69. package/packages/locale/lang/zh-HK.ts +914 -914
  70. package/packages/locale/lang/zh-MO.ts +914 -914
  71. package/packages/locale/lang/zh-TC.ts +914 -914
  72. package/packages/locale/lang/zh-TW.ts +914 -914
  73. package/packages/table/index.ts +26 -26
  74. package/packages/table/module/custom/hook.ts +510 -510
  75. package/packages/table/module/custom/panel.ts +2002 -2002
  76. package/packages/table/module/edit/hook.ts +1232 -1232
  77. package/packages/table/module/export/export-panel.ts +697 -697
  78. package/packages/table/module/export/hook.ts +2158 -2158
  79. package/packages/table/module/export/import-panel.ts +319 -319
  80. package/packages/table/module/export/util.ts +25 -25
  81. package/packages/table/module/filter/hook.ts +505 -505
  82. package/packages/table/module/filter/panel.ts +368 -368
  83. package/packages/table/module/keyboard/hook.ts +498 -498
  84. package/packages/table/module/menu/hook.ts +330 -330
  85. package/packages/table/module/menu/panel.ts +272 -272
  86. package/packages/table/module/validator/hook.ts +653 -653
  87. package/packages/table/render/index.ts +1819 -1819
  88. package/packages/table/src/body.ts +1078 -1078
  89. package/packages/table/src/cell.ts +1524 -1524
  90. package/packages/table/src/column.ts +192 -192
  91. package/packages/table/src/columnInfo.ts +232 -232
  92. package/packages/table/src/emits.ts +134 -134
  93. package/packages/table/src/footer.ts +425 -425
  94. package/packages/table/src/group.ts +67 -67
  95. package/packages/table/src/header.ts +661 -661
  96. package/packages/table/src/props.ts +336 -336
  97. package/packages/table/src/store.ts +14 -14
  98. package/packages/table/src/use/cell-view.ts +41 -41
  99. package/packages/table/src/use/index.ts +1 -1
  100. package/packages/table/src/util.ts +1206 -1206
  101. package/packages/toolbar/index.ts +18 -18
  102. package/packages/toolbar/src/toolbar.ts +768 -768
  103. package/packages/ui/abandon.ts +136 -0
  104. package/packages/ui/index.ts +404 -524
  105. package/packages/ui/src/anime.ts +51 -51
  106. package/packages/ui/src/comp.ts +3 -3
  107. package/packages/ui/src/dom.ts +466 -466
  108. package/packages/ui/src/log.ts +19 -19
  109. package/packages/ui/src/utils.ts +66 -66
  110. package/packages/ui/src/vn.ts +55 -55
  111. package/packages/v-x-e-table/index.d.ts +3 -3
  112. package/packages/v-x-e-table/index.ts +3 -3
  113. package/styles/components/table.scss +2 -1
  114. package/types/all.d.ts +76 -76
  115. package/types/index.d.ts +4 -4
  116. /package/dist/{iconfont.1794474448348.ttf → iconfont.1794633824975.ttf} +0 -0
  117. /package/dist/{iconfont.1794474448348.woff → iconfont.1794633824975.woff} +0 -0
  118. /package/dist/{iconfont.1794474448348.woff2 → iconfont.1794633824975.woff2} +0 -0
  119. /package/es/{iconfont.1794474448348.ttf → iconfont.1794633824975.ttf} +0 -0
  120. /package/es/{iconfont.1794474448348.woff → iconfont.1794633824975.woff} +0 -0
  121. /package/es/{iconfont.1794474448348.woff2 → iconfont.1794633824975.woff2} +0 -0
  122. /package/lib/{iconfont.1794474448348.ttf → iconfont.1794633824975.ttf} +0 -0
  123. /package/lib/{iconfont.1794474448348.woff → iconfont.1794633824975.woff} +0 -0
  124. /package/lib/{iconfont.1794474448348.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,110 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var abandon_exports = {};
20
+ __export(abandon_exports, {
21
+ VXETable: () => VXETable,
22
+ _t: () => _t,
23
+ config: () => config,
24
+ modal: () => modal,
25
+ print: () => print,
26
+ readFile: () => readFile,
27
+ saveFile: () => saveFile,
28
+ setup: () => setup,
29
+ t: () => t
30
+ });
31
+ module.exports = __toCommonJS(abandon_exports);
32
+ var import_core = require("@vxe-ui/core");
33
+ var import_utils = require("./src/utils");
34
+ const setup = (options) => {
35
+ return import_core.VxeUI.setConfig(options);
36
+ };
37
+ import_core.VxeUI.setup = setup;
38
+ const config = (options) => {
39
+ return import_core.VxeUI.setConfig(options);
40
+ };
41
+ import_core.VxeUI.config = config;
42
+ const t = (key, args) => {
43
+ return import_core.VxeUI.getI18n(key, args);
44
+ };
45
+ import_core.VxeUI.t = t;
46
+ const _t = (content, args) => {
47
+ return (0, import_utils.getFuncText)(content, args);
48
+ };
49
+ import_core.VxeUI._t = _t;
50
+ const VXETable = import_core.VxeUI;
51
+ const saveFile = (options) => {
52
+ return import_core.VxeUI.saveFile(options);
53
+ };
54
+ const readFile = (options) => {
55
+ return import_core.VxeUI.readFile(options);
56
+ };
57
+ const print = (options) => {
58
+ return import_core.VxeUI.print(options);
59
+ };
60
+ const modal = {
61
+ /**
62
+ * 已废弃,兼容老版本
63
+ * @deprecated
64
+ */
65
+ get(id) {
66
+ return import_core.VxeUI.modal.get(id);
67
+ },
68
+ /**
69
+ * 已废弃,兼容老版本
70
+ * @deprecated
71
+ */
72
+ close(id) {
73
+ return import_core.VxeUI.modal.close(id);
74
+ },
75
+ /**
76
+ * 已废弃,兼容老版本
77
+ * @deprecated
78
+ */
79
+ open(options) {
80
+ return import_core.VxeUI.modal.open(options);
81
+ },
82
+ /**
83
+ * 已废弃,兼容老版本
84
+ * @deprecated
85
+ */
86
+ alert(content, title, options) {
87
+ return import_core.VxeUI.modal.alert(content, title, options);
88
+ },
89
+ /**
90
+ * 已废弃,兼容老版本
91
+ * @deprecated
92
+ */
93
+ confirm(content, title, options) {
94
+ return import_core.VxeUI.modal.confirm(content, title, options);
95
+ },
96
+ /**
97
+ * 已废弃,兼容老版本
98
+ * @deprecated
99
+ */
100
+ message(content, options) {
101
+ return import_core.VxeUI.modal.message(content, options);
102
+ },
103
+ /**
104
+ * 已废弃,兼容老版本
105
+ * @deprecated
106
+ */
107
+ notification(content, title, options) {
108
+ return import_core.VxeUI.modal.notification(content, title, options);
109
+ }
110
+ };
package/lib/ui/index.d.ts CHANGED
@@ -1,86 +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
- };
85
- export { VxeUI };
3
+ export * from './abandon';
86
4
  export default VxeUI;
package/lib/ui/index.js CHANGED
@@ -15,26 +15,17 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
20
  var ui_exports = {};
20
21
  __export(ui_exports, {
21
- VXETable: () => VXETable,
22
- VxeUI: () => import_core.VxeUI,
23
- _t: () => _t,
24
- config: () => config,
25
22
  default: () => ui_default,
26
- modal: () => modal,
27
- print: () => print,
28
- readFile: () => readFile,
29
- saveFile: () => saveFile,
30
- setup: () => setup,
31
- t: () => t,
32
23
  version: () => version
33
24
  });
34
25
  module.exports = __toCommonJS(ui_exports);
35
26
  var import_core = require("@vxe-ui/core");
36
- var import_utils = require("./src/utils");
37
- const version = "4.23.18";
27
+ __reExport(ui_exports, require("./abandon"), module.exports);
28
+ const version = "4.23.20";
38
29
  import_core.VxeUI.version = version;
39
30
  import_core.VxeUI.tableVersion = version;
40
31
  import_core.VxeUI.setConfig({
@@ -424,81 +415,4 @@ import_core.VxeUI.setIcon({
424
415
  TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + "fixed-right",
425
416
  TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + "fixed-right-fill"
426
417
  });
427
- const setup = (options) => {
428
- return import_core.VxeUI.setConfig(options);
429
- };
430
- import_core.VxeUI.setup = setup;
431
- const config = (options) => {
432
- return import_core.VxeUI.setConfig(options);
433
- };
434
- import_core.VxeUI.config = config;
435
- const t = (key, args) => {
436
- return import_core.VxeUI.getI18n(key, args);
437
- };
438
- import_core.VxeUI.t = t;
439
- const _t = (content, args) => {
440
- return (0, import_utils.getFuncText)(content, args);
441
- };
442
- import_core.VxeUI._t = _t;
443
- const VXETable = import_core.VxeUI;
444
- const saveFile = (options) => {
445
- return import_core.VxeUI.saveFile(options);
446
- };
447
- const readFile = (options) => {
448
- return import_core.VxeUI.readFile(options);
449
- };
450
- const print = (options) => {
451
- return import_core.VxeUI.print(options);
452
- };
453
- const modal = {
454
- /**
455
- * 已废弃,兼容老版本
456
- * @deprecated
457
- */
458
- get(id) {
459
- return import_core.VxeUI.modal.get(id);
460
- },
461
- /**
462
- * 已废弃,兼容老版本
463
- * @deprecated
464
- */
465
- close(id) {
466
- return import_core.VxeUI.modal.close(id);
467
- },
468
- /**
469
- * 已废弃,兼容老版本
470
- * @deprecated
471
- */
472
- open(options) {
473
- return import_core.VxeUI.modal.open(options);
474
- },
475
- /**
476
- * 已废弃,兼容老版本
477
- * @deprecated
478
- */
479
- alert(content, title, options) {
480
- return import_core.VxeUI.modal.alert(content, title, options);
481
- },
482
- /**
483
- * 已废弃,兼容老版本
484
- * @deprecated
485
- */
486
- confirm(content, title, options) {
487
- return import_core.VxeUI.modal.confirm(content, title, options);
488
- },
489
- /**
490
- * 已废弃,兼容老版本
491
- * @deprecated
492
- */
493
- message(content, options) {
494
- return import_core.VxeUI.modal.message(content, options);
495
- },
496
- /**
497
- * 已废弃,兼容老版本
498
- * @deprecated
499
- */
500
- notification(content, title, options) {
501
- return import_core.VxeUI.modal.notification(content, title, options);
502
- }
503
- };
504
418
  var ui_default = import_core.VxeUI;
package/lib/ui/src/log.js CHANGED
@@ -25,7 +25,7 @@ __export(log_exports, {
25
25
  module.exports = __toCommonJS(log_exports);
26
26
  var import_core = require("@vxe-ui/core");
27
27
  const { log } = import_core.VxeUI;
28
- const tableVersion = `table v${"4.23.18"}`;
28
+ const tableVersion = `table v${"4.23.20"}`;
29
29
  function createComponentLog(name) {
30
30
  const uiVersion = import_core.VxeUI.uiVersion ? `ui v${import_core.VxeUI.uiVersion}` : "";
31
31
  const ganttVersion = import_core.VxeUI.ganttVersion ? `gantt v${import_core.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;