@vtx/modals2 5.0.3 → 5.0.5

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 (294) hide show
  1. package/lib/_components/index.js +4 -3
  2. package/lib/_components/vm-bar-charts/index.js +10 -6
  3. package/lib/_components/vm-calendar/style/index.less +4 -7
  4. package/lib/_components/vm-card-statistics/index.less +27 -27
  5. package/lib/_components/vm-extra-tab/style/index.less +6 -3
  6. package/lib/_components/vm-factor/index.js +10 -5
  7. package/lib/_components/vm-factor/style/index.less +5 -1
  8. package/lib/_components/vm-factor-list/index.less +11 -11
  9. package/lib/_components/vm-filter/style/index.less +2 -1
  10. package/lib/_components/vm-info-collection/index.js +2 -2
  11. package/lib/_components/vm-line-charts/index.js +1 -1
  12. package/lib/_components/vm-map/index.js +5 -5
  13. package/lib/_components/vm-pie-charts/index.js +9 -5
  14. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +46 -0
  15. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +44 -0
  16. package/lib/_components/vm-repair-maintain/RmRecord.js +157 -0
  17. package/lib/_components/vm-repair-maintain/RmType.js +32 -0
  18. package/lib/_components/vm-repair-maintain/api.js +92 -0
  19. package/lib/_components/vm-repair-maintain/imgs/amount.png +0 -0
  20. package/lib/_components/vm-repair-maintain/imgs/amount_light.png +0 -0
  21. package/lib/_components/vm-repair-maintain/imgs/count.png +0 -0
  22. package/lib/_components/vm-repair-maintain/imgs/count_light.png +0 -0
  23. package/lib/_components/vm-repair-maintain/index.js +56 -0
  24. package/lib/_components/vm-repair-maintain/style/index.js +1 -0
  25. package/lib/_components/vm-repair-maintain/style/index.less +25 -0
  26. package/lib/_components/vm-table/index.js +7 -4
  27. package/lib/_components/vm-table/style/index.less +3 -2
  28. package/lib/_components/vm-tag/style/index.less +10 -0
  29. package/lib/_components/vm-title/index.js +3 -2
  30. package/lib/_components/vm-video/HistoryGrid.js +52 -0
  31. package/lib/_components/vm-video/RealtimeGrid.js +8 -4
  32. package/lib/_components/vm-video/index.js +298 -112
  33. package/lib/_components/vm-video/index.less +10 -1
  34. package/lib/_components/vm-wrapper/index.js +32 -10
  35. package/lib/_components/vm-wrapper/style/index.less +28 -0
  36. package/lib/_service/index.js +5 -0
  37. package/lib/_util/index.js +0 -5
  38. package/lib/index.js +7 -2
  39. package/lib/style/index.less +2 -6
  40. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
  41. package/lib/vtx-base-modal/Header/index.js +3 -1
  42. package/lib/vtx-base-modal/Header/index.less +98 -98
  43. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  44. package/lib/vtx-base-modal/index.js +11 -5
  45. package/lib/vtx-car-modal/api.js +4 -3
  46. package/lib/vtx-car-modal/components/Info/index.js +2 -1
  47. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  48. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +0 -1
  49. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +3 -0
  50. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -0
  51. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +5 -1
  52. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  53. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -0
  54. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -0
  55. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  56. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +9 -3
  57. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +134 -103
  58. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +210 -161
  59. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +39 -16
  60. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +3 -0
  61. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -0
  62. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +3 -0
  63. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -0
  64. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +33 -0
  65. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +255 -0
  66. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +75 -0
  67. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.less +22 -0
  68. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +87 -0
  69. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.less +0 -0
  70. package/lib/vtx-car-modal/content/Unmanned/index.js +10 -0
  71. package/lib/vtx-car-modal/content/index.js +2 -1
  72. package/lib/vtx-car-modal/imgs/butter.png +0 -0
  73. package/lib/vtx-car-modal/imgs/butter_dark.png +0 -0
  74. package/lib/vtx-car-modal/imgs/clock.png +0 -0
  75. package/lib/vtx-car-modal/imgs/clock_dark.png +0 -0
  76. package/lib/vtx-car-modal/imgs/clock_green.png +0 -0
  77. package/lib/vtx-car-modal/imgs/clock_green_dark.png +0 -0
  78. package/lib/vtx-car-modal/imgs/factor_bg.png +0 -0
  79. package/lib/vtx-car-modal/imgs/track.png +0 -0
  80. package/lib/vtx-car-modal/imgs/track_dark.png +0 -0
  81. package/lib/vtx-car-modal/imgs/track_green.png +0 -0
  82. package/lib/vtx-car-modal/imgs/track_green_dark.png +0 -0
  83. package/lib/vtx-car-modal/imgs/water.png +0 -0
  84. package/lib/vtx-car-modal/imgs/water_dark.png +0 -0
  85. package/lib/vtx-car-modal/index.js +24 -4
  86. package/lib/vtx-cc-cp-modal/api.js +381 -0
  87. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +120 -0
  88. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +27 -0
  89. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +32 -0
  90. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +41 -0
  91. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +69 -0
  92. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +103 -0
  93. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +75 -0
  94. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +58 -0
  95. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +142 -0
  96. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +63 -0
  97. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +16 -0
  98. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +168 -0
  99. package/lib/vtx-cc-cp-modal/components/Calendar/index.less +93 -0
  100. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +27 -0
  101. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +32 -0
  102. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +118 -0
  103. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +41 -0
  104. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +69 -0
  105. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +111 -0
  106. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -0
  107. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +46 -0
  108. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +81 -0
  109. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +78 -0
  110. package/lib/vtx-cc-cp-modal/components/index.js +7 -0
  111. package/lib/vtx-cc-cp-modal/imgs/rwnsjts.png +0 -0
  112. package/lib/vtx-cc-cp-modal/imgs/rwnsjts_dark.png +0 -0
  113. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl.png +0 -0
  114. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl_dark.png +0 -0
  115. package/lib/vtx-cc-cp-modal/imgs/rwnsscs.png +0 -0
  116. package/lib/vtx-cc-cp-modal/imgs/rwnsscs_dark.png +0 -0
  117. package/lib/vtx-cc-cp-modal/imgs/zsjts.png +0 -0
  118. package/lib/vtx-cc-cp-modal/imgs/zsjts_dark.png +0 -0
  119. package/lib/vtx-cc-cp-modal/imgs/zsjzl.png +0 -0
  120. package/lib/vtx-cc-cp-modal/imgs/zsjzl_dark.png +0 -0
  121. package/lib/vtx-cc-cp-modal/imgs/zsscs.png +0 -0
  122. package/lib/vtx-cc-cp-modal/imgs/zsscs_dark.png +0 -0
  123. package/lib/vtx-cc-cp-modal/index.js +119 -0
  124. package/lib/vtx-cc-cp-modal/style/index.js +1 -0
  125. package/lib/vtx-cc-cp-modal/style/index.less +13 -0
  126. package/lib/vtx-cc-unit-modal/api.js +361 -0
  127. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +69 -0
  128. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +66 -0
  129. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +60 -0
  130. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +91 -0
  131. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +118 -0
  132. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -0
  133. package/lib/vtx-cc-unit-modal/components/CarList/index.js +129 -0
  134. package/lib/vtx-cc-unit-modal/components/Collection/index.js +95 -0
  135. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +126 -0
  136. package/lib/vtx-cc-unit-modal/components/Factory/index.js +149 -0
  137. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +127 -0
  138. package/lib/vtx-cc-unit-modal/components/index.js +7 -0
  139. package/lib/vtx-cc-unit-modal/imgs/jccc.png +0 -0
  140. package/lib/vtx-cc-unit-modal/imgs/jccc_dark.png +0 -0
  141. package/lib/vtx-cc-unit-modal/imgs/jcl.png +0 -0
  142. package/lib/vtx-cc-unit-modal/imgs/jcl_dark.png +0 -0
  143. package/lib/vtx-cc-unit-modal/imgs/syts.png +0 -0
  144. package/lib/vtx-cc-unit-modal/imgs/syts_dark.png +0 -0
  145. package/lib/vtx-cc-unit-modal/imgs/syzl.png +0 -0
  146. package/lib/vtx-cc-unit-modal/imgs/syzl_dark.png +0 -0
  147. package/lib/vtx-cc-unit-modal/index.js +137 -0
  148. package/lib/vtx-cc-unit-modal/style/index.js +1 -0
  149. package/lib/vtx-cc-unit-modal/style/index.less +14 -0
  150. package/lib/vtx-cp-modal/api.js +3 -3
  151. package/lib/vtx-cp-modal/index.js +4 -1
  152. package/lib/vtx-default-modal/components/BaseInfo/index.js +3 -2
  153. package/lib/vtx-default-modal/index.js +10 -8
  154. package/lib/vtx-device-modal/api.js +531 -0
  155. package/lib/vtx-device-modal/components/BaseInfo/index.js +140 -0
  156. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +279 -0
  157. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +610 -0
  158. package/lib/vtx-device-modal/components/DataAnalysis/TabsList.js +23 -0
  159. package/lib/vtx-device-modal/components/DataAnalysis/index.js +24 -0
  160. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -0
  161. package/lib/vtx-device-modal/components/index.js +3 -0
  162. package/lib/vtx-device-modal/config.js +21 -0
  163. package/lib/vtx-device-modal/imgs/current.png +0 -0
  164. package/lib/vtx-device-modal/imgs/current_dark.png +0 -0
  165. package/lib/vtx-device-modal/imgs/history.png +0 -0
  166. package/lib/vtx-device-modal/imgs/history_dark.png +0 -0
  167. package/lib/vtx-device-modal/index.js +96 -0
  168. package/lib/vtx-device-modal/style/index.js +1 -0
  169. package/lib/vtx-device-modal/style/index.less +1 -0
  170. package/lib/vtx-df-modal/index.js +11 -11
  171. package/lib/vtx-housing-estate-modal/api.js +559 -0
  172. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +129 -0
  173. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +67 -0
  174. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +65 -0
  175. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +67 -0
  176. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +109 -0
  177. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +99 -0
  178. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +54 -0
  179. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +179 -0
  180. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +85 -0
  181. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +172 -0
  182. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +177 -0
  183. package/lib/vtx-housing-estate-modal/components/OverView/index.js +56 -0
  184. package/lib/vtx-housing-estate-modal/components/OverView/index.less +163 -0
  185. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +133 -0
  186. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +12 -0
  187. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +66 -0
  188. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +68 -0
  189. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +49 -0
  190. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +119 -0
  191. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +121 -0
  192. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +97 -0
  193. package/lib/vtx-housing-estate-modal/components/index.js +5 -0
  194. package/lib/vtx-housing-estate-modal/config.js +77 -0
  195. package/lib/vtx-housing-estate-modal/imgs/avatar.png +0 -0
  196. package/lib/vtx-housing-estate-modal/imgs/avatar_light.png +0 -0
  197. package/lib/vtx-housing-estate-modal/imgs/ddypz.png +0 -0
  198. package/lib/vtx-housing-estate-modal/imgs/ddypz_light.png +0 -0
  199. package/lib/vtx-housing-estate-modal/imgs/gzxjcx.png +0 -0
  200. package/lib/vtx-housing-estate-modal/imgs/hjglcx.png +0 -0
  201. package/lib/vtx-housing-estate-modal/imgs/hmd.png +0 -0
  202. package/lib/vtx-housing-estate-modal/imgs/hmd_light.png +0 -0
  203. package/lib/vtx-housing-estate-modal/imgs/manage_bg.png +0 -0
  204. package/lib/vtx-housing-estate-modal/imgs/manage_bg_light.png +0 -0
  205. package/lib/vtx-housing-estate-modal/imgs/rank.png +0 -0
  206. package/lib/vtx-housing-estate-modal/imgs/rank_light.png +0 -0
  207. package/lib/vtx-housing-estate-modal/imgs/tfcs.png +0 -0
  208. package/lib/vtx-housing-estate-modal/imgs/tfcs_light.png +0 -0
  209. package/lib/vtx-housing-estate-modal/imgs/tfd.png +0 -0
  210. package/lib/vtx-housing-estate-modal/imgs/tfd_light.png +0 -0
  211. package/lib/vtx-housing-estate-modal/imgs/tfhs.png +0 -0
  212. package/lib/vtx-housing-estate-modal/imgs/tfhs_light.png +0 -0
  213. package/lib/vtx-housing-estate-modal/imgs/wgmsr.png +0 -0
  214. package/lib/vtx-housing-estate-modal/imgs/wgmsr_light.png +0 -0
  215. package/lib/vtx-housing-estate-modal/imgs/yyxj.png +0 -0
  216. package/lib/vtx-housing-estate-modal/imgs/yyxj_light.png +0 -0
  217. package/lib/vtx-housing-estate-modal/index.js +108 -0
  218. package/lib/vtx-housing-estate-modal/style/index.js +4 -0
  219. package/lib/vtx-housing-estate-modal/style/index.less +1 -0
  220. package/lib/vtx-kh-modal/api2.js +178 -0
  221. package/lib/vtx-kh-modal/components/BaseInfo/index.js +197 -0
  222. package/lib/vtx-kh-modal/components/BaseInfo/index.less +101 -0
  223. package/lib/vtx-kh-modal/components/Record/index.js +204 -0
  224. package/lib/vtx-kh-modal/components/Record/index.less +7 -0
  225. package/lib/vtx-kh-modal/components/index.js +3 -0
  226. package/lib/vtx-kh-modal/imgs/count.png +0 -0
  227. package/lib/vtx-kh-modal/imgs/count_light.png +0 -0
  228. package/lib/vtx-kh-modal/imgs/question_bg.png +0 -0
  229. package/lib/vtx-kh-modal/imgs/question_bg_light.png +0 -0
  230. package/lib/vtx-kh-modal/imgs/score.png +0 -0
  231. package/lib/vtx-kh-modal/imgs/score_light.png +0 -0
  232. package/lib/vtx-kh-modal/imgs/subtract.png +0 -0
  233. package/lib/vtx-kh-modal/imgs/subtract_light.png +0 -0
  234. package/lib/vtx-kh-modal/index.js +46 -0
  235. package/lib/vtx-kh-modal/style/index.js +4 -0
  236. package/lib/vtx-kh-modal/style/index.less +1 -0
  237. package/lib/vtx-restaurant-modal/api.js +297 -0
  238. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +47 -0
  239. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +31 -0
  240. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +36 -0
  241. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +41 -0
  242. package/lib/vtx-restaurant-modal/components/Alarm/index.js +69 -0
  243. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +64 -0
  244. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +68 -0
  245. package/lib/vtx-restaurant-modal/components/Basic/Info.js +87 -0
  246. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +61 -0
  247. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +60 -0
  248. package/lib/vtx-restaurant-modal/components/Basic/index.js +74 -0
  249. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -0
  250. package/lib/vtx-restaurant-modal/components/Calendar/index.js +171 -0
  251. package/lib/vtx-restaurant-modal/components/Calendar/index.less +93 -0
  252. package/lib/vtx-restaurant-modal/components/Collection/index.js +86 -0
  253. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +111 -0
  254. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +299 -0
  255. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +198 -0
  256. package/lib/vtx-restaurant-modal/components/index.js +7 -0
  257. package/lib/vtx-restaurant-modal/config.js +283 -0
  258. package/lib/vtx-restaurant-modal/imgs/csl.png +0 -0
  259. package/lib/vtx-restaurant-modal/imgs/csl_dark.png +0 -0
  260. package/lib/vtx-restaurant-modal/imgs/sycs.png +0 -0
  261. package/lib/vtx-restaurant-modal/imgs/sycs_dark.png +0 -0
  262. package/lib/vtx-restaurant-modal/imgs/syts.png +0 -0
  263. package/lib/vtx-restaurant-modal/imgs/syts_dark.png +0 -0
  264. package/lib/vtx-restaurant-modal/index.js +168 -0
  265. package/lib/vtx-restaurant-modal/style/index.js +1 -0
  266. package/lib/vtx-restaurant-modal/style/index.less +13 -0
  267. package/lib/vtx-road-modal/components/BaseInfo/index.less +218 -218
  268. package/lib/vtx-road-modal/components/Calendar/index.js +1 -1
  269. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  270. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  271. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +4 -1
  272. package/lib/vtx-shxq-modal/components/Tfd/index.js +0 -1
  273. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +0 -1
  274. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +4 -1
  275. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +20 -6
  276. package/lib/vtx-staff-modal/index.js +4 -1
  277. package/lib/vtx-tfd-modal/api.js +22 -27
  278. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +100 -59
  279. package/lib/vtx-tfd-modal/components/BaseInfo/index.less +5 -0
  280. package/lib/vtx-zg-modal/api.js +107 -0
  281. package/lib/vtx-zg-modal/components/BaseInfo/index.js +286 -0
  282. package/lib/vtx-zg-modal/components/BaseInfo/index.less +124 -0
  283. package/lib/vtx-zg-modal/components/index.js +1 -0
  284. package/lib/vtx-zg-modal/imgs/dot.png +0 -0
  285. package/lib/vtx-zg-modal/imgs/dot_done.png +0 -0
  286. package/lib/vtx-zg-modal/index.js +42 -0
  287. package/lib/vtx-zg-modal/style/index.js +3 -0
  288. package/lib/vtx-zg-modal/style/index.less +1 -0
  289. package/lib/vtx-zzz-modal/index.js +10 -10
  290. package/package.json +1 -1
  291. package/lib/resources/jessibuca/decoder.js +0 -3839
  292. package/lib/resources/jessibuca/decoder.wasm +0 -0
  293. package/lib/resources/jessibuca/jessibuca.js +0 -5350
  294. package/lib/vtx-car-modal/imgs/calendar/fsdf/durationqq.png +0 -0
