@hzab/list-render 1.10.0-beta7 → 1.10.0
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/CHANGELOG.md +244 -240
- package/README.md +587 -587
- package/package.json +66 -66
- package/src/components/Formily/FormilyEditTable.tsx +252 -252
- package/src/list-render.jsx +511 -509
- package/src/table-render/index.jsx +443 -443
- package/src/table-render/index.less +97 -97
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
.table-render-wrap {
|
|
2
|
-
.table-render-wrap-header {
|
|
3
|
-
padding: 0 12px;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: flex-end;
|
|
6
|
-
align-items: center;
|
|
7
|
-
margin-bottom: 12px;
|
|
8
|
-
|
|
9
|
-
.table-filter {
|
|
10
|
-
font-size: 16px;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
|
|
13
|
-
.table-filter-icon {
|
|
14
|
-
margin: 0 4px 0 10px;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.inline-block-max-w {
|
|
21
|
-
display: inline-block;
|
|
22
|
-
max-width: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.col-title-tooltip-icon {
|
|
26
|
-
margin-left: 8px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.table-render {
|
|
30
|
-
border-top: 1px solid #f0f0f0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.table-cell-ellipsis {
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
text-overflow: ellipsis;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.editable-table-cell {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
.ant-formily-item {
|
|
43
|
-
margin-bottom: 0;
|
|
44
|
-
}
|
|
45
|
-
.table-cell-edit-icon {
|
|
46
|
-
margin-left: 8px;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
color: var(--ant-primary-color, #1890ff);
|
|
49
|
-
opacity: 0;
|
|
50
|
-
}
|
|
51
|
-
.cell-editing-actions {
|
|
52
|
-
display: inline-block;
|
|
53
|
-
.table-cell-confirm-icon,
|
|
54
|
-
.table-cell-cancel-icon {
|
|
55
|
-
margin-left: 12px;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
}
|
|
58
|
-
.table-cell-confirm-icon {
|
|
59
|
-
color: var(--ant-primary-color, #1890ff);
|
|
60
|
-
}
|
|
61
|
-
.table-cell-cancel-icon {
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
&:hover {
|
|
65
|
-
.table-cell-edit-icon {
|
|
66
|
-
opacity: 1;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.row-dragging {
|
|
73
|
-
background: #fff;
|
|
74
|
-
border: 1px solid #ccc;
|
|
75
|
-
display: flex;
|
|
76
|
-
justify-content: space-between;
|
|
77
|
-
align-items: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.row-dragging td {
|
|
81
|
-
padding: 16px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.row-dragging .drag-visible {
|
|
85
|
-
visibility: visible;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.table-popover-content {
|
|
89
|
-
max-width: 400px;
|
|
90
|
-
display: flex;
|
|
91
|
-
flex-direction: column;
|
|
92
|
-
|
|
93
|
-
.ant-checkbox-wrapper {
|
|
94
|
-
margin-bottom: 8px;
|
|
95
|
-
margin-left: 0 !important;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
1
|
+
.table-render-wrap {
|
|
2
|
+
.table-render-wrap-header {
|
|
3
|
+
padding: 0 12px;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: flex-end;
|
|
6
|
+
align-items: center;
|
|
7
|
+
margin-bottom: 12px;
|
|
8
|
+
|
|
9
|
+
.table-filter {
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
|
|
13
|
+
.table-filter-icon {
|
|
14
|
+
margin: 0 4px 0 10px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.inline-block-max-w {
|
|
21
|
+
display: inline-block;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.col-title-tooltip-icon {
|
|
26
|
+
margin-left: 8px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.table-render {
|
|
30
|
+
border-top: 1px solid #f0f0f0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.table-cell-ellipsis {
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
text-overflow: ellipsis;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.editable-table-cell {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
.ant-formily-item {
|
|
43
|
+
margin-bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
.table-cell-edit-icon {
|
|
46
|
+
margin-left: 8px;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
color: var(--ant-primary-color, #1890ff);
|
|
49
|
+
opacity: 0;
|
|
50
|
+
}
|
|
51
|
+
.cell-editing-actions {
|
|
52
|
+
display: inline-block;
|
|
53
|
+
.table-cell-confirm-icon,
|
|
54
|
+
.table-cell-cancel-icon {
|
|
55
|
+
margin-left: 12px;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
58
|
+
.table-cell-confirm-icon {
|
|
59
|
+
color: var(--ant-primary-color, #1890ff);
|
|
60
|
+
}
|
|
61
|
+
.table-cell-cancel-icon {
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&:hover {
|
|
65
|
+
.table-cell-edit-icon {
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.row-dragging {
|
|
73
|
+
background: #fff;
|
|
74
|
+
border: 1px solid #ccc;
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.row-dragging td {
|
|
81
|
+
padding: 16px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.row-dragging .drag-visible {
|
|
85
|
+
visibility: visible;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.table-popover-content {
|
|
89
|
+
max-width: 400px;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
|
|
93
|
+
.ant-checkbox-wrapper {
|
|
94
|
+
margin-bottom: 8px;
|
|
95
|
+
margin-left: 0 !important;
|
|
96
|
+
}
|
|
97
|
+
}
|