vxe-table 4.7.91 → 4.7.93
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/en-US.js +3 -1
- package/es/locale/lang/es-ES.js +6 -1
- package/es/locale/lang/hu-HU.js +6 -1
- package/es/locale/lang/ja-JP.js +6 -1
- package/es/locale/lang/ko-KR.js +6 -1
- package/es/locale/lang/pt-BR.js +6 -1
- package/es/locale/lang/ru-RU.js +6 -1
- package/es/locale/lang/uk-UA.js +6 -1
- package/es/locale/lang/vi-VN.js +6 -1
- package/es/locale/lang/zh-CHT.js +6 -1
- package/es/locale/lang/zh-CN.js +6 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/render/index.js +3 -0
- package/es/table/src/body.js +1 -1
- package/es/table/src/footer.js +6 -2
- package/es/table/src/header.js +6 -2
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +33 -9
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +3 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +3 -1
- package/lib/locale/lang/es-ES.js +6 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +6 -1
- package/lib/locale/lang/hu-HU.js +6 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +6 -1
- package/lib/locale/lang/ja-JP.js +6 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +6 -1
- package/lib/locale/lang/ko-KR.js +6 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +6 -1
- package/lib/locale/lang/pt-BR.js +6 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +6 -1
- package/lib/locale/lang/ru-RU.js +6 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +6 -1
- package/lib/locale/lang/uk-UA.js +6 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +6 -1
- package/lib/locale/lang/vi-VN.js +6 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +6 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CN.js +6 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +6 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/render/index.js +3 -0
- package/lib/table/render/index.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 +10 -2
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +10 -2
- package/lib/table/src/header.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/package.json +2 -2
- package/packages/locale/lang/en-US.ts +3 -1
- package/packages/locale/lang/es-ES.ts +6 -1
- package/packages/locale/lang/hu-HU.ts +6 -1
- package/packages/locale/lang/ja-JP.ts +6 -1
- package/packages/locale/lang/ko-KR.ts +6 -1
- package/packages/locale/lang/pt-BR.ts +6 -1
- package/packages/locale/lang/ru-RU.ts +6 -1
- package/packages/locale/lang/uk-UA.ts +6 -1
- package/packages/locale/lang/vi-VN.ts +6 -1
- package/packages/locale/lang/zh-CHT.ts +6 -1
- package/packages/locale/lang/zh-CN.ts +6 -1
- package/packages/table/render/index.ts +3 -0
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/footer.ts +7 -2
- package/packages/table/src/header.ts +7 -2
- /package/es/{iconfont.1729165715485.ttf → iconfont.1729498187676.ttf} +0 -0
- /package/es/{iconfont.1729165715485.woff → iconfont.1729498187676.woff} +0 -0
- /package/es/{iconfont.1729165715485.woff2 → iconfont.1729498187676.woff2} +0 -0
- /package/lib/{iconfont.1729165715485.ttf → iconfont.1729498187676.ttf} +0 -0
- /package/lib/{iconfont.1729165715485.woff → iconfont.1729498187676.woff} +0 -0
- /package/lib/{iconfont.1729165715485.woff2 → iconfont.1729498187676.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.93";
|
|
2002
2002
|
core_.VxeUI.version = version;
|
|
2003
|
-
core_.VxeUI.tableVersion = "4.7.
|
|
2003
|
+
core_.VxeUI.tableVersion = "4.7.93";
|
|
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.93"}`;
|
|
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
|
|
@@ -4849,7 +4849,7 @@ const lineOffsetSizes = {
|
|
|
4849
4849
|
let hasEllipsis = showTitle || showTooltip || showEllipsis;
|
|
4850
4850
|
let isDirty;
|
|
4851
4851
|
const tdOns = {};
|
|
4852
|
-
const cellAlign = align || allAlign;
|
|
4852
|
+
const cellAlign = align || (compConf ? compConf.tableCellAlign : '') || allAlign;
|
|
4853
4853
|
const errorValidItem = validErrorMaps[`${rowid}:${colid}`];
|
|
4854
4854
|
const showValidTip = editRules && validOpts.showMessage && (validOpts.message === 'default' ? height || tableData.length > 1 : validOpts.message === 'inline');
|
|
4855
4855
|
const attrs = {
|
|
@@ -5669,6 +5669,10 @@ const lineOffsetSizes = {
|
|
|
5669
5669
|
|
|
5670
5670
|
|
|
5671
5671
|
|
|
5672
|
+
|
|
5673
|
+
const {
|
|
5674
|
+
renderer: header_renderer
|
|
5675
|
+
} = core_.VxeUI;
|
|
5672
5676
|
const header_renderType = 'header';
|
|
5673
5677
|
/* harmony default export */ var header = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
5674
5678
|
name: 'VxeTableHeader',
|
|
@@ -5946,13 +5950,17 @@ const header_renderType = 'header';
|
|
|
5946
5950
|
showHeaderOverflow,
|
|
5947
5951
|
headerAlign,
|
|
5948
5952
|
align,
|
|
5949
|
-
headerClassName
|
|
5953
|
+
headerClassName,
|
|
5954
|
+
editRender,
|
|
5955
|
+
cellRender
|
|
5950
5956
|
} = column;
|
|
5951
5957
|
const colid = column.id;
|
|
5958
|
+
const renderOpts = editRender || cellRender;
|
|
5959
|
+
const compConf = renderOpts ? header_renderer.get(renderOpts.name) : null;
|
|
5952
5960
|
const isColGroup = column.children && column.children.length;
|
|
5953
5961
|
const fixedHiddenColumn = fixedType ? column.fixed !== fixedType && !isColGroup : !!column.fixed && overflowX;
|
|
5954
5962
|
const headOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
5955
|
-
const headAlign = headerAlign ||
|
|
5963
|
+
const headAlign = headerAlign || (compConf ? compConf.tableHeaderCellAlign : '') || allHeaderAlign || align || (compConf ? compConf.tableCellAlign : '') || allAlign;
|
|
5956
5964
|
let showEllipsis = headOverflow === 'ellipsis';
|
|
5957
5965
|
const showTitle = headOverflow === 'title';
|
|
5958
5966
|
const showTooltip = headOverflow === true || headOverflow === 'tooltip';
|
|
@@ -6040,6 +6048,10 @@ const header_renderType = 'header';
|
|
|
6040
6048
|
|
|
6041
6049
|
|
|
6042
6050
|
|
|
6051
|
+
|
|
6052
|
+
const {
|
|
6053
|
+
renderer: footer_renderer
|
|
6054
|
+
} = core_.VxeUI;
|
|
6043
6055
|
const footer_renderType = 'footer';
|
|
6044
6056
|
function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
|
|
6045
6057
|
for (let mIndex = 0; mIndex < mergeFooterList.length; mIndex++) {
|
|
@@ -6279,13 +6291,17 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
|
|
|
6279
6291
|
showFooterOverflow,
|
|
6280
6292
|
footerAlign,
|
|
6281
6293
|
align,
|
|
6282
|
-
footerClassName
|
|
6294
|
+
footerClassName,
|
|
6295
|
+
editRender,
|
|
6296
|
+
cellRender
|
|
6283
6297
|
} = column;
|
|
6298
|
+
const renderOpts = editRender || cellRender;
|
|
6299
|
+
const compConf = renderOpts ? footer_renderer.get(renderOpts.name) : null;
|
|
6284
6300
|
const showAllTip = tooltipOpts.showAll;
|
|
6285
6301
|
const isColGroup = column.children && column.children.length;
|
|
6286
6302
|
const fixedHiddenColumn = fixedType ? column.fixed !== fixedType && !isColGroup : column.fixed && overflowX;
|
|
6287
6303
|
const footOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(showFooterOverflow) ? allColumnFooterOverflow : showFooterOverflow;
|
|
6288
|
-
const footAlign = footerAlign ||
|
|
6304
|
+
const footAlign = footerAlign || (compConf ? compConf.tableFooterCellAlign : '') || allFooterAlign || align || (compConf ? compConf.tableCellAlign : '') || allAlign;
|
|
6289
6305
|
let showEllipsis = footOverflow === 'ellipsis';
|
|
6290
6306
|
const showTitle = footOverflow === 'title';
|
|
6291
6307
|
const showTooltip = footOverflow === true || footOverflow === 'tooltip';
|
|
@@ -22477,6 +22493,9 @@ render_renderer.mixin({
|
|
|
22477
22493
|
VxeRate: {
|
|
22478
22494
|
renderTableDefault: defaultEditRender
|
|
22479
22495
|
},
|
|
22496
|
+
VxeSlider: {
|
|
22497
|
+
renderTableDefault: defaultEditRender
|
|
22498
|
+
},
|
|
22480
22499
|
// 以下已废弃
|
|
22481
22500
|
$input: {
|
|
22482
22501
|
tableAutoFocus: '.vxe-input--inner',
|
|
@@ -25082,6 +25101,9 @@ const Grid = VxeGrid;
|
|
|
25082
25101
|
fileTitle: '上传文件'
|
|
25083
25102
|
}
|
|
25084
25103
|
},
|
|
25104
|
+
empty: {
|
|
25105
|
+
defText: '暂无数据'
|
|
25106
|
+
},
|
|
25085
25107
|
formDesign: {
|
|
25086
25108
|
formName: '表单名称',
|
|
25087
25109
|
defFormTitle: '未命名的表单',
|
|
@@ -25139,7 +25161,9 @@ const Grid = VxeGrid;
|
|
|
25139
25161
|
VxeRadioGroup: '单选框',
|
|
25140
25162
|
VxeCheckboxGroup: '复选框',
|
|
25141
25163
|
VxeUploadFile: '文件',
|
|
25142
|
-
VxeUploadImage: '图片'
|
|
25164
|
+
VxeUploadImage: '图片',
|
|
25165
|
+
VxeRate: '评分',
|
|
25166
|
+
VxeSlider: '滑块'
|
|
25143
25167
|
}
|
|
25144
25168
|
},
|
|
25145
25169
|
widgetProp: {
|