vxe-table 4.23.6 → 4.23.8

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 (119) hide show
  1. package/dist/all.esm.js +176 -267
  2. package/es/colgroup/index.js +1 -1
  3. package/es/column/index.js +1 -1
  4. package/es/components.d.ts +3 -1
  5. package/es/components.js +3 -2
  6. package/es/grid/index.js +1 -1
  7. package/es/grid/src/grid.js +1 -1
  8. package/es/grid/src/props.js +1 -1
  9. package/es/index.esm.js +5 -0
  10. package/es/index.js +5 -0
  11. package/es/style.css +4501 -0
  12. package/es/style.mini.css +1 -0
  13. package/es/table/index.js +1 -1
  14. package/es/table/module/custom/hook.js +1 -1
  15. package/es/table/module/custom/panel.js +1 -1
  16. package/es/table/module/edit/hook.js +1 -1
  17. package/es/table/module/export/export-panel.js +1 -1
  18. package/es/table/module/export/hook.js +1 -1
  19. package/es/table/module/export/import-panel.js +1 -1
  20. package/es/table/module/filter/hook.js +1 -1
  21. package/es/table/module/filter/panel.js +1 -1
  22. package/es/table/module/keyboard/hook.js +1 -1
  23. package/es/table/module/menu/hook.js +1 -1
  24. package/es/table/module/menu/panel.js +1 -1
  25. package/es/table/module/validator/hook.js +1 -1
  26. package/es/table/render/index.js +1 -1
  27. package/es/table/src/body.js +1 -1
  28. package/es/table/src/cell.js +1 -1
  29. package/es/table/src/columnInfo.js +1 -1
  30. package/es/table/src/footer.js +1 -1
  31. package/es/table/src/header.js +1 -1
  32. package/es/table/src/props.js +1 -1
  33. package/es/table/src/table.js +1 -1
  34. package/es/toolbar/index.js +1 -1
  35. package/es/toolbar/src/toolbar.js +1 -1
  36. package/es/ui/index.d.ts +0 -1
  37. package/es/ui/index.js +1 -2
  38. package/es/ui/src/log.js +1 -1
  39. package/es/v-x-e-table/index.d.ts +0 -1
  40. package/es/v-x-e-table/index.js +0 -1
  41. package/lib/colgroup/index.js +5 -5
  42. package/lib/column/index.js +5 -5
  43. package/lib/components.js +7 -6
  44. package/lib/grid/index.js +4 -4
  45. package/lib/grid/src/grid.js +22 -22
  46. package/lib/grid/src/props.js +2 -2
  47. package/lib/index.common.js +5 -0
  48. package/lib/index.js +5 -0
  49. package/lib/index.umd.js +176 -228
  50. package/lib/index.umd.min.js +3 -3
  51. package/lib/table/index.js +5 -5
  52. package/lib/table/module/custom/hook.js +2 -2
  53. package/lib/table/module/custom/panel.js +13 -13
  54. package/lib/table/module/edit/hook.js +2 -2
  55. package/lib/table/module/export/export-panel.js +7 -7
  56. package/lib/table/module/export/hook.js +24 -24
  57. package/lib/table/module/export/import-panel.js +5 -5
  58. package/lib/table/module/filter/hook.js +2 -2
  59. package/lib/table/module/filter/panel.js +3 -3
  60. package/lib/table/module/keyboard/hook.js +2 -2
  61. package/lib/table/module/menu/hook.js +2 -2
  62. package/lib/table/module/menu/panel.js +2 -2
  63. package/lib/table/module/validator/hook.js +2 -2
  64. package/lib/table/render/index.js +2 -2
  65. package/lib/table/src/body.js +2 -2
  66. package/lib/table/src/cell.js +2 -2
  67. package/lib/table/src/columnInfo.js +2 -2
  68. package/lib/table/src/footer.js +2 -2
  69. package/lib/table/src/header.js +2 -2
  70. package/lib/table/src/props.js +2 -2
  71. package/lib/table/src/table.js +17 -17
  72. package/lib/toolbar/index.js +4 -4
  73. package/lib/toolbar/src/toolbar.js +3 -3
  74. package/lib/ui/index.js +1 -3
  75. package/lib/ui/src/log.js +1 -1
  76. package/lib/v-x-e-table/index.js +0 -2
  77. package/package.json +8 -3
  78. package/packages/colgroup/index.ts +1 -1
  79. package/packages/column/index.ts +1 -1
  80. package/packages/components.ts +3 -2
  81. package/packages/grid/index.ts +1 -1
  82. package/packages/grid/src/grid.ts +1 -1
  83. package/packages/grid/src/props.ts +1 -1
  84. package/packages/index.ts +7 -0
  85. package/packages/table/index.ts +1 -1
  86. package/packages/table/module/custom/hook.ts +1 -1
  87. package/packages/table/module/custom/panel.ts +1 -1
  88. package/packages/table/module/edit/hook.ts +1 -1
  89. package/packages/table/module/export/export-panel.ts +1 -1
  90. package/packages/table/module/export/hook.ts +1 -1
  91. package/packages/table/module/export/import-panel.ts +1 -1
  92. package/packages/table/module/filter/hook.ts +1 -1
  93. package/packages/table/module/filter/panel.ts +1 -1
  94. package/packages/table/module/keyboard/hook.ts +1 -1
  95. package/packages/table/module/menu/hook.ts +1 -1
  96. package/packages/table/module/menu/panel.ts +1 -1
  97. package/packages/table/module/validator/hook.ts +1 -1
  98. package/packages/table/render/index.ts +1 -1
  99. package/packages/table/src/body.ts +1 -1
  100. package/packages/table/src/cell.ts +1 -1
  101. package/packages/table/src/columnInfo.ts +1 -1
  102. package/packages/table/src/footer.ts +1 -1
  103. package/packages/table/src/header.ts +1 -1
  104. package/packages/table/src/props.ts +1 -1
  105. package/packages/table/src/table.ts +1 -1
  106. package/packages/toolbar/index.ts +1 -1
  107. package/packages/toolbar/src/toolbar.ts +1 -1
  108. package/packages/ui/index.ts +0 -1
  109. package/packages/v-x-e-table/index.d.ts +0 -1
  110. package/packages/v-x-e-table/index.ts +0 -1
  111. /package/dist/{iconfont.1792977622800.ttf → iconfont.1793007753347.ttf} +0 -0
  112. /package/dist/{iconfont.1792977622800.woff → iconfont.1793007753347.woff} +0 -0
  113. /package/dist/{iconfont.1792977622800.woff2 → iconfont.1793007753347.woff2} +0 -0
  114. /package/es/{iconfont.1792977622800.ttf → iconfont.1793007753347.ttf} +0 -0
  115. /package/es/{iconfont.1792977622800.woff → iconfont.1793007753347.woff} +0 -0
  116. /package/es/{iconfont.1792977622800.woff2 → iconfont.1793007753347.woff2} +0 -0
  117. /package/lib/{iconfont.1792977622800.ttf → iconfont.1793007753347.ttf} +0 -0
  118. /package/lib/{iconfont.1792977622800.woff → iconfont.1793007753347.woff} +0 -0
  119. /package/lib/{iconfont.1792977622800.woff2 → iconfont.1793007753347.woff2} +0 -0
