vxe-table 3.16.3 → 3.16.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/es/grid/src/grid.js +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +19 -1
- package/es/locale/lang/de-DE.js +19 -1
- package/es/locale/lang/en-US.js +20 -2
- package/es/locale/lang/es-ES.js +19 -1
- package/es/locale/lang/fr-FR.js +19 -1
- package/es/locale/lang/hu-HU.js +19 -1
- package/es/locale/lang/hy-AM.js +18 -0
- package/es/locale/lang/id-ID.js +19 -1
- package/es/locale/lang/it-IT.js +19 -1
- package/es/locale/lang/ja-JP.js +19 -1
- package/es/locale/lang/ko-KR.js +19 -1
- package/es/locale/lang/ms-MY.js +19 -1
- package/es/locale/lang/nb-NO.js +19 -1
- package/es/locale/lang/pt-BR.js +19 -1
- package/es/locale/lang/ru-RU.js +19 -1
- package/es/locale/lang/th-TH.js +19 -1
- package/es/locale/lang/ug-CN.js +19 -1
- package/es/locale/lang/uk-UA.js +19 -1
- package/es/locale/lang/uz-UZ.js +19 -1
- package/es/locale/lang/vi-VN.js +19 -1
- package/es/locale/lang/zh-CHT.js +19 -1
- package/es/locale/lang/zh-CN.js +18 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/methods.js +14 -4
- package/es/table/style.css +1 -0
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -0
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +36 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +19 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +19 -1
- package/lib/locale/lang/de-DE.js +19 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +19 -1
- package/lib/locale/lang/en-US.js +20 -2
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +20 -2
- package/lib/locale/lang/es-ES.js +19 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +19 -1
- package/lib/locale/lang/fr-FR.js +19 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +19 -1
- package/lib/locale/lang/hu-HU.js +19 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +19 -1
- package/lib/locale/lang/hy-AM.js +18 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +18 -0
- package/lib/locale/lang/id-ID.js +19 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +19 -1
- package/lib/locale/lang/it-IT.js +19 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +19 -1
- package/lib/locale/lang/ja-JP.js +19 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +19 -1
- package/lib/locale/lang/ko-KR.js +19 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +19 -1
- package/lib/locale/lang/ms-MY.js +19 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +19 -1
- package/lib/locale/lang/nb-NO.js +19 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +19 -1
- package/lib/locale/lang/pt-BR.js +19 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +19 -1
- package/lib/locale/lang/ru-RU.js +19 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +19 -1
- package/lib/locale/lang/th-TH.js +19 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +19 -1
- package/lib/locale/lang/ug-CN.js +19 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +19 -1
- package/lib/locale/lang/uk-UA.js +19 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +19 -1
- package/lib/locale/lang/uz-UZ.js +19 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +19 -1
- package/lib/locale/lang/vi-VN.js +19 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +19 -1
- package/lib/locale/lang/zh-CHT.js +19 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +19 -1
- package/lib/locale/lang/zh-CN.js +18 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +18 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/methods.js +14 -3
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +1 -0
- package/lib/table/style/style.min.css +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 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +6 -6
- package/packages/locale/lang/ar-EG.ts +19 -1
- package/packages/locale/lang/de-DE.ts +19 -1
- package/packages/locale/lang/en-US.ts +20 -2
- package/packages/locale/lang/es-ES.ts +19 -1
- package/packages/locale/lang/fr-FR.ts +19 -1
- package/packages/locale/lang/hu-HU.ts +19 -1
- package/packages/locale/lang/hy-AM.ts +18 -0
- package/packages/locale/lang/id-ID.ts +19 -1
- package/packages/locale/lang/it-IT.ts +19 -1
- package/packages/locale/lang/ja-JP.ts +19 -1
- package/packages/locale/lang/ko-KR.ts +19 -1
- package/packages/locale/lang/ms-MY.ts +19 -1
- package/packages/locale/lang/nb-NO.ts +19 -1
- package/packages/locale/lang/pt-BR.ts +19 -1
- package/packages/locale/lang/ru-RU.ts +19 -1
- package/packages/locale/lang/th-TH.ts +19 -1
- package/packages/locale/lang/ug-CN.ts +19 -1
- package/packages/locale/lang/uk-UA.ts +19 -1
- package/packages/locale/lang/uz-UZ.ts +19 -1
- package/packages/locale/lang/vi-VN.ts +19 -1
- package/packages/locale/lang/zh-CHT.ts +19 -1
- package/packages/locale/lang/zh-CN.ts +18 -0
- package/packages/table/module/custom/panel.ts +11 -11
- package/packages/table/module/export/export-panel.ts +5 -6
- package/packages/table/module/export/import-panel.ts +3 -4
- package/packages/table/src/methods.ts +14 -5
- package/packages/table/src/table.ts +5 -5
- package/packages/toolbar/src/toolbar.ts +11 -11
- package/packages/ui/index.ts +1 -1
- package/styles/components/table.scss +1 -0
- /package/es/{iconfont.1752211596473.ttf → iconfont.1752646203441.ttf} +0 -0
- /package/es/{iconfont.1752211596473.woff → iconfont.1752646203441.woff} +0 -0
- /package/es/{iconfont.1752211596473.woff2 → iconfont.1752646203441.woff2} +0 -0
- /package/lib/{iconfont.1752211596473.ttf → iconfont.1752646203441.ttf} +0 -0
- /package/lib/{iconfont.1752211596473.woff → iconfont.1752646203441.woff} +0 -0
- /package/lib/{iconfont.1752211596473.woff2 → iconfont.1752646203441.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.16.
|
|
2005
|
+
const version = "3.16.4";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2255,7 +2255,7 @@ core_.VxeUI.setConfig({
|
|
|
2255
2255
|
autoLoad: true,
|
|
2256
2256
|
showLoading: true,
|
|
2257
2257
|
showResponseMsg: true,
|
|
2258
|
-
|
|
2258
|
+
showActionMsg: true,
|
|
2259
2259
|
response: {
|
|
2260
2260
|
list: null,
|
|
2261
2261
|
result: 'result',
|
|
@@ -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.16.
|
|
2670
|
+
const log_version = `table v${"3.16.4"}`;
|
|
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
|
|
@@ -13195,6 +13195,7 @@ const Methods = {
|
|
|
13195
13195
|
const checkboxOpts = $xeTable.computeCheckboxOpts;
|
|
13196
13196
|
const {
|
|
13197
13197
|
checkField,
|
|
13198
|
+
indeterminateField,
|
|
13198
13199
|
checkStrictly,
|
|
13199
13200
|
checkMethod
|
|
13200
13201
|
} = checkboxOpts;
|
|
@@ -13234,6 +13235,10 @@ const Methods = {
|
|
|
13234
13235
|
if (childList && childList.length && !childRowMaps[rowid]) {
|
|
13235
13236
|
childRowMaps[rowid] = 1;
|
|
13236
13237
|
childRowList.unshift([row, rowid, childList]);
|
|
13238
|
+
} else {
|
|
13239
|
+
if (indeterminateField) {
|
|
13240
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().set(row, indeterminateField, false);
|
|
13241
|
+
}
|
|
13237
13242
|
}
|
|
13238
13243
|
}, {
|
|
13239
13244
|
children: transform ? mapChildrenField : childrenField
|
|
@@ -13246,7 +13251,7 @@ const Methods = {
|
|
|
13246
13251
|
let sLen = 0; // 已选
|
|
13247
13252
|
let hLen = 0; // 半选
|
|
13248
13253
|
let vLen = 0; // 有效子行
|
|
13249
|
-
const cLen = childList.length; //
|
|
13254
|
+
const cLen = childList.length; // 子行
|
|
13250
13255
|
childList.forEach(checkMethod ? item => {
|
|
13251
13256
|
const childRowid = handleGetRowId(item);
|
|
13252
13257
|
const isSelect = checkField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(item, checkField) : selectCheckboxMaps[childRowid];
|
|
@@ -13299,6 +13304,9 @@ const Methods = {
|
|
|
13299
13304
|
if (checkField) {
|
|
13300
13305
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().set(row, checkField, isSelected);
|
|
13301
13306
|
}
|
|
13307
|
+
if (indeterminateField) {
|
|
13308
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().set(row, indeterminateField, halfSelect);
|
|
13309
|
+
}
|
|
13302
13310
|
if (isSelected) {
|
|
13303
13311
|
if (!checkField) {
|
|
13304
13312
|
selectCheckboxMaps[rowid] = row;
|
|
@@ -15796,7 +15804,8 @@ const Methods = {
|
|
|
15796
15804
|
const reactData = $xeTable;
|
|
15797
15805
|
const internalData = $xeTable;
|
|
15798
15806
|
const {
|
|
15799
|
-
tableFullData
|
|
15807
|
+
tableFullData,
|
|
15808
|
+
scrollYStore
|
|
15800
15809
|
} = internalData;
|
|
15801
15810
|
const expandOpts = $xeTable.computeExpandOpts;
|
|
15802
15811
|
const {
|
|
@@ -15804,10 +15813,12 @@ const Methods = {
|
|
|
15804
15813
|
} = expandOpts;
|
|
15805
15814
|
const expList = $xeTable.getRowExpandRecords();
|
|
15806
15815
|
internalData.rowExpandedMaps = {};
|
|
15807
|
-
reactData.rowExpandedFlag++;
|
|
15808
15816
|
if (reserve) {
|
|
15809
15817
|
tableFullData.forEach(row => handleRowExpandReserve($xeTable, row, false));
|
|
15810
15818
|
}
|
|
15819
|
+
reactData.rowExpandedFlag++;
|
|
15820
|
+
scrollYStore.startIndex = 0;
|
|
15821
|
+
scrollYStore.endIndex = 1;
|
|
15811
15822
|
return $xeTable.$nextTick().then(() => {
|
|
15812
15823
|
if (expList.length) {
|
|
15813
15824
|
return handleLazyRecalculate($xeTable, true, true, true);
|
|
@@ -31043,7 +31054,7 @@ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default(
|
|
|
31043
31054
|
computeIsActiveMsg() {
|
|
31044
31055
|
const $xeGrid = this;
|
|
31045
31056
|
const proxyOpts = $xeGrid.computeProxyOpts;
|
|
31046
|
-
return !!proxyOpts.showActiveMsg;
|
|
31057
|
+
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(proxyOpts.showActionMsg) ? proxyOpts.showActionMsg : !!proxyOpts.showActiveMsg;
|
|
31047
31058
|
},
|
|
31048
31059
|
proxyOpts() {
|
|
31049
31060
|
const $xeGrid = this;
|
|
@@ -34200,8 +34211,26 @@ const Toolbar = VxeToolbar;
|
|
|
34200
34211
|
operError: '发生错误,操作失败!'
|
|
34201
34212
|
},
|
|
34202
34213
|
select: {
|
|
34214
|
+
clear: '清除',
|
|
34215
|
+
allChecked: '全选',
|
|
34216
|
+
total: '{0} / {1}',
|
|
34203
34217
|
search: '搜索',
|
|
34204
34218
|
loadingText: '加载中',
|
|
34219
|
+
emptyText: '暂无数据',
|
|
34220
|
+
maxSize: '最大可选择的数量不能超过 {0} 个',
|
|
34221
|
+
overSizeErr: '已超出最大可选数量 {0} 个,超出部分将被忽略!',
|
|
34222
|
+
searchEmpty: '未匹配到数据!'
|
|
34223
|
+
},
|
|
34224
|
+
tree: {
|
|
34225
|
+
searchEmpty: '未匹配到数据!'
|
|
34226
|
+
},
|
|
34227
|
+
treeSelect: {
|
|
34228
|
+
clearChecked: '清除',
|
|
34229
|
+
allChecked: '全选',
|
|
34230
|
+
allExpand: '全部展开',
|
|
34231
|
+
clearExpand: '全部收起',
|
|
34232
|
+
total: '已选 {0}',
|
|
34233
|
+
search: '搜索',
|
|
34205
34234
|
emptyText: '暂无数据'
|
|
34206
34235
|
},
|
|
34207
34236
|
pager: {
|