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