@openc3/vue-common 6.8.0 → 6.9.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 (416) hide show
  1. package/dist/{ArrayWidget-DaONH8Iv.cjs → ArrayWidget-DJkuPBFS.cjs} +2 -2
  2. package/dist/{ArrayWidget-DaONH8Iv.cjs.map → ArrayWidget-DJkuPBFS.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-j3ncPuPx.js → ArrayWidget-DLfNWDzN.js} +4 -4
  4. package/dist/{ArrayWidget-j3ncPuPx.js.map → ArrayWidget-DLfNWDzN.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-DPMVlst7.cjs → ArrayplotWidget-COGxmBEP.cjs} +2 -2
  6. package/dist/{ArrayplotWidget-DPMVlst7.cjs.map → ArrayplotWidget-COGxmBEP.cjs.map} +1 -1
  7. package/dist/{ArrayplotWidget-DuLaiGa9.js → ArrayplotWidget-CoRsUxHG.js} +7 -7
  8. package/dist/{ArrayplotWidget-DuLaiGa9.js.map → ArrayplotWidget-CoRsUxHG.js.map} +1 -1
  9. package/dist/{BarColumn-CchXr_ex.cjs → BarColumn-BaPaYtki.cjs} +2 -2
  10. package/dist/{BarColumn-CchXr_ex.cjs.map → BarColumn-BaPaYtki.cjs.map} +1 -1
  11. package/dist/{BarColumn-BWJ0Dd4O.js → BarColumn-DHP-zQ4R.js} +3 -3
  12. package/dist/{BarColumn-BWJ0Dd4O.js.map → BarColumn-DHP-zQ4R.js.map} +1 -1
  13. package/dist/{BlockWidget-Bf5Dd6Cr.js → BlockWidget-BmHSFvOq.js} +4 -4
  14. package/dist/{BlockWidget-Bf5Dd6Cr.js.map → BlockWidget-BmHSFvOq.js.map} +1 -1
  15. package/dist/{BlockWidget-CeDueZQ0.cjs → BlockWidget-DLncsLLX.cjs} +2 -2
  16. package/dist/{BlockWidget-CeDueZQ0.cjs.map → BlockWidget-DLncsLLX.cjs.map} +1 -1
  17. package/dist/{ButtonWidget-BZulfQct.cjs → ButtonWidget-BLePbTf_.cjs} +3 -3
  18. package/dist/{ButtonWidget-BZulfQct.cjs.map → ButtonWidget-BLePbTf_.cjs.map} +1 -1
  19. package/dist/{ButtonWidget-bl_mGFYh.js → ButtonWidget-C3ZWRjZZ.js} +6 -6
  20. package/dist/{ButtonWidget-bl_mGFYh.js.map → ButtonWidget-C3ZWRjZZ.js.map} +1 -1
  21. package/dist/{CanvasWidget-DwAXTAyn.cjs → CanvasWidget-C8Sy9t9G.cjs} +2 -2
  22. package/dist/{CanvasWidget-DwAXTAyn.cjs.map → CanvasWidget-C8Sy9t9G.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-boDemgx1.js → CanvasWidget-CL-XzPF4.js} +2 -2
  24. package/dist/{CanvasWidget-boDemgx1.js.map → CanvasWidget-CL-XzPF4.js.map} +1 -1
  25. package/dist/{CanvasdotWidget-ByJp9ZIa.cjs → CanvasdotWidget-6MPKD5iZ.cjs} +2 -2
  26. package/dist/{CanvasdotWidget-ByJp9ZIa.cjs.map → CanvasdotWidget-6MPKD5iZ.cjs.map} +1 -1
  27. package/dist/{CanvasdotWidget-BZBbJcER.js → CanvasdotWidget-D8Y9DgVE.js} +2 -2
  28. package/dist/{CanvasdotWidget-BZBbJcER.js.map → CanvasdotWidget-D8Y9DgVE.js.map} +1 -1
  29. package/dist/{CanvasimageWidget-6ywvT5jd.js → CanvasimageWidget-DHSGK_tD.js} +3 -3
  30. package/dist/{CanvasimageWidget-6ywvT5jd.js.map → CanvasimageWidget-DHSGK_tD.js.map} +1 -1
  31. package/dist/{CanvasimageWidget-BDprHuH3.cjs → CanvasimageWidget-DYUaf3zy.cjs} +2 -2
  32. package/dist/{CanvasimageWidget-BDprHuH3.cjs.map → CanvasimageWidget-DYUaf3zy.cjs.map} +1 -1
  33. package/dist/{CanvasimagevalueWidget-DjWrA3gX.js → CanvasimagevalueWidget-Btt_fQfC.js} +3 -3
  34. package/dist/{CanvasimagevalueWidget-DjWrA3gX.js.map → CanvasimagevalueWidget-Btt_fQfC.js.map} +1 -1
  35. package/dist/{CanvasimagevalueWidget-Cl_EuzNC.cjs → CanvasimagevalueWidget-Bu1ECOWl.cjs} +2 -2
  36. package/dist/{CanvasimagevalueWidget-Cl_EuzNC.cjs.map → CanvasimagevalueWidget-Bu1ECOWl.cjs.map} +1 -1
  37. package/dist/{CanvaslabelWidget-Bq4V2BQh.js → CanvaslabelWidget-BF_8RTjv.js} +2 -2
  38. package/dist/{CanvaslabelWidget-Bq4V2BQh.js.map → CanvaslabelWidget-BF_8RTjv.js.map} +1 -1
  39. package/dist/{CanvaslabelWidget-aalWFBxK.cjs → CanvaslabelWidget-Dik-ld55.cjs} +2 -2
  40. package/dist/{CanvaslabelWidget-aalWFBxK.cjs.map → CanvaslabelWidget-Dik-ld55.cjs.map} +1 -1
  41. package/dist/{CanvaslabelvalueWidget-DIO0fADo.cjs → CanvaslabelvalueWidget-BBlKBoZO.cjs} +2 -2
  42. package/dist/{CanvaslabelvalueWidget-DIO0fADo.cjs.map → CanvaslabelvalueWidget-BBlKBoZO.cjs.map} +1 -1
  43. package/dist/{CanvaslabelvalueWidget-C8oNcFLi.js → CanvaslabelvalueWidget-scbwaujI.js} +2 -2
  44. package/dist/{CanvaslabelvalueWidget-C8oNcFLi.js.map → CanvaslabelvalueWidget-scbwaujI.js.map} +1 -1
  45. package/dist/{CanvaslineWidget-CqNOzV_A.cjs → CanvaslineWidget-DN0ojc37.cjs} +2 -2
  46. package/dist/{CanvaslineWidget-CqNOzV_A.cjs.map → CanvaslineWidget-DN0ojc37.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-nvbL2GoL.js → CanvaslineWidget-gRvm_-TT.js} +2 -2
  48. package/dist/{CanvaslineWidget-nvbL2GoL.js.map → CanvaslineWidget-gRvm_-TT.js.map} +1 -1
  49. package/dist/{CanvaslinevalueWidget-ZACQedKx.js → CanvaslinevalueWidget-CljziRek.js} +2 -2
  50. package/dist/{CanvaslinevalueWidget-ZACQedKx.js.map → CanvaslinevalueWidget-CljziRek.js.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-D0kOhxXn.cjs → CanvaslinevalueWidget-Cz1XYp0r.cjs} +2 -2
  52. package/dist/{CanvaslinevalueWidget-D0kOhxXn.cjs.map → CanvaslinevalueWidget-Cz1XYp0r.cjs.map} +1 -1
  53. package/dist/{CheckbuttonWidget-L9xyRwfS.cjs → CheckbuttonWidget-B5jOzhZ4.cjs} +2 -2
  54. package/dist/{CheckbuttonWidget-L9xyRwfS.cjs.map → CheckbuttonWidget-B5jOzhZ4.cjs.map} +1 -1
  55. package/dist/{CheckbuttonWidget-B82UE8AB.js → CheckbuttonWidget-BOabI_jE.js} +2 -2
  56. package/dist/{CheckbuttonWidget-B82UE8AB.js.map → CheckbuttonWidget-BOabI_jE.js.map} +1 -1
  57. package/dist/{ClassificationBanners-jiqWjTAZ.js → ClassificationBanners-BGDnMx4r.js} +2 -2
  58. package/dist/{ClassificationBanners-jiqWjTAZ.js.map → ClassificationBanners-BGDnMx4r.js.map} +1 -1
  59. package/dist/{ClassificationBanners-ZF9Ab7D0.cjs → ClassificationBanners-CbcQDr3v.cjs} +2 -2
  60. package/dist/{ClassificationBanners-ZF9Ab7D0.cjs.map → ClassificationBanners-CbcQDr3v.cjs.map} +1 -1
  61. package/dist/{ComboboxWidget-4OFiSkI6.js → ComboboxWidget-BLXNYFiY.js} +2 -2
  62. package/dist/{ComboboxWidget-4OFiSkI6.js.map → ComboboxWidget-BLXNYFiY.js.map} +1 -1
  63. package/dist/{ComboboxWidget-6hmnB_mK.cjs → ComboboxWidget-_lxTm8Wb.cjs} +2 -2
  64. package/dist/{ComboboxWidget-6hmnB_mK.cjs.map → ComboboxWidget-_lxTm8Wb.cjs.map} +1 -1
  65. package/dist/{CriticalCmdDialog-FhXDdBn4.js → CriticalCmdDialog-CnNlsHRX.js} +3 -3
  66. package/dist/{CriticalCmdDialog-FhXDdBn4.js.map → CriticalCmdDialog-CnNlsHRX.js.map} +1 -1
  67. package/dist/{CriticalCmdDialog-C-UGhtjE.cjs → CriticalCmdDialog-niBmkudw.cjs} +2 -2
  68. package/dist/{CriticalCmdDialog-C-UGhtjE.cjs.map → CriticalCmdDialog-niBmkudw.cjs.map} +1 -1
  69. package/dist/{DateWidget-BmwtdirF.js → DateWidget-BTqLCtLS.js} +2 -2
  70. package/dist/{DateWidget-BmwtdirF.js.map → DateWidget-BTqLCtLS.js.map} +1 -1
  71. package/dist/{DateWidget-CmSp7svA.cjs → DateWidget-BvabEAhO.cjs} +2 -2
  72. package/dist/{DateWidget-CmSp7svA.cjs.map → DateWidget-BvabEAhO.cjs.map} +1 -1
  73. package/dist/{DetailsDialog-CLKEfU0s.js → DetailsDialog-BNCS3QAe.js} +2 -2
  74. package/dist/{DetailsDialog-CLKEfU0s.js.map → DetailsDialog-BNCS3QAe.js.map} +1 -1
  75. package/dist/{DetailsDialog-DEicfRO1.cjs → DetailsDialog-DgN9Jcio.cjs} +2 -2
  76. package/dist/{DetailsDialog-DEicfRO1.cjs.map → DetailsDialog-DgN9Jcio.cjs.map} +1 -1
  77. package/dist/EventListDialog-B8rnN9Zi.cjs +2 -0
  78. package/dist/EventListDialog-B8rnN9Zi.cjs.map +1 -0
  79. package/dist/{EventListDialog-BvSMSn7J.js → EventListDialog-C2pwmD0d.js} +554 -389
  80. package/dist/EventListDialog-C2pwmD0d.js.map +1 -0
  81. package/dist/{FormatvalueWidget-C8exC3bj.js → FormatvalueWidget-CLYx8qbg.js} +3 -3
  82. package/dist/{FormatvalueWidget-C8exC3bj.js.map → FormatvalueWidget-CLYx8qbg.js.map} +1 -1
  83. package/dist/{FormatvalueWidget-auKALSPC.cjs → FormatvalueWidget-ulLzg1E-.cjs} +2 -2
  84. package/dist/{FormatvalueWidget-auKALSPC.cjs.map → FormatvalueWidget-ulLzg1E-.cjs.map} +1 -1
  85. package/dist/{Graph-CWcrowaT.js → Graph-BliBYJxD.js} +486 -1050
  86. package/dist/Graph-BliBYJxD.js.map +1 -0
  87. package/dist/Graph-DxC2MPYf.cjs +2 -0
  88. package/dist/Graph-DxC2MPYf.cjs.map +1 -0
  89. package/dist/{GraphWidget-CvzxZYVx.js → GraphWidget-Cb6Ozf54.js} +2 -2
  90. package/dist/GraphWidget-Cb6Ozf54.js.map +1 -0
  91. package/dist/{GraphWidget-BroqS0SO.cjs → GraphWidget-g-0vO4_S.cjs} +2 -2
  92. package/dist/GraphWidget-g-0vO4_S.cjs.map +1 -0
  93. package/dist/{HorizontalWidget-Ck151zVw.js → HorizontalWidget-AY2M01qP.js} +2 -2
  94. package/dist/{HorizontalWidget-Ck151zVw.js.map → HorizontalWidget-AY2M01qP.js.map} +1 -1
  95. package/dist/{HorizontalWidget-DBeyBZCp.cjs → HorizontalWidget-BiEZZpZQ.cjs} +2 -2
  96. package/dist/{HorizontalWidget-DBeyBZCp.cjs.map → HorizontalWidget-BiEZZpZQ.cjs.map} +1 -1
  97. package/dist/{HorizontalboxWidget-D3P-cl9V.js → HorizontalboxWidget-2MEKvq_C.js} +5 -5
  98. package/dist/{HorizontalboxWidget-D3P-cl9V.js.map → HorizontalboxWidget-2MEKvq_C.js.map} +1 -1
  99. package/dist/{HorizontalboxWidget-CuWtYdgh.cjs → HorizontalboxWidget-CWq4ej6k.cjs} +2 -2
  100. package/dist/{HorizontalboxWidget-CuWtYdgh.cjs.map → HorizontalboxWidget-CWq4ej6k.cjs.map} +1 -1
  101. package/dist/{HorizontallineWidget-BE1TjPU8.js → HorizontallineWidget-DgpOPA7q.js} +2 -2
  102. package/dist/{HorizontallineWidget-BE1TjPU8.js.map → HorizontallineWidget-DgpOPA7q.js.map} +1 -1
  103. package/dist/{HorizontallineWidget-QUFjdOSu.cjs → HorizontallineWidget-Dm5G1l4A.cjs} +2 -2
  104. package/dist/{HorizontallineWidget-QUFjdOSu.cjs.map → HorizontallineWidget-Dm5G1l4A.cjs.map} +1 -1
  105. package/dist/{IframeWidget-DOZ1YyS2.cjs → IframeWidget-DDw5t7eV.cjs} +2 -2
  106. package/dist/IframeWidget-DDw5t7eV.cjs.map +1 -0
  107. package/dist/{IframeWidget-BgJCgues.js → IframeWidget-UKKUl7k5.js} +2 -2
  108. package/dist/IframeWidget-UKKUl7k5.js.map +1 -0
  109. package/dist/{ImageLoader-AGF0VbZ5.cjs → ImageLoader-9TCd0KxL.cjs} +2 -2
  110. package/dist/{ImageLoader-AGF0VbZ5.cjs.map → ImageLoader-9TCd0KxL.cjs.map} +1 -1
  111. package/dist/{ImageLoader-CWn-PLOk.js → ImageLoader-C-CIL4YD.js} +2 -2
  112. package/dist/{ImageLoader-CWn-PLOk.js.map → ImageLoader-C-CIL4YD.js.map} +1 -1
  113. package/dist/{ImageviewerWidget-BlhFZD2f.js → ImageviewerWidget-DhuQH5Io.js} +2 -2
  114. package/dist/{ImageviewerWidget-BlhFZD2f.js.map → ImageviewerWidget-DhuQH5Io.js.map} +1 -1
  115. package/dist/{ImageviewerWidget-DnmhYP68.cjs → ImageviewerWidget-DpXzLOpF.cjs} +2 -2
  116. package/dist/{ImageviewerWidget-DnmhYP68.cjs.map → ImageviewerWidget-DpXzLOpF.cjs.map} +1 -1
  117. package/dist/{InterfacesTab-76UJTIwF.cjs → InterfacesTab-CiVfsUia.cjs} +2 -2
  118. package/dist/{InterfacesTab-76UJTIwF.cjs.map → InterfacesTab-CiVfsUia.cjs.map} +1 -1
  119. package/dist/{InterfacesTab-Cwz-zG7j.js → InterfacesTab-Dq3oAKqz.js} +6 -6
  120. package/dist/{InterfacesTab-Cwz-zG7j.js.map → InterfacesTab-Dq3oAKqz.js.map} +1 -1
  121. package/dist/{LabelWidget-C0DhD9Mn.cjs → LabelWidget-D-m2gFIZ.cjs} +2 -2
  122. package/dist/{LabelWidget-C0DhD9Mn.cjs.map → LabelWidget-D-m2gFIZ.cjs.map} +1 -1
  123. package/dist/{LabelWidget-Cwosk4x2.js → LabelWidget-SO9zqcNN.js} +2 -2
  124. package/dist/{LabelWidget-Cwosk4x2.js.map → LabelWidget-SO9zqcNN.js.map} +1 -1
  125. package/dist/{LabelledWidget-D8-aKfA_.cjs → LabelledWidget-BFfsD2wz.cjs} +2 -2
  126. package/dist/{LabelledWidget-D8-aKfA_.cjs.map → LabelledWidget-BFfsD2wz.cjs.map} +1 -1
  127. package/dist/{LabelledWidget-Dl6rAFTQ.js → LabelledWidget-DWoM5AJ5.js} +4 -4
  128. package/dist/{LabelledWidget-Dl6rAFTQ.js.map → LabelledWidget-DWoM5AJ5.js.map} +1 -1
  129. package/dist/{LabelprogressbarWidget-DosPhvaY.cjs → LabelprogressbarWidget-B8x5YimU.cjs} +2 -2
  130. package/dist/{LabelprogressbarWidget-DosPhvaY.cjs.map → LabelprogressbarWidget-B8x5YimU.cjs.map} +1 -1
  131. package/dist/{LabelprogressbarWidget-MuAKesOz.js → LabelprogressbarWidget-D3vnkvQZ.js} +4 -4
  132. package/dist/{LabelprogressbarWidget-MuAKesOz.js.map → LabelprogressbarWidget-D3vnkvQZ.js.map} +1 -1
  133. package/dist/{LabelsparklineWidget-6LA6Ox3d.js → LabelsparklineWidget-DO0T-Jot.js} +4 -4
  134. package/dist/{LabelsparklineWidget-6LA6Ox3d.js.map → LabelsparklineWidget-DO0T-Jot.js.map} +1 -1
  135. package/dist/{LabelsparklineWidget-CLU8722I.cjs → LabelsparklineWidget-DyPaUfc9.cjs} +2 -2
  136. package/dist/{LabelsparklineWidget-CLU8722I.cjs.map → LabelsparklineWidget-DyPaUfc9.cjs.map} +1 -1
  137. package/dist/{LabelvalueWidget-BxAXx-Tf.js → LabelvalueWidget-B6BbNFnk.js} +4 -4
  138. package/dist/{LabelvalueWidget-BxAXx-Tf.js.map → LabelvalueWidget-B6BbNFnk.js.map} +1 -1
  139. package/dist/{LabelvalueWidget-WP4gK29n.cjs → LabelvalueWidget-cTPG6Xqi.cjs} +2 -2
  140. package/dist/{LabelvalueWidget-WP4gK29n.cjs.map → LabelvalueWidget-cTPG6Xqi.cjs.map} +1 -1
  141. package/dist/{LabelvaluedescWidget-BQ-6OXHc.cjs → LabelvaluedescWidget-C4sIZ0md.cjs} +2 -2
  142. package/dist/{LabelvaluedescWidget-BQ-6OXHc.cjs.map → LabelvaluedescWidget-C4sIZ0md.cjs.map} +1 -1
  143. package/dist/{LabelvaluedescWidget-Dwwlnd1g.js → LabelvaluedescWidget-CxfL-H9C.js} +10 -10
  144. package/dist/{LabelvaluedescWidget-Dwwlnd1g.js.map → LabelvaluedescWidget-CxfL-H9C.js.map} +1 -1
  145. package/dist/{LabelvaluelimitsbarWidget-Dv8Qk8kK.js → LabelvaluelimitsbarWidget-BT5k9mHv.js} +4 -4
  146. package/dist/{LabelvaluelimitsbarWidget-Dv8Qk8kK.js.map → LabelvaluelimitsbarWidget-BT5k9mHv.js.map} +1 -1
  147. package/dist/{LabelvaluelimitsbarWidget-Z_7ARnvo.cjs → LabelvaluelimitsbarWidget-CBnU6Afl.cjs} +2 -2
  148. package/dist/{LabelvaluelimitsbarWidget-Z_7ARnvo.cjs.map → LabelvaluelimitsbarWidget-CBnU6Afl.cjs.map} +1 -1
  149. package/dist/{LabelvaluelimitscolumnWidget-DiO1b01N.cjs → LabelvaluelimitscolumnWidget-CwoMfO0P.cjs} +2 -2
  150. package/dist/{LabelvaluelimitscolumnWidget-DiO1b01N.cjs.map → LabelvaluelimitscolumnWidget-CwoMfO0P.cjs.map} +1 -1
  151. package/dist/{LabelvaluelimitscolumnWidget-D-_gl6fq.js → LabelvaluelimitscolumnWidget-DUbmxh4p.js} +5 -5
  152. package/dist/{LabelvaluelimitscolumnWidget-D-_gl6fq.js.map → LabelvaluelimitscolumnWidget-DUbmxh4p.js.map} +1 -1
  153. package/dist/{LabelvaluerangebarWidget-DtajHP0b.cjs → LabelvaluerangebarWidget-DB4gw6Rd.cjs} +2 -2
  154. package/dist/{LabelvaluerangebarWidget-DtajHP0b.cjs.map → LabelvaluerangebarWidget-DB4gw6Rd.cjs.map} +1 -1
  155. package/dist/{LabelvaluerangebarWidget-B3MKT-3Y.js → LabelvaluerangebarWidget-DexAc2UB.js} +4 -4
  156. package/dist/{LabelvaluerangebarWidget-B3MKT-3Y.js.map → LabelvaluerangebarWidget-DexAc2UB.js.map} +1 -1
  157. package/dist/{Layout-Bkb6VP3e.js → Layout-Dd6dRf3R.js} +2 -2
  158. package/dist/{Layout-Bkb6VP3e.js.map → Layout-Dd6dRf3R.js.map} +1 -1
  159. package/dist/Layout-DvBekli8.cjs +2 -0
  160. package/dist/{Layout-CSbYbZWA.cjs.map → Layout-DvBekli8.cjs.map} +1 -1
  161. package/dist/{LedWidget-DOuDD8LI.js → LedWidget-D1RwHb_V.js} +4 -4
  162. package/dist/{LedWidget-DOuDD8LI.js.map → LedWidget-D1RwHb_V.js.map} +1 -1
  163. package/dist/{LedWidget-DeREi8-u.cjs → LedWidget-a99ygZOA.cjs} +2 -2
  164. package/dist/{LedWidget-DeREi8-u.cjs.map → LedWidget-a99ygZOA.cjs.map} +1 -1
  165. package/dist/{LimitsbarWidget-D1U6SvVL.js → LimitsbarWidget-ClOmoV50.js} +2 -2
  166. package/dist/{LimitsbarWidget-D1U6SvVL.js.map → LimitsbarWidget-ClOmoV50.js.map} +1 -1
  167. package/dist/{LimitsbarWidget-BHr3IcIx.cjs → LimitsbarWidget-DaHpj-rM.cjs} +2 -2
  168. package/dist/{LimitsbarWidget-BHr3IcIx.cjs.map → LimitsbarWidget-DaHpj-rM.cjs.map} +1 -1
  169. package/dist/{LimitscolorWidget-iSMGusqt.js → LimitscolorWidget-CBUoEYKp.js} +2 -2
  170. package/dist/{LimitscolorWidget-iSMGusqt.js.map → LimitscolorWidget-CBUoEYKp.js.map} +1 -1
  171. package/dist/{LimitscolorWidget-BUkKRrSL.cjs → LimitscolorWidget-D4nPHQlI.cjs} +2 -2
  172. package/dist/{LimitscolorWidget-BUkKRrSL.cjs.map → LimitscolorWidget-D4nPHQlI.cjs.map} +1 -1
  173. package/dist/{LimitscolumnWidget-DjxZTt_r.js → LimitscolumnWidget-hsHkmY-_.js} +2 -2
  174. package/dist/{LimitscolumnWidget-DjxZTt_r.js.map → LimitscolumnWidget-hsHkmY-_.js.map} +1 -1
  175. package/dist/{LimitscolumnWidget-COfNnb6f.cjs → LimitscolumnWidget-wIx0L9hb.cjs} +2 -2
  176. package/dist/{LimitscolumnWidget-COfNnb6f.cjs.map → LimitscolumnWidget-wIx0L9hb.cjs.map} +1 -1
  177. package/dist/{LinegraphWidget-RleSRWKa.cjs → LinegraphWidget-BRnwhfEQ.cjs} +2 -2
  178. package/dist/{LinegraphWidget-RleSRWKa.cjs.map → LinegraphWidget-BRnwhfEQ.cjs.map} +1 -1
  179. package/dist/{LinegraphWidget-BHKU6zlT.js → LinegraphWidget-CXrKtxOo.js} +4 -4
  180. package/dist/{LinegraphWidget-BHKU6zlT.js.map → LinegraphWidget-CXrKtxOo.js.map} +1 -1
  181. package/dist/{MatrixbycolumnsWidget-DWouVj7A.cjs → MatrixbycolumnsWidget-3jldaS14.cjs} +2 -2
  182. package/dist/{MatrixbycolumnsWidget-DWouVj7A.cjs.map → MatrixbycolumnsWidget-3jldaS14.cjs.map} +1 -1
  183. package/dist/{MatrixbycolumnsWidget-BKO-A2QD.js → MatrixbycolumnsWidget-CsogVU9c.js} +3 -3
  184. package/dist/{MatrixbycolumnsWidget-BKO-A2QD.js.map → MatrixbycolumnsWidget-CsogVU9c.js.map} +1 -1
  185. package/dist/{MicroservicesTab-L6qMAy4x.cjs → MicroservicesTab-3pNZZ5I0.cjs} +2 -2
  186. package/dist/{MicroservicesTab-L6qMAy4x.cjs.map → MicroservicesTab-3pNZZ5I0.cjs.map} +1 -1
  187. package/dist/{MicroservicesTab-xLup6THU.js → MicroservicesTab-DzEvbxlM.js} +3 -3
  188. package/dist/{MicroservicesTab-xLup6THU.js.map → MicroservicesTab-DzEvbxlM.js.map} +1 -1
  189. package/dist/{Openc3Screen-BHHnSEoI.cjs → Openc3Screen-CD3C_EUo.cjs} +4 -4
  190. package/dist/{Openc3Screen-BHHnSEoI.cjs.map → Openc3Screen-CD3C_EUo.cjs.map} +1 -1
  191. package/dist/{Openc3Screen-1rQ_Dbp4.js → Openc3Screen-Cqm5Xtd-.js} +3 -3
  192. package/dist/{Openc3Screen-1rQ_Dbp4.js.map → Openc3Screen-Cqm5Xtd-.js.map} +1 -1
  193. package/dist/{OutputDialog-Ut5cXGxQ.js → OutputDialog-7M4L50tA.js} +9 -9
  194. package/dist/{OutputDialog-Ut5cXGxQ.js.map → OutputDialog-7M4L50tA.js.map} +1 -1
  195. package/dist/{OutputDialog-DgM7aoa-.cjs → OutputDialog-CnDQxHTZ.cjs} +2 -2
  196. package/dist/{OutputDialog-DgM7aoa-.cjs.map → OutputDialog-CnDQxHTZ.cjs.map} +1 -1
  197. package/dist/{PackagesTab-jqsRJEcJ.cjs → PackagesTab-DPPXZvoV.cjs} +2 -2
  198. package/dist/{PackagesTab-jqsRJEcJ.cjs.map → PackagesTab-DPPXZvoV.cjs.map} +1 -1
  199. package/dist/{PackagesTab-ChJDyU3Z.js → PackagesTab-N4SD1Pxj.js} +3 -3
  200. package/dist/{PackagesTab-ChJDyU3Z.js.map → PackagesTab-N4SD1Pxj.js.map} +1 -1
  201. package/dist/{PluginsTab-CayzDij0.js → PluginsTab-C7PH2Wym.js} +4 -4
  202. package/dist/{PluginsTab-CayzDij0.js.map → PluginsTab-C7PH2Wym.js.map} +1 -1
  203. package/dist/{PluginsTab-DYEv8EPg.cjs → PluginsTab-xzPlEMYj.cjs} +4 -4
  204. package/dist/{PluginsTab-DYEv8EPg.cjs.map → PluginsTab-xzPlEMYj.cjs.map} +1 -1
  205. package/dist/{ProgressbarWidget-fbr2qu_N.js → ProgressbarWidget-CO6CEkxP.js} +2 -2
  206. package/dist/{ProgressbarWidget-fbr2qu_N.js.map → ProgressbarWidget-CO6CEkxP.js.map} +1 -1
  207. package/dist/{ProgressbarWidget-Xba7gDbW.cjs → ProgressbarWidget-CPeGR-Az.cjs} +2 -2
  208. package/dist/{ProgressbarWidget-Xba7gDbW.cjs.map → ProgressbarWidget-CPeGR-Az.cjs.map} +1 -1
  209. package/dist/{RadiobuttonWidget-DL08zcQT.js → RadiobuttonWidget-DrxUclws.js} +2 -2
  210. package/dist/{RadiobuttonWidget-DL08zcQT.js.map → RadiobuttonWidget-DrxUclws.js.map} +1 -1
  211. package/dist/{RadiobuttonWidget-CdpKw7jr.cjs → RadiobuttonWidget-DucgkAYD.cjs} +2 -2
  212. package/dist/{RadiobuttonWidget-CdpKw7jr.cjs.map → RadiobuttonWidget-DucgkAYD.cjs.map} +1 -1
  213. package/dist/{RadiogroupWidget-DSA8ENmw.cjs → RadiogroupWidget-C7oVFRf3.cjs} +2 -2
  214. package/dist/{RadiogroupWidget-DSA8ENmw.cjs.map → RadiogroupWidget-C7oVFRf3.cjs.map} +1 -1
  215. package/dist/{RadiogroupWidget-DW9Xpj3c.js → RadiogroupWidget-DN9C38cg.js} +2 -2
  216. package/dist/{RadiogroupWidget-DW9Xpj3c.js.map → RadiogroupWidget-DN9C38cg.js.map} +1 -1
  217. package/dist/{RangebarWidget-o9q55kjc.js → RangebarWidget-5uQTfLMP.js} +2 -2
  218. package/dist/{RangebarWidget-o9q55kjc.js.map → RangebarWidget-5uQTfLMP.js.map} +1 -1
  219. package/dist/{RangebarWidget-B4oRyUwG.cjs → RangebarWidget-Da9S3KMB.cjs} +2 -2
  220. package/dist/{RangebarWidget-B4oRyUwG.cjs.map → RangebarWidget-Da9S3KMB.cjs.map} +1 -1
  221. package/dist/{RedisTab-Uqcfgux1.cjs → RedisTab-BFTaPNRc.cjs} +2 -2
  222. package/dist/{RedisTab-Uqcfgux1.cjs.map → RedisTab-BFTaPNRc.cjs.map} +1 -1
  223. package/dist/{RedisTab-BGz2ZN9T.js → RedisTab-Cyrr_g9k.js} +11 -11
  224. package/dist/{RedisTab-BGz2ZN9T.js.map → RedisTab-Cyrr_g9k.js.map} +1 -1
  225. package/dist/{RollupWidget-BHnjj-DF.js → RollupWidget-B0DCULnu.js} +2 -2
  226. package/dist/{RollupWidget-BHnjj-DF.js.map → RollupWidget-B0DCULnu.js.map} +1 -1
  227. package/dist/{RollupWidget-43v3NX_Z.cjs → RollupWidget-DK0eFASs.cjs} +2 -2
  228. package/dist/{RollupWidget-43v3NX_Z.cjs.map → RollupWidget-DK0eFASs.cjs.map} +1 -1
  229. package/dist/{RoutersTab-Be53r61Y.cjs → RoutersTab-B8JIxjdI.cjs} +2 -2
  230. package/dist/{RoutersTab-Be53r61Y.cjs.map → RoutersTab-B8JIxjdI.cjs.map} +1 -1
  231. package/dist/{RoutersTab-CCEPlZ_Y.js → RoutersTab-BAfpG8k3.js} +6 -6
  232. package/dist/{RoutersTab-CCEPlZ_Y.js.map → RoutersTab-BAfpG8k3.js.map} +1 -1
  233. package/dist/ScriptChooser-ahp4Tu3O.js +573 -0
  234. package/dist/ScriptChooser-ahp4Tu3O.js.map +1 -0
  235. package/dist/ScriptChooser-ma6P0WuM.cjs +2 -0
  236. package/dist/ScriptChooser-ma6P0WuM.cjs.map +1 -0
  237. package/dist/{ScrollwindowWidget-D-QVwztC.js → ScrollwindowWidget-BOkZQgtf.js} +3 -3
  238. package/dist/{ScrollwindowWidget-D-QVwztC.js.map → ScrollwindowWidget-BOkZQgtf.js.map} +1 -1
  239. package/dist/{ScrollwindowWidget-D6ZHZr3o.cjs → ScrollwindowWidget-xM_R_Arq.cjs} +2 -2
  240. package/dist/{ScrollwindowWidget-D6ZHZr3o.cjs.map → ScrollwindowWidget-xM_R_Arq.cjs.map} +1 -1
  241. package/dist/{SecretsTab-vVy356vr.js → SecretsTab-D5RxHYVp.js} +7 -7
  242. package/dist/{SecretsTab-vVy356vr.js.map → SecretsTab-D5RxHYVp.js.map} +1 -1
  243. package/dist/{SecretsTab-DDZ1VoUf.cjs → SecretsTab-DoHYppoO.cjs} +2 -2
  244. package/dist/{SecretsTab-DDZ1VoUf.cjs.map → SecretsTab-DoHYppoO.cjs.map} +1 -1
  245. package/dist/{SettingsTab-CbWrf7U9.js → SettingsTab-CKGQEwd_.js} +137 -121
  246. package/dist/SettingsTab-CKGQEwd_.js.map +1 -0
  247. package/dist/{SettingsTab-DsIVE5UL.cjs → SettingsTab-Dvnzqzdp.cjs} +3 -3
  248. package/dist/SettingsTab-Dvnzqzdp.cjs.map +1 -0
  249. package/dist/{SignalWidget-CysAE9ZG.cjs → SignalWidget-BWKgNMdV.cjs} +2 -2
  250. package/dist/{SignalWidget-CysAE9ZG.cjs.map → SignalWidget-BWKgNMdV.cjs.map} +1 -1
  251. package/dist/{SignalWidget-CsWuufdx.js → SignalWidget-Cis0Xkea.js} +2 -2
  252. package/dist/{SignalWidget-CsWuufdx.js.map → SignalWidget-Cis0Xkea.js.map} +1 -1
  253. package/dist/{SimpleTextDialog-CU6G5CBY.cjs → SimpleTextDialog-BCNn5FZh.cjs} +2 -2
  254. package/dist/{SimpleTextDialog-CU6G5CBY.cjs.map → SimpleTextDialog-BCNn5FZh.cjs.map} +1 -1
  255. package/dist/{SimpleTextDialog-ChV5vRcV.js → SimpleTextDialog-D2mEDvGY.js} +2 -2
  256. package/dist/{SimpleTextDialog-ChV5vRcV.js.map → SimpleTextDialog-D2mEDvGY.js.map} +1 -1
  257. package/dist/{SpacerWidget-Di9-qunj.js → SpacerWidget-CLcqC2Qk.js} +2 -2
  258. package/dist/{SpacerWidget-Di9-qunj.js.map → SpacerWidget-CLcqC2Qk.js.map} +1 -1
  259. package/dist/{SpacerWidget-ChNk5TFU.cjs → SpacerWidget-_daU5QnM.cjs} +2 -2
  260. package/dist/{SpacerWidget-ChNk5TFU.cjs.map → SpacerWidget-_daU5QnM.cjs.map} +1 -1
  261. package/dist/{SparklineWidget-B6-zhdPW.js → SparklineWidget-CTp83eZ-.js} +4 -4
  262. package/dist/{SparklineWidget-B6-zhdPW.js.map → SparklineWidget-CTp83eZ-.js.map} +1 -1
  263. package/dist/{SparklineWidget-D1tVqSRL.cjs → SparklineWidget-qRnlPzJ_.cjs} +2 -2
  264. package/dist/{SparklineWidget-D1tVqSRL.cjs.map → SparklineWidget-qRnlPzJ_.cjs.map} +1 -1
  265. package/dist/{TabbookWidget-Btg-Axid.cjs → TabbookWidget-C0Fvv-o5.cjs} +2 -2
  266. package/dist/{TabbookWidget-Btg-Axid.cjs.map → TabbookWidget-C0Fvv-o5.cjs.map} +1 -1
  267. package/dist/{TabbookWidget-B1E1_mzA.js → TabbookWidget-uucd-zsX.js} +2 -2
  268. package/dist/{TabbookWidget-B1E1_mzA.js.map → TabbookWidget-uucd-zsX.js.map} +1 -1
  269. package/dist/TargetPacketItemChooser-CAl-fNql.cjs +2 -0
  270. package/dist/TargetPacketItemChooser-CAl-fNql.cjs.map +1 -0
  271. package/dist/TargetPacketItemChooser-CXpSx-eA.js +572 -0
  272. package/dist/TargetPacketItemChooser-CXpSx-eA.js.map +1 -0
  273. package/dist/{TargetsTab-DbbQcBuK.js → TargetsTab-CM4ABe5y.js} +6 -6
  274. package/dist/{TargetsTab-DbbQcBuK.js.map → TargetsTab-CM4ABe5y.js.map} +1 -1
  275. package/dist/{TargetsTab-pbmAAkOA.cjs → TargetsTab-Ixql3xzm.cjs} +2 -2
  276. package/dist/{TargetsTab-pbmAAkOA.cjs.map → TargetsTab-Ixql3xzm.cjs.map} +1 -1
  277. package/dist/{TextboxWidget-CBVEXPw_.js → TextboxWidget-C2n38ti5.js} +4 -4
  278. package/dist/{TextboxWidget-CBVEXPw_.js.map → TextboxWidget-C2n38ti5.js.map} +1 -1
  279. package/dist/{TextboxWidget-CHXcR8lA.cjs → TextboxWidget-DrdMC0EB.cjs} +2 -2
  280. package/dist/{TextboxWidget-CHXcR8lA.cjs.map → TextboxWidget-DrdMC0EB.cjs.map} +1 -1
  281. package/dist/{TextfieldWidget-DZMHrtQa.js → TextfieldWidget--HTv9ddk.js} +2 -2
  282. package/dist/{TextfieldWidget-DZMHrtQa.js.map → TextfieldWidget--HTv9ddk.js.map} +1 -1
  283. package/dist/{TextfieldWidget-vSJ9CtKs.cjs → TextfieldWidget-VeOem1w3.cjs} +2 -2
  284. package/dist/{TextfieldWidget-vSJ9CtKs.cjs.map → TextfieldWidget-VeOem1w3.cjs.map} +1 -1
  285. package/dist/{TimeWidget-ClkxS_oo.cjs → TimeWidget-C9ltUWFh.cjs} +2 -2
  286. package/dist/{TimeWidget-ClkxS_oo.cjs.map → TimeWidget-C9ltUWFh.cjs.map} +1 -1
  287. package/dist/{TimeWidget-K4MNmJ7J.js → TimeWidget-CPNVZaUM.js} +2 -2
  288. package/dist/{TimeWidget-K4MNmJ7J.js.map → TimeWidget-CPNVZaUM.js.map} +1 -1
  289. package/dist/{TitleWidget-8IcwweFE.js → TitleWidget-Cp0cb6V8.js} +2 -2
  290. package/dist/{TitleWidget-8IcwweFE.js.map → TitleWidget-Cp0cb6V8.js.map} +1 -1
  291. package/dist/{TitleWidget-DJJ17ATm.cjs → TitleWidget-IuUVZkLh.cjs} +2 -2
  292. package/dist/{TitleWidget-DJJ17ATm.cjs.map → TitleWidget-IuUVZkLh.cjs.map} +1 -1
  293. package/dist/ToolsTab-Bgrj0eGr.cjs +7 -0
  294. package/dist/ToolsTab-Bgrj0eGr.cjs.map +1 -0
  295. package/dist/{ToolsTab-tkganPCk.js → ToolsTab-DGjyBWkp.js} +5 -5
  296. package/dist/ToolsTab-DGjyBWkp.js.map +1 -0
  297. package/dist/{TopBar-BoI8SRaF.js → TopBar-B48yYbtR.js} +79 -65
  298. package/dist/{TopBar-BoI8SRaF.js.map → TopBar-B48yYbtR.js.map} +1 -1
  299. package/dist/TopBar-DLz-U85G.cjs +2 -0
  300. package/dist/{TopBar-zJvwq8pr.cjs.map → TopBar-DLz-U85G.cjs.map} +1 -1
  301. package/dist/{UpgradeToEnterpriseDialog-BYz9YoyY.js → UpgradeToEnterpriseDialog-C2Ggr_Xd.js} +2 -2
  302. package/dist/{UpgradeToEnterpriseDialog-BYz9YoyY.js.map → UpgradeToEnterpriseDialog-C2Ggr_Xd.js.map} +1 -1
  303. package/dist/{UpgradeToEnterpriseDialog-BxHUptQB.cjs → UpgradeToEnterpriseDialog-DtckZO3_.cjs} +2 -2
  304. package/dist/{UpgradeToEnterpriseDialog-BxHUptQB.cjs.map → UpgradeToEnterpriseDialog-DtckZO3_.cjs.map} +1 -1
  305. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs +1498 -0
  306. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs.map +1 -0
  307. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js} +7305 -7207
  308. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js.map +1 -0
  309. package/dist/{VWidget-3ziiUuPM.cjs → VWidget-Cf9MXbCl.cjs} +2 -2
  310. package/dist/{VWidget-3ziiUuPM.cjs.map → VWidget-Cf9MXbCl.cjs.map} +1 -1
  311. package/dist/{VWidget-CoIgX3hM.js → VWidget-DQGJRgAk.js} +3 -3
  312. package/dist/{VWidget-CoIgX3hM.js.map → VWidget-DQGJRgAk.js.map} +1 -1
  313. package/dist/{ValueWidget-BvT1ASar.js → ValueWidget-Bk1RFjks.js} +4 -4
  314. package/dist/{ValueWidget-BvT1ASar.js.map → ValueWidget-Bk1RFjks.js.map} +1 -1
  315. package/dist/{ValueWidget-RU-vFOh9.cjs → ValueWidget-BmXm9dYt.cjs} +2 -2
  316. package/dist/{ValueWidget-RU-vFOh9.cjs.map → ValueWidget-BmXm9dYt.cjs.map} +1 -1
  317. package/dist/{ValuelimitsbarWidget-C5lBnUmB.js → ValuelimitsbarWidget-C0HIBYh2.js} +4 -4
  318. package/dist/{ValuelimitsbarWidget-C5lBnUmB.js.map → ValuelimitsbarWidget-C0HIBYh2.js.map} +1 -1
  319. package/dist/{ValuelimitsbarWidget-B5UtwjJW.cjs → ValuelimitsbarWidget-PjCpjhsr.cjs} +2 -2
  320. package/dist/{ValuelimitsbarWidget-B5UtwjJW.cjs.map → ValuelimitsbarWidget-PjCpjhsr.cjs.map} +1 -1
  321. package/dist/{ValuelimitscolumnWidget-BruOZb26.cjs → ValuelimitscolumnWidget-BGiDDUI_.cjs} +2 -2
  322. package/dist/{ValuelimitscolumnWidget-BruOZb26.cjs.map → ValuelimitscolumnWidget-BGiDDUI_.cjs.map} +1 -1
  323. package/dist/{ValuelimitscolumnWidget-DHYI0WBL.js → ValuelimitscolumnWidget-BTT90uyX.js} +4 -4
  324. package/dist/{ValuelimitscolumnWidget-DHYI0WBL.js.map → ValuelimitscolumnWidget-BTT90uyX.js.map} +1 -1
  325. package/dist/{ValuerangebarWidget-BSszZhlE.js → ValuerangebarWidget-CcQw_XK9.js} +4 -4
  326. package/dist/{ValuerangebarWidget-BSszZhlE.js.map → ValuerangebarWidget-CcQw_XK9.js.map} +1 -1
  327. package/dist/{ValuerangebarWidget-BhQVRHhm.cjs → ValuerangebarWidget-ClmX-qH_.cjs} +2 -2
  328. package/dist/{ValuerangebarWidget-BhQVRHhm.cjs.map → ValuerangebarWidget-ClmX-qH_.cjs.map} +1 -1
  329. package/dist/{VerticalWidget-XZrIw9zV.cjs → VerticalWidget-BeDWsvP6.cjs} +2 -2
  330. package/dist/{VerticalWidget-XZrIw9zV.cjs.map → VerticalWidget-BeDWsvP6.cjs.map} +1 -1
  331. package/dist/{VerticalWidget-1GhgYrC3.js → VerticalWidget-CNtFQv3R.js} +2 -2
  332. package/dist/{VerticalWidget-1GhgYrC3.js.map → VerticalWidget-CNtFQv3R.js.map} +1 -1
  333. package/dist/{VerticalboxWidget-BV-onQ8m.cjs → VerticalboxWidget-DlokKDBD.cjs} +2 -2
  334. package/dist/{VerticalboxWidget-BV-onQ8m.cjs.map → VerticalboxWidget-DlokKDBD.cjs.map} +1 -1
  335. package/dist/{VerticalboxWidget-DYHJqEzd.js → VerticalboxWidget-Yxmz1SnU.js} +5 -5
  336. package/dist/{VerticalboxWidget-DYHJqEzd.js.map → VerticalboxWidget-Yxmz1SnU.js.map} +1 -1
  337. package/dist/{Widget-Blq-k5SB.cjs → Widget-HC1_yuQg.cjs} +2 -2
  338. package/dist/{Widget-Blq-k5SB.cjs.map → Widget-HC1_yuQg.cjs.map} +1 -1
  339. package/dist/{Widget-B8t93Oid.js → Widget-LsyjS7ZS.js} +2 -2
  340. package/dist/{Widget-B8t93Oid.js.map → Widget-LsyjS7ZS.js.map} +1 -1
  341. package/dist/addMonths-BtG7uZLJ.js.map +1 -1
  342. package/dist/addMonths-n1tnl3ab.cjs.map +1 -1
  343. package/dist/components.cjs +3 -3
  344. package/dist/components.cjs.map +1 -1
  345. package/dist/components.js +229 -622
  346. package/dist/components.js.map +1 -1
  347. package/dist/format-B22VpiOS.cjs.map +1 -1
  348. package/dist/format-CVeawcIv.js.map +1 -1
  349. package/dist/getDefaultOptions-Batab9o8.cjs.map +1 -1
  350. package/dist/getDefaultOptions-BhSDk-Jo.js.map +1 -1
  351. package/dist/index-DS1ACWVr.js +1755 -0
  352. package/dist/index-DS1ACWVr.js.map +1 -0
  353. package/dist/index-Nd4O4kac.cjs +7 -0
  354. package/dist/index-Nd4O4kac.cjs.map +1 -0
  355. package/dist/parse-DnkEsW-3.js.map +1 -1
  356. package/dist/parse-DwfgQboe.cjs.map +1 -1
  357. package/dist/plugins.cjs +2 -2
  358. package/dist/plugins.cjs.map +1 -1
  359. package/dist/plugins.js +87 -83
  360. package/dist/plugins.js.map +1 -1
  361. package/dist/purify.es-GHnZTJ9O.cjs +3 -0
  362. package/dist/purify.es-GHnZTJ9O.cjs.map +1 -0
  363. package/dist/purify.es-eYFoHPwR.js +529 -0
  364. package/dist/purify.es-eYFoHPwR.js.map +1 -0
  365. package/dist/{settings-UZsgbUSr.js → settings-DCxXjkio.js} +2 -2
  366. package/dist/{settings-UZsgbUSr.js.map → settings-DCxXjkio.js.map} +1 -1
  367. package/dist/{settings-DyvFSj59.cjs → settings-zRw8EylV.cjs} +2 -2
  368. package/dist/{settings-DyvFSj59.cjs.map → settings-zRw8EylV.cjs.map} +1 -1
  369. package/dist/timeFilters-BKnCM4rv.js.map +1 -1
  370. package/dist/timeFilters-CJFxfjqN.cjs.map +1 -1
  371. package/dist/tools/admin.cjs +1 -1
  372. package/dist/tools/admin.cjs.map +1 -1
  373. package/dist/tools/admin.js +13 -13
  374. package/dist/tools/admin.js.map +1 -1
  375. package/dist/tools/base.cjs +1 -1
  376. package/dist/tools/base.cjs.map +1 -1
  377. package/dist/tools/base.js +324 -320
  378. package/dist/tools/base.js.map +1 -1
  379. package/dist/tools/calendar.cjs +1 -1
  380. package/dist/tools/calendar.js +1 -1
  381. package/dist/tools/scriptrunner.cjs +8 -7
  382. package/dist/tools/scriptrunner.cjs.map +1 -1
  383. package/dist/tools/scriptrunner.js +1468 -1259
  384. package/dist/tools/scriptrunner.js.map +1 -1
  385. package/dist/vue-common.css +1 -1
  386. package/dist/widgets.cjs +1 -1
  387. package/dist/widgets.js +63 -63
  388. package/package.json +6 -3
  389. package/dist/EventListDialog-BvSMSn7J.js.map +0 -1
  390. package/dist/EventListDialog-Em1RcH7I.cjs +0 -2
  391. package/dist/EventListDialog-Em1RcH7I.cjs.map +0 -1
  392. package/dist/Graph-BJqtVAaV.cjs +0 -2
  393. package/dist/Graph-BJqtVAaV.cjs.map +0 -1
  394. package/dist/Graph-CWcrowaT.js.map +0 -1
  395. package/dist/GraphWidget-BroqS0SO.cjs.map +0 -1
  396. package/dist/GraphWidget-CvzxZYVx.js.map +0 -1
  397. package/dist/IframeWidget-BgJCgues.js.map +0 -1
  398. package/dist/IframeWidget-DOZ1YyS2.cjs.map +0 -1
  399. package/dist/Layout-CSbYbZWA.cjs +0 -2
  400. package/dist/ScriptChooser-B6TGFTBN.cjs +0 -2
  401. package/dist/ScriptChooser-B6TGFTBN.cjs.map +0 -1
  402. package/dist/ScriptChooser-CXjcm3bN.js +0 -176
  403. package/dist/ScriptChooser-CXjcm3bN.js.map +0 -1
  404. package/dist/SettingsTab-CbWrf7U9.js.map +0 -1
  405. package/dist/SettingsTab-DsIVE5UL.cjs.map +0 -1
  406. package/dist/ToolsTab-BkabqeR_.cjs +0 -7
  407. package/dist/ToolsTab-BkabqeR_.cjs.map +0 -1
  408. package/dist/ToolsTab-tkganPCk.js.map +0 -1
  409. package/dist/TopBar-zJvwq8pr.cjs +0 -2
  410. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-BflJrsRh.cjs +0 -1498
  411. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-BflJrsRh.cjs.map +0 -1
  412. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js.map +0 -1
  413. package/dist/index-DDjz5VQq.js +0 -1721
  414. package/dist/index-DDjz5VQq.js.map +0 -1
  415. package/dist/index-DZh4NjG5.cjs +0 -7
  416. package/dist/index-DZh4NjG5.cjs.map +0 -1
