vxe-table 4.7.35 → 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 +69 -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 +70 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/ui/index.js +70 -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 +67 -0
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,14 +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
|
+
*/
|
|
295
307
|
export const print = (options) => {
|
|
296
308
|
return VxeUI.print(options);
|
|
297
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
|
+
};
|
|
298
365
|
export { VxeUI };
|
|
299
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; },
|
|
@@ -1743,7 +1742,6 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
1743
1742
|
clipboard: function() { return clipboard; },
|
|
1744
1743
|
commands: function() { return commands; },
|
|
1745
1744
|
config: function() { return config; },
|
|
1746
|
-
drawer: function() { return drawer; },
|
|
1747
1745
|
formats: function() { return formats; },
|
|
1748
1746
|
getConfig: function() { return getConfig; },
|
|
1749
1747
|
getI18n: function() { return getI18n; },
|
|
@@ -1953,9 +1951,9 @@ function eqEmptyValue(cellValue) {
|
|
|
1953
1951
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
1954
1952
|
|
|
1955
1953
|
|
|
1956
|
-
const version = "4.7.
|
|
1954
|
+
const version = "4.7.36";
|
|
1957
1955
|
core_.VxeUI.version = version;
|
|
1958
|
-
core_.VxeUI.tableVersion = "4.7.
|
|
1956
|
+
core_.VxeUI.tableVersion = "4.7.36";
|
|
1959
1957
|
core_.VxeUI.setConfig({
|
|
1960
1958
|
emptyCell: ' ',
|
|
1961
1959
|
table: {
|
|
@@ -2239,15 +2237,82 @@ const _t = (content, args) => {
|
|
|
2239
2237
|
const VXETable = core_.VxeUI;
|
|
2240
2238
|
VXETable.setup = config;
|
|
2241
2239
|
VXETable.config = config;
|
|
2240
|
+
/**
|
|
2241
|
+
* 已废弃,兼容老版本
|
|
2242
|
+
* @deprecated
|
|
2243
|
+
*/
|
|
2242
2244
|
const saveFile = options => {
|
|
2243
2245
|
return core_.VxeUI.saveFile(options);
|
|
2244
2246
|
};
|
|
2247
|
+
/**
|
|
2248
|
+
* 已废弃,兼容老版本
|
|
2249
|
+
* @deprecated
|
|
2250
|
+
*/
|
|
2245
2251
|
const readFile = options => {
|
|
2246
2252
|
return core_.VxeUI.readFile(options);
|
|
2247
2253
|
};
|
|
2254
|
+
/**
|
|
2255
|
+
* 已废弃,兼容老版本
|
|
2256
|
+
* @deprecated
|
|
2257
|
+
*/
|
|
2248
2258
|
const print = options => {
|
|
2249
2259
|
return core_.VxeUI.print(options);
|
|
2250
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
|
+
};
|
|
2251
2316
|
|
|
2252
2317
|
/* harmony default export */ var ui = ((/* unused pure expression or super */ null && (VxeUI)));
|
|
2253
2318
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
@@ -2259,7 +2324,7 @@ var es_array_push = __webpack_require__(4114);
|
|
|
2259
2324
|
const {
|
|
2260
2325
|
log: log_log
|
|
2261
2326
|
} = core_.VxeUI;
|
|
2262
|
-
const log_version = `table v${"4.7.
|
|
2327
|
+
const log_version = `table v${"4.7.36"}`;
|
|
2263
2328
|
const warnLog = log_log.create('warn', log_version);
|
|
2264
2329
|
const errLog = log_log.create('error', log_version);
|
|
2265
2330
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -23651,8 +23716,6 @@ function install(app, options) {
|
|
|
23651
23716
|
core_.VxeUI.setConfig(options);
|
|
23652
23717
|
components.forEach(component => component.install(app));
|
|
23653
23718
|
}
|
|
23654
|
-
const modal = core_.VxeUI.drawer;
|
|
23655
|
-
const drawer = core_.VxeUI.drawer;
|
|
23656
23719
|
|
|
23657
23720
|
// Components
|
|
23658
23721
|
|