@hzab/edit-table 0.1.8 → 0.1.11
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 +85 -28
- package/LICENSE +20 -20
- package/README.md +170 -170
- package/dist/index.cjs +1 -1
- package/dist/index.js +263 -216
- package/dist/index.js.map +1 -0
- package/dist/project-manifest.json +28 -0
- package/dist/project.json +8 -0
- package/package.json +7 -6
- package/src/Template/ExpandListTemplate/index.less +16 -18
- package/src/Template/ExpandListTemplate/index.tsx +58 -58
- package/src/Template/GetBaseTemplate.tsx +37 -37
- package/src/Template/NumberCellTemplate/index.less +5 -5
- package/src/Template/NumberCellTemplate/index.tsx +16 -16
- package/src/Template/TextCellTemplate/index.less +5 -5
- package/src/Template/TextCellTemplate/index.tsx +8 -8
- package/src/common/WidthWrapHoc.tsx +255 -242
- package/src/common/childAntdComponent.ts +24 -16
- package/src/common/utils.ts +295 -288
- package/src/index.less +98 -104
- package/src/index.tsx +489 -464
- package/src/vite-env.d.ts +1 -1
package/src/index.less
CHANGED
|
@@ -1,104 +1,98 @@
|
|
|
1
|
-
.grid-container {
|
|
2
|
-
overflow: auto;
|
|
3
|
-
position: relative;
|
|
4
|
-
max-height: 100vh;
|
|
5
|
-
padding-bottom: 16px;
|
|
6
|
-
|
|
7
|
-
.ant-input-affix-wrapper-focused,
|
|
8
|
-
.ant-input-affix-wrapper:focus {
|
|
9
|
-
box-shadow: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.rg-input {
|
|
13
|
-
border: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.rg-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
background
|
|
66
|
-
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.shadow-top-left-corner,
|
|
102
|
-
.shadow-top-right-corner {
|
|
103
|
-
z-index: 11 !important;
|
|
104
|
-
}
|
|
1
|
+
.grid-container {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
position: relative;
|
|
4
|
+
max-height: 100vh;
|
|
5
|
+
padding-bottom: 16px;
|
|
6
|
+
|
|
7
|
+
.ant-input-affix-wrapper-focused,
|
|
8
|
+
.ant-input-affix-wrapper:focus {
|
|
9
|
+
box-shadow: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.rg-input {
|
|
13
|
+
border: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ant-select {
|
|
17
|
+
width: 100% !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rg-header-cell,
|
|
21
|
+
.rg-cell {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
z-index: 2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// .rg-header-cell {
|
|
29
|
+
// z-index: 99;
|
|
30
|
+
// }
|
|
31
|
+
|
|
32
|
+
.rg-partial-area {
|
|
33
|
+
z-index: 3;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rg-cell {
|
|
37
|
+
padding: 0px !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.rg-cell-focus {
|
|
41
|
+
z-index: 2;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.rg-fill-handle {
|
|
45
|
+
z-index: 2;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.base-hoc {
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
z-index: 1;
|
|
56
|
+
padding: 4px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.base-hoc-edit {
|
|
60
|
+
background-color: #fff;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.validator-icon {
|
|
64
|
+
position: relative;
|
|
65
|
+
background: #fff;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rg-rowSelection-cell {
|
|
70
|
+
label {
|
|
71
|
+
justify-content: center;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.grid-container-empty {
|
|
76
|
+
height: 100%;
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.rg-pane-left,
|
|
83
|
+
.rg-pane-right {
|
|
84
|
+
z-index: 10 !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.custom-highlights-row {
|
|
88
|
+
background: #e9f8ff;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.rg-pane-top {
|
|
92
|
+
z-index: 9 !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.shadow-top-left-corner,
|
|
96
|
+
.shadow-top-right-corner {
|
|
97
|
+
z-index: 11 !important;
|
|
98
|
+
}
|