@ued_fpi/data-visual 1.0.6 → 1.0.11

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 (413) hide show
  1. package/dist/es/aims/service/request.mjs +1 -3
  2. package/dist/es/aims/src/AirQualityCalendar/api/index.d.ts +56 -0
  3. package/dist/es/aims/src/AirQualityCalendar/api/index.mjs +11 -0
  4. package/dist/es/aims/src/AirQualityCalendar/index.d.ts +62 -3
  5. package/dist/es/aims/src/AirQualityCalendar/index.mjs +159 -135
  6. package/dist/es/aims/src/AirQualityCalendar/index.vue.d.ts +45 -1
  7. package/dist/es/aims/src/AirQualityLevelMonthRatio/index.d.ts +0 -18
  8. package/dist/es/aims/src/AirQualityLevelMonthRatio/index.mjs +36 -11
  9. package/dist/es/aims/src/AirQualityLevelMonthRatio/index.vue.d.ts +0 -5
  10. package/dist/es/aims/src/AirQualityLevelYearRatio/index.d.ts +0 -18
  11. package/dist/es/aims/src/AirQualityLevelYearRatio/index.mjs +19 -11
  12. package/dist/es/aims/src/AirQualityLevelYearRatio/index.vue.d.ts +0 -5
  13. package/dist/es/aims/src/AirQualityPresentSituation/index.mjs +4 -4
  14. package/dist/es/aims/src/AirQualityRealTime/index.mjs +4 -4
  15. package/dist/es/aims/src/AirTimeSeriesAnalysis/api/index.d.ts +25 -0
  16. package/dist/es/aims/src/AirTimeSeriesAnalysis/api/index.mjs +11 -0
  17. package/dist/es/aims/src/AirTimeSeriesAnalysis/index.d.ts +134 -0
  18. package/dist/es/aims/src/AirTimeSeriesAnalysis/index.mjs +232 -0
  19. package/dist/es/aims/src/AirTimeSeriesAnalysis/index.vue.d.ts +41 -0
  20. package/dist/es/aims/src/CieqContributionMonthRatio/index.d.ts +125 -0
  21. package/dist/es/aims/src/CieqContributionMonthRatio/index.mjs +179 -0
  22. package/dist/es/aims/src/{CieqContributionRatio → CieqContributionMonthRatio}/index.vue.d.ts +0 -5
  23. package/dist/es/aims/src/CieqContributionYearRatio/api/index.mjs +11 -0
  24. package/dist/{lib/aims/src/CieqContributionRatio → es/aims/src/CieqContributionYearRatio}/index.d.ts +15 -15
  25. package/dist/es/aims/src/{CieqContributionRatio → CieqContributionYearRatio}/index.mjs +45 -15
  26. package/dist/{lib/aims/src/CieqContributionRatio → es/aims/src/CieqContributionYearRatio}/index.vue.d.ts +5 -5
  27. package/dist/es/aims/src/FactorRealTimeRankChart/index.d.ts +15 -0
  28. package/dist/es/aims/src/FactorRealTimeRankChart/index.mjs +18 -91
  29. package/dist/es/aims/src/FactorRealTimeRankChart/index.vue.d.ts +9 -0
  30. package/dist/es/aims/src/FactorRealTimeRankList/index.d.ts +15 -0
  31. package/dist/es/aims/src/FactorRealTimeRankList/index.mjs +13 -90
  32. package/dist/es/aims/src/FactorRealTimeRankList/index.vue.d.ts +9 -0
  33. package/dist/es/aims/src/MainPollutionMonthRatio/api/index.d.ts +123 -0
  34. package/dist/es/aims/src/MainPollutionMonthRatio/api/index.mjs +11 -0
  35. package/dist/es/aims/src/MainPollutionMonthRatio/index.d.ts +125 -0
  36. package/dist/es/aims/src/MainPollutionMonthRatio/index.mjs +182 -0
  37. package/dist/es/aims/src/MainPollutionMonthRatio/index.vue.d.ts +35 -0
  38. package/dist/es/aims/src/MainPollutionYearRatio/api/index.d.ts +123 -0
  39. package/dist/es/aims/src/MainPollutionYearRatio/api/index.mjs +11 -0
  40. package/dist/es/aims/src/MainPollutionYearRatio/index.d.ts +125 -0
  41. package/dist/es/aims/src/MainPollutionYearRatio/index.mjs +136 -0
  42. package/dist/es/aims/src/MainPollutionYearRatio/index.vue.d.ts +35 -0
  43. package/dist/es/aims/src/MulGridAirQualityLevelMonthRatio/api/index.d.ts +22 -0
  44. package/dist/es/aims/src/MulGridAirQualityLevelMonthRatio/api/index.mjs +11 -0
  45. package/dist/es/aims/src/MulGridAirQualityLevelMonthRatio/index.d.ts +125 -0
  46. package/dist/es/aims/src/MulGridAirQualityLevelMonthRatio/index.mjs +218 -0
  47. package/dist/es/aims/src/MulGridAirQualityLevelMonthRatio/index.vue.d.ts +35 -0
  48. package/dist/es/aims/src/MulGridCieqContributionMonthRatio/api/index.d.ts +22 -0
  49. package/dist/es/aims/src/MulGridCieqContributionMonthRatio/api/index.mjs +11 -0
  50. package/dist/es/aims/src/MulGridCieqContributionMonthRatio/index.d.ts +125 -0
  51. package/dist/es/aims/src/MulGridCieqContributionMonthRatio/index.mjs +174 -0
  52. package/dist/es/aims/src/MulGridCieqContributionMonthRatio/index.vue.d.ts +35 -0
  53. package/dist/es/aims/src/TbHbAnalysis/api/index.d.ts +25 -0
  54. package/dist/es/aims/src/TbHbAnalysis/api/index.mjs +11 -0
  55. package/dist/es/aims/src/TbHbAnalysis/index.d.ts +134 -0
  56. package/dist/es/aims/src/TbHbAnalysis/index.mjs +231 -0
  57. package/dist/es/aims/src/TbHbAnalysis/index.vue.d.ts +41 -0
  58. package/dist/es/aims/src/index.d.ts +8 -4
  59. package/dist/es/aims/src/index.mjs +16 -8
  60. package/dist/es/aims/utils/tools.mjs +3 -0
  61. package/dist/es/index.mjs +60 -19
  62. package/dist/es/ipes/config/index.mjs +7 -0
  63. package/dist/es/ipes/service/base-serve.d.ts +3 -0
  64. package/dist/es/ipes/service/base-serve.mjs +9 -0
  65. package/dist/es/ipes/service/request.d.ts +3 -0
  66. package/dist/es/ipes/service/request.mjs +78 -0
  67. package/dist/es/ipes/service/types.d.ts +14 -0
  68. package/dist/es/ipes/src/AccessVehicleManage/index.mjs +15 -12
  69. package/dist/es/ipes/src/AirPollutionDischarge/index.mjs +8 -4
  70. package/dist/es/ipes/src/AirQuality/index.d.ts +24 -45
  71. package/dist/es/ipes/src/AirQuality/index.mjs +71 -61
  72. package/dist/es/ipes/src/AirQuality/index.vue.d.ts +10 -25
  73. package/dist/es/ipes/src/AirQualityManagement/index.d.ts +24 -63
  74. package/dist/es/ipes/src/AirQualityManagement/index.mjs +179 -111
  75. package/dist/es/ipes/src/AirQualityManagement/index.vue.d.ts +10 -37
  76. package/dist/es/ipes/src/AirQualityManagement/type.d.ts +1 -1
  77. package/dist/es/ipes/src/EmergencyDuty/index.mjs +4 -3
  78. package/dist/es/ipes/src/EnterpriseProtectionCode/index.mjs +9 -5
  79. package/dist/es/{aims/src/common/StackBarEchartsPanel → ipes/src/EnvManage}/index.d.ts +152 -130
  80. package/dist/es/ipes/src/EnvManage/index.mjs +278 -0
  81. package/dist/es/ipes/src/EnvManage/index.vue.d.ts +87 -0
  82. package/dist/es/ipes/src/EnvManage/type.d.ts +18 -0
  83. package/dist/es/ipes/src/EnvironmentalRiskManagement/.mjs +46 -0
  84. package/dist/es/ipes/src/EnvironmentalRiskManagement/components/SingleItem.vue.d.ts +24 -0
  85. package/dist/es/{aims/src/AirQualityLevelProportion → ipes/src/EnvironmentalRiskManagement}/index.d.ts +3 -3
  86. package/dist/es/ipes/src/EnvironmentalRiskManagement/index.mjs +64 -0
  87. package/dist/es/ipes/src/GeneralManagement/.mjs +85 -0
  88. package/dist/es/ipes/src/GeneralManagement/index.d.ts +0 -15
  89. package/dist/es/ipes/src/GeneralManagement/index.mjs +89 -0
  90. package/dist/es/ipes/src/GeneralManagement/index.vue.d.ts +0 -9
  91. package/dist/es/ipes/src/HazardousVehicleManage/images/module-title-icon.mjs +3 -0
  92. package/dist/es/ipes/src/HazardousVehicleManage/index.d.ts +107 -0
  93. package/dist/es/ipes/src/HazardousVehicleManage/index.mjs +417 -0
  94. package/dist/es/ipes/src/HazardousVehicleManage/index.vue.d.ts +8 -0
  95. package/dist/es/ipes/src/HazardousVehicleManage/types/index.d.ts +8 -0
  96. package/dist/es/ipes/src/Level3AirDefense/.mjs +133 -0
  97. package/dist/es/ipes/src/Level3AirDefense/components/AppItem.vue.d.ts +25 -0
  98. package/dist/es/ipes/src/Level3AirDefense/components/NumberItem.vue.d.ts +14 -0
  99. package/dist/es/ipes/src/Level3AirDefense/components/PercentageItem.vue.d.ts +14 -0
  100. package/dist/es/{aims/src/ContributionAnalyzing → ipes/src/Level3AirDefense}/index.d.ts +3 -3
  101. package/dist/es/ipes/src/Level3AirDefense/index.mjs +100 -0
  102. package/dist/es/ipes/src/OdorControl/index.mjs +9 -5
  103. package/dist/es/ipes/src/RealTimeAirQualityManage/index.d.ts +167 -0
  104. package/dist/es/ipes/src/RealTimeAirQualityManage/index.mjs +92 -0
  105. package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue.d.ts +49 -0
  106. package/dist/es/ipes/src/RealTimeAirQualityManage/type.d.ts +7 -0
  107. package/dist/es/ipes/src/SealingManage/index.mjs +14 -11
  108. package/dist/es/ipes/src/TaskDispose/index.mjs +10 -6
  109. package/dist/es/ipes/src/VocStatistics/index.mjs +7 -3
  110. package/dist/es/ipes/src/WaterNetworkManage/images/icon-percent.mjs +3 -0
  111. package/dist/es/ipes/src/WaterNetworkManage/images/module-title-icon.mjs +3 -0
  112. package/dist/es/ipes/src/WaterNetworkManage/images/water-leakage.mjs +3 -0
  113. package/dist/es/ipes/src/WaterNetworkManage/images/water-total.mjs +3 -0
  114. package/dist/es/ipes/src/WaterNetworkManage/index.d.ts +101 -0
  115. package/dist/es/ipes/src/WaterNetworkManage/index.mjs +266 -0
  116. package/dist/es/ipes/src/WaterNetworkManage/index.vue.d.ts +6 -0
  117. package/dist/es/ipes/src/WaterNetworkManage/types/index.d.ts +8 -0
  118. package/dist/es/ipes/src/{OdorControl/.mjs → common/Echarts.mjs} +2 -2
  119. package/dist/es/ipes/src/common/LottieAnimation.mjs +41 -0
  120. package/dist/es/ipes/src/common/LottieAnimation.vue.d.ts +36 -0
  121. package/dist/es/ipes/src/index.d.ts +7 -0
  122. package/dist/es/ipes/src/index.mjs +15 -1
  123. package/dist/es/ipes/utils/tools.d.ts +13 -0
  124. package/dist/es/ipes/utils/tools.mjs +8 -0
  125. package/dist/es/style.css +2087 -765
  126. package/dist/es/vendor/@element-plus_icons-vue@2.0.10_vue@3.3.4.mjs +19 -1
  127. package/dist/es/vendor/echarts-gl@2.0.9_echarts@5.4.2.mjs +1 -1
  128. package/dist/es/vendor/echarts@5.4.2.mjs +1 -1
  129. package/dist/es/vendor/element-plus@2.3.7_vue@3.3.4.mjs +450 -188
  130. package/dist/es/vendor/fpi-tg-factor-tools@1.0.4.mjs +4 -1
  131. package/dist/es/wgms/api/FactorTrendComparison/index.d.ts +10 -0
  132. package/dist/es/wgms/api/FactorTrendComparison/index.mjs +20 -0
  133. package/dist/es/wgms/api/NPTrendChange/index.d.ts +5 -0
  134. package/dist/es/wgms/api/NPTrendChange/index.mjs +12 -0
  135. package/dist/es/wgms/service/base-serve.d.ts +1 -0
  136. package/dist/es/wgms/service/base-serve.mjs +3 -0
  137. package/dist/es/wgms/src/AuxiliaryJudgment/index.d.ts +1 -1
  138. package/dist/es/wgms/src/AuxiliaryJudgment/index.mjs +5 -5
  139. package/dist/es/wgms/src/ChangesAlongTheProcess/api/index.d.ts +9 -0
  140. package/dist/es/wgms/src/ChangesAlongTheProcess/api/types.d.ts +26 -0
  141. package/dist/es/wgms/src/ChangesAlongTheProcess/index.d.ts +155 -0
  142. package/dist/es/wgms/src/ChangesAlongTheProcess/index.mjs +214 -0
  143. package/dist/es/wgms/src/ChangesAlongTheProcess/index.vue.d.ts +41 -0
  144. package/dist/es/wgms/src/ChlorophyllAchangeRate/images/down.mjs +3 -0
  145. package/dist/es/wgms/src/ChlorophyllAchangeRate/images/up.mjs +3 -0
  146. package/dist/es/wgms/src/ChlorophyllAchangeRate/index.mjs +6 -7
  147. package/dist/es/wgms/src/CrossSectionCorrelation/index.d.ts +1 -1
  148. package/dist/es/wgms/src/CrossSectionCorrelation/index.mjs +6 -6
  149. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-1.mjs +6 -1
  150. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-2.mjs +6 -1
  151. package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-3.mjs +6 -1
  152. package/dist/es/wgms/src/DrinkingWaterComplianceRate/index.mjs +6 -5
  153. package/dist/es/wgms/src/EnvironmentalAnalysis/index.mjs +9 -5
  154. package/dist/es/wgms/src/FactorTrendComparison/index.d.ts +166 -0
  155. package/dist/es/wgms/src/FactorTrendComparison/index.mjs +259 -0
  156. package/dist/es/wgms/src/FactorTrendComparison/index.vue.d.ts +48 -0
  157. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/1.mjs +6 -1
  158. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/2.mjs +6 -1
  159. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/3.mjs +6 -1
  160. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/4.mjs +6 -1
  161. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/5.mjs +6 -1
  162. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/6.mjs +6 -1
  163. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/down.mjs +6 -1
  164. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/right.mjs +6 -1
  165. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/up.mjs +6 -1
  166. package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/index.mjs +8 -7
  167. package/dist/es/wgms/src/LakeRiverIndex/api/types.d.ts +20 -0
  168. package/dist/es/wgms/src/LakeRiverIndex/index.d.ts +245 -0
  169. package/dist/es/wgms/src/LakeRiverIndex/index.mjs +170 -0
  170. package/dist/es/wgms/src/LakeRiverIndex/index.vue.d.ts +92 -0
  171. package/dist/es/wgms/src/LakeRiverIndex/mock/eutrophication.mjs +28 -0
  172. package/dist/es/wgms/src/LakeRiverIndex/mock/keyRiverQuality.mjs +40 -0
  173. package/dist/es/wgms/src/LakeRiverIndex/mock/waterKeyQuality.mjs +40 -0
  174. package/dist/es/wgms/src/NPTrendChange/index.d.ts +166 -0
  175. package/dist/es/wgms/src/NPTrendChange/index.mjs +201 -0
  176. package/dist/es/wgms/src/NPTrendChange/index.vue.d.ts +48 -0
  177. package/dist/es/wgms/src/SevenDayKline/index.d.ts +1 -1
  178. package/dist/es/wgms/src/SevenDayKline/index.mjs +5 -5
  179. package/dist/es/wgms/src/SurroundingPollution/index.d.ts +1 -1
  180. package/dist/es/wgms/src/SurroundingPollution/index.mjs +7 -7
  181. package/dist/es/wgms/src/UpstreamImpact/api/index.d.ts +16 -0
  182. package/dist/es/wgms/src/UpstreamImpact/api/index.mjs +25 -0
  183. package/dist/es/wgms/src/UpstreamImpact/api/types.d.ts +5 -0
  184. package/dist/es/wgms/src/UpstreamImpact/index.d.ts +28 -13
  185. package/dist/es/wgms/src/UpstreamImpact/index.mjs +65 -48
  186. package/dist/es/wgms/src/UpstreamImpact/index.vue.d.ts +16 -7
  187. package/dist/es/wgms/src/UpstreamSection/index.d.ts +1 -1
  188. package/dist/es/wgms/src/UpstreamSection/index.mjs +6 -6
  189. package/dist/es/wgms/src/WaterQualityClassification/index.mjs +3 -3
  190. package/dist/es/wgms/src/WaterQualityRainfall/index.d.ts +1 -1
  191. package/dist/es/wgms/src/WaterQualityRainfall/index.mjs +5 -5
  192. package/dist/es/wgms/src/index.d.ts +4 -0
  193. package/dist/es/wgms/src/index.mjs +22 -14
  194. package/dist/es/wgms/utils/echarts/index.mjs +1 -1
  195. package/dist/lib/aims/service/request.js +1 -3
  196. package/dist/lib/aims/src/AirQualityCalendar/api/index.d.ts +56 -0
  197. package/dist/lib/aims/src/AirQualityCalendar/api/index.js +13 -0
  198. package/dist/lib/aims/src/AirQualityCalendar/index.d.ts +62 -3
  199. package/dist/lib/aims/src/AirQualityCalendar/index.js +156 -132
  200. package/dist/lib/aims/src/AirQualityCalendar/index.vue.d.ts +45 -1
  201. package/dist/lib/aims/src/AirQualityLevelMonthRatio/index.d.ts +0 -18
  202. package/dist/lib/aims/src/AirQualityLevelMonthRatio/index.js +36 -11
  203. package/dist/lib/aims/src/AirQualityLevelMonthRatio/index.vue.d.ts +0 -5
  204. package/dist/lib/aims/src/AirQualityLevelYearRatio/index.d.ts +0 -18
  205. package/dist/lib/aims/src/AirQualityLevelYearRatio/index.js +19 -11
  206. package/dist/lib/aims/src/AirQualityLevelYearRatio/index.vue.d.ts +0 -5
  207. package/dist/lib/aims/src/AirQualityPresentSituation/index.js +4 -4
  208. package/dist/lib/aims/src/AirQualityRealTime/index.js +4 -4
  209. package/dist/lib/aims/src/AirTimeSeriesAnalysis/api/index.d.ts +25 -0
  210. package/dist/lib/aims/src/AirTimeSeriesAnalysis/api/index.js +13 -0
  211. package/dist/lib/aims/src/AirTimeSeriesAnalysis/index.d.ts +134 -0
  212. package/dist/lib/aims/src/AirTimeSeriesAnalysis/index.js +234 -0
  213. package/dist/lib/aims/src/AirTimeSeriesAnalysis/index.vue.d.ts +41 -0
  214. package/dist/lib/aims/src/CieqContributionMonthRatio/api/index.d.ts +123 -0
  215. package/dist/lib/aims/src/CieqContributionMonthRatio/index.d.ts +125 -0
  216. package/dist/lib/aims/src/CieqContributionMonthRatio/index.js +181 -0
  217. package/dist/lib/aims/src/CieqContributionMonthRatio/index.vue.d.ts +35 -0
  218. package/dist/lib/aims/src/CieqContributionYearRatio/api/index.d.ts +123 -0
  219. package/dist/lib/aims/src/CieqContributionYearRatio/api/index.js +13 -0
  220. package/dist/{es/aims/src/CieqContributionRatio → lib/aims/src/CieqContributionYearRatio}/index.d.ts +15 -15
  221. package/dist/lib/aims/src/{CieqContributionRatio → CieqContributionYearRatio}/index.js +47 -17
  222. package/dist/lib/aims/src/CieqContributionYearRatio/index.vue.d.ts +40 -0
  223. package/dist/lib/aims/src/FactorRealTimeRankChart/index.d.ts +15 -0
  224. package/dist/lib/aims/src/FactorRealTimeRankChart/index.js +17 -90
  225. package/dist/lib/aims/src/FactorRealTimeRankChart/index.vue.d.ts +9 -0
  226. package/dist/lib/aims/src/FactorRealTimeRankList/index.d.ts +15 -0
  227. package/dist/lib/aims/src/FactorRealTimeRankList/index.js +12 -89
  228. package/dist/lib/aims/src/FactorRealTimeRankList/index.vue.d.ts +9 -0
  229. package/dist/lib/aims/src/MainPollutionMonthRatio/api/index.d.ts +123 -0
  230. package/dist/lib/aims/src/MainPollutionMonthRatio/api/index.js +13 -0
  231. package/dist/lib/aims/src/MainPollutionMonthRatio/index.d.ts +125 -0
  232. package/dist/lib/aims/src/MainPollutionMonthRatio/index.js +184 -0
  233. package/dist/lib/aims/src/MainPollutionMonthRatio/index.vue.d.ts +35 -0
  234. package/dist/lib/aims/src/MainPollutionYearRatio/api/index.d.ts +123 -0
  235. package/dist/lib/aims/src/MainPollutionYearRatio/api/index.js +13 -0
  236. package/dist/lib/aims/src/MainPollutionYearRatio/index.d.ts +125 -0
  237. package/dist/lib/aims/src/MainPollutionYearRatio/index.js +138 -0
  238. package/dist/lib/aims/src/MainPollutionYearRatio/index.vue.d.ts +35 -0
  239. package/dist/lib/aims/src/MulGridAirQualityLevelMonthRatio/api/index.d.ts +22 -0
  240. package/dist/lib/aims/src/MulGridAirQualityLevelMonthRatio/api/index.js +13 -0
  241. package/dist/lib/aims/src/MulGridAirQualityLevelMonthRatio/index.d.ts +125 -0
  242. package/dist/lib/aims/src/MulGridAirQualityLevelMonthRatio/index.js +220 -0
  243. package/dist/lib/aims/src/MulGridAirQualityLevelMonthRatio/index.vue.d.ts +35 -0
  244. package/dist/lib/aims/src/MulGridCieqContributionMonthRatio/api/index.d.ts +22 -0
  245. package/dist/lib/aims/src/MulGridCieqContributionMonthRatio/api/index.js +13 -0
  246. package/dist/lib/aims/src/MulGridCieqContributionMonthRatio/index.d.ts +125 -0
  247. package/dist/lib/aims/src/MulGridCieqContributionMonthRatio/index.js +176 -0
  248. package/dist/lib/aims/src/MulGridCieqContributionMonthRatio/index.vue.d.ts +35 -0
  249. package/dist/lib/aims/src/TbHbAnalysis/api/index.d.ts +25 -0
  250. package/dist/lib/aims/src/TbHbAnalysis/api/index.js +13 -0
  251. package/dist/lib/aims/src/TbHbAnalysis/index.d.ts +134 -0
  252. package/dist/lib/aims/src/TbHbAnalysis/index.js +233 -0
  253. package/dist/lib/aims/src/TbHbAnalysis/index.vue.d.ts +41 -0
  254. package/dist/lib/aims/src/index.d.ts +8 -4
  255. package/dist/lib/aims/src/index.js +16 -8
  256. package/dist/lib/aims/utils/tools.js +3 -0
  257. package/dist/lib/index.js +79 -23
  258. package/dist/lib/ipes/config/index.js +8 -0
  259. package/dist/lib/ipes/service/base-serve.d.ts +3 -0
  260. package/dist/lib/ipes/service/base-serve.js +11 -0
  261. package/dist/lib/ipes/service/request.d.ts +3 -0
  262. package/dist/lib/ipes/service/request.js +80 -0
  263. package/dist/lib/ipes/service/types.d.ts +14 -0
  264. package/dist/lib/ipes/src/AccessVehicleManage/index.js +13 -10
  265. package/dist/lib/ipes/src/AirPollutionDischarge/index.js +8 -4
  266. package/dist/lib/ipes/src/AirQuality/index.d.ts +24 -45
  267. package/dist/lib/ipes/src/AirQuality/index.js +70 -60
  268. package/dist/lib/ipes/src/AirQuality/index.vue.d.ts +10 -25
  269. package/dist/lib/ipes/src/AirQualityManagement/index.d.ts +24 -63
  270. package/dist/lib/ipes/src/AirQualityManagement/index.js +178 -110
  271. package/dist/lib/ipes/src/AirQualityManagement/index.vue.d.ts +10 -37
  272. package/dist/lib/ipes/src/AirQualityManagement/type.d.ts +1 -1
  273. package/dist/lib/ipes/src/EmergencyDuty/index.js +4 -3
  274. package/dist/lib/ipes/src/EnterpriseProtectionCode/index.js +9 -5
  275. package/dist/lib/{aims/src/common/StackBarEchartsPanel → ipes/src/EnvManage}/index.d.ts +152 -130
  276. package/dist/lib/ipes/src/EnvManage/index.js +280 -0
  277. package/dist/lib/ipes/src/EnvManage/index.vue.d.ts +87 -0
  278. package/dist/lib/ipes/src/EnvManage/type.d.ts +18 -0
  279. package/dist/lib/ipes/src/EnvironmentalRiskManagement/.js +48 -0
  280. package/dist/lib/ipes/src/EnvironmentalRiskManagement/components/SingleItem.vue.d.ts +24 -0
  281. package/dist/lib/{aims/src/AirQualityLevelProportion → ipes/src/EnvironmentalRiskManagement}/index.d.ts +3 -3
  282. package/dist/lib/ipes/src/EnvironmentalRiskManagement/index.js +66 -0
  283. package/dist/lib/ipes/src/GeneralManagement/.js +88 -0
  284. package/dist/lib/ipes/src/GeneralManagement/index.d.ts +0 -15
  285. package/dist/lib/ipes/src/GeneralManagement/index.js +91 -0
  286. package/dist/lib/ipes/src/GeneralManagement/index.vue.d.ts +0 -9
  287. package/dist/lib/ipes/src/HazardousVehicleManage/images/module-title-icon.js +5 -0
  288. package/dist/lib/ipes/src/HazardousVehicleManage/index.d.ts +107 -0
  289. package/dist/lib/ipes/src/HazardousVehicleManage/index.js +419 -0
  290. package/dist/lib/ipes/src/HazardousVehicleManage/index.vue.d.ts +8 -0
  291. package/dist/lib/ipes/src/HazardousVehicleManage/types/index.d.ts +8 -0
  292. package/dist/lib/ipes/src/Level3AirDefense/.js +137 -0
  293. package/dist/lib/ipes/src/Level3AirDefense/components/AppItem.vue.d.ts +25 -0
  294. package/dist/lib/ipes/src/Level3AirDefense/components/NumberItem.vue.d.ts +14 -0
  295. package/dist/lib/ipes/src/Level3AirDefense/components/PercentageItem.vue.d.ts +14 -0
  296. package/dist/lib/{aims/src/ContributionAnalyzing → ipes/src/Level3AirDefense}/index.d.ts +3 -3
  297. package/dist/lib/ipes/src/Level3AirDefense/index.js +102 -0
  298. package/dist/lib/ipes/src/OdorControl/index.js +10 -6
  299. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.d.ts +167 -0
  300. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.js +94 -0
  301. package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue.d.ts +49 -0
  302. package/dist/lib/ipes/src/RealTimeAirQualityManage/type.d.ts +7 -0
  303. package/dist/lib/ipes/src/SealingManage/index.js +12 -9
  304. package/dist/lib/ipes/src/TaskDispose/index.js +10 -6
  305. package/dist/lib/ipes/src/VocStatistics/index.js +7 -3
  306. package/dist/lib/ipes/src/WaterNetworkManage/images/icon-percent.js +5 -0
  307. package/dist/lib/ipes/src/WaterNetworkManage/images/module-title-icon.js +5 -0
  308. package/dist/lib/ipes/src/WaterNetworkManage/images/water-leakage.js +5 -0
  309. package/dist/lib/ipes/src/WaterNetworkManage/images/water-total.js +5 -0
  310. package/dist/lib/ipes/src/WaterNetworkManage/index.d.ts +101 -0
  311. package/dist/lib/ipes/src/WaterNetworkManage/index.js +268 -0
  312. package/dist/lib/ipes/src/WaterNetworkManage/index.vue.d.ts +6 -0
  313. package/dist/lib/ipes/src/WaterNetworkManage/types/index.d.ts +8 -0
  314. package/dist/lib/ipes/src/{OdorControl/.js → common/Echarts.js} +2 -2
  315. package/dist/lib/ipes/src/common/LottieAnimation.js +43 -0
  316. package/dist/lib/ipes/src/common/LottieAnimation.vue.d.ts +36 -0
  317. package/dist/lib/ipes/src/index.d.ts +7 -0
  318. package/dist/lib/ipes/src/index.js +15 -1
  319. package/dist/lib/ipes/utils/tools.d.ts +13 -0
  320. package/dist/lib/ipes/utils/tools.js +10 -0
  321. package/dist/lib/style.css +2087 -765
  322. package/dist/lib/vendor/@element-plus_icons-vue@2.0.10_vue@3.3.4.js +19 -0
  323. package/dist/lib/vendor/echarts@5.4.2.js +1 -0
  324. package/dist/lib/vendor/element-plus@2.3.7_vue@3.3.4.js +449 -186
  325. package/dist/lib/vendor/fpi-tg-factor-tools@1.0.4.js +4 -0
  326. package/dist/lib/wgms/api/FactorTrendComparison/index.d.ts +10 -0
  327. package/dist/lib/wgms/api/FactorTrendComparison/index.js +23 -0
  328. package/dist/lib/wgms/api/NPTrendChange/index.d.ts +5 -0
  329. package/dist/lib/wgms/api/NPTrendChange/index.js +14 -0
  330. package/dist/lib/wgms/service/base-serve.d.ts +1 -0
  331. package/dist/lib/wgms/service/base-serve.js +3 -0
  332. package/dist/lib/wgms/src/AuxiliaryJudgment/index.d.ts +1 -1
  333. package/dist/lib/wgms/src/AuxiliaryJudgment/index.js +5 -5
  334. package/dist/lib/wgms/src/ChangesAlongTheProcess/api/index.d.ts +9 -0
  335. package/dist/lib/wgms/src/ChangesAlongTheProcess/api/types.d.ts +26 -0
  336. package/dist/lib/wgms/src/ChangesAlongTheProcess/index.d.ts +155 -0
  337. package/dist/lib/wgms/src/ChangesAlongTheProcess/index.js +216 -0
  338. package/dist/lib/wgms/src/ChangesAlongTheProcess/index.vue.d.ts +41 -0
  339. package/dist/lib/wgms/src/ChlorophyllAchangeRate/images/down.js +5 -0
  340. package/dist/lib/wgms/src/ChlorophyllAchangeRate/images/up.js +5 -0
  341. package/dist/lib/wgms/src/ChlorophyllAchangeRate/index.js +6 -7
  342. package/dist/lib/wgms/src/CrossSectionCorrelation/index.d.ts +1 -1
  343. package/dist/lib/wgms/src/CrossSectionCorrelation/index.js +6 -6
  344. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-1.js +6 -1
  345. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-2.js +6 -1
  346. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-3.js +6 -1
  347. package/dist/lib/wgms/src/DrinkingWaterComplianceRate/index.js +6 -5
  348. package/dist/lib/wgms/src/EnvironmentalAnalysis/index.js +8 -4
  349. package/dist/lib/wgms/src/FactorTrendComparison/index.d.ts +166 -0
  350. package/dist/lib/wgms/src/FactorTrendComparison/index.js +261 -0
  351. package/dist/lib/wgms/src/FactorTrendComparison/index.vue.d.ts +48 -0
  352. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/1.js +6 -1
  353. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/2.js +6 -1
  354. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/3.js +6 -1
  355. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/4.js +6 -1
  356. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/5.js +6 -1
  357. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/6.js +6 -1
  358. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/down.js +6 -1
  359. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/right.js +6 -1
  360. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/up.js +6 -1
  361. package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/index.js +8 -7
  362. package/dist/lib/wgms/src/LakeRiverIndex/api/types.d.ts +20 -0
  363. package/dist/lib/wgms/src/LakeRiverIndex/index.d.ts +245 -0
  364. package/dist/lib/wgms/src/LakeRiverIndex/index.js +172 -0
  365. package/dist/lib/wgms/src/LakeRiverIndex/index.vue.d.ts +92 -0
  366. package/dist/lib/wgms/src/LakeRiverIndex/mock/eutrophication.js +30 -0
  367. package/dist/lib/wgms/src/LakeRiverIndex/mock/keyRiverQuality.js +42 -0
  368. package/dist/lib/wgms/src/LakeRiverIndex/mock/waterKeyQuality.js +42 -0
  369. package/dist/lib/wgms/src/NPTrendChange/index.d.ts +166 -0
  370. package/dist/lib/wgms/src/NPTrendChange/index.js +203 -0
  371. package/dist/lib/wgms/src/NPTrendChange/index.vue.d.ts +48 -0
  372. package/dist/lib/wgms/src/SevenDayKline/index.d.ts +1 -1
  373. package/dist/lib/wgms/src/SevenDayKline/index.js +5 -5
  374. package/dist/lib/wgms/src/SurroundingPollution/index.d.ts +1 -1
  375. package/dist/lib/wgms/src/SurroundingPollution/index.js +7 -7
  376. package/dist/lib/wgms/src/UpstreamImpact/api/index.d.ts +16 -0
  377. package/dist/lib/wgms/src/UpstreamImpact/api/index.js +29 -0
  378. package/dist/lib/wgms/src/UpstreamImpact/api/types.d.ts +5 -0
  379. package/dist/lib/wgms/src/UpstreamImpact/index.d.ts +28 -13
  380. package/dist/lib/wgms/src/UpstreamImpact/index.js +65 -48
  381. package/dist/lib/wgms/src/UpstreamImpact/index.vue.d.ts +16 -7
  382. package/dist/lib/wgms/src/UpstreamSection/index.d.ts +1 -1
  383. package/dist/lib/wgms/src/UpstreamSection/index.js +6 -6
  384. package/dist/lib/wgms/src/WaterQualityClassification/index.js +3 -3
  385. package/dist/lib/wgms/src/WaterQualityRainfall/index.d.ts +1 -1
  386. package/dist/lib/wgms/src/WaterQualityRainfall/index.js +5 -5
  387. package/dist/lib/wgms/src/index.d.ts +4 -0
  388. package/dist/lib/wgms/src/index.js +15 -7
  389. package/package.json +3 -2
  390. package/dist/es/aims/src/AirQualityCalendar/data.mjs +0 -1427
  391. package/dist/es/aims/src/AirQualityLevelProportion/index.mjs +0 -28
  392. package/dist/es/aims/src/AirQualityLevelProportion/mockData.mjs +0 -180
  393. package/dist/es/aims/src/ContributionAnalyzing/index.mjs +0 -28
  394. package/dist/es/aims/src/ContributionAnalyzing/mockData.mjs +0 -180
  395. package/dist/es/aims/src/common/StackBarEchartsPanel/index.mjs +0 -177
  396. package/dist/es/aims/src/common/StackBarEchartsPanel/index.vue.d.ts +0 -93
  397. package/dist/lib/aims/src/AirQualityCalendar/data.js +0 -1429
  398. package/dist/lib/aims/src/AirQualityLevelProportion/index.js +0 -30
  399. package/dist/lib/aims/src/AirQualityLevelProportion/mockData.js +0 -182
  400. package/dist/lib/aims/src/ContributionAnalyzing/index.js +0 -30
  401. package/dist/lib/aims/src/ContributionAnalyzing/mockData.js +0 -182
  402. package/dist/lib/aims/src/common/StackBarEchartsPanel/index.js +0 -180
  403. package/dist/lib/aims/src/common/StackBarEchartsPanel/index.vue.d.ts +0 -93
  404. /package/dist/es/aims/src/{CieqContributionRatio → CieqContributionMonthRatio}/api/index.d.ts +0 -0
  405. /package/dist/es/aims/src/{CieqContributionRatio → CieqContributionMonthRatio}/api/index.mjs +0 -0
  406. /package/dist/{lib/aims/src/CieqContributionRatio → es/aims/src/CieqContributionYearRatio}/api/index.d.ts +0 -0
  407. /package/dist/es/{aims/src/AirQualityLevelProportion → ipes/src/EnvironmentalRiskManagement}/index.vue.d.ts +0 -0
  408. /package/dist/es/{aims/src/ContributionAnalyzing → ipes/src/Level3AirDefense}/index.vue.d.ts +0 -0
  409. /package/dist/es/ipes/src/{OdorControl/components → common}/Echarts.vue.d.ts +0 -0
  410. /package/dist/lib/aims/src/{CieqContributionRatio → CieqContributionMonthRatio}/api/index.js +0 -0
  411. /package/dist/lib/{aims/src/AirQualityLevelProportion → ipes/src/EnvironmentalRiskManagement}/index.vue.d.ts +0 -0
  412. /package/dist/lib/{aims/src/ContributionAnalyzing → ipes/src/Level3AirDefense}/index.vue.d.ts +0 -0
  413. /package/dist/lib/ipes/src/{OdorControl/components → common}/Echarts.vue.d.ts +0 -0
