vxe-table 3.13.2 → 3.13.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/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 +20 -1
- 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 +20 -1
- 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-CHT.umd.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 +20 -1
- 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 +20 -1
- 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 +30 -1
- package/styles/theme/base.scss +1 -0
- /package/es/{iconfont.1739871566624.ttf → iconfont.1740013687420.ttf} +0 -0
- /package/es/{iconfont.1739871566624.woff → iconfont.1740013687420.woff} +0 -0
- /package/es/{iconfont.1739871566624.woff2 → iconfont.1740013687420.woff2} +0 -0
- /package/lib/{iconfont.1739871566624.ttf → iconfont.1740013687420.ttf} +0 -0
- /package/lib/{iconfont.1739871566624.woff → iconfont.1740013687420.woff} +0 -0
- /package/lib/{iconfont.1739871566624.woff2 → iconfont.1740013687420.woff2} +0 -0
|
@@ -19,7 +19,7 @@ const renderRows = (h: CreateElement, _vm: any, isGroup: boolean, isOptimizeMode
|
|
|
19
19
|
const tableInternalData = $xeTable as unknown as TableInternalData
|
|
20
20
|
|
|
21
21
|
const { fixedType } = props
|
|
22
|
-
const { resizable: allResizable,
|
|
22
|
+
const { resizable: allResizable, columnKey, headerCellClassName, headerCellStyle, showHeaderOverflow: allColumnHeaderOverflow, headerAlign: allHeaderAlign, align: allAlign, mouseConfig } = tableProps
|
|
23
23
|
const { currentColumn, scrollXLoad, scrollYLoad, overflowX } = tableReactData
|
|
24
24
|
const { scrollXStore } = tableInternalData
|
|
25
25
|
const columnOpts = $xeTable.computeColumnOpts
|
|
@@ -147,9 +147,7 @@ const renderRows = (h: CreateElement, _vm: any, isGroup: boolean, isOptimizeMode
|
|
|
147
147
|
*/
|
|
148
148
|
!fixedHiddenColumn && showResizable
|
|
149
149
|
? h('div', {
|
|
150
|
-
class:
|
|
151
|
-
'is--line': !border || border === 'none'
|
|
152
|
-
}],
|
|
150
|
+
class: 'vxe-cell--col-resizable',
|
|
153
151
|
on: {
|
|
154
152
|
mousedown: (evnt: MouseEvent) => $xeTable.handleColResizeMousedownEvent(evnt, fixedType, cellParams),
|
|
155
153
|
dblclick: (evnt: MouseEvent) => $xeTable.handleColResizeDblclickEvent(evnt, cellParams)
|
|
@@ -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,
|
|
@@ -273,7 +280,7 @@
|
|
|
273
280
|
display: none;
|
|
274
281
|
position: absolute;
|
|
275
282
|
pointer-events: none;
|
|
276
|
-
z-index:
|
|
283
|
+
z-index: 1;
|
|
277
284
|
}
|
|
278
285
|
|
|
279
286
|
.vxe-table--header-wrapper {
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|