@openc3/vue-common 6.2.1 → 6.3.0

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 (489) hide show
  1. package/dist/{ArrayWidget-BxEO5hEG.js → ArrayWidget-BbsN1dzF.js} +5 -5
  2. package/dist/{ArrayWidget-BxEO5hEG.js.map → ArrayWidget-BbsN1dzF.js.map} +1 -1
  3. package/dist/{ArrayWidget-BIQi_bWC.cjs → ArrayWidget-DkjHrXsu.cjs} +3 -3
  4. package/dist/{ArrayWidget-BIQi_bWC.cjs.map → ArrayWidget-DkjHrXsu.cjs.map} +1 -1
  5. package/dist/{ArrayplotWidget-B_VPoV4v.js → ArrayplotWidget-CCKEyYIx.js} +4 -4
  6. package/dist/{ArrayplotWidget-B_VPoV4v.js.map → ArrayplotWidget-CCKEyYIx.js.map} +1 -1
  7. package/dist/ArrayplotWidget-COeaK_Lz.cjs +2 -0
  8. package/dist/{ArrayplotWidget-Donxhd8_.cjs.map → ArrayplotWidget-COeaK_Lz.cjs.map} +1 -1
  9. package/dist/{BarColumn-C9dkpg2O.js → BarColumn-C6p07yWK.js} +3 -3
  10. package/dist/{BarColumn-C9dkpg2O.js.map → BarColumn-C6p07yWK.js.map} +1 -1
  11. package/dist/BarColumn-CJLW1nXy.cjs +2 -0
  12. package/dist/{BarColumn-CyRSZHMh.cjs.map → BarColumn-CJLW1nXy.cjs.map} +1 -1
  13. package/dist/BlockWidget-BFVYgbd_.cjs +3 -0
  14. package/dist/{BlockWidget-DPLN1jgj.cjs.map → BlockWidget-BFVYgbd_.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CuefOin6.js → BlockWidget-DlCHbqZX.js} +5 -5
  16. package/dist/{BlockWidget-CuefOin6.js.map → BlockWidget-DlCHbqZX.js.map} +1 -1
  17. package/dist/{ButtonWidget-B6HM0Doo.js → ButtonWidget-CtfJzCBR.js} +15 -15
  18. package/dist/{ButtonWidget-B6HM0Doo.js.map → ButtonWidget-CtfJzCBR.js.map} +1 -1
  19. package/dist/ButtonWidget-HN8UHsme.cjs +3 -0
  20. package/dist/{ButtonWidget-DccYzIY3.cjs.map → ButtonWidget-HN8UHsme.cjs.map} +1 -1
  21. package/dist/CanvasWidget-CHmkxxMO.cjs +2 -0
  22. package/dist/{CanvasWidget-BzTU9rc9.cjs.map → CanvasWidget-CHmkxxMO.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-DZQGG-yQ.js → CanvasWidget-CqRlXc4r.js} +3 -3
  24. package/dist/{CanvasWidget-DZQGG-yQ.js.map → CanvasWidget-CqRlXc4r.js.map} +1 -1
  25. package/dist/{CanvasdotWidget-6wuCSnw_.js → CanvasdotWidget--Xr_KsZs.js} +3 -3
  26. package/dist/{CanvasdotWidget-6wuCSnw_.js.map → CanvasdotWidget--Xr_KsZs.js.map} +1 -1
  27. package/dist/CanvasdotWidget-B4bUcKRc.cjs +2 -0
  28. package/dist/{CanvasdotWidget-B7VTS1QI.cjs.map → CanvasdotWidget-B4bUcKRc.cjs.map} +1 -1
  29. package/dist/CanvasimageWidget-B5YozXoI.cjs +2 -0
  30. package/dist/{CanvasimageWidget-BwYpfmDE.cjs.map → CanvasimageWidget-B5YozXoI.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-mhcPpAuN.js → CanvasimageWidget-BPlj5QYK.js} +4 -4
  32. package/dist/{CanvasimageWidget-mhcPpAuN.js.map → CanvasimageWidget-BPlj5QYK.js.map} +1 -1
  33. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js → CanvasimagevalueWidget-DVFGLt8f.js} +4 -4
  34. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js.map → CanvasimagevalueWidget-DVFGLt8f.js.map} +1 -1
  35. package/dist/CanvasimagevalueWidget-Dx1HnbEw.cjs +2 -0
  36. package/dist/{CanvasimagevalueWidget-E_NsZ82T.cjs.map → CanvasimagevalueWidget-Dx1HnbEw.cjs.map} +1 -1
  37. package/dist/{CanvaslabelWidget-CQZCeohU.js → CanvaslabelWidget-CYNqmyP0.js} +3 -3
  38. package/dist/{CanvaslabelWidget-CQZCeohU.js.map → CanvaslabelWidget-CYNqmyP0.js.map} +1 -1
  39. package/dist/CanvaslabelWidget-DgadQD-D.cjs +2 -0
  40. package/dist/{CanvaslabelWidget-BBDuXWfU.cjs.map → CanvaslabelWidget-DgadQD-D.cjs.map} +1 -1
  41. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js → CanvaslabelvalueWidget-B7yIDmsn.js} +3 -3
  42. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js.map → CanvaslabelvalueWidget-B7yIDmsn.js.map} +1 -1
  43. package/dist/CanvaslabelvalueWidget-C3k5gx5c.cjs +2 -0
  44. package/dist/{CanvaslabelvalueWidget-DAdu7ujn.cjs.map → CanvaslabelvalueWidget-C3k5gx5c.cjs.map} +1 -1
  45. package/dist/{CanvaslineWidget-nTP3fJB4.js → CanvaslineWidget-BICdxX0Q.js} +3 -3
  46. package/dist/{CanvaslineWidget-nTP3fJB4.js.map → CanvaslineWidget-BICdxX0Q.js.map} +1 -1
  47. package/dist/CanvaslineWidget-CYHkes0a.cjs +2 -0
  48. package/dist/{CanvaslineWidget-Bv5da1Vy.cjs.map → CanvaslineWidget-CYHkes0a.cjs.map} +1 -1
  49. package/dist/CanvaslinevalueWidget-5DzhZ22p.cjs +2 -0
  50. package/dist/{CanvaslinevalueWidget-BVfUB96K.cjs.map → CanvaslinevalueWidget-5DzhZ22p.cjs.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js → CanvaslinevalueWidget-Cq-Ddh0P.js} +3 -3
  52. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js.map → CanvaslinevalueWidget-Cq-Ddh0P.js.map} +1 -1
  53. package/dist/{CheckbuttonWidget-5-8YDsQL.js → CheckbuttonWidget-B74AWeaW.js} +3 -3
  54. package/dist/{CheckbuttonWidget-5-8YDsQL.js.map → CheckbuttonWidget-B74AWeaW.js.map} +1 -1
  55. package/dist/CheckbuttonWidget-BCzsXnIF.cjs +2 -0
  56. package/dist/{CheckbuttonWidget-BGqD-BGc.cjs.map → CheckbuttonWidget-BCzsXnIF.cjs.map} +1 -1
  57. package/dist/{ComboboxWidget-DzBL8h9f.js → ComboboxWidget-CtyKbEWb.js} +3 -3
  58. package/dist/{ComboboxWidget-DzBL8h9f.js.map → ComboboxWidget-CtyKbEWb.js.map} +1 -1
  59. package/dist/ComboboxWidget-DQgDyDAC.cjs +2 -0
  60. package/dist/{ComboboxWidget-DoHMlSAr.cjs.map → ComboboxWidget-DQgDyDAC.cjs.map} +1 -1
  61. package/dist/CriticalCmdDialog-BnxZlt7W.cjs +2 -0
  62. package/dist/{CriticalCmdDialog-DoLBrU2k.cjs.map → CriticalCmdDialog-BnxZlt7W.cjs.map} +1 -1
  63. package/dist/{CriticalCmdDialog-DLEasFsx.js → CriticalCmdDialog-DPIZOBeP.js} +4 -4
  64. package/dist/{CriticalCmdDialog-DLEasFsx.js.map → CriticalCmdDialog-DPIZOBeP.js.map} +1 -1
  65. package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
  66. package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
  67. package/dist/CustomIcon-h5X7369N.js +50 -0
  68. package/dist/CustomIcon-h5X7369N.js.map +1 -0
  69. package/dist/DateWidget-BB4cIuUS.cjs +2 -0
  70. package/dist/{DateWidget-DKZz1J9J.cjs.map → DateWidget-BB4cIuUS.cjs.map} +1 -1
  71. package/dist/{DateWidget-CW7Od7lB.js → DateWidget-BEVSczU8.js} +3 -3
  72. package/dist/{DateWidget-CW7Od7lB.js.map → DateWidget-BEVSczU8.js.map} +1 -1
  73. package/dist/{DetailsDialog-BvbziA7Y.js → DetailsDialog-DmEC5BTs.js} +6 -6
  74. package/dist/{DetailsDialog-BvbziA7Y.js.map → DetailsDialog-DmEC5BTs.js.map} +1 -1
  75. package/dist/DetailsDialog-mvxMFmgV.cjs +2 -0
  76. package/dist/{DetailsDialog-CiuQYvJK.cjs.map → DetailsDialog-mvxMFmgV.cjs.map} +1 -1
  77. package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
  78. package/dist/{DynamicWidget-3wHr6Ng-.cjs.map → DynamicWidget-BWEVCUfd.cjs.map} +1 -1
  79. package/dist/{DynamicWidget-gFSYxzvT.js → DynamicWidget-CfMtj7H8.js} +2 -2
  80. package/dist/{DynamicWidget-gFSYxzvT.js.map → DynamicWidget-CfMtj7H8.js.map} +1 -1
  81. package/dist/EventListDialog-BHZLl28V.cjs +2 -0
  82. package/dist/EventListDialog-BHZLl28V.cjs.map +1 -0
  83. package/dist/EventListDialog-CSMSmCIT.js +1586 -0
  84. package/dist/EventListDialog-CSMSmCIT.js.map +1 -0
  85. package/dist/FormatvalueWidget-CdjCEAI7.cjs +2 -0
  86. package/dist/{FormatvalueWidget-DFrbeKb9.cjs.map → FormatvalueWidget-CdjCEAI7.cjs.map} +1 -1
  87. package/dist/{FormatvalueWidget-CGpnTqVH.js → FormatvalueWidget-DN12xymS.js} +4 -4
  88. package/dist/{FormatvalueWidget-CGpnTqVH.js.map → FormatvalueWidget-DN12xymS.js.map} +1 -1
  89. package/dist/{Graph-3rkhFP3G.js → Graph-Bgo0cjl3.js} +214 -209
  90. package/dist/Graph-Bgo0cjl3.js.map +1 -0
  91. package/dist/Graph-Ujd2yaeI.cjs +2 -0
  92. package/dist/Graph-Ujd2yaeI.cjs.map +1 -0
  93. package/dist/{GraphWidget-Dycey-mj.js → GraphWidget-DurWDmpg.js} +2 -2
  94. package/dist/{GraphWidget-Dycey-mj.js.map → GraphWidget-DurWDmpg.js.map} +1 -1
  95. package/dist/{GraphWidget-22NxFa9k.cjs → GraphWidget-sid4Ws9H.cjs} +2 -2
  96. package/dist/{GraphWidget-22NxFa9k.cjs.map → GraphWidget-sid4Ws9H.cjs.map} +1 -1
  97. package/dist/{HorizontalWidget-D31NRWy5.js → HorizontalWidget-Cd_wl1b3.js} +3 -3
  98. package/dist/{HorizontalWidget-D31NRWy5.js.map → HorizontalWidget-Cd_wl1b3.js.map} +1 -1
  99. package/dist/HorizontalWidget-_6IR0cR8.cjs +2 -0
  100. package/dist/{HorizontalWidget-BBeB0eBI.cjs.map → HorizontalWidget-_6IR0cR8.cjs.map} +1 -1
  101. package/dist/HorizontalboxWidget-BcMTFBU-.js +47 -0
  102. package/dist/HorizontalboxWidget-BcMTFBU-.js.map +1 -0
  103. package/dist/HorizontalboxWidget-zmnurtv1.cjs +2 -0
  104. package/dist/HorizontalboxWidget-zmnurtv1.cjs.map +1 -0
  105. package/dist/HorizontallineWidget-CM-6WqCj.cjs +2 -0
  106. package/dist/{HorizontallineWidget-BCKOQase.cjs.map → HorizontallineWidget-CM-6WqCj.cjs.map} +1 -1
  107. package/dist/HorizontallineWidget-CXFqHclf.js +16 -0
  108. package/dist/{HorizontallineWidget-CbxREBYI.js.map → HorizontallineWidget-CXFqHclf.js.map} +1 -1
  109. package/dist/{IframeWidget-Ctj8OIcG.js → IframeWidget-BPerHCCa.js} +3 -3
  110. package/dist/{IframeWidget-Ctj8OIcG.js.map → IframeWidget-BPerHCCa.js.map} +1 -1
  111. package/dist/IframeWidget-EhncMob0.cjs +2 -0
  112. package/dist/{IframeWidget-CZwsTgvX.cjs.map → IframeWidget-EhncMob0.cjs.map} +1 -1
  113. package/dist/{ImageLoader-BrNrCBvi.js → ImageLoader-4N-7Gj61.js} +2 -2
  114. package/dist/{ImageLoader-BrNrCBvi.js.map → ImageLoader-4N-7Gj61.js.map} +1 -1
  115. package/dist/ImageLoader-cRmBcpU9.cjs +2 -0
  116. package/dist/{ImageLoader-D_Gq-KxR.cjs.map → ImageLoader-cRmBcpU9.cjs.map} +1 -1
  117. package/dist/ImageviewerWidget-Bv3CreXd.cjs +2 -0
  118. package/dist/{ImageviewerWidget-DwRPFSLR.cjs.map → ImageviewerWidget-Bv3CreXd.cjs.map} +1 -1
  119. package/dist/{ImageviewerWidget-XrsqxmLo.js → ImageviewerWidget-Cw_H_HmZ.js} +3 -3
  120. package/dist/{ImageviewerWidget-XrsqxmLo.js.map → ImageviewerWidget-Cw_H_HmZ.js.map} +1 -1
  121. package/dist/{InterfacesTab-DAeNlGlB.js → InterfacesTab-B4glsR9Z.js} +4 -4
  122. package/dist/{InterfacesTab-DAeNlGlB.js.map → InterfacesTab-B4glsR9Z.js.map} +1 -1
  123. package/dist/InterfacesTab-Co1Kd6Fa.cjs +2 -0
  124. package/dist/{InterfacesTab-CLaicsHA.cjs.map → InterfacesTab-Co1Kd6Fa.cjs.map} +1 -1
  125. package/dist/LabelWidget-mMcf5S8K.cjs +2 -0
  126. package/dist/LabelWidget-mMcf5S8K.cjs.map +1 -0
  127. package/dist/{LabelWidget-t7I87dp7.js → LabelWidget-xrmcVeq8.js} +5 -5
  128. package/dist/LabelWidget-xrmcVeq8.js.map +1 -0
  129. package/dist/LabelledWidget-BoYCuDaH.cjs +2 -0
  130. package/dist/{LabelledWidget-DUpHxc9z.cjs.map → LabelledWidget-BoYCuDaH.cjs.map} +1 -1
  131. package/dist/{LabelledWidget-C7TDf92M.js → LabelledWidget-D48QoyMk.js} +5 -5
  132. package/dist/{LabelledWidget-C7TDf92M.js.map → LabelledWidget-D48QoyMk.js.map} +1 -1
  133. package/dist/{LabelprogressbarWidget-wwLURt1u.js → LabelprogressbarWidget-C_950t6g.js} +5 -5
  134. package/dist/{LabelprogressbarWidget-wwLURt1u.js.map → LabelprogressbarWidget-C_950t6g.js.map} +1 -1
  135. package/dist/LabelprogressbarWidget-DiucKsT2.cjs +2 -0
  136. package/dist/{LabelprogressbarWidget-D6cpayCR.cjs.map → LabelprogressbarWidget-DiucKsT2.cjs.map} +1 -1
  137. package/dist/{LabelsparklineWidget-B3awLUyP.js → LabelsparklineWidget-0KXQyPoU.js} +5 -5
  138. package/dist/{LabelsparklineWidget-B3awLUyP.js.map → LabelsparklineWidget-0KXQyPoU.js.map} +1 -1
  139. package/dist/LabelsparklineWidget-A3MTEhQc.cjs +2 -0
  140. package/dist/{LabelsparklineWidget-CJRnLETe.cjs.map → LabelsparklineWidget-A3MTEhQc.cjs.map} +1 -1
  141. package/dist/{LabelvalueWidget-Zx_yHCtl.js → LabelvalueWidget-CQ06wWDK.js} +5 -5
  142. package/dist/{LabelvalueWidget-Zx_yHCtl.js.map → LabelvalueWidget-CQ06wWDK.js.map} +1 -1
  143. package/dist/LabelvalueWidget-DnKoz0-N.cjs +2 -0
  144. package/dist/{LabelvalueWidget-owiMSCYl.cjs.map → LabelvalueWidget-DnKoz0-N.cjs.map} +1 -1
  145. package/dist/{LabelvaluedescWidget-BBSBh4vI.js → LabelvaluedescWidget-Bo8zT01X.js} +6 -6
  146. package/dist/{LabelvaluedescWidget-BBSBh4vI.js.map → LabelvaluedescWidget-Bo8zT01X.js.map} +1 -1
  147. package/dist/LabelvaluedescWidget-I6ljK--Y.cjs +2 -0
  148. package/dist/{LabelvaluedescWidget-MRmZBUc0.cjs.map → LabelvaluedescWidget-I6ljK--Y.cjs.map} +1 -1
  149. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js → LabelvaluelimitsbarWidget-BucTw8Yk.js} +5 -5
  150. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js.map → LabelvaluelimitsbarWidget-BucTw8Yk.js.map} +1 -1
  151. package/dist/LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs +2 -0
  152. package/dist/{LabelvaluelimitsbarWidget-BQ2XYPNE.cjs.map → LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs.map} +1 -1
  153. package/dist/LabelvaluelimitscolumnWidget-ClY5OxUC.cjs +2 -0
  154. package/dist/{LabelvaluelimitscolumnWidget-DNmVpU8J.cjs.map → LabelvaluelimitscolumnWidget-ClY5OxUC.cjs.map} +1 -1
  155. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js → LabelvaluelimitscolumnWidget-Dflb1hNd.js} +6 -6
  156. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js.map → LabelvaluelimitscolumnWidget-Dflb1hNd.js.map} +1 -1
  157. package/dist/LabelvaluerangebarWidget-9S5rVZaS.cjs +2 -0
  158. package/dist/{LabelvaluerangebarWidget-DL0U8cbw.cjs.map → LabelvaluerangebarWidget-9S5rVZaS.cjs.map} +1 -1
  159. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js → LabelvaluerangebarWidget-D8cbfXFM.js} +5 -5
  160. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js.map → LabelvaluerangebarWidget-D8cbfXFM.js.map} +1 -1
  161. package/dist/Layout-DuCYyOw4.cjs +2 -0
  162. package/dist/{Layout-DRL0EeSA.cjs.map → Layout-DuCYyOw4.cjs.map} +1 -1
  163. package/dist/{Layout-Bh7VzCZd.js → Layout-Tf--nruw.js} +2 -2
  164. package/dist/{Layout-Bh7VzCZd.js.map → Layout-Tf--nruw.js.map} +1 -1
  165. package/dist/LedWidget-B2BcwiYF.cjs +2 -0
  166. package/dist/LedWidget-B2BcwiYF.cjs.map +1 -0
  167. package/dist/LedWidget-qH_FthkK.js +145 -0
  168. package/dist/LedWidget-qH_FthkK.js.map +1 -0
  169. package/dist/{LimitsbarWidget-Djui0IpK.js → LimitsbarWidget-B9lAB2RD.js} +3 -3
  170. package/dist/{LimitsbarWidget-Djui0IpK.js.map → LimitsbarWidget-B9lAB2RD.js.map} +1 -1
  171. package/dist/LimitsbarWidget-CVCLFIhG.cjs +2 -0
  172. package/dist/{LimitsbarWidget-CYIH8fdp.cjs.map → LimitsbarWidget-CVCLFIhG.cjs.map} +1 -1
  173. package/dist/LimitscolorWidget-DORhDxRo.cjs +2 -0
  174. package/dist/{LimitscolorWidget-CS0wpX9A.cjs.map → LimitscolorWidget-DORhDxRo.cjs.map} +1 -1
  175. package/dist/{LimitscolorWidget-DdmvKzmx.js → LimitscolorWidget-c6Qa6su7.js} +3 -3
  176. package/dist/{LimitscolorWidget-DdmvKzmx.js.map → LimitscolorWidget-c6Qa6su7.js.map} +1 -1
  177. package/dist/LimitscolumnWidget-C9Uyg7Fh.cjs +2 -0
  178. package/dist/{LimitscolumnWidget-C_UW6xKq.cjs.map → LimitscolumnWidget-C9Uyg7Fh.cjs.map} +1 -1
  179. package/dist/{LimitscolumnWidget-Cc19IEjq.js → LimitscolumnWidget-CcLs_443.js} +3 -3
  180. package/dist/{LimitscolumnWidget-Cc19IEjq.js.map → LimitscolumnWidget-CcLs_443.js.map} +1 -1
  181. package/dist/{LinegraphWidget-BtieJxeL.js → LinegraphWidget-BSVYLFo1.js} +5 -5
  182. package/dist/{LinegraphWidget-BtieJxeL.js.map → LinegraphWidget-BSVYLFo1.js.map} +1 -1
  183. package/dist/LinegraphWidget-Bf8DIwEn.cjs +2 -0
  184. package/dist/{LinegraphWidget-8td_PqgU.cjs.map → LinegraphWidget-Bf8DIwEn.cjs.map} +1 -1
  185. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js → MatrixbycolumnsWidget-DXFpZTre.js} +4 -4
  186. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js.map → MatrixbycolumnsWidget-DXFpZTre.js.map} +1 -1
  187. package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs +2 -0
  188. package/dist/{MatrixbycolumnsWidget-CGOeCNW2.cjs.map → MatrixbycolumnsWidget-DpdFzNeP.cjs.map} +1 -1
  189. package/dist/MicroservicesTab-B5n-mN8G.cjs +2 -0
  190. package/dist/MicroservicesTab-B5n-mN8G.cjs.map +1 -0
  191. package/dist/{MicroservicesTab-IbTmbPxO.js → MicroservicesTab-mCdS0v39.js} +17 -21
  192. package/dist/MicroservicesTab-mCdS0v39.js.map +1 -0
  193. package/dist/Openc3Screen-BYhHaH_I.cjs +5 -0
  194. package/dist/Openc3Screen-BYhHaH_I.cjs.map +1 -0
  195. package/dist/Openc3Screen-Cud0OCFu.js +1789 -0
  196. package/dist/Openc3Screen-Cud0OCFu.js.map +1 -0
  197. package/dist/{OutputDialog-B4Q0QMJ1.cjs → OutputDialog-DXoL9VPw.cjs} +2 -2
  198. package/dist/OutputDialog-DXoL9VPw.cjs.map +1 -0
  199. package/dist/{OutputDialog-Ci5OT_fH.js → OutputDialog-zVPZiZay.js} +3 -6
  200. package/dist/OutputDialog-zVPZiZay.js.map +1 -0
  201. package/dist/PackagesTab-CvT2JyMA.cjs +2 -0
  202. package/dist/{PackagesTab-eYbk2vw7.cjs.map → PackagesTab-CvT2JyMA.cjs.map} +1 -1
  203. package/dist/{PackagesTab-BX8YP3H1.js → PackagesTab-SWcXumpK.js} +4 -4
  204. package/dist/{PackagesTab-BX8YP3H1.js.map → PackagesTab-SWcXumpK.js.map} +1 -1
  205. package/dist/{PluginsTab-Ds3jk64b.js → PluginsTab-B64OvayB.js} +4 -4
  206. package/dist/{PluginsTab-Ds3jk64b.js.map → PluginsTab-B64OvayB.js.map} +1 -1
  207. package/dist/{PluginsTab-Ck3DvEGm.cjs → PluginsTab-CfpwWsqv.cjs} +4 -4
  208. package/dist/{PluginsTab-Ck3DvEGm.cjs.map → PluginsTab-CfpwWsqv.cjs.map} +1 -1
  209. package/dist/ProgressbarWidget-fGWa6ipm.cjs +2 -0
  210. package/dist/{ProgressbarWidget-CUIAYySg.cjs.map → ProgressbarWidget-fGWa6ipm.cjs.map} +1 -1
  211. package/dist/{ProgressbarWidget-DIfqhHRE.js → ProgressbarWidget-iYGw8-Dc.js} +3 -3
  212. package/dist/{ProgressbarWidget-DIfqhHRE.js.map → ProgressbarWidget-iYGw8-Dc.js.map} +1 -1
  213. package/dist/RadiobuttonWidget-ZEPJbOp_.cjs +2 -0
  214. package/dist/{RadiobuttonWidget-Cjk1JAP_.cjs.map → RadiobuttonWidget-ZEPJbOp_.cjs.map} +1 -1
  215. package/dist/{RadiobuttonWidget-QzIkNP7m.js → RadiobuttonWidget-ytmoVZ3u.js} +3 -3
  216. package/dist/{RadiobuttonWidget-QzIkNP7m.js.map → RadiobuttonWidget-ytmoVZ3u.js.map} +1 -1
  217. package/dist/{RadiogroupWidget-Ci9sCX39.js → RadiogroupWidget-CusMBhKH.js} +3 -3
  218. package/dist/{RadiogroupWidget-Ci9sCX39.js.map → RadiogroupWidget-CusMBhKH.js.map} +1 -1
  219. package/dist/RadiogroupWidget-EK4rEGUC.cjs +2 -0
  220. package/dist/{RadiogroupWidget-B4lkYWaC.cjs.map → RadiogroupWidget-EK4rEGUC.cjs.map} +1 -1
  221. package/dist/{RangebarWidget-CN0YuHqy.js → RangebarWidget-D_zGTtCa.js} +3 -3
  222. package/dist/{RangebarWidget-CN0YuHqy.js.map → RangebarWidget-D_zGTtCa.js.map} +1 -1
  223. package/dist/RangebarWidget-DwIs-L5k.cjs +2 -0
  224. package/dist/{RangebarWidget-nl0rzj93.cjs.map → RangebarWidget-DwIs-L5k.cjs.map} +1 -1
  225. package/dist/RedisTab-67UcKoPf.cjs +2 -0
  226. package/dist/{RedisTab-DhS4GHDj.cjs.map → RedisTab-67UcKoPf.cjs.map} +1 -1
  227. package/dist/{RedisTab-CVimDkIE.js → RedisTab-CyPo6ADN.js} +14 -14
  228. package/dist/{RedisTab-CVimDkIE.js.map → RedisTab-CyPo6ADN.js.map} +1 -1
  229. package/dist/RollupWidget-DC3OIP6G.cjs +2 -0
  230. package/dist/{RollupWidget-Bgudi_bt.cjs.map → RollupWidget-DC3OIP6G.cjs.map} +1 -1
  231. package/dist/{RollupWidget-y4jBtJB2.js → RollupWidget-Dolsixyt.js} +3 -3
  232. package/dist/{RollupWidget-y4jBtJB2.js.map → RollupWidget-Dolsixyt.js.map} +1 -1
  233. package/dist/RoutersTab-BBPlFi_z.cjs +2 -0
  234. package/dist/{RoutersTab-CzO10cVP.cjs.map → RoutersTab-BBPlFi_z.cjs.map} +1 -1
  235. package/dist/{RoutersTab-Dki_66av.js → RoutersTab-Cs2dFVNA.js} +4 -4
  236. package/dist/{RoutersTab-Dki_66av.js.map → RoutersTab-Cs2dFVNA.js.map} +1 -1
  237. package/dist/{ScriptChooser-l5i8c8KP.js → ScriptChooser-EV65rbWx.js} +3 -3
  238. package/dist/{ScriptChooser-l5i8c8KP.js.map → ScriptChooser-EV65rbWx.js.map} +1 -1
  239. package/dist/ScriptChooser-vyZwngrz.cjs +2 -0
  240. package/dist/{ScriptChooser-BNm_zXxX.cjs.map → ScriptChooser-vyZwngrz.cjs.map} +1 -1
  241. package/dist/ScrollwindowWidget-BWeqSUPc.cjs +2 -0
  242. package/dist/{ScrollwindowWidget-BIiV7xwi.cjs.map → ScrollwindowWidget-BWeqSUPc.cjs.map} +1 -1
  243. package/dist/{ScrollwindowWidget-CBzYk4Y3.js → ScrollwindowWidget-DV2nZuNi.js} +4 -4
  244. package/dist/{ScrollwindowWidget-CBzYk4Y3.js.map → ScrollwindowWidget-DV2nZuNi.js.map} +1 -1
  245. package/dist/SecretsTab-0IFqUxNJ.cjs +2 -0
  246. package/dist/{SecretsTab-BSzFZ81X.cjs.map → SecretsTab-0IFqUxNJ.cjs.map} +1 -1
  247. package/dist/{SecretsTab-BjviaTxh.js → SecretsTab-DVyyyGlG.js} +3 -3
  248. package/dist/{SecretsTab-BjviaTxh.js.map → SecretsTab-DVyyyGlG.js.map} +1 -1
  249. package/dist/SettingsTab-B1LvOLG2.cjs +3 -0
  250. package/dist/SettingsTab-B1LvOLG2.cjs.map +1 -0
  251. package/dist/{SettingsTab-Bo_dYXgb.js → SettingsTab-g29K6FyC.js} +198 -135
  252. package/dist/SettingsTab-g29K6FyC.js.map +1 -0
  253. package/dist/SignalWidget-RvRwpE8T.cjs +2 -0
  254. package/dist/{SignalWidget-CvZkvejy.cjs.map → SignalWidget-RvRwpE8T.cjs.map} +1 -1
  255. package/dist/{SignalWidget-DQ5Uc2uV.js → SignalWidget-d9-6h85k.js} +3 -3
  256. package/dist/{SignalWidget-DQ5Uc2uV.js.map → SignalWidget-d9-6h85k.js.map} +1 -1
  257. package/dist/SimpleTextDialog-Cpbt7Q-8.cjs +2 -0
  258. package/dist/{SimpleTextDialog-DmeNMMCR.cjs.map → SimpleTextDialog-Cpbt7Q-8.cjs.map} +1 -1
  259. package/dist/{SimpleTextDialog-CheuP_ls.js → SimpleTextDialog-pwN8oRy1.js} +9 -10
  260. package/dist/{SimpleTextDialog-CheuP_ls.js.map → SimpleTextDialog-pwN8oRy1.js.map} +1 -1
  261. package/dist/SpacerWidget-7_8bpLCb.cjs +2 -0
  262. package/dist/{SpacerWidget-BBJR6HBQ.cjs.map → SpacerWidget-7_8bpLCb.cjs.map} +1 -1
  263. package/dist/{SpacerWidget-6rsc_dSM.js → SpacerWidget-BH0p2OLi.js} +3 -3
  264. package/dist/{SpacerWidget-6rsc_dSM.js.map → SpacerWidget-BH0p2OLi.js.map} +1 -1
  265. package/dist/SparklineWidget-60jVlbHA.cjs +2 -0
  266. package/dist/{SparklineWidget-BxBLnjAO.cjs.map → SparklineWidget-60jVlbHA.cjs.map} +1 -1
  267. package/dist/{SparklineWidget-CZtvu2ss.js → SparklineWidget-coxi9r2g.js} +5 -5
  268. package/dist/{SparklineWidget-CZtvu2ss.js.map → SparklineWidget-coxi9r2g.js.map} +1 -1
  269. package/dist/{TabbookWidget-DNALU0jl.js → TabbookWidget-B1XKplGH.js} +3 -3
  270. package/dist/{TabbookWidget-DNALU0jl.js.map → TabbookWidget-B1XKplGH.js.map} +1 -1
  271. package/dist/TabbookWidget-D1CVT9IK.cjs +2 -0
  272. package/dist/{TabbookWidget-DyFQnA10.cjs.map → TabbookWidget-D1CVT9IK.cjs.map} +1 -1
  273. package/dist/{TargetsTab-Cd8U1aN_.js → TargetsTab-BkBkXn9A.js} +12 -12
  274. package/dist/{TargetsTab-Cd8U1aN_.js.map → TargetsTab-BkBkXn9A.js.map} +1 -1
  275. package/dist/TargetsTab-C-m26Eqq.cjs +2 -0
  276. package/dist/{TargetsTab-DMiOliqg.cjs.map → TargetsTab-C-m26Eqq.cjs.map} +1 -1
  277. package/dist/{TextBoxDialog-fHkDTtzI.js → TextBoxDialog-DOJ5d2RM.js} +2 -2
  278. package/dist/{TextBoxDialog-fHkDTtzI.js.map → TextBoxDialog-DOJ5d2RM.js.map} +1 -1
  279. package/dist/TextBoxDialog-DfMXg_5C.cjs +2 -0
  280. package/dist/{TextBoxDialog-DvUf3Cak.cjs.map → TextBoxDialog-DfMXg_5C.cjs.map} +1 -1
  281. package/dist/TextboxWidget-BDG4NxRw.cjs +2 -0
  282. package/dist/{TextboxWidget-D6lW_dsU.cjs.map → TextboxWidget-BDG4NxRw.cjs.map} +1 -1
  283. package/dist/{TextboxWidget-5hqPj74D.js → TextboxWidget-C-_M2M4l.js} +5 -5
  284. package/dist/{TextboxWidget-5hqPj74D.js.map → TextboxWidget-C-_M2M4l.js.map} +1 -1
  285. package/dist/TextfieldWidget-BGJv9Lox.cjs +2 -0
  286. package/dist/{TextfieldWidget-iHN7-fyF.cjs.map → TextfieldWidget-BGJv9Lox.cjs.map} +1 -1
  287. package/dist/{TextfieldWidget-Df0ANSiU.js → TextfieldWidget-C08N4JE8.js} +3 -3
  288. package/dist/{TextfieldWidget-Df0ANSiU.js.map → TextfieldWidget-C08N4JE8.js.map} +1 -1
  289. package/dist/TimeWidget-CGCOIouj.cjs +2 -0
  290. package/dist/{TimeWidget-C3NZqTEG.cjs.map → TimeWidget-CGCOIouj.cjs.map} +1 -1
  291. package/dist/{TimeWidget-C6XQMUG2.js → TimeWidget-DtwdEcFg.js} +3 -3
  292. package/dist/{TimeWidget-C6XQMUG2.js.map → TimeWidget-DtwdEcFg.js.map} +1 -1
  293. package/dist/TitleWidget-BljFH9RB.cjs +2 -0
  294. package/dist/{TitleWidget-CWZs33c4.cjs.map → TitleWidget-BljFH9RB.cjs.map} +1 -1
  295. package/dist/{TitleWidget-B9SPUlbW.js → TitleWidget-CT-aLcNb.js} +3 -3
  296. package/dist/{TitleWidget-B9SPUlbW.js.map → TitleWidget-CT-aLcNb.js.map} +1 -1
  297. package/dist/{ToolsTab-Cgpb2nAW.js → ToolsTab-NveeVXz2.js} +4 -4
  298. package/dist/{ToolsTab-Cgpb2nAW.js.map → ToolsTab-NveeVXz2.js.map} +1 -1
  299. package/dist/{ToolsTab-CUpUmkZL.cjs → ToolsTab-RMTst_Sy.cjs} +3 -3
  300. package/dist/{ToolsTab-CUpUmkZL.cjs.map → ToolsTab-RMTst_Sy.cjs.map} +1 -1
  301. package/dist/{TopBar-F1jHuFan.js → TopBar-CnJNNJlV.js} +104 -74
  302. package/dist/TopBar-CnJNNJlV.js.map +1 -0
  303. package/dist/TopBar-Cnmb6DyC.cjs +2 -0
  304. package/dist/TopBar-Cnmb6DyC.cjs.map +1 -0
  305. package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js → UpgradeToEnterpriseDialog-BvfgoNB1.js} +9 -10
  306. package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js.map → UpgradeToEnterpriseDialog-BvfgoNB1.js.map} +1 -1
  307. package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs +2 -0
  308. package/dist/{UpgradeToEnterpriseDialog-DfIKahNK.cjs.map → UpgradeToEnterpriseDialog-sUipOVpB.cjs.map} +1 -1
  309. package/dist/{VWidget-C2x_zSC2.cjs → VWidget-2N2cOosI.cjs} +2 -2
  310. package/dist/{VWidget-C2x_zSC2.cjs.map → VWidget-2N2cOosI.cjs.map} +1 -1
  311. package/dist/{VWidget-C4spAawK.js → VWidget-DQqb7NVW.js} +2 -2
  312. package/dist/{VWidget-C4spAawK.js.map → VWidget-DQqb7NVW.js.map} +1 -1
  313. package/dist/{ValueWidget-D4RrYVEK.js → ValueWidget-C6RanBj3.js} +5 -5
  314. package/dist/{ValueWidget-D4RrYVEK.js.map → ValueWidget-C6RanBj3.js.map} +1 -1
  315. package/dist/ValueWidget-Cu7hgKja.cjs +2 -0
  316. package/dist/{ValueWidget-Do3Yn47P.cjs.map → ValueWidget-Cu7hgKja.cjs.map} +1 -1
  317. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js → ValuelimitsbarWidget-B3bvjfxc.js} +5 -5
  318. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js.map → ValuelimitsbarWidget-B3bvjfxc.js.map} +1 -1
  319. package/dist/ValuelimitsbarWidget-C0HROxrb.cjs +2 -0
  320. package/dist/{ValuelimitsbarWidget-DJuh7FOs.cjs.map → ValuelimitsbarWidget-C0HROxrb.cjs.map} +1 -1
  321. package/dist/ValuelimitscolumnWidget-CWvLfg8u.cjs +2 -0
  322. package/dist/{ValuelimitscolumnWidget-BFpG-H7v.cjs.map → ValuelimitscolumnWidget-CWvLfg8u.cjs.map} +1 -1
  323. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js → ValuelimitscolumnWidget-QvhI6EcE.js} +5 -5
  324. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js.map → ValuelimitscolumnWidget-QvhI6EcE.js.map} +1 -1
  325. package/dist/{ValuerangebarWidget-CecQRIok.js → ValuerangebarWidget-Dt3K9BnC.js} +5 -5
  326. package/dist/{ValuerangebarWidget-CecQRIok.js.map → ValuerangebarWidget-Dt3K9BnC.js.map} +1 -1
  327. package/dist/ValuerangebarWidget-DyN78cQl.cjs +2 -0
  328. package/dist/{ValuerangebarWidget-BlZSaiXo.cjs.map → ValuerangebarWidget-DyN78cQl.cjs.map} +1 -1
  329. package/dist/{VerticalWidget-D8jUFxjS.js → VerticalWidget-BIIViZgI.js} +3 -3
  330. package/dist/{VerticalWidget-D8jUFxjS.js.map → VerticalWidget-BIIViZgI.js.map} +1 -1
  331. package/dist/VerticalWidget-CFTOu4H8.cjs +2 -0
  332. package/dist/{VerticalWidget--8UErB4q.cjs.map → VerticalWidget-CFTOu4H8.cjs.map} +1 -1
  333. package/dist/VerticalboxWidget-DY72fLHW.js +46 -0
  334. package/dist/VerticalboxWidget-DY72fLHW.js.map +1 -0
  335. package/dist/VerticalboxWidget-Z8-DWI8t.cjs +2 -0
  336. package/dist/VerticalboxWidget-Z8-DWI8t.cjs.map +1 -0
  337. package/dist/Widget-ChoIB2dd.cjs +2 -0
  338. package/dist/{Widget-DNf52jRQ.cjs.map → Widget-ChoIB2dd.cjs.map} +1 -1
  339. package/dist/{Widget-fRCERxGf.js → Widget-oyqWpFXJ.js} +18 -18
  340. package/dist/{Widget-fRCERxGf.js.map → Widget-oyqWpFXJ.js.map} +1 -1
  341. package/dist/WidgetComponents-C1lSLZ0I.js +30205 -0
  342. package/dist/WidgetComponents-C1lSLZ0I.js.map +1 -0
  343. package/dist/WidgetComponents-utpQ592X.cjs +1493 -0
  344. package/dist/WidgetComponents-utpQ592X.cjs.map +1 -0
  345. package/dist/components.cjs +3 -6
  346. package/dist/components.cjs.map +1 -1
  347. package/dist/components.js +372 -1966
  348. package/dist/components.js.map +1 -1
  349. package/dist/icons.cjs +1 -1
  350. package/dist/icons.cjs.map +1 -1
  351. package/dist/icons.js +59 -52
  352. package/dist/icons.js.map +1 -1
  353. package/dist/index-BX05anye.cjs +7 -0
  354. package/dist/index-BX05anye.cjs.map +1 -0
  355. package/dist/{index-CFQnWdPA.js → index-DwP8ryNM.js} +385 -396
  356. package/dist/index-DwP8ryNM.js.map +1 -0
  357. package/dist/plugins.cjs +4 -4
  358. package/dist/plugins.cjs.map +1 -1
  359. package/dist/plugins.js +71 -67
  360. package/dist/plugins.js.map +1 -1
  361. package/dist/tools/admin.cjs +7 -7
  362. package/dist/tools/admin.cjs.map +1 -1
  363. package/dist/tools/admin.js +824 -744
  364. package/dist/tools/admin.js.map +1 -1
  365. package/dist/tools/base.cjs +1 -1
  366. package/dist/tools/base.cjs.map +1 -1
  367. package/dist/tools/base.js +10 -16
  368. package/dist/tools/base.js.map +1 -1
  369. package/dist/tools/calendar.cjs +1 -1
  370. package/dist/tools/calendar.cjs.map +1 -1
  371. package/dist/tools/calendar.js +9 -1583
  372. package/dist/tools/calendar.js.map +1 -1
  373. package/dist/tools/scriptrunner.cjs +86 -0
  374. package/dist/tools/scriptrunner.cjs.map +1 -0
  375. package/dist/tools/scriptrunner.js +4564 -0
  376. package/dist/tools/scriptrunner.js.map +1 -0
  377. package/dist/vue-common.css +1 -1
  378. package/dist/widgets.cjs +1 -1
  379. package/dist/widgets.js +64 -64
  380. package/package.json +20 -15
  381. package/dist/ArrayplotWidget-Donxhd8_.cjs +0 -2
  382. package/dist/BarColumn-CyRSZHMh.cjs +0 -2
  383. package/dist/BlockWidget-DPLN1jgj.cjs +0 -3
  384. package/dist/ButtonWidget-DccYzIY3.cjs +0 -3
  385. package/dist/CanvasWidget-BzTU9rc9.cjs +0 -2
  386. package/dist/CanvasdotWidget-B7VTS1QI.cjs +0 -2
  387. package/dist/CanvasimageWidget-BwYpfmDE.cjs +0 -2
  388. package/dist/CanvasimagevalueWidget-E_NsZ82T.cjs +0 -2
  389. package/dist/CanvaslabelWidget-BBDuXWfU.cjs +0 -2
  390. package/dist/CanvaslabelvalueWidget-DAdu7ujn.cjs +0 -2
  391. package/dist/CanvaslineWidget-Bv5da1Vy.cjs +0 -2
  392. package/dist/CanvaslinevalueWidget-BVfUB96K.cjs +0 -2
  393. package/dist/CheckbuttonWidget-BGqD-BGc.cjs +0 -2
  394. package/dist/ComboboxWidget-DoHMlSAr.cjs +0 -2
  395. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs +0 -2
  396. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs.map +0 -1
  397. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js +0 -10
  398. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js.map +0 -1
  399. package/dist/CriticalCmdDialog-DoLBrU2k.cjs +0 -2
  400. package/dist/DateWidget-DKZz1J9J.cjs +0 -2
  401. package/dist/DetailsDialog-CiuQYvJK.cjs +0 -2
  402. package/dist/DynamicWidget-3wHr6Ng-.cjs +0 -2
  403. package/dist/FormatvalueWidget-DFrbeKb9.cjs +0 -2
  404. package/dist/Graph-3rkhFP3G.js.map +0 -1
  405. package/dist/Graph-C3vGMcos.cjs +0 -2
  406. package/dist/Graph-C3vGMcos.cjs.map +0 -1
  407. package/dist/HorizontalWidget-BBeB0eBI.cjs +0 -2
  408. package/dist/HorizontalboxWidget-Br8dSVHD.js +0 -38
  409. package/dist/HorizontalboxWidget-Br8dSVHD.js.map +0 -1
  410. package/dist/HorizontalboxWidget-DsdzrCJx.cjs +0 -2
  411. package/dist/HorizontalboxWidget-DsdzrCJx.cjs.map +0 -1
  412. package/dist/HorizontallineWidget-BCKOQase.cjs +0 -2
  413. package/dist/HorizontallineWidget-CbxREBYI.js +0 -11
  414. package/dist/IframeWidget-CZwsTgvX.cjs +0 -2
  415. package/dist/ImageLoader-D_Gq-KxR.cjs +0 -2
  416. package/dist/ImageviewerWidget-DwRPFSLR.cjs +0 -2
  417. package/dist/InterfacesTab-CLaicsHA.cjs +0 -2
  418. package/dist/LabelWidget-C-s8OVmA.cjs +0 -2
  419. package/dist/LabelWidget-C-s8OVmA.cjs.map +0 -1
  420. package/dist/LabelWidget-t7I87dp7.js.map +0 -1
  421. package/dist/LabelledWidget-DUpHxc9z.cjs +0 -2
  422. package/dist/LabelprogressbarWidget-D6cpayCR.cjs +0 -2
  423. package/dist/LabelsparklineWidget-CJRnLETe.cjs +0 -2
  424. package/dist/LabelvalueWidget-owiMSCYl.cjs +0 -2
  425. package/dist/LabelvaluedescWidget-MRmZBUc0.cjs +0 -2
  426. package/dist/LabelvaluelimitsbarWidget-BQ2XYPNE.cjs +0 -2
  427. package/dist/LabelvaluelimitscolumnWidget-DNmVpU8J.cjs +0 -2
  428. package/dist/LabelvaluerangebarWidget-DL0U8cbw.cjs +0 -2
  429. package/dist/Layout-DRL0EeSA.cjs +0 -2
  430. package/dist/LedWidget-B8rjFe1b.cjs +0 -2
  431. package/dist/LedWidget-B8rjFe1b.cjs.map +0 -1
  432. package/dist/LedWidget-CxJjJBBS.js +0 -71
  433. package/dist/LedWidget-CxJjJBBS.js.map +0 -1
  434. package/dist/LimitsbarWidget-CYIH8fdp.cjs +0 -2
  435. package/dist/LimitscolorWidget-CS0wpX9A.cjs +0 -2
  436. package/dist/LimitscolumnWidget-C_UW6xKq.cjs +0 -2
  437. package/dist/LinegraphWidget-8td_PqgU.cjs +0 -2
  438. package/dist/MatrixbycolumnsWidget-CGOeCNW2.cjs +0 -2
  439. package/dist/MicroservicesTab-IbTmbPxO.js.map +0 -1
  440. package/dist/MicroservicesTab-uMC8NebS.cjs +0 -2
  441. package/dist/MicroservicesTab-uMC8NebS.cjs.map +0 -1
  442. package/dist/OutputDialog-B4Q0QMJ1.cjs.map +0 -1
  443. package/dist/OutputDialog-Ci5OT_fH.js.map +0 -1
  444. package/dist/PackagesTab-eYbk2vw7.cjs +0 -2
  445. package/dist/ProgressbarWidget-CUIAYySg.cjs +0 -2
  446. package/dist/RadiobuttonWidget-Cjk1JAP_.cjs +0 -2
  447. package/dist/RadiogroupWidget-B4lkYWaC.cjs +0 -2
  448. package/dist/RangebarWidget-nl0rzj93.cjs +0 -2
  449. package/dist/RedisTab-DhS4GHDj.cjs +0 -2
  450. package/dist/RollupWidget-Bgudi_bt.cjs +0 -2
  451. package/dist/RoutersTab-CzO10cVP.cjs +0 -2
  452. package/dist/ScriptChooser-BNm_zXxX.cjs +0 -2
  453. package/dist/ScrollwindowWidget-BIiV7xwi.cjs +0 -2
  454. package/dist/SecretsTab-BSzFZ81X.cjs +0 -2
  455. package/dist/SettingsTab-Bo_dYXgb.js.map +0 -1
  456. package/dist/SettingsTab-DH8LAAoG.cjs +0 -3
  457. package/dist/SettingsTab-DH8LAAoG.cjs.map +0 -1
  458. package/dist/SignalWidget-CvZkvejy.cjs +0 -2
  459. package/dist/SimpleTextDialog-DmeNMMCR.cjs +0 -2
  460. package/dist/SpacerWidget-BBJR6HBQ.cjs +0 -2
  461. package/dist/SparklineWidget-BxBLnjAO.cjs +0 -2
  462. package/dist/TabbookWidget-DyFQnA10.cjs +0 -2
  463. package/dist/TargetsTab-DMiOliqg.cjs +0 -2
  464. package/dist/TextBoxDialog-DvUf3Cak.cjs +0 -2
  465. package/dist/TextboxWidget-D6lW_dsU.cjs +0 -2
  466. package/dist/TextfieldWidget-iHN7-fyF.cjs +0 -2
  467. package/dist/TimeWidget-C3NZqTEG.cjs +0 -2
  468. package/dist/TitleWidget-CWZs33c4.cjs +0 -2
  469. package/dist/TopBar-DuXL27iD.cjs +0 -2
  470. package/dist/TopBar-DuXL27iD.cjs.map +0 -1
  471. package/dist/TopBar-F1jHuFan.js.map +0 -1
  472. package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs +0 -2
  473. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs +0 -1417
  474. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs.map +0 -1
  475. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js +0 -26941
  476. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js.map +0 -1
  477. package/dist/ValueWidget-Do3Yn47P.cjs +0 -2
  478. package/dist/ValuelimitsbarWidget-DJuh7FOs.cjs +0 -2
  479. package/dist/ValuelimitscolumnWidget-BFpG-H7v.cjs +0 -2
  480. package/dist/ValuerangebarWidget-BlZSaiXo.cjs +0 -2
  481. package/dist/VerticalWidget--8UErB4q.cjs +0 -2
  482. package/dist/VerticalboxWidget-B4eGUSYH.js +0 -37
  483. package/dist/VerticalboxWidget-B4eGUSYH.js.map +0 -1
  484. package/dist/VerticalboxWidget-cxHq1WKQ.cjs +0 -2
  485. package/dist/VerticalboxWidget-cxHq1WKQ.cjs.map +0 -1
  486. package/dist/Widget-DNf52jRQ.cjs +0 -2
  487. package/dist/index-Bz_jHTkl.cjs +0 -7
  488. package/dist/index-Bz_jHTkl.cjs.map +0 -1
  489. package/dist/index-CFQnWdPA.js.map +0 -1
