mixdashboards 1.0.73 → 1.0.74

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 (417) hide show
  1. package/dist/BaseComponent-CaCkjmmb.cjs +1 -0
  2. package/dist/{BaseComponent-CBagahPU.js → BaseComponent-NnwLq7Cf.js} +148 -122
  3. package/dist/{EChartComponentBase-cFfawl6h.js → EChartComponentBase-C3gcATBZ.js} +3 -3
  4. package/dist/{EChartComponentBase-dLE5F7Tt.cjs → EChartComponentBase-D7_ZiE7P.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel--jTGG89o.js → EmergencyPlanPanel-0EfbQlQm.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-BJb-Bbxh.cjs → EmergencyPlanPanel-XDtQc5aN.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-C-QPdV4V.cjs → HistoryPlanDialog-fbBtPeVt.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-DerClU2U.js → HistoryPlanDialog-ihGqWXNI.js} +1 -1
  9. package/dist/{MarkerView-CtWJi5UZ.js → MarkerView-DDN8S7xE.js} +7 -7
  10. package/dist/{MonitoringMap-CNaGsq83.js → MonitoringMap-DysFrw3B.js} +2 -2
  11. package/dist/{MonitoringMap-B6RMbiIS.cjs → MonitoringMap-UT2OL3ca.cjs} +1 -1
  12. package/dist/{RoamController-DmBIwcAZ.js → RoamController-1rzpYesL.js} +1 -1
  13. package/dist/{UniverSheet-KI09RqKm.js → UniverSheet-CMWL98B8.js} +2 -2
  14. package/dist/{UniverSheet-CM-vvc23.cjs → UniverSheet-DeZ-y5mH.cjs} +1 -1
  15. package/dist/{VisualMapping-D-MA7S0X.js → VisualMapping-GwxHIgr-.js} +1 -1
  16. package/dist/{accelerationChart-HBCb2bRW.cjs → accelerationChart-BGjzOc4I.cjs} +1 -1
  17. package/dist/{accelerationChart-D7KNk5fI.js → accelerationChart-JNRxAqU5.js} +23 -23
  18. package/dist/{actionItem-Bx4mW0jP.cjs → actionItem-DDlL4pxR.cjs} +1 -1
  19. package/dist/{actionItem-BmNYzAXu.js → actionItem-DnrNafUu.js} +2 -2
  20. package/dist/{alarmLevelChart-Cvnw4z1w.cjs → alarmLevelChart-B4TglthF.cjs} +1 -1
  21. package/dist/{alarmLevelChart-DdSw2s7W.js → alarmLevelChart-D4ZPyGyd.js} +2 -2
  22. package/dist/{alertTable-CC3c8DFb.js → alertTable-IwL3PIbe.js} +2 -2
  23. package/dist/{alertTable-hH6HA9pY.cjs → alertTable-WmivR3n_.cjs} +1 -1
  24. package/dist/{aliasObjectSelectorDemo-yDiavTpG.js → aliasObjectSelectorDemo-DCcqetww.js} +9 -9
  25. package/dist/{aliasObjectSelectorDemo-C7E_fnCf.cjs → aliasObjectSelectorDemo-zcElLG44.cjs} +1 -1
  26. package/dist/{annualRainfallChart-B9ar8vo8.js → annualRainfallChart-CNqrXKJZ.js} +3 -3
  27. package/dist/{annualRainfallChart-C6JLSPIf.cjs → annualRainfallChart-DspMrDxt.cjs} +1 -1
  28. package/dist/{aqi-DEiCVIVa.cjs → aqi-B1bcKY5p.cjs} +1 -1
  29. package/dist/{aqi-BNc5QCM3.js → aqi-CdGE9-CD.js} +10 -10
  30. package/dist/{aqiIndass-Bowic_Pc.cjs → aqiIndass-BZpPo1tj.cjs} +1 -1
  31. package/dist/{aqiIndass-CAGV8_Uf.js → aqiIndass-CuKfMaYn.js} +30 -30
  32. package/dist/{areaDeformCurve-CSpR060t.js → areaDeformCurve-Chn4CE8w.js} +4 -4
  33. package/dist/{areaDeformCurve-CVy23kV2.cjs → areaDeformCurve-bNNNS8Cb.cjs} +1 -1
  34. package/dist/{arrayCard-NqoQKcE9.cjs → arrayCard-BYZWRop3.cjs} +1 -1
  35. package/dist/{arrayCard-PPDb7U6X.js → arrayCard-CVVWnZDk.js} +2 -2
  36. package/dist/{audio-Bw-GaYe1.cjs → audio-BeYg08W5.cjs} +1 -1
  37. package/dist/{audio-BJPFIQIr.js → audio-YTfr7Lqf.js} +2 -2
  38. package/dist/{axisAlignTicks-BqVUa467.js → axisAlignTicks-Chqgi59U.js} +2 -2
  39. package/dist/bar-1K14ZPKy.cjs +2 -0
  40. package/dist/bar-YhAAV2al.js +309 -0
  41. package/dist/bmp-Uj7Bu61U.js +2080 -0
  42. package/dist/bmp-vWIH5Cu7.cjs +1 -0
  43. package/dist/{box-DIHVOqrV.js → box-C8RIfuID.js} +2 -2
  44. package/dist/{box-CKuGsh2k.cjs → box-Cdzw27uU.cjs} +1 -1
  45. package/dist/{chartConfigPanel-BVdVXbs6.cjs → chartConfigPanel-D3voTkdQ.cjs} +1 -1
  46. package/dist/{chartConfigPanel-D1rO6SGh.js → chartConfigPanel-DLa3heKy.js} +1 -1
  47. package/dist/{circleBar-CBLcp4Xi.js → circleBar-DUSP-iMF.js} +15 -15
  48. package/dist/{circleBar-BzXqA-Cz.cjs → circleBar-Dc_qd4gk.cjs} +1 -1
  49. package/dist/{clock-DmWyBpo-.cjs → clock-0USfNfTc.cjs} +1 -1
  50. package/dist/{clock-4AMfFDGC.js → clock-Dk1zjBcJ.js} +2 -2
  51. package/dist/clt-BCHpLoab.cjs +1 -0
  52. package/dist/clt-Ba9Ov5WY.js +296 -0
  53. package/dist/cmc-CdDCboSm.cjs +1 -0
  54. package/dist/{cmc-Cjb5w3om.js → cmc-CsVB4uz3.js} +71 -63
  55. package/dist/cmp-BPM8lMqg.cjs +6 -0
  56. package/dist/{cmp-COJzlQPa.js → cmp-D4ZO7mz7.js} +54 -55
  57. package/dist/{conclusionCard-C-TT6znN.cjs → conclusionCard-BVHHtpxH.cjs} +1 -1
  58. package/dist/{conclusionCard-BQUlLFde.js → conclusionCard-BYR-fH4f.js} +2 -2
  59. package/dist/{controlList-5D5UIDQL.js → controlList-DYV1wgUY.js} +2 -2
  60. package/dist/{controlList-CIwzKylK.cjs → controlList-DsEyes9v.cjs} +1 -1
  61. package/dist/{controlRecordList-Cp5mmEQ1.js → controlRecordList-CBGpB41d.js} +2 -2
  62. package/dist/{controlRecordList-uEQ3ohmB.cjs → controlRecordList-j0pBrQiU.cjs} +1 -1
  63. package/dist/{controlRecordListAPP-B5d4x_xH.cjs → controlRecordListAPP-BktJCkFK.cjs} +1 -1
  64. package/dist/{controlRecordListAPP-p_skbQVD.js → controlRecordListAPP-CSt8rFZX.js} +2 -2
  65. package/dist/{crd-Dfl2XKAx.cjs → crd-C8IqmHc6.cjs} +1 -1
  66. package/dist/{crd-8gRWMf2Y.js → crd-Di7EfiY1.js} +2 -2
  67. package/dist/{createSeriesData-E53TTCAt.js → createSeriesData-BUgbWEWK.js} +2 -2
  68. package/dist/{createSeriesDataSimply-Bsly4zZA.js → createSeriesDataSimply-C7bzYYow.js} +2 -2
  69. package/dist/{ctrBtn-BzmFxucy.js → ctrBtn-BzMHJHA9.js} +94 -89
  70. package/dist/ctrBtn-Cj-AqUKM.cjs +1 -0
  71. package/dist/ctrSet-CnDBng-I.cjs +1 -0
  72. package/dist/ctrSet-DMkuRDFI.js +234 -0
  73. package/dist/ctrSwitch-BRfl35Aw.cjs +1 -0
  74. package/dist/{ctrSwitch-6nMHbIE7.js → ctrSwitch-FJgD05b0.js} +94 -88
  75. package/dist/{cursorHelper-DE0KU4_J.js → cursorHelper-BFbblC6t.js} +1 -1
  76. package/dist/{customGraphicKeyframeAnimation-BJ_z0kB3.js → customGraphicKeyframeAnimation-veqkTlqy.js} +17 -17
  77. package/dist/{dataManagement-BZiSmktM.js → dataManagement-CQoqc9Rh.js} +2 -2
  78. package/dist/{dataManagement-sQpuBaDz.cjs → dataManagement-CXbeNggN.cjs} +1 -1
  79. package/dist/{dataReport-D9Q9c43B.cjs → dataReport-BkIDOCdC.cjs} +1 -1
  80. package/dist/{dataReport-CbJzXeCE.js → dataReport-l2SE8HZx.js} +2 -2
  81. package/dist/{dataSample-BXwc06Sb.js → dataSample-Czrba8EC.js} +1 -1
  82. package/dist/{dataTable-BJ4SVFbu.cjs → dataTable-BdttKfHG.cjs} +1 -1
  83. package/dist/{dataTable-BuBB0b-A.js → dataTable-jf6qXfJJ.js} +1 -1
  84. package/dist/{datetime-B66VgJL1.cjs → datetime-BH9orUUf.cjs} +1 -1
  85. package/dist/{datetime-DO03QrXz.js → datetime-eht4XkmD.js} +2 -2
  86. package/dist/{deepClusterSlipSurface-BqT55vkY.cjs → deepClusterSlipSurface-CF_MN7sO.cjs} +1 -1
  87. package/dist/{deepClusterSlipSurface-DpSAXgFf.js → deepClusterSlipSurface-D2d52L50.js} +6 -6
  88. package/dist/{deepDataMatrix-CPrIOv5r.js → deepDataMatrix-DY1WmgGR.js} +7 -7
  89. package/dist/{deepDataMatrix-DZZaTMbD.cjs → deepDataMatrix-DqbCqz8d.cjs} +1 -1
  90. package/dist/{deepDisplacement3D-JlMej7-5.js → deepDisplacement3D-CuVVhd0X.js} +20 -21
  91. package/dist/{deepDisplacement3D-Cd9nwwPt.cjs → deepDisplacement3D-D3-KOmef.cjs} +60 -60
  92. package/dist/{deepDisplacementChart-CEaj2bUV.cjs → deepDisplacementChart-BwBojI9h.cjs} +1 -1
  93. package/dist/{deepDisplacementChart-CjlGpeHj.js → deepDisplacementChart-C_3eHTmR.js} +25 -25
  94. package/dist/{deepDisplacementChart-BiDt60xI.js → deepDisplacementChart-DFosjAQL.js} +4 -4
  95. package/dist/{deepDisplacementChart-CALM3gna.cjs → deepDisplacementChart-DzikjpBz.cjs} +1 -1
  96. package/dist/{deepDisplacementView-BpUw-b-i.js → deepDisplacementView-BNQaheci.js} +3 -3
  97. package/dist/{deepDisplacementView-CoSNzN1q.cjs → deepDisplacementView-gJdi6U9B.cjs} +1 -1
  98. package/dist/{deepNodeTemperatureChart-DfZq7kLx.js → deepNodeTemperatureChart-C5d-tyOA.js} +22 -22
  99. package/dist/{deepNodeTemperatureChart-DPN0rYir.cjs → deepNodeTemperatureChart-oMknBT7e.cjs} +1 -1
  100. package/dist/{deepTangentAngleChart-Ca01hah9.js → deepTangentAngleChart-C35d0nBR.js} +18 -18
  101. package/dist/{deepTangentAngleChart-Dg9PJspK.cjs → deepTangentAngleChart-C7b7sEab.cjs} +1 -1
  102. package/dist/{deepTemperatureField-BqDB97SW.cjs → deepTemperatureField-BnWHpVPm.cjs} +1 -1
  103. package/dist/{deepTemperatureField-CYBTjhEp.js → deepTemperatureField-DbGy0vHS.js} +25 -25
  104. package/dist/{deepTrendChart-B5BAHTeY.cjs → deepTrendChart-D676owsq.cjs} +1 -1
  105. package/dist/{deepTrendChart-DBjxV7_A.js → deepTrendChart-DdCYjiWZ.js} +18 -18
  106. package/dist/{deviceOnlineStatus-1eoHCl_-.js → deviceOnlineStatus-BH-2-UBD.js} +2 -2
  107. package/dist/{deviceOnlineStatus-DHzaAzCp.cjs → deviceOnlineStatus-DSuaeFZj.cjs} +1 -1
  108. package/dist/{deviceStatus-90rQa1uj.js → deviceStatus-CxjbfqGK.js} +15 -15
  109. package/dist/{deviceStatus-4BMy4qBD.cjs → deviceStatus-ySE9suGE.cjs} +1 -1
  110. package/dist/{displacementDataTable-BArwj-xp.js → displacementDataTable-CAYYafN7.js} +17 -17
  111. package/dist/{displacementDataTable-BLWjiaRQ.cjs → displacementDataTable-DwutxypE.cjs} +1 -1
  112. package/dist/{displacementTrajectoryChart-CxOPJVlD.js → displacementTrajectoryChart-ClUAsle_.js} +14 -14
  113. package/dist/{displacementTrajectoryChart-DfJMOCFJ.cjs → displacementTrajectoryChart-zya-qu9n.cjs} +1 -1
  114. package/dist/{displacementTrendChart-Cuxa5iTp.cjs → displacementTrendChart-DZj52qRD.cjs} +1 -1
  115. package/dist/{displacementTrendChart-4E6cDsX8.js → displacementTrendChart-xqe9LMp8.js} +17 -17
  116. package/dist/{dxf-BgklkksV.cjs → dxf-Cmr9xmL0.cjs} +1 -1
  117. package/dist/{dxf-BogwbJID.js → dxf-tZgpovsn.js} +2 -2
  118. package/dist/{dzc-CApfzriC.cjs → dzc-BwCEpLKp.cjs} +1 -1
  119. package/dist/{dzc-D7tTBLaA.js → dzc-C0VMyvsH.js} +9 -9
  120. package/dist/{echarts-BVht3HHb.js → echarts-Bp7QN4X6.js} +90 -90
  121. package/dist/{emergencyPlan-BuFz4XFc.cjs → emergencyPlan-CQtYRB5n.cjs} +1 -1
  122. package/dist/{emergencyPlan-CjbuX-N5.js → emergencyPlan-j1icRflR.js} +3 -3
  123. package/dist/{evn-DTPm72ZM.js → evn-B2F6pbqY.js} +2 -2
  124. package/dist/{evn-BcSenXF3.cjs → evn-B6WNZ0pv.cjs} +1 -1
  125. package/dist/{evolutionChart-D1dVKWOt.js → evolutionChart-C1rPjVsB.js} +5 -5
  126. package/dist/{evolutionChart-CrwR8i40.cjs → evolutionChart-q9UtSs9r.cjs} +1 -1
  127. package/dist/{fileViewer-BNHwlZRa.js → fileViewer-Bj4FYg5G.js} +13 -13
  128. package/dist/{fileViewer-BUuST3Rp.cjs → fileViewer-ZO55zvWU.cjs} +1 -1
  129. package/dist/{filterBar-CRJinh5K.js → filterBar-CIYpcc9y.js} +2 -2
  130. package/dist/{filterBar-BJzjPFFg.cjs → filterBar-D7js_Q7g.cjs} +1 -1
  131. package/dist/{fireCombustionCurve-BGdJ1ybj.cjs → fireCombustionCurve-CiVXjt9E.cjs} +1 -1
  132. package/dist/{fireCombustionCurve-BZ6qJ1kq.js → fireCombustionCurve-DEHjb7Lp.js} +3 -3
  133. package/dist/{fireFilterBar-KvvbsCsZ.js → fireFilterBar-BzgnlY5d.js} +2 -2
  134. package/dist/{fireFilterBar-DZejT0oL.cjs → fireFilterBar-CkQU9Yaf.cjs} +1 -1
  135. package/dist/{fireHistoryTable-80ygqnOG.js → fireHistoryTable-BoAArvjx.js} +2 -2
  136. package/dist/{fireHistoryTable-CMSGKb3w.cjs → fireHistoryTable-JCY4nLos.cjs} +1 -1
  137. package/dist/gag-CrUeBa30.cjs +1 -0
  138. package/dist/gag-DCGVulGC.js +168 -0
  139. package/dist/{gasStationList-DjJtXnqL.cjs → gasStationList-CN2y3zri.cjs} +1 -1
  140. package/dist/{gasStationList-DM-laJsi.js → gasStationList-CifrfkH0.js} +3 -3
  141. package/dist/{geo3dViewer-CL_89mQf.cjs → geo3dViewer-BSAjBg2m.cjs} +1 -1
  142. package/dist/{geo3dViewer-FhmMIvMJ.js → geo3dViewer-Du775tJ7.js} +3 -3
  143. package/dist/{glbModel-B0nWYYJQ.js → glbModel-2uTNL367.js} +2 -2
  144. package/dist/{glbModel-DakMJal6.cjs → glbModel-Cm1M6hko.cjs} +1 -1
  145. package/dist/{globalObjectSelector-Gv4srHhp.js → globalObjectSelector-CEpO2o2w.js} +1 -1
  146. package/dist/{globalObjectSelector-jNzZxdnL.cjs → globalObjectSelector-W_YToM6x.cjs} +1 -1
  147. package/dist/{gnssFilterBar-kEIW7Tjs.cjs → gnssFilterBar-BSHEfiyz.cjs} +1 -1
  148. package/dist/{gnssFilterBar-C4rpyNw3.js → gnssFilterBar-DZYOL5nC.js} +2 -2
  149. package/dist/{gnssHistoryTable-DRKlP8-b.cjs → gnssHistoryTable-Ct98Vz6i.cjs} +1 -1
  150. package/dist/{gnssHistoryTable-CyMwQJ7_.js → gnssHistoryTable-naChmXHT.js} +2 -2
  151. package/dist/{gnssMapView-DpExCi0x.cjs → gnssMapView-CCW4_-Sn.cjs} +2 -2
  152. package/dist/{gnssMapView-EVufCGrW.js → gnssMapView-DouWOPLF.js} +6 -6
  153. package/dist/{gnssSectionProfile-CaJwF9wp.js → gnssSectionProfile-Be-THvQP.js} +4 -4
  154. package/dist/{gnssSectionProfile-DdcOMdNC.cjs → gnssSectionProfile-hzXQ4KzJ.cjs} +1 -1
  155. package/dist/{gnssTimeSeriesChart-y11Y8k2-.cjs → gnssTimeSeriesChart-CbMxKxjG.cjs} +1 -1
  156. package/dist/{gnssTimeSeriesChart-iffDvMNx.js → gnssTimeSeriesChart-DoMBz4zf.js} +2 -2
  157. package/dist/{gnssXYTrajectory-DGBGGDwi.cjs → gnssXYTrajectory-BNwqQna4.cjs} +1 -1
  158. package/dist/{gnssXYTrajectory-C_1fuLWn.js → gnssXYTrajectory-Bg2B89Vw.js} +2 -2
  159. package/dist/{grd-C4hCrpvH.cjs → grd-C-x23C0E.cjs} +1 -1
  160. package/dist/{grd-FfuMQJb7.js → grd-XTVPofQw.js} +17 -17
  161. package/dist/{grdIndass-BTbZmPLZ.js → grdIndass-CYawTr5K.js} +2 -2
  162. package/dist/{grdIndass-CyuRKD5H.cjs → grdIndass-h7STZwba.cjs} +1 -1
  163. package/dist/{grg-CcnI5kRY.js → grg-BZPHOdr_.js} +16 -16
  164. package/dist/{grg-Cuxa17d6.cjs → grg-DMRsgNoC.cjs} +1 -1
  165. package/dist/{gridview-CKjBuTRq.cjs → gridview-BAqXV-TI.cjs} +1 -1
  166. package/dist/{gridview-ffVc5Wvg.js → gridview-C_Lqcw3n.js} +2 -2
  167. package/dist/{groundwaterFilterBar-DaPR-kbl.js → groundwaterFilterBar-Dq216QFO.js} +2 -2
  168. package/dist/{groundwaterFilterBar-D3l7GLVY.cjs → groundwaterFilterBar-RcVBt_vt.cjs} +1 -1
  169. package/dist/{groundwaterProfileChart-DoSx7WWp.js → groundwaterProfileChart-7LN3wfLM.js} +3 -3
  170. package/dist/{groundwaterProfileChart-BxJKIPXF.cjs → groundwaterProfileChart-D31MpfdN.cjs} +2 -2
  171. package/dist/{groundwaterTimeCurve-Bp5MxM9k.cjs → groundwaterTimeCurve-C65gdinn.cjs} +1 -1
  172. package/dist/{groundwaterTimeCurve-D-SdVYeq.js → groundwaterTimeCurve-CJgvt43Z.js} +3 -3
  173. package/dist/{groupCard-COMEkzIb.js → groupCard-BpjcijZW.js} +2 -2
  174. package/dist/{groupCard-BzUQ8xY0.cjs → groupCard-DNOawK4_.cjs} +1 -1
  175. package/dist/{headerBar-ouXO8bzC.js → headerBar-Bnv8ylmr.js} +2 -2
  176. package/dist/{headerBar-iFe0YQKE.cjs → headerBar-CNWKR951.cjs} +1 -1
  177. package/dist/{history-BZ869y2d.js → history-DdkBOj8L.js} +24 -24
  178. package/dist/{history-MxYUUwkm.cjs → history-xZTq1lUB.cjs} +1 -1
  179. package/dist/index-BzWbqJIl.cjs +612 -0
  180. package/dist/index-CJgyJTvc.cjs +11 -0
  181. package/dist/{index-DwPJu6XM.js → index-D5BukPPY.js} +1805 -1642
  182. package/dist/{index-ButoLLAe.js → index-eIsZnzkc.js} +2753 -2122
  183. package/dist/{insarDeformChart-5BhCUq8L.js → insarDeformChart-BKgJHbFe.js} +2 -2
  184. package/dist/{insarDeformChart-Ca3AMsBk.cjs → insarDeformChart-DIvxdDkN.cjs} +1 -1
  185. package/dist/{insarImageViewer-DWPsoHz6.cjs → insarImageViewer-Bray3mKg.cjs} +1 -1
  186. package/dist/{insarImageViewer-DHNxmLpa.js → insarImageViewer-qI5GBqkU.js} +2 -2
  187. package/dist/{install-FDYiy_gL.js → install-B_v5XJLG.js} +5 -5
  188. package/dist/{install-9_V0b6vf.js → install-BfNaEf5I.js} +24 -24
  189. package/dist/{install-B0x4IqQr.js → install-By9bYCXw.js} +11 -11
  190. package/dist/{install-hfre7yvV.js → install-CEl1AYgZ.js} +2 -2
  191. package/dist/{install-BzdOSCzO.js → install-CIdzgJ44.js} +109 -109
  192. package/dist/{install-oGjJ0_bF.js → install-CJ_UX-RT.js} +44 -44
  193. package/dist/{install-BifpoHNI.js → install-CY89Nrxl.js} +5 -5
  194. package/dist/{install-BUu5ESB7.js → install-Cmw0VV-B.js} +72 -72
  195. package/dist/{install-MS3ZY7fF.js → install-CqrIgcb1.js} +7 -7
  196. package/dist/{install-D1QM80AD.js → install-DNDCMXB3.js} +2 -2
  197. package/dist/install-DbAuuRVv.js +8 -0
  198. package/dist/{install-CBde4hAM.js → install-DdM8j5Ll.js} +1 -1
  199. package/dist/{install-B2TChEcT.js → install-DwcX1eNi.js} +4 -4
  200. package/dist/{install-C_3uGWLu.js → install-FXyLnlJE.js} +9 -9
  201. package/dist/{install-C9Cdzkc6.js → install-UooD2LwU.js} +29 -29
  202. package/dist/{install-Cx1i_m0k.js → install-ZJfH__Vo.js} +11 -11
  203. package/dist/{install-8XfFtnlL.js → install-uPZUxWT9.js} +19 -19
  204. package/dist/{installCanvasRenderer-CLT2hquJ.js → installCanvasRenderer-oDYkyVFy.js} +4 -4
  205. package/dist/{installMarkArea-Cdg4iciO.js → installMarkArea-DaDitBR7.js} +15 -15
  206. package/dist/{installMarkLine-BgE0YACE.js → installMarkLine-CHCnywAM.js} +10 -10
  207. package/dist/{installSimple-BWTCwMdY.js → installSimple-CB2Y4Ri7.js} +3 -3
  208. package/dist/{kds-Dpf_3WWj.cjs → kds-BibvGW1n.cjs} +1 -1
  209. package/dist/{kds-BYZC4pIM.js → kds-C1Chb0fa.js} +30 -30
  210. package/dist/{kpiCard-CStPtl-c.js → kpiCard-KuMZjN55.js} +2 -2
  211. package/dist/{kpiCard-OLJgA48-.cjs → kpiCard-tnfcEXOn.cjs} +1 -1
  212. package/dist/{labelHelper-Cd8oB-sZ.js → labelHelper-DccEpjmd.js} +1 -1
  213. package/dist/{landslideMap-BUq0x7rd.js → landslideMap-B4vzymkZ.js} +15 -15
  214. package/dist/{landslideMap-JTdoQjW-.cjs → landslideMap-DlMSDibx.cjs} +1 -1
  215. package/dist/{landslideWarning-VAn9XGUj.js → landslideWarning-BYlaEzUr.js} +5 -5
  216. package/dist/{landslideWarning-ZA5LCsIr.cjs → landslideWarning-DtOMb7U_.cjs} +1 -1
  217. package/dist/{layerTabs-CAJ6f-2W.js → layerTabs-BG0gTvo8.js} +2 -2
  218. package/dist/{layerTabs-CdhowHB1.cjs → layerTabs-DQm_b2aH.cjs} +1 -1
  219. package/dist/{leaflet-src-DNO2-OsP.js → leaflet-src-DVXepwmU.js} +1 -1
  220. package/dist/{leaflet-src-CxFQ_Cn7.cjs → leaflet-src-qPfpknMO.cjs} +1 -1
  221. package/dist/{lerc-qU4WKXeS.cjs → lerc-CITZZDb7.cjs} +1 -1
  222. package/dist/{lerc-bF2jqjoV.js → lerc-Z6kWrF7V.js} +2 -2
  223. package/dist/{lin-BHI2KgyW.cjs → lin-CW8Q8u-z.cjs} +1 -1
  224. package/dist/{lin-DbQw7wZw.js → lin-zJYjIE2f.js} +11 -11
  225. package/dist/{linIndass-Cd9Hjzs_.js → linIndass-27mWriLs.js} +16 -16
  226. package/dist/{linIndass-CIrObeZT.cjs → linIndass-CQaikC7I.cjs} +1 -1
  227. package/dist/{lst-C3C2m1v_.js → lst-BqXNkXrQ.js} +2 -2
  228. package/dist/{lst-BRsEe-Hq.cjs → lst-Cu-ohx2m.cjs} +1 -1
  229. package/dist/{manualEntry-B8TDMcDg.js → manualEntry-BPEmSok7.js} +2 -2
  230. package/dist/{manualEntry-C3_WtYz8.cjs → manualEntry-zj6TEXL7.cjs} +1 -1
  231. package/dist/{mapBackground-BrVIQUcT.js → mapBackground-BhcSOZ_h.js} +3 -3
  232. package/dist/{mapBackground-Du7R_ICY.cjs → mapBackground-CRI873EC.cjs} +1 -1
  233. package/dist/{mappingList-BpJUawmv.js → mappingList-CvG8EIIC.js} +2 -2
  234. package/dist/{mappingList-C5OZ8oUx.cjs → mappingList-DGgPl4t4.cjs} +1 -1
  235. package/dist/{markdownViewer-CoRrvdY7.js → markdownViewer-D9JqGyeI.js} +6 -6
  236. package/dist/{markdownViewer-D96bwxEt.cjs → markdownViewer-DvbUv7kn.cjs} +1 -1
  237. package/dist/mix-control-modal-DaRWnX3S.js +160 -0
  238. package/dist/mix-control-modal-DpAs-GHi.cjs +1 -0
  239. package/dist/{mixGrid-Hj0OJjkg.cjs → mixGrid-CHne1dXO.cjs} +1 -1
  240. package/dist/{mixGrid-CtJWul6c.js → mixGrid-FBiMFT4V.js} +4 -4
  241. package/dist/mixdashboards.cjs +1 -1
  242. package/dist/mixdashboards.css +1 -1
  243. package/dist/mixdashboards.js +1 -1
  244. package/dist/mixiotObjectListApi-BwIQvSS-.js +67 -0
  245. package/dist/mixiotObjectListApi-ClirV2tM.cjs +1 -0
  246. package/dist/{mjpegCamera-Dc4IsJA6.js → mjpegCamera-D2quqZNc.js} +2 -2
  247. package/dist/{mjpegCamera-BY7pmbDc.cjs → mjpegCamera-D32gJ5oN.cjs} +1 -1
  248. package/dist/{monitorAlert-DVNvJyTy.cjs → monitorAlert-CxC81qAu.cjs} +1 -1
  249. package/dist/{monitorAlert-F8QFOchR.js → monitorAlert-D4qszzHh.js} +12 -12
  250. package/dist/{monitorData-AkPbhJ9q.cjs → monitorData-CVkL2ukF.cjs} +1 -1
  251. package/dist/{monitorData-BzqNIdrW.js → monitorData-DnWDsgTT.js} +13 -13
  252. package/dist/{monitorSpeedChart-348U37LW.js → monitorSpeedChart-CHpQsrDt.js} +3 -3
  253. package/dist/{monitorSpeedChart-DVH1xihw.cjs → monitorSpeedChart-CKxwWE0i.cjs} +1 -1
  254. package/dist/{mxa-CkJjCHA-.js → mxa-Cbnwonqc.js} +7 -7
  255. package/dist/{mxa-DShU528J.cjs → mxa-UU7rQDd8.cjs} +1 -1
  256. package/dist/{myValue-CEfp19i2.js → myValue-DBxx1jtk.js} +2 -2
  257. package/dist/{myValue-BCeycpdO.cjs → myValue-DzARZpdg.cjs} +1 -1
  258. package/dist/{myValueList-CAPOW8TK.cjs → myValueList-BVbeDsWn.cjs} +1 -1
  259. package/dist/{myValueList-y3GR4AX2.js → myValueList-BbtPVr5y.js} +2 -2
  260. package/dist/{objectList-D16yLbzD.js → objectList-Cpu0yqsK.js} +4 -4
  261. package/dist/{objectList-4rYQk5uq.cjs → objectList-D5E8PU66.cjs} +1 -1
  262. package/dist/objectListAPP-CYxy9UjL.js +2247 -0
  263. package/dist/objectListAPP-Cr4uoJuN.cjs +1 -0
  264. package/dist/{photo-D67wLRkY.cjs → photo-BRMACjXO.cjs} +1 -1
  265. package/dist/{photo-BV6rkbWO.js → photo-DPOhq559.js} +2 -2
  266. package/dist/{pie-BeRwVkTk.cjs → pie-B7HO9F24.cjs} +1 -1
  267. package/dist/{pie-bNKhq6ak.js → pie-CUqy6VGE.js} +10 -10
  268. package/dist/{placeholder-zByzfWaH.cjs → placeholder-D-BpaT59.cjs} +1 -1
  269. package/dist/{placeholder-_iK4rVyU.js → placeholder-DsyLsZM5.js} +1 -1
  270. package/dist/{points-DkG9FRF9.js → points-Cddz0rX-.js} +15 -15
  271. package/dist/{pressBtn-BjqYIPC-.cjs → pressBtn-DZz7PZ7o.cjs} +1 -1
  272. package/dist/{pressBtn-B-rZPXK2.js → pressBtn-IefW25bT.js} +138 -108
  273. package/dist/{processTable-s_y8uups.js → processTable-Bm2HnUrZ.js} +2 -2
  274. package/dist/{processTable-ByPlSKRJ.cjs → processTable-kVFr2ntb.cjs} +1 -1
  275. package/dist/{progressBar-CRdA7oJT.cjs → progressBar-00yP_jc2.cjs} +1 -1
  276. package/dist/{progressBar-DskxZk1P.js → progressBar-C7RKpdcE.js} +37 -29
  277. package/dist/{progressCircle-BE_Am-AP.js → progressCircle-BBkwMkI0.js} +47 -39
  278. package/dist/{progressCircle-CHe-12Hb.cjs → progressCircle-CzqibMlZ.cjs} +1 -1
  279. package/dist/{qrcode-D8cFyUpL.cjs → qrcode-4NUAsx0h.cjs} +1 -1
  280. package/dist/{qrcode-Dgth6KwU.js → qrcode-DaHlY7Vv.js} +2 -2
  281. package/dist/raceBar-BVsHg94d.cjs +2 -0
  282. package/dist/{raceBar-DV-3KFg2.js → raceBar-WhOgwnlP.js} +116 -120
  283. package/dist/{rad-BhsfF0XI.js → rad-BlEn2Yx1.js} +6 -6
  284. package/dist/{rad-BerkC70H.cjs → rad-sMtJPs8L.cjs} +1 -1
  285. package/dist/{radarMapViewer-C2dde8EN.js → radarMapViewer-C1_FFYFi.js} +2 -2
  286. package/dist/{radarMapViewer-HWzvBTzT.cjs → radarMapViewer-CzhHFpRX.cjs} +1 -1
  287. package/dist/{rainfallFilterBar-CiT1mvYh.js → rainfallFilterBar-Bt2TbXV6.js} +2 -2
  288. package/dist/{rainfallFilterBar-kuAQO0M-.cjs → rainfallFilterBar-F7DU_nqK.cjs} +1 -1
  289. package/dist/{rainfallTimeCurve-BlOnCq2M.js → rainfallTimeCurve-C5tBf1lx.js} +3 -3
  290. package/dist/{rainfallTimeCurve-7uHaSkuE.cjs → rainfallTimeCurve-DaXSW7dI.cjs} +1 -1
  291. package/dist/{rangeLin-BvKd8kEv.js → rangeLin-Bral8Ev4.js} +16 -16
  292. package/dist/{rangeLin-BQeWFL_E.cjs → rangeLin-Cr4NRYc9.cjs} +1 -1
  293. package/dist/{realtimeEvolutionMap-BUnD3JjE.cjs → realtimeEvolutionMap-CCisvZz8.cjs} +1 -1
  294. package/dist/{realtimeEvolutionMap-DZ6yniwl.js → realtimeEvolutionMap-xJwuPatp.js} +2 -2
  295. package/dist/{regionBar-mMaN5NEc.cjs → regionBar-C8myvRfQ.cjs} +1 -1
  296. package/dist/{regionBar-vp5D52Jd.js → regionBar-D1iKcs2-.js} +2 -2
  297. package/dist/{request-CMbwWTDF.js → request-C-rUicMg.js} +5 -5
  298. package/dist/{request-DegEaaCG.cjs → request-Cxljxwu9.cjs} +1 -1
  299. package/dist/{retainer1-Xvdlh-B_.js → retainer1-BvzeaTtU.js} +84 -76
  300. package/dist/retainer1-CC6TO-vq.cjs +1 -0
  301. package/dist/{retainer2-D3a-c_BA.js → retainer2-BeakFCgo.js} +101 -93
  302. package/dist/retainer2-CmdgkB1y.cjs +1 -0
  303. package/dist/{retainerRecordList-BJbPsJ4D.js → retainerRecordList-C7lDliOb.js} +2 -2
  304. package/dist/{retainerRecordList-Rqnoz6_6.cjs → retainerRecordList-C9xVt3Yk.cjs} +1 -1
  305. package/dist/retainerRecordListAPP-BRmG7UnF.cjs +1 -0
  306. package/dist/{retainerRecordListAPP-CNntGyA-.js → retainerRecordListAPP-Cjip5JHS.js} +44 -42
  307. package/dist/{ringTopN-BFKlXqGX.js → ringTopN-BaKY-79s.js} +5 -5
  308. package/dist/{ringTopN-CsouIsk1.cjs → ringTopN-Wfvu1-jE.cjs} +1 -1
  309. package/dist/{riskRegionTable-DttMvHe5.cjs → riskRegionTable-C7ee9wQX.cjs} +1 -1
  310. package/dist/{riskRegionTable-B6k4uM0_.js → riskRegionTable-ovBbwMl2.js} +2 -2
  311. package/dist/{sankey-CAuBQaYh.cjs → sankey-BmWOGLSZ.cjs} +1 -1
  312. package/dist/{sankey-DEQK7uU6.js → sankey-K5BLueeX.js} +7 -7
  313. package/dist/{sausage-xU3hOdxD.js → sausage-DTfIyvVP.js} +1 -1
  314. package/dist/{scd-qaap6hGW.cjs → scd-CCNgUI2Q.cjs} +1 -1
  315. package/dist/{scd-D5TicpCZ.js → scd-CMVoKjwE.js} +2 -2
  316. package/dist/{sectorHelper-DIlWFMnU.js → sectorHelper-Ba-1dnRr.js} +1 -1
  317. package/dist/{sideMenu-D-73DoYb.cjs → sideMenu-BbiMVHw1.cjs} +1 -1
  318. package/dist/{sideMenu-ByyrOOYh.js → sideMenu-L_dYXVgD.js} +2 -2
  319. package/dist/{slopeStability-CTN6Kpva.cjs → slopeStability-BWVxuRRV.cjs} +1 -1
  320. package/dist/{slopeStability-BtgMH3oW.js → slopeStability-WUcwG1vB.js} +22 -22
  321. package/dist/{speedCurve-C5NoQCjK.cjs → speedCurve-QTXe81e1.cjs} +1 -1
  322. package/dist/{speedCurve-CInn7NAC.js → speedCurve-uwPuIJp0.js} +4 -4
  323. package/dist/{stressFilterBar-D_QqOHna.js → stressFilterBar-CnFNp7BR.js} +2 -2
  324. package/dist/{stressFilterBar-Cpfbmllu.cjs → stressFilterBar-DcqWlqsx.cjs} +1 -1
  325. package/dist/{stressTimeCurve-Bp6Cevk1.cjs → stressTimeCurve-C-qycuZ2.cjs} +1 -1
  326. package/dist/{stressTimeCurve-1HXHUj-F.js → stressTimeCurve-C3r3LUBt.js} +3 -3
  327. package/dist/{swiper-D_y4Fj_D.js → swiper-JShIvM0E.js} +2 -2
  328. package/dist/{swiper-B8YZ2VQ2.cjs → swiper-wWrsPbDA.cjs} +1 -1
  329. package/dist/{terminalConfigList-CHbA4y-S.js → terminalConfigList-DVhEvcTB.js} +2 -2
  330. package/dist/{terminalConfigList-B39cEptG.cjs → terminalConfigList-nQqB1W5s.cjs} +1 -1
  331. package/dist/terminalList-BkMuHXZw.cjs +1 -0
  332. package/dist/{terminalList-oJFrGVtT.js → terminalList-wAz6t4Ib.js} +77 -77
  333. package/dist/terminalListAPP-CePxWgcL.cjs +1 -0
  334. package/dist/terminalListAPP-DuLN2OVq.js +1935 -0
  335. package/dist/{textbox-DPoyxB4u.cjs → textbox-BBi-Lg1Z.cjs} +1 -1
  336. package/dist/{textbox-D8nmoGjG.js → textbox-DxXuhIyj.js} +2 -2
  337. package/dist/{timeQueryBar-uUGotoTx.cjs → timeQueryBar-BCTeL04F.cjs} +1 -1
  338. package/dist/{timeQueryBar-DyC0iHq9.js → timeQueryBar-DtngkLJX.js} +1 -1
  339. package/dist/{timeSeries-U91gMDDQ.js → timeSeries-CrdyAYs2.js} +3 -3
  340. package/dist/{timeSeries-BhlqgEOq.cjs → timeSeries-DJZnExBA.cjs} +1 -1
  341. package/dist/{timeSeriesCurve-DOhIS88N.js → timeSeriesCurve-8_exdGlQ.js} +3 -3
  342. package/dist/{timeSeriesCurve-CiRMnZRD.cjs → timeSeriesCurve-8_n0JJyf.cjs} +1 -1
  343. package/dist/{toggleBtn-CuWwHFjD.cjs → toggleBtn-B6dJ5cAt.cjs} +1 -1
  344. package/dist/{toggleBtn-DE35dkxx.js → toggleBtn-DExYfMvi.js} +7 -7
  345. package/dist/{trajectoryConfigPanel-DAbF8oE9.cjs → trajectoryConfigPanel-B2fwoe-I.cjs} +1 -1
  346. package/dist/{trajectoryConfigPanel-Ye7NY6rd.js → trajectoryConfigPanel-Ce1SoMtw.js} +1 -1
  347. package/dist/{trajectoryScatter-Dg99HzM3.cjs → trajectoryScatter-CVLEXMPO.cjs} +1 -1
  348. package/dist/{trajectoryScatter-DL7HUNJI.js → trajectoryScatter-h32teAQ0.js} +6 -6
  349. package/dist/{universalConfigPanel-CkyIDl_x.js → universalConfigPanel-CxbrIc2Z.js} +1 -1
  350. package/dist/{universalConfigPanel-1svBCvD9.cjs → universalConfigPanel-cRzJmx3l.cjs} +1 -1
  351. package/dist/{universalTable--dpnyNO2.js → universalTable-BssAi-QH.js} +2 -2
  352. package/dist/{universalTable-D8w7FQbl.cjs → universalTable-V604pFVr.cjs} +1 -1
  353. package/dist/{universalTransition-Bv7ibBUh.js → universalTransition-tYQs2a4D.js} +2 -2
  354. package/dist/{video-RGIZoUn6.cjs → video-B8JeGpBc.cjs} +1 -1
  355. package/dist/{video-BmMSRRa_.js → video-BjmIbrRS.js} +2 -2
  356. package/dist/{videoMonitor-Bo5T0MT_.cjs → videoMonitor-B6FzkJlS.cjs} +1 -1
  357. package/dist/{videoMonitor-uf6tt2E6.js → videoMonitor-CVkFwlZq.js} +4 -4
  358. package/dist/{vlu-D8l5zE_P.js → vlu-CHHDngO6.js} +2 -2
  359. package/dist/{vlu-DEo_h1qN.cjs → vlu-Dv1vt9r0.cjs} +1 -1
  360. package/dist/{warningOverview-A5AA_vCc.cjs → warningOverview-4M-WX3Ob.cjs} +1 -1
  361. package/dist/{warningOverview-CA0PikjV.js → warningOverview-DDOm2wwB.js} +3 -3
  362. package/dist/{weather-D20MGzuJ.cjs → weather-BGrOQFPM.cjs} +1 -1
  363. package/dist/{weather-DuseqeNF.js → weather-CETxcsJS.js} +2 -2
  364. package/dist/{windLin-D8AUL_dV.js → windLin-B3YXltBn.js} +10 -10
  365. package/dist/{windLin-BU6Q87dE.cjs → windLin-B6uEtUnB.cjs} +1 -1
  366. package/package.json +1 -1
  367. package/dist/BaseComponent-Chnv4fBT.cjs +0 -1
  368. package/dist/bar-C38h_mUA.js +0 -246
  369. package/dist/bar-Cru6WosS.cjs +0 -2
  370. package/dist/bmp-BXaEkkpa.cjs +0 -1
  371. package/dist/bmp-BnSOaFEr.js +0 -226
  372. package/dist/clt-CmPPtp9c.cjs +0 -1
  373. package/dist/clt-D5i_8-pq.js +0 -293
  374. package/dist/cmc-8jH3DGv9.cjs +0 -1
  375. package/dist/cmp-CpmGtNal.cjs +0 -6
  376. package/dist/composite-CbsUYl-u.js +0 -136
  377. package/dist/composite-Cf24lSyN.cjs +0 -1
  378. package/dist/composite-CsFgfxih.js +0 -323
  379. package/dist/composite-DLmzZNIj.cjs +0 -3
  380. package/dist/ctrBtn-OOgL9esv.cjs +0 -1
  381. package/dist/ctrSet-Btg2T9w6.js +0 -247
  382. package/dist/ctrSet-CifyJt05.cjs +0 -1
  383. package/dist/ctrSwitch-C8mwxLPe.cjs +0 -1
  384. package/dist/ele-cmp-icon-CEP91RUe.js +0 -5
  385. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +0 -1
  386. package/dist/gag-1bvAZ5m6.cjs +0 -1
  387. package/dist/gag-D2obj7AF.js +0 -160
  388. package/dist/index-DVqMfQVc.cjs +0 -612
  389. package/dist/index-mAPVa0s4.cjs +0 -11
  390. package/dist/install-BBrAry2m.js +0 -8
  391. package/dist/install-BRjgycz_.cjs +0 -1
  392. package/dist/install-BamnGDPb.cjs +0 -1
  393. package/dist/install-D7znHb-b.js +0 -604
  394. package/dist/install-DWm3j_D3.js +0 -38
  395. package/dist/mix-control-modal-DwxwW65v.cjs +0 -1
  396. package/dist/mix-control-modal-Qg_mzyT_.js +0 -145
  397. package/dist/mixMap-CJzmC0IR.cjs +0 -1
  398. package/dist/mixMap-E36SDnEa.js +0 -258
  399. package/dist/mixModel-BMRxhvWn.cjs +0 -3
  400. package/dist/mixModel-_McJ6OuH.js +0 -251
  401. package/dist/mixPie-CMOkAe9p.js +0 -168
  402. package/dist/mixPie-MAKXeYVp.cjs +0 -2
  403. package/dist/mixiotObjectListApi-BaeBL318.js +0 -82
  404. package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +0 -1
  405. package/dist/no-image-icon-CPA7RKkF.cjs +0 -1
  406. package/dist/no-image-icon-n2ZlEjxS.js +0 -1864
  407. package/dist/objectListAPP-DCwTyqFp.js +0 -1864
  408. package/dist/objectListAPP-Db5beOAM.cjs +0 -1
  409. package/dist/raceBar-CeybrpCB.cjs +0 -4
  410. package/dist/retainer1-CF2Tr7Zt.cjs +0 -1
  411. package/dist/retainer2-BQVUhgcH.cjs +0 -1
  412. package/dist/retainerRecordListAPP-B4IDQK3C.cjs +0 -1
  413. package/dist/staticLine-BC-zj5yZ.cjs +0 -1
  414. package/dist/staticLine-CLqN4lpU.js +0 -362
  415. package/dist/terminalList-Vf-Dbybr.cjs +0 -1
  416. package/dist/terminalListAPP-CdBG8krw.cjs +0 -1
  417. package/dist/terminalListAPP-DWArp2D4.js +0 -1366
