@vtx/modals2 2.13.18 → 2.13.21

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 (318) hide show
  1. package/README.md +33 -33
  2. package/lib/style/index.less +8 -8
  3. package/lib/style/themes/dark.less +69 -69
  4. package/lib/style/themes/default.less +34 -34
  5. package/lib/style/themes/index.less +1 -1
  6. package/lib/typings.d.ts +16 -16
  7. package/lib/util/index.js +20 -0
  8. package/lib/util/index.js.map +1 -1
  9. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  10. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  11. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  12. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/index.less +40 -40
  14. package/lib/vm-alarm-info/api.js.map +1 -1
  15. package/lib/vm-alarm-info/index.js.map +1 -1
  16. package/lib/vm-alarm-info/style/index.less +16 -16
  17. package/lib/vm-alarm-situation/api.js.map +1 -1
  18. package/lib/vm-alarm-situation/index.js.map +1 -1
  19. package/lib/vm-alarm-situation/style/index.less +67 -67
  20. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  21. package/lib/vm-alarm-situation-pt/style/index.less +65 -65
  22. package/lib/vm-analysis-comparison/api.js.map +1 -1
  23. package/lib/vm-analysis-comparison/index.js.map +1 -1
  24. package/lib/vm-analysis-comparison/style/index.less +12 -12
  25. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  26. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  27. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  28. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  29. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  30. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  31. package/lib/vm-appraisal-info/index.js.map +1 -1
  32. package/lib/vm-appraisal-info/style/index.less +122 -122
  33. package/lib/vm-base-list/index.js.map +1 -1
  34. package/lib/vm-base-list/style/index.less +39 -39
  35. package/lib/vm-button/index.js.map +1 -1
  36. package/lib/vm-button/style/index.less +20 -20
  37. package/lib/vm-charts/Distribute1.js.map +1 -1
  38. package/lib/vm-charts/Line.js.map +1 -1
  39. package/lib/vm-charts/Pie.js.map +1 -1
  40. package/lib/vm-charts/index.less +30 -30
  41. package/lib/vm-checkbox/index.js.map +1 -1
  42. package/lib/vm-checkbox/style/index.less +25 -25
  43. package/lib/vm-container/style/index.less +29 -29
  44. package/lib/vm-correlation-comparison/api.js.map +1 -1
  45. package/lib/vm-correlation-comparison/index.js.map +1 -1
  46. package/lib/vm-correlation-comparison/style/index.less +13 -13
  47. package/lib/vm-empty/style/index.less +23 -23
  48. package/lib/vm-filter/index.js.map +1 -1
  49. package/lib/vm-filter/style/index.less +165 -165
  50. package/lib/vm-iframe-modal/style/index.less +8 -8
  51. package/lib/vm-image-text/style/index.less +30 -30
  52. package/lib/vm-info-collection/index.js.map +1 -1
  53. package/lib/vm-info-collection/style/index.less +38 -38
  54. package/lib/vm-map/index.js.map +1 -1
  55. package/lib/vm-modal-table/style/index.less +23 -23
  56. package/lib/vm-nodata/index.js.map +1 -1
  57. package/lib/vm-radio/style/index.less +26 -26
  58. package/lib/vm-real-time-monitor/api.js.map +1 -1
  59. package/lib/vm-real-time-monitor/index.js.map +1 -1
  60. package/lib/vm-real-time-monitor/style/index.less +11 -11
  61. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  62. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  63. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  64. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  65. package/lib/vm-repair-maintain/index.js.map +1 -1
  66. package/lib/vm-repair-maintain/style/index.less +108 -108
  67. package/lib/vm-round-content/index.js.map +1 -1
  68. package/lib/vm-round-content/style/index.less +34 -34
  69. package/lib/vm-select-device/index.js.map +1 -1
  70. package/lib/vm-select-device/style/index.less +16 -16
  71. package/lib/vm-sub-tabs/index.js.map +1 -1
  72. package/lib/vm-sub-tabs/style/index.less +119 -119
  73. package/lib/vm-sub-title/index.js.map +1 -1
  74. package/lib/vm-sub-title/style/index.less +23 -23
  75. package/lib/vm-table/index.js.map +1 -1
  76. package/lib/vm-table/style/index.less +224 -224
  77. package/lib/vm-video/index.js.map +1 -1
  78. package/lib/vm-video/index.less +10 -10
  79. package/lib/vtx-base-info/index.js.map +1 -1
  80. package/lib/vtx-base-info/style/index.less +62 -62
  81. package/lib/vtx-base-modal/index.js.map +1 -1
  82. package/lib/vtx-base-modal/style/index.less +578 -578
  83. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  84. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  85. package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
  86. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  87. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  88. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  89. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  90. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  91. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  92. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  93. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  94. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  95. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  96. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  97. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  98. package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -239
  99. package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
  100. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  101. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  102. package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
  103. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  104. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  105. package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
  106. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  107. package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
  108. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  109. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  110. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  111. package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
  112. package/lib/vtx-car-modal/index.js +6 -30
  113. package/lib/vtx-car-modal/index.js.map +1 -1
  114. package/lib/vtx-car-modal/style/index.less +8 -8
  115. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  116. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  117. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  118. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  119. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
  120. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  121. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  122. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
  123. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  124. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  125. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  126. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
  127. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  128. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
  129. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  130. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  131. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  132. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -40
  133. package/lib/vtx-cc-cp-modal/style/index.less +1 -1
  134. package/lib/vtx-cp-modal/api.js +47 -29
  135. package/lib/vtx-cp-modal/api.js.map +1 -1
  136. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  137. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  138. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  139. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
  140. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  141. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  142. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  143. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  144. package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
  145. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  146. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  147. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  148. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
  149. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  150. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  151. package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -38
  152. package/lib/vtx-cp-modal/index.js +17 -18
  153. package/lib/vtx-cp-modal/index.js.map +1 -1
  154. package/lib/vtx-cp-modal/style/index.less +1 -1
  155. package/lib/vtx-default-modal/components/BaseInfo/index.js +6 -2
  156. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  157. package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
  158. package/lib/vtx-default-modal/index.js +9 -12
  159. package/lib/vtx-default-modal/index.js.map +1 -1
  160. package/lib/vtx-default-modal/style/index.less +1 -1
  161. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  162. package/lib/vtx-device-modal/style/index.less +7 -7
  163. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  164. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  165. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  166. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  167. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  168. package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -191
  169. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  170. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  171. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  172. package/lib/vtx-df-modal/components/Metering/index.less +75 -75
  173. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  174. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  175. package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
  176. package/lib/vtx-df-modal/index.js +9 -30
  177. package/lib/vtx-df-modal/index.js.map +1 -1
  178. package/lib/vtx-df-modal/style/index.less +1 -1
  179. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  180. package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
  181. package/lib/vtx-facility-modal/style/index.less +1 -1
  182. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  183. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  184. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  185. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
  186. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  187. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  188. package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -246
  189. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +3 -3
  190. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  191. package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
  192. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  193. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
  194. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  195. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
  196. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  197. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -76
  198. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  199. package/lib/vtx-housing-estate-modal/style/index.less +1 -1
  200. package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
  201. package/lib/vtx-kh-modal/index.js.map +1 -1
  202. package/lib/vtx-kh-modal/style/index.less +1 -1
  203. package/lib/vtx-pump-modal/api.js.map +1 -1
  204. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  205. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  206. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  207. package/lib/vtx-pump-modal/components/AlarmRecord/index.less +91 -91
  208. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +2 -2
  209. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  210. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +3 -3
  211. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  212. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +3 -3
  213. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  214. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +3 -3
  215. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  216. package/lib/vtx-pump-modal/components/Basic/index.less +69 -69
  217. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
  218. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  219. package/lib/vtx-pump-modal/components/Sbxl/index.less +91 -91
  220. package/lib/vtx-pump-modal/components/Sjfx/index.js +2 -2
  221. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  222. package/lib/vtx-pump-modal/components/Sjfx/index.less +58 -58
  223. package/lib/vtx-pump-modal/components/Sxyx/index.less +156 -156
  224. package/lib/vtx-pump-modal/style/index.less +1 -1
  225. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  226. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  227. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  228. package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -32
  229. package/lib/vtx-restaurant-modal/components/Basic/Info.js +3 -3
  230. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  231. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  232. package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
  233. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  234. package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -23
  235. package/lib/vtx-restaurant-modal/style/index.less +1 -1
  236. package/lib/vtx-road-modal/api.js +27 -9
  237. package/lib/vtx-road-modal/api.js.map +1 -1
  238. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  239. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  240. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  241. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  242. package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
  243. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  244. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  245. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  246. package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
  247. package/lib/vtx-road-modal/index.js +9 -1
  248. package/lib/vtx-road-modal/index.js.map +1 -1
  249. package/lib/vtx-road-modal/style/index.less +1 -1
  250. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  251. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  252. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
  253. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  254. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  255. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  256. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  257. package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
  258. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  259. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  260. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  261. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  262. package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -144
  263. package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
  264. package/lib/vtx-staff-modal/index.js.map +1 -1
  265. package/lib/vtx-staff-modal/style/index.less +1 -1
  266. package/lib/vtx-theme-provider/index.js.map +1 -1
  267. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  268. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  269. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  270. package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
  271. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  272. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  273. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  274. package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
  275. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  276. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  277. package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
  278. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  279. package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
  280. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  281. package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
  282. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  283. package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -76
  284. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  285. package/lib/vtx-throw-point-modal/index.js +2 -2
  286. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  287. package/lib/vtx-throw-point-modal/style/index.less +1 -1
  288. package/lib/vtx-wr-modal/api.js.map +1 -1
  289. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  290. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  291. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  292. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
  293. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  294. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  295. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  296. package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -132
  297. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +3 -3
  298. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  299. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +1 -0
  300. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  301. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  302. package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
  303. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  304. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  305. package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
  306. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  307. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  308. package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
  309. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  310. package/lib/vtx-wr-modal/components/Score/index.less +117 -117
  311. package/lib/vtx-wr-modal/components/Ztt/index.js +2 -2
  312. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
  313. package/lib/vtx-wr-modal/style/index.less +1 -1
  314. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  315. package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
  316. package/lib/vtx-zg-modal/index.js.map +1 -1
  317. package/lib/vtx-zg-modal/style/index.less +1 -1
  318. package/package.json +1 -1
