@vtx/modals2 2.10.7 → 2.10.12

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 (718) hide show
  1. package/lib/index.js +14 -0
  2. package/lib/index.js.map +1 -1
  3. package/lib/style/css.js.map +1 -1
  4. package/lib/style/index.css +63 -0
  5. package/lib/style/index.js.map +1 -1
  6. package/lib/style/index.less +1 -0
  7. package/lib/style/themes/dark.css +4 -0
  8. package/lib/style/themes/dark.less +2 -0
  9. package/lib/style/themes/default.css +2 -0
  10. package/lib/style/themes/default.less +3 -0
  11. package/lib/style/themes/index.css +4 -0
  12. package/lib/style/themesHZ/dark.css +59 -0
  13. package/lib/style/themesHZ/dark.less +60 -0
  14. package/lib/style/themesHZ/default.css +17 -0
  15. package/lib/style/themesHZ/default.less +17 -0
  16. package/lib/style/themesHZ/index.css +59 -0
  17. package/lib/style/themesHZ/index.less +1 -0
  18. package/lib/util/index.js.map +1 -1
  19. package/lib/vm-alarm-info/Components/AlarmRecord.js +22 -58
  20. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  21. package/lib/vm-alarm-info/Components/AlarmStatistics.js +22 -90
  22. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  23. package/lib/vm-alarm-info/Components/AlarmTrend.js +37 -63
  24. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  25. package/lib/vm-alarm-info/Components/CurrentAlarm.js +15 -85
  26. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  27. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +3 -5
  28. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  29. package/lib/vm-alarm-info/Components/index.css +3 -8
  30. package/lib/vm-alarm-info/Components/index.less +4 -6
  31. package/lib/vm-alarm-info/api.js +17 -20
  32. package/lib/vm-alarm-info/api.js.map +1 -1
  33. package/lib/vm-alarm-info/index.js +22 -17
  34. package/lib/vm-alarm-info/index.js.map +1 -1
  35. package/lib/vm-alarm-info/style/css.js.map +1 -1
  36. package/lib/vm-alarm-info/style/index.js.map +1 -1
  37. package/lib/vm-alarm-situation/api.js.map +1 -1
  38. package/lib/vm-alarm-situation/index.js +3 -5
  39. package/lib/vm-alarm-situation/index.js.map +1 -1
  40. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  41. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  42. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  43. package/lib/vm-alarm-situation-pt/index.js +2 -2
  44. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  45. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  46. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  47. package/lib/vm-analysis-comparison/api.js.map +1 -1
  48. package/lib/vm-analysis-comparison/index.js +3 -5
  49. package/lib/vm-analysis-comparison/index.js.map +1 -1
  50. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  51. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  52. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  53. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  54. package/lib/vm-appraisal-info/List.js +3 -5
  55. package/lib/vm-appraisal-info/List.js.map +1 -1
  56. package/lib/vm-appraisal-info/ListKh.js +3 -5
  57. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  58. package/lib/vm-appraisal-info/ListZg.js +3 -5
  59. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  60. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  61. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  62. package/lib/vm-appraisal-info/api.js.map +1 -1
  63. package/lib/vm-appraisal-info/index.js +3 -5
  64. package/lib/vm-appraisal-info/index.js.map +1 -1
  65. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  66. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  67. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  68. package/lib/vm-base-list/index.js +2 -2
  69. package/lib/vm-base-list/index.js.map +1 -1
  70. package/lib/vm-base-list/style/css.js.map +1 -1
  71. package/lib/vm-base-list/style/index.js.map +1 -1
  72. package/lib/vm-button/index.js.map +1 -1
  73. package/lib/vm-button/style/css.js.map +1 -1
  74. package/lib/vm-button/style/index.js.map +1 -1
  75. package/lib/vm-charts/Distribute1.js +1 -1
  76. package/lib/vm-charts/Distribute1.js.map +1 -1
  77. package/lib/vm-charts/Gauge1.js.map +1 -1
  78. package/lib/vm-charts/Line.js +5 -3
  79. package/lib/vm-charts/Line.js.map +1 -1
  80. package/lib/vm-charts/Line1.js.map +1 -1
  81. package/lib/vm-charts/Pie.js.map +1 -1
  82. package/lib/vm-charts/index.js.map +1 -1
  83. package/lib/vm-checkbox/index.js.map +1 -1
  84. package/lib/vm-checkbox/style/css.js.map +1 -1
  85. package/lib/vm-checkbox/style/index.js.map +1 -1
  86. package/lib/vm-common-components/common/index.js +28 -0
  87. package/lib/vm-common-components/common/index.js.map +1 -0
  88. package/lib/vm-common-components/common/vm-modal/index.js +32 -0
  89. package/lib/vm-common-components/common/vm-modal/index.js.map +1 -0
  90. package/lib/vm-common-components/common/vm-modal/style/css.js +4 -0
  91. package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -0
  92. package/lib/vm-common-components/common/vm-modal/style/index.css +80 -0
  93. package/lib/vm-common-components/common/vm-modal/style/index.js +4 -0
  94. package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -0
  95. package/lib/vm-common-components/common/vm-modal/style/index.less +95 -0
  96. package/lib/vm-common-components/common/vm-select/index.js +22 -0
  97. package/lib/vm-common-components/common/vm-select/index.js.map +1 -0
  98. package/lib/vm-common-components/common/vm-select/style/css.js +4 -0
  99. package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -0
  100. package/lib/vm-common-components/common/vm-select/style/index.css +47 -0
  101. package/lib/vm-common-components/common/vm-select/style/index.js +4 -0
  102. package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -0
  103. package/lib/vm-common-components/common/vm-select/style/index.less +51 -0
  104. package/lib/vm-common-components/common/vm-tabs/index.js +75 -0
  105. package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -0
  106. package/lib/vm-common-components/common/vm-tabs/style/css.js +4 -0
  107. package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -0
  108. package/lib/vm-common-components/common/vm-tabs/style/index.css +63 -0
  109. package/lib/vm-common-components/common/vm-tabs/style/index.js +4 -0
  110. package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -0
  111. package/lib/vm-common-components/common/vm-tabs/style/index.less +56 -0
  112. package/lib/vm-common-components/components/Compare/index.js +54 -0
  113. package/lib/vm-common-components/components/Compare/index.js.map +1 -0
  114. package/lib/vm-common-components/components/Compare/style/css.js +4 -0
  115. package/lib/vm-common-components/components/Compare/style/css.js.map +1 -0
  116. package/lib/vm-common-components/components/Compare/style/index.css +40 -0
  117. package/lib/vm-common-components/components/Compare/style/index.js +4 -0
  118. package/lib/vm-common-components/components/Compare/style/index.js.map +1 -0
  119. package/lib/vm-common-components/components/Compare/style/index.less +36 -0
  120. package/lib/vm-common-components/components/ImagesGroup/index.js +30 -0
  121. package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -0
  122. package/lib/vm-common-components/components/ImagesGroup/style/css.js +4 -0
  123. package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -0
  124. package/lib/vm-common-components/components/ImagesGroup/style/index.css +11 -0
  125. package/lib/vm-common-components/components/ImagesGroup/style/index.js +4 -0
  126. package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -0
  127. package/lib/vm-common-components/components/ImagesGroup/style/index.less +11 -0
  128. package/lib/vm-common-components/components/RadionButton/index.js +44 -0
  129. package/lib/vm-common-components/components/RadionButton/index.js.map +1 -0
  130. package/lib/vm-common-components/components/RadionButton/style/css.js +4 -0
  131. package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -0
  132. package/lib/vm-common-components/components/RadionButton/style/index.css +35 -0
  133. package/lib/vm-common-components/components/RadionButton/style/index.js +4 -0
  134. package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -0
  135. package/lib/vm-common-components/components/RadionButton/style/index.less +26 -0
  136. package/lib/vm-common-components/components/Statistics/index.js +177 -0
  137. package/lib/vm-common-components/components/Statistics/index.js.map +1 -0
  138. package/lib/vm-common-components/components/Statistics/style/css.js +4 -0
  139. package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -0
  140. package/lib/vm-common-components/components/Statistics/style/index.css +71 -0
  141. package/lib/vm-common-components/components/Statistics/style/index.js +4 -0
  142. package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -0
  143. package/lib/vm-common-components/components/Statistics/style/index.less +66 -0
  144. package/lib/vm-common-components/components/SubTitle/index.js +61 -0
  145. package/lib/vm-common-components/components/SubTitle/index.js.map +1 -0
  146. package/lib/vm-common-components/components/SubTitle/style/css.js +2 -0
  147. package/lib/vm-common-components/components/SubTitle/style/css.js.map +1 -0
  148. package/lib/vm-common-components/components/SubTitle/style/index.css +63 -0
  149. package/lib/vm-common-components/components/SubTitle/style/index.js +2 -0
  150. package/lib/vm-common-components/components/SubTitle/style/index.js.map +1 -0
  151. package/lib/vm-common-components/components/SubTitle/style/index.less +63 -0
  152. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +44 -0
  153. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -0
  154. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.css +41 -0
  155. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +28 -0
  156. package/lib/vm-common-components/components/vm-alarm-title/imgs/alarm.png +0 -0
  157. package/lib/vm-common-components/components/vm-alarm-title/index.js +31 -0
  158. package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -0
  159. package/lib/vm-common-components/components/vm-alarm-title/style/css.js +4 -0
  160. package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -0
  161. package/lib/vm-common-components/components/vm-alarm-title/style/index.css +25 -0
  162. package/lib/vm-common-components/components/vm-alarm-title/style/index.js +4 -0
  163. package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -0
  164. package/lib/vm-common-components/components/vm-alarm-title/style/index.less +20 -0
  165. package/lib/vm-common-components/components/vm-chart/index.css +9 -0
  166. package/lib/vm-common-components/components/vm-chart/index.js +388 -0
  167. package/lib/vm-common-components/components/vm-chart/index.js.map +1 -0
  168. package/lib/vm-common-components/components/vm-chart/index.less +12 -0
  169. package/lib/vm-common-components/components/vm-collect/imgs/collect.png +0 -0
  170. package/lib/vm-common-components/components/vm-collect/imgs/collect_light.png +0 -0
  171. package/lib/vm-common-components/components/vm-collect/index.js +43 -0
  172. package/lib/vm-common-components/components/vm-collect/index.js.map +1 -0
  173. package/lib/vm-common-components/components/vm-collect/style/css.js +4 -0
  174. package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -0
  175. package/lib/vm-common-components/components/vm-collect/style/index.css +17 -0
  176. package/lib/vm-common-components/components/vm-collect/style/index.js +4 -0
  177. package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -0
  178. package/lib/vm-common-components/components/vm-collect/style/index.less +13 -0
  179. package/lib/vm-common-components/components/vm-container/index.js +48 -0
  180. package/lib/vm-common-components/components/vm-container/index.js.map +1 -0
  181. package/lib/vm-common-components/components/vm-container/style/css.js +4 -0
  182. package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -0
  183. package/lib/vm-common-components/components/vm-container/style/index.css +14 -0
  184. package/lib/vm-common-components/components/vm-container/style/index.js +4 -0
  185. package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -0
  186. package/lib/vm-common-components/components/vm-container/style/index.less +17 -0
  187. package/lib/vm-common-components/components/vm-nodata/imgs/no_chart.png +0 -0
  188. package/lib/vm-common-components/components/vm-nodata/imgs/no_data.png +0 -0
  189. package/lib/vm-common-components/components/vm-nodata/imgs/no_data_2.png +0 -0
  190. package/lib/vm-common-components/components/vm-nodata/imgs/no_news.png +0 -0
  191. package/lib/vm-common-components/components/vm-nodata/imgs/no_permission.png +0 -0
  192. package/lib/vm-common-components/components/vm-nodata/imgs/no_picture.png +0 -0
  193. package/lib/vm-common-components/components/vm-nodata/imgs/no_result.png +0 -0
  194. package/lib/vm-common-components/components/vm-nodata/imgs/page_error.png +0 -0
  195. package/lib/vm-common-components/components/vm-nodata/index.js +73 -0
  196. package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -0
  197. package/lib/vm-common-components/components/vm-nodata/style/css.js +4 -0
  198. package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -0
  199. package/lib/vm-common-components/components/vm-nodata/style/index.css +27 -0
  200. package/lib/vm-common-components/components/vm-nodata/style/index.js +4 -0
  201. package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -0
  202. package/lib/vm-common-components/components/vm-nodata/style/index.less +21 -0
  203. package/lib/vm-common-components/components/vm-water-wave/index.css +51 -0
  204. package/lib/vm-common-components/components/vm-water-wave/index.js +161 -0
  205. package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -0
  206. package/lib/vm-common-components/components/vm-water-wave/index.less +44 -0
  207. package/lib/vm-common-components/index.js +328 -0
  208. package/lib/vm-common-components/index.js.map +1 -0
  209. package/lib/vm-common-components/style/css.js +4 -0
  210. package/lib/vm-common-components/style/css.js.map +1 -0
  211. package/lib/vm-common-components/style/index.css +147 -0
  212. package/lib/vm-common-components/style/index.js +4 -0
  213. package/lib/vm-common-components/style/index.js.map +1 -0
  214. package/lib/vm-common-components/style/index.less +1 -0
  215. package/lib/vm-container/index.js.map +1 -1
  216. package/lib/vm-container/style/css.js.map +1 -1
  217. package/lib/vm-container/style/index.js.map +1 -1
  218. package/lib/vm-correlation-comparison/api.js.map +1 -1
  219. package/lib/vm-correlation-comparison/index.js +2 -2
  220. package/lib/vm-correlation-comparison/index.js.map +1 -1
  221. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  222. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  223. package/lib/vm-empty/index.js.map +1 -1
  224. package/lib/vm-empty/style/css.js.map +1 -1
  225. package/lib/vm-empty/style/index.js.map +1 -1
  226. package/lib/vm-filter/index.js +35 -3
  227. package/lib/vm-filter/index.js.map +1 -1
  228. package/lib/vm-filter/style/css.js.map +1 -1
  229. package/lib/vm-filter/style/index.css +4 -4
  230. package/lib/vm-filter/style/index.js.map +1 -1
  231. package/lib/vm-filter/style/index.less +4 -4
  232. package/lib/vm-hooks/useSettings.js.map +1 -1
  233. package/lib/vm-image-text/index.js.map +1 -1
  234. package/lib/vm-image-text/style/css.js.map +1 -1
  235. package/lib/vm-image-text/style/index.js.map +1 -1
  236. package/lib/vm-info-collection/index.js.map +1 -1
  237. package/lib/vm-info-collection/style/css.js.map +1 -1
  238. package/lib/vm-info-collection/style/index.js.map +1 -1
  239. package/lib/vm-map/index.js +5 -6
  240. package/lib/vm-map/index.js.map +1 -1
  241. package/lib/vm-map/mapStyle.js.map +1 -1
  242. package/lib/vm-modal-table/index.js.map +1 -1
  243. package/lib/vm-modal-table/style/css.js.map +1 -1
  244. package/lib/vm-modal-table/style/index.js.map +1 -1
  245. package/lib/vm-nodata/index.js.map +1 -1
  246. package/lib/vm-radio/index.js.map +1 -1
  247. package/lib/vm-radio/style/css.js.map +1 -1
  248. package/lib/vm-radio/style/index.js.map +1 -1
  249. package/lib/vm-real-time-monitor/api.js.map +1 -1
  250. package/lib/vm-real-time-monitor/index.js +3 -5
  251. package/lib/vm-real-time-monitor/index.js.map +1 -1
  252. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  253. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  254. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  255. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  256. package/lib/vm-repair-maintain/RmRecord.js +4 -9
  257. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  258. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  259. package/lib/vm-repair-maintain/api.js.map +1 -1
  260. package/lib/vm-repair-maintain/index.js.map +1 -1
  261. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  262. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  263. package/lib/vm-round-content/index.js +3 -5
  264. package/lib/vm-round-content/index.js.map +1 -1
  265. package/lib/vm-round-content/style/css.js.map +1 -1
  266. package/lib/vm-round-content/style/index.js.map +1 -1
  267. package/lib/vm-row-col/index.js.map +1 -1
  268. package/lib/vm-row-col/style/css.js.map +1 -1
  269. package/lib/vm-row-col/style/index.js.map +1 -1
  270. package/lib/vm-select-device/index.js +2 -2
  271. package/lib/vm-select-device/index.js.map +1 -1
  272. package/lib/vm-select-device/style/css.js.map +1 -1
  273. package/lib/vm-select-device/style/index.js.map +1 -1
  274. package/lib/vm-sub-tabs/index.js.map +1 -1
  275. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  276. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  277. package/lib/vm-sub-title/index.js.map +1 -1
  278. package/lib/vm-sub-title/style/css.js.map +1 -1
  279. package/lib/vm-sub-title/style/index.js.map +1 -1
  280. package/lib/vm-table/index.js +16 -16
  281. package/lib/vm-table/index.js.map +1 -1
  282. package/lib/vm-table/style/css.js.map +1 -1
  283. package/lib/vm-table/style/index.css +2 -2
  284. package/lib/vm-table/style/index.js.map +1 -1
  285. package/lib/vm-table/style/index.less +2 -2
  286. package/lib/vm-time-line/index.js.map +1 -1
  287. package/lib/vm-time-line/style/css.js.map +1 -1
  288. package/lib/vm-time-line/style/index.js.map +1 -1
  289. package/lib/vm-video/api.js.map +1 -1
  290. package/lib/vm-video/index.css +63 -0
  291. package/lib/vm-video/index.js.map +1 -1
  292. package/lib/vtx-base-modal/api.js.map +1 -1
  293. package/lib/vtx-base-modal/index.js +2 -2
  294. package/lib/vtx-base-modal/index.js.map +1 -1
  295. package/lib/vtx-base-modal/style/css.js.map +1 -1
  296. package/lib/vtx-base-modal/style/index.css +2 -2
  297. package/lib/vtx-base-modal/style/index.js.map +1 -1
  298. package/lib/vtx-base-modal/style/index.less +2 -2
  299. package/lib/vtx-base-modal-hz/index.js +38 -0
  300. package/lib/vtx-base-modal-hz/index.js.map +1 -0
  301. package/lib/vtx-car-modal/api.js +1 -1
  302. package/lib/vtx-car-modal/api.js.map +1 -1
  303. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  304. package/lib/vtx-car-modal/components/AlarmInfo/List.js +3 -5
  305. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  306. package/lib/vtx-car-modal/components/AlarmInfo/index.js +3 -5
  307. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  308. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  309. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  310. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  311. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  312. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  313. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  314. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  315. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  316. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  317. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  318. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  319. package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
  320. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  321. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  322. package/lib/vtx-car-modal/components/OilConsumption/List.js +3 -5
  323. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  324. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  325. package/lib/vtx-car-modal/components/OilConsumption/index.js +3 -5
  326. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  327. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  328. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  329. package/lib/vtx-car-modal/components/StaticInfo/index.js +3 -5
  330. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  331. package/lib/vtx-car-modal/components/WaterConsumption/index.js +3 -5
  332. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  333. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  334. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
  335. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  336. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +2 -2
  337. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  338. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  339. package/lib/vtx-car-modal/components/index.js.map +1 -1
  340. package/lib/vtx-car-modal/index.js.map +1 -1
  341. package/lib/vtx-car-modal/style/css.js.map +1 -1
  342. package/lib/vtx-car-modal/style/index.css +63 -0
  343. package/lib/vtx-car-modal/style/index.js.map +1 -1
  344. package/lib/vtx-cc-cp-modal/api.js +15 -13
  345. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  346. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  347. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  348. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  349. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  350. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  351. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  352. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  353. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  354. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
  355. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  356. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  357. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
  358. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  359. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  360. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  361. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  362. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
  363. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  364. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  365. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  366. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -2
  367. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  368. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  369. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  370. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  371. package/lib/vtx-cc-cp-modal/style/index.css +63 -0
  372. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  373. package/lib/vtx-cp-modal/api.js.map +1 -1
  374. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +3 -5
  375. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  376. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  377. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +3 -5
  378. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  379. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  380. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  381. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  382. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  383. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  384. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +3 -5
  385. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  386. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  387. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +3 -5
  388. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  389. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  390. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  391. package/lib/vtx-cp-modal/components/SyInfo/index.js +3 -5
  392. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  393. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  394. package/lib/vtx-cp-modal/index.js.map +1 -1
  395. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  396. package/lib/vtx-cp-modal/style/index.css +63 -0
  397. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  398. package/lib/vtx-default-modal/api.js.map +1 -1
  399. package/lib/vtx-default-modal/components/BaseInfo/index.js +0 -2
  400. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  401. package/lib/vtx-default-modal/components/index.js.map +1 -1
  402. package/lib/vtx-default-modal/index.js +7 -21
  403. package/lib/vtx-default-modal/index.js.map +1 -1
  404. package/lib/vtx-default-modal/style/css.js.map +1 -1
  405. package/lib/vtx-default-modal/style/index.css +63 -0
  406. package/lib/vtx-default-modal/style/index.js.map +1 -1
  407. package/lib/vtx-device-modal/api.js.map +1 -1
  408. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  409. package/lib/vtx-device-modal/components/DataAnalysis/index.js +3 -5
  410. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  411. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  412. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  413. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  414. package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
  415. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  416. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  417. package/lib/vtx-device-modal/config.js.map +1 -1
  418. package/lib/vtx-device-modal/index.js.map +1 -1
  419. package/lib/vtx-device-modal/style/css.js.map +1 -1
  420. package/lib/vtx-device-modal/style/index.js.map +1 -1
  421. package/lib/vtx-df-modal/api.js.map +1 -1
  422. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  423. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
  424. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  425. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +3 -5
  426. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  427. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  428. package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -2
  429. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  430. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  431. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  432. package/lib/vtx-df-modal/components/Metering/List.js +3 -5
  433. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  434. package/lib/vtx-df-modal/components/Metering/index.js +3 -5
  435. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  436. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +3 -5
  437. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  438. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +3 -5
  439. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  440. package/lib/vtx-df-modal/components/WorkCondition/index.js +3 -5
  441. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  442. package/lib/vtx-df-modal/components/index.js.map +1 -1
  443. package/lib/vtx-df-modal/index.js.map +1 -1
  444. package/lib/vtx-df-modal/style/css.js.map +1 -1
  445. package/lib/vtx-df-modal/style/index.css +63 -0
  446. package/lib/vtx-df-modal/style/index.js.map +1 -1
  447. package/lib/vtx-facility-modal/api.js +32 -28
  448. package/lib/vtx-facility-modal/api.js.map +1 -1
  449. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  450. package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
  451. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  452. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  453. package/lib/vtx-facility-modal/config.js.map +1 -1
  454. package/lib/vtx-facility-modal/index.js.map +1 -1
  455. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  456. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  457. package/lib/vtx-housing-estate-modal/api.js +32 -28
  458. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  459. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
  460. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  461. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
  462. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  463. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
  464. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  465. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  466. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
  467. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  468. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
  469. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  470. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  471. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  472. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  473. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
  474. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  475. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  476. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  477. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
  478. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  479. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
  480. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  481. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  482. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
  483. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  484. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  485. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
  486. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  487. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  488. package/lib/vtx-housing-estate-modal/config.js +1 -1
  489. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  490. package/lib/vtx-housing-estate-modal/index.js +1 -1
  491. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  492. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  493. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  494. package/lib/vtx-hz-facility-modal/api.js +686 -0
  495. package/lib/vtx-hz-facility-modal/api.js.map +1 -0
  496. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +229 -0
  497. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -0
  498. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +4 -0
  499. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -0
  500. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +4 -0
  501. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -0
  502. package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.css +0 -0
  503. package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.less +0 -0
  504. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +25 -0
  505. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -0
  506. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +4 -0
  507. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -0
  508. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.css +22 -0
  509. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +4 -0
  510. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -0
  511. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +26 -0
  512. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +272 -0
  513. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -0
  514. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +4 -0
  515. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -0
  516. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.css +29 -0
  517. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +4 -0
  518. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -0
  519. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +33 -0
  520. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +279 -0
  521. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -0
  522. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +4 -0
  523. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -0
  524. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.css +37 -0
  525. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +4 -0
  526. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -0
  527. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +39 -0
  528. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +386 -0
  529. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -0
  530. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +4 -0
  531. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -0
  532. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +4 -0
  533. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +1 -0
  534. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.css +4 -0
  535. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -0
  536. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +414 -0
  537. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -0
  538. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +4 -0
  539. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -0
  540. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.css +49 -0
  541. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +4 -0
  542. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -0
  543. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +40 -0
  544. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +270 -0
  545. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -0
  546. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +4 -0
  547. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -0
  548. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.css +58 -0
  549. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +4 -0
  550. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -0
  551. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +52 -0
  552. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +97 -0
  553. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -0
  554. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +4 -0
  555. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -0
  556. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.css +15 -0
  557. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +4 -0
  558. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -0
  559. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +19 -0
  560. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +343 -0
  561. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +1 -0
  562. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +4 -0
  563. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +1 -0
  564. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +44 -0
  565. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +4 -0
  566. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +1 -0
  567. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +39 -0
  568. package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js +29 -0
  569. package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js.map +1 -0
  570. package/lib/vtx-hz-facility-modal/index.js +84 -0
  571. package/lib/vtx-hz-facility-modal/index.js.map +1 -0
  572. package/lib/vtx-hz-facility-modal/style/css.js +4 -0
  573. package/lib/vtx-hz-facility-modal/style/css.js.map +1 -0
  574. package/lib/vtx-hz-facility-modal/style/index.css +0 -0
  575. package/lib/vtx-hz-facility-modal/style/index.js +4 -0
  576. package/lib/vtx-hz-facility-modal/style/index.js.map +1 -0
  577. package/lib/vtx-hz-facility-modal/style/index.less +0 -0
  578. package/lib/vtx-kh-modal/api.js.map +1 -1
  579. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  580. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  581. package/lib/vtx-kh-modal/index.js +1 -3
  582. package/lib/vtx-kh-modal/index.js.map +1 -1
  583. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  584. package/lib/vtx-kh-modal/style/index.css +63 -0
  585. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  586. package/lib/vtx-restaurant-modal/api.js +16 -14
  587. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  588. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  589. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  590. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  591. package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
  592. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  593. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  594. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  595. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  596. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  597. package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
  598. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  599. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  600. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  601. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  602. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  603. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  604. package/lib/vtx-road-modal/api.js.map +1 -1
  605. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  606. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  607. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  608. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  609. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  610. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  611. package/lib/vtx-road-modal/components/Statistical/index.js +3 -5
  612. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  613. package/lib/vtx-road-modal/components/index.js.map +1 -1
  614. package/lib/vtx-road-modal/index.js.map +1 -1
  615. package/lib/vtx-road-modal/style/css.js.map +1 -1
  616. package/lib/vtx-road-modal/style/index.css +63 -0
  617. package/lib/vtx-road-modal/style/index.js.map +1 -1
  618. package/lib/vtx-staff-modal/api.js.map +1 -1
  619. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  620. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +3 -5
  621. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  622. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -5
  623. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  624. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  625. package/lib/vtx-staff-modal/components/Attendance/Record.js +3 -5
  626. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  627. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  628. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  629. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  630. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  631. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  632. package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
  633. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  634. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  635. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  636. package/lib/vtx-staff-modal/index.js.map +1 -1
  637. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  638. package/lib/vtx-staff-modal/style/index.css +63 -0
  639. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  640. package/lib/vtx-theme-provider/index.js.map +1 -1
  641. package/lib/vtx-throw-point-modal/api.js +32 -28
  642. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  643. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
  644. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  645. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
  646. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  647. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
  648. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  649. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  650. package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
  651. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  652. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
  653. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  654. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  655. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +1 -1
  656. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  657. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
  658. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  659. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  660. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  661. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  662. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
  663. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  664. package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
  665. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  666. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  667. package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
  668. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  669. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  670. package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
  671. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  672. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  673. package/lib/vtx-throw-point-modal/config.js +1 -1
  674. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  675. package/lib/vtx-throw-point-modal/index.js +1 -1
  676. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  677. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  678. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  679. package/lib/vtx-wr-modal/api.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +3 -5
  681. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  682. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  683. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +3 -5
  684. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  685. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  686. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  687. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +1 -2
  688. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  689. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  690. package/lib/vtx-wr-modal/components/BaseInfo/index.css +1 -1
  691. package/lib/vtx-wr-modal/components/BaseInfo/index.js +6 -7
  692. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  693. package/lib/vtx-wr-modal/components/BaseInfo/index.less +1 -1
  694. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +3 -5
  695. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  696. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  697. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +3 -5
  698. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  699. package/lib/vtx-wr-modal/components/Evaluate/index.js +3 -5
  700. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  701. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +3 -5
  702. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  703. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  704. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  705. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  706. package/lib/vtx-wr-modal/index.js.map +1 -1
  707. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  708. package/lib/vtx-wr-modal/style/index.css +63 -0
  709. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  710. package/lib/vtx-zg-modal/api.js.map +1 -1
  711. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  712. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  713. package/lib/vtx-zg-modal/index.js +1 -3
  714. package/lib/vtx-zg-modal/index.js.map +1 -1
  715. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  716. package/lib/vtx-zg-modal/style/index.css +63 -0
  717. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  718. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+