@@ -11,19 +11,19 @@ var ge = (C, m, g) => m in C ? je(C, m, { enumerable: !0, configurable: !0, writ
11
11
  return C;
12
12
  }, me = (C, m) => qe(C, Xe(m));
13
13
  var U = (C, m, g) => new Promise((J, _) => {
14
- var ie = (E) => {
14
+ var ie = (M) => {
15
15
  try {
16
- N(g.next(E));
16
+ N(g.next(M));
17
17
  } catch (K) {
18
18
  _(K);
19
19
  }
20
- }, ae = (E) => {
20
+ }, ae = (M) => {
21
21
  try {
22
- N(g.throw(E));
22
+ N(g.throw(M));
23
23
  } catch (K) {
24
24
  _(K);
25
25
  }
26
- }, N = (E) => E.done ? J(E.value) : Promise.resolve(E.value).then(ie, ae);
26
+ }, N = (M) => M.done ? J(M.value) : Promise.resolve(M.value).then(ie, ae);
27
27
  N((g = g.apply(C, m)).next());
28
28
  });
29
29
  import { ElInput as Je, ElIcon as Qe, ElSelect as Ge, ElOption as Ye, ElButton as Ze, ElTable as et, ElTableColumn as tt, ElTag as lt, ElPagination as it, ElLoadingDirective as at, ElDialog as nt, ElForm as ot, ElFormItem as rt, ElDescriptions as st, ElDescriptionsItem as ut } from "element-plus/es";
@@ -43,11 +43,11 @@ import "element-plus/es/components/select/style/css";
43
43
  import "element-plus/es/components/option/style/css";
44
44
  import "element-plus/es/components/input/style/css";
45
45
  import "element-plus/es/components/icon/style/css";
46
- import { defineComponent as dt, computed as ce, reactive as he, ref as D, watch as mt, onMounted as ct, openBlock as c, createElementBlock as L, Fragment as T, withDirectives as ke, normalizeStyle as _e, unref as w, normalizeClass as pt, toDisplayString as y, createCommentVNode as S, createElementVNode as le, createVNode as a, withKeys as bt, withCtx as n, createTextVNode as s, createBlock as B, renderList as H, renderSlot as ft } from "vue";
46
+ import { defineComponent as dt, computed as pe, reactive as he, ref as D, watch as mt, onMounted as pt, openBlock as p, createElementBlock as L, Fragment as T, withDirectives as ke, normalizeStyle as _e, unref as w, normalizeClass as ct, toDisplayString as y, createCommentVNode as S, createElementVNode as le, createVNode as a, withKeys as bt, withCtx as n, createTextVNode as s, createBlock as B, renderList as H, renderSlot as ft } from "vue";
47
47
  import { u as vt } from "./useTableBodyHeight-CwrQvi7M.js";
48
48
  import { u as yt } from "./useMixiotPanelSurface-DRl3cZvc.js";
49
- import { B as gt } from "./BaseComponent-CBagahPU.js";
50
- import { a as z, _ as ht } from "./index-DwPJu6XM.js";
49
+ import { B as gt } from "./BaseComponent-NnwLq7Cf.js";
50
+ import { a as z, _ as ht } from "./index-D5BukPPY.js";
51
51
  import { g as kt } from "./titleStyle-BT5GlpAb.js";
52
52
  import { ElMessage as b, ElMessageBox as we } from "element-plus";
53
53
  import { Search as _t } from "@element-plus/icons-vue";
@@ -171,7 +171,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
171
171
  { key: "maker", label: "生产厂家", checkable: !0, checkboxKey: "maker_visible" },
172
172
  { key: "description", label: "描述", checkable: !0, checkboxKey: "description_visible" },
173
173
  { key: "created", label: "创建时间", checkable: !0, checkboxKey: "created_visible" }
174
- ], Ot = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Et = {
174
+ ], Ot = {
175
175
  isAddCondition: !1,
176
176
  conditions: [],
177
177
  conditionFilterFields: [
@@ -182,7 +182,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
182
182
  { value: "maker", label: "setting.gridFields.deviceMaker" },
183
183
  { value: "config_id", label: "setting.gridFields.configIdentifier" }
184
184
  ]
185
- }, Mt = { DEFAULT: Dt, OPTIONS: Lt, DATA: Be, PARAMS: zt, SOURCE: Ot, COMMON: Et }, Rt = /* @__PURE__ */ dt(me(W({}, Mt), {
185
+ }, Mt = { DEFAULT: Dt, OPTIONS: Lt, DATA: Be, PARAMS: zt, COMMON: Ot }, Et = /* @__PURE__ */ dt(me(W({}, Mt), {
186
186
  __name: "terminalList",
187
187
  props: {
188
188
  conf: { default: () => ({ data: [] }) },
@@ -197,8 +197,8 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
197
197
  const m = C;
198
198
  class g extends gt {
199
199
  getDataBool(e, o) {
200
- var u, p;
201
- const r = (p = (u = this.props.conf) == null ? void 0 : u.data) == null ? void 0 : p[0];
200
+ var u, c;
201
+ const r = (c = (u = this.props.conf) == null ? void 0 : u.data) == null ? void 0 : c[0];
202
202
  return r && Object.prototype.hasOwnProperty.call(r, e) && r[e] !== void 0 ? !!r[e] : this.getOptionValue(e, o);
203
203
  }
204
204
  extractStyles() {
@@ -244,16 +244,16 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
244
244
  showArchiveBtn: !0,
245
245
  showDeleteBtn: !0
246
246
  };
247
- for (const [u, p] of Object.entries(r))
248
- o[u] === void 0 && (o[u] = p);
247
+ for (const [u, c] of Object.entries(r))
248
+ o[u] === void 0 && (o[u] = c);
249
249
  }
250
250
  }
251
251
  }
252
252
  const J = new g(m, "terminalList");
253
253
  J.setupLifecycle();
254
- const _ = J.getStyle(), { mixiotPanelClass: ie, mixiotPanelRootStyle: ae } = yt(_), { tableWrapRef: N, tableBodyHeight: E } = vt(), K = ce(() => kt(m.conf.options)), Ce = ce(() => {
255
- var o, r, u, p;
256
- const i = ((r = (o = m.conf) == null ? void 0 : o.options) == null ? void 0 : r.columns) || [], e = ((p = (u = m.conf) == null ? void 0 : u.data) == null ? void 0 : p[0]) || {};
254
+ const _ = J.getStyle(), { mixiotPanelClass: ie, mixiotPanelRootStyle: ae } = yt(_), { tableWrapRef: N, tableBodyHeight: M } = vt(), K = pe(() => kt(m.conf.options)), Ce = pe(() => {
255
+ var o, r, u, c;
256
+ const i = ((r = (o = m.conf) == null ? void 0 : o.options) == null ? void 0 : r.columns) || [], e = ((c = (u = m.conf) == null ? void 0 : u.data) == null ? void 0 : c[0]) || {};
257
257
  return (Array.isArray(i) ? i : []).map((d) => {
258
258
  const O = e[d.key], R = `${d.key}_visible`, I = e[R];
259
259
  return {
@@ -272,7 +272,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
272
272
  { label: "数据模拟", value: "Mixlinker DataSimulate" },
273
273
  { label: "UFS", value: "UFS" }
274
274
  ];
275
- function pe(i) {
275
+ function ce(i) {
276
276
  if (i == null || i === "") return "";
277
277
  const e = String(i), o = ne.find((r) => r.value === e);
278
278
  return o ? o.label : e;
@@ -312,8 +312,8 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
312
312
  u = u.filter((O) => d.has(String(O.uid)));
313
313
  }
314
314
  se.value = u;
315
- const p = r == null ? void 0 : r.total_records;
316
- x.total = typeof p == "number" ? p : u.length, o && o.code !== void 0 && o.code !== 200 && console.warn("[terminalList] 列表接口非成功", o.msg || o.info, o);
315
+ const c = r == null ? void 0 : r.total_records;
316
+ x.total = typeof c == "number" ? c : u.length, o && o.code !== void 0 && o.code !== 200 && console.warn("[terminalList] 列表接口非成功", o.msg || o.info, o);
317
317
  } catch (o) {
318
318
  console.error(o), se.value = [], x.total = 0;
319
319
  } finally {
@@ -321,9 +321,9 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
321
321
  }
322
322
  });
323
323
  }
324
- const Se = ce(() => se.value);
324
+ const Se = pe(() => se.value);
325
325
  function xe(i, e) {
326
- if (e === "type") return pe(i.type);
326
+ if (e === "type") return ce(i.type);
327
327
  const o = $(i, e);
328
328
  return o == null ? "" : String(o);
329
329
  }
@@ -354,7 +354,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
354
354
  function ze() {
355
355
  b.info("批量刷新请在 mixui「终端管理」中操作(需 user_action 接口)");
356
356
  }
357
- const P = D(!1), j = D(!1), M = D(!1), G = D([]), l = he({
357
+ const P = D(!1), j = D(!1), E = D(!1), G = D([]), l = he({
358
358
  id: 0,
359
359
  uid: "",
360
360
  name: "",
@@ -390,17 +390,17 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
390
390
  Y(), yield fe(), P.value = !0;
391
391
  });
392
392
  }
393
- function Ee(i) {
393
+ function Me(i) {
394
394
  return U(this, null, function* () {
395
- var e, o, r, u, p, d, O, R, I, ee, h, q, F, v, te, X, t;
396
- Y(), j.value = !0, M.value = !0, yield fe();
395
+ var e, o, r, u, c, d, O, R, I, ee, h, q, F, v, te, X, t;
396
+ Y(), j.value = !0, E.value = !0, yield fe();
397
397
  try {
398
398
  const k = yield z.post("terminal_item", { uid: i.uid }, !0), V = (e = k == null ? void 0 : k.result) != null ? e : k;
399
- V && typeof V == "object" ? (l.id = Number(V.id) || 0, l.uid = String((r = (o = V.uid) != null ? o : i.uid) != null ? r : ""), l.name = String((u = V.name) != null ? u : ""), l.alias = String((p = V.alias) != null ? p : ""), l.type = String((d = V.type) != null ? d : "Mixlinker Aprus-X"), l.config_id = String((O = V.config_id) != null ? O : ""), l.maker = String((R = V.maker) != null ? R : ""), l.description = String((I = V.description) != null ? I : ""), l.rsa_privatekey = String((ee = V.rsa_privatekey) != null ? ee : ""), l.auto_upgrade = Number(V.auto_upgrade) || 0, l.is_available = V.is_available !== void 0 ? Number(V.is_available) : 1) : (l.uid = String(i.uid), l.name = String((h = i.name) != null ? h : ""), l.alias = String((q = i.alias) != null ? q : ""), l.type = String((F = i.type) != null ? F : "Mixlinker Aprus-X"), l.config_id = String((v = i.config_id) != null ? v : ""), l.maker = String((te = i.maker) != null ? te : ""), l.description = String((X = i.description) != null ? X : ""));
399
+ V && typeof V == "object" ? (l.id = Number(V.id) || 0, l.uid = String((r = (o = V.uid) != null ? o : i.uid) != null ? r : ""), l.name = String((u = V.name) != null ? u : ""), l.alias = String((c = V.alias) != null ? c : ""), l.type = String((d = V.type) != null ? d : "Mixlinker Aprus-X"), l.config_id = String((O = V.config_id) != null ? O : ""), l.maker = String((R = V.maker) != null ? R : ""), l.description = String((I = V.description) != null ? I : ""), l.rsa_privatekey = String((ee = V.rsa_privatekey) != null ? ee : ""), l.auto_upgrade = Number(V.auto_upgrade) || 0, l.is_available = V.is_available !== void 0 ? Number(V.is_available) : 1) : (l.uid = String(i.uid), l.name = String((h = i.name) != null ? h : ""), l.alias = String((q = i.alias) != null ? q : ""), l.type = String((F = i.type) != null ? F : "Mixlinker Aprus-X"), l.config_id = String((v = i.config_id) != null ? v : ""), l.maker = String((te = i.maker) != null ? te : ""), l.description = String((X = i.description) != null ? X : ""));
400
400
  } catch (k) {
401
401
  l.uid = String(i.uid), l.name = String((t = i.name) != null ? t : ""), b.warning("拉取终端详情失败,已使用列表行数据编辑");
402
402
  } finally {
403
- M.value = !1;
403
+ E.value = !1;
404
404
  }
405
405
  });
406
406
  }
@@ -420,20 +420,20 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
420
420
  addition: "[]"
421
421
  };
422
422
  }
423
- function Me() {
423
+ function Ee() {
424
424
  return U(this, null, function* () {
425
425
  var i, e;
426
426
  if (!((i = l.uid) != null && i.trim()) || !((e = l.name) != null && e.trim())) {
427
427
  b.warning("请填写终端编号与名称");
428
428
  return;
429
429
  }
430
- M.value = !0;
430
+ E.value = !0;
431
431
  try {
432
432
  yield z.post("terminal_create", me(W({}, ve()), { id: 0 }), !0), b.success("添加成功"), P.value = !1, yield A();
433
433
  } catch (o) {
434
434
  b.error("添加失败");
435
435
  } finally {
436
- M.value = !1;
436
+ E.value = !1;
437
437
  }
438
438
  });
439
439
  }
@@ -444,13 +444,13 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
444
444
  b.warning("请填写终端名称");
445
445
  return;
446
446
  }
447
- M.value = !0;
447
+ E.value = !0;
448
448
  try {
449
449
  yield z.post("terminal_update", ve(), !0), b.success("保存成功"), j.value = !1, yield A();
450
450
  } catch (e) {
451
451
  b.error("保存失败");
452
452
  } finally {
453
- M.value = !1;
453
+ E.value = !1;
454
454
  }
455
455
  });
456
456
  }
@@ -488,8 +488,8 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
488
488
  }
489
489
  function Ne(i) {
490
490
  return U(this, null, function* () {
491
- var u, p;
492
- const e = String((u = i.uid) != null ? u : ""), o = String((p = i.type) != null ? p : ""), r = e.startsWith("AX") || o === "Mixlinker Aprus-X" || o.includes("Aprus-X") ? "AXUpgrade" : "Upgrade";
491
+ var u, c;
492
+ const e = String((u = i.uid) != null ? u : ""), o = String((c = i.type) != null ? c : ""), r = e.startsWith("AX") || o === "Mixlinker Aprus-X" || o.includes("Aprus-X") ? "AXUpgrade" : "Upgrade";
493
493
  try {
494
494
  (yield z.post("upgrade_lua", { terminal_id: i.uid, command: r, value: "LUA" }, !0)).code === 200 && (b.success("已下发升级指令"), yield A());
495
495
  } catch (d) {
@@ -503,8 +503,8 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
503
503
  try {
504
504
  const o = yield z.post("download_last_lua_file", { terminal_id: i.uid }, !0), r = (e = o == null ? void 0 : o.result) != null ? e : o == null ? void 0 : o.data;
505
505
  if (r instanceof Blob) {
506
- const u = URL.createObjectURL(r), p = document.createElement("a");
507
- p.href = u, p.download = `${i.uid}.lua`, p.click(), URL.revokeObjectURL(u), b.success("已开始下载");
506
+ const u = URL.createObjectURL(r), c = document.createElement("a");
507
+ c.href = u, c.download = `${i.uid}.lua`, c.click(), URL.revokeObjectURL(u), b.success("已开始下载");
508
508
  } else
509
509
  b.warning("未收到文件数据,请在 mixui 中下载");
510
510
  } catch (o) {
@@ -528,16 +528,16 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
528
528
  })).catch(() => {
529
529
  });
530
530
  }
531
- return ct(() => {
531
+ return pt(() => {
532
532
  A();
533
533
  }), (i, e) => {
534
- const o = Qe, r = Je, u = Ye, p = Ge, d = Ze, O = lt, R = tt, I = et, ee = it, h = rt, q = ot, F = nt, v = ut, te = st, X = at;
535
- return c(), L(T, null, [
536
- ke((c(), L("div", {
537
- class: pt(["terminal-list mix-component", w(ie)]),
534
+ const o = Qe, r = Je, u = Ye, c = Ge, d = Ze, O = lt, R = tt, I = et, ee = it, h = rt, q = ot, F = nt, v = ut, te = st, X = at;
535
+ return p(), L(T, null, [
536
+ ke((p(), L("div", {
537
+ class: ct(["terminal-list mix-component", w(ie)]),
538
538
  style: _e(w(ae))
539
539
  }, [
540
- w(_).isHideTitle ? S("", !0) : (c(), L("div", {
540
+ w(_).isHideTitle ? S("", !0) : (p(), L("div", {
541
541
  key: 0,
542
542
  class: "mix-title",
543
543
  style: _e(K.value)
@@ -562,7 +562,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
562
562
  ]),
563
563
  _: 1
564
564
  }, 8, ["modelValue"]),
565
- a(p, {
565
+ a(c, {
566
566
  modelValue: re.value,
567
567
  "onUpdate:modelValue": e[1] || (e[1] = (t) => re.value = t),
568
568
  size: "small",
@@ -611,7 +611,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
611
611
  ])]),
612
612
  _: 1
613
613
  }),
614
- w(_).showAddBtn ? (c(), B(d, {
614
+ w(_).showAddBtn ? (p(), B(d, {
615
615
  key: 0,
616
616
  type: "success",
617
617
  onClick: Oe
@@ -621,7 +621,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
621
621
  ])]),
622
622
  _: 1
623
623
  })) : S("", !0),
624
- w(_).showImportBtn ? (c(), B(d, {
624
+ w(_).showImportBtn ? (p(), B(d, {
625
625
  key: 1,
626
626
  onClick: Le
627
627
  }, {
@@ -630,7 +630,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
630
630
  ])]),
631
631
  _: 1
632
632
  })) : S("", !0),
633
- w(_).showBatchRefreshBtn ? (c(), B(d, {
633
+ w(_).showBatchRefreshBtn ? (p(), B(d, {
634
634
  key: 2,
635
635
  onClick: ze
636
636
  }, {
@@ -648,20 +648,20 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
648
648
  a(I, {
649
649
  data: Se.value,
650
650
  style: { width: "100%" },
651
- height: w(E)
651
+ height: w(M)
652
652
  }, {
653
653
  default: n(() => [
654
- (c(!0), L(T, null, H(Ce.value, (t) => (c(), L(T, {
654
+ (p(!0), L(T, null, H(Ce.value, (t) => (p(), L(T, {
655
655
  key: t.prop
656
656
  }, [
657
- t.visible ? (c(), B(R, {
657
+ t.visible ? (p(), B(R, {
658
658
  key: 0,
659
659
  label: t.label,
660
660
  width: t.width,
661
661
  "min-width": t.minWidth
662
662
  }, {
663
663
  default: n((k) => [
664
- t.prop === "online" ? (c(), B(O, {
664
+ t.prop === "online" ? (p(), B(O, {
665
665
  key: 0,
666
666
  type: oe(k.row) ? "success" : "danger",
667
667
  size: "small"
@@ -670,7 +670,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
670
670
  s(y(oe(k.row) ? "在线" : "离线"), 1)
671
671
  ]),
672
672
  _: 2
673
- }, 1032, ["type"])) : (c(), L("span", xt, y(xe(k.row, t.prop)), 1))
673
+ }, 1032, ["type"])) : (p(), L("span", xt, y(xe(k.row, t.prop)), 1))
674
674
  ]),
675
675
  _: 2
676
676
  }, 1032, ["label", "width", "min-width"])) : S("", !0)
@@ -681,7 +681,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
681
681
  fixed: "right"
682
682
  }, {
683
683
  default: n((t) => [
684
- w(_).showViewBtn ? (c(), B(d, {
684
+ w(_).showViewBtn ? (p(), B(d, {
685
685
  key: 0,
686
686
  size: "small",
687
687
  onClick: (k) => Ie(t.row)
@@ -691,18 +691,18 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
691
691
  ])]),
692
692
  _: 1
693
693
  }, 8, ["onClick"])) : S("", !0),
694
- w(_).showEditBtn ? (c(), B(d, {
694
+ w(_).showEditBtn ? (p(), B(d, {
695
695
  key: 1,
696
696
  size: "small",
697
697
  type: "primary",
698
- onClick: (k) => Ee(t.row)
698
+ onClick: (k) => Me(t.row)
699
699
  }, {
700
700
  default: n(() => [...e[30] || (e[30] = [
701
701
  s("编辑", -1)
702
702
  ])]),
703
703
  _: 1
704
704
  }, 8, ["onClick"])) : S("", !0),
705
- w(_).showSyncBtn ? (c(), B(d, {
705
+ w(_).showSyncBtn ? (p(), B(d, {
706
706
  key: 2,
707
707
  size: "small",
708
708
  onClick: (k) => Te(t.row)
@@ -712,7 +712,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
712
712
  ])]),
713
713
  _: 1
714
714
  }, 8, ["onClick"])) : S("", !0),
715
- w(_).showRestartBtn ? (c(), B(d, {
715
+ w(_).showRestartBtn ? (p(), B(d, {
716
716
  key: 3,
717
717
  size: "small",
718
718
  onClick: (k) => Fe(t.row)
@@ -722,7 +722,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
722
722
  ])]),
723
723
  _: 1
724
724
  }, 8, ["onClick"])) : S("", !0),
725
- w(_).showUpgradeBtn ? (c(), B(d, {
725
+ w(_).showUpgradeBtn ? (p(), B(d, {
726
726
  key: 4,
727
727
  size: "small",
728
728
  onClick: (k) => Ne(t.row)
@@ -732,7 +732,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
732
732
  ])]),
733
733
  _: 1
734
734
  }, 8, ["onClick"])) : S("", !0),
735
- w(_).showDownloadBtn ? (c(), B(d, {
735
+ w(_).showDownloadBtn ? (p(), B(d, {
736
736
  key: 5,
737
737
  size: "small",
738
738
  onClick: (k) => Ke(t.row)
@@ -742,7 +742,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
742
742
  ])]),
743
743
  _: 1
744
744
  }, 8, ["onClick"])) : S("", !0),
745
- w(_).showArchiveBtn ? (c(), B(d, {
745
+ w(_).showArchiveBtn ? (p(), B(d, {
746
746
  key: 6,
747
747
  size: "small",
748
748
  type: "info",
@@ -753,7 +753,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
753
753
  ])]),
754
754
  _: 1
755
755
  }, 8, ["onClick"])) : S("", !0),
756
- w(_).showDeleteBtn ? (c(), B(d, {
756
+ w(_).showDeleteBtn ? (p(), B(d, {
757
757
  key: 7,
758
758
  size: "small",
759
759
  type: "danger",
@@ -808,8 +808,8 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
808
808
  }),
809
809
  a(d, {
810
810
  type: "primary",
811
- loading: M.value,
812
- onClick: Me
811
+ loading: E.value,
812
+ onClick: Ee
813
813
  }, {
814
814
  default: n(() => [...e[38] || (e[38] = [
815
815
  s("保存", -1)
@@ -862,14 +862,14 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
862
862
  required: ""
863
863
  }, {
864
864
  default: n(() => [
865
- a(p, {
865
+ a(c, {
866
866
  modelValue: l.type,
867
867
  "onUpdate:modelValue": e[7] || (e[7] = (t) => l.type = t),
868
868
  class: "w-full",
869
869
  filterable: ""
870
870
  }, {
871
871
  default: n(() => [
872
- (c(), L(T, null, H(ne, (t) => a(u, {
872
+ (p(), L(T, null, H(ne, (t) => a(u, {
873
873
  key: t.value,
874
874
  label: t.label,
875
875
  value: t.value
@@ -882,7 +882,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
882
882
  }),
883
883
  a(h, { label: "终端配置" }, {
884
884
  default: n(() => [
885
- a(p, {
885
+ a(c, {
886
886
  modelValue: l.config_id,
887
887
  "onUpdate:modelValue": e[8] || (e[8] = (t) => l.config_id = t),
888
888
  class: "w-full",
@@ -891,7 +891,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
891
891
  placeholder: "请选择"
892
892
  }, {
893
893
  default: n(() => [
894
- (c(!0), L(T, null, H(G.value, (t) => (c(), B(u, {
894
+ (p(!0), L(T, null, H(G.value, (t) => (p(), B(u, {
895
895
  key: t.uid,
896
896
  label: t.name,
897
897
  value: t.uid
@@ -947,7 +947,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
947
947
  }),
948
948
  a(d, {
949
949
  type: "primary",
950
- loading: M.value,
950
+ loading: E.value,
951
951
  onClick: Re
952
952
  }, {
953
953
  default: n(() => [...e[40] || (e[40] = [
@@ -998,14 +998,14 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
998
998
  required: ""
999
999
  }, {
1000
1000
  default: n(() => [
1001
- a(p, {
1001
+ a(c, {
1002
1002
  modelValue: l.type,
1003
1003
  "onUpdate:modelValue": e[16] || (e[16] = (t) => l.type = t),
1004
1004
  class: "w-full",
1005
1005
  filterable: ""
1006
1006
  }, {
1007
1007
  default: n(() => [
1008
- (c(), L(T, null, H(ne, (t) => a(u, {
1008
+ (p(), L(T, null, H(ne, (t) => a(u, {
1009
1009
  key: t.value,
1010
1010
  label: t.label,
1011
1011
  value: t.value
@@ -1018,7 +1018,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
1018
1018
  }),
1019
1019
  a(h, { label: "终端配置" }, {
1020
1020
  default: n(() => [
1021
- a(p, {
1021
+ a(c, {
1022
1022
  modelValue: l.config_id,
1023
1023
  "onUpdate:modelValue": e[17] || (e[17] = (t) => l.config_id = t),
1024
1024
  class: "w-full",
@@ -1027,7 +1027,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
1027
1027
  placeholder: "请选择"
1028
1028
  }, {
1029
1029
  default: n(() => [
1030
- (c(!0), L(T, null, H(G.value, (t) => (c(), B(u, {
1030
+ (p(!0), L(T, null, H(G.value, (t) => (p(), B(u, {
1031
1031
  key: t.uid,
1032
1032
  label: t.name,
1033
1033
  value: t.uid
@@ -1083,8 +1083,8 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
1083
1083
  })
1084
1084
  ]),
1085
1085
  default: n(() => [
1086
- ke((c(), L("div", At, [
1087
- f.value ? (c(), B(te, {
1086
+ ke((p(), L("div", At, [
1087
+ f.value ? (p(), B(te, {
1088
1088
  key: 0,
1089
1089
  column: 2,
1090
1090
  border: ""
@@ -1119,7 +1119,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
1119
1119
  }),
1120
1120
  a(v, { label: "终端类型" }, {
1121
1121
  default: n(() => [
1122
- s(y(pe(f.value.type)), 1)
1122
+ s(y(ce(f.value.type)), 1)
1123
1123
  ]),
1124
1124
  _: 1
1125
1125
  }),
@@ -1234,7 +1234,7 @@ const Vt = { class: "mix-body" }, St = { class: "toolbar" }, xt = { key: 1 }, Ut
1234
1234
  ], 64);
1235
1235
  };
1236
1236
  }
1237
- })), ml = /* @__PURE__ */ ht(Rt, [["__scopeId", "data-v-90e6bd20"]]);
1237
+ })), dl = /* @__PURE__ */ ht(Et, [["__scopeId", "data-v-52fdb7ae"]]);
1238
1238
  export {
1239
- ml as default
1239
+ dl as default
1240
1240
  };
@@ -0,0 +1 @@
1
+ "use strict";var yt=Object.defineProperty,Vt=Object.defineProperties;var _t=Object.getOwnPropertyDescriptors;var Me=Object.getOwnPropertySymbols;var wt=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable;var Ue=(N,p,_)=>p in N?yt(N,p,{enumerable:!0,configurable:!0,writable:!0,value:_}):N[p]=_,le=(N,p)=>{for(var _ in p||(p={}))wt.call(p,_)&&Ue(N,_,p[_]);if(Me)for(var _ of Me(p))kt.call(p,_)&&Ue(N,_,p[_]);return N},ke=(N,p)=>Vt(N,_t(p));var x=(N,p,_)=>new Promise((oe,h)=>{var ue=E=>{try{J(_.next(E))}catch(U){h(U)}},ce=E=>{try{J(_.throw(E))}catch(U){h(U)}},J=E=>E.done?oe(E.value):Promise.resolve(E.value).then(ue,ce);J((_=_.apply(N,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=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/tabs/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/empty/style/css");require("element-plus/es/components/tab-pane/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/dropdown/style/css");require("element-plus/es/components/dropdown-menu/style/css");require("element-plus/es/components/dropdown-item/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),xt=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Nt=require("./BaseComponent-CaCkjmmb.cjs"),y=require("./index-BzWbqJIl.cjs"),Ct=require("./titleStyle-NSnz6cUg.cjs"),m=require("element-plus"),H=require("@element-plus/icons-vue"),Bt=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),ze=require("./ele-lst-icon-CrxnHZ-A.cjs"),St={key:0,class:"app-title-row"},Et={class:"mix-app-body"},Dt={class:"app-toolbar-row"},Tt={class:"app-card-scroll"},At=["onClick","onKeydown"],Mt={class:"app-card-top"},Ut={class:"app-card-name"},zt={class:"app-card-top-actions"},Lt={class:"app-card-fields"},qt={class:"app-field-label"},Ot={class:"app-field-value"},Rt={key:0,class:"app-card-expand-footer"},Pt=["onClick"],Ft={class:"pagination"},It={class:"pagination-row pagination-row--meta"},jt={class:"pagination-row pagination-row--pager"},Kt={class:"detail-dialog-header"},$t={class:"detail-dialog-title"},Xt={class:"detail-body"},Wt={class:"tab-content tab-baseinfo"},Gt={class:"tab-content tab-object"},Ht={class:"object-list-wrap"},Jt={class:"object-card-name"},Yt={class:"object-card-meta"},Qt={key:0,class:"object-meta"},Zt={key:1,class:"object-meta"},ea={class:"tab-content tab-online"},ta={class:"tab-toolbar"},aa={class:"tab-pager"},la={class:"tab-content tab-grid"},oa={class:"tab-toolbar tab-grid-toolbar"},ia={class:"grid-payload-cell"},na={class:"tab-pager"},ra={DEFAULT_ICON:ze.DEFAULT_ICON,ACTIVE_ICON:ze.ACTIVE_ICON,NAME_CN:"终端列表",NAME_EN:"TerminalListAPP",ORDER:5,PLATFORM:["mobile"]},sa={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:"name",label:"终端名称",width:140,visible:!0},{key:"uid",label:"终端编号",width:140,visible:!0},{key:"alias",label:"终端别名",width:120,visible:!0},{key:"type",label:"终端类型",width:160,visible:!0},{key:"config_id",label:"终端配置编号",width:130,visible:!0},{key:"online",label:"终端状态",width:100,visible:!0},{key:"csq",label:"信号值",width:90,visible:!0},{key:"last_publish_time",label:"最近上报时间",width:170,visible:!0},{key:"last_online_time",label:"上一次连接时间",width:170,visible:!0},{key:"nominal.ICCID",label:"流量卡号",width:160,visible:!0},{key:"nominal.LUA",label:"LUA版本号",width:120,visible:!0},{key:"nominal.MCU",label:"MCU版本号",width:120,visible:!0},{key:"maker",label:"生产厂家",width:120,visible:!0},{key:"description",label:"描述",minWidth:140,visible:!0},{key:"created",label:"创建时间",width:170,visible:!0}]},Le=[{name:"终端名称",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showImportBtn:!0,showBatchRefreshBtn:!0,showViewBtn:!0,showEditBtn:!0,showSyncBtn:!0,showRestartBtn:!0,showUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0,uid:"终端编号",uid_visible:!0,alias:"终端别名",alias_visible:!0,type:"终端类型",type_visible:!0,config_id:"终端配置编号",config_id_visible:!0,online:"终端状态",online_visible:!0,csq:"信号值",csq_visible:!0,last_publish_time:"最近上报时间",last_publish_time_visible:!0,last_online_time:"上一次连接时间",last_online_time_visible:!0,"nominal.ICCID":"流量卡号","nominal.ICCID_visible":!0,"nominal.LUA":"LUA版本号","nominal.LUA_visible":!0,"nominal.MCU":"MCU版本号","nominal.MCU_visible":!0,maker:"生产厂家",maker_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0,appCardDefaultLines:2}],da=[{key:"appCardDefaultLines",label:"APP卡片默认展示行数",type:"number"},{key:"showAddBtn",label:"添加终端",type:"checkbox",group:"命令组"},{key:"showImportBtn",label:"导入",type:"checkbox",group:"命令组"},{key:"showBatchRefreshBtn",label:"批量刷新",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组"},{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showSyncBtn",label:"刷新",type:"checkbox",group:"操作组"},{key:"showRestartBtn",label:"重启",type:"checkbox",group:"操作组"},{key:"showUpgradeBtn",label:"升级",type:"checkbox",group:"操作组"},{key:"showDownloadBtn",label:"下载",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"uid",label:"终端编号",checkable:!0,checkboxKey:"uid_visible"},{key:"alias",label:"终端别名",checkable:!0,checkboxKey:"alias_visible"},{key:"type",label:"终端类型",checkable:!0,checkboxKey:"type_visible"},{key:"config_id",label:"终端配置编号",checkable:!0,checkboxKey:"config_id_visible"},{key:"online",label:"终端状态",checkable:!0,checkboxKey:"online_visible"},{key:"csq",label:"信号值",checkable:!0,checkboxKey:"csq_visible"},{key:"last_publish_time",label:"最近上报时间",checkable:!0,checkboxKey:"last_publish_time_visible"},{key:"last_online_time",label:"上一次连接时间",checkable:!0,checkboxKey:"last_online_time_visible"},{key:"nominal.ICCID",label:"流量卡号",checkable:!0,checkboxKey:"nominal.ICCID_visible"},{key:"nominal.LUA",label:"LUA版本号",checkable:!0,checkboxKey:"nominal.LUA_visible"},{key:"nominal.MCU",label:"MCU版本号",checkable:!0,checkboxKey:"nominal.MCU_visible"},{key:"maker",label:"生产厂家",checkable:!0,checkboxKey:"maker_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"}],ua={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.name"},{value:"uid",label:"setting.gridFields.uid"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"description",label:"setting.gridFields.description"},{value:"maker",label:"setting.gridFields.deviceMaker"},{value:"config_id",label:"setting.gridFields.configIdentifier"}]},ca={DEFAULT:ra,OPTIONS:sa,DATA:Le,PARAMS:da,COMMON:ua},pa=e.defineComponent(ke(le({},ca),{__name:"terminalListAPP",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},code:{default:""},terminalUidList:{default:()=>[]},terminalOnlineFilter:{default:null}},setup(N){const p=N;class _ extends Nt.BaseComponent{getDataBool(t,o){var s,d;const n=(d=(s=this.props.conf)==null?void 0:s.data)==null?void 0:d[0];return n&&Object.prototype.hasOwnProperty.call(n,t)&&n[t]!==void 0?!!n[t]:this.getOptionValue(t,o)}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),showAddBtn:this.getDataBool("showAddBtn",!0),showImportBtn:this.getDataBool("showImportBtn",!0),showBatchRefreshBtn:this.getDataBool("showBatchRefreshBtn",!0),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showSyncBtn:this.getDataBool("showSyncBtn",!0),showRestartBtn:this.getDataBool("showRestartBtn",!0),showUpgradeBtn:this.getDataBool("showUpgradeBtn",!0),showDownloadBtn:this.getDataBool("showDownloadBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){return x(this,null,function*(){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(Le));else{const o=this.props.conf.data[0],n={showAddBtn:!0,showImportBtn:!0,showBatchRefreshBtn:!0,showViewBtn:!0,showEditBtn:!0,showSyncBtn:!0,showRestartBtn:!0,showUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[s,d]of Object.entries(n))o[s]===void 0&&(o[s]=d);(o.appCardDefaultLines===void 0||o.appCardDefaultLines===null||o.appCardDefaultLines==="")&&(o.appCardDefaultLines=2)}})}}const oe=new _(p,"terminalListAPP");oe.setupLifecycle();const h=oe.getStyle(),{mixiotPanelClass:ue,mixiotPanelRootStyle:ce}=xt.useMixiotPanelSurface(h),J=e.computed(()=>Ct.generateTitleStyle(p.conf.options)),E=e.computed(()=>{var o,n,s,d;const l=((n=(o=p.conf)==null?void 0:o.options)==null?void 0:n.columns)||[],t=((d=(s=p.conf)==null?void 0:s.data)==null?void 0:d[0])||{};return(Array.isArray(l)?l:[]).map(g=>{const u=t[g.key],T=`${g.key}_visible`,w=t[T];return{prop:g.key,label:u!==void 0&&u!==""?String(u):g.label,width:g.width,minWidth:g.minWidth,visible:w!==void 0?!!w:g.visible!==!1}})}),U=[{label:"Mixlinker Aprus-M",value:"Mixlinker Aprus-M"},{label:"Mixlinker Aprus-X",value:"Mixlinker Aprus-X"},{label:"Mixlinker Aprus-AS",value:"Mixlinker Aprus-AS"},{label:"第三方终端",value:"Other"},{label:"数据模拟",value:"Mixlinker DataSimulate"},{label:"UFS",value:"UFS"}];function xe(l){if(l==null||l==="")return"";const t=String(l),o=U.find(n=>n.value===t);return o?o.label:t}function f(l,t){return t.split(".").reduce((o,n)=>{if(!(o==null||typeof o!="object"))return o[n]},l)}function P(l){const t=l.online;return t===1||t===!0||t==="1"}const V=e.reactive({current:1,pageSize:10,total:0}),ie=e.ref(""),pe=e.ref("uid"),me=e.ref([]),fe=e.ref(!1);function qe(){const l=[["uid","!=","fidiser"]],t=ie.value.trim();return t&&l.push([pe.value,"like",`%${t}%`]),(p.terminalOnlineFilter===0||p.terminalOnlineFilter===1)&&l.push(["online","=",p.terminalOnlineFilter]),Bt.appendCommonDesignerWhereAnd(p.conf.common,l),{page_index:V.current,page_size:V.pageSize,where_and:JSON.stringify(l)}}function S(){return x(this,null,function*(){var l,t;fe.value=!0;try{const o=yield y.api.post("terminal_list",qe(),!0),n=(l=o==null?void 0:o.result)!=null?l:o;let s=Array.isArray(n==null?void 0:n.data)?[...n.data]:[];if((t=p.terminalUidList)!=null&&t.length){const g=new Set(p.terminalUidList.map(String));s=s.filter(u=>g.has(String(u.uid)))}me.value=s;const d=n==null?void 0:n.total_records;V.total=typeof d=="number"?d:s.length,o&&o.code!==void 0&&o.code!==200&&console.warn("[terminalList] 列表接口非成功",o.msg||o.info,o)}catch(o){console.error(o),me.value=[],V.total=0}finally{fe.value=!1}})}const Oe=e.computed(()=>me.value);function Re(l,t){if(t==="type")return xe(l.type);const o=f(l,t);return o==null?"":String(o)}const Pe=["uid","created","name","description"],Fe=e.computed(()=>{var l,t;return((t=(l=p.conf)==null?void 0:l.data)==null?void 0:t[0])||{}}),Ne=e.computed(()=>{const l=Fe.value,t=Number(l.appCardDefaultLines);return Number.isFinite(t)&&t>=1?Math.min(Math.floor(t),30):2}),ge=e.reactive({}),Ie=e.computed(()=>{var l;return{backgroundColor:h.value.bgColor,borderRadius:`${(l=h.value.radiusSize)!=null?l:8}px`}}),je=e.computed(()=>{const l=E.value.find(t=>t.prop==="online");return!!(l&&l.visible)});function Ke(l){l==="add"?Qe():l==="reset"?We():l==="import"?Je():l==="batchRefresh"&&Ye()}function ve(l,t){var o;return`${t}-${String((o=l.uid)!=null?o:"")}`}function Ce(l,t){return!!ge[ve(l,t)]}function be(l,t){const o=ve(l,t);ge[o]=!ge[o]}function Be(l){const t=[],o=[];for(const n of Pe)o.includes(n)||o.push(n);for(const n of E.value)n.visible&&(o.includes(n.prop)||o.push(n.prop));for(const n of o){const s=E.value.find(d=>d.prop===n&&d.visible);s&&n!=="online"&&t.push({prop:n,label:s.label,text:Re(l,n)})}return t}function $e(l,t){const o=Be(l),n=Ne.value;return Ce(l,t)||o.length<=n?o:o.slice(0,n)}function he(l,t){return Be(l).length>Ne.value}function Xe(l,t,o){const n=o.target;!n||!(n instanceof Element)||n.closest(".app-more-trigger,.el-dropdown,.el-popper,.app-field-expand,.app-mini-more,.app-online-tag,.app-card-top-actions,button,a,input,textarea,select,.el-select,.el-input,.el-tag")||(h.value.showViewBtn?we(l):he(l)&&be(l,t))}function Se(l,t){h.value.showViewBtn?we(l):he(l)&&be(l,t)}function Ee(){V.current=1,S()}function We(){ie.value="",V.current=1,S()}function Ge(){V.current=1,S()}function He(){S()}e.watch(()=>{var l;return[(l=p.terminalUidList)==null?void 0:l.join(","),p.terminalOnlineFilter].join("|")},()=>{V.current=1,S()});function Je(){m.ElMessage.info("批量导入终端请在 mixui「终端管理」中使用导入功能")}function Ye(){m.ElMessage.info("批量刷新请在 mixui「终端管理」中操作(需 user_action 接口)")}const Y=e.ref(!1),Q=e.ref(!1),M=e.ref(!1),ne=e.ref([]),i=e.reactive({id:0,uid:"",name:"",alias:"",type:"Mixlinker Aprus-X",config_id:"",maker:"",description:"",rsa_privatekey:"",auto_upgrade:0,is_available:1});function De(){return x(this,null,function*(){var l;try{const t=yield y.api.post("terminal_config_list",{select:["id","uid","name"]},!0),o=(l=t==null?void 0:t.result)!=null?l:t;ne.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(t){ne.value=[]}})}function re(){i.id=0,i.uid="",i.name="",i.alias="",i.type="Mixlinker Aprus-X",i.config_id="",i.maker="",i.description="",i.rsa_privatekey="",i.auto_upgrade=0,i.is_available=1}function Qe(){return x(this,null,function*(){re(),yield De(),Y.value=!0})}function Ze(l){return x(this,null,function*(){var t,o,n,s,d,g,u,T,w,L,q,k,ee,G,c,te,O;re(),Q.value=!0,M.value=!0,yield De();try{const R=yield y.api.post("terminal_item",{uid:l.uid},!0),b=(t=R==null?void 0:R.result)!=null?t:R;b&&typeof b=="object"?(i.id=Number(b.id)||0,i.uid=String((n=(o=b.uid)!=null?o:l.uid)!=null?n:""),i.name=String((s=b.name)!=null?s:""),i.alias=String((d=b.alias)!=null?d:""),i.type=String((g=b.type)!=null?g:"Mixlinker Aprus-X"),i.config_id=String((u=b.config_id)!=null?u:""),i.maker=String((T=b.maker)!=null?T:""),i.description=String((w=b.description)!=null?w:""),i.rsa_privatekey=String((L=b.rsa_privatekey)!=null?L:""),i.auto_upgrade=Number(b.auto_upgrade)||0,i.is_available=b.is_available!==void 0?Number(b.is_available):1):(i.uid=String(l.uid),i.name=String((q=l.name)!=null?q:""),i.alias=String((k=l.alias)!=null?k:""),i.type=String((ee=l.type)!=null?ee:"Mixlinker Aprus-X"),i.config_id=String((G=l.config_id)!=null?G:""),i.maker=String((c=l.maker)!=null?c:""),i.description=String((te=l.description)!=null?te:""))}catch(R){i.uid=String(l.uid),i.name=String((O=l.name)!=null?O:""),m.ElMessage.warning("拉取终端详情失败,已使用列表行数据编辑")}finally{M.value=!1}})}function Te(){return{id:i.id,uid:i.uid.trim(),name:i.name.trim(),alias:i.alias.trim(),description:i.description,type:i.type,maker:i.maker,config_id:i.config_id,rsa_privatekey:i.rsa_privatekey,auto_upgrade:i.auto_upgrade,is_available:i.is_available,addition:"[]"}}function et(){return x(this,null,function*(){var l,t;if(!((l=i.uid)!=null&&l.trim())||!((t=i.name)!=null&&t.trim())){m.ElMessage.warning("请填写终端编号与名称");return}M.value=!0;try{yield y.api.post("terminal_create",ke(le({},Te()),{id:0}),!0),m.ElMessage.success("添加成功"),Y.value=!1,yield S()}catch(o){m.ElMessage.error("添加失败")}finally{M.value=!1}})}function tt(){return x(this,null,function*(){var l;if(!((l=i.name)!=null&&l.trim())){m.ElMessage.warning("请填写终端名称");return}M.value=!0;try{yield y.api.post("terminal_update",Te(),!0),m.ElMessage.success("保存成功"),Q.value=!1,yield S()}catch(t){m.ElMessage.error("保存失败")}finally{M.value=!1}})}const se=e.ref(!1),ye=e.ref(!1),r=e.ref(null),Z=e.ref("baseinfo"),z=e.ref(!1),F=e.ref([]),at=e.ref(!1),I=e.ref([]),Ve=e.ref(!1),D=e.reactive({current:1,pageSize:10,total:0}),j=e.ref([]),_e=e.ref(!1),B=e.reactive({current:1,pageSize:10,total:0}),K=e.ref("all"),$="YYYY-MM-DD HH:mm:ss",X=e.ref([y.dayjs().subtract(1,"day").format($),y.dayjs().format($)]);function lt(l){return["col_status","cup_temperature","mqtt_info_ip","mqtt_status_connection","col_status_runtime","status_4g","info_4g","status_wifi","info_wifi","status_eth","info_eth","info_mqtt","sys_status","gps","vnp_status"].some(o=>{const n=f(l,o);return n!=null&&n!==""})}function ot(l){return l==null||l===""?"":typeof l=="string"?l:JSON.stringify(l)}function it(){Z.value="baseinfo",z.value=!1,F.value=[],I.value=[],j.value=[],K.value="all",X.value=[y.dayjs().subtract(1,"day").format($),y.dayjs().format($)]}e.watch(Z,l=>{var t,o;l==="object"?F.value=(o=(t=r.value)==null?void 0:t.object_list)!=null?o:[]:l==="online"?I.value.length||de():l==="grid"&&(j.value.length||W())});function we(l){return x(this,null,function*(){var t;r.value=null,F.value=[],I.value=[],j.value=[],D.current=1,B.current=1,K.value="all",X.value=[y.dayjs().subtract(1,"day").format($),y.dayjs().format($)],Z.value="baseinfo",z.value=!1,se.value=!0,ye.value=!0;try{const o=yield y.api.post("terminal_item",{uid:l.uid},!0),n=o==null?void 0:o.result;n&&typeof n=="object"?(r.value=n,F.value=(t=n==null?void 0:n.object_list)!=null?t:[]):(r.value=le({},l),m.ElMessage.warning("未返回详情,已显示列表行数据"))}catch(o){r.value=le({},l),m.ElMessage.warning("加载详情失败,已显示列表行数据")}finally{ye.value=!1}})}function de(){return x(this,null,function*(){var l,t,o;if((l=r.value)!=null&&l.uid){Ve.value=!0;try{const n={terminal_id:r.value.uid,topic:["connected","disconnected"],page_size:D.pageSize,page_index:D.current},s=yield y.api.post("grid_list",n,!0),d=(t=s==null?void 0:s.result)!=null?t:s;I.value=Array.isArray(d==null?void 0:d.data)?d.data:[],D.total=(o=d==null?void 0:d.total_records)!=null?o:0}catch(n){I.value=[],D.total=0}finally{Ve.value=!1}}})}function nt(){D.current=1,de()}function W(){return x(this,null,function*(){var l,t,o,n,s;if((l=r.value)!=null&&l.uid){_e.value=!0;try{const d={terminal_id:r.value.uid,topic:K.value==="all"?[]:[K.value],start_time:((t=X.value)==null?void 0:t[0])||"",end_time:((o=X.value)==null?void 0:o[1])||"",page_size:B.pageSize,page_index:B.current},g=yield y.api.post("grid_list",d,!0),u=(n=g==null?void 0:g.result)!=null?n:g;j.value=Array.isArray(u==null?void 0:u.data)?u.data:[],B.total=(s=u==null?void 0:u.total_records)!=null?s:0}catch(d){j.value=[],B.total=0}finally{_e.value=!1}}})}function rt(){B.current=1,W()}function st(){B.current=1,W()}function dt(){B.current=1,W()}function ut(l){return x(this,null,function*(){try{(yield y.api.post("terminal_sync",{terminal_id:l.uid},!0)).code===200&&(m.ElMessage.success("已触发同步"),yield S())}catch(t){m.ElMessage.error("同步失败")}})}function ct(l){return x(this,null,function*(){try{(yield y.api.post("terminal_restart",{terminal_id:l.uid,command:"Reboot"},!0)).code===200&&(m.ElMessage.success("已下发重启指令"),yield S())}catch(t){m.ElMessage.error("重启指令失败")}})}function pt(l){return x(this,null,function*(){var s,d;const t=String((s=l.uid)!=null?s:""),o=String((d=l.type)!=null?d:""),n=t.startsWith("AX")||o==="Mixlinker Aprus-X"||o.includes("Aprus-X")?"AXUpgrade":"Upgrade";try{(yield y.api.post("upgrade_lua",{terminal_id:l.uid,command:n,value:"LUA"},!0)).code===200&&(m.ElMessage.success("已下发升级指令"),yield S())}catch(g){m.ElMessage.error("升级指令失败")}})}function mt(l){return x(this,null,function*(){var t;try{const o=yield y.api.post("download_last_lua_file",{terminal_id:l.uid},!0),n=(t=o==null?void 0:o.result)!=null?t:o==null?void 0:o.data;if(n instanceof Blob){const s=URL.createObjectURL(n),d=document.createElement("a");d.href=s,d.download=`${l.uid}.lua`,d.click(),URL.revokeObjectURL(s),m.ElMessage.success("已开始下载")}else m.ElMessage.warning("未收到文件数据,请在 mixui 中下载")}catch(o){m.ElMessage.error("下载失败")}})}function ft(l){m.ElMessageBox.confirm(`确认对终端「${l.name||l.uid}」进行资料备档吗?`,"提示",{type:"info"}).then(()=>{m.ElMessage.success("已提交备档(完整流程请在 mixui 终端管理中操作)")}).catch(()=>{})}function gt(l){m.ElMessageBox.confirm(`确认删除终端「${l.name||l.uid}」吗?`,"警告",{type:"warning"}).then(()=>x(null,null,function*(){try{yield y.api.post("terminal_delete",{uid:l.uid,id:l.id},!0),m.ElMessage.success("删除成功"),yield S()}catch(t){m.ElMessage.error("删除失败")}})).catch(()=>{})}function vt(l,t){l==="view"?we(t):l==="edit"?Ze(t):l==="sync"?ut(t):l==="restart"?ct(t):l==="upgrade"?pt(t):l==="download"?mt(t):l==="archive"?ft(t):l==="delete"&&gt(t)}return e.onMounted(()=>{S()}),(l,t)=>{const o=v.ElIcon,n=v.ElButton,s=v.ElDropdownItem,d=v.ElDropdownMenu,g=v.ElDropdown,u=v.ElOption,T=v.ElSelect,w=v.ElInput,L=v.ElTag,q=v.ElPagination,k=v.ElFormItem,ee=v.ElForm,G=v.ElDialog,c=v.ElDescriptionsItem,te=v.ElDescriptions,O=v.ElTabPane,R=v.ElEmpty,b=v.ElTableColumn,Ae=v.ElTable,bt=v.ElDatePicker,ht=v.ElTabs,ae=v.ElLoadingDirective;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(["terminal-list-app mixiot-list-app mix-component",e.unref(ue)]),style:e.normalizeStyle(e.unref(ce))},[e.unref(h).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("div",{class:"app-title-text",style:e.normalizeStyle(J.value)},e.toDisplayString(N.conf.caption||N.conf.name),5),e.createVNode(g,{trigger:"click",onCommand:Ke},{dropdown:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.unref(h).showAddBtn?(e.openBlock(),e.createBlock(s,{key:0,command:"add"},{default:e.withCtx(()=>[...t[36]||(t[36]=[e.createTextVNode("添加终端",-1)])]),_:1})):e.createCommentVNode("",!0),e.createVNode(s,{command:"reset"},{default:e.withCtx(()=>[...t[37]||(t[37]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(h).showImportBtn?(e.openBlock(),e.createBlock(s,{key:1,command:"import"},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("导入",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showBatchRefreshBtn?(e.openBlock(),e.createBlock(s,{key:2,command:"batchRefresh"},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("批量刷新",-1)])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),default:e.withCtx(()=>[e.createVNode(n,{type:"primary",circle:"",size:"small",class:"app-add-btn",onClick:t[0]||(t[0]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createVNode(o,null,{default:e.withCtx(()=>[e.createVNode(e.unref(H.Plus))]),_:1})]),_:1})]),_:1})])),e.withDirectives((e.openBlock(),e.createElementBlock("div",Et,[e.createElementVNode("div",Dt,[e.createVNode(T,{modelValue:pe.value,"onUpdate:modelValue":t[1]||(t[1]=a=>pe.value=a),class:"app-field-select"},{default:e.withCtx(()=>[e.createVNode(u,{label:"终端名称",value:"name"}),e.createVNode(u,{label:"终端编号",value:"uid"}),e.createVNode(u,{label:"终端别名",value:"alias"}),e.createVNode(u,{label:"描述",value:"description"}),e.createVNode(u,{label:"生产厂家",value:"maker"}),e.createVNode(u,{label:"终端配置编号",value:"config_id"})]),_:1},8,["modelValue"]),e.createVNode(w,{modelValue:ie.value,"onUpdate:modelValue":t[2]||(t[2]=a=>ie.value=a),placeholder:"输入关键词搜索",clearable:"",class:"app-search-input",onKeyup:e.withKeys(Ee,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(o,null,{default:e.withCtx(()=>[e.createVNode(e.unref(H.Search))]),_:1})]),append:e.withCtx(()=>[e.createVNode(n,{type:"primary",class:"app-toolbar-search-btn",onClick:Ee},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("搜索",-1)])]),_:1})]),_:1},8,["modelValue"])]),e.createElementVNode("div",Tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Oe.value,(a,C)=>(e.openBlock(),e.createElementBlock("div",{key:ve(a,C),class:"app-object-card",style:e.normalizeStyle(Ie.value),role:"button",tabindex:"0",onClick:A=>Xe(a,C,A),onKeydown:[e.withKeys(e.withModifiers(A=>Se(a,C),["prevent"]),["enter"]),e.withKeys(e.withModifiers(A=>Se(a,C),["prevent"]),["space"])]},[e.createElementVNode("div",Mt,[e.createElementVNode("div",Ut,e.toDisplayString(a.name||a.uid||"—"),1),e.createElementVNode("div",zt,[je.value?(e.openBlock(),e.createBlock(L,{key:0,type:P(a)?"success":"danger",size:"small",class:"app-online-tag"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P(a)?"在线":"离线"),1)]),_:2},1032,["type"])):e.createCommentVNode("",!0),e.createVNode(g,{trigger:"click",onCommand:A=>vt(A,a)},{dropdown:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.unref(h).showViewBtn?(e.openBlock(),e.createBlock(s,{key:0,command:"view"},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("查看",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showEditBtn?(e.openBlock(),e.createBlock(s,{key:1,command:"edit"},{default:e.withCtx(()=>[...t[42]||(t[42]=[e.createTextVNode("编辑",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showSyncBtn?(e.openBlock(),e.createBlock(s,{key:2,command:"sync"},{default:e.withCtx(()=>[...t[43]||(t[43]=[e.createTextVNode("刷新",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showRestartBtn?(e.openBlock(),e.createBlock(s,{key:3,command:"restart"},{default:e.withCtx(()=>[...t[44]||(t[44]=[e.createTextVNode("重启",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showUpgradeBtn?(e.openBlock(),e.createBlock(s,{key:4,command:"upgrade"},{default:e.withCtx(()=>[...t[45]||(t[45]=[e.createTextVNode("升级",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showDownloadBtn?(e.openBlock(),e.createBlock(s,{key:5,command:"download"},{default:e.withCtx(()=>[...t[46]||(t[46]=[e.createTextVNode("下载",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showArchiveBtn?(e.openBlock(),e.createBlock(s,{key:6,command:"archive"},{default:e.withCtx(()=>[...t[47]||(t[47]=[e.createTextVNode("资料备档",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(h).showDeleteBtn?(e.openBlock(),e.createBlock(s,{key:7,command:"delete",divided:""},{default:e.withCtx(()=>[...t[48]||(t[48]=[e.createTextVNode("删除",-1)])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"app-more-trigger",onClick:t[3]||(t[3]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(o,null,{default:e.withCtx(()=>[e.createVNode(e.unref(H.MoreFilled))]),_:1})])]),_:1},8,["onCommand"])])]),e.createElementVNode("div",Lt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($e(a,C),A=>(e.openBlock(),e.createElementBlock("div",{key:A.prop,class:"app-field-line"},[e.createElementVNode("span",qt,e.toDisplayString(A.label),1),e.createElementVNode("span",Ot,e.toDisplayString(A.text),1)]))),128))]),he(a)?(e.openBlock(),e.createElementBlock("div",Rt,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["app-field-expand",{open:Ce(a,C)}]),onClick:e.withModifiers(A=>be(a,C),["stop"])},[e.createVNode(o,null,{default:e.withCtx(()=>[e.createVNode(e.unref(H.ArrowDown))]),_:1})],10,Pt)])):e.createCommentVNode("",!0)],44,At))),128))]),e.createElementVNode("div",Ft,[e.createElementVNode("div",It,[e.createVNode(q,{"current-page":V.current,"onUpdate:currentPage":t[4]||(t[4]=a=>V.current=a),"page-size":V.pageSize,"onUpdate:pageSize":t[5]||(t[5]=a=>V.pageSize=a),"page-sizes":[10,20,50,100],layout:"total, sizes",total:V.total,onSizeChange:Ge},null,8,["current-page","page-size","total"])]),e.createElementVNode("div",jt,[e.createVNode(q,{"current-page":V.current,"onUpdate:currentPage":t[6]||(t[6]=a=>V.current=a),"page-size":V.pageSize,"onUpdate:pageSize":t[7]||(t[7]=a=>V.pageSize=a),"page-sizes":[10,20,50,100],layout:"prev, pager, next, jumper",total:V.total,onCurrentChange:He},null,8,["current-page","page-size","total"])])])])),[[ae,fe.value]]),e.renderSlot(l.$slots,"default",{},void 0,!0)],6),e.createVNode(G,{modelValue:Y.value,"onUpdate:modelValue":t[16]||(t[16]=a=>Y.value=a),title:"添加终端",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"},"destroy-on-close":"",onClosed:re},{footer:e.withCtx(()=>[e.createVNode(n,{onClick:t[15]||(t[15]=a=>Y.value=!1)},{default:e.withCtx(()=>[...t[49]||(t[49]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(n,{type:"primary",loading:M.value,onClick:et},{default:e.withCtx(()=>[...t[50]||(t[50]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(ee,{model:i,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(k,{label:"终端编号",required:""},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.uid,"onUpdate:modelValue":t[8]||(t[8]=a=>i.uid=a),placeholder:"必填,唯一编号"},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.name,"onUpdate:modelValue":t[9]||(t[9]=a=>i.name=a)},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.alias,"onUpdate:modelValue":t[10]||(t[10]=a=>i.alias=a)},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.type,"onUpdate:modelValue":t[11]||(t[11]=a=>i.type=a),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(U,a=>e.createVNode(u,{key:a.value,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.config_id,"onUpdate:modelValue":t[12]||(t[12]=a=>i.config_id=a),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne.value,a=>(e.openBlock(),e.createBlock(u,{key:a.uid,label:a.name,value:a.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(k,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.maker,"onUpdate:modelValue":t[13]||(t[13]=a=>i.maker=a)},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.description,"onUpdate:modelValue":t[14]||(t[14]=a=>i.description=a),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(G,{modelValue:Q.value,"onUpdate:modelValue":t[25]||(t[25]=a=>Q.value=a),title:"编辑终端",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"},"destroy-on-close":"",onClosed:re},{footer:e.withCtx(()=>[e.createVNode(n,{onClick:t[24]||(t[24]=a=>Q.value=!1)},{default:e.withCtx(()=>[...t[51]||(t[51]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(n,{type:"primary",loading:M.value,onClick:tt},{default:e.withCtx(()=>[...t[52]||(t[52]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(ee,{model:i,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(k,{label:"终端编号"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.uid,"onUpdate:modelValue":t[17]||(t[17]=a=>i.uid=a),disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.name,"onUpdate:modelValue":t[18]||(t[18]=a=>i.name=a)},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.alias,"onUpdate:modelValue":t[19]||(t[19]=a=>i.alias=a)},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.type,"onUpdate:modelValue":t[20]||(t[20]=a=>i.type=a),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(U,a=>e.createVNode(u,{key:a.value,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(k,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.config_id,"onUpdate:modelValue":t[21]||(t[21]=a=>i.config_id=a),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne.value,a=>(e.openBlock(),e.createBlock(u,{key:a.uid,label:a.name,value:a.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(k,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.maker,"onUpdate:modelValue":t[22]||(t[22]=a=>i.maker=a)},null,8,["modelValue"])]),_:1}),e.createVNode(k,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:i.description,"onUpdate:modelValue":t[23]||(t[23]=a=>i.description=a),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(G,{modelValue:se.value,"onUpdate:modelValue":t[35]||(t[35]=a=>se.value=a),class:"mixiot-app-dialog mixiot-app-detail-dialog","append-to-body":!1,fullscreen:"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,"destroy-on-close":"",onClosed:it},{header:e.withCtx(()=>{var a,C;return[e.createElementVNode("div",Kt,[e.createElementVNode("span",$t,e.toDisplayString(((a=r.value)==null?void 0:a.name)||((C=r.value)==null?void 0:C.uid)||"终端详情"),1),r.value?(e.openBlock(),e.createBlock(L,{key:0,type:P(r.value)?"success":"danger",size:"small",class:"detail-dialog-tag"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P(r.value)?"在线":"离线"),1)]),_:1},8,["type"])):e.createCommentVNode("",!0)])]}),footer:e.withCtx(()=>[e.createVNode(n,{onClick:t[34]||(t[34]=a=>se.value=!1)},{default:e.withCtx(()=>[...t[55]||(t[55]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Xt,[r.value?(e.openBlock(),e.createBlock(ht,{key:0,modelValue:Z.value,"onUpdate:modelValue":t[33]||(t[33]=a=>Z.value=a),class:"detail-tabs"},{default:e.withCtx(()=>[e.createVNode(O,{label:"基本信息",name:"baseinfo"},{default:e.withCtx(()=>[e.createElementVNode("div",Wt,[e.createVNode(te,{column:1,border:""},{default:e.withCtx(()=>[e.createVNode(c,{label:"终端编号"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.uid)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"终端名称"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.name)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"终端别名"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.alias)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"终端类型"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(xe(r.value.type)),1)]),_:1}),e.createVNode(c,{label:"终端配置编号"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.config_id)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"终端状态"},{default:e.withCtx(()=>[e.createVNode(L,{type:P(r.value)?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P(r.value)?"在线":"离线"),1)]),_:1},8,["type"])]),_:1}),e.createVNode(c,{label:"信号值"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"csq"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"最近上报时间"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.last_publish_time)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"上一次连接时间"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.last_online_time)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"流量卡号"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"nominal.ICCID"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"LUA版本"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"nominal.LUA"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"MCU版本"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"nominal.MCU"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"生产厂家"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.maker)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"创建时间"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.created)!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"描述"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=r.value.description)!=null?a:""),1)]}),_:1})]),_:1}),lt(r.value)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"baseinfo-toggle",onClick:t[26]||(t[26]=a=>z.value=!z.value)},[e.createVNode(o,null,{default:e.withCtx(()=>[z.value?(e.openBlock(),e.createBlock(e.unref(H.ArrowUp),{key:1})):(e.openBlock(),e.createBlock(e.unref(H.ArrowDown),{key:0}))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(z.value?"收起":"展开更多信息"),1)])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(te,{key:1,column:1,border:"",class:"baseinfo-more"},{default:e.withCtx(()=>[e.createVNode(c,{label:"采集状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"col_status"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"CPU温度"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"cup_temperature"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"MQTT服务器"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"mqtt_info_ip"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"连接状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"mqtt_status_connection"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"运行时间"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"col_status_runtime"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"4G模块工作状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"status_4g"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"4G信息"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"info_4g"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"WiFi工作状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"status_wifi"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"WiFi信息"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"info_wifi"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"Eth工作状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"status_eth"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"Eth信息"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"info_eth"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"MQTT状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"info_mqtt"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"系统状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"sys_status"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"GPS信息"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"gps"))!=null?a:""),1)]}),_:1}),e.createVNode(c,{label:"VPN连接状态"},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString((a=f(r.value,"vnp_status"))!=null?a:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)])]),_:1}),e.createVNode(O,{label:"关联对象",name:"object"},{default:e.withCtx(()=>[e.createElementVNode("div",Gt,[e.withDirectives((e.openBlock(),e.createElementBlock("div",Ht,[F.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(F.value,(a,C)=>(e.openBlock(),e.createElementBlock("div",{key:C,class:"object-card-item"},[e.createElementVNode("div",Jt,e.toDisplayString(a.name||a.uid||"—"),1),e.createElementVNode("div",Yt,[a.uid?(e.openBlock(),e.createElementBlock("span",Qt,"编号:"+e.toDisplayString(a.uid),1)):e.createCommentVNode("",!0),a.type?(e.openBlock(),e.createElementBlock("span",Zt,"类型:"+e.toDisplayString(a.type),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(R,{key:1,description:"暂无关联对象"}))])),[[ae,at.value]])])]),_:1}),e.createVNode(O,{label:"在线记录",name:"online"},{default:e.withCtx(()=>[e.createElementVNode("div",ea,[e.createElementVNode("div",ta,[e.createVNode(n,{size:"small",onClick:de},{default:e.withCtx(()=>[...t[53]||(t[53]=[e.createTextVNode("刷新",-1)])]),_:1})]),e.withDirectives((e.openBlock(),e.createBlock(Ae,{data:I.value,stripe:"",size:"small",class:"detail-table","max-height":"100%"},{default:e.withCtx(()=>[e.createVNode(b,{prop:"topic",label:"上下线状态",width:"90"},{default:e.withCtx(({row:a})=>[e.createVNode(L,{type:a.topic==="connected"?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.topic==="connected"?"上线":"下线"),1)]),_:2},1032,["type"])]),_:1}),e.createVNode(b,{prop:"reason",label:"状态描述","min-width":"120"},{default:e.withCtx(({row:a})=>{var C;return[e.createTextVNode(e.toDisplayString((C=f(a,"payload.reason"))!=null?C:""),1)]}),_:1}),e.createVNode(b,{prop:"time",label:"发生时间",width:"170"})]),_:1},8,["data"])),[[ae,Ve.value]]),e.createElementVNode("div",aa,[e.createVNode(q,{"current-page":D.current,"onUpdate:currentPage":t[27]||(t[27]=a=>D.current=a),"page-size":D.pageSize,"onUpdate:pageSize":t[28]||(t[28]=a=>D.pageSize=a),"page-sizes":[10,20,50],layout:"total, prev, pager, next",total:D.total,size:"small",onCurrentChange:de,onSizeChange:nt},null,8,["current-page","page-size","total"])])])]),_:1}),e.createVNode(O,{label:"报文查询",name:"grid"},{default:e.withCtx(()=>[e.createElementVNode("div",la,[e.createElementVNode("div",oa,[e.createVNode(T,{modelValue:K.value,"onUpdate:modelValue":t[29]||(t[29]=a=>K.value=a),size:"small",class:"grid-topic-select",onChange:st},{default:e.withCtx(()=>[e.createVNode(u,{label:"全部主题",value:"all"}),e.createVNode(u,{label:"r",value:"r"}),e.createVNode(u,{label:"i",value:"i"}),e.createVNode(u,{label:"n",value:"n"}),e.createVNode(u,{label:"d",value:"d"}),e.createVNode(u,{label:"e",value:"e"}),e.createVNode(u,{label:"connected",value:"connected"}),e.createVNode(u,{label:"disconnected",value:"disconnected"})]),_:1},8,["modelValue"]),e.createVNode(bt,{modelValue:X.value,"onUpdate:modelValue":t[30]||(t[30]=a=>X.value=a),type:"datetimerange",size:"small","range-separator":"-","start-placeholder":"开始","end-placeholder":"结束",class:"grid-time-picker",onChange:dt},null,8,["modelValue"]),e.createVNode(n,{size:"small",type:"primary",onClick:W},{default:e.withCtx(()=>[...t[54]||(t[54]=[e.createTextVNode("查询",-1)])]),_:1})]),e.withDirectives((e.openBlock(),e.createBlock(Ae,{data:j.value,stripe:"",size:"small",class:"detail-table","max-height":"100%"},{default:e.withCtx(()=>[e.createVNode(b,{prop:"time",label:"发生时间",width:"170"}),e.createVNode(b,{prop:"topic",label:"主题",width:"100"}),e.createVNode(b,{prop:"payload",label:"报文信息","min-width":"200"},{default:e.withCtx(({row:a})=>[e.createElementVNode("div",ia,e.toDisplayString(ot(a.payload)),1)]),_:1})]),_:1},8,["data"])),[[ae,_e.value]]),e.createElementVNode("div",na,[e.createVNode(q,{"current-page":B.current,"onUpdate:currentPage":t[31]||(t[31]=a=>B.current=a),"page-size":B.pageSize,"onUpdate:pageSize":t[32]||(t[32]=a=>B.pageSize=a),"page-sizes":[10,20,50],layout:"total, prev, pager, next",total:B.total,size:"small",onCurrentChange:W,onSizeChange:rt},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1},8,["modelValue"])):e.createCommentVNode("",!0)])),[[ae,ye.value]])]),_:1},8,["modelValue"])],64)}}})),ma=y._export_sfc(pa,[["__scopeId","data-v-cbdded3f"]]);exports.default=ma;