@@ -34,9 +34,9 @@ module.exports = __toCommonJS(table_exports);
34
34
  var import_vue = require("vue");
35
35
  var import_comp = require("../../ui/src/comp");
36
36
  var import_xe_utils = __toESM(require("xe-utils"));
37
+ var import_core = require("@vxe-ui/core");
37
38
  var import_dom = require("../../ui/src/dom");
38
39
  var import_utils = require("../../ui/src/utils");
39
- var import_ui = require("../../ui");
40
40
  var import_util = require("./util");
41
41
  var import_vn = require("../../ui/src/vn");
42
42
  var import_anime = require("../../ui/src/anime");
@@ -62,7 +62,7 @@ var import_hook6 = require("../module/validator/hook");
62
62
  var import_hook7 = require("../module/custom/hook");
63
63
  var import_render = require("../render");
64
64
  const { warnLog, errLog } = (0, import_log.createComponentLog)("table");
65
- const { getConfig, getIcon, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, domUtils, globalEvents, GLOBAL_EVENT_KEYS, useFns, renderEmptyElement } = import_ui.VxeUI;
65
+ const { getConfig, getIcon, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, domUtils, globalEvents, GLOBAL_EVENT_KEYS, useFns, renderEmptyElement } = import_core.VxeUI;
66
66
  const supportMaxRow = 5e6;
