vxe-table 3.22.7 → 3.22.9
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 +14 -0
- 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/module/export/mixin.js +3 -3
- package/es/table/src/cell.js +2 -2
- package/es/table/src/footer.js +3 -3
- package/es/table/src/header.js +3 -3
- package/es/table/src/methods.js +30 -12
- package/es/table/src/table.js +3 -3
- package/es/table/src/util.js +5 -1
- package/es/table/style.css +22 -12
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +3 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +22 -12
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +18 -0
- 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 +52 -28
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/export/mixin.js +3 -3
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/src/cell.js +2 -2
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/footer.js +3 -3
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +3 -3
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +11 -11
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +3 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +5 -1
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +22 -12
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +3 -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 +22 -12
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/grid/src/grid.ts +15 -0
- package/packages/table/module/export/mixin.ts +3 -3
- package/packages/table/src/cell.ts +2 -2
- package/packages/table/src/footer.ts +3 -3
- package/packages/table/src/header.ts +3 -3
- package/packages/table/src/methods.ts +30 -12
- package/packages/table/src/table.ts +3 -3
- package/packages/table/src/util.ts +5 -1
- package/packages/ui/index.ts +2 -0
- package/styles/components/table.scss +24 -6
- package/styles/theme/base.scss +0 -1
- /package/es/{iconfont.1784868282490.ttf → iconfont.1785242725062.ttf} +0 -0
- /package/es/{iconfont.1784868282490.woff → iconfont.1785242725062.woff} +0 -0
- /package/es/{iconfont.1784868282490.woff2 → iconfont.1785242725062.woff2} +0 -0
- /package/lib/{iconfont.1784868282490.ttf → iconfont.1785242725062.ttf} +0 -0
- /package/lib/{iconfont.1784868282490.woff → iconfont.1785242725062.woff} +0 -0
- /package/lib/{iconfont.1784868282490.woff2 → iconfont.1785242725062.woff2} +0 -0
|
@@ -1252,7 +1252,7 @@ function handleExportAndPrint($xeTable, options, isPrint) {
|
|
|
1252
1252
|
const isColGroup = column.children && column.children.length > 0;
|
|
1253
1253
|
let isChecked = false;
|
|
1254
1254
|
const isExtraChecked = extraFdMaps[column.field];
|
|
1255
|
-
if (columns
|
|
1255
|
+
if (columns) {
|
|
1256
1256
|
isChecked = handleFilterColumns(defOpts, column, columns);
|
|
1257
1257
|
}
|
|
1258
1258
|
else if (excludeFields || includeFields) {
|
|
@@ -1458,7 +1458,7 @@ export default {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
let isCustomCol = false;
|
|
1460
1460
|
let customCols = [];
|
|
1461
|
-
if (columns
|
|
1461
|
+
if (columns) {
|
|
1462
1462
|
isCustomCol = true;
|
|
1463
1463
|
customCols = XEUtils.searchTree(columns, () => true, { children: 'children', mapChildren: 'childNodes', original: true });
|
|
1464
1464
|
}
|
|
@@ -1467,7 +1467,7 @@ export default {
|
|
|
1467
1467
|
const isColGroup = column.children && column.children.length > 0;
|
|
1468
1468
|
let isChecked = false;
|
|
1469
1469
|
const isExtraChecked = extraFdMaps[column.field];
|
|
1470
|
-
if (columns
|
|
1470
|
+
if (columns) {
|
|
1471
1471
|
isChecked = handleFilterColumns(opts, column, columns);
|
|
1472
1472
|
}
|
|
1473
1473
|
else if (excludeFields || includeFields) {
|
package/es/table/src/cell.js
CHANGED
|
@@ -175,8 +175,8 @@ function renderTitleContent(h, params, content) {
|
|
|
175
175
|
const headerTooltipOpts = $table.computeHeaderTooltipOpts;
|
|
176
176
|
const showAllTip = headerTooltipOpts.showAll;
|
|
177
177
|
const headOverflow = XEUtils.eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
178
|
-
const showTitle = headOverflow === 'title';
|
|
179
|
-
const showTooltip = headOverflow === true
|
|
178
|
+
const showTitle = (headOverflow === true ? headerTooltipOpts.mode : headOverflow) === 'title';
|
|
179
|
+
const showTooltip = (headOverflow === true ? headerTooltipOpts.mode : headOverflow) === 'tooltip';
|
|
180
180
|
const ons = {};
|
|
181
181
|
if (showTitle || showTooltip || showAllTip) {
|
|
182
182
|
ons.mouseenter = (evnt) => {
|
package/es/table/src/footer.js
CHANGED
|
@@ -39,9 +39,9 @@ function renderRows(h, _vm, isOptimizeMode, tableColumn, footerTableData, row, $
|
|
|
39
39
|
const isPadding = XEUtils.isBoolean(footerCellOpts.padding) ? footerCellOpts.padding : cellOpts.padding;
|
|
40
40
|
const footOverflow = XEUtils.eqNull(showFooterOverflow) ? allColumnFooterOverflow : showFooterOverflow;
|
|
41
41
|
const footAlign = footerAlign || (compConf ? compConf.tableFooterCellAlign : '') || allFooterAlign || align || (compConf ? compConf.tableCellAlign : '') || allAlign;
|
|
42
|
-
const showEllipsis = footOverflow === 'ellipsis';
|
|
43
|
-
const showTitle = footOverflow === 'title';
|
|
44
|
-
const showTooltip = footOverflow === true ? footerTooltipOpts.mode
|
|
42
|
+
const showEllipsis = (footOverflow === true ? footerTooltipOpts.mode : footOverflow) === 'ellipsis';
|
|
43
|
+
const showTitle = (footOverflow === true ? footerTooltipOpts.mode : footOverflow) === 'title';
|
|
44
|
+
const showTooltip = (footOverflow === true ? footerTooltipOpts.mode : footOverflow) === 'tooltip';
|
|
45
45
|
const hasEllipsis = showTitle || showTooltip || showEllipsis;
|
|
46
46
|
const showResizable = (XEUtils.isBoolean(column.resizable) ? column.resizable : (columnOpts.resizable || allResizable));
|
|
47
47
|
const attrs = { colid };
|
package/es/table/src/header.js
CHANGED
|
@@ -235,9 +235,9 @@ function renderFilterRows(h, _vm, isOptimizeMode, cols) {
|
|
|
235
235
|
const isPadding = XEUtils.isBoolean(headerCellOpts.padding) ? headerCellOpts.padding : cellOpts.padding;
|
|
236
236
|
const headOverflow = XEUtils.eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
237
237
|
const headAlign = headerAlign || (compConf ? compConf.tableHeaderCellAlign : '') || allHeaderAlign || align || (compConf ? compConf.tableCellAlign : '') || allAlign;
|
|
238
|
-
const showEllipsis = headOverflow === 'ellipsis';
|
|
239
|
-
const showTitle = headOverflow === 'title';
|
|
240
|
-
const showTooltip = headOverflow === true ? headerTooltipOpts.mode
|
|
238
|
+
const showEllipsis = (headOverflow === true ? headerTooltipOpts.mode : headOverflow) === 'ellipsis';
|
|
239
|
+
const showTitle = (headOverflow === true ? headerTooltipOpts.mode : headOverflow) === 'title';
|
|
240
|
+
const showTooltip = (headOverflow === true ? headerTooltipOpts.mode : headOverflow) === 'tooltip';
|
|
241
241
|
const hasEllipsis = showTitle || showTooltip || showEllipsis;
|
|
242
242
|
let hasFilter = false;
|
|
243
243
|
let firstFilterOption = null;
|
package/es/table/src/methods.js
CHANGED
|
@@ -122,10 +122,13 @@ function handleCustomRestore($xeTable, storeData) {
|
|
|
122
122
|
const props = $xeTable;
|
|
123
123
|
const reactData = $xeTable;
|
|
124
124
|
const internalData = $xeTable;
|
|
125
|
+
const $xeGrid = $xeTable.$xeGrid;
|
|
126
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
127
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
125
128
|
const { aggregateConfig, rowGroupConfig } = props;
|
|
126
129
|
const { collectColumn } = internalData;
|
|
127
|
-
const { isCustomAlign, isCustomHeaderAlign, isCustomFooterAlign, isCustomResizable, isCustomVisible, isCustomFixed, isCustomSort, isCustomAggGroup, isCustomAggFunc } = handleCustomStoreConfig($xeTable);
|
|
128
|
-
let { alignData, headerAlignData, footerAlignData, resizableData, sortData, visibleData, fixedData, aggGroupData, aggFuncData } = storeData;
|
|
130
|
+
const { isCustomAlign, isCustomHeaderAlign, isCustomFooterAlign, isCustomResizable, isCustomVisible, isCustomFixed, isCustomSort, isCustomAggGroup, isCustomAggFunc, isCustomPager } = handleCustomStoreConfig($xeTable);
|
|
131
|
+
let { alignData, headerAlignData, footerAlignData, resizableData, sortData, visibleData, fixedData, aggGroupData, aggFuncData, pagerData } = storeData;
|
|
129
132
|
// 处理还原
|
|
130
133
|
if ((isCustomAlign && alignData) ||
|
|
131
134
|
(isCustomHeaderAlign && headerAlignData) ||
|
|
@@ -135,7 +138,8 @@ function handleCustomRestore($xeTable, storeData) {
|
|
|
135
138
|
(isCustomVisible && visibleData) ||
|
|
136
139
|
(isCustomFixed && fixedData) ||
|
|
137
140
|
(isCustomAggGroup && aggGroupData) ||
|
|
138
|
-
(isCustomAggFunc && aggFuncData)
|
|
141
|
+
(isCustomAggFunc && aggFuncData) ||
|
|
142
|
+
(isCustomPager && pagerData && $xeGGWrapper)) {
|
|
139
143
|
const sortColMaps = {};
|
|
140
144
|
if (isCustomSort && sortData) {
|
|
141
145
|
// 转换兼容老版本数据,即将废弃兼容
|
|
@@ -623,7 +627,7 @@ function updateAfterTreeIndex($xeTable) {
|
|
|
623
627
|
const fullMaps = {};
|
|
624
628
|
let rowNum = 0;
|
|
625
629
|
const { handleGetRowId } = createHandleGetRowId($xeTable);
|
|
626
|
-
XEUtils.eachTree(afterTreeFullData, (row, index, items, path) => {
|
|
630
|
+
XEUtils.eachTree(afterTreeFullData, (row, index, items, path, parentRow) => {
|
|
627
631
|
const rowid = handleGetRowId(row);
|
|
628
632
|
const rowRest = fullAllDataRowIdData[rowid];
|
|
629
633
|
const seq = path.map((num, i) => i % 2 === 0 ? (Number(num) + 1) : '.').join('');
|
|
@@ -631,10 +635,11 @@ function updateAfterTreeIndex($xeTable) {
|
|
|
631
635
|
rowRest.seq = seq;
|
|
632
636
|
rowRest._seq = rowNum;
|
|
633
637
|
rowRest.treeIndex = index;
|
|
638
|
+
rowRest._index = rowNum;
|
|
634
639
|
rowRest._tIndex = rowNum;
|
|
635
640
|
}
|
|
636
641
|
else {
|
|
637
|
-
const rest = { row, rowid, _seq: rowNum, seq, index
|
|
642
|
+
const rest = { row, rowid, _seq: rowNum, seq, index, $index: -1, _index: rowNum, treeIndex: index, _tIndex: rowNum, items, parent: parentRow, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
|
|
638
643
|
fullAllDataRowIdData[rowid] = rest;
|
|
639
644
|
fullDataRowIdData[rowid] = rest;
|
|
640
645
|
}
|
|
@@ -4193,7 +4198,7 @@ function calcCellWidth($xeTable) {
|
|
|
4193
4198
|
const autoWidthColumnList = $xeTable.computeAutoWidthColumnList;
|
|
4194
4199
|
const { fullColumnIdData } = internalData;
|
|
4195
4200
|
const el = $xeTable.$refs.refElem;
|
|
4196
|
-
if (el) {
|
|
4201
|
+
if (el && autoWidthColumnList.length) {
|
|
4197
4202
|
el.setAttribute('data-calc-col', 'Y');
|
|
4198
4203
|
autoWidthColumnList.forEach(column => {
|
|
4199
4204
|
const colid = column.id;
|
|
@@ -4289,12 +4294,12 @@ function updateRowExpandStyle($xeTable) {
|
|
|
4289
4294
|
return;
|
|
4290
4295
|
}
|
|
4291
4296
|
const expandOpts = $xeTable.computeExpandOpts;
|
|
4292
|
-
const rowOpts = $xeTable.computeRowOpts;
|
|
4293
|
-
const cellOpts = $xeTable.computeCellOpts;
|
|
4294
|
-
const defaultRowHeight = $xeTable.computeDefaultRowHeight;
|
|
4295
4297
|
const { mode } = expandOpts;
|
|
4296
4298
|
if (expandColumn && mode === 'fixed') {
|
|
4297
4299
|
const { elemStore, fullAllDataRowIdData } = internalData;
|
|
4300
|
+
const rowOpts = $xeTable.computeRowOpts;
|
|
4301
|
+
const cellOpts = $xeTable.computeCellOpts;
|
|
4302
|
+
const defaultRowHeight = $xeTable.computeDefaultRowHeight;
|
|
4298
4303
|
const rowExpandEl = $xeTable.$refs.refRowExpandElem;
|
|
4299
4304
|
const bodyScrollElem = getRefElem(elemStore['main-body-scroll']);
|
|
4300
4305
|
if (rowExpandEl && bodyScrollElem) {
|
|
@@ -6515,6 +6520,9 @@ const tableMethods = {
|
|
|
6515
6520
|
*/
|
|
6516
6521
|
getCustomStoreData() {
|
|
6517
6522
|
const $xeTable = this;
|
|
6523
|
+
const $xeGrid = $xeTable.$xeGrid;
|
|
6524
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
6525
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
6518
6526
|
const props = $xeTable;
|
|
6519
6527
|
const reactData = $xeTable;
|
|
6520
6528
|
const internalData = $xeTable;
|
|
@@ -6523,7 +6531,7 @@ const tableMethods = {
|
|
|
6523
6531
|
const { isRowGroupStatus, rowGroupList } = reactData;
|
|
6524
6532
|
const { fullColumnFieldData, collectColumn } = internalData;
|
|
6525
6533
|
const { storage, checkMethod } = customOpts;
|
|
6526
|
-
const { isCustomAlign, isCustomHeaderAlign, isCustomFooterAlign, isCustomResizable, isCustomVisible, isCustomFixed, isCustomSort, isCustomAggGroup, isCustomAggFunc } = handleCustomStoreConfig($xeTable);
|
|
6534
|
+
const { isCustomAlign, isCustomHeaderAlign, isCustomFooterAlign, isCustomResizable, isCustomVisible, isCustomFixed, isCustomSort, isCustomAggGroup, isCustomAggFunc, isCustomPager } = handleCustomStoreConfig($xeTable);
|
|
6527
6535
|
const alignData = {};
|
|
6528
6536
|
const headerAlignData = {};
|
|
6529
6537
|
const footerAlignData = {};
|
|
@@ -6534,6 +6542,7 @@ const tableMethods = {
|
|
|
6534
6542
|
const aggGroupData = {};
|
|
6535
6543
|
const aggFuncData = {};
|
|
6536
6544
|
const storeData = {
|
|
6545
|
+
pagerData: isCustomPager && $xeGGWrapper && $xeGGWrapper.getCustomPagerData ? $xeGGWrapper.getCustomPagerData() : undefined,
|
|
6537
6546
|
alignData: undefined,
|
|
6538
6547
|
headerAlignData: undefined,
|
|
6539
6548
|
footerAlignData: undefined,
|
|
@@ -6670,7 +6679,7 @@ const tableMethods = {
|
|
|
6670
6679
|
const tableId = $xeTable.computeTableId;
|
|
6671
6680
|
const customOpts = $xeTable.computeCustomOpts;
|
|
6672
6681
|
const { updateStore, storage } = customOpts;
|
|
6673
|
-
const { isCustomAlign, isCustomHeaderAlign, isCustomFooterAlign, isCustomResizable, isCustomVisible, isCustomFixed, isCustomSort, isCustomAggGroup, isCustomAggFunc } = handleCustomStoreConfig($xeTable);
|
|
6682
|
+
const { isCustomAlign, isCustomHeaderAlign, isCustomFooterAlign, isCustomResizable, isCustomVisible, isCustomFixed, isCustomSort, isCustomAggGroup, isCustomAggFunc, isCustomPager } = handleCustomStoreConfig($xeTable);
|
|
6674
6683
|
if (type !== 'reset') {
|
|
6675
6684
|
// fix:修复拖动列宽,重置按钮无法点击的问题
|
|
6676
6685
|
reactData.isCustomStatus = true;
|
|
@@ -6685,13 +6694,15 @@ const tableMethods = {
|
|
|
6685
6694
|
isCustomFixed ||
|
|
6686
6695
|
isCustomSort ||
|
|
6687
6696
|
isCustomAggGroup ||
|
|
6688
|
-
isCustomAggFunc
|
|
6697
|
+
isCustomAggFunc ||
|
|
6698
|
+
isCustomPager)) {
|
|
6689
6699
|
if (!tableId) {
|
|
6690
6700
|
errLog('vxe.error.reqProp', ['id']);
|
|
6691
6701
|
return $xeTable.$nextTick();
|
|
6692
6702
|
}
|
|
6693
6703
|
const storeData = type === 'reset'
|
|
6694
6704
|
? {
|
|
6705
|
+
pagerData: {},
|
|
6695
6706
|
alignData: {},
|
|
6696
6707
|
headerAlignData: {},
|
|
6697
6708
|
footerAlignData: {},
|
|
@@ -9930,6 +9941,7 @@ const tableMethods = {
|
|
|
9930
9941
|
status: false
|
|
9931
9942
|
};
|
|
9932
9943
|
if (!(el && prevDragRow && dragRow)) {
|
|
9944
|
+
handleRowDragEndClearStatus($xeTable);
|
|
9933
9945
|
return Promise.resolve(errRest);
|
|
9934
9946
|
}
|
|
9935
9947
|
// 判断是否有拖动
|
|
@@ -10033,6 +10045,9 @@ const tableMethods = {
|
|
|
10033
10045
|
}
|
|
10034
10046
|
}
|
|
10035
10047
|
const isDragToChildFlag = isSelfToChildDrag && dragToChildMethod ? dragToChildMethod(dragParams) : prevDragToChild;
|
|
10048
|
+
if (dEndMethod) {
|
|
10049
|
+
handleRowDragEndClearStatus($xeTable);
|
|
10050
|
+
}
|
|
10036
10051
|
return Promise.resolve(dEndMethod ? dEndMethod(dragParams) : true).then((status) => {
|
|
10037
10052
|
if (!status) {
|
|
10038
10053
|
return errRest;
|
|
@@ -10340,6 +10355,9 @@ const tableMethods = {
|
|
|
10340
10355
|
const errRest = {
|
|
10341
10356
|
status: false
|
|
10342
10357
|
};
|
|
10358
|
+
if (dragEndMethod) {
|
|
10359
|
+
handleRowDragEndClearStatus($xeTable);
|
|
10360
|
+
}
|
|
10343
10361
|
Promise.resolve(dragEndMethod ? dragEndMethod(dragParams) : true).then((status) => {
|
|
10344
10362
|
if (!status) {
|
|
10345
10363
|
if ($oldTable) {
|
package/es/table/src/table.js
CHANGED
|
@@ -1626,9 +1626,9 @@ export default {
|
|
|
1626
1626
|
// if (treeConfig && (treeOpts.showLine || treeOpts.line) && !showOverflow) {
|
|
1627
1627
|
// warnLog('vxe.error.reqProp', ['show-overflow'])
|
|
1628
1628
|
// }
|
|
1629
|
-
if (treeConfig && !treeOpts.transform && props.stripe) {
|
|
1630
|
-
|
|
1631
|
-
}
|
|
1629
|
+
// if (treeConfig && !treeOpts.transform && props.stripe) {
|
|
1630
|
+
// warnLog('vxe.error.noTree', ['stripe'])
|
|
1631
|
+
// }
|
|
1632
1632
|
if (treeConfig && !treeOpts.transform) {
|
|
1633
1633
|
if (sortOpts.isDeep) {
|
|
1634
1634
|
warnLog('vxe.error.reqSupportProp', ['transform=false', 'sort-config.isDeep=false']);
|
package/es/table/src/util.js
CHANGED
|
@@ -146,6 +146,8 @@ export function createInternalData() {
|
|
|
146
146
|
tooltipTimeout: null,
|
|
147
147
|
initStatus: false,
|
|
148
148
|
isActivated: false,
|
|
149
|
+
// rceTimeout: undefined,
|
|
150
|
+
// rceRunTime: undefined,
|
|
149
151
|
rceDelay: 0
|
|
150
152
|
// _sToTime: null
|
|
151
153
|
};
|
|
@@ -1030,6 +1032,7 @@ export function handleCustomStoreConfig($xeTable) {
|
|
|
1030
1032
|
const isCustomSort = hangleBolleanDefaultValue(storageOpts.sort, isAllCustom);
|
|
1031
1033
|
const isCustomAggGroup = hangleBolleanDefaultValue(storageOpts.aggGroup, isAllCustom);
|
|
1032
1034
|
const isCustomAggFunc = hangleBolleanDefaultValue(storageOpts.aggFunc, isAllCustom);
|
|
1035
|
+
const isCustomPager = hangleBolleanDefaultValue(storageOpts.pager, isAllCustom);
|
|
1033
1036
|
return {
|
|
1034
1037
|
isCustomAlign,
|
|
1035
1038
|
isCustomHeaderAlign,
|
|
@@ -1039,6 +1042,7 @@ export function handleCustomStoreConfig($xeTable) {
|
|
|
1039
1042
|
isCustomFixed,
|
|
1040
1043
|
isCustomSort,
|
|
1041
1044
|
isCustomAggGroup,
|
|
1042
|
-
isCustomAggFunc
|
|
1045
|
+
isCustomAggFunc,
|
|
1046
|
+
isCustomPager
|
|
1043
1047
|
};
|
|
1044
1048
|
}
|
package/es/table/style.css
CHANGED
|
@@ -1832,6 +1832,25 @@
|
|
|
1832
1832
|
display: block;
|
|
1833
1833
|
}
|
|
1834
1834
|
|
|
1835
|
+
.vxe-table {
|
|
1836
|
+
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-default);
|
|
1837
|
+
}
|
|
1838
|
+
.vxe-table.size--xlarge {
|
|
1839
|
+
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-xlarge);
|
|
1840
|
+
}
|
|
1841
|
+
.vxe-table.size--large {
|
|
1842
|
+
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-large);
|
|
1843
|
+
}
|
|
1844
|
+
.vxe-table.size--medium {
|
|
1845
|
+
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-medium);
|
|
1846
|
+
}
|
|
1847
|
+
.vxe-table.size--small {
|
|
1848
|
+
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-small);
|
|
1849
|
+
}
|
|
1850
|
+
.vxe-table.size--mini {
|
|
1851
|
+
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-mini);
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1835
1854
|
.vxe-table-slots,
|
|
1836
1855
|
.vxe-table--file-form {
|
|
1837
1856
|
display: none;
|
|
@@ -2961,7 +2980,7 @@
|
|
|
2961
2980
|
/*table*/
|
|
2962
2981
|
.vxe-table--render-default {
|
|
2963
2982
|
position: relative;
|
|
2964
|
-
font-size: var(--vxe-ui-font-size
|
|
2983
|
+
font-size: var(--vxe-ui-table-current-font-size);
|
|
2965
2984
|
color: var(--vxe-ui-font-color);
|
|
2966
2985
|
font-family: var(--vxe-ui-font-family);
|
|
2967
2986
|
direction: ltr;
|
|
@@ -3247,9 +3266,6 @@
|
|
|
3247
3266
|
.vxe-table--render-default.border--none .vxe-table--border-line {
|
|
3248
3267
|
display: none;
|
|
3249
3268
|
}
|
|
3250
|
-
.vxe-table--render-default.size--medium {
|
|
3251
|
-
font-size: var(--vxe-ui-font-size-medium);
|
|
3252
|
-
}
|
|
3253
3269
|
.vxe-table--render-default.size--medium .vxe-table--empty-placeholder,
|
|
3254
3270
|
.vxe-table--render-default.size--medium .vxe-table--empty-block {
|
|
3255
3271
|
min-height: var(--vxe-ui-table-row-height-medium);
|
|
@@ -3275,9 +3291,6 @@
|
|
|
3275
3291
|
.vxe-table--render-default.size--medium .vxe-cell--valid-error-tip {
|
|
3276
3292
|
padding: 0 var(--vxe-ui-table-cell-padding-medium);
|
|
3277
3293
|
}
|
|
3278
|
-
.vxe-table--render-default.size--small {
|
|
3279
|
-
font-size: var(--vxe-ui-font-size-small);
|
|
3280
|
-
}
|
|
3281
3294
|
.vxe-table--render-default.size--small .vxe-table--empty-placeholder,
|
|
3282
3295
|
.vxe-table--render-default.size--small .vxe-table--empty-block {
|
|
3283
3296
|
min-height: var(--vxe-ui-table-row-height-small);
|
|
@@ -3303,9 +3316,6 @@
|
|
|
3303
3316
|
.vxe-table--render-default.size--small .vxe-cell--valid-error-tip {
|
|
3304
3317
|
padding: 0 var(--vxe-ui-table-cell-padding-small);
|
|
3305
3318
|
}
|
|
3306
|
-
.vxe-table--render-default.size--mini {
|
|
3307
|
-
font-size: var(--vxe-ui-font-size-mini);
|
|
3308
|
-
}
|
|
3309
3319
|
.vxe-table--render-default.size--mini .vxe-table--empty-placeholder,
|
|
3310
3320
|
.vxe-table--render-default.size--mini .vxe-table--empty-block {
|
|
3311
3321
|
min-height: var(--vxe-ui-table-row-height-mini);
|
|
@@ -3847,7 +3857,7 @@
|
|
|
3847
3857
|
width: 100%;
|
|
3848
3858
|
position: absolute;
|
|
3849
3859
|
left: 50%;
|
|
3850
|
-
font-size: var(--vxe-ui-table-validate-error-font-size);
|
|
3860
|
+
font-size: var(--vxe-ui-table-validate-error-font-size, var(--vxe-ui-table-current-font-size));
|
|
3851
3861
|
line-height: 1em;
|
|
3852
3862
|
transform: translate(-50%, -2px);
|
|
3853
3863
|
text-align: left;
|
|
@@ -3862,7 +3872,7 @@
|
|
|
3862
3872
|
pointer-events: auto;
|
|
3863
3873
|
}
|
|
3864
3874
|
.vxe-table--render-default .vxe-body--column .vxe-cell--valid-error-theme-beautify {
|
|
3865
|
-
padding: 0.2em 0.6em
|
|
3875
|
+
padding: var(--vxe-ui-table-validate-error-padding, 0.2em 0.6em);
|
|
3866
3876
|
color: #fff;
|
|
3867
3877
|
background-color: var(--vxe-ui-table-validate-error-color);
|
|
3868
3878
|
}
|