@@ -1,29 +1,30 @@
1
1
  var tt = Object.defineProperty;
2
- var qe = (t) => {
2
+ var Ke = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var it = (t, e, n) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
- var Ae = (t, e, n) => it(t, typeof e != "symbol" ? e + "" : e, n), je = (t, e, n) => e.has(t) || qe("Cannot " + n);
7
- var B = (t, e, n) => (je(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? qe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), ee = (t, e, n, a) => (je(t, e, "write to private field"), a ? a.call(t, n) : e.set(t, n), n);
8
- import { c as O, d as Re, a as st } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js";
9
- import { resolveComponent as u, createElementBlock as P, openBlock as y, createVNode as o, createBlock as T, createCommentVNode as D, withCtx as l, createTextVNode as k, createElementVNode as S, withDirectives as nt, vShow as ot, toDisplayString as z, mergeProps as J, normalizeClass as Ze, inject as te, getCurrentInstance as lt, computed as W, ref as ne, watch as ke, onMounted as Xe, onBeforeUnmount as Qe, normalizeStyle as Se, unref as rt, renderSlot as at, useSlots as ut, provide as Z, resolveDynamicComponent as dt, nextTick as Fe, h as ct, withModifiers as le, Fragment as oe, renderList as Ne, normalizeProps as ie, guardReactiveProps as se } from "vue";
10
- import { _ as q } from "../CustomIcon-h5X7369N.js";
11
- import { T as pt } from "../timeFilters-BKnCM4rv.js";
5
+ var it = (t, e, s) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
+ var Be = (t, e, s) => it(t, typeof e != "symbol" ? e + "" : e, s), We = (t, e, s) => e.has(t) || Ke("Cannot " + s);
7
+ var B = (t, e, s) => (We(t, e, "read from private field"), s ? s.call(t) : e.get(t)), W = (t, e, s) => e.has(t) ? Ke("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), ne = (t, e, s, r) => (We(t, e, "write to private field"), r ? r.call(t, s) : e.set(t, s), s);
8
+ import { h as O, g as Te, p as st } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js";
9
+ import { resolveComponent as a, createElementBlock as P, openBlock as S, createVNode as n, createBlock as D, createCommentVNode as U, withCtx as l, createTextVNode as y, createElementVNode as x, withDirectives as nt, vShow as ot, toDisplayString as L, mergeProps as X, normalizeClass as Xe, inject as oe, getCurrentInstance as lt, computed as Y, ref as ae, watch as Ve, onMounted as Qe, onBeforeUnmount as $e, normalizeStyle as Ee, unref as rt, renderSlot as at, useSlots as dt, provide as $, resolveDynamicComponent as ut, nextTick as Ne, h as ct, withModifiers as ue, Fragment as de, renderList as qe, normalizeProps as le, guardReactiveProps as re } from "vue";
10
+ import { _ as j } from "../CustomIcon-h5X7369N.js";
11
+ import { T as mt } from "../timeFilters-BKnCM4rv.js";
12
12
  import "single-spa";
13
- import { O as mt, A as ht } from "../OutputDialog-Ut5cXGxQ.js";
14
- import { f as xe } from "../format-CVeawcIv.js";
15
- import { a as ft } from "../index-DDjz5VQq.js";
16
- import { T as gt, A as Ke } from "../TopBar-BoI8SRaF.js";
17
- import { f as vt } from "../fileIcon-DqRHb1_Z.js";
18
- import { C as _t } from "../CriticalCmdDialog-FhXDdBn4.js";
19
- import { a as bt, O as wt, F as yt } from "../Openc3Screen-1rQ_Dbp4.js";
20
- import { S as kt } from "../SimpleTextDialog-ChV5vRcV.js";
21
- import { _ as St } from "../ClassificationBanners-jiqWjTAZ.js";
22
- import { E as xt } from "../EventListDialog-BvSMSn7J.js";
23
- import { E as Ct } from "../ScriptChooser-CXjcm3bN.js";
24
- const Vt = {
25
- components: { OutputDialog: mt },
26
- mixins: [pt],
13
+ import { O as pt, A as ht } from "../OutputDialog-7M4L50tA.js";
14
+ import { f as Re } from "../format-CVeawcIv.js";
15
+ import { a as ft } from "../index-DS1ACWVr.js";
16
+ import { T as gt, A as Ce } from "../TopBar-B48yYbtR.js";
17
+ import { E as vt, C as _t } from "../ScriptChooser-ahp4Tu3O.js";
18
+ import { f as bt } from "../fileIcon-DqRHb1_Z.js";
19
+ import { C as wt } from "../CriticalCmdDialog-CnNlsHRX.js";
20
+ import { a as yt, O as kt, F as St } from "../Openc3Screen-Cqm5Xtd-.js";
21
+ import { S as xt } from "../SimpleTextDialog-D2mEDvGY.js";
22
+ import { _ as Ct } from "../ClassificationBanners-BGDnMx4r.js";
23
+ import "../purify.es-eYFoHPwR.js";
24
+ import { E as Vt } from "../EventListDialog-C2pwmD0d.js";
25
+ const Et = {
26
+ components: { OutputDialog: pt },
27
+ mixins: [mt],
27
28
  props: {
28
29
  tabId: Number,
29
30
  curTab: Number,
@@ -102,7 +103,7 @@ const Vt = {
102
103
  }
103
104
  },
104
105
  created() {
105
- this.api = new Re(), this.api.get_setting("time_zone").then((t) => {
106
+ this.api = new Te(), this.api.get_setting("time_zone").then((t) => {
106
107
  t && (this.timeZone = t);
107
108
  }).catch((t) => {
108
109
  }), this.getRunningScripts(), this.getCompletedScripts(), this.refreshTimer = setInterval(() => {
@@ -119,12 +120,12 @@ const Vt = {
119
120
  O.get(
120
121
  `/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
121
122
  ).then((e) => {
122
- const n = e.data.items || [], a = /* @__PURE__ */ new Date();
123
- n.forEach((i) => {
123
+ const s = e.data.items || [], r = /* @__PURE__ */ new Date();
124
+ s.forEach((i) => {
124
125
  if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
125
- const s = new Date(i.start_time), d = a - s;
126
+ const o = new Date(i.start_time), d = r - o;
126
127
  if (i.start_time_formatted = this.formatDateTimeHMS(
127
- s,
128
+ o,
128
129
  this.timeZone
129
130
  ), d < 0)
130
131
  i.duration = "N/A";
@@ -133,15 +134,15 @@ const Vt = {
133
134
  else if (d < 6e4)
134
135
  i.duration = `${Math.round(d / 1e3)}s`;
135
136
  else if (d < 36e5) {
136
- const m = Math.floor(d / 6e4), p = Math.round(d % 6e4 / 1e3);
137
- i.duration = `${m}m ${p}s`;
137
+ const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
138
+ i.duration = `${h}m ${c}s`;
138
139
  } else {
139
- const m = Math.floor(d / 36e5), p = Math.floor(d % 36e5 / 6e4), v = Math.round(d % 6e4 / 1e3);
140
- i.duration = `${m}h ${p}m ${v}s`;
140
+ const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), b = Math.round(d % 6e4 / 1e3);
141
+ i.duration = `${h}h ${c}m ${b}s`;
141
142
  }
142
143
  } else
143
144
  i.duration = "N/A";
144
- }), this.runningScripts = n, this.runningTotal = e.data.total || n.length, this.runningLoading = !1;
145
+ }), this.runningScripts = s, this.runningTotal = e.data.total || s.length, this.runningLoading = !1;
145
146
  }).catch((e) => {
146
147
  this.runningLoading = !1, this.$notify.caution({
147
148
  title: "Error Loading Running Scripts",
@@ -161,29 +162,29 @@ const Vt = {
161
162
  O.get(
162
163
  `/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
163
164
  ).then((e) => {
164
- const n = e.data.items || [];
165
- n.forEach((a) => {
166
- if (a.user_display = `${a.user_full_name} (${a.username})`, a.start_time && a.end_time) {
167
- const i = new Date(a.start_time), d = new Date(a.end_time) - i;
168
- if (a.start_time_formatted = this.formatDateTimeHMS(
165
+ const s = e.data.items || [];
166
+ s.forEach((r) => {
167
+ if (r.user_display = `${r.user_full_name} (${r.username})`, r.start_time && r.end_time) {
168
+ const i = new Date(r.start_time), d = new Date(r.end_time) - i;
169
+ if (r.start_time_formatted = this.formatDateTimeHMS(
169
170
  i,
170
171
  this.timeZone
171
172
  ), d < 0)
172
- a.duration = "N/A";
173
+ r.duration = "N/A";
173
174
  else if (d < 1e3)
174
- a.duration = "< 1s";
175
+ r.duration = "< 1s";
175
176
  else if (d < 6e4)
176
- a.duration = `${Math.round(d / 1e3)}s`;
177
+ r.duration = `${Math.round(d / 1e3)}s`;
177
178
  else if (d < 36e5) {
178
- const m = Math.floor(d / 6e4), p = Math.round(d % 6e4 / 1e3);
179
- a.duration = `${m}m ${p}s`;
179
+ const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
180
+ r.duration = `${h}m ${c}s`;
180
181
  } else {
181
- const m = Math.floor(d / 36e5), p = Math.floor(d % 36e5 / 6e4), v = Math.round(d % 6e4 / 1e3);
182
- a.duration = `${m}h ${p}m ${v}s`;
182
+ const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), b = Math.round(d % 6e4 / 1e3);
183
+ r.duration = `${h}h ${c}m ${b}s`;
183
184
  }
184
185
  } else
185
- a.duration = "N/A";
186
- }), this.completedScripts = n, this.completedTotal = e.data.total || n.length, this.completedLoading = !1;
186
+ r.duration = "N/A";
187
+ }), this.completedScripts = s, this.completedTotal = e.data.total || s.length, this.completedLoading = !1;
187
188
  }).catch((e) => {
188
189
  this.completedLoading = !1, this.$notify.caution({
189
190
  title: "Error Loading Completed Scripts",
@@ -207,8 +208,8 @@ const Vt = {
207
208
  params: { id: t.name }
208
209
  };
209
210
  if (this.connectInNewTab) {
210
- let { href: n } = this.$router.resolve(e);
211
- window.open(n, "_blank");
211
+ let { href: s } = this.$router.resolve(e);
212
+ window.open(s, "_blank");
212
213
  } else
213
214
  this.$router.push(e), this.$emit("close");
214
215
  },
@@ -231,102 +232,102 @@ const Vt = {
231
232
  });
232
233
  },
233
234
  viewScriptLog: function(t, e) {
234
- let n = null;
235
- e === "report" ? (this.dialogName = "Report", n = t.report) : (this.dialogName = "Log", n = t.log), O.get(
235
+ let s = null;
236
+ e === "report" ? (this.dialogName = "Report", s = t.report) : (this.dialogName = "Log", s = t.log), O.get(
236
237
  `/openc3-api/storage/download_file/${encodeURIComponent(
237
- n
238
+ s
238
239
  )}?bucket=OPENC3_LOGS_BUCKET`
239
- ).then((a) => {
240
- const i = n.split("/");
241
- this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(a.data.contents), this.showDialog = !0;
240
+ ).then((r) => {
241
+ const i = s.split("/");
242
+ this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(r.data.contents), this.showDialog = !0;
242
243
  });
243
244
  },
244
- downloadScriptLog: function(t, e, n = "text") {
245
- let a = null;
246
- e === "report" ? (this.dialogName = "Report", a = t.report) : (this.dialogName = "Log", a = t.log), this.downloadScript = t, n === "ctrf" && e === "report" ? O.get(
245
+ downloadScriptLog: function(t, e, s = "text") {
246
+ let r = null;
247
+ e === "report" ? (this.dialogName = "Report", r = t.report) : (this.dialogName = "Log", r = t.log), this.downloadScript = t, s === "ctrf" && e === "report" ? O.get(
247
248
  `/openc3-api/storage/download_file/${encodeURIComponent(
248
- a
249
+ r
249
250
  )}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
250
251
  ).then((i) => {
251
- const s = new Blob([window.atob(i.data.contents)], {
252
+ const o = new Blob([window.atob(i.data.contents)], {
252
253
  type: "application/json"
253
254
  }), d = document.createElement("a");
254
- d.href = URL.createObjectURL(s), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
255
+ d.href = URL.createObjectURL(o), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
255
256
  }).catch(() => {
256
257
  this.$notify.caution({
257
- title: `Unable to download log ${a}`,
258
- body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
258
+ title: `Unable to download log ${r}`,
259
+ body: `You may be able to download this log manually from the 'logs' bucket at ${r}`
259
260
  }), this.downloadScript = null;
260
261
  }) : O.get(
261
262
  `/openc3-api/storage/download/${encodeURIComponent(
262
- a
263
+ r
263
264
  )}?bucket=OPENC3_LOGS_BUCKET`
264
265
  ).then((i) => {
265
- const s = a.split("/"), d = s[s.length - 1], m = document.createElement("a");
266
- m.href = i.data.url, m.setAttribute("download", d), m.click(), this.downloadScript = null;
266
+ const o = r.split("/"), d = o[o.length - 1], h = document.createElement("a");
267
+ h.href = i.data.url, h.setAttribute("download", d), h.click(), this.downloadScript = null;
267
268
  }).catch(() => {
268
269
  this.$notify.caution({
269
- title: `Unable to download log ${a}`,
270
- body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
270
+ title: `Unable to download log ${r}`,
271
+ body: `You may be able to download this log manually from the 'logs' bucket at ${r}`
271
272
  }), this.downloadScript = null;
272
273
  });
273
274
  }
274
275
  }
275
276
  }, Rt = { key: 0 }, Ot = { key: 1 };
276
- function Et(t, e, n, a, i, s) {
277
- const d = u("v-tab"), m = u("v-tabs"), p = u("v-spacer"), v = u("v-btn"), w = u("v-text-field"), x = u("v-row"), b = u("v-card-title"), R = u("v-icon"), C = u("v-data-table-server"), E = u("v-window-item"), _ = u("v-list-item-title"), U = u("v-list-item"), N = u("v-list"), Q = u("v-menu"), re = u("v-window"), K = u("v-card"), ae = u("output-dialog");
278
- return y(), P("div", null, [
279
- o(K, {
277
+ function Mt(t, e, s, r, i, o) {
278
+ const d = a("v-tab"), h = a("v-tabs"), c = a("v-spacer"), b = a("v-btn"), k = a("v-text-field"), V = a("v-row"), w = a("v-card-title"), R = a("v-icon"), E = a("v-data-table-server"), T = a("v-window-item"), _ = a("v-list-item-title"), z = a("v-list-item"), G = a("v-list"), Q = a("v-menu"), te = a("v-window"), K = a("v-card"), ie = a("output-dialog");
279
+ return S(), P("div", null, [
280
+ n(K, {
280
281
  flat: "",
281
282
  class: "tab-card"
282
283
  }, {
283
284
  default: l(() => [
284
- o(m, {
285
+ n(h, {
285
286
  modelValue: i.activeTab,
286
- "onUpdate:modelValue": e[0] || (e[0] = (M) => i.activeTab = M),
287
+ "onUpdate:modelValue": e[0] || (e[0] = (I) => i.activeTab = I),
287
288
  "bg-color": "var(--color-background-base-default)"
288
289
  }, {
289
290
  default: l(() => [
290
- o(d, { value: "running" }, {
291
+ n(d, { value: "running" }, {
291
292
  default: l(() => [...e[6] || (e[6] = [
292
- k("Running Scripts", -1)
293
+ y("Running Scripts", -1)
293
294
  ])]),
294
295
  _: 1
295
296
  }),
296
- o(d, { value: "completed" }, {
297
+ n(d, { value: "completed" }, {
297
298
  default: l(() => [...e[7] || (e[7] = [
298
- k("Completed Scripts", -1)
299
+ y("Completed Scripts", -1)
299
300
  ])]),
300
301
  _: 1
301
302
  })
302
303
  ]),
303
304
  _: 1
304
305
  }, 8, ["modelValue"]),
305
- o(re, {
306
+ n(te, {
306
307
  modelValue: i.activeTab,
307
- "onUpdate:modelValue": e[3] || (e[3] = (M) => i.activeTab = M)
308
+ "onUpdate:modelValue": e[3] || (e[3] = (I) => i.activeTab = I)
308
309
  }, {
309
310
  default: l(() => [
310
- o(E, { value: "running" }, {
311
+ n(T, { value: "running" }, {
311
312
  default: l(() => [
312
- o(b, null, {
313
+ n(w, null, {
313
314
  default: l(() => [
314
- o(x, { dense: "" }, {
315
+ n(V, { dense: "" }, {
315
316
  default: l(() => [
316
- o(p),
317
- o(v, {
317
+ n(c),
318
+ n(b, {
318
319
  class: "mr-3",
319
320
  color: "primary",
320
- onClick: s.getRunningScripts
321
+ onClick: o.getRunningScripts
321
322
  }, {
322
323
  default: l(() => [...e[8] || (e[8] = [
323
- k("Refresh", -1)
324
+ y("Refresh", -1)
324
325
  ])]),
325
326
  _: 1
326
327
  }, 8, ["onClick"]),
327
- o(w, {
328
+ n(k, {
328
329
  modelValue: i.runningSearch,
329
- "onUpdate:modelValue": e[1] || (e[1] = (M) => i.runningSearch = M),
330
+ "onUpdate:modelValue": e[1] || (e[1] = (I) => i.runningSearch = I),
330
331
  class: "pt-0 search",
331
332
  label: "Search",
332
333
  "prepend-inner-icon": "mdi-magnify",
@@ -344,7 +345,7 @@ function Et(t, e, n, a, i, s) {
344
345
  ]),
345
346
  _: 1
346
347
  }),
347
- o(C, {
348
+ n(E, {
348
349
  headers: i.runningHeaders,
349
350
  items: i.runningScripts,
350
351
  "items-length": i.runningTotal,
@@ -356,50 +357,50 @@ function Et(t, e, n, a, i, s) {
356
357
  page: i.runningPage,
357
358
  "items-per-page-options": [10, 25, 50],
358
359
  class: "script-table",
359
- "onUpdate:page": s.updateRunningPage,
360
- "onUpdate:itemsPerPage": s.updateRunningItemsPerPage
360
+ "onUpdate:page": o.updateRunningPage,
361
+ "onUpdate:itemsPerPage": o.updateRunningItemsPerPage
361
362
  }, {
362
- "item.name": l(({ item: M }) => [
363
- o(v, {
363
+ "item.name": l(({ item: I }) => [
364
+ n(b, {
364
365
  color: "primary",
365
366
  density: "comfortable",
366
- onClick: (F) => s.showScript(M)
367
+ onClick: (F) => o.showScript(I)
367
368
  }, {
368
369
  default: l(() => [
369
- k(z(M.name), 1)
370
+ y(L(I.name), 1)
370
371
  ]),
371
372
  _: 2
372
373
  }, 1032, ["onClick"])
373
374
  ]),
374
- "item.connect": l(({ item: M }) => [
375
- o(v, {
375
+ "item.connect": l(({ item: I }) => [
376
+ n(b, {
376
377
  color: "primary",
377
- onClick: (F) => s.connectScript(M)
378
+ onClick: (F) => o.connectScript(I)
378
379
  }, {
379
380
  default: l(() => [
380
- e[10] || (e[10] = S("span", null, "Connect", -1)),
381
- nt(o(R, { end: "" }, {
381
+ e[10] || (e[10] = x("span", null, "Connect", -1)),
382
+ nt(n(R, { end: "" }, {
382
383
  default: l(() => [...e[9] || (e[9] = [
383
- k(" mdi-open-in-new ", -1)
384
+ y(" mdi-open-in-new ", -1)
384
385
  ])]),
385
386
  _: 1
386
387
  }, 512), [
387
- [ot, n.connectInNewTab]
388
+ [ot, s.connectInNewTab]
388
389
  ])
389
390
  ]),
390
391
  _: 1
391
392
  }, 8, ["onClick"])
392
393
  ]),
393
- "item.stop": l(({ item: M }) => [
394
- o(v, {
394
+ "item.stop": l(({ item: I }) => [
395
+ n(b, {
395
396
  color: "primary",
396
- onClick: (F) => s.deleteScript(M)
397
+ onClick: (F) => o.deleteScript(I)
397
398
  }, {
398
399
  default: l(() => [
399
- e[12] || (e[12] = S("span", null, "Stop", -1)),
400
- o(R, { end: "" }, {
400
+ e[12] || (e[12] = x("span", null, "Stop", -1)),
401
+ n(R, { end: "" }, {
401
402
  default: l(() => [...e[11] || (e[11] = [
402
- k(" mdi-close-circle-outline ", -1)
403
+ y(" mdi-close-circle-outline ", -1)
403
404
  ])]),
404
405
  _: 1
405
406
  })
@@ -412,26 +413,26 @@ function Et(t, e, n, a, i, s) {
412
413
  ]),
413
414
  _: 1
414
415
  }),
415
- o(E, { value: "completed" }, {
416
+ n(T, { value: "completed" }, {
416
417
  default: l(() => [
417
- o(b, null, {
418
+ n(w, null, {
418
419
  default: l(() => [
419
- o(x, { dense: "" }, {
420
+ n(V, { dense: "" }, {
420
421
  default: l(() => [
421
- o(p),
422
- o(v, {
422
+ n(c),
423
+ n(b, {
423
424
  class: "mr-3",
424
425
  color: "primary",
425
- onClick: s.getCompletedScripts
426
+ onClick: o.getCompletedScripts
426
427
  }, {
427
428
  default: l(() => [...e[13] || (e[13] = [
428
- k("Refresh", -1)
429
+ y("Refresh", -1)
429
430
  ])]),
430
431
  _: 1
431
432
  }, 8, ["onClick"]),
432
- o(w, {
433
+ n(k, {
433
434
  modelValue: i.completedSearch,
434
- "onUpdate:modelValue": e[2] || (e[2] = (M) => i.completedSearch = M),
435
+ "onUpdate:modelValue": e[2] || (e[2] = (I) => i.completedSearch = I),
435
436
  class: "pt-0 search",
436
437
  label: "Search",
437
438
  "prepend-inner-icon": "mdi-magnify",
@@ -448,7 +449,7 @@ function Et(t, e, n, a, i, s) {
448
449
  ]),
449
450
  _: 1
450
451
  }),
451
- o(C, {
452
+ n(E, {
452
453
  headers: i.completedHeaders,
453
454
  items: i.completedScripts,
454
455
  "items-length": i.completedTotal,
@@ -460,78 +461,78 @@ function Et(t, e, n, a, i, s) {
460
461
  page: i.completedPage,
461
462
  "items-per-page-options": [10, 25, 50],
462
463
  class: "script-table",
463
- "onUpdate:page": s.updateCompletedPage,
464
- "onUpdate:itemsPerPage": s.updateCompletedItemsPerPage
464
+ "onUpdate:page": o.updateCompletedPage,
465
+ "onUpdate:itemsPerPage": o.updateCompletedItemsPerPage
465
466
  }, {
466
- "item.name": l(({ item: M }) => [
467
- o(v, {
467
+ "item.name": l(({ item: I }) => [
468
+ n(b, {
468
469
  color: "primary",
469
470
  density: "comfortable",
470
- onClick: (F) => s.showScript(M)
471
+ onClick: (F) => o.showScript(I)
471
472
  }, {
472
473
  default: l(() => [
473
- k(z(M.name), 1)
474
+ y(L(I.name), 1)
474
475
  ]),
475
476
  _: 2
476
477
  }, 1032, ["onClick"])
477
478
  ]),
478
- "item.log": l(({ item: M }) => [
479
- o(v, {
479
+ "item.log": l(({ item: I }) => [
480
+ n(b, {
480
481
  color: "primary",
481
482
  density: "comfortable",
482
483
  icon: "mdi-eye",
483
- onClick: (F) => s.viewScriptLog(M, "log")
484
+ onClick: (F) => o.viewScriptLog(I, "log")
484
485
  }, null, 8, ["onClick"]),
485
- o(v, {
486
+ n(b, {
486
487
  color: "primary",
487
488
  density: "comfortable",
488
489
  icon: "mdi-file-download-outline",
489
490
  disabled: i.downloadScript,
490
- loading: i.downloadScript && i.downloadScript.name === M.name,
491
- onClick: (F) => s.downloadScriptLog(M, "log")
491
+ loading: i.downloadScript && i.downloadScript.name === I.name,
492
+ onClick: (F) => o.downloadScriptLog(I, "log")
492
493
  }, null, 8, ["disabled", "loading", "onClick"])
493
494
  ]),
494
- "item.report": l(({ item: M }) => [
495
- M.report ? (y(), P("div", Ot, [
496
- o(v, {
495
+ "item.report": l(({ item: I }) => [
496
+ I.report ? (S(), P("div", Ot, [
497
+ n(b, {
497
498
  color: "primary",
498
499
  density: "comfortable",
499
500
  icon: "mdi-eye",
500
- onClick: (F) => s.viewScriptLog(M, "report")
501
+ onClick: (F) => o.viewScriptLog(I, "report")
501
502
  }, null, 8, ["onClick"]),
502
- o(Q, null, {
503
+ n(Q, null, {
503
504
  activator: l(({ props: F }) => [
504
- o(v, J({
505
+ n(b, X({
505
506
  color: "primary",
506
507
  density: "comfortable",
507
508
  icon: "mdi-file-download-outline",
508
509
  disabled: i.downloadScript,
509
- loading: i.downloadScript && i.downloadScript.name === M.name
510
+ loading: i.downloadScript && i.downloadScript.name === I.name
510
511
  }, F), null, 16, ["disabled", "loading"])
511
512
  ]),
512
513
  default: l(() => [
513
- o(N, null, {
514
+ n(G, null, {
514
515
  default: l(() => [
515
- o(U, {
516
- onClick: (F) => s.downloadScriptLog(M, "report", "text")
516
+ n(z, {
517
+ onClick: (F) => o.downloadScriptLog(I, "report", "text")
517
518
  }, {
518
519
  default: l(() => [
519
- o(_, null, {
520
+ n(_, null, {
520
521
  default: l(() => [...e[15] || (e[15] = [
521
- k("Download as Text", -1)
522
+ y("Download as Text", -1)
522
523
  ])]),
523
524
  _: 1
524
525
  })
525
526
  ]),
526
527
  _: 1
527
528
  }, 8, ["onClick"]),
528
- o(U, {
529
- onClick: (F) => s.downloadScriptLog(M, "report", "ctrf")
529
+ n(z, {
530
+ onClick: (F) => o.downloadScriptLog(I, "report", "ctrf")
530
531
  }, {
531
532
  default: l(() => [
532
- o(_, null, {
533
+ n(_, null, {
533
534
  default: l(() => [...e[16] || (e[16] = [
534
- k("Download as CTRF", -1)
535
+ y("Download as CTRF", -1)
535
536
  ])]),
536
537
  _: 1
537
538
  })
@@ -544,8 +545,8 @@ function Et(t, e, n, a, i, s) {
544
545
  ]),
545
546
  _: 2
546
547
  }, 1024)
547
- ])) : (y(), P("div", Rt, [...e[14] || (e[14] = [
548
- S("span", null, "N/A", -1)
548
+ ])) : (S(), P("div", Rt, [...e[14] || (e[14] = [
549
+ x("span", null, "N/A", -1)
549
550
  ])]))
550
551
  ]),
551
552
  _: 1
@@ -559,19 +560,19 @@ function Et(t, e, n, a, i, s) {
559
560
  ]),
560
561
  _: 1
561
562
  }),
562
- i.showDialog ? (y(), T(ae, {
563
+ i.showDialog ? (S(), D(ie, {
563
564
  key: 0,
564
565
  modelValue: i.showDialog,
565
- "onUpdate:modelValue": e[4] || (e[4] = (M) => i.showDialog = M),
566
+ "onUpdate:modelValue": e[4] || (e[4] = (I) => i.showDialog = I),
566
567
  content: i.dialogContent,
567
568
  type: "Script",
568
569
  name: i.dialogName,
569
570
  filename: i.dialogFilename,
570
- onSubmit: e[5] || (e[5] = (M) => i.showDialog = !1)
571
- }, null, 8, ["modelValue", "content", "name", "filename"])) : D("", !0)
571
+ onSubmit: e[5] || (e[5] = (I) => i.showDialog = !1)
572
+ }, null, 8, ["modelValue", "content", "name", "filename"])) : U("", !0)
572
573
  ]);
573
574
  }
574
- const Mt = /* @__PURE__ */ q(Vt, [["render", Et]]), Tt = {
575
+ const Tt = /* @__PURE__ */ j(Et, [["render", Mt]]), It = {
575
576
  props: {
576
577
  modelValue: {
577
578
  type: Array,
@@ -609,14 +610,14 @@ const Mt = /* @__PURE__ */ q(Vt, [["render", Et]]), Tt = {
609
610
  ) ? "openc3-red" : "";
610
611
  },
611
612
  downloadLog() {
612
- const t = this.messages.map((a) => a.message).join(`
613
+ const t = this.messages.map((r) => r.message).join(`
613
614
  `), e = new Blob([t], {
614
615
  type: "text/plain"
615
- }), n = document.createElement("a");
616
- n.href = URL.createObjectURL(e), n.setAttribute(
616
+ }), s = document.createElement("a");
617
+ s.href = URL.createObjectURL(e), s.setAttribute(
617
618
  "download",
618
- xe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
619
- ), n.click();
619
+ Re(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
620
+ ), s.click();
620
621
  },
621
622
  clearLog: function() {
622
623
  this.$dialog.confirm("Are you sure you want to clear the log?", {
@@ -629,26 +630,26 @@ const Mt = /* @__PURE__ */ q(Vt, [["render", Et]]), Tt = {
629
630
  }
630
631
  }
631
632
  };
632
- function It(t, e, n, a, i, s) {
633
- const d = u("v-btn"), m = u("v-spacer"), p = u("v-select"), v = u("v-text-field"), w = u("v-card-title"), x = u("v-data-table"), b = u("v-card-text"), R = u("v-card");
634
- return y(), T(R, null, {
633
+ function Dt(t, e, s, r, i, o) {
634
+ const d = a("v-btn"), h = a("v-spacer"), c = a("v-select"), b = a("v-text-field"), k = a("v-card-title"), V = a("v-data-table"), w = a("v-card-text"), R = a("v-card");
635
+ return S(), D(R, null, {
635
636
  default: l(() => [
636
- o(w, { class: "d-flex align-center" }, {
637
+ n(k, { class: "d-flex align-center" }, {
637
638
  default: l(() => [
638
- o(d, {
639
+ n(d, {
639
640
  class: "mx-2",
640
641
  icon: "mdi-download",
641
642
  variant: "text",
642
643
  density: "compact",
643
644
  "data-test": "download-log",
644
645
  "aria-label": "Download Log",
645
- onClick: s.downloadLog
646
+ onClick: o.downloadLog
646
647
  }, null, 8, ["onClick"]),
647
- e[2] || (e[2] = k(" Script Messages ", -1)),
648
- o(m),
649
- o(p, {
648
+ e[2] || (e[2] = y(" Script Messages ", -1)),
649
+ n(h),
650
+ n(c, {
650
651
  modelValue: i.messageOrder,
651
- "onUpdate:modelValue": e[0] || (e[0] = (C) => i.messageOrder = C),
652
+ "onUpdate:modelValue": e[0] || (e[0] = (E) => i.messageOrder = E),
652
653
  density: "compact",
653
654
  "hide-details": "",
654
655
  variant: "outlined",
@@ -657,10 +658,10 @@ function It(t, e, n, a, i, s) {
657
658
  style: { "max-width": "200px" },
658
659
  "data-test": "message-order"
659
660
  }, null, 8, ["modelValue", "items"]),
660
- o(m),
661
- o(v, {
661
+ n(h),
662
+ n(b, {
662
663
  modelValue: i.search,
663
- "onUpdate:modelValue": e[1] || (e[1] = (C) => i.search = C),
664
+ "onUpdate:modelValue": e[1] || (e[1] = (E) => i.search = E),
664
665
  label: "Search",
665
666
  "prepend-inner-icon": "mdi-magnify",
666
667
  clearable: "",
@@ -671,35 +672,35 @@ function It(t, e, n, a, i, s) {
671
672
  class: "search",
672
673
  "data-test": "search-messages"
673
674
  }, null, 8, ["modelValue"]),
674
- o(d, {
675
+ n(d, {
675
676
  class: "mx-2",
676
677
  icon: "mdi-delete-sweep",
677
678
  variant: "text",
678
679
  density: "compact",
679
680
  "data-test": "clear-log",
680
681
  "aria-label": "Clear Log",
681
- onClick: s.clearLog
682
+ onClick: o.clearLog
682
683
  }, null, 8, ["onClick"])
683
684
  ]),
684
685
  _: 1
685
686
  }),
686
- o(b, null, {
687
+ n(w, null, {
687
688
  default: l(() => [
688
- o(x, {
689
+ n(V, {
689
690
  id: "script-log-messages",
690
691
  style: { overflow: "auto" },
691
692
  headers: i.headers,
692
- items: s.messages,
693
+ items: o.messages,
693
694
  search: i.search,
694
695
  "items-per-page": -1,
695
696
  "hide-default-footer": "",
696
697
  density: "compact",
697
698
  "data-test": "output-messages"
698
699
  }, {
699
- "item.message": l(({ item: C }) => [
700
- S("div", {
701
- class: Ze(s.messageClass(C.message))
702
- }, z(C.message), 3)
700
+ "item.message": l(({ item: E }) => [
701
+ x("div", {
702
+ class: Xe(o.messageClass(E.message))
703
+ }, L(E.message), 3)
703
704
  ]),
704
705
  _: 1
705
706
  }, 8, ["headers", "items", "search"])
@@ -710,7 +711,7 @@ function It(t, e, n, a, i, s) {
710
711
  _: 1
711
712
  });
712
713
  }
713
- const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Ut = {
714
+ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
714
715
  __name: "splitpanes",
715
716
  props: {
716
717
  horizontal: { type: Boolean, default: !1 },
@@ -733,200 +734,200 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Ut = {
733
734
  "splitter-dblclick"
734
735
  ],
735
736
  setup(t, { emit: e }) {
736
- const n = e, a = t, i = ut(), s = ne([]), d = W(() => s.value.reduce((c, r) => (c[~~r.id] = r) && c, {})), m = W(() => s.value.length), p = ne(null), v = ne(!1), w = ne({
737
+ const s = e, r = t, i = dt(), o = ae([]), d = Y(() => o.value.reduce((u, p) => (u[~~p.id] = p) && u, {})), h = Y(() => o.value.length), c = ae(null), b = ae(!1), k = ae({
737
738
  mouseDown: !1,
738
739
  dragging: !1,
739
740
  activeSplitter: null,
740
741
  cursorOffset: 0
741
742
  // Cursor offset within the splitter.
742
- }), x = ne({
743
+ }), V = ae({
743
744
  // Used to detect double click on touch devices.
744
745
  splitter: null,
745
746
  timeoutId: null
746
- }), b = W(() => ({
747
- [`splitpanes splitpanes--${a.horizontal ? "horizontal" : "vertical"}`]: !0,
748
- "splitpanes--dragging": w.value.dragging
747
+ }), w = Y(() => ({
748
+ [`splitpanes splitpanes--${r.horizontal ? "horizontal" : "vertical"}`]: !0,
749
+ "splitpanes--dragging": k.value.dragging
749
750
  })), R = () => {
750
- document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", U), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", U));
751
- }, C = () => {
752
- document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", U), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", U));
753
- }, E = (c, r) => {
754
- const h = c.target.closest(".splitpanes__splitter");
755
- if (h) {
756
- const { left: f, top: g } = h.getBoundingClientRect(), { clientX: V, clientY: I } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
757
- w.value.cursorOffset = a.horizontal ? I - g : V - f;
751
+ document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", z), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", z));
752
+ }, E = () => {
753
+ document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", z), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", z));
754
+ }, T = (u, p) => {
755
+ const v = u.target.closest(".splitpanes__splitter");
756
+ if (v) {
757
+ const { left: f, top: g } = v.getBoundingClientRect(), { clientX: C, clientY: M } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
758
+ k.value.cursorOffset = r.horizontal ? M - g : C - f;
758
759
  }
759
- R(), w.value.mouseDown = !0, w.value.activeSplitter = r;
760
- }, _ = (c) => {
761
- w.value.mouseDown && (c.preventDefault(), w.value.dragging = !0, requestAnimationFrame(() => {
762
- M(K(c)), L("resize", { event: c }, !0);
760
+ R(), k.value.mouseDown = !0, k.value.activeSplitter = p;
761
+ }, _ = (u) => {
762
+ k.value.mouseDown && (u.preventDefault(), k.value.dragging = !0, requestAnimationFrame(() => {
763
+ I(K(u)), N("resize", { event: u }, !0);
763
764
  }));
764
- }, U = (c) => {
765
- w.value.dragging && (window.getSelection().removeAllRanges(), L("resized", { event: c }, !0)), w.value.mouseDown = !1, w.value.activeSplitter = null, setTimeout(() => {
766
- w.value.dragging = !1, C();
765
+ }, z = (u) => {
766
+ k.value.dragging && (window.getSelection().removeAllRanges(), N("resized", { event: u }, !0)), k.value.mouseDown = !1, k.value.activeSplitter = null, setTimeout(() => {
767
+ k.value.dragging = !1, E();
767
768
  }, 100);
768
- }, N = (c, r) => {
769
- "ontouchstart" in window && (c.preventDefault(), x.value.splitter === r ? (clearTimeout(x.value.timeoutId), x.value.timeoutId = null, Q(c, r), x.value.splitter = null) : (x.value.splitter = r, x.value.timeoutId = setTimeout(() => x.value.splitter = null, 500))), w.value.dragging || L("splitter-click", { event: c, index: r }, !0);
770
- }, Q = (c, r) => {
771
- if (L("splitter-dblclick", { event: c, index: r }, !0), a.maximizePanes) {
772
- let h = 0;
773
- s.value = s.value.map((f, g) => (f.size = g === r ? f.max : f.min, g !== r && (h += f.min), f)), s.value[r].size -= h, L("pane-maximize", { event: c, index: r, pane: s.value[r] }), L("resized", { event: c, index: r }, !0);
769
+ }, G = (u, p) => {
770
+ "ontouchstart" in window && (u.preventDefault(), V.value.splitter === p ? (clearTimeout(V.value.timeoutId), V.value.timeoutId = null, Q(u, p), V.value.splitter = null) : (V.value.splitter = p, V.value.timeoutId = setTimeout(() => V.value.splitter = null, 500))), k.value.dragging || N("splitter-click", { event: u, index: p }, !0);
771
+ }, Q = (u, p) => {
772
+ if (N("splitter-dblclick", { event: u, index: p }, !0), r.maximizePanes) {
773
+ let v = 0;
774
+ o.value = o.value.map((f, g) => (f.size = g === p ? f.max : f.min, g !== p && (v += f.min), f)), o.value[p].size -= v, N("pane-maximize", { event: u, index: p, pane: o.value[p] }), N("resized", { event: u, index: p }, !0);
774
775
  }
775
- }, re = (c, r) => {
776
- L("pane-click", {
777
- event: c,
778
- index: d.value[r].index,
779
- pane: d.value[r]
776
+ }, te = (u, p) => {
777
+ N("pane-click", {
778
+ event: u,
779
+ index: d.value[p].index,
780
+ pane: d.value[p]
780
781
  });
781
- }, K = (c) => {
782
- const r = p.value.getBoundingClientRect(), { clientX: h, clientY: f } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
782
+ }, K = (u) => {
783
+ const p = c.value.getBoundingClientRect(), { clientX: v, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
783
784
  return {
784
- x: h - (a.horizontal ? 0 : w.value.cursorOffset) - r.left,
785
- y: f - (a.horizontal ? w.value.cursorOffset : 0) - r.top
785
+ x: v - (r.horizontal ? 0 : k.value.cursorOffset) - p.left,
786
+ y: f - (r.horizontal ? k.value.cursorOffset : 0) - p.top
786
787
  };
787
- }, ae = (c) => {
788
- c = c[a.horizontal ? "y" : "x"];
789
- const r = p.value[a.horizontal ? "clientHeight" : "clientWidth"];
790
- return a.rtl && !a.horizontal && (c = r - c), c * 100 / r;
791
- }, M = (c) => {
792
- const r = w.value.activeSplitter;
793
- let h = {
794
- prevPanesSize: ue(r),
795
- nextPanesSize: Y(r),
788
+ }, ie = (u) => {
789
+ u = u[r.horizontal ? "y" : "x"];
790
+ const p = c.value[r.horizontal ? "clientHeight" : "clientWidth"];
791
+ return r.rtl && !r.horizontal && (u = p - u), u * 100 / p;
792
+ }, I = (u) => {
793
+ const p = k.value.activeSplitter;
794
+ let v = {
795
+ prevPanesSize: ce(p),
796
+ nextPanesSize: Z(p),
796
797
  prevReachedMinPanes: 0,
797
798
  nextReachedMinPanes: 0
798
799
  };
799
- const f = 0 + (a.pushOtherPanes ? 0 : h.prevPanesSize), g = 100 - (a.pushOtherPanes ? 0 : h.nextPanesSize), V = Math.max(Math.min(ae(c), g), f);
800
- let I = [r, r + 1], A = s.value[I[0]] || null, H = s.value[I[1]] || null;
801
- const He = A.max < 100 && V >= A.max + h.prevPanesSize, et = H.max < 100 && V <= 100 - (H.max + Y(r + 1));
802
- if (He || et) {
803
- He ? (A.size = A.max, H.size = Math.max(100 - A.max - h.prevPanesSize - h.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - h.prevPanesSize - Y(r + 1), 0), H.size = H.max);
800
+ const f = 0 + (r.pushOtherPanes ? 0 : v.prevPanesSize), g = 100 - (r.pushOtherPanes ? 0 : v.nextPanesSize), C = Math.max(Math.min(ie(u), g), f);
801
+ let M = [p, p + 1], A = o.value[M[0]] || null, H = o.value[M[1]] || null;
802
+ const m = A.max < 100 && C >= A.max + v.prevPanesSize, J = H.max < 100 && C <= 100 - (H.max + Z(p + 1));
803
+ if (m || J) {
804
+ m ? (A.size = A.max, H.size = Math.max(100 - A.max - v.prevPanesSize - v.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - v.prevPanesSize - Z(p + 1), 0), H.size = H.max);
804
805
  return;
805
806
  }
806
- if (a.pushOtherPanes) {
807
- const Ge = F(h, V);
808
- if (!Ge) return;
809
- ({ sums: h, panesToResize: I } = Ge), A = s.value[I[0]] || null, H = s.value[I[1]] || null;
807
+ if (r.pushOtherPanes) {
808
+ const je = F(v, C);
809
+ if (!je) return;
810
+ ({ sums: v, panesToResize: M } = je), A = o.value[M[0]] || null, H = o.value[M[1]] || null;
810
811
  }
811
- A !== null && (A.size = Math.min(Math.max(V - h.prevPanesSize - h.prevReachedMinPanes, A.min), A.max)), H !== null && (H.size = Math.min(Math.max(100 - V - h.nextPanesSize - h.nextReachedMinPanes, H.min), H.max));
812
- }, F = (c, r) => {
813
- const h = w.value.activeSplitter, f = [h, h + 1];
814
- return r < c.prevPanesSize + s.value[f[0]].min && (f[0] = Oe(h).index, c.prevReachedMinPanes = 0, f[0] < h && s.value.forEach((g, V) => {
815
- V > f[0] && V <= h && (g.size = g.min, c.prevReachedMinPanes += g.min);
816
- }), c.prevPanesSize = ue(f[0]), f[0] === void 0) ? (c.prevReachedMinPanes = 0, s.value[0].size = s.value[0].min, s.value.forEach((g, V) => {
817
- V > 0 && V <= h && (g.size = g.min, c.prevReachedMinPanes += g.min);
818
- }), s.value[f[1]].size = 100 - c.prevReachedMinPanes - s.value[0].min - c.prevPanesSize - c.nextPanesSize, null) : r > 100 - c.nextPanesSize - s.value[f[1]].min && (f[1] = be(h).index, c.nextReachedMinPanes = 0, f[1] > h + 1 && s.value.forEach((g, V) => {
819
- V > h && V < f[1] && (g.size = g.min, c.nextReachedMinPanes += g.min);
820
- }), c.nextPanesSize = Y(f[1] - 1), f[1] === void 0) ? (c.nextReachedMinPanes = 0, s.value.forEach((g, V) => {
821
- V < m.value - 1 && V >= h + 1 && (g.size = g.min, c.nextReachedMinPanes += g.min);
822
- }), s.value[f[0]].size = 100 - c.prevPanesSize - Y(f[0] - 1), null) : { sums: c, panesToResize: f };
823
- }, ue = (c) => s.value.reduce((r, h, f) => r + (f < c ? h.size : 0), 0), Y = (c) => s.value.reduce((r, h, f) => r + (f > c + 1 ? h.size : 0), 0), Oe = (c) => [...s.value].reverse().find((r) => r.index < c && r.size > r.min) || {}, be = (c) => s.value.find((r) => r.index > c + 1 && r.size > r.min) || {}, we = () => {
824
- var c;
825
- const r = Array.from(((c = p.value) == null ? void 0 : c.children) || []);
826
- for (const h of r) {
827
- const f = h.classList.contains("splitpanes__pane"), g = h.classList.contains("splitpanes__splitter");
828
- !f && !g && (h.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
812
+ A !== null && (A.size = Math.min(Math.max(C - v.prevPanesSize - v.prevReachedMinPanes, A.min), A.max)), H !== null && (H.size = Math.min(Math.max(100 - C - v.nextPanesSize - v.nextReachedMinPanes, H.min), H.max));
813
+ }, F = (u, p) => {
814
+ const v = k.value.activeSplitter, f = [v, v + 1];
815
+ return p < u.prevPanesSize + o.value[f[0]].min && (f[0] = Ie(v).index, u.prevReachedMinPanes = 0, f[0] < v && o.value.forEach((g, C) => {
816
+ C > f[0] && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
817
+ }), u.prevPanesSize = ce(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0, o.value[0].size = o.value[0].min, o.value.forEach((g, C) => {
818
+ C > 0 && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
819
+ }), o.value[f[1]].size = 100 - u.prevReachedMinPanes - o.value[0].min - u.prevPanesSize - u.nextPanesSize, null) : p > 100 - u.nextPanesSize - o.value[f[1]].min && (f[1] = ke(v).index, u.nextReachedMinPanes = 0, f[1] > v + 1 && o.value.forEach((g, C) => {
820
+ C > v && C < f[1] && (g.size = g.min, u.nextReachedMinPanes += g.min);
821
+ }), u.nextPanesSize = Z(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0, o.value.forEach((g, C) => {
822
+ C < h.value - 1 && C >= v + 1 && (g.size = g.min, u.nextReachedMinPanes += g.min);
823
+ }), o.value[f[0]].size = 100 - u.prevPanesSize - Z(f[0] - 1), null) : { sums: u, panesToResize: f };
824
+ }, ce = (u) => o.value.reduce((p, v, f) => p + (f < u ? v.size : 0), 0), Z = (u) => o.value.reduce((p, v, f) => p + (f > u + 1 ? v.size : 0), 0), Ie = (u) => [...o.value].reverse().find((p) => p.index < u && p.size > p.min) || {}, ke = (u) => o.value.find((p) => p.index > u + 1 && p.size > p.min) || {}, De = () => {
825
+ var u;
826
+ const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
827
+ for (const v of p) {
828
+ const f = v.classList.contains("splitpanes__pane"), g = v.classList.contains("splitpanes__splitter");
829
+ !f && !g && (v.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
829
830
  }
830
- }, ye = (c, r, h = !1) => {
831
- const f = c - 1, g = document.createElement("div");
832
- g.classList.add("splitpanes__splitter"), h || (g.onmousedown = (V) => E(V, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (V) => E(V, f)), g.onclick = (V) => N(V, f + 1)), g.ondblclick = (V) => Q(V, f + 1), r.parentNode.insertBefore(g, r);
833
- }, Ee = (c) => {
834
- c.onmousedown = void 0, c.onclick = void 0, c.ondblclick = void 0, c.remove();
835
- }, $ = () => {
836
- var c;
837
- const r = Array.from(((c = p.value) == null ? void 0 : c.children) || []);
838
- for (const f of r)
839
- f.className.includes("splitpanes__splitter") && Ee(f);
840
- let h = 0;
841
- for (const f of r)
842
- f.className.includes("splitpanes__pane") && (!h && a.firstSplitter ? ye(h, f, !0) : h && ye(h, f), h++);
843
- }, Me = ({ uid: c, ...r }) => {
844
- const h = d.value[c];
845
- for (const [f, g] of Object.entries(r)) h[f] = g;
846
- }, Te = (c) => {
847
- var r;
848
- let h = -1;
849
- Array.from(((r = p.value) == null ? void 0 : r.children) || []).some((f) => (f.className.includes("splitpanes__pane") && h++, f.isSameNode(c.el))), s.value.splice(h, 0, { ...c, index: h }), s.value.forEach((f, g) => f.index = g), v.value && Fe(() => {
850
- $(), de({ addedPane: s.value[h] }), L("pane-add", { pane: s.value[h] });
831
+ }, me = (u, p, v = !1) => {
832
+ const f = u - 1, g = document.createElement("div");
833
+ g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (C) => T(C, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (C) => T(C, f)), g.onclick = (C) => G(C, f + 1)), g.ondblclick = (C) => Q(C, f + 1), p.parentNode.insertBefore(g, p);
834
+ }, Se = (u) => {
835
+ u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
836
+ }, se = () => {
837
+ var u;
838
+ const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
839
+ for (const f of p)
840
+ f.className.includes("splitpanes__splitter") && Se(f);
841
+ let v = 0;
842
+ for (const f of p)
843
+ f.className.includes("splitpanes__pane") && (!v && r.firstSplitter ? me(v, f, !0) : v && me(v, f), v++);
844
+ }, xe = ({ uid: u, ...p }) => {
845
+ const v = d.value[u];
846
+ for (const [f, g] of Object.entries(p)) v[f] = g;
847
+ }, Ue = (u) => {
848
+ var p;
849
+ let v = -1;
850
+ Array.from(((p = c.value) == null ? void 0 : p.children) || []).some((f) => (f.className.includes("splitpanes__pane") && v++, f.isSameNode(u.el))), o.value.splice(v, 0, { ...u, index: v }), o.value.forEach((f, g) => f.index = g), b.value && Ne(() => {
851
+ se(), pe({ addedPane: o.value[v] }), N("pane-add", { pane: o.value[v] });
851
852
  });
852
- }, Ie = (c) => {
853
- const r = s.value.findIndex((f) => f.id === c);
854
- s.value[r].el = null;
855
- const h = s.value.splice(r, 1)[0];
856
- s.value.forEach((f, g) => f.index = g), Fe(() => {
857
- $(), L("pane-remove", { pane: h }), de({ removedPane: { ...h } });
853
+ }, Pe = (u) => {
854
+ const p = o.value.findIndex((f) => f.id === u);
855
+ o.value[p].el = null;
856
+ const v = o.value.splice(p, 1)[0];
857
+ o.value.forEach((f, g) => f.index = g), Ne(() => {
858
+ se(), N("pane-remove", { pane: v }), pe({ removedPane: { ...v } });
858
859
  });
859
- }, de = (c = {}) => {
860
- !c.addedPane && !c.removedPane ? Ue() : s.value.some((r) => r.givenSize !== null || r.min || r.max < 100) ? Pe(c) : De(), v.value && L("resized");
861
- }, De = () => {
862
- const c = 100 / m.value;
863
- let r = 0;
864
- const h = [], f = [];
865
- for (const g of s.value)
866
- g.size = Math.max(Math.min(c, g.max), g.min), r -= g.size, g.size >= g.max && h.push(g.id), g.size <= g.min && f.push(g.id);
867
- r > 0.1 && ce(r, h, f);
868
- }, Ue = () => {
869
- let c = 100;
870
- const r = [], h = [];
860
+ }, pe = (u = {}) => {
861
+ !u.addedPane && !u.removedPane ? Le() : o.value.some((p) => p.givenSize !== null || p.min || p.max < 100) ? Ae(u) : ze(), b.value && N("resized");
862
+ }, ze = () => {
863
+ const u = 100 / h.value;
864
+ let p = 0;
865
+ const v = [], f = [];
866
+ for (const g of o.value)
867
+ g.size = Math.max(Math.min(u, g.max), g.min), p -= g.size, g.size >= g.max && v.push(g.id), g.size <= g.min && f.push(g.id);
868
+ p > 0.1 && he(p, v, f);
869
+ }, Le = () => {
870
+ let u = 100;
871
+ const p = [], v = [];
871
872
  let f = 0;
872
- for (const V of s.value)
873
- c -= V.size, V.givenSize !== null && f++, V.size >= V.max && r.push(V.id), V.size <= V.min && h.push(V.id);
873
+ for (const C of o.value)
874
+ u -= C.size, C.givenSize !== null && f++, C.size >= C.max && p.push(C.id), C.size <= C.min && v.push(C.id);
874
875
  let g = 100;
875
- if (c > 0.1) {
876
- for (const V of s.value)
877
- V.givenSize === null && (V.size = Math.max(Math.min(c / (m.value - f), V.max), V.min)), g -= V.size;
878
- g > 0.1 && ce(g, r, h);
876
+ if (u > 0.1) {
877
+ for (const C of o.value)
878
+ C.givenSize === null && (C.size = Math.max(Math.min(u / (h.value - f), C.max), C.min)), g -= C.size;
879
+ g > 0.1 && he(g, p, v);
879
880
  }
880
- }, Pe = ({ addedPane: c, removedPane: r } = {}) => {
881
- let h = 100 / m.value, f = 0;
882
- const g = [], V = [];
883
- ((c == null ? void 0 : c.givenSize) ?? null) !== null && (h = (100 - c.givenSize) / (m.value - 1));
884
- for (const I of s.value)
885
- f -= I.size, I.size >= I.max && g.push(I.id), I.size <= I.min && V.push(I.id);
881
+ }, Ae = ({ addedPane: u, removedPane: p } = {}) => {
882
+ let v = 100 / h.value, f = 0;
883
+ const g = [], C = [];
884
+ ((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (h.value - 1));
885
+ for (const M of o.value)
886
+ f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
886
887
  if (!(Math.abs(f) < 0.1)) {
887
- for (const I of s.value)
888
- (c == null ? void 0 : c.givenSize) !== null && (c == null ? void 0 : c.id) === I.id || (I.size = Math.max(Math.min(h, I.max), I.min)), f -= I.size, I.size >= I.max && g.push(I.id), I.size <= I.min && V.push(I.id);
889
- f > 0.1 && ce(f, g, V);
888
+ for (const M of o.value)
889
+ (u == null ? void 0 : u.givenSize) !== null && (u == null ? void 0 : u.id) === M.id || (M.size = Math.max(Math.min(v, M.max), M.min)), f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
890
+ f > 0.1 && he(f, g, C);
890
891
  }
891
- }, ce = (c, r, h) => {
892
+ }, he = (u, p, v) => {
892
893
  let f;
893
- c > 0 ? f = c / (m.value - r.length) : f = c / (m.value - h.length), s.value.forEach((g, V) => {
894
- if (c > 0 && !r.includes(g.id)) {
895
- const I = Math.max(Math.min(g.size + f, g.max), g.min), A = I - g.size;
896
- c -= A, g.size = I;
897
- } else if (!h.includes(g.id)) {
898
- const I = Math.max(Math.min(g.size + f, g.max), g.min), A = I - g.size;
899
- c -= A, g.size = I;
894
+ u > 0 ? f = u / (h.value - p.length) : f = u / (h.value - v.length), o.value.forEach((g, C) => {
895
+ if (u > 0 && !p.includes(g.id)) {
896
+ const M = Math.max(Math.min(g.size + f, g.max), g.min), A = M - g.size;
897
+ u -= A, g.size = M;
898
+ } else if (!v.includes(g.id)) {
899
+ const M = Math.max(Math.min(g.size + f, g.max), g.min), A = M - g.size;
900
+ u -= A, g.size = M;
900
901
  }
901
- }), Math.abs(c) > 0.1 && Fe(() => {
902
- v.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
902
+ }), Math.abs(u) > 0.1 && Ne(() => {
903
+ b.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
903
904
  });
904
- }, L = (c, r = void 0, h = !1) => {
905
- const f = (r == null ? void 0 : r.index) ?? w.value.activeSplitter ?? null;
906
- n(c, {
907
- ...r,
905
+ }, N = (u, p = void 0, v = !1) => {
906
+ const f = (p == null ? void 0 : p.index) ?? k.value.activeSplitter ?? null;
907
+ s(u, {
908
+ ...p,
908
909
  ...f !== null && { index: f },
909
- ...h && f !== null && {
910
- prevPane: s.value[f - (a.firstSplitter ? 1 : 0)],
911
- nextPane: s.value[f + (a.firstSplitter ? 0 : 1)]
910
+ ...v && f !== null && {
911
+ prevPane: o.value[f - (r.firstSplitter ? 1 : 0)],
912
+ nextPane: o.value[f + (r.firstSplitter ? 0 : 1)]
912
913
  },
913
- panes: s.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
914
+ panes: o.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
914
915
  });
915
916
  };
916
- ke(() => a.firstSplitter, () => $()), Xe(() => {
917
- we(), $(), de(), L("ready"), v.value = !0;
918
- }), Qe(() => v.value = !1);
919
- const ze = () => {
920
- var c;
917
+ Ve(() => r.firstSplitter, () => se()), Qe(() => {
918
+ De(), se(), pe(), N("ready"), b.value = !0;
919
+ }), $e(() => b.value = !1);
920
+ const Fe = () => {
921
+ var u;
921
922
  return ct(
922
923
  "div",
923
- { ref: p, class: b.value },
924
- (c = i.default) == null ? void 0 : c.call(i)
924
+ { ref: c, class: w.value },
925
+ (u = i.default) == null ? void 0 : u.call(i)
925
926
  );
926
927
  };
927
- return Z("panes", s), Z("indexedPanes", d), Z("horizontal", W(() => a.horizontal)), Z("requestUpdate", Me), Z("onPaneAdd", Te), Z("onPaneRemove", Ie), Z("onPaneClick", re), (c, r) => (y(), T(dt(ze)));
928
+ return $("panes", o), $("indexedPanes", d), $("horizontal", Y(() => r.horizontal)), $("requestUpdate", xe), $("onPaneAdd", Ue), $("onPaneRemove", Pe), $("onPaneClick", te), (u, p) => (S(), D(ut(Fe)));
928
929
  }
929
- }, Pt = {
930
+ }, zt = {
930
931
  __name: "pane",
931
932
  props: {
932
933
  size: { type: [Number, String] },
@@ -935,41 +936,41 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Ut = {
935
936
  },
936
937
  setup(t) {
937
938
  var e;
938
- const n = t, a = te("requestUpdate"), i = te("onPaneAdd"), s = te("horizontal"), d = te("onPaneRemove"), m = te("onPaneClick"), p = (e = lt()) == null ? void 0 : e.uid, v = te("indexedPanes"), w = W(() => v.value[p]), x = ne(null), b = W(() => {
939
- const _ = isNaN(n.size) || n.size === void 0 ? 0 : parseFloat(n.size);
940
- return Math.max(Math.min(_, C.value), R.value);
941
- }), R = W(() => {
942
- const _ = parseFloat(n.minSize);
939
+ const s = t, r = oe("requestUpdate"), i = oe("onPaneAdd"), o = oe("horizontal"), d = oe("onPaneRemove"), h = oe("onPaneClick"), c = (e = lt()) == null ? void 0 : e.uid, b = oe("indexedPanes"), k = Y(() => b.value[c]), V = ae(null), w = Y(() => {
940
+ const _ = isNaN(s.size) || s.size === void 0 ? 0 : parseFloat(s.size);
941
+ return Math.max(Math.min(_, E.value), R.value);
942
+ }), R = Y(() => {
943
+ const _ = parseFloat(s.minSize);
943
944
  return isNaN(_) ? 0 : _;
944
- }), C = W(() => {
945
- const _ = parseFloat(n.maxSize);
945
+ }), E = Y(() => {
946
+ const _ = parseFloat(s.maxSize);
946
947
  return isNaN(_) ? 100 : _;
947
- }), E = W(() => {
948
+ }), T = Y(() => {
948
949
  var _;
949
- return `${s.value ? "height" : "width"}: ${(_ = w.value) == null ? void 0 : _.size}%`;
950
+ return `${o.value ? "height" : "width"}: ${(_ = k.value) == null ? void 0 : _.size}%`;
950
951
  });
951
- return ke(() => b.value, (_) => a({ uid: p, size: _ })), ke(() => R.value, (_) => a({ uid: p, min: _ })), ke(() => C.value, (_) => a({ uid: p, max: _ })), Xe(() => {
952
+ return Ve(() => w.value, (_) => r({ uid: c, size: _ })), Ve(() => R.value, (_) => r({ uid: c, min: _ })), Ve(() => E.value, (_) => r({ uid: c, max: _ })), Qe(() => {
952
953
  i({
953
- id: p,
954
- el: x.value,
954
+ id: c,
955
+ el: V.value,
955
956
  min: R.value,
956
- max: C.value,
957
+ max: E.value,
957
958
  // The given size (useful to know the user intention).
958
- givenSize: n.size === void 0 ? null : b.value,
959
- size: b.value
959
+ givenSize: s.size === void 0 ? null : w.value,
960
+ size: w.value
960
961
  // The computed current size at any time.
961
962
  });
962
- }), Qe(() => d(p)), (_, U) => (y(), P("div", {
963
+ }), $e(() => d(c)), (_, z) => (S(), P("div", {
963
964
  ref_key: "paneEl",
964
- ref: x,
965
+ ref: V,
965
966
  class: "splitpanes__pane",
966
- onClick: U[0] || (U[0] = (N) => rt(m)(N, _._.uid)),
967
- style: Se(E.value)
967
+ onClick: z[0] || (z[0] = (G) => rt(h)(G, _._.uid)),
968
+ style: Ee(T.value)
968
969
  }, [
969
970
  at(_.$slots, "default")
970
971
  ], 4));
971
972
  }
972
- }, zt = {
973
+ }, Lt = {
973
974
  props: {
974
975
  question: {
975
976
  type: String,
@@ -1018,69 +1019,69 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Ut = {
1018
1019
  }
1019
1020
  }
1020
1021
  }, At = { class: "pa-2" }, Ft = { class: "question" };
1021
- function Bt(t, e, n, a, i, s) {
1022
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-text-field"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-form"), R = u("v-card"), C = u("v-dialog");
1023
- return y(), T(C, {
1024
- modelValue: s.show,
1025
- "onUpdate:modelValue": e[2] || (e[2] = (E) => s.show = E),
1022
+ function Bt(t, e, s, r, i, o) {
1023
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("v-text-field"), b = a("v-card-text"), k = a("v-btn"), V = a("v-card-actions"), w = a("v-form"), R = a("v-card"), E = a("v-dialog");
1024
+ return S(), D(E, {
1025
+ modelValue: o.show,
1026
+ "onUpdate:modelValue": e[2] || (e[2] = (T) => o.show = T),
1026
1027
  persistent: "",
1027
1028
  width: "600"
1028
1029
  }, {
1029
1030
  default: l(() => [
1030
- o(R, null, {
1031
+ n(R, null, {
1031
1032
  default: l(() => [
1032
- o(b, {
1033
+ n(w, {
1033
1034
  modelValue: i.valid,
1034
- "onUpdate:modelValue": e[1] || (e[1] = (E) => i.valid = E),
1035
- onSubmit: le(s.submitHandler, ["prevent"])
1035
+ "onUpdate:modelValue": e[1] || (e[1] = (T) => i.valid = T),
1036
+ onSubmit: ue(o.submitHandler, ["prevent"])
1036
1037
  }, {
1037
1038
  default: l(() => [
1038
- o(m, { height: "24" }, {
1039
+ n(h, { height: "24" }, {
1039
1040
  default: l(() => [
1040
- o(d),
1041
- e[3] || (e[3] = S("span", null, " User Input Required ", -1)),
1042
- o(d)
1041
+ n(d),
1042
+ e[3] || (e[3] = x("span", null, " User Input Required ", -1)),
1043
+ n(d)
1043
1044
  ]),
1044
1045
  _: 1
1045
1046
  }),
1046
- S("div", At, [
1047
- o(v, null, {
1047
+ x("div", At, [
1048
+ n(b, null, {
1048
1049
  default: l(() => [
1049
- S("div", Ft, z(n.question), 1),
1050
- o(p, {
1050
+ x("div", Ft, L(s.question), 1),
1051
+ n(c, {
1051
1052
  modelValue: i.inputValue,
1052
- "onUpdate:modelValue": e[0] || (e[0] = (E) => i.inputValue = E),
1053
+ "onUpdate:modelValue": e[0] || (e[0] = (T) => i.inputValue = T),
1053
1054
  autofocus: "",
1054
1055
  "data-test": "ask-value-input",
1055
- type: n.password ? "password" : "text",
1056
+ type: s.password ? "password" : "text",
1056
1057
  rules: i.rules
1057
1058
  }, null, 8, ["modelValue", "type", "rules"])
1058
1059
  ]),
1059
1060
  _: 1
1060
1061
  })
1061
1062
  ]),
1062
- o(x, { class: "px-2" }, {
1063
+ n(V, { class: "px-2" }, {
1063
1064
  default: l(() => [
1064
- o(d),
1065
- o(w, {
1065
+ n(d),
1066
+ n(k, {
1066
1067
  variant: "outlined",
1067
1068
  "data-test": "ask-cancel",
1068
- onClick: s.cancelHandler
1069
+ onClick: o.cancelHandler
1069
1070
  }, {
1070
1071
  default: l(() => [...e[4] || (e[4] = [
1071
- k(" Cancel ", -1)
1072
+ y(" Cancel ", -1)
1072
1073
  ])]),
1073
1074
  _: 1
1074
1075
  }, 8, ["onClick"]),
1075
- o(w, {
1076
+ n(k, {
1076
1077
  variant: "flat",
1077
1078
  type: "submit",
1078
1079
  "data-test": "ask-ok",
1079
1080
  disabled: !i.valid,
1080
- onClick: le(s.submitHandler, ["prevent"])
1081
+ onClick: ue(o.submitHandler, ["prevent"])
1081
1082
  }, {
1082
1083
  default: l(() => [...e[5] || (e[5] = [
1083
- k(" Ok ", -1)
1084
+ y(" Ok ", -1)
1084
1085
  ])]),
1085
1086
  _: 1
1086
1087
  }, 8, ["disabled", "onClick"])
@@ -1097,7 +1098,7 @@ function Bt(t, e, n, a, i, s) {
1097
1098
  _: 1
1098
1099
  }, 8, ["modelValue"]);
1099
1100
  }
1100
- const Lt = /* @__PURE__ */ q(zt, [["render", Bt], ["__scopeId", "data-v-ae138b51"]]), Nt = {
1101
+ const Nt = /* @__PURE__ */ j(Lt, [["render", Bt], ["__scopeId", "data-v-ae138b51"]]), Ht = {
1101
1102
  props: {
1102
1103
  title: {
1103
1104
  type: String,
@@ -1144,63 +1145,63 @@ const Lt = /* @__PURE__ */ q(zt, [["render", Bt], ["__scopeId", "data-v-ae138b51
1144
1145
  this.$emit("response", "Cancel");
1145
1146
  }
1146
1147
  }
1147
- }, Ht = { class: "pa-2" }, Gt = { class: "title" }, qt = ["textContent"];
1148
- function jt(t, e, n, a, i, s) {
1149
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-row"), v = u("v-file-input"), w = u("v-card-text"), x = u("v-btn"), b = u("v-card-actions"), R = u("v-form"), C = u("v-card"), E = u("v-dialog");
1150
- return y(), T(E, {
1151
- modelValue: s.show,
1152
- "onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
1148
+ }, Gt = { class: "pa-2" }, qt = { class: "title" }, jt = ["textContent"];
1149
+ function Kt(t, e, s, r, i, o) {
1150
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("v-row"), b = a("v-file-input"), k = a("v-card-text"), V = a("v-btn"), w = a("v-card-actions"), R = a("v-form"), E = a("v-card"), T = a("v-dialog");
1151
+ return S(), D(T, {
1152
+ modelValue: o.show,
1153
+ "onUpdate:modelValue": e[2] || (e[2] = (_) => o.show = _),
1153
1154
  persistent: "",
1154
1155
  width: "600"
1155
1156
  }, {
1156
1157
  default: l(() => [
1157
- o(C, null, {
1158
+ n(E, null, {
1158
1159
  default: l(() => [
1159
- o(R, {
1160
+ n(R, {
1160
1161
  modelValue: i.valid,
1161
1162
  "onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
1162
- onSubmit: le(s.submitHandler, ["prevent"])
1163
+ onSubmit: ue(o.submitHandler, ["prevent"])
1163
1164
  }, {
1164
1165
  default: l(() => [
1165
- o(m, { height: "24" }, {
1166
+ n(h, { height: "24" }, {
1166
1167
  default: l(() => [
1167
- o(d),
1168
- e[3] || (e[3] = S("span", null, " File Dialog ", -1)),
1169
- o(d)
1168
+ n(d),
1169
+ e[3] || (e[3] = x("span", null, " File Dialog ", -1)),
1170
+ n(d)
1170
1171
  ]),
1171
1172
  _: 1
1172
1173
  }),
1173
- S("div", Ht, [
1174
- o(w, null, {
1174
+ x("div", Gt, [
1175
+ n(k, null, {
1175
1176
  default: l(() => [
1176
- o(p, null, {
1177
+ n(c, null, {
1177
1178
  default: l(() => [
1178
- S("span", Gt, z(n.title), 1)
1179
+ x("span", qt, L(s.title), 1)
1179
1180
  ]),
1180
1181
  _: 1
1181
1182
  }),
1182
- n.message ? (y(), T(p, { key: 0 }, {
1183
+ s.message ? (S(), D(c, { key: 0 }, {
1183
1184
  default: l(() => [
1184
- S("span", {
1185
+ x("span", {
1185
1186
  class: "ma-3",
1186
1187
  style: { "white-space": "pre-line" },
1187
- textContent: z(n.message)
1188
- }, null, 8, qt)
1188
+ textContent: L(s.message)
1189
+ }, null, 8, jt)
1189
1190
  ]),
1190
1191
  _: 1
1191
- })) : D("", !0),
1192
- o(p, { class: "my-1" }, {
1192
+ })) : U("", !0),
1193
+ n(c, { class: "my-1" }, {
1193
1194
  default: l(() => [
1194
- o(v, {
1195
+ n(b, {
1195
1196
  modelValue: i.inputValue,
1196
1197
  "onUpdate:modelValue": e[0] || (e[0] = (_) => i.inputValue = _),
1197
1198
  label: "Choose File",
1198
1199
  rules: i.rules,
1199
1200
  autofocus: "",
1200
1201
  "data-test": "file-input",
1201
- accept: n.filter,
1202
+ accept: s.filter,
1202
1203
  "small-chips": "",
1203
- multiple: n.multiple
1204
+ multiple: s.multiple
1204
1205
  }, null, 8, ["modelValue", "rules", "accept", "multiple"])
1205
1206
  ]),
1206
1207
  _: 1
@@ -1209,28 +1210,28 @@ function jt(t, e, n, a, i, s) {
1209
1210
  _: 1
1210
1211
  })
1211
1212
  ]),
1212
- o(b, { class: "px-2" }, {
1213
+ n(w, { class: "px-2" }, {
1213
1214
  default: l(() => [
1214
- o(d),
1215
- o(x, {
1215
+ n(d),
1216
+ n(V, {
1216
1217
  variant: "outlined",
1217
1218
  "data-test": "file-cancel",
1218
- onClick: s.cancelHandler
1219
+ onClick: o.cancelHandler
1219
1220
  }, {
1220
1221
  default: l(() => [...e[4] || (e[4] = [
1221
- k(" Cancel ", -1)
1222
+ y(" Cancel ", -1)
1222
1223
  ])]),
1223
1224
  _: 1
1224
1225
  }, 8, ["onClick"]),
1225
- o(x, {
1226
+ n(V, {
1226
1227
  variant: "flat",
1227
1228
  type: "submit",
1228
1229
  "data-test": "file-ok",
1229
1230
  disabled: !i.valid,
1230
- onClick: le(s.submitHandler, ["prevent"])
1231
+ onClick: ue(o.submitHandler, ["prevent"])
1231
1232
  }, {
1232
1233
  default: l(() => [...e[5] || (e[5] = [
1233
- k(" Ok ", -1)
1234
+ y(" Ok ", -1)
1234
1235
  ])]),
1235
1236
  _: 1
1236
1237
  }, 8, ["disabled", "onClick"])
@@ -1247,7 +1248,7 @@ function jt(t, e, n, a, i, s) {
1247
1248
  _: 1
1248
1249
  }, 8, ["modelValue"]);
1249
1250
  }
1250
- const Kt = /* @__PURE__ */ q(Nt, [["render", jt], ["__scopeId", "data-v-40c2cac1"]]), Wt = {
1251
+ const Wt = /* @__PURE__ */ j(Ht, [["render", Kt], ["__scopeId", "data-v-40c2cac1"]]), Jt = {
1251
1252
  props: {
1252
1253
  modelValue: {
1253
1254
  type: Boolean,
@@ -1277,40 +1278,40 @@ const Kt = /* @__PURE__ */ q(Nt, [["render", jt], ["__scopeId", "data-v-40c2cac1
1277
1278
  }
1278
1279
  },
1279
1280
  methods: {}
1280
- }, Jt = ["textContent"], Yt = { class: "pa-2" }, Zt = ["textContent"];
1281
- function Xt(t, e, n, a, i, s) {
1282
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-row"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-card"), R = u("v-dialog");
1283
- return y(), T(R, {
1284
- modelValue: s.show,
1285
- "onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
1286
- width: n.width
1281
+ }, Yt = ["textContent"], Zt = { class: "pa-2" }, Xt = ["textContent"];
1282
+ function Qt(t, e, s, r, i, o) {
1283
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("v-row"), b = a("v-card-text"), k = a("v-btn"), V = a("v-card-actions"), w = a("v-card"), R = a("v-dialog");
1284
+ return S(), D(R, {
1285
+ modelValue: o.show,
1286
+ "onUpdate:modelValue": e[1] || (e[1] = (E) => o.show = E),
1287
+ width: s.width
1287
1288
  }, {
1288
1289
  default: l(() => [
1289
- o(b, null, {
1290
+ n(w, null, {
1290
1291
  default: l(() => [
1291
- o(m, { height: "24" }, {
1292
+ n(h, { height: "24" }, {
1292
1293
  default: l(() => [
1293
- o(d),
1294
- S("span", {
1294
+ n(d),
1295
+ x("span", {
1295
1296
  style: { "white-space": "pre" },
1296
- textContent: z(n.title)
1297
- }, null, 8, Jt),
1298
- o(d)
1297
+ textContent: L(s.title)
1298
+ }, null, 8, Yt),
1299
+ n(d)
1299
1300
  ]),
1300
1301
  _: 1
1301
1302
  }),
1302
- S("div", Yt, [
1303
- o(v, null, {
1303
+ x("div", Zt, [
1304
+ n(b, null, {
1304
1305
  default: l(() => [
1305
- (y(!0), P(oe, null, Ne(n.text, (C, E) => (y(), T(p, {
1306
+ (S(!0), P(de, null, qe(s.text, (E, T) => (S(), D(c, {
1306
1307
  "no-gutters": "",
1307
- key: E
1308
+ key: T
1308
1309
  }, {
1309
1310
  default: l(() => [
1310
- S("span", {
1311
+ x("span", {
1311
1312
  style: { "white-space": "pre" },
1312
- textContent: z(C)
1313
- }, null, 8, Zt)
1313
+ textContent: L(E)
1314
+ }, null, 8, Xt)
1314
1315
  ]),
1315
1316
  _: 2
1316
1317
  }, 1024))), 128))
@@ -1318,15 +1319,15 @@ function Xt(t, e, n, a, i, s) {
1318
1319
  _: 1
1319
1320
  })
1320
1321
  ]),
1321
- o(x, { class: "px-2" }, {
1322
+ n(V, { class: "px-2" }, {
1322
1323
  default: l(() => [
1323
- o(d),
1324
- o(w, {
1324
+ n(d),
1325
+ n(k, {
1325
1326
  variant: "flat",
1326
- onClick: e[0] || (e[0] = (C) => s.show = !s.show)
1327
+ onClick: e[0] || (e[0] = (E) => o.show = !o.show)
1327
1328
  }, {
1328
1329
  default: l(() => [...e[2] || (e[2] = [
1329
- k(" Ok ", -1)
1330
+ y(" Ok ", -1)
1330
1331
  ])]),
1331
1332
  _: 1
1332
1333
  })
@@ -1340,7 +1341,7 @@ function Xt(t, e, n, a, i, s) {
1340
1341
  _: 1
1341
1342
  }, 8, ["modelValue", "width"]);
1342
1343
  }
1343
- const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
1344
+ const $t = /* @__PURE__ */ j(Jt, [["render", Qt]]), ei = {
1344
1345
  components: {},
1345
1346
  props: {
1346
1347
  modelValue: {
@@ -1374,7 +1375,7 @@ const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
1374
1375
  }
1375
1376
  },
1376
1377
  created: function() {
1377
- this.api = new Re(), this.getOverrides();
1378
+ this.api = new Te(), this.getOverrides();
1378
1379
  },
1379
1380
  methods: {
1380
1381
  getOverrides: function() {
@@ -1398,7 +1399,7 @@ const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
1398
1399
  e.packet_name,
1399
1400
  e.item_name,
1400
1401
  "ALL"
1401
- ).then((n) => {
1402
+ ).then((s) => {
1402
1403
  this.overrides = [];
1403
1404
  });
1404
1405
  },
@@ -1409,47 +1410,47 @@ const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
1409
1410
  t.item_name,
1410
1411
  t.value_type
1411
1412
  ).then((e) => {
1412
- let n = this.overrides.indexOf(t);
1413
- this.overrides.splice(n, 1);
1413
+ let s = this.overrides.indexOf(t);
1414
+ this.overrides.splice(s, 1);
1414
1415
  });
1415
1416
  }
1416
1417
  }
1417
- }, ei = { class: "pa-2" };
1418
- function ti(t, e, n, a, i, s) {
1419
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-btn"), v = u("v-text-field"), w = u("v-row"), x = u("v-data-table"), b = u("v-card-text"), R = u("v-card-actions"), C = u("v-card"), E = u("v-dialog");
1420
- return y(), T(E, {
1421
- modelValue: s.show,
1422
- "onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
1418
+ }, ti = { class: "pa-2" };
1419
+ function ii(t, e, s, r, i, o) {
1420
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("v-btn"), b = a("v-text-field"), k = a("v-row"), V = a("v-data-table"), w = a("v-card-text"), R = a("v-card-actions"), E = a("v-card"), T = a("v-dialog");
1421
+ return S(), D(T, {
1422
+ modelValue: o.show,
1423
+ "onUpdate:modelValue": e[2] || (e[2] = (_) => o.show = _),
1423
1424
  width: "1000"
1424
1425
  }, {
1425
1426
  default: l(() => [
1426
- o(C, null, {
1427
+ n(E, null, {
1427
1428
  default: l(() => [
1428
- o(m, { height: "24" }, {
1429
+ n(h, { height: "24" }, {
1429
1430
  default: l(() => [
1430
- o(d),
1431
- e[3] || (e[3] = S("span", null, "Overrides", -1)),
1432
- o(d)
1431
+ n(d),
1432
+ e[3] || (e[3] = x("span", null, "Overrides", -1)),
1433
+ n(d)
1433
1434
  ]),
1434
1435
  _: 1
1435
1436
  }),
1436
- S("div", ei, [
1437
- o(b, null, {
1437
+ x("div", ti, [
1438
+ n(w, null, {
1438
1439
  default: l(() => [
1439
- o(w, { class: "ma-1" }, {
1440
+ n(k, { class: "ma-1" }, {
1440
1441
  default: l(() => [
1441
- o(p, {
1442
+ n(c, {
1442
1443
  color: "primary",
1443
1444
  "data-test": "overrides-dialog-clear-all",
1444
- onClick: s.clearOverrides
1445
+ onClick: o.clearOverrides
1445
1446
  }, {
1446
1447
  default: l(() => [...e[4] || (e[4] = [
1447
- k(" Clear All Overrides ", -1)
1448
+ y(" Clear All Overrides ", -1)
1448
1449
  ])]),
1449
1450
  _: 1
1450
1451
  }, 8, ["onClick"]),
1451
- o(d),
1452
- o(v, {
1452
+ n(d),
1453
+ n(b, {
1453
1454
  modelValue: i.search,
1454
1455
  "onUpdate:modelValue": e[0] || (e[0] = (_) => i.search = _),
1455
1456
  label: "Search",
@@ -1463,7 +1464,7 @@ function ti(t, e, n, a, i, s) {
1463
1464
  ]),
1464
1465
  _: 1
1465
1466
  }),
1466
- o(x, {
1467
+ n(V, {
1467
1468
  headers: i.headers,
1468
1469
  items: i.overrides,
1469
1470
  search: i.search,
@@ -1472,11 +1473,11 @@ function ti(t, e, n, a, i, s) {
1472
1473
  density: "compact"
1473
1474
  }, {
1474
1475
  "item.delete": l(({ item: _ }) => [
1475
- o(p, {
1476
+ n(c, {
1476
1477
  icon: "mdi-delete",
1477
1478
  variant: "text",
1478
1479
  "aria-label": "Delete Override",
1479
- onClick: (U) => s.deleteOverride(_)
1480
+ onClick: (z) => o.deleteOverride(_)
1480
1481
  }, null, 8, ["onClick"])
1481
1482
  ]),
1482
1483
  _: 1
@@ -1485,16 +1486,16 @@ function ti(t, e, n, a, i, s) {
1485
1486
  _: 1
1486
1487
  })
1487
1488
  ]),
1488
- o(R, { class: "px-2" }, {
1489
+ n(R, { class: "px-2" }, {
1489
1490
  default: l(() => [
1490
- o(d),
1491
- o(p, {
1491
+ n(d),
1492
+ n(c, {
1492
1493
  variant: "flat",
1493
1494
  "data-test": "overrides-dialog-ok",
1494
- onClick: e[1] || (e[1] = (_) => s.show = !s.show)
1495
+ onClick: e[1] || (e[1] = (_) => o.show = !o.show)
1495
1496
  }, {
1496
1497
  default: l(() => [...e[5] || (e[5] = [
1497
- k(" Ok ", -1)
1498
+ y(" Ok ", -1)
1498
1499
  ])]),
1499
1500
  _: 1
1500
1501
  })
@@ -1508,7 +1509,7 @@ function ti(t, e, n, a, i, s) {
1508
1509
  _: 1
1509
1510
  }, 8, ["modelValue"]);
1510
1511
  }
1511
- const ii = /* @__PURE__ */ q($t, [["render", ti]]), si = {
1512
+ const si = /* @__PURE__ */ j(ei, [["render", ii]]), ni = {
1512
1513
  props: {
1513
1514
  title: {
1514
1515
  type: String,
@@ -1573,70 +1574,70 @@ const ii = /* @__PURE__ */ q($t, [["render", ti]]), si = {
1573
1574
  this.$emit("response", "Cancel");
1574
1575
  }
1575
1576
  }
1576
- }, ni = ["textContent"], oi = { class: "pa-2" }, li = ["textContent"], ri = ["textContent"], ai = { key: 0 }, ui = { key: 1 };
1577
- function di(t, e, n, a, i, s) {
1578
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-card-subtitle"), v = u("v-row"), w = u("v-card-text"), x = u("v-select"), b = u("v-btn"), R = u("v-card-actions"), C = u("v-card"), E = u("v-dialog");
1579
- return y(), T(E, {
1580
- modelValue: s.show,
1581
- "onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
1577
+ }, oi = ["textContent"], li = { class: "pa-2" }, ri = ["textContent"], ai = ["textContent"], di = { key: 0 }, ui = { key: 1 };
1578
+ function ci(t, e, s, r, i, o) {
1579
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("v-card-subtitle"), b = a("v-row"), k = a("v-card-text"), V = a("v-select"), w = a("v-btn"), R = a("v-card-actions"), E = a("v-card"), T = a("v-dialog");
1580
+ return S(), D(T, {
1581
+ modelValue: o.show,
1582
+ "onUpdate:modelValue": e[2] || (e[2] = (_) => o.show = _),
1582
1583
  persistent: "",
1583
1584
  width: "600"
1584
1585
  }, {
1585
1586
  default: l(() => [
1586
- o(C, null, {
1587
+ n(E, null, {
1587
1588
  default: l(() => [
1588
- o(m, { height: "24" }, {
1589
+ n(h, { height: "24" }, {
1589
1590
  default: l(() => [
1590
- o(d),
1591
- S("span", {
1591
+ n(d),
1592
+ x("span", {
1592
1593
  class: "text",
1593
- textContent: z(n.title)
1594
- }, null, 8, ni),
1595
- o(d)
1594
+ textContent: L(s.title)
1595
+ }, null, 8, oi),
1596
+ n(d)
1596
1597
  ]),
1597
1598
  _: 1
1598
1599
  }),
1599
- S("div", oi, [
1600
- o(w, { class: "text" }, {
1600
+ x("div", li, [
1601
+ n(k, { class: "text" }, {
1601
1602
  default: l(() => [
1602
- n.subtitle ? (y(), T(v, { key: 0 }, {
1603
+ s.subtitle ? (S(), D(b, { key: 0 }, {
1603
1604
  default: l(() => [
1604
- o(p, null, {
1605
+ n(c, null, {
1605
1606
  default: l(() => [
1606
- k(z(n.subtitle), 1)
1607
+ y(L(s.subtitle), 1)
1607
1608
  ]),
1608
1609
  _: 1
1609
1610
  })
1610
1611
  ]),
1611
1612
  _: 1
1612
- })) : D("", !0),
1613
- o(v, { class: "mt-1" }, {
1613
+ })) : U("", !0),
1614
+ n(b, { class: "mt-1" }, {
1614
1615
  default: l(() => [
1615
- S("span", {
1616
- textContent: z(n.message)
1617
- }, null, 8, li)
1616
+ x("span", {
1617
+ textContent: L(s.message)
1618
+ }, null, 8, ri)
1618
1619
  ]),
1619
1620
  _: 1
1620
1621
  }),
1621
- n.details ? (y(), T(v, {
1622
+ s.details ? (S(), D(b, {
1622
1623
  key: 1,
1623
1624
  class: "mt-1"
1624
1625
  }, {
1625
1626
  default: l(() => [
1626
- S("span", {
1627
- textContent: z(n.details)
1628
- }, null, 8, ri)
1627
+ x("span", {
1628
+ textContent: L(s.details)
1629
+ }, null, 8, ai)
1629
1630
  ]),
1630
1631
  _: 1
1631
- })) : D("", !0)
1632
+ })) : U("", !0)
1632
1633
  ]),
1633
1634
  _: 1
1634
1635
  })
1635
1636
  ]),
1636
- n.layout === "combo" ? (y(), P("div", ai, [
1637
- o(v, { class: "ma-2" }, {
1637
+ s.layout === "combo" ? (S(), P("div", di, [
1638
+ n(b, { class: "ma-2" }, {
1638
1639
  default: l(() => [
1639
- o(x, {
1640
+ n(V, {
1640
1641
  modelValue: i.selectedItem,
1641
1642
  "onUpdate:modelValue": [
1642
1643
  e[0] || (e[0] = (_) => i.selectedItem = _),
@@ -1646,63 +1647,63 @@ function di(t, e, n, a, i, s) {
1646
1647
  color: "secondary",
1647
1648
  class: "ma-1",
1648
1649
  "data-test": "prompt-select",
1649
- items: n.buttons,
1650
- multiple: n.multiple === !0
1650
+ items: s.buttons,
1651
+ multiple: s.multiple === !0
1651
1652
  }, null, 8, ["modelValue", "items", "multiple"])
1652
1653
  ]),
1653
1654
  _: 1
1654
1655
  }),
1655
- o(R, { class: "px-2" }, {
1656
+ n(R, { class: "px-2" }, {
1656
1657
  default: l(() => [
1657
- o(d),
1658
- o(b, {
1658
+ n(d),
1659
+ n(w, {
1659
1660
  variant: "outlined",
1660
1661
  "data-test": "prompt-cancel",
1661
- onClick: s.cancelHandler
1662
+ onClick: o.cancelHandler
1662
1663
  }, {
1663
1664
  default: l(() => [...e[3] || (e[3] = [
1664
- k(" Cancel ", -1)
1665
+ y(" Cancel ", -1)
1665
1666
  ])]),
1666
1667
  _: 1
1667
1668
  }, 8, ["onClick"]),
1668
- o(b, {
1669
+ n(w, {
1669
1670
  variant: "flat",
1670
1671
  "data-test": "prompt-ok",
1671
1672
  disabled: i.selectOkDisabled,
1672
- onClick: s.submitHandler
1673
+ onClick: o.submitHandler
1673
1674
  }, {
1674
1675
  default: l(() => [...e[4] || (e[4] = [
1675
- k(" Ok ", -1)
1676
+ y(" Ok ", -1)
1676
1677
  ])]),
1677
1678
  _: 1
1678
1679
  }, 8, ["disabled", "onClick"])
1679
1680
  ]),
1680
1681
  _: 1
1681
1682
  })
1682
- ])) : (y(), P("div", ui, [
1683
- o(R, {
1684
- class: Ze(s.layoutClass)
1683
+ ])) : (S(), P("div", ui, [
1684
+ n(R, {
1685
+ class: Xe(o.layoutClass)
1685
1686
  }, {
1686
1687
  default: l(() => [
1687
- o(d),
1688
- o(b, {
1688
+ n(d),
1689
+ n(w, {
1689
1690
  variant: "outlined",
1690
1691
  "data-test": "prompt-cancel",
1691
- onClick: s.cancelHandler
1692
+ onClick: o.cancelHandler
1692
1693
  }, {
1693
1694
  default: l(() => [...e[5] || (e[5] = [
1694
- k(" Cancel ", -1)
1695
+ y(" Cancel ", -1)
1695
1696
  ])]),
1696
1697
  _: 1
1697
1698
  }, 8, ["onClick"]),
1698
- (y(!0), P(oe, null, Ne(n.buttons, (_, U) => (y(), P("div", { key: U }, [
1699
- o(b, {
1699
+ (S(!0), P(de, null, qe(s.buttons, (_, z) => (S(), P("div", { key: z }, [
1700
+ n(w, {
1700
1701
  variant: "flat",
1701
1702
  "data-test": `prompt-${_.text}`,
1702
- onClick: (N) => s.submitWrapper(_.value)
1703
+ onClick: (G) => o.submitWrapper(_.value)
1703
1704
  }, {
1704
1705
  default: l(() => [
1705
- k(z(_.text), 1)
1706
+ y(L(_.text), 1)
1706
1707
  ]),
1707
1708
  _: 2
1708
1709
  }, 1032, ["data-test", "onClick"])
@@ -1718,7 +1719,7 @@ function di(t, e, n, a, i, s) {
1718
1719
  _: 1
1719
1720
  }, 8, ["modelValue"]);
1720
1721
  }
1721
- const ci = /* @__PURE__ */ q(si, [["render", di], ["__scopeId", "data-v-3c1d359a"]]), pi = {
1722
+ const mi = /* @__PURE__ */ j(ni, [["render", ci], ["__scopeId", "data-v-3c1d359a"]]), pi = {
1722
1723
  components: {},
1723
1724
  props: {
1724
1725
  modelValue: {
@@ -1752,63 +1753,63 @@ const ci = /* @__PURE__ */ q(si, [["render", di], ["__scopeId", "data-v-3c1d359a
1752
1753
  }), e = document.createElement("a");
1753
1754
  e.href = URL.createObjectURL(t), e.setAttribute(
1754
1755
  "download",
1755
- xe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
1756
+ Re(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
1756
1757
  ), e.click();
1757
1758
  }
1758
1759
  }
1759
- }, mi = { class: "pa-2" };
1760
- function hi(t, e, n, a, i, s) {
1761
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-textarea"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-card"), R = u("v-dialog");
1762
- return y(), T(R, {
1763
- modelValue: s.show,
1764
- "onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
1760
+ }, hi = { class: "pa-2" };
1761
+ function fi(t, e, s, r, i, o) {
1762
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("v-textarea"), b = a("v-card-text"), k = a("v-btn"), V = a("v-card-actions"), w = a("v-card"), R = a("v-dialog");
1763
+ return S(), D(R, {
1764
+ modelValue: o.show,
1765
+ "onUpdate:modelValue": e[1] || (e[1] = (E) => o.show = E),
1765
1766
  scrollable: "",
1766
1767
  width: "800"
1767
1768
  }, {
1768
1769
  default: l(() => [
1769
- o(b, null, {
1770
+ n(w, null, {
1770
1771
  default: l(() => [
1771
- o(m, { height: "24" }, {
1772
+ n(h, { height: "24" }, {
1772
1773
  default: l(() => [
1773
- o(d),
1774
- e[2] || (e[2] = S("span", null, " Script Results ", -1)),
1775
- o(d)
1774
+ n(d),
1775
+ e[2] || (e[2] = x("span", null, " Script Results ", -1)),
1776
+ n(d)
1776
1777
  ]),
1777
1778
  _: 1
1778
1779
  }),
1779
- S("div", mi, [
1780
- o(v, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
1780
+ x("div", hi, [
1781
+ n(b, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
1781
1782
  default: l(() => [
1782
- o(p, {
1783
+ n(c, {
1783
1784
  readonly: "",
1784
1785
  "hide-details": "",
1785
1786
  density: "compact",
1786
1787
  "auto-grow": "",
1787
- "model-value": n.text
1788
+ "model-value": s.text
1788
1789
  }, null, 8, ["model-value"])
1789
1790
  ]),
1790
1791
  _: 1
1791
1792
  })
1792
1793
  ]),
1793
- o(x, { class: "px-2" }, {
1794
+ n(V, { class: "px-2" }, {
1794
1795
  default: l(() => [
1795
- o(d),
1796
- o(w, {
1796
+ n(d),
1797
+ n(k, {
1797
1798
  variant: "outlined",
1798
- onClick: s.downloadResults
1799
+ onClick: o.downloadResults
1799
1800
  }, {
1800
1801
  default: l(() => [...e[3] || (e[3] = [
1801
- k(" Download ", -1)
1802
+ y(" Download ", -1)
1802
1803
  ])]),
1803
1804
  _: 1
1804
1805
  }, 8, ["onClick"]),
1805
- o(w, {
1806
+ n(k, {
1806
1807
  ref: "okButton",
1807
1808
  variant: "flat",
1808
- onClick: e[0] || (e[0] = (C) => s.show = !s.show)
1809
+ onClick: e[0] || (e[0] = (E) => o.show = !o.show)
1809
1810
  }, {
1810
1811
  default: l(() => [...e[4] || (e[4] = [
1811
- k(" Ok ", -1)
1812
+ y(" Ok ", -1)
1812
1813
  ])]),
1813
1814
  _: 1
1814
1815
  }, 512)
@@ -1822,9 +1823,9 @@ function hi(t, e, n, a, i, s) {
1822
1823
  _: 1
1823
1824
  }, 8, ["modelValue"]);
1824
1825
  }
1825
- const fi = /* @__PURE__ */ q(pi, [["render", hi]]), gi = {
1826
+ const gi = /* @__PURE__ */ j(pi, [["render", fi]]), vi = {
1826
1827
  components: {
1827
- EnvironmentChooser: Ct
1828
+ EnvironmentChooser: vt
1828
1829
  },
1829
1830
  props: {
1830
1831
  modelValue: {
@@ -1865,57 +1866,57 @@ const fi = /* @__PURE__ */ q(pi, [["render", hi]]), gi = {
1865
1866
  this.show = !this.show;
1866
1867
  }
1867
1868
  }
1868
- }, vi = { class: "pa-2" };
1869
- function _i(t, e, n, a, i, s) {
1870
- const d = u("v-spacer"), m = u("v-toolbar"), p = u("environment-chooser"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-card"), R = u("v-dialog");
1871
- return y(), T(R, {
1872
- modelValue: s.show,
1873
- "onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
1869
+ }, _i = { class: "pa-2" };
1870
+ function bi(t, e, s, r, i, o) {
1871
+ const d = a("v-spacer"), h = a("v-toolbar"), c = a("environment-chooser"), b = a("v-card-text"), k = a("v-btn"), V = a("v-card-actions"), w = a("v-card"), R = a("v-dialog");
1872
+ return S(), D(R, {
1873
+ modelValue: o.show,
1874
+ "onUpdate:modelValue": e[1] || (e[1] = (E) => o.show = E),
1874
1875
  width: "600"
1875
1876
  }, {
1876
1877
  default: l(() => [
1877
- o(b, null, {
1878
+ n(w, null, {
1878
1879
  default: l(() => [
1879
- o(m, { height: "24" }, {
1880
+ n(h, { height: "24" }, {
1880
1881
  default: l(() => [
1881
- o(d),
1882
- e[2] || (e[2] = S("span", null, "Script Environment Variables", -1)),
1883
- o(d)
1882
+ n(d),
1883
+ e[2] || (e[2] = x("span", null, "Script Environment Variables", -1)),
1884
+ n(d)
1884
1885
  ]),
1885
1886
  _: 1
1886
1887
  }),
1887
- S("div", vi, [
1888
- o(v, null, {
1888
+ x("div", _i, [
1889
+ n(b, null, {
1889
1890
  default: l(() => [
1890
- o(p, {
1891
+ n(c, {
1891
1892
  modelValue: i.selected,
1892
- "onUpdate:modelValue": e[0] || (e[0] = (C) => i.selected = C)
1893
+ "onUpdate:modelValue": e[0] || (e[0] = (E) => i.selected = E)
1893
1894
  }, null, 8, ["modelValue"])
1894
1895
  ]),
1895
1896
  _: 1
1896
1897
  })
1897
1898
  ]),
1898
- o(x, { class: "px-2" }, {
1899
+ n(V, { class: "px-2" }, {
1899
1900
  default: l(() => [
1900
- o(d),
1901
- o(w, {
1901
+ n(d),
1902
+ n(k, {
1902
1903
  variant: "outlined",
1903
1904
  "data-test": "environment-dialog-cancel",
1904
- onClick: s.cancel
1905
+ onClick: o.cancel
1905
1906
  }, {
1906
1907
  default: l(() => [...e[3] || (e[3] = [
1907
- k(" Cancel ", -1)
1908
+ y(" Cancel ", -1)
1908
1909
  ])]),
1909
1910
  _: 1
1910
1911
  }, 8, ["onClick"]),
1911
- o(w, {
1912
+ n(k, {
1912
1913
  variant: "flat",
1913
1914
  "data-test": "environment-dialog-save",
1914
1915
  disabled: !!t.inputError,
1915
- onClick: s.updateEnvironment
1916
+ onClick: o.updateEnvironment
1916
1917
  }, {
1917
1918
  default: l(() => [...e[4] || (e[4] = [
1918
- k(" Save ", -1)
1919
+ y(" Save ", -1)
1919
1920
  ])]),
1920
1921
  _: 1
1921
1922
  }, 8, ["disabled", "onClick"])
@@ -1929,7 +1930,7 @@ function _i(t, e, n, a, i, s) {
1929
1930
  _: 1
1930
1931
  }, 8, ["modelValue"]);
1931
1932
  }
1932
- const bi = /* @__PURE__ */ q(gi, [["render", _i]]), wi = {
1933
+ const wi = /* @__PURE__ */ j(vi, [["render", bi]]), yi = {
1933
1934
  props: {
1934
1935
  suiteMap: {
1935
1936
  type: Object,
@@ -2014,29 +2015,29 @@ const bi = /* @__PURE__ */ q(gi, [["render", _i]]), wi = {
2014
2015
  this.script = t;
2015
2016
  }
2016
2017
  }
2017
- }, yi = { id: "tr-container" };
2018
- function ki(t, e, n, a, i, s) {
2019
- const d = u("v-checkbox"), m = u("v-tooltip"), p = u("v-col"), v = u("v-row"), w = u("v-select"), x = u("v-btn");
2020
- return y(), P("div", null, [
2021
- S("div", yi, [
2022
- o(v, {
2018
+ }, ki = { id: "tr-container" };
2019
+ function Si(t, e, s, r, i, o) {
2020
+ const d = a("v-checkbox"), h = a("v-tooltip"), c = a("v-col"), b = a("v-row"), k = a("v-select"), V = a("v-btn");
2021
+ return S(), P("div", null, [
2022
+ x("div", ki, [
2023
+ n(b, {
2023
2024
  "no-gutters": "",
2024
2025
  align: "center"
2025
2026
  }, {
2026
2027
  default: l(() => [
2027
- o(p, { cols: "4" }, {
2028
+ n(c, { cols: "4" }, {
2028
2029
  default: l(() => [
2029
- o(v, { "no-gutters": "" }, {
2030
+ n(b, { "no-gutters": "" }, {
2030
2031
  default: l(() => [
2031
- o(p, { cols: "6" }, {
2032
+ n(c, { cols: "6" }, {
2032
2033
  default: l(() => [
2033
- o(m, {
2034
+ n(h, {
2034
2035
  "open-delay": 600,
2035
2036
  location: "top"
2036
2037
  }, {
2037
- activator: l(({ props: b }) => [
2038
- S("div", ie(se(b)), [
2039
- o(d, {
2038
+ activator: l(({ props: w }) => [
2039
+ x("div", le(re(w)), [
2040
+ n(d, {
2040
2041
  modelValue: i.options,
2041
2042
  "onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
2042
2043
  label: "Pause on Error",
@@ -2047,10 +2048,10 @@ function ki(t, e, n, a, i, s) {
2047
2048
  ], 16)
2048
2049
  ]),
2049
2050
  default: l(() => [
2050
- e[16] || (e[16] = S("span", null, [
2051
- k(" Checked pauses the script when an error is encountered"),
2052
- S("br"),
2053
- k(" Unchecked continues without user interaction ")
2051
+ e[16] || (e[16] = x("span", null, [
2052
+ y(" Checked pauses the script when an error is encountered"),
2053
+ x("br"),
2054
+ y(" Unchecked continues without user interaction ")
2054
2055
  ], -1))
2055
2056
  ]),
2056
2057
  _: 1
@@ -2058,15 +2059,15 @@ function ki(t, e, n, a, i, s) {
2058
2059
  ]),
2059
2060
  _: 1
2060
2061
  }),
2061
- o(p, { cols: "6" }, {
2062
+ n(c, { cols: "6" }, {
2062
2063
  default: l(() => [
2063
- o(m, {
2064
+ n(h, {
2064
2065
  "open-delay": 600,
2065
2066
  location: "top"
2066
2067
  }, {
2067
- activator: l(({ props: b }) => [
2068
- S("div", ie(se(b)), [
2069
- o(d, {
2068
+ activator: l(({ props: w }) => [
2069
+ x("div", le(re(w)), [
2070
+ n(d, {
2070
2071
  modelValue: i.options,
2071
2072
  "onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
2072
2073
  label: "Manual",
@@ -2077,10 +2078,10 @@ function ki(t, e, n, a, i, s) {
2077
2078
  ], 16)
2078
2079
  ]),
2079
2080
  default: l(() => [
2080
- S("span", null, [
2081
- k(z(s.checkedManualTooltip), 1),
2082
- e[17] || (e[17] = S("br", null, null, -1)),
2083
- k(" " + z(s.uncheckedManualTooltip), 1)
2081
+ x("span", null, [
2082
+ y(L(o.checkedManualTooltip), 1),
2083
+ e[17] || (e[17] = x("br", null, null, -1)),
2084
+ y(" " + L(o.uncheckedManualTooltip), 1)
2084
2085
  ])
2085
2086
  ]),
2086
2087
  _: 1
@@ -2094,20 +2095,20 @@ function ki(t, e, n, a, i, s) {
2094
2095
  ]),
2095
2096
  _: 1
2096
2097
  }),
2097
- o(p, { cols: "8" }, {
2098
+ n(c, { cols: "8" }, {
2098
2099
  default: l(() => [
2099
- o(v, {
2100
+ n(b, {
2100
2101
  "no-gutters": "",
2101
2102
  justify: "end"
2102
2103
  }, {
2103
2104
  default: l(() => [
2104
- o(p, { cols: "5" }, {
2105
+ n(c, { cols: "5" }, {
2105
2106
  default: l(() => [
2106
- o(w, {
2107
+ n(k, {
2107
2108
  modelValue: i.suite,
2108
2109
  "onUpdate:modelValue": [
2109
- e[2] || (e[2] = (b) => i.suite = b),
2110
- s.suiteChanged
2110
+ e[2] || (e[2] = (w) => i.suite = w),
2111
+ o.suiteChanged
2111
2112
  ],
2112
2113
  label: "Suite:",
2113
2114
  class: "mb-2 mr-2",
@@ -2120,40 +2121,40 @@ function ki(t, e, n, a, i, s) {
2120
2121
  ]),
2121
2122
  _: 1
2122
2123
  }),
2123
- o(p, { cols: "auto" }, {
2124
+ n(c, { cols: "auto" }, {
2124
2125
  default: l(() => [
2125
- o(x, {
2126
+ n(V, {
2126
2127
  color: "primary",
2127
2128
  class: "mr-2",
2128
- disabled: n.disableButtons || !i.userInfo.execute,
2129
+ disabled: s.disableButtons || !i.userInfo.execute,
2129
2130
  "data-test": "start-suite",
2130
- onClick: e[3] || (e[3] = (b) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
2131
+ onClick: e[3] || (e[3] = (w) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
2131
2132
  }, {
2132
2133
  default: l(() => [...e[18] || (e[18] = [
2133
- k(" Start ", -1)
2134
+ y(" Start ", -1)
2134
2135
  ])]),
2135
2136
  _: 1
2136
2137
  }, 8, ["disabled"]),
2137
- o(x, {
2138
+ n(V, {
2138
2139
  color: "primary",
2139
2140
  class: "mr-2",
2140
2141
  "data-test": "setup-suite",
2141
- disabled: n.disableButtons || !s.setupSuiteEnabled || !i.userInfo.execute,
2142
- onClick: e[4] || (e[4] = (b) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
2142
+ disabled: s.disableButtons || !o.setupSuiteEnabled || !i.userInfo.execute,
2143
+ onClick: e[4] || (e[4] = (w) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
2143
2144
  }, {
2144
2145
  default: l(() => [...e[19] || (e[19] = [
2145
- k(" Setup ", -1)
2146
+ y(" Setup ", -1)
2146
2147
  ])]),
2147
2148
  _: 1
2148
2149
  }, 8, ["disabled"]),
2149
- o(x, {
2150
+ n(V, {
2150
2151
  color: "primary",
2151
2152
  "data-test": "teardown-suite",
2152
- disabled: n.disableButtons || !s.teardownSuiteEnabled || !i.userInfo.execute,
2153
- onClick: e[5] || (e[5] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
2153
+ disabled: s.disableButtons || !o.teardownSuiteEnabled || !i.userInfo.execute,
2154
+ onClick: e[5] || (e[5] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
2154
2155
  }, {
2155
2156
  default: l(() => [...e[20] || (e[20] = [
2156
- k(" Teardown ", -1)
2157
+ y(" Teardown ", -1)
2157
2158
  ])]),
2158
2159
  _: 1
2159
2160
  }, 8, ["disabled"])
@@ -2169,21 +2170,21 @@ function ki(t, e, n, a, i, s) {
2169
2170
  ]),
2170
2171
  _: 1
2171
2172
  }),
2172
- o(v, { "no-gutters": "" }, {
2173
+ n(b, { "no-gutters": "" }, {
2173
2174
  default: l(() => [
2174
- o(p, { cols: "4" }, {
2175
+ n(c, { cols: "4" }, {
2175
2176
  default: l(() => [
2176
- o(v, { "no-gutters": "" }, {
2177
+ n(b, { "no-gutters": "" }, {
2177
2178
  default: l(() => [
2178
- o(p, { cols: "6" }, {
2179
+ n(c, { cols: "6" }, {
2179
2180
  default: l(() => [
2180
- o(m, {
2181
+ n(h, {
2181
2182
  "open-delay": 600,
2182
2183
  location: "top"
2183
2184
  }, {
2184
- activator: l(({ props: b }) => [
2185
- S("div", ie(se(b)), [
2186
- o(d, {
2185
+ activator: l(({ props: w }) => [
2186
+ x("div", le(re(w)), [
2187
+ n(d, {
2187
2188
  modelValue: i.options,
2188
2189
  "onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
2189
2190
  label: "Continue after Error",
@@ -2194,10 +2195,10 @@ function ki(t, e, n, a, i, s) {
2194
2195
  ], 16)
2195
2196
  ]),
2196
2197
  default: l(() => [
2197
- e[21] || (e[21] = S("span", null, [
2198
- k(" Checked allows the script to continue when an error is encountered"),
2199
- S("br"),
2200
- k(" Unchecked forces the current script to end ")
2198
+ e[21] || (e[21] = x("span", null, [
2199
+ y(" Checked allows the script to continue when an error is encountered"),
2200
+ x("br"),
2201
+ y(" Unchecked forces the current script to end ")
2201
2202
  ], -1))
2202
2203
  ]),
2203
2204
  _: 1
@@ -2205,15 +2206,15 @@ function ki(t, e, n, a, i, s) {
2205
2206
  ]),
2206
2207
  _: 1
2207
2208
  }),
2208
- o(p, { cols: "6" }, {
2209
+ n(c, { cols: "6" }, {
2209
2210
  default: l(() => [
2210
- o(m, {
2211
+ n(h, {
2211
2212
  "open-delay": 600,
2212
2213
  location: "top"
2213
2214
  }, {
2214
- activator: l(({ props: b }) => [
2215
- S("div", ie(se(b)), [
2216
- o(d, {
2215
+ activator: l(({ props: w }) => [
2216
+ x("div", le(re(w)), [
2217
+ n(d, {
2217
2218
  modelValue: i.options,
2218
2219
  "onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
2219
2220
  label: "Loop",
@@ -2224,10 +2225,10 @@ function ki(t, e, n, a, i, s) {
2224
2225
  ], 16)
2225
2226
  ]),
2226
2227
  default: l(() => [
2227
- e[22] || (e[22] = S("span", null, [
2228
- k(" Checked continuously executes until explicitly stopped"),
2229
- S("br"),
2230
- k(" Unchecked executes only the started script(s) ")
2228
+ e[22] || (e[22] = x("span", null, [
2229
+ y(" Checked continuously executes until explicitly stopped"),
2230
+ x("br"),
2231
+ y(" Unchecked executes only the started script(s) ")
2231
2232
  ], -1))
2232
2233
  ]),
2233
2234
  _: 1
@@ -2241,20 +2242,20 @@ function ki(t, e, n, a, i, s) {
2241
2242
  ]),
2242
2243
  _: 1
2243
2244
  }),
2244
- o(p, { cols: "8" }, {
2245
+ n(c, { cols: "8" }, {
2245
2246
  default: l(() => [
2246
- o(v, {
2247
+ n(b, {
2247
2248
  "no-gutters": "",
2248
2249
  justify: "end"
2249
2250
  }, {
2250
2251
  default: l(() => [
2251
- o(p, { cols: "5" }, {
2252
+ n(c, { cols: "5" }, {
2252
2253
  default: l(() => [
2253
- o(w, {
2254
+ n(k, {
2254
2255
  modelValue: i.group,
2255
2256
  "onUpdate:modelValue": [
2256
- e[8] || (e[8] = (b) => i.group = b),
2257
- s.groupChanged
2257
+ e[8] || (e[8] = (w) => i.group = w),
2258
+ o.groupChanged
2258
2259
  ],
2259
2260
  label: "Group:",
2260
2261
  class: "mb-2 mr-2",
@@ -2267,40 +2268,40 @@ function ki(t, e, n, a, i, s) {
2267
2268
  ]),
2268
2269
  _: 1
2269
2270
  }),
2270
- o(p, { cols: "auto" }, {
2271
+ n(c, { cols: "auto" }, {
2271
2272
  default: l(() => [
2272
- o(x, {
2273
+ n(V, {
2273
2274
  color: "primary",
2274
2275
  class: "mr-2",
2275
- disabled: n.disableButtons || !i.userInfo.execute,
2276
+ disabled: s.disableButtons || !i.userInfo.execute,
2276
2277
  "data-test": "start-group",
2277
- onClick: e[9] || (e[9] = (b) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
2278
+ onClick: e[9] || (e[9] = (w) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
2278
2279
  }, {
2279
2280
  default: l(() => [...e[23] || (e[23] = [
2280
- k(" Start ", -1)
2281
+ y(" Start ", -1)
2281
2282
  ])]),
2282
2283
  _: 1
2283
2284
  }, 8, ["disabled"]),
2284
- o(x, {
2285
+ n(V, {
2285
2286
  color: "primary",
2286
2287
  class: "mr-2",
2287
2288
  "data-test": "setup-group",
2288
- disabled: n.disableButtons || !s.setupGroupEnabled || !i.userInfo.execute,
2289
- onClick: e[10] || (e[10] = (b) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
2289
+ disabled: s.disableButtons || !o.setupGroupEnabled || !i.userInfo.execute,
2290
+ onClick: e[10] || (e[10] = (w) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
2290
2291
  }, {
2291
2292
  default: l(() => [...e[24] || (e[24] = [
2292
- k(" Setup ", -1)
2293
+ y(" Setup ", -1)
2293
2294
  ])]),
2294
2295
  _: 1
2295
2296
  }, 8, ["disabled"]),
2296
- o(x, {
2297
+ n(V, {
2297
2298
  color: "primary",
2298
2299
  "data-test": "teardown-group",
2299
- disabled: n.disableButtons || !s.teardownGroupEnabled || !i.userInfo.execute,
2300
- onClick: e[11] || (e[11] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
2300
+ disabled: s.disableButtons || !o.teardownGroupEnabled || !i.userInfo.execute,
2301
+ onClick: e[11] || (e[11] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
2301
2302
  }, {
2302
2303
  default: l(() => [...e[25] || (e[25] = [
2303
- k(" Teardown ", -1)
2304
+ y(" Teardown ", -1)
2304
2305
  ])]),
2305
2306
  _: 1
2306
2307
  }, 8, ["disabled"])
@@ -2316,21 +2317,21 @@ function ki(t, e, n, a, i, s) {
2316
2317
  ]),
2317
2318
  _: 1
2318
2319
  }),
2319
- o(v, { "no-gutters": "" }, {
2320
+ n(b, { "no-gutters": "" }, {
2320
2321
  default: l(() => [
2321
- o(p, { cols: "4" }, {
2322
+ n(c, { cols: "4" }, {
2322
2323
  default: l(() => [
2323
- o(v, { "no-gutters": "" }, {
2324
+ n(b, { "no-gutters": "" }, {
2324
2325
  default: l(() => [
2325
- o(p, { cols: "6" }, {
2326
+ n(c, { cols: "6" }, {
2326
2327
  default: l(() => [
2327
- o(m, {
2328
+ n(h, {
2328
2329
  "open-delay": 600,
2329
2330
  location: "top"
2330
2331
  }, {
2331
- activator: l(({ props: b }) => [
2332
- S("div", ie(se(b)), [
2333
- o(d, {
2332
+ activator: l(({ props: w }) => [
2333
+ x("div", le(re(w)), [
2334
+ n(d, {
2334
2335
  modelValue: i.options,
2335
2336
  "onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
2336
2337
  label: "Abort after Error",
@@ -2341,10 +2342,10 @@ function ki(t, e, n, a, i, s) {
2341
2342
  ], 16)
2342
2343
  ]),
2343
2344
  default: l(() => [
2344
- e[26] || (e[26] = S("span", null, [
2345
- k(" Checked stops additional script execution when an error is encountered"),
2346
- S("br"),
2347
- k(" Unchecked allows additional scripts to execute ")
2345
+ e[26] || (e[26] = x("span", null, [
2346
+ y(" Checked stops additional script execution when an error is encountered"),
2347
+ x("br"),
2348
+ y(" Unchecked allows additional scripts to execute ")
2348
2349
  ], -1))
2349
2350
  ]),
2350
2351
  _: 1
@@ -2352,15 +2353,15 @@ function ki(t, e, n, a, i, s) {
2352
2353
  ]),
2353
2354
  _: 1
2354
2355
  }),
2355
- o(p, { cols: "6" }, {
2356
+ n(c, { cols: "6" }, {
2356
2357
  default: l(() => [
2357
- o(m, {
2358
+ n(h, {
2358
2359
  "open-delay": 600,
2359
2360
  location: "top"
2360
2361
  }, {
2361
- activator: l(({ props: b }) => [
2362
- S("div", ie(se(b)), [
2363
- o(d, {
2362
+ activator: l(({ props: w }) => [
2363
+ x("div", le(re(w)), [
2364
+ n(d, {
2364
2365
  modelValue: i.options,
2365
2366
  "onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
2366
2367
  disabled: !i.options.includes("loop"),
@@ -2372,12 +2373,12 @@ function ki(t, e, n, a, i, s) {
2372
2373
  ], 16)
2373
2374
  ]),
2374
2375
  default: l(() => [
2375
- e[27] || (e[27] = S("span", null, [
2376
- k(" Checked breaks the loop option when an error is encountered"),
2377
- S("br"),
2378
- k(" Unchecked allows the loop to run continuously"),
2379
- S("br"),
2380
- k(" Note: Abort after Error still breaks the loop ")
2376
+ e[27] || (e[27] = x("span", null, [
2377
+ y(" Checked breaks the loop option when an error is encountered"),
2378
+ x("br"),
2379
+ y(" Unchecked allows the loop to run continuously"),
2380
+ x("br"),
2381
+ y(" Note: Abort after Error still breaks the loop ")
2381
2382
  ], -1))
2382
2383
  ]),
2383
2384
  _: 1
@@ -2391,27 +2392,27 @@ function ki(t, e, n, a, i, s) {
2391
2392
  ]),
2392
2393
  _: 1
2393
2394
  }),
2394
- o(p, { cols: "8" }, {
2395
+ n(c, { cols: "8" }, {
2395
2396
  default: l(() => [
2396
- o(v, {
2397
+ n(b, {
2397
2398
  "no-gutters": "",
2398
2399
  justify: "end"
2399
2400
  }, {
2400
2401
  default: l(() => [
2401
- o(p, { cols: "5" }, {
2402
+ n(c, { cols: "5" }, {
2402
2403
  default: l(() => [
2403
- o(w, {
2404
+ n(k, {
2404
2405
  modelValue: i.script,
2405
2406
  "onUpdate:modelValue": [
2406
- e[14] || (e[14] = (b) => i.script = b),
2407
- s.scriptChanged
2407
+ e[14] || (e[14] = (w) => i.script = w),
2408
+ o.scriptChanged
2408
2409
  ],
2409
2410
  label: "Script:",
2410
2411
  class: "mb-2 mr-2",
2411
2412
  "hide-details": "",
2412
2413
  density: "compact",
2413
2414
  variant: "outlined",
2414
- items: s.scriptNames,
2415
+ items: o.scriptNames,
2415
2416
  "item-title": "title",
2416
2417
  "item-value": "value",
2417
2418
  "data-test": "select-script"
@@ -2419,14 +2420,14 @@ function ki(t, e, n, a, i, s) {
2419
2420
  ]),
2420
2421
  _: 1
2421
2422
  }),
2422
- o(p, { cols: "auto" }, {
2423
+ n(c, { cols: "auto" }, {
2423
2424
  default: l(() => [
2424
- o(x, {
2425
+ n(V, {
2425
2426
  color: "primary",
2426
2427
  class: "mr-2",
2427
- disabled: n.disableButtons || !i.userInfo.execute,
2428
+ disabled: s.disableButtons || !i.userInfo.execute,
2428
2429
  "data-test": "start-script",
2429
- onClick: e[15] || (e[15] = (b) => t.$emit("button", {
2430
+ onClick: e[15] || (e[15] = (w) => t.$emit("button", {
2430
2431
  method: "start",
2431
2432
  suite: i.suite,
2432
2433
  group: i.group,
@@ -2435,25 +2436,25 @@ function ki(t, e, n, a, i, s) {
2435
2436
  }))
2436
2437
  }, {
2437
2438
  default: l(() => [...e[28] || (e[28] = [
2438
- k(" Start ", -1)
2439
+ y(" Start ", -1)
2439
2440
  ])]),
2440
2441
  _: 1
2441
2442
  }, 8, ["disabled"]),
2442
- o(x, {
2443
+ n(V, {
2443
2444
  color: "primary",
2444
2445
  class: "mr-2 invisible"
2445
2446
  }, {
2446
2447
  default: l(() => [...e[29] || (e[29] = [
2447
- k(" Setup ", -1)
2448
+ y(" Setup ", -1)
2448
2449
  ])]),
2449
2450
  _: 1
2450
2451
  }),
2451
- o(x, {
2452
+ n(V, {
2452
2453
  color: "primary",
2453
2454
  class: "invisible"
2454
2455
  }, {
2455
2456
  default: l(() => [...e[30] || (e[30] = [
2456
- k(" Teardown ", -1)
2457
+ y(" Teardown ", -1)
2457
2458
  ])]),
2458
2459
  _: 1
2459
2460
  })
@@ -2472,30 +2473,30 @@ function ki(t, e, n, a, i, s) {
2472
2473
  ])
2473
2474
  ]);
2474
2475
  }
2475
- const Si = /* @__PURE__ */ q(wi, [["render", ki], ["__scopeId", "data-v-fe48c8c7"]]), Le = (t) => O.get(`/openc3-api/autocomplete/keywords/${t}`), xi = (t) => O.get(`/openc3-api/autocomplete/data/${t}`), We = (t, e) => t.reduce((n, a) => {
2476
- const i = e(a);
2477
- return n[i] ? n[i].push(a) : n[i] = [a], n;
2478
- }, {}), Ci = (t) => {
2479
- const e = "(^|[{\\(\\s])", n = `[\\s\\(]f?['"]`, a = "(\\S+\\s?){0,3}";
2480
- return new RegExp(`${e}${t}${n}${a}$`);
2476
+ const xi = /* @__PURE__ */ j(yi, [["render", Si], ["__scopeId", "data-v-fe48c8c7"]]), Ge = (t) => O.get(`/openc3-api/autocomplete/keywords/${t}`), Ci = (t) => O.get(`/openc3-api/autocomplete/data/${t}`), Je = (t, e) => t.reduce((s, r) => {
2477
+ const i = e(r);
2478
+ return s[i] ? s[i].push(r) : s[i] = [r], s;
2479
+ }, {}), Vi = (t) => {
2480
+ const e = "(^|[{\\(\\s])", s = `[\\s\\(]f?['"]`, r = "(\\S+\\s?){0,3}";
2481
+ return new RegExp(`${e}${t}${s}${r}$`);
2481
2482
  };
2482
- class $e {
2483
- constructor(e, n = () => {
2484
- }, a = () => {
2483
+ class et {
2484
+ constructor(e, s = () => {
2485
+ }, r = () => {
2485
2486
  }) {
2486
- this.keywordExpressions = [], this.autocompleteData = [], Le(e).then((i) => {
2487
- this.keywordExpressions = i.data.map(Ci), a();
2488
- }), xi(e).then((i) => {
2489
- this.autocompleteData = i.data, n();
2487
+ this.keywordExpressions = [], this.autocompleteData = [], Ge(e).then((i) => {
2488
+ this.keywordExpressions = i.data.map(Vi), r();
2489
+ }), Ci(e).then((i) => {
2490
+ this.autocompleteData = i.data, s();
2490
2491
  });
2491
2492
  }
2492
- getCompletions(e, n, a, i, s) {
2493
+ getCompletions(e, s, r, i, o) {
2493
2494
  let d = [];
2494
- const m = n.doc.$lines[a.row].slice(
2495
+ const h = s.doc.$lines[r.row].slice(
2495
2496
  0,
2496
- a.column
2497
+ r.column
2497
2498
  );
2498
- this.keywordExpressions.some((p) => m.match(p)) && (d = this.autocompleteData), s(null, [
2499
+ this.keywordExpressions.some((c) => h.match(c)) && (d = this.autocompleteData), o(null, [
2499
2500
  ...d
2500
2501
  // Uncomment to also return the built-in autocomplete words (but I found they're not very good and just get in the way when using live autocomplete)
2501
2502
  // ...session.$mode.$highlightRules.$keywordList.map((word) => ({
@@ -2506,21 +2507,21 @@ class $e {
2506
2507
  ]);
2507
2508
  }
2508
2509
  }
2509
- class Vi extends $e {
2510
+ class Ei extends et {
2510
2511
  constructor() {
2511
2512
  super("cmd");
2512
2513
  }
2513
2514
  }
2514
- class Ri extends $e {
2515
+ class Ri extends et {
2515
2516
  constructor() {
2516
2517
  super("tlm", () => {
2517
- this.groupedPacketData = this.autocompleteData.reduce((e, n) => {
2518
- const a = n.caption.match(/\S+\s\S+/)[0], i = n.snippet.replace(`${a} `, ""), s = {
2518
+ this.groupedPacketData = this.autocompleteData.reduce((e, s) => {
2519
+ const r = s.caption.match(/\S+\s\S+/)[0], i = s.snippet.replace(`${r} `, ""), o = {
2519
2520
  caption: i,
2520
2521
  snippet: i,
2521
2522
  meta: "item"
2522
2523
  };
2523
- return e[a] ? e[a].push(s) : e[a] = [s], e;
2524
+ return e[r] ? e[r].push(o) : e[r] = [o], e;
2524
2525
  }, {}), this.packets = Object.keys(this.groupedPacketData).map((e) => ({
2525
2526
  caption: e,
2526
2527
  snippet: e,
@@ -2529,254 +2530,255 @@ class Ri extends $e {
2529
2530
  });
2530
2531
  }
2531
2532
  // Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
2532
- getCompletions(e, n, a, i, s) {
2533
+ getCompletions(e, s, r, i, o) {
2533
2534
  let d = [];
2534
- const m = n.doc.$lines[a.row].slice(
2535
+ const h = s.doc.$lines[r.row].slice(
2535
2536
  0,
2536
- a.column
2537
+ r.column
2537
2538
  );
2538
- if (this.keywordExpressions.some((p) => m.match(p))) {
2539
- const p = Object.keys(this.groupedPacketData).find(
2540
- (v) => m.includes(v)
2539
+ if (this.keywordExpressions.some((c) => h.match(c))) {
2540
+ const c = Object.keys(this.groupedPacketData).find(
2541
+ (b) => h.includes(b)
2541
2542
  );
2542
- p ? d = this.groupedPacketData[p] : d = this.packets;
2543
+ c ? d = this.groupedPacketData[c] : d = this.packets;
2543
2544
  }
2544
- s(null, d);
2545
+ o(null, d);
2545
2546
  }
2546
2547
  }
2547
- const Je = (t) => {
2548
- const e = "(^|[{\\(\\s])", n = "((\\s.+)|(\\(.+\\)))";
2549
- return new RegExp(`${e}${t}${n}`);
2550
- }, Oi = /\{/, Ei = /['"],\s?['"]/;
2551
- class Mi {
2548
+ const Ye = (t) => {
2549
+ const e = "(^|[{\\(\\s])", s = "((\\s.+)|(\\(.+\\)))";
2550
+ return new RegExp(`${e}${t}${s}`);
2551
+ }, Oi = /\{/, Mi = /['"],\s?['"]/;
2552
+ class Ti {
2552
2553
  constructor() {
2553
- this.api = new Re(), this.targets = {}, this.api.get_target_names().then((e) => {
2554
- e.forEach((n) => {
2555
- this.targets[n] = {
2554
+ this.api = new Te(), this.targets = {}, this.api.get_target_names().then((e) => {
2555
+ e.forEach((s) => {
2556
+ this.targets[s] = {
2556
2557
  cmd: null,
2557
2558
  tlm: null
2558
2559
  };
2559
2560
  });
2560
- }), this.cmdKeywordExpressions = [], Le("cmd").then((e) => {
2561
- this.cmdKeywordExpressions = e.data.map(Je);
2562
- }), this.tlmKeywordExpressions = [], Le("tlm").then((e) => {
2563
- this.tlmKeywordExpressions = e.data.map(Je);
2561
+ }), this.cmdKeywordExpressions = [], Ge("cmd").then((e) => {
2562
+ this.cmdKeywordExpressions = e.data.map(Ye);
2563
+ }), this.tlmKeywordExpressions = [], Ge("tlm").then((e) => {
2564
+ this.tlmKeywordExpressions = e.data.map(Ye);
2564
2565
  });
2565
2566
  }
2566
2567
  async checkText(e) {
2567
- const { linesToCheck: n, linesToSkip: a } = e.split(`
2568
+ const { linesToCheck: s, linesToSkip: r } = e.split(`
2568
2569
  `).reduce(
2569
- (s, d, m) => {
2570
+ (o, d, h) => {
2570
2571
  if (d = d.trim(), d.match(/^#/))
2571
- return s;
2572
- const p = this.cmdKeywordExpressions.reduce((_, U) => _ || d.match(U), null), v = this.tlmKeywordExpressions.reduce((_, U) => _ || d.match(U), null);
2573
- if (!p && !v)
2574
- return s;
2575
- let w = p || v, x = w.length;
2576
- w = w[x - 1];
2577
- const b = w.substring(w.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
2578
- if (b.match(Oi))
2579
- return s.linesToSkip.push(m + 1), s;
2580
- const R = !!b.match(Ei), C = b.split(
2572
+ return o;
2573
+ const c = this.cmdKeywordExpressions.reduce((_, z) => _ || d.match(z), null), b = this.tlmKeywordExpressions.reduce((_, z) => _ || d.match(z), null);
2574
+ if (!c && !b)
2575
+ return o;
2576
+ let k = c || b, V = k.length;
2577
+ k = k[V - 1];
2578
+ const w = k.substring(k.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
2579
+ if (w.match(Oi))
2580
+ return o.linesToSkip.push(h + 1), o;
2581
+ const R = !!w.match(Mi), E = w.split(
2581
2582
  R ? "," : " "
2582
2583
  );
2583
- if (C.length < 2)
2584
- return s;
2585
- const E = {
2586
- target: C[0],
2587
- packet: C[1]
2584
+ if (E.length < 2)
2585
+ return o;
2586
+ const T = {
2587
+ target: E[0],
2588
+ packet: E[1]
2588
2589
  };
2589
- if (v)
2590
- E.item = C[2];
2590
+ if (b)
2591
+ T.item = E[2];
2591
2592
  else {
2592
- const _ = C.slice(2);
2593
- R ? E.params = _.map(
2594
- (U) => U.split("=>")[0]
2595
- ) : E.params = _.filter((U, N) => N % 2);
2593
+ const _ = E.slice(2);
2594
+ R ? T.params = _.map(
2595
+ (z) => z.split("=>")[0]
2596
+ ) : T.params = _.filter((z, G) => G % 2);
2596
2597
  }
2597
- for (const _ in E)
2598
- typeof E[_] == "string" ? E[_] = E[_].replace(/['"]/g, "").trim() : E[_] = E[_].map(
2599
- (U) => U.replace(/['"]/g, "").trim()
2598
+ for (const _ in T)
2599
+ typeof T[_] == "string" ? T[_] = T[_].replace(/['"]/g, "").trim() : T[_] = T[_].map(
2600
+ (z) => z.replace(/['"]/g, "").trim()
2600
2601
  );
2601
- return s.linesToCheck.push({
2602
+ return o.linesToCheck.push({
2602
2603
  line: d,
2603
- mnemonic: E,
2604
- lineNumber: m + 1
2605
- }), s;
2604
+ mnemonic: T,
2605
+ lineNumber: h + 1
2606
+ }), o;
2606
2607
  },
2607
2608
  { linesToCheck: [], linesToSkip: [] }
2608
- ), i = await this._checkLines(n);
2609
+ ), i = await this._checkLines(s);
2609
2610
  return {
2610
- skipped: a.sort(),
2611
- problems: i.sort((s, d) => s.lineNumber - d.lineNumber)
2611
+ skipped: r.sort(),
2612
+ problems: i.sort((o, d) => o.lineNumber - d.lineNumber)
2612
2613
  };
2613
2614
  }
2614
2615
  async _checkLines(e) {
2615
- const n = [], a = We(
2616
+ const s = [], r = Je(
2616
2617
  e,
2617
2618
  (i) => i.mnemonic.target
2618
2619
  );
2619
- for (const i in a) {
2620
+ for (const i in r) {
2620
2621
  if (!this.targets[i]) {
2621
- for (const d of a[i])
2622
- n.push({
2622
+ for (const d of r[i])
2623
+ s.push({
2623
2624
  ...d,
2624
2625
  error: `Target "${i}" does not exist.`
2625
2626
  });
2626
2627
  continue;
2627
2628
  }
2628
- const s = We(
2629
- a[i],
2629
+ const o = Je(
2630
+ r[i],
2630
2631
  (d) => d.mnemonic.packet
2631
2632
  );
2632
- for (const d in s)
2633
- for (const m of s[d]) {
2634
- const p = m.mnemonic.item ? "tlm" : "cmd";
2635
- if (!this.targets[i][p]) {
2636
- const w = m.mnemonic.item ? "get_all_tlm" : "get_all_cmds", x = await this.api[w](i);
2637
- this.targets[i][p] = x.reduce(
2638
- (b, R) => (b[R.packet_name] = R.items.map(
2639
- (C) => C.name
2640
- ), b),
2633
+ for (const d in o)
2634
+ for (const h of o[d]) {
2635
+ const c = h.mnemonic.item ? "tlm" : "cmd";
2636
+ if (!this.targets[i][c]) {
2637
+ const k = h.mnemonic.item ? "get_all_tlm" : "get_all_cmds", V = await this.api[k](i);
2638
+ this.targets[i][c] = V.reduce(
2639
+ (w, R) => (w[R.packet_name] = R.items.map(
2640
+ (E) => E.name
2641
+ ), w),
2641
2642
  {}
2642
2643
  );
2643
2644
  }
2644
- const v = this.targets[i][p][d];
2645
- if (!v) {
2646
- n.push({
2647
- ...m,
2648
- error: `${p === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
2645
+ const b = this.targets[i][c][d];
2646
+ if (!b) {
2647
+ s.push({
2648
+ ...h,
2649
+ error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
2649
2650
  });
2650
2651
  continue;
2651
2652
  }
2652
- if (m.mnemonic.item) {
2653
- if (!v.some((w) => w === m.mnemonic.item)) {
2654
- n.push({
2655
- ...m,
2656
- error: `Item "${i} ${d} ${m.mnemonic.item}" does not exist.`
2653
+ if (h.mnemonic.item) {
2654
+ if (!b.some((k) => k === h.mnemonic.item)) {
2655
+ s.push({
2656
+ ...h,
2657
+ error: `Item "${i} ${d} ${h.mnemonic.item}" does not exist.`
2657
2658
  });
2658
2659
  continue;
2659
2660
  }
2660
2661
  } else
2661
- for (const w of m.mnemonic.params)
2662
- if (!v.some((x) => x === w)) {
2663
- n.push({
2664
- ...m,
2665
- error: `Command "${i} ${d}" param "${w}" does not exist.`
2662
+ for (const k of h.mnemonic.params)
2663
+ if (!b.some((V) => V === k)) {
2664
+ s.push({
2665
+ ...h,
2666
+ error: `Command "${i} ${d}" param "${k}" does not exist.`
2666
2667
  });
2667
2668
  continue;
2668
2669
  }
2669
2670
  }
2670
2671
  }
2671
- return n;
2672
+ return s;
2672
2673
  }
2673
2674
  }
2674
- var X, me, he, fe, ge, Ce, ve, _e, Ve;
2675
- class Ti {
2676
- constructor(e, { pattern: n, text: a, type: i }) {
2675
+ var ee, ge, ve, _e, be, Oe, we, ye, Me;
2676
+ class Ii {
2677
+ constructor(e, { pattern: s, text: r, type: i }) {
2677
2678
  // TODO: the eslint parser errors on these because of the #
2678
2679
  // Not sure if this naming is needed for the Ace editor or something?
2679
- j(this, X);
2680
- j(this, me);
2681
- j(this, he);
2682
- j(this, fe);
2683
- j(this, ge);
2680
+ W(this, ee);
2681
+ W(this, ge);
2682
+ W(this, ve);
2683
+ W(this, _e);
2684
+ W(this, be);
2684
2685
  // Re-annotate the entire document
2685
- Ae(this, "refresh", () => {
2686
- const e = B(this, me).session;
2687
- B(this, Ve).call(this, e);
2688
- const n = {
2686
+ Be(this, "refresh", () => {
2687
+ const e = B(this, ge).session;
2688
+ B(this, Me).call(this, e);
2689
+ const s = {
2689
2690
  lines: e.doc.$lines,
2690
2691
  action: "insert",
2691
2692
  start: { row: 0 },
2692
2693
  end: { row: e.doc.$lines.length }
2693
2694
  };
2694
- this.annotate(n, e);
2695
+ this.annotate(s, e);
2695
2696
  });
2696
2697
  // Update annotations for the changed lines
2697
- Ae(this, "annotate", (e, n) => {
2698
- var a, i;
2698
+ Be(this, "annotate", (e, s) => {
2699
+ var r, i;
2699
2700
  if (e.lines.length > 1)
2700
2701
  switch (e.action) {
2701
2702
  case "insert":
2702
- B(this, _e).call(this, n, e.start.row, e.lines.length - 1);
2703
+ B(this, ye).call(this, s, e.start.row, e.lines.length - 1);
2703
2704
  break;
2704
2705
  case "remove":
2705
- B(this, _e).call(this, n, e.start.row + 1, -e.lines.length + 1);
2706
+ B(this, ye).call(this, s, e.start.row + 1, -e.lines.length + 1);
2706
2707
  break;
2707
2708
  }
2708
- for (let s = e.start.row; s <= e.end.row; s++) {
2709
- let d = (i = (a = n.doc.$lines[s]) == null ? void 0 : a.match(B(this, he))) == null ? void 0 : i.index;
2710
- d !== void 0 ? (d !== 0 && (d += 1), B(this, Ce).call(this, n, {
2711
- row: s,
2709
+ for (let o = e.start.row; o <= e.end.row; o++) {
2710
+ let d = (i = (r = s.doc.$lines[o]) == null ? void 0 : r.match(B(this, ve))) == null ? void 0 : i.index;
2711
+ d !== void 0 ? (d !== 0 && (d += 1), B(this, Oe).call(this, s, {
2712
+ row: o,
2712
2713
  column: d,
2713
2714
  // I don't think our editor theme shows the column for annotations, but others do
2714
- text: B(this, fe),
2715
- type: B(this, ge),
2716
- openc3Id: B(this, X)
2717
- })) : e.action === "remove" && B(this, ve).call(this, n, s);
2715
+ text: B(this, _e),
2716
+ type: B(this, be),
2717
+ openc3Id: B(this, ee)
2718
+ })) : e.action === "remove" && B(this, we).call(this, s, o);
2718
2719
  }
2719
2720
  });
2720
- j(this, Ce, (e, n) => {
2721
- B(this, ve).call(this, e, n.row), e.setAnnotations([...e.getAnnotations(), n]);
2721
+ W(this, Oe, (e, s) => {
2722
+ B(this, we).call(this, e, s.row), e.setAnnotations([...e.getAnnotations(), s]);
2722
2723
  });
2723
- j(this, ve, (e, n) => {
2724
+ W(this, we, (e, s) => {
2724
2725
  e.setAnnotations(
2725
2726
  e.getAnnotations().filter(
2726
- (a) => a.openc3Id !== B(this, X) || a.row !== n
2727
+ (r) => r.openc3Id !== B(this, ee) || r.row !== s
2727
2728
  )
2728
2729
  );
2729
2730
  });
2730
- j(this, _e, (e, n, a) => {
2731
+ W(this, ye, (e, s, r) => {
2731
2732
  e.setAnnotations(
2732
- e.getAnnotations().map((i) => (i.row > n && (i.row += a), i))
2733
+ e.getAnnotations().map((i) => (i.row > s && (i.row += r), i))
2733
2734
  );
2734
2735
  });
2735
- j(this, Ve, (e) => {
2736
+ W(this, Me, (e) => {
2736
2737
  e.setAnnotations(
2737
- e.getAnnotations().filter((n) => n.openc3Id !== B(this, X))
2738
+ e.getAnnotations().filter((s) => s.openc3Id !== B(this, ee))
2738
2739
  );
2739
2740
  });
2740
- ee(this, X, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ee(this, me, e), ee(this, he, n), ee(this, fe, a), ee(this, ge, i);
2741
+ ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ge, e), ne(this, ve, s), ne(this, _e, r), ne(this, be, i);
2741
2742
  }
2742
2743
  }
2743
- X = new WeakMap(), me = new WeakMap(), he = new WeakMap(), fe = new WeakMap(), ge = new WeakMap(), Ce = new WeakMap(), ve = new WeakMap(), _e = new WeakMap(), Ve = new WeakMap();
2744
- class Ii extends Ti {
2744
+ ee = new WeakMap(), ge = new WeakMap(), ve = new WeakMap(), _e = new WeakMap(), be = new WeakMap(), Oe = new WeakMap(), we = new WeakMap(), ye = new WeakMap(), Me = new WeakMap();
2745
+ class Di extends Ii {
2745
2746
  constructor(e) {
2746
- const n = "(^|[{\\s])", a = "sleep", i = "[\\(\\s]";
2747
+ const s = "(^|[{\\s])", r = "sleep", i = "[\\(\\s]";
2747
2748
  super(e, {
2748
- pattern: new RegExp(`${n}${a}${i}`),
2749
+ pattern: new RegExp(`${s}${r}${i}`),
2749
2750
  text: "Use `wait` instead of `sleep` in OpenC3 scripts",
2750
2751
  // because we override wait to make it work better, but not sleep
2751
2752
  type: "warning"
2752
2753
  });
2753
2754
  }
2754
2755
  }
2755
- const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause", Ui = "Retry", Pi = {
2756
+ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause", Pi = "Retry", zi = {
2756
2757
  components: {
2757
- FileOpenSaveDialog: yt,
2758
- Openc3Screen: wt,
2759
- EnvironmentDialog: bt,
2760
- Splitpanes: Ut,
2761
- Pane: Pt,
2758
+ FileOpenSaveDialog: St,
2759
+ Openc3Screen: kt,
2760
+ EnvironmentDialog: yt,
2761
+ Splitpanes: Pt,
2762
+ Pane: zt,
2762
2763
  TopBar: gt,
2763
- AskDialog: Lt,
2764
- FileDialog: Kt,
2765
- InformationDialog: Qt,
2766
- EventListDialog: xt,
2767
- OverridesDialog: ii,
2768
- PromptDialog: ci,
2769
- ResultsDialog: fi,
2770
- ScriptEnvironmentDialog: bi,
2771
- SimpleTextDialog: kt,
2772
- SuiteRunner: Si,
2773
- RunningScripts: Mt,
2774
- ScriptLogMessages: Dt,
2775
- CriticalCmdDialog: _t
2764
+ AskDialog: Nt,
2765
+ FileDialog: Wt,
2766
+ InformationDialog: $t,
2767
+ EventListDialog: Vt,
2768
+ OverridesDialog: si,
2769
+ PromptDialog: mi,
2770
+ ResultsDialog: gi,
2771
+ ScriptEnvironmentDialog: wi,
2772
+ SimpleTextDialog: xt,
2773
+ SuiteRunner: xi,
2774
+ RunningScripts: Tt,
2775
+ ScriptLogMessages: Ut,
2776
+ CriticalCmdDialog: wt,
2777
+ CommandEditor: _t
2776
2778
  },
2777
- mixins: [ht, St],
2778
- beforeRouteUpdate: function(t, e, n) {
2779
- t.params.id ? this.tryLoadRunningScript(t.params.id).then(n) : n();
2779
+ mixins: [ht, Ct],
2780
+ beforeRouteUpdate: function(t, e, s) {
2781
+ t.params.id ? this.tryLoadRunningScript(t.params.id).then(s) : s();
2780
2782
  },
2781
2783
  props: {
2782
2784
  inline: {
@@ -2819,10 +2821,10 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
2819
2821
  alertText: "",
2820
2822
  state: null,
2821
2823
  scriptId: null,
2822
- startOrGoButton: Be,
2824
+ startOrGoButton: He,
2823
2825
  startOrGoDisabled: !1,
2824
2826
  envDisabled: !1,
2825
- pauseOrRetryButton: pe,
2827
+ pauseOrRetryButton: fe,
2826
2828
  pauseOrRetryDisabled: !1,
2827
2829
  stopDisabled: !1,
2828
2830
  showEnvironment: !1,
@@ -2834,7 +2836,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
2834
2836
  files: {},
2835
2837
  breakpoints: {},
2836
2838
  enableStackTraces: !1,
2837
- filename: G,
2839
+ filename: q,
2838
2840
  readOnlyUser: !1,
2839
2841
  executeUser: !0,
2840
2842
  saveAllowed: !0,
@@ -2852,6 +2854,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
2852
2854
  receivedEvents: [],
2853
2855
  messages: [],
2854
2856
  messagesNewestOnTop: !0,
2857
+ inlineTab: "script",
2855
2858
  maxArrayLength: 200,
2856
2859
  Range: ace.require("ace/range").Range,
2857
2860
  ask: {
@@ -2908,9 +2911,19 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
2908
2911
  executeSelectionMenu: !1,
2909
2912
  menuX: 0,
2910
2913
  menuY: 0,
2911
- mnemonicChecker: new Mi(),
2914
+ mnemonicChecker: new Ti(),
2912
2915
  showScripts: !1,
2913
2916
  showOverrides: !1,
2917
+ commandEditor: {
2918
+ show: !1,
2919
+ targetName: null,
2920
+ commandName: null,
2921
+ dialogError: null,
2922
+ cmdString: null,
2923
+ isEditing: !1,
2924
+ editLine: null
2925
+ },
2926
+ currentLineHasCommand: !1,
2914
2927
  activePromptId: "",
2915
2928
  api: null,
2916
2929
  timeZone: "local",
@@ -2945,13 +2958,13 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
2945
2958
  },
2946
2959
  // Returns the currently shown filename
2947
2960
  fullFilename: function() {
2948
- return this.currentFilename ? this.currentFilename : this.filename === G ? G : `${this.filename} ${this.fileModified}`.trim();
2961
+ return this.currentFilename ? this.currentFilename : this.filename === q ? q : `${this.filename} ${this.fileModified}`.trim();
2949
2962
  },
2950
2963
  // It's annoying for people (and tests) to clear the <Untitled>
2951
2964
  // when saving a new file so replace with blank
2952
2965
  // This makes sure that string doesn't show up in the dialog
2953
2966
  filenameOrBlank: function() {
2954
- return this.filename === G ? "" : this.filename;
2967
+ return this.filename === q ? "" : this.filename;
2955
2968
  },
2956
2969
  menus: function() {
2957
2970
  return [
@@ -3200,21 +3213,21 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3200
3213
  this.showEditingToast = t, this.suiteRunner || (this.startOrGoDisabled = t), this.readOnlyUser == !1 && t == !1 ? this.editor.setReadOnly(t) : this.editor.setReadOnly(!0);
3201
3214
  },
3202
3215
  fullFilename: function(t) {
3203
- this.filenameSelect = t, this.inline || (t === G ? localStorage.removeItem("script_runner__filename") : localStorage.script_runner__filename = t);
3216
+ this.filenameSelect = t, this.inline || (t === q ? localStorage.removeItem("script_runner__filename") : localStorage.script_runner__filename = t);
3204
3217
  }
3205
3218
  },
3206
3219
  created: async function() {
3207
- this.api = new Re(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((n) => {
3208
- n && (this.timeZone = n);
3209
- }).catch((n) => {
3210
- }), this.NEW_FILENAME = G;
3220
+ this.api = new Te(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((s) => {
3221
+ s && (this.timeZone = s);
3222
+ }).catch((s) => {
3223
+ }), this.NEW_FILENAME = q;
3211
3224
  let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
3212
3225
  this.readOnlyUser = !0, this.executeUser = !1;
3213
- for (let n of e)
3214
- n != "viewer" && (n == "admin" || n == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : n == "runner" ? this.executeUser = !0 : await O.get(`/openc3-api/roles/${n}`).then((a) => {
3215
- a.data !== null && a.data.permissions !== void 0 && (a.data.permissions.some(
3226
+ for (let s of e)
3227
+ s != "viewer" && (s == "admin" || s == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : s == "runner" ? this.executeUser = !0 : await O.get(`/openc3-api/roles/${s}`).then((r) => {
3228
+ r.data !== null && r.data.permissions !== void 0 && (r.data.permissions.some(
3216
3229
  (i) => i.permission == "script_edit"
3217
- ) && (this.readOnlyUser = !1), a.data.permissions.some(
3230
+ ) && (this.readOnlyUser = !1), r.data.permissions.some(
3218
3231
  (i) => i.permission == "script_run"
3219
3232
  ) && (this.executeUser = !0));
3220
3233
  }));
@@ -3224,27 +3237,27 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3224
3237
  execute: this.executeUser
3225
3238
  })), this.readOnlyUser == !0) {
3226
3239
  this.alertType = "info";
3227
- let n = `User ${t.preferred_username} is read only`;
3228
- this.executeUser && (n += " but can execute scripts"), this.alertText = n, this.showAlert = !0;
3240
+ let s = `User ${t.preferred_username} is read only`;
3241
+ this.executeUser && (s += " but can execute scripts"), this.alertText = s, this.showAlert = !0;
3229
3242
  }
3230
- O.get("/openc3-api/autocomplete/keywords/screen").then((n) => {
3231
- this.screenKeywords = n.data;
3243
+ O.get("/openc3-api/autocomplete/keywords/screen").then((s) => {
3244
+ this.screenKeywords = s.data;
3232
3245
  }), this.inline && (this.readOnly = !0);
3233
3246
  },
3234
3247
  mounted: async function() {
3235
- var a, i;
3248
+ var i, o;
3236
3249
  this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
3237
3250
  const t = this.buildRubyMode(), e = this.buildPythonMode();
3238
- this.rubyMode = new t(), this.pythonMode = new e(), this.editor.session.setMode(this.rubyMode), 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 Vi(), new Ri()], this.editor.setHighlightActiveLine(!1), Ke.applyVimModeIfEnabled(this.editor, { saveFn: this.saveFile }), this.editor.focus(), this.editor.on("guttermousedown", this.toggleBreakpoint), this.editor.session.on("tokenizerUpdate", this.onChange), this.readOnlyUser && (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none");
3239
- const n = new Ii(this.editor);
3240
- this.editor.session.on("change", (s, d) => {
3241
- n.annotate(s, d), this.updateBreakpoints(s, d);
3242
- }), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), window.addEventListener("resize", this.calcHeight), this.calcHeight(), this.cable = new st("/script-api/cable"), !this.inline && localStorage.script_runner__recent && (this.recent = JSON.parse(localStorage.script_runner__recent), this.recent = this.recent.map((s) => ({
3243
- ...s,
3244
- command: async (d) => {
3245
- this.filename = d.label, await this.reloadFile();
3251
+ this.rubyMode = new t(), this.pythonMode = new e(), Ce.getDefaultScriptingLanguage() === "python" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), 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 Ei(), new Ri()], this.editor.setHighlightActiveLine(!1), Ce.applyVimModeIfEnabled(this.editor, { saveFn: this.saveFile }), this.editor.focus(), this.editor.on("guttermousedown", this.toggleBreakpoint), this.editor.session.on("tokenizerUpdate", this.onChange), this.readOnlyUser && (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none");
3252
+ const r = new Di(this.editor);
3253
+ this.editor.session.on("change", (d, h) => {
3254
+ r.annotate(d, h), this.updateBreakpoints(d, h);
3255
+ }), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), window.addEventListener("resize", this.calcHeight), this.calcHeight(), this.cable = new st("/script-api/cable"), !this.inline && localStorage.script_runner__recent && (this.recent = JSON.parse(localStorage.script_runner__recent), this.recent = this.recent.map((d) => ({
3256
+ ...d,
3257
+ command: async (h) => {
3258
+ this.filename = h.label, await this.reloadFile();
3246
3259
  }
3247
- }))), this.inline ? this.body && (this.editor.setValue(this.body), this.editor.clearSelection()) : (a = this.$route.query) != null && a.file ? (this.filename = this.$route.query.file, await this.reloadFile()) : (i = this.$route.params) != null && i.id ? await this.tryLoadRunningScript(this.$route.params.id) : (this.scriptId = sessionStorage.getItem("script_runner__script_id"), this.scriptId ? await this.tryLoadRunningScript(this.scriptId) : localStorage.script_runner__filename && (this.filename = localStorage.script_runner__filename, await this.reloadFile(!1))), this.updateInterval = setInterval(async () => {
3260
+ }))), this.inline ? this.body && (this.editor.setValue(this.body), this.editor.clearSelection()) : (i = this.$route.query) != null && i.file ? (this.filename = this.$route.query.file, await this.reloadFile()) : (o = this.$route.params) != null && o.id ? await this.tryLoadRunningScript(this.$route.params.id) : (this.scriptId = sessionStorage.getItem("script_runner__script_id"), this.scriptId ? await this.tryLoadRunningScript(this.scriptId) : localStorage.script_runner__filename && (this.filename = localStorage.script_runner__filename, await this.reloadFile(!1))), this.updateInterval = setInterval(async () => {
3248
3261
  this.processReceived();
3249
3262
  }, 100);
3250
3263
  },
@@ -3256,7 +3269,48 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3256
3269
  },
3257
3270
  methods: {
3258
3271
  toggleVimMode() {
3259
- Ke.toggleVimMode(this.editor);
3272
+ Ce.toggleVimMode(this.editor);
3273
+ },
3274
+ openCommandEditor() {
3275
+ this.executeSelectionMenu = !1;
3276
+ const t = this.editor.getCursorPosition(), e = this.editor.session.getLine(t.row);
3277
+ if (this.currentLineHasCommand) {
3278
+ const s = this.parseCommandFromLine(e);
3279
+ this.commandEditor.cmdString = s, this.commandEditor.isEditing = !0, this.commandEditor.editLine = t.row;
3280
+ } else
3281
+ this.commandEditor.cmdString = null, this.commandEditor.isEditing = !1, this.commandEditor.editLine = null;
3282
+ this.commandEditor.show = !0, this.commandEditor.dialogError = null;
3283
+ },
3284
+ insertCommand(t) {
3285
+ let e = "";
3286
+ try {
3287
+ e = this.$refs.commandEditor.getCmdString();
3288
+ let s = e.split(" ");
3289
+ this.commandEditor.targetName = s[0], this.commandEditor.commandName = s[1];
3290
+ } catch (s) {
3291
+ this.commandEditor.dialogError = s.message || "Please fix command parameters";
3292
+ return;
3293
+ }
3294
+ if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
3295
+ const s = this.editor.session.getLine(this.commandEditor.editLine), r = s.match(/^\s*/)[0], i = s.match(/\s+#.*$/), o = i ? i[0] : "", d = `${r}cmd("${e}")${o}`, h = this.Range;
3296
+ this.editor.session.replace(
3297
+ new h(
3298
+ this.commandEditor.editLine,
3299
+ 0,
3300
+ this.commandEditor.editLine,
3301
+ s.length
3302
+ ),
3303
+ d
3304
+ );
3305
+ } else {
3306
+ const s = this.editor.getCursorPosition();
3307
+ this.editor.session.insert(s, `cmd("${e}")
3308
+ `);
3309
+ }
3310
+ this.fileModified = !0, this.commandEditor.show = !1;
3311
+ },
3312
+ closeCommandDialog: function() {
3313
+ this.commandEditor.show = !1;
3260
3314
  },
3261
3315
  doResize() {
3262
3316
  this.editor.resize(), this.$nextTick(() => {
@@ -3268,13 +3322,13 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3268
3322
  document.documentElement.offsetHeight,
3269
3323
  window.innerHeight || 0
3270
3324
  );
3271
- let n = 0;
3272
- t && (n = t.offsetHeight);
3273
- let a = 0;
3325
+ let s = 0;
3326
+ t && (s = t.offsetHeight);
3327
+ let r = 0;
3274
3328
  const i = document.getElementsByClassName("suite-runner")[0];
3275
- i && (a = i.offsetHeight);
3276
- let s = document.getElementById("script-log-messages");
3277
- s && (s.style.height = `${e - n - a}px`);
3329
+ i && (r = i.offsetHeight);
3330
+ let o = document.getElementById("script-log-messages");
3331
+ o && (o.style.height = `${e - s - r}px`);
3278
3332
  },
3279
3333
  scriptDisconnect() {
3280
3334
  this.subscription && (this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0;
@@ -3312,8 +3366,8 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3312
3366
  tryLoadRunningScript: function(t) {
3313
3367
  return O.get(`/script-api/running-script/${t}`).then((e) => {
3314
3368
  if (e.data) {
3315
- let n = e.data.state;
3316
- n !== "completed" && n !== "completed_errors" && n !== "stopped" && n !== "crashed" && n !== "killed" ? (this.filename = e.data.filename, this.tryLoadSuites(e), this.initScriptStart(), this.scriptStart(t)) : (this.$notify.caution({
3369
+ let s = e.data.state;
3370
+ s !== "completed" && s !== "completed_errors" && s !== "stopped" && s !== "crashed" && s !== "killed" ? (this.filename = e.data.filename, this.tryLoadSuites(e), this.initScriptStart(), this.scriptStart(t)) : (this.$notify.caution({
3317
3371
  title: `Script ${t} has already completed`,
3318
3372
  body: "Check the Completed Scripts below ..."
3319
3373
  }), this.scriptComplete(), this.showScripts = !0);
@@ -3330,7 +3384,17 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3330
3384
  t.data.suite_runner && (this.startOrGoDisabled = !0, this.suiteRunner = !0, this.suiteMap = JSON.parse(t.data.suite_runner)), this.doResize();
3331
3385
  },
3332
3386
  showExecuteSelectionMenu: function(t) {
3333
- this.menuX = t.pageX, this.menuY = t.pageY, this.executeSelectionMenu = !0;
3387
+ this.menuX = t.pageX, this.menuY = t.pageY;
3388
+ const e = this.editor.getCursorPosition(), s = this.editor.session.getLine(e.row);
3389
+ this.currentLineHasCommand = this.isCommandLine(s), this.executeSelectionMenu = !0;
3390
+ },
3391
+ isCommandLine: function(t) {
3392
+ const e = t.trim();
3393
+ return /^\s*cmd(_\w+)?\s*\(/.test(e);
3394
+ },
3395
+ parseCommandFromLine: function(t) {
3396
+ const e = t.match(/cmd(_\w+)?\s*\(\s*["'](.+?)["']\s*\)/);
3397
+ return e ? e[2] : null;
3334
3398
  },
3335
3399
  runFromCursor: function() {
3336
3400
  const t = this.editor.getCursorPosition().row + 1;
@@ -3345,15 +3409,15 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3345
3409
  },
3346
3410
  executeSelection: function() {
3347
3411
  const t = this.editor.getSelectionRange();
3348
- let e = t.start.row + 1, n = t.end.row + 1;
3349
- t.end.column === 0 && (n -= 1), this.scriptId ? O.post(
3412
+ let e = t.start.row + 1, s = t.end.row + 1;
3413
+ t.end.column === 0 && (s -= 1), this.scriptId ? O.post(
3350
3414
  `/script-api/running-script/${this.scriptId}/executewhilepaused`,
3351
3415
  {
3352
3416
  data: {
3353
- args: [this.filenameSelect, e, n]
3417
+ args: [this.filenameSelect, e, s]
3354
3418
  }
3355
3419
  }
3356
- ) : this.start(null, null, e, n);
3420
+ ) : this.start(null, null, e, s);
3357
3421
  },
3358
3422
  clearBreakpoints: function() {
3359
3423
  this.editor.session.clearBreakpoints();
@@ -3367,31 +3431,31 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3367
3431
  updateBreakpoints: function(t, e) {
3368
3432
  if (t.lines.length <= 1)
3369
3433
  return;
3370
- const n = this.getBreakpointRows(e).filter(
3371
- (s) => t.start.column === 0 && s === t.start.row || s > t.start.row
3434
+ const s = this.getBreakpointRows(e).filter(
3435
+ (o) => t.start.column === 0 && o === t.start.row || o > t.start.row
3372
3436
  );
3373
- let a = [], i = 0;
3437
+ let r = [], i = 0;
3374
3438
  switch (t.action) {
3375
3439
  case "insert":
3376
- i = t.lines.length - 1, n.reverse();
3440
+ i = t.lines.length - 1, s.reverse();
3377
3441
  break;
3378
3442
  case "remove":
3379
- i = -t.lines.length + 1, a = [...Array(t.lines.length).keys()].map(
3380
- (s) => s + t.start.row
3443
+ i = -t.lines.length + 1, r = [...Array(t.lines.length).keys()].map(
3444
+ (o) => o + t.start.row
3381
3445
  );
3382
3446
  break;
3383
3447
  }
3384
- n.forEach((s) => {
3385
- e.clearBreakpoint(s), a.includes(s) || e.setBreakpoint(s + i);
3448
+ s.forEach((o) => {
3449
+ e.clearBreakpoint(o), r.includes(o) || e.setBreakpoint(o + i);
3386
3450
  });
3387
3451
  },
3388
3452
  getBreakpointRows: function(t = this.editor.session) {
3389
- return t.getBreakpoints().map((e, n) => e && n).filter(Number.isInteger);
3453
+ return t.getBreakpoints().map((e, s) => e && s).filter(Number.isInteger);
3390
3454
  },
3391
3455
  restoreBreakpoints: function(t) {
3392
3456
  var e;
3393
- this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((n) => {
3394
- this.editor.session.setBreakpoint(n);
3457
+ this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((s) => {
3458
+ this.editor.session.setBreakpoint(s);
3395
3459
  });
3396
3460
  },
3397
3461
  deleteAllBreakpoints: function() {
@@ -3403,7 +3467,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3403
3467
  });
3404
3468
  },
3405
3469
  suiteRunnerButton(t) {
3406
- this.startOrGoButton === Be ? this.start(t, "suiteRunner") : this.go(t, "suiteRunner");
3470
+ this.startOrGoButton === He ? this.start(t, "suiteRunner") : this.go(t, "suiteRunner");
3407
3471
  },
3408
3472
  async keydown(t) {
3409
3473
  this.scriptId || this.editor.getReadOnly() === !0 || (t.metaKey || t.ctrlKey) && t.keyCode === 83 && (t.shiftKey ? (t.preventDefault(), this.saveAs()) : (t.preventDefault(), await this.saveFile()));
@@ -3413,26 +3477,26 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3413
3477
  },
3414
3478
  checkMnemonics: function() {
3415
3479
  let t = this.filename;
3416
- this.filename !== G && (t.endsWith(".rb") || t.endsWith(".py") || O.post(`/script-api/scripts/${this.filename}/mnemonics`, {
3480
+ this.filename !== q && (t.endsWith(".rb") || t.endsWith(".py") || O.post(`/script-api/scripts/${this.filename}/mnemonics`, {
3417
3481
  data: this.editor.getValue(),
3418
3482
  headers: {
3419
3483
  Accept: "application/json",
3420
3484
  "Content-Type": "plain/text"
3421
3485
  }
3422
3486
  }).then((e) => {
3423
- let n = "";
3424
- n += `<strong>${e.data.title}</strong><br/><br/>`, n += JSON.parse(e.data.description), this.$dialog.alert(n.trim(), { html: !0 });
3425
- })), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: n }) => {
3426
- let a = "";
3427
- if (n.length) {
3428
- const i = n.map((s) => `${s.lineNumber}: ${s.error}`).join("<br/>");
3429
- a += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
3487
+ let s = "";
3488
+ s += `<strong>${e.data.title}</strong><br/><br/>`, s += JSON.parse(e.data.description), this.$dialog.alert(s.trim(), { html: !0 });
3489
+ })), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: s }) => {
3490
+ let r = "";
3491
+ if (s.length) {
3492
+ const i = s.map((o) => `${o.lineNumber}: ${o.error}`).join("<br/>");
3493
+ r += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
3430
3494
  }
3431
- e.length && (a += "<strong>Mnemonics with string interpolation were not checked.</strong>"), a === "" && (a = "<strong>Everything looks good!</strong>"), this.$dialog.alert(a.trim(), { html: !0 });
3495
+ e.length && (r += "<strong>Mnemonics with string interpolation were not checked.</strong>"), r === "" && (r = "<strong>Everything looks good!</strong>"), this.$dialog.alert(r.trim(), { html: !0 });
3432
3496
  });
3433
3497
  },
3434
3498
  initScriptStart() {
3435
- this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = Di, this.editor.setReadOnly(!0);
3499
+ this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = Ui, this.editor.setReadOnly(!0);
3436
3500
  },
3437
3501
  scriptStart(t) {
3438
3502
  this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
@@ -3449,7 +3513,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3449
3513
  });
3450
3514
  },
3451
3515
  async scriptComplete() {
3452
- this.state = "stopped", this.fatal = !1, this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton = Be, this.pauseOrRetryButton = pe, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0;
3516
+ this.fatal = !1, this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, this.state = "stopped", await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton = He, this.pauseOrRetryButton = fe, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0;
3453
3517
  },
3454
3518
  environmentHandler: function(t) {
3455
3519
  this.scriptEnvironment.env = t;
@@ -3457,23 +3521,23 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3457
3521
  startHandler: function() {
3458
3522
  this.start();
3459
3523
  },
3460
- async start(t = null, e = null, n = null, a = null) {
3524
+ async start(t = null, e = null, s = null, r = null) {
3461
3525
  this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
3462
3526
  let i = this.filename;
3463
- this.filename === G && (i = this.tempFilename);
3464
- let s = `/script-api/scripts/${i}/run`;
3465
- this.showDisconnect && (s += "/disconnect");
3527
+ this.filename === q && (i = this.tempFilename);
3528
+ let o = `/script-api/scripts/${i}/run`;
3529
+ this.showDisconnect && (o += "/disconnect");
3466
3530
  let d = this.scriptEnvironment.env;
3467
3531
  this.enableStackTraces && (d = d.concat({
3468
3532
  key: "OPENC3_FULL_BACKTRACE",
3469
3533
  value: "1"
3470
3534
  }));
3471
- let m = {
3535
+ let h = {
3472
3536
  environment: d
3473
3537
  };
3474
- e && (m.suiteRunner = t), n !== null && (m.line_no = n), a !== null && (m.end_line_no = a), O.post(s, { data: m }).then((p) => {
3475
- this.scriptStart(p.data);
3476
- }).catch((p) => {
3538
+ e && (h.suiteRunner = t), s !== null && (h.line_no = s), r !== null && (h.end_line_no = r), O.post(o, { data: h }).then((c) => {
3539
+ this.scriptStart(c.data);
3540
+ }).catch((c) => {
3477
3541
  this.scriptComplete();
3478
3542
  });
3479
3543
  },
@@ -3481,7 +3545,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3481
3545
  this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename), O.post(`/script-api/running-script/${this.scriptId}/go`);
3482
3546
  },
3483
3547
  pauseOrRetry() {
3484
- this.pauseOrRetryButton === pe ? O.post(`/script-api/running-script/${this.scriptId}/pause`) : (this.pauseOrRetryButton = pe, O.post(`/script-api/running-script/${this.scriptId}/retry`));
3548
+ this.pauseOrRetryButton === fe ? O.post(`/script-api/running-script/${this.scriptId}/pause`) : (this.pauseOrRetryButton = fe, O.post(`/script-api/running-script/${this.scriptId}/retry`));
3485
3549
  },
3486
3550
  stop() {
3487
3551
  this.fatal ? (this.removeAllMarkers(), this.scriptComplete()) : O.post(`/script-api/running-script/${this.scriptId}/stop`);
@@ -3503,18 +3567,18 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3503
3567
  this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
3504
3568
  },
3505
3569
  processLine(t) {
3506
- t.filename && t.filename !== this.currentFilename && (this.files[t.filename] ? (this.currentFilename = t.filename, this.editor.setValue(this.files[t.filename].content), this.restoreBreakpoints(t.filename), this.editor.clearSelection()) : (this.files[t.filename] = { content: "", lineNo: 0 }, O.get(`/script-api/scripts/${t.filename}`).then((n) => {
3570
+ t.filename && t.filename !== this.currentFilename && (this.files[t.filename] ? (this.currentFilename = t.filename, this.editor.setValue(this.files[t.filename].content), this.restoreBreakpoints(t.filename), this.editor.clearSelection()) : (this.files[t.filename] = { content: "", lineNo: 0 }, O.get(`/script-api/scripts/${t.filename}`).then((s) => {
3507
3571
  this.files[t.filename] = {
3508
- content: n.data.contents,
3572
+ content: s.data.contents,
3509
3573
  lineNo: 0
3510
- }, this.breakpoints[t.filename] = n.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
3511
- }).catch((n) => {
3574
+ }, this.breakpoints[t.filename] = s.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
3575
+ }).catch((s) => {
3512
3576
  this.files[t.filename] = null;
3513
3577
  }))), this.state = t.state;
3514
3578
  const e = this.editor.session.getMarkers();
3515
3579
  switch (this.state) {
3516
3580
  case "running":
3517
- this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton = pe, this.removeAllMarkers(), this.editor.session.addMarker(
3581
+ this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton = fe, this.removeAllMarkers(), this.editor.session.addMarker(
3518
3582
  new this.Range(t.line_no - 1, 0, t.line_no - 1, 1),
3519
3583
  "runningMarker",
3520
3584
  "fullLine"
@@ -3524,21 +3588,21 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3524
3588
  this.fatal = !0;
3525
3589
  // Deliberate fall through (no break)
3526
3590
  case "error":
3527
- this.pauseOrRetryButton = Ui;
3591
+ this.pauseOrRetryButton = Pi;
3528
3592
  // Deliberate fall through (no break)
3529
3593
  case "breakpoint":
3530
3594
  case "waiting":
3531
3595
  case "paused":
3532
3596
  if (this.handleWaiting(), this.state == "fatal" ? (this.startOrGoDisabled = !0, this.pauseOrRetryDisabled = !0) : (this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1), this.stopDisabled = !1, Object.keys(e).filter(
3533
- (a) => e[a].clazz === `${this.state}Marker`
3597
+ (r) => e[r].clazz === `${this.state}Marker`
3534
3598
  ).length === 0) {
3535
3599
  this.removeAllMarkers();
3536
- let a = t.line_no > 0 ? t.line_no : 1;
3600
+ let r = t.line_no > 0 ? t.line_no : 1;
3537
3601
  this.editor.session.addMarker(
3538
- new this.Range(a - 1, 0, a - 1, 1),
3602
+ new this.Range(r - 1, 0, r - 1, 1),
3539
3603
  `${this.state}Marker`,
3540
3604
  "fullLine"
3541
- ), this.editor.gotoLine(a), t.filename && (this.files[t.filename].lineNo = a);
3605
+ ), this.editor.gotoLine(r), t.filename && (this.files[t.filename].lineNo = r);
3542
3606
  }
3543
3607
  break;
3544
3608
  }
@@ -3547,7 +3611,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3547
3611
  let t = 0;
3548
3612
  for (let e of this.receivedEvents) {
3549
3613
  t += 1;
3550
- let n = 0;
3614
+ let s = 0;
3551
3615
  switch (e.type) {
3552
3616
  case "file":
3553
3617
  this.files[e.filename] = { content: e.text, lineNo: 0 }, this.breakpoints[e.filename] = e.breakpoints, this.currentFilename === e.filename && this.restoreBreakpoints(e.filename);
@@ -3575,31 +3639,31 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3575
3639
  this.showDebug = !0;
3576
3640
  break;
3577
3641
  case "screen":
3578
- let a = !1, i = {};
3642
+ let r = !1, i = {};
3579
3643
  for (screen of this.screens) {
3580
3644
  if (screen.target == e.target_name && screen.screen == e.screen_name) {
3581
- i = screen, a = !0;
3645
+ i = screen, r = !0;
3582
3646
  break;
3583
3647
  }
3584
- n += 1;
3648
+ s += 1;
3585
3649
  }
3586
- i.target = e.target_name, i.screen = e.screen_name, i.definition = e.definition, e.x ? i.left = e.x : i.left = 0, e.y ? i.top = e.y : i.top = 0, i.count = this.updateCounter++, a ? this.screens[n] = i : (i.id = this.idCounter++, this.screens[this.screens.length] = i);
3650
+ i.target = e.target_name, i.screen = e.screen_name, i.definition = e.definition, e.x ? i.left = e.x : i.left = 0, e.y ? i.top = e.y : i.top = 0, i.count = this.updateCounter++, r ? this.screens[s] = i : (i.id = this.idCounter++, this.screens[this.screens.length] = i);
3587
3651
  break;
3588
3652
  case "clearscreen":
3589
3653
  for (screen of this.screens) {
3590
3654
  if (screen.target == e.target_name && screen.screen == e.screen_name) {
3591
- this.screens.splice(n, 1);
3655
+ this.screens.splice(s, 1);
3592
3656
  break;
3593
3657
  }
3594
- n += 1;
3658
+ s += 1;
3595
3659
  }
3596
3660
  break;
3597
3661
  case "clearallscreens":
3598
3662
  this.screens = [];
3599
3663
  break;
3600
3664
  case "downloadfile":
3601
- const s = document.createElement("a");
3602
- s.href = window.location.origin + e.url, s.setAttribute("download", e.filename), s.click();
3665
+ const o = document.createElement("a");
3666
+ o.href = window.location.origin + e.url, o.setAttribute("download", e.filename), o.click();
3603
3667
  break;
3604
3668
  }
3605
3669
  }
@@ -3685,23 +3749,23 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3685
3749
  }
3686
3750
  },
3687
3751
  async fileDialogCallback(t) {
3688
- let e = "Cancel", n = [];
3689
- t != "Cancel" && (e = [], t.forEach((a) => {
3690
- e.push(a.name), n.push(
3752
+ let e = "Cancel", s = [];
3753
+ t != "Cancel" && (e = [], t.forEach((r) => {
3754
+ e.push(r.name), s.push(
3691
3755
  O.get(
3692
3756
  `/openc3-api/storage/upload/${encodeURIComponent(
3693
- `${window.openc3Scope}/tmp/${a.name}`
3757
+ `${window.openc3Scope}/tmp/${r.name}`
3694
3758
  )}?bucket=OPENC3_CONFIG_BUCKET`
3695
3759
  ).then((i) => {
3696
- n.push(
3760
+ s.push(
3697
3761
  ft({
3698
3762
  ...i.data,
3699
- data: a
3763
+ data: r
3700
3764
  })
3701
3765
  );
3702
3766
  })
3703
3767
  );
3704
- })), Promise.all(n).then((a) => {
3768
+ })), Promise.all(s).then((r) => {
3705
3769
  O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
3706
3770
  data: {
3707
3771
  method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
@@ -3718,7 +3782,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause",
3718
3782
  },
3719
3783
  // ScriptRunner File menu actions
3720
3784
  newFile() {
3721
- this.unlockFile(), this.filename = G, this.currentFilename = null, this.tempFilename = null, this.files = {}, this.editor.session.setValue(""), this.saveAllowed = !0, this.fileModified = "", this.suiteRunner = !1, this.startOrGoDisabled = !1, this.envDisabled = !1, this.inline || (this.$router.replace({
3785
+ this.unlockFile(), this.filename = q, this.currentFilename = null, this.tempFilename = null, this.files = {}, this.editor.session.setValue(""), this.saveAllowed = !0, this.fileModified = "", this.suiteRunner = !1, this.startOrGoDisabled = !1, this.envDisabled = !1, this.inline || (this.$router.replace({
3722
3786
  name: "ScriptRunner"
3723
3787
  }).catch((t) => {
3724
3788
  }), document.title = "Script Runner"), this.doResize();
@@ -3808,12 +3872,12 @@ class TestSuite(Suite):
3808
3872
  `), await this.saveFile("auto");
3809
3873
  },
3810
3874
  addToRecent(t) {
3811
- let e = this.recent.findIndex((n) => n.label === t);
3875
+ let e = this.recent.findIndex((s) => s.label === t);
3812
3876
  e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
3813
3877
  label: t,
3814
- icon: vt(t),
3815
- command: async (n) => {
3816
- this.filename = n.label, await this.reloadFile();
3878
+ icon: bt(t),
3879
+ command: async (s) => {
3880
+ this.filename = s.label, await this.reloadFile();
3817
3881
  }
3818
3882
  }), this.recent.length > 8 && this.recent.pop(), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
3819
3883
  },
@@ -3830,13 +3894,13 @@ class TestSuite(Suite):
3830
3894
  "Ignore-Errors": "404"
3831
3895
  }
3832
3896
  }).then((e) => {
3833
- const n = {
3897
+ const s = {
3834
3898
  name: this.filename,
3835
3899
  contents: e.data.contents
3836
3900
  };
3837
- e.data.suites && (n.suites = JSON.parse(e.data.suites)), e.data.error && (n.error = e.data.error), e.data.success && (n.success = e.data.success);
3838
- const a = e.data.locked, i = e.data.breakpoints;
3839
- this.setFile({ file: n, locked: a, breakpoints: i }, !0), this.saveAllowed = !0;
3901
+ e.data.suites && (s.suites = JSON.parse(e.data.suites)), e.data.error && (s.error = e.data.error), e.data.success && (s.success = e.data.success);
3902
+ const r = e.data.locked, i = e.data.breakpoints;
3903
+ this.setFile({ file: s, locked: r, breakpoints: i }, !0), this.saveAllowed = !0;
3840
3904
  }).catch((e) => {
3841
3905
  t === !0 && this.$notify.caution({
3842
3906
  title: "File Open Error",
@@ -3845,10 +3909,10 @@ class TestSuite(Suite):
3845
3909
  });
3846
3910
  },
3847
3911
  // Called by the FileOpenDialog to set the file contents
3848
- setFile({ file: t, locked: e, breakpoints: n }, a = !1) {
3912
+ setFile({ file: t, locked: e, breakpoints: s }, r = !1) {
3849
3913
  this.files = {};
3850
3914
  let i = t.name.split("*")[0];
3851
- if (a === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
3915
+ if (r === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
3852
3916
  this.$router.replace({
3853
3917
  name: "ScriptRunner",
3854
3918
  query: {
@@ -3856,10 +3920,10 @@ class TestSuite(Suite):
3856
3920
  }
3857
3921
  }).catch((d) => {
3858
3922
  });
3859
- let s = this.filename.split("/");
3860
- document.title = `${s.pop()} (${s.join("/")})`;
3923
+ let o = this.filename.split("/");
3924
+ document.title = `${o.pop()} (${o.join("/")})`;
3861
3925
  }
3862
- this.filename.split(".").pop() === "py" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), this.currentFilename = null, this.editor.session.setValue(t.contents), this.breakpoints[this.filename] = n, this.restoreBreakpoints(this.filename), this.fileModified = "", this.envDisabled = !1, this.addToRecent(this.filename), t.suites ? (this.suiteRunner = !0, this.suiteMap = t.suites, this.startOrGoDisabled = !0) : (this.suiteRunner = !1, this.startOrGoDisabled = !1), t.error && (this.suiteError = t.error, this.showSuiteError = !0), this.disableSuiteButtons = t.success == !1, this.doResize();
3926
+ this.filename.split(".").pop() === "py" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), this.currentFilename = null, this.editor.session.setValue(t.contents), this.breakpoints[this.filename] = s, this.restoreBreakpoints(this.filename), this.fileModified = "", this.envDisabled = !1, this.addToRecent(this.filename), t.suites ? (this.suiteRunner = !0, this.suiteMap = t.suites, this.startOrGoDisabled = !0) : (this.suiteRunner = !1, this.startOrGoDisabled = !1), t.error && (this.suiteError = t.error, this.showSuiteError = !0), this.disableSuiteButtons = t.success == !1, this.doResize();
3863
3927
  },
3864
3928
  clearTemp() {
3865
3929
  this.recent = this.recent.filter(
@@ -3867,19 +3931,21 @@ class TestSuite(Suite):
3867
3931
  ), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
3868
3932
  },
3869
3933
  detectLanguage() {
3870
- let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), n = new RegExp("^\\s*end\\s*$"), a = new RegExp(
3934
+ let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), s = new RegExp("^\\s*end\\s*$"), r = new RegExp(
3871
3935
  "^\\s*(if|def|while|else|elif|class).*:\\s*$"
3872
- ), i = new RegExp('\\(f"'), d = this.editor.getValue().split(`
3936
+ ), i = /\(f"/, o = /\(.*\w+:\s+.+\)(?!:)$/, h = this.editor.getValue().split(`
3873
3937
  `);
3874
- for (let m of d) {
3875
- if (m.match(t))
3938
+ for (let c of h) {
3939
+ if (c.match(t))
3876
3940
  return "ruby";
3877
- if (m.match(e))
3941
+ if (c.match(e))
3878
3942
  return "python";
3879
- if (m.match(n))
3943
+ if (c.match(s))
3880
3944
  return "ruby";
3881
- if (m.match(a) || m.match(i))
3945
+ if (c.match(r) || c.match(i))
3882
3946
  return "python";
3947
+ if (c.match(o))
3948
+ return "ruby";
3883
3949
  }
3884
3950
  return "unknown";
3885
3951
  },
@@ -3889,16 +3955,16 @@ class TestSuite(Suite):
3889
3955
  if (!this.readOnlyUser)
3890
3956
  if (this.saveAllowed) {
3891
3957
  const e = this.getBreakpointRows();
3892
- if (this.filename === G) {
3958
+ if (this.filename === q) {
3893
3959
  if (t === "menu") {
3894
3960
  this.saveAs();
3895
3961
  return;
3896
3962
  } else if (this.tempFilename === null) {
3897
- let n = this.detectLanguage();
3898
- if (n === "ruby" || t !== "auto" && n == "unknown")
3899
- this.tempFilename = Ye + "/" + xe(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.rb";
3900
- else if (n === "python")
3901
- this.tempFilename = Ye + "/" + xe(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.py";
3963
+ let s = this.detectLanguage();
3964
+ if (s === "unknown" && (s = Ce.getDefaultScriptingLanguage()), s === "ruby")
3965
+ this.tempFilename = Ze + "/" + Re(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.rb";
3966
+ else if (s === "python")
3967
+ this.tempFilename = Ze + "/" + Re(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.py";
3902
3968
  else
3903
3969
  return;
3904
3970
  this.filename = this.tempFilename, this.addToRecent(this.filename);
@@ -3910,12 +3976,12 @@ class TestSuite(Suite):
3910
3976
  // Pass in the raw file text
3911
3977
  breakpoints: e
3912
3978
  }
3913
- }).then((n) => {
3914
- n.status == 200 ? (n.data.suites ? (this.startOrGoDisabled = !0, this.suiteRunner = !0, this.suiteMap = JSON.parse(n.data.suites)) : (this.startOrGoDisabled = !1, this.suiteRunner = !1, this.suiteMap = {}), n.data.error && (this.suiteError = n.data.error, this.showSuiteError = !0), this.fileModified = "", setTimeout(() => {
3979
+ }).then((s) => {
3980
+ s.status == 200 ? (s.data.suites ? (this.startOrGoDisabled = !0, this.suiteRunner = !0, this.suiteMap = JSON.parse(s.data.suites)) : (this.startOrGoDisabled = !1, this.suiteRunner = !1, this.suiteMap = {}), s.data.error && (this.suiteError = s.data.error, this.showSuiteError = !0), this.fileModified = "", setTimeout(() => {
3915
3981
  this.showSave = !1;
3916
- }, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${n.status} Text: ${n.statusText}`, this.showAlert = !0), this.lockFile(), this.doResize();
3917
- }).catch(({ response: n }) => {
3918
- this.showSave = !1, n.status == 422 ? (this.alertType = "error", this.alertText = n.data.suites) : (this.alertType = "error", this.alertText = `Error saving file. Code: ${n.status} Text: ${n.statusText}`), this.showAlert = !0;
3982
+ }, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${s.status} Text: ${s.statusText}`, this.showAlert = !0), this.lockFile(), this.doResize();
3983
+ }).catch(({ response: s }) => {
3984
+ this.showSave = !1, s.status == 422 ? (this.alertType = "error", this.alertText = s.data.suites) : (this.alertType = "error", this.alertText = `Error saving file. Code: ${s.status} Text: ${s.statusText}`), this.showAlert = !0;
3919
3985
  });
3920
3986
  } else
3921
3987
  this.setError("Attempt to save file when not allowed");
@@ -3937,11 +4003,11 @@ class TestSuite(Suite):
3937
4003
  this.removeFromRecent(t), this.newFile();
3938
4004
  }).catch((e) => {
3939
4005
  if (e !== !0) {
3940
- const n = {
4006
+ const s = {
3941
4007
  text: `Failed Multi-Delete. ${e}`,
3942
4008
  type: "error"
3943
4009
  };
3944
- this.$emit("alert", n);
4010
+ this.$emit("alert", s);
3945
4011
  }
3946
4012
  });
3947
4013
  },
@@ -4010,7 +4076,7 @@ class TestSuite(Suite):
4010
4076
  return O.post(`/script-api/scripts/${this.filename}/lock`);
4011
4077
  },
4012
4078
  unlockFile: function() {
4013
- this.filename !== G && !this.readOnly && !this.readOnlyUser && O.post(`/script-api/scripts/${this.filename}/unlock`);
4079
+ this.filename !== q && !this.readOnly && !this.readOnlyUser && O.post(`/script-api/scripts/${this.filename}/unlock`);
4014
4080
  },
4015
4081
  backToNewScript: async function() {
4016
4082
  this.scriptDisconnect(), this.removeAllMarkers(), await this.scriptComplete(), this.newFile();
@@ -4029,185 +4095,191 @@ class TestSuite(Suite):
4029
4095
  }
4030
4096
  }
4031
4097
  }
4032
- }, zi = { class: "grid" }, Ai = ["id"], Fi = { class: "item-content" }, Bi = { id: "sr-controls" }, Li = { class: "d-flex align-center mr-1" }, Ni = { key: 0 }, Hi = { key: 1 }, Gi = {
4098
+ }, Li = { class: "grid" }, Ai = ["id"], Fi = { class: "item-content" }, Bi = { id: "sr-controls" }, Ni = { class: "d-flex align-center mr-1" }, Hi = { key: 0 }, Gi = { key: 1 }, qi = {
4033
4099
  key: 2,
4034
4100
  style: { width: "40px", height: "40px" },
4035
4101
  class: "mx-2"
4036
- }, qi = { key: 3 }, ji = { key: 4 }, Ki = {
4102
+ }, ji = { key: 3 }, Ki = { key: 4 }, Wi = {
4037
4103
  key: 0,
4038
4104
  id: "debug",
4039
4105
  class: "pa-0"
4040
- }, Wi = { key: 1 }, Ji = { key: 0 }, Yi = { key: 1 };
4041
- function Zi(t, e, n, a, i, s) {
4042
- const d = u("top-bar"), m = u("v-icon"), p = u("v-btn"), v = u("v-snackbar"), w = u("openc3-screen"), x = u("suite-runner"), b = u("v-tooltip"), R = u("v-select"), C = u("v-text-field"), E = u("v-progress-circular"), _ = u("v-spacer"), U = u("v-badge"), N = u("v-row"), Q = u("v-card-text"), re = u("v-card"), K = u("v-list-item"), ae = u("v-divider"), M = u("v-list"), F = u("v-menu"), ue = u("pane"), Y = u("script-log-messages"), Oe = u("splitpanes"), be = u("v-col"), we = u("file-open-save-dialog"), ye = u("environment-dialog"), Ee = u("ask-dialog"), $ = u("file-dialog"), Me = u("information-dialog"), Te = u("event-list-dialog"), Ie = u("overrides-dialog"), de = u("prompt-dialog"), De = u("results-dialog"), Ue = u("script-environment-dialog"), Pe = u("simple-text-dialog"), ce = u("critical-cmd-dialog"), L = u("running-scripts"), ze = u("v-sheet"), c = u("v-bottom-sheet");
4043
- return y(), P(oe, null, [
4044
- n.inline ? D("", !0) : (y(), P(oe, { key: 0 }, [
4045
- o(d, {
4046
- menus: s.menus,
4106
+ }, Ji = {
4107
+ key: 1,
4108
+ style: { "background-color": "var(--color-background-base-default)", margin: "0px", padding: "0px" }
4109
+ }, Yi = { key: 0 }, Zi = { key: 1 }, Xi = { style: { height: "200px", overflow: "hidden" } }, Qi = {
4110
+ key: 0,
4111
+ class: "error-message"
4112
+ }, $i = { class: "flex-grow-1" };
4113
+ function es(t, e, s, r, i, o) {
4114
+ const d = a("top-bar"), h = a("v-icon"), c = a("v-btn"), b = a("v-snackbar"), k = a("openc3-screen"), V = a("suite-runner"), w = a("v-tooltip"), R = a("v-select"), E = a("v-text-field"), T = a("v-progress-circular"), _ = a("v-spacer"), z = a("v-badge"), G = a("v-row"), Q = a("v-card-text"), te = a("v-card"), K = a("v-list-item"), ie = a("v-divider"), I = a("v-list"), F = a("v-menu"), ce = a("pane"), Z = a("script-log-messages"), Ie = a("splitpanes"), ke = a("v-tab"), De = a("v-tabs"), me = a("v-col"), Se = a("v-tabs-window-item"), se = a("v-tabs-window"), xe = a("file-open-save-dialog"), Ue = a("environment-dialog"), Pe = a("ask-dialog"), pe = a("file-dialog"), ze = a("information-dialog"), Le = a("event-list-dialog"), Ae = a("overrides-dialog"), he = a("prompt-dialog"), N = a("results-dialog"), Fe = a("script-environment-dialog"), u = a("simple-text-dialog"), p = a("critical-cmd-dialog"), v = a("v-card-title"), f = a("command-editor"), g = a("v-card-actions"), C = a("v-dialog"), M = a("running-scripts"), A = a("v-sheet"), H = a("v-bottom-sheet");
4115
+ return S(), P(de, null, [
4116
+ s.inline ? U("", !0) : (S(), P(de, { key: 0 }, [
4117
+ n(d, {
4118
+ menus: o.menus,
4047
4119
  title: i.title
4048
4120
  }, null, 8, ["menus", "title"]),
4049
- o(v, {
4121
+ n(b, {
4050
4122
  modelValue: i.showAlert,
4051
- "onUpdate:modelValue": e[1] || (e[1] = (r) => i.showAlert = r),
4123
+ "onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
4052
4124
  absolute: "",
4053
4125
  color: i.alertType,
4054
4126
  timeout: 3e3,
4055
4127
  class: "apply-top",
4056
- style: Se(t.classificationStyles)
4128
+ style: Ee(t.classificationStyles)
4057
4129
  }, {
4058
- actions: l(({ attrs: r }) => [
4059
- o(p, J({
4130
+ actions: l(({ attrs: m }) => [
4131
+ n(c, X({
4060
4132
  variant: "text",
4061
4133
  text: "Close"
4062
- }, r, {
4063
- onClick: e[0] || (e[0] = (h) => i.showAlert = !1)
4134
+ }, m, {
4135
+ onClick: e[0] || (e[0] = (J) => i.showAlert = !1)
4064
4136
  }), null, 16)
4065
4137
  ]),
4066
4138
  default: l(() => [
4067
- o(m, null, {
4139
+ n(h, null, {
4068
4140
  default: l(() => [
4069
- k(" mdi-" + z(i.alertType), 1)
4141
+ y(" mdi-" + L(i.alertType), 1)
4070
4142
  ]),
4071
4143
  _: 1
4072
4144
  }),
4073
- k(" " + z(i.alertText) + " ", 1)
4145
+ y(" " + L(i.alertText) + " ", 1)
4074
4146
  ]),
4075
4147
  _: 1
4076
4148
  }, 8, ["modelValue", "color", "style"]),
4077
- o(v, {
4149
+ n(b, {
4078
4150
  modelValue: i.showEditingToast,
4079
- "onUpdate:modelValue": e[3] || (e[3] = (r) => i.showEditingToast = r),
4151
+ "onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
4080
4152
  absolute: "",
4081
4153
  class: "apply-top",
4082
- style: Se(t.classificationStyles),
4154
+ style: Ee(t.classificationStyles),
4083
4155
  timeout: -1,
4084
4156
  color: "orange"
4085
4157
  }, {
4086
- actions: l(({ attrs: r }) => [
4087
- o(p, J({ variant: "text" }, r, {
4158
+ actions: l(({ attrs: m }) => [
4159
+ n(c, X({ variant: "text" }, m, {
4088
4160
  color: "danger",
4089
4161
  text: "Unlock",
4090
4162
  "data-test": "unlock-button",
4091
- onClick: s.confirmLocalUnlock
4163
+ onClick: o.confirmLocalUnlock
4092
4164
  }), null, 16, ["onClick"]),
4093
- o(p, J({
4165
+ n(c, X({
4094
4166
  variant: "text",
4095
4167
  text: "Dismiss"
4096
- }, r, {
4168
+ }, m, {
4097
4169
  onClick: e[2] || (e[2] = () => {
4098
4170
  i.showEditingToast = !1;
4099
4171
  })
4100
4172
  }), null, 16)
4101
4173
  ]),
4102
4174
  default: l(() => [
4103
- o(m, null, {
4104
- default: l(() => [...e[36] || (e[36] = [
4105
- k(" mdi-pencil-off ", -1)
4175
+ n(h, null, {
4176
+ default: l(() => [...e[43] || (e[43] = [
4177
+ y(" mdi-pencil-off ", -1)
4106
4178
  ])]),
4107
4179
  _: 1
4108
4180
  }),
4109
- k(" " + z(i.lockedBy) + " is editing this script. Editor is in read-only mode ", 1)
4181
+ y(" " + L(i.lockedBy) + " is editing this script. Editor is in read-only mode ", 1)
4110
4182
  ]),
4111
4183
  _: 1
4112
4184
  }, 8, ["modelValue", "style"]),
4113
- S("div", zi, [
4114
- (y(!0), P(oe, null, Ne(i.screens, (r) => (y(), P("div", {
4115
- id: s.screenId(r.id),
4116
- key: r.id,
4185
+ x("div", Li, [
4186
+ (S(!0), P(de, null, qe(i.screens, (m) => (S(), P("div", {
4187
+ id: o.screenId(m.id),
4188
+ key: m.id,
4117
4189
  ref_for: !0,
4118
4190
  ref: "gridItem",
4119
4191
  class: "item"
4120
4192
  }, [
4121
- S("div", Fi, [
4122
- o(w, {
4123
- target: r.target,
4124
- screen: r.screen,
4125
- definition: r.definition,
4193
+ x("div", Fi, [
4194
+ n(k, {
4195
+ target: m.target,
4196
+ screen: m.screen,
4197
+ definition: m.definition,
4126
4198
  keywords: i.screenKeywords,
4127
4199
  "initial-floated": !0,
4128
- "initial-top": r.top,
4129
- "initial-left": r.left,
4200
+ "initial-top": m.top,
4201
+ "initial-left": m.left,
4130
4202
  "initial-z": 3,
4131
4203
  "min-z": 3,
4132
4204
  "fix-floated": !0,
4133
- count: r.count,
4134
- onCloseScreen: (h) => s.closeScreen(r.id),
4135
- onDeleteScreen: (h) => s.closeScreen(r.id)
4205
+ count: m.count,
4206
+ onCloseScreen: (J) => o.closeScreen(m.id),
4207
+ onDeleteScreen: (J) => o.closeScreen(m.id)
4136
4208
  }, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
4137
4209
  ])
4138
4210
  ], 8, Ai))), 128))
4139
4211
  ]),
4140
- o(re, null, {
4212
+ n(te, null, {
4141
4213
  default: l(() => [
4142
- o(Q, null, {
4214
+ n(Q, null, {
4143
4215
  default: l(() => [
4144
- i.suiteRunner ? (y(), T(x, {
4216
+ i.suiteRunner ? (S(), D(V, {
4145
4217
  key: 0,
4146
4218
  class: "suite-runner",
4147
4219
  "suite-map": i.suiteMap,
4148
4220
  "disable-buttons": i.disableSuiteButtons,
4149
- filename: s.fullFilename,
4150
- onButton: s.suiteRunnerButton,
4151
- onLoaded: s.doResize
4152
- }, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : D("", !0),
4153
- S("div", Bi, [
4154
- o(N, {
4221
+ filename: o.fullFilename,
4222
+ onButton: o.suiteRunnerButton,
4223
+ onLoaded: o.doResize
4224
+ }, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : U("", !0),
4225
+ x("div", Bi, [
4226
+ n(G, {
4155
4227
  "no-gutters": "",
4156
4228
  justify: "space-between"
4157
4229
  }, {
4158
4230
  default: l(() => [
4159
- i.showDisconnect ? (y(), T(m, {
4231
+ i.showDisconnect ? (S(), D(h, {
4160
4232
  key: 0,
4161
4233
  class: "mt-2",
4162
4234
  color: "red"
4163
4235
  }, {
4164
- default: l(() => [...e[37] || (e[37] = [
4165
- k(" mdi-connection ", -1)
4236
+ default: l(() => [...e[44] || (e[44] = [
4237
+ y(" mdi-connection ", -1)
4166
4238
  ])]),
4167
4239
  _: 1
4168
- })) : D("", !0),
4169
- S("div", Li, [
4170
- o(b, {
4240
+ })) : U("", !0),
4241
+ x("div", Ni, [
4242
+ n(w, {
4171
4243
  "open-delay": 600,
4172
4244
  location: "top"
4173
4245
  }, {
4174
- activator: l(({ props: r }) => [
4175
- i.scriptId ? (y(), T(p, J({ key: 1 }, r, {
4246
+ activator: l(({ props: m }) => [
4247
+ i.scriptId ? (S(), D(c, X({ key: 1 }, m, {
4176
4248
  icon: "mdi-arrow-left",
4177
4249
  variant: "text",
4178
4250
  density: "compact",
4179
- onClick: s.backToNewScript
4180
- }), null, 16, ["onClick"])) : (y(), T(p, J({ key: 0 }, r, {
4251
+ onClick: o.backToNewScript
4252
+ }), null, 16, ["onClick"])) : (S(), D(c, X({ key: 0 }, m, {
4181
4253
  icon: "mdi-cached",
4182
4254
  variant: "text",
4183
4255
  density: "compact",
4184
4256
  disabled: i.filename === t.NEW_FILENAME,
4185
4257
  "aria-label": "Reload File",
4186
- onClick: s.reloadFile
4258
+ onClick: o.reloadFile
4187
4259
  }), null, 16, ["disabled", "onClick"]))
4188
4260
  ]),
4189
4261
  default: l(() => [
4190
- i.scriptId ? (y(), P("span", Hi, " Back to New Script ")) : (y(), P("span", Ni, " Reload File "))
4262
+ i.scriptId ? (S(), P("span", Gi, " Back to New Script ")) : (S(), P("span", Hi, " Reload File "))
4191
4263
  ]),
4192
4264
  _: 1
4193
4265
  })
4194
4266
  ]),
4195
- o(b, {
4267
+ n(w, {
4196
4268
  location: "bottom",
4197
4269
  text: i.filenameSelect,
4198
4270
  disabled: !i.filenameSelect || i.filenameSelect.length <= 45
4199
4271
  }, {
4200
- activator: l(({ props: r }) => [
4201
- S("div", J(r, { style: { width: "32rem" } }), [
4202
- o(R, {
4272
+ activator: l(({ props: m }) => [
4273
+ x("div", X(m, { style: { width: "32rem" } }), [
4274
+ n(R, {
4203
4275
  id: "filename",
4204
4276
  modelValue: i.filenameSelect,
4205
4277
  "onUpdate:modelValue": [
4206
- e[4] || (e[4] = (h) => i.filenameSelect = h),
4207
- s.fileNameChanged
4278
+ e[4] || (e[4] = (J) => i.filenameSelect = J),
4279
+ o.fileNameChanged
4208
4280
  ],
4209
- items: s.fileList,
4210
- disabled: s.fileList.length <= 1,
4281
+ items: o.fileList,
4282
+ disabled: o.fileList.length <= 1,
4211
4283
  label: "Filename",
4212
4284
  "data-test": "filename",
4213
4285
  density: "compact",
@@ -4218,9 +4290,9 @@ function Zi(t, e, n, a, i, s) {
4218
4290
  ]),
4219
4291
  _: 1
4220
4292
  }, 8, ["text", "disabled"]),
4221
- o(C, {
4293
+ n(E, {
4222
4294
  modelValue: i.scriptId,
4223
- "onUpdate:modelValue": e[5] || (e[5] = (r) => i.scriptId = r),
4295
+ "onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
4224
4296
  label: "Script ID",
4225
4297
  "data-test": "id",
4226
4298
  class: "shrink ml-2 script-state",
@@ -4230,9 +4302,9 @@ function Zi(t, e, n, a, i, s) {
4230
4302
  readonly: "",
4231
4303
  "hide-details": ""
4232
4304
  }, null, 8, ["modelValue"]),
4233
- o(C, {
4234
- modelValue: s.stateTimer,
4235
- "onUpdate:modelValue": e[6] || (e[6] = (r) => s.stateTimer = r),
4305
+ n(E, {
4306
+ modelValue: o.stateTimer,
4307
+ "onUpdate:modelValue": e[6] || (e[6] = (m) => o.stateTimer = m),
4236
4308
  label: "Script State",
4237
4309
  "data-test": "state",
4238
4310
  class: "shrink ml-2 script-state",
@@ -4242,21 +4314,21 @@ function Zi(t, e, n, a, i, s) {
4242
4314
  readonly: "",
4243
4315
  "hide-details": ""
4244
4316
  }, null, 8, ["modelValue"]),
4245
- i.state === "Connecting..." ? (y(), T(E, {
4317
+ i.state === "Connecting..." ? (S(), D(T, {
4246
4318
  key: 1,
4247
4319
  size: 40,
4248
4320
  class: "mx-2",
4249
4321
  indeterminate: "",
4250
4322
  color: "primary"
4251
- })) : (y(), P("div", Gi)),
4252
- o(_),
4253
- i.startOrGoButton === "Start" ? (y(), P("div", qi, [
4254
- o(b, {
4323
+ })) : (S(), P("div", qi)),
4324
+ n(_),
4325
+ i.startOrGoButton === "Start" ? (S(), P("div", ji, [
4326
+ n(w, {
4255
4327
  "open-delay": 600,
4256
4328
  location: "top"
4257
4329
  }, {
4258
- activator: l(({ props: r }) => [
4259
- o(p, J(r, {
4330
+ activator: l(({ props: m }) => [
4331
+ n(c, X(m, {
4260
4332
  class: "mr-2",
4261
4333
  icon: "",
4262
4334
  variant: "text",
@@ -4264,17 +4336,17 @@ function Zi(t, e, n, a, i, s) {
4264
4336
  disabled: i.envDisabled,
4265
4337
  "data-test": "env-button",
4266
4338
  "aria-label": "Script Environment",
4267
- onClick: e[8] || (e[8] = (h) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
4339
+ onClick: e[8] || (e[8] = (J) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
4268
4340
  }), {
4269
4341
  default: l(() => [
4270
- o(U, {
4271
- modelValue: s.environmentModified,
4272
- "onUpdate:modelValue": e[7] || (e[7] = (h) => s.environmentModified = h),
4342
+ n(z, {
4343
+ modelValue: o.environmentModified,
4344
+ "onUpdate:modelValue": e[7] || (e[7] = (J) => o.environmentModified = J),
4273
4345
  floating: "",
4274
4346
  dot: ""
4275
4347
  }, {
4276
4348
  default: l(() => [
4277
- o(m, { icon: "mdi-application-variable" })
4349
+ n(h, { icon: "mdi-application-variable" })
4278
4350
  ]),
4279
4351
  _: 1
4280
4352
  }, 8, ["modelValue"])
@@ -4283,47 +4355,47 @@ function Zi(t, e, n, a, i, s) {
4283
4355
  }, 16, ["disabled"])
4284
4356
  ]),
4285
4357
  default: l(() => [
4286
- S("span", null, [
4287
- e[38] || (e[38] = k(" Script Environment ", -1)),
4288
- s.environmentModified ? (y(), P(oe, { key: 0 }, [
4289
- k(" (modified) ")
4290
- ], 64)) : D("", !0)
4358
+ x("span", null, [
4359
+ e[45] || (e[45] = y(" Script Environment ", -1)),
4360
+ o.environmentModified ? (S(), P(de, { key: 0 }, [
4361
+ y(" (modified) ")
4362
+ ], 64)) : U("", !0)
4291
4363
  ])
4292
4364
  ]),
4293
4365
  _: 1
4294
4366
  }),
4295
- o(p, {
4367
+ n(c, {
4296
4368
  class: "mx-1",
4297
4369
  color: "primary",
4298
4370
  text: "Start",
4299
4371
  "data-test": "start-button",
4300
4372
  disabled: i.startOrGoDisabled || !i.executeUser,
4301
4373
  hidden: i.suiteRunner,
4302
- onClick: s.startHandler
4374
+ onClick: o.startHandler
4303
4375
  }, null, 8, ["disabled", "hidden", "onClick"])
4304
- ])) : (y(), P("div", ji, [
4305
- o(p, {
4376
+ ])) : (S(), P("div", Ki, [
4377
+ n(c, {
4306
4378
  color: "primary",
4307
4379
  class: "mr-2",
4308
4380
  text: "Go",
4309
4381
  disabled: i.startOrGoDisabled,
4310
4382
  "data-test": "go-button",
4311
- onClick: s.go
4383
+ onClick: o.go
4312
4384
  }, null, 8, ["disabled", "onClick"]),
4313
- o(p, {
4385
+ n(c, {
4314
4386
  color: "primary",
4315
4387
  class: "mr-2",
4316
4388
  text: i.pauseOrRetryButton,
4317
4389
  disabled: i.pauseOrRetryDisabled,
4318
4390
  "data-test": "pause-retry-button",
4319
- onClick: s.pauseOrRetry
4391
+ onClick: o.pauseOrRetry
4320
4392
  }, null, 8, ["text", "disabled", "onClick"]),
4321
- o(p, {
4393
+ n(c, {
4322
4394
  color: "primary",
4323
4395
  text: "Stop",
4324
4396
  "data-test": "stop-button",
4325
4397
  disabled: i.stopDisabled,
4326
- onClick: s.stop
4398
+ onClick: o.stop
4327
4399
  }, null, 8, ["disabled", "onClick"])
4328
4400
  ]))
4329
4401
  ]),
@@ -4336,68 +4408,73 @@ function Zi(t, e, n, a, i, s) {
4336
4408
  ]),
4337
4409
  _: 1
4338
4410
  }),
4339
- o(Oe, {
4411
+ n(Ie, {
4340
4412
  horizontal: "",
4341
4413
  style: { height: "100%" },
4342
- onResize: s.calcHeight
4414
+ onResize: o.calcHeight
4343
4415
  }, {
4344
4416
  default: l(() => [
4345
- o(ue, {
4417
+ n(ce, {
4346
4418
  class: "editorbox",
4347
4419
  size: "50"
4348
4420
  }, {
4349
4421
  default: l(() => [
4350
- o(v, {
4422
+ n(b, {
4351
4423
  modelValue: i.showSave,
4352
- "onUpdate:modelValue": e[9] || (e[9] = (r) => i.showSave = r),
4424
+ "onUpdate:modelValue": e[9] || (e[9] = (m) => i.showSave = m),
4353
4425
  absolute: "",
4354
4426
  location: "right",
4355
4427
  timeout: -1,
4356
4428
  class: "saving apply-top",
4357
- style: Se(t.classificationStyles)
4429
+ style: Ee(t.classificationStyles)
4358
4430
  }, {
4359
- default: l(() => [...e[39] || (e[39] = [
4360
- k(" Saving... ", -1)
4431
+ default: l(() => [...e[46] || (e[46] = [
4432
+ y(" Saving... ", -1)
4361
4433
  ])]),
4362
4434
  _: 1
4363
4435
  }, 8, ["modelValue", "style"]),
4364
- S("pre", {
4436
+ x("pre", {
4365
4437
  ref: "editor",
4366
4438
  class: "editor",
4367
- onContextmenu: e[10] || (e[10] = le((...r) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...r), ["prevent"]))
4439
+ onContextmenu: e[10] || (e[10] = ue((...m) => o.showExecuteSelectionMenu && o.showExecuteSelectionMenu(...m), ["prevent"]))
4368
4440
  }, null, 544),
4369
- o(F, {
4441
+ n(F, {
4370
4442
  modelValue: i.executeSelectionMenu,
4371
- "onUpdate:modelValue": e[11] || (e[11] = (r) => i.executeSelectionMenu = r),
4443
+ "onUpdate:modelValue": e[11] || (e[11] = (m) => i.executeSelectionMenu = m),
4372
4444
  target: [i.menuX, i.menuY]
4373
4445
  }, {
4374
4446
  default: l(() => [
4375
- o(M, null, {
4447
+ n(I, null, {
4376
4448
  default: l(() => [
4377
- o(K, {
4449
+ n(K, {
4450
+ title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
4451
+ onClick: o.openCommandEditor
4452
+ }, null, 8, ["title", "onClick"]),
4453
+ n(ie),
4454
+ n(K, {
4378
4455
  title: "Execute Selection",
4379
- onClick: s.executeSelection
4456
+ onClick: o.executeSelection
4380
4457
  }, null, 8, ["onClick"]),
4381
- i.scriptId ? (y(), T(K, {
4458
+ i.scriptId ? (S(), D(K, {
4382
4459
  key: 0,
4383
4460
  title: "Goto Line",
4384
- onClick: s.runFromCursor
4385
- }, null, 8, ["onClick"])) : D("", !0),
4386
- i.scriptId ? D("", !0) : (y(), T(K, {
4461
+ onClick: o.runFromCursor
4462
+ }, null, 8, ["onClick"])) : U("", !0),
4463
+ i.scriptId ? U("", !0) : (S(), D(K, {
4387
4464
  key: 1,
4388
4465
  title: "Run From Line",
4389
- onClick: s.runFromCursor
4466
+ onClick: o.runFromCursor
4390
4467
  }, null, 8, ["onClick"])),
4391
- i.scriptId ? D("", !0) : (y(), T(K, {
4468
+ i.scriptId ? U("", !0) : (S(), D(K, {
4392
4469
  key: 2,
4393
4470
  title: "Clear Local Breakpoints",
4394
- onClick: s.clearBreakpoints
4471
+ onClick: o.clearBreakpoints
4395
4472
  }, null, 8, ["onClick"])),
4396
- o(ae),
4397
- o(K, {
4473
+ n(ie),
4474
+ n(K, {
4398
4475
  title: "Toggle Vim mode",
4399
4476
  "prepend-icon": "extras:vim",
4400
- onClick: s.toggleVimMode
4477
+ onClick: o.toggleVimMode
4401
4478
  }, null, 8, ["onClick"])
4402
4479
  ]),
4403
4480
  _: 1
@@ -4408,16 +4485,16 @@ function Zi(t, e, n, a, i, s) {
4408
4485
  ]),
4409
4486
  _: 1
4410
4487
  }),
4411
- o(ue, {
4488
+ n(ce, {
4412
4489
  id: "messages",
4413
4490
  ref: "messagesDiv",
4414
4491
  class: "mt-2"
4415
4492
  }, {
4416
4493
  default: l(() => [
4417
- i.showDebug ? (y(), P("div", Ki, [
4418
- o(N, { "no-gutters": "" }, {
4494
+ i.showDebug ? (S(), P("div", Wi, [
4495
+ n(G, { "no-gutters": "" }, {
4419
4496
  default: l(() => [
4420
- o(p, {
4497
+ n(c, {
4421
4498
  color: "primary",
4422
4499
  style: { width: "100px" },
4423
4500
  class: "mr-4",
@@ -4425,29 +4502,29 @@ function Zi(t, e, n, a, i, s) {
4425
4502
  "append-icon": "mdi-step-forward",
4426
4503
  disabled: !i.scriptId,
4427
4504
  "data-test": "step-button",
4428
- onClick: s.step
4505
+ onClick: o.step
4429
4506
  }, null, 8, ["disabled", "onClick"]),
4430
- o(C, {
4507
+ n(E, {
4431
4508
  ref: "debug",
4432
4509
  modelValue: i.debug,
4433
- "onUpdate:modelValue": e[12] || (e[12] = (r) => i.debug = r),
4510
+ "onUpdate:modelValue": e[12] || (e[12] = (m) => i.debug = m),
4434
4511
  class: "mb-2",
4435
4512
  variant: "outlined",
4436
4513
  density: "compact",
4437
4514
  "hide-details": "",
4438
4515
  label: "Debug",
4439
4516
  "data-test": "debug-text",
4440
- onKeydown: s.debugKeydown
4517
+ onKeydown: o.debugKeydown
4441
4518
  }, null, 8, ["modelValue", "onKeydown"])
4442
4519
  ]),
4443
4520
  _: 1
4444
4521
  })
4445
- ])) : D("", !0),
4446
- o(Y, {
4522
+ ])) : U("", !0),
4523
+ n(Z, {
4447
4524
  id: "log-messages",
4448
4525
  modelValue: i.messages,
4449
- "onUpdate:modelValue": e[13] || (e[13] = (r) => i.messages = r),
4450
- onSort: s.messageSortOrder
4526
+ "onUpdate:modelValue": e[13] || (e[13] = (m) => i.messages = m),
4527
+ onSort: o.messageSortOrder
4451
4528
  }, null, 8, ["modelValue", "onSort"])
4452
4529
  ]),
4453
4530
  _: 1
@@ -4456,144 +4533,189 @@ function Zi(t, e, n, a, i, s) {
4456
4533
  _: 1
4457
4534
  }, 8, ["onResize"])
4458
4535
  ], 64)),
4459
- n.inline ? (y(), P("div", Wi, [
4460
- o(N, null, {
4536
+ s.inline ? (S(), P("div", Ji, [
4537
+ n(De, {
4538
+ modelValue: i.inlineTab,
4539
+ "onUpdate:modelValue": e[14] || (e[14] = (m) => i.inlineTab = m),
4540
+ density: "compact"
4541
+ }, {
4461
4542
  default: l(() => [
4462
- o(be, {
4463
- class: "v-col-10",
4464
- style: { margin: "0px", padding: "0px" }
4465
- }, {
4543
+ n(ke, {
4544
+ value: "script",
4545
+ text: "Script",
4546
+ "data-test": "script-tab"
4547
+ }),
4548
+ n(ke, {
4549
+ value: "messages",
4550
+ text: "Messages",
4551
+ "data-test": "messages-tab"
4552
+ })
4553
+ ]),
4554
+ _: 1
4555
+ }, 8, ["modelValue"]),
4556
+ n(se, {
4557
+ modelValue: i.inlineTab,
4558
+ "onUpdate:modelValue": e[17] || (e[17] = (m) => i.inlineTab = m)
4559
+ }, {
4560
+ default: l(() => [
4561
+ n(Se, { value: "script" }, {
4466
4562
  default: l(() => [
4467
- S("pre", {
4468
- ref: "editor",
4469
- class: "editor",
4470
- style: { height: "200px" },
4471
- onContextmenu: e[14] || (e[14] = le((...r) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...r), ["prevent"]))
4472
- }, null, 544)
4563
+ n(G, null, {
4564
+ default: l(() => [
4565
+ n(me, {
4566
+ class: "v-col-10",
4567
+ style: { margin: "15px 0px 0px 0px", padding: "0px" }
4568
+ }, {
4569
+ default: l(() => [
4570
+ x("pre", {
4571
+ ref: "editor",
4572
+ class: "editor",
4573
+ style: { height: "200px" },
4574
+ onContextmenu: e[15] || (e[15] = ue((...m) => o.showExecuteSelectionMenu && o.showExecuteSelectionMenu(...m), ["prevent"]))
4575
+ }, null, 544)
4576
+ ]),
4577
+ _: 1
4578
+ }),
4579
+ n(me, {
4580
+ class: "v-col-2",
4581
+ style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
4582
+ }, {
4583
+ default: l(() => [
4584
+ i.startOrGoButton === "Start" ? (S(), P("div", Yi, [
4585
+ n(c, {
4586
+ class: "mx-1",
4587
+ color: "primary",
4588
+ text: "Start",
4589
+ "data-test": "start-button",
4590
+ disabled: i.startOrGoDisabled || !i.executeUser,
4591
+ hidden: i.suiteRunner,
4592
+ onClick: o.startHandler
4593
+ }, null, 8, ["disabled", "hidden", "onClick"])
4594
+ ])) : (S(), P("div", Zi, [
4595
+ n(c, {
4596
+ color: "primary",
4597
+ class: "ma-2",
4598
+ text: "Go",
4599
+ disabled: i.startOrGoDisabled,
4600
+ "data-test": "go-button",
4601
+ onClick: o.go
4602
+ }, null, 8, ["disabled", "onClick"]),
4603
+ n(c, {
4604
+ color: "primary",
4605
+ class: "ma-2",
4606
+ text: i.pauseOrRetryButton,
4607
+ disabled: i.pauseOrRetryDisabled,
4608
+ "data-test": "pause-retry-button",
4609
+ onClick: o.pauseOrRetry
4610
+ }, null, 8, ["text", "disabled", "onClick"]),
4611
+ n(c, {
4612
+ color: "primary",
4613
+ class: "ma-2",
4614
+ text: "Stop",
4615
+ "data-test": "stop-button",
4616
+ disabled: i.stopDisabled,
4617
+ onClick: o.stop
4618
+ }, null, 8, ["disabled", "onClick"])
4619
+ ]))
4620
+ ]),
4621
+ _: 1
4622
+ })
4623
+ ]),
4624
+ _: 1
4625
+ })
4473
4626
  ]),
4474
4627
  _: 1
4475
4628
  }),
4476
- o(be, {
4477
- class: "v-col-2",
4478
- style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
4479
- }, {
4629
+ n(Se, { value: "messages" }, {
4480
4630
  default: l(() => [
4481
- i.startOrGoButton === "Start" ? (y(), P("div", Ji, [
4482
- o(p, {
4483
- class: "mx-1",
4484
- color: "primary",
4485
- text: "Start",
4486
- "data-test": "start-button",
4487
- disabled: i.startOrGoDisabled || !i.executeUser,
4488
- hidden: i.suiteRunner,
4489
- onClick: s.startHandler
4490
- }, null, 8, ["disabled", "hidden", "onClick"])
4491
- ])) : (y(), P("div", Yi, [
4492
- o(p, {
4493
- color: "primary",
4494
- class: "ma-2",
4495
- text: "Go",
4496
- disabled: i.startOrGoDisabled,
4497
- "data-test": "go-button",
4498
- onClick: s.go
4499
- }, null, 8, ["disabled", "onClick"]),
4500
- o(p, {
4501
- color: "primary",
4502
- class: "ma-2",
4503
- text: i.pauseOrRetryButton,
4504
- disabled: i.pauseOrRetryDisabled,
4505
- "data-test": "pause-retry-button",
4506
- onClick: s.pauseOrRetry
4507
- }, null, 8, ["text", "disabled", "onClick"]),
4508
- o(p, {
4509
- color: "primary",
4510
- class: "ma-2",
4511
- text: "Stop",
4512
- "data-test": "stop-button",
4513
- disabled: i.stopDisabled,
4514
- onClick: s.stop
4515
- }, null, 8, ["disabled", "onClick"])
4516
- ]))
4631
+ x("div", Xi, [
4632
+ n(Z, {
4633
+ modelValue: i.messages,
4634
+ "onUpdate:modelValue": e[16] || (e[16] = (m) => i.messages = m),
4635
+ "newest-on-top": i.messagesNewestOnTop,
4636
+ onMessageOrderChanged: t.messageOrderChanged
4637
+ }, null, 8, ["modelValue", "newest-on-top", "onMessageOrderChanged"])
4638
+ ])
4517
4639
  ]),
4518
4640
  _: 1
4519
4641
  })
4520
4642
  ]),
4521
4643
  _: 1
4522
- })
4523
- ])) : D("", !0),
4524
- i.fileOpen ? (y(), T(we, {
4644
+ }, 8, ["modelValue"])
4645
+ ])) : U("", !0),
4646
+ i.fileOpen ? (S(), D(xe, {
4525
4647
  key: 2,
4526
4648
  modelValue: i.fileOpen,
4527
- "onUpdate:modelValue": e[15] || (e[15] = (r) => i.fileOpen = r),
4649
+ "onUpdate:modelValue": e[18] || (e[18] = (m) => i.fileOpen = m),
4528
4650
  type: "open",
4529
4651
  "api-url": "/script-api/scripts",
4530
- onFile: e[16] || (e[16] = (r) => s.setFile(r)),
4531
- onError: e[17] || (e[17] = (r) => s.setError(r)),
4532
- onClearTemp: e[18] || (e[18] = (r) => s.clearTemp(r))
4533
- }, null, 8, ["modelValue"])) : D("", !0),
4534
- i.showSaveAs ? (y(), T(we, {
4652
+ onFile: e[19] || (e[19] = (m) => o.setFile(m)),
4653
+ onError: e[20] || (e[20] = (m) => o.setError(m)),
4654
+ onClearTemp: e[21] || (e[21] = (m) => o.clearTemp(m))
4655
+ }, null, 8, ["modelValue"])) : U("", !0),
4656
+ i.showSaveAs ? (S(), D(xe, {
4535
4657
  key: 3,
4536
4658
  modelValue: i.showSaveAs,
4537
- "onUpdate:modelValue": e[19] || (e[19] = (r) => i.showSaveAs = r),
4659
+ "onUpdate:modelValue": e[22] || (e[22] = (m) => i.showSaveAs = m),
4538
4660
  type: "save",
4539
4661
  "api-url": "/script-api/scripts",
4540
4662
  "require-target-parent-dir": "",
4541
- "input-filename": s.filenameOrBlank,
4542
- onFilename: e[20] || (e[20] = (r) => s.saveAsFilename(r)),
4543
- onError: e[21] || (e[21] = (r) => s.setError(r)),
4544
- onClearTemp: e[22] || (e[22] = (r) => s.clearTemp(r))
4545
- }, null, 8, ["modelValue", "input-filename"])) : D("", !0),
4546
- i.showEnvironment ? (y(), T(ye, {
4663
+ "input-filename": o.filenameOrBlank,
4664
+ onFilename: e[23] || (e[23] = (m) => o.saveAsFilename(m)),
4665
+ onError: e[24] || (e[24] = (m) => o.setError(m)),
4666
+ onClearTemp: e[25] || (e[25] = (m) => o.clearTemp(m))
4667
+ }, null, 8, ["modelValue", "input-filename"])) : U("", !0),
4668
+ i.showEnvironment ? (S(), D(Ue, {
4547
4669
  key: 4,
4548
4670
  modelValue: i.showEnvironment,
4549
- "onUpdate:modelValue": e[23] || (e[23] = (r) => i.showEnvironment = r)
4550
- }, null, 8, ["modelValue"])) : D("", !0),
4551
- i.ask.show ? (y(), T(Ee, {
4671
+ "onUpdate:modelValue": e[26] || (e[26] = (m) => i.showEnvironment = m)
4672
+ }, null, 8, ["modelValue"])) : U("", !0),
4673
+ i.ask.show ? (S(), D(Pe, {
4552
4674
  key: 5,
4553
4675
  modelValue: i.ask.show,
4554
- "onUpdate:modelValue": e[24] || (e[24] = (r) => i.ask.show = r),
4676
+ "onUpdate:modelValue": e[27] || (e[27] = (m) => i.ask.show = m),
4555
4677
  question: i.ask.question,
4556
4678
  default: i.ask.default,
4557
4679
  password: i.ask.password,
4558
4680
  "answer-required": i.ask.answerRequired,
4559
4681
  onResponse: i.ask.callback
4560
- }, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : D("", !0),
4561
- i.file.show ? (y(), T($, {
4682
+ }, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : U("", !0),
4683
+ i.file.show ? (S(), D(pe, {
4562
4684
  key: 6,
4563
4685
  modelValue: i.file.show,
4564
- "onUpdate:modelValue": e[25] || (e[25] = (r) => i.file.show = r),
4686
+ "onUpdate:modelValue": e[28] || (e[28] = (m) => i.file.show = m),
4565
4687
  title: i.file.title,
4566
4688
  message: i.file.message,
4567
4689
  multiple: i.file.multiple,
4568
4690
  filter: i.file.filter,
4569
- onResponse: s.fileDialogCallback
4570
- }, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : D("", !0),
4571
- i.information.show ? (y(), T(Me, {
4691
+ onResponse: o.fileDialogCallback
4692
+ }, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : U("", !0),
4693
+ i.information.show ? (S(), D(ze, {
4572
4694
  key: 7,
4573
4695
  modelValue: i.information.show,
4574
- "onUpdate:modelValue": e[26] || (e[26] = (r) => i.information.show = r),
4696
+ "onUpdate:modelValue": e[29] || (e[29] = (m) => i.information.show = m),
4575
4697
  title: i.information.title,
4576
4698
  text: i.information.text,
4577
4699
  width: i.information.width
4578
- }, null, 8, ["modelValue", "title", "text", "width"])) : D("", !0),
4579
- i.inputMetadata.show ? (y(), T(Te, {
4700
+ }, null, 8, ["modelValue", "title", "text", "width"])) : U("", !0),
4701
+ i.inputMetadata.show ? (S(), D(Le, {
4580
4702
  key: 8,
4581
4703
  modelValue: i.inputMetadata.show,
4582
- "onUpdate:modelValue": e[27] || (e[27] = (r) => i.inputMetadata.show = r),
4704
+ "onUpdate:modelValue": e[30] || (e[30] = (m) => i.inputMetadata.show = m),
4583
4705
  events: i.inputMetadata.events,
4584
4706
  "time-zone": i.timeZone,
4585
4707
  "new-metadata": "",
4586
4708
  onClose: i.inputMetadata.callback
4587
- }, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : D("", !0),
4588
- i.showOverrides ? (y(), T(Ie, {
4709
+ }, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : U("", !0),
4710
+ i.showOverrides ? (S(), D(Ae, {
4589
4711
  key: 9,
4590
4712
  modelValue: i.showOverrides,
4591
- "onUpdate:modelValue": e[28] || (e[28] = (r) => i.showOverrides = r)
4592
- }, null, 8, ["modelValue"])) : D("", !0),
4593
- i.prompt.show ? (y(), T(de, {
4713
+ "onUpdate:modelValue": e[31] || (e[31] = (m) => i.showOverrides = m)
4714
+ }, null, 8, ["modelValue"])) : U("", !0),
4715
+ i.prompt.show ? (S(), D(he, {
4594
4716
  key: 10,
4595
4717
  modelValue: i.prompt.show,
4596
- "onUpdate:modelValue": e[29] || (e[29] = (r) => i.prompt.show = r),
4718
+ "onUpdate:modelValue": e[32] || (e[32] = (m) => i.prompt.show = m),
4597
4719
  title: i.prompt.title,
4598
4720
  subtitle: i.prompt.subtitle,
4599
4721
  message: i.prompt.message,
@@ -4602,51 +4724,138 @@ function Zi(t, e, n, a, i, s) {
4602
4724
  layout: i.prompt.layout,
4603
4725
  multiple: i.prompt.multiple,
4604
4726
  onResponse: i.prompt.callback
4605
- }, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : D("", !0),
4606
- i.results.show ? (y(), T(De, {
4727
+ }, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : U("", !0),
4728
+ i.results.show ? (S(), D(N, {
4607
4729
  key: 11,
4608
4730
  modelValue: i.results.show,
4609
- "onUpdate:modelValue": e[30] || (e[30] = (r) => i.results.show = r),
4731
+ "onUpdate:modelValue": e[33] || (e[33] = (m) => i.results.show = m),
4610
4732
  text: i.results.text
4611
- }, null, 8, ["modelValue", "text"])) : D("", !0),
4612
- i.scriptEnvironment.show ? (y(), T(Ue, {
4733
+ }, null, 8, ["modelValue", "text"])) : U("", !0),
4734
+ i.scriptEnvironment.show ? (S(), D(Fe, {
4613
4735
  key: 12,
4614
4736
  modelValue: i.scriptEnvironment.show,
4615
- "onUpdate:modelValue": e[31] || (e[31] = (r) => i.scriptEnvironment.show = r),
4737
+ "onUpdate:modelValue": e[34] || (e[34] = (m) => i.scriptEnvironment.show = m),
4616
4738
  "input-environment": i.scriptEnvironment.env,
4617
- onEnvironment: s.environmentHandler
4618
- }, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : D("", !0),
4619
- o(Pe, {
4739
+ onEnvironment: o.environmentHandler
4740
+ }, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : U("", !0),
4741
+ n(u, {
4620
4742
  modelValue: i.showSuiteError,
4621
- "onUpdate:modelValue": e[32] || (e[32] = (r) => i.showSuiteError = r),
4743
+ "onUpdate:modelValue": e[35] || (e[35] = (m) => i.showSuiteError = m),
4622
4744
  title: "Suite Analysis Error",
4623
4745
  text: i.suiteError,
4624
4746
  width: 1e3
4625
4747
  }, null, 8, ["modelValue", "text"]),
4626
- o(ce, {
4748
+ n(p, {
4627
4749
  modelValue: i.displayCriticalCmd,
4628
- "onUpdate:modelValue": e[33] || (e[33] = (r) => i.displayCriticalCmd = r),
4750
+ "onUpdate:modelValue": e[36] || (e[36] = (m) => i.displayCriticalCmd = m),
4629
4751
  uuid: i.criticalCmdUuid,
4630
4752
  "cmd-string": i.criticalCmdString,
4631
4753
  "cmd-user": i.criticalCmdUser,
4632
4754
  persistent: !0,
4633
- onStatus: s.promptDialogCallback
4755
+ onStatus: o.promptDialogCallback
4634
4756
  }, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
4635
- o(c, {
4757
+ n(C, {
4758
+ modelValue: i.commandEditor.show,
4759
+ "onUpdate:modelValue": e[40] || (e[40] = (m) => i.commandEditor.show = m),
4760
+ "max-width": "1200",
4761
+ persistent: "",
4762
+ scrollable: ""
4763
+ }, {
4764
+ default: l(() => [
4765
+ n(te, null, {
4766
+ default: l(() => [
4767
+ n(v, { class: "d-flex align-center" }, {
4768
+ default: l(() => [
4769
+ e[47] || (e[47] = x("span", null, "Insert Command", -1)),
4770
+ n(_),
4771
+ n(c, {
4772
+ icon: "mdi-close",
4773
+ variant: "text",
4774
+ onClick: o.closeCommandDialog
4775
+ }, null, 8, ["onClick"])
4776
+ ]),
4777
+ _: 1
4778
+ }),
4779
+ n(Q, { class: "pa-0" }, {
4780
+ default: l(() => [
4781
+ i.commandEditor.dialogError ? (S(), P("div", Qi, [
4782
+ n(h, {
4783
+ class: "mr-2",
4784
+ color: "error"
4785
+ }, {
4786
+ default: l(() => [...e[48] || (e[48] = [
4787
+ y("mdi-alert-circle", -1)
4788
+ ])]),
4789
+ _: 1
4790
+ }),
4791
+ x("span", $i, L(i.commandEditor.dialogError), 1),
4792
+ n(c, {
4793
+ icon: "mdi-close",
4794
+ size: "small",
4795
+ variant: "text",
4796
+ color: "error",
4797
+ onClick: e[37] || (e[37] = (m) => i.commandEditor.dialogError = null),
4798
+ class: "ml-2"
4799
+ })
4800
+ ])) : U("", !0),
4801
+ n(f, {
4802
+ ref: "commandEditor",
4803
+ "initial-target-name": i.commandEditor.targetName,
4804
+ "initial-packet-name": i.commandEditor.packetName,
4805
+ "cmd-string": i.commandEditor.cmdString,
4806
+ "send-disabled": !1,
4807
+ "show-command-button": !1,
4808
+ onBuildCmd: e[38] || (e[38] = (m) => o.insertCommand(m))
4809
+ }, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
4810
+ ]),
4811
+ _: 1
4812
+ }),
4813
+ n(g, null, {
4814
+ default: l(() => [
4815
+ n(_),
4816
+ n(c, {
4817
+ variant: "outlined",
4818
+ onClick: o.closeCommandDialog
4819
+ }, {
4820
+ default: l(() => [...e[49] || (e[49] = [
4821
+ y(" Cancel ", -1)
4822
+ ])]),
4823
+ _: 1
4824
+ }, 8, ["onClick"]),
4825
+ n(c, {
4826
+ color: "primary",
4827
+ variant: "flat",
4828
+ onClick: e[39] || (e[39] = (m) => o.insertCommand())
4829
+ }, {
4830
+ default: l(() => [...e[50] || (e[50] = [
4831
+ y(" Insert Command ", -1)
4832
+ ])]),
4833
+ _: 1
4834
+ })
4835
+ ]),
4836
+ _: 1
4837
+ })
4838
+ ]),
4839
+ _: 1
4840
+ })
4841
+ ]),
4842
+ _: 1
4843
+ }, 8, ["modelValue"]),
4844
+ n(H, {
4636
4845
  modelValue: i.showScripts,
4637
- "onUpdate:modelValue": e[35] || (e[35] = (r) => i.showScripts = r)
4846
+ "onUpdate:modelValue": e[42] || (e[42] = (m) => i.showScripts = m)
4638
4847
  }, {
4639
4848
  default: l(() => [
4640
- o(ze, { class: "pb-11 pt-5 px-5" }, {
4849
+ n(A, { class: "pb-11 pt-5 px-5" }, {
4641
4850
  default: l(() => [
4642
- i.showScripts ? (y(), T(L, {
4851
+ i.showScripts ? (S(), D(M, {
4643
4852
  key: 0,
4644
4853
  "connect-in-new-tab": !!i.fileModified,
4645
- onDisconnect: s.scriptDisconnect,
4646
- onClose: e[34] || (e[34] = () => {
4854
+ onDisconnect: o.scriptDisconnect,
4855
+ onClose: e[41] || (e[41] = () => {
4647
4856
  i.showScripts = !1;
4648
4857
  })
4649
- }, null, 8, ["connect-in-new-tab", "onDisconnect"])) : D("", !0)
4858
+ }, null, 8, ["connect-in-new-tab", "onDisconnect"])) : U("", !0)
4650
4859
  ]),
4651
4860
  _: 1
4652
4861
  })
@@ -4655,11 +4864,11 @@ function Zi(t, e, n, a, i, s) {
4655
4864
  }, 8, ["modelValue"])
4656
4865
  ], 64);
4657
4866
  }
4658
- const hs = /* @__PURE__ */ q(Pi, [["render", Zi], ["__scopeId", "data-v-24f16271"]]);
4867
+ const bs = /* @__PURE__ */ j(zi, [["render", es], ["__scopeId", "data-v-25a2cdc5"]]);
4659
4868
  export {
4660
- Mt as RunningScripts,
4661
- Dt as ScriptLogMessages,
4662
- hs as ScriptRunner,
4663
- Si as SuiteRunner
4869
+ Tt as RunningScripts,
4870
+ Ut as ScriptLogMessages,
4871
+ bs as ScriptRunner,
4872
+ xi as SuiteRunner
4664
4873
  };
4665
4874
  //# sourceMappingURL=scriptrunner.js.map