@vtx/modals2 2.10.20 → 2.10.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (886) hide show
  1. package/lib/index.js +126 -0
  2. package/lib/index.js.map +1 -0
  3. package/lib/style/css.js +16 -0
  4. package/lib/style/css.js.map +1 -0
  5. package/lib/style/index.js +16 -0
  6. package/lib/style/index.js.map +1 -0
  7. package/lib/typings.d.ts +14 -0
  8. package/lib/util/index.js +25 -0
  9. package/lib/util/index.js.map +1 -0
  10. package/lib/vm-alarm-info/Components/AlarmRecord.js +83 -0
  11. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -0
  12. package/lib/vm-alarm-info/Components/AlarmStatistics.js +99 -0
  13. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -0
  14. package/lib/vm-alarm-info/Components/AlarmTrend.js +203 -0
  15. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -0
  16. package/lib/vm-alarm-info/Components/CurrentAlarm.js +35 -0
  17. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -0
  18. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +87 -0
  19. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -0
  20. package/lib/vm-alarm-info/api.js +169 -0
  21. package/lib/vm-alarm-info/api.js.map +1 -0
  22. package/lib/vm-alarm-info/index.js +95 -0
  23. package/lib/vm-alarm-info/index.js.map +1 -0
  24. package/lib/vm-alarm-info/style/css.js +4 -0
  25. package/lib/vm-alarm-info/style/css.js.map +1 -0
  26. package/lib/vm-alarm-info/style/index.js +4 -0
  27. package/lib/vm-alarm-info/style/index.js.map +1 -0
  28. package/lib/vm-alarm-situation/api.js +87 -0
  29. package/lib/vm-alarm-situation/api.js.map +1 -0
  30. package/lib/vm-alarm-situation/index.js +212 -0
  31. package/lib/vm-alarm-situation/index.js.map +1 -0
  32. package/lib/vm-alarm-situation/style/css.js +4 -0
  33. package/lib/vm-alarm-situation/style/css.js.map +1 -0
  34. package/lib/vm-alarm-situation/style/index.js +4 -0
  35. package/lib/vm-alarm-situation/style/index.js.map +1 -0
  36. package/lib/vm-alarm-situation-pt/api.js +75 -0
  37. package/lib/vm-alarm-situation-pt/api.js.map +1 -0
  38. package/lib/vm-alarm-situation-pt/index.js +146 -0
  39. package/lib/vm-alarm-situation-pt/index.js.map +1 -0
  40. package/lib/vm-alarm-situation-pt/style/css.js +4 -0
  41. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -0
  42. package/lib/vm-alarm-situation-pt/style/index.js +4 -0
  43. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -0
  44. package/lib/vm-analysis-comparison/api.js +178 -0
  45. package/lib/vm-analysis-comparison/api.js.map +1 -0
  46. package/lib/vm-analysis-comparison/index.js +368 -0
  47. package/lib/vm-analysis-comparison/index.js.map +1 -0
  48. package/lib/vm-analysis-comparison/style/css.js +4 -0
  49. package/lib/vm-analysis-comparison/style/css.js.map +1 -0
  50. package/lib/vm-analysis-comparison/style/index.js +4 -0
  51. package/lib/vm-analysis-comparison/style/index.js.map +1 -0
  52. package/lib/vm-appraisal-info/AppraisalBase.js +57 -0
  53. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -0
  54. package/lib/vm-appraisal-info/AppraisalTop5.js +69 -0
  55. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -0
  56. package/lib/vm-appraisal-info/List.js +57 -0
  57. package/lib/vm-appraisal-info/List.js.map +1 -0
  58. package/lib/vm-appraisal-info/ListKh.js +154 -0
  59. package/lib/vm-appraisal-info/ListKh.js.map +1 -0
  60. package/lib/vm-appraisal-info/ListZg.js +159 -0
  61. package/lib/vm-appraisal-info/ListZg.js.map +1 -0
  62. package/lib/vm-appraisal-info/Wtlx.js +96 -0
  63. package/lib/vm-appraisal-info/Wtlx.js.map +1 -0
  64. package/lib/vm-appraisal-info/Zgxxhz.js +47 -0
  65. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -0
  66. package/lib/vm-appraisal-info/api.js +164 -0
  67. package/lib/vm-appraisal-info/api.js.map +1 -0
  68. package/lib/vm-appraisal-info/index.js +133 -0
  69. package/lib/vm-appraisal-info/index.js.map +1 -0
  70. package/lib/vm-appraisal-info/style/css.js +4 -0
  71. package/lib/vm-appraisal-info/style/css.js.map +1 -0
  72. package/lib/vm-appraisal-info/style/index.js +4 -0
  73. package/lib/vm-appraisal-info/style/index.js.map +1 -0
  74. package/lib/vm-base-list/OpenArrow.js +42 -0
  75. package/lib/vm-base-list/OpenArrow.js.map +1 -0
  76. package/lib/vm-base-list/index.js +86 -0
  77. package/lib/vm-base-list/index.js.map +1 -0
  78. package/lib/vm-base-list/style/css.js +4 -0
  79. package/lib/vm-base-list/style/css.js.map +1 -0
  80. package/lib/vm-base-list/style/index.js +4 -0
  81. package/lib/vm-base-list/style/index.js.map +1 -0
  82. package/lib/vm-button/index.js +27 -0
  83. package/lib/vm-button/index.js.map +1 -0
  84. package/lib/vm-button/style/css.js +4 -0
  85. package/lib/vm-button/style/css.js.map +1 -0
  86. package/lib/vm-button/style/index.js +4 -0
  87. package/lib/vm-button/style/index.js.map +1 -0
  88. package/lib/vm-charts/Distribute1.js +137 -0
  89. package/lib/vm-charts/Distribute1.js.map +1 -0
  90. package/lib/vm-charts/Gauge1.js +149 -0
  91. package/lib/vm-charts/Gauge1.js.map +1 -0
  92. package/lib/vm-charts/Line.js +215 -0
  93. package/lib/vm-charts/Line.js.map +1 -0
  94. package/lib/vm-charts/Line1.js +96 -0
  95. package/lib/vm-charts/Line1.js.map +1 -0
  96. package/lib/vm-charts/Pie.js +117 -0
  97. package/lib/vm-charts/Pie.js.map +1 -0
  98. package/lib/vm-charts/index.js +42 -0
  99. package/lib/vm-charts/index.js.map +1 -0
  100. package/lib/vm-checkbox/index.js +34 -0
  101. package/lib/vm-checkbox/index.js.map +1 -0
  102. package/lib/vm-checkbox/style/css.js +4 -0
  103. package/lib/vm-checkbox/style/css.js.map +1 -0
  104. package/lib/vm-checkbox/style/index.js +4 -0
  105. package/lib/vm-checkbox/style/index.js.map +1 -0
  106. package/lib/vm-common-components/common/index.js +28 -0
  107. package/lib/vm-common-components/common/index.js.map +1 -0
  108. package/lib/vm-common-components/common/vm-modal/index.js +35 -0
  109. package/lib/vm-common-components/common/vm-modal/index.js.map +1 -0
  110. package/lib/vm-common-components/common/vm-modal/style/css.js +4 -0
  111. package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -0
  112. package/lib/vm-common-components/common/vm-modal/style/index.js +4 -0
  113. package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -0
  114. package/lib/vm-common-components/common/vm-select/index.js +22 -0
  115. package/lib/vm-common-components/common/vm-select/index.js.map +1 -0
  116. package/lib/vm-common-components/common/vm-select/style/css.js +4 -0
  117. package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -0
  118. package/lib/vm-common-components/common/vm-select/style/index.js +4 -0
  119. package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -0
  120. package/lib/vm-common-components/common/vm-tabs/index.js +75 -0
  121. package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -0
  122. package/lib/vm-common-components/common/vm-tabs/style/css.js +4 -0
  123. package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -0
  124. package/lib/vm-common-components/common/vm-tabs/style/index.js +4 -0
  125. package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -0
  126. package/lib/vm-common-components/components/Compare/index.js +52 -0
  127. package/lib/vm-common-components/components/Compare/index.js.map +1 -0
  128. package/lib/vm-common-components/components/Compare/style/css.js +4 -0
  129. package/lib/vm-common-components/components/Compare/style/css.js.map +1 -0
  130. package/lib/vm-common-components/components/Compare/style/index.js +4 -0
  131. package/lib/vm-common-components/components/Compare/style/index.js.map +1 -0
  132. package/lib/vm-common-components/components/ImagesGroup/index.js +30 -0
  133. package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -0
  134. package/lib/vm-common-components/components/ImagesGroup/style/css.js +4 -0
  135. package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -0
  136. package/lib/vm-common-components/components/ImagesGroup/style/index.js +4 -0
  137. package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -0
  138. package/lib/vm-common-components/components/RadionButton/index.js +44 -0
  139. package/lib/vm-common-components/components/RadionButton/index.js.map +1 -0
  140. package/lib/vm-common-components/components/RadionButton/style/css.js +4 -0
  141. package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -0
  142. package/lib/vm-common-components/components/RadionButton/style/index.js +4 -0
  143. package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -0
  144. package/lib/vm-common-components/components/Statistics/index.js +177 -0
  145. package/lib/vm-common-components/components/Statistics/index.js.map +1 -0
  146. package/lib/vm-common-components/components/Statistics/style/css.js +4 -0
  147. package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -0
  148. package/lib/vm-common-components/components/Statistics/style/index.js +4 -0
  149. package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -0
  150. package/lib/vm-common-components/components/SubTitle/index.js +61 -0
  151. package/lib/vm-common-components/components/SubTitle/index.js.map +1 -0
  152. package/lib/vm-common-components/components/SubTitle/style/css.js +2 -0
  153. package/lib/vm-common-components/components/SubTitle/style/css.js.map +1 -0
  154. package/lib/vm-common-components/components/SubTitle/style/index.js +2 -0
  155. package/lib/vm-common-components/components/SubTitle/style/index.js.map +1 -0
  156. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +44 -0
  157. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -0
  158. package/lib/vm-common-components/components/index.js +86 -0
  159. package/lib/vm-common-components/components/index.js.map +1 -0
  160. package/lib/vm-common-components/components/vm-alarm-title/index.js +31 -0
  161. package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -0
  162. package/lib/vm-common-components/components/vm-alarm-title/style/css.js +4 -0
  163. package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -0
  164. package/lib/vm-common-components/components/vm-alarm-title/style/index.js +4 -0
  165. package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -0
  166. package/lib/vm-common-components/components/vm-chart/index.js +389 -0
  167. package/lib/vm-common-components/components/vm-chart/index.js.map +1 -0
  168. package/lib/vm-common-components/components/vm-collect/api.js +35 -0
  169. package/lib/vm-common-components/components/vm-collect/api.js.map +1 -0
  170. package/lib/vm-common-components/components/vm-collect/index.js +66 -0
  171. package/lib/vm-common-components/components/vm-collect/index.js.map +1 -0
  172. package/lib/vm-common-components/components/vm-collect/style/css.js +4 -0
  173. package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -0
  174. package/lib/vm-common-components/components/vm-collect/style/index.js +4 -0
  175. package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -0
  176. package/lib/vm-common-components/components/vm-container/index.js +48 -0
  177. package/lib/vm-common-components/components/vm-container/index.js.map +1 -0
  178. package/lib/vm-common-components/components/vm-container/style/css.js +4 -0
  179. package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -0
  180. package/lib/vm-common-components/components/vm-container/style/index.js +4 -0
  181. package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -0
  182. package/lib/vm-common-components/components/vm-nodata/index.js +73 -0
  183. package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -0
  184. package/lib/vm-common-components/components/vm-nodata/style/css.js +4 -0
  185. package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -0
  186. package/lib/vm-common-components/components/vm-nodata/style/index.js +4 -0
  187. package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -0
  188. package/lib/vm-common-components/components/vm-water-wave/index.js +161 -0
  189. package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -0
  190. package/lib/vm-common-components/index.js +331 -0
  191. package/lib/vm-common-components/index.js.map +1 -0
  192. package/lib/vm-common-components/style/css.js +4 -0
  193. package/lib/vm-common-components/style/css.js.map +1 -0
  194. package/lib/vm-common-components/style/index.js +4 -0
  195. package/lib/vm-common-components/style/index.js.map +1 -0
  196. package/lib/vm-container/index.js +35 -0
  197. package/lib/vm-container/index.js.map +1 -0
  198. package/lib/vm-container/style/css.js +4 -0
  199. package/lib/vm-container/style/css.js.map +1 -0
  200. package/lib/vm-container/style/index.js +4 -0
  201. package/lib/vm-container/style/index.js.map +1 -0
  202. package/lib/vm-correlation-comparison/api.js +237 -0
  203. package/lib/vm-correlation-comparison/api.js.map +1 -0
  204. package/lib/vm-correlation-comparison/index.js +309 -0
  205. package/lib/vm-correlation-comparison/index.js.map +1 -0
  206. package/lib/vm-correlation-comparison/style/css.js +4 -0
  207. package/lib/vm-correlation-comparison/style/css.js.map +1 -0
  208. package/lib/vm-correlation-comparison/style/index.js +4 -0
  209. package/lib/vm-correlation-comparison/style/index.js.map +1 -0
  210. package/lib/vm-empty/index.js +45 -0
  211. package/lib/vm-empty/index.js.map +1 -0
  212. package/lib/vm-empty/style/css.js +4 -0
  213. package/lib/vm-empty/style/css.js.map +1 -0
  214. package/lib/vm-empty/style/index.js +4 -0
  215. package/lib/vm-empty/style/index.js.map +1 -0
  216. package/lib/vm-filter/index.js +182 -0
  217. package/lib/vm-filter/index.js.map +1 -0
  218. package/lib/vm-filter/style/css.js +4 -0
  219. package/lib/vm-filter/style/css.js.map +1 -0
  220. package/lib/vm-filter/style/index.js +4 -0
  221. package/lib/vm-filter/style/index.js.map +1 -0
  222. package/lib/vm-hooks/useSettings.js +31 -0
  223. package/lib/vm-hooks/useSettings.js.map +1 -0
  224. package/lib/vm-image-text/index.js +42 -0
  225. package/lib/vm-image-text/index.js.map +1 -0
  226. package/lib/vm-image-text/style/css.js +4 -0
  227. package/lib/vm-image-text/style/css.js.map +1 -0
  228. package/lib/vm-image-text/style/index.js +4 -0
  229. package/lib/vm-image-text/style/index.js.map +1 -0
  230. package/lib/vm-info-collection/index.js +45 -0
  231. package/lib/vm-info-collection/index.js.map +1 -0
  232. package/lib/vm-info-collection/style/css.js +4 -0
  233. package/lib/vm-info-collection/style/css.js.map +1 -0
  234. package/lib/vm-info-collection/style/index.js +4 -0
  235. package/lib/vm-info-collection/style/index.js.map +1 -0
  236. package/lib/vm-map/index.js +209 -0
  237. package/lib/vm-map/index.js.map +1 -0
  238. package/lib/vm-map/mapStyle.js +4730 -0
  239. package/lib/vm-map/mapStyle.js.map +1 -0
  240. package/lib/vm-modal-table/index.js +35 -0
  241. package/lib/vm-modal-table/index.js.map +1 -0
  242. package/lib/vm-modal-table/style/css.js +4 -0
  243. package/lib/vm-modal-table/style/css.js.map +1 -0
  244. package/lib/vm-modal-table/style/index.js +4 -0
  245. package/lib/vm-modal-table/style/index.js.map +1 -0
  246. package/lib/vm-nodata/index.js +26 -0
  247. package/lib/vm-nodata/index.js.map +1 -0
  248. package/lib/vm-radio/index.js +29 -0
  249. package/lib/vm-radio/index.js.map +1 -0
  250. package/lib/vm-radio/style/css.js +4 -0
  251. package/lib/vm-radio/style/css.js.map +1 -0
  252. package/lib/vm-radio/style/index.js +4 -0
  253. package/lib/vm-radio/style/index.js.map +1 -0
  254. package/lib/vm-real-time-monitor/api.js +194 -0
  255. package/lib/vm-real-time-monitor/api.js.map +1 -0
  256. package/lib/vm-real-time-monitor/index.js +366 -0
  257. package/lib/vm-real-time-monitor/index.js.map +1 -0
  258. package/lib/vm-real-time-monitor/style/css.js +4 -0
  259. package/lib/vm-real-time-monitor/style/css.js.map +1 -0
  260. package/lib/vm-real-time-monitor/style/index.js +4 -0
  261. package/lib/vm-real-time-monitor/style/index.js.map +1 -0
  262. package/lib/vm-repair-maintain/RmInfoSummary.js +62 -0
  263. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -0
  264. package/lib/vm-repair-maintain/RmMonthTrend.js +104 -0
  265. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -0
  266. package/lib/vm-repair-maintain/RmRecord.js +151 -0
  267. package/lib/vm-repair-maintain/RmRecord.js.map +1 -0
  268. package/lib/vm-repair-maintain/RmType.js +104 -0
  269. package/lib/vm-repair-maintain/RmType.js.map +1 -0
  270. package/lib/vm-repair-maintain/api.js +95 -0
  271. package/lib/vm-repair-maintain/api.js.map +1 -0
  272. package/lib/vm-repair-maintain/index.js +56 -0
  273. package/lib/vm-repair-maintain/index.js.map +1 -0
  274. package/lib/vm-repair-maintain/style/css.js +4 -0
  275. package/lib/vm-repair-maintain/style/css.js.map +1 -0
  276. package/lib/vm-repair-maintain/style/index.js +4 -0
  277. package/lib/vm-repair-maintain/style/index.js.map +1 -0
  278. package/lib/vm-round-content/index.js +68 -0
  279. package/lib/vm-round-content/index.js.map +1 -0
  280. package/lib/vm-round-content/style/css.js +4 -0
  281. package/lib/vm-round-content/style/css.js.map +1 -0
  282. package/lib/vm-round-content/style/index.js +4 -0
  283. package/lib/vm-round-content/style/index.js.map +1 -0
  284. package/lib/vm-row-col/index.js +28 -0
  285. package/lib/vm-row-col/index.js.map +1 -0
  286. package/lib/vm-row-col/style/css.js +4 -0
  287. package/lib/vm-row-col/style/css.js.map +1 -0
  288. package/lib/vm-row-col/style/index.js +4 -0
  289. package/lib/vm-row-col/style/index.js.map +1 -0
  290. package/lib/vm-select-device/index.js +90 -0
  291. package/lib/vm-select-device/index.js.map +1 -0
  292. package/lib/vm-select-device/style/css.js +4 -0
  293. package/lib/vm-select-device/style/css.js.map +1 -0
  294. package/lib/vm-select-device/style/index.js +4 -0
  295. package/lib/vm-select-device/style/index.js.map +1 -0
  296. package/lib/vm-sub-tabs/index.js +43 -0
  297. package/lib/vm-sub-tabs/index.js.map +1 -0
  298. package/lib/vm-sub-tabs/style/css.js +4 -0
  299. package/lib/vm-sub-tabs/style/css.js.map +1 -0
  300. package/lib/vm-sub-tabs/style/index.js +4 -0
  301. package/lib/vm-sub-tabs/style/index.js.map +1 -0
  302. package/lib/vm-sub-title/index.js +28 -0
  303. package/lib/vm-sub-title/index.js.map +1 -0
  304. package/lib/vm-sub-title/style/css.js +4 -0
  305. package/lib/vm-sub-title/style/css.js.map +1 -0
  306. package/lib/vm-sub-title/style/index.js +4 -0
  307. package/lib/vm-sub-title/style/index.js.map +1 -0
  308. package/lib/vm-table/index.js +200 -0
  309. package/lib/vm-table/index.js.map +1 -0
  310. package/lib/vm-table/style/css.js +4 -0
  311. package/lib/vm-table/style/css.js.map +1 -0
  312. package/lib/vm-table/style/index.js +4 -0
  313. package/lib/vm-table/style/index.js.map +1 -0
  314. package/lib/vm-time-line/index.js +25 -0
  315. package/lib/vm-time-line/index.js.map +1 -0
  316. package/lib/vm-time-line/style/css.js +4 -0
  317. package/lib/vm-time-line/style/css.js.map +1 -0
  318. package/lib/vm-time-line/style/index.js +4 -0
  319. package/lib/vm-time-line/style/index.js.map +1 -0
  320. package/lib/vm-video/api.js +30 -0
  321. package/lib/vm-video/api.js.map +1 -0
  322. package/lib/vm-video/index.js +37 -0
  323. package/lib/vm-video/index.js.map +1 -0
  324. package/lib/vtx-base-modal/api.js +35 -0
  325. package/lib/vtx-base-modal/api.js.map +1 -0
  326. package/lib/vtx-base-modal/index.js +210 -0
  327. package/lib/vtx-base-modal/index.js.map +1 -0
  328. package/lib/vtx-base-modal/style/css.js +4 -0
  329. package/lib/vtx-base-modal/style/css.js.map +1 -0
  330. package/lib/vtx-base-modal/style/index.js +4 -0
  331. package/lib/vtx-base-modal/style/index.js.map +1 -0
  332. package/lib/vtx-base-modal-hz/index.js +40 -0
  333. package/lib/vtx-base-modal-hz/index.js.map +1 -0
  334. package/lib/vtx-car-modal/api.js +611 -0
  335. package/lib/vtx-car-modal/api.js.map +1 -0
  336. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +198 -0
  337. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -0
  338. package/lib/vtx-car-modal/components/AlarmInfo/List.js +186 -0
  339. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -0
  340. package/lib/vtx-car-modal/components/AlarmInfo/index.js +139 -0
  341. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -0
  342. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +66 -0
  343. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -0
  344. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +83 -0
  345. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -0
  346. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +51 -0
  347. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -0
  348. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +68 -0
  349. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -0
  350. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +115 -0
  351. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -0
  352. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +116 -0
  353. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -0
  354. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +56 -0
  355. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -0
  356. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +102 -0
  357. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -0
  358. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +138 -0
  359. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -0
  360. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +126 -0
  361. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -0
  362. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +137 -0
  363. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -0
  364. package/lib/vtx-car-modal/components/BaseInfo/index.js +231 -0
  365. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -0
  366. package/lib/vtx-car-modal/components/Maintenance/index.js +134 -0
  367. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -0
  368. package/lib/vtx-car-modal/components/OilConsumption/List.js +88 -0
  369. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -0
  370. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +100 -0
  371. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -0
  372. package/lib/vtx-car-modal/components/OilConsumption/index.js +140 -0
  373. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -0
  374. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +70 -0
  375. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -0
  376. package/lib/vtx-car-modal/components/StaticInfo/List.js +92 -0
  377. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -0
  378. package/lib/vtx-car-modal/components/StaticInfo/index.js +99 -0
  379. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -0
  380. package/lib/vtx-car-modal/components/WaterConsumption/index.js +118 -0
  381. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -0
  382. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +122 -0
  383. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -0
  384. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +317 -0
  385. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -0
  386. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +249 -0
  387. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -0
  388. package/lib/vtx-car-modal/components/WorkInfo/index.js +35 -0
  389. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -0
  390. package/lib/vtx-car-modal/components/index.js +56 -0
  391. package/lib/vtx-car-modal/components/index.js.map +1 -0
  392. package/lib/vtx-car-modal/index.js +128 -0
  393. package/lib/vtx-car-modal/index.js.map +1 -0
  394. package/lib/vtx-car-modal/style/css.js +12 -0
  395. package/lib/vtx-car-modal/style/css.js.map +1 -0
  396. package/lib/vtx-car-modal/style/index.js +12 -0
  397. package/lib/vtx-car-modal/style/index.js.map +1 -0
  398. package/lib/vtx-cc-cp-modal/api.js +308 -0
  399. package/lib/vtx-cc-cp-modal/api.js.map +1 -0
  400. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +153 -0
  401. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
  402. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +104 -0
  403. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
  404. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +135 -0
  405. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
  406. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +35 -0
  407. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -0
  408. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +77 -0
  409. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -0
  410. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +45 -0
  411. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -0
  412. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +49 -0
  413. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -0
  414. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +126 -0
  415. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -0
  416. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +67 -0
  417. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -0
  418. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +131 -0
  419. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -0
  420. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +104 -0
  421. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -0
  422. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +135 -0
  423. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -0
  424. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +35 -0
  425. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -0
  426. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +125 -0
  427. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -0
  428. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +111 -0
  429. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
  430. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +118 -0
  431. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -0
  432. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +84 -0
  433. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -0
  434. package/lib/vtx-cc-cp-modal/components/index.js +42 -0
  435. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -0
  436. package/lib/vtx-cc-cp-modal/index.js +67 -0
  437. package/lib/vtx-cc-cp-modal/index.js.map +1 -0
  438. package/lib/vtx-cc-cp-modal/style/css.js +5 -0
  439. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -0
  440. package/lib/vtx-cc-cp-modal/style/index.js +5 -0
  441. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -0
  442. package/lib/vtx-cc-cp-modal/type.js +6 -0
  443. package/lib/vtx-cc-cp-modal/type.js.map +1 -0
  444. package/lib/vtx-cp-modal/api.js +336 -0
  445. package/lib/vtx-cp-modal/api.js.map +1 -0
  446. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +170 -0
  447. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
  448. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +106 -0
  449. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
  450. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +164 -0
  451. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
  452. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +46 -0
  453. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -0
  454. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +110 -0
  455. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -0
  456. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +52 -0
  457. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -0
  458. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +123 -0
  459. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -0
  460. package/lib/vtx-cp-modal/components/BaseInfo/index.js +88 -0
  461. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -0
  462. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +196 -0
  463. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -0
  464. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +106 -0
  465. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -0
  466. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +164 -0
  467. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -0
  468. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +46 -0
  469. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -0
  470. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +128 -0
  471. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
  472. package/lib/vtx-cp-modal/components/SyInfo/index.js +345 -0
  473. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -0
  474. package/lib/vtx-cp-modal/components/index.js +35 -0
  475. package/lib/vtx-cp-modal/components/index.js.map +1 -0
  476. package/lib/vtx-cp-modal/index.js +107 -0
  477. package/lib/vtx-cp-modal/index.js.map +1 -0
  478. package/lib/vtx-cp-modal/style/css.js +5 -0
  479. package/lib/vtx-cp-modal/style/css.js.map +1 -0
  480. package/lib/vtx-cp-modal/style/index.js +5 -0
  481. package/lib/vtx-cp-modal/style/index.js.map +1 -0
  482. package/lib/vtx-default-modal/api.js +49 -0
  483. package/lib/vtx-default-modal/api.js.map +1 -0
  484. package/lib/vtx-default-modal/components/BaseInfo/index.js +53 -0
  485. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -0
  486. package/lib/vtx-default-modal/components/index.js +14 -0
  487. package/lib/vtx-default-modal/components/index.js.map +1 -0
  488. package/lib/vtx-default-modal/index.js +89 -0
  489. package/lib/vtx-default-modal/index.js.map +1 -0
  490. package/lib/vtx-default-modal/style/css.js +5 -0
  491. package/lib/vtx-default-modal/style/css.js.map +1 -0
  492. package/lib/vtx-default-modal/style/index.js +5 -0
  493. package/lib/vtx-default-modal/style/index.js.map +1 -0
  494. package/lib/vtx-device-modal/api.js +212 -0
  495. package/lib/vtx-device-modal/api.js.map +1 -0
  496. package/lib/vtx-device-modal/components/BaseInfo/index.js +51 -0
  497. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -0
  498. package/lib/vtx-device-modal/components/DataAnalysis/index.js +83 -0
  499. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -0
  500. package/lib/vtx-device-modal/components/FacilityFile/index.js +48 -0
  501. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -0
  502. package/lib/vtx-device-modal/components/LiftInfo/index.js +32 -0
  503. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -0
  504. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +27 -0
  505. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -0
  506. package/lib/vtx-device-modal/components/OverViewInfo/index.js +103 -0
  507. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -0
  508. package/lib/vtx-device-modal/components/VideoInfo/index.js +36 -0
  509. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -0
  510. package/lib/vtx-device-modal/config.js +50 -0
  511. package/lib/vtx-device-modal/config.js.map +1 -0
  512. package/lib/vtx-device-modal/index.js +75 -0
  513. package/lib/vtx-device-modal/index.js.map +1 -0
  514. package/lib/vtx-device-modal/style/css.js +4 -0
  515. package/lib/vtx-device-modal/style/css.js.map +1 -0
  516. package/lib/vtx-device-modal/style/index.js +4 -0
  517. package/lib/vtx-device-modal/style/index.js.map +1 -0
  518. package/lib/vtx-device-modal/types.js +6 -0
  519. package/lib/vtx-device-modal/types.js.map +1 -0
  520. package/lib/vtx-df-modal/api.js +260 -0
  521. package/lib/vtx-df-modal/api.js.map +1 -0
  522. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +115 -0
  523. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -0
  524. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +146 -0
  525. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -0
  526. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +118 -0
  527. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -0
  528. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +52 -0
  529. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -0
  530. package/lib/vtx-df-modal/components/BaseInfo/index.js +134 -0
  531. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -0
  532. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +121 -0
  533. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -0
  534. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +133 -0
  535. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -0
  536. package/lib/vtx-df-modal/components/Metering/List.js +110 -0
  537. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -0
  538. package/lib/vtx-df-modal/components/Metering/index.js +174 -0
  539. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -0
  540. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +112 -0
  541. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -0
  542. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +106 -0
  543. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -0
  544. package/lib/vtx-df-modal/components/WorkCondition/index.js +89 -0
  545. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -0
  546. package/lib/vtx-df-modal/components/index.js +28 -0
  547. package/lib/vtx-df-modal/components/index.js.map +1 -0
  548. package/lib/vtx-df-modal/index.js +122 -0
  549. package/lib/vtx-df-modal/index.js.map +1 -0
  550. package/lib/vtx-df-modal/style/css.js +7 -0
  551. package/lib/vtx-df-modal/style/css.js.map +1 -0
  552. package/lib/vtx-df-modal/style/index.js +7 -0
  553. package/lib/vtx-df-modal/style/index.js.map +1 -0
  554. package/lib/vtx-facility-modal/api.js +123 -0
  555. package/lib/vtx-facility-modal/api.js.map +1 -0
  556. package/lib/vtx-facility-modal/components/OverView/Left.js +49 -0
  557. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -0
  558. package/lib/vtx-facility-modal/components/OverView/index.js +285 -0
  559. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -0
  560. package/lib/vtx-facility-modal/components/index.js +14 -0
  561. package/lib/vtx-facility-modal/components/index.js.map +1 -0
  562. package/lib/vtx-facility-modal/config.js +68 -0
  563. package/lib/vtx-facility-modal/config.js.map +1 -0
  564. package/lib/vtx-facility-modal/index.js +48 -0
  565. package/lib/vtx-facility-modal/index.js.map +1 -0
  566. package/lib/vtx-facility-modal/style/css.js +5 -0
  567. package/lib/vtx-facility-modal/style/css.js.map +1 -0
  568. package/lib/vtx-facility-modal/style/index.js +5 -0
  569. package/lib/vtx-facility-modal/style/index.js.map +1 -0
  570. package/lib/vtx-facility-modal/types.js +6 -0
  571. package/lib/vtx-facility-modal/types.js.map +1 -0
  572. package/lib/vtx-housing-estate-modal/api.js +539 -0
  573. package/lib/vtx-housing-estate-modal/api.js.map +1 -0
  574. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +390 -0
  575. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -0
  576. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +209 -0
  577. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -0
  578. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +290 -0
  579. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -0
  580. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +34 -0
  581. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -0
  582. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +104 -0
  583. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -0
  584. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +290 -0
  585. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -0
  586. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +89 -0
  587. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -0
  588. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +122 -0
  589. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -0
  590. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +213 -0
  591. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -0
  592. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +60 -0
  593. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -0
  594. package/lib/vtx-housing-estate-modal/components/OverView/index.js +41 -0
  595. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -0
  596. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +58 -0
  597. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -0
  598. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +139 -0
  599. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -0
  600. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +59 -0
  601. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -0
  602. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +104 -0
  603. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -0
  604. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +68 -0
  605. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -0
  606. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +142 -0
  607. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -0
  608. package/lib/vtx-housing-estate-modal/components/index.js +49 -0
  609. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -0
  610. package/lib/vtx-housing-estate-modal/config.js +88 -0
  611. package/lib/vtx-housing-estate-modal/config.js.map +1 -0
  612. package/lib/vtx-housing-estate-modal/index.js +100 -0
  613. package/lib/vtx-housing-estate-modal/index.js.map +1 -0
  614. package/lib/vtx-housing-estate-modal/style/css.js +7 -0
  615. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -0
  616. package/lib/vtx-housing-estate-modal/style/index.js +7 -0
  617. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -0
  618. package/lib/vtx-housing-estate-modal/types.js +6 -0
  619. package/lib/vtx-housing-estate-modal/types.js.map +1 -0
  620. package/lib/vtx-hz-facility-modal/api.js +776 -0
  621. package/lib/vtx-hz-facility-modal/api.js.map +1 -0
  622. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +234 -0
  623. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -0
  624. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +4 -0
  625. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -0
  626. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +4 -0
  627. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -0
  628. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +25 -0
  629. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -0
  630. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +4 -0
  631. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -0
  632. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +4 -0
  633. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -0
  634. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +272 -0
  635. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -0
  636. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +4 -0
  637. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -0
  638. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +4 -0
  639. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -0
  640. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +279 -0
  641. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -0
  642. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +4 -0
  643. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -0
  644. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +4 -0
  645. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -0
  646. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +386 -0
  647. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -0
  648. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +4 -0
  649. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -0
  650. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +4 -0
  651. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +1 -0
  652. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +27 -0
  653. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -0
  654. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +402 -0
  655. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -0
  656. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +4 -0
  657. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -0
  658. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +4 -0
  659. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -0
  660. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +270 -0
  661. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -0
  662. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +4 -0
  663. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -0
  664. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +4 -0
  665. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -0
  666. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +97 -0
  667. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -0
  668. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +4 -0
  669. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -0
  670. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +4 -0
  671. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -0
  672. package/lib/vtx-hz-facility-modal/components/index.js +21 -0
  673. package/lib/vtx-hz-facility-modal/components/index.js.map +1 -0
  674. package/lib/vtx-hz-facility-modal/index.js +87 -0
  675. package/lib/vtx-hz-facility-modal/index.js.map +1 -0
  676. package/lib/vtx-hz-facility-modal/style/css.js +4 -0
  677. package/lib/vtx-hz-facility-modal/style/css.js.map +1 -0
  678. package/lib/vtx-hz-facility-modal/style/index.js +4 -0
  679. package/lib/vtx-hz-facility-modal/style/index.js.map +1 -0
  680. package/lib/vtx-kh-modal/api.js +74 -0
  681. package/lib/vtx-kh-modal/api.js.map +1 -0
  682. package/lib/vtx-kh-modal/components/BaseInfo/index.js +93 -0
  683. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -0
  684. package/lib/vtx-kh-modal/components/index.js +14 -0
  685. package/lib/vtx-kh-modal/components/index.js.map +1 -0
  686. package/lib/vtx-kh-modal/index.js +92 -0
  687. package/lib/vtx-kh-modal/index.js.map +1 -0
  688. package/lib/vtx-kh-modal/style/css.js +5 -0
  689. package/lib/vtx-kh-modal/style/css.js.map +1 -0
  690. package/lib/vtx-kh-modal/style/index.js +5 -0
  691. package/lib/vtx-kh-modal/style/index.js.map +1 -0
  692. package/lib/vtx-restaurant-modal/api.js +152 -0
  693. package/lib/vtx-restaurant-modal/api.js.map +1 -0
  694. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +50 -0
  695. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -0
  696. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +78 -0
  697. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -0
  698. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +92 -0
  699. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -0
  700. package/lib/vtx-restaurant-modal/components/Alarm/index.js +74 -0
  701. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -0
  702. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +60 -0
  703. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -0
  704. package/lib/vtx-restaurant-modal/components/Basic/Info.js +57 -0
  705. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -0
  706. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +67 -0
  707. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -0
  708. package/lib/vtx-restaurant-modal/components/Basic/index.js +48 -0
  709. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -0
  710. package/lib/vtx-restaurant-modal/components/Collection/index.js +64 -0
  711. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -0
  712. package/lib/vtx-restaurant-modal/components/index.js +28 -0
  713. package/lib/vtx-restaurant-modal/components/index.js.map +1 -0
  714. package/lib/vtx-restaurant-modal/config.js +58 -0
  715. package/lib/vtx-restaurant-modal/config.js.map +1 -0
  716. package/lib/vtx-restaurant-modal/index.js +57 -0
  717. package/lib/vtx-restaurant-modal/index.js.map +1 -0
  718. package/lib/vtx-restaurant-modal/style/css.js +5 -0
  719. package/lib/vtx-restaurant-modal/style/css.js.map +1 -0
  720. package/lib/vtx-restaurant-modal/style/index.js +5 -0
  721. package/lib/vtx-restaurant-modal/style/index.js.map +1 -0
  722. package/lib/vtx-restaurant-modal/type.js +6 -0
  723. package/lib/vtx-restaurant-modal/type.js.map +1 -0
  724. package/lib/vtx-road-modal/api.js +136 -0
  725. package/lib/vtx-road-modal/api.js.map +1 -0
  726. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +55 -0
  727. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -0
  728. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +152 -0
  729. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -0
  730. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +83 -0
  731. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -0
  732. package/lib/vtx-road-modal/components/BaseInfo/index.js +64 -0
  733. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -0
  734. package/lib/vtx-road-modal/components/Statistical/Zylc.js +142 -0
  735. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -0
  736. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +111 -0
  737. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -0
  738. package/lib/vtx-road-modal/components/Statistical/index.js +183 -0
  739. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -0
  740. package/lib/vtx-road-modal/components/index.js +21 -0
  741. package/lib/vtx-road-modal/components/index.js.map +1 -0
  742. package/lib/vtx-road-modal/index.js +89 -0
  743. package/lib/vtx-road-modal/index.js.map +1 -0
  744. package/lib/vtx-road-modal/style/css.js +6 -0
  745. package/lib/vtx-road-modal/style/css.js.map +1 -0
  746. package/lib/vtx-road-modal/style/index.js +6 -0
  747. package/lib/vtx-road-modal/style/index.js.map +1 -0
  748. package/lib/vtx-staff-modal/api.js +311 -0
  749. package/lib/vtx-staff-modal/api.js.map +1 -0
  750. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +175 -0
  751. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -0
  752. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +122 -0
  753. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -0
  754. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +106 -0
  755. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -0
  756. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +98 -0
  757. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -0
  758. package/lib/vtx-staff-modal/components/Attendance/Record.js +152 -0
  759. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -0
  760. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +119 -0
  761. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -0
  762. package/lib/vtx-staff-modal/components/Attendance/index.js +52 -0
  763. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -0
  764. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +106 -0
  765. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -0
  766. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +40 -0
  767. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -0
  768. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +124 -0
  769. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -0
  770. package/lib/vtx-staff-modal/components/BaseInfo/index.js +211 -0
  771. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -0
  772. package/lib/vtx-staff-modal/components/Equipment/index.js +125 -0
  773. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -0
  774. package/lib/vtx-staff-modal/components/index.js +35 -0
  775. package/lib/vtx-staff-modal/components/index.js.map +1 -0
  776. package/lib/vtx-staff-modal/index.js +78 -0
  777. package/lib/vtx-staff-modal/index.js.map +1 -0
  778. package/lib/vtx-staff-modal/style/css.js +8 -0
  779. package/lib/vtx-staff-modal/style/css.js.map +1 -0
  780. package/lib/vtx-staff-modal/style/index.js +8 -0
  781. package/lib/vtx-staff-modal/style/index.js.map +1 -0
  782. package/lib/vtx-theme-provider/index.js +21 -0
  783. package/lib/vtx-theme-provider/index.js.map +1 -0
  784. package/lib/vtx-throw-point-modal/api.js +531 -0
  785. package/lib/vtx-throw-point-modal/api.js.map +1 -0
  786. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +391 -0
  787. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -0
  788. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +209 -0
  789. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -0
  790. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +291 -0
  791. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -0
  792. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +34 -0
  793. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -0
  794. package/lib/vtx-throw-point-modal/components/Alarm/index.js +104 -0
  795. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -0
  796. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +278 -0
  797. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -0
  798. package/lib/vtx-throw-point-modal/components/OverView/Left.js +120 -0
  799. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -0
  800. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +119 -0
  801. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -0
  802. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +213 -0
  803. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -0
  804. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +60 -0
  805. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -0
  806. package/lib/vtx-throw-point-modal/components/OverView/index.js +39 -0
  807. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -0
  808. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +84 -0
  809. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -0
  810. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +334 -0
  811. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -0
  812. package/lib/vtx-throw-point-modal/components/TFRD/index.js +136 -0
  813. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -0
  814. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +56 -0
  815. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -0
  816. package/lib/vtx-throw-point-modal/components/WGGS/index.js +90 -0
  817. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -0
  818. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +66 -0
  819. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -0
  820. package/lib/vtx-throw-point-modal/components/WGXW/index.js +128 -0
  821. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -0
  822. package/lib/vtx-throw-point-modal/components/index.js +49 -0
  823. package/lib/vtx-throw-point-modal/components/index.js.map +1 -0
  824. package/lib/vtx-throw-point-modal/config.js +67 -0
  825. package/lib/vtx-throw-point-modal/config.js.map +1 -0
  826. package/lib/vtx-throw-point-modal/index.js +104 -0
  827. package/lib/vtx-throw-point-modal/index.js.map +1 -0
  828. package/lib/vtx-throw-point-modal/style/css.js +7 -0
  829. package/lib/vtx-throw-point-modal/style/css.js.map +1 -0
  830. package/lib/vtx-throw-point-modal/style/index.js +7 -0
  831. package/lib/vtx-throw-point-modal/style/index.js.map +1 -0
  832. package/lib/vtx-throw-point-modal/types.js +6 -0
  833. package/lib/vtx-throw-point-modal/types.js.map +1 -0
  834. package/lib/vtx-wr-modal/api.js +381 -0
  835. package/lib/vtx-wr-modal/api.js.map +1 -0
  836. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +249 -0
  837. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
  838. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +112 -0
  839. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
  840. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +163 -0
  841. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -0
  842. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +46 -0
  843. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -0
  844. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +110 -0
  845. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -0
  846. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +39 -0
  847. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -0
  848. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +109 -0
  849. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -0
  850. package/lib/vtx-wr-modal/components/BaseInfo/index.js +330 -0
  851. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -0
  852. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +101 -0
  853. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -0
  854. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +69 -0
  855. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -0
  856. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +141 -0
  857. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -0
  858. package/lib/vtx-wr-modal/components/Evaluate/index.js +47 -0
  859. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -0
  860. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +156 -0
  861. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -0
  862. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +162 -0
  863. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -0
  864. package/lib/vtx-wr-modal/components/Monitor/index.js +28 -0
  865. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -0
  866. package/lib/vtx-wr-modal/components/index.js +35 -0
  867. package/lib/vtx-wr-modal/components/index.js.map +1 -0
  868. package/lib/vtx-wr-modal/index.js +101 -0
  869. package/lib/vtx-wr-modal/index.js.map +1 -0
  870. package/lib/vtx-wr-modal/style/css.js +8 -0
  871. package/lib/vtx-wr-modal/style/css.js.map +1 -0
  872. package/lib/vtx-wr-modal/style/index.js +8 -0
  873. package/lib/vtx-wr-modal/style/index.js.map +1 -0
  874. package/lib/vtx-zg-modal/api.js +69 -0
  875. package/lib/vtx-zg-modal/api.js.map +1 -0
  876. package/lib/vtx-zg-modal/components/BaseInfo/index.js +178 -0
  877. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -0
  878. package/lib/vtx-zg-modal/components/index.js +14 -0
  879. package/lib/vtx-zg-modal/components/index.js.map +1 -0
  880. package/lib/vtx-zg-modal/index.js +95 -0
  881. package/lib/vtx-zg-modal/index.js.map +1 -0
  882. package/lib/vtx-zg-modal/style/css.js +5 -0
  883. package/lib/vtx-zg-modal/style/css.js.map +1 -0
  884. package/lib/vtx-zg-modal/style/index.js +5 -0
  885. package/lib/vtx-zg-modal/style/index.js.map +1 -0
  886. package/package.json +1 -1
