vxe-table 3.16.4 → 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/index.css +1 -1
- package/es/index.min.css +1 -1
- 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/style.min.css +1 -1
- package/es/table/src/body.js +1 -1
- package/es/table/src/columnInfo.js +11 -2
- package/es/table/src/header.js +1 -1
- package/es/table/src/table.js +4 -1
- package/es/table/style.css +10 -5
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +10 -5
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +23 -7
- 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/style.min.css +1 -1
- package/lib/table/src/body.js +1 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/columnInfo.js +14 -2
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/header.js +1 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/table.js +4 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +10 -5
- package/lib/table/style/style.min.css +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/lib/vxe-table/style/style.css +10 -5
- package/lib/vxe-table/style/style.min.css +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/body.ts +1 -1
- package/packages/table/src/columnInfo.ts +13 -2
- package/packages/table/src/header.ts +1 -1
- package/packages/table/src/table.ts +4 -1
- package/styles/components/table.scss +12 -8
- package/styles/theme/base.scss +2 -2
- /package/es/{iconfont.1752646203441.ttf → iconfont.1753080034233.ttf} +0 -0
- /package/es/{iconfont.1752646203441.woff → iconfont.1753080034233.woff} +0 -0
- /package/es/{iconfont.1752646203441.woff2 → iconfont.1753080034233.woff2} +0 -0
- /package/lib/{iconfont.1752646203441.ttf → iconfont.1753080034233.ttf} +0 -0
- /package/lib/{iconfont.1752646203441.woff → iconfont.1753080034233.woff} +0 -0
- /package/lib/{iconfont.1752646203441.woff2 → iconfont.1753080034233.woff2} +0 -0
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.
|
|
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.
|
|
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,
|
|
@@ -18547,7 +18559,7 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
18547
18559
|
}
|
|
18548
18560
|
}
|
|
18549
18561
|
})] : null), h('span', {
|
|
18550
|
-
class: 'vxe-table--cell-
|
|
18562
|
+
class: 'vxe-table--cell-clip-area'
|
|
18551
18563
|
}), h('span', {
|
|
18552
18564
|
class: 'vxe-table--cell-extend-area'
|
|
18553
18565
|
}), h('span', {
|
|
@@ -18984,7 +18996,7 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
18984
18996
|
}, [h('span', {
|
|
18985
18997
|
class: 'vxe-table--cell-main-area'
|
|
18986
18998
|
}), h('span', {
|
|
18987
|
-
class: 'vxe-table--cell-
|
|
18999
|
+
class: 'vxe-table--cell-clip-area'
|
|
18988
19000
|
}), h('span', {
|
|
18989
19001
|
class: 'vxe-table--cell-extend-area'
|
|
18990
19002
|
}), h('span', {
|
|
@@ -28802,9 +28814,12 @@ function renderBody(h, $xeTable) {
|
|
|
28802
28814
|
return Object.assign({}, table_getConfig().table.clipConfig, this.clipConfig);
|
|
28803
28815
|
},
|
|
28804
28816
|
fnrOpts() {
|
|
28805
|
-
return this.
|
|
28817
|
+
return this.computeFnrOpts;
|
|
28806
28818
|
},
|
|
28807
28819
|
computeFNROpts() {
|
|
28820
|
+
return this.computeFnrOpts;
|
|
28821
|
+
},
|
|
28822
|
+
computeFnrOpts() {
|
|
28808
28823
|
return Object.assign({}, table_getConfig().table.fnrConfig, this.fnrConfig);
|
|
28809
28824
|
},
|
|
28810
28825
|
headerCtxMenu() {
|
|
@@ -34132,6 +34147,7 @@ const Toolbar = VxeToolbar;
|
|
|
34132
34147
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
34133
34148
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
34134
34149
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
34150
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
34135
34151
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
34136
34152
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
34137
34153
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|