@vtx/modals2 5.0.63 → 5.0.65

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.
Files changed (38) hide show
  1. package/lib/_components/vm-bar-charts/index.js +1 -1
  2. package/lib/_components/vm-popover/index.less +7 -7
  3. package/lib/_components/vm-video/HistoryGrid.js +2 -0
  4. package/lib/_components/vm-video/RealtimeGrid.js +2 -0
  5. package/lib/_components/vm-video/index.js +22 -18
  6. package/lib/_hooks/useGetChannels.js +2 -12
  7. package/lib/_util/http.js +8 -8
  8. package/lib/vtx-area-modal/api.js +1 -1
  9. package/lib/vtx-base-modal/Header/index.less +98 -98
  10. package/lib/vtx-base-modal/index.js +3 -0
  11. package/lib/vtx-base-modal/service.js +2 -2
  12. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +2 -2
  13. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
  14. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
  15. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -1
  16. package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
  17. package/lib/vtx-default-modal/index.js +2 -1
  18. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +2 -2
  19. package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
  20. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  21. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
  22. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
  23. package/lib/vtx-qyry-modal/api.js +1 -1
  24. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  25. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +1 -1
  26. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +4 -4
  27. package/lib/vtx-restaurant-modal/config.js +52 -52
  28. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +2 -2
  29. package/lib/vtx-road-modal/components/LaneCalendar/index.js +3 -0
  30. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  31. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
  32. package/lib/vtx-staff-modal/api.js +1 -1
  33. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +2 -2
  34. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
  35. package/lib/vtx-wr-modal/components/Build/index.js +3 -3
  36. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +1 -1
  37. package/lib/vtx-zf-modal/components/File/index.js +2 -2
  38. package/package.json +6 -6