@@ -0,0 +1,212 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.List = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _vmRowCol = require("../vm-row-col");
10
+ var _vmTable = _interopRequireDefault(require("../vm-table"));
11
+ var _api = require("./api");
12
+ var _moment = _interopRequireDefault(require("moment"));
13
+ var _vmFilter = require("../vm-filter");
14
+ var _vmContainer = _interopRequireDefault(require("../vm-container"));
15
+ var _vmNodata = _interopRequireDefault(require("../vm-nodata"));
16
+ require("./style");
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
+ 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); }
19
+ 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; }
20
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
21
+ 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."); }
22
+ 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); }
23
+ 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; }
24
+ 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; } }
25
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
+ var defaultDate = (0, _moment["default"])();
27
+ var List = function List(props) {
28
+ var data = props.data,
29
+ getDetailData = props.getDetailData;
30
+ return /*#__PURE__*/_react["default"].createElement("div", null, (data === null || data === void 0 ? void 0 : data.length) ? /*#__PURE__*/_react["default"].createElement("div", null, data.map(function (item, index) {
31
+ return /*#__PURE__*/_react["default"].createElement(_vmRowCol.VmRow, {
32
+ key: index
33
+ }, /*#__PURE__*/_react["default"].createElement(_vmRowCol.VmCol, {
34
+ span: 10
35
+ }, /*#__PURE__*/_react["default"].createElement("div", {
36
+ className: "list-title"
37
+ }, /*#__PURE__*/_react["default"].createElement("div", {
38
+ className: "list-label"
39
+ }, item.label), /*#__PURE__*/_react["default"].createElement("div", {
40
+ className: "list-content"
41
+ }, /*#__PURE__*/_react["default"].createElement("div", {
42
+ className: "list-value",
43
+ onClick: function onClick() {
44
+ getDetailData && getDetailData(item);
45
+ }
46
+ }, item.value || String(item.value) === '0' ? item.value : '--', /*#__PURE__*/_react["default"].createElement("span", {
47
+ className: "list-unit"
48
+ }, "\u6B21")), /*#__PURE__*/_react["default"].createElement("div", {
49
+ className: "sub"
50
+ }, /*#__PURE__*/_react["default"].createElement("span", null, item.subLabel, "\uFF1A ", item.subValue), item.subIcon ? /*#__PURE__*/_react["default"].createElement("img", {
51
+ src: item.subIcon,
52
+ className: "subIcon"
53
+ }) : null)))));
54
+ })) : null);
55
+ };
56
+ exports.List = List;
57
+ function VmAlarmSituation(props) {
58
+ var _useState = (0, _react.useState)(false),
59
+ _useState2 = _slicedToArray(_useState, 2),
60
+ visible = _useState2[0],
61
+ setVisible = _useState2[1];
62
+ var _useState3 = (0, _react.useState)([]),
63
+ _useState4 = _slicedToArray(_useState3, 2),
64
+ dataSource = _useState4[0],
65
+ setDataSource = _useState4[1];
66
+ var _useState5 = (0, _react.useState)(defaultDate),
67
+ _useState6 = _slicedToArray(_useState5, 2),
68
+ date = _useState6[0],
69
+ setDate = _useState6[1];
70
+ var _useState7 = (0, _react.useState)(1),
71
+ _useState8 = _slicedToArray(_useState7, 2),
72
+ radioKey = _useState8[0],
73
+ setRadioKey = _useState8[1];
74
+ var id = props.id,
75
+ publicUrlJCSS = props.publicUrlJCSS,
76
+ contentStyle = props.contentStyle,
77
+ filterParams = props.filterParams;
78
+ var typeObj = {
79
+ 1: 'day',
80
+ 2: 'month',
81
+ 3: 'year'
82
+ };
83
+ // @ts-ignore
84
+ var start = typeObj[radioKey];
85
+ var _Service$UseAlarmData = _api.Service.UseAlarmData({
86
+ id: id,
87
+ publicUrlJCSS: publicUrlJCSS,
88
+ startTime: (0, _moment["default"])(date).startOf(start).format('YYYY-MM-DD HH:mm:ss'),
89
+ endTime: (0, _moment["default"])().format('YYYY-MM-DD HH:mm:ss'),
90
+ timeType: radioKey,
91
+ filterParams: filterParams
92
+ }),
93
+ alarmData = _Service$UseAlarmData.alarmData;
94
+ var columns = [{
95
+ title: '监测指标',
96
+ dataIndex: 'factorName',
97
+ key: 'factorName',
98
+ width: 100
99
+ }, {
100
+ title: '报警类型',
101
+ dataIndex: 'alarmTypeName',
102
+ key: 'alarmTypeName'
103
+ }, {
104
+ title: '报警等级',
105
+ dataIndex: 'alarmGradeLevel',
106
+ key: 'alarmGradeLevel'
107
+ }, {
108
+ title: '开始时间',
109
+ dataIndex: 'alarmStartTime',
110
+ key: 'alarmStartTime',
111
+ width: 130,
112
+ sortType: 'time'
113
+ }, {
114
+ title: '结束时间',
115
+ dataIndex: 'alarmEndTime',
116
+ key: 'alarmEndTime',
117
+ width: 130,
118
+ sortType: 'time'
119
+ }, {
120
+ title: '报警时长',
121
+ dataIndex: 'durationTime',
122
+ key: 'durationTime',
123
+ sortType: 'number'
124
+ }];
125
+ // 获取缺陷穿透弹框数据
126
+ var getDetailData = function getDetailData(item) {
127
+ setVisible(true);
128
+ _api.Service.UseAlarmDetail({
129
+ id: id,
130
+ publicUrlJCSS: publicUrlJCSS,
131
+ startTime: (0, _moment["default"])(date).startOf(start).format('YYYY-MM-DD HH:mm:ss'),
132
+ endTime: (0, _moment["default"])().format('YYYY-MM-DD HH:mm:ss'),
133
+ factorCode: item.factorCode,
134
+ filterParams: filterParams
135
+ }).then(function (res) {
136
+ if ((res === null || res === void 0 ? void 0 : res.result) === 0 && res.data) {
137
+ setDataSource(res.data);
138
+ }
139
+ });
140
+ };
141
+ var items = [{
142
+ type: 'radio',
143
+ label: '',
144
+ defaultValue: 1,
145
+ itemProps: {
146
+ options: [{
147
+ label: '日',
148
+ value: 1
149
+ }, {
150
+ label: '月',
151
+ value: 2
152
+ }, {
153
+ label: '年',
154
+ value: 3
155
+ }]
156
+ },
157
+ onChange: function onChange(e) {
158
+ var dateObj = {
159
+ 1: (0, _moment["default"])().format('YYYY-MM-DD'),
160
+ 2: (0, _moment["default"])().format('YYYY-MM'),
161
+ 3: (0, _moment["default"])().format('YYYY')
162
+ };
163
+ setRadioKey(e.target.value);
164
+ // @ts-ignore
165
+ setDate(dateObj[e.target.value]);
166
+ }
167
+ }];
168
+ var title = {
169
+ 1: '本日报警',
170
+ 2: '本月报警',
171
+ 3: '本年报警'
172
+ };
173
+ // @ts-ignore
174
+ var text = title[radioKey] || '';
175
+ var getTitle = function getTitle() {
176
+ return /*#__PURE__*/_react["default"].createElement("div", {
177
+ className: "titleWrap"
178
+ }, /*#__PURE__*/_react["default"].createElement("div", {
179
+ className: "title-title"
180
+ }, "\u62A5\u8B66\u60C5\u51B5--", /*#__PURE__*/_react["default"].createElement("span", {
181
+ className: 'title-text'
182
+ }, text)), /*#__PURE__*/_react["default"].createElement("div", {
183
+ className: "radio"
184
+ }, /*#__PURE__*/_react["default"].createElement(_vmFilter.VmFilterItem, {
185
+ items: items
186
+ })));
187
+ };
188
+ return /*#__PURE__*/_react["default"].createElement(_vmContainer["default"], {
189
+ headerContent: getTitle(),
190
+ contentStyle: contentStyle || {}
191
+ }, (alarmData === null || alarmData === void 0 ? void 0 : alarmData.length) ? /*#__PURE__*/_react["default"].createElement(List, {
192
+ data: alarmData,
193
+ getDetailData: getDetailData
194
+ }) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
195
+ style: {
196
+ height: '100%',
197
+ width: '60%'
198
+ }
199
+ }), visible && /*#__PURE__*/_react["default"].createElement(_vmTable["default"], {
200
+ width: 1000,
201
+ visible: visible,
202
+ columns: columns,
203
+ dataSource: dataSource,
204
+ onCancel: function onCancel() {
205
+ setVisible(false);
206
+ setDataSource([]);
207
+ }
208
+ }));
209
+ }
210
+ var _default = VmAlarmSituation;
211
+ exports["default"] = _default;
212
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["defaultDate","moment","List","props","data","getDetailData","React","createElement","length","map","item","index","VmRow","key","VmCol","span","className","label","onClick","value","String","subLabel","subValue","subIcon","src","VmAlarmSituation","useState","visible","setVisible","dataSource","setDataSource","date","setDate","radioKey","setRadioKey","id","publicUrlJCSS","contentStyle","filterParams","typeObj","start","Service","UseAlarmData","startTime","startOf","format","endTime","timeType","alarmData","columns","title","dataIndex","width","sortType","UseAlarmDetail","factorCode","then","res","result","items","type","defaultValue","itemProps","options","onChange","e","dateObj","target","text","getTitle","VmFilterItem","VmContainer","headerContent","NoData","style","height","VmModalTable","onCancel"],"sources":["vm-alarm-situation/index.js"],"sourcesContent":["/**\n * 报警情况\n */\nimport React, { useState } from 'react';\nimport { VmRow, VmCol } from '../vm-row-col';\nimport VmModalTable from '../vm-table';\nimport { Service } from './api';\nimport moment from 'moment';\nimport { VmFilterItem as VmFilterItem } from '../vm-filter';\nimport VmContainer from '../vm-container';\nimport NoData from \"../vm-nodata\";\nimport './style';\nconst defaultDate = moment();\nexport const List = (props) => {\n const { data, getDetailData } = props;\n return (React.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.length) ? (React.createElement(\"div\", null, data.map((item, index) => {\n return (React.createElement(VmRow, { key: index },\n React.createElement(VmCol, { span: 10 },\n React.createElement(\"div\", { className: \"list-title\" },\n React.createElement(\"div\", { className: \"list-label\" }, item.label),\n React.createElement(\"div\", { className: \"list-content\" },\n React.createElement(\"div\", { className: \"list-value\", onClick: () => {\n getDetailData && getDetailData(item);\n } },\n item.value || String(item.value) === '0' ? item.value : '--',\n React.createElement(\"span\", { className: \"list-unit\" }, \"\\u6B21\")),\n React.createElement(\"div\", { className: \"sub\" },\n React.createElement(\"span\", null,\n item.subLabel,\n \"\\uFF1A \",\n item.subValue),\n item.subIcon ? React.createElement(\"img\", { src: item.subIcon, className: \"subIcon\" }) : null))))));\n }))) : null));\n};\nfunction VmAlarmSituation(props) {\n const [visible, setVisible] = useState(false);\n const [dataSource, setDataSource] = useState([]);\n const [date, setDate] = useState(defaultDate);\n const [radioKey, setRadioKey] = useState(1);\n const { id, publicUrlJCSS, contentStyle, filterParams } = props;\n const typeObj = {\n 1: 'day',\n 2: 'month',\n 3: 'year',\n };\n // @ts-ignore\n const start = typeObj[radioKey];\n const { alarmData } = Service.UseAlarmData({\n id,\n publicUrlJCSS,\n startTime: moment(date)\n .startOf(start)\n .format('YYYY-MM-DD HH:mm:ss'),\n endTime: moment().format('YYYY-MM-DD HH:mm:ss'),\n timeType: radioKey,\n filterParams,\n });\n const columns = [\n { title: '监测指标', dataIndex: 'factorName', key: 'factorName', width: 100 },\n { title: '报警类型', dataIndex: 'alarmTypeName', key: 'alarmTypeName' },\n { title: '报警等级', dataIndex: 'alarmGradeLevel', key: 'alarmGradeLevel' },\n {\n title: '开始时间',\n dataIndex: 'alarmStartTime',\n key: 'alarmStartTime',\n width: 130,\n sortType: 'time',\n },\n {\n title: '结束时间',\n dataIndex: 'alarmEndTime',\n key: 'alarmEndTime',\n width: 130,\n sortType: 'time',\n },\n { title: '报警时长', dataIndex: 'durationTime', key: 'durationTime', sortType: 'number' },\n ];\n // 获取缺陷穿透弹框数据\n const getDetailData = (item) => {\n setVisible(true);\n Service.UseAlarmDetail({\n id,\n publicUrlJCSS,\n startTime: moment(date)\n .startOf(start)\n .format('YYYY-MM-DD HH:mm:ss'),\n endTime: moment().format('YYYY-MM-DD HH:mm:ss'),\n factorCode: item.factorCode,\n filterParams,\n }).then((res) => {\n if ((res === null || res === void 0 ? void 0 : res.result) === 0 && res.data) {\n setDataSource(res.data);\n }\n });\n };\n const items = [\n {\n type: 'radio',\n label: '',\n defaultValue: 1,\n itemProps: {\n options: [\n { label: '日', value: 1 },\n { label: '月', value: 2 },\n { label: '年', value: 3 },\n ],\n },\n onChange: (e) => {\n const dateObj = {\n 1: moment().format('YYYY-MM-DD'),\n 2: moment().format('YYYY-MM'),\n 3: moment().format('YYYY'),\n };\n setRadioKey(e.target.value);\n // @ts-ignore\n setDate(dateObj[e.target.value]);\n },\n },\n ];\n const title = {\n 1: '本日报警',\n 2: '本月报警',\n 3: '本年报警',\n };\n // @ts-ignore\n const text = title[radioKey] || '';\n const getTitle = () => {\n return (React.createElement(\"div\", { className: \"titleWrap\" },\n React.createElement(\"div\", { className: `title-title` },\n \"\\u62A5\\u8B66\\u60C5\\u51B5--\",\n React.createElement(\"span\", { className: 'title-text' }, text)),\n React.createElement(\"div\", { className: \"radio\" },\n React.createElement(VmFilterItem, { items: items }))));\n };\n return (React.createElement(VmContainer, { headerContent: getTitle(), contentStyle: contentStyle || {} },\n (alarmData === null || alarmData === void 0 ? void 0 : alarmData.length) ? (React.createElement(List, { data: alarmData, getDetailData: getDetailData })) : (React.createElement(NoData, { style: { height: '100%', width: '60%' } })),\n visible && (React.createElement(VmModalTable, { width: 1000, visible: visible, columns: columns, dataSource: dataSource, onCancel: () => {\n setVisible(false);\n setDataSource([]);\n } }))));\n}\nexport default VmAlarmSituation;\n"],"mappings":";;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACjB,IAAMA,WAAW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M,EAAE,MAAM;MAAEvB,KAAK,EAAE;IAAM;EAAE,CAAC,CAAE,EACtOzB,OAAO,iBAAKrB,iBAAK,CAACC,aAAa,CAACqE,mBAAY,EAAE;IAAExB,KAAK,EAAE,IAAI;IAAEzB,OAAO,EAAEA,OAAO;IAAEsB,OAAO,EAAEA,OAAO;IAAEpB,UAAU,EAAEA,UAAU;IAAEgD,QAAQ,EAAE,oBAAM;MACjIjD,UAAU,CAAC,KAAK,CAAC;MACjBE,aAAa,CAAC,EAAE,CAAC;IACrB;EAAE,CAAC,CAAE,CAAC;AAClB;AAAC,eACcL,gBAAgB;AAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.css");
4
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":[],"sources":["vm-alarm-situation/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.less");
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["vm-alarm-situation/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Service = void 0;
7
+ var _ahooks = require("ahooks");
8
+ var _utils = require("@vtx/utils");
9
+ var handelData = function handelData() {
10
+ var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
11
+ // 横坐标、同比、环比
12
+ var xAxisData = [],
13
+ compareData = [],
14
+ sequentialData = [],
15
+ barChartData = {};
16
+ data.map(function (item) {
17
+ var _a;
18
+ var sdkDTO = item.sdkDTO,
19
+ _item$recordTime = item.recordTime,
20
+ recordTime = _item$recordTime === void 0 ? null : _item$recordTime,
21
+ _item$compareValue = item.compareValue,
22
+ compareValue = _item$compareValue === void 0 ? null : _item$compareValue,
23
+ _item$sequentialValue = item.sequentialValue,
24
+ sequentialValue = _item$sequentialValue === void 0 ? null : _item$sequentialValue;
25
+ xAxisData.push(recordTime);
26
+ compareData.push(compareValue);
27
+ sequentialData.push(sequentialValue);
28
+ (sdkDTO === null || sdkDTO === void 0 ? void 0 : sdkDTO.statistics) && ((_a = sdkDTO === null || sdkDTO === void 0 ? void 0 : sdkDTO.statistics) === null || _a === void 0 ? void 0 : _a.length) && (sdkDTO === null || sdkDTO === void 0 ? void 0 : sdkDTO.statistics.map(function (val) {
29
+ if (val.name && barChartData[val.name]) {
30
+ barChartData[val.name].push(val.num || null);
31
+ } else if (val.name && !barChartData[val.name]) {
32
+ barChartData[val.name] = [val.num || null];
33
+ }
34
+ }));
35
+ });
36
+ var alarmData = {
37
+ xAxisData: xAxisData,
38
+ compareData: compareData,
39
+ sequentialData: sequentialData,
40
+ barChartData: barChartData // 因子数据集合
41
+ };
42
+
43
+ return alarmData;
44
+ };
45
+ var Service = {
46
+ UseAlarmData: function UseAlarmData(_ref) {
47
+ var id = _ref.id,
48
+ publicUrlJCSS = _ref.publicUrlJCSS,
49
+ startTime = _ref.startTime,
50
+ endTime = _ref.endTime,
51
+ timeType = _ref.timeType;
52
+ // 报警情况
53
+ var _useRequest = (0, _ahooks.useRequest)(function () {
54
+ if (id) {
55
+ return _utils.request.get("".concat(publicUrlJCSS, "/api/device/deviceWarnTrend"), {
56
+ body: {
57
+ deviceId: id,
58
+ startTime: startTime,
59
+ endTime: endTime,
60
+ timeType: timeType
61
+ }
62
+ });
63
+ }
64
+ }, {
65
+ refreshDeps: [id, timeType]
66
+ }),
67
+ baseInfoRes = _useRequest.data;
68
+ var alarmData = handelData(baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data);
69
+ return {
70
+ alarmData: alarmData
71
+ };
72
+ }
73
+ };
74
+ exports.Service = Service;
75
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","names":["handelData","data","xAxisData","compareData","sequentialData","barChartData","map","item","_a","sdkDTO","recordTime","compareValue","sequentialValue","push","statistics","length","val","name","num","alarmData","Service","UseAlarmData","id","publicUrlJCSS","startTime","endTime","timeType","useRequest","http","get","body","deviceId","refreshDeps","baseInfoRes"],"sources":["vm-alarm-situation-pt/api.js"],"sourcesContent":["import { useRequest } from 'ahooks';\nimport { request as http } from '@vtx/utils';\nconst handelData = (data = []) => {\n // 横坐标、同比、环比\n let xAxisData = [], compareData = [], sequentialData = [], barChartData = {};\n data.map((item) => {\n var _a;\n const { sdkDTO, recordTime = null, compareValue = null, sequentialValue = null } = item;\n xAxisData.push(recordTime);\n compareData.push(compareValue);\n sequentialData.push(sequentialValue);\n (sdkDTO === null || sdkDTO === void 0 ? void 0 : sdkDTO.statistics) &&\n ((_a = sdkDTO === null || sdkDTO === void 0 ? void 0 : sdkDTO.statistics) === null || _a === void 0 ? void 0 : _a.length) &&\n (sdkDTO === null || sdkDTO === void 0 ? void 0 : sdkDTO.statistics.map((val) => {\n if (val.name && barChartData[val.name]) {\n barChartData[val.name].push(val.num || null);\n }\n else if (val.name && !barChartData[val.name]) {\n barChartData[val.name] = [val.num || null];\n }\n }));\n });\n const alarmData = {\n xAxisData,\n compareData,\n sequentialData,\n barChartData, // 因子数据集合\n };\n return alarmData;\n};\nconst Service = {\n UseAlarmData: ({ id, publicUrlJCSS, startTime, endTime, timeType }) => {\n // 报警情况\n const { data: baseInfoRes } = useRequest(() => {\n if (id) {\n return http.get(`${publicUrlJCSS}/api/device/deviceWarnTrend`, {\n body: { deviceId: id, startTime, endTime, timeType },\n });\n }\n }, { refreshDeps: [id, timeType] });\n const alarmData = handelData(baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data);\n return {\n alarmData,\n };\n },\n};\nexport { Service };\n"],"mappings":";;;;;;AAAA;AACA;AACA,IAAMA,UAAU,GAAG,SAAbA,UAAU,GAAkB;EAAA,IAAdC,IAAI,uEAAG,EAAE;EACzB;EACA,I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of 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
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
10
+ var _api = require("./api");
11
+ require("./style");
12
+ var _moment = _interopRequireDefault(require("moment"));
13
+ var _vmFilter = require("../vm-filter");
14
+ var _vmContainer = _interopRequireDefault(require("../vm-container"));
15
+ var _vmEmpty = _interopRequireDefault(require("../vm-empty"));
16
+ var _vmCharts = require("../vm-charts");
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
+ 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); }
19
+ 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; }
20
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
21
+ 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."); }
22
+ 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); }
23
+ 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; }
24
+ 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; } }
25
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
+ var defaultDate = (0, _moment["default"])();
27
+ function VmAlarmSituation(props) {
28
+ var _useSettings = (0, _useSettings2["default"])(),
29
+ theme = _useSettings.theme;
30
+ var _useState = (0, _react.useState)(defaultDate),
31
+ _useState2 = _slicedToArray(_useState, 2),
32
+ date = _useState2[0],
33
+ setDate = _useState2[1];
34
+ var _useState3 = (0, _react.useState)(1),
35
+ _useState4 = _slicedToArray(_useState3, 2),
36
+ radioKey = _useState4[0],
37
+ setRadioKey = _useState4[1];
38
+ var id = props.id,
39
+ publicUrlJCSS = props.publicUrlJCSS,
40
+ contentStyle = props.contentStyle;
41
+ var typeObj = {
42
+ 1: 'day',
43
+ 2: 'month',
44
+ 3: 'year'
45
+ };
46
+ var start = typeObj[radioKey];
47
+ var _Service$UseAlarmData = _api.Service.UseAlarmData({
48
+ id: id,
49
+ publicUrlJCSS: publicUrlJCSS,
50
+ startTime: (0, _moment["default"])(date).startOf(start).format('YYYY-MM-DD HH:mm:ss'),
51
+ // startTime: moment()
52
+ // .subtract(3, 'days')
53
+ // .format('YYYY-MM-DD 00:00:00'),
54
+ endTime: (0, _moment["default"])().format('YYYY-MM-DD HH:mm:ss'),
55
+ timeType: radioKey
56
+ }),
57
+ alarmData = _Service$UseAlarmData.alarmData;
58
+ var items = [{
59
+ type: 'radio',
60
+ label: '',
61
+ defaultValue: 1,
62
+ itemProps: {
63
+ options: [{
64
+ label: '日',
65
+ value: 1
66
+ }, {
67
+ label: '月',
68
+ value: 2
69
+ }, {
70
+ label: '年',
71
+ value: 3
72
+ }]
73
+ },
74
+ onChange: function onChange(e) {
75
+ var dateObj = {
76
+ 1: (0, _moment["default"])().format('YYYY-MM-DD'),
77
+ 2: (0, _moment["default"])().format('YYYY-MM'),
78
+ 3: (0, _moment["default"])().format('YYYY')
79
+ };
80
+ setRadioKey(e.target.value);
81
+ // @ts-ignore
82
+ setDate(dateObj[e.target.value]);
83
+ }
84
+ }];
85
+ var getTitle = function getTitle() {
86
+ return /*#__PURE__*/_react["default"].createElement("div", {
87
+ className: "titleWrap"
88
+ }, /*#__PURE__*/_react["default"].createElement("div", {
89
+ className: "title-title ".concat(theme)
90
+ }, "\u62A5\u8B66\u6982\u51B5"), /*#__PURE__*/_react["default"].createElement("div", {
91
+ className: "radio"
92
+ }, /*#__PURE__*/_react["default"].createElement(_vmFilter.VmFilterItem, {
93
+ items: items,
94
+ style: {
95
+ marginBottom: '0'
96
+ }
97
+ })));
98
+ };
99
+ var _ref = alarmData || {},
100
+ xAxisData = _ref.xAxisData,
101
+ sequentialData = _ref.sequentialData,
102
+ compareData = _ref.compareData,
103
+ _ref$barChartData = _ref.barChartData,
104
+ barChartData = _ref$barChartData === void 0 ? {} : _ref$barChartData;
105
+ var seriesData = [];
106
+ for (var key in barChartData) {
107
+ seriesData.push({
108
+ type: 'bar',
109
+ name: "".concat(key, "\u62A5\u8B66\u6570\u91CF"),
110
+ data: barChartData[key] || [],
111
+ stack: 'factorNum',
112
+ barWidth: 30
113
+ });
114
+ }
115
+ seriesData.push.apply(seriesData, [{
116
+ type: 'line',
117
+ name: '总数环比',
118
+ data: sequentialData,
119
+ smooth: false
120
+ }, {
121
+ type: 'line',
122
+ name: '总数同比',
123
+ data: compareData,
124
+ smooth: false
125
+ }]);
126
+ var chartsParams = {
127
+ xAxis: xAxisData || [],
128
+ dataZoomShow: true,
129
+ data: seriesData
130
+ };
131
+ return /*#__PURE__*/_react["default"].createElement(_vmContainer["default"], {
132
+ headerContent: getTitle(),
133
+ contentStyle: contentStyle || {}
134
+ }, (xAxisData === null || xAxisData === void 0 ? void 0 : xAxisData.length) ? /*#__PURE__*/_react["default"].createElement(_vmCharts.Line, Object.assign({}, chartsParams, {
135
+ style: {
136
+ height: 300
137
+ }
138
+ })) : /*#__PURE__*/_react["default"].createElement(_vmEmpty["default"], {
139
+ style: {
140
+ width: '60%'
141
+ }
142
+ }));
143
+ }
144
+ var _default = VmAlarmSituation;
145
+ exports["default"] = _default;
146
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["defaultDate","moment","VmAlarmSituation","props","useSettings","theme","useState","date","setDate","radioKey","setRadioKey","id","publicUrlJCSS","contentStyle","typeObj","start","Service","UseAlarmData","startTime","startOf","format","endTime","timeType","alarmData","items","type","label","defaultValue","itemProps","options","value","onChange","e","dateObj","target","getTitle","React","createElement","className","VmFilterItem","style","marginBottom","xAxisData","sequentialData","compareData","barChartData","seriesData","key","push","name","data","stack","barWidth","smooth","chartsParams","xAxis","dataZoomShow","VmContainer","headerContent","length","Line","Object","assign","height","MyEmpty","width"],"sources":["vm-alarm-situation-pt/index.js"],"sourcesContent":["import React, { useState } from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport { Service } from './api';\nimport './style';\nimport moment from 'moment';\nimport { VmFilterItem } from '../vm-filter';\nimport VmContainer from '../vm-container';\nimport MyEmpty from '../vm-empty';\nimport { Line } from '../vm-charts';\nconst defaultDate = moment();\nfunction VmAlarmSituation(props) {\n const { theme } = useSettings();\n const [date, setDate] = useState(defaultDate);\n const [radioKey, setRadioKey] = useState(1);\n const { id, publicUrlJCSS, contentStyle } = props;\n const typeObj = {\n 1: 'day',\n 2: 'month',\n 3: 'year',\n };\n const start = typeObj[radioKey];\n const { alarmData } = Service.UseAlarmData({\n id,\n publicUrlJCSS,\n startTime: moment(date)\n .startOf(start)\n .format('YYYY-MM-DD HH:mm:ss'),\n // startTime: moment()\n // .subtract(3, 'days')\n // .format('YYYY-MM-DD 00:00:00'),\n endTime: moment().format('YYYY-MM-DD HH:mm:ss'),\n timeType: radioKey,\n });\n const items = [\n {\n type: 'radio',\n label: '',\n defaultValue: 1,\n itemProps: {\n options: [\n { label: '日', value: 1 },\n { label: '月', value: 2 },\n { label: '年', value: 3 },\n ],\n },\n onChange: (e) => {\n const dateObj = {\n 1: moment().format('YYYY-MM-DD'),\n 2: moment().format('YYYY-MM'),\n 3: moment().format('YYYY'),\n };\n setRadioKey(e.target.value);\n // @ts-ignore\n setDate(dateObj[e.target.value]);\n },\n },\n ];\n const getTitle = () => {\n return (React.createElement(\"div\", { className: \"titleWrap\" },\n React.createElement(\"div\", { className: `title-title ${theme}` }, \"\\u62A5\\u8B66\\u6982\\u51B5\"),\n React.createElement(\"div\", { className: \"radio\" },\n React.createElement(VmFilterItem, { items: items, style: { marginBottom: '0' } }))));\n };\n const { xAxisData, sequentialData, compareData, barChartData = {} } = alarmData || {};\n let seriesData = [];\n for (let key in barChartData) {\n seriesData.push({\n type: 'bar',\n name: `${key}报警数量`,\n data: barChartData[key] || [],\n stack: 'factorNum',\n barWidth: 30,\n });\n }\n seriesData.push(...[\n {\n type: 'line',\n name: '总数环比',\n data: sequentialData,\n smooth: false,\n },\n {\n type: 'line',\n name: '总数同比',\n data: compareData,\n smooth: false,\n },\n ]);\n const chartsParams = {\n xAxis: xAxisData || [],\n dataZoomShow: true,\n data: seriesData,\n };\n return (React.createElement(VmContainer, { headerContent: getTitle(), contentStyle: contentStyle || {} }, (xAxisData === null || xAxisData === void 0 ? void 0 : xAxisData.length) ? (React.createElement(Line, Object.assign({}, chartsParams, { style: { height: 300 } }))) : (React.createElement(MyEmpty, { style: { width: '60%' } }))));\n}\nexport default VmAlarmSituation;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAoC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACpC,IAAMA,WAAW,GAAG,IAAAC,kBAAM,GAAE;AAC5B,SAASC,gBAAgB,CAACC,KAAK,EAAE;EAC7B,mBAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,gBAAwB,IAAAC,eAAQ,EAACN,WAAW,CAAC;IAAA;IAAtCO,IAAI;IAAEC,OAAO;EACpB,iBAAgC,IAAAF,eAAQ,EAAC,CAAC,CAAC;IAAA;IAApCG,QAAQ;IAAEC,WAAW;EAC5B,IAAQC,EAAE,GAAkCR,KAAK,CAAzCQ,EAAE;IAAEC,aAAa,GAAmBT,KAAK,CAArCS,aAAa;IAAEC,YAAY,GAAKV,KAAK,CAAtBU,YAAY;EACvC,IAAMC,OAAO,GAAG;IACZ,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,OAAO;IACV,CAAC,EAAE;EACP,CAAC;EACD,IAAMC,KAAK,GAAGD,OAAO,CAACL,QAAQ,CAAC;EAC/B,4BAAsBO,YAAO,CAACC,YAAY,CAAC;MACvCN,EAAE,EAAFA,EAAE;MACFC,aAAa,EAAbA,aAAa;MACbM,SAAS,EAAE,IAAAjB,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AEtB,YAAY,EAAEA,YAAY,IAAI,CAAC;EAAE,CAAC,EAAE,CAAC6B,SAAS,KAAK,IAAI,IAAIA,SAAS,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,SAAS,CAACiB,MAAM,iBAAKvB,iBAAK,CAACC,aAAa,CAACuB,cAAI,EAAEC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAER,YAAY,EAAE;IAAEd,KAAK,EAAE;MAAEuB,MAAM,EAAE;IAAI;EAAE,CAAC,CAAC,CAAC,gBAAK3B,iBAAK,CAACC,aAAa,CAAC2B,mBAAO,EAAE;IAAExB,KAAK,EAAE;MAAEyB,KAAK,EAAE;IAAM;EAAE,CAAC,CAAE,CAAC;AAChV;AAAC,eACc/D,gBAAgB;AAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.css");
4
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":[],"sources":["vm-alarm-situation-pt/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.less");
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["vm-alarm-situation-pt/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}