vxe-table 4.23.10 → 4.23.11

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
@@ -24,14 +24,24 @@ __export(index_exports, {
24
24
  Grid: () => Grid,
25
25
  Table: () => Table,
26
26
  Toolbar: () => Toolbar,
27
+ VXETable: () => VXETable,
27
28
  VxeColgroup: () => VxeColgroup,
28
29
  VxeColumn: () => VxeColumn,
29
30
  VxeGrid: () => VxeGrid,
30
31
  VxeTable: () => VxeTable,
31
32
  VxeToolbar: () => VxeToolbar,
32
33
  VxeUI: () => VxeUI32,
34
+ _t: () => _t,
35
+ config: () => config,
33
36
  default: () => index_default,
34
- install: () => install
37
+ install: () => install,
38
+ modal: () => modal,
39
+ print: () => print,
40
+ readFile: () => readFile,
41
+ saveFile: () => saveFile,
42
+ setup: () => setup,
43
+ t: () => t,
44
+ version: () => version
35
45
  });
36
46
 
37
47
  // packages_temp/components.ts
@@ -42,13 +52,23 @@ __export(components_exports, {
42
52
  Grid: () => Grid,
43
53
  Table: () => Table,
44
54
  Toolbar: () => Toolbar,
55
+ VXETable: () => VXETable,
45
56
  VxeColgroup: () => VxeColgroup,
46
57
  VxeColumn: () => VxeColumn,
47
58
  VxeGrid: () => VxeGrid,
48
59
  VxeTable: () => VxeTable,
49
60
  VxeToolbar: () => VxeToolbar,
50
61
  VxeUI: () => VxeUI32,
51
- install: () => install
62
+ _t: () => _t,
63
+ config: () => config,
64
+ install: () => install,
65
+ modal: () => modal,
66
+ print: () => print,
67
+ readFile: () => readFile,
68
+ saveFile: () => saveFile,
69
+ setup: () => setup,
70
+ t: () => t,
71
+ version: () => version
52
72
  });
53
73
  import { VxeUI as VxeUI32 } from "@vxe-ui/core";
54
74
 
@@ -103,7 +123,7 @@ function getDefaultConfig(val1, def1) {
103
123
  }
104
124
 
105
125
  // packages_temp/ui/index.ts
106
- var version = "4.23.10";
126
+ var version = "4.23.11";
107
127
  VxeUI2.version = version;
108
128
  VxeUI2.tableVersion = version;
