vxe-table 3.19.43 → 3.19.44
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 +4 -0
- package/es/locale/lang/de-DE.js +4 -0
- package/es/locale/lang/en-US.js +4 -0
- package/es/locale/lang/es-ES.js +4 -0
- package/es/locale/lang/fr-FR.js +4 -0
- package/es/locale/lang/hu-HU.js +4 -0
- package/es/locale/lang/hy-AM.js +4 -0
- package/es/locale/lang/id-ID.js +4 -0
- package/es/locale/lang/it-IT.js +4 -0
- package/es/locale/lang/ja-JP.js +4 -0
- package/es/locale/lang/ko-KR.js +4 -0
- package/es/locale/lang/ms-MY.js +4 -0
- package/es/locale/lang/nb-NO.js +4 -0
- package/es/locale/lang/pt-BR.js +4 -0
- package/es/locale/lang/ru-RU.js +4 -0
- package/es/locale/lang/th-TH.js +4 -0
- package/es/locale/lang/ug-CN.js +4 -0
- package/es/locale/lang/uk-UA.js +4 -0
- package/es/locale/lang/uz-UZ.js +4 -0
- package/es/locale/lang/vi-VN.js +4 -0
- package/es/locale/lang/zh-CHT.js +4 -0
- package/es/locale/lang/zh-CN.js +4 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/filter/panel.js +12 -3
- package/es/table/src/table.js +4 -1
- package/es/toolbar/style.css +5 -1
- package/es/toolbar/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-toolbar/style.css +5 -1
- package/es/vxe-toolbar/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +24 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +4 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +4 -0
- package/lib/locale/lang/de-DE.js +4 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +4 -0
- package/lib/locale/lang/en-US.js +4 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +4 -0
- package/lib/locale/lang/es-ES.js +4 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +4 -0
- package/lib/locale/lang/fr-FR.js +4 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +4 -0
- package/lib/locale/lang/hu-HU.js +4 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +4 -0
- package/lib/locale/lang/hy-AM.js +4 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +4 -0
- package/lib/locale/lang/id-ID.js +4 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +4 -0
- package/lib/locale/lang/it-IT.js +4 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +4 -0
- package/lib/locale/lang/ja-JP.js +4 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +4 -0
- package/lib/locale/lang/ko-KR.js +4 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +4 -0
- package/lib/locale/lang/ms-MY.js +4 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +4 -0
- package/lib/locale/lang/nb-NO.js +4 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +4 -0
- package/lib/locale/lang/pt-BR.js +4 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +4 -0
- package/lib/locale/lang/ru-RU.js +4 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +4 -0
- package/lib/locale/lang/th-TH.js +4 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +4 -0
- package/lib/locale/lang/ug-CN.js +4 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +4 -0
- package/lib/locale/lang/uk-UA.js +4 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +4 -0
- package/lib/locale/lang/uz-UZ.js +4 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +4 -0
- package/lib/locale/lang/vi-VN.js +4 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +4 -0
- package/lib/locale/lang/zh-CHT.js +4 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +4 -0
- package/lib/locale/lang/zh-CN.js +4 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +4 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/filter/panel.js +16 -3
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/src/table.js +5 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/toolbar/style/style.css +5 -1
- package/lib/toolbar/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-toolbar/style/style.css +5 -1
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/locale/lang/ar-EG.ts +4 -0
- package/packages/locale/lang/de-DE.ts +4 -0
- package/packages/locale/lang/en-US.ts +4 -0
- package/packages/locale/lang/es-ES.ts +4 -0
- package/packages/locale/lang/fr-FR.ts +4 -0
- package/packages/locale/lang/hu-HU.ts +4 -0
- package/packages/locale/lang/hy-AM.ts +4 -0
- package/packages/locale/lang/id-ID.ts +4 -0
- package/packages/locale/lang/it-IT.ts +4 -0
- package/packages/locale/lang/ja-JP.ts +4 -0
- package/packages/locale/lang/ko-KR.ts +4 -0
- package/packages/locale/lang/ms-MY.ts +4 -0
- package/packages/locale/lang/nb-NO.ts +4 -0
- package/packages/locale/lang/pt-BR.ts +4 -0
- package/packages/locale/lang/ru-RU.ts +4 -0
- package/packages/locale/lang/th-TH.ts +4 -0
- package/packages/locale/lang/ug-CN.ts +4 -0
- package/packages/locale/lang/uk-UA.ts +4 -0
- package/packages/locale/lang/uz-UZ.ts +4 -0
- package/packages/locale/lang/vi-VN.ts +4 -0
- package/packages/locale/lang/zh-CHT.ts +4 -0
- package/packages/locale/lang/zh-CN.ts +4 -0
- package/packages/table/module/filter/panel.ts +11 -3
- package/packages/table/src/table.ts +4 -1
- package/styles/components/toolbar.scss +5 -1
- package/styles/theme/base.scss +4 -0
- /package/es/{iconfont.1768291198674.ttf → iconfont.1768624947935.ttf} +0 -0
- /package/es/{iconfont.1768291198674.woff → iconfont.1768624947935.woff} +0 -0
- /package/es/{iconfont.1768291198674.woff2 → iconfont.1768624947935.woff2} +0 -0
- /package/lib/{iconfont.1768291198674.ttf → iconfont.1768624947935.ttf} +0 -0
- /package/lib/{iconfont.1768291198674.woff → iconfont.1768624947935.woff} +0 -0
- /package/lib/{iconfont.1768291198674.woff2 → iconfont.1768624947935.woff2} +0 -0
|
@@ -5,6 +5,7 @@ import { formatText, isEnableConf } from '../../../ui/src/utils'
|
|
|
5
5
|
import { getPropClass, toCssUnit } from '../../../ui/src/dom'
|
|
6
6
|
import { getSlotVNs } from '../../../ui/src/vn'
|
|
7
7
|
import { warnLog } from '../../../ui/src/log'
|
|
8
|
+
import XEUtils from 'xe-utils'
|
|
8
9
|
|
|
9
10
|
import type { VxeGlobalRendererOptions, VxeComponentSizeType } from 'vxe-pc-ui'
|
|
10
11
|
import type { VxeTableConstructor, VxeTablePrivateMethods, TableInternalData, VxeTableDefines, VxeColumnPropTypes } from '../../../../types'
|
|
@@ -272,9 +273,16 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
272
273
|
const filterOpts = $xeTable.computeFilterOpts
|
|
273
274
|
const hasCheckOption = $xeFilterPanel.computeHasCheckOption
|
|
274
275
|
const { filterRender, filterMultiple } = column
|
|
276
|
+
const { confirmButtonText, resetButtonText, showFooter } = filterOpts
|
|
275
277
|
const compConf = isEnableConf(filterRender) ? renderer.get(filterRender.name) : null
|
|
276
278
|
const isDisabled = !hasCheckOption && !filterStore.isAllSelected && !filterStore.isIndeterminate
|
|
277
|
-
|
|
279
|
+
let showFlFoot = !!filterMultiple
|
|
280
|
+
if (XEUtils.isBoolean(showFooter)) {
|
|
281
|
+
showFlFoot = showFooter
|
|
282
|
+
} else if (compConf) {
|
|
283
|
+
showFlFoot = !(compConf.showTableFilterFooter === false || compConf.showFilterFooter === false || compConf.isFooter === false)
|
|
284
|
+
}
|
|
285
|
+
return showFlFoot
|
|
278
286
|
? [
|
|
279
287
|
h('div', {
|
|
280
288
|
class: 'vxe-table--filter-footer'
|
|
@@ -289,12 +297,12 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
289
297
|
on: {
|
|
290
298
|
click: ($xeFilterPanel as any).confirmFilter
|
|
291
299
|
}
|
|
292
|
-
},
|
|
300
|
+
}, confirmButtonText || getI18n('vxe.table.confirmFilter')),
|
|
293
301
|
h('button', {
|
|
294
302
|
on: {
|
|
295
303
|
click: ($xeFilterPanel as any).resetFilter
|
|
296
304
|
}
|
|
297
|
-
},
|
|
305
|
+
}, resetButtonText || getI18n('vxe.table.resetFilter'))
|
|
298
306
|
])
|
|
299
307
|
]
|
|
300
308
|
: []
|
|
@@ -1756,7 +1756,7 @@ export default {
|
|
|
1756
1756
|
|
|
1757
1757
|
handleKeyField($xeTable)
|
|
1758
1758
|
|
|
1759
|
-
const { exportConfig, importConfig, treeConfig } = props
|
|
1759
|
+
const { exportConfig, importConfig, treeConfig, minHeight } = props
|
|
1760
1760
|
const { scrollXStore, scrollYStore } = internalData
|
|
1761
1761
|
const columnOpts = $xeTable.computeColumnOpts
|
|
1762
1762
|
const columnDragOpts = $xeTable.computeColumnDragOpts
|
|
@@ -1927,6 +1927,9 @@ export default {
|
|
|
1927
1927
|
if (checkboxOpts.halfField) {
|
|
1928
1928
|
warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField'])
|
|
1929
1929
|
}
|
|
1930
|
+
if (props.editConfig && isEnableConf(editOpts) && props.editRules && (minHeight === 0 || minHeight === '0')) {
|
|
1931
|
+
warnLog('vxe.error.reqSupportProp', ['edit-config & edit-rules', 'min-height'])
|
|
1932
|
+
}
|
|
1930
1933
|
|
|
1931
1934
|
if (treeConfig) {
|
|
1932
1935
|
XEUtils.arrayEach(['rowField', 'parentField', 'childrenField', 'hasChildField', 'mapChildrenField'], key => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: row;
|
|
6
6
|
align-items: center;
|
|
7
|
-
padding: 0.
|
|
7
|
+
padding: 0.5em 0;
|
|
8
8
|
color: var(--vxe-ui-font-color);
|
|
9
9
|
font-family: var(--vxe-ui-font-family);
|
|
10
10
|
background-color: var(--vxe-ui-layout-background-color);
|
|
@@ -104,13 +104,17 @@
|
|
|
104
104
|
|
|
105
105
|
.vxe-toolbar {
|
|
106
106
|
font-size: var(--vxe-ui-font-size-default);
|
|
107
|
+
min-height: var(--vxe-ui-toolbar-height-default);
|
|
107
108
|
&.size--medium {
|
|
108
109
|
font-size: var(--vxe-ui-font-size-medium);
|
|
110
|
+
min-height: var(--vxe-ui-toolbar-height-medium);
|
|
109
111
|
}
|
|
110
112
|
&.size--small {
|
|
111
113
|
font-size: var(--vxe-ui-font-size-small);
|
|
114
|
+
min-height: var(--vxe-ui-toolbar-height-small);
|
|
112
115
|
}
|
|
113
116
|
&.size--mini {
|
|
114
117
|
font-size: var(--vxe-ui-font-size-mini);
|
|
118
|
+
min-height: var(--vxe-ui-toolbar-height-mini);
|
|
115
119
|
}
|
|
116
120
|
}
|
package/styles/theme/base.scss
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|