@vtx/modals2 2.10.36 → 2.10.37

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 (425) hide show
  1. package/README.md +33 -33
  2. package/lib/style/index.less +9 -9
  3. package/lib/style/themes/dark.less +71 -71
  4. package/lib/style/themes/default.less +37 -37
  5. package/lib/style/themes/index.less +1 -1
  6. package/lib/style/themesHZ/dark.less +69 -69
  7. package/lib/style/themesHZ/default.less +23 -23
  8. package/lib/style/themesHZ/index.less +1 -1
  9. package/lib/typings.d.ts +15 -15
  10. package/lib/vm-alarm-info/Components/AlarmStatistics.js +2 -2
  11. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  12. package/lib/vm-alarm-info/Components/AlarmTrend.js +2 -2
  13. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  14. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +2 -2
  15. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  16. package/lib/vm-alarm-info/Components/index.less +40 -40
  17. package/lib/vm-alarm-info/index.js +2 -2
  18. package/lib/vm-alarm-info/index.js.map +1 -1
  19. package/lib/vm-alarm-info/style/index.less +16 -16
  20. package/lib/vm-alarm-situation/index.js +2 -2
  21. package/lib/vm-alarm-situation/index.js.map +1 -1
  22. package/lib/vm-alarm-situation/style/index.less +67 -67
  23. package/lib/vm-alarm-situation-pt/index.js +2 -2
  24. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  25. package/lib/vm-alarm-situation-pt/style/index.less +65 -65
  26. package/lib/vm-analysis-comparison/index.js +2 -2
  27. package/lib/vm-analysis-comparison/index.js.map +1 -1
  28. package/lib/vm-analysis-comparison/style/index.less +12 -12
  29. package/lib/vm-appraisal-info/List.js +1 -1
  30. package/lib/vm-appraisal-info/List.js.map +1 -1
  31. package/lib/vm-appraisal-info/ListKh.js +1 -1
  32. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  33. package/lib/vm-appraisal-info/ListZg.js +1 -1
  34. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  35. package/lib/vm-appraisal-info/index.js +2 -2
  36. package/lib/vm-appraisal-info/index.js.map +1 -1
  37. package/lib/vm-appraisal-info/style/index.less +122 -122
  38. package/lib/vm-base-list/index.js +2 -2
  39. package/lib/vm-base-list/index.js.map +1 -1
  40. package/lib/vm-base-list/style/index.less +39 -39
  41. package/lib/vm-button/style/index.less +20 -20
  42. package/lib/vm-charts/Line.js +1 -1
  43. package/lib/vm-charts/Pie.js +1 -1
  44. package/lib/vm-charts/index.less +30 -30
  45. package/lib/vm-checkbox/style/index.less +25 -25
  46. package/lib/vm-common-components/common/vm-modal/style/index.less +108 -108
  47. package/lib/vm-common-components/common/vm-scrollable/style/index.less +17 -17
  48. package/lib/vm-common-components/common/vm-select/style/index.less +51 -51
  49. package/lib/vm-common-components/common/vm-tabs/index.js +2 -2
  50. package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -1
  51. package/lib/vm-common-components/common/vm-tabs/style/index.less +60 -60
  52. package/lib/vm-common-components/components/Compare/style/index.less +35 -35
  53. package/lib/vm-common-components/components/ImagesGroup/style/index.less +11 -11
  54. package/lib/vm-common-components/components/Portrait/imgs/dx.svg +5 -5
  55. package/lib/vm-common-components/components/Portrait/imgs/gj.svg +6 -6
  56. package/lib/vm-common-components/components/Portrait/imgs/jt.svg +5 -5
  57. package/lib/vm-common-components/components/Portrait/style/index.less +226 -226
  58. package/lib/vm-common-components/components/RadionButton/index.js +2 -2
  59. package/lib/vm-common-components/components/RadionButton/index.js.map +1 -1
  60. package/lib/vm-common-components/components/RadionButton/style/index.less +25 -25
  61. package/lib/vm-common-components/components/Statistics/style/index.less +68 -68
  62. package/lib/vm-common-components/components/SubTitle/style/index.less +63 -63
  63. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +2 -2
  64. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -1
  65. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +44 -44
  66. package/lib/vm-common-components/components/index.js +1 -1
  67. package/lib/vm-common-components/components/vm-alarm-title/style/index.less +25 -25
  68. package/lib/vm-common-components/components/vm-chart/index.js +2 -2
  69. package/lib/vm-common-components/components/vm-chart/index.js.map +1 -1
  70. package/lib/vm-common-components/components/vm-chart/index.less +12 -12
  71. package/lib/vm-common-components/components/vm-collect/index.js +2 -2
  72. package/lib/vm-common-components/components/vm-collect/index.js.map +1 -1
  73. package/lib/vm-common-components/components/vm-collect/style/index.less +13 -13
  74. package/lib/vm-common-components/components/vm-container/style/index.less +16 -16
  75. package/lib/vm-common-components/components/vm-defects/index.js +2 -2
  76. package/lib/vm-common-components/components/vm-defects/index.js.map +1 -1
  77. package/lib/vm-common-components/components/vm-defects/style/index.less +23 -23
  78. package/lib/vm-common-components/components/vm-nodata/style/index.less +20 -20
  79. package/lib/vm-common-components/components/vm-water-wave/index.less +56 -56
  80. package/lib/vm-common-components/index.js +1 -1
  81. package/lib/vm-common-components/index.js.map +1 -1
  82. package/lib/vm-common-components/style/index.less +1 -1
  83. package/lib/vm-container/style/index.less +28 -28
  84. package/lib/vm-correlation-comparison/index.js +2 -2
  85. package/lib/vm-correlation-comparison/index.js.map +1 -1
  86. package/lib/vm-correlation-comparison/style/index.less +13 -13
  87. package/lib/vm-empty/style/index.less +23 -23
  88. package/lib/vm-filter/index.js +2 -2
  89. package/lib/vm-filter/index.js.map +1 -1
  90. package/lib/vm-filter/style/index.less +165 -165
  91. package/lib/vm-image-text/style/index.less +30 -30
  92. package/lib/vm-info-collection/style/index.less +38 -38
  93. package/lib/vm-map/index.js +2 -2
  94. package/lib/vm-map/index.js.map +1 -1
  95. package/lib/vm-modal-table/style/index.less +23 -23
  96. package/lib/vm-radio/style/index.less +26 -26
  97. package/lib/vm-real-time-monitor/index.js +2 -2
  98. package/lib/vm-real-time-monitor/index.js.map +1 -1
  99. package/lib/vm-real-time-monitor/style/index.less +12 -12
  100. package/lib/vm-repair-maintain/RmRecord.js +1 -1
  101. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  102. package/lib/vm-repair-maintain/style/index.less +108 -108
  103. package/lib/vm-round-content/index.js +2 -2
  104. package/lib/vm-round-content/index.js.map +1 -1
  105. package/lib/vm-round-content/style/index.less +33 -33
  106. package/lib/vm-select-device/index.js +2 -2
  107. package/lib/vm-select-device/index.js.map +1 -1
  108. package/lib/vm-select-device/style/index.less +16 -16
  109. package/lib/vm-sub-tabs/style/index.less +119 -119
  110. package/lib/vm-sub-title/style/index.less +23 -23
  111. package/lib/vm-table/index.js +3 -3
  112. package/lib/vm-table/index.js.map +1 -1
  113. package/lib/vm-table/style/index.less +224 -224
  114. package/lib/vm-video/index.less +10 -10
  115. package/lib/vtx-base-modal/index.js +2 -2
  116. package/lib/vtx-base-modal/index.js.map +1 -1
  117. package/lib/vtx-base-modal/style/index.less +547 -547
  118. package/lib/vtx-car-modal/components/AlarmInfo/List.js +2 -2
  119. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  120. package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -2
  121. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  122. package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
  123. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +1 -1
  124. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
  125. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -1
  126. package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
  127. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  128. package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -239
  129. package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
  130. package/lib/vtx-car-modal/components/OilConsumption/List.js +1 -1
  131. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  132. package/lib/vtx-car-modal/components/OilConsumption/index.js +1 -1
  133. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  134. package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
  135. package/lib/vtx-car-modal/components/StaticInfo/index.js +2 -2
  136. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  137. package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
  138. package/lib/vtx-car-modal/components/WaterConsumption/index.js +1 -1
  139. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  140. package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
  141. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
  142. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
  143. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  144. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +1 -1
  145. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  146. package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
  147. package/lib/vtx-car-modal/index.js +1 -1
  148. package/lib/vtx-car-modal/index.js.map +1 -1
  149. package/lib/vtx-car-modal/style/index.less +6 -6
  150. package/lib/vtx-cc-cp-modal/api.js +2 -2
  151. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  152. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  153. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  154. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  155. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -1
  156. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
  157. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  158. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  159. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  160. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
  161. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  162. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
  163. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
  164. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  165. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +1 -1
  166. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -1
  167. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
  168. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
  169. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  170. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
  171. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  172. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  173. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
  174. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  175. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +39 -39
  176. package/lib/vtx-cc-cp-modal/index.js +1 -1
  177. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  178. package/lib/vtx-cc-cp-modal/style/index.less +1 -1
  179. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  180. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  181. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +2 -2
  182. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  183. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
  184. package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
  185. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +2 -2
  186. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  187. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +2 -2
  188. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  189. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
  190. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  191. package/lib/vtx-cp-modal/components/SyInfo/index.js +2 -2
  192. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  193. package/lib/vtx-cp-modal/components/SyInfo/index.less +37 -37
  194. package/lib/vtx-cp-modal/index.js +1 -1
  195. package/lib/vtx-cp-modal/index.js.map +1 -1
  196. package/lib/vtx-cp-modal/style/index.less +1 -1
  197. package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
  198. package/lib/vtx-default-modal/index.js +1 -1
  199. package/lib/vtx-default-modal/index.js.map +1 -1
  200. package/lib/vtx-default-modal/style/index.less +1 -1
  201. package/lib/vtx-device-modal/components/DataAnalysis/index.js +2 -2
  202. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  203. package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
  204. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  205. package/lib/vtx-device-modal/index.js +1 -1
  206. package/lib/vtx-device-modal/index.js.map +1 -1
  207. package/lib/vtx-device-modal/style/index.less +7 -7
  208. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
  209. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
  210. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  211. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +2 -2
  212. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  213. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  214. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  215. package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -191
  216. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  217. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  218. package/lib/vtx-df-modal/components/Metering/List.js +1 -1
  219. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  220. package/lib/vtx-df-modal/components/Metering/index.js +2 -2
  221. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  222. package/lib/vtx-df-modal/components/Metering/index.less +75 -75
  223. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -2
  224. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  225. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +2 -2
  226. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  227. package/lib/vtx-df-modal/components/WorkCondition/index.js +2 -2
  228. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  229. package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
  230. package/lib/vtx-df-modal/index.js +1 -1
  231. package/lib/vtx-df-modal/index.js.map +1 -1
  232. package/lib/vtx-df-modal/style/index.less +1 -1
  233. package/lib/vtx-facility-modal/api.js +2 -2
  234. package/lib/vtx-facility-modal/api.js.map +1 -1
  235. package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
  236. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  237. package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
  238. package/lib/vtx-facility-modal/style/index.less +1 -1
  239. package/lib/vtx-health-modal/api.js +1 -1
  240. package/lib/vtx-health-modal/api.js.map +1 -1
  241. package/lib/vtx-health-modal/components/Health/index.js +6 -2
  242. package/lib/vtx-health-modal/components/Health/index.js.map +1 -1
  243. package/lib/vtx-health-modal/components/Health/style/index.less +9 -9
  244. package/lib/vtx-housing-estate-modal/api.js +2 -2
  245. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  246. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
  247. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  248. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
  249. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  250. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
  251. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  252. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
  253. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  254. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
  255. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
  256. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  257. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
  258. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  259. package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -246
  260. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
  261. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  262. package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
  263. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
  264. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  265. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
  266. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
  267. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  268. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
  269. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
  270. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  271. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -76
  272. package/lib/vtx-housing-estate-modal/style/index.less +1 -1
  273. package/lib/vtx-hz-facility-modal/api.js +2 -2
  274. package/lib/vtx-hz-facility-modal/api.js.map +1 -1
  275. package/lib/vtx-hz-facility-modal/components/BJGK/index.js +2 -2
  276. package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +1 -1
  277. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +7 -7
  278. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +26 -26
  279. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +1 -1
  280. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -1
  281. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +22 -22
  282. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +30 -30
  283. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +2 -2
  284. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -1
  285. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +15 -15
  286. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +33 -33
  287. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +2 -2
  288. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +2 -2
  289. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -1
  290. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -4
  291. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +2 -2
  292. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -1
  293. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +42 -42
  294. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +2 -2
  295. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -1
  296. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +50 -50
  297. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +16 -16
  298. package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +42 -42
  299. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +26 -26
  300. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +26 -26
  301. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +2 -2
  302. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +1 -1
  303. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +48 -48
  304. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +2 -2
  305. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +1 -1
  306. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +53 -53
  307. package/lib/vtx-hz-facility-modal/components/Record/index.js +2 -2
  308. package/lib/vtx-hz-facility-modal/components/Record/index.js.map +1 -1
  309. package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +2 -2
  310. package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +1 -1
  311. package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +2 -2
  312. package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +1 -1
  313. package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +2 -2
  314. package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +1 -1
  315. package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +2 -2
  316. package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +1 -1
  317. package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +2 -2
  318. package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +1 -1
  319. package/lib/vtx-hz-facility-modal/components/YWGL/index.js +2 -2
  320. package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +1 -1
  321. package/lib/vtx-hz-facility-modal/index.js +2 -2
  322. package/lib/vtx-hz-facility-modal/index.js.map +1 -1
  323. package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
  324. package/lib/vtx-kh-modal/index.js +1 -1
  325. package/lib/vtx-kh-modal/index.js.map +1 -1
  326. package/lib/vtx-kh-modal/style/index.less +1 -1
  327. package/lib/vtx-restaurant-modal/api.js +2 -2
  328. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  329. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  330. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  331. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  332. package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
  333. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  334. package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -32
  335. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  336. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  337. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  338. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  339. package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
  340. package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
  341. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  342. package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -23
  343. package/lib/vtx-restaurant-modal/index.js +1 -1
  344. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  345. package/lib/vtx-restaurant-modal/style/index.less +1 -1
  346. package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
  347. package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -1
  348. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
  349. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  350. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  351. package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
  352. package/lib/vtx-road-modal/index.js +1 -1
  353. package/lib/vtx-road-modal/index.js.map +1 -1
  354. package/lib/vtx-road-modal/style/index.less +1 -1
  355. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
  356. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  357. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +2 -2
  358. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  359. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
  360. package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
  361. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  362. package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
  363. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +1 -1
  364. package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
  365. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  366. package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -144
  367. package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
  368. package/lib/vtx-staff-modal/index.js +1 -1
  369. package/lib/vtx-staff-modal/index.js.map +1 -1
  370. package/lib/vtx-staff-modal/style/index.less +1 -1
  371. package/lib/vtx-throw-point-modal/api.js +2 -2
  372. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  373. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
  374. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  375. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
  376. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  377. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
  378. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  379. package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
  380. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  381. package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
  382. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
  383. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  384. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
  385. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  386. package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
  387. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
  388. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  389. package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
  390. package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
  391. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  392. package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
  393. package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
  394. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  395. package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
  396. package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
  397. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  398. package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -76
  399. package/lib/vtx-throw-point-modal/style/index.less +1 -1
  400. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  401. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  402. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +2 -2
  403. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  404. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
  405. package/lib/vtx-wr-modal/components/BaseInfo/index.js +2 -2
  406. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  407. package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -132
  408. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +1 -1
  409. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  410. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +2 -2
  411. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  412. package/lib/vtx-wr-modal/components/Evaluate/index.js +1 -1
  413. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  414. package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
  415. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +2 -2
  416. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  417. package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
  418. package/lib/vtx-wr-modal/index.js +1 -1
  419. package/lib/vtx-wr-modal/index.js.map +1 -1
  420. package/lib/vtx-wr-modal/style/index.less +1 -1
  421. package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
  422. package/lib/vtx-zg-modal/index.js +1 -1
  423. package/lib/vtx-zg-modal/index.js.map +1 -1
  424. package/lib/vtx-zg-modal/style/index.less +1 -1
  425. package/package.json +1 -1
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- # vtx-modals2
2
-
3
- ## Getting Started
4
-
5
- Install dependencies,
6
-
7
- ```bash
8
- $ npm i
9
- ```
10
-
11
- Start the dev server,
12
-
13
- ```bash
14
- $ npm start
15
- ```
16
-
17
- Build documentation,
18
-
19
- ```bash
20
- $ npm run docs:build
21
- ```
22
-
23
- Run test,
24
-
25
- ```bash
26
- $ npm test
27
- ```
28
-
29
- Build library via `father`,
30
-
31
- ```bash
32
- $ npm run build
33
- ```
1
+ # vtx-modals2
2
+
3
+ ## Getting Started
4
+
5
+ Install dependencies,
6
+
7
+ ```bash
8
+ $ npm i
9
+ ```
10
+
11
+ Start the dev server,
12
+
13
+ ```bash
14
+ $ npm start
15
+ ```
16
+
17
+ Build documentation,
18
+
19
+ ```bash
20
+ $ npm run docs:build
21
+ ```
22
+
23
+ Run test,
24
+
25
+ ```bash
26
+ $ npm test
27
+ ```
28
+
29
+ Build library via `father`,
30
+
31
+ ```bash
32
+ $ npm run build
33
+ ```
@@ -1,9 +1,9 @@
1
- // @webkit-scrollbar-width: 8px;
2
- // @webkit-scrollbar-height: 8px;
3
- // @webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
4
- // @webkit-scrollbar-thumb-color: rgba(0, 0, 0, 0.05);
5
- // @webkit-scrollbar-thumb-radius: 4px;
6
- // @statistics-text-color: rgba(0, 0, 0, 0.65);
7
- // @table-row-odd: '#f6f6f6';
8
- @import './themes/index';
9
- @import './themesHZ/index'; // 杭州弹框的自定义两套样式
1
+ // @webkit-scrollbar-width: 8px;
2
+ // @webkit-scrollbar-height: 8px;
3
+ // @webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
4
+ // @webkit-scrollbar-thumb-color: rgba(0, 0, 0, 0.05);
5
+ // @webkit-scrollbar-thumb-radius: 4px;
6
+ // @statistics-text-color: rgba(0, 0, 0, 0.65);
7
+ // @table-row-odd: '#f6f6f6';
8
+ @import './themes/index';
9
+ @import './themesHZ/index'; // 杭州弹框的自定义两套样式
@@ -1,71 +1,71 @@
1
- @import (reference) '~antd/lib/style/themes/index.less';
2
-
3
- @import './default.less';
4
-
5
- // ScrollBar
6
- * {
7
- &::-webkit-scrollbar {
8
- width: 0px;
9
- height: 0px;
10
- }
11
-
12
- &::-webkit-scrollbar-track {
13
- background: transparent;
14
- border-radius: 5px;
15
- }
16
-
17
- &::-webkit-scrollbar-thumb {
18
- background: transparent;
19
- border-radius: 5px;
20
- }
21
-
22
- &::-webkit-scrollbar-corner {
23
- background-color: transparent;
24
- }
25
-
26
- // &::-webkit-scrollbar-thumb:hover {
27
- // background: var(--scroll-bar-hover-bg);
28
- // }
29
- }
30
-
31
- .vtx-business-modal-wrap {
32
- &.dark {
33
- --modal-content-bg: #0b1315;
34
- --modal-border-color: #69958a;
35
- --head-bg: #122a2c;
36
- --bg-color: linear-gradient(0deg, #081e21cc, #000c);
37
- --bg-color2: #162123;
38
- --sub-bg-color: #ffffff0d;
39
- --title-bg-color: #1a292bff;
40
- --title-border: 1px solid transparent;
41
- --title-color: white;
42
- --title-color2: #a9d5d3;
43
- --sub-title-color: #00f0ff;
44
- --label-color: #cafdffff;
45
- --info-color: #ffffffff;
46
- --border-color: '#3C7073FF';
47
- --scroll-bar-bg: #39cbc3aa;
48
- --scroll-bar-hover-bg: #39cbc3ff;
49
- --scroll-bar-track-bg: transparent;
50
- --button-text-color--defalut: #c9e6e8;
51
- --button-text-color--active: #ffffff;
52
- --button-background-color--default: #1a5561;
53
- --button-background-color--active: linear-gradient(0deg, #3195aa, #0f5160);
54
- --button-checked-color: #1890ff;
55
- --arrow-icon-color: #355e5f;
56
- --block-bg-color: rgba(255, 255, 255, 0.1);
57
- --block-bg-color2: rgba(48, 118, 114, 0.2);
58
- --info-active: #40ffd3;
59
- --info-active2: #52c41a;
60
- --info-active3: #40ffd3;
61
- --info-danger: #fd3a15;
62
- --info-warnning: #f7d93d;
63
- --table-head-bg: rgba(0, 173, 177, 0.1);
64
- --timeline-active: #24f2ff;
65
- --calendar-border: #35444c;
66
- --calendar-thead-bg: #29373e;
67
- --calendar-bg: rgba(255, 255, 255, 0.1);
68
- --picker-border-color: #cafdffff;
69
- --picker-bg: #000;
70
- }
71
- }
1
+ @import (reference) '~antd/lib/style/themes/index.less';
2
+
3
+ @import './default.less';
4
+
5
+ // ScrollBar
6
+ * {
7
+ &::-webkit-scrollbar {
8
+ width: 0px;
9
+ height: 0px;
10
+ }
11
+
12
+ &::-webkit-scrollbar-track {
13
+ background: transparent;
14
+ border-radius: 5px;
15
+ }
16
+
17
+ &::-webkit-scrollbar-thumb {
18
+ background: transparent;
19
+ border-radius: 5px;
20
+ }
21
+
22
+ &::-webkit-scrollbar-corner {
23
+ background-color: transparent;
24
+ }
25
+
26
+ // &::-webkit-scrollbar-thumb:hover {
27
+ // background: var(--scroll-bar-hover-bg);
28
+ // }
29
+ }
30
+
31
+ .vtx-business-modal-wrap {
32
+ &.dark {
33
+ --modal-content-bg: #0b1315;
34
+ --modal-border-color: #69958a;
35
+ --head-bg: #122a2c;
36
+ --bg-color: linear-gradient(0deg, #081e21cc, #000c);
37
+ --bg-color2: #162123;
38
+ --sub-bg-color: #ffffff0d;
39
+ --title-bg-color: #1a292bff;
40
+ --title-border: 1px solid transparent;
41
+ --title-color: white;
42
+ --title-color2: #a9d5d3;
43
+ --sub-title-color: #00f0ff;
44
+ --label-color: #cafdffff;
45
+ --info-color: #ffffffff;
46
+ --border-color: '#3C7073FF';
47
+ --scroll-bar-bg: #39cbc3aa;
48
+ --scroll-bar-hover-bg: #39cbc3ff;
49
+ --scroll-bar-track-bg: transparent;
50
+ --button-text-color--defalut: #c9e6e8;
51
+ --button-text-color--active: #ffffff;
52
+ --button-background-color--default: #1a5561;
53
+ --button-background-color--active: linear-gradient(0deg, #3195aa, #0f5160);
54
+ --button-checked-color: #1890ff;
55
+ --arrow-icon-color: #355e5f;
56
+ --block-bg-color: rgba(255, 255, 255, 0.1);
57
+ --block-bg-color2: rgba(48, 118, 114, 0.2);
58
+ --info-active: #40ffd3;
59
+ --info-active2: #52c41a;
60
+ --info-active3: #40ffd3;
61
+ --info-danger: #fd3a15;
62
+ --info-warnning: #f7d93d;
63
+ --table-head-bg: rgba(0, 173, 177, 0.1);
64
+ --timeline-active: #24f2ff;
65
+ --calendar-border: #35444c;
66
+ --calendar-thead-bg: #29373e;
67
+ --calendar-bg: rgba(255, 255, 255, 0.1);
68
+ --picker-border-color: #cafdffff;
69
+ --picker-bg: #000;
70
+ }
71
+ }
@@ -1,37 +1,37 @@
1
- .vtx-business-modal-wrap {
2
- --modal-content-bg: #f7f9fb;
3
- --modal-border-color: #fff;
4
- --head-bg: #fff;
5
- --bg-color2: #fff;
6
- --label-color: rgba(0, 0, 0, 0.65);
7
- --table-head-bg: rgba(24, 144, 255, 0.1);
8
- --title-color: #222;
9
- --title-color2: #222;
10
- --block-bg-color: rgba(0, 0, 0, 0.1);
11
- --block-bg-color2: #1890ff;
12
- --calendar-border: #ececec;
13
- --calendar-thead-bg: #fff;
14
- --calendar-bg: #fff;
15
- --info-danger: #fd3a15;
16
- --info-warnning: #f7d93d;
17
- --info-active: #222;
18
- --info-active2: #fff;
19
- --info-active3: #fff;
20
-
21
- --bg-color: white;
22
- --sub-bg-color: #f3f3f380;
23
- --title-bg-color: white;
24
- --title-border: 1px solid #dbdbdbff;
25
- --sub-title-color: #222;
26
-
27
- --info-color: #222;
28
- --border-color: '#DADADAFF';
29
- --scroll-bar-bg: #c0c0c0;
30
- --scroll-bar-hover-bg: #adadad;
31
- --scroll-bar-track-bg: #fafafa;
32
- --button-checked-color: #1890ff;
33
- --button-color: #222;
34
-
35
- --picker-border-color: #000;
36
- --picker-bg: #fff;
37
- }
1
+ .vtx-business-modal-wrap {
2
+ --modal-content-bg: #f7f9fb;
3
+ --modal-border-color: #fff;
4
+ --head-bg: #fff;
5
+ --bg-color2: #fff;
6
+ --label-color: rgba(0, 0, 0, 0.65);
7
+ --table-head-bg: rgba(24, 144, 255, 0.1);
8
+ --title-color: #222;
9
+ --title-color2: #222;
10
+ --block-bg-color: rgba(0, 0, 0, 0.1);
11
+ --block-bg-color2: #1890ff;
12
+ --calendar-border: #ececec;
13
+ --calendar-thead-bg: #fff;
14
+ --calendar-bg: #fff;
15
+ --info-danger: #fd3a15;
16
+ --info-warnning: #f7d93d;
17
+ --info-active: #222;
18
+ --info-active2: #fff;
19
+ --info-active3: #fff;
20
+
21
+ --bg-color: white;
22
+ --sub-bg-color: #f3f3f380;
23
+ --title-bg-color: white;
24
+ --title-border: 1px solid #dbdbdbff;
25
+ --sub-title-color: #222;
26
+
27
+ --info-color: #222;
28
+ --border-color: '#DADADAFF';
29
+ --scroll-bar-bg: #c0c0c0;
30
+ --scroll-bar-hover-bg: #adadad;
31
+ --scroll-bar-track-bg: #fafafa;
32
+ --button-checked-color: #1890ff;
33
+ --button-color: #222;
34
+
35
+ --picker-border-color: #000;
36
+ --picker-bg: #fff;
37
+ }
@@ -1 +1 @@
1
- @import './dark.less';
1
+ @import './dark.less';
@@ -1,69 +1,69 @@
1
- @import (reference) '~antd/lib/style/themes/index.less';
2
-
3
- @import './default.less';
4
-
5
- // ScrollBar
6
- * {
7
- &::-webkit-scrollbar {
8
- width: 0px;
9
- height: 0px;
10
- }
11
-
12
- &::-webkit-scrollbar-track {
13
- background: transparent;
14
- border-radius: 5px;
15
- }
16
-
17
- &::-webkit-scrollbar-thumb {
18
- background: transparent;
19
- border-radius: 5px;
20
- }
21
-
22
- &::-webkit-scrollbar-corner {
23
- background-color: transparent;
24
- }
25
-
26
- // &::-webkit-scrollbar-thumb:hover {
27
- // background: var(--scroll-bar-hover-bg);
28
- // }
29
- }
30
-
31
- .vtx-modal-hz {
32
- &.dark {
33
- --head-bg: #122a2c;
34
- --label-color: #dadee2;
35
- --wrap-bg: rgba(255, 255, 255, 0.05);
36
- --chart-label-bg: linear-gradient(150deg, rgba(0, 35, 65, 0.891), rgba(13, 82, 132, 0.703)),
37
- linear-gradient(
38
- 90deg,
39
- rgba(255, 255, 255, 0) 0%,
40
- #00bbf2 80%,
41
- rgba(255, 255, 255, 0) 99%
42
- );
43
- --white-color: #fff;
44
- --title-color: #fff;
45
- --select-color: #c4e6ff; // 下拉选字体颜色
46
- --statisticsBg: rgba(0, 157, 255, 0.15);
47
- --button-text-color--defalut: #ffffff;
48
- --button-text-color--active: #fefefe;
49
- --button-background-color--default: linear-gradient(
50
- 0deg,
51
- rgba(20, 20, 20, 0.2),
52
- rgba(42, 42, 42, 0.2)
53
- );
54
- --button-background-color--active: linear-gradient(
55
- 0deg,
56
- rgba(13, 186, 254, 1),
57
- rgba(42, 85, 233, 1)
58
- );
59
- --button-border-color--default: rgba(255, 255, 255, 0.16);
60
- --button-border-color--active: #fff;
61
- --sub-title-color: #c4e6ff;
62
- --info-color: #ffffff;
63
- --picker-border-color: #ffffff;
64
- --picker-bg: transparent;
65
- --img-bg: #011e3f;
66
- --health-bg: #30e9de;
67
- --health-content-bg: #6f6f7847;
68
- }
69
- }
1
+ @import (reference) '~antd/lib/style/themes/index.less';
2
+
3
+ @import './default.less';
4
+
5
+ // ScrollBar
6
+ * {
7
+ &::-webkit-scrollbar {
8
+ width: 0px;
9
+ height: 0px;
10
+ }
11
+
12
+ &::-webkit-scrollbar-track {
13
+ background: transparent;
14
+ border-radius: 5px;
15
+ }
16
+
17
+ &::-webkit-scrollbar-thumb {
18
+ background: transparent;
19
+ border-radius: 5px;
20
+ }
21
+
22
+ &::-webkit-scrollbar-corner {
23
+ background-color: transparent;
24
+ }
25
+
26
+ // &::-webkit-scrollbar-thumb:hover {
27
+ // background: var(--scroll-bar-hover-bg);
28
+ // }
29
+ }
30
+
31
+ .vtx-modal-hz {
32
+ &.dark {
33
+ --head-bg: #122a2c;
34
+ --label-color: #dadee2;
35
+ --wrap-bg: rgba(255, 255, 255, 0.05);
36
+ --chart-label-bg: linear-gradient(150deg, rgba(0, 35, 65, 0.891), rgba(13, 82, 132, 0.703)),
37
+ linear-gradient(
38
+ 90deg,
39
+ rgba(255, 255, 255, 0) 0%,
40
+ #00bbf2 80%,
41
+ rgba(255, 255, 255, 0) 99%
42
+ );
43
+ --white-color: #fff;
44
+ --title-color: #fff;
45
+ --select-color: #c4e6ff; // 下拉选字体颜色
46
+ --statisticsBg: rgba(0, 157, 255, 0.15);
47
+ --button-text-color--defalut: #ffffff;
48
+ --button-text-color--active: #fefefe;
49
+ --button-background-color--default: linear-gradient(
50
+ 0deg,
51
+ rgba(20, 20, 20, 0.2),
52
+ rgba(42, 42, 42, 0.2)
53
+ );
54
+ --button-background-color--active: linear-gradient(
55
+ 0deg,
56
+ rgba(13, 186, 254, 1),
57
+ rgba(42, 85, 233, 1)
58
+ );
59
+ --button-border-color--default: rgba(255, 255, 255, 0.16);
60
+ --button-border-color--active: #fff;
61
+ --sub-title-color: #c4e6ff;
62
+ --info-color: #ffffff;
63
+ --picker-border-color: #ffffff;
64
+ --picker-bg: transparent;
65
+ --img-bg: #011e3f;
66
+ --health-bg: #30e9de;
67
+ --health-content-bg: #6f6f7847;
68
+ }
69
+ }
@@ -1,23 +1,23 @@
1
- .vtx-modal-hz {
2
- --head-bg: #fff;
3
- --label-color: black;
4
- --wrap-bg: rgba(255, 255, 255, 1);
5
- --statisticsBg: rgba(0, 157, 255, 0.85);
6
- --button-text-color--defalut: rgba(13, 186, 254, 1);
7
- --button-text-color--active: #fefefe;
8
- --button-background-color--default: #fff;
9
- --button-background-color--active: linear-gradient(
10
- 0deg,
11
- rgba(42, 85, 233, 1),
12
- rgba(13, 186, 254, 1)
13
- );
14
- --button-border-color--default: rgba(13, 186, 254, 1);
15
- --button-border-color--active: rgba(42, 85, 233, 1);
16
- --sub-title-color: #222;
17
- --info-color: #222;
18
- --picker-border-color: #000;
19
- --picker-bg: #fff;
20
- --img-bg: transparent;
21
- --health-bg: #95f204;
22
- --health-content-bg: #fff;
23
- }
1
+ .vtx-modal-hz {
2
+ --head-bg: #fff;
3
+ --label-color: black;
4
+ --wrap-bg: rgba(255, 255, 255, 1);
5
+ --statisticsBg: rgba(0, 157, 255, 0.85);
6
+ --button-text-color--defalut: rgba(13, 186, 254, 1);
7
+ --button-text-color--active: #fefefe;
8
+ --button-background-color--default: #fff;
9
+ --button-background-color--active: linear-gradient(
10
+ 0deg,
11
+ rgba(42, 85, 233, 1),
12
+ rgba(13, 186, 254, 1)
13
+ );
14
+ --button-border-color--default: rgba(13, 186, 254, 1);
15
+ --button-border-color--active: rgba(42, 85, 233, 1);
16
+ --sub-title-color: #222;
17
+ --info-color: #222;
18
+ --picker-border-color: #000;
19
+ --picker-bg: #fff;
20
+ --img-bg: transparent;
21
+ --health-bg: #95f204;
22
+ --health-content-bg: #fff;
23
+ }
@@ -1 +1 @@
1
- @import './dark.less';
1
+ @import './dark.less';
package/lib/typings.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- declare module '*.png';
2
- declare module '*.svg';
3
- declare module '*.jpg';
4
- declare module '*.css';
5
- declare module '*.less';
6
- declare module '@vtx/utils';
7
- declare module '@vtx/components';
8
- declare module '@vtx/modals2';
9
- declare module 'dumi';
10
- declare module 'echarts';
11
- declare module 'echarts-for-react';
12
- interface Window {
13
- BMapGL: any;
14
- console: any;
15
- }
1
+ declare module '*.png';
2
+ declare module '*.svg';
3
+ declare module '*.jpg';
4
+ declare module '*.css';
5
+ declare module '*.less';
6
+ declare module '@vtx/utils';
7
+ declare module '@vtx/components';
8
+ declare module '@vtx/modals2';
9
+ declare module 'dumi';
10
+ declare module 'echarts';
11
+ declare module 'echarts-for-react';
12
+ interface Window {
13
+ BMapGL: any;
14
+ console: any;
15
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -19,7 +19,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
19
19
  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."); }
20
20
  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); }
21
21
  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; }
22
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
22
+ function _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; } }
23
23
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /**
24
24
  * 报警统计
25
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AlarmStatistics.js","names":["_react","_interopRequireWildcard","require","_vmFilter","_vmCharts","_api","_moment","_interopRequireDefault","_components","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","isArray","defaultDate","moment","AlarmStatistics","props","_useState","useState","_useState2","date","setDate","_useState3","_useState4","radioKey","setRadioKey","id","publicUrlJCSS","filterParams","items","type","defaultValue","itemProps","options","label","onChange","dateObj","format","target","typeObj","start","_Service$UseAlarmData","Service","UseAlarmData","startTime","startOf","endTime","timeType","alarmData","React","createElement","className","VmFilterItem","Pie","data","style","height","exportShow","NoData","_default","exports"],"sources":["vm-alarm-info/Components/AlarmStatistics.js"],"sourcesContent":["/**\n * 报警统计\n */\nimport React, { useState } from 'react';\nimport { VmFilterItem } from '../../vm-filter';\nimport { Pie } from '../../vm-charts';\nimport { Service } from '../api';\nimport moment from 'moment';\nimport './index.less';\nimport { NoData } from '../../vm-common-components/components';\nconst defaultDate = moment();\nfunction AlarmStatistics(props) {\n const [date, setDate] = useState(defaultDate);\n const [radioKey, setRadioKey] = useState(1);\n const { id, publicUrlJCSS, filterParams } = props;\n const items = [\n {\n type: 'radio',\n defaultValue: 1,\n itemProps: {\n options: [\n { label: '日', value: 1 },\n { label: '月', value: 2 },\n { label: '年', value: 3 },\n ],\n onChange: (e) => {\n const dateObj = {\n 1: moment().format('YYYY-MM-DD'),\n 2: moment().format('YYYY-MM'),\n 3: moment().format('YYYY'),\n };\n setRadioKey(e.target.value);\n // @ts-ignore\n setDate(dateObj[e.target.value]);\n },\n },\n },\n ];\n const typeObj = {\n 1: 'day',\n 2: 'month',\n 3: 'year',\n };\n // @ts-ignore\n const start = typeObj[radioKey];\n const { alarmData } = Service.UseAlarmData({\n id,\n publicUrlJCSS,\n startTime: moment(date)\n .startOf(start)\n .format('YYYY-MM-DD HH:mm:ss'),\n endTime: moment().format('YYYY-MM-DD HH:mm:ss'),\n timeType: radioKey,\n filterParams,\n });\n return (React.createElement(\"div\", { className: \"alarm-trend\" },\n React.createElement(VmFilterItem, { items: items }),\n (alarmData === null || alarmData === void 0 ? void 0 : alarmData.length) ? (React.createElement(Pie, { data: alarmData, name: \"\", style: { height: 180 }, exportShow: false })) : (React.createElement(NoData, { type: \"NO_CHART\", style: { height: 180 } }))));\n}\nexport default AlarmStatistics;\n"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAC,sBAAA,CAAAL,OAAA;AACAA,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAA+D,SAAAK,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAX,wBAAAQ,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAnB,GAAA,EAAAgB,GAAA,SAAAI,IAAA,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AC;EAC/B,IAAAiB,qBAAA,GAAsBC,YAAO,CAACC,YAAY,CAAC;MACvCjB,EAAE,EAAFA,EAAE;MACFC,aAAa,EAAbA,aAAa;MACbiB,SAAS,EAAE,IAAA9B,kBAAM,EAACM,IAAI,CAAC,CAClByB,OAAO,CAACL,KAAK,CAAC,CACdH,MAAM,CAAC,qBAAqB,CAAC;MAClCS,OAAO,EAAE,IAAAhC,kBAAM,EAAC,CAAC,CAACuB,MAAM,CAAC,qBAAqB,CAAC;MAC/CU,QAAQ,EAAEvB,QAAQ;MAClBI,YAAY,EAAZA;IACJ,CAAC,CAAC;IATMoB,SAAS,GAAAP,qBAAA,CAATO,SAAS;EAUjB,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAc,CAAC,eAC3DF,iBAAK,CAACC,aAAa,CAACE,sBAAY,EAAE;IAAEvB,KAAK,EAAEA;EAAM,CAAC,CAAC,EACnD,CAACmB,SAAS,KAAK,IAAI,IAAIA,SAAS,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,SAAS,CAACnD,MAAM,iBAAKoD,iBAAK,CAACC,aAAa,CAACG,aAAG,EAAE;IAAEC,IAAI,EAAEN,SAAS;IAAExD,IAAI,EAAE,EAAE;IAAE+D,KAAK,EAAE;MAAEC,MAAM,EAAE;IAAI,CAAC;IAAEC,UAAU,EAAE;EAAM,CAAC,CAAC,gBAAKR,iBAAK,CAACC,aAAa,CAACQ,kBAAM,EAAE;IAAE5B,IAAI,EAAE,UAAU;IAAEyB,KAAK,EAAE;MAAEC,MAAM,EAAE;IAAI;EAAE,CAAC,CAAE,CAAC;AACtQ;AAAC,IAAAG,QAAA,GACc5C,eAAe;AAAA6C,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"AlarmStatistics.js","names":["_react","_interopRequireWildcard","require","_vmFilter","_vmCharts","_api","_moment","_interopRequireDefault","_components","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","defaultDate","moment","AlarmStatistics","props","_useState","useState","_useState2","date","setDate","_useState3","_useState4","radioKey","setRadioKey","id","publicUrlJCSS","filterParams","items","type","defaultValue","itemProps","options","label","onChange","e","dateObj","format","target","typeObj","start","_Service$UseAlarmData","Service","UseAlarmData","startTime","startOf","endTime","timeType","alarmData","React","createElement","className","VmFilterItem","Pie","data","style","height","exportShow","NoData","_default","exports"],"sources":["vm-alarm-info/Components/AlarmStatistics.js"],"sourcesContent":["/**\n * 报警统计\n */\nimport React, { useState } from 'react';\nimport { VmFilterItem } from '../../vm-filter';\nimport { Pie } from '../../vm-charts';\nimport { Service } from '../api';\nimport moment from 'moment';\nimport './index.less';\nimport { NoData } from '../../vm-common-components/components';\nconst defaultDate = moment();\nfunction AlarmStatistics(props) {\n const [date, setDate] = useState(defaultDate);\n const [radioKey, setRadioKey] = useState(1);\n const { id, publicUrlJCSS, filterParams } = props;\n const items = [\n {\n type: 'radio',\n defaultValue: 1,\n itemProps: {\n options: [\n { label: '日', value: 1 },\n { label: '月', value: 2 },\n { label: '年', value: 3 },\n ],\n onChange: (e) => {\n const dateObj = {\n 1: moment().format('YYYY-MM-DD'),\n 2: moment().format('YYYY-MM'),\n 3: moment().format('YYYY'),\n };\n setRadioKey(e.target.value);\n // @ts-ignore\n setDate(dateObj[e.target.value]);\n },\n },\n },\n ];\n const typeObj = {\n 1: 'day',\n 2: 'month',\n 3: 'year',\n };\n // @ts-ignore\n const start = typeObj[radioKey];\n const { alarmData } = Service.UseAlarmData({\n id,\n publicUrlJCSS,\n startTime: moment(date)\n .startOf(start)\n .format('YYYY-MM-DD HH:mm:ss'),\n endTime: moment().format('YYYY-MM-DD HH:mm:ss'),\n timeType: radioKey,\n filterParams,\n });\n return (React.createElement(\"div\", { className: \"alarm-trend\" },\n React.createElement(VmFilterItem, { items: items }),\n (alarmData === null || alarmData === void 0 ? void 0 : alarmData.length) ? (React.createElement(Pie, { data: alarmData, name: \"\", style: { height: 180 }, exportShow: false })) : (React.createElement(NoData, { type: \"NO_CHART\", style: { height: 180 } }))));\n}\nexport default AlarmStatistics;\n"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAC,sBAAA,CAAAL,OAAA;AACAA,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAA+D,SAAAK,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAX,wBAAAQ,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAA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GACc7C,eAAe;AAAA8C,OAAA,cAAAD,QAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -20,7 +20,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
20
20
  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."); }
21
21
  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); }
22
22
  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; }
23
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
23
+ 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; } }
24
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /**
25
25
  * 报警趋势
26
26
  */