@@ -0,0 +1,255 @@
1
+ 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); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ 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); }
10
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
11
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
12
+ 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; }
13
+ import { QuestionCircleOutlined } from '@ant-design/icons';
14
+ import { Space, Tooltip } from 'antd';
15
+ import { VmBarCharts, VmCalendar, VmCalendarInner, VmCalendarPercent, VmTable } from "../../../../_components";
16
+ import useSettings from "../../../../_hooks/useSettings";
17
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
18
+ var butter_dark = require("../../../imgs/butter_dark.png");
19
+ var butter = require("../../../imgs/butter.png");
20
+ var water_dark = require("../../../imgs/water_dark.png");
21
+ var water = require("../../../imgs/water.png");
22
+ var track_dark = require("../../../imgs/track_dark.png");
23
+ var track = require("../../../imgs/track.png");
24
+ export default function (_ref) {
25
+ var id = _ref.id,
26
+ month = _ref.month,
27
+ type = _ref.type,
28
+ legend = _ref.legend,
29
+ getRateColor = _ref.getRateColor,
30
+ _ref$baseColumns = _ref.baseColumns,
31
+ baseColumns = _ref$baseColumns === void 0 ? [] : _ref$baseColumns;
32
+ var _useSettings = useSettings(),
33
+ isDark = _useSettings.isDark,
34
+ chartFontColor = _useSettings.chartFontColor;
35
+ var dateCellRender = function dateCellRender(value) {
36
+ // const date = dayjs(value).format('YYYY-MM-DD');
37
+ // const item = keyByDate[date];
38
+ // if (!item) {
39
+ // return null;
40
+ // }
41
+ // const { percent, driveMileage, workMileage } = item;
42
+ var percent = 50;
43
+ var color = getRateColor(percent);
44
+ return /*#__PURE__*/_jsxs(_Fragment, {
45
+ children: [/*#__PURE__*/_jsx(VmCalendarPercent, {
46
+ percent: percent,
47
+ color: color
48
+ }), /*#__PURE__*/_jsx(VmCalendarInner, {
49
+ type: "blue",
50
+ img: isDark ? track_dark : track,
51
+ value: "0/0",
52
+ style: {
53
+ width: '139px',
54
+ justifyContent: 'space-between',
55
+ margin: '4px 0'
56
+ }
57
+ }), /*#__PURE__*/_jsx(VmCalendarInner, {
58
+ type: "yellow",
59
+ img: isDark ? butter_dark : butter,
60
+ value: 0,
61
+ style: {
62
+ width: '139px',
63
+ justifyContent: 'space-between',
64
+ margin: '4px 0'
65
+ }
66
+ }), /*#__PURE__*/_jsx(VmCalendarInner, {
67
+ type: "green",
68
+ img: isDark ? water_dark : water,
69
+ value: 0,
70
+ style: {
71
+ width: '139px',
72
+ justifyContent: 'space-between'
73
+ }
74
+ })]
75
+ });
76
+ };
77
+ var tableProps = {
78
+ pagination: false,
79
+ dataSource: []
80
+ };
81
+ var columns = [].concat(_toConsumableArray(baseColumns), [{
82
+ title: /*#__PURE__*/_jsxs(Space, {
83
+ children: [/*#__PURE__*/_jsx("span", {
84
+ children: "\u5B8C\u6210\u7387"
85
+ }), /*#__PURE__*/_jsx(Tooltip, {
86
+ title: "\u6838\u7B97\u4F5C\u4E1A\u91CC\u7A0B/\u884C\u9A76\u91CC\u7A0B",
87
+ children: /*#__PURE__*/_jsx(QuestionCircleOutlined, {})
88
+ })]
89
+ }),
90
+ dataIndex: 'percent',
91
+ key: 'percent',
92
+ render: function render(text) {
93
+ return /*#__PURE__*/_jsx("span", {
94
+ children: (text || 0) + '%'
95
+ });
96
+ },
97
+ align: 'right',
98
+ width: 100
99
+ }, {
100
+ title: '总电耗(kwh)',
101
+ dataIndex: 'butter',
102
+ key: 'butter',
103
+ align: 'right',
104
+ width: 100
105
+ }, {
106
+ title: '总水耗(L)',
107
+ dataIndex: 'water',
108
+ key: 'water',
109
+ align: 'right',
110
+ width: 100
111
+ }]);
112
+ return /*#__PURE__*/_jsxs(_Fragment, {
113
+ children: [type === 'calendar' && /*#__PURE__*/_jsxs(_Fragment, {
114
+ children: [/*#__PURE__*/_jsxs("div", {
115
+ className: 'vtx-car-calendar-head',
116
+ children: [[{
117
+ name: '总电耗(kwh)',
118
+ img: isDark ? butter_dark : butter,
119
+ type: 'yellow'
120
+ }, {
121
+ name: '总水耗(L)',
122
+ img: isDark ? water_dark : water,
123
+ type: 'green'
124
+ }, {
125
+ name: '核算作业里程/行驶里程(km)',
126
+ img: isDark ? track_dark : track,
127
+ type: 'blue'
128
+ }].map(function (item, index) {
129
+ return /*#__PURE__*/_jsx(VmCalendarInner, _objectSpread(_objectSpread({}, item), {}, {
130
+ value: item.name
131
+ }), index);
132
+ }), legend]
133
+ }), /*#__PURE__*/_jsx("div", {
134
+ style: {
135
+ flex: 1,
136
+ minHeight: 0
137
+ },
138
+ children: /*#__PURE__*/_jsx(VmCalendar, {
139
+ dateCellRender: dateCellRender,
140
+ value: month
141
+ })
142
+ })]
143
+ }), type === 'list' && /*#__PURE__*/_jsx(VmTable, _objectSpread({
144
+ columns: columns,
145
+ rowKey: "id"
146
+ }, tableProps)), type === 'chart' && /*#__PURE__*/_jsxs(_Fragment, {
147
+ children: [/*#__PURE__*/_jsx("div", {
148
+ style: {
149
+ height: '50%'
150
+ },
151
+ children: /*#__PURE__*/_jsx(VmBarCharts, {
152
+ dataList: [{
153
+ name: '规划里程',
154
+ data: [20, 50, 63, 51, 23],
155
+ yAxisIndex: 0,
156
+ color: 'geekblue'
157
+ }, {
158
+ name: '核算作业里程',
159
+ data: [20, 50, 63, 51, 23],
160
+ yAxisIndex: 0,
161
+ color: 'green'
162
+ }, {
163
+ name: '行驶里程',
164
+ data: [20, 50, 63, 51, 23],
165
+ yAxisIndex: 0,
166
+ color: 'blue'
167
+ }],
168
+ lineList: [{
169
+ name: '完成率',
170
+ data: [2, 2, 4, 1, 5],
171
+ yAxisIndex: 1,
172
+ color: '#0FB964'
173
+ }],
174
+ xAxis: ['2025-01', '2025-02', '2025-03', '2025-04', '2025-05'],
175
+ yAxisList: [{
176
+ unit: 'km',
177
+ name: '(km)'
178
+ }, {
179
+ unit: '%',
180
+ name: '(%)'
181
+ }],
182
+ otherProps: {
183
+ title: {
184
+ top: 0,
185
+ left: 0,
186
+ text: '作业情况',
187
+ textStyle: {
188
+ fontSize: 14,
189
+ color: chartFontColor,
190
+ fontWeight: 400
191
+ }
192
+ }
193
+ },
194
+ tooltipProps: {
195
+ formatter: function formatter(params) {
196
+ var _params$;
197
+ var html = '';
198
+ params === null || params === void 0 || params.forEach(function (item) {
199
+ html += "".concat(item.marker, "<div style=\"min-width: 120px;display: inline-block;line-height: 26px;\">").concat(item.seriesName, "</div><span style=\"font-weight: 600;text-align: right;\">").concat(item.value).concat(item.seriesName === '完成率' ? '%' : 'km', "</span><br/>");
200
+ });
201
+ return html ? "".concat(params === null || params === void 0 || (_params$ = params[0]) === null || _params$ === void 0 ? void 0 : _params$.axisValue, "<br/>").concat(html) : '';
202
+ }
203
+ }
204
+ })
205
+ }), /*#__PURE__*/_jsx("div", {
206
+ style: {
207
+ height: '50%'
208
+ },
209
+ children: /*#__PURE__*/_jsx(VmBarCharts, {
210
+ lineList: [{
211
+ name: '平均电量消耗',
212
+ data: [2, 2, 4, 1, 5],
213
+ yAxisIndex: 0,
214
+ color: '#FFAB0C'
215
+ }, {
216
+ name: '平均水量消耗',
217
+ data: [20, 50, 63, 51, 23],
218
+ yAxisIndex: 1,
219
+ color: '#0FB964'
220
+ }],
221
+ xAxis: [1, 2, 3, 4, 5],
222
+ yAxisList: [{
223
+ unit: 'kwh',
224
+ name: '(kwh)'
225
+ }, {
226
+ unit: 'L',
227
+ name: '(L)'
228
+ }],
229
+ otherProps: {
230
+ title: {
231
+ top: 0,
232
+ left: 0,
233
+ text: '能耗情况',
234
+ textStyle: {
235
+ fontSize: 14,
236
+ color: chartFontColor,
237
+ fontWeight: 400
238
+ }
239
+ }
240
+ },
241
+ tooltipProps: {
242
+ formatter: function formatter(params) {
243
+ var _params$2;
244
+ var html = '';
245
+ params === null || params === void 0 || params.forEach(function (item) {
246
+ html += "".concat(item.marker, "<div style=\"min-width: 120px;display: inline-block;line-height: 26px;\">").concat(item.seriesName, "</div><span style=\"font-weight: 600;text-align: right;\">").concat(item.value).concat(item.seriesName === '平均水量消耗' ? 'L' : 'kwh', "</span><br/>");
247
+ });
248
+ return html ? "".concat(params === null || params === void 0 || (_params$2 = params[0]) === null || _params$2 === void 0 ? void 0 : _params$2.axisValue, "<br/>").concat(html) : '';
249
+ }
250
+ }
251
+ })
252
+ })]
253
+ })]
254
+ });
255
+ }
@@ -0,0 +1,75 @@
1
+ import { Col, Row, Space } from 'antd';
2
+ import { VmProgress } from "../../../..//_components";
3
+ import useSettings from "../../../../_hooks/useSettings";
4
+ import butter from "../../../imgs/butter.png";
5
+ import butter_dark from "../../../imgs/butter_dark.png";
6
+ import water from "../../../imgs/water.png";
7
+ import water_dark from "../../../imgs/water_dark.png";
8
+ import "./index.less";
9
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
10
+ function Monitor(_ref) {
11
+ var _ref$carInfo = _ref.carInfo,
12
+ carInfo = _ref$carInfo === void 0 ? {} : _ref$carInfo;
13
+ var _useSettings = useSettings(),
14
+ isDark = _useSettings.isDark;
15
+ return /*#__PURE__*/_jsx("div", {
16
+ className: "unmaned_factor_bg",
17
+ children: /*#__PURE__*/_jsxs(Row, {
18
+ children: [/*#__PURE__*/_jsx(Col, {
19
+ span: 8,
20
+ children: /*#__PURE__*/_jsx(Item, {
21
+ icon: isDark ? butter_dark : butter,
22
+ unit: "%",
23
+ value: 60,
24
+ rate: 60,
25
+ strokeColor: ['#FFA700', '#FFC637']
26
+ })
27
+ }), /*#__PURE__*/_jsx(Col, {
28
+ span: 8,
29
+ children: /*#__PURE__*/_jsxs("div", {
30
+ className: "unmaned_factor_simple",
31
+ children: [/*#__PURE__*/_jsx("div", {
32
+ children: carInfo.gpsSpeed || 0
33
+ }), /*#__PURE__*/_jsx("div", {
34
+ className: "unit",
35
+ children: '今日行驶(km)'
36
+ })]
37
+ })
38
+ }), /*#__PURE__*/_jsx(Col, {
39
+ span: 8,
40
+ children: /*#__PURE__*/_jsx(Item, {
41
+ icon: isDark ? water_dark : water,
42
+ unit: "L",
43
+ value: 60,
44
+ rate: 60,
45
+ strokeColor: ['#00CF5D', '#04EC6C']
46
+ })
47
+ })]
48
+ })
49
+ });
50
+ }
51
+ function Item(_ref2) {
52
+ var icon = _ref2.icon,
53
+ value = _ref2.value,
54
+ unit = _ref2.unit,
55
+ rate = _ref2.rate,
56
+ strokeColor = _ref2.strokeColor;
57
+ return /*#__PURE__*/_jsxs(_Fragment, {
58
+ children: [/*#__PURE__*/_jsxs(Row, {
59
+ justify: 'space-between',
60
+ align: "middle",
61
+ children: [/*#__PURE__*/_jsx("img", {
62
+ src: icon,
63
+ className: "unmaned_factor_icon"
64
+ }), /*#__PURE__*/_jsxs(Space, {
65
+ align: "center",
66
+ size: 1,
67
+ children: [value || 0, unit || '']
68
+ })]
69
+ }), /*#__PURE__*/_jsx(VmProgress.Line, {
70
+ rate: rate,
71
+ strokeColor: strokeColor
72
+ })]
73
+ });
74
+ }
75
+ export default Monitor;
@@ -0,0 +1,22 @@
1
+ .unmaned_factor_bg {
2
+ background: url('../../../imgs/factor_bg.png') no-repeat;
3
+ background-size: 100% 36px;
4
+ background-position: left bottom;
5
+ padding: 13px 0;
6
+ margin-bottom: 6px;
7
+ font-size: 18px;
8
+ line-height: 18px;
9
+ .unmaned_factor_simple {
10
+ width: 100%;
11
+ text-align: center;
12
+ font-size: 30px;
13
+ .unit {
14
+ font-size: 12px;
15
+ margin-top: 4px;
16
+ }
17
+ }
18
+ }
19
+ .unmaned_factor_icon {
20
+ height: 20px;
21
+ width: auto;
22
+ }
@@ -0,0 +1,87 @@
1
+ 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); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import { Col, Row } from 'antd';
8
+ import { VmFactor, VmProgress } from "../../../../_components";
9
+ import useSettings from "../../../../_hooks/useSettings";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ export default function (props) {
12
+ var info = props.info;
13
+ var _useSettings = useSettings(),
14
+ isDark = _useSettings.isDark;
15
+ var data = [{
16
+ name: '规划里程',
17
+ unit: 'km',
18
+ value: info === null || info === void 0 ? void 0 : info.planCollectPoints,
19
+ img: isDark ? require("../../../imgs/track_dark.png") : require("../../../imgs/track.png"),
20
+ fontType: 'blue'
21
+ }, {
22
+ name: '运行时长',
23
+ unit: '',
24
+ value: info === null || info === void 0 ? void 0 : info.planCollectPoints,
25
+ img: isDark ? require("../../../imgs/clock_dark.png") : require("../../../imgs/clock.png"),
26
+ fontType: 'blue'
27
+ }, {
28
+ name: '总电耗',
29
+ unit: 'kwh',
30
+ value: info === null || info === void 0 ? void 0 : info.planCollectPoints,
31
+ img: isDark ? require("../../../imgs/butter_dark.png") : require("../../../imgs/butter.png"),
32
+ fontType: 'yellow'
33
+ }, {
34
+ name: '核算作业里程',
35
+ unit: 'km',
36
+ value: info === null || info === void 0 ? void 0 : info.planCollectPoints,
37
+ img: isDark ? require("../../../imgs/track_green_dark.png") : require("../../../imgs/track_green.png"),
38
+ fontType: 'green'
39
+ }, {
40
+ name: '作业时长',
41
+ unit: '',
42
+ value: info === null || info === void 0 ? void 0 : info.planCollectPoints,
43
+ img: isDark ? require("../../../imgs/clock_green_dark.png") : require("../../../imgs/clock_green.png"),
44
+ fontType: 'green'
45
+ }, {
46
+ name: '总水耗',
47
+ unit: 'L',
48
+ value: info === null || info === void 0 ? void 0 : info.planCollectPoints,
49
+ img: isDark ? require("../../../imgs/water_dark.png") : require("../../../imgs/water.png"),
50
+ fontType: 'green'
51
+ }];
52
+ return /*#__PURE__*/_jsxs(Row, {
53
+ gutter: [47, 47],
54
+ align: 'middle',
55
+ style: {
56
+ height: '100%',
57
+ marginLeft: 30
58
+ },
59
+ children: [/*#__PURE__*/_jsx(Col, {
60
+ flex: '112px',
61
+ children: /*#__PURE__*/_jsx(VmProgress.Circle, {
62
+ rate: (info === null || info === void 0 ? void 0 : info.rate) || 50,
63
+ name: '完成率',
64
+ strokeColor: isDark ? {
65
+ '0%': '#009DFF',
66
+ '100%': '#44FF98'
67
+ } : {
68
+ '0%': '#1677FF',
69
+ '100%': '#48A2FF'
70
+ }
71
+ })
72
+ }), /*#__PURE__*/_jsx(Col, {
73
+ flex: '1',
74
+ children: /*#__PURE__*/_jsx(Row, {
75
+ gutter: [0, 27],
76
+ children: data.map(function (item) {
77
+ return /*#__PURE__*/_jsx(Col, {
78
+ span: 8,
79
+ children: /*#__PURE__*/_jsx(VmFactor, _objectSpread(_objectSpread({}, item), {}, {
80
+ type: 'sm'
81
+ }))
82
+ }, item.name);
83
+ })
84
+ })
85
+ })]
86
+ });
87
+ }
@@ -0,0 +1,10 @@
1
+ import Analysis from "./Analysis";
2
+ import Calendar from "./Calendar";
3
+ import Monitor from "./Monitor";
4
+ import WorkInfo from "./WorkInfo";
5
+ export default {
6
+ Monitor: Monitor,
7
+ WorkInfo: WorkInfo,
8
+ Analysis: Analysis,
9
+ Calendar: Calendar
10
+ };
@@ -3,4 +3,5 @@ import Common from "./Common";
3
3
  import JXH from "./JXH";
