vxe-table 4.11.16 → 4.11.18
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/grid/src/grid.js +15 -29
- package/es/style.css +1 -1
- package/es/table/module/custom/panel.js +19 -21
- package/es/table/module/edit/hook.js +3 -5
- package/es/table/module/export/export-panel.js +17 -19
- package/es/table/module/export/hook.js +5 -11
- package/es/table/module/export/import-panel.js +11 -13
- package/es/table/module/validator/hook.js +1 -3
- package/es/table/render/index.js +90 -61
- package/es/table/src/columnInfo.js +26 -28
- package/es/table/src/table.js +132 -89
- package/es/toolbar/src/toolbar.js +16 -24
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +15 -29
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +361 -312
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/panel.js +21 -23
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/edit/hook.js +3 -5
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/module/export/export-panel.js +17 -19
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/hook.js +5 -11
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/module/export/import-panel.js +11 -13
- package/lib/table/module/export/import-panel.min.js +1 -1
- package/lib/table/module/validator/hook.js +1 -3
- package/lib/table/module/validator/hook.min.js +1 -1
- package/lib/table/render/index.js +98 -66
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/columnInfo.js +30 -32
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/table.js +138 -85
- package/lib/table/src/table.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +16 -24
- package/lib/toolbar/src/toolbar.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 +2 -2
- package/packages/grid/src/grid.ts +16 -29
- package/packages/table/module/custom/panel.ts +19 -21
- package/packages/table/module/edit/hook.ts +3 -5
- package/packages/table/module/export/export-panel.ts +17 -19
- package/packages/table/module/export/hook.ts +5 -11
- package/packages/table/module/export/import-panel.ts +11 -13
- package/packages/table/module/validator/hook.ts +1 -3
- package/packages/table/render/index.ts +89 -59
- package/packages/table/src/columnInfo.ts +26 -28
- package/packages/table/src/table.ts +128 -85
- package/packages/toolbar/src/toolbar.ts +16 -24
- /package/es/{iconfont.1741051544689.ttf → iconfont.1741224125327.ttf} +0 -0
- /package/es/{iconfont.1741051544689.woff → iconfont.1741224125327.woff} +0 -0
- /package/es/{iconfont.1741051544689.woff2 → iconfont.1741224125327.woff2} +0 -0
- /package/lib/{iconfont.1741051544689.ttf → iconfont.1741224125327.ttf} +0 -0
- /package/lib/{iconfont.1741051544689.woff → iconfont.1741224125327.woff} +0 -0
- /package/lib/{iconfont.1741051544689.woff2 → iconfont.1741224125327.woff2} +0 -0
package/es/grid/src/grid.js
CHANGED
|
@@ -408,9 +408,7 @@ export default defineComponent({
|
|
|
408
408
|
return slots[funcSlot];
|
|
409
409
|
}
|
|
410
410
|
else {
|
|
411
|
-
|
|
412
|
-
errLog('vxe.error.notSlot', [funcSlot]);
|
|
413
|
-
}
|
|
411
|
+
errLog('vxe.error.notSlot', [funcSlot]);
|
|
414
412
|
}
|
|
415
413
|
}
|
|
416
414
|
else {
|
|
@@ -915,9 +913,7 @@ export default defineComponent({
|
|
|
915
913
|
});
|
|
916
914
|
}
|
|
917
915
|
else {
|
|
918
|
-
|
|
919
|
-
errLog('vxe.error.notFunc', ['proxy-config.ajax.query']);
|
|
920
|
-
}
|
|
916
|
+
errLog('vxe.error.notFunc', ['proxy-config.ajax.query']);
|
|
921
917
|
}
|
|
922
918
|
break;
|
|
923
919
|
}
|
|
@@ -979,9 +975,7 @@ export default defineComponent({
|
|
|
979
975
|
}
|
|
980
976
|
}
|
|
981
977
|
else {
|
|
982
|
-
|
|
983
|
-
errLog('vxe.error.notFunc', ['proxy-config.ajax.delete']);
|
|
984
|
-
}
|
|
978
|
+
errLog('vxe.error.notFunc', ['proxy-config.ajax.delete']);
|
|
985
979
|
}
|
|
986
980
|
break;
|
|
987
981
|
}
|
|
@@ -1056,9 +1050,7 @@ export default defineComponent({
|
|
|
1056
1050
|
});
|
|
1057
1051
|
}
|
|
1058
1052
|
else {
|
|
1059
|
-
|
|
1060
|
-
errLog('vxe.error.notFunc', ['proxy-config.ajax.save']);
|
|
1061
|
-
}
|
|
1053
|
+
errLog('vxe.error.notFunc', ['proxy-config.ajax.save']);
|
|
1062
1054
|
}
|
|
1063
1055
|
break;
|
|
1064
1056
|
}
|
|
@@ -1070,9 +1062,7 @@ export default defineComponent({
|
|
|
1070
1062
|
tCommandMethod({ code, button, $grid: $xeGrid, $table: $xeTable }, ...args);
|
|
1071
1063
|
}
|
|
1072
1064
|
else {
|
|
1073
|
-
|
|
1074
|
-
errLog('vxe.error.notCommands', [code]);
|
|
1075
|
-
}
|
|
1065
|
+
errLog('vxe.error.notCommands', [code]);
|
|
1076
1066
|
}
|
|
1077
1067
|
}
|
|
1078
1068
|
}
|
|
@@ -1251,22 +1241,18 @@ export default defineComponent({
|
|
|
1251
1241
|
});
|
|
1252
1242
|
initPages();
|
|
1253
1243
|
onMounted(() => {
|
|
1254
|
-
if (process.env.NODE_ENV === 'development') {
|
|
1255
|
-
nextTick(() => {
|
|
1256
|
-
if (props.formConfig) {
|
|
1257
|
-
if (!VxeUIFormComponent) {
|
|
1258
|
-
errLog('vxe.error.reqComp', ['vxe-form']);
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
if (props.pagerConfig) {
|
|
1262
|
-
if (!VxeUIPagerComponent) {
|
|
1263
|
-
errLog('vxe.error.reqComp', ['vxe-pager']);
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
});
|
|
1267
|
-
}
|
|
1268
1244
|
nextTick(() => {
|
|
1269
1245
|
const { columns } = props;
|
|
1246
|
+
if (props.formConfig) {
|
|
1247
|
+
if (!VxeUIFormComponent) {
|
|
1248
|
+
errLog('vxe.error.reqComp', ['vxe-form']);
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
if (props.pagerConfig) {
|
|
1252
|
+
if (!VxeUIPagerComponent) {
|
|
1253
|
+
errLog('vxe.error.reqComp', ['vxe-pager']);
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1270
1256
|
// const { data, columns, proxyConfig } = props
|
|
1271
1257
|
// const proxyOpts = computeProxyOpts.value
|
|
1272
1258
|
// const formOpts = computeFormOpts.value
|