@vtx/modals2 2.14.11 → 2.14.13

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 (900) hide show
  1. package/README.md +33 -33
  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.css +7 -1
  6. package/lib/style/index.js.map +1 -1
  7. package/lib/style/index.less +8 -8
  8. package/lib/style/themes/dark.css +7 -1
  9. package/lib/style/themes/dark.less +72 -69
  10. package/lib/style/themes/default.css +4 -1
  11. package/lib/style/themes/default.less +38 -34
  12. package/lib/style/themes/index.css +7 -1
  13. package/lib/style/themes/index.less +1 -1
  14. package/lib/typings.d.ts +17 -15
  15. package/lib/util/index.js +30 -0
  16. package/lib/util/index.js.map +1 -1
  17. package/lib/vm-alarm-info/Components/AlarmRecord.js +13 -12
  18. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  19. package/lib/vm-alarm-info/Components/AlarmStatistics.js +17 -16
  20. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  21. package/lib/vm-alarm-info/Components/AlarmTrend.js +13 -12
  22. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  23. package/lib/vm-alarm-info/Components/CurrentAlarm.js +13 -12
  24. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  25. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +16 -15
  26. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  27. package/lib/vm-alarm-info/Components/index.less +40 -40
  28. package/lib/vm-alarm-info/api.js +2 -1
  29. package/lib/vm-alarm-info/api.js.map +1 -1
  30. package/lib/vm-alarm-info/index.js +18 -16
  31. package/lib/vm-alarm-info/index.js.map +1 -1
  32. package/lib/vm-alarm-info/style/css.js.map +1 -1
  33. package/lib/vm-alarm-info/style/index.js.map +1 -1
  34. package/lib/vm-alarm-info/style/index.less +16 -16
  35. package/lib/vm-alarm-situation/api.js +3 -2
  36. package/lib/vm-alarm-situation/api.js.map +1 -1
  37. package/lib/vm-alarm-situation/index.js +23 -21
  38. package/lib/vm-alarm-situation/index.js.map +1 -1
  39. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  40. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  41. package/lib/vm-alarm-situation/style/index.less +67 -67
  42. package/lib/vm-alarm-situation-pt/api.js +3 -1
  43. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  44. package/lib/vm-alarm-situation-pt/index.js +14 -13
  45. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  46. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  47. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  48. package/lib/vm-alarm-situation-pt/style/index.less +65 -65
  49. package/lib/vm-analysis-comparison/api.js +3 -2
  50. package/lib/vm-analysis-comparison/api.js.map +1 -1
  51. package/lib/vm-analysis-comparison/index.js +19 -17
  52. package/lib/vm-analysis-comparison/index.js.map +1 -1
  53. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  54. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  55. package/lib/vm-analysis-comparison/style/index.less +12 -12
  56. package/lib/vm-appraisal-info/AppraisalBase.js +3 -2
  57. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  58. package/lib/vm-appraisal-info/AppraisalTop5.js +5 -4
  59. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  60. package/lib/vm-appraisal-info/List.js +10 -9
  61. package/lib/vm-appraisal-info/List.js.map +1 -1
  62. package/lib/vm-appraisal-info/ListKh.js +13 -12
  63. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  64. package/lib/vm-appraisal-info/ListZg.js +12 -11
  65. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  66. package/lib/vm-appraisal-info/Wtlx.js +6 -5
  67. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  68. package/lib/vm-appraisal-info/Zgxxhz.js +3 -2
  69. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  70. package/lib/vm-appraisal-info/api.js +2 -1
  71. package/lib/vm-appraisal-info/api.js.map +1 -1
  72. package/lib/vm-appraisal-info/index.js +20 -19
  73. package/lib/vm-appraisal-info/index.js.map +1 -1
  74. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  75. package/lib/vm-appraisal-info/style/index.css +1 -1
  76. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  77. package/lib/vm-appraisal-info/style/index.less +122 -122
  78. package/lib/vm-base-list/OpenArrow.js +8 -13
  79. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  80. package/lib/vm-base-list/index.js +17 -16
  81. package/lib/vm-base-list/index.js.map +1 -1
  82. package/lib/vm-base-list/style/css.js.map +1 -1
  83. package/lib/vm-base-list/style/index.js.map +1 -1
  84. package/lib/vm-base-list/style/index.less +39 -39
  85. package/lib/vm-button/index.js +3 -2
  86. package/lib/vm-button/index.js.map +1 -1
  87. package/lib/vm-button/style/css.js.map +1 -1
  88. package/lib/vm-button/style/index.js.map +1 -1
  89. package/lib/vm-button/style/index.less +20 -20
  90. package/lib/vm-charts/Distribute1.js +8 -7
  91. package/lib/vm-charts/Distribute1.js.map +1 -1
  92. package/lib/vm-charts/Gauge1.js +3 -2
  93. package/lib/vm-charts/Gauge1.js.map +1 -1
  94. package/lib/vm-charts/Line.js +15 -15
  95. package/lib/vm-charts/Line.js.map +1 -1
  96. package/lib/vm-charts/Line1.js +3 -2
  97. package/lib/vm-charts/Line1.js.map +1 -1
  98. package/lib/vm-charts/Pie.js +9 -7
  99. package/lib/vm-charts/Pie.js.map +1 -1
  100. package/lib/vm-charts/index.js +1 -1
  101. package/lib/vm-charts/index.js.map +1 -1
  102. package/lib/vm-charts/index.less +30 -30
  103. package/lib/vm-checkbox/index.js +5 -3
  104. package/lib/vm-checkbox/index.js.map +1 -1
  105. package/lib/vm-checkbox/style/css.js.map +1 -1
  106. package/lib/vm-checkbox/style/index.js.map +1 -1
  107. package/lib/vm-checkbox/style/index.less +25 -25
  108. package/lib/vm-container/index.js +7 -5
  109. package/lib/vm-container/index.js.map +1 -1
  110. package/lib/vm-container/style/css.js.map +1 -1
  111. package/lib/vm-container/style/index.js.map +1 -1
  112. package/lib/vm-container/style/index.less +29 -28
  113. package/lib/vm-correlation-comparison/api.js +3 -2
  114. package/lib/vm-correlation-comparison/api.js.map +1 -1
  115. package/lib/vm-correlation-comparison/index.js +18 -17
  116. package/lib/vm-correlation-comparison/index.js.map +1 -1
  117. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  118. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  119. package/lib/vm-correlation-comparison/style/index.less +13 -13
  120. package/lib/vm-empty/index.js +3 -2
  121. package/lib/vm-empty/index.js.map +1 -1
  122. package/lib/vm-empty/style/css.js.map +1 -1
  123. package/lib/vm-empty/style/index.js.map +1 -1
  124. package/lib/vm-empty/style/index.less +23 -23
  125. package/lib/vm-filter/index.js +23 -19
  126. package/lib/vm-filter/index.js.map +1 -1
  127. package/lib/vm-filter/style/css.js.map +1 -1
  128. package/lib/vm-filter/style/index.css +0 -3
  129. package/lib/vm-filter/style/index.js.map +1 -1
  130. package/lib/vm-filter/style/index.less +165 -166
  131. package/lib/vm-hooks/useSettings.js +2 -1
  132. package/lib/vm-hooks/useSettings.js.map +1 -1
  133. package/lib/vm-iframe-modal/index.js +5 -4
  134. package/lib/vm-iframe-modal/index.js.map +1 -1
  135. package/lib/vm-iframe-modal/style/css.js.map +1 -1
  136. package/lib/vm-iframe-modal/style/index.js.map +1 -1
  137. package/lib/vm-iframe-modal/style/index.less +8 -8
  138. package/lib/vm-image-text/index.js +5 -4
  139. package/lib/vm-image-text/index.js.map +1 -1
  140. package/lib/vm-image-text/style/css.js.map +1 -1
  141. package/lib/vm-image-text/style/index.js.map +1 -1
  142. package/lib/vm-image-text/style/index.less +30 -30
  143. package/lib/vm-info-collection/index.js +77 -10
  144. package/lib/vm-info-collection/index.js.map +1 -1
  145. package/lib/vm-info-collection/style/css.js.map +1 -1
  146. package/lib/vm-info-collection/style/index.css +8 -23
  147. package/lib/vm-info-collection/style/index.js.map +1 -1
  148. package/lib/vm-info-collection/style/index.less +42 -57
  149. package/lib/vm-map/index.js +44 -25
  150. package/lib/vm-map/index.js.map +1 -1
  151. package/lib/vm-map/mapStyle.js +14 -7
  152. package/lib/vm-map/mapStyle.js.map +1 -1
  153. package/lib/vm-modal-table/index.js +5 -4
  154. package/lib/vm-modal-table/index.js.map +1 -1
  155. package/lib/vm-modal-table/style/css.js.map +1 -1
  156. package/lib/vm-modal-table/style/index.js.map +1 -1
  157. package/lib/vm-modal-table/style/index.less +23 -23
  158. package/lib/vm-nodata/index.js +1 -1
  159. package/lib/vm-nodata/index.js.map +1 -1
  160. package/lib/vm-radio/index.js +5 -3
  161. package/lib/vm-radio/index.js.map +1 -1
  162. package/lib/vm-radio/style/css.js.map +1 -1
  163. package/lib/vm-radio/style/index.js.map +1 -1
  164. package/lib/vm-radio/style/index.less +26 -26
  165. package/lib/vm-real-time-monitor/api.js +3 -2
  166. package/lib/vm-real-time-monitor/api.js.map +1 -1
  167. package/lib/vm-real-time-monitor/index.js +18 -17
  168. package/lib/vm-real-time-monitor/index.js.map +1 -1
  169. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  170. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  171. package/lib/vm-real-time-monitor/style/index.less +11 -12
  172. package/lib/vm-repair-maintain/RmInfoSummary.js +7 -6
  173. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  174. package/lib/vm-repair-maintain/RmMonthTrend.js +6 -5
  175. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  176. package/lib/vm-repair-maintain/RmRecord.js +8 -8
  177. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  178. package/lib/vm-repair-maintain/RmType.js +6 -5
  179. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  180. package/lib/vm-repair-maintain/api.js +2 -1
  181. package/lib/vm-repair-maintain/api.js.map +1 -1
  182. package/lib/vm-repair-maintain/index.js +3 -2
  183. package/lib/vm-repair-maintain/index.js.map +1 -1
  184. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  185. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  186. package/lib/vm-repair-maintain/style/index.less +108 -108
  187. package/lib/vm-round-content/index.js +17 -15
  188. package/lib/vm-round-content/index.js.map +1 -1
  189. package/lib/vm-round-content/style/css.js.map +1 -1
  190. package/lib/vm-round-content/style/index.js.map +1 -1
  191. package/lib/vm-round-content/style/index.less +34 -33
  192. package/lib/vm-row-col/index.js +5 -3
  193. package/lib/vm-row-col/index.js.map +1 -1
  194. package/lib/vm-row-col/style/css.js.map +1 -1
  195. package/lib/vm-row-col/style/index.js.map +1 -1
  196. package/lib/vm-select-device/index.js +8 -8
  197. package/lib/vm-select-device/index.js.map +1 -1
  198. package/lib/vm-select-device/style/css.js.map +1 -1
  199. package/lib/vm-select-device/style/index.js.map +1 -1
  200. package/lib/vm-select-device/style/index.less +16 -16
  201. package/lib/vm-sub-tabs/index.js +7 -4
  202. package/lib/vm-sub-tabs/index.js.map +1 -1
  203. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  204. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  205. package/lib/vm-sub-tabs/style/index.less +119 -119
  206. package/lib/vm-sub-title/index.js +5 -4
  207. package/lib/vm-sub-title/index.js.map +1 -1
  208. package/lib/vm-sub-title/style/css.js.map +1 -1
  209. package/lib/vm-sub-title/style/index.js.map +1 -1
  210. package/lib/vm-sub-title/style/index.less +23 -23
  211. package/lib/vm-table/index.js +25 -25
  212. package/lib/vm-table/index.js.map +1 -1
  213. package/lib/vm-table/style/css.js.map +1 -1
  214. package/lib/vm-table/style/index.css +0 -10
  215. package/lib/vm-table/style/index.js.map +1 -1
  216. package/lib/vm-table/style/index.less +224 -224
  217. package/lib/vm-time-line/index.js +3 -3
  218. package/lib/vm-time-line/index.js.map +1 -1
  219. package/lib/vm-time-line/style/css.js.map +1 -1
  220. package/lib/vm-time-line/style/index.js.map +1 -1
  221. package/lib/vm-video/api.js +2 -1
  222. package/lib/vm-video/api.js.map +1 -1
  223. package/lib/vm-video/index.css +7 -1
  224. package/lib/vm-video/index.js +8 -6
  225. package/lib/vm-video/index.js.map +1 -1
  226. package/lib/vm-video/index.less +10 -10
  227. package/lib/vtx-base-info/index.js +16 -15
  228. package/lib/vtx-base-info/index.js.map +1 -1
  229. package/lib/vtx-base-info/style/css.js.map +1 -1
  230. package/lib/vtx-base-info/style/index.js.map +1 -1
  231. package/lib/vtx-base-info/style/index.less +62 -62
  232. package/lib/vtx-base-modal/api.js +8 -4
  233. package/lib/vtx-base-modal/api.js.map +1 -1
  234. package/lib/vtx-base-modal/index.js +61 -34
  235. package/lib/vtx-base-modal/index.js.map +1 -1
  236. package/lib/vtx-base-modal/style/css.js.map +1 -1
  237. package/lib/vtx-base-modal/style/index.css +9 -2
  238. package/lib/vtx-base-modal/style/index.js.map +1 -1
  239. package/lib/vtx-base-modal/style/index.less +578 -575
  240. package/lib/vtx-car-modal/api.js +118 -186
  241. package/lib/vtx-car-modal/api.js.map +1 -1
  242. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +7 -6
  243. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  244. package/lib/vtx-car-modal/components/AlarmInfo/List.js +15 -14
  245. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  246. package/lib/vtx-car-modal/components/AlarmInfo/index.js +22 -21
  247. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  248. package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
  249. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +19 -7
  250. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  251. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
  252. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  253. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
  254. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  255. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
  256. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  257. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
  258. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  259. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +5 -4
  260. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  261. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
  262. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  263. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
  264. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  265. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +8 -7
  266. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  267. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +9 -8
  268. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  269. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +8 -7
  270. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  271. package/lib/vtx-car-modal/components/BaseInfo/index.css +0 -1
  272. package/lib/vtx-car-modal/components/BaseInfo/index.js +76 -47
  273. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  274. package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -239
  275. package/lib/vtx-car-modal/components/Maintenance/index.js +7 -6
  276. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  277. package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
  278. package/lib/vtx-car-modal/components/OilConsumption/List.js +10 -9
  279. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  280. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +4 -4
  281. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  282. package/lib/vtx-car-modal/components/OilConsumption/index.js +10 -9
  283. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  284. package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
  285. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +16 -7
  286. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  287. package/lib/vtx-car-modal/components/StaticInfo/List.js +3 -2
  288. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  289. package/lib/vtx-car-modal/components/StaticInfo/index.js +24 -18
  290. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  291. package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
  292. package/lib/vtx-car-modal/components/WaterConsumption/index.js +30 -43
  293. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  294. package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
  295. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +9 -8
  296. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  297. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +15 -15
  298. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  299. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
  300. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  301. package/lib/vtx-car-modal/components/WorkInfo/index.js +3 -2
  302. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  303. package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
  304. package/lib/vtx-car-modal/components/index.js +1 -15
  305. package/lib/vtx-car-modal/components/index.js.map +1 -1
  306. package/lib/vtx-car-modal/index.js +72 -79
  307. package/lib/vtx-car-modal/index.js.map +1 -1
  308. package/lib/vtx-car-modal/style/css.js.map +1 -1
  309. package/lib/vtx-car-modal/style/index.css +13 -1
  310. package/lib/vtx-car-modal/style/index.js.map +1 -1
  311. package/lib/vtx-car-modal/style/index.less +8 -6
  312. package/lib/vtx-cc-cp-modal/api.js +9 -6
  313. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  314. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
  315. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  316. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +6 -5
  317. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  318. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +12 -11
  319. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  320. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +3 -2
  321. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  322. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
  323. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +6 -5
  324. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  325. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +6 -5
  326. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  327. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +6 -5
  328. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  329. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +11 -10
  330. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  331. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +3 -2
  332. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  333. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
  334. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +11 -10
  335. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  336. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +6 -5
  337. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  338. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +12 -11
  339. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  340. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +3 -2
  341. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  342. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
  343. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +11 -10
  344. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  345. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
  346. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +9 -8
  347. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  348. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +6 -5
  349. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  350. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +8 -7
  351. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  352. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -40
  353. package/lib/vtx-cc-cp-modal/components/index.js +1 -1
  354. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  355. package/lib/vtx-cc-cp-modal/index.js +11 -8
  356. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  357. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  358. package/lib/vtx-cc-cp-modal/style/index.css +7 -1
  359. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  360. package/lib/vtx-cc-cp-modal/style/index.less +1 -1
  361. package/lib/vtx-cc-cp-modal/type.js.map +1 -1
  362. package/lib/vtx-cp-modal/api.js +75 -55
  363. package/lib/vtx-cp-modal/api.js.map +1 -1
  364. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -11
  365. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  366. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +3 -2
  367. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  368. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +19 -18
  369. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  370. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +3 -2
  371. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  372. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
  373. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +16 -34
  374. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  375. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +39 -161
  376. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  377. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +7 -6
  378. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  379. package/lib/vtx-cp-modal/components/BaseInfo/index.css +2 -175
  380. package/lib/vtx-cp-modal/components/BaseInfo/index.js +7 -42
  381. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  382. package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -226
  383. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -11
  384. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  385. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +3 -2
  386. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  387. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +19 -18
  388. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  389. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +3 -2
  390. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  391. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
  392. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +9 -8
  393. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  394. package/lib/vtx-cp-modal/components/SyInfo/index.js +16 -15
  395. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  396. package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -38
  397. package/lib/vtx-cp-modal/components/index.js +1 -1
  398. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  399. package/lib/vtx-cp-modal/index.js +41 -28
  400. package/lib/vtx-cp-modal/index.js.map +1 -1
  401. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  402. package/lib/vtx-cp-modal/style/index.css +7 -1
  403. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  404. package/lib/vtx-cp-modal/style/index.less +1 -1
  405. package/lib/vtx-default-modal/api.js +43 -21
  406. package/lib/vtx-default-modal/api.js.map +1 -1
  407. package/lib/vtx-default-modal/components/BaseInfo/index.css +1 -1
  408. package/lib/vtx-default-modal/components/BaseInfo/index.js +23 -16
  409. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  410. package/lib/vtx-default-modal/components/BaseInfo/index.less +25 -25
  411. package/lib/vtx-default-modal/components/index.js +1 -1
  412. package/lib/vtx-default-modal/components/index.js.map +1 -1
  413. package/lib/vtx-default-modal/index.js +44 -38
  414. package/lib/vtx-default-modal/index.js.map +1 -1
  415. package/lib/vtx-default-modal/style/css.js.map +1 -1
  416. package/lib/vtx-default-modal/style/index.css +7 -1
  417. package/lib/vtx-default-modal/style/index.js.map +1 -1
  418. package/lib/vtx-default-modal/style/index.less +1 -1
  419. package/lib/vtx-device-modal/api.js +2 -1
  420. package/lib/vtx-device-modal/api.js.map +1 -1
  421. package/lib/vtx-device-modal/components/BaseInfo/index.js +5 -4
  422. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  423. package/lib/vtx-device-modal/components/DataAnalysis/index.js +15 -14
  424. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  425. package/lib/vtx-device-modal/components/FacilityFile/index.js +5 -4
  426. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  427. package/lib/vtx-device-modal/components/LiftInfo/index.js +3 -2
  428. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  429. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +8 -5
  430. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  431. package/lib/vtx-device-modal/components/OverViewInfo/index.js +18 -17
  432. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  433. package/lib/vtx-device-modal/components/VideoInfo/index.js +3 -2
  434. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  435. package/lib/vtx-device-modal/config.js +11 -13
  436. package/lib/vtx-device-modal/config.js.map +1 -1
  437. package/lib/vtx-device-modal/index.js +13 -11
  438. package/lib/vtx-device-modal/index.js.map +1 -1
  439. package/lib/vtx-device-modal/style/css.js.map +1 -1
  440. package/lib/vtx-device-modal/style/index.js.map +1 -1
  441. package/lib/vtx-device-modal/style/index.less +7 -7
  442. package/lib/vtx-device-modal/types.js.map +1 -1
  443. package/lib/vtx-df-modal/api.js +69 -58
  444. package/lib/vtx-df-modal/api.js.map +1 -1
  445. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +6 -5
  446. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  447. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +17 -12
  448. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  449. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -13
  450. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  451. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
  452. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  453. package/lib/vtx-df-modal/components/BaseInfo/index.css +23 -6
  454. package/lib/vtx-df-modal/components/BaseInfo/index.js +25 -15
  455. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  456. package/lib/vtx-df-modal/components/BaseInfo/index.less +203 -191
  457. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +9 -8
  458. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  459. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +8 -7
  460. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  461. package/lib/vtx-df-modal/components/Metering/List.js +15 -11
  462. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  463. package/lib/vtx-df-modal/components/Metering/index.css +3 -3
  464. package/lib/vtx-df-modal/components/Metering/index.js +21 -19
  465. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  466. package/lib/vtx-df-modal/components/Metering/index.less +75 -75
  467. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -13
  468. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  469. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -14
  470. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  471. package/lib/vtx-df-modal/components/WorkCondition/index.js +16 -15
  472. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  473. package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
  474. package/lib/vtx-df-modal/components/index.js +1 -1
  475. package/lib/vtx-df-modal/components/index.js.map +1 -1
  476. package/lib/vtx-df-modal/index.js +40 -49
  477. package/lib/vtx-df-modal/index.js.map +1 -1
  478. package/lib/vtx-df-modal/style/css.js.map +1 -1
  479. package/lib/vtx-df-modal/style/index.css +7 -1
  480. package/lib/vtx-df-modal/style/index.js.map +1 -1
  481. package/lib/vtx-df-modal/style/index.less +1 -1
  482. package/lib/vtx-facility-modal/api.js +6 -4
  483. package/lib/vtx-facility-modal/api.js.map +1 -1
  484. package/lib/vtx-facility-modal/components/OverView/Left.js +10 -5
  485. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  486. package/lib/vtx-facility-modal/components/OverView/index.js +57 -28
  487. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  488. package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
  489. package/lib/vtx-facility-modal/components/index.js +1 -1
  490. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  491. package/lib/vtx-facility-modal/config.js +13 -13
  492. package/lib/vtx-facility-modal/config.js.map +1 -1
  493. package/lib/vtx-facility-modal/imgs/default.png +0 -0
  494. package/lib/vtx-facility-modal/index.js +7 -4
  495. package/lib/vtx-facility-modal/index.js.map +1 -1
  496. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  497. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  498. package/lib/vtx-facility-modal/style/index.less +1 -1
  499. package/lib/vtx-facility-modal/types.js.map +1 -1
  500. package/lib/vtx-housing-estate-modal/api.js +20 -11
  501. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  502. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +15 -13
  503. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  504. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +15 -14
  505. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  506. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +18 -17
  507. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  508. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +3 -2
  509. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  510. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +17 -15
  511. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  512. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
  513. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
  514. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  515. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +8 -5
  516. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  517. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +13 -11
  518. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  519. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +13 -11
  520. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  521. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +3 -2
  522. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  523. package/lib/vtx-housing-estate-modal/components/OverView/index.js +9 -6
  524. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  525. package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -246
  526. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +13 -12
  527. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  528. package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
  529. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +14 -13
  530. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  531. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
  532. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +6 -5
  533. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  534. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +11 -10
  535. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  536. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
  537. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +6 -5
  538. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  539. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +14 -13
  540. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  541. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -76
  542. package/lib/vtx-housing-estate-modal/components/index.js +1 -1
  543. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  544. package/lib/vtx-housing-estate-modal/config.js +11 -8
  545. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  546. package/lib/vtx-housing-estate-modal/index.js +19 -15
  547. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  548. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  549. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  550. package/lib/vtx-housing-estate-modal/style/index.less +1 -1
  551. package/lib/vtx-housing-estate-modal/types.js.map +1 -1
  552. package/lib/vtx-kh-modal/api.js +2 -1
  553. package/lib/vtx-kh-modal/api.js.map +1 -1
  554. package/lib/vtx-kh-modal/components/BaseInfo/index.js +10 -7
  555. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  556. package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
  557. package/lib/vtx-kh-modal/components/index.js +1 -1
  558. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  559. package/lib/vtx-kh-modal/index.js +11 -10
  560. package/lib/vtx-kh-modal/index.js.map +1 -1
  561. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  562. package/lib/vtx-kh-modal/style/index.css +7 -1
  563. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  564. package/lib/vtx-kh-modal/style/index.less +1 -1
  565. package/lib/vtx-pump-modal/api.js +74 -44
  566. package/lib/vtx-pump-modal/api.js.map +1 -1
  567. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +9 -9
  568. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  569. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +12 -12
  570. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  571. package/lib/vtx-pump-modal/components/AlarmRecord/index.css +10 -9
  572. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +13 -13
  573. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  574. package/lib/vtx-pump-modal/components/AlarmRecord/index.less +96 -91
  575. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +11 -10
  576. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  577. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +15 -14
  578. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  579. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +14 -13
  580. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  581. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +14 -13
  582. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  583. package/lib/vtx-pump-modal/components/Basic/index.css +1 -0
  584. package/lib/vtx-pump-modal/components/Basic/index.js +19 -17
  585. package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
  586. package/lib/vtx-pump-modal/components/Basic/index.less +69 -69
  587. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +9 -9
  588. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
  589. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +10 -10
  590. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  591. package/lib/vtx-pump-modal/components/Sbxl/index.css +10 -9
  592. package/lib/vtx-pump-modal/components/Sbxl/index.js +10 -10
  593. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  594. package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -91
  595. package/lib/vtx-pump-modal/components/Sjfx/index.js +19 -25
  596. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  597. package/lib/vtx-pump-modal/components/Sjfx/index.less +58 -58
  598. package/lib/vtx-pump-modal/components/Sxyx/index.js +15 -11
  599. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  600. package/lib/vtx-pump-modal/components/Sxyx/index.less +156 -156
  601. package/lib/vtx-pump-modal/components/index.js +1 -1
  602. package/lib/vtx-pump-modal/components/index.js.map +1 -1
  603. package/lib/vtx-pump-modal/config.js +6 -3
  604. package/lib/vtx-pump-modal/config.js.map +1 -1
  605. package/lib/vtx-pump-modal/index.js +32 -15
  606. package/lib/vtx-pump-modal/index.js.map +1 -1
  607. package/lib/vtx-pump-modal/style/css.js.map +1 -1
  608. package/lib/vtx-pump-modal/style/index.js.map +1 -1
  609. package/lib/vtx-pump-modal/style/index.less +1 -1
  610. package/lib/vtx-pump-modal/type.js.map +1 -1
  611. package/lib/vtx-restaurant-modal/api.js +7 -5
  612. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  613. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +6 -5
  614. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  615. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +6 -5
  616. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  617. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +6 -5
  618. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  619. package/lib/vtx-restaurant-modal/components/Alarm/index.js +11 -10
  620. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  621. package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -32
  622. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +6 -5
  623. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  624. package/lib/vtx-restaurant-modal/components/Basic/Info.js +9 -8
  625. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  626. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +5 -4
  627. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  628. package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
  629. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  630. package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
  631. package/lib/vtx-restaurant-modal/components/Collection/index.js +11 -10
  632. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  633. package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -23
  634. package/lib/vtx-restaurant-modal/components/index.js +1 -1
  635. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  636. package/lib/vtx-restaurant-modal/config.js +4 -2
  637. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  638. package/lib/vtx-restaurant-modal/index.js +11 -8
  639. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  640. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  641. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  642. package/lib/vtx-restaurant-modal/style/index.less +1 -1
  643. package/lib/vtx-restaurant-modal/type.js.map +1 -1
  644. package/lib/vtx-road-modal/api.js +89 -29
  645. package/lib/vtx-road-modal/api.js.map +1 -1
  646. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +5 -3
  647. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  648. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +7 -5
  649. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  650. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +18 -6
  651. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  652. package/lib/vtx-road-modal/components/BaseInfo/index.css +3 -6
  653. package/lib/vtx-road-modal/components/BaseInfo/index.js +40 -20
  654. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  655. package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -137
  656. package/lib/vtx-road-modal/components/Statistical/Zylc.js +8 -7
  657. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  658. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +8 -7
  659. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  660. package/lib/vtx-road-modal/components/Statistical/index.js +10 -9
  661. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  662. package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
  663. package/lib/vtx-road-modal/components/index.js +1 -1
  664. package/lib/vtx-road-modal/components/index.js.map +1 -1
  665. package/lib/vtx-road-modal/index.js +78 -23
  666. package/lib/vtx-road-modal/index.js.map +1 -1
  667. package/lib/vtx-road-modal/style/css.js.map +1 -1
  668. package/lib/vtx-road-modal/style/index.css +7 -1
  669. package/lib/vtx-road-modal/style/index.js.map +1 -1
  670. package/lib/vtx-road-modal/style/index.less +1 -1
  671. package/lib/vtx-staff-modal/api.js +67 -39
  672. package/lib/vtx-staff-modal/api.js.map +1 -1
  673. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +7 -6
  674. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  675. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +12 -11
  676. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  677. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +19 -18
  678. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  679. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
  680. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +3 -3
  681. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  682. package/lib/vtx-staff-modal/components/Attendance/Record.js +11 -13
  683. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  684. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
  685. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  686. package/lib/vtx-staff-modal/components/Attendance/index.js +3 -2
  687. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  688. package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
  689. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +9 -8
  690. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  691. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
  692. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  693. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +3 -3
  694. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  695. package/lib/vtx-staff-modal/components/BaseInfo/index.css +1 -1
  696. package/lib/vtx-staff-modal/components/BaseInfo/index.js +12 -11
  697. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  698. package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -144
  699. package/lib/vtx-staff-modal/components/Equipment/index.js +3 -2
  700. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  701. package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
  702. package/lib/vtx-staff-modal/components/index.js +1 -1
  703. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  704. package/lib/vtx-staff-modal/index.js +39 -27
  705. package/lib/vtx-staff-modal/index.js.map +1 -1
  706. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  707. package/lib/vtx-staff-modal/style/index.css +7 -1
  708. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  709. package/lib/vtx-staff-modal/style/index.less +1 -1
  710. package/lib/vtx-theme-provider/index.js +5 -3
  711. package/lib/vtx-theme-provider/index.js.map +1 -1
  712. package/lib/vtx-throw-point-modal/api.js +22 -12
  713. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  714. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +15 -13
  715. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  716. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +15 -14
  717. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  718. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +18 -17
  719. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  720. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +3 -2
  721. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  722. package/lib/vtx-throw-point-modal/components/Alarm/index.js +17 -15
  723. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  724. package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
  725. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +13 -12
  726. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  727. package/lib/vtx-throw-point-modal/components/OverView/Left.js +6 -5
  728. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  729. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +13 -11
  730. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  731. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +13 -11
  732. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  733. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +3 -2
  734. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  735. package/lib/vtx-throw-point-modal/components/OverView/index.js +5 -4
  736. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  737. package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
  738. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +3 -2
  739. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  740. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +20 -18
  741. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  742. package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
  743. package/lib/vtx-throw-point-modal/components/TFRD/index.js +14 -13
  744. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  745. package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
  746. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +6 -5
  747. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  748. package/lib/vtx-throw-point-modal/components/WGGS/index.js +13 -12
  749. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  750. package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
  751. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +6 -5
  752. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  753. package/lib/vtx-throw-point-modal/components/WGXW/index.js +16 -15
  754. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  755. package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -76
  756. package/lib/vtx-throw-point-modal/components/index.js +1 -1
  757. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  758. package/lib/vtx-throw-point-modal/config.js +11 -8
  759. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  760. package/lib/vtx-throw-point-modal/index.js +20 -16
  761. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  762. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  763. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  764. package/lib/vtx-throw-point-modal/style/index.less +1 -1
  765. package/lib/vtx-throw-point-modal/types.js.map +1 -1
  766. package/lib/vtx-wr-modal/api.js +91 -54
  767. package/lib/vtx-wr-modal/api.js.map +1 -1
  768. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -11
  769. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  770. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +6 -5
  771. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  772. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +19 -18
  773. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  774. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +3 -2
  775. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  776. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
  777. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +3 -2
  778. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  779. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +10 -6
  780. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  781. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +3 -2
  782. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  783. package/lib/vtx-wr-modal/components/BaseInfo/index.css +4 -0
  784. package/lib/vtx-wr-modal/components/BaseInfo/index.js +14 -13
  785. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  786. package/lib/vtx-wr-modal/components/BaseInfo/index.less +137 -132
  787. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +16 -19
  788. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  789. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +56 -25
  790. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  791. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +11 -10
  792. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
  793. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +3 -2
  794. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
  795. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +3 -2
  796. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
  797. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +3 -2
  798. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
  799. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +15 -14
  800. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  801. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +39 -22
  802. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  803. package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
  804. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +120 -0
  805. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -0
  806. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +283 -0
  807. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -0
  808. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +55 -0
  809. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -0
  810. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +365 -0
  811. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -0
  812. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +160 -0
  813. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -0
  814. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +221 -0
  815. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -0
  816. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.css +315 -0
  817. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +110 -0
  818. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -0
  819. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +318 -0
  820. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -8
  821. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  822. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
  823. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  824. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -11
  825. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  826. package/lib/vtx-wr-modal/components/Evaluate/index.js +10 -9
  827. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  828. package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
  829. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +13 -12
  830. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  831. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +7 -6
  832. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  833. package/lib/vtx-wr-modal/components/Monitor/index.js +3 -2
  834. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  835. package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
  836. package/lib/vtx-wr-modal/components/Score/index.js +12 -10
  837. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  838. package/lib/vtx-wr-modal/components/Score/index.less +117 -117
  839. package/lib/vtx-wr-modal/components/Ztt/index.js +27 -0
  840. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -0
  841. package/lib/vtx-wr-modal/components/index.js +15 -1
  842. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  843. package/lib/vtx-wr-modal/imgs/2/aq.png +0 -0
  844. package/lib/vtx-wr-modal/imgs/2/cqz.png +0 -0
  845. package/lib/vtx-wr-modal/imgs/2/dswsj.png +0 -0
  846. package/lib/vtx-wr-modal/imgs/2/dswsjC.png +0 -0
  847. package/lib/vtx-wr-modal/imgs/2/dws.png +0 -0
  848. package/lib/vtx-wr-modal/imgs/2/female.png +0 -0
  849. package/lib/vtx-wr-modal/imgs/2/lhq.png +0 -0
  850. package/lib/vtx-wr-modal/imgs/2/male.png +0 -0
  851. package/lib/vtx-wr-modal/imgs/2/mys.png +0 -0
  852. package/lib/vtx-wr-modal/imgs/2/rll.png +0 -0
  853. package/lib/vtx-wr-modal/imgs/2/sd.png +0 -0
  854. package/lib/vtx-wr-modal/imgs/2/ty.png +0 -0
  855. package/lib/vtx-wr-modal/imgs/2/tywsj.png +0 -0
  856. package/lib/vtx-wr-modal/imgs/2/wd.png +0 -0
  857. package/lib/vtx-wr-modal/imgs/2/xbd.png +0 -0
  858. package/lib/vtx-wr-modal/imgs/2/ydl.png +0 -0
  859. package/lib/vtx-wr-modal/imgs/2/ydlBg.png +0 -0
  860. package/lib/vtx-wr-modal/imgs/2/ysl.png +0 -0
  861. package/lib/vtx-wr-modal/imgs/2/yslBg.png +0 -0
  862. package/lib/vtx-wr-modal/imgs/2/zsp.png +0 -0
  863. package/lib/vtx-wr-modal/imgs/2/zws.png +0 -0
  864. package/lib/vtx-wr-modal/imgs/daMen.png +0 -0
  865. package/lib/vtx-wr-modal/imgs/yingYe.png +0 -0
  866. package/lib/vtx-wr-modal/index.js +131 -46
  867. package/lib/vtx-wr-modal/index.js.map +1 -1
  868. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  869. package/lib/vtx-wr-modal/style/index.css +7 -1
  870. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  871. package/lib/vtx-wr-modal/style/index.less +1 -1
  872. package/lib/vtx-zg-modal/api.js +2 -1
  873. package/lib/vtx-zg-modal/api.js.map +1 -1
  874. package/lib/vtx-zg-modal/components/BaseInfo/index.js +20 -17
  875. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  876. package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
  877. package/lib/vtx-zg-modal/components/index.js +1 -1
  878. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  879. package/lib/vtx-zg-modal/index.js +15 -12
  880. package/lib/vtx-zg-modal/index.js.map +1 -1
  881. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  882. package/lib/vtx-zg-modal/style/index.css +7 -1
  883. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  884. package/lib/vtx-zg-modal/style/index.less +1 -1
  885. package/package.json +1 -1
  886. package/lib/vtx-car-modal/components/CanData/index.css +0 -41
  887. package/lib/vtx-car-modal/components/CanData/index.js +0 -189
  888. package/lib/vtx-car-modal/components/CanData/index.js.map +0 -1
  889. package/lib/vtx-car-modal/components/CanData/index.less +0 -36
  890. package/lib/vtx-car-modal/components/PowerConsumption/index.css +0 -29
  891. package/lib/vtx-car-modal/components/PowerConsumption/index.js +0 -132
  892. package/lib/vtx-car-modal/components/PowerConsumption/index.js.map +0 -1
  893. package/lib/vtx-car-modal/components/PowerConsumption/index.less +0 -22
  894. package/lib/vtx-car-modal/imgs/gx.png +0 -0
  895. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js +0 -180
  896. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js.map +0 -1
  897. package/lib/vtx-cp-modal/imgs/cylj.png +0 -0
  898. package/lib/vtx-cp-modal/imgs/qtlj.png +0 -0
  899. package/lib/vtx-cp-modal/imgs/shlj.png +0 -0
  900. package/lib/vtx-cp-modal/imgs/yhlj.png +0 -0
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
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); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
+ var _antd = require("antd");
10
11
  var _vtxThemeProvider = _interopRequireDefault(require("../vtx-theme-provider"));
