@vtx/modals2 2.5.3 → 2.5.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 (712) hide show
  1. package/README.md +1 -1
  2. package/lib/index.js +1 -1
  3. package/lib/index.js.map +1 -1
  4. package/lib/style/css.js.map +1 -1
  5. package/lib/style/index.js.map +1 -1
  6. package/lib/util/index.js.map +1 -1
  7. package/lib/vm-alarm-info/Components/AlarmRecord.js +12 -13
  8. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  9. package/lib/vm-alarm-info/Components/AlarmStatistics.js +16 -17
  10. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  11. package/lib/vm-alarm-info/Components/AlarmTrend.js +12 -13
  12. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/CurrentAlarm.js +12 -13
  14. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +15 -16
  16. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  17. package/lib/vm-alarm-info/api.js +1 -2
  18. package/lib/vm-alarm-info/api.js.map +1 -1
  19. package/lib/vm-alarm-info/index.js +16 -18
  20. package/lib/vm-alarm-info/index.js.map +1 -1
  21. package/lib/vm-alarm-info/style/css.js.map +1 -1
  22. package/lib/vm-alarm-info/style/index.js.map +1 -1
  23. package/lib/vm-alarm-situation/api.js +2 -3
  24. package/lib/vm-alarm-situation/api.js.map +1 -1
  25. package/lib/vm-alarm-situation/index.js +21 -23
  26. package/lib/vm-alarm-situation/index.js.map +1 -1
  27. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  28. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  29. package/lib/vm-alarm-situation-pt/api.js +1 -3
  30. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  31. package/lib/vm-alarm-situation-pt/index.js +13 -14
  32. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  33. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  34. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  35. package/lib/vm-analysis-comparison/api.js +2 -3
  36. package/lib/vm-analysis-comparison/api.js.map +1 -1
  37. package/lib/vm-analysis-comparison/index.js +17 -19
  38. package/lib/vm-analysis-comparison/index.js.map +1 -1
  39. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  40. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  41. package/lib/vm-appraisal-info/AppraisalBase.js +2 -3
  42. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  43. package/lib/vm-appraisal-info/AppraisalTop5.js +4 -5
  44. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  45. package/lib/vm-appraisal-info/List.js +9 -10
  46. package/lib/vm-appraisal-info/List.js.map +1 -1
  47. package/lib/vm-appraisal-info/ListKh.js +13 -13
  48. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  49. package/lib/vm-appraisal-info/ListZg.js +13 -13
  50. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  51. package/lib/vm-appraisal-info/Wtlx.js +5 -6
  52. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  53. package/lib/vm-appraisal-info/Zgxxhz.js +2 -3
  54. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  55. package/lib/vm-appraisal-info/api.js +1 -2
  56. package/lib/vm-appraisal-info/api.js.map +1 -1
  57. package/lib/vm-appraisal-info/index.js +19 -20
  58. package/lib/vm-appraisal-info/index.js.map +1 -1
  59. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  60. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  61. package/lib/vm-base-list/OpenArrow.js +5 -6
  62. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  63. package/lib/vm-base-list/index.js +15 -16
  64. package/lib/vm-base-list/index.js.map +1 -1
  65. package/lib/vm-base-list/style/css.js.map +1 -1
  66. package/lib/vm-base-list/style/index.js.map +1 -1
  67. package/lib/vm-button/index.js +2 -3
  68. package/lib/vm-button/index.js.map +1 -1
  69. package/lib/vm-button/style/css.js.map +1 -1
  70. package/lib/vm-button/style/index.js.map +1 -1
  71. package/lib/vm-charts/Distribute1.js +7 -8
  72. package/lib/vm-charts/Distribute1.js.map +1 -1
  73. package/lib/vm-charts/Gauge1.js +2 -3
  74. package/lib/vm-charts/Gauge1.js.map +1 -1
  75. package/lib/vm-charts/Line.js +12 -14
  76. package/lib/vm-charts/Line.js.map +1 -1
  77. package/lib/vm-charts/Line1.js +2 -3
  78. package/lib/vm-charts/Line1.js.map +1 -1
  79. package/lib/vm-charts/Pie.js +7 -9
  80. package/lib/vm-charts/Pie.js.map +1 -1
  81. package/lib/vm-charts/index.js +1 -1
  82. package/lib/vm-charts/index.js.map +1 -1
  83. package/lib/vm-checkbox/index.js +3 -5
  84. package/lib/vm-checkbox/index.js.map +1 -1
  85. package/lib/vm-checkbox/style/css.js.map +1 -1
  86. package/lib/vm-checkbox/style/index.js.map +1 -1
  87. package/lib/vm-container/index.js +5 -7
  88. package/lib/vm-container/index.js.map +1 -1
  89. package/lib/vm-container/style/css.js.map +1 -1
  90. package/lib/vm-container/style/index.js.map +1 -1
  91. package/lib/vm-correlation-comparison/api.js +2 -3
  92. package/lib/vm-correlation-comparison/api.js.map +1 -1
  93. package/lib/vm-correlation-comparison/index.js +17 -18
  94. package/lib/vm-correlation-comparison/index.js.map +1 -1
  95. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  96. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  97. package/lib/vm-empty/index.js +2 -3
  98. package/lib/vm-empty/index.js.map +1 -1
  99. package/lib/vm-empty/style/css.js.map +1 -1
  100. package/lib/vm-empty/style/index.js.map +1 -1
  101. package/lib/vm-filter/index.js +16 -23
  102. package/lib/vm-filter/index.js.map +1 -1
  103. package/lib/vm-filter/style/css.js.map +1 -1
  104. package/lib/vm-filter/style/index.js.map +1 -1
  105. package/lib/vm-hooks/useSettings.js +1 -2
  106. package/lib/vm-hooks/useSettings.js.map +1 -1
  107. package/lib/vm-iframe-modal/index.js +4 -5
  108. package/lib/vm-iframe-modal/index.js.map +1 -1
  109. package/lib/vm-iframe-modal/style/css.js.map +1 -1
  110. package/lib/vm-iframe-modal/style/index.js.map +1 -1
  111. package/lib/vm-image-text/index.js +4 -5
  112. package/lib/vm-image-text/index.js.map +1 -1
  113. package/lib/vm-image-text/style/css.js.map +1 -1
  114. package/lib/vm-image-text/style/index.js.map +1 -1
  115. package/lib/vm-info-collection/index.js +6 -4
  116. package/lib/vm-info-collection/index.js.map +1 -1
  117. package/lib/vm-info-collection/style/css.js.map +1 -1
  118. package/lib/vm-info-collection/style/index.css +21 -0
  119. package/lib/vm-info-collection/style/index.js.map +1 -1
  120. package/lib/vm-info-collection/style/index.less +19 -0
  121. package/lib/vm-map/index.js +107 -92
  122. package/lib/vm-map/index.js.map +1 -1
  123. package/lib/vm-map/mapStyle.js +7 -14
  124. package/lib/vm-map/mapStyle.js.map +1 -1
  125. package/lib/vm-modal-table/index.js +4 -5
  126. package/lib/vm-modal-table/index.js.map +1 -1
  127. package/lib/vm-modal-table/style/css.js.map +1 -1
  128. package/lib/vm-modal-table/style/index.js.map +1 -1
  129. package/lib/vm-nodata/index.js +1 -1
  130. package/lib/vm-nodata/index.js.map +1 -1
  131. package/lib/vm-radio/index.js +3 -5
  132. package/lib/vm-radio/index.js.map +1 -1
  133. package/lib/vm-radio/style/css.js.map +1 -1
  134. package/lib/vm-radio/style/index.js.map +1 -1
  135. package/lib/vm-real-time-monitor/api.js +2 -3
  136. package/lib/vm-real-time-monitor/api.js.map +1 -1
  137. package/lib/vm-real-time-monitor/index.js +17 -18
  138. package/lib/vm-real-time-monitor/index.js.map +1 -1
  139. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  140. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  141. package/lib/vm-repair-maintain/RmInfoSummary.js +6 -7
  142. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  143. package/lib/vm-repair-maintain/RmMonthTrend.js +2 -3
  144. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  145. package/lib/vm-repair-maintain/RmRecord.js +8 -8
  146. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  147. package/lib/vm-repair-maintain/RmType.js +5 -6
  148. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  149. package/lib/vm-repair-maintain/api.js +1 -2
  150. package/lib/vm-repair-maintain/api.js.map +1 -1
  151. package/lib/vm-repair-maintain/index.js +2 -3
  152. package/lib/vm-repair-maintain/index.js.map +1 -1
  153. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  154. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  155. package/lib/vm-round-content/index.js +15 -17
  156. package/lib/vm-round-content/index.js.map +1 -1
  157. package/lib/vm-round-content/style/css.js.map +1 -1
  158. package/lib/vm-round-content/style/index.js.map +1 -1
  159. package/lib/vm-row-col/index.js +3 -5
  160. package/lib/vm-row-col/index.js.map +1 -1
  161. package/lib/vm-row-col/style/css.js.map +1 -1
  162. package/lib/vm-row-col/style/index.js.map +1 -1
  163. package/lib/vm-select-device/index.js +8 -8
  164. package/lib/vm-select-device/index.js.map +1 -1
  165. package/lib/vm-select-device/style/css.js.map +1 -1
  166. package/lib/vm-select-device/style/index.js.map +1 -1
  167. package/lib/vm-sub-tabs/index.js +4 -7
  168. package/lib/vm-sub-tabs/index.js.map +1 -1
  169. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  170. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  171. package/lib/vm-sub-title/index.js +4 -5
  172. package/lib/vm-sub-title/index.js.map +1 -1
  173. package/lib/vm-sub-title/style/css.js.map +1 -1
  174. package/lib/vm-sub-title/style/index.js.map +1 -1
  175. package/lib/vm-table/index.js +18 -24
  176. package/lib/vm-table/index.js.map +1 -1
  177. package/lib/vm-table/style/css.js.map +1 -1
  178. package/lib/vm-table/style/index.js.map +1 -1
  179. package/lib/vm-time-line/index.js +3 -3
  180. package/lib/vm-time-line/index.js.map +1 -1
  181. package/lib/vm-time-line/style/css.js.map +1 -1
  182. package/lib/vm-time-line/style/index.js.map +1 -1
  183. package/lib/vm-video/api.js +1 -2
  184. package/lib/vm-video/api.js.map +1 -1
  185. package/lib/vm-video/index.js +5 -6
  186. package/lib/vm-video/index.js.map +1 -1
  187. package/lib/vtx-base-info/index.js +15 -16
  188. package/lib/vtx-base-info/index.js.map +1 -1
  189. package/lib/vtx-base-info/style/css.js.map +1 -1
  190. package/lib/vtx-base-info/style/index.js.map +1 -1
  191. package/lib/vtx-base-modal/api.js +4 -8
  192. package/lib/vtx-base-modal/api.js.map +1 -1
  193. package/lib/vtx-base-modal/index.js +24 -25
  194. package/lib/vtx-base-modal/index.js.map +1 -1
  195. package/lib/vtx-base-modal/style/css.js.map +1 -1
  196. package/lib/vtx-base-modal/style/index.js.map +1 -1
  197. package/lib/vtx-car-modal/api.js +11 -17
  198. package/lib/vtx-car-modal/api.js.map +1 -1
  199. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +6 -7
  200. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  201. package/lib/vtx-car-modal/components/AlarmInfo/List.js +14 -15
  202. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  203. package/lib/vtx-car-modal/components/AlarmInfo/index.js +21 -22
  204. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  205. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +3 -3
  206. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  207. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
  208. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  209. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
  210. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  211. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
  212. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  213. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
  214. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  215. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +4 -5
  216. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  217. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
  218. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  219. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
  220. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  221. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +7 -8
  222. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  223. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +8 -9
  224. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  225. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +7 -8
  226. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  227. package/lib/vtx-car-modal/components/BaseInfo/index.js +12 -13
  228. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  229. package/lib/vtx-car-modal/components/Maintenance/index.js +6 -7
  230. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  231. package/lib/vtx-car-modal/components/OilConsumption/List.js +9 -10
  232. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  233. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +4 -4
  234. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  235. package/lib/vtx-car-modal/components/OilConsumption/index.js +9 -10
  236. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  237. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +5 -6
  238. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  239. package/lib/vtx-car-modal/components/StaticInfo/List.js +2 -3
  240. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  241. package/lib/vtx-car-modal/components/StaticInfo/index.js +16 -17
  242. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  243. package/lib/vtx-car-modal/components/WaterConsumption/index.js +9 -10
  244. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  245. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +8 -9
  246. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  247. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +15 -15
  248. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  249. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
  250. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  251. package/lib/vtx-car-modal/components/WorkInfo/index.js +2 -3
  252. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  253. package/lib/vtx-car-modal/components/index.js +1 -1
  254. package/lib/vtx-car-modal/components/index.js.map +1 -1
  255. package/lib/vtx-car-modal/index.js +16 -18
  256. package/lib/vtx-car-modal/index.js.map +1 -1
  257. package/lib/vtx-car-modal/style/css.js.map +1 -1
  258. package/lib/vtx-car-modal/style/index.js.map +1 -1
  259. package/lib/vtx-cc-cp-modal/api.js +6 -9
  260. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  261. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +10 -11
  262. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  263. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +5 -6
  264. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  265. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +11 -12
  266. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  267. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -3
  268. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  269. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +5 -6
  270. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  271. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +5 -6
  272. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  273. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +5 -6
  274. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  275. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +10 -11
  276. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  277. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +2 -3
  278. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  279. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +10 -11
  280. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  281. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +5 -6
  282. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  283. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +11 -12
  284. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  285. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -3
  286. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  287. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +10 -11
  288. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  289. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +8 -9
  290. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  291. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +5 -6
  292. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  293. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +7 -8
  294. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  295. package/lib/vtx-cc-cp-modal/components/index.js +1 -1
  296. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  297. package/lib/vtx-cc-cp-modal/index.js +8 -11
  298. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  299. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  300. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  301. package/lib/vtx-cc-cp-modal/type.js.map +1 -1
  302. package/lib/vtx-cp-modal/api.js +26 -25
  303. package/lib/vtx-cp-modal/api.js.map +1 -1
  304. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -11
  305. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  306. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +2 -3
  307. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  308. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +18 -19
  309. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  310. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +2 -3
  311. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  312. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +20 -2
  313. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  314. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js +16 -16
  315. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js.map +1 -1
  316. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +20 -17
  317. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  318. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +5 -5
  319. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  320. package/lib/vtx-cp-modal/components/BaseInfo/index.js +4 -4
  321. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  322. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -11
  323. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  324. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +2 -3
  325. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  326. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +18 -19
  327. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  328. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +2 -3
  329. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  330. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +8 -9
  331. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  332. package/lib/vtx-cp-modal/components/SyInfo/index.js +15 -16
  333. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  334. package/lib/vtx-cp-modal/components/index.js +1 -1
  335. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  336. package/lib/vtx-cp-modal/index.js +17 -29
  337. package/lib/vtx-cp-modal/index.js.map +1 -1
  338. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  339. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  340. package/lib/vtx-default-modal/api.js +1 -2
  341. package/lib/vtx-default-modal/api.js.map +1 -1
  342. package/lib/vtx-default-modal/components/BaseInfo/index.js +9 -7
  343. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  344. package/lib/vtx-default-modal/components/index.js +1 -1
  345. package/lib/vtx-default-modal/components/index.js.map +1 -1
  346. package/lib/vtx-default-modal/index.js +22 -26
  347. package/lib/vtx-default-modal/index.js.map +1 -1
  348. package/lib/vtx-default-modal/style/css.js.map +1 -1
  349. package/lib/vtx-default-modal/style/index.js.map +1 -1
  350. package/lib/vtx-device-modal/api.js +1 -2
  351. package/lib/vtx-device-modal/api.js.map +1 -1
  352. package/lib/vtx-device-modal/components/BaseInfo/index.js +4 -5
  353. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  354. package/lib/vtx-device-modal/components/DataAnalysis/index.js +14 -15
  355. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  356. package/lib/vtx-device-modal/components/FacilityFile/index.js +4 -5
  357. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  358. package/lib/vtx-device-modal/components/LiftInfo/index.js +2 -3
  359. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  360. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +2 -3
  361. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  362. package/lib/vtx-device-modal/components/OverViewInfo/index.js +17 -18
  363. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  364. package/lib/vtx-device-modal/components/VideoInfo/index.js +2 -3
  365. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  366. package/lib/vtx-device-modal/config.js +2 -4
  367. package/lib/vtx-device-modal/config.js.map +1 -1
  368. package/lib/vtx-device-modal/index.js +11 -13
  369. package/lib/vtx-device-modal/index.js.map +1 -1
  370. package/lib/vtx-device-modal/style/css.js.map +1 -1
  371. package/lib/vtx-device-modal/style/index.js.map +1 -1
  372. package/lib/vtx-device-modal/types.js.map +1 -1
  373. package/lib/vtx-df-modal/api.js +4 -8
  374. package/lib/vtx-df-modal/api.js.map +1 -1
  375. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +5 -6
  376. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  377. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
  378. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  379. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -13
  380. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  381. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
  382. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  383. package/lib/vtx-df-modal/components/BaseInfo/index.js +15 -15
  384. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  385. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +8 -9
  386. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  387. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +7 -8
  388. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  389. package/lib/vtx-df-modal/components/Metering/List.js +9 -10
  390. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  391. package/lib/vtx-df-modal/components/Metering/index.js +19 -21
  392. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  393. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -13
  394. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  395. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -14
  396. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  397. package/lib/vtx-df-modal/components/WorkCondition/index.js +15 -16
  398. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  399. package/lib/vtx-df-modal/components/index.js +1 -1
  400. package/lib/vtx-df-modal/components/index.js.map +1 -1
  401. package/lib/vtx-df-modal/index.js +15 -17
  402. package/lib/vtx-df-modal/index.js.map +1 -1
  403. package/lib/vtx-df-modal/style/css.js.map +1 -1
  404. package/lib/vtx-df-modal/style/index.js.map +1 -1
  405. package/lib/vtx-facility-modal/api.js +4 -6
  406. package/lib/vtx-facility-modal/api.js.map +1 -1
  407. package/lib/vtx-facility-modal/components/OverView/Left.js +2 -3
  408. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  409. package/lib/vtx-facility-modal/components/OverView/index.js +18 -19
  410. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  411. package/lib/vtx-facility-modal/components/index.js +1 -1
  412. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  413. package/lib/vtx-facility-modal/config.js +3 -6
  414. package/lib/vtx-facility-modal/config.js.map +1 -1
  415. package/lib/vtx-facility-modal/index.js +2 -3
  416. package/lib/vtx-facility-modal/index.js.map +1 -1
  417. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  418. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  419. package/lib/vtx-facility-modal/types.js.map +1 -1
  420. package/lib/vtx-housing-estate-modal/api.js +11 -20
  421. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  422. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +13 -15
  423. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  424. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +14 -15
  425. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  426. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +17 -18
  427. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  428. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +2 -3
  429. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  430. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +15 -17
  431. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  432. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +12 -13
  433. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  434. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +2 -3
  435. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  436. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +11 -13
  437. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  438. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +11 -13
  439. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  440. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +2 -3
  441. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  442. package/lib/vtx-housing-estate-modal/components/OverView/index.js +4 -5
  443. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  444. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +11 -12
  445. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  446. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +13 -14
  447. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  448. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +5 -6
  449. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  450. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +10 -11
  451. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  452. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +5 -6
  453. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  454. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +13 -14
  455. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  456. package/lib/vtx-housing-estate-modal/components/index.js +1 -1
  457. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  458. package/lib/vtx-housing-estate-modal/config.js +8 -11
  459. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  460. package/lib/vtx-housing-estate-modal/index.js +13 -15
  461. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  462. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  463. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  464. package/lib/vtx-housing-estate-modal/types.js.map +1 -1
  465. package/lib/vtx-kh-modal/api.js +1 -2
  466. package/lib/vtx-kh-modal/api.js.map +1 -1
  467. package/lib/vtx-kh-modal/components/BaseInfo/index.js +5 -5
  468. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  469. package/lib/vtx-kh-modal/components/index.js +1 -1
  470. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  471. package/lib/vtx-kh-modal/index.js +10 -11
  472. package/lib/vtx-kh-modal/index.js.map +1 -1
  473. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  474. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  475. package/lib/vtx-pump-modal/api.js +8 -13
  476. package/lib/vtx-pump-modal/api.js.map +1 -1
  477. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +9 -9
  478. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  479. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +12 -12
  480. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  481. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +12 -12
  482. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  483. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +7 -8
  484. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  485. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +12 -13
  486. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  487. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +12 -13
  488. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  489. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +12 -13
  490. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  491. package/lib/vtx-pump-modal/components/Basic/index.js +17 -19
  492. package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
  493. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +9 -9
  494. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
  495. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +10 -10
  496. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  497. package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
  498. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  499. package/lib/vtx-pump-modal/components/Sjfx/index.js +14 -15
  500. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  501. package/lib/vtx-pump-modal/components/Sxyx/index.js +10 -11
  502. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  503. package/lib/vtx-pump-modal/components/index.js +1 -1
  504. package/lib/vtx-pump-modal/components/index.js.map +1 -1
  505. package/lib/vtx-pump-modal/config.js +3 -6
  506. package/lib/vtx-pump-modal/config.js.map +1 -1
  507. package/lib/vtx-pump-modal/index.js +14 -16
  508. package/lib/vtx-pump-modal/index.js.map +1 -1
  509. package/lib/vtx-pump-modal/style/css.js.map +1 -1
  510. package/lib/vtx-pump-modal/style/index.js.map +1 -1
  511. package/lib/vtx-pump-modal/type.js.map +1 -1
  512. package/lib/vtx-restaurant-modal/api.js +5 -7
  513. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  514. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +5 -6
  515. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  516. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +5 -6
  517. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  518. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +5 -6
  519. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  520. package/lib/vtx-restaurant-modal/components/Alarm/index.js +10 -11
  521. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  522. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +5 -6
  523. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  524. package/lib/vtx-restaurant-modal/components/Basic/Info.js +7 -8
  525. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  526. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +4 -5
  527. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  528. package/lib/vtx-restaurant-modal/components/Basic/index.js +5 -6
  529. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  530. package/lib/vtx-restaurant-modal/components/Collection/index.js +10 -11
  531. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  532. package/lib/vtx-restaurant-modal/components/index.js +1 -1
  533. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  534. package/lib/vtx-restaurant-modal/config.js +2 -4
  535. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  536. package/lib/vtx-restaurant-modal/index.js +8 -11
  537. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  538. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  539. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  540. package/lib/vtx-restaurant-modal/type.js.map +1 -1
  541. package/lib/vtx-road-modal/api.js +2 -4
  542. package/lib/vtx-road-modal/api.js.map +1 -1
  543. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
  544. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  545. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
  546. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  547. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +1 -1
  548. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  549. package/lib/vtx-road-modal/components/BaseInfo/index.js +7 -8
  550. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  551. package/lib/vtx-road-modal/components/Statistical/Zylc.js +7 -8
  552. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  553. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +7 -8
  554. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  555. package/lib/vtx-road-modal/components/Statistical/index.js +9 -10
  556. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  557. package/lib/vtx-road-modal/components/index.js +1 -1
  558. package/lib/vtx-road-modal/components/index.js.map +1 -1
  559. package/lib/vtx-road-modal/index.js +13 -15
  560. package/lib/vtx-road-modal/index.js.map +1 -1
  561. package/lib/vtx-road-modal/style/css.js.map +1 -1
  562. package/lib/vtx-road-modal/style/index.js.map +1 -1
  563. package/lib/vtx-staff-modal/api.js +4 -8
  564. package/lib/vtx-staff-modal/api.js.map +1 -1
  565. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +6 -7
  566. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  567. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +11 -12
  568. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  569. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +18 -19
  570. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  571. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +3 -3
  572. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  573. package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -8
  574. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  575. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
  576. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  577. package/lib/vtx-staff-modal/components/Attendance/index.js +2 -3
  578. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  579. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +8 -9
  580. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  581. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
  582. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  583. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +3 -3
  584. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  585. package/lib/vtx-staff-modal/components/BaseInfo/index.css +1 -1
  586. package/lib/vtx-staff-modal/components/BaseInfo/index.js +10 -11
  587. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  588. package/lib/vtx-staff-modal/components/BaseInfo/index.less +1 -1
  589. package/lib/vtx-staff-modal/components/Equipment/index.js +2 -3
  590. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  591. package/lib/vtx-staff-modal/components/index.js +1 -1
  592. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  593. package/lib/vtx-staff-modal/index.js +14 -17
  594. package/lib/vtx-staff-modal/index.js.map +1 -1
  595. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  596. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  597. package/lib/vtx-theme-provider/index.js +3 -5
  598. package/lib/vtx-theme-provider/index.js.map +1 -1
  599. package/lib/vtx-throw-point-modal/api.js +12 -22
  600. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  601. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +13 -15
  602. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  603. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +14 -15
  604. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  605. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +17 -18
  606. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  607. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +2 -3
  608. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  609. package/lib/vtx-throw-point-modal/components/Alarm/index.js +15 -17
  610. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  611. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +12 -13
  612. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  613. package/lib/vtx-throw-point-modal/components/OverView/Left.js +7 -7
  614. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  615. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +11 -13
  616. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  617. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +11 -13
  618. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  619. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +2 -3
  620. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  621. package/lib/vtx-throw-point-modal/components/OverView/index.js +4 -5
  622. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  623. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +2 -3
  624. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  625. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +12 -14
  626. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  627. package/lib/vtx-throw-point-modal/components/TFRD/index.js +13 -14
  628. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  629. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +5 -6
  630. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  631. package/lib/vtx-throw-point-modal/components/WGGS/index.js +12 -13
  632. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  633. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +5 -6
  634. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  635. package/lib/vtx-throw-point-modal/components/WGXW/index.js +15 -16
  636. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  637. package/lib/vtx-throw-point-modal/components/index.js +1 -1
  638. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  639. package/lib/vtx-throw-point-modal/config.js +8 -11
  640. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  641. package/lib/vtx-throw-point-modal/index.js +14 -15
  642. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  643. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  644. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  645. package/lib/vtx-throw-point-modal/types.js.map +1 -1
  646. package/lib/vtx-wr-modal/api.js +4 -8
  647. package/lib/vtx-wr-modal/api.js.map +1 -1
  648. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -11
  649. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  650. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +5 -6
  651. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  652. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +18 -19
  653. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  654. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +2 -3
  655. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  656. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +2 -3
  657. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  658. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +5 -4
  659. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  660. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +2 -3
  661. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  662. package/lib/vtx-wr-modal/components/BaseInfo/index.js +10 -11
  663. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  664. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +11 -12
  665. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  666. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +2 -3
  667. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  668. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +10 -11
  669. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
  670. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +2 -3
  671. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
  672. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +2 -3
  673. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
  674. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +2 -3
  675. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
  676. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +10 -11
  677. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  678. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +12 -13
  679. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -8
  681. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  682. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
  683. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  684. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -11
  685. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  686. package/lib/vtx-wr-modal/components/Evaluate/index.js +9 -10
  687. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  688. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +12 -13
  689. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  690. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +6 -7
  691. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  692. package/lib/vtx-wr-modal/components/Monitor/index.js +2 -3
  693. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  694. package/lib/vtx-wr-modal/components/Score/index.js +10 -12
  695. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  696. package/lib/vtx-wr-modal/components/index.js +1 -1
  697. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  698. package/lib/vtx-wr-modal/index.js +18 -32
  699. package/lib/vtx-wr-modal/index.js.map +1 -1
  700. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  701. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  702. package/lib/vtx-zg-modal/api.js +1 -2
  703. package/lib/vtx-zg-modal/api.js.map +1 -1
  704. package/lib/vtx-zg-modal/components/BaseInfo/index.js +18 -18
  705. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  706. package/lib/vtx-zg-modal/components/index.js +1 -1
  707. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  708. package/lib/vtx-zg-modal/index.js +10 -11
  709. package/lib/vtx-zg-modal/index.js.map +1 -1
  710. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  711. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  712. package/package.json +2 -2