4
4
  import Ljsy from "./Ljsy";
5
5
  import Ljzy from "./Ljzy";
6
- export { Cc, Common, JXH, Ljsy, Ljzy };
6
+ import Unmanned from "./Unmanned";
7
+ export { Cc, Common, JXH, Ljsy, Ljzy, Unmanned };
Binary file
Binary file
Binary file
@@ -4,6 +4,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
4
4
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import dayjs from 'dayjs';
6
6
  import React, { useMemo } from 'react';
7
+ import { VmCustom, VmVideo } from "../_components";
7
8
  import useGetChannels from "../_hooks/useGetChannels";
8
9
  import useGetConfig from "../_hooks/useGetConfig";
9
10
  import VtxBaseModal from "../vtx-base-modal";
@@ -71,7 +72,7 @@ export var CarContext = /*#__PURE__*/React.createContext({
71
72
  });
72
73
  var Provider = CarContext.Provider;
73
74
  var VtxCarModal = function VtxCarModal(props) {
74
- var _ref2;
75
+ var _contents;
75
76
  var id = props.id,
76
77
  title = props.title,
77
78
  theme = props.theme,
@@ -88,7 +89,9 @@ var VtxCarModal = function VtxCarModal(props) {
88
89
  _props$frameParams = props.frameParams,
89
90
  frameParams = _props$frameParams === void 0 ? {} : _props$frameParams,
90
91
  _props$defaultCode = props.defaultCode,
91
- defaultCode = _props$defaultCode === void 0 ? '' : _props$defaultCode;
92
+ defaultCode = _props$defaultCode === void 0 ? '' : _props$defaultCode,
93
+ _props$iframeUrl = props.iframeUrl,
94
+ iframeUrl = _props$iframeUrl === void 0 ? '' : _props$iframeUrl;
92
95
  var _BaseService$useBaseI = BaseService.useBaseInfo(id),
93
96
  detail = _BaseService$useBaseI.detail,
94
97
  info = _BaseService$useBaseI.info;
@@ -191,8 +194,14 @@ var VtxCarModal = function VtxCarModal(props) {
191
194
  title: '报警信息'
192
195
  }];
193
196
  }
