@vtx/modals2 2.10.31 → 2.10.33

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 (775) hide show
  1. package/lib/index.js +7 -0
  2. package/lib/index.js.map +1 -1
  3. package/lib/style/css.js.map +1 -1
  4. package/lib/style/index.css +3 -1
  5. package/lib/style/index.js.map +1 -1
  6. package/lib/style/themesHZ/dark.css +3 -1
  7. package/lib/style/themesHZ/dark.less +15 -7
  8. package/lib/style/themesHZ/default.css +1 -0
  9. package/lib/style/themesHZ/default.less +9 -4
  10. package/lib/style/themesHZ/index.css +3 -1
  11. package/lib/util/index.js.map +1 -1
  12. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/AlarmStatistics.js +6 -4
  14. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/AlarmTrend.js +6 -4
  16. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  17. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  18. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +6 -4
  19. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  20. package/lib/vm-alarm-info/api.js.map +1 -1
  21. package/lib/vm-alarm-info/index.js +8 -11
  22. package/lib/vm-alarm-info/index.js.map +1 -1
  23. package/lib/vm-alarm-info/style/css.js.map +1 -1
  24. package/lib/vm-alarm-info/style/index.js.map +1 -1
  25. package/lib/vm-alarm-info/style/index.less +11 -11
  26. package/lib/vm-alarm-situation/api.js.map +1 -1
  27. package/lib/vm-alarm-situation/index.js +6 -4
  28. package/lib/vm-alarm-situation/index.js.map +1 -1
  29. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  30. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  31. package/lib/vm-alarm-situation/style/index.less +1 -1
  32. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  33. package/lib/vm-alarm-situation-pt/index.js +3 -3
  34. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  35. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  36. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  37. package/lib/vm-alarm-situation-pt/style/index.less +1 -1
  38. package/lib/vm-analysis-comparison/api.js.map +1 -1
  39. package/lib/vm-analysis-comparison/index.js +6 -4
  40. package/lib/vm-analysis-comparison/index.js.map +1 -1
  41. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  42. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  43. package/lib/vm-analysis-comparison/style/index.less +8 -8
  44. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  45. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  46. package/lib/vm-appraisal-info/List.js +5 -3
  47. package/lib/vm-appraisal-info/List.js.map +1 -1
  48. package/lib/vm-appraisal-info/ListKh.js +5 -3
  49. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  50. package/lib/vm-appraisal-info/ListZg.js +5 -3
  51. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  52. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  53. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  54. package/lib/vm-appraisal-info/api.js.map +1 -1
  55. package/lib/vm-appraisal-info/index.js +6 -4
  56. package/lib/vm-appraisal-info/index.js.map +1 -1
  57. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  58. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  59. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  60. package/lib/vm-base-list/index.js +4 -4
  61. package/lib/vm-base-list/index.js.map +1 -1
  62. package/lib/vm-base-list/style/css.js.map +1 -1
  63. package/lib/vm-base-list/style/index.js.map +1 -1
  64. package/lib/vm-base-list/style/index.less +1 -1
  65. package/lib/vm-button/index.js.map +1 -1
  66. package/lib/vm-button/style/css.js.map +1 -1
  67. package/lib/vm-button/style/index.js.map +1 -1
  68. package/lib/vm-charts/Distribute1.js +1 -1
  69. package/lib/vm-charts/Distribute1.js.map +1 -1
  70. package/lib/vm-charts/Gauge1.js.map +1 -1
  71. package/lib/vm-charts/Line.js +2 -2
  72. package/lib/vm-charts/Line.js.map +1 -1
  73. package/lib/vm-charts/Line1.js.map +1 -1
  74. package/lib/vm-charts/Pie.js +1 -1
  75. package/lib/vm-charts/Pie.js.map +1 -1
  76. package/lib/vm-charts/index.js.map +1 -1
  77. package/lib/vm-checkbox/index.js.map +1 -1
  78. package/lib/vm-checkbox/style/css.js.map +1 -1
  79. package/lib/vm-checkbox/style/index.js.map +1 -1
  80. package/lib/vm-checkbox/style/index.less +21 -21
  81. package/lib/vm-common-components/common/index.js.map +1 -1
  82. package/lib/vm-common-components/common/vm-modal/index.js +1 -1
  83. package/lib/vm-common-components/common/vm-modal/index.js.map +1 -1
  84. package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -1
  85. package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -1
  86. package/lib/vm-common-components/common/vm-modal/style/index.less +2 -4
  87. package/lib/vm-common-components/common/vm-select/index.js.map +1 -1
  88. package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -1
  89. package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -1
  90. package/lib/vm-common-components/common/vm-tabs/index.js +8 -3
  91. package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -1
  92. package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -1
  93. package/lib/vm-common-components/common/vm-tabs/style/index.css +6 -1
  94. package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -1
  95. package/lib/vm-common-components/common/vm-tabs/style/index.less +5 -1
  96. package/lib/vm-common-components/components/Compare/index.js +1 -1
  97. package/lib/vm-common-components/components/Compare/index.js.map +1 -1
  98. package/lib/vm-common-components/components/Compare/style/css.js.map +1 -1
  99. package/lib/vm-common-components/components/Compare/style/index.js.map +1 -1
  100. package/lib/vm-common-components/components/Compare/style/index.less +1 -2
  101. package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -1
  102. package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -1
  103. package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -1
  104. package/lib/vm-common-components/components/ImagesGroup/style/index.less +4 -4
  105. package/lib/vm-common-components/components/Portrait/LinePortrait.js +4 -4
  106. package/lib/vm-common-components/components/Portrait/LinePortrait.js.map +1 -1
  107. package/lib/vm-common-components/components/Portrait/PointPortrait.js +6 -6
  108. package/lib/vm-common-components/components/Portrait/PointPortrait.js.map +1 -1
  109. package/lib/vm-common-components/components/Portrait/api.js +1 -1
  110. package/lib/vm-common-components/components/Portrait/api.js.map +1 -1
  111. package/lib/vm-common-components/components/Portrait/style/css.js.map +1 -1
  112. package/lib/vm-common-components/components/Portrait/style/index.js.map +1 -1
  113. package/lib/vm-common-components/components/Portrait/style/index.less +211 -211
  114. package/lib/vm-common-components/components/RadionButton/index.js +4 -4
  115. package/lib/vm-common-components/components/RadionButton/index.js.map +1 -1
  116. package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -1
  117. package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -1
  118. package/lib/vm-common-components/components/RadionButton/style/index.less +4 -5
  119. package/lib/vm-common-components/components/Statistics/index.js +2 -2
  120. package/lib/vm-common-components/components/Statistics/index.js.map +1 -1
  121. package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -1
  122. package/lib/vm-common-components/components/Statistics/style/index.css +3 -0
  123. package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -1
  124. package/lib/vm-common-components/components/Statistics/style/index.less +17 -16
  125. package/lib/vm-common-components/components/SubTitle/index.js +2 -2
  126. package/lib/vm-common-components/components/SubTitle/index.js.map +1 -1
  127. package/lib/vm-common-components/components/SubTitle/style/index.css +8 -7
  128. package/lib/vm-common-components/components/SubTitle/style/index.less +16 -16
  129. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +3 -3
  130. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -1
  131. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +7 -14
  132. package/lib/vm-common-components/components/index.js +8 -1
  133. package/lib/vm-common-components/components/index.js.map +1 -1
  134. package/lib/vm-common-components/components/vm-alarm-title/index.js +1 -1
  135. package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -1
  136. package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -1
  137. package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -1
  138. package/lib/vm-common-components/components/vm-alarm-title/style/index.less +25 -20
  139. package/lib/vm-common-components/components/vm-chart/index.js +4 -4
  140. package/lib/vm-common-components/components/vm-chart/index.js.map +1 -1
  141. package/lib/vm-common-components/components/vm-collect/api.js.map +1 -1
  142. package/lib/vm-common-components/components/vm-collect/index.js +4 -4
  143. package/lib/vm-common-components/components/vm-collect/index.js.map +1 -1
  144. package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -1
  145. package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -1
  146. package/lib/vm-common-components/components/vm-collect/style/index.less +1 -1
  147. package/lib/vm-common-components/components/vm-container/index.js +2 -2
  148. package/lib/vm-common-components/components/vm-container/index.js.map +1 -1
  149. package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -1
  150. package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -1
  151. package/lib/vm-common-components/components/vm-container/style/index.less +0 -1
  152. package/lib/vm-common-components/components/vm-defects/api.js.map +1 -1
  153. package/lib/vm-common-components/components/vm-defects/index.js +6 -4
  154. package/lib/vm-common-components/components/vm-defects/index.js.map +1 -1
  155. package/lib/vm-common-components/components/vm-defects/style/css.js.map +1 -1
  156. package/lib/vm-common-components/components/vm-defects/style/index.js.map +1 -1
  157. package/lib/vm-common-components/components/vm-defects/style/index.less +16 -16
  158. package/lib/vm-common-components/components/vm-nodata/index.js +2 -2
  159. package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -1
  160. package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -1
  161. package/lib/vm-common-components/components/vm-nodata/style/index.css +1 -1
  162. package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -1
  163. package/lib/vm-common-components/components/vm-nodata/style/index.less +1 -2
  164. package/lib/vm-common-components/components/vm-radar/index.js +84 -0
  165. package/lib/vm-common-components/components/vm-radar/index.js.map +1 -0
  166. package/lib/vm-common-components/components/vm-water-wave/index.js +5 -5
  167. package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -1
  168. package/lib/vm-common-components/components/vm-water-wave/index.less +56 -44
  169. package/lib/vm-common-components/index.js +5 -5
  170. package/lib/vm-common-components/index.js.map +1 -1
  171. package/lib/vm-common-components/style/css.js.map +1 -1
  172. package/lib/vm-common-components/style/index.css +3 -1
  173. package/lib/vm-common-components/style/index.js.map +1 -1
  174. package/lib/vm-container/index.js.map +1 -1
  175. package/lib/vm-container/style/css.js.map +1 -1
  176. package/lib/vm-container/style/index.js.map +1 -1
  177. package/lib/vm-container/style/index.less +1 -2
  178. package/lib/vm-correlation-comparison/api.js.map +1 -1
  179. package/lib/vm-correlation-comparison/index.js +3 -3
  180. package/lib/vm-correlation-comparison/index.js.map +1 -1
  181. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  182. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  183. package/lib/vm-correlation-comparison/style/index.less +11 -11
  184. package/lib/vm-empty/index.js.map +1 -1
  185. package/lib/vm-empty/style/css.js.map +1 -1
  186. package/lib/vm-empty/style/index.js.map +1 -1
  187. package/lib/vm-filter/index.js +3 -3
  188. package/lib/vm-filter/index.js.map +1 -1
  189. package/lib/vm-filter/style/css.js.map +1 -1
  190. package/lib/vm-filter/style/index.js.map +1 -1
  191. package/lib/vm-hooks/useSettings.js.map +1 -1
  192. package/lib/vm-image-text/index.js.map +1 -1
  193. package/lib/vm-image-text/style/css.js.map +1 -1
  194. package/lib/vm-image-text/style/index.js.map +1 -1
  195. package/lib/vm-info-collection/index.js.map +1 -1
  196. package/lib/vm-info-collection/style/css.js.map +1 -1
  197. package/lib/vm-info-collection/style/index.js.map +1 -1
  198. package/lib/vm-map/index.js +4 -4
  199. package/lib/vm-map/index.js.map +1 -1
  200. package/lib/vm-map/mapStyle.js.map +1 -1
  201. package/lib/vm-modal-table/index.js.map +1 -1
  202. package/lib/vm-modal-table/style/css.js.map +1 -1
  203. package/lib/vm-modal-table/style/index.js.map +1 -1
  204. package/lib/vm-modal-table/style/index.less +18 -18
  205. package/lib/vm-nodata/index.js.map +1 -1
  206. package/lib/vm-radio/index.js.map +1 -1
  207. package/lib/vm-radio/style/css.js.map +1 -1
  208. package/lib/vm-radio/style/index.js.map +1 -1
  209. package/lib/vm-real-time-monitor/api.js.map +1 -1
  210. package/lib/vm-real-time-monitor/index.js +6 -4
  211. package/lib/vm-real-time-monitor/index.js.map +1 -1
  212. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  213. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  214. package/lib/vm-real-time-monitor/style/index.less +10 -9
  215. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  216. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  217. package/lib/vm-repair-maintain/RmRecord.js +5 -3
  218. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  219. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  220. package/lib/vm-repair-maintain/api.js.map +1 -1
  221. package/lib/vm-repair-maintain/index.js.map +1 -1
  222. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  223. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  224. package/lib/vm-round-content/index.js +6 -4
  225. package/lib/vm-round-content/index.js.map +1 -1
  226. package/lib/vm-round-content/style/css.js.map +1 -1
  227. package/lib/vm-round-content/style/index.js.map +1 -1
  228. package/lib/vm-round-content/style/index.less +0 -1
  229. package/lib/vm-row-col/index.js.map +1 -1
  230. package/lib/vm-row-col/style/css.js.map +1 -1
  231. package/lib/vm-row-col/style/index.js.map +1 -1
  232. package/lib/vm-select-device/index.js +3 -3
  233. package/lib/vm-select-device/index.js.map +1 -1
  234. package/lib/vm-select-device/style/css.js.map +1 -1
  235. package/lib/vm-select-device/style/index.js.map +1 -1
  236. package/lib/vm-sub-tabs/index.js.map +1 -1
  237. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  238. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  239. package/lib/vm-sub-title/index.js.map +1 -1
  240. package/lib/vm-sub-title/style/css.js.map +1 -1
  241. package/lib/vm-sub-title/style/index.js.map +1 -1
  242. package/lib/vm-table/index.js +4 -4
  243. package/lib/vm-table/index.js.map +1 -1
  244. package/lib/vm-table/style/css.js.map +1 -1
  245. package/lib/vm-table/style/index.css +1 -1
  246. package/lib/vm-table/style/index.js.map +1 -1
  247. package/lib/vm-table/style/index.less +1 -1
  248. package/lib/vm-time-line/index.js.map +1 -1
  249. package/lib/vm-time-line/style/css.js.map +1 -1
  250. package/lib/vm-time-line/style/index.js.map +1 -1
  251. package/lib/vm-video/api.js.map +1 -1
  252. package/lib/vm-video/index.css +3 -1
  253. package/lib/vm-video/index.js.map +1 -1
  254. package/lib/vtx-base-modal/api.js.map +1 -1
  255. package/lib/vtx-base-modal/index.js +3 -3
  256. package/lib/vtx-base-modal/index.js.map +1 -1
  257. package/lib/vtx-base-modal/style/css.js.map +1 -1
  258. package/lib/vtx-base-modal/style/index.js.map +1 -1
  259. package/lib/vtx-base-modal-hz/index.js.map +1 -1
  260. package/lib/vtx-car-modal/api.js +1 -1
  261. package/lib/vtx-car-modal/api.js.map +1 -1
  262. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  263. package/lib/vtx-car-modal/components/AlarmInfo/List.js +6 -4
  264. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  265. package/lib/vtx-car-modal/components/AlarmInfo/index.js +6 -4
  266. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  267. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  268. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  269. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  270. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  271. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  272. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  273. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  274. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  275. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +1 -1
  276. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  277. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
  278. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  279. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -1
  280. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  281. package/lib/vtx-car-modal/components/BaseInfo/index.js +3 -3
  282. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  283. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  284. package/lib/vtx-car-modal/components/OilConsumption/List.js +5 -3
  285. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  286. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  287. package/lib/vtx-car-modal/components/OilConsumption/index.js +5 -3
  288. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  289. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  290. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  291. package/lib/vtx-car-modal/components/StaticInfo/index.js +6 -4
  292. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  293. package/lib/vtx-car-modal/components/WaterConsumption/index.js +5 -3
  294. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  295. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
  296. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  297. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +3 -3
  298. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  299. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +2 -2
  300. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  301. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  302. package/lib/vtx-car-modal/components/index.js.map +1 -1
  303. package/lib/vtx-car-modal/index.js +1 -1
  304. package/lib/vtx-car-modal/index.js.map +1 -1
  305. package/lib/vtx-car-modal/style/css.js.map +1 -1
  306. package/lib/vtx-car-modal/style/index.css +3 -1
  307. package/lib/vtx-car-modal/style/index.js.map +1 -1
  308. package/lib/vtx-cc-cp-modal/api.js +14 -16
  309. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  310. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +3 -3
  311. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  312. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  313. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  314. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -1
  315. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  316. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  317. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  318. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  319. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  320. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  321. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  322. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  323. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +3 -3
  324. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  325. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  326. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +3 -3
  327. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  328. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +1 -1
  329. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  330. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -1
  331. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  332. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  333. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +3 -3
  334. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  335. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  336. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  337. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  338. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  339. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -2
  340. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  341. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +0 -1
  342. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  343. package/lib/vtx-cc-cp-modal/index.js +1 -1
  344. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  345. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  346. package/lib/vtx-cc-cp-modal/style/index.css +3 -1
  347. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  348. package/lib/vtx-cp-modal/api.js.map +1 -1
  349. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +6 -4
  350. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  351. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  352. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +6 -4
  353. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  354. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  355. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  356. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  357. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  358. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  359. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +6 -4
  360. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  361. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  362. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +6 -4
  363. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  364. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  365. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  366. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  367. package/lib/vtx-cp-modal/components/SyInfo/index.js +6 -4
  368. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  369. package/lib/vtx-cp-modal/components/SyInfo/index.less +0 -1
  370. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  371. package/lib/vtx-cp-modal/index.js +1 -1
  372. package/lib/vtx-cp-modal/index.js.map +1 -1
  373. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  374. package/lib/vtx-cp-modal/style/index.css +3 -1
  375. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  376. package/lib/vtx-default-modal/api.js.map +1 -1
  377. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  378. package/lib/vtx-default-modal/components/index.js.map +1 -1
  379. package/lib/vtx-default-modal/index.js +4 -2
  380. package/lib/vtx-default-modal/index.js.map +1 -1
  381. package/lib/vtx-default-modal/style/css.js.map +1 -1
  382. package/lib/vtx-default-modal/style/index.css +3 -1
  383. package/lib/vtx-default-modal/style/index.js.map +1 -1
  384. package/lib/vtx-device-modal/api.js.map +1 -1
  385. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  386. package/lib/vtx-device-modal/components/DataAnalysis/index.js +6 -4
  387. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  388. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  389. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  390. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  391. package/lib/vtx-device-modal/components/OverViewInfo/index.js +3 -3
  392. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  393. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  394. package/lib/vtx-device-modal/config.js +6 -2
  395. package/lib/vtx-device-modal/config.js.map +1 -1
  396. package/lib/vtx-device-modal/index.js +2 -2
  397. package/lib/vtx-device-modal/index.js.map +1 -1
  398. package/lib/vtx-device-modal/style/css.js.map +1 -1
  399. package/lib/vtx-device-modal/style/index.js.map +1 -1
  400. package/lib/vtx-df-modal/api.js.map +1 -1
  401. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
  402. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  403. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +3 -3
  404. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  405. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +6 -4
  406. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  407. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  408. package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -2
  409. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  410. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  411. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  412. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  413. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  414. package/lib/vtx-df-modal/components/Metering/List.js +5 -3
  415. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  416. package/lib/vtx-df-modal/components/Metering/index.js +6 -4
  417. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  418. package/lib/vtx-df-modal/components/Metering/index.less +1 -1
  419. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +6 -4
  420. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  421. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +6 -4
  422. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  423. package/lib/vtx-df-modal/components/WorkCondition/index.js +6 -4
  424. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  425. package/lib/vtx-df-modal/components/index.js.map +1 -1
  426. package/lib/vtx-df-modal/index.js +1 -1
  427. package/lib/vtx-df-modal/index.js.map +1 -1
  428. package/lib/vtx-df-modal/style/css.js.map +1 -1
  429. package/lib/vtx-df-modal/style/index.css +3 -1
  430. package/lib/vtx-df-modal/style/index.js.map +1 -1
  431. package/lib/vtx-facility-modal/api.js +29 -33
  432. package/lib/vtx-facility-modal/api.js.map +1 -1
  433. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  434. package/lib/vtx-facility-modal/components/OverView/index.js +3 -3
  435. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  436. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  437. package/lib/vtx-facility-modal/config.js.map +1 -1
  438. package/lib/vtx-facility-modal/index.js.map +1 -1
  439. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  440. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  441. package/lib/vtx-health-modal/api.js +225 -0
  442. package/lib/vtx-health-modal/api.js.map +1 -0
  443. package/lib/vtx-health-modal/components/Health/index.js +290 -0
  444. package/lib/vtx-health-modal/components/Health/index.js.map +1 -0
  445. package/lib/vtx-health-modal/components/Health/style/css.js +4 -0
  446. package/lib/vtx-health-modal/components/Health/style/css.js.map +1 -0
  447. package/lib/vtx-health-modal/components/Health/style/index.css +13 -0
  448. package/lib/vtx-health-modal/components/Health/style/index.js +4 -0
  449. package/lib/vtx-health-modal/components/Health/style/index.js.map +1 -0
  450. package/lib/vtx-health-modal/components/Health/style/index.less +9 -0
  451. package/lib/vtx-health-modal/index.js +37 -0
  452. package/lib/vtx-health-modal/index.js.map +1 -0
  453. package/lib/vtx-health-modal/style/css.js +4 -0
  454. package/lib/vtx-health-modal/style/css.js.map +1 -0
  455. package/lib/vtx-health-modal/style/index.css +0 -0
  456. package/lib/vtx-health-modal/style/index.js +4 -0
  457. package/lib/vtx-health-modal/style/index.js.map +1 -0
  458. package/lib/vtx-health-modal/style/index.less +0 -0
  459. package/lib/vtx-housing-estate-modal/api.js +29 -33
  460. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  461. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +3 -3
  462. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  463. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +3 -3
  464. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  465. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +3 -3
  466. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  467. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  468. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +3 -3
  469. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  470. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +3 -3
  471. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  472. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  473. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  474. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  475. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +3 -3
  476. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  477. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  478. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  479. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +3 -3
  480. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  481. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +3 -3
  482. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  483. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  484. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +3 -3
  485. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  486. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  487. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +3 -3
  488. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  489. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  490. package/lib/vtx-housing-estate-modal/config.js +1 -1
  491. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  492. package/lib/vtx-housing-estate-modal/index.js +1 -1
  493. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  494. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  495. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  496. package/lib/vtx-hz-facility-modal/api.js +381 -96
  497. package/lib/vtx-hz-facility-modal/api.js.map +1 -1
  498. package/lib/vtx-hz-facility-modal/components/BJGK/index.js +171 -0
  499. package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +1 -0
  500. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.css +11 -0
  501. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js +39 -0
  502. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js.map +1 -0
  503. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +7 -0
  504. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js +24 -0
  505. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js.map +1 -0
  506. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js +4 -0
  507. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js.map +1 -0
  508. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.css +36 -0
  509. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js +4 -0
  510. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js.map +1 -0
  511. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +26 -0
  512. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +7 -10
  513. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -1
  514. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -1
  515. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -1
  516. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +8 -1
  517. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -1
  518. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -1
  519. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -1
  520. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +5 -9
  521. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +6 -182
  522. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -1
  523. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -1
  524. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -1
  525. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +9 -13
  526. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +3 -3
  527. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -1
  528. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -1
  529. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -1
  530. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +10 -14
  531. package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js +41 -0
  532. package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js.map +1 -0
  533. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js +43 -0
  534. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js.map +1 -0
  535. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js +4 -0
  536. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js.map +1 -0
  537. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.css +30 -0
  538. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js +4 -0
  539. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js.map +1 -0
  540. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +34 -0
  541. package/lib/vtx-hz-facility-modal/components/Flaw/index.js +54 -0
  542. package/lib/vtx-hz-facility-modal/components/Flaw/index.js.map +1 -0
  543. package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js +4 -0
  544. package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js.map +1 -0
  545. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.css +3 -0
  546. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js +4 -0
  547. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js.map +1 -0
  548. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +3 -0
  549. package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js +46 -0
  550. package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js.map +1 -0
  551. package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js +94 -0
  552. package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js.map +1 -0
  553. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +17 -16
  554. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -1
  555. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -1
  556. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +1 -1
  557. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -4
  558. package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js +43 -0
  559. package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js.map +1 -0
  560. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +15 -4
  561. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -1
  562. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +55 -20
  563. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -1
  564. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -1
  565. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -1
  566. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +9 -13
  567. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +12 -8
  568. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -1
  569. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -1
  570. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -1
  571. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +12 -17
  572. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +3 -3
  573. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -1
  574. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -1
  575. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -1
  576. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +5 -8
  577. package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js +51 -0
  578. package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js.map +1 -0
  579. package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js +16 -0
  580. package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js.map +1 -0
  581. package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.css +55 -0
  582. package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +42 -0
  583. package/lib/vtx-hz-facility-modal/components/PipeLine/index.js.map +1 -1
  584. package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js.map +1 -1
  585. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js.map +1 -1
  586. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +1 -2
  587. package/lib/vtx-hz-facility-modal/components/PipePoint/index.js +1 -1
  588. package/lib/vtx-hz-facility-modal/components/PipePoint/index.js.map +1 -1
  589. package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js.map +1 -1
  590. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js.map +1 -1
  591. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +1 -2
  592. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.css +73 -0
  593. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +163 -0
  594. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +1 -0
  595. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +48 -0
  596. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js +101 -0
  597. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js.map +1 -0
  598. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.css +56 -0
  599. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +408 -0
  600. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +1 -0
  601. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +53 -0
  602. package/lib/vtx-hz-facility-modal/components/RealTime/index.js +56 -0
  603. package/lib/vtx-hz-facility-modal/components/RealTime/index.js.map +1 -0
  604. package/lib/vtx-hz-facility-modal/components/Record/index.js +120 -0
  605. package/lib/vtx-hz-facility-modal/components/Record/index.js.map +1 -0
  606. package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +120 -0
  607. package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +1 -0
  608. package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +88 -0
  609. package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +1 -0
  610. package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +136 -0
  611. package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +1 -0
  612. package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +88 -0
  613. package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +1 -0
  614. package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +86 -0
  615. package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +1 -0
  616. package/lib/vtx-hz-facility-modal/components/YWGL/index.js +150 -0
  617. package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +1 -0
  618. package/lib/vtx-hz-facility-modal/components/index.js +7 -0
  619. package/lib/vtx-hz-facility-modal/components/index.js.map +1 -1
  620. package/lib/vtx-hz-facility-modal/index.js +51 -33
  621. package/lib/vtx-hz-facility-modal/index.js.map +1 -1
  622. package/lib/vtx-hz-facility-modal/style/css.js.map +1 -1
  623. package/lib/vtx-hz-facility-modal/style/index.js.map +1 -1
  624. package/lib/vtx-kh-modal/api.js.map +1 -1
  625. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  626. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  627. package/lib/vtx-kh-modal/index.js +4 -2
  628. package/lib/vtx-kh-modal/index.js.map +1 -1
  629. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  630. package/lib/vtx-kh-modal/style/index.css +3 -1
  631. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  632. package/lib/vtx-restaurant-modal/api.js +14 -16
  633. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  634. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  635. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  636. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  637. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  638. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  639. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  640. package/lib/vtx-restaurant-modal/components/Alarm/index.js +3 -3
  641. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  642. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  643. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  644. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  645. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  646. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  647. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  648. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  649. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  650. package/lib/vtx-restaurant-modal/components/Collection/index.js +3 -3
  651. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  652. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  653. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  654. package/lib/vtx-restaurant-modal/index.js +1 -1
  655. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  656. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  657. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  658. package/lib/vtx-road-modal/api.js.map +1 -1
  659. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  660. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  661. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  662. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  663. package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -1
  664. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  665. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
  666. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  667. package/lib/vtx-road-modal/components/Statistical/index.js +5 -3
  668. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  669. package/lib/vtx-road-modal/components/index.js.map +1 -1
  670. package/lib/vtx-road-modal/index.js +1 -1
  671. package/lib/vtx-road-modal/index.js.map +1 -1
  672. package/lib/vtx-road-modal/style/css.js.map +1 -1
  673. package/lib/vtx-road-modal/style/index.css +3 -1
  674. package/lib/vtx-road-modal/style/index.js.map +1 -1
  675. package/lib/vtx-staff-modal/api.js.map +1 -1
  676. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  677. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +5 -3
  678. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  679. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +6 -4
  680. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  681. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  682. package/lib/vtx-staff-modal/components/Attendance/Record.js +5 -3
  683. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  684. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  685. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  686. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +1 -1
  687. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  688. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  689. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  690. package/lib/vtx-staff-modal/components/BaseInfo/index.js +3 -3
  691. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  692. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  693. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  694. package/lib/vtx-staff-modal/index.js +1 -1
  695. package/lib/vtx-staff-modal/index.js.map +1 -1
  696. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  697. package/lib/vtx-staff-modal/style/index.css +3 -1
  698. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  699. package/lib/vtx-theme-provider/index.js.map +1 -1
  700. package/lib/vtx-throw-point-modal/api.js +29 -33
  701. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  702. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +3 -3
  703. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  704. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +3 -3
  705. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  706. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +3 -3
  707. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  708. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  709. package/lib/vtx-throw-point-modal/components/Alarm/index.js +3 -3
  710. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  711. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +3 -3
  712. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  713. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  714. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +1 -1
  715. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  716. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +3 -3
  717. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  718. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  719. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  720. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  721. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +3 -3
  722. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  723. package/lib/vtx-throw-point-modal/components/TFRD/index.js +3 -3
  724. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  725. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  726. package/lib/vtx-throw-point-modal/components/WGGS/index.js +3 -3
  727. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  728. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  729. package/lib/vtx-throw-point-modal/components/WGXW/index.js +3 -3
  730. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  731. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  732. package/lib/vtx-throw-point-modal/config.js +1 -1
  733. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  734. package/lib/vtx-throw-point-modal/index.js +1 -1
  735. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  736. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  737. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  738. package/lib/vtx-wr-modal/api.js.map +1 -1
  739. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +6 -4
  740. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  741. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  742. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +6 -4
  743. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  744. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  745. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  746. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  747. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  748. package/lib/vtx-wr-modal/components/BaseInfo/index.js +3 -3
  749. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  750. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +5 -3
  751. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  752. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  753. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +6 -4
  754. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  755. package/lib/vtx-wr-modal/components/Evaluate/index.js +5 -3
  756. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  757. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +6 -4
  758. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  759. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  760. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  761. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  762. package/lib/vtx-wr-modal/index.js +1 -1
  763. package/lib/vtx-wr-modal/index.js.map +1 -1
  764. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  765. package/lib/vtx-wr-modal/style/index.css +3 -1
  766. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  767. package/lib/vtx-zg-modal/api.js.map +1 -1
  768. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  769. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  770. package/lib/vtx-zg-modal/index.js +4 -2
  771. package/lib/vtx-zg-modal/index.js.map +1 -1
  772. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  773. package/lib/vtx-zg-modal/style/index.css +3 -1
  774. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  775. package/package.json +1 -1
