Package not found. Please check the package name and try again.

@vtx/modals2 2.10.19 → 2.10.20

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 (888) hide show
  1. package/lib/vm-common-components/components/Compare/style/index.css +2 -2
  2. package/lib/vm-common-components/components/Compare/style/index.less +2 -2
  3. package/package.json +1 -1
  4. package/lib/index.js +0 -126
  5. package/lib/index.js.map +0 -1
  6. package/lib/style/css.js +0 -16
  7. package/lib/style/css.js.map +0 -1
  8. package/lib/style/index.js +0 -16
  9. package/lib/style/index.js.map +0 -1
  10. package/lib/typings.d.ts +0 -14
  11. package/lib/util/index.js +0 -25
  12. package/lib/util/index.js.map +0 -1
  13. package/lib/vm-alarm-info/Components/AlarmRecord.js +0 -83
  14. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +0 -1
  15. package/lib/vm-alarm-info/Components/AlarmStatistics.js +0 -99
  16. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +0 -1
  17. package/lib/vm-alarm-info/Components/AlarmTrend.js +0 -203
  18. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +0 -1
  19. package/lib/vm-alarm-info/Components/CurrentAlarm.js +0 -41
  20. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +0 -1
  21. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +0 -87
  22. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +0 -1
  23. package/lib/vm-alarm-info/api.js +0 -169
  24. package/lib/vm-alarm-info/api.js.map +0 -1
  25. package/lib/vm-alarm-info/index.js +0 -95
  26. package/lib/vm-alarm-info/index.js.map +0 -1
  27. package/lib/vm-alarm-info/style/css.js +0 -4
  28. package/lib/vm-alarm-info/style/css.js.map +0 -1
  29. package/lib/vm-alarm-info/style/index.js +0 -4
  30. package/lib/vm-alarm-info/style/index.js.map +0 -1
  31. package/lib/vm-alarm-situation/api.js +0 -87
  32. package/lib/vm-alarm-situation/api.js.map +0 -1
  33. package/lib/vm-alarm-situation/index.js +0 -212
  34. package/lib/vm-alarm-situation/index.js.map +0 -1
  35. package/lib/vm-alarm-situation/style/css.js +0 -4
  36. package/lib/vm-alarm-situation/style/css.js.map +0 -1
  37. package/lib/vm-alarm-situation/style/index.js +0 -4
  38. package/lib/vm-alarm-situation/style/index.js.map +0 -1
  39. package/lib/vm-alarm-situation-pt/api.js +0 -75
  40. package/lib/vm-alarm-situation-pt/api.js.map +0 -1
  41. package/lib/vm-alarm-situation-pt/index.js +0 -146
  42. package/lib/vm-alarm-situation-pt/index.js.map +0 -1
  43. package/lib/vm-alarm-situation-pt/style/css.js +0 -4
  44. package/lib/vm-alarm-situation-pt/style/css.js.map +0 -1
  45. package/lib/vm-alarm-situation-pt/style/index.js +0 -4
  46. package/lib/vm-alarm-situation-pt/style/index.js.map +0 -1
  47. package/lib/vm-analysis-comparison/api.js +0 -178
  48. package/lib/vm-analysis-comparison/api.js.map +0 -1
  49. package/lib/vm-analysis-comparison/index.js +0 -368
  50. package/lib/vm-analysis-comparison/index.js.map +0 -1
  51. package/lib/vm-analysis-comparison/style/css.js +0 -4
  52. package/lib/vm-analysis-comparison/style/css.js.map +0 -1
  53. package/lib/vm-analysis-comparison/style/index.js +0 -4
  54. package/lib/vm-analysis-comparison/style/index.js.map +0 -1
  55. package/lib/vm-appraisal-info/AppraisalBase.js +0 -57
  56. package/lib/vm-appraisal-info/AppraisalBase.js.map +0 -1
  57. package/lib/vm-appraisal-info/AppraisalTop5.js +0 -69
  58. package/lib/vm-appraisal-info/AppraisalTop5.js.map +0 -1
  59. package/lib/vm-appraisal-info/List.js +0 -57
  60. package/lib/vm-appraisal-info/List.js.map +0 -1
  61. package/lib/vm-appraisal-info/ListKh.js +0 -154
  62. package/lib/vm-appraisal-info/ListKh.js.map +0 -1
  63. package/lib/vm-appraisal-info/ListZg.js +0 -159
  64. package/lib/vm-appraisal-info/ListZg.js.map +0 -1
  65. package/lib/vm-appraisal-info/Wtlx.js +0 -96
  66. package/lib/vm-appraisal-info/Wtlx.js.map +0 -1
  67. package/lib/vm-appraisal-info/Zgxxhz.js +0 -47
  68. package/lib/vm-appraisal-info/Zgxxhz.js.map +0 -1
  69. package/lib/vm-appraisal-info/api.js +0 -164
  70. package/lib/vm-appraisal-info/api.js.map +0 -1
  71. package/lib/vm-appraisal-info/index.js +0 -133
  72. package/lib/vm-appraisal-info/index.js.map +0 -1
  73. package/lib/vm-appraisal-info/style/css.js +0 -4
  74. package/lib/vm-appraisal-info/style/css.js.map +0 -1
  75. package/lib/vm-appraisal-info/style/index.js +0 -4
  76. package/lib/vm-appraisal-info/style/index.js.map +0 -1
  77. package/lib/vm-base-list/OpenArrow.js +0 -42
  78. package/lib/vm-base-list/OpenArrow.js.map +0 -1
  79. package/lib/vm-base-list/index.js +0 -86
  80. package/lib/vm-base-list/index.js.map +0 -1
  81. package/lib/vm-base-list/style/css.js +0 -4
  82. package/lib/vm-base-list/style/css.js.map +0 -1
  83. package/lib/vm-base-list/style/index.js +0 -4
  84. package/lib/vm-base-list/style/index.js.map +0 -1
  85. package/lib/vm-button/index.js +0 -27
  86. package/lib/vm-button/index.js.map +0 -1
  87. package/lib/vm-button/style/css.js +0 -4
  88. package/lib/vm-button/style/css.js.map +0 -1
  89. package/lib/vm-button/style/index.js +0 -4
  90. package/lib/vm-button/style/index.js.map +0 -1
  91. package/lib/vm-charts/Distribute1.js +0 -137
  92. package/lib/vm-charts/Distribute1.js.map +0 -1
  93. package/lib/vm-charts/Gauge1.js +0 -149
  94. package/lib/vm-charts/Gauge1.js.map +0 -1
  95. package/lib/vm-charts/Line.js +0 -215
  96. package/lib/vm-charts/Line.js.map +0 -1
  97. package/lib/vm-charts/Line1.js +0 -96
  98. package/lib/vm-charts/Line1.js.map +0 -1
  99. package/lib/vm-charts/Pie.js +0 -117
  100. package/lib/vm-charts/Pie.js.map +0 -1
  101. package/lib/vm-charts/index.js +0 -42
  102. package/lib/vm-charts/index.js.map +0 -1
  103. package/lib/vm-checkbox/index.js +0 -34
  104. package/lib/vm-checkbox/index.js.map +0 -1
  105. package/lib/vm-checkbox/style/css.js +0 -4
  106. package/lib/vm-checkbox/style/css.js.map +0 -1
  107. package/lib/vm-checkbox/style/index.js +0 -4
  108. package/lib/vm-checkbox/style/index.js.map +0 -1
  109. package/lib/vm-common-components/common/index.js +0 -28
  110. package/lib/vm-common-components/common/index.js.map +0 -1
  111. package/lib/vm-common-components/common/vm-modal/index.js +0 -35
  112. package/lib/vm-common-components/common/vm-modal/index.js.map +0 -1
  113. package/lib/vm-common-components/common/vm-modal/style/css.js +0 -4
  114. package/lib/vm-common-components/common/vm-modal/style/css.js.map +0 -1
  115. package/lib/vm-common-components/common/vm-modal/style/index.js +0 -4
  116. package/lib/vm-common-components/common/vm-modal/style/index.js.map +0 -1
  117. package/lib/vm-common-components/common/vm-select/index.js +0 -22
  118. package/lib/vm-common-components/common/vm-select/index.js.map +0 -1
  119. package/lib/vm-common-components/common/vm-select/style/css.js +0 -4
  120. package/lib/vm-common-components/common/vm-select/style/css.js.map +0 -1
  121. package/lib/vm-common-components/common/vm-select/style/index.js +0 -4
  122. package/lib/vm-common-components/common/vm-select/style/index.js.map +0 -1
  123. package/lib/vm-common-components/common/vm-tabs/index.js +0 -75
  124. package/lib/vm-common-components/common/vm-tabs/index.js.map +0 -1
  125. package/lib/vm-common-components/common/vm-tabs/style/css.js +0 -4
  126. package/lib/vm-common-components/common/vm-tabs/style/css.js.map +0 -1
  127. package/lib/vm-common-components/common/vm-tabs/style/index.js +0 -4
  128. package/lib/vm-common-components/common/vm-tabs/style/index.js.map +0 -1
  129. package/lib/vm-common-components/components/Compare/index.js +0 -54
  130. package/lib/vm-common-components/components/Compare/index.js.map +0 -1
  131. package/lib/vm-common-components/components/Compare/style/css.js +0 -4
  132. package/lib/vm-common-components/components/Compare/style/css.js.map +0 -1
  133. package/lib/vm-common-components/components/Compare/style/index.js +0 -4
  134. package/lib/vm-common-components/components/Compare/style/index.js.map +0 -1
  135. package/lib/vm-common-components/components/ImagesGroup/index.js +0 -30
  136. package/lib/vm-common-components/components/ImagesGroup/index.js.map +0 -1
  137. package/lib/vm-common-components/components/ImagesGroup/style/css.js +0 -4
  138. package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +0 -1
  139. package/lib/vm-common-components/components/ImagesGroup/style/index.js +0 -4
  140. package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +0 -1
  141. package/lib/vm-common-components/components/RadionButton/index.js +0 -44
  142. package/lib/vm-common-components/components/RadionButton/index.js.map +0 -1
  143. package/lib/vm-common-components/components/RadionButton/style/css.js +0 -4
  144. package/lib/vm-common-components/components/RadionButton/style/css.js.map +0 -1
  145. package/lib/vm-common-components/components/RadionButton/style/index.js +0 -4
  146. package/lib/vm-common-components/components/RadionButton/style/index.js.map +0 -1
  147. package/lib/vm-common-components/components/Statistics/index.js +0 -177
  148. package/lib/vm-common-components/components/Statistics/index.js.map +0 -1
  149. package/lib/vm-common-components/components/Statistics/style/css.js +0 -4
  150. package/lib/vm-common-components/components/Statistics/style/css.js.map +0 -1
  151. package/lib/vm-common-components/components/Statistics/style/index.js +0 -4
  152. package/lib/vm-common-components/components/Statistics/style/index.js.map +0 -1
  153. package/lib/vm-common-components/components/SubTitle/index.js +0 -61
  154. package/lib/vm-common-components/components/SubTitle/index.js.map +0 -1
  155. package/lib/vm-common-components/components/SubTitle/style/css.js +0 -2
  156. package/lib/vm-common-components/components/SubTitle/style/css.js.map +0 -1
  157. package/lib/vm-common-components/components/SubTitle/style/index.js +0 -2
  158. package/lib/vm-common-components/components/SubTitle/style/index.js.map +0 -1
  159. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +0 -44
  160. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +0 -1
  161. package/lib/vm-common-components/components/index.js +0 -86
  162. package/lib/vm-common-components/components/index.js.map +0 -1
  163. package/lib/vm-common-components/components/vm-alarm-title/index.js +0 -31
  164. package/lib/vm-common-components/components/vm-alarm-title/index.js.map +0 -1
  165. package/lib/vm-common-components/components/vm-alarm-title/style/css.js +0 -4
  166. package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +0 -1
  167. package/lib/vm-common-components/components/vm-alarm-title/style/index.js +0 -4
  168. package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +0 -1
  169. package/lib/vm-common-components/components/vm-chart/index.js +0 -388
  170. package/lib/vm-common-components/components/vm-chart/index.js.map +0 -1
  171. package/lib/vm-common-components/components/vm-collect/api.js +0 -35
  172. package/lib/vm-common-components/components/vm-collect/api.js.map +0 -1
  173. package/lib/vm-common-components/components/vm-collect/index.js +0 -66
  174. package/lib/vm-common-components/components/vm-collect/index.js.map +0 -1
  175. package/lib/vm-common-components/components/vm-collect/style/css.js +0 -4
  176. package/lib/vm-common-components/components/vm-collect/style/css.js.map +0 -1
  177. package/lib/vm-common-components/components/vm-collect/style/index.js +0 -4
  178. package/lib/vm-common-components/components/vm-collect/style/index.js.map +0 -1
  179. package/lib/vm-common-components/components/vm-container/index.js +0 -48
  180. package/lib/vm-common-components/components/vm-container/index.js.map +0 -1
  181. package/lib/vm-common-components/components/vm-container/style/css.js +0 -4
  182. package/lib/vm-common-components/components/vm-container/style/css.js.map +0 -1
  183. package/lib/vm-common-components/components/vm-container/style/index.js +0 -4
  184. package/lib/vm-common-components/components/vm-container/style/index.js.map +0 -1
  185. package/lib/vm-common-components/components/vm-nodata/index.js +0 -73
  186. package/lib/vm-common-components/components/vm-nodata/index.js.map +0 -1
  187. package/lib/vm-common-components/components/vm-nodata/style/css.js +0 -4
  188. package/lib/vm-common-components/components/vm-nodata/style/css.js.map +0 -1
  189. package/lib/vm-common-components/components/vm-nodata/style/index.js +0 -4
  190. package/lib/vm-common-components/components/vm-nodata/style/index.js.map +0 -1
  191. package/lib/vm-common-components/components/vm-water-wave/index.js +0 -161
  192. package/lib/vm-common-components/components/vm-water-wave/index.js.map +0 -1
  193. package/lib/vm-common-components/index.js +0 -331
  194. package/lib/vm-common-components/index.js.map +0 -1
  195. package/lib/vm-common-components/style/css.js +0 -4
  196. package/lib/vm-common-components/style/css.js.map +0 -1
  197. package/lib/vm-common-components/style/index.js +0 -4
  198. package/lib/vm-common-components/style/index.js.map +0 -1
  199. package/lib/vm-container/index.js +0 -35
  200. package/lib/vm-container/index.js.map +0 -1
  201. package/lib/vm-container/style/css.js +0 -4
  202. package/lib/vm-container/style/css.js.map +0 -1
  203. package/lib/vm-container/style/index.js +0 -4
  204. package/lib/vm-container/style/index.js.map +0 -1
  205. package/lib/vm-correlation-comparison/api.js +0 -237
  206. package/lib/vm-correlation-comparison/api.js.map +0 -1
  207. package/lib/vm-correlation-comparison/index.js +0 -309
  208. package/lib/vm-correlation-comparison/index.js.map +0 -1
  209. package/lib/vm-correlation-comparison/style/css.js +0 -4
  210. package/lib/vm-correlation-comparison/style/css.js.map +0 -1
  211. package/lib/vm-correlation-comparison/style/index.js +0 -4
  212. package/lib/vm-correlation-comparison/style/index.js.map +0 -1
  213. package/lib/vm-empty/index.js +0 -45
  214. package/lib/vm-empty/index.js.map +0 -1
  215. package/lib/vm-empty/style/css.js +0 -4
  216. package/lib/vm-empty/style/css.js.map +0 -1
  217. package/lib/vm-empty/style/index.js +0 -4
  218. package/lib/vm-empty/style/index.js.map +0 -1
  219. package/lib/vm-filter/index.js +0 -182
  220. package/lib/vm-filter/index.js.map +0 -1
  221. package/lib/vm-filter/style/css.js +0 -4
  222. package/lib/vm-filter/style/css.js.map +0 -1
  223. package/lib/vm-filter/style/index.js +0 -4
  224. package/lib/vm-filter/style/index.js.map +0 -1
  225. package/lib/vm-hooks/useSettings.js +0 -31
  226. package/lib/vm-hooks/useSettings.js.map +0 -1
  227. package/lib/vm-image-text/index.js +0 -42
  228. package/lib/vm-image-text/index.js.map +0 -1
  229. package/lib/vm-image-text/style/css.js +0 -4
  230. package/lib/vm-image-text/style/css.js.map +0 -1
  231. package/lib/vm-image-text/style/index.js +0 -4
  232. package/lib/vm-image-text/style/index.js.map +0 -1
  233. package/lib/vm-info-collection/index.js +0 -45
  234. package/lib/vm-info-collection/index.js.map +0 -1
  235. package/lib/vm-info-collection/style/css.js +0 -4
  236. package/lib/vm-info-collection/style/css.js.map +0 -1
  237. package/lib/vm-info-collection/style/index.js +0 -4
  238. package/lib/vm-info-collection/style/index.js.map +0 -1
  239. package/lib/vm-map/index.js +0 -209
  240. package/lib/vm-map/index.js.map +0 -1
  241. package/lib/vm-map/mapStyle.js +0 -4730
  242. package/lib/vm-map/mapStyle.js.map +0 -1
  243. package/lib/vm-modal-table/index.js +0 -35
  244. package/lib/vm-modal-table/index.js.map +0 -1
  245. package/lib/vm-modal-table/style/css.js +0 -4
  246. package/lib/vm-modal-table/style/css.js.map +0 -1
  247. package/lib/vm-modal-table/style/index.js +0 -4
  248. package/lib/vm-modal-table/style/index.js.map +0 -1
  249. package/lib/vm-nodata/index.js +0 -26
  250. package/lib/vm-nodata/index.js.map +0 -1
  251. package/lib/vm-radio/index.js +0 -29
  252. package/lib/vm-radio/index.js.map +0 -1
  253. package/lib/vm-radio/style/css.js +0 -4
  254. package/lib/vm-radio/style/css.js.map +0 -1
  255. package/lib/vm-radio/style/index.js +0 -4
  256. package/lib/vm-radio/style/index.js.map +0 -1
  257. package/lib/vm-real-time-monitor/api.js +0 -194
  258. package/lib/vm-real-time-monitor/api.js.map +0 -1
  259. package/lib/vm-real-time-monitor/index.js +0 -366
  260. package/lib/vm-real-time-monitor/index.js.map +0 -1
  261. package/lib/vm-real-time-monitor/style/css.js +0 -4
  262. package/lib/vm-real-time-monitor/style/css.js.map +0 -1
  263. package/lib/vm-real-time-monitor/style/index.js +0 -4
  264. package/lib/vm-real-time-monitor/style/index.js.map +0 -1
  265. package/lib/vm-repair-maintain/RmInfoSummary.js +0 -62
  266. package/lib/vm-repair-maintain/RmInfoSummary.js.map +0 -1
  267. package/lib/vm-repair-maintain/RmMonthTrend.js +0 -104
  268. package/lib/vm-repair-maintain/RmMonthTrend.js.map +0 -1
  269. package/lib/vm-repair-maintain/RmRecord.js +0 -151
  270. package/lib/vm-repair-maintain/RmRecord.js.map +0 -1
  271. package/lib/vm-repair-maintain/RmType.js +0 -104
  272. package/lib/vm-repair-maintain/RmType.js.map +0 -1
  273. package/lib/vm-repair-maintain/api.js +0 -95
  274. package/lib/vm-repair-maintain/api.js.map +0 -1
  275. package/lib/vm-repair-maintain/index.js +0 -56
  276. package/lib/vm-repair-maintain/index.js.map +0 -1
  277. package/lib/vm-repair-maintain/style/css.js +0 -4
  278. package/lib/vm-repair-maintain/style/css.js.map +0 -1
  279. package/lib/vm-repair-maintain/style/index.js +0 -4
  280. package/lib/vm-repair-maintain/style/index.js.map +0 -1
  281. package/lib/vm-round-content/index.js +0 -68
  282. package/lib/vm-round-content/index.js.map +0 -1
  283. package/lib/vm-round-content/style/css.js +0 -4
  284. package/lib/vm-round-content/style/css.js.map +0 -1
  285. package/lib/vm-round-content/style/index.js +0 -4
  286. package/lib/vm-round-content/style/index.js.map +0 -1
  287. package/lib/vm-row-col/index.js +0 -28
  288. package/lib/vm-row-col/index.js.map +0 -1
  289. package/lib/vm-row-col/style/css.js +0 -4
  290. package/lib/vm-row-col/style/css.js.map +0 -1
  291. package/lib/vm-row-col/style/index.js +0 -4
  292. package/lib/vm-row-col/style/index.js.map +0 -1
  293. package/lib/vm-select-device/index.js +0 -90
  294. package/lib/vm-select-device/index.js.map +0 -1
  295. package/lib/vm-select-device/style/css.js +0 -4
  296. package/lib/vm-select-device/style/css.js.map +0 -1
  297. package/lib/vm-select-device/style/index.js +0 -4
  298. package/lib/vm-select-device/style/index.js.map +0 -1
  299. package/lib/vm-sub-tabs/index.js +0 -43
  300. package/lib/vm-sub-tabs/index.js.map +0 -1
  301. package/lib/vm-sub-tabs/style/css.js +0 -4
  302. package/lib/vm-sub-tabs/style/css.js.map +0 -1
  303. package/lib/vm-sub-tabs/style/index.js +0 -4
  304. package/lib/vm-sub-tabs/style/index.js.map +0 -1
  305. package/lib/vm-sub-title/index.js +0 -28
  306. package/lib/vm-sub-title/index.js.map +0 -1
  307. package/lib/vm-sub-title/style/css.js +0 -4
  308. package/lib/vm-sub-title/style/css.js.map +0 -1
  309. package/lib/vm-sub-title/style/index.js +0 -4
  310. package/lib/vm-sub-title/style/index.js.map +0 -1
  311. package/lib/vm-table/index.js +0 -200
  312. package/lib/vm-table/index.js.map +0 -1
  313. package/lib/vm-table/style/css.js +0 -4
  314. package/lib/vm-table/style/css.js.map +0 -1
  315. package/lib/vm-table/style/index.js +0 -4
  316. package/lib/vm-table/style/index.js.map +0 -1
  317. package/lib/vm-time-line/index.js +0 -25
  318. package/lib/vm-time-line/index.js.map +0 -1
  319. package/lib/vm-time-line/style/css.js +0 -4
  320. package/lib/vm-time-line/style/css.js.map +0 -1
  321. package/lib/vm-time-line/style/index.js +0 -4
  322. package/lib/vm-time-line/style/index.js.map +0 -1
  323. package/lib/vm-video/api.js +0 -30
  324. package/lib/vm-video/api.js.map +0 -1
  325. package/lib/vm-video/index.js +0 -37
  326. package/lib/vm-video/index.js.map +0 -1
  327. package/lib/vtx-base-modal/api.js +0 -35
  328. package/lib/vtx-base-modal/api.js.map +0 -1
  329. package/lib/vtx-base-modal/index.js +0 -210
  330. package/lib/vtx-base-modal/index.js.map +0 -1
  331. package/lib/vtx-base-modal/style/css.js +0 -4
  332. package/lib/vtx-base-modal/style/css.js.map +0 -1
  333. package/lib/vtx-base-modal/style/index.js +0 -4
  334. package/lib/vtx-base-modal/style/index.js.map +0 -1
  335. package/lib/vtx-base-modal-hz/index.js +0 -40
  336. package/lib/vtx-base-modal-hz/index.js.map +0 -1
  337. package/lib/vtx-car-modal/api.js +0 -611
  338. package/lib/vtx-car-modal/api.js.map +0 -1
  339. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +0 -198
  340. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +0 -1
  341. package/lib/vtx-car-modal/components/AlarmInfo/List.js +0 -186
  342. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +0 -1
  343. package/lib/vtx-car-modal/components/AlarmInfo/index.js +0 -139
  344. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +0 -1
  345. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +0 -66
  346. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +0 -1
  347. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +0 -83
  348. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +0 -1
  349. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +0 -51
  350. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +0 -1
  351. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +0 -68
  352. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +0 -1
  353. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +0 -115
  354. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +0 -1
  355. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +0 -116
  356. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +0 -1
  357. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +0 -56
  358. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +0 -1
  359. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +0 -102
  360. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +0 -1
  361. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +0 -138
  362. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +0 -1
  363. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +0 -126
  364. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +0 -1
  365. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +0 -137
  366. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +0 -1
  367. package/lib/vtx-car-modal/components/BaseInfo/index.js +0 -231
  368. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +0 -1
  369. package/lib/vtx-car-modal/components/Maintenance/index.js +0 -134
  370. package/lib/vtx-car-modal/components/Maintenance/index.js.map +0 -1
  371. package/lib/vtx-car-modal/components/OilConsumption/List.js +0 -88
  372. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +0 -1
  373. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +0 -100
  374. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +0 -1
  375. package/lib/vtx-car-modal/components/OilConsumption/index.js +0 -140
  376. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +0 -1
  377. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +0 -70
  378. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +0 -1
  379. package/lib/vtx-car-modal/components/StaticInfo/List.js +0 -92
  380. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +0 -1
  381. package/lib/vtx-car-modal/components/StaticInfo/index.js +0 -99
  382. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +0 -1
  383. package/lib/vtx-car-modal/components/WaterConsumption/index.js +0 -118
  384. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +0 -1
  385. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +0 -122
  386. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +0 -1
  387. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +0 -317
  388. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +0 -1
  389. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +0 -249
  390. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +0 -1
  391. package/lib/vtx-car-modal/components/WorkInfo/index.js +0 -35
  392. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +0 -1
  393. package/lib/vtx-car-modal/components/index.js +0 -56
  394. package/lib/vtx-car-modal/components/index.js.map +0 -1
  395. package/lib/vtx-car-modal/index.js +0 -128
  396. package/lib/vtx-car-modal/index.js.map +0 -1
  397. package/lib/vtx-car-modal/style/css.js +0 -12
  398. package/lib/vtx-car-modal/style/css.js.map +0 -1
  399. package/lib/vtx-car-modal/style/index.js +0 -12
  400. package/lib/vtx-car-modal/style/index.js.map +0 -1
  401. package/lib/vtx-cc-cp-modal/api.js +0 -308
  402. package/lib/vtx-cc-cp-modal/api.js.map +0 -1
  403. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +0 -153
  404. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +0 -1
  405. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +0 -104
  406. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +0 -1
  407. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +0 -135
  408. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +0 -1
  409. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +0 -35
  410. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +0 -1
  411. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +0 -77
  412. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +0 -1
  413. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +0 -45
  414. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +0 -1
  415. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +0 -49
  416. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +0 -1
  417. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +0 -126
  418. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +0 -1
  419. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +0 -67
  420. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +0 -1
  421. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +0 -131
  422. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +0 -1
  423. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +0 -104
  424. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +0 -1
  425. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +0 -135
  426. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +0 -1
  427. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +0 -35
  428. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +0 -1
  429. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +0 -125
  430. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +0 -1
  431. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +0 -111
  432. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +0 -1
  433. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +0 -118
  434. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +0 -1
  435. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +0 -84
  436. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +0 -1
  437. package/lib/vtx-cc-cp-modal/components/index.js +0 -42
  438. package/lib/vtx-cc-cp-modal/components/index.js.map +0 -1
  439. package/lib/vtx-cc-cp-modal/index.js +0 -67
  440. package/lib/vtx-cc-cp-modal/index.js.map +0 -1
  441. package/lib/vtx-cc-cp-modal/style/css.js +0 -5
  442. package/lib/vtx-cc-cp-modal/style/css.js.map +0 -1
  443. package/lib/vtx-cc-cp-modal/style/index.js +0 -5
  444. package/lib/vtx-cc-cp-modal/style/index.js.map +0 -1
  445. package/lib/vtx-cc-cp-modal/type.js +0 -6
  446. package/lib/vtx-cc-cp-modal/type.js.map +0 -1
  447. package/lib/vtx-cp-modal/api.js +0 -336
  448. package/lib/vtx-cp-modal/api.js.map +0 -1
  449. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +0 -170
  450. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +0 -1
  451. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +0 -106
  452. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +0 -1
  453. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +0 -164
  454. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +0 -1
  455. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +0 -46
  456. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +0 -1
  457. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +0 -110
  458. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +0 -1
  459. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +0 -52
  460. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +0 -1
  461. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +0 -123
  462. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +0 -1
  463. package/lib/vtx-cp-modal/components/BaseInfo/index.js +0 -88
  464. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +0 -1
  465. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +0 -196
  466. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +0 -1
  467. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +0 -106
  468. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +0 -1
  469. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +0 -164
  470. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +0 -1
  471. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +0 -46
  472. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +0 -1
  473. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +0 -128
  474. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +0 -1
  475. package/lib/vtx-cp-modal/components/SyInfo/index.js +0 -345
  476. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +0 -1
  477. package/lib/vtx-cp-modal/components/index.js +0 -35
  478. package/lib/vtx-cp-modal/components/index.js.map +0 -1
  479. package/lib/vtx-cp-modal/index.js +0 -107
  480. package/lib/vtx-cp-modal/index.js.map +0 -1
  481. package/lib/vtx-cp-modal/style/css.js +0 -5
  482. package/lib/vtx-cp-modal/style/css.js.map +0 -1
  483. package/lib/vtx-cp-modal/style/index.js +0 -5
  484. package/lib/vtx-cp-modal/style/index.js.map +0 -1
  485. package/lib/vtx-default-modal/api.js +0 -49
  486. package/lib/vtx-default-modal/api.js.map +0 -1
  487. package/lib/vtx-default-modal/components/BaseInfo/index.js +0 -53
  488. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +0 -1
  489. package/lib/vtx-default-modal/components/index.js +0 -14
  490. package/lib/vtx-default-modal/components/index.js.map +0 -1
  491. package/lib/vtx-default-modal/index.js +0 -89
  492. package/lib/vtx-default-modal/index.js.map +0 -1
  493. package/lib/vtx-default-modal/style/css.js +0 -5
  494. package/lib/vtx-default-modal/style/css.js.map +0 -1
  495. package/lib/vtx-default-modal/style/index.js +0 -5
  496. package/lib/vtx-default-modal/style/index.js.map +0 -1
  497. package/lib/vtx-device-modal/api.js +0 -212
  498. package/lib/vtx-device-modal/api.js.map +0 -1
  499. package/lib/vtx-device-modal/components/BaseInfo/index.js +0 -51
  500. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +0 -1
  501. package/lib/vtx-device-modal/components/DataAnalysis/index.js +0 -83
  502. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +0 -1
  503. package/lib/vtx-device-modal/components/FacilityFile/index.js +0 -48
  504. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +0 -1
  505. package/lib/vtx-device-modal/components/LiftInfo/index.js +0 -32
  506. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +0 -1
  507. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +0 -27
  508. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +0 -1
  509. package/lib/vtx-device-modal/components/OverViewInfo/index.js +0 -103
  510. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +0 -1
  511. package/lib/vtx-device-modal/components/VideoInfo/index.js +0 -36
  512. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +0 -1
  513. package/lib/vtx-device-modal/config.js +0 -50
  514. package/lib/vtx-device-modal/config.js.map +0 -1
  515. package/lib/vtx-device-modal/index.js +0 -75
  516. package/lib/vtx-device-modal/index.js.map +0 -1
  517. package/lib/vtx-device-modal/style/css.js +0 -4
  518. package/lib/vtx-device-modal/style/css.js.map +0 -1
  519. package/lib/vtx-device-modal/style/index.js +0 -4
  520. package/lib/vtx-device-modal/style/index.js.map +0 -1
  521. package/lib/vtx-device-modal/types.js +0 -6
  522. package/lib/vtx-device-modal/types.js.map +0 -1
  523. package/lib/vtx-df-modal/api.js +0 -260
  524. package/lib/vtx-df-modal/api.js.map +0 -1
  525. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +0 -115
  526. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +0 -1
  527. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +0 -146
  528. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +0 -1
  529. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +0 -118
  530. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +0 -1
  531. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +0 -52
  532. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +0 -1
  533. package/lib/vtx-df-modal/components/BaseInfo/index.js +0 -134
  534. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +0 -1
  535. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +0 -121
  536. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +0 -1
  537. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +0 -133
  538. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +0 -1
  539. package/lib/vtx-df-modal/components/Metering/List.js +0 -110
  540. package/lib/vtx-df-modal/components/Metering/List.js.map +0 -1
  541. package/lib/vtx-df-modal/components/Metering/index.js +0 -174
  542. package/lib/vtx-df-modal/components/Metering/index.js.map +0 -1
  543. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +0 -112
  544. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +0 -1
  545. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +0 -106
  546. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +0 -1
  547. package/lib/vtx-df-modal/components/WorkCondition/index.js +0 -89
  548. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +0 -1
  549. package/lib/vtx-df-modal/components/index.js +0 -28
  550. package/lib/vtx-df-modal/components/index.js.map +0 -1
  551. package/lib/vtx-df-modal/index.js +0 -122
  552. package/lib/vtx-df-modal/index.js.map +0 -1
  553. package/lib/vtx-df-modal/style/css.js +0 -7
  554. package/lib/vtx-df-modal/style/css.js.map +0 -1
  555. package/lib/vtx-df-modal/style/index.js +0 -7
  556. package/lib/vtx-df-modal/style/index.js.map +0 -1
  557. package/lib/vtx-facility-modal/api.js +0 -123
  558. package/lib/vtx-facility-modal/api.js.map +0 -1
  559. package/lib/vtx-facility-modal/components/OverView/Left.js +0 -49
  560. package/lib/vtx-facility-modal/components/OverView/Left.js.map +0 -1
  561. package/lib/vtx-facility-modal/components/OverView/index.js +0 -285
  562. package/lib/vtx-facility-modal/components/OverView/index.js.map +0 -1
  563. package/lib/vtx-facility-modal/components/index.js +0 -14
  564. package/lib/vtx-facility-modal/components/index.js.map +0 -1
  565. package/lib/vtx-facility-modal/config.js +0 -68
  566. package/lib/vtx-facility-modal/config.js.map +0 -1
  567. package/lib/vtx-facility-modal/index.js +0 -48
  568. package/lib/vtx-facility-modal/index.js.map +0 -1
  569. package/lib/vtx-facility-modal/style/css.js +0 -5
  570. package/lib/vtx-facility-modal/style/css.js.map +0 -1
  571. package/lib/vtx-facility-modal/style/index.js +0 -5
  572. package/lib/vtx-facility-modal/style/index.js.map +0 -1
  573. package/lib/vtx-facility-modal/types.js +0 -6
  574. package/lib/vtx-facility-modal/types.js.map +0 -1
  575. package/lib/vtx-housing-estate-modal/api.js +0 -539
  576. package/lib/vtx-housing-estate-modal/api.js.map +0 -1
  577. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +0 -390
  578. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +0 -1
  579. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +0 -209
  580. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +0 -1
  581. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +0 -290
  582. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +0 -1
  583. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +0 -34
  584. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +0 -1
  585. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +0 -104
  586. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +0 -1
  587. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +0 -290
  588. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +0 -1
  589. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +0 -89
  590. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +0 -1
  591. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +0 -122
  592. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +0 -1
  593. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +0 -213
  594. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +0 -1
  595. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +0 -60
  596. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +0 -1
  597. package/lib/vtx-housing-estate-modal/components/OverView/index.js +0 -41
  598. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +0 -1
  599. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +0 -58
  600. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +0 -1
  601. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +0 -139
  602. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +0 -1
  603. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +0 -59
  604. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +0 -1
  605. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +0 -104
  606. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +0 -1
  607. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +0 -68
  608. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +0 -1
  609. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +0 -142
  610. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +0 -1
  611. package/lib/vtx-housing-estate-modal/components/index.js +0 -49
  612. package/lib/vtx-housing-estate-modal/components/index.js.map +0 -1
  613. package/lib/vtx-housing-estate-modal/config.js +0 -88
  614. package/lib/vtx-housing-estate-modal/config.js.map +0 -1
  615. package/lib/vtx-housing-estate-modal/index.js +0 -100
  616. package/lib/vtx-housing-estate-modal/index.js.map +0 -1
  617. package/lib/vtx-housing-estate-modal/style/css.js +0 -7
  618. package/lib/vtx-housing-estate-modal/style/css.js.map +0 -1
  619. package/lib/vtx-housing-estate-modal/style/index.js +0 -7
  620. package/lib/vtx-housing-estate-modal/style/index.js.map +0 -1
  621. package/lib/vtx-housing-estate-modal/types.js +0 -6
  622. package/lib/vtx-housing-estate-modal/types.js.map +0 -1
  623. package/lib/vtx-hz-facility-modal/api.js +0 -776
  624. package/lib/vtx-hz-facility-modal/api.js.map +0 -1
  625. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +0 -229
  626. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +0 -1
  627. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +0 -4
  628. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +0 -1
  629. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +0 -4
  630. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +0 -1
  631. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +0 -25
  632. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +0 -1
  633. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +0 -4
  634. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +0 -1
  635. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +0 -4
  636. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +0 -1
  637. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +0 -272
  638. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +0 -1
  639. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +0 -4
  640. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +0 -1
  641. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +0 -4
  642. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +0 -1
  643. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +0 -279
  644. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +0 -1
  645. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +0 -4
  646. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +0 -1
  647. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +0 -4
  648. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +0 -1
  649. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +0 -386
  650. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +0 -1
  651. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +0 -4
  652. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +0 -1
  653. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +0 -4
  654. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +0 -1
  655. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +0 -27
  656. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +0 -1
  657. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +0 -402
  658. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +0 -1
  659. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +0 -4
  660. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +0 -1
  661. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +0 -4
  662. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +0 -1
  663. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +0 -270
  664. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +0 -1
  665. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +0 -4
  666. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +0 -1
  667. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +0 -4
  668. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +0 -1
  669. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +0 -97
  670. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +0 -1
  671. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +0 -4
  672. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +0 -1
  673. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +0 -4
  674. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +0 -1
  675. package/lib/vtx-hz-facility-modal/components/index.js +0 -21
  676. package/lib/vtx-hz-facility-modal/components/index.js.map +0 -1
  677. package/lib/vtx-hz-facility-modal/index.js +0 -87
  678. package/lib/vtx-hz-facility-modal/index.js.map +0 -1
  679. package/lib/vtx-hz-facility-modal/style/css.js +0 -4
  680. package/lib/vtx-hz-facility-modal/style/css.js.map +0 -1
  681. package/lib/vtx-hz-facility-modal/style/index.js +0 -4
  682. package/lib/vtx-hz-facility-modal/style/index.js.map +0 -1
  683. package/lib/vtx-kh-modal/api.js +0 -74
  684. package/lib/vtx-kh-modal/api.js.map +0 -1
  685. package/lib/vtx-kh-modal/components/BaseInfo/index.js +0 -93
  686. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +0 -1
  687. package/lib/vtx-kh-modal/components/index.js +0 -14
  688. package/lib/vtx-kh-modal/components/index.js.map +0 -1
  689. package/lib/vtx-kh-modal/index.js +0 -92
  690. package/lib/vtx-kh-modal/index.js.map +0 -1
  691. package/lib/vtx-kh-modal/style/css.js +0 -5
  692. package/lib/vtx-kh-modal/style/css.js.map +0 -1
  693. package/lib/vtx-kh-modal/style/index.js +0 -5
  694. package/lib/vtx-kh-modal/style/index.js.map +0 -1
  695. package/lib/vtx-restaurant-modal/api.js +0 -152
  696. package/lib/vtx-restaurant-modal/api.js.map +0 -1
  697. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +0 -50
  698. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +0 -1
  699. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +0 -78
  700. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +0 -1
  701. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +0 -92
  702. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +0 -1
  703. package/lib/vtx-restaurant-modal/components/Alarm/index.js +0 -74
  704. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +0 -1
  705. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +0 -60
  706. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +0 -1
  707. package/lib/vtx-restaurant-modal/components/Basic/Info.js +0 -57
  708. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +0 -1
  709. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +0 -67
  710. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +0 -1
  711. package/lib/vtx-restaurant-modal/components/Basic/index.js +0 -48
  712. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +0 -1
  713. package/lib/vtx-restaurant-modal/components/Collection/index.js +0 -64
  714. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +0 -1
  715. package/lib/vtx-restaurant-modal/components/index.js +0 -28
  716. package/lib/vtx-restaurant-modal/components/index.js.map +0 -1
  717. package/lib/vtx-restaurant-modal/config.js +0 -58
  718. package/lib/vtx-restaurant-modal/config.js.map +0 -1
  719. package/lib/vtx-restaurant-modal/index.js +0 -57
  720. package/lib/vtx-restaurant-modal/index.js.map +0 -1
  721. package/lib/vtx-restaurant-modal/style/css.js +0 -5
  722. package/lib/vtx-restaurant-modal/style/css.js.map +0 -1
  723. package/lib/vtx-restaurant-modal/style/index.js +0 -5
  724. package/lib/vtx-restaurant-modal/style/index.js.map +0 -1
  725. package/lib/vtx-restaurant-modal/type.js +0 -6
  726. package/lib/vtx-restaurant-modal/type.js.map +0 -1
  727. package/lib/vtx-road-modal/api.js +0 -136
  728. package/lib/vtx-road-modal/api.js.map +0 -1
  729. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +0 -55
  730. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +0 -1
  731. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +0 -152
  732. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +0 -1
  733. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +0 -83
  734. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +0 -1
  735. package/lib/vtx-road-modal/components/BaseInfo/index.js +0 -64
  736. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +0 -1
  737. package/lib/vtx-road-modal/components/Statistical/Zylc.js +0 -142
  738. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +0 -1
  739. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +0 -111
  740. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +0 -1
  741. package/lib/vtx-road-modal/components/Statistical/index.js +0 -183
  742. package/lib/vtx-road-modal/components/Statistical/index.js.map +0 -1
  743. package/lib/vtx-road-modal/components/index.js +0 -21
  744. package/lib/vtx-road-modal/components/index.js.map +0 -1
  745. package/lib/vtx-road-modal/index.js +0 -89
  746. package/lib/vtx-road-modal/index.js.map +0 -1
  747. package/lib/vtx-road-modal/style/css.js +0 -6
  748. package/lib/vtx-road-modal/style/css.js.map +0 -1
  749. package/lib/vtx-road-modal/style/index.js +0 -6
  750. package/lib/vtx-road-modal/style/index.js.map +0 -1
  751. package/lib/vtx-staff-modal/api.js +0 -311
  752. package/lib/vtx-staff-modal/api.js.map +0 -1
  753. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +0 -175
  754. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +0 -1
  755. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +0 -122
  756. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +0 -1
  757. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +0 -106
  758. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +0 -1
  759. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +0 -98
  760. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +0 -1
  761. package/lib/vtx-staff-modal/components/Attendance/Record.js +0 -152
  762. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +0 -1
  763. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +0 -119
  764. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +0 -1
  765. package/lib/vtx-staff-modal/components/Attendance/index.js +0 -52
  766. package/lib/vtx-staff-modal/components/Attendance/index.js.map +0 -1
  767. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +0 -106
  768. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +0 -1
  769. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +0 -40
  770. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +0 -1
  771. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +0 -124
  772. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +0 -1
  773. package/lib/vtx-staff-modal/components/BaseInfo/index.js +0 -211
  774. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +0 -1
  775. package/lib/vtx-staff-modal/components/Equipment/index.js +0 -125
  776. package/lib/vtx-staff-modal/components/Equipment/index.js.map +0 -1
  777. package/lib/vtx-staff-modal/components/index.js +0 -35
  778. package/lib/vtx-staff-modal/components/index.js.map +0 -1
  779. package/lib/vtx-staff-modal/index.js +0 -78
  780. package/lib/vtx-staff-modal/index.js.map +0 -1
  781. package/lib/vtx-staff-modal/style/css.js +0 -8
  782. package/lib/vtx-staff-modal/style/css.js.map +0 -1
  783. package/lib/vtx-staff-modal/style/index.js +0 -8
  784. package/lib/vtx-staff-modal/style/index.js.map +0 -1
  785. package/lib/vtx-theme-provider/index.js +0 -21
  786. package/lib/vtx-theme-provider/index.js.map +0 -1
  787. package/lib/vtx-throw-point-modal/api.js +0 -531
  788. package/lib/vtx-throw-point-modal/api.js.map +0 -1
  789. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +0 -391
  790. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +0 -1
  791. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +0 -209
  792. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +0 -1
  793. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +0 -291
  794. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +0 -1
  795. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +0 -34
  796. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +0 -1
  797. package/lib/vtx-throw-point-modal/components/Alarm/index.js +0 -104
  798. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +0 -1
  799. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +0 -278
  800. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +0 -1
  801. package/lib/vtx-throw-point-modal/components/OverView/Left.js +0 -120
  802. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +0 -1
  803. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +0 -119
  804. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +0 -1
  805. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +0 -213
  806. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +0 -1
  807. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +0 -60
  808. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +0 -1
  809. package/lib/vtx-throw-point-modal/components/OverView/index.js +0 -39
  810. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +0 -1
  811. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +0 -84
  812. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +0 -1
  813. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +0 -334
  814. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +0 -1
  815. package/lib/vtx-throw-point-modal/components/TFRD/index.js +0 -136
  816. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +0 -1
  817. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +0 -56
  818. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +0 -1
  819. package/lib/vtx-throw-point-modal/components/WGGS/index.js +0 -90
  820. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +0 -1
  821. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +0 -66
  822. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +0 -1
  823. package/lib/vtx-throw-point-modal/components/WGXW/index.js +0 -128
  824. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +0 -1
  825. package/lib/vtx-throw-point-modal/components/index.js +0 -49
  826. package/lib/vtx-throw-point-modal/components/index.js.map +0 -1
  827. package/lib/vtx-throw-point-modal/config.js +0 -67
  828. package/lib/vtx-throw-point-modal/config.js.map +0 -1
  829. package/lib/vtx-throw-point-modal/index.js +0 -104
  830. package/lib/vtx-throw-point-modal/index.js.map +0 -1
  831. package/lib/vtx-throw-point-modal/style/css.js +0 -7
  832. package/lib/vtx-throw-point-modal/style/css.js.map +0 -1
  833. package/lib/vtx-throw-point-modal/style/index.js +0 -7
  834. package/lib/vtx-throw-point-modal/style/index.js.map +0 -1
  835. package/lib/vtx-throw-point-modal/types.js +0 -6
  836. package/lib/vtx-throw-point-modal/types.js.map +0 -1
  837. package/lib/vtx-wr-modal/api.js +0 -381
  838. package/lib/vtx-wr-modal/api.js.map +0 -1
  839. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +0 -249
  840. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +0 -1
  841. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +0 -112
  842. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +0 -1
  843. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +0 -163
  844. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +0 -1
  845. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +0 -46
  846. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +0 -1
  847. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +0 -110
  848. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +0 -1
  849. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +0 -39
  850. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +0 -1
  851. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +0 -109
  852. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +0 -1
  853. package/lib/vtx-wr-modal/components/BaseInfo/index.js +0 -330
  854. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +0 -1
  855. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +0 -101
  856. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +0 -1
  857. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +0 -69
  858. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +0 -1
  859. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +0 -141
  860. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +0 -1
  861. package/lib/vtx-wr-modal/components/Evaluate/index.js +0 -47
  862. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +0 -1
  863. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +0 -156
  864. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +0 -1
  865. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +0 -162
  866. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +0 -1
  867. package/lib/vtx-wr-modal/components/Monitor/index.js +0 -28
  868. package/lib/vtx-wr-modal/components/Monitor/index.js.map +0 -1
  869. package/lib/vtx-wr-modal/components/index.js +0 -35
  870. package/lib/vtx-wr-modal/components/index.js.map +0 -1
  871. package/lib/vtx-wr-modal/index.js +0 -101
  872. package/lib/vtx-wr-modal/index.js.map +0 -1
  873. package/lib/vtx-wr-modal/style/css.js +0 -8
  874. package/lib/vtx-wr-modal/style/css.js.map +0 -1
  875. package/lib/vtx-wr-modal/style/index.js +0 -8
  876. package/lib/vtx-wr-modal/style/index.js.map +0 -1
  877. package/lib/vtx-zg-modal/api.js +0 -69
  878. package/lib/vtx-zg-modal/api.js.map +0 -1
  879. package/lib/vtx-zg-modal/components/BaseInfo/index.js +0 -178
  880. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +0 -1
  881. package/lib/vtx-zg-modal/components/index.js +0 -14
  882. package/lib/vtx-zg-modal/components/index.js.map +0 -1
  883. package/lib/vtx-zg-modal/index.js +0 -95
  884. package/lib/vtx-zg-modal/index.js.map +0 -1
  885. package/lib/vtx-zg-modal/style/css.js +0 -5
  886. package/lib/vtx-zg-modal/style/css.js.map +0 -1
  887. package/lib/vtx-zg-modal/style/index.js +0 -5
  888. package/lib/vtx-zg-modal/style/index.js.map +0 -1
