mixdashboards 1.0.71 → 1.0.73

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 (470) hide show
  1. package/dist/{BaseComponent-D5tlYehc.js → BaseComponent-CBagahPU.js} +138 -109
  2. package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
  3. package/dist/{EChartComponentBase-CAabYXSj.js → EChartComponentBase-cFfawl6h.js} +2 -2
  4. package/dist/{EChartComponentBase-D4wMej9X.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-Th4ZNdCb.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-D96XjhRq.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-rn2Bp0Gx.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-D2mQLhkO.js → HistoryPlanDialog-DerClU2U.js} +1 -1
  9. package/dist/{MonitoringMap-BZ98NYTJ.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
  10. package/dist/{MonitoringMap-Coozb35G.js → MonitoringMap-CNaGsq83.js} +2 -2
  11. package/dist/UniverSheet-CM-vvc23.cjs +1 -0
  12. package/dist/{UniverSheet-CJCunVAM.js → UniverSheet-KI09RqKm.js} +16 -15
  13. package/dist/{accelerationChart-DacjcSHD.js → accelerationChart-D7KNk5fI.js} +61 -59
  14. package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
  15. package/dist/{actionItem-d-4p5HZK.js → actionItem-BmNYzAXu.js} +48 -41
  16. package/dist/actionItem-Bx4mW0jP.cjs +1 -0
  17. package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
  18. package/dist/{alarmLevelChart-DddN1NVy.js → alarmLevelChart-DdSw2s7W.js} +91 -46
  19. package/dist/{alertTable-Q-Waa5jf.js → alertTable-CC3c8DFb.js} +40 -39
  20. package/dist/alertTable-hH6HA9pY.cjs +1 -0
  21. package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
  22. package/dist/{aliasObjectSelectorDemo-BZygQw9k.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
  23. package/dist/{annualRainfallChart-CthANCvn.js → annualRainfallChart-B9ar8vo8.js} +32 -30
  24. package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
  25. package/dist/{aqi-C_HnKsjh.js → aqi-BNc5QCM3.js} +21 -19
  26. package/dist/{aqi-BFW_8xYd.cjs → aqi-DEiCVIVa.cjs} +3 -3
  27. package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
  28. package/dist/{aqiIndass-NVRa3lmj.js → aqiIndass-CAGV8_Uf.js} +41 -40
  29. package/dist/{areaDeformCurve-mQiOHdtN.js → areaDeformCurve-CSpR060t.js} +51 -49
  30. package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
  31. package/dist/arrayCard-NqoQKcE9.cjs +1 -0
  32. package/dist/{arrayCard-DZitcjMs.js → arrayCard-PPDb7U6X.js} +29 -28
  33. package/dist/{audio-CDAMVEgC.js → audio-BJPFIQIr.js} +42 -41
  34. package/dist/audio-Bw-GaYe1.cjs +1 -0
  35. package/dist/{bar--JrlRud9.js → bar-C38h_mUA.js} +72 -70
  36. package/dist/{bar-C7uQADV1.cjs → bar-Cru6WosS.cjs} +2 -2
  37. package/dist/bmp-BXaEkkpa.cjs +1 -0
  38. package/dist/{bmp-DrVcnYxy.js → bmp-BnSOaFEr.js} +15 -14
  39. package/dist/box-CKuGsh2k.cjs +1 -0
  40. package/dist/{box-szcLhted.js → box-DIHVOqrV.js} +58 -57
  41. package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
  42. package/dist/{chartConfigPanel-C32o1gyJ.js → chartConfigPanel-D1rO6SGh.js} +86 -79
  43. package/dist/{circleBar-CeL2rqMJ.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
  44. package/dist/{circleBar-BmTjsLHo.js → circleBar-CBLcp4Xi.js} +27 -25
  45. package/dist/{clock-CuQpD76K.js → clock-4AMfFDGC.js} +35 -34
  46. package/dist/clock-DmWyBpo-.cjs +1 -0
  47. package/dist/clt-CmPPtp9c.cjs +1 -0
  48. package/dist/{clt-XCswxZ6i.js → clt-D5i_8-pq.js} +60 -59
  49. package/dist/cmc-8jH3DGv9.cjs +1 -0
  50. package/dist/{cmc-CXmAv6fz.js → cmc-Cjb5w3om.js} +23 -22
  51. package/dist/{cmp-Duz_v-LC.js → cmp-COJzlQPa.js} +19 -18
  52. package/dist/{cmp-DmpxjexT.cjs → cmp-CpmGtNal.cjs} +2 -2
  53. package/dist/{composite-CWgy-w61.js → composite-CsFgfxih.js} +37 -36
  54. package/dist/{composite-DdHASMFQ.cjs → composite-DLmzZNIj.cjs} +3 -3
  55. package/dist/{conclusionCard-BtB0rARK.js → conclusionCard-BQUlLFde.js} +15 -14
  56. package/dist/conclusionCard-C-TT6znN.cjs +1 -0
  57. package/dist/{controlList-C0AQ8Yb8.js → controlList-5D5UIDQL.js} +40 -38
  58. package/dist/controlList-CIwzKylK.cjs +1 -0
  59. package/dist/{controlRecordList-CSPKG1HU.js → controlRecordList-Cp5mmEQ1.js} +55 -53
  60. package/dist/controlRecordList-uEQ3ohmB.cjs +1 -0
  61. package/dist/controlRecordListAPP-B5d4x_xH.cjs +1 -0
  62. package/dist/controlRecordListAPP-p_skbQVD.js +502 -0
  63. package/dist/{crd-DQruf9o3.js → crd-8gRWMf2Y.js} +14 -13
  64. package/dist/crd-Dfl2XKAx.cjs +1 -0
  65. package/dist/{ctrBtn-jEWTt_f2.js → ctrBtn-BzmFxucy.js} +106 -107
  66. package/dist/ctrBtn-OOgL9esv.cjs +1 -0
  67. package/dist/{ctrSet-C4wCODMY.js → ctrSet-Btg2T9w6.js} +24 -23
  68. package/dist/ctrSet-CifyJt05.cjs +1 -0
  69. package/dist/ctrSwitch-6nMHbIE7.js +206 -0
  70. package/dist/ctrSwitch-C8mwxLPe.cjs +1 -0
  71. package/dist/{dataManagement-BQVZS7Hi.js → dataManagement-BZiSmktM.js} +52 -45
  72. package/dist/dataManagement-sQpuBaDz.cjs +1 -0
  73. package/dist/{dataReport-vP1LBJjE.js → dataReport-CbJzXeCE.js} +25 -24
  74. package/dist/{dataReport-DRopth3A.cjs → dataReport-D9Q9c43B.cjs} +2 -2
  75. package/dist/{dataTable-C2AgSR36.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
  76. package/dist/{dataTable-B1FQ3XIq.js → dataTable-BuBB0b-A.js} +1 -1
  77. package/dist/datetime-B66VgJL1.cjs +1 -0
  78. package/dist/{datetime-DU3rzi1v.js → datetime-DO03QrXz.js} +25 -24
  79. package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
  80. package/dist/{deepClusterSlipSurface-BHwB0eu9.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
  81. package/dist/{deepDataMatrix-C3uKZmon.js → deepDataMatrix-CPrIOv5r.js} +46 -45
  82. package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
  83. package/dist/{deepDisplacement3D-BBYgB-rK.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
  84. package/dist/{deepDisplacement3D-CDNPul6D.js → deepDisplacement3D-JlMej7-5.js} +9 -7
  85. package/dist/{deepDisplacementChart-C_pwwgIC.js → deepDisplacementChart-BiDt60xI.js} +89 -88
  86. package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
  87. package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
  88. package/dist/{deepDisplacementChart-C6GQHO-J.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
  89. package/dist/{deepDisplacementView-C837RNer.js → deepDisplacementView-BpUw-b-i.js} +37 -36
  90. package/dist/deepDisplacementView-CoSNzN1q.cjs +8 -0
  91. package/dist/deepNodeTemperatureChart-DPN0rYir.cjs +1 -0
  92. package/dist/{deepNodeTemperatureChart-BcH3ZNi4.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
  93. package/dist/{deepTangentAngleChart-DSpCyIdq.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
  94. package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
  95. package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
  96. package/dist/{deepTemperatureField-B2qIHL1-.js → deepTemperatureField-CYBTjhEp.js} +95 -93
  97. package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
  98. package/dist/{deepTrendChart-DFGSV17a.js → deepTrendChart-DBjxV7_A.js} +56 -54
  99. package/dist/{deviceOnlineStatus-CiIFdo9I.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
  100. package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
  101. package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
  102. package/dist/{deviceStatus-Dd1pqVnO.js → deviceStatus-90rQa1uj.js} +61 -60
  103. package/dist/{displacementDataTable-CGIHGxye.js → displacementDataTable-BArwj-xp.js} +52 -51
  104. package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
  105. package/dist/{displacementTrajectoryChart-RL97CTML.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
  106. package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
  107. package/dist/{displacementTrendChart-Bqnv7hiP.js → displacementTrendChart-4E6cDsX8.js} +49 -48
  108. package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
  109. package/dist/{dxf-BQoArgPS.cjs → dxf-BgklkksV.cjs} +1 -1
  110. package/dist/{dxf-DBu1iA-r.js → dxf-BogwbJID.js} +5 -4
  111. package/dist/{dzc-DMVPjosV.cjs → dzc-CApfzriC.cjs} +2 -2
  112. package/dist/{dzc-7tLxe18d.js → dzc-D7tTBLaA.js} +24 -22
  113. package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
  114. package/dist/{emergencyPlan-C9Edkw51.js → emergencyPlan-CjbuX-N5.js} +19 -18
  115. package/dist/evn-BcSenXF3.cjs +1 -0
  116. package/dist/{evn-CeLoYCUr.js → evn-DTPm72ZM.js} +23 -22
  117. package/dist/evolutionChart-CrwR8i40.cjs +1 -0
  118. package/dist/{evolutionChart-DAlncdLU.js → evolutionChart-D1dVKWOt.js} +25 -23
  119. package/dist/{fileViewer-BFMFEN2f.js → fileViewer-BNHwlZRa.js} +57 -56
  120. package/dist/fileViewer-BUuST3Rp.cjs +1 -0
  121. package/dist/filterBar-BJzjPFFg.cjs +1 -0
  122. package/dist/{filterBar-qJJKdxYE.js → filterBar-CRJinh5K.js} +44 -43
  123. package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
  124. package/dist/{fireCombustionCurve-DyRikhHw.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
  125. package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
  126. package/dist/{fireFilterBar-DkjBGPXa.js → fireFilterBar-KvvbsCsZ.js} +25 -24
  127. package/dist/{fireHistoryTable-ldXil5up.js → fireHistoryTable-80ygqnOG.js} +73 -65
  128. package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
  129. package/dist/gag-1bvAZ5m6.cjs +1 -0
  130. package/dist/{gag-KZfFHn72.js → gag-D2obj7AF.js} +30 -28
  131. package/dist/{gasStationList-Btoo_olJ.js → gasStationList-DM-laJsi.js} +527 -526
  132. package/dist/gasStationList-DjJtXnqL.cjs +1 -0
  133. package/dist/{geo3dViewer-Cif9uFqd.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
  134. package/dist/{geo3dViewer-iZhkCiTP.js → geo3dViewer-FhmMIvMJ.js} +12 -5
  135. package/dist/{glbModel-MJZgDSJf.js → glbModel-B0nWYYJQ.js} +19 -18
  136. package/dist/{glbModel-2xydaxDT.cjs → glbModel-DakMJal6.cjs} +3 -3
  137. package/dist/{globalObjectSelector-CHtYGpi9.js → globalObjectSelector-Gv4srHhp.js} +79 -78
  138. package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
  139. package/dist/{gnssFilterBar-CPis6bUI.js → gnssFilterBar-C4rpyNw3.js} +70 -63
  140. package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
  141. package/dist/{gnssHistoryTable-kHZY48EZ.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
  142. package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
  143. package/dist/{gnssMapView-BNIkieqL.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
  144. package/dist/{gnssMapView-DXP8yz0v.js → gnssMapView-EVufCGrW.js} +174 -167
  145. package/dist/{gnssSectionProfile-DEUDEvJ1.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
  146. package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
  147. package/dist/{gnssTimeSeriesChart-C_xqd0su.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
  148. package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
  149. package/dist/{gnssXYTrajectory-GqgFw_qK.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
  150. package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
  151. package/dist/grd-C4hCrpvH.cjs +1 -0
  152. package/dist/{grd-QCuVN1jE.js → grd-FfuMQJb7.js} +43 -42
  153. package/dist/{grdIndass-BEcfZTYw.js → grdIndass-BTbZmPLZ.js} +30 -29
  154. package/dist/grdIndass-CyuRKD5H.cjs +1 -0
  155. package/dist/{grg-CMVrF5tB.js → grg-CcnI5kRY.js} +27 -26
  156. package/dist/grg-Cuxa17d6.cjs +1 -0
  157. package/dist/gridview-CKjBuTRq.cjs +1 -0
  158. package/dist/{gridview-Cd3Tqzph.js → gridview-ffVc5Wvg.js} +32 -31
  159. package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
  160. package/dist/{groundwaterFilterBar-D7lrbzDC.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
  161. package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
  162. package/dist/{groundwaterProfileChart-Bjtqz-Zv.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
  163. package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
  164. package/dist/{groundwaterTimeCurve-Bu6vgAaC.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
  165. package/dist/{groupCard-CPvAsuPb.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
  166. package/dist/{groupCard-DQvEe6cc.js → groupCard-COMEkzIb.js} +29 -28
  167. package/dist/headerBar-iFe0YQKE.cjs +1 -0
  168. package/dist/{headerBar-CGOtSvFn.js → headerBar-ouXO8bzC.js} +48 -47
  169. package/dist/{history-D6C3tSut.js → history-BZ869y2d.js} +18 -18
  170. package/dist/{history-9ToM-rJ6.cjs → history-MxYUUwkm.cjs} +1 -1
  171. package/dist/index-DVqMfQVc.cjs +612 -0
  172. package/dist/{index-Bdq33405.js → index-DwPJu6XM.js} +1159 -1128
  173. package/dist/{insarDeformChart-Ls-cdqaP.js → insarDeformChart-5BhCUq8L.js} +24 -17
  174. package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
  175. package/dist/{insarImageViewer-Dnke9JDG.js → insarImageViewer-DHNxmLpa.js} +41 -34
  176. package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
  177. package/dist/{kds-B4BKGG0r.js → kds-BYZC4pIM.js} +57 -50
  178. package/dist/{kds-BjX5tXhF.cjs → kds-Dpf_3WWj.cjs} +2 -2
  179. package/dist/{kpiCard-C77vHJ_E.js → kpiCard-CStPtl-c.js} +5 -4
  180. package/dist/kpiCard-OLJgA48-.cjs +2 -0
  181. package/dist/{landslideMap-BEkbnCqP.js → landslideMap-BUq0x7rd.js} +34 -33
  182. package/dist/landslideMap-JTdoQjW-.cjs +1 -0
  183. package/dist/{landslideWarning-C5upI2cf.js → landslideWarning-VAn9XGUj.js} +55 -54
  184. package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
  185. package/dist/{layerTabs-DoGw1Jfv.js → layerTabs-CAJ6f-2W.js} +40 -38
  186. package/dist/layerTabs-CdhowHB1.cjs +1 -0
  187. package/dist/{leaflet-src-BUWIqhPn.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
  188. package/dist/{leaflet-src-DFE_g2gF.js → leaflet-src-DNO2-OsP.js} +1 -1
  189. package/dist/{lerc-CXc9KSRL.js → lerc-bF2jqjoV.js} +2 -2
  190. package/dist/{lerc-BBgQP785.cjs → lerc-qU4WKXeS.cjs} +1 -1
  191. package/dist/{lin-ClO2MqZl.cjs → lin-BHI2KgyW.cjs} +2 -2
  192. package/dist/{lin-Difz8N88.js → lin-DbQw7wZw.js} +20 -18
  193. package/dist/linIndass-CIrObeZT.cjs +2 -0
  194. package/dist/{linIndass-DqXVOBh3.js → linIndass-Cd9Hjzs_.js} +31 -30
  195. package/dist/lst-BRsEe-Hq.cjs +1 -0
  196. package/dist/{lst-4RMMZZkY.js → lst-C3C2m1v_.js} +40 -39
  197. package/dist/{manualEntry-B3_4Z-Lj.js → manualEntry-B8TDMcDg.js} +29 -22
  198. package/dist/manualEntry-C3_WtYz8.cjs +1 -0
  199. package/dist/{mapBackground-B3OHQsXZ.js → mapBackground-BrVIQUcT.js} +21 -20
  200. package/dist/{mapBackground-Bmt-oZt6.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
  201. package/dist/{mappingList-DVj7H206.js → mappingList-BpJUawmv.js} +22 -20
  202. package/dist/mappingList-C5OZ8oUx.cjs +1 -0
  203. package/dist/{markdownViewer-fheM5uV4.js → markdownViewer-CoRrvdY7.js} +16 -15
  204. package/dist/{markdownViewer-BAuNEWRt.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
  205. package/dist/materialFileUrl-CubtnHeq.js +108 -0
  206. package/dist/materialFileUrl-DfPNm265.cjs +1 -0
  207. package/dist/{mix-control-modal-BoYynGT2.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
  208. package/dist/{mix-control-modal-BBiKe4MM.js → mix-control-modal-Qg_mzyT_.js} +1 -1
  209. package/dist/{mixGrid-BUjP1qv2.js → mixGrid-CtJWul6c.js} +44 -43
  210. package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
  211. package/dist/mixMap-CJzmC0IR.cjs +1 -0
  212. package/dist/{mixMap-DPIwyKuP.js → mixMap-E36SDnEa.js} +36 -35
  213. package/dist/mixModel-BMRxhvWn.cjs +3 -0
  214. package/dist/{mixModel-CIdQp4V9.js → mixModel-_McJ6OuH.js} +30 -29
  215. package/dist/{mixPie-C6OhdOCV.js → mixPie-CMOkAe9p.js} +31 -30
  216. package/dist/mixPie-MAKXeYVp.cjs +2 -0
  217. package/dist/mixdashboards.cjs +1 -1
  218. package/dist/mixdashboards.css +1 -1
  219. package/dist/mixdashboards.js +1 -1
  220. package/dist/mixiotObjectListApi-BaeBL318.js +82 -0
  221. package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +1 -0
  222. package/dist/mjpegCamera-BY7pmbDc.cjs +1 -0
  223. package/dist/{mjpegCamera-Cd1vhZ5v.js → mjpegCamera-Dc4IsJA6.js} +12 -11
  224. package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
  225. package/dist/{monitorAlert-DIJtH557.js → monitorAlert-F8QFOchR.js} +45 -44
  226. package/dist/monitorData-AkPbhJ9q.cjs +1 -0
  227. package/dist/{monitorData-B6jhpzVK.js → monitorData-BzqNIdrW.js} +61 -59
  228. package/dist/{monitorSpeedChart-DF5zvxs9.js → monitorSpeedChart-348U37LW.js} +22 -21
  229. package/dist/{monitorSpeedChart-EIcGs3NX.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
  230. package/dist/{mxa-COxjxwpC.js → mxa-CkJjCHA-.js} +29 -27
  231. package/dist/{mxa-BfwIV49n.cjs → mxa-DShU528J.cjs} +2 -2
  232. package/dist/myValue-BCeycpdO.cjs +1 -0
  233. package/dist/{myValue-Crba15Wc.js → myValue-CEfp19i2.js} +17 -16
  234. package/dist/myValueList-CAPOW8TK.cjs +1 -0
  235. package/dist/{myValueList-m2yaIcuf.js → myValueList-y3GR4AX2.js} +41 -40
  236. package/dist/objectList-4rYQk5uq.cjs +1 -0
  237. package/dist/{objectList-BwZJzrXs.js → objectList-D16yLbzD.js} +538 -599
  238. package/dist/objectListAPP-DCwTyqFp.js +1864 -0
  239. package/dist/objectListAPP-Db5beOAM.cjs +1 -0
  240. package/dist/photo-BV6rkbWO.js +811 -0
  241. package/dist/photo-D67wLRkY.cjs +1 -0
  242. package/dist/{pie-CSLVJv0Y.cjs → pie-BeRwVkTk.cjs} +2 -2
  243. package/dist/{pie-C9MU90ON.js → pie-bNKhq6ak.js} +16 -14
  244. package/dist/{placeholder-CRARTMF4.js → placeholder-_iK4rVyU.js} +26 -25
  245. package/dist/placeholder-zByzfWaH.cjs +1 -0
  246. package/dist/{pressBtn-CkYcW1a8.js → pressBtn-B-rZPXK2.js} +124 -124
  247. package/dist/pressBtn-BjqYIPC-.cjs +1 -0
  248. package/dist/processTable-ByPlSKRJ.cjs +3 -0
  249. package/dist/{processTable-BgAhGGAq.js → processTable-s_y8uups.js} +12 -11
  250. package/dist/{progressBar-BbDFps1r.cjs → progressBar-CRdA7oJT.cjs} +1 -1
  251. package/dist/{progressBar-CIPUVeaf.js → progressBar-DskxZk1P.js} +19 -18
  252. package/dist/{progressCircle-DDc5zsd6.js → progressCircle-BE_Am-AP.js} +13 -12
  253. package/dist/{progressCircle-CgkZ1EC1.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
  254. package/dist/{qrcode-CQbWGVgq.cjs → qrcode-D8cFyUpL.cjs} +1 -1
  255. package/dist/{qrcode-CCu677Ad.js → qrcode-Dgth6KwU.js} +39 -38
  256. package/dist/{raceBar-CzNGSYCt.cjs → raceBar-CeybrpCB.cjs} +3 -3
  257. package/dist/{raceBar-Cn8oPhCE.js → raceBar-DV-3KFg2.js} +18 -16
  258. package/dist/rad-BerkC70H.cjs +1 -0
  259. package/dist/{rad-D_cLWeMk.js → rad-BhsfF0XI.js} +22 -20
  260. package/dist/{radarMapViewer-BaAXjsWx.js → radarMapViewer-C2dde8EN.js} +82 -81
  261. package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
  262. package/dist/{rainfallFilterBar-Bhpadat8.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
  263. package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
  264. package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
  265. package/dist/{rainfallTimeCurve-sDYapogL.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
  266. package/dist/rangeLin-BQeWFL_E.cjs +3 -0
  267. package/dist/{rangeLin-CdMOPwMP.js → rangeLin-BvKd8kEv.js} +32 -31
  268. package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
  269. package/dist/{realtimeEvolutionMap-CIH_sZ29.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
  270. package/dist/regionBar-mMaN5NEc.cjs +3 -0
  271. package/dist/{regionBar-VB-2GpR0.js → regionBar-vp5D52Jd.js} +14 -13
  272. package/dist/{request-BHfDxLXZ.js → request-CMbwWTDF.js} +9 -9
  273. package/dist/{request-DU8pRyvu.cjs → request-DegEaaCG.cjs} +1 -1
  274. package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
  275. package/dist/{retainer1-C_109Weq.js → retainer1-Xvdlh-B_.js} +17 -16
  276. package/dist/retainer2-BQVUhgcH.cjs +1 -0
  277. package/dist/{retainer2-BiHUTumr.js → retainer2-D3a-c_BA.js} +43 -42
  278. package/dist/{retainerRecordList-Cgil_g8a.js → retainerRecordList-BJbPsJ4D.js} +47 -45
  279. package/dist/retainerRecordList-Rqnoz6_6.cjs +1 -0
  280. package/dist/retainerRecordListAPP-B4IDQK3C.cjs +1 -0
  281. package/dist/retainerRecordListAPP-CNntGyA-.js +1068 -0
  282. package/dist/{ringTopN-C9AH-t3T.js → ringTopN-BFKlXqGX.js} +18 -16
  283. package/dist/ringTopN-CsouIsk1.cjs +1 -0
  284. package/dist/{riskRegionTable-Co1uxMzf.js → riskRegionTable-B6k4uM0_.js} +26 -19
  285. package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
  286. package/dist/sankey-CAuBQaYh.cjs +1 -0
  287. package/dist/{sankey-Bag0ladh.js → sankey-DEQK7uU6.js} +17 -15
  288. package/dist/{scd-D9AiOiPg.js → scd-D5TicpCZ.js} +1282 -1062
  289. package/dist/scd-qaap6hGW.cjs +1 -0
  290. package/dist/{sideMenu-869HFB0p.js → sideMenu-ByyrOOYh.js} +28 -27
  291. package/dist/sideMenu-D-73DoYb.cjs +1 -0
  292. package/dist/{slopeStability-bZ0lHLjZ.js → slopeStability-BtgMH3oW.js} +44 -42
  293. package/dist/slopeStability-CTN6Kpva.cjs +1 -0
  294. package/dist/speedCurve-C5NoQCjK.cjs +1 -0
  295. package/dist/{speedCurve-DZ52XKCk.js → speedCurve-CInn7NAC.js} +43 -41
  296. package/dist/staticLine-BC-zj5yZ.cjs +1 -0
  297. package/dist/{staticLine-CyPnmKCh.js → staticLine-CLqN4lpU.js} +51 -50
  298. package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
  299. package/dist/{stressFilterBar-BAUt2bGy.js → stressFilterBar-D_QqOHna.js} +46 -45
  300. package/dist/{stressTimeCurve-IW4ArsyA.js → stressTimeCurve-1HXHUj-F.js} +64 -62
  301. package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
  302. package/dist/{swiper-BPS9C2GV.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
  303. package/dist/{swiper-RM0GoZkW.js → swiper-D_y4Fj_D.js} +25 -24
  304. package/dist/terminalConfigList-B39cEptG.cjs +1 -0
  305. package/dist/{terminalConfigList-n7NE5NdJ.js → terminalConfigList-CHbA4y-S.js} +38 -36
  306. package/dist/terminalList-Vf-Dbybr.cjs +1 -0
  307. package/dist/{terminalList-Byb4eLcD.js → terminalList-oJFrGVtT.js} +38 -36
  308. package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
  309. package/dist/terminalListAPP-DWArp2D4.js +1366 -0
  310. package/dist/{textbox-DM1AUWw8.js → textbox-D8nmoGjG.js} +13 -12
  311. package/dist/textbox-DPoyxB4u.cjs +1 -0
  312. package/dist/{timeQueryBar-Tbd9M8UT.js → timeQueryBar-DyC0iHq9.js} +21 -20
  313. package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
  314. package/dist/{timeSeries-DCV2YjC2.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
  315. package/dist/{timeSeries-CdpEx6bf.js → timeSeries-U91gMDDQ.js} +66 -64
  316. package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
  317. package/dist/{timeSeriesCurve-C1AmF6TP.js → timeSeriesCurve-DOhIS88N.js} +68 -66
  318. package/dist/{toggleBtn-BGjXjIuK.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
  319. package/dist/{toggleBtn-XS9MjfKM.js → toggleBtn-DE35dkxx.js} +46 -44
  320. package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
  321. package/dist/{trajectoryConfigPanel-BC90nD1T.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
  322. package/dist/{trajectoryScatter-DF_ESBn8.js → trajectoryScatter-DL7HUNJI.js} +47 -45
  323. package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
  324. package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
  325. package/dist/{universalConfigPanel-DjNTwJkz.js → universalConfigPanel-CkyIDl_x.js} +50 -49
  326. package/dist/{universalTable-BY9vRraC.js → universalTable--dpnyNO2.js} +56 -54
  327. package/dist/universalTable-D8w7FQbl.cjs +2 -0
  328. package/dist/useMixiotPanelSurface-CAZgexY5.cjs +1 -0
  329. package/dist/useMixiotPanelSurface-DRl3cZvc.js +22 -0
  330. package/dist/useTableBodyHeight-CwrQvi7M.js +21 -0
  331. package/dist/useTableBodyHeight-pf87uGjw.cjs +1 -0
  332. package/dist/{video-DDvDGDql.js → video-BmMSRRa_.js} +5 -4
  333. package/dist/{video-8_Sf1uz0.cjs → video-RGIZoUn6.cjs} +2 -2
  334. package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
  335. package/dist/{videoMonitor-sce5N4Q5.js → videoMonitor-uf6tt2E6.js} +34 -33
  336. package/dist/{vlu-BKeYJtOO.js → vlu-D8l5zE_P.js} +24 -23
  337. package/dist/vlu-DEo_h1qN.cjs +1 -0
  338. package/dist/warningOverview-A5AA_vCc.cjs +1 -0
  339. package/dist/{warningOverview-CG5mwtaO.js → warningOverview-CA0PikjV.js} +31 -30
  340. package/dist/{weather-CWvAqxgX.cjs → weather-D20MGzuJ.cjs} +1 -1
  341. package/dist/{weather-BrX2a1an.js → weather-DuseqeNF.js} +19 -18
  342. package/dist/{windLin-BbbsSwuF.cjs → windLin-BU6Q87dE.cjs} +1 -1
  343. package/dist/{windLin-P4Gs2aBB.js → windLin-D8AUL_dV.js} +58 -57
  344. package/package.json +120 -120
  345. package/dist/BaseComponent-CNXUpPY1.cjs +0 -1
  346. package/dist/UniverSheet-CntkzcVZ.cjs +0 -1
  347. package/dist/accelerationChart-DLV-1mpA.cjs +0 -6
  348. package/dist/actionItem-CFxzHf4E.cjs +0 -1
  349. package/dist/alarmLevelChart-DCC6D1fH.cjs +0 -2
  350. package/dist/alertTable-BREZBeS5.cjs +0 -1
  351. package/dist/aliasObjectSelectorDemo-DunKWEkT.cjs +0 -1
  352. package/dist/annualRainfallChart-BJyoUBDn.cjs +0 -1
  353. package/dist/aqiIndass-B441j8CT.cjs +0 -3
  354. package/dist/areaDeformCurve-Dj405Jil.cjs +0 -1
  355. package/dist/arrayCard-B7zb1dFi.cjs +0 -1
  356. package/dist/audio-BfsYRWbm.cjs +0 -1
  357. package/dist/bmp-DIkLqzRN.cjs +0 -1
  358. package/dist/box-kXjrgG2u.cjs +0 -1
  359. package/dist/chartConfigPanel-DN4LMy8-.cjs +0 -1
  360. package/dist/clock-EbmFBRb-.cjs +0 -1
  361. package/dist/clt-C-9xGiKs.cjs +0 -1
  362. package/dist/cmc-CFa8Q3tu.cjs +0 -1
  363. package/dist/conclusionCard-Dlg5GWlE.cjs +0 -1
  364. package/dist/controlList-C1vhlonT.cjs +0 -1
  365. package/dist/controlRecordList-BhK7KtLR.cjs +0 -1
  366. package/dist/crd-CgxqxwKV.cjs +0 -1
  367. package/dist/ctrBtn-BSJ9c7Pt.cjs +0 -1
  368. package/dist/ctrSet-B9M4yI53.cjs +0 -1
  369. package/dist/ctrSwitch-C6dUn_qm.js +0 -206
  370. package/dist/ctrSwitch-ZvMCYKvG.cjs +0 -1
  371. package/dist/dataManagement-CNrEa_zB.cjs +0 -1
  372. package/dist/datetime-CAyDWKE8.cjs +0 -1
  373. package/dist/deepClusterSlipSurface-DzoyF6i1.cjs +0 -1
  374. package/dist/deepDataMatrix--AstWPiL.cjs +0 -1
  375. package/dist/deepDisplacementChart-BnT1ZdfR.cjs +0 -6
  376. package/dist/deepDisplacementChart-DOPij7KP.cjs +0 -5
  377. package/dist/deepDisplacementView-u1IPcbxN.cjs +0 -8
  378. package/dist/deepNodeTemperatureChart-CD3JbqkA.cjs +0 -1
  379. package/dist/deepTangentAngleChart-BCAauuDY.cjs +0 -1
  380. package/dist/deepTemperatureField-BxuKsrtc.cjs +0 -1
  381. package/dist/deepTrendChart-6L4cCHgh.cjs +0 -1
  382. package/dist/deviceOnlineStatus-WkwzGom4.cjs +0 -2
  383. package/dist/deviceStatus-BoIv8fbr.cjs +0 -1
  384. package/dist/displacementDataTable-BwcxrsuU.cjs +0 -1
  385. package/dist/displacementTrajectoryChart-BOPIBgi5.cjs +0 -22
  386. package/dist/displacementTrendChart-CI8i0oQY.cjs +0 -5
  387. package/dist/emergencyPlan-BRFhMubg.cjs +0 -1
  388. package/dist/evn-B05d7LtF.cjs +0 -1
  389. package/dist/evolutionChart-y2mkLVwU.cjs +0 -1
  390. package/dist/fileViewer-Dy2fdABW.cjs +0 -1
  391. package/dist/filterBar-CcrUdD-O.cjs +0 -1
  392. package/dist/fireCombustionCurve-B-6MZLul.cjs +0 -1
  393. package/dist/fireFilterBar-C9b_Ohvr.cjs +0 -1
  394. package/dist/fireHistoryTable-5sG5FDCD.cjs +0 -3
  395. package/dist/gag-CDX99Ta4.cjs +0 -1
  396. package/dist/gasStationList-Dl9qawf_.cjs +0 -1
  397. package/dist/globalObjectSelector-Bz2XhgxT.cjs +0 -1
  398. package/dist/gnssFilterBar-BT19n0j_.cjs +0 -1
  399. package/dist/gnssHistoryTable-CrS2qO6S.cjs +0 -3
  400. package/dist/gnssSectionProfile-_KbP1NXU.cjs +0 -1
  401. package/dist/gnssTimeSeriesChart-BgFoXAZv.cjs +0 -1
  402. package/dist/gnssXYTrajectory-C1N3RWzp.cjs +0 -5
  403. package/dist/grd-DtDoJOOa.cjs +0 -1
  404. package/dist/grdIndass-ci3JkvGZ.cjs +0 -1
  405. package/dist/grg-C2qVuXYE.cjs +0 -1
  406. package/dist/gridview-BLAlr5uj.cjs +0 -1
  407. package/dist/groundwaterFilterBar-1E1j67JT.cjs +0 -1
  408. package/dist/groundwaterProfileChart-CS9xelz8.cjs +0 -11
  409. package/dist/groundwaterTimeCurve-DYiDLgVY.cjs +0 -1
  410. package/dist/headerBar-OwCxpc4o.cjs +0 -1
  411. package/dist/index-D8dh_6Qd.cjs +0 -612
  412. package/dist/insarDeformChart-CSQ7fc2p.cjs +0 -1
  413. package/dist/insarImageViewer-DvaRS1zr.cjs +0 -1
  414. package/dist/kpiCard-oLpk5d4m.cjs +0 -2
  415. package/dist/landslideMap-CO8o7T8J.cjs +0 -1
  416. package/dist/landslideWarning-BZXa5qTB.cjs +0 -1
  417. package/dist/layerTabs-BxRAsklw.cjs +0 -1
  418. package/dist/linIndass-Bb7UA-zk.cjs +0 -2
  419. package/dist/lst-Dri1MTDI.cjs +0 -1
  420. package/dist/manualEntry-D74dgZv8.cjs +0 -1
  421. package/dist/mappingList-CBN7ArkQ.cjs +0 -1
  422. package/dist/mixGrid-DTj2pmFW.cjs +0 -1
  423. package/dist/mixMap-B4T4R6kA.cjs +0 -1
  424. package/dist/mixModel-BzilRtjf.cjs +0 -3
  425. package/dist/mixPie-DtQm-LGp.cjs +0 -2
  426. package/dist/mjpegCamera-Lu3UHJ83.cjs +0 -1
  427. package/dist/monitorAlert-Ctt2kCxQ.cjs +0 -1
  428. package/dist/monitorData-D_tMbx_Y.cjs +0 -1
  429. package/dist/myValue-FZPOucSS.cjs +0 -1
  430. package/dist/myValueList-XIDK3ove.cjs +0 -1
  431. package/dist/objectList-BtbxHtJj.cjs +0 -1
  432. package/dist/photo-BITvEhKG.cjs +0 -1
  433. package/dist/photo-CjulDHTM.js +0 -873
  434. package/dist/placeholder-3kajeeeb.cjs +0 -1
  435. package/dist/pressBtn-pUcQtd5n.cjs +0 -1
  436. package/dist/processTable-CDulvQlu.cjs +0 -3
  437. package/dist/rad-Dk4PrnyI.cjs +0 -1
  438. package/dist/radarMapViewer-TJIPACdT.cjs +0 -1
  439. package/dist/rainfallFilterBar-Myq0MBCf.cjs +0 -1
  440. package/dist/rainfallTimeCurve-BUI-RlnG.cjs +0 -1
  441. package/dist/rangeLin-DYCZ8wVc.cjs +0 -3
  442. package/dist/realtimeEvolutionMap-BwyQdAhL.cjs +0 -1
  443. package/dist/regionBar-DsxqfirI.cjs +0 -3
  444. package/dist/retainer1-CSqjvY4k.cjs +0 -1
  445. package/dist/retainer2-Bqlwvr53.cjs +0 -1
  446. package/dist/retainerRecordList-DWZ3WDiz.cjs +0 -1
  447. package/dist/ringTopN-Bp0er_zV.cjs +0 -1
  448. package/dist/riskRegionTable-B3bzMaR_.cjs +0 -1
  449. package/dist/sankey-B4BJ4xIo.cjs +0 -1
  450. package/dist/scd-Dgd3KDpk.cjs +0 -1
  451. package/dist/sideMenu-BQ5rrGBr.cjs +0 -1
  452. package/dist/slopeStability-D96aiykf.cjs +0 -1
  453. package/dist/speedCurve-5nWqVAzz.cjs +0 -1
  454. package/dist/staticLine-DUCg-0tI.cjs +0 -1
  455. package/dist/stressFilterBar-CorWdmpQ.cjs +0 -1
  456. package/dist/stressTimeCurve-Bci50Cwv.cjs +0 -1
  457. package/dist/terminalConfigList-O881ke5o.cjs +0 -1
  458. package/dist/terminalList-C9TB2cJH.cjs +0 -1
  459. package/dist/textbox-BMWnbPvz.cjs +0 -1
  460. package/dist/timeQueryBar-C6ZheMvD.cjs +0 -1
  461. package/dist/timeSeriesCurve-DRlr5n3U.cjs +0 -1
  462. package/dist/trajectoryConfigPanel-DJ6fOeb1.cjs +0 -1
  463. package/dist/trajectoryScatter-C7kfSkyS.cjs +0 -1
  464. package/dist/universalConfigPanel-PO1hdgjw.cjs +0 -1
  465. package/dist/universalTable-QAb6UKCq.cjs +0 -2
  466. package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
  467. package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
  468. package/dist/videoMonitor-BKLD_aQs.cjs +0 -1
  469. package/dist/vlu-C0XLDKKk.cjs +0 -1
  470. package/dist/warningOverview--n7crFnZ.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var ve=Object.defineProperty,Ce=Object.defineProperties;var xe=Object.getOwnPropertyDescriptors;var Y=Object.getOwnPropertySymbols;var Ne=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var Z=(f,d,p)=>d in f?ve(f,d,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[d]=p,z=(f,d)=>{for(var p in d||(d={}))Ne.call(d,p)&&Z(f,p,d[p]);if(Y)for(var p of Y(d))_e.call(d,p)&&Z(f,p,d[p]);return f},K=(f,d)=>Ce(f,xe(d));var _=(f,d,p)=>new Promise((q,V)=>{var P=y=>{try{T(p.next(y))}catch(A){V(A)}},$=y=>{try{T(p.throw(y))}catch(A){V(A)}},T=y=>y.done?q(y.value):Promise.resolve(y.value).then(P,$);T((p=p.apply(f,d)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=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/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/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),ke=require("./useTableBodyHeight-pf87uGjw.cjs"),Be=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Se=require("./BaseComponent-Chnv4fBT.cjs"),k=require("./index-DVqMfQVc.cjs"),Ee=require("./titleStyle-NSnz6cUg.cjs"),u=require("element-plus"),Te=require("@element-plus/icons-vue"),Ae=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),ee=require("./ele-lst-icon-CrxnHZ-A.cjs"),De={class:"mix-body"},Ue={class:"toolbar"},Oe={class:"pagination"},ze={class:"view-body"},qe={DEFAULT_ICON:ee.DEFAULT_ICON,ACTIVE_ICON:ee.ACTIVE_ICON,NAME_CN:"终端配置列表",NAME_EN:"TerminalConfigList",ORDER:6,PLATFORM:["pc","screen"]},Me={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:"uid",label:"终端配置编号",width:140,visible:!0},{key:"alias",label:"终端配置别名",width:120,visible:!0},{key:"name",label:"终端配置名称",width:140,visible:!0},{key:"lua_version",label:"LUA版本号",width:110,visible:!0},{key:"tag",label:"标签",width:120,visible:!0},{key:"description",label:"描述",minWidth:140,visible:!0},{key:"last_modified",label:"最后修改时间",width:170,visible:!0},{key:"created",label:"创建时间",width:170,visible:!0}]},te=[{name:"终端配置名称",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showBatchUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0,uid:"终端配置编号",uid_visible:!0,alias:"终端配置别名",alias_visible:!0,name_visible:!0,lua_version:"LUA版本号",lua_version_visible:!0,tag:"标签",tag_visible:!0,description:"描述",description_visible:!0,last_modified:"最后修改时间",last_modified_visible:!0,created:"创建时间",created_visible:!0}],Ie=[{key:"showAddBtn",label:"添加",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组"},{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showBatchUpgradeBtn",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:"name",label:"终端配置名称",checkable:!0,checkboxKey:"name_visible"},{key:"lua_version",label:"LUA版本号",checkable:!0,checkboxKey:"lua_version_visible"},{key:"tag",label:"标签",checkable:!0,checkboxKey:"tag_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"last_modified",label:"最后修改时间",checkable:!0,checkboxKey:"last_modified_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"}],Le=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Fe={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.name"},{value:"uid",label:"setting.gridFields.uid"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"tag",label:"setting.gridFields.tag"}]},Pe={DEFAULT:qe,OPTIONS:Me,DATA:te,PARAMS:Ie,SOURCE:Le,COMMON:Fe},$e=e.defineComponent(K(z({},Pe),{__name:"terminalConfigList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},code:{default:""}},setup(f){const d=f;class p extends Se.BaseComponent{getDataBool(t,o){var m,b;const n=(b=(m=this.props.conf)==null?void 0:m.data)==null?void 0:b[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),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showBatchUpgradeBtn:this.getDataBool("showBatchUpgradeBtn",!0),showDownloadBtn:this.getDataBool("showDownloadBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length))this.props.conf.data=JSON.parse(JSON.stringify(te));else{const o=this.props.conf.data[0],n={showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showBatchUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[m,b]of Object.entries(n))o[m]===void 0&&(o[m]=b)}}}const q=new p(d,"terminalConfigList");q.setupLifecycle();const V=q.getStyle(),{mixiotPanelClass:P,mixiotPanelRootStyle:$}=Be.useMixiotPanelSurface(V),{tableWrapRef:T,tableBodyHeight:y}=ke.useTableBodyHeight(),A=e.computed(()=>Ee.generateTitleStyle(d.conf.options)),le=e.computed(()=>{var o,n,m,b;const i=((n=(o=d.conf)==null?void 0:o.options)==null?void 0:n.columns)||[],t=((b=(m=d.conf)==null?void 0:m.data)==null?void 0:b[0])||{};return(Array.isArray(i)?i:[]).map(s=>{const C=t[s.key],E=`${s.key}_visible`,B=t[E];return{prop:s.key,label:C!==void 0&&C!==""?String(C):s.label,width:s.width,minWidth:s.minWidth,visible:B!==void 0?!!B:s.visible!==!1}})}),h=e.reactive({current:1,pageSize:10,total:0}),M=e.ref(""),R=e.ref("name"),I=e.ref([]),j=e.ref(!1);function ae(){const i=[],t=M.value.trim();return t&&i.push([R.value,"like",`%${t}%`]),Ae.appendCommonDesignerWhereAnd(d.conf.common,i),{page_index:h.current,page_size:h.pageSize,where_and:JSON.stringify(i)}}function v(){return _(this,null,function*(){var i;j.value=!0;try{const t=yield k.api.post("terminal_config_list",ae(),!0),o=(i=t==null?void 0:t.result)!=null?i:t;I.value=Array.isArray(o==null?void 0:o.data)?[...o.data]:[];const n=o==null?void 0:o.total_records;h.total=typeof n=="number"?n:I.value.length,t&&t.code!==void 0&&t.code!==200&&console.warn("[terminalConfigList] 列表接口非成功",t.msg||t.info,t)}catch(t){console.error(t),I.value=[],h.total=0}finally{j.value=!1}})}const ie=e.computed(()=>I.value);function W(i){if(i==null||i==="")return"";if(Array.isArray(i))return i.join(", ");if(typeof i=="string")try{const t=JSON.parse(i);return Array.isArray(t)?t.join(", "):i}catch(t){return i}return String(i)}function oe(i,t){if(t==="tag")return W(i.tag);const o=i[t];return o==null?"":String(o)}function H(){h.current=1,v()}function ne(){M.value="",h.current=1,v()}function re(){h.current=1,v()}function se(){v()}const D=e.ref(!1),U=e.ref(!1),N=e.ref(!1),a=e.reactive({id:0,uid:"",name:"",alias:"",tagInput:"",description:"",terminal_script:"",config_script:"",addition:"[]",reference:"",hardware:"",is_available:1});function de(){const i=a.tagInput.trim();return i?i.split(",").map(t=>t.trim()).filter(Boolean):[]}function ue(i){if(i==null){a.tagInput="";return}if(Array.isArray(i)){a.tagInput=i.join(", ");return}if(typeof i=="string")try{const t=JSON.parse(i);a.tagInput=Array.isArray(t)?t.join(", "):i}catch(t){a.tagInput=i}}function L(){a.id=0,a.uid="",a.name="",a.alias="",a.tagInput="",a.description="",a.terminal_script="",a.config_script="",a.addition="[]",a.reference="",a.hardware="",a.is_available=1}function ce(){var t;const i=((t=a.addition)==null?void 0:t.trim())||"[]";try{return JSON.parse(i)}catch(o){throw new Error("扩展信息需为合法 JSON")}}function Q(){const i=ce();return{id:a.id,uid:a.uid.trim(),name:a.name.trim(),alias:a.alias.trim(),description:a.description,tag:de(),terminal_script:a.terminal_script,config_script:a.config_script,addition:i,reference:a.reference,hardware:a.hardware,is_available:a.is_available}}function pe(){L(),a.addition="[]",D.value=!0}function me(i){return _(this,null,function*(){var t,o,n,m,b,s,C,E,B,c,O;L(),U.value=!0,N.value=!0;try{const x=yield k.api.post("terminal_config_item",{uid:i.uid},!0),r=(t=x==null?void 0:x.result)!=null?t:x;if(r&&typeof r=="object"){if(a.id=Number(r.id)||0,a.uid=String((n=(o=r.uid)!=null?o:i.uid)!=null?n:""),a.name=String((m=r.name)!=null?m:""),a.alias=String((b=r.alias)!=null?b:""),ue(r.tag),a.description=String((s=r.description)!=null?s:""),a.terminal_script=String((C=r.terminal_script)!=null?C:""),a.config_script=String((E=r.config_script)!=null?E:""),r.addition!==void 0&&r.addition!==null)if(typeof r.addition=="string")try{a.addition=JSON.stringify(JSON.parse(r.addition),null,2)}catch(G){a.addition=String(r.addition)}else a.addition=JSON.stringify(r.addition,null,2);else a.addition="[]";a.reference=String((B=r.reference)!=null?B:""),a.hardware=String((c=r.hardware)!=null?c:""),a.is_available=r.is_available!==void 0?Number(r.is_available):1}}catch(x){a.uid=String(i.uid),a.name=String((O=i.name)!=null?O:""),u.ElMessage.warning("拉取配置详情失败,已使用列表行数据")}finally{N.value=!1}})}function fe(){return _(this,null,function*(){var t;if(!((t=a.name)!=null&&t.trim())){u.ElMessage.warning("请填写配置名称");return}let i;try{i=K(z({},Q()),{id:0})}catch(o){u.ElMessage.warning((o==null?void 0:o.message)||"扩展信息格式错误");return}N.value=!0;try{yield k.api.post("terminal_config_create",i,!0),u.ElMessage.success("添加成功"),D.value=!1,yield v()}catch(o){u.ElMessage.error("添加失败")}finally{N.value=!1}})}function ge(){return _(this,null,function*(){var t;if(!((t=a.name)!=null&&t.trim())){u.ElMessage.warning("请填写配置名称");return}let i;try{i=Q()}catch(o){u.ElMessage.warning((o==null?void 0:o.message)||"扩展信息格式错误");return}N.value=!0;try{yield k.api.post("terminal_config_update",i,!0),u.ElMessage.success("保存成功"),U.value=!1,yield v()}catch(o){u.ElMessage.error("保存失败")}finally{N.value=!1}})}const F=e.ref(!1),J=e.ref(!1),w=e.ref(null);function we(i){return _(this,null,function*(){w.value=null,F.value=!0,J.value=!0;try{const t=yield k.api.post("terminal_config_item",{uid:i.uid},!0),o=t==null?void 0:t.result;o&&typeof o=="object"?w.value=o:(w.value=z({},i),u.ElMessage.warning("未返回详情,已显示列表行数据"))}catch(t){w.value=z({},i),u.ElMessage.warning("加载详情失败,已显示列表行数据")}finally{J.value=!1}})}function Ve(i){return _(this,null,function*(){try{(yield k.api.post("upgrade_config_lua",{uid:i.uid},!0)).code===200&&(u.ElMessage.success("已触发批量升级"),yield v())}catch(t){u.ElMessage.error("批量升级请求失败(参数可能与后端约定不一致,可在 mixui 终端管理中操作)")}})}function he(i){const t=i.lua_file;if(!t){u.ElMessage.warning("无 LUA 文件地址");return}if(/^https?:\/\//i.test(t)){window.open(t,"_blank");return}const o=(localStorage.getItem("globalApiUrl")||"").replace(/\/$/,""),n=o?`${o}/${t.replace(/^\//,"")}`:t;window.open(n,"_blank")}function be(i){u.ElMessageBox.confirm(`确认对配置「${i.name||i.uid}」进行资料备档吗?`,"提示",{type:"info"}).then(()=>{u.ElMessage.success("完整备档流程请在 mixui「终端管理」中操作")}).catch(()=>{})}function ye(i){u.ElMessageBox.confirm(`确认删除终端配置「${i.name||i.uid}」吗?`,"警告",{type:"warning"}).then(()=>_(null,null,function*(){try{yield k.api.post("terminal_config_delete",{uid:i.uid,id:i.id},!0),u.ElMessage.success("删除成功"),yield v()}catch(t){u.ElMessage.error("删除失败")}})).catch(()=>{})}return e.onMounted(()=>{v()}),(i,t)=>{const o=g.ElIcon,n=g.ElInput,m=g.ElOption,b=g.ElSelect,s=g.ElButton,C=g.ElTableColumn,E=g.ElTable,B=g.ElPagination,c=g.ElFormItem,O=g.ElForm,x=g.ElDialog,r=g.ElDescriptionsItem,G=g.ElDescriptions,X=g.ElLoadingDirective;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["terminal-config-list mix-component",e.unref(P)]),style:e.normalizeStyle(e.unref($))},[e.unref(V).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(A.value)},e.toDisplayString(f.conf.caption||f.conf.name),5)),e.createElementVNode("div",De,[e.createElementVNode("div",Ue,[e.createVNode(n,{modelValue:M.value,"onUpdate:modelValue":t[0]||(t[0]=l=>M.value=l),placeholder:"搜索终端配置",size:"small",class:"toolbar-search",onKeyup:e.withKeys(H,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(o,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Te.Search))]),_:1})]),_:1},8,["modelValue"]),e.createVNode(b,{modelValue:R.value,"onUpdate:modelValue":t[1]||(t[1]=l=>R.value=l),size:"small",class:"toolbar-field-select"},{default:e.withCtx(()=>[e.createVNode(m,{label:"配置名称",value:"name"}),e.createVNode(m,{label:"配置编号",value:"uid"}),e.createVNode(m,{label:"配置别名",value:"alias"}),e.createVNode(m,{label:"标签",value:"tag"})]),_:1},8,["modelValue"]),e.createVNode(s,{type:"primary",onClick:H},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(s,{onClick:ne},{default:e.withCtx(()=>[...t[26]||(t[26]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(V).showAddBtn?(e.openBlock(),e.createBlock(s,{key:0,type:"success",onClick:pe},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("添加",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"tableWrapRef",ref:T,class:"table-wrapper"},[e.createVNode(E,{data:ie.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},height:e.unref(y)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l.prop},[l.visible?(e.openBlock(),e.createBlock(C,{key:0,prop:l.prop,label:l.label,width:l.width,"min-width":l.minWidth},{default:e.withCtx(S=>[e.createElementVNode("span",null,e.toDisplayString(oe(S.row,l.prop)),1)]),_:2},1032,["prop","label","width","min-width"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(C,{label:"操作","min-width":"340",fixed:"right"},{default:e.withCtx(l=>[e.unref(V).showViewBtn?(e.openBlock(),e.createBlock(s,{key:0,size:"small",onClick:S=>we(l.row)},{default:e.withCtx(()=>[...t[28]||(t[28]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(V).showEditBtn?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:S=>me(l.row)},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(V).showBatchUpgradeBtn?(e.openBlock(),e.createBlock(s,{key:2,size:"small",onClick:S=>Ve(l.row)},{default:e.withCtx(()=>[...t[30]||(t[30]=[e.createTextVNode("批量升级",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(V).showDownloadBtn?(e.openBlock(),e.createBlock(s,{key:3,size:"small",onClick:S=>he(l.row)},{default:e.withCtx(()=>[...t[31]||(t[31]=[e.createTextVNode("下载",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(V).showArchiveBtn?(e.openBlock(),e.createBlock(s,{key:4,size:"small",type:"info",onClick:S=>be(l.row)},{default:e.withCtx(()=>[...t[32]||(t[32]=[e.createTextVNode("资料备档",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(V).showDeleteBtn?(e.openBlock(),e.createBlock(s,{key:5,size:"small",type:"danger",onClick:S=>ye(l.row)},{default:e.withCtx(()=>[...t[33]||(t[33]=[e.createTextVNode("删除",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","height"])],512),e.createElementVNode("div",Oe,[e.createVNode(B,{"current-page":h.current,"onUpdate:currentPage":t[2]||(t[2]=l=>h.current=l),"page-size":h.pageSize,"onUpdate:pageSize":t[3]||(t[3]=l=>h.pageSize=l),"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next, jumper",total:h.total,onSizeChange:re,onCurrentChange:se},null,8,["current-page","page-size","total"])])]),e.renderSlot(i.$slots,"default",{},void 0,!0)],6)),[[X,j.value]]),e.createVNode(x,{modelValue:D.value,"onUpdate:modelValue":t[12]||(t[12]=l=>D.value=l),title:"添加终端配置",width:"900px","destroy-on-close":"",onClosed:L},{footer:e.withCtx(()=>[e.createVNode(s,{onClick:t[11]||(t[11]=l=>D.value=!1)},{default:e.withCtx(()=>[...t[34]||(t[34]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:N.value,onClick:fe},{default:e.withCtx(()=>[...t[35]||(t[35]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(O,{model:a,"label-width":"130px"},{default:e.withCtx(()=>[e.createVNode(c,{label:"配置名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.name,"onUpdate:modelValue":t[4]||(t[4]=l=>a.name=l),placeholder:"必填"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"配置别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.alias,"onUpdate:modelValue":t[5]||(t[5]=l=>a.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.tagInput,"onUpdate:modelValue":t[6]||(t[6]=l=>a.tagInput=l),placeholder:"多个标签用英文逗号分隔"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"Aprus脚本"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.terminal_script,"onUpdate:modelValue":t[7]||(t[7]=l=>a.terminal_script=l),type:"textarea",rows:5,class:"mono-input"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"Config脚本"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.config_script,"onUpdate:modelValue":t[8]||(t[8]=l=>a.config_script=l),type:"textarea",rows:5,class:"mono-input"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"扩展信息"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.addition,"onUpdate:modelValue":t[9]||(t[9]=l=>a.addition=l),type:"textarea",rows:4,placeholder:"JSON,默认 []"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.description,"onUpdate:modelValue":t[10]||(t[10]=l=>a.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(x,{modelValue:U.value,"onUpdate:modelValue":t[22]||(t[22]=l=>U.value=l),title:"编辑终端配置",width:"900px","destroy-on-close":"",onClosed:L},{footer:e.withCtx(()=>[e.createVNode(s,{onClick:t[21]||(t[21]=l=>U.value=!1)},{default:e.withCtx(()=>[...t[36]||(t[36]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:N.value,onClick:ge},{default:e.withCtx(()=>[...t[37]||(t[37]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(O,{model:a,"label-width":"130px"},{default:e.withCtx(()=>[e.createVNode(c,{label:"配置编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.uid,"onUpdate:modelValue":t[13]||(t[13]=l=>a.uid=l),disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"配置名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.name,"onUpdate:modelValue":t[14]||(t[14]=l=>a.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"配置别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.alias,"onUpdate:modelValue":t[15]||(t[15]=l=>a.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.tagInput,"onUpdate:modelValue":t[16]||(t[16]=l=>a.tagInput=l),placeholder:"多个标签用英文逗号分隔"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"Aprus脚本"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.terminal_script,"onUpdate:modelValue":t[17]||(t[17]=l=>a.terminal_script=l),type:"textarea",rows:5,class:"mono-input"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"Config脚本"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.config_script,"onUpdate:modelValue":t[18]||(t[18]=l=>a.config_script=l),type:"textarea",rows:5,class:"mono-input"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"扩展信息"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.addition,"onUpdate:modelValue":t[19]||(t[19]=l=>a.addition=l),type:"textarea",rows:4},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.description,"onUpdate:modelValue":t[20]||(t[20]=l=>a.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(x,{modelValue:F.value,"onUpdate:modelValue":t[24]||(t[24]=l=>F.value=l),title:"终端配置详情",width:"800px","destroy-on-close":""},{footer:e.withCtx(()=>[e.createVNode(s,{type:"primary",onClick:t[23]||(t[23]=l=>F.value=!1)},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",ze,[w.value?(e.openBlock(),e.createBlock(G,{key:0,column:2,border:""},{default:e.withCtx(()=>[e.createVNode(r,{label:"配置编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.uid)!=null?l:""),1)]}),_:1}),e.createVNode(r,{label:"配置名称"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.name)!=null?l:""),1)]}),_:1}),e.createVNode(r,{label:"配置别名"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.alias)!=null?l:""),1)]}),_:1}),e.createVNode(r,{label:"LUA版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.lua_version)!=null?l:""),1)]}),_:1}),e.createVNode(r,{label:"标签",span:2},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(W(w.value.tag)),1)]),_:1}),e.createVNode(r,{label:"最后修改"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.last_modified)!=null?l:""),1)]}),_:1}),e.createVNode(r,{label:"创建时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.created)!=null?l:""),1)]}),_:1}),e.createVNode(r,{label:"描述",span:2},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=w.value.description)!=null?l:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)])),[[X,J.value]])]),_:1},8,["modelValue"])],64)}}})),Re=k._export_sfc($e,[["__scopeId","data-v-d6b454e0"]]);exports.default=Re;
@@ -10,7 +10,7 @@ var de = (b, p, c) => p in b ? Ne(b, p, { enumerable: !0, configurable: !0, writ
10
10
  Fe.call(p, c) && de(b, c, p[c]);
11
11
  return b;
12
12
  }, te = (b, p) => Ie(b, Le(p));
13
- var E = (b, p, c) => new Promise((M, w) => {
13
+ var z = (b, p, c) => new Promise((M, w) => {
14
14
  var G = (S) => {
15
15
  try {
16
16
  $(c.next(S));
@@ -43,9 +43,10 @@ import "element-plus/es/components/option/style/css";
43
43
  import "element-plus/es/components/input/style/css";
44
44
  import "element-plus/es/components/icon/style/css";
45
45
  import { defineComponent as et, computed as le, reactive as pe, ref as V, onMounted as tt, openBlock as v, createElementBlock as L, Fragment as ie, withDirectives as me, normalizeStyle as ce, unref as k, normalizeClass as lt, toDisplayString as B, createCommentVNode as C, createElementVNode as K, createVNode as a, withKeys as it, withCtx as o, createTextVNode as d, createBlock as D, renderList as at, renderSlot as ot } from "vue";
46
- import { u as nt, a as rt } from "./useMixiotPanelSurface-DlVkLttU.js";
47
- import { B as st } from "./BaseComponent-D5tlYehc.js";
48
- import { a as N, _ as ut } from "./index-Bdq33405.js";
46
+ import { u as nt } from "./useTableBodyHeight-CwrQvi7M.js";
47
+ import { u as rt } from "./useMixiotPanelSurface-DRl3cZvc.js";
48
+ import { B as st } from "./BaseComponent-CBagahPU.js";
49
+ import { a as N, _ as ut } from "./index-DwPJu6XM.js";
49
50
  import { g as dt } from "./titleStyle-BT5GlpAb.js";
50
51
  import { ElMessage as f, ElMessageBox as fe } from "element-plus";
51
52
  import { Search as pt } from "@element-plus/icons-vue";
@@ -56,7 +57,8 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
56
57
  ACTIVE_ICON: ct,
57
58
  NAME_CN: "终端配置列表",
58
59
  NAME_EN: "TerminalConfigList",
59
- ORDER: 6
60
+ ORDER: 6,
61
+ PLATFORM: ["pc", "screen"]
60
62
  }, ht = {
61
63
  panelBgTone: {
62
64
  value: "light",
@@ -202,17 +204,17 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
202
204
  }
203
205
  const M = new c(p, "terminalConfigList");
204
206
  M.setupLifecycle();
205
- const w = M.getStyle(), { mixiotPanelClass: G, mixiotPanelRootStyle: X } = nt(w), { tableWrapRef: $, tableBodyHeight: S } = rt(), F = le(() => dt(p.conf.options)), be = le(() => {
207
+ const w = M.getStyle(), { mixiotPanelClass: G, mixiotPanelRootStyle: X } = rt(w), { tableWrapRef: $, tableBodyHeight: S } = nt(), F = le(() => dt(p.conf.options)), be = le(() => {
206
208
  var n, r, g, _;
207
209
  const i = ((r = (n = p.conf) == null ? void 0 : n.options) == null ? void 0 : r.columns) || [], e = ((_ = (g = p.conf) == null ? void 0 : g.data) == null ? void 0 : _[0]) || {};
208
210
  return (Array.isArray(i) ? i : []).map((u) => {
209
- const A = e[u.key], I = `${u.key}_visible`, O = e[I];
211
+ const A = e[u.key], I = `${u.key}_visible`, E = e[I];
210
212
  return {
211
213
  prop: u.key,
212
214
  label: A !== void 0 && A !== "" ? String(A) : u.label,
213
215
  width: u.width,
214
216
  minWidth: u.minWidth,
215
- visible: O !== void 0 ? !!O : u.visible !== !1
217
+ visible: E !== void 0 ? !!E : u.visible !== !1
216
218
  };
217
219
  });
218
220
  }), h = pe({ current: 1, pageSize: 10, total: 0 }), W = V(""), Y = V("name"), H = V([]), Z = V(!1);
@@ -225,7 +227,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
225
227
  };
226
228
  }
227
229
  function x() {
228
- return E(this, null, function* () {
230
+ return z(this, null, function* () {
229
231
  var i;
230
232
  Z.value = !0;
231
233
  try {
@@ -274,7 +276,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
274
276
  function ke() {
275
277
  x();
276
278
  }
277
- const P = V(!1), R = V(!1), z = V(!1), l = pe({
279
+ const P = V(!1), R = V(!1), O = V(!1), l = pe({
278
280
  id: 0,
279
281
  uid: "",
280
282
  name: "",
@@ -342,9 +344,9 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
342
344
  q(), l.addition = "[]", P.value = !0;
343
345
  }
344
346
  function xe(i) {
345
- return E(this, null, function* () {
346
- var e, n, r, g, _, u, A, I, O, m, j;
347
- q(), R.value = !0, z.value = !0;
347
+ return z(this, null, function* () {
348
+ var e, n, r, g, _, u, A, I, E, m, j;
349
+ q(), R.value = !0, O.value = !0;
348
350
  try {
349
351
  const U = yield N.post("terminal_config_item", { uid: i.uid }, !0), s = (e = U == null ? void 0 : U.result) != null ? e : U;
350
352
  if (s && typeof s == "object") {
@@ -359,17 +361,17 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
359
361
  l.addition = JSON.stringify(s.addition, null, 2);
360
362
  else
361
363
  l.addition = "[]";
362
- l.reference = String((O = s.reference) != null ? O : ""), l.hardware = String((m = s.hardware) != null ? m : ""), l.is_available = s.is_available !== void 0 ? Number(s.is_available) : 1;
364
+ l.reference = String((E = s.reference) != null ? E : ""), l.hardware = String((m = s.hardware) != null ? m : ""), l.is_available = s.is_available !== void 0 ? Number(s.is_available) : 1;
363
365
  }
364
366
  } catch (U) {
365
367
  l.uid = String(i.uid), l.name = String((j = i.name) != null ? j : ""), f.warning("拉取配置详情失败,已使用列表行数据");
366
368
  } finally {
367
- z.value = !1;
369
+ O.value = !1;
368
370
  }
369
371
  });
370
372
  }
371
373
  function Ae() {
372
- return E(this, null, function* () {
374
+ return z(this, null, function* () {
373
375
  var e;
374
376
  if (!((e = l.name) != null && e.trim())) {
375
377
  f.warning("请填写配置名称");
@@ -382,18 +384,18 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
382
384
  f.warning((n == null ? void 0 : n.message) || "扩展信息格式错误");
383
385
  return;
384
386
  }
385
- z.value = !0;
387
+ O.value = !0;
386
388
  try {
387
389
  yield N.post("terminal_config_create", i, !0), f.success("添加成功"), P.value = !1, yield x();
388
390
  } catch (n) {
389
391
  f.error("添加失败");
390
392
  } finally {
391
- z.value = !1;
393
+ O.value = !1;
392
394
  }
393
395
  });
394
396
  }
395
397
  function Ue() {
396
- return E(this, null, function* () {
398
+ return z(this, null, function* () {
397
399
  var e;
398
400
  if (!((e = l.name) != null && e.trim())) {
399
401
  f.warning("请填写配置名称");
@@ -406,19 +408,19 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
406
408
  f.warning((n == null ? void 0 : n.message) || "扩展信息格式错误");
407
409
  return;
408
410
  }
409
- z.value = !0;
411
+ O.value = !0;
410
412
  try {
411
413
  yield N.post("terminal_config_update", i, !0), f.success("保存成功"), R.value = !1, yield x();
412
414
  } catch (n) {
413
415
  f.error("保存失败");
414
416
  } finally {
415
- z.value = !1;
417
+ O.value = !1;
416
418
  }
417
419
  });
418
420
  }
419
421
  const Q = V(!1), ee = V(!1), y = V(null);
420
422
  function De(i) {
421
- return E(this, null, function* () {
423
+ return z(this, null, function* () {
422
424
  y.value = null, Q.value = !0, ee.value = !0;
423
425
  try {
424
426
  const e = yield N.post("terminal_config_item", { uid: i.uid }, !0), n = e == null ? void 0 : e.result;
@@ -430,8 +432,8 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
430
432
  }
431
433
  });
432
434
  }
433
- function ze(i) {
434
- return E(this, null, function* () {
435
+ function Oe(i) {
436
+ return z(this, null, function* () {
435
437
  try {
436
438
  (yield N.post("upgrade_config_lua", { uid: i.uid }, !0)).code === 200 && (f.success("已触发批量升级"), yield x());
437
439
  } catch (e) {
@@ -439,7 +441,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
439
441
  }
440
442
  });
441
443
  }
442
- function Ee(i) {
444
+ function ze(i) {
443
445
  const e = i.lua_file;
444
446
  if (!e) {
445
447
  f.warning("无 LUA 文件地址");
@@ -452,14 +454,14 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
452
454
  const n = (localStorage.getItem("globalApiUrl") || "").replace(/\/$/, ""), r = n ? `${n}/${e.replace(/^\//, "")}` : e;
453
455
  window.open(r, "_blank");
454
456
  }
455
- function Oe(i) {
457
+ function Ee(i) {
456
458
  fe.confirm(`确认对配置「${i.name || i.uid}」进行资料备档吗?`, "提示", { type: "info" }).then(() => {
457
459
  f.success("完整备档流程请在 mixui「终端管理」中操作");
458
460
  }).catch(() => {
459
461
  });
460
462
  }
461
463
  function Te(i) {
462
- fe.confirm(`确认删除终端配置「${i.name || i.uid}」吗?`, "警告", { type: "warning" }).then(() => E(null, null, function* () {
464
+ fe.confirm(`确认删除终端配置「${i.name || i.uid}」吗?`, "警告", { type: "warning" }).then(() => z(null, null, function* () {
463
465
  try {
464
466
  yield N.post("terminal_config_delete", { uid: i.uid, id: i.id }, !0), f.success("删除成功"), yield x();
465
467
  } catch (e) {
@@ -471,7 +473,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
471
473
  return tt(() => {
472
474
  x();
473
475
  }), (i, e) => {
474
- const n = Re, r = Pe, g = Je, _ = je, u = Ke, A = We, I = Me, O = He, m = Xe, j = Ge, U = Qe, s = Ze, re = Ye, se = qe;
476
+ const n = Re, r = Pe, g = Je, _ = je, u = Ke, A = We, I = Me, E = He, m = Xe, j = Ge, U = Qe, s = Ze, re = Ye, se = qe;
475
477
  return v(), L(ie, null, [
476
478
  me((v(), L("div", {
477
479
  class: lt(["terminal-config-list mix-component", k(G)]),
@@ -613,7 +615,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
613
615
  k(w).showBatchUpgradeBtn ? (v(), D(u, {
614
616
  key: 2,
615
617
  size: "small",
616
- onClick: (T) => ze(t.row)
618
+ onClick: (T) => Oe(t.row)
617
619
  }, {
618
620
  default: o(() => [...e[30] || (e[30] = [
619
621
  d("批量升级", -1)
@@ -623,7 +625,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
623
625
  k(w).showDownloadBtn ? (v(), D(u, {
624
626
  key: 3,
625
627
  size: "small",
626
- onClick: (T) => Ee(t.row)
628
+ onClick: (T) => ze(t.row)
627
629
  }, {
628
630
  default: o(() => [...e[31] || (e[31] = [
629
631
  d("下载", -1)
@@ -634,7 +636,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
634
636
  key: 4,
635
637
  size: "small",
636
638
  type: "info",
637
- onClick: (T) => Oe(t.row)
639
+ onClick: (T) => Ee(t.row)
638
640
  }, {
639
641
  default: o(() => [...e[32] || (e[32] = [
640
642
  d("资料备档", -1)
@@ -660,7 +662,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
660
662
  }, 8, ["data", "height"])
661
663
  ], 512),
662
664
  K("div", vt, [
663
- a(O, {
665
+ a(E, {
664
666
  "current-page": h.current,
665
667
  "onUpdate:currentPage": e[2] || (e[2] = (t) => h.current = t),
666
668
  "page-size": h.pageSize,
@@ -696,7 +698,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
696
698
  }),
697
699
  a(u, {
698
700
  type: "primary",
699
- loading: z.value,
701
+ loading: O.value,
700
702
  onClick: Ae
701
703
  }, {
702
704
  default: o(() => [...e[35] || (e[35] = [
@@ -815,7 +817,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
815
817
  }),
816
818
  a(u, {
817
819
  type: "primary",
818
- loading: z.value,
820
+ loading: O.value,
819
821
  onClick: Ue
820
822
  }, {
821
823
  default: o(() => [...e[37] || (e[37] = [
@@ -1036,7 +1038,7 @@ const gt = { class: "mix-body" }, bt = { class: "toolbar" }, vt = { class: "pagi
1036
1038
  ], 64);
1037
1039
  };
1038
1040
  }
1039
- })), Yt = /* @__PURE__ */ ut(Ct, [["__scopeId", "data-v-ccee27c5"]]);
1041
+ })), Zt = /* @__PURE__ */ ut(Ct, [["__scopeId", "data-v-d6b454e0"]]);
1040
1042
  export {
1041
- Yt as default
1043
+ Zt as default
1042
1044
  };
@@ -0,0 +1 @@
1
+ "use strict";var Ee=Object.defineProperty,De=Object.defineProperties;var Te=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var Ue=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable;var ne=(g,u,b)=>u in g?Ee(g,u,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[u]=b,z=(g,u)=>{for(var b in u||(u={}))Ue.call(u,b)&&ne(g,b,u[b]);if(oe)for(var b of oe(u))Ae.call(u,b)&&ne(g,b,u[b]);return g},ee=(g,u)=>De(g,Te(u));var V=(g,u,b)=>new Promise((I,y)=>{var X=B=>{try{T(b.next(B))}catch(U){y(U)}},W=B=>{try{T(b.throw(B))}catch(U){y(U)}},T=B=>B.done?I(B.value):Promise.resolve(B.value).then(X,W);T((b=b.apply(g,u)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=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/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/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),Me=require("./useTableBodyHeight-pf87uGjw.cjs"),Le=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Oe=require("./BaseComponent-Chnv4fBT.cjs"),_=require("./index-DVqMfQVc.cjs"),qe=require("./titleStyle-NSnz6cUg.cjs"),c=require("element-plus"),ze=require("@element-plus/icons-vue"),Ie=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),re=require("./ele-lst-icon-CrxnHZ-A.cjs"),Re={class:"mix-body"},Fe={class:"toolbar"},Pe={key:1},$e={class:"pagination"},Ke={class:"view-body"},je={DEFAULT_ICON:re.DEFAULT_ICON,ACTIVE_ICON:re.ACTIVE_ICON,NAME_CN:"终端列表",NAME_EN:"TerminalList",ORDER:5,PLATFORM:["pc","screen"]},Xe={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}]},se=[{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}],We=[{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"}],He=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Je={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"}]},Qe={DEFAULT:je,OPTIONS:Xe,DATA:se,PARAMS:We,SOURCE:He,COMMON:Je},Ge=e.defineComponent(ee(z({},Qe),{__name:"terminalList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},code:{default:""},terminalUidList:{default:()=>[]},terminalOnlineFilter:{default:null}},setup(g){const u=g;class b extends Oe.BaseComponent{getDataBool(t,o){var r,d;const n=(d=(r=this.props.conf)==null?void 0:r.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(){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(se));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[r,d]of Object.entries(n))o[r]===void 0&&(o[r]=d)}}}const I=new b(u,"terminalList");I.setupLifecycle();const y=I.getStyle(),{mixiotPanelClass:X,mixiotPanelRootStyle:W}=Le.useMixiotPanelSurface(y),{tableWrapRef:T,tableBodyHeight:B}=Me.useTableBodyHeight(),U=e.computed(()=>qe.generateTitleStyle(u.conf.options)),ue=e.computed(()=>{var o,n,r,d;const i=((n=(o=u.conf)==null?void 0:o.options)==null?void 0:n.columns)||[],t=((d=(r=u.conf)==null?void 0:r.data)==null?void 0:d[0])||{};return(Array.isArray(i)?i:[]).map(s=>{const C=t[s.key],S=`${s.key}_visible`,E=t[S];return{prop:s.key,label:C!==void 0&&C!==""?String(C):s.label,width:s.width,minWidth:s.minWidth,visible:E!==void 0?!!E:s.visible!==!1}})}),H=[{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 te(i){if(i==null||i==="")return"";const t=String(i),o=H.find(n=>n.value===t);return o?o.label:t}function A(i,t){return t.split(".").reduce((o,n)=>{if(!(o==null||typeof o!="object"))return o[n]},i)}function J(i){const t=i.online;return t===1||t===!0||t==="1"}const w=e.reactive({current:1,pageSize:10,total:0}),R=e.ref(""),Q=e.ref("name"),G=e.ref([]),Y=e.ref(!1);function de(){const i=[["uid","!=","fidiser"]],t=R.value.trim();return t&&i.push([Q.value,"like",`%${t}%`]),(u.terminalOnlineFilter===0||u.terminalOnlineFilter===1)&&i.push(["online","=",u.terminalOnlineFilter]),Ie.appendCommonDesignerWhereAnd(u.conf.common,i),{page_index:w.current,page_size:w.pageSize,where_and:JSON.stringify(i)}}function x(){return V(this,null,function*(){var i,t;Y.value=!0;try{const o=yield _.api.post("terminal_list",de(),!0),n=(i=o==null?void 0:o.result)!=null?i:o;let r=Array.isArray(n==null?void 0:n.data)?[...n.data]:[];if((t=u.terminalUidList)!=null&&t.length){const s=new Set(u.terminalUidList.map(String));r=r.filter(C=>s.has(String(C.uid)))}G.value=r;const d=n==null?void 0:n.total_records;w.total=typeof d=="number"?d:r.length,o&&o.code!==void 0&&o.code!==200&&console.warn("[terminalList] 列表接口非成功",o.msg||o.info,o)}catch(o){console.error(o),G.value=[],w.total=0}finally{Y.value=!1}})}const ce=e.computed(()=>G.value);function me(i,t){if(t==="type")return te(i.type);const o=A(i,t);return o==null?"":String(o)}function le(){w.current=1,x()}function pe(){R.value="",w.current=1,x()}function be(){w.current=1,x()}function fe(){x()}e.watch(()=>{var i;return[(i=u.terminalUidList)==null?void 0:i.join(","),u.terminalOnlineFilter].join("|")},()=>{w.current=1,x()});function he(){c.ElMessage.info("批量导入终端请在 mixui「终端管理」中使用导入功能")}function ye(){c.ElMessage.info("批量刷新请在 mixui「终端管理」中操作(需 user_action 接口)")}const M=e.ref(!1),L=e.ref(!1),N=e.ref(!1),F=e.ref([]),a=e.reactive({id:0,uid:"",name:"",alias:"",type:"Mixlinker Aprus-X",config_id:"",maker:"",description:"",rsa_privatekey:"",auto_upgrade:0,is_available:1});function ae(){return V(this,null,function*(){var i;try{const t=yield _.api.post("terminal_config_list",{select:["id","uid","name"]},!0),o=(i=t==null?void 0:t.result)!=null?i:t;F.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(t){F.value=[]}})}function P(){a.id=0,a.uid="",a.name="",a.alias="",a.type="Mixlinker Aprus-X",a.config_id="",a.maker="",a.description="",a.rsa_privatekey="",a.auto_upgrade=0,a.is_available=1}function ge(){return V(this,null,function*(){P(),yield ae(),M.value=!0})}function ke(i){return V(this,null,function*(){var t,o,n,r,d,s,C,S,E,K,f,O,D,p,j,q,l;P(),L.value=!0,N.value=!0,yield ae();try{const h=yield _.api.post("terminal_item",{uid:i.uid},!0),v=(t=h==null?void 0:h.result)!=null?t:h;v&&typeof v=="object"?(a.id=Number(v.id)||0,a.uid=String((n=(o=v.uid)!=null?o:i.uid)!=null?n:""),a.name=String((r=v.name)!=null?r:""),a.alias=String((d=v.alias)!=null?d:""),a.type=String((s=v.type)!=null?s:"Mixlinker Aprus-X"),a.config_id=String((C=v.config_id)!=null?C:""),a.maker=String((S=v.maker)!=null?S:""),a.description=String((E=v.description)!=null?E:""),a.rsa_privatekey=String((K=v.rsa_privatekey)!=null?K:""),a.auto_upgrade=Number(v.auto_upgrade)||0,a.is_available=v.is_available!==void 0?Number(v.is_available):1):(a.uid=String(i.uid),a.name=String((f=i.name)!=null?f:""),a.alias=String((O=i.alias)!=null?O:""),a.type=String((D=i.type)!=null?D:"Mixlinker Aprus-X"),a.config_id=String((p=i.config_id)!=null?p:""),a.maker=String((j=i.maker)!=null?j:""),a.description=String((q=i.description)!=null?q:""))}catch(h){a.uid=String(i.uid),a.name=String((l=i.name)!=null?l:""),c.ElMessage.warning("拉取终端详情失败,已使用列表行数据编辑")}finally{N.value=!1}})}function ie(){return{id:a.id,uid:a.uid.trim(),name:a.name.trim(),alias:a.alias.trim(),description:a.description,type:a.type,maker:a.maker,config_id:a.config_id,rsa_privatekey:a.rsa_privatekey,auto_upgrade:a.auto_upgrade,is_available:a.is_available,addition:"[]"}}function ve(){return V(this,null,function*(){var i,t;if(!((i=a.uid)!=null&&i.trim())||!((t=a.name)!=null&&t.trim())){c.ElMessage.warning("请填写终端编号与名称");return}N.value=!0;try{yield _.api.post("terminal_create",ee(z({},ie()),{id:0}),!0),c.ElMessage.success("添加成功"),M.value=!1,yield x()}catch(o){c.ElMessage.error("添加失败")}finally{N.value=!1}})}function we(){return V(this,null,function*(){var i;if(!((i=a.name)!=null&&i.trim())){c.ElMessage.warning("请填写终端名称");return}N.value=!0;try{yield _.api.post("terminal_update",ie(),!0),c.ElMessage.success("保存成功"),L.value=!1,yield x()}catch(t){c.ElMessage.error("保存失败")}finally{N.value=!1}})}const $=e.ref(!1),Z=e.ref(!1),m=e.ref(null);function Ve(i){return V(this,null,function*(){m.value=null,$.value=!0,Z.value=!0;try{const t=yield _.api.post("terminal_item",{uid:i.uid},!0),o=t==null?void 0:t.result;o&&typeof o=="object"?m.value=o:(m.value=z({},i),c.ElMessage.warning("未返回详情,已显示列表行数据"))}catch(t){m.value=z({},i),c.ElMessage.warning("加载详情失败,已显示列表行数据")}finally{Z.value=!1}})}function xe(i){return V(this,null,function*(){try{(yield _.api.post("terminal_sync",{terminal_id:i.uid},!0)).code===200&&(c.ElMessage.success("已触发同步"),yield x())}catch(t){c.ElMessage.error("同步失败")}})}function _e(i){return V(this,null,function*(){try{(yield _.api.post("terminal_restart",{terminal_id:i.uid,command:"Reboot"},!0)).code===200&&(c.ElMessage.success("已下发重启指令"),yield x())}catch(t){c.ElMessage.error("重启指令失败")}})}function Ce(i){return V(this,null,function*(){var r,d;const t=String((r=i.uid)!=null?r:""),o=String((d=i.type)!=null?d:""),n=t.startsWith("AX")||o==="Mixlinker Aprus-X"||o.includes("Aprus-X")?"AXUpgrade":"Upgrade";try{(yield _.api.post("upgrade_lua",{terminal_id:i.uid,command:n,value:"LUA"},!0)).code===200&&(c.ElMessage.success("已下发升级指令"),yield x())}catch(s){c.ElMessage.error("升级指令失败")}})}function Be(i){return V(this,null,function*(){var t;try{const o=yield _.api.post("download_last_lua_file",{terminal_id:i.uid},!0),n=(t=o==null?void 0:o.result)!=null?t:o==null?void 0:o.data;if(n instanceof Blob){const r=URL.createObjectURL(n),d=document.createElement("a");d.href=r,d.download=`${i.uid}.lua`,d.click(),URL.revokeObjectURL(r),c.ElMessage.success("已开始下载")}else c.ElMessage.warning("未收到文件数据,请在 mixui 中下载")}catch(o){c.ElMessage.error("下载失败")}})}function Ne(i){c.ElMessageBox.confirm(`确认对终端「${i.name||i.uid}」进行资料备档吗?`,"提示",{type:"info"}).then(()=>{c.ElMessage.success("已提交备档(完整流程请在 mixui 终端管理中操作)")}).catch(()=>{})}function Se(i){c.ElMessageBox.confirm(`确认删除终端「${i.name||i.uid}」吗?`,"警告",{type:"warning"}).then(()=>V(null,null,function*(){try{yield _.api.post("terminal_delete",{uid:i.uid,id:i.id},!0),c.ElMessage.success("删除成功"),yield x()}catch(t){c.ElMessage.error("删除失败")}})).catch(()=>{})}return e.onMounted(()=>{x()}),(i,t)=>{const o=k.ElIcon,n=k.ElInput,r=k.ElOption,d=k.ElSelect,s=k.ElButton,C=k.ElTag,S=k.ElTableColumn,E=k.ElTable,K=k.ElPagination,f=k.ElFormItem,O=k.ElForm,D=k.ElDialog,p=k.ElDescriptionsItem,j=k.ElDescriptions,q=k.ElLoadingDirective;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["terminal-list mix-component",e.unref(X)]),style:e.normalizeStyle(e.unref(W))},[e.unref(y).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(U.value)},e.toDisplayString(g.conf.caption||g.conf.name),5)),e.createElementVNode("div",Re,[e.createElementVNode("div",Fe,[e.createVNode(n,{modelValue:R.value,"onUpdate:modelValue":t[0]||(t[0]=l=>R.value=l),placeholder:"搜索终端",size:"small",class:"toolbar-search",onKeyup:e.withKeys(le,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(o,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ze.Search))]),_:1})]),_:1},8,["modelValue"]),e.createVNode(d,{modelValue:Q.value,"onUpdate:modelValue":t[1]||(t[1]=l=>Q.value=l),size:"small",class:"toolbar-field-select"},{default:e.withCtx(()=>[e.createVNode(r,{label:"终端名称",value:"name"}),e.createVNode(r,{label:"终端编号",value:"uid"}),e.createVNode(r,{label:"终端别名",value:"alias"}),e.createVNode(r,{label:"描述",value:"description"}),e.createVNode(r,{label:"生产厂家",value:"maker"}),e.createVNode(r,{label:"终端配置编号",value:"config_id"})]),_:1},8,["modelValue"]),e.createVNode(s,{type:"primary",onClick:le},{default:e.withCtx(()=>[...t[24]||(t[24]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(s,{onClick:pe},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(y).showAddBtn?(e.openBlock(),e.createBlock(s,{key:0,type:"success",onClick:ge},{default:e.withCtx(()=>[...t[26]||(t[26]=[e.createTextVNode("添加终端",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(y).showImportBtn?(e.openBlock(),e.createBlock(s,{key:1,onClick:he},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("导入",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(y).showBatchRefreshBtn?(e.openBlock(),e.createBlock(s,{key:2,onClick:ye},{default:e.withCtx(()=>[...t[28]||(t[28]=[e.createTextVNode("批量刷新",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"tableWrapRef",ref:T,class:"table-wrapper"},[e.createVNode(E,{data:ce.value,style:{width:"100%"},height:e.unref(B)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ue.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l.prop},[l.visible?(e.openBlock(),e.createBlock(S,{key:0,label:l.label,width:l.width,"min-width":l.minWidth},{default:e.withCtx(h=>[l.prop==="online"?(e.openBlock(),e.createBlock(C,{key:0,type:J(h.row)?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(J(h.row)?"在线":"离线"),1)]),_:2},1032,["type"])):(e.openBlock(),e.createElementBlock("span",Pe,e.toDisplayString(me(h.row,l.prop)),1))]),_:2},1032,["label","width","min-width"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(S,{label:"操作","min-width":"320",fixed:"right"},{default:e.withCtx(l=>[e.unref(y).showViewBtn?(e.openBlock(),e.createBlock(s,{key:0,size:"small",onClick:h=>Ve(l.row)},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showEditBtn?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:h=>ke(l.row)},{default:e.withCtx(()=>[...t[30]||(t[30]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showSyncBtn?(e.openBlock(),e.createBlock(s,{key:2,size:"small",onClick:h=>xe(l.row)},{default:e.withCtx(()=>[...t[31]||(t[31]=[e.createTextVNode("刷新",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showRestartBtn?(e.openBlock(),e.createBlock(s,{key:3,size:"small",onClick:h=>_e(l.row)},{default:e.withCtx(()=>[...t[32]||(t[32]=[e.createTextVNode("重启",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showUpgradeBtn?(e.openBlock(),e.createBlock(s,{key:4,size:"small",onClick:h=>Ce(l.row)},{default:e.withCtx(()=>[...t[33]||(t[33]=[e.createTextVNode("升级",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showDownloadBtn?(e.openBlock(),e.createBlock(s,{key:5,size:"small",onClick:h=>Be(l.row)},{default:e.withCtx(()=>[...t[34]||(t[34]=[e.createTextVNode("下载",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showArchiveBtn?(e.openBlock(),e.createBlock(s,{key:6,size:"small",type:"info",onClick:h=>Ne(l.row)},{default:e.withCtx(()=>[...t[35]||(t[35]=[e.createTextVNode("资料备档",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showDeleteBtn?(e.openBlock(),e.createBlock(s,{key:7,size:"small",type:"danger",onClick:h=>Se(l.row)},{default:e.withCtx(()=>[...t[36]||(t[36]=[e.createTextVNode("删除",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","height"])],512),e.createElementVNode("div",$e,[e.createVNode(K,{"current-page":w.current,"onUpdate:currentPage":t[2]||(t[2]=l=>w.current=l),"page-size":w.pageSize,"onUpdate:pageSize":t[3]||(t[3]=l=>w.pageSize=l),"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next, jumper",total:w.total,onSizeChange:be,onCurrentChange:fe},null,8,["current-page","page-size","total"])])]),e.renderSlot(i.$slots,"default",{},void 0,!0)],6)),[[q,Y.value]]),e.createVNode(D,{modelValue:M.value,"onUpdate:modelValue":t[12]||(t[12]=l=>M.value=l),title:"添加终端",width:"640px","destroy-on-close":"",onClosed:P},{footer:e.withCtx(()=>[e.createVNode(s,{onClick:t[11]||(t[11]=l=>M.value=!1)},{default:e.withCtx(()=>[...t[37]||(t[37]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:N.value,onClick:ve},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(O,{model:a,"label-width":"120px"},{default:e.withCtx(()=>[e.createVNode(f,{label:"终端编号",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.uid,"onUpdate:modelValue":t[4]||(t[4]=l=>a.uid=l),placeholder:"必填,唯一编号"},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.name,"onUpdate:modelValue":t[5]||(t[5]=l=>a.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.alias,"onUpdate:modelValue":t[6]||(t[6]=l=>a.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.type,"onUpdate:modelValue":t[7]||(t[7]=l=>a.type=l),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(H,l=>e.createVNode(r,{key:l.value,label:l.label,value:l.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.config_id,"onUpdate:modelValue":t[8]||(t[8]=l=>a.config_id=l),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,l=>(e.openBlock(),e.createBlock(r,{key:l.uid,label:l.name,value:l.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.maker,"onUpdate:modelValue":t[9]||(t[9]=l=>a.maker=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.description,"onUpdate:modelValue":t[10]||(t[10]=l=>a.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(D,{modelValue:L.value,"onUpdate:modelValue":t[21]||(t[21]=l=>L.value=l),title:"编辑终端",width:"640px","destroy-on-close":"",onClosed:P},{footer:e.withCtx(()=>[e.createVNode(s,{onClick:t[20]||(t[20]=l=>L.value=!1)},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:N.value,onClick:we},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(O,{model:a,"label-width":"120px"},{default:e.withCtx(()=>[e.createVNode(f,{label:"终端编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.uid,"onUpdate:modelValue":t[13]||(t[13]=l=>a.uid=l),disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.name,"onUpdate:modelValue":t[14]||(t[14]=l=>a.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.alias,"onUpdate:modelValue":t[15]||(t[15]=l=>a.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.type,"onUpdate:modelValue":t[16]||(t[16]=l=>a.type=l),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(H,l=>e.createVNode(r,{key:l.value,label:l.label,value:l.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.config_id,"onUpdate:modelValue":t[17]||(t[17]=l=>a.config_id=l),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,l=>(e.openBlock(),e.createBlock(r,{key:l.uid,label:l.name,value:l.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.maker,"onUpdate:modelValue":t[18]||(t[18]=l=>a.maker=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.description,"onUpdate:modelValue":t[19]||(t[19]=l=>a.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(D,{modelValue:$.value,"onUpdate:modelValue":t[23]||(t[23]=l=>$.value=l),title:"终端详情",width:"760px","destroy-on-close":""},{footer:e.withCtx(()=>[e.createVNode(s,{type:"primary",onClick:t[22]||(t[22]=l=>$.value=!1)},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Ke,[m.value?(e.openBlock(),e.createBlock(j,{key:0,column:2,border:""},{default:e.withCtx(()=>[e.createVNode(p,{label:"终端编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.uid)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端名称"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.name)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端别名"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.alias)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端类型"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(te(m.value.type)),1)]),_:1}),e.createVNode(p,{label:"终端配置编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.config_id)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端状态"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(J(m.value)?"在线":"离线"),1)]),_:1}),e.createVNode(p,{label:"信号值"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"csq"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"最近上报时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.last_publish_time)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"上一次连接时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.last_online_time)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"流量卡号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"nominal.ICCID"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"LUA版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"nominal.LUA"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"MCU版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"nominal.MCU"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"生产厂家"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.maker)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"创建时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.created)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"描述",span:2},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.description)!=null?l:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)])),[[q,Z.value]])]),_:1},8,["modelValue"])],64)}}})),Ye=_._export_sfc(Ge,[["__scopeId","data-v-90e6bd20"]]);exports.default=Ye;