vxe-table 4.12.3 → 4.12.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/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/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/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/module/keyboard/hook.js +26 -9
- package/es/table/src/table.js +26 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +880 -12089
- 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/de-DE.js +1 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- 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/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/id-ID.js +1 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +1 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- 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/nb-NO.js +1 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- 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/ug-CN.js +1 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- 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/vi-VN.js +1 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +1 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- 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/module/keyboard/hook.js +27 -9
- package/lib/table/module/keyboard/hook.min.js +1 -1
- package/lib/table/src/table.js +28 -1
- package/lib/table/src/table.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 +2 -2
- 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/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/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/module/keyboard/hook.ts +24 -9
- package/packages/table/src/table.ts +28 -1
- /package/es/{iconfont.1743389164894.ttf → iconfont.1743394011765.ttf} +0 -0
- /package/es/{iconfont.1743389164894.woff → iconfont.1743394011765.woff} +0 -0
- /package/es/{iconfont.1743389164894.woff2 → iconfont.1743394011765.woff2} +0 -0
- /package/lib/{iconfont.1743389164894.ttf → iconfont.1743394011765.ttf} +0 -0
- /package/lib/{iconfont.1743389164894.woff → iconfont.1743394011765.woff} +0 -0
- /package/lib/{iconfont.1743389164894.woff2 → iconfont.1743394011765.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -792,6 +792,7 @@ export default defineComponent({
|
|
|
792
792
|
computeBodyMenu,
|
|
793
793
|
computeFooterMenu,
|
|
794
794
|
computeIsMenu,
|
|
795
|
+
computeMenuList,
|
|
795
796
|
computeMenuOpts,
|
|
796
797
|
computeExportOpts,
|
|
797
798
|
computeImportOpts,
|
|
@@ -10272,7 +10273,7 @@ export default defineComponent({
|
|
|
10272
10273
|
initTpImg();
|
|
10273
10274
|
}
|
|
10274
10275
|
nextTick(() => {
|
|
10275
|
-
const { data, exportConfig, importConfig, treeConfig, showOverflow } = props;
|
|
10276
|
+
const { data, exportConfig, importConfig, treeConfig, showOverflow, highlightCurrentRow, highlightCurrentColumn } = props;
|
|
10276
10277
|
const { scrollXStore, scrollYStore } = internalData;
|
|
10277
10278
|
const editOpts = computeEditOpts.value;
|
|
10278
10279
|
const treeOpts = computeTreeOpts.value;
|
|
@@ -10284,6 +10285,10 @@ export default defineComponent({
|
|
|
10284
10285
|
const mouseOpts = computeMouseOpts.value;
|
|
10285
10286
|
const exportOpts = computeExportOpts.value;
|
|
10286
10287
|
const importOpts = computeImportOpts.value;
|
|
10288
|
+
const currentRowOpts = computeCurrentRowOpts.value;
|
|
10289
|
+
const currentColumnOpts = computeCurrentColumnOpts.value;
|
|
10290
|
+
const virtualXOpts = computeVirtualXOpts.value;
|
|
10291
|
+
const virtualYOpts = computeVirtualYOpts.value;
|
|
10287
10292
|
if (props.rowId) {
|
|
10288
10293
|
warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField']);
|
|
10289
10294
|
}
|
|
@@ -10383,6 +10388,26 @@ export default defineComponent({
|
|
|
10383
10388
|
if (checkboxOpts.halfField) {
|
|
10384
10389
|
warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField']);
|
|
10385
10390
|
}
|
|
10391
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
|
|
10392
|
+
warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected']);
|
|
10393
|
+
}
|
|
10394
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
10395
|
+
warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected']);
|
|
10396
|
+
}
|
|
10397
|
+
// 如果不支持虚拟滚动
|
|
10398
|
+
if (props.spanMethod) {
|
|
10399
|
+
if (virtualXOpts.enabled) {
|
|
10400
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-x-config.enabled=false']);
|
|
10401
|
+
}
|
|
10402
|
+
if (virtualYOpts.enabled) {
|
|
10403
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-y-config.enabled=false']);
|
|
10404
|
+
}
|
|
10405
|
+
}
|
|
10406
|
+
if (props.footerSpanMethod) {
|
|
10407
|
+
if (virtualXOpts.enabled) {
|
|
10408
|
+
warnLog('vxe.error.notConflictProp', ['footer-span-method', 'virtual-x-config.enabled=false']);
|
|
10409
|
+
}
|
|
10410
|
+
}
|
|
10386
10411
|
// 检查是否有安装需要的模块
|
|
10387
10412
|
if (props.editConfig && !$xeTable.insert) {
|
|
10388
10413
|
errLog('vxe.error.reqModule', ['Edit']);
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED