vxe-table 4.23.9 → 4.23.10

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.
package/dist/all.esm.js CHANGED
@@ -1,8 +1,38 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
2
5
  var __export = (target, all) => {
3
6
  for (var name in all)
4
7
  __defProp(target, name, { get: all[name], enumerable: true });
5
8
  };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
+
19
+ // packages_temp/index.ts
20
+ var index_exports = {};
21
+ __export(index_exports, {
22
+ Colgroup: () => Colgroup,
23
+ Column: () => Column,
24
+ Grid: () => Grid,
25
+ Table: () => Table,
26
+ Toolbar: () => Toolbar,
27
+ VxeColgroup: () => VxeColgroup,
28
+ VxeColumn: () => VxeColumn,
29
+ VxeGrid: () => VxeGrid,
30
+ VxeTable: () => VxeTable,
31
+ VxeToolbar: () => VxeToolbar,
32
+ VxeUI: () => VxeUI32,
33
+ default: () => index_default,
34
+ install: () => install
35
+ });
6
36
 
7
37
  // packages_temp/components.ts
8
38
  var components_exports = {};
@@ -12,23 +42,13 @@ __export(components_exports, {
12
42
  Grid: () => Grid,
13
43
  Table: () => Table,
14
44
  Toolbar: () => Toolbar,
15
- VXETable: () => VXETable,
16
45
  VxeColgroup: () => VxeColgroup,
17
46
  VxeColumn: () => VxeColumn,
18
47
  VxeGrid: () => VxeGrid,
19
48
  VxeTable: () => VxeTable,
20
49
  VxeToolbar: () => VxeToolbar,
21
50
  VxeUI: () => VxeUI32,
22
- _t: () => _t,
23
- config: () => config,
24
- install: () => install,
25
- modal: () => modal,
26
- print: () => print,
27
- readFile: () => readFile,
28
- saveFile: () => saveFile,
29
- setup: () => setup,
30
- t: () => t,
31
- version: () => version
51
+ install: () => install
32
52
  });
33
53
  import { VxeUI as VxeUI32 } from "@vxe-ui/core";
34
54
 
@@ -83,7 +103,7 @@ function getDefaultConfig(val1, def1) {
83
103
  }
84
104
 
85
105
  // packages_temp/ui/index.ts
86
- var version = "4.23.9";
106
+ var version = "4.23.10";
87
107
  VxeUI2.version = version;
88
108
  VxeUI2.tableVersion = version;
