dcp-design-react 1.9.25 → 1.9.27
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/lib/hooks/useClickAway.d.ts +2 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en.js +5 -5
- package/lib/locale/lang/zh-cn.js +5 -5
- package/lib/table/src/table/types.d.ts +2 -1
- package/lib/table/style/area-select.less +29 -29
- package/lib/table/style/index.less +30 -30
- package/lib/table/style/table.less +360 -360
- package/package.json +1 -1
package/lib/locale/lang/en.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-06-19 08:46:00
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-07-26 10:21:48
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-06-19 08:46:00
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2024-07-26 10:21:48
|
|
6
6
|
*/
|
|
7
7
|
export default {
|
|
8
8
|
name: 'en',
|
package/lib/locale/lang/zh-cn.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-06-19 08:45:54
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-07-26 09:00:17
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-06-19 08:45:54
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2024-07-26 09:00:17
|
|
6
6
|
*/
|
|
7
7
|
export default {
|
|
8
8
|
name: 'zh-cn',
|
|
@@ -32,12 +32,13 @@ export type IClicked = [IRowKey, string] | [];
|
|
|
32
32
|
export type ICell = {
|
|
33
33
|
rowKey: IRowKey;
|
|
34
34
|
dataIndex: string;
|
|
35
|
+
cellValue: ValueOf<IRecord>;
|
|
35
36
|
};
|
|
36
37
|
export type IRowColSpan = {
|
|
37
38
|
rowSpan: number;
|
|
38
39
|
colSpan: number;
|
|
39
40
|
};
|
|
40
|
-
export type IMergedCell = ICell & IRowColSpan;
|
|
41
|
+
export type IMergedCell = Omit<ICell, 'cellValue'> & IRowColSpan;
|
|
41
42
|
export type IMergeCellItem = {
|
|
42
43
|
row: number;
|
|
43
44
|
col: number;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2024-07-23 09:27:27
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-07-26 08:39:21
|
|
6
|
-
*/
|
|
7
|
-
.@{prefix-table}--area-select {
|
|
8
|
-
position: static;
|
|
9
|
-
height: 0;
|
|
10
|
-
font-size: 0;
|
|
11
|
-
.checked-area {
|
|
12
|
-
border: 1px solid @--primary-5;
|
|
13
|
-
background-color: rgba(@--primary-2, 0.25);
|
|
14
|
-
position: absolute;
|
|
15
|
-
z-index: 2;
|
|
16
|
-
pointer-events: none;
|
|
17
|
-
}
|
|
18
|
-
.active-area {
|
|
19
|
-
border: 2px solid @--primary-5;
|
|
20
|
-
position: absolute;
|
|
21
|
-
z-index: 2;
|
|
22
|
-
pointer-events: none;
|
|
23
|
-
}
|
|
24
|
-
.context-menu {
|
|
25
|
-
position: absolute;
|
|
26
|
-
z-index: 3;
|
|
27
|
-
background-color: #fff;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2024-07-23 09:27:27
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2024-07-26 08:39:21
|
|
6
|
+
*/
|
|
7
|
+
.@{prefix-table}--area-select {
|
|
8
|
+
position: static;
|
|
9
|
+
height: 0;
|
|
10
|
+
font-size: 0;
|
|
11
|
+
.checked-area {
|
|
12
|
+
border: 1px solid @--primary-5;
|
|
13
|
+
background-color: rgba(@--primary-2, 0.25);
|
|
14
|
+
position: absolute;
|
|
15
|
+
z-index: 2;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
}
|
|
18
|
+
.active-area {
|
|
19
|
+
border: 2px solid @--primary-5;
|
|
20
|
+
position: absolute;
|
|
21
|
+
z-index: 2;
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
.context-menu {
|
|
25
|
+
position: absolute;
|
|
26
|
+
z-index: 3;
|
|
27
|
+
background-color: #fff;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2024-07-23 09:28:50
|
|
6
|
-
*/
|
|
7
|
-
@import './variable.less';
|
|
8
|
-
@import './toper.less';
|
|
9
|
-
@import './alert.less';
|
|
10
|
-
@import './full-screen.less';
|
|
11
|
-
@import './reload.less';
|
|
12
|
-
@import './print.less';
|
|
13
|
-
@import './import.less';
|
|
14
|
-
@import './export.less';
|
|
15
|
-
@import './clipboard.less';
|
|
16
|
-
@import './tollbox.less';
|
|
17
|
-
@import './select-collection.less';
|
|
18
|
-
@import './group-summary.less';
|
|
19
|
-
@import './super-search.less';
|
|
20
|
-
@import './fast-search.less';
|
|
21
|
-
@import './column-filter.less';
|
|
22
|
-
@import './table.less';
|
|
23
|
-
@import './header.less';
|
|
24
|
-
@import './body.less';
|
|
25
|
-
@import './footer.less';
|
|
26
|
-
@import './area-select.less';
|
|
27
|
-
@import './pager.less';
|
|
28
|
-
@import './empty.less';
|
|
29
|
-
@import './expandable.less';
|
|
30
|
-
@import './size.less';
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2024-07-23 09:28:50
|
|
6
|
+
*/
|
|
7
|
+
@import './variable.less';
|
|
8
|
+
@import './toper.less';
|
|
9
|
+
@import './alert.less';
|
|
10
|
+
@import './full-screen.less';
|
|
11
|
+
@import './reload.less';
|
|
12
|
+
@import './print.less';
|
|
13
|
+
@import './import.less';
|
|
14
|
+
@import './export.less';
|
|
15
|
+
@import './clipboard.less';
|
|
16
|
+
@import './tollbox.less';
|
|
17
|
+
@import './select-collection.less';
|
|
18
|
+
@import './group-summary.less';
|
|
19
|
+
@import './super-search.less';
|
|
20
|
+
@import './fast-search.less';
|
|
21
|
+
@import './column-filter.less';
|
|
22
|
+
@import './table.less';
|
|
23
|
+
@import './header.less';
|
|
24
|
+
@import './body.less';
|
|
25
|
+
@import './footer.less';
|
|
26
|
+
@import './area-select.less';
|
|
27
|
+
@import './pager.less';
|
|
28
|
+
@import './empty.less';
|
|
29
|
+
@import './expandable.less';
|
|
30
|
+
@import './size.less';
|