@vtx/modals2 4.0.7 → 5.0.1

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 (753) hide show
  1. package/README.md +1 -1
  2. package/lib/style/css.js +3 -0
  3. package/lib/style/css.js.map +1 -1
  4. package/lib/style/index.css +52 -3
  5. package/lib/style/index.js +3 -0
  6. package/lib/style/index.js.map +1 -1
  7. package/lib/style/themes/dark.css +52 -3
  8. package/lib/style/themes/dark.less +47 -1
  9. package/lib/style/themes/default.css +5 -2
  10. package/lib/style/themes/default.less +6 -2
  11. package/lib/style/themes/index.css +52 -3
  12. package/lib/typings.d.ts +2 -0
  13. package/lib/util/index.js +293 -1
  14. package/lib/util/index.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/index.css +3 -0
  16. package/lib/vm-alarm-info/Components/index.less +3 -0
  17. package/lib/vm-alarm-situation/index.js +1 -1
  18. package/lib/vm-alarm-situation/index.js.map +1 -1
  19. package/lib/vm-appraisal-info/ListKh.js +26 -8
  20. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  21. package/lib/vm-appraisal-info/ListZg.js +22 -6
  22. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  23. package/lib/vm-appraisal-info/Wtlx.js +6 -4
  24. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  25. package/lib/vm-appraisal-info/index.js +4 -3
  26. package/lib/vm-appraisal-info/index.js.map +1 -1
  27. package/lib/vm-appraisal-info/style/index.css +9 -1
  28. package/lib/vm-appraisal-info/style/index.less +15 -1
  29. package/lib/vm-base-list/OpenArrow.js +2 -8
  30. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  31. package/lib/vm-charts/Line.js +1 -3
  32. package/lib/vm-charts/Line.js.map +1 -1
  33. package/lib/vm-charts/Line1.js +19 -1
  34. package/lib/vm-charts/Line1.js.map +1 -1
  35. package/lib/vm-container/style/index.css +1 -0
  36. package/lib/vm-container/style/index.less +2 -0
  37. package/lib/vm-filter/index.js +0 -3
  38. package/lib/vm-filter/index.js.map +1 -1
  39. package/lib/vm-filter/style/index.css +109 -2
  40. package/lib/vm-filter/style/index.less +128 -1
  41. package/lib/vm-hooks/useSettings.js +1 -0
  42. package/lib/vm-hooks/useSettings.js.map +1 -1
  43. package/lib/vm-iframe-modal/style/index.css +2 -1
  44. package/lib/vm-iframe-modal/style/index.less +2 -1
  45. package/lib/vm-image-text/index.js +2 -1
  46. package/lib/vm-image-text/index.js.map +1 -1
  47. package/lib/vm-image-text/style/index.css +2 -0
  48. package/lib/vm-image-text/style/index.less +2 -0
  49. package/lib/vm-info-collection/index.js +110 -8
  50. package/lib/vm-info-collection/index.js.map +1 -1
  51. package/lib/vm-info-collection/style/index.css +19 -23
  52. package/lib/vm-info-collection/style/index.less +13 -23
  53. package/lib/vm-map/imgs/defaultMarker.png +0 -0
  54. package/lib/vm-map/index.js +71 -27
  55. package/lib/vm-map/index.js.map +1 -1
  56. package/lib/vm-map/style/css.js +4 -0
  57. package/lib/vm-map/style/css.js.map +1 -0
  58. package/lib/vm-map/style/index.css +3 -0
  59. package/lib/vm-map/style/index.js +4 -0
  60. package/lib/vm-map/style/index.js.map +1 -0
  61. package/lib/vm-map/style/index.less +3 -0
  62. package/lib/vm-repair-maintain/RmMonthTrend.js +12 -10
  63. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  64. package/lib/vm-repair-maintain/RmType.js +6 -4
  65. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  66. package/lib/vm-repair-maintain/style/index.css +4 -0
  67. package/lib/vm-repair-maintain/style/index.less +7 -0
  68. package/lib/vm-sub-tabs/style/index.css +46 -0
  69. package/lib/vm-sub-tabs/style/index.less +61 -1
  70. package/lib/vm-sub-title/imgs/bg_blue.png +0 -0
  71. package/lib/vm-sub-title/index.js +18 -2
  72. package/lib/vm-sub-title/index.js.map +1 -1
  73. package/lib/vm-sub-title/style/index.css +44 -1
  74. package/lib/vm-sub-title/style/index.less +46 -1
  75. package/lib/vm-table/index.js +1 -7
  76. package/lib/vm-table/index.js.map +1 -1
  77. package/lib/vm-table/style/index.css +89 -10
  78. package/lib/vm-table/style/index.less +101 -10
  79. package/lib/vm-video/index.css +76 -3
  80. package/lib/vm-video/index.js +6 -4
  81. package/lib/vm-video/index.js.map +1 -1
  82. package/lib/vm-video/index.less +26 -0
  83. package/lib/vtx-base-info/index.js +11 -2
  84. package/lib/vtx-base-info/index.js.map +1 -1
  85. package/lib/vtx-base-info/style/index.css +4 -0
  86. package/lib/vtx-base-info/style/index.less +4 -0
  87. package/lib/vtx-base-modal/api.js +8 -1
  88. package/lib/vtx-base-modal/api.js.map +1 -1
  89. package/lib/vtx-base-modal/config.js +307 -0
  90. package/lib/vtx-base-modal/config.js.map +1 -0
  91. package/lib/vtx-base-modal/imgs/assets/blue/alarm.svg +1 -0
  92. package/lib/vtx-base-modal/imgs/assets/blue/alarm_active.svg +1 -0
  93. package/lib/vtx-base-modal/imgs/assets/blue/alarm_blue.svg +1 -0
  94. package/lib/vtx-base-modal/imgs/assets/blue/base.svg +1 -0
  95. package/lib/vtx-base-modal/imgs/assets/blue/base_active.svg +1 -0
  96. package/lib/vtx-base-modal/imgs/assets/blue/base_blue.svg +1 -0
  97. package/lib/vtx-base-modal/imgs/assets/blue/cut_in.svg +1 -0
  98. package/lib/vtx-base-modal/imgs/assets/blue/cut_in_active.svg +1 -0
  99. package/lib/vtx-base-modal/imgs/assets/blue/cut_in_blue.svg +1 -0
  100. package/lib/vtx-base-modal/imgs/assets/blue/default.svg +1 -0
  101. package/lib/vtx-base-modal/imgs/assets/blue/default_active.svg +1 -0
  102. package/lib/vtx-base-modal/imgs/assets/blue/default_blue.svg +1 -0
  103. package/lib/vtx-base-modal/imgs/assets/blue/fenxi.svg +1 -0
  104. package/lib/vtx-base-modal/imgs/assets/blue/fenxi_active.svg +1 -0
  105. package/lib/vtx-base-modal/imgs/assets/blue/fenxi_blue.svg +1 -0
  106. package/lib/vtx-base-modal/imgs/assets/blue/gongdan.svg +1 -0
  107. package/lib/vtx-base-modal/imgs/assets/blue/gongdan_active.svg +1 -0
  108. package/lib/vtx-base-modal/imgs/assets/blue/gongdan_blue.svg +1 -0
  109. package/lib/vtx-base-modal/imgs/assets/blue/gongkuang.svg +1 -0
  110. package/lib/vtx-base-modal/imgs/assets/blue/gongkuang_active.svg +1 -0
  111. package/lib/vtx-base-modal/imgs/assets/blue/gongkuang_blue.svg +1 -0
  112. package/lib/vtx-base-modal/imgs/assets/blue/gongshi.svg +1 -0
  113. package/lib/vtx-base-modal/imgs/assets/blue/gongshi_active.svg +1 -0
  114. package/lib/vtx-base-modal/imgs/assets/blue/gongshi_blue.svg +1 -0
  115. package/lib/vtx-base-modal/imgs/assets/blue/jiliang.svg +1 -0
  116. package/lib/vtx-base-modal/imgs/assets/blue/jiliang_active.svg +1 -0
  117. package/lib/vtx-base-modal/imgs/assets/blue/jiliang_blue.svg +1 -0
  118. package/lib/vtx-base-modal/imgs/assets/blue/kaohe.svg +1 -0
  119. package/lib/vtx-base-modal/imgs/assets/blue/kaohe_active.svg +1 -0
  120. package/lib/vtx-base-modal/imgs/assets/blue/kaohe_blue.svg +1 -0
  121. package/lib/vtx-base-modal/imgs/assets/blue/kaoqin.svg +1 -0
  122. package/lib/vtx-base-modal/imgs/assets/blue/kaoqin_active.svg +1 -0
  123. package/lib/vtx-base-modal/imgs/assets/blue/kaoqin_blue.svg +1 -0
  124. package/lib/vtx-base-modal/imgs/assets/blue/maintenance.svg +1 -0
  125. package/lib/vtx-base-modal/imgs/assets/blue/maintenance_active.svg +1 -0
  126. package/lib/vtx-base-modal/imgs/assets/blue/maintenance_blue.svg +1 -0
  127. package/lib/vtx-base-modal/imgs/assets/blue/monitor.svg +1 -0
  128. package/lib/vtx-base-modal/imgs/assets/blue/monitor_active.svg +1 -0
  129. package/lib/vtx-base-modal/imgs/assets/blue/monitor_blue.svg +1 -0
  130. package/lib/vtx-base-modal/imgs/assets/blue/oil.svg +1 -0
  131. package/lib/vtx-base-modal/imgs/assets/blue/oil_active.svg +1 -0
  132. package/lib/vtx-base-modal/imgs/assets/blue/oil_blue.svg +1 -0
  133. package/lib/vtx-base-modal/imgs/assets/blue/paiban.svg +1 -0
  134. package/lib/vtx-base-modal/imgs/assets/blue/paiban_active.svg +1 -0
  135. package/lib/vtx-base-modal/imgs/assets/blue/paiban_blue.svg +1 -0
  136. package/lib/vtx-base-modal/imgs/assets/blue/pingjia.svg +1 -0
  137. package/lib/vtx-base-modal/imgs/assets/blue/pingjia_active.svg +1 -0
  138. package/lib/vtx-base-modal/imgs/assets/blue/pingjia_blue.svg +1 -0
  139. package/lib/vtx-base-modal/imgs/assets/blue/shebei.svg +1 -0
  140. package/lib/vtx-base-modal/imgs/assets/blue/shebei_active.svg +1 -0
  141. package/lib/vtx-base-modal/imgs/assets/blue/shebei_blue.svg +1 -0
  142. package/lib/vtx-base-modal/imgs/assets/blue/shouyun.svg +1 -0
  143. package/lib/vtx-base-modal/imgs/assets/blue/shouyun_active.svg +1 -0
  144. package/lib/vtx-base-modal/imgs/assets/blue/shouyun_blue.svg +1 -0
  145. package/lib/vtx-base-modal/imgs/assets/blue/sum.svg +1 -0
  146. package/lib/vtx-base-modal/imgs/assets/blue/sum_active.svg +1 -0
  147. package/lib/vtx-base-modal/imgs/assets/blue/sum_blue.svg +1 -0
  148. package/lib/vtx-base-modal/imgs/assets/blue/video.svg +1 -0
  149. package/lib/vtx-base-modal/imgs/assets/blue/video_active.svg +1 -0
  150. package/lib/vtx-base-modal/imgs/assets/blue/video_blue.svg +1 -0
  151. package/lib/vtx-base-modal/imgs/assets/blue/water.svg +1 -0
  152. package/lib/vtx-base-modal/imgs/assets/blue/water_active.svg +1 -0
  153. package/lib/vtx-base-modal/imgs/assets/blue/water_blue.svg +1 -0
  154. package/lib/vtx-base-modal/imgs/assets/blue/weigui.svg +1 -0
  155. package/lib/vtx-base-modal/imgs/assets/blue/weigui_active.svg +1 -0
  156. package/lib/vtx-base-modal/imgs/assets/blue/weigui_blue.svg +1 -0
  157. package/lib/vtx-base-modal/imgs/assets/blue/yichang.svg +1 -0
  158. package/lib/vtx-base-modal/imgs/assets/blue/yichang_active.svg +1 -0
  159. package/lib/vtx-base-modal/imgs/assets/blue/yichang_blue.svg +1 -0
  160. package/lib/vtx-base-modal/imgs/assets/blue/yunwei.svg +1 -0
  161. package/lib/vtx-base-modal/imgs/assets/blue/yunwei_active.svg +1 -0
  162. package/lib/vtx-base-modal/imgs/assets/blue/yunwei_blue.svg +1 -0
  163. package/lib/vtx-base-modal/imgs/assets/blue/zijian.svg +1 -0
  164. package/lib/vtx-base-modal/imgs/assets/blue/zijian_active.svg +1 -0
  165. package/lib/vtx-base-modal/imgs/assets/blue/zijian_blue.svg +1 -0
  166. package/lib/vtx-base-modal/imgs/assets/light/alarm_active.svg +1 -0
  167. package/lib/vtx-base-modal/imgs/assets/light/alarm_light.svg +1 -0
  168. package/lib/vtx-base-modal/imgs/assets/light/base_active.svg +1 -0
  169. package/lib/vtx-base-modal/imgs/assets/light/base_light.svg +1 -0
  170. package/lib/vtx-base-modal/imgs/assets/light/cut_in_active.svg +1 -0
  171. package/lib/vtx-base-modal/imgs/assets/light/cut_in_light.svg +1 -0
  172. package/lib/vtx-base-modal/imgs/assets/light/default_active.svg +1 -0
  173. package/lib/vtx-base-modal/imgs/assets/light/default_light.svg +1 -0
  174. package/lib/vtx-base-modal/imgs/assets/light/fenxi_active.svg +1 -0
  175. package/lib/vtx-base-modal/imgs/assets/light/fenxi_light.svg +1 -0
  176. package/lib/vtx-base-modal/imgs/assets/light/gongdan_active.svg +1 -0
  177. package/lib/vtx-base-modal/imgs/assets/light/gongdan_light.svg +1 -0
  178. package/lib/vtx-base-modal/imgs/assets/light/gongkuang_active.svg +1 -0
  179. package/lib/vtx-base-modal/imgs/assets/light/gongkuang_light.svg +1 -0
  180. package/lib/vtx-base-modal/imgs/assets/light/gongshi_active.svg +1 -0
  181. package/lib/vtx-base-modal/imgs/assets/light/gongshi_light.svg +1 -0
  182. package/lib/vtx-base-modal/imgs/assets/light/jiliang_active.svg +1 -0
  183. package/lib/vtx-base-modal/imgs/assets/light/jiliang_light.svg +1 -0
  184. package/lib/vtx-base-modal/imgs/assets/light/kaohe_active.svg +1 -0
  185. package/lib/vtx-base-modal/imgs/assets/light/kaohe_light.svg +1 -0
  186. package/lib/vtx-base-modal/imgs/assets/light/kaoqin_active.svg +1 -0
  187. package/lib/vtx-base-modal/imgs/assets/light/kaoqin_light.svg +1 -0
  188. package/lib/vtx-base-modal/imgs/assets/light/maintenance_active.svg +1 -0
  189. package/lib/vtx-base-modal/imgs/assets/light/maintenance_light.svg +1 -0
  190. package/lib/vtx-base-modal/imgs/assets/light/monitor_active.svg +1 -0
  191. package/lib/vtx-base-modal/imgs/assets/light/monitor_light.svg +1 -0
  192. package/lib/vtx-base-modal/imgs/assets/light/oil_active.svg +1 -0
  193. package/lib/vtx-base-modal/imgs/assets/light/oil_light.svg +1 -0
  194. package/lib/vtx-base-modal/imgs/assets/light/paiban_active.svg +1 -0
  195. package/lib/vtx-base-modal/imgs/assets/light/paiban_light.svg +1 -0
  196. package/lib/vtx-base-modal/imgs/assets/light/pingjia_active.svg +1 -0
  197. package/lib/vtx-base-modal/imgs/assets/light/pingjia_light.svg +1 -0
  198. package/lib/vtx-base-modal/imgs/assets/light/shebei_active.svg +1 -0
  199. package/lib/vtx-base-modal/imgs/assets/light/shebei_light.svg +1 -0
  200. package/lib/vtx-base-modal/imgs/assets/light/shouyun_active.svg +1 -0
  201. package/lib/vtx-base-modal/imgs/assets/light/shouyun_light.svg +1 -0
  202. package/lib/vtx-base-modal/imgs/assets/light/sum_active.svg +1 -0
  203. package/lib/vtx-base-modal/imgs/assets/light/sum_light.svg +1 -0
  204. package/lib/vtx-base-modal/imgs/assets/light/video_active.svg +1 -0
  205. package/lib/vtx-base-modal/imgs/assets/light/video_light.svg +1 -0
  206. package/lib/vtx-base-modal/imgs/assets/light/water_active.svg +1 -0
  207. package/lib/vtx-base-modal/imgs/assets/light/water_light.svg +1 -0
  208. package/lib/vtx-base-modal/imgs/assets/light/weigui_active.svg +1 -0
  209. package/lib/vtx-base-modal/imgs/assets/light/weigui_light.svg +1 -0
  210. package/lib/vtx-base-modal/imgs/assets/light/yichang_active.svg +1 -0
  211. package/lib/vtx-base-modal/imgs/assets/light/yichang_light.svg +1 -0
  212. package/lib/vtx-base-modal/imgs/assets/light/yunwei_active.svg +1 -0
  213. package/lib/vtx-base-modal/imgs/assets/light/yunwei_light.svg +1 -0
  214. package/lib/vtx-base-modal/imgs/assets/light/zijian_active.svg +1 -0
  215. package/lib/vtx-base-modal/imgs/assets/light/zijian_light.svg +1 -0
  216. package/lib/vtx-base-modal/imgs/bg_blue.png +0 -0
  217. package/lib/vtx-base-modal/imgs/close-blue-new.png +0 -0
  218. package/lib/vtx-base-modal/imgs/close-blue.png +0 -0
  219. package/lib/vtx-base-modal/imgs/collect-blue.png +0 -0
  220. package/lib/vtx-base-modal/imgs/collect_light.png +0 -0
  221. package/lib/vtx-base-modal/imgs/tab_bg_blue.png +0 -0
  222. package/lib/vtx-base-modal/imgs/title_bg_blue.png +0 -0
  223. package/lib/vtx-base-modal/imgs/track_blue.png +0 -0
  224. package/lib/vtx-base-modal/imgs/track_light.png +0 -0
  225. package/lib/vtx-base-modal/index.js +162 -36
  226. package/lib/vtx-base-modal/index.js.map +1 -1
  227. package/lib/vtx-base-modal/style/index.css +731 -4
  228. package/lib/vtx-base-modal/style/index.less +506 -6
  229. package/lib/vtx-car-modal/api.js +301 -65
  230. package/lib/vtx-car-modal/api.js.map +1 -1
  231. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +27 -11
  232. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  233. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  234. package/lib/vtx-car-modal/components/AlarmInfo/index.css +2 -0
  235. package/lib/vtx-car-modal/components/AlarmInfo/index.js +6 -5
  236. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  237. package/lib/vtx-car-modal/components/AlarmInfo/index.less +2 -0
  238. package/lib/vtx-car-modal/components/BaseInfo/Chain.js +100 -0
  239. package/lib/vtx-car-modal/components/BaseInfo/Chain.js.map +1 -0
  240. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +37 -8
  241. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  242. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +5 -3
  243. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  244. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +6 -4
  245. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  246. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +21 -9
  247. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  248. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +25 -7
  249. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  250. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +19 -4
  251. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  252. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +6 -5
  253. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  254. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +20 -9
  255. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  256. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +29 -18
  257. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  258. package/lib/vtx-car-modal/components/BaseInfo/index.css +70 -5
  259. package/lib/vtx-car-modal/components/BaseInfo/index.js +100 -41
  260. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  261. package/lib/vtx-car-modal/components/BaseInfo/index.less +57 -6
  262. package/lib/vtx-car-modal/components/Collection/index.css +28 -0
  263. package/lib/vtx-car-modal/components/Collection/index.js +193 -0
  264. package/lib/vtx-car-modal/components/Collection/index.js.map +1 -0
  265. package/lib/vtx-car-modal/components/Collection/index.less +18 -0
  266. package/lib/vtx-car-modal/components/DetailInfo/index.css +19 -0
  267. package/lib/vtx-car-modal/components/DetailInfo/index.js +174 -0
  268. package/lib/vtx-car-modal/components/DetailInfo/index.js.map +1 -0
  269. package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -0
  270. package/lib/vtx-car-modal/components/Maintenance/index.css +1 -0
  271. package/lib/vtx-car-modal/components/Maintenance/index.less +1 -0
  272. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +25 -6
  273. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  274. package/lib/vtx-car-modal/components/OilConsumption/index.css +3 -0
  275. package/lib/vtx-car-modal/components/OilConsumption/index.less +3 -0
  276. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +17 -3
  277. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  278. package/lib/vtx-car-modal/components/StaticInfo/index.css +10 -0
  279. package/lib/vtx-car-modal/components/StaticInfo/index.js +24 -11
  280. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  281. package/lib/vtx-car-modal/components/StaticInfo/index.less +11 -1
  282. package/lib/vtx-car-modal/components/WaterConsumption/index.css +2 -0
  283. package/lib/vtx-car-modal/components/WaterConsumption/index.less +3 -0
  284. package/lib/vtx-car-modal/components/WorkInfo/CarJobExe.js +120 -0
  285. package/lib/vtx-car-modal/components/WorkInfo/CarJobExe.js.map +1 -0
  286. package/lib/vtx-car-modal/components/WorkInfo/CollectItem.js +100 -0
  287. package/lib/vtx-car-modal/components/WorkInfo/CollectItem.js.map +1 -0
  288. package/lib/vtx-car-modal/components/WorkInfo/SingleCollectItem.js +88 -0
  289. package/lib/vtx-car-modal/components/WorkInfo/SingleCollectItem.js.map +1 -0
  290. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +17 -7
  291. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  292. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +37 -32
  293. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  294. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +54 -12
  295. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  296. package/lib/vtx-car-modal/components/WorkInfo/index.css +197 -2
  297. package/lib/vtx-car-modal/components/WorkInfo/index.less +226 -2
  298. package/lib/vtx-car-modal/components/index.js +14 -0
  299. package/lib/vtx-car-modal/components/index.js.map +1 -1
  300. package/lib/vtx-car-modal/imgs/ccc.png +0 -0
  301. package/lib/vtx-car-modal/imgs/daily_ws.png +0 -0
  302. package/lib/vtx-car-modal/imgs/daily_ys.png +0 -0
  303. package/lib/vtx-car-modal/imgs/dash.png +0 -0
  304. package/lib/vtx-car-modal/imgs/dqsd_blue.png +0 -0
  305. package/lib/vtx-car-modal/imgs/jrxs_blue.png +0 -0
  306. package/lib/vtx-car-modal/imgs/ljsjdw_blue.png +0 -0
  307. package/lib/vtx-car-modal/imgs/ljsjts_blue.png +0 -0
  308. package/lib/vtx-car-modal/imgs/ljsjzl_blue.png +0 -0
  309. package/lib/vtx-car-modal/imgs/outTime_blue.png +0 -0
  310. package/lib/vtx-car-modal/imgs/out_ws.png +0 -0
  311. package/lib/vtx-car-modal/imgs/out_ys.png +0 -0
  312. package/lib/vtx-car-modal/imgs/pjwcl_blue.png +0 -0
  313. package/lib/vtx-car-modal/imgs/position_blue.png +0 -0
  314. package/lib/vtx-car-modal/imgs/refresh_blue.png +0 -0
  315. package/lib/vtx-car-modal/imgs/runTime_blue.png +0 -0
  316. package/lib/vtx-car-modal/imgs/tab_bg.png +0 -0
  317. package/lib/vtx-car-modal/imgs/tab_bg_light.png +0 -0
  318. package/lib/vtx-car-modal/imgs/temp_ws.png +0 -0
  319. package/lib/vtx-car-modal/imgs/temp_ys.png +0 -0
  320. package/lib/vtx-car-modal/imgs/wcl_blue.png +0 -0
  321. package/lib/vtx-car-modal/imgs/xslc_blue.png +0 -0
  322. package/lib/vtx-car-modal/imgs/ysdw_blue.png +0 -0
  323. package/lib/vtx-car-modal/imgs/ywcdw_blue.png +0 -0
  324. package/lib/vtx-car-modal/imgs/zlc_blue.png +0 -0
  325. package/lib/vtx-car-modal/imgs/zld_blue.png +0 -0
  326. package/lib/vtx-car-modal/imgs/zycs_blue.png +0 -0
  327. package/lib/vtx-car-modal/imgs/zycssc_blue.png +0 -0
  328. package/lib/vtx-car-modal/imgs/zyl_blue.png +0 -0
  329. package/lib/vtx-car-modal/imgs/zylc_blue.png +0 -0
  330. package/lib/vtx-car-modal/imgs/zysc_blue.png +0 -0
  331. package/lib/vtx-car-modal/index.js +112 -48
  332. package/lib/vtx-car-modal/index.js.map +1 -1
  333. package/lib/vtx-car-modal/style/index.css +58 -3
  334. package/lib/vtx-car-modal/style/index.less +2 -0
  335. package/lib/vtx-cc-cp-modal/api.js +150 -51
  336. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  337. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +25 -6
  338. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  339. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +22 -5
  340. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  341. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.css +3 -0
  342. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +4 -0
  343. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.css +4 -0
  344. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +6 -0
  345. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +25 -6
  346. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  347. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +22 -5
  348. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  349. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.css +3 -0
  350. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +4 -0
  351. package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js +118 -0
  352. package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js.map +1 -0
  353. package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +123 -0
  354. package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -0
  355. package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js +147 -0
  356. package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js.map +1 -0
  357. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.css +119 -0
  358. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +55 -0
  359. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -0
  360. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -0
  361. package/lib/vtx-cc-cp-modal/components/Restaurant/index.css +1 -0
  362. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
  363. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  364. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +1 -0
  365. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +25 -6
  366. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  367. package/lib/vtx-cc-cp-modal/components/SyInfo/index.css +5 -0
  368. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +7 -1
  369. package/lib/vtx-cc-cp-modal/index.js +14 -2
  370. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  371. package/lib/vtx-cc-cp-modal/style/index.css +52 -3
  372. package/lib/vtx-cp-modal/api.js +81 -51
  373. package/lib/vtx-cp-modal/api.js.map +1 -1
  374. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +17 -6
  375. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  376. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +22 -5
  377. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  378. package/lib/vtx-cp-modal/components/AlarmInfo/index.css +3 -0
  379. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +4 -0
  380. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +22 -37
  381. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  382. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +75 -152
  383. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  384. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +11 -4
  385. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  386. package/lib/vtx-cp-modal/components/BaseInfo/index.css +45 -203
  387. package/lib/vtx-cp-modal/components/BaseInfo/index.js +4 -41
  388. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  389. package/lib/vtx-cp-modal/components/BaseInfo/index.less +40 -110
  390. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +17 -6
  391. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  392. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +22 -5
  393. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  394. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.css +3 -0
  395. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +4 -0
  396. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +20 -9
  397. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  398. package/lib/vtx-cp-modal/components/SyInfo/index.css +14 -0
  399. package/lib/vtx-cp-modal/components/SyInfo/index.js +5 -3
  400. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  401. package/lib/vtx-cp-modal/components/SyInfo/index.less +10 -1
  402. package/lib/vtx-cp-modal/imgs/cy_car.png +0 -0
  403. package/lib/vtx-cp-modal/imgs/khsw_car.png +0 -0
  404. package/lib/vtx-cp-modal/imgs/qt_car.png +0 -0
  405. package/lib/vtx-cp-modal/imgs/yf_car.png +0 -0
  406. package/lib/vtx-cp-modal/imgs/yh_car.png +0 -0
  407. package/lib/vtx-cp-modal/index.js +57 -15
  408. package/lib/vtx-cp-modal/index.js.map +1 -1
  409. package/lib/vtx-cp-modal/style/index.css +52 -3
  410. package/lib/vtx-default-modal/api.js +264 -22
  411. package/lib/vtx-default-modal/api.js.map +1 -1
  412. package/lib/vtx-default-modal/components/BaseInfo/index.css +12 -2
  413. package/lib/vtx-default-modal/components/BaseInfo/index.js +45 -15
  414. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  415. package/lib/vtx-default-modal/components/BaseInfo/index.less +16 -3
  416. package/lib/vtx-default-modal/index.js +77 -26
  417. package/lib/vtx-default-modal/index.js.map +1 -1
  418. package/lib/vtx-default-modal/style/index.css +52 -3
  419. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +5 -3
  420. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  421. package/lib/vtx-device-modal/config.js +8 -12
  422. package/lib/vtx-device-modal/config.js.map +1 -1
  423. package/lib/vtx-device-modal/index.js +4 -2
  424. package/lib/vtx-device-modal/index.js.map +1 -1
  425. package/lib/vtx-df-modal/api.js +97 -63
  426. package/lib/vtx-df-modal/api.js.map +1 -1
  427. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +48 -20
  428. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  429. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +30 -18
  430. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  431. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +5 -4
  432. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  433. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +31 -23
  434. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  435. package/lib/vtx-df-modal/components/BaseInfo/index.css +39 -174
  436. package/lib/vtx-df-modal/components/BaseInfo/index.js +74 -68
  437. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  438. package/lib/vtx-df-modal/components/BaseInfo/index.less +45 -63
  439. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +12 -9
  440. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  441. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +19 -13
  442. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  443. package/lib/vtx-df-modal/components/Metering/List.js +16 -3
  444. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  445. package/lib/vtx-df-modal/components/Metering/index.css +11 -4
  446. package/lib/vtx-df-modal/components/Metering/index.js +3 -2
  447. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  448. package/lib/vtx-df-modal/components/Metering/index.less +14 -6
  449. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
  450. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  451. package/lib/vtx-df-modal/components/WorkCondition/index.css +18 -2
  452. package/lib/vtx-df-modal/components/WorkCondition/index.less +24 -1
  453. package/lib/vtx-df-modal/imgs/cljcbj.png +0 -0
  454. package/lib/vtx-df-modal/imgs/jcbj_blue.png +0 -0
  455. package/lib/vtx-df-modal/imgs/jccc.png +0 -0
  456. package/lib/vtx-df-modal/imgs/jccc_blue.png +0 -0
  457. package/lib/vtx-df-modal/imgs/jcl.png +0 -0
  458. package/lib/vtx-df-modal/imgs/jcl_blue.png +0 -0
  459. package/lib/vtx-df-modal/imgs/rjjcl_blue.png +0 -0
  460. package/lib/vtx-df-modal/imgs/sjnl_blue.png +0 -0
  461. package/lib/vtx-df-modal/imgs/yxzbbj.png +0 -0
  462. package/lib/vtx-df-modal/imgs/zbbj_blue.png +0 -0
  463. package/lib/vtx-df-modal/imgs/zjccc_blue.png +0 -0
  464. package/lib/vtx-df-modal/imgs/zjcl_blue.png +0 -0
  465. package/lib/vtx-df-modal/index.js +66 -41
  466. package/lib/vtx-df-modal/index.js.map +1 -1
  467. package/lib/vtx-df-modal/style/index.css +52 -3
  468. package/lib/vtx-facility-modal/components/OverView/Left.js +7 -3
  469. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  470. package/lib/vtx-facility-modal/components/OverView/index.css +3 -0
  471. package/lib/vtx-facility-modal/components/OverView/index.js +38 -10
  472. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  473. package/lib/vtx-facility-modal/components/OverView/index.less +4 -0
  474. package/lib/vtx-facility-modal/config.js +7 -10
  475. package/lib/vtx-facility-modal/config.js.map +1 -1
  476. package/lib/vtx-facility-modal/imgs/default.png +0 -0
  477. package/lib/vtx-facility-modal/index.js +9 -5
  478. package/lib/vtx-facility-modal/index.js.map +1 -1
  479. package/lib/vtx-housing-estate-modal/api.js +52 -40
  480. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  481. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +19 -1
  482. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  483. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
  484. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  485. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +67 -33
  486. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  487. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +5 -3
  488. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  489. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +37 -10
  490. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  491. package/lib/vtx-housing-estate-modal/components/OverView/index.css +5 -0
  492. package/lib/vtx-housing-estate-modal/components/OverView/index.js +8 -3
  493. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  494. package/lib/vtx-housing-estate-modal/components/OverView/index.less +10 -0
  495. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +3 -3
  496. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  497. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +2 -1
  498. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  499. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
  500. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  501. package/lib/vtx-housing-estate-modal/components/WGXW/index.css +21 -0
  502. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +7 -2
  503. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  504. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +26 -0
  505. package/lib/vtx-housing-estate-modal/config.js +2 -2
  506. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  507. package/lib/vtx-housing-estate-modal/index.js +9 -2
  508. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  509. package/lib/vtx-kh-modal/components/BaseInfo/index.css +3 -0
  510. package/lib/vtx-kh-modal/components/BaseInfo/index.js +6 -4
  511. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  512. package/lib/vtx-kh-modal/components/BaseInfo/index.less +4 -0
  513. package/lib/vtx-kh-modal/index.js +3 -1
  514. package/lib/vtx-kh-modal/index.js.map +1 -1
  515. package/lib/vtx-kh-modal/style/index.css +52 -3
  516. package/lib/vtx-pump-modal/api.js +71 -38
  517. package/lib/vtx-pump-modal/api.js.map +1 -1
  518. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +22 -5
  519. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  520. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +22 -4
  521. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  522. package/lib/vtx-pump-modal/components/AlarmRecord/index.css +10 -9
  523. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +4 -4
  524. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  525. package/lib/vtx-pump-modal/components/AlarmRecord/index.less +16 -11
  526. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +12 -9
  527. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  528. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +4 -4
  529. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  530. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +3 -3
  531. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  532. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +3 -3
  533. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  534. package/lib/vtx-pump-modal/components/Basic/index.css +4 -0
  535. package/lib/vtx-pump-modal/components/Basic/index.less +6 -1
  536. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +7 -7
  537. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  538. package/lib/vtx-pump-modal/components/Sbxl/index.css +10 -9
  539. package/lib/vtx-pump-modal/components/Sbxl/index.js +1 -1
  540. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  541. package/lib/vtx-pump-modal/components/Sbxl/index.less +16 -17
  542. package/lib/vtx-pump-modal/components/Sjfx/index.css +3 -1
  543. package/lib/vtx-pump-modal/components/Sjfx/index.js +29 -29
  544. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  545. package/lib/vtx-pump-modal/components/Sjfx/index.less +8 -6
  546. package/lib/vtx-pump-modal/components/Sxyx/index.css +7 -5
  547. package/lib/vtx-pump-modal/components/Sxyx/index.js +7 -4
  548. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  549. package/lib/vtx-pump-modal/components/Sxyx/index.less +16 -11
  550. package/lib/vtx-pump-modal/config.js +3 -3
  551. package/lib/vtx-pump-modal/config.js.map +1 -1
  552. package/lib/vtx-pump-modal/index.js +21 -4
  553. package/lib/vtx-pump-modal/index.js.map +1 -1
  554. package/lib/vtx-restaurant-modal/api.js +52 -34
  555. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  556. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +6 -5
  557. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  558. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -3
  559. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  560. package/lib/vtx-restaurant-modal/components/Alarm/index.css +3 -0
  561. package/lib/vtx-restaurant-modal/components/Alarm/index.less +3 -0
  562. package/lib/vtx-restaurant-modal/components/Basic/Info.js +3 -3
  563. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  564. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -3
  565. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  566. package/lib/vtx-restaurant-modal/components/Basic/index.css +3 -0
  567. package/lib/vtx-restaurant-modal/components/Basic/index.less +4 -0
  568. package/lib/vtx-restaurant-modal/components/Collection/Charts.js +154 -0
  569. package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -0
  570. package/lib/vtx-restaurant-modal/components/Collection/List.js +37 -0
  571. package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -0
  572. package/lib/vtx-restaurant-modal/components/Collection/index.css +12 -0
  573. package/lib/vtx-restaurant-modal/components/Collection/index.js +44 -19
  574. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  575. package/lib/vtx-restaurant-modal/components/Collection/index.less +6 -0
  576. package/lib/vtx-restaurant-modal/index.js +9 -3
  577. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  578. package/lib/vtx-road-modal/api.js +104 -28
  579. package/lib/vtx-road-modal/api.js.map +1 -1
  580. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +3 -1
  581. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  582. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +16 -6
  583. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  584. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +17 -5
  585. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  586. package/lib/vtx-road-modal/components/BaseInfo/index.css +16 -9
  587. package/lib/vtx-road-modal/components/BaseInfo/index.js +36 -15
  588. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  589. package/lib/vtx-road-modal/components/BaseInfo/index.less +18 -9
  590. package/lib/vtx-road-modal/components/Statistical/Zylc.js +20 -9
  591. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  592. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +13 -4
  593. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  594. package/lib/vtx-road-modal/components/Statistical/index.css +4 -0
  595. package/lib/vtx-road-modal/components/Statistical/index.less +2 -0
  596. package/lib/vtx-road-modal/index.js +90 -15
  597. package/lib/vtx-road-modal/index.js.map +1 -1
  598. package/lib/vtx-road-modal/style/index.css +52 -3
  599. package/lib/vtx-staff-modal/api.js +59 -35
  600. package/lib/vtx-staff-modal/api.js.map +1 -1
  601. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +24 -9
  602. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  603. package/lib/vtx-staff-modal/components/AlarmInfo/index.css +1 -0
  604. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +5 -4
  605. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  606. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +1 -0
  607. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +11 -4
  608. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  609. package/lib/vtx-staff-modal/components/Attendance/Record.js +25 -35
  610. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  611. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +7 -6
  612. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  613. package/lib/vtx-staff-modal/components/Attendance/index.css +3 -0
  614. package/lib/vtx-staff-modal/components/Attendance/index.less +3 -0
  615. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +16 -5
  616. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  617. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +12 -4
  618. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  619. package/lib/vtx-staff-modal/components/BaseInfo/index.css +6 -2
  620. package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
  621. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  622. package/lib/vtx-staff-modal/components/BaseInfo/index.less +8 -2
  623. package/lib/vtx-staff-modal/components/Equipment/index.css +1 -0
  624. package/lib/vtx-staff-modal/components/Equipment/index.less +1 -0
  625. package/lib/vtx-staff-modal/index.js +28 -14
  626. package/lib/vtx-staff-modal/index.js.map +1 -1
  627. package/lib/vtx-staff-modal/style/index.css +52 -3
  628. package/lib/vtx-theme-provider/index.js +1 -0
  629. package/lib/vtx-theme-provider/index.js.map +1 -1
  630. package/lib/vtx-throw-point-modal/api.js +102 -47
  631. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  632. package/lib/vtx-throw-point-modal/components/Alarm/index.css +2 -0
  633. package/lib/vtx-throw-point-modal/components/Alarm/index.less +3 -0
  634. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +67 -33
  635. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  636. package/lib/vtx-throw-point-modal/components/OverView/Left.js +6 -5
  637. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  638. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +18 -9
  639. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  640. package/lib/vtx-throw-point-modal/components/OverView/index.css +6 -1
  641. package/lib/vtx-throw-point-modal/components/OverView/index.js +8 -3
  642. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  643. package/lib/vtx-throw-point-modal/components/OverView/index.less +11 -1
  644. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +1 -2
  645. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  646. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +2 -1
  647. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  648. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +2 -1
  649. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  650. package/lib/vtx-throw-point-modal/components/WGXW/index.css +21 -0
  651. package/lib/vtx-throw-point-modal/components/WGXW/index.js +7 -2
  652. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  653. package/lib/vtx-throw-point-modal/components/WGXW/index.less +26 -0
  654. package/lib/vtx-throw-point-modal/index.js +66 -30
  655. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  656. package/lib/vtx-wr-modal/api.js +89 -51
  657. package/lib/vtx-wr-modal/api.js.map +1 -1
  658. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +6 -5
  659. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  660. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +22 -5
  661. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  662. package/lib/vtx-wr-modal/components/AlarmInfo/index.css +3 -0
  663. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +3 -0
  664. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +24 -8
  665. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  666. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +8 -4
  667. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  668. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +17 -8
  669. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  670. package/lib/vtx-wr-modal/components/BaseInfo/index.css +8 -0
  671. package/lib/vtx-wr-modal/components/BaseInfo/index.js +3 -3
  672. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  673. package/lib/vtx-wr-modal/components/BaseInfo/index.less +10 -0
  674. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +9 -13
  675. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  676. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +53 -23
  677. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  678. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +9 -4
  679. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +28 -12
  681. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  682. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +119 -0
  683. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -0
  684. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +286 -0
  685. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -0
  686. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +54 -0
  687. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -0
  688. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +364 -0
  689. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -0
  690. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +159 -0
  691. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -0
  692. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +220 -0
  693. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -0
  694. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.css +319 -0
  695. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +112 -0
  696. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -0
  697. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +320 -0
  698. package/lib/vtx-wr-modal/components/Evaluate/index.css +3 -0
  699. package/lib/vtx-wr-modal/components/Evaluate/index.less +3 -0
  700. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +6 -5
  701. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  702. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +34 -31
  703. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  704. package/lib/vtx-wr-modal/components/Monitor/index.css +2 -0
  705. package/lib/vtx-wr-modal/components/Monitor/index.less +4 -0
  706. package/lib/vtx-wr-modal/components/Score/index.css +11 -0
  707. package/lib/vtx-wr-modal/components/Score/index.js +7 -8
  708. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  709. package/lib/vtx-wr-modal/components/Score/index.less +33 -16
  710. package/lib/vtx-wr-modal/components/Ztt/index.js +27 -0
  711. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -0
  712. package/lib/vtx-wr-modal/components/index.js +14 -0
  713. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  714. package/lib/vtx-wr-modal/imgs/2/aq.png +0 -0
  715. package/lib/vtx-wr-modal/imgs/2/cqz.png +0 -0
  716. package/lib/vtx-wr-modal/imgs/2/dswsj.png +0 -0
  717. package/lib/vtx-wr-modal/imgs/2/dswsjC.png +0 -0
  718. package/lib/vtx-wr-modal/imgs/2/dws.png +0 -0
  719. package/lib/vtx-wr-modal/imgs/2/female.png +0 -0
  720. package/lib/vtx-wr-modal/imgs/2/lhq.png +0 -0
  721. package/lib/vtx-wr-modal/imgs/2/male.png +0 -0
  722. package/lib/vtx-wr-modal/imgs/2/mys.png +0 -0
  723. package/lib/vtx-wr-modal/imgs/2/rll.png +0 -0
  724. package/lib/vtx-wr-modal/imgs/2/sd.png +0 -0
  725. package/lib/vtx-wr-modal/imgs/2/ty.png +0 -0
  726. package/lib/vtx-wr-modal/imgs/2/tywsj.png +0 -0
  727. package/lib/vtx-wr-modal/imgs/2/wd.png +0 -0
  728. package/lib/vtx-wr-modal/imgs/2/xbd.png +0 -0
  729. package/lib/vtx-wr-modal/imgs/2/ydl.png +0 -0
  730. package/lib/vtx-wr-modal/imgs/2/ydlBg.png +0 -0
  731. package/lib/vtx-wr-modal/imgs/2/ysl.png +0 -0
  732. package/lib/vtx-wr-modal/imgs/2/yslBg.png +0 -0
  733. package/lib/vtx-wr-modal/imgs/2/zsp.png +0 -0
  734. package/lib/vtx-wr-modal/imgs/2/zws.png +0 -0
  735. package/lib/vtx-wr-modal/imgs/daMen.png +0 -0
  736. package/lib/vtx-wr-modal/imgs/yingYe.png +0 -0
  737. package/lib/vtx-wr-modal/index.js +163 -39
  738. package/lib/vtx-wr-modal/index.js.map +1 -1
  739. package/lib/vtx-wr-modal/style/index.css +52 -3
  740. package/lib/vtx-zg-modal/components/BaseInfo/index.css +3 -0
  741. package/lib/vtx-zg-modal/components/BaseInfo/index.js +6 -4
  742. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  743. package/lib/vtx-zg-modal/components/BaseInfo/index.less +6 -0
  744. package/lib/vtx-zg-modal/index.js +6 -2
  745. package/lib/vtx-zg-modal/index.js.map +1 -1
  746. package/lib/vtx-zg-modal/style/index.css +52 -3
  747. package/package.json +4 -3
  748. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js +0 -180
  749. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js.map +0 -1
  750. package/lib/vtx-cp-modal/imgs/cylj.png +0 -0
  751. package/lib/vtx-cp-modal/imgs/qtlj.png +0 -0
  752. package/lib/vtx-cp-modal/imgs/shlj.png +0 -0
  753. package/lib/vtx-cp-modal/imgs/yhlj.png +0 -0