11
12
  var _vmIframeModal = _interopRequireDefault(require("../vm-iframe-modal"));
12
13
  var _utils = require("@vtx/utils");
@@ -19,27 +20,27 @@ var _collect_light = _interopRequireDefault(require("./imgs/collect_light.png"))
19
20
  var _track = _interopRequireDefault(require("./imgs/track.png"));
20
21
  var _track_light = _interopRequireDefault(require("./imgs/track_light.png"));
21
22
  var _ahooks = require("ahooks");
22
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
23
- 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); }
24
- 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; }
25
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
26
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
27
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
28
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
23
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
24
+ 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); }
25
+ 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; }
26
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
27
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
28
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
29
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
29
30
  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."); }
30
- 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; } }
31
- 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; }
32
- 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; } }
33
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
31
+ 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); }
32
+ 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; }
33
+ 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; } }
34
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
34
35
  var getDetail = function getDetail(params) {
35
36
  return _utils.request.get('/cloud/zhgc-reborn/api/gis/pop/getById', {
36
37
  data: params
37
38
  });
38
39
  };
39
40
  // 弹框内容最大高度:document高度--弹框头高度
40
- var MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 70;
41
+ var MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 10;
41
42
  var VtxBaseModal = function VtxBaseModal(props) {
42
- var _a;
43
+ var _a, _b;
43
44
  var contentRef = (0, _react.useRef)(null);
44
45
  var _useState = (0, _react.useState)({}),
45
46
  _useState2 = _slicedToArray(_useState, 2),
@@ -73,9 +74,11 @@ var VtxBaseModal = function VtxBaseModal(props) {
73
74
  endDate = props.endDate,
74
75
  date = props.date,
75
76
  wrType = props.wrType,
77
+ wrVer = props.wrVer,
76
78
  _props$defaultTabInde = props.defaultTabIndex,
77
- defaultTabIndex = _props$defaultTabInde === void 0 ? 0 : _props$defaultTabInde;
78
- var _useState5 = (0, _react.useState)(tabs[defaultTabIndex].key),
79
+ defaultTabIndex = _props$defaultTabInde === void 0 ? 0 : _props$defaultTabInde,
80
+ tabChose = props.tabChose;
81
+ var _useState5 = (0, _react.useState)((_a = tabs === null || tabs === void 0 ? void 0 : tabs[defaultTabIndex]) === null || _a === void 0 ? void 0 : _a.key),
79
82
  _useState6 = _slicedToArray(_useState5, 2),
80
83
  tabKey = _useState6[0],
81
84
  setTabKey = _useState6[1];
@@ -96,8 +99,14 @@ var VtxBaseModal = function VtxBaseModal(props) {
96
99
  iframeModalInfo = _useSetState2[0],
97
100
  setIframeModalInfo = _useSetState2[1];
98
101
  (0, _react.useEffect)(function () {
99
- if (!visible) setTabKey(tabs[0].key);
100
- }, [visible]);
102
+ var _a;
103
+ if (!visible) if (tabChose) {
104
+ setTabKey(tabChose);
105
+ } else {
106
+ setTabKey((_a = tabs === null || tabs === void 0 ? void 0 : tabs[0]) === null || _a === void 0 ? void 0 : _a.key);
107
+ }
108
+ }, [visible, tabChose]);
109
+ console.log(tabs);
101
110
  (0, _react.useEffect)(function () {
102
111
  (0, _api.getTenantById)((0, _utils.getVtxToken)('tenantId')).then(function (res) {
103
112
  var _a;
@@ -183,10 +192,10 @@ var VtxBaseModal = function VtxBaseModal(props) {
183
192
  src = "".concat(location.protocol, "//").concat(location.host, "/carHistory/#/").concat(path, "?carId=").concat(id, "&theme=").concat(theme);
184
193
  }
185
194
  if (type === 'staff') {
186
- src = "".concat(location.protocol, "//").concat(location.host, "/carHistory/#/staffIndex?staffId=").concat(id, "&theme=").concat(source === 'business' ? 'light' : 'dark', "\n");
195
+ src = "".concat(location.protocol, "//").concat(location.host, "/carHistory/#/staffIndex?staffId=").concat(id, "&theme=").concat(source === 'business' ? 'light' : 'dark');
187
196
  }
188
197
  setIframeModalInfo({
189
- title: '车辆轨迹',
198
+ title: type === 'staff' ? '人员轨迹' : '车辆轨迹',
190
199
  visible: true,
191
200
  src: src
192
201
  });
@@ -197,7 +206,11 @@ var VtxBaseModal = function VtxBaseModal(props) {
197
206
  var modalTop = top;
198
207
  var clientWidth = document.body.clientWidth;
199
208
  if (wrType === 'new') {
200
- contentWidth = 1352;
209
+ if (wrVer) {
210
+ contentWidth = 1500;
211
+ } else {
212
+ contentWidth = 1352;
213
+ }
201
214
  } else if (clientWidth > 1440) {
202
215
  contentWidth = width;
203
216
  } else if (clientWidth > 1366) {
@@ -207,7 +220,7 @@ var VtxBaseModal = function VtxBaseModal(props) {
207
220
  modalTop = 0;
208
221
  contentWidth = '100%';
209
222
  }
210
- return !visible ? null : ( /*#__PURE__*/_react["default"].createElement(_vtxThemeProvider["default"], {
223
+ return !visible ? null : /*#__PURE__*/_react["default"].createElement(_vtxThemeProvider["default"], {
211
224
  value: {
212
225
  theme: theme,
213
226
  chartFontColor: chartFontColor,
@@ -226,7 +239,7 @@ var VtxBaseModal = function VtxBaseModal(props) {
226
239
  style: {
227
240
  width: contentWidth,
228
241
  top: modalTop,
229
- marginLeft: (_a = -contentWidth / 2) !== null && _a !== void 0 ? _a : '-50%',
242
+ marginLeft: contentWidth === '100%' ? '-50%' : (_b = -contentWidth / 2) !== null && _b !== void 0 ? _b : '-50%',
230
243
  left: left
231
244
  }
232
245
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -235,7 +248,7 @@ var VtxBaseModal = function VtxBaseModal(props) {
235
248
  className: "vtx-business-modal--head-title ".concat(theme)
236
249
  }, /*#__PURE__*/_react["default"].createElement("div", {
237
250
  className: "vtx-business-modal--head-title-bg ".concat(theme)
238
- }), title, subTitle, newDetail.panoramaLinkAddress && ( /*#__PURE__*/_react["default"].createElement("img", {
251
+ }), title, subTitle, newDetail.panoramaLinkAddress && /*#__PURE__*/_react["default"].createElement("img", {
239
252
  style: {
240
253
  width: '28px',
241
254
  height: '28px',
@@ -243,27 +256,40 @@ var VtxBaseModal = function VtxBaseModal(props) {
243
256
  },
244
257
  src: require('./imgs/panoramaLink.png'),
245
258
  alt: "panoramaLink"
246
- })), newDetail.facilityGradeName && ( /*#__PURE__*/_react["default"].createElement("span", {
259
+ }), newDetail.facilityGradeName && /*#__PURE__*/_react["default"].createElement("span", {
247
260
  className: "gradeTip"
248
- }, newDetail.facilityGradeName)), newDetail.facilityClassName && ( /*#__PURE__*/_react["default"].createElement("span", {
261
+ }, newDetail.facilityGradeName), newDetail.facilityClassName && /*#__PURE__*/_react["default"].createElement("span", {
249
262
  className: "classTip"
250
- }, newDetail.facilityClassName))), /*#__PURE__*/_react["default"].createElement("div", {
263
+ }, newDetail.facilityClassName), wrVer && newDetail.id && /*#__PURE__*/_react["default"].createElement("span", {
264
+ style: {
265
+ color: '#faad14'
266
+ }
267
+ }, "\u2003", /*#__PURE__*/_react["default"].createElement(_antd.Rate, {
268
+ disabled: true,
269
+ allowHalf: true,
270
+ value: newDetail.score || 0,
271
+ style: {
272
+ color: '#faad14 '
273
+ }
274
+ }), /*#__PURE__*/_react["default"].createElement("span", {
275
+ className: "ant-rate-text"
276
+ }, newDetail.score || 0))), /*#__PURE__*/_react["default"].createElement("div", {
251
277
  className: "vtx-business-modal--head-btns"
252
- }, source !== 'business' && type && wrType !== 'new' && ( /*#__PURE__*/_react["default"].createElement("div", {
278
+ }, source !== 'business' && type && wrType !== 'new' && /*#__PURE__*/_react["default"].createElement("div", {
253
279
  className: "vtx-business-modal--head-btn",
254
280
  onClick: function onClick() {
255
281
  toggleCollect();
256
282
  }
257
283
  }, /*#__PURE__*/_react["default"].createElement("img", {
258
284
  src: theme === 'dark' ? _collect["default"] : _collect_light["default"]
259
- }), hasCollect ? '已收藏' : '收藏')), (type === 'car' || type === 'staff') && ( /*#__PURE__*/_react["default"].createElement("div", {
285
+ }), hasCollect ? '已收藏' : '收藏'), (type === 'car' || type === 'staff') && /*#__PURE__*/_react["default"].createElement("div", {
260
286
  className: "vtx-business-modal--head-btn",
261
287
  onClick: function onClick() {
262
288
  clickTract();
263
289
  }
264
290
  }, /*#__PURE__*/_react["default"].createElement("img", {
265
291
  src: theme === 'dark' ? _track["default"] : _track_light["default"]
266
- }), "\u5386\u53F2\u8F68\u8FF9")), /*#__PURE__*/_react["default"].createElement("img", {
292
+ }), "\u5386\u53F2\u8F68\u8FF9"), /*#__PURE__*/_react["default"].createElement("img", {
267
293
  className: "close-btn",
268
294
  src: theme === 'light' ? _close["default"] : _closeDark["default"],
269
295
  alt: "",
@@ -276,7 +302,7 @@ var VtxBaseModal = function VtxBaseModal(props) {
276
302
  className: (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1 ? 'vtx-business-modal--main' : 'vtx-business-modal--main-notab',
277
303
  ref: contentRef,
278
304
  style: contentStyle
279
- }, contents[tabKey]), (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1 && ( /*#__PURE__*/_react["default"].createElement("div", {
305
+ }, contents[tabKey]), (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1 && /*#__PURE__*/_react["default"].createElement("div", {
280
306
  className: "vtx-modal-tabs ".concat(theme)
281
307
  }, tabs.map(function (ele, index) {
282
308
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -287,14 +313,15 @@ var VtxBaseModal = function VtxBaseModal(props) {
287
313
  onTabsChange === null || onTabsChange === void 0 ? void 0 : onTabsChange(ele.key);
288
314
  }
289
315
  }, ele.title);
290
- })))))), /*#__PURE__*/_react["default"].createElement(_vmIframeModal["default"], Object.assign({}, iframeModalInfo, {
316
+ }))))), /*#__PURE__*/_react["default"].createElement(_vmIframeModal["default"], Object.assign({}, iframeModalInfo, {
291
317
  theme: theme,
292
318
  onCancel: function onCancel() {
293
319
  return setIframeModalInfo({
294
320
  visible: false
295
321
  });
296
322
  }
297
- }))));
323
+ })));
298
324
  };
299
- var _default = exports["default"] = VtxBaseModal;
325
+ var _default = VtxBaseModal;
326
+ exports["default"] = _default;
300
327
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_vtxThemeProvider","_vmIframeModal","_utils","_api","_closeDark","_close","_collect","_collect_light","_track","_track_light","_ahooks","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_defineProperty","_toPropertyKey","value","enumerable","configurable","writable","_toPrimitive","Symbol","toPrimitive","TypeError","String","Number","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","iterator","f","o","next","done","push","isArray","getDetail","params","request","data","MAX_CONTENT_HEIGHT","document","body","clientHeight","VtxBaseModal","props","_a","contentRef","useRef","_useState","useState","_useState2","contentStyle","setContentStyle","_useState3","_useState4","hasCollect","setHasCollect","_props$id","id","_props$type","type","title","visible","_props$width","width","_props$top","top","_props$left","left","onCancel","subTitle","contents","tabs","onTabsChange","_props$theme","theme","source","startDate","endDate","date","wrType","_props$defaultTabInde","defaultTabIndex","_useState5","key","_useState6","tabKey","setTabKey","_useState7","_useState8","newDetail","setNewDetail","_useState9","_useState10","mapInfo","setMapInfo","_useSetState","useSetState","src","_useSetState2","iframeModalInfo","setIframeModalInfo","useEffect","getTenantById","getVtxToken","then","res","JSON","parse","mapDefJson","classList","add","remove","contentHeight","current","maxHeight","overflowY","fetchFavoriter","includes","result","toggleCollect","delFavoriter","saveFavoriter","clickTract","path","concat","location","protocol","host","chartFontColor","chartColor","contentWidth","modalTop","clientWidth","React","createElement","VtxThemeProvider","className","style","marginLeft","panoramaLinkAddress","height","alt","facilityGradeName","facilityClassName","onClick","collect","collectLight","track","trackLight","closeImg","closeImgDark","ref","map","ele","index","classNames","VmIframeModal","assign","_default","exports"],"sources":["vtx-base-modal/index.js"],"sourcesContent":["import React, { useEffect, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport VtxThemeProvider from '../vtx-theme-provider';\nimport VmIframeModal from '../vm-iframe-modal';\nimport { getVtxToken } from '@vtx/utils';\nimport { delFavoriter, fetchFavoriter, saveFavoriter, getTenantById } from './api';\nimport './style';\nconst getDetail = (params) => {\n return request.get('/cloud/zhgc-reborn/api/gis/pop/getById', {\n data: params,\n });\n};\nimport closeImgDark from './imgs/close-dark.png';\nimport closeImg from './imgs/close.png';\nimport collect from './imgs/collect.png';\nimport collectLight from './imgs/collect_light.png';\nimport track from './imgs/track.png';\nimport trackLight from './imgs/track_light.png';\nimport { request } from '@vtx/utils';\nimport { useSetState } from 'ahooks';\n// 弹框内容最大高度:document高度--弹框头高度\nconst MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 70;\nconst VtxBaseModal = props => {\n var _a;\n const contentRef = useRef(null);\n const [contentStyle, setContentStyle] = useState({});\n const [hasCollect, setHasCollect] = useState(false);\n const { id = '', type = '', title, visible, width = 1437, top = 50, left = '50%', onCancel, subTitle, contents, tabs, onTabsChange, theme = 'dark', source, startDate, endDate, date, wrType, defaultTabIndex = 0, } = props;\n const [tabKey, setTabKey] = useState(tabs[defaultTabIndex].key);\n const [newDetail, setNewDetail] = useState({});\n const [mapInfo, setMapInfo] = useState({});\n const [iframeModalInfo, setIframeModalInfo] = useSetState({\n src: '',\n visible: false,\n title: '',\n });\n useEffect(() => {\n if (!visible)\n setTabKey(tabs[0].key);\n }, [visible]);\n useEffect(() => {\n getTenantById(getVtxToken('tenantId')).then((res) => {\n var _a;\n if (res === null || res === void 0 ? void 0 : res.data) {\n setMapInfo((_a = JSON.parse(res.data.mapDefJson)) === null || _a === void 0 ? void 0 : _a[0]);\n }\n else {\n setMapInfo({});\n }\n });\n }, []);\n useEffect(() => {\n document.body.classList.add(theme);\n document.body.classList.add('overHiddenScroll');\n return () => {\n document.body.classList.remove(theme);\n document.body.classList.remove('overHiddenScroll');\n };\n }, []);\n useEffect(() => {\n var _a;\n const contentHeight = ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;\n if (contentHeight >= MAX_CONTENT_HEIGHT) {\n setContentStyle({\n maxHeight: MAX_CONTENT_HEIGHT,\n overflowY: 'auto',\n });\n }\n else {\n setContentStyle({});\n }\n }, [contents[tabKey], contentRef === null || contentRef === void 0 ? void 0 : contentRef.current, id]);\n useEffect(() => {\n if (id && type && (!wrType || wrType !== 'new')) {\n fetchFavoriter(id, type).then((res) => {\n var _a;\n if (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.length) > 0) {\n setHasCollect(res.data.includes(id));\n }\n });\n }\n if (wrType && wrType === 'new') {\n getDetail({ id }).then((res) => {\n if ((res === null || res === void 0 ? void 0 : res.result) === 0) {\n setNewDetail(res.data);\n }\n });\n }\n }, [id, type]);\n // 收藏-取消收藏\n const toggleCollect = () => {\n if (hasCollect) {\n delFavoriter(id, type).then((res) => {\n if (res.result === 0) {\n setHasCollect(false);\n }\n });\n }\n else {\n saveFavoriter(id, type).then((res) => {\n if (res.result === 0) {\n setHasCollect(true);\n }\n });\n }\n };\n // 历史轨迹\n const clickTract = () => {\n let src = '';\n if (type === 'car') {\n let path = 'index';\n switch (source) {\n case 'JXH':\n path = 'zyqsHistory';\n break;\n // 业务系统\n case 'business':\n path = 'indexLight';\n break;\n case 'CC':\n path = 'ccCarHistory';\n break;\n }\n src = `${location.protocol}//${location.host}/carHistory/#/${path}?carId=${id}&theme=${theme}`;\n }\n if (type === 'staff') {\n src = `${location.protocol}//${location.host}/carHistory/#/staffIndex?staffId=${id}&theme=${source === 'business' ? 'light' : 'dark'}\n`;\n }\n setIframeModalInfo({\n title: '车辆轨迹',\n visible: true,\n src,\n });\n };\n const chartFontColor = theme === 'dark' ? '#fff' : '#000';\n const chartColor = [\n '#73A0FA',\n '#73DEB3',\n '#29A634',\n '#9CBF30',\n '#F3B825',\n '#EB532E',\n '#DB2C6F',\n '#9179F2',\n ];\n let contentWidth;\n let modalTop = top;\n const clientWidth = document.body.clientWidth;\n if (wrType === 'new') {\n contentWidth = 1352;\n }\n else if (clientWidth > 1440) {\n contentWidth = width;\n }\n else if (clientWidth > 1366) {\n modalTop = 0;\n contentWidth = 1352;\n }\n else {\n modalTop = 0;\n contentWidth = '100%';\n }\n return !visible ? null : (React.createElement(VtxThemeProvider, { value: { theme, chartFontColor, chartColor, startDate, endDate, date, mapInfo } },\n React.createElement(\"div\", { className: `vtx-business-modal-wrap ${theme}` },\n React.createElement(\"div\", { className: \"mask\" }),\n React.createElement(\"div\", { className: `vtx-business-modal ${theme}`, style: {\n width: contentWidth,\n top: modalTop,\n marginLeft: (_a = -contentWidth / 2) !== null && _a !== void 0 ? _a : '-50%',\n left,\n } },\n React.createElement(\"div\", { className: \"vtx-business-modal--head\" },\n React.createElement(\"div\", { className: `vtx-business-modal--head-title ${theme}` },\n React.createElement(\"div\", { className: `vtx-business-modal--head-title-bg ${theme}` }),\n title,\n subTitle,\n newDetail.panoramaLinkAddress && (React.createElement(\"img\", { style: { width: '28px', height: '28px', marginLeft: '20px' }, src: require('./imgs/panoramaLink.png'), alt: \"panoramaLink\" })),\n newDetail.facilityGradeName && (React.createElement(\"span\", { className: \"gradeTip\" }, newDetail.facilityGradeName)),\n newDetail.facilityClassName && (React.createElement(\"span\", { className: \"classTip\" }, newDetail.facilityClassName))),\n React.createElement(\"div\", { className: \"vtx-business-modal--head-btns\" },\n source !== 'business' && type && wrType !== 'new' && (React.createElement(\"div\", { className: \"vtx-business-modal--head-btn\", onClick: () => {\n toggleCollect();\n } },\n React.createElement(\"img\", { src: theme === 'dark' ? collect : collectLight }),\n hasCollect ? '已收藏' : '收藏')),\n (type === 'car' || type === 'staff') && (React.createElement(\"div\", { className: \"vtx-business-modal--head-btn\", onClick: () => {\n clickTract();\n } },\n React.createElement(\"img\", { src: theme === 'dark' ? track : trackLight }),\n \"\\u5386\\u53F2\\u8F68\\u8FF9\")),\n React.createElement(\"img\", { className: \"close-btn\", src: theme === 'light' ? closeImg : closeImgDark, alt: \"\", onClick: () => onCancel && onCancel() }))),\n React.createElement(\"div\", { className: 'vtx-business-modal--content' },\n React.createElement(\"div\", { className: (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1\n ? 'vtx-business-modal--main'\n : 'vtx-business-modal--main-notab', ref: contentRef, style: contentStyle }, contents[tabKey]),\n (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1 && (React.createElement(\"div\", { className: `vtx-modal-tabs ${theme}` }, tabs.map((ele, index) => (React.createElement(\"div\", { key: index, className: classNames(`vtx-modal-tabs--tab`, {\n [`vtx-modal-tabs--tab_active ${theme}`]: tabKey === ele.key,\n }), onClick: () => {\n setTabKey(ele.key);\n onTabsChange === null || onTabsChange === void 0 ? void 0 : onTabsChange(ele.key);\n } }, ele.title)))))))),\n React.createElement(VmIframeModal, Object.assign({}, iframeModalInfo, { theme: theme, onCancel: () => setIframeModalInfo({ visible: false }) }))));\n};\nexport default VtxBaseModal;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,cAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AACAA,OAAA;AAMA,IAAAO,UAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,MAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,QAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,cAAA,GAAAR,sBAAA,CAAAF,OAAA;AACA,IAAAW,MAAA,GAAAT,sBAAA,CAAAF,OAAA;AACA,IAAAY,YAAA,GAAAV,sBAAA,CAAAF,OAAA;AAEA,IAAAa,OAAA,GAAAb,OAAA;AAAqC,SAAAE,uBAAAY,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA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,CACxLlD,KAAK,GAAKW,MAAM,KAAKoE,GAAG,CAACtE,GAAG,CAC9D,CAAC;MAAE6D,OAAO,EAAE,SAATA,OAAOA,CAAA,EAAQ;QACf1D,SAAS,CAACmE,GAAG,CAACtE,GAAG,CAAC;QAClBX,YAAY,KAAK,IAAI,IAAIA,YAAY,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,YAAY,CAACiF,GAAG,CAACtE,GAAG,CAAC;MACrF;IAAE,CAAC,EAAEsE,GAAG,CAAC7F,KAAK,CAAC;EAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,eACtCyE,iBAAK,CAACC,aAAa,CAACsB,yBAAa,EAAEpK,MAAM,CAACqK,MAAM,CAAC,CAAC,CAAC,EAAE1D,eAAe,EAAE;IAAEzB,KAAK,EAAEA,KAAK;IAAEN,QAAQ,EAAE,SAAVA,QAAQA,CAAA;MAAA,OAAQgC,kBAAkB,CAAC;QAAEvC,OAAO,EAAE;MAAM,CAAC,CAAC;IAAA;EAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1J,CAAC;AAAC,IAAAiG,QAAA,GAAAC,OAAA,cACarH,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_antd","_vtxThemeProvider","_vmIframeModal","_utils","_api","_closeDark","_close","_collect","_collect_light","_track","_track_light","_ahooks","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_defineProperty","value","_toPropertyKey","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","TypeError","Number","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","_i","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","err","isArray","getDetail","params","request","data","MAX_CONTENT_HEIGHT","document","body","clientHeight","VtxBaseModal","props","_a","_b","contentRef","useRef","_useState","useState","_useState2","contentStyle","setContentStyle","_useState3","_useState4","hasCollect","setHasCollect","_props$id","id","_props$type","type","title","visible","_props$width","width","_props$top","top","_props$left","left","onCancel","subTitle","contents","tabs","onTabsChange","_props$theme","theme","source","startDate","endDate","date","wrType","wrVer","_props$defaultTabInde","defaultTabIndex","tabChose","_useState5","_useState6","tabKey","setTabKey","_useState7","_useState8","newDetail","setNewDetail","_useState9","_useState10","mapInfo","setMapInfo","_useSetState","useSetState","src","_useSetState2","iframeModalInfo","setIframeModalInfo","useEffect","console","log","getTenantById","getVtxToken","then","JSON","parse","mapDefJson","classList","add","remove","contentHeight","current","maxHeight","overflowY","fetchFavoriter","includes","result","toggleCollect","delFavoriter","saveFavoriter","clickTract","path","concat","location","protocol","host","chartFontColor","chartColor","contentWidth","modalTop","clientWidth","React","createElement","VtxThemeProvider","className","style","marginLeft","panoramaLinkAddress","height","alt","facilityGradeName","facilityClassName","color","Rate","disabled","allowHalf","score","onClick","collect","collectLight","track","trackLight","closeImg","closeImgDark","ref","map","ele","index","classNames","VmIframeModal","assign","_default","exports"],"sources":["vtx-base-modal/index.js"],"sourcesContent":["import React, { useEffect, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport { Rate } from 'antd';\nimport VtxThemeProvider from '../vtx-theme-provider';\nimport VmIframeModal from '../vm-iframe-modal';\nimport { getVtxToken } from '@vtx/utils';\nimport { delFavoriter, fetchFavoriter, saveFavoriter, getTenantById } from './api';\nimport './style';\nconst getDetail = (params) => {\n return request.get('/cloud/zhgc-reborn/api/gis/pop/getById', {\n data: params,\n });\n};\nimport closeImgDark from './imgs/close-dark.png';\nimport closeImg from './imgs/close.png';\nimport collect from './imgs/collect.png';\nimport collectLight from './imgs/collect_light.png';\nimport track from './imgs/track.png';\nimport trackLight from './imgs/track_light.png';\nimport { request } from '@vtx/utils';\nimport { useSetState } from 'ahooks';\n// 弹框内容最大高度:document高度--弹框头高度\nconst MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 10;\nconst VtxBaseModal = props => {\n var _a, _b;\n const contentRef = useRef(null);\n const [contentStyle, setContentStyle] = useState({});\n const [hasCollect, setHasCollect] = useState(false);\n const { id = '', type = '', title, visible, width = 1437, top = 50, left = '50%', onCancel, subTitle, contents, tabs, onTabsChange, theme = 'dark', source, startDate, endDate, date, wrType, wrVer, defaultTabIndex = 0, tabChose, } = props;\n const [tabKey, setTabKey] = useState((_a = tabs === null || tabs === void 0 ? void 0 : tabs[defaultTabIndex]) === null || _a === void 0 ? void 0 : _a.key);\n const [newDetail, setNewDetail] = useState({});\n const [mapInfo, setMapInfo] = useState({});\n const [iframeModalInfo, setIframeModalInfo] = useSetState({\n src: '',\n visible: false,\n title: '',\n });\n useEffect(() => {\n var _a;\n if (!visible)\n if (tabChose) {\n setTabKey(tabChose);\n }\n else {\n setTabKey((_a = tabs === null || tabs === void 0 ? void 0 : tabs[0]) === null || _a === void 0 ? void 0 : _a.key);\n }\n }, [visible, tabChose]);\n console.log(tabs);\n useEffect(() => {\n getTenantById(getVtxToken('tenantId')).then((res) => {\n var _a;\n if (res === null || res === void 0 ? void 0 : res.data) {\n setMapInfo((_a = JSON.parse(res.data.mapDefJson)) === null || _a === void 0 ? void 0 : _a[0]);\n }\n else {\n setMapInfo({});\n }\n });\n }, []);\n useEffect(() => {\n document.body.classList.add(theme);\n document.body.classList.add('overHiddenScroll');\n return () => {\n document.body.classList.remove(theme);\n document.body.classList.remove('overHiddenScroll');\n };\n }, []);\n useEffect(() => {\n var _a;\n const contentHeight = ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;\n if (contentHeight >= MAX_CONTENT_HEIGHT) {\n setContentStyle({\n maxHeight: MAX_CONTENT_HEIGHT,\n overflowY: 'auto',\n });\n }\n else {\n setContentStyle({});\n }\n }, [contents[tabKey], contentRef === null || contentRef === void 0 ? void 0 : contentRef.current, id]);\n useEffect(() => {\n if (id && type && (!wrType || wrType !== 'new')) {\n fetchFavoriter(id, type).then((res) => {\n var _a;\n if (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.length) > 0) {\n setHasCollect(res.data.includes(id));\n }\n });\n }\n if (wrType && wrType === 'new') {\n getDetail({ id }).then((res) => {\n if ((res === null || res === void 0 ? void 0 : res.result) === 0) {\n setNewDetail(res.data);\n }\n });\n }\n }, [id, type]);\n // 收藏-取消收藏\n const toggleCollect = () => {\n if (hasCollect) {\n delFavoriter(id, type).then((res) => {\n if (res.result === 0) {\n setHasCollect(false);\n }\n });\n }\n else {\n saveFavoriter(id, type).then((res) => {\n if (res.result === 0) {\n setHasCollect(true);\n }\n });\n }\n };\n // 历史轨迹\n const clickTract = () => {\n let src = '';\n if (type === 'car') {\n let path = 'index';\n switch (source) {\n case 'JXH':\n path = 'zyqsHistory';\n break;\n // 业务系统\n case 'business':\n path = 'indexLight';\n break;\n case 'CC':\n path = 'ccCarHistory';\n break;\n }\n src = `${location.protocol}//${location.host}/carHistory/#/${path}?carId=${id}&theme=${theme}`;\n }\n if (type === 'staff') {\n src = `${location.protocol}//${location.host}/carHistory/#/staffIndex?staffId=${id}&theme=${source === 'business' ? 'light' : 'dark'}`;\n }\n setIframeModalInfo({\n title: type === 'staff' ? '人员轨迹' : '车辆轨迹',\n visible: true,\n src,\n });\n };\n const chartFontColor = theme === 'dark' ? '#fff' : '#000';\n const chartColor = [\n '#73A0FA',\n '#73DEB3',\n '#29A634',\n '#9CBF30',\n '#F3B825',\n '#EB532E',\n '#DB2C6F',\n '#9179F2',\n ];\n let contentWidth;\n let modalTop = top;\n const clientWidth = document.body.clientWidth;\n if (wrType === 'new') {\n if (wrVer) {\n contentWidth = 1500;\n }\n else {\n contentWidth = 1352;\n }\n }\n else if (clientWidth > 1440) {\n contentWidth = width;\n }\n else if (clientWidth > 1366) {\n modalTop = 0;\n contentWidth = 1352;\n }\n else {\n modalTop = 0;\n contentWidth = '100%';\n }\n return !visible ? null : (React.createElement(VtxThemeProvider, { value: { theme, chartFontColor, chartColor, startDate, endDate, date, mapInfo } },\n React.createElement(\"div\", { className: `vtx-business-modal-wrap ${theme}` },\n React.createElement(\"div\", { className: \"mask\" }),\n React.createElement(\"div\", { className: `vtx-business-modal ${theme}`, style: {\n width: contentWidth,\n top: modalTop,\n marginLeft: contentWidth === '100%' ? '-50%' : (_b = -contentWidth / 2) !== null && _b !== void 0 ? _b : '-50%',\n left,\n } },\n React.createElement(\"div\", { className: \"vtx-business-modal--head\" },\n React.createElement(\"div\", { className: `vtx-business-modal--head-title ${theme}` },\n React.createElement(\"div\", { className: `vtx-business-modal--head-title-bg ${theme}` }),\n title,\n subTitle,\n newDetail.panoramaLinkAddress && (React.createElement(\"img\", { style: { width: '28px', height: '28px', marginLeft: '20px' }, src: require('./imgs/panoramaLink.png'), alt: \"panoramaLink\" })),\n newDetail.facilityGradeName && (React.createElement(\"span\", { className: \"gradeTip\" }, newDetail.facilityGradeName)),\n newDetail.facilityClassName && (React.createElement(\"span\", { className: \"classTip\" }, newDetail.facilityClassName)),\n wrVer && newDetail.id && (React.createElement(\"span\", { style: { color: '#faad14' } },\n \"\\u2003\",\n React.createElement(Rate, { disabled: true, allowHalf: true, value: newDetail.score || 0, style: { color: '#faad14 ' } }),\n React.createElement(\"span\", { className: \"ant-rate-text\" }, newDetail.score || 0)))),\n React.createElement(\"div\", { className: \"vtx-business-modal--head-btns\" },\n source !== 'business' && type && wrType !== 'new' && (React.createElement(\"div\", { className: \"vtx-business-modal--head-btn\", onClick: () => {\n toggleCollect();\n } },\n React.createElement(\"img\", { src: theme === 'dark' ? collect : collectLight }),\n hasCollect ? '已收藏' : '收藏')),\n (type === 'car' || type === 'staff') && (React.createElement(\"div\", { className: \"vtx-business-modal--head-btn\", onClick: () => {\n clickTract();\n } },\n React.createElement(\"img\", { src: theme === 'dark' ? track : trackLight }),\n \"\\u5386\\u53F2\\u8F68\\u8FF9\")),\n React.createElement(\"img\", { className: \"close-btn\", src: theme === 'light' ? closeImg : closeImgDark, alt: \"\", onClick: () => onCancel && onCancel() }))),\n React.createElement(\"div\", { className: 'vtx-business-modal--content' },\n React.createElement(\"div\", { className: (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1\n ? 'vtx-business-modal--main'\n : 'vtx-business-modal--main-notab', ref: contentRef, style: contentStyle }, contents[tabKey]),\n (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 1 && (React.createElement(\"div\", { className: `vtx-modal-tabs ${theme}` }, tabs.map((ele, index) => (React.createElement(\"div\", { key: index, className: classNames(`vtx-modal-tabs--tab`, {\n [`vtx-modal-tabs--tab_active ${theme}`]: tabKey === ele.key,\n }), onClick: () => {\n setTabKey(ele.key);\n onTabsChange === null || onTabsChange === void 0 ? void 0 : onTabsChange(ele.key);\n } }, ele.title)))))))),\n React.createElement(VmIframeModal, Object.assign({}, iframeModalInfo, { theme: theme, onCancel: () => setIframeModalInfo({ visible: false }) }))));\n};\nexport default VtxBaseModal;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,cAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACAA,OAAA;AAMA,IAAAQ,UAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,MAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,QAAA,GAAAR,sBAAA,CAAAF,OAAA;AACA,IAAAW,cAAA,GAAAT,sBAAA,CAAAF,OAAA;AACA,IAAAY,MAAA,GAAAV,sB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AAG,CAAC,EAAEH,IAAI,CAACwF,GAAG,CAAC,UAACC,GAAG,EAAEC,KAAK;IAAA,oBAAM1B,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAElK,GAAG,EAAE2L,KAAK;MAAEvB,SAAS,EAAE,IAAAwB,sBAAU,yBAAAtL,eAAA,mCAAAkJ,MAAA,CACxLpD,KAAK,GAAKY,MAAM,KAAK0E,GAAG,CAAC1L,GAAG,CAC9D,CAAC;MAAEiL,OAAO,EAAE,SAAAA,QAAA,EAAM;QACfhE,SAAS,CAACyE,GAAG,CAAC1L,GAAG,CAAC;QAClBkG,YAAY,KAAK,IAAI,IAAIA,YAAY,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,YAAY,CAACwF,GAAG,CAAC1L,GAAG,CAAC;MACrF;IAAE,CAAC,EAAE0L,GAAG,CAACpG,KAAK,CAAC;EAAA,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,eACtC2E,iBAAK,CAACC,aAAa,CAAC2B,yBAAa,EAAEhM,MAAM,CAACiM,MAAM,CAAC,CAAC,CAAC,EAAEhE,eAAe,EAAE;IAAE1B,KAAK,EAAEA,KAAK;IAAEN,QAAQ,EAAE,SAAAA,SAAA;MAAA,OAAMiC,kBAAkB,CAAC;QAAExC,OAAO,EAAE;MAAM,CAAC,CAAC;IAAA;EAAC,CAAC,CAAC,CAAC,CAAE;AAC1J,CAAC;AAAC,IAAAwG,QAAA,GACa5H,YAAY;AAAA6H,OAAA,cAAAD,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"css.js","names":["require"],"sources":["vtx-base-modal/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"css.js","names":["require"],"sources":["vtx-base-modal/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
@@ -14,7 +14,7 @@ p {
14
14
  position: fixed;
15
15
  left: 0;
16
16
  top: 0;
17
- z-index: 2000;
17
+ z-index: 1049;
18
18
  background: rgba(0, 0, 0, 0.45);
19
19
  }
20
20
  .vtx-business-modal-wrap.dark {
@@ -335,7 +335,7 @@ p {
335
335
  position: fixed;
336
336
  top: 50px;
337
337
  left: 50%;
338
- z-index: 2009;
338
+ z-index: 1049;
339
339
  background: var(--modal-content-bg);
340
340
  border: 2px solid var(--modal-border-color);
341
341
  border-radius: 8px;
@@ -364,6 +364,12 @@ p {
364
364
  position: relative;
365
365
  height: 100%;
366
366
  font-weight: bold;
367
+ display: -webkit-box;
368
+ display: -ms-flexbox;
369
+ display: flex;
370
+ -webkit-box-align: center;
371
+ -ms-flex-align: center;
372
+ align-items: center;
367
373
  }
368
374
  .vtx-business-modal--head-title.dark {
369
375
  padding-left: 58px;
@@ -423,6 +429,7 @@ p {
423
429
  }
424
430
  .vtx-business-modal--content {
425
431
  height: calc(100% - 60px);
432
+ min-height: calc(500px - 60px);
426
433
  background: var(--modal-content-bg);
427
434
  display: -webkit-box;
428
435
  display: -ms-flexbox;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["require"],"sources":["vtx-base-modal/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["require"],"sources":["vtx-base-modal/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}