vxe-table 4.23.9 → 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
@@ -1,8 +1,48 @@
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
+ VXETable: () => VXETable,
28
+ VxeColgroup: () => VxeColgroup,
29
+ VxeColumn: () => VxeColumn,
30
+ VxeGrid: () => VxeGrid,
31
+ VxeTable: () => VxeTable,
32
+ VxeToolbar: () => VxeToolbar,
33
+ VxeUI: () => VxeUI32,
34
+ _t: () => _t,
35
+ config: () => config,
36
+ default: () => index_default,
37
+ install: () => install,
38
+ modal: () => modal,
39
+ print: () => print,
40
+ readFile: () => readFile,
41
+ saveFile: () => saveFile,
42
+ setup: () => setup,
43
+ t: () => t,
44
+ version: () => version
45
+ });
6
46
 
7
47
  // packages_temp/components.ts
8
48
  var components_exports = {};
@@ -83,7 +123,7 @@ function getDefaultConfig(val1, def1) {
83
123
  }
84
124
 
85
125
  // packages_temp/ui/index.ts
86
- var version = "4.23.9";
126
+ var version = "4.23.11";
87
127
  VxeUI2.version = version;
88
128
  VxeUI2.tableVersion = version;
89
129
  VxeUI2.setConfig({
@@ -911,7 +951,7 @@ function getPopupAppendElement(appendTo) {
911
951
  // packages_temp/ui/src/log.ts
912
952
  import { VxeUI as VxeUI3 } from "@vxe-ui/core";
913
953
  var { log } = VxeUI3;
914
- var tableVersion = `table v${"4.23.9"}`;
954
+ var tableVersion = `table v${"4.23.11"}`;
915
955
  function createComponentLog(name) {
916
956
  const uiVersion = VxeUI3.uiVersion ? `ui v${VxeUI3.uiVersion}` : "";
917
957
  const ganttVersion = VxeUI3.ganttVersion ? `gantt v${VxeUI3.ganttVersion}` : "";
@@ -34901,6 +34941,8 @@ var zh_CN_default = {
34901
34941
  };
34902
34942
 
34903
34943
  // packages_temp/components.ts
34944
+ __reExport(components_exports, core_star);
34945
+ import * as core_star from "@vxe-ui/core";
34904
34946
  var components = [VxeColumn, VxeColgroup, VxeGrid, VxeTable, VxeToolbar];
34905
34947
  function install(app, options) {
34906
34948
  VxeUI32.setConfig(options);
@@ -34914,10 +34956,12 @@ if (!VxeUI32.hasLanguage("zh-CN")) {
34914
34956
  VxeUI32.setTheme("light");
34915
34957
 
34916
34958
  // packages_temp/index.ts
34917
- if (typeof window !== "undefined" && window.Vue) {
34918
- if (!window.VXETable) {
34919
- ;
34920
- window.VXETable = components_exports;
34959
+ __reExport(index_exports, components_exports);
34960
+ if (typeof window !== "undefined") {
34961
+ if (window.Vue) {
34962
+ if (!window.VXETable) {
34963
+ window.VXETable = components_exports;
34964
+ }
34921
34965
  }
34922
34966
  }
34923
34967
  var index_default = components_exports;
@@ -4,6 +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 '@vxe-ui/core';
7
8
  export * from './ui';
8
9
  export * from './table';
9
10
  export * from './column';
package/es/components.js CHANGED
@@ -17,6 +17,7 @@ if (!VxeUI.hasLanguage("zh-CN")) {
17
17
  VxeUI.setLanguage(defaultLanguage);
18
18
  }
19
19
  VxeUI.setTheme("light");
20
+ export * from "@vxe-ui/core";
20
21
  export * from "./ui";
21
22
  export * from "./table";
22
23
  export * from "./column";
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.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.9"}`;
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
@@ -41,6 +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("@vxe-ui/core"), module.exports);
44
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);
@@ -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-
@@ -317,7 +318,7 @@ function getDefaultConfig(val1, def1) {
317
318
  }
318
319
 
319
320
  // packages_temp/ui/index.ts
320
- var version = "4.23.9";
321
+ var version = "4.23.11";
321
322
  import_core2.VxeUI.version = version;
322
323
  import_core2.VxeUI.tableVersion = version;
323
324
  import_core2.VxeUI.setConfig({
@@ -1145,7 +1146,7 @@ function getPopupAppendElement(appendTo) {
1145
1146
  // packages_temp/ui/src/log.ts
1146
1147
  var import_core3 = require("@vxe-ui/core");
1147
1148
  var { log } = import_core3.VxeUI;
1148
- var tableVersion = `table v${"4.23.9"}`;
1149
+ var tableVersion = `table v${"4.23.11"}`;
1149
1150
  function createComponentLog(name) {
1150
1151
  const uiVersion = import_core3.VxeUI.uiVersion ? `ui v${import_core3.VxeUI.uiVersion}` : "";
1151
1152
  const ganttVersion = import_core3.VxeUI.ganttVersion ? `gantt v${import_core3.VxeUI.ganttVersion}` : "";
@@ -35135,6 +35136,7 @@ var zh_CN_default = {
35135
35136
  };
35136
35137
 
35137
35138
  // packages_temp/components.ts
35139
+ __reExport(components_exports, require("@vxe-ui/core"));
35138
35140
  var components = [VxeColumn, VxeColgroup, VxeGrid, VxeTable, VxeToolbar];
35139
35141
  function install(app, options) {
35140
35142
  import_core32.VxeUI.setConfig(options);
@@ -35148,10 +35150,12 @@ if (!import_core32.VxeUI.hasLanguage("zh-CN")) {
35148
35150
  import_core32.VxeUI.setTheme("light");
35149
35151
 
35150
35152
  // packages_temp/index.ts
35151
- if (typeof window !== "undefined" && window.Vue) {
35152
- if (!window.VXETable) {
35153
- ;
35154
- window.VXETable = components_exports;
35153
+ __reExport(index_exports, components_exports, module.exports);
35154
+ if (typeof window !== "undefined") {
35155
+ if (window.Vue) {
35156
+ if (!window.VXETable) {
35157
+ window.VXETable = components_exports;
35158
+ }
35155
35159
  }
35156
35160
  }
35157
35161
  var index_default = components_exports;