vxe-table 4.20.2 → 4.20.4
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/dist/all.esm.js +231 -114
- package/dist/style.css +1 -1
- package/es/locale/lang/ar-EG.js +7 -0
- package/es/locale/lang/de-DE.js +7 -0
- package/es/locale/lang/en-US.js +7 -0
- package/es/locale/lang/es-ES.js +7 -0
- package/es/locale/lang/fr-FR.js +7 -0
- package/es/locale/lang/hu-HU.js +7 -0
- package/es/locale/lang/hy-AM.js +7 -0
- package/es/locale/lang/id-ID.js +7 -0
- package/es/locale/lang/it-IT.js +7 -0
- package/es/locale/lang/ja-JP.js +7 -0
- package/es/locale/lang/ko-KR.js +7 -0
- package/es/locale/lang/ms-MY.js +7 -0
- package/es/locale/lang/nb-NO.js +7 -0
- package/es/locale/lang/pt-BR.js +7 -0
- package/es/locale/lang/ru-RU.js +7 -0
- package/es/locale/lang/th-TH.js +7 -0
- package/es/locale/lang/ug-CN.js +7 -0
- package/es/locale/lang/uk-UA.js +7 -0
- package/es/locale/lang/uz-UZ.js +7 -0
- package/es/locale/lang/vi-VN.js +7 -0
- package/es/locale/lang/zh-CHT.js +7 -0
- package/es/locale/lang/zh-CN.js +7 -0
- package/es/style.css +1 -1
- package/es/table/module/export/export-panel.js +61 -47
- package/es/table/module/export/hook.js +105 -27
- package/es/table/module/export/util.js +1 -1
- package/es/table/src/body.js +1 -1
- package/es/table/src/footer.js +1 -1
- package/es/table/src/header.js +5 -3
- package/es/table/src/table.js +48 -34
- package/es/table/src/util.js +1 -0
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +164 -55
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +7 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +7 -0
- package/lib/locale/lang/de-DE.js +7 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +7 -0
- package/lib/locale/lang/en-US.js +7 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +7 -0
- package/lib/locale/lang/es-ES.js +7 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +7 -0
- package/lib/locale/lang/fr-FR.js +7 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +7 -0
- package/lib/locale/lang/hu-HU.js +7 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +7 -0
- package/lib/locale/lang/hy-AM.js +7 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +7 -0
- package/lib/locale/lang/id-ID.js +7 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +7 -0
- package/lib/locale/lang/it-IT.js +7 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +7 -0
- package/lib/locale/lang/ja-JP.js +7 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +7 -0
- package/lib/locale/lang/ko-KR.js +7 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +7 -0
- package/lib/locale/lang/ms-MY.js +7 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +7 -0
- package/lib/locale/lang/nb-NO.js +7 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +7 -0
- package/lib/locale/lang/pt-BR.js +7 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +7 -0
- package/lib/locale/lang/ru-RU.js +7 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +7 -0
- package/lib/locale/lang/th-TH.js +7 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +7 -0
- package/lib/locale/lang/ug-CN.js +7 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +7 -0
- package/lib/locale/lang/uk-UA.js +7 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +7 -0
- package/lib/locale/lang/uz-UZ.js +7 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +7 -0
- package/lib/locale/lang/vi-VN.js +7 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +7 -0
- package/lib/locale/lang/zh-CHT.js +7 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +7 -0
- package/lib/locale/lang/zh-CN.js +7 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +7 -0
- package/lib/style.css +1 -1
- package/lib/table/module/export/export-panel.js +32 -13
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/hook.js +105 -27
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/module/export/util.js +1 -1
- package/lib/table/module/export/util.min.js +1 -1
- package/lib/table/src/body.js +1 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +1 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +6 -3
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/table.js +7 -7
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +1 -0
- package/lib/table/src/util.min.js +1 -1
- package/lib/ui/index.js +2 -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/locale/lang/ar-EG.ts +7 -0
- package/packages/locale/lang/de-DE.ts +7 -0
- package/packages/locale/lang/en-US.ts +7 -0
- package/packages/locale/lang/es-ES.ts +7 -0
- package/packages/locale/lang/fr-FR.ts +7 -0
- package/packages/locale/lang/hu-HU.ts +7 -0
- package/packages/locale/lang/hy-AM.ts +7 -0
- package/packages/locale/lang/id-ID.ts +7 -0
- package/packages/locale/lang/it-IT.ts +7 -0
- package/packages/locale/lang/ja-JP.ts +7 -0
- package/packages/locale/lang/ko-KR.ts +7 -0
- package/packages/locale/lang/ms-MY.ts +7 -0
- package/packages/locale/lang/nb-NO.ts +7 -0
- package/packages/locale/lang/pt-BR.ts +7 -0
- package/packages/locale/lang/ru-RU.ts +7 -0
- package/packages/locale/lang/th-TH.ts +7 -0
- package/packages/locale/lang/ug-CN.ts +7 -0
- package/packages/locale/lang/uk-UA.ts +7 -0
- package/packages/locale/lang/uz-UZ.ts +7 -0
- package/packages/locale/lang/vi-VN.ts +7 -0
- package/packages/locale/lang/zh-CHT.ts +7 -0
- package/packages/locale/lang/zh-CN.ts +7 -0
- package/packages/table/module/export/export-panel.ts +120 -105
- package/packages/table/module/export/hook.ts +112 -28
- package/packages/table/module/export/util.ts +1 -1
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/footer.ts +1 -1
- package/packages/table/src/header.ts +5 -3
- package/packages/table/src/table.ts +48 -34
- package/packages/table/src/util.ts +3 -2
- package/packages/ui/index.ts +1 -0
- /package/es/{iconfont.1784122393131.ttf → iconfont.1784366386890.ttf} +0 -0
- /package/es/{iconfont.1784122393131.woff → iconfont.1784366386890.woff} +0 -0
- /package/es/{iconfont.1784122393131.woff2 → iconfont.1784366386890.woff2} +0 -0
- /package/lib/{iconfont.1784122393131.ttf → iconfont.1784366386890.ttf} +0 -0
- /package/lib/{iconfont.1784122393131.woff → iconfont.1784366386890.woff} +0 -0
- /package/lib/{iconfont.1784122393131.woff2 → iconfont.1784366386890.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -4,7 +4,7 @@ import XEUtils from 'xe-utils';
|
|
|
4
4
|
import { initTpImg, getTpImg, isPx, isScale, hasClass, addClass, removeClass, wheelScrollTopTo, wheelScrollLeftTo, getEventTargetNode, getPaddingTopBottomSize, setScrollTop, setScrollLeft, toCssUnit, hasControlKey, checkTargetElement, hasEventInputTarget } from '../../ui/src/dom';
|
|
5
5
|
import { getLastZIndex, nextZIndex, hasChildrenList, getFuncText, isEnableConf, formatText, eqEmptyValue } from '../../ui/src/utils';
|
|
6
6
|
import { VxeUI } from '../../ui';
|
|
7
|
-
import { createReactData, createInternalData, getRowUniqueId, createRowId, clearTableAllStatus, getColumnList, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, getColReMaxWidth, createHandleUpdateRowId, createHandleGetRowId, getCalcHeight, getCellRestHeight, getLastChildColumn, getRowMaxHeight, handleCustomStoreConfig } from './util';
|
|
7
|
+
import { createReactData, createInternalData, getRowUniqueId, createRowId, clearTableAllStatus, getColumnList, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, getColReMaxWidth, createHandleUpdateRowId, createHandleGetRowId, getCalcHeight, getCellRestHeight, getLastChildColumn, getRowMaxHeight, handleCustomStoreConfig, encodeRowid } from './util';
|
|
8
8
|
import { getSlotVNs } from '../../ui/src/vn';
|
|
9
9
|
import { moveRowAnimateToTb, clearRowAnimate, moveColAnimateToLr, clearColAnimate } from '../../ui/src/anime';
|
|
10
10
|
import { createComponentLog } from '../../ui/src/log';
|
|
@@ -2772,7 +2772,8 @@ export default defineVxeComponent({
|
|
|
2772
2772
|
}
|
|
2773
2773
|
else if (checkRowKeys) {
|
|
2774
2774
|
const defSelection = [];
|
|
2775
|
-
checkRowKeys.forEach((
|
|
2775
|
+
checkRowKeys.forEach((rowKey) => {
|
|
2776
|
+
const rowid = encodeRowid(rowKey);
|
|
2776
2777
|
if (fullDataRowIdData[rowid]) {
|
|
2777
2778
|
defSelection.push(fullDataRowIdData[rowid].row);
|
|
2778
2779
|
}
|
|
@@ -2789,7 +2790,8 @@ export default defineVxeComponent({
|
|
|
2789
2790
|
if (radioConfig) {
|
|
2790
2791
|
const { fullDataRowIdData } = internalData;
|
|
2791
2792
|
const radioOpts = computeRadioOpts.value;
|
|
2792
|
-
const { checkRowKey:
|
|
2793
|
+
const { checkRowKey: rowKey, reserve } = radioOpts;
|
|
2794
|
+
const rowid = rowKey ? encodeRowid(rowKey) : null;
|
|
2793
2795
|
if (rowid) {
|
|
2794
2796
|
if (fullDataRowIdData[rowid]) {
|
|
2795
2797
|
handleCheckedRadioRow(fullDataRowIdData[rowid].row, true);
|
|
@@ -2815,7 +2817,8 @@ export default defineVxeComponent({
|
|
|
2815
2817
|
}
|
|
2816
2818
|
else if (expandRowKeys) {
|
|
2817
2819
|
const defExpandeds = [];
|
|
2818
|
-
expandRowKeys.forEach((
|
|
2820
|
+
expandRowKeys.forEach((rowKey) => {
|
|
2821
|
+
const rowid = encodeRowid(rowKey);
|
|
2819
2822
|
if (fullDataRowIdData[rowid]) {
|
|
2820
2823
|
defExpandeds.push(fullDataRowIdData[rowid].row);
|
|
2821
2824
|
}
|
|
@@ -3074,7 +3077,8 @@ export default defineVxeComponent({
|
|
|
3074
3077
|
}
|
|
3075
3078
|
else if (expandRowKeys) {
|
|
3076
3079
|
const defExpandeds = [];
|
|
3077
|
-
expandRowKeys.forEach((
|
|
3080
|
+
expandRowKeys.forEach((rowKey) => {
|
|
3081
|
+
const rowid = encodeRowid(rowKey);
|
|
3078
3082
|
const rowRest = fullAllDataRowIdData[rowid];
|
|
3079
3083
|
if (rowRest) {
|
|
3080
3084
|
defExpandeds.push(rowRest.row);
|
|
@@ -6397,13 +6401,14 @@ export default defineVxeComponent({
|
|
|
6397
6401
|
}
|
|
6398
6402
|
return handleCheckedCheckboxRow(rows, checked, true);
|
|
6399
6403
|
},
|
|
6400
|
-
|
|
6404
|
+
setCheckboxRowByKey(keys, checked) {
|
|
6401
6405
|
const { fullAllDataRowIdData } = internalData;
|
|
6402
6406
|
if (!XEUtils.isArray(keys)) {
|
|
6403
6407
|
keys = [keys];
|
|
6404
6408
|
}
|
|
6405
6409
|
const rows = [];
|
|
6406
|
-
keys.forEach((
|
|
6410
|
+
keys.forEach((rowKey) => {
|
|
6411
|
+
const rowid = encodeRowid(rowKey);
|
|
6407
6412
|
const rowRest = fullAllDataRowIdData[rowid];
|
|
6408
6413
|
if (rowRest) {
|
|
6409
6414
|
rows.push(rowRest.row);
|
|
@@ -6411,6 +6416,9 @@ export default defineVxeComponent({
|
|
|
6411
6416
|
});
|
|
6412
6417
|
return handleCheckedCheckboxRow(rows, checked, true);
|
|
6413
6418
|
},
|
|
6419
|
+
setCheckboxRowKey(keys, checked) {
|
|
6420
|
+
return $xeTable.setCheckboxRowByKey(keys, checked);
|
|
6421
|
+
},
|
|
6414
6422
|
isCheckedByCheckboxRow(row) {
|
|
6415
6423
|
const { updateCheckboxFlag } = reactData;
|
|
6416
6424
|
const { selectCheckboxMaps } = internalData;
|
|
@@ -6421,11 +6429,12 @@ export default defineVxeComponent({
|
|
|
6421
6429
|
}
|
|
6422
6430
|
return !!updateCheckboxFlag && !!selectCheckboxMaps[getRowid($xeTable, row)];
|
|
6423
6431
|
},
|
|
6424
|
-
isCheckedByCheckboxRowKey(
|
|
6432
|
+
isCheckedByCheckboxRowKey(rowKey) {
|
|
6425
6433
|
const { updateCheckboxFlag } = reactData;
|
|
6426
6434
|
const { fullAllDataRowIdData, selectCheckboxMaps } = internalData;
|
|
6427
6435
|
const checkboxOpts = computeCheckboxOpts.value;
|
|
6428
6436
|
const { checkField } = checkboxOpts;
|
|
6437
|
+
const rowid = encodeRowid(rowKey);
|
|
6429
6438
|
if (checkField) {
|
|
6430
6439
|
const rowRest = fullAllDataRowIdData[rowid];
|
|
6431
6440
|
if (rowRest) {
|
|
@@ -6439,8 +6448,9 @@ export default defineVxeComponent({
|
|
|
6439
6448
|
const { treeIndeterminateRowMaps } = internalData;
|
|
6440
6449
|
return !!treeIndeterminateRowMaps[getRowid($xeTable, row)] && !$xeTable.isCheckedByCheckboxRow(row);
|
|
6441
6450
|
},
|
|
6442
|
-
isIndeterminateByCheckboxRowKey(
|
|
6451
|
+
isIndeterminateByCheckboxRowKey(rowKey) {
|
|
6443
6452
|
const { treeIndeterminateRowMaps } = internalData;
|
|
6453
|
+
const rowid = encodeRowid(rowKey);
|
|
6444
6454
|
return !!treeIndeterminateRowMaps[rowid] && !$xeTable.isCheckedByCheckboxRowKey(rowid);
|
|
6445
6455
|
},
|
|
6446
6456
|
/**
|
|
@@ -6633,14 +6643,18 @@ export default defineVxeComponent({
|
|
|
6633
6643
|
* 用于单选行,设置某一行为选中状态
|
|
6634
6644
|
* @param key 行主键
|
|
6635
6645
|
*/
|
|
6636
|
-
|
|
6646
|
+
setRadioByRowKey(rowKey) {
|
|
6637
6647
|
const { fullAllDataRowIdData } = internalData;
|
|
6648
|
+
const rowid = encodeRowid(rowKey);
|
|
6638
6649
|
const rowRest = fullAllDataRowIdData[rowid];
|
|
6639
6650
|
if (rowRest) {
|
|
6640
6651
|
return handleCheckedRadioRow(rowRest.row, true);
|
|
6641
6652
|
}
|
|
6642
6653
|
return nextTick();
|
|
6643
6654
|
},
|
|
6655
|
+
setRadioRowKey(rowKey) {
|
|
6656
|
+
return $xeTable.setRadioByRowKey(rowKey);
|
|
6657
|
+
},
|
|
6644
6658
|
/**
|
|
6645
6659
|
* 用于当前行,手动清空当前高亮的状态
|
|
6646
6660
|
*/
|
|
@@ -14672,35 +14686,35 @@ export default defineVxeComponent({
|
|
|
14672
14686
|
$xeTable.preventEvent(null, 'unmounted', { $table: $xeTable });
|
|
14673
14687
|
});
|
|
14674
14688
|
nextTick(() => {
|
|
14689
|
+
const { showOverflow, showHeaderOverflow, showFooterOverflow } = props;
|
|
14690
|
+
const tooltipOpts = computeTooltipOpts.value;
|
|
14691
|
+
const headerTooltipOpts = computeHeaderTooltipOpts.value;
|
|
14692
|
+
const footerTooltipOpts = computeFooterTooltipOpts.value;
|
|
14675
14693
|
if (props.loading) {
|
|
14676
14694
|
if (!VxeUILoadingComponent && !slots.loading) {
|
|
14677
|
-
errLog('vxe.error.errProp', ['loading=true', 'loading=false | <template #loading>...</template>']);
|
|
14678
14695
|
errLog('vxe.error.reqComp', ['vxe-loading']);
|
|
14696
|
+
errLog('vxe.error.errProp', ['loading=true', 'loading=false | <template #loading>...</template>']);
|
|
14679
14697
|
}
|
|
14680
14698
|
}
|
|
14681
|
-
if (
|
|
14682
|
-
(
|
|
14683
|
-
(
|
|
14684
|
-
|
|
14685
|
-
|
|
14686
|
-
|
|
14687
|
-
|
|
14688
|
-
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14699
|
-
|
|
14700
|
-
if (props.showFooterOverflow === 'tooltip') {
|
|
14701
|
-
errLog('vxe.error.errProp', ['show-footer-overflow=tooltip', 'show-footer-overflow=title']);
|
|
14702
|
-
}
|
|
14703
|
-
errLog('vxe.error.reqComp', ['vxe-tooltip']);
|
|
14699
|
+
if (!VxeUITooltipComponent) {
|
|
14700
|
+
errLog('vxe.error.reqComp', ['vxe-tooltip']);
|
|
14701
|
+
if (showOverflow === 'tooltip') {
|
|
14702
|
+
errLog('vxe.error.errProp', ['show-overflow=' + showOverflow, 'show-overflow=false,title,ellipsis']);
|
|
14703
|
+
}
|
|
14704
|
+
if (showOverflow === true && tooltipOpts.mode === 'tooltip') {
|
|
14705
|
+
errLog('vxe.error.notSupportProp', ['show-overflow=' + showOverflow, 'tooltip-config.mode=tooltip', 'tooltip-config.mode=title,ellipsis']);
|
|
14706
|
+
}
|
|
14707
|
+
if (showHeaderOverflow === 'tooltip') {
|
|
14708
|
+
errLog('vxe.error.errProp', ['show-header-overflow=' + showHeaderOverflow, 'show-header-overflow=false,title,ellipsis']);
|
|
14709
|
+
}
|
|
14710
|
+
if (showHeaderOverflow === true && headerTooltipOpts.mode === 'tooltip') {
|
|
14711
|
+
errLog('vxe.error.notSupportProp', ['show-header-overflow=' + showHeaderOverflow, 'header-tooltip-config.mode=tooltip', 'header-tooltip-config.mode=title,ellipsis']);
|
|
14712
|
+
}
|
|
14713
|
+
if (showFooterOverflow === 'tooltip') {
|
|
14714
|
+
errLog('vxe.error.errProp', ['show-footer-overflow=' + showFooterOverflow, 'show-footer-overflow=false,title,ellipsis']);
|
|
14715
|
+
}
|
|
14716
|
+
if (showFooterOverflow === true && footerTooltipOpts.mode === 'tooltip') {
|
|
14717
|
+
errLog('vxe.error.notSupportProp', ['show-footer-overflow=' + showFooterOverflow, 'footer-tooltip-config.mode=tooltip', 'footer-tooltip-config.mode=title,ellipsis']);
|
|
14704
14718
|
}
|
|
14705
14719
|
}
|
|
14706
14720
|
});
|
package/es/table/src/util.js
CHANGED
package/es/ui/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
import { getFuncText } from './src/utils';
|
|
3
|
-
export const version = "4.20.
|
|
3
|
+
export const version = "4.20.4";
|
|
4
4
|
VxeUI.version = version;
|
|
5
5
|
VxeUI.tableVersion = version;
|
|
6
6
|
VxeUI.setConfig({
|
|
@@ -66,6 +66,7 @@ VxeUI.setConfig({
|
|
|
66
66
|
strict: true
|
|
67
67
|
},
|
|
68
68
|
tooltipConfig: {
|
|
69
|
+
mode: 'tooltip',
|
|
69
70
|
enterable: true,
|
|
70
71
|
defaultPlacement: 'top'
|
|
71
72
|
},
|
package/es/ui/src/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
const { log } = VxeUI;
|
|
3
|
-
const tableVersion = `table v${"4.20.
|
|
3
|
+
const tableVersion = `table v${"4.20.4"}`;
|
|
4
4
|
export function createComponentLog(name) {
|
|
5
5
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
6
6
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|