@@ -0,0 +1,232 @@
1
+ import { i as install } from '../AirQualityCalendar/index.mjs';
2
+ import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, unref } from 'vue';
3
+ import { d as dayjs } from '../../../vendor/dayjs@1.11.9.mjs';
4
+ import { _ as _BasicEcharts } from '../common/BasicEcharts/index.mjs';
5
+ import { g as getTimeAnalyzeData } from './api/index.mjs';
6
+
7
+ const clsfix = "air-time-series-analysis";
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "index",
10
+ props: {
11
+ apiParams: { default: () => ({
12
+ dataType: "day",
13
+ startTime: dayjs().subtract(6, "d").valueOf(),
14
+ endTime: dayjs().valueOf(),
15
+ factorCodes: "aqi,a34004,a34002,a21026,a21004,a05024,a21005",
16
+ codeType: "grid",
17
+ codes: "0101000000"
18
+ }) }
19
+ },
20
+ setup(__props) {
21
+ const props = __props;
22
+ const chartsFullOptions = ref({ options: null });
23
+ const generateOption = (xData, series) => {
24
+ return {
25
+ options: {
26
+ grid: {
27
+ left: 20,
28
+ bottom: 30,
29
+ right: 20,
30
+ top: 30,
31
+ containLabel: true
32
+ },
33
+ tooltip: {
34
+ trigger: "axis",
35
+ padding: 8,
36
+ background: "rgba(1, 11, 18, 0.6)",
37
+ formatter: (params) => {
38
+ const title = params[0] ? params[0].name : "";
39
+ const optionSeries = chartsFullOptions.value.options.series;
40
+ const strArr = params.map((item) => {
41
+ const symbol = optionSeries[item.seriesIndex].symbol;
42
+ let markerHtml = `<span class="${clsfix}-circle" style="background-color:${item.color};"></span>`;
43
+ if (symbol === "rect")
44
+ markerHtml = `<span class="${clsfix}-rect" style="background-color:${item.color};"></span>`;
45
+ else if (symbol === "triangle")
46
+ markerHtml = `<span class="${clsfix}-triangle" style="border-bottom:10px solid ${item.color};"></span>`;
47
+ else if (symbol === "diamond")
48
+ markerHtml = `<span class="${clsfix}-diamond" style="border-color:${item.color};"></span>`;
49
+ else if (symbol === "roundRect")
50
+ markerHtml = `<span class="${clsfix}-roundRect" style="background-color:${item.color};"></span>`;
51
+ return `<div>
52
+ ${markerHtml}
53
+ <span style="display: inline-block;width: 40px;">${item.seriesName}</span>
54
+ <span style="display: inline-block;text-align: right;width: 40px;">${Number(item.value) > 0 ? `${item.value}` : "--"}</span>
55
+ ${item.data.unit && item.data.unit !== "--" ? `<span style="display: inline-block;text-align: right;width: 50px;">${item.data.unit}</span>` : ""}
56
+ </div>`;
57
+ });
58
+ const str = strArr.join("");
59
+ return `<div>
60
+ <div>${title}</div>
61
+ ${str}
62
+ </div>`;
63
+ }
64
+ },
65
+ xAxis: {
66
+ type: "category",
67
+ axisTick: {
68
+ show: false
69
+ },
70
+ axisLine: {
71
+ show: false
72
+ },
73
+ axisLabel: {
74
+ color: "#FFF",
75
+ fontSize: 12,
76
+ formatter: (value) => formatterTime(value)
77
+ },
78
+ data: xData
79
+ },
80
+ yAxis: [
81
+ {
82
+ type: "value",
83
+ name: "μg/m³",
84
+ nameTextStyle: {
85
+ color: "rgba(255, 255, 255, 0.5)",
86
+ padding: [0, 30, 0, 0]
87
+ },
88
+ axisTick: {
89
+ show: false
90
+ },
91
+ axisLine: {
92
+ show: false
93
+ },
94
+ axisLabel: {
95
+ show: true,
96
+ color: "rgba(255, 255, 255, 0.5)"
97
+ },
98
+ splitNumber: 3,
99
+ splitLine: {
100
+ show: true,
101
+ lineStyle: {
102
+ color: ["rgba(255, 255, 255, 0.3)"]
103
+ }
104
+ }
105
+ },
106
+ {
107
+ type: "value",
108
+ name: "mg/m³",
109
+ nameTextStyle: {
110
+ color: "rgba(255, 255, 255, 0.5)",
111
+ padding: [0, 0, 0, 30]
112
+ },
113
+ splitNumber: 3,
114
+ axisTick: {
115
+ show: false
116
+ },
117
+ axisLine: {
118
+ show: false
119
+ },
120
+ axisLabel: {
121
+ show: true,
122
+ color: "rgba(255, 255, 255, 0.5)"
123
+ },
124
+ splitLine: {
125
+ show: true,
126
+ lineStyle: {
127
+ color: ["rgba(255, 255, 255, 0)"]
128
+ }
129
+ }
130
+ }
131
+ ],
132
+ legend: {
133
+ show: true,
134
+ bottom: 0,
135
+ itemGap: 3,
136
+ textStyle: {
137
+ color: "#FFF",
138
+ fontSize: 12
139
+ },
140
+ itemWidth: 16,
141
+ itemHeight: 8
142
+ },
143
+ series
144
+ }
145
+ };
146
+ };
147
+ const formatterTime = (value) => {
148
+ switch (props.apiParams.dataType) {
149
+ case "year":
150
+ return value;
151
+ case "month":
152
+ return value;
153
+ case "day":
154
+ return dayjs(value).format("MM-DD");
155
+ case "hour":
156
+ return dayjs(value).format("HH");
157
+ default:
158
+ return "";
159
+ }
160
+ };
161
+ const fetchData = () => {
162
+ const colors = [
163
+ "#ec7eff",
164
+ "#0062FF",
165
+ "#0AAEFF",
166
+ "#2AC94F",
167
+ "#FF792E",
168
+ "#F84439",
169
+ "#FFB443"
170
+ ];
171
+ const symbols = [
172
+ "circle",
173
+ "circle",
174
+ "circle",
175
+ "rect",
176
+ "triangle",
177
+ "diamond",
178
+ "roundRect"
179
+ ];
180
+ getTimeAnalyzeData(props.apiParams).then((res) => {
181
+ if (res.data && res.data) {
182
+ const data = res.data;
183
+ const xData = data.times;
184
+ const series = data.factorsOrSites.map((item, index) => {
185
+ return {
186
+ name: item.name,
187
+ type: "line",
188
+ data: item.values.map((c) => {
189
+ return {
190
+ value: c,
191
+ unit: item.unit
192
+ };
193
+ }),
194
+ color: colors[index],
195
+ symbol: symbols[index],
196
+ symbolSize: 8,
197
+ yAxisIndex: item.key === "CO" ? 1 : 0
198
+ };
199
+ });
200
+ chartsFullOptions.value = generateOption(xData, series);
201
+ }
202
+ });
203
+ };
204
+ onMounted(() => {
205
+ fetchData();
206
+ });
207
+ watch(() => props.apiParams, () => {
208
+ fetchData();
209
+ });
210
+ return (_ctx, _cache) => {
211
+ return openBlock(), createElementBlock("div", {
212
+ class: normalizeClass(`${clsfix}-container`)
213
+ }, [
214
+ createElementVNode("div", {
215
+ class: normalizeClass(`${clsfix}-echarts`)
216
+ }, [
217
+ createVNode(unref(_BasicEcharts), {
218
+ height: "100%",
219
+ "full-options": chartsFullOptions.value,
220
+ loading: false
221
+ }, null, 8, ["full-options"])
222
+ ], 2)
223
+ ], 2);
224
+ };
225
+ }
226
+ });
227
+
228
+ /* unplugin-vue-components disabled */const index_vue_vue_type_style_index_0_lang = '';
229
+
230
+ const AirTimeSeriesAnalysis = install(_sfc_main);
231
+
232
+ export { AirTimeSeriesAnalysis as A };
@@ -0,0 +1,41 @@
1
+ import type { GetTimeAnalyzeDataParams } from './api';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ apiParams?: GetTimeAnalyzeDataParams | undefined;
4
+ }>, {
5
+ apiParams: () => {
6
+ dataType: string;
7
+ startTime: number;
8
+ endTime: number;
9
+ factorCodes: string;
10
+ codeType: string;
11
+ codes: string;
12
+ };
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ apiParams?: GetTimeAnalyzeDataParams | undefined;
15
+ }>, {
16
+ apiParams: () => {
17
+ dataType: string;
18
+ startTime: number;
19
+ endTime: number;
20
+ factorCodes: string;
21
+ codeType: string;
22
+ codes: string;
23
+ };
24
+ }>>>, {
25
+ apiParams: GetTimeAnalyzeDataParams;
26
+ }, {}>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
39
+ default: D[K];
40
+ } : P[K];
41
+ };
@@ -0,0 +1,125 @@
1
+ import _CieqContributionMonthRatio from './index.vue';
2
+ export declare const CieqContributionMonthRatio: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: {
7
+ apiParams?: import("./api").GetAirQualityStatisParams | undefined;
8
+ key?: string | number | symbol | undefined;
9
+ style?: unknown;
10
+ ref?: import("vue").VNodeRef | undefined;
11
+ ref_for?: boolean | undefined;
12
+ ref_key?: string | undefined;
13
+ onVnodeBeforeMount?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
+ [key: string]: any;
15
+ }>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
+ [key: string]: any;
17
+ }>) => void)[] | undefined;
18
+ onVnodeMounted?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }>) => void)[] | undefined;
23
+ onVnodeBeforeUpdate?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
+ [key: string]: any;
27
+ }>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>) => void)[] | undefined;
32
+ onVnodeUpdated?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
+ [key: string]: any;
38
+ }>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ [key: string]: any;
40
+ }>) => void)[] | undefined;
41
+ onVnodeBeforeUnmount?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
+ [key: string]: any;
45
+ }>) => void)[] | undefined;
46
+ onVnodeUnmounted?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void)[] | undefined;
51
+ class?: unknown;
52
+ };
53
+ $attrs: {
54
+ [x: string]: unknown;
55
+ };
56
+ $refs: {
57
+ [x: string]: unknown;
58
+ };
59
+ $slots: Readonly<{
60
+ [name: string]: import("vue").Slot<any> | undefined;
61
+ }>;
62
+ $root: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
63
+ $parent: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
64
+ $emit: (event: string, ...args: any[]) => void;
65
+ $el: any;
66
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
67
+ apiParams: {
68
+ type: globalThis.PropType<import("./api").GetAirQualityStatisParams>;
69
+ } & {
70
+ default: () => {
71
+ time: number;
72
+ code: string;
73
+ codeType: string;
74
+ };
75
+ };
76
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
77
+ apiParams: import("./api").GetAirQualityStatisParams;
78
+ }, {}, string, {}> & {
79
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
80
+ created?: ((() => void) | (() => void)[]) | undefined;
81
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
82
+ mounted?: ((() => void) | (() => void)[]) | undefined;
83
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
84
+ updated?: ((() => void) | (() => void)[]) | undefined;
85
+ activated?: ((() => void) | (() => void)[]) | undefined;
86
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
87
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
88
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
89
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
90
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
91
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
92
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
93
+ errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
94
+ };
95
+ $forceUpdate: () => void;
96
+ $nextTick: typeof import("vue").nextTick;
97
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
98
+ } & Readonly<import("vue").ExtractPropTypes<{
99
+ apiParams: {
100
+ type: globalThis.PropType<import("./api").GetAirQualityStatisParams>;
101
+ } & {
102
+ default: () => {
103
+ time: number;
104
+ code: string;
105
+ codeType: string;
106
+ };
107
+ };
108
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
109
+ __isFragment?: undefined;
110
+ __isTeleport?: undefined;
111
+ __isSuspense?: undefined;
112
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
113
+ apiParams: {
114
+ type: globalThis.PropType<import("./api").GetAirQualityStatisParams>;
115
+ } & {
116
+ default: () => {
117
+ time: number;
118
+ code: string;
119
+ codeType: string;
120
+ };
121
+ };
122
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
123
+ apiParams: import("./api").GetAirQualityStatisParams;
124
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
125
+ export default _CieqContributionMonthRatio;
@@ -0,0 +1,179 @@
1
+ import { _ as _export_sfc, i as install } from '../AirQualityCalendar/index.mjs';
2
+ import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, unref } from 'vue';
3
+ import { E } from '../../../vendor/fpi-tg-factor-tools@1.0.4.mjs';
4
+ import { d as dayjs } from '../../../vendor/dayjs@1.11.9.mjs';
5
+ import { _ as _BasicEcharts } from '../common/BasicEcharts/index.mjs';
6
+ import { g as getAirQualityStatis } from './api/index.mjs';
7
+
8
+ const clsfix = "cieq-contributio-ratio";
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ __name: "index",
11
+ props: {
12
+ apiParams: { default: () => ({
13
+ time: dayjs().subtract(1, "h").valueOf(),
14
+ code: "0101000000",
15
+ codeType: "grid"
16
+ }) }
17
+ },
18
+ setup(__props) {
19
+ const props = __props;
20
+ const chartsFullOptions = ref({ options: null });
21
+ const generateOption = (xData, series) => {
22
+ return {
23
+ options: {
24
+ colors: [
25
+ "#0062FF",
26
+ "#0AAEFF",
27
+ "#2AC94F",
28
+ "#FF792E",
29
+ "#F84439",
30
+ "#FFB443"
31
+ ],
32
+ grid: {
33
+ left: 10,
34
+ bottom: 30,
35
+ right: 10,
36
+ top: 30,
37
+ containLabel: true
38
+ },
39
+ tooltip: {
40
+ trigger: "axis",
41
+ padding: 8,
42
+ background: "rgba(1, 11, 18, 0.6)",
43
+ formatter: (params) => {
44
+ const title = params[0] ? params[0].name : "";
45
+ const cieq = params[0] ? params[0].data.cieq : "";
46
+ const strArr = params.map((item) => {
47
+ return `<div>
48
+ ${item.marker}
49
+ <span style="display: inline-block;width: 60px;">${item.seriesName}</span>
50
+ <span style="display: inline-block;text-align: right;width: 30px;margin-right:10px;">${Number.isNaN(Number(item.data.value)) ? "--" : `${item.data.value}`}</span>
51
+ <span style="display: inline-block;text-align: right;width: 40px;">${typeof item.data.rate === "number" ? `${item.data.rate}%` : "--%"}</span>
52
+ </div>`;
53
+ });
54
+ const str = strArr.join("");
55
+ return `<div>
56
+ <div>${title}</div>
57
+ <div><span style="display: inline-block;width: 60px;">综合指数</span><span>${cieq}</span></div>
58
+ ${str}
59
+ </div>`;
60
+ }
61
+ },
62
+ xAxis: {
63
+ type: "category",
64
+ axisTick: {
65
+ show: false
66
+ },
67
+ axisLine: {
68
+ show: false
69
+ },
70
+ axisLabel: {
71
+ color: "#FFF",
72
+ fontSize: 12,
73
+ interval: 0,
74
+ formatter: (value) => value.substr(5)
75
+ },
76
+ data: xData
77
+ },
78
+ yAxis: {
79
+ type: "value",
80
+ nameTextStyle: {
81
+ color: "rgba(255, 255, 255, 0.5)",
82
+ padding: [0, 30, 0, 0]
83
+ },
84
+ splitNumber: 3,
85
+ axisTick: {
86
+ show: false
87
+ },
88
+ axisLine: {
89
+ show: false
90
+ },
91
+ axisLabel: {
92
+ show: true,
93
+ color: "rgba(255, 255, 255, 0.5)"
94
+ },
95
+ splitLine: {
96
+ show: true,
97
+ lineStyle: {
98
+ color: ["rgba(255, 255, 255, 0.3)"]
99
+ }
100
+ }
101
+ },
102
+ legend: {
103
+ show: true,
104
+ bottom: 0,
105
+ itemGap: 10,
106
+ textStyle: {
107
+ color: "#FFF",
108
+ fontSize: 12
109
+ },
110
+ itemWidth: 10,
111
+ itemHeight: 10,
112
+ itemStyle: {
113
+ borderWidth: 0
114
+ }
115
+ },
116
+ series
117
+ }
118
+ };
119
+ };
120
+ const fetchData = () => {
121
+ getAirQualityStatis(props.apiParams).then((res) => {
122
+ if (res.data && res.data.CIEQ) {
123
+ const data1 = res.data.CIEQ.CIEQMonthValueRate;
124
+ const data2 = res.data.CIEQ.CIEQMonthValue;
125
+ const xData = data2.times;
126
+ const list = E.filter((item) => item.code !== "aqi").map((item) => {
127
+ const key = `V_ICIEQ_${item.key}`;
128
+ const value1s = data1[key] ?? [];
129
+ const value2s = data2[key] ?? [];
130
+ const cieqs = data2.cieq;
131
+ return {
132
+ name: item.name,
133
+ type: "bar",
134
+ stack: "x",
135
+ data: value2s.map((c, index) => {
136
+ return {
137
+ value: c,
138
+ rate: value1s[index],
139
+ cieq: cieqs[index]
140
+ };
141
+ }),
142
+ barWidth: 15
143
+ };
144
+ });
145
+ chartsFullOptions.value = generateOption(xData, list);
146
+ }
147
+ });
148
+ };
149
+ onMounted(() => {
150
+ fetchData();
151
+ });
152
+ watch(() => props.apiParams, () => {
153
+ fetchData();
154
+ });
155
+ return (_ctx, _cache) => {
156
+ return openBlock(), createElementBlock("div", {
157
+ class: normalizeClass(`${clsfix}-container`)
158
+ }, [
159
+ createElementVNode("div", {
160
+ class: normalizeClass(`${clsfix}-echarts`)
161
+ }, [
162
+ createVNode(unref(_BasicEcharts), {
163
+ height: "100%",
164
+ "full-options": chartsFullOptions.value,
165
+ loading: false
166
+ }, null, 8, ["full-options"])
167
+ ], 2)
168
+ ], 2);
169
+ };
170
+ }
171
+ });
172
+
173
+ /* unplugin-vue-components disabled */const index_vue_vue_type_style_index_0_scoped_bf9d89e8_lang = '';
174
+
175
+ const _CieqContributionMonthRatio = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bf9d89e8"]]);
176
+
177
+ const CieqContributionMonthRatio = install(_CieqContributionMonthRatio);
178
+
179
+ export { CieqContributionMonthRatio as C };
@@ -1,27 +1,22 @@
1
1
  import type { GetAirQualityStatisParams } from './api';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  apiParams?: GetAirQualityStatisParams | undefined;