@@ -1,68 +1,22 @@
1
- import { A as lt, O as nt } from "./OutputDialog-Ci5OT_fH.js";
2
- import { a as E, m as L, c as F, f as Y, W as j, p as q, l as J } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
3
- import { D as ot, e as rt } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
4
- import { resolveComponent as r, createBlock as T, openBlock as w, withKeys as z, withCtx as n, createVNode as i, createElementVNode as d, withModifiers as U, withDirectives as A, toDisplayString as N, vShow as R, createTextVNode as y, normalizeProps as S, guardReactiveProps as D, createElementBlock as P, Fragment as H, renderList as Q, createCommentVNode as V, normalizeStyle as Z, normalizeClass as $ } from "vue";
5
- import { _ as O } from "./CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js";
6
- import { C as ct } from "./CriticalCmdDialog-DLEasFsx.js";
7
- import { D as mt } from "./DetailsDialog-BvbziA7Y.js";
8
- import { E as ft, S as pt } from "./ScriptChooser-l5i8c8KP.js";
9
- import { f as ee } from "./fileIcon-DqRHb1_Z.js";
10
- import { G as vt, a as _t, b as yt } from "./Graph-3rkhFP3G.js";
11
- import { UnknownToAstroStatus as W, AstroStatusColors as K } from "./icons.js";
12
- import { T as te } from "./timeFilters-CRYpYDdf.js";
13
- import { f as ie } from "./format-CVeawcIv.js";
14
- import { getMountedApps as se } from "single-spa";
15
- import { S as wt } from "./SimpleTextDialog-CheuP_ls.js";
16
- import { T as xt } from "./TextBoxDialog-fHkDTtzI.js";
17
- import { T as Ct } from "./TopBar-F1jHuFan.js";
18
- import { U as It } from "./UpgradeToEnterpriseDialog-DVcAH30Y.js";
19
- class le {
20
- constructor() {
21
- E.get("/openc3-api/autocomplete/data/screen").then((e) => {
22
- this.autocompleteData = e.data;
23
- }), this.api = new L();
24
- }
25
- async getCompletions(e, l, o, s, a) {
26
- let h = l.getLine(o.row).slice(0, o.column).trimStart().split(/ (?![^<]*>)/), v = this.autocompleteData;
27
- h.length > 1 && (v = v.find((x) => x.caption === h[0]));
28
- let _ = {}, f = !0;
29
- if (v && v.params) {
30
- v.params.length == h.length - 1 && (f = !1);
31
- let x = v.params[h.length - 2];
32
- if (x["Target name"])
33
- v = (await this.api.get_target_names()).reduce(
34
- (k, p) => (k[p] = 1, k),
35
- {}
36
- );
37
- else if (x["Packet name"]) {
38
- let b = h[h.length - 2];
39
- v = (await this.api.get_all_tlm(b)).reduce(
40
- (p, g) => (p[g.packet_name] = g.description, p),
41
- {}
42
- );
43
- } else if (x["Item name"]) {
44
- let b = h[h.length - 3], k = h[h.length - 2];
45
- v = (await this.api.get_tlm(b, k)).items.reduce(
46
- (g, c) => (g[c.name] = c.description, g),
47
- {}
48
- );
49
- } else
50
- v = x;
51
- _ = Object.keys(v || {}).map((b) => {
52
- let k = {
53
- value: b + (f ? " " : ""),
54
- // We want the autoComplete to continue right up
55
- // to the last parameter
56
- command: f && "startAutocomplete"
57
- };
58
- return typeof v[b] == "string" && (k.meta = v[b]), k;
59
- });
60
- } else
61
- _ = v;
62
- a(null, _);
63
- }
64
- }
65
- const Xe = {
1
+ import { A as Ce, O as De } from "./OutputDialog-zVPZiZay.js";
2
+ import { A as Ve, T as Le } from "./TopBar-CnJNNJlV.js";
3
+ import { E as Se, a as Ee, F as Ue, O as Pe, S as Oe } from "./Openc3Screen-Cud0OCFu.js";
4
+ import { h as k, l as K } from "./WidgetComponents-C1lSLZ0I.js";
5
+ import { D as Ke, d as We } from "./WidgetComponents-C1lSLZ0I.js";
6
+ import { resolveComponent as o, createBlock as w, openBlock as _, withKeys as P, withCtx as n, createVNode as s, createElementVNode as m, withModifiers as A, withDirectives as O, toDisplayString as b, vShow as B, createTextVNode as v, normalizeProps as V, guardReactiveProps as L, normalizeStyle as W, createCommentVNode as I, createElementBlock as R, createSlots as z, normalizeClass as M, Fragment as F } from "vue";
7
+ import { _ as D } from "./CustomIcon-h5X7369N.js";
8
+ import { C as Me } from "./CriticalCmdDialog-DPIZOBeP.js";
9
+ import { D as Ge } from "./DetailsDialog-DmEC5BTs.js";
10
+ import { E as je, S as qe } from "./ScriptChooser-EV65rbWx.js";
11
+ import { G as Ze, a as Ye, b as Xe } from "./Graph-Bgo0cjl3.js";
12
+ import { UnknownToAstroStatus as S, AstroStatusColors as E } from "./icons.js";
13
+ import { T as G } from "./timeFilters-CRYpYDdf.js";
14
+ import { f as H } from "./format-CVeawcIv.js";
15
+ import { getMountedApps as j } from "single-spa";
16
+ import { S as $e } from "./SimpleTextDialog-pwN8oRy1.js";
17
+ import { T as tt } from "./TextBoxDialog-DOJ5d2RM.js";
18
+ import { U as lt } from "./UpgradeToEnterpriseDialog-BvfgoNB1.js";
19
+ const _e = {
66
20
  data: {
67
21
  configKey: "",
68
22
  // Applications can set to avoid persisting default config
@@ -76,12 +30,12 @@ const Xe = {
76
30
  saveDefaultConfig: function(t) {
77
31
  this.dontSaveDefaultConfig !== !0 && (localStorage[`${this.configKey}__default`] = JSON.stringify(t));
78
32
  },
79
- openConfigBase: function(t, e = !1, l = null) {
80
- new L().load_config(this.configKey, t).then((o) => {
81
- o ? (this.$notify.normal({
33
+ openConfigBase: function(t, e = !1, i = null) {
34
+ new k().load_config(this.configKey, t).then((c) => {
35
+ c ? (this.$notify.normal({
82
36
  title: "Loading configuration",
83
37
  body: t
84
- }), l && l(JSON.parse(o)), e || this.$route.fullPath.includes(t) || this.$router.push({
38
+ }), i && i(JSON.parse(c)), e || this.$route.fullPath.includes(t) || this.$router.push({
85
39
  query: {
86
40
  config: t
87
41
  }
@@ -89,23 +43,23 @@ const Xe = {
89
43
  title: "Unknown configuration",
90
44
  body: t
91
45
  });
92
- }).catch((o) => {
93
- o && this.$notify.serious({
46
+ }).catch((c) => {
47
+ c && this.$notify.serious({
94
48
  title: `Error opening configuration: ${t}`,
95
- body: o
49
+ body: c
96
50
  });
97
51
  });
98
52
  },
99
53
  saveConfigBase: function(t, e) {
100
- new L().save_config(this.configKey, t, JSON.stringify(e)).then(() => {
54
+ new k().save_config(this.configKey, t, JSON.stringify(e)).then(() => {
101
55
  this.$notify.normal({
102
56
  title: "Saved configuration",
103
57
  body: t
104
58
  });
105
- }).catch((l) => {
106
- l && this.$notify.serious({
59
+ }).catch((i) => {
60
+ i && this.$notify.serious({
107
61
  title: `Error saving configuration: ${t}`,
108
- body: l
62
+ body: i
109
63
  });
110
64
  });
111
65
  },
@@ -115,7 +69,7 @@ const Xe = {
115
69
  delete t.config, this.$router.replace({ query: t });
116
70
  }
117
71
  }
118
- }, ne = {
72
+ }, q = {
119
73
  props: {
120
74
  configKey: String,
121
75
  modelValue: Boolean
@@ -160,8 +114,8 @@ const Xe = {
160
114
  },
161
115
  mounted() {
162
116
  let t = -1;
163
- new L().list_configs(this.configKey).then((e) => {
164
- this.configs = e.map((l) => (t += 1, { configId: t, config: l }));
117
+ new k().list_configs(this.configKey).then((e) => {
118
+ this.configs = e.map((i) => (t += 1, { configId: t, config: i }));
165
119
  }).catch((e) => {
166
120
  this.$emit("warning", `Failed to connect to OpenC3. ${e}`);
167
121
  });
@@ -181,8 +135,8 @@ const Xe = {
181
135
  okText: "Delete",
182
136
  cancelText: "Cancel"
183
137
  }).then((e) => {
184
- var l;
185
- ((l = this.selectedItem) == null ? void 0 : l.config) === t.config && (this.selectedRows = []), this.configs.splice(this.configs.indexOf(t), 1), new L().delete_config(this.configKey, t.config);
138
+ var i;
139
+ ((i = this.selectedItem) == null ? void 0 : i.config) === t.config && (this.selectedRows = []), this.configs.splice(this.configs.indexOf(t), 1), new k().delete_config(this.configKey, t.config);
186
140
  }).catch((e) => {
187
141
  e !== !0 && this.$emit(
188
142
  "warning",
@@ -191,38 +145,38 @@ const Xe = {
191
145
  });
192
146
  }
193
147
  }
194
- }, ae = { class: "mt-4 pa-3" }, oe = ["textContent"];
195
- function re(t, e, l, o, s, a) {
196
- const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-btn"), f = r("v-data-table"), x = r("v-card-text"), b = r("v-card-actions"), k = r("v-card"), p = r("v-dialog");
197
- return w(), T(p, {
148
+ }, J = { class: "mt-4 pa-3" }, Z = ["textContent"];
149
+ function Y(t, e, i, c, l, a) {
150
+ const h = o("v-spacer"), f = o("v-toolbar"), p = o("v-text-field"), N = o("v-row"), g = o("v-btn"), T = o("v-data-table"), y = o("v-card-text"), d = o("v-card-actions"), x = o("v-card"), r = o("v-dialog");
151
+ return _(), w(r, {
198
152
  modelValue: a.show,
199
- "onUpdate:modelValue": e[4] || (e[4] = (g) => a.show = g),
200
- onKeydown: z(a.cancel, ["esc"]),
153
+ "onUpdate:modelValue": e[4] || (e[4] = (u) => a.show = u),
154
+ onKeydown: P(a.cancel, ["esc"]),
201
155
  width: "600"
202
156
  }, {
203
157
  default: n(() => [
204
- i(k, null, {
158
+ s(x, null, {
205
159
  default: n(() => [
206
- d("form", {
207
- onSubmit: e[3] || (e[3] = U((...g) => a.success && a.success(...g), ["prevent"]))
160
+ m("form", {
161
+ onSubmit: e[3] || (e[3] = A((...u) => a.success && a.success(...u), ["prevent"]))
208
162
  }, [
209
- i(m, { height: "24" }, {
163
+ s(f, { height: "24" }, {
210
164
  default: n(() => [
211
- i(u),
212
- e[5] || (e[5] = d("span", null, "Open Configuration", -1)),
213
- i(u)
165
+ s(h),
166
+ e[5] || (e[5] = m("span", null, "Open Configuration", -1)),
167
+ s(h)
214
168
  ]),
215
169
  _: 1
216
170
  }),
217
- i(x, null, {
171
+ s(y, null, {
218
172
  default: n(() => [
219
- d("div", ae, [
220
- i(v, { dense: "" }, {
173
+ m("div", J, [
174
+ s(N, { dense: "" }, {
221
175
  default: n(() => [
222
- i(h, {
176
+ s(p, {
223
177
  label: "search",
224
- modelValue: s.search,
225
- "onUpdate:modelValue": e[0] || (e[0] = (g) => s.search = g),
178
+ modelValue: l.search,
179
+ "onUpdate:modelValue": e[0] || (e[0] = (u) => l.search = u),
226
180
  type: "text",
227
181
  "prepend-inner-icon": "mdi-magnify",
228
182
  clearable: "",
@@ -237,37 +191,37 @@ function re(t, e, l, o, s, a) {
237
191
  ]),
238
192
  _: 1
239
193
  }),
240
- i(f, {
241
- modelValue: s.selectedRows,
242
- "onUpdate:modelValue": e[1] || (e[1] = (g) => s.selectedRows = g),
194
+ s(T, {
195
+ modelValue: l.selectedRows,
196
+ "onUpdate:modelValue": e[1] || (e[1] = (u) => l.selectedRows = u),
243
197
  "show-select": "",
244
198
  "select-strategy": "single",
245
199
  "item-value": "configId",
246
- search: s.search,
247
- headers: s.headers,
248
- items: s.configs,
200
+ search: l.search,
201
+ headers: l.headers,
202
+ items: l.configs,
249
203
  "items-per-page": 5,
250
204
  "items-per-page-options": [5],
251
- "onClick:row": e[2] || (e[2] = (g, c) => a.selectRow(c))
205
+ "onClick:row": e[2] || (e[2] = (u, C) => a.selectRow(C))
252
206
  }, {
253
- "item.actions": n(({ item: g }) => [
254
- i(_, {
207
+ "item.actions": n(({ item: u }) => [
208
+ s(g, {
255
209
  class: "mt-1",
256
210
  icon: "mdi-delete",
257
211
  variant: "text",
258
212
  "data-test": "item-delete",
259
- onClick: (c) => a.deleteConfig(g)
213
+ onClick: (C) => a.deleteConfig(u)
260
214
  }, null, 8, ["onClick"])
261
215
  ]),
262
216
  _: 1
263
217
  }, 8, ["modelValue", "search", "headers", "items"]),
264
- i(v, { dense: "" }, {
218
+ s(N, { dense: "" }, {
265
219
  default: n(() => [
266
- A(d("span", {
220
+ O(m("span", {
267
221
  class: "ma-2 text-red",
268
- textContent: N(a.error)
269
- }, null, 8, oe), [
270
- [R, a.error]
222
+ textContent: b(a.error)
223
+ }, null, 8, Z), [
224
+ [B, a.error]
271
225
  ])
272
226
  ]),
273
227
  _: 1
@@ -276,28 +230,28 @@ function re(t, e, l, o, s, a) {
276
230
  ]),
277
231
  _: 1
278
232
  }),
279
- i(b, { class: "px-2" }, {
233
+ s(d, { class: "px-2" }, {
280
234
  default: n(() => [
281
- i(u),
282
- i(_, {
235
+ s(h),
236
+ s(g, {
283
237
  variant: "outlined",
284
238
  onClick: a.cancel,
285
239
  "data-test": "open-config-cancel-btn"
286
240
  }, {
287
241
  default: n(() => e[6] || (e[6] = [
288
- y(" Cancel ")
242
+ v(" Cancel ")
289
243
  ])),
290
244
  _: 1
291
245
  }, 8, ["onClick"]),
292
- i(_, {
246
+ s(g, {
293
247
  variant: "flat",
294
- onClick: U(a.success, ["prevent"]),
248
+ onClick: A(a.success, ["prevent"]),
295
249
  type: "submit",
296
250
  "data-test": "open-config-submit-btn",
297
251
  disabled: !!a.error
298
252
  }, {
299
253
  default: n(() => e[7] || (e[7] = [
300
- y(" Ok ")
254
+ v(" Ok ")
301
255
  ])),
302
256
  _: 1
303
257
  }, 8, ["onClick", "disabled"])
@@ -312,7 +266,7 @@ function re(t, e, l, o, s, a) {
312
266
  _: 1
313
267
  }, 8, ["modelValue", "onKeydown"]);
314
268
  }
315
- const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
269
+ const ye = /* @__PURE__ */ D(q, [["render", Y]]), X = {
316
270
  props: {
317
271
  configKey: String,
318
272
  modelValue: Boolean
@@ -358,8 +312,8 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
358
312
  },
359
313
  mounted() {
360
314
  let t = -1;
361
- new L().list_configs(this.configKey).then((e) => {
362
- this.configs = e.map((l) => (t += 1, { configId: t, config: l }));
315
+ new k().list_configs(this.configKey).then((e) => {
316
+ this.configs = e.map((i) => (t += 1, { configId: t, config: i }));
363
317
  }).catch((e) => {
364
318
  this.$emit("warning", `Failed to connect to OpenC3. ${e}`);
365
319
  });
@@ -379,8 +333,8 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
379
333
  okText: "Delete",
380
334
  cancelText: "Cancel"
381
335
  }).then((e) => {
382
- var l;
383
- ((l = this.selectedItem) == null ? void 0 : l.config) === t.config && (this.selectedRows = [], this.configName = ""), this.configs.splice(this.configs.indexOf(t), 1), new L().delete_config(this.configKey, t.config);
336
+ var i;
337
+ ((i = this.selectedItem) == null ? void 0 : i.config) === t.config && (this.selectedRows = [], this.configName = ""), this.configs.splice(this.configs.indexOf(t), 1), new k().delete_config(this.configKey, t.config);
384
338
  }).catch((e) => {
385
339
  e !== !0 && this.$emit(
386
340
  "warning",
@@ -394,38 +348,38 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
394
348
  t && (this.configName = t.config);
395
349
  }
396
350
  }
397
- }, ce = { class: "mt-4 pa-3" }, ue = ["textContent"];
398
- function me(t, e, l, o, s, a) {
399
- const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-btn"), f = r("v-data-table"), x = r("v-card-text"), b = r("v-card-actions"), k = r("v-card"), p = r("v-dialog");
400
- return w(), T(p, {
351
+ }, Q = { class: "mt-4 pa-3" }, $ = ["textContent"];
352
+ function ee(t, e, i, c, l, a) {
353
+ const h = o("v-spacer"), f = o("v-toolbar"), p = o("v-text-field"), N = o("v-row"), g = o("v-btn"), T = o("v-data-table"), y = o("v-card-text"), d = o("v-card-actions"), x = o("v-card"), r = o("v-dialog");
354
+ return _(), w(r, {
401
355
  modelValue: a.show,
402
- "onUpdate:modelValue": e[5] || (e[5] = (g) => a.show = g),
403
- onKeydown: z(a.cancel, ["esc"]),
356
+ "onUpdate:modelValue": e[5] || (e[5] = (u) => a.show = u),
357
+ onKeydown: P(a.cancel, ["esc"]),
404
358
  width: "600"
405
359
  }, {
406
360
  default: n(() => [
407
- i(k, null, {
361
+ s(x, null, {
408
362
  default: n(() => [
409
- d("form", {
410
- onSubmit: e[4] || (e[4] = U((...g) => a.success && a.success(...g), ["prevent"]))
363
+ m("form", {
364
+ onSubmit: e[4] || (e[4] = A((...u) => a.success && a.success(...u), ["prevent"]))
411
365
  }, [
412
- i(m, { height: "24" }, {
366
+ s(f, { height: "24" }, {
413
367
  default: n(() => [
414
- i(u),
415
- e[6] || (e[6] = d("span", null, "Save Configuration", -1)),
416
- i(u)
368
+ s(h),
369
+ e[6] || (e[6] = m("span", null, "Save Configuration", -1)),
370
+ s(h)
417
371
  ]),
418
372
  _: 1
419
373
  }),
420
- i(x, null, {
374
+ s(y, null, {
421
375
  default: n(() => [
422
- d("div", ce, [
423
- i(v, { dense: "" }, {
376
+ m("div", Q, [
377
+ s(N, { dense: "" }, {
424
378
  default: n(() => [
425
- i(h, {
379
+ s(p, {
426
380
  label: "search",
427
- modelValue: s.search,
428
- "onUpdate:modelValue": e[0] || (e[0] = (g) => s.search = g),
381
+ modelValue: l.search,
382
+ "onUpdate:modelValue": e[0] || (e[0] = (u) => l.search = u),
429
383
  type: "text",
430
384
  "prepend-inner-icon": "mdi-magnify",
431
385
  clearable: "",
@@ -439,35 +393,35 @@ function me(t, e, l, o, s, a) {
439
393
  ]),
440
394
  _: 1
441
395
  }),
442
- i(f, {
443
- modelValue: s.selectedRows,
444
- "onUpdate:modelValue": e[1] || (e[1] = (g) => s.selectedRows = g),
396
+ s(T, {
397
+ modelValue: l.selectedRows,
398
+ "onUpdate:modelValue": e[1] || (e[1] = (u) => l.selectedRows = u),
445
399
  "show-select": "",
446
400
  "select-strategy": "single",
447
401
  "item-value": "configId",
448
- search: s.search,
449
- headers: s.headers,
450
- items: s.configs,
402
+ search: l.search,
403
+ headers: l.headers,
404
+ items: l.configs,
451
405
  "items-per-page": 5,
452
406
  "items-per-page-options": [5],
453
- "onClick:row": e[2] || (e[2] = (g, c) => a.selectRow(c))
407
+ "onClick:row": e[2] || (e[2] = (u, C) => a.selectRow(C))
454
408
  }, {
455
- "item.actions": n(({ item: g }) => [
456
- i(_, {
409
+ "item.actions": n(({ item: u }) => [
410
+ s(g, {
457
411
  class: "mt-1",
458
412
  icon: "mdi-delete",
459
413
  variant: "text",
460
414
  "data-test": "item-delete",
461
- onClick: (c) => a.deleteConfig(g)
415
+ onClick: (C) => a.deleteConfig(u)
462
416
  }, null, 8, ["onClick"])
463
417
  ]),
464
418
  _: 1
465
419
  }, 8, ["modelValue", "search", "headers", "items"]),
466
- i(v, { dense: "" }, {
420
+ s(N, { dense: "" }, {
467
421
  default: n(() => [
468
- i(h, {
469
- modelValue: s.configName,
470
- "onUpdate:modelValue": e[3] || (e[3] = (g) => s.configName = g),
422
+ s(p, {
423
+ modelValue: l.configName,
424
+ "onUpdate:modelValue": e[3] || (e[3] = (u) => l.configName = u),
471
425
  "hide-details": "",
472
426
  autofocus: "",
473
427
  disabled: !!a.selectedItem,
@@ -477,13 +431,13 @@ function me(t, e, l, o, s, a) {
477
431
  ]),
478
432
  _: 1
479
433
  }),
480
- i(v, { dense: "" }, {
434
+ s(N, { dense: "" }, {
481
435
  default: n(() => [
482
- A(d("span", {
436
+ O(m("span", {
483
437
  class: "ma-2 text-red",
484
- textContent: N(a.error)
485
- }, null, 8, ue), [
486
- [R, a.error]
438
+ textContent: b(a.error)
439
+ }, null, 8, $), [
440
+ [B, a.error]
487
441
  ])
488
442
  ]),
489
443
  _: 1
@@ -492,27 +446,27 @@ function me(t, e, l, o, s, a) {
492
446
  ]),
493
447
  _: 1
494
448
  }),
495
- i(b, { class: "px-2" }, {
449
+ s(d, { class: "px-2" }, {
496
450
  default: n(() => [
497
- i(u),
498
- i(_, {
451
+ s(h),
452
+ s(g, {
499
453
  variant: "outlined",
500
454
  onClick: a.cancel
501
455
  }, {
502
456
  default: n(() => e[7] || (e[7] = [
503
- y(" Cancel ")
457
+ v(" Cancel ")
504
458
  ])),
505
459
  _: 1
506
460
  }, 8, ["onClick"]),
507
- i(_, {
461
+ s(g, {
508
462
  variant: "flat",
509
- onClick: U(a.success, ["prevent"]),
463
+ onClick: A(a.success, ["prevent"]),
510
464
  type: "submit",
511
465
  "data-test": "save-config-submit-btn",
512
466
  disabled: !!a.error
513
467
  }, {
514
468
  default: n(() => e[8] || (e[8] = [
515
- y(" Ok ")
469
+ v(" Ok ")
516
470
  ])),
517
471
  _: 1
518
472
  }, 8, ["onClick", "disabled"])
@@ -527,926 +481,7 @@ function me(t, e, l, o, s, a) {
527
481
  _: 1
528
482
  }, 8, ["modelValue", "onKeydown"]);
529
483
  }
530
- const je = /* @__PURE__ */ O(de, [["render", me]]), he = {
531
- props: {
532
- modelValue: Boolean,
533
- target: {
534
- type: String,
535
- default: ""
536
- },
537
- screen: {
538
- type: String,
539
- default: ""
540
- },
541
- definition: {
542
- type: String,
543
- default: ""
544
- },
545
- keywords: {
546
- type: Array,
547
- default: () => []
548
- },
549
- errors: {
550
- type: Array,
551
- default: () => []
552
- }
553
- },
554
- data() {
555
- return {
556
- file: null,
557
- docsKeyword: "",
558
- contextMenu: !1,
559
- menuX: 0,
560
- menuY: 0
561
- };
562
- },
563
- computed: {
564
- editErrors: function() {
565
- if (this.definition === "" && !this.file)
566
- return ["Input can not be blank."];
567
- if (this.errors.length !== 0) {
568
- let t = /* @__PURE__ */ new Set(), e = [];
569
- const l = this.errors.toSorted(
570
- (o, s) => o.lineNumber - s.lineNumber
571
- );
572
- for (const o of l) {
573
- let s = `At ${o.lineNumber}: (${o.line}) ${o.message}.`;
574
- o.usage && (s += ` Usage: ${o.usage}`), e.push(s), t.add(o.message);
575
- }
576
- return e;
577
- }
578
- return [];
579
- },
580
- show: {
581
- get() {
582
- return this.modelValue;
583
- },
584
- set(t) {
585
- this.$emit("update:modelValue", t);
586
- }
587
- }
588
- },
589
- mounted: function() {
590
- this.editor = F.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
591
- const t = this.buildScreenMode();
592
- this.editor.session.setMode(new t()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setOption("enableBasicAutocompletion", !0), this.editor.setOption("enableLiveAutocompletion", !0), this.editor.completers = [new le()], this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.definition), this.editor.clearSelection(), this.editor.focus();
593
- },
594
- beforeUnmount() {
595
- this.editor.destroy(), this.editor.container.remove();
596
- },
597
- methods: {
598
- showContextMenu: function(t) {
599
- this.menuX = t.pageX, this.menuY = t.pageY;
600
- let e = this.editor.getCursorPosition(), l = this.editor.session.getTokenAt(e.row, e.column);
601
- if (l) {
602
- let o = l.value.trim();
603
- o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
604
- }
605
- },
606
- openDocumentation() {
607
- window.open(
608
- `${window.location.origin}/tools/staticdocs/docs/configuration/telemetry-screens#${this.docsKeyword.toLowerCase()}`,
609
- "_blank"
610
- );
611
- },
612
- buildScreenMode() {
613
- let t = F.require("ace/lib/oop"), e = F.require(
614
- "ace/mode/text_highlight_rules"
615
- ).TextHighlightRules, l = this.keywords.join("|"), o = function() {
616
- this.$rules = {
617
- start: [
618
- {
619
- token: "comment",
620
- regex: "#.*$"
621
- },
622
- {
623
- token: "string",
624
- regex: '".*?"'
625
- },
626
- {
627
- token: "string",
628
- regex: "'.*?'"
629
- },
630
- {
631
- token: "constant.numeric",
632
- regex: "\\b\\d+(?:\\.\\d+)?\\b"
633
- },
634
- {
635
- token: "keyword",
636
- regex: new RegExp(`^\\s*(${l})\\b`)
637
- }
638
- ]
639
- }, this.normalizeRules();
640
- };
641
- t.inherits(o, e);
642
- let s = function() {
643
- this.HighlightRules = o;
644
- }, a = F.require("ace/mode/text").Mode;
645
- return t.inherits(s, a), (function() {
646
- this.$id = "ace/mode/openc3";
647
- }).call(s.prototype), s;
648
- },
649
- downloadScreen: function() {
650
- const t = new Blob([this.editor.getValue()], {
651
- type: "text/plain"
652
- }), e = document.createElement("a");
653
- e.href = URL.createObjectURL(t), e.setAttribute("download", `${this.screen.toLowerCase()}.txt`), e.click();
654
- },
655
- loadFile: function() {
656
- const t = new FileReader();
657
- t.readAsText(this.file);
658
- const e = this;
659
- t.onload = function() {
660
- e.editor.setValue(t.result), e.file = null;
661
- };
662
- },
663
- deleteScreen: function() {
664
- this.$dialog.confirm("Are you sure you want to delete this screen?!", {
665
- okText: "Delete",
666
- cancelText: "Cancel"
667
- }).then((t) => {
668
- this.$emit("delete");
669
- });
670
- }
671
- }
672
- }, fe = { class: "mx-2" }, pe = { class: "mx-2" }, ge = ["textContent"];
673
- function ve(t, e, l, o, s, a) {
674
- const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-row"), f = r("v-btn"), x = r("v-file-input"), b = r("v-list-item-title"), k = r("v-list-item"), p = r("v-list"), g = r("v-menu"), c = r("v-card-text"), C = r("v-card"), M = r("v-dialog");
675
- return w(), T(M, {
676
- persistent: "",
677
- modelValue: a.show,
678
- "onUpdate:modelValue": e[5] || (e[5] = (I) => a.show = I),
679
- width: "75vw"
680
- }, {
681
- default: n(() => [
682
- i(C, null, {
683
- default: n(() => [
684
- i(v, { height: "24" }, {
685
- default: n(() => [
686
- d("div", fe, [
687
- i(m, { location: "top" }, {
688
- activator: n(({ props: I }) => [
689
- d("div", S(D(I)), [
690
- i(u, {
691
- "data-test": "delete-screen-icon",
692
- onClick: a.deleteScreen
693
- }, {
694
- default: n(() => e[6] || (e[6] = [
695
- y(" mdi-delete ")
696
- ])),
697
- _: 1
698
- }, 8, ["onClick"])
699
- ], 16)
700
- ]),
701
- default: n(() => [
702
- e[7] || (e[7] = d("span", null, " Delete Screen ", -1))
703
- ]),
704
- _: 1
705
- })
706
- ]),
707
- i(h),
708
- d("span", null, " Edit Screen: " + N(l.target) + " " + N(l.screen), 1),
709
- i(h),
710
- d("div", pe, [
711
- i(m, { location: "top" }, {
712
- activator: n(({ props: I }) => [
713
- d("div", S(D(I)), [
714
- i(u, {
715
- "data-test": "download-screen-icon",
716
- onClick: a.downloadScreen
717
- }, {
718
- default: n(() => e[8] || (e[8] = [
719
- y(" mdi-download ")
720
- ])),
721
- _: 1
722
- }, 8, ["onClick"])
723
- ], 16)
724
- ]),
725
- default: n(() => [
726
- e[9] || (e[9] = d("span", null, " Download Screen ", -1))
727
- ]),
728
- _: 1
729
- })
730
- ])
731
- ]),
732
- _: 1
733
- }),
734
- i(c, { style: { "max-height": "90vh" } }, {
735
- default: n(() => [
736
- i(_, { class: "mt-3" }, {
737
- default: n(() => e[10] || (e[10] = [
738
- y(" Upload a screen file. ")
739
- ])),
740
- _: 1
741
- }),
742
- i(_, {
743
- "no-gutters": "",
744
- align: "center"
745
- }, {
746
- default: n(() => [
747
- i(f, {
748
- onClick: a.loadFile,
749
- disabled: !s.file,
750
- color: "primary",
751
- class: "mr-3",
752
- "data-test": "edit-screen-load"
753
- }, {
754
- default: n(() => e[11] || (e[11] = [
755
- y(" Load ")
756
- ])),
757
- _: 1
758
- }, 8, ["onClick", "disabled"]),
759
- i(x, {
760
- modelValue: s.file,
761
- "onUpdate:modelValue": e[0] || (e[0] = (I) => s.file = I),
762
- "truncate-length": "15",
763
- accept: ".txt",
764
- label: "Click to select .txt screen file."
765
- }, null, 8, ["modelValue"])
766
- ]),
767
- _: 1
768
- }),
769
- i(_, { class: "mb-2" }, {
770
- default: n(() => e[12] || (e[12] = [
771
- y(" Edit the screen definition. ")
772
- ])),
773
- _: 1
774
- }),
775
- i(_, { class: "mb-2" }, {
776
- default: n(() => [
777
- d("pre", {
778
- ref: "editor",
779
- class: "editor",
780
- onContextmenu: e[1] || (e[1] = U((...I) => a.showContextMenu && a.showContextMenu(...I), ["prevent"]))
781
- }, null, 544),
782
- i(g, {
783
- modelValue: s.contextMenu,
784
- "onUpdate:modelValue": e[2] || (e[2] = (I) => s.contextMenu = I),
785
- target: [s.menuX, s.menuY]
786
- }, {
787
- default: n(() => [
788
- i(p, null, {
789
- default: n(() => [
790
- i(k, { link: "" }, {
791
- default: n(() => [
792
- i(b, { onClick: a.openDocumentation }, {
793
- default: n(() => [
794
- y(N(s.docsKeyword) + " documentation ", 1)
795
- ]),
796
- _: 1
797
- }, 8, ["onClick"])
798
- ]),
799
- _: 1
800
- })
801
- ]),
802
- _: 1
803
- })
804
- ]),
805
- _: 1
806
- }, 8, ["modelValue", "target"])
807
- ]),
808
- _: 1
809
- }),
810
- i(_, { style: { "max-height": "120px", "overflow-y": "auto" } }, {
811
- default: n(() => [
812
- (w(!0), P(H, null, Q(a.editErrors, (I, X) => (w(), P("div", { key: X }, [
813
- d("span", {
814
- class: "text-red",
815
- textContent: N(I)
816
- }, null, 8, ge)
817
- ]))), 128))
818
- ]),
819
- _: 1
820
- }),
821
- i(_, { class: "mt-5" }, {
822
- default: n(() => [
823
- e[15] || (e[15] = d("span", null, "Ctrl-space brings up autocomplete. Right click keywords for documentation.", -1)),
824
- i(h),
825
- i(f, {
826
- onClick: e[3] || (e[3] = (I) => t.$emit("cancel")),
827
- class: "mx-2",
828
- variant: "outlined",
829
- "data-test": "edit-screen-cancel"
830
- }, {
831
- default: n(() => e[13] || (e[13] = [
832
- y(" Cancel ")
833
- ])),
834
- _: 1
835
- }),
836
- i(f, {
837
- onClick: e[4] || (e[4] = (I) => t.$emit("save", t.editor.getValue())),
838
- class: "mx-2",
839
- color: "primary",
840
- "data-test": "edit-screen-save"
841
- }, {
842
- default: n(() => e[14] || (e[14] = [
843
- y(" Save ")
844
- ])),
845
- _: 1
846
- })
847
- ]),
848
- _: 1
849
- })
850
- ]),
851
- _: 1
852
- })
853
- ]),
854
- _: 1
855
- })
856
- ]),
857
- _: 1
858
- }, 8, ["modelValue"]);
859
- }
860
- const _e = /* @__PURE__ */ O(he, [["render", ve], ["__scopeId", "data-v-9c6e250e"]]), ye = {
861
- props: {
862
- modelValue: Boolean
863
- },
864
- data() {
865
- return {
866
- alert: "",
867
- alertType: "success",
868
- showAlert: !1,
869
- search: "",
870
- key: "",
871
- keyValue: "",
872
- environment: [],
873
- headers: [
874
- {
875
- text: "Key",
876
- value: "key"
877
- },
878
- {
879
- text: "Value",
880
- value: "value"
881
- },
882
- {
883
- text: "Actions",
884
- value: "actions",
885
- align: "end",
886
- sortable: !1
887
- }
888
- ]
889
- };
890
- },
891
- computed: {
892
- show: {
893
- get() {
894
- return this.modelValue;
895
- },
896
- set(t) {
897
- this.$emit("update:modelValue", t);
898
- }
899
- }
900
- },
901
- mounted() {
902
- this.update();
903
- },
904
- methods: {
905
- alertHandler: function(t) {
906
- this.alert = t.text, this.alertType = t.type, this.showAlert = !0;
907
- },
908
- update: function() {
909
- E.get("/openc3-api/environment").then((t) => {
910
- this.environment = t.data;
911
- }).catch((t) => {
912
- });
913
- },
914
- addEnvironment: function() {
915
- E.post("/openc3-api/environment", {
916
- data: {
917
- key: this.key.toUpperCase(),
918
- value: this.keyValue
919
- }
920
- }).then((t) => {
921
- `${t.data.name}`, this.update();
922
- }).catch((t) => {
923
- const e = {
924
- text: `Failed to add environment variable: ${t}`,
925
- type: "error"
926
- };
927
- this.alertHandler(e);
928
- }), this.key = "", this.keyValue = "";
929
- },
930
- deleteEnvironment: function(t) {
931
- this.$dialog.confirm(`Are you sure you want to delete: ${t.key}=${t.value}`, {
932
- okText: "Delete",
933
- cancelText: "Cancel"
934
- }).then((e) => E.delete(`/openc3-api/environment/${t.name}`)).then((e) => {
935
- const l = {
936
- text: `Removed environment variable: ${t.name}`,
937
- type: "success"
938
- };
939
- this.alertHandler(l), this.update();
940
- }).catch((e) => {
941
- const l = {
942
- text: `Failed to delete environment: ${e}`,
943
- type: "error"
944
- };
945
- this.alertHandler(l);
946
- });
947
- }
948
- }
949
- }, be = { class: "pa-3" };
950
- function we(t, e, l, o, s, a) {
951
- const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-icon"), f = r("v-btn"), x = r("v-data-table"), b = r("v-col"), k = r("v-card-text"), p = r("v-card"), g = r("v-dialog");
952
- return w(), T(g, {
953
- modelValue: a.show,
954
- "onUpdate:modelValue": e[4] || (e[4] = (c) => a.show = c),
955
- width: "600"
956
- }, {
957
- default: n(() => [
958
- i(p, null, {
959
- default: n(() => [
960
- d("form", {
961
- onSubmit: e[3] || (e[3] = U((...c) => a.addEnvironment && a.addEnvironment(...c), ["prevent"]))
962
- }, [
963
- i(m, { height: "24" }, {
964
- default: n(() => [
965
- i(u),
966
- e[5] || (e[5] = d("span", null, "Global Environment Variables", -1)),
967
- i(u)
968
- ]),
969
- _: 1
970
- }),
971
- i(k, null, {
972
- default: n(() => [
973
- d("div", be, [
974
- i(v, {
975
- dense: "",
976
- class: "mb-2"
977
- }, {
978
- default: n(() => [
979
- i(h, {
980
- modelValue: s.search,
981
- "onUpdate:modelValue": e[0] || (e[0] = (c) => s.search = c),
982
- label: "search",
983
- type: "text",
984
- "data-test": "search",
985
- "prepend-inner-icon": "mdi-magnify",
986
- clearable: "",
987
- variant: "outlined",
988
- density: "compact",
989
- "clear-icon": "mdi-close-circle-outline",
990
- autofocus: "",
991
- "single-line": "",
992
- "hide-details": ""
993
- }, null, 8, ["modelValue"])
994
- ]),
995
- _: 1
996
- }),
997
- i(x, {
998
- "item-key": "name",
999
- "hide-default-header": "",
1000
- "data-test": "env-table",
1001
- search: s.search,
1002
- headers: s.headers,
1003
- items: s.environment,
1004
- "items-per-page": 5,
1005
- "items-per-page-options": [5]
1006
- }, {
1007
- "item.actions": n(({ item: c }) => [
1008
- i(f, {
1009
- onClick: (C) => a.deleteEnvironment(c),
1010
- icon: "",
1011
- class: "mt-1",
1012
- "data-test": "item-delete"
1013
- }, {
1014
- default: n(() => [
1015
- i(_, null, {
1016
- default: n(() => e[6] || (e[6] = [
1017
- y("mdi-delete")
1018
- ])),
1019
- _: 1
1020
- })
1021
- ]),
1022
- _: 2
1023
- }, 1032, ["onClick"])
1024
- ]),
1025
- _: 1
1026
- }, 8, ["search", "headers", "items"]),
1027
- i(v, { dense: "" }, {
1028
- default: n(() => [
1029
- i(b, null, {
1030
- default: n(() => [
1031
- i(h, {
1032
- modelValue: s.key,
1033
- "onUpdate:modelValue": e[1] || (e[1] = (c) => s.key = c),
1034
- label: "Key",
1035
- "data-test": "env-key"
1036
- }, null, 8, ["modelValue"])
1037
- ]),
1038
- _: 1
1039
- }),
1040
- i(b, null, {
1041
- default: n(() => [
1042
- i(h, {
1043
- modelValue: s.keyValue,
1044
- "onUpdate:modelValue": e[2] || (e[2] = (c) => s.keyValue = c),
1045
- label: "Value",
1046
- "data-test": "env-value"
1047
- }, null, 8, ["modelValue"])
1048
- ]),
1049
- _: 1
1050
- })
1051
- ]),
1052
- _: 1
1053
- }),
1054
- i(v, { dense: "" }, {
1055
- default: n(() => [
1056
- i(f, {
1057
- onClick: U(a.addEnvironment, ["prevent"]),
1058
- block: "",
1059
- type: "submit",
1060
- color: "primary",
1061
- "data-test": "add-env",
1062
- disabled: !s.key || !s.keyValue
1063
- }, {
1064
- default: n(() => e[7] || (e[7] = [
1065
- y(" Add ")
1066
- ])),
1067
- _: 1
1068
- }, 8, ["onClick", "disabled"])
1069
- ]),
1070
- _: 1
1071
- })
1072
- ])
1073
- ]),
1074
- _: 1
1075
- })
1076
- ], 32)
1077
- ]),
1078
- _: 1
1079
- })
1080
- ]),
1081
- _: 1
1082
- }, 8, ["modelValue"]);
1083
- }
1084
- const qe = /* @__PURE__ */ O(ye, [["render", we]]), Ne = {
1085
- props: {
1086
- type: {
1087
- type: String,
1088
- required: !0,
1089
- validator: function(t) {
1090
- return ["open", "save"].indexOf(t) !== -1;
1091
- }
1092
- },
1093
- apiUrl: String,
1094
- // Base API URL for use with scripts or cmd-tlm
1095
- requireTargetParentDir: Boolean,
1096
- // Require that the save filename be nested in a directory with the name of a target
1097
- inputFilename: String,
1098
- // passed if this is a 'save' dialog
1099
- modelValue: Boolean
1100
- },
1101
- data() {
1102
- return {
1103
- tree: [],
1104
- items: [],
1105
- id: 1,
1106
- search: null,
1107
- selectedFile: null,
1108
- disableButtons: !1,
1109
- targets: [],
1110
- loading: !0
1111
- };
1112
- },
1113
- computed: {
1114
- show: {
1115
- get() {
1116
- return this.modelValue;
1117
- },
1118
- set(t) {
1119
- this.$emit("update:modelValue", t);
1120
- }
1121
- },
1122
- title: function() {
1123
- return this.type === "open" ? "File Open" : "File Save As...";
1124
- },
1125
- submit: function() {
1126
- return this.type === "open" ? "OPEN" : "SAVE";
1127
- },
1128
- helpText: function() {
1129
- return this.type === "open" ? "Click on folders to open them and then click a file to select it before clicking Open. Use the search box to filter the results." : "Click on the folder to save into. Then complete the filename path with the desired name. Use the search box to filter the results.";
1130
- },
1131
- error: function() {
1132
- if (this.selectedFile === "" || this.selectedFile === null)
1133
- return "No file selected must select a file";
1134
- if (!this.selectedFile.match(this.validFilenameRegex) || this.selectedFile.match(/\.\.|\/\/|\.\/|\/\./)) {
1135
- let t = `${this.selectedFile} is not a valid filename. Must `;
1136
- return this.requireTargetParentDir && (t += "be in a target directory and "), t += `only contain alphanumeric characters (including !-_.*) and a valid extension.
1137
-
1138
- For example: TGT1/procedures/test.py or TGT2/lib/inst.rb`, t;
1139
- }
1140
- return this.type === "save" && this.selectedFile.match(/\*$/) ? `${this.selectedFile} is not a valid filename. Must not end in '*'.` : null;
1141
- },
1142
- validFilenameRegex: function() {
1143
- const t = "0-9a-zA-Z";
1144
- let l = `[${`${t}\\/\\!\\-\\_\\.\\*\\'\\(\\)`}]+\\.[${t}]+`;
1145
- return this.requireTargetParentDir && (l = `\\/?${`(${this.targets.join("|")})`}\\/${l}`), new RegExp(l);
1146
- }
1147
- },
1148
- created() {
1149
- this.loadFiles(), this.requireTargetParentDir && E.get("/openc3-api/targets").then((t) => {
1150
- this.targets = t.data, this.targets.push("__TEMP__");
1151
- });
1152
- },
1153
- methods: {
1154
- calcIcon: function(t) {
1155
- return ee(t);
1156
- },
1157
- loadFiles: function() {
1158
- E.get(this.apiUrl).then((t) => {
1159
- this.items = [], this.id = 1;
1160
- for (let e of t.data)
1161
- this.filepath = e, this.insertFile(this.items, 1, e), this.id++;
1162
- this.inputFilename && (this.selectedFile = this.inputFilename), this.loading = !1;
1163
- }).catch((t) => {
1164
- this.$emit("error", `Failed to connect to OpenC3. ${t}`);
1165
- });
1166
- },
1167
- clear: function() {
1168
- this.show = !1, this.overwrite = !1, this.disableButtons = !1;
1169
- },
1170
- activeFile: function(t) {
1171
- t.length === 0 ? this.selectedFile = null : (this.selectedFile = this.findItem(this.items, t[0]), setTimeout(() => {
1172
- this.$refs.submitBtn.$el.focus();
1173
- }, 100));
1174
- },
1175
- findItem: function(t, e) {
1176
- for (let l of t) {
1177
- if (l.id === e)
1178
- return l.path;
1179
- if (l.children) {
1180
- const o = this.findItem(l.children, e);
1181
- if (o)
1182
- return o;
1183
- }
1184
- }
1185
- return null;
1186
- },
1187
- exists: function(t, e) {
1188
- let l = !1;
1189
- for (let o of t) {
1190
- if (o.path === e || o.path.length > 1 && o.path[o.path.length - 1] === "*" && o.path.slice(0, o.path.length - 1) === e)
1191
- return !0;
1192
- o.children && (l = l || this.exists(o.children, e));
1193
- }
1194
- return l;
1195
- },
1196
- success: function() {
1197
- this.selectedFile !== null && this.error === null && (this.type === "open" ? this.openSuccess() : this.saveSuccess());
1198
- },
1199
- deleteTemp: function() {
1200
- this.$dialog.confirm("Are you sure you want to delete all the temporary files?", {
1201
- okText: "Delete",
1202
- cancelText: "Cancel"
1203
- }).then((t) => E.delete("/script-api/scripts/temp_files")).then((t) => {
1204
- this.$emit("clear-temp"), this.loadFiles();
1205
- }).catch((t) => {
1206
- this.$notify.serious({
1207
- title: "Error",
1208
- body: `Failed to remove script temporary files due to ${t}`
1209
- });
1210
- });
1211
- },
1212
- openSuccess: function() {
1213
- this.disableButtons = !0, E.get(`${this.apiUrl}/${this.selectedFile}`).then((t) => {
1214
- const e = {
1215
- name: this.selectedFile,
1216
- contents: t.data.contents
1217
- };
1218
- t.data.suites && (e.suites = JSON.parse(t.data.suites)), t.data.error && (e.error = t.data.error), t.data.success && (e.success = t.data.success);
1219
- const l = t.data.locked, o = t.data.breakpoints;
1220
- this.$emit("file", { file: e, locked: l, breakpoints: o }), this.clear();
1221
- }).catch((t) => {
1222
- this.$emit("error", `Failed to open ${this.selectedFile}. ${t}`), this.clear();
1223
- });
1224
- },
1225
- saveSuccess: function() {
1226
- this.exists(this.items, this.selectedFile) ? this.$dialog.confirm(`Are you sure you want to overwrite: ${this.selectedFile}`, {
1227
- okText: "Overwrite",
1228
- cancelText: "Cancel"
1229
- }).then((e) => {
1230
- this.$emit("filename", this.selectedFile), this.clear();
1231
- }).catch((e) => {
1232
- }) : (this.$emit("filename", this.selectedFile), this.clear());
1233
- },
1234
- insertFile: function(t, e, l) {
1235
- let o = l.split("/");
1236
- if (o.length === 1) {
1237
- t.push({
1238
- id: this.id,
1239
- title: o[0],
1240
- file: "ruby",
1241
- path: this.filepath
1242
- }), this.id++;
1243
- return;
1244
- }
1245
- const s = t.findIndex((a) => a.title === o[0]);
1246
- s === -1 ? (t.push({
1247
- id: this.id,
1248
- title: o[0],
1249
- children: [],
1250
- path: this.filepath.split("/").slice(0, e).join("/")
1251
- }), this.id++, this.insertFile(
1252
- t[t.length - 1].children,
1253
- // Start from the node we just added
1254
- e + 1,
1255
- o.slice(1).join("/")
1256
- // Strip the first part of the path
1257
- )) : this.insertFile(
1258
- t[s].children,
1259
- e + 1,
1260
- o.slice(1).join("/")
1261
- );
1262
- }
1263
- }
1264
- }, xe = { class: "pa-3" };
1265
- function ke(t, e, l, o, s, a) {
1266
- const u = r("v-progress-circular"), m = r("v-overlay"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-row"), f = r("v-text-field"), x = r("v-icon"), b = r("v-btn"), k = r("v-treeview"), p = r("v-card-text"), g = r("v-card"), c = r("v-dialog");
1267
- return w(), T(c, {
1268
- modelValue: a.show,
1269
- "onUpdate:modelValue": e[5] || (e[5] = (C) => a.show = C),
1270
- width: "600",
1271
- scrollable: "",
1272
- onKeydown: e[6] || (e[6] = z((C) => a.success(), ["enter"]))
1273
- }, {
1274
- default: n(() => [
1275
- i(g, null, {
1276
- default: n(() => [
1277
- i(m, { "model-value": s.loading }, {
1278
- default: n(() => [
1279
- i(u, {
1280
- indeterminate: "",
1281
- absolute: "",
1282
- size: "64"
1283
- })
1284
- ]),
1285
- _: 1
1286
- }, 8, ["model-value"]),
1287
- d("form", {
1288
- onSubmit: e[4] || (e[4] = U((...C) => a.success && a.success(...C), ["prevent"]))
1289
- }, [
1290
- i(v, { height: "24" }, {
1291
- default: n(() => [
1292
- i(h),
1293
- d("span", null, N(a.title), 1),
1294
- i(h)
1295
- ]),
1296
- _: 1
1297
- }),
1298
- i(p, null, {
1299
- default: n(() => [
1300
- d("div", xe, [
1301
- i(_, null, {
1302
- default: n(() => [
1303
- y(N(a.helpText), 1)
1304
- ]),
1305
- _: 1
1306
- }),
1307
- i(_, {
1308
- dense: "",
1309
- class: "mt-5"
1310
- }, {
1311
- default: n(() => [
1312
- i(f, {
1313
- modelValue: s.search,
1314
- "onUpdate:modelValue": e[0] || (e[0] = (C) => s.search = C),
1315
- flat: "",
1316
- autofocus: "",
1317
- "hide-details": "",
1318
- clearable: "",
1319
- label: "Search",
1320
- "prepend-inner-icon": "mdi-magnify",
1321
- density: "compact",
1322
- "data-test": "file-open-save-search"
1323
- }, null, 8, ["modelValue"])
1324
- ]),
1325
- _: 1
1326
- }),
1327
- i(_, {
1328
- dense: "",
1329
- class: "mt-2"
1330
- }, {
1331
- default: n(() => [
1332
- i(k, {
1333
- modelValue: s.tree,
1334
- "onUpdate:modelValue": e[1] || (e[1] = (C) => s.tree = C),
1335
- "onUpdate:activated": a.activeFile,
1336
- density: "compact",
1337
- activatable: "",
1338
- ref: "tree",
1339
- style: { width: "100%", "max-height": "60vh", overflow: "auto" },
1340
- "item-value": "id",
1341
- items: s.items,
1342
- search: s.search,
1343
- "open-on-click": l.type === "open",
1344
- "open-all": !!s.search
1345
- }, {
1346
- prepend: n(({ item: C, open: M }) => [
1347
- C.file ? (w(), T(x, { key: 1 }, {
1348
- default: n(() => [
1349
- y(N(a.calcIcon(C.title)), 1)
1350
- ]),
1351
- _: 2
1352
- }, 1024)) : (w(), T(x, { key: 0 }, {
1353
- default: n(() => [
1354
- y(N(M ? "mdi-folder-open" : "mdi-folder"), 1)
1355
- ]),
1356
- _: 2
1357
- }, 1024))
1358
- ]),
1359
- append: n(({ item: C }) => [
1360
- C.title === "__TEMP__" ? (w(), T(b, {
1361
- key: 0,
1362
- icon: "",
1363
- onClick: a.deleteTemp
1364
- }, {
1365
- default: n(() => [
1366
- i(x, null, {
1367
- default: n(() => e[7] || (e[7] = [
1368
- y(" mdi-delete ")
1369
- ])),
1370
- _: 1
1371
- })
1372
- ]),
1373
- _: 1
1374
- }, 8, ["onClick"])) : V("", !0)
1375
- ]),
1376
- _: 1
1377
- }, 8, ["modelValue", "onUpdate:activated", "items", "search", "open-on-click", "open-all"])
1378
- ]),
1379
- _: 1
1380
- }),
1381
- i(_, { class: "my-2" }, {
1382
- default: n(() => [
1383
- i(f, {
1384
- modelValue: s.selectedFile,
1385
- "onUpdate:modelValue": e[2] || (e[2] = (C) => s.selectedFile = C),
1386
- "hide-details": "",
1387
- label: "Filename",
1388
- "data-test": "file-open-save-filename",
1389
- disabled: l.type === "open"
1390
- }, null, 8, ["modelValue", "disabled"])
1391
- ]),
1392
- _: 1
1393
- }),
1394
- i(_, { dense: "" }, {
1395
- default: n(() => [
1396
- A(d("div", {
1397
- class: "my-2 text-red",
1398
- style: { "white-space": "pre-line" }
1399
- }, N(a.error), 513), [
1400
- [R, a.error]
1401
- ])
1402
- ]),
1403
- _: 1
1404
- }),
1405
- i(_, { class: "mt-2" }, {
1406
- default: n(() => [
1407
- i(h),
1408
- i(b, {
1409
- onClick: e[3] || (e[3] = (C) => a.show = !1),
1410
- variant: "outlined",
1411
- class: "mx-2",
1412
- "data-test": "file-open-save-cancel-btn",
1413
- disabled: s.disableButtons
1414
- }, {
1415
- default: n(() => e[8] || (e[8] = [
1416
- y(" Cancel ")
1417
- ])),
1418
- _: 1
1419
- }, 8, ["disabled"]),
1420
- i(b, {
1421
- onClick: U(a.success, ["prevent"]),
1422
- ref: "submitBtn",
1423
- type: "submit",
1424
- color: "primary",
1425
- class: "mx-2",
1426
- "data-test": "file-open-save-submit-btn",
1427
- disabled: s.disableButtons || !!a.error
1428
- }, {
1429
- default: n(() => [
1430
- y(N(a.submit), 1)
1431
- ]),
1432
- _: 1
1433
- }, 8, ["onClick", "disabled"])
1434
- ]),
1435
- _: 1
1436
- })
1437
- ])
1438
- ]),
1439
- _: 1
1440
- })
1441
- ], 32)
1442
- ]),
1443
- _: 1
1444
- })
1445
- ]),
1446
- _: 1
1447
- }, 8, ["modelValue"]);
1448
- }
1449
- const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
484
+ const be = /* @__PURE__ */ D(X, [["render", ee]]), te = {
1450
485
  props: {
1451
486
  historyCount: {
1452
487
  type: Number,
@@ -1457,10 +492,10 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
1457
492
  default: "local"
1458
493
  }
1459
494
  },
1460
- mixins: [te],
495
+ mixins: [G],
1461
496
  data() {
1462
497
  return {
1463
- AstroStatusColors: K,
498
+ AstroStatusColors: E,
1464
499
  data: [],
1465
500
  shownData: [],
1466
501
  logLevels: ["DEBUG", "INFO", "WARN", "ERROR", "FATAL"],
@@ -1472,7 +507,7 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
1472
507
  { title: "Source", value: "microservice_name" },
1473
508
  { title: "Message", value: "message" }
1474
509
  ],
1475
- cable: new Y(),
510
+ cable: new K(),
1476
511
  subscription: null,
1477
512
  paused: !1
1478
513
  };
@@ -1533,12 +568,12 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
1533
568
  e["@timestamp"],
1534
569
  this.timeZone
1535
570
  ), e.message.raw && e.message.json_class === "String") {
1536
- let l = "0x";
1537
- for (let o = 0; o < e.message.raw.length; o++) {
1538
- let s = e.message.raw[o].toString(16).toUpperCase();
1539
- s.length < 2 && (s = "0" + s), l += s;
571
+ let i = "0x";
572
+ for (let c = 0; c < e.message.raw.length; c++) {
573
+ let l = e.message.raw[c].toString(16).toUpperCase();
574
+ l.length < 2 && (l = "0" + l), i += l;
1540
575
  }
1541
- e.message = l;
576
+ e.message = i;
1542
577
  } else
1543
578
  e.message = e.message.replaceAll("\\n", `
1544
579
  `);
@@ -1555,25 +590,25 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
1555
590
  });
1556
591
  },
1557
592
  getColor(t) {
1558
- return K[W[t]];
593
+ return E[S[t]];
1559
594
  },
1560
595
  getStatus(t) {
1561
- return W[t];
596
+ return S[t];
1562
597
  },
1563
598
  downloadLog() {
1564
599
  const t = this.shownData.map(
1565
- (o) => (
600
+ (c) => (
1566
601
  // Other fields are available like container_name, msg_id ... probably not useful
1567
- `${o.timestamp} | ${o.level} | ${o.microservice_name} | ${o.message}`
602
+ `${c.timestamp} | ${c.level} | ${c.microservice_name} | ${c.message}`
1568
603
  )
1569
604
  ).join(`
1570
605
  `), e = new Blob([t], {
1571
606
  type: "text/plain"
1572
- }), l = document.createElement("a");
1573
- l.href = URL.createObjectURL(e), l.setAttribute(
607
+ }), i = document.createElement("a");
608
+ i.href = URL.createObjectURL(e), i.setAttribute(
1574
609
  "download",
1575
- ie(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_message_log.txt"
1576
- ), l.click();
610
+ H(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_message_log.txt"
611
+ ), i.click();
1577
612
  },
1578
613
  clearLog: function() {
1579
614
  this.$dialog.confirm("Are you sure you want to clear the log?", {
@@ -1585,18 +620,18 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
1585
620
  });
1586
621
  }
1587
622
  }
1588
- }, Te = { class: "d-flex align-baseline" }, Ie = ["title", "datetime"], Ve = { style: { "white-space": "pre-wrap" } };
1589
- function Se(t, e, l, o, s, a) {
1590
- const u = r("v-btn"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-select"), _ = r("v-text-field"), f = r("v-card-title"), x = r("rux-status"), b = r("v-data-table"), k = r("v-card");
1591
- return w(), T(k, null, {
623
+ }, se = { class: "d-flex align-baseline" }, le = ["title", "datetime"], ae = { style: { "white-space": "pre-wrap" } };
624
+ function ie(t, e, i, c, l, a) {
625
+ const h = o("v-btn"), f = o("v-tooltip"), p = o("v-spacer"), N = o("v-select"), g = o("v-text-field"), T = o("v-card-title"), y = o("rux-status"), d = o("v-data-table"), x = o("v-card");
626
+ return _(), w(x, null, {
1592
627
  default: n(() => [
1593
- i(f, { class: "d-flex align-center justify-content-space-between" }, {
628
+ s(T, { class: "d-flex align-center justify-content-space-between" }, {
1594
629
  default: n(() => [
1595
- d("div", Te, [
1596
- i(m, { location: "top" }, {
1597
- activator: n(({ props: p }) => [
1598
- d("div", S(D(p)), [
1599
- i(u, {
630
+ m("div", se, [
631
+ s(f, { location: "top" }, {
632
+ activator: n(({ props: r }) => [
633
+ m("div", V(L(r)), [
634
+ s(h, {
1600
635
  icon: "mdi-download",
1601
636
  variant: "text",
1602
637
  size: "small",
@@ -1607,15 +642,15 @@ function Se(t, e, l, o, s, a) {
1607
642
  ], 16)
1608
643
  ]),
1609
644
  default: n(() => [
1610
- e[2] || (e[2] = d("span", null, " Download Log ", -1))
645
+ e[2] || (e[2] = m("span", null, " Download Log ", -1))
1611
646
  ]),
1612
647
  _: 1
1613
648
  }),
1614
- e[3] || (e[3] = d("span", null, " Log Messages ", -1)),
1615
- i(m, { location: "top" }, {
1616
- activator: n(({ props: p }) => [
1617
- d("div", S(D(p)), [
1618
- i(u, {
649
+ e[3] || (e[3] = m("span", null, " Log Messages ", -1)),
650
+ s(f, { location: "top" }, {
651
+ activator: n(({ props: r }) => [
652
+ m("div", V(L(r)), [
653
+ s(h, {
1619
654
  icon: a.buttonIcon,
1620
655
  variant: "text",
1621
656
  "data-test": "pause",
@@ -1624,28 +659,28 @@ function Se(t, e, l, o, s, a) {
1624
659
  ], 16)
1625
660
  ]),
1626
661
  default: n(() => [
1627
- d("span", null, N(a.buttonLabel), 1)
662
+ m("span", null, b(a.buttonLabel), 1)
1628
663
  ]),
1629
664
  _: 1
1630
665
  })
1631
666
  ]),
1632
- i(h),
1633
- i(v, {
667
+ s(p),
668
+ s(N, {
1634
669
  label: "Filter by log level",
1635
670
  "hide-details": "",
1636
671
  variant: "outlined",
1637
672
  density: "compact",
1638
- items: s.logLevels,
1639
- modelValue: s.logLevel,
1640
- "onUpdate:modelValue": e[0] || (e[0] = (p) => s.logLevel = p),
673
+ items: l.logLevels,
674
+ modelValue: l.logLevel,
675
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => l.logLevel = r),
1641
676
  class: "mr-2",
1642
677
  style: { "max-width": "150px" },
1643
678
  "data-test": "log-messages-level"
1644
679
  }, null, 8, ["items", "modelValue"]),
1645
- i(h),
1646
- i(_, {
1647
- modelValue: s.search,
1648
- "onUpdate:modelValue": e[1] || (e[1] = (p) => s.search = p),
680
+ s(p),
681
+ s(g, {
682
+ modelValue: l.search,
683
+ "onUpdate:modelValue": e[1] || (e[1] = (r) => l.search = r),
1649
684
  label: "Search",
1650
685
  "prepend-inner-icon": "mdi-magnify",
1651
686
  clearable: "",
@@ -1657,10 +692,10 @@ function Se(t, e, l, o, s, a) {
1657
692
  class: "search",
1658
693
  "data-test": "search-log-messages"
1659
694
  }, null, 8, ["modelValue"]),
1660
- i(m, { location: "top" }, {
1661
- activator: n(({ props: p }) => [
1662
- d("div", S(D(p)), [
1663
- i(u, {
695
+ s(f, { location: "top" }, {
696
+ activator: n(({ props: r }) => [
697
+ m("div", V(L(r)), [
698
+ s(h, {
1664
699
  icon: "mdi-delete",
1665
700
  variant: "text",
1666
701
  class: "ml-2",
@@ -1670,17 +705,17 @@ function Se(t, e, l, o, s, a) {
1670
705
  ], 16)
1671
706
  ]),
1672
707
  default: n(() => [
1673
- e[4] || (e[4] = d("span", null, " Clear Log ", -1))
708
+ e[4] || (e[4] = m("span", null, " Clear Log ", -1))
1674
709
  ]),
1675
710
  _: 1
1676
711
  })
1677
712
  ]),
1678
713
  _: 1
1679
714
  }),
1680
- i(b, {
1681
- headers: s.headers,
1682
- items: s.shownData,
1683
- search: s.search,
715
+ s(d, {
716
+ headers: l.headers,
717
+ items: l.shownData,
718
+ search: l.search,
1684
719
  "items-per-page": -1,
1685
720
  "hide-default-footer": "",
1686
721
  "multi-sort": "",
@@ -1689,25 +724,25 @@ function Se(t, e, l, o, s, a) {
1689
724
  hover: "",
1690
725
  "data-test": "log-messages"
1691
726
  }, {
1692
- "item.timestamp": n(({ item: p }) => [
1693
- d("time", {
1694
- title: p.timestamp,
1695
- datetime: p.timestamp
1696
- }, N(p.timestamp), 9, Ie)
727
+ "item.timestamp": n(({ item: r }) => [
728
+ m("time", {
729
+ title: r.timestamp,
730
+ datetime: r.timestamp
731
+ }, b(r.timestamp), 9, le)
1697
732
  ]),
1698
- "item.level": n(({ item: p }) => [
1699
- d("span", {
1700
- style: Z("display: inline-flex; color:" + a.getColor(p.level))
733
+ "item.level": n(({ item: r }) => [
734
+ m("span", {
735
+ style: W("display: inline-flex; color:" + a.getColor(r.level))
1701
736
  }, [
1702
- i(x, {
737
+ s(y, {
1703
738
  class: "mr-1",
1704
- status: a.getStatus(p.level)
739
+ status: a.getStatus(r.level)
1705
740
  }, null, 8, ["status"]),
1706
- y(" " + N(p.level), 1)
741
+ v(" " + b(r.level), 1)
1707
742
  ], 4)
1708
743
  ]),
1709
- "item.message": n(({ item: p }) => [
1710
- d("div", Ve, N(p.message), 1)
744
+ "item.message": n(({ item: r }) => [
745
+ m("div", ae, b(r.message), 1)
1711
746
  ]),
1712
747
  _: 1
1713
748
  }, 8, ["headers", "items", "search"])
@@ -1715,23 +750,23 @@ function Se(t, e, l, o, s, a) {
1715
750
  _: 1
1716
751
  });
1717
752
  }
1718
- const Qe = /* @__PURE__ */ O(Ce, [["render", Se], ["__scopeId", "data-v-d5f1f607"]]), G = "single-spa:app-change", De = {
753
+ const we = /* @__PURE__ */ D(te, [["render", ie], ["__scopeId", "data-v-d5f1f607"]]), U = "single-spa:app-change", ne = {
1719
754
  data() {
1720
755
  return {
1721
756
  show: !1
1722
757
  };
1723
758
  },
1724
759
  created() {
1725
- window.addEventListener(G, this.handleAppChange);
760
+ window.addEventListener(U, this.handleAppChange);
1726
761
  },
1727
762
  mounted() {
1728
763
  setTimeout(() => {
1729
- this.show = se().length === 0;
764
+ this.show = j().length === 0;
1730
765
  }, 150);
1731
766
  },
1732
767
  unmounted() {
1733
768
  window.removeEventListener(
1734
- G,
769
+ U,
1735
770
  this.handleAppChange
1736
771
  );
1737
772
  },
@@ -1740,692 +775,31 @@ const Qe = /* @__PURE__ */ O(Ce, [["render", Se], ["__scopeId", "data-v-d5f1f607
1740
775
  this.show = !t.detail.appsByNewStatus.MOUNTED;
1741
776
  }
1742
777
  }
1743
- }, Ee = { class: "mx-1" };
1744
- function Ae(t, e, l, o, s, a) {
1745
- const u = r("v-card-title"), m = r("v-card-text"), h = r("v-card");
1746
- return s.show ? (w(), T(h, { key: 0 }, {
778
+ }, oe = { class: "mx-1" };
779
+ function ce(t, e, i, c, l, a) {
780
+ const h = o("v-card-title"), f = o("v-card-text"), p = o("v-card");
781
+ return l.show ? (_(), w(p, { key: 0 }, {
1747
782
  default: n(() => [
1748
- i(u, null, {
783
+ s(h, null, {
1749
784
  default: n(() => e[0] || (e[0] = [
1750
- y(" 404 Not Found ")
785
+ v(" 404 Not Found ")
1751
786
  ])),
1752
787
  _: 1
1753
788
  }),
1754
- i(m, { class: "d-flex align-center mt-3" }, {
789
+ s(f, { class: "d-flex align-center mt-3" }, {
1755
790
  default: n(() => [
1756
- e[1] || (e[1] = y(" The requested URL ")),
1757
- d("code", Ee, N(t.$route.fullPath), 1),
1758
- e[2] || (e[2] = y(" was not routable. ")),
1759
- e[3] || (e[3] = d("span", { class: "text-h3 mx-1" }, " 🦄 ", -1))
791
+ e[1] || (e[1] = v(" The requested URL ")),
792
+ m("code", oe, b(t.$route.fullPath), 1),
793
+ e[2] || (e[2] = v(" was not routable. ")),
794
+ e[3] || (e[3] = m("span", { class: "text-h3 mx-1" }, " 🦄 ", -1))
1760
795
  ]),
1761
796
  _: 1
1762
797
  })
1763
798
  ]),
1764
799
  _: 1
1765
- })) : V("", !0);
800
+ })) : I("", !0);
1766
801
  }
1767
- const $e = /* @__PURE__ */ O(De, [["render", Ae]]), B = 20, Re = {
1768
- mixins: [j],
1769
- components: {
1770
- EditScreenDialog: _e
1771
- },
1772
- props: {
1773
- target: {
1774
- type: String,
1775
- default: ""
1776
- },
1777
- screen: {
1778
- type: String,
1779
- default: ""
1780
- },
1781
- definition: {
1782
- type: String,
1783
- default: ""
1784
- },
1785
- keywords: {
1786
- type: Array,
1787
- default: () => []
1788
- },
1789
- initialFloated: {
1790
- type: Boolean,
1791
- default: !1
1792
- },
1793
- initialTop: {
1794
- type: Number,
1795
- default: 0
1796
- },
1797
- initialLeft: {
1798
- type: Number,
1799
- default: 0
1800
- },
1801
- initialZ: {
1802
- type: Number,
1803
- default: 0
1804
- },
1805
- minZ: {
1806
- type: Number,
1807
- default: 0
1808
- },
1809
- fixFloated: {
1810
- type: Boolean,
1811
- default: !1
1812
- },
1813
- count: {
1814
- type: Number,
1815
- default: 0
1816
- },
1817
- showClose: {
1818
- type: Boolean,
1819
- default: !0
1820
- },
1821
- timeZone: {
1822
- type: String,
1823
- default: "local"
1824
- }
1825
- },
1826
- data() {
1827
- return {
1828
- api: null,
1829
- backup: "",
1830
- currentDefinition: this.definition,
1831
- editDialog: !1,
1832
- expand: !0,
1833
- configParser: null,
1834
- configError: !1,
1835
- currentLayout: null,
1836
- layoutStack: [],
1837
- namedWidgets: {},
1838
- dynamicWidgets: [],
1839
- width: null,
1840
- height: null,
1841
- staleTime: 30,
1842
- cacheTimeout: 0.1,
1843
- globalSettings: [],
1844
- substitute: !1,
1845
- original_target_name: null,
1846
- force_substitute: !1,
1847
- pollingPeriod: 1,
1848
- errors: [],
1849
- errorDialog: !1,
1850
- screenKey: null,
1851
- dragX: 0,
1852
- dragY: 0,
1853
- floated: this.initialFloated,
1854
- top: this.initialTop,
1855
- left: this.initialLeft,
1856
- zIndex: this.initialZ,
1857
- changeCounter: 0,
1858
- screenItems: [],
1859
- screenValues: {},
1860
- updateCounter: 0,
1861
- screenId: J.uniqueId("openc3-screen_")
1862
- };
1863
- },
1864
- watch: {
1865
- count: {
1866
- handler(t, e) {
1867
- this.currentDefinition = this.definition, this.rerender();
1868
- }
1869
- }
1870
- },
1871
- computed: {
1872
- error: function() {
1873
- if (this.errorDialog && this.errors.length > 0) {
1874
- let t = /* @__PURE__ */ new Set(), e = "";
1875
- for (const l of this.errors) {
1876
- if (t.has(l.message))
1877
- continue;
1878
- let o = `${l.time}: (${l.type}) ${l.message}
1879
- `;
1880
- e += o, t.add(l.message);
1881
- }
1882
- return e;
1883
- }
1884
- return null;
1885
- },
1886
- computedStyle() {
1887
- var l;
1888
- let t = {};
1889
- const e = this.width || ((l = this.$refs.bar) == null ? void 0 : l.clientWidth);
1890
- return this.floated && (t.position = "absolute", t.top = this.top + "px", t.left = this.left + "px", t.width = e + "px"), t;
1891
- }
1892
- },
1893
- // Called when an error from any descendent component is captured
1894
- // We need this because an error can occur from any of the children
1895
- // in the widget stack and are typically thrown on create()
1896
- errorCaptured(t, e, l) {
1897
- return console.log({ err: t, vm: e, info: l }), this.errors.length < B && (console.log({ errors: this.errors }), t.usage ? this.errors.push({
1898
- type: "usage",
1899
- message: t.message,
1900
- usage: t.usage,
1901
- line: t.line,
1902
- lineNumber: t.lineNumber,
1903
- time: (/* @__PURE__ */ new Date()).getTime()
1904
- }) : this.errors.push({
1905
- type: "error",
1906
- message: t,
1907
- time: (/* @__PURE__ */ new Date()).getTime()
1908
- }), this.configError = !0), !1;
1909
- },
1910
- created() {
1911
- this.api = new L(), this.configParser = new q(), this.parseDefinition(), this.screenKey = Math.floor(Math.random() * 1e6);
1912
- },
1913
- mounted() {
1914
- this.updateRefreshInterval(), this.floated && (this.$refs.bar.onmousedown = this.dragMouseDown, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex);
1915
- },
1916
- unmounted() {
1917
- this.updater != null && (clearInterval(this.updater), this.updater = null);
1918
- },
1919
- methods: {
1920
- // These are API methods that ButtonWidget uses to open and close screens
1921
- open(t, e) {
1922
- this.$parent.showScreen(t, e);
1923
- },
1924
- close(t, e) {
1925
- this.$parent.closeScreenByName(t, e);
1926
- },
1927
- closeAll() {
1928
- this.$parent.closeAll();
1929
- },
1930
- clearErrors: function() {
1931
- this.errors = [], this.configError = !1;
1932
- },
1933
- updateRefreshInterval: function() {
1934
- let t = this.pollingPeriod * 1e3;
1935
- this.updater && clearInterval(this.updater), this.updater = setInterval(() => {
1936
- this.update();
1937
- }, t);
1938
- },
1939
- parseDefinition: function() {
1940
- if (this.clearErrors(), this.namedWidgets = {}, this.layoutStack = [], this.dynamicWidgets = [], this.layoutStack.push({
1941
- type: "VerticalWidget",
1942
- parameters: [],
1943
- widgets: []
1944
- }), this.currentLayout = this.layoutStack[this.layoutStack.length - 1], this.configParser.parse_string(
1945
- this.currentDefinition,
1946
- "",
1947
- !1,
1948
- !0,
1949
- (t, e, l, o) => {
1950
- if (t)
1951
- switch (t) {
1952
- case "SCREEN":
1953
- this.configParser.verify_num_parameters(
1954
- 3,
1955
- 4,
1956
- `${t} <Width or AUTO> <Height or AUTO> <Polling Period>`
1957
- ), this.width = parseInt(e[0]), this.height = parseInt(e[1]), this.pollingPeriod = parseFloat(e[2]);
1958
- break;
1959
- case "END":
1960
- this.configParser.verify_num_parameters(0, 0, `${t}`), this.layoutStack.pop(), this.currentLayout = this.layoutStack[this.layoutStack.length - 1];
1961
- break;
1962
- case "STALE_TIME":
1963
- this.configParser.verify_num_parameters(
1964
- 1,
1965
- 1,
1966
- `${t} <Time (s)>`
1967
- ), this.staleTime = parseInt(e[0]);
1968
- break;
1969
- case "SETTING":
1970
- case "SUBSETTING":
1971
- (this.currentLayout.widgets[this.currentLayout.widgets.length - 1] ?? this.currentLayout).settings.push(e);
1972
- break;
1973
- case "GLOBAL_SETTING":
1974
- case "GLOBAL_SUBSETTING":
1975
- this.globalSettings.push(e);
1976
- break;
1977
- default:
1978
- this.processWidget(t, e, l, o);
1979
- break;
1980
- }
1981
- }
1982
- ), typeof this.layoutStack[0] > "u") {
1983
- let t = [], e = [];
1984
- for (const l of this.dynamicWidgets)
1985
- t.push(l.name), e.push(l.lineNumber);
1986
- this.errors.length < B && (this.errors.push({
1987
- type: "usage",
1988
- message: `Unknown widget! Are these widgets: ${t.join(",")}?`,
1989
- lineNumber: e.join(","),
1990
- time: (/* @__PURE__ */ new Date()).getTime()
1991
- }), this.configError = !0), this.layoutStack[0] = {
1992
- type: "VerticalWidget",
1993
- parameters: [],
1994
- widgets: []
1995
- };
1996
- } else
1997
- this.applyGlobalSettings(this.layoutStack[0].widgets);
1998
- },
1999
- openEdit: function() {
2000
- this.backup = this.currentDefinition.repeat(1), this.editDialog = !0;
2001
- },
2002
- upScreen: function() {
2003
- this.zIndex += 1, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex, this.$emit("drag-screen", [
2004
- this.floated,
2005
- this.top,
2006
- this.left,
2007
- this.zIndex
2008
- ]);
2009
- },
2010
- downScreen: function() {
2011
- this.zIndex > this.minZ && (this.zIndex -= 1, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex, this.$emit("drag-screen", [
2012
- this.floated,
2013
- this.top,
2014
- this.left,
2015
- this.zIndex
2016
- ]));
2017
- },
2018
- floatScreen: function() {
2019
- if (this.floated)
2020
- this.$refs.bar.onmousedown = null, this.$refs.bar.parentElement.parentElement.style = "z-index: 0", this.floated = !1, this.$emit("unfloat-screen", [
2021
- this.floated,
2022
- this.top,
2023
- this.left,
2024
- this.zIndex
2025
- ]);
2026
- else {
2027
- let t = this.$refs.bar.parentElement.parentElement.parentElement.getBoundingClientRect(), e = this.$refs.bar.getBoundingClientRect();
2028
- this.top = e.top - t.top - 5, this.left = e.left - t.left - 5, this.$refs.bar.onmousedown = this.dragMouseDown, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex, this.floated = !0, this.$emit("float-screen", [
2029
- this.floated,
2030
- this.top,
2031
- this.left,
2032
- this.zIndex
2033
- ]);
2034
- }
2035
- },
2036
- dragMouseDown: function(t) {
2037
- t = t || window.event, t.preventDefault(), this.dragX = t.clientX, this.dragY = t.clientY, document.onmouseup = this.closeDragElement, document.onmousemove = this.elementDrag;
2038
- },
2039
- elementDrag: function(t) {
2040
- t = t || window.event, t.preventDefault();
2041
- let e = this.dragX - t.clientX, l = this.dragY - t.clientY;
2042
- this.dragX = t.clientX, this.dragY = t.clientY, this.top = this.$refs.bar.offsetTop - l, this.left = this.$refs.bar.offsetLeft - e, this.$emit("drag-screen", [
2043
- this.floated,
2044
- this.top,
2045
- this.left,
2046
- this.zIndex
2047
- ]);
2048
- },
2049
- closeDragElement: function() {
2050
- document.onmouseup = null, document.onmousemove = null;
2051
- },
2052
- rerender: function() {
2053
- this.parseDefinition(), this.updateRefreshInterval(), this.screenKey = Math.floor(Math.random() * 1e6), this.$nextTick(function() {
2054
- this.clearErrors(), this.$emit("edit-screen");
2055
- });
2056
- },
2057
- cancelEdit: function() {
2058
- this.file = null, this.editDialog = !1, this.currentDefinition = this.backup, this.rerender();
2059
- },
2060
- saveEdit: function(t) {
2061
- this.editDialog = !1, this.currentDefinition = t, this.rerender(), this.$nextTick(function() {
2062
- E.post(
2063
- "/openc3-api/screen/",
2064
- {
2065
- data: {
2066
- scope: window.openc3Scope,
2067
- target: this.target,
2068
- screen: this.screen,
2069
- text: this.currentDefinition
2070
- }
2071
- },
2072
- 0
2073
- );
2074
- });
2075
- },
2076
- deleteScreen: function() {
2077
- this.editDialog = !1, E.delete(`/openc3-api/screen/${this.target}/${this.screen}`).then(
2078
- (t) => {
2079
- this.$emit("delete-screen");
2080
- }
2081
- );
2082
- },
2083
- minMaxTransition: function() {
2084
- this.expand = !this.expand, this.$emit("min-max-screen");
2085
- },
2086
- processWidget: function(t, e, l, o) {
2087
- let s = null;
2088
- t === "NAMED_WIDGET" && (this.configParser.verify_num_parameters(
2089
- 2,
2090
- null,
2091
- `${t} <Widget Name> <Widget Type> <Widget Settings... (optional)>`
2092
- ), s = e[0].toUpperCase(), t = e[1].toUpperCase(), e = e.slice(2, e.length));
2093
- const a = t.charAt(0).toUpperCase() + t.slice(1).toLowerCase() + "Widget";
2094
- let u = [];
2095
- if (u.push(["__SCREEN_ID__", this.screenId]), s !== null && u.push(["NAMED_WIDGET", s]), t === "VERTICAL" || t === "VERTICALBOX" || t === "HORIZONTAL" || t === "HORIZONTALBOX" || t === "MATRIXBYCOLUMNS" || t === "TABBOOK" || t === "TABITEM" || t === "CANVAS" || t === "RADIOGROUP" || t === "SCROLLWINDOW") {
2096
- const m = {
2097
- type: a,
2098
- parameters: e,
2099
- settings: u,
2100
- screenValues: this.screenValues,
2101
- screenTimeZone: this.timeZone,
2102
- widgets: []
2103
- };
2104
- this.layoutStack.push(m), this.currentLayout.widgets.push(m), this.currentLayout = m;
2105
- } else if (this.$options.components[a])
2106
- this.currentLayout.widgets.push({
2107
- type: a,
2108
- target: this.target,
2109
- parameters: e,
2110
- settings: u,
2111
- screenValues: this.screenValues,
2112
- screenTimeZone: this.timeZone,
2113
- line: l,
2114
- lineNumber: o
2115
- });
2116
- else {
2117
- let m = {
2118
- type: "DynamicWidget",
2119
- target: this.target,
2120
- parameters: e,
2121
- settings: u,
2122
- screenValues: this.screenValues,
2123
- screenTimeZone: this.timeZone,
2124
- name: a,
2125
- line: l,
2126
- lineNumber: o
2127
- };
2128
- this.currentLayout.widgets.push(m), this.dynamicWidgets.push(m);
2129
- }
2130
- },
2131
- applyGlobalSettings: function(t) {
2132
- t.forEach((e) => {
2133
- this.globalSettings.forEach((l) => {
2134
- e.type.toLowerCase() === l[0].toLowerCase() + "widget" && e.settings.push(l.slice(1));
2135
- }), e.widgets && this.applyGlobalSettings(e.widgets);
2136
- });
2137
- },
2138
- update: function() {
2139
- this.screenItems.length !== 0 && this.configError === !1 && this.api.get_tlm_values(this.screenItems, this.staleTime, this.cacheTimeout).then((t) => {
2140
- this.clearErrors(), this.updateValues(t);
2141
- }).catch((t) => {
2142
- let e = JSON.stringify(t, null, 2);
2143
- e.includes("no response received") || (this.configError = !0), this.errors.find((l) => l.message === e) || this.errors.length < B && this.errors.push({
2144
- type: "error",
2145
- message: e,
2146
- time: (/* @__PURE__ */ new Date()).getTime()
2147
- });
2148
- });
2149
- },
2150
- updateValues: function(t) {
2151
- this.updateCounter += 1;
2152
- for (let e = 0; e < t.length; e++)
2153
- t[e].push(this.updateCounter), this.screenValues[this.screenItems[e]] = t[e];
2154
- },
2155
- addItem: function(t) {
2156
- this.screenItems.push(t), this.screenValues[t] = [null, null, 0];
2157
- },
2158
- deleteItem: function(t) {
2159
- let e = this.screenItems.indexOf(t);
2160
- this.screenItems.splice(e, 1);
2161
- }
2162
- }
2163
- }, Le = {
2164
- class: "pa-1",
2165
- style: { position: "relative" },
2166
- ref: "screen"
2167
- };
2168
- function Ue(t, e, l, o, s, a) {
2169
- const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-overlay"), f = r("vertical-widget"), x = r("v-expand-transition"), b = r("v-card"), k = r("edit-screen-dialog"), p = r("v-textarea"), g = r("v-dialog");
2170
- return w(), P("div", {
2171
- style: Z(a.computedStyle),
2172
- ref: "bar"
2173
- }, [
2174
- i(b, {
2175
- "min-height": s.height,
2176
- "min-width": s.width,
2177
- style: { cursor: "default" }
2178
- }, {
2179
- default: n(() => [
2180
- i(v, { height: "24" }, {
2181
- default: n(() => [
2182
- A(d("div", null, [
2183
- i(m, { location: "top" }, {
2184
- activator: n(({ props: c }) => [
2185
- d("div", S(D(c)), [
2186
- i(u, {
2187
- "data-test": "error-graph-icon",
2188
- onClick: e[0] || (e[0] = (C) => s.errorDialog = !0)
2189
- }, {
2190
- default: n(() => e[7] || (e[7] = [
2191
- y(" mdi-alert ")
2192
- ])),
2193
- _: 1
2194
- })
2195
- ], 16)
2196
- ]),
2197
- default: n(() => [
2198
- e[8] || (e[8] = d("span", null, " Errors ", -1))
2199
- ]),
2200
- _: 1
2201
- })
2202
- ], 512), [
2203
- [R, s.errors.length !== 0]
2204
- ]),
2205
- i(m, { location: "top" }, {
2206
- activator: n(({ props: c }) => [
2207
- d("div", S(D(c)), [
2208
- i(u, {
2209
- "data-test": "edit-screen-icon",
2210
- onClick: a.openEdit
2211
- }, {
2212
- default: n(() => e[9] || (e[9] = [
2213
- y(" mdi-pencil ")
2214
- ])),
2215
- _: 1
2216
- }, 8, ["onClick"])
2217
- ], 16)
2218
- ]),
2219
- default: n(() => [
2220
- e[10] || (e[10] = d("span", null, " Edit Screen ", -1))
2221
- ]),
2222
- _: 1
2223
- }),
2224
- l.fixFloated ? V("", !0) : (w(), T(m, {
2225
- key: 0,
2226
- location: "top"
2227
- }, {
2228
- activator: n(({ props: c }) => [
2229
- d("div", S(D(c)), [
2230
- i(u, {
2231
- "data-test": "float-screen-icon",
2232
- onClick: a.floatScreen
2233
- }, {
2234
- default: n(() => [
2235
- y(N(s.floated ? "mdi-balloon" : "mdi-view-grid-outline"), 1)
2236
- ]),
2237
- _: 1
2238
- }, 8, ["onClick"])
2239
- ], 16)
2240
- ]),
2241
- default: n(() => [
2242
- d("span", null, N(s.floated ? "Unfloat Screen" : "Float Screen"), 1)
2243
- ]),
2244
- _: 1
2245
- })),
2246
- s.floated ? (w(), T(m, {
2247
- key: 1,
2248
- location: "top"
2249
- }, {
2250
- activator: n(({ props: c }) => [
2251
- d("div", S(D(c)), [
2252
- i(u, {
2253
- "data-test": "up-screen-icon",
2254
- onClick: a.upScreen
2255
- }, {
2256
- default: n(() => e[11] || (e[11] = [
2257
- y(" mdi-arrow-up ")
2258
- ])),
2259
- _: 1
2260
- }, 8, ["onClick"])
2261
- ], 16)
2262
- ]),
2263
- default: n(() => [
2264
- e[12] || (e[12] = d("span", null, " Move Screen Up ", -1))
2265
- ]),
2266
- _: 1
2267
- })) : V("", !0),
2268
- s.floated && s.zIndex > l.minZ ? (w(), T(m, {
2269
- key: 2,
2270
- location: "top"
2271
- }, {
2272
- activator: n(({ props: c }) => [
2273
- d("div", S(D(c)), [
2274
- i(u, {
2275
- "data-test": "down-screen-icon",
2276
- onClick: a.downScreen
2277
- }, {
2278
- default: n(() => e[13] || (e[13] = [
2279
- y(" mdi-arrow-down ")
2280
- ])),
2281
- _: 1
2282
- }, 8, ["onClick"])
2283
- ], 16)
2284
- ]),
2285
- default: n(() => [
2286
- e[14] || (e[14] = d("span", null, " Move Screen Down ", -1))
2287
- ]),
2288
- _: 1
2289
- })) : V("", !0),
2290
- i(h),
2291
- d("span", null, N(l.target) + " " + N(l.screen), 1),
2292
- i(h),
2293
- i(m, { location: "top" }, {
2294
- activator: n(({ props: c }) => [
2295
- d("div", S(D(c)), [
2296
- A(i(u, {
2297
- "data-test": "minimize-screen-icon",
2298
- onClick: a.minMaxTransition
2299
- }, {
2300
- default: n(() => e[15] || (e[15] = [
2301
- y(" mdi-window-minimize ")
2302
- ])),
2303
- _: 1
2304
- }, 8, ["onClick"]), [
2305
- [R, s.expand]
2306
- ]),
2307
- A(i(u, {
2308
- "data-test": "maximize-screen-icon",
2309
- onClick: a.minMaxTransition
2310
- }, {
2311
- default: n(() => e[16] || (e[16] = [
2312
- y(" mdi-window-maximize ")
2313
- ])),
2314
- _: 1
2315
- }, 8, ["onClick"]), [
2316
- [R, !s.expand]
2317
- ])
2318
- ], 16)
2319
- ]),
2320
- default: n(() => [
2321
- A(d("span", null, " Minimize Screen ", 512), [
2322
- [R, s.expand]
2323
- ]),
2324
- A(d("span", null, " Maximize Screen ", 512), [
2325
- [R, !s.expand]
2326
- ])
2327
- ]),
2328
- _: 1
2329
- }),
2330
- l.showClose ? (w(), T(m, {
2331
- key: 3,
2332
- location: "top"
2333
- }, {
2334
- activator: n(({ props: c }) => [
2335
- d("div", S(D(c)), [
2336
- i(u, {
2337
- "data-test": "close-screen-icon",
2338
- onClick: e[1] || (e[1] = (C) => t.$emit("close-screen"))
2339
- }, {
2340
- default: n(() => e[17] || (e[17] = [
2341
- y(" mdi-close-box ")
2342
- ])),
2343
- _: 1
2344
- })
2345
- ], 16)
2346
- ]),
2347
- default: n(() => [
2348
- e[18] || (e[18] = d("span", null, " Close Screen ", -1))
2349
- ]),
2350
- _: 1
2351
- })) : V("", !0)
2352
- ]),
2353
- _: 1
2354
- }),
2355
- s.editDialog ? V("", !0) : (w(), T(x, { key: 0 }, {
2356
- default: n(() => [
2357
- A(d("div", Le, [
2358
- i(_, {
2359
- style: { "pointer-events": "none" },
2360
- "model-value": s.errors.length !== 0,
2361
- opacity: "0.8",
2362
- absolute: "",
2363
- attach: ""
2364
- }, null, 8, ["model-value"]),
2365
- (w(), T(f, {
2366
- key: s.screenKey,
2367
- widgets: s.layoutStack[0].widgets,
2368
- "screen-values": s.screenValues,
2369
- "screen-time-zone": l.timeZone,
2370
- onAddItem: a.addItem,
2371
- onDeleteItem: a.deleteItem,
2372
- onOpen: a.open,
2373
- onClose: a.close,
2374
- onCloseAll: a.closeAll
2375
- }, null, 8, ["widgets", "screen-values", "screen-time-zone", "onAddItem", "onDeleteItem", "onOpen", "onClose", "onCloseAll"]))
2376
- ], 512), [
2377
- [R, s.expand]
2378
- ])
2379
- ]),
2380
- _: 1
2381
- }))
2382
- ]),
2383
- _: 1
2384
- }, 8, ["min-height", "min-width"]),
2385
- s.editDialog ? (w(), T(k, {
2386
- key: 0,
2387
- modelValue: s.editDialog,
2388
- "onUpdate:modelValue": e[2] || (e[2] = (c) => s.editDialog = c),
2389
- target: l.target,
2390
- screen: l.screen,
2391
- definition: s.currentDefinition,
2392
- keywords: l.keywords,
2393
- errors: s.errors,
2394
- onSave: e[3] || (e[3] = (c) => a.saveEdit(c)),
2395
- onCancel: e[4] || (e[4] = (c) => a.cancelEdit()),
2396
- onDelete: e[5] || (e[5] = (c) => a.deleteScreen())
2397
- }, null, 8, ["modelValue", "target", "screen", "definition", "keywords", "errors"])) : V("", !0),
2398
- i(g, {
2399
- modelValue: s.errorDialog,
2400
- "onUpdate:modelValue": e[6] || (e[6] = (c) => s.errorDialog = c),
2401
- width: "60vw"
2402
- }, {
2403
- default: n(() => [
2404
- i(v, { height: "24" }, {
2405
- default: n(() => [
2406
- i(h),
2407
- d("span", null, " Screen: " + N(l.target) + " " + N(l.screen) + " Errors ", 1),
2408
- i(h)
2409
- ]),
2410
- _: 1
2411
- }),
2412
- i(b, null, {
2413
- default: n(() => [
2414
- i(p, {
2415
- class: "errors",
2416
- readonly: "",
2417
- rows: "13",
2418
- "model-value": a.error
2419
- }, null, 8, ["model-value"])
2420
- ]),
2421
- _: 1
2422
- })
2423
- ]),
2424
- _: 1
2425
- }, 8, ["modelValue"])
2426
- ], 4);
2427
- }
2428
- const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347"]]), Oe = {
802
+ const Te = /* @__PURE__ */ D(ne, [["render", ce]]), de = {
2429
803
  props: {
2430
804
  allowAll: {
2431
805
  type: Boolean,
@@ -2463,6 +837,10 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2463
837
  type: Boolean,
2464
838
  default: !1
2465
839
  },
840
+ showLatest: {
841
+ type: Boolean,
842
+ default: !1
843
+ },
2466
844
  mode: {
2467
845
  type: String,
2468
846
  default: "tlm",
@@ -2483,14 +861,14 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2483
861
  }
2484
862
  },
2485
863
  data() {
2486
- var t, e, l;
864
+ var t, e, i;
2487
865
  return {
2488
866
  targetNames: [],
2489
867
  selectedTargetName: (t = this.initialTargetName) == null ? void 0 : t.toUpperCase(),
2490
868
  packetNames: [],
2491
869
  selectedPacketName: (e = this.initialPacketName) == null ? void 0 : e.toUpperCase(),
2492
870
  itemNames: [],
2493
- selectedItemName: (l = this.initialItemName) == null ? void 0 : l.toUpperCase(),
871
+ selectedItemName: (i = this.initialItemName) == null ? void 0 : i.toUpperCase(),
2494
872
  valueTypes: ["CONVERTED", "RAW"],
2495
873
  selectedValueType: "CONVERTED",
2496
874
  reductionModes: [
@@ -2524,7 +902,7 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2524
902
  };
2525
903
  },
2526
904
  created() {
2527
- this.internalDisabled = !0, this.api = new L(), this.api.get_target_names().then((t) => {
905
+ this.internalDisabled = !0, this.api = new k(), this.api.get_target_names().then((t) => {
2528
906
  this.targetNames = t.flatMap((e) => e == "UNKNOWN" ? [] : { label: e, value: e }), this.allowAllTargets && this.targetNames.unshift(this.ALL), this.selectedTargetName ? this.updatePackets() : (this.selectedTargetName = this.targetNames[0].value, this.targetNameChanged(this.selectedTargetName)), this.unknown && this.targetNames.push(this.UNKNOWN);
2529
907
  });
2530
908
  },
@@ -2543,6 +921,9 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2543
921
  },
2544
922
  selectedItemNameWIndex: function() {
2545
923
  return this.itemIsArray() && this.selectedArrayIndex !== null && this.selectedArrayIndex !== this.ALL.label ? `${this.selectedItemName}[${this.selectedArrayIndex}]` : this.selectedItemName;
924
+ },
925
+ includeLatestPacketInDropdown: function() {
926
+ return this.showLatest && this.mode === "tlm";
2546
927
  }
2547
928
  },
2548
929
  watch: {
@@ -2575,39 +956,49 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2575
956
  this.internalDisabled = !0;
2576
957
  const t = this.mode === "tlm" ? "get_all_tlm_names" : "get_all_cmd_names";
2577
958
  this.api[t](this.selectedTargetName, this.hidden).then((e) => {
2578
- this.packetNames = e.map((o) => ({
2579
- label: o,
2580
- value: o
2581
- })), this.allowAll && this.packetNames.unshift(this.ALL), this.selectedPacketName || (this.selectedPacketName = this.packetNames[0].value), this.updatePacketDetails(this.selectedPacketName), this.packetNames.find((o) => o.value === this.selectedPacketName) && this.chooseItem && this.updateItems(), this.internalDisabled = !1;
959
+ this.packetNames = e.map((c) => ({
960
+ label: c,
961
+ value: c
962
+ })), this.allowAll && this.packetNames.unshift(this.ALL), this.selectedPacketName || (this.selectedPacketName = this.packetNames[0].value), this.updatePacketDetails(this.selectedPacketName), this.packetNames.find((c) => c.value === this.selectedPacketName) && this.chooseItem && this.updateItems(), this.internalDisabled = !1;
2582
963
  });
2583
964
  },
2584
965
  updateItems: function() {
2585
- if (this.selectedPacketName === "ALL")
2586
- return;
2587
- this.internalDisabled = !0;
2588
- const t = this.mode === "tlm" ? "get_tlm" : "get_cmd";
2589
- this.api[t](this.selectedTargetName, this.selectedPacketName).then(
2590
- (e) => {
2591
- this.itemNames = e.items.map((l) => {
2592
- let o = l.name;
2593
- return l.data_type == "DERIVED" && (o += " *"), [
2594
- {
2595
- label: o,
2596
- value: l.name,
2597
- description: l.description,
2598
- array: l.array_size / l.bit_size
2599
- }
2600
- ];
2601
- }).reduce((l, o) => l.concat(o), []), this.itemNames.sort((l, o) => l.label > o.label ? 1 : -1), this.allowAll && this.itemNames.unshift(this.ALL), this.selectedItemName || (this.selectedItemName = this.itemNames[0].value), this.description = this.itemNames[0].description, this.itemIsArray(), this.$emit("on-set", {
2602
- targetName: this.selectedTargetName,
2603
- packetName: this.selectedPacketName,
2604
- itemName: this.selectedItemNameWIndex,
2605
- valueType: this.selectedValueType,
2606
- reduced: this.selectedReduced,
2607
- reducedType: this.selectedReducedType
2608
- }), this.internalDisabled = !1;
966
+ if (this.selectedPacketName !== "ALL")
967
+ if (this.internalDisabled = !0, this.selectedPacketName === "LATEST")
968
+ this.api.get_all_tlm_item_names(this.selectedTargetName).then((t) => {
969
+ this.itemNames = t.map((e) => ({
970
+ label: e,
971
+ value: e,
972
+ description: `LATEST ${e}`
973
+ // Don't handle array for LATEST
974
+ })), this.finishUpdateItems();
975
+ });
976
+ else {
977
+ const t = this.mode === "tlm" ? "get_tlm" : "get_cmd";
978
+ this.api[t](this.selectedTargetName, this.selectedPacketName).then(
979
+ (e) => {
980
+ this.itemNames = e.items.map((i) => {
981
+ let c = i.name;
982
+ return i.data_type == "DERIVED" && (c += " *"), {
983
+ label: c,
984
+ value: i.name,
985
+ description: i.description,
986
+ array: i.array_size / i.bit_size
987
+ };
988
+ }), this.itemNames.sort((i, c) => i.label > c.label ? 1 : -1), this.finishUpdateItems();
989
+ }
990
+ );
2609
991
  }
2610
- );
992
+ },
993
+ finishUpdateItems: function() {
994
+ this.allowAll && this.itemNames.unshift(this.ALL), this.selectedItemName || (this.selectedItemName = this.itemNames[0].value), this.description = this.itemNames[0].description, this.itemIsArray(), this.$emit("on-set", {
995
+ targetName: this.selectedTargetName,
996
+ packetName: this.selectedPacketName,
997
+ itemName: this.selectedItemNameWIndex,
998
+ valueType: this.selectedValueType,
999
+ reduced: this.selectedReduced,
1000
+ reducedType: this.selectedReducedType
1001
+ }), this.internalDisabled = !1;
2611
1002
  },
2612
1003
  itemIsArray: function() {
2613
1004
  let t = this.itemNames.findIndex(
@@ -2617,7 +1008,7 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2617
1008
  },
2618
1009
  arrayIndexes: function() {
2619
1010
  let t = this.itemNames.findIndex(
2620
- (l) => l.value === this.selectedItemName
1011
+ (i) => i.value === this.selectedItemName
2621
1012
  ), e = [...Array(this.itemNames[t].array).keys()];
2622
1013
  return this.allowAll && e.unshift(this.ALL.label), e;
2623
1014
  },
@@ -2630,15 +1021,17 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2630
1021
  updatePacketDetails: function(t) {
2631
1022
  if (t === "ALL")
2632
1023
  this.itemsDisabled = !0, this.internalDisabled = !1;
1024
+ else if (t === "LATEST")
1025
+ this.itemsDisabled = !1, this.selectedPacketName = "LATEST";
2633
1026
  else {
2634
1027
  this.itemsDisabled = !1;
2635
- const e = this.packetNames.find((l) => t === l.value);
1028
+ const e = this.packetNames.find((i) => t === i.value);
2636
1029
  if (e) {
2637
1030
  this.selectedPacketName = e.value;
2638
- const l = this.mode === "tlm" ? "get_tlm" : "get_cmd";
2639
- this.api[l](this.selectedTargetName, this.selectedPacketName).then(
2640
- (o) => {
2641
- this.description = o.description, this.hazardous = o.hazardous;
1031
+ const i = this.mode === "tlm" ? "get_tlm" : "get_cmd";
1032
+ this.api[i](this.selectedTargetName, this.selectedPacketName).then(
1033
+ (c) => {
1034
+ this.description = c.description, this.hazardous = c.hazardous;
2642
1035
  }
2643
1036
  );
2644
1037
  }
@@ -2653,7 +1046,7 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2653
1046
  });
2654
1047
  },
2655
1048
  itemNameChanged: function(t) {
2656
- const e = this.itemNames.find((l) => t === l.value);
1049
+ const e = this.itemNames.find((i) => t === i.value);
2657
1050
  e && (this.itemIsArray(), this.selectedItemName = e.value, this.description = e.description, this.$emit("on-set", {
2658
1051
  targetName: this.selectedTargetName,
2659
1052
  packetName: this.selectedPacketName,
@@ -2694,12 +1087,12 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2694
1087
  if (t === this.ALL) return;
2695
1088
  const e = this.mode === "tlm" ? "get_tlm" : "get_cmd";
2696
1089
  this.api[e](this.selectedTargetName, t.value).then(
2697
- (l) => {
2698
- l.items.forEach((o) => {
1090
+ (i) => {
1091
+ i.items.forEach((c) => {
2699
1092
  this.$emit("addItem", {
2700
1093
  targetName: this.selectedTargetName,
2701
1094
  packetName: t.value,
2702
- itemName: o.name,
1095
+ itemName: c.name,
2703
1096
  valueType: this.selectedValueType,
2704
1097
  reduced: this.selectedReduced,
2705
1098
  reducedType: this.selectedReducedType
@@ -2722,87 +1115,99 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
2722
1115
  });
2723
1116
  }
2724
1117
  }
2725
- }, Pe = { class: "pt-4 pb-4" };
2726
- function Fe(t, e, l, o, s, a) {
2727
- const u = r("v-autocomplete"), m = r("v-col"), h = r("v-combobox"), v = r("v-btn"), _ = r("v-row");
2728
- return w(), P("div", Pe, [
2729
- i(_, {
2730
- "no-gutters": !l.vertical
1118
+ }, re = { class: "pt-4 pb-4" };
1119
+ function ue(t, e, i, c, l, a) {
1120
+ const h = o("v-autocomplete"), f = o("v-col"), p = o("v-list-item"), N = o("v-divider"), g = o("v-combobox"), T = o("v-btn"), y = o("v-row");
1121
+ return _(), R("div", re, [
1122
+ s(y, {
1123
+ "no-gutters": !i.vertical
2731
1124
  }, {
2732
1125
  default: n(() => [
2733
- i(m, {
1126
+ s(f, {
2734
1127
  cols: a.colSize,
2735
1128
  class: "tpic-select pr-4",
2736
1129
  "data-test": "select-target"
2737
1130
  }, {
2738
1131
  default: n(() => [
2739
- i(u, {
1132
+ s(h, {
2740
1133
  label: "Select Target",
2741
1134
  "hide-details": "",
2742
1135
  density: "compact",
2743
1136
  variant: "outlined",
2744
1137
  "onUpdate:modelValue": [
2745
1138
  a.targetNameChanged,
2746
- e[0] || (e[0] = (f) => s.selectedTargetName = f)
1139
+ e[0] || (e[0] = (d) => l.selectedTargetName = d)
2747
1140
  ],
2748
- items: s.targetNames,
1141
+ items: l.targetNames,
2749
1142
  "item-title": "label",
2750
1143
  "item-value": "value",
2751
- modelValue: s.selectedTargetName
1144
+ modelValue: l.selectedTargetName
2752
1145
  }, null, 8, ["onUpdate:modelValue", "items", "modelValue"])
2753
1146
  ]),
2754
1147
  _: 1
2755
1148
  }, 8, ["cols"]),
2756
- i(m, {
1149
+ s(f, {
2757
1150
  cols: a.colSize,
2758
1151
  class: "tpic-select pr-4",
2759
1152
  "data-test": "select-packet"
2760
1153
  }, {
2761
1154
  default: n(() => [
2762
- i(u, {
1155
+ s(h, {
2763
1156
  label: "Select Packet",
2764
1157
  "hide-details": "",
2765
1158
  density: "compact",
2766
1159
  variant: "outlined",
2767
1160
  "onUpdate:modelValue": [
2768
1161
  a.packetNameChanged,
2769
- e[1] || (e[1] = (f) => s.selectedPacketName = f)
1162
+ e[2] || (e[2] = (d) => l.selectedPacketName = d)
2770
1163
  ],
2771
- disabled: s.packetsDisabled || a.autocompleteDisabled,
2772
- items: s.packetNames,
1164
+ disabled: l.packetsDisabled || a.autocompleteDisabled,
1165
+ items: l.packetNames,
2773
1166
  "item-title": "label",
2774
1167
  "item-value": "value",
2775
- modelValue: s.selectedPacketName
2776
- }, null, 8, ["onUpdate:modelValue", "disabled", "items", "modelValue"])
1168
+ modelValue: l.selectedPacketName
1169
+ }, z({ _: 2 }, [
1170
+ a.includeLatestPacketInDropdown ? {
1171
+ name: "prepend-item",
1172
+ fn: n(() => [
1173
+ s(p, {
1174
+ title: "LATEST",
1175
+ onClick: e[1] || (e[1] = (d) => a.packetNameChanged("LATEST"))
1176
+ }),
1177
+ s(N)
1178
+ ]),
1179
+ key: "0"
1180
+ } : void 0
1181
+ ]), 1032, ["onUpdate:modelValue", "disabled", "items", "modelValue"])
2777
1182
  ]),
2778
1183
  _: 1
2779
1184
  }, 8, ["cols"]),
2780
- l.chooseItem ? (w(), T(m, {
1185
+ i.chooseItem ? (_(), w(f, {
2781
1186
  key: 0,
2782
1187
  cols: a.colSize,
2783
1188
  class: "tpic-select pr-4",
2784
1189
  "data-test": "select-item"
2785
1190
  }, {
2786
1191
  default: n(() => [
2787
- i(u, {
1192
+ s(h, {
2788
1193
  label: "Select Item",
2789
1194
  "hide-details": "",
2790
1195
  density: "compact",
2791
1196
  variant: "outlined",
2792
1197
  "onUpdate:modelValue": [
2793
- e[2] || (e[2] = (f) => a.itemNameChanged(f)),
2794
- e[3] || (e[3] = (f) => s.selectedItemName = f)
1198
+ e[3] || (e[3] = (d) => a.itemNameChanged(d)),
1199
+ e[4] || (e[4] = (d) => l.selectedItemName = d)
2795
1200
  ],
2796
- disabled: s.itemsDisabled || a.autocompleteDisabled,
2797
- items: s.itemNames,
1201
+ disabled: l.itemsDisabled || a.autocompleteDisabled,
1202
+ items: l.itemNames,
2798
1203
  "item-title": "label",
2799
1204
  "item-value": "value",
2800
- modelValue: s.selectedItemName
1205
+ modelValue: l.selectedItemName
2801
1206
  }, null, 8, ["disabled", "items", "modelValue"])
2802
1207
  ]),
2803
1208
  _: 1
2804
- }, 8, ["cols"])) : V("", !0),
2805
- l.chooseItem && a.itemIsArray() ? (w(), T(m, {
1209
+ }, 8, ["cols"])) : I("", !0),
1210
+ i.chooseItem && a.itemIsArray() ? (_(), w(f, {
2806
1211
  key: 1,
2807
1212
  cols: "1",
2808
1213
  class: "tpic-select pr-4",
@@ -2810,129 +1215,129 @@ function Fe(t, e, l, o, s, a) {
2810
1215
  style: { "min-width": "105px" }
2811
1216
  }, {
2812
1217
  default: n(() => [
2813
- i(h, {
1218
+ s(g, {
2814
1219
  label: "Index",
2815
1220
  "hide-details": "",
2816
1221
  density: "compact",
2817
1222
  variant: "outlined",
2818
1223
  "onUpdate:modelValue": [
2819
- e[4] || (e[4] = (f) => a.indexChanged(f)),
2820
- e[5] || (e[5] = (f) => s.selectedArrayIndex = f)
1224
+ e[5] || (e[5] = (d) => a.indexChanged(d)),
1225
+ e[6] || (e[6] = (d) => l.selectedArrayIndex = d)
2821
1226
  ],
2822
- disabled: s.itemsDisabled || a.autocompleteDisabled,
1227
+ disabled: l.itemsDisabled || a.autocompleteDisabled,
2823
1228
  items: a.arrayIndexes(),
2824
1229
  "item-title": "label",
2825
1230
  "item-value": "value",
2826
- modelValue: s.selectedArrayIndex
1231
+ modelValue: l.selectedArrayIndex
2827
1232
  }, null, 8, ["disabled", "items", "modelValue"])
2828
1233
  ]),
2829
1234
  _: 1
2830
- })) : V("", !0),
2831
- l.buttonText ? (w(), T(m, {
1235
+ })) : I("", !0),
1236
+ i.buttonText ? (_(), w(f, {
2832
1237
  key: 2,
2833
1238
  cols: a.colSize,
2834
1239
  style: { "max-width": "140px" }
2835
1240
  }, {
2836
1241
  default: n(() => [
2837
- i(v, {
1242
+ s(T, {
2838
1243
  disabled: a.buttonDisabled,
2839
1244
  color: "primary",
2840
1245
  "data-test": "select-send",
2841
1246
  onClick: a.buttonPressed
2842
1247
  }, {
2843
1248
  default: n(() => [
2844
- y(N(a.actualButtonText), 1)
1249
+ v(b(a.actualButtonText), 1)
2845
1250
  ]),
2846
1251
  _: 1
2847
1252
  }, 8, ["disabled", "onClick"])
2848
1253
  ]),
2849
1254
  _: 1
2850
- }, 8, ["cols"])) : V("", !0)
1255
+ }, 8, ["cols"])) : I("", !0)
2851
1256
  ]),
2852
1257
  _: 1
2853
1258
  }, 8, ["no-gutters"]),
2854
- l.selectTypes ? (w(), T(_, {
1259
+ i.selectTypes ? (_(), w(y, {
2855
1260
  key: 0,
2856
1261
  "no-gutters": "",
2857
1262
  class: "pt-6"
2858
1263
  }, {
2859
1264
  default: n(() => [
2860
- i(m, {
1265
+ s(f, {
2861
1266
  cols: a.colSize,
2862
1267
  class: "tpic-select pr-4",
2863
1268
  "data-test": "data-type"
2864
1269
  }, {
2865
1270
  default: n(() => [
2866
- i(u, {
1271
+ s(h, {
2867
1272
  label: "Value Type",
2868
1273
  "hide-details": "",
2869
1274
  density: "compact",
2870
1275
  variant: "outlined",
2871
- items: s.valueTypes,
2872
- modelValue: s.selectedValueType,
2873
- "onUpdate:modelValue": e[6] || (e[6] = (f) => s.selectedValueType = f)
1276
+ items: l.valueTypes,
1277
+ modelValue: l.selectedValueType,
1278
+ "onUpdate:modelValue": e[7] || (e[7] = (d) => l.selectedValueType = d)
2874
1279
  }, null, 8, ["items", "modelValue"])
2875
1280
  ]),
2876
1281
  _: 1
2877
1282
  }, 8, ["cols"]),
2878
- i(m, {
1283
+ s(f, {
2879
1284
  cols: a.colSize,
2880
1285
  class: "tpic-select pr-4",
2881
1286
  "data-test": "reduced"
2882
1287
  }, {
2883
1288
  default: n(() => [
2884
- i(u, {
1289
+ s(h, {
2885
1290
  label: "Reduced",
2886
1291
  "hide-details": "",
2887
1292
  density: "compact",
2888
1293
  variant: "outlined",
2889
- items: s.reductionModes,
2890
- modelValue: s.selectedReduced,
2891
- "onUpdate:modelValue": e[7] || (e[7] = (f) => s.selectedReduced = f)
1294
+ items: l.reductionModes,
1295
+ modelValue: l.selectedReduced,
1296
+ "onUpdate:modelValue": e[8] || (e[8] = (d) => l.selectedReduced = d)
2892
1297
  }, null, 8, ["items", "modelValue"])
2893
1298
  ]),
2894
1299
  _: 1
2895
1300
  }, 8, ["cols"]),
2896
- i(m, {
1301
+ s(f, {
2897
1302
  cols: a.colSize,
2898
1303
  class: "tpic-select pr-4",
2899
1304
  "data-test": "reduced-type"
2900
1305
  }, {
2901
1306
  default: n(() => [
2902
- i(u, {
1307
+ s(h, {
2903
1308
  label: "Reduced Type",
2904
1309
  "hide-details": "",
2905
1310
  density: "compact",
2906
1311
  variant: "outlined",
2907
- disabled: s.selectedReduced === "DECOM",
2908
- items: s.reducedTypes,
2909
- modelValue: s.selectedReducedType,
2910
- "onUpdate:modelValue": e[8] || (e[8] = (f) => s.selectedReducedType = f)
1312
+ disabled: l.selectedReduced === "DECOM",
1313
+ items: l.reducedTypes,
1314
+ modelValue: l.selectedReducedType,
1315
+ "onUpdate:modelValue": e[9] || (e[9] = (d) => l.selectedReducedType = d)
2911
1316
  }, null, 8, ["disabled", "items", "modelValue"])
2912
1317
  ]),
2913
1318
  _: 1
2914
1319
  }, 8, ["cols"]),
2915
- i(m, {
1320
+ s(f, {
2916
1321
  cols: a.colSize,
2917
1322
  style: { "max-width": "140px" }
2918
1323
  }, null, 8, ["cols"])
2919
1324
  ]),
2920
1325
  _: 1
2921
- })) : V("", !0),
2922
- i(_, {
1326
+ })) : I("", !0),
1327
+ s(y, {
2923
1328
  "no-gutters": "",
2924
1329
  class: "pa-3"
2925
1330
  }, {
2926
1331
  default: n(() => [
2927
- i(m, {
1332
+ s(f, {
2928
1333
  cols: a.colSize,
2929
- class: $({ "openc3-yellow": s.hazardous })
1334
+ class: M({ "openc3-yellow": l.hazardous })
2930
1335
  }, {
2931
1336
  default: n(() => [
2932
- y(" Description: " + N(s.description) + " ", 1),
2933
- s.hazardous ? (w(), P(H, { key: 0 }, [
2934
- y(" (HAZARDOUS) ")
2935
- ], 64)) : V("", !0)
1337
+ v(" Description: " + b(l.description) + " ", 1),
1338
+ l.hazardous ? (_(), R(F, { key: 0 }, [
1339
+ v(" (HAZARDOUS) ")
1340
+ ], 64)) : I("", !0)
2936
1341
  ]),
2937
1342
  _: 1
2938
1343
  }, 8, ["cols", "class"])
@@ -2941,33 +1346,34 @@ function Fe(t, e, l, o, s, a) {
2941
1346
  })
2942
1347
  ]);
2943
1348
  }
2944
- const tt = /* @__PURE__ */ O(Oe, [["render", Fe], ["__scopeId", "data-v-9ec60fb0"]]);
1349
+ const ke = /* @__PURE__ */ D(de, [["render", ue], ["__scopeId", "data-v-17a5870b"]]);
2945
1350
  export {
2946
- lt as AceEditorModes,
2947
- Xe as Config,
2948
- ct as CriticalCmdDialog,
2949
- ot as DataViewerComponent,
2950
- rt as DataViewerHistoryComponent,
2951
- mt as DetailsDialog,
2952
- _e as EditScreenDialog,
2953
- ft as EnvironmentChooser,
2954
- qe as EnvironmentDialog,
2955
- Je as FileOpenSaveDialog,
2956
- vt as Graph,
2957
- _t as GraphEditDialog,
2958
- yt as GraphEditItemDialog,
2959
- Qe as LogMessages,
2960
- $e as NotFound,
2961
- Ye as OpenConfigDialog,
2962
- et as Openc3Screen,
2963
- nt as OutputDialog,
2964
- je as SaveConfigDialog,
2965
- le as ScreenCompleter,
2966
- pt as ScriptChooser,
2967
- wt as SimpleTextDialog,
2968
- tt as TargetPacketItemChooser,
2969
- xt as TextBoxDialog,
2970
- Ct as TopBar,
2971
- It as UpgradeToEnterpriseDialog
1351
+ Ce as AceEditorModes,
1352
+ Ve as AceEditorUtils,
1353
+ _e as Config,
1354
+ Me as CriticalCmdDialog,
1355
+ Ke as DataViewerComponent,
1356
+ We as DataViewerHistoryComponent,
1357
+ Ge as DetailsDialog,
1358
+ Se as EditScreenDialog,
1359
+ je as EnvironmentChooser,
1360
+ Ee as EnvironmentDialog,
1361
+ Ue as FileOpenSaveDialog,
1362
+ Ze as Graph,
1363
+ Ye as GraphEditDialog,
1364
+ Xe as GraphEditItemDialog,
1365
+ we as LogMessages,
1366
+ Te as NotFound,
1367
+ ye as OpenConfigDialog,
1368
+ Pe as Openc3Screen,
1369
+ De as OutputDialog,
1370
+ be as SaveConfigDialog,
1371
+ Oe as ScreenCompleter,
1372
+ qe as ScriptChooser,
1373
+ $e as SimpleTextDialog,
1374
+ ke as TargetPacketItemChooser,
1375
+ tt as TextBoxDialog,
1376
+ Le as TopBar,
1377
+ lt as UpgradeToEnterpriseDialog
2972
1378
  };
2973
1379
  //# sourceMappingURL=components.js.map