@vtx/components 3.1.190 → 3.1.191
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@webkit-scrollbar-width: 8px;
|
|
2
|
-
@webkit-scrollbar-height: 8px;
|
|
3
|
-
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
-
@webkit-scrollbar-thumb-color:
|
|
5
|
-
@webkit-scrollbar-thumb-radius: 4px;
|
|
6
|
-
@statistics-text-color: rgba(0, 0, 0, 0.65);
|
|
7
|
-
@table-row-odd: #f6f6f6;
|
|
1
|
+
@webkit-scrollbar-width: 8px;
|
|
2
|
+
@webkit-scrollbar-height: 8px;
|
|
3
|
+
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
+
@webkit-scrollbar-thumb-color: #c1c1c1;
|
|
5
|
+
@webkit-scrollbar-thumb-radius: 4px;
|
|
6
|
+
@statistics-text-color: rgba(0, 0, 0, 0.65);
|
|
7
|
+
@table-row-odd: #f6f6f6;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@webkit-scrollbar-width: 8px;
|
|
2
|
-
@webkit-scrollbar-height: 8px;
|
|
3
|
-
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
-
@webkit-scrollbar-thumb-color:
|
|
5
|
-
@webkit-scrollbar-thumb-radius: 4px;
|
|
1
|
+
@webkit-scrollbar-width: 8px;
|
|
2
|
+
@webkit-scrollbar-height: 8px;
|
|
3
|
+
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
+
@webkit-scrollbar-thumb-color: #c1c1c1;
|
|
5
|
+
@webkit-scrollbar-thumb-radius: 4px;
|
|
@@ -20,9 +20,15 @@
|
|
|
20
20
|
}
|
|
21
21
|
.vtx-datagrid-fit .ant-table-header::-webkit-scrollbar-thumb,
|
|
22
22
|
.vtx-datagrid-fit .ant-table-body::-webkit-scrollbar-thumb {
|
|
23
|
-
background-color:
|
|
23
|
+
background-color: #c1c1c1;
|
|
24
24
|
border-radius: 4px;
|
|
25
25
|
}
|
|
26
|
+
.vtx-datagrid-fit .ant-table-header::-webkit-scrollbar-thumb:hover,
|
|
27
|
+
.vtx-datagrid-fit .ant-table-body::-webkit-scrollbar-thumb:hover,
|
|
28
|
+
.vtx-datagrid-fit .ant-table-header::-webkit-scrollbar-thumb:active,
|
|
29
|
+
.vtx-datagrid-fit .ant-table-body::-webkit-scrollbar-thumb:active {
|
|
30
|
+
background-color: #7a7a7a;
|
|
31
|
+
}
|
|
26
32
|
.vtx-datagrid-fit .ant-table-header > table,
|
|
27
33
|
.vtx-datagrid-fit .ant-table-body > table {
|
|
28
34
|
min-height: 1px;
|
|
@@ -1,275 +1,278 @@
|
|
|
1
|
-
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
-
@import '../../style/themes/index';
|
|
3
|
-
|
|
4
|
-
@prefix-cls: vtx-datagrid;
|
|
5
|
-
|
|
6
|
-
.@{prefix-cls} {
|
|
7
|
-
position: relative;
|
|
8
|
-
width: 100%;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
|
|
11
|
-
&-fit {
|
|
12
|
-
height: 100%;
|
|
13
|
-
.ant-table-container {
|
|
14
|
-
border-left: none !important;
|
|
15
|
-
table > thead > tr th:first-child {
|
|
16
|
-
border-left: 1px solid @table-border-color;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.ant-table-body {
|
|
20
|
-
// overflow-y: auto !important;
|
|
21
|
-
}
|
|
22
|
-
.ant-table-header,
|
|
23
|
-
.ant-table-body {
|
|
24
|
-
&::-webkit-scrollbar {
|
|
25
|
-
width: @webkit-scrollbar-width;
|
|
26
|
-
height: @webkit-scrollbar-height;
|
|
27
|
-
background-color: @webkit-scrollbar-color;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&::-webkit-scrollbar-thumb {
|
|
31
|
-
background-color: @webkit-scrollbar-thumb-color;
|
|
32
|
-
border-radius: @webkit-scrollbar-thumb-radius;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
.ant-table-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
//
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
padding-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
//
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
&-message when(@theme=
|
|
163
|
-
color: @
|
|
164
|
-
}
|
|
165
|
-
&-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
&-toolbar-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
@import '../../style/themes/index';
|
|
3
|
+
|
|
4
|
+
@prefix-cls: vtx-datagrid;
|
|
5
|
+
|
|
6
|
+
.@{prefix-cls} {
|
|
7
|
+
position: relative;
|
|
8
|
+
width: 100%;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
|
|
11
|
+
&-fit {
|
|
12
|
+
height: 100%;
|
|
13
|
+
.ant-table-container {
|
|
14
|
+
border-left: none !important;
|
|
15
|
+
table > thead > tr th:first-child {
|
|
16
|
+
border-left: 1px solid @table-border-color;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.ant-table-body {
|
|
20
|
+
// overflow-y: auto !important;
|
|
21
|
+
}
|
|
22
|
+
.ant-table-header,
|
|
23
|
+
.ant-table-body {
|
|
24
|
+
&::-webkit-scrollbar {
|
|
25
|
+
width: @webkit-scrollbar-width;
|
|
26
|
+
height: @webkit-scrollbar-height;
|
|
27
|
+
background-color: @webkit-scrollbar-color;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&::-webkit-scrollbar-thumb {
|
|
31
|
+
background-color: @webkit-scrollbar-thumb-color;
|
|
32
|
+
border-radius: @webkit-scrollbar-thumb-radius;
|
|
33
|
+
&:hover,&:active {
|
|
34
|
+
background-color: #7a7a7a;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
> table {
|
|
38
|
+
min-height: 1px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.ant-table-tbody > tr {
|
|
42
|
+
&:nth-child(odd) {
|
|
43
|
+
background: @table-row-odd;
|
|
44
|
+
> td {
|
|
45
|
+
background: @table-row-odd !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
> td:first-child {
|
|
49
|
+
border-left: 1px solid @table-border-color;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
|
|
53
|
+
min-width: 5px !important;
|
|
54
|
+
}
|
|
55
|
+
.ant-table-pagination {
|
|
56
|
+
position: absolute;
|
|
57
|
+
right: 0;
|
|
58
|
+
bottom: 0;
|
|
59
|
+
}
|
|
60
|
+
.ant-spin-nested-loading {
|
|
61
|
+
height: 100%;
|
|
62
|
+
.ant-spin-container {
|
|
63
|
+
position: relative;
|
|
64
|
+
height: 100%;
|
|
65
|
+
.ant-table {
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
&-noFit {
|
|
72
|
+
.ant-table-tbody > tr {
|
|
73
|
+
&:nth-child(even) when(@theme=default) {
|
|
74
|
+
background: #f6f6f6;
|
|
75
|
+
> td {
|
|
76
|
+
background: #f6f6f6 !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.ant-table-container {
|
|
82
|
+
position: relative;
|
|
83
|
+
height: 100%;
|
|
84
|
+
}
|
|
85
|
+
// 固定列目前没有办法用细的滚动条
|
|
86
|
+
// .ant-table-has-fix-right {
|
|
87
|
+
// .ant-table-body {
|
|
88
|
+
// &::-webkit-scrollbar {
|
|
89
|
+
// width: 5px;
|
|
90
|
+
// height: 5px;
|
|
91
|
+
// }
|
|
92
|
+
// }
|
|
93
|
+
// }
|
|
94
|
+
// mac 和 windows下有差异,window chrome下滚动条宽度17px,mac chrome下15px
|
|
95
|
+
// &-userAgent-mac {
|
|
96
|
+
// .ant-table-has-fix-right {
|
|
97
|
+
// .ant-table-body {
|
|
98
|
+
// &::-webkit-scrollbar {
|
|
99
|
+
// width: 5px;
|
|
100
|
+
// height: 5px;
|
|
101
|
+
// }
|
|
102
|
+
// }
|
|
103
|
+
// }
|
|
104
|
+
// }
|
|
105
|
+
.ant-table-middle {
|
|
106
|
+
.ant-table-thead > tr > th {
|
|
107
|
+
padding-left: 12px !important;
|
|
108
|
+
padding-right: 12px !important;
|
|
109
|
+
}
|
|
110
|
+
.ant-table-tbody > tr > td {
|
|
111
|
+
padding-left: 12px !important;
|
|
112
|
+
padding-right: 12px !important;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.ant-table-tbody > tr.ant-table-row-selected > td {
|
|
116
|
+
// background: transparent !important;
|
|
117
|
+
border-color: @table-border-color !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ant-table-thead > tr > th when(@theme=default) {
|
|
121
|
+
// antd4.0 半透明会重叠
|
|
122
|
+
// background-color: fade(#1890ff, 8);
|
|
123
|
+
font-weight: bold;
|
|
124
|
+
background-color: rgba(237, 246, 255, 1);
|
|
125
|
+
}
|
|
126
|
+
.ant-table-tbody > tr {
|
|
127
|
+
// &:nth-child(even) when(@theme=default) {
|
|
128
|
+
// background: #f6f6f6;
|
|
129
|
+
// }
|
|
130
|
+
& > .ant-table-cell {
|
|
131
|
+
color: @text-color;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.ant-table-placeholder {
|
|
135
|
+
position: absolute;
|
|
136
|
+
top: 25%;
|
|
137
|
+
// top: auto;
|
|
138
|
+
right: 0;
|
|
139
|
+
// bottom: auto;
|
|
140
|
+
left: 0;
|
|
141
|
+
background-color: transparent;
|
|
142
|
+
border-top: none;
|
|
143
|
+
// height: 100%;
|
|
144
|
+
& > td.ant-table-cell {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
width: 100%;
|
|
149
|
+
height: 100%;
|
|
150
|
+
// border-right: @border-width-base @border-style-base @table-border-color;
|
|
151
|
+
// border-left: @border-width-base @border-style-base @table-border-color;
|
|
152
|
+
border: none;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
// fix: checkbox 选中时 固定列 最上面一层透明会 和下面重叠
|
|
157
|
+
// .ant-table-tbody > tr.ant-table-row-selected td {
|
|
158
|
+
// background: transparent;
|
|
159
|
+
// }
|
|
160
|
+
&-alert {
|
|
161
|
+
margin-bottom: 8px;
|
|
162
|
+
&-message when(@theme=default) {
|
|
163
|
+
color: fade(@black, 65%);
|
|
164
|
+
}
|
|
165
|
+
&-message when(@theme=dark) {
|
|
166
|
+
color: @text-color;
|
|
167
|
+
}
|
|
168
|
+
&-info-content > strong {
|
|
169
|
+
margin: 0 4px;
|
|
170
|
+
color: #13c2c2;
|
|
171
|
+
}
|
|
172
|
+
&-info-option {
|
|
173
|
+
margin-left: 10px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
&-nodata {
|
|
177
|
+
.ant-table-scroll {
|
|
178
|
+
overflow-y: hidden;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
&-toolbar {
|
|
182
|
+
display: table;
|
|
183
|
+
width: 100%;
|
|
184
|
+
margin: 16px 0;
|
|
185
|
+
color: @text-color;
|
|
186
|
+
}
|
|
187
|
+
&-toolbar-left,
|
|
188
|
+
&-toolbar-right {
|
|
189
|
+
display: inline-block;
|
|
190
|
+
display: table-cell;
|
|
191
|
+
vertical-align: middle;
|
|
192
|
+
}
|
|
193
|
+
&-toolbar-left {
|
|
194
|
+
color: @text-color;
|
|
195
|
+
font-size: 16px;
|
|
196
|
+
}
|
|
197
|
+
&-toolbar-right {
|
|
198
|
+
float: right;
|
|
199
|
+
}
|
|
200
|
+
&-toolbar-line {
|
|
201
|
+
width: 1px;
|
|
202
|
+
height: 14px;
|
|
203
|
+
display: inline-block;
|
|
204
|
+
vertical-align: middle;
|
|
205
|
+
background: #e8e8e8;
|
|
206
|
+
margin: 0 -2px 0 12px;
|
|
207
|
+
}
|
|
208
|
+
&-toolbar-setting-item {
|
|
209
|
+
display: inline-block;
|
|
210
|
+
margin-left: 16px;
|
|
211
|
+
color: @icon-color;
|
|
212
|
+
font-size: 16px;
|
|
213
|
+
vertical-align: middle;
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
color: #707070;
|
|
216
|
+
&:hover {
|
|
217
|
+
color: @icon-color-hover;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
&-column-setting-title {
|
|
221
|
+
height: 32px;
|
|
222
|
+
line-height: 32px;
|
|
223
|
+
a {
|
|
224
|
+
display: inline-block;
|
|
225
|
+
float: right;
|
|
226
|
+
vertical-align: middle;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
&-column-setting-checkbox-wrapper {
|
|
230
|
+
color: @text-color;
|
|
231
|
+
vertical-align: middle;
|
|
232
|
+
}
|
|
233
|
+
&-space-item {
|
|
234
|
+
display: inline-block;
|
|
235
|
+
vertical-align: middle;
|
|
236
|
+
}
|
|
237
|
+
.react-resizable {
|
|
238
|
+
position: relative;
|
|
239
|
+
background-clip: padding-box;
|
|
240
|
+
}
|
|
241
|
+
.react-resizable-handle {
|
|
242
|
+
position: absolute;
|
|
243
|
+
right: -5px;
|
|
244
|
+
bottom: 0;
|
|
245
|
+
z-index: 1;
|
|
246
|
+
width: 10px;
|
|
247
|
+
height: 100%;
|
|
248
|
+
cursor: col-resize;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&-column-setting {
|
|
252
|
+
&-title {
|
|
253
|
+
height: 32px;
|
|
254
|
+
line-height: 32px;
|
|
255
|
+
|
|
256
|
+
a {
|
|
257
|
+
display: inline-block;
|
|
258
|
+
float: right;
|
|
259
|
+
vertical-align: middle;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&-checkbox-wrapper {
|
|
264
|
+
color: @text-color;
|
|
265
|
+
vertical-align: middle;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&-list {
|
|
269
|
+
&-list-item {
|
|
270
|
+
display: flex;
|
|
271
|
+
|
|
272
|
+
&-title {
|
|
273
|
+
flex: 1;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
package/package.json
CHANGED
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vtx/components",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"description": "React components for Vortex",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"react",
|
|
7
|
-
"react-component"
|
|
8
|
-
],
|
|
9
|
-
"files": [
|
|
10
|
-
"lib"
|
|
11
|
-
],
|
|
12
|
-
"main": "lib/index.js",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"start": "dumi dev",
|
|
15
|
-
"build": "NODE_OPTIONS=--openssl-legacy-provider dumi build",
|
|
16
|
-
"compile": "gulp compile",
|
|
17
|
-
"lint": "npm run lint:script",
|
|
18
|
-
"lint:script": "eslint components --ext .js",
|
|
19
|
-
"lint:style": "stylelint components/**/*.less --syntax less",
|
|
20
|
-
"fix": "eslint --fix --ext .js,.jsx components && npm run style:fix",
|
|
21
|
-
"style:fix": "stylelint components/**/*.less --syntax less --fix",
|
|
22
|
-
"prettier": "prettier -c --write **/*",
|
|
23
|
-
"pretty-quick": "pretty-quick",
|
|
24
|
-
"pub": "npm publish --access=public",
|
|
25
|
-
"bump": "gulp bump --prerelease",
|
|
26
|
-
"release": "release-it --no-npm.publish",
|
|
27
|
-
"version": "npm run changelog && git add CHANGELOG.md",
|
|
28
|
-
"changelog": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0"
|
|
29
|
-
},
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "https://git.cloudhw.cn:3443/front-end/react-components.git"
|
|
33
|
-
},
|
|
34
|
-
"license": "ISC",
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://git.cloudhw.cn:3443/front-end/react-components/-/issues"
|
|
37
|
-
},
|
|
38
|
-
"homepage": "https://git.cloudhw.cn:3443/front-end/react-components.git",
|
|
39
|
-
"release-it": {
|
|
40
|
-
"git": {
|
|
41
|
-
"commitMessage": "chore: release v${version}"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"changelog": {
|
|
45
|
-
"emojis": true,
|
|
46
|
-
"authorName": true
|
|
47
|
-
},
|
|
48
|
-
"overrides": {
|
|
49
|
-
"react-easy-crop": "5.5.3"
|
|
50
|
-
},
|
|
51
|
-
"resolutions": {
|
|
52
|
-
"react-easy-crop": "5.5.3"
|
|
53
|
-
},
|
|
54
|
-
"dependencies": {
|
|
55
|
-
"@ant-design/icons": "4.7.0",
|
|
56
|
-
"@vtx/map": "^1.2.37",
|
|
57
|
-
"@wangeditor/editor": "^5.1.21",
|
|
58
|
-
"@wangeditor/editor-for-react": "^1.0.5",
|
|
59
|
-
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
60
|
-
"proj4": "^2.20.8",
|
|
61
|
-
"@turf/turf": "^7.3.4",
|
|
62
|
-
"ahooks": "^3.1.5",
|
|
63
|
-
"antd": "4.23.0",
|
|
64
|
-
"antd-img-crop": "4.25.0",
|
|
65
|
-
"axios": "^0.21.1",
|
|
66
|
-
"braft-editor": "^2.3.9",
|
|
67
|
-
"braft-utils": "^3.0.12",
|
|
68
|
-
"classnames": "^2.2.6",
|
|
69
|
-
"lodash.clonedeep": "^4.5.0",
|
|
70
|
-
"lodash.debounce": "^4.0.8",
|
|
71
|
-
"lodash.difference": "^4.5.0",
|
|
72
|
-
"lodash.isequal": "^4.5.0",
|
|
73
|
-
"lodash.merge": "^4.6.2",
|
|
74
|
-
"md5": "^2.3.0",
|
|
75
|
-
"moment": "^2.29.1",
|
|
76
|
-
"rc-color-picker": "^1.2.6",
|
|
77
|
-
"react-resizable": "^1.11.1",
|
|
78
|
-
"signature_pad": "3.0.0-beta.4",
|
|
79
|
-
"viewerjs": "1.3.3",
|
|
80
|
-
"xgplayer": "2.18.3"
|
|
81
|
-
},
|
|
82
|
-
"peerDependencies": {
|
|
83
|
-
"@vtx/utils": "^1.0.15",
|
|
84
|
-
"antd-img-crop": "4.25.0",
|
|
85
|
-
"react": ">=16.12.0",
|
|
86
|
-
"react-dom": ">=16.12.0",
|
|
87
|
-
"react-easy-crop": "5.5.3"
|
|
88
|
-
},
|
|
89
|
-
"devDependencies": {
|
|
90
|
-
"@babel/cli": "^7.6.4",
|
|
91
|
-
"@babel/core": "^7.6.4",
|
|
92
|
-
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
93
|
-
"@babel/plugin-transform-runtime": "^7.6.2",
|
|
94
|
-
"@babel/preset-env": "^7.6.3",
|
|
95
|
-
"@babel/preset-react": "^7.6.3",
|
|
96
|
-
"@babel/runtime": "^7.6.3",
|
|
97
|
-
"@commitlint/cli": "^8.3.4",
|
|
98
|
-
"@commitlint/config-conventional": "^8.3.4",
|
|
99
|
-
"@umijs/plugin-locale": "^0.10.8",
|
|
100
|
-
"@vtx/utils": "^1.0.22",
|
|
101
|
-
"babel-eslint": "^10.1.0",
|
|
102
|
-
"babel-plugin-import": "^1.13.3",
|
|
103
|
-
"conventional-changelog-cli": "^2.1.1",
|
|
104
|
-
"conventional-changelog-custom-config": "^0.3.1",
|
|
105
|
-
"dumi": "^1.0.10",
|
|
106
|
-
"eslint": "^6.6.0",
|
|
107
|
-
"eslint-plugin-react": "^7.21.5",
|
|
108
|
-
"eslint-plugin-react-hooks": "^4.2.0",
|
|
109
|
-
"gulp": "^4.0.2",
|
|
110
|
-
"gulp-babel": "^8.0.0",
|
|
111
|
-
"gulp-bump": "^3.1.3",
|
|
112
|
-
"gulp-clean": "^0.4.0",
|
|
113
|
-
"gulp-less": "5.0.0",
|
|
114
|
-
"gulp-sourcemaps": "^2.6.5",
|
|
115
|
-
"husky": "^4.0.7",
|
|
116
|
-
"jquery": "^3.6.0",
|
|
117
|
-
"less": "^3.10.3",
|
|
118
|
-
"less-plugin-autoprefix": "^2.0.0",
|
|
119
|
-
"less-plugin-npm-import": "^2.1.0",
|
|
120
|
-
"merge2": "^1.3.0",
|
|
121
|
-
"prettier": "^1.18.2",
|
|
122
|
-
"pretty-quick": "^2.0.0",
|
|
123
|
-
"release-it": "^14.6.1",
|
|
124
|
-
"rimraf": "^3.0.0",
|
|
125
|
-
"stylelint": "11.0.0",
|
|
126
|
-
"stylelint-config-prettier": "^6.0.0",
|
|
127
|
-
"stylelint-config-rational-order": "^0.1.2",
|
|
128
|
-
"stylelint-config-standard": "^19.0.0",
|
|
129
|
-
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
|
130
|
-
"stylelint-order": "^3.0.0",
|
|
131
|
-
"through2": "^3.0.1"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@vtx/components",
|
|
3
|
+
"version": "3.1.191",
|
|
4
|
+
"description": "React components for Vortex",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"react-component"
|
|
8
|
+
],
|
|
9
|
+
"files": [
|
|
10
|
+
"lib"
|
|
11
|
+
],
|
|
12
|
+
"main": "lib/index.js",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "dumi dev",
|
|
15
|
+
"build": "NODE_OPTIONS=--openssl-legacy-provider dumi build",
|
|
16
|
+
"compile": "gulp compile",
|
|
17
|
+
"lint": "npm run lint:script",
|
|
18
|
+
"lint:script": "eslint components --ext .js",
|
|
19
|
+
"lint:style": "stylelint components/**/*.less --syntax less",
|
|
20
|
+
"fix": "eslint --fix --ext .js,.jsx components && npm run style:fix",
|
|
21
|
+
"style:fix": "stylelint components/**/*.less --syntax less --fix",
|
|
22
|
+
"prettier": "prettier -c --write **/*",
|
|
23
|
+
"pretty-quick": "pretty-quick",
|
|
24
|
+
"pub": "npm publish --access=public",
|
|
25
|
+
"bump": "gulp bump --prerelease",
|
|
26
|
+
"release": "release-it --no-npm.publish",
|
|
27
|
+
"version": "npm run changelog && git add CHANGELOG.md",
|
|
28
|
+
"changelog": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://git.cloudhw.cn:3443/front-end/react-components.git"
|
|
33
|
+
},
|
|
34
|
+
"license": "ISC",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://git.cloudhw.cn:3443/front-end/react-components/-/issues"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://git.cloudhw.cn:3443/front-end/react-components.git",
|
|
39
|
+
"release-it": {
|
|
40
|
+
"git": {
|
|
41
|
+
"commitMessage": "chore: release v${version}"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"changelog": {
|
|
45
|
+
"emojis": true,
|
|
46
|
+
"authorName": true
|
|
47
|
+
},
|
|
48
|
+
"overrides": {
|
|
49
|
+
"react-easy-crop": "5.5.3"
|
|
50
|
+
},
|
|
51
|
+
"resolutions": {
|
|
52
|
+
"react-easy-crop": "5.5.3"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@ant-design/icons": "4.7.0",
|
|
56
|
+
"@vtx/map": "^1.2.37",
|
|
57
|
+
"@wangeditor/editor": "^5.1.21",
|
|
58
|
+
"@wangeditor/editor-for-react": "^1.0.5",
|
|
59
|
+
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
60
|
+
"proj4": "^2.20.8",
|
|
61
|
+
"@turf/turf": "^7.3.4",
|
|
62
|
+
"ahooks": "^3.1.5",
|
|
63
|
+
"antd": "4.23.0",
|
|
64
|
+
"antd-img-crop": "4.25.0",
|
|
65
|
+
"axios": "^0.21.1",
|
|
66
|
+
"braft-editor": "^2.3.9",
|
|
67
|
+
"braft-utils": "^3.0.12",
|
|
68
|
+
"classnames": "^2.2.6",
|
|
69
|
+
"lodash.clonedeep": "^4.5.0",
|
|
70
|
+
"lodash.debounce": "^4.0.8",
|
|
71
|
+
"lodash.difference": "^4.5.0",
|
|
72
|
+
"lodash.isequal": "^4.5.0",
|
|
73
|
+
"lodash.merge": "^4.6.2",
|
|
74
|
+
"md5": "^2.3.0",
|
|
75
|
+
"moment": "^2.29.1",
|
|
76
|
+
"rc-color-picker": "^1.2.6",
|
|
77
|
+
"react-resizable": "^1.11.1",
|
|
78
|
+
"signature_pad": "3.0.0-beta.4",
|
|
79
|
+
"viewerjs": "1.3.3",
|
|
80
|
+
"xgplayer": "2.18.3"
|
|
81
|
+
},
|
|
82
|
+
"peerDependencies": {
|
|
83
|
+
"@vtx/utils": "^1.0.15",
|
|
84
|
+
"antd-img-crop": "4.25.0",
|
|
85
|
+
"react": ">=16.12.0",
|
|
86
|
+
"react-dom": ">=16.12.0",
|
|
87
|
+
"react-easy-crop": "5.5.3"
|
|
88
|
+
},
|
|
89
|
+
"devDependencies": {
|
|
90
|
+
"@babel/cli": "^7.6.4",
|
|
91
|
+
"@babel/core": "^7.6.4",
|
|
92
|
+
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
93
|
+
"@babel/plugin-transform-runtime": "^7.6.2",
|
|
94
|
+
"@babel/preset-env": "^7.6.3",
|
|
95
|
+
"@babel/preset-react": "^7.6.3",
|
|
96
|
+
"@babel/runtime": "^7.6.3",
|
|
97
|
+
"@commitlint/cli": "^8.3.4",
|
|
98
|
+
"@commitlint/config-conventional": "^8.3.4",
|
|
99
|
+
"@umijs/plugin-locale": "^0.10.8",
|
|
100
|
+
"@vtx/utils": "^1.0.22",
|
|
101
|
+
"babel-eslint": "^10.1.0",
|
|
102
|
+
"babel-plugin-import": "^1.13.3",
|
|
103
|
+
"conventional-changelog-cli": "^2.1.1",
|
|
104
|
+
"conventional-changelog-custom-config": "^0.3.1",
|
|
105
|
+
"dumi": "^1.0.10",
|
|
106
|
+
"eslint": "^6.6.0",
|
|
107
|
+
"eslint-plugin-react": "^7.21.5",
|
|
108
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
109
|
+
"gulp": "^4.0.2",
|
|
110
|
+
"gulp-babel": "^8.0.0",
|
|
111
|
+
"gulp-bump": "^3.1.3",
|
|
112
|
+
"gulp-clean": "^0.4.0",
|
|
113
|
+
"gulp-less": "5.0.0",
|
|
114
|
+
"gulp-sourcemaps": "^2.6.5",
|
|
115
|
+
"husky": "^4.0.7",
|
|
116
|
+
"jquery": "^3.6.0",
|
|
117
|
+
"less": "^3.10.3",
|
|
118
|
+
"less-plugin-autoprefix": "^2.0.0",
|
|
119
|
+
"less-plugin-npm-import": "^2.1.0",
|
|
120
|
+
"merge2": "^1.3.0",
|
|
121
|
+
"prettier": "^1.18.2",
|
|
122
|
+
"pretty-quick": "^2.0.0",
|
|
123
|
+
"release-it": "^14.6.1",
|
|
124
|
+
"rimraf": "^3.0.0",
|
|
125
|
+
"stylelint": "11.0.0",
|
|
126
|
+
"stylelint-config-prettier": "^6.0.0",
|
|
127
|
+
"stylelint-config-rational-order": "^0.1.2",
|
|
128
|
+
"stylelint-config-standard": "^19.0.0",
|
|
129
|
+
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
|
130
|
+
"stylelint-order": "^3.0.0",
|
|
131
|
+
"through2": "^3.0.1"
|
|
132
|
+
}
|
|
133
|
+
}
|