vxe-table 4.23.7 → 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 (117) 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/table/index.js +1 -1
  12. package/es/table/module/custom/hook.js +1 -1
  13. package/es/table/module/custom/panel.js +1 -1
  14. package/es/table/module/edit/hook.js +1 -1
  15. package/es/table/module/export/export-panel.js +1 -1
  16. package/es/table/module/export/hook.js +1 -1
  17. package/es/table/module/export/import-panel.js +1 -1
  18. package/es/table/module/filter/hook.js +1 -1
  19. package/es/table/module/filter/panel.js +1 -1
  20. package/es/table/module/keyboard/hook.js +1 -1
  21. package/es/table/module/menu/hook.js +1 -1
  22. package/es/table/module/menu/panel.js +1 -1
  23. package/es/table/module/validator/hook.js +1 -1
  24. package/es/table/render/index.js +1 -1
  25. package/es/table/src/body.js +1 -1
  26. package/es/table/src/cell.js +1 -1
  27. package/es/table/src/columnInfo.js +1 -1
  28. package/es/table/src/footer.js +1 -1
  29. package/es/table/src/header.js +1 -1
  30. package/es/table/src/props.js +1 -1
  31. package/es/table/src/table.js +1 -1
  32. package/es/toolbar/index.js +1 -1
  33. package/es/toolbar/src/toolbar.js +1 -1
  34. package/es/ui/index.d.ts +0 -1
  35. package/es/ui/index.js +1 -2
  36. package/es/ui/src/log.js +1 -1
  37. package/es/v-x-e-table/index.d.ts +0 -1
  38. package/es/v-x-e-table/index.js +0 -1
  39. package/lib/colgroup/index.js +5 -5
  40. package/lib/column/index.js +5 -5
  41. package/lib/components.js +7 -6
  42. package/lib/grid/index.js +4 -4
  43. package/lib/grid/src/grid.js +22 -22
  44. package/lib/grid/src/props.js +2 -2
  45. package/lib/index.common.js +5 -0
  46. package/lib/index.js +5 -0
  47. package/lib/index.umd.js +176 -228
  48. package/lib/index.umd.min.js +3 -3
  49. package/lib/table/index.js +5 -5
  50. package/lib/table/module/custom/hook.js +2 -2
  51. package/lib/table/module/custom/panel.js +13 -13
  52. package/lib/table/module/edit/hook.js +2 -2
  53. package/lib/table/module/export/export-panel.js +7 -7
  54. package/lib/table/module/export/hook.js +24 -24
  55. package/lib/table/module/export/import-panel.js +5 -5
  56. package/lib/table/module/filter/hook.js +2 -2
  57. package/lib/table/module/filter/panel.js +3 -3
  58. package/lib/table/module/keyboard/hook.js +2 -2
  59. package/lib/table/module/menu/hook.js +2 -2
  60. package/lib/table/module/menu/panel.js +2 -2
  61. package/lib/table/module/validator/hook.js +2 -2
  62. package/lib/table/render/index.js +2 -2
  63. package/lib/table/src/body.js +2 -2
  64. package/lib/table/src/cell.js +2 -2
  65. package/lib/table/src/columnInfo.js +2 -2
  66. package/lib/table/src/footer.js +2 -2
  67. package/lib/table/src/header.js +2 -2
  68. package/lib/table/src/props.js +2 -2
  69. package/lib/table/src/table.js +17 -17
  70. package/lib/toolbar/index.js +4 -4
  71. package/lib/toolbar/src/toolbar.js +3 -3
  72. package/lib/ui/index.js +1 -3
  73. package/lib/ui/src/log.js +1 -1
  74. package/lib/v-x-e-table/index.js +0 -2
  75. package/package.json +8 -3
  76. package/packages/colgroup/index.ts +1 -1
  77. package/packages/column/index.ts +1 -1
  78. package/packages/components.ts +3 -2
  79. package/packages/grid/index.ts +1 -1
  80. package/packages/grid/src/grid.ts +1 -1
  81. package/packages/grid/src/props.ts +1 -1
  82. package/packages/index.ts +7 -0
  83. package/packages/table/index.ts +1 -1
  84. package/packages/table/module/custom/hook.ts +1 -1
  85. package/packages/table/module/custom/panel.ts +1 -1
  86. package/packages/table/module/edit/hook.ts +1 -1
  87. package/packages/table/module/export/export-panel.ts +1 -1
  88. package/packages/table/module/export/hook.ts +1 -1
  89. package/packages/table/module/export/import-panel.ts +1 -1
  90. package/packages/table/module/filter/hook.ts +1 -1
  91. package/packages/table/module/filter/panel.ts +1 -1
  92. package/packages/table/module/keyboard/hook.ts +1 -1
  93. package/packages/table/module/menu/hook.ts +1 -1
  94. package/packages/table/module/menu/panel.ts +1 -1
  95. package/packages/table/module/validator/hook.ts +1 -1
  96. package/packages/table/render/index.ts +1 -1
  97. package/packages/table/src/body.ts +1 -1
  98. package/packages/table/src/cell.ts +1 -1
  99. package/packages/table/src/columnInfo.ts +1 -1
  100. package/packages/table/src/footer.ts +1 -1
  101. package/packages/table/src/header.ts +1 -1
  102. package/packages/table/src/props.ts +1 -1
  103. package/packages/table/src/table.ts +1 -1
  104. package/packages/toolbar/index.ts +1 -1
  105. package/packages/toolbar/src/toolbar.ts +1 -1
  106. package/packages/ui/index.ts +0 -1
  107. package/packages/v-x-e-table/index.d.ts +0 -1
  108. package/packages/v-x-e-table/index.ts +0 -1
  109. /package/dist/{iconfont.1792979665397.ttf → iconfont.1793007753347.ttf} +0 -0
  110. /package/dist/{iconfont.1792979665397.woff → iconfont.1793007753347.woff} +0 -0
  111. /package/dist/{iconfont.1792979665397.woff2 → iconfont.1793007753347.woff2} +0 -0
  112. /package/es/{iconfont.1792979665397.ttf → iconfont.1793007753347.ttf} +0 -0
  113. /package/es/{iconfont.1792979665397.woff → iconfont.1793007753347.woff} +0 -0
  114. /package/es/{iconfont.1792979665397.woff2 → iconfont.1793007753347.woff2} +0 -0
  115. /package/lib/{iconfont.1792979665397.ttf → iconfont.1793007753347.ttf} +0 -0
  116. /package/lib/{iconfont.1792979665397.woff → iconfont.1793007753347.woff} +0 -0
  117. /package/lib/{iconfont.1792979665397.woff2 → iconfont.1793007753347.woff2} +0 -0