@@ -0,0 +1,73 @@
1
+ .legend {
2
+ display: -webkit-box;
3
+ display: -ms-flexbox;
4
+ display: flex;
5
+ -webkit-box-pack: center;
6
+ -ms-flex-pack: center;
7
+ justify-content: center;
8
+ -webkit-box-align: center;
9
+ -ms-flex-align: center;
10
+ align-items: center;
11
+ }
12
+ .legend .legendContent {
13
+ display: -webkit-box;
14
+ display: -ms-flexbox;
15
+ display: flex;
16
+ -webkit-box-pack: center;
17
+ -ms-flex-pack: center;
18
+ justify-content: center;
19
+ -ms-flex-wrap: wrap;
20
+ flex-wrap: wrap;
21
+ -webkit-box-align: center;
22
+ -ms-flex-align: center;
23
+ align-items: center;
24
+ }
25
+ .legend .legendContent .legendTop {
26
+ display: -webkit-box;
27
+ display: -ms-flexbox;
28
+ display: flex;
29
+ -webkit-box-pack: center;
30
+ -ms-flex-pack: center;
31
+ justify-content: center;
32
+ -webkit-box-align: center;
33
+ -ms-flex-align: center;
34
+ align-items: center;
35
+ width: 100%;
36
+ }
37
+ .legend .legendContent .legendBottom {
38
+ font-size: 18px;
39
+ font-weight: 400;
40
+ }
41
+ .list {
42
+ display: -webkit-box;
43
+ display: -ms-flexbox;
44
+ display: flex;
45
+ -webkit-box-pack: start;
46
+ -ms-flex-pack: start;
47
+ justify-content: flex-start;
48
+ -webkit-box-align: center;
49
+ -ms-flex-align: center;
50
+ align-items: center;
51
+ margin: 5px 0;
52
+ }
53
+ .list .label {
54
+ width: 20%;
55
+ font-size: 16px;
56
+ font-weight: 400;
57
+ }
58
+ .list .bar {
59
+ background: rgba(255, 255, 255, 0);
60
+ position: relative;
61
+ }
62
+ .list .bar .scaleVal {
63
+ width: 100%;
64
+ position: relative;
65
+ height: 15px;
66
+ line-height: 15px;
67
+ }
68
+ .list .bar .content {
69
+ width: 100%;
70
+ position: relative;
71
+ height: 35px;
72
+ background: var(--health-content-bg);
73
+ }
@@ -0,0 +1,163 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _index = _interopRequireDefault(require("./index.less"));
10
+ var _antd = require("antd");
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
+ 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."); }
16
+ 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); }
17
+ 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; }
18
+ 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; } }
19
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
+ function CustomRatingChart(props) {
21
+ var _props$list = props.list,
22
+ list = _props$list === void 0 ? [] : _props$list,
23
+ _props$colors = props.colors,
24
+ colors = _props$colors === void 0 ? [] : _props$colors,
25
+ _props$legendPosition = props.legendPosition,
26
+ legendPosition = _props$legendPosition === void 0 ? 'top' : _props$legendPosition,
27
+ _props$isShowScore = props.isShowScore,
28
+ isShowScore = _props$isShowScore === void 0 ? false : _props$isShowScore,
29
+ _props$isShowLabel = props.isShowLabel,
30
+ isShowLabel = _props$isShowLabel === void 0 ? true : _props$isShowLabel,
31
+ _props$isShowScale = props.isShowScale,
32
+ isShowScale = _props$isShowScale === void 0 ? true : _props$isShowScale,
33
+ _props$legendData = props.legendData,
34
+ legendData = _props$legendData === void 0 ? [] : _props$legendData;
35
+ var _useState = (0, _react.useState)(100),
36
+ _useState2 = _slicedToArray(_useState, 2),
37
+ maxScore = _useState2[0],
38
+ setMaxScore = _useState2[1];
39
+ var _useState3 = (0, _react.useState)([]),
40
+ _useState4 = _slicedToArray(_useState3, 2),
41
+ scaleValList = _useState4[0],
42
+ setScaleValList = _useState4[1];
43
+ (0, _react.useEffect)(function () {
44
+ if ((list === null || list === void 0 ? void 0 : list.length) > 0) {
45
+ var max = 0;
46
+ list.map(function (item) {
47
+ if ((item.score || item.score === 0) && item.score > max) {
48
+ max = item.score;
49
+ }
50
+ });
51
+ var arr = [0, 1, 2, 3, 4, 5].map(function (val) {
52
+ return val * parseInt((max / 6).toString(), 10);
53
+ });
54
+ if ((arr === null || arr === void 0 ? void 0 : arr.length) && arr[arr.length - 1] !== max) {
55
+ arr[arr.length - 1] = max;
56
+ }
57
+ setScaleValList(arr);
58
+ setMaxScore(max);
59
+ }
60
+ }, [list]);
61
+ var legendHtml = /*#__PURE__*/_react["default"].createElement("div", {
62
+ className: _index["default"].legend
63
+ }, legendData.map(function (legend, index) {
64
+ return /*#__PURE__*/_react["default"].createElement("div", {
65
+ className: _index["default"].legendContent,
66
+ key: index
67
+ }, /*#__PURE__*/_react["default"].createElement("div", {
68
+ className: _index["default"].legendTop
69
+ }, /*#__PURE__*/_react["default"].createElement("div", {
70
+ style: Object.assign(Object.assign({}, legend.style || {}), {
71
+ marginRight: 10
72
+ })
73
+ }), /*#__PURE__*/_react["default"].createElement("div", {
74
+ style: {
75
+ marginRight: 15
76
+ }
77
+ }, legend.name)), list.length === 1 && isShowScore && /*#__PURE__*/_react["default"].createElement("div", {
78
+ className: _index["default"].legendBottom
79
+ }, list[0]["".concat(legend.key)], "\u5206"));
80
+ }));
81
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, legendPosition === 'top' && legendHtml, list.length > 0 && list.map(function (item, index) {
82
+ var nowScoreWidth = 0,
83
+ classAverageLeft = 0,
84
+ allScoreWidth = 0,
85
+ scoreWidth = 0;
86
+ nowScoreWidth = Number((item.nowScore / maxScore * 100).toFixed(2));
87
+ classAverageLeft = Number((item.classAverage / maxScore * 100).toFixed(2));
88
+ allScoreWidth = Number((item.allScore / maxScore * 100).toFixed(2));
89
+ scoreWidth = Number((item.score / maxScore * 100).toFixed(2));
90
+ return /*#__PURE__*/_react["default"].createElement("div", {
91
+ className: _index["default"].list,
92
+ key: index
93
+ }, isShowLabel && /*#__PURE__*/_react["default"].createElement("div", {
94
+ className: _index["default"].label
95
+ }, item.typeName), /*#__PURE__*/_react["default"].createElement("div", {
96
+ className: _index["default"].bar,
97
+ style: {
98
+ width: isShowLabel ? '80%' : '100%'
99
+ }
100
+ }, isShowScale && /*#__PURE__*/_react["default"].createElement("div", {
101
+ className: _index["default"].scaleVal
102
+ }, scaleValList.length > 0 && scaleValList.map(function (val, index) {
103
+ var num = (val / maxScore * 100).toFixed(2);
104
+ var obj = {
105
+ left: "".concat(num, "%"),
106
+ right: 'auto'
107
+ };
108
+ if (index === scaleValList.length - 1) {
109
+ obj = {
110
+ right: 0
111
+ };
112
+ }
113
+ return /*#__PURE__*/_react["default"].createElement("div", {
114
+ key: index,
115
+ style: Object.assign({
116
+ position: 'absolute'
117
+ }, obj)
118
+ }, val);
119
+ })), /*#__PURE__*/_react["default"].createElement(_antd.Tooltip, {
120
+ title: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("p", null, "\u6EE1\u5206\uFF1A".concat(item.score || '-')), /*#__PURE__*/_react["default"].createElement("p", null, "\u6240\u6709\u5E73\u5747\u5206\uFF1A".concat(item.allScore || '-')), /*#__PURE__*/_react["default"].createElement("p", null, "\u5F53\u524D\u5206\u6570\uFF1A".concat(item.nowScore || '-')), /*#__PURE__*/_react["default"].createElement("p", null, "\u540C\u7C7B\u5E73\u5747\u5206\uFF1A".concat(item.classAverage || '-')))
121
+ }, /*#__PURE__*/_react["default"].createElement("div", {
122
+ className: _index["default"].content
123
+ }, /*#__PURE__*/_react["default"].createElement("div", {
124
+ style: {
125
+ position: 'absolute',
126
+ width: "".concat(scoreWidth > 100 ? 100 : scoreWidth, "%"),
127
+ height: '100%',
128
+ zIndex: 1,
129
+ background: "".concat(colors.length && colors[0] || '#dcf9fa')
130
+ }
131
+ }), /*#__PURE__*/_react["default"].createElement("div", {
132
+ style: {
133
+ position: 'absolute',
134
+ width: "".concat(allScoreWidth > 100 ? 100 : allScoreWidth, "%"),
135
+ height: '65%',
136
+ top: '17%',
137
+ zIndex: 2,
138
+ background: "".concat(colors.length && colors[1] || '#f5e288')
139
+ }
140
+ }), /*#__PURE__*/_react["default"].createElement("div", {
141
+ style: {
142
+ position: 'absolute',
143
+ width: "".concat(nowScoreWidth > 100 ? 100 : nowScoreWidth, "%"),
144
+ height: '40%',
145
+ top: '30%',
146
+ zIndex: 3,
147
+ background: "".concat(colors.length && colors[2] || '#407fcd')
148
+ }
149
+ }), /*#__PURE__*/_react["default"].createElement("div", {
150
+ style: {
151
+ position: 'absolute',
152
+ width: "1%",
153
+ height: '100%',
154
+ zIndex: 4,
155
+ background: "".concat(colors.length && colors[3] || '#052a2b'),
156
+ left: "".concat(classAverageLeft >= 100 ? 99 : classAverageLeft, "%")
157
+ }
158
+ })))));
159
+ }), legendPosition === 'bottom' && legendHtml);
160
+ }
161
+ var _default = CustomRatingChart;
162
+ exports["default"] = _default;
163
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_index","_interopRequireDefault","_antd","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","isArray","CustomRatingChart","props","_props$list","list","_props$colors","colors","_props$legendPosition","legendPosition","_props$isShowScore","isShowScore","_props$isShowLabel","isShowLabel","_props$isShowScale","isShowScale","_props$legendData","legendData","_useState","useState","_useState2","maxScore","setMaxScore","_useState3","_useState4","scaleValList","setScaleValList","useEffect","max","map","item","score","val","parseInt","legendHtml","React","createElement","className","styles","legend","index","legendContent","legendTop","style","assign","marginRight","legendBottom","concat","Fragment","nowScoreWidth","classAverageLeft","allScoreWidth","scoreWidth","Number","nowScore","toFixed","classAverage","allScore","label","typeName","bar","width","scaleVal","num","left","right","position","Tooltip","title","content","height","zIndex","background","top","_default","exports"],"sources":["vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport styles from './index.less';\nimport { Tooltip } from 'antd';\nfunction CustomRatingChart(props) {\n const { list = [], colors = [], legendPosition = 'top', // 图例位置\n isShowScore = false, // 图例是否展示分数\n isShowLabel = true, // 是否展示标签\n isShowScale = true, // 是否展示刻度\n legendData = [], // 图例数据\n } = props;\n const [maxScore, setMaxScore] = useState(100);\n const [scaleValList, setScaleValList] = useState([]);\n useEffect(() => {\n if ((list === null || list === void 0 ? void 0 : list.length) > 0) {\n let max = 0;\n list.map((item) => {\n if ((item.score || item.score === 0) && item.score > max) {\n max = item.score;\n }\n });\n let arr = [0, 1, 2, 3, 4, 5].map(val => val * parseInt((max / 6).toString(), 10));\n if ((arr === null || arr === void 0 ? void 0 : arr.length) && arr[arr.length - 1] !== max) {\n arr[arr.length - 1] = max;\n }\n setScaleValList(arr);\n setMaxScore(max);\n }\n }, [list]);\n const legendHtml = (React.createElement(\"div\", { className: styles.legend }, legendData.map((legend, index) => {\n return (React.createElement(\"div\", { className: styles.legendContent, key: index },\n React.createElement(\"div\", { className: styles.legendTop },\n React.createElement(\"div\", { style: Object.assign(Object.assign({}, (legend.style || {})), { marginRight: 10 }) }),\n React.createElement(\"div\", { style: { marginRight: 15 } }, legend.name)),\n list.length === 1 && isShowScore && (React.createElement(\"div\", { className: styles.legendBottom },\n list[0][`${legend.key}`],\n \"\\u5206\"))));\n })));\n return (React.createElement(React.Fragment, null,\n legendPosition === 'top' && legendHtml,\n list.length > 0 &&\n list.map((item, index) => {\n let nowScoreWidth = 0, classAverageLeft = 0, allScoreWidth = 0, scoreWidth = 0;\n nowScoreWidth = Number(((item.nowScore / maxScore) * 100).toFixed(2));\n classAverageLeft = Number(((item.classAverage / maxScore) * 100).toFixed(2));\n allScoreWidth = Number(((item.allScore / maxScore) * 100).toFixed(2));\n scoreWidth = Number(((item.score / maxScore) * 100).toFixed(2));\n return (React.createElement(\"div\", { className: styles.list, key: index },\n isShowLabel && React.createElement(\"div\", { className: styles.label }, item.typeName),\n React.createElement(\"div\", { className: styles.bar, style: { width: isShowLabel ? '80%' : '100%' } },\n isShowScale && (React.createElement(\"div\", { className: styles.scaleVal }, scaleValList.length > 0 &&\n scaleValList.map((val, index) => {\n let num = ((val / maxScore) * 100).toFixed(2);\n let obj = {\n left: `${num}%`,\n right: 'auto',\n };\n if (index === scaleValList.length - 1) {\n obj = {\n right: 0,\n };\n }\n return (React.createElement(\"div\", { key: index, style: Object.assign({ position: 'absolute' }, obj) }, val));\n }))),\n React.createElement(Tooltip, { title: React.createElement(React.Fragment, null,\n React.createElement(\"p\", null, `满分:${item.score || '-'}`),\n React.createElement(\"p\", null, `所有平均分:${item.allScore || '-'}`),\n React.createElement(\"p\", null, `当前分数:${item.nowScore || '-'}`),\n React.createElement(\"p\", null, `同类平均分:${item.classAverage || '-'}`)) },\n React.createElement(\"div\", { className: styles.content },\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `${scoreWidth > 100 ? 100 : scoreWidth}%`,\n height: '100%',\n zIndex: 1,\n background: `${(colors.length && colors[0]) ||\n '#dcf9fa'}`,\n } }),\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `${allScoreWidth > 100 ? 100 : allScoreWidth}%`,\n height: '65%',\n top: '17%',\n zIndex: 2,\n background: `${(colors.length && colors[1]) ||\n '#f5e288'}`,\n } }),\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `${nowScoreWidth > 100 ? 100 : nowScoreWidth}%`,\n height: '40%',\n top: '30%',\n zIndex: 3,\n background: `${(colors.length && colors[2]) ||\n '#407fcd'}`,\n } }),\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `1%`,\n height: '100%',\n zIndex: 4,\n background: `${(colors.length && colors[3]) ||\n '#052a2b'}`,\n left: `${classAverageLeft >= 100 ? 99 : classAverageLeft}%`,\n } }))))));\n }),\n legendPosition === 'bottom' && legendHtml));\n}\nexport default CustomRatingChart;\n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EAAE,UAAU;QACpBL,KAAK,KAAAd,MAAA,CAAKE,aAAa,GAAG,GAAG,GAAG,GAAG,GAAGA,aAAa,MAAG;QACtDqB,MAAM,EAAE,KAAK;QACbG,GAAG,EAAE,KAAK;QACVF,MAAM,EAAE,CAAC;QACTC,UAAU,KAAAzB,MAAA,CAAMxC,MAAM,CAACrB,MAAM,IAAIqB,MAAM,CAAC,CAAC,CAAC,IACtC,SAAS;MACjB;IAAE,CAAC,CAAC,eACR4B,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEO,KAAK,EAAE;QAC5BuB,QAAQ,EAAE,UAAU;QACpBL,KAAK,MAAM;QACXS,MAAM,EAAE,MAAM;QACdC,MAAM,EAAE,CAAC;QACTC,UAAU,KAAAzB,MAAA,CAAMxC,MAAM,CAACrB,MAAM,IAAIqB,MAAM,CAAC,CAAC,CAAC,IACtC,SAAS,CAAE;QACfyD,IAAI,KAAAjB,MAAA,CAAKG,gBAAgB,IAAI,GAAG,GAAG,EAAE,GAAGA,gBAAgB;MAC5D;IAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;EAChC,CAAC,CAAC,EACNzC,cAAc,KAAK,QAAQ,IAAIyB,UAAU,CAAC;AAClD;AAAC,IAAAwC,QAAA,GACcxE,iBAAiB;AAAAyE,OAAA,cAAAD,QAAA"}
@@ -0,0 +1,48 @@
1
+ .legend {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ .legendContent {
6
+ display: flex;
7
+ justify-content: center;
8
+ flex-wrap: wrap;
9
+ align-items: center;
10
+ .legendTop {
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ width: 100%;
15
+ }
16
+ .legendBottom {
17
+ font-size: 18px;
18
+ font-weight: 400;
19
+ }
20
+ }
21
+ }
22
+ .list {
23
+ display: flex;
24
+ justify-content: flex-start;
25
+ align-items: center;
26
+ margin: 5px 0;
27
+ .label {
28
+ width: 20%;
29
+ font-size: 16px;
30
+ font-weight: 400;
31
+ }
32
+ .bar {
33
+ background: rgba(255, 255, 255, 0);
34
+ position: relative;
35
+ .scaleVal {
36
+ width: 100%;
37
+ position: relative;
38
+ height: 15px;
39
+ line-height: 15px;
40
+ }
41
+ .content {
42
+ width: 100%;
43
+ position: relative;
44
+ height: 35px;
45
+ background: var(--health-content-bg);
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
9
+ var _useSettings2 = _interopRequireDefault(require("../../../../vm-hooks/useSettings"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+ /*
12
+ * @Author: limingxian limingxian@vortexinfo.cn
13
+ * @Date: 2023-09-02 22:08:12
14
+ * @LastEditors: limingxian limingxian@vortexinfo.cn
15
+ * @LastEditTime: 2023-09-07 11:37:11
16
+ * @FilePath: /zhsw-psfw-web/src/components/DetailModal/DetailContents/current-line-network-health-content/Components/PipelineHealthRating/RadarCharts/index.js
17
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
18
+ */
19
+
20
+ var RadarCharts = function RadarCharts(_ref) {
21
+ var _ref$data = _ref.data,
22
+ data = _ref$data === void 0 ? [] : _ref$data,
23
+ _ref$height = _ref.height,
24
+ height = _ref$height === void 0 ? '100%' : _ref$height,
25
+ _ref$width = _ref.width,
26
+ width = _ref$width === void 0 ? '100%' : _ref$width,
27
+ _ref$indicator = _ref.indicator,
28
+ indicator = _ref$indicator === void 0 ? [] : _ref$indicator,
29
+ _ref$radarConfig = _ref.radarConfig,
30
+ radarConfig = _ref$radarConfig === void 0 ? {} : _ref$radarConfig;
31
+ var _useSettings = (0, _useSettings2["default"])(),
32
+ theme = _useSettings.theme;
33
+ var result = [];
34
+ data.map(function (item) {
35
+ result.push({
36
+ value: item.value || [],
37
+ name: item.name,
38
+ symbolSize: [2, 2],
39
+ lineStyle: {
40
+ //边缘颜色
41
+ width: 2,
42
+ color: item.areaColor
43
+ },
44
+ areaStyle: {
45
+ // color: 'rgba(116, 77, 254)',
46
+ color: item.areaColor,
47
+ opacity: 0.4
48
+ }
49
+ });
50
+ });
51
+ var option = {
52
+ tooltip: {
53
+ trigger: 'item',
54
+ position: ['50%', '50%']
55
+ },
56
+ radar: Object.assign({
57
+ center: ['45%', '60%'],
58
+ radius: '50%',
59
+ name: {
60
+ textStyle: {
61
+ color: theme === 'dark' ? '#FFFFFF' : '#000000',
62
+ fontSize: 14,
63
+ padding: [-2, -10] // 控制文字padding
64
+ }
65
+ },
66
+
67
+ nameGap: 5,
68
+ indicator: indicator,
69
+ splitLine: {
70
+ show: true,
71
+ lineStyle: {
72
+ // 使用深浅的间隔色
73
+ color: ['rgba(123,90,251,0.3)']
74
+ }
75
+ },
76
+ axisLine: {
77
+ show: true,
78
+ lineStyle: {
79
+ // 使用深浅的间隔色
80
+ color: ['rgba(123,90,251,0.3)']
81
+ }
82
+ }
83
+ }, radarConfig),
84
+ series: [{
85
+ type: 'radar',
86
+ data: result
87
+ }]
88
+ };
89
+ return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
90
+ option: option,
91
+ notMerge: true,
92
+ lazyUpdate: true,
93
+ style: {
94
+ height: height,
95
+ width: width
96
+ }
97
+ });
98
+ };
99
+ var _default = RadarCharts;
100
+ exports["default"] = _default;
101
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_echartsForReact","_useSettings2","obj","__esModule","RadarCharts","_ref","_ref$data","data","_ref$height","height","_ref$width","width","_ref$indicator","indicator","_ref$radarConfig","radarConfig","_useSettings","useSettings","theme","result","map","item","push","value","name","symbolSize","lineStyle","color","areaColor","areaStyle","opacity","option","tooltip","trigger","position","radar","Object","assign","center","radius","textStyle","fontSize","padding","nameGap","splitLine","show","axisLine","series","type","React","createElement","Chart","notMerge","lazyUpdate","style","_default","exports"],"sources":["vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js"],"sourcesContent":["/*\n * @Author: limingxian limingxian@vortexinfo.cn\n * @Date: 2023-09-02 22:08:12\n * @LastEditors: limingxian limingxian@vortexinfo.cn\n * @LastEditTime: 2023-09-07 11:37:11\n * @FilePath: /zhsw-psfw-web/src/components/DetailModal/DetailContents/current-line-network-health-content/Components/PipelineHealthRating/RadarCharts/index.js\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\nimport React from 'react';\nimport Chart from 'echarts-for-react';\nimport useSettings from '../../../../vm-hooks/useSettings';\nconst RadarCharts = ({ data = [], height = '100%', width = '100%', indicator = [], radarConfig = {}, }) => {\n const { theme } = useSettings();\n let result = [];\n data.map((item) => {\n result.push({\n value: item.value || [],\n name: item.name,\n symbolSize: [2, 2],\n lineStyle: {\n //边缘颜色\n width: 2,\n color: item.areaColor,\n },\n areaStyle: {\n // color: 'rgba(116, 77, 254)',\n color: item.areaColor,\n opacity: 0.4,\n },\n });\n });\n let option = {\n tooltip: {\n trigger: 'item',\n position: ['50%', '50%'],\n },\n radar: Object.assign({ center: ['45%', '60%'], radius: '50%', name: {\n textStyle: {\n color: theme === 'dark' ? '#FFFFFF' : '#000000',\n fontSize: 14,\n padding: [-2, -10], // 控制文字padding\n },\n }, nameGap: 5, indicator: indicator, splitLine: {\n show: true,\n lineStyle: {\n // 使用深浅的间隔色\n color: ['rgba(123,90,251,0.3)'],\n },\n }, axisLine: {\n show: true,\n lineStyle: {\n // 使用深浅的间隔色\n color: ['rgba(123,90,251,0.3)'],\n },\n } }, radarConfig),\n series: [\n {\n type: 'radar',\n data: result,\n },\n ],\n };\n return React.createElement(Chart, { option: option, notMerge: true, lazyUpdate: true, style: { height, width } });\n};\nexport default RadarCharts;\n"],"mappings":";;;;;;AAQA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA2D,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAV3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,IAAME,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAA0F;EAAA,IAAAC,SAAA,GAAAD,IAAA,CAApFE,IAAI;IAAJA,IAAI,GAAAD,SAAA,cAAG,EAAE,GAAAA,SAAA;IAAAE,WAAA,GAAAH,IAAA,CAAEI,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,MAAM,GAAAA,WAAA;IAAAE,UAAA,GAAAL,IAAA,CAAEM,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,MAAM,GAAAA,UAAA;IAAAE,cAAA,GAAAP,IAAA,CAAEQ,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAG,EAAE,GAAAA,cAAA;IAAAE,gBAAA,GAAAT,IAAA,CAAEU,WAAW;IAAXA,WAAW,GAAAD,gBAAA,cAAG,CAAC,CAAC,GAAAA,gBAAA;EAC/F,IAAAE,YAAA,GAAkB,IAAAC,wBAAW,EAAC,CAAC;IAAvBC,KAAK,GAAAF,YAAA,CAALE,KAAK;EACb,IAAIC,MAAM,GAAG,EAAE;EACfZ,IAAI,CAACa,GAAG,CAAC,UAACC,IAAI,EAAK;IACfF,MAAM,CAACG,IAAI,CAAC;MACRC,KAAK,EAAEF,IAAI,CAACE,KAAK,IAAI,EAAE;MACvBC,IAAI,EAAEH,IAAI,CAACG,IAAI;MACfC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;MAClBC,SAA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MAAM,EAANA,MAAM;MAAEE,KAAK,EAALA;IAAM;EAAE,CAAC,CAAC;AACrH,CAAC;AAAC,IAAA4C,QAAA,GACanD,WAAW;AAAAoD,OAAA,cAAAD,QAAA"}
@@ -0,0 +1,56 @@
1
+ .healthContent.dark {
2
+ color: var(--label-color);
3
+ }
4
+ .healthContent .ratingRank {
5
+ width: 100%;
6
+ display: -webkit-box;
7
+ display: -ms-flexbox;
8
+ display: flex;
9
+ -ms-flex-pack: distribute;
10
+ justify-content: space-around;
11
+ padding: 100px 0;
12
+ -webkit-box-align: center;
13
+ -ms-flex-align: center;
14
+ align-items: center;
15
+ text-align: center;
16
+ }
17
+ .healthContent .ratingRank .ratingRankLeft .ratingRankLeftTitle {
18
+ font-size: 18px;
19
+ font-weight: 400;
20
+ margin-bottom: 10px;
21
+ }
22
+ .healthContent .ratingRank .ratingRankLeft .ratingRankLeftText {
23
+ color: #1f8184;
24
+ font-size: 16px;
25
+ margin-top: 10px;
26
+ }
27
+ .healthContent .ratingRank .ratingRankRight .ratingRankRightTitle {
28
+ font-size: 18px;
29
+ font-weight: 400;
30
+ margin-bottom: 10px;
31
+ }
32
+ .healthContent .ratingRank .ratingRankRight .ratingRankRightText {
33
+ color: #1f8184;
34
+ font-size: 16px;
35
+ margin-top: 10px;
36
+ }
37
+ .healthContent .ratingRank .ratingRankText {
38
+ color: var(--label-color);
39
+ }
40
+ .healthContent .scoringSituationTop {
41
+ display: -webkit-box;
42
+ display: -ms-flexbox;
43
+ display: flex;
44
+ -webkit-box-pack: start;
45
+ -ms-flex-pack: start;
46
+ justify-content: flex-start;
47
+ -webkit-box-align: center;
48
+ -ms-flex-align: center;
49
+ align-items: center;
50
+ width: 100%;
51
+ height: 300px;
52
+ }
53
+ .healthContent .scoringSituationBottom {
54
+ height: 234px;
55
+ padding-top: 20px;
56
+ }