194
- return tabs;
197
+ return tabs.concat([{
198
+ key: TABS_VIDEO,
199
+ title: '视频信息'
200
+ }]);
195
201
  }, [info === null || info === void 0 ? void 0 : info.actionType]);
202
+ var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
203
+ channels: channels
204
+ })), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {})), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {})), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {})));
196
205
  var _useGetConfig = useGetConfig(code, tabs),
197
206
  tabsData = _useGetConfig.tabsData;
198
207
  var tabsList = useMemo(function () {
@@ -213,6 +222,16 @@ var VtxCarModal = function VtxCarModal(props) {
213
222
  }
214
223
  return tabsList;
215
224
  }, [JSON.stringify(tabsData), JSON.stringify(channels), beenOilStatus]);
225
+ if (tabsList !== null && tabsList !== void 0 && tabsList.length) {
226
+ tabsList.forEach(function (ele) {
227
+ if (ele.url) {
228
+ contents[ele.key] = /*#__PURE__*/_jsx(VmCustom, {
229
+ id: id,
230
+ url: ele === null || ele === void 0 ? void 0 : ele.url
231
+ }, ele.key);
232
+ }
233
+ });
234
+ }
216
235
  var value = useMemo(function () {
217
236
  return {
218
237
  id: id,
@@ -243,6 +262,7 @@ var VtxCarModal = function VtxCarModal(props) {
243
262
  endDate: endDate,
244
263
  showCollect: showCollect,
245
264
  frameParams: frameParams,
265
+ iframeUrl: iframeUrl,
246
266
  tagList: [{
247
267
  color: 'blue',
248
268
  value: info.carClassName
@@ -250,7 +270,7 @@ var VtxCarModal = function VtxCarModal(props) {
250
270
  color: info.carStatus === 'OFFLINE' ? 'red' : 'green',
251
271
  value: info.carStatusStr
252
272
  }],
253
- contents: (_ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {})), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {})), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {})))
273
+ contents: contents
254
274
  })
255
275
  })
256
276
  });