mixdashboards 1.0.70 → 1.0.71

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 (342) hide show
  1. package/dist/{BaseComponent-Cco_5i96.cjs → BaseComponent-CNXUpPY1.cjs} +1 -1
  2. package/dist/{BaseComponent-DQe7HYdV.js → BaseComponent-D5tlYehc.js} +3 -3
  3. package/dist/{EChartComponentBase-dEfA3X9b.js → EChartComponentBase-CAabYXSj.js} +2 -2
  4. package/dist/{EChartComponentBase-BaBnJ8bP.cjs → EChartComponentBase-D4wMej9X.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-wz6hpU6V.cjs → EmergencyPlanPanel-D96XjhRq.cjs} +1 -1
  6. package/dist/{EmergencyPlanPanel-DSznPaVv.js → EmergencyPlanPanel-Th4ZNdCb.js} +1 -1
  7. package/dist/{HistoryPlanDialog-BTgBCdS8.js → HistoryPlanDialog-D2mQLhkO.js} +1 -1
  8. package/dist/{HistoryPlanDialog-B-LHlgcj.cjs → HistoryPlanDialog-rn2Bp0Gx.cjs} +1 -1
  9. package/dist/{MonitoringMap-C-2l_lqx.cjs → MonitoringMap-BZ98NYTJ.cjs} +1 -1
  10. package/dist/{MonitoringMap-DXBLJnDo.js → MonitoringMap-Coozb35G.js} +2 -2
  11. package/dist/{UniverSheet-C7dsXjKx.js → UniverSheet-CJCunVAM.js} +2 -2
  12. package/dist/{UniverSheet-LB-08tc-.cjs → UniverSheet-CntkzcVZ.cjs} +1 -1
  13. package/dist/{accelerationChart-D1SoP45I.cjs → accelerationChart-DLV-1mpA.cjs} +1 -1
  14. package/dist/{accelerationChart-SBxtVHbe.js → accelerationChart-DacjcSHD.js} +2 -2
  15. package/dist/{actionItem-DfIM5UH4.cjs → actionItem-CFxzHf4E.cjs} +1 -1
  16. package/dist/{actionItem-B8IcKGNl.js → actionItem-d-4p5HZK.js} +2 -2
  17. package/dist/{alarmLevelChart-H8iauEiv.cjs → alarmLevelChart-DCC6D1fH.cjs} +1 -1
  18. package/dist/{alarmLevelChart-CQz77Q40.js → alarmLevelChart-DddN1NVy.js} +2 -2
  19. package/dist/{alertTable-Cx-fC6uh.cjs → alertTable-BREZBeS5.cjs} +1 -1
  20. package/dist/{alertTable-Cv29mm-v.js → alertTable-Q-Waa5jf.js} +2 -2
  21. package/dist/{aliasObjectSelectorDemo-Bu8MwH5r.js → aliasObjectSelectorDemo-BZygQw9k.js} +1 -1
  22. package/dist/{aliasObjectSelectorDemo-etPGYsSr.cjs → aliasObjectSelectorDemo-DunKWEkT.cjs} +1 -1
  23. package/dist/{annualRainfallChart-BGQ985hs.cjs → annualRainfallChart-BJyoUBDn.cjs} +1 -1
  24. package/dist/{annualRainfallChart-DX58eJRx.js → annualRainfallChart-CthANCvn.js} +2 -2
  25. package/dist/appendCommonDesignerWhereAnd-DwefWNOa.js +11 -0
  26. package/dist/appendCommonDesignerWhereAnd-Q-EhDJXE.cjs +1 -0
  27. package/dist/{aqi-B2fpfbL7.cjs → aqi-BFW_8xYd.cjs} +1 -1
  28. package/dist/{aqi-DeaKS-k8.js → aqi-C_HnKsjh.js} +2 -2
  29. package/dist/{aqiIndass-B7qQDf8x.cjs → aqiIndass-B441j8CT.cjs} +1 -1
  30. package/dist/{aqiIndass-DhZefO08.js → aqiIndass-NVRa3lmj.js} +2 -2
  31. package/dist/{areaDeformCurve-Ocbn3_kI.cjs → areaDeformCurve-Dj405Jil.cjs} +1 -1
  32. package/dist/{areaDeformCurve-C4hXBtGd.js → areaDeformCurve-mQiOHdtN.js} +2 -2
  33. package/dist/{arrayCard-DlsKpcwB.cjs → arrayCard-B7zb1dFi.cjs} +1 -1
  34. package/dist/{arrayCard-BpUOS-ss.js → arrayCard-DZitcjMs.js} +2 -2
  35. package/dist/{audio-DxNmXkbs.cjs → audio-BfsYRWbm.cjs} +1 -1
  36. package/dist/{audio-C6CngKS8.js → audio-CDAMVEgC.js} +2 -2
  37. package/dist/{bar-DNPkWaNw.js → bar--JrlRud9.js} +2 -2
  38. package/dist/{bar-D1M8bJyN.cjs → bar-C7uQADV1.cjs} +1 -1
  39. package/dist/{bmp-Bzs9zJnc.cjs → bmp-DIkLqzRN.cjs} +1 -1
  40. package/dist/{bmp-YmFKfLFa.js → bmp-DrVcnYxy.js} +2 -2
  41. package/dist/{box-OJmqI3Q7.cjs → box-kXjrgG2u.cjs} +1 -1
  42. package/dist/{box-Dk54UC-q.js → box-szcLhted.js} +2 -2
  43. package/dist/{chartConfigPanel-GHB5Hl5O.js → chartConfigPanel-C32o1gyJ.js} +1 -1
  44. package/dist/{chartConfigPanel-CZoaPWy_.cjs → chartConfigPanel-DN4LMy8-.cjs} +1 -1
  45. package/dist/{circleBar-K137GzFV.js → circleBar-BmTjsLHo.js} +2 -2
  46. package/dist/{circleBar-B5IZlML0.cjs → circleBar-CeL2rqMJ.cjs} +1 -1
  47. package/dist/{clock-2JczyJVw.js → clock-CuQpD76K.js} +2 -2
  48. package/dist/{clock-CBL1_q-5.cjs → clock-EbmFBRb-.cjs} +1 -1
  49. package/dist/{clt-BORPsc1B.cjs → clt-C-9xGiKs.cjs} +1 -1
  50. package/dist/{clt-ChGE4ePR.js → clt-XCswxZ6i.js} +2 -2
  51. package/dist/{cmc-DcpgTPp1.cjs → cmc-CFa8Q3tu.cjs} +1 -1
  52. package/dist/{cmc-KJdEjBLk.js → cmc-CXmAv6fz.js} +2 -2
  53. package/dist/{cmp-CcyWf3Uh.cjs → cmp-DmpxjexT.cjs} +1 -1
  54. package/dist/{cmp-sOgqvBdl.js → cmp-Duz_v-LC.js} +2 -2
  55. package/dist/{composite-Ch7011-M.js → composite-CWgy-w61.js} +2 -2
  56. package/dist/{composite-CQKIpLlE.cjs → composite-DdHASMFQ.cjs} +1 -1
  57. package/dist/{conclusionCard-DzJV5dVQ.js → conclusionCard-BtB0rARK.js} +2 -2
  58. package/dist/{conclusionCard-DAvkvrFd.cjs → conclusionCard-Dlg5GWlE.cjs} +1 -1
  59. package/dist/{controlList-VNBp52-S.js → controlList-C0AQ8Yb8.js} +119 -113
  60. package/dist/controlList-C1vhlonT.cjs +1 -0
  61. package/dist/controlRecordList-BhK7KtLR.cjs +1 -0
  62. package/dist/{controlRecordList-BwgBUDph.js → controlRecordList-CSPKG1HU.js} +113 -107
  63. package/dist/{crd-CMq-eX9E.cjs → crd-CgxqxwKV.cjs} +1 -1
  64. package/dist/{crd-BgzuVyLH.js → crd-DQruf9o3.js} +2 -2
  65. package/dist/{ctrBtn-BBpiMhLv.cjs → ctrBtn-BSJ9c7Pt.cjs} +1 -1
  66. package/dist/{ctrBtn-BEFSVeUb.js → ctrBtn-jEWTt_f2.js} +3 -3
  67. package/dist/{ctrSet-CIqM9s8f.cjs → ctrSet-B9M4yI53.cjs} +1 -1
  68. package/dist/{ctrSet-CDe4sV-6.js → ctrSet-C4wCODMY.js} +3 -3
  69. package/dist/{ctrSwitch-TZ380RwZ.js → ctrSwitch-C6dUn_qm.js} +3 -3
  70. package/dist/{ctrSwitch-BT6EXPWY.cjs → ctrSwitch-ZvMCYKvG.cjs} +1 -1
  71. package/dist/{dataManagement-Dc_cJb_I.js → dataManagement-BQVZS7Hi.js} +2 -2
  72. package/dist/{dataManagement-CIt71PpI.cjs → dataManagement-CNrEa_zB.cjs} +1 -1
  73. package/dist/{dataReport-Brb3-u9M.cjs → dataReport-DRopth3A.cjs} +1 -1
  74. package/dist/{dataReport-CqEWzKs_.js → dataReport-vP1LBJjE.js} +2 -2
  75. package/dist/{dataTable-CxNmTfCe.js → dataTable-B1FQ3XIq.js} +1 -1
  76. package/dist/{dataTable-Dumu1ipq.cjs → dataTable-C2AgSR36.cjs} +1 -1
  77. package/dist/{datetime-CiUh6ijW.cjs → datetime-CAyDWKE8.cjs} +1 -1
  78. package/dist/{datetime-DznwpQpB.js → datetime-DU3rzi1v.js} +2 -2
  79. package/dist/{deepClusterSlipSurface-BM14AV0q.js → deepClusterSlipSurface-BHwB0eu9.js} +2 -2
  80. package/dist/{deepClusterSlipSurface-DV0J99z4.cjs → deepClusterSlipSurface-DzoyF6i1.cjs} +1 -1
  81. package/dist/{deepDataMatrix-CnZamNgJ.cjs → deepDataMatrix--AstWPiL.cjs} +1 -1
  82. package/dist/{deepDataMatrix-DlHVpRsU.js → deepDataMatrix-C3uKZmon.js} +2 -2
  83. package/dist/{deepDisplacement3D-DBPZVGVq.cjs → deepDisplacement3D-BBYgB-rK.cjs} +1 -1
  84. package/dist/{deepDisplacement3D-CFQGFzKB.js → deepDisplacement3D-CDNPul6D.js} +2 -2
  85. package/dist/{deepDisplacementChart-WRoRNeUp.cjs → deepDisplacementChart-BnT1ZdfR.cjs} +1 -1
  86. package/dist/{deepDisplacementChart-BIC1BdeL.js → deepDisplacementChart-C6GQHO-J.js} +3 -3
  87. package/dist/{deepDisplacementChart-CUHtskLG.js → deepDisplacementChart-C_pwwgIC.js} +2 -2
  88. package/dist/{deepDisplacementChart-DV1CAZdr.cjs → deepDisplacementChart-DOPij7KP.cjs} +1 -1
  89. package/dist/{deepDisplacementView-CqYa0axl.js → deepDisplacementView-C837RNer.js} +1 -1
  90. package/dist/{deepDisplacementView-Cvw33ulf.cjs → deepDisplacementView-u1IPcbxN.cjs} +1 -1
  91. package/dist/{deepNodeTemperatureChart-CXdObUS6.js → deepNodeTemperatureChart-BcH3ZNi4.js} +2 -2
  92. package/dist/{deepNodeTemperatureChart-Dv_OX5B4.cjs → deepNodeTemperatureChart-CD3JbqkA.cjs} +1 -1
  93. package/dist/{deepTangentAngleChart-DswXRUYT.cjs → deepTangentAngleChart-BCAauuDY.cjs} +1 -1
  94. package/dist/{deepTangentAngleChart-Bud2CMVY.js → deepTangentAngleChart-DSpCyIdq.js} +2 -2
  95. package/dist/{deepTemperatureField-GoQvQtaO.js → deepTemperatureField-B2qIHL1-.js} +3 -3
  96. package/dist/{deepTemperatureField-ChALQ2aa.cjs → deepTemperatureField-BxuKsrtc.cjs} +1 -1
  97. package/dist/{deepTrendChart-CDrMdwWQ.cjs → deepTrendChart-6L4cCHgh.cjs} +1 -1
  98. package/dist/{deepTrendChart-ChnQuB43.js → deepTrendChart-DFGSV17a.js} +2 -2
  99. package/dist/{deviceOnlineStatus-BfNCdYOx.js → deviceOnlineStatus-CiIFdo9I.js} +2 -2
  100. package/dist/{deviceOnlineStatus-Bn3LQ4Sr.cjs → deviceOnlineStatus-WkwzGom4.cjs} +1 -1
  101. package/dist/{deviceStatus-Brj4MjDf.cjs → deviceStatus-BoIv8fbr.cjs} +1 -1
  102. package/dist/{deviceStatus-B38Ae5a2.js → deviceStatus-Dd1pqVnO.js} +2 -2
  103. package/dist/{displacementDataTable-BUNOEGGA.cjs → displacementDataTable-BwcxrsuU.cjs} +1 -1
  104. package/dist/{displacementDataTable-CcPsYHhN.js → displacementDataTable-CGIHGxye.js} +2 -2
  105. package/dist/{displacementTrajectoryChart-CigBPamm.cjs → displacementTrajectoryChart-BOPIBgi5.cjs} +1 -1
  106. package/dist/{displacementTrajectoryChart--FVjlHL3.js → displacementTrajectoryChart-RL97CTML.js} +2 -2
  107. package/dist/{displacementTrendChart-IVjBPyEn.js → displacementTrendChart-Bqnv7hiP.js} +2 -2
  108. package/dist/{displacementTrendChart-BglcCr0q.cjs → displacementTrendChart-CI8i0oQY.cjs} +1 -1
  109. package/dist/{dxf-GBy0lc-E.cjs → dxf-BQoArgPS.cjs} +1 -1
  110. package/dist/{dxf-sH3BLfYm.js → dxf-DBu1iA-r.js} +2 -2
  111. package/dist/{dzc-Bl1t-Dk2.js → dzc-7tLxe18d.js} +2 -2
  112. package/dist/{dzc-HaFIs3kj.cjs → dzc-DMVPjosV.cjs} +1 -1
  113. package/dist/{emergencyPlan-Dm3xgpLZ.cjs → emergencyPlan-BRFhMubg.cjs} +1 -1
  114. package/dist/{emergencyPlan-BBCNfl7v.js → emergencyPlan-C9Edkw51.js} +3 -3
  115. package/dist/{evn-xtk2AfOE.cjs → evn-B05d7LtF.cjs} +1 -1
  116. package/dist/{evn-oE5QPAvh.js → evn-CeLoYCUr.js} +2 -2
  117. package/dist/{evolutionChart-IQgcbpZI.js → evolutionChart-DAlncdLU.js} +3 -3
  118. package/dist/{evolutionChart-BCALB3_C.cjs → evolutionChart-y2mkLVwU.cjs} +1 -1
  119. package/dist/{fileViewer-CNUWWWrf.js → fileViewer-BFMFEN2f.js} +2 -2
  120. package/dist/{fileViewer-Bm3pBZ7F.cjs → fileViewer-Dy2fdABW.cjs} +1 -1
  121. package/dist/{filterBar-8-3I-fv2.cjs → filterBar-CcrUdD-O.cjs} +1 -1
  122. package/dist/{filterBar-D0IMAQEi.js → filterBar-qJJKdxYE.js} +2 -2
  123. package/dist/{fireCombustionCurve-q_KJLBvC.cjs → fireCombustionCurve-B-6MZLul.cjs} +1 -1
  124. package/dist/{fireCombustionCurve-DIMaL6k_.js → fireCombustionCurve-DyRikhHw.js} +3 -3
  125. package/dist/{fireFilterBar-BduYgLR_.cjs → fireFilterBar-C9b_Ohvr.cjs} +1 -1
  126. package/dist/{fireFilterBar-mh__CAEd.js → fireFilterBar-DkjBGPXa.js} +2 -2
  127. package/dist/{fireHistoryTable-V7JBdrE2.cjs → fireHistoryTable-5sG5FDCD.cjs} +1 -1
  128. package/dist/{fireHistoryTable-BGIGhRzQ.js → fireHistoryTable-ldXil5up.js} +2 -2
  129. package/dist/{gag-ClHWS-GR.cjs → gag-CDX99Ta4.cjs} +1 -1
  130. package/dist/{gag-h6YZVeKt.js → gag-KZfFHn72.js} +2 -2
  131. package/dist/{gasStationList-D8fl4Or-.js → gasStationList-Btoo_olJ.js} +61 -54
  132. package/dist/gasStationList-Dl9qawf_.cjs +1 -0
  133. package/dist/{geo3dViewer-V0VzcLih.cjs → geo3dViewer-Cif9uFqd.cjs} +1 -1
  134. package/dist/{geo3dViewer-BMXatRLz.js → geo3dViewer-iZhkCiTP.js} +3 -3
  135. package/dist/{glbModel-CXvjMqNn.cjs → glbModel-2xydaxDT.cjs} +1 -1
  136. package/dist/{glbModel-B2byj6re.js → glbModel-MJZgDSJf.js} +2 -2
  137. package/dist/{globalObjectSelector-BgZLIHmK.cjs → globalObjectSelector-Bz2XhgxT.cjs} +1 -1
  138. package/dist/{globalObjectSelector-BZ3_5CPd.js → globalObjectSelector-CHtYGpi9.js} +1 -1
  139. package/dist/{gnssFilterBar-Cf7cWGlI.cjs → gnssFilterBar-BT19n0j_.cjs} +1 -1
  140. package/dist/{gnssFilterBar-CpF9e6YM.js → gnssFilterBar-CPis6bUI.js} +2 -2
  141. package/dist/{gnssHistoryTable-rdM2a20c.cjs → gnssHistoryTable-CrS2qO6S.cjs} +1 -1
  142. package/dist/{gnssHistoryTable-MRP8Beo0.js → gnssHistoryTable-kHZY48EZ.js} +2 -2
  143. package/dist/{gnssMapView-CaUtuUpJ.cjs → gnssMapView-BNIkieqL.cjs} +2 -2
  144. package/dist/{gnssMapView-BkoTIlXN.js → gnssMapView-DXP8yz0v.js} +4 -4
  145. package/dist/{gnssSectionProfile-Dg8ItwhD.js → gnssSectionProfile-DEUDEvJ1.js} +2 -2
  146. package/dist/{gnssSectionProfile-BBr8cQ5Q.cjs → gnssSectionProfile-_KbP1NXU.cjs} +1 -1
  147. package/dist/{gnssTimeSeriesChart-nqn-schc.cjs → gnssTimeSeriesChart-BgFoXAZv.cjs} +1 -1
  148. package/dist/{gnssTimeSeriesChart-BD_By4pr.js → gnssTimeSeriesChart-C_xqd0su.js} +2 -2
  149. package/dist/{gnssXYTrajectory-BEuA8xeM.cjs → gnssXYTrajectory-C1N3RWzp.cjs} +1 -1
  150. package/dist/{gnssXYTrajectory-BJc805eq.js → gnssXYTrajectory-GqgFw_qK.js} +2 -2
  151. package/dist/grd-DtDoJOOa.cjs +1 -0
  152. package/dist/{grd-CdgF9LSJ.js → grd-QCuVN1jE.js} +31 -30
  153. package/dist/{grdIndass-BE3WXRar.js → grdIndass-BEcfZTYw.js} +2 -2
  154. package/dist/{grdIndass-BCgyoujO.cjs → grdIndass-ci3JkvGZ.cjs} +1 -1
  155. package/dist/{grg-DC1jm6BJ.cjs → grg-C2qVuXYE.cjs} +1 -1
  156. package/dist/{grg-DOWXpsOd.js → grg-CMVrF5tB.js} +2 -2
  157. package/dist/{gridview-EqB4I5wC.cjs → gridview-BLAlr5uj.cjs} +1 -1
  158. package/dist/{gridview-CVmSPr7U.js → gridview-Cd3Tqzph.js} +2 -2
  159. package/dist/{groundwaterFilterBar-CWv6BCI6.cjs → groundwaterFilterBar-1E1j67JT.cjs} +1 -1
  160. package/dist/{groundwaterFilterBar-CviSH5Qr.js → groundwaterFilterBar-D7lrbzDC.js} +2 -2
  161. package/dist/{groundwaterProfileChart-D-Egf7gH.js → groundwaterProfileChart-Bjtqz-Zv.js} +3 -3
  162. package/dist/{groundwaterProfileChart-hbl7Skoa.cjs → groundwaterProfileChart-CS9xelz8.cjs} +2 -2
  163. package/dist/{groundwaterTimeCurve-B2S9jv9c.js → groundwaterTimeCurve-Bu6vgAaC.js} +3 -3
  164. package/dist/{groundwaterTimeCurve-BSKxN3Mw.cjs → groundwaterTimeCurve-DYiDLgVY.cjs} +1 -1
  165. package/dist/{groupCard-BSYmzKXi.cjs → groupCard-CPvAsuPb.cjs} +1 -1
  166. package/dist/{groupCard-fDda5bn9.js → groupCard-DQvEe6cc.js} +2 -2
  167. package/dist/{headerBar-BNC53vaM.js → headerBar-CGOtSvFn.js} +2 -2
  168. package/dist/{headerBar-Dv7imnYo.cjs → headerBar-OwCxpc4o.cjs} +1 -1
  169. package/dist/{history-BC29QEMC.cjs → history-9ToM-rJ6.cjs} +1 -1
  170. package/dist/{history-71NIpUTt.js → history-D6C3tSut.js} +1 -1
  171. package/dist/{index-BSsB7QzO.js → index-Bdq33405.js} +2026 -2039
  172. package/dist/{index-Do1YWdUS.cjs → index-D8dh_6Qd.cjs} +12 -12
  173. package/dist/{insarDeformChart-DBj0COZA.cjs → insarDeformChart-CSQ7fc2p.cjs} +1 -1
  174. package/dist/{insarDeformChart-DagNC51a.js → insarDeformChart-Ls-cdqaP.js} +2 -2
  175. package/dist/{insarImageViewer-D8lq9Hv9.js → insarImageViewer-Dnke9JDG.js} +2 -2
  176. package/dist/{insarImageViewer-D3Z46bMc.cjs → insarImageViewer-DvaRS1zr.cjs} +1 -1
  177. package/dist/{kds-dfE3zwZ-.js → kds-B4BKGG0r.js} +2 -2
  178. package/dist/{kds-3BWXq_Zj.cjs → kds-BjX5tXhF.cjs} +1 -1
  179. package/dist/{kpiCard-C7BwYNoj.js → kpiCard-C77vHJ_E.js} +2 -2
  180. package/dist/{kpiCard-DsIkae_A.cjs → kpiCard-oLpk5d4m.cjs} +1 -1
  181. package/dist/{landslideMap-BrLLkxBj.js → landslideMap-BEkbnCqP.js} +3 -3
  182. package/dist/{landslideMap-B6KMbgUh.cjs → landslideMap-CO8o7T8J.cjs} +1 -1
  183. package/dist/{landslideWarning-HDs4IJhS.cjs → landslideWarning-BZXa5qTB.cjs} +1 -1
  184. package/dist/{landslideWarning-CCB3FuKv.js → landslideWarning-C5upI2cf.js} +5 -5
  185. package/dist/{layerTabs-CIJNyC8N.cjs → layerTabs-BxRAsklw.cjs} +1 -1
  186. package/dist/{layerTabs-DmXSaX2o.js → layerTabs-DoGw1Jfv.js} +2 -2
  187. package/dist/{leaflet-src-CFMznK-4.cjs → leaflet-src-BUWIqhPn.cjs} +1 -1
  188. package/dist/{leaflet-src-Cz3-WkcA.js → leaflet-src-DFE_g2gF.js} +1 -1
  189. package/dist/{lerc-DOm8fUIl.cjs → lerc-BBgQP785.cjs} +1 -1
  190. package/dist/{lerc-CVXsRBRF.js → lerc-CXc9KSRL.js} +2 -2
  191. package/dist/{lin-CDBqcgpY.cjs → lin-ClO2MqZl.cjs} +1 -1
  192. package/dist/{lin-Br_VXsJO.js → lin-Difz8N88.js} +2 -2
  193. package/dist/{linIndass-B9ZXCjvV.cjs → linIndass-Bb7UA-zk.cjs} +1 -1
  194. package/dist/{linIndass-Bzid42kL.js → linIndass-DqXVOBh3.js} +2 -2
  195. package/dist/{lst-DHw7jJvt.js → lst-4RMMZZkY.js} +2 -2
  196. package/dist/{lst-D1Vdrqbd.cjs → lst-Dri1MTDI.cjs} +1 -1
  197. package/dist/{manualEntry-C3d0PuIP.js → manualEntry-B3_4Z-Lj.js} +2 -2
  198. package/dist/{manualEntry-DPiWw70L.cjs → manualEntry-D74dgZv8.cjs} +1 -1
  199. package/dist/{mapBackground-BmEmh-IX.js → mapBackground-B3OHQsXZ.js} +3 -3
  200. package/dist/{mapBackground-CW9t63hH.cjs → mapBackground-Bmt-oZt6.cjs} +1 -1
  201. package/dist/mappingList-CBN7ArkQ.cjs +1 -0
  202. package/dist/{mappingList-rtj1fZta.js → mappingList-DVj7H206.js} +142 -136
  203. package/dist/{markdownViewer-mV81tsCM.cjs → markdownViewer-BAuNEWRt.cjs} +1 -1
  204. package/dist/{markdownViewer-BW9CC15r.js → markdownViewer-fheM5uV4.js} +2 -2
  205. package/dist/{mix-control-modal-R-d17GgO.js → mix-control-modal-BBiKe4MM.js} +1 -1
  206. package/dist/{mix-control-modal-C-XaUBM9.cjs → mix-control-modal-BoYynGT2.cjs} +1 -1
  207. package/dist/{mixGrid-Dh1GWlPe.js → mixGrid-BUjP1qv2.js} +233 -225
  208. package/dist/mixGrid-DTj2pmFW.cjs +1 -0
  209. package/dist/{mixMap-JeV_KU8B.cjs → mixMap-B4T4R6kA.cjs} +1 -1
  210. package/dist/{mixMap-InWuappO.js → mixMap-DPIwyKuP.js} +2 -2
  211. package/dist/{mixModel-CPu_Nnzl.cjs → mixModel-BzilRtjf.cjs} +1 -1
  212. package/dist/{mixModel-DKGYpc0t.js → mixModel-CIdQp4V9.js} +2 -2
  213. package/dist/{mixPie-DuL4kFfE.js → mixPie-C6OhdOCV.js} +2 -2
  214. package/dist/{mixPie-B8iIy6vW.cjs → mixPie-DtQm-LGp.cjs} +1 -1
  215. package/dist/mixdashboards.cjs +1 -1
  216. package/dist/mixdashboards.css +1 -1
  217. package/dist/mixdashboards.js +1 -1
  218. package/dist/{mjpegCamera-CLn1xHqz.js → mjpegCamera-Cd1vhZ5v.js} +2 -2
  219. package/dist/{mjpegCamera-CBDFxk1W.cjs → mjpegCamera-Lu3UHJ83.cjs} +1 -1
  220. package/dist/{monitorAlert-GYcH2lWI.cjs → monitorAlert-Ctt2kCxQ.cjs} +1 -1
  221. package/dist/{monitorAlert-v3YHyJ9n.js → monitorAlert-DIJtH557.js} +2 -2
  222. package/dist/{monitorData-CfcxdZcd.js → monitorData-B6jhpzVK.js} +2 -2
  223. package/dist/{monitorData-B7ZFUGOk.cjs → monitorData-D_tMbx_Y.cjs} +1 -1
  224. package/dist/{monitorSpeedChart-7xx0tfQ_.js → monitorSpeedChart-DF5zvxs9.js} +1 -1
  225. package/dist/{monitorSpeedChart-C7HwlTr8.cjs → monitorSpeedChart-EIcGs3NX.cjs} +1 -1
  226. package/dist/{mxa-CjPqkUmG.cjs → mxa-BfwIV49n.cjs} +1 -1
  227. package/dist/{mxa-CDGZ91O2.js → mxa-COxjxwpC.js} +2 -2
  228. package/dist/{myValue-DjPA08OX.js → myValue-Crba15Wc.js} +2 -2
  229. package/dist/{myValue-BS3GCO4s.cjs → myValue-FZPOucSS.cjs} +1 -1
  230. package/dist/{myValueList-CHkCKevc.cjs → myValueList-XIDK3ove.cjs} +1 -1
  231. package/dist/{myValueList-C7A5aAh9.js → myValueList-m2yaIcuf.js} +2 -2
  232. package/dist/objectList-BtbxHtJj.cjs +1 -0
  233. package/dist/{objectList-D0tDSws-.js → objectList-BwZJzrXs.js} +252 -229
  234. package/dist/{photo-Cu5K8SR1.cjs → photo-BITvEhKG.cjs} +1 -1
  235. package/dist/{photo-DBEKwlxs.js → photo-CjulDHTM.js} +2 -2
  236. package/dist/{pie-CNzWqzxt.js → pie-C9MU90ON.js} +2 -2
  237. package/dist/{pie-DNaiYJw-.cjs → pie-CSLVJv0Y.cjs} +1 -1
  238. package/dist/{placeholder-CmVISGcF.cjs → placeholder-3kajeeeb.cjs} +1 -1
  239. package/dist/{placeholder-sfIWt-Xp.js → placeholder-CRARTMF4.js} +1 -1
  240. package/dist/{pressBtn-DLQBhBFE.js → pressBtn-CkYcW1a8.js} +3 -3
  241. package/dist/{pressBtn-QGaltOl4.cjs → pressBtn-pUcQtd5n.cjs} +1 -1
  242. package/dist/{processTable-CgNob2sD.js → processTable-BgAhGGAq.js} +2 -2
  243. package/dist/{processTable-g9yoTp4_.cjs → processTable-CDulvQlu.cjs} +1 -1
  244. package/dist/{progressBar-Bdp-TJpQ.cjs → progressBar-BbDFps1r.cjs} +1 -1
  245. package/dist/{progressBar-BB2IqJY4.js → progressBar-CIPUVeaf.js} +2 -2
  246. package/dist/{progressCircle-F4z0eEN5.cjs → progressCircle-CgkZ1EC1.cjs} +1 -1
  247. package/dist/{progressCircle-BQ-JSIxI.js → progressCircle-DDc5zsd6.js} +2 -2
  248. package/dist/{qrcode-D0PnYT1n.js → qrcode-CCu677Ad.js} +2 -2
  249. package/dist/{qrcode-C4JX_M2R.cjs → qrcode-CQbWGVgq.cjs} +1 -1
  250. package/dist/raceBar-Cn8oPhCE.js +354 -0
  251. package/dist/raceBar-CzNGSYCt.cjs +4 -0
  252. package/dist/{rad-Bx3jcHPe.js → rad-D_cLWeMk.js} +2 -2
  253. package/dist/{rad-CpIyATZD.cjs → rad-Dk4PrnyI.cjs} +1 -1
  254. package/dist/{radarMapViewer-znDIY1Dj.js → radarMapViewer-BaAXjsWx.js} +2 -2
  255. package/dist/{radarMapViewer-CbGubI4Y.cjs → radarMapViewer-TJIPACdT.cjs} +1 -1
  256. package/dist/{rainfallFilterBar-3a9Q3HL_.js → rainfallFilterBar-Bhpadat8.js} +2 -2
  257. package/dist/{rainfallFilterBar-Du3Sgp7X.cjs → rainfallFilterBar-Myq0MBCf.cjs} +1 -1
  258. package/dist/{rainfallTimeCurve-D2w9bpwZ.cjs → rainfallTimeCurve-BUI-RlnG.cjs} +1 -1
  259. package/dist/{rainfallTimeCurve-BF2Ic5kC.js → rainfallTimeCurve-sDYapogL.js} +3 -3
  260. package/dist/{rangeLin-C32kwDdl.js → rangeLin-CdMOPwMP.js} +2 -2
  261. package/dist/{rangeLin-B_GwGg5T.cjs → rangeLin-DYCZ8wVc.cjs} +1 -1
  262. package/dist/{realtimeEvolutionMap-BYga2Sy1.cjs → realtimeEvolutionMap-BwyQdAhL.cjs} +1 -1
  263. package/dist/{realtimeEvolutionMap-CJGxgUkx.js → realtimeEvolutionMap-CIH_sZ29.js} +2 -2
  264. package/dist/{regionBar-CdddgYWu.cjs → regionBar-DsxqfirI.cjs} +1 -1
  265. package/dist/{regionBar-CZY8lddM.js → regionBar-VB-2GpR0.js} +2 -2
  266. package/dist/{request-DpwHQGd5.js → request-BHfDxLXZ.js} +1 -1
  267. package/dist/{request-C78CBVAN.cjs → request-DU8pRyvu.cjs} +1 -1
  268. package/dist/{retainer1-BuvX8Di7.cjs → retainer1-CSqjvY4k.cjs} +1 -1
  269. package/dist/{retainer1-D019fwD_.js → retainer1-C_109Weq.js} +3 -3
  270. package/dist/{retainer2-B-TexO-Y.js → retainer2-BiHUTumr.js} +3 -3
  271. package/dist/{retainer2-DCHahmfG.cjs → retainer2-Bqlwvr53.cjs} +1 -1
  272. package/dist/{retainerRecordList-BrYisw1I.js → retainerRecordList-Cgil_g8a.js} +217 -199
  273. package/dist/retainerRecordList-DWZ3WDiz.cjs +1 -0
  274. package/dist/{ringTopN-DiMEspqe.cjs → ringTopN-Bp0er_zV.cjs} +1 -1
  275. package/dist/{ringTopN-U-y_5F23.js → ringTopN-C9AH-t3T.js} +2 -2
  276. package/dist/{riskRegionTable-CBkZwBO7.cjs → riskRegionTable-B3bzMaR_.cjs} +1 -1
  277. package/dist/{riskRegionTable-aMJshw4k.js → riskRegionTable-Co1uxMzf.js} +2 -2
  278. package/dist/{sankey-B5cYZsvX.cjs → sankey-B4BJ4xIo.cjs} +1 -1
  279. package/dist/{sankey-DDfakV6y.js → sankey-Bag0ladh.js} +2 -2
  280. package/dist/{scd-Dw_bUW6m.js → scd-D9AiOiPg.js} +2 -2
  281. package/dist/{scd-DFHgvimo.cjs → scd-Dgd3KDpk.cjs} +1 -1
  282. package/dist/{sideMenu-CmpGVPM3.js → sideMenu-869HFB0p.js} +2 -2
  283. package/dist/{sideMenu-DJsAP45g.cjs → sideMenu-BQ5rrGBr.cjs} +1 -1
  284. package/dist/{slopeStability-CfzgDTeZ.cjs → slopeStability-D96aiykf.cjs} +1 -1
  285. package/dist/{slopeStability-D4eSUWT9.js → slopeStability-bZ0lHLjZ.js} +2 -2
  286. package/dist/{speedCurve-vIlHrolF.cjs → speedCurve-5nWqVAzz.cjs} +1 -1
  287. package/dist/{speedCurve-BbThyw5u.js → speedCurve-DZ52XKCk.js} +2 -2
  288. package/dist/{staticLine-uqwL7J2F.js → staticLine-CyPnmKCh.js} +2 -2
  289. package/dist/{staticLine-CFONgNJ0.cjs → staticLine-DUCg-0tI.cjs} +1 -1
  290. package/dist/{stressFilterBar-BC_6NNeh.js → stressFilterBar-BAUt2bGy.js} +2 -2
  291. package/dist/{stressFilterBar-CbK5TMGs.cjs → stressFilterBar-CorWdmpQ.cjs} +1 -1
  292. package/dist/{stressTimeCurve-DGa6Amlf.cjs → stressTimeCurve-Bci50Cwv.cjs} +1 -1
  293. package/dist/{stressTimeCurve-DL2UIABb.js → stressTimeCurve-IW4ArsyA.js} +3 -3
  294. package/dist/{swiper-D99S451G.cjs → swiper-BPS9C2GV.cjs} +1 -1
  295. package/dist/{swiper-DcI2laNu.js → swiper-RM0GoZkW.js} +2 -2
  296. package/dist/terminalConfigList-O881ke5o.cjs +1 -0
  297. package/dist/{terminalConfigList-CHP04a15.js → terminalConfigList-n7NE5NdJ.js} +217 -207
  298. package/dist/{terminalList-B4GdtArc.js → terminalList-Byb4eLcD.js} +245 -233
  299. package/dist/terminalList-C9TB2cJH.cjs +1 -0
  300. package/dist/{textbox-DWkIbuKy.cjs → textbox-BMWnbPvz.cjs} +1 -1
  301. package/dist/{textbox-DM7EtQFC.js → textbox-DM1AUWw8.js} +2 -2
  302. package/dist/{timeQueryBar-B6dhhKsw.cjs → timeQueryBar-C6ZheMvD.cjs} +1 -1
  303. package/dist/{timeQueryBar-4eYHDx7k.js → timeQueryBar-Tbd9M8UT.js} +1 -1
  304. package/dist/{timeSeries-D8S_d2lD.js → timeSeries-CdpEx6bf.js} +3 -3
  305. package/dist/{timeSeries-SKsJlO9O.cjs → timeSeries-DCV2YjC2.cjs} +1 -1
  306. package/dist/{timeSeriesCurve-HqTd55Tr.js → timeSeriesCurve-C1AmF6TP.js} +3 -3
  307. package/dist/{timeSeriesCurve-D_oEL3m7.cjs → timeSeriesCurve-DRlr5n3U.cjs} +1 -1
  308. package/dist/{toggleBtn-BOQw1iDG.cjs → toggleBtn-BGjXjIuK.cjs} +1 -1
  309. package/dist/{toggleBtn-D7cHFqWb.js → toggleBtn-XS9MjfKM.js} +2 -2
  310. package/dist/{trajectoryConfigPanel-CfDPGItH.js → trajectoryConfigPanel-BC90nD1T.js} +1 -1
  311. package/dist/{trajectoryConfigPanel-yZcJkv1P.cjs → trajectoryConfigPanel-DJ6fOeb1.cjs} +1 -1
  312. package/dist/{trajectoryScatter-aRV9sebu.cjs → trajectoryScatter-C7kfSkyS.cjs} +1 -1
  313. package/dist/{trajectoryScatter-CPFvxmxe.js → trajectoryScatter-DF_ESBn8.js} +2 -2
  314. package/dist/{universalConfigPanel-Drfltp0O.js → universalConfigPanel-DjNTwJkz.js} +1 -1
  315. package/dist/{universalConfigPanel-COMoO1kb.cjs → universalConfigPanel-PO1hdgjw.cjs} +1 -1
  316. package/dist/{universalTable-GfZa1yH9.js → universalTable-BY9vRraC.js} +2 -2
  317. package/dist/{universalTable-BwSUhV4N.cjs → universalTable-QAb6UKCq.cjs} +1 -1
  318. package/dist/{video-kK74GALx.cjs → video-8_Sf1uz0.cjs} +1 -1
  319. package/dist/{video-Dyp2zhVq.js → video-DDvDGDql.js} +2 -2
  320. package/dist/{videoMonitor-PXczYaaJ.cjs → videoMonitor-BKLD_aQs.cjs} +1 -1
  321. package/dist/{videoMonitor-BkelK0u9.js → videoMonitor-sce5N4Q5.js} +2 -2
  322. package/dist/{vlu-BBvampip.js → vlu-BKeYJtOO.js} +2 -2
  323. package/dist/{vlu-fvmCrEzu.cjs → vlu-C0XLDKKk.cjs} +1 -1
  324. package/dist/{warningOverview-CKMdru1u.cjs → warningOverview--n7crFnZ.cjs} +1 -1
  325. package/dist/{warningOverview-CH-TMirz.js → warningOverview-CG5mwtaO.js} +3 -3
  326. package/dist/{weather-dQzojon4.js → weather-BrX2a1an.js} +2 -2
  327. package/dist/{weather-BCLGeV-Q.cjs → weather-CWvAqxgX.cjs} +1 -1
  328. package/dist/{windLin-Bby_6ueU.cjs → windLin-BbbsSwuF.cjs} +1 -1
  329. package/dist/{windLin-9DCax9Ze.js → windLin-P4Gs2aBB.js} +2 -2
  330. package/package.json +120 -120
  331. package/dist/controlList-C9P4g5xx.cjs +0 -1
  332. package/dist/controlRecordList-a-h5hoBa.cjs +0 -1
  333. package/dist/gasStationList-BPa4_DUz.cjs +0 -1
  334. package/dist/grd-aUyI_B6g.cjs +0 -1
  335. package/dist/mappingList-B9PdmcFg.cjs +0 -1
  336. package/dist/mixGrid-DrmqVYse.cjs +0 -1
  337. package/dist/objectList-DxnLRd33.cjs +0 -1
  338. package/dist/raceBar-DYG9jwPy.js +0 -244
  339. package/dist/raceBar-GXOy9QCR.cjs +0 -3
  340. package/dist/retainerRecordList-DRZ-jXXI.cjs +0 -1
  341. package/dist/terminalConfigList-7DiStuBl.cjs +0 -1
  342. package/dist/terminalList-CjEIRV3W.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var Se=Object.defineProperty,Be=Object.defineProperties;var Ee=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var Te=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable;var te=(_,b,d)=>b in _?Se(_,b,{enumerable:!0,configurable:!0,writable:!0,value:d}):_[b]=d,$=(_,b)=>{for(var d in b||(b={}))Te.call(b,d)&&te(_,d,b[d]);if(ee)for(var d of ee(b))je.call(b,d)&&te(_,d,b[d]);return _},W=(_,b)=>Be(_,Ee(b));var S=(_,b,d)=>new Promise((w,I)=>{var B=h=>{try{E(d.next(h))}catch(T){I(T)}},C=h=>{try{E(d.throw(h))}catch(T){I(T)}},E=h=>h.done?w(h.value):Promise.resolve(h.value).then(B,C);E((d=d.apply(_,b)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/timeline/style/css");require("element-plus/es/components/timeline-item/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/alert/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio-button/style/css");const e=require("vue"),k=require("./index-D8dh_6Qd.cjs"),le=require("./useMixiotPanelSurface-BMNrWBMF.cjs"),De=require("./BaseComponent-CNXUpPY1.cjs"),ze=require("./titleStyle-NSnz6cUg.cjs"),N=require("element-plus"),Oe=require("@element-plus/icons-vue"),qe=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),ae=require("./ele-lst-icon-CrxnHZ-A.cjs"),Re={class:"mix-body"},Me={class:"toolbar toolbar-status"},Ae={class:"toolbar"},Fe={key:3},Le={class:"pagination"},Ie={class:"detail-body"},Pe={key:0,class:"detail-events-title"},Ke={DEFAULT_ICON:ae.DEFAULT_ICON,ACTIVE_ICON:ae.ACTIVE_ICON,NAME_CN:"历程记录",NAME_EN:"RetainerRecordList",ORDER:7},He={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"template_id",label:"项目编号",width:140,visible:!0},{key:"label_cn",label:"历程项中文名称",width:140,visible:!0},{key:"label_en",label:"历程项英文名称",width:140,visible:!0},{key:"code",label:"历程项编码",width:120,visible:!0},{key:"category",label:"历程类型",width:100,visible:!0},{key:"object_id",label:"对象编号",width:140,visible:!0},{key:"object_name",label:"对象名称",width:140,visible:!0},{key:"object_alias",label:"对象别名",width:120,visible:!0},{key:"model",label:"型号",width:100,visible:!0},{key:"retained",label:"状态",width:90,visible:!0},{key:"opened_at",label:"开始时间",width:170,visible:!0},{key:"elapsed",label:"持续时间",width:120,visible:!0},{key:"statis_result",label:"统计结果",width:120,visible:!0},{key:"close_at",label:"结束时间",width:170,visible:!0}]},oe=[{name:"历程记录",fv:"",showViewBtn:!0,showExportBtn:!0,template_id:"项目编号",template_id_visible:!0,label_cn:"历程项中文名称",label_cn_visible:!0,label_en:"历程项英文名称",label_en_visible:!0,code:"历程项编码",code_visible:!0,category:"历程类型",category_visible:!0,object_id:"对象编号",object_id_visible:!0,object_name:"对象名称",object_name_visible:!0,object_alias:"对象别名",object_alias_visible:!0,model:"型号",model_visible:!0,retained:"状态",retained_visible:!0,opened_at:"开始时间",opened_at_visible:!0,elapsed:"持续时间",elapsed_visible:!0,statis_result:"统计结果",statis_result_visible:!0,close_at:"结束时间",close_at_visible:!0}],Ue=[{key:"showViewBtn",label:"详情",type:"checkbox",group:"操作组"},{key:"showExportBtn",label:"导出",type:"checkbox",group:"命令组"},{key:"name",label:"参数名称"},{key:"template_id",label:"项目编号",checkable:!0,checkboxKey:"template_id_visible"},{key:"label_cn",label:"历程项中文名称",checkable:!0,checkboxKey:"label_cn_visible"},{key:"label_en",label:"历程项英文名称",checkable:!0,checkboxKey:"label_en_visible"},{key:"code",label:"历程项编码",checkable:!0,checkboxKey:"code_visible"},{key:"category",label:"历程类型",checkable:!0,checkboxKey:"category_visible"},{key:"object_id",label:"对象编号",checkable:!0,checkboxKey:"object_id_visible"},{key:"object_name",label:"对象名称",checkable:!0,checkboxKey:"object_name_visible"},{key:"object_alias",label:"对象别名",checkable:!0,checkboxKey:"object_alias_visible"},{key:"model",label:"型号",checkable:!0,checkboxKey:"model_visible"},{key:"retained",label:"状态",checkable:!0,checkboxKey:"retained_visible"},{key:"opened_at",label:"开始时间",checkable:!0,checkboxKey:"opened_at_visible"},{key:"elapsed",label:"持续时间",checkable:!0,checkboxKey:"elapsed_visible"},{key:"statis_result",label:"统计结果",checkable:!0,checkboxKey:"statis_result_visible"},{key:"close_at",label:"结束时间",checkable:!0,checkboxKey:"close_at_visible"}],Ye=[],$e={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"template_id",label:"setting.gridFields.templateId"},{value:"code",label:"setting.gridFields.code"},{value:"label_cn",label:"setting.gridFields.labelCn"},{value:"label_en",label:"setting.gridFields.labelEn"},{value:"category",label:"setting.gridFields.category"},{value:"object_id",label:"setting.gridFields.objectId"},{value:"object_name",label:"setting.gridFields.objectName"},{value:"object_alias",label:"setting.gridFields.objectAlias"},{value:"model",label:"setting.gridFields.model"},{value:"customer_name",label:"setting.gridFields.customerName"},{value:"opened_at",label:"setting.gridFields.openedAt"}]},We={DEFAULT:Ke,OPTIONS:He,DATA:oe,PARAMS:Ue,SOURCE:Ye,COMMON:$e},Je=e.defineComponent(W($({},We),{__name:"retainerRecordList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{default:"edit"},theme:{},code:{default:""}},setup(_){const b={ALERT:"报警",FAULT:"故障",OTHER:"其他"},d="YYYY-MM-DD HH:mm:ss",w=_;class I extends De.BaseComponent{getDataBool(t,i){var n,s;const a=(s=(n=this.props.conf)==null?void 0:n.data)==null?void 0:s[0];return a&&Object.prototype.hasOwnProperty.call(a,t)&&a[t]!==void 0?!!a[t]:this.getOptionValue(t,i)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showViewBtn:this.getDataBool("showViewBtn",!0),showExportBtn:this.getDataBool("showExportBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length))this.props.conf.data=JSON.parse(JSON.stringify(oe));else{const i=this.props.conf.data[0];i.showViewBtn===void 0&&(i.showViewBtn=!0),i.showExportBtn===void 0&&(i.showExportBtn=!0);for(const a of["template_id_visible","label_cn_visible","label_en_visible","code_visible","category_visible","object_id_visible","object_name_visible","object_alias_visible","model_visible","retained_visible","opened_at_visible","elapsed_visible","statis_result_visible","close_at_visible"])i[a]===void 0&&(i[a]=!0)}}needsHistoryData(){return!1}onPreview(){return S(this,null,function*(){this.subscribeMmqEvent("retainer_open","retainer",""),this.subscribeMmqEvent("retainer_close","retainer","")})}setSocketData(t){var n;if(!t)return;let i,a;if(typeof t.event=="string"?(i=t.event,a=typeof t.block=="string"?t.block:void 0):t.event&&typeof t.event=="object"&&(i=t.event.event,a=t.event.block),a==="retainer"&&(i==="retainer_open"||i==="retainer_close")){const s=this;(n=s._retainerTableRefresh)==null||n.call(s);return}}}const B=new I(w,"retainerRecordList");B.setupLifecycle();const C=B.getStyle(),{mixiotPanelClass:E,mixiotPanelRootStyle:h}=le.useMixiotPanelSurface(C),{tableWrapRef:T,tableBodyHeight:ie}=le.useTableBodyHeight(),ne=e.computed(()=>ze.generateTitleStyle(w.conf.options)),re=e.computed(()=>{var i,a,n,s;const o=((a=(i=w.conf)==null?void 0:i.options)==null?void 0:a.columns)||[],t=((s=(n=w.conf)==null?void 0:n.data)==null?void 0:s[0])||{};return(Array.isArray(o)?o:[]).map(v=>{const r=t[v.key],f=t[`${v.key}_visible`];return{prop:v.key,label:r!==void 0&&r!==""?String(r):v.label,width:v.width,minWidth:v.minWidth,visible:f!==void 0?!!f:v.visible!==!1}})}),g=e.reactive({current:1,pageSize:20,total:0}),j=e.ref("1"),D=e.ref([k.dayjs().subtract(1,"month").format(d),k.dayjs().format(d)]),z=e.ref(""),y=e.ref("object_name"),O=e.ref(null),q=e.ref(""),R=e.ref([]),H=e.ref(!1),U=e.ref({});function se(){g.current=1,x()}function ce(){z.value="",O.value=null,q.value=""}function J(o){var i;if(o==null||o==="")return"";const t=String(o);return(i=b[t])!=null?i:t}function P(o){const t=o.retained;return t===1||t==="1"}function de(o,t){const i=o[t];return i==null?"":String(i)}function ue(){return S(this,null,function*(){var o;if(!(Object.keys(U.value).length>0))try{let t=1;const i=2e3;for(;;){const a=yield k.api.post("get_object_list",{page_index:t,page_size:i},!1),n=(o=a==null?void 0:a.result)!=null?o:a,s=Array.isArray(n==null?void 0:n.data)?n.data:[];for(const r of s){const f=r.uid;f&&(U.value[f]={name:r.name,alias:r.alias,model:r.model})}const v=typeof(n==null?void 0:n.total_records)=="number"?n.total_records:s.length;if(!s.length||t*i>=v)break;t++}}catch(t){}})}function be(){const o=[];j.value!=="2"&&o.push(["retained","=",j.value]);const t=D.value;if(t&&t.length===2&&t[0]&&t[1]){const[a,n]=t[0]<=t[1]?t:[t[1],t[0]];o.push(["created",">=",a]),o.push(["created","<=",n])}if(y.value==="opened_at"){const a=O.value;if(a&&a.length===2&&a[0]&&a[1]){const[n,s]=a[0]<=a[1]?a:[a[1],a[0]];o.push(["opened_at",">=",n]),o.push(["opened_at","<=",s])}}else if(y.value==="category"){const a=q.value.trim();a&&o.push(["category","=",a])}else{const a=z.value.trim();a&&o.push([y.value,"like",`%${a}%`])}qe.appendCommonDesignerWhereAnd(w.conf.common,o);const i={page_index:g.current,page_size:g.pageSize};return o.length&&(i.where_and=JSON.stringify(o)),i}function x(){return S(this,null,function*(){var o;H.value=!0;try{yield ue();const t=yield k.api.post("get_retainer_result_list",be(),!0),i=(o=t==null?void 0:t.result)!=null?o:t,a=Array.isArray(i==null?void 0:i.data)?i.data:[];R.value=a.map(s=>{var f,V,F;const v=s.object_id?String(s.object_id):"",r=v?U.value[v]:void 0;return W($({},s),{object_name:(f=s.object_name)!=null?f:r==null?void 0:r.name,object_alias:(V=s.object_alias)!=null?V:r==null?void 0:r.alias,model:(F=s.model)!=null?F:r==null?void 0:r.model})});const n=i==null?void 0:i.total_records;g.total=typeof n=="number"?n:a.length,t&&t.code!==void 0&&t.code!==200&&console.warn("[retainerRecordList] 列表接口非成功",t.msg||t.info,t)}catch(t){console.error(t),R.value=[],g.total=0}finally{H.value=!1}})}B._retainerTableRefresh=()=>{x()};const pe=e.computed(()=>R.value);function G(){g.current=1,x()}function _e(){z.value="",O.value=null,q.value="",y.value="object_name",j.value="1",D.value=[k.dayjs().subtract(1,"month").format(d),k.dayjs().format(d)],g.current=1,x()}function me(){g.current=1,x()}function ve(){x()}const K=e.ref(!1),Y=e.ref(!1),M=e.ref(""),c=e.ref(null),A=e.ref([]);function ge(o){return S(this,null,function*(){var i;const t=o.uid;if(!t){N.ElMessage.warning("当前行缺少历程编号,无法拉取详情");return}K.value=!0,Y.value=!0,M.value="",c.value=null,A.value=[];try{const a=yield k.api.post("get_retainer_with_events",{retainer_id:t},!0),n=(i=a==null?void 0:a.result)!=null?i:a;if(a&&a.code!==void 0&&a.code!==200){M.value=String(a.msg||a.info||"详情接口失败");return}c.value=n;const s=n==null?void 0:n.events;A.value=Array.isArray(s)?s:[]}catch(a){M.value="加载历程详情失败"}finally{Y.value=!1}})}function fe(o){const t=i=>String(i).padStart(2,"0");return`${o.getFullYear()}-${t(o.getMonth()+1)}-${t(o.getDate())} ${t(o.getHours())}:${t(o.getMinutes())}:${t(o.getSeconds())}`}function he(){return S(this,null,function*(){const o=D.value;if(!o||o.length<2||!o[0]||!o[1]){N.ElMessage.warning("请先选择创建时间范围后再导出");return}const t=[...new Set(R.value.map(a=>{var n;return String((n=a.object_id)!=null?n:"").trim()}).filter(Boolean))],i=[...new Set(R.value.map(a=>{var n;return String((n=a.template_id)!=null?n:"").trim()}).filter(Boolean))];if(!t.length&&!i.length){N.ElMessage.warning("当前页列表无项目编号或对象编号,请加载数据后再导出");return}try{yield N.ElMessageBox.confirm("将按当前列表中的项目/对象编号及所选创建时间范围提交导出任务(与 mixui 历程导出一致),是否继续?","导出历程数据",{type:"info"})}catch(a){return}try{const a=yield k.api.post("export_retainer_data",{file_name:`retainer_export_${fe(new Date).replace(/[: ]/g,"_")}`,open_at:o[0]<=o[1]?o[0]:o[1],close_at:o[0]<=o[1]?o[1]:o[0],template_ids:i,object_ids:t,character:"utf-8"},!0);if(a.code!==void 0&&a.code!==200){N.ElMessage.warning(a.msg||a.info||"导出请求未成功");return}N.ElMessage.success("导出任务已提交")}catch(a){N.ElMessage.error("导出请求失败")}})}return e.onMounted(()=>{x()}),(o,t)=>{const i=u.ElRadioButton,a=u.ElRadioGroup,n=u.ElDatePicker,s=u.ElIcon,v=u.ElInput,r=u.ElOption,f=u.ElSelect,V=u.ElButton,F=u.ElTag,Q=u.ElTableColumn,ye=u.ElTable,ke=u.ElPagination,Ve=u.ElAlert,p=u.ElDescriptionsItem,we=u.ElDescriptions,xe=u.ElTimelineItem,Ne=u.ElTimeline,Ce=u.ElDialog,X=u.ElLoadingDirective;return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["retainer-record-list mix-component",e.unref(E)]),style:e.normalizeStyle(e.unref(h))},[e.unref(C).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(ne.value)},e.toDisplayString(_.conf.caption||_.conf.name),5)),e.createElementVNode("div",Re,[e.createElementVNode("div",Me,[e.createVNode(a,{modelValue:j.value,"onUpdate:modelValue":t[0]||(t[0]=l=>j.value=l),size:"small",onChange:se},{default:e.withCtx(()=>[e.createVNode(i,{label:"1"},{default:e.withCtx(()=>[...t[11]||(t[11]=[e.createTextVNode("持续历程",-1)])]),_:1}),e.createVNode(i,{label:"0"},{default:e.withCtx(()=>[...t[12]||(t[12]=[e.createTextVNode("已完结历程",-1)])]),_:1}),e.createVNode(i,{label:"2"},{default:e.withCtx(()=>[...t[13]||(t[13]=[e.createTextVNode("全部记录",-1)])]),_:1})]),_:1},8,["modelValue"]),e.createVNode(n,{modelValue:D.value,"onUpdate:modelValue":t[1]||(t[1]=l=>D.value=l),type:"datetimerange","range-separator":"至","start-placeholder":"创建开始","end-placeholder":"创建结束","value-format":"YYYY-MM-DD HH:mm:ss",size:"small",class:"toolbar-created-range"},null,8,["modelValue"])]),e.createElementVNode("div",Ae,[y.value!=="opened_at"&&y.value!=="category"?(e.openBlock(),e.createBlock(v,{key:0,modelValue:z.value,"onUpdate:modelValue":t[2]||(t[2]=l=>z.value=l),placeholder:"输入关键字后搜索(与 mixui 历程记录检索字段一致)",size:"small",class:"toolbar-search",onKeyup:e.withKeys(G,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(s,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Oe.Search))]),_:1})]),_:1},8,["modelValue"])):y.value==="opened_at"?(e.openBlock(),e.createBlock(n,{key:1,modelValue:O.value,"onUpdate:modelValue":t[3]||(t[3]=l=>O.value=l),type:"datetimerange","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"YYYY-MM-DD HH:mm:ss",size:"small",class:"toolbar-opened-range"},null,8,["modelValue"])):(e.openBlock(),e.createBlock(f,{key:2,modelValue:q.value,"onUpdate:modelValue":t[4]||(t[4]=l=>q.value=l),placeholder:"历程类型",size:"small",class:"toolbar-category",clearable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(b,(l,m)=>e.createVNode(r,{key:m,label:l,value:m},null,8,["label","value"])),64))]),_:1},8,["modelValue"])),e.createVNode(f,{modelValue:y.value,"onUpdate:modelValue":t[5]||(t[5]=l=>y.value=l),size:"small",class:"toolbar-field-select",onChange:ce},{default:e.withCtx(()=>[e.createVNode(r,{label:"项目编号",value:"template_id"}),e.createVNode(r,{label:"历程项编码",value:"code"}),e.createVNode(r,{label:"历程项名称(中文)",value:"label_cn"}),e.createVNode(r,{label:"历程项名称(英文)",value:"label_en"}),e.createVNode(r,{label:"历程类型",value:"category"}),e.createVNode(r,{label:"对象编号",value:"object_id"}),e.createVNode(r,{label:"对象别名",value:"object_alias"}),e.createVNode(r,{label:"对象名称",value:"object_name"}),e.createVNode(r,{label:"对象型号",value:"model"}),e.createVNode(r,{label:"项目名称",value:"customer_name"}),e.createVNode(r,{label:"开始时间",value:"opened_at"})]),_:1},8,["modelValue"]),e.createVNode(V,{type:"primary",onClick:G},{default:e.withCtx(()=>[...t[14]||(t[14]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(V,{onClick:_e},{default:e.withCtx(()=>[...t[15]||(t[15]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(C).showExportBtn?(e.openBlock(),e.createBlock(V,{key:3,type:"success",onClick:he},{default:e.withCtx(()=>[...t[16]||(t[16]=[e.createTextVNode("导出",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"tableWrapRef",ref:T,class:"table-wrapper"},[e.createVNode(ye,{data:pe.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},height:e.unref(ie)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(re.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l.prop},[l.visible?(e.openBlock(),e.createBlock(Q,{key:0,prop:l.prop,label:l.label,width:l.width,"min-width":l.minWidth},{default:e.withCtx(m=>{var L,Z;return[l.prop==="category"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(J(m.row.category)),1)],64)):l.prop==="retained"?(e.openBlock(),e.createBlock(F,{key:1,type:P(m.row)?"success":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P(m.row)?"持续":"已完结"),1)]),_:2},1032,["type"])):l.prop==="label_cn"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(String((Z=(L=m.row.label_local)!=null?L:m.row.label_cn)!=null?Z:"")),1)],64)):(e.openBlock(),e.createElementBlock("span",Fe,e.toDisplayString(de(m.row,l.prop)),1))]}),_:2},1032,["prop","label","width","min-width"])):e.createCommentVNode("",!0)],64))),128)),e.unref(C).showViewBtn?(e.openBlock(),e.createBlock(Q,{key:0,label:"操作",width:"100",fixed:"right"},{default:e.withCtx(l=>[e.createVNode(V,{size:"small",onClick:m=>ge(l.row)},{default:e.withCtx(()=>[...t[17]||(t[17]=[e.createTextVNode("详情",-1)])]),_:1},8,["onClick"])]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["data","height"])],512),e.createElementVNode("div",Le,[e.createVNode(ke,{"current-page":g.current,"onUpdate:currentPage":t[6]||(t[6]=l=>g.current=l),"page-size":g.pageSize,"onUpdate:pageSize":t[7]||(t[7]=l=>g.pageSize=l),"page-sizes":[20,50,100,200],layout:"total, sizes, prev, pager, next, jumper",total:g.total,onSizeChange:me,onCurrentChange:ve},null,8,["current-page","page-size","total"])])]),e.createVNode(Ce,{modelValue:K.value,"onUpdate:modelValue":t[9]||(t[9]=l=>K.value=l),title:"历程记录详情",width:"720px","destroy-on-close":"",onClosed:t[10]||(t[10]=l=>c.value=null)},{footer:e.withCtx(()=>[e.createVNode(V,{type:"primary",onClick:t[8]||(t[8]=l=>K.value=!1)},{default:e.withCtx(()=>[...t[18]||(t[18]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Ie,[M.value?(e.openBlock(),e.createBlock(Ve,{key:0,type:"error",title:M.value,"show-icon":"",closable:!1,class:"mb-3"},null,8,["title"])):c.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(we,{column:2,border:""},{default:e.withCtx(()=>[e.createVNode(p,{label:"历程编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.uid)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"项目编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.template_id)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"历程项(中文)"},{default:e.withCtx(()=>{var l,m;return[e.createTextVNode(e.toDisplayString((m=(l=c.value.label_local)!=null?l:c.value.label_cn)!=null?m:""),1)]}),_:1}),e.createVNode(p,{label:"历程项(英文)"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.label_en)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"历程项编码"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.code)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"历程类型"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(J(c.value.category)),1)]),_:1}),e.createVNode(p,{label:"对象编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.object_id)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"对象名称"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.object_name)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"对象别名"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.object_alias)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"型号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.model)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"状态"},{default:e.withCtx(()=>[e.createVNode(F,{type:P(c.value)?"success":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P(c.value)?"持续":"已完结"),1)]),_:1},8,["type"])]),_:1}),e.createVNode(p,{label:"开始时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.opened_at)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"结束时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.close_at)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"持续时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.elapsed)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"统计结果"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.statis_result)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"描述",span:2},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=c.value.description)!=null?l:""),1)]}),_:1})]),_:1}),A.value.length?(e.openBlock(),e.createElementBlock("div",Pe,"事件")):e.createCommentVNode("",!0),A.value.length?(e.openBlock(),e.createBlock(Ne,{key:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,(l,m)=>{var L;return e.openBlock(),e.createBlock(xe,{key:m,timestamp:String((L=l.datetime)!=null?L:"")},{default:e.withCtx(()=>[e.createElementVNode("div",null,"状态:"+e.toDisplayString(l.status===1||l.status==="1"?"开启":"关闭"),1)]),_:2},1032,["timestamp"])}),128))]),_:1})):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])),[[X,Y.value]])]),_:1},8,["modelValue"]),e.renderSlot(o.$slots,"default",{},void 0,!0)],6)),[[X,H.value]])}}})),Ge=k._export_sfc(Je,[["__scopeId","data-v-e3433964"]]);exports.default=Ge;
@@ -1 +1 @@
1
- "use strict";var x=Object.defineProperty,T=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var S=(i,o,l)=>o in i?x(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,g=(i,o)=>{for(var l in o||(o={}))V.call(o,l)&&S(i,l,o[l]);if(y)for(var l of y(o))k.call(o,l)&&S(i,l,o[l]);return i},f=(i,o)=>T(i,I(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),A=require("./index-Do1YWdUS.cjs"),$=require("./EChartComponentBase-BaBnJ8bP.cjs"),z=require("./titleStyle-NSnz6cUg.cjs"),v=require("./ele-pie-icon-BNhXPoUT.cjs"),D=require("./install-nDY6w-GK.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs"),R=require("./install-DV5cEgNV.cjs"),j={class:"mix-body"},q=["id"],B={class:"ring-list"},L={DEFAULT_ICON:v.DEFAULT_ICON,ACTIVE_ICON:v.ACTIVE_ICON,NAME_CN:"环形TOP排行",NAME_EN:"Ring TopN",ORDER:10},M={bgColor:"#fff",titleColor:"#111",textColor:"#111",radiusSize:8,textSize:13,isHideTitle:!1,mainColor:"#e74c3c",dimColor:"#dde3ec",ringInside:55,ringOutside:80,topCount:3},P=[{name:"降雨",fv:"",object_id:"",value:34},{name:"应力",fv:"",object_id:"",value:29},{name:"煤自燃",fv:"",object_id:"",value:21}],w=["name","fv","object_id"],F=["mosaic","statistics","calculate"],U={useAlias:!1,multiObject:!0,source:"statistics"},H={DEFAULT:L,OPTIONS:M,DATA:P,PARAMS:w,SOURCE:F,COMMON:U},W=e.defineComponent(f(g({},H),{__name:"ringTopN",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){C.use([R.install,C.install,C.install$1,D.install]);const o=i;class l extends $.EChartComponentBase{extractStyles(){return f(g({},super.extractStyles()),{mainColor:this.getOptionValue("mainColor","#e74c3c"),dimColor:this.getOptionValue("dimColor","#dde3ec"),ringInside:this.getOptionValue("ringInside",55),ringOutside:this.getOptionValue("ringOutside",80),topCount:this.getOptionValue("topCount",3)})}getChartOption(){var s;const a=this.Style.value,r=((s=this.props.conf)==null?void 0:s.data)||[],t=r.reduce((d,p)=>d+(Number(p.value)||0),0);return{color:r.map((d,p)=>p===0?a.mainColor:this.shadeColor(a.dimColor,p)),tooltip:{trigger:"item",formatter:"{b}: {c} ({d}%)"},series:[{type:"pie",radius:[`${a.ringInside}%`,`${a.ringOutside}%`],center:["50%","50%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:r.map(d=>({name:d.name,value:Number(d.value)||0}))}],graphic:t>0?[{type:"text",left:"center",top:"center",style:{text:String(t),fontSize:22,fontWeight:600,fill:a.textColor}}]:[]}}shadeColor(a,r){const t=Math.max(.35,1-r*.18);return this.hexToRgba(a,t)}hexToRgba(a,r){const t=a.replace("#","").match(/.{2}/g);if(!t)return a;const[u,s,d]=t.map(p=>parseInt(p,16));return`rgba(${u},${s},${d},${r})`}setSocketData(a){var t;if(!a||!this.chartObj)return;(((t=this.props.conf)==null?void 0:t.data)||[]).forEach(u=>{const s=this.extractDataValue(a,u.fv);s!=null&&(u.value=Number(s)||0)}),this.updateChart(this.getChartOption())}}const m=new l(o,"ringTopN");m.setupLifecycle();const c=m.getStyle(),_=m.getEchartId(),h=o.conf,O=e.computed(()=>z.generateTitleStyle(o.conf.options)),b=e.computed(()=>{var r;const n=((r=o.conf)==null?void 0:r.data)||[],a=c.value.topCount||3;return[...n].map(t=>({name:t.name,value:Number(t.value)||0})).sort((t,u)=>u.value-t.value).slice(0,a)});function N(n){return n===0?c.value.mainColor:"#9aa3b2"}function E(n){return n==null||n===""?"--":String(n)}return e.watch(()=>{var n;return(n=o.conf)==null?void 0:n.data},()=>e.nextTick(()=>{const n=m.getChartInstance();n&&n.setOption(m.getChartOption(),!0)}),{deep:!0}),(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(O.value)},e.toDisplayString(e.unref(h).caption||e.unref(h).name),5),e.createElementVNode("div",j,[e.createElementVNode("div",{class:"ring-chart",id:e.unref(_)},null,8,q),e.createElementVNode("ol",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(r,t)=>(e.openBlock(),e.createElementBlock("li",{key:t,class:"ring-item"},[e.createElementVNode("span",{class:"ring-rank",style:e.normalizeStyle({color:N(t)})},e.toDisplayString(t+1),5),e.createElementVNode("span",{class:"ring-name",style:e.normalizeStyle({color:e.unref(c).textColor})},e.toDisplayString(r.name||"--"),5),e.createElementVNode("span",{class:"ring-value",style:e.normalizeStyle({color:e.unref(c).textColor,fontSize:`${e.unref(c).textSize}px`})},e.toDisplayString(E(r.value)),5)]))),128))])]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4))}})),G=A._export_sfc(W,[["__scopeId","data-v-653822bf"]]);exports.default=G;
1
+ "use strict";var x=Object.defineProperty,T=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var S=(i,o,l)=>o in i?x(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,g=(i,o)=>{for(var l in o||(o={}))V.call(o,l)&&S(i,l,o[l]);if(y)for(var l of y(o))k.call(o,l)&&S(i,l,o[l]);return i},f=(i,o)=>T(i,I(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),A=require("./index-D8dh_6Qd.cjs"),$=require("./EChartComponentBase-D4wMej9X.cjs"),z=require("./titleStyle-NSnz6cUg.cjs"),v=require("./ele-pie-icon-BNhXPoUT.cjs"),D=require("./install-nDY6w-GK.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs"),R=require("./install-DV5cEgNV.cjs"),j={class:"mix-body"},q=["id"],B={class:"ring-list"},L={DEFAULT_ICON:v.DEFAULT_ICON,ACTIVE_ICON:v.ACTIVE_ICON,NAME_CN:"环形TOP排行",NAME_EN:"Ring TopN",ORDER:10},M={bgColor:"#fff",titleColor:"#111",textColor:"#111",radiusSize:8,textSize:13,isHideTitle:!1,mainColor:"#e74c3c",dimColor:"#dde3ec",ringInside:55,ringOutside:80,topCount:3},P=[{name:"降雨",fv:"",object_id:"",value:34},{name:"应力",fv:"",object_id:"",value:29},{name:"煤自燃",fv:"",object_id:"",value:21}],w=["name","fv","object_id"],F=["mosaic","statistics","calculate"],U={useAlias:!1,multiObject:!0,source:"statistics"},H={DEFAULT:L,OPTIONS:M,DATA:P,PARAMS:w,SOURCE:F,COMMON:U},W=e.defineComponent(f(g({},H),{__name:"ringTopN",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){C.use([R.install,C.install,C.install$1,D.install]);const o=i;class l extends $.EChartComponentBase{extractStyles(){return f(g({},super.extractStyles()),{mainColor:this.getOptionValue("mainColor","#e74c3c"),dimColor:this.getOptionValue("dimColor","#dde3ec"),ringInside:this.getOptionValue("ringInside",55),ringOutside:this.getOptionValue("ringOutside",80),topCount:this.getOptionValue("topCount",3)})}getChartOption(){var s;const a=this.Style.value,r=((s=this.props.conf)==null?void 0:s.data)||[],t=r.reduce((d,p)=>d+(Number(p.value)||0),0);return{color:r.map((d,p)=>p===0?a.mainColor:this.shadeColor(a.dimColor,p)),tooltip:{trigger:"item",formatter:"{b}: {c} ({d}%)"},series:[{type:"pie",radius:[`${a.ringInside}%`,`${a.ringOutside}%`],center:["50%","50%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:r.map(d=>({name:d.name,value:Number(d.value)||0}))}],graphic:t>0?[{type:"text",left:"center",top:"center",style:{text:String(t),fontSize:22,fontWeight:600,fill:a.textColor}}]:[]}}shadeColor(a,r){const t=Math.max(.35,1-r*.18);return this.hexToRgba(a,t)}hexToRgba(a,r){const t=a.replace("#","").match(/.{2}/g);if(!t)return a;const[u,s,d]=t.map(p=>parseInt(p,16));return`rgba(${u},${s},${d},${r})`}setSocketData(a){var t;if(!a||!this.chartObj)return;(((t=this.props.conf)==null?void 0:t.data)||[]).forEach(u=>{const s=this.extractDataValue(a,u.fv);s!=null&&(u.value=Number(s)||0)}),this.updateChart(this.getChartOption())}}const m=new l(o,"ringTopN");m.setupLifecycle();const c=m.getStyle(),_=m.getEchartId(),h=o.conf,O=e.computed(()=>z.generateTitleStyle(o.conf.options)),b=e.computed(()=>{var r;const n=((r=o.conf)==null?void 0:r.data)||[],a=c.value.topCount||3;return[...n].map(t=>({name:t.name,value:Number(t.value)||0})).sort((t,u)=>u.value-t.value).slice(0,a)});function N(n){return n===0?c.value.mainColor:"#9aa3b2"}function E(n){return n==null||n===""?"--":String(n)}return e.watch(()=>{var n;return(n=o.conf)==null?void 0:n.data},()=>e.nextTick(()=>{const n=m.getChartInstance();n&&n.setOption(m.getChartOption(),!0)}),{deep:!0}),(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(O.value)},e.toDisplayString(e.unref(h).caption||e.unref(h).name),5),e.createElementVNode("div",j,[e.createElementVNode("div",{class:"ring-chart",id:e.unref(_)},null,8,q),e.createElementVNode("ol",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(r,t)=>(e.openBlock(),e.createElementBlock("li",{key:t,class:"ring-item"},[e.createElementVNode("span",{class:"ring-rank",style:e.normalizeStyle({color:N(t)})},e.toDisplayString(t+1),5),e.createElementVNode("span",{class:"ring-name",style:e.normalizeStyle({color:e.unref(c).textColor})},e.toDisplayString(r.name||"--"),5),e.createElementVNode("span",{class:"ring-value",style:e.normalizeStyle({color:e.unref(c).textColor,fontSize:`${e.unref(c).textSize}px`})},e.toDisplayString(E(r.value)),5)]))),128))])]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4))}})),G=A._export_sfc(W,[["__scopeId","data-v-653822bf"]]);exports.default=G;
@@ -11,8 +11,8 @@ var S = (r, e, s) => e in r ? A(r, e, { enumerable: !0, configurable: !0, writab
11
11
  return r;
12
12
  }, v = (r, e) => R(r, V(e));
13
13
  import { defineComponent as j, computed as x, watch as z, nextTick as L, openBlock as _, createElementBlock as b, normalizeStyle as g, unref as l, createElementVNode as d, toDisplayString as h, Fragment as M, renderList as w, renderSlot as B } from "vue";
14
- import { _ as F } from "./index-BSsB7QzO.js";
15
- import { E as P } from "./EChartComponentBase-dEfA3X9b.js";
14
+ import { _ as F } from "./index-Bdq33405.js";
15
+ import { E as P } from "./EChartComponentBase-CAabYXSj.js";
16
16
  import { g as U } from "./titleStyle-BT5GlpAb.js";
17
17
  import { A as H, D as W } from "./ele-pie-icon-RPfHJxqp.js";
18
18
  import { i as q } from "./install-BzdOSCzO.js";
@@ -1 +1 @@
1
- "use strict";var A=Object.defineProperty,R=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var D=(o,a,n)=>a in o?A(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,p=(o,a)=>{for(var n in a||(a={}))O.call(a,n)&&D(o,n,a[n]);if(k)for(var n of k(a))M.call(a,n)&&D(o,n,a[n]);return o},f=(o,a)=>R(o,T(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-Cco_5i96.cjs"),b=require("./index-Do1YWdUS.cjs"),V=require("./ele-lin-icon-Dke_1AmT.cjs"),B={class:"panel-header"},F={class:"header-left"},L={class:"pagination-box"},q=["disabled"],P={class:"page-text"},U=["disabled"],w={class:"table-wrapper"},$={class:"risk-table"},W={style:{"font-weight":"bold",color:"#333"}},G={DEFAULT_ICON:V.DEFAULT_ICON,ACTIVE_ICON:V.ACTIVE_ICON,NAME_CN:"风险区域划分",NAME_EN:"Risk Region Table",ORDER:20},H={title:{value:"风险区域划分",type:"string",label:"标题"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleFontSize:{value:14,type:"number",label:"标题字体大小",min:12,max:24},pageSize:{value:10,type:"number",label:"每页行数",min:5,max:20},linkChannel:{value:"satellite",type:"select",label:"联动频道",options:[{label:"遥感卫星",value:"satellite"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},J=[{name:"北帮-A01",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:12.5,limit:8},{name:"北帮-A02",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:10.8,limit:8},{name:"北帮-A03",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:9.2,limit:8},{name:"西帮-B01",fv:"",fvDeviceName:"",object_id:"",area:"西帮",val:7.6,limit:8},{name:"中央区-C01",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:6.4,limit:8},{name:"西帮-B02",fv:"",fvDeviceName:"",object_id:"",area:"西帮",val:5.8,limit:8},{name:"中央区-C02",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:4.3,limit:10},{name:"南帮-D01",fv:"",fvDeviceName:"",object_id:"",area:"南帮",val:3.2,limit:8},{name:"南帮-D02",fv:"",fvDeviceName:"",object_id:"",area:"南帮",val:2.8,limit:8},{name:"东帮-E01",fv:"",fvDeviceName:"",object_id:"",area:"东帮",val:1.5,limit:15},{name:"东帮-E02",fv:"",fvDeviceName:"",object_id:"",area:"东帮",val:.8,limit:15},{name:"中央区-C03",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:.2,limit:15}],K=["object_id","name","fv","fvDeviceName","area","val","limit"],Q=["mosaic"],X={useAlias:!1,multiObject:!0,source:"mosaic"},Y=200,Z={DEFAULT:G,OPTIONS:H,DATA:J,PARAMS:K,SOURCE:Q,COMMON:X,ITEMS:Y},ee=e.defineComponent(f(p({},Z),{__name:"riskRegionTable",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(o){const a=o;class n extends I.BaseComponent{extractStyles(){var m,d,_,C,E,y,S,h;const t=(m=this.props.conf)==null?void 0:m.options,l=((d=t==null?void 0:t.linkChannel)==null?void 0:d.value)||"satellite",r=((_=t==null?void 0:t.customChannel)==null?void 0:_.value)||"";return{title:((C=t==null?void 0:t.title)==null?void 0:C.value)||"风险区域划分",bgColor:((E=t==null?void 0:t.bgColor)==null?void 0:E.value)||"#ffffff",textColor:((y=t==null?void 0:t.textColor)==null?void 0:y.value)||"#333333",titleFontSize:((S=t==null?void 0:t.titleFontSize)==null?void 0:S.value)||14,pageSize:((h=t==null?void 0:t.pageSize)==null?void 0:h.value)||10,linkChannel:l==="custom"&&r?r:l}}onLinkEvent(t){}}const v=new n(a,"riskRegionTable");v.setupLifecycle();const c=v.getStyle(),s=e.ref(1),g=new Map,j=e.computed(()=>{var i;return((i=a.conf)==null?void 0:i.data)||[]}),N=e.computed(()=>{const i=j.value;return i.length===0&&a.mode==="edit"?[{area:"北帮",val:12.5,limit:8},{area:"北帮",val:10.8,limit:8},{area:"北帮",val:9.2,limit:8},{area:"西帮",val:7.6,limit:8},{area:"中央区",val:6.4,limit:8},{area:"西帮",val:5.8,limit:8},{area:"中央区",val:4.3,limit:10},{area:"南帮",val:3.2,limit:8},{area:"南帮",val:2.8,limit:8},{area:"东帮",val:1.5,limit:15},{area:"东帮",val:.8,limit:15},{area:"中央区",val:.2,limit:15}].map(t=>f(p({},t),{risk:b.getRiskLevel(t.val,t.limit)})):i.map(t=>{const l=t.object_id||t.name||"",r=g.has(l)?g.get(l):Number(t.val)||0,m=Number(t.limit)||8;return{area:t.area||"未知区域",val:r,limit:m,risk:b.getRiskLevel(r,m)}}).sort((t,l)=>l.val-t.val)}),u=e.computed(()=>Math.max(1,Math.ceil(N.value.length/c.value.pageSize))),z=e.computed(()=>{const i=c.value.pageSize,t=(s.value-1)*i;return N.value.slice(t,t+i)}),x=e.computed(()=>({backgroundColor:c.value.bgColor}));return e.watch(u,i=>{s.value>i&&(s.value=1)}),e.onMounted(()=>{v.init()}),e.onUnmounted(()=>{v.cleanup()}),e.watch(()=>a.conf,()=>{s.value=1},{deep:!0}),(i,t)=>(e.openBlock(),e.createElementBlock("div",{class:"risk-region-table",style:e.normalizeStyle(x.value)},[e.createElementVNode("div",B,[e.createElementVNode("div",F,[t[2]||(t[2]=e.createElementVNode("span",{class:"indicator-dot"},null,-1)),e.createElementVNode("span",{class:"panel-title",style:e.normalizeStyle({color:e.unref(c).textColor,fontSize:e.unref(c).titleFontSize+"px"})},e.toDisplayString(e.unref(c).title),5)]),e.createElementVNode("div",L,[e.createElementVNode("button",{class:"page-btn",disabled:s.value<=1,onClick:t[0]||(t[0]=l=>s.value--)},"<",8,q),e.createElementVNode("span",P,e.toDisplayString(s.value)+" / "+e.toDisplayString(u.value),1),e.createElementVNode("button",{class:"page-btn",disabled:s.value>=u.value,onClick:t[1]||(t[1]=l=>s.value++)},">",8,U)])]),e.createElementVNode("div",w,[e.createElementVNode("table",$,[t[3]||(t[3]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"序号"),e.createElementVNode("th",null,"区域"),e.createElementVNode("th",null,"形变速率(mm/yr)"),e.createElementVNode("th",null,"风险等级")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(l,r)=>(e.openBlock(),e.createElementBlock("tr",{key:r,class:e.normalizeClass({"tr-high":l.risk.cls==="risk-high"})},[e.createElementVNode("td",null,e.toDisplayString((s.value-1)*e.unref(c).pageSize+r+1),1),e.createElementVNode("td",W,e.toDisplayString(l.area),1),e.createElementVNode("td",{class:e.normalizeClass(l.risk.cls)},e.toDisplayString(l.val.toFixed(2)),3),e.createElementVNode("td",{class:e.normalizeClass(l.risk.cls)},e.toDisplayString(l.risk.level),3)],2))),128))])])]),e.renderSlot(i.$slots,"default",{},void 0,!0)],4))}})),te=b._export_sfc(ee,[["__scopeId","data-v-7ed7f65b"]]);exports.default=te;
1
+ "use strict";var A=Object.defineProperty,R=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var D=(o,a,n)=>a in o?A(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,p=(o,a)=>{for(var n in a||(a={}))O.call(a,n)&&D(o,n,a[n]);if(k)for(var n of k(a))M.call(a,n)&&D(o,n,a[n]);return o},f=(o,a)=>R(o,T(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const I=require("./BaseComponent-CNXUpPY1.cjs"),b=require("./index-D8dh_6Qd.cjs"),V=require("./ele-lin-icon-Dke_1AmT.cjs"),B={class:"panel-header"},F={class:"header-left"},L={class:"pagination-box"},q=["disabled"],P={class:"page-text"},U=["disabled"],w={class:"table-wrapper"},$={class:"risk-table"},W={style:{"font-weight":"bold",color:"#333"}},G={DEFAULT_ICON:V.DEFAULT_ICON,ACTIVE_ICON:V.ACTIVE_ICON,NAME_CN:"风险区域划分",NAME_EN:"Risk Region Table",ORDER:20},H={title:{value:"风险区域划分",type:"string",label:"标题"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleFontSize:{value:14,type:"number",label:"标题字体大小",min:12,max:24},pageSize:{value:10,type:"number",label:"每页行数",min:5,max:20},linkChannel:{value:"satellite",type:"select",label:"联动频道",options:[{label:"遥感卫星",value:"satellite"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},J=[{name:"北帮-A01",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:12.5,limit:8},{name:"北帮-A02",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:10.8,limit:8},{name:"北帮-A03",fv:"",fvDeviceName:"",object_id:"",area:"北帮",val:9.2,limit:8},{name:"西帮-B01",fv:"",fvDeviceName:"",object_id:"",area:"西帮",val:7.6,limit:8},{name:"中央区-C01",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:6.4,limit:8},{name:"西帮-B02",fv:"",fvDeviceName:"",object_id:"",area:"西帮",val:5.8,limit:8},{name:"中央区-C02",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:4.3,limit:10},{name:"南帮-D01",fv:"",fvDeviceName:"",object_id:"",area:"南帮",val:3.2,limit:8},{name:"南帮-D02",fv:"",fvDeviceName:"",object_id:"",area:"南帮",val:2.8,limit:8},{name:"东帮-E01",fv:"",fvDeviceName:"",object_id:"",area:"东帮",val:1.5,limit:15},{name:"东帮-E02",fv:"",fvDeviceName:"",object_id:"",area:"东帮",val:.8,limit:15},{name:"中央区-C03",fv:"",fvDeviceName:"",object_id:"",area:"中央区",val:.2,limit:15}],K=["object_id","name","fv","fvDeviceName","area","val","limit"],Q=["mosaic"],X={useAlias:!1,multiObject:!0,source:"mosaic"},Y=200,Z={DEFAULT:G,OPTIONS:H,DATA:J,PARAMS:K,SOURCE:Q,COMMON:X,ITEMS:Y},ee=e.defineComponent(f(p({},Z),{__name:"riskRegionTable",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(o){const a=o;class n extends I.BaseComponent{extractStyles(){var m,d,_,C,E,y,S,h;const t=(m=this.props.conf)==null?void 0:m.options,l=((d=t==null?void 0:t.linkChannel)==null?void 0:d.value)||"satellite",r=((_=t==null?void 0:t.customChannel)==null?void 0:_.value)||"";return{title:((C=t==null?void 0:t.title)==null?void 0:C.value)||"风险区域划分",bgColor:((E=t==null?void 0:t.bgColor)==null?void 0:E.value)||"#ffffff",textColor:((y=t==null?void 0:t.textColor)==null?void 0:y.value)||"#333333",titleFontSize:((S=t==null?void 0:t.titleFontSize)==null?void 0:S.value)||14,pageSize:((h=t==null?void 0:t.pageSize)==null?void 0:h.value)||10,linkChannel:l==="custom"&&r?r:l}}onLinkEvent(t){}}const v=new n(a,"riskRegionTable");v.setupLifecycle();const c=v.getStyle(),s=e.ref(1),g=new Map,j=e.computed(()=>{var i;return((i=a.conf)==null?void 0:i.data)||[]}),N=e.computed(()=>{const i=j.value;return i.length===0&&a.mode==="edit"?[{area:"北帮",val:12.5,limit:8},{area:"北帮",val:10.8,limit:8},{area:"北帮",val:9.2,limit:8},{area:"西帮",val:7.6,limit:8},{area:"中央区",val:6.4,limit:8},{area:"西帮",val:5.8,limit:8},{area:"中央区",val:4.3,limit:10},{area:"南帮",val:3.2,limit:8},{area:"南帮",val:2.8,limit:8},{area:"东帮",val:1.5,limit:15},{area:"东帮",val:.8,limit:15},{area:"中央区",val:.2,limit:15}].map(t=>f(p({},t),{risk:b.getRiskLevel(t.val,t.limit)})):i.map(t=>{const l=t.object_id||t.name||"",r=g.has(l)?g.get(l):Number(t.val)||0,m=Number(t.limit)||8;return{area:t.area||"未知区域",val:r,limit:m,risk:b.getRiskLevel(r,m)}}).sort((t,l)=>l.val-t.val)}),u=e.computed(()=>Math.max(1,Math.ceil(N.value.length/c.value.pageSize))),z=e.computed(()=>{const i=c.value.pageSize,t=(s.value-1)*i;return N.value.slice(t,t+i)}),x=e.computed(()=>({backgroundColor:c.value.bgColor}));return e.watch(u,i=>{s.value>i&&(s.value=1)}),e.onMounted(()=>{v.init()}),e.onUnmounted(()=>{v.cleanup()}),e.watch(()=>a.conf,()=>{s.value=1},{deep:!0}),(i,t)=>(e.openBlock(),e.createElementBlock("div",{class:"risk-region-table",style:e.normalizeStyle(x.value)},[e.createElementVNode("div",B,[e.createElementVNode("div",F,[t[2]||(t[2]=e.createElementVNode("span",{class:"indicator-dot"},null,-1)),e.createElementVNode("span",{class:"panel-title",style:e.normalizeStyle({color:e.unref(c).textColor,fontSize:e.unref(c).titleFontSize+"px"})},e.toDisplayString(e.unref(c).title),5)]),e.createElementVNode("div",L,[e.createElementVNode("button",{class:"page-btn",disabled:s.value<=1,onClick:t[0]||(t[0]=l=>s.value--)},"<",8,q),e.createElementVNode("span",P,e.toDisplayString(s.value)+" / "+e.toDisplayString(u.value),1),e.createElementVNode("button",{class:"page-btn",disabled:s.value>=u.value,onClick:t[1]||(t[1]=l=>s.value++)},">",8,U)])]),e.createElementVNode("div",w,[e.createElementVNode("table",$,[t[3]||(t[3]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"序号"),e.createElementVNode("th",null,"区域"),e.createElementVNode("th",null,"形变速率(mm/yr)"),e.createElementVNode("th",null,"风险等级")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(l,r)=>(e.openBlock(),e.createElementBlock("tr",{key:r,class:e.normalizeClass({"tr-high":l.risk.cls==="risk-high"})},[e.createElementVNode("td",null,e.toDisplayString((s.value-1)*e.unref(c).pageSize+r+1),1),e.createElementVNode("td",W,e.toDisplayString(l.area),1),e.createElementVNode("td",{class:e.normalizeClass(l.risk.cls)},e.toDisplayString(l.val.toFixed(2)),3),e.createElementVNode("td",{class:e.normalizeClass(l.risk.cls)},e.toDisplayString(l.risk.level),3)],2))),128))])])]),e.renderSlot(i.$slots,"default",{},void 0,!0)],4))}})),te=b._export_sfc(ee,[["__scopeId","data-v-7ed7f65b"]]);exports.default=te;
@@ -12,8 +12,8 @@ var R = (s, a, n) => a in s ? L(s, a, { enumerable: !0, configurable: !0, writab
12
12
  }, _ = (s, a) => P(s, U(a));
13
13
  import { defineComponent as $, ref as W, computed as u, watch as M, onMounted as q, onUnmounted as G, openBlock as C, createElementBlock as h, normalizeStyle as T, createElementVNode as t, unref as f, toDisplayString as c, Fragment as H, renderList as J, normalizeClass as k, renderSlot as K } from "vue";
14
14
  import "html2canvas";
15
- import { B as Q } from "./BaseComponent-DQe7HYdV.js";
16
- import { N as O, _ as X } from "./index-BSsB7QzO.js";
15
+ import { B as Q } from "./BaseComponent-D5tlYehc.js";
16
+ import { N as O, _ as X } from "./index-Bdq33405.js";
17
17
  import { A as Y, D as Z } from "./ele-lin-icon-Dax-ZiWV.js";
18
18
  const ee = { class: "panel-header" }, te = { class: "header-left" }, ae = { class: "pagination-box" }, le = ["disabled"], ie = { class: "page-text" }, ne = ["disabled"], se = { class: "table-wrapper" }, oe = { class: "risk-table" }, re = { style: { "font-weight": "bold", color: "#333" } }, ve = { DEFAULT_ICON: Z, ACTIVE_ICON: Y, NAME_CN: "风险区域划分", NAME_EN: "Risk Region Table", ORDER: 20 }, ce = {
19
19
  title: { value: "风险区域划分", type: "string", label: "标题" },
@@ -1 +1 @@
1
- "use strict";var w=Object.defineProperty,k=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols,E=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,A=Reflect.get;var L=(l,i,t)=>i in l?w(l,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[i]=t,b=(l,i)=>{for(var t in i||(i={}))M.call(i,t)&&L(l,t,i[t]);if(m)for(var t of m(i))z.call(i,t)&&L(l,t,i[t]);return l},S=(l,i)=>k(l,j(i));var y=(l,i,t)=>A(E(l),t,i);var x=(l,i,t)=>new Promise((u,c)=>{var C=n=>{try{d(t.next(n))}catch(f){c(f)}},h=n=>{try{d(t.throw(n))}catch(f){c(f)}},d=n=>n.done?u(n.value):Promise.resolve(n.value).then(C,h);d((t=t.apply(l,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),g=require("./index-Do1YWdUS.cjs"),D=require("./EChartComponentBase-BaBnJ8bP.cjs"),V=require("./titleStyle-NSnz6cUg.cjs"),F=require("./install-BvOpNm0Y.cjs"),p=require("./installCanvasRenderer-CyhM1Qpl.cjs"),I=require("./install-DV5cEgNV.cjs"),T=require("./install-CltTFs4e.cjs"),N=require("./install-C8buXQPI.cjs"),Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e桑基图%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-104.000000,%20-1128.000000)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e桑基图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-104.000000,%20-1128.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B={class:"mix-body"},$=["id"],R={DEFAULT_ICON:Z,ACTIVE_ICON:q,NAME_CN:"桑基图",NAME_EN:"Sankey",ORDER:1},U={titleColor:"#111",bgColor:"#fff",labelColor:"#111",radiusSize:8,textSize:12,labelWidth:80,isHideTitle:!1},O=[{fv:"S01",name:"参数一",color:"#4162ff",origin:"总起源",object_id:""},{fv:"S02",name:"参数二",color:"#3bbc6a",origin:"总起源",object_id:""},{fv:"S03",name:"参数三",color:"#e24359",origin:"参数一",object_id:""},{fv:"S04",name:"参数四",color:"#fdcd61",origin:"参数一",object_id:""},{fv:"S05",name:"参数五",color:"#44b4ff",origin:"参数二",object_id:""},{fv:"S06",name:"参数六",color:"#3ba272",origin:"参数二",object_id:""}],W=["name","fv","object_id","color","origin"],H=["mosaic","statistics","calculate"],P={useAlias:!1,multiObject:!1,showBothModes:!0,origin:"总起源",originFv:"",source:"mosaic"},G={DEFAULT:R,OPTIONS:U,DATA:O,PARAMS:W,SOURCE:H,COMMON:P},J=o.defineComponent(S(b({},G),{__name:"sankey",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(l){p.use([I.install,T.install,p.install,N.install,p.install$1,F.install]);const i=l,t={data:[],links:[]};class u extends D.EChartComponentBase{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),labelColor:this.getOptionValue("labelColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",80),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){yield y(u.prototype,this,"init").call(this),this.formatData()})}getChartOption(){return{animation:!0,series:[{type:"sankey",left:20,top:20,right:this.Style.value.labelWidth,bottom:25,emphasis:{focus:"adjacency"},nodeGap:16,layoutIterations:0,data:t.data,links:t.links,avoidLabelOverlap:!1,label:{position:"right",color:this.Style.value.labelColor,fontSize:this.Style.value.textSize,formatter:s=>{var e;return s.name+" "+((e=s.value)!=null?e:0)}},lineStyle:{color:"source",curveness:.5}}]}}getDefaultData(){return O}formatData(){const{data:s,common:e}=this.props.conf;t.data=[],t.links=[];let a="";e.multiObject||(a=g.getObjectId(e,e.useAlias,this.props.uid)),s.forEach(r=>{let v=e.multiObject?g.getObjectId(r,e.useAlias,this.props.uid):a;t.data.push({name:r.name,itemStyle:{color:r.color,borderColor:r.color},fv:r.fv,object_id:v});const _=this.props.mode==="edit"?1:0;t.links.push({source:r.origin,target:r.name,value:r.value||_,fv:r.fv,object_id:v})}),a=g.getObjectId(e,e.useAlias,this.props.uid),t.data.unshift({name:e==null?void 0:e.origin,fv:e==null?void 0:e.originFv,object_id:a})}setSocketData(s){!s||!this.chartObj||(t.data.forEach(e=>{if(!e.fv)return;const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),t.links.forEach(e=>{const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),this.chartObj.setOption(this.getChartOption(),!0))}}const c=new u(i,"sankey");c.setupLifecycle();const C=c.getStyle(),h=c.getEchartId(),d=i.conf,n=o.computed(()=>V.generateTitleStyle(i.conf.options));return(f,s)=>(o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(C).bgColor,borderRadius:`${o.unref(C).radiusSize}px`})},[o.createElementVNode("div",{class:"mix-title",style:o.normalizeStyle(n.value)},o.toDisplayString(o.unref(d).caption||o.unref(d).name),5),o.createElementVNode("div",B,[o.createElementVNode("div",{class:"w-full h-full",id:o.unref(h)},null,8,$)]),o.renderSlot(f.$slots,"default",{},void 0,!0)],4))}})),K=g._export_sfc(J,[["__scopeId","data-v-1ac8f209"]]);exports.default=K;
1
+ "use strict";var w=Object.defineProperty,k=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols,E=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,A=Reflect.get;var L=(l,i,t)=>i in l?w(l,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[i]=t,b=(l,i)=>{for(var t in i||(i={}))M.call(i,t)&&L(l,t,i[t]);if(m)for(var t of m(i))z.call(i,t)&&L(l,t,i[t]);return l},S=(l,i)=>k(l,j(i));var y=(l,i,t)=>A(E(l),t,i);var x=(l,i,t)=>new Promise((u,c)=>{var C=n=>{try{d(t.next(n))}catch(f){c(f)}},h=n=>{try{d(t.throw(n))}catch(f){c(f)}},d=n=>n.done?u(n.value):Promise.resolve(n.value).then(C,h);d((t=t.apply(l,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),g=require("./index-D8dh_6Qd.cjs"),D=require("./EChartComponentBase-D4wMej9X.cjs"),V=require("./titleStyle-NSnz6cUg.cjs"),F=require("./install-BvOpNm0Y.cjs"),p=require("./installCanvasRenderer-CyhM1Qpl.cjs"),I=require("./install-DV5cEgNV.cjs"),T=require("./install-CltTFs4e.cjs"),N=require("./install-C8buXQPI.cjs"),Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e桑基图%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-104.000000,%20-1128.000000)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e桑基图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-104.000000,%20-1128.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M119.247329,1128.05%20C119.512288,1128.05%20119.731261,1128.24689%20119.765916,1128.50235%20L119.770694,1128.57336%20L119.770694,1143.52664%20C119.770694,1143.81568%20119.536375,1144.05%20119.247329,1144.05%20C118.98237,1144.05%20118.763398,1143.85311%20118.728742,1143.59765%20L118.723965,1143.52664%20L118.72348,1139.79084%20C117.56923,1139.58573%20116.44436,1139.24442%20115.375349,1138.77418%20L114.942038,1138.57503%20C114.252785,1138.8504%20113.580222,1139.16248%20112.927685,1139.50961%20C110.915224,1140.56725%20108.715224,1141.2498%20106.444376,1141.52335%20L106.312021,1141.537%20L106.31275,1143.52664%20C106.31275,1143.81568%20106.078431,1144.05%20105.789385,1144.05%20C105.524426,1144.05%20105.305454,1143.85311%20105.270798,1143.59765%20L105.266021,1143.52664%20L105.266021,1128.57336%20C105.266021,1128.28432%20105.500339,1128.05%20105.789385,1128.05%20C106.054344,1128.05%20106.273317,1128.24689%20106.307972,1128.50235%20L106.31275,1128.57336%20L106.312839,1131.26902%20C107.347402,1131.59714%20108.304953,1132.12257%20109.124935,1132.81923%20L109.369608,1133.03598%20C110.020476,1132.74226%20110.651317,1132.41015%20111.258793,1132.04132%20C113.524576,1130.74832%20116.103627,1130.0653%20118.723624,1130.04997%20L118.723965,1128.57336%20C118.723965,1128.28432%20118.958283,1128.05%20119.247329,1128.05%20Z%20M116.340569,1138.10774%20C117.109995,1138.414%20117.908209,1138.64444%20118.722842,1138.79616%20L118.723417,1137.60828%20C117.915824,1137.70219%20117.118171,1137.86916%20116.340569,1138.10774%20Z%20M109.181023,1134.21088%20C108.292696,1134.57422%20107.371263,1134.85419%20106.429337,1135.04973%20L106.312021,1135.071%20L106.312021,1138.532%20L106.43317,1138.51692%20C108.016878,1138.28807%20109.554229,1137.81981%20110.987274,1137.12854%20L111.414,1136.91449%20L111.831223,1136.70754%20C111.255456,1136.24693%20110.718073,1135.74459%20110.224081,1135.20554%20C109.860262,1134.83672%20109.514802,1134.50961%20109.181023,1134.21088%20Z%20M111.812866,1132.91582%20C111.292171,1133.2279%20110.756457,1133.51328%20110.205723,1133.77196%20C110.46607,1134.01061%20110.726417,1134.27931%20110.998446,1134.56802%20C111.562532,1135.16883%20112.185028,1135.71789%20112.855923,1136.20854%20C114.693593,1135.32818%20116.684743,1134.78626%20118.723539,1134.60487%20L118.723759,1131.06729%20C116.2993,1131.09796%20113.914626,1131.7301%20111.812866,1132.91582%20Z%20M106.31244,1132.33171%20L106.312021,1134.046%20L106.430502,1134.02203%20C107.059661,1133.88024%20107.678353,1133.69786%20108.283159,1133.4749%20C107.696639,1132.98733%20107.028791,1132.60203%20106.31244,1132.33171%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B={class:"mix-body"},$=["id"],R={DEFAULT_ICON:Z,ACTIVE_ICON:q,NAME_CN:"桑基图",NAME_EN:"Sankey",ORDER:1},U={titleColor:"#111",bgColor:"#fff",labelColor:"#111",radiusSize:8,textSize:12,labelWidth:80,isHideTitle:!1},O=[{fv:"S01",name:"参数一",color:"#4162ff",origin:"总起源",object_id:""},{fv:"S02",name:"参数二",color:"#3bbc6a",origin:"总起源",object_id:""},{fv:"S03",name:"参数三",color:"#e24359",origin:"参数一",object_id:""},{fv:"S04",name:"参数四",color:"#fdcd61",origin:"参数一",object_id:""},{fv:"S05",name:"参数五",color:"#44b4ff",origin:"参数二",object_id:""},{fv:"S06",name:"参数六",color:"#3ba272",origin:"参数二",object_id:""}],W=["name","fv","object_id","color","origin"],H=["mosaic","statistics","calculate"],P={useAlias:!1,multiObject:!1,showBothModes:!0,origin:"总起源",originFv:"",source:"mosaic"},G={DEFAULT:R,OPTIONS:U,DATA:O,PARAMS:W,SOURCE:H,COMMON:P},J=o.defineComponent(S(b({},G),{__name:"sankey",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(l){p.use([I.install,T.install,p.install,N.install,p.install$1,F.install]);const i=l,t={data:[],links:[]};class u extends D.EChartComponentBase{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),labelColor:this.getOptionValue("labelColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),labelWidth:this.getOptionValue("labelWidth",80),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return x(this,null,function*(){yield y(u.prototype,this,"init").call(this),this.formatData()})}getChartOption(){return{animation:!0,series:[{type:"sankey",left:20,top:20,right:this.Style.value.labelWidth,bottom:25,emphasis:{focus:"adjacency"},nodeGap:16,layoutIterations:0,data:t.data,links:t.links,avoidLabelOverlap:!1,label:{position:"right",color:this.Style.value.labelColor,fontSize:this.Style.value.textSize,formatter:s=>{var e;return s.name+" "+((e=s.value)!=null?e:0)}},lineStyle:{color:"source",curveness:.5}}]}}getDefaultData(){return O}formatData(){const{data:s,common:e}=this.props.conf;t.data=[],t.links=[];let a="";e.multiObject||(a=g.getObjectId(e,e.useAlias,this.props.uid)),s.forEach(r=>{let v=e.multiObject?g.getObjectId(r,e.useAlias,this.props.uid):a;t.data.push({name:r.name,itemStyle:{color:r.color,borderColor:r.color},fv:r.fv,object_id:v});const _=this.props.mode==="edit"?1:0;t.links.push({source:r.origin,target:r.name,value:r.value||_,fv:r.fv,object_id:v})}),a=g.getObjectId(e,e.useAlias,this.props.uid),t.data.unshift({name:e==null?void 0:e.origin,fv:e==null?void 0:e.originFv,object_id:a})}setSocketData(s){!s||!this.chartObj||(t.data.forEach(e=>{if(!e.fv)return;const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),t.links.forEach(e=>{const a=this.extractDataValue(s,e.fv);e.value=a!=null?a:e.value}),this.chartObj.setOption(this.getChartOption(),!0))}}const c=new u(i,"sankey");c.setupLifecycle();const C=c.getStyle(),h=c.getEchartId(),d=i.conf,n=o.computed(()=>V.generateTitleStyle(i.conf.options));return(f,s)=>(o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(C).bgColor,borderRadius:`${o.unref(C).radiusSize}px`})},[o.createElementVNode("div",{class:"mix-title",style:o.normalizeStyle(n.value)},o.toDisplayString(o.unref(d).caption||o.unref(d).name),5),o.createElementVNode("div",B,[o.createElementVNode("div",{class:"w-full h-full",id:o.unref(h)},null,8,$)]),o.renderSlot(f.$slots,"default",{},void 0,!0)],4))}})),K=g._export_sfc(J,[["__scopeId","data-v-1ac8f209"]]);exports.default=K;
@@ -27,8 +27,8 @@ var y = (o, i, t) => new Promise((d, r) => {
27
27
  c((t = t.apply(o, i)).next());
28
28
  });
29
29
  import { defineComponent as F, computed as T, openBlock as V, createElementBlock as I, normalizeStyle as _, unref as u, createElementVNode as g, toDisplayString as Z, renderSlot as N } from "vue";
30
- import { t as h, _ as $ } from "./index-BSsB7QzO.js";
31
- import { E as B } from "./EChartComponentBase-dEfA3X9b.js";
30
+ import { t as h, _ as $ } from "./index-Bdq33405.js";
31
+ import { E as B } from "./EChartComponentBase-CAabYXSj.js";
32
32
  import { g as R } from "./titleStyle-BT5GlpAb.js";
33
33
  import { i as U } from "./install-B2TChEcT.js";
34
34
  import { u as W, i as H, a as P } from "./installCanvasRenderer-CLT2hquJ.js";
@@ -11,8 +11,8 @@ var Mn = (j, M, R) => M in j ? Zr(j, M, { enumerable: !0, configurable: !0, writ
11
11
  return j;
12
12
  }, zn = (j, M) => Kr(j, Jr(M));
13
13
  import { defineComponent as ti, ref as ni, computed as ri, openBlock as J, createElementBlock as Q, normalizeStyle as N, unref as ge, createElementVNode as G, toDisplayString as se, Fragment as zt, renderList as Cn, normalizeClass as Be, createTextVNode as ii, renderSlot as oi, nextTick as ai } from "vue";
14
- import { B as si } from "./BaseComponent-DQe7HYdV.js";
15
- import { j as ci, _ as li } from "./index-BSsB7QzO.js";
14
+ import { B as si } from "./BaseComponent-D5tlYehc.js";
15
+ import { j as ci, _ as li } from "./index-Bdq33405.js";
16
16
  import { g as ui } from "./titleStyle-BT5GlpAb.js";
17
17
  var Ne = { exports: {} }, pi = Ne.exports, An;
18
18
  function fi() {