vxe-table 3.19.46 → 3.19.47
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/style.css +1 -1
- package/es/table/module/export/mixin.js +15 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +20 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/export/mixin.js +18 -6
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/ui/index.js +1 -1
- 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 +1 -1
- package/packages/table/module/export/mixin.ts +13 -1
- /package/es/{iconfont.1769072161508.ttf → iconfont.1769144524604.ttf} +0 -0
- /package/es/{iconfont.1769072161508.woff → iconfont.1769144524604.woff} +0 -0
- /package/es/{iconfont.1769072161508.woff2 → iconfont.1769144524604.woff2} +0 -0
- /package/lib/{iconfont.1769072161508.ttf → iconfont.1769144524604.ttf} +0 -0
- /package/lib/{iconfont.1769072161508.woff → iconfont.1769144524604.woff} +0 -0
- /package/lib/{iconfont.1769072161508.woff2 → iconfont.1769144524604.woff2} +0 -0
|
@@ -1338,7 +1338,21 @@ export default {
|
|
|
1338
1338
|
return Promise.resolve((beforeQueryAll || ajaxMethods)(params))
|
|
1339
1339
|
.then(rest => {
|
|
1340
1340
|
const listProp = resConfigs.list;
|
|
1341
|
-
|
|
1341
|
+
let tdData = [];
|
|
1342
|
+
if (listProp) {
|
|
1343
|
+
if (XEUtils.isFunction(listProp)) {
|
|
1344
|
+
tdData = listProp({ data: rest, $table: $xeTable, $grid: $xeGrid, $gantt: $xeGantt });
|
|
1345
|
+
}
|
|
1346
|
+
else {
|
|
1347
|
+
tdData = XEUtils.isArray(rest) ? rest : XEUtils.get(rest, listProp);
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
else {
|
|
1351
|
+
if (XEUtils.isArray(rest)) {
|
|
1352
|
+
tdData = rest;
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
handleOptions.data = tdData;
|
|
1342
1356
|
if (afterQueryAll) {
|
|
1343
1357
|
afterQueryAll(params);
|
|
1344
1358
|
}
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3237,7 +3237,7 @@ function getClass(property, params) {
|
|
|
3237
3237
|
;// ./packages/ui/index.ts
|
|
3238
3238
|
|
|
3239
3239
|
|
|
3240
|
-
const version = "3.19.
|
|
3240
|
+
const version = "3.19.47";
|
|
3241
3241
|
core_.VxeUI.version = version;
|
|
3242
3242
|
core_.VxeUI.tableVersion = version;
|
|
3243
3243
|
core_.VxeUI.setConfig({
|
|
@@ -3962,7 +3962,7 @@ var es_iterator_reduce = __webpack_require__(8237);
|
|
|
3962
3962
|
const {
|
|
3963
3963
|
log: log_log
|
|
3964
3964
|
} = core_.VxeUI;
|
|
3965
|
-
const log_version = `table v${"3.19.
|
|
3965
|
+
const log_version = `table v${"3.19.47"}`;
|
|
3966
3966
|
const warnLog = log_log.create('warn', log_version);
|
|
3967
3967
|
const errLog = log_log.create('error', log_version);
|
|
3968
3968
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -16633,12 +16633,24 @@ const convertToRows = originColumns => {
|
|
|
16633
16633
|
};
|
|
16634
16634
|
return Promise.resolve((beforeQueryAll || ajaxMethods)(params)).then(rest => {
|
|
16635
16635
|
const listProp = resConfigs.list;
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16636
|
+
let tdData = [];
|
|
16637
|
+
if (listProp) {
|
|
16638
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(listProp)) {
|
|
16639
|
+
tdData = listProp({
|
|
16640
|
+
data: rest,
|
|
16641
|
+
$table: $xeTable,
|
|
16642
|
+
$grid: $xeGrid,
|
|
16643
|
+
$gantt: $xeGantt
|
|
16644
|
+
});
|
|
16645
|
+
} else {
|
|
16646
|
+
tdData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rest) ? rest : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(rest, listProp);
|
|
16647
|
+
}
|
|
16648
|
+
} else {
|
|
16649
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rest)) {
|
|
16650
|
+
tdData = rest;
|
|
16651
|
+
}
|
|
16652
|
+
}
|
|
16653
|
+
handleOptions.data = tdData;
|
|
16642
16654
|
if (afterQueryAll) {
|
|
16643
16655
|
afterQueryAll(params);
|
|
16644
16656
|
}
|