@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: rgba(0, 0, 0, 0.05);
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: rgba(0, 0, 0, 0.05);
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: rgba(0, 0, 0, 0.05);
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
- > table {
35
- min-height: 1px;
36
- }
37
- }
38
- .ant-table-tbody > tr {
39
- &:nth-child(odd) {
40
- background: @table-row-odd;
41
- > td {
42
- background: @table-row-odd !important;
43
- }
44
- }
45
- > td:first-child {
46
- border-left: 1px solid @table-border-color;
47
- }
48
- }
49
- .ant-table-fixed-header .ant-table-scroll .ant-table-header {
50
- min-width: 5px !important;
51
- }
52
- .ant-table-pagination {
53
- position: absolute;
54
- right: 0;
55
- bottom: 0;
56
- }
57
- .ant-spin-nested-loading {
58
- height: 100%;
59
- .ant-spin-container {
60
- position: relative;
61
- height: 100%;
62
- .ant-table {
63
- height: 100%;
64
- }
65
- }
66
- }
67
- }
68
- &-noFit {
69
- .ant-table-tbody > tr {
70
- &:nth-child(even) when(@theme=default) {
71
- background: #f6f6f6;
72
- > td {
73
- background: #f6f6f6 !important;
74
- }
75
- }
76
- }
77
- }
78
- .ant-table-container {
79
- position: relative;
80
- height: 100%;
81
- }
82
- // 固定列目前没有办法用细的滚动条
83
- // .ant-table-has-fix-right {
84
- // .ant-table-body {
85
- // &::-webkit-scrollbar {
86
- // width: 5px;
87
- // height: 5px;
88
- // }
89
- // }
90
- // }
91
- // mac 和 windows下有差异,window chrome下滚动条宽度17px,mac chrome下15px
92
- // &-userAgent-mac {
93
- // .ant-table-has-fix-right {
94
- // .ant-table-body {
95
- // &::-webkit-scrollbar {
96
- // width: 5px;
97
- // height: 5px;
98
- // }
99
- // }
100
- // }
101
- // }
102
- .ant-table-middle {
103
- .ant-table-thead > tr > th {
104
- padding-left: 12px !important;
105
- padding-right: 12px !important;
106
- }
107
- .ant-table-tbody > tr > td {
108
- padding-left: 12px !important;
109
- padding-right: 12px !important;
110
- }
111
- }
112
- .ant-table-tbody > tr.ant-table-row-selected > td {
113
- // background: transparent !important;
114
- border-color: @table-border-color !important;
115
- }
116
-
117
- .ant-table-thead > tr > th when(@theme=default) {
118
- // antd4.0 半透明会重叠
119
- // background-color: fade(#1890ff, 8);
120
- font-weight: bold;
121
- background-color: rgba(237, 246, 255, 1);
122
- }
123
- .ant-table-tbody > tr {
124
- // &:nth-child(even) when(@theme=default) {
125
- // background: #f6f6f6;
126
- // }
127
- & > .ant-table-cell {
128
- color: @text-color;
129
- }
130
-
131
- &.ant-table-placeholder {
132
- position: absolute;
133
- top: 25%;
134
- // top: auto;
135
- right: 0;
136
- // bottom: auto;
137
- left: 0;
138
- background-color: transparent;
139
- border-top: none;
140
- // height: 100%;
141
- & > td.ant-table-cell {
142
- display: flex;
143
- align-items: center;
144
- justify-content: center;
145
- width: 100%;
146
- height: 100%;
147
- // border-right: @border-width-base @border-style-base @table-border-color;
148
- // border-left: @border-width-base @border-style-base @table-border-color;
149
- border: none;
150
- }
151
- }
152
- }
153
- // fix: checkbox 选中时 固定列 最上面一层透明会 和下面重叠
154
- // .ant-table-tbody > tr.ant-table-row-selected td {
155
- // background: transparent;
156
- // }
157
- &-alert {
158
- margin-bottom: 8px;
159
- &-message when(@theme=default) {
160
- color: fade(@black, 65%);
161
- }
162
- &-message when(@theme=dark) {
163
- color: @text-color;
164
- }
165
- &-info-content > strong {
166
- margin: 0 4px;
167
- color: #13c2c2;
168
- }
169
- &-info-option {
170
- margin-left: 10px;
171
- }
172
- }
173
- &-nodata {
174
- .ant-table-scroll {
175
- overflow-y: hidden;
176
- }
177
- }
178
- &-toolbar {
179
- display: table;
180
- width: 100%;
181
- margin: 16px 0;
182
- color: @text-color;
183
- }
184
- &-toolbar-left,
185
- &-toolbar-right {
186
- display: inline-block;
187
- display: table-cell;
188
- vertical-align: middle;
189
- }
190
- &-toolbar-left {
191
- color: @text-color;
192
- font-size: 16px;
193
- }
194
- &-toolbar-right {
195
- float: right;
196
- }
197
- &-toolbar-line {
198
- width: 1px;
199
- height: 14px;
200
- display: inline-block;
201
- vertical-align: middle;
202
- background: #e8e8e8;
203
- margin: 0 -2px 0 12px;
204
- }
205
- &-toolbar-setting-item {
206
- display: inline-block;
207
- margin-left: 16px;
208
- color: @icon-color;
209
- font-size: 16px;
210
- vertical-align: middle;
211
- cursor: pointer;
212
- color: #707070;
213
- &:hover {
214
- color: @icon-color-hover;
215
- }
216
- }
217
- &-column-setting-title {
218
- height: 32px;
219
- line-height: 32px;
220
- a {
221
- display: inline-block;
222
- float: right;
223
- vertical-align: middle;
224
- }
225
- }
226
- &-column-setting-checkbox-wrapper {
227
- color: @text-color;
228
- vertical-align: middle;
229
- }
230
- &-space-item {
231
- display: inline-block;
232
- vertical-align: middle;
233
- }
234
- .react-resizable {
235
- position: relative;
236
- background-clip: padding-box;
237
- }
238
- .react-resizable-handle {
239
- position: absolute;
240
- right: -5px;
241
- bottom: 0;
242
- z-index: 1;
243
- width: 10px;
244
- height: 100%;
245
- cursor: col-resize;
246
- }
247
-
248
- &-column-setting {
249
- &-title {
250
- height: 32px;
251
- line-height: 32px;
252
-
253
- a {
254
- display: inline-block;
255
- float: right;
256
- vertical-align: middle;
257
- }
258
- }
259
-
260
- &-checkbox-wrapper {
261
- color: @text-color;
262
- vertical-align: middle;
263
- }
264
-
265
- &-list {
266
- &-list-item {
267
- display: flex;
268
-
269
- &-title {
270
- flex: 1;
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.190",
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
+ }