@vtx/modals2 5.0.14 → 5.0.15
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-card-statistics/index.less +27 -27
- package/lib/_components/vm-extra-tab/style/index.less +1 -1
- package/lib/_components/vm-factor/index.js +1 -1
- package/lib/_components/vm-factor-list/index.js +4 -1
- package/lib/_components/vm-factor-list/index.less +11 -11
- package/lib/_components/vm-filter/style/index.less +4 -3
- package/lib/_components/vm-pie-charts/index.js +3 -0
- package/lib/_components/vm-table/index.js +4 -4
- package/lib/_components/vm-wrapper/style/index.less +1 -1
- package/lib/_util/iconSvgHtml.js +653 -224
- package/lib/index.js +4 -1
- package/lib/style/index.less +1 -6
- package/lib/vtx-base-modal/Header/index.less +98 -98
- package/lib/vtx-base-modal/Tabs/index.js +28 -3
- package/lib/vtx-base-modal/Tabs/index.less +31 -31
- package/lib/vtx-base-modal/index.js +2 -2
- package/lib/vtx-base-modal/style/index.less +3 -1
- 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-car-modal/index.js +29 -29
- package/lib/vtx-cc-cp-modal/index.js +6 -6
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
- package/lib/vtx-cc-unit-modal/index.js +6 -6
- package/lib/vtx-cp-modal/index.js +10 -14
- package/lib/vtx-default-modal/components/BaseInfo/index.less +1 -0
- package/lib/vtx-default-modal/index.js +3 -3
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
- package/lib/vtx-device-modal/index.js +5 -5
- package/lib/vtx-df-modal/index.js +5 -6
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Base/index.js +20 -0
- package/lib/vtx-jzlj-gcxm-modal/components/index.js +2 -0
- package/lib/vtx-jzlj-gcxm-modal/index.js +77 -0
- package/lib/vtx-jzlj-gcxm-modal/style/index.js +1 -0
- package/lib/vtx-jzlj-gcxm-modal/style/index.less +1 -0
- package/lib/vtx-qyry-modal/index.js +6 -6
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
- package/lib/vtx-restaurant-modal/config.js +52 -52
- package/lib/vtx-restaurant-modal/index.js +6 -6
- package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
- package/lib/vtx-road-modal/index.js +3 -3
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.less +6 -0
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/index.js +2 -2
- package/lib/vtx-staff-modal/index.js +5 -9
- package/lib/vtx-tfd-modal/index.js +2 -2
- package/lib/vtx-wr-modal/components/Base/Ptss.js +71 -31
- package/lib/vtx-wr-modal/components/Base/assets/alert.png +0 -0
- package/lib/vtx-wr-modal/components/Base/index.js +15 -3
- package/lib/vtx-wr-modal/components/Base/index.less +14 -1
- package/lib/vtx-wr-modal/index.js +3 -1
- package/lib/vtx-zf-modal/components/Record/index.js +10 -2
- package/lib/vtx-zf-modal/index.js +1 -17
- package/lib/vtx-zzz-modal/style/index.js +1 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -42,7 +42,7 @@ export default function VmFactor(_ref) {
|
|
|
42
42
|
return /*#__PURE__*/_jsxs("div", {
|
|
43
43
|
className: "".concat(prefix, " ").concat(isDark ? 'isDark' : ''),
|
|
44
44
|
style: style,
|
|
45
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
45
|
+
children: [img && /*#__PURE__*/_jsx("div", {
|
|
46
46
|
children: /*#__PURE__*/_jsx("img", {
|
|
47
47
|
src: img
|
|
48
48
|
})
|
|
@@ -12,13 +12,16 @@ import { createElement as _createElement } from "react";
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
var VmFactorList = function VmFactorList(_ref) {
|
|
14
14
|
var _ref$list = _ref.list,
|
|
15
|
-
list = _ref$list === void 0 ? [] : _ref$list
|
|
15
|
+
list = _ref$list === void 0 ? [] : _ref$list,
|
|
16
|
+
_ref$style = _ref.style,
|
|
17
|
+
style = _ref$style === void 0 ? {} : _ref$style;
|
|
16
18
|
var _useSettings = useSettings(),
|
|
17
19
|
isDark = _useSettings.isDark;
|
|
18
20
|
return /*#__PURE__*/_jsx("div", {
|
|
19
21
|
className: classNames('vm-factor-list-wrap', {
|
|
20
22
|
dark: isDark
|
|
21
23
|
}),
|
|
24
|
+
style: style,
|
|
22
25
|
children: list.map(function (item) {
|
|
23
26
|
return /*#__PURE__*/_createElement(VmFactor, _objectSpread(_objectSpread({}, item), {}, {
|
|
24
27
|
key: item.name
|
|
@@ -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
|
+
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
background-color: var(--bg-color) !important;
|
|
20
20
|
border: var(--border) !important;
|
|
21
|
+
border-radius: 6px;
|
|
21
22
|
|
|
22
23
|
.ant-picker-suffix {
|
|
23
24
|
color: var(--color);
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
|
|
60
61
|
.ant-select-selector {
|
|
61
62
|
background: var(--bg-color) !important;
|
|
62
|
-
border-radius:
|
|
63
|
+
border-radius: 6px !important;
|
|
63
64
|
border: 1px solid var(--border-color) !important;
|
|
64
65
|
}
|
|
65
66
|
.ant-select-selection-placeholder {
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
.vm-input {
|
|
88
89
|
color: var(--color);
|
|
89
90
|
background: var(--bg-color);
|
|
90
|
-
border-radius:
|
|
91
|
+
border-radius: 6px;
|
|
91
92
|
border: 1px solid var(--bg-color);
|
|
92
93
|
&:hover {
|
|
93
94
|
border: 1px solid var(--hover-color);
|
|
@@ -95,7 +96,7 @@
|
|
|
95
96
|
.ant-input {
|
|
96
97
|
color: var(--color);
|
|
97
98
|
background: var(--bg-color);
|
|
98
|
-
border-radius:
|
|
99
|
+
border-radius: 6px;
|
|
99
100
|
border: 1px solid var(--bg-color);
|
|
100
101
|
}
|
|
101
102
|
}
|
|
@@ -155,6 +155,9 @@ var PieCharts = function PieCharts(_ref) {
|
|
|
155
155
|
children: loading ? /*#__PURE__*/_jsx(Spin, {}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
156
156
|
children: [/*#__PURE__*/_jsxs("div", {
|
|
157
157
|
className: 'vtx-car-pie-charts-title-wrap',
|
|
158
|
+
style: {
|
|
159
|
+
left: (center === null || center === void 0 ? void 0 : center[0]) || '25%'
|
|
160
|
+
},
|
|
158
161
|
children: [/*#__PURE__*/_jsx("div", {
|
|
159
162
|
className: 'vtx-car-pie-charts-total',
|
|
160
163
|
style: {
|