zmdms-webui 2.9.7 → 2.9.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/dist/es/canvastable/canvasTable.js +28 -27
- package/dist/es/canvastable/hooks/useAutoHeight.js +12 -10
- package/dist/es/canvastable/interface.d.ts +4 -0
- package/dist/es/form/form.js +3 -3
- package/dist/es/form/index.css +1 -1
- package/dist/es/form/resetButton.js +3 -2
- package/dist/es/node_modules/@ant-design/icons/es/icons/MoreOutlined.js +18 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/MoreOutlined.js +5 -0
- package/dist/es/table/hooks.js +4 -2
- package/dist/es/table/index.css +1 -1
- package/dist/es/table/interface.d.ts +4 -0
- package/dist/es/table/table.js +18 -17
- package/dist/es/table/useTableSummaryCollapse.js +3 -2
- package/dist/es/table/utils.js +8 -2
- package/dist/index.dark.css +1 -1
- package/dist/index.default.css +1 -1
- package/dist/less/components/Form/style/index.less +17 -4
- package/dist/less/components/Table/style/index.less +3 -2
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ import DynamicSetting from '../dynamicsetting/dynamicSetting.js';
|
|
|
41
41
|
|
|
42
42
|
function CanvasTable(props) {
|
|
43
43
|
var _a;
|
|
44
|
-
var _b = props.dataSource, dataSource = _b === void 0 ? [] : _b, _c = props.columns, columns = _c === void 0 ? [] : _c, _d = props.rowKey, rowKey = _d === void 0 ? "id" : _d, _e = props.height, height = _e === void 0 ? 600 : _e, width = props.width, _f = props.rowHeight, rowHeight = _f === void 0 ? 36 : _f, _g = props.headerHeight, headerHeight = _g === void 0 ? 36 : _g, rowSelection = props.rowSelection, onSortChange = props.onSortChange, onFilterChange = props.onFilterChange, onScroll = props.onScroll, onRowClick = props.onRowClick, onColumnResize = props.onColumnResize, _h = props.bordered, bordered = _h === void 0 ? true : _h, _j = props.striped, striped = _j === void 0 ? false : _j, _k = props.emptyText, emptyText = _k === void 0 ? "暂无数据" : _k, style = props.style, className = props.className, _l = props.loading, loading = _l === void 0 ? false : _l, _m = props.isContextMenu, isContextMenu = _m === void 0 ? true : _m, isFullscreenHandle = props.isFullscreenHandle, mode = props.mode, dynamicKey = props.dynamicKey, dynamicVersion = props.dynamicVersion, customDynamicListHandle = props.customDynamicListHandle, isDimensionDynamic = props.isDimensionDynamic, dimensionCustomSumKeys = props.dimensionCustomSumKeys, isAutoMerge = props.isAutoMerge,
|
|
44
|
+
var _b = props.dataSource, dataSource = _b === void 0 ? [] : _b, _c = props.columns, columns = _c === void 0 ? [] : _c, _d = props.rowKey, rowKey = _d === void 0 ? "id" : _d, _e = props.height, height = _e === void 0 ? 600 : _e, width = props.width, _f = props.rowHeight, rowHeight = _f === void 0 ? 36 : _f, _g = props.headerHeight, headerHeight = _g === void 0 ? 36 : _g, rowSelection = props.rowSelection, onSortChange = props.onSortChange, onFilterChange = props.onFilterChange, onScroll = props.onScroll, onRowClick = props.onRowClick, onColumnResize = props.onColumnResize, _h = props.bordered, bordered = _h === void 0 ? true : _h, _j = props.striped, striped = _j === void 0 ? false : _j, _k = props.emptyText, emptyText = _k === void 0 ? "暂无数据" : _k, style = props.style, className = props.className, _l = props.loading, loading = _l === void 0 ? false : _l, _m = props.isContextMenu, isContextMenu = _m === void 0 ? true : _m, isFullscreenHandle = props.isFullscreenHandle, mode = props.mode, dynamicKey = props.dynamicKey, dynamicVersion = props.dynamicVersion, customDynamicListHandle = props.customDynamicListHandle, isDimensionDynamic = props.isDimensionDynamic, _o = props.isDimensionMergeChildren, isDimensionMergeChildren = _o === void 0 ? true : _o, dimensionCustomSumKeys = props.dimensionCustomSumKeys, isAutoMerge = props.isAutoMerge, _p = props.isIndexMerge, isIndexMerge = _p === void 0 ? true : _p, _q = props.isSelectionMerge, isSelectionMerge = _q === void 0 ? false : _q, _r = props.renderMode, renderMode = _r === void 0 ? "object" : _r, fixedRowsCount = props.fixedRowsCount, fixedRowsConfig = props.fixedRowsConfig, _s = props.summaryFixed, summaryFixed = _s === void 0 ? false : _s, _t = props.isAutoScrollY, isAutoScrollY = _t === void 0 ? false : _t, _u = props.autoScrollYMarginBottom, autoScrollYMarginBottom = _u === void 0 ? 65 : _u, canvasTableId = props.canvasTableId, headerWrap = props.headerWrap, _v = props.headerAlign, headerAlign = _v === void 0 ? "center" : _v, tableRefHandle = props.tableRefHandle, exportExcelConfig = props.exportExcelConfig, _w = props.maxHeight, maxHeight = _w === void 0 ? 3000 : _w, expandable = props.expandable;
|
|
45
45
|
var actualMode = "mode" in props ? mode : "index";
|
|
46
46
|
var canvasRef = useRef(null);
|
|
47
47
|
var containerRef = useRef(null);
|
|
@@ -64,17 +64,17 @@ function CanvasTable(props) {
|
|
|
64
64
|
return String((_a = record[rowKey]) !== null && _a !== void 0 ? _a : index);
|
|
65
65
|
}, [rowKey]);
|
|
66
66
|
// 动态列配置
|
|
67
|
-
var
|
|
67
|
+
var _x = useDynamicListByColumns(columns, {
|
|
68
68
|
dynamicKey: dynamicKey,
|
|
69
69
|
dynamicVersion: dynamicVersion,
|
|
70
70
|
customDynamicListHandle: customDynamicListHandle,
|
|
71
|
-
}), defaultDynamicList =
|
|
71
|
+
}), defaultDynamicList = _x.defaultDynamicList, currentDynamicList = _x.currentDynamicList, onCurrentListChange = _x.onCurrentListChange, dynamicSettingRef = _x.dynamicSettingRef;
|
|
72
72
|
// 根据动态列配置处理columns
|
|
73
73
|
var dynamicColumns = useMemo(function () { return getTableColumns(columns, currentDynamicList); }, [columns, currentDynamicList]).columns;
|
|
74
74
|
// 内部列宽状态(未开启动态配置时使用)
|
|
75
|
-
var
|
|
75
|
+
var _y = useState({}), internalColumnWidths = _y[0], setInternalColumnWidths = _y[1];
|
|
76
76
|
// 跟踪用户手动调整过宽度的列(用于排除自动宽度分配)
|
|
77
|
-
var
|
|
77
|
+
var _z = useState(new Set()), manuallyResizedColumnKeys = _z[0], setManuallyResizedColumnKeys = _z[1];
|
|
78
78
|
// 处理选中框列、序号列等
|
|
79
79
|
var processedColumnsOld = useProcessedColumns({
|
|
80
80
|
columns: columns,
|
|
@@ -89,30 +89,31 @@ function CanvasTable(props) {
|
|
|
89
89
|
headerAlign: headerAlign,
|
|
90
90
|
});
|
|
91
91
|
// 表格状态管理
|
|
92
|
-
var
|
|
92
|
+
var _0 = useTableState({
|
|
93
93
|
dataSource: dataSource,
|
|
94
94
|
columns: processedColumnsOld,
|
|
95
95
|
rowSelection: rowSelection,
|
|
96
96
|
onFilterChange: onFilterChange,
|
|
97
97
|
isAutoMerge: isAutoMerge,
|
|
98
|
-
}), state =
|
|
98
|
+
}), state = _0.state, setState = _0.setState, processedDataSource = _0.processedDataSource, handleFilterChange = _0.handleFilterChange, closeFilterPopover = _0.closeFilterPopover, autoGeneratedFilters = _0.autoGeneratedFilters;
|
|
99
99
|
// 树形展开管理
|
|
100
|
-
var
|
|
100
|
+
var _1 = useExpandable({
|
|
101
101
|
dataSource: dataSource,
|
|
102
102
|
expandable: expandable,
|
|
103
103
|
rowKey: rowKey,
|
|
104
|
-
}), expandedKeys =
|
|
104
|
+
}), expandedKeys = _1.expandedKeys, flattenedData = _1.flattenedData, toggleExpand = _1.toggleExpand, expandRow = _1.expandRow, collapseRow = _1.collapseRow, setExpandedRowKeys = _1.setExpandedRowKeys, hasExpandable = _1.hasExpandable;
|
|
105
105
|
var order = useMemo(function () {
|
|
106
106
|
return state.sortOrder && state.sortField
|
|
107
107
|
? { field: state.sortField, order: state.sortOrder }
|
|
108
108
|
: undefined;
|
|
109
109
|
}, [state.sortOrder, state.sortField]);
|
|
110
|
-
var
|
|
110
|
+
var _2 = useAutoMerge(processedDataSource, processedColumnsOld, {
|
|
111
111
|
isAutoMerge: isAutoMerge,
|
|
112
112
|
isDimensionDynamic: isDimensionDynamic,
|
|
113
|
+
isDimensionMergeChildren: isDimensionMergeChildren,
|
|
113
114
|
order: order,
|
|
114
115
|
dimensionCustomSumKeys: dimensionCustomSumKeys,
|
|
115
|
-
}), newDataSource =
|
|
116
|
+
}), newDataSource = _2[0], processedColumns = _2[1];
|
|
116
117
|
// 如果开启了树形展开,使用扁平化后的数据源
|
|
117
118
|
var expandedDataSource = useMemo(function () {
|
|
118
119
|
if (hasExpandable) {
|
|
@@ -121,14 +122,14 @@ function CanvasTable(props) {
|
|
|
121
122
|
return newDataSource;
|
|
122
123
|
}, [hasExpandable, flattenedData, newDataSource]);
|
|
123
124
|
// 生成合计行和最终数据源
|
|
124
|
-
var
|
|
125
|
+
var _3 = useSummaryRow({
|
|
125
126
|
columns: processedColumns,
|
|
126
127
|
dataSource: expandedDataSource,
|
|
127
|
-
}), finalDataSource =
|
|
128
|
+
}), finalDataSource = _3.finalDataSource, hasSummaryRow = _3.hasSummaryRow;
|
|
128
129
|
// 用于存储计算后的表头高度(用于自动高度的精确计算)
|
|
129
|
-
var
|
|
130
|
+
var _4 = useState(undefined), preciseHeaderHeight = _4[0], setPreciseHeaderHeight = _4[1];
|
|
130
131
|
// 用于存储是否需要横向滚动条(用于自动高度的精确计算)
|
|
131
|
-
var
|
|
132
|
+
var _5 = useState(false), needHorizontalScrollbar = _5[0], setNeedHorizontalScrollbar = _5[1];
|
|
132
133
|
// 自动高度计算(需要在容器尺寸计算之前)
|
|
133
134
|
var autoHeight = useCanvasTableAutoHeight(isAutoScrollY, autoScrollYMarginBottom, canvasTableId, finalDataSource.length, // 数据行数(用于 content 模式)
|
|
134
135
|
headerHeight, // 表头基础高度(用于 content 模式的初始计算)
|
|
@@ -195,7 +196,7 @@ function CanvasTable(props) {
|
|
|
195
196
|
return calculateTotalHeight(calculatedHeaderHeight, finalDataSource.length, rowHeight);
|
|
196
197
|
}, [calculatedHeaderHeight, finalDataSource.length, rowHeight]);
|
|
197
198
|
// 计算滚动条指标
|
|
198
|
-
var
|
|
199
|
+
var _6 = useScrollbarMetrics({
|
|
199
200
|
containerWidth: containerWidth,
|
|
200
201
|
containerHeight: containerHeight,
|
|
201
202
|
totalWidth: totalWidth,
|
|
@@ -203,14 +204,14 @@ function CanvasTable(props) {
|
|
|
203
204
|
headerHeight: calculatedHeaderHeight,
|
|
204
205
|
scrollTop: 0,
|
|
205
206
|
scrollLeft: 0,
|
|
206
|
-
}), maxScrollTop =
|
|
207
|
+
}), maxScrollTop = _6.maxScrollTop, maxScrollLeft = _6.maxScrollLeft;
|
|
207
208
|
// 滚动管理(使用预先计算的maxScrollTop和maxScrollLeft)
|
|
208
|
-
var
|
|
209
|
+
var _7 = useTableScroll({
|
|
209
210
|
containerRef: containerRef,
|
|
210
211
|
maxScrollTop: maxScrollTop,
|
|
211
212
|
maxScrollLeft: maxScrollLeft,
|
|
212
213
|
onScroll: onScroll,
|
|
213
|
-
}), scrollState =
|
|
214
|
+
}), scrollState = _7.scrollState, setScrollState = _7.setScrollState;
|
|
214
215
|
// 使用 ref 保存最新的滚动位置,确保在组件卸载过程中仍能访问
|
|
215
216
|
var scrollPositionRef = useRef({ x: 0, y: 0 });
|
|
216
217
|
useEffect(function () {
|
|
@@ -254,12 +255,12 @@ function CanvasTable(props) {
|
|
|
254
255
|
needHorizontalScrollbar,
|
|
255
256
|
]);
|
|
256
257
|
// 单元格框选
|
|
257
|
-
var
|
|
258
|
+
var _8 = useTableSelection({
|
|
258
259
|
state: state,
|
|
259
260
|
setState: setState,
|
|
260
261
|
}),
|
|
261
262
|
// selectionStartRef,
|
|
262
|
-
startSelection =
|
|
263
|
+
startSelection = _8.startSelection, updateSelection = _8.updateSelection, extendSelection = _8.extendSelection;
|
|
263
264
|
// 处理列宽调整
|
|
264
265
|
var handleColumnResize = useCallback(function (columnKey, newWidth) {
|
|
265
266
|
var _a;
|
|
@@ -314,20 +315,20 @@ function CanvasTable(props) {
|
|
|
314
315
|
onCurrentListChange,
|
|
315
316
|
]);
|
|
316
317
|
// 列宽调整
|
|
317
|
-
var
|
|
318
|
+
var _9 = useColumnResize({
|
|
318
319
|
columnRenderInfos: columnRenderInfos,
|
|
319
320
|
containerWidth: containerWidth,
|
|
320
321
|
headerHeight: calculatedHeaderHeight,
|
|
321
322
|
scrollLeft: scrollState.scrollLeft,
|
|
322
323
|
onColumnResize: handleColumnResize,
|
|
323
|
-
}), resizeState =
|
|
324
|
+
}), resizeState = _9.resizeState, checkResizeHandle = _9.checkResizeHandle, startResize = _9.startResize, updateResize = _9.updateResize, endResize = _9.endResize, setHoverResizeColumn = _9.setHoverResizeColumn, getColumnWidth = _9.getColumnWidth, RESIZE_HANDLE_WIDTH = _9.RESIZE_HANDLE_WIDTH;
|
|
324
325
|
// 复制到剪贴板
|
|
325
|
-
var
|
|
326
|
+
var _10 = useCopyToClipboard({
|
|
326
327
|
cellSelection: state.cellSelection,
|
|
327
328
|
processedDataSource: finalDataSource,
|
|
328
329
|
columns: processedColumns,
|
|
329
330
|
containerRef: containerRef,
|
|
330
|
-
}), getSelectedCellsText =
|
|
331
|
+
}), getSelectedCellsText = _10.getSelectedCellsText, copyToClipboard = _10.copyToClipboard;
|
|
331
332
|
// 处理右键菜单的复制操作
|
|
332
333
|
var handleCopy = useCallback(function () {
|
|
333
334
|
var text = getSelectedCellsText();
|
|
@@ -347,7 +348,7 @@ function CanvasTable(props) {
|
|
|
347
348
|
childrenColumnName: (_a = props.expandable) === null || _a === void 0 ? void 0 : _a.childrenColumnName,
|
|
348
349
|
});
|
|
349
350
|
// 交互事件处理(使用baseScrollbarMetrics的maxScrollTop/maxScrollLeft以保持稳定)
|
|
350
|
-
var
|
|
351
|
+
var _11 = useTableInteraction({
|
|
351
352
|
state: state,
|
|
352
353
|
setState: setState,
|
|
353
354
|
scrollState: scrollState,
|
|
@@ -397,7 +398,7 @@ function CanvasTable(props) {
|
|
|
397
398
|
fixedRowsCount: fixedRowsCount,
|
|
398
399
|
fixedRowsConfig: fixedRowsConfig,
|
|
399
400
|
summaryFixed: summaryFixed,
|
|
400
|
-
}), handleCanvasMouseDown =
|
|
401
|
+
}), handleCanvasMouseDown = _11.handleCanvasMouseDown, handleCanvasMouseMove = _11.handleCanvasMouseMove, handleCanvasMouseUp = _11.handleCanvasMouseUp, handleCanvasMouseLeave = _11.handleCanvasMouseLeave, handleCanvasContextMenu = _11.handleCanvasContextMenu;
|
|
401
402
|
// 渲染表格
|
|
402
403
|
useTableRender(__assign(__assign({ canvasRef: canvasRef, processedDataSource: finalDataSource, columnRenderInfos: columnRenderInfos, columns: processedColumns, // 传递原始columns用于渲染多级表头
|
|
403
404
|
state: state, scrollState: scrollState, rowSelection: rowSelection, containerWidth: containerWidth, containerHeight: containerHeight, headerHeight: calculatedHeaderHeight, baseHeaderHeight: headerHeight, // 传入原始基础高度用于计算每层高度
|
|
@@ -48,17 +48,17 @@ function useCanvasTableAutoHeight(isAutoScrollY, marginBottom, canvasTableId, da
|
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
// 视口模式:根据页面位置计算高度
|
|
51
|
+
// 构建表格选择器
|
|
52
|
+
var tableSelector = canvasTableId
|
|
53
|
+
? "#".concat(CSS.escape(canvasTableId), " .canvas-table-container")
|
|
54
|
+
: ".canvas-table-container";
|
|
51
55
|
var calculateHeight = function () {
|
|
52
|
-
var _a, _b;
|
|
53
|
-
// 查找容器元素
|
|
54
|
-
var containerRect = (_a = document
|
|
55
|
-
.querySelector(".ztxk-container")) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
56
56
|
// 查找CanvasTable元素
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
var
|
|
61
|
-
|
|
57
|
+
var tableElement = document.querySelector(tableSelector);
|
|
58
|
+
var tableRect = tableElement === null || tableElement === void 0 ? void 0 : tableElement.getBoundingClientRect();
|
|
59
|
+
// 通过表格元素向上查找包含它的 .ztxk-container 容器
|
|
60
|
+
var containerElement = tableElement === null || tableElement === void 0 ? void 0 : tableElement.closest(".ztxk-container");
|
|
61
|
+
var containerRect = containerElement === null || containerElement === void 0 ? void 0 : containerElement.getBoundingClientRect();
|
|
62
62
|
if (containerRect && tableRect) {
|
|
63
63
|
var calculatedHeight = containerRect.height +
|
|
64
64
|
containerRect.top -
|
|
@@ -80,7 +80,9 @@ function useCanvasTableAutoHeight(isAutoScrollY, marginBottom, canvasTableId, da
|
|
|
80
80
|
var observer = new MutationObserver(function () {
|
|
81
81
|
calculateHeight();
|
|
82
82
|
});
|
|
83
|
-
|
|
83
|
+
// 找到包含目标表格的容器
|
|
84
|
+
var tableElement = document.querySelector(tableSelector);
|
|
85
|
+
var container = tableElement === null || tableElement === void 0 ? void 0 : tableElement.closest(".ztxk-container");
|
|
84
86
|
if (container) {
|
|
85
87
|
observer.observe(container, {
|
|
86
88
|
childList: true,
|
|
@@ -403,6 +403,10 @@ interface ICanvasTableProps<RecordType = any> {
|
|
|
403
403
|
* 开启维度自定义(需配合 isAutoMerge 使用)
|
|
404
404
|
*/
|
|
405
405
|
isDimensionDynamic?: boolean;
|
|
406
|
+
/**
|
|
407
|
+
* 开启维度自定义后,是否合并子数据。默认为true,会将相同维度组合的子数据合并为一行;为false时保留所有原始记录
|
|
408
|
+
*/
|
|
409
|
+
isDimensionMergeChildren?: boolean;
|
|
406
410
|
/**
|
|
407
411
|
* 开启维度自定义后,开启维度合计的字段
|
|
408
412
|
*/
|
package/dist/es/form/form.js
CHANGED
|
@@ -145,11 +145,11 @@ var Form = function (props, ref) {
|
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
147
|
var resetButtonComponent = isResetAndClear ? (jsx(ResetButton, { onClick: onDropdownResetHandleInner })) : (jsx(ButtonCom, __assign({ type: "default", onClick: onResetHandleInner }, { children: "\u91CD\u7F6E" })));
|
|
148
|
-
return (jsxs(FormContext.Provider, __assign({ value: { onSearch: onSearchHandleInner } }, { children: [jsxs(Form$1, __assign({ form: form, onValuesChange: onValuesChangeHandle }, restProps, { className: wrapClasses }, { children: [jsx("div", __assign({ className: leftClasses, ref: leftWrapRef }, { children: items ? (jsx(FormItems, { items: dynamicKey ? newItems : configInfoItems, outsideState: outsideState })) : (children) })), jsxs("div", __assign({ className: "ztxk-form--operation" }, { children: [dynamicKey ? (jsx(DynamicSetting, { dynamicKey: dynamicKey, parentDynamicKey: FORM_DYNAMIC_KEY, defaultList: dynamicList, onCurrentListChange: onCurrentListChange, ref: dynamicSettingRef, hiddenOperationIcon: isNewFormLayoutEnabled })) : null, isToggle ? (jsx(Toggle, { style: { marginTop: isNewFormLayoutEnabled ? 0 : "4px" }, toggle: toggle, onClick: onToggleChange })) : null] })), rightWrapVisible ? (jsxs("div", __assign({ className: rightClasses }, { children: [jsxs("div", __assign({ className: "ztxk-form__right--common-left" }, { children: [
|
|
148
|
+
return (jsxs(FormContext.Provider, __assign({ value: { onSearch: onSearchHandleInner } }, { children: [jsxs(Form$1, __assign({ form: form, onValuesChange: onValuesChangeHandle }, restProps, { className: wrapClasses }, { children: [jsx("div", __assign({ className: leftClasses, ref: leftWrapRef }, { children: items ? (jsx(FormItems, { items: dynamicKey ? newItems : configInfoItems, outsideState: outsideState })) : (children) })), jsxs("div", __assign({ className: "ztxk-form--operation" }, { children: [dynamicKey ? (jsx(DynamicSetting, { dynamicKey: dynamicKey, parentDynamicKey: FORM_DYNAMIC_KEY, defaultList: dynamicList, onCurrentListChange: onCurrentListChange, ref: dynamicSettingRef, hiddenOperationIcon: isNewFormLayoutEnabled })) : null, isToggle ? (jsx(Toggle, { style: { marginTop: isNewFormLayoutEnabled ? 0 : "4px" }, toggle: toggle, onClick: onToggleChange })) : null] })), rightWrapVisible ? (jsxs("div", __assign({ className: rightClasses }, { children: [jsxs("div", __assign({ className: "ztxk-form__right--common-left" }, { children: [resetButtonComponent, jsx(ButtonCom, __assign({ type: "primary", onClick: onSearchHandleInner }, { children: "\u67E5\u8BE2" }))] })), isCommonSearchEnabled || isNewFormLayoutEnabled ? (jsxs("div", __assign({ className: classNames("ztxk-form__right--common-right", {
|
|
149
149
|
"ztxk-form__right--common-right--new-layout": isNewFormLayoutEnabled,
|
|
150
|
-
}) }, { children: [isNewFormLayoutEnabled ?
|
|
150
|
+
}) }, { children: [isNewFormLayoutEnabled && dynamicKey ? (jsx(ButtonCom, __assign({ type: "default", onClick: function () { var _a; return (_a = dynamicSettingRef.current) === null || _a === void 0 ? void 0 : _a.setVisible(true); } }, { children: "\u81EA\u5B9A\u4E49" }))) : null, isCommonSearchEnabled ? (jsx(ButtonCom, __assign({ style: {
|
|
151
151
|
width: "100%",
|
|
152
|
-
marginLeft: isNewFormLayoutEnabled ? 10 : 0,
|
|
152
|
+
marginLeft: isNewFormLayoutEnabled && dynamicKey ? 10 : 0,
|
|
153
153
|
}, onClick: onCommonSearchHandle }, { children: isNewFormLayoutEnabled ? "常用搜索" : "保存为常用搜索" }))) : null] }))) : null] }))) : null] })), isCommonSearchEnabled ? (jsx(CommonSearchList, { commonSearchList: commonSearchList, setCommonSearchList: setCommonSearchList, currentCommonSearchKey: currentCommonSearchKey, setCurrentCommonSearchKey: setCurrentCommonSearchKey, form: form, reTransformData: reTransformData, deleteData: deleteData, setReplaceData: setReplaceData, updateServerData: updateServerData, onSearchHandle: onSearchHandleInner })) : null] })));
|
|
154
154
|
};
|
|
155
155
|
var MemoForm = memo(forwardRef(Form));
|
package/dist/es/form/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-bottom:0;margin-right:16px}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0;min-width:0}.ant-form-horizontal .ant-form-item-label[class$="-24"]+.ant-form-item-control,.ant-form-horizontal .ant-form-item-label[class*="-24 "]+.ant-form-item-control{min-width:unset}.ant-form-vertical .ant-form-item-row{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-form-vertical .ant-form-item .ant-form-item-control{width:100%}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width:575px){.ant-form-item .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0}.ant-form legend{border:0;border-bottom:1px solid #d9d9d9;color:#00000073;display:block;font-size:16px;line-height:inherit;margin-bottom:20px;padding:0;width:100%}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{color:#000000a6;display:block;font-size:14px;line-height:1.5715;padding-top:15px}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0 0 24px;padding:0;vertical-align:top}.ant-form-item-with-help{transition:none}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;text-align:right;vertical-align:middle;white-space:nowrap}.ant-form-item-label-left{text-align:left}.ant-form-item-label-wrap{line-height:1.3215em;overflow:unset;white-space:unset}.ant-form-item-label>label{align-items:center;color:#000000d9;display:inline-flex;font-size:14px;height:32px;max-width:100%;position:relative}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{color:#ff4d4f;content:"*";display:inline-block;font-family:SimSun,sans-serif;font-size:14px;line-height:1;margin-right:4px}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{color:#00000073;display:inline-block;margin-left:4px}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;margin-inline-start:4px;writing-mode:horizontal-tb}.ant-form-item-label>label:after{content:":";margin:0 8px 0 2px;position:relative;top:-.5px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{align-items:center;display:flex;min-height:32px;position:relative}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;color:#00000073;font-size:14px;line-height:1.5715;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item-explain-connected{width:100%}.ant-form-item-extra{min-height:24px}.ant-form-item-with-help .ant-form-item-explain{height:auto;opacity:1}.ant-form-item-feedback-icon{animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);font-size:14px;pointer-events:none;text-align:center;visibility:visible}.ant-form-item-feedback-icon-success{color:#52c41a}.ant-form-item-feedback-icon-error{color:#ff4d4f}.ant-form-item-feedback-icon-warning{color:#faad14}.ant-form-item-feedback-icon-validating{color:#5b76f6}.ant-show-help{transition:opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-show-help-appear,.ant-show-help-enter{opacity:0}.ant-show-help-appear-active,.ant-show-help-enter-active,.ant-show-help-leave{opacity:1}.ant-show-help-leave-active{opacity:0}.ant-show-help-item{overflow:hidden;transition:height .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-appear,.ant-show-help-item-enter{opacity:0;transform:translateY(-5px)}.ant-show-help-item-appear-active,.ant-show-help-item-enter-active{opacity:1;transform:translateY(0)}.ant-show-help-item-leave{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1),transform .2s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-leave-active{transform:translateY(-5px)}@keyframes diffZoomIn1{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn2{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn3{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-left:4px;margin-right:0}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-left:0;margin-right:4px}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-left:24px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-left:18px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input,.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{left:28px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-left:42px;padding-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-left:19px;margin-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-left:29.2px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-left:25.2px;padding-right:7px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{left:0;right:auto}.ant-form-rtl.ant-form-inline .ant-form-item{margin-left:16px;margin-right:0}.ztxk-form{background:#fff;display:flex;justify-content:space-between;padding:0}.ztxk-form .ztxk-form--detault-dom{border:1px solid #d9d9d9;border-left:none;border-radius:0 4px 4px 0}.ztxk-form .ztxk-form--detault-dom,.ztxk-form .ztxk-form--tip-dom{align-items:center;display:flex;min-height:32px;padding:4px 11px;transition:all .3s}.ztxk-form .ztxk-form--tip-dom{border-radius:0 4px 4px 0}.ztxk-form.ztxk-form--bottom-border{border-bottom:1px solid #ebf3fe}.ztxk-form .ztxk-form__left{flex:1;position:relative;transition:max-height .3s ease-out}.ztxk-form .ztxk-form__left.ztxk-form__left--toggle{overflow:hidden}.ztxk-form .ztxk-form__left.ztxk-form__left--flex{display:flex;flex-grow:1;flex-wrap:wrap}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-checkbox-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-radio-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error.ztxk-form__item--direction-column,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ztxk-form--detault-dom{border-color:#f88!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-margin-offset{margin-bottom:0!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction{flex-direction:column}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction>div{flex:none}.ztxk-form .ztxk-form--operation{align-items:center;display:flex;flex-direction:column;margin-right:10px}.ztxk-form .ztxk-form--operation .ztxk-dynamic-setting{cursor:pointer;margin-top:6px;position:relative}.ztxk-form .ztxk-form--operation .ztxk-from--toggle{cursor:pointer;margin-top:4px}.ztxk-form .ztxk-form--operation .ztxk-from--toggle>span{transition:transform .4s ease 0s}.ztxk-form .ztxk-form__right{display:flex;flex-direction:column}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left{display:flex}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left>button.ant-btn{margin-left:10px;margin-right:0}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left>button.ant-btn:first-child{margin-left:0}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right{margin-top:13px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right.ztxk-form__right--common-right--new-layout{display:flex}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right.ztxk-form__right--common-right--new-layout button{padding:0 5px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right.ztxk-form__right--common-right--new-layout button.ant-dropdown-trigger{padding:0 2px}.common-search-list--container{display:flex;flex-direction:row;line-height:26px;margin-bottom:10px}.common-search-list--container .common-search-list--title{color:#999}.common-search-list--container .common-search-list--content{display:flex;flex:1;flex-wrap:wrap;margin-left:10px;max-height:76px;overflow-y:auto}.common-search-list--container .common-search-list--content>div{padding-right:10px}.common-search-list--container .common-search-list--content>div:last-child{padding-right:0}.common-search-list--container .common-search-list--content>div .ant-btn{height:26px;margin-bottom:10px;padding:4px 8px}.common-search-list--container .common-search-list--content>div .ant-btn>.anticon{margin-left:4px;margin-top:2px}
|
|
1
|
+
.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-bottom:0;margin-right:16px}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0;min-width:0}.ant-form-horizontal .ant-form-item-label[class$="-24"]+.ant-form-item-control,.ant-form-horizontal .ant-form-item-label[class*="-24 "]+.ant-form-item-control{min-width:unset}.ant-form-vertical .ant-form-item-row{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-form-vertical .ant-form-item .ant-form-item-control{width:100%}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width:575px){.ant-form-item .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0}.ant-form legend{border:0;border-bottom:1px solid #d9d9d9;color:#00000073;display:block;font-size:16px;line-height:inherit;margin-bottom:20px;padding:0;width:100%}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{color:#000000a6;display:block;font-size:14px;line-height:1.5715;padding-top:15px}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0 0 24px;padding:0;vertical-align:top}.ant-form-item-with-help{transition:none}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;text-align:right;vertical-align:middle;white-space:nowrap}.ant-form-item-label-left{text-align:left}.ant-form-item-label-wrap{line-height:1.3215em;overflow:unset;white-space:unset}.ant-form-item-label>label{align-items:center;color:#000000d9;display:inline-flex;font-size:14px;height:32px;max-width:100%;position:relative}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{color:#ff4d4f;content:"*";display:inline-block;font-family:SimSun,sans-serif;font-size:14px;line-height:1;margin-right:4px}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{color:#00000073;display:inline-block;margin-left:4px}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;margin-inline-start:4px;writing-mode:horizontal-tb}.ant-form-item-label>label:after{content:":";margin:0 8px 0 2px;position:relative;top:-.5px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{align-items:center;display:flex;min-height:32px;position:relative}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;color:#00000073;font-size:14px;line-height:1.5715;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item-explain-connected{width:100%}.ant-form-item-extra{min-height:24px}.ant-form-item-with-help .ant-form-item-explain{height:auto;opacity:1}.ant-form-item-feedback-icon{animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);font-size:14px;pointer-events:none;text-align:center;visibility:visible}.ant-form-item-feedback-icon-success{color:#52c41a}.ant-form-item-feedback-icon-error{color:#ff4d4f}.ant-form-item-feedback-icon-warning{color:#faad14}.ant-form-item-feedback-icon-validating{color:#5b76f6}.ant-show-help{transition:opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-show-help-appear,.ant-show-help-enter{opacity:0}.ant-show-help-appear-active,.ant-show-help-enter-active,.ant-show-help-leave{opacity:1}.ant-show-help-leave-active{opacity:0}.ant-show-help-item{overflow:hidden;transition:height .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-appear,.ant-show-help-item-enter{opacity:0;transform:translateY(-5px)}.ant-show-help-item-appear-active,.ant-show-help-item-enter-active{opacity:1;transform:translateY(0)}.ant-show-help-item-leave{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1),transform .2s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-leave-active{transform:translateY(-5px)}@keyframes diffZoomIn1{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn2{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn3{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-left:4px;margin-right:0}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-left:0;margin-right:4px}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-left:24px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-left:18px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input,.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{left:28px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-left:42px;padding-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-left:19px;margin-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-left:29.2px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-left:25.2px;padding-right:7px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{left:0;right:auto}.ant-form-rtl.ant-form-inline .ant-form-item{margin-left:16px;margin-right:0}.ztxk-form{background:#fff;display:flex;justify-content:space-between;padding:0}.ztxk-form .ztxk-form--detault-dom{border:1px solid #d9d9d9;border-left:none;border-radius:0 4px 4px 0}.ztxk-form .ztxk-form--detault-dom,.ztxk-form .ztxk-form--tip-dom{align-items:center;display:flex;min-height:32px;padding:4px 11px;transition:all .3s}.ztxk-form .ztxk-form--tip-dom{border-radius:0 4px 4px 0}.ztxk-form.ztxk-form--bottom-border{border-bottom:1px solid #ebf3fe}.ztxk-form .ztxk-form__left{flex:1;position:relative;transition:max-height .3s ease-out}.ztxk-form .ztxk-form__left.ztxk-form__left--toggle{overflow:hidden}.ztxk-form .ztxk-form__left.ztxk-form__left--flex{display:flex;flex-grow:1;flex-wrap:wrap}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-checkbox-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-radio-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error.ztxk-form__item--direction-column,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ztxk-form--detault-dom{border-color:#f88!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-margin-offset{margin-bottom:0!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction{flex-direction:column}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction>div{flex:none}.ztxk-form .ztxk-form--operation{align-items:center;display:flex;flex-direction:column;margin-right:10px}.ztxk-form .ztxk-form--operation .ztxk-dynamic-setting{cursor:pointer;margin-top:6px;position:relative}.ztxk-form .ztxk-form--operation .ztxk-from--toggle{cursor:pointer;margin-top:4px}.ztxk-form .ztxk-form--operation .ztxk-from--toggle>span{transition:transform .4s ease 0s}.ztxk-form .ztxk-form__right{display:flex;flex-direction:column}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left{display:flex}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left>button.ant-btn{margin-left:10px;margin-right:0;width:70px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left>button.ant-btn:first-child{margin-left:0}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left .zt-btn-dropdown--default{flex:1;width:70px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left .zt-btn-dropdown--default>button{padding:0 5px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left .zt-btn-dropdown--default>button:first-child{padding-left:15px;padding-right:0}.ztxk-form .ztxk-form__right .ztxk-form__right--common-left .zt-btn-dropdown--default>button.ant-dropdown-trigger{padding:0 2px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right{margin-top:13px}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right.ztxk-form__right--common-right--new-layout{display:flex}.ztxk-form .ztxk-form__right .ztxk-form__right--common-right.ztxk-form__right--common-right--new-layout button{padding:0 10px;width:70px!important}.common-search-list--container{display:flex;flex-direction:row;line-height:26px;margin-bottom:10px}.common-search-list--container .common-search-list--title{color:#999}.common-search-list--container .common-search-list--content{display:flex;flex:1;flex-wrap:wrap;margin-left:10px;max-height:76px;overflow-y:auto}.common-search-list--container .common-search-list--content>div{padding-right:10px}.common-search-list--container .common-search-list--content>div:last-child{padding-right:0}.common-search-list--container .common-search-list--content>div .ant-btn{height:26px;margin-bottom:10px;padding:4px 8px}.common-search-list--container .common-search-list--content>div .ant-btn>.anticon{margin-left:4px;margin-top:2px}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from '../_virtual/_tslib.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
+
import MoreOutlined from '../node_modules/@ant-design/icons/es/icons/MoreOutlined.js';
|
|
4
5
|
import { Dropdown } from 'antd';
|
|
5
6
|
|
|
6
7
|
var items = [
|
|
@@ -23,7 +24,7 @@ var ResetButton = function (_a) {
|
|
|
23
24
|
var onButtonClick = function (e) {
|
|
24
25
|
onClick && onClick(resetType);
|
|
25
26
|
};
|
|
26
|
-
return (
|
|
27
|
+
return (jsxs(Dropdown.Button, __assign({ menu: { items: items, onClick: onMenuClick }, onClick: onButtonClick, type: "default", className: "zt-btn-dropdown--default", icon: jsx(MoreOutlined, {}) }, { children: [resetType === "reset" ? "重置" : "清除", jsx("span", {})] })));
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
export { ResetButton as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _objectSpread2 from '../../../../@babel/runtime/helpers/esm/objectSpread2.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import MoreOutlinedSvg from '../../../icons-svg/es/asn/MoreOutlined.js';
|
|
4
|
+
import AntdIcon from '../components/AntdIcon.js';
|
|
5
|
+
|
|
6
|
+
var MoreOutlined = function MoreOutlined(props, ref) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
8
|
+
ref: ref,
|
|
9
|
+
icon: MoreOutlinedSvg
|
|
10
|
+
}));
|
|
11
|
+
};
|
|
12
|
+
var RefIcon = /*#__PURE__*/React.forwardRef(MoreOutlined);
|
|
13
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
14
|
+
RefIcon.displayName = 'MoreOutlined';
|
|
15
|
+
}
|
|
16
|
+
var MoreOutlined$1 = RefIcon;
|
|
17
|
+
|
|
18
|
+
export { MoreOutlined$1 as default };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
var MoreOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "more", "theme": "outlined" };
|
|
3
|
+
var MoreOutlinedSvg = MoreOutlined;
|
|
4
|
+
|
|
5
|
+
export { MoreOutlinedSvg as default };
|
package/dist/es/table/hooks.js
CHANGED
|
@@ -432,7 +432,7 @@ var useDateKeys = function (columns) {
|
|
|
432
432
|
* 自动合并的一些处理
|
|
433
433
|
*/
|
|
434
434
|
function useAutoMerge(dataSource, columns, _a) {
|
|
435
|
-
var isAutoMerge = _a.isAutoMerge, isDimensionDynamic = _a.isDimensionDynamic, order = _a.order, dimensionCustomSumKeys = _a.dimensionCustomSumKeys;
|
|
435
|
+
var isAutoMerge = _a.isAutoMerge, isDimensionDynamic = _a.isDimensionDynamic, _b = _a.isDimensionMergeChildren, isDimensionMergeChildren = _b === void 0 ? true : _b, order = _a.order, dimensionCustomSumKeys = _a.dimensionCustomSumKeys;
|
|
436
436
|
// 计算需要合并的字段key集合
|
|
437
437
|
var mergeKeys = useMergeKeys(columns, isAutoMerge);
|
|
438
438
|
var firstMergeKey = mergeKeys === null || mergeKeys === void 0 ? void 0 : mergeKeys[0];
|
|
@@ -473,7 +473,8 @@ function useAutoMerge(dataSource, columns, _a) {
|
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var startTime = performance.now();
|
|
476
|
-
var result = flattenRecordsOptimized(__spreadArray([], sourceData, true), mergeKeysParam, dimensionSummaryKeys, summaryKeys, isDimensionDynamic, order, dimensionCustomSumKeys, columns // 添加 columns 参数,支持自定义排序
|
|
476
|
+
var result = flattenRecordsOptimized(__spreadArray([], sourceData, true), mergeKeysParam, dimensionSummaryKeys, summaryKeys, isDimensionDynamic, order, dimensionCustomSumKeys, columns, // 添加 columns 参数,支持自定义排序
|
|
477
|
+
isDimensionMergeChildren // 是否合并子数据
|
|
477
478
|
);
|
|
478
479
|
var endTime = performance.now();
|
|
479
480
|
var duration = endTime - startTime;
|
|
@@ -497,6 +498,7 @@ function useAutoMerge(dataSource, columns, _a) {
|
|
|
497
498
|
dimensionSummaryKeys,
|
|
498
499
|
summaryKeys,
|
|
499
500
|
isDimensionDynamic,
|
|
501
|
+
isDimensionMergeChildren,
|
|
500
502
|
order,
|
|
501
503
|
dimensionCustomSumKeys,
|
|
502
504
|
columns,
|
package/dist/es/table/index.css
CHANGED
|
@@ -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 .ztxk-table__dynamic-text{color:#768696;cursor:pointer;font-size:12px}.ztxk-table .ztxk-table-summary-collapse{align-items:center;display:flex;height:20px;justify-content:center;left:0;margin:0 -17px;position:sticky}.ztxk-table .ztxk-table-summary-collapse .ztxk-table-summary-collapse-title{align-items:center;background-color:#cdd9e6;border-radius:0 0 4px 4px;color:#555;cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;padding:0 12px}.ztxk-table .ztxk-table-summary-collapse .ztxk-table-summary-collapse-title>span{margin-left:7px}.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-summary>tr>td .ztxk-upload--preview-list__item,.ztxk-table .ant-table-tbody>tr>td .ztxk-upload--preview-list__item,.ztxk-table .ant-table-thead>tr>th .ztxk-upload--preview-list__item{margin:4px 0}.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--fullscreen .ant-pagination-options .ant-select-dropdown,.ztxk-table--pagination--select-top{top:-140px!important}.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}.ztxk-table-dynamic--header{margin-bottom:10px}.ztxk-table-dynamic--header>button{margin-bottom:0;margin-right:10px}.ztxk-table-dynamic--header>button:last-child{margin-right:0}.ztxk-table-dynamic--header>button.ant-btn>.anticon+span,.ztxk-table-dynamic--header>button.ant-btn>span+.anticon{margin-left:2px}
|
|
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 .ztxk-table__dynamic-text{color:#4285f4;cursor:pointer;font-size:12px}.ztxk-table .ztxk-table-summary-collapse{align-items:center;display:flex;display:table-cell;height:20px;justify-content:center;left:0;margin:0 -17px;position:sticky}.ztxk-table .ztxk-table-summary-collapse .ztxk-table-summary-collapse-title{align-items:center;background-color:#cdd9e6;border-radius:0 0 4px 4px;color:#555;cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;padding:0 12px;width:76px}.ztxk-table .ztxk-table-summary-collapse .ztxk-table-summary-collapse-title>span{margin-left:7px}.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-summary>tr>td .ztxk-upload--preview-list__item,.ztxk-table .ant-table-tbody>tr>td .ztxk-upload--preview-list__item,.ztxk-table .ant-table-thead>tr>th .ztxk-upload--preview-list__item{margin:4px 0}.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--fullscreen .ant-pagination-options .ant-select-dropdown,.ztxk-table--pagination--select-top{top:-140px!important}.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}.ztxk-table-dynamic--header{margin-bottom:10px}.ztxk-table-dynamic--header>button{margin-bottom:0;margin-right:10px}.ztxk-table-dynamic--header>button:last-child{margin-right:0}.ztxk-table-dynamic--header>button.ant-btn>.anticon+span,.ztxk-table-dynamic--header>button.ant-btn>span+.anticon{margin-left:2px}
|
|
@@ -536,6 +536,10 @@ interface ITableProps<RecordType> extends Omit<TableProps<RecordType>, "columns"
|
|
|
536
536
|
* 开启维度自定义。开启后,会根据columns中的isDimension属性来是否开启维度自定义,需要合并行时,需要开启这个属性isAutoMerge
|
|
537
537
|
*/
|
|
538
538
|
isDimensionDynamic?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
* 开启维度自定义后,是否合并子数据。默认为true,会将相同维度组合的子数据合并为一行;为false时保留所有原始记录
|
|
541
|
+
*/
|
|
542
|
+
isDimensionMergeChildren?: boolean;
|
|
539
543
|
/**
|
|
540
544
|
* 开启维度自定义后,开启维度合计的字段,与column中的isSummary相同,主要用于自定义合计字段
|
|
541
545
|
*/
|