89
109
  VxeUI2.setConfig({
@@ -488,67 +508,6 @@ var _t = (content, args) => {
488
508
  return getFuncText(content, args);
489
509
  };
490
510
  VxeUI2._t = _t;
491
- var VXETable = VxeUI2;
492
- var saveFile = (options) => {
493
- return VxeUI2.saveFile(options);
494
- };
495
- var readFile = (options) => {
496
- return VxeUI2.readFile(options);
497
- };
498
- var print = (options) => {
499
- return VxeUI2.print(options);
500
- };
501
- var modal = {
502
- /**
503
- * 已废弃,兼容老版本
504
- * @deprecated
505
- */
506
- get(id) {
507
- return VxeUI2.modal.get(id);
508
- },
509
- /**
510
- * 已废弃,兼容老版本
511
- * @deprecated
512
- */
513
- close(id) {
514
- return VxeUI2.modal.close(id);
515
- },
516
- /**
517
- * 已废弃,兼容老版本
518
- * @deprecated
519
- */
520
- open(options) {
521
- return VxeUI2.modal.open(options);
522
- },
523
- /**
524
- * 已废弃,兼容老版本
525
- * @deprecated
526
- */
527
- alert(content, title, options) {
528
- return VxeUI2.modal.alert(content, title, options);
529
- },
530
- /**
531
- * 已废弃,兼容老版本
532
- * @deprecated
533
- */
534
- confirm(content, title, options) {
535
- return VxeUI2.modal.confirm(content, title, options);
536
- },
537
- /**
538
- * 已废弃,兼容老版本
539
- * @deprecated
540
- */
541
- message(content, options) {
542
- return VxeUI2.modal.message(content, options);
543
- },
544
- /**
545
- * 已废弃,兼容老版本
546
- * @deprecated
547
- */
548
- notification(content, title, options) {
549
- return VxeUI2.modal.notification(content, title, options);
550
- }
551
- };
552
511
 
553
512
  // packages_temp/column/index.ts
554
513
  import { VxeUI as VxeUI6 } from "@vxe-ui/core";
@@ -911,7 +870,7 @@ function getPopupAppendElement(appendTo) {
911
870
  // packages_temp/ui/src/log.ts
912
871
  import { VxeUI as VxeUI3 } from "@vxe-ui/core";
913
872
  var { log } = VxeUI3;
914
- var tableVersion = `table v${"4.23.9"}`;
873
+ var tableVersion = `table v${"4.23.10"}`;
915
874
  function createComponentLog(name) {
916
875
  const uiVersion = VxeUI3.uiVersion ? `ui v${VxeUI3.uiVersion}` : "";
917
876
  const ganttVersion = VxeUI3.ganttVersion ? `gantt v${VxeUI3.ganttVersion}` : "";
@@ -34901,6 +34860,8 @@ var zh_CN_default = {
34901
34860
  };
34902
34861
 
34903
34862
  // packages_temp/components.ts
34863
+ __reExport(components_exports, core_star);
34864
+ import * as core_star from "@vxe-ui/core";
34904
34865
  var components = [VxeColumn, VxeColgroup, VxeGrid, VxeTable, VxeToolbar];
34905
34866
  function install(app, options) {
34906
34867
  VxeUI32.setConfig(options);
@@ -34914,10 +34875,12 @@ if (!VxeUI32.hasLanguage("zh-CN")) {
34914
34875
  VxeUI32.setTheme("light");
34915
34876
 
34916
34877
  // packages_temp/index.ts
34917
- if (typeof window !== "undefined" && window.Vue) {
34918
- if (!window.VXETable) {
34919
- ;
34920
- window.VXETable = components_exports;
34878
+ __reExport(index_exports, components_exports);
34879
+ if (typeof window !== "undefined") {
34880
+ if (window.Vue) {
34881
+ if (!window.VXETable) {
34882
+ window.VXETable = components_exports;
34883
+ }
34921
34884
  }
34922
34885
  }
34923
34886
  var index_default = components_exports;
@@ -34927,22 +34890,12 @@ export {
34927
34890
  Grid,
34928
34891
  Table,
34929
34892
  Toolbar,
34930
- VXETable,
34931
34893
  VxeColgroup,
34932
34894
  VxeColumn,
34933
34895
  VxeGrid,
34934
34896
  VxeTable,
34935
34897
  VxeToolbar,
34936
34898
  VxeUI32 as VxeUI,
34937
- _t,
34938
- config,
34939
34899
  index_default as default,
34940
- install,
34941
- modal,
34942
- print,
34943
- readFile,
34944
- saveFile,
34945
- setup,
34946
- t,
34947
- version
34900
+ install
34948
34901
  };
@@ -4,7 +4,7 @@ import './ui';
4
4
  import type { VxeGlobalConfig } from '../types';
5
5
  export declare function install(app: App, options?: VxeGlobalConfig): void;
6
6
  export { VxeUI };
7
- export * from './ui';
7
+ export * from '@vxe-ui/core';
8
8
  export * from './table';
9
9
  export * from './column';
10
10
  export * from './colgroup';
package/es/components.js CHANGED
@@ -17,7 +17,7 @@ if (!VxeUI.hasLanguage("zh-CN")) {
17
17
  VxeUI.setLanguage(defaultLanguage);
18
18
  }
19
19
  VxeUI.setTheme("light");
20
- export * from "./ui";
20
+ export * from "@vxe-ui/core";
21
21
  export * from "./table";
22
22
  export * from "./column";
23
23
  export * from "./colgroup";
package/es/index.esm.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as VxeUITableExport from "./components";
2
- if (typeof window !== "undefined" && window.Vue) {
3
- if (!window.VXETable) {
4
- ;
5
- window.VXETable = VxeUITableExport;
2
+ if (typeof window !== "undefined") {
3
+ if (window.Vue) {
4
+ if (!window.VXETable) {
5
+ window.VXETable = VxeUITableExport;
6
+ }
6
7
  }
7
8
  }
8
9
  export * from "./components";
package/es/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as VxeUITableExport from "./components";
2
- if (typeof window !== "undefined" && window.Vue) {
3
- if (!window.VXETable) {
4
- ;
5
- window.VXETable = VxeUITableExport;
2
+ if (typeof window !== "undefined") {
3
+ if (window.Vue) {
4
+ if (!window.VXETable) {
5
+ window.VXETable = VxeUITableExport;
6
+ }
6
7
  }
7
8
  }
8
9
  export * from "./components";
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.9";
3
+ const version = "4.23.10";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
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.9"}`;
3
+ const tableVersion = `table v${"4.23.10"}`;
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}` : "";
package/lib/components.js CHANGED
@@ -41,7 +41,7 @@ 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
+ __reExport(components_exports, require("@vxe-ui/core"), module.exports);
45
45
  __reExport(components_exports, require("./table"), module.exports);
46
46
  __reExport(components_exports, require("./column"), module.exports);
47
47
  __reExport(components_exports, require("./colgroup"), module.exports);
@@ -34,10 +34,11 @@ __export(index_exports, {
34
34
  module.exports = __toCommonJS(index_exports);
35
35
  var VxeUITableExport = __toESM(require("./components"));
36
36
  __reExport(index_exports, require("./components"), module.exports);
37
- if (typeof window !== "undefined" && window.Vue) {
38
- if (!window.VXETable) {
39
- ;
40
- window.VXETable = VxeUITableExport;
37
+ if (typeof window !== "undefined") {
38
+ if (window.Vue) {
39
+ if (!window.VXETable) {
40
+ window.VXETable = VxeUITableExport;
41
+ }
41
42
  }
42
43
  }
43
44
  var index_default = VxeUITableExport;
package/lib/index.js CHANGED
@@ -34,10 +34,11 @@ __export(index_exports, {
34
34
  module.exports = __toCommonJS(index_exports);
35
35
  var VxeUITableExport = __toESM(require("./components"));
36
36
  __reExport(index_exports, require("./components"), module.exports);
37
- if (typeof window !== "undefined" && window.Vue) {
38
- if (!window.VXETable) {
39
- ;
40
- window.VXETable = VxeUITableExport;
37
+ if (typeof window !== "undefined") {
38
+ if (window.Vue) {
39
+ if (!window.VXETable) {
40
+ window.VXETable = VxeUITableExport;
41
+ }
41
42
  }
42
43
  }
43
44
  var index_default = VxeUITableExport;
package/lib/index.umd.js CHANGED
@@ -43,6 +43,7 @@ var __copyProps = (to, from, except, desc) => {
43
43
  }
44
44
  return to;
45
45
  };
46
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
46
47
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
47
48
  // If the importer is in node compatibility mode or this is not an ESM
48
49
  // file that has been converted to a CommonJS file using a Babel-
@@ -61,24 +62,14 @@ __export(index_exports, {
61
62
  Grid: () => Grid,
62
63
  Table: () => Table,
63
64
  Toolbar: () => Toolbar,
64
- VXETable: () => VXETable,
65
65
  VxeColgroup: () => VxeColgroup,
66
66
  VxeColumn: () => VxeColumn,
67
67
  VxeGrid: () => VxeGrid,
68
68
  VxeTable: () => VxeTable,
69
69
  VxeToolbar: () => VxeToolbar,
70
70
  VxeUI: () => import_core32.VxeUI,
71
- _t: () => _t,
72
- config: () => config,
73
71
  default: () => index_default,
74
- install: () => install,
75
- modal: () => modal,
76
- print: () => print,
77
- readFile: () => readFile,
78
- saveFile: () => saveFile,
79
- setup: () => setup,
80
- t: () => t,
81
- version: () => version
72
+ install: () => install
82
73
  });
83
74
  module.exports = __toCommonJS(index_exports);
84
75
 
@@ -90,23 +81,13 @@ __export(components_exports, {
90
81
  Grid: () => Grid,
91
82
  Table: () => Table,
92
83
  Toolbar: () => Toolbar,
93
- VXETable: () => VXETable,
94
84
  VxeColgroup: () => VxeColgroup,
95
85
  VxeColumn: () => VxeColumn,
96
86
  VxeGrid: () => VxeGrid,
97
87
  VxeTable: () => VxeTable,
98
88
  VxeToolbar: () => VxeToolbar,
99
89
  VxeUI: () => import_core32.VxeUI,
100
- _t: () => _t,
101
- config: () => config,
102
- install: () => install,
103
- modal: () => modal,
104
- print: () => print,
105
- readFile: () => readFile,
106
- saveFile: () => saveFile,
107
- setup: () => setup,
108
- t: () => t,
109
- version: () => version
90
+ install: () => install
110
91
  });
111
92
  var import_core32 = require("@vxe-ui/core");
112
93
 
@@ -317,7 +298,7 @@ function getDefaultConfig(val1, def1) {
317
298
  }
318
299
 
319
300
  // packages_temp/ui/index.ts
320
- var version = "4.23.9";
301
+ var version = "4.23.10";
321
302
  import_core2.VxeUI.version = version;
322
303
  import_core2.VxeUI.tableVersion = version;
323
304
  import_core2.VxeUI.setConfig({
@@ -722,67 +703,6 @@ var _t = (content, args) => {
722
703
  return getFuncText(content, args);
723
704
  };
724
705
  import_core2.VxeUI._t = _t;
725
- var VXETable = import_core2.VxeUI;
726
- var saveFile = (options) => {
727
- return import_core2.VxeUI.saveFile(options);
728
- };
729
- var readFile = (options) => {
730
- return import_core2.VxeUI.readFile(options);
731
- };
732
- var print = (options) => {
733
- return import_core2.VxeUI.print(options);
734
- };
735
- var modal = {
736
- /**
737
- * 已废弃,兼容老版本
738
- * @deprecated
739
- */
740
- get(id) {
741
- return import_core2.VxeUI.modal.get(id);
742
- },
743
- /**
744
- * 已废弃,兼容老版本
745
- * @deprecated
746
- */
747
- close(id) {
748
- return import_core2.VxeUI.modal.close(id);
749
- },
750
- /**
751
- * 已废弃,兼容老版本
752
- * @deprecated
753
- */
754
- open(options) {
755
- return import_core2.VxeUI.modal.open(options);
756
- },
757
- /**
758
- * 已废弃,兼容老版本
759
- * @deprecated
760
- */
761
- alert(content, title, options) {
762
- return import_core2.VxeUI.modal.alert(content, title, options);
763
- },
764
- /**
765
- * 已废弃,兼容老版本
766
- * @deprecated
767
- */
768
- confirm(content, title, options) {
769
- return import_core2.VxeUI.modal.confirm(content, title, options);
770
- },
771
- /**
772
- * 已废弃,兼容老版本
773
- * @deprecated
774
- */
775
- message(content, options) {
776
- return import_core2.VxeUI.modal.message(content, options);
777
- },
778
- /**
779
- * 已废弃,兼容老版本
780
- * @deprecated
781
- */
782
- notification(content, title, options) {
783
- return import_core2.VxeUI.modal.notification(content, title, options);
784
- }
785
- };
786
706
 
787
707
  // packages_temp/column/index.ts
788
708
  var import_core6 = require("@vxe-ui/core");
@@ -1145,7 +1065,7 @@ function getPopupAppendElement(appendTo) {
1145
1065
  // packages_temp/ui/src/log.ts
1146
1066
  var import_core3 = require("@vxe-ui/core");
1147
1067
  var { log } = import_core3.VxeUI;
1148
- var tableVersion = `table v${"4.23.9"}`;
1068
+ var tableVersion = `table v${"4.23.10"}`;
1149
1069
  function createComponentLog(name) {
1150
1070
  const uiVersion = import_core3.VxeUI.uiVersion ? `ui v${import_core3.VxeUI.uiVersion}` : "";
1151
1071
  const ganttVersion = import_core3.VxeUI.ganttVersion ? `gantt v${import_core3.VxeUI.ganttVersion}` : "";
@@ -35135,6 +35055,7 @@ var zh_CN_default = {
35135
35055
  };
35136
35056
 
35137
35057
  // packages_temp/components.ts
35058
+ __reExport(components_exports, require("@vxe-ui/core"));
35138
35059
  var components = [VxeColumn, VxeColgroup, VxeGrid, VxeTable, VxeToolbar];
35139
35060
  function install(app, options) {
35140
35061
  import_core32.VxeUI.setConfig(options);
@@ -35148,10 +35069,12 @@ if (!import_core32.VxeUI.hasLanguage("zh-CN")) {
35148
35069
  import_core32.VxeUI.setTheme("light");
35149
35070
 
35150
35071
  // packages_temp/index.ts
35151
- if (typeof window !== "undefined" && window.Vue) {
35152
- if (!window.VXETable) {
35153
- ;
35154
- window.VXETable = components_exports;
35072
+ __reExport(index_exports, components_exports, module.exports);
35073
+ if (typeof window !== "undefined") {
35074
+ if (window.Vue) {
35075
+ if (!window.VXETable) {
35076
+ window.VXETable = components_exports;
35077
+ }
35155
35078
  }
35156
35079
  }
35157
35080
  var index_default = components_exports;