zmdms-webui 1.9.6 → 1.9.8

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.
@@ -6,6 +6,7 @@ import classNames from '../node_modules/classnames/index.js';
6
6
  import ButtonDownload from './buttonDownload.js';
7
7
  import ButtonExport from './buttonExport.js';
8
8
  import ButtonPreview from './buttonPreview.js';
9
+ import ButtonFullScreen from './buttonFullScreen.js';
9
10
  import '../config/ZtxkContext.js';
10
11
  import useBaseContext from '../config/useBaseContext.js';
11
12
 
@@ -75,6 +76,7 @@ ButtonCom.displayName = "ZTXK_WEBUI_Button";
75
76
  ButtonCom.Group = Button$1.Group;
76
77
  ButtonCom.Download = ButtonDownload;
77
78
  ButtonCom.Export = ButtonExport;
78
- ButtonCom.Preview = ButtonPreview;
79
+ ButtonCom.Preview = ButtonPreview;
80
+ ButtonCom.FullScreen = ButtonFullScreen;
79
81
 
80
82
  export { ButtonCom as default };
@@ -0,0 +1,9 @@
1
+ import React__default from 'react';
2
+ import { IButtonProps } from './interface.js';
3
+
4
+ interface IButtonFullScreenProps extends Omit<IButtonProps, "onClick"> {
5
+ getContainer?: () => HTMLElement;
6
+ }
7
+ declare const ButtonFullScreen: React__default.FC<IButtonFullScreenProps>;
8
+
9
+ export { IButtonFullScreenProps, ButtonFullScreen as default };
@@ -0,0 +1,28 @@
1
+ import { __rest, __assign, __awaiter, __generator } from '../_virtual/_tslib.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import ButtonCom from './button.js';
4
+ import screenfull from '../node_modules/screenfull/index.js';
5
+
6
+ var ButtonFullScreen = function (props) {
7
+ var getContainer = props.getContainer, resetProps = __rest(props, ["getContainer"]);
8
+ var onClickHandle = function (e) { return __awaiter(void 0, void 0, void 0, function () {
9
+ var container, realScreenFull;
10
+ return __generator(this, function (_a) {
11
+ container = getContainer === null || getContainer === void 0 ? void 0 : getContainer();
12
+ if (screenfull.isEnabled) {
13
+ realScreenFull = screenfull;
14
+ if (container) {
15
+ realScreenFull.toggle(container);
16
+ }
17
+ else {
18
+ realScreenFull.toggle();
19
+ }
20
+ }
21
+ return [2 /*return*/];
22
+ });
23
+ }); };
24
+ return jsx(ButtonCom, __assign({ type: "default", onClick: onClickHandle }, resetProps));
25
+ };
26
+ ButtonFullScreen.displayName = "ZTXK_WEBUI_Button.FullScreen";
27
+
28
+ export { ButtonFullScreen as default };
@@ -5,6 +5,7 @@ import { PopconfirmProps } from 'antd/es/popconfirm';
5
5
  import ButtonDownload from './buttonDownload.js';
6
6
  import ButtonExport from './buttonExport.js';
7
7
  import ButtonPreview from './buttonPreview.js';
8
+ import ButtonFullScreen from './buttonFullScreen.js';
8
9
 
