vxe-table 4.13.21 → 4.13.23
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/grid/src/grid.js +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +3 -0
- package/es/locale/lang/de-DE.js +3 -0
- package/es/locale/lang/en-US.js +3 -0
- package/es/locale/lang/es-ES.js +3 -0
- package/es/locale/lang/fr-FR.js +3 -0
- package/es/locale/lang/hu-HU.js +3 -0
- package/es/locale/lang/hy-AM.js +3 -0
- package/es/locale/lang/id-ID.js +3 -0
- package/es/locale/lang/it-IT.js +3 -0
- package/es/locale/lang/ja-JP.js +3 -0
- package/es/locale/lang/ko-KR.js +3 -0
- package/es/locale/lang/ms-MY.js +3 -0
- package/es/locale/lang/nb-NO.js +3 -0
- package/es/locale/lang/pt-BR.js +3 -0
- package/es/locale/lang/ru-RU.js +3 -0
- package/es/locale/lang/th-TH.js +3 -0
- package/es/locale/lang/ug-CN.js +3 -0
- package/es/locale/lang/uk-UA.js +3 -0
- package/es/locale/lang/uz-UZ.js +3 -0
- package/es/locale/lang/vi-VN.js +3 -0
- package/es/locale/lang/zh-CHT.js +3 -0
- package/es/locale/lang/zh-CN.js +3 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/render/index.js +71 -2
- package/es/table/src/cell.js +25 -11
- package/es/table/src/util.js +12 -15
- package/es/table/style.css +21 -8
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +6 -0
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +21 -8
- package/es/vxe-table/style.min.css +1 -1
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +125 -29
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +3 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +3 -0
- package/lib/locale/lang/de-DE.js +3 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +3 -0
- package/lib/locale/lang/en-US.js +3 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +3 -0
- package/lib/locale/lang/es-ES.js +3 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +3 -0
- package/lib/locale/lang/fr-FR.js +3 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +3 -0
- package/lib/locale/lang/hu-HU.js +3 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +3 -0
- package/lib/locale/lang/hy-AM.js +3 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +3 -0
- package/lib/locale/lang/id-ID.js +3 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +3 -0
- package/lib/locale/lang/it-IT.js +3 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +3 -0
- package/lib/locale/lang/ja-JP.js +3 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +3 -0
- package/lib/locale/lang/ko-KR.js +3 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +3 -0
- package/lib/locale/lang/ms-MY.js +3 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +3 -0
- package/lib/locale/lang/nb-NO.js +3 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +3 -0
- package/lib/locale/lang/pt-BR.js +3 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +3 -0
- package/lib/locale/lang/ru-RU.js +3 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +3 -0
- package/lib/locale/lang/th-TH.js +3 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +3 -0
- package/lib/locale/lang/ug-CN.js +3 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +3 -0
- package/lib/locale/lang/uk-UA.js +3 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +3 -0
- package/lib/locale/lang/uz-UZ.js +3 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +3 -0
- package/lib/locale/lang/vi-VN.js +3 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +3 -0
- package/lib/locale/lang/zh-CHT.js +3 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +3 -0
- package/lib/locale/lang/zh-CN.js +3 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +3 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/render/index.js +82 -2
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/cell.js +16 -10
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/util.js +11 -14
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +21 -8
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/src/toolbar.js +1 -0
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +7 -0
- package/lib/ui/src/dom.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 +21 -8
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +1 -1
- package/packages/locale/lang/ar-EG.ts +3 -0
- package/packages/locale/lang/de-DE.ts +3 -0
- package/packages/locale/lang/en-US.ts +3 -0
- package/packages/locale/lang/es-ES.ts +3 -0
- package/packages/locale/lang/fr-FR.ts +3 -0
- package/packages/locale/lang/hu-HU.ts +3 -0
- package/packages/locale/lang/hy-AM.ts +3 -0
- package/packages/locale/lang/id-ID.ts +3 -0
- package/packages/locale/lang/it-IT.ts +3 -0
- package/packages/locale/lang/ja-JP.ts +3 -0
- package/packages/locale/lang/ko-KR.ts +3 -0
- package/packages/locale/lang/ms-MY.ts +3 -0
- package/packages/locale/lang/nb-NO.ts +3 -0
- package/packages/locale/lang/pt-BR.ts +3 -0
- package/packages/locale/lang/ru-RU.ts +3 -0
- package/packages/locale/lang/th-TH.ts +3 -0
- package/packages/locale/lang/ug-CN.ts +3 -0
- package/packages/locale/lang/uk-UA.ts +3 -0
- package/packages/locale/lang/uz-UZ.ts +3 -0
- package/packages/locale/lang/vi-VN.ts +3 -0
- package/packages/locale/lang/zh-CHT.ts +3 -0
- package/packages/locale/lang/zh-CN.ts +3 -0
- package/packages/table/render/index.ts +72 -2
- package/packages/table/src/cell.ts +25 -11
- package/packages/table/src/util.ts +12 -16
- package/packages/toolbar/src/toolbar.ts +1 -1
- package/packages/ui/src/dom.ts +7 -0
- package/styles/components/table.scss +27 -15
- /package/es/{iconfont.1746783164369.ttf → iconfont.1746863474194.ttf} +0 -0
- /package/es/{iconfont.1746783164369.woff → iconfont.1746863474194.woff} +0 -0
- /package/es/{iconfont.1746783164369.woff2 → iconfont.1746863474194.woff2} +0 -0
- /package/lib/{iconfont.1746783164369.ttf → iconfont.1746863474194.ttf} +0 -0
- /package/lib/{iconfont.1746783164369.woff → iconfont.1746863474194.woff} +0 -0
- /package/lib/{iconfont.1746783164369.woff2 → iconfont.1746863474194.woff2} +0 -0
package/es/table/render/index.js
CHANGED
|
@@ -144,7 +144,7 @@ const blurEvent = 'blur';
|
|
|
144
144
|
* @param modelFunc
|
|
145
145
|
* @param changeFunc
|
|
146
146
|
*/
|
|
147
|
-
function getComponentOns(renderOpts, params, eFns) {
|
|
147
|
+
function getComponentOns(renderOpts, params, eFns, eventOns) {
|
|
148
148
|
const { events } = renderOpts;
|
|
149
149
|
const modelEvent = getModelEvent(renderOpts);
|
|
150
150
|
const changeEvent = getChangeEvent(renderOpts);
|
|
@@ -182,7 +182,7 @@ function getComponentOns(renderOpts, params, eFns) {
|
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
return ons;
|
|
185
|
+
return eventOns ? Object.assign(ons, eventOns) : ons;
|
|
186
186
|
}
|
|
187
187
|
function getEditOns(renderOpts, params) {
|
|
188
188
|
const { $table, row, column } = params;
|
|
@@ -706,6 +706,75 @@ renderer.mixin({
|
|
|
706
706
|
renderTableFilter: defaultFilterRender,
|
|
707
707
|
tableFilterDefaultMethod: handleFilterMethod
|
|
708
708
|
},
|
|
709
|
+
VxeDateRangePicker: {
|
|
710
|
+
tableAutoFocus: 'input',
|
|
711
|
+
renderTableEdit(renderOpts, params) {
|
|
712
|
+
const { startField, endField } = renderOpts;
|
|
713
|
+
const { $table, row, column } = params;
|
|
714
|
+
const { model } = column;
|
|
715
|
+
const cellValue = getCellValue(row, column);
|
|
716
|
+
const seProps = {};
|
|
717
|
+
const seOs = {};
|
|
718
|
+
if (startField && endField) {
|
|
719
|
+
seProps.startValue = XEUtils.get(row, startField);
|
|
720
|
+
seProps.endValue = XEUtils.get(row, endField);
|
|
721
|
+
seOs['onUpdate:startValue'] = (value) => {
|
|
722
|
+
if (startField) {
|
|
723
|
+
XEUtils.set(row, startField, value);
|
|
724
|
+
}
|
|
725
|
+
};
|
|
726
|
+
seOs['onUpdate:endValue'] = (value) => {
|
|
727
|
+
if (endField) {
|
|
728
|
+
XEUtils.set(row, endField, value);
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
return [
|
|
733
|
+
h(getDefaultComponent(renderOpts), Object.assign(Object.assign({}, getCellEditProps(renderOpts, params, cellValue, seProps)), getComponentOns(renderOpts, params, {
|
|
734
|
+
model(cellValue) {
|
|
735
|
+
model.update = true;
|
|
736
|
+
model.value = cellValue;
|
|
737
|
+
setCellValue(row, column, cellValue);
|
|
738
|
+
},
|
|
739
|
+
change() {
|
|
740
|
+
$table.updateStatus(params);
|
|
741
|
+
},
|
|
742
|
+
blur() {
|
|
743
|
+
$table.handleCellRuleUpdateStatus('blur', params);
|
|
744
|
+
}
|
|
745
|
+
}, seOs)))
|
|
746
|
+
];
|
|
747
|
+
},
|
|
748
|
+
renderTableCell(renderOpts, params) {
|
|
749
|
+
const { startField, endField } = renderOpts;
|
|
750
|
+
const { row, column } = params;
|
|
751
|
+
let startValue = '';
|
|
752
|
+
let endValue = '';
|
|
753
|
+
if (startField && endField) {
|
|
754
|
+
startValue = XEUtils.get(row, startField);
|
|
755
|
+
endValue = XEUtils.get(row, endField);
|
|
756
|
+
}
|
|
757
|
+
else {
|
|
758
|
+
const cellValue = XEUtils.get(row, column.field);
|
|
759
|
+
if (cellValue) {
|
|
760
|
+
if (XEUtils.isArray(cellValue)) {
|
|
761
|
+
startValue = cellValue[0];
|
|
762
|
+
endValue = cellValue[1];
|
|
763
|
+
}
|
|
764
|
+
else {
|
|
765
|
+
const strs = `${cellValue}`.split(',');
|
|
766
|
+
startValue = strs[0];
|
|
767
|
+
endValue = strs[1];
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
let cellLabel = '';
|
|
772
|
+
if (startValue && endValue) {
|
|
773
|
+
cellLabel = `${startValue} ~ ${endValue}`;
|
|
774
|
+
}
|
|
775
|
+
return getCellLabelVNs(renderOpts, params, cellLabel);
|
|
776
|
+
}
|
|
777
|
+
},
|
|
709
778
|
VxeTextarea: {
|
|
710
779
|
tableAutoFocus: 'textarea',
|
|
711
780
|
renderTableEdit: defaultEditRender,
|
package/es/table/src/cell.js
CHANGED
|
@@ -10,15 +10,19 @@ function renderTitlePrefixIcon(params) {
|
|
|
10
10
|
const { $table, column } = params;
|
|
11
11
|
const titlePrefix = column.titlePrefix || column.titleHelp;
|
|
12
12
|
if (titlePrefix) {
|
|
13
|
-
return h('
|
|
14
|
-
class: ['vxe-cell-title-prefix-icon', titlePrefix.iconStatus ? `theme--${titlePrefix.iconStatus}` : ''
|
|
13
|
+
return h('span', {
|
|
14
|
+
class: ['vxe-cell-title-prefix-icon', titlePrefix.iconStatus ? `theme--${titlePrefix.iconStatus}` : ''],
|
|
15
15
|
onMouseenter(evnt) {
|
|
16
16
|
$table.triggerHeaderTitleEvent(evnt, titlePrefix, params);
|
|
17
17
|
},
|
|
18
18
|
onMouseleave(evnt) {
|
|
19
19
|
$table.handleTargetLeaveEvent(evnt);
|
|
20
20
|
}
|
|
21
|
-
}
|
|
21
|
+
}, [
|
|
22
|
+
h('i', {
|
|
23
|
+
class: titlePrefix.icon || getIcon().TABLE_TITLE_PREFIX
|
|
24
|
+
})
|
|
25
|
+
]);
|
|
22
26
|
}
|
|
23
27
|
return renderEmptyElement($table);
|
|
24
28
|
}
|
|
@@ -26,15 +30,19 @@ function renderTitleSuffixIcon(params) {
|
|
|
26
30
|
const { $table, column } = params;
|
|
27
31
|
const titleSuffix = column.titleSuffix;
|
|
28
32
|
if (titleSuffix) {
|
|
29
|
-
return h('
|
|
30
|
-
class: ['vxe-cell-title-suffix-icon', titleSuffix.iconStatus ? `theme--${titleSuffix.iconStatus}` : ''
|
|
33
|
+
return h('span', {
|
|
34
|
+
class: ['vxe-cell-title-suffix-icon', titleSuffix.iconStatus ? `theme--${titleSuffix.iconStatus}` : ''],
|
|
31
35
|
onMouseenter(evnt) {
|
|
32
36
|
$table.triggerHeaderTitleEvent(evnt, titleSuffix, params);
|
|
33
37
|
},
|
|
34
38
|
onMouseleave(evnt) {
|
|
35
39
|
$table.handleTargetLeaveEvent(evnt);
|
|
36
40
|
}
|
|
37
|
-
}
|
|
41
|
+
}, [
|
|
42
|
+
h('i', {
|
|
43
|
+
class: titleSuffix.icon || getIcon().TABLE_TITLE_SUFFIX
|
|
44
|
+
})
|
|
45
|
+
]);
|
|
38
46
|
}
|
|
39
47
|
return renderEmptyElement($table);
|
|
40
48
|
}
|
|
@@ -1009,14 +1017,20 @@ export const Cell = {
|
|
|
1009
1017
|
if (isEnableConf(editConfig)) {
|
|
1010
1018
|
editIconVNs = [
|
|
1011
1019
|
isRequired && editOpts.showAsterisk
|
|
1012
|
-
? h('
|
|
1020
|
+
? h('span', {
|
|
1013
1021
|
class: 'vxe-cell--required-icon'
|
|
1014
|
-
}
|
|
1022
|
+
}, [
|
|
1023
|
+
h('i')
|
|
1024
|
+
])
|
|
1015
1025
|
: renderEmptyElement($table),
|
|
1016
1026
|
isEnableConf(editRender) && editOpts.showIcon
|
|
1017
|
-
? h('
|
|
1018
|
-
class:
|
|
1019
|
-
}
|
|
1027
|
+
? h('span', {
|
|
1028
|
+
class: 'vxe-cell--edit-icon'
|
|
1029
|
+
}, [
|
|
1030
|
+
h('i', {
|
|
1031
|
+
class: editOpts.icon || getIcon().TABLE_EDIT
|
|
1032
|
+
})
|
|
1033
|
+
])
|
|
1020
1034
|
: renderEmptyElement($table)
|
|
1021
1035
|
];
|
|
1022
1036
|
}
|
package/es/table/src/util.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch, reactive, nextTick } from 'vue';
|
|
2
2
|
import XEUtils from 'xe-utils';
|
|
3
3
|
import { ColumnInfo } from './columnInfo';
|
|
4
|
-
import { isPx, isScale } from '../../ui/src/dom';
|
|
4
|
+
import { isPx, isScale, queryElement } from '../../ui/src/dom';
|
|
5
5
|
import { eqEmptyValue } from '../../ui/src/utils';
|
|
6
6
|
const getAllConvertColumns = (columns, parentColumn) => {
|
|
7
7
|
const result = [];
|
|
@@ -165,7 +165,7 @@ function getPaddingLeftRightSize(elem) {
|
|
|
165
165
|
}
|
|
166
166
|
return 0;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function getElementMarginAndWidth(elem) {
|
|
169
169
|
if (elem) {
|
|
170
170
|
const computedStyle = getComputedStyle(elem);
|
|
171
171
|
const marginLeft = XEUtils.toNumber(computedStyle.marginLeft);
|
|
@@ -174,9 +174,6 @@ function getElementMarginWidth(elem) {
|
|
|
174
174
|
}
|
|
175
175
|
return 0;
|
|
176
176
|
}
|
|
177
|
-
function queryCellElement(cell, selector) {
|
|
178
|
-
return cell.querySelector('.vxe-cell' + selector);
|
|
179
|
-
}
|
|
180
177
|
export function toFilters(filters) {
|
|
181
178
|
if (filters && XEUtils.isArray(filters)) {
|
|
182
179
|
return filters.map(({ label, value, data, resetValue, checked }) => {
|
|
@@ -255,19 +252,19 @@ export function getColReMinWidth(params) {
|
|
|
255
252
|
const showTitle = headOverflow === 'title';
|
|
256
253
|
const showTooltip = headOverflow === true || headOverflow === 'tooltip';
|
|
257
254
|
const hasEllipsis = showTitle || showTooltip || showEllipsis;
|
|
258
|
-
const minTitleWidth = XEUtils.floor((XEUtils.toNumber(getComputedStyle(cell).fontSize) || 14) * 1.
|
|
259
|
-
const paddingLeftRight = getPaddingLeftRightSize(cell) + getPaddingLeftRightSize(
|
|
255
|
+
const minTitleWidth = XEUtils.floor((XEUtils.toNumber(getComputedStyle(cell).fontSize) || 14) * 1.8);
|
|
256
|
+
const paddingLeftRight = getPaddingLeftRightSize(cell) + getPaddingLeftRightSize(queryElement(cell, '.vxe-cell'));
|
|
260
257
|
let mWidth = minTitleWidth + paddingLeftRight;
|
|
261
258
|
// 默认最小宽处理
|
|
262
259
|
if (hasEllipsis) {
|
|
263
|
-
const dragIconWidth =
|
|
264
|
-
const checkboxIconWidth =
|
|
265
|
-
const requiredIconWidth =
|
|
266
|
-
const editIconWidth =
|
|
267
|
-
const prefixIconWidth =
|
|
268
|
-
const suffixIconWidth =
|
|
269
|
-
const sortIconWidth =
|
|
270
|
-
const filterIconWidth =
|
|
260
|
+
const dragIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--drag-handle'));
|
|
261
|
+
const checkboxIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--checkbox'));
|
|
262
|
+
const requiredIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--required-icon'));
|
|
263
|
+
const editIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--edit-icon'));
|
|
264
|
+
const prefixIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell-title-prefix-icon'));
|
|
265
|
+
const suffixIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell-title-suffix-icon'));
|
|
266
|
+
const sortIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--sort'));
|
|
267
|
+
const filterIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--filter'));
|
|
271
268
|
mWidth += dragIconWidth + checkboxIconWidth + requiredIconWidth + editIconWidth + prefixIconWidth + suffixIconWidth + filterIconWidth + sortIconWidth;
|
|
272
269
|
}
|
|
273
270
|
// 如果设置最小宽
|
package/es/table/style.css
CHANGED
|
@@ -1806,6 +1806,7 @@
|
|
|
1806
1806
|
.vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-select,
|
|
1807
1807
|
.vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-tree-select,
|
|
1808
1808
|
.vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-picker,
|
|
1809
|
+
.vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-range-picker,
|
|
1809
1810
|
.vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-number-input,
|
|
1810
1811
|
.vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-ico-picker,
|
|
1811
1812
|
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-input,
|
|
@@ -1813,6 +1814,7 @@
|
|
|
1813
1814
|
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-select,
|
|
1814
1815
|
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-tree-select,
|
|
1815
1816
|
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-picker,
|
|
1817
|
+
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-range-picker,
|
|
1816
1818
|
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-number-input,
|
|
1817
1819
|
.vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-ico-picker {
|
|
1818
1820
|
width: 100%;
|
|
@@ -1821,7 +1823,7 @@
|
|
|
1821
1823
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-default-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-default-textarea, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-default-select {
|
|
1822
1824
|
width: 100%;
|
|
1823
1825
|
}
|
|
1824
|
-
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-textarea, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-tree-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-date-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-number-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-ico-picker {
|
|
1826
|
+
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-textarea, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-tree-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-date-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-date-range-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-number-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-ico-picker {
|
|
1825
1827
|
width: 100%;
|
|
1826
1828
|
}
|
|
1827
1829
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-default-input,
|
|
@@ -1832,6 +1834,7 @@
|
|
|
1832
1834
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-select,
|
|
1833
1835
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-tree-select,
|
|
1834
1836
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-date-picker,
|
|
1837
|
+
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-date-range-picker,
|
|
1835
1838
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-number-input,
|
|
1836
1839
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-ico-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-default-input,
|
|
1837
1840
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-default-textarea,
|
|
@@ -1841,6 +1844,7 @@
|
|
|
1841
1844
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-select,
|
|
1842
1845
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-tree-select,
|
|
1843
1846
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-date-picker,
|
|
1847
|
+
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-date-range-picker,
|
|
1844
1848
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-number-input,
|
|
1845
1849
|
.vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-ico-picker {
|
|
1846
1850
|
width: 100%;
|
|
@@ -1849,7 +1853,7 @@
|
|
|
1849
1853
|
.vxe-table--filter-template > .vxe-default-input, .vxe-table--filter-template > .vxe-default-textarea, .vxe-table--filter-template > .vxe-default-select {
|
|
1850
1854
|
width: 100%;
|
|
1851
1855
|
}
|
|
1852
|
-
.vxe-table--filter-template > .vxe-input, .vxe-table--filter-template > .vxe-textarea, .vxe-table--filter-template > .vxe-select, .vxe-table--filter-template > .vxe-tree-select, .vxe-table--filter-template > .vxe-date-picker, .vxe-table--filter-template > .vxe-number-input, .vxe-table--filter-template > .vxe-ico-picker {
|
|
1856
|
+
.vxe-table--filter-template > .vxe-input, .vxe-table--filter-template > .vxe-textarea, .vxe-table--filter-template > .vxe-select, .vxe-table--filter-template > .vxe-tree-select, .vxe-table--filter-template > .vxe-date-picker, .vxe-table--filter-template > .vxe-date-range-picker, .vxe-table--filter-template > .vxe-number-input, .vxe-table--filter-template > .vxe-ico-picker {
|
|
1853
1857
|
width: 100%;
|
|
1854
1858
|
}
|
|
1855
1859
|
|
|
@@ -2287,29 +2291,38 @@
|
|
|
2287
2291
|
position: relative;
|
|
2288
2292
|
font-weight: var(--vxe-ui-table-header-font-weight);
|
|
2289
2293
|
}
|
|
2290
|
-
.vxe-header--column.col--ellipsis > .vxe-cell {
|
|
2294
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper {
|
|
2291
2295
|
display: flex;
|
|
2292
2296
|
align-items: center;
|
|
2293
2297
|
}
|
|
2298
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--drag-handle,
|
|
2299
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--sort,
|
|
2300
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--filter,
|
|
2301
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell-title-prefix-icon,
|
|
2302
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell-title-suffix-icon,
|
|
2303
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--checkbox,
|
|
2304
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell-title-suffix-icon,
|
|
2305
|
+
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--required-icon {
|
|
2306
|
+
flex-shrink: 0;
|
|
2307
|
+
}
|
|
2294
2308
|
.vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--title {
|
|
2295
2309
|
overflow: hidden;
|
|
2296
2310
|
text-overflow: ellipsis;
|
|
2297
2311
|
white-space: nowrap;
|
|
2298
2312
|
}
|
|
2299
|
-
.vxe-header--column.col--ellipsis > .vxe-cell > i:not(.vxe-cell--title), .vxe-header--column.col--ellipsis > .vxe-cell > span:not(.vxe-cell--title) {
|
|
2300
|
-
flex-shrink: 0;
|
|
2301
|
-
}
|
|
2302
2313
|
.vxe-header--column .vxe-cell--required-icon {
|
|
2303
2314
|
display: inline-block;
|
|
2304
2315
|
color: var(--vxe-ui-table-validate-error-color);
|
|
2305
2316
|
width: 0.8em;
|
|
2306
2317
|
height: 1em;
|
|
2307
2318
|
line-height: 1em;
|
|
2319
|
+
position: relative;
|
|
2320
|
+
}
|
|
2321
|
+
.vxe-header--column .vxe-cell--required-icon > i {
|
|
2308
2322
|
font-family: Verdana, Arial, Tahoma;
|
|
2309
2323
|
font-weight: normal;
|
|
2310
|
-
position: relative;
|
|
2311
2324
|
}
|
|
2312
|
-
.vxe-header--column .vxe-cell--required-icon:before {
|
|
2325
|
+
.vxe-header--column .vxe-cell--required-icon > i:before {
|
|
2313
2326
|
content: "*";
|
|
2314
2327
|
position: absolute;
|
|
2315
2328
|
left: 0;
|