109
129
  VxeUI2.setConfig({
@@ -508,6 +528,67 @@ var _t = (content, args) => {
508
528
  return getFuncText(content, args);
509
529
  };
510
530
  VxeUI2._t = _t;
531
+ var VXETable = VxeUI2;
532
+ var saveFile = (options) => {
533
+ return VxeUI2.saveFile(options);
534
+ };
535
+ var readFile = (options) => {
536
+ return VxeUI2.readFile(options);
537
+ };
538
+ var print = (options) => {
539
+ return VxeUI2.print(options);
540
+ };
541
+ var modal = {
542
+ /**
543
+ * 已废弃,兼容老版本
544
+ * @deprecated
545
+ */
546
+ get(id) {
547
+ return VxeUI2.modal.get(id);
548
+ },
549
+ /**
550
+ * 已废弃,兼容老版本
551
+ * @deprecated
552
+ */
553
+ close(id) {
554
+ return VxeUI2.modal.close(id);
555
+ },
556
+ /**
557
+ * 已废弃,兼容老版本
558
+ * @deprecated
559
+ */
560
+ open(options) {
561
+ return VxeUI2.modal.open(options);
562
+ },
563
+ /**
564
+ * 已废弃,兼容老版本
565
+ * @deprecated
566
+ */
567
+ alert(content, title, options) {
568
+ return VxeUI2.modal.alert(content, title, options);
569
+ },
570
+ /**
571
+ * 已废弃,兼容老版本
572
+ * @deprecated
573
+ */
574
+ confirm(content, title, options) {
575
+ return VxeUI2.modal.confirm(content, title, options);
576
+ },
577
+ /**
578
+ * 已废弃,兼容老版本
579
+ * @deprecated
580
+ */
581
+ message(content, options) {
582
+ return VxeUI2.modal.message(content, options);
583
+ },
584
+ /**
585
+ * 已废弃,兼容老版本
586
+ * @deprecated
587
+ */
588
+ notification(content, title, options) {
589
+ return VxeUI2.modal.notification(content, title, options);
590
+ }
591
+ };
511
592
 
512
593
  // packages_temp/column/index.ts
513
594
  import { VxeUI as VxeUI6 } from "@vxe-ui/core";
@@ -870,7 +951,7 @@ function getPopupAppendElement(appendTo) {
870
951
  // packages_temp/ui/src/log.ts
871
952
  import { VxeUI as VxeUI3 } from "@vxe-ui/core";
872
953
  var { log } = VxeUI3;
873
- var tableVersion = `table v${"4.23.10"}`;
954
+ var tableVersion = `table v${"4.23.11"}`;
874
955
  function createComponentLog(name) {
875
956
  const uiVersion = VxeUI3.uiVersion ? `ui v${VxeUI3.uiVersion}` : "";
876
957
  const ganttVersion = VxeUI3.ganttVersion ? `gantt v${VxeUI3.ganttVersion}` : "";
@@ -34890,12 +34971,22 @@ export {
34890
34971
  Grid,
34891
34972
  Table,
34892
34973
  Toolbar,
34974
+ VXETable,
34893
34975
  VxeColgroup,
34894
34976
  VxeColumn,
34895
34977
  VxeGrid,
34896
34978
  VxeTable,
34897
34979
  VxeToolbar,
34898
34980
  VxeUI32 as VxeUI,
34981
+ _t,
34982
+ config,
34899
34983
  index_default as default,
34900
- install
34984
+ install,
34985
+ modal,
34986
+ print,
34987
+ readFile,
34988
+ saveFile,
34989
+ setup,
34990
+ t,
34991
+ version
34901
34992
  };
@@ -5,6 +5,7 @@ import type { VxeGlobalConfig } from '../types';
5
5
  export declare function install(app: App, options?: VxeGlobalConfig): void;
6
6
  export { VxeUI };
7
7
  export * from '@vxe-ui/core';
8
+ export * from './ui';
8
9
  export * from './table';
9
10
  export * from './column';
10
11
  export * from './colgroup';
package/es/components.js CHANGED
@@ -18,6 +18,7 @@ if (!VxeUI.hasLanguage("zh-CN")) {
18
18
  }
19
19
  VxeUI.setTheme("light");
20
20
  export * from "@vxe-ui/core";
21
+ export * from "./ui";
21
22
  export * from "./table";
22
23
  export * from "./column";
23
24
  export * from "./colgroup";
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.10";
3
+ const version = "4.23.11";
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.10"}`;
3
+ const tableVersion = `table v${"4.23.11"}`;
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
@@ -42,6 +42,7 @@ 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
44
  __reExport(components_exports, require("@vxe-ui/core"), module.exports);
45
+ __reExport(components_exports, require("./ui"), module.exports);
45
46
  __reExport(components_exports, require("./table"), module.exports);
46
47
  __reExport(components_exports, require("./column"), module.exports);
47
48
  __reExport(components_exports, require("./colgroup"), module.exports);
package/lib/index.umd.js CHANGED
@@ -62,14 +62,24 @@ __export(index_exports, {
62
62
  Grid: () => Grid,
63
63
  Table: () => Table,
64
64
  Toolbar: () => Toolbar,
65
+ VXETable: () => VXETable,
65
66
  VxeColgroup: () => VxeColgroup,
66
67
  VxeColumn: () => VxeColumn,
67
68
  VxeGrid: () => VxeGrid,
68
69
  VxeTable: () => VxeTable,
69
70
  VxeToolbar: () => VxeToolbar,
70
71
  VxeUI: () => import_core32.VxeUI,
72
+ _t: () => _t,
73
+ config: () => config,
71
74
  default: () => index_default,
72
- install: () => install
75
+ install: () => install,
76
+ modal: () => modal,
77
+ print: () => print,
78
+ readFile: () => readFile,
79
+ saveFile: () => saveFile,
80
+ setup: () => setup,
81
+ t: () => t,
82
+ version: () => version
73
83
  });
74
84
  module.exports = __toCommonJS(index_exports);
75
85
 
@@ -81,13 +91,23 @@ __export(components_exports, {
81
91
  Grid: () => Grid,
82
92
  Table: () => Table,
83
93
  Toolbar: () => Toolbar,
94
+ VXETable: () => VXETable,
84
95
  VxeColgroup: () => VxeColgroup,
85
96
  VxeColumn: () => VxeColumn,
86
97
  VxeGrid: () => VxeGrid,
87
98
  VxeTable: () => VxeTable,
88
99
  VxeToolbar: () => VxeToolbar,
89
100
  VxeUI: () => import_core32.VxeUI,
90
- install: () => install
101
+ _t: () => _t,
102
+ config: () => config,
103
+ install: () => install,
104
+ modal: () => modal,
105
+ print: () => print,
106
+ readFile: () => readFile,
107
+ saveFile: () => saveFile,
108
+ setup: () => setup,
109
+ t: () => t,
110
+ version: () => version
91
111
  });
92
112
  var import_core32 = require("@vxe-ui/core");
93
113
 
@@ -298,7 +318,7 @@ function getDefaultConfig(val1, def1) {
298
318
  }
299
319
 
300
320
  // packages_temp/ui/index.ts
301
- var version = "4.23.10";
321
+ var version = "4.23.11";
302
322
  import_core2.VxeUI.version = version;
303
323
  import_core2.VxeUI.tableVersion = version;
304
324
  import_core2.VxeUI.setConfig({
@@ -703,6 +723,67 @@ var _t = (content, args) => {
703
723
  return getFuncText(content, args);
704
724
  };
705
725
  import_core2.VxeUI._t = _t;
726
+ var VXETable = import_core2.VxeUI;
727
+ var saveFile = (options) => {
728
+ return import_core2.VxeUI.saveFile(options);
729
+ };
730
+ var readFile = (options) => {
731
+ return import_core2.VxeUI.readFile(options);
732
+ };
733
+ var print = (options) => {
734
+ return import_core2.VxeUI.print(options);
735
+ };
736
+ var modal = {
737
+ /**
738
+ * 已废弃,兼容老版本
739
+ * @deprecated
740
+ */
741
+ get(id) {
742
+ return import_core2.VxeUI.modal.get(id);
743
+ },
744
+ /**
745
+ * 已废弃,兼容老版本
746
+ * @deprecated
747
+ */
748
+ close(id) {
749
+ return import_core2.VxeUI.modal.close(id);
750
+ },
751
+ /**
752
+ * 已废弃,兼容老版本
753
+ * @deprecated
754
+ */
755
+ open(options) {
756
+ return import_core2.VxeUI.modal.open(options);
757
+ },
758
+ /**
759
+ * 已废弃,兼容老版本
760
+ * @deprecated
761
+ */
762
+ alert(content, title, options) {
763
+ return import_core2.VxeUI.modal.alert(content, title, options);
764
+ },
765
+ /**
766
+ * 已废弃,兼容老版本
767
+ * @deprecated
768
+ */
769
+ confirm(content, title, options) {
770
+ return import_core2.VxeUI.modal.confirm(content, title, options);
771
+ },
772
+ /**
773
+ * 已废弃,兼容老版本
774
+ * @deprecated
775
+ */
776
+ message(content, options) {
777
+ return import_core2.VxeUI.modal.message(content, options);
778
+ },
779
+ /**
780
+ * 已废弃,兼容老版本
781
+ * @deprecated
782
+ */
783
+ notification(content, title, options) {
784
+ return import_core2.VxeUI.modal.notification(content, title, options);
785
+ }
786
+ };
706
787
 
707
788
  // packages_temp/column/index.ts
708
789
  var import_core6 = require("@vxe-ui/core");
@@ -1065,7 +1146,7 @@ function getPopupAppendElement(appendTo) {
1065
1146
  // packages_temp/ui/src/log.ts
1066
1147
  var import_core3 = require("@vxe-ui/core");
1067
1148
  var { log } = import_core3.VxeUI;
1068
- var tableVersion = `table v${"4.23.10"}`;
1149
+ var tableVersion = `table v${"4.23.11"}`;
1069
1150
  function createComponentLog(name) {
1070
1151
  const uiVersion = import_core3.VxeUI.uiVersion ? `ui v${import_core3.VxeUI.uiVersion}` : "";
1071
1152
  const ganttVersion = import_core3.VxeUI.ganttVersion ? `gantt v${import_core3.VxeUI.ganttVersion}` : "";