@@ -5,8 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
+ var _components = require("@vtx/components");
8
9
  require("./style");
9
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
12
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
16
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
10
17
  function InfoCollection(props) {
11
18
  var _props$data = props.data,
12
19
  data = _props$data === void 0 ? [] : _props$data,
@@ -17,31 +24,126 @@ function InfoCollection(props) {
17
24
  _props$horizontal = props.horizontal,
18
25
  horizontal = _props$horizontal === void 0 ? false : _props$horizontal,
19
26
  _props$ellipsis = props.ellipsis,
20
- ellipsis = _props$ellipsis === void 0 ? false : _props$ellipsis;
27
+ ellipsis = _props$ellipsis === void 0 ? false : _props$ellipsis,
28
+ padding = props.padding;
29
+ if (!data.length) return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null);
21
30
  return /*#__PURE__*/_react["default"].createElement("div", {
22
31
  className: horizontal ? 'info-collection-horizontal' : 'info-collection',
23
32
  style: {
24
- height: '100%'
33
+ padding: padding !== null && padding !== void 0 ? padding : 'unset'
25
34
  }
26
35
  }, data.map(function (item) {
36
+ var _a;
27
37
  var style = {};
28
- if (item.color) style.color = item.color;
38
+ if (item === null || item === void 0 ? void 0 : item.color) style.color = item.color;
29
39
  return /*#__PURE__*/_react["default"].createElement("div", {
30
40
  className: "info-line",
31
41
  key: item.key,
32
42
  style: {
33
43
  marginRight: horizontal ? 0 : 12,
34
44
  marginBottom: gap,
35
- width: width
45
+ width: item.label === '地址' || item.key === 'panoramaLinkAddress' || item.key.indexOf('hoto') > -1 ? '100%' : width
36
46
  }
37
47
  }, /*#__PURE__*/_react["default"].createElement("div", {
38
- className: "label"
39
- }, item.label, "\uFF1A"), /*#__PURE__*/_react["default"].createElement("div", {
48
+ className: "info-label"
49
+ }, /*#__PURE__*/_react["default"].createElement("div", {
50
+ title: item.label,
51
+ className: "ellipsis label"
52
+ }, item.label, " \uFF1A")), item.label === '地址' ? ( /*#__PURE__*/_react["default"].createElement("div", {
53
+ className: "value",
54
+ style: style
55
+ }, item.value || '-')) : item.key === 'panoramaLinkAddress' ? ( /*#__PURE__*/_react["default"].createElement("div", {
56
+ className: 'value'
57
+ }, ((_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.indexOf('http')) > -1 ? ( /*#__PURE__*/_react["default"].createElement("a", {
58
+ onClick: function onClick() {
59
+ window.open(item.value);
60
+ }
61
+ }, item.value)) : item.value || '-')) : ( /*#__PURE__*/_react["default"].createElement("div", {
40
62
  className: "value ".concat(ellipsis ? 'ellipsis' : ''),
41
63
  style: style,
42
- title: "".concat(item.value || '')
43
- }, typeof item.render === 'function' ? item.render() : item.value || '--'));
64
+ title: ValueDom(item.componentType || '', item.value)
65
+ }, typeof item.render === 'function' ? item.render() : ValueDom(item.componentType || '', item.value))));
44
66
  }));
