@vtx/modals2 5.0.14 → 5.0.17

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 (64) hide show
  1. package/lib/_components/vm-card-statistics/index.less +27 -27
  2. package/lib/_components/vm-extra-tab/style/index.less +1 -1
  3. package/lib/_components/vm-factor/index.js +1 -1
  4. package/lib/_components/vm-factor-list/index.js +4 -1
  5. package/lib/_components/vm-factor-list/index.less +11 -11
  6. package/lib/_components/vm-filter/style/index.less +4 -3
  7. package/lib/_components/vm-pie-charts/index.js +3 -0
  8. package/lib/_components/vm-table/index.js +4 -4
  9. package/lib/_components/vm-wrapper/style/index.less +1 -1
  10. package/lib/_util/iconSvgHtml.js +653 -224
  11. package/lib/index.js +4 -1
  12. package/lib/style/index.less +1 -6
  13. package/lib/vtx-base-modal/Header/index.less +98 -98
  14. package/lib/vtx-base-modal/Tabs/index.js +31 -4
  15. package/lib/vtx-base-modal/Tabs/index.less +54 -31
  16. package/lib/vtx-base-modal/index.js +2 -2
  17. package/lib/vtx-base-modal/style/index.less +3 -1
  18. package/lib/vtx-car-modal/components/Info/index.js +3 -0
  19. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  20. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +16 -7
  21. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  22. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  23. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +2 -1
  24. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +21 -10
  25. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +16 -7
  26. package/lib/vtx-car-modal/index.js +29 -29
  27. package/lib/vtx-cc-cp-modal/index.js +6 -6
  28. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  29. package/lib/vtx-cc-unit-modal/index.js +6 -6
  30. package/lib/vtx-cp-modal/index.js +10 -14
  31. package/lib/vtx-default-modal/components/BaseInfo/index.less +1 -0
  32. package/lib/vtx-default-modal/index.js +3 -3
  33. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  34. package/lib/vtx-device-modal/index.js +5 -5
  35. package/lib/vtx-df-modal/index.js +5 -6
  36. package/lib/vtx-housing-estate-modal/index.js +1 -1
  37. package/lib/vtx-jzlj-gcxm-modal/components/Base/index.js +20 -0
  38. package/lib/vtx-jzlj-gcxm-modal/components/index.js +2 -0
  39. package/lib/vtx-jzlj-gcxm-modal/index.js +77 -0
  40. package/lib/vtx-jzlj-gcxm-modal/style/index.js +1 -0
  41. package/lib/vtx-jzlj-gcxm-modal/style/index.less +1 -0
  42. package/lib/vtx-qyry-modal/api.js +2 -0
  43. package/lib/vtx-qyry-modal/index.js +5 -9
  44. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  45. package/lib/vtx-restaurant-modal/config.js +52 -52
  46. package/lib/vtx-restaurant-modal/index.js +6 -6
  47. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  48. package/lib/vtx-road-modal/index.js +3 -3
  49. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  50. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  51. package/lib/vtx-shxq-modal/components/Tfd/index.less +6 -0
  52. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  53. package/lib/vtx-shxq-modal/index.js +2 -2
  54. package/lib/vtx-staff-modal/index.js +5 -9
  55. package/lib/vtx-tfd-modal/index.js +2 -2
  56. package/lib/vtx-wr-modal/components/Base/Ptss.js +71 -31
  57. package/lib/vtx-wr-modal/components/Base/assets/alert.png +0 -0
  58. package/lib/vtx-wr-modal/components/Base/index.js +15 -3
  59. package/lib/vtx-wr-modal/components/Base/index.less +14 -1
  60. package/lib/vtx-wr-modal/index.js +3 -1
  61. package/lib/vtx-zf-modal/components/Record/index.js +10 -2
  62. package/lib/vtx-zf-modal/index.js +1 -17
  63. package/lib/vtx-zzz-modal/style/index.js +1 -0
  64. 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
+ }
@@ -24,7 +24,7 @@
24
24
  white-space: nowrap;
25
25
  &-item {
26
26
  height: 28px;
27
- width: 28px;
27
+ min-width: 28px;
28
28
  text-align: center;
29
29
  &:first-child {
30
30
  border-top-left-radius: 6px;
@@ -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: 8px !important;
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: 8px;
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: 8px;
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: {
@@ -173,10 +173,10 @@ var VMTable = function VMTable(props) {
173
173
  });
174
174
  };
175
175
 
176
- /**
177
- * 表格导出按钮
178
- * @param props
179
- * @returns
176
+ /**
177
+ * 表格导出按钮
178
+ * @param props
179
+ * @returns
180
180
  */
181
181
 
182
182
  export var ExportBtn = function ExportBtn(props) {
@@ -53,7 +53,7 @@
53
53
  display: flex;
54
54
  flex-direction: column;
55
55
  &-head {
56
- padding: 12px 16px;
56
+ padding: 11px 16px;
57
57
  border-bottom: 1px solid var(--wborder-color);
58
58
  }
59
59