67
67
  const customStorageKey = "VXE_CUSTOM_STORE";
68
68
  const maxYHeight = 5e6;
@@ -78,8 +78,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
78
78
  const xID = import_xe_utils.default.uniqueId();
79
79
  const browseObj = import_xe_utils.default.browse();
80
80
  const scrollDefaultConf = Object.assign({}, getConfig().scrollbar);
81
- const VxeUILoadingComponent = import_ui.VxeUI.getComponent("VxeLoading");
82
- const VxeUITooltipComponent = import_ui.VxeUI.getComponent("VxeTooltip");
81
+ const VxeUILoadingComponent = import_core.VxeUI.getComponent("VxeLoading");
82
+ const VxeUITooltipComponent = import_core.VxeUI.getComponent("VxeTooltip");
83
83
  const $xeModal = (0, import_vue.inject)("$xeModal", null);
84
84
  const $xeTabs = (0, import_vue.inject)("$xeTabs", null);
85
85
  const $xeParentTable = (0, import_vue.inject)("$xeTable", null);
@@ -5771,8 +5771,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
5771
5771
  const targetColumn = (0, import_util.getRootColumn)($xeTable, column);
5772
5772
  if (targetColumn && targetColumn.fixed !== fixed) {
5773
5773
  if (!targetColumn.fixed && isMaxFixedColumn) {
5774
- if (import_ui.VxeUI.modal) {
5775
- import_ui.VxeUI.modal.message({
5774
+ if (import_core.VxeUI.modal) {
5775
+ import_core.VxeUI.modal.message({
5776
5776
  status: "error",
5777
5777
  content: getI18n("vxe.table.maxFixedCol", [columnOpts.maxFixedSize])
5778
5778
  });
@@ -6957,8 +6957,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
6957
6957
  }
6958
6958
  const confList = fieldOrColumns ? import_xe_utils.default.isArray(fieldOrColumns) ? fieldOrColumns : [fieldOrColumns] : [];
6959
6959
  if (maxGroupSize && confList.length > maxGroupSize) {
6960
- if (import_ui.VxeUI.modal) {
6961
- import_ui.VxeUI.modal.message({
6960
+ if (import_core.VxeUI.modal) {
6961
+ import_core.VxeUI.modal.message({
6962
6962
  status: "error",
6963
6963
  content: getI18n("vxe.table.maxGroupCol", [maxGroupSize])
6964
6964
  });
@@ -10915,8 +10915,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
10915
10915
  if (oldAllMaps[newRowid]) {
10916
10916
  isSelfToChildStatus = true;
10917
10917
  if (!(isCrossDrag && isSelfToChildDrag)) {
10918
- if (import_ui.VxeUI.modal) {
10919
- import_ui.VxeUI.modal.message({
10918
+ if (import_core.VxeUI.modal) {
10919
+ import_core.VxeUI.modal.message({
10920
10920
  status: "error",
10921
10921
  content: getI18n("vxe.error.treeDragChild")
10922
10922
  });
@@ -10939,8 +10939,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
10939
10939
  if (oldAllMaps[newRowid]) {
10940
10940
  isSelfToChildStatus = true;
10941
10941
  if (!(isCrossDrag && isSelfToChildDrag)) {
10942
- if (import_ui.VxeUI.modal) {
10943
- import_ui.VxeUI.modal.message({
10942
+ if (import_core.VxeUI.modal) {
10943
+ import_core.VxeUI.modal.message({
10944
10944
  status: "error",
10945
10945
  content: getI18n("vxe.error.treeDragChild")
10946
10946
  });
@@ -11580,8 +11580,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
11580
11580
  if (oldAllMaps[newColumn.id]) {
11581
11581
  isSelfToChildStatus = true;
11582
11582
  if (!(isCrossDrag && isSelfToChildDrag)) {
11583
- if (import_ui.VxeUI.modal) {
11584
- import_ui.VxeUI.modal.message({
11583
+ if (import_core.VxeUI.modal) {
11584
+ import_core.VxeUI.modal.message({
11585
11585
  status: "error",
11586
11586
  content: getI18n("vxe.error.treeDragChild")
11587
11587
  });
@@ -11604,8 +11604,8 @@ var table_default = (0, import_comp.defineVxeComponent)({
11604
11604
  if (oldAllMaps[newColumn.id]) {
11605
11605
  isSelfToChildStatus = true;
11606
11606
  if (!(isCrossDrag && isSelfToChildDrag)) {
11607
- if (import_ui.VxeUI.modal) {
11608
- import_ui.VxeUI.modal.message({
11607
+ if (import_core.VxeUI.modal) {
11608
+ import_core.VxeUI.modal.message({
11609
11609
  status: "error",
11610
11610
  content: getI18n("vxe.error.treeDragChild")
11611
11611
  });
@@ -13663,7 +13663,7 @@ var table_default = (0, import_comp.defineVxeComponent)({
13663
13663
  (0, import_vue.watch)(() => props.maxHeight, () => {
13664
13664
  reLayoutFlag.value++;
13665
13665
  });
13666
- (0, import_vue.watch)(() => import_ui.VxeUI.getLanguage(), () => {
13666
+ (0, import_vue.watch)(() => import_core.VxeUI.getLanguage(), () => {
13667
13667
  reLayoutFlag.value++;
13668
13668
  });
13669
13669
  (0, import_vue.watch)(computeIsVScrollbar, () => {
@@ -33,16 +33,16 @@ __export(toolbar_exports, {
33
33
  default: () => toolbar_default
34
34
  });
35
35
  module.exports = __toCommonJS(toolbar_exports);
36
- var import_ui = require("../ui");
36
+ var import_core = require("@vxe-ui/core");
37
37
  var import_toolbar = __toESM(require("./src/toolbar"));
38
38
  const VxeToolbar = Object.assign({}, import_toolbar.default, {
39
39
  install(app) {
40
40
  app.component(import_toolbar.default.name, import_toolbar.default);
41
41
  }
42
42
  });
43
- if (import_ui.VxeUI.dynamicApp) {
44
- import_ui.VxeUI.dynamicApp.component(import_toolbar.default.name, import_toolbar.default);
43
+ if (import_core.VxeUI.dynamicApp) {
44
+ import_core.VxeUI.dynamicApp.component(import_toolbar.default.name, import_toolbar.default);
45
45
  }
46
- import_ui.VxeUI.component(import_toolbar.default);
46
+ import_core.VxeUI.component(import_toolbar.default);
47
47
  const Toolbar = VxeToolbar;
48
48
  var toolbar_default = VxeToolbar;
@@ -34,11 +34,11 @@ module.exports = __toCommonJS(toolbar_exports);
34
34
  var import_vue = require("vue");
35
35
  var import_comp = require("../../ui/src/comp");
36
36
  var import_xe_utils = __toESM(require("xe-utils"));
37
- var import_ui = require("../../ui");
37
+ var import_core = require("@vxe-ui/core");
38
38
  var import_vn = require("../../ui/src/vn");
39
39
  var import_log = require("../../ui/src/log");
40
40
  const { warnLog, errLog } = (0, import_log.createComponentLog)("toolbar");
41
- const { getConfig, getIcon, getI18n, renderer, commands, createEvent, useFns } = import_ui.VxeUI;
41
+ const { getConfig, getIcon, getI18n, renderer, commands, createEvent, useFns } = import_core.VxeUI;
42
42
  function createReactData() {
43
43
  return {
44
44
  isRefresh: false,
@@ -92,7 +92,7 @@ var toolbar_default = (0, import_comp.defineVxeComponent)({
92
92
  setup(props, context) {
93
93
  const { slots, emit } = context;
94
94
  const xID = import_xe_utils.default.uniqueId();
95
- const VxeUIButtonComponent = import_ui.VxeUI.getComponent("VxeButton");
95
+ const VxeUIButtonComponent = import_core.VxeUI.getComponent("VxeButton");
96
96
  const $xeGrid = (0, import_vue.inject)("$xeGrid", null);
97
97
  const $xeGantt = (0, import_vue.inject)("$xeGantt", null);
98
98
  const $xeGGWrapper = $xeGrid || $xeGantt;
package/lib/ui/index.js CHANGED
@@ -15,7 +15,6 @@ 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"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var ui_exports = {};
21
20
  __export(ui_exports, {
@@ -34,8 +33,7 @@ __export(ui_exports, {
34
33
  module.exports = __toCommonJS(ui_exports);
35
34
  var import_core = require("@vxe-ui/core");
36
35
  var import_utils = require("./src/utils");
37
- __reExport(ui_exports, require("@vxe-ui/core"), module.exports);
38
- const version = "4.23.6";
36
+ const version = "4.23.8";
39
37
  import_core.VxeUI.version = version;
40
38
  import_core.VxeUI.tableVersion = version;
41
39
  import_core.VxeUI.setConfig({
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.6"}`;
28
+ const tableVersion = `table v${"4.23.8"}`;
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}` : "";
@@ -17,7 +17,6 @@ var __copyProps = (to, from, except, desc) => {
17
17
  }
18
18
  return to;
19
19
  };
20
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
21
  // If the importer is in node compatibility mode or this is not an ESM
23
22
  // file that has been converted to a CommonJS file using a Babel-
@@ -33,5 +32,4 @@ __export(v_x_e_table_exports, {
33
32
  });
34
33
  module.exports = __toCommonJS(v_x_e_table_exports);
35
34
  var import_ui = __toESM(require("../ui"));
36
- __reExport(v_x_e_table_exports, require("../ui"), module.exports);
37
35
  var v_x_e_table_default = import_ui.default;
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "vxe-table",
3
- "version": "4.23.6",
3
+ "version": "4.23.8",
4
4
  "description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
7
7
  "serve": "vue-cli-service serve",
8
- "lint": "vue-cli-service lint",
9
8
  "build": "vue-cli-service build",
9
+ "lint": "vue-cli-service lint",
10
+ "lint:es": "eslint packages/** types/**",
11
+ "lint:ox": "oxfmt --check packages/** types/**",
12
+ "esfix": "eslint --fix packages/** types/**",
13
+ "oxfix": "oxfmt packages/** types/** --write",
10
14
  "lib:pack": "vue-cli-service build --target lib --name index --dest lib_temp index.ts",
11
15
  "lib:modules": "gulp build",
12
16
  "lib:old": "npm run lib:pack && npm run lib:modules",
@@ -62,6 +66,7 @@
62
66
  "gulp-sourcemaps": "^3.0.0",
63
67
  "gulp-typescript": "^5.0.1",
64
68
  "gulp-uglify": "^3.0.2",
69
+ "oxfmt": "~0.51.0",
65
70
  "postcss": "^8.4.38",
66
71
  "rollup": "^4.53.3",
67
72
  "sass": "~1.101.7",
@@ -70,7 +75,7 @@
70
75
  "typescript": "~5.9.3",
71
76
  "vue": "3.4.27",
72
77
  "vue-router": "~4.5.1",
73
- "vxe-pc-ui": "4.20.36"
78
+ "vxe-pc-ui": "4.20.26"
74
79
  },
75
80
  "vetur": {
76
81
  "tags": "helper/vetur/tags.json",
@@ -1,5 +1,5 @@
1
1
  import { App } from 'vue'
2
- import { VxeUI } from '../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import VxeColgroupComponent from '../table/src/group'
4
4
 
5
5
  export const VxeColgroup = Object.assign({}, VxeColgroupComponent, {
@@ -1,5 +1,5 @@
1
1
  import { App } from 'vue'
2
- import { VxeUI } from '../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import VxeColumnComponent from '../table/src/column'
4
4
 
5
5
  export const VxeColumn = Object.assign({}, VxeColumnComponent, {
@@ -1,5 +1,6 @@
1
1
  import { App } from 'vue'
2
- import { VxeUI } from './ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
+ import './ui'
3
4
 
4
5
  import { VxeColumn } from './column'
5
6
  import { VxeColgroup } from './colgroup'
@@ -33,7 +34,7 @@ if (!VxeUI.hasLanguage('zh-CN')) {
33
34
  }
34
35
  VxeUI.setTheme('light')
35
36
 
36
- export * from './ui'
37
+ export { VxeUI }
37
38
 
38
39
  // Components
39
40
  export * from './table'
@@ -1,5 +1,5 @@
1
1
  import { App } from 'vue'
2
- import { VxeUI } from '../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import VxeGridComponent from './src/grid'
4
4
 
5
5
  export const VxeGrid = Object.assign({}, VxeGridComponent, {
@@ -1,9 +1,9 @@
1
1
  import { h, ref, computed, provide, reactive, onBeforeUnmount, watch, nextTick, VNode, onMounted } from 'vue'
2
+ import { VxeUI } from '@vxe-ui/core'
2
3
  import { defineVxeComponent } from '../../ui/src/comp'
3
4
  import XEUtils from 'xe-utils'
4
5
  import { getLastZIndex, nextZIndex, isEnableConf } from '../../ui/src/utils'
5
6
  import { getOffsetHeight, getPaddingTopBottomSize, getDomNode, toCssUnit, hasClass } from '../../ui/src/dom'
6
- import { VxeUI } from '../../ui'
7
7
  import { gridProps } from './props'
8
8
  import { gridEmits } from './emits'
9
9
  import { getSlotVNs } from '../../ui/src/vn'
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { PropType } from 'vue'
3
- import { VxeUI } from '../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { tableProps } from '../../table/src/props'
5
5
 
6
6
  import type { VxeGridPropTypes } from '../../../types'
package/packages/index.ts CHANGED
@@ -1,4 +1,11 @@
1
1
  import * as VxeUITableExport from './components'
2
2
 
3
+ if (typeof window !== 'undefined' && (window as any).Vue) {
4
+ // 兼容旧版本
5
+ if (!(window as any).VXETable) {
6
+ (window as any).VXETable = VxeUITableExport
7
+ }
8
+ }
9
+
3
10
  export * from './components'
4
11
  export default VxeUITableExport
@@ -1,5 +1,5 @@
1
1
  import { App } from 'vue'
2
- import { VxeUI } from '../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import VxeTableComponent from './src/table'
4
4
  import { useCellView } from './src/use'
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { nextTick } from 'vue'
2
- import { VxeUI } from '../../../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import XEUtils from 'xe-utils'
4
4
  import { getColumnList } from '../../src/util'
5
5
  import { toCssUnit } from '../../../ui/src/dom'
@@ -1,6 +1,6 @@
1
1
  import { h, inject, ref, Ref, provide, VNode, PropType, nextTick, TransitionGroup, reactive, onUnmounted } from 'vue'
2
2
  import { defineVxeComponent } from '../../../ui/src/comp'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { formatText, hasEnableConf } from '../../../ui/src/utils'
5
5
  import { getTpImg, addClass, removeClass, hasControlKey } from '../../../ui/src/dom'
6
6
  import { createComponentLog } from '../../../ui/src/log'
@@ -1,6 +1,6 @@
1
1
  import { reactive, nextTick } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { hasEnableConf, isEnableConf } from '../../../ui/src/utils'
5
5
  import { getCellValue, setCellValue, getRowid } from '../../src/util'
6
6
  import { removeClass, addClass } from '../../../ui/src/dom'
@@ -1,6 +1,6 @@
1
1
  import { h, ref, Ref, computed, reactive, inject, nextTick, VNode, PropType } from 'vue'
2
2
  import { defineVxeComponent } from '../../../ui/src/comp'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import XEUtils from 'xe-utils'
5
5
  import { formatText, getDefaultConfig } from '../../../ui/src/utils'
6
6
  import { createComponentLog } from '../../../ui/src/log'
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { isColumnInfo, getCellValue, createHandleGetRowId } from '../../src/util'
5
5
  import { parseFile, formatText, eqEmptyValue, hasEnableConf } from '../../../ui/src/utils'
6
6
  import { hasClass, toCssUnit } from '../../../ui/src/dom'
@@ -1,6 +1,6 @@
1
1
  import { h, ref, Ref, computed, inject, reactive, nextTick, PropType } from 'vue'
2
2
  import { defineVxeComponent } from '../../../ui/src/comp'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import XEUtils from 'xe-utils'
5
5
  import { getDefaultConfig, parseFile } from '../../../ui/src/utils'
6
6
  import { createComponentLog } from '../../../ui/src/log'
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { toFilters, handleFieldOrColumn, getRefElem } from '../../src/util'
5
5
  import { toCssUnit, triggerEvent, updatePanelPlacement } from '../../../ui/src/dom'
6
6
  import { hasEnableConf, isEnableConf } from '../../../ui/src/utils'
@@ -1,6 +1,6 @@
1
1
  import { h, ref, computed, inject, Teleport, PropType } from 'vue'
2
2
  import { defineVxeComponent } from '../../../ui/src/comp'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { formatText, isEnableConf } from '../../../ui/src/utils'
5
5
  import { getPropClass } from '../../../ui/src/dom'
6
6
  import { getSlotVNs } from '../../../ui/src/vn'
@@ -1,5 +1,5 @@
1
1
  import XEUtils from 'xe-utils'
2
- import { VxeUI } from '../../../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import { getRefElem } from '../../src/util'
4
4
  import { getAbsolutePos, addClass, removeClass, hasControlKey } from '../../../ui/src/dom'
5
5
  import { hasEnableConf } from '../../../ui/src/utils'
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { getDomNode, getAbsolutePos, getEventTargetNode, toCssUnit } from '../../../ui/src/dom'
5
5
  import { isEnableConf, hasChildrenList, hasEnableConf } from '../../../ui/src/utils'
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { h, Teleport, inject, ref, Ref } from 'vue'
2
2
  import { defineVxeComponent } from '../../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
- import { VxeUI } from '../../../ui'
4
+ import { VxeUI } from '@vxe-ui/core'
5
5
  import { getFuncText } from '../../../ui/src/utils'
6
6
  import { getSlotVNs } from '../../../ui/src/vn'
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { eqEmptyValue, getFuncText } from '../../../ui/src/utils'
5
5
  import { scrollToView } from '../../../ui/src/dom'
6
6
  import { handleFieldOrColumn, getRowid } from '../../src/util'
@@ -1,6 +1,6 @@
1
1
  import { h, VNode, resolveComponent, ComponentOptions } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { getCellValue, setCellValue } from '../../table/src/util'
5
5
  import { getFuncText, formatText, isEmptyValue, hasEnableConf } from '../../ui/src/utils'
6
6
  import { getOnName, getModelEvent, getChangeEvent, hasInputType } from '../../ui/src/vn'
@@ -1,7 +1,7 @@
1
1
  import { h, ref, Ref, PropType, inject, nextTick, onMounted, onUnmounted } from 'vue'
2
2
  import { defineVxeComponent } from '../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
- import { VxeUI } from '../../ui'
4
+ import { VxeUI } from '@vxe-ui/core'
5
5
  import { getRowid, createHandleGetRowId, getCellRestHeight } from './util'
6
6
  import { updateCellTitle, getPropClass } from '../../ui/src/dom'
7
7
  import { isEnableConf, getDefaultConfig, hasEnableConf } from '../../ui/src/utils'
@@ -1,6 +1,6 @@
1
1
  import { h, VNode } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { getFuncText, isEnableConf, formatText, eqEmptyValue } from '../../ui/src/utils'
5
5
  import { updateCellTitle } from '../../ui/src/dom'
6
6
  import { createColumn, getRowid } from './util'
@@ -1,5 +1,5 @@
1
1
  import XEUtils from 'xe-utils'
2
- import { VxeUI } from '../../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import { toFilters } from './util'
4
4
  import { isEnableConf, getFuncText } from '../../ui/src/utils'
5
5
  import { isPx } from '../../ui/src/dom'
@@ -1,7 +1,7 @@
1
1
  import { h, ref, Ref, PropType, inject, nextTick, onMounted, onUnmounted } from 'vue'
2
2
  import { defineVxeComponent } from '../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
- import { VxeUI } from '../../ui'
4
+ import { VxeUI } from '@vxe-ui/core'
5
5
  import { updateCellTitle, getPropClass } from '../../ui/src/dom'
6
6
  import { getCalcHeight } from './util'
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { h, ref, Ref, PropType, inject, nextTick, watch, onMounted, onUnmounted } from 'vue'
2
2
  import { defineVxeComponent } from '../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
- import { VxeUI } from '../../ui'
4
+ import { VxeUI } from '@vxe-ui/core'
5
5
  import { getDefaultConfig, hasEnableConf, isEnableConf } from '../../ui/src/utils'
6
6
  import { getCalcHeight, convertHeaderColumnToRows, convertHeaderToGridRows } from './util'
7
7
  import { getSlotVNs } from '../../ui/src/vn'
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue'
2
- import { VxeUI } from '../../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import { getDefaultConfig } from '../../ui/src/utils'
4
4
 
5
5
  import type { VxeTablePropTypes } from '../../../types'
@@ -1,9 +1,9 @@
1
1
  import { h, ComponentPublicInstance, reactive, ref, Ref, provide, inject, nextTick, Teleport, onActivated, onDeactivated, onBeforeUnmount, onUnmounted, watch, computed, onMounted } from 'vue'
2
2
  import { defineVxeComponent } from '../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
+ import { VxeUI } from '@vxe-ui/core'
4
5
  import { initTpImg, getTpImg, isPx, isScale, hasClass, addClass, removeClass, wheelScrollTopTo, wheelScrollLeftTo, getEventTargetNode, getPaddingTopBottomSize, setScrollTop, setScrollLeft, toCssUnit, hasControlKey, checkTargetElement, hasAxternalInputTarget } from '../../ui/src/dom'
5
6
  import { getLastZIndex, nextZIndex, hasChildrenList, getFuncText, isEnableConf, formatText, eqEmptyValue, hasEnableConf, getDefaultConfig } from '../../ui/src/utils'
6
- import { VxeUI } from '../../ui'
7
7
  import { createReactData, createInternalData, getRowUniqueId, createRowId, clearTableAllStatus, getColumnList, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, getColReMaxWidth, createHandleUpdateRowId, createHandleGetRowId, getCalcHeight, getCellRestHeight, getLastChildColumn, getRowMaxHeight, handleCustomStoreConfig, encodeRowid } from './util'
8
8
  import { getSlotVNs } from '../../ui/src/vn'
9
9
  import { moveRowAnimateToTb, clearRowAnimate, moveColAnimateToLr, clearColAnimate } from '../../ui/src/anime'
@@ -1,5 +1,5 @@
1
1
  import { App } from 'vue'
2
- import { VxeUI } from '../ui'
2
+ import { VxeUI } from '@vxe-ui/core'
3
3
  import VxeToolbarComponent from './src/toolbar'
4
4
 
5
5
  export const VxeToolbar = Object.assign({}, VxeToolbarComponent, {
@@ -1,7 +1,7 @@
1
1
  import { h, ref, computed, inject, createCommentVNode, VNode, reactive, nextTick, PropType, onBeforeUnmount } from 'vue'
2
2
  import { defineVxeComponent } from '../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
- import { VxeUI } from '../../ui'
4
+ import { VxeUI } from '@vxe-ui/core'
5
5
  import { getSlotVNs } from '../../ui/src/vn'
6
6
  import { createComponentLog } from '../../ui/src/log'
7
7
 
@@ -517,5 +517,4 @@ export const modal = {
517
517
  }
518
518
  }
519
519
 
520
- export * from '@vxe-ui/core'
521
520
  export default VxeUI
@@ -1,4 +1,3 @@
1
1
  import VxeUI from '../ui'
2
2
 
3
- export * from '../ui'
4
3
  export default VxeUI
@@ -1,4 +1,3 @@
1
1
  import VxeUI from '../ui'
2
2
 
3
- export * from '../ui'
4
3
  export default VxeUI