@@ -1,4 +1,4 @@
1
- import { VxeUI } from "../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import VxeColgroupComponent from "../table/src/group";
3
3
  const VxeColgroup = Object.assign({}, VxeColgroupComponent, {
4
4
  install(app) {
@@ -1,4 +1,4 @@
1
- import { VxeUI } from "../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import VxeColumnComponent from "../table/src/column";
3
3
  const VxeColumn = Object.assign({}, VxeColumnComponent, {
4
4
  install(app) {
@@ -1,7 +1,9 @@
1
1
  import { App } from 'vue';
2
+ import { VxeUI } from '@vxe-ui/core';
3
+ import './ui';
2
4
  import type { VxeGlobalConfig } from '../types';
3
5
  export declare function install(app: App, options?: VxeGlobalConfig): void;
4
- export * from './ui';
6
+ export { VxeUI };
5
7
  export * from './table';
6
8
  export * from './column';
7
9
  export * from './colgroup';
package/es/components.js CHANGED
@@ -1,4 +1,5 @@
1
- import { VxeUI } from "./ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
+ import "./ui";
2
3
  import { VxeColumn } from "./column";
3
4
  import { VxeColgroup } from "./colgroup";
4
5
  import { VxeGrid } from "./grid";
@@ -22,12 +23,12 @@ if (!VxeUI.hasLanguage("zh-CN")) {
22
23
  VxeUI.setLanguage(defaultLanguage);
23
24
  }
24
25
  VxeUI.setTheme("light");
25
- export * from "./ui";
26
26
  export * from "./table";
27
27
  export * from "./column";
28
28
  export * from "./colgroup";
29
29
  export * from "./grid";
30
30
  export * from "./toolbar";
31
31
  export {
32
+ VxeUI,
32
33
  install
33
34
  };
package/es/grid/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { VxeUI } from "../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import VxeGridComponent from "./src/grid";
3
3
  const VxeGrid = Object.assign({}, VxeGridComponent, {
4
4
  install(app) {
@@ -1,9 +1,9 @@
1
1
  import { h, ref, computed, provide, reactive, onBeforeUnmount, watch, nextTick, 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,4 +1,4 @@
1
- import { VxeUI } from "../../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import { tableProps } from "../../table/src/props";
3
3
  const { getConfig } = VxeUI;
4
4
  const gridProps = {
package/es/index.esm.js CHANGED
@@ -1,4 +1,9 @@
1
1
  import * as VxeUITableExport from "./components";
2
+ if (typeof window !== "undefined" && window.Vue) {
3
+ if (!window.VXETable) {
4
+ window.VXETable = VxeUITableExport;
5
+ }
6
+ }
2
7
  export * from "./components";
3
8
  var index_default = VxeUITableExport;
4
9
  export {
package/es/index.js CHANGED
@@ -1,4 +1,9 @@
1
1
  import * as VxeUITableExport from "./components";
2
+ if (typeof window !== "undefined" && window.Vue) {
3
+ if (!window.VXETable) {
4
+ window.VXETable = VxeUITableExport;
5
+ }
6
+ }
2
7
  export * from "./components";
3
8
  var index_default = VxeUITableExport;
4
9
  export {
package/es/table/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { VxeUI } from "../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import VxeTableComponent from "./src/table";
3
3
  import { useCellView } from "./src/use";
4
4
  const VxeTable = Object.assign({}, VxeTableComponent, {
@@ -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, provide, 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, computed, reactive, inject, nextTick } 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, computed, inject, reactive, nextTick } 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 } 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
  const { menus, hooks, globalEvents, GLOBAL_EVENT_KEYS } = VxeUI;
@@ -1,7 +1,7 @@
1
1
  import { h, Teleport, inject, 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
  const { getIcon, getI18n, renderEmptyElement } = VxeUI;
@@ -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, resolveComponent } 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, 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 } 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, 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
  import { getDefaultConfig } from "../../ui/src/utils";
@@ -1,7 +1,7 @@
1
1
  import { h, ref, 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,4 +1,4 @@
1
- import { VxeUI } from "../../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import { getDefaultConfig } from "../../ui/src/utils";
3
3
  const { getConfig } = VxeUI;
4
4
  const tableProps = {
@@ -1,9 +1,9 @@
1
1
  import { h, reactive, 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,4 +1,4 @@
1
- import { VxeUI } from "../ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import VxeToolbarComponent from "./src/toolbar";
3
3
  const VxeToolbar = Object.assign({}, VxeToolbarComponent, {
4
4
  install(app) {
@@ -1,7 +1,7 @@
1
1
  import { h, ref, computed, inject, createCommentVNode, reactive, nextTick, 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
  const { warnLog, errLog } = createComponentLog("toolbar");
package/es/ui/index.d.ts CHANGED
@@ -82,5 +82,4 @@ export declare const modal: {
82
82
  */
83
83
  notification(content: any, title: any, options: any): Promise<import("vxe-pc-ui").ModalEventTypes>;
84
84
  };
85
- export * from '@vxe-ui/core';
86
85
  export default VxeUI;
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.7";
3
+ const version = "4.23.8";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
@@ -466,7 +466,6 @@ const modal = {
466
466
  return VxeUI.modal.notification(content, title, options);
467
467
  }
468
468
  };
469
- export * from "@vxe-ui/core";
470
469
  var ui_default = VxeUI;
471
470
  export {
472
471
  VXETable,
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.7"}`;
3
+ const tableVersion = `table v${"4.23.8"}`;
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}` : "";
@@ -1,3 +1,2 @@
1
1
  import VxeUI from '../ui';
2
- export * from '../ui';
3
2
  export default VxeUI;
@@ -1,5 +1,4 @@
1
1
  import VxeUI from "../ui";
2
- export * from "../ui";
3
2
  var v_x_e_table_default = VxeUI;
4
3
  export {
5
4
  v_x_e_table_default as default
@@ -33,7 +33,7 @@ __export(colgroup_exports, {
33
33
  default: () => colgroup_default
34
34
  });
35
35
  module.exports = __toCommonJS(colgroup_exports);
36
- var import_ui = require("../ui");
36
+ var import_core = require("@vxe-ui/core");
37
37
  var import_group = __toESM(require("../table/src/group"));
38
38
  const VxeColgroup = Object.assign({}, import_group.default, {
39
39
  install(app) {
@@ -41,10 +41,10 @@ const VxeColgroup = Object.assign({}, import_group.default, {
41
41
  app.component("VxeTableColgroup", import_group.default);
42
42
  }
43
43
  });
44
- if (import_ui.VxeUI.dynamicApp) {
45
- import_ui.VxeUI.dynamicApp.component(import_group.default.name, import_group.default);
46
- import_ui.VxeUI.dynamicApp.component("VxeTableColgroup", import_group.default);
44
+ if (import_core.VxeUI.dynamicApp) {
45
+ import_core.VxeUI.dynamicApp.component(import_group.default.name, import_group.default);
46
+ import_core.VxeUI.dynamicApp.component("VxeTableColgroup", import_group.default);
47
47
  }
48
- import_ui.VxeUI.component(import_group.default);
48
+ import_core.VxeUI.component(import_group.default);
49
49
  const Colgroup = VxeColgroup;
50
50
  var colgroup_default = VxeColgroup;
@@ -33,7 +33,7 @@ __export(column_exports, {
33
33
  default: () => column_default
34
34
  });
35
35
  module.exports = __toCommonJS(column_exports);
36
- var import_ui = require("../ui");
36
+ var import_core = require("@vxe-ui/core");
37
37
  var import_column = __toESM(require("../table/src/column"));
38
38
  const VxeColumn = Object.assign({}, import_column.default, {
39
39
  install(app) {
@@ -41,10 +41,10 @@ const VxeColumn = Object.assign({}, import_column.default, {
41
41
  app.component("VxeTableColumn", import_column.default);
42
42
  }
43
43
  });
44
- if (import_ui.VxeUI.dynamicApp) {
45
- import_ui.VxeUI.dynamicApp.component(import_column.default.name, import_column.default);
46
- import_ui.VxeUI.dynamicApp.component("VxeTableColumn", import_column.default);
44
+ if (import_core.VxeUI.dynamicApp) {
45
+ import_core.VxeUI.dynamicApp.component(import_column.default.name, import_column.default);
46
+ import_core.VxeUI.dynamicApp.component("VxeTableColumn", import_column.default);
47
47
  }
48
- import_ui.VxeUI.component(import_column.default);
48
+ import_core.VxeUI.component(import_column.default);
49
49
  const Column = VxeColumn;
50
50
  var column_default = VxeColumn;
package/lib/components.js CHANGED
@@ -29,9 +29,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
  var components_exports = {};
31
31
  __export(components_exports, {
32
+ VxeUI: () => import_core.VxeUI,
32
33
  install: () => install
33
34
  });
34
35
  module.exports = __toCommonJS(components_exports);
36
+ var import_core = require("@vxe-ui/core");
35
37
  var import_ui = require("./ui");
36
38
  var import_column = require("./column");
37
39
  var import_colgroup = require("./colgroup");
@@ -39,7 +41,6 @@ var import_grid = require("./grid");
39
41
  var import_table = require("./table");
40
42
  var import_toolbar = require("./toolbar");
41
43
  var import_zh_CN = __toESM(require("./locale/lang/zh-CN"));
42
- __reExport(components_exports, require("./ui"), module.exports);
43
44
  __reExport(components_exports, require("./table"), module.exports);
44
45
  __reExport(components_exports, require("./column"), module.exports);
45
46
  __reExport(components_exports, require("./colgroup"), module.exports);
@@ -53,12 +54,12 @@ const components = [
53
54
  import_toolbar.VxeToolbar
54
55
  ];
55
56
  function install(app, options) {
56
- import_ui.VxeUI.setConfig(options);
57
+ import_core.VxeUI.setConfig(options);
57
58
  components.forEach((component) => component.install(app));
58
59
  }
59
- if (!import_ui.VxeUI.hasLanguage("zh-CN")) {
60
+ if (!import_core.VxeUI.hasLanguage("zh-CN")) {
60
61
  const defaultLanguage = "zh-CN";
61
- import_ui.VxeUI.setI18n(defaultLanguage, import_zh_CN.default);
62
- import_ui.VxeUI.setLanguage(defaultLanguage);
62
+ import_core.VxeUI.setI18n(defaultLanguage, import_zh_CN.default);
63
+ import_core.VxeUI.setLanguage(defaultLanguage);
63
64
  }
64
- import_ui.VxeUI.setTheme("light");
65
+ import_core.VxeUI.setTheme("light");
package/lib/grid/index.js CHANGED
@@ -33,16 +33,16 @@ __export(grid_exports, {
33
33
  default: () => grid_default
34
34
  });
35
35
  module.exports = __toCommonJS(grid_exports);
36
- var import_ui = require("../ui");
36
+ var import_core = require("@vxe-ui/core");
37
37
  var import_grid = __toESM(require("./src/grid"));
38
38
  const VxeGrid = Object.assign({}, import_grid.default, {
39
39
  install(app) {
40
40
  app.component(import_grid.default.name, import_grid.default);
41
41
  }
42
42
  });
43
- if (import_ui.VxeUI.dynamicApp) {
44
- import_ui.VxeUI.dynamicApp.component(import_grid.default.name, import_grid.default);
43
+ if (import_core.VxeUI.dynamicApp) {
44
+ import_core.VxeUI.dynamicApp.component(import_grid.default.name, import_grid.default);
45
45
  }
46
- import_ui.VxeUI.component(import_grid.default);
46
+ import_core.VxeUI.component(import_grid.default);
47
47
  const Grid = VxeGrid;
48
48
  var grid_default = VxeGrid;
@@ -32,11 +32,11 @@ __export(grid_exports, {
32
32
  });
33
33
  module.exports = __toCommonJS(grid_exports);
34
34
  var import_vue = require("vue");
35
+ var import_core = require("@vxe-ui/core");
35
36
  var import_comp = require("../../ui/src/comp");
36
37
  var import_xe_utils = __toESM(require("xe-utils"));
37
38
  var import_utils = require("../../ui/src/utils");
38
39
  var import_dom = require("../../ui/src/dom");
39
- var import_ui = require("../../ui");
40
40
  var import_props = require("./props");
41
41
  var import_emits = require("./emits");
42
42
  var import_vn = require("../../ui/src/vn");
@@ -46,7 +46,7 @@ var import_props2 = require("../../table/src/props");
46
46
  var import_table = __toESM(require("../../table"));
47
47
  var import_toolbar = __toESM(require("../../toolbar"));
48
48
  const { warnLog, errLog } = (0, import_log.createComponentLog)("grid");
49
- const { getConfig, getI18n, commands, hooks, useFns, createEvent, globalEvents, GLOBAL_EVENT_KEYS, renderEmptyElement } = import_ui.VxeUI;
49
+ const { getConfig, getI18n, commands, hooks, useFns, createEvent, globalEvents, GLOBAL_EVENT_KEYS, renderEmptyElement } = import_core.VxeUI;
50
50
  const tableComponentPropKeys = Object.keys(import_props2.tableProps);
51
51
  const tableComponentMethodKeys = ["clearAll", "syncData", "updateData", "loadData", "reloadData", "reloadRow", "loadColumn", "reloadColumn", "getRowNode", "getColumnNode", "getRowIndex", "getVTRowIndex", "getVMRowIndex", "getColumnIndex", "getVTColumnIndex", "getVMColumnIndex", "setRow", "createData", "createRow", "revertData", "clearData", "isRemoveByRow", "isInsertByRow", "isUpdateByRow", "getColumns", "getColumnById", "getColumnByField", "getTableColumn", "getFullColumns", "getData", "getCheckboxRecords", "getParentRow", "getTreeRowChildren", "getTreeRowLevel", "getTreeParentRow", "getRowSeq", "getRowById", "getRowid", "getTableData", "getFullData", "setColumnFixed", "clearColumnFixed", "setColumnWidth", "getColumnWidth", "recalcRowHeight", "setRowHeightConf", "getRowHeightConf", "setRowHeight", "getRowHeight", "hideColumn", "showColumn", "resetColumn", "refreshColumn", "refreshScroll", "recalculate", "closeTooltip", "isAllCheckboxChecked", "isAllCheckboxIndeterminate", "getCheckboxIndeterminateRecords", "setCheckboxRow", "setCheckboxRowKey", "isCheckedByCheckboxRow", "isCheckedByCheckboxRowKey", "isIndeterminateByCheckboxRow", "isIndeterminateByCheckboxRowKey", "toggleCheckboxRow", "setAllCheckboxRow", "getRadioReserveRecord", "clearRadioReserve", "getCheckboxReserveRecords", "clearCheckboxReserve", "toggleAllCheckboxRow", "clearCheckboxRow", "setCurrentRow", "isCheckedByRadioRow", "isCheckedByRadioRowKey", "setRadioRow", "setRadioRowKey", "clearCurrentRow", "clearRadioRow", "getCurrentRecord", "getRadioRecord", "getCurrentColumn", "setCurrentColumn", "clearCurrentColumn", "setPendingRow", "togglePendingRow", "hasPendingByRow", "isPendingByRow", "getPendingRecords", "clearPendingRow", "setFilterByEvent", "sort", "setSort", "setSortByEvent", "clearSort", "clearSortByEvent", "isSort", "getSortColumns", "closeFilter", "isFilter", "clearFilterByEvent", "isActiveFilterByColumn", "isRowExpandLoaded", "clearRowExpandLoaded", "reloadRowExpand", "reloadRowExpand", "toggleRowExpand", "setAllRowExpand", "setRowExpand", "isExpandByRow", "isRowExpandByRow", "clearRowExpand", "clearRowExpandReserve", "getRowExpandRecords", "getTreeExpandRecords", "isTreeExpandLoaded", "clearTreeExpandLoaded", "reloadTreeExpand", "reloadTreeChilds", "toggleTreeExpand", "setAllTreeExpand", "setTreeExpand", "isTreeExpandByRow", "clearTreeExpand", "clearTreeExpandReserve", "getScroll", "getScrollData", "scrollTo", "scrollToStartRow", "scrollToEndRow", "scrollToRow", "scrollToStartColumn", "scrollToEndColumn", "scrollToColumn", "clearScroll", "updateFooter", "updateStatus", "setMergeCells", "removeInsertRow", "removeMergeCells", "getMergeCells", "setMergeHeaderCells", "removeMergeHeaderCells", "getMergeHeaderCells", "clearMergeHeaderCells", "clearMergeCells", "setMergeFooterItems", "removeMergeFooterItems", "getMergeFooterItems", "clearMergeFooterItems", "setCustomStoreData", "getCustomStoreData", "setRowGroupExpand", "setRowGroupExpandByField", "setAllRowGroupExpand", "clearRowGroupExpand", "isRowGroupExpandByRow", "isRowGroupRecord", "isAggregateRecord", "isAggregateExpandByRow", "getAggregateContentByRow", "getAggregateRowChildren", "setRowGroups", "clearRowGroups", "openTooltip", "moveColumnTo", "moveRowTo", "getCellLabel", "updateCellLabel", "clearFormatterCache", "getFooterCellLabel", "updateFooterCellLabel", "clearFooterFormatterCache", "getUpdateCells", "undo", "redo", "effectCellData", "getCellElement", "focus", "blur", "connect", "connectToolbar"];
52
52
  function createReactData() {
@@ -80,8 +80,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
80
80
  setup(props, context) {
81
81
  const { slots, emit } = context;
82
82
  const xID = import_xe_utils.default.uniqueId();
83
- const VxeUIFormComponent = import_ui.VxeUI.getComponent("VxeForm");
84
- const VxeUIPagerComponent = import_ui.VxeUI.getComponent("VxePager");
83
+ const VxeUIFormComponent = import_core.VxeUI.getComponent("VxeForm");
84
+ const VxeUIPagerComponent = import_core.VxeUI.getComponent("VxePager");
85
85
  const defaultLayouts = [["Form"], ["Toolbar", "Top", "Table", "Bottom", "Pager"]];
86
86
  const { computeSize } = useFns.useSize(props);
87
87
  const { computeIsVScrollbar } = useFns.useVScrollbar(props);
@@ -330,8 +330,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
330
330
  $xeGrid.clearCheckboxRow();
331
331
  } else {
332
332
  if (isActiveMsg) {
333
- if (import_ui.VxeUI.modal) {
334
- import_ui.VxeUI.modal.message({ id: code, content: getI18n("vxe.grid.selectOneRecord"), status: "warning" });
333
+ if (import_core.VxeUI.modal) {
334
+ import_core.VxeUI.modal.message({ id: code, content: getI18n("vxe.grid.selectOneRecord"), status: "warning" });
335
335
  }
336
336
  }
337
337
  }
@@ -352,16 +352,16 @@ var grid_default = (0, import_comp.defineVxeComponent)({
352
352
  const selectRecords = $xeGrid.getCheckboxRecords();
353
353
  if (isActiveMsg) {
354
354
  if (selectRecords.length) {
355
- if (import_ui.VxeUI.modal) {
356
- return import_ui.VxeUI.modal.confirm({ id: `cfm_${code}`, content: getI18n(alertKey), escClosable: true }).then((type) => {
355
+ if (import_core.VxeUI.modal) {
356
+ return import_core.VxeUI.modal.confirm({ id: `cfm_${code}`, content: getI18n(alertKey), escClosable: true }).then((type) => {
357
357
  if (type === "confirm") {
358
358
  return callback();
359
359
  }
360
360
  });
361
361
  }
362
362
  } else {
363
- if (import_ui.VxeUI.modal) {
364
- import_ui.VxeUI.modal.message({ id: `msg_${code}`, content: getI18n("vxe.grid.selectOneRecord"), status: "warning" });
363
+ if (import_core.VxeUI.modal) {
364
+ import_core.VxeUI.modal.message({ id: `msg_${code}`, content: getI18n("vxe.grid.selectOneRecord"), status: "warning" });
365
365
  }
366
366
  }
367
367
  } else {
@@ -1233,8 +1233,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
1233
1233
  } else {
1234
1234
  $xeTable.setPendingRow(removeRecords, false);
1235
1235
  if (isRespMsg) {
1236
- if (import_ui.VxeUI.modal) {
1237
- import_ui.VxeUI.modal.message({ content: getRespMsg(rest, "vxe.grid.delSuccess"), status: "success" });
1236
+ if (import_core.VxeUI.modal) {
1237
+ import_core.VxeUI.modal.message({ content: getRespMsg(rest, "vxe.grid.delSuccess"), status: "success" });
1238
1238
  }
1239
1239
  }
1240
1240
  if (oldAfterDelete) {
@@ -1256,8 +1256,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
1256
1256
  adMethod({ ...commitParams, response: rest, status: "error" }, ...args);
1257
1257
  } else {
1258
1258
  if (isRespMsg) {
1259
- if (import_ui.VxeUI.modal) {
1260
- import_ui.VxeUI.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
1259
+ if (import_core.VxeUI.modal) {
1260
+ import_core.VxeUI.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
1261
1261
  }
1262
1262
  }
1263
1263
  }
@@ -1278,8 +1278,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
1278
1278
  });
1279
1279
  } else {
1280
1280
  if (isActiveMsg) {
1281
- if (import_ui.VxeUI.modal) {
1282
- import_ui.VxeUI.modal.message({ id: code, content: getI18n("vxe.grid.selectOneRecord"), status: "warning" });
1281
+ if (import_core.VxeUI.modal) {
1282
+ import_core.VxeUI.modal.message({ id: code, content: getI18n("vxe.grid.selectOneRecord"), status: "warning" });
1283
1283
  }
1284
1284
  }
1285
1285
  }
@@ -1331,8 +1331,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
1331
1331
  } else {
1332
1332
  $xeTable.clearPendingRow();
1333
1333
  if (isRespMsg) {
1334
- if (import_ui.VxeUI.modal) {
1335
- import_ui.VxeUI.modal.message({ content: getRespMsg(rest, "vxe.grid.saveSuccess"), status: "success" });
1334
+ if (import_core.VxeUI.modal) {
1335
+ import_core.VxeUI.modal.message({ content: getRespMsg(rest, "vxe.grid.saveSuccess"), status: "success" });
1336
1336
  }
1337
1337
  }
1338
1338
  if (oldAfterSave) {
@@ -1354,8 +1354,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
1354
1354
  aSaveMethod({ ...commitParams, response: rest, status: "error" }, ...args);
1355
1355
  } else {
1356
1356
  if (isRespMsg) {
1357
- if (import_ui.VxeUI.modal) {
1358
- import_ui.VxeUI.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
1357
+ if (import_core.VxeUI.modal) {
1358
+ import_core.VxeUI.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
1359
1359
  }
1360
1360
  }
1361
1361
  }
@@ -1375,8 +1375,8 @@ var grid_default = (0, import_comp.defineVxeComponent)({
1375
1375
  return handleSave();
1376
1376
  } else {
1377
1377
  if (isActiveMsg) {
1378
- if (import_ui.VxeUI.modal) {
1379
- import_ui.VxeUI.modal.message({ id: code, content: getI18n("vxe.grid.dataUnchanged"), status: "info" });
1378
+ if (import_core.VxeUI.modal) {
1379
+ import_core.VxeUI.modal.message({ id: code, content: getI18n("vxe.grid.dataUnchanged"), status: "info" });
1380
1380
  }
1381
1381
  }
1382
1382
  }
@@ -21,9 +21,9 @@ __export(props_exports, {
21
21
  gridProps: () => gridProps
22
22
  });
23
23
  module.exports = __toCommonJS(props_exports);
24
- var import_ui = require("../../ui");
24
+ var import_core = require("@vxe-ui/core");
25
25
  var import_props = require("../../table/src/props");
26
- const { getConfig } = import_ui.VxeUI;
26
+ const { getConfig } = import_core.VxeUI;
27
27
  const gridProps = {
28
28
  ...import_props.tableProps,
29
29
  layouts: Array,