2
+ .timePeriodSwitchList{
3
+ display: flex;
4
+ .button-common {
5
+ display: inline-block;
6
+ padding: 5px 15px;
7
+ border-radius: 2px;
8
+ cursor: pointer;
9
+ font-weight: 500;
10
+ font-size: 16px;
11
+ text-align: center;
12
+ width: 100px;
13
+ }
14
+
15
+ .timePeriodSwitch {
16
+ .button-common();
17
+ background: url(../assets/normal.png) no-repeat;
18
+ background-size: 100% 100%;
19
+ color: rgba(255, 255, 255, 0.6);
20
+ }
21
+
22
+ .timePeriodSwitch--active {
23
+ .button-common();
24
+ background: url(../assets/active.png) no-repeat;
25
+ background-size: 100% 100%;;
26
+ color: #fff;
27
+ }
28
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AlarmTitle = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ require("./style");
9
+ var _alarm = _interopRequireDefault(require("./imgs/alarm.png"));
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 AlarmTitle = function AlarmTitle(props) {
18
+ var title = props.title,
19
+ _props$color = props.color,
20
+ color = _props$color === void 0 ? 'red' : _props$color;
21
+ return /*#__PURE__*/_react["default"].createElement("div", {
22
+ className: 'box',
23
+ style: {
24
+ color: color
25
+ }
26
+ }, /*#__PURE__*/_react["default"].createElement("img", {
27
+ src: _alarm["default"]
28
+ }), /*#__PURE__*/_react["default"].createElement("span", null, title));
29
+ };
30
+ exports.AlarmTitle = AlarmTitle;
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["AlarmTitle","props","title","color","React","createElement","className","style","src","AlarmImg"],"sources":["vm-common-components/components/vm-alarm-title/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nimport AlarmImg from './imgs/alarm.png';\n/**\n * 当前报警的标题\n * @param props\n * @returns {JSX.Element}\n * @constructor\n */\nexport const AlarmTitle = (props) => {\n const { title, color = 'red' } = props;\n return (React.createElement(\"div\", { className: 'box', style: { color } },\n React.createElement(\"img\", { src: AlarmImg }),\n React.createElement(\"span\", null, title)));\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,UAAU,GAAG,SAAbA,UAAU,CAAIC,KAAK,EAAK;EACjC,IAAQC,KAAK,GAAoBD,KAAK,CAA9BC,KAAK;IAAA,eAAoBD,KAAK,CAAvBE,KAAK;IAALA,KAAK,6BAAG,KAAK;EAC5B,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,KAAK;IAAEC,KAAK,EAAE;MAAEJ,KAAK,EAALA;IAAM;EAAE,CAAC,eACrEC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEG,GAAG,EAAEC;EAAS,CAAC,CAAC,eAC7CL,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEH,KAAK,CAAC,CAAC;AACjD,CAAC;AAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.css");
4
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":[],"sources":["vm-common-components/components/vm-alarm-title/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -0,0 +1,25 @@
1
+ .box {
2
+ display: -webkit-box;
3
+ display: -ms-flexbox;
4
+ display: flex;
5
+ -webkit-box-align: center;
6
+ -ms-flex-align: center;
7
+ align-items: center;
8
+ padding: 0 20px;
9
+ }
10
+ .box img {
11
+ width: 40px;
12
+ height: 40px;
13
+ margin-right: 10px;
14
+ }
15
+ .box span {
16
+ padding-right: 10px;
17
+ font-size: 22px;
18
+ font-weight: bold;
19
+ font-style: italic;
20
+ font-family: HiraginoSansGB-W3, HiraginoSansGB;
21
+ background: -webkit-gradient(linear, left bottom, left top, from(currentColor), color-stop(70%, var(--title-color)), to(var(--title-color)));
22
+ background: linear-gradient(0deg, currentColor 0%, var(--title-color) 70%, var(--title-color) 100%);
23
+ -webkit-background-clip: text;
24
+ -webkit-text-fill-color: transparent;
25
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.less");
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["vm-common-components/components/vm-alarm-title/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
@@ -0,0 +1,20 @@
1
+ .box {
2
+ display: flex;
3
+ align-items: center;
4
+ padding: 0 20px;
5
+ img {
6
+ width: 40px;
7
+ height: 40px;
8
+ margin-right: 10px;
9
+ }
10
+ span {
11
+ padding-right: 10px;
12
+ font-size: 22px;
13
+ font-weight: bold;
14
+ font-style: italic;
15
+ font-family: HiraginoSansGB-W3, HiraginoSansGB;
16
+ background: linear-gradient(0deg, currentColor 0%, var(--title-color) 70%, var(--title-color) 100%);
17
+ -webkit-background-clip: text;
18
+ -webkit-text-fill-color: transparent;
19
+ }
20
+ }
@@ -0,0 +1,9 @@
1
+ .chartWrap {
2
+ height: 100%;
3
+ }
4
+ .chartWrap :global .ant-spin-nested-loading {
5
+ height: 100%;
6
+ }
7
+ .chartWrap :global .ant-spin-nested-loading .ant-spin-container {
8
+ height: 100%;
9
+ }
@@ -0,0 +1,388 @@
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
@@ -0,0 +1 @@
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,SAA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CAACzB,MAAM,MAAM,IAAI,IAAIhD,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE,CAAC,CAAC,CAAC,MAAM,IAAI,IAAI8D,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE,CAAC7D,IAAI,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"}
@@ -0,0 +1,12 @@
1
+ .chartWrap {
2
+ height: 100%;
3
+ :global {
4
+ .ant-spin-nested-loading {
5
+ height: 100%;
6
+
7
+ .ant-spin-container {
8
+ height: 100%;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,43 @@
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
+ require("./style/index");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ 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); }
14
+ 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; }
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
+ var Collect = function Collect(_ref) {
22
+ var onClick = _ref.onClick;
23
+ var _useState = (0, _react.useState)(false),
24
+ _useState2 = _slicedToArray(_useState, 2),
25
+ hasCollect = _useState2[0],
26
+ setHasCollect = _useState2[1];
27
+ // 收藏-取消收藏
28
+ var toggleCollect = function toggleCollect() {
29
+ setHasCollect(!hasCollect);
30
+ onClick && onClick(!hasCollect);
31
+ };
32
+ return /*#__PURE__*/_react["default"].createElement("div", {
33
+ className: "btn",
34
+ onClick: function onClick() {
35
+ toggleCollect();
36
+ }
37
+ }, /*#__PURE__*/_react["default"].createElement("img", {
38
+ src: !hasCollect ? _collect["default"] : _collect_light["default"]
39
+ }), hasCollect ? '已收藏' : '收藏');
40
+ };
41
+ var _default = Collect;
42
+ exports["default"] = _default;
43
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Collect","onClick","useState","hasCollect","setHasCollect","toggleCollect","React","createElement","className","src","collect","collectLight"],"sources":["vm-common-components/components/vm-collect/index.js"],"sourcesContent":["import React, { useState } from 'react';\nimport collect from './imgs/collect.png';\nimport collectLight from './imgs/collect_light.png';\nimport './style/index';\nconst Collect = ({ onClick }) => {\n const [hasCollect, setHasCollect] = useState(false);\n // 收藏-取消收藏\n const toggleCollect = () => {\n setHasCollect(!hasCollect);\n onClick && onClick(!hasCollect);\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;AAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACvB,IAAMA,OAAO,GAAG,SAAVA,OAAO,OAAoB;EAAA,IAAdC,OAAO,QAAPA,OAAO;EACtB,gBAAoC,IAAAC,eAAQ,EAAC,KAAK,CAAC;IAAA;IAA5CC,UAAU;IAAEC,aAAa;EAChC;EACA,IAAMC,aAAa,GAAG,SAAhBA,aAAa,GAAS;IACxBD,aAAa,CAAC,CAACD,UAAU,CAAC;IAC1BF,OAAO,IAAIA,OAAO,CAAC,CAACE,UAAU,CAAC;EACnC,CAAC;EACD,oBAAQG,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,KAAK;IAAEP,OAAO,EAAE,mBAAM;MAC9DI,aAAa,EAAE;IACnB;EAAE,CAAC,eACHC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEE,GAAG,EAAE,CAACN,UAAU,GAAGO,mBAAO,GAAGC;EAAa,CAAC,CAAC,EACzER,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;AAClC,CAAC;AAAC,eACaH,OAAO;AAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.css");
4
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":[],"sources":["vm-common-components/components/vm-collect/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}