45
67
  }
46
68
  var _default = exports["default"] = InfoCollection;
69
+ var QUARTER_MAP = {
70
+ '01': 'Q1',
71
+ '04': 'Q2',
72
+ '07': 'Q3',
73
+ '10': 'Q4'
74
+ };
75
+ /* eslint-disable no-case-declarations */
76
+ var ValueDom = function ValueDom(componentType, value) {
77
+ var _a, _b;
78
+ var node;
79
+ switch (componentType) {
80
+ case 'MONTH_PERIOD':
81
+ node = (_a = value.join) === null || _a === void 0 ? void 0 : _a.call(value, '~');
82
+ break;
83
+ case 'QUARTER':
84
+ var _value$split = value.split('-'),
85
+ _value$split2 = _slicedToArray(_value$split, 2),
86
+ year = _value$split2[0],
87
+ quarter = _value$split2[1];
88
+ node = "".concat(year, "-").concat(QUARTER_MAP[quarter]);
89
+ break;
90
+ case 'ATTACHS':
91
+ var files = JSON.parse(value || '[]');
92
+ if (files.length) {
93
+ node = /*#__PURE__*/_react["default"].createElement(_components.VtxUpload, {
94
+ name: "file",
95
+ viewMode: true,
96
+ fileList: files,
97
+ downloadUrl: "".concat(process.env.PREFIX, "/cloudFile/common/downloadFile?id=")
98
+ });
99
+ } else {
100
+ node = '-';
101
+ }
102
+ break;
103
+ case 'MAP':
104
+ var lngLats = (value === null || value === void 0 ? void 0 : value.lngLats) || '';
105
+ node = lngLats;
106
+ break;
107
+ case 'SWITCH':
108
+ node = value ? '是' : '否';
109
+ break;
110
+ case 'GARBAGE_CAN':
111
+ var arr = [];
112
+ Array.isArray(node) && (node === null || node === void 0 ? void 0 : node.forEach(function (item) {
113
+ arr.push("".concat(item.garbageTypeName, "x").concat(item.throwDoorCount));
114
+ }));
115
+ node = arr;
116
+ break;
117
+ case 'TIME_PERIOD':
118
+ if (Array.isArray(value)) {
119
+ node = (_b = value === null || value === void 0 ? void 0 : value.map(function (item) {
120
+ return "".concat(item.startTime, "~").concat(item.endTime);
121
+ })) === null || _b === void 0 ? void 0 : _b.join(';');
122
+ }
123
+ break;
124
+ case 'image':
125
+ var photos = JSON.parse(value || '[]');
126
+ if (photos.length) {
127
+ node = /*#__PURE__*/_react["default"].createElement(_components.VtxUpload, {
128
+ name: "file",
129
+ viewMode: true,
130
+ fileList: files,
131
+ downloadUrl: "".concat(process.env.PREFIX, "/cloudFile/common/downloadFile?id=")
132
+ });
133
+ } else {
134
+ node = '-';
135
+ }
136
+ break;
137
+ case 'qrCode':
138
+ node = /*#__PURE__*/_react["default"].createElement(_components.VtxImage, {
139
+ aspectFit: true,
140
+ src: value
141
+ });
142
+ break;
143
+ default:
144
+ node = value;
145
+ break;
146
+ }
147
+ return node || '-';
148
+ };
47
149
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","e","__esModule","InfoCollection","props","_props$data","data","_props$width","width","_props$gap","gap","_props$horizontal","horizontal","_props$ellipsis","ellipsis","React","createElement","className","style","height","map","item","color","key","marginRight","marginBottom","label","concat","title","value","render","_default","exports"],"sources":["vm-info-collection/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nfunction InfoCollection(props) {\n const { data = [], \n // infoData = {},\n width = '100%', gap = 8, horizontal = false, ellipsis = false, } = props;\n return (React.createElement(\"div\", { className: horizontal ? 'info-collection-horizontal' : 'info-collection', style: { height: '100%' } }, data.map(item => {\n const style = {};\n if (item.color)\n style.color = item.color;\n return (React.createElement(\"div\", { className: \"info-line\", key: item.key, style: { marginRight: horizontal ? 0 : 12, marginBottom: gap, width } },\n React.createElement(\"div\", { className: \"label\" },\n item.label,\n \"\\uFF1A\"),\n React.createElement(\"div\", { className: `value ${ellipsis ? 'ellipsis' : ''}`, style: style, title: `${item.value || ''}` }, typeof item.render === 'function' ? item.render() : item.value || '--')));\n })));\n}\nexport default InfoCollection;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAAiB,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AACjB,SAASE,cAAcA,CAACC,KAAK,EAAE;EAC3B,IAAAC,WAAA,GAEmED,KAAK,CAFhEE,IAAI;IAAJA,IAAI,GAAAD,WAAA,cAAG,EAAE,GAAAA,WAAA;IAAAE,YAAA,GAEkDH,KAAK,CAAxEI,KAAK;IAALA,KAAK,GAAAD,YAAA,cAAG,MAAM,GAAAA,YAAA;IAAAE,UAAA,GAAqDL,KAAK,CAAxDM,GAAG;IAAHA,GAAG,GAAAD,UAAA,cAAG,CAAC,GAAAA,UAAA;IAAAE,iBAAA,GAA4CP,KAAK,CAA/CQ,UAAU;IAAVA,UAAU,GAAAD,iBAAA,cAAG,KAAK,GAAAA,iBAAA;IAAAE,eAAA,GAAwBT,KAAK,CAA3BU,QAAQ;IAARA,QAAQ,GAAAD,eAAA,cAAG,KAAK,GAAAA,eAAA;EAC7D,oBAAQE,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAEL,UAAU,GAAG,4BAA4B,GAAG,iBAAiB;IAAEM,KAAK,EAAE;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,EAAEb,IAAI,CAACc,GAAG,CAAC,UAAAC,IAAI,EAAI;IACzJ,IAAMH,KAAK,GAAG,CAAC,CAAC;IAChB,IAAIG,IAAI,CAACC,KAAK,EACVJ,KAAK,CAACI,KAAK,GAAGD,IAAI,CAACC,KAAK;IAC5B,oBAAQP,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,EAAE,WAAW;MAAEM,GAAG,EAAEF,IAAI,CAACE,GAAG;MAAEL,KAAK,EAAE;QAAEM,WAAW,EAAEZ,UAAU,GAAG,CAAC,GAAG,EAAE;QAAEa,YAAY,EAAEf,GAAG;QAAEF,KAAK,EAALA;MAAM;IAAE,CAAC,eAC/IO,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,EAAE;IAAQ,CAAC,EAC7CI,IAAI,CAACK,KAAK,EACV,QAAQ,CAAC,eACbX,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,WAAAU,MAAA,CAAWb,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAE;MAAEI,KAAK,EAAEA,KAAK;MAAEU,KAAK,KAAAD,MAAA,CAAKN,IAAI,CAACQ,KAAK,IAAI,EAAE;IAAG,CAAC,EAAE,OAAOR,IAAI,CAACS,MAAM,KAAK,UAAU,GAAGT,IAAI,CAACS,MAAM,CAAC,CAAC,GAAGT,IAAI,CAACQ,KAAK,IAAI,IAAI,CAAC,CAAC;EAC7M,CAAC,CAAC,CAAC;AACP;AAAC,IAAAE,QAAA,GAAAC,OAAA,cACc7B,cAAc","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_components","e","__esModule","_slicedToArray","r","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","t","toString","call","slice","constructor","name","Array","from","test","length","n","l","Symbol","iterator","i","u","f","o","next","Object","done","push","value","isArray","InfoCollection","props","_props$data","data","_props$width","width","_props$gap","gap","_props$horizontal","horizontal","_props$ellipsis","ellipsis","padding","React","createElement","Fragment","className","style","map","item","_a","color","key","marginRight","marginBottom","label","indexOf","title","onClick","window","open","concat","ValueDom","componentType","render","_default","exports","QUARTER_MAP","_b","node","join","_value$split","split","_value$split2","year","quarter","files","JSON","parse","VtxUpload","viewMode","fileList","downloadUrl","process","env","PREFIX","lngLats","arr","forEach","garbageTypeName","throwDoorCount","startTime","endTime","photos","VtxImage","aspectFit","src"],"sources":["vm-info-collection/index.js"],"sourcesContent":["import React from 'react';\nimport { VtxUpload, VtxImage } from '@vtx/components';\nimport './style';\nfunction InfoCollection(props) {\n const { data = [], width = '100%', gap = 8, horizontal = false, ellipsis = false, padding, } = props;\n if (!data.length)\n return React.createElement(React.Fragment, null);\n return (React.createElement(\"div\", { className: horizontal ? 'info-collection-horizontal' : 'info-collection', style: { padding: padding !== null && padding !== void 0 ? padding : 'unset' } }, data.map(item => {\n var _a;\n const style = {};\n if (item === null || item === void 0 ? void 0 : item.color)\n style.color = item.color;\n return (React.createElement(\"div\", { className: \"info-line\", key: item.key, style: {\n marginRight: horizontal ? 0 : 12,\n marginBottom: gap,\n width: item.label === '地址' ||\n item.key === 'panoramaLinkAddress' ||\n item.key.indexOf('hoto') > -1\n ? '100%'\n : width,\n } },\n React.createElement(\"div\", { className: \"info-label\" },\n React.createElement(\"div\", { title: item.label, className: `ellipsis label` },\n item.label,\n \" \\uFF1A\")),\n item.label === '地址' ? (React.createElement(\"div\", { className: \"value\", style: style }, item.value || '-')) : item.key === 'panoramaLinkAddress' ? (React.createElement(\"div\", { className: 'value' }, ((_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.indexOf('http')) > -1 ? (React.createElement(\"a\", { onClick: () => {\n window.open(item.value);\n } }, item.value)) : (item.value || '-'))) : (React.createElement(\"div\", { className: `value ${ellipsis ? 'ellipsis' : ''}`, style: style, title: ValueDom(item.componentType || '', item.value) }, typeof item.render === 'function'\n ? item.render()\n : ValueDom(item.componentType || '', item.value)))));\n })));\n}\nexport default InfoCollection;\nconst QUARTER_MAP = {\n '01': 'Q1',\n '04': 'Q2',\n '07': 'Q3',\n '10': 'Q4',\n};\n/* eslint-disable no-case-declarations */\nconst ValueDom = (componentType, value) => {\n var _a, _b;\n let node;\n switch (componentType) {\n case 'MONTH_PERIOD':\n node = (_a = value.join) === null || _a === void 0 ? void 0 : _a.call(value, '~');\n break;\n case 'QUARTER':\n const [year, quarter] = value.split('-');\n node = `${year}-${QUARTER_MAP[quarter]}`;\n break;\n case 'ATTACHS':\n const files = JSON.parse(value || '[]');\n if (files.length) {\n node = (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: files, downloadUrl: `${process.env.PREFIX}/cloudFile/common/downloadFile?id=` }));\n }\n else {\n node = '-';\n }\n break;\n case 'MAP':\n const lngLats = (value === null || value === void 0 ? void 0 : value.lngLats) || '';\n node = lngLats;\n break;\n case 'SWITCH':\n node = value ? '是' : '否';\n break;\n case 'GARBAGE_CAN':\n const arr = [];\n Array.isArray(node) &&\n (node === null || node === void 0 ? void 0 : node.forEach(item => {\n arr.push(`${item.garbageTypeName}x${item.throwDoorCount}`);\n }));\n node = arr;\n break;\n case 'TIME_PERIOD':\n if (Array.isArray(value)) {\n node = (_b = value === null || value === void 0 ? void 0 : value.map((item) => `${item.startTime}~${item.endTime}`)) === null || _b === void 0 ? void 0 : _b.join(';');\n }\n break;\n case 'image':\n const photos = JSON.parse(value || '[]');\n if (photos.length) {\n node = (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: files, downloadUrl: `${process.env.PREFIX}/cloudFile/common/downloadFile?id=` }));\n }\n else {\n node = '-';\n }\n break;\n case 'qr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C,MAAM,IAAI,IAAIxB,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE,CAACE,IAAI,CAAC,GAAG,CAAC;MAC1K;MACA;IACJ,KAAK,OAAO;MACR,IAAMuB,MAAM,GAAGhB,IAAI,CAACC,KAAK,CAAClD,KAAK,IAAI,IAAI,CAAC;MACxC,IAAIiE,MAAM,CAAC9E,MAAM,EAAE;QACfsD,IAAI,gBAAI1B,iBAAK,CAACC,aAAa,CAACmC,qBAAS,EAAE;UAAEpE,IAAI,EAAE,MAAM;UAAEqE,QAAQ,EAAE,IAAI;UAAEC,QAAQ,EAAEL,KAAK;UAAEM,WAAW,KAAArB,MAAA,CAAKsB,OAAO,CAACC,GAAG,CAACC,MAAM;QAAqC,CAAC,CAAE;MACtK,CAAC,MACI;QACDhB,IAAI,GAAG,GAAG;MACd;MACA;IACJ,KAAK,QAAQ;MACTA,IAAI,gBAAG1B,iBAAK,CAACC,aAAa,CAACkD,oBAAQ,EAAE;QAAEC,SAAS,EAAE,IAAI;QAAEC,GAAG,EAAEpE;MAAM,CAAC,CAAC;MACrE;IACJ;MACIyC,IAAI,GAAGzC,KAAK;MACZ;EACR;EACA,OAAOyC,IAAI,IAAI,GAAG;AACtB,CAAC","ignoreList":[]}
@@ -22,17 +22,15 @@
22
22
  -webkit-box-pack: start;
23
23
  -ms-flex-pack: start;
24
24
  justify-content: start;
25
+ -webkit-box-align: center;
26
+ -ms-flex-align: center;
27
+ align-items: center;
25
28
  margin-right: 12px;
26
29
  }
27
30
  .info-collection,
28
31
  .info-collection-horizontal {
29
32
  font-size: 14px;
30
33
  }
31
- .info-collection .label,
32
- .info-collection-horizontal .label {
33
- color: var(--label-color);
34
- white-space: nowrap;
35
- }
36
34
  .info-collection .value,
37
35
  .info-collection-horizontal .value {
38
36
  color: var(--info-color);
@@ -48,24 +46,22 @@
48
46
  text-overflow: ellipsis;
49
47
  white-space: nowrap;
50
48
  }
51
- .info-collection .default-base,
52
- .info-collection-horizontal .default-base {
53
- width: 430px;
54
- height: 60%;
55
- margin-right: 10px;
56
- background-color: var(--bg-color2);
49
+ .info-collection .ellipsis.label,
50
+ .info-collection-horizontal .ellipsis.label {
51
+ min-width: 78px;
57
52
  }
58
- .info-collection .default-base img,
59
- .info-collection-horizontal .default-base img {
60
- height: 160px;
61
- width: 100%;
62
- }
63
- .info-collection .default-base-img,
64
- .info-collection-horizontal .default-base-img {
65
- margin-bottom: 24px;
53
+ .info-collection .info-label,
54
+ .info-collection-horizontal .info-label {
55
+ min-width: 98px;
56
+ max-width: 350px;
57
+ overflow: hidden;
58
+ text-overflow: ellipsis;
59
+ min-width: 80px;
60
+ color: var(--label-color);
61
+ white-space: nowrap;
62
+ margin-right: 4px;
66
63
  }
67
- .info-collection .default-base-img img,
68
- .info-collection-horizontal .default-base-img img {
69
- height: 160px;
70
- width: 100%;
64
+ .info-collection .info-label.label,
65
+ .info-collection-horizontal .info-label.label {
66
+ min-width: 78px;
71
67
  }
@@ -7,9 +7,13 @@
7
7
  .info-collection-horizontal {
8
8
  display: flex;
9
9
  flex-flow: wrap;
10
+ // max-height: 340px;
11
+ // overflow-y: auto;
12
+ // overflow-x: hidden;
10
13
  .info-line {
11
14
  display: flex;
12
15
  justify-content: start;
16
+ align-items: center;
13
17
  margin-right: 12px;
14
18
  }
15
19
  }
@@ -17,11 +21,6 @@
17
21
  .info-collection-horizontal {
18
22
  font-size: 14px;
19
23
 
20
- .label {
21
- color: var(--label-color);
22
- white-space: nowrap;
23
- }
24
-
25
24
  .value {
26
25
  color: var(--info-color);
27
26
  font-weight: 400;
@@ -34,24 +33,15 @@
34
33
  overflow: hidden;
35
34
  text-overflow: ellipsis;
36
35
  white-space: nowrap;
37
- }
38
- .default-base {
39
- width: 430px;
40
- height: 60%;
41
- // padding: 24px;
42
- margin-right: 10px;
43
- background-color: var(--bg-color2);
44
- img {
45
- height:160px;
46
- width: 100%;
47
- }
48
- &-img {
49
- margin-bottom: 24px;
50
- img {
51
- height:160px;
52
- width: 100%;
53
- }
36
+ &.label {
37
+ min-width: 78px;
54
38
  }
55
39
  }
56
-
40
+ .info-label {
41
+ .ellipsis;
42
+ min-width: 80px;
43
+ color: var(--label-color);
44
+ white-space: nowrap;
45
+ margin-right: 4px;
46
+ }
57
47
  }
@@ -11,9 +11,14 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _map = require("@vtx/map");
12
12
  var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
13
13
  var _mapStyle = require("./mapStyle");
14
+ require("./style");
14
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
19
+ 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."); }
20
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
21
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
17
22
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
18
23
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
19
24
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -22,17 +27,20 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
22
27
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /* eslint-disable no-undef */
23
28
  var defaultCenter = [116.421516, 39.898331];
24
29
  function VmMap(_a) {
25
- var _a$mapType = _a.mapType,
30
+ var _b, _c;
31
+ var _a$key = _a.key,
32
+ key = _a$key === void 0 ? 1 : _a$key,
33
+ _a$mapType = _a.mapType,
26
34
  mapType = _a$mapType === void 0 ? 'bmap' : _a$mapType,
27
- mapCenter = _a.mapCenter,
28
35
  _a$mapPoints = _a.mapPoints,
29
36
  mapPoints = _a$mapPoints === void 0 ? [] : _a$mapPoints,
37
+ mapCenter = _a.mapCenter,
30
38
  _a$mapPolygons = _a.mapPolygons,
31
39
  mapPolygons = _a$mapPolygons === void 0 ? [] : _a$mapPolygons,
32
40
  currentLayer = _a.currentLayer,
33
41
  geometryType = _a.geometryType,
34
42
  clickGraphic = _a.clickGraphic,
35
- rest = (0, _tslib.__rest)(_a, ["mapType", "mapCenter", "mapPoints", "mapPolygons", "currentLayer", "geometryType", "clickGraphic"]);
43
+ rest = (0, _tslib.__rest)(_a, ["key", "mapType", "mapPoints", "mapCenter", "mapPolygons", "currentLayer", "geometryType", "clickGraphic"]);
36
44
  var mapRef = (0, _react.useRef)();
37
45
  var markers = (0, _react.useRef)([]);
38
46
  var mappolygons = (0, _react.useRef)([]);
@@ -44,14 +52,18 @@ function VmMap(_a) {
44
52
  _useState2 = _slicedToArray(_useState, 2),
45
53
  points = _useState2[0],
46
54
  setPoints = _useState2[1];
47
- var _useState3 = (0, _react.useState)([]),
55
+ var _useState3 = (0, _react.useState)(false),
48
56
  _useState4 = _slicedToArray(_useState3, 2),
49
- polygons = _useState4[0],
50
- setPolygons = _useState4[1];
57
+ center = _useState4[0],
58
+ setCenter = _useState4[1];
51
59
  var _useState5 = (0, _react.useState)([]),
52
60
  _useState6 = _slicedToArray(_useState5, 2),
53
- lines = _useState6[0],
54
- setLines = _useState6[1];
61
+ polygons = _useState6[0],
62
+ setPolygons = _useState6[1];
63
+ var _useState7 = (0, _react.useState)([]),
64
+ _useState8 = _slicedToArray(_useState7, 2),
65
+ lines = _useState8[0],
66
+ setLines = _useState8[1];
55
67
  (0, _react.useEffect)(function () {
56
68
  var wrapScroll = document.querySelector('.ant-modal-body');
57
69
  wrapScroll && wrapScroll.addEventListener('scroll', function () {
@@ -65,13 +77,13 @@ function VmMap(_a) {
65
77
  }, [theme]);
66
78
  (0, _react.useEffect)(function () {
67
79
  if ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0) {
68
- var list = mapPoints.map(function (ele) {
80
+ var _list = mapPoints.map(function (ele) {
69
81
  return Object.assign(Object.assign({}, ele), {
70
82
  longitude: ele.lng,
71
83
  latitude: ele.lat
72
84
  });
73
85
  }) || [];
74
- setPoints(list);
86
+ setPoints(_list);
75
87
  }
76
88
  }, [mapPoints]);
77
89
  (0, _react.useEffect)(function () {
@@ -82,13 +94,15 @@ function VmMap(_a) {
82
94
  if ((filterMapPolygons === null || filterMapPolygons === void 0 ? void 0 : filterMapPolygons.length) > 0) {
83
95
  if (geometryType === 'polyline') {
84
96
  setLines(filterMapPolygons.map(function (item) {
85
- return Object.assign(Object.assign({}, item), {
97
+ return {
98
+ id: item.id,
99
+ config: item.config,
86
100
  paths: item.rings.split(';').map(function (v) {
87
101
  return v.split(',').map(function (v) {
88
102
  return Number(v);
89
103
  });
90
104
  })
91
- });
105
+ };
92
106
  }));
93
107
  } else {
94
108
  setPolygons(filterMapPolygons.map(function (item) {
@@ -128,7 +142,7 @@ function VmMap(_a) {
128
142
  var center = mapCenter || defaultCenter;
129
143
  mapRef.current = new window.BMapGL.Map('modalMap', {
130
144
  style: {
131
- styleJson: isDark ? _mapStyle.customStyle : _mapStyle.customLight
145
+ styleJson: isDark || theme == 'blue' ? _mapStyle.customStyle : _mapStyle.customLight
132
146
  }
133
147
  });
134
148
  var point = new window.BMapGL.Point(center[0], center[1]);
@@ -151,8 +165,8 @@ function VmMap(_a) {
151
165
  var points = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
152
166
  removePoints();
153
167
  if (!(points === null || points === void 0 ? void 0 : points.length)) {
154
- var center = mapCenter || defaultCenter;
155
- var point = new window.BMapGL.Point(center[0], center[1]);
168
+ var _center = mapCenter || defaultCenter;
169
+ var point = new window.BMapGL.Point(_center[0], _center[1]);
156
170
  mapRef.current.addOverlay(new window.BMapGL.Marker(point));
157
171
  return;
158
172
  }
@@ -162,10 +176,10 @@ function VmMap(_a) {
162
176
  var _a, _b;
163
177
  var position = new window.BMapGL.Point(item.lng, item.lat);
164
178
  positions.push(position);
165
- var icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));
179
+ var icon = new window.BMapGL.Icon(item.url || require('./imgs/defaultMarker.png'), new window.BMapGL.Size(item.width || 32, item.height || 45));
166
180
  var marker = new window.BMapGL.Marker(position, {
167
181
  icon: icon,
168
- offset: new window.BMapGL.Size(((_a = item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),
182
+ offset: new window.BMapGL.Size(((_a = item === null || item === void 0 ? void 0 : item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item === null || item === void 0 ? void 0 : item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),
169
183
  title: item.name || ''
170
184
  });
171
185
  markers.current.push(marker);
@@ -175,7 +189,8 @@ function VmMap(_a) {
175
189
  };
176
190
  // 清除地图点位
177
191
  var removePoints = function removePoints() {
178
- markers.current.forEach(function (marker) {
192
+ var _a;
193
+ ((_a = markers.current) === null || _a === void 0 ? void 0 : _a.length) && markers.current.forEach(function (marker) {
179
194
  mapRef.current.addOverlay(marker);
180
195
  });
181
196
  markers.current = [];
@@ -195,11 +210,13 @@ function VmMap(_a) {
195
210
  var polygons = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
196
211
  var type = arguments.length > 1 ? arguments[1] : undefined;
197
212
  removePolygons();
198
- if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length)) return;
213
+ var list = polygons === null || polygons === void 0 ? void 0 : polygons.filter(function (ele) {
214
+ return !!ele.rings;
215
+ });
216
+ if (!(list === null || list === void 0 ? void 0 : list.length)) return;
199
217
  var points = [];
200
218
  //遍历添加图层(图元)
201
219
  polygons.map(function (item) {
202
- var _a;
203
220
  //初始化参数
204
221
  var cg = {
205
222
  lineType: 'solid',
@@ -222,7 +239,7 @@ function VmMap(_a) {
222
239
  fillColor: cg.color,
223
240
  fillOpacity: cg.pellucidity
224
241
  },
225
- polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(function (item) {
242
+ polygonPath = item.rings.split(';').map(function (item) {
226
243
  var _ref2 = item === null || item === void 0 ? void 0 : item.split(','),
227
244
  _ref3 = _slicedToArray(_ref2, 2),
228
245
  lng = _ref3[0],
@@ -238,8 +255,7 @@ function VmMap(_a) {
238
255
  clickPolygon(item, e);
239
256
  // 居中显示
240
257
  setTimeout(function () {
241
- var _a;
242
- mapRef.current.setViewport((_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(function (item) {
258
+ mapRef.current.setViewport(item.rings.split(';').map(function (item) {
243
259
  var _ref4 = item === null || item === void 0 ? void 0 : item.split(','),
244
260
  _ref5 = _slicedToArray(_ref4, 2),
245
261
  lng = _ref5[0],
@@ -262,7 +278,8 @@ function VmMap(_a) {
262
278
  };
263
279
  // 清除地图图元
264
280
  var removePolygons = function removePolygons() {
265
- mappolygons.current.forEach(function (polygon) {
281
+ var _a;
282
+ ((_a = mappolygons.current) === null || _a === void 0 ? void 0 : _a.length) && mappolygons.current.forEach(function (polygon) {
266
283
  mapRef.current.removeOverlay(polygon);
267
284
  });
268
285
  mappolygons.current = [];
@@ -274,15 +291,42 @@ function VmMap(_a) {
274
291
  });
275
292
  highlightLayer.current = [];
276
293
  };
294
+ var list = mapType !== 'olmap' ? [].concat(_toConsumableArray(polygons), _toConsumableArray(lines)) : [];
295
+ var pointCneter;
296
+ if ((points === null || points === void 0 ? void 0 : points.length) > 0) {
297
+ pointCneter = [(_b = points === null || points === void 0 ? void 0 : points[0]) === null || _b === void 0 ? void 0 : _b.lng, (_c = points === null || points === void 0 ? void 0 : points[0]) === null || _c === void 0 ? void 0 : _c.lat];
298
+ }
277
299
  var mapProps = Object.assign({
300
+ key: key,
278
301
  mapId: Date.now(),
279
- mapCenter: mapCenter || defaultCenter,
302
+ mapCenter: pointCneter || mapCenter || defaultCenter,
280
303
  mapType: mapType,
281
304
  mapPoints: points || [],
282
305
  mapPolygons: polygons || [],
283
- mapLines: lines || []
306
+ mapLines: lines || [],
307
+ setCenter: center
284
308
  }, rest);
285
- return theme === 'light' ? ( /*#__PURE__*/_react["default"].createElement(_map.VtxMap, Object.assign({}, mapProps))) : ( /*#__PURE__*/_react["default"].createElement("div", {
309
+ // 点位层级固定显示16,可在customMapInfo传参修改
310
+ if (list.length) {
311
+ mapProps = Object.assign(Object.assign({}, mapProps), {
312
+ mapVisiblePoints: {
313
+ fitView: list.length ? list === null || list === void 0 ? void 0 : list.map(function (ele) {
314
+ return ele.id;
315
+ }) : [],
316
+ type: 'all'
317
+ },
318
+ setVisiblePoints: Math.random() * 1000
319
+ });
320
+ }
321
+ (0, _react.useEffect)(function () {
322
+ if (mapCenter && (mapCenter === null || mapCenter === void 0 ? void 0 : mapCenter.length) > 0) {
323
+ setCenter(true);
324
+ setTimeout(function () {
325
+ return setCenter(false);
326
+ }, 2500);
327
+ }
328
+ }, [JSON.stringify(mapCenter)]);
329
+ return theme == 'light' ? ( /*#__PURE__*/_react["default"].createElement(_map.VtxMap, Object.assign({}, mapProps))) : ( /*#__PURE__*/_react["default"].createElement("div", {
286
330
  id: "modalMap",
287
331
  style: {
288
332
  width: '100%',