vxe-table 3.17.0-beta.0 → 3.17.0-beta.1
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/locale/lang/ar-EG.js +1 -0
- package/es/locale/lang/de-DE.js +1 -0
- package/es/locale/lang/en-US.js +1 -0
- package/es/locale/lang/es-ES.js +1 -0
- package/es/locale/lang/fr-FR.js +1 -0
- package/es/locale/lang/hu-HU.js +1 -0
- package/es/locale/lang/hy-AM.js +1 -0
- package/es/locale/lang/id-ID.js +1 -0
- package/es/locale/lang/it-IT.js +1 -0
- package/es/locale/lang/ja-JP.js +1 -0
- package/es/locale/lang/ko-KR.js +1 -0
- package/es/locale/lang/ms-MY.js +1 -0
- package/es/locale/lang/nb-NO.js +1 -0
- package/es/locale/lang/pt-BR.js +1 -0
- package/es/locale/lang/ru-RU.js +1 -0
- package/es/locale/lang/th-TH.js +1 -0
- package/es/locale/lang/ug-CN.js +1 -0
- package/es/locale/lang/uk-UA.js +1 -0
- package/es/locale/lang/uz-UZ.js +1 -0
- package/es/locale/lang/vi-VN.js +1 -0
- package/es/locale/lang/zh-CHT.js +1 -0
- package/es/locale/lang/zh-CN.js +1 -0
- package/es/style.css +1 -1
- package/es/table/src/columnInfo.js +11 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +17 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +1 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +1 -0
- package/lib/locale/lang/de-DE.js +1 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +1 -0
- package/lib/locale/lang/en-US.js +1 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -0
- package/lib/locale/lang/es-ES.js +1 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +1 -0
- package/lib/locale/lang/fr-FR.js +1 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +1 -0
- package/lib/locale/lang/hu-HU.js +1 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +1 -0
- package/lib/locale/lang/hy-AM.js +1 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +1 -0
- package/lib/locale/lang/id-ID.js +1 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +1 -0
- package/lib/locale/lang/it-IT.js +1 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +1 -0
- package/lib/locale/lang/ja-JP.js +1 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -0
- package/lib/locale/lang/ko-KR.js +1 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +1 -0
- package/lib/locale/lang/ms-MY.js +1 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +1 -0
- package/lib/locale/lang/nb-NO.js +1 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +1 -0
- package/lib/locale/lang/pt-BR.js +1 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +1 -0
- package/lib/locale/lang/ru-RU.js +1 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +1 -0
- package/lib/locale/lang/th-TH.js +1 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +1 -0
- package/lib/locale/lang/ug-CN.js +1 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +1 -0
- package/lib/locale/lang/uk-UA.js +1 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +1 -0
- package/lib/locale/lang/uz-UZ.js +1 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +1 -0
- package/lib/locale/lang/vi-VN.js +1 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +1 -0
- package/lib/locale/lang/zh-CHT.js +1 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +1 -0
- package/lib/locale/lang/zh-CN.js +1 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -0
- package/lib/style.css +1 -1
- package/lib/table/src/columnInfo.js +14 -2
- package/lib/table/src/columnInfo.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/locale/lang/ar-EG.ts +1 -0
- package/packages/locale/lang/de-DE.ts +1 -0
- package/packages/locale/lang/en-US.ts +1 -0
- package/packages/locale/lang/es-ES.ts +1 -0
- package/packages/locale/lang/fr-FR.ts +1 -0
- package/packages/locale/lang/hu-HU.ts +1 -0
- package/packages/locale/lang/hy-AM.ts +1 -0
- package/packages/locale/lang/id-ID.ts +1 -0
- package/packages/locale/lang/it-IT.ts +1 -0
- package/packages/locale/lang/ja-JP.ts +1 -0
- package/packages/locale/lang/ko-KR.ts +1 -0
- package/packages/locale/lang/ms-MY.ts +1 -0
- package/packages/locale/lang/nb-NO.ts +1 -0
- package/packages/locale/lang/pt-BR.ts +1 -0
- package/packages/locale/lang/ru-RU.ts +1 -0
- package/packages/locale/lang/th-TH.ts +1 -0
- package/packages/locale/lang/ug-CN.ts +1 -0
- package/packages/locale/lang/uk-UA.ts +1 -0
- package/packages/locale/lang/uz-UZ.ts +1 -0
- package/packages/locale/lang/vi-VN.ts +1 -0
- package/packages/locale/lang/zh-CHT.ts +1 -0
- package/packages/locale/lang/zh-CN.ts +1 -0
- package/packages/table/src/columnInfo.ts +13 -2
- /package/es/{iconfont.1752731409459.ttf → iconfont.1753080034233.ttf} +0 -0
- /package/es/{iconfont.1752731409459.woff → iconfont.1753080034233.woff} +0 -0
- /package/es/{iconfont.1752731409459.woff2 → iconfont.1753080034233.woff2} +0 -0
- /package/lib/{iconfont.1752731409459.ttf → iconfont.1753080034233.ttf} +0 -0
- /package/lib/{iconfont.1752731409459.woff → iconfont.1753080034233.woff} +0 -0
- /package/lib/{iconfont.1752731409459.woff2 → iconfont.1753080034233.woff2} +0 -0
|
@@ -9,6 +9,7 @@ export class ColumnInfo {
|
|
|
9
9
|
constructor($xeTable, _vm, { renderHeader, renderCell, renderFooter, renderData } = {}) {
|
|
10
10
|
const tableProps = $xeTable;
|
|
11
11
|
const $xeGrid = $xeTable.$xeGrid;
|
|
12
|
+
const { field, editRender } = _vm;
|
|
12
13
|
const proxyOpts = $xeGrid ? $xeGrid.computeProxyOpts : null;
|
|
13
14
|
const formatter = _vm.formatter;
|
|
14
15
|
const visible = XEUtils.isBoolean(_vm.visible) ? _vm.visible : true;
|
|
@@ -53,11 +54,19 @@ export class ColumnInfo {
|
|
|
53
54
|
errLog('vxe.error.errProp', [`column.agg-func=${_vm.aggFunc}`, 'column.agg-func=true']);
|
|
54
55
|
}
|
|
55
56
|
}
|
|
57
|
+
if (field && editRender) {
|
|
58
|
+
if (editRender.startField && `${editRender.startField}`.indexOf(field) >= 0) {
|
|
59
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.startField=${editRender.startField}`]);
|
|
60
|
+
}
|
|
61
|
+
if (editRender.endField && `${editRender.endField}`.indexOf(field) >= 0) {
|
|
62
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.endField=${editRender.endField}`]);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
56
65
|
Object.assign(this, {
|
|
57
66
|
// 基本属性
|
|
58
67
|
type: _vm.type,
|
|
59
68
|
property: _vm.field,
|
|
60
|
-
field:
|
|
69
|
+
field: field,
|
|
61
70
|
title: _vm.title,
|
|
62
71
|
width: _vm.width,
|
|
63
72
|
minWidth: _vm.minWidth,
|
|
@@ -94,7 +103,7 @@ export class ColumnInfo {
|
|
|
94
103
|
rowResize: _vm.rowResize,
|
|
95
104
|
cellType: _vm.cellType,
|
|
96
105
|
cellRender: _vm.cellRender,
|
|
97
|
-
editRender:
|
|
106
|
+
editRender: editRender,
|
|
98
107
|
contentRender: _vm.contentRender,
|
|
99
108
|
headerExportMethod: _vm.headerExportMethod,
|
|
100
109
|
exportMethod: _vm.exportMethod,
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
|
|
|
2002
2002
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2003
2003
|
|
|
2004
2004
|
|
|
2005
|
-
const version = "3.17.0-beta.
|
|
2005
|
+
const version = "3.17.0-beta.1";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2667,7 +2667,7 @@ function isNodeElement(elem) {
|
|
|
2667
2667
|
const {
|
|
2668
2668
|
log: log_log
|
|
2669
2669
|
} = core_.VxeUI;
|
|
2670
|
-
const log_version = `table v${"3.17.0-beta.
|
|
2670
|
+
const log_version = `table v${"3.17.0-beta.1"}`;
|
|
2671
2671
|
const warnLog = log_log.create('warn', log_version);
|
|
2672
2672
|
const errLog = log_log.create('error', log_version);
|
|
2673
2673
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -2690,6 +2690,10 @@ class ColumnInfo {
|
|
|
2690
2690
|
} = {}) {
|
|
2691
2691
|
const tableProps = $xeTable;
|
|
2692
2692
|
const $xeGrid = $xeTable.$xeGrid;
|
|
2693
|
+
const {
|
|
2694
|
+
field,
|
|
2695
|
+
editRender
|
|
2696
|
+
} = _vm;
|
|
2693
2697
|
const proxyOpts = $xeGrid ? $xeGrid.computeProxyOpts : null;
|
|
2694
2698
|
const formatter = _vm.formatter;
|
|
2695
2699
|
const visible = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(_vm.visible) ? _vm.visible : true;
|
|
@@ -2735,11 +2739,19 @@ class ColumnInfo {
|
|
|
2735
2739
|
errLog('vxe.error.errProp', [`column.agg-func=${_vm.aggFunc}`, 'column.agg-func=true']);
|
|
2736
2740
|
}
|
|
2737
2741
|
}
|
|
2742
|
+
if (field && editRender) {
|
|
2743
|
+
if (editRender.startField && `${editRender.startField}`.indexOf(field) >= 0) {
|
|
2744
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.startField=${editRender.startField}`]);
|
|
2745
|
+
}
|
|
2746
|
+
if (editRender.endField && `${editRender.endField}`.indexOf(field) >= 0) {
|
|
2747
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.endField=${editRender.endField}`]);
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2738
2750
|
Object.assign(this, {
|
|
2739
2751
|
// 基本属性
|
|
2740
2752
|
type: _vm.type,
|
|
2741
2753
|
property: _vm.field,
|
|
2742
|
-
field:
|
|
2754
|
+
field: field,
|
|
2743
2755
|
title: _vm.title,
|
|
2744
2756
|
width: _vm.width,
|
|
2745
2757
|
minWidth: _vm.minWidth,
|
|
@@ -2776,7 +2788,7 @@ class ColumnInfo {
|
|
|
2776
2788
|
rowResize: _vm.rowResize,
|
|
2777
2789
|
cellType: _vm.cellType,
|
|
2778
2790
|
cellRender: _vm.cellRender,
|
|
2779
|
-
editRender:
|
|
2791
|
+
editRender: editRender,
|
|
2780
2792
|
contentRender: _vm.contentRender,
|
|
2781
2793
|
headerExportMethod: _vm.headerExportMethod,
|
|
2782
2794
|
exportMethod: _vm.exportMethod,
|
|
@@ -34135,6 +34147,7 @@ const Toolbar = VxeToolbar;
|
|
|
34135
34147
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
34136
34148
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
34137
34149
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
34150
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
34138
34151
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
34139
34152
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
34140
34153
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|