@@ -137,7 +137,7 @@ var BarCharts = function BarCharts(_ref) {
137
137
  type: 'bar',
138
138
  data: item.data,
139
139
  yAxisIndex: item.yAxisIndex || 0,
140
- barWidth: 18,
140
+ barMaxWidth: 18,
141
141
  itemStyle: {
142
142
  color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
143
143
  offset: 1,
@@ -1,7 +1,7 @@
1
- .vm-popover {
2
- &.dark {
3
- .ant-popover-inner-content, .ant-popover-arrow-content, .ant-popover-arrow-content::before {
4
- background: rgb(51 95 135);
5
- }
6
- }
7
- }
1
+ .vm-popover {
2
+ &.dark {
3
+ .ant-popover-inner-content, .ant-popover-arrow-content, .ant-popover-arrow-content::before {
4
+ background: rgb(51 95 135);
5
+ }
6
+ }
7
+ }
@@ -31,6 +31,8 @@ var GridItem = /*#__PURE__*/forwardRef(function (props, ref) {
31
31
  ref: ref,
32
32
  beenHasVideo: channel.beenHasVideo // 对讲
33
33
  ,
34
+ beenHasAudio: channel.beenHasAudio // 音频
35
+ ,
34
36
  url: url,
35
37
  type: channel === null || channel === void 0 ? void 0 : channel.player,
36
38
  deviceIp: channel.deviceIp,
@@ -29,6 +29,8 @@ var GridItem = /*#__PURE__*/forwardRef(function (props, ref) {
29
29
  ref: ref,
30
30
  beenHasVideo: channel.beenHasVideo // 对讲
31
31
  ,
32
+ beenHasAudio: channel.beenHasAudio // 音频
33
+ ,
32
34
  url: channel.url,
33
35
  type: channel === null || channel === void 0 ? void 0 : channel.player,
34
36
  deviceIp: channel.deviceIp,
@@ -61,6 +61,8 @@ var VmVideo = function VmVideo(_ref) {
61
61
  endTime = state.endTime,
62
62
  history = state.history;
63
63
  useEffect(function () {
64
+ var s,
65
+ e = '';
64
66
  if (dateType === 'custom') {
65
67
  setState({
66
68
  datePickerDisabled: false
@@ -69,23 +71,25 @@ var VmVideo = function VmVideo(_ref) {
69
71
  setState({
70
72
  datePickerDisabled: true
71
73
  });
72
- if (dateType === 'dayBeforeYesterday') {
73
- setState({
74
- startTime: dayjs().subtract(2, 'day').format('YYYY-MM-DD 00:00:00'),
75
- endTime: dayjs().subtract(2, 'day').format('YYYY-MM-DD 23:59:59')
76
- });
77
- } else if (dateType === 'yesterday') {
78
- setState({
79
- startTime: dayjs().subtract(1, 'day').format('YYYY-MM-DD 00:00:00'),
80
- endTime: dayjs().subtract(1, 'day').format('YYYY-MM-DD 23:59:59')
81
- });
82
- } else if (dateType === 'today') {
83
- setState({
84
- startTime: dayjs().format('YYYY-MM-DD 00:00:00'),
85
- endTime: dayjs().format('YYYY-MM-DD HH:mm:ss')
86
- });
87
- }
88
74
  }
75
+ if (dateType === 'dayBeforeYesterday') {
76
+ s = dayjs().subtract(2, 'day').format('YYYY-MM-DD 00:00:00');
77
+ e = dayjs().subtract(2, 'day').format('YYYY-MM-DD 23:59:59');
78
+ } else if (dateType === 'yesterday') {
79
+ s = dayjs().subtract(1, 'day').format('YYYY-MM-DD 00:00:00');
80
+ e = dayjs().subtract(1, 'day').format('YYYY-MM-DD 23:59:59');
81
+ } else {
82
+ s = dayjs().format('YYYY-MM-DD 00:00:00');
83
+ e = dayjs().format('YYYY-MM-DD HH:mm:ss');
84
+ }
85
+ setState({
86
+ startTime: s,
87
+ endTime: e
88
+ });
89
+ form.setFieldsValue({
90
+ beginTime: dayjs(s),
91
+ endTime: dayjs(e)
92
+ });
89
93
  }, [dateType]);
90
94
  useEffect(function () {
91
95
  if (channels !== null && channels !== void 0 && channels.length && tabKey === '1') {
@@ -199,8 +203,8 @@ var VmVideo = function VmVideo(_ref) {
199
203
  requiredMark: false,
200
204
  colon: true,
201
205
  initialValues: {
202
- beginTime: startTime ? dayjs(startTime) : dayjs().subtract(1, 'day').startOf('day'),
203
- endTime: endTime ? dayjs(endTime) : dayjs().subtract(1, 'day').endOf('day')
206
+ beginTime: startTime ? dayjs(startTime) : dayjs().startOf('day'),
207
+ endTime: endTime ? dayjs(endTime) : dayjs().endOf('day')
204
208
  },
205
209
  autoComplete: "off",
206
210
  children: [/*#__PURE__*/_jsx(Form.Item, {
@@ -6,27 +6,17 @@ import { useRequest } from 'ahooks';
6
6
  import http from "../_util/http";
7
7
  export default (function (billId, ready) {
8
8
  var _useRequest = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9
- var url, exists;
9
+ var url;
10
10
  return _regeneratorRuntime().wrap(function _callee$(_context) {
11
11
  while (1) switch (_context.prev = _context.next) {
12
12
  case 0:
13
13
  url = "".concat(process.env.PREFIX || '', "/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc");
14
- _context.next = 3;
15
- return http.exists(url);
16
- case 3:
17
- exists = _context.sent;
18
- if (exists) {
19
- _context.next = 6;
20
- break;
21
- }
22
- return _context.abrupt("return");
23
- case 6:
24
14
  return _context.abrupt("return", http.get(url, {
25
15
  body: {
26
16
  billId: billId
27
17
  }
28
18
  }));
29
- case 7:
19
+ case 2:
30
20
  case "end":
31
21
  return _context.stop();
32
22
  }
package/lib/_util/http.js CHANGED
@@ -17,7 +17,7 @@ import pickBy from 'lodash/pickBy';
17
17
  import qs from 'qs';
18
18
  var SECOND = 30;
19
19
  var MILL_SECOND = 1000;
20
- var baseUrlPrefix = process.env.PREFIX ? "/".concat(process.env.PREFIX) : '';
20
+ var baseUrlPrefix = process.env.PREFIX ? "".concat(process.env.PREFIX) : '';
21
21
  var Http = /*#__PURE__*/function () {
22
22
  function Http(options) {
23
23
  _classCallCheck(this, Http);
@@ -78,9 +78,9 @@ var Http = /*#__PURE__*/function () {
78
78
  });
79
79
  }
80
80
 
81
- /**
82
- * 判断接口是否存在
83
- * @param {*} url
81
+ /**
82
+ * 判断接口是否存在
83
+ * @param {*} url
84
84
  */
85
85
  }, {
86
86
  key: "exists",
@@ -103,10 +103,10 @@ var Http = /*#__PURE__*/function () {
103
103
  return (error === null || error === void 0 || (_error$response = error.response) === null || _error$response === void 0 ? void 0 : _error$response.status) !== 404;
104
104
  });
105
105
  }
106
- /**
107
- * get 请求
108
- * @param {*} url
109
- * @param {*} options {body}
106
+ /**
107
+ * get 请求
108
+ * @param {*} url
109
+ * @param {*} options {body}
110
110
  */
111
111
  }, {
112
112
  key: "getForTenantId",
@@ -62,7 +62,7 @@ var BaseService = {
62
62
  layerType: 'staff',
63
63
  staffName: item.staffName,
64
64
  newType: item.icon ? 1 : item.statusCode === 'Normal' ? 2 : 3,
65
- url: item.icon ? "/cloudFile/common/downloadFile?id=".concat(item.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon2({
65
+ url: item.icon ? "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon2({
66
66
  canvasIcon: 'PERSONNEL',
67
67
  color: ((_mapInfoRes = mapInfoRes) === null || _mapInfoRes === void 0 || (_mapInfoRes = _mapInfoRes.data) === null || _mapInfoRes === void 0 ? void 0 : _mapInfoRes.statusCode) === 'Normal' ? '#119FFB' : '#999999'
68
68
  }).getImgUrl() : new MapIcon.CommonIcon({
@@ -1,98 +1,98 @@
1
- .vm-modal-header-container {
2
- width: 100%;
3
- height: 116px;
4
- border-radius: 8px 8px 0 0;
5
- background: var(--modal-head-bg);
6
- padding: 0 16px;
7
- margin-top: 1px;
8
- }
9
-
10
- .vm-modal-header-wrap {
11
- width: 100%;
12
- height: 56px;
13
- display: flex;
14
- align-items: center;
15
- justify-content: space-between;
16
- position: relative;
17
- &::after {
18
- position: absolute;
19
- top: 54px;
20
- left: 0;
21
- content: '';
22
- width: 180px;
23
- height: 1px;
24
- background: var(--modal-head-line-bg);
25
- box-shadow: var(--modal-head-line-shadow);
26
- border-radius: 8px;
27
- animation: move 6s linear infinite;
28
-
29
- @keyframes move {
30
- 0% {
31
- left: 0;
32
- }
33
-
34
- 100% {
35
- left: calc(100% - 180px);
36
- }
37
- }
38
- }
39
-
40
- &-left {
41
- display: flex;
42
- align-items: center;
43
- gap: 8px;
44
-
45
- &-title {
46
- font-weight: bold;
47
- font-size: 20px;
48
- color: var(--modal-title-color);
49
- }
50
-
51
- &-tag {
52
- display: flex;
53
- align-items: center;
54
- justify-content: center;
55
- gap: 4px;
56
- height: 24px;
57
- border-radius: 16px;
58
- font-size: 12px;
59
- padding: 0 8px;
60
- border: 1px solid;
61
- }
62
- }
63
-
64
- &-right {
65
- display: flex;
66
- align-items: center;
67
- gap: 16px;
68
-
69
- &-close {
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
- color: var(--modal-close-color);
74
- width: 28px;
75
- height: 28px;
76
- cursor: pointer;
77
- font-size: 16px;
78
- }
79
-
80
- &-line {
81
- width: 1px;
82
- height: 14px;
83
- background-color: var(--modal-head-split-line-color);
84
- }
85
-
86
- &-collect {
87
- width: 28px;
88
- height: 28px;
89
- border-radius: 8px;
90
- text-align: center;
91
- cursor: pointer;
92
-
93
- &.active {
94
- background: var(--collect-bg);
95
- }
96
- }
97
- }
98
- }
1
+ .vm-modal-header-container {
2
+ width: 100%;
3
+ height: 116px;
4
+ border-radius: 8px 8px 0 0;
5
+ background: var(--modal-head-bg);
6
+ padding: 0 16px;
7
+ margin-top: 1px;
8
+ }
9
+
10
+ .vm-modal-header-wrap {
11
+ width: 100%;
12
+ height: 56px;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ position: relative;
17
+ &::after {
18
+ position: absolute;
19
+ top: 54px;
20
+ left: 0;
21
+ content: '';
22
+ width: 180px;
23
+ height: 1px;
24
+ background: var(--modal-head-line-bg);
25
+ box-shadow: var(--modal-head-line-shadow);
26
+ border-radius: 8px;
27
+ animation: move 6s linear infinite;
28
+
29
+ @keyframes move {
30
+ 0% {
31
+ left: 0;
32
+ }
33
+
34
+ 100% {
35
+ left: calc(100% - 180px);
36
+ }
37
+ }
38
+ }
39
+
40
+ &-left {
41
+ display: flex;
42
+ align-items: center;
43
+ gap: 8px;
44
+
45
+ &-title {
46
+ font-weight: bold;
47
+ font-size: 20px;
48
+ color: var(--modal-title-color);
49
+ }
50
+
51
+ &-tag {
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: center;
55
+ gap: 4px;
56
+ height: 24px;
57
+ border-radius: 16px;
58
+ font-size: 12px;
59
+ padding: 0 8px;
60
+ border: 1px solid;
61
+ }
62
+ }
63
+
64
+ &-right {
65
+ display: flex;
66
+ align-items: center;
67
+ gap: 16px;
68
+
69
+ &-close {
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ color: var(--modal-close-color);
74
+ width: 28px;
75
+ height: 28px;
76
+ cursor: pointer;
77
+ font-size: 16px;
78
+ }
79
+
80
+ &-line {
81
+ width: 1px;
82
+ height: 14px;
83
+ background-color: var(--modal-head-split-line-color);
84
+ }
85
+
86
+ &-collect {
87
+ width: 28px;
88
+ height: 28px;
89
+ border-radius: 8px;
90
+ text-align: center;
91
+ cursor: pointer;
92
+
93
+ &.active {
94
+ background: var(--collect-bg);
95
+ }
96
+ }
97
+ }
98
+ }
@@ -157,6 +157,9 @@ var VmBaseModal = function VmBaseModal(props) {
157
157
  if (prefixList.length === 2) {
158
158
  prefix = "/".concat(prefixList[0]);
159
159
  }
160
+ if (prefixList.length === 3) {
161
+ prefix = "/".concat(prefixList[0], "/").concat(prefixList[1]);
162
+ }
160
163
  var _theme = theme === 'light' ? 'light' : 'dark';
161
164
  if (type === 'car') {
162
165
  var path = 'index';
@@ -21,7 +21,7 @@ export var cancelFavorite = function cancelFavorite(params) {
21
21
  });
22
22
  };
23
23
  export var getTenantById = function getTenantById(id) {
24
- return http.get("".concat(prefix, "/cloud/management/rest/np/tenant/getTenantById"), {
24
+ return http.get("/cloud/management/rest/np/tenant/getTenantById", {
25
25
  body: {
26
26
  parameters: JSON.stringify({
27
27
  id: id
@@ -30,7 +30,7 @@ export var getTenantById = function getTenantById(id) {
30
30
  });
31
31
  };
32
32
  export var getUmsConfig = function getUmsConfig(componentCode) {
33
- return http.get("".concat(prefix, "/cloud/management/api/v101/user/config/component/page"), {
33
+ return http.get("/cloud/management/api/v101/user/config/component/page", {
34
34
  body: {
35
35
  componentCode: componentCode,
36
36
  userId: getVtxToken('userId')
@@ -59,7 +59,7 @@ var Content = function Content(_ref) {
59
59
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(text, "&token=").concat(token),
60
60
  preview: {
61
61
  destroyOnClose: true,
62
- src: "/cloudFile/common/downloadFile?id=".concat(text, "&token=").concat(token),
62
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(text, "&token=").concat(token),
63
63
  maskClassName: 'maskClass'
64
64
  },
65
65
  alt: "\u7B7E\u5B57",
@@ -88,7 +88,7 @@ var Content = function Content(_ref) {
88
88
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(text, "&token=").concat(token),
89
89
  preview: {
90
90
  destroyOnClose: true,
91
- src: "/cloudFile/common/downloadFile?id=".concat(text, "&token=").concat(token),
91
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(text, "&token=").concat(token),
92
92
  maskClassName: 'maskClass'
93
93
  },
94
94
  alt: "\u7B7E\u5B57",
@@ -40,7 +40,7 @@ var BaseInfo = function BaseInfo(_ref) {
40
40
  height: 80,
41
41
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat(getVtxToken('token')),
42
42
  preview: {
43
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token'))
43
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token'))
44
44
  }
45
45
  }, item.id);
46
46
  })
@@ -70,7 +70,7 @@ var DetailInfo = function DetailInfo(_ref) {
70
70
  height: 80,
71
71
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat(getVtxToken('token')),
72
72
  preview: {
73
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token'))
73
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token'))
74
74
  }
75
75
  }, item.id);
76
76
  })
@@ -35,7 +35,7 @@ export default function TodayWork(props) {
35
35
  var src = '';
36
36
  if (productTypes !== null && productTypes !== void 0 && (_productTypes$id = productTypes[id]) !== null && _productTypes$id !== void 0 && _productTypes$id.icon) {
37
37
  var icon = JSON.parse(productTypes[id].icon)[0];
38
- src = "/cloudFile/common/downloadFile?id=".concat(icon.id, "&token=").concat(getVtxToken('token'));
38
+ src = "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(icon.id, "&token=").concat(getVtxToken('token'));
39
39
  }
40
40
  return src;
41
41
  };
@@ -67,7 +67,7 @@ var BaseInfo = function BaseInfo(props) {
67
67
  },
68
68
  children: photos.map(function (item) {
69
69
  return /*#__PURE__*/_jsx(VtxImage, {
70
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token')),
70
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token')),
71
71
  alt: item.name,
72
72
  style: {
73
73
  width: '100%',
@@ -26,6 +26,7 @@ var TABS_METERING = 'metering';
26
26
  var VtxDefaultModal = function VtxDefaultModal(props) {
27
27
  var _info$geometryInfo, _info$geometryInfo2, _info$geometryInfo3;
28
28
  var id = props.id,
29
+ facilityId = props.facilityId,
29
30
  title = props.title,
30
31
  subTitle = props.subTitle,
31
32
  theme = props.theme,
@@ -103,7 +104,7 @@ var VtxDefaultModal = function VtxDefaultModal(props) {
103
104
  tabsData.forEach(function (ele) {
104
105
  if (ele.url) {
105
106
  contents[ele.key] = /*#__PURE__*/_jsx(VmCustom, {
106
- id: id,
107
+ id: ele.url.indexOf('type=1') > -1 ? facilityId : id,
107
108
  url: ele === null || ele === void 0 ? void 0 : ele.url
108
109
  });
109
110
  }
@@ -37,7 +37,7 @@ var PreviewAndDownload = function PreviewAndDownload(_ref) {
37
37
  var onPreview = function onPreview(_ref2) {
38
38
  var id = _ref2.id,
39
39
  name = _ref2.name;
40
- var url = "".concat(window.location.origin, "/cloudFile/common/downloadFile?id=").concat(id, "&fullfilename=").concat(id, "-").concat(name.replace(/\s*/g, ''), "&token=").concat(token);
40
+ var url = "".concat(window.location.origin).concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(id, "&fullfilename=").concat(id, "-").concat(name.replace(/\s*/g, ''), "&token=").concat(token);
41
41
  var base64 = Buffer.from(url).toString('base64');
42
42
  setIframeModalInfo({
43
43
  src: "".concat(window.location.origin, "/cloud/kkPreview/onlinePreview?url=").concat(base64, "&token=").concat(token),
@@ -47,7 +47,7 @@ var PreviewAndDownload = function PreviewAndDownload(_ref) {
47
47
  };
48
48
  //下载
49
49
  var download = function download(obj) {
50
- window.location.href = "/cloudFile/common/downloadFile?id=".concat(obj.id, "&token=").concat(token);
50
+ window.location.href = "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(obj.id, "&token=").concat(token);
51
51
  };
52
52
  var component = /*#__PURE__*/_jsxs("div", {
53
53
  children: [/*#__PURE__*/_jsx(Button, {
@@ -99,7 +99,7 @@ var BaseInfo = function BaseInfo(_ref) {
99
99
  if (info.photoIds) {
100
100
  var _JSON$parse;
101
101
  var id = (_JSON$parse = JSON.parse(info.photoIds)) === null || _JSON$parse === void 0 || (_JSON$parse = _JSON$parse[0]) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse.id;
102
- url = id ? "/cloudFile/common/downloadFile?id=".concat(id, "&token=").concat(getVtxToken('token') || '') : '';
102
+ url = id ? "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(id, "&token=").concat(getVtxToken('token') || '') : '';
103
103
  }
104
104
  var installLocationDTO = info.installLocationDTO;
105
105
  var _ref2 = installLocationDTO !== null && installLocationDTO !== void 0 && installLocationDTO.lngLats ? installLocationDTO.lngLats.split(',') : [],
@@ -54,7 +54,7 @@ var BaseInfo = function BaseInfo(props) {
54
54
  padding: '0 12px 12px'
55
55
  },
56
56
  children: /*#__PURE__*/_jsx(VtxImage, {
57
- src: "/cloudFile/common/downloadFile?id=".concat(photos[0].id, "&token=").concat(getVtxToken('token')),
57
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(photos[0].id, "&token=").concat(getVtxToken('token')),
58
58
  alt: photos[0].name,
59
59
  isDark: true,
60
60
  style: {
@@ -56,7 +56,7 @@ var BaseInfo = function BaseInfo(props) {
56
56
  padding: '0 12px 12px'
57
57
  },
58
58
  children: /*#__PURE__*/_jsx(VtxImage, {
59
- src: "/cloudFile/common/downloadFile?id=".concat(photos[0].id, "&token=").concat(getVtxToken('token')),
59
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(photos[0].id, "&token=").concat(getVtxToken('token')),
60
60
  alt: photos[0].name,
61
61
  isDark: true,
62
62
  style: {
@@ -40,7 +40,7 @@ var Left = function Left(_ref) {
40
40
  children: photos.length ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
41
41
  children: photos.map(function (item) {
42
42
  return /*#__PURE__*/_jsx(VtxImage, {
43
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token')),
43
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token')),
44
44
  alt: item.name
45
45
  }, item.id);
46
46
  })
@@ -97,7 +97,7 @@ var BaseService = {
97
97
  },
98
98
  lng: mapInfoRes.data.lngDone,
99
99
  lat: mapInfoRes.data.latDone,
100
- url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data2 = mapInfoRes.data) !== null && _mapInfoRes$data2 !== void 0 && _mapInfoRes$data2.icon ? "/cloudFile/common/downloadFile?id=".concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data3 = mapInfoRes.data) === null || _mapInfoRes$data3 === void 0 ? void 0 : _mapInfoRes$data3.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
100
+ url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data2 = mapInfoRes.data) !== null && _mapInfoRes$data2 !== void 0 && _mapInfoRes$data2.icon ? "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data3 = mapInfoRes.data) === null || _mapInfoRes$data3 === void 0 ? void 0 : _mapInfoRes$data3.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
101
101
  canvasIcon: 'PERSONNEL',
102
102
  color: (mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data4 = mapInfoRes.data) === null || _mapInfoRes$data4 === void 0 ? void 0 : _mapInfoRes$data4.statusCode) === 'Normal' ? '#119FFB' : '#999999'
103
103
  }).getImgUrl() : new MapIcon.CommonIcon({
@@ -57,7 +57,7 @@ var Info = function Info() {
57
57
  height: 80,
58
58
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat(getVtxToken('token')),
59
59
  preview: {
60
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token'))
60
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token'))
61
61
  }
62
62
  }, item.id);
63
63
  })
@@ -51,7 +51,7 @@ var DetailInfo = function DetailInfo() {
51
51
  height: 80,
52
52
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat(getVtxToken('token')),
53
53
  preview: {
54
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token'))
54
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token'))
55
55
  }
56
56
  }, item.id);
57
57
  })
@@ -96,7 +96,7 @@ var Content = function Content(_ref) {
96
96
  children: [/*#__PURE__*/_jsx(Button, {
97
97
  onClick: function onClick() {
98
98
  if (data.contractId) {
99
- downloadFile("/cloudFile/common/downloadFile?id=".concat(data.contractId, "&token=").concat(token), {}, 'form');
99
+ downloadFile("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data.contractId, "&token=").concat(token), {}, 'form');
100
100
  } else {
101
101
  message.warning('还没有合同生成');
102
102
  }
@@ -109,7 +109,7 @@ var Content = function Content(_ref) {
109
109
  prefixCls: 'my-message'
110
110
  });
111
111
  if (data.contractPdfId) {
112
- downloadFile("/cloudFile/common/downloadFile?id=".concat(data.contractPdfId, "&token=").concat(token), {}, 'form');
112
+ downloadFile("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data.contractPdfId, "&token=").concat(token), {}, 'form');
113
113
  } else {
114
114
  message.warning('还没有合同生成');
115
115
  }
@@ -161,7 +161,7 @@ var Content = function Content(_ref) {
161
161
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(data === null || data === void 0 ? void 0 : data.firstSign, "&token=").concat(token),
162
162
  preview: {
163
163
  destroyOnClose: true,
164
- src: "/cloudFile/common/downloadFile?id=".concat(data === null || data === void 0 ? void 0 : data.firstSign, "&token=").concat(token),
164
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data === null || data === void 0 ? void 0 : data.firstSign, "&token=").concat(token),
165
165
  maskClassName: 'maskClass'
166
166
  },
167
167
  alt: "\u7B7E\u5B57",
@@ -210,7 +210,7 @@ var Content = function Content(_ref) {
210
210
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(data === null || data === void 0 ? void 0 : data.secondSign, "&token=").concat(token),
211
211
  preview: {
212
212
  destroyOnClose: true,
213
- src: "/cloudFile/common/downloadFile?id=".concat(data === null || data === void 0 ? void 0 : data.secondSign, "&token=").concat(token),
213
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data === null || data === void 0 ? void 0 : data.secondSign, "&token=").concat(token),
214
214
  maskClassName: 'maskClass'
215
215
  },
216
216
  alt: "\u7B7E\u5B57",
@@ -60,108 +60,108 @@ export var QD_DETAIL_FIELDS = [{
60
60
  label: '二维码'
61
61
  }];
62
62
  export var RestaurantConfigureEnum = {
63
- /**
64
- * 编号
63
+ /**
64
+ * 编号
65
65
  */
66
66
  CODE: 'code',
67
- /**
68
- * 产生单位名称
67
+ /**
68
+ * 产生单位名称
69
69
  */
70
70
  NAME: 'name',
71
- /**
72
- * 店铺名称
71
+ /**
72
+ * 店铺名称
73
73
  */
74
74
  SHORT_NAME: 'shortName',
75
- /**
76
- * 行政区划名称
75
+ /**
76
+ * 行政区划名称
77
77
  */
78
78
  DIVISION_NAME: 'divisionId',
79
- /**
80
- * 联系人
79
+ /**
80
+ * 联系人
81
81
  */
82
82
  CONTACT_PERSON: 'contactPerson',
83
- /**
84
- * 联系方式
83
+ /**
84
+ * 联系方式
85
85
  */
86
86
  CONTACT_PHONE: 'contactPhone',
87
- /**
88
- * 身份证号
87
+ /**
88
+ * 身份证号
89
89
  */
90
90
  CARD_ID: 'cardId',
91
- /**
92
- * 商户地址
91
+ /**
92
+ * 商户地址
93
93
  */
94
94
  ADDRESS: 'address',
95
- /**
96
- * 经纬度
95
+ /**
96
+ * 经纬度
97
97
  */
98
98
  LOCATION: 'location',
99
- /**
100
- * 产生单位状态
99
+ /**
100
+ * 产生单位状态
101
101
  */
102
102
  SIGNED_STATUS: 'signedStatus',
103
- /**
104
- * 签约状态
103
+ /**
104
+ * 签约状态
105
105
  */
106
106
  IS_SIGN: 'isSign',
107
- /**
108
- * 收集类型
107
+ /**
108
+ * 收集类型
109
109
  */
110
110
  COLLECT_STATUS: 'collectStatus',
111
- /**
112
- * 收集点
111
+ /**
112
+ * 收集点
113
113
  */
114
114
  SY_POINT_NAME: 'syPointId',
115
- /**
116
- * 商户类型名称
115
+ /**
116
+ * 商户类型名称
117
117
  */
118
118
  CLASSES_NAME: 'classesId',
119
- /**
120
- * 规模名称
119
+ /**
120
+ * 规模名称
121
121
  */
122
122
  SCALE_NAME: 'scaleId',
123
- /**
124
- * 垃圾桶个数
123
+ /**
124
+ * 垃圾桶个数
125
125
  */
126
126
  TRASH_CAN_NUM: 'trashCanNum',
127
- /**
128
- * 统一社会信用代码
127
+ /**
128
+ * 统一社会信用代码
129
129
  */
130
130
  CREDIT_CODE: 'creditCode',
131
- /**
132
- * 行业名称
131
+ /**
132
+ * 行业名称
133
133
  */
134
134
  INDUSTRY_NAME: 'industryId',
135
- /**
136
- * 经营范围
135
+ /**
136
+ * 经营范围
137
137
  */
138
138
  BUSINESS_SCOPE: 'businessScope',
139
- /**
140
- * 注册资金
139
+ /**
140
+ * 注册资金
141
141
  */
142
142
  REGISTER_MONEY: 'registerMoney',
143
- /**
144
- * 企业成立时间
143
+ /**
144
+ * 企业成立时间
145
145
  */
146
146
  ESTABLISHED_TIME: 'establishedTime',
147
- /**
148
- * 建议收集时间
147
+ /**
148
+ * 建议收集时间
149
149
  */
150
150
  SUGGEST_COLLECT_TIME: 'suggestCollectTime',
151
- /**
152
- * 营业时间段
151
+ /**
152
+ * 营业时间段
153
153
  */
154
154
  BUSINESS_TIME: 'businessTime',
155
- /**
156
- * 垃圾桶摆放位置图片
155
+ /**
156
+ * 垃圾桶摆放位置图片
157
157
  */
158
158
  TRASH_BIN_LOCATION_PHOTO: 'trashBinLocationPhoto',
159
- /**
160
- * 商户图片
159
+ /**
160
+ * 商户图片
161
161
  */
162
162
  PHOTO_IDS: 'photoIds',
163
- /**
164
- * 证件图片
163
+ /**
164
+ * 证件图片
165
165
  */
166
166
  PAPER_FILE_IDS: 'paperFileIds'
167
167
  };
@@ -223,8 +223,8 @@ var Work = function Work(props) {
223
223
  var query = buildIframeQuery(location.href.split('?')[1], {
224
224
  carId: record.workCarId,
225
225
  theme: theme === 'blue' ? 'dark' : theme,
226
- startTime: dayjs(date).format('YYYY-MM-DD 00:00:00'),
227
- endTime: dayjs(date).format('YYYY-MM-DD 23:59:59')
226
+ startTime: dayjs(day).format('YYYY-MM-DD 00:00:00'),
227
+ endTime: dayjs(day).format('YYYY-MM-DD 23:59:59')
228
228
  });
229
229
  var src = "".concat(prefix, "/carHistory/#/zyqsLaneHistory?").concat(query);
230
230
  setIframeModalInfo({
@@ -57,6 +57,9 @@ var Calendar = function Calendar(_ref) {
57
57
  }
58
58
  var dateCellRender = function dateCellRender(value) {
59
59
  var date = dayjs(value).format('YYYY-MM-DD');
60
+ if (dayjs().isBefore(dayjs(value))) {
61
+ return null;
62
+ }
60
63
  var info = calendarInfo[date];
61
64
  var _ref2 = info || {},
62
65
  planMileage = _ref2.planMileage,
@@ -1,32 +1,32 @@
1
- .road-statistic-summary-main-rate {
2
- --bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
3
- &-dark {
4
- --bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
5
- }
6
- width: 100%;
7
- height: 130px;
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-around;
11
- padding: 0 24px;
12
- background: var(--bg-color);
13
- border-radius: 8px;
14
- &--block {
15
- width: 8px;
16
- height: 8px;
17
- border-radius: 50%;
18
- }
19
- &--label {
20
- display: flex;
21
- gap: 4px;
22
- align-items: center;
23
- font-size: 16px;
24
- color: var(--img-text-color);
25
- }
26
- &--value {
27
- margin-left: 12px;
28
- font-weight: bold;
29
- font-size: 24px;
30
- color: #1F1F1F;
31
- }
32
- }
1
+ .road-statistic-summary-main-rate {
2
+ --bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
3
+ &-dark {
4
+ --bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
5
+ }
6
+ width: 100%;
7
+ height: 130px;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-around;
11
+ padding: 0 24px;
12
+ background: var(--bg-color);
13
+ border-radius: 8px;
14
+ &--block {
15
+ width: 8px;
16
+ height: 8px;
17
+ border-radius: 50%;
18
+ }
19
+ &--label {
20
+ display: flex;
21
+ gap: 4px;
22
+ align-items: center;
23
+ font-size: 16px;
24
+ color: var(--img-text-color);
25
+ }
26
+ &--value {
27
+ margin-left: 12px;
28
+ font-weight: bold;
29
+ font-size: 24px;
30
+ color: #1F1F1F;
31
+ }
32
+ }
@@ -36,7 +36,7 @@ var Left = function Left(_ref) {
36
36
  children: photos.length ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
37
37
  children: photos.map(function (item) {
38
38
  return /*#__PURE__*/_jsx(VtxImage, {
39
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token')),
39
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token')),
40
40
  alt: item.name
41
41
  }, item.id);
42
42
  })
@@ -108,7 +108,7 @@ var BaseService = {
108
108
  lng: mapInfoRes.data.lngDone,
109
109
  lat: mapInfoRes.data.latDone,
110
110
  // labelClass: 'vtx-map-carCode',
111
- url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data3 = mapInfoRes.data) !== null && _mapInfoRes$data3 !== void 0 && _mapInfoRes$data3.icon ? "/cloudFile/common/downloadFile?id=".concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data4 = mapInfoRes.data) === null || _mapInfoRes$data4 === void 0 ? void 0 : _mapInfoRes$data4.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
111
+ url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data3 = mapInfoRes.data) !== null && _mapInfoRes$data3 !== void 0 && _mapInfoRes$data3.icon ? "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data4 = mapInfoRes.data) === null || _mapInfoRes$data4 === void 0 ? void 0 : _mapInfoRes$data4.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
112
112
  canvasIcon: 'PERSONNEL',
113
113
  color: (mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data5 = mapInfoRes.data) === null || _mapInfoRes$data5 === void 0 ? void 0 : _mapInfoRes$data5.statusCode) === 'Normal' ? '#119FFB' : '#999999'
114
114
  }).getImgUrl() : new MapIcon.CommonIcon({
@@ -1,5 +1,5 @@
1
- /**
2
- * 区域进场量分析
1
+ /**
2
+ * 区域进场量分析
3
3
  */
4
4
 
5
5
  import { Col, Row } from 'antd';
@@ -67,7 +67,7 @@ var BaseInfo = function BaseInfo(props) {
67
67
  padding: '0 12px 12px'
68
68
  },
69
69
  children: /*#__PURE__*/_jsx(VtxImage, {
70
- src: "/cloudFile/common/downloadFile?id=".concat(photos[0].id, "&token=").concat(getVtxToken('token')),
70
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(photos[0].id, "&token=").concat(getVtxToken('token')),
71
71
  alt: photos[0].name,
72
72
  isDark: true,
73
73
  style: {
@@ -16,7 +16,7 @@ var preview = function preview() {
16
16
  id: '',
17
17
  name: ''
18
18
  };
19
- window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin, "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
19
+ window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin).concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
20
20
  };
21
21
  export var renderFile = function renderFile(list) {
22
22
  return list.map(function (item) {
@@ -32,7 +32,7 @@ export var renderFile = function renderFile(list) {
32
32
  children: "\u9884\u89C8"
33
33
  }), /*#__PURE__*/_jsx(Button, {
34
34
  onClick: function onClick() {
35
- return window.open("/cloudFile/common/downloadFile?token=".concat(getVtxToken('token'), "&id=").concat(item.id));
35
+ return window.open("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id));
36
36
  },
37
37
  children: "\u4E0B\u8F7D"
38
38
  })]
@@ -147,7 +147,7 @@ export default (function (props) {
147
147
  }), ((_each$component2 = each.component) === null || _each$component2 === void 0 ? void 0 : _each$component2.type) === 'IMAGE' ? (_item$dataJson = item.dataJson) !== null && _item$dataJson !== void 0 && _item$dataJson[each.showKey] ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
148
148
  children: JSON.parse((_item$dataJson2 = item.dataJson) === null || _item$dataJson2 === void 0 ? void 0 : _item$dataJson2[each.showKey]).map(function (a) {
149
149
  return /*#__PURE__*/_jsx(VtxImage, {
150
- src: "/cloudFile/common/downloadFile?id=".concat(a.id, "&token=").concat(getVtxToken('token')),
150
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(a.id, "&token=").concat(getVtxToken('token')),
151
151
  alt: a.name,
152
152
  style: {
153
153
  width: '56px',
@@ -156,7 +156,7 @@ export default function viewRichText(_ref) {
156
156
  },
157
157
  children: [/*#__PURE__*/_jsx("img", {
158
158
  className: classNames('sign_pic'),
159
- src: "/cloudFile/common/downloadFile?id=".concat(arr[0].id)
159
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(arr[0].id)
160
160
  }), /*#__PURE__*/_jsxs("span", {
161
161
  className: classNames('sign_opera'),
162
162
  children: [/*#__PURE__*/_jsx(EyeOutlined, {
@@ -22,7 +22,7 @@ var preview = function preview() {
22
22
  id: '',
23
23
  name: ''
24
24
  };
25
- window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin, "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
25
+ window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin).concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
26
26
  };
27
27
  var renderFile = function renderFile(list) {
28
28
  return list.map(function (item) {
@@ -38,7 +38,7 @@ var renderFile = function renderFile(list) {
38
38
  children: "\u9884\u89C8"
39
39
  }), /*#__PURE__*/_jsx(Button, {
40
40
  onClick: function onClick() {
41
- return window.open("/cloudFile/common/downloadFile?token=".concat(getVtxToken('token'), "&id=").concat(item.id));
41
+ return window.open("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id));
42
42
  },
43
43
  children: "\u4E0B\u8F7D"
44
44
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/modals2",
3
- "version": "5.0.63",
3
+ "version": "5.0.65",
4
4
  "description": "弹窗组件",
5
5
  "license": "MIT",
6
6
  "module": "lib/index.js",
@@ -26,8 +26,8 @@
26
26
  "base-64": "^1.0.0",
27
27
  "htmr": "^1.0.2",
28
28
  "number-precision": "^1.6.0",
29
- "react-tagcloud": "^2.3.3",
30
- "proj4": "^2.20.8"
29
+ "proj4": "^2.20.8",
30
+ "react-tagcloud": "^2.3.3"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@ant-design/icons": "4.7.0",
@@ -35,6 +35,7 @@
35
35
  "@babel/runtime": "^7.6.3",
36
36
  "@commitlint/cli": "^17.1.2",
37
37
  "@commitlint/config-conventional": "^17.1.0",
38
+ "@turf/turf": "^7.3.4",
38
39
  "@types/lodash": "^4.14.202",
39
40
  "@types/qs": "^6.9.11",
40
41
  "@types/react": "^18.0.0",
@@ -43,9 +44,7 @@
43
44
  "@vtx/components": "^3.1.166",
44
45
  "@vtx/ol-map": "^1.0.170",
45
46
  "@vtx/player": "latest",
46
- "@vtx/utils": "^1.0.20",
47
- "@turf/turf": "^7.3.4",
48
- "ol": "6.15.1",
47
+ "@vtx/utils": "1.0.29",
49
48
  "ahooks": "^3.1.5",
50
49
  "antd": "^4.24.16",
51
50
  "antd-dayjs-webpack-plugin": "^1.0.6",
@@ -62,6 +61,7 @@
62
61
  "husky": "^8.0.1",
63
62
  "lint-staged": "^13.0.3",
64
63
  "lodash": "^4.17.21",
64
+ "ol": "6.15.1",
65
65
  "prettier": "^2.7.1",
66
66
  "prettier-plugin-organize-imports": "^3.0.0",
67
67
  "prettier-plugin-packagejson": "^2.2.18",