@@ -1,33 +1,38 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = VmMap;
8
+ var _tslib = require("tslib");
8
9
  var _jquery = _interopRequireDefault(require("jquery"));
9
10
  var _react = _interopRequireWildcard(require("react"));
11
+ var _map = require("@vtx/map");
10
12
  var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
11
13
  var _mapStyle = require("./mapStyle");
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
14
+ 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
+ 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
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
16
18
  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."); }
17
- 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); }
18
- 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; }
19
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
20
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /* eslint-disable no-undef */ // import { VtxMap } from '@vtx/map';
21
- var defaultCenter = [119.603701, 30.636529];
22
- function VmMap(_ref) {
23
- var mapCenter = _ref.mapCenter,
24
- _ref$mapPoints = _ref.mapPoints,
25
- mapPoints = _ref$mapPoints === void 0 ? [] : _ref$mapPoints,
26
- _ref$mapPolygons = _ref.mapPolygons,
27
- mapPolygons = _ref$mapPolygons === void 0 ? [] : _ref$mapPolygons,
28
- currentLayer = _ref.currentLayer,
29
- geometryType = _ref.geometryType,
30
- clickGraphic = _ref.clickGraphic;
19
+ 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; } }
20
+ 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; }
21
+ 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; } }
22
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /* eslint-disable no-undef */
23
+ var defaultCenter = [116.421516, 39.898331];
24
+ function VmMap(_a) {
25
+ var _a$mapType = _a.mapType,
26
+ mapType = _a$mapType === void 0 ? 'bmap' : _a$mapType,
27
+ mapCenter = _a.mapCenter,
28
+ _a$mapPoints = _a.mapPoints,
29
+ mapPoints = _a$mapPoints === void 0 ? [] : _a$mapPoints,
30
+ _a$mapPolygons = _a.mapPolygons,
31
+ mapPolygons = _a$mapPolygons === void 0 ? [] : _a$mapPolygons,
32
+ currentLayer = _a.currentLayer,
33
+ geometryType = _a.geometryType,
34
+ clickGraphic = _a.clickGraphic,
35
+ rest = (0, _tslib.__rest)(_a, ["mapType", "mapCenter", "mapPoints", "mapPolygons", "currentLayer", "geometryType", "clickGraphic"]);
31
36
  var mapRef = (0, _react.useRef)();
32
37
  var markers = (0, _react.useRef)([]);
33
38
  var mappolygons = (0, _react.useRef)([]);
@@ -35,35 +40,75 @@ function VmMap(_ref) {
35
40
  var _useSettings = (0, _useSettings2["default"])(),
36
41
  isDark = _useSettings.isDark,
37
42
  theme = _useSettings.theme;
38
- // const [points, setPoints] = useState<any>([]);
39
- // const [polygons, setPolygons] = useState<any>([]);
43
+ var _useState = (0, _react.useState)([]),
44
+ _useState2 = _slicedToArray(_useState, 2),
45
+ points = _useState2[0],
46
+ setPoints = _useState2[1];
47
+ var _useState3 = (0, _react.useState)([]),
48
+ _useState4 = _slicedToArray(_useState3, 2),
49
+ polygons = _useState4[0],
50
+ setPolygons = _useState4[1];
51
+ var _useState5 = (0, _react.useState)([]),
52
+ _useState6 = _slicedToArray(_useState5, 2),
53
+ lines = _useState6[0],
54
+ setLines = _useState6[1];
40
55
  (0, _react.useEffect)(function () {
41
- initMap();
42
- }, [theme]);
43
- // useEffect(() => {
44
- // if (mapPoints?.length > 0) {
45
- // const list =
46
- // mapPoints.map(ele => ({
47
- // ...ele,
48
- // longitude: ele.lng,
49
- // latitude: ele.lat,
50
- // })) || [];
51
- // setPoints(list);
52
- // }
53
- // }, [mapPoints]);
54
- // useEffect(() => {
55
- // if (mapPolygons?.length > 0) {
56
- // setPolygons(mapPolygons);
57
- // }
58
- // }, [mapPolygons]);
56
+ var wrapScroll = document.querySelector('.ant-modal-body');
57
+ wrapScroll && wrapScroll.addEventListener('scroll', function () {
58
+ window.scrollY = (wrapScroll === null || wrapScroll === void 0 ? void 0 : wrapScroll.scrollTop) || 0;
59
+ });
60
+ }, []);
59
61
  (0, _react.useEffect)(function () {
60
62
  if (theme !== 'light') {
61
- mapRef.current && addPoints(mapPoints);
62
- mapRef.current && addPolygons(mapPolygons);
63
- } else {
64
- mapRef.current && addPolygons(mapPolygons);
63
+ initMap();
64
+ }
65
+ }, [theme]);
66
+ (0, _react.useEffect)(function () {
67
+ if ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0) {
68
+ var list = mapPoints.map(function (ele) {
69
+ return Object.assign(Object.assign({}, ele), {
70
+ longitude: ele.lng,
71
+ latitude: ele.lat
72
+ });
73
+ }) || [];
74
+ setPoints(list);
75
+ }
76
+ }, [mapPoints]);
77
+ (0, _react.useEffect)(function () {
78
+ var filterMapPolygons = mapPolygons.filter(function (_ref) {
79
+ var rings = _ref.rings;
80
+ return !!rings;
81
+ });
82
+ if ((filterMapPolygons === null || filterMapPolygons === void 0 ? void 0 : filterMapPolygons.length) > 0) {
83
+ if (geometryType === 'polyline') {
84
+ setLines(filterMapPolygons.map(function (item) {
85
+ return Object.assign(Object.assign({}, item), {
86
+ paths: item.rings.split(';').map(function (v) {
87
+ return v.split(',').map(function (v) {
88
+ return Number(v);
89
+ });
90
+ })
91
+ });
92
+ }));
93
+ } else {
94
+ setPolygons(filterMapPolygons.map(function (item) {
95
+ return Object.assign(Object.assign({}, item), {
96
+ rings: item.rings.split(';').map(function (v) {
97
+ return v.split(',').map(function (v) {
98
+ return Number(v);
99
+ });
100
+ })
101
+ });
102
+ }));
103
+ }
104
+ }
105
+ }, [mapPolygons]);
106
+ (0, _react.useEffect)(function () {
107
+ if (mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) {
108
+ addPoints(mapPoints);
109
+ addPolygons(mapPolygons);
65
110
  }
66
- }, [mapPoints, mapPolygons]);
111
+ }, [mapPoints, mapPolygons, mapRef === null || mapRef === void 0 ? void 0 : mapRef.current]);
67
112
  (0, _react.useEffect)(function () {
68
113
  var _a;
69
114
  if (theme !== 'light') {
@@ -88,13 +133,9 @@ function VmMap(_ref) {
88
133
  });
89
134
  var point = new window.BMapGL.Point(center[0], center[1]);
90
135
  // 设置中心点和层级
91
- if (theme !== 'light') {
92
- mapRef.current.centerAndZoom(point, 15);
93
- }
94
- mapRef.current.addOverlay(new window.BMapGL.Marker(point));
136
+ mapRef.current.centerAndZoom(point, 15);
137
+ // mapRef.current.addOverlay(new window.BMapGL.Marker(point));
95
138
  mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小
96
- addPoints(mapPoints);
97
- addPolygons(mapPolygons);
98
139
  };
99
140
  var initMap = function initMap() {
100
141
  if (window.BMapGL) {
@@ -109,7 +150,12 @@ function VmMap(_ref) {
109
150
  var addPoints = function addPoints() {
110
151
  var points = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
111
152
  removePoints();
112
- if (!(points === null || points === void 0 ? void 0 : points.length)) return;
153
+ 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]);
156
+ mapRef.current.addOverlay(new window.BMapGL.Marker(point));
157
+ return;
158
+ }
113
159
  // 添加点位
114
160
  var positions = [];
115
161
  points.forEach(function (item) {
@@ -164,7 +210,6 @@ function VmMap(_ref) {
164
210
  pellucidity: 0.5
165
211
  // isHidden: false //后期需要再加
166
212
  };
167
-
168
213
  if (item.config) {
169
214
  cg = Object.assign(Object.assign({}, cg), item.config);
170
215
  }
@@ -229,50 +274,20 @@ function VmMap(_ref) {
229
274
  });
230
275
  highlightLayer.current = [];
231
276
  };
232
- // let newArr = polygons;
233
- // if (theme === 'light') {
234
- // newArr = polygons?.map((item: any) => {
235
- // let arr = item.rings?.split(';')?.map((item: any) => {
236
- // let [lng, lat] = item?.split(',');
237
- // return [parseFloat(lng), parseFloat(lat)];
238
- // });
239
- // return {
240
- // ...item,
241
- // config: {
242
- // lineType: 'solid',
243
- // lineWidth: 5,
244
- // isHidden: false,
245
- // ...(item.config || {}),
246
- // },
247
- // [geometryType === 'polyline' ? 'paths' : 'rings']: arr,
248
- // [geometryType === 'polyline' ? 'rings' : 'paths']: [],
249
- // };
250
- // });
251
- // }
252
- // const mapProps = {
253
- // mapId: Date.now(),
254
- // mapCenter:
255
- // mapCenter ||
256
- // newArr?.[0]?.[geometryType === 'polyline' ? 'paths' : 'rings']?.[0] ||
257
- // defaultCenter,
258
- // mapType,
259
- // mapPoints: points || [],
260
- // mapLines: [],
261
- // mapPolygons: [],
262
- // // mapLines
263
- // };
264
- // console.log('ssss', mapCenter);
265
- // if (geometryType === 'polyline') {
266
- // mapProps.mapLines = theme === 'light' ? newArr : polygons || [];
267
- // } else {
268
- // mapProps.mapPolygons = theme === 'light' ? newArr : polygons || [];
269
- // }
270
- return /*#__PURE__*/_react["default"].createElement("div", {
277
+ var mapProps = Object.assign({
278
+ mapId: Date.now(),
279
+ mapCenter: mapCenter || defaultCenter,
280
+ mapType: mapType,
281
+ mapPoints: points || [],
282
+ mapPolygons: polygons || [],
283
+ mapLines: lines || []
284
+ }, rest);
285
+ return theme === 'light' ? ( /*#__PURE__*/_react["default"].createElement(_map.VtxMap, Object.assign({}, mapProps))) : ( /*#__PURE__*/_react["default"].createElement("div", {
271
286
  id: "modalMap",
272
287
  style: {
273
288
  width: '100%',
274
289
  height: '100%'
275
290
  }
276
- });
291
+ }));
277
292
  }
278
293
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_jquery","_interopRequireDefault","require","_react","_interopRequireWildcard","_useSettings2","_mapStyle","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","defaultCenter","VmMap","_ref","mapCenter","_ref$mapPoints","mapPoints","_ref$mapPolygons","mapPolygons","currentLayer","geometryType","clickGraphic","mapRef","useRef","markers","mappolygons","highlightLayer","_useSettings","useSettings","isDark","theme","useEffect","initMap","current","addPoints","addPolygons","_a","removeHighLightPolygons","id","rings","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","init","center","window","BMapGL","Map","style","styleJson","customStyle","customLight","point","Point","centerAndZoom","addOverlay","Marker","enableScrollWheelZoom","$","getScript","points","arguments","undefined","removePoints","positions","forEach","item","_b","position","lng","lat","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","clickPolygon","e","polygons","type","removePolygons","map","cg","lineType","lineColor","color","pellucidity","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_ref2","_ref3","_point","polygon","Polyline","Polygon","on","setTimeout","_ref4","_ref5","removeOverlay","React","createElement"],"sources":["vm-map/index.js"],"sourcesContent":["/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef } from 'react';\n// import { VtxMap } from '@vtx/map';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nconst defaultCenter = [119.603701, 30.636529];\nexport default function VmMap({ \n// mapType = 'bmap',\nmapCenter, mapPoints = [], mapPolygons = [], currentLayer, geometryType, clickGraphic, }) {\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const { isDark, theme } = useSettings();\n // const [points, setPoints] = useState<any>([]);\n // const [polygons, setPolygons] = useState<any>([]);\n useEffect(() => {\n initMap();\n }, [theme]);\n // useEffect(() => {\n // if (mapPoints?.length > 0) {\n // const list =\n // mapPoints.map(ele => ({\n // ...ele,\n // longitude: ele.lng,\n // latitude: ele.lat,\n // })) || [];\n // setPoints(list);\n // }\n // }, [mapPoints]);\n // useEffect(() => {\n // if (mapPolygons?.length > 0) {\n // setPolygons(mapPolygons);\n // }\n // }, [mapPolygons]);\n useEffect(() => {\n if (theme !== 'light') {\n mapRef.current && addPoints(mapPoints);\n mapRef.current && addPolygons(mapPolygons);\n }\n else {\n mapRef.current && addPolygons(mapPolygons);\n }\n }, [mapPoints, mapPolygons]);\n useEffect(() => {\n var _a;\n if (theme !== 'light') {\n removeHighLightPolygons();\n // 清空高亮图层并绘制新图层\n if (currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.id)\n addPolygons([\n {\n id: currentLayer.id,\n rings: (_a = currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats,\n config: {\n lineWidth: 2,\n lineOpacity: 0.5,\n },\n },\n ], 'highlight');\n }\n }, [theme, JSON.stringify(currentLayer)]);\n const init = () => {\n const center = mapCenter || defaultCenter;\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: isDark ? customStyle : customLight },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n if (theme !== 'light') {\n mapRef.current.centerAndZoom(point, 15);\n }\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小\n addPoints(mapPoints);\n addPolygons(mapPolygons);\n };\n const initMap = () => {\n if (window.BMapGL) {\n init();\n }\n else {\n $.getScript(`//api.map.baidu.com/getscript?type=webgl&v=1.0&ak=1XjLLEhZhQNUzd93EjU5nOGQ`, () => {\n init();\n });\n }\n };\n // 地图添加点位\n const addPoints = (points = []) => {\n removePoints();\n if (!(points === null || points === void 0 ? void 0 : points.length))\n return;\n // 添加点位\n const positions = [];\n points.forEach((item) => {\n var _a, _b;\n const position = new window.BMapGL.Point(item.lng, item.lat);\n positions.push(position);\n const icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n 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),\n title: item.name || '',\n });\n markers.current.push(marker);\n mapRef.current.addOverlay(marker);\n });\n mapRef.current.setViewport(positions);\n };\n // 清除地图点位\n const removePoints = () => {\n markers.current.forEach((marker) => {\n mapRef.current.addOverlay(marker);\n });\n markers.current = [];\n };\n //点击图元事件\n const clickPolygon = (item, e) => {\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\n };\n // 地图添加线\n const addPolygons = (polygons = [], type) => {\n removePolygons();\n if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length))\n return;\n const points = [];\n //遍历添加图层(图元)\n polygons.map(item => {\n var _a;\n //初始化参数\n let cg = {\n lineType: 'solid',\n lineWidth: 5,\n lineColor: '#277ffa',\n lineOpacity: geometryType === 'polyline' ? 1 : 0.3,\n color: '#fff',\n pellucidity: 0.5,\n // isHidden: false //后期需要再加\n };\n if (item.config) {\n cg = Object.assign(Object.assign({}, cg), item.config);\n }\n //面的参数\n let polygonOption = {\n strokeColor: cg.lineColor,\n strokeOpacity: cg.lineOpacity,\n strokeWeight: cg.lineWidth,\n strokeStyle: cg.lineType,\n fillColor: cg.color,\n fillOpacity: cg.pellucidity,\n }, polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n points.push(_point);\n return _point;\n });\n //创建面对象\n let polygon = geometryType === 'polyline'\n ? new window.BMapGL.Polyline(polygonPath, polygonOption)\n : new window.BMapGL.Polygon(polygonPath, polygonOption);\n //添加点击事件\n polygon.on('click', (e) => {\n clickPolygon(item, e);\n // 居中显示\n setTimeout(() => {\n var _a;\n mapRef.current.setViewport((_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n return _point;\n }));\n }, 300);\n });\n if (type) {\n // 若为高亮图层,单独保存,用于单独清除\n highlightLayer.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n else {\n mappolygons.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n });\n mapRef.current.setViewport(points);\n };\n // 清除地图图元\n const removePolygons = () => {\n mappolygons.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n mappolygons.current = [];\n };\n // 清除高亮图元\n const removeHighLightPolygons = () => {\n highlightLayer.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n highlightLayer.current = [];\n };\n // let newArr = polygons;\n // if (theme === 'light') {\n // newArr = polygons?.map((item: any) => {\n // let arr = item.rings?.split(';')?.map((item: any) => {\n // let [lng, lat] = item?.split(',');\n // return [parseFloat(lng), parseFloat(lat)];\n // });\n // return {\n // ...item,\n // config: {\n // lineType: 'solid',\n // lineWidth: 5,\n // isHidden: false,\n // ...(item.config || {}),\n // },\n // [geometryType === 'polyline' ? 'paths' : 'rings']: arr,\n // [geometryType === 'polyline' ? 'rings' : 'paths']: [],\n // };\n // });\n // }\n // const mapProps = {\n // mapId: Date.now(),\n // mapCenter:\n // mapCenter ||\n // newArr?.[0]?.[geometryType === 'polyline' ? 'paths' : 'rings']?.[0] ||\n // defaultCenter,\n // mapType,\n // mapPoints: points || [],\n // mapLines: [],\n // mapPolygons: [],\n // // mapLines\n // };\n // console.log('ssss', mapCenter);\n // if (geometryType === 'polyline') {\n // mapProps.mapLines = theme === 'light' ? newArr : polygons || [];\n // } else {\n // mapProps.mapPolygons = theme === 'light' ? newArr : polygons || [];\n // }\n return React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } });\n}\n"],"mappings":";;;;;;;AACA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AAAsD,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAAAQ,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,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A;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,oBAAOoF,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEhF,EAAE,EAAE,UAAU;IAAEc,KAAK,EAAE;MAAE2B,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnG"}
1
+ {"version":3,"file":"index.js","names":["_tslib","require","_jquery","_interopRequireDefault","_react","_interopRequireWildcard","_map","_useSettings2","_mapStyle","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","f","o","next","done","push","value","isArray","defaultCenter","VmMap","_a","_a$mapType","mapType","mapCenter","_a$mapPoints","mapPoints","_a$mapPolygons","mapPolygons","currentLayer","geometryType","clickGraphic","rest","__rest","mapRef","useRef","markers","mappolygons","highlightLayer","_useSettings","useSettings","isDark","theme","_useState","useState","_useState2","points","setPoints","_useState3","_useState4","polygons","setPolygons","_useState5","_useState6","lines","setLines","useEffect","wrapScroll","document","querySelector","addEventListener","window","scrollY","scrollTop","initMap","list","map","ele","assign","longitude","lng","latitude","lat","filterMapPolygons","filter","_ref","rings","item","paths","split","v","Number","current","addPoints","addPolygons","removeHighLightPolygons","id","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","init","center","BMapGL","Map","style","styleJson","customStyle","customLight","point","Point","centerAndZoom","enableScrollWheelZoom","$","getScript","arguments","undefined","removePoints","addOverlay","Marker","positions","forEach","_b","position","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","clickPolygon","obj","type","removePolygons","cg","lineType","lineColor","color","pellucidity","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","_ref2","_ref3","_point","polygon","Polyline","Polygon","on","setTimeout","_ref4","_ref5","removeOverlay","mapProps","mapId","Date","now","mapLines","React","createElement","VtxMap"],"sources":["vm-map/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\n/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { VtxMap } from '@vtx/map';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nconst defaultCenter = [116.421516, 39.898331];\nexport default function VmMap(_a) {\n var { mapType = 'bmap', mapCenter, mapPoints = [], mapPolygons = [], currentLayer, geometryType, clickGraphic } = _a, rest = __rest(_a, [\"mapType\", \"mapCenter\", \"mapPoints\", \"mapPolygons\", \"currentLayer\", \"geometryType\", \"clickGraphic\"]);\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const { isDark, theme } = useSettings();\n const [points, setPoints] = useState([]);\n const [polygons, setPolygons] = useState([]);\n const [lines, setLines] = useState([]);\n useEffect(() => {\n let wrapScroll = document.querySelector('.ant-modal-body');\n wrapScroll &&\n wrapScroll.addEventListener('scroll', () => {\n window.scrollY = (wrapScroll === null || wrapScroll === void 0 ? void 0 : wrapScroll.scrollTop) || 0;\n });\n }, []);\n useEffect(() => {\n if (theme !== 'light') {\n initMap();\n }\n }, [theme]);\n useEffect(() => {\n if ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0) {\n const list = mapPoints.map(ele => (Object.assign(Object.assign({}, ele), { longitude: ele.lng, latitude: ele.lat }))) || [];\n setPoints(list);\n }\n }, [mapPoints]);\n useEffect(() => {\n const filterMapPolygons = mapPolygons.filter(({ rings }) => !!rings);\n if ((filterMapPolygons === null || filterMapPolygons === void 0 ? void 0 : filterMapPolygons.length) > 0) {\n if (geometryType === 'polyline') {\n setLines(filterMapPolygons.map(item => (Object.assign(Object.assign({}, item), { paths: item.rings.split(';').map(v => v.split(',').map(v => Number(v))) }))));\n }\n else {\n setPolygons(filterMapPolygons.map(item => (Object.assign(Object.assign({}, item), { rings: item.rings.split(';').map(v => v.split(',').map(v => Number(v))) }))));\n }\n }\n }, [mapPolygons]);\n useEffect(() => {\n if (mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) {\n addPoints(mapPoints);\n addPolygons(mapPolygons);\n }\n }, [mapPoints, mapPolygons, mapRef === null || mapRef === void 0 ? void 0 : mapRef.current]);\n useEffect(() => {\n var _a;\n if (theme !== 'light') {\n removeHighLightPolygons();\n // 清空高亮图层并绘制新图层\n if (currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.id)\n addPolygons([\n {\n id: currentLayer.id,\n rings: (_a = currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats,\n config: {\n lineWidth: 2,\n lineOpacity: 0.5,\n },\n },\n ], 'highlight');\n }\n }, [theme, JSON.stringify(currentLayer)]);\n const init = () => {\n const center = mapCenter || defaultCenter;\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: isDark ? customStyle : customLight },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n // mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小\n };\n const initMap = () => {\n if (window.BMapGL) {\n init();\n }\n else {\n $.getScript(`//api.map.baidu.com/getscript?type=webgl&v=1.0&ak=1XjLLEhZhQNUzd93EjU5nOGQ`, () => {\n init();\n });\n }\n };\n // 地图添加点位\n const addPoints = (points = []) => {\n removePoints();\n if (!(points === null || points === void 0 ? void 0 : points.length)) {\n const center = mapCenter || defaultCenter;\n let point = new window.BMapGL.Point(center[0], center[1]);\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n return;\n }\n // 添加点位\n const positions = [];\n points.forEach((item) => {\n var _a, _b;\n const position = new window.BMapGL.Point(item.lng, item.lat);\n positions.push(position);\n const icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n 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),\n title: item.name || '',\n });\n markers.current.push(marker);\n mapRef.current.addOverlay(marker);\n });\n mapRef.current.setViewport(positions);\n };\n // 清除地图点位\n const removePoints = () => {\n markers.current.forEach((marker) => {\n mapRef.current.addOverlay(marker);\n });\n markers.current = [];\n };\n //点击图元事件\n const clickPolygon = (item, e) => {\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\n };\n // 地图添加线\n const addPolygons = (polygons = [], type) => {\n removePolygons();\n if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length))\n return;\n const points = [];\n //遍历添加图层(图元)\n polygons.map(item => {\n var _a;\n //初始化参数\n let cg = {\n lineType: 'solid',\n lineWidth: 5,\n lineColor: '#277ffa',\n lineOpacity: geometryType === 'polyline' ? 1 : 0.3,\n color: '#fff',\n pellucidity: 0.5,\n // isHidden: false //后期需要再加\n };\n if (item.config) {\n cg = Object.assign(Object.assign({}, cg), item.config);\n }\n //面的参数\n let polygonOption = {\n strokeColor: cg.lineColor,\n strokeOpacity: cg.lineOpacity,\n strokeWeight: cg.lineWidth,\n strokeStyle: cg.lineType,\n fillColor: cg.color,\n fillOpacity: cg.pellucidity,\n }, polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n points.push(_point);\n return _point;\n });\n //创建面对象\n let polygon = geometryType === 'polyline'\n ? new window.BMapGL.Polyline(polygonPath, polygonOption)\n : new window.BMapGL.Polygon(polygonPath, polygonOption);\n //添加点击事件\n polygon.on('click', (e) => {\n clickPolygon(item, e);\n // 居中显示\n setTimeout(() => {\n var _a;\n mapRef.current.setViewport((_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n return _point;\n }));\n }, 300);\n });\n if (type) {\n // 若为高亮图层,单独保存,用于单独清除\n highlightLayer.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n else {\n mappolygons.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n });\n mapRef.current.setViewport(points);\n };\n // 清除地图图元\n const removePolygons = () => {\n mappolygons.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n mappolygons.current = [];\n };\n // 清除高亮图元\n const removeHighLightPolygons = () => {\n highlightLayer.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n highlightLayer.current = [];\n };\n const mapProps = Object.assign({ mapId: Date.now(), mapCenter: mapCenter || defaultCenter, mapType, mapPoints: points || [], mapPolygons: polygons || [], mapLines: lines || [] }, rest);\n return theme === 'light' ? (React.createElement(VtxMap, Object.assign({}, mapProps))) : (React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } }));\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,SAAA,GAAAP,OAAA;AAAsD,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAA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AACP,OAAO,CAAC;IACzC,CAAC,CAAC;IACF7G,cAAc,CAAC4C,OAAO,GAAG,EAAE;EAC/B,CAAC;EACD,IAAMyE,QAAQ,GAAGzK,MAAM,CAACkF,MAAM,CAAC;IAAEwF,KAAK,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC;IAAEtI,SAAS,EAAEA,SAAS,IAAIL,aAAa;IAAEI,OAAO,EAAPA,OAAO;IAAEG,SAAS,EAAEoB,MAAM,IAAI,EAAE;IAAElB,WAAW,EAAEsB,QAAQ,IAAI,EAAE;IAAE6G,QAAQ,EAAEzG,KAAK,IAAI;EAAG,CAAC,EAAEtB,IAAI,CAAC;EACxL,OAAOU,KAAK,KAAK,OAAO,kBAAIsH,iBAAK,CAACC,aAAa,CAACC,WAAM,EAAEhL,MAAM,CAACkF,MAAM,CAAC,CAAC,CAAC,EAAEuF,QAAQ,CAAC,CAAC,mBAAKK,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAE3E,EAAE,EAAE,UAAU;IAAEY,KAAK,EAAE;MAAEuB,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC;AACtL","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.whiteStyle = exports.snowStyle = exports.purpleStyle = exports.darkStyle = exports.customStyle2D = exports.customStyle = exports.customLight = void 0;
7
- var snowStyle = [{
7
+ var snowStyle = exports.snowStyle = [{
8
8
  featureType: 'background',
9
9
  elementType: 'geometry',
10
10
  stylers: {
@@ -289,8 +289,7 @@ var snowStyle = [{
289
289
  color: '#ffffff00'
290
290
  }
291
291
  }];
292
- exports.snowStyle = snowStyle;
293
- var darkStyle = [{
292
+ var darkStyle = exports.darkStyle = [{
294
293
  featureType: 'background',
295
294
  elementType: 'geometry',
296
295
  stylers: {
@@ -574,8 +573,7 @@ var darkStyle = [{
574
573
  color: '#ffffff00'
575
574
  }
576
575
  }];
577
- exports.darkStyle = darkStyle;
578
- var purpleStyle = [{
576
+ var purpleStyle = exports.purpleStyle = [{
579
577
  featureType: 'water',
580
578
  elementType: 'all',
581
579
  stylers: {
@@ -862,8 +860,7 @@ var purpleStyle = [{
862
860
  visibility: 'on'
863
861
  }
864
862
  }];
865
- exports.purpleStyle = purpleStyle;
866
- var whiteStyle = [{
863
+ var whiteStyle = exports.whiteStyle = [{
867
864
  featureType: 'water',
868
865
  elementType: 'geometry',
869
866
  stylers: {
@@ -2025,8 +2022,7 @@ var whiteStyle = [{
2025
2022
  visibility: 'off'
2026
2023
  }
2027
2024
  }];
2028
- exports.whiteStyle = whiteStyle;
2029
- var customStyle = [{
2025
+ var customStyle = exports.customStyle = [{
2030
2026
  featureType: 'land',
2031
2027
  elementType: 'geometry',
2032
2028
  stylers: {
@@ -3325,8 +3321,7 @@ var customStyle = [{
3325
3321
  color: '#ffffff00'
3326
3322
  }
3327
3323
  }];
3328
- exports.customStyle = customStyle;
3329
- var customStyle2D = [{
3324
+ var customStyle2D = exports.customStyle2D = [{
3330
3325
  featureType: 'land',
3331
3326
  elementType: 'geometry',
3332
3327
  stylers: {
@@ -4697,8 +4692,7 @@ var customStyle2D = [{
4697
4692
  visibility: 'off'
4698
4693
  }
4699
4694
  }];
4700
- exports.customStyle2D = customStyle2D;
4701
- var customLight = [{
4695
+ var customLight = exports.customLight = [{
4702
4696
  featureType: 'town',
4703
4697
  stylers: {
4704
4698
  level: '19',
@@ -4726,5 +4720,4 @@ var customLight = [{
4726
4720
  visibility: 'off'
4727
4721
  }
4728
4722
  }];
4729
- exports.customLight = customLight;
4730
4723
  //# sourceMappingURL=mapStyle.js.map