vxe-table 4.7.83 → 4.7.85
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 +5 -5
- package/es/locale/lang/en-US.js +2 -1
- package/es/locale/lang/es-ES.js +2 -1
- package/es/locale/lang/hu-HU.js +2 -1
- package/es/locale/lang/ja-JP.js +2 -1
- package/es/locale/lang/ko-KR.js +2 -1
- package/es/locale/lang/pt-BR.js +2 -1
- package/es/locale/lang/ru-RU.js +2 -1
- package/es/locale/lang/uk-UA.js +2 -1
- package/es/locale/lang/vi-VN.js +2 -1
- package/es/locale/lang/zh-CHT.js +2 -1
- package/es/locale/lang/zh-CN.js +2 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/render/index.js +10 -0
- package/es/table/src/table.js +255 -261
- package/es/table/style.css +1 -1
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +6 -6
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -1
- package/es/vxe-table/style.min.css +1 -1
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/grid/src/grid.js +5 -5
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +294 -282
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -1
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/hu-HU.js +2 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +2 -1
- package/lib/locale/lang/ja-JP.js +2 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -1
- package/lib/locale/lang/ko-KR.js +2 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +2 -1
- package/lib/locale/lang/pt-BR.js +2 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -1
- package/lib/locale/lang/ru-RU.js +2 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +2 -1
- package/lib/locale/lang/uk-UA.js +2 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +2 -1
- package/lib/locale/lang/vi-VN.js +2 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +2 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/render/index.js +15 -0
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/table.js +260 -266
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +1 -1
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/src/toolbar.js +6 -6
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +2 -2
- 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/lib/vxe-table/style/style.css +1 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/grid/src/grid.ts +5 -5
- package/packages/locale/lang/en-US.ts +2 -1
- package/packages/locale/lang/es-ES.ts +2 -1
- package/packages/locale/lang/hu-HU.ts +2 -1
- package/packages/locale/lang/ja-JP.ts +2 -1
- package/packages/locale/lang/ko-KR.ts +2 -1
- package/packages/locale/lang/pt-BR.ts +2 -1
- package/packages/locale/lang/ru-RU.ts +2 -1
- package/packages/locale/lang/uk-UA.ts +2 -1
- package/packages/locale/lang/vi-VN.ts +2 -1
- package/packages/locale/lang/zh-CHT.ts +2 -1
- package/packages/locale/lang/zh-CN.ts +2 -1
- package/packages/table/render/index.ts +14 -0
- package/packages/table/src/table.ts +261 -267
- package/packages/toolbar/src/toolbar.ts +6 -6
- package/styles/components/table.scss +5 -1
- /package/es/{iconfont.1727355554097.ttf → iconfont.1727599604340.ttf} +0 -0
- /package/es/{iconfont.1727355554097.woff → iconfont.1727599604340.woff} +0 -0
- /package/es/{iconfont.1727355554097.woff2 → iconfont.1727599604340.woff2} +0 -0
- /package/lib/{iconfont.1727355554097.ttf → iconfont.1727599604340.ttf} +0 -0
- /package/lib/{iconfont.1727355554097.woff → iconfont.1727599604340.woff} +0 -0
- /package/lib/{iconfont.1727355554097.woff2 → iconfont.1727599604340.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -1998,9 +1998,9 @@ function eqEmptyValue(cellValue) {
|
|
|
1998
1998
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
1999
1999
|
|
|
2000
2000
|
|
|
2001
|
-
const version = "4.7.
|
|
2001
|
+
const version = "4.7.85";
|
|
2002
2002
|
core_.VxeUI.version = version;
|
|
2003
|
-
core_.VxeUI.tableVersion = "4.7.
|
|
2003
|
+
core_.VxeUI.tableVersion = "4.7.85";
|
|
2004
2004
|
core_.VxeUI.setConfig({
|
|
2005
2005
|
emptyCell: ' ',
|
|
2006
2006
|
table: {
|
|
@@ -2384,7 +2384,7 @@ var es_array_push = __webpack_require__(4114);
|
|
|
2384
2384
|
const {
|
|
2385
2385
|
log: log_log
|
|
2386
2386
|
} = core_.VxeUI;
|
|
2387
|
-
const log_version = `table v${"4.7.
|
|
2387
|
+
const log_version = `table v${"4.7.85"}`;
|
|
2388
2388
|
const warnLog = log_log.create('warn', log_version);
|
|
2389
2389
|
const errLog = log_log.create('error', log_version);
|
|
2390
2390
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -8792,13 +8792,13 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
8792
8792
|
return '';
|
|
8793
8793
|
});
|
|
8794
8794
|
const computeValidOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8795
|
-
return Object.assign({}, table_getConfig().table.validConfig, props.validConfig);
|
|
8795
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.validConfig, true), props.validConfig);
|
|
8796
8796
|
});
|
|
8797
8797
|
const computeSXOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8798
|
-
return Object.assign({}, table_getConfig().table.scrollX, props.scrollX);
|
|
8798
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.scrollX, true), props.scrollX);
|
|
8799
8799
|
});
|
|
8800
8800
|
const computeSYOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8801
|
-
return Object.assign({}, table_getConfig().table.scrollY, props.scrollY);
|
|
8801
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.scrollY, true), props.scrollY);
|
|
8802
8802
|
});
|
|
8803
8803
|
const computeRowHeightMaps = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8804
8804
|
return {
|
|
@@ -8809,31 +8809,31 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
8809
8809
|
};
|
|
8810
8810
|
});
|
|
8811
8811
|
const computeColumnOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8812
|
-
return Object.assign({}, table_getConfig().table.columnConfig, props.columnConfig);
|
|
8812
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.columnConfig, true), props.columnConfig);
|
|
8813
8813
|
});
|
|
8814
8814
|
const computeRowOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8815
|
-
return Object.assign({}, table_getConfig().table.rowConfig, props.rowConfig);
|
|
8815
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.rowConfig, true), props.rowConfig);
|
|
8816
8816
|
});
|
|
8817
8817
|
const computeResizeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8818
|
-
return Object.assign({}, table_getConfig().table.resizeConfig, props.resizeConfig);
|
|
8818
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.resizeConfig, true), props.resizeConfig);
|
|
8819
8819
|
});
|
|
8820
8820
|
const computeResizableOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8821
|
-
return Object.assign({}, table_getConfig().table.resizableConfig, props.resizableConfig);
|
|
8821
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.resizableConfig, true), props.resizableConfig);
|
|
8822
8822
|
});
|
|
8823
8823
|
const computeSeqOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8824
8824
|
return Object.assign({
|
|
8825
8825
|
startIndex: 0
|
|
8826
|
-
}, table_getConfig().table.seqConfig, props.seqConfig);
|
|
8826
|
+
}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.seqConfig, true), props.seqConfig);
|
|
8827
8827
|
});
|
|
8828
8828
|
const computeRadioOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8829
|
-
return Object.assign({}, table_getConfig().table.radioConfig, props.radioConfig);
|
|
8829
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.radioConfig, true), props.radioConfig);
|
|
8830
8830
|
});
|
|
8831
8831
|
const computeCheckboxOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8832
|
-
return Object.assign({}, table_getConfig().table.checkboxConfig, props.checkboxConfig);
|
|
8832
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.checkboxConfig, true), props.checkboxConfig);
|
|
8833
8833
|
});
|
|
8834
8834
|
let computeTooltipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
8835
8835
|
computeTooltipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8836
|
-
return Object.assign({}, table_getConfig().tooltip, table_getConfig().table.tooltipConfig, props.tooltipConfig);
|
|
8836
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().tooltip, true), external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.tooltipConfig, true), props.tooltipConfig);
|
|
8837
8837
|
});
|
|
8838
8838
|
const computeTipConfig = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8839
8839
|
const tooltipOpts = computeTooltipOpts.value;
|
|
@@ -8848,33 +8848,33 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
8848
8848
|
}, tooltipOpts);
|
|
8849
8849
|
});
|
|
8850
8850
|
const computeEditOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8851
|
-
return Object.assign({}, table_getConfig().table.editConfig, props.editConfig);
|
|
8851
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.editConfig, true), props.editConfig);
|
|
8852
8852
|
});
|
|
8853
8853
|
const computeSortOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8854
8854
|
return Object.assign({
|
|
8855
8855
|
orders: ['asc', 'desc', null]
|
|
8856
|
-
}, table_getConfig().table.sortConfig, props.sortConfig);
|
|
8856
|
+
}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.sortConfig, true), props.sortConfig);
|
|
8857
8857
|
});
|
|
8858
8858
|
const computeFilterOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8859
|
-
return Object.assign({}, table_getConfig().table.filterConfig, props.filterConfig);
|
|
8859
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.filterConfig, true), props.filterConfig);
|
|
8860
8860
|
});
|
|
8861
8861
|
const computeMouseOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8862
|
-
return Object.assign({}, table_getConfig().table.mouseConfig, props.mouseConfig);
|
|
8862
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.mouseConfig, true), props.mouseConfig);
|
|
8863
8863
|
});
|
|
8864
8864
|
const computeAreaOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8865
|
-
return Object.assign({}, table_getConfig().table.areaConfig, props.areaConfig);
|
|
8865
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.areaConfig, true), props.areaConfig);
|
|
8866
8866
|
});
|
|
8867
8867
|
const computeKeyboardOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8868
|
-
return Object.assign({}, table_getConfig().table.keyboardConfig, props.keyboardConfig);
|
|
8868
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.keyboardConfig, true), props.keyboardConfig);
|
|
8869
8869
|
});
|
|
8870
8870
|
const computeClipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8871
|
-
return Object.assign({}, table_getConfig().table.clipConfig, props.clipConfig);
|
|
8871
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.clipConfig, true), props.clipConfig);
|
|
8872
8872
|
});
|
|
8873
8873
|
const computeFNROpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8874
|
-
return Object.assign({}, table_getConfig().table.fnrConfig, props.fnrConfig);
|
|
8874
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.fnrConfig, true), props.fnrConfig);
|
|
8875
8875
|
});
|
|
8876
8876
|
const computeMenuOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8877
|
-
return Object.assign({}, table_getConfig().table.menuConfig, props.menuConfig);
|
|
8877
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.menuConfig, true), props.menuConfig);
|
|
8878
8878
|
});
|
|
8879
8879
|
const computeHeaderMenu = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8880
8880
|
const menuOpts = computeMenuOpts.value;
|
|
@@ -8911,31 +8911,31 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
8911
8911
|
return rest;
|
|
8912
8912
|
});
|
|
8913
8913
|
const computeExportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8914
|
-
return Object.assign({}, table_getConfig().table.exportConfig, props.exportConfig);
|
|
8914
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.exportConfig, true), props.exportConfig);
|
|
8915
8915
|
});
|
|
8916
8916
|
const computeImportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8917
|
-
return Object.assign({}, table_getConfig().table.importConfig, props.importConfig);
|
|
8917
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.importConfig, true), props.importConfig);
|
|
8918
8918
|
});
|
|
8919
8919
|
const computePrintOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8920
|
-
return Object.assign({}, table_getConfig().table.printConfig, props.printConfig);
|
|
8920
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.printConfig, true), props.printConfig);
|
|
8921
8921
|
});
|
|
8922
8922
|
const computeExpandOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8923
|
-
return Object.assign({}, table_getConfig().table.expandConfig, props.expandConfig);
|
|
8923
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.expandConfig, true), props.expandConfig);
|
|
8924
8924
|
});
|
|
8925
8925
|
const computeTreeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8926
|
-
return Object.assign({}, table_getConfig().table.treeConfig, props.treeConfig);
|
|
8926
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.treeConfig, true), props.treeConfig);
|
|
8927
8927
|
});
|
|
8928
8928
|
const computeEmptyOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8929
|
-
return Object.assign({}, table_getConfig().table.emptyRender, props.emptyRender);
|
|
8929
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.emptyRender, true), props.emptyRender);
|
|
8930
8930
|
});
|
|
8931
8931
|
const computeLoadingOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8932
|
-
return Object.assign({}, table_getConfig().table.loadingConfig, props.loadingConfig);
|
|
8932
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.loadingConfig, true), props.loadingConfig);
|
|
8933
8933
|
});
|
|
8934
8934
|
const computeCellOffsetWidth = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8935
8935
|
return props.border ? Math.max(2, Math.ceil(reactData.scrollbarWidth / reactData.tableColumn.length)) : 1;
|
|
8936
8936
|
});
|
|
8937
8937
|
const computeCustomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8938
|
-
return Object.assign({}, table_getConfig().table.customConfig, props.customConfig);
|
|
8938
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.customConfig, true), props.customConfig);
|
|
8939
8939
|
});
|
|
8940
8940
|
const computeAutoWidthColumnList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
8941
8941
|
const {
|
|
@@ -14373,12 +14373,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14373
14373
|
setCellValue(selected.row, selected.column, null);
|
|
14374
14374
|
$xeTable.handleEdit(selected.args, evnt);
|
|
14375
14375
|
}
|
|
14376
|
-
const afterEditMethod = editOpts.afterEditMethod;
|
|
14377
|
-
if (afterEditMethod) {
|
|
14378
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
14379
|
-
afterEditMethod(params);
|
|
14380
|
-
});
|
|
14381
|
-
}
|
|
14382
14376
|
}
|
|
14383
14377
|
}
|
|
14384
14378
|
}
|
|
@@ -16117,6 +16111,238 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16117
16111
|
tableMethods.recalculate();
|
|
16118
16112
|
}
|
|
16119
16113
|
}
|
|
16114
|
+
const renderVN = () => {
|
|
16115
|
+
const {
|
|
16116
|
+
loading,
|
|
16117
|
+
stripe,
|
|
16118
|
+
showHeader,
|
|
16119
|
+
height,
|
|
16120
|
+
treeConfig,
|
|
16121
|
+
mouseConfig,
|
|
16122
|
+
showFooter,
|
|
16123
|
+
highlightCell,
|
|
16124
|
+
highlightHoverRow,
|
|
16125
|
+
highlightHoverColumn,
|
|
16126
|
+
editConfig,
|
|
16127
|
+
editRules
|
|
16128
|
+
} = props;
|
|
16129
|
+
const {
|
|
16130
|
+
isCalcColumn,
|
|
16131
|
+
isGroup,
|
|
16132
|
+
overflowX,
|
|
16133
|
+
overflowY,
|
|
16134
|
+
scrollXLoad,
|
|
16135
|
+
scrollYLoad,
|
|
16136
|
+
scrollbarHeight,
|
|
16137
|
+
tableData,
|
|
16138
|
+
tableColumn,
|
|
16139
|
+
tableGroupColumn,
|
|
16140
|
+
footerTableData,
|
|
16141
|
+
initStore,
|
|
16142
|
+
columnStore,
|
|
16143
|
+
filterStore,
|
|
16144
|
+
customStore,
|
|
16145
|
+
tooltipStore
|
|
16146
|
+
} = reactData;
|
|
16147
|
+
const {
|
|
16148
|
+
leftList,
|
|
16149
|
+
rightList
|
|
16150
|
+
} = columnStore;
|
|
16151
|
+
const loadingSlot = slots.loading;
|
|
16152
|
+
const tipConfig = computeTipConfig.value;
|
|
16153
|
+
const validOpts = computeValidOpts.value;
|
|
16154
|
+
const checkboxOpts = computeCheckboxOpts.value;
|
|
16155
|
+
const treeOpts = computeTreeOpts.value;
|
|
16156
|
+
const rowOpts = computeRowOpts.value;
|
|
16157
|
+
const columnOpts = computeColumnOpts.value;
|
|
16158
|
+
const vSize = computeSize.value;
|
|
16159
|
+
const tableBorder = computeTableBorder.value;
|
|
16160
|
+
const mouseOpts = computeMouseOpts.value;
|
|
16161
|
+
const validTipOpts = computeValidTipOpts.value;
|
|
16162
|
+
const loadingOpts = computeLoadingOpts.value;
|
|
16163
|
+
const isMenu = computeIsMenu.value;
|
|
16164
|
+
const currLoading = reactData._isLoading || loading;
|
|
16165
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16166
|
+
ref: refElem,
|
|
16167
|
+
class: ['vxe-table', 'vxe-table--render-default', `tid_${xID}`, `border--${tableBorder}`, {
|
|
16168
|
+
[`size--${vSize}`]: vSize,
|
|
16169
|
+
[`valid-msg--${validOpts.msgMode}`]: !!editRules,
|
|
16170
|
+
'vxe-editable': !!editConfig,
|
|
16171
|
+
'old-cell-valid': editRules && table_getConfig().cellVaildMode === 'obsolete',
|
|
16172
|
+
'cell--highlight': highlightCell,
|
|
16173
|
+
'cell--selected': mouseConfig && mouseOpts.selected,
|
|
16174
|
+
'cell--area': mouseConfig && mouseOpts.area,
|
|
16175
|
+
'row--highlight': rowOpts.isHover || highlightHoverRow,
|
|
16176
|
+
'column--highlight': columnOpts.isHover || highlightHoverColumn,
|
|
16177
|
+
'checkbox--range': checkboxOpts.range,
|
|
16178
|
+
'column--calc': isCalcColumn,
|
|
16179
|
+
'is--header': showHeader,
|
|
16180
|
+
'is--footer': showFooter,
|
|
16181
|
+
'is--group': isGroup,
|
|
16182
|
+
'is--tree-line': treeConfig && (treeOpts.showLine || treeOpts.line),
|
|
16183
|
+
'is--fixed-left': leftList.length,
|
|
16184
|
+
'is--fixed-right': rightList.length,
|
|
16185
|
+
'is--animat': !!props.animat,
|
|
16186
|
+
'is--padding': props.padding,
|
|
16187
|
+
'is--round': props.round,
|
|
16188
|
+
'is--stripe': !treeConfig && stripe,
|
|
16189
|
+
'is--loading': currLoading,
|
|
16190
|
+
'is--empty': !currLoading && !tableData.length,
|
|
16191
|
+
'is--scroll-y': overflowY,
|
|
16192
|
+
'is--scroll-x': overflowX,
|
|
16193
|
+
'is--virtual-x': scrollXLoad,
|
|
16194
|
+
'is--virtual-y': scrollYLoad
|
|
16195
|
+
}],
|
|
16196
|
+
spellcheck: false,
|
|
16197
|
+
onKeydown: keydownEvent
|
|
16198
|
+
}, [
|
|
16199
|
+
/**
|
|
16200
|
+
* 隐藏列
|
|
16201
|
+
*/
|
|
16202
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16203
|
+
class: 'vxe-table-slots'
|
|
16204
|
+
}, slots.default ? slots.default({}) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16205
|
+
class: 'vxe-table--render-wrapper'
|
|
16206
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16207
|
+
class: 'vxe-table--main-wrapper'
|
|
16208
|
+
}, [
|
|
16209
|
+
/**
|
|
16210
|
+
* 表头
|
|
16211
|
+
*/
|
|
16212
|
+
showHeader ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(header, {
|
|
16213
|
+
ref: refTableHeader,
|
|
16214
|
+
tableData,
|
|
16215
|
+
tableColumn,
|
|
16216
|
+
tableGroupColumn
|
|
16217
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16218
|
+
/**
|
|
16219
|
+
* 表体
|
|
16220
|
+
*/
|
|
16221
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(body, {
|
|
16222
|
+
ref: refTableBody,
|
|
16223
|
+
tableData,
|
|
16224
|
+
tableColumn
|
|
16225
|
+
}),
|
|
16226
|
+
/**
|
|
16227
|
+
* 表尾
|
|
16228
|
+
*/
|
|
16229
|
+
showFooter ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(footer, {
|
|
16230
|
+
ref: refTableFooter,
|
|
16231
|
+
footerTableData,
|
|
16232
|
+
tableColumn
|
|
16233
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16234
|
+
class: 'vxe-table--fixed-wrapper'
|
|
16235
|
+
}, [
|
|
16236
|
+
/**
|
|
16237
|
+
* 左侧固定区域
|
|
16238
|
+
*/
|
|
16239
|
+
leftList && leftList.length && overflowX ? renderFixed('left') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16240
|
+
/**
|
|
16241
|
+
* 右侧固定区域
|
|
16242
|
+
*/
|
|
16243
|
+
rightList && rightList.length && overflowX ? renderFixed('right') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])]),
|
|
16244
|
+
/**
|
|
16245
|
+
* 空数据
|
|
16246
|
+
*/
|
|
16247
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16248
|
+
ref: refEmptyPlaceholder,
|
|
16249
|
+
class: 'vxe-table--empty-placeholder'
|
|
16250
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16251
|
+
class: 'vxe-table--empty-content'
|
|
16252
|
+
}, renderEmptyContenet())]),
|
|
16253
|
+
/**
|
|
16254
|
+
* 边框线
|
|
16255
|
+
*/
|
|
16256
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16257
|
+
class: 'vxe-table--border-line'
|
|
16258
|
+
}),
|
|
16259
|
+
/**
|
|
16260
|
+
* 列宽线
|
|
16261
|
+
*/
|
|
16262
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16263
|
+
ref: refCellResizeBar,
|
|
16264
|
+
class: 'vxe-table--resizable-bar',
|
|
16265
|
+
style: overflowX ? {
|
|
16266
|
+
'padding-bottom': `${scrollbarHeight}px`
|
|
16267
|
+
} : null
|
|
16268
|
+
}),
|
|
16269
|
+
/**
|
|
16270
|
+
* 加载中
|
|
16271
|
+
*/
|
|
16272
|
+
VxeUILoadingComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUILoadingComponent, {
|
|
16273
|
+
class: 'vxe-table--loading',
|
|
16274
|
+
modelValue: currLoading,
|
|
16275
|
+
icon: loadingOpts.icon,
|
|
16276
|
+
text: loadingOpts.text
|
|
16277
|
+
}, loadingSlot ? {
|
|
16278
|
+
default: () => loadingSlot({
|
|
16279
|
+
$table: $xeTable,
|
|
16280
|
+
$grid: $xeGrid
|
|
16281
|
+
})
|
|
16282
|
+
} : {}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16283
|
+
/**
|
|
16284
|
+
* 自定义列
|
|
16285
|
+
*/
|
|
16286
|
+
initStore.custom ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(panel, {
|
|
16287
|
+
ref: refTableCustom,
|
|
16288
|
+
customStore
|
|
16289
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16290
|
+
/**
|
|
16291
|
+
* 筛选
|
|
16292
|
+
*/
|
|
16293
|
+
initStore.filter ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(filter_panel, {
|
|
16294
|
+
ref: refTableFilter,
|
|
16295
|
+
filterStore
|
|
16296
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16297
|
+
/**
|
|
16298
|
+
* 导入
|
|
16299
|
+
*/
|
|
16300
|
+
initStore.import && props.importConfig ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(import_panel, {
|
|
16301
|
+
defaultOptions: reactData.importParams,
|
|
16302
|
+
storeData: reactData.importStore
|
|
16303
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16304
|
+
/**
|
|
16305
|
+
* 导出
|
|
16306
|
+
*/
|
|
16307
|
+
initStore.export && (props.exportConfig || props.printConfig) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(export_panel, {
|
|
16308
|
+
defaultOptions: reactData.exportParams,
|
|
16309
|
+
storeData: reactData.exportStore
|
|
16310
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16311
|
+
/**
|
|
16312
|
+
* 快捷菜单
|
|
16313
|
+
*/
|
|
16314
|
+
isMenu ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(menu_panel, {
|
|
16315
|
+
ref: refTableMenu
|
|
16316
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16317
|
+
/**
|
|
16318
|
+
* 提示相关
|
|
16319
|
+
*/
|
|
16320
|
+
VxeUITooltipComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {}, [
|
|
16321
|
+
/**
|
|
16322
|
+
* 通用提示
|
|
16323
|
+
*/
|
|
16324
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, {
|
|
16325
|
+
ref: refCommTooltip,
|
|
16326
|
+
isArrow: false,
|
|
16327
|
+
enterable: false
|
|
16328
|
+
}),
|
|
16329
|
+
/**
|
|
16330
|
+
* 工具提示
|
|
16331
|
+
*/
|
|
16332
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, Object.assign({
|
|
16333
|
+
ref: refTooltip
|
|
16334
|
+
}, tipConfig, tooltipStore.currOpts)),
|
|
16335
|
+
/**
|
|
16336
|
+
* 校验提示
|
|
16337
|
+
*/
|
|
16338
|
+
props.editRules && validOpts.showMessage && (validOpts.message === 'default' ? !height : validOpts.message === 'tooltip') ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, {
|
|
16339
|
+
ref: refValidTooltip,
|
|
16340
|
+
class: [{
|
|
16341
|
+
'old-cell-valid': editRules && table_getConfig().cellVaildMode === 'obsolete'
|
|
16342
|
+
}, 'vxe-table--valid-error'],
|
|
16343
|
+
...(validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : {})
|
|
16344
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
16345
|
+
};
|
|
16120
16346
|
const dataFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
|
|
16121
16347
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.data ? props.data.length : -1, () => {
|
|
16122
16348
|
dataFlag.value++;
|
|
@@ -16504,239 +16730,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16504
16730
|
$table: $xeTable
|
|
16505
16731
|
});
|
|
16506
16732
|
});
|
|
16507
|
-
const renderVN = () => {
|
|
16508
|
-
const {
|
|
16509
|
-
loading,
|
|
16510
|
-
stripe,
|
|
16511
|
-
showHeader,
|
|
16512
|
-
height,
|
|
16513
|
-
treeConfig,
|
|
16514
|
-
mouseConfig,
|
|
16515
|
-
showFooter,
|
|
16516
|
-
highlightCell,
|
|
16517
|
-
highlightHoverRow,
|
|
16518
|
-
highlightHoverColumn,
|
|
16519
|
-
editConfig,
|
|
16520
|
-
editRules
|
|
16521
|
-
} = props;
|
|
16522
|
-
const {
|
|
16523
|
-
isCalcColumn,
|
|
16524
|
-
isGroup,
|
|
16525
|
-
overflowX,
|
|
16526
|
-
overflowY,
|
|
16527
|
-
scrollXLoad,
|
|
16528
|
-
scrollYLoad,
|
|
16529
|
-
scrollbarHeight,
|
|
16530
|
-
tableData,
|
|
16531
|
-
tableColumn,
|
|
16532
|
-
tableGroupColumn,
|
|
16533
|
-
footerTableData,
|
|
16534
|
-
initStore,
|
|
16535
|
-
columnStore,
|
|
16536
|
-
filterStore,
|
|
16537
|
-
customStore,
|
|
16538
|
-
tooltipStore
|
|
16539
|
-
} = reactData;
|
|
16540
|
-
const {
|
|
16541
|
-
leftList,
|
|
16542
|
-
rightList
|
|
16543
|
-
} = columnStore;
|
|
16544
|
-
const loadingSlot = slots.loading;
|
|
16545
|
-
const tipConfig = computeTipConfig.value;
|
|
16546
|
-
const validOpts = computeValidOpts.value;
|
|
16547
|
-
const checkboxOpts = computeCheckboxOpts.value;
|
|
16548
|
-
const treeOpts = computeTreeOpts.value;
|
|
16549
|
-
const rowOpts = computeRowOpts.value;
|
|
16550
|
-
const columnOpts = computeColumnOpts.value;
|
|
16551
|
-
const vSize = computeSize.value;
|
|
16552
|
-
const tableBorder = computeTableBorder.value;
|
|
16553
|
-
const mouseOpts = computeMouseOpts.value;
|
|
16554
|
-
const validTipOpts = computeValidTipOpts.value;
|
|
16555
|
-
const loadingOpts = computeLoadingOpts.value;
|
|
16556
|
-
const isMenu = computeIsMenu.value;
|
|
16557
|
-
const currLoading = reactData._isLoading || loading;
|
|
16558
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16559
|
-
ref: refElem,
|
|
16560
|
-
class: ['vxe-table', 'vxe-table--render-default', `tid_${xID}`, `border--${tableBorder}`, {
|
|
16561
|
-
[`size--${vSize}`]: vSize,
|
|
16562
|
-
[`valid-msg--${validOpts.msgMode}`]: !!editRules,
|
|
16563
|
-
'vxe-editable': !!editConfig,
|
|
16564
|
-
'old-cell-valid': editRules && table_getConfig().cellVaildMode === 'obsolete',
|
|
16565
|
-
'cell--highlight': highlightCell,
|
|
16566
|
-
'cell--selected': mouseConfig && mouseOpts.selected,
|
|
16567
|
-
'cell--area': mouseConfig && mouseOpts.area,
|
|
16568
|
-
'row--highlight': rowOpts.isHover || highlightHoverRow,
|
|
16569
|
-
'column--highlight': columnOpts.isHover || highlightHoverColumn,
|
|
16570
|
-
'checkbox--range': checkboxOpts.range,
|
|
16571
|
-
'column--calc': isCalcColumn,
|
|
16572
|
-
'is--header': showHeader,
|
|
16573
|
-
'is--footer': showFooter,
|
|
16574
|
-
'is--group': isGroup,
|
|
16575
|
-
'is--tree-line': treeConfig && (treeOpts.showLine || treeOpts.line),
|
|
16576
|
-
'is--fixed-left': leftList.length,
|
|
16577
|
-
'is--fixed-right': rightList.length,
|
|
16578
|
-
'is--animat': !!props.animat,
|
|
16579
|
-
'is--padding': props.padding,
|
|
16580
|
-
'is--round': props.round,
|
|
16581
|
-
'is--stripe': !treeConfig && stripe,
|
|
16582
|
-
'is--loading': currLoading,
|
|
16583
|
-
'is--empty': !currLoading && !tableData.length,
|
|
16584
|
-
'is--scroll-y': overflowY,
|
|
16585
|
-
'is--scroll-x': overflowX,
|
|
16586
|
-
'is--virtual-x': scrollXLoad,
|
|
16587
|
-
'is--virtual-y': scrollYLoad
|
|
16588
|
-
}],
|
|
16589
|
-
spellcheck: false,
|
|
16590
|
-
onKeydown: keydownEvent
|
|
16591
|
-
}, [
|
|
16592
|
-
/**
|
|
16593
|
-
* 隐藏列
|
|
16594
|
-
*/
|
|
16595
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16596
|
-
class: 'vxe-table-slots'
|
|
16597
|
-
}, slots.default ? slots.default({}) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16598
|
-
class: 'vxe-table--render-wrapper'
|
|
16599
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16600
|
-
class: 'vxe-table--main-wrapper'
|
|
16601
|
-
}, [
|
|
16602
|
-
/**
|
|
16603
|
-
* 表头
|
|
16604
|
-
*/
|
|
16605
|
-
showHeader ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(header, {
|
|
16606
|
-
ref: refTableHeader,
|
|
16607
|
-
tableData,
|
|
16608
|
-
tableColumn,
|
|
16609
|
-
tableGroupColumn
|
|
16610
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16611
|
-
/**
|
|
16612
|
-
* 表体
|
|
16613
|
-
*/
|
|
16614
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(body, {
|
|
16615
|
-
ref: refTableBody,
|
|
16616
|
-
tableData,
|
|
16617
|
-
tableColumn
|
|
16618
|
-
}),
|
|
16619
|
-
/**
|
|
16620
|
-
* 表尾
|
|
16621
|
-
*/
|
|
16622
|
-
showFooter ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(footer, {
|
|
16623
|
-
ref: refTableFooter,
|
|
16624
|
-
footerTableData,
|
|
16625
|
-
tableColumn
|
|
16626
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16627
|
-
class: 'vxe-table--fixed-wrapper'
|
|
16628
|
-
}, [
|
|
16629
|
-
/**
|
|
16630
|
-
* 左侧固定区域
|
|
16631
|
-
*/
|
|
16632
|
-
leftList && leftList.length && overflowX ? renderFixed('left') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16633
|
-
/**
|
|
16634
|
-
* 右侧固定区域
|
|
16635
|
-
*/
|
|
16636
|
-
rightList && rightList.length && overflowX ? renderFixed('right') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])]),
|
|
16637
|
-
/**
|
|
16638
|
-
* 空数据
|
|
16639
|
-
*/
|
|
16640
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16641
|
-
ref: refEmptyPlaceholder,
|
|
16642
|
-
class: 'vxe-table--empty-placeholder'
|
|
16643
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16644
|
-
class: 'vxe-table--empty-content'
|
|
16645
|
-
}, renderEmptyContenet())]),
|
|
16646
|
-
/**
|
|
16647
|
-
* 边框线
|
|
16648
|
-
*/
|
|
16649
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16650
|
-
class: 'vxe-table--border-line'
|
|
16651
|
-
}),
|
|
16652
|
-
/**
|
|
16653
|
-
* 列宽线
|
|
16654
|
-
*/
|
|
16655
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16656
|
-
ref: refCellResizeBar,
|
|
16657
|
-
class: 'vxe-table--resizable-bar',
|
|
16658
|
-
style: overflowX ? {
|
|
16659
|
-
'padding-bottom': `${scrollbarHeight}px`
|
|
16660
|
-
} : null
|
|
16661
|
-
}),
|
|
16662
|
-
/**
|
|
16663
|
-
* 加载中
|
|
16664
|
-
*/
|
|
16665
|
-
VxeUILoadingComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUILoadingComponent, {
|
|
16666
|
-
class: 'vxe-table--loading',
|
|
16667
|
-
modelValue: currLoading,
|
|
16668
|
-
icon: loadingOpts.icon,
|
|
16669
|
-
text: loadingOpts.text
|
|
16670
|
-
}, loadingSlot ? {
|
|
16671
|
-
default: () => loadingSlot({
|
|
16672
|
-
$table: $xeTable,
|
|
16673
|
-
$grid: $xeGrid
|
|
16674
|
-
})
|
|
16675
|
-
} : {}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16676
|
-
/**
|
|
16677
|
-
* 自定义列
|
|
16678
|
-
*/
|
|
16679
|
-
initStore.custom ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(panel, {
|
|
16680
|
-
ref: refTableCustom,
|
|
16681
|
-
customStore
|
|
16682
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16683
|
-
/**
|
|
16684
|
-
* 筛选
|
|
16685
|
-
*/
|
|
16686
|
-
initStore.filter ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(filter_panel, {
|
|
16687
|
-
ref: refTableFilter,
|
|
16688
|
-
filterStore
|
|
16689
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16690
|
-
/**
|
|
16691
|
-
* 导入
|
|
16692
|
-
*/
|
|
16693
|
-
initStore.import && props.importConfig ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(import_panel, {
|
|
16694
|
-
defaultOptions: reactData.importParams,
|
|
16695
|
-
storeData: reactData.importStore
|
|
16696
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16697
|
-
/**
|
|
16698
|
-
* 导出
|
|
16699
|
-
*/
|
|
16700
|
-
initStore.export && (props.exportConfig || props.printConfig) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(export_panel, {
|
|
16701
|
-
defaultOptions: reactData.exportParams,
|
|
16702
|
-
storeData: reactData.exportStore
|
|
16703
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16704
|
-
/**
|
|
16705
|
-
* 快捷菜单
|
|
16706
|
-
*/
|
|
16707
|
-
isMenu ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(menu_panel, {
|
|
16708
|
-
ref: refTableMenu
|
|
16709
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
16710
|
-
/**
|
|
16711
|
-
* 提示相关
|
|
16712
|
-
*/
|
|
16713
|
-
VxeUITooltipComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {}, [
|
|
16714
|
-
/**
|
|
16715
|
-
* 通用提示
|
|
16716
|
-
*/
|
|
16717
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, {
|
|
16718
|
-
ref: refCommTooltip,
|
|
16719
|
-
isArrow: false,
|
|
16720
|
-
enterable: false
|
|
16721
|
-
}),
|
|
16722
|
-
/**
|
|
16723
|
-
* 工具提示
|
|
16724
|
-
*/
|
|
16725
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, Object.assign({
|
|
16726
|
-
ref: refTooltip
|
|
16727
|
-
}, tipConfig, tooltipStore.currOpts)),
|
|
16728
|
-
/**
|
|
16729
|
-
* 校验提示
|
|
16730
|
-
*/
|
|
16731
|
-
props.editRules && validOpts.showMessage && (validOpts.message === 'default' ? !height : validOpts.message === 'tooltip') ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, {
|
|
16732
|
-
ref: refValidTooltip,
|
|
16733
|
-
class: [{
|
|
16734
|
-
'old-cell-valid': editRules && table_getConfig().cellVaildMode === 'obsolete'
|
|
16735
|
-
}, 'vxe-table--valid-error'],
|
|
16736
|
-
...(validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : {})
|
|
16737
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
16738
|
-
};
|
|
16739
|
-
$xeTable.renderVN = renderVN;
|
|
16740
16733
|
if (true) {
|
|
16741
16734
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
16742
16735
|
if (props.loading) {
|
|
@@ -16753,6 +16746,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16753
16746
|
}
|
|
16754
16747
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeColgroup', null);
|
|
16755
16748
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeTable', $xeTable);
|
|
16749
|
+
$xeTable.renderVN = renderVN;
|
|
16756
16750
|
return $xeTable;
|
|
16757
16751
|
},
|
|
16758
16752
|
render() {
|
|
@@ -22433,6 +22427,23 @@ render_renderer.mixin({
|
|
|
22433
22427
|
})];
|
|
22434
22428
|
}
|
|
22435
22429
|
},
|
|
22430
|
+
VxeTextEllipsis: {
|
|
22431
|
+
renderTableDefault(renderOpts, params) {
|
|
22432
|
+
const {
|
|
22433
|
+
row,
|
|
22434
|
+
column
|
|
22435
|
+
} = params;
|
|
22436
|
+
const {
|
|
22437
|
+
props
|
|
22438
|
+
} = renderOpts;
|
|
22439
|
+
const cellValue = getCellValue(row, column);
|
|
22440
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(getDefaultComponent(renderOpts), {
|
|
22441
|
+
...props,
|
|
22442
|
+
content: cellValue,
|
|
22443
|
+
...getEditOns(renderOpts, params)
|
|
22444
|
+
})];
|
|
22445
|
+
}
|
|
22446
|
+
},
|
|
22436
22447
|
// 以下已废弃
|
|
22437
22448
|
$input: {
|
|
22438
22449
|
tableAutoFocus: '.vxe-input--inner',
|
|
@@ -22628,22 +22639,22 @@ const {
|
|
|
22628
22639
|
let toolbarMethods = {};
|
|
22629
22640
|
const $xeGrid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeGrid', null);
|
|
22630
22641
|
const computeRefreshOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22631
|
-
return Object.assign({}, toolbar_getConfig().toolbar.refresh, props.refresh);
|
|
22642
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.refresh, true), props.refresh);
|
|
22632
22643
|
});
|
|
22633
22644
|
const computeImportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22634
|
-
return Object.assign({}, toolbar_getConfig().toolbar.import, props.import);
|
|
22645
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.import, true), props.import);
|
|
22635
22646
|
});
|
|
22636
22647
|
const computeExportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22637
|
-
return Object.assign({}, toolbar_getConfig().toolbar.export, props.export);
|
|
22648
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.export, true), props.export);
|
|
22638
22649
|
});
|
|
22639
22650
|
const computePrintOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22640
|
-
return Object.assign({}, toolbar_getConfig().toolbar.print, props.print);
|
|
22651
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.print, true), props.print);
|
|
22641
22652
|
});
|
|
22642
22653
|
const computeZoomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22643
|
-
return Object.assign({}, toolbar_getConfig().toolbar.zoom, props.zoom);
|
|
22654
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.zoom, true), props.zoom);
|
|
22644
22655
|
});
|
|
22645
22656
|
const computeCustomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22646
|
-
return Object.assign({}, toolbar_getConfig().toolbar.custom, props.custom);
|
|
22657
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.custom, true), props.custom);
|
|
22647
22658
|
});
|
|
22648
22659
|
const computeTableCustomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22649
22660
|
const {
|
|
@@ -23303,7 +23314,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
|
|
|
23303
23314
|
};
|
|
23304
23315
|
});
|
|
23305
23316
|
const computeProxyOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23306
|
-
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge({}, grid_getConfig().grid.proxyConfig, props.proxyConfig);
|
|
23317
|
+
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.proxyConfig, true), props.proxyConfig);
|
|
23307
23318
|
});
|
|
23308
23319
|
const computeIsRespMsg = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23309
23320
|
const proxyOpts = computeProxyOpts.value;
|
|
@@ -23314,16 +23325,16 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
|
|
|
23314
23325
|
return proxyOpts.showActiveMsg;
|
|
23315
23326
|
});
|
|
23316
23327
|
const computePagerOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23317
|
-
return Object.assign({}, grid_getConfig().grid.pagerConfig, props.pagerConfig);
|
|
23328
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.pagerConfig, true), props.pagerConfig);
|
|
23318
23329
|
});
|
|
23319
23330
|
const computeFormOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23320
|
-
return Object.assign({}, grid_getConfig().grid.formConfig, props.formConfig);
|
|
23331
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.formConfig, true), props.formConfig);
|
|
23321
23332
|
});
|
|
23322
23333
|
const computeToolbarOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23323
|
-
return Object.assign({}, grid_getConfig().grid.toolbarConfig, props.toolbarConfig);
|
|
23334
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.toolbarConfig, true), props.toolbarConfig);
|
|
23324
23335
|
});
|
|
23325
23336
|
const computeZoomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23326
|
-
return Object.assign({}, grid_getConfig().grid.zoomConfig, props.zoomConfig);
|
|
23337
|
+
return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.zoomConfig, true), props.zoomConfig);
|
|
23327
23338
|
});
|
|
23328
23339
|
const computeStyles = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
23329
23340
|
return reactData.isZMax ? {
|
|
@@ -24918,7 +24929,8 @@ const Grid = VxeGrid;
|
|
|
24918
24929
|
zoomIn: '最大化',
|
|
24919
24930
|
zoomOut: '还原',
|
|
24920
24931
|
close: '关闭',
|
|
24921
|
-
miniMaxSize: '最小化窗口的数量不能超过 {0} 个'
|
|
24932
|
+
miniMaxSize: '最小化窗口的数量不能超过 {0} 个',
|
|
24933
|
+
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
|
|
24922
24934
|
},
|
|
24923
24935
|
drawer: {
|
|
24924
24936
|
close: '关闭'
|