@ued_fpi/data-visual 1.2.6 → 1.2.8

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 (323) hide show
  1. package/dist/es/aims/src/AirQualityCalendar/index.vue.mjs +1 -0
  2. package/dist/es/aims/src/common/BasicEcharts/index.vue.mjs +6 -4
  3. package/dist/es/bmp/src/AlgaeMonitoring/index.d.ts +34 -2
  4. package/dist/es/bmp/src/AlgaeMonitoring/index.vue.d.ts +20 -1
  5. package/dist/es/bmp/src/AlgaeMonitoring/index.vue.mjs +49 -28
  6. package/dist/es/bmp/src/EarlyWarningEvent/index.d.ts +30 -0
  7. package/dist/es/bmp/src/EarlyWarningEvent/index.vue.d.ts +18 -0
  8. package/dist/es/bmp/src/EarlyWarningEvent/index.vue.mjs +45 -30
  9. package/dist/es/bmp/src/EarlyWarningEvent/utils/echarts/echartsOptions.mjs +1 -1
  10. package/dist/es/bmp/src/EventList/index.d.ts +23 -2
  11. package/dist/es/bmp/src/EventList/index.vue.d.ts +13 -1
  12. package/dist/es/bmp/src/EventList/index.vue.mjs +12 -2
  13. package/dist/es/bmp/src/ReportEvent/index.d.ts +30 -0
  14. package/dist/es/bmp/src/ReportEvent/index.vue.d.ts +18 -0
  15. package/dist/es/bmp/src/ReportEvent/index.vue.mjs +46 -31
  16. package/dist/es/bmp/src/ReportEvent/utils/echarts/echartsOptions.mjs +1 -1
  17. package/dist/es/ipes/src/AccessVehicleManage/index.d.ts +75 -39
  18. package/dist/es/ipes/src/AccessVehicleManage/index.vue.d.ts +44 -45
  19. package/dist/es/ipes/src/AccessVehicleManage/index.vue.mjs +60 -151
  20. package/dist/es/ipes/src/AccessVehicleManage/types/index.d.ts +33 -0
  21. package/dist/es/ipes/src/AccessVehicleManage/types/index.mjs +36 -0
  22. package/dist/es/ipes/src/AirQuality/images/air-status-1.png.mjs +3 -0
  23. package/dist/es/ipes/src/AirQuality/images/air-status-2.png.mjs +3 -0
  24. package/dist/es/ipes/src/AirQuality/images/air-status-3.png.mjs +3 -0
  25. package/dist/es/ipes/src/AirQuality/images/air-status-4.png.mjs +3 -0
  26. package/dist/es/ipes/src/AirQuality/images/air-status-5.png.mjs +3 -0
  27. package/dist/es/ipes/src/AirQuality/images/air-status-6.png.mjs +3 -0
  28. package/dist/es/ipes/src/AirQuality/images/air-status.png.mjs +3 -0
  29. package/dist/es/ipes/src/AirQuality/index.vue.mjs +100 -123
  30. package/dist/es/ipes/src/AirQuality/type.d.ts +10 -10
  31. package/dist/es/ipes/src/AirQualityManagement/index.vue.mjs +69 -124
  32. package/dist/es/ipes/src/AlarmManage/index.d.ts +71 -3
  33. package/dist/es/ipes/src/AlarmManage/index.vue.d.ts +45 -1
  34. package/dist/es/ipes/src/AlarmManage/index.vue.mjs +59 -75
  35. package/dist/es/ipes/src/BusinessManage/index.d.ts +89 -3
  36. package/dist/es/ipes/src/BusinessManage/index.vue.d.ts +56 -1
  37. package/dist/es/ipes/src/BusinessManage/index.vue.mjs +38 -56
  38. package/dist/es/ipes/src/EmergencyDuty/index.d.ts +36 -12
  39. package/dist/es/ipes/src/EmergencyDuty/index.vue.d.ts +37 -12
  40. package/dist/es/ipes/src/EmergencyDuty/index.vue.mjs +9 -44
  41. package/dist/es/ipes/src/EmergencyResources/index.d.ts +36 -12
  42. package/dist/es/ipes/src/EmergencyResources/index.vue.d.ts +37 -12
  43. package/dist/es/ipes/src/EmergencyResources/index.vue.mjs +7 -37
  44. package/dist/es/ipes/src/EnterpriseProtectionCode/index.vue.mjs +1 -1
  45. package/dist/es/ipes/src/EnvManage/index.d.ts +0 -36
  46. package/dist/es/ipes/src/EnvManage/index.vue.d.ts +1 -18
  47. package/dist/es/ipes/src/EnvManage/index.vue.mjs +99 -96
  48. package/dist/es/ipes/src/EnvManage/type.d.ts +6 -3
  49. package/dist/es/ipes/src/HazardousVehicleManage/index.d.ts +90 -48
  50. package/dist/es/ipes/src/HazardousVehicleManage/index.vue.d.ts +58 -44
  51. package/dist/es/ipes/src/HazardousVehicleManage/index.vue.mjs +87 -213
  52. package/dist/es/ipes/src/HazardousVehicleManage/types/index.d.ts +44 -4
  53. package/dist/es/ipes/src/HazardousVehicleManage/types/index.mjs +45 -0
  54. package/dist/es/ipes/src/InspectionManage/index.d.ts +93 -24
  55. package/dist/es/ipes/src/InspectionManage/index.vue.d.ts +65 -18
  56. package/dist/es/ipes/src/InspectionManage/index.vue.mjs +42 -94
  57. package/dist/es/ipes/src/Level3AirDefense/images/empty.png.mjs +2 -2
  58. package/dist/es/ipes/src/Level3AirDefense/index.d.ts +50 -3
  59. package/dist/es/ipes/src/Level3AirDefense/index.vue.d.ts +31 -1
  60. package/dist/es/ipes/src/Level3AirDefense/index.vue.mjs +27 -27
  61. package/dist/es/ipes/src/OdorControl/index.d.ts +24 -0
  62. package/dist/es/ipes/src/OdorControl/index.vue.d.ts +15 -0
  63. package/dist/es/ipes/src/OdorControl/index.vue.mjs +71 -79
  64. package/dist/es/ipes/src/RealTimeAirQualityManage/index.d.ts +0 -36
  65. package/dist/es/ipes/src/RealTimeAirQualityManage/index.mjs +0 -1
  66. package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue.d.ts +0 -18
  67. package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue.mjs +41 -66
  68. package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue2.mjs +4 -2
  69. package/dist/es/ipes/src/RealTimeAirQualityManage/type.d.ts +3 -3
  70. package/dist/es/ipes/src/SealingManage/index.d.ts +130 -58
  71. package/dist/es/ipes/src/SealingManage/index.vue.d.ts +79 -67
  72. package/dist/es/ipes/src/SealingManage/index.vue.mjs +85 -240
  73. package/dist/es/ipes/src/SealingManage/types/index.d.ts +58 -2
  74. package/dist/es/ipes/src/SealingManage/types/index.mjs +73 -0
  75. package/dist/es/ipes/src/StreetLightingManagement/index.d.ts +33 -12
  76. package/dist/es/ipes/src/StreetLightingManagement/index.vue.d.ts +33 -10
  77. package/dist/es/ipes/src/StreetLightingManagement/index.vue.mjs +14 -30
  78. package/dist/es/ipes/src/WaterNetworkManage/images/icon-percent.png.mjs +2 -2
  79. package/dist/es/ipes/src/WaterNetworkManage/index.d.ts +153 -39
  80. package/dist/es/ipes/src/WaterNetworkManage/index.vue.d.ts +68 -39
  81. package/dist/es/ipes/src/WaterNetworkManage/index.vue.mjs +112 -187
  82. package/dist/es/ipes/src/WaterNetworkManage/types/index.d.ts +54 -4
  83. package/dist/es/ipes/src/WaterNetworkManage/types/index.mjs +43 -0
  84. package/dist/es/ipes/src/common/RealTimeAir.vue.d.ts +42 -0
  85. package/dist/es/ipes/src/common/RealTimeAir.vue.mjs +97 -0
  86. package/dist/es/ipes/src/common/RealTimeAir.vue2.mjs +3 -0
  87. package/dist/es/ipes/src/common/RealTimeAir.vue3.mjs +6 -0
  88. package/dist/es/ipes/src/common/types.d.ts +7 -0
  89. package/dist/es/style.css +3 -3
  90. package/dist/es/utils.d.ts +13 -0
  91. package/dist/es/utils.mjs +41 -1
  92. package/dist/es/wgms/src/ChangesAlongTheProcess/index.vue.mjs +21 -24
  93. package/dist/es/wgms/src/ChlorophyllAchangeRate/index.vue.mjs +10 -12
  94. package/dist/es/wgms/src/CrossSectionCorrelation/index.vue.mjs +3 -11
  95. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-2.svg.mjs +1 -1
  96. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-light-1.svg.mjs +3 -0
  97. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-light-2.svg.mjs +3 -0
  98. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-light-3.svg.mjs +3 -0
  99. package/dist/es/wgms/src/DrinkingWaterComplianceRate/index.vue.mjs +8 -3
  100. package/dist/es/wgms/src/FactorTopThreeRanking/index.d.ts +8 -8
  101. package/dist/es/wgms/src/FactorTopThreeRanking/index.vue.d.ts +4 -4
  102. package/dist/es/wgms/src/FactorTopThreeRanking/index.vue.mjs +20 -20
  103. package/dist/es/wgms/src/FactorTrendComparison/index.d.ts +8 -8
  104. package/dist/es/wgms/src/FactorTrendComparison/index.vue.d.ts +4 -4
  105. package/dist/es/wgms/src/FactorTrendComparison/index.vue.mjs +39 -37
  106. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/index.vue.mjs +7 -10
  107. package/dist/es/wgms/src/LakeRiverIndex/images/0.svg.mjs +1 -1
  108. package/dist/es/wgms/src/NPTrendChange/index.vue.mjs +23 -19
  109. package/dist/es/wgms/src/PollutionSourceControl/index.vue.mjs +11 -11
  110. package/dist/es/wgms/src/SevenDayKline/index.vue.mjs +22 -40
  111. package/dist/es/wgms/src/SewageOutletsOnlineMonitor/index.vue.d.ts +1 -0
  112. package/dist/es/wgms/src/SewageOutletsOnlineMonitor/index.vue.mjs +1 -1
  113. package/dist/es/wgms/src/SubordinateRanking/index.vue.mjs +3 -3
  114. package/dist/es/wgms/src/SurroundingPollution/index.vue.mjs +6 -4
  115. package/dist/es/wgms/src/UpstreamImpact/index.vue.mjs +20 -25
  116. package/dist/es/wgms/src/UpstreamSection/index.vue.mjs +3 -11
  117. package/dist/es/wgms/src/WaterEnvironmentOnlineMonitor/index.vue.mjs +4 -2
  118. package/dist/es/wgms/src/WaterQualityClassification/index.vue.mjs +17 -18
  119. package/dist/es/wgms/src/WaterQualityRainfall/index.vue.mjs +39 -45
  120. package/dist/es/wgms/src/WaterQualityStatus/index.vue.mjs +8 -13
  121. package/dist/es/wgms/src/common/ProgressBar.vue.mjs +3 -3
  122. package/dist/{lib/ipes/src/Level3AirDefense/components/EmptyData.vue.d.ts → es/wgms/src/common/common-arrow.vue.d.ts} +6 -5
  123. package/dist/es/wgms/src/common/common-arrow.vue.mjs +26 -0
  124. package/dist/es/wgms/src/common/common-arrow.vue2.mjs +3 -0
  125. package/dist/es/wgms/src/common/common-arrow.vue3.mjs +6 -0
  126. package/dist/es/wgms/utils/echarts/BaseECharts.vue.d.ts +41 -0
  127. package/dist/es/wgms/utils/echarts/BaseECharts.vue.mjs +103 -0
  128. package/dist/es/wgms/utils/echarts/BaseECharts.vue2.mjs +5 -0
  129. package/dist/es/wgms/utils/echarts/echartsOptions.d.ts +0 -1
  130. package/dist/es/wgms/utils/echarts/echartsOptions.mjs +1 -2
  131. package/dist/es/wgms/utils/echarts/index.d.ts +0 -12
  132. package/dist/es/wgms/utils/echarts/index.mjs +19 -29
  133. package/dist/lib/aims/src/AirQualityCalendar/index.vue.js +1 -0
  134. package/dist/lib/aims/src/common/BasicEcharts/index.vue.js +7 -24
  135. package/dist/lib/bmp/src/AlgaeMonitoring/index.d.ts +34 -2
  136. package/dist/lib/bmp/src/AlgaeMonitoring/index.vue.d.ts +20 -1
  137. package/dist/lib/bmp/src/AlgaeMonitoring/index.vue.js +48 -27
  138. package/dist/lib/bmp/src/EarlyWarningEvent/index.d.ts +30 -0
  139. package/dist/lib/bmp/src/EarlyWarningEvent/index.vue.d.ts +18 -0
  140. package/dist/lib/bmp/src/EarlyWarningEvent/index.vue.js +46 -31
  141. package/dist/lib/bmp/src/EarlyWarningEvent/utils/echarts/echartsOptions.js +1 -1
  142. package/dist/lib/bmp/src/EventList/index.d.ts +23 -2
  143. package/dist/lib/bmp/src/EventList/index.vue.d.ts +13 -1
  144. package/dist/lib/bmp/src/EventList/index.vue.js +12 -2
  145. package/dist/lib/bmp/src/ReportEvent/index.d.ts +30 -0
  146. package/dist/lib/bmp/src/ReportEvent/index.vue.d.ts +18 -0
  147. package/dist/lib/bmp/src/ReportEvent/index.vue.js +47 -32
  148. package/dist/lib/bmp/src/ReportEvent/utils/echarts/echartsOptions.js +1 -1
  149. package/dist/lib/ipes/src/AccessVehicleManage/index.d.ts +75 -39
  150. package/dist/lib/ipes/src/AccessVehicleManage/index.vue.d.ts +44 -45
  151. package/dist/lib/ipes/src/AccessVehicleManage/index.vue.js +58 -149
  152. package/dist/lib/ipes/src/AccessVehicleManage/types/index.d.ts +33 -0
  153. package/dist/lib/ipes/src/AccessVehicleManage/types/index.js +40 -0
  154. package/dist/lib/ipes/src/AirQuality/images/air-status-1.png.js +7 -0
  155. package/dist/lib/ipes/src/AirQuality/images/air-status-2.png.js +7 -0
  156. package/dist/lib/ipes/src/AirQuality/images/air-status-3.png.js +7 -0
  157. package/dist/lib/ipes/src/AirQuality/images/air-status-4.png.js +7 -0
  158. package/dist/lib/ipes/src/AirQuality/images/air-status-5.png.js +7 -0
  159. package/dist/lib/ipes/src/AirQuality/images/air-status-6.png.js +7 -0
  160. package/dist/lib/ipes/src/AirQuality/images/air-status.png.js +7 -0
  161. package/dist/lib/ipes/src/AirQuality/index.vue.js +99 -122
  162. package/dist/lib/ipes/src/AirQuality/type.d.ts +10 -10
  163. package/dist/lib/ipes/src/AirQualityManagement/index.vue.js +68 -123
  164. package/dist/lib/ipes/src/AlarmManage/index.d.ts +71 -3
  165. package/dist/lib/ipes/src/AlarmManage/index.vue.d.ts +45 -1
  166. package/dist/lib/ipes/src/AlarmManage/index.vue.js +58 -74
  167. package/dist/lib/ipes/src/BusinessManage/index.d.ts +89 -3
  168. package/dist/lib/ipes/src/BusinessManage/index.vue.d.ts +56 -1
  169. package/dist/lib/ipes/src/BusinessManage/index.vue.js +37 -55
  170. package/dist/lib/ipes/src/EmergencyDuty/index.d.ts +36 -12
  171. package/dist/lib/ipes/src/EmergencyDuty/index.vue.d.ts +37 -12
  172. package/dist/lib/ipes/src/EmergencyDuty/index.vue.js +8 -43
  173. package/dist/lib/ipes/src/EmergencyResources/index.d.ts +36 -12
  174. package/dist/lib/ipes/src/EmergencyResources/index.vue.d.ts +37 -12
  175. package/dist/lib/ipes/src/EmergencyResources/index.vue.js +6 -36
  176. package/dist/lib/ipes/src/EnterpriseProtectionCode/index.vue.js +1 -1
  177. package/dist/lib/ipes/src/EnvManage/index.d.ts +0 -36
  178. package/dist/lib/ipes/src/EnvManage/index.vue.d.ts +1 -18
  179. package/dist/lib/ipes/src/EnvManage/index.vue.js +99 -96
  180. package/dist/lib/ipes/src/EnvManage/type.d.ts +6 -3
  181. package/dist/lib/ipes/src/HazardousVehicleManage/index.d.ts +90 -48
  182. package/dist/lib/ipes/src/HazardousVehicleManage/index.vue.d.ts +58 -44
  183. package/dist/lib/ipes/src/HazardousVehicleManage/index.vue.js +86 -212
  184. package/dist/lib/ipes/src/HazardousVehicleManage/types/index.d.ts +44 -4
  185. package/dist/lib/ipes/src/HazardousVehicleManage/types/index.js +49 -0
  186. package/dist/lib/ipes/src/InspectionManage/index.d.ts +93 -24
  187. package/dist/lib/ipes/src/InspectionManage/index.vue.d.ts +65 -18
  188. package/dist/lib/ipes/src/InspectionManage/index.vue.js +41 -93
  189. package/dist/lib/ipes/src/Level3AirDefense/images/empty.png.js +2 -2
  190. package/dist/lib/ipes/src/Level3AirDefense/index.d.ts +50 -3
  191. package/dist/lib/ipes/src/Level3AirDefense/index.vue.d.ts +31 -1
  192. package/dist/lib/ipes/src/Level3AirDefense/index.vue.js +25 -25
  193. package/dist/lib/ipes/src/OdorControl/index.d.ts +24 -0
  194. package/dist/lib/ipes/src/OdorControl/index.vue.d.ts +15 -0
  195. package/dist/lib/ipes/src/OdorControl/index.vue.js +70 -78
  196. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.d.ts +0 -36
  197. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.js +0 -1
  198. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue.d.ts +0 -18
  199. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue.js +41 -66
  200. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue2.js +4 -2
  201. package/dist/lib/ipes/src/RealTimeAirQualityManage/type.d.ts +3 -3
  202. package/dist/lib/ipes/src/SealingManage/index.d.ts +130 -58
  203. package/dist/lib/ipes/src/SealingManage/index.vue.d.ts +79 -67
  204. package/dist/lib/ipes/src/SealingManage/index.vue.js +84 -239
  205. package/dist/lib/ipes/src/SealingManage/types/index.d.ts +58 -2
  206. package/dist/lib/ipes/src/SealingManage/types/index.js +77 -0
  207. package/dist/lib/ipes/src/StreetLightingManagement/index.d.ts +33 -12
  208. package/dist/lib/ipes/src/StreetLightingManagement/index.vue.d.ts +33 -10
  209. package/dist/lib/ipes/src/StreetLightingManagement/index.vue.js +13 -29
  210. package/dist/lib/ipes/src/WaterNetworkManage/images/icon-percent.png.js +2 -2
  211. package/dist/lib/ipes/src/WaterNetworkManage/index.d.ts +153 -39
  212. package/dist/lib/ipes/src/WaterNetworkManage/index.vue.d.ts +68 -39
  213. package/dist/lib/ipes/src/WaterNetworkManage/index.vue.js +109 -184
  214. package/dist/lib/ipes/src/WaterNetworkManage/types/index.d.ts +54 -4
  215. package/dist/lib/ipes/src/WaterNetworkManage/types/index.js +47 -0
  216. package/dist/lib/ipes/src/common/RealTimeAir.vue.d.ts +42 -0
  217. package/dist/lib/ipes/src/common/RealTimeAir.vue.js +101 -0
  218. package/dist/lib/ipes/src/common/RealTimeAir.vue2.js +7 -0
  219. package/dist/lib/ipes/src/common/RealTimeAir.vue3.js +10 -0
  220. package/dist/lib/ipes/src/common/types.d.ts +7 -0
  221. package/dist/lib/style.css +3 -3
  222. package/dist/lib/utils.d.ts +13 -0
  223. package/dist/lib/utils.js +43 -0
  224. package/dist/lib/wgms/src/ChangesAlongTheProcess/index.vue.js +20 -23
  225. package/dist/lib/wgms/src/ChlorophyllAchangeRate/index.vue.js +10 -12
  226. package/dist/lib/wgms/src/CrossSectionCorrelation/index.vue.js +3 -11
  227. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-2.svg.js +1 -1
  228. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-light-1.svg.js +7 -0
  229. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-light-2.svg.js +7 -0
  230. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-light-3.svg.js +7 -0
  231. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/index.vue.js +7 -2
  232. package/dist/lib/wgms/src/FactorTopThreeRanking/index.d.ts +8 -8
  233. package/dist/lib/wgms/src/FactorTopThreeRanking/index.vue.d.ts +4 -4
  234. package/dist/lib/wgms/src/FactorTopThreeRanking/index.vue.js +19 -19
  235. package/dist/lib/wgms/src/FactorTrendComparison/index.d.ts +8 -8
  236. package/dist/lib/wgms/src/FactorTrendComparison/index.vue.d.ts +4 -4
  237. package/dist/lib/wgms/src/FactorTrendComparison/index.vue.js +40 -38
  238. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/index.vue.js +6 -9
  239. package/dist/lib/wgms/src/LakeRiverIndex/images/0.svg.js +1 -1
  240. package/dist/lib/wgms/src/NPTrendChange/index.vue.js +22 -18
  241. package/dist/lib/wgms/src/PollutionSourceControl/index.vue.js +11 -11
  242. package/dist/lib/wgms/src/SevenDayKline/index.vue.js +21 -39
  243. package/dist/lib/wgms/src/SewageOutletsOnlineMonitor/index.vue.d.ts +1 -0
  244. package/dist/lib/wgms/src/SewageOutletsOnlineMonitor/index.vue.js +1 -1
  245. package/dist/lib/wgms/src/SubordinateRanking/index.vue.js +3 -3
  246. package/dist/lib/wgms/src/SurroundingPollution/index.vue.js +6 -4
  247. package/dist/lib/wgms/src/UpstreamImpact/index.vue.js +19 -24
  248. package/dist/lib/wgms/src/UpstreamSection/index.vue.js +3 -11
  249. package/dist/lib/wgms/src/WaterEnvironmentOnlineMonitor/index.vue.js +4 -2
  250. package/dist/lib/wgms/src/WaterQualityClassification/index.vue.js +16 -17
  251. package/dist/lib/wgms/src/WaterQualityRainfall/index.vue.js +38 -44
  252. package/dist/lib/wgms/src/WaterQualityStatus/index.vue.js +7 -12
  253. package/dist/lib/wgms/src/common/ProgressBar.vue.js +3 -3
  254. package/dist/{es/ipes/src/Level3AirDefense/components/EmptyData.vue.d.ts → lib/wgms/src/common/common-arrow.vue.d.ts} +6 -5
  255. package/dist/lib/wgms/src/common/common-arrow.vue.js +30 -0
  256. package/dist/lib/wgms/src/common/common-arrow.vue2.js +7 -0
  257. package/dist/lib/wgms/src/common/common-arrow.vue3.js +10 -0
  258. package/dist/lib/wgms/utils/echarts/BaseECharts.vue.d.ts +41 -0
  259. package/dist/lib/wgms/utils/echarts/BaseECharts.vue.js +107 -0
  260. package/dist/lib/wgms/utils/echarts/BaseECharts.vue2.js +9 -0
  261. package/dist/lib/wgms/utils/echarts/echartsOptions.d.ts +0 -1
  262. package/dist/lib/wgms/utils/echarts/echartsOptions.js +1 -2
  263. package/dist/lib/wgms/utils/echarts/index.d.ts +0 -12
  264. package/dist/lib/wgms/utils/echarts/index.js +19 -29
  265. package/dist/style/base.css +123 -27
  266. package/dist/style/style-bmp.css +1 -1
  267. package/dist/style/style-ipes.css +1 -1
  268. package/dist/style/style-wgms.css +1 -1
  269. package/package.json +2 -2
  270. package/dist/es/bmp/src/AlgaeMonitoring/images/checked.png.mjs +0 -3
  271. package/dist/es/bmp/src/AlgaeMonitoring/images/today-alarm.png.mjs +0 -3
  272. package/dist/es/bmp/src/EarlyWarningEvent/utils/echarts/index.d.ts +0 -14
  273. package/dist/es/bmp/src/EarlyWarningEvent/utils/echarts/index.mjs +0 -40
  274. package/dist/es/bmp/src/ReportEvent/utils/echarts/index.d.ts +0 -14
  275. package/dist/es/bmp/src/ReportEvent/utils/echarts/index.mjs +0 -40
  276. package/dist/es/ipes/src/AccessVehicleManage/images/module-title-icon.png.mjs +0 -3
  277. package/dist/es/ipes/src/AlarmManage/images/modeluIcon.png.mjs +0 -3
  278. package/dist/es/ipes/src/HazardousVehicleManage/images/module-title-icon.png.mjs +0 -3
  279. package/dist/es/ipes/src/Level3AirDefense/components/EmptyData.vue.mjs +0 -25
  280. package/dist/es/ipes/src/Level3AirDefense/components/EmptyData.vue2.mjs +0 -3
  281. package/dist/es/ipes/src/Level3AirDefense/components/EmptyData.vue3.mjs +0 -6
  282. package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue3.mjs +0 -6
  283. package/dist/es/ipes/src/SealingManage/images/module-title-icon.png.mjs +0 -3
  284. package/dist/es/ipes/src/WaterNetworkManage/images/module-title-icon.png.mjs +0 -3
  285. package/dist/es/ipes/src/WaterNetworkManage/images/water-leakage.png.mjs +0 -3
  286. package/dist/es/ipes/src/WaterNetworkManage/images/water-total.png.mjs +0 -3
  287. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/down.svg.mjs +0 -3
  288. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/right.svg.mjs +0 -3
  289. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/up.svg.mjs +0 -3
  290. package/dist/es/wgms/src/WaterQualityClassification/images/down.svg.mjs +0 -3
  291. package/dist/es/wgms/src/WaterQualityClassification/images/right.svg.mjs +0 -3
  292. package/dist/es/wgms/src/WaterQualityClassification/images/up.svg.mjs +0 -3
  293. package/dist/es/wgms/src/WaterQualityStatus/images/down.svg.mjs +0 -3
  294. package/dist/es/wgms/src/WaterQualityStatus/images/right.svg.mjs +0 -3
  295. package/dist/es/wgms/src/WaterQualityStatus/images/up.svg.mjs +0 -3
  296. package/dist/lib/bmp/src/AlgaeMonitoring/images/checked.png.js +0 -7
  297. package/dist/lib/bmp/src/AlgaeMonitoring/images/today-alarm.png.js +0 -7
  298. package/dist/lib/bmp/src/EarlyWarningEvent/utils/echarts/index.d.ts +0 -14
  299. package/dist/lib/bmp/src/EarlyWarningEvent/utils/echarts/index.js +0 -63
  300. package/dist/lib/bmp/src/ReportEvent/utils/echarts/index.d.ts +0 -14
  301. package/dist/lib/bmp/src/ReportEvent/utils/echarts/index.js +0 -63
  302. package/dist/lib/ipes/src/AccessVehicleManage/images/module-title-icon.png.js +0 -7
  303. package/dist/lib/ipes/src/AlarmManage/images/modeluIcon.png.js +0 -7
  304. package/dist/lib/ipes/src/HazardousVehicleManage/images/module-title-icon.png.js +0 -7
  305. package/dist/lib/ipes/src/Level3AirDefense/components/EmptyData.vue.js +0 -29
  306. package/dist/lib/ipes/src/Level3AirDefense/components/EmptyData.vue2.js +0 -7
  307. package/dist/lib/ipes/src/Level3AirDefense/components/EmptyData.vue3.js +0 -10
  308. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue3.js +0 -10
  309. package/dist/lib/ipes/src/SealingManage/images/module-title-icon.png.js +0 -7
  310. package/dist/lib/ipes/src/WaterNetworkManage/images/module-title-icon.png.js +0 -7
  311. package/dist/lib/ipes/src/WaterNetworkManage/images/water-leakage.png.js +0 -7
  312. package/dist/lib/ipes/src/WaterNetworkManage/images/water-total.png.js +0 -7
  313. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/down.svg.js +0 -7
  314. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/right.svg.js +0 -7
  315. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/up.svg.js +0 -7
  316. package/dist/lib/wgms/src/WaterQualityClassification/images/down.svg.js +0 -7
  317. package/dist/lib/wgms/src/WaterQualityClassification/images/right.svg.js +0 -7
  318. package/dist/lib/wgms/src/WaterQualityClassification/images/up.svg.js +0 -7
  319. package/dist/lib/wgms/src/WaterQualityStatus/images/down.svg.js +0 -7
  320. package/dist/lib/wgms/src/WaterQualityStatus/images/right.svg.js +0 -7
  321. package/dist/lib/wgms/src/WaterQualityStatus/images/up.svg.js +0 -7
  322. /package/dist/es/ipes/src/{AccessVehicleManage → common}/images/new-nodata.svg.mjs +0 -0
  323. /package/dist/lib/ipes/src/{AccessVehicleManage → common}/images/new-nodata.svg.js +0 -0
