vxe-table 4.7.34 → 4.7.36
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 +0 -2
- package/es/ui/index.js +72 -2
- package/es/ui/src/log.js +1 -1
- package/lib/components.js +1 -7
- package/lib/components.min.js +1 -1
- package/lib/index.umd.js +75 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/ui/index.js +74 -3
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/components.ts +0 -3
- package/packages/ui/index.ts +71 -1
package/es/components.js
CHANGED
|
@@ -16,8 +16,6 @@ export function install(app, options) {
|
|
|
16
16
|
VxeUI.setConfig(options);
|
|
17
17
|
components.forEach(component => component.install(app));
|
|
18
18
|
}
|
|
19
|
-
export const modal = VxeUI.drawer;
|
|
20
|
-
export const drawer = VxeUI.drawer;
|
|
21
19
|
export * from './ui';
|
|
22
20
|
// Components
|
|
23
21
|
export * from './table';
|
package/es/ui/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
import { getFuncText } from './src/utils';
|
|
3
|
-
export const version = "4.7.
|
|
3
|
+
export const version = "4.7.36";
|
|
4
4
|
VxeUI.version = version;
|
|
5
|
-
VxeUI.tableVersion = "4.7.
|
|
5
|
+
VxeUI.tableVersion = "4.7.36";
|
|
6
6
|
VxeUI.setConfig({
|
|
7
7
|
emptyCell: ' ',
|
|
8
8
|
table: {
|
|
@@ -286,11 +286,81 @@ export const _t = (content, args) => {
|
|
|
286
286
|
export const VXETable = VxeUI;
|
|
287
287
|
VXETable.setup = config;
|
|
288
288
|
VXETable.config = config;
|
|
289
|
+
/**
|
|
290
|
+
* 已废弃,兼容老版本
|
|
291
|
+
* @deprecated
|
|
292
|
+
*/
|
|
289
293
|
export const saveFile = (options) => {
|
|
290
294
|
return VxeUI.saveFile(options);
|
|
291
295
|
};
|
|
296
|
+
/**
|
|
297
|
+
* 已废弃,兼容老版本
|
|
298
|
+
* @deprecated
|
|
299
|
+
*/
|
|
292
300
|
export const readFile = (options) => {
|
|
293
301
|
return VxeUI.readFile(options);
|
|
294
302
|
};
|
|
303
|
+
/**
|
|
304
|
+
* 已废弃,兼容老版本
|
|
305
|
+
* @deprecated
|
|
306
|
+
*/
|
|
307
|
+
export const print = (options) => {
|
|
308
|
+
return VxeUI.print(options);
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* 已废弃,兼容老版本
|
|
312
|
+
* @deprecated
|
|
313
|
+
*/
|
|
314
|
+
export const modal = {
|
|
315
|
+
/**
|
|
316
|
+
* 已废弃,兼容老版本
|
|
317
|
+
* @deprecated
|
|
318
|
+
*/
|
|
319
|
+
get(id) {
|
|
320
|
+
return VxeUI.modal.get(id);
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* 已废弃,兼容老版本
|
|
324
|
+
* @deprecated
|
|
325
|
+
*/
|
|
326
|
+
close(id) {
|
|
327
|
+
return VxeUI.modal.close(id);
|
|
328
|
+
},
|
|
329
|
+
/**
|
|
330
|
+
* 已废弃,兼容老版本
|
|
331
|
+
* @deprecated
|
|
332
|
+
*/
|
|
333
|
+
open(options) {
|
|
334
|
+
return VxeUI.modal.open(options);
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* 已废弃,兼容老版本
|
|
338
|
+
* @deprecated
|
|
339
|
+
*/
|
|
340
|
+
alert(content, title, options) {
|
|
341
|
+
return VxeUI.modal.alert(content, title, options);
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* 已废弃,兼容老版本
|
|
345
|
+
* @deprecated
|
|
346
|
+
*/
|
|
347
|
+
confirm(content, title, options) {
|
|
348
|
+
return VxeUI.modal.confirm(content, title, options);
|
|
349
|
+
},
|
|
350
|
+
/**
|
|
351
|
+
* 已废弃,兼容老版本
|
|
352
|
+
* @deprecated
|
|
353
|
+
*/
|
|
354
|
+
message(content, options) {
|
|
355
|
+
return VxeUI.modal.message(content, options);
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
* 已废弃,兼容老版本
|
|
359
|
+
* @deprecated
|
|
360
|
+
*/
|
|
361
|
+
notification(content, title, options) {
|
|
362
|
+
return VxeUI.modal.notification(content, title, options);
|
|
363
|
+
}
|
|
364
|
+
};
|
|
295
365
|
export { VxeUI };
|
|
296
366
|
export default VxeUI;
|
package/es/ui/src/log.js
CHANGED
package/lib/components.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
-
install: true
|
|
8
|
-
modal: true,
|
|
9
|
-
drawer: true
|
|
7
|
+
install: true
|
|
10
8
|
};
|
|
11
|
-
exports.drawer = void 0;
|
|
12
9
|
exports.install = install;
|
|
13
|
-
exports.modal = void 0;
|
|
14
10
|
var _core = require("@vxe-ui/core");
|
|
15
11
|
var _column = require("./column");
|
|
16
12
|
Object.keys(_column).forEach(function (key) {
|
|
@@ -90,7 +86,5 @@ function install(app, options) {
|
|
|
90
86
|
_core.VxeUI.setConfig(options);
|
|
91
87
|
components.forEach(component => component.install(app));
|
|
92
88
|
}
|
|
93
|
-
const modal = exports.modal = _core.VxeUI.drawer;
|
|
94
|
-
const drawer = exports.drawer = _core.VxeUI.drawer;
|
|
95
89
|
|
|
96
90
|
// Components
|
package/lib/components.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={install:!0
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={install:!0},_core=(exports.install=install,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(t,e){_core.VxeUI.setConfig(e),components.forEach(e=>e.install(t))}
|
package/lib/index.umd.js
CHANGED
|
@@ -1693,7 +1693,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1693
1693
|
commands: function() { return /* reexport */ commands; },
|
|
1694
1694
|
config: function() { return /* reexport */ config; },
|
|
1695
1695
|
"default": function() { return /* binding */ entry_lib; },
|
|
1696
|
-
drawer: function() { return /* reexport */ drawer; },
|
|
1697
1696
|
formats: function() { return /* reexport */ formats; },
|
|
1698
1697
|
getConfig: function() { return /* reexport */ getConfig; },
|
|
1699
1698
|
getI18n: function() { return /* reexport */ getI18n; },
|
|
@@ -1707,6 +1706,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1707
1706
|
log: function() { return /* reexport */ log; },
|
|
1708
1707
|
menus: function() { return /* reexport */ menus; },
|
|
1709
1708
|
modal: function() { return /* reexport */ modal; },
|
|
1709
|
+
print: function() { return /* reexport */ print; },
|
|
1710
1710
|
readFile: function() { return /* reexport */ readFile; },
|
|
1711
1711
|
renderer: function() { return /* reexport */ renderer; },
|
|
1712
1712
|
saveFile: function() { return /* reexport */ saveFile; },
|
|
@@ -1742,7 +1742,6 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
1742
1742
|
clipboard: function() { return clipboard; },
|
|
1743
1743
|
commands: function() { return commands; },
|
|
1744
1744
|
config: function() { return config; },
|
|
1745
|
-
drawer: function() { return drawer; },
|
|
1746
1745
|
formats: function() { return formats; },
|
|
1747
1746
|
getConfig: function() { return getConfig; },
|
|
1748
1747
|
getI18n: function() { return getI18n; },
|
|
@@ -1756,6 +1755,7 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
1756
1755
|
log: function() { return log; },
|
|
1757
1756
|
menus: function() { return menus; },
|
|
1758
1757
|
modal: function() { return modal; },
|
|
1758
|
+
print: function() { return print; },
|
|
1759
1759
|
readFile: function() { return readFile; },
|
|
1760
1760
|
renderer: function() { return renderer; },
|
|
1761
1761
|
saveFile: function() { return saveFile; },
|
|
@@ -1951,9 +1951,9 @@ function eqEmptyValue(cellValue) {
|
|
|
1951
1951
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
1952
1952
|
|
|
1953
1953
|
|
|
1954
|
-
const version = "4.7.
|
|
1954
|
+
const version = "4.7.36";
|
|
1955
1955
|
core_.VxeUI.version = version;
|
|
1956
|
-
core_.VxeUI.tableVersion = "4.7.
|
|
1956
|
+
core_.VxeUI.tableVersion = "4.7.36";
|
|
1957
1957
|
core_.VxeUI.setConfig({
|
|
1958
1958
|
emptyCell: ' ',
|
|
1959
1959
|
table: {
|
|
@@ -2237,12 +2237,82 @@ const _t = (content, args) => {
|
|
|
2237
2237
|
const VXETable = core_.VxeUI;
|
|
2238
2238
|
VXETable.setup = config;
|
|
2239
2239
|
VXETable.config = config;
|
|
2240
|
+
/**
|
|
2241
|
+
* 已废弃,兼容老版本
|
|
2242
|
+
* @deprecated
|
|
2243
|
+
*/
|
|
2240
2244
|
const saveFile = options => {
|
|
2241
2245
|
return core_.VxeUI.saveFile(options);
|
|
2242
2246
|
};
|
|
2247
|
+
/**
|
|
2248
|
+
* 已废弃,兼容老版本
|
|
2249
|
+
* @deprecated
|
|
2250
|
+
*/
|
|
2243
2251
|
const readFile = options => {
|
|
2244
2252
|
return core_.VxeUI.readFile(options);
|
|
2245
2253
|
};
|
|
2254
|
+
/**
|
|
2255
|
+
* 已废弃,兼容老版本
|
|
2256
|
+
* @deprecated
|
|
2257
|
+
*/
|
|
2258
|
+
const print = options => {
|
|
2259
|
+
return core_.VxeUI.print(options);
|
|
2260
|
+
};
|
|
2261
|
+
/**
|
|
2262
|
+
* 已废弃,兼容老版本
|
|
2263
|
+
* @deprecated
|
|
2264
|
+
*/
|
|
2265
|
+
const modal = {
|
|
2266
|
+
/**
|
|
2267
|
+
* 已废弃,兼容老版本
|
|
2268
|
+
* @deprecated
|
|
2269
|
+
*/
|
|
2270
|
+
get(id) {
|
|
2271
|
+
return core_.VxeUI.modal.get(id);
|
|
2272
|
+
},
|
|
2273
|
+
/**
|
|
2274
|
+
* 已废弃,兼容老版本
|
|
2275
|
+
* @deprecated
|
|
2276
|
+
*/
|
|
2277
|
+
close(id) {
|
|
2278
|
+
return core_.VxeUI.modal.close(id);
|
|
2279
|
+
},
|
|
2280
|
+
/**
|
|
2281
|
+
* 已废弃,兼容老版本
|
|
2282
|
+
* @deprecated
|
|
2283
|
+
*/
|
|
2284
|
+
open(options) {
|
|
2285
|
+
return core_.VxeUI.modal.open(options);
|
|
2286
|
+
},
|
|
2287
|
+
/**
|
|
2288
|
+
* 已废弃,兼容老版本
|
|
2289
|
+
* @deprecated
|
|
2290
|
+
*/
|
|
2291
|
+
alert(content, title, options) {
|
|
2292
|
+
return core_.VxeUI.modal.alert(content, title, options);
|
|
2293
|
+
},
|
|
2294
|
+
/**
|
|
2295
|
+
* 已废弃,兼容老版本
|
|
2296
|
+
* @deprecated
|
|
2297
|
+
*/
|
|
2298
|
+
confirm(content, title, options) {
|
|
2299
|
+
return core_.VxeUI.modal.confirm(content, title, options);
|
|
2300
|
+
},
|
|
2301
|
+
/**
|
|
2302
|
+
* 已废弃,兼容老版本
|
|
2303
|
+
* @deprecated
|
|
2304
|
+
*/
|
|
2305
|
+
message(content, options) {
|
|
2306
|
+
return core_.VxeUI.modal.message(content, options);
|
|
2307
|
+
},
|
|
2308
|
+
/**
|
|
2309
|
+
* 已废弃,兼容老版本
|
|
2310
|
+
* @deprecated
|
|
2311
|
+
*/
|
|
2312
|
+
notification(content, title, options) {
|
|
2313
|
+
return core_.VxeUI.modal.notification(content, title, options);
|
|
2314
|
+
}
|
|
2315
|
+
};
|
|
2246
2316
|
|
|
2247
2317
|
/* harmony default export */ var ui = ((/* unused pure expression or super */ null && (VxeUI)));
|
|
2248
2318
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
@@ -2254,7 +2324,7 @@ var es_array_push = __webpack_require__(4114);
|
|
|
2254
2324
|
const {
|
|
2255
2325
|
log: log_log
|
|
2256
2326
|
} = core_.VxeUI;
|
|
2257
|
-
const log_version = `table v${"4.7.
|
|
2327
|
+
const log_version = `table v${"4.7.36"}`;
|
|
2258
2328
|
const warnLog = log_log.create('warn', log_version);
|
|
2259
2329
|
const errLog = log_log.create('error', log_version);
|
|
2260
2330
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -23646,8 +23716,6 @@ function install(app, options) {
|
|
|
23646
23716
|
core_.VxeUI.setConfig(options);
|
|
23647
23717
|
components.forEach(component => component.install(app));
|
|
23648
23718
|
}
|
|
23649
|
-
const modal = core_.VxeUI.drawer;
|
|
23650
|
-
const drawer = core_.VxeUI.drawer;
|
|
23651
23719
|
|
|
23652
23720
|
// Components
|
|
23653
23721
|
|