vxe-table 4.23.3 → 4.23.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/dist/all.esm.js +14 -4
- 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/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/table.js +12 -2
- package/es/table/style.css +30 -11
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +30 -11
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +5 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/table.js +3 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +30 -11
- package/lib/table/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-table/style/style.css +30 -11
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/src/table.ts +14 -4
- package/styles/components/table-module/filter.scss +26 -13
- package/styles/components/table.scss +6 -0
- package/styles/theme/base.scss +1 -0
- /package/es/{iconfont.1792723098707.ttf → iconfont.1792740941484.ttf} +0 -0
- /package/es/{iconfont.1792723098707.woff → iconfont.1792740941484.woff} +0 -0
- /package/es/{iconfont.1792723098707.woff2 → iconfont.1792740941484.woff2} +0 -0
- /package/lib/{iconfont.1792723098707.ttf → iconfont.1792740941484.ttf} +0 -0
- /package/lib/{iconfont.1792723098707.woff → iconfont.1792740941484.woff} +0 -0
- /package/lib/{iconfont.1792723098707.woff2 → iconfont.1792740941484.woff2} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.4",
|
|
4
4
|
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"typescript": "~5.9.3",
|
|
67
67
|
"vue": "3.4.27",
|
|
68
68
|
"vue-router": "~4.5.1",
|
|
69
|
-
"vxe-pc-ui": "4.20.
|
|
69
|
+
"vxe-pc-ui": "4.20.18"
|
|
70
70
|
},
|
|
71
71
|
"vetur": {
|
|
72
72
|
"tags": "helper/vetur/tags.json",
|
|
@@ -30,7 +30,7 @@ import '../module/validator/hook'
|
|
|
30
30
|
import '../module/custom/hook'
|
|
31
31
|
import '../render'
|
|
32
32
|
|
|
33
|
-
import type { VxeTooltipInstance, VxeTabsConstructor, VxeTabsPrivateMethods, ValueOf, VxeComponentSlotType, VxeComponentStyleType, VxeModalConstructor, VxeModalMethods, VxeSplitterConstructor, VxeSplitterMethods } from 'vxe-pc-ui'
|
|
33
|
+
import type { VxeTooltipInstance, VxeTabsConstructor, VxeTabsPrivateMethods, ValueOf, VxeComponentSlotType, VxeComponentStyleType, VxeModalConstructor, VxeModalMethods, VxeSplitterConstructor, VxeSplitterMethods, VxeComponentSizeType } from 'vxe-pc-ui'
|
|
34
34
|
import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableEmits, VxeTableProps, VxeColumnPropTypes, VxeTableCustomPanelConstructor } from '../../../types'
|
|
35
35
|
|
|
36
36
|
const { warnLog, errLog } = createComponentLog('table')
|
|
@@ -1141,9 +1141,9 @@ export default defineVxeComponent({
|
|
|
1141
1141
|
return { toVisibleIndex: 0, visibleSize: 6 }
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
|
-
const calcVarRowHeightConfig = (sizeKey:
|
|
1144
|
+
const calcVarRowHeightConfig = (sizeKey: VxeComponentSizeType, sizeEl: Element) => {
|
|
1145
1145
|
const { rowHeightStore } = reactData
|
|
1146
|
-
if (sizeEl && sizeEl.clientHeight) {
|
|
1146
|
+
if (sizeKey && sizeEl && sizeEl.clientHeight) {
|
|
1147
1147
|
rowHeightStore[sizeKey] = sizeEl.clientHeight
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
@@ -3591,7 +3591,9 @@ export default defineVxeComponent({
|
|
|
3591
3591
|
}
|
|
3592
3592
|
const varEl = refVarElem.value
|
|
3593
3593
|
if (varEl) {
|
|
3594
|
-
const [defEl, mediumEl, smallEl, miniEl] = varEl.children
|
|
3594
|
+
const [dxlargeEl, largeEl, defEl, mediumEl, smallEl, miniEl] = varEl.children
|
|
3595
|
+
calcVarRowHeightConfig('xlarge', dxlargeEl)
|
|
3596
|
+
calcVarRowHeightConfig('large', largeEl)
|
|
3595
3597
|
calcVarRowHeightConfig('default', defEl)
|
|
3596
3598
|
calcVarRowHeightConfig('medium', mediumEl)
|
|
3597
3599
|
calcVarRowHeightConfig('small', smallEl)
|
|
@@ -14407,12 +14409,20 @@ export default defineVxeComponent({
|
|
|
14407
14409
|
* 隐藏列
|
|
14408
14410
|
*/
|
|
14409
14411
|
h('div', {
|
|
14412
|
+
key: 'tss',
|
|
14410
14413
|
class: 'vxe-table-slots'
|
|
14411
14414
|
}, slots.default ? slots.default({}) : []),
|
|
14412
14415
|
h('div', {
|
|
14416
|
+
key: 'tvr',
|
|
14413
14417
|
ref: refVarElem,
|
|
14414
14418
|
class: 'vxe-table-vars'
|
|
14415
14419
|
}, [
|
|
14420
|
+
h('div', {
|
|
14421
|
+
class: 'vxe-table-var-xlarge'
|
|
14422
|
+
}),
|
|
14423
|
+
h('div', {
|
|
14424
|
+
class: 'vxe-table-var-large'
|
|
14425
|
+
}),
|
|
14416
14426
|
h('div', {
|
|
14417
14427
|
class: 'vxe-table-var-default'
|
|
14418
14428
|
}),
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
@use '../../helpers/baseMixin.scss';
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
.vxe-table--filter-wrapper {
|
|
5
|
+
--vxe-ui-table-filter-current-font-size: var(--vxe-ui-font-size-default);
|
|
6
|
+
&.size--xlarge {
|
|
7
|
+
--vxe-ui-table-filter-current-font-size: var(--vxe-ui-font-size-xlarge);
|
|
8
|
+
}
|
|
9
|
+
&.size--large {
|
|
10
|
+
--vxe-ui-table-filter-current-font-size: var(--vxe-ui-font-size-large);
|
|
11
|
+
}
|
|
12
|
+
&.size--medium {
|
|
13
|
+
--vxe-ui-table-filter-current-font-size: var(--vxe-ui-font-size-medium);
|
|
14
|
+
}
|
|
15
|
+
&.size--small {
|
|
16
|
+
--vxe-ui-table-filter-current-font-size: var(--vxe-ui-font-size-small);
|
|
17
|
+
}
|
|
18
|
+
&.size--mini {
|
|
19
|
+
--vxe-ui-table-filter-current-font-size: var(--vxe-ui-font-size-mini);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
3
23
|
.vxe-cell--filter {
|
|
4
24
|
padding: 0 0.1em 0 0.2em;
|
|
5
25
|
text-align: center;
|
|
@@ -42,9 +62,14 @@
|
|
|
42
62
|
box-shadow: var(--vxe-ui-base-popup-box-shadow);
|
|
43
63
|
z-index: 15;
|
|
44
64
|
max-height: var(--vxe-ui-vxe-table-filter-default-max-height);
|
|
65
|
+
&[class^="size--"],
|
|
66
|
+
&[class*=" size--"] {
|
|
67
|
+
font-size: var(--vxe-ui-table-filter-current-font-size);
|
|
68
|
+
}
|
|
45
69
|
&:not(.is--multiple) {
|
|
46
70
|
.vxe-table--filter-header,
|
|
47
|
-
.vxe-table--filter-body
|
|
71
|
+
.vxe-table--filter-body,
|
|
72
|
+
.vxe-table--scrollbar-filter-body {
|
|
48
73
|
text-align: center;
|
|
49
74
|
}
|
|
50
75
|
}
|
|
@@ -128,15 +153,3 @@
|
|
|
128
153
|
.vxe-table--filter-option {
|
|
129
154
|
@include baseMixin.createCheckboxIcon();
|
|
130
155
|
}
|
|
131
|
-
|
|
132
|
-
.vxe-table--filter-wrapper {
|
|
133
|
-
&.size--medium {
|
|
134
|
-
font-size: var(--vxe-ui-font-size-medium);
|
|
135
|
-
}
|
|
136
|
-
&.size--small {
|
|
137
|
-
font-size: var(--vxe-ui-font-size-small);
|
|
138
|
-
}
|
|
139
|
-
&.size--mini {
|
|
140
|
-
font-size: var(--vxe-ui-font-size-mini);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
@@ -71,6 +71,12 @@ $btnThemeList: (
|
|
|
71
71
|
overflow: hidden;
|
|
72
72
|
user-select: none;
|
|
73
73
|
pointer-events: none;
|
|
74
|
+
.vxe-table-var-xlarge {
|
|
75
|
+
height: var(--vxe-ui-table-row-height-xlarge);
|
|
76
|
+
}
|
|
77
|
+
.vxe-table-var-large {
|
|
78
|
+
height: var(--vxe-ui-table-row-height-large);
|
|
79
|
+
}
|
|
74
80
|
.vxe-table-var-default {
|
|
75
81
|
height: var(--vxe-ui-table-row-height-default);
|
|
76
82
|
}
|
package/styles/theme/base.scss
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|