mixdashboards 1.0.32 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1,1211 @@
1
+ var $e = Object.defineProperty, Ke = Object.defineProperties;
2
+ var Fe = Object.getOwnPropertyDescriptors;
3
+ var be = Object.getOwnPropertySymbols;
4
+ var qe = Object.prototype.hasOwnProperty, je = Object.prototype.propertyIsEnumerable;
5
+ var fe = (B, c, h) => c in B ? $e(B, c, { enumerable: !0, configurable: !0, writable: !0, value: h }) : B[c] = h, P = (B, c) => {
6
+ for (var h in c || (c = {}))
7
+ qe.call(c, h) && fe(B, h, c[h]);
8
+ if (be)
9
+ for (var h of be(c))
10
+ je.call(c, h) && fe(B, h, c[h]);
11
+ return B;
12
+ }, ue = (B, c) => Ke(B, Fe(c));
13
+ var U = (B, c, h) => new Promise((H, k) => {
14
+ var le = (E) => {
15
+ try {
16
+ I(h.next(E));
17
+ } catch (M) {
18
+ k(M);
19
+ }
20
+ }, ae = (E) => {
21
+ try {
22
+ I(h.throw(E));
23
+ } catch (M) {
24
+ k(M);
25
+ }
26
+ }, I = (E) => E.done ? H(E.value) : Promise.resolve(E.value).then(le, ae);
27
+ I((h = h.apply(B, c)).next());
28
+ });
29
+ import { ElInput as Xe, ElIcon as Pe, ElSelect as We, ElOption as He, ElButton as Je, ElTable as Qe, ElTableColumn as Ge, ElTag as Ye, ElPagination as Ze, ElLoadingDirective as et, ElDialog as tt, ElForm as lt, ElFormItem as at, ElDescriptions as it, ElDescriptionsItem as nt } from "element-plus/es";
30
+ import "element-plus/es/components/base/style/css";
31
+ import "element-plus/es/components/loading/style/css";
32
+ import "element-plus/es/components/descriptions/style/css";
33
+ import "element-plus/es/components/descriptions-item/style/css";
34
+ import "element-plus/es/components/dialog/style/css";
35
+ import "element-plus/es/components/form/style/css";
36
+ import "element-plus/es/components/form-item/style/css";
37
+ import "element-plus/es/components/pagination/style/css";
38
+ import "element-plus/es/components/table/style/css";
39
+ import "element-plus/es/components/table-column/style/css";
40
+ import "element-plus/es/components/tag/style/css";
41
+ import "element-plus/es/components/button/style/css";
42
+ import "element-plus/es/components/select/style/css";
43
+ import "element-plus/es/components/option/style/css";
44
+ import "element-plus/es/components/input/style/css";
45
+ import "element-plus/es/components/icon/style/css";
46
+ import { defineComponent as ot, computed as de, reactive as ve, ref as D, watch as rt, onMounted as st, openBlock as m, createElementBlock as z, Fragment as $, withDirectives as ye, normalizeStyle as he, unref as C, toDisplayString as y, createCommentVNode as S, createElementVNode as te, createVNode as i, withKeys as ut, withCtx as n, createTextVNode as s, createBlock as w, renderList as W, renderSlot as dt } from "vue";
47
+ import { B as mt } from "./element-resize-detector-DJcsrJ8s.js";
48
+ import { _ as ct } from "./index-kShjySl9.js";
49
+ import { g as pt } from "./titleStyle-BT5GlpAb.js";
50
+ import { ElMessage as b, ElMessageBox as ke } from "element-plus";
51
+ import { Search as bt } from "@element-plus/icons-vue";
52
+ import { a as L } from "./api-C0GhBpqd.js";
53
+ import { A as ft, D as vt } from "./ele-lst-icon-CKpeRKmk.js";
54
+ const yt = { class: "mix-body" }, ht = { class: "toolbar" }, kt = { class: "table-wrapper" }, _t = { key: 1 }, gt = { class: "pagination" }, wt = { class: "view-body" }, Bt = {
55
+ DEFAULT_ICON: vt,
56
+ ACTIVE_ICON: ft,
57
+ NAME_CN: "终端列表",
58
+ NAME_EN: "TerminalList",
59
+ ORDER: 5
60
+ }, Ct = {
61
+ bgColor: "#fff",
62
+ nameColor: "#999",
63
+ valueColor: "#333",
64
+ titleColor: "#111",
65
+ titleSize: 14,
66
+ nameSize: 12,
67
+ valueSize: 12,
68
+ radiusSize: 8,
69
+ isHideTitle: !1,
70
+ columns: [
71
+ { key: "name", label: "终端名称", width: 140, visible: !0 },
72
+ { key: "uid", label: "终端编号", width: 140, visible: !0 },
73
+ { key: "alias", label: "终端别名", width: 120, visible: !0 },
74
+ { key: "type", label: "终端类型", width: 160, visible: !0 },
75
+ { key: "config_id", label: "终端配置编号", width: 130, visible: !0 },
76
+ { key: "online", label: "终端状态", width: 100, visible: !0 },
77
+ { key: "csq", label: "信号值", width: 90, visible: !0 },
78
+ { key: "last_publish_time", label: "最近上报时间", width: 170, visible: !0 },
79
+ { key: "last_online_time", label: "上一次连接时间", width: 170, visible: !0 },
80
+ { key: "nominal.ICCID", label: "流量卡号", width: 160, visible: !0 },
81
+ { key: "nominal.LUA", label: "LUA版本号", width: 120, visible: !0 },
82
+ { key: "nominal.MCU", label: "MCU版本号", width: 120, visible: !0 },
83
+ { key: "maker", label: "生产厂家", width: 120, visible: !0 },
84
+ { key: "description", label: "描述", minWidth: 140, visible: !0 },
85
+ { key: "created", label: "创建时间", width: 170, visible: !0 }
86
+ ]
87
+ }, _e = [
88
+ {
89
+ name: "终端名称",
90
+ fv: "",
91
+ object_id: "",
92
+ unit: "",
93
+ default: "",
94
+ isText: !1,
95
+ showAddBtn: !0,
96
+ showImportBtn: !0,
97
+ showBatchRefreshBtn: !0,
98
+ showViewBtn: !0,
99
+ showEditBtn: !0,
100
+ showSyncBtn: !0,
101
+ showRestartBtn: !0,
102
+ showUpgradeBtn: !0,
103
+ showDownloadBtn: !0,
104
+ showArchiveBtn: !0,
105
+ showDeleteBtn: !0,
106
+ uid: "终端编号",
107
+ uid_visible: !0,
108
+ alias: "终端别名",
109
+ alias_visible: !0,
110
+ type: "终端类型",
111
+ type_visible: !0,
112
+ config_id: "终端配置编号",
113
+ config_id_visible: !0,
114
+ online: "终端状态",
115
+ online_visible: !0,
116
+ csq: "信号值",
117
+ csq_visible: !0,
118
+ last_publish_time: "最近上报时间",
119
+ last_publish_time_visible: !0,
120
+ last_online_time: "上一次连接时间",
121
+ last_online_time_visible: !0,
122
+ "nominal.ICCID": "流量卡号",
123
+ "nominal.ICCID_visible": !0,
124
+ "nominal.LUA": "LUA版本号",
125
+ "nominal.LUA_visible": !0,
126
+ "nominal.MCU": "MCU版本号",
127
+ "nominal.MCU_visible": !0,
128
+ maker: "生产厂家",
129
+ maker_visible: !0,
130
+ description: "描述",
131
+ description_visible: !0,
132
+ created: "创建时间",
133
+ created_visible: !0
134
+ }
135
+ ], Vt = [
136
+ { key: "showAddBtn", label: "添加终端", type: "checkbox", group: "命令组" },
137
+ { key: "showImportBtn", label: "导入", type: "checkbox", group: "命令组" },
138
+ { key: "showBatchRefreshBtn", label: "批量刷新", type: "checkbox", group: "命令组" },
139
+ { key: "showViewBtn", label: "查看", type: "checkbox", group: "操作组" },
140
+ { key: "showEditBtn", label: "编辑", type: "checkbox", group: "操作组" },
141
+ { key: "showSyncBtn", label: "刷新", type: "checkbox", group: "操作组" },
142
+ { key: "showRestartBtn", label: "重启", type: "checkbox", group: "操作组" },
143
+ { key: "showUpgradeBtn", label: "升级", type: "checkbox", group: "操作组" },
144
+ { key: "showDownloadBtn", label: "下载", type: "checkbox", group: "操作组" },
145
+ { key: "showArchiveBtn", label: "资料备档", type: "checkbox", group: "操作组" },
146
+ { key: "showDeleteBtn", label: "删除", type: "checkbox", group: "操作组" },
147
+ { key: "name", label: "参数名称" },
148
+ { key: "uid", label: "终端编号", checkable: !0, checkboxKey: "uid_visible" },
149
+ { key: "alias", label: "终端别名", checkable: !0, checkboxKey: "alias_visible" },
150
+ { key: "type", label: "终端类型", checkable: !0, checkboxKey: "type_visible" },
151
+ { key: "config_id", label: "终端配置编号", checkable: !0, checkboxKey: "config_id_visible" },
152
+ { key: "online", label: "终端状态", checkable: !0, checkboxKey: "online_visible" },
153
+ { key: "csq", label: "信号值", checkable: !0, checkboxKey: "csq_visible" },
154
+ { key: "last_publish_time", label: "最近上报时间", checkable: !0, checkboxKey: "last_publish_time_visible" },
155
+ { key: "last_online_time", label: "上一次连接时间", checkable: !0, checkboxKey: "last_online_time_visible" },
156
+ { key: "nominal.ICCID", label: "流量卡号", checkable: !0, checkboxKey: "nominal.ICCID_visible" },
157
+ { key: "nominal.LUA", label: "LUA版本号", checkable: !0, checkboxKey: "nominal.LUA_visible" },
158
+ { key: "nominal.MCU", label: "MCU版本号", checkable: !0, checkboxKey: "nominal.MCU_visible" },
159
+ { key: "maker", label: "生产厂家", checkable: !0, checkboxKey: "maker_visible" },
160
+ { key: "description", label: "描述", checkable: !0, checkboxKey: "description_visible" },
161
+ { key: "created", label: "创建时间", checkable: !0, checkboxKey: "created_visible" }
162
+ ], St = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], xt = {}, Ut = { DEFAULT: Bt, OPTIONS: Ct, DATA: _e, PARAMS: Vt, SOURCE: St, COMMON: xt }, At = /* @__PURE__ */ ot(ue(P({}, Ut), {
163
+ __name: "terminalList",
164
+ props: {
165
+ conf: { default: () => ({ data: [] }) },
166
+ uid: { default: "" },
167
+ mode: {},
168
+ theme: {},
169
+ code: { default: "" },
170
+ terminalUidList: { default: () => [] },
171
+ terminalOnlineFilter: { default: null }
172
+ },
173
+ setup(B) {
174
+ const c = B;
175
+ class h extends mt {
176
+ getDataBool(e, o) {
177
+ var u, p;
178
+ const r = (p = (u = this.props.conf) == null ? void 0 : u.data) == null ? void 0 : p[0];
179
+ return r && Object.prototype.hasOwnProperty.call(r, e) && r[e] !== void 0 ? !!r[e] : this.getOptionValue(e, o);
180
+ }
181
+ extractStyles() {
182
+ return {
183
+ bgColor: this.getOptionValue("bgColor", "#fff"),
184
+ nameColor: this.getOptionValue("nameColor", "#999"),
185
+ valueColor: this.getOptionValue("valueColor", "#333"),
186
+ titleColor: this.getOptionValue("titleColor", "#111"),
187
+ titleSize: this.getOptionValue("titleSize", 14),
188
+ nameSize: this.getOptionValue("nameSize", 12),
189
+ valueSize: this.getOptionValue("valueSize", 12),
190
+ radiusSize: this.getOptionValue("radiusSize", 8),
191
+ isHideTitle: this.getOptionValue("isHideTitle", !1),
192
+ showAddBtn: this.getDataBool("showAddBtn", !0),
193
+ showImportBtn: this.getDataBool("showImportBtn", !0),
194
+ showBatchRefreshBtn: this.getDataBool("showBatchRefreshBtn", !0),
195
+ showViewBtn: this.getDataBool("showViewBtn", !0),
196
+ showEditBtn: this.getDataBool("showEditBtn", !0),
197
+ showSyncBtn: this.getDataBool("showSyncBtn", !0),
198
+ showRestartBtn: this.getDataBool("showRestartBtn", !0),
199
+ showUpgradeBtn: this.getDataBool("showUpgradeBtn", !0),
200
+ showDownloadBtn: this.getDataBool("showDownloadBtn", !0),
201
+ showArchiveBtn: this.getDataBool("showArchiveBtn", !0),
202
+ showDeleteBtn: this.getDataBool("showDeleteBtn", !0)
203
+ };
204
+ }
205
+ init() {
206
+ var e;
207
+ if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
208
+ this.props.conf.data = JSON.parse(JSON.stringify(_e));
209
+ else {
210
+ const o = this.props.conf.data[0], r = {
211
+ showAddBtn: !0,
212
+ showImportBtn: !0,
213
+ showBatchRefreshBtn: !0,
214
+ showViewBtn: !0,
215
+ showEditBtn: !0,
216
+ showSyncBtn: !0,
217
+ showRestartBtn: !0,
218
+ showUpgradeBtn: !0,
219
+ showDownloadBtn: !0,
220
+ showArchiveBtn: !0,
221
+ showDeleteBtn: !0
222
+ };
223
+ for (const [u, p] of Object.entries(r))
224
+ o[u] === void 0 && (o[u] = p);
225
+ }
226
+ }
227
+ }
228
+ const H = new h(c, "terminalList");
229
+ H.setupLifecycle();
230
+ const k = H.getStyle(), le = de(() => pt(c.conf.options)), ae = de(() => {
231
+ var o, r, u, p;
232
+ const a = ((r = (o = c.conf) == null ? void 0 : o.options) == null ? void 0 : r.columns) || [], e = ((p = (u = c.conf) == null ? void 0 : u.data) == null ? void 0 : p[0]) || {};
233
+ return (Array.isArray(a) ? a : []).map((d) => {
234
+ const O = e[d.key], T = `${d.key}_visible`, N = e[T];
235
+ return {
236
+ prop: d.key,
237
+ label: O !== void 0 && O !== "" ? String(O) : d.label,
238
+ width: d.width,
239
+ minWidth: d.minWidth,
240
+ visible: N !== void 0 ? !!N : d.visible !== !1
241
+ };
242
+ });
243
+ }), I = [
244
+ { label: "Mixlinker Aprus-M", value: "Mixlinker Aprus-M" },
245
+ { label: "Mixlinker Aprus-X", value: "Mixlinker Aprus-X" },
246
+ { label: "Mixlinker Aprus-AS", value: "Mixlinker Aprus-AS" },
247
+ { label: "第三方终端", value: "Other" },
248
+ { label: "数据模拟", value: "Mixlinker DataSimulate" },
249
+ { label: "UFS", value: "UFS" }
250
+ ];
251
+ function E(a) {
252
+ if (a == null || a === "") return "";
253
+ const e = String(a), o = I.find((r) => r.value === e);
254
+ return o ? o.label : e;
255
+ }
256
+ function M(a, e) {
257
+ return e.split(".").reduce((o, r) => {
258
+ if (!(o == null || typeof o != "object"))
259
+ return o[r];
260
+ }, a);
261
+ }
262
+ function ie(a) {
263
+ const e = a.online;
264
+ return e === 1 || e === !0 || e === "1";
265
+ }
266
+ const x = ve({ current: 1, pageSize: 10, total: 0 }), J = D(""), ne = D("name"), oe = D([]), re = D(!1);
267
+ function ge() {
268
+ const a = [["uid", "!=", "fidiser"]], e = J.value.trim();
269
+ return e && a.push([ne.value, "like", `%${e}%`]), (c.terminalOnlineFilter === 0 || c.terminalOnlineFilter === 1) && a.push(["online", "=", c.terminalOnlineFilter]), {
270
+ page_index: x.current,
271
+ page_size: x.pageSize,
272
+ where_and: JSON.stringify(a)
273
+ };
274
+ }
275
+ function A() {
276
+ return U(this, null, function* () {
277
+ var a, e;
278
+ re.value = !0;
279
+ try {
280
+ const o = yield L.post(
281
+ "terminal_list",
282
+ ge(),
283
+ !0
284
+ ), r = (a = o == null ? void 0 : o.result) != null ? a : o;
285
+ let u = Array.isArray(r == null ? void 0 : r.data) ? [...r.data] : [];
286
+ if ((e = c.terminalUidList) != null && e.length) {
287
+ const d = new Set(c.terminalUidList.map(String));
288
+ u = u.filter((O) => d.has(String(O.uid)));
289
+ }
290
+ oe.value = u;
291
+ const p = r == null ? void 0 : r.total_records;
292
+ x.total = typeof p == "number" ? p : u.length, o && o.code !== void 0 && o.code !== 200 && b.warning(o.msg || o.info || "列表接口返回非成功状态");
293
+ } catch (o) {
294
+ console.error(o), oe.value = [], x.total = 0, b.error("加载终端列表失败");
295
+ } finally {
296
+ re.value = !1;
297
+ }
298
+ });
299
+ }
300
+ const we = de(() => oe.value);
301
+ function Be(a, e) {
302
+ if (e === "type") return E(a.type);
303
+ const o = M(a, e);
304
+ return o == null ? "" : String(o);
305
+ }
306
+ function me() {
307
+ x.current = 1, A();
308
+ }
309
+ function Ce() {
310
+ J.value = "", x.current = 1, A();
311
+ }
312
+ function Ve() {
313
+ x.current = 1, A();
314
+ }
315
+ function Se() {
316
+ A();
317
+ }
318
+ rt(
319
+ () => {
320
+ var a;
321
+ return [(a = c.terminalUidList) == null ? void 0 : a.join(","), c.terminalOnlineFilter].join("|");
322
+ },
323
+ () => {
324
+ x.current = 1, A();
325
+ }
326
+ );
327
+ function xe() {
328
+ b.info("批量导入终端请在 mixui「终端管理」中使用导入功能");
329
+ }
330
+ function Ue() {
331
+ b.info("批量刷新请在 mixui「终端管理」中操作(需 user_action 接口)");
332
+ }
333
+ const F = D(!1), q = D(!1), R = D(!1), Q = D([]), l = ve({
334
+ id: 0,
335
+ uid: "",
336
+ name: "",
337
+ alias: "",
338
+ type: "Mixlinker Aprus-X",
339
+ config_id: "",
340
+ maker: "",
341
+ description: "",
342
+ rsa_privatekey: "",
343
+ auto_upgrade: 0,
344
+ is_available: 1
345
+ });
346
+ function ce() {
347
+ return U(this, null, function* () {
348
+ var a;
349
+ try {
350
+ const e = yield L.post(
351
+ "terminal_config_list",
352
+ { select: ["id", "uid", "name"] },
353
+ !0
354
+ ), o = (a = e == null ? void 0 : e.result) != null ? a : e;
355
+ Q.value = Array.isArray(o == null ? void 0 : o.data) ? o.data : [];
356
+ } catch (e) {
357
+ Q.value = [];
358
+ }
359
+ });
360
+ }
361
+ function G() {
362
+ l.id = 0, l.uid = "", l.name = "", l.alias = "", l.type = "Mixlinker Aprus-X", l.config_id = "", l.maker = "", l.description = "", l.rsa_privatekey = "", l.auto_upgrade = 0, l.is_available = 1;
363
+ }
364
+ function Ae() {
365
+ return U(this, null, function* () {
366
+ G(), yield ce(), F.value = !0;
367
+ });
368
+ }
369
+ function De(a) {
370
+ return U(this, null, function* () {
371
+ var e, o, r, u, p, d, O, T, N, Z, _, j, K, v, ee, X, t;
372
+ G(), q.value = !0, R.value = !0, yield ce();
373
+ try {
374
+ const g = yield L.post("terminal_item", { uid: a.uid }, !0), V = (e = g == null ? void 0 : g.result) != null ? e : g;
375
+ V && typeof V == "object" ? (l.id = Number(V.id) || 0, l.uid = String((r = (o = V.uid) != null ? o : a.uid) != null ? r : ""), l.name = String((u = V.name) != null ? u : ""), l.alias = String((p = V.alias) != null ? p : ""), l.type = String((d = V.type) != null ? d : "Mixlinker Aprus-X"), l.config_id = String((O = V.config_id) != null ? O : ""), l.maker = String((T = V.maker) != null ? T : ""), l.description = String((N = V.description) != null ? N : ""), l.rsa_privatekey = String((Z = V.rsa_privatekey) != null ? Z : ""), l.auto_upgrade = Number(V.auto_upgrade) || 0, l.is_available = V.is_available !== void 0 ? Number(V.is_available) : 1) : (l.uid = String(a.uid), l.name = String((_ = a.name) != null ? _ : ""), l.alias = String((j = a.alias) != null ? j : ""), l.type = String((K = a.type) != null ? K : "Mixlinker Aprus-X"), l.config_id = String((v = a.config_id) != null ? v : ""), l.maker = String((ee = a.maker) != null ? ee : ""), l.description = String((X = a.description) != null ? X : ""));
376
+ } catch (g) {
377
+ l.uid = String(a.uid), l.name = String((t = a.name) != null ? t : ""), b.warning("拉取终端详情失败,已使用列表行数据编辑");
378
+ } finally {
379
+ R.value = !1;
380
+ }
381
+ });
382
+ }
383
+ function pe() {
384
+ return {
385
+ id: l.id,
386
+ uid: l.uid.trim(),
387
+ name: l.name.trim(),
388
+ alias: l.alias.trim(),
389
+ description: l.description,
390
+ type: l.type,
391
+ maker: l.maker,
392
+ config_id: l.config_id,
393
+ rsa_privatekey: l.rsa_privatekey,
394
+ auto_upgrade: l.auto_upgrade,
395
+ is_available: l.is_available,
396
+ addition: "[]"
397
+ };
398
+ }
399
+ function ze() {
400
+ return U(this, null, function* () {
401
+ var a, e;
402
+ if (!((a = l.uid) != null && a.trim()) || !((e = l.name) != null && e.trim())) {
403
+ b.warning("请填写终端编号与名称");
404
+ return;
405
+ }
406
+ R.value = !0;
407
+ try {
408
+ yield L.post("terminal_create", ue(P({}, pe()), { id: 0 }), !0), b.success("添加成功"), F.value = !1, yield A();
409
+ } catch (o) {
410
+ b.error("添加失败");
411
+ } finally {
412
+ R.value = !1;
413
+ }
414
+ });
415
+ }
416
+ function Le() {
417
+ return U(this, null, function* () {
418
+ var a;
419
+ if (!((a = l.name) != null && a.trim())) {
420
+ b.warning("请填写终端名称");
421
+ return;
422
+ }
423
+ R.value = !0;
424
+ try {
425
+ yield L.post("terminal_update", pe(), !0), b.success("保存成功"), q.value = !1, yield A();
426
+ } catch (e) {
427
+ b.error("保存失败");
428
+ } finally {
429
+ R.value = !1;
430
+ }
431
+ });
432
+ }
433
+ const Y = D(!1), se = D(!1), f = D(null);
434
+ function Ee(a) {
435
+ return U(this, null, function* () {
436
+ f.value = null, Y.value = !0, se.value = !0;
437
+ try {
438
+ const e = yield L.post("terminal_item", { uid: a.uid }, !0), o = e == null ? void 0 : e.result;
439
+ o && typeof o == "object" ? f.value = o : (f.value = P({}, a), b.warning("未返回详情,已显示列表行数据"));
440
+ } catch (e) {
441
+ f.value = P({}, a), b.warning("加载详情失败,已显示列表行数据");
442
+ } finally {
443
+ se.value = !1;
444
+ }
445
+ });
446
+ }
447
+ function Oe(a) {
448
+ return U(this, null, function* () {
449
+ try {
450
+ (yield L.post("terminal_sync", { terminal_id: a.uid }, !0)).code === 200 && (b.success("已触发同步"), yield A());
451
+ } catch (e) {
452
+ b.error("同步失败");
453
+ }
454
+ });
455
+ }
456
+ function Me(a) {
457
+ return U(this, null, function* () {
458
+ try {
459
+ (yield L.post("terminal_restart", { terminal_id: a.uid, command: "Reboot" }, !0)).code === 200 && (b.success("已下发重启指令"), yield A());
460
+ } catch (e) {
461
+ b.error("重启指令失败");
462
+ }
463
+ });
464
+ }
465
+ function Re(a) {
466
+ return U(this, null, function* () {
467
+ var u, p;
468
+ const e = String((u = a.uid) != null ? u : ""), o = String((p = a.type) != null ? p : ""), r = e.startsWith("AX") || o === "Mixlinker Aprus-X" || o.includes("Aprus-X") ? "AXUpgrade" : "Upgrade";
469
+ try {
470
+ (yield L.post("upgrade_lua", { terminal_id: a.uid, command: r, value: "LUA" }, !0)).code === 200 && (b.success("已下发升级指令"), yield A());
471
+ } catch (d) {
472
+ b.error("升级指令失败");
473
+ }
474
+ });
475
+ }
476
+ function Ie(a) {
477
+ return U(this, null, function* () {
478
+ var e;
479
+ try {
480
+ const o = yield L.post("download_last_lua_file", { terminal_id: a.uid }, !0), r = (e = o == null ? void 0 : o.result) != null ? e : o == null ? void 0 : o.data;
481
+ if (r instanceof Blob) {
482
+ const u = URL.createObjectURL(r), p = document.createElement("a");
483
+ p.href = u, p.download = `${a.uid}.lua`, p.click(), URL.revokeObjectURL(u), b.success("已开始下载");
484
+ } else
485
+ b.warning("未收到文件数据,请在 mixui 中下载");
486
+ } catch (o) {
487
+ b.error("下载失败");
488
+ }
489
+ });
490
+ }
491
+ function Te(a) {
492
+ ke.confirm(`确认对终端「${a.name || a.uid}」进行资料备档吗?`, "提示", { type: "info" }).then(() => {
493
+ b.success("已提交备档(完整流程请在 mixui 终端管理中操作)");
494
+ }).catch(() => {
495
+ });
496
+ }
497
+ function Ne(a) {
498
+ ke.confirm(`确认删除终端「${a.name || a.uid}」吗?`, "警告", { type: "warning" }).then(() => U(null, null, function* () {
499
+ try {
500
+ yield L.post("terminal_delete", { uid: a.uid, id: a.id }, !0), b.success("删除成功"), yield A();
501
+ } catch (e) {
502
+ b.error("删除失败");
503
+ }
504
+ })).catch(() => {
505
+ });
506
+ }
507
+ return st(() => {
508
+ A();
509
+ }), (a, e) => {
510
+ const o = Pe, r = Xe, u = He, p = We, d = Je, O = Ye, T = Ge, N = Qe, Z = Ze, _ = at, j = lt, K = tt, v = nt, ee = it, X = et;
511
+ return m(), z($, null, [
512
+ ye((m(), z("div", {
513
+ class: "terminal-list mix-component",
514
+ style: he({ backgroundColor: C(k).bgColor, borderRadius: `${C(k).radiusSize}px` })
515
+ }, [
516
+ C(k).isHideTitle ? S("", !0) : (m(), z("div", {
517
+ key: 0,
518
+ class: "mix-title",
519
+ style: he(le.value)
520
+ }, y(B.conf.caption || B.conf.name), 5)),
521
+ te("div", yt, [
522
+ te("div", ht, [
523
+ i(r, {
524
+ modelValue: J.value,
525
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => J.value = t),
526
+ placeholder: "搜索终端",
527
+ size: "small",
528
+ class: "toolbar-search",
529
+ onKeyup: ut(me, ["enter"])
530
+ }, {
531
+ prefix: n(() => [
532
+ i(o, { class: "toolbar-search-icon" }, {
533
+ default: n(() => [
534
+ i(C(bt))
535
+ ]),
536
+ _: 1
537
+ })
538
+ ]),
539
+ _: 1
540
+ }, 8, ["modelValue"]),
541
+ i(p, {
542
+ modelValue: ne.value,
543
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => ne.value = t),
544
+ size: "small",
545
+ class: "toolbar-field-select"
546
+ }, {
547
+ default: n(() => [
548
+ i(u, {
549
+ label: "终端名称",
550
+ value: "name"
551
+ }),
552
+ i(u, {
553
+ label: "终端编号",
554
+ value: "uid"
555
+ }),
556
+ i(u, {
557
+ label: "终端别名",
558
+ value: "alias"
559
+ }),
560
+ i(u, {
561
+ label: "描述",
562
+ value: "description"
563
+ }),
564
+ i(u, {
565
+ label: "生产厂家",
566
+ value: "maker"
567
+ }),
568
+ i(u, {
569
+ label: "终端配置编号",
570
+ value: "config_id"
571
+ })
572
+ ]),
573
+ _: 1
574
+ }, 8, ["modelValue"]),
575
+ i(d, {
576
+ type: "primary",
577
+ onClick: me
578
+ }, {
579
+ default: n(() => [...e[24] || (e[24] = [
580
+ s("搜索", -1)
581
+ ])]),
582
+ _: 1
583
+ }),
584
+ i(d, { onClick: Ce }, {
585
+ default: n(() => [...e[25] || (e[25] = [
586
+ s("重置", -1)
587
+ ])]),
588
+ _: 1
589
+ }),
590
+ C(k).showAddBtn ? (m(), w(d, {
591
+ key: 0,
592
+ type: "success",
593
+ onClick: Ae
594
+ }, {
595
+ default: n(() => [...e[26] || (e[26] = [
596
+ s("添加终端", -1)
597
+ ])]),
598
+ _: 1
599
+ })) : S("", !0),
600
+ C(k).showImportBtn ? (m(), w(d, {
601
+ key: 1,
602
+ onClick: xe
603
+ }, {
604
+ default: n(() => [...e[27] || (e[27] = [
605
+ s("导入", -1)
606
+ ])]),
607
+ _: 1
608
+ })) : S("", !0),
609
+ C(k).showBatchRefreshBtn ? (m(), w(d, {
610
+ key: 2,
611
+ onClick: Ue
612
+ }, {
613
+ default: n(() => [...e[28] || (e[28] = [
614
+ s("批量刷新", -1)
615
+ ])]),
616
+ _: 1
617
+ })) : S("", !0)
618
+ ]),
619
+ te("div", kt, [
620
+ i(N, {
621
+ data: we.value,
622
+ style: { width: "100%" }
623
+ }, {
624
+ default: n(() => [
625
+ (m(!0), z($, null, W(ae.value, (t) => (m(), z($, {
626
+ key: t.prop
627
+ }, [
628
+ t.visible ? (m(), w(T, {
629
+ key: 0,
630
+ label: t.label,
631
+ width: t.width,
632
+ "min-width": t.minWidth
633
+ }, {
634
+ default: n((g) => [
635
+ t.prop === "online" ? (m(), w(O, {
636
+ key: 0,
637
+ type: ie(g.row) ? "success" : "danger",
638
+ size: "small"
639
+ }, {
640
+ default: n(() => [
641
+ s(y(ie(g.row) ? "在线" : "离线"), 1)
642
+ ]),
643
+ _: 2
644
+ }, 1032, ["type"])) : (m(), z("span", _t, y(Be(g.row, t.prop)), 1))
645
+ ]),
646
+ _: 2
647
+ }, 1032, ["label", "width", "min-width"])) : S("", !0)
648
+ ], 64))), 128)),
649
+ i(T, {
650
+ label: "操作",
651
+ "min-width": "320",
652
+ fixed: "right"
653
+ }, {
654
+ default: n((t) => [
655
+ C(k).showViewBtn ? (m(), w(d, {
656
+ key: 0,
657
+ size: "small",
658
+ onClick: (g) => Ee(t.row)
659
+ }, {
660
+ default: n(() => [...e[29] || (e[29] = [
661
+ s("查看", -1)
662
+ ])]),
663
+ _: 1
664
+ }, 8, ["onClick"])) : S("", !0),
665
+ C(k).showEditBtn ? (m(), w(d, {
666
+ key: 1,
667
+ size: "small",
668
+ type: "primary",
669
+ onClick: (g) => De(t.row)
670
+ }, {
671
+ default: n(() => [...e[30] || (e[30] = [
672
+ s("编辑", -1)
673
+ ])]),
674
+ _: 1
675
+ }, 8, ["onClick"])) : S("", !0),
676
+ C(k).showSyncBtn ? (m(), w(d, {
677
+ key: 2,
678
+ size: "small",
679
+ onClick: (g) => Oe(t.row)
680
+ }, {
681
+ default: n(() => [...e[31] || (e[31] = [
682
+ s("刷新", -1)
683
+ ])]),
684
+ _: 1
685
+ }, 8, ["onClick"])) : S("", !0),
686
+ C(k).showRestartBtn ? (m(), w(d, {
687
+ key: 3,
688
+ size: "small",
689
+ onClick: (g) => Me(t.row)
690
+ }, {
691
+ default: n(() => [...e[32] || (e[32] = [
692
+ s("重启", -1)
693
+ ])]),
694
+ _: 1
695
+ }, 8, ["onClick"])) : S("", !0),
696
+ C(k).showUpgradeBtn ? (m(), w(d, {
697
+ key: 4,
698
+ size: "small",
699
+ onClick: (g) => Re(t.row)
700
+ }, {
701
+ default: n(() => [...e[33] || (e[33] = [
702
+ s("升级", -1)
703
+ ])]),
704
+ _: 1
705
+ }, 8, ["onClick"])) : S("", !0),
706
+ C(k).showDownloadBtn ? (m(), w(d, {
707
+ key: 5,
708
+ size: "small",
709
+ onClick: (g) => Ie(t.row)
710
+ }, {
711
+ default: n(() => [...e[34] || (e[34] = [
712
+ s("下载", -1)
713
+ ])]),
714
+ _: 1
715
+ }, 8, ["onClick"])) : S("", !0),
716
+ C(k).showArchiveBtn ? (m(), w(d, {
717
+ key: 6,
718
+ size: "small",
719
+ type: "info",
720
+ onClick: (g) => Te(t.row)
721
+ }, {
722
+ default: n(() => [...e[35] || (e[35] = [
723
+ s("资料备档", -1)
724
+ ])]),
725
+ _: 1
726
+ }, 8, ["onClick"])) : S("", !0),
727
+ C(k).showDeleteBtn ? (m(), w(d, {
728
+ key: 7,
729
+ size: "small",
730
+ type: "danger",
731
+ onClick: (g) => Ne(t.row)
732
+ }, {
733
+ default: n(() => [...e[36] || (e[36] = [
734
+ s("删除", -1)
735
+ ])]),
736
+ _: 1
737
+ }, 8, ["onClick"])) : S("", !0)
738
+ ]),
739
+ _: 1
740
+ })
741
+ ]),
742
+ _: 1
743
+ }, 8, ["data"])
744
+ ]),
745
+ te("div", gt, [
746
+ i(Z, {
747
+ "current-page": x.current,
748
+ "onUpdate:currentPage": e[2] || (e[2] = (t) => x.current = t),
749
+ "page-size": x.pageSize,
750
+ "onUpdate:pageSize": e[3] || (e[3] = (t) => x.pageSize = t),
751
+ "page-sizes": [10, 20, 50, 100],
752
+ layout: "total, sizes, prev, pager, next, jumper",
753
+ total: x.total,
754
+ onSizeChange: Ve,
755
+ onCurrentChange: Se
756
+ }, null, 8, ["current-page", "page-size", "total"])
757
+ ])
758
+ ]),
759
+ dt(a.$slots, "default", {}, void 0, !0)
760
+ ], 4)), [
761
+ [X, re.value]
762
+ ]),
763
+ i(K, {
764
+ modelValue: F.value,
765
+ "onUpdate:modelValue": e[12] || (e[12] = (t) => F.value = t),
766
+ title: "添加终端",
767
+ width: "640px",
768
+ "destroy-on-close": "",
769
+ onClosed: G
770
+ }, {
771
+ footer: n(() => [
772
+ i(d, {
773
+ onClick: e[11] || (e[11] = (t) => F.value = !1)
774
+ }, {
775
+ default: n(() => [...e[37] || (e[37] = [
776
+ s("取消", -1)
777
+ ])]),
778
+ _: 1
779
+ }),
780
+ i(d, {
781
+ type: "primary",
782
+ loading: R.value,
783
+ onClick: ze
784
+ }, {
785
+ default: n(() => [...e[38] || (e[38] = [
786
+ s("保存", -1)
787
+ ])]),
788
+ _: 1
789
+ }, 8, ["loading"])
790
+ ]),
791
+ default: n(() => [
792
+ i(j, {
793
+ model: l,
794
+ "label-width": "120px"
795
+ }, {
796
+ default: n(() => [
797
+ i(_, {
798
+ label: "终端编号",
799
+ required: ""
800
+ }, {
801
+ default: n(() => [
802
+ i(r, {
803
+ modelValue: l.uid,
804
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => l.uid = t),
805
+ placeholder: "必填,唯一编号"
806
+ }, null, 8, ["modelValue"])
807
+ ]),
808
+ _: 1
809
+ }),
810
+ i(_, {
811
+ label: "终端名称",
812
+ required: ""
813
+ }, {
814
+ default: n(() => [
815
+ i(r, {
816
+ modelValue: l.name,
817
+ "onUpdate:modelValue": e[5] || (e[5] = (t) => l.name = t)
818
+ }, null, 8, ["modelValue"])
819
+ ]),
820
+ _: 1
821
+ }),
822
+ i(_, { label: "终端别名" }, {
823
+ default: n(() => [
824
+ i(r, {
825
+ modelValue: l.alias,
826
+ "onUpdate:modelValue": e[6] || (e[6] = (t) => l.alias = t)
827
+ }, null, 8, ["modelValue"])
828
+ ]),
829
+ _: 1
830
+ }),
831
+ i(_, {
832
+ label: "终端类型",
833
+ required: ""
834
+ }, {
835
+ default: n(() => [
836
+ i(p, {
837
+ modelValue: l.type,
838
+ "onUpdate:modelValue": e[7] || (e[7] = (t) => l.type = t),
839
+ class: "w-full",
840
+ filterable: ""
841
+ }, {
842
+ default: n(() => [
843
+ (m(), z($, null, W(I, (t) => i(u, {
844
+ key: t.value,
845
+ label: t.label,
846
+ value: t.value
847
+ }, null, 8, ["label", "value"])), 64))
848
+ ]),
849
+ _: 1
850
+ }, 8, ["modelValue"])
851
+ ]),
852
+ _: 1
853
+ }),
854
+ i(_, { label: "终端配置" }, {
855
+ default: n(() => [
856
+ i(p, {
857
+ modelValue: l.config_id,
858
+ "onUpdate:modelValue": e[8] || (e[8] = (t) => l.config_id = t),
859
+ class: "w-full",
860
+ filterable: "",
861
+ clearable: "",
862
+ placeholder: "请选择"
863
+ }, {
864
+ default: n(() => [
865
+ (m(!0), z($, null, W(Q.value, (t) => (m(), w(u, {
866
+ key: t.uid,
867
+ label: t.name,
868
+ value: t.uid
869
+ }, null, 8, ["label", "value"]))), 128))
870
+ ]),
871
+ _: 1
872
+ }, 8, ["modelValue"])
873
+ ]),
874
+ _: 1
875
+ }),
876
+ i(_, { label: "生产厂家" }, {
877
+ default: n(() => [
878
+ i(r, {
879
+ modelValue: l.maker,
880
+ "onUpdate:modelValue": e[9] || (e[9] = (t) => l.maker = t)
881
+ }, null, 8, ["modelValue"])
882
+ ]),
883
+ _: 1
884
+ }),
885
+ i(_, { label: "描述" }, {
886
+ default: n(() => [
887
+ i(r, {
888
+ modelValue: l.description,
889
+ "onUpdate:modelValue": e[10] || (e[10] = (t) => l.description = t),
890
+ type: "textarea",
891
+ rows: 3
892
+ }, null, 8, ["modelValue"])
893
+ ]),
894
+ _: 1
895
+ })
896
+ ]),
897
+ _: 1
898
+ }, 8, ["model"])
899
+ ]),
900
+ _: 1
901
+ }, 8, ["modelValue"]),
902
+ i(K, {
903
+ modelValue: q.value,
904
+ "onUpdate:modelValue": e[21] || (e[21] = (t) => q.value = t),
905
+ title: "编辑终端",
906
+ width: "640px",
907
+ "destroy-on-close": "",
908
+ onClosed: G
909
+ }, {
910
+ footer: n(() => [
911
+ i(d, {
912
+ onClick: e[20] || (e[20] = (t) => q.value = !1)
913
+ }, {
914
+ default: n(() => [...e[39] || (e[39] = [
915
+ s("取消", -1)
916
+ ])]),
917
+ _: 1
918
+ }),
919
+ i(d, {
920
+ type: "primary",
921
+ loading: R.value,
922
+ onClick: Le
923
+ }, {
924
+ default: n(() => [...e[40] || (e[40] = [
925
+ s("保存", -1)
926
+ ])]),
927
+ _: 1
928
+ }, 8, ["loading"])
929
+ ]),
930
+ default: n(() => [
931
+ i(j, {
932
+ model: l,
933
+ "label-width": "120px"
934
+ }, {
935
+ default: n(() => [
936
+ i(_, { label: "终端编号" }, {
937
+ default: n(() => [
938
+ i(r, {
939
+ modelValue: l.uid,
940
+ "onUpdate:modelValue": e[13] || (e[13] = (t) => l.uid = t),
941
+ disabled: ""
942
+ }, null, 8, ["modelValue"])
943
+ ]),
944
+ _: 1
945
+ }),
946
+ i(_, {
947
+ label: "终端名称",
948
+ required: ""
949
+ }, {
950
+ default: n(() => [
951
+ i(r, {
952
+ modelValue: l.name,
953
+ "onUpdate:modelValue": e[14] || (e[14] = (t) => l.name = t)
954
+ }, null, 8, ["modelValue"])
955
+ ]),
956
+ _: 1
957
+ }),
958
+ i(_, { label: "终端别名" }, {
959
+ default: n(() => [
960
+ i(r, {
961
+ modelValue: l.alias,
962
+ "onUpdate:modelValue": e[15] || (e[15] = (t) => l.alias = t)
963
+ }, null, 8, ["modelValue"])
964
+ ]),
965
+ _: 1
966
+ }),
967
+ i(_, {
968
+ label: "终端类型",
969
+ required: ""
970
+ }, {
971
+ default: n(() => [
972
+ i(p, {
973
+ modelValue: l.type,
974
+ "onUpdate:modelValue": e[16] || (e[16] = (t) => l.type = t),
975
+ class: "w-full",
976
+ filterable: ""
977
+ }, {
978
+ default: n(() => [
979
+ (m(), z($, null, W(I, (t) => i(u, {
980
+ key: t.value,
981
+ label: t.label,
982
+ value: t.value
983
+ }, null, 8, ["label", "value"])), 64))
984
+ ]),
985
+ _: 1
986
+ }, 8, ["modelValue"])
987
+ ]),
988
+ _: 1
989
+ }),
990
+ i(_, { label: "终端配置" }, {
991
+ default: n(() => [
992
+ i(p, {
993
+ modelValue: l.config_id,
994
+ "onUpdate:modelValue": e[17] || (e[17] = (t) => l.config_id = t),
995
+ class: "w-full",
996
+ filterable: "",
997
+ clearable: "",
998
+ placeholder: "请选择"
999
+ }, {
1000
+ default: n(() => [
1001
+ (m(!0), z($, null, W(Q.value, (t) => (m(), w(u, {
1002
+ key: t.uid,
1003
+ label: t.name,
1004
+ value: t.uid
1005
+ }, null, 8, ["label", "value"]))), 128))
1006
+ ]),
1007
+ _: 1
1008
+ }, 8, ["modelValue"])
1009
+ ]),
1010
+ _: 1
1011
+ }),
1012
+ i(_, { label: "生产厂家" }, {
1013
+ default: n(() => [
1014
+ i(r, {
1015
+ modelValue: l.maker,
1016
+ "onUpdate:modelValue": e[18] || (e[18] = (t) => l.maker = t)
1017
+ }, null, 8, ["modelValue"])
1018
+ ]),
1019
+ _: 1
1020
+ }),
1021
+ i(_, { label: "描述" }, {
1022
+ default: n(() => [
1023
+ i(r, {
1024
+ modelValue: l.description,
1025
+ "onUpdate:modelValue": e[19] || (e[19] = (t) => l.description = t),
1026
+ type: "textarea",
1027
+ rows: 3
1028
+ }, null, 8, ["modelValue"])
1029
+ ]),
1030
+ _: 1
1031
+ })
1032
+ ]),
1033
+ _: 1
1034
+ }, 8, ["model"])
1035
+ ]),
1036
+ _: 1
1037
+ }, 8, ["modelValue"]),
1038
+ i(K, {
1039
+ modelValue: Y.value,
1040
+ "onUpdate:modelValue": e[23] || (e[23] = (t) => Y.value = t),
1041
+ title: "终端详情",
1042
+ width: "760px",
1043
+ "destroy-on-close": ""
1044
+ }, {
1045
+ footer: n(() => [
1046
+ i(d, {
1047
+ type: "primary",
1048
+ onClick: e[22] || (e[22] = (t) => Y.value = !1)
1049
+ }, {
1050
+ default: n(() => [...e[41] || (e[41] = [
1051
+ s("关闭", -1)
1052
+ ])]),
1053
+ _: 1
1054
+ })
1055
+ ]),
1056
+ default: n(() => [
1057
+ ye((m(), z("div", wt, [
1058
+ f.value ? (m(), w(ee, {
1059
+ key: 0,
1060
+ column: 2,
1061
+ border: ""
1062
+ }, {
1063
+ default: n(() => [
1064
+ i(v, { label: "终端编号" }, {
1065
+ default: n(() => {
1066
+ var t;
1067
+ return [
1068
+ s(y((t = f.value.uid) != null ? t : ""), 1)
1069
+ ];
1070
+ }),
1071
+ _: 1
1072
+ }),
1073
+ i(v, { label: "终端名称" }, {
1074
+ default: n(() => {
1075
+ var t;
1076
+ return [
1077
+ s(y((t = f.value.name) != null ? t : ""), 1)
1078
+ ];
1079
+ }),
1080
+ _: 1
1081
+ }),
1082
+ i(v, { label: "终端别名" }, {
1083
+ default: n(() => {
1084
+ var t;
1085
+ return [
1086
+ s(y((t = f.value.alias) != null ? t : ""), 1)
1087
+ ];
1088
+ }),
1089
+ _: 1
1090
+ }),
1091
+ i(v, { label: "终端类型" }, {
1092
+ default: n(() => [
1093
+ s(y(E(f.value.type)), 1)
1094
+ ]),
1095
+ _: 1
1096
+ }),
1097
+ i(v, { label: "终端配置编号" }, {
1098
+ default: n(() => {
1099
+ var t;
1100
+ return [
1101
+ s(y((t = f.value.config_id) != null ? t : ""), 1)
1102
+ ];
1103
+ }),
1104
+ _: 1
1105
+ }),
1106
+ i(v, { label: "终端状态" }, {
1107
+ default: n(() => [
1108
+ s(y(ie(f.value) ? "在线" : "离线"), 1)
1109
+ ]),
1110
+ _: 1
1111
+ }),
1112
+ i(v, { label: "信号值" }, {
1113
+ default: n(() => {
1114
+ var t;
1115
+ return [
1116
+ s(y((t = M(f.value, "csq")) != null ? t : ""), 1)
1117
+ ];
1118
+ }),
1119
+ _: 1
1120
+ }),
1121
+ i(v, { label: "最近上报时间" }, {
1122
+ default: n(() => {
1123
+ var t;
1124
+ return [
1125
+ s(y((t = f.value.last_publish_time) != null ? t : ""), 1)
1126
+ ];
1127
+ }),
1128
+ _: 1
1129
+ }),
1130
+ i(v, { label: "上一次连接时间" }, {
1131
+ default: n(() => {
1132
+ var t;
1133
+ return [
1134
+ s(y((t = f.value.last_online_time) != null ? t : ""), 1)
1135
+ ];
1136
+ }),
1137
+ _: 1
1138
+ }),
1139
+ i(v, { label: "流量卡号" }, {
1140
+ default: n(() => {
1141
+ var t;
1142
+ return [
1143
+ s(y((t = M(f.value, "nominal.ICCID")) != null ? t : ""), 1)
1144
+ ];
1145
+ }),
1146
+ _: 1
1147
+ }),
1148
+ i(v, { label: "LUA版本" }, {
1149
+ default: n(() => {
1150
+ var t;
1151
+ return [
1152
+ s(y((t = M(f.value, "nominal.LUA")) != null ? t : ""), 1)
1153
+ ];
1154
+ }),
1155
+ _: 1
1156
+ }),
1157
+ i(v, { label: "MCU版本" }, {
1158
+ default: n(() => {
1159
+ var t;
1160
+ return [
1161
+ s(y((t = M(f.value, "nominal.MCU")) != null ? t : ""), 1)
1162
+ ];
1163
+ }),
1164
+ _: 1
1165
+ }),
1166
+ i(v, { label: "生产厂家" }, {
1167
+ default: n(() => {
1168
+ var t;
1169
+ return [
1170
+ s(y((t = f.value.maker) != null ? t : ""), 1)
1171
+ ];
1172
+ }),
1173
+ _: 1
1174
+ }),
1175
+ i(v, { label: "创建时间" }, {
1176
+ default: n(() => {
1177
+ var t;
1178
+ return [
1179
+ s(y((t = f.value.created) != null ? t : ""), 1)
1180
+ ];
1181
+ }),
1182
+ _: 1
1183
+ }),
1184
+ i(v, {
1185
+ label: "描述",
1186
+ span: 2
1187
+ }, {
1188
+ default: n(() => {
1189
+ var t;
1190
+ return [
1191
+ s(y((t = f.value.description) != null ? t : ""), 1)
1192
+ ];
1193
+ }),
1194
+ _: 1
1195
+ })
1196
+ ]),
1197
+ _: 1
1198
+ })) : S("", !0)
1199
+ ])), [
1200
+ [X, se.value]
1201
+ ])
1202
+ ]),
1203
+ _: 1
1204
+ }, 8, ["modelValue"])
1205
+ ], 64);
1206
+ };
1207
+ }
1208
+ })), ll = /* @__PURE__ */ ct(At, [["__scopeId", "data-v-6c388f3c"]]);
1209
+ export {
1210
+ ll as default
1211
+ };