@vtx/modals2 6.0.0-beta.11 → 6.0.0-beta.12
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/lib/_components/vm-appraisal-info/index.js +6 -31
- package/lib/_components/vm-card-statistics/index.less +27 -27
- package/lib/_components/vm-factor-list/index.less +11 -11
- package/lib/_components/vm-video/index.less +18 -18
- package/lib/vtx-car-modal/components/Info/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
- package/lib/vtx-road-modal/index.js +4 -4
- package/package.json +92 -92
|
@@ -4,21 +4,21 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
7
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
12
8
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
14
9
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
15
10
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
11
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
12
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
16
14
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
16
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
17
|
import { VtxImage } from '@vtx/components';
|
|
18
18
|
import { useSetState } from 'ahooks';
|
|
19
19
|
import dayjs from 'dayjs';
|
|
20
|
-
import { translateLocaleText } from "../../hooks/useTranslation.js";
|
|
21
20
|
import useSettings from "../../_hooks/useSettings";
|
|
21
|
+
import { translateLocaleText } from "../../hooks/useTranslation.js";
|
|
22
22
|
import VmFactor from "../vm-factor";
|
|
23
23
|
import VmFilter from "../vm-filter";
|
|
24
24
|
import VmTable from "../vm-table";
|
|
@@ -27,31 +27,6 @@ import { BaseService, ReocrdService } from "./api";
|
|
|
27
27
|
import "./index.less";
|
|
28
28
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
29
|
export var APPRAISAL_TAB_KEY = 'appraisal';
|
|
30
|
-
export var getAppraisalTab = function getAppraisalTab() {
|
|
31
|
-
return {
|
|
32
|
-
key: APPRAISAL_TAB_KEY,
|
|
33
|
-
title: translateLocaleText("t('vtxwrmodal.assessmentInformation')")
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export var isAppraisalTab = function isAppraisalTab(tab) {
|
|
37
|
-
return (tab === null || tab === void 0 ? void 0 : tab.key) === APPRAISAL_TAB_KEY || "".concat((tab === null || tab === void 0 ? void 0 : tab.key) || '').endsWith('-appraisal');
|
|
38
|
-
};
|
|
39
|
-
export var insertAppraisalTab = function insertAppraisalTab() {
|
|
40
|
-
var tabs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
41
|
-
if (!Array.isArray(tabs) || tabs.length === 0) {
|
|
42
|
-
return tabs;
|
|
43
|
-
}
|
|
44
|
-
if (tabs.some(isAppraisalTab)) {
|
|
45
|
-
return tabs;
|
|
46
|
-
}
|
|
47
|
-
var customIndex = tabs.findIndex(function (tab) {
|
|
48
|
-
return !!(tab !== null && tab !== void 0 && tab.url);
|
|
49
|
-
});
|
|
50
|
-
if (customIndex === -1) {
|
|
51
|
-
return [].concat(_toConsumableArray(tabs), [getAppraisalTab()]);
|
|
52
|
-
}
|
|
53
|
-
return [].concat(_toConsumableArray(tabs.slice(0, customIndex)), [getAppraisalTab()], _toConsumableArray(tabs.slice(customIndex)));
|
|
54
|
-
};
|
|
55
30
|
var AppraisalInfo = function AppraisalInfo(props) {
|
|
56
31
|
var _useSettings = useSettings(),
|
|
57
32
|
isDark = _useSettings.isDark;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
.vm-car-statistics {
|
|
2
|
-
width: 208px;
|
|
3
|
-
height: 84px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
padding: 20px;
|
|
8
|
-
background-size: 100% 100%;
|
|
9
|
-
&-label {
|
|
10
|
-
color: var(--img-text-color);
|
|
11
|
-
}
|
|
12
|
-
&-value, &-unit {
|
|
13
|
-
color: #1f1f1f;
|
|
14
|
-
}
|
|
15
|
-
&.vm-car-statistics-dark {
|
|
16
|
-
.vm-car-statistics-value,.vm-car-statistics-unit {
|
|
17
|
-
background: linear-gradient(180deg, #ffffff 0%, #119FFB 100%);
|
|
18
|
-
background-clip: text;
|
|
19
|
-
-webkit-text-fill-color: transparent;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
&-value {
|
|
23
|
-
font-size: 20px;
|
|
24
|
-
font-weight: bold;
|
|
25
|
-
margin-right: 4px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
.vm-car-statistics {
|
|
2
|
+
width: 208px;
|
|
3
|
+
height: 84px;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
background-size: 100% 100%;
|
|
9
|
+
&-label {
|
|
10
|
+
color: var(--img-text-color);
|
|
11
|
+
}
|
|
12
|
+
&-value, &-unit {
|
|
13
|
+
color: #1f1f1f;
|
|
14
|
+
}
|
|
15
|
+
&.vm-car-statistics-dark {
|
|
16
|
+
.vm-car-statistics-value,.vm-car-statistics-unit {
|
|
17
|
+
background: linear-gradient(180deg, #ffffff 0%, #119FFB 100%);
|
|
18
|
+
background-clip: text;
|
|
19
|
+
-webkit-text-fill-color: transparent;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&-value {
|
|
23
|
+
font-size: 20px;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
margin-right: 4px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.vm-factor-list-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: 12px 16px;
|
|
4
|
-
height: 68px;
|
|
5
|
-
background: #F3F8FF;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
gap: 26px;
|
|
8
|
-
&.dark {
|
|
9
|
-
background: rgba(0,136,240,0.15);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
.vm-factor-list-wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: 12px 16px;
|
|
4
|
+
height: 68px;
|
|
5
|
+
background: #F3F8FF;
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
gap: 26px;
|
|
8
|
+
&.dark {
|
|
9
|
+
background: rgba(0,136,240,0.15);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
padding-top: 12px;
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
|
|
62
|
-
.channels--item {
|
|
63
|
-
svg {
|
|
64
|
-
display: block;
|
|
65
|
-
margin-right: 2px;
|
|
66
|
-
}
|
|
67
|
-
.ant-checkbox {
|
|
68
|
-
top: 0;
|
|
62
|
+
.channels--item {
|
|
63
|
+
svg {
|
|
64
|
+
display: block;
|
|
65
|
+
margin-right: 2px;
|
|
66
|
+
}
|
|
67
|
+
.ant-checkbox {
|
|
68
|
+
top: 0;
|
|
69
69
|
}
|
|
70
70
|
.ant-checkbox-checked .ant-checkbox-inner {
|
|
71
71
|
background-color: var(--check-bg);
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
width: 15px;
|
|
79
79
|
height: 15px;
|
|
80
80
|
}
|
|
81
|
-
.ant-checkbox-wrapper {
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
font-size: 15px;
|
|
85
|
-
// color: var(--modal-title-color);
|
|
86
|
-
}
|
|
87
|
-
.ant-checkbox + span {
|
|
88
|
-
display: inline-flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
padding: 0 4px;
|
|
91
|
-
}
|
|
81
|
+
.ant-checkbox-wrapper {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
font-size: 15px;
|
|
85
|
+
// color: var(--modal-title-color);
|
|
86
|
+
}
|
|
87
|
+
.ant-checkbox + span {
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
padding: 0 4px;
|
|
91
|
+
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vm-car-map-wrap {
|
|
2
|
-
flex: 1;
|
|
3
|
-
min-height: 0;
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin-top: 10px;
|
|
6
|
-
}
|
|
1
|
+
.vm-car-map-wrap {
|
|
2
|
+
flex: 1;
|
|
3
|
+
min-height: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vtx-car-oil-wrap {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
1
|
+
.vtx-car-oil-wrap {
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vtx-car-water-wrap {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
1
|
+
.vtx-car-water-wrap {
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vm-cc-unit-map-wrap {
|
|
2
|
-
flex: 1;
|
|
3
|
-
min-height: 230px;
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin-top: 10px;
|
|
6
|
-
}
|
|
1
|
+
.vm-cc-unit-map-wrap {
|
|
2
|
+
flex: 1;
|
|
3
|
+
min-height: 230px;
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
}
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
.vtx-device-analysis-dot {
|
|
2
|
-
width: 6px;
|
|
3
|
-
height: 6px;
|
|
4
|
-
background: var(--green-color);
|
|
5
|
-
border-radius: 50%;
|
|
6
|
-
&.error {
|
|
7
|
-
background: var(--red-color);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.vtx-device-analysis-tabs {
|
|
12
|
-
display: flex;
|
|
13
|
-
gap: 16px;
|
|
14
|
-
color: var(--modal-title-color);
|
|
15
|
-
font-size: 14px;
|
|
16
|
-
&-item {
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
&.active {
|
|
19
|
-
color: var(--blue-color);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.vtx-device-alarm-summary {
|
|
25
|
-
width: 368px;
|
|
26
|
-
height: 104px;
|
|
27
|
-
padding: 20px;
|
|
28
|
-
margin-bottom: 20px;
|
|
29
|
-
color: var(--modal-title-color);
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
background-image: url("../../imgs/current.png");
|
|
35
|
-
background-size: 100% 100%;
|
|
36
|
-
border-radius: 8px;
|
|
37
|
-
border: 1px solid transparent;
|
|
38
|
-
&-lable {
|
|
39
|
-
font-size: 16px;
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
}
|
|
42
|
-
&-value {
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
font-size: 24px;
|
|
45
|
-
color: var(--red-color);
|
|
46
|
-
}
|
|
47
|
-
&.dark {
|
|
48
|
-
background-image: url("../../imgs/current_dark.png");
|
|
49
|
-
&:last-child {
|
|
50
|
-
background-image: url("../../imgs/history_dark.png");
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
&.active {
|
|
54
|
-
border:1px solid var(--red-color);
|
|
55
|
-
}
|
|
56
|
-
&:last-child {
|
|
57
|
-
margin-bottom: 0;
|
|
58
|
-
background-image: url("../../imgs/history.png");
|
|
59
|
-
.vtx-device-alarm-summary-value {
|
|
60
|
-
color: var(--yellow-color);
|
|
61
|
-
}
|
|
62
|
-
&.active {
|
|
63
|
-
border:1px solid var(--yellow-color);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
.vtx-device-analysis-dot {
|
|
2
|
+
width: 6px;
|
|
3
|
+
height: 6px;
|
|
4
|
+
background: var(--green-color);
|
|
5
|
+
border-radius: 50%;
|
|
6
|
+
&.error {
|
|
7
|
+
background: var(--red-color);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.vtx-device-analysis-tabs {
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: 16px;
|
|
14
|
+
color: var(--modal-title-color);
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
&-item {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
&.active {
|
|
19
|
+
color: var(--blue-color);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.vtx-device-alarm-summary {
|
|
25
|
+
width: 368px;
|
|
26
|
+
height: 104px;
|
|
27
|
+
padding: 20px;
|
|
28
|
+
margin-bottom: 20px;
|
|
29
|
+
color: var(--modal-title-color);
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
background-image: url("../../imgs/current.png");
|
|
35
|
+
background-size: 100% 100%;
|
|
36
|
+
border-radius: 8px;
|
|
37
|
+
border: 1px solid transparent;
|
|
38
|
+
&-lable {
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
}
|
|
42
|
+
&-value {
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
font-size: 24px;
|
|
45
|
+
color: var(--red-color);
|
|
46
|
+
}
|
|
47
|
+
&.dark {
|
|
48
|
+
background-image: url("../../imgs/current_dark.png");
|
|
49
|
+
&:last-child {
|
|
50
|
+
background-image: url("../../imgs/history_dark.png");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&.active {
|
|
54
|
+
border:1px solid var(--red-color);
|
|
55
|
+
}
|
|
56
|
+
&:last-child {
|
|
57
|
+
margin-bottom: 0;
|
|
58
|
+
background-image: url("../../imgs/history.png");
|
|
59
|
+
.vtx-device-alarm-summary-value {
|
|
60
|
+
color: var(--yellow-color);
|
|
61
|
+
}
|
|
62
|
+
&.active {
|
|
63
|
+
border:1px solid var(--yellow-color);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.vtx-restaurant-rule_item {
|
|
2
|
-
border-radius: 8px 8px 8px 8px;
|
|
3
|
-
border: 1px solid var(--gray-line-color);
|
|
4
|
-
padding: 16px 16px 8px;
|
|
5
|
-
margin-top: 12px;
|
|
6
|
-
position: relative;
|
|
7
|
-
.vtx-restaurant-border {
|
|
8
|
-
width: 100%;
|
|
9
|
-
position: absolute;
|
|
10
|
-
left: 0;
|
|
11
|
-
top: -2px;
|
|
12
|
-
height: 44px;
|
|
13
|
-
border-radius: 8px 8px 0px 0px;
|
|
14
|
-
border-top: 2px solid var(--blue-color);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
.vtx-restaurant-rule_item {
|
|
2
|
+
border-radius: 8px 8px 8px 8px;
|
|
3
|
+
border: 1px solid var(--gray-line-color);
|
|
4
|
+
padding: 16px 16px 8px;
|
|
5
|
+
margin-top: 12px;
|
|
6
|
+
position: relative;
|
|
7
|
+
.vtx-restaurant-border {
|
|
8
|
+
width: 100%;
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 0;
|
|
11
|
+
top: -2px;
|
|
12
|
+
height: 44px;
|
|
13
|
+
border-radius: 8px 8px 0px 0px;
|
|
14
|
+
border-top: 2px solid var(--blue-color);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -12,13 +12,13 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { useSetState } from 'ahooks';
|
|
14
14
|
import { VmIframeModal } from "../_components";
|
|
15
|
-
import Appraisal
|
|
15
|
+
import Appraisal from "../_components/vm-appraisal-info";
|
|
16
16
|
import useGetConfig from "../_hooks/useGetConfig";
|
|
17
17
|
import VtxBaseModal from "../vtx-base-modal";
|
|
18
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
18
19
|
import { BaseService } from "./api";
|
|
19
|
-
import { BaseInfo, Calendar,
|
|
20
|
+
import { BaseInfo, Calendar, LaneBaseInfo, LaneCalendar, LaneStatistical, Statistical } from "./components";
|
|
20
21
|
import "./style/index";
|
|
21
|
-
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
22
22
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
var TABS_BASE = 'base';
|
|
24
24
|
var TABS_STATIC = 'statistical';
|
|
@@ -96,7 +96,7 @@ var VtxRoadModal = function VtxRoadModal(props) {
|
|
|
96
96
|
theme: theme,
|
|
97
97
|
visible: visible,
|
|
98
98
|
onCancel: onCancel,
|
|
99
|
-
tabs:
|
|
99
|
+
tabs: tabsData,
|
|
100
100
|
tabChose: tabChose,
|
|
101
101
|
startDate: startDate,
|
|
102
102
|
endDate: endDate,
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vtx/modals2",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
4
|
-
"description": "弹窗组件",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"module": "lib/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"lib"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "father build",
|
|
13
|
-
"build:watch": "father dev",
|
|
14
|
-
"dev": "dumi dev",
|
|
15
|
-
"docs:build": "dumi build",
|
|
16
|
-
"docs:preview": "dumi preview",
|
|
17
|
-
"doctor": "father doctor",
|
|
18
|
-
"lint": "npm run lint:es && npm run lint:css",
|
|
19
|
-
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
20
|
-
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
21
|
-
"prepare": "husky install && dumi setup",
|
|
22
|
-
"prepublishOnly": "npm run build",
|
|
23
|
-
"start": "npm run dev"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@turf/turf": "^7.3.4",
|
|
27
|
-
"ahooks": "^3.1.5",
|
|
28
|
-
"axios": "^0.21.1",
|
|
29
|
-
"base-64": "^1.0.0",
|
|
30
|
-
"classnames": "^2.5.1",
|
|
31
|
-
"dayjs": "^1.11.10",
|
|
32
|
-
"echarts": "^5.3.2",
|
|
33
|
-
"echarts-for-react": "3.0.2",
|
|
34
|
-
"htmr": "^1.0.2",
|
|
35
|
-
"lodash": "^4.17.21",
|
|
36
|
-
"number-precision": "^1.6.0",
|
|
37
|
-
"proj4": "^2.20.8",
|
|
38
|
-
"qs": "^6.0.0",
|
|
39
|
-
"react-tagcloud": "^2.3.3",
|
|
40
|
-
"viewerjs": "^1.3.3"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@ant-design/icons": "6.0.0",
|
|
44
|
-
"@babel/preset-react": "^7.28.5",
|
|
45
|
-
"@babel/runtime": "^7.6.3",
|
|
46
|
-
"@commitlint/cli": "^17.1.2",
|
|
47
|
-
"@commitlint/config-conventional": "^17.1.0",
|
|
48
|
-
"@types/lodash": "^4.14.202",
|
|
49
|
-
"@types/qs": "^6.9.11",
|
|
50
|
-
"@types/react": "^18.0.0",
|
|
51
|
-
"@types/react-dom": "^18.0.0",
|
|
52
|
-
"@umijs/lint": "^4.0.0",
|
|
53
|
-
"@vtx/components": "^4.0.0-beta.58",
|
|
54
|
-
"@vtx/map-icon": "^2.0.62",
|
|
55
|
-
"@vtx/ol-map": "^2.0.0-beta.16",
|
|
56
|
-
"@vtx/player": "^1.12.7",
|
|
57
|
-
"@vtx/utils": "^1.0.20",
|
|
58
|
-
"antd": "6.0.0",
|
|
59
|
-
"antd-dayjs-webpack-plugin": "^1.0.6",
|
|
60
|
-
"babel-eslint": "^10.1.0",
|
|
61
|
-
"babel-plugin-import": "^1.13.8",
|
|
62
|
-
"dumi": "^2.2.13",
|
|
63
|
-
"echarts-liquidfill": "^3.1.0",
|
|
64
|
-
"eslint": "^8.23.0",
|
|
65
|
-
"father": "^4.1.0",
|
|
66
|
-
"husky": "^8.0.1",
|
|
67
|
-
"lint-staged": "^13.0.3",
|
|
68
|
-
"ol": "6.15.1",
|
|
69
|
-
"prettier": "^2.7.1",
|
|
70
|
-
"prettier-plugin-organize-imports": "^3.0.0",
|
|
71
|
-
"prettier-plugin-packagejson": "^2.2.18",
|
|
72
|
-
"react": "18.0.0",
|
|
73
|
-
"react-dom": "18.0.0",
|
|
74
|
-
"stylelint": "^14.9.1"
|
|
75
|
-
},
|
|
76
|
-
"peerDependencies": {
|
|
77
|
-
"@ant-design/icons": ">=6",
|
|
78
|
-
"@vtx/components": ">=4.0.0-beta.0",
|
|
79
|
-
"@vtx/map-icon": ">=2.0.0",
|
|
80
|
-
"@vtx/ol-map": ">=2.0.0-beta.0",
|
|
81
|
-
"@vtx/player": ">=1.0.0",
|
|
82
|
-
"@vtx/utils": ">=1.0.20",
|
|
83
|
-
"antd": ">=6",
|
|
84
|
-
"ol": ">=6.15.1",
|
|
85
|
-
"react": ">=18",
|
|
86
|
-
"react-dom": ">=18"
|
|
87
|
-
},
|
|
88
|
-
"publishConfig": {
|
|
89
|
-
"access": "public"
|
|
90
|
-
},
|
|
91
|
-
"authors": []
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@vtx/modals2",
|
|
3
|
+
"version": "6.0.0-beta.12",
|
|
4
|
+
"description": "弹窗组件",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "father build",
|
|
13
|
+
"build:watch": "father dev",
|
|
14
|
+
"dev": "dumi dev",
|
|
15
|
+
"docs:build": "dumi build",
|
|
16
|
+
"docs:preview": "dumi preview",
|
|
17
|
+
"doctor": "father doctor",
|
|
18
|
+
"lint": "npm run lint:es && npm run lint:css",
|
|
19
|
+
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
20
|
+
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
21
|
+
"prepare": "husky install && dumi setup",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
23
|
+
"start": "npm run dev"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@turf/turf": "^7.3.4",
|
|
27
|
+
"ahooks": "^3.1.5",
|
|
28
|
+
"axios": "^0.21.1",
|
|
29
|
+
"base-64": "^1.0.0",
|
|
30
|
+
"classnames": "^2.5.1",
|
|
31
|
+
"dayjs": "^1.11.10",
|
|
32
|
+
"echarts": "^5.3.2",
|
|
33
|
+
"echarts-for-react": "3.0.2",
|
|
34
|
+
"htmr": "^1.0.2",
|
|
35
|
+
"lodash": "^4.17.21",
|
|
36
|
+
"number-precision": "^1.6.0",
|
|
37
|
+
"proj4": "^2.20.8",
|
|
38
|
+
"qs": "^6.0.0",
|
|
39
|
+
"react-tagcloud": "^2.3.3",
|
|
40
|
+
"viewerjs": "^1.3.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@ant-design/icons": "6.0.0",
|
|
44
|
+
"@babel/preset-react": "^7.28.5",
|
|
45
|
+
"@babel/runtime": "^7.6.3",
|
|
46
|
+
"@commitlint/cli": "^17.1.2",
|
|
47
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
48
|
+
"@types/lodash": "^4.14.202",
|
|
49
|
+
"@types/qs": "^6.9.11",
|
|
50
|
+
"@types/react": "^18.0.0",
|
|
51
|
+
"@types/react-dom": "^18.0.0",
|
|
52
|
+
"@umijs/lint": "^4.0.0",
|
|
53
|
+
"@vtx/components": "^4.0.0-beta.58",
|
|
54
|
+
"@vtx/map-icon": "^2.0.62",
|
|
55
|
+
"@vtx/ol-map": "^2.0.0-beta.16",
|
|
56
|
+
"@vtx/player": "^1.12.7",
|
|
57
|
+
"@vtx/utils": "^1.0.20",
|
|
58
|
+
"antd": "6.0.0",
|
|
59
|
+
"antd-dayjs-webpack-plugin": "^1.0.6",
|
|
60
|
+
"babel-eslint": "^10.1.0",
|
|
61
|
+
"babel-plugin-import": "^1.13.8",
|
|
62
|
+
"dumi": "^2.2.13",
|
|
63
|
+
"echarts-liquidfill": "^3.1.0",
|
|
64
|
+
"eslint": "^8.23.0",
|
|
65
|
+
"father": "^4.1.0",
|
|
66
|
+
"husky": "^8.0.1",
|
|
67
|
+
"lint-staged": "^13.0.3",
|
|
68
|
+
"ol": "6.15.1",
|
|
69
|
+
"prettier": "^2.7.1",
|
|
70
|
+
"prettier-plugin-organize-imports": "^3.0.0",
|
|
71
|
+
"prettier-plugin-packagejson": "^2.2.18",
|
|
72
|
+
"react": "18.0.0",
|
|
73
|
+
"react-dom": "18.0.0",
|
|
74
|
+
"stylelint": "^14.9.1"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@ant-design/icons": ">=6",
|
|
78
|
+
"@vtx/components": ">=4.0.0-beta.0",
|
|
79
|
+
"@vtx/map-icon": ">=2.0.0",
|
|
80
|
+
"@vtx/ol-map": ">=2.0.0-beta.0",
|
|
81
|
+
"@vtx/player": ">=1.0.0",
|
|
82
|
+
"@vtx/utils": ">=1.0.20",
|
|
83
|
+
"antd": ">=6",
|
|
84
|
+
"ol": ">=6.15.1",
|
|
85
|
+
"react": ">=18",
|
|
86
|
+
"react-dom": ">=18"
|
|
87
|
+
},
|
|
88
|
+
"publishConfig": {
|
|
89
|
+
"access": "public"
|
|
90
|
+
},
|
|
91
|
+
"authors": []
|
|
92
|
+
}
|