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/es/components.js +3 -3
- package/es/table/module/keyboard/hook.js +1 -1
- package/es/ui/index.js +3 -3
- package/es/ui/src/log.js +2 -2
- package/es/ui/src/utils.js +1 -1
- package/lib/components.js +4 -6
- package/lib/components.min.js +1 -1
- package/lib/index.umd.js +120 -121
- package/lib/index.umd.min.js +1 -1
- package/lib/table/module/keyboard/hook.js +2 -2
- package/lib/table/module/keyboard/hook.min.js +1 -1
- package/lib/ui/index.js +35 -35
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +3 -3
- package/lib/ui/src/log.min.js +1 -1
- package/lib/ui/src/utils.js +3 -3
- package/lib/ui/src/utils.min.js +1 -1
- package/package.json +1 -1
- package/packages/components.ts +3 -3
- package/packages/table/module/keyboard/hook.ts +1 -1
- package/packages/ui/index.ts +1 -1
- package/packages/ui/src/log.ts +1 -1
- package/packages/ui/src/utils.ts +1 -1
package/es/components.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
import { VxeColumn } from './column';
|
|
3
3
|
import { VxeColgroup } from './colgroup';
|
|
4
4
|
import { VxeGrid } from './grid';
|
|
@@ -16,8 +16,8 @@ export function install(app, options) {
|
|
|
16
16
|
VxeUI.setConfig(options);
|
|
17
17
|
components.forEach(component => component.install(app));
|
|
18
18
|
}
|
|
19
|
-
export const modal =
|
|
20
|
-
export const drawer =
|
|
19
|
+
export const modal = VxeUI.drawer;
|
|
20
|
+
export const drawer = VxeUI.drawer;
|
|
21
21
|
export * from './ui';
|
|
22
22
|
// Components
|
|
23
23
|
export * from './table';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import XEUtils from 'xe-utils';
|
|
2
|
-
import { VxeUI } from '
|
|
2
|
+
import { VxeUI } from '../../../ui';
|
|
3
3
|
import { browse, hasClass, getAbsolutePos, addClass, removeClass, getEventTargetNode } from '../../../ui/src/dom';
|
|
4
4
|
const { hooks } = VxeUI;
|
|
5
5
|
function getTargetOffset(target, container) {
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VxeUI } from 'vxe-
|
|
1
|
+
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
const { log } = VxeUI;
|
|
3
|
-
const version = `table v${"4.7.
|
|
3
|
+
const version = `table v${"4.7.14-beta.0"}`;
|
|
4
4
|
export const warnLog = log.create('warn', version);
|
|
5
5
|
export const errLog = log.create('error', version);
|
package/es/ui/src/utils.js
CHANGED
package/lib/components.js
CHANGED
|
@@ -11,7 +11,7 @@ var _exportNames = {
|
|
|
11
11
|
exports.drawer = void 0;
|
|
12
12
|
exports.install = install;
|
|
13
13
|
exports.modal = void 0;
|
|
14
|
-
var
|
|
14
|
+
var _core = require("@vxe-ui/core");
|
|
15
15
|
var _column = require("./column");
|
|
16
16
|
Object.keys(_column).forEach(function (key) {
|
|
17
17
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -84,15 +84,13 @@ Object.keys(_ui).forEach(function (key) {
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
});
|
|
87
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
88
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
89
87
|
const components = [_column.VxeColumn, _colgroup.VxeColgroup, _grid.VxeGrid, _table.VxeTable, _toolbar.VxeToolbar];
|
|
90
88
|
// 默认安装
|
|
91
89
|
function install(app, options) {
|
|
92
|
-
|
|
90
|
+
_core.VxeUI.setConfig(options);
|
|
93
91
|
components.forEach(component => component.install(app));
|
|
94
92
|
}
|
|
95
|
-
const modal = exports.modal =
|
|
96
|
-
const drawer = exports.drawer =
|
|
93
|
+
const modal = exports.modal = _core.VxeUI.drawer;
|
|
94
|
+
const drawer = exports.drawer = _core.VxeUI.drawer;
|
|
97
95
|
|
|
98
96
|
// Components
|
package/lib/components.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={install:!0,modal:!0,drawer:!0},
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={install:!0,modal:!0,drawer:!0},_core=(exports.drawer=void 0,exports.install=install,exports.modal=void 0,require("@vxe-ui/core")),_column=require("./column"),_colgroup=(Object.keys(_column).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_column[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _column[e]}})}),require("./colgroup")),_grid=(Object.keys(_colgroup).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_colgroup[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _colgroup[e]}})}),require("./grid")),_table=(Object.keys(_grid).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_grid[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _grid[e]}})}),require("./table")),_toolbar=(Object.keys(_table).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_table[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _table[e]}})}),require("./toolbar")),_ui=(Object.keys(_toolbar).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_toolbar[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _toolbar[e]}})}),require("./ui"));Object.keys(_ui).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_ui[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _ui[e]}})});const components=[_column.VxeColumn,_colgroup.VxeColgroup,_grid.VxeGrid,_table.VxeTable,_toolbar.VxeToolbar];function install(r,e){_core.VxeUI.setConfig(e),components.forEach(e=>e.install(r))}const modal=exports.modal=_core.VxeUI.drawer,drawer=exports.drawer=_core.VxeUI.drawer;
|