@@ -1,6 +1,6 @@
1
- import { defineComponent, ref, reactive, watch, onMounted, nextTick, toRefs, openBlock, createElementBlock, createElementVNode } from 'vue';
1
+ import { defineComponent, ref, reactive, watch, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, createVNode } from 'vue';
2
2
  import dayjs from 'dayjs';
3
- import echarts from '../../utils/echarts/index.mjs';
3
+ import _sfc_main$1 from '../../utils/echarts/BaseECharts.vue.mjs';
4
4
  import { rainHydrologyAnalyse, waterSurfaceListAll } from './api/index.mjs';
5
5
 
6
6
  const _hoisted_1 = { class: "dv-wgms-water-quality-rainfall" };
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  setup(__props) {
44
44
  const props = __props;
45
45
  const chartQualityRainfall = ref();
46
+ const option = ref(void 0);
46
47
  const data = reactive({
47
48
  title: "水质-雨量-水位趋势对比图",
48
49
  unit: "mg/L",
@@ -76,7 +77,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
77
  };
77
78
  const getData = async () => {
78
79
  const res = await rainHydrologyAnalyse(data.params);
79
- console.log(res);
80
80
  const resData = res.data || [];
81
81
  const xData = [];
82
82
  const seriesData = {
@@ -95,14 +95,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
95
  seriesData.factorValue.push(item.factorValue);
96
96
  seriesData.quality.push(item.quality);
97
97
  });
98
- const lineOptions = await initWaterQuality(xData, seriesData, data.unit, data.factorName);
99
- echarts.draw(chartQualityRainfall.value, lineOptions);
98
+ option.value = await initWaterQuality(xData, seriesData, data.unit, data.factorName);
100
99
  };
101
100
  const initWaterQuality = async (xAxis, data2, unit, factorName) => {
102
101
  const { hydrology, factorValue, rain, quality } = data2;
103
102
  const res = await waterSurfaceListAll({});
104
103
  const gradeList = res?.entries ?? [];
105
- const option = {
104
+ const option2 = {
106
105
  grid: {
107
106
  top: 55,
108
107
  right: 26,
@@ -135,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
134
  bottom: 0,
136
135
  inactiveColor: "rgba(255,255,255,0.5)",
137
136
  textStyle: {
138
- color: "rgba(255,255,255,1)"
137
+ color: "var(--dv-color-text-primary)"
139
138
  },
140
139
  itemHeight: 2,
141
140
  itemWidth: 16,
@@ -160,15 +159,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
160
159
  axisLine: {
161
160
  show: false,
162
161
  lineStyle: {
163
- color: "rgba(255,255,255,0.5)"
162
+ color: "var(--dv-color-fill-lighter)"
164
163
  }
165
164
  },
166
165
  axisLabel: {
167
166
  show: true,
168
167
  textStyle: {
169
- fontFamily: "Bebas Neue",
170
- fontSize: "12",
171
- color: "rgba(255,255,255,0.6)"
168
+ fontFamily: "var(--dv-font-family-number)",
169
+ fontSize: "var(--dv-text-number2)",
170
+ color: "var(--dv-color-text-primary)"
172
171
  }
173
172
  },
174
173
  axisTick: {
@@ -184,21 +183,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
184
183
  nameLocation: "start",
185
184
  nameTextStyle: {
186
185
  align: "right",
187
- color: "rgba(255,255,255,1)"
186
+ fontFamily: "var(--dv-font-family-number)",
187
+ fontSize: "var(--dv-text-body2)",
188
+ color: "var(--dv-color-text-secondary)"
188
189
  },
189
190
  axisLabel: {
190
191
  formatter: "{value}",
191
192
  textStyle: {
192
193
  fontFamily: "var(--dv-font-family-number)",
193
- fontSize: "12",
194
- color: "#909399"
194
+ fontSize: "var(--dv-text-number2)",
195
+ color: "var(--dv-color-text-secondary)"
195
196
  }
196
197
  },
197
198
  axisLine: {
198
- show: false,
199
- lineStyle: {
200
- color: "rgba(255,255,255,1)"
201
- }
199
+ show: false
202
200
  },
203
201
  axisPointer: {
204
202
  snap: true
@@ -206,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
206
204
  splitLine: {
207
205
  show: true,
208
206
  lineStyle: {
209
- color: "rgba(255, 255, 255, 0.15)"
207
+ color: "var(--dv-color-fill-lighter)"
210
208
  }
211
209
  },
212
210
  axisTick: { show: false },
@@ -219,7 +217,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
219
217
  (${unit})`,
220
218
  nameTextStyle: {
221
219
  align: "right",
222
- color: "rgba(255,255,255,1)"
220
+ fontFamily: "var(--dv-font-family-number)",
221
+ fontSize: "var(--dv-text-body2)",
222
+ color: "var(--dv-color-text-secondary)"
223
223
  },
224
224
  position: "left",
225
225
  offset: 40,
@@ -227,24 +227,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
227
227
  formatter: "{value}",
228
228
  textStyle: {
229
229
  fontFamily: "var(--dv-font-family-number)",
230
- fontSize: "12",
231
- color: "#909399"
230
+ fontSize: "var(--dv-text-number2)",
231
+ color: "var(--dv-color-text-secondary)"
232
232
  }
233
233
  },
234
234
  axisLine: {
235
- show: false,
236
- lineStyle: {
237
- color: "rgba(255,255,255,0.5)"
238
- }
235
+ show: false
239
236
  },
240
237
  axisPointer: {
241
238
  snap: true
242
239
  },
243
240
  splitArea: {
244
- show: false,
245
- areaStyle: {
246
- color: ["transparent", "rgba(255, 255, 255, 0.05)"]
247
- }
241
+ show: false
248
242
  },
249
243
  splitLine: { show: false },
250
244
  axisTick: { show: false }
@@ -254,21 +248,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
254
248
  type: "value",
255
249
  name: "水位(m)",
256
250
  nameTextStyle: {
257
- color: "rgba(255,255,255,1)"
251
+ fontFamily: "var(--dv-font-family-number)",
252
+ fontSize: "var(--dv-text-body2)",
253
+ color: "var(--dv-color-text-secondary)"
258
254
  },
259
255
  axisLabel: {
260
256
  formatter: "{value}",
261
257
  textStyle: {
262
- fontFamily: "Bebas Neue",
263
- fontSize: "12",
264
- color: "rgba(255,255,255,0.6)"
258
+ fontFamily: "var(--dv-font-family-number)",
259
+ fontSize: "var(--dv-text-number2)",
260
+ color: "var(--dv-color-text-secondary)"
265
261
  }
266
262
  },
267
263
  axisLine: {
268
- show: false,
269
- lineStyle: {
270
- color: "rgba(255,255,255,0.5)"
271
- }
264
+ show: false
272
265
  },
273
266
  axisPointer: {
274
267
  snap: true
@@ -309,14 +302,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
309
302
  markPoint: {
310
303
  show: false,
311
304
  itemStyle: {
312
- color: ["#f00"]
305
+ color: ["var(--dv-color-danger)"]
313
306
  }
314
307
  },
315
308
  label: {
316
309
  show: true,
317
- fontFamily: "Bebas Neue",
318
- fontSize: "12",
319
- color: "rgba(255,255,255,0.6)"
310
+ fontFamily: "var(--dv-font-family-number)",
311
+ fontSize: "var(--dv-text-number2)",
312
+ color: "var(--dv-color-text-secondary)"
320
313
  },
321
314
  // data: factorValue.map((item, index) => {
322
315
  // return {
@@ -379,16 +372,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
379
372
  }
380
373
  ]
381
374
  };
382
- return option;
375
+ return option2;
383
376
  };
384
- toRefs(data);
385
377
  return (_ctx, _cache) => {
386
378
  return openBlock(), createElementBlock("div", _hoisted_1, [
387
379
  createElementVNode("div", {
388
380
  ref_key: "chartQualityRainfall",
389
381
  ref: chartQualityRainfall,
390
382
  class: "chart"
391
- }, null, 512)
383
+ }, [
384
+ createVNode(_sfc_main$1, { options: option.value }, null, 8, ["options"])
385
+ ], 512)
392
386
  ]);
393
387
  };
394
388
  }
@@ -1,10 +1,9 @@
1
- import __vite_glob_0_0 from './images/down.svg.mjs';
2
- import __vite_glob_0_1 from './images/right.svg.mjs';
3
- import __vite_glob_0_2 from './images/up.svg.mjs';
4
- import { defineComponent, reactive, onMounted, watch, toRefs, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, createVNode, normalizeStyle, createCommentVNode } from 'vue';
1
+ import { defineComponent, reactive, onMounted, watch, toRefs, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, createVNode, normalizeStyle, createBlock, createCommentVNode } from 'vue';
5
2
  import dayjs from 'dayjs';
6
3
  import _sfc_main$1 from '../common/ProgressBar.vue.mjs';
7
4
  import '../common/ProgressBar.vue2.mjs';
5
+ import _sfc_main$2 from '../common/common-arrow.vue.mjs';
6
+ import '../common/common-arrow.vue2.mjs';
8
7
  import { getReachStandardData } from './api/index.mjs';
9
8
 
10
9
  const _hoisted_1 = { class: "dv-wgms-water-quality" };
@@ -15,9 +14,8 @@ const _hoisted_5 = { class: "dv-wgms-water-quality-status-bottom dv-wgms-flex-be
15
14
  const _hoisted_6 = { class: "dv-wgms-target" };
16
15
  const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", { class: "dv-wgms-text" }, "目标", -1);
17
16
  const _hoisted_8 = { class: "dv-wgms-value" };
18
- const _hoisted_9 = { class: "dv-wgms-same" };
17
+ const _hoisted_9 = { class: "dv-wgms-same flex-left-center" };
19
18
  const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", { class: "dv-wgms-text" }, "同比", -1);
20
- const _hoisted_11 = ["src"];
21
19
  const _sfc_main = /* @__PURE__ */ defineComponent({
22
20
  __name: "index",
23
21
  props: {
@@ -45,9 +43,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
43
  const { data: res } = await getReachStandardData(props.params);
46
44
  res && (wgmsData.list = res);
47
45
  };
48
- const getAssetsFile = (url) => {
49
- return new URL((/* #__PURE__ */ Object.assign({"./images/down.svg": __vite_glob_0_0,"./images/right.svg": __vite_glob_0_1,"./images/up.svg": __vite_glob_0_2}))[`./images/${url}`], self.location).href;
50
- };
51
46
  onMounted(() => {
52
47
  getResData();
53
48
  });
@@ -79,13 +74,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
74
  createElementVNode("div", _hoisted_9, [
80
75
  _hoisted_10,
81
76
  createElementVNode("span", {
82
- style: normalizeStyle({ color: item.yoy === null ? "#fff" : item.yoy > 0 ? "#15F3A3" : item.yoy < 0 ? "#F84439" : "#33E5FF" }),
77
+ style: normalizeStyle({ color: item.yoy === null ? "var(--dv-color-text-placeholder)" : item.yoy > 0 ? "var(--dv-color-success)" : item.yoy < 0 ? "var(--dv-color-danger)" : "var(--dv-color-index)" }),
83
78
  class: "dv-wgms-value"
84
79
  }, toDisplayString(item.yoy === null ? "--" : item.yoy === 0 ? "持平" : `${item.yoy}%`), 5),
85
- item.yoy !== null ? (openBlock(), createElementBlock("img", {
80
+ item.yoy !== null ? (openBlock(), createBlock(_sfc_main$2, {
86
81
  key: 0,
87
- src: getAssetsFile(`${item.yoy > 0 ? "up" : item.yoy < 0 ? "down" : "right"}.svg`)
88
- }, null, 8, _hoisted_11)) : createCommentVNode("", true)
82
+ direction: item.yoy > 0 ? "up" : item.yoy < 0 ? "down" : "flat"
83
+ }, null, 8, ["direction"])) : createCommentVNode("", true)
89
84
  ])
90
85
  ])
91
86
  ]);
@@ -15,14 +15,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  */
16
16
  bgColor: {
17
17
  type: String,
18
- default: "rgba(255, 255, 255, 0.1)"
18
+ default: "var(--dv-color-fill-lighter)"
19
19
  },
20
20
  /**
21
21
  * 激活部分背景色
22
22
  */
23
23
  activeColor: {
24
24
  type: String,
25
- default: "linear-gradient(270deg, #00DEFF 0%, rgba(0,222,255,0.20) 100%)"
25
+ default: "linear-gradient(270deg, var(--dv-color-index) 0%, var(--dv-color-index-30) 100%)"
26
26
  },
27
27
  /**
28
28
  * 百分比
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  type: Object,
39
39
  default: () => {
40
40
  return {
41
- background: "#00DEFF",
41
+ background: "var(--dv-color-index)",
42
42
  width: "2px",
43
43
  height: "12px"
44
44
  };
@@ -1,14 +1,15 @@
1
+ import type { PropType } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{
2
- emptyText: {
3
- type: StringConstructor;
3
+ direction: {
4
+ type: PropType<"flat" | "up" | "down">;
4
5
  default: string;
5
6
  };
6
7
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- emptyText: {
8
- type: StringConstructor;
8
+ direction: {
9
+ type: PropType<"flat" | "up" | "down">;
9
10
  default: string;
10
11
  };
11
12
  }>>, {
12
- emptyText: string;
13
+ direction: "flat" | "up" | "down";
13
14
  }, {}>;
14
15
  export default _default;
@@ -0,0 +1,26 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "bar" }, null, -1);
4
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "triangle" }, null, -1);
5
+ const _hoisted_3 = [
6
+ _hoisted_1,
7
+ _hoisted_2
8
+ ];
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ __name: "common-arrow",
11
+ props: {
12
+ direction: {
13
+ type: String,
14
+ default: "up"
15
+ }
16
+ },
17
+ setup(__props) {
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createElementBlock("div", {
20
+ class: normalizeClass(["arrow", __props.direction])
21
+ }, _hoisted_3, 2);
22
+ };
23
+ }
24
+ });
25
+
26
+ export { _sfc_main as default };
@@ -0,0 +1,3 @@
1
+ /* unplugin-vue-components disabled */const commonArrow_vue_vue_type_style_index_0_lang = '';
2
+
3
+ export { commonArrow_vue_vue_type_style_index_0_lang as default };
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './common-arrow.vue.mjs';
2
+ import './common-arrow.vue2.mjs';
3
+
4
+
5
+
6
+ export { _sfc_main as default };
@@ -0,0 +1,41 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ width: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ height: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ loading: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ options: {
15
+ type: ObjectConstructor;
16
+ default: null;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ width: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ height: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ loading: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ options: {
32
+ type: ObjectConstructor;
33
+ default: null;
34
+ };
35
+ }>>, {
36
+ width: string;
37
+ height: string;
38
+ options: Record<string, any>;
39
+ loading: boolean;
40
+ }, {}>;
41
+ export default _default;
@@ -0,0 +1,103 @@
1
+ import { defineComponent, ref, onMounted, nextTick, onUnmounted, watch, openBlock, createElementBlock, normalizeStyle, createElementVNode } from 'vue';
2
+ import { useThemeHook, replaceVarStrings } from '../../../utils.mjs';
3
+ import echarts from './index.mjs';
4
+
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "BaseECharts",
7
+ props: {
8
+ width: {
9
+ type: String,
10
+ default: "100%"
11
+ },
12
+ height: {
13
+ type: String,
14
+ default: "100%"
15
+ },
16
+ loading: {
17
+ type: Boolean,
18
+ default: false
19
+ },
20
+ options: {
21
+ type: Object,
22
+ default: null
23
+ }
24
+ },
25
+ setup(__props) {
26
+ const props = __props;
27
+ const { isDark } = useThemeHook();
28
+ const domRef = ref(null);
29
+ const domBox = ref(null);
30
+ let chartObj = null;
31
+ let observer = null;
32
+ onMounted(() => {
33
+ if (!chartObj && domRef.value)
34
+ chartObj = echarts.init(domRef.value);
35
+ if (!chartObj)
36
+ return;
37
+ chartObj.showLoading({
38
+ text: "",
39
+ color: "#409eff",
40
+ textColor: "#000",
41
+ maskColor: "rgba(255, 255, 255, .95)",
42
+ zlevel: 0,
43
+ lineWidth: 2
44
+ });
45
+ if (!props.loading) {
46
+ chartObj.hideLoading();
47
+ drawOption();
48
+ }
49
+ if (props.options)
50
+ drawOption();
51
+ observer = new MutationObserver((mutationsList) => {
52
+ for (const mutation of mutationsList)
53
+ if (mutation.target === domBox.value)
54
+ chartObj && chartObj.resize();
55
+ });
56
+ nextTick(() => {
57
+ domBox.value && observer.observe(domBox.value, {
58
+ attributes: true,
59
+ childList: false,
60
+ characterData: true,
61
+ subtree: true
62
+ });
63
+ });
64
+ setTimeout(() => {
65
+ chartObj && chartObj.resize();
66
+ }, 1e3);
67
+ });
68
+ onUnmounted(() => {
69
+ if (chartObj) {
70
+ chartObj.dispose();
71
+ chartObj = null;
72
+ }
73
+ observer && observer.disconnect();
74
+ });
75
+ watch(
76
+ () => props.options,
77
+ () => {
78
+ drawOption();
79
+ }
80
+ );
81
+ watch(() => isDark.value, () => {
82
+ drawOption();
83
+ });
84
+ const drawOption = () => {
85
+ chartObj && chartObj.setOption(replaceVarStrings(props.options));
86
+ };
87
+ return (_ctx, _cache) => {
88
+ return openBlock(), createElementBlock("div", {
89
+ ref_key: "domBox",
90
+ ref: domBox,
91
+ style: normalizeStyle({ width: __props.width, height: __props.height })
92
+ }, [
93
+ createElementVNode("div", {
94
+ ref_key: "domRef",
95
+ ref: domRef,
96
+ style: normalizeStyle({ width: __props.width, height: __props.height })
97
+ }, null, 4)
98
+ ], 4);
99
+ };
100
+ }
101
+ });
102
+
103
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './BaseECharts.vue.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -45,7 +45,6 @@ export declare const pollutionSourcePieOptions: (pieData: Record<string, any>[])
45
45
  right: number;
46
46
  bottom: number;
47
47
  };
48
- color: string[];
49
48
  series: {
50
49
  name: string;
51
50
  type: string;
@@ -36,7 +36,7 @@ const pieChartOptions = (seriesData, colorList, total) => {
36
36
  fontWeight: "500",
37
37
  lineHeight: "26",
38
38
  fontSize: 16,
39
- color: "#fff"
39
+ color: "var(--dv-color-text-primary)"
40
40
  }
41
41
  }
42
42
  },
@@ -61,7 +61,6 @@ const pollutionSourcePieOptions = (pieData) => {
61
61
  right: 0,
62
62
  bottom: 0
63
63
  },
64
- color: ["#F84439", "#0062FF", "#2AC94F"],
65
64
  series: [
66
65
  {
67
66
  name: "企业档案",
@@ -1,14 +1,2 @@
1
- import 'echarts/lib/chart/line';
2
- import 'echarts/lib/chart/pie';
3
- import 'echarts/lib/chart/bar';
4
- import 'echarts/lib/chart/boxplot';
5
- import 'echarts/lib/component/legend';
6
- import 'echarts/lib/component/grid';
7
- import 'echarts/lib/component/title';
8
- import 'echarts/lib/component/tooltip';
9
- import 'echarts/lib/component/graphic';
10
- import 'echarts/lib/component/dataZoom';
11
- import 'echarts/lib/component/visualMap';
12
- import 'echarts/lib/component/markLine';
13
1
  declare const _default: any;
14
2
  export default _default;
@@ -1,40 +1,30 @@
1
- import * as echarts$1 from 'echarts/lib/echarts.js';
2
- import 'echarts/lib/chart/line';
3
- import 'echarts/lib/chart/pie';
4
- import 'echarts/lib/chart/bar';
5
- import 'echarts/lib/chart/boxplot';
6
- import 'echarts/lib/component/legend';
7
- import 'echarts/lib/component/grid';
8
- import 'echarts/lib/component/title';
9
- import 'echarts/lib/component/tooltip';
10
- import 'echarts/lib/component/graphic';
11
- import 'echarts/lib/component/dataZoom';
12
- import 'echarts/lib/component/visualMap';
13
- import 'echarts/lib/component/markLine';
1
+ import * as echarts$1 from 'echarts/core';
2
+ import { GraphicComponent, GridComponent, TooltipComponent, LegendComponent, TitleComponent } from 'echarts/components';
3
+ import { LineChart, BarChart, PieChart, BoxplotChart } from 'echarts/charts';
4
+ import { UniversalTransition } from 'echarts/features';
5
+ import { CanvasRenderer } from 'echarts/renderers';
14
6
 
15
- let allChart = [];
16
- const init = (dom) => {
17
- const echartsChance = echarts$1.init(dom);
18
- allChart.push(echartsChance);
19
- return echartsChance;
20
- };
7
+ echarts$1.use([
8
+ GraphicComponent,
9
+ GridComponent,
10
+ TooltipComponent,
11
+ LegendComponent,
12
+ TitleComponent,
13
+ LineChart,
14
+ BarChart,
15
+ PieChart,
16
+ BoxplotChart,
17
+ CanvasRenderer,
18
+ UniversalTransition
19
+ ]);
21
20
  const draw = (dom, option) => {
22
- const chart = init(dom);
21
+ const chart = echarts$1.init(dom);
23
22
  chart.clear();
24
23
  chart.setOption(option);
25
24
  return chart;
26
25
  };
27
- window.addEventListener("resize", () => {
28
- allChart.forEach((item, index) => {
29
- if (!item._dom.offsetWidth)
30
- allChart[index] = void 0;
31
- item && item.resize && item._dom.offsetWidth && item.resize();
32
- });
33
- allChart = allChart.filter((item) => item);
34
- });
35
26
  const echarts = {
36
27
  ...echarts$1,
37
- init,
38
28
  draw
39
29
  };
40
30
 
@@ -184,6 +184,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
184
184
  vue.createVNode(_component_el_date_picker, {
185
185
  modelValue: dateTime.value,
186
186
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dateTime.value = $event),
187
+ teleported: false,
187
188
  type: "month",
188
189
  clearable: false,
189
190
  "disabled-date": pickerOptions,