ztxkui 4.2.23-321-beta → 4.2.23-323-beta
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/DemoCom/tidan.js +1 -0
- package/dist/TableDemo/BasicTable.js +143 -143
- package/dist/components/Form/form.d.ts +1 -1
- package/dist/components/Form/form.js +16 -13
- package/dist/components/Table/hooks/useColumns.d.ts +1 -0
- package/dist/components/Table/hooks/useColumns.js +24 -2
- package/dist/components/Table/table.d.ts +2 -0
- package/dist/components/Table/table.js +2 -1
- package/dist/components/business/SearchContainer/search-left.js +2 -1
- package/dist/components/electron-signatures/demoComponents/index.js +89 -90
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.js +4 -3
- package/dist/components/electron-signatures/fileComponents/useFileColumns.js +3 -1
- package/dist/components/electron-signatures/qunjComponents/qunj-check.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
package/dist/DemoCom/tidan.js
CHANGED
|
@@ -10,150 +10,150 @@ import { Table } from '../index.build';
|
|
|
10
10
|
// store
|
|
11
11
|
// 自定义组件
|
|
12
12
|
// 其他文件
|
|
13
|
-
import { dataSource } from './data';
|
|
13
|
+
// import { dataSource } from './data';
|
|
14
14
|
var BasicTable = function (_a) {
|
|
15
|
+
// const columns: ColumnsType<any> = [
|
|
16
|
+
// {
|
|
17
|
+
// title: '序号',
|
|
18
|
+
// width: 62,
|
|
19
|
+
// key: 'index',
|
|
20
|
+
// render: (_text, _record, index) => `${index + 1}`,
|
|
21
|
+
// },
|
|
22
|
+
// {
|
|
23
|
+
// title: '测试11',
|
|
24
|
+
// width: 100,
|
|
25
|
+
// dataIndex: 'test1',
|
|
26
|
+
// key: 'test1',
|
|
27
|
+
// },
|
|
28
|
+
// {
|
|
29
|
+
// title: '库存总计',
|
|
30
|
+
// children: [
|
|
31
|
+
// {
|
|
32
|
+
// title: '财务库存数量',
|
|
33
|
+
// width: 120,
|
|
34
|
+
// dataIndex: 'totalFinanceAvailQuantity',
|
|
35
|
+
// key: 'totalFinanceAvailQuantity',
|
|
36
|
+
// render: (text, record, index) => {
|
|
37
|
+
// if (index % 2 === 0) {
|
|
38
|
+
// return `${index + 2}`;
|
|
39
|
+
// }
|
|
40
|
+
// return `${index + 1}/${index + 2}`;
|
|
41
|
+
// },
|
|
42
|
+
// },
|
|
43
|
+
// {
|
|
44
|
+
// title: '业务库存数量',
|
|
45
|
+
// width: 120,
|
|
46
|
+
// dataIndex: 'totalBusiAvailQuantity',
|
|
47
|
+
// key: 'totalBusiAvailQuantity',
|
|
48
|
+
// render: (text) => 2,
|
|
49
|
+
// },
|
|
50
|
+
// {
|
|
51
|
+
// title: '财务库存金额(不含税)',
|
|
52
|
+
// width: 120,
|
|
53
|
+
// dataIndex: 'totalFinanceStockAmount',
|
|
54
|
+
// key: 'totalFinanceStockAmount',
|
|
55
|
+
// },
|
|
56
|
+
// {
|
|
57
|
+
// title: '业务库存金额(不含税)',
|
|
58
|
+
// width: 120,
|
|
59
|
+
// dataIndex: 'totalBusiStockAmount',
|
|
60
|
+
// key: 'totalBusiStockAmount',
|
|
61
|
+
// },
|
|
62
|
+
// ],
|
|
63
|
+
// },
|
|
64
|
+
// {
|
|
65
|
+
// title: '库存总计1',
|
|
66
|
+
// children: [
|
|
67
|
+
// {
|
|
68
|
+
// title: '财务库存数量',
|
|
69
|
+
// width: 120,
|
|
70
|
+
// dataIndex: 'totalFinanceAvailQuantity',
|
|
71
|
+
// key: 'totalFinanceAvailQuantity',
|
|
72
|
+
// render: (text) => 1,
|
|
73
|
+
// },
|
|
74
|
+
// {
|
|
75
|
+
// title: '业务库存数量',
|
|
76
|
+
// width: 120,
|
|
77
|
+
// dataIndex: 'totalBusiAvailQuantity',
|
|
78
|
+
// key: 'totalBusiAvailQuantity',
|
|
79
|
+
// render: (text) => 2,
|
|
80
|
+
// },
|
|
81
|
+
// {
|
|
82
|
+
// title: '财务库存金额(不含税)',
|
|
83
|
+
// width: 120,
|
|
84
|
+
// dataIndex: 'totalFinanceStockAmount',
|
|
85
|
+
// key: 'totalFinanceStockAmount',
|
|
86
|
+
// },
|
|
87
|
+
// {
|
|
88
|
+
// title: '业务库存金额(不含税)',
|
|
89
|
+
// width: 120,
|
|
90
|
+
// dataIndex: 'totalBusiStockAmount',
|
|
91
|
+
// key: 'totalBusiStockAmount',
|
|
92
|
+
// },
|
|
93
|
+
// ],
|
|
94
|
+
// },
|
|
95
|
+
// {
|
|
96
|
+
// title: '测试2',
|
|
97
|
+
// width: 100,
|
|
98
|
+
// dataIndex: 'test2',
|
|
99
|
+
// key: 'test2',
|
|
100
|
+
// },
|
|
101
|
+
// {
|
|
102
|
+
// title: '测试3',
|
|
103
|
+
// width: 100,
|
|
104
|
+
// dataIndex: 'test3',
|
|
105
|
+
// key: 'test3',
|
|
106
|
+
// },
|
|
107
|
+
// {
|
|
108
|
+
// title: '测试4',
|
|
109
|
+
// width: 100,
|
|
110
|
+
// dataIndex: 'test4',
|
|
111
|
+
// key: 'test4',
|
|
112
|
+
// },
|
|
113
|
+
// {
|
|
114
|
+
// title: '测试5',
|
|
115
|
+
// width: 100,
|
|
116
|
+
// dataIndex: 'test5',
|
|
117
|
+
// key: 'test5',
|
|
118
|
+
// },
|
|
119
|
+
// {
|
|
120
|
+
// title: '测试6',
|
|
121
|
+
// width: 100,
|
|
122
|
+
// dataIndex: 'test6',
|
|
123
|
+
// key: 'test6',
|
|
124
|
+
// },
|
|
125
|
+
// {
|
|
126
|
+
// title: '测试7',
|
|
127
|
+
// width: 100,
|
|
128
|
+
// dataIndex: 'test7',
|
|
129
|
+
// key: 'test7',
|
|
130
|
+
// },
|
|
131
|
+
// {
|
|
132
|
+
// title: '测试8',
|
|
133
|
+
// width: 100,
|
|
134
|
+
// dataIndex: 'test8',
|
|
135
|
+
// key: 'test8',
|
|
136
|
+
// },
|
|
137
|
+
// {
|
|
138
|
+
// title: '测试9',
|
|
139
|
+
// width: 100,
|
|
140
|
+
// dataIndex: 'test9',
|
|
141
|
+
// key: 'test9',
|
|
142
|
+
// },
|
|
143
|
+
// {
|
|
144
|
+
// title: '测试10',
|
|
145
|
+
// width: 100,
|
|
146
|
+
// dataIndex: 'test10',
|
|
147
|
+
// key: 'test10',
|
|
148
|
+
// },
|
|
149
|
+
// {
|
|
150
|
+
// title: '测试11',
|
|
151
|
+
// width: 100,
|
|
152
|
+
// dataIndex: 'test11',
|
|
153
|
+
// key: 'test11',
|
|
154
|
+
// },
|
|
155
|
+
// ];
|
|
15
156
|
var dynamicKey = _a.dynamicKey;
|
|
16
|
-
var columns = [
|
|
17
|
-
{
|
|
18
|
-
title: '序号',
|
|
19
|
-
width: 62,
|
|
20
|
-
key: 'index',
|
|
21
|
-
render: function (_text, _record, index) { return "" + (index + 1); },
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
title: '测试11',
|
|
25
|
-
width: 100,
|
|
26
|
-
dataIndex: 'test1',
|
|
27
|
-
key: 'test1',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
title: '库存总计',
|
|
31
|
-
children: [
|
|
32
|
-
{
|
|
33
|
-
title: '财务库存数量',
|
|
34
|
-
width: 120,
|
|
35
|
-
dataIndex: 'totalFinanceAvailQuantity',
|
|
36
|
-
key: 'totalFinanceAvailQuantity',
|
|
37
|
-
render: function (text, record, index) {
|
|
38
|
-
if (index % 2 === 0) {
|
|
39
|
-
return "" + (index + 2);
|
|
40
|
-
}
|
|
41
|
-
return index + 1 + "/" + (index + 2);
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
title: '业务库存数量',
|
|
46
|
-
width: 120,
|
|
47
|
-
dataIndex: 'totalBusiAvailQuantity',
|
|
48
|
-
key: 'totalBusiAvailQuantity',
|
|
49
|
-
render: function (text) { return 2; },
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
title: '财务库存金额(不含税)',
|
|
53
|
-
width: 120,
|
|
54
|
-
dataIndex: 'totalFinanceStockAmount',
|
|
55
|
-
key: 'totalFinanceStockAmount',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
title: '业务库存金额(不含税)',
|
|
59
|
-
width: 120,
|
|
60
|
-
dataIndex: 'totalBusiStockAmount',
|
|
61
|
-
key: 'totalBusiStockAmount',
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
title: '库存总计1',
|
|
67
|
-
children: [
|
|
68
|
-
{
|
|
69
|
-
title: '财务库存数量',
|
|
70
|
-
width: 120,
|
|
71
|
-
dataIndex: 'totalFinanceAvailQuantity',
|
|
72
|
-
key: 'totalFinanceAvailQuantity',
|
|
73
|
-
render: function (text) { return 1; },
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
title: '业务库存数量',
|
|
77
|
-
width: 120,
|
|
78
|
-
dataIndex: 'totalBusiAvailQuantity',
|
|
79
|
-
key: 'totalBusiAvailQuantity',
|
|
80
|
-
render: function (text) { return 2; },
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
title: '财务库存金额(不含税)',
|
|
84
|
-
width: 120,
|
|
85
|
-
dataIndex: 'totalFinanceStockAmount',
|
|
86
|
-
key: 'totalFinanceStockAmount',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
title: '业务库存金额(不含税)',
|
|
90
|
-
width: 120,
|
|
91
|
-
dataIndex: 'totalBusiStockAmount',
|
|
92
|
-
key: 'totalBusiStockAmount',
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
title: '测试2',
|
|
98
|
-
width: 100,
|
|
99
|
-
dataIndex: 'test2',
|
|
100
|
-
key: 'test2',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
title: '测试3',
|
|
104
|
-
width: 100,
|
|
105
|
-
dataIndex: 'test3',
|
|
106
|
-
key: 'test3',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
title: '测试4',
|
|
110
|
-
width: 100,
|
|
111
|
-
dataIndex: 'test4',
|
|
112
|
-
key: 'test4',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
title: '测试5',
|
|
116
|
-
width: 100,
|
|
117
|
-
dataIndex: 'test5',
|
|
118
|
-
key: 'test5',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
title: '测试6',
|
|
122
|
-
width: 100,
|
|
123
|
-
dataIndex: 'test6',
|
|
124
|
-
key: 'test6',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
title: '测试7',
|
|
128
|
-
width: 100,
|
|
129
|
-
dataIndex: 'test7',
|
|
130
|
-
key: 'test7',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
title: '测试8',
|
|
134
|
-
width: 100,
|
|
135
|
-
dataIndex: 'test8',
|
|
136
|
-
key: 'test8',
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
title: '测试9',
|
|
140
|
-
width: 100,
|
|
141
|
-
dataIndex: 'test9',
|
|
142
|
-
key: 'test9',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
title: '测试10',
|
|
146
|
-
width: 100,
|
|
147
|
-
dataIndex: 'test10',
|
|
148
|
-
key: 'test10',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
title: '测试11',
|
|
152
|
-
width: 100,
|
|
153
|
-
dataIndex: 'test11',
|
|
154
|
-
key: 'test11',
|
|
155
|
-
},
|
|
156
|
-
];
|
|
157
157
|
var columns1 = [
|
|
158
158
|
{
|
|
159
159
|
title: '流程ID',
|
|
@@ -198,7 +198,7 @@ var BasicTable = function (_a) {
|
|
|
198
198
|
React.createElement("br", null),
|
|
199
199
|
React.createElement("b", null, "\u5217\u4F38\u7F29\uFF1B"),
|
|
200
200
|
"isResizableColumn\u5C5E\u6027\u9ED8\u8BA4\u4E3Atrue\uFF0C\u5982\u679C\u4E0D\u9700\u8981\u5217\u4F38\u7F29\u53EF\u4EE5\u4F20\u5165false"),
|
|
201
|
-
React.createElement(Table, { dataSource: dataSource, columns: columns, rowKey: "id", showColumnDynamic: true, showColumnDynamicKey: dynamicKey || 'symbol-id-1', rowSelection: {
|
|
201
|
+
React.createElement(Table, { isContextMenu: true, dataSource: dataSource, columns: columns, rowKey: "id", showColumnDynamic: true, showColumnDynamicKey: dynamicKey || 'symbol-id-1', rowSelection: {
|
|
202
202
|
type: 'checkbox',
|
|
203
203
|
onChange: function (selectedRowKeys, selectedRows) {
|
|
204
204
|
console.log(selectedRowKeys, selectedRows);
|
|
@@ -4,7 +4,7 @@ export interface IProps extends Omit<FormProps, 'form'> {
|
|
|
4
4
|
form?: FormInstance;
|
|
5
5
|
}
|
|
6
6
|
interface FormInstance extends AntFormInstance {
|
|
7
|
-
setDynamicList
|
|
7
|
+
setDynamicList?: (list: any[]) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const FormContext: React.Context<{
|
|
10
10
|
form?: FormInstance;
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import React, { createContext } from 'react';
|
|
23
|
+
import React, { createContext, useEffect, useRef } from 'react';
|
|
24
24
|
import { Form as AntForm } from 'antd';
|
|
25
25
|
import { FormProvider } from 'antd/lib/form/context';
|
|
26
26
|
import SearchContainer from '../business/SearchContainer/index';
|
|
@@ -67,18 +67,21 @@ function Form(props) {
|
|
|
67
67
|
function useForm(_form) {
|
|
68
68
|
var antForm = AntForm.useForm(_form)[0];
|
|
69
69
|
var dynamicList = React.useRef();
|
|
70
|
-
var form =
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
70
|
+
var form = useRef(antForm);
|
|
71
|
+
useEffect(function () {
|
|
72
|
+
form.current = __assign(__assign({}, antForm), { setDynamicList: setDynamicList, getFieldsValue: function (nameList, filterFunc) {
|
|
73
|
+
var values = __assign({}, antForm.getFieldsValue(nameList, filterFunc));
|
|
74
|
+
if (dynamicList.current) {
|
|
75
|
+
dynamicList.current.forEach(function (item) {
|
|
76
|
+
if (!item.show) {
|
|
77
|
+
values[item.name] = undefined;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
return values;
|
|
82
|
+
} });
|
|
83
|
+
}, [antForm]);
|
|
84
|
+
return [form.current];
|
|
82
85
|
function setDynamicList(list) {
|
|
83
86
|
dynamicList.current = list;
|
|
84
87
|
}
|
|
@@ -45,6 +45,7 @@ interface IProps<RecordType> {
|
|
|
45
45
|
onFillDownChangeRef?: any;
|
|
46
46
|
isHasFilterRef?: any;
|
|
47
47
|
filterSearchValuesRef?: any;
|
|
48
|
+
diffData?: any[];
|
|
48
49
|
}
|
|
49
50
|
export declare const getTableLayoutFullData: (columns: any, tableLayout: any) => any;
|
|
50
51
|
export declare const LOCALSTORAGE_KEY = "ztui_dynamic_table_key";
|
|
@@ -103,6 +103,11 @@ export var getTableLayoutFullData = function (columns, tableLayout) {
|
|
|
103
103
|
// 必须要用columns里面的来替换下 但是因为没有唯一键。所以只能通过title来做判断
|
|
104
104
|
var cColumn = columns.find(function (c) { return c.title === item.title; });
|
|
105
105
|
middleColumns_1.push(__assign(__assign({}, item), cColumn));
|
|
106
|
+
// 这是针对那些没有设置key 和 dataIndex的场景
|
|
107
|
+
}
|
|
108
|
+
else if (!item.children && !item.fixed) {
|
|
109
|
+
var cColumn = columns.find(function (c) { return c.title === item.title; });
|
|
110
|
+
middleColumns_1.push(__assign(__assign({}, item), cColumn));
|
|
106
111
|
}
|
|
107
112
|
// 如果没有key 或者dataIndex 则说明该值不应该存在
|
|
108
113
|
// return {
|
|
@@ -271,7 +276,7 @@ export function setDynamicKey(dynamicStorageKey, value, options) {
|
|
|
271
276
|
}
|
|
272
277
|
}
|
|
273
278
|
function getNewColumns(basicConfig, editableConfig, dynamicConfig, otherConfig) {
|
|
274
|
-
var columns = basicConfig.columns, newColumnsRef = basicConfig.newColumnsRef, showColumnDynamic = basicConfig.showColumnDynamic, showColumnDynamicKey = basicConfig.showColumnDynamicKey, configInfo = basicConfig.configInfo, currentDataSource = basicConfig.currentDataSource, preDataSource = basicConfig.preDataSource, rowKey = basicConfig.rowKey, dataSourceRef = basicConfig.dataSourceRef, expandableChildrenColumnName = basicConfig.expandableChildrenColumnName, upDateColumnsRef = basicConfig.upDateColumnsRef, setUpDateColumnsRef = basicConfig.setUpDateColumnsRef, isUpDateColumnsRef = basicConfig.isUpDateColumnsRef, setIsUpDateColumnsRef = basicConfig.setIsUpDateColumnsRef, isHasFilterRef = basicConfig.isHasFilterRef;
|
|
279
|
+
var columns = basicConfig.columns, newColumnsRef = basicConfig.newColumnsRef, showColumnDynamic = basicConfig.showColumnDynamic, showColumnDynamicKey = basicConfig.showColumnDynamicKey, configInfo = basicConfig.configInfo, currentDataSource = basicConfig.currentDataSource, preDataSource = basicConfig.preDataSource, rowKey = basicConfig.rowKey, dataSourceRef = basicConfig.dataSourceRef, expandableChildrenColumnName = basicConfig.expandableChildrenColumnName, upDateColumnsRef = basicConfig.upDateColumnsRef, setUpDateColumnsRef = basicConfig.setUpDateColumnsRef, isUpDateColumnsRef = basicConfig.isUpDateColumnsRef, setIsUpDateColumnsRef = basicConfig.setIsUpDateColumnsRef, isHasFilterRef = basicConfig.isHasFilterRef, diffData = basicConfig.diffData;
|
|
275
280
|
var onEditableSave = editableConfig.onEditableSave, onTableChange = editableConfig.onTableChange, currentPage = editableConfig.currentPage, onFillDownChangeRef = editableConfig.onFillDownChangeRef;
|
|
276
281
|
var ColumnDynamicCom = dynamicConfig.ColumnDynamicCom, DelAllCom = dynamicConfig.DelAllCom, onAddAndDelHandleMemo = dynamicConfig.onAddAndDelHandleMemo, onAddAndDelHandle = dynamicConfig.onAddAndDelHandle, hideAddIcon = dynamicConfig.hideAddIcon, addIconText = dynamicConfig.addIconText, hideDelIcon = dynamicConfig.hideDelIcon, delIconText = dynamicConfig.delIconText;
|
|
277
282
|
var copyByKey = otherConfig.copyByKey, myCatchColumns = otherConfig.myCatchColumns, customSortHandle = otherConfig.customSortHandle, customOrder = otherConfig.customOrder, setCustomOrder = otherConfig.setCustomOrder, isSort = otherConfig.isSort, handleSearch = otherConfig.handleSearch, handleReset = otherConfig.handleReset, searchInput = otherConfig.searchInput;
|
|
@@ -533,6 +538,22 @@ function getNewColumns(basicConfig, editableConfig, dynamicConfig, otherConfig)
|
|
|
533
538
|
};
|
|
534
539
|
}
|
|
535
540
|
}
|
|
541
|
+
if (diffData) {
|
|
542
|
+
var onCell_1 = _column.onCell;
|
|
543
|
+
_column.onCell = function (record, index) {
|
|
544
|
+
var attribute = onCell_1 ? onCell_1(record, index) : {};
|
|
545
|
+
var key = _column.key;
|
|
546
|
+
if (index !== undefined &&
|
|
547
|
+
key !== undefined &&
|
|
548
|
+
diffData.length > index &&
|
|
549
|
+
record[key] !== diffData[index][key]) {
|
|
550
|
+
return __assign(__assign({}, attribute), { style: {
|
|
551
|
+
color: 'red',
|
|
552
|
+
} });
|
|
553
|
+
}
|
|
554
|
+
return attribute;
|
|
555
|
+
};
|
|
556
|
+
}
|
|
536
557
|
});
|
|
537
558
|
if (showColumnDynamic) {
|
|
538
559
|
// 如果需要展示动态列
|
|
@@ -577,7 +598,7 @@ function getNewColumns(basicConfig, editableConfig, dynamicConfig, otherConfig)
|
|
|
577
598
|
};
|
|
578
599
|
}
|
|
579
600
|
function useColumns(props) {
|
|
580
|
-
var columns = props.columns, hiddenColumnDynamicIcon = props.hiddenColumnDynamicIcon, showColumnDynamic = props.showColumnDynamic, showColumnDynamicKey = props.showColumnDynamicKey, onAddAndDelHandle = props.onAddAndDelHandle, hideAddIcon = props.hideAddIcon, showDelAllBtn = props.showDelAllBtn, delAllChange = props.delAllChange, addIconText = props.addIconText, hideDelIcon = props.hideDelIcon, delIconText = props.delIconText, showDynamicHandle = props.showDynamicHandle, onEditableSave = props.onEditableSave, configInfo = props.configInfo, copyByKey = props.copyByKey, onTableChange = props.onTableChange, currentPage = props.currentPage, currentDataSource = props.currentDataSource, preDataSource = props.preDataSource, rowKey = props.rowKey, dataSourceRef = props.dataSourceRef, expandableChildrenColumnName = props.expandableChildrenColumnName, customSortHandle = props.customSortHandle, customOrder = props.customOrder, setCustomOrder = props.setCustomOrder, isSort = props.isSort, onFillDownChangeRef = props.onFillDownChangeRef, isHasFilterRef = props.isHasFilterRef, filterSearchValuesRef = props.filterSearchValuesRef;
|
|
601
|
+
var columns = props.columns, hiddenColumnDynamicIcon = props.hiddenColumnDynamicIcon, showColumnDynamic = props.showColumnDynamic, showColumnDynamicKey = props.showColumnDynamicKey, onAddAndDelHandle = props.onAddAndDelHandle, hideAddIcon = props.hideAddIcon, showDelAllBtn = props.showDelAllBtn, delAllChange = props.delAllChange, addIconText = props.addIconText, hideDelIcon = props.hideDelIcon, delIconText = props.delIconText, showDynamicHandle = props.showDynamicHandle, onEditableSave = props.onEditableSave, configInfo = props.configInfo, copyByKey = props.copyByKey, onTableChange = props.onTableChange, currentPage = props.currentPage, currentDataSource = props.currentDataSource, preDataSource = props.preDataSource, rowKey = props.rowKey, dataSourceRef = props.dataSourceRef, expandableChildrenColumnName = props.expandableChildrenColumnName, customSortHandle = props.customSortHandle, customOrder = props.customOrder, setCustomOrder = props.setCustomOrder, isSort = props.isSort, onFillDownChangeRef = props.onFillDownChangeRef, isHasFilterRef = props.isHasFilterRef, filterSearchValuesRef = props.filterSearchValuesRef, diffData = props.diffData;
|
|
581
602
|
var newColumnsRef = useRef();
|
|
582
603
|
var _a = useAsyncSetValue(columns), upDateColumnsRef = _a[0], setUpDateColumnsRef = _a[1];
|
|
583
604
|
var _b = useAsyncSetValue(false), isUpDateColumnsRef = _b[0], setIsUpDateColumnsRef = _b[1];
|
|
@@ -636,6 +657,7 @@ function useColumns(props) {
|
|
|
636
657
|
isUpDateColumnsRef: isUpDateColumnsRef,
|
|
637
658
|
setIsUpDateColumnsRef: setIsUpDateColumnsRef,
|
|
638
659
|
isHasFilterRef: isHasFilterRef,
|
|
660
|
+
diffData: diffData,
|
|
639
661
|
}, {
|
|
640
662
|
onEditableSave: onEditableSave,
|
|
641
663
|
onTableChange: onTableChange,
|
|
@@ -127,7 +127,7 @@ export function usePrevious(value) {
|
|
|
127
127
|
function Table(props) {
|
|
128
128
|
var _this = this;
|
|
129
129
|
var _a, _b;
|
|
130
|
-
var className = props.className, scroll = props.scroll, _c = props.pagination, pagination = _c === void 0 ? false : _c, _d = props.bordered, bordered = _d === void 0 ? true : _d, _columns = props.columns, initColumns = props.initColumns, dataSource = props.dataSource, onAddAndDelHandle = props.onAddAndDelHandle, hideAddIcon = props.hideAddIcon, addIconText = props.addIconText, hideDelIcon = props.hideDelIcon, showDelAllBtn = props.showDelAllBtn, delAllChange = props.delAllChange, delIconText = props.delIconText, hiddenColumnDynamicIcon = props.hiddenColumnDynamicIcon, showColumnDynamic = props.showColumnDynamic, showColumnDynamicKey = props.showColumnDynamicKey, summaryConfig = props.summaryConfig, summaryFixed = props.summaryFixed, summary = props.summary, onMoveRow = props.onMoveRow, onEditableSave = props.onEditableSave, onDynamicChange = props.onDynamicChange, _e = props.isResizableColumn, isResizableColumn = _e === void 0 ? true : _e, configInfo = props.configInfo, tableHandleRef = props.tableHandleRef, tableName = props.tableName, isFlex = props.isFlex, onTableChange = props.onTableChange, rowSelection = props.rowSelection, showInnerPagination = props.showInnerPagination, defaultInnerPageSize = props.defaultInnerPageSize, virtualTableKey = props.virtualTableKey, _f = props.isSort, isSort = _f === void 0 ? true : _f, onSortChange = props.onSortChange, onFillDownChange = props.onFillDownChange, isInitSaveColumnDynamic = props.isInitSaveColumnDynamic, _g = props.isAutoClearSort, isAutoClearSort = _g === void 0 ? true : _g, isHeaderTitleWrap = props.isHeaderTitleWrap, isExternalSort = props.isExternalSort, onRow = props.onRow, isContextMenu = props.isContextMenu, restProps = __rest(props, ["className", "scroll", "pagination", "bordered", "columns", "initColumns", "dataSource", "onAddAndDelHandle", "hideAddIcon", "addIconText", "hideDelIcon", "showDelAllBtn", "delAllChange", "delIconText", "hiddenColumnDynamicIcon", "showColumnDynamic", "showColumnDynamicKey", "summaryConfig", "summaryFixed", "summary", "onMoveRow", "onEditableSave", "onDynamicChange", "isResizableColumn", "configInfo", "tableHandleRef", "tableName", "isFlex", "onTableChange", "rowSelection", "showInnerPagination", "defaultInnerPageSize", "virtualTableKey", "isSort", "onSortChange", "onFillDownChange", "isInitSaveColumnDynamic", "isAutoClearSort", "isHeaderTitleWrap", "isExternalSort", "onRow", "isContextMenu"]);
|
|
130
|
+
var className = props.className, scroll = props.scroll, _c = props.pagination, pagination = _c === void 0 ? false : _c, _d = props.bordered, bordered = _d === void 0 ? true : _d, _columns = props.columns, initColumns = props.initColumns, dataSource = props.dataSource, onAddAndDelHandle = props.onAddAndDelHandle, hideAddIcon = props.hideAddIcon, addIconText = props.addIconText, hideDelIcon = props.hideDelIcon, showDelAllBtn = props.showDelAllBtn, delAllChange = props.delAllChange, delIconText = props.delIconText, hiddenColumnDynamicIcon = props.hiddenColumnDynamicIcon, showColumnDynamic = props.showColumnDynamic, showColumnDynamicKey = props.showColumnDynamicKey, summaryConfig = props.summaryConfig, summaryFixed = props.summaryFixed, summary = props.summary, onMoveRow = props.onMoveRow, onEditableSave = props.onEditableSave, onDynamicChange = props.onDynamicChange, _e = props.isResizableColumn, isResizableColumn = _e === void 0 ? true : _e, configInfo = props.configInfo, tableHandleRef = props.tableHandleRef, tableName = props.tableName, isFlex = props.isFlex, onTableChange = props.onTableChange, rowSelection = props.rowSelection, showInnerPagination = props.showInnerPagination, defaultInnerPageSize = props.defaultInnerPageSize, virtualTableKey = props.virtualTableKey, _f = props.isSort, isSort = _f === void 0 ? true : _f, onSortChange = props.onSortChange, onFillDownChange = props.onFillDownChange, isInitSaveColumnDynamic = props.isInitSaveColumnDynamic, _g = props.isAutoClearSort, isAutoClearSort = _g === void 0 ? true : _g, isHeaderTitleWrap = props.isHeaderTitleWrap, isExternalSort = props.isExternalSort, onRow = props.onRow, isContextMenu = props.isContextMenu, diffData = props.diffData, restProps = __rest(props, ["className", "scroll", "pagination", "bordered", "columns", "initColumns", "dataSource", "onAddAndDelHandle", "hideAddIcon", "addIconText", "hideDelIcon", "showDelAllBtn", "delAllChange", "delIconText", "hiddenColumnDynamicIcon", "showColumnDynamic", "showColumnDynamicKey", "summaryConfig", "summaryFixed", "summary", "onMoveRow", "onEditableSave", "onDynamicChange", "isResizableColumn", "configInfo", "tableHandleRef", "tableName", "isFlex", "onTableChange", "rowSelection", "showInnerPagination", "defaultInnerPageSize", "virtualTableKey", "isSort", "onSortChange", "onFillDownChange", "isInitSaveColumnDynamic", "isAutoClearSort", "isHeaderTitleWrap", "isExternalSort", "onRow", "isContextMenu", "diffData"]);
|
|
131
131
|
// 如果开启了表格列过滤
|
|
132
132
|
var isHasFilterRef = useRef(false);
|
|
133
133
|
var onChange = restProps.onChange;
|
|
@@ -406,6 +406,7 @@ function Table(props) {
|
|
|
406
406
|
isSort: isSort,
|
|
407
407
|
onFillDownChangeRef: onFillDownChangeRef,
|
|
408
408
|
filterSearchValuesRef: filterSearchValuesRef,
|
|
409
|
+
diffData: diffData,
|
|
409
410
|
}), newColumns = _m.newColumns, dynamicColumns = _m.dynamicColumns, refreshColumnsHandle = _m.refreshColumnsHandle;
|
|
410
411
|
useEffect(function () {
|
|
411
412
|
if (isInitSaveColumnDynamic && showColumnDynamicKey) {
|
|
@@ -45,7 +45,8 @@ var SearchLeft = function (_a) {
|
|
|
45
45
|
var form = useContext(FormContext).form;
|
|
46
46
|
// 绑定自定义配置类型
|
|
47
47
|
useEffect(function () {
|
|
48
|
-
|
|
48
|
+
var _a;
|
|
49
|
+
(_a = form === null || form === void 0 ? void 0 : form.setDynamicList) === null || _a === void 0 ? void 0 : _a.call(form, dynamicList);
|
|
49
50
|
}, [form, dynamicList]);
|
|
50
51
|
/** 表单容器Ref */
|
|
51
52
|
var containerRef = useRef(null);
|
|
@@ -48,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
import React, { memo, useState, useRef, useEffect } from 'react';
|
|
49
49
|
import ElectronSignatures from '../index';
|
|
50
50
|
import request from '../../../request';
|
|
51
|
-
import { oldFileList } from './data';
|
|
51
|
+
import { oldFileList, newFileList } from './data';
|
|
52
52
|
// const qunjAddressList = [
|
|
53
53
|
// { id: '1', name: '杭州' },
|
|
54
54
|
// { id: '2', name: '长沙' },
|
|
@@ -56,58 +56,100 @@ import { oldFileList } from './data';
|
|
|
56
56
|
var Demo = function () {
|
|
57
57
|
var electronHandleRef = useRef();
|
|
58
58
|
var _a = useState(null), params = _a[0], setParams = _a[1];
|
|
59
|
-
var _b = useState(null),
|
|
59
|
+
var _b = useState(null), setParams1 = _b[1];
|
|
60
60
|
useEffect(function () {
|
|
61
61
|
setTimeout(function () {
|
|
62
|
+
setParams({
|
|
63
|
+
canEdit: 0,
|
|
64
|
+
needDg: 0,
|
|
65
|
+
needQys: 1,
|
|
66
|
+
needQj: 1,
|
|
67
|
+
// 测试数据1
|
|
68
|
+
// fileList: newFileList,
|
|
69
|
+
// deptId: '1514839441650700290',
|
|
70
|
+
// flowId: 'scm_order_logistics_finance',
|
|
71
|
+
// deptId: '1514838856750813185',
|
|
72
|
+
contractId: '3254355788760166727',
|
|
73
|
+
docAttachMap: '{"needYjzrr":true,"8822001570633116257":"3254355785937400132"}',
|
|
74
|
+
checkAttachIdList: ['8822001570633116257'],
|
|
75
|
+
documentIdList: ['3254355785937400132'],
|
|
76
|
+
// qunjAddressList,
|
|
77
|
+
// qunjAddress: { id: '1', name: '杭州' },
|
|
78
|
+
// qunjSeal: {
|
|
79
|
+
// vertifyCode: 800846,
|
|
80
|
+
// contranctNum: null,
|
|
81
|
+
// isTakeOut: 0,
|
|
82
|
+
// details: [
|
|
83
|
+
// {
|
|
84
|
+
// sealNo: 'YZ-2023-003',
|
|
85
|
+
// sealCount: 1,
|
|
86
|
+
// },
|
|
87
|
+
// ],
|
|
88
|
+
// },
|
|
89
|
+
electronicSealIdList: [
|
|
90
|
+
'2969500030189355150',
|
|
91
|
+
'2968818336338210853',
|
|
92
|
+
'2980019871597904544',
|
|
93
|
+
],
|
|
94
|
+
// flowStatus: 13,
|
|
95
|
+
// 测试数据1
|
|
96
|
+
fileList: newFileList,
|
|
97
|
+
// fileList: [],
|
|
98
|
+
deptId: '1514842546870112258',
|
|
99
|
+
flowId: 'scm_order_logistics_finance',
|
|
100
|
+
// contractId: null,
|
|
101
|
+
// docAttachMap: null,
|
|
102
|
+
// checkAttachIdList: [],
|
|
103
|
+
// documentIdList: [],
|
|
104
|
+
// electronicSealIdList: [],
|
|
105
|
+
// qunjAddress: {
|
|
106
|
+
// id: null,
|
|
107
|
+
// name: null,
|
|
108
|
+
// },
|
|
109
|
+
qunjAddress: { id: '1', name: '杭州' },
|
|
110
|
+
qunjSeal: {
|
|
111
|
+
vertifyCode: null,
|
|
112
|
+
contranctNum: null,
|
|
113
|
+
isTakeOut: 0,
|
|
114
|
+
details: [
|
|
115
|
+
{
|
|
116
|
+
sealNo: 'YZ-2023-003',
|
|
117
|
+
sealCount: 1,
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
flowStatus: 1,
|
|
122
|
+
});
|
|
62
123
|
// setParams({
|
|
63
124
|
// canEdit: 1,
|
|
64
125
|
// needDg: 0,
|
|
65
126
|
// needQys: 1,
|
|
66
127
|
// needQj: 1,
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
//
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
//
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
// '2969500030189355150',
|
|
92
|
-
// '2968818336338210853',
|
|
93
|
-
// '2980019871597904544',
|
|
128
|
+
// deptId: '1514842376723976194',
|
|
129
|
+
// memberId: null,
|
|
130
|
+
// flowId: 'scm_external_documents_wf',
|
|
131
|
+
// contractId: null,
|
|
132
|
+
// caseId: null,
|
|
133
|
+
// docAttachMap: null,
|
|
134
|
+
// checkAttachIdList: null,
|
|
135
|
+
// documentIdList: null,
|
|
136
|
+
// fileList: [
|
|
137
|
+
// {
|
|
138
|
+
// attachId: '13152289422036100',
|
|
139
|
+
// attachName: '【国贸--快诺-一力】需求文档5.21.docx',
|
|
140
|
+
// attachTypeName: null,
|
|
141
|
+
// createTime: '2024-09-25 14:04:54',
|
|
142
|
+
// isCustomerReference: null,
|
|
143
|
+
// templateAttachId: null,
|
|
144
|
+
// templateAttachName: null,
|
|
145
|
+
// taskId: null,
|
|
146
|
+
// isWatermark: null,
|
|
147
|
+
// isElectronicSeal: null,
|
|
148
|
+
// isQunj: null,
|
|
149
|
+
// qunjAddress: null,
|
|
150
|
+
// qunjSeal: null,
|
|
151
|
+
// },
|
|
94
152
|
// ],
|
|
95
|
-
// // flowStatus: 13,
|
|
96
|
-
// // 测试数据1
|
|
97
|
-
// fileList: newFileList,
|
|
98
|
-
// // fileList: [],
|
|
99
|
-
// deptId: '1514842546870112258',
|
|
100
|
-
// flowId: 'scm_order_logistics_finance',
|
|
101
|
-
// // contractId: null,
|
|
102
|
-
// // docAttachMap: null,
|
|
103
|
-
// // checkAttachIdList: [],
|
|
104
|
-
// // documentIdList: [],
|
|
105
|
-
// // electronicSealIdList: [],
|
|
106
|
-
// // qunjAddress: {
|
|
107
|
-
// // id: null,
|
|
108
|
-
// // name: null,
|
|
109
|
-
// // },
|
|
110
|
-
// qunjAddress: { id: '1', name: '杭州' },
|
|
111
153
|
// qunjSeal: {
|
|
112
154
|
// vertifyCode: null,
|
|
113
155
|
// contranctNum: null,
|
|
@@ -119,52 +161,9 @@ var Demo = function () {
|
|
|
119
161
|
// },
|
|
120
162
|
// ],
|
|
121
163
|
// },
|
|
122
|
-
//
|
|
164
|
+
// electronicSealIdList: null,
|
|
165
|
+
// flowStatus: 15,
|
|
123
166
|
// });
|
|
124
|
-
setParams({
|
|
125
|
-
canEdit: 1,
|
|
126
|
-
needDg: 0,
|
|
127
|
-
needQys: 1,
|
|
128
|
-
needQj: 1,
|
|
129
|
-
deptId: '1514842376723976194',
|
|
130
|
-
memberId: null,
|
|
131
|
-
flowId: 'scm_external_documents_wf',
|
|
132
|
-
contractId: null,
|
|
133
|
-
caseId: null,
|
|
134
|
-
docAttachMap: null,
|
|
135
|
-
checkAttachIdList: null,
|
|
136
|
-
documentIdList: null,
|
|
137
|
-
fileList: [
|
|
138
|
-
{
|
|
139
|
-
attachId: '13152289422036100',
|
|
140
|
-
attachName: '【国贸--快诺-一力】需求文档5.21.docx',
|
|
141
|
-
attachTypeName: null,
|
|
142
|
-
createTime: '2024-09-25 14:04:54',
|
|
143
|
-
isCustomerReference: null,
|
|
144
|
-
templateAttachId: null,
|
|
145
|
-
templateAttachName: null,
|
|
146
|
-
taskId: null,
|
|
147
|
-
isWatermark: null,
|
|
148
|
-
isElectronicSeal: null,
|
|
149
|
-
isQunj: null,
|
|
150
|
-
qunjAddress: null,
|
|
151
|
-
qunjSeal: null,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
qunjSeal: {
|
|
155
|
-
vertifyCode: null,
|
|
156
|
-
contranctNum: null,
|
|
157
|
-
isTakeOut: 0,
|
|
158
|
-
details: [
|
|
159
|
-
{
|
|
160
|
-
sealNo: 'YZ-2023-003',
|
|
161
|
-
sealCount: 1,
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
},
|
|
165
|
-
electronicSealIdList: null,
|
|
166
|
-
flowStatus: 15,
|
|
167
|
-
});
|
|
168
167
|
}, 1000);
|
|
169
168
|
}, []);
|
|
170
169
|
useEffect(function () {
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import React, { memo, useRef } from 'react';
|
|
13
13
|
import { Button } from '../../../index.build';
|
|
14
|
+
import { Switch } from 'antd';
|
|
14
15
|
import { sealFileBatchDownload, preCanDownload, } from '../../Upload/utils';
|
|
15
16
|
/**
|
|
16
17
|
* 下载电子印章相关逻辑
|
|
@@ -75,8 +76,8 @@ var ElectronSealDownload = function (props) {
|
|
|
75
76
|
(record === null || record === void 0 ? void 0 : record[fmsIsElectronicSeal]) + '' === '1'
|
|
76
77
|
? '下载三签件'
|
|
77
78
|
: '下载双签件')) : null,
|
|
78
|
-
(isElectronicSeal || isDoubleElectronicSeal) &&
|
|
79
|
-
|
|
80
|
-
: null));
|
|
79
|
+
(isElectronicSeal || isDoubleElectronicSeal) &&
|
|
80
|
+
flowStatus + '' !== '50' ? (React.createElement("div", null,
|
|
81
|
+
React.createElement(Switch, { disabled: true, checked: true }))) : null));
|
|
81
82
|
};
|
|
82
83
|
export default memo(ElectronSealDownload);
|
|
@@ -20,7 +20,9 @@ import { onlyQunjAttachId, currentRecordIsOnlyQunj } from '../utils';
|
|
|
20
20
|
import dayjs from 'dayjs';
|
|
21
21
|
// 创建附件的clomuns
|
|
22
22
|
export default function useFileColumns(options) {
|
|
23
|
-
var records = options.records, dataTypeSort = options.dataTypeSort, allData = options.allData, isShowFileUpload = options.isShowFileUpload, apiBaseUrl = options.apiBaseUrl, fileBaseUrl = options.fileBaseUrl, firstDataType = options.firstDataType,
|
|
23
|
+
var records = options.records, dataTypeSort = options.dataTypeSort, allData = options.allData, isShowFileUpload = options.isShowFileUpload, apiBaseUrl = options.apiBaseUrl, fileBaseUrl = options.fileBaseUrl, firstDataType = options.firstDataType,
|
|
24
|
+
// fileUploadProps,
|
|
25
|
+
onValueChange = options.onValueChange, onFileTypeChangeGetItem = options.onFileTypeChangeGetItem, getCreateTimeHand = options.getCreateTimeHand, isSingleQj = options.isSingleQj, justNeedQj = options.justNeedQj, setJustNeedQj = options.setJustNeedQj, isShowFileType = options.isShowFileType, currentIsEditMemo = options.currentIsEditMemo, isDeleteAllFileWhenJustUseQj = options.isDeleteAllFileWhenJustUseQj, isControlNeedQys = options.isControlNeedQys;
|
|
24
26
|
var _a = allData[firstDataType] || {},
|
|
25
27
|
// records: sameTypeRecords,
|
|
26
28
|
setSameTypeRecords = _a.setRecords, onClearElectronListData = _a.onClearElectronListData, onClearElectronSetting = _a.onClearElectronSetting,
|
|
@@ -31,7 +31,7 @@ var QunjCheck = function (props) {
|
|
|
31
31
|
var qunjList = props.qunjList, currentQunjSeal = props.currentQunjSeal, currentQunjAddress = props.currentQunjAddress, onQunjSealSingleChange = props.onQunjSealSingleChange, onQunjAddressSingleChange = props.onQunjAddressSingleChange, isContranctNum = props.isContranctNum, isQunjAddress = props.isQunjAddress, resetProps = __rest(props, ["qunjList", "currentQunjSeal", "currentQunjAddress", "onQunjSealSingleChange", "onQunjAddressSingleChange", "isContranctNum", "isQunjAddress"]);
|
|
32
32
|
var _a = useState(), visible = _a[0], setVisible = _a[1];
|
|
33
33
|
return (React.createElement(React.Fragment, null,
|
|
34
|
-
React.createElement(Switch, __assign({}, resetProps)),
|
|
34
|
+
resetProps.disabled ? (resetProps.checked ? (React.createElement(Switch, __assign({}, resetProps))) : null) : (React.createElement(Switch, __assign({}, resetProps))),
|
|
35
35
|
resetProps.checked && !resetProps.disabled ? (React.createElement("div", { style: { marginTop: 4 } },
|
|
36
36
|
React.createElement(Button, { type: "link", onClick: function () { return setVisible(true); } }, "\u5370\u7AE0\u6307\u5B9A"))) : null,
|
|
37
37
|
React.createElement(Modal, { title: "\u7FA4\u6770\u5370\u7AE0", loading: false, visible: visible, onCancel: function () { return setVisible(false); }, getContainer: false, footer: null },
|
package/dist/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6I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