4
- dataType?: "rate" | "num" | undefined;
5
4
  }>, {
6
5
  apiParams: () => {
7
6
  time: number;
8
7
  code: string;
9
8
  codeType: string;
10
9
  };
11
- dataType: string;
12
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
11
  apiParams?: GetAirQualityStatisParams | undefined;
14
- dataType?: "rate" | "num" | undefined;
15
12
  }>, {
16
13
  apiParams: () => {
17
14
  time: number;
18
15
  code: string;
19
16
  codeType: string;
20
17
  };
21
- dataType: string;
22
18
  }>>>, {
23
19
  apiParams: GetAirQualityStatisParams;
24
- dataType: 'num' | 'rate';
25
20
  }, {}>;
26
21
  export default _default;
27
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,11 @@
1
+ import { r as requestControl } from '../../../service/request.mjs';
2
+
3
+ const getAirQualityStatis = (params) => {
4
+ return requestControl({
5
+ url: "/aims-server/web/api/v1/env-feature/air-quality-statis",
6
+ method: "get",
7
+ params
8
+ });
9
+ };
10
+
11
+ export { getAirQualityStatis as g };
@@ -1,11 +1,11 @@
1
- import _CieqContributionRatio from './index.vue';
2
- export declare const CieqContributionRatio: {
1
+ import _CieqContributionYearRatio from './index.vue';
2
+ export declare const CieqContributionYearRatio: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: {
7
7
  apiParams?: import("./api").GetAirQualityStatisParams | undefined;
8
- dataType?: "rate" | "num" | undefined;
8
+ showCieq?: boolean | undefined;
9
9
  key?: string | number | symbol | undefined;
10
10
  style?: unknown;
11
11
  ref?: import("vue").VNodeRef | undefined;
@@ -74,14 +74,14 @@ export declare const CieqContributionRatio: {
74
74
  codeType: string;
75
75
  };
76
76
  };
77
- dataType: {
78
- type: globalThis.PropType<"rate" | "num">;
77
+ showCieq: {
78
+ type: globalThis.PropType<boolean>;
79
79
  } & {
80
- default: string;
80
+ default: boolean;
81
81
  };
82
82
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
83
83
  apiParams: import("./api").GetAirQualityStatisParams;
84
- dataType: "rate" | "num";
84
+ showCieq: boolean;
85
85
  }, {}, string, {}> & {
86
86
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
87
87
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -112,10 +112,10 @@ export declare const CieqContributionRatio: {
112
112
  codeType: string;
113
113
  };
114
114
  };
115
- dataType: {
116
- type: globalThis.PropType<"rate" | "num">;
115
+ showCieq: {
116
+ type: globalThis.PropType<boolean>;
117
117
  } & {
118
- default: string;
118
+ default: boolean;
119
119
  };
120
120
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
121
121
  __isFragment?: undefined;
@@ -131,13 +131,13 @@ export declare const CieqContributionRatio: {
131
131
  codeType: string;
132
132
  };
133
133
  };
134
- dataType: {
135
- type: globalThis.PropType<"rate" | "num">;
134
+ showCieq: {
135
+ type: globalThis.PropType<boolean>;
136
136
  } & {
137
- default: string;
137
+ default: boolean;
138
138
  };
139
139
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
140
140
  apiParams: import("./api").GetAirQualityStatisParams;
141
- dataType: "rate" | "num";
141
+ showCieq: boolean;
142
142
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
143
- export default _CieqContributionRatio;
143
+ export default _CieqContributionYearRatio;