@openc3/vue-common 6.9.1 → 6.10.1
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.
- package/dist/{ArrayWidget-DLfNWDzN.js → ArrayWidget-DQRQ7dPa.js} +5 -5
- package/dist/{ArrayWidget-DLfNWDzN.js.map → ArrayWidget-DQRQ7dPa.js.map} +1 -1
- package/dist/{ArrayWidget-DJkuPBFS.cjs → ArrayWidget-DvCX-1Om.cjs} +2 -2
- package/dist/{ArrayWidget-DJkuPBFS.cjs.map → ArrayWidget-DvCX-1Om.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-CoRsUxHG.js → ArrayplotWidget-BeSfz3MR.js} +4 -4
- package/dist/{ArrayplotWidget-CoRsUxHG.js.map → ArrayplotWidget-BeSfz3MR.js.map} +1 -1
- package/dist/{ArrayplotWidget-COGxmBEP.cjs → ArrayplotWidget-DA4SCxEg.cjs} +2 -2
- package/dist/{ArrayplotWidget-COGxmBEP.cjs.map → ArrayplotWidget-DA4SCxEg.cjs.map} +1 -1
- package/dist/{BarColumn-DHP-zQ4R.js → BarColumn-BdIaQfOz.js} +3 -3
- package/dist/{BarColumn-DHP-zQ4R.js.map → BarColumn-BdIaQfOz.js.map} +1 -1
- package/dist/{BarColumn-BaPaYtki.cjs → BarColumn-C5VfAEOx.cjs} +2 -2
- package/dist/{BarColumn-BaPaYtki.cjs.map → BarColumn-C5VfAEOx.cjs.map} +1 -1
- package/dist/{BlockWidget-DLncsLLX.cjs → BlockWidget-C33RBqR2.cjs} +2 -2
- package/dist/{BlockWidget-DLncsLLX.cjs.map → BlockWidget-C33RBqR2.cjs.map} +1 -1
- package/dist/{BlockWidget-BmHSFvOq.js → BlockWidget-DSFKrUxl.js} +5 -5
- package/dist/{BlockWidget-BmHSFvOq.js.map → BlockWidget-DSFKrUxl.js.map} +1 -1
- package/dist/{ButtonWidget-C3ZWRjZZ.js → ButtonWidget-CFbjdxSr.js} +7 -7
- package/dist/{ButtonWidget-C3ZWRjZZ.js.map → ButtonWidget-CFbjdxSr.js.map} +1 -1
- package/dist/{ButtonWidget-BLePbTf_.cjs → ButtonWidget-DV33-G5z.cjs} +3 -3
- package/dist/{ButtonWidget-BLePbTf_.cjs.map → ButtonWidget-DV33-G5z.cjs.map} +1 -1
- package/dist/{CanvasWidget-CL-XzPF4.js → CanvasWidget-BloYxuKE.js} +3 -3
- package/dist/{CanvasWidget-CL-XzPF4.js.map → CanvasWidget-BloYxuKE.js.map} +1 -1
- package/dist/{CanvasWidget-C8Sy9t9G.cjs → CanvasWidget-CO5Ql5FM.cjs} +2 -2
- package/dist/{CanvasWidget-C8Sy9t9G.cjs.map → CanvasWidget-CO5Ql5FM.cjs.map} +1 -1
- package/dist/{CanvasdotWidget-D8Y9DgVE.js → CanvasdotWidget-CZxUOPRd.js} +3 -3
- package/dist/{CanvasdotWidget-D8Y9DgVE.js.map → CanvasdotWidget-CZxUOPRd.js.map} +1 -1
- package/dist/{CanvasdotWidget-6MPKD5iZ.cjs → CanvasdotWidget-v73CXaR2.cjs} +2 -2
- package/dist/{CanvasdotWidget-6MPKD5iZ.cjs.map → CanvasdotWidget-v73CXaR2.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-DYUaf3zy.cjs → CanvasimageWidget-CCwRuLep.cjs} +2 -2
- package/dist/{CanvasimageWidget-DYUaf3zy.cjs.map → CanvasimageWidget-CCwRuLep.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-DHSGK_tD.js → CanvasimageWidget-ULQq3nqZ.js} +4 -4
- package/dist/{CanvasimageWidget-DHSGK_tD.js.map → CanvasimageWidget-ULQq3nqZ.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Bu1ECOWl.cjs → CanvasimagevalueWidget-NZYl_3mA.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-Bu1ECOWl.cjs.map → CanvasimagevalueWidget-NZYl_3mA.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Btt_fQfC.js → CanvasimagevalueWidget-jFCVXYhi.js} +4 -4
- package/dist/{CanvasimagevalueWidget-Btt_fQfC.js.map → CanvasimagevalueWidget-jFCVXYhi.js.map} +1 -1
- package/dist/{CanvaslabelWidget-BF_8RTjv.js → CanvaslabelWidget-DQhBI1vZ.js} +3 -3
- package/dist/{CanvaslabelWidget-BF_8RTjv.js.map → CanvaslabelWidget-DQhBI1vZ.js.map} +1 -1
- package/dist/{CanvaslabelWidget-Dik-ld55.cjs → CanvaslabelWidget-XfEANCQ-.cjs} +2 -2
- package/dist/{CanvaslabelWidget-Dik-ld55.cjs.map → CanvaslabelWidget-XfEANCQ-.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-scbwaujI.js → CanvaslabelvalueWidget-C4REgztL.js} +3 -3
- package/dist/{CanvaslabelvalueWidget-scbwaujI.js.map → CanvaslabelvalueWidget-C4REgztL.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-BBlKBoZO.cjs → CanvaslabelvalueWidget-CJCZdHId.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-BBlKBoZO.cjs.map → CanvaslabelvalueWidget-CJCZdHId.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-DN0ojc37.cjs → CanvaslineWidget-DycxDsyJ.cjs} +2 -2
- package/dist/{CanvaslineWidget-DN0ojc37.cjs.map → CanvaslineWidget-DycxDsyJ.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-gRvm_-TT.js → CanvaslineWidget-S4PCEvZM.js} +3 -3
- package/dist/{CanvaslineWidget-gRvm_-TT.js.map → CanvaslineWidget-S4PCEvZM.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-CljziRek.js → CanvaslinevalueWidget-597khOSA.js} +3 -3
- package/dist/{CanvaslinevalueWidget-CljziRek.js.map → CanvaslinevalueWidget-597khOSA.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-Cz1XYp0r.cjs → CanvaslinevalueWidget-bChpy38C.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-Cz1XYp0r.cjs.map → CanvaslinevalueWidget-bChpy38C.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-BOabI_jE.js → CheckbuttonWidget-BcblKat3.js} +3 -3
- package/dist/{CheckbuttonWidget-BOabI_jE.js.map → CheckbuttonWidget-BcblKat3.js.map} +1 -1
- package/dist/{CheckbuttonWidget-B5jOzhZ4.cjs → CheckbuttonWidget-BwDttJTf.cjs} +2 -2
- package/dist/{CheckbuttonWidget-B5jOzhZ4.cjs.map → CheckbuttonWidget-BwDttJTf.cjs.map} +1 -1
- package/dist/{ClassificationBanners-CbcQDr3v.cjs → ClassificationBanners-CEzDn5cM.cjs} +2 -2
- package/dist/{ClassificationBanners-CbcQDr3v.cjs.map → ClassificationBanners-CEzDn5cM.cjs.map} +1 -1
- package/dist/{ClassificationBanners-BGDnMx4r.js → ClassificationBanners-CS4GUeYv.js} +2 -2
- package/dist/{ClassificationBanners-BGDnMx4r.js.map → ClassificationBanners-CS4GUeYv.js.map} +1 -1
- package/dist/{ComboboxWidget-BLXNYFiY.js → ComboboxWidget-BMcHS4g5.js} +3 -3
- package/dist/{ComboboxWidget-BLXNYFiY.js.map → ComboboxWidget-BMcHS4g5.js.map} +1 -1
- package/dist/{ComboboxWidget-_lxTm8Wb.cjs → ComboboxWidget-DkBtLQ41.cjs} +2 -2
- package/dist/{ComboboxWidget-_lxTm8Wb.cjs.map → ComboboxWidget-DkBtLQ41.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-niBmkudw.cjs → CriticalCmdDialog-C4DRtDnA.cjs} +2 -2
- package/dist/CriticalCmdDialog-C4DRtDnA.cjs.map +1 -0
- package/dist/{CriticalCmdDialog-CnNlsHRX.js → CriticalCmdDialog-CVLyYtng.js} +17 -17
- package/dist/CriticalCmdDialog-CVLyYtng.js.map +1 -0
- package/dist/{CustomIcon-h5X7369N.js → CustomIcon-DTfsnDJn.js} +6 -6
- package/dist/{CustomIcon-h5X7369N.js.map → CustomIcon-DTfsnDJn.js.map} +1 -1
- package/dist/CustomIcon-eie3rPKh.cjs +2 -0
- package/dist/{CustomIcon-Bop2mEnu.cjs.map → CustomIcon-eie3rPKh.cjs.map} +1 -1
- package/dist/{DateWidget-BTqLCtLS.js → DateWidget-BpnMzSBn.js} +3 -3
- package/dist/{DateWidget-BTqLCtLS.js.map → DateWidget-BpnMzSBn.js.map} +1 -1
- package/dist/{DateWidget-BvabEAhO.cjs → DateWidget-CRFiLyxD.cjs} +2 -2
- package/dist/{DateWidget-BvabEAhO.cjs.map → DateWidget-CRFiLyxD.cjs.map} +1 -1
- package/dist/DetailsDialog-Brv3nVs3.cjs +2 -0
- package/dist/DetailsDialog-Brv3nVs3.cjs.map +1 -0
- package/dist/{DetailsDialog-BNCS3QAe.js → DetailsDialog-q9piPmHq.js} +77 -74
- package/dist/DetailsDialog-q9piPmHq.js.map +1 -0
- package/dist/{DynamicWidget-BWEVCUfd.cjs → DynamicWidget-BNfJRfR5.cjs} +2 -2
- package/dist/{DynamicWidget-BWEVCUfd.cjs.map → DynamicWidget-BNfJRfR5.cjs.map} +1 -1
- package/dist/{DynamicWidget-CfMtj7H8.js → DynamicWidget-DHL7pbgW.js} +2 -2
- package/dist/{DynamicWidget-CfMtj7H8.js.map → DynamicWidget-DHL7pbgW.js.map} +1 -1
- package/dist/{EventListDialog-C2pwmD0d.js → EventListDialog-BlcxcO8a.js} +129 -123
- package/dist/EventListDialog-BlcxcO8a.js.map +1 -0
- package/dist/EventListDialog-DXIYmkWb.cjs +2 -0
- package/dist/EventListDialog-DXIYmkWb.cjs.map +1 -0
- package/dist/{FormatvalueWidget-ulLzg1E-.cjs → FormatvalueWidget-AXH-VW-A.cjs} +2 -2
- package/dist/{FormatvalueWidget-ulLzg1E-.cjs.map → FormatvalueWidget-AXH-VW-A.cjs.map} +1 -1
- package/dist/{FormatvalueWidget-CLYx8qbg.js → FormatvalueWidget-Cm-HmAmw.js} +4 -4
- package/dist/{FormatvalueWidget-CLYx8qbg.js.map → FormatvalueWidget-Cm-HmAmw.js.map} +1 -1
- package/dist/{Graph-BliBYJxD.js → Graph-BEodMaxQ.js} +102 -95
- package/dist/Graph-BEodMaxQ.js.map +1 -0
- package/dist/Graph-wDFY6Kd7.cjs +2 -0
- package/dist/Graph-wDFY6Kd7.cjs.map +1 -0
- package/dist/{GraphWidget-g-0vO4_S.cjs → GraphWidget-B878ArE1.cjs} +2 -2
- package/dist/{GraphWidget-g-0vO4_S.cjs.map → GraphWidget-B878ArE1.cjs.map} +1 -1
- package/dist/{GraphWidget-Cb6Ozf54.js → GraphWidget-CAADBFV-.js} +2 -2
- package/dist/{GraphWidget-Cb6Ozf54.js.map → GraphWidget-CAADBFV-.js.map} +1 -1
- package/dist/{HorizontalWidget-BiEZZpZQ.cjs → HorizontalWidget-D2lXnQqQ.cjs} +2 -2
- package/dist/{HorizontalWidget-BiEZZpZQ.cjs.map → HorizontalWidget-D2lXnQqQ.cjs.map} +1 -1
- package/dist/{HorizontalWidget-AY2M01qP.js → HorizontalWidget-NcXIXxh7.js} +3 -3
- package/dist/{HorizontalWidget-AY2M01qP.js.map → HorizontalWidget-NcXIXxh7.js.map} +1 -1
- package/dist/{HorizontalboxWidget-CWq4ej6k.cjs → HorizontalboxWidget-BGzl7-Rt.cjs} +2 -2
- package/dist/{HorizontalboxWidget-CWq4ej6k.cjs.map → HorizontalboxWidget-BGzl7-Rt.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-2MEKvq_C.js → HorizontalboxWidget-CW9XX4uH.js} +6 -6
- package/dist/{HorizontalboxWidget-2MEKvq_C.js.map → HorizontalboxWidget-CW9XX4uH.js.map} +1 -1
- package/dist/{HorizontallineWidget-DgpOPA7q.js → HorizontallineWidget-Cu2dDt7k.js} +3 -3
- package/dist/{HorizontallineWidget-DgpOPA7q.js.map → HorizontallineWidget-Cu2dDt7k.js.map} +1 -1
- package/dist/{HorizontallineWidget-Dm5G1l4A.cjs → HorizontallineWidget-x2u6MQNz.cjs} +2 -2
- package/dist/{HorizontallineWidget-Dm5G1l4A.cjs.map → HorizontallineWidget-x2u6MQNz.cjs.map} +1 -1
- package/dist/{IframeWidget-DDw5t7eV.cjs → IframeWidget-B5simCWn.cjs} +2 -2
- package/dist/{IframeWidget-DDw5t7eV.cjs.map → IframeWidget-B5simCWn.cjs.map} +1 -1
- package/dist/{IframeWidget-UKKUl7k5.js → IframeWidget-BBU3MkSq.js} +3 -3
- package/dist/{IframeWidget-UKKUl7k5.js.map → IframeWidget-BBU3MkSq.js.map} +1 -1
- package/dist/{ImageLoader-9TCd0KxL.cjs → ImageLoader-Dj3MZVq9.cjs} +2 -2
- package/dist/{ImageLoader-9TCd0KxL.cjs.map → ImageLoader-Dj3MZVq9.cjs.map} +1 -1
- package/dist/{ImageLoader-C-CIL4YD.js → ImageLoader-XAGgjKkq.js} +2 -2
- package/dist/{ImageLoader-C-CIL4YD.js.map → ImageLoader-XAGgjKkq.js.map} +1 -1
- package/dist/{ImageviewerWidget-DpXzLOpF.cjs → ImageviewerWidget-BtuiORhN.cjs} +2 -2
- package/dist/{ImageviewerWidget-DpXzLOpF.cjs.map → ImageviewerWidget-BtuiORhN.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-DhuQH5Io.js → ImageviewerWidget-UByjeO63.js} +3 -3
- package/dist/{ImageviewerWidget-DhuQH5Io.js.map → ImageviewerWidget-UByjeO63.js.map} +1 -1
- package/dist/{InterfacesTab-Dq3oAKqz.js → InterfacesTab-6hli9fcg.js} +7 -7
- package/dist/{InterfacesTab-Dq3oAKqz.js.map → InterfacesTab-6hli9fcg.js.map} +1 -1
- package/dist/{InterfacesTab-CiVfsUia.cjs → InterfacesTab-B1CwBWFu.cjs} +2 -2
- package/dist/{InterfacesTab-CiVfsUia.cjs.map → InterfacesTab-B1CwBWFu.cjs.map} +1 -1
- package/dist/{LabelWidget-SO9zqcNN.js → LabelWidget-BsOpolUL.js} +3 -3
- package/dist/{LabelWidget-SO9zqcNN.js.map → LabelWidget-BsOpolUL.js.map} +1 -1
- package/dist/{LabelWidget-D-m2gFIZ.cjs → LabelWidget-X4cBbl5N.cjs} +2 -2
- package/dist/{LabelWidget-D-m2gFIZ.cjs.map → LabelWidget-X4cBbl5N.cjs.map} +1 -1
- package/dist/{LabelledWidget-DWoM5AJ5.js → LabelledWidget-DVOGpgZ-.js} +5 -5
- package/dist/{LabelledWidget-DWoM5AJ5.js.map → LabelledWidget-DVOGpgZ-.js.map} +1 -1
- package/dist/{LabelledWidget-BFfsD2wz.cjs → LabelledWidget-DaHqSURc.cjs} +2 -2
- package/dist/{LabelledWidget-BFfsD2wz.cjs.map → LabelledWidget-DaHqSURc.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-D3vnkvQZ.js → LabelprogressbarWidget-BeE9fDs6.js} +5 -5
- package/dist/{LabelprogressbarWidget-D3vnkvQZ.js.map → LabelprogressbarWidget-BeE9fDs6.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-B8x5YimU.cjs → LabelprogressbarWidget-Cz3nXacL.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-B8x5YimU.cjs.map → LabelprogressbarWidget-Cz3nXacL.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-DO0T-Jot.js → LabelsparklineWidget-Bj7trKML.js} +5 -5
- package/dist/{LabelsparklineWidget-DO0T-Jot.js.map → LabelsparklineWidget-Bj7trKML.js.map} +1 -1
- package/dist/{LabelsparklineWidget-DyPaUfc9.cjs → LabelsparklineWidget-Bns8kwBj.cjs} +2 -2
- package/dist/{LabelsparklineWidget-DyPaUfc9.cjs.map → LabelsparklineWidget-Bns8kwBj.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-cTPG6Xqi.cjs → LabelvalueWidget-D-sncwem.cjs} +2 -2
- package/dist/{LabelvalueWidget-cTPG6Xqi.cjs.map → LabelvalueWidget-D-sncwem.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-B6BbNFnk.js → LabelvalueWidget-Dwqsh5o2.js} +5 -5
- package/dist/{LabelvalueWidget-B6BbNFnk.js.map → LabelvalueWidget-Dwqsh5o2.js.map} +1 -1
- package/dist/{LabelvaluedescWidget-CxfL-H9C.js → LabelvaluedescWidget-Cfu2vuja.js} +10 -10
- package/dist/{LabelvaluedescWidget-CxfL-H9C.js.map → LabelvaluedescWidget-Cfu2vuja.js.map} +1 -1
- package/dist/{LabelvaluedescWidget-C4sIZ0md.cjs → LabelvaluedescWidget-DmqG8dzJ.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-C4sIZ0md.cjs.map → LabelvaluedescWidget-DmqG8dzJ.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-BT5k9mHv.js → LabelvaluelimitsbarWidget-DYV68AJ_.js} +5 -5
- package/dist/{LabelvaluelimitsbarWidget-BT5k9mHv.js.map → LabelvaluelimitsbarWidget-DYV68AJ_.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-CBnU6Afl.cjs → LabelvaluelimitsbarWidget-_l7xjrX9.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-CBnU6Afl.cjs.map → LabelvaluelimitsbarWidget-_l7xjrX9.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-DUbmxh4p.js → LabelvaluelimitscolumnWidget-CtaoTixt.js} +6 -6
- package/dist/{LabelvaluelimitscolumnWidget-DUbmxh4p.js.map → LabelvaluelimitscolumnWidget-CtaoTixt.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-CwoMfO0P.cjs → LabelvaluelimitscolumnWidget-D0WEVZMc.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-CwoMfO0P.cjs.map → LabelvaluelimitscolumnWidget-D0WEVZMc.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DexAc2UB.js → LabelvaluerangebarWidget-3EaUB6E6.js} +5 -5
- package/dist/{LabelvaluerangebarWidget-DexAc2UB.js.map → LabelvaluerangebarWidget-3EaUB6E6.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DB4gw6Rd.cjs → LabelvaluerangebarWidget-BZTEfPQh.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-DB4gw6Rd.cjs.map → LabelvaluerangebarWidget-BZTEfPQh.cjs.map} +1 -1
- package/dist/{Layout-Dd6dRf3R.js → Layout-DNR3xnku.js} +2 -2
- package/dist/{Layout-Dd6dRf3R.js.map → Layout-DNR3xnku.js.map} +1 -1
- package/dist/Layout-U0MXDxLO.cjs +2 -0
- package/dist/{Layout-DvBekli8.cjs.map → Layout-U0MXDxLO.cjs.map} +1 -1
- package/dist/{LedWidget-D1RwHb_V.js → LedWidget-Gi6GXtrW.js} +5 -5
- package/dist/{LedWidget-D1RwHb_V.js.map → LedWidget-Gi6GXtrW.js.map} +1 -1
- package/dist/{LedWidget-a99ygZOA.cjs → LedWidget-MAyRDM2n.cjs} +2 -2
- package/dist/{LedWidget-a99ygZOA.cjs.map → LedWidget-MAyRDM2n.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-ClOmoV50.js → LimitsbarWidget-BTZQY9XQ.js} +3 -3
- package/dist/{LimitsbarWidget-ClOmoV50.js.map → LimitsbarWidget-BTZQY9XQ.js.map} +1 -1
- package/dist/{LimitsbarWidget-DaHpj-rM.cjs → LimitsbarWidget-ytyfCphX.cjs} +2 -2
- package/dist/{LimitsbarWidget-DaHpj-rM.cjs.map → LimitsbarWidget-ytyfCphX.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-CBUoEYKp.js → LimitscolorWidget-CFnmvlrA.js} +3 -3
- package/dist/{LimitscolorWidget-CBUoEYKp.js.map → LimitscolorWidget-CFnmvlrA.js.map} +1 -1
- package/dist/{LimitscolorWidget-D4nPHQlI.cjs → LimitscolorWidget-CeZYYSQn.cjs} +2 -2
- package/dist/{LimitscolorWidget-D4nPHQlI.cjs.map → LimitscolorWidget-CeZYYSQn.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-wIx0L9hb.cjs → LimitscolumnWidget-CXzLYznR.cjs} +2 -2
- package/dist/{LimitscolumnWidget-wIx0L9hb.cjs.map → LimitscolumnWidget-CXzLYznR.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-hsHkmY-_.js → LimitscolumnWidget-DSsz36tT.js} +3 -3
- package/dist/{LimitscolumnWidget-hsHkmY-_.js.map → LimitscolumnWidget-DSsz36tT.js.map} +1 -1
- package/dist/{LinegraphWidget-CXrKtxOo.js → LinegraphWidget-CeBijgDo.js} +5 -5
- package/dist/{LinegraphWidget-CXrKtxOo.js.map → LinegraphWidget-CeBijgDo.js.map} +1 -1
- package/dist/{LinegraphWidget-BRnwhfEQ.cjs → LinegraphWidget-WVSJOuTE.cjs} +2 -2
- package/dist/{LinegraphWidget-BRnwhfEQ.cjs.map → LinegraphWidget-WVSJOuTE.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-3jldaS14.cjs → MatrixbycolumnsWidget-COWMt_-r.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-3jldaS14.cjs.map → MatrixbycolumnsWidget-COWMt_-r.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-CsogVU9c.js → MatrixbycolumnsWidget-DX9uhjAv.js} +4 -4
- package/dist/{MatrixbycolumnsWidget-CsogVU9c.js.map → MatrixbycolumnsWidget-DX9uhjAv.js.map} +1 -1
- package/dist/{MicroservicesTab-DzEvbxlM.js → MicroservicesTab-BSSCh5Ss.js} +5 -5
- package/dist/{MicroservicesTab-DzEvbxlM.js.map → MicroservicesTab-BSSCh5Ss.js.map} +1 -1
- package/dist/{MicroservicesTab-3pNZZ5I0.cjs → MicroservicesTab-Btw8r_9N.cjs} +2 -2
- package/dist/{MicroservicesTab-3pNZZ5I0.cjs.map → MicroservicesTab-Btw8r_9N.cjs.map} +1 -1
- package/dist/Openc3Screen-DIN4KVsw.cjs +6 -0
- package/dist/Openc3Screen-DIN4KVsw.cjs.map +1 -0
- package/dist/{Openc3Screen-Cqm5Xtd-.js → Openc3Screen-iW_gaikc.js} +266 -253
- package/dist/Openc3Screen-iW_gaikc.js.map +1 -0
- package/dist/{OutputDialog-7M4L50tA.js → OutputDialog-BMzp6wy3.js} +3 -3
- package/dist/{OutputDialog-7M4L50tA.js.map → OutputDialog-BMzp6wy3.js.map} +1 -1
- package/dist/{OutputDialog-CnDQxHTZ.cjs → OutputDialog-CKObLICh.cjs} +2 -2
- package/dist/{OutputDialog-CnDQxHTZ.cjs.map → OutputDialog-CKObLICh.cjs.map} +1 -1
- package/dist/{PackagesTab-N4SD1Pxj.js → PackagesTab-BascLTCK.js} +4 -4
- package/dist/{PackagesTab-N4SD1Pxj.js.map → PackagesTab-BascLTCK.js.map} +1 -1
- package/dist/{PackagesTab-DPPXZvoV.cjs → PackagesTab-D_1kbMkk.cjs} +2 -2
- package/dist/{PackagesTab-DPPXZvoV.cjs.map → PackagesTab-D_1kbMkk.cjs.map} +1 -1
- package/dist/PluginsTab-CjYoMrbj.cjs +6 -0
- package/dist/PluginsTab-CjYoMrbj.cjs.map +1 -0
- package/dist/{PluginsTab-C7PH2Wym.js → PluginsTab-Yz9HZqpp.js} +376 -294
- package/dist/PluginsTab-Yz9HZqpp.js.map +1 -0
- package/dist/{ProgressbarWidget-CPeGR-Az.cjs → ProgressbarWidget-BUSOhcZ3.cjs} +2 -2
- package/dist/{ProgressbarWidget-CPeGR-Az.cjs.map → ProgressbarWidget-BUSOhcZ3.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-CO6CEkxP.js → ProgressbarWidget-DJepvOip.js} +3 -3
- package/dist/{ProgressbarWidget-CO6CEkxP.js.map → ProgressbarWidget-DJepvOip.js.map} +1 -1
- package/dist/{RadiobuttonWidget-DrxUclws.js → RadiobuttonWidget-4e8ROIfg.js} +3 -3
- package/dist/{RadiobuttonWidget-DrxUclws.js.map → RadiobuttonWidget-4e8ROIfg.js.map} +1 -1
- package/dist/{RadiobuttonWidget-DucgkAYD.cjs → RadiobuttonWidget-D4Fka1eN.cjs} +2 -2
- package/dist/{RadiobuttonWidget-DucgkAYD.cjs.map → RadiobuttonWidget-D4Fka1eN.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-DN9C38cg.js → RadiogroupWidget-CUucj6aT.js} +3 -3
- package/dist/{RadiogroupWidget-DN9C38cg.js.map → RadiogroupWidget-CUucj6aT.js.map} +1 -1
- package/dist/{RadiogroupWidget-C7oVFRf3.cjs → RadiogroupWidget-DU9G6qLq.cjs} +2 -2
- package/dist/{RadiogroupWidget-C7oVFRf3.cjs.map → RadiogroupWidget-DU9G6qLq.cjs.map} +1 -1
- package/dist/{RangebarWidget-5uQTfLMP.js → RangebarWidget-Bu4rqlrx.js} +3 -3
- package/dist/{RangebarWidget-5uQTfLMP.js.map → RangebarWidget-Bu4rqlrx.js.map} +1 -1
- package/dist/{RangebarWidget-Da9S3KMB.cjs → RangebarWidget-DlMJo2o3.cjs} +2 -2
- package/dist/{RangebarWidget-Da9S3KMB.cjs.map → RangebarWidget-DlMJo2o3.cjs.map} +1 -1
- package/dist/{RedisTab-Cyrr_g9k.js → RedisTab-C00rFmdl.js} +3 -3
- package/dist/{RedisTab-Cyrr_g9k.js.map → RedisTab-C00rFmdl.js.map} +1 -1
- package/dist/{RedisTab-BFTaPNRc.cjs → RedisTab-Dz4m_JfV.cjs} +2 -2
- package/dist/{RedisTab-BFTaPNRc.cjs.map → RedisTab-Dz4m_JfV.cjs.map} +1 -1
- package/dist/{RollupWidget-B0DCULnu.js → RollupWidget-ByLvEEau.js} +3 -3
- package/dist/{RollupWidget-B0DCULnu.js.map → RollupWidget-ByLvEEau.js.map} +1 -1
- package/dist/{RollupWidget-DK0eFASs.cjs → RollupWidget-D-Dx6Dkx.cjs} +2 -2
- package/dist/{RollupWidget-DK0eFASs.cjs.map → RollupWidget-D-Dx6Dkx.cjs.map} +1 -1
- package/dist/{RoutersTab-BAfpG8k3.js → RoutersTab-CEe4oS0x.js} +7 -7
- package/dist/{RoutersTab-BAfpG8k3.js.map → RoutersTab-CEe4oS0x.js.map} +1 -1
- package/dist/{RoutersTab-B8JIxjdI.cjs → RoutersTab-CyjPaVVb.cjs} +2 -2
- package/dist/{RoutersTab-B8JIxjdI.cjs.map → RoutersTab-CyjPaVVb.cjs.map} +1 -1
- package/dist/ScriptChooser-B83Pgq2H.cjs +2 -0
- package/dist/ScriptChooser-B83Pgq2H.cjs.map +1 -0
- package/dist/{ScriptChooser-ahp4Tu3O.js → ScriptChooser-CbVbI0x-.js} +55 -50
- package/dist/ScriptChooser-CbVbI0x-.js.map +1 -0
- package/dist/{ScrollwindowWidget-xM_R_Arq.cjs → ScrollwindowWidget-0UcfntpY.cjs} +2 -2
- package/dist/{ScrollwindowWidget-xM_R_Arq.cjs.map → ScrollwindowWidget-0UcfntpY.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-BOkZQgtf.js → ScrollwindowWidget-CXJ9QGN1.js} +4 -4
- package/dist/{ScrollwindowWidget-BOkZQgtf.js.map → ScrollwindowWidget-CXJ9QGN1.js.map} +1 -1
- package/dist/{SecretsTab-DoHYppoO.cjs → SecretsTab-B07A5MeK.cjs} +2 -2
- package/dist/{SecretsTab-DoHYppoO.cjs.map → SecretsTab-B07A5MeK.cjs.map} +1 -1
- package/dist/{SecretsTab-D5RxHYVp.js → SecretsTab-DFrxV8Q8.js} +8 -8
- package/dist/{SecretsTab-D5RxHYVp.js.map → SecretsTab-DFrxV8Q8.js.map} +1 -1
- package/dist/{SettingsTab-Dvnzqzdp.cjs → SettingsTab-CDaG6VS1.cjs} +2 -2
- package/dist/{SettingsTab-Dvnzqzdp.cjs.map → SettingsTab-CDaG6VS1.cjs.map} +1 -1
- package/dist/{SettingsTab-CKGQEwd_.js → SettingsTab-CpLxrjTc.js} +5 -5
- package/dist/{SettingsTab-CKGQEwd_.js.map → SettingsTab-CpLxrjTc.js.map} +1 -1
- package/dist/{SignalWidget-BWKgNMdV.cjs → SignalWidget-DhS8nGJu.cjs} +2 -2
- package/dist/{SignalWidget-BWKgNMdV.cjs.map → SignalWidget-DhS8nGJu.cjs.map} +1 -1
- package/dist/{SignalWidget-Cis0Xkea.js → SignalWidget-qvL2YZJA.js} +3 -3
- package/dist/{SignalWidget-Cis0Xkea.js.map → SignalWidget-qvL2YZJA.js.map} +1 -1
- package/dist/{SimpleTextDialog-D2mEDvGY.js → SimpleTextDialog--iSWgPgq.js} +7 -7
- package/dist/SimpleTextDialog--iSWgPgq.js.map +1 -0
- package/dist/{SimpleTextDialog-BCNn5FZh.cjs → SimpleTextDialog-tZ7qO1zq.cjs} +2 -2
- package/dist/SimpleTextDialog-tZ7qO1zq.cjs.map +1 -0
- package/dist/{SpacerWidget-_daU5QnM.cjs → SpacerWidget-CUrYZDLP.cjs} +2 -2
- package/dist/{SpacerWidget-_daU5QnM.cjs.map → SpacerWidget-CUrYZDLP.cjs.map} +1 -1
- package/dist/{SpacerWidget-CLcqC2Qk.js → SpacerWidget-CaWx41K7.js} +3 -3
- package/dist/{SpacerWidget-CLcqC2Qk.js.map → SpacerWidget-CaWx41K7.js.map} +1 -1
- package/dist/{SparklineWidget-qRnlPzJ_.cjs → SparklineWidget-BOnHnJOh.cjs} +2 -2
- package/dist/{SparklineWidget-qRnlPzJ_.cjs.map → SparklineWidget-BOnHnJOh.cjs.map} +1 -1
- package/dist/{SparklineWidget-CTp83eZ-.js → SparklineWidget-BkNSRypJ.js} +5 -5
- package/dist/{SparklineWidget-CTp83eZ-.js.map → SparklineWidget-BkNSRypJ.js.map} +1 -1
- package/dist/{TabbookWidget-C0Fvv-o5.cjs → TabbookWidget-BTvyYn7i.cjs} +2 -2
- package/dist/{TabbookWidget-C0Fvv-o5.cjs.map → TabbookWidget-BTvyYn7i.cjs.map} +1 -1
- package/dist/{TabbookWidget-uucd-zsX.js → TabbookWidget-MsrRG1vn.js} +3 -3
- package/dist/{TabbookWidget-uucd-zsX.js.map → TabbookWidget-MsrRG1vn.js.map} +1 -1
- package/dist/TargetPacketItemChooser-CmjEcxN3.cjs +2 -0
- package/dist/TargetPacketItemChooser-CmjEcxN3.cjs.map +1 -0
- package/dist/{TargetPacketItemChooser-CXpSx-eA.js → TargetPacketItemChooser-oSQHf8Ht.js} +158 -108
- package/dist/TargetPacketItemChooser-oSQHf8Ht.js.map +1 -0
- package/dist/{TargetsTab-CM4ABe5y.js → TargetsTab-B6tf2hKl.js} +7 -7
- package/dist/{TargetsTab-CM4ABe5y.js.map → TargetsTab-B6tf2hKl.js.map} +1 -1
- package/dist/{TargetsTab-Ixql3xzm.cjs → TargetsTab-DwFb3_1K.cjs} +2 -2
- package/dist/{TargetsTab-Ixql3xzm.cjs.map → TargetsTab-DwFb3_1K.cjs.map} +1 -1
- package/dist/{TextBoxDialog-DbD8P4Xc.cjs → TextBoxDialog-DXG7H7kQ.cjs} +2 -2
- package/dist/{TextBoxDialog-DbD8P4Xc.cjs.map → TextBoxDialog-DXG7H7kQ.cjs.map} +1 -1
- package/dist/{TextBoxDialog-CdFHdj5W.js → TextBoxDialog-Xs-gitZd.js} +2 -2
- package/dist/{TextBoxDialog-CdFHdj5W.js.map → TextBoxDialog-Xs-gitZd.js.map} +1 -1
- package/dist/{TextboxWidget-DrdMC0EB.cjs → TextboxWidget-CPmQEhMm.cjs} +2 -2
- package/dist/{TextboxWidget-DrdMC0EB.cjs.map → TextboxWidget-CPmQEhMm.cjs.map} +1 -1
- package/dist/{TextboxWidget-C2n38ti5.js → TextboxWidget-DbwpPVGB.js} +5 -5
- package/dist/{TextboxWidget-C2n38ti5.js.map → TextboxWidget-DbwpPVGB.js.map} +1 -1
- package/dist/{TextfieldWidget-VeOem1w3.cjs → TextfieldWidget-BzaNs7J4.cjs} +2 -2
- package/dist/{TextfieldWidget-VeOem1w3.cjs.map → TextfieldWidget-BzaNs7J4.cjs.map} +1 -1
- package/dist/{TextfieldWidget--HTv9ddk.js → TextfieldWidget-DzMlTMYW.js} +3 -3
- package/dist/{TextfieldWidget--HTv9ddk.js.map → TextfieldWidget-DzMlTMYW.js.map} +1 -1
- package/dist/{TimeWidget-CPNVZaUM.js → TimeWidget-BHybAfg8.js} +3 -3
- package/dist/{TimeWidget-CPNVZaUM.js.map → TimeWidget-BHybAfg8.js.map} +1 -1
- package/dist/{TimeWidget-C9ltUWFh.cjs → TimeWidget-DksEVe5c.cjs} +2 -2
- package/dist/{TimeWidget-C9ltUWFh.cjs.map → TimeWidget-DksEVe5c.cjs.map} +1 -1
- package/dist/{TitleWidget-IuUVZkLh.cjs → TitleWidget-C7_pj0lU.cjs} +2 -2
- package/dist/{TitleWidget-IuUVZkLh.cjs.map → TitleWidget-C7_pj0lU.cjs.map} +1 -1
- package/dist/{TitleWidget-Cp0cb6V8.js → TitleWidget-DL_sE5YE.js} +3 -3
- package/dist/{TitleWidget-Cp0cb6V8.js.map → TitleWidget-DL_sE5YE.js.map} +1 -1
- package/dist/{ToolsTab-DGjyBWkp.js → ToolsTab-CXoxIck8.js} +4 -4
- package/dist/{ToolsTab-DGjyBWkp.js.map → ToolsTab-CXoxIck8.js.map} +1 -1
- package/dist/{ToolsTab-Bgrj0eGr.cjs → ToolsTab-DTL8ujgd.cjs} +3 -3
- package/dist/{ToolsTab-Bgrj0eGr.cjs.map → ToolsTab-DTL8ujgd.cjs.map} +1 -1
- package/dist/TopBar-B8LJESUg.js +324 -0
- package/dist/TopBar-B8LJESUg.js.map +1 -0
- package/dist/TopBar-CGSMcenK.cjs +2 -0
- package/dist/TopBar-CGSMcenK.cjs.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog-C2Ggr_Xd.js → UpgradeToEnterpriseDialog-CqnhQ8So.js} +3 -3
- package/dist/{UpgradeToEnterpriseDialog-C2Ggr_Xd.js.map → UpgradeToEnterpriseDialog-CqnhQ8So.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-DtckZO3_.cjs → UpgradeToEnterpriseDialog-Dv_egyCM.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-DtckZO3_.cjs.map → UpgradeToEnterpriseDialog-Dv_egyCM.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C3WTK6F-.js} +15036 -14930
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C3WTK6F-.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-RGlL9jUF.cjs +1498 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-RGlL9jUF.cjs.map +1 -0
- package/dist/VWidget-CTcOKw09.cjs +2 -0
- package/dist/VWidget-CTcOKw09.cjs.map +1 -0
- package/dist/{VWidget-DQGJRgAk.js → VWidget-D06LY-Yc.js} +7 -7
- package/dist/VWidget-D06LY-Yc.js.map +1 -0
- package/dist/{ValueWidget-BmXm9dYt.cjs → ValueWidget-C2qn7lVq.cjs} +2 -2
- package/dist/{ValueWidget-BmXm9dYt.cjs.map → ValueWidget-C2qn7lVq.cjs.map} +1 -1
- package/dist/{ValueWidget-Bk1RFjks.js → ValueWidget-CGT0LV_n.js} +5 -5
- package/dist/{ValueWidget-Bk1RFjks.js.map → ValueWidget-CGT0LV_n.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-C0HIBYh2.js → ValuelimitsbarWidget-CmpyPO-1.js} +5 -5
- package/dist/{ValuelimitsbarWidget-C0HIBYh2.js.map → ValuelimitsbarWidget-CmpyPO-1.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-PjCpjhsr.cjs → ValuelimitsbarWidget-_lEKCmQl.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-PjCpjhsr.cjs.map → ValuelimitsbarWidget-_lEKCmQl.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BGiDDUI_.cjs → ValuelimitscolumnWidget-0urjo-hR.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-BGiDDUI_.cjs.map → ValuelimitscolumnWidget-0urjo-hR.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BTT90uyX.js → ValuelimitscolumnWidget-jzxrQd-f.js} +5 -5
- package/dist/{ValuelimitscolumnWidget-BTT90uyX.js.map → ValuelimitscolumnWidget-jzxrQd-f.js.map} +1 -1
- package/dist/{ValuerangebarWidget-CcQw_XK9.js → ValuerangebarWidget-C8ckuAeh.js} +5 -5
- package/dist/{ValuerangebarWidget-CcQw_XK9.js.map → ValuerangebarWidget-C8ckuAeh.js.map} +1 -1
- package/dist/{ValuerangebarWidget-ClmX-qH_.cjs → ValuerangebarWidget-lXHRe4YZ.cjs} +2 -2
- package/dist/{ValuerangebarWidget-ClmX-qH_.cjs.map → ValuerangebarWidget-lXHRe4YZ.cjs.map} +1 -1
- package/dist/{VerticalWidget-BeDWsvP6.cjs → VerticalWidget-XBSrdA2c.cjs} +2 -2
- package/dist/{VerticalWidget-BeDWsvP6.cjs.map → VerticalWidget-XBSrdA2c.cjs.map} +1 -1
- package/dist/{VerticalWidget-CNtFQv3R.js → VerticalWidget-qN82km_m.js} +3 -3
- package/dist/{VerticalWidget-CNtFQv3R.js.map → VerticalWidget-qN82km_m.js.map} +1 -1
- package/dist/{VerticalboxWidget-DlokKDBD.cjs → VerticalboxWidget-1FHkgmf0.cjs} +2 -2
- package/dist/{VerticalboxWidget-DlokKDBD.cjs.map → VerticalboxWidget-1FHkgmf0.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-Yxmz1SnU.js → VerticalboxWidget-CiJZDlHJ.js} +6 -6
- package/dist/{VerticalboxWidget-Yxmz1SnU.js.map → VerticalboxWidget-CiJZDlHJ.js.map} +1 -1
- package/dist/{Widget-HC1_yuQg.cjs → Widget-BwvnfXRa.cjs} +2 -2
- package/dist/{Widget-HC1_yuQg.cjs.map → Widget-BwvnfXRa.cjs.map} +1 -1
- package/dist/{Widget-LsyjS7ZS.js → Widget-DXvVFSH5.js} +2 -2
- package/dist/{Widget-LsyjS7ZS.js.map → Widget-DXvVFSH5.js.map} +1 -1
- package/dist/cmdUtilities--4ZqS2At.js +44 -0
- package/dist/{cmdUtilities-BMsSNjt_.js.map → cmdUtilities--4ZqS2At.js.map} +1 -1
- package/dist/{cmdUtilities-ChD8v8-7.cjs → cmdUtilities-N30xDV6q.cjs} +2 -2
- package/dist/{cmdUtilities-ChD8v8-7.cjs.map → cmdUtilities-N30xDV6q.cjs.map} +1 -1
- package/dist/components.cjs +2 -2
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +93 -93
- package/dist/components.js.map +1 -1
- package/dist/composables.cjs +2 -0
- package/dist/composables.cjs.map +1 -0
- package/dist/composables.js +5 -0
- package/dist/composables.js.map +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{index-DS1ACWVr.js → index-3k1IXN1T.js} +244 -226
- package/dist/index-3k1IXN1T.js.map +1 -0
- package/dist/index-DlWUR7vt.cjs +7 -0
- package/dist/index-DlWUR7vt.cjs.map +1 -0
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +87 -85
- package/dist/plugins.js.map +1 -1
- package/dist/purify.es-BuxjWxA2.js +554 -0
- package/dist/purify.es-BuxjWxA2.js.map +1 -0
- package/dist/purify.es-d7tb6jjJ.cjs +3 -0
- package/dist/purify.es-d7tb6jjJ.cjs.map +1 -0
- package/dist/{settings-DCxXjkio.js → settings-DRNFiuf0.js} +2 -2
- package/dist/{settings-DCxXjkio.js.map → settings-DRNFiuf0.js.map} +1 -1
- package/dist/{settings-zRw8EylV.cjs → settings-s8NuYKD-.cjs} +2 -2
- package/dist/{settings-zRw8EylV.cjs.map → settings-s8NuYKD-.cjs.map} +1 -1
- package/dist/tools/admin.cjs +5 -5
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +605 -849
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.js +6 -6
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +9 -9
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +925 -894
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/useContainerHeight-BAw05dIa.js +11 -0
- package/dist/useContainerHeight-BAw05dIa.js.map +1 -0
- package/dist/useContainerHeight-BEd4f2Lr.cjs +2 -0
- package/dist/useContainerHeight-BEd4f2Lr.cjs.map +1 -0
- package/dist/util.cjs +1 -1
- package/dist/util.js +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +64 -64
- package/package.json +23 -25
- package/dist/CriticalCmdDialog-CnNlsHRX.js.map +0 -1
- package/dist/CriticalCmdDialog-niBmkudw.cjs.map +0 -1
- package/dist/CustomIcon-Bop2mEnu.cjs +0 -2
- package/dist/DetailsDialog-BNCS3QAe.js.map +0 -1
- package/dist/DetailsDialog-DgN9Jcio.cjs +0 -2
- package/dist/DetailsDialog-DgN9Jcio.cjs.map +0 -1
- package/dist/EventListDialog-B8rnN9Zi.cjs +0 -2
- package/dist/EventListDialog-B8rnN9Zi.cjs.map +0 -1
- package/dist/EventListDialog-C2pwmD0d.js.map +0 -1
- package/dist/Graph-BliBYJxD.js.map +0 -1
- package/dist/Graph-DxC2MPYf.cjs +0 -2
- package/dist/Graph-DxC2MPYf.cjs.map +0 -1
- package/dist/Layout-DvBekli8.cjs +0 -2
- package/dist/Openc3Screen-CD3C_EUo.cjs +0 -6
- package/dist/Openc3Screen-CD3C_EUo.cjs.map +0 -1
- package/dist/Openc3Screen-Cqm5Xtd-.js.map +0 -1
- package/dist/PluginsTab-C7PH2Wym.js.map +0 -1
- package/dist/PluginsTab-xzPlEMYj.cjs +0 -6
- package/dist/PluginsTab-xzPlEMYj.cjs.map +0 -1
- package/dist/ScriptChooser-ahp4Tu3O.js.map +0 -1
- package/dist/ScriptChooser-ma6P0WuM.cjs +0 -2
- package/dist/ScriptChooser-ma6P0WuM.cjs.map +0 -1
- package/dist/SimpleTextDialog-BCNn5FZh.cjs.map +0 -1
- package/dist/SimpleTextDialog-D2mEDvGY.js.map +0 -1
- package/dist/TargetPacketItemChooser-CAl-fNql.cjs +0 -2
- package/dist/TargetPacketItemChooser-CAl-fNql.cjs.map +0 -1
- package/dist/TargetPacketItemChooser-CXpSx-eA.js.map +0 -1
- package/dist/TopBar-B48yYbtR.js +0 -296
- package/dist/TopBar-B48yYbtR.js.map +0 -1
- package/dist/TopBar-DLz-U85G.cjs +0 -2
- package/dist/TopBar-DLz-U85G.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs +0 -1498
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js.map +0 -1
- package/dist/VWidget-Cf9MXbCl.cjs +0 -2
- package/dist/VWidget-Cf9MXbCl.cjs.map +0 -1
- package/dist/VWidget-DQGJRgAk.js.map +0 -1
- package/dist/cmdUtilities-BMsSNjt_.js +0 -46
- package/dist/index-DS1ACWVr.js.map +0 -1
- package/dist/index-Nd4O4kac.cjs +0 -7
- package/dist/index-Nd4O4kac.cjs.map +0 -1
- package/dist/purify.es-GHnZTJ9O.cjs +0 -3
- package/dist/purify.es-GHnZTJ9O.cjs.map +0 -1
- package/dist/purify.es-eYFoHPwR.js +0 -529
- package/dist/purify.es-eYFoHPwR.js.map +0 -1
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var it = Object.defineProperty;
|
|
2
|
+
var Je = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var B = (t, e,
|
|
8
|
-
import {
|
|
9
|
-
import { resolveComponent as a, createElementBlock as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { T as
|
|
5
|
+
var st = (t, e, n) => e in t ? it(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
6
|
+
var Ne = (t, e, n) => st(t, typeof e != "symbol" ? e + "" : e, n), Ye = (t, e, n) => e.has(t) || Je("Cannot " + n);
|
|
7
|
+
var B = (t, e, n) => (Ye(t, e, "read from private field"), n ? n.call(t) : e.get(t)), W = (t, e, n) => e.has(t) ? Je("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), ne = (t, e, n, r) => (Ye(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
|
|
8
|
+
import { f as M, y as Ie, g as nt } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C3WTK6F-.js";
|
|
9
|
+
import { resolveComponent as a, createElementBlock as D, openBlock as S, createVNode as s, createBlock as U, createCommentVNode as z, withCtx as l, createTextVNode as y, createElementVNode as x, withDirectives as ot, vShow as lt, toDisplayString as L, mergeProps as X, normalizeClass as Ke, inject as oe, getCurrentInstance as rt, computed as Y, ref as ae, watch as Re, onMounted as $e, onBeforeUnmount as et, normalizeStyle as fe, unref as at, renderSlot as dt, useSlots as ut, provide as $, resolveDynamicComponent as ct, nextTick as He, h as mt, withKeys as Se, withModifiers as de, Fragment as ge, renderList as je, normalizeProps as le, guardReactiveProps as re } from "vue";
|
|
10
|
+
import { _ as K } from "../CustomIcon-DTfsnDJn.js";
|
|
11
|
+
import { T as pt } from "../timeFilters-BKnCM4rv.js";
|
|
12
12
|
import "single-spa";
|
|
13
|
-
import { O as
|
|
14
|
-
import { f as
|
|
15
|
-
import { a as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "../
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
import { O as ht, A as ft } from "../OutputDialog-BMzp6wy3.js";
|
|
14
|
+
import { f as Me } from "../format-CVeawcIv.js";
|
|
15
|
+
import { a as gt } from "../index-3k1IXN1T.js";
|
|
16
|
+
import { u as vt } from "../useContainerHeight-BAw05dIa.js";
|
|
17
|
+
import { T as _t, A as Ee } from "../TopBar-B8LJESUg.js";
|
|
18
|
+
import { E as bt, C as wt } from "../ScriptChooser-CbVbI0x-.js";
|
|
19
|
+
import { f as yt } from "../fileIcon-DqRHb1_Z.js";
|
|
20
|
+
import { C as kt } from "../CriticalCmdDialog-CVLyYtng.js";
|
|
21
|
+
import { a as St, O as xt, F as Ct } from "../Openc3Screen-iW_gaikc.js";
|
|
22
|
+
import { S as Vt } from "../SimpleTextDialog--iSWgPgq.js";
|
|
23
|
+
import { _ as Et } from "../ClassificationBanners-CS4GUeYv.js";
|
|
24
|
+
import "../purify.es-BuxjWxA2.js";
|
|
25
|
+
import { E as Rt } from "../EventListDialog-BlcxcO8a.js";
|
|
26
|
+
const Mt = {
|
|
27
|
+
components: { OutputDialog: ht },
|
|
28
|
+
mixins: [pt],
|
|
28
29
|
props: {
|
|
29
30
|
tabId: Number,
|
|
30
31
|
curTab: Number,
|
|
@@ -103,7 +104,7 @@ const Et = {
|
|
|
103
104
|
}
|
|
104
105
|
},
|
|
105
106
|
created() {
|
|
106
|
-
this.api = new
|
|
107
|
+
this.api = new Ie(), this.api.get_setting("time_zone").then((t) => {
|
|
107
108
|
t && (this.timeZone = t);
|
|
108
109
|
}).catch((t) => {
|
|
109
110
|
}), this.getRunningScripts(), this.getCompletedScripts(), this.refreshTimer = setInterval(() => {
|
|
@@ -120,8 +121,8 @@ const Et = {
|
|
|
120
121
|
M.get(
|
|
121
122
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
122
123
|
).then((e) => {
|
|
123
|
-
const
|
|
124
|
-
|
|
124
|
+
const n = e.data.items || [], r = /* @__PURE__ */ new Date();
|
|
125
|
+
n.forEach((i) => {
|
|
125
126
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
126
127
|
const o = new Date(i.start_time), d = r - o;
|
|
127
128
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
@@ -142,7 +143,7 @@ const Et = {
|
|
|
142
143
|
}
|
|
143
144
|
} else
|
|
144
145
|
i.duration = "N/A";
|
|
145
|
-
}), this.runningScripts =
|
|
146
|
+
}), this.runningScripts = n, this.runningTotal = e.data.total || n.length, this.runningLoading = !1;
|
|
146
147
|
}).catch((e) => {
|
|
147
148
|
this.runningLoading = !1, this.$notify.caution({
|
|
148
149
|
title: "Error Loading Running Scripts",
|
|
@@ -162,8 +163,8 @@ const Et = {
|
|
|
162
163
|
M.get(
|
|
163
164
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
164
165
|
).then((e) => {
|
|
165
|
-
const
|
|
166
|
-
|
|
166
|
+
const n = e.data.items || [];
|
|
167
|
+
n.forEach((r) => {
|
|
167
168
|
if (r.user_display = `${r.user_full_name} (${r.username})`, r.start_time && r.end_time) {
|
|
168
169
|
const i = new Date(r.start_time), d = new Date(r.end_time) - i;
|
|
169
170
|
if (r.start_time_formatted = this.formatDateTimeHMS(
|
|
@@ -184,7 +185,7 @@ const Et = {
|
|
|
184
185
|
}
|
|
185
186
|
} else
|
|
186
187
|
r.duration = "N/A";
|
|
187
|
-
}), this.completedScripts =
|
|
188
|
+
}), this.completedScripts = n, this.completedTotal = e.data.total || n.length, this.completedLoading = !1;
|
|
188
189
|
}).catch((e) => {
|
|
189
190
|
this.completedLoading = !1, this.$notify.caution({
|
|
190
191
|
title: "Error Loading Completed Scripts",
|
|
@@ -208,8 +209,8 @@ const Et = {
|
|
|
208
209
|
params: { id: t.name }
|
|
209
210
|
};
|
|
210
211
|
if (this.connectInNewTab) {
|
|
211
|
-
let { href:
|
|
212
|
-
window.open(
|
|
212
|
+
let { href: n } = this.$router.resolve(e);
|
|
213
|
+
window.open(n, "_blank");
|
|
213
214
|
} else
|
|
214
215
|
this.$router.push(e), this.$emit("close");
|
|
215
216
|
},
|
|
@@ -232,19 +233,19 @@ const Et = {
|
|
|
232
233
|
});
|
|
233
234
|
},
|
|
234
235
|
viewScriptLog: function(t, e) {
|
|
235
|
-
let
|
|
236
|
-
e === "report" ? (this.dialogName = "Report",
|
|
236
|
+
let n = null;
|
|
237
|
+
e === "report" ? (this.dialogName = "Report", n = t.report) : (this.dialogName = "Log", n = t.log), M.get(
|
|
237
238
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
238
|
-
|
|
239
|
+
n
|
|
239
240
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
240
241
|
).then((r) => {
|
|
241
|
-
const i =
|
|
242
|
+
const i = n.split("/");
|
|
242
243
|
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(r.data.contents), this.showDialog = !0;
|
|
243
244
|
});
|
|
244
245
|
},
|
|
245
|
-
downloadScriptLog: function(t, e,
|
|
246
|
+
downloadScriptLog: function(t, e, n = "text") {
|
|
246
247
|
let r = null;
|
|
247
|
-
e === "report" ? (this.dialogName = "Report", r = t.report) : (this.dialogName = "Log", r = t.log), this.downloadScript = t,
|
|
248
|
+
e === "report" ? (this.dialogName = "Report", r = t.report) : (this.dialogName = "Log", r = t.log), this.downloadScript = t, n === "ctrf" && e === "report" ? M.get(
|
|
248
249
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
249
250
|
r
|
|
250
251
|
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
@@ -273,28 +274,28 @@ const Et = {
|
|
|
273
274
|
});
|
|
274
275
|
}
|
|
275
276
|
}
|
|
276
|
-
},
|
|
277
|
-
function
|
|
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"),
|
|
279
|
-
return S(),
|
|
280
|
-
|
|
277
|
+
}, Ot = { key: 0 }, Tt = { key: 1 };
|
|
278
|
+
function It(t, e, n, r, i, o) {
|
|
279
|
+
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"), P = a("v-list-item"), G = a("v-list"), Q = a("v-menu"), te = a("v-window"), j = a("v-card"), ie = a("output-dialog");
|
|
280
|
+
return S(), D("div", null, [
|
|
281
|
+
s(j, {
|
|
281
282
|
flat: "",
|
|
282
283
|
class: "tab-card"
|
|
283
284
|
}, {
|
|
284
285
|
default: l(() => [
|
|
285
|
-
|
|
286
|
+
s(h, {
|
|
286
287
|
modelValue: i.activeTab,
|
|
287
288
|
"onUpdate:modelValue": e[0] || (e[0] = (I) => i.activeTab = I),
|
|
288
289
|
"bg-color": "var(--color-background-base-default)"
|
|
289
290
|
}, {
|
|
290
291
|
default: l(() => [
|
|
291
|
-
|
|
292
|
+
s(d, { value: "running" }, {
|
|
292
293
|
default: l(() => [...e[6] || (e[6] = [
|
|
293
294
|
y("Running Scripts", -1)
|
|
294
295
|
])]),
|
|
295
296
|
_: 1
|
|
296
297
|
}),
|
|
297
|
-
|
|
298
|
+
s(d, { value: "completed" }, {
|
|
298
299
|
default: l(() => [...e[7] || (e[7] = [
|
|
299
300
|
y("Completed Scripts", -1)
|
|
300
301
|
])]),
|
|
@@ -303,19 +304,19 @@ function Ot(t, e, s, r, i, o) {
|
|
|
303
304
|
]),
|
|
304
305
|
_: 1
|
|
305
306
|
}, 8, ["modelValue"]),
|
|
306
|
-
|
|
307
|
+
s(te, {
|
|
307
308
|
modelValue: i.activeTab,
|
|
308
309
|
"onUpdate:modelValue": e[3] || (e[3] = (I) => i.activeTab = I)
|
|
309
310
|
}, {
|
|
310
311
|
default: l(() => [
|
|
311
|
-
|
|
312
|
+
s(T, { value: "running" }, {
|
|
312
313
|
default: l(() => [
|
|
313
|
-
|
|
314
|
+
s(w, null, {
|
|
314
315
|
default: l(() => [
|
|
315
|
-
|
|
316
|
+
s(V, { dense: "" }, {
|
|
316
317
|
default: l(() => [
|
|
317
|
-
|
|
318
|
-
|
|
318
|
+
s(c),
|
|
319
|
+
s(b, {
|
|
319
320
|
class: "mr-3",
|
|
320
321
|
color: "primary",
|
|
321
322
|
onClick: o.getRunningScripts
|
|
@@ -325,7 +326,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
325
326
|
])]),
|
|
326
327
|
_: 1
|
|
327
328
|
}, 8, ["onClick"]),
|
|
328
|
-
|
|
329
|
+
s(k, {
|
|
329
330
|
modelValue: i.runningSearch,
|
|
330
331
|
"onUpdate:modelValue": e[1] || (e[1] = (I) => i.runningSearch = I),
|
|
331
332
|
class: "pt-0 search",
|
|
@@ -345,7 +346,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
345
346
|
]),
|
|
346
347
|
_: 1
|
|
347
348
|
}),
|
|
348
|
-
|
|
349
|
+
s(E, {
|
|
349
350
|
headers: i.runningHeaders,
|
|
350
351
|
items: i.runningScripts,
|
|
351
352
|
"items-length": i.runningTotal,
|
|
@@ -361,7 +362,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
361
362
|
"onUpdate:itemsPerPage": o.updateRunningItemsPerPage
|
|
362
363
|
}, {
|
|
363
364
|
"item.name": l(({ item: I }) => [
|
|
364
|
-
|
|
365
|
+
s(b, {
|
|
365
366
|
color: "primary",
|
|
366
367
|
density: "comfortable",
|
|
367
368
|
onClick: (F) => o.showScript(I)
|
|
@@ -373,32 +374,32 @@ function Ot(t, e, s, r, i, o) {
|
|
|
373
374
|
}, 1032, ["onClick"])
|
|
374
375
|
]),
|
|
375
376
|
"item.connect": l(({ item: I }) => [
|
|
376
|
-
|
|
377
|
+
s(b, {
|
|
377
378
|
color: "primary",
|
|
378
379
|
onClick: (F) => o.connectScript(I)
|
|
379
380
|
}, {
|
|
380
381
|
default: l(() => [
|
|
381
382
|
e[10] || (e[10] = x("span", null, "Connect", -1)),
|
|
382
|
-
|
|
383
|
+
ot(s(R, { end: "" }, {
|
|
383
384
|
default: l(() => [...e[9] || (e[9] = [
|
|
384
385
|
y(" mdi-open-in-new ", -1)
|
|
385
386
|
])]),
|
|
386
387
|
_: 1
|
|
387
388
|
}, 512), [
|
|
388
|
-
[
|
|
389
|
+
[lt, n.connectInNewTab]
|
|
389
390
|
])
|
|
390
391
|
]),
|
|
391
392
|
_: 1
|
|
392
393
|
}, 8, ["onClick"])
|
|
393
394
|
]),
|
|
394
395
|
"item.stop": l(({ item: I }) => [
|
|
395
|
-
|
|
396
|
+
s(b, {
|
|
396
397
|
color: "primary",
|
|
397
398
|
onClick: (F) => o.deleteScript(I)
|
|
398
399
|
}, {
|
|
399
400
|
default: l(() => [
|
|
400
401
|
e[12] || (e[12] = x("span", null, "Stop", -1)),
|
|
401
|
-
|
|
402
|
+
s(R, { end: "" }, {
|
|
402
403
|
default: l(() => [...e[11] || (e[11] = [
|
|
403
404
|
y(" mdi-close-circle-outline ", -1)
|
|
404
405
|
])]),
|
|
@@ -413,14 +414,14 @@ function Ot(t, e, s, r, i, o) {
|
|
|
413
414
|
]),
|
|
414
415
|
_: 1
|
|
415
416
|
}),
|
|
416
|
-
|
|
417
|
+
s(T, { value: "completed" }, {
|
|
417
418
|
default: l(() => [
|
|
418
|
-
|
|
419
|
+
s(w, null, {
|
|
419
420
|
default: l(() => [
|
|
420
|
-
|
|
421
|
+
s(V, { dense: "" }, {
|
|
421
422
|
default: l(() => [
|
|
422
|
-
|
|
423
|
-
|
|
423
|
+
s(c),
|
|
424
|
+
s(b, {
|
|
424
425
|
class: "mr-3",
|
|
425
426
|
color: "primary",
|
|
426
427
|
onClick: o.getCompletedScripts
|
|
@@ -430,7 +431,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
430
431
|
])]),
|
|
431
432
|
_: 1
|
|
432
433
|
}, 8, ["onClick"]),
|
|
433
|
-
|
|
434
|
+
s(k, {
|
|
434
435
|
modelValue: i.completedSearch,
|
|
435
436
|
"onUpdate:modelValue": e[2] || (e[2] = (I) => i.completedSearch = I),
|
|
436
437
|
class: "pt-0 search",
|
|
@@ -449,7 +450,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
449
450
|
]),
|
|
450
451
|
_: 1
|
|
451
452
|
}),
|
|
452
|
-
|
|
453
|
+
s(E, {
|
|
453
454
|
headers: i.completedHeaders,
|
|
454
455
|
items: i.completedScripts,
|
|
455
456
|
"items-length": i.completedTotal,
|
|
@@ -465,7 +466,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
465
466
|
"onUpdate:itemsPerPage": o.updateCompletedItemsPerPage
|
|
466
467
|
}, {
|
|
467
468
|
"item.name": l(({ item: I }) => [
|
|
468
|
-
|
|
469
|
+
s(b, {
|
|
469
470
|
color: "primary",
|
|
470
471
|
density: "comfortable",
|
|
471
472
|
onClick: (F) => o.showScript(I)
|
|
@@ -477,13 +478,13 @@ function Ot(t, e, s, r, i, o) {
|
|
|
477
478
|
}, 1032, ["onClick"])
|
|
478
479
|
]),
|
|
479
480
|
"item.log": l(({ item: I }) => [
|
|
480
|
-
|
|
481
|
+
s(b, {
|
|
481
482
|
color: "primary",
|
|
482
483
|
density: "comfortable",
|
|
483
484
|
icon: "mdi-eye",
|
|
484
485
|
onClick: (F) => o.viewScriptLog(I, "log")
|
|
485
486
|
}, null, 8, ["onClick"]),
|
|
486
|
-
|
|
487
|
+
s(b, {
|
|
487
488
|
color: "primary",
|
|
488
489
|
density: "comfortable",
|
|
489
490
|
icon: "mdi-file-download-outline",
|
|
@@ -493,16 +494,16 @@ function Ot(t, e, s, r, i, o) {
|
|
|
493
494
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
494
495
|
]),
|
|
495
496
|
"item.report": l(({ item: I }) => [
|
|
496
|
-
I.report ? (S(),
|
|
497
|
-
|
|
497
|
+
I.report ? (S(), D("div", Tt, [
|
|
498
|
+
s(b, {
|
|
498
499
|
color: "primary",
|
|
499
500
|
density: "comfortable",
|
|
500
501
|
icon: "mdi-eye",
|
|
501
502
|
onClick: (F) => o.viewScriptLog(I, "report")
|
|
502
503
|
}, null, 8, ["onClick"]),
|
|
503
|
-
|
|
504
|
+
s(Q, null, {
|
|
504
505
|
activator: l(({ props: F }) => [
|
|
505
|
-
|
|
506
|
+
s(b, X({
|
|
506
507
|
color: "primary",
|
|
507
508
|
density: "comfortable",
|
|
508
509
|
icon: "mdi-file-download-outline",
|
|
@@ -511,13 +512,13 @@ function Ot(t, e, s, r, i, o) {
|
|
|
511
512
|
}, F), null, 16, ["disabled", "loading"])
|
|
512
513
|
]),
|
|
513
514
|
default: l(() => [
|
|
514
|
-
|
|
515
|
+
s(G, null, {
|
|
515
516
|
default: l(() => [
|
|
516
|
-
|
|
517
|
+
s(P, {
|
|
517
518
|
onClick: (F) => o.downloadScriptLog(I, "report", "text")
|
|
518
519
|
}, {
|
|
519
520
|
default: l(() => [
|
|
520
|
-
|
|
521
|
+
s(_, null, {
|
|
521
522
|
default: l(() => [...e[15] || (e[15] = [
|
|
522
523
|
y("Download as Text", -1)
|
|
523
524
|
])]),
|
|
@@ -526,11 +527,11 @@ function Ot(t, e, s, r, i, o) {
|
|
|
526
527
|
]),
|
|
527
528
|
_: 1
|
|
528
529
|
}, 8, ["onClick"]),
|
|
529
|
-
|
|
530
|
+
s(P, {
|
|
530
531
|
onClick: (F) => o.downloadScriptLog(I, "report", "ctrf")
|
|
531
532
|
}, {
|
|
532
533
|
default: l(() => [
|
|
533
|
-
|
|
534
|
+
s(_, null, {
|
|
534
535
|
default: l(() => [...e[16] || (e[16] = [
|
|
535
536
|
y("Download as CTRF", -1)
|
|
536
537
|
])]),
|
|
@@ -545,7 +546,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
545
546
|
]),
|
|
546
547
|
_: 2
|
|
547
548
|
}, 1024)
|
|
548
|
-
])) : (S(),
|
|
549
|
+
])) : (S(), D("div", Ot, [...e[14] || (e[14] = [
|
|
549
550
|
x("span", null, "N/A", -1)
|
|
550
551
|
])]))
|
|
551
552
|
]),
|
|
@@ -560,7 +561,7 @@ function Ot(t, e, s, r, i, o) {
|
|
|
560
561
|
]),
|
|
561
562
|
_: 1
|
|
562
563
|
}),
|
|
563
|
-
i.showDialog ? (S(),
|
|
564
|
+
i.showDialog ? (S(), U(ie, {
|
|
564
565
|
key: 0,
|
|
565
566
|
modelValue: i.showDialog,
|
|
566
567
|
"onUpdate:modelValue": e[4] || (e[4] = (I) => i.showDialog = I),
|
|
@@ -569,10 +570,10 @@ function Ot(t, e, s, r, i, o) {
|
|
|
569
570
|
name: i.dialogName,
|
|
570
571
|
filename: i.dialogFilename,
|
|
571
572
|
onSubmit: e[5] || (e[5] = (I) => i.showDialog = !1)
|
|
572
|
-
}, null, 8, ["modelValue", "content", "name", "filename"])) :
|
|
573
|
+
}, null, 8, ["modelValue", "content", "name", "filename"])) : z("", !0)
|
|
573
574
|
]);
|
|
574
575
|
}
|
|
575
|
-
const
|
|
576
|
+
const Ut = /* @__PURE__ */ K(Mt, [["render", It]]), Dt = {
|
|
576
577
|
props: {
|
|
577
578
|
modelValue: {
|
|
578
579
|
type: Array,
|
|
@@ -613,11 +614,11 @@ const Tt = /* @__PURE__ */ j(Et, [["render", Ot]]), It = {
|
|
|
613
614
|
const t = this.messages.map((r) => r.message).join(`
|
|
614
615
|
`), e = new Blob([t], {
|
|
615
616
|
type: "text/plain"
|
|
616
|
-
}),
|
|
617
|
-
|
|
617
|
+
}), n = document.createElement("a");
|
|
618
|
+
n.href = URL.createObjectURL(e), n.setAttribute(
|
|
618
619
|
"download",
|
|
619
|
-
|
|
620
|
-
),
|
|
620
|
+
Me(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
|
|
621
|
+
), n.click();
|
|
621
622
|
},
|
|
622
623
|
clearLog: function() {
|
|
623
624
|
this.$dialog.confirm("Are you sure you want to clear the log?", {
|
|
@@ -630,13 +631,13 @@ const Tt = /* @__PURE__ */ j(Et, [["render", Ot]]), It = {
|
|
|
630
631
|
}
|
|
631
632
|
}
|
|
632
633
|
};
|
|
633
|
-
function
|
|
634
|
+
function Pt(t, e, n, r, i, o) {
|
|
634
635
|
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(),
|
|
636
|
+
return S(), U(R, { class: "d-flex flex-column h-100" }, {
|
|
636
637
|
default: l(() => [
|
|
637
|
-
|
|
638
|
+
s(k, { class: "d-flex align-center" }, {
|
|
638
639
|
default: l(() => [
|
|
639
|
-
|
|
640
|
+
s(d, {
|
|
640
641
|
class: "mx-2",
|
|
641
642
|
icon: "mdi-download",
|
|
642
643
|
variant: "text",
|
|
@@ -646,8 +647,8 @@ function Dt(t, e, s, r, i, o) {
|
|
|
646
647
|
onClick: o.downloadLog
|
|
647
648
|
}, null, 8, ["onClick"]),
|
|
648
649
|
e[2] || (e[2] = y(" Script Messages ", -1)),
|
|
649
|
-
|
|
650
|
-
|
|
650
|
+
s(h),
|
|
651
|
+
s(c, {
|
|
651
652
|
modelValue: i.messageOrder,
|
|
652
653
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.messageOrder = E),
|
|
653
654
|
density: "compact",
|
|
@@ -658,8 +659,8 @@ function Dt(t, e, s, r, i, o) {
|
|
|
658
659
|
style: { "max-width": "200px" },
|
|
659
660
|
"data-test": "message-order"
|
|
660
661
|
}, null, 8, ["modelValue", "items"]),
|
|
661
|
-
|
|
662
|
-
|
|
662
|
+
s(h),
|
|
663
|
+
s(b, {
|
|
663
664
|
modelValue: i.search,
|
|
664
665
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.search = E),
|
|
665
666
|
label: "Search",
|
|
@@ -672,7 +673,7 @@ function Dt(t, e, s, r, i, o) {
|
|
|
672
673
|
class: "search",
|
|
673
674
|
"data-test": "search-messages"
|
|
674
675
|
}, null, 8, ["modelValue"]),
|
|
675
|
-
|
|
676
|
+
s(d, {
|
|
676
677
|
class: "mx-2",
|
|
677
678
|
icon: "mdi-delete-sweep",
|
|
678
679
|
variant: "text",
|
|
@@ -684,11 +685,10 @@ function Dt(t, e, s, r, i, o) {
|
|
|
684
685
|
]),
|
|
685
686
|
_: 1
|
|
686
687
|
}),
|
|
687
|
-
|
|
688
|
+
s(w, { class: "overflow-auto" }, {
|
|
688
689
|
default: l(() => [
|
|
689
|
-
|
|
690
|
+
s(V, {
|
|
690
691
|
id: "script-log-messages",
|
|
691
|
-
style: { overflow: "auto" },
|
|
692
692
|
headers: i.headers,
|
|
693
693
|
items: o.messages,
|
|
694
694
|
search: i.search,
|
|
@@ -699,7 +699,7 @@ function Dt(t, e, s, r, i, o) {
|
|
|
699
699
|
}, {
|
|
700
700
|
"item.message": l(({ item: E }) => [
|
|
701
701
|
x("div", {
|
|
702
|
-
class:
|
|
702
|
+
class: Ke(o.messageClass(E.message))
|
|
703
703
|
}, L(E.message), 3)
|
|
704
704
|
]),
|
|
705
705
|
_: 1
|
|
@@ -711,7 +711,7 @@ function Dt(t, e, s, r, i, o) {
|
|
|
711
711
|
_: 1
|
|
712
712
|
});
|
|
713
713
|
}
|
|
714
|
-
const
|
|
714
|
+
const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
715
715
|
__name: "splitpanes",
|
|
716
716
|
props: {
|
|
717
717
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -734,7 +734,7 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
734
734
|
"splitter-dblclick"
|
|
735
735
|
],
|
|
736
736
|
setup(t, { emit: e }) {
|
|
737
|
-
const
|
|
737
|
+
const n = e, r = t, i = ut(), 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({
|
|
738
738
|
mouseDown: !1,
|
|
739
739
|
dragging: !1,
|
|
740
740
|
activeSplitter: null,
|
|
@@ -748,9 +748,9 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
748
748
|
[`splitpanes splitpanes--${r.horizontal ? "horizontal" : "vertical"}`]: !0,
|
|
749
749
|
"splitpanes--dragging": k.value.dragging
|
|
750
750
|
})), R = () => {
|
|
751
|
-
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup",
|
|
751
|
+
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", P), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", P));
|
|
752
752
|
}, E = () => {
|
|
753
|
-
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup",
|
|
753
|
+
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", P), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", P));
|
|
754
754
|
}, T = (u, p) => {
|
|
755
755
|
const v = u.target.closest(".splitpanes__splitter");
|
|
756
756
|
if (v) {
|
|
@@ -760,9 +760,9 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
760
760
|
R(), k.value.mouseDown = !0, k.value.activeSplitter = p;
|
|
761
761
|
}, _ = (u) => {
|
|
762
762
|
k.value.mouseDown && (u.preventDefault(), k.value.dragging = !0, requestAnimationFrame(() => {
|
|
763
|
-
I(
|
|
763
|
+
I(j(u)), N("resize", { event: u }, !0);
|
|
764
764
|
}));
|
|
765
|
-
},
|
|
765
|
+
}, P = (u) => {
|
|
766
766
|
k.value.dragging && (window.getSelection().removeAllRanges(), N("resized", { event: u }, !0)), k.value.mouseDown = !1, k.value.activeSplitter = null, setTimeout(() => {
|
|
767
767
|
k.value.dragging = !1, E();
|
|
768
768
|
}, 100);
|
|
@@ -779,7 +779,7 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
779
779
|
index: d.value[p].index,
|
|
780
780
|
pane: d.value[p]
|
|
781
781
|
});
|
|
782
|
-
},
|
|
782
|
+
}, j = (u) => {
|
|
783
783
|
const p = c.value.getBoundingClientRect(), { clientX: v, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
784
784
|
return {
|
|
785
785
|
x: v - (r.horizontal ? 0 : k.value.cursorOffset) - p.left,
|
|
@@ -792,7 +792,7 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
792
792
|
}, I = (u) => {
|
|
793
793
|
const p = k.value.activeSplitter;
|
|
794
794
|
let v = {
|
|
795
|
-
prevPanesSize:
|
|
795
|
+
prevPanesSize: ue(p),
|
|
796
796
|
nextPanesSize: Z(p),
|
|
797
797
|
prevReachedMinPanes: 0,
|
|
798
798
|
nextReachedMinPanes: 0
|
|
@@ -805,68 +805,68 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
805
805
|
return;
|
|
806
806
|
}
|
|
807
807
|
if (r.pushOtherPanes) {
|
|
808
|
-
const
|
|
809
|
-
if (!
|
|
810
|
-
({ sums: v, panesToResize: O } =
|
|
808
|
+
const We = F(v, C);
|
|
809
|
+
if (!We) return;
|
|
810
|
+
({ sums: v, panesToResize: O } = We), A = o.value[O[0]] || null, H = o.value[O[1]] || null;
|
|
811
811
|
}
|
|
812
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
813
|
}, F = (u, p) => {
|
|
814
814
|
const v = k.value.activeSplitter, f = [v, v + 1];
|
|
815
|
-
return p < u.prevPanesSize + o.value[f[0]].min && (f[0] =
|
|
815
|
+
return p < u.prevPanesSize + o.value[f[0]].min && (f[0] = Ue(v).index, u.prevReachedMinPanes = 0, f[0] < v && o.value.forEach((g, C) => {
|
|
816
816
|
C > f[0] && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
817
|
-
}), u.prevPanesSize =
|
|
817
|
+
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0, o.value[0].size = o.value[0].min, o.value.forEach((g, C) => {
|
|
818
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] =
|
|
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] = xe(v).index, u.nextReachedMinPanes = 0, f[1] > v + 1 && o.value.forEach((g, C) => {
|
|
820
820
|
C > v && C < f[1] && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
821
821
|
}), u.nextPanesSize = Z(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0, o.value.forEach((g, C) => {
|
|
822
822
|
C < h.value - 1 && C >= v + 1 && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
823
823
|
}), o.value[f[0]].size = 100 - u.prevPanesSize - Z(f[0] - 1), null) : { sums: u, panesToResize: f };
|
|
824
|
-
},
|
|
824
|
+
}, ue = (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), Ue = (u) => [...o.value].reverse().find((p) => p.index < u && p.size > p.min) || {}, xe = (u) => o.value.find((p) => p.index > u + 1 && p.size > p.min) || {}, De = () => {
|
|
825
825
|
var u;
|
|
826
826
|
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
827
827
|
for (const v of p) {
|
|
828
828
|
const f = v.classList.contains("splitpanes__pane"), g = v.classList.contains("splitpanes__splitter");
|
|
829
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."));
|
|
830
830
|
}
|
|
831
|
-
},
|
|
831
|
+
}, ce = (u, p, v = !1) => {
|
|
832
832
|
const f = u - 1, g = document.createElement("div");
|
|
833
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
|
-
},
|
|
834
|
+
}, Ce = (u) => {
|
|
835
835
|
u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
|
|
836
836
|
}, se = () => {
|
|
837
837
|
var u;
|
|
838
838
|
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
839
839
|
for (const f of p)
|
|
840
|
-
f.className.includes("splitpanes__splitter") &&
|
|
840
|
+
f.className.includes("splitpanes__splitter") && Ce(f);
|
|
841
841
|
let v = 0;
|
|
842
842
|
for (const f of p)
|
|
843
|
-
f.className.includes("splitpanes__pane") && (!v && r.firstSplitter ?
|
|
844
|
-
},
|
|
843
|
+
f.className.includes("splitpanes__pane") && (!v && r.firstSplitter ? ce(v, f, !0) : v && ce(v, f), v++);
|
|
844
|
+
}, Ve = ({ uid: u, ...p }) => {
|
|
845
845
|
const v = d.value[u];
|
|
846
846
|
for (const [f, g] of Object.entries(p)) v[f] = g;
|
|
847
|
-
},
|
|
847
|
+
}, Pe = (u) => {
|
|
848
848
|
var p;
|
|
849
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 &&
|
|
851
|
-
se(),
|
|
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 && He(() => {
|
|
851
|
+
se(), me({ addedPane: o.value[v] }), N("pane-add", { pane: o.value[v] });
|
|
852
852
|
});
|
|
853
|
-
},
|
|
853
|
+
}, ze = (u) => {
|
|
854
854
|
const p = o.value.findIndex((f) => f.id === u);
|
|
855
855
|
o.value[p].el = null;
|
|
856
856
|
const v = o.value.splice(p, 1)[0];
|
|
857
|
-
o.value.forEach((f, g) => f.index = g),
|
|
858
|
-
se(), N("pane-remove", { pane: v }),
|
|
857
|
+
o.value.forEach((f, g) => f.index = g), He(() => {
|
|
858
|
+
se(), N("pane-remove", { pane: v }), me({ removedPane: { ...v } });
|
|
859
859
|
});
|
|
860
|
-
},
|
|
861
|
-
!u.addedPane && !u.removedPane ?
|
|
862
|
-
},
|
|
860
|
+
}, me = (u = {}) => {
|
|
861
|
+
!u.addedPane && !u.removedPane ? Ae() : o.value.some((p) => p.givenSize !== null || p.min || p.max < 100) ? Fe(u) : Le(), b.value && N("resized");
|
|
862
|
+
}, Le = () => {
|
|
863
863
|
const u = 100 / h.value;
|
|
864
864
|
let p = 0;
|
|
865
865
|
const v = [], f = [];
|
|
866
866
|
for (const g of o.value)
|
|
867
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 &&
|
|
869
|
-
},
|
|
868
|
+
p > 0.1 && pe(p, v, f);
|
|
869
|
+
}, Ae = () => {
|
|
870
870
|
let u = 100;
|
|
871
871
|
const p = [], v = [];
|
|
872
872
|
let f = 0;
|
|
@@ -876,9 +876,9 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
876
876
|
if (u > 0.1) {
|
|
877
877
|
for (const C of o.value)
|
|
878
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 &&
|
|
879
|
+
g > 0.1 && pe(g, p, v);
|
|
880
880
|
}
|
|
881
|
-
},
|
|
881
|
+
}, Fe = ({ addedPane: u, removedPane: p } = {}) => {
|
|
882
882
|
let v = 100 / h.value, f = 0;
|
|
883
883
|
const g = [], C = [];
|
|
884
884
|
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (h.value - 1));
|
|
@@ -887,9 +887,9 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
887
887
|
if (!(Math.abs(f) < 0.1)) {
|
|
888
888
|
for (const O of o.value)
|
|
889
889
|
(u == null ? void 0 : u.givenSize) !== null && (u == null ? void 0 : u.id) === O.id || (O.size = Math.max(Math.min(v, O.max), O.min)), f -= O.size, O.size >= O.max && g.push(O.id), O.size <= O.min && C.push(O.id);
|
|
890
|
-
f > 0.1 &&
|
|
890
|
+
f > 0.1 && pe(f, g, C);
|
|
891
891
|
}
|
|
892
|
-
},
|
|
892
|
+
}, pe = (u, p, v) => {
|
|
893
893
|
let f;
|
|
894
894
|
u > 0 ? f = u / (h.value - p.length) : f = u / (h.value - v.length), o.value.forEach((g, C) => {
|
|
895
895
|
if (u > 0 && !p.includes(g.id)) {
|
|
@@ -899,12 +899,12 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
899
899
|
const O = Math.max(Math.min(g.size + f, g.max), g.min), A = O - g.size;
|
|
900
900
|
u -= A, g.size = O;
|
|
901
901
|
}
|
|
902
|
-
}), Math.abs(u) > 0.1 &&
|
|
902
|
+
}), Math.abs(u) > 0.1 && He(() => {
|
|
903
903
|
b.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
904
904
|
});
|
|
905
905
|
}, N = (u, p = void 0, v = !1) => {
|
|
906
906
|
const f = (p == null ? void 0 : p.index) ?? k.value.activeSplitter ?? null;
|
|
907
|
-
|
|
907
|
+
n(u, {
|
|
908
908
|
...p,
|
|
909
909
|
...f !== null && { index: f },
|
|
910
910
|
...v && f !== null && {
|
|
@@ -914,20 +914,20 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
914
914
|
panes: o.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
915
915
|
});
|
|
916
916
|
};
|
|
917
|
-
|
|
918
|
-
De(), se(),
|
|
919
|
-
}),
|
|
920
|
-
const
|
|
917
|
+
Re(() => r.firstSplitter, () => se()), $e(() => {
|
|
918
|
+
De(), se(), me(), N("ready"), b.value = !0;
|
|
919
|
+
}), et(() => b.value = !1);
|
|
920
|
+
const Be = () => {
|
|
921
921
|
var u;
|
|
922
|
-
return
|
|
922
|
+
return mt(
|
|
923
923
|
"div",
|
|
924
924
|
{ ref: c, class: w.value },
|
|
925
925
|
(u = i.default) == null ? void 0 : u.call(i)
|
|
926
926
|
);
|
|
927
927
|
};
|
|
928
|
-
return $("panes", o), $("indexedPanes", d), $("horizontal", Y(() => r.horizontal)), $("requestUpdate",
|
|
928
|
+
return $("panes", o), $("indexedPanes", d), $("horizontal", Y(() => r.horizontal)), $("requestUpdate", Ve), $("onPaneAdd", Pe), $("onPaneRemove", ze), $("onPaneClick", te), (u, p) => (S(), U(ct(Be)));
|
|
929
929
|
}
|
|
930
|
-
},
|
|
930
|
+
}, At = {
|
|
931
931
|
__name: "pane",
|
|
932
932
|
props: {
|
|
933
933
|
size: { type: [Number, String] },
|
|
@@ -936,41 +936,41 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
936
936
|
},
|
|
937
937
|
setup(t) {
|
|
938
938
|
var e;
|
|
939
|
-
const
|
|
940
|
-
const _ = isNaN(
|
|
939
|
+
const n = t, r = oe("requestUpdate"), i = oe("onPaneAdd"), o = oe("horizontal"), d = oe("onPaneRemove"), h = oe("onPaneClick"), c = (e = rt()) == null ? void 0 : e.uid, b = oe("indexedPanes"), k = Y(() => b.value[c]), V = ae(null), w = Y(() => {
|
|
940
|
+
const _ = isNaN(n.size) || n.size === void 0 ? 0 : parseFloat(n.size);
|
|
941
941
|
return Math.max(Math.min(_, E.value), R.value);
|
|
942
942
|
}), R = Y(() => {
|
|
943
|
-
const _ = parseFloat(
|
|
943
|
+
const _ = parseFloat(n.minSize);
|
|
944
944
|
return isNaN(_) ? 0 : _;
|
|
945
945
|
}), E = Y(() => {
|
|
946
|
-
const _ = parseFloat(
|
|
946
|
+
const _ = parseFloat(n.maxSize);
|
|
947
947
|
return isNaN(_) ? 100 : _;
|
|
948
948
|
}), T = Y(() => {
|
|
949
949
|
var _;
|
|
950
950
|
return `${o.value ? "height" : "width"}: ${(_ = k.value) == null ? void 0 : _.size}%`;
|
|
951
951
|
});
|
|
952
|
-
return
|
|
952
|
+
return Re(() => w.value, (_) => r({ uid: c, size: _ })), Re(() => R.value, (_) => r({ uid: c, min: _ })), Re(() => E.value, (_) => r({ uid: c, max: _ })), $e(() => {
|
|
953
953
|
i({
|
|
954
954
|
id: c,
|
|
955
955
|
el: V.value,
|
|
956
956
|
min: R.value,
|
|
957
957
|
max: E.value,
|
|
958
958
|
// The given size (useful to know the user intention).
|
|
959
|
-
givenSize:
|
|
959
|
+
givenSize: n.size === void 0 ? null : w.value,
|
|
960
960
|
size: w.value
|
|
961
961
|
// The computed current size at any time.
|
|
962
962
|
});
|
|
963
|
-
}),
|
|
963
|
+
}), et(() => d(c)), (_, P) => (S(), D("div", {
|
|
964
964
|
ref_key: "paneEl",
|
|
965
965
|
ref: V,
|
|
966
966
|
class: "splitpanes__pane",
|
|
967
|
-
onClick:
|
|
968
|
-
style:
|
|
967
|
+
onClick: P[0] || (P[0] = (G) => at(h)(G, _._.uid)),
|
|
968
|
+
style: fe(T.value)
|
|
969
969
|
}, [
|
|
970
|
-
|
|
970
|
+
dt(_.$slots, "default")
|
|
971
971
|
], 4));
|
|
972
972
|
}
|
|
973
|
-
},
|
|
973
|
+
}, Ft = {
|
|
974
974
|
props: {
|
|
975
975
|
question: {
|
|
976
976
|
type: String,
|
|
@@ -1018,52 +1018,53 @@ const Ut = /* @__PURE__ */ j(It, [["render", Dt]]), Pt = {
|
|
|
1018
1018
|
this.$emit("response", "Cancel");
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
},
|
|
1022
|
-
function
|
|
1021
|
+
}, Bt = { class: "pa-2" }, Nt = { class: "question" };
|
|
1022
|
+
function Ht(t, e, n, r, i, o) {
|
|
1023
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(),
|
|
1024
|
+
return S(), U(E, {
|
|
1025
1025
|
modelValue: o.show,
|
|
1026
1026
|
"onUpdate:modelValue": e[2] || (e[2] = (T) => o.show = T),
|
|
1027
1027
|
persistent: "",
|
|
1028
|
-
width: "600"
|
|
1028
|
+
width: "600",
|
|
1029
|
+
onKeydown: Se(o.cancelHandler, ["esc"])
|
|
1029
1030
|
}, {
|
|
1030
1031
|
default: l(() => [
|
|
1031
|
-
|
|
1032
|
+
s(R, null, {
|
|
1032
1033
|
default: l(() => [
|
|
1033
|
-
|
|
1034
|
+
s(w, {
|
|
1034
1035
|
modelValue: i.valid,
|
|
1035
1036
|
"onUpdate:modelValue": e[1] || (e[1] = (T) => i.valid = T),
|
|
1036
|
-
onSubmit:
|
|
1037
|
+
onSubmit: de(o.submitHandler, ["prevent"])
|
|
1037
1038
|
}, {
|
|
1038
1039
|
default: l(() => [
|
|
1039
|
-
|
|
1040
|
+
s(h, { height: "24" }, {
|
|
1040
1041
|
default: l(() => [
|
|
1041
|
-
|
|
1042
|
+
s(d),
|
|
1042
1043
|
e[3] || (e[3] = x("span", null, " User Input Required ", -1)),
|
|
1043
|
-
|
|
1044
|
+
s(d)
|
|
1044
1045
|
]),
|
|
1045
1046
|
_: 1
|
|
1046
1047
|
}),
|
|
1047
|
-
x("div",
|
|
1048
|
-
|
|
1048
|
+
x("div", Bt, [
|
|
1049
|
+
s(b, null, {
|
|
1049
1050
|
default: l(() => [
|
|
1050
|
-
x("div",
|
|
1051
|
-
|
|
1051
|
+
x("div", Nt, L(n.question), 1),
|
|
1052
|
+
s(c, {
|
|
1052
1053
|
modelValue: i.inputValue,
|
|
1053
1054
|
"onUpdate:modelValue": e[0] || (e[0] = (T) => i.inputValue = T),
|
|
1054
1055
|
autofocus: "",
|
|
1055
1056
|
"data-test": "ask-value-input",
|
|
1056
|
-
type:
|
|
1057
|
+
type: n.password ? "password" : "text",
|
|
1057
1058
|
rules: i.rules
|
|
1058
1059
|
}, null, 8, ["modelValue", "type", "rules"])
|
|
1059
1060
|
]),
|
|
1060
1061
|
_: 1
|
|
1061
1062
|
})
|
|
1062
1063
|
]),
|
|
1063
|
-
|
|
1064
|
+
s(V, { class: "px-2" }, {
|
|
1064
1065
|
default: l(() => [
|
|
1065
|
-
|
|
1066
|
-
|
|
1066
|
+
s(d),
|
|
1067
|
+
s(k, {
|
|
1067
1068
|
variant: "outlined",
|
|
1068
1069
|
"data-test": "ask-cancel",
|
|
1069
1070
|
onClick: o.cancelHandler
|
|
@@ -1073,12 +1074,12 @@ function Bt(t, e, s, r, i, o) {
|
|
|
1073
1074
|
])]),
|
|
1074
1075
|
_: 1
|
|
1075
1076
|
}, 8, ["onClick"]),
|
|
1076
|
-
|
|
1077
|
+
s(k, {
|
|
1077
1078
|
variant: "flat",
|
|
1078
1079
|
type: "submit",
|
|
1079
1080
|
"data-test": "ask-ok",
|
|
1080
1081
|
disabled: !i.valid,
|
|
1081
|
-
onClick:
|
|
1082
|
+
onClick: de(o.submitHandler, ["prevent"])
|
|
1082
1083
|
}, {
|
|
1083
1084
|
default: l(() => [...e[5] || (e[5] = [
|
|
1084
1085
|
y(" Ok ", -1)
|
|
@@ -1096,9 +1097,9 @@ function Bt(t, e, s, r, i, o) {
|
|
|
1096
1097
|
})
|
|
1097
1098
|
]),
|
|
1098
1099
|
_: 1
|
|
1099
|
-
}, 8, ["modelValue"]);
|
|
1100
|
+
}, 8, ["modelValue", "onKeydown"]);
|
|
1100
1101
|
}
|
|
1101
|
-
const
|
|
1102
|
+
const Gt = /* @__PURE__ */ K(Ft, [["render", Ht], ["__scopeId", "data-v-eeaa2f66"]]), qt = {
|
|
1102
1103
|
props: {
|
|
1103
1104
|
title: {
|
|
1104
1105
|
type: String,
|
|
@@ -1145,63 +1146,64 @@ const Nt = /* @__PURE__ */ j(Lt, [["render", Bt], ["__scopeId", "data-v-ae138b51
|
|
|
1145
1146
|
this.$emit("response", "Cancel");
|
|
1146
1147
|
}
|
|
1147
1148
|
}
|
|
1148
|
-
},
|
|
1149
|
-
function
|
|
1149
|
+
}, Kt = { class: "pa-2" }, jt = { class: "title" }, Wt = ["textContent"];
|
|
1150
|
+
function Jt(t, e, n, r, i, o) {
|
|
1150
1151
|
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(),
|
|
1152
|
+
return S(), U(T, {
|
|
1152
1153
|
modelValue: o.show,
|
|
1153
1154
|
"onUpdate:modelValue": e[2] || (e[2] = (_) => o.show = _),
|
|
1154
1155
|
persistent: "",
|
|
1155
|
-
width: "600"
|
|
1156
|
+
width: "600",
|
|
1157
|
+
onKeydown: Se(o.cancelHandler, ["esc"])
|
|
1156
1158
|
}, {
|
|
1157
1159
|
default: l(() => [
|
|
1158
|
-
|
|
1160
|
+
s(E, null, {
|
|
1159
1161
|
default: l(() => [
|
|
1160
|
-
|
|
1162
|
+
s(R, {
|
|
1161
1163
|
modelValue: i.valid,
|
|
1162
1164
|
"onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
|
|
1163
|
-
onSubmit:
|
|
1165
|
+
onSubmit: de(o.submitHandler, ["prevent"])
|
|
1164
1166
|
}, {
|
|
1165
1167
|
default: l(() => [
|
|
1166
|
-
|
|
1168
|
+
s(h, { height: "24" }, {
|
|
1167
1169
|
default: l(() => [
|
|
1168
|
-
|
|
1170
|
+
s(d),
|
|
1169
1171
|
e[3] || (e[3] = x("span", null, " File Dialog ", -1)),
|
|
1170
|
-
|
|
1172
|
+
s(d)
|
|
1171
1173
|
]),
|
|
1172
1174
|
_: 1
|
|
1173
1175
|
}),
|
|
1174
|
-
x("div",
|
|
1175
|
-
|
|
1176
|
+
x("div", Kt, [
|
|
1177
|
+
s(k, null, {
|
|
1176
1178
|
default: l(() => [
|
|
1177
|
-
|
|
1179
|
+
s(c, null, {
|
|
1178
1180
|
default: l(() => [
|
|
1179
|
-
x("span",
|
|
1181
|
+
x("span", jt, L(n.title), 1)
|
|
1180
1182
|
]),
|
|
1181
1183
|
_: 1
|
|
1182
1184
|
}),
|
|
1183
|
-
|
|
1185
|
+
n.message ? (S(), U(c, { key: 0 }, {
|
|
1184
1186
|
default: l(() => [
|
|
1185
1187
|
x("span", {
|
|
1186
1188
|
class: "ma-3",
|
|
1187
1189
|
style: { "white-space": "pre-line" },
|
|
1188
|
-
textContent: L(
|
|
1189
|
-
}, null, 8,
|
|
1190
|
+
textContent: L(n.message)
|
|
1191
|
+
}, null, 8, Wt)
|
|
1190
1192
|
]),
|
|
1191
1193
|
_: 1
|
|
1192
|
-
})) :
|
|
1193
|
-
|
|
1194
|
+
})) : z("", !0),
|
|
1195
|
+
s(c, { class: "my-1" }, {
|
|
1194
1196
|
default: l(() => [
|
|
1195
|
-
|
|
1197
|
+
s(b, {
|
|
1196
1198
|
modelValue: i.inputValue,
|
|
1197
1199
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.inputValue = _),
|
|
1198
1200
|
label: "Choose File",
|
|
1199
1201
|
rules: i.rules,
|
|
1200
1202
|
autofocus: "",
|
|
1201
1203
|
"data-test": "file-input",
|
|
1202
|
-
accept:
|
|
1204
|
+
accept: n.filter,
|
|
1203
1205
|
"small-chips": "",
|
|
1204
|
-
multiple:
|
|
1206
|
+
multiple: n.multiple
|
|
1205
1207
|
}, null, 8, ["modelValue", "rules", "accept", "multiple"])
|
|
1206
1208
|
]),
|
|
1207
1209
|
_: 1
|
|
@@ -1210,10 +1212,10 @@ function Kt(t, e, s, r, i, o) {
|
|
|
1210
1212
|
_: 1
|
|
1211
1213
|
})
|
|
1212
1214
|
]),
|
|
1213
|
-
|
|
1215
|
+
s(w, { class: "px-2" }, {
|
|
1214
1216
|
default: l(() => [
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
+
s(d),
|
|
1218
|
+
s(V, {
|
|
1217
1219
|
variant: "outlined",
|
|
1218
1220
|
"data-test": "file-cancel",
|
|
1219
1221
|
onClick: o.cancelHandler
|
|
@@ -1223,12 +1225,12 @@ function Kt(t, e, s, r, i, o) {
|
|
|
1223
1225
|
])]),
|
|
1224
1226
|
_: 1
|
|
1225
1227
|
}, 8, ["onClick"]),
|
|
1226
|
-
|
|
1228
|
+
s(V, {
|
|
1227
1229
|
variant: "flat",
|
|
1228
1230
|
type: "submit",
|
|
1229
1231
|
"data-test": "file-ok",
|
|
1230
1232
|
disabled: !i.valid,
|
|
1231
|
-
onClick:
|
|
1233
|
+
onClick: de(o.submitHandler, ["prevent"])
|
|
1232
1234
|
}, {
|
|
1233
1235
|
default: l(() => [...e[5] || (e[5] = [
|
|
1234
1236
|
y(" Ok ", -1)
|
|
@@ -1246,9 +1248,9 @@ function Kt(t, e, s, r, i, o) {
|
|
|
1246
1248
|
})
|
|
1247
1249
|
]),
|
|
1248
1250
|
_: 1
|
|
1249
|
-
}, 8, ["modelValue"]);
|
|
1251
|
+
}, 8, ["modelValue", "onKeydown"]);
|
|
1250
1252
|
}
|
|
1251
|
-
const
|
|
1253
|
+
const Yt = /* @__PURE__ */ K(qt, [["render", Jt], ["__scopeId", "data-v-6d77dd67"]]), Zt = {
|
|
1252
1254
|
props: {
|
|
1253
1255
|
modelValue: {
|
|
1254
1256
|
type: Boolean,
|
|
@@ -1278,32 +1280,32 @@ const Wt = /* @__PURE__ */ j(Ht, [["render", Kt], ["__scopeId", "data-v-40c2cac1
|
|
|
1278
1280
|
}
|
|
1279
1281
|
},
|
|
1280
1282
|
methods: {}
|
|
1281
|
-
},
|
|
1282
|
-
function
|
|
1283
|
+
}, Xt = ["textContent"], Qt = { class: "pa-2" }, $t = ["textContent"];
|
|
1284
|
+
function ei(t, e, n, r, i, o) {
|
|
1283
1285
|
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(),
|
|
1286
|
+
return S(), U(R, {
|
|
1285
1287
|
modelValue: o.show,
|
|
1286
1288
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => o.show = E),
|
|
1287
|
-
width:
|
|
1289
|
+
width: n.width
|
|
1288
1290
|
}, {
|
|
1289
1291
|
default: l(() => [
|
|
1290
|
-
|
|
1292
|
+
s(w, null, {
|
|
1291
1293
|
default: l(() => [
|
|
1292
|
-
|
|
1294
|
+
s(h, { height: "24" }, {
|
|
1293
1295
|
default: l(() => [
|
|
1294
|
-
|
|
1296
|
+
s(d),
|
|
1295
1297
|
x("span", {
|
|
1296
1298
|
style: { "white-space": "pre" },
|
|
1297
|
-
textContent: L(
|
|
1298
|
-
}, null, 8,
|
|
1299
|
-
|
|
1299
|
+
textContent: L(n.title)
|
|
1300
|
+
}, null, 8, Xt),
|
|
1301
|
+
s(d)
|
|
1300
1302
|
]),
|
|
1301
1303
|
_: 1
|
|
1302
1304
|
}),
|
|
1303
|
-
x("div",
|
|
1304
|
-
|
|
1305
|
+
x("div", Qt, [
|
|
1306
|
+
s(b, null, {
|
|
1305
1307
|
default: l(() => [
|
|
1306
|
-
(S(!0),
|
|
1308
|
+
(S(!0), D(ge, null, je(n.text, (E, T) => (S(), U(c, {
|
|
1307
1309
|
"no-gutters": "",
|
|
1308
1310
|
key: T
|
|
1309
1311
|
}, {
|
|
@@ -1311,7 +1313,7 @@ function Qt(t, e, s, r, i, o) {
|
|
|
1311
1313
|
x("span", {
|
|
1312
1314
|
style: { "white-space": "pre" },
|
|
1313
1315
|
textContent: L(E)
|
|
1314
|
-
}, null, 8,
|
|
1316
|
+
}, null, 8, $t)
|
|
1315
1317
|
]),
|
|
1316
1318
|
_: 2
|
|
1317
1319
|
}, 1024))), 128))
|
|
@@ -1319,10 +1321,10 @@ function Qt(t, e, s, r, i, o) {
|
|
|
1319
1321
|
_: 1
|
|
1320
1322
|
})
|
|
1321
1323
|
]),
|
|
1322
|
-
|
|
1324
|
+
s(V, { class: "px-2" }, {
|
|
1323
1325
|
default: l(() => [
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
+
s(d),
|
|
1327
|
+
s(k, {
|
|
1326
1328
|
variant: "flat",
|
|
1327
1329
|
onClick: e[0] || (e[0] = (E) => o.show = !o.show)
|
|
1328
1330
|
}, {
|
|
@@ -1341,7 +1343,7 @@ function Qt(t, e, s, r, i, o) {
|
|
|
1341
1343
|
_: 1
|
|
1342
1344
|
}, 8, ["modelValue", "width"]);
|
|
1343
1345
|
}
|
|
1344
|
-
const
|
|
1346
|
+
const ti = /* @__PURE__ */ K(Zt, [["render", ei]]), ii = {
|
|
1345
1347
|
components: {},
|
|
1346
1348
|
props: {
|
|
1347
1349
|
modelValue: {
|
|
@@ -1375,7 +1377,7 @@ const $t = /* @__PURE__ */ j(Jt, [["render", Qt]]), ei = {
|
|
|
1375
1377
|
}
|
|
1376
1378
|
},
|
|
1377
1379
|
created: function() {
|
|
1378
|
-
this.api = new
|
|
1380
|
+
this.api = new Ie(), this.getOverrides();
|
|
1379
1381
|
},
|
|
1380
1382
|
methods: {
|
|
1381
1383
|
getOverrides: function() {
|
|
@@ -1399,7 +1401,7 @@ const $t = /* @__PURE__ */ j(Jt, [["render", Qt]]), ei = {
|
|
|
1399
1401
|
e.packet_name,
|
|
1400
1402
|
e.item_name,
|
|
1401
1403
|
"ALL"
|
|
1402
|
-
).then((
|
|
1404
|
+
).then((n) => {
|
|
1403
1405
|
this.overrides = [];
|
|
1404
1406
|
});
|
|
1405
1407
|
},
|
|
@@ -1410,36 +1412,36 @@ const $t = /* @__PURE__ */ j(Jt, [["render", Qt]]), ei = {
|
|
|
1410
1412
|
t.item_name,
|
|
1411
1413
|
t.value_type
|
|
1412
1414
|
).then((e) => {
|
|
1413
|
-
let
|
|
1414
|
-
this.overrides.splice(
|
|
1415
|
+
let n = this.overrides.indexOf(t);
|
|
1416
|
+
this.overrides.splice(n, 1);
|
|
1415
1417
|
});
|
|
1416
1418
|
}
|
|
1417
1419
|
}
|
|
1418
|
-
},
|
|
1419
|
-
function
|
|
1420
|
+
}, si = { class: "pa-2" };
|
|
1421
|
+
function ni(t, e, n, r, i, o) {
|
|
1420
1422
|
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(),
|
|
1423
|
+
return S(), U(T, {
|
|
1422
1424
|
modelValue: o.show,
|
|
1423
1425
|
"onUpdate:modelValue": e[2] || (e[2] = (_) => o.show = _),
|
|
1424
1426
|
width: "1000"
|
|
1425
1427
|
}, {
|
|
1426
1428
|
default: l(() => [
|
|
1427
|
-
|
|
1429
|
+
s(E, null, {
|
|
1428
1430
|
default: l(() => [
|
|
1429
|
-
|
|
1431
|
+
s(h, { height: "24" }, {
|
|
1430
1432
|
default: l(() => [
|
|
1431
|
-
|
|
1433
|
+
s(d),
|
|
1432
1434
|
e[3] || (e[3] = x("span", null, "Overrides", -1)),
|
|
1433
|
-
|
|
1435
|
+
s(d)
|
|
1434
1436
|
]),
|
|
1435
1437
|
_: 1
|
|
1436
1438
|
}),
|
|
1437
|
-
x("div",
|
|
1438
|
-
|
|
1439
|
+
x("div", si, [
|
|
1440
|
+
s(w, null, {
|
|
1439
1441
|
default: l(() => [
|
|
1440
|
-
|
|
1442
|
+
s(k, { class: "ma-1" }, {
|
|
1441
1443
|
default: l(() => [
|
|
1442
|
-
|
|
1444
|
+
s(c, {
|
|
1443
1445
|
color: "primary",
|
|
1444
1446
|
"data-test": "overrides-dialog-clear-all",
|
|
1445
1447
|
onClick: o.clearOverrides
|
|
@@ -1449,8 +1451,8 @@ function ii(t, e, s, r, i, o) {
|
|
|
1449
1451
|
])]),
|
|
1450
1452
|
_: 1
|
|
1451
1453
|
}, 8, ["onClick"]),
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
+
s(d),
|
|
1455
|
+
s(b, {
|
|
1454
1456
|
modelValue: i.search,
|
|
1455
1457
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.search = _),
|
|
1456
1458
|
label: "Search",
|
|
@@ -1464,7 +1466,7 @@ function ii(t, e, s, r, i, o) {
|
|
|
1464
1466
|
]),
|
|
1465
1467
|
_: 1
|
|
1466
1468
|
}),
|
|
1467
|
-
|
|
1469
|
+
s(V, {
|
|
1468
1470
|
headers: i.headers,
|
|
1469
1471
|
items: i.overrides,
|
|
1470
1472
|
search: i.search,
|
|
@@ -1473,11 +1475,11 @@ function ii(t, e, s, r, i, o) {
|
|
|
1473
1475
|
density: "compact"
|
|
1474
1476
|
}, {
|
|
1475
1477
|
"item.delete": l(({ item: _ }) => [
|
|
1476
|
-
|
|
1478
|
+
s(c, {
|
|
1477
1479
|
icon: "mdi-delete",
|
|
1478
1480
|
variant: "text",
|
|
1479
1481
|
"aria-label": "Delete Override",
|
|
1480
|
-
onClick: (
|
|
1482
|
+
onClick: (P) => o.deleteOverride(_)
|
|
1481
1483
|
}, null, 8, ["onClick"])
|
|
1482
1484
|
]),
|
|
1483
1485
|
_: 1
|
|
@@ -1486,10 +1488,10 @@ function ii(t, e, s, r, i, o) {
|
|
|
1486
1488
|
_: 1
|
|
1487
1489
|
})
|
|
1488
1490
|
]),
|
|
1489
|
-
|
|
1491
|
+
s(R, { class: "px-2" }, {
|
|
1490
1492
|
default: l(() => [
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
+
s(d),
|
|
1494
|
+
s(c, {
|
|
1493
1495
|
variant: "flat",
|
|
1494
1496
|
"data-test": "overrides-dialog-ok",
|
|
1495
1497
|
onClick: e[1] || (e[1] = (_) => o.show = !o.show)
|
|
@@ -1509,7 +1511,7 @@ function ii(t, e, s, r, i, o) {
|
|
|
1509
1511
|
_: 1
|
|
1510
1512
|
}, 8, ["modelValue"]);
|
|
1511
1513
|
}
|
|
1512
|
-
const
|
|
1514
|
+
const oi = /* @__PURE__ */ K(ii, [["render", ni]]), li = {
|
|
1513
1515
|
props: {
|
|
1514
1516
|
title: {
|
|
1515
1517
|
type: String,
|
|
@@ -1574,70 +1576,71 @@ const si = /* @__PURE__ */ j(ei, [["render", ii]]), ni = {
|
|
|
1574
1576
|
this.$emit("response", "Cancel");
|
|
1575
1577
|
}
|
|
1576
1578
|
}
|
|
1577
|
-
},
|
|
1578
|
-
function
|
|
1579
|
+
}, ri = ["textContent"], ai = { class: "pa-2" }, di = ["textContent"], ui = ["textContent"], ci = { key: 0 }, mi = { key: 1 };
|
|
1580
|
+
function pi(t, e, n, r, i, o) {
|
|
1579
1581
|
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(),
|
|
1582
|
+
return S(), U(T, {
|
|
1581
1583
|
modelValue: o.show,
|
|
1582
1584
|
"onUpdate:modelValue": e[2] || (e[2] = (_) => o.show = _),
|
|
1583
1585
|
persistent: "",
|
|
1584
|
-
width: "600"
|
|
1586
|
+
width: "600",
|
|
1587
|
+
onKeydown: Se(o.cancelHandler, ["esc"])
|
|
1585
1588
|
}, {
|
|
1586
1589
|
default: l(() => [
|
|
1587
|
-
|
|
1590
|
+
s(E, null, {
|
|
1588
1591
|
default: l(() => [
|
|
1589
|
-
|
|
1592
|
+
s(h, { height: "24" }, {
|
|
1590
1593
|
default: l(() => [
|
|
1591
|
-
|
|
1594
|
+
s(d),
|
|
1592
1595
|
x("span", {
|
|
1593
1596
|
class: "text",
|
|
1594
|
-
textContent: L(
|
|
1595
|
-
}, null, 8,
|
|
1596
|
-
|
|
1597
|
+
textContent: L(n.title)
|
|
1598
|
+
}, null, 8, ri),
|
|
1599
|
+
s(d)
|
|
1597
1600
|
]),
|
|
1598
1601
|
_: 1
|
|
1599
1602
|
}),
|
|
1600
|
-
x("div",
|
|
1601
|
-
|
|
1603
|
+
x("div", ai, [
|
|
1604
|
+
s(k, { class: "text" }, {
|
|
1602
1605
|
default: l(() => [
|
|
1603
|
-
|
|
1606
|
+
n.subtitle ? (S(), U(b, { key: 0 }, {
|
|
1604
1607
|
default: l(() => [
|
|
1605
|
-
|
|
1608
|
+
s(c, null, {
|
|
1606
1609
|
default: l(() => [
|
|
1607
|
-
y(L(
|
|
1610
|
+
y(L(n.subtitle), 1)
|
|
1608
1611
|
]),
|
|
1609
1612
|
_: 1
|
|
1610
1613
|
})
|
|
1611
1614
|
]),
|
|
1612
1615
|
_: 1
|
|
1613
|
-
})) :
|
|
1614
|
-
|
|
1616
|
+
})) : z("", !0),
|
|
1617
|
+
s(b, { class: "mt-1" }, {
|
|
1615
1618
|
default: l(() => [
|
|
1616
1619
|
x("span", {
|
|
1617
|
-
textContent: L(
|
|
1618
|
-
}, null, 8,
|
|
1620
|
+
textContent: L(n.message)
|
|
1621
|
+
}, null, 8, di)
|
|
1619
1622
|
]),
|
|
1620
1623
|
_: 1
|
|
1621
1624
|
}),
|
|
1622
|
-
|
|
1625
|
+
n.details ? (S(), U(b, {
|
|
1623
1626
|
key: 1,
|
|
1624
1627
|
class: "mt-1"
|
|
1625
1628
|
}, {
|
|
1626
1629
|
default: l(() => [
|
|
1627
1630
|
x("span", {
|
|
1628
|
-
textContent: L(
|
|
1629
|
-
}, null, 8,
|
|
1631
|
+
textContent: L(n.details)
|
|
1632
|
+
}, null, 8, ui)
|
|
1630
1633
|
]),
|
|
1631
1634
|
_: 1
|
|
1632
|
-
})) :
|
|
1635
|
+
})) : z("", !0)
|
|
1633
1636
|
]),
|
|
1634
1637
|
_: 1
|
|
1635
1638
|
})
|
|
1636
1639
|
]),
|
|
1637
|
-
|
|
1638
|
-
|
|
1640
|
+
n.layout === "combo" ? (S(), D("div", ci, [
|
|
1641
|
+
s(b, { class: "ma-2" }, {
|
|
1639
1642
|
default: l(() => [
|
|
1640
|
-
|
|
1643
|
+
s(V, {
|
|
1641
1644
|
modelValue: i.selectedItem,
|
|
1642
1645
|
"onUpdate:modelValue": [
|
|
1643
1646
|
e[0] || (e[0] = (_) => i.selectedItem = _),
|
|
@@ -1647,16 +1650,16 @@ function ci(t, e, s, r, i, o) {
|
|
|
1647
1650
|
color: "secondary",
|
|
1648
1651
|
class: "ma-1",
|
|
1649
1652
|
"data-test": "prompt-select",
|
|
1650
|
-
items:
|
|
1651
|
-
multiple:
|
|
1653
|
+
items: n.buttons,
|
|
1654
|
+
multiple: n.multiple === !0
|
|
1652
1655
|
}, null, 8, ["modelValue", "items", "multiple"])
|
|
1653
1656
|
]),
|
|
1654
1657
|
_: 1
|
|
1655
1658
|
}),
|
|
1656
|
-
|
|
1659
|
+
s(R, { class: "px-2" }, {
|
|
1657
1660
|
default: l(() => [
|
|
1658
|
-
|
|
1659
|
-
|
|
1661
|
+
s(d),
|
|
1662
|
+
s(w, {
|
|
1660
1663
|
variant: "outlined",
|
|
1661
1664
|
"data-test": "prompt-cancel",
|
|
1662
1665
|
onClick: o.cancelHandler
|
|
@@ -1666,7 +1669,7 @@ function ci(t, e, s, r, i, o) {
|
|
|
1666
1669
|
])]),
|
|
1667
1670
|
_: 1
|
|
1668
1671
|
}, 8, ["onClick"]),
|
|
1669
|
-
|
|
1672
|
+
s(w, {
|
|
1670
1673
|
variant: "flat",
|
|
1671
1674
|
"data-test": "prompt-ok",
|
|
1672
1675
|
disabled: i.selectOkDisabled,
|
|
@@ -1680,13 +1683,13 @@ function ci(t, e, s, r, i, o) {
|
|
|
1680
1683
|
]),
|
|
1681
1684
|
_: 1
|
|
1682
1685
|
})
|
|
1683
|
-
])) : (S(),
|
|
1684
|
-
|
|
1685
|
-
class:
|
|
1686
|
+
])) : (S(), D("div", mi, [
|
|
1687
|
+
s(R, {
|
|
1688
|
+
class: Ke(o.layoutClass)
|
|
1686
1689
|
}, {
|
|
1687
1690
|
default: l(() => [
|
|
1688
|
-
|
|
1689
|
-
|
|
1691
|
+
s(d),
|
|
1692
|
+
s(w, {
|
|
1690
1693
|
variant: "outlined",
|
|
1691
1694
|
"data-test": "prompt-cancel",
|
|
1692
1695
|
onClick: o.cancelHandler
|
|
@@ -1696,8 +1699,8 @@ function ci(t, e, s, r, i, o) {
|
|
|
1696
1699
|
])]),
|
|
1697
1700
|
_: 1
|
|
1698
1701
|
}, 8, ["onClick"]),
|
|
1699
|
-
(S(!0),
|
|
1700
|
-
|
|
1702
|
+
(S(!0), D(ge, null, je(n.buttons, (_, P) => (S(), D("div", { key: P }, [
|
|
1703
|
+
s(w, {
|
|
1701
1704
|
variant: "flat",
|
|
1702
1705
|
"data-test": `prompt-${_.text}`,
|
|
1703
1706
|
onClick: (G) => o.submitWrapper(_.value)
|
|
@@ -1717,9 +1720,9 @@ function ci(t, e, s, r, i, o) {
|
|
|
1717
1720
|
})
|
|
1718
1721
|
]),
|
|
1719
1722
|
_: 1
|
|
1720
|
-
}, 8, ["modelValue"]);
|
|
1723
|
+
}, 8, ["modelValue", "onKeydown"]);
|
|
1721
1724
|
}
|
|
1722
|
-
const
|
|
1725
|
+
const hi = /* @__PURE__ */ K(li, [["render", pi], ["__scopeId", "data-v-97ffc307"]]), fi = {
|
|
1723
1726
|
components: {},
|
|
1724
1727
|
props: {
|
|
1725
1728
|
modelValue: {
|
|
@@ -1753,48 +1756,48 @@ const mi = /* @__PURE__ */ j(ni, [["render", ci], ["__scopeId", "data-v-3c1d359a
|
|
|
1753
1756
|
}), e = document.createElement("a");
|
|
1754
1757
|
e.href = URL.createObjectURL(t), e.setAttribute(
|
|
1755
1758
|
"download",
|
|
1756
|
-
|
|
1759
|
+
Me(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
|
|
1757
1760
|
), e.click();
|
|
1758
1761
|
}
|
|
1759
1762
|
}
|
|
1760
|
-
},
|
|
1761
|
-
function
|
|
1763
|
+
}, gi = { class: "pa-2" };
|
|
1764
|
+
function vi(t, e, n, r, i, o) {
|
|
1762
1765
|
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(),
|
|
1766
|
+
return S(), U(R, {
|
|
1764
1767
|
modelValue: o.show,
|
|
1765
1768
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => o.show = E),
|
|
1766
1769
|
scrollable: "",
|
|
1767
1770
|
width: "800"
|
|
1768
1771
|
}, {
|
|
1769
1772
|
default: l(() => [
|
|
1770
|
-
|
|
1773
|
+
s(w, null, {
|
|
1771
1774
|
default: l(() => [
|
|
1772
|
-
|
|
1775
|
+
s(h, { height: "24" }, {
|
|
1773
1776
|
default: l(() => [
|
|
1774
|
-
|
|
1777
|
+
s(d),
|
|
1775
1778
|
e[2] || (e[2] = x("span", null, " Script Results ", -1)),
|
|
1776
|
-
|
|
1779
|
+
s(d)
|
|
1777
1780
|
]),
|
|
1778
1781
|
_: 1
|
|
1779
1782
|
}),
|
|
1780
|
-
x("div",
|
|
1781
|
-
|
|
1783
|
+
x("div", gi, [
|
|
1784
|
+
s(b, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1782
1785
|
default: l(() => [
|
|
1783
|
-
|
|
1786
|
+
s(c, {
|
|
1784
1787
|
readonly: "",
|
|
1785
1788
|
"hide-details": "",
|
|
1786
1789
|
density: "compact",
|
|
1787
1790
|
"auto-grow": "",
|
|
1788
|
-
"model-value":
|
|
1791
|
+
"model-value": n.text
|
|
1789
1792
|
}, null, 8, ["model-value"])
|
|
1790
1793
|
]),
|
|
1791
1794
|
_: 1
|
|
1792
1795
|
})
|
|
1793
1796
|
]),
|
|
1794
|
-
|
|
1797
|
+
s(V, { class: "px-2" }, {
|
|
1795
1798
|
default: l(() => [
|
|
1796
|
-
|
|
1797
|
-
|
|
1799
|
+
s(d),
|
|
1800
|
+
s(k, {
|
|
1798
1801
|
variant: "outlined",
|
|
1799
1802
|
onClick: o.downloadResults
|
|
1800
1803
|
}, {
|
|
@@ -1803,7 +1806,7 @@ function fi(t, e, s, r, i, o) {
|
|
|
1803
1806
|
])]),
|
|
1804
1807
|
_: 1
|
|
1805
1808
|
}, 8, ["onClick"]),
|
|
1806
|
-
|
|
1809
|
+
s(k, {
|
|
1807
1810
|
ref: "okButton",
|
|
1808
1811
|
variant: "flat",
|
|
1809
1812
|
onClick: e[0] || (e[0] = (E) => o.show = !o.show)
|
|
@@ -1823,9 +1826,9 @@ function fi(t, e, s, r, i, o) {
|
|
|
1823
1826
|
_: 1
|
|
1824
1827
|
}, 8, ["modelValue"]);
|
|
1825
1828
|
}
|
|
1826
|
-
const
|
|
1829
|
+
const _i = /* @__PURE__ */ K(fi, [["render", vi]]), bi = {
|
|
1827
1830
|
components: {
|
|
1828
|
-
EnvironmentChooser:
|
|
1831
|
+
EnvironmentChooser: bt
|
|
1829
1832
|
},
|
|
1830
1833
|
props: {
|
|
1831
1834
|
modelValue: {
|
|
@@ -1866,29 +1869,31 @@ const gi = /* @__PURE__ */ j(pi, [["render", fi]]), vi = {
|
|
|
1866
1869
|
this.show = !this.show;
|
|
1867
1870
|
}
|
|
1868
1871
|
}
|
|
1869
|
-
},
|
|
1870
|
-
function
|
|
1872
|
+
}, wi = { class: "pa-2" };
|
|
1873
|
+
function yi(t, e, n, r, i, o) {
|
|
1871
1874
|
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(),
|
|
1875
|
+
return S(), U(R, {
|
|
1873
1876
|
modelValue: o.show,
|
|
1874
1877
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => o.show = E),
|
|
1875
|
-
|
|
1878
|
+
persistent: "",
|
|
1879
|
+
width: "600",
|
|
1880
|
+
onKeydown: Se(o.cancel, ["esc"])
|
|
1876
1881
|
}, {
|
|
1877
1882
|
default: l(() => [
|
|
1878
|
-
|
|
1883
|
+
s(w, null, {
|
|
1879
1884
|
default: l(() => [
|
|
1880
|
-
|
|
1885
|
+
s(h, { height: "24" }, {
|
|
1881
1886
|
default: l(() => [
|
|
1882
|
-
|
|
1887
|
+
s(d),
|
|
1883
1888
|
e[2] || (e[2] = x("span", null, "Script Environment Variables", -1)),
|
|
1884
|
-
|
|
1889
|
+
s(d)
|
|
1885
1890
|
]),
|
|
1886
1891
|
_: 1
|
|
1887
1892
|
}),
|
|
1888
|
-
x("div",
|
|
1889
|
-
|
|
1893
|
+
x("div", wi, [
|
|
1894
|
+
s(b, null, {
|
|
1890
1895
|
default: l(() => [
|
|
1891
|
-
|
|
1896
|
+
s(c, {
|
|
1892
1897
|
modelValue: i.selected,
|
|
1893
1898
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.selected = E)
|
|
1894
1899
|
}, null, 8, ["modelValue"])
|
|
@@ -1896,10 +1901,10 @@ function bi(t, e, s, r, i, o) {
|
|
|
1896
1901
|
_: 1
|
|
1897
1902
|
})
|
|
1898
1903
|
]),
|
|
1899
|
-
|
|
1904
|
+
s(V, { class: "px-2" }, {
|
|
1900
1905
|
default: l(() => [
|
|
1901
|
-
|
|
1902
|
-
|
|
1906
|
+
s(d),
|
|
1907
|
+
s(k, {
|
|
1903
1908
|
variant: "outlined",
|
|
1904
1909
|
"data-test": "environment-dialog-cancel",
|
|
1905
1910
|
onClick: o.cancel
|
|
@@ -1909,7 +1914,7 @@ function bi(t, e, s, r, i, o) {
|
|
|
1909
1914
|
])]),
|
|
1910
1915
|
_: 1
|
|
1911
1916
|
}, 8, ["onClick"]),
|
|
1912
|
-
|
|
1917
|
+
s(k, {
|
|
1913
1918
|
variant: "flat",
|
|
1914
1919
|
"data-test": "environment-dialog-save",
|
|
1915
1920
|
disabled: !!t.inputError,
|
|
@@ -1928,9 +1933,9 @@ function bi(t, e, s, r, i, o) {
|
|
|
1928
1933
|
})
|
|
1929
1934
|
]),
|
|
1930
1935
|
_: 1
|
|
1931
|
-
}, 8, ["modelValue"]);
|
|
1936
|
+
}, 8, ["modelValue", "onKeydown"]);
|
|
1932
1937
|
}
|
|
1933
|
-
const
|
|
1938
|
+
const ki = /* @__PURE__ */ K(bi, [["render", yi]]), Si = {
|
|
1934
1939
|
props: {
|
|
1935
1940
|
suiteMap: {
|
|
1936
1941
|
type: Object,
|
|
@@ -2015,29 +2020,29 @@ const wi = /* @__PURE__ */ j(vi, [["render", bi]]), yi = {
|
|
|
2015
2020
|
this.script = t;
|
|
2016
2021
|
}
|
|
2017
2022
|
}
|
|
2018
|
-
},
|
|
2019
|
-
function
|
|
2023
|
+
}, xi = { id: "tr-container" };
|
|
2024
|
+
function Ci(t, e, n, r, i, o) {
|
|
2020
2025
|
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(),
|
|
2022
|
-
x("div",
|
|
2023
|
-
|
|
2026
|
+
return S(), D("div", null, [
|
|
2027
|
+
x("div", xi, [
|
|
2028
|
+
s(b, {
|
|
2024
2029
|
"no-gutters": "",
|
|
2025
2030
|
align: "center"
|
|
2026
2031
|
}, {
|
|
2027
2032
|
default: l(() => [
|
|
2028
|
-
|
|
2033
|
+
s(c, { cols: "4" }, {
|
|
2029
2034
|
default: l(() => [
|
|
2030
|
-
|
|
2035
|
+
s(b, { "no-gutters": "" }, {
|
|
2031
2036
|
default: l(() => [
|
|
2032
|
-
|
|
2037
|
+
s(c, { cols: "6" }, {
|
|
2033
2038
|
default: l(() => [
|
|
2034
|
-
|
|
2039
|
+
s(h, {
|
|
2035
2040
|
"open-delay": 600,
|
|
2036
2041
|
location: "top"
|
|
2037
2042
|
}, {
|
|
2038
2043
|
activator: l(({ props: w }) => [
|
|
2039
2044
|
x("div", le(re(w)), [
|
|
2040
|
-
|
|
2045
|
+
s(d, {
|
|
2041
2046
|
modelValue: i.options,
|
|
2042
2047
|
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
|
|
2043
2048
|
label: "Pause on Error",
|
|
@@ -2059,15 +2064,15 @@ function Si(t, e, s, r, i, o) {
|
|
|
2059
2064
|
]),
|
|
2060
2065
|
_: 1
|
|
2061
2066
|
}),
|
|
2062
|
-
|
|
2067
|
+
s(c, { cols: "6" }, {
|
|
2063
2068
|
default: l(() => [
|
|
2064
|
-
|
|
2069
|
+
s(h, {
|
|
2065
2070
|
"open-delay": 600,
|
|
2066
2071
|
location: "top"
|
|
2067
2072
|
}, {
|
|
2068
2073
|
activator: l(({ props: w }) => [
|
|
2069
2074
|
x("div", le(re(w)), [
|
|
2070
|
-
|
|
2075
|
+
s(d, {
|
|
2071
2076
|
modelValue: i.options,
|
|
2072
2077
|
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
|
|
2073
2078
|
label: "Manual",
|
|
@@ -2095,16 +2100,16 @@ function Si(t, e, s, r, i, o) {
|
|
|
2095
2100
|
]),
|
|
2096
2101
|
_: 1
|
|
2097
2102
|
}),
|
|
2098
|
-
|
|
2103
|
+
s(c, { cols: "8" }, {
|
|
2099
2104
|
default: l(() => [
|
|
2100
|
-
|
|
2105
|
+
s(b, {
|
|
2101
2106
|
"no-gutters": "",
|
|
2102
2107
|
justify: "end"
|
|
2103
2108
|
}, {
|
|
2104
2109
|
default: l(() => [
|
|
2105
|
-
|
|
2110
|
+
s(c, { cols: "5" }, {
|
|
2106
2111
|
default: l(() => [
|
|
2107
|
-
|
|
2112
|
+
s(k, {
|
|
2108
2113
|
modelValue: i.suite,
|
|
2109
2114
|
"onUpdate:modelValue": [
|
|
2110
2115
|
e[2] || (e[2] = (w) => i.suite = w),
|
|
@@ -2121,12 +2126,12 @@ function Si(t, e, s, r, i, o) {
|
|
|
2121
2126
|
]),
|
|
2122
2127
|
_: 1
|
|
2123
2128
|
}),
|
|
2124
|
-
|
|
2129
|
+
s(c, { cols: "auto" }, {
|
|
2125
2130
|
default: l(() => [
|
|
2126
|
-
|
|
2131
|
+
s(V, {
|
|
2127
2132
|
color: "primary",
|
|
2128
2133
|
class: "mr-2",
|
|
2129
|
-
disabled:
|
|
2134
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2130
2135
|
"data-test": "start-suite",
|
|
2131
2136
|
onClick: e[3] || (e[3] = (w) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2132
2137
|
}, {
|
|
@@ -2135,11 +2140,11 @@ function Si(t, e, s, r, i, o) {
|
|
|
2135
2140
|
])]),
|
|
2136
2141
|
_: 1
|
|
2137
2142
|
}, 8, ["disabled"]),
|
|
2138
|
-
|
|
2143
|
+
s(V, {
|
|
2139
2144
|
color: "primary",
|
|
2140
2145
|
class: "mr-2",
|
|
2141
2146
|
"data-test": "setup-suite",
|
|
2142
|
-
disabled:
|
|
2147
|
+
disabled: n.disableButtons || !o.setupSuiteEnabled || !i.userInfo.execute,
|
|
2143
2148
|
onClick: e[4] || (e[4] = (w) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2144
2149
|
}, {
|
|
2145
2150
|
default: l(() => [...e[19] || (e[19] = [
|
|
@@ -2147,10 +2152,10 @@ function Si(t, e, s, r, i, o) {
|
|
|
2147
2152
|
])]),
|
|
2148
2153
|
_: 1
|
|
2149
2154
|
}, 8, ["disabled"]),
|
|
2150
|
-
|
|
2155
|
+
s(V, {
|
|
2151
2156
|
color: "primary",
|
|
2152
2157
|
"data-test": "teardown-suite",
|
|
2153
|
-
disabled:
|
|
2158
|
+
disabled: n.disableButtons || !o.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2154
2159
|
onClick: e[5] || (e[5] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2155
2160
|
}, {
|
|
2156
2161
|
default: l(() => [...e[20] || (e[20] = [
|
|
@@ -2170,21 +2175,21 @@ function Si(t, e, s, r, i, o) {
|
|
|
2170
2175
|
]),
|
|
2171
2176
|
_: 1
|
|
2172
2177
|
}),
|
|
2173
|
-
|
|
2178
|
+
s(b, { "no-gutters": "" }, {
|
|
2174
2179
|
default: l(() => [
|
|
2175
|
-
|
|
2180
|
+
s(c, { cols: "4" }, {
|
|
2176
2181
|
default: l(() => [
|
|
2177
|
-
|
|
2182
|
+
s(b, { "no-gutters": "" }, {
|
|
2178
2183
|
default: l(() => [
|
|
2179
|
-
|
|
2184
|
+
s(c, { cols: "6" }, {
|
|
2180
2185
|
default: l(() => [
|
|
2181
|
-
|
|
2186
|
+
s(h, {
|
|
2182
2187
|
"open-delay": 600,
|
|
2183
2188
|
location: "top"
|
|
2184
2189
|
}, {
|
|
2185
2190
|
activator: l(({ props: w }) => [
|
|
2186
2191
|
x("div", le(re(w)), [
|
|
2187
|
-
|
|
2192
|
+
s(d, {
|
|
2188
2193
|
modelValue: i.options,
|
|
2189
2194
|
"onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
|
|
2190
2195
|
label: "Continue after Error",
|
|
@@ -2206,15 +2211,15 @@ function Si(t, e, s, r, i, o) {
|
|
|
2206
2211
|
]),
|
|
2207
2212
|
_: 1
|
|
2208
2213
|
}),
|
|
2209
|
-
|
|
2214
|
+
s(c, { cols: "6" }, {
|
|
2210
2215
|
default: l(() => [
|
|
2211
|
-
|
|
2216
|
+
s(h, {
|
|
2212
2217
|
"open-delay": 600,
|
|
2213
2218
|
location: "top"
|
|
2214
2219
|
}, {
|
|
2215
2220
|
activator: l(({ props: w }) => [
|
|
2216
2221
|
x("div", le(re(w)), [
|
|
2217
|
-
|
|
2222
|
+
s(d, {
|
|
2218
2223
|
modelValue: i.options,
|
|
2219
2224
|
"onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
|
|
2220
2225
|
label: "Loop",
|
|
@@ -2242,16 +2247,16 @@ function Si(t, e, s, r, i, o) {
|
|
|
2242
2247
|
]),
|
|
2243
2248
|
_: 1
|
|
2244
2249
|
}),
|
|
2245
|
-
|
|
2250
|
+
s(c, { cols: "8" }, {
|
|
2246
2251
|
default: l(() => [
|
|
2247
|
-
|
|
2252
|
+
s(b, {
|
|
2248
2253
|
"no-gutters": "",
|
|
2249
2254
|
justify: "end"
|
|
2250
2255
|
}, {
|
|
2251
2256
|
default: l(() => [
|
|
2252
|
-
|
|
2257
|
+
s(c, { cols: "5" }, {
|
|
2253
2258
|
default: l(() => [
|
|
2254
|
-
|
|
2259
|
+
s(k, {
|
|
2255
2260
|
modelValue: i.group,
|
|
2256
2261
|
"onUpdate:modelValue": [
|
|
2257
2262
|
e[8] || (e[8] = (w) => i.group = w),
|
|
@@ -2268,12 +2273,12 @@ function Si(t, e, s, r, i, o) {
|
|
|
2268
2273
|
]),
|
|
2269
2274
|
_: 1
|
|
2270
2275
|
}),
|
|
2271
|
-
|
|
2276
|
+
s(c, { cols: "auto" }, {
|
|
2272
2277
|
default: l(() => [
|
|
2273
|
-
|
|
2278
|
+
s(V, {
|
|
2274
2279
|
color: "primary",
|
|
2275
2280
|
class: "mr-2",
|
|
2276
|
-
disabled:
|
|
2281
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2277
2282
|
"data-test": "start-group",
|
|
2278
2283
|
onClick: e[9] || (e[9] = (w) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2279
2284
|
}, {
|
|
@@ -2282,11 +2287,11 @@ function Si(t, e, s, r, i, o) {
|
|
|
2282
2287
|
])]),
|
|
2283
2288
|
_: 1
|
|
2284
2289
|
}, 8, ["disabled"]),
|
|
2285
|
-
|
|
2290
|
+
s(V, {
|
|
2286
2291
|
color: "primary",
|
|
2287
2292
|
class: "mr-2",
|
|
2288
2293
|
"data-test": "setup-group",
|
|
2289
|
-
disabled:
|
|
2294
|
+
disabled: n.disableButtons || !o.setupGroupEnabled || !i.userInfo.execute,
|
|
2290
2295
|
onClick: e[10] || (e[10] = (w) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2291
2296
|
}, {
|
|
2292
2297
|
default: l(() => [...e[24] || (e[24] = [
|
|
@@ -2294,10 +2299,10 @@ function Si(t, e, s, r, i, o) {
|
|
|
2294
2299
|
])]),
|
|
2295
2300
|
_: 1
|
|
2296
2301
|
}, 8, ["disabled"]),
|
|
2297
|
-
|
|
2302
|
+
s(V, {
|
|
2298
2303
|
color: "primary",
|
|
2299
2304
|
"data-test": "teardown-group",
|
|
2300
|
-
disabled:
|
|
2305
|
+
disabled: n.disableButtons || !o.teardownGroupEnabled || !i.userInfo.execute,
|
|
2301
2306
|
onClick: e[11] || (e[11] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2302
2307
|
}, {
|
|
2303
2308
|
default: l(() => [...e[25] || (e[25] = [
|
|
@@ -2317,21 +2322,21 @@ function Si(t, e, s, r, i, o) {
|
|
|
2317
2322
|
]),
|
|
2318
2323
|
_: 1
|
|
2319
2324
|
}),
|
|
2320
|
-
|
|
2325
|
+
s(b, { "no-gutters": "" }, {
|
|
2321
2326
|
default: l(() => [
|
|
2322
|
-
|
|
2327
|
+
s(c, { cols: "4" }, {
|
|
2323
2328
|
default: l(() => [
|
|
2324
|
-
|
|
2329
|
+
s(b, { "no-gutters": "" }, {
|
|
2325
2330
|
default: l(() => [
|
|
2326
|
-
|
|
2331
|
+
s(c, { cols: "6" }, {
|
|
2327
2332
|
default: l(() => [
|
|
2328
|
-
|
|
2333
|
+
s(h, {
|
|
2329
2334
|
"open-delay": 600,
|
|
2330
2335
|
location: "top"
|
|
2331
2336
|
}, {
|
|
2332
2337
|
activator: l(({ props: w }) => [
|
|
2333
2338
|
x("div", le(re(w)), [
|
|
2334
|
-
|
|
2339
|
+
s(d, {
|
|
2335
2340
|
modelValue: i.options,
|
|
2336
2341
|
"onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
|
|
2337
2342
|
label: "Abort after Error",
|
|
@@ -2353,15 +2358,15 @@ function Si(t, e, s, r, i, o) {
|
|
|
2353
2358
|
]),
|
|
2354
2359
|
_: 1
|
|
2355
2360
|
}),
|
|
2356
|
-
|
|
2361
|
+
s(c, { cols: "6" }, {
|
|
2357
2362
|
default: l(() => [
|
|
2358
|
-
|
|
2363
|
+
s(h, {
|
|
2359
2364
|
"open-delay": 600,
|
|
2360
2365
|
location: "top"
|
|
2361
2366
|
}, {
|
|
2362
2367
|
activator: l(({ props: w }) => [
|
|
2363
2368
|
x("div", le(re(w)), [
|
|
2364
|
-
|
|
2369
|
+
s(d, {
|
|
2365
2370
|
modelValue: i.options,
|
|
2366
2371
|
"onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
|
|
2367
2372
|
disabled: !i.options.includes("loop"),
|
|
@@ -2392,16 +2397,16 @@ function Si(t, e, s, r, i, o) {
|
|
|
2392
2397
|
]),
|
|
2393
2398
|
_: 1
|
|
2394
2399
|
}),
|
|
2395
|
-
|
|
2400
|
+
s(c, { cols: "8" }, {
|
|
2396
2401
|
default: l(() => [
|
|
2397
|
-
|
|
2402
|
+
s(b, {
|
|
2398
2403
|
"no-gutters": "",
|
|
2399
2404
|
justify: "end"
|
|
2400
2405
|
}, {
|
|
2401
2406
|
default: l(() => [
|
|
2402
|
-
|
|
2407
|
+
s(c, { cols: "5" }, {
|
|
2403
2408
|
default: l(() => [
|
|
2404
|
-
|
|
2409
|
+
s(k, {
|
|
2405
2410
|
modelValue: i.script,
|
|
2406
2411
|
"onUpdate:modelValue": [
|
|
2407
2412
|
e[14] || (e[14] = (w) => i.script = w),
|
|
@@ -2420,12 +2425,12 @@ function Si(t, e, s, r, i, o) {
|
|
|
2420
2425
|
]),
|
|
2421
2426
|
_: 1
|
|
2422
2427
|
}),
|
|
2423
|
-
|
|
2428
|
+
s(c, { cols: "auto" }, {
|
|
2424
2429
|
default: l(() => [
|
|
2425
|
-
|
|
2430
|
+
s(V, {
|
|
2426
2431
|
color: "primary",
|
|
2427
2432
|
class: "mr-2",
|
|
2428
|
-
disabled:
|
|
2433
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2429
2434
|
"data-test": "start-script",
|
|
2430
2435
|
onClick: e[15] || (e[15] = (w) => t.$emit("button", {
|
|
2431
2436
|
method: "start",
|
|
@@ -2440,7 +2445,7 @@ function Si(t, e, s, r, i, o) {
|
|
|
2440
2445
|
])]),
|
|
2441
2446
|
_: 1
|
|
2442
2447
|
}, 8, ["disabled"]),
|
|
2443
|
-
|
|
2448
|
+
s(V, {
|
|
2444
2449
|
color: "primary",
|
|
2445
2450
|
class: "mr-2 invisible"
|
|
2446
2451
|
}, {
|
|
@@ -2449,7 +2454,7 @@ function Si(t, e, s, r, i, o) {
|
|
|
2449
2454
|
])]),
|
|
2450
2455
|
_: 1
|
|
2451
2456
|
}),
|
|
2452
|
-
|
|
2457
|
+
s(V, {
|
|
2453
2458
|
color: "primary",
|
|
2454
2459
|
class: "invisible"
|
|
2455
2460
|
}, {
|
|
@@ -2473,26 +2478,26 @@ function Si(t, e, s, r, i, o) {
|
|
|
2473
2478
|
])
|
|
2474
2479
|
]);
|
|
2475
2480
|
}
|
|
2476
|
-
const
|
|
2481
|
+
const Vi = /* @__PURE__ */ K(Si, [["render", Ci], ["__scopeId", "data-v-6be22c34"]]), qe = (t) => M.get(`/openc3-api/autocomplete/keywords/${t}`), Ei = (t) => M.get(`/openc3-api/autocomplete/data/${t}`), Ze = (t, e) => t.reduce((n, r) => {
|
|
2477
2482
|
const i = e(r);
|
|
2478
|
-
return
|
|
2479
|
-
}, {}),
|
|
2480
|
-
const e = "(^|[{\\(\\s])",
|
|
2481
|
-
return new RegExp(`${e}${t}${
|
|
2483
|
+
return n[i] ? n[i].push(r) : n[i] = [r], n;
|
|
2484
|
+
}, {}), Ri = (t) => {
|
|
2485
|
+
const e = "(^|[{\\(\\s])", n = `[\\s\\(]f?['"]`, r = "(\\S+\\s?){0,3}";
|
|
2486
|
+
return new RegExp(`${e}${t}${n}${r}$`);
|
|
2482
2487
|
};
|
|
2483
|
-
class
|
|
2484
|
-
constructor(e,
|
|
2488
|
+
class tt {
|
|
2489
|
+
constructor(e, n = () => {
|
|
2485
2490
|
}, r = () => {
|
|
2486
2491
|
}) {
|
|
2487
|
-
this.keywordExpressions = [], this.autocompleteData = [],
|
|
2488
|
-
this.keywordExpressions = i.data.map(
|
|
2489
|
-
}),
|
|
2490
|
-
this.autocompleteData = i.data,
|
|
2492
|
+
this.keywordExpressions = [], this.autocompleteData = [], qe(e).then((i) => {
|
|
2493
|
+
this.keywordExpressions = i.data.map(Ri), r();
|
|
2494
|
+
}), Ei(e).then((i) => {
|
|
2495
|
+
this.autocompleteData = i.data, n();
|
|
2491
2496
|
});
|
|
2492
2497
|
}
|
|
2493
|
-
getCompletions(e,
|
|
2498
|
+
getCompletions(e, n, r, i, o) {
|
|
2494
2499
|
let d = [];
|
|
2495
|
-
const h =
|
|
2500
|
+
const h = n.doc.$lines[r.row].slice(
|
|
2496
2501
|
0,
|
|
2497
2502
|
r.column
|
|
2498
2503
|
);
|
|
@@ -2507,16 +2512,16 @@ class et {
|
|
|
2507
2512
|
]);
|
|
2508
2513
|
}
|
|
2509
2514
|
}
|
|
2510
|
-
class
|
|
2515
|
+
class Mi extends tt {
|
|
2511
2516
|
constructor() {
|
|
2512
2517
|
super("cmd");
|
|
2513
2518
|
}
|
|
2514
2519
|
}
|
|
2515
|
-
class
|
|
2520
|
+
class Oi extends tt {
|
|
2516
2521
|
constructor() {
|
|
2517
2522
|
super("tlm", () => {
|
|
2518
|
-
this.groupedPacketData = this.autocompleteData.reduce((e,
|
|
2519
|
-
const r =
|
|
2523
|
+
this.groupedPacketData = this.autocompleteData.reduce((e, n) => {
|
|
2524
|
+
const r = n.caption.match(/\S+\s\S+/)[0], i = n.snippet.replace(`${r} `, ""), o = {
|
|
2520
2525
|
caption: i,
|
|
2521
2526
|
snippet: i,
|
|
2522
2527
|
meta: "item"
|
|
@@ -2530,9 +2535,9 @@ class Ri extends et {
|
|
|
2530
2535
|
});
|
|
2531
2536
|
}
|
|
2532
2537
|
// Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
|
|
2533
|
-
getCompletions(e,
|
|
2538
|
+
getCompletions(e, n, r, i, o) {
|
|
2534
2539
|
let d = [];
|
|
2535
|
-
const h =
|
|
2540
|
+
const h = n.doc.$lines[r.row].slice(
|
|
2536
2541
|
0,
|
|
2537
2542
|
r.column
|
|
2538
2543
|
);
|
|
@@ -2545,40 +2550,40 @@ class Ri extends et {
|
|
|
2545
2550
|
o(null, d);
|
|
2546
2551
|
}
|
|
2547
2552
|
}
|
|
2548
|
-
const
|
|
2549
|
-
const e = "(^|[{\\(\\s])",
|
|
2550
|
-
return new RegExp(`${e}${t}${
|
|
2551
|
-
},
|
|
2552
|
-
class
|
|
2553
|
+
const Xe = (t) => {
|
|
2554
|
+
const e = "(^|[{\\(\\s])", n = "((\\s.+)|(\\(.+\\)))";
|
|
2555
|
+
return new RegExp(`${e}${t}${n}`);
|
|
2556
|
+
}, Ti = /\{/, Ii = /['"],\s?['"]/;
|
|
2557
|
+
class Ui {
|
|
2553
2558
|
constructor() {
|
|
2554
|
-
this.api = new
|
|
2555
|
-
e.forEach((
|
|
2556
|
-
this.targets[
|
|
2559
|
+
this.api = new Ie(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
2560
|
+
e.forEach((n) => {
|
|
2561
|
+
this.targets[n] = {
|
|
2557
2562
|
cmd: null,
|
|
2558
2563
|
tlm: null
|
|
2559
2564
|
};
|
|
2560
2565
|
});
|
|
2561
|
-
}), this.cmdKeywordExpressions = [],
|
|
2562
|
-
this.cmdKeywordExpressions = e.data.map(
|
|
2563
|
-
}), this.tlmKeywordExpressions = [],
|
|
2564
|
-
this.tlmKeywordExpressions = e.data.map(
|
|
2566
|
+
}), this.cmdKeywordExpressions = [], qe("cmd").then((e) => {
|
|
2567
|
+
this.cmdKeywordExpressions = e.data.map(Xe);
|
|
2568
|
+
}), this.tlmKeywordExpressions = [], qe("tlm").then((e) => {
|
|
2569
|
+
this.tlmKeywordExpressions = e.data.map(Xe);
|
|
2565
2570
|
});
|
|
2566
2571
|
}
|
|
2567
2572
|
async checkText(e) {
|
|
2568
|
-
const { linesToCheck:
|
|
2573
|
+
const { linesToCheck: n, linesToSkip: r } = e.split(`
|
|
2569
2574
|
`).reduce(
|
|
2570
2575
|
(o, d, h) => {
|
|
2571
2576
|
if (d = d.trim(), d.match(/^#/))
|
|
2572
2577
|
return o;
|
|
2573
|
-
const c = this.cmdKeywordExpressions.reduce((_,
|
|
2578
|
+
const c = this.cmdKeywordExpressions.reduce((_, P) => _ || d.match(P), null), b = this.tlmKeywordExpressions.reduce((_, P) => _ || d.match(P), null);
|
|
2574
2579
|
if (!c && !b)
|
|
2575
2580
|
return o;
|
|
2576
2581
|
let k = c || b, V = k.length;
|
|
2577
2582
|
k = k[V - 1];
|
|
2578
2583
|
const w = k.substring(k.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
2579
|
-
if (w.match(
|
|
2584
|
+
if (w.match(Ti))
|
|
2580
2585
|
return o.linesToSkip.push(h + 1), o;
|
|
2581
|
-
const R = !!w.match(
|
|
2586
|
+
const R = !!w.match(Ii), E = w.split(
|
|
2582
2587
|
R ? "," : " "
|
|
2583
2588
|
);
|
|
2584
2589
|
if (E.length < 2)
|
|
@@ -2592,12 +2597,12 @@ class Ti {
|
|
|
2592
2597
|
else {
|
|
2593
2598
|
const _ = E.slice(2);
|
|
2594
2599
|
R ? T.params = _.map(
|
|
2595
|
-
(
|
|
2596
|
-
) : T.params = _.filter((
|
|
2600
|
+
(P) => P.split("=>")[0]
|
|
2601
|
+
) : T.params = _.filter((P, G) => G % 2);
|
|
2597
2602
|
}
|
|
2598
2603
|
for (const _ in T)
|
|
2599
2604
|
typeof T[_] == "string" ? T[_] = T[_].replace(/['"]/g, "").trim() : T[_] = T[_].map(
|
|
2600
|
-
(
|
|
2605
|
+
(P) => P.replace(/['"]/g, "").trim()
|
|
2601
2606
|
);
|
|
2602
2607
|
return o.linesToCheck.push({
|
|
2603
2608
|
line: d,
|
|
@@ -2606,27 +2611,27 @@ class Ti {
|
|
|
2606
2611
|
}), o;
|
|
2607
2612
|
},
|
|
2608
2613
|
{ linesToCheck: [], linesToSkip: [] }
|
|
2609
|
-
), i = await this._checkLines(
|
|
2614
|
+
), i = await this._checkLines(n);
|
|
2610
2615
|
return {
|
|
2611
2616
|
skipped: r.sort(),
|
|
2612
2617
|
problems: i.sort((o, d) => o.lineNumber - d.lineNumber)
|
|
2613
2618
|
};
|
|
2614
2619
|
}
|
|
2615
2620
|
async _checkLines(e) {
|
|
2616
|
-
const
|
|
2621
|
+
const n = [], r = Ze(
|
|
2617
2622
|
e,
|
|
2618
2623
|
(i) => i.mnemonic.target
|
|
2619
2624
|
);
|
|
2620
2625
|
for (const i in r) {
|
|
2621
2626
|
if (!this.targets[i]) {
|
|
2622
2627
|
for (const d of r[i])
|
|
2623
|
-
|
|
2628
|
+
n.push({
|
|
2624
2629
|
...d,
|
|
2625
2630
|
error: `Target "${i}" does not exist.`
|
|
2626
2631
|
});
|
|
2627
2632
|
continue;
|
|
2628
2633
|
}
|
|
2629
|
-
const o =
|
|
2634
|
+
const o = Ze(
|
|
2630
2635
|
r[i],
|
|
2631
2636
|
(d) => d.mnemonic.packet
|
|
2632
2637
|
);
|
|
@@ -2644,7 +2649,7 @@ class Ti {
|
|
|
2644
2649
|
}
|
|
2645
2650
|
const b = this.targets[i][c][d];
|
|
2646
2651
|
if (!b) {
|
|
2647
|
-
|
|
2652
|
+
n.push({
|
|
2648
2653
|
...h,
|
|
2649
2654
|
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
2650
2655
|
});
|
|
@@ -2652,7 +2657,7 @@ class Ti {
|
|
|
2652
2657
|
}
|
|
2653
2658
|
if (h.mnemonic.item) {
|
|
2654
2659
|
if (!b.some((k) => k === h.mnemonic.item)) {
|
|
2655
|
-
|
|
2660
|
+
n.push({
|
|
2656
2661
|
...h,
|
|
2657
2662
|
error: `Item "${i} ${d} ${h.mnemonic.item}" does not exist.`
|
|
2658
2663
|
});
|
|
@@ -2661,7 +2666,7 @@ class Ti {
|
|
|
2661
2666
|
} else
|
|
2662
2667
|
for (const k of h.mnemonic.params)
|
|
2663
2668
|
if (!b.some((V) => V === k)) {
|
|
2664
|
-
|
|
2669
|
+
n.push({
|
|
2665
2670
|
...h,
|
|
2666
2671
|
error: `Command "${i} ${d}" param "${k}" does not exist.`
|
|
2667
2672
|
});
|
|
@@ -2669,116 +2674,116 @@ class Ti {
|
|
|
2669
2674
|
}
|
|
2670
2675
|
}
|
|
2671
2676
|
}
|
|
2672
|
-
return
|
|
2677
|
+
return n;
|
|
2673
2678
|
}
|
|
2674
2679
|
}
|
|
2675
|
-
var ee,
|
|
2676
|
-
class
|
|
2677
|
-
constructor(e, { pattern:
|
|
2680
|
+
var ee, ve, _e, be, we, Oe, ye, ke, Te;
|
|
2681
|
+
class Di {
|
|
2682
|
+
constructor(e, { pattern: n, text: r, type: i }) {
|
|
2678
2683
|
// TODO: the eslint parser errors on these because of the #
|
|
2679
2684
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2680
2685
|
W(this, ee);
|
|
2681
|
-
W(this, ge);
|
|
2682
2686
|
W(this, ve);
|
|
2683
2687
|
W(this, _e);
|
|
2684
2688
|
W(this, be);
|
|
2689
|
+
W(this, we);
|
|
2685
2690
|
// Re-annotate the entire document
|
|
2686
|
-
|
|
2687
|
-
const e = B(this,
|
|
2688
|
-
B(this,
|
|
2689
|
-
const
|
|
2691
|
+
Ne(this, "refresh", () => {
|
|
2692
|
+
const e = B(this, ve).session;
|
|
2693
|
+
B(this, Te).call(this, e);
|
|
2694
|
+
const n = {
|
|
2690
2695
|
lines: e.doc.$lines,
|
|
2691
2696
|
action: "insert",
|
|
2692
2697
|
start: { row: 0 },
|
|
2693
2698
|
end: { row: e.doc.$lines.length }
|
|
2694
2699
|
};
|
|
2695
|
-
this.annotate(
|
|
2700
|
+
this.annotate(n, e);
|
|
2696
2701
|
});
|
|
2697
2702
|
// Update annotations for the changed lines
|
|
2698
|
-
|
|
2703
|
+
Ne(this, "annotate", (e, n) => {
|
|
2699
2704
|
var r, i;
|
|
2700
2705
|
if (e.lines.length > 1)
|
|
2701
2706
|
switch (e.action) {
|
|
2702
2707
|
case "insert":
|
|
2703
|
-
B(this,
|
|
2708
|
+
B(this, ke).call(this, n, e.start.row, e.lines.length - 1);
|
|
2704
2709
|
break;
|
|
2705
2710
|
case "remove":
|
|
2706
|
-
B(this,
|
|
2711
|
+
B(this, ke).call(this, n, e.start.row + 1, -e.lines.length + 1);
|
|
2707
2712
|
break;
|
|
2708
2713
|
}
|
|
2709
2714
|
for (let o = e.start.row; o <= e.end.row; o++) {
|
|
2710
|
-
let d = (i = (r =
|
|
2711
|
-
d !== void 0 ? (d !== 0 && (d += 1), B(this,
|
|
2715
|
+
let d = (i = (r = n.doc.$lines[o]) == null ? void 0 : r.match(B(this, _e))) == null ? void 0 : i.index;
|
|
2716
|
+
d !== void 0 ? (d !== 0 && (d += 1), B(this, Oe).call(this, n, {
|
|
2712
2717
|
row: o,
|
|
2713
2718
|
column: d,
|
|
2714
2719
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2715
|
-
text: B(this,
|
|
2716
|
-
type: B(this,
|
|
2720
|
+
text: B(this, be),
|
|
2721
|
+
type: B(this, we),
|
|
2717
2722
|
openc3Id: B(this, ee)
|
|
2718
|
-
})) : e.action === "remove" && B(this,
|
|
2723
|
+
})) : e.action === "remove" && B(this, ye).call(this, n, o);
|
|
2719
2724
|
}
|
|
2720
2725
|
});
|
|
2721
|
-
W(this,
|
|
2722
|
-
B(this,
|
|
2726
|
+
W(this, Oe, (e, n) => {
|
|
2727
|
+
B(this, ye).call(this, e, n.row), e.setAnnotations([...e.getAnnotations(), n]);
|
|
2723
2728
|
});
|
|
2724
|
-
W(this,
|
|
2729
|
+
W(this, ye, (e, n) => {
|
|
2725
2730
|
e.setAnnotations(
|
|
2726
2731
|
e.getAnnotations().filter(
|
|
2727
|
-
(r) => r.openc3Id !== B(this, ee) || r.row !==
|
|
2732
|
+
(r) => r.openc3Id !== B(this, ee) || r.row !== n
|
|
2728
2733
|
)
|
|
2729
2734
|
);
|
|
2730
2735
|
});
|
|
2731
|
-
W(this,
|
|
2736
|
+
W(this, ke, (e, n, r) => {
|
|
2732
2737
|
e.setAnnotations(
|
|
2733
|
-
e.getAnnotations().map((i) => (i.row >
|
|
2738
|
+
e.getAnnotations().map((i) => (i.row > n && (i.row += r), i))
|
|
2734
2739
|
);
|
|
2735
2740
|
});
|
|
2736
|
-
W(this,
|
|
2741
|
+
W(this, Te, (e) => {
|
|
2737
2742
|
e.setAnnotations(
|
|
2738
|
-
e.getAnnotations().filter((
|
|
2743
|
+
e.getAnnotations().filter((n) => n.openc3Id !== B(this, ee))
|
|
2739
2744
|
);
|
|
2740
2745
|
});
|
|
2741
|
-
ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this,
|
|
2746
|
+
ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ve, e), ne(this, _e, n), ne(this, be, r), ne(this, we, i);
|
|
2742
2747
|
}
|
|
2743
2748
|
}
|
|
2744
|
-
ee = new WeakMap(),
|
|
2745
|
-
class
|
|
2749
|
+
ee = new WeakMap(), ve = new WeakMap(), _e = new WeakMap(), be = new WeakMap(), we = new WeakMap(), Oe = new WeakMap(), ye = new WeakMap(), ke = new WeakMap(), Te = new WeakMap();
|
|
2750
|
+
class Pi extends Di {
|
|
2746
2751
|
constructor(e) {
|
|
2747
|
-
const
|
|
2752
|
+
const n = "(^|[{\\s])", r = "sleep", i = "[\\(\\s]";
|
|
2748
2753
|
super(e, {
|
|
2749
|
-
pattern: new RegExp(`${
|
|
2754
|
+
pattern: new RegExp(`${n}${r}${i}`),
|
|
2750
2755
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2751
2756
|
// because we override wait to make it work better, but not sleep
|
|
2752
2757
|
type: "warning"
|
|
2753
2758
|
});
|
|
2754
2759
|
}
|
|
2755
2760
|
}
|
|
2756
|
-
const
|
|
2761
|
+
const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause", Li = "Retry", Ai = {
|
|
2757
2762
|
components: {
|
|
2758
|
-
FileOpenSaveDialog:
|
|
2759
|
-
Openc3Screen:
|
|
2760
|
-
EnvironmentDialog:
|
|
2761
|
-
Splitpanes:
|
|
2762
|
-
Pane:
|
|
2763
|
-
TopBar:
|
|
2764
|
-
AskDialog:
|
|
2765
|
-
FileDialog:
|
|
2766
|
-
InformationDialog:
|
|
2767
|
-
EventListDialog:
|
|
2768
|
-
OverridesDialog:
|
|
2769
|
-
PromptDialog:
|
|
2770
|
-
ResultsDialog:
|
|
2771
|
-
ScriptEnvironmentDialog:
|
|
2772
|
-
SimpleTextDialog:
|
|
2773
|
-
SuiteRunner:
|
|
2774
|
-
RunningScripts:
|
|
2775
|
-
ScriptLogMessages:
|
|
2776
|
-
CriticalCmdDialog:
|
|
2777
|
-
CommandEditor:
|
|
2763
|
+
FileOpenSaveDialog: Ct,
|
|
2764
|
+
Openc3Screen: xt,
|
|
2765
|
+
EnvironmentDialog: St,
|
|
2766
|
+
Splitpanes: Lt,
|
|
2767
|
+
Pane: At,
|
|
2768
|
+
TopBar: _t,
|
|
2769
|
+
AskDialog: Gt,
|
|
2770
|
+
FileDialog: Yt,
|
|
2771
|
+
InformationDialog: ti,
|
|
2772
|
+
EventListDialog: Rt,
|
|
2773
|
+
OverridesDialog: oi,
|
|
2774
|
+
PromptDialog: hi,
|
|
2775
|
+
ResultsDialog: _i,
|
|
2776
|
+
ScriptEnvironmentDialog: ki,
|
|
2777
|
+
SimpleTextDialog: Vt,
|
|
2778
|
+
SuiteRunner: Vi,
|
|
2779
|
+
RunningScripts: Ut,
|
|
2780
|
+
ScriptLogMessages: zt,
|
|
2781
|
+
CriticalCmdDialog: kt,
|
|
2782
|
+
CommandEditor: wt
|
|
2778
2783
|
},
|
|
2779
|
-
mixins: [
|
|
2780
|
-
beforeRouteUpdate: function(t, e,
|
|
2781
|
-
t.params.id ? this.tryLoadRunningScript(t.params.id).then(
|
|
2784
|
+
mixins: [ft, Et],
|
|
2785
|
+
beforeRouteUpdate: function(t, e, n) {
|
|
2786
|
+
t.params.id ? this.tryLoadRunningScript(t.params.id).then(n) : n();
|
|
2782
2787
|
},
|
|
2783
2788
|
props: {
|
|
2784
2789
|
inline: {
|
|
@@ -2791,6 +2796,9 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
2791
2796
|
}
|
|
2792
2797
|
},
|
|
2793
2798
|
emits: ["alert", "script-id"],
|
|
2799
|
+
setup() {
|
|
2800
|
+
return { containerHeight: vt() };
|
|
2801
|
+
},
|
|
2794
2802
|
data() {
|
|
2795
2803
|
return {
|
|
2796
2804
|
title: "Script Runner",
|
|
@@ -2821,10 +2829,10 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
2821
2829
|
alertText: "",
|
|
2822
2830
|
state: null,
|
|
2823
2831
|
scriptId: null,
|
|
2824
|
-
startOrGoButton:
|
|
2832
|
+
startOrGoButton: Ge,
|
|
2825
2833
|
startOrGoDisabled: !1,
|
|
2826
2834
|
envDisabled: !1,
|
|
2827
|
-
pauseOrRetryButton:
|
|
2835
|
+
pauseOrRetryButton: he,
|
|
2828
2836
|
pauseOrRetryDisabled: !1,
|
|
2829
2837
|
stopDisabled: !1,
|
|
2830
2838
|
showEnvironment: !1,
|
|
@@ -2911,7 +2919,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
2911
2919
|
executeSelectionMenu: !1,
|
|
2912
2920
|
menuX: 0,
|
|
2913
2921
|
menuY: 0,
|
|
2914
|
-
mnemonicChecker: new
|
|
2922
|
+
mnemonicChecker: new Ui(),
|
|
2915
2923
|
showScripts: !1,
|
|
2916
2924
|
showOverrides: !1,
|
|
2917
2925
|
commandEditor: {
|
|
@@ -2938,12 +2946,16 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
2938
2946
|
criticalCmdUuid: null,
|
|
2939
2947
|
criticalCmdString: null,
|
|
2940
2948
|
criticalCmdUser: null,
|
|
2941
|
-
displayCriticalCmd: !1
|
|
2949
|
+
displayCriticalCmd: !1,
|
|
2950
|
+
editorBoxSize: 50
|
|
2942
2951
|
};
|
|
2943
2952
|
},
|
|
2944
2953
|
computed: {
|
|
2945
2954
|
stateTimer: function() {
|
|
2946
|
-
return this.state === "waiting" || this.state === "paused" ? `${this.state} ${this.waitingTime}s` : this.state;
|
|
2955
|
+
return this.state === "waiting" || this.state === "paused" ? `${this.state} ${this.waitingTime}s` : this.state === "completed_errors" ? "completed" : this.state;
|
|
2956
|
+
},
|
|
2957
|
+
stateColorClass: function() {
|
|
2958
|
+
return this.state === "error" || this.state === "crashed" || this.state === "killed" ? "script-state-red" : this.state === "completed_errors" ? "script-state-orange" : this.state === "completed" ? "script-state-green" : "";
|
|
2947
2959
|
},
|
|
2948
2960
|
// This is the list of files shown in the select dropdown
|
|
2949
2961
|
fileList: function() {
|
|
@@ -2976,7 +2988,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
2976
2988
|
icon: "mdi-file-plus",
|
|
2977
2989
|
disabled: this.scriptId || this.readOnlyUser,
|
|
2978
2990
|
command: () => {
|
|
2979
|
-
this.
|
|
2991
|
+
this.newFileWithConfirm();
|
|
2980
2992
|
}
|
|
2981
2993
|
},
|
|
2982
2994
|
{
|
|
@@ -3005,7 +3017,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3005
3017
|
icon: "mdi-folder-open",
|
|
3006
3018
|
disabled: this.scriptId,
|
|
3007
3019
|
command: () => {
|
|
3008
|
-
this.
|
|
3020
|
+
this.openFileWithConfirm();
|
|
3009
3021
|
}
|
|
3010
3022
|
},
|
|
3011
3023
|
{
|
|
@@ -3214,17 +3226,20 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3214
3226
|
},
|
|
3215
3227
|
fullFilename: function(t) {
|
|
3216
3228
|
this.filenameSelect = t, this.inline || (t === q ? localStorage.removeItem("script_runner__filename") : localStorage.script_runner__filename = t);
|
|
3229
|
+
},
|
|
3230
|
+
readOnlyUser: function(t) {
|
|
3231
|
+
this.editor && (t ? (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none") : (this.editor.setReadOnly(!1), this.editor.renderer.$cursorLayer.element.style.display = null));
|
|
3217
3232
|
}
|
|
3218
3233
|
},
|
|
3219
3234
|
created: async function() {
|
|
3220
|
-
this.api = new
|
|
3221
|
-
|
|
3222
|
-
}).catch((
|
|
3235
|
+
this.api = new Ie(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((n) => {
|
|
3236
|
+
n && (this.timeZone = n);
|
|
3237
|
+
}).catch((n) => {
|
|
3223
3238
|
}), this.NEW_FILENAME = q;
|
|
3224
3239
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3225
3240
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3226
|
-
for (let
|
|
3227
|
-
|
|
3241
|
+
for (let n of e)
|
|
3242
|
+
n != "viewer" && (n == "admin" || n == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : n == "runner" ? this.executeUser = !0 : await M.get(`/openc3-api/roles/${n}`).then((r) => {
|
|
3228
3243
|
r.data !== null && r.data.permissions !== void 0 && (r.data.permissions.some(
|
|
3229
3244
|
(i) => i.permission == "script_edit"
|
|
3230
3245
|
) && (this.readOnlyUser = !1), r.data.permissions.some(
|
|
@@ -3237,22 +3252,22 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3237
3252
|
execute: this.executeUser
|
|
3238
3253
|
})), this.readOnlyUser == !0) {
|
|
3239
3254
|
this.alertType = "info";
|
|
3240
|
-
let
|
|
3241
|
-
this.executeUser && (
|
|
3255
|
+
let n = `User ${t.preferred_username} is read only`;
|
|
3256
|
+
this.executeUser && (n += " but can execute scripts"), this.alertText = n, this.showAlert = !0;
|
|
3242
3257
|
}
|
|
3243
|
-
M.get("/openc3-api/autocomplete/keywords/screen").then((
|
|
3244
|
-
this.screenKeywords =
|
|
3258
|
+
M.get("/openc3-api/autocomplete/keywords/screen").then((n) => {
|
|
3259
|
+
this.screenKeywords = n.data;
|
|
3245
3260
|
}), this.inline && (this.readOnly = !0);
|
|
3246
3261
|
},
|
|
3247
3262
|
mounted: async function() {
|
|
3248
3263
|
var i, o;
|
|
3249
3264
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3250
3265
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
3251
|
-
this.rubyMode = new t(), this.pythonMode = new e(),
|
|
3252
|
-
const r = new
|
|
3266
|
+
this.rubyMode = new t(), this.pythonMode = new e(), Ee.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 Mi(), new Oi()], this.editor.setHighlightActiveLine(!1), Ee.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");
|
|
3267
|
+
const r = new Pi(this.editor);
|
|
3253
3268
|
this.editor.session.on("change", (d, h) => {
|
|
3254
3269
|
r.annotate(d, h), this.updateBreakpoints(d, h);
|
|
3255
|
-
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown),
|
|
3270
|
+
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), this.cable = new nt("/script-api/cable"), !this.inline && localStorage.script_runner__recent && (this.recent = JSON.parse(localStorage.script_runner__recent), this.recent = this.recent.map((d) => ({
|
|
3256
3271
|
...d,
|
|
3257
3272
|
command: async (h) => {
|
|
3258
3273
|
this.filename = h.label, await this.reloadFile();
|
|
@@ -3269,14 +3284,14 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3269
3284
|
},
|
|
3270
3285
|
methods: {
|
|
3271
3286
|
toggleVimMode() {
|
|
3272
|
-
|
|
3287
|
+
Ee.toggleVimMode(this.editor);
|
|
3273
3288
|
},
|
|
3274
3289
|
openCommandEditor() {
|
|
3275
3290
|
this.executeSelectionMenu = !1;
|
|
3276
3291
|
const t = this.editor.getCursorPosition(), e = this.editor.session.getLine(t.row);
|
|
3277
3292
|
if (this.currentLineHasCommand) {
|
|
3278
|
-
const
|
|
3279
|
-
this.commandEditor.cmdString =
|
|
3293
|
+
const n = this.parseCommandFromLine(e);
|
|
3294
|
+
this.commandEditor.cmdString = n, this.commandEditor.isEditing = !0, this.commandEditor.editLine = t.row;
|
|
3280
3295
|
} else
|
|
3281
3296
|
this.commandEditor.cmdString = null, this.commandEditor.isEditing = !1, this.commandEditor.editLine = null;
|
|
3282
3297
|
this.commandEditor.show = !0, this.commandEditor.dialogError = null;
|
|
@@ -3285,26 +3300,26 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3285
3300
|
let e = "";
|
|
3286
3301
|
try {
|
|
3287
3302
|
e = this.$refs.commandEditor.getCmdString();
|
|
3288
|
-
let
|
|
3289
|
-
this.commandEditor.targetName =
|
|
3290
|
-
} catch (
|
|
3291
|
-
this.commandEditor.dialogError =
|
|
3303
|
+
let n = e.split(" ");
|
|
3304
|
+
this.commandEditor.targetName = n[0], this.commandEditor.commandName = n[1];
|
|
3305
|
+
} catch (n) {
|
|
3306
|
+
this.commandEditor.dialogError = n.message || "Please fix command parameters";
|
|
3292
3307
|
return;
|
|
3293
3308
|
}
|
|
3294
3309
|
if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
|
|
3295
|
-
const
|
|
3310
|
+
const n = this.editor.session.getLine(this.commandEditor.editLine), r = n.match(/^\s*/)[0], i = n.match(/\s+#.*$/), o = i ? i[0] : "", d = `${r}cmd("${e}")${o}`, h = this.Range;
|
|
3296
3311
|
this.editor.session.replace(
|
|
3297
3312
|
new h(
|
|
3298
3313
|
this.commandEditor.editLine,
|
|
3299
3314
|
0,
|
|
3300
3315
|
this.commandEditor.editLine,
|
|
3301
|
-
|
|
3316
|
+
n.length
|
|
3302
3317
|
),
|
|
3303
3318
|
d
|
|
3304
3319
|
);
|
|
3305
3320
|
} else {
|
|
3306
|
-
const
|
|
3307
|
-
this.editor.session.insert(
|
|
3321
|
+
const n = this.editor.getCursorPosition();
|
|
3322
|
+
this.editor.session.insert(n, `cmd("${e}")
|
|
3308
3323
|
`);
|
|
3309
3324
|
}
|
|
3310
3325
|
this.fileModified = !0, this.commandEditor.show = !1;
|
|
@@ -3313,22 +3328,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3313
3328
|
this.commandEditor.show = !1;
|
|
3314
3329
|
},
|
|
3315
3330
|
doResize() {
|
|
3316
|
-
this.editor.resize()
|
|
3317
|
-
this.calcHeight();
|
|
3318
|
-
});
|
|
3319
|
-
},
|
|
3320
|
-
calcHeight() {
|
|
3321
|
-
const t = document.getElementsByClassName("editorbox")[0], e = Math.max(
|
|
3322
|
-
document.documentElement.offsetHeight,
|
|
3323
|
-
window.innerHeight || 0
|
|
3324
|
-
);
|
|
3325
|
-
let s = 0;
|
|
3326
|
-
t && (s = t.offsetHeight);
|
|
3327
|
-
let r = 0;
|
|
3328
|
-
const i = document.getElementsByClassName("suite-runner")[0];
|
|
3329
|
-
i && (r = i.offsetHeight);
|
|
3330
|
-
let o = document.getElementById("script-log-messages");
|
|
3331
|
-
o && (o.style.height = `${e - s - r}px`);
|
|
3331
|
+
this.editor.resize();
|
|
3332
3332
|
},
|
|
3333
3333
|
scriptDisconnect() {
|
|
3334
3334
|
this.subscription && (this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0;
|
|
@@ -3366,8 +3366,8 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3366
3366
|
tryLoadRunningScript: function(t) {
|
|
3367
3367
|
return M.get(`/script-api/running-script/${t}`).then((e) => {
|
|
3368
3368
|
if (e.data) {
|
|
3369
|
-
let
|
|
3370
|
-
|
|
3369
|
+
let n = e.data.state;
|
|
3370
|
+
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({
|
|
3371
3371
|
title: `Script ${t} has already completed`,
|
|
3372
3372
|
body: "Check the Completed Scripts below ..."
|
|
3373
3373
|
}), this.scriptComplete(), this.showScripts = !0);
|
|
@@ -3385,8 +3385,8 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3385
3385
|
},
|
|
3386
3386
|
showExecuteSelectionMenu: function(t) {
|
|
3387
3387
|
this.menuX = t.pageX, this.menuY = t.pageY;
|
|
3388
|
-
const e = this.editor.getCursorPosition(),
|
|
3389
|
-
this.currentLineHasCommand = this.isCommandLine(
|
|
3388
|
+
const e = this.editor.getCursorPosition(), n = this.editor.session.getLine(e.row);
|
|
3389
|
+
this.currentLineHasCommand = this.isCommandLine(n), this.executeSelectionMenu = !0;
|
|
3390
3390
|
},
|
|
3391
3391
|
isCommandLine: function(t) {
|
|
3392
3392
|
const e = t.trim();
|
|
@@ -3409,15 +3409,15 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3409
3409
|
},
|
|
3410
3410
|
executeSelection: function() {
|
|
3411
3411
|
const t = this.editor.getSelectionRange();
|
|
3412
|
-
let e = t.start.row + 1,
|
|
3413
|
-
t.end.column === 0 && (
|
|
3412
|
+
let e = t.start.row + 1, n = t.end.row + 1;
|
|
3413
|
+
t.end.column === 0 && (n -= 1), this.scriptId ? M.post(
|
|
3414
3414
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3415
3415
|
{
|
|
3416
3416
|
data: {
|
|
3417
|
-
args: [this.filenameSelect, e,
|
|
3417
|
+
args: [this.filenameSelect, e, n]
|
|
3418
3418
|
}
|
|
3419
3419
|
}
|
|
3420
|
-
) : this.start(null, null, e,
|
|
3420
|
+
) : this.start(null, null, e, n);
|
|
3421
3421
|
},
|
|
3422
3422
|
clearBreakpoints: function() {
|
|
3423
3423
|
this.editor.session.clearBreakpoints();
|
|
@@ -3431,13 +3431,13 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3431
3431
|
updateBreakpoints: function(t, e) {
|
|
3432
3432
|
if (t.lines.length <= 1)
|
|
3433
3433
|
return;
|
|
3434
|
-
const
|
|
3434
|
+
const n = this.getBreakpointRows(e).filter(
|
|
3435
3435
|
(o) => t.start.column === 0 && o === t.start.row || o > t.start.row
|
|
3436
3436
|
);
|
|
3437
3437
|
let r = [], i = 0;
|
|
3438
3438
|
switch (t.action) {
|
|
3439
3439
|
case "insert":
|
|
3440
|
-
i = t.lines.length - 1,
|
|
3440
|
+
i = t.lines.length - 1, n.reverse();
|
|
3441
3441
|
break;
|
|
3442
3442
|
case "remove":
|
|
3443
3443
|
i = -t.lines.length + 1, r = [...Array(t.lines.length).keys()].map(
|
|
@@ -3445,17 +3445,17 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3445
3445
|
);
|
|
3446
3446
|
break;
|
|
3447
3447
|
}
|
|
3448
|
-
|
|
3448
|
+
n.forEach((o) => {
|
|
3449
3449
|
e.clearBreakpoint(o), r.includes(o) || e.setBreakpoint(o + i);
|
|
3450
3450
|
});
|
|
3451
3451
|
},
|
|
3452
3452
|
getBreakpointRows: function(t = this.editor.session) {
|
|
3453
|
-
return t.getBreakpoints().map((e,
|
|
3453
|
+
return t.getBreakpoints().map((e, n) => e && n).filter(Number.isInteger);
|
|
3454
3454
|
},
|
|
3455
3455
|
restoreBreakpoints: function(t) {
|
|
3456
3456
|
var e;
|
|
3457
|
-
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((
|
|
3458
|
-
this.editor.session.setBreakpoint(
|
|
3457
|
+
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((n) => {
|
|
3458
|
+
this.editor.session.setBreakpoint(n);
|
|
3459
3459
|
});
|
|
3460
3460
|
},
|
|
3461
3461
|
deleteAllBreakpoints: function() {
|
|
@@ -3467,7 +3467,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3467
3467
|
});
|
|
3468
3468
|
},
|
|
3469
3469
|
suiteRunnerButton(t) {
|
|
3470
|
-
this.startOrGoButton ===
|
|
3470
|
+
this.startOrGoButton === Ge ? this.start(t, "suiteRunner") : this.go(t, "suiteRunner");
|
|
3471
3471
|
},
|
|
3472
3472
|
async keydown(t) {
|
|
3473
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()));
|
|
@@ -3484,19 +3484,19 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3484
3484
|
"Content-Type": "plain/text"
|
|
3485
3485
|
}
|
|
3486
3486
|
}).then((e) => {
|
|
3487
|
-
let
|
|
3488
|
-
|
|
3489
|
-
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems:
|
|
3487
|
+
let n = "";
|
|
3488
|
+
n += `<strong>${e.data.title}</strong><br/><br/>`, n += JSON.parse(e.data.description), this.$dialog.alert(n.trim(), { html: !0 });
|
|
3489
|
+
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: n }) => {
|
|
3490
3490
|
let r = "";
|
|
3491
|
-
if (
|
|
3492
|
-
const i =
|
|
3491
|
+
if (n.length) {
|
|
3492
|
+
const i = n.map((o) => `${o.lineNumber}: ${o.error}`).join("<br/>");
|
|
3493
3493
|
r += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3494
3494
|
}
|
|
3495
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 });
|
|
3496
3496
|
});
|
|
3497
3497
|
},
|
|
3498
3498
|
initScriptStart() {
|
|
3499
|
-
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton =
|
|
3499
|
+
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = zi, this.editor.setReadOnly(!0);
|
|
3500
3500
|
},
|
|
3501
3501
|
scriptStart(t) {
|
|
3502
3502
|
this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
|
|
@@ -3513,7 +3513,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3513
3513
|
});
|
|
3514
3514
|
},
|
|
3515
3515
|
async scriptComplete() {
|
|
3516
|
-
this.
|
|
3516
|
+
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 = Ge, this.pauseOrRetryButton = he, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0;
|
|
3517
3517
|
},
|
|
3518
3518
|
environmentHandler: function(t) {
|
|
3519
3519
|
this.scriptEnvironment.env = t;
|
|
@@ -3521,7 +3521,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3521
3521
|
startHandler: function() {
|
|
3522
3522
|
this.start();
|
|
3523
3523
|
},
|
|
3524
|
-
async start(t = null, e = null,
|
|
3524
|
+
async start(t = null, e = null, n = null, r = null) {
|
|
3525
3525
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3526
3526
|
let i = this.filename;
|
|
3527
3527
|
this.filename === q && (i = this.tempFilename);
|
|
@@ -3535,7 +3535,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3535
3535
|
let h = {
|
|
3536
3536
|
environment: d
|
|
3537
3537
|
};
|
|
3538
|
-
e && (h.suiteRunner = t),
|
|
3538
|
+
e && (h.suiteRunner = t), n !== null && (h.line_no = n), r !== null && (h.end_line_no = r), M.post(o, { data: h }).then((c) => {
|
|
3539
3539
|
this.scriptStart(c.data);
|
|
3540
3540
|
}).catch((c) => {
|
|
3541
3541
|
this.scriptComplete();
|
|
@@ -3545,10 +3545,10 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3545
3545
|
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename), M.post(`/script-api/running-script/${this.scriptId}/go`);
|
|
3546
3546
|
},
|
|
3547
3547
|
pauseOrRetry() {
|
|
3548
|
-
this.pauseOrRetryButton ===
|
|
3548
|
+
this.pauseOrRetryButton === he ? M.post(`/script-api/running-script/${this.scriptId}/pause`) : (this.pauseOrRetryButton = he, M.post(`/script-api/running-script/${this.scriptId}/retry`));
|
|
3549
3549
|
},
|
|
3550
3550
|
stop() {
|
|
3551
|
-
|
|
3551
|
+
M.post(`/script-api/running-script/${this.scriptId}/stop`);
|
|
3552
3552
|
},
|
|
3553
3553
|
step() {
|
|
3554
3554
|
M.post(`/script-api/running-script/${this.scriptId}/step`);
|
|
@@ -3567,33 +3567,36 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3567
3567
|
this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
|
|
3568
3568
|
},
|
|
3569
3569
|
processLine(t) {
|
|
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 }, M.get(`/script-api/scripts/${t.filename}`).then((
|
|
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 }, M.get(`/script-api/scripts/${t.filename}`).then((n) => {
|
|
3571
3571
|
this.files[t.filename] = {
|
|
3572
|
-
content:
|
|
3572
|
+
content: n.data.contents,
|
|
3573
3573
|
lineNo: 0
|
|
3574
|
-
}, this.breakpoints[t.filename] =
|
|
3575
|
-
}).catch((
|
|
3574
|
+
}, this.breakpoints[t.filename] = n.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
|
|
3575
|
+
}).catch((n) => {
|
|
3576
3576
|
this.files[t.filename] = null;
|
|
3577
3577
|
}))), this.state = t.state;
|
|
3578
3578
|
const e = this.editor.session.getMarkers();
|
|
3579
3579
|
switch (this.state) {
|
|
3580
|
+
// Handle all the script states, see script_status_model for details
|
|
3581
|
+
// spawning, init, running, paused, waiting, breakpoint, error, crashed, stopped, completed, completed_errors, killed
|
|
3580
3582
|
case "running":
|
|
3581
|
-
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton =
|
|
3583
|
+
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton = he, this.removeAllMarkers(), this.editor.session.addMarker(
|
|
3582
3584
|
new this.Range(t.line_no - 1, 0, t.line_no - 1, 1),
|
|
3583
3585
|
"runningMarker",
|
|
3584
3586
|
"fullLine"
|
|
3585
3587
|
), this.editor.gotoLine(t.line_no), this.files[t.filename].lineNo = t.line_no;
|
|
3586
3588
|
break;
|
|
3587
|
-
case "crashed":
|
|
3588
|
-
this.fatal = !0;
|
|
3589
|
-
// Deliberate fall through (no break)
|
|
3590
3589
|
case "error":
|
|
3591
|
-
this.pauseOrRetryButton =
|
|
3590
|
+
this.pauseOrRetryButton = Li;
|
|
3592
3591
|
// Deliberate fall through (no break)
|
|
3593
|
-
case "
|
|
3594
|
-
|
|
3592
|
+
case "spawning":
|
|
3593
|
+
// wait for script to be spawned
|
|
3594
|
+
case "init":
|
|
3595
|
+
// wait for script to initialize
|
|
3595
3596
|
case "paused":
|
|
3596
|
-
|
|
3597
|
+
case "waiting":
|
|
3598
|
+
case "breakpoint":
|
|
3599
|
+
if (this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, Object.keys(e).filter(
|
|
3597
3600
|
(r) => e[r].clazz === `${this.state}Marker`
|
|
3598
3601
|
).length === 0) {
|
|
3599
3602
|
this.removeAllMarkers();
|
|
@@ -3605,13 +3608,20 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3605
3608
|
), this.editor.gotoLine(r), t.filename && (this.files[t.filename].lineNo = r);
|
|
3606
3609
|
}
|
|
3607
3610
|
break;
|
|
3611
|
+
case "completed":
|
|
3612
|
+
case "completed_errors":
|
|
3613
|
+
case "stopped":
|
|
3614
|
+
case "crashed":
|
|
3615
|
+
case "killed":
|
|
3616
|
+
this.removeAllMarkers(), this.scriptComplete();
|
|
3617
|
+
break;
|
|
3608
3618
|
}
|
|
3609
3619
|
},
|
|
3610
3620
|
processReceived() {
|
|
3611
3621
|
let t = 0;
|
|
3612
3622
|
for (let e of this.receivedEvents) {
|
|
3613
3623
|
t += 1;
|
|
3614
|
-
let
|
|
3624
|
+
let n = 0;
|
|
3615
3625
|
switch (e.type) {
|
|
3616
3626
|
case "file":
|
|
3617
3627
|
this.files[e.filename] = { content: e.text, lineNo: 0 }, this.breakpoints[e.filename] = e.breakpoints, this.currentFilename === e.filename && this.restoreBreakpoints(e.filename);
|
|
@@ -3633,7 +3643,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3633
3643
|
this.results.text = e.report, this.results.show = !0;
|
|
3634
3644
|
break;
|
|
3635
3645
|
case "complete":
|
|
3636
|
-
this.
|
|
3646
|
+
this.removeAllMarkers(), this.scriptComplete();
|
|
3637
3647
|
break;
|
|
3638
3648
|
case "step":
|
|
3639
3649
|
this.showDebug = !0;
|
|
@@ -3645,17 +3655,17 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3645
3655
|
i = screen, r = !0;
|
|
3646
3656
|
break;
|
|
3647
3657
|
}
|
|
3648
|
-
|
|
3658
|
+
n += 1;
|
|
3649
3659
|
}
|
|
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[
|
|
3660
|
+
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[n] = i : (i.id = this.idCounter++, this.screens[this.screens.length] = i);
|
|
3651
3661
|
break;
|
|
3652
3662
|
case "clearscreen":
|
|
3653
3663
|
for (screen of this.screens) {
|
|
3654
3664
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3655
|
-
this.screens.splice(
|
|
3665
|
+
this.screens.splice(n, 1);
|
|
3656
3666
|
break;
|
|
3657
3667
|
}
|
|
3658
|
-
|
|
3668
|
+
n += 1;
|
|
3659
3669
|
}
|
|
3660
3670
|
break;
|
|
3661
3671
|
case "clearallscreens":
|
|
@@ -3749,23 +3759,23 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3749
3759
|
}
|
|
3750
3760
|
},
|
|
3751
3761
|
async fileDialogCallback(t) {
|
|
3752
|
-
let e = "Cancel",
|
|
3762
|
+
let e = "Cancel", n = [];
|
|
3753
3763
|
t != "Cancel" && (e = [], t.forEach((r) => {
|
|
3754
|
-
e.push(r.name),
|
|
3764
|
+
e.push(r.name), n.push(
|
|
3755
3765
|
M.get(
|
|
3756
3766
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3757
3767
|
`${window.openc3Scope}/tmp/${r.name}`
|
|
3758
3768
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3759
3769
|
).then((i) => {
|
|
3760
|
-
|
|
3761
|
-
|
|
3770
|
+
n.push(
|
|
3771
|
+
gt({
|
|
3762
3772
|
...i.data,
|
|
3763
3773
|
data: r
|
|
3764
3774
|
})
|
|
3765
3775
|
);
|
|
3766
3776
|
})
|
|
3767
3777
|
);
|
|
3768
|
-
})), Promise.all(
|
|
3778
|
+
})), Promise.all(n).then((r) => {
|
|
3769
3779
|
M.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3770
3780
|
data: {
|
|
3771
3781
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
@@ -3781,6 +3791,18 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3781
3791
|
this.alertType = "error", this.alertText = `Error: ${t}`, this.showAlert = !0;
|
|
3782
3792
|
},
|
|
3783
3793
|
// ScriptRunner File menu actions
|
|
3794
|
+
async confirmUnsavedChanges() {
|
|
3795
|
+
return this.fileModified === "*" ? await this.$dialog.confirm(
|
|
3796
|
+
"You have unsaved changes. Are you sure you want to continue?",
|
|
3797
|
+
{
|
|
3798
|
+
okText: "Continue",
|
|
3799
|
+
cancelText: "Cancel"
|
|
3800
|
+
}
|
|
3801
|
+
) : !0;
|
|
3802
|
+
},
|
|
3803
|
+
async newFileWithConfirm() {
|
|
3804
|
+
await this.confirmUnsavedChanges() && this.newFile();
|
|
3805
|
+
},
|
|
3784
3806
|
newFile() {
|
|
3785
3807
|
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({
|
|
3786
3808
|
name: "ScriptRunner"
|
|
@@ -3788,7 +3810,7 @@ const Ze = "__TEMP__", q = "<Untitled>", He = "Start", Ui = "Go", fe = "Pause",
|
|
|
3788
3810
|
}), document.title = "Script Runner"), this.doResize();
|
|
3789
3811
|
},
|
|
3790
3812
|
async newRubyTestSuite() {
|
|
3791
|
-
this.newFile(), this.editor.session.setValue(`require 'openc3/script/suite.rb'
|
|
3813
|
+
await this.confirmUnsavedChanges() && (this.newFile(), this.editor.session.setValue(`require 'openc3/script/suite.rb'
|
|
3792
3814
|
|
|
3793
3815
|
# Group class name should indicate what the scripts are testing
|
|
3794
3816
|
class Power < OpenC3::Group
|
|
@@ -3828,10 +3850,10 @@ class TestSuite < OpenC3::Suite
|
|
|
3828
3850
|
# Run after all groups when Suite Start is pressed
|
|
3829
3851
|
end
|
|
3830
3852
|
end
|
|
3831
|
-
`), await this.saveFile("auto");
|
|
3853
|
+
`), await this.saveFile("auto"));
|
|
3832
3854
|
},
|
|
3833
3855
|
async newPythonTestSuite() {
|
|
3834
|
-
this.newFile(), this.editor.session.setValue(`from openc3.script.suite import Suite, Group
|
|
3856
|
+
await this.confirmUnsavedChanges() && (this.newFile(), this.editor.session.setValue(`from openc3.script.suite import Suite, Group
|
|
3835
3857
|
|
|
3836
3858
|
# Group class name should indicate what the scripts are testing
|
|
3837
3859
|
class Power(Group):
|
|
@@ -3869,21 +3891,24 @@ class TestSuite(Suite):
|
|
|
3869
3891
|
# Run when Suite Teardown button is pressed
|
|
3870
3892
|
# Run after all groups when Suite Start is pressed
|
|
3871
3893
|
pass
|
|
3872
|
-
`), await this.saveFile("auto");
|
|
3894
|
+
`), await this.saveFile("auto"));
|
|
3873
3895
|
},
|
|
3874
3896
|
addToRecent(t) {
|
|
3875
|
-
let e = this.recent.findIndex((
|
|
3897
|
+
let e = this.recent.findIndex((n) => n.label === t);
|
|
3876
3898
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3877
3899
|
label: t,
|
|
3878
|
-
icon:
|
|
3879
|
-
command: async (
|
|
3880
|
-
this.filename =
|
|
3900
|
+
icon: yt(t),
|
|
3901
|
+
command: async (n) => {
|
|
3902
|
+
await this.confirmUnsavedChanges() && (this.filename = n.label, await this.reloadFile());
|
|
3881
3903
|
}
|
|
3882
3904
|
}), this.recent.length > 8 && this.recent.pop(), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3883
3905
|
},
|
|
3884
3906
|
removeFromRecent(t) {
|
|
3885
3907
|
this.recent = this.recent.filter((e) => e.label !== t), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent), localStorage.script_runner__filename === t && localStorage.removeItem("script_runner__filename"));
|
|
3886
3908
|
},
|
|
3909
|
+
async openFileWithConfirm() {
|
|
3910
|
+
await this.confirmUnsavedChanges() && this.openFile();
|
|
3911
|
+
},
|
|
3887
3912
|
openFile() {
|
|
3888
3913
|
this.fileOpen = !0;
|
|
3889
3914
|
},
|
|
@@ -3894,13 +3919,13 @@ class TestSuite(Suite):
|
|
|
3894
3919
|
"Ignore-Errors": "404"
|
|
3895
3920
|
}
|
|
3896
3921
|
}).then((e) => {
|
|
3897
|
-
const
|
|
3922
|
+
const n = {
|
|
3898
3923
|
name: this.filename,
|
|
3899
3924
|
contents: e.data.contents
|
|
3900
3925
|
};
|
|
3901
|
-
e.data.suites && (
|
|
3926
|
+
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);
|
|
3902
3927
|
const r = e.data.locked, i = e.data.breakpoints;
|
|
3903
|
-
this.setFile({ file:
|
|
3928
|
+
this.setFile({ file: n, locked: r, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3904
3929
|
}).catch((e) => {
|
|
3905
3930
|
t === !0 && this.$notify.caution({
|
|
3906
3931
|
title: "File Open Error",
|
|
@@ -3909,7 +3934,7 @@ class TestSuite(Suite):
|
|
|
3909
3934
|
});
|
|
3910
3935
|
},
|
|
3911
3936
|
// Called by the FileOpenDialog to set the file contents
|
|
3912
|
-
setFile({ file: t, locked: e, breakpoints:
|
|
3937
|
+
setFile({ file: t, locked: e, breakpoints: n }, r = !1) {
|
|
3913
3938
|
this.files = {};
|
|
3914
3939
|
let i = t.name.split("*")[0];
|
|
3915
3940
|
if (r === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
@@ -3923,7 +3948,7 @@ class TestSuite(Suite):
|
|
|
3923
3948
|
let o = this.filename.split("/");
|
|
3924
3949
|
document.title = `${o.pop()} (${o.join("/")})`;
|
|
3925
3950
|
}
|
|
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] =
|
|
3951
|
+
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();
|
|
3927
3952
|
},
|
|
3928
3953
|
clearTemp() {
|
|
3929
3954
|
this.recent = this.recent.filter(
|
|
@@ -3931,7 +3956,7 @@ class TestSuite(Suite):
|
|
|
3931
3956
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3932
3957
|
},
|
|
3933
3958
|
detectLanguage() {
|
|
3934
|
-
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "),
|
|
3959
|
+
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), n = new RegExp("^\\s*end\\s*$"), r = new RegExp(
|
|
3935
3960
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3936
3961
|
), i = /\(f"/, o = /\(.*\w+:\s+.+\)(?!:)$/, h = this.editor.getValue().split(`
|
|
3937
3962
|
`);
|
|
@@ -3940,7 +3965,7 @@ class TestSuite(Suite):
|
|
|
3940
3965
|
return "ruby";
|
|
3941
3966
|
if (c.match(e))
|
|
3942
3967
|
return "python";
|
|
3943
|
-
if (c.match(
|
|
3968
|
+
if (c.match(n))
|
|
3944
3969
|
return "ruby";
|
|
3945
3970
|
if (c.match(r) || c.match(i))
|
|
3946
3971
|
return "python";
|
|
@@ -3960,11 +3985,11 @@ class TestSuite(Suite):
|
|
|
3960
3985
|
this.saveAs();
|
|
3961
3986
|
return;
|
|
3962
3987
|
} else if (this.tempFilename === null) {
|
|
3963
|
-
let
|
|
3964
|
-
if (
|
|
3965
|
-
this.tempFilename =
|
|
3966
|
-
else if (
|
|
3967
|
-
this.tempFilename =
|
|
3988
|
+
let n = this.detectLanguage();
|
|
3989
|
+
if (n === "unknown" && (n = Ee.getDefaultScriptingLanguage()), n === "ruby")
|
|
3990
|
+
this.tempFilename = Qe + "/" + Me(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.rb";
|
|
3991
|
+
else if (n === "python")
|
|
3992
|
+
this.tempFilename = Qe + "/" + Me(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.py";
|
|
3968
3993
|
else
|
|
3969
3994
|
return;
|
|
3970
3995
|
this.filename = this.tempFilename, this.addToRecent(this.filename);
|
|
@@ -3976,12 +4001,12 @@ class TestSuite(Suite):
|
|
|
3976
4001
|
// Pass in the raw file text
|
|
3977
4002
|
breakpoints: e
|
|
3978
4003
|
}
|
|
3979
|
-
}).then((
|
|
3980
|
-
|
|
4004
|
+
}).then((n) => {
|
|
4005
|
+
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(() => {
|
|
3981
4006
|
this.showSave = !1;
|
|
3982
|
-
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${
|
|
3983
|
-
}).catch(({ response:
|
|
3984
|
-
this.showSave = !1,
|
|
4007
|
+
}, 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();
|
|
4008
|
+
}).catch(({ response: n }) => {
|
|
4009
|
+
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;
|
|
3985
4010
|
});
|
|
3986
4011
|
} else
|
|
3987
4012
|
this.setError("Attempt to save file when not allowed");
|
|
@@ -4003,11 +4028,11 @@ class TestSuite(Suite):
|
|
|
4003
4028
|
this.removeFromRecent(t), this.newFile();
|
|
4004
4029
|
}).catch((e) => {
|
|
4005
4030
|
if (e !== !0) {
|
|
4006
|
-
const
|
|
4031
|
+
const n = {
|
|
4007
4032
|
text: `Failed Multi-Delete. ${e}`,
|
|
4008
4033
|
type: "error"
|
|
4009
4034
|
};
|
|
4010
|
-
this.$emit("alert",
|
|
4035
|
+
this.$emit("alert", n);
|
|
4011
4036
|
}
|
|
4012
4037
|
});
|
|
4013
4038
|
},
|
|
@@ -4095,40 +4120,155 @@ class TestSuite(Suite):
|
|
|
4095
4120
|
}
|
|
4096
4121
|
}
|
|
4097
4122
|
}
|
|
4098
|
-
},
|
|
4123
|
+
}, Fi = { class: "grid" }, Bi = ["id"], Ni = { class: "item-content" }, Hi = { id: "sr-controls" }, Gi = { class: "d-flex align-center mr-1" }, qi = { key: 0 }, Ki = { key: 1 }, ji = {
|
|
4099
4124
|
key: 2,
|
|
4100
4125
|
style: { width: "40px", height: "40px" },
|
|
4101
4126
|
class: "mx-2"
|
|
4102
|
-
},
|
|
4127
|
+
}, Wi = { key: 3 }, Ji = { key: 4 }, Yi = {
|
|
4103
4128
|
key: 0,
|
|
4104
4129
|
id: "debug",
|
|
4105
4130
|
class: "pa-0"
|
|
4106
|
-
},
|
|
4131
|
+
}, Zi = {
|
|
4107
4132
|
key: 1,
|
|
4108
4133
|
style: { "background-color": "var(--color-background-base-default)", margin: "0px", padding: "0px" }
|
|
4109
|
-
},
|
|
4134
|
+
}, Xi = { key: 0 }, Qi = { key: 1 }, $i = { style: { height: "200px", overflow: "hidden" } }, es = {
|
|
4110
4135
|
key: 0,
|
|
4111
4136
|
class: "error-message"
|
|
4112
|
-
},
|
|
4113
|
-
function
|
|
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"),
|
|
4115
|
-
return S(),
|
|
4116
|
-
|
|
4117
|
-
|
|
4137
|
+
}, ts = { class: "flex-grow-1" };
|
|
4138
|
+
function is(t, e, n, r, i, o) {
|
|
4139
|
+
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"), P = a("v-badge"), G = a("v-row"), Q = a("v-card-text"), te = a("v-card"), j = a("v-list-item"), ie = a("v-divider"), I = a("v-list"), F = a("v-menu"), ue = a("pane"), Z = a("script-log-messages"), Ue = a("splitpanes"), xe = a("v-tab"), De = a("v-tabs"), ce = a("v-col"), Ce = a("v-tabs-window-item"), se = a("v-tabs-window"), Ve = a("file-open-save-dialog"), Pe = a("environment-dialog"), ze = a("ask-dialog"), me = a("file-dialog"), Le = a("information-dialog"), Ae = a("event-list-dialog"), Fe = a("overrides-dialog"), pe = a("prompt-dialog"), N = a("results-dialog"), Be = 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"), O = a("running-scripts"), A = a("v-sheet"), H = a("v-bottom-sheet");
|
|
4140
|
+
return S(), D(ge, null, [
|
|
4141
|
+
n.inline ? (S(), D("div", Zi, [
|
|
4142
|
+
s(De, {
|
|
4143
|
+
modelValue: i.inlineTab,
|
|
4144
|
+
"onUpdate:modelValue": e[15] || (e[15] = (m) => i.inlineTab = m),
|
|
4145
|
+
density: "compact"
|
|
4146
|
+
}, {
|
|
4147
|
+
default: l(() => [
|
|
4148
|
+
s(xe, {
|
|
4149
|
+
value: "script",
|
|
4150
|
+
text: "Script",
|
|
4151
|
+
"data-test": "script-tab"
|
|
4152
|
+
}),
|
|
4153
|
+
s(xe, {
|
|
4154
|
+
value: "messages",
|
|
4155
|
+
text: "Messages",
|
|
4156
|
+
"data-test": "messages-tab"
|
|
4157
|
+
})
|
|
4158
|
+
]),
|
|
4159
|
+
_: 1
|
|
4160
|
+
}, 8, ["modelValue"]),
|
|
4161
|
+
s(se, {
|
|
4162
|
+
modelValue: i.inlineTab,
|
|
4163
|
+
"onUpdate:modelValue": e[18] || (e[18] = (m) => i.inlineTab = m)
|
|
4164
|
+
}, {
|
|
4165
|
+
default: l(() => [
|
|
4166
|
+
s(Ce, { value: "script" }, {
|
|
4167
|
+
default: l(() => [
|
|
4168
|
+
s(G, null, {
|
|
4169
|
+
default: l(() => [
|
|
4170
|
+
s(ce, {
|
|
4171
|
+
class: "v-col-10",
|
|
4172
|
+
style: { margin: "15px 0px 0px 0px", padding: "0px" }
|
|
4173
|
+
}, {
|
|
4174
|
+
default: l(() => [
|
|
4175
|
+
x("pre", {
|
|
4176
|
+
ref: "editor",
|
|
4177
|
+
class: "editor",
|
|
4178
|
+
style: { height: "200px" },
|
|
4179
|
+
onContextmenu: e[16] || (e[16] = de((...m) => o.showExecuteSelectionMenu && o.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4180
|
+
}, null, 544)
|
|
4181
|
+
]),
|
|
4182
|
+
_: 1
|
|
4183
|
+
}),
|
|
4184
|
+
s(ce, {
|
|
4185
|
+
class: "v-col-2",
|
|
4186
|
+
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4187
|
+
}, {
|
|
4188
|
+
default: l(() => [
|
|
4189
|
+
i.startOrGoButton === "Start" ? (S(), D("div", Xi, [
|
|
4190
|
+
s(c, {
|
|
4191
|
+
class: "mx-1",
|
|
4192
|
+
color: "primary",
|
|
4193
|
+
text: "Start",
|
|
4194
|
+
"data-test": "start-button",
|
|
4195
|
+
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4196
|
+
hidden: i.suiteRunner,
|
|
4197
|
+
onClick: o.startHandler
|
|
4198
|
+
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4199
|
+
])) : (S(), D("div", Qi, [
|
|
4200
|
+
s(c, {
|
|
4201
|
+
color: "primary",
|
|
4202
|
+
class: "ma-2",
|
|
4203
|
+
text: "Go",
|
|
4204
|
+
disabled: i.startOrGoDisabled,
|
|
4205
|
+
"data-test": "go-button",
|
|
4206
|
+
onClick: o.go
|
|
4207
|
+
}, null, 8, ["disabled", "onClick"]),
|
|
4208
|
+
s(c, {
|
|
4209
|
+
color: "primary",
|
|
4210
|
+
class: "ma-2",
|
|
4211
|
+
text: i.pauseOrRetryButton,
|
|
4212
|
+
disabled: i.pauseOrRetryDisabled,
|
|
4213
|
+
"data-test": "pause-retry-button",
|
|
4214
|
+
onClick: o.pauseOrRetry
|
|
4215
|
+
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4216
|
+
s(c, {
|
|
4217
|
+
color: "primary",
|
|
4218
|
+
class: "ma-2",
|
|
4219
|
+
text: "Stop",
|
|
4220
|
+
"data-test": "stop-button",
|
|
4221
|
+
disabled: i.stopDisabled,
|
|
4222
|
+
onClick: o.stop
|
|
4223
|
+
}, null, 8, ["disabled", "onClick"])
|
|
4224
|
+
]))
|
|
4225
|
+
]),
|
|
4226
|
+
_: 1
|
|
4227
|
+
})
|
|
4228
|
+
]),
|
|
4229
|
+
_: 1
|
|
4230
|
+
})
|
|
4231
|
+
]),
|
|
4232
|
+
_: 1
|
|
4233
|
+
}),
|
|
4234
|
+
s(Ce, { value: "messages" }, {
|
|
4235
|
+
default: l(() => [
|
|
4236
|
+
x("div", $i, [
|
|
4237
|
+
s(Z, {
|
|
4238
|
+
modelValue: i.messages,
|
|
4239
|
+
"onUpdate:modelValue": e[17] || (e[17] = (m) => i.messages = m),
|
|
4240
|
+
"newest-on-top": i.messagesNewestOnTop,
|
|
4241
|
+
onMessageOrderChanged: t.messageOrderChanged
|
|
4242
|
+
}, null, 8, ["modelValue", "newest-on-top", "onMessageOrderChanged"])
|
|
4243
|
+
])
|
|
4244
|
+
]),
|
|
4245
|
+
_: 1
|
|
4246
|
+
})
|
|
4247
|
+
]),
|
|
4248
|
+
_: 1
|
|
4249
|
+
}, 8, ["modelValue"])
|
|
4250
|
+
])) : (S(), D("div", {
|
|
4251
|
+
key: 0,
|
|
4252
|
+
class: "d-flex flex-column overflow-hidden",
|
|
4253
|
+
style: fe({
|
|
4254
|
+
height: r.containerHeight
|
|
4255
|
+
})
|
|
4256
|
+
}, [
|
|
4257
|
+
s(d, {
|
|
4118
4258
|
menus: o.menus,
|
|
4119
4259
|
title: i.title
|
|
4120
4260
|
}, null, 8, ["menus", "title"]),
|
|
4121
|
-
|
|
4261
|
+
s(b, {
|
|
4122
4262
|
modelValue: i.showAlert,
|
|
4123
4263
|
"onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
|
|
4124
4264
|
absolute: "",
|
|
4125
4265
|
color: i.alertType,
|
|
4126
4266
|
timeout: 3e3,
|
|
4127
4267
|
class: "apply-top",
|
|
4128
|
-
style:
|
|
4268
|
+
style: fe(t.classificationStyles)
|
|
4129
4269
|
}, {
|
|
4130
4270
|
actions: l(({ attrs: m }) => [
|
|
4131
|
-
|
|
4271
|
+
s(c, X({
|
|
4132
4272
|
variant: "text",
|
|
4133
4273
|
text: "Close"
|
|
4134
4274
|
}, m, {
|
|
@@ -4136,7 +4276,7 @@ function es(t, e, s, r, i, o) {
|
|
|
4136
4276
|
}), null, 16)
|
|
4137
4277
|
]),
|
|
4138
4278
|
default: l(() => [
|
|
4139
|
-
|
|
4279
|
+
s(h, null, {
|
|
4140
4280
|
default: l(() => [
|
|
4141
4281
|
y(" mdi-" + L(i.alertType), 1)
|
|
4142
4282
|
]),
|
|
@@ -4146,23 +4286,23 @@ function es(t, e, s, r, i, o) {
|
|
|
4146
4286
|
]),
|
|
4147
4287
|
_: 1
|
|
4148
4288
|
}, 8, ["modelValue", "color", "style"]),
|
|
4149
|
-
|
|
4289
|
+
s(b, {
|
|
4150
4290
|
modelValue: i.showEditingToast,
|
|
4151
4291
|
"onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
|
|
4152
4292
|
absolute: "",
|
|
4153
4293
|
class: "apply-top",
|
|
4154
|
-
style:
|
|
4294
|
+
style: fe(t.classificationStyles),
|
|
4155
4295
|
timeout: -1,
|
|
4156
4296
|
color: "orange"
|
|
4157
4297
|
}, {
|
|
4158
4298
|
actions: l(({ attrs: m }) => [
|
|
4159
|
-
|
|
4299
|
+
s(c, X({ variant: "text" }, m, {
|
|
4160
4300
|
color: "danger",
|
|
4161
4301
|
text: "Unlock",
|
|
4162
4302
|
"data-test": "unlock-button",
|
|
4163
4303
|
onClick: o.confirmLocalUnlock
|
|
4164
4304
|
}), null, 16, ["onClick"]),
|
|
4165
|
-
|
|
4305
|
+
s(c, X({
|
|
4166
4306
|
variant: "text",
|
|
4167
4307
|
text: "Dismiss"
|
|
4168
4308
|
}, m, {
|
|
@@ -4172,8 +4312,8 @@ function es(t, e, s, r, i, o) {
|
|
|
4172
4312
|
}), null, 16)
|
|
4173
4313
|
]),
|
|
4174
4314
|
default: l(() => [
|
|
4175
|
-
|
|
4176
|
-
default: l(() => [...e[
|
|
4315
|
+
s(h, null, {
|
|
4316
|
+
default: l(() => [...e[44] || (e[44] = [
|
|
4177
4317
|
y(" mdi-pencil-off ", -1)
|
|
4178
4318
|
])]),
|
|
4179
4319
|
_: 1
|
|
@@ -4182,16 +4322,16 @@ function es(t, e, s, r, i, o) {
|
|
|
4182
4322
|
]),
|
|
4183
4323
|
_: 1
|
|
4184
4324
|
}, 8, ["modelValue", "style"]),
|
|
4185
|
-
x("div",
|
|
4186
|
-
(S(!0),
|
|
4325
|
+
x("div", Fi, [
|
|
4326
|
+
(S(!0), D(ge, null, je(i.screens, (m) => (S(), D("div", {
|
|
4187
4327
|
id: o.screenId(m.id),
|
|
4188
4328
|
key: m.id,
|
|
4189
4329
|
ref_for: !0,
|
|
4190
4330
|
ref: "gridItem",
|
|
4191
4331
|
class: "item"
|
|
4192
4332
|
}, [
|
|
4193
|
-
x("div",
|
|
4194
|
-
|
|
4333
|
+
x("div", Ni, [
|
|
4334
|
+
s(k, {
|
|
4195
4335
|
target: m.target,
|
|
4196
4336
|
screen: m.screen,
|
|
4197
4337
|
definition: m.definition,
|
|
@@ -4207,13 +4347,13 @@ function es(t, e, s, r, i, o) {
|
|
|
4207
4347
|
onDeleteScreen: (J) => o.closeScreen(m.id)
|
|
4208
4348
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4209
4349
|
])
|
|
4210
|
-
], 8,
|
|
4350
|
+
], 8, Bi))), 128))
|
|
4211
4351
|
]),
|
|
4212
|
-
|
|
4352
|
+
s(te, { class: "flex-shrink-0" }, {
|
|
4213
4353
|
default: l(() => [
|
|
4214
|
-
|
|
4354
|
+
s(Q, null, {
|
|
4215
4355
|
default: l(() => [
|
|
4216
|
-
i.suiteRunner ? (S(),
|
|
4356
|
+
i.suiteRunner ? (S(), U(V, {
|
|
4217
4357
|
key: 0,
|
|
4218
4358
|
class: "suite-runner",
|
|
4219
4359
|
"suite-map": i.suiteMap,
|
|
@@ -4221,35 +4361,35 @@ function es(t, e, s, r, i, o) {
|
|
|
4221
4361
|
filename: o.fullFilename,
|
|
4222
4362
|
onButton: o.suiteRunnerButton,
|
|
4223
4363
|
onLoaded: o.doResize
|
|
4224
|
-
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) :
|
|
4225
|
-
x("div",
|
|
4226
|
-
|
|
4364
|
+
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : z("", !0),
|
|
4365
|
+
x("div", Hi, [
|
|
4366
|
+
s(G, {
|
|
4227
4367
|
"no-gutters": "",
|
|
4228
4368
|
justify: "space-between"
|
|
4229
4369
|
}, {
|
|
4230
4370
|
default: l(() => [
|
|
4231
|
-
i.showDisconnect ? (S(),
|
|
4371
|
+
i.showDisconnect ? (S(), U(h, {
|
|
4232
4372
|
key: 0,
|
|
4233
4373
|
class: "mt-2",
|
|
4234
4374
|
color: "red"
|
|
4235
4375
|
}, {
|
|
4236
|
-
default: l(() => [...e[
|
|
4376
|
+
default: l(() => [...e[45] || (e[45] = [
|
|
4237
4377
|
y(" mdi-connection ", -1)
|
|
4238
4378
|
])]),
|
|
4239
4379
|
_: 1
|
|
4240
|
-
})) :
|
|
4241
|
-
x("div",
|
|
4242
|
-
|
|
4380
|
+
})) : z("", !0),
|
|
4381
|
+
x("div", Gi, [
|
|
4382
|
+
s(w, {
|
|
4243
4383
|
"open-delay": 600,
|
|
4244
4384
|
location: "top"
|
|
4245
4385
|
}, {
|
|
4246
4386
|
activator: l(({ props: m }) => [
|
|
4247
|
-
i.scriptId ? (S(),
|
|
4387
|
+
i.scriptId ? (S(), U(c, X({ key: 1 }, m, {
|
|
4248
4388
|
icon: "mdi-arrow-left",
|
|
4249
4389
|
variant: "text",
|
|
4250
4390
|
density: "compact",
|
|
4251
4391
|
onClick: o.backToNewScript
|
|
4252
|
-
}), null, 16, ["onClick"])) : (S(),
|
|
4392
|
+
}), null, 16, ["onClick"])) : (S(), U(c, X({ key: 0 }, m, {
|
|
4253
4393
|
icon: "mdi-cached",
|
|
4254
4394
|
variant: "text",
|
|
4255
4395
|
density: "compact",
|
|
@@ -4259,19 +4399,19 @@ function es(t, e, s, r, i, o) {
|
|
|
4259
4399
|
}), null, 16, ["disabled", "onClick"]))
|
|
4260
4400
|
]),
|
|
4261
4401
|
default: l(() => [
|
|
4262
|
-
i.scriptId ? (S(),
|
|
4402
|
+
i.scriptId ? (S(), D("span", Ki, " Back to New Script ")) : (S(), D("span", qi, " Reload File "))
|
|
4263
4403
|
]),
|
|
4264
4404
|
_: 1
|
|
4265
4405
|
})
|
|
4266
4406
|
]),
|
|
4267
|
-
|
|
4407
|
+
s(w, {
|
|
4268
4408
|
location: "bottom",
|
|
4269
4409
|
text: i.filenameSelect,
|
|
4270
4410
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4271
4411
|
}, {
|
|
4272
4412
|
activator: l(({ props: m }) => [
|
|
4273
4413
|
x("div", X(m, { style: { width: "32rem" } }), [
|
|
4274
|
-
|
|
4414
|
+
s(R, {
|
|
4275
4415
|
id: "filename",
|
|
4276
4416
|
modelValue: i.filenameSelect,
|
|
4277
4417
|
"onUpdate:modelValue": [
|
|
@@ -4290,7 +4430,7 @@ function es(t, e, s, r, i, o) {
|
|
|
4290
4430
|
]),
|
|
4291
4431
|
_: 1
|
|
4292
4432
|
}, 8, ["text", "disabled"]),
|
|
4293
|
-
|
|
4433
|
+
s(E, {
|
|
4294
4434
|
modelValue: i.scriptId,
|
|
4295
4435
|
"onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
|
|
4296
4436
|
label: "Script ID",
|
|
@@ -4302,33 +4442,33 @@ function es(t, e, s, r, i, o) {
|
|
|
4302
4442
|
readonly: "",
|
|
4303
4443
|
"hide-details": ""
|
|
4304
4444
|
}, null, 8, ["modelValue"]),
|
|
4305
|
-
|
|
4445
|
+
s(E, {
|
|
4306
4446
|
modelValue: o.stateTimer,
|
|
4307
4447
|
"onUpdate:modelValue": e[6] || (e[6] = (m) => o.stateTimer = m),
|
|
4308
4448
|
label: "Script State",
|
|
4309
4449
|
"data-test": "state",
|
|
4310
|
-
class: "shrink ml-2 script-state",
|
|
4450
|
+
class: Ke(["shrink", "ml-2", "script-state", o.stateColorClass]),
|
|
4311
4451
|
style: { "max-width": "120px" },
|
|
4312
4452
|
density: "compact",
|
|
4313
4453
|
variant: "outlined",
|
|
4314
4454
|
readonly: "",
|
|
4315
4455
|
"hide-details": ""
|
|
4316
|
-
}, null, 8, ["modelValue"]),
|
|
4317
|
-
i.state === "Connecting..." ? (S(),
|
|
4456
|
+
}, null, 8, ["modelValue", "class"]),
|
|
4457
|
+
i.state === "Connecting..." ? (S(), U(T, {
|
|
4318
4458
|
key: 1,
|
|
4319
4459
|
size: 40,
|
|
4320
4460
|
class: "mx-2",
|
|
4321
4461
|
indeterminate: "",
|
|
4322
4462
|
color: "primary"
|
|
4323
|
-
})) : (S(),
|
|
4324
|
-
|
|
4325
|
-
i.startOrGoButton === "Start" ? (S(),
|
|
4326
|
-
|
|
4463
|
+
})) : (S(), D("div", ji)),
|
|
4464
|
+
s(_),
|
|
4465
|
+
i.startOrGoButton === "Start" ? (S(), D("div", Wi, [
|
|
4466
|
+
s(w, {
|
|
4327
4467
|
"open-delay": 600,
|
|
4328
4468
|
location: "top"
|
|
4329
4469
|
}, {
|
|
4330
4470
|
activator: l(({ props: m }) => [
|
|
4331
|
-
|
|
4471
|
+
s(c, X(m, {
|
|
4332
4472
|
class: "mr-2",
|
|
4333
4473
|
icon: "",
|
|
4334
4474
|
variant: "text",
|
|
@@ -4339,14 +4479,14 @@ function es(t, e, s, r, i, o) {
|
|
|
4339
4479
|
onClick: e[8] || (e[8] = (J) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
|
|
4340
4480
|
}), {
|
|
4341
4481
|
default: l(() => [
|
|
4342
|
-
|
|
4482
|
+
s(P, {
|
|
4343
4483
|
modelValue: o.environmentModified,
|
|
4344
4484
|
"onUpdate:modelValue": e[7] || (e[7] = (J) => o.environmentModified = J),
|
|
4345
4485
|
floating: "",
|
|
4346
4486
|
dot: ""
|
|
4347
4487
|
}, {
|
|
4348
4488
|
default: l(() => [
|
|
4349
|
-
|
|
4489
|
+
s(h, { icon: "mdi-application-variable" })
|
|
4350
4490
|
]),
|
|
4351
4491
|
_: 1
|
|
4352
4492
|
}, 8, ["modelValue"])
|
|
@@ -4356,15 +4496,15 @@ function es(t, e, s, r, i, o) {
|
|
|
4356
4496
|
]),
|
|
4357
4497
|
default: l(() => [
|
|
4358
4498
|
x("span", null, [
|
|
4359
|
-
e[
|
|
4360
|
-
o.environmentModified ? (S(),
|
|
4499
|
+
e[46] || (e[46] = y(" Script Environment ", -1)),
|
|
4500
|
+
o.environmentModified ? (S(), D(ge, { key: 0 }, [
|
|
4361
4501
|
y(" (modified) ")
|
|
4362
|
-
], 64)) :
|
|
4502
|
+
], 64)) : z("", !0)
|
|
4363
4503
|
])
|
|
4364
4504
|
]),
|
|
4365
4505
|
_: 1
|
|
4366
4506
|
}),
|
|
4367
|
-
|
|
4507
|
+
s(c, {
|
|
4368
4508
|
class: "mx-1",
|
|
4369
4509
|
color: "primary",
|
|
4370
4510
|
text: "Start",
|
|
@@ -4373,8 +4513,8 @@ function es(t, e, s, r, i, o) {
|
|
|
4373
4513
|
hidden: i.suiteRunner,
|
|
4374
4514
|
onClick: o.startHandler
|
|
4375
4515
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4376
|
-
])) : (S(),
|
|
4377
|
-
|
|
4516
|
+
])) : (S(), D("div", Ji, [
|
|
4517
|
+
s(c, {
|
|
4378
4518
|
color: "primary",
|
|
4379
4519
|
class: "mr-2",
|
|
4380
4520
|
text: "Go",
|
|
@@ -4382,7 +4522,7 @@ function es(t, e, s, r, i, o) {
|
|
|
4382
4522
|
"data-test": "go-button",
|
|
4383
4523
|
onClick: o.go
|
|
4384
4524
|
}, null, 8, ["disabled", "onClick"]),
|
|
4385
|
-
|
|
4525
|
+
s(c, {
|
|
4386
4526
|
color: "primary",
|
|
4387
4527
|
class: "mr-2",
|
|
4388
4528
|
text: i.pauseOrRetryButton,
|
|
@@ -4390,7 +4530,7 @@ function es(t, e, s, r, i, o) {
|
|
|
4390
4530
|
"data-test": "pause-retry-button",
|
|
4391
4531
|
onClick: o.pauseOrRetry
|
|
4392
4532
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4393
|
-
|
|
4533
|
+
s(c, {
|
|
4394
4534
|
color: "primary",
|
|
4395
4535
|
text: "Stop",
|
|
4396
4536
|
"data-test": "stop-button",
|
|
@@ -4408,27 +4548,27 @@ function es(t, e, s, r, i, o) {
|
|
|
4408
4548
|
]),
|
|
4409
4549
|
_: 1
|
|
4410
4550
|
}),
|
|
4411
|
-
|
|
4551
|
+
s(Ue, {
|
|
4412
4552
|
horizontal: "",
|
|
4413
|
-
|
|
4414
|
-
onResize:
|
|
4553
|
+
class: "flex-grow-1 overflow-hidden",
|
|
4554
|
+
onResize: e[14] || (e[14] = ({ prevPane: m }) => i.editorBoxSize = m.size)
|
|
4415
4555
|
}, {
|
|
4416
4556
|
default: l(() => [
|
|
4417
|
-
|
|
4557
|
+
s(ue, {
|
|
4418
4558
|
class: "editorbox",
|
|
4419
|
-
size:
|
|
4559
|
+
size: i.editorBoxSize
|
|
4420
4560
|
}, {
|
|
4421
4561
|
default: l(() => [
|
|
4422
|
-
|
|
4562
|
+
s(b, {
|
|
4423
4563
|
modelValue: i.showSave,
|
|
4424
4564
|
"onUpdate:modelValue": e[9] || (e[9] = (m) => i.showSave = m),
|
|
4425
4565
|
absolute: "",
|
|
4426
4566
|
location: "right",
|
|
4427
4567
|
timeout: -1,
|
|
4428
4568
|
class: "saving apply-top",
|
|
4429
|
-
style:
|
|
4569
|
+
style: fe(t.classificationStyles)
|
|
4430
4570
|
}, {
|
|
4431
|
-
default: l(() => [...e[
|
|
4571
|
+
default: l(() => [...e[47] || (e[47] = [
|
|
4432
4572
|
y(" Saving... ", -1)
|
|
4433
4573
|
])]),
|
|
4434
4574
|
_: 1
|
|
@@ -4436,42 +4576,42 @@ function es(t, e, s, r, i, o) {
|
|
|
4436
4576
|
x("pre", {
|
|
4437
4577
|
ref: "editor",
|
|
4438
4578
|
class: "editor",
|
|
4439
|
-
onContextmenu: e[10] || (e[10] =
|
|
4579
|
+
onContextmenu: e[10] || (e[10] = de((...m) => o.showExecuteSelectionMenu && o.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4440
4580
|
}, null, 544),
|
|
4441
|
-
|
|
4581
|
+
s(F, {
|
|
4442
4582
|
modelValue: i.executeSelectionMenu,
|
|
4443
4583
|
"onUpdate:modelValue": e[11] || (e[11] = (m) => i.executeSelectionMenu = m),
|
|
4444
4584
|
target: [i.menuX, i.menuY]
|
|
4445
4585
|
}, {
|
|
4446
4586
|
default: l(() => [
|
|
4447
|
-
|
|
4587
|
+
s(I, null, {
|
|
4448
4588
|
default: l(() => [
|
|
4449
|
-
|
|
4589
|
+
s(j, {
|
|
4450
4590
|
title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
|
|
4451
4591
|
onClick: o.openCommandEditor
|
|
4452
4592
|
}, null, 8, ["title", "onClick"]),
|
|
4453
|
-
|
|
4454
|
-
|
|
4593
|
+
s(ie),
|
|
4594
|
+
s(j, {
|
|
4455
4595
|
title: "Execute Selection",
|
|
4456
4596
|
onClick: o.executeSelection
|
|
4457
4597
|
}, null, 8, ["onClick"]),
|
|
4458
|
-
i.scriptId ? (S(),
|
|
4598
|
+
i.scriptId ? (S(), U(j, {
|
|
4459
4599
|
key: 0,
|
|
4460
4600
|
title: "Goto Line",
|
|
4461
4601
|
onClick: o.runFromCursor
|
|
4462
|
-
}, null, 8, ["onClick"])) :
|
|
4463
|
-
i.scriptId ?
|
|
4602
|
+
}, null, 8, ["onClick"])) : z("", !0),
|
|
4603
|
+
i.scriptId ? z("", !0) : (S(), U(j, {
|
|
4464
4604
|
key: 1,
|
|
4465
4605
|
title: "Run From Line",
|
|
4466
4606
|
onClick: o.runFromCursor
|
|
4467
4607
|
}, null, 8, ["onClick"])),
|
|
4468
|
-
i.scriptId ?
|
|
4608
|
+
i.scriptId ? z("", !0) : (S(), U(j, {
|
|
4469
4609
|
key: 2,
|
|
4470
4610
|
title: "Clear Local Breakpoints",
|
|
4471
4611
|
onClick: o.clearBreakpoints
|
|
4472
4612
|
}, null, 8, ["onClick"])),
|
|
4473
|
-
|
|
4474
|
-
|
|
4613
|
+
s(ie),
|
|
4614
|
+
s(j, {
|
|
4475
4615
|
title: "Toggle Vim mode",
|
|
4476
4616
|
"prepend-icon": "extras:vim",
|
|
4477
4617
|
onClick: o.toggleVimMode
|
|
@@ -4484,17 +4624,17 @@ function es(t, e, s, r, i, o) {
|
|
|
4484
4624
|
}, 8, ["modelValue", "target"])
|
|
4485
4625
|
]),
|
|
4486
4626
|
_: 1
|
|
4487
|
-
}),
|
|
4488
|
-
|
|
4627
|
+
}, 8, ["size"]),
|
|
4628
|
+
s(ue, {
|
|
4489
4629
|
id: "messages",
|
|
4490
|
-
|
|
4491
|
-
|
|
4630
|
+
class: "mt-2",
|
|
4631
|
+
size: 100 - i.editorBoxSize
|
|
4492
4632
|
}, {
|
|
4493
4633
|
default: l(() => [
|
|
4494
|
-
i.showDebug ? (S(),
|
|
4495
|
-
|
|
4634
|
+
i.showDebug ? (S(), D("div", Yi, [
|
|
4635
|
+
s(G, { "no-gutters": "" }, {
|
|
4496
4636
|
default: l(() => [
|
|
4497
|
-
|
|
4637
|
+
s(c, {
|
|
4498
4638
|
color: "primary",
|
|
4499
4639
|
style: { width: "100px" },
|
|
4500
4640
|
class: "mr-4",
|
|
@@ -4504,7 +4644,7 @@ function es(t, e, s, r, i, o) {
|
|
|
4504
4644
|
"data-test": "step-button",
|
|
4505
4645
|
onClick: o.step
|
|
4506
4646
|
}, null, 8, ["disabled", "onClick"]),
|
|
4507
|
-
|
|
4647
|
+
s(E, {
|
|
4508
4648
|
ref: "debug",
|
|
4509
4649
|
modelValue: i.debug,
|
|
4510
4650
|
"onUpdate:modelValue": e[12] || (e[12] = (m) => i.debug = m),
|
|
@@ -4519,8 +4659,8 @@ function es(t, e, s, r, i, o) {
|
|
|
4519
4659
|
]),
|
|
4520
4660
|
_: 1
|
|
4521
4661
|
})
|
|
4522
|
-
])) :
|
|
4523
|
-
|
|
4662
|
+
])) : z("", !0),
|
|
4663
|
+
s(Z, {
|
|
4524
4664
|
id: "log-messages",
|
|
4525
4665
|
modelValue: i.messages,
|
|
4526
4666
|
"onUpdate:modelValue": e[13] || (e[13] = (m) => i.messages = m),
|
|
@@ -4528,194 +4668,84 @@ function es(t, e, s, r, i, o) {
|
|
|
4528
4668
|
}, null, 8, ["modelValue", "onSort"])
|
|
4529
4669
|
]),
|
|
4530
4670
|
_: 1
|
|
4531
|
-
},
|
|
4532
|
-
]),
|
|
4533
|
-
_: 1
|
|
4534
|
-
}, 8, ["onResize"])
|
|
4535
|
-
], 64)),
|
|
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
|
-
}, {
|
|
4542
|
-
default: l(() => [
|
|
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" }, {
|
|
4562
|
-
default: l(() => [
|
|
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
|
-
})
|
|
4626
|
-
]),
|
|
4627
|
-
_: 1
|
|
4628
|
-
}),
|
|
4629
|
-
n(Se, { value: "messages" }, {
|
|
4630
|
-
default: l(() => [
|
|
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
|
-
])
|
|
4639
|
-
]),
|
|
4640
|
-
_: 1
|
|
4641
|
-
})
|
|
4671
|
+
}, 8, ["size"])
|
|
4642
4672
|
]),
|
|
4643
4673
|
_: 1
|
|
4644
|
-
}
|
|
4645
|
-
]
|
|
4646
|
-
i.fileOpen ? (S(),
|
|
4674
|
+
})
|
|
4675
|
+
], 4)),
|
|
4676
|
+
i.fileOpen ? (S(), U(Ve, {
|
|
4647
4677
|
key: 2,
|
|
4648
4678
|
modelValue: i.fileOpen,
|
|
4649
|
-
"onUpdate:modelValue": e[
|
|
4679
|
+
"onUpdate:modelValue": e[19] || (e[19] = (m) => i.fileOpen = m),
|
|
4650
4680
|
type: "open",
|
|
4651
4681
|
"api-url": "/script-api/scripts",
|
|
4652
|
-
onFile: e[
|
|
4653
|
-
onError: e[
|
|
4654
|
-
onClearTemp: e[
|
|
4655
|
-
}, null, 8, ["modelValue"])) :
|
|
4656
|
-
i.showSaveAs ? (S(),
|
|
4682
|
+
onFile: e[20] || (e[20] = (m) => o.setFile(m)),
|
|
4683
|
+
onError: e[21] || (e[21] = (m) => o.setError(m)),
|
|
4684
|
+
onClearTemp: e[22] || (e[22] = (m) => o.clearTemp(m))
|
|
4685
|
+
}, null, 8, ["modelValue"])) : z("", !0),
|
|
4686
|
+
i.showSaveAs ? (S(), U(Ve, {
|
|
4657
4687
|
key: 3,
|
|
4658
4688
|
modelValue: i.showSaveAs,
|
|
4659
|
-
"onUpdate:modelValue": e[
|
|
4689
|
+
"onUpdate:modelValue": e[23] || (e[23] = (m) => i.showSaveAs = m),
|
|
4660
4690
|
type: "save",
|
|
4661
4691
|
"api-url": "/script-api/scripts",
|
|
4662
4692
|
"require-target-parent-dir": "",
|
|
4663
4693
|
"input-filename": o.filenameOrBlank,
|
|
4664
|
-
onFilename: e[
|
|
4665
|
-
onError: e[
|
|
4666
|
-
onClearTemp: e[
|
|
4667
|
-
}, null, 8, ["modelValue", "input-filename"])) :
|
|
4668
|
-
i.showEnvironment ? (S(),
|
|
4694
|
+
onFilename: e[24] || (e[24] = (m) => o.saveAsFilename(m)),
|
|
4695
|
+
onError: e[25] || (e[25] = (m) => o.setError(m)),
|
|
4696
|
+
onClearTemp: e[26] || (e[26] = (m) => o.clearTemp(m))
|
|
4697
|
+
}, null, 8, ["modelValue", "input-filename"])) : z("", !0),
|
|
4698
|
+
i.showEnvironment ? (S(), U(Pe, {
|
|
4669
4699
|
key: 4,
|
|
4670
4700
|
modelValue: i.showEnvironment,
|
|
4671
|
-
"onUpdate:modelValue": e[
|
|
4672
|
-
}, null, 8, ["modelValue"])) :
|
|
4673
|
-
i.ask.show ? (S(),
|
|
4701
|
+
"onUpdate:modelValue": e[27] || (e[27] = (m) => i.showEnvironment = m)
|
|
4702
|
+
}, null, 8, ["modelValue"])) : z("", !0),
|
|
4703
|
+
i.ask.show ? (S(), U(ze, {
|
|
4674
4704
|
key: 5,
|
|
4675
4705
|
modelValue: i.ask.show,
|
|
4676
|
-
"onUpdate:modelValue": e[
|
|
4706
|
+
"onUpdate:modelValue": e[28] || (e[28] = (m) => i.ask.show = m),
|
|
4677
4707
|
question: i.ask.question,
|
|
4678
4708
|
default: i.ask.default,
|
|
4679
4709
|
password: i.ask.password,
|
|
4680
4710
|
"answer-required": i.ask.answerRequired,
|
|
4681
4711
|
onResponse: i.ask.callback
|
|
4682
|
-
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) :
|
|
4683
|
-
i.file.show ? (S(),
|
|
4712
|
+
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : z("", !0),
|
|
4713
|
+
i.file.show ? (S(), U(me, {
|
|
4684
4714
|
key: 6,
|
|
4685
4715
|
modelValue: i.file.show,
|
|
4686
|
-
"onUpdate:modelValue": e[
|
|
4716
|
+
"onUpdate:modelValue": e[29] || (e[29] = (m) => i.file.show = m),
|
|
4687
4717
|
title: i.file.title,
|
|
4688
4718
|
message: i.file.message,
|
|
4689
4719
|
multiple: i.file.multiple,
|
|
4690
4720
|
filter: i.file.filter,
|
|
4691
4721
|
onResponse: o.fileDialogCallback
|
|
4692
|
-
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) :
|
|
4693
|
-
i.information.show ? (S(),
|
|
4722
|
+
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : z("", !0),
|
|
4723
|
+
i.information.show ? (S(), U(Le, {
|
|
4694
4724
|
key: 7,
|
|
4695
4725
|
modelValue: i.information.show,
|
|
4696
|
-
"onUpdate:modelValue": e[
|
|
4726
|
+
"onUpdate:modelValue": e[30] || (e[30] = (m) => i.information.show = m),
|
|
4697
4727
|
title: i.information.title,
|
|
4698
4728
|
text: i.information.text,
|
|
4699
4729
|
width: i.information.width
|
|
4700
|
-
}, null, 8, ["modelValue", "title", "text", "width"])) :
|
|
4701
|
-
i.inputMetadata.show ? (S(),
|
|
4730
|
+
}, null, 8, ["modelValue", "title", "text", "width"])) : z("", !0),
|
|
4731
|
+
i.inputMetadata.show ? (S(), U(Ae, {
|
|
4702
4732
|
key: 8,
|
|
4703
4733
|
modelValue: i.inputMetadata.show,
|
|
4704
|
-
"onUpdate:modelValue": e[
|
|
4734
|
+
"onUpdate:modelValue": e[31] || (e[31] = (m) => i.inputMetadata.show = m),
|
|
4705
4735
|
events: i.inputMetadata.events,
|
|
4706
4736
|
"time-zone": i.timeZone,
|
|
4707
4737
|
"new-metadata": "",
|
|
4708
4738
|
onClose: i.inputMetadata.callback
|
|
4709
|
-
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) :
|
|
4710
|
-
i.showOverrides ? (S(),
|
|
4739
|
+
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : z("", !0),
|
|
4740
|
+
i.showOverrides ? (S(), U(Fe, {
|
|
4711
4741
|
key: 9,
|
|
4712
4742
|
modelValue: i.showOverrides,
|
|
4713
|
-
"onUpdate:modelValue": e[
|
|
4714
|
-
}, null, 8, ["modelValue"])) :
|
|
4715
|
-
i.prompt.show ? (S(),
|
|
4743
|
+
"onUpdate:modelValue": e[32] || (e[32] = (m) => i.showOverrides = m)
|
|
4744
|
+
}, null, 8, ["modelValue"])) : z("", !0),
|
|
4745
|
+
i.prompt.show ? (S(), U(pe, {
|
|
4716
4746
|
key: 10,
|
|
4717
4747
|
modelValue: i.prompt.show,
|
|
4718
|
-
"onUpdate:modelValue": e[
|
|
4748
|
+
"onUpdate:modelValue": e[33] || (e[33] = (m) => i.prompt.show = m),
|
|
4719
4749
|
title: i.prompt.title,
|
|
4720
4750
|
subtitle: i.prompt.subtitle,
|
|
4721
4751
|
message: i.prompt.message,
|
|
@@ -4724,51 +4754,52 @@ function es(t, e, s, r, i, o) {
|
|
|
4724
4754
|
layout: i.prompt.layout,
|
|
4725
4755
|
multiple: i.prompt.multiple,
|
|
4726
4756
|
onResponse: i.prompt.callback
|
|
4727
|
-
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) :
|
|
4728
|
-
i.results.show ? (S(),
|
|
4757
|
+
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : z("", !0),
|
|
4758
|
+
i.results.show ? (S(), U(N, {
|
|
4729
4759
|
key: 11,
|
|
4730
4760
|
modelValue: i.results.show,
|
|
4731
|
-
"onUpdate:modelValue": e[
|
|
4761
|
+
"onUpdate:modelValue": e[34] || (e[34] = (m) => i.results.show = m),
|
|
4732
4762
|
text: i.results.text
|
|
4733
|
-
}, null, 8, ["modelValue", "text"])) :
|
|
4734
|
-
i.scriptEnvironment.show ? (S(),
|
|
4763
|
+
}, null, 8, ["modelValue", "text"])) : z("", !0),
|
|
4764
|
+
i.scriptEnvironment.show ? (S(), U(Be, {
|
|
4735
4765
|
key: 12,
|
|
4736
4766
|
modelValue: i.scriptEnvironment.show,
|
|
4737
|
-
"onUpdate:modelValue": e[
|
|
4767
|
+
"onUpdate:modelValue": e[35] || (e[35] = (m) => i.scriptEnvironment.show = m),
|
|
4738
4768
|
"input-environment": i.scriptEnvironment.env,
|
|
4739
4769
|
onEnvironment: o.environmentHandler
|
|
4740
|
-
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) :
|
|
4741
|
-
|
|
4770
|
+
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : z("", !0),
|
|
4771
|
+
s(u, {
|
|
4742
4772
|
modelValue: i.showSuiteError,
|
|
4743
|
-
"onUpdate:modelValue": e[
|
|
4773
|
+
"onUpdate:modelValue": e[36] || (e[36] = (m) => i.showSuiteError = m),
|
|
4744
4774
|
title: "Suite Analysis Error",
|
|
4745
4775
|
text: i.suiteError,
|
|
4746
4776
|
width: 1e3
|
|
4747
4777
|
}, null, 8, ["modelValue", "text"]),
|
|
4748
|
-
|
|
4778
|
+
s(p, {
|
|
4749
4779
|
modelValue: i.displayCriticalCmd,
|
|
4750
|
-
"onUpdate:modelValue": e[
|
|
4780
|
+
"onUpdate:modelValue": e[37] || (e[37] = (m) => i.displayCriticalCmd = m),
|
|
4751
4781
|
uuid: i.criticalCmdUuid,
|
|
4752
4782
|
"cmd-string": i.criticalCmdString,
|
|
4753
4783
|
"cmd-user": i.criticalCmdUser,
|
|
4754
4784
|
persistent: !0,
|
|
4755
4785
|
onStatus: o.promptDialogCallback
|
|
4756
4786
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4757
|
-
|
|
4787
|
+
s(C, {
|
|
4758
4788
|
modelValue: i.commandEditor.show,
|
|
4759
|
-
"onUpdate:modelValue": e[
|
|
4789
|
+
"onUpdate:modelValue": e[41] || (e[41] = (m) => i.commandEditor.show = m),
|
|
4760
4790
|
"max-width": "1200",
|
|
4761
4791
|
persistent: "",
|
|
4762
|
-
scrollable: ""
|
|
4792
|
+
scrollable: "",
|
|
4793
|
+
onKeydown: Se(o.closeCommandDialog, ["esc"])
|
|
4763
4794
|
}, {
|
|
4764
4795
|
default: l(() => [
|
|
4765
|
-
|
|
4796
|
+
s(te, null, {
|
|
4766
4797
|
default: l(() => [
|
|
4767
|
-
|
|
4798
|
+
s(v, { class: "d-flex align-center" }, {
|
|
4768
4799
|
default: l(() => [
|
|
4769
|
-
e[
|
|
4770
|
-
|
|
4771
|
-
|
|
4800
|
+
e[48] || (e[48] = x("span", null, "Insert Command", -1)),
|
|
4801
|
+
s(_),
|
|
4802
|
+
s(c, {
|
|
4772
4803
|
icon: "mdi-close",
|
|
4773
4804
|
variant: "text",
|
|
4774
4805
|
onClick: o.closeCommandDialog
|
|
@@ -4776,58 +4807,58 @@ function es(t, e, s, r, i, o) {
|
|
|
4776
4807
|
]),
|
|
4777
4808
|
_: 1
|
|
4778
4809
|
}),
|
|
4779
|
-
|
|
4810
|
+
s(Q, { class: "pa-0" }, {
|
|
4780
4811
|
default: l(() => [
|
|
4781
|
-
i.commandEditor.dialogError ? (S(),
|
|
4782
|
-
|
|
4812
|
+
i.commandEditor.dialogError ? (S(), D("div", es, [
|
|
4813
|
+
s(h, {
|
|
4783
4814
|
class: "mr-2",
|
|
4784
4815
|
color: "error"
|
|
4785
4816
|
}, {
|
|
4786
|
-
default: l(() => [...e[
|
|
4817
|
+
default: l(() => [...e[49] || (e[49] = [
|
|
4787
4818
|
y("mdi-alert-circle", -1)
|
|
4788
4819
|
])]),
|
|
4789
4820
|
_: 1
|
|
4790
4821
|
}),
|
|
4791
|
-
x("span",
|
|
4792
|
-
|
|
4822
|
+
x("span", ts, L(i.commandEditor.dialogError), 1),
|
|
4823
|
+
s(c, {
|
|
4793
4824
|
icon: "mdi-close",
|
|
4794
4825
|
size: "small",
|
|
4795
4826
|
variant: "text",
|
|
4796
4827
|
color: "error",
|
|
4797
|
-
|
|
4798
|
-
|
|
4828
|
+
class: "ml-2",
|
|
4829
|
+
onClick: e[38] || (e[38] = (m) => i.commandEditor.dialogError = null)
|
|
4799
4830
|
})
|
|
4800
|
-
])) :
|
|
4801
|
-
|
|
4831
|
+
])) : z("", !0),
|
|
4832
|
+
s(f, {
|
|
4802
4833
|
ref: "commandEditor",
|
|
4803
4834
|
"initial-target-name": i.commandEditor.targetName,
|
|
4804
4835
|
"initial-packet-name": i.commandEditor.packetName,
|
|
4805
4836
|
"cmd-string": i.commandEditor.cmdString,
|
|
4806
4837
|
"send-disabled": !1,
|
|
4807
4838
|
"show-command-button": !1,
|
|
4808
|
-
onBuildCmd: e[
|
|
4839
|
+
onBuildCmd: e[39] || (e[39] = (m) => o.insertCommand(m))
|
|
4809
4840
|
}, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
|
|
4810
4841
|
]),
|
|
4811
4842
|
_: 1
|
|
4812
4843
|
}),
|
|
4813
|
-
|
|
4844
|
+
s(g, null, {
|
|
4814
4845
|
default: l(() => [
|
|
4815
|
-
|
|
4816
|
-
|
|
4846
|
+
s(_),
|
|
4847
|
+
s(c, {
|
|
4817
4848
|
variant: "outlined",
|
|
4818
4849
|
onClick: o.closeCommandDialog
|
|
4819
4850
|
}, {
|
|
4820
|
-
default: l(() => [...e[
|
|
4851
|
+
default: l(() => [...e[50] || (e[50] = [
|
|
4821
4852
|
y(" Cancel ", -1)
|
|
4822
4853
|
])]),
|
|
4823
4854
|
_: 1
|
|
4824
4855
|
}, 8, ["onClick"]),
|
|
4825
|
-
|
|
4856
|
+
s(c, {
|
|
4826
4857
|
color: "primary",
|
|
4827
4858
|
variant: "flat",
|
|
4828
|
-
onClick: e[
|
|
4859
|
+
onClick: e[40] || (e[40] = (m) => o.insertCommand())
|
|
4829
4860
|
}, {
|
|
4830
|
-
default: l(() => [...e[
|
|
4861
|
+
default: l(() => [...e[51] || (e[51] = [
|
|
4831
4862
|
y(" Insert Command ", -1)
|
|
4832
4863
|
])]),
|
|
4833
4864
|
_: 1
|
|
@@ -4840,22 +4871,22 @@ function es(t, e, s, r, i, o) {
|
|
|
4840
4871
|
})
|
|
4841
4872
|
]),
|
|
4842
4873
|
_: 1
|
|
4843
|
-
}, 8, ["modelValue"]),
|
|
4844
|
-
|
|
4874
|
+
}, 8, ["modelValue", "onKeydown"]),
|
|
4875
|
+
s(H, {
|
|
4845
4876
|
modelValue: i.showScripts,
|
|
4846
|
-
"onUpdate:modelValue": e[
|
|
4877
|
+
"onUpdate:modelValue": e[43] || (e[43] = (m) => i.showScripts = m)
|
|
4847
4878
|
}, {
|
|
4848
4879
|
default: l(() => [
|
|
4849
|
-
|
|
4880
|
+
s(A, { class: "pb-11 pt-5 px-5" }, {
|
|
4850
4881
|
default: l(() => [
|
|
4851
|
-
i.showScripts ? (S(),
|
|
4882
|
+
i.showScripts ? (S(), U(O, {
|
|
4852
4883
|
key: 0,
|
|
4853
4884
|
"connect-in-new-tab": !!i.fileModified,
|
|
4854
4885
|
onDisconnect: o.scriptDisconnect,
|
|
4855
|
-
onClose: e[
|
|
4886
|
+
onClose: e[42] || (e[42] = () => {
|
|
4856
4887
|
i.showScripts = !1;
|
|
4857
4888
|
})
|
|
4858
|
-
}, null, 8, ["connect-in-new-tab", "onDisconnect"])) :
|
|
4889
|
+
}, null, 8, ["connect-in-new-tab", "onDisconnect"])) : z("", !0)
|
|
4859
4890
|
]),
|
|
4860
4891
|
_: 1
|
|
4861
4892
|
})
|
|
@@ -4864,11 +4895,11 @@ function es(t, e, s, r, i, o) {
|
|
|
4864
4895
|
}, 8, ["modelValue"])
|
|
4865
4896
|
], 64);
|
|
4866
4897
|
}
|
|
4867
|
-
const
|
|
4898
|
+
const ks = /* @__PURE__ */ K(Ai, [["render", is], ["__scopeId", "data-v-8c9a558b"]]);
|
|
4868
4899
|
export {
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4900
|
+
Ut as RunningScripts,
|
|
4901
|
+
zt as ScriptLogMessages,
|
|
4902
|
+
ks as ScriptRunner,
|
|
4903
|
+
Vi as SuiteRunner
|
|
4873
4904
|
};
|
|
4874
4905
|
//# sourceMappingURL=scriptrunner.js.map
|