@@ -1,388 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _tslib = require("tslib");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
10
- var _antd = require("antd");
11
- var _vmNodata = _interopRequireDefault(require("../vm-nodata"));
12
- var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
13
- var _index = _interopRequireDefault(require("./index.less"));
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
17
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
18
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
19
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
20
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
- 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); }
22
- var getThemeColor = function getThemeColor(isDark) {
23
- return isDark ? '#fff' : '#000';
24
- };
25
- /**
26
- * 获取 tooltip
27
- * @param options
28
- * @returns {*&{trigger: string}}
29
- */
30
- var getTooltip = function getTooltip(options) {
31
- return Object.assign({
32
- trigger: 'axis'
33
- }, options);
34
- };
35
- /**
36
- * 获取单个 legend 配置
37
- * @param options 参数可以是:"xx"、"{name: 'xx', ...其他配置}"
38
- * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}
39
- */
40
- var getLegendItem = function getLegendItem(options, isDark) {
41
- return Object.assign({
42
- textStyle: {
43
- color: getThemeColor(isDark)
44
- },
45
- pageIconColor: getThemeColor(isDark),
46
- pageIconInactiveColor: getThemeColor(isDark),
47
- pageTextStyle: {
48
- color: getThemeColor(isDark)
49
- }
50
- }, options);
51
- };
52
- /**
53
- * 获取 图例
54
- * @param options
55
- * @returns {*&{pageTextStyle: {color: string}, textStyle: {color: string}, type: string, pageIconInactiveColor: string, pageIconColor: string}}
56
- */
57
- var getLegend = function getLegend(options, isDark) {
58
- //判断是否是数组
59
- if (options && Array.isArray(options)) {
60
- return options === null || options === void 0 ? void 0 : options.map(function (item) {
61
- return getLegendItem(item, isDark);
62
- });
63
- }
64
- return getLegendItem(options, isDark);
65
- };
66
- /**
67
- * 获取布局
68
- * @param options
69
- * @returns {*&{top: string, left: number, bottom: string, right: number, containLabel: boolean}}
70
- */
71
- var getGrid = function getGrid(options) {
72
- return Object.assign({
73
- left: 30,
74
- right: 40,
75
- top: 50,
76
- bottom: 30,
77
- containLabel: true
78
- }, options);
79
- };
80
- /**
81
- * 获取 xAxis 单项
82
- * @param options 参数可以是: "[xx, xx]"、"{data: [xx, xx], ...}"
83
- * @returns {{axisLabel: {textStyle: {color: string}}, data: *, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean}}
84
- */
85
- var getXAxisItem = function getXAxisItem(options, isDark) {
86
- var _a = Array.isArray(options) ? {
87
- data: options
88
- } : options,
89
- data = _a.data,
90
- other = (0, _tslib.__rest)(_a, ["data"]);
91
- return Object.assign({
92
- type: 'category',
93
- boundaryGap: true,
94
- axisTick: {
95
- show: true
96
- },
97
- nameTextStyle: {
98
- color: getThemeColor(isDark)
99
- },
100
- axisLabel: {
101
- textStyle: {
102
- fontSize: 12,
103
- color: getThemeColor(isDark)
104
- }
105
- },
106
- axisLine: {
107
- lineStyle: {
108
- color: 'rgba(255,255,255, .2)'
109
- }
110
- },
111
- data: data
112
- }, other);
113
- };
114
- /**
115
- * 获取 xAxis 配置
116
- * @param xAxis 参数说明:"[xx, xx]"、"[[xx, xx], [xx, xx]]"、"[{data: [xx, xx], ...}]"
117
- * @returns {(*&{axisLabel: {textStyle: {color: string}}, data, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean})|*[]}
118
- */
119
- var getXAxis = function getXAxis(xAxis, isDark) {
120
- if (xAxis) {
121
- if (_typeof(xAxis === null || xAxis === void 0 ? void 0 : xAxis[0]) === 'object') {
122
- var _xAxis = [];
123
- xAxis.map(function (v) {
124
- _xAxis === null || _xAxis === void 0 ? void 0 : _xAxis.push(getXAxisItem(v, isDark));
125
- });
126
- return _xAxis;
127
- }
128
- return getXAxisItem(xAxis, isDark);
129
- }
130
- return {
131
- show: false
132
- };
133
- };
134
- /**
135
- * 获取单个 yAxis 配置
136
- * @param options 参数可以是:"xx"、"{name: 'xx', ...其他配置}"
137
- * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}
138
- */
139
- var getYAxisItem = function getYAxisItem(options, isDark) {
140
- options = options || {};
141
- var _a = typeof options === 'string' ? {
142
- name: options
143
- } : options,
144
- name = _a.name,
145
- other = (0, _tslib.__rest)(_a, ["name"]);
146
- return Object.assign({
147
- name: name,
148
- nameTextStyle: {
149
- color: getThemeColor(isDark)
150
- },
151
- axisLabel: {
152
- textStyle: {
153
- color: getThemeColor(isDark),
154
- fontSize: 12
155
- },
156
- showMaxLabel: false
157
- },
158
- axisLine: {
159
- lineStyle: {
160
- color: getThemeColor(isDark)
161
- }
162
- },
163
- axisTick: {
164
- show: false
165
- },
166
- splitLine: {
167
- lineStyle: {
168
- color: 'rgba(255,255,255, .05)'
169
- }
170
- }
171
- }, other);
172
- };
173
- /**
174
- * 获取 yAxis 配置
175
- * @param yAxis 参数可以是: "xx"、"['xx', 'xxx']"、"[{name: 'xx', ...其他配置}]"
176
- * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}|*[]}
177
- */
178
- var getYAxis = function getYAxis(yAxis, isDark) {
179
- if (yAxis) {
180
- if (Array.isArray(yAxis)) {
181
- var _yAxis = [];
182
- yAxis.map(function (v) {
183
- _yAxis.push(getYAxisItem(v, isDark));
184
- });
185
- return _yAxis;
186
- }
187
- return getYAxisItem(yAxis, isDark);
188
- }
189
- return {
190
- show: false
191
- };
192
- };
193
- var getLineSeries = function getLineSeries(_a) {
194
- var name = _a.name,
195
- data = _a.data,
196
- other = (0, _tslib.__rest)(_a, ["name", "data"]);
197
- return Object.assign({
198
- type: 'line',
199
- symbolSize: 6,
200
- smooth: true,
201
- connectNulls: true,
202
- name: name,
203
- data: data
204
- }, other);
205
- };
206
- var getBarSeries = function getBarSeries(_a) {
207
- var name = _a.name,
208
- data = _a.data,
209
- type = _a.type,
210
- other = (0, _tslib.__rest)(_a, ["name", "data", "type"]);
211
- // 特殊样式处理
212
- return type == 'pictorialBar' ? Object.assign({
213
- type: 'pictorialBar',
214
- name: name,
215
- data: data
216
- }, other) : Object.assign({
217
- type: 'bar',
218
- barMaxWidth: 20,
219
- barMinWidth: 10,
220
- connectNulls: true,
221
- name: name,
222
- data: data
223
- }, other);
224
- };
225
- var getPieSeries = function getPieSeries(_a) {
226
- var name = _a.name,
227
- data = _a.data,
228
- other = (0, _tslib.__rest)(_a, ["name", "data"]);
229
- return Object.assign({
230
- type: 'pie',
231
- name: name,
232
- data: data
233
- }, other);
234
- };
235
- /**
236
- * 获取颜色
237
- * @param color 参数可为:"#xxx", "['#xxx', '#xxx]"
238
- * @returns {string|{x: number, y: number, y2: number, x2: number, global: boolean, colorStops: *[], type: string}}
239
- */
240
- var getColor = function getColor(color) {
241
- if (typeof color === 'string') {
242
- return color;
243
- } else if (Array.isArray(color)) {
244
- var colorStops = [];
245
- color.map(function (c, i) {
246
- if (typeof c === 'string') {
247
- colorStops.push({
248
- offset: i,
249
- color: color[i] // 0% 处的颜色
250
- });
251
- } else {
252
- colorStops.push(Object.assign({
253
- offset: i,
254
- color: c.color
255
- }, c));
256
- }
257
- });
258
- return {
259
- type: 'linear',
260
- x: 0,
261
- y: 0,
262
- x2: 0,
263
- y2: 1,
264
- colorStops: colorStops,
265
- global: false // 缺省为 false
266
- };
267
- }
268
- };
269
- /**
270
- * 获取区间渐变颜色
271
- * @param color 参数可为:"#xxx", "['#xxx', '#xxx]"
272
- * @returns {{color: {x: number, y: number, y2: number, globalCoord: boolean, x2: number, colorStops: [{offset: number, color: string},{offset: number, color: string}], type: string}}}
273
- */
274
- var getAreaColor = function getAreaColor(color) {
275
- var _ref = typeof color === 'string' ? [color, color] : color,
276
- _ref2 = _slicedToArray(_ref, 2),
277
- start = _ref2[0],
278
- end = _ref2[1];
279
- return {
280
- color: {
281
- type: 'linear',
282
- x: 0,
283
- y: 0,
284
- x2: 0,
285
- y2: 1,
286
- colorStops: [{
287
- offset: 0,
288
- color: start
289
- } /*0% 处的颜色*/, {
290
- offset: 1,
291
- color: end
292
- } /* 100% 处的颜色*/],
293
-
294
- globalCoord: false // 缺省为 false
295
- }
296
- };
297
- };
298
-
299
- var getSeries = function getSeries(series) {
300
- var _series = [];
301
- var FUN_MAP = {
302
- bar: getBarSeries,
303
- line: getLineSeries,
304
- pie: getPieSeries,
305
- pictorialBar: getBarSeries // 自定义样式的柱状图
306
- };
307
-
308
- series === null || series === void 0 ? void 0 : series.map(function (v) {
309
- var type = v.type,
310
- color = v.color,
311
- areaColor = v.areaColor;
312
- var _seriesItem;
313
- if (FUN_MAP[type]) {
314
- _seriesItem = FUN_MAP[type](v);
315
- } else {
316
- //其他类型
317
- _seriesItem = v;
318
- }
319
- // 自身颜色
320
- if (color) {
321
- _seriesItem.itemStyle = _seriesItem.itemStyle || {};
322
- _seriesItem.itemStyle.color = getColor(color);
323
- }
324
- // 区间颜色
325
- if (areaColor && areaColor.length) {
326
- _seriesItem.areaStyle = getAreaColor(areaColor);
327
- }
328
- _series === null || _series === void 0 ? void 0 : _series.push(_seriesItem);
329
- });
330
- return _series;
331
- };
332
- var Chart = function Chart(props) {
333
- var _a, _b, _c;
334
- var onEvents = props.onEvents,
335
- color = props.color,
336
- legend = props.legend,
337
- tooltip = props.tooltip,
338
- grid = props.grid,
339
- xAxis = props.xAxis,
340
- yAxis = props.yAxis,
341
- _props$height = props.height,
342
- height = _props$height === void 0 ? '100%' : _props$height,
343
- _props$width = props.width,
344
- width = _props$width === void 0 ? '100%' : _props$width,
345
- series = props.series,
346
- _props$loading = props.loading,
347
- loading = _props$loading === void 0 ? false : _props$loading;
348
- var _useSettings = (0, _useSettings2["default"])(),
349
- theme = _useSettings.theme;
350
- var isDark = theme == 'dark';
351
- var option = {
352
- legend: getLegend(legend, isDark),
353
- tooltip: getTooltip(tooltip),
354
- grid: getGrid(grid),
355
- xAxis: getXAxis(xAxis, isDark),
356
- yAxis: getYAxis(yAxis, isDark),
357
- series: getSeries(series)
358
- };
359
- if (color) {
360
- option['color'] = color;
361
- }
362
- return /*#__PURE__*/_react["default"].createElement("div", {
363
- className: _index["default"].chartWrap,
364
- style: {
365
- height: height,
366
- width: '100%'
367
- }
368
- }, /*#__PURE__*/_react["default"].createElement(_antd.Spin, {
369
- spinning: loading
370
- }, ((_c = (_b = (_a = option.series) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.length) ? /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
371
- option: option,
372
- notMerge: true,
373
- lazyUpdate: true,
374
- style: {
375
- height: height,
376
- width: width
377
- },
378
- onEvents: onEvents
379
- }) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
380
- type: "NO_CHART",
381
- style: {
382
- width: '100%'
383
- }
384
- })));
385
- };
386
- var _default = Chart;
387
- exports["default"] = _default;
388
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["getThemeColor","isDark","getTooltip","options","Object","assign","trigger","getLegendItem","textStyle","color","pageIconColor","pageIconInactiveColor","pageTextStyle","getLegend","Array","isArray","map","item","getGrid","left","right","top","bottom","containLabel","getXAxisItem","_a","data","other","__rest","type","boundaryGap","axisTick","show","nameTextStyle","axisLabel","fontSize","axisLine","lineStyle","getXAxis","xAxis","_xAxis","v","push","getYAxisItem","name","showMaxLabel","splitLine","getYAxis","yAxis","_yAxis","getLineSeries","symbolSize","smooth","connectNulls","getBarSeries","barMaxWidth","barMinWidth","getPieSeries","getColor","colorStops","c","i","offset","x","y","x2","y2","global","getAreaColor","start","end","globalCoord","getSeries","series","_series","FUN_MAP","bar","line","pie","pictorialBar","areaColor","_seriesItem","itemStyle","length","areaStyle","Chart","props","_b","_c","onEvents","legend","tooltip","grid","height","width","loading","useSettings","theme","option","React","createElement","className","styles","chartWrap","style","Spin","spinning","ReactEcharts","notMerge","lazyUpdate","NoData"],"sources":["vm-common-components/components/vm-chart/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { Spin } from 'antd';\nimport NoData from '../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport styles from './index.less';\nconst getThemeColor = (isDark) => {\n return isDark ? '#fff' : '#000';\n};\n/**\n * 获取 tooltip\n * @param options\n * @returns {*&{trigger: string}}\n */\nconst getTooltip = (options) => {\n return Object.assign({ trigger: 'axis' }, options);\n};\n/**\n * 获取单个 legend 配置\n * @param options 参数可以是:\"xx\"、\"{name: 'xx', ...其他配置}\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}\n */\nconst getLegendItem = (options, isDark) => {\n return Object.assign({ textStyle: {\n color: getThemeColor(isDark),\n }, pageIconColor: getThemeColor(isDark), pageIconInactiveColor: getThemeColor(isDark), pageTextStyle: {\n color: getThemeColor(isDark),\n } }, options);\n};\n/**\n * 获取 图例\n * @param options\n * @returns {*&{pageTextStyle: {color: string}, textStyle: {color: string}, type: string, pageIconInactiveColor: string, pageIconColor: string}}\n */\nconst getLegend = (options, isDark) => {\n //判断是否是数组\n if (options && Array.isArray(options)) {\n return options === null || options === void 0 ? void 0 : options.map((item) => {\n return getLegendItem(item, isDark);\n });\n }\n return getLegendItem(options, isDark);\n};\n/**\n * 获取布局\n * @param options\n * @returns {*&{top: string, left: number, bottom: string, right: number, containLabel: boolean}}\n */\nconst getGrid = (options) => {\n return Object.assign({ left: 30, right: 40, top: 50, bottom: 30, containLabel: true }, options);\n};\n/**\n * 获取 xAxis 单项\n * @param options 参数可以是: \"[xx, xx]\"、\"{data: [xx, xx], ...}\"\n * @returns {{axisLabel: {textStyle: {color: string}}, data: *, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean}}\n */\nconst getXAxisItem = (options, isDark) => {\n let _a = Array.isArray(options) ? { data: options } : options, { data } = _a, other = __rest(_a, [\"data\"]);\n return Object.assign({ type: 'category', boundaryGap: true, axisTick: { show: true }, nameTextStyle: {\n color: getThemeColor(isDark),\n }, axisLabel: {\n textStyle: { fontSize: 12, color: getThemeColor(isDark) },\n }, axisLine: {\n lineStyle: { color: 'rgba(255,255,255, .2)' },\n }, data }, other);\n};\n/**\n * 获取 xAxis 配置\n * @param xAxis 参数说明:\"[xx, xx]\"、\"[[xx, xx], [xx, xx]]\"、\"[{data: [xx, xx], ...}]\"\n * @returns {(*&{axisLabel: {textStyle: {color: string}}, data, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean})|*[]}\n */\nconst getXAxis = (xAxis, isDark) => {\n if (xAxis) {\n if (typeof (xAxis === null || xAxis === void 0 ? void 0 : xAxis[0]) === 'object') {\n let _xAxis = [];\n xAxis.map((v) => {\n _xAxis === null || _xAxis === void 0 ? void 0 : _xAxis.push(getXAxisItem(v, isDark));\n });\n return _xAxis;\n }\n return getXAxisItem(xAxis, isDark);\n }\n return {\n show: false,\n };\n};\n/**\n * 获取单个 yAxis 配置\n * @param options 参数可以是:\"xx\"、\"{name: 'xx', ...其他配置}\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}\n */\nconst getYAxisItem = (options, isDark) => {\n options = options || {};\n let _a = typeof options === 'string' ? { name: options } : options, { name } = _a, other = __rest(_a, [\"name\"]);\n return Object.assign({ name, nameTextStyle: {\n color: getThemeColor(isDark),\n }, axisLabel: {\n textStyle: {\n color: getThemeColor(isDark),\n fontSize: 12,\n },\n showMaxLabel: false,\n }, axisLine: {\n lineStyle: { color: getThemeColor(isDark) },\n }, axisTick: { show: false }, splitLine: { lineStyle: { color: 'rgba(255,255,255, .05)' } } }, other);\n};\n/**\n * 获取 yAxis 配置\n * @param yAxis 参数可以是: \"xx\"、\"['xx', 'xxx']\"、\"[{name: 'xx', ...其他配置}]\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}|*[]}\n */\nconst getYAxis = (yAxis, isDark) => {\n if (yAxis) {\n if (Array.isArray(yAxis)) {\n let _yAxis = [];\n yAxis.map((v) => {\n _yAxis.push(getYAxisItem(v, isDark));\n });\n return _yAxis;\n }\n return getYAxisItem(yAxis, isDark);\n }\n return {\n show: false,\n };\n};\nconst getLineSeries = (_a) => {\n var { name, data } = _a, other = __rest(_a, [\"name\", \"data\"]);\n return Object.assign({ type: 'line', symbolSize: 6, smooth: true, connectNulls: true, name,\n data }, other);\n};\nconst getBarSeries = (_a) => {\n var { name, data, type } = _a, other = __rest(_a, [\"name\", \"data\", \"type\"]);\n // 特殊样式处理\n return type == 'pictorialBar'\n ? Object.assign({ type: 'pictorialBar', name,\n data }, other) : Object.assign({ type: 'bar', barMaxWidth: 20, barMinWidth: 10, connectNulls: true, name,\n data }, other);\n};\nconst getPieSeries = (_a) => {\n var { name, data } = _a, other = __rest(_a, [\"name\", \"data\"]);\n return Object.assign({ type: 'pie', name,\n data }, other);\n};\n/**\n * 获取颜色\n * @param color 参数可为:\"#xxx\", \"['#xxx', '#xxx]\"\n * @returns {string|{x: number, y: number, y2: number, x2: number, global: boolean, colorStops: *[], type: string}}\n */\nconst getColor = (color) => {\n if (typeof color === 'string') {\n return color;\n }\n else if (Array.isArray(color)) {\n let colorStops = [];\n color.map((c, i) => {\n if (typeof c === 'string') {\n colorStops.push({\n offset: i,\n color: color[i], // 0% 处的颜色\n });\n }\n else {\n colorStops.push(Object.assign({ offset: i, color: c.color }, c));\n }\n });\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: colorStops,\n global: false, // 缺省为 false\n };\n }\n};\n/**\n * 获取区间渐变颜色\n * @param color 参数可为:\"#xxx\", \"['#xxx', '#xxx]\"\n * @returns {{color: {x: number, y: number, y2: number, globalCoord: boolean, x2: number, colorStops: [{offset: number, color: string},{offset: number, color: string}], type: string}}}\n */\nconst getAreaColor = (color) => {\n let [start, end] = typeof color === 'string' ? [color, color] : color;\n return {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [\n { offset: 0, color: start } /*0% 处的颜色*/,\n { offset: 1, color: end } /* 100% 处的颜色*/,\n ],\n globalCoord: false, // 缺省为 false\n },\n };\n};\nconst getSeries = (series) => {\n let _series = [];\n const FUN_MAP = {\n bar: getBarSeries,\n line: getLineSeries,\n pie: getPieSeries,\n pictorialBar: getBarSeries, // 自定义样式的柱状图\n };\n series === null || series === void 0 ? void 0 : series.map(v => {\n let { type, color, areaColor } = v;\n let _seriesItem;\n if (FUN_MAP[type]) {\n _seriesItem = FUN_MAP[type](v);\n }\n else {\n //其他类型\n _seriesItem = v;\n }\n // 自身颜色\n if (color) {\n _seriesItem.itemStyle = _seriesItem.itemStyle || {};\n _seriesItem.itemStyle.color = getColor(color);\n }\n // 区间颜色\n if (areaColor && areaColor.length) {\n _seriesItem.areaStyle = getAreaColor(areaColor);\n }\n _series === null || _series === void 0 ? void 0 : _series.push(_seriesItem);\n });\n return _series;\n};\nconst Chart = (props) => {\n var _a, _b, _c;\n const { onEvents, color, legend, tooltip, grid, xAxis, yAxis, height = '100%', width = '100%', series, loading = false, } = props;\n const { theme } = useSettings();\n const isDark = theme == 'dark';\n let option = {\n legend: getLegend(legend, isDark),\n tooltip: getTooltip(tooltip),\n grid: getGrid(grid),\n xAxis: getXAxis(xAxis, isDark),\n yAxis: getYAxis(yAxis, isDark),\n series: getSeries(series),\n };\n if (color) {\n option['color'] = color;\n }\n return (React.createElement(\"div\", { className: styles.chartWrap, style: { height, width: '100%' } },\n React.createElement(Spin, { spinning: loading }, ((_c = (_b = (_a = option.series) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.length) ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height, width }, onEvents: onEvents })) : (React.createElement(NoData, { type: \"NO_CHART\", style: { width: '100%' } })))));\n};\nexport default Chart;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAClC,IAAMA,aAAa,GAAG,SAAhBA,aAAa,CAAIC,MAAM,EAAK;EAC9B,OAAOA,MAAM,GAAG,MAAM,GAAG,MAAM;AACnC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,IAAMC,UAAU,GAAG,SAAbA,UAAU,CAAIC,OAAO,EAAK;EAC5B,OAAOC,MAAM,CAACC,MAAM,CAAC;IAAEC,OAAO,EAAE;EAAO,CAAC,EAAEH,OAAO,CAAC;AACtD,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,IAAMI,aAAa,GAAG,SAAhBA,aAAa,CA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I,MAAM,IAAI,IAAI8D,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE,CAACL,MAAM,iBAAKgB,iBAAK,CAACC,aAAa,CAACO,2BAAY,EAAE;IAAET,MAAM,EAAEA,MAAM;IAAEU,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEL,KAAK,EAAE;MAAEX,MAAM,EAANA,MAAM;MAAEC,KAAK,EAALA;IAAM,CAAC;IAAEL,QAAQ,EAAEA;EAAS,CAAC,CAAC,gBAAKU,iBAAK,CAACC,aAAa,CAACU,oBAAM,EAAE;IAAEjF,IAAI,EAAE,UAAU;IAAE2E,KAAK,EAAE;MAAEV,KAAK,EAAE;IAAO;EAAE,CAAC,CAAE,CAAC,CAAC;AAChc,CAAC;AAAC,eACaT,KAAK;AAAA"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.saveFavoriter = exports.fetchFavoriter = exports.delFavoriter = void 0;
7
- var _utils = require("@vtx/utils");
8
- var saveFavoriter = function saveFavoriter(objectIds, type) {
9
- return _utils.request.post('/cloud/management/api/v101/user/favorites/saveUserFavorites', {
10
- data: {
11
- objectIds: objectIds,
12
- collectionType: type
13
- }
14
- });
15
- };
16
- exports.saveFavoriter = saveFavoriter;
17
- var delFavoriter = function delFavoriter(objectIds, type) {
18
- return _utils.request.post('/cloud/management/api/v101/user/favorites/deleteUserFavorites', {
19
- data: {
20
- objectIds: objectIds,
21
- collectionType: type
22
- }
23
- });
24
- };
25
- exports.delFavoriter = delFavoriter;
26
- var fetchFavoriter = function fetchFavoriter(objectIds, type) {
27
- return _utils.request.get('/cloud/management/api/v101/user/favorites/getUserFavoritesIds', {
28
- data: {
29
- objectIds: objectIds,
30
- collectionTypes: type
31
- }
32
- });
33
- };
34
- exports.fetchFavoriter = fetchFavoriter;
35
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","names":["saveFavoriter","objectIds","type","request","post","data","collectionType","delFavoriter","fetchFavoriter","get","collectionTypes"],"sources":["vm-common-components/components/vm-collect/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nexport const saveFavoriter = (objectIds, type) => {\n return request.post('/cloud/management/api/v101/user/favorites/saveUserFavorites', {\n data: { objectIds, collectionType: type },\n });\n};\nexport const delFavoriter = (objectIds, type) => {\n return request.post('/cloud/management/api/v101/user/favorites/deleteUserFavorites', {\n data: { objectIds, collectionType: type },\n });\n};\nexport const fetchFavoriter = (objectIds, type) => {\n return request.get('/cloud/management/api/v101/user/favorites/getUserFavoritesIds', {\n data: { objectIds, collectionTypes: type },\n });\n};\n"],"mappings":";;;;;;AAAA;AACO,IAAMA,aAAa,GAAG,SAAhBA,aAAa,CAAIC,SAAS,EAAEC,IAAI,EAAK;EAC9C,OAAOC,cAAO,CAACC,IAAI,CAAC,6DAA6D,EAAE;IAC/EC,IAAI,EAAE;MAAEJ,SAAS,EAATA,SAAS;MAAEK,cAAc,EAAEJ;IAAK;EAC5C,CAAC,CAAC;AACN,CAAC;AAAC;AACK,IAAMK,YAAY,GAAG,SAAfA,YAAY,CAAIN,SAAS,EAAEC,IAAI,EAAK;EAC7C,OAAOC,cAAO,CAACC,IAAI,CAAC,+DAA+D,EAAE;IACjFC,IAAI,EAAE;MAAEJ,SAAS,EAATA,SAAS;MAAEK,cAAc,EAAEJ;IAAK;EAC5C,CAAC,CAAC;AACN,CAAC;AAAC;AACK,IAAMM,cAAc,GAAG,SAAjBA,cAAc,CAAIP,SAAS,EAAEC,IAAI,EAAK;EAC/C,OAAOC,cAAO,CAACM,GAAG,CAAC,+DAA+D,EAAE;IAChFJ,IAAI,EAAE;MAAEJ,SAAS,EAATA,SAAS;MAAES,eAAe,EAAER;IAAK;EAC7C,CAAC,CAAC;AACN,CAAC;AAAC"}
@@ -1,66 +0,0 @@
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"] = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _collect = _interopRequireDefault(require("./imgs/collect.png"));
10
- var _collect_light = _interopRequireDefault(require("./imgs/collect_light.png"));
11
- var _api = require("./api");
12
- require("./style/index");
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
- 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); }
15
- 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; }
16
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
- 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."); }
18
- 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); }
19
- 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; }
20
- 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; } }
21
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22
- var Collect = function Collect(_ref) {
23
- var id = _ref.id,
24
- type = _ref.type;
25
- var _useState = (0, _react.useState)(false),
26
- _useState2 = _slicedToArray(_useState, 2),
27
- hasCollect = _useState2[0],
28
- setHasCollect = _useState2[1];
29
- (0, _react.useEffect)(function () {
30
- if (id && type) {
31
- (0, _api.fetchFavoriter)(id, type).then(function (res) {
32
- var _a;
33
- if (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.length) > 0) {
34
- setHasCollect(res.data.includes(id));
35
- }
36
- });
37
- }
38
- }, [id, type]);
39
- // 关注-取消关注
40
- var toggleCollect = function toggleCollect() {
41
- if (hasCollect) {
42
- (0, _api.delFavoriter)(id, type).then(function (res) {
43
- if (res.result === 0) {
44
- setHasCollect(false);
45
- }
46
- });
47
- } else {
48
- (0, _api.saveFavoriter)(id, type).then(function (res) {
49
- if (res.result === 0) {
50
- setHasCollect(true);
51
- }
52
- });
53
- }
54
- };
55
- return /*#__PURE__*/_react["default"].createElement("div", {
56
- className: "btn",
57
- onClick: function onClick() {
58
- toggleCollect();
59
- }
60
- }, /*#__PURE__*/_react["default"].createElement("img", {
61
- src: !hasCollect ? _collect["default"] : _collect_light["default"]
62
- }), hasCollect ? '已关注' : '关注');
63
- };
64
- var _default = Collect;
65
- exports["default"] = _default;
66
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["Collect","id","type","useState","hasCollect","setHasCollect","useEffect","fetchFavoriter","then","res","_a","data","length","includes","toggleCollect","delFavoriter","result","saveFavoriter","React","createElement","className","onClick","src","collect","collectLight"],"sources":["vm-common-components/components/vm-collect/index.js"],"sourcesContent":["import React, { useState, useEffect } from 'react';\nimport collect from './imgs/collect.png';\nimport collectLight from './imgs/collect_light.png';\nimport { delFavoriter, fetchFavoriter, saveFavoriter } from './api';\nimport './style/index';\nconst Collect = ({ id, type }) => {\n const [hasCollect, setHasCollect] = useState(false);\n useEffect(() => {\n if (id && type) {\n fetchFavoriter(id, type).then((res) => {\n var _a;\n if (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.length) > 0) {\n setHasCollect(res.data.includes(id));\n }\n });\n }\n }, [id, type]);\n // 关注-取消关注\n const toggleCollect = () => {\n if (hasCollect) {\n delFavoriter(id, type).then((res) => {\n if (res.result === 0) {\n setHasCollect(false);\n }\n });\n }\n else {\n saveFavoriter(id, type).then((res) => {\n if (res.result === 0) {\n setHasCollect(true);\n }\n });\n }\n };\n return (React.createElement(\"div\", { className: \"btn\", onClick: () => {\n toggleCollect();\n } },\n React.createElement(\"img\", { src: !hasCollect ? collect : collectLight }),\n hasCollect ? '已关注' : '关注'));\n};\nexport default Collect;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;A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E;UAClBX,aAAa,CAAC,IAAI,CAAC;QACvB;MACJ,CAAC,CAAC;IACN;EACJ,CAAC;EACD,oBAAQa,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,KAAK;IAAEC,OAAO,EAAE,mBAAM;MAC9DP,aAAa,EAAE;IACnB;EAAE,CAAC,eACHI,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEG,GAAG,EAAE,CAAClB,UAAU,GAAGmB,mBAAO,GAAGC;EAAa,CAAC,CAAC,EACzEpB,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;AAClC,CAAC;AAAC,eACaJ,OAAO;AAAA"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- require("./index.css");
4
- //# sourceMappingURL=css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"css.js","names":[],"sources":["vm-common-components/components/vm-collect/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- require("./index.less");
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["vm-common-components/components/vm-collect/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = exports.Wrap = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _SubTitle = _interopRequireDefault(require("../SubTitle"));
9
- require("./style");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- /**
12
- * 包裹
13
- * @param props
14
- * @returns {JSX.Element}
15
- * @constructor
16
- */
17
- var Wrap = function Wrap(props) {
18
- var children = props.children,
19
- style = props.style;
20
- return /*#__PURE__*/_react["default"].createElement("div", {
21
- className: 'wrap',
22
- style: style
23
- }, children);
24
- };
25
- /**
26
- * 容器
27
- * @param props
28
- * @returns {JSX.Element}
29
- * @constructor
30
- */
31
- exports.Wrap = Wrap;
32
- var Container = function Container(props) {
33
- var title = props.title,
34
- style = props.style,
35
- children = props.children,
36
- extraContent = props.extraContent;
37
- return /*#__PURE__*/_react["default"].createElement(Wrap, {
38
- style: style
39
- }, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, title ? /*#__PURE__*/_react["default"].createElement(_SubTitle["default"], {
40
- title: title,
41
- extra: extraContent
42
- }) : null, /*#__PURE__*/_react["default"].createElement("div", {
43
- className: 'content'
44
- }, children)));
45
- };
46
- var _default = Container;
47
- exports["default"] = _default;
48
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["Wrap","props","children","style","React","createElement","className","Container","title","extraContent","Fragment","SubTitle","extra"],"sources":["vm-common-components/components/vm-container/index.js"],"sourcesContent":["import React from 'react';\nimport SubTitle from '../SubTitle';\nimport './style';\n/**\n * 包裹\n * @param props\n * @returns {JSX.Element}\n * @constructor\n */\nexport const Wrap = (props) => {\n const { children, style } = props;\n return (React.createElement(\"div\", { className: 'wrap', style: style }, children));\n};\n/**\n * 容器\n * @param props\n * @returns {JSX.Element}\n * @constructor\n */\nconst Container = (props) => {\n const { title, style, children, extraContent } = props;\n return (React.createElement(Wrap, { style: style },\n React.createElement(React.Fragment, null,\n title ? React.createElement(SubTitle, { title: title, extra: extraContent }) : null,\n React.createElement(\"div\", { className: 'content' }, children))));\n};\nexport default Container;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,IAAI,GAAG,SAAPA,IAAI,CAAIC,KAAK,EAAK;EAC3B,IAAQC,QAAQ,GAAYD,KAAK,CAAzBC,QAAQ;IAAEC,KAAK,GAAKF,KAAK,CAAfE,KAAK;EACvB,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,MAAM;IAAEH,KAAK,EAAEA;EAAM,CAAC,EAAED,QAAQ,CAAC;AACrF,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AALA;AAMA,IAAMK,SAAS,GAAG,SAAZA,SAAS,CAAIN,KAAK,EAAK;EACzB,IAAQO,KAAK,GAAoCP,KAAK,CAA9CO,KAAK;IAAEL,KAAK,GAA6BF,KAAK,CAAvCE,KAAK;IAAED,QAAQ,GAAmBD,KAAK,CAAhCC,QAAQ;IAAEO,YAAY,GAAKR,KAAK,CAAtBQ,YAAY;EAC5C,oBAAQL,iBAAK,CAACC,aAAa,CAACL,IAAI,EAAE;IAAEG,KAAK,EAAEA;EAAM,CAAC,eAC9CC,iBAAK,CAACC,aAAa,CAACD,iBAAK,CAACM,QAAQ,EAAE,IAAI,EACpCF,KAAK,gBAAGJ,iBAAK,CAACC,aAAa,CAACM,oBAAQ,EAAE;IAAEH,KAAK,EAAEA,KAAK;IAAEI,KAAK,EAAEH;EAAa,CAAC,CAAC,GAAG,IAAI,eACnFL,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAU,CAAC,EAAEJ,QAAQ,CAAC,CAAC,CAAC;AAC5E,CAAC;AAAC,eACaK,SAAS;AAAA"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- require("./index.css");
4
- //# sourceMappingURL=css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"css.js","names":[],"sources":["vm-common-components/components/vm-container/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- require("./index.less");
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["vm-common-components/components/vm-container/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}