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,1017 @@
1
+ var ze = Object.defineProperty, Ee = Object.defineProperties;
2
+ var Oe = Object.getOwnPropertyDescriptors;
3
+ var ne = Object.getOwnPropertySymbols;
4
+ var Ne = Object.prototype.hasOwnProperty, Ie = Object.prototype.propertyIsEnumerable;
5
+ var re = (v, p, f) => p in v ? ze(v, p, { enumerable: !0, configurable: !0, writable: !0, value: f }) : v[p] = f, j = (v, p) => {
6
+ for (var f in p || (p = {}))
7
+ Ne.call(p, f) && re(v, f, p[f]);
8
+ if (ne)
9
+ for (var f of ne(p))
10
+ Ie.call(p, f) && re(v, f, p[f]);
11
+ return v;
12
+ }, Y = (v, p) => Ee(v, Oe(p));
13
+ var E = (v, p, f) => new Promise((M, w) => {
14
+ var q = (h) => {
15
+ try {
16
+ b(f.next(h));
17
+ } catch (O) {
18
+ w(O);
19
+ }
20
+ }, Q = (h) => {
21
+ try {
22
+ b(f.throw(h));
23
+ } catch (O) {
24
+ w(O);
25
+ }
26
+ }, b = (h) => h.done ? M(h.value) : Promise.resolve(h.value).then(q, Q);
27
+ b((f = f.apply(v, p)).next());
28
+ });
29
+ import { ElInput as Te, ElIcon as Le, ElSelect as $e, ElOption as Re, ElButton as Je, ElTable as Ke, ElTableColumn as je, ElPagination as Fe, ElLoadingDirective as Me, ElDialog as Pe, ElForm as He, ElFormItem as We, ElDescriptions as qe, ElDescriptionsItem as Qe } 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/button/style/css";
41
+ import "element-plus/es/components/select/style/css";
42
+ import "element-plus/es/components/option/style/css";
43
+ import "element-plus/es/components/input/style/css";
44
+ import "element-plus/es/components/icon/style/css";
45
+ import { defineComponent as Ge, computed as Z, reactive as se, ref as B, onMounted as Xe, openBlock as y, createElementBlock as $, Fragment as ee, withDirectives as ue, normalizeStyle as de, unref as V, toDisplayString as C, createCommentVNode as S, createElementVNode as F, createVNode as i, withKeys as Ye, withCtx as o, createTextVNode as d, createBlock as D, renderList as Ze, renderSlot as et } from "vue";
46
+ import { B as tt } from "./element-resize-detector-DJcsrJ8s.js";
47
+ import { _ as lt } from "./index-kShjySl9.js";
48
+ import { g as at } from "./titleStyle-BT5GlpAb.js";
49
+ import { ElMessage as m, ElMessageBox as pe } from "element-plus";
50
+ import { Search as it } from "@element-plus/icons-vue";
51
+ import { a as T } from "./api-C0GhBpqd.js";
52
+ import { A as ot, D as nt } from "./ele-lst-icon-CKpeRKmk.js";
53
+ const rt = { class: "mix-body" }, st = { class: "toolbar" }, ut = { class: "table-wrapper" }, dt = { class: "pagination" }, pt = { class: "view-body" }, mt = {
54
+ DEFAULT_ICON: nt,
55
+ ACTIVE_ICON: ot,
56
+ NAME_CN: "终端配置列表",
57
+ NAME_EN: "TerminalConfigList",
58
+ ORDER: 6
59
+ }, ct = {
60
+ bgColor: "#fff",
61
+ nameColor: "#999",
62
+ valueColor: "#333",
63
+ titleColor: "#111",
64
+ titleSize: 14,
65
+ nameSize: 12,
66
+ valueSize: 12,
67
+ radiusSize: 8,
68
+ isHideTitle: !1,
69
+ columns: [
70
+ { key: "uid", label: "终端配置编号", width: 140, visible: !0 },
71
+ { key: "alias", label: "终端配置别名", width: 120, visible: !0 },
72
+ { key: "name", label: "终端配置名称", width: 140, visible: !0 },
73
+ { key: "lua_version", label: "LUA版本号", width: 110, visible: !0 },
74
+ { key: "tag", label: "标签", width: 120, visible: !0 },
75
+ { key: "description", label: "描述", minWidth: 140, visible: !0 },
76
+ { key: "last_modified", label: "最后修改时间", width: 170, visible: !0 },
77
+ { key: "created", label: "创建时间", width: 170, visible: !0 }
78
+ ]
79
+ }, me = [
80
+ {
81
+ name: "终端配置名称",
82
+ fv: "",
83
+ object_id: "",
84
+ unit: "",
85
+ default: "",
86
+ isText: !1,
87
+ showAddBtn: !0,
88
+ showViewBtn: !0,
89
+ showEditBtn: !0,
90
+ showBatchUpgradeBtn: !0,
91
+ showDownloadBtn: !0,
92
+ showArchiveBtn: !0,
93
+ showDeleteBtn: !0,
94
+ uid: "终端配置编号",
95
+ uid_visible: !0,
96
+ alias: "终端配置别名",
97
+ alias_visible: !0,
98
+ name_visible: !0,
99
+ lua_version: "LUA版本号",
100
+ lua_version_visible: !0,
101
+ tag: "标签",
102
+ tag_visible: !0,
103
+ description: "描述",
104
+ description_visible: !0,
105
+ last_modified: "最后修改时间",
106
+ last_modified_visible: !0,
107
+ created: "创建时间",
108
+ created_visible: !0
109
+ }
110
+ ], ft = [
111
+ { key: "showAddBtn", label: "添加", type: "checkbox", group: "命令组" },
112
+ { key: "showViewBtn", label: "查看", type: "checkbox", group: "操作组" },
113
+ { key: "showEditBtn", label: "编辑", type: "checkbox", group: "操作组" },
114
+ { key: "showBatchUpgradeBtn", label: "批量升级", type: "checkbox", group: "操作组" },
115
+ { key: "showDownloadBtn", label: "下载", type: "checkbox", group: "操作组" },
116
+ { key: "showArchiveBtn", label: "资料备档", type: "checkbox", group: "操作组" },
117
+ { key: "showDeleteBtn", label: "删除", type: "checkbox", group: "操作组" },
118
+ { key: "name", label: "参数名称" },
119
+ { key: "uid", label: "终端配置编号", checkable: !0, checkboxKey: "uid_visible" },
120
+ { key: "alias", label: "终端配置别名", checkable: !0, checkboxKey: "alias_visible" },
121
+ { key: "name", label: "终端配置名称", checkable: !0, checkboxKey: "name_visible" },
122
+ { key: "lua_version", label: "LUA版本号", checkable: !0, checkboxKey: "lua_version_visible" },
123
+ { key: "tag", label: "标签", checkable: !0, checkboxKey: "tag_visible" },
124
+ { key: "description", label: "描述", checkable: !0, checkboxKey: "description_visible" },
125
+ { key: "last_modified", label: "最后修改时间", checkable: !0, checkboxKey: "last_modified_visible" },
126
+ { key: "created", label: "创建时间", checkable: !0, checkboxKey: "created_visible" }
127
+ ], bt = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], gt = {}, vt = { DEFAULT: mt, OPTIONS: ct, DATA: me, PARAMS: ft, SOURCE: bt, COMMON: gt }, yt = /* @__PURE__ */ Ge(Y(j({}, vt), {
128
+ __name: "terminalConfigList",
129
+ props: {
130
+ conf: { default: () => ({ data: [] }) },
131
+ uid: { default: "" },
132
+ mode: {},
133
+ theme: {},
134
+ code: { default: "" }
135
+ },
136
+ setup(v) {
137
+ const p = v;
138
+ class f extends tt {
139
+ getDataBool(e, n) {
140
+ var g, k;
141
+ const r = (k = (g = this.props.conf) == null ? void 0 : g.data) == null ? void 0 : k[0];
142
+ return r && Object.prototype.hasOwnProperty.call(r, e) && r[e] !== void 0 ? !!r[e] : this.getOptionValue(e, n);
143
+ }
144
+ extractStyles() {
145
+ return {
146
+ bgColor: this.getOptionValue("bgColor", "#fff"),
147
+ nameColor: this.getOptionValue("nameColor", "#999"),
148
+ valueColor: this.getOptionValue("valueColor", "#333"),
149
+ titleColor: this.getOptionValue("titleColor", "#111"),
150
+ titleSize: this.getOptionValue("titleSize", 14),
151
+ nameSize: this.getOptionValue("nameSize", 12),
152
+ valueSize: this.getOptionValue("valueSize", 12),
153
+ radiusSize: this.getOptionValue("radiusSize", 8),
154
+ isHideTitle: this.getOptionValue("isHideTitle", !1),
155
+ showAddBtn: this.getDataBool("showAddBtn", !0),
156
+ showViewBtn: this.getDataBool("showViewBtn", !0),
157
+ showEditBtn: this.getDataBool("showEditBtn", !0),
158
+ showBatchUpgradeBtn: this.getDataBool("showBatchUpgradeBtn", !0),
159
+ showDownloadBtn: this.getDataBool("showDownloadBtn", !0),
160
+ showArchiveBtn: this.getDataBool("showArchiveBtn", !0),
161
+ showDeleteBtn: this.getDataBool("showDeleteBtn", !0)
162
+ };
163
+ }
164
+ init() {
165
+ var e;
166
+ if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
167
+ this.props.conf.data = JSON.parse(JSON.stringify(me));
168
+ else {
169
+ const n = this.props.conf.data[0], r = {
170
+ showAddBtn: !0,
171
+ showViewBtn: !0,
172
+ showEditBtn: !0,
173
+ showBatchUpgradeBtn: !0,
174
+ showDownloadBtn: !0,
175
+ showArchiveBtn: !0,
176
+ showDeleteBtn: !0
177
+ };
178
+ for (const [g, k] of Object.entries(r))
179
+ n[g] === void 0 && (n[g] = k);
180
+ }
181
+ }
182
+ }
183
+ const M = new f(p, "terminalConfigList");
184
+ M.setupLifecycle();
185
+ const w = M.getStyle(), q = Z(() => at(p.conf.options)), Q = Z(() => {
186
+ var n, r, g, k;
187
+ const a = ((r = (n = p.conf) == null ? void 0 : n.options) == null ? void 0 : r.columns) || [], e = ((k = (g = p.conf) == null ? void 0 : g.data) == null ? void 0 : k[0]) || {};
188
+ return (Array.isArray(a) ? a : []).map((u) => {
189
+ const A = e[u.key], L = `${u.key}_visible`, N = e[L];
190
+ return {
191
+ prop: u.key,
192
+ label: A !== void 0 && A !== "" ? String(A) : u.label,
193
+ width: u.width,
194
+ minWidth: u.minWidth,
195
+ visible: N !== void 0 ? !!N : u.visible !== !1
196
+ };
197
+ });
198
+ }), b = se({ current: 1, pageSize: 10, total: 0 }), h = B(""), O = B("name"), P = B([]), G = B(!1);
199
+ function ce() {
200
+ const a = [], e = h.value.trim();
201
+ return e && a.push([O.value, "like", `%${e}%`]), {
202
+ page_index: b.current,
203
+ page_size: b.pageSize,
204
+ where_and: JSON.stringify(a)
205
+ };
206
+ }
207
+ function x() {
208
+ return E(this, null, function* () {
209
+ var a;
210
+ G.value = !0;
211
+ try {
212
+ const e = yield T.post(
213
+ "terminal_config_list",
214
+ ce(),
215
+ !0
216
+ ), n = (a = e == null ? void 0 : e.result) != null ? a : e;
217
+ P.value = Array.isArray(n == null ? void 0 : n.data) ? [...n.data] : [];
218
+ const r = n == null ? void 0 : n.total_records;
219
+ b.total = typeof r == "number" ? r : P.value.length, e && e.code !== void 0 && e.code !== 200 && m.warning(e.msg || e.info || "列表接口返回非成功状态");
220
+ } catch (e) {
221
+ console.error(e), P.value = [], b.total = 0, m.error("加载终端配置列表失败");
222
+ } finally {
223
+ G.value = !1;
224
+ }
225
+ });
226
+ }
227
+ const fe = Z(() => P.value);
228
+ function te(a) {
229
+ if (a == null || a === "") return "";
230
+ if (Array.isArray(a)) return a.join(", ");
231
+ if (typeof a == "string")
232
+ try {
233
+ const e = JSON.parse(a);
234
+ return Array.isArray(e) ? e.join(", ") : a;
235
+ } catch (e) {
236
+ return a;
237
+ }
238
+ return String(a);
239
+ }
240
+ function be(a, e) {
241
+ if (e === "tag") return te(a.tag);
242
+ const n = a[e];
243
+ return n == null ? "" : String(n);
244
+ }
245
+ function le() {
246
+ b.current = 1, x();
247
+ }
248
+ function ge() {
249
+ h.value = "", b.current = 1, x();
250
+ }
251
+ function ve() {
252
+ b.current = 1, x();
253
+ }
254
+ function ye() {
255
+ x();
256
+ }
257
+ const R = B(!1), J = B(!1), z = B(!1), l = se({
258
+ id: 0,
259
+ uid: "",
260
+ name: "",
261
+ alias: "",
262
+ tagInput: "",
263
+ description: "",
264
+ terminal_script: "",
265
+ config_script: "",
266
+ addition: "[]",
267
+ reference: "",
268
+ hardware: "",
269
+ is_available: 1
270
+ });
271
+ function we() {
272
+ const a = l.tagInput.trim();
273
+ return a ? a.split(",").map((e) => e.trim()).filter(Boolean) : [];
274
+ }
275
+ function _e(a) {
276
+ if (a == null) {
277
+ l.tagInput = "";
278
+ return;
279
+ }
280
+ if (Array.isArray(a)) {
281
+ l.tagInput = a.join(", ");
282
+ return;
283
+ }
284
+ if (typeof a == "string")
285
+ try {
286
+ const e = JSON.parse(a);
287
+ l.tagInput = Array.isArray(e) ? e.join(", ") : a;
288
+ } catch (e) {
289
+ l.tagInput = a;
290
+ }
291
+ }
292
+ function H() {
293
+ l.id = 0, l.uid = "", l.name = "", l.alias = "", l.tagInput = "", l.description = "", l.terminal_script = "", l.config_script = "", l.addition = "[]", l.reference = "", l.hardware = "", l.is_available = 1;
294
+ }
295
+ function he() {
296
+ var e;
297
+ const a = ((e = l.addition) == null ? void 0 : e.trim()) || "[]";
298
+ try {
299
+ return JSON.parse(a);
300
+ } catch (n) {
301
+ throw new Error("扩展信息需为合法 JSON");
302
+ }
303
+ }
304
+ function ae() {
305
+ const a = he();
306
+ return {
307
+ id: l.id,
308
+ uid: l.uid.trim(),
309
+ name: l.name.trim(),
310
+ alias: l.alias.trim(),
311
+ description: l.description,
312
+ tag: we(),
313
+ terminal_script: l.terminal_script,
314
+ config_script: l.config_script,
315
+ addition: a,
316
+ reference: l.reference,
317
+ hardware: l.hardware,
318
+ is_available: l.is_available
319
+ };
320
+ }
321
+ function ke() {
322
+ H(), l.addition = "[]", R.value = !0;
323
+ }
324
+ function Ve(a) {
325
+ return E(this, null, function* () {
326
+ var e, n, r, g, k, u, A, L, N, c, K;
327
+ H(), J.value = !0, z.value = !0;
328
+ try {
329
+ const U = yield T.post("terminal_config_item", { uid: a.uid }, !0), s = (e = U == null ? void 0 : U.result) != null ? e : U;
330
+ if (s && typeof s == "object") {
331
+ if (l.id = Number(s.id) || 0, l.uid = String((r = (n = s.uid) != null ? n : a.uid) != null ? r : ""), l.name = String((g = s.name) != null ? g : ""), l.alias = String((k = s.alias) != null ? k : ""), _e(s.tag), l.description = String((u = s.description) != null ? u : ""), l.terminal_script = String((A = s.terminal_script) != null ? A : ""), l.config_script = String((L = s.config_script) != null ? L : ""), s.addition !== void 0 && s.addition !== null)
332
+ if (typeof s.addition == "string")
333
+ try {
334
+ l.addition = JSON.stringify(JSON.parse(s.addition), null, 2);
335
+ } catch (ie) {
336
+ l.addition = String(s.addition);
337
+ }
338
+ else
339
+ l.addition = JSON.stringify(s.addition, null, 2);
340
+ else
341
+ l.addition = "[]";
342
+ l.reference = String((N = s.reference) != null ? N : ""), l.hardware = String((c = s.hardware) != null ? c : ""), l.is_available = s.is_available !== void 0 ? Number(s.is_available) : 1;
343
+ }
344
+ } catch (U) {
345
+ l.uid = String(a.uid), l.name = String((K = a.name) != null ? K : ""), m.warning("拉取配置详情失败,已使用列表行数据");
346
+ } finally {
347
+ z.value = !1;
348
+ }
349
+ });
350
+ }
351
+ function Be() {
352
+ return E(this, null, function* () {
353
+ var e;
354
+ if (!((e = l.name) != null && e.trim())) {
355
+ m.warning("请填写配置名称");
356
+ return;
357
+ }
358
+ let a;
359
+ try {
360
+ a = Y(j({}, ae()), { id: 0 });
361
+ } catch (n) {
362
+ m.warning((n == null ? void 0 : n.message) || "扩展信息格式错误");
363
+ return;
364
+ }
365
+ z.value = !0;
366
+ try {
367
+ yield T.post("terminal_config_create", a, !0), m.success("添加成功"), R.value = !1, yield x();
368
+ } catch (n) {
369
+ m.error("添加失败");
370
+ } finally {
371
+ z.value = !1;
372
+ }
373
+ });
374
+ }
375
+ function Ce() {
376
+ return E(this, null, function* () {
377
+ var e;
378
+ if (!((e = l.name) != null && e.trim())) {
379
+ m.warning("请填写配置名称");
380
+ return;
381
+ }
382
+ let a;
383
+ try {
384
+ a = ae();
385
+ } catch (n) {
386
+ m.warning((n == null ? void 0 : n.message) || "扩展信息格式错误");
387
+ return;
388
+ }
389
+ z.value = !0;
390
+ try {
391
+ yield T.post("terminal_config_update", a, !0), m.success("保存成功"), J.value = !1, yield x();
392
+ } catch (n) {
393
+ m.error("保存失败");
394
+ } finally {
395
+ z.value = !1;
396
+ }
397
+ });
398
+ }
399
+ const W = B(!1), X = B(!1), _ = B(null);
400
+ function Se(a) {
401
+ return E(this, null, function* () {
402
+ _.value = null, W.value = !0, X.value = !0;
403
+ try {
404
+ const e = yield T.post("terminal_config_item", { uid: a.uid }, !0), n = e == null ? void 0 : e.result;
405
+ n && typeof n == "object" ? _.value = n : (_.value = j({}, a), m.warning("未返回详情,已显示列表行数据"));
406
+ } catch (e) {
407
+ _.value = j({}, a), m.warning("加载详情失败,已显示列表行数据");
408
+ } finally {
409
+ X.value = !1;
410
+ }
411
+ });
412
+ }
413
+ function xe(a) {
414
+ return E(this, null, function* () {
415
+ try {
416
+ (yield T.post("upgrade_config_lua", { uid: a.uid }, !0)).code === 200 && (m.success("已触发批量升级"), yield x());
417
+ } catch (e) {
418
+ m.error("批量升级请求失败(参数可能与后端约定不一致,可在 mixui 终端管理中操作)");
419
+ }
420
+ });
421
+ }
422
+ function Ae(a) {
423
+ const e = a.lua_file;
424
+ if (!e) {
425
+ m.warning("无 LUA 文件地址");
426
+ return;
427
+ }
428
+ if (/^https?:\/\//i.test(e)) {
429
+ window.open(e, "_blank");
430
+ return;
431
+ }
432
+ const n = (localStorage.getItem("globalApiUrl") || "").replace(/\/$/, ""), r = n ? `${n}/${e.replace(/^\//, "")}` : e;
433
+ window.open(r, "_blank");
434
+ }
435
+ function Ue(a) {
436
+ pe.confirm(`确认对配置「${a.name || a.uid}」进行资料备档吗?`, "提示", { type: "info" }).then(() => {
437
+ m.success("完整备档流程请在 mixui「终端管理」中操作");
438
+ }).catch(() => {
439
+ });
440
+ }
441
+ function De(a) {
442
+ pe.confirm(`确认删除终端配置「${a.name || a.uid}」吗?`, "警告", { type: "warning" }).then(() => E(null, null, function* () {
443
+ try {
444
+ yield T.post("terminal_config_delete", { uid: a.uid, id: a.id }, !0), m.success("删除成功"), yield x();
445
+ } catch (e) {
446
+ m.error("删除失败");
447
+ }
448
+ })).catch(() => {
449
+ });
450
+ }
451
+ return Xe(() => {
452
+ x();
453
+ }), (a, e) => {
454
+ const n = Le, r = Te, g = Re, k = $e, u = Je, A = je, L = Ke, N = Fe, c = We, K = He, U = Pe, s = Qe, ie = qe, oe = Me;
455
+ return y(), $(ee, null, [
456
+ ue((y(), $("div", {
457
+ class: "terminal-config-list mix-component",
458
+ style: de({ backgroundColor: V(w).bgColor, borderRadius: `${V(w).radiusSize}px` })
459
+ }, [
460
+ V(w).isHideTitle ? S("", !0) : (y(), $("div", {
461
+ key: 0,
462
+ class: "mix-title",
463
+ style: de(q.value)
464
+ }, C(v.conf.caption || v.conf.name), 5)),
465
+ F("div", rt, [
466
+ F("div", st, [
467
+ i(r, {
468
+ modelValue: h.value,
469
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => h.value = t),
470
+ placeholder: "搜索终端配置",
471
+ size: "small",
472
+ class: "toolbar-search",
473
+ onKeyup: Ye(le, ["enter"])
474
+ }, {
475
+ prefix: o(() => [
476
+ i(n, { class: "toolbar-search-icon" }, {
477
+ default: o(() => [
478
+ i(V(it))
479
+ ]),
480
+ _: 1
481
+ })
482
+ ]),
483
+ _: 1
484
+ }, 8, ["modelValue"]),
485
+ i(k, {
486
+ modelValue: O.value,
487
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => O.value = t),
488
+ size: "small",
489
+ class: "toolbar-field-select"
490
+ }, {
491
+ default: o(() => [
492
+ i(g, {
493
+ label: "配置名称",
494
+ value: "name"
495
+ }),
496
+ i(g, {
497
+ label: "配置编号",
498
+ value: "uid"
499
+ }),
500
+ i(g, {
501
+ label: "配置别名",
502
+ value: "alias"
503
+ }),
504
+ i(g, {
505
+ label: "标签",
506
+ value: "tag"
507
+ })
508
+ ]),
509
+ _: 1
510
+ }, 8, ["modelValue"]),
511
+ i(u, {
512
+ type: "primary",
513
+ onClick: le
514
+ }, {
515
+ default: o(() => [...e[25] || (e[25] = [
516
+ d("搜索", -1)
517
+ ])]),
518
+ _: 1
519
+ }),
520
+ i(u, { onClick: ge }, {
521
+ default: o(() => [...e[26] || (e[26] = [
522
+ d("重置", -1)
523
+ ])]),
524
+ _: 1
525
+ }),
526
+ V(w).showAddBtn ? (y(), D(u, {
527
+ key: 0,
528
+ type: "success",
529
+ onClick: ke
530
+ }, {
531
+ default: o(() => [...e[27] || (e[27] = [
532
+ d("添加", -1)
533
+ ])]),
534
+ _: 1
535
+ })) : S("", !0)
536
+ ]),
537
+ F("div", ut, [
538
+ i(L, {
539
+ data: fe.value,
540
+ border: "",
541
+ class: "yunuis-aprus-table",
542
+ style: { width: "100%" }
543
+ }, {
544
+ default: o(() => [
545
+ (y(!0), $(ee, null, Ze(Q.value, (t) => (y(), $(ee, {
546
+ key: t.prop
547
+ }, [
548
+ t.visible ? (y(), D(A, {
549
+ key: 0,
550
+ prop: t.prop,
551
+ label: t.label,
552
+ width: t.width,
553
+ "min-width": t.minWidth
554
+ }, {
555
+ default: o((I) => [
556
+ F("span", null, C(be(I.row, t.prop)), 1)
557
+ ]),
558
+ _: 2
559
+ }, 1032, ["prop", "label", "width", "min-width"])) : S("", !0)
560
+ ], 64))), 128)),
561
+ i(A, {
562
+ label: "操作",
563
+ "min-width": "340",
564
+ fixed: "right"
565
+ }, {
566
+ default: o((t) => [
567
+ V(w).showViewBtn ? (y(), D(u, {
568
+ key: 0,
569
+ size: "small",
570
+ onClick: (I) => Se(t.row)
571
+ }, {
572
+ default: o(() => [...e[28] || (e[28] = [
573
+ d("查看", -1)
574
+ ])]),
575
+ _: 1
576
+ }, 8, ["onClick"])) : S("", !0),
577
+ V(w).showEditBtn ? (y(), D(u, {
578
+ key: 1,
579
+ size: "small",
580
+ type: "primary",
581
+ onClick: (I) => Ve(t.row)
582
+ }, {
583
+ default: o(() => [...e[29] || (e[29] = [
584
+ d("编辑", -1)
585
+ ])]),
586
+ _: 1
587
+ }, 8, ["onClick"])) : S("", !0),
588
+ V(w).showBatchUpgradeBtn ? (y(), D(u, {
589
+ key: 2,
590
+ size: "small",
591
+ onClick: (I) => xe(t.row)
592
+ }, {
593
+ default: o(() => [...e[30] || (e[30] = [
594
+ d("批量升级", -1)
595
+ ])]),
596
+ _: 1
597
+ }, 8, ["onClick"])) : S("", !0),
598
+ V(w).showDownloadBtn ? (y(), D(u, {
599
+ key: 3,
600
+ size: "small",
601
+ onClick: (I) => Ae(t.row)
602
+ }, {
603
+ default: o(() => [...e[31] || (e[31] = [
604
+ d("下载", -1)
605
+ ])]),
606
+ _: 1
607
+ }, 8, ["onClick"])) : S("", !0),
608
+ V(w).showArchiveBtn ? (y(), D(u, {
609
+ key: 4,
610
+ size: "small",
611
+ type: "info",
612
+ onClick: (I) => Ue(t.row)
613
+ }, {
614
+ default: o(() => [...e[32] || (e[32] = [
615
+ d("资料备档", -1)
616
+ ])]),
617
+ _: 1
618
+ }, 8, ["onClick"])) : S("", !0),
619
+ V(w).showDeleteBtn ? (y(), D(u, {
620
+ key: 5,
621
+ size: "small",
622
+ type: "danger",
623
+ onClick: (I) => De(t.row)
624
+ }, {
625
+ default: o(() => [...e[33] || (e[33] = [
626
+ d("删除", -1)
627
+ ])]),
628
+ _: 1
629
+ }, 8, ["onClick"])) : S("", !0)
630
+ ]),
631
+ _: 1
632
+ })
633
+ ]),
634
+ _: 1
635
+ }, 8, ["data"])
636
+ ]),
637
+ F("div", dt, [
638
+ i(N, {
639
+ "current-page": b.current,
640
+ "onUpdate:currentPage": e[2] || (e[2] = (t) => b.current = t),
641
+ "page-size": b.pageSize,
642
+ "onUpdate:pageSize": e[3] || (e[3] = (t) => b.pageSize = t),
643
+ "page-sizes": [10, 20, 50, 100],
644
+ layout: "total, sizes, prev, pager, next, jumper",
645
+ total: b.total,
646
+ onSizeChange: ve,
647
+ onCurrentChange: ye
648
+ }, null, 8, ["current-page", "page-size", "total"])
649
+ ])
650
+ ]),
651
+ et(a.$slots, "default", {}, void 0, !0)
652
+ ], 4)), [
653
+ [oe, G.value]
654
+ ]),
655
+ i(U, {
656
+ modelValue: R.value,
657
+ "onUpdate:modelValue": e[12] || (e[12] = (t) => R.value = t),
658
+ title: "添加终端配置",
659
+ width: "900px",
660
+ "destroy-on-close": "",
661
+ onClosed: H
662
+ }, {
663
+ footer: o(() => [
664
+ i(u, {
665
+ onClick: e[11] || (e[11] = (t) => R.value = !1)
666
+ }, {
667
+ default: o(() => [...e[34] || (e[34] = [
668
+ d("取消", -1)
669
+ ])]),
670
+ _: 1
671
+ }),
672
+ i(u, {
673
+ type: "primary",
674
+ loading: z.value,
675
+ onClick: Be
676
+ }, {
677
+ default: o(() => [...e[35] || (e[35] = [
678
+ d("保存", -1)
679
+ ])]),
680
+ _: 1
681
+ }, 8, ["loading"])
682
+ ]),
683
+ default: o(() => [
684
+ i(K, {
685
+ model: l,
686
+ "label-width": "130px"
687
+ }, {
688
+ default: o(() => [
689
+ i(c, {
690
+ label: "配置名称",
691
+ required: ""
692
+ }, {
693
+ default: o(() => [
694
+ i(r, {
695
+ modelValue: l.name,
696
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => l.name = t),
697
+ placeholder: "必填"
698
+ }, null, 8, ["modelValue"])
699
+ ]),
700
+ _: 1
701
+ }),
702
+ i(c, { label: "配置别名" }, {
703
+ default: o(() => [
704
+ i(r, {
705
+ modelValue: l.alias,
706
+ "onUpdate:modelValue": e[5] || (e[5] = (t) => l.alias = t)
707
+ }, null, 8, ["modelValue"])
708
+ ]),
709
+ _: 1
710
+ }),
711
+ i(c, { label: "标签" }, {
712
+ default: o(() => [
713
+ i(r, {
714
+ modelValue: l.tagInput,
715
+ "onUpdate:modelValue": e[6] || (e[6] = (t) => l.tagInput = t),
716
+ placeholder: "多个标签用英文逗号分隔"
717
+ }, null, 8, ["modelValue"])
718
+ ]),
719
+ _: 1
720
+ }),
721
+ i(c, { label: "Aprus脚本" }, {
722
+ default: o(() => [
723
+ i(r, {
724
+ modelValue: l.terminal_script,
725
+ "onUpdate:modelValue": e[7] || (e[7] = (t) => l.terminal_script = t),
726
+ type: "textarea",
727
+ rows: 5,
728
+ class: "mono-input"
729
+ }, null, 8, ["modelValue"])
730
+ ]),
731
+ _: 1
732
+ }),
733
+ i(c, { label: "Config脚本" }, {
734
+ default: o(() => [
735
+ i(r, {
736
+ modelValue: l.config_script,
737
+ "onUpdate:modelValue": e[8] || (e[8] = (t) => l.config_script = t),
738
+ type: "textarea",
739
+ rows: 5,
740
+ class: "mono-input"
741
+ }, null, 8, ["modelValue"])
742
+ ]),
743
+ _: 1
744
+ }),
745
+ i(c, { label: "扩展信息" }, {
746
+ default: o(() => [
747
+ i(r, {
748
+ modelValue: l.addition,
749
+ "onUpdate:modelValue": e[9] || (e[9] = (t) => l.addition = t),
750
+ type: "textarea",
751
+ rows: 4,
752
+ placeholder: "JSON,默认 []"
753
+ }, null, 8, ["modelValue"])
754
+ ]),
755
+ _: 1
756
+ }),
757
+ i(c, { label: "描述" }, {
758
+ default: o(() => [
759
+ i(r, {
760
+ modelValue: l.description,
761
+ "onUpdate:modelValue": e[10] || (e[10] = (t) => l.description = t),
762
+ type: "textarea",
763
+ rows: 3
764
+ }, null, 8, ["modelValue"])
765
+ ]),
766
+ _: 1
767
+ })
768
+ ]),
769
+ _: 1
770
+ }, 8, ["model"])
771
+ ]),
772
+ _: 1
773
+ }, 8, ["modelValue"]),
774
+ i(U, {
775
+ modelValue: J.value,
776
+ "onUpdate:modelValue": e[22] || (e[22] = (t) => J.value = t),
777
+ title: "编辑终端配置",
778
+ width: "900px",
779
+ "destroy-on-close": "",
780
+ onClosed: H
781
+ }, {
782
+ footer: o(() => [
783
+ i(u, {
784
+ onClick: e[21] || (e[21] = (t) => J.value = !1)
785
+ }, {
786
+ default: o(() => [...e[36] || (e[36] = [
787
+ d("取消", -1)
788
+ ])]),
789
+ _: 1
790
+ }),
791
+ i(u, {
792
+ type: "primary",
793
+ loading: z.value,
794
+ onClick: Ce
795
+ }, {
796
+ default: o(() => [...e[37] || (e[37] = [
797
+ d("保存", -1)
798
+ ])]),
799
+ _: 1
800
+ }, 8, ["loading"])
801
+ ]),
802
+ default: o(() => [
803
+ i(K, {
804
+ model: l,
805
+ "label-width": "130px"
806
+ }, {
807
+ default: o(() => [
808
+ i(c, { label: "配置编号" }, {
809
+ default: o(() => [
810
+ i(r, {
811
+ modelValue: l.uid,
812
+ "onUpdate:modelValue": e[13] || (e[13] = (t) => l.uid = t),
813
+ disabled: ""
814
+ }, null, 8, ["modelValue"])
815
+ ]),
816
+ _: 1
817
+ }),
818
+ i(c, {
819
+ label: "配置名称",
820
+ required: ""
821
+ }, {
822
+ default: o(() => [
823
+ i(r, {
824
+ modelValue: l.name,
825
+ "onUpdate:modelValue": e[14] || (e[14] = (t) => l.name = t)
826
+ }, null, 8, ["modelValue"])
827
+ ]),
828
+ _: 1
829
+ }),
830
+ i(c, { label: "配置别名" }, {
831
+ default: o(() => [
832
+ i(r, {
833
+ modelValue: l.alias,
834
+ "onUpdate:modelValue": e[15] || (e[15] = (t) => l.alias = t)
835
+ }, null, 8, ["modelValue"])
836
+ ]),
837
+ _: 1
838
+ }),
839
+ i(c, { label: "标签" }, {
840
+ default: o(() => [
841
+ i(r, {
842
+ modelValue: l.tagInput,
843
+ "onUpdate:modelValue": e[16] || (e[16] = (t) => l.tagInput = t),
844
+ placeholder: "多个标签用英文逗号分隔"
845
+ }, null, 8, ["modelValue"])
846
+ ]),
847
+ _: 1
848
+ }),
849
+ i(c, { label: "Aprus脚本" }, {
850
+ default: o(() => [
851
+ i(r, {
852
+ modelValue: l.terminal_script,
853
+ "onUpdate:modelValue": e[17] || (e[17] = (t) => l.terminal_script = t),
854
+ type: "textarea",
855
+ rows: 5,
856
+ class: "mono-input"
857
+ }, null, 8, ["modelValue"])
858
+ ]),
859
+ _: 1
860
+ }),
861
+ i(c, { label: "Config脚本" }, {
862
+ default: o(() => [
863
+ i(r, {
864
+ modelValue: l.config_script,
865
+ "onUpdate:modelValue": e[18] || (e[18] = (t) => l.config_script = t),
866
+ type: "textarea",
867
+ rows: 5,
868
+ class: "mono-input"
869
+ }, null, 8, ["modelValue"])
870
+ ]),
871
+ _: 1
872
+ }),
873
+ i(c, { label: "扩展信息" }, {
874
+ default: o(() => [
875
+ i(r, {
876
+ modelValue: l.addition,
877
+ "onUpdate:modelValue": e[19] || (e[19] = (t) => l.addition = t),
878
+ type: "textarea",
879
+ rows: 4
880
+ }, null, 8, ["modelValue"])
881
+ ]),
882
+ _: 1
883
+ }),
884
+ i(c, { label: "描述" }, {
885
+ default: o(() => [
886
+ i(r, {
887
+ modelValue: l.description,
888
+ "onUpdate:modelValue": e[20] || (e[20] = (t) => l.description = t),
889
+ type: "textarea",
890
+ rows: 3
891
+ }, null, 8, ["modelValue"])
892
+ ]),
893
+ _: 1
894
+ })
895
+ ]),
896
+ _: 1
897
+ }, 8, ["model"])
898
+ ]),
899
+ _: 1
900
+ }, 8, ["modelValue"]),
901
+ i(U, {
902
+ modelValue: W.value,
903
+ "onUpdate:modelValue": e[24] || (e[24] = (t) => W.value = t),
904
+ title: "终端配置详情",
905
+ width: "800px",
906
+ "destroy-on-close": ""
907
+ }, {
908
+ footer: o(() => [
909
+ i(u, {
910
+ type: "primary",
911
+ onClick: e[23] || (e[23] = (t) => W.value = !1)
912
+ }, {
913
+ default: o(() => [...e[38] || (e[38] = [
914
+ d("关闭", -1)
915
+ ])]),
916
+ _: 1
917
+ })
918
+ ]),
919
+ default: o(() => [
920
+ ue((y(), $("div", pt, [
921
+ _.value ? (y(), D(ie, {
922
+ key: 0,
923
+ column: 2,
924
+ border: ""
925
+ }, {
926
+ default: o(() => [
927
+ i(s, { label: "配置编号" }, {
928
+ default: o(() => {
929
+ var t;
930
+ return [
931
+ d(C((t = _.value.uid) != null ? t : ""), 1)
932
+ ];
933
+ }),
934
+ _: 1
935
+ }),
936
+ i(s, { label: "配置名称" }, {
937
+ default: o(() => {
938
+ var t;
939
+ return [
940
+ d(C((t = _.value.name) != null ? t : ""), 1)
941
+ ];
942
+ }),
943
+ _: 1
944
+ }),
945
+ i(s, { label: "配置别名" }, {
946
+ default: o(() => {
947
+ var t;
948
+ return [
949
+ d(C((t = _.value.alias) != null ? t : ""), 1)
950
+ ];
951
+ }),
952
+ _: 1
953
+ }),
954
+ i(s, { label: "LUA版本" }, {
955
+ default: o(() => {
956
+ var t;
957
+ return [
958
+ d(C((t = _.value.lua_version) != null ? t : ""), 1)
959
+ ];
960
+ }),
961
+ _: 1
962
+ }),
963
+ i(s, {
964
+ label: "标签",
965
+ span: 2
966
+ }, {
967
+ default: o(() => [
968
+ d(C(te(_.value.tag)), 1)
969
+ ]),
970
+ _: 1
971
+ }),
972
+ i(s, { label: "最后修改" }, {
973
+ default: o(() => {
974
+ var t;
975
+ return [
976
+ d(C((t = _.value.last_modified) != null ? t : ""), 1)
977
+ ];
978
+ }),
979
+ _: 1
980
+ }),
981
+ i(s, { label: "创建时间" }, {
982
+ default: o(() => {
983
+ var t;
984
+ return [
985
+ d(C((t = _.value.created) != null ? t : ""), 1)
986
+ ];
987
+ }),
988
+ _: 1
989
+ }),
990
+ i(s, {
991
+ label: "描述",
992
+ span: 2
993
+ }, {
994
+ default: o(() => {
995
+ var t;
996
+ return [
997
+ d(C((t = _.value.description) != null ? t : ""), 1)
998
+ ];
999
+ }),
1000
+ _: 1
1001
+ })
1002
+ ]),
1003
+ _: 1
1004
+ })) : S("", !0)
1005
+ ])), [
1006
+ [oe, X.value]
1007
+ ])
1008
+ ]),
1009
+ _: 1
1010
+ }, 8, ["modelValue"])
1011
+ ], 64);
1012
+ };
1013
+ }
1014
+ })), Mt = /* @__PURE__ */ lt(yt, [["__scopeId", "data-v-11ad59a3"]]);
1015
+ export {
1016
+ Mt as default
1017
+ };