vxe-table 4.11.4 → 4.11.5
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/zh-CHT.js +1 -1
- package/es/locale/lang/zh-CN.js +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/render/index.js +29 -6
- package/es/table/src/header.js +2 -4
- package/es/table/style.css +19 -0
- 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 +19 -0
- 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 +31 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +1 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CN.js +1 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/render/index.js +27 -6
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/header.js +1 -4
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/style/style.css +19 -0
- 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 +19 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/zh-CHT.ts +1 -1
- package/packages/locale/lang/zh-CN.ts +1 -1
- package/packages/table/render/index.ts +30 -6
- package/packages/table/src/header.ts +2 -4
- package/styles/components/table.scss +29 -0
- package/styles/theme/base.scss +1 -0
- package/styles/variable.scss +1 -0
- /package/es/{iconfont.1739938274682.ttf → iconfont.1740013709563.ttf} +0 -0
- /package/es/{iconfont.1739938274682.woff → iconfont.1740013709563.woff} +0 -0
- /package/es/{iconfont.1739938274682.woff2 → iconfont.1740013709563.woff2} +0 -0
- /package/lib/{iconfont.1739938274682.ttf → iconfont.1740013709563.ttf} +0 -0
- /package/lib/{iconfont.1739938274682.woff → iconfont.1740013709563.woff} +0 -0
- /package/lib/{iconfont.1739938274682.woff2 → iconfont.1740013709563.woff2} +0 -0
|
@@ -44,7 +44,7 @@ export default defineComponent({
|
|
|
44
44
|
|
|
45
45
|
const renderRows = (isGroup: boolean, isOptimizeMode: boolean, cols: VxeTableDefines.ColumnInfo[], $rowIndex: number) => {
|
|
46
46
|
const { fixedType } = props
|
|
47
|
-
const { resizable: allResizable,
|
|
47
|
+
const { resizable: allResizable, columnKey, headerCellClassName, headerCellStyle, showHeaderOverflow: allColumnHeaderOverflow, headerAlign: allHeaderAlign, align: allAlign, mouseConfig } = tableProps
|
|
48
48
|
const { currentColumn, scrollXLoad, scrollYLoad, overflowX } = tableReactData
|
|
49
49
|
const { scrollXStore } = tableInternalData
|
|
50
50
|
const columnOpts = computeColumnOpts.value
|
|
@@ -174,9 +174,7 @@ export default defineComponent({
|
|
|
174
174
|
*/
|
|
175
175
|
!fixedHiddenColumn && showResizable
|
|
176
176
|
? h('div', {
|
|
177
|
-
class:
|
|
178
|
-
'is--line': !border || border === 'none'
|
|
179
|
-
}],
|
|
177
|
+
class: 'vxe-cell--col-resizable',
|
|
180
178
|
onMousedown: (evnt: MouseEvent) => $xeTable.handleColResizeMousedownEvent(evnt, fixedType, cellParams),
|
|
181
179
|
onDblclick: (evnt: MouseEvent) => $xeTable.handleColResizeDblclickEvent(evnt, cellParams)
|
|
182
180
|
})
|
|
@@ -263,6 +263,13 @@
|
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
/*负数显示红色*/
|
|
267
|
+
.vxe-cell--label {
|
|
268
|
+
&.is--negative {
|
|
269
|
+
color: var(--vxe-ui-table-cell-negative-color);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
266
273
|
.vxe-table--checkbox-range,
|
|
267
274
|
.vxe-table--cell-main-area,
|
|
268
275
|
.vxe-table--cell-extend-area,
|
|
@@ -1119,6 +1126,28 @@
|
|
|
1119
1126
|
}
|
|
1120
1127
|
}
|
|
1121
1128
|
&.border--default,
|
|
1129
|
+
&.border--none,
|
|
1130
|
+
&.border--outer,
|
|
1131
|
+
&.border--inner {
|
|
1132
|
+
.vxe-cell--col-resizable {
|
|
1133
|
+
&:before,
|
|
1134
|
+
&:after {
|
|
1135
|
+
content: "";
|
|
1136
|
+
display: inline-block;
|
|
1137
|
+
vertical-align: middle;
|
|
1138
|
+
}
|
|
1139
|
+
&:before {
|
|
1140
|
+
width: 1px;
|
|
1141
|
+
height: 50%;
|
|
1142
|
+
background-color: var(--vxe-ui-table-resizable-line-color);
|
|
1143
|
+
}
|
|
1144
|
+
&:after {
|
|
1145
|
+
width: 0;
|
|
1146
|
+
height: 100%;
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
&.border--default,
|
|
1122
1151
|
&.border--full,
|
|
1123
1152
|
&.border--outer {
|
|
1124
1153
|
.vxe-table--header-wrapper {
|
package/styles/theme/base.scss
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
--vxe-ui-table-cell-padding-small: 6px;
|
|
47
47
|
--vxe-ui-table-cell-padding-mini: 4px;
|
|
48
48
|
--vxe-ui-table-cell-placeholder-color: #C0C4CC;
|
|
49
|
+
--vxe-ui-table-cell-negative-color: #f56c6c;
|
|
49
50
|
--vxe-ui-table-cell-input-height-default: var(--vxe-ui-table-row-height-default) - 6;
|
|
50
51
|
--vxe-ui-table-cell-input-height-medium: var(--vxe-ui-table-row-height-medium) - 6;
|
|
51
52
|
--vxe-ui-table-cell-input-height-small: var(--vxe-ui-table-row-height-small) - 6;
|
package/styles/variable.scss
CHANGED
|
@@ -38,3 +38,4 @@ $vxe-ui-table-row-current-background-color: #e6f7ff !default;
|
|
|
38
38
|
$vxe-ui-table-row-hover-current-background-color: #d7effb !default;
|
|
39
39
|
$vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12) !default;
|
|
40
40
|
$vxe-ui-table-drag-over-background-color:rgba(255,255,200,0.3) !default;
|
|
41
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|