vxe-table 4.20.1 → 4.20.3
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/README.en.md +3 -3
- package/README.ja-JP.md +3 -3
- package/README.md +3 -3
- package/README.zh-TW.md +3 -3
- package/dist/all.esm.js +211 -108
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +7 -0
- package/es/locale/lang/de-DE.js +7 -0
- package/es/locale/lang/en-US.js +10 -3
- package/es/locale/lang/es-ES.js +7 -0
- package/es/locale/lang/fr-FR.js +7 -0
- package/es/locale/lang/hu-HU.js +7 -0
- package/es/locale/lang/hy-AM.js +10 -3
- package/es/locale/lang/id-ID.js +7 -0
- package/es/locale/lang/it-IT.js +7 -0
- package/es/locale/lang/ja-JP.js +7 -0
- package/es/locale/lang/ko-KR.js +7 -0
- package/es/locale/lang/ms-MY.js +7 -0
- package/es/locale/lang/nb-NO.js +7 -0
- package/es/locale/lang/pt-BR.js +7 -0
- package/es/locale/lang/ru-RU.js +7 -0
- package/es/locale/lang/th-TH.js +7 -0
- package/es/locale/lang/ug-CN.js +7 -0
- package/es/locale/lang/uk-UA.js +7 -0
- package/es/locale/lang/uz-UZ.js +7 -0
- package/es/locale/lang/vi-VN.js +7 -0
- package/es/locale/lang/zh-CHT.js +7 -0
- package/es/locale/lang/zh-CN.js +10 -3
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/export/export-panel.js +61 -47
- package/es/table/module/export/hook.js +105 -27
- package/es/table/module/export/util.js +1 -1
- package/es/table/src/body.js +1 -1
- package/es/table/src/footer.js +1 -1
- package/es/table/src/header.js +5 -3
- package/es/table/src/table.js +24 -24
- package/es/table/src/util.js +1 -0
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +161 -52
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +7 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +7 -0
- package/lib/locale/lang/de-DE.js +7 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +7 -0
- package/lib/locale/lang/en-US.js +10 -3
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +10 -3
- package/lib/locale/lang/es-ES.js +7 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +7 -0
- package/lib/locale/lang/fr-FR.js +7 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +7 -0
- package/lib/locale/lang/hu-HU.js +7 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +7 -0
- package/lib/locale/lang/hy-AM.js +10 -3
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +10 -3
- package/lib/locale/lang/id-ID.js +7 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +7 -0
- package/lib/locale/lang/it-IT.js +7 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +7 -0
- package/lib/locale/lang/ja-JP.js +7 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +7 -0
- package/lib/locale/lang/ko-KR.js +7 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +7 -0
- package/lib/locale/lang/ms-MY.js +7 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +7 -0
- package/lib/locale/lang/nb-NO.js +7 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +7 -0
- package/lib/locale/lang/pt-BR.js +7 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +7 -0
- package/lib/locale/lang/ru-RU.js +7 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +7 -0
- package/lib/locale/lang/th-TH.js +7 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +7 -0
- package/lib/locale/lang/ug-CN.js +7 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +7 -0
- package/lib/locale/lang/uk-UA.js +7 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +7 -0
- package/lib/locale/lang/uz-UZ.js +7 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +7 -0
- package/lib/locale/lang/vi-VN.js +7 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +7 -0
- package/lib/locale/lang/zh-CHT.js +7 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +7 -0
- package/lib/locale/lang/zh-CN.js +10 -3
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +10 -3
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/export/export-panel.js +32 -13
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/hook.js +105 -27
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/module/export/util.js +1 -1
- package/lib/table/module/export/util.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 +1 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +6 -3
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +1 -0
- package/lib/table/src/util.min.js +1 -1
- package/lib/ui/index.js +2 -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 +7 -0
- package/packages/locale/lang/de-DE.ts +7 -0
- package/packages/locale/lang/en-US.ts +10 -3
- package/packages/locale/lang/es-ES.ts +7 -0
- package/packages/locale/lang/fr-FR.ts +7 -0
- package/packages/locale/lang/hu-HU.ts +7 -0
- package/packages/locale/lang/hy-AM.ts +10 -3
- package/packages/locale/lang/id-ID.ts +7 -0
- package/packages/locale/lang/it-IT.ts +7 -0
- package/packages/locale/lang/ja-JP.ts +7 -0
- package/packages/locale/lang/ko-KR.ts +7 -0
- package/packages/locale/lang/ms-MY.ts +7 -0
- package/packages/locale/lang/nb-NO.ts +7 -0
- package/packages/locale/lang/pt-BR.ts +7 -0
- package/packages/locale/lang/ru-RU.ts +7 -0
- package/packages/locale/lang/th-TH.ts +7 -0
- package/packages/locale/lang/ug-CN.ts +7 -0
- package/packages/locale/lang/uk-UA.ts +7 -0
- package/packages/locale/lang/uz-UZ.ts +7 -0
- package/packages/locale/lang/vi-VN.ts +7 -0
- package/packages/locale/lang/zh-CHT.ts +7 -0
- package/packages/locale/lang/zh-CN.ts +10 -3
- package/packages/table/module/export/export-panel.ts +120 -105
- package/packages/table/module/export/hook.ts +112 -28
- package/packages/table/module/export/util.ts +1 -1
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/footer.ts +1 -1
- package/packages/table/src/header.ts +5 -3
- package/packages/table/src/table.ts +24 -24
- package/packages/table/src/util.ts +1 -0
- package/packages/ui/index.ts +1 -0
- package/styles/theme/base.scss +11 -0
- package/styles/variable.scss +1 -1
- /package/es/{iconfont.1783908880309.ttf → iconfont.1784251273954.ttf} +0 -0
- /package/es/{iconfont.1783908880309.woff → iconfont.1784251273954.woff} +0 -0
- /package/es/{iconfont.1783908880309.woff2 → iconfont.1784251273954.woff2} +0 -0
- /package/lib/{iconfont.1783908880309.ttf → iconfont.1784251273954.ttf} +0 -0
- /package/lib/{iconfont.1783908880309.woff → iconfont.1784251273954.woff} +0 -0
- /package/lib/{iconfont.1783908880309.woff2 → iconfont.1784251273954.woff2} +0 -0
|
@@ -14933,35 +14933,35 @@ export default defineVxeComponent({
|
|
|
14933
14933
|
})
|
|
14934
14934
|
|
|
14935
14935
|
nextTick(() => {
|
|
14936
|
+
const { showOverflow, showHeaderOverflow, showFooterOverflow } = props
|
|
14937
|
+
const tooltipOpts = computeTooltipOpts.value
|
|
14938
|
+
const headerTooltipOpts = computeHeaderTooltipOpts.value
|
|
14939
|
+
const footerTooltipOpts = computeFooterTooltipOpts.value
|
|
14936
14940
|
if (props.loading) {
|
|
14937
14941
|
if (!VxeUILoadingComponent && !slots.loading) {
|
|
14938
|
-
errLog('vxe.error.errProp', ['loading=true', 'loading=false | <template #loading>...</template>'])
|
|
14939
14942
|
errLog('vxe.error.reqComp', ['vxe-loading'])
|
|
14943
|
+
errLog('vxe.error.errProp', ['loading=true', 'loading=false | <template #loading>...</template>'])
|
|
14940
14944
|
}
|
|
14941
14945
|
}
|
|
14942
|
-
if (
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
-
|
|
14956
|
-
|
|
14957
|
-
|
|
14958
|
-
|
|
14959
|
-
|
|
14960
|
-
|
|
14961
|
-
if (props.showFooterOverflow === 'tooltip') {
|
|
14962
|
-
errLog('vxe.error.errProp', ['show-footer-overflow=tooltip', 'show-footer-overflow=title'])
|
|
14963
|
-
}
|
|
14964
|
-
errLog('vxe.error.reqComp', ['vxe-tooltip'])
|
|
14946
|
+
if (!VxeUITooltipComponent) {
|
|
14947
|
+
errLog('vxe.error.reqComp', ['vxe-tooltip'])
|
|
14948
|
+
if (showOverflow === 'tooltip') {
|
|
14949
|
+
errLog('vxe.error.errProp', ['show-overflow=' + showOverflow, 'show-overflow=false,title,ellipsis'])
|
|
14950
|
+
}
|
|
14951
|
+
if (showOverflow === true && tooltipOpts.mode === 'tooltip') {
|
|
14952
|
+
errLog('vxe.error.notSupportProp', ['show-overflow=' + showOverflow, 'tooltip-config.mode=tooltip', 'tooltip-config.mode=title,ellipsis'])
|
|
14953
|
+
}
|
|
14954
|
+
if (showHeaderOverflow === 'tooltip') {
|
|
14955
|
+
errLog('vxe.error.errProp', ['show-header-overflow=' + showHeaderOverflow, 'show-header-overflow=false,title,ellipsis'])
|
|
14956
|
+
}
|
|
14957
|
+
if (showHeaderOverflow === true && headerTooltipOpts.mode === 'tooltip') {
|
|
14958
|
+
errLog('vxe.error.notSupportProp', ['show-header-overflow=' + showHeaderOverflow, 'header-tooltip-config.mode=tooltip', 'header-tooltip-config.mode=title,ellipsis'])
|
|
14959
|
+
}
|
|
14960
|
+
if (showFooterOverflow === 'tooltip') {
|
|
14961
|
+
errLog('vxe.error.errProp', ['show-footer-overflow=' + showFooterOverflow, 'show-footer-overflow=false,title,ellipsis'])
|
|
14962
|
+
}
|
|
14963
|
+
if (showFooterOverflow === true && footerTooltipOpts.mode === 'tooltip') {
|
|
14964
|
+
errLog('vxe.error.notSupportProp', ['show-footer-overflow=' + showFooterOverflow, 'footer-tooltip-config.mode=tooltip', 'footer-tooltip-config.mode=title,ellipsis'])
|
|
14965
14965
|
}
|
|
14966
14966
|
}
|
|
14967
14967
|
})
|
package/packages/ui/index.ts
CHANGED
package/styles/theme/base.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
--vxe-ui-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
|
|
4
4
|
|
|
5
5
|
/*font size*/
|
|
6
|
+
--vxe-ui-font-size-xlarge: 16px;
|
|
6
7
|
--vxe-ui-font-size-large: 16px;
|
|
7
8
|
--vxe-ui-font-size-default: 14px;
|
|
8
9
|
--vxe-ui-font-size-medium: 14px;
|
|
@@ -14,6 +15,8 @@
|
|
|
14
15
|
|
|
15
16
|
/*input*/
|
|
16
17
|
--vxe-ui-input-disabled-color: #dcdfe6;
|
|
18
|
+
--vxe-ui-input-height-xlarge: 40px;
|
|
19
|
+
--vxe-ui-input-height-large: 36px;
|
|
17
20
|
--vxe-ui-input-height-default: 34px;
|
|
18
21
|
--vxe-ui-input-height-medium: 32px;
|
|
19
22
|
--vxe-ui-input-height-small: 30px;
|
|
@@ -31,6 +34,8 @@
|
|
|
31
34
|
--vxe-ui-table-tree-node-line-style: dotted;
|
|
32
35
|
--vxe-ui-table-header-font-weight: 700;
|
|
33
36
|
|
|
37
|
+
--vxe-ui-table-row-height-xlarge: 54px;
|
|
38
|
+
--vxe-ui-table-row-height-large: 52px;
|
|
34
39
|
--vxe-ui-table-row-height-default: 48px;
|
|
35
40
|
--vxe-ui-table-row-height-medium: 44px;
|
|
36
41
|
--vxe-ui-table-row-height-small: 40px;
|
|
@@ -40,12 +45,16 @@
|
|
|
40
45
|
--vxe-ui-table-column-icon-border-color: #c0c4cc;
|
|
41
46
|
--vxe-ui-table-column-icon-border-hover-color: #515A6E;
|
|
42
47
|
|
|
48
|
+
--vxe-ui-table-cell-padding-xlarge: 10px;
|
|
49
|
+
--vxe-ui-table-cell-padding-large: 9px;
|
|
43
50
|
--vxe-ui-table-cell-padding-default: 8px;
|
|
44
51
|
--vxe-ui-table-cell-padding-medium: 7px;
|
|
45
52
|
--vxe-ui-table-cell-padding-small: 6px;
|
|
46
53
|
--vxe-ui-table-cell-padding-mini: 5px;
|
|
47
54
|
--vxe-ui-table-cell-placeholder-color: #C0C4CC;
|
|
48
55
|
--vxe-ui-table-cell-negative-color: #f56c6c;
|
|
56
|
+
--vxe-ui-table-cell-input-height-xlarge: var(--vxe-ui-table-row-height-xlarge) - 6;
|
|
57
|
+
--vxe-ui-table-cell-input-height-large: var(--vxe-ui-table-row-height-large) - 6;
|
|
49
58
|
--vxe-ui-table-cell-input-height-default: var(--vxe-ui-table-row-height-default) - 6;
|
|
50
59
|
--vxe-ui-table-cell-input-height-medium: var(--vxe-ui-table-row-height-medium) - 6;
|
|
51
60
|
--vxe-ui-table-cell-input-height-small: var(--vxe-ui-table-row-height-small) - 6;
|
|
@@ -99,6 +108,8 @@
|
|
|
99
108
|
|
|
100
109
|
/*toolbar*/
|
|
101
110
|
--vxe-ui-toolbar-custom-active-background-color: #D9DADB;
|
|
111
|
+
--vxe-ui-toolbar-height-xlarge: 54px;
|
|
112
|
+
--vxe-ui-toolbar-height-large: 52px;
|
|
102
113
|
--vxe-ui-toolbar-height-default: 48px;
|
|
103
114
|
--vxe-ui-toolbar-height-medium: 46px;
|
|
104
115
|
--vxe-ui-toolbar-height-small: 44px;
|
package/styles/variable.scss
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|