vxe-table 4.7.13 → 4.7.14-beta.0

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/lib/index.umd.js CHANGED
@@ -1,13 +1,13 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("vue"), require("vxe-pc-ui"), require("xe-utils"));
3
+ module.exports = factory(require("vue"), require("@vxe-ui/core"), require("xe-utils"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define([, "vxe-pc-ui", "xe-utils"], factory);
5
+ define([, "@vxe-ui/core", "xe-utils"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["VXETable"] = factory(require("vue"), require("vxe-pc-ui"), require("xe-utils"));
7
+ exports["VXETable"] = factory(require("vue"), require("@vxe-ui/core"), require("xe-utils"));
8
8
  else
9
9
  root["VXETable"] = factory(root["Vue"], root["VxeUI"], root["XEUtils"]);
10
- })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__9274__, __WEBPACK_EXTERNAL_MODULE__2847__, __WEBPACK_EXTERNAL_MODULE__8871__) {
10
+ })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__9274__, __WEBPACK_EXTERNAL_MODULE__4345__, __WEBPACK_EXTERNAL_MODULE__8871__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
@@ -19,10 +19,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9274__;
19
19
 
20
20
  /***/ }),
21
21
 
22
- /***/ 2847:
22
+ /***/ 4345:
23
23
  /***/ (function(module) {
24
24
 
25
- module.exports = __WEBPACK_EXTERNAL_MODULE__2847__;
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4345__;
26
26
 
27
27
  /***/ }),
28
28
 
@@ -1687,7 +1687,7 @@ __webpack_require__.d(__webpack_exports__, {
1687
1687
  VxeGrid: function() { return /* reexport */ VxeGrid; },
1688
1688
  VxeTable: function() { return /* reexport */ VxeTable; },
1689
1689
  VxeToolbar: function() { return /* reexport */ VxeToolbar; },
1690
- VxeUI: function() { return /* reexport */ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI; },
1690
+ VxeUI: function() { return /* reexport */ core_.VxeUI; },
1691
1691
  _t: function() { return /* reexport */ _t; },
1692
1692
  clipboard: function() { return /* reexport */ clipboard; },
1693
1693
  commands: function() { return /* reexport */ commands; },
@@ -1736,7 +1736,7 @@ __webpack_require__.d(components_namespaceObject, {
1736
1736
  VxeGrid: function() { return VxeGrid; },
1737
1737
  VxeTable: function() { return VxeTable; },
1738
1738
  VxeToolbar: function() { return VxeToolbar; },
1739
- VxeUI: function() { return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI; },
1739
+ VxeUI: function() { return core_.VxeUI; },
1740
1740
  _t: function() { return _t; },
1741
1741
  clipboard: function() { return clipboard; },
1742
1742
  commands: function() { return commands; },
@@ -1786,14 +1786,13 @@ if (typeof window !== 'undefined') {
1786
1786
  // Indicate to webpack that this file can be concatenated
1787
1787
  /* harmony default export */ var setPublicPath = (null);
1788
1788
 
1789
- // EXTERNAL MODULE: external {"root":"VxeUI","commonjs":"vxe-pc-ui","commonjs2":"vxe-pc-ui","amd":"vxe-pc-ui"}
1790
- var external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_ = __webpack_require__(2847);
1791
- var external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_default = /*#__PURE__*/__webpack_require__.n(external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_);
1789
+ // EXTERNAL MODULE: external {"root":"VxeUI","commonjs":"@vxe-ui/core","commonjs2":"@vxe-ui/core","amd":"@vxe-ui/core"}
1790
+ var core_ = __webpack_require__(4345);
1792
1791
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
1793
1792
 
1794
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.12";
1795
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.12";
1796
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig({
1793
+ core_.VxeUI.version = "4.7.14-beta.0";
1794
+ core_.VxeUI.tableVersion = "4.7.14-beta.0";
1795
+ core_.VxeUI.setConfig({
1797
1796
  emptyCell: ' ',
1798
1797
  table: {
1799
1798
  fit: true,
@@ -1989,7 +1988,7 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
1989
1988
  }
1990
1989
  });
1991
1990
  const iconPrefix = 'vxe-icon-';
1992
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setIcon({
1991
+ core_.VxeUI.setIcon({
1993
1992
  // table
1994
1993
  TABLE_SORT_ASC: iconPrefix + 'caret-up',
1995
1994
  TABLE_SORT_DESC: iconPrefix + 'caret-down',
@@ -2024,54 +2023,54 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
2024
2023
  TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + 'fixed-right',
2025
2024
  TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + 'fixed-right-fill'
2026
2025
  });
2027
- const setTheme = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setTheme;
2028
- const getTheme = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getTheme;
2029
- const setConfig = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig;
2030
- const getConfig = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getConfig;
2031
- const setIcon = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setIcon;
2032
- const getIcon = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getIcon;
2033
- const setLanguage = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setLanguage;
2034
- const setI18n = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setI18n;
2035
- const getI18n = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getI18n;
2036
- const globalEvents = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.globalEvents;
2037
- const globalResize = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.globalResize;
2038
- const renderer = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.renderer;
2039
- const validators = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.validators;
2040
- const menus = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.menus;
2041
- const formats = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.formats;
2042
- const commands = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.commands;
2043
- const interceptor = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.interceptor;
2044
- const clipboard = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.clipboard;
2045
- const log = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.log;
2046
- const hooks = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.hooks;
2047
- const use = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.use;
2026
+ const setTheme = core_.VxeUI.setTheme;
2027
+ const getTheme = core_.VxeUI.getTheme;
2028
+ const setConfig = core_.VxeUI.setConfig;
2029
+ const getConfig = core_.VxeUI.getConfig;
2030
+ const setIcon = core_.VxeUI.setIcon;
2031
+ const getIcon = core_.VxeUI.getIcon;
2032
+ const setLanguage = core_.VxeUI.setLanguage;
2033
+ const setI18n = core_.VxeUI.setI18n;
2034
+ const getI18n = core_.VxeUI.getI18n;
2035
+ const globalEvents = core_.VxeUI.globalEvents;
2036
+ const globalResize = core_.VxeUI.globalResize;
2037
+ const renderer = core_.VxeUI.renderer;
2038
+ const validators = core_.VxeUI.validators;
2039
+ const menus = core_.VxeUI.menus;
2040
+ const formats = core_.VxeUI.formats;
2041
+ const commands = core_.VxeUI.commands;
2042
+ const interceptor = core_.VxeUI.interceptor;
2043
+ const clipboard = core_.VxeUI.clipboard;
2044
+ const log = core_.VxeUI.log;
2045
+ const hooks = core_.VxeUI.hooks;
2046
+ const use = core_.VxeUI.use;
2048
2047
  /**
2049
2048
  * 已废弃
2050
2049
  * @deprecated
2051
2050
  */
2052
- const setup = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setup;
2051
+ const setup = core_.VxeUI.setup;
2053
2052
  /**
2054
2053
  * 已废弃
2055
2054
  * @deprecated
2056
2055
  */
2057
- const config = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.config;
2056
+ const config = core_.VxeUI.config;
2058
2057
  /**
2059
2058
  * 已废弃
2060
2059
  * @deprecated
2061
2060
  */
2062
- const t = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.t;
2061
+ const t = core_.VxeUI.t;
2063
2062
  /**
2064
2063
  * 已废弃
2065
2064
  * @deprecated
2066
2065
  */
2067
- const _t = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI._t;
2066
+ const _t = core_.VxeUI._t;
2068
2067
  /**
2069
2068
  * 已废弃,兼容老版本
2070
2069
  * @deprecated
2071
2070
  */
2072
- const VXETable = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2073
- const saveFile = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile;
2074
- const readFile = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile;
2071
+ const VXETable = core_.VxeUI;
2072
+ const saveFile = core_.VxeUI.readFile;
2073
+ const readFile = core_.VxeUI.readFile;
2075
2074
 
2076
2075
  /* harmony default export */ var ui = ((/* unused pure expression or super */ null && (VxeUI)));
2077
2076
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
@@ -2222,13 +2221,13 @@ function hasChildrenList(item) {
2222
2221
  }
2223
2222
  function getFuncText(content) {
2224
2223
  if (content) {
2225
- const translate = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getConfig().translate;
2224
+ const translate = core_.VxeUI.getConfig().translate;
2226
2225
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(translate ? translate('' + content) : content);
2227
2226
  }
2228
2227
  return '';
2229
2228
  }
2230
2229
  function formatText(value, placeholder) {
2231
- return '' + (isEmptyValue(value) ? placeholder ? external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getConfig().emptyCell : '' : value);
2230
+ return '' + (isEmptyValue(value) ? placeholder ? core_.VxeUI.getConfig().emptyCell : '' : value);
2232
2231
  }
2233
2232
  /**
2234
2233
  * 判断值为:'' | null | undefined 时都属于空值
@@ -2240,8 +2239,8 @@ function eqEmptyValue(cellValue) {
2240
2239
 
2241
2240
  const {
2242
2241
  log: log_log
2243
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2244
- const version = `table v${"4.7.12"}`;
2242
+ } = core_.VxeUI;
2243
+ const version = `table v${"4.7.14-beta.0"}`;
2245
2244
  const warnLog = log_log.create('warn', version);
2246
2245
  const errLog = log_log.create('error', version);
2247
2246
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -2253,7 +2252,7 @@ const errLog = log_log.create('error', version);
2253
2252
  const {
2254
2253
  getI18n: columnInfo_getI18n,
2255
2254
  formats: columnInfo_formats
2256
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2255
+ } = core_.VxeUI;
2257
2256
  class ColumnInfo {
2258
2257
  /* eslint-disable @typescript-eslint/no-use-before-define */
2259
2258
  constructor($xeTable, _vm, {
@@ -3091,7 +3090,7 @@ const {
3091
3090
  getI18n: cell_getI18n,
3092
3091
  getIcon: cell_getIcon,
3093
3092
  renderer: cell_renderer
3094
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
3093
+ } = core_.VxeUI;
3095
3094
  function renderTitlePrefixIcon(params) {
3096
3095
  const {
3097
3096
  $table,
@@ -4303,10 +4302,10 @@ const VxeColumn = Object.assign({}, column, {
4303
4302
  app.component('VxeTableColumn', column);
4304
4303
  }
4305
4304
  });
4306
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
4307
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(column.name, column);
4305
+ if (core_.VxeUI.dynamicApp) {
4306
+ core_.VxeUI.dynamicApp.component(column.name, column);
4308
4307
  // 兼容旧用法
4309
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component('VxeTableColumn', column);
4308
+ core_.VxeUI.dynamicApp.component('VxeTableColumn', column);
4310
4309
  }
4311
4310
  const Column = VxeColumn;
4312
4311
  /* harmony default export */ var packages_column = ((/* unused pure expression or super */ null && (VxeColumn)));
@@ -4361,10 +4360,10 @@ const VxeColgroup = Object.assign({}, group, {
4361
4360
  app.component('VxeTableColgroup', group);
4362
4361
  }
4363
4362
  });
4364
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
4365
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(group.name, group);
4363
+ if (core_.VxeUI.dynamicApp) {
4364
+ core_.VxeUI.dynamicApp.component(group.name, group);
4366
4365
  // 兼容旧用法
4367
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component('VxeTableColgroup', group);
4366
+ core_.VxeUI.dynamicApp.component('VxeTableColgroup', group);
4368
4367
  }
4369
4368
  const Colgroup = VxeColgroup;
4370
4369
  /* harmony default export */ var colgroup = ((/* unused pure expression or super */ null && (VxeColgroup)));
@@ -4380,7 +4379,7 @@ const Colgroup = VxeColgroup;
4380
4379
  const {
4381
4380
  getI18n: body_getI18n,
4382
4381
  renderer: body_renderer
4383
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
4382
+ } = core_.VxeUI;
4384
4383
  const renderType = 'body';
4385
4384
  const lineOffsetSizes = {
4386
4385
  mini: 3,
@@ -6155,7 +6154,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
6155
6154
 
6156
6155
  const {
6157
6156
  getConfig: props_getConfig
6158
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
6157
+ } = core_.VxeUI;
6159
6158
  /* harmony default export */ var props = ({
6160
6159
  /** 基本属性 */
6161
6160
  id: String,
@@ -6406,7 +6405,7 @@ const {
6406
6405
  const {
6407
6406
  getI18n: panel_getI18n,
6408
6407
  getIcon: panel_getIcon
6409
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
6408
+ } = core_.VxeUI;
6410
6409
  /* harmony default export */ var panel = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
6411
6410
  name: 'TableCustomPanel',
6412
6411
  props: {
@@ -6534,8 +6533,8 @@ const {
6534
6533
  $xeTable.emitCustomEvent('reset', evnt);
6535
6534
  };
6536
6535
  const resetCustomEvent = evnt => {
6537
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
6538
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.confirm({
6536
+ if (core_.VxeUI.modal) {
6537
+ core_.VxeUI.modal.confirm({
6539
6538
  content: panel_getI18n('vxe.custom.cstmConfirmRestore'),
6540
6539
  className: 'vxe-table--ignore-clear',
6541
6540
  escClosable: true
@@ -7096,7 +7095,7 @@ const {
7096
7095
  getI18n: filter_panel_getI18n,
7097
7096
  getIcon: filter_panel_getIcon,
7098
7097
  renderer: panel_renderer
7099
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
7098
+ } = core_.VxeUI;
7100
7099
  /* harmony default export */ var filter_panel = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
7101
7100
  name: 'VxeTableFilterPanel',
7102
7101
  props: {
@@ -7332,7 +7331,7 @@ const {
7332
7331
  const {
7333
7332
  getI18n: import_panel_getI18n,
7334
7333
  getIcon: import_panel_getIcon
7335
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
7334
+ } = core_.VxeUI;
7336
7335
  /* harmony default export */ var import_panel = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
7337
7336
  name: 'VxeTableImportPanel',
7338
7337
  props: {
@@ -7503,7 +7502,7 @@ const {
7503
7502
  const {
7504
7503
  getI18n: export_panel_getI18n,
7505
7504
  getIcon: export_panel_getIcon
7506
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
7505
+ } = core_.VxeUI;
7507
7506
  /* harmony default export */ var export_panel = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
7508
7507
  name: 'VxeTableExportPanel',
7509
7508
  props: {
@@ -8007,7 +8006,7 @@ const {
8007
8006
  globalEvents: table_globalEvents,
8008
8007
  GLOBAL_EVENT_KEYS,
8009
8008
  useFns
8010
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
8009
+ } = core_.VxeUI;
8011
8010
  const isWebkit = browse['-webkit'] && !browse.edge;
8012
8011
  const customStorageKey = 'VXE_CUSTOM_STORE';
8013
8012
  /* harmony default export */ var table = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
@@ -11696,8 +11695,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11696
11695
  if (targetColumn && targetColumn.fixed !== fixed) {
11697
11696
  // 是否超过最大固定列数量
11698
11697
  if (!targetColumn.fixed && isMaxFixedColumn) {
11699
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
11700
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
11698
+ if (core_.VxeUI.modal) {
11699
+ core_.VxeUI.modal.message({
11701
11700
  status: 'error',
11702
11701
  content: table_getI18n('vxe.table.maxFixedCol', [maxFixedSize])
11703
11702
  });
@@ -16028,7 +16027,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16028
16027
  const {
16029
16028
  renderer: hook_renderer,
16030
16029
  hooks: hook_hooks
16031
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
16030
+ } = core_.VxeUI;
16032
16031
  const tableFilterMethodKeys = ['setFilter', 'clearFilter', 'getCheckedFilters'];
16033
16032
  hook_hooks.add('tableFilterModule', {
16034
16033
  setupTable($xeTable) {
@@ -16399,7 +16398,7 @@ const {
16399
16398
  hooks: menu_hook_hooks,
16400
16399
  globalEvents: hook_globalEvents,
16401
16400
  GLOBAL_EVENT_KEYS: hook_GLOBAL_EVENT_KEYS
16402
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
16401
+ } = core_.VxeUI;
16403
16402
  const tableMenuMethodKeys = ['closeMenu'];
16404
16403
  menu_hook_hooks.add('tableMenuModule', {
16405
16404
  setupTable($xeTable) {
@@ -16773,7 +16772,7 @@ const {
16773
16772
  renderer: edit_hook_renderer,
16774
16773
  hooks: edit_hook_hooks,
16775
16774
  getI18n: hook_getI18n
16776
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
16775
+ } = core_.VxeUI;
16777
16776
  const tableEditMethodKeys = ['insert', 'insertAt', 'insertNextAt', 'remove', 'removeCheckboxRow', 'removeRadioRow', 'removeCurrentRow', 'getRecordset', 'getInsertRecords', 'getRemoveRecords', 'getUpdateRecords', 'getEditRecord', 'getActiveRecord', 'getSelectedCell', 'clearEdit', 'clearActived', 'clearSelected', 'isEditByRow', 'isActiveByRow', 'setEditRow', 'setActiveRow', 'setEditCell', 'setActiveCell', 'setSelectCell'];
16778
16777
  edit_hook_hooks.add('tableEditModule', {
16779
16778
  setupTable($xeTable) {
@@ -17862,7 +17861,7 @@ const {
17862
17861
  getI18n: export_hook_getI18n,
17863
17862
  hooks: export_hook_hooks,
17864
17863
  renderer: export_hook_renderer
17865
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
17864
+ } = core_.VxeUI;
17866
17865
  let htmlCellElem;
17867
17866
  const csvBOM = '\ufeff';
17868
17867
  const enterSymbol = '\r\n';
@@ -18648,15 +18647,15 @@ export_hook_hooks.add('tableExportModule', {
18648
18647
  blob
18649
18648
  });
18650
18649
  }
18651
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.saveFile) {
18652
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.saveFile({
18650
+ if (core_.VxeUI.saveFile) {
18651
+ core_.VxeUI.saveFile({
18653
18652
  filename,
18654
18653
  type,
18655
18654
  content
18656
18655
  }).then(() => {
18657
18656
  if (opts.message !== false) {
18658
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
18659
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
18657
+ if (core_.VxeUI.modal) {
18658
+ core_.VxeUI.modal.message({
18660
18659
  content: export_hook_getI18n('vxe.table.expSuccess'),
18661
18660
  status: 'success'
18662
18661
  });
@@ -18763,8 +18762,8 @@ export_hook_hooks.add('tableExportModule', {
18763
18762
  loadRest = $xeTable.reloadData(data);
18764
18763
  }
18765
18764
  if (opts.message !== false) {
18766
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
18767
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
18765
+ if (core_.VxeUI.modal) {
18766
+ core_.VxeUI.modal.message({
18768
18767
  content: export_hook_getI18n('vxe.table.impSuccess', [rows.length]),
18769
18768
  status: 'success'
18770
18769
  });
@@ -18779,8 +18778,8 @@ export_hook_hooks.add('tableExportModule', {
18779
18778
  });
18780
18779
  });
18781
18780
  } else if (opts.message !== false) {
18782
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
18783
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
18781
+ if (core_.VxeUI.modal) {
18782
+ core_.VxeUI.modal.message({
18784
18783
  content: export_hook_getI18n('vxe.error.impFields'),
18785
18784
  status: 'error'
18786
18785
  });
@@ -18805,8 +18804,8 @@ export_hook_hooks.add('tableExportModule', {
18805
18804
  // 检查类型,如果为自定义导出,则不需要校验类型
18806
18805
  if (!importMethod && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(importOpts._typeMaps), type)) {
18807
18806
  if (opts.message !== false) {
18808
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
18809
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
18807
+ if (core_.VxeUI.modal) {
18808
+ core_.VxeUI.modal.message({
18810
18809
  content: export_hook_getI18n('vxe.error.notType', [type]),
18811
18810
  status: 'error'
18812
18811
  });
@@ -19249,7 +19248,7 @@ export_hook_hooks.add('tableExportModule', {
19249
19248
  $table: $xeTable
19250
19249
  });
19251
19250
  }
19252
- return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile(opts).catch(e => {
19251
+ return core_.VxeUI.readFile(opts).catch(e => {
19253
19252
  if (afterImportMethod) {
19254
19253
  afterImportMethod({
19255
19254
  status: false,
@@ -19266,10 +19265,10 @@ export_hook_hooks.add('tableExportModule', {
19266
19265
  });
19267
19266
  },
19268
19267
  saveFile(options) {
19269
- return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.saveFile(options);
19268
+ return core_.VxeUI.saveFile(options);
19270
19269
  },
19271
19270
  readFile(options) {
19272
- return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile(options);
19271
+ return core_.VxeUI.readFile(options);
19273
19272
  },
19274
19273
  print(options) {
19275
19274
  const printOpts = computePrintOpts.value;
@@ -19286,9 +19285,9 @@ export_hook_hooks.add('tableExportModule', {
19286
19285
  opts.sheetName = document.title;
19287
19286
  }
19288
19287
  return new Promise((resolve, reject) => {
19289
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.print) {
19288
+ if (core_.VxeUI.print) {
19290
19289
  if (opts.content) {
19291
- resolve(external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.print({
19290
+ resolve(core_.VxeUI.print({
19292
19291
  title: opts.sheetName,
19293
19292
  html: opts.content
19294
19293
  }));
@@ -19296,7 +19295,7 @@ export_hook_hooks.add('tableExportModule', {
19296
19295
  resolve(exportMethods.exportData(opts).then(({
19297
19296
  content
19298
19297
  }) => {
19299
- return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.print({
19298
+ return core_.VxeUI.print({
19300
19299
  title: opts.sheetName,
19301
19300
  html: content
19302
19301
  });
@@ -19351,8 +19350,8 @@ export_hook_hooks.add('tableExportModule', {
19351
19350
  const isTree = !!treeConfig;
19352
19351
  if (isTree) {
19353
19352
  if (defOpts.message) {
19354
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
19355
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
19353
+ if (core_.VxeUI.modal) {
19354
+ core_.VxeUI.modal.message({
19356
19355
  content: export_hook_getI18n('vxe.error.treeNotImp'),
19357
19356
  status: 'error'
19358
19357
  });
@@ -19419,7 +19418,7 @@ export_hook_hooks.add('tableExportModule', {
19419
19418
 
19420
19419
  const {
19421
19420
  hooks: keyboard_hook_hooks
19422
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
19421
+ } = core_.VxeUI;
19423
19422
  function getTargetOffset(target, container) {
19424
19423
  let offsetTop = 0;
19425
19424
  let offsetLeft = 0;
@@ -19883,7 +19882,7 @@ const {
19883
19882
  getConfig: validator_hook_getConfig,
19884
19883
  validators: hook_validators,
19885
19884
  hooks: validator_hook_hooks
19886
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
19885
+ } = core_.VxeUI;
19887
19886
  /**
19888
19887
  * 校验规则
19889
19888
  */
@@ -20460,7 +20459,7 @@ validator_hook_hooks.add('tableValidatorModule', {
20460
20459
 
20461
20460
 
20462
20461
  const tableCustomMethodKeys = ['openCustom', 'closeCustom'];
20463
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.hooks.add('tableCustomModule', {
20462
+ core_.VxeUI.hooks.add('tableCustomModule', {
20464
20463
  setupTable($xeTable) {
20465
20464
  const {
20466
20465
  reactData,
@@ -20617,7 +20616,7 @@ const {
20617
20616
  getConfig: render_getConfig,
20618
20617
  renderer: render_renderer,
20619
20618
  getI18n: render_getI18n
20620
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
20619
+ } = core_.VxeUI;
20621
20620
  const componentDefaultModelProp = 'modelValue';
20622
20621
  const defaultCompProps = {
20623
20622
  transfer: true
@@ -21395,8 +21394,8 @@ const VxeTable = Object.assign({}, table, {
21395
21394
  app.component(table.name, table);
21396
21395
  }
21397
21396
  });
21398
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
21399
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(table.name, table);
21397
+ if (core_.VxeUI.dynamicApp) {
21398
+ core_.VxeUI.dynamicApp.component(table.name, table);
21400
21399
  }
21401
21400
  const Table = VxeTable;
21402
21401
  /* harmony default export */ var packages_table = (VxeTable);
@@ -21415,7 +21414,7 @@ const {
21415
21414
  commands: toolbar_commands,
21416
21415
  createEvent: toolbar_createEvent,
21417
21416
  useFns: toolbar_useFns
21418
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
21417
+ } = core_.VxeUI;
21419
21418
  /* harmony default export */ var toolbar = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
21420
21419
  name: 'VxeToolbar',
21421
21420
  props: {
@@ -21946,8 +21945,8 @@ const VxeToolbar = Object.assign({}, toolbar, {
21946
21945
  app.component(toolbar.name, toolbar);
21947
21946
  }
21948
21947
  });
21949
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
21950
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(toolbar.name, toolbar);
21948
+ if (core_.VxeUI.dynamicApp) {
21949
+ core_.VxeUI.dynamicApp.component(toolbar.name, toolbar);
21951
21950
  }
21952
21951
  const Toolbar = VxeToolbar;
21953
21952
  /* harmony default export */ var packages_toolbar = (VxeToolbar);
@@ -21973,7 +21972,7 @@ const {
21973
21972
  createEvent: grid_createEvent,
21974
21973
  globalEvents: grid_globalEvents,
21975
21974
  GLOBAL_EVENT_KEYS: grid_GLOBAL_EVENT_KEYS
21976
- } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
21975
+ } = core_.VxeUI;
21977
21976
  const tableComponentPropKeys = Object.keys(props);
21978
21977
  const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getData', 'getCheckboxRecords', 'getParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'getPendingRecords', 'clearPendingRow', 'sort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', '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', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'openTooltip', 'focus', 'blur', 'connect'];
21979
21978
  const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit-invalid', 'form-reset', 'form-collapse', 'form-toggle-collapse', 'proxy-query', 'proxy-delete', 'proxy-save', 'toolbar-button-click', 'toolbar-tool-click', 'zoom'];
@@ -22184,8 +22183,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22184
22183
  gridExtendTableMethods.clearCheckboxRow();
22185
22184
  } else {
22186
22185
  if (isMsg) {
22187
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
22188
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
22186
+ if (core_.VxeUI.modal) {
22187
+ core_.VxeUI.modal.message({
22189
22188
  id: code,
22190
22189
  content: grid_getI18n('vxe.grid.selectOneRecord'),
22191
22190
  status: 'warning'
@@ -22212,8 +22211,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22212
22211
  const selectRecords = gridExtendTableMethods.getCheckboxRecords();
22213
22212
  if (isMsg) {
22214
22213
  if (selectRecords.length) {
22215
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
22216
- return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.confirm({
22214
+ if (core_.VxeUI.modal) {
22215
+ return core_.VxeUI.modal.confirm({
22217
22216
  id: `cfm_${code}`,
22218
22217
  content: grid_getI18n(alertKey),
22219
22218
  escClosable: true
@@ -22224,8 +22223,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22224
22223
  });
22225
22224
  }
22226
22225
  } else {
22227
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
22228
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
22226
+ if (core_.VxeUI.modal) {
22227
+ core_.VxeUI.modal.message({
22229
22228
  id: `msg_${code}`,
22230
22229
  content: grid_getI18n('vxe.grid.selectOneRecord'),
22231
22230
  status: 'warning'
@@ -22942,8 +22941,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22942
22941
  reactData.tableLoading = false;
22943
22942
  $xeTable.setPendingRow(removeRecords, false);
22944
22943
  if (isMsg) {
22945
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
22946
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
22944
+ if (core_.VxeUI.modal) {
22945
+ core_.VxeUI.modal.message({
22947
22946
  content: getRespMsg(rest, 'vxe.grid.delSuccess'),
22948
22947
  status: 'success'
22949
22948
  });
@@ -22960,8 +22959,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22960
22959
  }).catch(rest => {
22961
22960
  reactData.tableLoading = false;
22962
22961
  if (isMsg) {
22963
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
22964
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
22962
+ if (core_.VxeUI.modal) {
22963
+ core_.VxeUI.modal.message({
22965
22964
  id: code,
22966
22965
  content: getRespMsg(rest, 'vxe.grid.operError'),
22967
22966
  status: 'error'
@@ -22975,8 +22974,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22975
22974
  });
22976
22975
  } else {
22977
22976
  if (isMsg) {
22978
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
22979
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
22977
+ if (core_.VxeUI.modal) {
22978
+ core_.VxeUI.modal.message({
22980
22979
  id: code,
22981
22980
  content: grid_getI18n('vxe.grid.selectOneRecord'),
22982
22981
  status: 'warning'
@@ -23035,8 +23034,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23035
23034
  reactData.tableLoading = false;
23036
23035
  $xeTable.clearPendingRow();
23037
23036
  if (isMsg) {
23038
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
23039
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
23037
+ if (core_.VxeUI.modal) {
23038
+ core_.VxeUI.modal.message({
23040
23039
  content: getRespMsg(rest, 'vxe.grid.saveSuccess'),
23041
23040
  status: 'success'
23042
23041
  });
@@ -23053,8 +23052,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23053
23052
  }).catch(rest => {
23054
23053
  reactData.tableLoading = false;
23055
23054
  if (isMsg) {
23056
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
23057
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
23055
+ if (core_.VxeUI.modal) {
23056
+ core_.VxeUI.modal.message({
23058
23057
  id: code,
23059
23058
  content: getRespMsg(rest, 'vxe.grid.operError'),
23060
23059
  status: 'error'
@@ -23067,8 +23066,8 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23067
23066
  });
23068
23067
  } else {
23069
23068
  if (isMsg) {
23070
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
23071
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal.message({
23069
+ if (core_.VxeUI.modal) {
23070
+ core_.VxeUI.modal.message({
23072
23071
  id: code,
23073
23072
  content: grid_getI18n('vxe.grid.dataUnchanged'),
23074
23073
  status: 'info'
@@ -23371,8 +23370,8 @@ const VxeGrid = Object.assign({}, grid, {
23371
23370
  app.component(grid.name, grid);
23372
23371
  }
23373
23372
  });
23374
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
23375
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(grid.name, grid);
23373
+ if (core_.VxeUI.dynamicApp) {
23374
+ core_.VxeUI.dynamicApp.component(grid.name, grid);
23376
23375
  }
23377
23376
  const Grid = VxeGrid;
23378
23377
  /* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
@@ -23386,11 +23385,11 @@ const Grid = VxeGrid;
23386
23385
  const components = [VxeColumn, VxeColgroup, VxeGrid, VxeTable, VxeToolbar];
23387
23386
  // 默认安装
23388
23387
  function install(app, options) {
23389
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig(options);
23388
+ core_.VxeUI.setConfig(options);
23390
23389
  components.forEach(component => component.install(app));
23391
23390
  }
23392
- const modal = (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_default()).drawer;
23393
- const drawer = (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_default()).drawer;
23391
+ const modal = core_.VxeUI.drawer;
23392
+ const drawer = core_.VxeUI.drawer;
23394
23393
 
23395
23394
  // Components
23396
23395