@@ -1,58 +1,58 @@
1
- @import '../../style/index';
2
-
3
- .@{prefix-cls}-sjfx {
4
- padding: 6px 10px;
5
-
6
- &-top {
7
- padding: 10px 20px;
8
- display: flex;
9
- align-items: center;
10
- margin-bottom: 10px;
11
- background: var(--bg-color2);
12
- justify-content: space-between;
13
- }
14
-
15
- &-card {
16
- width: 100%;
17
- height: 100%;
18
- background: var(--bg-color2);
19
- border-radius: 4px;
20
- box-shadow: 0 2px 4px 1px rgba(0,0,0,0.02);
21
-
22
- &-title {
23
- display: flex;
24
- height: 50px;
25
- align-items: center;
26
- border-bottom: 1px solid #E8E8E8;
27
- padding: 0 20px;
28
-
29
- &-text {
30
- font-size: 16px;
31
- font-family: PingFangSC-Medium-, PingFangSC-Medium;
32
- font-weight: normal;
33
- color: rgba(0,0,0,0.85);
34
- }
35
- }
36
-
37
- &-content {
38
- height: calc(100% - 50px);
39
- padding: 18px 25px;
40
- display: flex;
41
-
42
- &-label {
43
- font-size: 14px;
44
- font-family: PingFang SC-Regular, PingFang SC;
45
- font-weight: 400;
46
- color: rgba(0,0,0,0.65);
47
- }
48
-
49
- &-value {
50
- font-size: 14px;
51
- font-family: PingFang SC-Regular, PingFang SC;
52
- font-weight: 400;
53
- color: rgba(0,0,0,0.85);
54
- }
55
- }
56
- }
57
-
58
- }
1
+ @import '../../style/index';
2
+
3
+ .@{prefix-cls}-sjfx {
4
+ padding: 6px 10px;
5
+
6
+ &-top {
7
+ padding: 10px 20px;
8
+ display: flex;
9
+ align-items: center;
10
+ margin-bottom: 10px;
11
+ background: var(--bg-color2);
12
+ justify-content: space-between;
13
+ }
14
+
15
+ &-card {
16
+ width: 100%;
17
+ height: 100%;
18
+ background: var(--bg-color2);
19
+ border-radius: 4px;
20
+ box-shadow: 0 2px 4px 1px rgba(0,0,0,0.02);
21
+
22
+ &-title {
23
+ display: flex;
24
+ height: 50px;
25
+ align-items: center;
26
+ border-bottom: 1px solid #E8E8E8;
27
+ padding: 0 20px;
28
+
29
+ &-text {
30
+ font-size: 16px;
31
+ font-family: PingFangSC-Medium-, PingFangSC-Medium;
32
+ font-weight: normal;
33
+ color: rgba(0,0,0,0.85);
34
+ }
35
+ }
36
+
37
+ &-content {
38
+ height: calc(100% - 50px);
39
+ padding: 18px 25px;
40
+ display: flex;
41
+
42
+ &-label {
43
+ font-size: 14px;
44
+ font-family: PingFang SC-Regular, PingFang SC;
45
+ font-weight: 400;
46
+ color: rgba(0,0,0,0.65);
47
+ }
48
+
49
+ &-value {
50
+ font-size: 14px;
51
+ font-family: PingFang SC-Regular, PingFang SC;
52
+ font-weight: 400;
53
+ color: rgba(0,0,0,0.85);
54
+ }
55
+ }
56
+ }
57
+
58
+ }
@@ -1,156 +1,156 @@
1
- @import '../../style/index';
2
-
3
- .@{prefix-cls}-sxyx {
4
- padding: 6px 10px;
5
-
6
- &-card {
7
- width: 100%;
8
- height: 100%;
9
- background: var(--bg-color2);
10
- border-radius: 4px;
11
- box-shadow: 0 2px 4px 1px rgba(0,0,0,0.02);
12
-
13
- &-title {
14
- display: flex;
15
- height: 50px;
16
- align-items: center;
17
- justify-content: space-between;
18
- border-bottom: 1px solid #E8E8E8;
19
- padding: 0 25px;
20
-
21
- &-text {
22
- font-size: 16px;
23
- font-family: PingFangSC-Medium-, PingFangSC-Medium;
24
- font-weight: normal;
25
- color: rgba(0,0,0,0.85);
26
- }
27
- }
28
-
29
- &-content {
30
- height: calc(100% - 50px);
31
- padding: 18px 25px;
32
- display: flex;
33
-
34
- &-label {
35
- font-size: 14px;
36
- font-family: PingFang SC-Regular, PingFang SC;
37
- font-weight: 400;
38
- color: rgba(0,0,0,0.65);
39
- }
40
-
41
- &-value {
42
- font-size: 14px;
43
- font-family: PingFang SC-Regular, PingFang SC;
44
- font-weight: 400;
45
- color: rgba(0,0,0,0.85);
46
- }
47
- }
48
- }
49
-
50
- &-sx-info {
51
- position: relative;
52
- width: 70%;
53
- height: 100px;
54
- margin: auto 0;
55
-
56
- &-sxHeight {
57
- position: absolute;
58
- top: -13px;
59
- display: flex;
60
- align-items: center;
61
- }
62
- &-sxMaxHeight {
63
- position: absolute;
64
- top: 20px;
65
- display: flex;
66
- align-items: center;
67
- }
68
- &-sxMinHeight {
69
- position: absolute;
70
- bottom: -13px;
71
- display: flex;
72
- align-items: center;
73
- }
74
- &-sxNowHeight {
75
- position: absolute;
76
- right: -10px;
77
- display: flex;
78
- align-items: center;
79
- }
80
-
81
- &-line {
82
- display: inline-block;
83
- width: 120px;
84
- height: 0px;
85
- border: 1px solid rgba(112, 112, 112, 0.24);
86
- margin-left: 10px;
87
- }
88
-
89
- .lui-column-bg {
90
- position: absolute;
91
- width: 70px;
92
- height: 100%;
93
- background-color: rgba(197, 227, 255, 1);
94
- top: 50%;
95
- left: 50%;
96
- transform: translate(-50%, -50%);
97
-
98
- &::before {
99
- position: absolute;
100
- content: '';
101
- display: block;
102
- height: 20px;
103
- width: 100%;
104
- border-radius: 50%;
105
- top: -10.5px;
106
- z-index: 1;
107
- background: linear-gradient(0deg, #1890FF 0%, #C5E3FF 100%);
108
- }
109
-
110
- &::after {
111
- position: absolute;
112
- content: '';
113
- display: block;
114
- height: 15px;
115
- width: 100%;
116
- border-radius: 50%;
117
- bottom: -9.5px;
118
- background: rgba(24,144,255,0.5);
119
- }
120
-
121
- .lui-inner {
122
- position: absolute;
123
- bottom: 0;
124
- width: 100%;
125
- height: 50%;
126
- background: linear-gradient(0deg, rgba(24,144,255,0.3) 0%, rgba(24,144,255,0.5) 100%);
127
- text-align: center;
128
-
129
- &::before {
130
- position: absolute;
131
- content: '';
132
- display: block;
133
- height: 20px;
134
- width: 100%;
135
- background: linear-gradient(0deg, #1890FF 0%, #78BEFF 100%);
136
- border-radius: 50%;
137
- top: -10.5px;
138
- z-index: 1;
139
- }
140
-
141
- &::after {
142
- position: absolute;
143
- content: '';
144
- display: block;
145
- height: 15px;
146
- width: 100%;
147
- border-radius: 50%;
148
- background: var(--bg-color2);
149
- bottom: -10px;
150
- }
151
- }
152
- }
153
- }
154
-
155
-
156
- }
1
+ @import '../../style/index';
2
+
3
+ .@{prefix-cls}-sxyx {
4
+ padding: 6px 10px;
5
+
6
+ &-card {
7
+ width: 100%;
8
+ height: 100%;
9
+ background: var(--bg-color2);
10
+ border-radius: 4px;
11
+ box-shadow: 0 2px 4px 1px rgba(0,0,0,0.02);
12
+
13
+ &-title {
14
+ display: flex;
15
+ height: 50px;
16
+ align-items: center;
17
+ justify-content: space-between;
18
+ border-bottom: 1px solid #E8E8E8;
19
+ padding: 0 25px;
20
+
21
+ &-text {
22
+ font-size: 16px;
23
+ font-family: PingFangSC-Medium-, PingFangSC-Medium;
24
+ font-weight: normal;
25
+ color: rgba(0,0,0,0.85);
26
+ }
27
+ }
28
+
29
+ &-content {
30
+ height: calc(100% - 50px);
31
+ padding: 18px 25px;
32
+ display: flex;
33
+
34
+ &-label {
35
+ font-size: 14px;
36
+ font-family: PingFang SC-Regular, PingFang SC;
37
+ font-weight: 400;
38
+ color: rgba(0,0,0,0.65);
39
+ }
40
+
41
+ &-value {
42
+ font-size: 14px;
43
+ font-family: PingFang SC-Regular, PingFang SC;
44
+ font-weight: 400;
45
+ color: rgba(0,0,0,0.85);
46
+ }
47
+ }
48
+ }
49
+
50
+ &-sx-info {
51
+ position: relative;
52
+ width: 70%;
53
+ height: 100px;
54
+ margin: auto 0;
55
+
56
+ &-sxHeight {
57
+ position: absolute;
58
+ top: -13px;
59
+ display: flex;
60
+ align-items: center;
61
+ }
62
+ &-sxMaxHeight {
63
+ position: absolute;
64
+ top: 20px;
65
+ display: flex;
66
+ align-items: center;
67
+ }
68
+ &-sxMinHeight {
69
+ position: absolute;
70
+ bottom: -13px;
71
+ display: flex;
72
+ align-items: center;
73
+ }
74
+ &-sxNowHeight {
75
+ position: absolute;
76
+ right: -10px;
77
+ display: flex;
78
+ align-items: center;
79
+ }
80
+
81
+ &-line {
82
+ display: inline-block;
83
+ width: 120px;
84
+ height: 0px;
85
+ border: 1px solid rgba(112, 112, 112, 0.24);
86
+ margin-left: 10px;
87
+ }
88
+
89
+ .lui-column-bg {
90
+ position: absolute;
91
+ width: 70px;
92
+ height: 100%;
93
+ background-color: rgba(197, 227, 255, 1);
94
+ top: 50%;
95
+ left: 50%;
96
+ transform: translate(-50%, -50%);
97
+
98
+ &::before {
99
+ position: absolute;
100
+ content: '';
101
+ display: block;
102
+ height: 20px;
103
+ width: 100%;
104
+ border-radius: 50%;
105
+ top: -10.5px;
106
+ z-index: 1;
107
+ background: linear-gradient(0deg, #1890FF 0%, #C5E3FF 100%);
108
+ }
109
+
110
+ &::after {
111
+ position: absolute;
112
+ content: '';
113
+ display: block;
114
+ height: 15px;
115
+ width: 100%;
116
+ border-radius: 50%;
117
+ bottom: -9.5px;
118
+ background: rgba(24,144,255,0.5);
119
+ }
120
+
121
+ .lui-inner {
122
+ position: absolute;
123
+ bottom: 0;
124
+ width: 100%;
125
+ height: 50%;
126
+ background: linear-gradient(0deg, rgba(24,144,255,0.3) 0%, rgba(24,144,255,0.5) 100%);
127
+ text-align: center;
128
+
129
+ &::before {
130
+ position: absolute;
131
+ content: '';
132
+ display: block;
133
+ height: 20px;
134
+ width: 100%;
135
+ background: linear-gradient(0deg, #1890FF 0%, #78BEFF 100%);
136
+ border-radius: 50%;
137
+ top: -10.5px;
138
+ z-index: 1;
139
+ }
140
+
141
+ &::after {
142
+ position: absolute;
143
+ content: '';
144
+ display: block;
145
+ height: 15px;
146
+ width: 100%;
147
+ border-radius: 50%;
148
+ background: var(--bg-color2);
149
+ bottom: -10px;
150
+ }
151
+ }
152
+ }
153
+ }
154
+
155
+
156
+ }
@@ -1 +1 @@
1
- @prefix-cls: pump;
1
+ @prefix-cls: pump;
@@ -1 +1 @@
1
- {"version":3,"file":"AlarmTrend.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_index","_api","_lodash","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","data","_useSettings","useSettings","chartColor","chartFontColor","color","grid","top","left","bottom","right","tooltip","trigger","xAxis","type","_","map","nameTextStyle","axisLabel","yAxis","series","AlarmTrend","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","AlarmService","alarmTrend","React","createElement","ReactEcharts","option","style","width","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmTrend.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nimport _ from 'lodash';\nimport useSettings from '../../../vm-hooks/useSettings';\nconst getOption = (data) => {\n const { chartColor, chartFontColor } = useSettings();\n return {\n color: chartColor,\n grid: {\n top: 20,\n left: 40,\n bottom: 20,\n right: 20,\n },\n tooltip: {\n trigger: 'axis',\n },\n xAxis: {\n type: 'category',\n data: _.map(data, 'labelName'),\n nameTextStyle: {\n color: chartFontColor,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n yAxis: {\n type: 'value',\n nameTextStyle: {\n color: chartFontColor,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n series: [\n {\n data: _.map(data, 'labelValue'),\n type: 'line',\n },\n ],\n };\n};\nconst AlarmTrend = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const data = AlarmService.alarmTrend({\n id,\n startDate,\n endDate,\n });\n return React.createElement(ReactEcharts, { option: getOption(data), style: { width: '100%', height: '100%' } });\n};\nexport default AlarmTrend;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAK,GAAA,WAAAA,GAAA,IA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AACC,2BAAY,EAAE;IAAEC,MAAM,EAAEnC,SAAS,CAACC,IAAI,CAAC;IAAEmC,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GACajB,UAAU;AAAAkB,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"AlarmTrend.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_index","_api","_lodash","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","data","_useSettings","useSettings","chartColor","chartFontColor","color","grid","top","left","bottom","right","tooltip","trigger","xAxis","type","_","map","nameTextStyle","axisLabel","yAxis","series","AlarmTrend","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","AlarmService","alarmTrend","React","createElement","ReactEcharts","option","style","width","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmTrend.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nimport _ from 'lodash';\nimport useSettings from '../../../vm-hooks/useSettings';\nconst getOption = (data) => {\n const { chartColor, chartFontColor } = useSettings();\n return {\n color: chartColor,\n grid: {\n top: 20,\n left: 40,\n bottom: 20,\n right: 20,\n },\n tooltip: {\n trigger: 'axis',\n },\n xAxis: {\n type: 'category',\n data: _.map(data, 'labelName'),\n nameTextStyle: {\n color: chartFontColor,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n yAxis: {\n type: 'value',\n nameTextStyle: {\n color: chartFontColor,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n series: [\n {\n data: _.map(data, 'labelValue'),\n type: 'line',\n },\n ],\n };\n};\nconst AlarmTrend = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const data = AlarmService.alarmTrend({\n id,\n startDate,\n endDate,\n });\n return React.createElement(ReactEcharts, { option: getOption(data), style: { width: '100%', height: '100%' } });\n};\nexport default AlarmTrend;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAX,wBAAAQ,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,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AI,EAAE,YAAY,CAAC;MAC/Bc,IAAI,EAAE;IACV,CAAC;EAET,CAAC;AACL,CAAC;AACD,IAAMO,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,EAA+B;EAAA,IAAzBC,SAAS,GAAAD,IAAA,CAATC,SAAS;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;EACpC,IAAAC,WAAA,GAAe,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAApCC,EAAE,GAAAH,WAAA,CAAFG,EAAE;EACV,IAAM5B,IAAI,GAAG6B,iBAAY,CAACC,UAAU,CAAC;IACjCF,EAAE,EAAFA,EAAE;IACFL,SAAS,EAATA,SAAS;IACTC,OAAO,EAAPA;EACJ,CAAC,CAAC;EACF,oBAAOO,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAEnC,SAAS,CAACC,IAAI,CAAC;IAAEmC,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GACajB,UAAU;AAAAkB,OAAA,cAAAD,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlarmTypeAnalysis.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_index","_api","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","data","_useSettings","useSettings","chartColor","chartFontColor","total","arr","map","item","labelValue","name","labelName","value","color","title","text","concat","left","top","textStyle","rich","a","fontSize","tooltip","trigger","legend","right","orient","series","type","center","radius","avoidLabelOverlap","label","show","position","labelLine","AlarmTypeAnalysis","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","AlarmService","typeAnalysis","React","createElement","ReactEcharts","option","style","width","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nimport useSettings from '../../../vm-hooks/useSettings';\nconst getOption = (data) => {\n const { chartColor, chartFontColor } = useSettings();\n let total = 0;\n const arr = data.map(item => {\n total += item.labelValue;\n return {\n name: item.labelName,\n value: item.labelValue,\n };\n });\n return {\n color: chartColor,\n title: {\n text: `{a|总次数}\\n${total}{a|次}`,\n left: 'center',\n top: 'center',\n textStyle: {\n color: chartFontColor,\n rich: {\n a: {\n fontSize: 12,\n },\n },\n },\n },\n tooltip: {\n trigger: 'item',\n },\n legend: {\n top: 'center',\n right: '5%',\n orient: 'vertical',\n textStyle: {\n color: chartFontColor,\n }\n },\n series: [\n {\n name: '报警次数类型占比',\n type: 'pie',\n center: ['50%', '50%'],\n radius: ['70%', '90%'],\n avoidLabelOverlap: false,\n label: {\n show: false,\n position: 'center',\n },\n labelLine: {\n show: false,\n },\n data: arr,\n },\n ],\n };\n};\nconst AlarmTypeAnalysis = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const data = AlarmService.typeAnalysis({\n id,\n startDate,\n endDate,\n });\n return React.createElement(ReactEcharts, { option: getOption(data), style: { width: '100%', height: '100%' } });\n};\nexport default AlarmTypeAnalysis;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AACA,IAAAK,aAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAA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SAAS;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;EAC3C,IAAAC,WAAA,GAAe,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAApCC,EAAE,GAAAH,WAAA,CAAFG,EAAE;EACV,IAAM5C,IAAI,GAAG6C,iBAAY,CAACC,YAAY,CAAC;IACnCF,EAAE,EAAFA,EAAE;IACFL,SAAS,EAATA,SAAS;IACTC,OAAO,EAAPA;EACJ,CAAC,CAAC;EACF,oBAAOO,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAEnD,SAAS,CAACC,IAAI,CAAC;IAAEmD,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GACajB,iBAAiB;AAAAkB,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"AlarmTypeAnalysis.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_index","_api","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","data","_useSettings","useSettings","chartColor","chartFontColor","total","arr","map","item","labelValue","name","labelName","value","color","title","text","concat","left","top","textStyle","rich","a","fontSize","tooltip","trigger","legend","right","orient","series","type","center","radius","avoidLabelOverlap","label","show","position","labelLine","AlarmTypeAnalysis","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","AlarmService","typeAnalysis","React","createElement","ReactEcharts","option","style","width","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nimport useSettings from '../../../vm-hooks/useSettings';\nconst getOption = (data) => {\n const { chartColor, chartFontColor } = useSettings();\n let total = 0;\n const arr = data.map(item => {\n total += item.labelValue;\n return {\n name: item.labelName,\n value: item.labelValue,\n };\n });\n return {\n color: chartColor,\n title: {\n text: `{a|总次数}\\n${total}{a|次}`,\n left: 'center',\n top: 'center',\n textStyle: {\n color: chartFontColor,\n rich: {\n a: {\n fontSize: 12,\n },\n },\n },\n },\n tooltip: {\n trigger: 'item',\n },\n legend: {\n top: 'center',\n right: '5%',\n orient: 'vertical',\n textStyle: {\n color: chartFontColor,\n }\n },\n series: [\n {\n name: '报警次数类型占比',\n type: 'pie',\n center: ['50%', '50%'],\n radius: ['70%', '90%'],\n avoidLabelOverlap: false,\n label: {\n show: false,\n position: 'center',\n },\n labelLine: {\n show: false,\n },\n data: arr,\n },\n ],\n };\n};\nconst AlarmTypeAnalysis = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const data = AlarmService.typeAnalysis({\n id,\n startDate,\n endDate,\n });\n return React.createElement(ReactEcharts, { option: getOption(data), style: { width: '100%', height: '100%' } });\n};\nexport default AlarmTypeAnalysis;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AACA,IAAAK,aAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAV,w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AY,CAAC;IACnCF,EAAE,EAAFA,EAAE;IACFL,SAAS,EAATA,SAAS;IACTC,OAAO,EAAPA;EACJ,CAAC,CAAC;EACF,oBAAOO,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAEnD,SAAS,CAACC,IAAI,CAAC;IAAEmD,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GACajB,iBAAiB;AAAAkB,OAAA,cAAAD,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmSubTitle","_vmFilter","_AlarmRecord","_AlarmTrend","_AlarmTypeAnalysis","_index","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","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","Alarm","_useContext","useContext","RestaurantContext","prefix","_useState","useState","moment","subtract","_useState2","times","setTimes","onDateChange","date","React","createElement","className","concat","VMRangePicker","onChange","style","marginRight","VmSubTitle","title","AlarmTypeAnalysis","startDate","format","endDate","AlarmTrend","AlarmRecord","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VMRangePicker } from '../../../vm-filter';\nimport AlarmRecord from './AlarmRecord';\nimport AlarmTrend from './AlarmTrend';\nimport AlarmTypeAnalysis from './AlarmTypeAnalysis';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Alarm = () => {\n const { prefix } = useContext(RestaurantContext);\n // 日期范围\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n return (React.createElement(\"div\", { className: `${prefix}-alarm` },\n React.createElement(\"div\", { className: `${prefix}-alarm-search` },\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { marginRight: 10 } })),\n React.createElement(\"div\", { className: `${prefix}-alarm-charts` },\n React.createElement(\"div\", { className: `${prefix}-alarm-charts--chart` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u6B21\\u6570\\u7C7B\\u578B\\u5360\\u6BD4\" }),\n React.createElement(AlarmTypeAnalysis, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') })),\n React.createElement(\"div\", { className: `${prefix}-alarm-charts--chart` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u6B21\\u6570\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(AlarmTrend, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') }))),\n React.createElement(\"div\", { className: `${prefix}-alarm-list` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u8BB0\\u5F55\\u660E\\u7EC6\" }),\n React.createElement(AlarmRecord, { startDate: times[0].format('YYYY-MM-DD 00:00:00'), endDate: times[1].format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Alarm;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,WAAA,GAAAJ,sBAAA,CAAAF,OAAA;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,CAAC,KAAK,EAAE;IAAEC,SAAS,KAAAC,MAAA,CAAKb,MAAM;EAAc,CAAC,eAC5DU,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFT,iBAAK,CAACC,aAAa,CAACc,uBAAW,EAAE;IAAEJ,SAAS,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB,CAAC;IAAEC,OAAO,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACtJ,CAAC;AAAC,IAAAI,QAAA,GACa9B,KAAK;AAAA+B,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmSubTitle","_vmFilter","_AlarmRecord","_AlarmTrend","_AlarmTypeAnalysis","_index","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","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","Alarm","_useContext","useContext","RestaurantContext","prefix","_useState","useState","moment","subtract","_useState2","times","setTimes","onDateChange","date","React","createElement","className","concat","VMRangePicker","onChange","style","marginRight","VmSubTitle","title","AlarmTypeAnalysis","startDate","format","endDate","AlarmTrend","AlarmRecord","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VMRangePicker } from '../../../vm-filter';\nimport AlarmRecord from './AlarmRecord';\nimport AlarmTrend from './AlarmTrend';\nimport AlarmTypeAnalysis from './AlarmTypeAnalysis';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Alarm = () => {\n const { prefix } = useContext(RestaurantContext);\n // 日期范围\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n return (React.createElement(\"div\", { className: `${prefix}-alarm` },\n React.createElement(\"div\", { className: `${prefix}-alarm-search` },\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { marginRight: 10 } })),\n React.createElement(\"div\", { className: `${prefix}-alarm-charts` },\n React.createElement(\"div\", { className: `${prefix}-alarm-charts--chart` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u6B21\\u6570\\u7C7B\\u578B\\u5360\\u6BD4\" }),\n React.createElement(AlarmTypeAnalysis, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') })),\n React.createElement(\"div\", { className: `${prefix}-alarm-charts--chart` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u6B21\\u6570\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(AlarmTrend, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') }))),\n React.createElement(\"div\", { className: `${prefix}-alarm-list` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u8BB0\\u5F55\\u660E\\u7EC6\" }),\n React.createElement(AlarmRecord, { startDate: times[0].format('YYYY-MM-DD 00:00:00'), endDate: times[1].format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Alarm;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,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MAAM,CAAC,YAAY;EAAE,CAAC,CAAC,CAAC,CAAC,eAC/HZ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,KAAAC,MAAA,CAAKb,MAAM;EAAc,CAAC,eAC5DU,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFT,iBAAK,CAACC,aAAa,CAACc,uBAAW,EAAE;IAAEJ,SAAS,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB,CAAC;IAAEC,OAAO,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACtJ,CAAC;AAAC,IAAAI,QAAA,GACa9B,KAAK;AAAA+B,OAAA,cAAAD,QAAA"}
@@ -1,32 +1,32 @@
1
- @import '../../style/index';
2
-
3
- .@{prefix-cls}-alarm {
4
- display: flex;
5
- flex-direction: column;
6
- gap: 10px;
7
- height: 600px;
8
- padding: 6px 10px;
9
- &-search {
10
- padding: 10px 20px;
11
- background: var(--bg-color2);
12
- }
13
- &-charts {
14
- height: 200px;
15
- display: flex;
16
- gap: 10px;
17
-
18
- &--chart {
19
- height: 100%;
20
- padding: 20px;
21
- flex: 1;
22
- display: flex;
23
- flex-direction: column;
24
- background: var(--bg-color2);
25
- }
26
- }
27
- &-list {
28
- padding: 20px;
29
- flex: 1;
30
- background: var(--bg-color2);
31
- }
32
- }
1
+ @import '../../style/index';
2
+
3
+ .@{prefix-cls}-alarm {
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 10px;
7
+ height: 600px;
8
+ padding: 6px 10px;
9
+ &-search {
10
+ padding: 10px 20px;
11
+ background: var(--bg-color2);
12
+ }
13
+ &-charts {
14
+ height: 200px;
15
+ display: flex;
16
+ gap: 10px;
17
+
18
+ &--chart {
19
+ height: 100%;
20
+ padding: 20px;
21
+ flex: 1;
22
+ display: flex;
23
+ flex-direction: column;
24
+ background: var(--bg-color2);
25
+ }
26
+ }
27
+ &-list {
28
+ padding: 20px;
29
+ flex: 1;
30
+ background: var(--bg-color2);
31
+ }
32
+ }
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports["default"] = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _antd = require("antd");
10
- var _utils = require("@vtx/utils");
10
+ var _util = require("../../../util");
11
11
  var _vmInfoCollection = _interopRequireDefault(require("../../../vm-info-collection"));
12
12
  var _index = require("../../index");
13
13
  var _api = require("../../api");
@@ -36,9 +36,9 @@ var Info = function Info() {
36
36
  width: 80,
37
37
  height: 80,
38
38
  key: item.id,
39
- src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat((0, _utils.getUrlParam)('token')),
39
+ src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat((0, _util.getUrlPara)('token')),
40
40
  preview: {
41
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat((0, _utils.getUrlParam)('token'))
41
+ src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat((0, _util.getUrlPara)('token'))
42
42
  }
43
43
  });
44
44
  }));