9
10
  interface IButtonProps extends ButtonProps {
10
11
  /** 是否有权限 false无权限 true有权限 */
@@ -26,6 +27,8 @@ interface ButtonComponent extends React.FC<IButtonProps> {
26
27
  Export: typeof ButtonExport;
27
28
  /** 预览按钮 */
28
29
  Preview: typeof ButtonPreview;
30
+ /** 全屏按钮 */
31
+ FullScreen: typeof ButtonFullScreen;
29
32
  }
30
33
 
31
34
  export { ButtonComponent, IButtonProps };
@@ -1 +1 @@
1
- .zt-sortable-new{cursor:move;font-size:13px;line-height:1.5;overflow:hidden;padding:8px 0;text-align:left}.zt-sortable-new .zt-sortable--item{align-items:center;display:flex;justify-content:space-between;padding:0 16px}.zt-sortable-new .zt-sortable--children{display:flex}.zt-sortable-new .zt-sortable--children .zt-sortable-new{border-bottom:none;padding:8px 26px}.zt-sortable-new.no-move{cursor:no-drop}.zt-sortable-new .zt-checkbox{font-size:13px}.zt-sortable-new:hover{background-color:#ebf3fe}.ztxk-dynamic--more{cursor:pointer;height:20px}.ant-dropdown-show-arrow.ztxk-dynamic--more--drop{padding-top:0}.ztxk-dynamic--more--drop.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:-5px}.dynamic-drawer .ant-drawer-header{padding:10px 12px}.dynamic-drawer .ant-drawer-header .ant-drawer-title>div{align-items:center;color:#768696;display:flex;font-size:16px}.dynamic-drawer .ant-drawer-header .ant-drawer-title>div .search-drawer--title-text{font-size:14px;margin-left:10px}.dynamic-drawer .ant-drawer-header .ant-drawer-title>div .search-drawer--title-text>span{font-size:13px}.dynamic-drawer .ant-drawer-body{padding:0}.dynamic-drawer .ant-drawer-body .ant-checkbox-group{width:100%}.dynamic-drawer .ant-drawer-footer{border-top:none;display:flex;justify-content:space-between;padding:0}.dynamic-drawer .ant-drawer-footer>button{border:none;border-radius:0;height:40px;width:33%}.dynamic-drawer-section-title{background:#f5f5f5;border-radius:6px;font-size:14px;font-weight:700;padding:4px}
1
+ .zt-sortable-new{cursor:move;font-size:13px;line-height:1.5;overflow:hidden;padding:8px 0;text-align:left}.zt-sortable-new .zt-sortable--item{align-items:center;display:flex;justify-content:space-between;padding:0 16px}.zt-sortable-new .zt-sortable--item span{white-space:break-spaces}.zt-sortable-new .zt-sortable--children{display:flex}.zt-sortable-new .zt-sortable--children .zt-sortable-new{border-bottom:none;padding:8px 26px}.zt-sortable-new .zt-sortable--children span{white-space:break-spaces}.zt-sortable-new.no-move{cursor:no-drop}.zt-sortable-new .zt-checkbox{font-size:13px}.zt-sortable-new:hover{background-color:#ebf3fe}.ztxk-dynamic--more{cursor:pointer;height:20px}.ant-dropdown-show-arrow.ztxk-dynamic--more--drop{padding-top:0}.ztxk-dynamic--more--drop.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:-5px}.dynamic-drawer .ant-drawer-header{padding:10px 12px}.dynamic-drawer .ant-drawer-header .ant-drawer-title>div{align-items:center;color:#768696;display:flex;font-size:16px}.dynamic-drawer .ant-drawer-header .ant-drawer-title>div .search-drawer--title-text{font-size:14px;margin-left:10px}.dynamic-drawer .ant-drawer-header .ant-drawer-title>div .search-drawer--title-text>span{font-size:13px}.dynamic-drawer .ant-drawer-body{padding:0}.dynamic-drawer .ant-drawer-body .ant-checkbox-group{width:100%}.dynamic-drawer .ant-drawer-footer{border-top:none;display:flex;justify-content:space-between;padding:0}.dynamic-drawer .ant-drawer-footer>button{border:none;border-radius:0;height:40px;width:33%}.dynamic-drawer-section-title{background:#f5f5f5;border-radius:6px;font-size:14px;font-weight:700;padding:4px}
@@ -1,27 +1,30 @@
1
1
  import { __assign } from '../../_virtual/_tslib.js';
2
- import { jsx, Fragment } from 'react/jsx-runtime';
3
- import { useState, useEffect } from 'react';
2
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
+ import { useState, useEffect, useImperativeHandle } from 'react';
4
4
  import { Menu as it, Item as pt } from '../../node_modules/react-contexify/dist/index.js';
5
5
  import screenfull from '../../node_modules/screenfull/index.js';
6
6
  import { useLatest } from 'ahooks';
7
7
 
8
8
  var TableMenu = function (_a) {
9
- var menuId = _a.menuId, tableRef = _a.tableRef, isFullscreenHandle = _a.isFullscreenHandle;
9
+ var menuId = _a.menuId, tableRef = _a.tableRef, isFullscreenHandle = _a.isFullscreenHandle, tableMenuRef = _a.tableMenuRef;
10
10
  var _b = useState(false), isFull = _b[0], setIsFull = _b[1];
11
11
  var isFullscreenHandleRef = useLatest(isFullscreenHandle);
12
+ function toggleFullscreen() {
13
+ if (screenfull.isEnabled) {
14
+ var realScreenFull = screenfull;
15
+ if (tableRef === null || tableRef === void 0 ? void 0 : tableRef.current) {
16
+ realScreenFull.toggle(tableRef.current);
17
+ }
18
+ else {
19
+ realScreenFull.toggle();
20
+ }
21
+ }
22
+ }
12
23
  function onMenuItemClick(e) {
13
24
  var data = e.data;
14
25
  switch (data) {
15
26
  case "fullscreen": {
16
- if (screenfull.isEnabled) {
17
- var realScreenFull = screenfull;
18
- if (tableRef === null || tableRef === void 0 ? void 0 : tableRef.current) {
19
- realScreenFull.toggle(tableRef.current);
20
- }
21
- else {
22
- realScreenFull.toggle();
23
- }
24
- }
27
+ toggleFullscreen();
25
28
  break;
26
29
  }
27
30
  }
@@ -51,7 +54,10 @@ var TableMenu = function (_a) {
51
54
  };
52
55
  }
53
56
  }, [tableRef, isFullscreenHandleRef]);
54
- return (jsx(Fragment, { children: jsx(it, __assign({ id: menuId }, { children: jsx(pt, __assign({ data: "fullscreen", onClick: onMenuItemClick }, { children: isFull ? "退出全屏" : "全屏" })) })) }));
57
+ useImperativeHandle(tableMenuRef, function () { return ({
58
+ toggleFullscreen: toggleFullscreen,
59
+ }); });
60
+ return (jsxs(Fragment, { children: [jsx(it, __assign({ id: menuId }, { children: jsx(pt, __assign({ data: "fullscreen", onClick: onMenuItemClick }, { children: isFull ? "退出全屏" : "全屏" })) })), isFull ? (jsx("div", __assign({ className: "ztxk-table--exit-fullscreen", onClick: toggleFullscreen }, { children: "\u9000\u51FA\u5168\u5C4F" }))) : null] }));
55
61
  };
56
62
 
57
63
  export { TableMenu as default };
@@ -1,15 +1,16 @@
1
1
  import { __spreadArray, __assign, __awaiter, __generator } from '../_virtual/_tslib.js';
2
2
  import ExcelJS from '../node_modules/exceljs/dist/exceljs.min.js';
3
- import { useMergeKeys } from './hooks.js';
4
- import { useMemo } from 'react';
3
+ import { useMergeKeys, useNumKeys } from './hooks.js';
5
4
  import { useMemoizedFn } from 'ahooks';
6
5
  import { IS_SUMMARY, MERGE_ROW_SPANS } from './constant.js';
6
+ import { exactRound } from 'zmdms-utils';
7
+ import dayjs from 'dayjs';
7
8
 
8
9
  /**
9
10
  * 使用 ExcelJS + 后处理添加批注
10
11
  * 导出Excel,支持维度合并和小计,以及批注功能
11
12
  */
12
- function exportToExcelWithMergeAndComments(records, columns, mergeKeys, summaryKeys, fileName, sheetName, columnHeaders, summaryConfig) {
13
+ function exportToExcelWithMergeAndComments(records, columns, mergeKeys, numKeys, fileName, sheetName, columnHeaders, summaryConfig, topDescription, topDescriptionRowHeight) {
13
14
  var _a;
14
15
  var _this = this;
15
16
  if (fileName === void 0) { fileName = "export.xlsx"; }
@@ -17,9 +18,9 @@ function exportToExcelWithMergeAndComments(records, columns, mergeKeys, summaryK
17
18
  if (!records || records.length === 0) {
18
19
  throw new Error("没有数据可导出");
19
20
  }
20
- var processedData = records;
21
+ var processedData = applyPrecisionToRecords(records, columns);
21
22
  // 准备Excel数据
22
- var excelData = prepareExcelData(processedData, columns, columnHeaders);
23
+ var excelData = prepareExcelData(processedData, columns, columnHeaders, topDescription);
23
24
  // 创建工作簿
24
25
  var workbook = new ExcelJS.Workbook();
25
26
  // 计算末尾合计行
@@ -62,7 +63,7 @@ function exportToExcelWithMergeAndComments(records, columns, mergeKeys, summaryK
62
63
  // 设置冻结窗格
63
64
  setWorksheetFreeze(worksheet, excelData.leafColumns, excelData.headerRowCount);
64
65
  // 添加样式
65
- applyExcelStyles(worksheet, dataForStyles, mergeKeys, summaryKeys, excelData.leafColumns, excelData.headerRowCount);
66
+ applyExcelStyles(worksheet, dataForStyles, numKeys, excelData.leafColumns, excelData.headerRowCount, !!excelData.topDescription, topDescriptionRowHeight);
66
67
  // 添加批注 - 使用改进的方法
67
68
  addCommentsToWorksheet(worksheet, dataForStyles, excelData.leafColumns, excelData.headerRowCount);
68
69
  // 导出文件
@@ -101,6 +102,36 @@ function exportToExcelWithMergeAndComments(records, columns, mergeKeys, summaryK
101
102
  fileName: fileName,
102
103
  };
103
104
  }
105
+ /**
106
+ * 根据列上的 precision 配置,格式化记录中的数值字段
107
+ */
108
+ function applyPrecisionToRecords(records, columns) {
109
+ if (!Array.isArray(records) || !Array.isArray(columns))
110
+ return records || [];
111
+ var precisionMap = {};
112
+ columns.forEach(function (col) {
113
+ if (col && typeof col.dataIndex === "string") {
114
+ var precision = col.precision;
115
+ if (typeof precision === "number") {
116
+ precisionMap[col.dataIndex] = { precision: precision };
117
+ }
118
+ }
119
+ });
120
+ if (Object.keys(precisionMap).length === 0)
121
+ return records;
122
+ return records.map(function (record) {
123
+ if (record == null || typeof record !== "object")
124
+ return record;
125
+ var next = __assign({}, record);
126
+ for (var key in precisionMap) {
127
+ if (!Object.prototype.hasOwnProperty.call(next, key))
128
+ continue;
129
+ var precision = precisionMap[key].precision;
130
+ next[key] = exactRound(next[key], precision);
131
+ }
132
+ return next;
133
+ });
134
+ }
104
135
  /**
105
136
  * 改进的批注添加函数 - 使用 ExcelJS 的正确方法
106
137
  */
@@ -196,7 +227,7 @@ function setWorksheetFreeze(worksheet, leafColumns, headerRowCount) {
196
227
  console.error("设置冻结窗格失败:", e);
197
228
  }
198
229
  }
199
- function prepareExcelData(processedData, columns, columnHeaders) {
230
+ function prepareExcelData(processedData, columns, columnHeaders, topDescription) {
200
231
  var getMaxDepth = function (cols) {
201
232
  var max = 0;
202
233
  var dfs = function (nodes, depth) {
@@ -220,10 +251,6 @@ function prepareExcelData(processedData, columns, columnHeaders) {
220
251
  }
221
252
  return 1;
222
253
  };
223
- var maxDepth = getMaxDepth(columns);
224
- var headerRows = Array.from({ length: maxDepth }, function () { return []; });
225
- var headerMerges = [];
226
- var leafColumns = [];
227
254
  var walkHeader = function (nodes, depth, startColIndexRef) {
228
255
  nodes.forEach(function (node) {
229
256
  var text = node.dynamicTitle || node.title;
@@ -265,13 +292,38 @@ function prepareExcelData(processedData, columns, columnHeaders) {
265
292
  }
266
293
  });
267
294
  };
295
+ var maxDepth = getMaxDepth(columns);
296
+ var headerRows = Array.from({ length: maxDepth }, function () { return []; });
297
+ var headerMerges = [];
298
+ var leafColumns = [];
268
299
  walkHeader(columns, 1, { value: 0 });
300
+ // 顶部说明行:插入到表头之前,并横向合并至所有叶子列
301
+ if (topDescription) {
302
+ var totalLeafCols = Math.max(1, leafColumns.length);
303
+ var topRow = Array.from({ length: totalLeafCols }, function () { return ""; });
304
+ topRow[0] = topDescription;
305
+ // 现有表头合并坐标整体下移一行
306
+ headerMerges.forEach(function (m) {
307
+ m.s.r += 1;
308
+ m.e.r += 1;
309
+ });
310
+ // 插入到最前面
311
+ headerRows.unshift(topRow);
312
+ // 新增顶行的横向合并(从第1列到最后一列)
313
+ if (totalLeafCols > 1) {
314
+ headerMerges.push({
315
+ s: { r: 0, c: 0 },
316
+ e: { r: 0, c: totalLeafCols - 1 },
317
+ });
318
+ }
319
+ }
269
320
  return {
270
321
  headerRows: headerRows,
271
322
  headerMerges: headerMerges,
272
323
  headerRowCount: headerRows.length,
273
324
  data: processedData,
274
325
  leafColumns: leafColumns,
326
+ topDescription: topDescription,
275
327
  };
276
328
  }
277
329
  function createWorksheetWithMerge(workbook, excelData, mergeKeys, sheetName) {
@@ -324,9 +376,10 @@ function createWorksheetWithMerge(workbook, excelData, mergeKeys, sheetName) {
324
376
  }
325
377
  return worksheet;
326
378
  }
327
- function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, headerRowCount) {
328
- var _a, _b;
379
+ function applyExcelStyles(worksheet, data, numKeys, columns, headerRowCount, hasTopDescription, topDescriptionRowHeight) {
380
+ var _a, _b, _c;
329
381
  if (headerRowCount === void 0) { headerRowCount = 1; }
382
+ if (hasTopDescription === void 0) { hasTopDescription = false; }
330
383
  var headerStyle = {
331
384
  font: { bold: true, color: { argb: "FFFFFFFF" } },
332
385
  fill: {
@@ -349,7 +402,7 @@ function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, head
349
402
  pattern: "solid",
350
403
  fgColor: { argb: "FFE6F3FF" },
351
404
  },
352
- alignment: { horizontal: "center", vertical: "middle" },
405
+ alignment: { horizontal: "left", vertical: "middle" },
353
406
  border: {
354
407
  top: { style: "thin", color: { argb: "FF000000" } },
355
408
  bottom: { style: "thin", color: { argb: "FF000000" } },
@@ -364,7 +417,7 @@ function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, head
364
417
  pattern: "solid",
365
418
  fgColor: { argb: "FFFFFFFF" },
366
419
  },
367
- alignment: { horizontal: "center", vertical: "middle" },
420
+ alignment: { horizontal: "left", vertical: "middle" },
368
421
  border: {
369
422
  top: { style: "thin", color: { argb: "FF000000" } },
370
423
  bottom: { style: "thin", color: { argb: "FF000000" } },
@@ -372,19 +425,50 @@ function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, head
372
425
  right: { style: "thin", color: { argb: "FF000000" } },
373
426
  },
374
427
  };
428
+ var descriptionStyle = {
429
+ font: { bold: true, size: 12, color: { argb: "FF333333" } },
430
+ alignment: { horizontal: "center", vertical: "middle", wrapText: true },
431
+ border: {
432
+ top: { style: "thin", color: { argb: "FF000000" } },
433
+ bottom: { style: "thin", color: { argb: "FF000000" } },
434
+ left: { style: "thin", color: { argb: "FF000000" } },
435
+ right: { style: "thin", color: { argb: "FF000000" } },
436
+ },
437
+ fill: undefined,
438
+ };
375
439
  var totalCols = Math.max(1, (columns === null || columns === void 0 ? void 0 : columns.length) || 1);
376
- // 表头样式
377
440
  for (var r = 1; r <= headerRowCount; r++) {
378
441
  for (var c = 1; c <= totalCols; c++) {
379
442
  var cell = worksheet.getCell(r, c);
380
443
  var currentColumn = columns && Array.isArray(columns) ? columns[c - 1] : undefined;
381
- var customHeaderBgColor = (_a = currentColumn === null || currentColumn === void 0 ? void 0 : currentColumn.excelConfig) === null || _a === void 0 ? void 0 : _a.headerBgColor;
382
- cell.font = headerStyle.font;
383
- cell.alignment = headerStyle.alignment;
384
- cell.fill = __assign(__assign({}, headerStyle.fill), { fgColor: { argb: customHeaderBgColor || "FF4F81BD" } });
385
- cell.border = headerStyle.border;
444
+ var isDescriptionRow = hasTopDescription && r === 1;
445
+ if (isDescriptionRow) {
446
+ cell.font = descriptionStyle.font;
447
+ cell.alignment = descriptionStyle.alignment;
448
+ cell.fill = descriptionStyle.fill;
449
+ cell.border = descriptionStyle.border;
450
+ }
451
+ else {
452
+ var customHeaderBgColor = (_a = currentColumn === null || currentColumn === void 0 ? void 0 : currentColumn.excelConfig) === null || _a === void 0 ? void 0 : _a.headerBgColor;
453
+ var customHeaderFontColor = (_b = currentColumn === null || currentColumn === void 0 ? void 0 : currentColumn.excelConfig) === null || _b === void 0 ? void 0 : _b.headerFontColor;
454
+ cell.font = __assign(__assign({}, headerStyle.font), { color: { argb: customHeaderFontColor || headerStyle.font.color.argb } });
455
+ cell.alignment = headerStyle.alignment;
456
+ cell.fill = __assign(__assign({}, headerStyle.fill), { fgColor: {
457
+ argb: customHeaderBgColor || headerStyle.fill.fgColor.argb,
458
+ } });
459
+ cell.border = headerStyle.border;
460
+ }
386
461
  }
387
462
  }
463
+ // 如果外部传入了顶端描述行高度,则强制设置第1行高度
464
+ if (hasTopDescription &&
465
+ typeof topDescriptionRowHeight === "number" &&
466
+ topDescriptionRowHeight > 0) {
467
+ try {
468
+ worksheet.getRow(1).height = topDescriptionRowHeight;
469
+ }
470
+ catch (_d) { }
471
+ }
388
472
  // 数据行样式
389
473
  for (var rowIndex = 0; rowIndex < data.length; rowIndex++) {
390
474
  var rowData = data[rowIndex];
@@ -394,7 +478,7 @@ function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, head
394
478
  var currentColumn = columns && Array.isArray(columns) ? columns[c - 1] : undefined;
395
479
  var base = isSubtotal ? summaryStyle : normalStyle;
396
480
  var columnAlign = columns && Array.isArray(columns)
397
- ? (_b = columns[c - 1]) === null || _b === void 0 ? void 0 : _b.align
481
+ ? (_c = columns[c - 1]) === null || _c === void 0 ? void 0 : _c.align
398
482
  : undefined;
399
483
  var alignment = __assign({}, base.alignment);
400
484
  if (columnAlign === "left" ||
@@ -409,23 +493,23 @@ function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, head
409
493
  }
410
494
  }
411
495
  // 数值列格式
412
- if (summaryKeys && summaryKeys.length > 0 && columns) {
496
+ if (numKeys && numKeys.length > 0 && columns) {
413
497
  for (var rowIndex = 0; rowIndex < data.length; rowIndex++) {
414
498
  var rowData = data[rowIndex];
415
- var _loop_2 = function (summaryKey) {
416
- var colIndex = columns.findIndex(function (col) { return col.dataIndex === summaryKey; });
499
+ var _loop_2 = function (numKey) {
500
+ var colIndex = columns.findIndex(function (col) { return col.dataIndex === numKey; });
417
501
  if (colIndex === -1)
418
502
  return "continue";
419
503
  var cell = worksheet.getCell(headerRowCount + rowIndex + 1, colIndex + 1);
420
- var cellValue = rowData[summaryKey];
504
+ var cellValue = rowData[numKey];
421
505
  if (typeof cellValue === "number" || !isNaN(Number(cellValue))) {
422
506
  cell.value = Number(cellValue);
423
507
  cell.numFmt = "#,##0.00";
424
508
  }
425
509
  };
426
- for (var _i = 0, summaryKeys_1 = summaryKeys; _i < summaryKeys_1.length; _i++) {
427
- var summaryKey = summaryKeys_1[_i];
428
- _loop_2(summaryKey);
510
+ for (var _i = 0, numKeys_1 = numKeys; _i < numKeys_1.length; _i++) {
511
+ var numKey = numKeys_1[_i];
512
+ _loop_2(numKey);
429
513
  }
430
514
  }
431
515
  }
@@ -433,16 +517,16 @@ function applyExcelStyles(worksheet, data, mergeKeys, summaryKeys, columns, head
433
517
  /**
434
518
  * 主要的导出函数,使用改进的批注功能
435
519
  */
436
- function exportToExcelWithMerge(records, columns, mergeKeys, summaryKeys, fileName, sheetName, columnHeaders, summaryConfig) {
520
+ function exportToExcelWithMerge(records, columns, mergeKeys, numKeys, fileName, sheetName, columnHeaders, summaryConfig, topDescription, topDescriptionRowHeight) {
437
521
  if (fileName === void 0) { fileName = "export.xlsx"; }
438
522
  if (sheetName === void 0) { sheetName = "Sheet1"; }
439
- return exportToExcelWithMergeAndComments(records, columns, mergeKeys, summaryKeys, fileName, sheetName, columnHeaders, summaryConfig);
523
+ return exportToExcelWithMergeAndComments(records, columns, mergeKeys, numKeys, fileName, sheetName, columnHeaders, summaryConfig, topDescription, topDescriptionRowHeight);
440
524
  }
441
525
  /**
442
526
  * 简化版本的导出函数
443
527
  */
444
528
  function exportToExcelSimple(records, config) {
445
- return exportToExcelWithMerge(records, config.columns || [], config.mergeKeys, config.summaryKeys || [], config.fileName || "export.xlsx", config.sheetName || "Sheet1", config.columnHeaders, config.summaryConfig);
529
+ return exportToExcelWithMerge(records, config.columns || [], config.mergeKeys, config.numKeys || [], config.fileName || "export.xlsx", config.sheetName || "Sheet1", config.columnHeaders, config.summaryConfig, config.topDescription, config.topDescriptionRowHeight);
446
530
  }
447
531
  /**
448
532
  * Hook 版本,支持选择导出方式
@@ -450,19 +534,24 @@ function exportToExcelSimple(records, config) {
450
534
  function useExcelExport(records, config) {
451
535
  var columns = config.columns, isAutoMerge = config.isAutoMerge, columnHeaders = config.columnHeaders, summaryConfig = config.summaryConfig;
452
536
  var mergeKeys = useMergeKeys(columns, isAutoMerge);
453
- var summaryKeys = useMemo(function () {
454
- return columns
455
- .filter(function (item) { return item.isSummary; })
456
- .map(function (item) { return item.dataIndex; });
457
- }, [columns]);
458
- var exportFunction = useMemoizedFn(function (fileName) {
537
+ var numKeys = useNumKeys(columns);
538
+ var exportFunction = useMemoizedFn(function (fileName, _a) {
539
+ var topDescription = _a.topDescription, time = _a.time, topDescriptionRowHeight = _a.topDescriptionRowHeight;
540
+ if (!fileName.includes(".xlsx")) {
541
+ fileName = fileName + ".xlsx";
542
+ }
543
+ if (time) {
544
+ fileName = dayjs(time).format("YYYYMMDD") + "-" + fileName;
545
+ }
459
546
  exportToExcelSimple(records, {
460
547
  columns: columns,
461
548
  mergeKeys: mergeKeys,
462
- summaryKeys: summaryKeys,
549
+ numKeys: numKeys,
463
550
  fileName: fileName,
464
551
  columnHeaders: columnHeaders,
465
552
  summaryConfig: summaryConfig,
553
+ topDescription: topDescription,
554
+ topDescriptionRowHeight: topDescriptionRowHeight,
466
555
  });
467
556
  });
468
557
  return exportFunction;
@@ -385,6 +385,15 @@ var useMergeKeys = function (columns, isAutoMerge) {
385
385
  }, [isAutoMerge, columns]);
386
386
  return mergeKeys;
387
387
  };
388
+ var useNumKeys = function (columns) {
389
+ var numKeys = useMemo(function () {
390
+ var leafColumns = getLeafColumns(columns);
391
+ return Array.from(new Set(leafColumns
392
+ .filter(function (item) { return item.precision !== undefined; })
393
+ .map(function (item) { return item.key; })));
394
+ }, [columns]);
395
+ return numKeys;
396
+ };
388
397
  /**
389
398
  * 自动合并的一些处理
390
399
  */
@@ -510,4 +519,4 @@ function useMergeAddAndDel(_a) {
510
519
  return [newRowSelection, newAddAndDelProps];
511
520
  }
512
521
 
513
- export { useAddAndDelChange, useAutoMerge, useCalcScrollY, useCustomSort, useEditChange, useMergeAddAndDel, useMergeKeys, useMoveRowChange, useScuRfresh };
522
+ export { useAddAndDelChange, useAutoMerge, useCalcScrollY, useCustomSort, useEditChange, useMergeAddAndDel, useMergeKeys, useMoveRowChange, useNumKeys, useScuRfresh };
@@ -1 +1 @@
1
- .ant-table.ant-table-middle{font-size:14px}.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle tfoot>tr>td,.ant-table.ant-table-middle tfoot>tr>th{padding:12px 8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-12px -8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 40px}.ant-table.ant-table-middle .ant-table-selection-column{padding-inline-start:2px}.ant-table.ant-table-small{font-size:14px}.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small tfoot>tr>td,.ant-table.ant-table-small tfoot>tr>th{padding:8px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 40px}.ant-table.ant-table-small .ant-table-selection-column{padding-inline-start:2px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #dee9f6;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th{border-right:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:initial!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-16px -17px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{border-right:1px solid #dee9f6;bottom:0;content:"";position:absolute;right:1px;top:0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #dee9f6}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #dee9f6;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar:not([rowspan]){box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{content:"";display:table}.ant-table-wrapper:after{clear:both;content:"";display:table}.ant-table{font-feature-settings:"tnum";background:#fff;border-radius:2px;box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0;position:relative}.ant-table table{border-collapse:initial;border-radius:2px 2px 0 0;border-spacing:0;text-align:left;width:100%}.ant-table tfoot>tr>td,.ant-table tfoot>tr>th,.ant-table-tbody>tr>td,.ant-table-thead>tr>th{overflow-wrap:break-word;padding:16px;position:relative}.ant-table-cell-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:16px}.ant-table-footer{background:#fafafa;color:#000000d9;padding:16px}.ant-table-thead>tr>th{background:#fafafa;border-bottom:1px solid #dee9f6;color:#000000d9;font-weight:500;position:relative;text-align:left;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{background-color:#0000000f;content:"";height:1.6em;position:absolute;right:0;top:50%;transform:translateY(-50%);transition:background-color .3s;width:1px}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #dee9f6;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table{margin:-16px -16px -16px 32px}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td,.ant-table-tbody>tr>td.ant-table-cell-row-hover{background:#fafafa}.ant-table-tbody>tr.ant-table-row-selected>td{background:#f0f5ff;border-color:#00000008}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#e6eeff}.ant-table-summary{background:#fff;position:relative;z-index:2}div.ant-table-summary{box-shadow:0 -1px 0 #dee9f6}.ant-table-summary>tr>td,.ant-table-summary>tr>th{border-bottom:1px solid #dee9f6}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;row-gap:8px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{cursor:pointer;outline:none;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:#0000000a}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:initial!important}.ant-table-thead th.ant-table-column-has-sorters:focus-visible{color:#5b76f6}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover,.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}.ant-table-thead th.ant-table-column-sort:before{background-color:initial!important}td.ant-table-column-sort{background:#fafafa}.ant-table-column-title{flex:1;position:relative;z-index:1}.ant-table-column-sorters{align-items:center;display:flex;flex:auto;justify-content:space-between}.ant-table-column-sorters:after{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;top:0;width:100%}.ant-table-column-sorter{color:#bfbfbf;font-size:0;margin-left:4px;transition:color .3s}.ant-table-column-sorter-inner{align-items:center;display:inline-flex;flex-direction:column}.ant-table-column-sorter-down,.ant-table-column-sorter-up{font-size:11px}.ant-table-column-sorter-down.active,.ant-table-column-sorter-up.active{color:#5b76f6}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{align-items:center;border-radius:2px;color:#bfbfbf;cursor:pointer;display:flex;font-size:12px;margin:-4px -8px -4px 4px;padding:0 4px;position:relative;transition:all .3s}.ant-table-filter-trigger:hover{background:#0000000a;color:#00000073}.ant-table-filter-trigger.active{color:#5b76f6}.ant-table-filter-dropdown{font-feature-settings:"tnum";background-color:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;min-width:120px;padding:0}.ant-table-filter-dropdown .ant-dropdown-menu{border:0;box-shadow:none;max-height:264px;overflow-x:hidden}.ant-table-filter-dropdown .ant-dropdown-menu:empty:after{color:#00000040;content:"Not Found";display:block;font-size:12px;padding:8px 0;text-align:center}.ant-table-filter-dropdown-tree{padding:8px 8px 0}.ant-table-filter-dropdown-tree .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover{background-color:#f0f4ff}.ant-table-filter-dropdown-search{border-bottom:1px solid #dee9f6;padding:8px}.ant-table-filter-dropdown-search-input input{min-width:140px}.ant-table-filter-dropdown-search-input .anticon{color:#00000040}.ant-table-filter-dropdown-checkall{margin-bottom:4px;margin-left:4px;width:100%}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{background-color:inherit;border-top:1px solid #dee9f6;display:flex;justify-content:space-between;overflow:hidden;padding:7px 8px}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr td.ant-table-selection-column,table tr th.ant-table-selection-column{padding-left:8px;padding-right:8px;text-align:center}table tr td.ant-table-selection-column .ant-radio-wrapper,table tr th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column.ant-table-cell-fix-left{z-index:3}table tr th.ant-table-selection-column:after{background-color:initial!important}.ant-table-selection{display:inline-flex;flex-direction:column;position:relative}.ant-table-selection-extra{cursor:pointer;margin-inline-start:100%;padding-inline-start:4px;position:absolute;top:0;transition:all .3s;z-index:1}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-expand-icon-cell .ant-table-row-expand-icon{display:inline-flex;float:none;vertical-align:sub}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{background:#fff;border:1px solid #dee9f6;border-radius:2px;box-sizing:border-box;color:#4285f4;color:inherit;cursor:pointer;float:left;height:17px;line-height:17px;outline:none;padding:0;position:relative;transform:scale(.94117647);transition:color .3s;transition:all .3s;-webkit-user-select:none;user-select:none;width:17px}.ant-table-row-expand-icon:focus-visible,.ant-table-row-expand-icon:hover{color:#1566d2}.ant-table-row-expand-icon:active{color:#2d66cf}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentcolor}.ant-table-row-expand-icon:after,.ant-table-row-expand-icon:before{background:currentcolor;content:"";position:absolute;transition:transform .3s ease-out}.ant-table-row-expand-icon:before{height:1px;left:3px;right:3px;top:7px}.ant-table-row-expand-icon:after{bottom:3px;left:7px;top:3px;transform:rotate(90deg);width:1px}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-table-row-expand-icon-spaced{background:#0000;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:after,.ant-table-row-expand-icon-spaced:before{content:none;display:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-right:8px;margin-top:2.5005px}tr.ant-table-expanded-row:hover>td,tr.ant-table-expanded-row>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{margin:-16px;padding:16px;position:relative}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:#00000040}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{background:#fff;position:sticky!important;z-index:2}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{bottom:-1px;content:"";pointer-events:none;position:absolute;right:0;top:0;transform:translateX(100%);transition:box-shadow .3s;width:30px}.ant-table-cell-fix-left-all:after{display:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{bottom:-1px;content:"";left:0;pointer-events:none;position:absolute;top:0;transform:translateX(-100%);transition:box-shadow .3s;width:30px}.ant-table .ant-table-container:after,.ant-table .ant-table-container:before{bottom:0;content:"";pointer-events:none;position:absolute;top:0;transition:box-shadow .3s;width:30px;z-index:4}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left)>.ant-table-container{position:relative}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-left:not(.ant-table-has-fix-left)>.ant-table-container:before{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:initial!important}.ant-table-ping-right:not(.ant-table-has-fix-right)>.ant-table-container{position:relative}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after,.ant-table-ping-right:not(.ant-table-has-fix-right)>.ant-table-container:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-sticky-holder,.ant-table-sticky-scroll{background:#fff;position:sticky;z-index:3}.ant-table-sticky-scroll{align-items:center;border-top:1px solid #dee9f6;bottom:0;display:flex;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{background-color:#00000059;border-radius:4px;height:8px}.ant-table-sticky-scroll-bar-active,.ant-table-sticky-scroll-bar:hover{background-color:#000c}@media (-ms-high-contrast:none){.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table,.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child,.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-right-radius:2px}.ant-table-container,.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-rtl,.ant-table-wrapper-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{left:0;right:auto}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-16px 33px -16px -16px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-left:0;margin-right:4px}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:16px 16px 16px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger{margin:-4px 4px -4px -8px}.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:0;padding-right:8px}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-expand-icon,.ant-table-wrapper-rtl .ant-table-row-indent{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-left:8px;margin-right:0}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ztxk-table .ant-table-thead>tr>th{background:#eff5fe}.ztxk-table .ant-table-thead>tr>th .ant-table-column-sorters{padding:0}.ztxk-table .ant-table-tbody>tr>td button{overflow-wrap:break-word;white-space:pre-wrap;word-break:break-all}.ztxk-table .ant-table-tbody>tr.ant-table-row:hover>td{background-color:#ebf3fe}.ztxk-table .ant-table-tbody>tr.ant-table-row>td.ztxk-table--info-td{background-color:#fcecc8}.ztxk-table .ant-table-tbody>tr.ant-table-row>td.ztxk-table--error-td{background-color:#f66}.ztxk-table .ant-table-tbody>tr.ztxk-table--differences,.ztxk-table .ant-table-tbody>tr.ztxk-table--differences:hover>td,.ztxk-table .ant-table-tbody>tr.ztxk-table--differences>td{background-color:#fcecc8}.ztxk-table .react-resizable{background-clip:padding-box;position:relative}.ztxk-table .react-resizable-handle{bottom:0;cursor:col-resize;height:100%;position:absolute;right:-5px;width:10px;z-index:1}.ztxk-table .react-resizable-handle.active:before{border-left:3px dotted #40a9ff;bottom:0;content:"";left:50%;position:absolute;top:0}.ztxk-table .ant-table-body .ant-table-expanded-row-fixed{margin:0;padding:0}.ztxk-table .ant-table-summary>tr>td,.ztxk-table .ant-table-tbody>tr>td,.ztxk-table .ant-table-thead>tr>th{color:#333;height:36px;padding:0 5px;vertical-align:middle}.ztxk-table .ant-table-summary>tr>td .ant-select,.ztxk-table .ant-table-tbody>tr>td .ant-select,.ztxk-table .ant-table-thead>tr>th .ant-select{width:100%}.ztxk-table .ant-table-tbody>tr>td{word-break:break-all}.ztxk-table .ant-table-summary>tr>td{font-weight:700;text-align:left}.ztxk-table .ant-table-summary>tr>td:first-child{text-align:center}.ztxk-table .ztxk-column--adddel-icon{color:#4285f4;font-size:13px;line-height:13px}.ztxk-table .ztxk-column--adddel-icon:hover{color:#1566d2}.ztxk-table .ztxk-column--adddel-icon:first-child{margin-bottom:4px}.ztxk-table .ztxk-column--adddel-icon:last-child{margin-bottom:0}.ztxk-table td.error-td{background:#f88!important;border:1px solid #f88!important}.ztxk-table .thead-icon{cursor:pointer}.ztxk-table .ztxk-table__enhance-cell{font-size:13px;margin:0}.ztxk-table .ztxk-table__enhance-cell .ant-input-affix-wrapper,.ztxk-table .ztxk-table__enhance-cell .ant-input-number,.ztxk-table .ztxk-table__enhance-cell .ant-select-selector,.ztxk-table .ztxk-table__enhance-cell input{border:none;width:100%}.ztxk-table .ztxk-table__enhance-cell.input-model__input{border:1px solid #d9d9d9}.ztxk-table .ztxk-table__enhance-cell .ant-form-item-control-input{min-height:auto}.ztxk-table .ztxk-table__enhance-cell .ant-input-number{min-height:30px}.ztxk-table .ztxk-table__enhance-cell .ant-input-number input{min-height:28px}.ztxk-table .ztxk-table__enhance-cell .ant-input-affix-wrapper{min-height:30px;padding:0 11px}.ztxk-table .ztxk-table__enhance-cell .ant-input-affix-wrapper input{min-height:28px}.ztxk-table .ztxk-table__enhance-cell .ant-select-selector,.ztxk-table .ztxk-table__enhance-cell .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{min-height:30px}.ztxk-table .ztxk-table__enhance-cell .ant-select-selector input,.ztxk-table .ztxk-table__enhance-cell .ant-select-single:not(.ant-select-customize-input) .ant-select-selector input{min-height:28px}.ztxk-table .ztxk-table__enhance-cell .ant-input-number-input{text-align:left!important}.ztxk-table .ztxk-table__enhance-cell-wrap{border:1px solid #d9d9d9;cursor:pointer;min-height:30px;padding:4px}.ztxk-table .ztxk-table__enhance-cell-wrap:hover{border-color:#40a9ff}.ztxk-table .ztxk-table__enhance-cell-wrap--disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ztxk-table .ztxk-table__enhance-cell-wrap--disabled:hover{border-color:#d9d9d9}.ztxk-table .ztxk-table__enhance-row:hover .ztxk-table__enhance-cell-wrap{border-radius:2px}.ztxk-table .ztxk-table__enhance-row.drop-over-downward td{border-bottom:2px dashed #1890ff}.ztxk-table .ztxk-table__enhance-row.drop-over-upward td{border-top:2px dashed #1890ff}.ztxk-table .zt-btn-link{margin-right:5px;padding:0}.ztxk-table .ant-dropdown-trigger{margin-right:0}.ztxk-table.ztxk-table--flex,.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading,.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container,.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container>.ant-table{height:100%}.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container>.ant-table>.ant-table-container{display:flex;flex-direction:column;height:100%}.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container>.ant-table>.ant-table-container>.ant-table-body{flex:1;max-height:none!important}.ztxk-table .ztxk-column--required,.ztxk-table .ztxk-table--title-stress{color:#f88;font-style:normal}.ztxk-table .ztxk-table--sorter{align-items:center;display:flex;flex:1;justify-content:space-between}.ztxk-table .ztxk-table--sorter .ztxk-table--sorter-title{flex-grow:1}.ztxk-table .ztxk-table--sorter .ztxk-table--sorter-icon{align-items:center;color:#bfbfbf;cursor:pointer;display:inline-flex;flex-direction:column;font-size:0}.ztxk-table .ant-table-filter-trigger{margin:0}.error-popover .ant-popover-inner-content{color:#f88;padding:6px 10px}.ztxk-table--filter{max-width:220px;padding:6px}.ztxk-table--filter input::placeholder{font-size:12px}.ztxk-table--filter .ztxk-table--filter__checkbox-container{display:flex;flex-direction:column;margin-bottom:8px;margin-top:8px;max-height:200px;overflow-y:auto;width:200px}.ztxk-table--filter .ztxk-table--filter__checkbox-container .ant-checkbox-wrapper{margin-left:0}.ztxk-table--filter .ztxk-table--filter__checkbox-container .ant-checkbox+span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ztxk-table--filter .ztxk-table--filter__btn-container button{margin-right:10px}.ztxk-table--filter .ztxk-table--filter__btn-container button:last-child{margin-right:0}.ztxk-table--filter .ztxk-table--filter__btn-container button .anticon{line-height:inherit}
1
+ .ant-table.ant-table-middle{font-size:14px}.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle tfoot>tr>td,.ant-table.ant-table-middle tfoot>tr>th{padding:12px 8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-12px -8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 40px}.ant-table.ant-table-middle .ant-table-selection-column{padding-inline-start:2px}.ant-table.ant-table-small{font-size:14px}.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small tfoot>tr>td,.ant-table.ant-table-small tfoot>tr>th{padding:8px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 40px}.ant-table.ant-table-small .ant-table-selection-column{padding-inline-start:2px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #dee9f6;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th{border-right:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:initial!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #dee9f6}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-16px -17px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{border-right:1px solid #dee9f6;bottom:0;content:"";position:absolute;right:1px;top:0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #dee9f6}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #dee9f6;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar:not([rowspan]){box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{content:"";display:table}.ant-table-wrapper:after{clear:both;content:"";display:table}.ant-table{font-feature-settings:"tnum";background:#fff;border-radius:2px;box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0;position:relative}.ant-table table{border-collapse:initial;border-radius:2px 2px 0 0;border-spacing:0;text-align:left;width:100%}.ant-table tfoot>tr>td,.ant-table tfoot>tr>th,.ant-table-tbody>tr>td,.ant-table-thead>tr>th{overflow-wrap:break-word;padding:16px;position:relative}.ant-table-cell-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:16px}.ant-table-footer{background:#fafafa;color:#000000d9;padding:16px}.ant-table-thead>tr>th{background:#fafafa;border-bottom:1px solid #dee9f6;color:#000000d9;font-weight:500;position:relative;text-align:left;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{background-color:#0000000f;content:"";height:1.6em;position:absolute;right:0;top:50%;transform:translateY(-50%);transition:background-color .3s;width:1px}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #dee9f6;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table{margin:-16px -16px -16px 32px}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td,.ant-table-tbody>tr>td.ant-table-cell-row-hover{background:#fafafa}.ant-table-tbody>tr.ant-table-row-selected>td{background:#f0f5ff;border-color:#00000008}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#e6eeff}.ant-table-summary{background:#fff;position:relative;z-index:2}div.ant-table-summary{box-shadow:0 -1px 0 #dee9f6}.ant-table-summary>tr>td,.ant-table-summary>tr>th{border-bottom:1px solid #dee9f6}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;row-gap:8px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{cursor:pointer;outline:none;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:#0000000a}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:initial!important}.ant-table-thead th.ant-table-column-has-sorters:focus-visible{color:#5b76f6}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover,.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}.ant-table-thead th.ant-table-column-sort:before{background-color:initial!important}td.ant-table-column-sort{background:#fafafa}.ant-table-column-title{flex:1;position:relative;z-index:1}.ant-table-column-sorters{align-items:center;display:flex;flex:auto;justify-content:space-between}.ant-table-column-sorters:after{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;top:0;width:100%}.ant-table-column-sorter{color:#bfbfbf;font-size:0;margin-left:4px;transition:color .3s}.ant-table-column-sorter-inner{align-items:center;display:inline-flex;flex-direction:column}.ant-table-column-sorter-down,.ant-table-column-sorter-up{font-size:11px}.ant-table-column-sorter-down.active,.ant-table-column-sorter-up.active{color:#5b76f6}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{align-items:center;border-radius:2px;color:#bfbfbf;cursor:pointer;display:flex;font-size:12px;margin:-4px -8px -4px 4px;padding:0 4px;position:relative;transition:all .3s}.ant-table-filter-trigger:hover{background:#0000000a;color:#00000073}.ant-table-filter-trigger.active{color:#5b76f6}.ant-table-filter-dropdown{font-feature-settings:"tnum";background-color:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;min-width:120px;padding:0}.ant-table-filter-dropdown .ant-dropdown-menu{border:0;box-shadow:none;max-height:264px;overflow-x:hidden}.ant-table-filter-dropdown .ant-dropdown-menu:empty:after{color:#00000040;content:"Not Found";display:block;font-size:12px;padding:8px 0;text-align:center}.ant-table-filter-dropdown-tree{padding:8px 8px 0}.ant-table-filter-dropdown-tree .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover{background-color:#f0f4ff}.ant-table-filter-dropdown-search{border-bottom:1px solid #dee9f6;padding:8px}.ant-table-filter-dropdown-search-input input{min-width:140px}.ant-table-filter-dropdown-search-input .anticon{color:#00000040}.ant-table-filter-dropdown-checkall{margin-bottom:4px;margin-left:4px;width:100%}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{background-color:inherit;border-top:1px solid #dee9f6;display:flex;justify-content:space-between;overflow:hidden;padding:7px 8px}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr td.ant-table-selection-column,table tr th.ant-table-selection-column{padding-left:8px;padding-right:8px;text-align:center}table tr td.ant-table-selection-column .ant-radio-wrapper,table tr th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column.ant-table-cell-fix-left{z-index:3}table tr th.ant-table-selection-column:after{background-color:initial!important}.ant-table-selection{display:inline-flex;flex-direction:column;position:relative}.ant-table-selection-extra{cursor:pointer;margin-inline-start:100%;padding-inline-start:4px;position:absolute;top:0;transition:all .3s;z-index:1}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-expand-icon-cell .ant-table-row-expand-icon{display:inline-flex;float:none;vertical-align:sub}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{background:#fff;border:1px solid #dee9f6;border-radius:2px;box-sizing:border-box;color:#4285f4;color:inherit;cursor:pointer;float:left;height:17px;line-height:17px;outline:none;padding:0;position:relative;transform:scale(.94117647);transition:color .3s;transition:all .3s;-webkit-user-select:none;user-select:none;width:17px}.ant-table-row-expand-icon:focus-visible,.ant-table-row-expand-icon:hover{color:#1566d2}.ant-table-row-expand-icon:active{color:#2d66cf}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentcolor}.ant-table-row-expand-icon:after,.ant-table-row-expand-icon:before{background:currentcolor;content:"";position:absolute;transition:transform .3s ease-out}.ant-table-row-expand-icon:before{height:1px;left:3px;right:3px;top:7px}.ant-table-row-expand-icon:after{bottom:3px;left:7px;top:3px;transform:rotate(90deg);width:1px}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-table-row-expand-icon-spaced{background:#0000;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:after,.ant-table-row-expand-icon-spaced:before{content:none;display:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-right:8px;margin-top:2.5005px}tr.ant-table-expanded-row:hover>td,tr.ant-table-expanded-row>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{margin:-16px;padding:16px;position:relative}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:#00000040}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{background:#fff;position:sticky!important;z-index:2}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{bottom:-1px;content:"";pointer-events:none;position:absolute;right:0;top:0;transform:translateX(100%);transition:box-shadow .3s;width:30px}.ant-table-cell-fix-left-all:after{display:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{bottom:-1px;content:"";left:0;pointer-events:none;position:absolute;top:0;transform:translateX(-100%);transition:box-shadow .3s;width:30px}.ant-table .ant-table-container:after,.ant-table .ant-table-container:before{bottom:0;content:"";pointer-events:none;position:absolute;top:0;transition:box-shadow .3s;width:30px;z-index:4}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left)>.ant-table-container{position:relative}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-left:not(.ant-table-has-fix-left)>.ant-table-container:before{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:initial!important}.ant-table-ping-right:not(.ant-table-has-fix-right)>.ant-table-container{position:relative}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after,.ant-table-ping-right:not(.ant-table-has-fix-right)>.ant-table-container:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-sticky-holder,.ant-table-sticky-scroll{background:#fff;position:sticky;z-index:3}.ant-table-sticky-scroll{align-items:center;border-top:1px solid #dee9f6;bottom:0;display:flex;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{background-color:#00000059;border-radius:4px;height:8px}.ant-table-sticky-scroll-bar-active,.ant-table-sticky-scroll-bar:hover{background-color:#000c}@media (-ms-high-contrast:none){.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table,.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child,.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-right-radius:2px}.ant-table-container,.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-rtl,.ant-table-wrapper-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{left:0;right:auto}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-16px 33px -16px -16px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-left:0;margin-right:4px}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:16px 16px 16px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger{margin:-4px 4px -4px -8px}.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:0;padding-right:8px}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-expand-icon,.ant-table-wrapper-rtl .ant-table-row-indent{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-left:8px;margin-right:0}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ztxk-table .ant-table-thead>tr>th{background:#eff5fe}.ztxk-table .ant-table-thead>tr>th .ant-table-column-sorters{padding:0}.ztxk-table .ant-table-tbody>tr>td button{overflow-wrap:break-word;white-space:pre-wrap;word-break:break-all}.ztxk-table .ant-table-tbody>tr.ant-table-row:hover>td{background-color:#ebf3fe}.ztxk-table .ant-table-tbody>tr.ant-table-row>td.ztxk-table--info-td{background-color:#fcecc8}.ztxk-table .ant-table-tbody>tr.ant-table-row>td.ztxk-table--error-td{background-color:#f66}.ztxk-table .ant-table-tbody>tr.ztxk-table--differences,.ztxk-table .ant-table-tbody>tr.ztxk-table--differences:hover>td,.ztxk-table .ant-table-tbody>tr.ztxk-table--differences>td{background-color:#fcecc8}.ztxk-table .react-resizable{background-clip:padding-box;position:relative}.ztxk-table .react-resizable-handle{bottom:0;cursor:col-resize;height:100%;position:absolute;right:-5px;width:10px;z-index:1}.ztxk-table .react-resizable-handle.active:before{border-left:3px dotted #40a9ff;bottom:0;content:"";left:50%;position:absolute;top:0}.ztxk-table .ant-table-body .ant-table-expanded-row-fixed{margin:0;padding:0}.ztxk-table .ant-table-summary>tr>td,.ztxk-table .ant-table-tbody>tr>td,.ztxk-table .ant-table-thead>tr>th{color:#333;height:36px;padding:0 5px;vertical-align:middle}.ztxk-table .ant-table-summary>tr>td .ant-select,.ztxk-table .ant-table-tbody>tr>td .ant-select,.ztxk-table .ant-table-thead>tr>th .ant-select{width:100%}.ztxk-table .ant-table-tbody>tr>td{word-break:break-all}.ztxk-table .ant-table-summary>tr>td{font-weight:700;text-align:left}.ztxk-table .ant-table-summary>tr>td:first-child{text-align:center}.ztxk-table .ztxk-column--adddel-icon{color:#4285f4;font-size:13px;line-height:13px}.ztxk-table .ztxk-column--adddel-icon:hover{color:#1566d2}.ztxk-table .ztxk-column--adddel-icon:first-child{margin-bottom:4px}.ztxk-table .ztxk-column--adddel-icon:last-child{margin-bottom:0}.ztxk-table td.error-td{background:#f88!important;border:1px solid #f88!important}.ztxk-table .thead-icon{cursor:pointer}.ztxk-table .ztxk-table__enhance-cell{font-size:13px;margin:0}.ztxk-table .ztxk-table__enhance-cell .ant-input-affix-wrapper,.ztxk-table .ztxk-table__enhance-cell .ant-input-number,.ztxk-table .ztxk-table__enhance-cell .ant-select-selector,.ztxk-table .ztxk-table__enhance-cell input{border:none;width:100%}.ztxk-table .ztxk-table__enhance-cell.input-model__input{border:1px solid #d9d9d9}.ztxk-table .ztxk-table__enhance-cell .ant-form-item-control-input{min-height:auto}.ztxk-table .ztxk-table__enhance-cell .ant-input-number{min-height:30px}.ztxk-table .ztxk-table__enhance-cell .ant-input-number input{min-height:28px}.ztxk-table .ztxk-table__enhance-cell .ant-input-affix-wrapper{min-height:30px;padding:0 11px}.ztxk-table .ztxk-table__enhance-cell .ant-input-affix-wrapper input{min-height:28px}.ztxk-table .ztxk-table__enhance-cell .ant-select-selector,.ztxk-table .ztxk-table__enhance-cell .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{min-height:30px}.ztxk-table .ztxk-table__enhance-cell .ant-select-selector input,.ztxk-table .ztxk-table__enhance-cell .ant-select-single:not(.ant-select-customize-input) .ant-select-selector input{min-height:28px}.ztxk-table .ztxk-table__enhance-cell .ant-input-number-input{text-align:left!important}.ztxk-table .ztxk-table__enhance-cell-wrap{border:1px solid #d9d9d9;cursor:pointer;min-height:30px;padding:4px}.ztxk-table .ztxk-table__enhance-cell-wrap:hover{border-color:#40a9ff}.ztxk-table .ztxk-table__enhance-cell-wrap--disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ztxk-table .ztxk-table__enhance-cell-wrap--disabled:hover{border-color:#d9d9d9}.ztxk-table .ztxk-table__enhance-row:hover .ztxk-table__enhance-cell-wrap{border-radius:2px}.ztxk-table .ztxk-table__enhance-row.drop-over-downward td{border-bottom:2px dashed #1890ff}.ztxk-table .ztxk-table__enhance-row.drop-over-upward td{border-top:2px dashed #1890ff}.ztxk-table .zt-btn-link{margin-right:5px;padding:0}.ztxk-table .ant-dropdown-trigger{margin-right:0}.ztxk-table.ztxk-table--flex,.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading,.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container,.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container>.ant-table{height:100%}.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container>.ant-table>.ant-table-container{display:flex;flex-direction:column;height:100%}.ztxk-table.ztxk-table--flex>.ant-spin-nested-loading>.ant-spin-container>.ant-table>.ant-table-container>.ant-table-body{flex:1;max-height:none!important}.ztxk-table .ztxk-column--required,.ztxk-table .ztxk-table--title-stress{color:#f88;font-style:normal}.ztxk-table .ztxk-table--sorter{align-items:center;display:flex;flex:1;justify-content:space-between}.ztxk-table .ztxk-table--sorter .ztxk-table--sorter-title{flex-grow:1}.ztxk-table .ztxk-table--sorter .ztxk-table--sorter-icon{align-items:center;color:#bfbfbf;cursor:pointer;display:inline-flex;flex-direction:column;font-size:0}.ztxk-table .ant-table-filter-trigger{margin:0}.ztxk-table--wrapper-container .ztxk-table--exit-fullscreen{background:#fff;border-radius:10px;color:#794808;cursor:pointer;font-size:16px;left:50%;margin-left:-50px;opacity:0;padding:10px;position:absolute;text-align:center;top:30px;transition:opacity .8s;width:100px;z-index:1001}.ztxk-table--wrapper-container:hover .ztxk-table--exit-fullscreen{opacity:.8}.error-popover .ant-popover-inner-content{color:#f88;padding:6px 10px}.ztxk-table--filter{max-width:220px;padding:6px}.ztxk-table--filter input::placeholder{font-size:12px}.ztxk-table--filter .ztxk-table--filter__checkbox-container{display:flex;flex-direction:column;margin-bottom:8px;margin-top:8px;max-height:200px;overflow-y:auto;width:200px}.ztxk-table--filter .ztxk-table--filter__checkbox-container .ant-checkbox-wrapper{margin-left:0}.ztxk-table--filter .ztxk-table--filter__checkbox-container .ant-checkbox+span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ztxk-table--filter .ztxk-table--filter__btn-container button{margin-right:10px}.ztxk-table--filter .ztxk-table--filter__btn-container button:last-child{margin-right:0}.ztxk-table--filter .ztxk-table--filter__btn-container button .anticon{line-height:inherit}