@openc3/vue-common 6.9.2 → 6.10.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-Barb7cCJ.cjs → ArrayWidget-ByKRAWXn.cjs} +2 -2
- package/dist/{ArrayWidget-Barb7cCJ.cjs.map → ArrayWidget-ByKRAWXn.cjs.map} +1 -1
- package/dist/{ArrayWidget-DUTccTH3.js → ArrayWidget-CR7Wpw3N.js} +4 -4
- package/dist/{ArrayWidget-DUTccTH3.js.map → ArrayWidget-CR7Wpw3N.js.map} +1 -1
- package/dist/{ArrayplotWidget-CQRRIpFr.cjs → ArrayplotWidget-Cty7KQ_h.cjs} +2 -2
- package/dist/{ArrayplotWidget-CQRRIpFr.cjs.map → ArrayplotWidget-Cty7KQ_h.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-BeNF76NM.js → ArrayplotWidget-DDEd-jRJ.js} +3 -3
- package/dist/{ArrayplotWidget-BeNF76NM.js.map → ArrayplotWidget-DDEd-jRJ.js.map} +1 -1
- package/dist/{BarColumn-ooUZaRUq.cjs → BarColumn-BZSUr33b.cjs} +2 -2
- package/dist/{BarColumn-ooUZaRUq.cjs.map → BarColumn-BZSUr33b.cjs.map} +1 -1
- package/dist/{BarColumn-Dn6MDJoo.js → BarColumn-XWs-3Cwb.js} +3 -3
- package/dist/{BarColumn-Dn6MDJoo.js.map → BarColumn-XWs-3Cwb.js.map} +1 -1
- package/dist/{BlockWidget-BDkZljH8.cjs → BlockWidget-BDzoqpxO.cjs} +2 -2
- package/dist/{BlockWidget-BDkZljH8.cjs.map → BlockWidget-BDzoqpxO.cjs.map} +1 -1
- package/dist/{BlockWidget-BXQlPVQI.js → BlockWidget-CfFgdNSv.js} +4 -4
- package/dist/{BlockWidget-BXQlPVQI.js.map → BlockWidget-CfFgdNSv.js.map} +1 -1
- package/dist/{ButtonWidget-5ybX-zVD.cjs → ButtonWidget-BBMDS_YF.cjs} +3 -3
- package/dist/{ButtonWidget-5ybX-zVD.cjs.map → ButtonWidget-BBMDS_YF.cjs.map} +1 -1
- package/dist/{ButtonWidget-D8ncnhlr.js → ButtonWidget-BaSvtElA.js} +10 -10
- package/dist/{ButtonWidget-D8ncnhlr.js.map → ButtonWidget-BaSvtElA.js.map} +1 -1
- package/dist/{CanvasWidget-D4ZHOTxU.cjs → CanvasWidget-CFNpgqfW.cjs} +2 -2
- package/dist/{CanvasWidget-D4ZHOTxU.cjs.map → CanvasWidget-CFNpgqfW.cjs.map} +1 -1
- package/dist/{CanvasWidget-IkZPgKME.js → CanvasWidget-DcwDi5Zk.js} +2 -2
- package/dist/{CanvasWidget-IkZPgKME.js.map → CanvasWidget-DcwDi5Zk.js.map} +1 -1
- package/dist/{CanvasdotWidget-Ceu6X0ma.js → CanvasdotWidget--awMOWyz.js} +2 -2
- package/dist/{CanvasdotWidget-Ceu6X0ma.js.map → CanvasdotWidget--awMOWyz.js.map} +1 -1
- package/dist/{CanvasdotWidget-C_M5yCv9.cjs → CanvasdotWidget-BZ9TrTvw.cjs} +2 -2
- package/dist/{CanvasdotWidget-C_M5yCv9.cjs.map → CanvasdotWidget-BZ9TrTvw.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-BiWHp93X.cjs → CanvasimageWidget-Dk15uRRu.cjs} +2 -2
- package/dist/{CanvasimageWidget-BiWHp93X.cjs.map → CanvasimageWidget-Dk15uRRu.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-Bnx5rUVW.js → CanvasimageWidget-YP1pCtvb.js} +3 -3
- package/dist/{CanvasimageWidget-Bnx5rUVW.js.map → CanvasimageWidget-YP1pCtvb.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CVdY8iLq.cjs → CanvasimagevalueWidget-BQHjJCuq.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-CVdY8iLq.cjs.map → CanvasimagevalueWidget-BQHjJCuq.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CFO-XDML.js → CanvasimagevalueWidget-CjVHb2uj.js} +3 -3
- package/dist/{CanvasimagevalueWidget-CFO-XDML.js.map → CanvasimagevalueWidget-CjVHb2uj.js.map} +1 -1
- package/dist/{CanvaslabelWidget-C5wyN8dS.js → CanvaslabelWidget-DoMplTTO.js} +2 -2
- package/dist/{CanvaslabelWidget-C5wyN8dS.js.map → CanvaslabelWidget-DoMplTTO.js.map} +1 -1
- package/dist/{CanvaslabelWidget-U4P4GDpI.cjs → CanvaslabelWidget-Dw1YmiY0.cjs} +2 -2
- package/dist/{CanvaslabelWidget-U4P4GDpI.cjs.map → CanvaslabelWidget-Dw1YmiY0.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-C60wTi40.cjs → CanvaslabelvalueWidget-BYmsu9r_.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-C60wTi40.cjs.map → CanvaslabelvalueWidget-BYmsu9r_.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-CXr6zhdn.js → CanvaslabelvalueWidget-Dyo_ogHn.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-CXr6zhdn.js.map → CanvaslabelvalueWidget-Dyo_ogHn.js.map} +1 -1
- package/dist/{CanvaslineWidget-DW2l3EAG.js → CanvaslineWidget-D7W1TIxm.js} +2 -2
- package/dist/{CanvaslineWidget-DW2l3EAG.js.map → CanvaslineWidget-D7W1TIxm.js.map} +1 -1
- package/dist/{CanvaslineWidget-CzOtvkcR.cjs → CanvaslineWidget-tm194dw1.cjs} +2 -2
- package/dist/{CanvaslineWidget-CzOtvkcR.cjs.map → CanvaslineWidget-tm194dw1.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-UJ0xa8-8.js → CanvaslinevalueWidget-BOZyJuLE.js} +2 -2
- package/dist/{CanvaslinevalueWidget-UJ0xa8-8.js.map → CanvaslinevalueWidget-BOZyJuLE.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-D20bbhm_.cjs → CanvaslinevalueWidget-DM5c-ciY.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-D20bbhm_.cjs.map → CanvaslinevalueWidget-DM5c-ciY.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-BF5cvQHd.js → CheckbuttonWidget-B1E4BC6v.js} +2 -2
- package/dist/{CheckbuttonWidget-BF5cvQHd.js.map → CheckbuttonWidget-B1E4BC6v.js.map} +1 -1
- package/dist/{CheckbuttonWidget-dStQF0Yp.cjs → CheckbuttonWidget-BSvTWD3x.cjs} +2 -2
- package/dist/{CheckbuttonWidget-dStQF0Yp.cjs.map → CheckbuttonWidget-BSvTWD3x.cjs.map} +1 -1
- package/dist/{ClassificationBanners-CTChOmRf.cjs → ClassificationBanners-CzZoKcRy.cjs} +2 -2
- package/dist/{ClassificationBanners-CTChOmRf.cjs.map → ClassificationBanners-CzZoKcRy.cjs.map} +1 -1
- package/dist/{ClassificationBanners-CDc_06x9.js → ClassificationBanners-DQeVwmYp.js} +2 -2
- package/dist/{ClassificationBanners-CDc_06x9.js.map → ClassificationBanners-DQeVwmYp.js.map} +1 -1
- package/dist/{ComboboxWidget-Di1O9VBF.js → ComboboxWidget-BExUBH57.js} +2 -2
- package/dist/{ComboboxWidget-Di1O9VBF.js.map → ComboboxWidget-BExUBH57.js.map} +1 -1
- package/dist/{ComboboxWidget-D4h-0V0x.cjs → ComboboxWidget-B_KAnIVB.cjs} +2 -2
- package/dist/{ComboboxWidget-D4h-0V0x.cjs.map → ComboboxWidget-B_KAnIVB.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-CZHVDFjK.js → CriticalCmdDialog-BtzhxuZi.js} +16 -16
- package/dist/CriticalCmdDialog-BtzhxuZi.js.map +1 -0
- package/dist/{CriticalCmdDialog-EvK998xs.cjs → CriticalCmdDialog-CeohXoAG.cjs} +2 -2
- package/dist/CriticalCmdDialog-CeohXoAG.cjs.map +1 -0
- package/dist/{DateWidget-GiUOvEZO.js → DateWidget-_ZmPsi2l.js} +2 -2
- package/dist/{DateWidget-GiUOvEZO.js.map → DateWidget-_ZmPsi2l.js.map} +1 -1
- package/dist/{DateWidget-BAFINBB6.cjs → DateWidget-kTJBAHVp.cjs} +2 -2
- package/dist/{DateWidget-BAFINBB6.cjs.map → DateWidget-kTJBAHVp.cjs.map} +1 -1
- package/dist/DetailsDialog-Bc_VEG95.cjs +2 -0
- package/dist/DetailsDialog-Bc_VEG95.cjs.map +1 -0
- package/dist/{DetailsDialog-Ji0jA6sd.js → DetailsDialog-Bq7SS7bc.js} +76 -73
- package/dist/DetailsDialog-Bq7SS7bc.js.map +1 -0
- package/dist/{EventListDialog-CEDNXaKw.cjs → EventListDialog-Dycx70tY.cjs} +2 -2
- package/dist/{EventListDialog-CEDNXaKw.cjs.map → EventListDialog-Dycx70tY.cjs.map} +1 -1
- package/dist/{EventListDialog-BLLIQyah.js → EventListDialog-jdNF3szO.js} +3 -3
- package/dist/{EventListDialog-BLLIQyah.js.map → EventListDialog-jdNF3szO.js.map} +1 -1
- package/dist/{FormatvalueWidget-JVEG-72b.js → FormatvalueWidget-4C0vrL2i.js} +3 -3
- package/dist/{FormatvalueWidget-JVEG-72b.js.map → FormatvalueWidget-4C0vrL2i.js.map} +1 -1
- package/dist/{FormatvalueWidget-DJkp_gM_.cjs → FormatvalueWidget-CVoJgFJA.cjs} +2 -2
- package/dist/{FormatvalueWidget-DJkp_gM_.cjs.map → FormatvalueWidget-CVoJgFJA.cjs.map} +1 -1
- package/dist/{Graph-B3v4RJRC.js → Graph-B7KPo9Ul.js} +3 -3
- package/dist/{Graph-B3v4RJRC.js.map → Graph-B7KPo9Ul.js.map} +1 -1
- package/dist/{Graph-BOZlkDbl.cjs → Graph-C9FS6KR3.cjs} +2 -2
- package/dist/{Graph-BOZlkDbl.cjs.map → Graph-C9FS6KR3.cjs.map} +1 -1
- package/dist/{GraphWidget-DGe0TweO.js → GraphWidget-BpkPpAbd.js} +2 -2
- package/dist/{GraphWidget-DGe0TweO.js.map → GraphWidget-BpkPpAbd.js.map} +1 -1
- package/dist/{GraphWidget-DD7SIV2k.cjs → GraphWidget-D3HueIZi.cjs} +2 -2
- package/dist/{GraphWidget-DD7SIV2k.cjs.map → GraphWidget-D3HueIZi.cjs.map} +1 -1
- package/dist/{HorizontalWidget-CIDUx-Qp.cjs → HorizontalWidget-CN6goWHY.cjs} +2 -2
- package/dist/{HorizontalWidget-CIDUx-Qp.cjs.map → HorizontalWidget-CN6goWHY.cjs.map} +1 -1
- package/dist/{HorizontalWidget-B_JnT2Q0.js → HorizontalWidget-DbEQYjFC.js} +2 -2
- package/dist/{HorizontalWidget-B_JnT2Q0.js.map → HorizontalWidget-DbEQYjFC.js.map} +1 -1
- package/dist/{HorizontalboxWidget-D_1bF3p-.js → HorizontalboxWidget-CTomf_Iy.js} +5 -5
- package/dist/{HorizontalboxWidget-D_1bF3p-.js.map → HorizontalboxWidget-CTomf_Iy.js.map} +1 -1
- package/dist/{HorizontalboxWidget-BQYyunr-.cjs → HorizontalboxWidget-ysq7slso.cjs} +2 -2
- package/dist/{HorizontalboxWidget-BQYyunr-.cjs.map → HorizontalboxWidget-ysq7slso.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-Bqb82J2C.js → HorizontallineWidget-B7xx7ofY.js} +2 -2
- package/dist/{HorizontallineWidget-Bqb82J2C.js.map → HorizontallineWidget-B7xx7ofY.js.map} +1 -1
- package/dist/{HorizontallineWidget-dYDzYNW1.cjs → HorizontallineWidget-BgXZZymr.cjs} +2 -2
- package/dist/{HorizontallineWidget-dYDzYNW1.cjs.map → HorizontallineWidget-BgXZZymr.cjs.map} +1 -1
- package/dist/{IframeWidget-BUOO2Zav.js → IframeWidget-DK7rbULe.js} +2 -2
- package/dist/{IframeWidget-BUOO2Zav.js.map → IframeWidget-DK7rbULe.js.map} +1 -1
- package/dist/{IframeWidget-92T3yaK4.cjs → IframeWidget-fV9e-Nm1.cjs} +2 -2
- package/dist/{IframeWidget-92T3yaK4.cjs.map → IframeWidget-fV9e-Nm1.cjs.map} +1 -1
- package/dist/{ImageLoader-C6RNmpHN.js → ImageLoader-C9rN_pSY.js} +2 -2
- package/dist/{ImageLoader-C6RNmpHN.js.map → ImageLoader-C9rN_pSY.js.map} +1 -1
- package/dist/{ImageLoader-Dq0Qs61n.cjs → ImageLoader-CJxiBXAL.cjs} +2 -2
- package/dist/{ImageLoader-Dq0Qs61n.cjs.map → ImageLoader-CJxiBXAL.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-Fd7r9VTx.js → ImageviewerWidget-6d6Kl3W_.js} +2 -2
- package/dist/{ImageviewerWidget-Fd7r9VTx.js.map → ImageviewerWidget-6d6Kl3W_.js.map} +1 -1
- package/dist/{ImageviewerWidget-Y6xx7zZX.cjs → ImageviewerWidget-CULuNsiD.cjs} +2 -2
- package/dist/{ImageviewerWidget-Y6xx7zZX.cjs.map → ImageviewerWidget-CULuNsiD.cjs.map} +1 -1
- package/dist/{InterfacesTab-DgLHHNke.cjs → InterfacesTab-0pmK3KNu.cjs} +2 -2
- package/dist/{InterfacesTab-DgLHHNke.cjs.map → InterfacesTab-0pmK3KNu.cjs.map} +1 -1
- package/dist/{InterfacesTab-dig9pzGg.js → InterfacesTab-BCqTanhV.js} +7 -7
- package/dist/{InterfacesTab-dig9pzGg.js.map → InterfacesTab-BCqTanhV.js.map} +1 -1
- package/dist/{LabelWidget-BVxcrEXf.js → LabelWidget-D71FfOSw.js} +2 -2
- package/dist/{LabelWidget-BVxcrEXf.js.map → LabelWidget-D71FfOSw.js.map} +1 -1
- package/dist/{LabelWidget-BqN6Noag.cjs → LabelWidget-DdZz2NWv.cjs} +2 -2
- package/dist/{LabelWidget-BqN6Noag.cjs.map → LabelWidget-DdZz2NWv.cjs.map} +1 -1
- package/dist/{LabelledWidget-eR2Dar84.cjs → LabelledWidget-BZ319slb.cjs} +2 -2
- package/dist/{LabelledWidget-eR2Dar84.cjs.map → LabelledWidget-BZ319slb.cjs.map} +1 -1
- package/dist/{LabelledWidget-ZZJPwPpI.js → LabelledWidget-D2ir5kVU.js} +4 -4
- package/dist/{LabelledWidget-ZZJPwPpI.js.map → LabelledWidget-D2ir5kVU.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-C2vkWITx.js → LabelprogressbarWidget-C4_YbROz.js} +4 -4
- package/dist/{LabelprogressbarWidget-C2vkWITx.js.map → LabelprogressbarWidget-C4_YbROz.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-D-Oxgeeg.cjs → LabelprogressbarWidget-LyevJNuz.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-D-Oxgeeg.cjs.map → LabelprogressbarWidget-LyevJNuz.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-B0q6o8ro.cjs → LabelsparklineWidget-Cbug97Ne.cjs} +2 -2
- package/dist/{LabelsparklineWidget-B0q6o8ro.cjs.map → LabelsparklineWidget-Cbug97Ne.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-CSlvTtVj.js → LabelsparklineWidget-CdZ_pM2B.js} +4 -4
- package/dist/{LabelsparklineWidget-CSlvTtVj.js.map → LabelsparklineWidget-CdZ_pM2B.js.map} +1 -1
- package/dist/{LabelvalueWidget-6MxCpBTc.js → LabelvalueWidget-BS0EPY5h.js} +4 -4
- package/dist/{LabelvalueWidget-6MxCpBTc.js.map → LabelvalueWidget-BS0EPY5h.js.map} +1 -1
- package/dist/{LabelvalueWidget-DbCpaJBW.cjs → LabelvalueWidget-DSHwAKma.cjs} +2 -2
- package/dist/{LabelvalueWidget-DbCpaJBW.cjs.map → LabelvalueWidget-DSHwAKma.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-BzcfT8oZ.cjs → LabelvaluedescWidget-3lwQxkKj.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-BzcfT8oZ.cjs.map → LabelvaluedescWidget-3lwQxkKj.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-8mNs15uI.js → LabelvaluedescWidget-Cpr8_Voq.js} +5 -5
- package/dist/{LabelvaluedescWidget-8mNs15uI.js.map → LabelvaluedescWidget-Cpr8_Voq.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-jeDT8JjR.js → LabelvaluelimitsbarWidget-DTcYbEQS.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-jeDT8JjR.js.map → LabelvaluelimitsbarWidget-DTcYbEQS.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-Cc7NNKOt.cjs → LabelvaluelimitsbarWidget-DbO_Q5ex.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-Cc7NNKOt.cjs.map → LabelvaluelimitsbarWidget-DbO_Q5ex.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-CNqHPGpL.cjs → LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-CNqHPGpL.cjs.map → LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-DfO5Yb79.js → LabelvaluelimitscolumnWidget-D0ltQ9Ta.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-DfO5Yb79.js.map → LabelvaluelimitscolumnWidget-D0ltQ9Ta.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-CnDgjH-G.cjs → LabelvaluerangebarWidget-B6_alHq4.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-CnDgjH-G.cjs.map → LabelvaluerangebarWidget-B6_alHq4.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-D23BEk-N.js → LabelvaluerangebarWidget-O8IHjvHs.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-D23BEk-N.js.map → LabelvaluerangebarWidget-O8IHjvHs.js.map} +1 -1
- package/dist/Layout-DDewLzbI.cjs +2 -0
- package/dist/{Layout-Dd5e3p-K.cjs.map → Layout-DDewLzbI.cjs.map} +1 -1
- package/dist/{Layout-DuiUWxWc.js → Layout-DW5yNlp7.js} +2 -2
- package/dist/{Layout-DuiUWxWc.js.map → Layout-DW5yNlp7.js.map} +1 -1
- package/dist/{LedWidget-CQkF1v5x.cjs → LedWidget-Cif7vC7q.cjs} +2 -2
- package/dist/{LedWidget-CQkF1v5x.cjs.map → LedWidget-Cif7vC7q.cjs.map} +1 -1
- package/dist/{LedWidget-9IAav1IH.js → LedWidget-DUvJ2v8k.js} +4 -4
- package/dist/{LedWidget-9IAav1IH.js.map → LedWidget-DUvJ2v8k.js.map} +1 -1
- package/dist/{LimitsbarWidget-DqaTaWO1.js → LimitsbarWidget-BehZv0-k.js} +2 -2
- package/dist/{LimitsbarWidget-DqaTaWO1.js.map → LimitsbarWidget-BehZv0-k.js.map} +1 -1
- package/dist/{LimitsbarWidget-C4jNTGa9.cjs → LimitsbarWidget-BodNPbuH.cjs} +2 -2
- package/dist/{LimitsbarWidget-C4jNTGa9.cjs.map → LimitsbarWidget-BodNPbuH.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-BjlXWw_j.cjs → LimitscolorWidget-DPhymKgB.cjs} +2 -2
- package/dist/{LimitscolorWidget-BjlXWw_j.cjs.map → LimitscolorWidget-DPhymKgB.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-4g3UVzsW.js → LimitscolorWidget-FXT0ZPPH.js} +2 -2
- package/dist/{LimitscolorWidget-4g3UVzsW.js.map → LimitscolorWidget-FXT0ZPPH.js.map} +1 -1
- package/dist/{LimitscolumnWidget-BLZE1Zfh.cjs → LimitscolumnWidget-C5yozwf0.cjs} +2 -2
- package/dist/{LimitscolumnWidget-BLZE1Zfh.cjs.map → LimitscolumnWidget-C5yozwf0.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-pR-tLgFG.js → LimitscolumnWidget-CjBy-CCI.js} +2 -2
- package/dist/{LimitscolumnWidget-pR-tLgFG.js.map → LimitscolumnWidget-CjBy-CCI.js.map} +1 -1
- package/dist/{LinegraphWidget-adpA8cjD.cjs → LinegraphWidget-dO_B0T3E.cjs} +2 -2
- package/dist/{LinegraphWidget-adpA8cjD.cjs.map → LinegraphWidget-dO_B0T3E.cjs.map} +1 -1
- package/dist/{LinegraphWidget-DMcegwyu.js → LinegraphWidget-lmu_tFKd.js} +4 -4
- package/dist/{LinegraphWidget-DMcegwyu.js.map → LinegraphWidget-lmu_tFKd.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-2lqTNOqb.cjs → MatrixbycolumnsWidget-BLkwvpMk.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-2lqTNOqb.cjs.map → MatrixbycolumnsWidget-BLkwvpMk.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget--31rW1Mx.js → MatrixbycolumnsWidget-CCF7rCkV.js} +3 -3
- package/dist/{MatrixbycolumnsWidget--31rW1Mx.js.map → MatrixbycolumnsWidget-CCF7rCkV.js.map} +1 -1
- package/dist/{MicroservicesTab-DhisErku.js → MicroservicesTab-rxOATXLO.js} +3 -3
- package/dist/{MicroservicesTab-DhisErku.js.map → MicroservicesTab-rxOATXLO.js.map} +1 -1
- package/dist/{MicroservicesTab-BDkTm3LD.cjs → MicroservicesTab-uesXuuM4.cjs} +2 -2
- package/dist/{MicroservicesTab-BDkTm3LD.cjs.map → MicroservicesTab-uesXuuM4.cjs.map} +1 -1
- package/dist/{Openc3Screen-B_8bygux.cjs → Openc3Screen-CzD9BB0M.cjs} +5 -5
- package/dist/Openc3Screen-CzD9BB0M.cjs.map +1 -0
- package/dist/{Openc3Screen-zVSKWUkb.js → Openc3Screen-DcIIUO63.js} +120 -112
- package/dist/Openc3Screen-DcIIUO63.js.map +1 -0
- package/dist/{OutputDialog-D3zlQlpE.js → OutputDialog-CNH74LpJ.js} +2 -2
- package/dist/{OutputDialog-D3zlQlpE.js.map → OutputDialog-CNH74LpJ.js.map} +1 -1
- package/dist/{OutputDialog-DxEYVYA3.cjs → OutputDialog-QIabyvK1.cjs} +2 -2
- package/dist/{OutputDialog-DxEYVYA3.cjs.map → OutputDialog-QIabyvK1.cjs.map} +1 -1
- package/dist/{PackagesTab-Bjy3y4fK.js → PackagesTab-BE6W7Aru.js} +3 -3
- package/dist/{PackagesTab-Bjy3y4fK.js.map → PackagesTab-BE6W7Aru.js.map} +1 -1
- package/dist/{PackagesTab-CVytftqm.cjs → PackagesTab-PEPT4CQu.cjs} +2 -2
- package/dist/{PackagesTab-CVytftqm.cjs.map → PackagesTab-PEPT4CQu.cjs.map} +1 -1
- package/dist/{PluginsTab-Di5nXctJ.js → PluginsTab-B_Pf2A9c.js} +6 -5
- package/dist/PluginsTab-B_Pf2A9c.js.map +1 -0
- package/dist/{PluginsTab-BvwrAskE.cjs → PluginsTab-DXf9zX0h.cjs} +4 -4
- package/dist/PluginsTab-DXf9zX0h.cjs.map +1 -0
- package/dist/{ProgressbarWidget-DGAYHWEj.js → ProgressbarWidget-B5WN658S.js} +2 -2
- package/dist/{ProgressbarWidget-DGAYHWEj.js.map → ProgressbarWidget-B5WN658S.js.map} +1 -1
- package/dist/{ProgressbarWidget-COa_sGKn.cjs → ProgressbarWidget-D2NHSJny.cjs} +2 -2
- package/dist/{ProgressbarWidget-COa_sGKn.cjs.map → ProgressbarWidget-D2NHSJny.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-Cbx15iyl.js → RadiobuttonWidget-B_3nys46.js} +2 -2
- package/dist/{RadiobuttonWidget-Cbx15iyl.js.map → RadiobuttonWidget-B_3nys46.js.map} +1 -1
- package/dist/{RadiobuttonWidget-CQPXrm0x.cjs → RadiobuttonWidget-DkG9GtAy.cjs} +2 -2
- package/dist/{RadiobuttonWidget-CQPXrm0x.cjs.map → RadiobuttonWidget-DkG9GtAy.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-DW3nTccf.js → RadiogroupWidget-BiMIL9li.js} +2 -2
- package/dist/{RadiogroupWidget-DW3nTccf.js.map → RadiogroupWidget-BiMIL9li.js.map} +1 -1
- package/dist/{RadiogroupWidget-C15ugChT.cjs → RadiogroupWidget-BnUjXU28.cjs} +2 -2
- package/dist/{RadiogroupWidget-C15ugChT.cjs.map → RadiogroupWidget-BnUjXU28.cjs.map} +1 -1
- package/dist/{RangebarWidget-5ekc5Lyp.cjs → RangebarWidget-CJgtAk5z.cjs} +2 -2
- package/dist/{RangebarWidget-5ekc5Lyp.cjs.map → RangebarWidget-CJgtAk5z.cjs.map} +1 -1
- package/dist/{RangebarWidget-BZba6dPt.js → RangebarWidget-Dn0GASdi.js} +2 -2
- package/dist/{RangebarWidget-BZba6dPt.js.map → RangebarWidget-Dn0GASdi.js.map} +1 -1
- package/dist/{RedisTab-Dnqd_dRk.js → RedisTab-BsKrL4fD.js} +13 -13
- package/dist/{RedisTab-Dnqd_dRk.js.map → RedisTab-BsKrL4fD.js.map} +1 -1
- package/dist/{RedisTab-C89xySPI.cjs → RedisTab-C1yaDRSt.cjs} +2 -2
- package/dist/{RedisTab-C89xySPI.cjs.map → RedisTab-C1yaDRSt.cjs.map} +1 -1
- package/dist/{RollupWidget-ILwSCjGa.cjs → RollupWidget-B2pGGoET.cjs} +2 -2
- package/dist/{RollupWidget-ILwSCjGa.cjs.map → RollupWidget-B2pGGoET.cjs.map} +1 -1
- package/dist/{RollupWidget-Mley0KZv.js → RollupWidget-b62qcG5K.js} +2 -2
- package/dist/{RollupWidget-Mley0KZv.js.map → RollupWidget-b62qcG5K.js.map} +1 -1
- package/dist/{RoutersTab-CokDnWfK.cjs → RoutersTab-8wGbiPCk.cjs} +2 -2
- package/dist/{RoutersTab-CokDnWfK.cjs.map → RoutersTab-8wGbiPCk.cjs.map} +1 -1
- package/dist/{RoutersTab-Dg3i3h0M.js → RoutersTab-EHz4wDCn.js} +3 -3
- package/dist/{RoutersTab-Dg3i3h0M.js.map → RoutersTab-EHz4wDCn.js.map} +1 -1
- package/dist/ScriptChooser-CtV7dDJS.cjs +2 -0
- package/dist/ScriptChooser-CtV7dDJS.cjs.map +1 -0
- package/dist/{ScriptChooser-DL8ct71n.js → ScriptChooser-DMPY3m8a.js} +33 -33
- package/dist/ScriptChooser-DMPY3m8a.js.map +1 -0
- package/dist/{ScrollwindowWidget-B4dv7icF.cjs → ScrollwindowWidget-ByJRy528.cjs} +2 -2
- package/dist/{ScrollwindowWidget-B4dv7icF.cjs.map → ScrollwindowWidget-ByJRy528.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-DvsnpEcJ.js → ScrollwindowWidget-Dn29gs-U.js} +3 -3
- package/dist/{ScrollwindowWidget-DvsnpEcJ.js.map → ScrollwindowWidget-Dn29gs-U.js.map} +1 -1
- package/dist/{SecretsTab-CIrHz_ni.js → SecretsTab-Cbt_r-1I.js} +2 -2
- package/dist/{SecretsTab-CIrHz_ni.js.map → SecretsTab-Cbt_r-1I.js.map} +1 -1
- package/dist/{SecretsTab-Dudp9OiZ.cjs → SecretsTab-DSMFodJM.cjs} +2 -2
- package/dist/{SecretsTab-Dudp9OiZ.cjs.map → SecretsTab-DSMFodJM.cjs.map} +1 -1
- package/dist/{SettingsTab-MipB-sIq.cjs → SettingsTab-8Zeg3G0C.cjs} +2 -2
- package/dist/{SettingsTab-MipB-sIq.cjs.map → SettingsTab-8Zeg3G0C.cjs.map} +1 -1
- package/dist/{SettingsTab-DztpIQm7.js → SettingsTab-L5xbCAW_.js} +4 -4
- package/dist/{SettingsTab-DztpIQm7.js.map → SettingsTab-L5xbCAW_.js.map} +1 -1
- package/dist/{SignalWidget-CQqD33Lg.cjs → SignalWidget-CEmQymzQ.cjs} +2 -2
- package/dist/{SignalWidget-CQqD33Lg.cjs.map → SignalWidget-CEmQymzQ.cjs.map} +1 -1
- package/dist/{SignalWidget-BE-MGigb.js → SignalWidget-CLi6qask.js} +2 -2
- package/dist/{SignalWidget-BE-MGigb.js.map → SignalWidget-CLi6qask.js.map} +1 -1
- package/dist/{SimpleTextDialog-BkUovtW9.js → SimpleTextDialog-8vDPDt6X.js} +2 -2
- package/dist/{SimpleTextDialog-BkUovtW9.js.map → SimpleTextDialog-8vDPDt6X.js.map} +1 -1
- package/dist/{SimpleTextDialog-NSW_V3iT.cjs → SimpleTextDialog-CJ8pLBGz.cjs} +2 -2
- package/dist/{SimpleTextDialog-NSW_V3iT.cjs.map → SimpleTextDialog-CJ8pLBGz.cjs.map} +1 -1
- package/dist/{SpacerWidget-DXayYLSi.js → SpacerWidget-BCA3gdap.js} +2 -2
- package/dist/{SpacerWidget-DXayYLSi.js.map → SpacerWidget-BCA3gdap.js.map} +1 -1
- package/dist/{SpacerWidget-QlVjOsLl.cjs → SpacerWidget-BJpqoaeP.cjs} +2 -2
- package/dist/{SpacerWidget-QlVjOsLl.cjs.map → SpacerWidget-BJpqoaeP.cjs.map} +1 -1
- package/dist/{SparklineWidget-mi0idVbP.cjs → SparklineWidget-CIkMm4O-.cjs} +2 -2
- package/dist/{SparklineWidget-mi0idVbP.cjs.map → SparklineWidget-CIkMm4O-.cjs.map} +1 -1
- package/dist/{SparklineWidget-BNYHhnFk.js → SparklineWidget-D8mb4zLt.js} +4 -4
- package/dist/{SparklineWidget-BNYHhnFk.js.map → SparklineWidget-D8mb4zLt.js.map} +1 -1
- package/dist/{TabbookWidget-BbnCFFoI.js → TabbookWidget-Bkt4g02d.js} +2 -2
- package/dist/{TabbookWidget-BbnCFFoI.js.map → TabbookWidget-Bkt4g02d.js.map} +1 -1
- package/dist/{TabbookWidget-BMaDTham.cjs → TabbookWidget-DqcScWwW.cjs} +2 -2
- package/dist/{TabbookWidget-BMaDTham.cjs.map → TabbookWidget-DqcScWwW.cjs.map} +1 -1
- package/dist/TargetPacketItemChooser-Cm6mQvhI.cjs +2 -0
- package/dist/TargetPacketItemChooser-Cm6mQvhI.cjs.map +1 -0
- package/dist/{TargetPacketItemChooser-Z0Tn5eXv.js → TargetPacketItemChooser-DGcXvdTX.js} +107 -112
- package/dist/TargetPacketItemChooser-DGcXvdTX.js.map +1 -0
- package/dist/{TargetsTab-D32K2JiE.cjs → TargetsTab-C4tQ1auc.cjs} +2 -2
- package/dist/{TargetsTab-D32K2JiE.cjs.map → TargetsTab-C4tQ1auc.cjs.map} +1 -1
- package/dist/{TargetsTab-CDd9F7X3.js → TargetsTab-c-qMsGHh.js} +12 -12
- package/dist/{TargetsTab-CDd9F7X3.js.map → TargetsTab-c-qMsGHh.js.map} +1 -1
- package/dist/{TextboxWidget-D1pZXnLn.cjs → TextboxWidget-BcRfHcF6.cjs} +2 -2
- package/dist/{TextboxWidget-D1pZXnLn.cjs.map → TextboxWidget-BcRfHcF6.cjs.map} +1 -1
- package/dist/{TextboxWidget-BmANrs4B.js → TextboxWidget-CR05wO-t.js} +4 -4
- package/dist/{TextboxWidget-BmANrs4B.js.map → TextboxWidget-CR05wO-t.js.map} +1 -1
- package/dist/{TextfieldWidget-SJaLN05z.js → TextfieldWidget-Be_Pz2bF.js} +2 -2
- package/dist/{TextfieldWidget-SJaLN05z.js.map → TextfieldWidget-Be_Pz2bF.js.map} +1 -1
- package/dist/{TextfieldWidget-CTIX-cUX.cjs → TextfieldWidget-Ct1hZr2M.cjs} +2 -2
- package/dist/{TextfieldWidget-CTIX-cUX.cjs.map → TextfieldWidget-Ct1hZr2M.cjs.map} +1 -1
- package/dist/{TimeWidget-Dytou9_B.cjs → TimeWidget-3M7CQ893.cjs} +2 -2
- package/dist/{TimeWidget-Dytou9_B.cjs.map → TimeWidget-3M7CQ893.cjs.map} +1 -1
- package/dist/{TimeWidget-jB9OkZz4.js → TimeWidget-Dy8zpkC6.js} +2 -2
- package/dist/{TimeWidget-jB9OkZz4.js.map → TimeWidget-Dy8zpkC6.js.map} +1 -1
- package/dist/{TitleWidget-mcKJD8dB.js → TitleWidget-BcmxUDzM.js} +2 -2
- package/dist/{TitleWidget-mcKJD8dB.js.map → TitleWidget-BcmxUDzM.js.map} +1 -1
- package/dist/{TitleWidget-CjgUoNOz.cjs → TitleWidget-C1qzja9l.cjs} +2 -2
- package/dist/{TitleWidget-CjgUoNOz.cjs.map → TitleWidget-C1qzja9l.cjs.map} +1 -1
- package/dist/{ToolsTab-BbUbC7aQ.js → ToolsTab-Buklih4C.js} +3 -3
- package/dist/{ToolsTab-BbUbC7aQ.js.map → ToolsTab-Buklih4C.js.map} +1 -1
- package/dist/{ToolsTab-DIjQdiL-.cjs → ToolsTab-CbY2K86w.cjs} +3 -3
- package/dist/{ToolsTab-DIjQdiL-.cjs.map → ToolsTab-CbY2K86w.cjs.map} +1 -1
- package/dist/TopBar-D4C9DJcu.js +324 -0
- package/dist/TopBar-D4C9DJcu.js.map +1 -0
- package/dist/TopBar-HxaiWynT.cjs +2 -0
- package/dist/TopBar-HxaiWynT.cjs.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog-XVvb43ME.js → UpgradeToEnterpriseDialog-D0AGxldj.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-XVvb43ME.js.map → UpgradeToEnterpriseDialog-D0AGxldj.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-BDYrclMq.cjs → UpgradeToEnterpriseDialog-D8BkzmVD.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-BDYrclMq.cjs.map → UpgradeToEnterpriseDialog-D8BkzmVD.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-ByJi6BSv.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js} +2259 -2241
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B-k6legU.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs} +70 -70
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs.map +1 -0
- package/dist/{VWidget-D8c5Lci7.js → VWidget-CBmUpKSV.js} +7 -7
- package/dist/VWidget-CBmUpKSV.js.map +1 -0
- package/dist/VWidget-DhGLFGS2.cjs +2 -0
- package/dist/VWidget-DhGLFGS2.cjs.map +1 -0
- package/dist/{ValueWidget-SNDW9Het.js → ValueWidget-BxWrHkYY.js} +4 -4
- package/dist/{ValueWidget-SNDW9Het.js.map → ValueWidget-BxWrHkYY.js.map} +1 -1
- package/dist/{ValueWidget-CyN11MWT.cjs → ValueWidget-yuZ8tPzG.cjs} +2 -2
- package/dist/{ValueWidget-CyN11MWT.cjs.map → ValueWidget-yuZ8tPzG.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-Zw91SPeP.js → ValuelimitsbarWidget-BdY02gqc.js} +4 -4
- package/dist/{ValuelimitsbarWidget-Zw91SPeP.js.map → ValuelimitsbarWidget-BdY02gqc.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-B86GYsdL.cjs → ValuelimitsbarWidget-KsFz7ipK.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-B86GYsdL.cjs.map → ValuelimitsbarWidget-KsFz7ipK.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-DPh3TEH4.cjs → ValuelimitscolumnWidget-B0HGnyS5.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-DPh3TEH4.cjs.map → ValuelimitscolumnWidget-B0HGnyS5.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-B9unbzmn.js → ValuelimitscolumnWidget-CuJ6rqtC.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-B9unbzmn.js.map → ValuelimitscolumnWidget-CuJ6rqtC.js.map} +1 -1
- package/dist/{ValuerangebarWidget-DwNzPUzz.js → ValuerangebarWidget-C5rolGDi.js} +4 -4
- package/dist/{ValuerangebarWidget-DwNzPUzz.js.map → ValuerangebarWidget-C5rolGDi.js.map} +1 -1
- package/dist/{ValuerangebarWidget-Dm0754rv.cjs → ValuerangebarWidget-CDJeamPr.cjs} +2 -2
- package/dist/{ValuerangebarWidget-Dm0754rv.cjs.map → ValuerangebarWidget-CDJeamPr.cjs.map} +1 -1
- package/dist/{VerticalWidget-gv7hWDKU.js → VerticalWidget-DsnEzKZ2.js} +2 -2
- package/dist/{VerticalWidget-gv7hWDKU.js.map → VerticalWidget-DsnEzKZ2.js.map} +1 -1
- package/dist/{VerticalWidget-BAH0R-Tj.cjs → VerticalWidget-wuRCrd7Q.cjs} +2 -2
- package/dist/{VerticalWidget-BAH0R-Tj.cjs.map → VerticalWidget-wuRCrd7Q.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-CZb5ebV7.js → VerticalboxWidget-CzDgveBl.js} +5 -5
- package/dist/{VerticalboxWidget-CZb5ebV7.js.map → VerticalboxWidget-CzDgveBl.js.map} +1 -1
- package/dist/{VerticalboxWidget-F9StIQ_8.cjs → VerticalboxWidget-D-3H1PYU.cjs} +2 -2
- package/dist/{VerticalboxWidget-F9StIQ_8.cjs.map → VerticalboxWidget-D-3H1PYU.cjs.map} +1 -1
- package/dist/{Widget-DghDRiv6.cjs → Widget-CKianvfR.cjs} +2 -2
- package/dist/{Widget-DghDRiv6.cjs.map → Widget-CKianvfR.cjs.map} +1 -1
- package/dist/{Widget-DNBZcUQg.js → Widget-VCl8Ts8s.js} +2 -2
- package/dist/{Widget-DNBZcUQg.js.map → Widget-VCl8Ts8s.js.map} +1 -1
- package/dist/{cmdUtilities-C5lf-N2L.js → cmdUtilities--4ZqS2At.js} +2 -2
- package/dist/{cmdUtilities-C5lf-N2L.js.map → cmdUtilities--4ZqS2At.js.map} +1 -1
- package/dist/cmdUtilities-N30xDV6q.cjs +2 -0
- package/dist/{cmdUtilities-DDCksp2R.cjs.map → cmdUtilities-N30xDV6q.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +25 -25
- package/dist/composables.cjs +2 -0
- package/dist/composables.cjs.map +1 -0
- package/dist/composables.js +5 -0
- package/dist/composables.js.map +1 -0
- package/dist/{index-BUPRVmV-.js → index-3k1IXN1T.js} +136 -118
- package/dist/index-3k1IXN1T.js.map +1 -0
- package/dist/{index-BWTUBIkL.cjs → index-DlWUR7vt.cjs} +6 -6
- package/dist/index-DlWUR7vt.cjs.map +1 -0
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +7 -7
- package/dist/plugins.js.map +1 -1
- package/dist/purify.es-B608WQkR.cjs +3 -0
- package/dist/purify.es-B608WQkR.cjs.map +1 -0
- package/dist/{purify.es-BuxjWxA2.js → purify.es-BGaRrCfO.js} +144 -144
- package/dist/purify.es-BGaRrCfO.js.map +1 -0
- package/dist/{settings-BC-CN37t.js → settings-DlX9yvJJ.js} +2 -2
- package/dist/{settings-BC-CN37t.js.map → settings-DlX9yvJJ.js.map} +1 -1
- package/dist/{settings-DHUu0bEd.cjs → settings-sg_XHXQ-.cjs} +2 -2
- package/dist/{settings-DHUu0bEd.cjs.map → settings-sg_XHXQ-.cjs.map} +1 -1
- package/dist/tools/admin.cjs +1 -1
- package/dist/tools/admin.js +56 -56
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.js +5 -5
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +8 -8
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +864 -849
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/useContainerHeight-BAw05dIa.js +11 -0
- package/dist/useContainerHeight-BAw05dIa.js.map +1 -0
- package/dist/useContainerHeight-BEd4f2Lr.cjs +2 -0
- package/dist/useContainerHeight-BEd4f2Lr.cjs.map +1 -0
- package/dist/util.cjs +1 -1
- package/dist/util.js +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +63 -63
- package/package.json +13 -9
- package/dist/CriticalCmdDialog-CZHVDFjK.js.map +0 -1
- package/dist/CriticalCmdDialog-EvK998xs.cjs.map +0 -1
- package/dist/DetailsDialog-DbRPJzDG.cjs +0 -2
- package/dist/DetailsDialog-DbRPJzDG.cjs.map +0 -1
- package/dist/DetailsDialog-Ji0jA6sd.js.map +0 -1
- package/dist/Layout-Dd5e3p-K.cjs +0 -2
- package/dist/Openc3Screen-B_8bygux.cjs.map +0 -1
- package/dist/Openc3Screen-zVSKWUkb.js.map +0 -1
- package/dist/PluginsTab-BvwrAskE.cjs.map +0 -1
- package/dist/PluginsTab-Di5nXctJ.js.map +0 -1
- package/dist/ScriptChooser-BzQcgW8g.cjs +0 -2
- package/dist/ScriptChooser-BzQcgW8g.cjs.map +0 -1
- package/dist/ScriptChooser-DL8ct71n.js.map +0 -1
- package/dist/TargetPacketItemChooser-DezS0jS3.cjs +0 -2
- package/dist/TargetPacketItemChooser-DezS0jS3.cjs.map +0 -1
- package/dist/TargetPacketItemChooser-Z0Tn5eXv.js.map +0 -1
- package/dist/TopBar-Bn4u3OQj.cjs +0 -2
- package/dist/TopBar-Bn4u3OQj.cjs.map +0 -1
- package/dist/TopBar-LuMoAqrA.js +0 -296
- package/dist/TopBar-LuMoAqrA.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B-k6legU.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-ByJi6BSv.js.map +0 -1
- package/dist/VWidget-B22Re761.cjs +0 -2
- package/dist/VWidget-B22Re761.cjs.map +0 -1
- package/dist/VWidget-D8c5Lci7.js.map +0 -1
- package/dist/cmdUtilities-DDCksp2R.cjs +0 -2
- package/dist/index-BUPRVmV-.js.map +0 -1
- package/dist/index-BWTUBIkL.cjs.map +0 -1
- package/dist/purify.es-BuxjWxA2.js.map +0 -1
- package/dist/purify.es-d7tb6jjJ.cjs +0 -3
- package/dist/purify.es-d7tb6jjJ.cjs.map +0 -1
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
var it = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var Je = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var st = (t, e,
|
|
6
|
-
var Ne = (t, e,
|
|
7
|
-
var B = (t, e,
|
|
8
|
-
import {
|
|
9
|
-
import { resolveComponent as a, createElementBlock as D, openBlock as S, createVNode as
|
|
5
|
+
var st = (t, e, o) => e in t ? it(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
6
|
+
var Ne = (t, e, o) => st(t, typeof e != "symbol" ? e + "" : e, o), Ye = (t, e, o) => e.has(t) || Je("Cannot " + o);
|
|
7
|
+
var B = (t, e, o) => (Ye(t, e, "read from private field"), o ? o.call(t) : e.get(t)), W = (t, e, o) => e.has(t) ? Je("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, o), ne = (t, e, o, r) => (Ye(t, e, "write to private field"), r ? r.call(t, o) : e.set(t, o), o);
|
|
8
|
+
import { f as O, y as Ie, g as nt } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js";
|
|
9
|
+
import { resolveComponent as a, createElementBlock as D, openBlock as S, createVNode as n, createBlock as U, createCommentVNode as z, withCtx as l, createTextVNode as y, createElementVNode as x, withDirectives as ot, vShow as lt, toDisplayString as L, mergeProps as X, normalizeClass as Ke, inject as oe, getCurrentInstance as rt, computed as Y, ref as ae, watch as Re, onMounted as $e, onBeforeUnmount as et, normalizeStyle as fe, unref as at, renderSlot as dt, useSlots as ut, provide as $, resolveDynamicComponent as ct, nextTick as He, h as mt, withKeys as Se, withModifiers as de, Fragment as ge, renderList as je, normalizeProps as le, guardReactiveProps as re } from "vue";
|
|
10
10
|
import { _ as K } from "../CustomIcon-DTfsnDJn.js";
|
|
11
11
|
import { T as pt } from "../timeFilters-BKnCM4rv.js";
|
|
12
12
|
import "single-spa";
|
|
13
|
-
import { O as ht, A as ft } from "../OutputDialog-
|
|
13
|
+
import { O as ht, A as ft } from "../OutputDialog-CNH74LpJ.js";
|
|
14
14
|
import { f as Oe } from "../format-CVeawcIv.js";
|
|
15
|
-
import { a as gt } from "../index-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "../
|
|
24
|
-
import
|
|
25
|
-
|
|
15
|
+
import { a as gt } from "../index-3k1IXN1T.js";
|
|
16
|
+
import { u as vt } from "../useContainerHeight-BAw05dIa.js";
|
|
17
|
+
import { T as _t, A as Ee } from "../TopBar-D4C9DJcu.js";
|
|
18
|
+
import { E as bt, C as wt } from "../ScriptChooser-DMPY3m8a.js";
|
|
19
|
+
import { f as yt } from "../fileIcon-DqRHb1_Z.js";
|
|
20
|
+
import { C as kt } from "../CriticalCmdDialog-BtzhxuZi.js";
|
|
21
|
+
import { a as St, O as xt, F as Ct } from "../Openc3Screen-DcIIUO63.js";
|
|
22
|
+
import { S as Vt } from "../SimpleTextDialog-8vDPDt6X.js";
|
|
23
|
+
import { _ as Et } from "../ClassificationBanners-DQeVwmYp.js";
|
|
24
|
+
import "../purify.es-BGaRrCfO.js";
|
|
25
|
+
import { E as Rt } from "../EventListDialog-jdNF3szO.js";
|
|
26
|
+
const Ot = {
|
|
26
27
|
components: { OutputDialog: ht },
|
|
27
28
|
mixins: [pt],
|
|
28
29
|
props: {
|
|
@@ -120,12 +121,12 @@ const Rt = {
|
|
|
120
121
|
O.get(
|
|
121
122
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
122
123
|
).then((e) => {
|
|
123
|
-
const
|
|
124
|
-
|
|
124
|
+
const o = e.data.items || [], r = /* @__PURE__ */ new Date();
|
|
125
|
+
o.forEach((i) => {
|
|
125
126
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
126
|
-
const
|
|
127
|
+
const s = new Date(i.start_time), d = r - s;
|
|
127
128
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
128
|
-
|
|
129
|
+
s,
|
|
129
130
|
this.timeZone
|
|
130
131
|
), d < 0)
|
|
131
132
|
i.duration = "N/A";
|
|
@@ -134,15 +135,15 @@ const Rt = {
|
|
|
134
135
|
else if (d < 6e4)
|
|
135
136
|
i.duration = `${Math.round(d / 1e3)}s`;
|
|
136
137
|
else if (d < 36e5) {
|
|
137
|
-
const
|
|
138
|
-
i.duration = `${
|
|
138
|
+
const p = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
139
|
+
i.duration = `${p}m ${c}s`;
|
|
139
140
|
} else {
|
|
140
|
-
const
|
|
141
|
-
i.duration = `${
|
|
141
|
+
const p = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), b = Math.round(d % 6e4 / 1e3);
|
|
142
|
+
i.duration = `${p}h ${c}m ${b}s`;
|
|
142
143
|
}
|
|
143
144
|
} else
|
|
144
145
|
i.duration = "N/A";
|
|
145
|
-
}), this.runningScripts =
|
|
146
|
+
}), this.runningScripts = o, this.runningTotal = e.data.total || o.length, this.runningLoading = !1;
|
|
146
147
|
}).catch((e) => {
|
|
147
148
|
this.runningLoading = !1, this.$notify.caution({
|
|
148
149
|
title: "Error Loading Running Scripts",
|
|
@@ -162,8 +163,8 @@ const Rt = {
|
|
|
162
163
|
O.get(
|
|
163
164
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
164
165
|
).then((e) => {
|
|
165
|
-
const
|
|
166
|
-
|
|
166
|
+
const o = e.data.items || [];
|
|
167
|
+
o.forEach((r) => {
|
|
167
168
|
if (r.user_display = `${r.user_full_name} (${r.username})`, r.start_time && r.end_time) {
|
|
168
169
|
const i = new Date(r.start_time), d = new Date(r.end_time) - i;
|
|
169
170
|
if (r.start_time_formatted = this.formatDateTimeHMS(
|
|
@@ -176,15 +177,15 @@ const Rt = {
|
|
|
176
177
|
else if (d < 6e4)
|
|
177
178
|
r.duration = `${Math.round(d / 1e3)}s`;
|
|
178
179
|
else if (d < 36e5) {
|
|
179
|
-
const
|
|
180
|
-
r.duration = `${
|
|
180
|
+
const p = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
181
|
+
r.duration = `${p}m ${c}s`;
|
|
181
182
|
} else {
|
|
182
|
-
const
|
|
183
|
-
r.duration = `${
|
|
183
|
+
const p = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), b = Math.round(d % 6e4 / 1e3);
|
|
184
|
+
r.duration = `${p}h ${c}m ${b}s`;
|
|
184
185
|
}
|
|
185
186
|
} else
|
|
186
187
|
r.duration = "N/A";
|
|
187
|
-
}), this.completedScripts =
|
|
188
|
+
}), this.completedScripts = o, this.completedTotal = e.data.total || o.length, this.completedLoading = !1;
|
|
188
189
|
}).catch((e) => {
|
|
189
190
|
this.completedLoading = !1, this.$notify.caution({
|
|
190
191
|
title: "Error Loading Completed Scripts",
|
|
@@ -208,8 +209,8 @@ const Rt = {
|
|
|
208
209
|
params: { id: t.name }
|
|
209
210
|
};
|
|
210
211
|
if (this.connectInNewTab) {
|
|
211
|
-
let { href:
|
|
212
|
-
window.open(
|
|
212
|
+
let { href: o } = this.$router.resolve(e);
|
|
213
|
+
window.open(o, "_blank");
|
|
213
214
|
} else
|
|
214
215
|
this.$router.push(e), this.$emit("close");
|
|
215
216
|
},
|
|
@@ -232,27 +233,27 @@ const Rt = {
|
|
|
232
233
|
});
|
|
233
234
|
},
|
|
234
235
|
viewScriptLog: function(t, e) {
|
|
235
|
-
let
|
|
236
|
-
e === "report" ? (this.dialogName = "Report",
|
|
236
|
+
let o = null;
|
|
237
|
+
e === "report" ? (this.dialogName = "Report", o = t.report) : (this.dialogName = "Log", o = t.log), O.get(
|
|
237
238
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
238
|
-
|
|
239
|
+
o
|
|
239
240
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
240
241
|
).then((r) => {
|
|
241
|
-
const i =
|
|
242
|
+
const i = o.split("/");
|
|
242
243
|
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(r.data.contents), this.showDialog = !0;
|
|
243
244
|
});
|
|
244
245
|
},
|
|
245
|
-
downloadScriptLog: function(t, e,
|
|
246
|
+
downloadScriptLog: function(t, e, o = "text") {
|
|
246
247
|
let r = null;
|
|
247
|
-
e === "report" ? (this.dialogName = "Report", r = t.report) : (this.dialogName = "Log", r = t.log), this.downloadScript = t,
|
|
248
|
+
e === "report" ? (this.dialogName = "Report", r = t.report) : (this.dialogName = "Log", r = t.log), this.downloadScript = t, o === "ctrf" && e === "report" ? O.get(
|
|
248
249
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
249
250
|
r
|
|
250
251
|
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
251
252
|
).then((i) => {
|
|
252
|
-
const
|
|
253
|
+
const s = new Blob([window.atob(i.data.contents)], {
|
|
253
254
|
type: "application/json"
|
|
254
255
|
}), d = document.createElement("a");
|
|
255
|
-
d.href = URL.createObjectURL(
|
|
256
|
+
d.href = URL.createObjectURL(s), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
|
|
256
257
|
}).catch(() => {
|
|
257
258
|
this.$notify.caution({
|
|
258
259
|
title: `Unable to download log ${r}`,
|
|
@@ -263,8 +264,8 @@ const Rt = {
|
|
|
263
264
|
r
|
|
264
265
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
265
266
|
).then((i) => {
|
|
266
|
-
const
|
|
267
|
-
|
|
267
|
+
const s = r.split("/"), d = s[s.length - 1], p = document.createElement("a");
|
|
268
|
+
p.href = i.data.url, p.setAttribute("download", d), p.click(), this.downloadScript = null;
|
|
268
269
|
}).catch(() => {
|
|
269
270
|
this.$notify.caution({
|
|
270
271
|
title: `Unable to download log ${r}`,
|
|
@@ -273,28 +274,28 @@ const Rt = {
|
|
|
273
274
|
});
|
|
274
275
|
}
|
|
275
276
|
}
|
|
276
|
-
},
|
|
277
|
-
function
|
|
278
|
-
const d = a("v-tab"),
|
|
277
|
+
}, Mt = { key: 0 }, Tt = { key: 1 };
|
|
278
|
+
function It(t, e, o, r, i, s) {
|
|
279
|
+
const d = a("v-tab"), p = 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
280
|
return S(), D("div", null, [
|
|
280
|
-
|
|
281
|
+
n(j, {
|
|
281
282
|
flat: "",
|
|
282
283
|
class: "tab-card"
|
|
283
284
|
}, {
|
|
284
285
|
default: l(() => [
|
|
285
|
-
|
|
286
|
+
n(p, {
|
|
286
287
|
modelValue: i.activeTab,
|
|
287
288
|
"onUpdate:modelValue": e[0] || (e[0] = (I) => i.activeTab = I),
|
|
288
289
|
"bg-color": "var(--color-background-base-default)"
|
|
289
290
|
}, {
|
|
290
291
|
default: l(() => [
|
|
291
|
-
|
|
292
|
+
n(d, { value: "running" }, {
|
|
292
293
|
default: l(() => [...e[6] || (e[6] = [
|
|
293
294
|
y("Running Scripts", -1)
|
|
294
295
|
])]),
|
|
295
296
|
_: 1
|
|
296
297
|
}),
|
|
297
|
-
|
|
298
|
+
n(d, { value: "completed" }, {
|
|
298
299
|
default: l(() => [...e[7] || (e[7] = [
|
|
299
300
|
y("Completed Scripts", -1)
|
|
300
301
|
])]),
|
|
@@ -303,29 +304,29 @@ function Tt(t, e, n, r, i, o) {
|
|
|
303
304
|
]),
|
|
304
305
|
_: 1
|
|
305
306
|
}, 8, ["modelValue"]),
|
|
306
|
-
|
|
307
|
+
n(te, {
|
|
307
308
|
modelValue: i.activeTab,
|
|
308
309
|
"onUpdate:modelValue": e[3] || (e[3] = (I) => i.activeTab = I)
|
|
309
310
|
}, {
|
|
310
311
|
default: l(() => [
|
|
311
|
-
|
|
312
|
+
n(T, { value: "running" }, {
|
|
312
313
|
default: l(() => [
|
|
313
|
-
|
|
314
|
+
n(w, null, {
|
|
314
315
|
default: l(() => [
|
|
315
|
-
|
|
316
|
+
n(V, { dense: "" }, {
|
|
316
317
|
default: l(() => [
|
|
317
|
-
|
|
318
|
-
|
|
318
|
+
n(c),
|
|
319
|
+
n(b, {
|
|
319
320
|
class: "mr-3",
|
|
320
321
|
color: "primary",
|
|
321
|
-
onClick:
|
|
322
|
+
onClick: s.getRunningScripts
|
|
322
323
|
}, {
|
|
323
324
|
default: l(() => [...e[8] || (e[8] = [
|
|
324
325
|
y("Refresh", -1)
|
|
325
326
|
])]),
|
|
326
327
|
_: 1
|
|
327
328
|
}, 8, ["onClick"]),
|
|
328
|
-
|
|
329
|
+
n(k, {
|
|
329
330
|
modelValue: i.runningSearch,
|
|
330
331
|
"onUpdate:modelValue": e[1] || (e[1] = (I) => i.runningSearch = I),
|
|
331
332
|
class: "pt-0 search",
|
|
@@ -345,7 +346,7 @@ function Tt(t, e, n, r, i, o) {
|
|
|
345
346
|
]),
|
|
346
347
|
_: 1
|
|
347
348
|
}),
|
|
348
|
-
|
|
349
|
+
n(E, {
|
|
349
350
|
headers: i.runningHeaders,
|
|
350
351
|
items: i.runningScripts,
|
|
351
352
|
"items-length": i.runningTotal,
|
|
@@ -357,14 +358,14 @@ function Tt(t, e, n, r, i, o) {
|
|
|
357
358
|
page: i.runningPage,
|
|
358
359
|
"items-per-page-options": [10, 25, 50],
|
|
359
360
|
class: "script-table",
|
|
360
|
-
"onUpdate:page":
|
|
361
|
-
"onUpdate:itemsPerPage":
|
|
361
|
+
"onUpdate:page": s.updateRunningPage,
|
|
362
|
+
"onUpdate:itemsPerPage": s.updateRunningItemsPerPage
|
|
362
363
|
}, {
|
|
363
364
|
"item.name": l(({ item: I }) => [
|
|
364
|
-
|
|
365
|
+
n(b, {
|
|
365
366
|
color: "primary",
|
|
366
367
|
density: "comfortable",
|
|
367
|
-
onClick: (F) =>
|
|
368
|
+
onClick: (F) => s.showScript(I)
|
|
368
369
|
}, {
|
|
369
370
|
default: l(() => [
|
|
370
371
|
y(L(I.name), 1)
|
|
@@ -373,32 +374,32 @@ function Tt(t, e, n, r, i, o) {
|
|
|
373
374
|
}, 1032, ["onClick"])
|
|
374
375
|
]),
|
|
375
376
|
"item.connect": l(({ item: I }) => [
|
|
376
|
-
|
|
377
|
+
n(b, {
|
|
377
378
|
color: "primary",
|
|
378
|
-
onClick: (F) =>
|
|
379
|
+
onClick: (F) => s.connectScript(I)
|
|
379
380
|
}, {
|
|
380
381
|
default: l(() => [
|
|
381
382
|
e[10] || (e[10] = x("span", null, "Connect", -1)),
|
|
382
|
-
ot(
|
|
383
|
+
ot(n(R, { end: "" }, {
|
|
383
384
|
default: l(() => [...e[9] || (e[9] = [
|
|
384
385
|
y(" mdi-open-in-new ", -1)
|
|
385
386
|
])]),
|
|
386
387
|
_: 1
|
|
387
388
|
}, 512), [
|
|
388
|
-
[lt,
|
|
389
|
+
[lt, o.connectInNewTab]
|
|
389
390
|
])
|
|
390
391
|
]),
|
|
391
392
|
_: 1
|
|
392
393
|
}, 8, ["onClick"])
|
|
393
394
|
]),
|
|
394
395
|
"item.stop": l(({ item: I }) => [
|
|
395
|
-
|
|
396
|
+
n(b, {
|
|
396
397
|
color: "primary",
|
|
397
|
-
onClick: (F) =>
|
|
398
|
+
onClick: (F) => s.deleteScript(I)
|
|
398
399
|
}, {
|
|
399
400
|
default: l(() => [
|
|
400
401
|
e[12] || (e[12] = x("span", null, "Stop", -1)),
|
|
401
|
-
|
|
402
|
+
n(R, { end: "" }, {
|
|
402
403
|
default: l(() => [...e[11] || (e[11] = [
|
|
403
404
|
y(" mdi-close-circle-outline ", -1)
|
|
404
405
|
])]),
|
|
@@ -413,24 +414,24 @@ function Tt(t, e, n, r, i, o) {
|
|
|
413
414
|
]),
|
|
414
415
|
_: 1
|
|
415
416
|
}),
|
|
416
|
-
|
|
417
|
+
n(T, { value: "completed" }, {
|
|
417
418
|
default: l(() => [
|
|
418
|
-
|
|
419
|
+
n(w, null, {
|
|
419
420
|
default: l(() => [
|
|
420
|
-
|
|
421
|
+
n(V, { dense: "" }, {
|
|
421
422
|
default: l(() => [
|
|
422
|
-
|
|
423
|
-
|
|
423
|
+
n(c),
|
|
424
|
+
n(b, {
|
|
424
425
|
class: "mr-3",
|
|
425
426
|
color: "primary",
|
|
426
|
-
onClick:
|
|
427
|
+
onClick: s.getCompletedScripts
|
|
427
428
|
}, {
|
|
428
429
|
default: l(() => [...e[13] || (e[13] = [
|
|
429
430
|
y("Refresh", -1)
|
|
430
431
|
])]),
|
|
431
432
|
_: 1
|
|
432
433
|
}, 8, ["onClick"]),
|
|
433
|
-
|
|
434
|
+
n(k, {
|
|
434
435
|
modelValue: i.completedSearch,
|
|
435
436
|
"onUpdate:modelValue": e[2] || (e[2] = (I) => i.completedSearch = I),
|
|
436
437
|
class: "pt-0 search",
|
|
@@ -449,7 +450,7 @@ function Tt(t, e, n, r, i, o) {
|
|
|
449
450
|
]),
|
|
450
451
|
_: 1
|
|
451
452
|
}),
|
|
452
|
-
|
|
453
|
+
n(E, {
|
|
453
454
|
headers: i.completedHeaders,
|
|
454
455
|
items: i.completedScripts,
|
|
455
456
|
"items-length": i.completedTotal,
|
|
@@ -461,14 +462,14 @@ function Tt(t, e, n, r, i, o) {
|
|
|
461
462
|
page: i.completedPage,
|
|
462
463
|
"items-per-page-options": [10, 25, 50],
|
|
463
464
|
class: "script-table",
|
|
464
|
-
"onUpdate:page":
|
|
465
|
-
"onUpdate:itemsPerPage":
|
|
465
|
+
"onUpdate:page": s.updateCompletedPage,
|
|
466
|
+
"onUpdate:itemsPerPage": s.updateCompletedItemsPerPage
|
|
466
467
|
}, {
|
|
467
468
|
"item.name": l(({ item: I }) => [
|
|
468
|
-
|
|
469
|
+
n(b, {
|
|
469
470
|
color: "primary",
|
|
470
471
|
density: "comfortable",
|
|
471
|
-
onClick: (F) =>
|
|
472
|
+
onClick: (F) => s.showScript(I)
|
|
472
473
|
}, {
|
|
473
474
|
default: l(() => [
|
|
474
475
|
y(L(I.name), 1)
|
|
@@ -477,32 +478,32 @@ function Tt(t, e, n, r, i, o) {
|
|
|
477
478
|
}, 1032, ["onClick"])
|
|
478
479
|
]),
|
|
479
480
|
"item.log": l(({ item: I }) => [
|
|
480
|
-
|
|
481
|
+
n(b, {
|
|
481
482
|
color: "primary",
|
|
482
483
|
density: "comfortable",
|
|
483
484
|
icon: "mdi-eye",
|
|
484
|
-
onClick: (F) =>
|
|
485
|
+
onClick: (F) => s.viewScriptLog(I, "log")
|
|
485
486
|
}, null, 8, ["onClick"]),
|
|
486
|
-
|
|
487
|
+
n(b, {
|
|
487
488
|
color: "primary",
|
|
488
489
|
density: "comfortable",
|
|
489
490
|
icon: "mdi-file-download-outline",
|
|
490
491
|
disabled: i.downloadScript,
|
|
491
492
|
loading: i.downloadScript && i.downloadScript.name === I.name,
|
|
492
|
-
onClick: (F) =>
|
|
493
|
+
onClick: (F) => s.downloadScriptLog(I, "log")
|
|
493
494
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
494
495
|
]),
|
|
495
496
|
"item.report": l(({ item: I }) => [
|
|
496
|
-
I.report ? (S(), D("div",
|
|
497
|
-
|
|
497
|
+
I.report ? (S(), D("div", Tt, [
|
|
498
|
+
n(b, {
|
|
498
499
|
color: "primary",
|
|
499
500
|
density: "comfortable",
|
|
500
501
|
icon: "mdi-eye",
|
|
501
|
-
onClick: (F) =>
|
|
502
|
+
onClick: (F) => s.viewScriptLog(I, "report")
|
|
502
503
|
}, null, 8, ["onClick"]),
|
|
503
|
-
|
|
504
|
+
n(Q, null, {
|
|
504
505
|
activator: l(({ props: F }) => [
|
|
505
|
-
|
|
506
|
+
n(b, X({
|
|
506
507
|
color: "primary",
|
|
507
508
|
density: "comfortable",
|
|
508
509
|
icon: "mdi-file-download-outline",
|
|
@@ -511,13 +512,13 @@ function Tt(t, e, n, r, i, o) {
|
|
|
511
512
|
}, F), null, 16, ["disabled", "loading"])
|
|
512
513
|
]),
|
|
513
514
|
default: l(() => [
|
|
514
|
-
|
|
515
|
+
n(G, null, {
|
|
515
516
|
default: l(() => [
|
|
516
|
-
|
|
517
|
-
onClick: (F) =>
|
|
517
|
+
n(P, {
|
|
518
|
+
onClick: (F) => s.downloadScriptLog(I, "report", "text")
|
|
518
519
|
}, {
|
|
519
520
|
default: l(() => [
|
|
520
|
-
|
|
521
|
+
n(_, null, {
|
|
521
522
|
default: l(() => [...e[15] || (e[15] = [
|
|
522
523
|
y("Download as Text", -1)
|
|
523
524
|
])]),
|
|
@@ -526,11 +527,11 @@ function Tt(t, e, n, r, i, o) {
|
|
|
526
527
|
]),
|
|
527
528
|
_: 1
|
|
528
529
|
}, 8, ["onClick"]),
|
|
529
|
-
|
|
530
|
-
onClick: (F) =>
|
|
530
|
+
n(P, {
|
|
531
|
+
onClick: (F) => s.downloadScriptLog(I, "report", "ctrf")
|
|
531
532
|
}, {
|
|
532
533
|
default: l(() => [
|
|
533
|
-
|
|
534
|
+
n(_, null, {
|
|
534
535
|
default: l(() => [...e[16] || (e[16] = [
|
|
535
536
|
y("Download as CTRF", -1)
|
|
536
537
|
])]),
|
|
@@ -545,7 +546,7 @@ function Tt(t, e, n, r, i, o) {
|
|
|
545
546
|
]),
|
|
546
547
|
_: 2
|
|
547
548
|
}, 1024)
|
|
548
|
-
])) : (S(), D("div",
|
|
549
|
+
])) : (S(), D("div", Mt, [...e[14] || (e[14] = [
|
|
549
550
|
x("span", null, "N/A", -1)
|
|
550
551
|
])]))
|
|
551
552
|
]),
|
|
@@ -572,7 +573,7 @@ function Tt(t, e, n, r, i, o) {
|
|
|
572
573
|
}, null, 8, ["modelValue", "content", "name", "filename"])) : z("", !0)
|
|
573
574
|
]);
|
|
574
575
|
}
|
|
575
|
-
const
|
|
576
|
+
const Ut = /* @__PURE__ */ K(Ot, [["render", It]]), Dt = {
|
|
576
577
|
props: {
|
|
577
578
|
modelValue: {
|
|
578
579
|
type: Array,
|
|
@@ -613,11 +614,11 @@ const It = /* @__PURE__ */ K(Rt, [["render", Tt]]), Ut = {
|
|
|
613
614
|
const t = this.messages.map((r) => r.message).join(`
|
|
614
615
|
`), e = new Blob([t], {
|
|
615
616
|
type: "text/plain"
|
|
616
|
-
}),
|
|
617
|
-
|
|
617
|
+
}), o = document.createElement("a");
|
|
618
|
+
o.href = URL.createObjectURL(e), o.setAttribute(
|
|
618
619
|
"download",
|
|
619
620
|
Oe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
|
|
620
|
-
),
|
|
621
|
+
), o.click();
|
|
621
622
|
},
|
|
622
623
|
clearLog: function() {
|
|
623
624
|
this.$dialog.confirm("Are you sure you want to clear the log?", {
|
|
@@ -630,24 +631,24 @@ const It = /* @__PURE__ */ K(Rt, [["render", Tt]]), Ut = {
|
|
|
630
631
|
}
|
|
631
632
|
}
|
|
632
633
|
};
|
|
633
|
-
function
|
|
634
|
-
const d = a("v-btn"),
|
|
634
|
+
function Pt(t, e, o, r, i, s) {
|
|
635
|
+
const d = a("v-btn"), p = 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
636
|
return S(), U(R, { class: "d-flex flex-column h-100" }, {
|
|
636
637
|
default: l(() => [
|
|
637
|
-
|
|
638
|
+
n(k, { class: "d-flex align-center" }, {
|
|
638
639
|
default: l(() => [
|
|
639
|
-
|
|
640
|
+
n(d, {
|
|
640
641
|
class: "mx-2",
|
|
641
642
|
icon: "mdi-download",
|
|
642
643
|
variant: "text",
|
|
643
644
|
density: "compact",
|
|
644
645
|
"data-test": "download-log",
|
|
645
646
|
"aria-label": "Download Log",
|
|
646
|
-
onClick:
|
|
647
|
+
onClick: s.downloadLog
|
|
647
648
|
}, null, 8, ["onClick"]),
|
|
648
649
|
e[2] || (e[2] = y(" Script Messages ", -1)),
|
|
649
|
-
|
|
650
|
-
|
|
650
|
+
n(p),
|
|
651
|
+
n(c, {
|
|
651
652
|
modelValue: i.messageOrder,
|
|
652
653
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.messageOrder = E),
|
|
653
654
|
density: "compact",
|
|
@@ -658,8 +659,8 @@ function Dt(t, e, n, r, i, o) {
|
|
|
658
659
|
style: { "max-width": "200px" },
|
|
659
660
|
"data-test": "message-order"
|
|
660
661
|
}, null, 8, ["modelValue", "items"]),
|
|
661
|
-
|
|
662
|
-
|
|
662
|
+
n(p),
|
|
663
|
+
n(b, {
|
|
663
664
|
modelValue: i.search,
|
|
664
665
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.search = E),
|
|
665
666
|
label: "Search",
|
|
@@ -672,24 +673,24 @@ function Dt(t, e, n, r, i, o) {
|
|
|
672
673
|
class: "search",
|
|
673
674
|
"data-test": "search-messages"
|
|
674
675
|
}, null, 8, ["modelValue"]),
|
|
675
|
-
|
|
676
|
+
n(d, {
|
|
676
677
|
class: "mx-2",
|
|
677
678
|
icon: "mdi-delete-sweep",
|
|
678
679
|
variant: "text",
|
|
679
680
|
density: "compact",
|
|
680
681
|
"data-test": "clear-log",
|
|
681
682
|
"aria-label": "Clear Log",
|
|
682
|
-
onClick:
|
|
683
|
+
onClick: s.clearLog
|
|
683
684
|
}, null, 8, ["onClick"])
|
|
684
685
|
]),
|
|
685
686
|
_: 1
|
|
686
687
|
}),
|
|
687
|
-
|
|
688
|
+
n(w, { class: "overflow-auto" }, {
|
|
688
689
|
default: l(() => [
|
|
689
|
-
|
|
690
|
+
n(V, {
|
|
690
691
|
id: "script-log-messages",
|
|
691
692
|
headers: i.headers,
|
|
692
|
-
items:
|
|
693
|
+
items: s.messages,
|
|
693
694
|
search: i.search,
|
|
694
695
|
"items-per-page": -1,
|
|
695
696
|
"hide-default-footer": "",
|
|
@@ -698,7 +699,7 @@ function Dt(t, e, n, r, i, o) {
|
|
|
698
699
|
}, {
|
|
699
700
|
"item.message": l(({ item: E }) => [
|
|
700
701
|
x("div", {
|
|
701
|
-
class:
|
|
702
|
+
class: Ke(s.messageClass(E.message))
|
|
702
703
|
}, L(E.message), 3)
|
|
703
704
|
]),
|
|
704
705
|
_: 1
|
|
@@ -710,7 +711,7 @@ function Dt(t, e, n, r, i, o) {
|
|
|
710
711
|
_: 1
|
|
711
712
|
});
|
|
712
713
|
}
|
|
713
|
-
const
|
|
714
|
+
const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
714
715
|
__name: "splitpanes",
|
|
715
716
|
props: {
|
|
716
717
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -733,7 +734,7 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
733
734
|
"splitter-dblclick"
|
|
734
735
|
],
|
|
735
736
|
setup(t, { emit: e }) {
|
|
736
|
-
const
|
|
737
|
+
const o = e, r = t, i = ut(), s = ae([]), d = Y(() => s.value.reduce((u, h) => (u[~~h.id] = h) && u, {})), p = Y(() => s.value.length), c = ae(null), b = ae(!1), k = ae({
|
|
737
738
|
mouseDown: !1,
|
|
738
739
|
dragging: !1,
|
|
739
740
|
activeSplitter: null,
|
|
@@ -750,13 +751,13 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
750
751
|
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", P), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", P));
|
|
751
752
|
}, E = () => {
|
|
752
753
|
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", P), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", P));
|
|
753
|
-
}, T = (u,
|
|
754
|
+
}, T = (u, h) => {
|
|
754
755
|
const v = u.target.closest(".splitpanes__splitter");
|
|
755
756
|
if (v) {
|
|
756
757
|
const { left: f, top: g } = v.getBoundingClientRect(), { clientX: C, clientY: M } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
757
758
|
k.value.cursorOffset = r.horizontal ? M - g : C - f;
|
|
758
759
|
}
|
|
759
|
-
R(), k.value.mouseDown = !0, k.value.activeSplitter =
|
|
760
|
+
R(), k.value.mouseDown = !0, k.value.activeSplitter = h;
|
|
760
761
|
}, _ = (u) => {
|
|
761
762
|
k.value.mouseDown && (u.preventDefault(), k.value.dragging = !0, requestAnimationFrame(() => {
|
|
762
763
|
I(j(u)), N("resize", { event: u }, !0);
|
|
@@ -765,133 +766,133 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
765
766
|
k.value.dragging && (window.getSelection().removeAllRanges(), N("resized", { event: u }, !0)), k.value.mouseDown = !1, k.value.activeSplitter = null, setTimeout(() => {
|
|
766
767
|
k.value.dragging = !1, E();
|
|
767
768
|
}, 100);
|
|
768
|
-
}, G = (u,
|
|
769
|
-
"ontouchstart" in window && (u.preventDefault(), V.value.splitter ===
|
|
770
|
-
}, Q = (u,
|
|
771
|
-
if (N("splitter-dblclick", { event: u, index:
|
|
769
|
+
}, G = (u, h) => {
|
|
770
|
+
"ontouchstart" in window && (u.preventDefault(), V.value.splitter === h ? (clearTimeout(V.value.timeoutId), V.value.timeoutId = null, Q(u, h), V.value.splitter = null) : (V.value.splitter = h, V.value.timeoutId = setTimeout(() => V.value.splitter = null, 500))), k.value.dragging || N("splitter-click", { event: u, index: h }, !0);
|
|
771
|
+
}, Q = (u, h) => {
|
|
772
|
+
if (N("splitter-dblclick", { event: u, index: h }, !0), r.maximizePanes) {
|
|
772
773
|
let v = 0;
|
|
773
|
-
|
|
774
|
+
s.value = s.value.map((f, g) => (f.size = g === h ? f.max : f.min, g !== h && (v += f.min), f)), s.value[h].size -= v, N("pane-maximize", { event: u, index: h, pane: s.value[h] }), N("resized", { event: u, index: h }, !0);
|
|
774
775
|
}
|
|
775
|
-
}, te = (u,
|
|
776
|
+
}, te = (u, h) => {
|
|
776
777
|
N("pane-click", {
|
|
777
778
|
event: u,
|
|
778
|
-
index: d.value[
|
|
779
|
-
pane: d.value[
|
|
779
|
+
index: d.value[h].index,
|
|
780
|
+
pane: d.value[h]
|
|
780
781
|
});
|
|
781
782
|
}, j = (u) => {
|
|
782
|
-
const
|
|
783
|
+
const h = c.value.getBoundingClientRect(), { clientX: v, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
783
784
|
return {
|
|
784
|
-
x: v - (r.horizontal ? 0 : k.value.cursorOffset) -
|
|
785
|
-
y: f - (r.horizontal ? k.value.cursorOffset : 0) -
|
|
785
|
+
x: v - (r.horizontal ? 0 : k.value.cursorOffset) - h.left,
|
|
786
|
+
y: f - (r.horizontal ? k.value.cursorOffset : 0) - h.top
|
|
786
787
|
};
|
|
787
788
|
}, ie = (u) => {
|
|
788
789
|
u = u[r.horizontal ? "y" : "x"];
|
|
789
|
-
const
|
|
790
|
-
return r.rtl && !r.horizontal && (u =
|
|
790
|
+
const h = c.value[r.horizontal ? "clientHeight" : "clientWidth"];
|
|
791
|
+
return r.rtl && !r.horizontal && (u = h - u), u * 100 / h;
|
|
791
792
|
}, I = (u) => {
|
|
792
|
-
const
|
|
793
|
+
const h = k.value.activeSplitter;
|
|
793
794
|
let v = {
|
|
794
|
-
prevPanesSize: ue(
|
|
795
|
-
nextPanesSize: Z(
|
|
795
|
+
prevPanesSize: ue(h),
|
|
796
|
+
nextPanesSize: Z(h),
|
|
796
797
|
prevReachedMinPanes: 0,
|
|
797
798
|
nextReachedMinPanes: 0
|
|
798
799
|
};
|
|
799
800
|
const f = 0 + (r.pushOtherPanes ? 0 : v.prevPanesSize), g = 100 - (r.pushOtherPanes ? 0 : v.nextPanesSize), C = Math.max(Math.min(ie(u), g), f);
|
|
800
|
-
let M = [
|
|
801
|
-
const m = A.max < 100 && C >= A.max + v.prevPanesSize, J = H.max < 100 && C <= 100 - (H.max + Z(
|
|
801
|
+
let M = [h, h + 1], A = s.value[M[0]] || null, H = s.value[M[1]] || null;
|
|
802
|
+
const m = A.max < 100 && C >= A.max + v.prevPanesSize, J = H.max < 100 && C <= 100 - (H.max + Z(h + 1));
|
|
802
803
|
if (m || J) {
|
|
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(
|
|
804
|
+
m ? (A.size = A.max, H.size = Math.max(100 - A.max - v.prevPanesSize - v.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - v.prevPanesSize - Z(h + 1), 0), H.size = H.max);
|
|
804
805
|
return;
|
|
805
806
|
}
|
|
806
807
|
if (r.pushOtherPanes) {
|
|
807
|
-
const
|
|
808
|
-
if (!
|
|
809
|
-
({ sums: v, panesToResize: M } =
|
|
808
|
+
const We = F(v, C);
|
|
809
|
+
if (!We) return;
|
|
810
|
+
({ sums: v, panesToResize: M } = We), A = s.value[M[0]] || null, H = s.value[M[1]] || null;
|
|
810
811
|
}
|
|
811
812
|
A !== null && (A.size = Math.min(Math.max(C - v.prevPanesSize - v.prevReachedMinPanes, A.min), A.max)), H !== null && (H.size = Math.min(Math.max(100 - C - v.nextPanesSize - v.nextReachedMinPanes, H.min), H.max));
|
|
812
|
-
}, F = (u,
|
|
813
|
+
}, F = (u, h) => {
|
|
813
814
|
const v = k.value.activeSplitter, f = [v, v + 1];
|
|
814
|
-
return
|
|
815
|
+
return h < u.prevPanesSize + s.value[f[0]].min && (f[0] = Ue(v).index, u.prevReachedMinPanes = 0, f[0] < v && s.value.forEach((g, C) => {
|
|
815
816
|
C > f[0] && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
816
|
-
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0,
|
|
817
|
+
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0, s.value[0].size = s.value[0].min, s.value.forEach((g, C) => {
|
|
817
818
|
C > 0 && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
818
|
-
}),
|
|
819
|
+
}), s.value[f[1]].size = 100 - u.prevReachedMinPanes - s.value[0].min - u.prevPanesSize - u.nextPanesSize, null) : h > 100 - u.nextPanesSize - s.value[f[1]].min && (f[1] = xe(v).index, u.nextReachedMinPanes = 0, f[1] > v + 1 && s.value.forEach((g, C) => {
|
|
819
820
|
C > v && C < f[1] && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
820
|
-
}), u.nextPanesSize = Z(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0,
|
|
821
|
-
C <
|
|
822
|
-
}),
|
|
823
|
-
}, ue = (u) =>
|
|
821
|
+
}), u.nextPanesSize = Z(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0, s.value.forEach((g, C) => {
|
|
822
|
+
C < p.value - 1 && C >= v + 1 && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
823
|
+
}), s.value[f[0]].size = 100 - u.prevPanesSize - Z(f[0] - 1), null) : { sums: u, panesToResize: f };
|
|
824
|
+
}, ue = (u) => s.value.reduce((h, v, f) => h + (f < u ? v.size : 0), 0), Z = (u) => s.value.reduce((h, v, f) => h + (f > u + 1 ? v.size : 0), 0), Ue = (u) => [...s.value].reverse().find((h) => h.index < u && h.size > h.min) || {}, xe = (u) => s.value.find((h) => h.index > u + 1 && h.size > h.min) || {}, De = () => {
|
|
824
825
|
var u;
|
|
825
|
-
const
|
|
826
|
-
for (const v of
|
|
826
|
+
const h = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
827
|
+
for (const v of h) {
|
|
827
828
|
const f = v.classList.contains("splitpanes__pane"), g = v.classList.contains("splitpanes__splitter");
|
|
828
829
|
!f && !g && (v.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
|
|
829
830
|
}
|
|
830
|
-
}, ce = (u,
|
|
831
|
+
}, ce = (u, h, v = !1) => {
|
|
831
832
|
const f = u - 1, g = document.createElement("div");
|
|
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),
|
|
833
|
+
g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (C) => T(C, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (C) => T(C, f)), g.onclick = (C) => G(C, f + 1)), g.ondblclick = (C) => Q(C, f + 1), h.parentNode.insertBefore(g, h);
|
|
833
834
|
}, Ce = (u) => {
|
|
834
835
|
u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
|
|
835
836
|
}, se = () => {
|
|
836
837
|
var u;
|
|
837
|
-
const
|
|
838
|
-
for (const f of
|
|
838
|
+
const h = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
839
|
+
for (const f of h)
|
|
839
840
|
f.className.includes("splitpanes__splitter") && Ce(f);
|
|
840
841
|
let v = 0;
|
|
841
|
-
for (const f of
|
|
842
|
+
for (const f of h)
|
|
842
843
|
f.className.includes("splitpanes__pane") && (!v && r.firstSplitter ? ce(v, f, !0) : v && ce(v, f), v++);
|
|
843
|
-
}, Ve = ({ uid: u, ...
|
|
844
|
+
}, Ve = ({ uid: u, ...h }) => {
|
|
844
845
|
const v = d.value[u];
|
|
845
|
-
for (const [f, g] of Object.entries(
|
|
846
|
+
for (const [f, g] of Object.entries(h)) v[f] = g;
|
|
846
847
|
}, Pe = (u) => {
|
|
847
|
-
var
|
|
848
|
+
var h;
|
|
848
849
|
let v = -1;
|
|
849
|
-
Array.from(((
|
|
850
|
-
se(), me({ addedPane:
|
|
850
|
+
Array.from(((h = c.value) == null ? void 0 : h.children) || []).some((f) => (f.className.includes("splitpanes__pane") && v++, f.isSameNode(u.el))), s.value.splice(v, 0, { ...u, index: v }), s.value.forEach((f, g) => f.index = g), b.value && He(() => {
|
|
851
|
+
se(), me({ addedPane: s.value[v] }), N("pane-add", { pane: s.value[v] });
|
|
851
852
|
});
|
|
852
853
|
}, ze = (u) => {
|
|
853
|
-
const
|
|
854
|
-
|
|
855
|
-
const v =
|
|
856
|
-
|
|
854
|
+
const h = s.value.findIndex((f) => f.id === u);
|
|
855
|
+
s.value[h].el = null;
|
|
856
|
+
const v = s.value.splice(h, 1)[0];
|
|
857
|
+
s.value.forEach((f, g) => f.index = g), He(() => {
|
|
857
858
|
se(), N("pane-remove", { pane: v }), me({ removedPane: { ...v } });
|
|
858
859
|
});
|
|
859
860
|
}, me = (u = {}) => {
|
|
860
|
-
!u.addedPane && !u.removedPane ? Ae() :
|
|
861
|
+
!u.addedPane && !u.removedPane ? Ae() : s.value.some((h) => h.givenSize !== null || h.min || h.max < 100) ? Fe(u) : Le(), b.value && N("resized");
|
|
861
862
|
}, Le = () => {
|
|
862
|
-
const u = 100 /
|
|
863
|
-
let
|
|
863
|
+
const u = 100 / p.value;
|
|
864
|
+
let h = 0;
|
|
864
865
|
const v = [], f = [];
|
|
865
|
-
for (const g of
|
|
866
|
-
g.size = Math.max(Math.min(u, g.max), g.min),
|
|
867
|
-
|
|
866
|
+
for (const g of s.value)
|
|
867
|
+
g.size = Math.max(Math.min(u, g.max), g.min), h -= g.size, g.size >= g.max && v.push(g.id), g.size <= g.min && f.push(g.id);
|
|
868
|
+
h > 0.1 && pe(h, v, f);
|
|
868
869
|
}, Ae = () => {
|
|
869
870
|
let u = 100;
|
|
870
|
-
const
|
|
871
|
+
const h = [], v = [];
|
|
871
872
|
let f = 0;
|
|
872
|
-
for (const C of
|
|
873
|
-
u -= C.size, C.givenSize !== null && f++, C.size >= C.max &&
|
|
873
|
+
for (const C of s.value)
|
|
874
|
+
u -= C.size, C.givenSize !== null && f++, C.size >= C.max && h.push(C.id), C.size <= C.min && v.push(C.id);
|
|
874
875
|
let g = 100;
|
|
875
876
|
if (u > 0.1) {
|
|
876
|
-
for (const C of
|
|
877
|
-
C.givenSize === null && (C.size = Math.max(Math.min(u / (
|
|
878
|
-
g > 0.1 && pe(g,
|
|
877
|
+
for (const C of s.value)
|
|
878
|
+
C.givenSize === null && (C.size = Math.max(Math.min(u / (p.value - f), C.max), C.min)), g -= C.size;
|
|
879
|
+
g > 0.1 && pe(g, h, v);
|
|
879
880
|
}
|
|
880
|
-
}, Fe = ({ addedPane: u, removedPane:
|
|
881
|
-
let v = 100 /
|
|
881
|
+
}, Fe = ({ addedPane: u, removedPane: h } = {}) => {
|
|
882
|
+
let v = 100 / p.value, f = 0;
|
|
882
883
|
const g = [], C = [];
|
|
883
|
-
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (
|
|
884
|
-
for (const M of
|
|
884
|
+
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (p.value - 1));
|
|
885
|
+
for (const M of s.value)
|
|
885
886
|
f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
|
|
886
887
|
if (!(Math.abs(f) < 0.1)) {
|
|
887
|
-
for (const M of
|
|
888
|
+
for (const M of s.value)
|
|
888
889
|
(u == null ? void 0 : u.givenSize) !== null && (u == null ? void 0 : u.id) === M.id || (M.size = Math.max(Math.min(v, M.max), M.min)), f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
|
|
889
890
|
f > 0.1 && pe(f, g, C);
|
|
890
891
|
}
|
|
891
|
-
}, pe = (u,
|
|
892
|
+
}, pe = (u, h, v) => {
|
|
892
893
|
let f;
|
|
893
|
-
u > 0 ? f = u / (
|
|
894
|
-
if (u > 0 && !
|
|
894
|
+
u > 0 ? f = u / (p.value - h.length) : f = u / (p.value - v.length), s.value.forEach((g, C) => {
|
|
895
|
+
if (u > 0 && !h.includes(g.id)) {
|
|
895
896
|
const M = Math.max(Math.min(g.size + f, g.max), g.min), A = M - g.size;
|
|
896
897
|
u -= A, g.size = M;
|
|
897
898
|
} else if (!v.includes(g.id)) {
|
|
@@ -901,16 +902,16 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
901
902
|
}), Math.abs(u) > 0.1 && He(() => {
|
|
902
903
|
b.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
903
904
|
});
|
|
904
|
-
}, N = (u,
|
|
905
|
-
const f = (
|
|
906
|
-
|
|
907
|
-
...
|
|
905
|
+
}, N = (u, h = void 0, v = !1) => {
|
|
906
|
+
const f = (h == null ? void 0 : h.index) ?? k.value.activeSplitter ?? null;
|
|
907
|
+
o(u, {
|
|
908
|
+
...h,
|
|
908
909
|
...f !== null && { index: f },
|
|
909
910
|
...v && f !== null && {
|
|
910
|
-
prevPane:
|
|
911
|
-
nextPane:
|
|
911
|
+
prevPane: s.value[f - (r.firstSplitter ? 1 : 0)],
|
|
912
|
+
nextPane: s.value[f + (r.firstSplitter ? 0 : 1)]
|
|
912
913
|
},
|
|
913
|
-
panes:
|
|
914
|
+
panes: s.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
914
915
|
});
|
|
915
916
|
};
|
|
916
917
|
Re(() => r.firstSplitter, () => se()), $e(() => {
|
|
@@ -924,9 +925,9 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
924
925
|
(u = i.default) == null ? void 0 : u.call(i)
|
|
925
926
|
);
|
|
926
927
|
};
|
|
927
|
-
return $("panes",
|
|
928
|
+
return $("panes", s), $("indexedPanes", d), $("horizontal", Y(() => r.horizontal)), $("requestUpdate", Ve), $("onPaneAdd", Pe), $("onPaneRemove", ze), $("onPaneClick", te), (u, h) => (S(), U(ct(Be)));
|
|
928
929
|
}
|
|
929
|
-
},
|
|
930
|
+
}, At = {
|
|
930
931
|
__name: "pane",
|
|
931
932
|
props: {
|
|
932
933
|
size: { type: [Number, String] },
|
|
@@ -935,18 +936,18 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
935
936
|
},
|
|
936
937
|
setup(t) {
|
|
937
938
|
var e;
|
|
938
|
-
const
|
|
939
|
-
const _ = isNaN(
|
|
939
|
+
const o = t, r = oe("requestUpdate"), i = oe("onPaneAdd"), s = oe("horizontal"), d = oe("onPaneRemove"), p = oe("onPaneClick"), c = (e = rt()) == null ? void 0 : e.uid, b = oe("indexedPanes"), k = Y(() => b.value[c]), V = ae(null), w = Y(() => {
|
|
940
|
+
const _ = isNaN(o.size) || o.size === void 0 ? 0 : parseFloat(o.size);
|
|
940
941
|
return Math.max(Math.min(_, E.value), R.value);
|
|
941
942
|
}), R = Y(() => {
|
|
942
|
-
const _ = parseFloat(
|
|
943
|
+
const _ = parseFloat(o.minSize);
|
|
943
944
|
return isNaN(_) ? 0 : _;
|
|
944
945
|
}), E = Y(() => {
|
|
945
|
-
const _ = parseFloat(
|
|
946
|
+
const _ = parseFloat(o.maxSize);
|
|
946
947
|
return isNaN(_) ? 100 : _;
|
|
947
948
|
}), T = Y(() => {
|
|
948
949
|
var _;
|
|
949
|
-
return `${
|
|
950
|
+
return `${s.value ? "height" : "width"}: ${(_ = k.value) == null ? void 0 : _.size}%`;
|
|
950
951
|
});
|
|
951
952
|
return Re(() => w.value, (_) => r({ uid: c, size: _ })), Re(() => R.value, (_) => r({ uid: c, min: _ })), Re(() => E.value, (_) => r({ uid: c, max: _ })), $e(() => {
|
|
952
953
|
i({
|
|
@@ -955,7 +956,7 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
955
956
|
min: R.value,
|
|
956
957
|
max: E.value,
|
|
957
958
|
// The given size (useful to know the user intention).
|
|
958
|
-
givenSize:
|
|
959
|
+
givenSize: o.size === void 0 ? null : w.value,
|
|
959
960
|
size: w.value
|
|
960
961
|
// The computed current size at any time.
|
|
961
962
|
});
|
|
@@ -963,13 +964,13 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
963
964
|
ref_key: "paneEl",
|
|
964
965
|
ref: V,
|
|
965
966
|
class: "splitpanes__pane",
|
|
966
|
-
onClick: P[0] || (P[0] = (G) => at(
|
|
967
|
+
onClick: P[0] || (P[0] = (G) => at(p)(G, _._.uid)),
|
|
967
968
|
style: fe(T.value)
|
|
968
969
|
}, [
|
|
969
970
|
dt(_.$slots, "default")
|
|
970
971
|
], 4));
|
|
971
972
|
}
|
|
972
|
-
},
|
|
973
|
+
}, Ft = {
|
|
973
974
|
props: {
|
|
974
975
|
question: {
|
|
975
976
|
type: String,
|
|
@@ -1017,68 +1018,68 @@ const Pt = /* @__PURE__ */ K(Ut, [["render", Dt]]), zt = {
|
|
|
1017
1018
|
this.$emit("response", "Cancel");
|
|
1018
1019
|
}
|
|
1019
1020
|
}
|
|
1020
|
-
},
|
|
1021
|
-
function
|
|
1022
|
-
const d = a("v-spacer"),
|
|
1021
|
+
}, Bt = { class: "pa-2" }, Nt = { class: "question" };
|
|
1022
|
+
function Ht(t, e, o, r, i, s) {
|
|
1023
|
+
const d = a("v-spacer"), p = 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");
|
|
1023
1024
|
return S(), U(E, {
|
|
1024
|
-
modelValue:
|
|
1025
|
-
"onUpdate:modelValue": e[2] || (e[2] = (T) =>
|
|
1025
|
+
modelValue: s.show,
|
|
1026
|
+
"onUpdate:modelValue": e[2] || (e[2] = (T) => s.show = T),
|
|
1026
1027
|
persistent: "",
|
|
1027
1028
|
width: "600",
|
|
1028
|
-
onKeydown: Se(
|
|
1029
|
+
onKeydown: Se(s.cancelHandler, ["esc"])
|
|
1029
1030
|
}, {
|
|
1030
1031
|
default: l(() => [
|
|
1031
|
-
|
|
1032
|
+
n(R, null, {
|
|
1032
1033
|
default: l(() => [
|
|
1033
|
-
|
|
1034
|
+
n(w, {
|
|
1034
1035
|
modelValue: i.valid,
|
|
1035
1036
|
"onUpdate:modelValue": e[1] || (e[1] = (T) => i.valid = T),
|
|
1036
|
-
onSubmit: de(
|
|
1037
|
+
onSubmit: de(s.submitHandler, ["prevent"])
|
|
1037
1038
|
}, {
|
|
1038
1039
|
default: l(() => [
|
|
1039
|
-
|
|
1040
|
+
n(p, { height: "24" }, {
|
|
1040
1041
|
default: l(() => [
|
|
1041
|
-
|
|
1042
|
+
n(d),
|
|
1042
1043
|
e[3] || (e[3] = x("span", null, " User Input Required ", -1)),
|
|
1043
|
-
|
|
1044
|
+
n(d)
|
|
1044
1045
|
]),
|
|
1045
1046
|
_: 1
|
|
1046
1047
|
}),
|
|
1047
|
-
x("div",
|
|
1048
|
-
|
|
1048
|
+
x("div", Bt, [
|
|
1049
|
+
n(b, null, {
|
|
1049
1050
|
default: l(() => [
|
|
1050
|
-
x("div",
|
|
1051
|
-
|
|
1051
|
+
x("div", Nt, L(o.question), 1),
|
|
1052
|
+
n(c, {
|
|
1052
1053
|
modelValue: i.inputValue,
|
|
1053
1054
|
"onUpdate:modelValue": e[0] || (e[0] = (T) => i.inputValue = T),
|
|
1054
1055
|
autofocus: "",
|
|
1055
1056
|
"data-test": "ask-value-input",
|
|
1056
|
-
type:
|
|
1057
|
+
type: o.password ? "password" : "text",
|
|
1057
1058
|
rules: i.rules
|
|
1058
1059
|
}, null, 8, ["modelValue", "type", "rules"])
|
|
1059
1060
|
]),
|
|
1060
1061
|
_: 1
|
|
1061
1062
|
})
|
|
1062
1063
|
]),
|
|
1063
|
-
|
|
1064
|
+
n(V, { class: "px-2" }, {
|
|
1064
1065
|
default: l(() => [
|
|
1065
|
-
|
|
1066
|
-
|
|
1066
|
+
n(d),
|
|
1067
|
+
n(k, {
|
|
1067
1068
|
variant: "outlined",
|
|
1068
1069
|
"data-test": "ask-cancel",
|
|
1069
|
-
onClick:
|
|
1070
|
+
onClick: s.cancelHandler
|
|
1070
1071
|
}, {
|
|
1071
1072
|
default: l(() => [...e[4] || (e[4] = [
|
|
1072
1073
|
y(" Cancel ", -1)
|
|
1073
1074
|
])]),
|
|
1074
1075
|
_: 1
|
|
1075
1076
|
}, 8, ["onClick"]),
|
|
1076
|
-
|
|
1077
|
+
n(k, {
|
|
1077
1078
|
variant: "flat",
|
|
1078
1079
|
type: "submit",
|
|
1079
1080
|
"data-test": "ask-ok",
|
|
1080
1081
|
disabled: !i.valid,
|
|
1081
|
-
onClick: de(
|
|
1082
|
+
onClick: de(s.submitHandler, ["prevent"])
|
|
1082
1083
|
}, {
|
|
1083
1084
|
default: l(() => [...e[5] || (e[5] = [
|
|
1084
1085
|
y(" Ok ", -1)
|
|
@@ -1098,7 +1099,7 @@ function Nt(t, e, n, r, i, o) {
|
|
|
1098
1099
|
_: 1
|
|
1099
1100
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1100
1101
|
}
|
|
1101
|
-
const
|
|
1102
|
+
const Gt = /* @__PURE__ */ K(Ft, [["render", Ht], ["__scopeId", "data-v-eeaa2f66"]]), qt = {
|
|
1102
1103
|
props: {
|
|
1103
1104
|
title: {
|
|
1104
1105
|
type: String,
|
|
@@ -1145,64 +1146,64 @@ const Ht = /* @__PURE__ */ K(At, [["render", Nt], ["__scopeId", "data-v-eeaa2f66
|
|
|
1145
1146
|
this.$emit("response", "Cancel");
|
|
1146
1147
|
}
|
|
1147
1148
|
}
|
|
1148
|
-
},
|
|
1149
|
-
function
|
|
1150
|
-
const d = a("v-spacer"),
|
|
1149
|
+
}, Kt = { class: "pa-2" }, jt = { class: "title" }, Wt = ["textContent"];
|
|
1150
|
+
function Jt(t, e, o, r, i, s) {
|
|
1151
|
+
const d = a("v-spacer"), p = 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
1152
|
return S(), U(T, {
|
|
1152
|
-
modelValue:
|
|
1153
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1153
|
+
modelValue: s.show,
|
|
1154
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1154
1155
|
persistent: "",
|
|
1155
1156
|
width: "600",
|
|
1156
|
-
onKeydown: Se(
|
|
1157
|
+
onKeydown: Se(s.cancelHandler, ["esc"])
|
|
1157
1158
|
}, {
|
|
1158
1159
|
default: l(() => [
|
|
1159
|
-
|
|
1160
|
+
n(E, null, {
|
|
1160
1161
|
default: l(() => [
|
|
1161
|
-
|
|
1162
|
+
n(R, {
|
|
1162
1163
|
modelValue: i.valid,
|
|
1163
1164
|
"onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
|
|
1164
|
-
onSubmit: de(
|
|
1165
|
+
onSubmit: de(s.submitHandler, ["prevent"])
|
|
1165
1166
|
}, {
|
|
1166
1167
|
default: l(() => [
|
|
1167
|
-
|
|
1168
|
+
n(p, { height: "24" }, {
|
|
1168
1169
|
default: l(() => [
|
|
1169
|
-
|
|
1170
|
+
n(d),
|
|
1170
1171
|
e[3] || (e[3] = x("span", null, " File Dialog ", -1)),
|
|
1171
|
-
|
|
1172
|
+
n(d)
|
|
1172
1173
|
]),
|
|
1173
1174
|
_: 1
|
|
1174
1175
|
}),
|
|
1175
|
-
x("div",
|
|
1176
|
-
|
|
1176
|
+
x("div", Kt, [
|
|
1177
|
+
n(k, null, {
|
|
1177
1178
|
default: l(() => [
|
|
1178
|
-
|
|
1179
|
+
n(c, null, {
|
|
1179
1180
|
default: l(() => [
|
|
1180
|
-
x("span",
|
|
1181
|
+
x("span", jt, L(o.title), 1)
|
|
1181
1182
|
]),
|
|
1182
1183
|
_: 1
|
|
1183
1184
|
}),
|
|
1184
|
-
|
|
1185
|
+
o.message ? (S(), U(c, { key: 0 }, {
|
|
1185
1186
|
default: l(() => [
|
|
1186
1187
|
x("span", {
|
|
1187
1188
|
class: "ma-3",
|
|
1188
1189
|
style: { "white-space": "pre-line" },
|
|
1189
|
-
textContent: L(
|
|
1190
|
-
}, null, 8,
|
|
1190
|
+
textContent: L(o.message)
|
|
1191
|
+
}, null, 8, Wt)
|
|
1191
1192
|
]),
|
|
1192
1193
|
_: 1
|
|
1193
1194
|
})) : z("", !0),
|
|
1194
|
-
|
|
1195
|
+
n(c, { class: "my-1" }, {
|
|
1195
1196
|
default: l(() => [
|
|
1196
|
-
|
|
1197
|
+
n(b, {
|
|
1197
1198
|
modelValue: i.inputValue,
|
|
1198
1199
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.inputValue = _),
|
|
1199
1200
|
label: "Choose File",
|
|
1200
1201
|
rules: i.rules,
|
|
1201
1202
|
autofocus: "",
|
|
1202
1203
|
"data-test": "file-input",
|
|
1203
|
-
accept:
|
|
1204
|
+
accept: o.filter,
|
|
1204
1205
|
"small-chips": "",
|
|
1205
|
-
multiple:
|
|
1206
|
+
multiple: o.multiple
|
|
1206
1207
|
}, null, 8, ["modelValue", "rules", "accept", "multiple"])
|
|
1207
1208
|
]),
|
|
1208
1209
|
_: 1
|
|
@@ -1211,25 +1212,25 @@ function Wt(t, e, n, r, i, o) {
|
|
|
1211
1212
|
_: 1
|
|
1212
1213
|
})
|
|
1213
1214
|
]),
|
|
1214
|
-
|
|
1215
|
+
n(w, { class: "px-2" }, {
|
|
1215
1216
|
default: l(() => [
|
|
1216
|
-
|
|
1217
|
-
|
|
1217
|
+
n(d),
|
|
1218
|
+
n(V, {
|
|
1218
1219
|
variant: "outlined",
|
|
1219
1220
|
"data-test": "file-cancel",
|
|
1220
|
-
onClick:
|
|
1221
|
+
onClick: s.cancelHandler
|
|
1221
1222
|
}, {
|
|
1222
1223
|
default: l(() => [...e[4] || (e[4] = [
|
|
1223
1224
|
y(" Cancel ", -1)
|
|
1224
1225
|
])]),
|
|
1225
1226
|
_: 1
|
|
1226
1227
|
}, 8, ["onClick"]),
|
|
1227
|
-
|
|
1228
|
+
n(V, {
|
|
1228
1229
|
variant: "flat",
|
|
1229
1230
|
type: "submit",
|
|
1230
1231
|
"data-test": "file-ok",
|
|
1231
1232
|
disabled: !i.valid,
|
|
1232
|
-
onClick: de(
|
|
1233
|
+
onClick: de(s.submitHandler, ["prevent"])
|
|
1233
1234
|
}, {
|
|
1234
1235
|
default: l(() => [...e[5] || (e[5] = [
|
|
1235
1236
|
y(" Ok ", -1)
|
|
@@ -1249,7 +1250,7 @@ function Wt(t, e, n, r, i, o) {
|
|
|
1249
1250
|
_: 1
|
|
1250
1251
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1251
1252
|
}
|
|
1252
|
-
const
|
|
1253
|
+
const Yt = /* @__PURE__ */ K(qt, [["render", Jt], ["__scopeId", "data-v-6d77dd67"]]), Zt = {
|
|
1253
1254
|
props: {
|
|
1254
1255
|
modelValue: {
|
|
1255
1256
|
type: Boolean,
|
|
@@ -1279,32 +1280,32 @@ const Jt = /* @__PURE__ */ K(Gt, [["render", Wt], ["__scopeId", "data-v-6d77dd67
|
|
|
1279
1280
|
}
|
|
1280
1281
|
},
|
|
1281
1282
|
methods: {}
|
|
1282
|
-
},
|
|
1283
|
-
function
|
|
1284
|
-
const d = a("v-spacer"),
|
|
1283
|
+
}, Xt = ["textContent"], Qt = { class: "pa-2" }, $t = ["textContent"];
|
|
1284
|
+
function ei(t, e, o, r, i, s) {
|
|
1285
|
+
const d = a("v-spacer"), p = 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");
|
|
1285
1286
|
return S(), U(R, {
|
|
1286
|
-
modelValue:
|
|
1287
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1288
|
-
width:
|
|
1287
|
+
modelValue: s.show,
|
|
1288
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => s.show = E),
|
|
1289
|
+
width: o.width
|
|
1289
1290
|
}, {
|
|
1290
1291
|
default: l(() => [
|
|
1291
|
-
|
|
1292
|
+
n(w, null, {
|
|
1292
1293
|
default: l(() => [
|
|
1293
|
-
|
|
1294
|
+
n(p, { height: "24" }, {
|
|
1294
1295
|
default: l(() => [
|
|
1295
|
-
|
|
1296
|
+
n(d),
|
|
1296
1297
|
x("span", {
|
|
1297
1298
|
style: { "white-space": "pre" },
|
|
1298
|
-
textContent: L(
|
|
1299
|
-
}, null, 8,
|
|
1300
|
-
|
|
1299
|
+
textContent: L(o.title)
|
|
1300
|
+
}, null, 8, Xt),
|
|
1301
|
+
n(d)
|
|
1301
1302
|
]),
|
|
1302
1303
|
_: 1
|
|
1303
1304
|
}),
|
|
1304
|
-
x("div",
|
|
1305
|
-
|
|
1305
|
+
x("div", Qt, [
|
|
1306
|
+
n(b, null, {
|
|
1306
1307
|
default: l(() => [
|
|
1307
|
-
(S(!0), D(ge, null,
|
|
1308
|
+
(S(!0), D(ge, null, je(o.text, (E, T) => (S(), U(c, {
|
|
1308
1309
|
"no-gutters": "",
|
|
1309
1310
|
key: T
|
|
1310
1311
|
}, {
|
|
@@ -1312,7 +1313,7 @@ function $t(t, e, n, r, i, o) {
|
|
|
1312
1313
|
x("span", {
|
|
1313
1314
|
style: { "white-space": "pre" },
|
|
1314
1315
|
textContent: L(E)
|
|
1315
|
-
}, null, 8,
|
|
1316
|
+
}, null, 8, $t)
|
|
1316
1317
|
]),
|
|
1317
1318
|
_: 2
|
|
1318
1319
|
}, 1024))), 128))
|
|
@@ -1320,12 +1321,12 @@ function $t(t, e, n, r, i, o) {
|
|
|
1320
1321
|
_: 1
|
|
1321
1322
|
})
|
|
1322
1323
|
]),
|
|
1323
|
-
|
|
1324
|
+
n(V, { class: "px-2" }, {
|
|
1324
1325
|
default: l(() => [
|
|
1325
|
-
|
|
1326
|
-
|
|
1326
|
+
n(d),
|
|
1327
|
+
n(k, {
|
|
1327
1328
|
variant: "flat",
|
|
1328
|
-
onClick: e[0] || (e[0] = (E) =>
|
|
1329
|
+
onClick: e[0] || (e[0] = (E) => s.show = !s.show)
|
|
1329
1330
|
}, {
|
|
1330
1331
|
default: l(() => [...e[2] || (e[2] = [
|
|
1331
1332
|
y(" Ok ", -1)
|
|
@@ -1342,7 +1343,7 @@ function $t(t, e, n, r, i, o) {
|
|
|
1342
1343
|
_: 1
|
|
1343
1344
|
}, 8, ["modelValue", "width"]);
|
|
1344
1345
|
}
|
|
1345
|
-
const
|
|
1346
|
+
const ti = /* @__PURE__ */ K(Zt, [["render", ei]]), ii = {
|
|
1346
1347
|
components: {},
|
|
1347
1348
|
props: {
|
|
1348
1349
|
modelValue: {
|
|
@@ -1400,7 +1401,7 @@ const ei = /* @__PURE__ */ K(Yt, [["render", $t]]), ti = {
|
|
|
1400
1401
|
e.packet_name,
|
|
1401
1402
|
e.item_name,
|
|
1402
1403
|
"ALL"
|
|
1403
|
-
).then((
|
|
1404
|
+
).then((o) => {
|
|
1404
1405
|
this.overrides = [];
|
|
1405
1406
|
});
|
|
1406
1407
|
},
|
|
@@ -1411,47 +1412,47 @@ const ei = /* @__PURE__ */ K(Yt, [["render", $t]]), ti = {
|
|
|
1411
1412
|
t.item_name,
|
|
1412
1413
|
t.value_type
|
|
1413
1414
|
).then((e) => {
|
|
1414
|
-
let
|
|
1415
|
-
this.overrides.splice(
|
|
1415
|
+
let o = this.overrides.indexOf(t);
|
|
1416
|
+
this.overrides.splice(o, 1);
|
|
1416
1417
|
});
|
|
1417
1418
|
}
|
|
1418
1419
|
}
|
|
1419
|
-
},
|
|
1420
|
-
function
|
|
1421
|
-
const d = a("v-spacer"),
|
|
1420
|
+
}, si = { class: "pa-2" };
|
|
1421
|
+
function ni(t, e, o, r, i, s) {
|
|
1422
|
+
const d = a("v-spacer"), p = 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");
|
|
1422
1423
|
return S(), U(T, {
|
|
1423
|
-
modelValue:
|
|
1424
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1424
|
+
modelValue: s.show,
|
|
1425
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1425
1426
|
width: "1000"
|
|
1426
1427
|
}, {
|
|
1427
1428
|
default: l(() => [
|
|
1428
|
-
|
|
1429
|
+
n(E, null, {
|
|
1429
1430
|
default: l(() => [
|
|
1430
|
-
|
|
1431
|
+
n(p, { height: "24" }, {
|
|
1431
1432
|
default: l(() => [
|
|
1432
|
-
|
|
1433
|
+
n(d),
|
|
1433
1434
|
e[3] || (e[3] = x("span", null, "Overrides", -1)),
|
|
1434
|
-
|
|
1435
|
+
n(d)
|
|
1435
1436
|
]),
|
|
1436
1437
|
_: 1
|
|
1437
1438
|
}),
|
|
1438
|
-
x("div",
|
|
1439
|
-
|
|
1439
|
+
x("div", si, [
|
|
1440
|
+
n(w, null, {
|
|
1440
1441
|
default: l(() => [
|
|
1441
|
-
|
|
1442
|
+
n(k, { class: "ma-1" }, {
|
|
1442
1443
|
default: l(() => [
|
|
1443
|
-
|
|
1444
|
+
n(c, {
|
|
1444
1445
|
color: "primary",
|
|
1445
1446
|
"data-test": "overrides-dialog-clear-all",
|
|
1446
|
-
onClick:
|
|
1447
|
+
onClick: s.clearOverrides
|
|
1447
1448
|
}, {
|
|
1448
1449
|
default: l(() => [...e[4] || (e[4] = [
|
|
1449
1450
|
y(" Clear All Overrides ", -1)
|
|
1450
1451
|
])]),
|
|
1451
1452
|
_: 1
|
|
1452
1453
|
}, 8, ["onClick"]),
|
|
1453
|
-
|
|
1454
|
-
|
|
1454
|
+
n(d),
|
|
1455
|
+
n(b, {
|
|
1455
1456
|
modelValue: i.search,
|
|
1456
1457
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.search = _),
|
|
1457
1458
|
label: "Search",
|
|
@@ -1465,7 +1466,7 @@ function si(t, e, n, r, i, o) {
|
|
|
1465
1466
|
]),
|
|
1466
1467
|
_: 1
|
|
1467
1468
|
}),
|
|
1468
|
-
|
|
1469
|
+
n(V, {
|
|
1469
1470
|
headers: i.headers,
|
|
1470
1471
|
items: i.overrides,
|
|
1471
1472
|
search: i.search,
|
|
@@ -1474,11 +1475,11 @@ function si(t, e, n, r, i, o) {
|
|
|
1474
1475
|
density: "compact"
|
|
1475
1476
|
}, {
|
|
1476
1477
|
"item.delete": l(({ item: _ }) => [
|
|
1477
|
-
|
|
1478
|
+
n(c, {
|
|
1478
1479
|
icon: "mdi-delete",
|
|
1479
1480
|
variant: "text",
|
|
1480
1481
|
"aria-label": "Delete Override",
|
|
1481
|
-
onClick: (P) =>
|
|
1482
|
+
onClick: (P) => s.deleteOverride(_)
|
|
1482
1483
|
}, null, 8, ["onClick"])
|
|
1483
1484
|
]),
|
|
1484
1485
|
_: 1
|
|
@@ -1487,13 +1488,13 @@ function si(t, e, n, r, i, o) {
|
|
|
1487
1488
|
_: 1
|
|
1488
1489
|
})
|
|
1489
1490
|
]),
|
|
1490
|
-
|
|
1491
|
+
n(R, { class: "px-2" }, {
|
|
1491
1492
|
default: l(() => [
|
|
1492
|
-
|
|
1493
|
-
|
|
1493
|
+
n(d),
|
|
1494
|
+
n(c, {
|
|
1494
1495
|
variant: "flat",
|
|
1495
1496
|
"data-test": "overrides-dialog-ok",
|
|
1496
|
-
onClick: e[1] || (e[1] = (_) =>
|
|
1497
|
+
onClick: e[1] || (e[1] = (_) => s.show = !s.show)
|
|
1497
1498
|
}, {
|
|
1498
1499
|
default: l(() => [...e[5] || (e[5] = [
|
|
1499
1500
|
y(" Ok ", -1)
|
|
@@ -1510,7 +1511,7 @@ function si(t, e, n, r, i, o) {
|
|
|
1510
1511
|
_: 1
|
|
1511
1512
|
}, 8, ["modelValue"]);
|
|
1512
1513
|
}
|
|
1513
|
-
const
|
|
1514
|
+
const oi = /* @__PURE__ */ K(ii, [["render", ni]]), li = {
|
|
1514
1515
|
props: {
|
|
1515
1516
|
title: {
|
|
1516
1517
|
type: String,
|
|
@@ -1575,60 +1576,60 @@ const ni = /* @__PURE__ */ K(ti, [["render", si]]), oi = {
|
|
|
1575
1576
|
this.$emit("response", "Cancel");
|
|
1576
1577
|
}
|
|
1577
1578
|
}
|
|
1578
|
-
},
|
|
1579
|
-
function
|
|
1580
|
-
const d = a("v-spacer"),
|
|
1579
|
+
}, ri = ["textContent"], ai = { class: "pa-2" }, di = ["textContent"], ui = ["textContent"], ci = { key: 0 }, mi = { key: 1 };
|
|
1580
|
+
function pi(t, e, o, r, i, s) {
|
|
1581
|
+
const d = a("v-spacer"), p = 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");
|
|
1581
1582
|
return S(), U(T, {
|
|
1582
|
-
modelValue:
|
|
1583
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1583
|
+
modelValue: s.show,
|
|
1584
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1584
1585
|
persistent: "",
|
|
1585
1586
|
width: "600",
|
|
1586
|
-
onKeydown: Se(
|
|
1587
|
+
onKeydown: Se(s.cancelHandler, ["esc"])
|
|
1587
1588
|
}, {
|
|
1588
1589
|
default: l(() => [
|
|
1589
|
-
|
|
1590
|
+
n(E, null, {
|
|
1590
1591
|
default: l(() => [
|
|
1591
|
-
|
|
1592
|
+
n(p, { height: "24" }, {
|
|
1592
1593
|
default: l(() => [
|
|
1593
|
-
|
|
1594
|
+
n(d),
|
|
1594
1595
|
x("span", {
|
|
1595
1596
|
class: "text",
|
|
1596
|
-
textContent: L(
|
|
1597
|
-
}, null, 8,
|
|
1598
|
-
|
|
1597
|
+
textContent: L(o.title)
|
|
1598
|
+
}, null, 8, ri),
|
|
1599
|
+
n(d)
|
|
1599
1600
|
]),
|
|
1600
1601
|
_: 1
|
|
1601
1602
|
}),
|
|
1602
|
-
x("div",
|
|
1603
|
-
|
|
1603
|
+
x("div", ai, [
|
|
1604
|
+
n(k, { class: "text" }, {
|
|
1604
1605
|
default: l(() => [
|
|
1605
|
-
|
|
1606
|
+
o.subtitle ? (S(), U(b, { key: 0 }, {
|
|
1606
1607
|
default: l(() => [
|
|
1607
|
-
|
|
1608
|
+
n(c, null, {
|
|
1608
1609
|
default: l(() => [
|
|
1609
|
-
y(L(
|
|
1610
|
+
y(L(o.subtitle), 1)
|
|
1610
1611
|
]),
|
|
1611
1612
|
_: 1
|
|
1612
1613
|
})
|
|
1613
1614
|
]),
|
|
1614
1615
|
_: 1
|
|
1615
1616
|
})) : z("", !0),
|
|
1616
|
-
|
|
1617
|
+
n(b, { class: "mt-1" }, {
|
|
1617
1618
|
default: l(() => [
|
|
1618
1619
|
x("span", {
|
|
1619
|
-
textContent: L(
|
|
1620
|
-
}, null, 8,
|
|
1620
|
+
textContent: L(o.message)
|
|
1621
|
+
}, null, 8, di)
|
|
1621
1622
|
]),
|
|
1622
1623
|
_: 1
|
|
1623
1624
|
}),
|
|
1624
|
-
|
|
1625
|
+
o.details ? (S(), U(b, {
|
|
1625
1626
|
key: 1,
|
|
1626
1627
|
class: "mt-1"
|
|
1627
1628
|
}, {
|
|
1628
1629
|
default: l(() => [
|
|
1629
1630
|
x("span", {
|
|
1630
|
-
textContent: L(
|
|
1631
|
-
}, null, 8,
|
|
1631
|
+
textContent: L(o.details)
|
|
1632
|
+
}, null, 8, ui)
|
|
1632
1633
|
]),
|
|
1633
1634
|
_: 1
|
|
1634
1635
|
})) : z("", !0)
|
|
@@ -1636,10 +1637,10 @@ function mi(t, e, n, r, i, o) {
|
|
|
1636
1637
|
_: 1
|
|
1637
1638
|
})
|
|
1638
1639
|
]),
|
|
1639
|
-
|
|
1640
|
-
|
|
1640
|
+
o.layout === "combo" ? (S(), D("div", ci, [
|
|
1641
|
+
n(b, { class: "ma-2" }, {
|
|
1641
1642
|
default: l(() => [
|
|
1642
|
-
|
|
1643
|
+
n(V, {
|
|
1643
1644
|
modelValue: i.selectedItem,
|
|
1644
1645
|
"onUpdate:modelValue": [
|
|
1645
1646
|
e[0] || (e[0] = (_) => i.selectedItem = _),
|
|
@@ -1649,30 +1650,30 @@ function mi(t, e, n, r, i, o) {
|
|
|
1649
1650
|
color: "secondary",
|
|
1650
1651
|
class: "ma-1",
|
|
1651
1652
|
"data-test": "prompt-select",
|
|
1652
|
-
items:
|
|
1653
|
-
multiple:
|
|
1653
|
+
items: o.buttons,
|
|
1654
|
+
multiple: o.multiple === !0
|
|
1654
1655
|
}, null, 8, ["modelValue", "items", "multiple"])
|
|
1655
1656
|
]),
|
|
1656
1657
|
_: 1
|
|
1657
1658
|
}),
|
|
1658
|
-
|
|
1659
|
+
n(R, { class: "px-2" }, {
|
|
1659
1660
|
default: l(() => [
|
|
1660
|
-
|
|
1661
|
-
|
|
1661
|
+
n(d),
|
|
1662
|
+
n(w, {
|
|
1662
1663
|
variant: "outlined",
|
|
1663
1664
|
"data-test": "prompt-cancel",
|
|
1664
|
-
onClick:
|
|
1665
|
+
onClick: s.cancelHandler
|
|
1665
1666
|
}, {
|
|
1666
1667
|
default: l(() => [...e[3] || (e[3] = [
|
|
1667
1668
|
y(" Cancel ", -1)
|
|
1668
1669
|
])]),
|
|
1669
1670
|
_: 1
|
|
1670
1671
|
}, 8, ["onClick"]),
|
|
1671
|
-
|
|
1672
|
+
n(w, {
|
|
1672
1673
|
variant: "flat",
|
|
1673
1674
|
"data-test": "prompt-ok",
|
|
1674
1675
|
disabled: i.selectOkDisabled,
|
|
1675
|
-
onClick:
|
|
1676
|
+
onClick: s.submitHandler
|
|
1676
1677
|
}, {
|
|
1677
1678
|
default: l(() => [...e[4] || (e[4] = [
|
|
1678
1679
|
y(" Ok ", -1)
|
|
@@ -1682,27 +1683,27 @@ function mi(t, e, n, r, i, o) {
|
|
|
1682
1683
|
]),
|
|
1683
1684
|
_: 1
|
|
1684
1685
|
})
|
|
1685
|
-
])) : (S(), D("div",
|
|
1686
|
-
|
|
1687
|
-
class:
|
|
1686
|
+
])) : (S(), D("div", mi, [
|
|
1687
|
+
n(R, {
|
|
1688
|
+
class: Ke(s.layoutClass)
|
|
1688
1689
|
}, {
|
|
1689
1690
|
default: l(() => [
|
|
1690
|
-
|
|
1691
|
-
|
|
1691
|
+
n(d),
|
|
1692
|
+
n(w, {
|
|
1692
1693
|
variant: "outlined",
|
|
1693
1694
|
"data-test": "prompt-cancel",
|
|
1694
|
-
onClick:
|
|
1695
|
+
onClick: s.cancelHandler
|
|
1695
1696
|
}, {
|
|
1696
1697
|
default: l(() => [...e[5] || (e[5] = [
|
|
1697
1698
|
y(" Cancel ", -1)
|
|
1698
1699
|
])]),
|
|
1699
1700
|
_: 1
|
|
1700
1701
|
}, 8, ["onClick"]),
|
|
1701
|
-
(S(!0), D(ge, null,
|
|
1702
|
-
|
|
1702
|
+
(S(!0), D(ge, null, je(o.buttons, (_, P) => (S(), D("div", { key: P }, [
|
|
1703
|
+
n(w, {
|
|
1703
1704
|
variant: "flat",
|
|
1704
1705
|
"data-test": `prompt-${_.text}`,
|
|
1705
|
-
onClick: (G) =>
|
|
1706
|
+
onClick: (G) => s.submitWrapper(_.value)
|
|
1706
1707
|
}, {
|
|
1707
1708
|
default: l(() => [
|
|
1708
1709
|
y(L(_.text), 1)
|
|
@@ -1721,7 +1722,7 @@ function mi(t, e, n, r, i, o) {
|
|
|
1721
1722
|
_: 1
|
|
1722
1723
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1723
1724
|
}
|
|
1724
|
-
const
|
|
1725
|
+
const hi = /* @__PURE__ */ K(li, [["render", pi], ["__scopeId", "data-v-97ffc307"]]), fi = {
|
|
1725
1726
|
components: {},
|
|
1726
1727
|
props: {
|
|
1727
1728
|
modelValue: {
|
|
@@ -1759,56 +1760,56 @@ const pi = /* @__PURE__ */ K(oi, [["render", mi], ["__scopeId", "data-v-97ffc307
|
|
|
1759
1760
|
), e.click();
|
|
1760
1761
|
}
|
|
1761
1762
|
}
|
|
1762
|
-
},
|
|
1763
|
-
function
|
|
1764
|
-
const d = a("v-spacer"),
|
|
1763
|
+
}, gi = { class: "pa-2" };
|
|
1764
|
+
function vi(t, e, o, r, i, s) {
|
|
1765
|
+
const d = a("v-spacer"), p = 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");
|
|
1765
1766
|
return S(), U(R, {
|
|
1766
|
-
modelValue:
|
|
1767
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1767
|
+
modelValue: s.show,
|
|
1768
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => s.show = E),
|
|
1768
1769
|
scrollable: "",
|
|
1769
1770
|
width: "800"
|
|
1770
1771
|
}, {
|
|
1771
1772
|
default: l(() => [
|
|
1772
|
-
|
|
1773
|
+
n(w, null, {
|
|
1773
1774
|
default: l(() => [
|
|
1774
|
-
|
|
1775
|
+
n(p, { height: "24" }, {
|
|
1775
1776
|
default: l(() => [
|
|
1776
|
-
|
|
1777
|
+
n(d),
|
|
1777
1778
|
e[2] || (e[2] = x("span", null, " Script Results ", -1)),
|
|
1778
|
-
|
|
1779
|
+
n(d)
|
|
1779
1780
|
]),
|
|
1780
1781
|
_: 1
|
|
1781
1782
|
}),
|
|
1782
|
-
x("div",
|
|
1783
|
-
|
|
1783
|
+
x("div", gi, [
|
|
1784
|
+
n(b, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1784
1785
|
default: l(() => [
|
|
1785
|
-
|
|
1786
|
+
n(c, {
|
|
1786
1787
|
readonly: "",
|
|
1787
1788
|
"hide-details": "",
|
|
1788
1789
|
density: "compact",
|
|
1789
1790
|
"auto-grow": "",
|
|
1790
|
-
"model-value":
|
|
1791
|
+
"model-value": o.text
|
|
1791
1792
|
}, null, 8, ["model-value"])
|
|
1792
1793
|
]),
|
|
1793
1794
|
_: 1
|
|
1794
1795
|
})
|
|
1795
1796
|
]),
|
|
1796
|
-
|
|
1797
|
+
n(V, { class: "px-2" }, {
|
|
1797
1798
|
default: l(() => [
|
|
1798
|
-
|
|
1799
|
-
|
|
1799
|
+
n(d),
|
|
1800
|
+
n(k, {
|
|
1800
1801
|
variant: "outlined",
|
|
1801
|
-
onClick:
|
|
1802
|
+
onClick: s.downloadResults
|
|
1802
1803
|
}, {
|
|
1803
1804
|
default: l(() => [...e[3] || (e[3] = [
|
|
1804
1805
|
y(" Download ", -1)
|
|
1805
1806
|
])]),
|
|
1806
1807
|
_: 1
|
|
1807
1808
|
}, 8, ["onClick"]),
|
|
1808
|
-
|
|
1809
|
+
n(k, {
|
|
1809
1810
|
ref: "okButton",
|
|
1810
1811
|
variant: "flat",
|
|
1811
|
-
onClick: e[0] || (e[0] = (E) =>
|
|
1812
|
+
onClick: e[0] || (e[0] = (E) => s.show = !s.show)
|
|
1812
1813
|
}, {
|
|
1813
1814
|
default: l(() => [...e[4] || (e[4] = [
|
|
1814
1815
|
y(" Ok ", -1)
|
|
@@ -1825,9 +1826,9 @@ function gi(t, e, n, r, i, o) {
|
|
|
1825
1826
|
_: 1
|
|
1826
1827
|
}, 8, ["modelValue"]);
|
|
1827
1828
|
}
|
|
1828
|
-
const
|
|
1829
|
+
const _i = /* @__PURE__ */ K(fi, [["render", vi]]), bi = {
|
|
1829
1830
|
components: {
|
|
1830
|
-
EnvironmentChooser:
|
|
1831
|
+
EnvironmentChooser: bt
|
|
1831
1832
|
},
|
|
1832
1833
|
props: {
|
|
1833
1834
|
modelValue: {
|
|
@@ -1868,31 +1869,31 @@ const vi = /* @__PURE__ */ K(hi, [["render", gi]]), _i = {
|
|
|
1868
1869
|
this.show = !this.show;
|
|
1869
1870
|
}
|
|
1870
1871
|
}
|
|
1871
|
-
},
|
|
1872
|
-
function
|
|
1873
|
-
const d = a("v-spacer"),
|
|
1872
|
+
}, wi = { class: "pa-2" };
|
|
1873
|
+
function yi(t, e, o, r, i, s) {
|
|
1874
|
+
const d = a("v-spacer"), p = 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");
|
|
1874
1875
|
return S(), U(R, {
|
|
1875
|
-
modelValue:
|
|
1876
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1876
|
+
modelValue: s.show,
|
|
1877
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => s.show = E),
|
|
1877
1878
|
persistent: "",
|
|
1878
1879
|
width: "600",
|
|
1879
|
-
onKeydown: Se(
|
|
1880
|
+
onKeydown: Se(s.cancel, ["esc"])
|
|
1880
1881
|
}, {
|
|
1881
1882
|
default: l(() => [
|
|
1882
|
-
|
|
1883
|
+
n(w, null, {
|
|
1883
1884
|
default: l(() => [
|
|
1884
|
-
|
|
1885
|
+
n(p, { height: "24" }, {
|
|
1885
1886
|
default: l(() => [
|
|
1886
|
-
|
|
1887
|
+
n(d),
|
|
1887
1888
|
e[2] || (e[2] = x("span", null, "Script Environment Variables", -1)),
|
|
1888
|
-
|
|
1889
|
+
n(d)
|
|
1889
1890
|
]),
|
|
1890
1891
|
_: 1
|
|
1891
1892
|
}),
|
|
1892
|
-
x("div",
|
|
1893
|
-
|
|
1893
|
+
x("div", wi, [
|
|
1894
|
+
n(b, null, {
|
|
1894
1895
|
default: l(() => [
|
|
1895
|
-
|
|
1896
|
+
n(c, {
|
|
1896
1897
|
modelValue: i.selected,
|
|
1897
1898
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.selected = E)
|
|
1898
1899
|
}, null, 8, ["modelValue"])
|
|
@@ -1900,24 +1901,24 @@ function wi(t, e, n, r, i, o) {
|
|
|
1900
1901
|
_: 1
|
|
1901
1902
|
})
|
|
1902
1903
|
]),
|
|
1903
|
-
|
|
1904
|
+
n(V, { class: "px-2" }, {
|
|
1904
1905
|
default: l(() => [
|
|
1905
|
-
|
|
1906
|
-
|
|
1906
|
+
n(d),
|
|
1907
|
+
n(k, {
|
|
1907
1908
|
variant: "outlined",
|
|
1908
1909
|
"data-test": "environment-dialog-cancel",
|
|
1909
|
-
onClick:
|
|
1910
|
+
onClick: s.cancel
|
|
1910
1911
|
}, {
|
|
1911
1912
|
default: l(() => [...e[3] || (e[3] = [
|
|
1912
1913
|
y(" Cancel ", -1)
|
|
1913
1914
|
])]),
|
|
1914
1915
|
_: 1
|
|
1915
1916
|
}, 8, ["onClick"]),
|
|
1916
|
-
|
|
1917
|
+
n(k, {
|
|
1917
1918
|
variant: "flat",
|
|
1918
1919
|
"data-test": "environment-dialog-save",
|
|
1919
1920
|
disabled: !!t.inputError,
|
|
1920
|
-
onClick:
|
|
1921
|
+
onClick: s.updateEnvironment
|
|
1921
1922
|
}, {
|
|
1922
1923
|
default: l(() => [...e[4] || (e[4] = [
|
|
1923
1924
|
y(" Save ", -1)
|
|
@@ -1934,7 +1935,7 @@ function wi(t, e, n, r, i, o) {
|
|
|
1934
1935
|
_: 1
|
|
1935
1936
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1936
1937
|
}
|
|
1937
|
-
const
|
|
1938
|
+
const ki = /* @__PURE__ */ K(bi, [["render", yi]]), Si = {
|
|
1938
1939
|
props: {
|
|
1939
1940
|
suiteMap: {
|
|
1940
1941
|
type: Object,
|
|
@@ -2019,29 +2020,29 @@ const yi = /* @__PURE__ */ K(_i, [["render", wi]]), ki = {
|
|
|
2019
2020
|
this.script = t;
|
|
2020
2021
|
}
|
|
2021
2022
|
}
|
|
2022
|
-
},
|
|
2023
|
-
function
|
|
2024
|
-
const d = a("v-checkbox"),
|
|
2023
|
+
}, xi = { id: "tr-container" };
|
|
2024
|
+
function Ci(t, e, o, r, i, s) {
|
|
2025
|
+
const d = a("v-checkbox"), p = a("v-tooltip"), c = a("v-col"), b = a("v-row"), k = a("v-select"), V = a("v-btn");
|
|
2025
2026
|
return S(), D("div", null, [
|
|
2026
|
-
x("div",
|
|
2027
|
-
|
|
2027
|
+
x("div", xi, [
|
|
2028
|
+
n(b, {
|
|
2028
2029
|
"no-gutters": "",
|
|
2029
2030
|
align: "center"
|
|
2030
2031
|
}, {
|
|
2031
2032
|
default: l(() => [
|
|
2032
|
-
|
|
2033
|
+
n(c, { cols: "4" }, {
|
|
2033
2034
|
default: l(() => [
|
|
2034
|
-
|
|
2035
|
+
n(b, { "no-gutters": "" }, {
|
|
2035
2036
|
default: l(() => [
|
|
2036
|
-
|
|
2037
|
+
n(c, { cols: "6" }, {
|
|
2037
2038
|
default: l(() => [
|
|
2038
|
-
|
|
2039
|
+
n(p, {
|
|
2039
2040
|
"open-delay": 600,
|
|
2040
2041
|
location: "top"
|
|
2041
2042
|
}, {
|
|
2042
2043
|
activator: l(({ props: w }) => [
|
|
2043
2044
|
x("div", le(re(w)), [
|
|
2044
|
-
|
|
2045
|
+
n(d, {
|
|
2045
2046
|
modelValue: i.options,
|
|
2046
2047
|
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
|
|
2047
2048
|
label: "Pause on Error",
|
|
@@ -2063,15 +2064,15 @@ function xi(t, e, n, r, i, o) {
|
|
|
2063
2064
|
]),
|
|
2064
2065
|
_: 1
|
|
2065
2066
|
}),
|
|
2066
|
-
|
|
2067
|
+
n(c, { cols: "6" }, {
|
|
2067
2068
|
default: l(() => [
|
|
2068
|
-
|
|
2069
|
+
n(p, {
|
|
2069
2070
|
"open-delay": 600,
|
|
2070
2071
|
location: "top"
|
|
2071
2072
|
}, {
|
|
2072
2073
|
activator: l(({ props: w }) => [
|
|
2073
2074
|
x("div", le(re(w)), [
|
|
2074
|
-
|
|
2075
|
+
n(d, {
|
|
2075
2076
|
modelValue: i.options,
|
|
2076
2077
|
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
|
|
2077
2078
|
label: "Manual",
|
|
@@ -2083,9 +2084,9 @@ function xi(t, e, n, r, i, o) {
|
|
|
2083
2084
|
]),
|
|
2084
2085
|
default: l(() => [
|
|
2085
2086
|
x("span", null, [
|
|
2086
|
-
y(L(
|
|
2087
|
+
y(L(s.checkedManualTooltip), 1),
|
|
2087
2088
|
e[17] || (e[17] = x("br", null, null, -1)),
|
|
2088
|
-
y(" " + L(
|
|
2089
|
+
y(" " + L(s.uncheckedManualTooltip), 1)
|
|
2089
2090
|
])
|
|
2090
2091
|
]),
|
|
2091
2092
|
_: 1
|
|
@@ -2099,20 +2100,20 @@ function xi(t, e, n, r, i, o) {
|
|
|
2099
2100
|
]),
|
|
2100
2101
|
_: 1
|
|
2101
2102
|
}),
|
|
2102
|
-
|
|
2103
|
+
n(c, { cols: "8" }, {
|
|
2103
2104
|
default: l(() => [
|
|
2104
|
-
|
|
2105
|
+
n(b, {
|
|
2105
2106
|
"no-gutters": "",
|
|
2106
2107
|
justify: "end"
|
|
2107
2108
|
}, {
|
|
2108
2109
|
default: l(() => [
|
|
2109
|
-
|
|
2110
|
+
n(c, { cols: "5" }, {
|
|
2110
2111
|
default: l(() => [
|
|
2111
|
-
|
|
2112
|
+
n(k, {
|
|
2112
2113
|
modelValue: i.suite,
|
|
2113
2114
|
"onUpdate:modelValue": [
|
|
2114
2115
|
e[2] || (e[2] = (w) => i.suite = w),
|
|
2115
|
-
|
|
2116
|
+
s.suiteChanged
|
|
2116
2117
|
],
|
|
2117
2118
|
label: "Suite:",
|
|
2118
2119
|
class: "mb-2 mr-2",
|
|
@@ -2125,12 +2126,12 @@ function xi(t, e, n, r, i, o) {
|
|
|
2125
2126
|
]),
|
|
2126
2127
|
_: 1
|
|
2127
2128
|
}),
|
|
2128
|
-
|
|
2129
|
+
n(c, { cols: "auto" }, {
|
|
2129
2130
|
default: l(() => [
|
|
2130
|
-
|
|
2131
|
+
n(V, {
|
|
2131
2132
|
color: "primary",
|
|
2132
2133
|
class: "mr-2",
|
|
2133
|
-
disabled:
|
|
2134
|
+
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2134
2135
|
"data-test": "start-suite",
|
|
2135
2136
|
onClick: e[3] || (e[3] = (w) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2136
2137
|
}, {
|
|
@@ -2139,11 +2140,11 @@ function xi(t, e, n, r, i, o) {
|
|
|
2139
2140
|
])]),
|
|
2140
2141
|
_: 1
|
|
2141
2142
|
}, 8, ["disabled"]),
|
|
2142
|
-
|
|
2143
|
+
n(V, {
|
|
2143
2144
|
color: "primary",
|
|
2144
2145
|
class: "mr-2",
|
|
2145
2146
|
"data-test": "setup-suite",
|
|
2146
|
-
disabled:
|
|
2147
|
+
disabled: o.disableButtons || !s.setupSuiteEnabled || !i.userInfo.execute,
|
|
2147
2148
|
onClick: e[4] || (e[4] = (w) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2148
2149
|
}, {
|
|
2149
2150
|
default: l(() => [...e[19] || (e[19] = [
|
|
@@ -2151,10 +2152,10 @@ function xi(t, e, n, r, i, o) {
|
|
|
2151
2152
|
])]),
|
|
2152
2153
|
_: 1
|
|
2153
2154
|
}, 8, ["disabled"]),
|
|
2154
|
-
|
|
2155
|
+
n(V, {
|
|
2155
2156
|
color: "primary",
|
|
2156
2157
|
"data-test": "teardown-suite",
|
|
2157
|
-
disabled:
|
|
2158
|
+
disabled: o.disableButtons || !s.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2158
2159
|
onClick: e[5] || (e[5] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2159
2160
|
}, {
|
|
2160
2161
|
default: l(() => [...e[20] || (e[20] = [
|
|
@@ -2174,21 +2175,21 @@ function xi(t, e, n, r, i, o) {
|
|
|
2174
2175
|
]),
|
|
2175
2176
|
_: 1
|
|
2176
2177
|
}),
|
|
2177
|
-
|
|
2178
|
+
n(b, { "no-gutters": "" }, {
|
|
2178
2179
|
default: l(() => [
|
|
2179
|
-
|
|
2180
|
+
n(c, { cols: "4" }, {
|
|
2180
2181
|
default: l(() => [
|
|
2181
|
-
|
|
2182
|
+
n(b, { "no-gutters": "" }, {
|
|
2182
2183
|
default: l(() => [
|
|
2183
|
-
|
|
2184
|
+
n(c, { cols: "6" }, {
|
|
2184
2185
|
default: l(() => [
|
|
2185
|
-
|
|
2186
|
+
n(p, {
|
|
2186
2187
|
"open-delay": 600,
|
|
2187
2188
|
location: "top"
|
|
2188
2189
|
}, {
|
|
2189
2190
|
activator: l(({ props: w }) => [
|
|
2190
2191
|
x("div", le(re(w)), [
|
|
2191
|
-
|
|
2192
|
+
n(d, {
|
|
2192
2193
|
modelValue: i.options,
|
|
2193
2194
|
"onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
|
|
2194
2195
|
label: "Continue after Error",
|
|
@@ -2210,15 +2211,15 @@ function xi(t, e, n, r, i, o) {
|
|
|
2210
2211
|
]),
|
|
2211
2212
|
_: 1
|
|
2212
2213
|
}),
|
|
2213
|
-
|
|
2214
|
+
n(c, { cols: "6" }, {
|
|
2214
2215
|
default: l(() => [
|
|
2215
|
-
|
|
2216
|
+
n(p, {
|
|
2216
2217
|
"open-delay": 600,
|
|
2217
2218
|
location: "top"
|
|
2218
2219
|
}, {
|
|
2219
2220
|
activator: l(({ props: w }) => [
|
|
2220
2221
|
x("div", le(re(w)), [
|
|
2221
|
-
|
|
2222
|
+
n(d, {
|
|
2222
2223
|
modelValue: i.options,
|
|
2223
2224
|
"onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
|
|
2224
2225
|
label: "Loop",
|
|
@@ -2246,20 +2247,20 @@ function xi(t, e, n, r, i, o) {
|
|
|
2246
2247
|
]),
|
|
2247
2248
|
_: 1
|
|
2248
2249
|
}),
|
|
2249
|
-
|
|
2250
|
+
n(c, { cols: "8" }, {
|
|
2250
2251
|
default: l(() => [
|
|
2251
|
-
|
|
2252
|
+
n(b, {
|
|
2252
2253
|
"no-gutters": "",
|
|
2253
2254
|
justify: "end"
|
|
2254
2255
|
}, {
|
|
2255
2256
|
default: l(() => [
|
|
2256
|
-
|
|
2257
|
+
n(c, { cols: "5" }, {
|
|
2257
2258
|
default: l(() => [
|
|
2258
|
-
|
|
2259
|
+
n(k, {
|
|
2259
2260
|
modelValue: i.group,
|
|
2260
2261
|
"onUpdate:modelValue": [
|
|
2261
2262
|
e[8] || (e[8] = (w) => i.group = w),
|
|
2262
|
-
|
|
2263
|
+
s.groupChanged
|
|
2263
2264
|
],
|
|
2264
2265
|
label: "Group:",
|
|
2265
2266
|
class: "mb-2 mr-2",
|
|
@@ -2272,12 +2273,12 @@ function xi(t, e, n, r, i, o) {
|
|
|
2272
2273
|
]),
|
|
2273
2274
|
_: 1
|
|
2274
2275
|
}),
|
|
2275
|
-
|
|
2276
|
+
n(c, { cols: "auto" }, {
|
|
2276
2277
|
default: l(() => [
|
|
2277
|
-
|
|
2278
|
+
n(V, {
|
|
2278
2279
|
color: "primary",
|
|
2279
2280
|
class: "mr-2",
|
|
2280
|
-
disabled:
|
|
2281
|
+
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2281
2282
|
"data-test": "start-group",
|
|
2282
2283
|
onClick: e[9] || (e[9] = (w) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2283
2284
|
}, {
|
|
@@ -2286,11 +2287,11 @@ function xi(t, e, n, r, i, o) {
|
|
|
2286
2287
|
])]),
|
|
2287
2288
|
_: 1
|
|
2288
2289
|
}, 8, ["disabled"]),
|
|
2289
|
-
|
|
2290
|
+
n(V, {
|
|
2290
2291
|
color: "primary",
|
|
2291
2292
|
class: "mr-2",
|
|
2292
2293
|
"data-test": "setup-group",
|
|
2293
|
-
disabled:
|
|
2294
|
+
disabled: o.disableButtons || !s.setupGroupEnabled || !i.userInfo.execute,
|
|
2294
2295
|
onClick: e[10] || (e[10] = (w) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2295
2296
|
}, {
|
|
2296
2297
|
default: l(() => [...e[24] || (e[24] = [
|
|
@@ -2298,10 +2299,10 @@ function xi(t, e, n, r, i, o) {
|
|
|
2298
2299
|
])]),
|
|
2299
2300
|
_: 1
|
|
2300
2301
|
}, 8, ["disabled"]),
|
|
2301
|
-
|
|
2302
|
+
n(V, {
|
|
2302
2303
|
color: "primary",
|
|
2303
2304
|
"data-test": "teardown-group",
|
|
2304
|
-
disabled:
|
|
2305
|
+
disabled: o.disableButtons || !s.teardownGroupEnabled || !i.userInfo.execute,
|
|
2305
2306
|
onClick: e[11] || (e[11] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2306
2307
|
}, {
|
|
2307
2308
|
default: l(() => [...e[25] || (e[25] = [
|
|
@@ -2321,21 +2322,21 @@ function xi(t, e, n, r, i, o) {
|
|
|
2321
2322
|
]),
|
|
2322
2323
|
_: 1
|
|
2323
2324
|
}),
|
|
2324
|
-
|
|
2325
|
+
n(b, { "no-gutters": "" }, {
|
|
2325
2326
|
default: l(() => [
|
|
2326
|
-
|
|
2327
|
+
n(c, { cols: "4" }, {
|
|
2327
2328
|
default: l(() => [
|
|
2328
|
-
|
|
2329
|
+
n(b, { "no-gutters": "" }, {
|
|
2329
2330
|
default: l(() => [
|
|
2330
|
-
|
|
2331
|
+
n(c, { cols: "6" }, {
|
|
2331
2332
|
default: l(() => [
|
|
2332
|
-
|
|
2333
|
+
n(p, {
|
|
2333
2334
|
"open-delay": 600,
|
|
2334
2335
|
location: "top"
|
|
2335
2336
|
}, {
|
|
2336
2337
|
activator: l(({ props: w }) => [
|
|
2337
2338
|
x("div", le(re(w)), [
|
|
2338
|
-
|
|
2339
|
+
n(d, {
|
|
2339
2340
|
modelValue: i.options,
|
|
2340
2341
|
"onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
|
|
2341
2342
|
label: "Abort after Error",
|
|
@@ -2357,15 +2358,15 @@ function xi(t, e, n, r, i, o) {
|
|
|
2357
2358
|
]),
|
|
2358
2359
|
_: 1
|
|
2359
2360
|
}),
|
|
2360
|
-
|
|
2361
|
+
n(c, { cols: "6" }, {
|
|
2361
2362
|
default: l(() => [
|
|
2362
|
-
|
|
2363
|
+
n(p, {
|
|
2363
2364
|
"open-delay": 600,
|
|
2364
2365
|
location: "top"
|
|
2365
2366
|
}, {
|
|
2366
2367
|
activator: l(({ props: w }) => [
|
|
2367
2368
|
x("div", le(re(w)), [
|
|
2368
|
-
|
|
2369
|
+
n(d, {
|
|
2369
2370
|
modelValue: i.options,
|
|
2370
2371
|
"onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
|
|
2371
2372
|
disabled: !i.options.includes("loop"),
|
|
@@ -2396,27 +2397,27 @@ function xi(t, e, n, r, i, o) {
|
|
|
2396
2397
|
]),
|
|
2397
2398
|
_: 1
|
|
2398
2399
|
}),
|
|
2399
|
-
|
|
2400
|
+
n(c, { cols: "8" }, {
|
|
2400
2401
|
default: l(() => [
|
|
2401
|
-
|
|
2402
|
+
n(b, {
|
|
2402
2403
|
"no-gutters": "",
|
|
2403
2404
|
justify: "end"
|
|
2404
2405
|
}, {
|
|
2405
2406
|
default: l(() => [
|
|
2406
|
-
|
|
2407
|
+
n(c, { cols: "5" }, {
|
|
2407
2408
|
default: l(() => [
|
|
2408
|
-
|
|
2409
|
+
n(k, {
|
|
2409
2410
|
modelValue: i.script,
|
|
2410
2411
|
"onUpdate:modelValue": [
|
|
2411
2412
|
e[14] || (e[14] = (w) => i.script = w),
|
|
2412
|
-
|
|
2413
|
+
s.scriptChanged
|
|
2413
2414
|
],
|
|
2414
2415
|
label: "Script:",
|
|
2415
2416
|
class: "mb-2 mr-2",
|
|
2416
2417
|
"hide-details": "",
|
|
2417
2418
|
density: "compact",
|
|
2418
2419
|
variant: "outlined",
|
|
2419
|
-
items:
|
|
2420
|
+
items: s.scriptNames,
|
|
2420
2421
|
"item-title": "title",
|
|
2421
2422
|
"item-value": "value",
|
|
2422
2423
|
"data-test": "select-script"
|
|
@@ -2424,12 +2425,12 @@ function xi(t, e, n, r, i, o) {
|
|
|
2424
2425
|
]),
|
|
2425
2426
|
_: 1
|
|
2426
2427
|
}),
|
|
2427
|
-
|
|
2428
|
+
n(c, { cols: "auto" }, {
|
|
2428
2429
|
default: l(() => [
|
|
2429
|
-
|
|
2430
|
+
n(V, {
|
|
2430
2431
|
color: "primary",
|
|
2431
2432
|
class: "mr-2",
|
|
2432
|
-
disabled:
|
|
2433
|
+
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2433
2434
|
"data-test": "start-script",
|
|
2434
2435
|
onClick: e[15] || (e[15] = (w) => t.$emit("button", {
|
|
2435
2436
|
method: "start",
|
|
@@ -2444,7 +2445,7 @@ function xi(t, e, n, r, i, o) {
|
|
|
2444
2445
|
])]),
|
|
2445
2446
|
_: 1
|
|
2446
2447
|
}, 8, ["disabled"]),
|
|
2447
|
-
|
|
2448
|
+
n(V, {
|
|
2448
2449
|
color: "primary",
|
|
2449
2450
|
class: "mr-2 invisible"
|
|
2450
2451
|
}, {
|
|
@@ -2453,7 +2454,7 @@ function xi(t, e, n, r, i, o) {
|
|
|
2453
2454
|
])]),
|
|
2454
2455
|
_: 1
|
|
2455
2456
|
}),
|
|
2456
|
-
|
|
2457
|
+
n(V, {
|
|
2457
2458
|
color: "primary",
|
|
2458
2459
|
class: "invisible"
|
|
2459
2460
|
}, {
|
|
@@ -2477,30 +2478,30 @@ function xi(t, e, n, r, i, o) {
|
|
|
2477
2478
|
])
|
|
2478
2479
|
]);
|
|
2479
2480
|
}
|
|
2480
|
-
const
|
|
2481
|
+
const Vi = /* @__PURE__ */ K(Si, [["render", Ci], ["__scopeId", "data-v-6be22c34"]]), qe = (t) => O.get(`/openc3-api/autocomplete/keywords/${t}`), Ei = (t) => O.get(`/openc3-api/autocomplete/data/${t}`), Ze = (t, e) => t.reduce((o, r) => {
|
|
2481
2482
|
const i = e(r);
|
|
2482
|
-
return
|
|
2483
|
-
}, {}),
|
|
2484
|
-
const e = "(^|[{\\(\\s])",
|
|
2485
|
-
return new RegExp(`${e}${t}${
|
|
2483
|
+
return o[i] ? o[i].push(r) : o[i] = [r], o;
|
|
2484
|
+
}, {}), Ri = (t) => {
|
|
2485
|
+
const e = "(^|[{\\(\\s])", o = `[\\s\\(]f?['"]`, r = "(\\S+\\s?){0,3}";
|
|
2486
|
+
return new RegExp(`${e}${t}${o}${r}$`);
|
|
2486
2487
|
};
|
|
2487
2488
|
class tt {
|
|
2488
|
-
constructor(e,
|
|
2489
|
+
constructor(e, o = () => {
|
|
2489
2490
|
}, r = () => {
|
|
2490
2491
|
}) {
|
|
2491
2492
|
this.keywordExpressions = [], this.autocompleteData = [], qe(e).then((i) => {
|
|
2492
|
-
this.keywordExpressions = i.data.map(
|
|
2493
|
-
}),
|
|
2494
|
-
this.autocompleteData = i.data,
|
|
2493
|
+
this.keywordExpressions = i.data.map(Ri), r();
|
|
2494
|
+
}), Ei(e).then((i) => {
|
|
2495
|
+
this.autocompleteData = i.data, o();
|
|
2495
2496
|
});
|
|
2496
2497
|
}
|
|
2497
|
-
getCompletions(e,
|
|
2498
|
+
getCompletions(e, o, r, i, s) {
|
|
2498
2499
|
let d = [];
|
|
2499
|
-
const
|
|
2500
|
+
const p = o.doc.$lines[r.row].slice(
|
|
2500
2501
|
0,
|
|
2501
2502
|
r.column
|
|
2502
2503
|
);
|
|
2503
|
-
this.keywordExpressions.some((c) =>
|
|
2504
|
+
this.keywordExpressions.some((c) => p.match(c)) && (d = this.autocompleteData), s(null, [
|
|
2504
2505
|
...d
|
|
2505
2506
|
// Uncomment to also return the built-in autocomplete words (but I found they're not very good and just get in the way when using live autocomplete)
|
|
2506
2507
|
// ...session.$mode.$highlightRules.$keywordList.map((word) => ({
|
|
@@ -2511,21 +2512,21 @@ class tt {
|
|
|
2511
2512
|
]);
|
|
2512
2513
|
}
|
|
2513
2514
|
}
|
|
2514
|
-
class
|
|
2515
|
+
class Oi extends tt {
|
|
2515
2516
|
constructor() {
|
|
2516
2517
|
super("cmd");
|
|
2517
2518
|
}
|
|
2518
2519
|
}
|
|
2519
|
-
class
|
|
2520
|
+
class Mi extends tt {
|
|
2520
2521
|
constructor() {
|
|
2521
2522
|
super("tlm", () => {
|
|
2522
|
-
this.groupedPacketData = this.autocompleteData.reduce((e,
|
|
2523
|
-
const r =
|
|
2523
|
+
this.groupedPacketData = this.autocompleteData.reduce((e, o) => {
|
|
2524
|
+
const r = o.caption.match(/\S+\s\S+/)[0], i = o.snippet.replace(`${r} `, ""), s = {
|
|
2524
2525
|
caption: i,
|
|
2525
2526
|
snippet: i,
|
|
2526
2527
|
meta: "item"
|
|
2527
2528
|
};
|
|
2528
|
-
return e[r] ? e[r].push(
|
|
2529
|
+
return e[r] ? e[r].push(s) : e[r] = [s], e;
|
|
2529
2530
|
}, {}), this.packets = Object.keys(this.groupedPacketData).map((e) => ({
|
|
2530
2531
|
caption: e,
|
|
2531
2532
|
snippet: e,
|
|
@@ -2534,59 +2535,59 @@ class Oi extends tt {
|
|
|
2534
2535
|
});
|
|
2535
2536
|
}
|
|
2536
2537
|
// Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
|
|
2537
|
-
getCompletions(e,
|
|
2538
|
+
getCompletions(e, o, r, i, s) {
|
|
2538
2539
|
let d = [];
|
|
2539
|
-
const
|
|
2540
|
+
const p = o.doc.$lines[r.row].slice(
|
|
2540
2541
|
0,
|
|
2541
2542
|
r.column
|
|
2542
2543
|
);
|
|
2543
|
-
if (this.keywordExpressions.some((c) =>
|
|
2544
|
+
if (this.keywordExpressions.some((c) => p.match(c))) {
|
|
2544
2545
|
const c = Object.keys(this.groupedPacketData).find(
|
|
2545
|
-
(b) =>
|
|
2546
|
+
(b) => p.includes(b)
|
|
2546
2547
|
);
|
|
2547
2548
|
c ? d = this.groupedPacketData[c] : d = this.packets;
|
|
2548
2549
|
}
|
|
2549
|
-
|
|
2550
|
+
s(null, d);
|
|
2550
2551
|
}
|
|
2551
2552
|
}
|
|
2552
|
-
const
|
|
2553
|
-
const e = "(^|[{\\(\\s])",
|
|
2554
|
-
return new RegExp(`${e}${t}${
|
|
2555
|
-
},
|
|
2556
|
-
class
|
|
2553
|
+
const Xe = (t) => {
|
|
2554
|
+
const e = "(^|[{\\(\\s])", o = "((\\s.+)|(\\(.+\\)))";
|
|
2555
|
+
return new RegExp(`${e}${t}${o}`);
|
|
2556
|
+
}, Ti = /\{/, Ii = /['"],\s?['"]/;
|
|
2557
|
+
class Ui {
|
|
2557
2558
|
constructor() {
|
|
2558
2559
|
this.api = new Ie(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
2559
|
-
e.forEach((
|
|
2560
|
-
this.targets[
|
|
2560
|
+
e.forEach((o) => {
|
|
2561
|
+
this.targets[o] = {
|
|
2561
2562
|
cmd: null,
|
|
2562
2563
|
tlm: null
|
|
2563
2564
|
};
|
|
2564
2565
|
});
|
|
2565
2566
|
}), this.cmdKeywordExpressions = [], qe("cmd").then((e) => {
|
|
2566
|
-
this.cmdKeywordExpressions = e.data.map(
|
|
2567
|
+
this.cmdKeywordExpressions = e.data.map(Xe);
|
|
2567
2568
|
}), this.tlmKeywordExpressions = [], qe("tlm").then((e) => {
|
|
2568
|
-
this.tlmKeywordExpressions = e.data.map(
|
|
2569
|
+
this.tlmKeywordExpressions = e.data.map(Xe);
|
|
2569
2570
|
});
|
|
2570
2571
|
}
|
|
2571
2572
|
async checkText(e) {
|
|
2572
|
-
const { linesToCheck:
|
|
2573
|
+
const { linesToCheck: o, linesToSkip: r } = e.split(`
|
|
2573
2574
|
`).reduce(
|
|
2574
|
-
(
|
|
2575
|
+
(s, d, p) => {
|
|
2575
2576
|
if (d = d.trim(), d.match(/^#/))
|
|
2576
|
-
return
|
|
2577
|
+
return s;
|
|
2577
2578
|
const c = this.cmdKeywordExpressions.reduce((_, P) => _ || d.match(P), null), b = this.tlmKeywordExpressions.reduce((_, P) => _ || d.match(P), null);
|
|
2578
2579
|
if (!c && !b)
|
|
2579
|
-
return
|
|
2580
|
+
return s;
|
|
2580
2581
|
let k = c || b, V = k.length;
|
|
2581
2582
|
k = k[V - 1];
|
|
2582
2583
|
const w = k.substring(k.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
2583
|
-
if (w.match(
|
|
2584
|
-
return
|
|
2585
|
-
const R = !!w.match(
|
|
2584
|
+
if (w.match(Ti))
|
|
2585
|
+
return s.linesToSkip.push(p + 1), s;
|
|
2586
|
+
const R = !!w.match(Ii), E = w.split(
|
|
2586
2587
|
R ? "," : " "
|
|
2587
2588
|
);
|
|
2588
2589
|
if (E.length < 2)
|
|
2589
|
-
return
|
|
2590
|
+
return s;
|
|
2590
2591
|
const T = {
|
|
2591
2592
|
target: E[0],
|
|
2592
2593
|
packet: E[1]
|
|
@@ -2603,42 +2604,42 @@ class Ii {
|
|
|
2603
2604
|
typeof T[_] == "string" ? T[_] = T[_].replace(/['"]/g, "").trim() : T[_] = T[_].map(
|
|
2604
2605
|
(P) => P.replace(/['"]/g, "").trim()
|
|
2605
2606
|
);
|
|
2606
|
-
return
|
|
2607
|
+
return s.linesToCheck.push({
|
|
2607
2608
|
line: d,
|
|
2608
2609
|
mnemonic: T,
|
|
2609
|
-
lineNumber:
|
|
2610
|
-
}),
|
|
2610
|
+
lineNumber: p + 1
|
|
2611
|
+
}), s;
|
|
2611
2612
|
},
|
|
2612
2613
|
{ linesToCheck: [], linesToSkip: [] }
|
|
2613
|
-
), i = await this._checkLines(
|
|
2614
|
+
), i = await this._checkLines(o);
|
|
2614
2615
|
return {
|
|
2615
2616
|
skipped: r.sort(),
|
|
2616
|
-
problems: i.sort((
|
|
2617
|
+
problems: i.sort((s, d) => s.lineNumber - d.lineNumber)
|
|
2617
2618
|
};
|
|
2618
2619
|
}
|
|
2619
2620
|
async _checkLines(e) {
|
|
2620
|
-
const
|
|
2621
|
+
const o = [], r = Ze(
|
|
2621
2622
|
e,
|
|
2622
2623
|
(i) => i.mnemonic.target
|
|
2623
2624
|
);
|
|
2624
2625
|
for (const i in r) {
|
|
2625
2626
|
if (!this.targets[i]) {
|
|
2626
2627
|
for (const d of r[i])
|
|
2627
|
-
|
|
2628
|
+
o.push({
|
|
2628
2629
|
...d,
|
|
2629
2630
|
error: `Target "${i}" does not exist.`
|
|
2630
2631
|
});
|
|
2631
2632
|
continue;
|
|
2632
2633
|
}
|
|
2633
|
-
const
|
|
2634
|
+
const s = Ze(
|
|
2634
2635
|
r[i],
|
|
2635
2636
|
(d) => d.mnemonic.packet
|
|
2636
2637
|
);
|
|
2637
|
-
for (const d in
|
|
2638
|
-
for (const
|
|
2639
|
-
const c =
|
|
2638
|
+
for (const d in s)
|
|
2639
|
+
for (const p of s[d]) {
|
|
2640
|
+
const c = p.mnemonic.item ? "tlm" : "cmd";
|
|
2640
2641
|
if (!this.targets[i][c]) {
|
|
2641
|
-
const k =
|
|
2642
|
+
const k = p.mnemonic.item ? "get_all_tlm" : "get_all_cmds", V = await this.api[k](i);
|
|
2642
2643
|
this.targets[i][c] = V.reduce(
|
|
2643
2644
|
(w, R) => (w[R.packet_name] = R.items.map(
|
|
2644
2645
|
(E) => E.name
|
|
@@ -2648,37 +2649,37 @@ class Ii {
|
|
|
2648
2649
|
}
|
|
2649
2650
|
const b = this.targets[i][c][d];
|
|
2650
2651
|
if (!b) {
|
|
2651
|
-
|
|
2652
|
-
...
|
|
2652
|
+
o.push({
|
|
2653
|
+
...p,
|
|
2653
2654
|
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
2654
2655
|
});
|
|
2655
2656
|
continue;
|
|
2656
2657
|
}
|
|
2657
|
-
if (
|
|
2658
|
-
if (!b.some((k) => k ===
|
|
2659
|
-
|
|
2660
|
-
...
|
|
2661
|
-
error: `Item "${i} ${d} ${
|
|
2658
|
+
if (p.mnemonic.item) {
|
|
2659
|
+
if (!b.some((k) => k === p.mnemonic.item)) {
|
|
2660
|
+
o.push({
|
|
2661
|
+
...p,
|
|
2662
|
+
error: `Item "${i} ${d} ${p.mnemonic.item}" does not exist.`
|
|
2662
2663
|
});
|
|
2663
2664
|
continue;
|
|
2664
2665
|
}
|
|
2665
2666
|
} else
|
|
2666
|
-
for (const k of
|
|
2667
|
+
for (const k of p.mnemonic.params)
|
|
2667
2668
|
if (!b.some((V) => V === k)) {
|
|
2668
|
-
|
|
2669
|
-
...
|
|
2669
|
+
o.push({
|
|
2670
|
+
...p,
|
|
2670
2671
|
error: `Command "${i} ${d}" param "${k}" does not exist.`
|
|
2671
2672
|
});
|
|
2672
2673
|
continue;
|
|
2673
2674
|
}
|
|
2674
2675
|
}
|
|
2675
2676
|
}
|
|
2676
|
-
return
|
|
2677
|
+
return o;
|
|
2677
2678
|
}
|
|
2678
2679
|
}
|
|
2679
2680
|
var ee, ve, _e, be, we, Me, ye, ke, Te;
|
|
2680
|
-
class
|
|
2681
|
-
constructor(e, { pattern:
|
|
2681
|
+
class Di {
|
|
2682
|
+
constructor(e, { pattern: o, text: r, type: i }) {
|
|
2682
2683
|
// TODO: the eslint parser errors on these because of the #
|
|
2683
2684
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2684
2685
|
W(this, ee);
|
|
@@ -2690,99 +2691,99 @@ class Ui {
|
|
|
2690
2691
|
Ne(this, "refresh", () => {
|
|
2691
2692
|
const e = B(this, ve).session;
|
|
2692
2693
|
B(this, Te).call(this, e);
|
|
2693
|
-
const
|
|
2694
|
+
const o = {
|
|
2694
2695
|
lines: e.doc.$lines,
|
|
2695
2696
|
action: "insert",
|
|
2696
2697
|
start: { row: 0 },
|
|
2697
2698
|
end: { row: e.doc.$lines.length }
|
|
2698
2699
|
};
|
|
2699
|
-
this.annotate(
|
|
2700
|
+
this.annotate(o, e);
|
|
2700
2701
|
});
|
|
2701
2702
|
// Update annotations for the changed lines
|
|
2702
|
-
Ne(this, "annotate", (e,
|
|
2703
|
+
Ne(this, "annotate", (e, o) => {
|
|
2703
2704
|
var r, i;
|
|
2704
2705
|
if (e.lines.length > 1)
|
|
2705
2706
|
switch (e.action) {
|
|
2706
2707
|
case "insert":
|
|
2707
|
-
B(this, ke).call(this,
|
|
2708
|
+
B(this, ke).call(this, o, e.start.row, e.lines.length - 1);
|
|
2708
2709
|
break;
|
|
2709
2710
|
case "remove":
|
|
2710
|
-
B(this, ke).call(this,
|
|
2711
|
+
B(this, ke).call(this, o, e.start.row + 1, -e.lines.length + 1);
|
|
2711
2712
|
break;
|
|
2712
2713
|
}
|
|
2713
|
-
for (let
|
|
2714
|
-
let d = (i = (r =
|
|
2715
|
-
d !== void 0 ? (d !== 0 && (d += 1), B(this, Me).call(this,
|
|
2716
|
-
row:
|
|
2714
|
+
for (let s = e.start.row; s <= e.end.row; s++) {
|
|
2715
|
+
let d = (i = (r = o.doc.$lines[s]) == null ? void 0 : r.match(B(this, _e))) == null ? void 0 : i.index;
|
|
2716
|
+
d !== void 0 ? (d !== 0 && (d += 1), B(this, Me).call(this, o, {
|
|
2717
|
+
row: s,
|
|
2717
2718
|
column: d,
|
|
2718
2719
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2719
2720
|
text: B(this, be),
|
|
2720
2721
|
type: B(this, we),
|
|
2721
2722
|
openc3Id: B(this, ee)
|
|
2722
|
-
})) : e.action === "remove" && B(this, ye).call(this,
|
|
2723
|
+
})) : e.action === "remove" && B(this, ye).call(this, o, s);
|
|
2723
2724
|
}
|
|
2724
2725
|
});
|
|
2725
|
-
W(this, Me, (e,
|
|
2726
|
-
B(this, ye).call(this, e,
|
|
2726
|
+
W(this, Me, (e, o) => {
|
|
2727
|
+
B(this, ye).call(this, e, o.row), e.setAnnotations([...e.getAnnotations(), o]);
|
|
2727
2728
|
});
|
|
2728
|
-
W(this, ye, (e,
|
|
2729
|
+
W(this, ye, (e, o) => {
|
|
2729
2730
|
e.setAnnotations(
|
|
2730
2731
|
e.getAnnotations().filter(
|
|
2731
|
-
(r) => r.openc3Id !== B(this, ee) || r.row !==
|
|
2732
|
+
(r) => r.openc3Id !== B(this, ee) || r.row !== o
|
|
2732
2733
|
)
|
|
2733
2734
|
);
|
|
2734
2735
|
});
|
|
2735
|
-
W(this, ke, (e,
|
|
2736
|
+
W(this, ke, (e, o, r) => {
|
|
2736
2737
|
e.setAnnotations(
|
|
2737
|
-
e.getAnnotations().map((i) => (i.row >
|
|
2738
|
+
e.getAnnotations().map((i) => (i.row > o && (i.row += r), i))
|
|
2738
2739
|
);
|
|
2739
2740
|
});
|
|
2740
2741
|
W(this, Te, (e) => {
|
|
2741
2742
|
e.setAnnotations(
|
|
2742
|
-
e.getAnnotations().filter((
|
|
2743
|
+
e.getAnnotations().filter((o) => o.openc3Id !== B(this, ee))
|
|
2743
2744
|
);
|
|
2744
2745
|
});
|
|
2745
|
-
ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ve, e), ne(this, _e,
|
|
2746
|
+
ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ve, e), ne(this, _e, o), ne(this, be, r), ne(this, we, i);
|
|
2746
2747
|
}
|
|
2747
2748
|
}
|
|
2748
2749
|
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
|
|
2750
|
+
class Pi extends Di {
|
|
2750
2751
|
constructor(e) {
|
|
2751
|
-
const
|
|
2752
|
+
const o = "(^|[{\\s])", r = "sleep", i = "[\\(\\s]";
|
|
2752
2753
|
super(e, {
|
|
2753
|
-
pattern: new RegExp(`${
|
|
2754
|
+
pattern: new RegExp(`${o}${r}${i}`),
|
|
2754
2755
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2755
2756
|
// because we override wait to make it work better, but not sleep
|
|
2756
2757
|
type: "warning"
|
|
2757
2758
|
});
|
|
2758
2759
|
}
|
|
2759
2760
|
}
|
|
2760
|
-
const
|
|
2761
|
+
const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause", Li = "Retry", Ai = {
|
|
2761
2762
|
components: {
|
|
2762
|
-
FileOpenSaveDialog:
|
|
2763
|
-
Openc3Screen:
|
|
2764
|
-
EnvironmentDialog:
|
|
2765
|
-
Splitpanes:
|
|
2766
|
-
Pane:
|
|
2767
|
-
TopBar:
|
|
2768
|
-
AskDialog:
|
|
2769
|
-
FileDialog:
|
|
2770
|
-
InformationDialog:
|
|
2771
|
-
EventListDialog:
|
|
2772
|
-
OverridesDialog:
|
|
2773
|
-
PromptDialog:
|
|
2774
|
-
ResultsDialog:
|
|
2775
|
-
ScriptEnvironmentDialog:
|
|
2776
|
-
SimpleTextDialog:
|
|
2777
|
-
SuiteRunner:
|
|
2778
|
-
RunningScripts:
|
|
2779
|
-
ScriptLogMessages:
|
|
2780
|
-
CriticalCmdDialog:
|
|
2781
|
-
CommandEditor:
|
|
2763
|
+
FileOpenSaveDialog: Ct,
|
|
2764
|
+
Openc3Screen: xt,
|
|
2765
|
+
EnvironmentDialog: St,
|
|
2766
|
+
Splitpanes: Lt,
|
|
2767
|
+
Pane: At,
|
|
2768
|
+
TopBar: _t,
|
|
2769
|
+
AskDialog: Gt,
|
|
2770
|
+
FileDialog: Yt,
|
|
2771
|
+
InformationDialog: ti,
|
|
2772
|
+
EventListDialog: Rt,
|
|
2773
|
+
OverridesDialog: oi,
|
|
2774
|
+
PromptDialog: hi,
|
|
2775
|
+
ResultsDialog: _i,
|
|
2776
|
+
ScriptEnvironmentDialog: ki,
|
|
2777
|
+
SimpleTextDialog: Vt,
|
|
2778
|
+
SuiteRunner: Vi,
|
|
2779
|
+
RunningScripts: Ut,
|
|
2780
|
+
ScriptLogMessages: zt,
|
|
2781
|
+
CriticalCmdDialog: kt,
|
|
2782
|
+
CommandEditor: wt
|
|
2782
2783
|
},
|
|
2783
|
-
mixins: [ft,
|
|
2784
|
-
beforeRouteUpdate: function(t, e,
|
|
2785
|
-
t.params.id ? this.tryLoadRunningScript(t.params.id).then(
|
|
2784
|
+
mixins: [ft, Et],
|
|
2785
|
+
beforeRouteUpdate: function(t, e, o) {
|
|
2786
|
+
t.params.id ? this.tryLoadRunningScript(t.params.id).then(o) : o();
|
|
2786
2787
|
},
|
|
2787
2788
|
props: {
|
|
2788
2789
|
inline: {
|
|
@@ -2795,6 +2796,9 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
2795
2796
|
}
|
|
2796
2797
|
},
|
|
2797
2798
|
emits: ["alert", "script-id"],
|
|
2799
|
+
setup() {
|
|
2800
|
+
return { containerHeight: vt() };
|
|
2801
|
+
},
|
|
2798
2802
|
data() {
|
|
2799
2803
|
return {
|
|
2800
2804
|
title: "Script Runner",
|
|
@@ -2915,7 +2919,7 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
2915
2919
|
executeSelectionMenu: !1,
|
|
2916
2920
|
menuX: 0,
|
|
2917
2921
|
menuY: 0,
|
|
2918
|
-
mnemonicChecker: new
|
|
2922
|
+
mnemonicChecker: new Ui(),
|
|
2919
2923
|
showScripts: !1,
|
|
2920
2924
|
showOverrides: !1,
|
|
2921
2925
|
commandEditor: {
|
|
@@ -2948,7 +2952,10 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
2948
2952
|
},
|
|
2949
2953
|
computed: {
|
|
2950
2954
|
stateTimer: function() {
|
|
2951
|
-
return this.state === "waiting" || this.state === "paused" ? `${this.state} ${this.waitingTime}s` : this.state;
|
|
2955
|
+
return this.state === "waiting" || this.state === "paused" ? `${this.state} ${this.waitingTime}s` : this.state === "completed_errors" ? "completed" : this.state;
|
|
2956
|
+
},
|
|
2957
|
+
stateColorClass: function() {
|
|
2958
|
+
return this.state === "error" || this.state === "crashed" || this.state === "killed" ? "script-state-red" : this.state === "completed_errors" ? "script-state-orange" : this.state === "completed" ? "script-state-green" : "";
|
|
2952
2959
|
},
|
|
2953
2960
|
// This is the list of files shown in the select dropdown
|
|
2954
2961
|
fileList: function() {
|
|
@@ -3211,10 +3218,6 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3211
3218
|
]
|
|
3212
3219
|
}
|
|
3213
3220
|
];
|
|
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)`;
|
|
3218
3221
|
}
|
|
3219
3222
|
},
|
|
3220
3223
|
watch: {
|
|
@@ -3229,14 +3232,14 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3229
3232
|
}
|
|
3230
3233
|
},
|
|
3231
3234
|
created: async function() {
|
|
3232
|
-
this.api = new Ie(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((
|
|
3233
|
-
|
|
3234
|
-
}).catch((
|
|
3235
|
+
this.api = new Ie(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((o) => {
|
|
3236
|
+
o && (this.timeZone = o);
|
|
3237
|
+
}).catch((o) => {
|
|
3235
3238
|
}), this.NEW_FILENAME = q;
|
|
3236
3239
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3237
3240
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3238
|
-
for (let
|
|
3239
|
-
|
|
3241
|
+
for (let o of e)
|
|
3242
|
+
o != "viewer" && (o == "admin" || o == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : o == "runner" ? this.executeUser = !0 : await O.get(`/openc3-api/roles/${o}`).then((r) => {
|
|
3240
3243
|
r.data !== null && r.data.permissions !== void 0 && (r.data.permissions.some(
|
|
3241
3244
|
(i) => i.permission == "script_edit"
|
|
3242
3245
|
) && (this.readOnlyUser = !1), r.data.permissions.some(
|
|
@@ -3249,27 +3252,27 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3249
3252
|
execute: this.executeUser
|
|
3250
3253
|
})), this.readOnlyUser == !0) {
|
|
3251
3254
|
this.alertType = "info";
|
|
3252
|
-
let
|
|
3253
|
-
this.executeUser && (
|
|
3255
|
+
let o = `User ${t.preferred_username} is read only`;
|
|
3256
|
+
this.executeUser && (o += " but can execute scripts"), this.alertText = o, this.showAlert = !0;
|
|
3254
3257
|
}
|
|
3255
|
-
O.get("/openc3-api/autocomplete/keywords/screen").then((
|
|
3256
|
-
this.screenKeywords =
|
|
3258
|
+
O.get("/openc3-api/autocomplete/keywords/screen").then((o) => {
|
|
3259
|
+
this.screenKeywords = o.data;
|
|
3257
3260
|
}), this.inline && (this.readOnly = !0);
|
|
3258
3261
|
},
|
|
3259
3262
|
mounted: async function() {
|
|
3260
|
-
var i,
|
|
3263
|
+
var i, s;
|
|
3261
3264
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3262
3265
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
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
|
|
3264
|
-
const r = new
|
|
3265
|
-
this.editor.session.on("change", (d,
|
|
3266
|
-
r.annotate(d,
|
|
3266
|
+
this.rubyMode = new t(), this.pythonMode = new e(), Ee.getDefaultScriptingLanguage() === "python" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setOption("enableBasicAutocompletion", !0), this.editor.setOption("enableLiveAutocompletion", !0), this.editor.completers = [new Oi(), new Mi()], this.editor.setHighlightActiveLine(!1), Ee.applyVimModeIfEnabled(this.editor, { saveFn: this.saveFile }), this.editor.focus(), this.editor.on("guttermousedown", this.toggleBreakpoint), this.editor.session.on("tokenizerUpdate", this.onChange), this.readOnlyUser && (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none");
|
|
3267
|
+
const r = new Pi(this.editor);
|
|
3268
|
+
this.editor.session.on("change", (d, p) => {
|
|
3269
|
+
r.annotate(d, p), this.updateBreakpoints(d, p);
|
|
3267
3270
|
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), this.cable = new nt("/script-api/cable"), !this.inline && localStorage.script_runner__recent && (this.recent = JSON.parse(localStorage.script_runner__recent), this.recent = this.recent.map((d) => ({
|
|
3268
3271
|
...d,
|
|
3269
|
-
command: async (
|
|
3270
|
-
this.filename =
|
|
3272
|
+
command: async (p) => {
|
|
3273
|
+
this.filename = p.label, await this.reloadFile();
|
|
3271
3274
|
}
|
|
3272
|
-
}))), this.inline ? this.body && (this.editor.setValue(this.body), this.editor.clearSelection()) : (i = this.$route.query) != null && i.file ? (this.filename = this.$route.query.file, await this.reloadFile()) : (
|
|
3275
|
+
}))), this.inline ? this.body && (this.editor.setValue(this.body), this.editor.clearSelection()) : (i = this.$route.query) != null && i.file ? (this.filename = this.$route.query.file, await this.reloadFile()) : (s = this.$route.params) != null && s.id ? await this.tryLoadRunningScript(this.$route.params.id) : (this.scriptId = sessionStorage.getItem("script_runner__script_id"), this.scriptId ? await this.tryLoadRunningScript(this.scriptId) : localStorage.script_runner__filename && (this.filename = localStorage.script_runner__filename, await this.reloadFile(!1))), this.updateInterval = setInterval(async () => {
|
|
3273
3276
|
this.processReceived();
|
|
3274
3277
|
}, 100);
|
|
3275
3278
|
},
|
|
@@ -3287,8 +3290,8 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3287
3290
|
this.executeSelectionMenu = !1;
|
|
3288
3291
|
const t = this.editor.getCursorPosition(), e = this.editor.session.getLine(t.row);
|
|
3289
3292
|
if (this.currentLineHasCommand) {
|
|
3290
|
-
const
|
|
3291
|
-
this.commandEditor.cmdString =
|
|
3293
|
+
const o = this.parseCommandFromLine(e);
|
|
3294
|
+
this.commandEditor.cmdString = o, this.commandEditor.isEditing = !0, this.commandEditor.editLine = t.row;
|
|
3292
3295
|
} else
|
|
3293
3296
|
this.commandEditor.cmdString = null, this.commandEditor.isEditing = !1, this.commandEditor.editLine = null;
|
|
3294
3297
|
this.commandEditor.show = !0, this.commandEditor.dialogError = null;
|
|
@@ -3297,26 +3300,26 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3297
3300
|
let e = "";
|
|
3298
3301
|
try {
|
|
3299
3302
|
e = this.$refs.commandEditor.getCmdString();
|
|
3300
|
-
let
|
|
3301
|
-
this.commandEditor.targetName =
|
|
3302
|
-
} catch (
|
|
3303
|
-
this.commandEditor.dialogError =
|
|
3303
|
+
let o = e.split(" ");
|
|
3304
|
+
this.commandEditor.targetName = o[0], this.commandEditor.commandName = o[1];
|
|
3305
|
+
} catch (o) {
|
|
3306
|
+
this.commandEditor.dialogError = o.message || "Please fix command parameters";
|
|
3304
3307
|
return;
|
|
3305
3308
|
}
|
|
3306
3309
|
if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
|
|
3307
|
-
const
|
|
3310
|
+
const o = this.editor.session.getLine(this.commandEditor.editLine), r = o.match(/^\s*/)[0], i = o.match(/\s+#.*$/), s = i ? i[0] : "", d = `${r}cmd("${e}")${s}`, p = this.Range;
|
|
3308
3311
|
this.editor.session.replace(
|
|
3309
|
-
new
|
|
3312
|
+
new p(
|
|
3310
3313
|
this.commandEditor.editLine,
|
|
3311
3314
|
0,
|
|
3312
3315
|
this.commandEditor.editLine,
|
|
3313
|
-
|
|
3316
|
+
o.length
|
|
3314
3317
|
),
|
|
3315
3318
|
d
|
|
3316
3319
|
);
|
|
3317
3320
|
} else {
|
|
3318
|
-
const
|
|
3319
|
-
this.editor.session.insert(
|
|
3321
|
+
const o = this.editor.getCursorPosition();
|
|
3322
|
+
this.editor.session.insert(o, `cmd("${e}")
|
|
3320
3323
|
`);
|
|
3321
3324
|
}
|
|
3322
3325
|
this.fileModified = !0, this.commandEditor.show = !1;
|
|
@@ -3363,8 +3366,8 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3363
3366
|
tryLoadRunningScript: function(t) {
|
|
3364
3367
|
return O.get(`/script-api/running-script/${t}`).then((e) => {
|
|
3365
3368
|
if (e.data) {
|
|
3366
|
-
let
|
|
3367
|
-
|
|
3369
|
+
let o = e.data.state;
|
|
3370
|
+
o !== "completed" && o !== "completed_errors" && o !== "stopped" && o !== "crashed" && o !== "killed" ? (this.filename = e.data.filename, this.tryLoadSuites(e), this.initScriptStart(), this.scriptStart(t)) : (this.$notify.caution({
|
|
3368
3371
|
title: `Script ${t} has already completed`,
|
|
3369
3372
|
body: "Check the Completed Scripts below ..."
|
|
3370
3373
|
}), this.scriptComplete(), this.showScripts = !0);
|
|
@@ -3382,8 +3385,8 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3382
3385
|
},
|
|
3383
3386
|
showExecuteSelectionMenu: function(t) {
|
|
3384
3387
|
this.menuX = t.pageX, this.menuY = t.pageY;
|
|
3385
|
-
const e = this.editor.getCursorPosition(),
|
|
3386
|
-
this.currentLineHasCommand = this.isCommandLine(
|
|
3388
|
+
const e = this.editor.getCursorPosition(), o = this.editor.session.getLine(e.row);
|
|
3389
|
+
this.currentLineHasCommand = this.isCommandLine(o), this.executeSelectionMenu = !0;
|
|
3387
3390
|
},
|
|
3388
3391
|
isCommandLine: function(t) {
|
|
3389
3392
|
const e = t.trim();
|
|
@@ -3406,15 +3409,15 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3406
3409
|
},
|
|
3407
3410
|
executeSelection: function() {
|
|
3408
3411
|
const t = this.editor.getSelectionRange();
|
|
3409
|
-
let e = t.start.row + 1,
|
|
3410
|
-
t.end.column === 0 && (
|
|
3412
|
+
let e = t.start.row + 1, o = t.end.row + 1;
|
|
3413
|
+
t.end.column === 0 && (o -= 1), this.scriptId ? O.post(
|
|
3411
3414
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3412
3415
|
{
|
|
3413
3416
|
data: {
|
|
3414
|
-
args: [this.filenameSelect, e,
|
|
3417
|
+
args: [this.filenameSelect, e, o]
|
|
3415
3418
|
}
|
|
3416
3419
|
}
|
|
3417
|
-
) : this.start(null, null, e,
|
|
3420
|
+
) : this.start(null, null, e, o);
|
|
3418
3421
|
},
|
|
3419
3422
|
clearBreakpoints: function() {
|
|
3420
3423
|
this.editor.session.clearBreakpoints();
|
|
@@ -3428,31 +3431,31 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3428
3431
|
updateBreakpoints: function(t, e) {
|
|
3429
3432
|
if (t.lines.length <= 1)
|
|
3430
3433
|
return;
|
|
3431
|
-
const
|
|
3432
|
-
(
|
|
3434
|
+
const o = this.getBreakpointRows(e).filter(
|
|
3435
|
+
(s) => t.start.column === 0 && s === t.start.row || s > t.start.row
|
|
3433
3436
|
);
|
|
3434
3437
|
let r = [], i = 0;
|
|
3435
3438
|
switch (t.action) {
|
|
3436
3439
|
case "insert":
|
|
3437
|
-
i = t.lines.length - 1,
|
|
3440
|
+
i = t.lines.length - 1, o.reverse();
|
|
3438
3441
|
break;
|
|
3439
3442
|
case "remove":
|
|
3440
3443
|
i = -t.lines.length + 1, r = [...Array(t.lines.length).keys()].map(
|
|
3441
|
-
(
|
|
3444
|
+
(s) => s + t.start.row
|
|
3442
3445
|
);
|
|
3443
3446
|
break;
|
|
3444
3447
|
}
|
|
3445
|
-
|
|
3446
|
-
e.clearBreakpoint(
|
|
3448
|
+
o.forEach((s) => {
|
|
3449
|
+
e.clearBreakpoint(s), r.includes(s) || e.setBreakpoint(s + i);
|
|
3447
3450
|
});
|
|
3448
3451
|
},
|
|
3449
3452
|
getBreakpointRows: function(t = this.editor.session) {
|
|
3450
|
-
return t.getBreakpoints().map((e,
|
|
3453
|
+
return t.getBreakpoints().map((e, o) => e && o).filter(Number.isInteger);
|
|
3451
3454
|
},
|
|
3452
3455
|
restoreBreakpoints: function(t) {
|
|
3453
3456
|
var e;
|
|
3454
|
-
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((
|
|
3455
|
-
this.editor.session.setBreakpoint(
|
|
3457
|
+
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((o) => {
|
|
3458
|
+
this.editor.session.setBreakpoint(o);
|
|
3456
3459
|
});
|
|
3457
3460
|
},
|
|
3458
3461
|
deleteAllBreakpoints: function() {
|
|
@@ -3481,19 +3484,19 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3481
3484
|
"Content-Type": "plain/text"
|
|
3482
3485
|
}
|
|
3483
3486
|
}).then((e) => {
|
|
3484
|
-
let
|
|
3485
|
-
|
|
3486
|
-
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems:
|
|
3487
|
+
let o = "";
|
|
3488
|
+
o += `<strong>${e.data.title}</strong><br/><br/>`, o += JSON.parse(e.data.description), this.$dialog.alert(o.trim(), { html: !0 });
|
|
3489
|
+
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: o }) => {
|
|
3487
3490
|
let r = "";
|
|
3488
|
-
if (
|
|
3489
|
-
const i =
|
|
3491
|
+
if (o.length) {
|
|
3492
|
+
const i = o.map((s) => `${s.lineNumber}: ${s.error}`).join("<br/>");
|
|
3490
3493
|
r += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3491
3494
|
}
|
|
3492
3495
|
e.length && (r += "<strong>Mnemonics with string interpolation were not checked.</strong>"), r === "" && (r = "<strong>Everything looks good!</strong>"), this.$dialog.alert(r.trim(), { html: !0 });
|
|
3493
3496
|
});
|
|
3494
3497
|
},
|
|
3495
3498
|
initScriptStart() {
|
|
3496
|
-
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton =
|
|
3499
|
+
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = zi, this.editor.setReadOnly(!0);
|
|
3497
3500
|
},
|
|
3498
3501
|
scriptStart(t) {
|
|
3499
3502
|
this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
|
|
@@ -3510,7 +3513,7 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3510
3513
|
});
|
|
3511
3514
|
},
|
|
3512
3515
|
async scriptComplete() {
|
|
3513
|
-
this.
|
|
3516
|
+
this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton = Ge, this.pauseOrRetryButton = he, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0;
|
|
3514
3517
|
},
|
|
3515
3518
|
environmentHandler: function(t) {
|
|
3516
3519
|
this.scriptEnvironment.env = t;
|
|
@@ -3518,21 +3521,21 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3518
3521
|
startHandler: function() {
|
|
3519
3522
|
this.start();
|
|
3520
3523
|
},
|
|
3521
|
-
async start(t = null, e = null,
|
|
3524
|
+
async start(t = null, e = null, o = null, r = null) {
|
|
3522
3525
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3523
3526
|
let i = this.filename;
|
|
3524
3527
|
this.filename === q && (i = this.tempFilename);
|
|
3525
|
-
let
|
|
3526
|
-
this.showDisconnect && (
|
|
3528
|
+
let s = `/script-api/scripts/${i}/run`;
|
|
3529
|
+
this.showDisconnect && (s += "/disconnect");
|
|
3527
3530
|
let d = this.scriptEnvironment.env;
|
|
3528
3531
|
this.enableStackTraces && (d = d.concat({
|
|
3529
3532
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3530
3533
|
value: "1"
|
|
3531
3534
|
}));
|
|
3532
|
-
let
|
|
3535
|
+
let p = {
|
|
3533
3536
|
environment: d
|
|
3534
3537
|
};
|
|
3535
|
-
e && (
|
|
3538
|
+
e && (p.suiteRunner = t), o !== null && (p.line_no = o), r !== null && (p.end_line_no = r), O.post(s, { data: p }).then((c) => {
|
|
3536
3539
|
this.scriptStart(c.data);
|
|
3537
3540
|
}).catch((c) => {
|
|
3538
3541
|
this.scriptComplete();
|
|
@@ -3545,7 +3548,7 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3545
3548
|
this.pauseOrRetryButton === he ? O.post(`/script-api/running-script/${this.scriptId}/pause`) : (this.pauseOrRetryButton = he, O.post(`/script-api/running-script/${this.scriptId}/retry`));
|
|
3546
3549
|
},
|
|
3547
3550
|
stop() {
|
|
3548
|
-
|
|
3551
|
+
O.post(`/script-api/running-script/${this.scriptId}/stop`);
|
|
3549
3552
|
},
|
|
3550
3553
|
step() {
|
|
3551
3554
|
O.post(`/script-api/running-script/${this.scriptId}/step`);
|
|
@@ -3564,16 +3567,18 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3564
3567
|
this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
|
|
3565
3568
|
},
|
|
3566
3569
|
processLine(t) {
|
|
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((
|
|
3570
|
+
t.filename && t.filename !== this.currentFilename && (this.files[t.filename] ? (this.currentFilename = t.filename, this.editor.setValue(this.files[t.filename].content), this.restoreBreakpoints(t.filename), this.editor.clearSelection()) : (this.files[t.filename] = { content: "", lineNo: 0 }, O.get(`/script-api/scripts/${t.filename}`).then((o) => {
|
|
3568
3571
|
this.files[t.filename] = {
|
|
3569
|
-
content:
|
|
3572
|
+
content: o.data.contents,
|
|
3570
3573
|
lineNo: 0
|
|
3571
|
-
}, this.breakpoints[t.filename] =
|
|
3572
|
-
}).catch((
|
|
3574
|
+
}, this.breakpoints[t.filename] = o.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
|
|
3575
|
+
}).catch((o) => {
|
|
3573
3576
|
this.files[t.filename] = null;
|
|
3574
3577
|
}))), this.state = t.state;
|
|
3575
3578
|
const e = this.editor.session.getMarkers();
|
|
3576
3579
|
switch (this.state) {
|
|
3580
|
+
// Handle all the script states, see script_status_model for details
|
|
3581
|
+
// spawning, init, running, paused, waiting, breakpoint, error, crashed, stopped, completed, completed_errors, killed
|
|
3577
3582
|
case "running":
|
|
3578
3583
|
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton = he, this.removeAllMarkers(), this.editor.session.addMarker(
|
|
3579
3584
|
new this.Range(t.line_no - 1, 0, t.line_no - 1, 1),
|
|
@@ -3581,16 +3586,17 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3581
3586
|
"fullLine"
|
|
3582
3587
|
), this.editor.gotoLine(t.line_no), this.files[t.filename].lineNo = t.line_no;
|
|
3583
3588
|
break;
|
|
3584
|
-
case "crashed":
|
|
3585
|
-
this.fatal = !0;
|
|
3586
|
-
// Deliberate fall through (no break)
|
|
3587
3589
|
case "error":
|
|
3588
|
-
this.pauseOrRetryButton =
|
|
3590
|
+
this.pauseOrRetryButton = Li;
|
|
3589
3591
|
// Deliberate fall through (no break)
|
|
3590
|
-
case "
|
|
3591
|
-
|
|
3592
|
+
case "spawning":
|
|
3593
|
+
// wait for script to be spawned
|
|
3594
|
+
case "init":
|
|
3595
|
+
// wait for script to initialize
|
|
3592
3596
|
case "paused":
|
|
3593
|
-
|
|
3597
|
+
case "waiting":
|
|
3598
|
+
case "breakpoint":
|
|
3599
|
+
if (this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, Object.keys(e).filter(
|
|
3594
3600
|
(r) => e[r].clazz === `${this.state}Marker`
|
|
3595
3601
|
).length === 0) {
|
|
3596
3602
|
this.removeAllMarkers();
|
|
@@ -3602,13 +3608,20 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3602
3608
|
), this.editor.gotoLine(r), t.filename && (this.files[t.filename].lineNo = r);
|
|
3603
3609
|
}
|
|
3604
3610
|
break;
|
|
3611
|
+
case "completed":
|
|
3612
|
+
case "completed_errors":
|
|
3613
|
+
case "stopped":
|
|
3614
|
+
case "crashed":
|
|
3615
|
+
case "killed":
|
|
3616
|
+
this.removeAllMarkers(), this.scriptComplete();
|
|
3617
|
+
break;
|
|
3605
3618
|
}
|
|
3606
3619
|
},
|
|
3607
3620
|
processReceived() {
|
|
3608
3621
|
let t = 0;
|
|
3609
3622
|
for (let e of this.receivedEvents) {
|
|
3610
3623
|
t += 1;
|
|
3611
|
-
let
|
|
3624
|
+
let o = 0;
|
|
3612
3625
|
switch (e.type) {
|
|
3613
3626
|
case "file":
|
|
3614
3627
|
this.files[e.filename] = { content: e.text, lineNo: 0 }, this.breakpoints[e.filename] = e.breakpoints, this.currentFilename === e.filename && this.restoreBreakpoints(e.filename);
|
|
@@ -3617,9 +3630,11 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3617
3630
|
this.processLine(e);
|
|
3618
3631
|
break;
|
|
3619
3632
|
case "output":
|
|
3620
|
-
|
|
3633
|
+
let r = e.line;
|
|
3634
|
+
r == null ? r = "" : typeof r == "object" ? r = JSON.stringify(r) : r = String(r);
|
|
3635
|
+
for (const p of r.split(`
|
|
3621
3636
|
`))
|
|
3622
|
-
|
|
3637
|
+
p && (this.messagesNewestOnTop ? this.messages.unshift({ message: p }) : this.messages.push({ message: p }));
|
|
3623
3638
|
for (; this.messages.length > this.maxArrayLength; )
|
|
3624
3639
|
this.messages.pop();
|
|
3625
3640
|
break;
|
|
@@ -3630,37 +3645,37 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3630
3645
|
this.results.text = e.report, this.results.show = !0;
|
|
3631
3646
|
break;
|
|
3632
3647
|
case "complete":
|
|
3633
|
-
this.
|
|
3648
|
+
this.removeAllMarkers(), this.scriptComplete();
|
|
3634
3649
|
break;
|
|
3635
3650
|
case "step":
|
|
3636
3651
|
this.showDebug = !0;
|
|
3637
3652
|
break;
|
|
3638
3653
|
case "screen":
|
|
3639
|
-
let
|
|
3654
|
+
let i = !1, s = {};
|
|
3640
3655
|
for (screen of this.screens) {
|
|
3641
3656
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3642
|
-
|
|
3657
|
+
s = screen, i = !0;
|
|
3643
3658
|
break;
|
|
3644
3659
|
}
|
|
3645
|
-
|
|
3660
|
+
o += 1;
|
|
3646
3661
|
}
|
|
3647
|
-
|
|
3662
|
+
s.target = e.target_name, s.screen = e.screen_name, s.definition = e.definition, e.x ? s.left = e.x : s.left = 0, e.y ? s.top = e.y : s.top = 0, s.count = this.updateCounter++, i ? this.screens[o] = s : (s.id = this.idCounter++, this.screens[this.screens.length] = s);
|
|
3648
3663
|
break;
|
|
3649
3664
|
case "clearscreen":
|
|
3650
3665
|
for (screen of this.screens) {
|
|
3651
3666
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3652
|
-
this.screens.splice(
|
|
3667
|
+
this.screens.splice(o, 1);
|
|
3653
3668
|
break;
|
|
3654
3669
|
}
|
|
3655
|
-
|
|
3670
|
+
o += 1;
|
|
3656
3671
|
}
|
|
3657
3672
|
break;
|
|
3658
3673
|
case "clearallscreens":
|
|
3659
3674
|
this.screens = [];
|
|
3660
3675
|
break;
|
|
3661
3676
|
case "downloadfile":
|
|
3662
|
-
const
|
|
3663
|
-
|
|
3677
|
+
const d = document.createElement("a");
|
|
3678
|
+
d.href = window.location.origin + e.url, d.setAttribute("download", e.filename), d.click();
|
|
3664
3679
|
break;
|
|
3665
3680
|
}
|
|
3666
3681
|
}
|
|
@@ -3746,15 +3761,15 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3746
3761
|
}
|
|
3747
3762
|
},
|
|
3748
3763
|
async fileDialogCallback(t) {
|
|
3749
|
-
let e = "Cancel",
|
|
3764
|
+
let e = "Cancel", o = [];
|
|
3750
3765
|
t != "Cancel" && (e = [], t.forEach((r) => {
|
|
3751
|
-
e.push(r.name),
|
|
3766
|
+
e.push(r.name), o.push(
|
|
3752
3767
|
O.get(
|
|
3753
3768
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3754
3769
|
`${window.openc3Scope}/tmp/${r.name}`
|
|
3755
3770
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3756
3771
|
).then((i) => {
|
|
3757
|
-
|
|
3772
|
+
o.push(
|
|
3758
3773
|
gt({
|
|
3759
3774
|
...i.data,
|
|
3760
3775
|
data: r
|
|
@@ -3762,7 +3777,7 @@ const Xe = "__TEMP__", q = "<Untitled>", Ge = "Start", Pi = "Go", he = "Pause",
|
|
|
3762
3777
|
);
|
|
3763
3778
|
})
|
|
3764
3779
|
);
|
|
3765
|
-
})), Promise.all(
|
|
3780
|
+
})), Promise.all(o).then((r) => {
|
|
3766
3781
|
O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3767
3782
|
data: {
|
|
3768
3783
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
@@ -3881,12 +3896,12 @@ class TestSuite(Suite):
|
|
|
3881
3896
|
`), await this.saveFile("auto"));
|
|
3882
3897
|
},
|
|
3883
3898
|
addToRecent(t) {
|
|
3884
|
-
let e = this.recent.findIndex((
|
|
3899
|
+
let e = this.recent.findIndex((o) => o.label === t);
|
|
3885
3900
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3886
3901
|
label: t,
|
|
3887
|
-
icon:
|
|
3888
|
-
command: async (
|
|
3889
|
-
await this.confirmUnsavedChanges() && (this.filename =
|
|
3902
|
+
icon: yt(t),
|
|
3903
|
+
command: async (o) => {
|
|
3904
|
+
await this.confirmUnsavedChanges() && (this.filename = o.label, await this.reloadFile());
|
|
3890
3905
|
}
|
|
3891
3906
|
}), this.recent.length > 8 && this.recent.pop(), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3892
3907
|
},
|
|
@@ -3906,13 +3921,13 @@ class TestSuite(Suite):
|
|
|
3906
3921
|
"Ignore-Errors": "404"
|
|
3907
3922
|
}
|
|
3908
3923
|
}).then((e) => {
|
|
3909
|
-
const
|
|
3924
|
+
const o = {
|
|
3910
3925
|
name: this.filename,
|
|
3911
3926
|
contents: e.data.contents
|
|
3912
3927
|
};
|
|
3913
|
-
e.data.suites && (
|
|
3928
|
+
e.data.suites && (o.suites = JSON.parse(e.data.suites)), e.data.error && (o.error = e.data.error), e.data.success && (o.success = e.data.success);
|
|
3914
3929
|
const r = e.data.locked, i = e.data.breakpoints;
|
|
3915
|
-
this.setFile({ file:
|
|
3930
|
+
this.setFile({ file: o, locked: r, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3916
3931
|
}).catch((e) => {
|
|
3917
3932
|
t === !0 && this.$notify.caution({
|
|
3918
3933
|
title: "File Open Error",
|
|
@@ -3921,7 +3936,7 @@ class TestSuite(Suite):
|
|
|
3921
3936
|
});
|
|
3922
3937
|
},
|
|
3923
3938
|
// Called by the FileOpenDialog to set the file contents
|
|
3924
|
-
setFile({ file: t, locked: e, breakpoints:
|
|
3939
|
+
setFile({ file: t, locked: e, breakpoints: o }, r = !1) {
|
|
3925
3940
|
this.files = {};
|
|
3926
3941
|
let i = t.name.split("*")[0];
|
|
3927
3942
|
if (r === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
@@ -3932,10 +3947,10 @@ class TestSuite(Suite):
|
|
|
3932
3947
|
}
|
|
3933
3948
|
}).catch((d) => {
|
|
3934
3949
|
});
|
|
3935
|
-
let
|
|
3936
|
-
document.title = `${
|
|
3950
|
+
let s = this.filename.split("/");
|
|
3951
|
+
document.title = `${s.pop()} (${s.join("/")})`;
|
|
3937
3952
|
}
|
|
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] =
|
|
3953
|
+
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] = o, 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();
|
|
3939
3954
|
},
|
|
3940
3955
|
clearTemp() {
|
|
3941
3956
|
this.recent = this.recent.filter(
|
|
@@ -3943,20 +3958,20 @@ class TestSuite(Suite):
|
|
|
3943
3958
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3944
3959
|
},
|
|
3945
3960
|
detectLanguage() {
|
|
3946
|
-
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "),
|
|
3961
|
+
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), o = new RegExp("^\\s*end\\s*$"), r = new RegExp(
|
|
3947
3962
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3948
|
-
), i = /\(f"/,
|
|
3963
|
+
), i = /\(f"/, s = /\(.*\w+:\s+.+\)(?!:)$/, p = this.editor.getValue().split(`
|
|
3949
3964
|
`);
|
|
3950
|
-
for (let c of
|
|
3965
|
+
for (let c of p) {
|
|
3951
3966
|
if (c.match(t))
|
|
3952
3967
|
return "ruby";
|
|
3953
3968
|
if (c.match(e))
|
|
3954
3969
|
return "python";
|
|
3955
|
-
if (c.match(
|
|
3970
|
+
if (c.match(o))
|
|
3956
3971
|
return "ruby";
|
|
3957
3972
|
if (c.match(r) || c.match(i))
|
|
3958
3973
|
return "python";
|
|
3959
|
-
if (c.match(
|
|
3974
|
+
if (c.match(s))
|
|
3960
3975
|
return "ruby";
|
|
3961
3976
|
}
|
|
3962
3977
|
return "unknown";
|
|
@@ -3972,11 +3987,11 @@ class TestSuite(Suite):
|
|
|
3972
3987
|
this.saveAs();
|
|
3973
3988
|
return;
|
|
3974
3989
|
} else if (this.tempFilename === null) {
|
|
3975
|
-
let
|
|
3976
|
-
if (
|
|
3977
|
-
this.tempFilename =
|
|
3978
|
-
else if (
|
|
3979
|
-
this.tempFilename =
|
|
3990
|
+
let o = this.detectLanguage();
|
|
3991
|
+
if (o === "unknown" && (o = Ee.getDefaultScriptingLanguage()), o === "ruby")
|
|
3992
|
+
this.tempFilename = Qe + "/" + Oe(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.rb";
|
|
3993
|
+
else if (o === "python")
|
|
3994
|
+
this.tempFilename = Qe + "/" + Oe(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.py";
|
|
3980
3995
|
else
|
|
3981
3996
|
return;
|
|
3982
3997
|
this.filename = this.tempFilename, this.addToRecent(this.filename);
|
|
@@ -3988,12 +4003,12 @@ class TestSuite(Suite):
|
|
|
3988
4003
|
// Pass in the raw file text
|
|
3989
4004
|
breakpoints: e
|
|
3990
4005
|
}
|
|
3991
|
-
}).then((
|
|
3992
|
-
|
|
4006
|
+
}).then((o) => {
|
|
4007
|
+
o.status == 200 ? (o.data.suites ? (this.startOrGoDisabled = !0, this.suiteRunner = !0, this.suiteMap = JSON.parse(o.data.suites)) : (this.startOrGoDisabled = !1, this.suiteRunner = !1, this.suiteMap = {}), o.data.error && (this.suiteError = o.data.error, this.showSuiteError = !0), this.fileModified = "", setTimeout(() => {
|
|
3993
4008
|
this.showSave = !1;
|
|
3994
|
-
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${
|
|
3995
|
-
}).catch(({ response:
|
|
3996
|
-
this.showSave = !1,
|
|
4009
|
+
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${o.status} Text: ${o.statusText}`, this.showAlert = !0), this.lockFile(), this.doResize();
|
|
4010
|
+
}).catch(({ response: o }) => {
|
|
4011
|
+
this.showSave = !1, o.status == 422 ? (this.alertType = "error", this.alertText = o.data.suites) : (this.alertType = "error", this.alertText = `Error saving file. Code: ${o.status} Text: ${o.statusText}`), this.showAlert = !0;
|
|
3997
4012
|
});
|
|
3998
4013
|
} else
|
|
3999
4014
|
this.setError("Attempt to save file when not allowed");
|
|
@@ -4015,11 +4030,11 @@ class TestSuite(Suite):
|
|
|
4015
4030
|
this.removeFromRecent(t), this.newFile();
|
|
4016
4031
|
}).catch((e) => {
|
|
4017
4032
|
if (e !== !0) {
|
|
4018
|
-
const
|
|
4033
|
+
const o = {
|
|
4019
4034
|
text: `Failed Multi-Delete. ${e}`,
|
|
4020
4035
|
type: "error"
|
|
4021
4036
|
};
|
|
4022
|
-
this.$emit("alert",
|
|
4037
|
+
this.$emit("alert", o);
|
|
4023
4038
|
}
|
|
4024
4039
|
});
|
|
4025
4040
|
},
|
|
@@ -4107,37 +4122,37 @@ class TestSuite(Suite):
|
|
|
4107
4122
|
}
|
|
4108
4123
|
}
|
|
4109
4124
|
}
|
|
4110
|
-
},
|
|
4125
|
+
}, Fi = { class: "grid" }, Bi = ["id"], Ni = { class: "item-content" }, Hi = { id: "sr-controls" }, Gi = { class: "d-flex align-center mr-1" }, qi = { key: 0 }, Ki = { key: 1 }, ji = {
|
|
4111
4126
|
key: 2,
|
|
4112
4127
|
style: { width: "40px", height: "40px" },
|
|
4113
4128
|
class: "mx-2"
|
|
4114
|
-
},
|
|
4129
|
+
}, Wi = { key: 3 }, Ji = { key: 4 }, Yi = {
|
|
4115
4130
|
key: 0,
|
|
4116
4131
|
id: "debug",
|
|
4117
4132
|
class: "pa-0"
|
|
4118
|
-
},
|
|
4133
|
+
}, Zi = {
|
|
4119
4134
|
key: 1,
|
|
4120
4135
|
style: { "background-color": "var(--color-background-base-default)", margin: "0px", padding: "0px" }
|
|
4121
|
-
},
|
|
4136
|
+
}, Xi = { key: 0 }, Qi = { key: 1 }, $i = { style: { height: "200px", overflow: "hidden" } }, es = {
|
|
4122
4137
|
key: 0,
|
|
4123
4138
|
class: "error-message"
|
|
4124
|
-
},
|
|
4125
|
-
function
|
|
4126
|
-
const d = a("top-bar"),
|
|
4139
|
+
}, ts = { class: "flex-grow-1" };
|
|
4140
|
+
function is(t, e, o, r, i, s) {
|
|
4141
|
+
const d = a("top-bar"), p = 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"), h = 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
4142
|
return S(), D(ge, null, [
|
|
4128
|
-
|
|
4129
|
-
|
|
4143
|
+
o.inline ? (S(), D("div", Zi, [
|
|
4144
|
+
n(De, {
|
|
4130
4145
|
modelValue: i.inlineTab,
|
|
4131
4146
|
"onUpdate:modelValue": e[15] || (e[15] = (m) => i.inlineTab = m),
|
|
4132
4147
|
density: "compact"
|
|
4133
4148
|
}, {
|
|
4134
4149
|
default: l(() => [
|
|
4135
|
-
|
|
4150
|
+
n(xe, {
|
|
4136
4151
|
value: "script",
|
|
4137
4152
|
text: "Script",
|
|
4138
4153
|
"data-test": "script-tab"
|
|
4139
4154
|
}),
|
|
4140
|
-
|
|
4155
|
+
n(xe, {
|
|
4141
4156
|
value: "messages",
|
|
4142
4157
|
text: "Messages",
|
|
4143
4158
|
"data-test": "messages-tab"
|
|
@@ -4145,16 +4160,16 @@ function ts(t, e, n, r, i, o) {
|
|
|
4145
4160
|
]),
|
|
4146
4161
|
_: 1
|
|
4147
4162
|
}, 8, ["modelValue"]),
|
|
4148
|
-
|
|
4163
|
+
n(se, {
|
|
4149
4164
|
modelValue: i.inlineTab,
|
|
4150
4165
|
"onUpdate:modelValue": e[18] || (e[18] = (m) => i.inlineTab = m)
|
|
4151
4166
|
}, {
|
|
4152
4167
|
default: l(() => [
|
|
4153
|
-
|
|
4168
|
+
n(Ce, { value: "script" }, {
|
|
4154
4169
|
default: l(() => [
|
|
4155
|
-
|
|
4170
|
+
n(G, null, {
|
|
4156
4171
|
default: l(() => [
|
|
4157
|
-
|
|
4172
|
+
n(ce, {
|
|
4158
4173
|
class: "v-col-10",
|
|
4159
4174
|
style: { margin: "15px 0px 0px 0px", padding: "0px" }
|
|
4160
4175
|
}, {
|
|
@@ -4163,50 +4178,50 @@ function ts(t, e, n, r, i, o) {
|
|
|
4163
4178
|
ref: "editor",
|
|
4164
4179
|
class: "editor",
|
|
4165
4180
|
style: { height: "200px" },
|
|
4166
|
-
onContextmenu: e[16] || (e[16] = de((...m) =>
|
|
4181
|
+
onContextmenu: e[16] || (e[16] = de((...m) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4167
4182
|
}, null, 544)
|
|
4168
4183
|
]),
|
|
4169
4184
|
_: 1
|
|
4170
4185
|
}),
|
|
4171
|
-
|
|
4186
|
+
n(ce, {
|
|
4172
4187
|
class: "v-col-2",
|
|
4173
4188
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4174
4189
|
}, {
|
|
4175
4190
|
default: l(() => [
|
|
4176
|
-
i.startOrGoButton === "Start" ? (S(), D("div",
|
|
4177
|
-
|
|
4191
|
+
i.startOrGoButton === "Start" ? (S(), D("div", Xi, [
|
|
4192
|
+
n(c, {
|
|
4178
4193
|
class: "mx-1",
|
|
4179
4194
|
color: "primary",
|
|
4180
4195
|
text: "Start",
|
|
4181
4196
|
"data-test": "start-button",
|
|
4182
4197
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4183
4198
|
hidden: i.suiteRunner,
|
|
4184
|
-
onClick:
|
|
4199
|
+
onClick: s.startHandler
|
|
4185
4200
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4186
|
-
])) : (S(), D("div",
|
|
4187
|
-
|
|
4201
|
+
])) : (S(), D("div", Qi, [
|
|
4202
|
+
n(c, {
|
|
4188
4203
|
color: "primary",
|
|
4189
4204
|
class: "ma-2",
|
|
4190
4205
|
text: "Go",
|
|
4191
4206
|
disabled: i.startOrGoDisabled,
|
|
4192
4207
|
"data-test": "go-button",
|
|
4193
|
-
onClick:
|
|
4208
|
+
onClick: s.go
|
|
4194
4209
|
}, null, 8, ["disabled", "onClick"]),
|
|
4195
|
-
|
|
4210
|
+
n(c, {
|
|
4196
4211
|
color: "primary",
|
|
4197
4212
|
class: "ma-2",
|
|
4198
4213
|
text: i.pauseOrRetryButton,
|
|
4199
4214
|
disabled: i.pauseOrRetryDisabled,
|
|
4200
4215
|
"data-test": "pause-retry-button",
|
|
4201
|
-
onClick:
|
|
4216
|
+
onClick: s.pauseOrRetry
|
|
4202
4217
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4203
|
-
|
|
4218
|
+
n(c, {
|
|
4204
4219
|
color: "primary",
|
|
4205
4220
|
class: "ma-2",
|
|
4206
4221
|
text: "Stop",
|
|
4207
4222
|
"data-test": "stop-button",
|
|
4208
4223
|
disabled: i.stopDisabled,
|
|
4209
|
-
onClick:
|
|
4224
|
+
onClick: s.stop
|
|
4210
4225
|
}, null, 8, ["disabled", "onClick"])
|
|
4211
4226
|
]))
|
|
4212
4227
|
]),
|
|
@@ -4218,10 +4233,10 @@ function ts(t, e, n, r, i, o) {
|
|
|
4218
4233
|
]),
|
|
4219
4234
|
_: 1
|
|
4220
4235
|
}),
|
|
4221
|
-
|
|
4236
|
+
n(Ce, { value: "messages" }, {
|
|
4222
4237
|
default: l(() => [
|
|
4223
|
-
x("div",
|
|
4224
|
-
|
|
4238
|
+
x("div", $i, [
|
|
4239
|
+
n(Z, {
|
|
4225
4240
|
modelValue: i.messages,
|
|
4226
4241
|
"onUpdate:modelValue": e[17] || (e[17] = (m) => i.messages = m),
|
|
4227
4242
|
"newest-on-top": i.messagesNewestOnTop,
|
|
@@ -4238,14 +4253,14 @@ function ts(t, e, n, r, i, o) {
|
|
|
4238
4253
|
key: 0,
|
|
4239
4254
|
class: "d-flex flex-column overflow-hidden",
|
|
4240
4255
|
style: fe({
|
|
4241
|
-
height:
|
|
4256
|
+
height: r.containerHeight
|
|
4242
4257
|
})
|
|
4243
4258
|
}, [
|
|
4244
|
-
|
|
4245
|
-
menus:
|
|
4259
|
+
n(d, {
|
|
4260
|
+
menus: s.menus,
|
|
4246
4261
|
title: i.title
|
|
4247
4262
|
}, null, 8, ["menus", "title"]),
|
|
4248
|
-
|
|
4263
|
+
n(b, {
|
|
4249
4264
|
modelValue: i.showAlert,
|
|
4250
4265
|
"onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
|
|
4251
4266
|
absolute: "",
|
|
@@ -4255,7 +4270,7 @@ function ts(t, e, n, r, i, o) {
|
|
|
4255
4270
|
style: fe(t.classificationStyles)
|
|
4256
4271
|
}, {
|
|
4257
4272
|
actions: l(({ attrs: m }) => [
|
|
4258
|
-
|
|
4273
|
+
n(c, X({
|
|
4259
4274
|
variant: "text",
|
|
4260
4275
|
text: "Close"
|
|
4261
4276
|
}, m, {
|
|
@@ -4263,7 +4278,7 @@ function ts(t, e, n, r, i, o) {
|
|
|
4263
4278
|
}), null, 16)
|
|
4264
4279
|
]),
|
|
4265
4280
|
default: l(() => [
|
|
4266
|
-
|
|
4281
|
+
n(p, null, {
|
|
4267
4282
|
default: l(() => [
|
|
4268
4283
|
y(" mdi-" + L(i.alertType), 1)
|
|
4269
4284
|
]),
|
|
@@ -4273,7 +4288,7 @@ function ts(t, e, n, r, i, o) {
|
|
|
4273
4288
|
]),
|
|
4274
4289
|
_: 1
|
|
4275
4290
|
}, 8, ["modelValue", "color", "style"]),
|
|
4276
|
-
|
|
4291
|
+
n(b, {
|
|
4277
4292
|
modelValue: i.showEditingToast,
|
|
4278
4293
|
"onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
|
|
4279
4294
|
absolute: "",
|
|
@@ -4283,13 +4298,13 @@ function ts(t, e, n, r, i, o) {
|
|
|
4283
4298
|
color: "orange"
|
|
4284
4299
|
}, {
|
|
4285
4300
|
actions: l(({ attrs: m }) => [
|
|
4286
|
-
|
|
4301
|
+
n(c, X({ variant: "text" }, m, {
|
|
4287
4302
|
color: "danger",
|
|
4288
4303
|
text: "Unlock",
|
|
4289
4304
|
"data-test": "unlock-button",
|
|
4290
|
-
onClick:
|
|
4305
|
+
onClick: s.confirmLocalUnlock
|
|
4291
4306
|
}), null, 16, ["onClick"]),
|
|
4292
|
-
|
|
4307
|
+
n(c, X({
|
|
4293
4308
|
variant: "text",
|
|
4294
4309
|
text: "Dismiss"
|
|
4295
4310
|
}, m, {
|
|
@@ -4299,7 +4314,7 @@ function ts(t, e, n, r, i, o) {
|
|
|
4299
4314
|
}), null, 16)
|
|
4300
4315
|
]),
|
|
4301
4316
|
default: l(() => [
|
|
4302
|
-
|
|
4317
|
+
n(p, null, {
|
|
4303
4318
|
default: l(() => [...e[44] || (e[44] = [
|
|
4304
4319
|
y(" mdi-pencil-off ", -1)
|
|
4305
4320
|
])]),
|
|
@@ -4309,16 +4324,16 @@ function ts(t, e, n, r, i, o) {
|
|
|
4309
4324
|
]),
|
|
4310
4325
|
_: 1
|
|
4311
4326
|
}, 8, ["modelValue", "style"]),
|
|
4312
|
-
x("div",
|
|
4313
|
-
(S(!0), D(ge, null,
|
|
4314
|
-
id:
|
|
4327
|
+
x("div", Fi, [
|
|
4328
|
+
(S(!0), D(ge, null, je(i.screens, (m) => (S(), D("div", {
|
|
4329
|
+
id: s.screenId(m.id),
|
|
4315
4330
|
key: m.id,
|
|
4316
4331
|
ref_for: !0,
|
|
4317
4332
|
ref: "gridItem",
|
|
4318
4333
|
class: "item"
|
|
4319
4334
|
}, [
|
|
4320
|
-
x("div",
|
|
4321
|
-
|
|
4335
|
+
x("div", Ni, [
|
|
4336
|
+
n(k, {
|
|
4322
4337
|
target: m.target,
|
|
4323
4338
|
screen: m.screen,
|
|
4324
4339
|
definition: m.definition,
|
|
@@ -4330,32 +4345,32 @@ function ts(t, e, n, r, i, o) {
|
|
|
4330
4345
|
"min-z": 3,
|
|
4331
4346
|
"fix-floated": !0,
|
|
4332
4347
|
count: m.count,
|
|
4333
|
-
onCloseScreen: (J) =>
|
|
4334
|
-
onDeleteScreen: (J) =>
|
|
4348
|
+
onCloseScreen: (J) => s.closeScreen(m.id),
|
|
4349
|
+
onDeleteScreen: (J) => s.closeScreen(m.id)
|
|
4335
4350
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4336
4351
|
])
|
|
4337
|
-
], 8,
|
|
4352
|
+
], 8, Bi))), 128))
|
|
4338
4353
|
]),
|
|
4339
|
-
|
|
4354
|
+
n(te, { class: "flex-shrink-0" }, {
|
|
4340
4355
|
default: l(() => [
|
|
4341
|
-
|
|
4356
|
+
n(Q, null, {
|
|
4342
4357
|
default: l(() => [
|
|
4343
4358
|
i.suiteRunner ? (S(), U(V, {
|
|
4344
4359
|
key: 0,
|
|
4345
4360
|
class: "suite-runner",
|
|
4346
4361
|
"suite-map": i.suiteMap,
|
|
4347
4362
|
"disable-buttons": i.disableSuiteButtons,
|
|
4348
|
-
filename:
|
|
4349
|
-
onButton:
|
|
4350
|
-
onLoaded:
|
|
4363
|
+
filename: s.fullFilename,
|
|
4364
|
+
onButton: s.suiteRunnerButton,
|
|
4365
|
+
onLoaded: s.doResize
|
|
4351
4366
|
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : z("", !0),
|
|
4352
|
-
x("div",
|
|
4353
|
-
|
|
4367
|
+
x("div", Hi, [
|
|
4368
|
+
n(G, {
|
|
4354
4369
|
"no-gutters": "",
|
|
4355
4370
|
justify: "space-between"
|
|
4356
4371
|
}, {
|
|
4357
4372
|
default: l(() => [
|
|
4358
|
-
i.showDisconnect ? (S(), U(
|
|
4373
|
+
i.showDisconnect ? (S(), U(p, {
|
|
4359
4374
|
key: 0,
|
|
4360
4375
|
class: "mt-2",
|
|
4361
4376
|
color: "red"
|
|
@@ -4365,8 +4380,8 @@ function ts(t, e, n, r, i, o) {
|
|
|
4365
4380
|
])]),
|
|
4366
4381
|
_: 1
|
|
4367
4382
|
})) : z("", !0),
|
|
4368
|
-
x("div",
|
|
4369
|
-
|
|
4383
|
+
x("div", Gi, [
|
|
4384
|
+
n(w, {
|
|
4370
4385
|
"open-delay": 600,
|
|
4371
4386
|
location: "top"
|
|
4372
4387
|
}, {
|
|
@@ -4375,38 +4390,38 @@ function ts(t, e, n, r, i, o) {
|
|
|
4375
4390
|
icon: "mdi-arrow-left",
|
|
4376
4391
|
variant: "text",
|
|
4377
4392
|
density: "compact",
|
|
4378
|
-
onClick:
|
|
4393
|
+
onClick: s.backToNewScript
|
|
4379
4394
|
}), null, 16, ["onClick"])) : (S(), U(c, X({ key: 0 }, m, {
|
|
4380
4395
|
icon: "mdi-cached",
|
|
4381
4396
|
variant: "text",
|
|
4382
4397
|
density: "compact",
|
|
4383
4398
|
disabled: i.filename === t.NEW_FILENAME,
|
|
4384
4399
|
"aria-label": "Reload File",
|
|
4385
|
-
onClick:
|
|
4400
|
+
onClick: s.reloadFile
|
|
4386
4401
|
}), null, 16, ["disabled", "onClick"]))
|
|
4387
4402
|
]),
|
|
4388
4403
|
default: l(() => [
|
|
4389
|
-
i.scriptId ? (S(), D("span",
|
|
4404
|
+
i.scriptId ? (S(), D("span", Ki, " Back to New Script ")) : (S(), D("span", qi, " Reload File "))
|
|
4390
4405
|
]),
|
|
4391
4406
|
_: 1
|
|
4392
4407
|
})
|
|
4393
4408
|
]),
|
|
4394
|
-
|
|
4409
|
+
n(w, {
|
|
4395
4410
|
location: "bottom",
|
|
4396
4411
|
text: i.filenameSelect,
|
|
4397
4412
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4398
4413
|
}, {
|
|
4399
4414
|
activator: l(({ props: m }) => [
|
|
4400
4415
|
x("div", X(m, { style: { width: "32rem" } }), [
|
|
4401
|
-
|
|
4416
|
+
n(R, {
|
|
4402
4417
|
id: "filename",
|
|
4403
4418
|
modelValue: i.filenameSelect,
|
|
4404
4419
|
"onUpdate:modelValue": [
|
|
4405
4420
|
e[4] || (e[4] = (J) => i.filenameSelect = J),
|
|
4406
|
-
|
|
4421
|
+
s.fileNameChanged
|
|
4407
4422
|
],
|
|
4408
|
-
items:
|
|
4409
|
-
disabled:
|
|
4423
|
+
items: s.fileList,
|
|
4424
|
+
disabled: s.fileList.length <= 1,
|
|
4410
4425
|
label: "Filename",
|
|
4411
4426
|
"data-test": "filename",
|
|
4412
4427
|
density: "compact",
|
|
@@ -4417,7 +4432,7 @@ function ts(t, e, n, r, i, o) {
|
|
|
4417
4432
|
]),
|
|
4418
4433
|
_: 1
|
|
4419
4434
|
}, 8, ["text", "disabled"]),
|
|
4420
|
-
|
|
4435
|
+
n(E, {
|
|
4421
4436
|
modelValue: i.scriptId,
|
|
4422
4437
|
"onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
|
|
4423
4438
|
label: "Script ID",
|
|
@@ -4429,33 +4444,33 @@ function ts(t, e, n, r, i, o) {
|
|
|
4429
4444
|
readonly: "",
|
|
4430
4445
|
"hide-details": ""
|
|
4431
4446
|
}, null, 8, ["modelValue"]),
|
|
4432
|
-
|
|
4433
|
-
modelValue:
|
|
4434
|
-
"onUpdate:modelValue": e[6] || (e[6] = (m) =>
|
|
4447
|
+
n(E, {
|
|
4448
|
+
modelValue: s.stateTimer,
|
|
4449
|
+
"onUpdate:modelValue": e[6] || (e[6] = (m) => s.stateTimer = m),
|
|
4435
4450
|
label: "Script State",
|
|
4436
4451
|
"data-test": "state",
|
|
4437
|
-
class: "shrink ml-2 script-state",
|
|
4452
|
+
class: Ke(["shrink", "ml-2", "script-state", s.stateColorClass]),
|
|
4438
4453
|
style: { "max-width": "120px" },
|
|
4439
4454
|
density: "compact",
|
|
4440
4455
|
variant: "outlined",
|
|
4441
4456
|
readonly: "",
|
|
4442
4457
|
"hide-details": ""
|
|
4443
|
-
}, null, 8, ["modelValue"]),
|
|
4458
|
+
}, null, 8, ["modelValue", "class"]),
|
|
4444
4459
|
i.state === "Connecting..." ? (S(), U(T, {
|
|
4445
4460
|
key: 1,
|
|
4446
4461
|
size: 40,
|
|
4447
4462
|
class: "mx-2",
|
|
4448
4463
|
indeterminate: "",
|
|
4449
4464
|
color: "primary"
|
|
4450
|
-
})) : (S(), D("div",
|
|
4451
|
-
|
|
4452
|
-
i.startOrGoButton === "Start" ? (S(), D("div",
|
|
4453
|
-
|
|
4465
|
+
})) : (S(), D("div", ji)),
|
|
4466
|
+
n(_),
|
|
4467
|
+
i.startOrGoButton === "Start" ? (S(), D("div", Wi, [
|
|
4468
|
+
n(w, {
|
|
4454
4469
|
"open-delay": 600,
|
|
4455
4470
|
location: "top"
|
|
4456
4471
|
}, {
|
|
4457
4472
|
activator: l(({ props: m }) => [
|
|
4458
|
-
|
|
4473
|
+
n(c, X(m, {
|
|
4459
4474
|
class: "mr-2",
|
|
4460
4475
|
icon: "",
|
|
4461
4476
|
variant: "text",
|
|
@@ -4466,14 +4481,14 @@ function ts(t, e, n, r, i, o) {
|
|
|
4466
4481
|
onClick: e[8] || (e[8] = (J) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
|
|
4467
4482
|
}), {
|
|
4468
4483
|
default: l(() => [
|
|
4469
|
-
|
|
4470
|
-
modelValue:
|
|
4471
|
-
"onUpdate:modelValue": e[7] || (e[7] = (J) =>
|
|
4484
|
+
n(P, {
|
|
4485
|
+
modelValue: s.environmentModified,
|
|
4486
|
+
"onUpdate:modelValue": e[7] || (e[7] = (J) => s.environmentModified = J),
|
|
4472
4487
|
floating: "",
|
|
4473
4488
|
dot: ""
|
|
4474
4489
|
}, {
|
|
4475
4490
|
default: l(() => [
|
|
4476
|
-
|
|
4491
|
+
n(p, { icon: "mdi-application-variable" })
|
|
4477
4492
|
]),
|
|
4478
4493
|
_: 1
|
|
4479
4494
|
}, 8, ["modelValue"])
|
|
@@ -4484,45 +4499,45 @@ function ts(t, e, n, r, i, o) {
|
|
|
4484
4499
|
default: l(() => [
|
|
4485
4500
|
x("span", null, [
|
|
4486
4501
|
e[46] || (e[46] = y(" Script Environment ", -1)),
|
|
4487
|
-
|
|
4502
|
+
s.environmentModified ? (S(), D(ge, { key: 0 }, [
|
|
4488
4503
|
y(" (modified) ")
|
|
4489
4504
|
], 64)) : z("", !0)
|
|
4490
4505
|
])
|
|
4491
4506
|
]),
|
|
4492
4507
|
_: 1
|
|
4493
4508
|
}),
|
|
4494
|
-
|
|
4509
|
+
n(c, {
|
|
4495
4510
|
class: "mx-1",
|
|
4496
4511
|
color: "primary",
|
|
4497
4512
|
text: "Start",
|
|
4498
4513
|
"data-test": "start-button",
|
|
4499
4514
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4500
4515
|
hidden: i.suiteRunner,
|
|
4501
|
-
onClick:
|
|
4516
|
+
onClick: s.startHandler
|
|
4502
4517
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4503
|
-
])) : (S(), D("div",
|
|
4504
|
-
|
|
4518
|
+
])) : (S(), D("div", Ji, [
|
|
4519
|
+
n(c, {
|
|
4505
4520
|
color: "primary",
|
|
4506
4521
|
class: "mr-2",
|
|
4507
4522
|
text: "Go",
|
|
4508
4523
|
disabled: i.startOrGoDisabled,
|
|
4509
4524
|
"data-test": "go-button",
|
|
4510
|
-
onClick:
|
|
4525
|
+
onClick: s.go
|
|
4511
4526
|
}, null, 8, ["disabled", "onClick"]),
|
|
4512
|
-
|
|
4527
|
+
n(c, {
|
|
4513
4528
|
color: "primary",
|
|
4514
4529
|
class: "mr-2",
|
|
4515
4530
|
text: i.pauseOrRetryButton,
|
|
4516
4531
|
disabled: i.pauseOrRetryDisabled,
|
|
4517
4532
|
"data-test": "pause-retry-button",
|
|
4518
|
-
onClick:
|
|
4533
|
+
onClick: s.pauseOrRetry
|
|
4519
4534
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4520
|
-
|
|
4535
|
+
n(c, {
|
|
4521
4536
|
color: "primary",
|
|
4522
4537
|
text: "Stop",
|
|
4523
4538
|
"data-test": "stop-button",
|
|
4524
4539
|
disabled: i.stopDisabled,
|
|
4525
|
-
onClick:
|
|
4540
|
+
onClick: s.stop
|
|
4526
4541
|
}, null, 8, ["disabled", "onClick"])
|
|
4527
4542
|
]))
|
|
4528
4543
|
]),
|
|
@@ -4535,18 +4550,18 @@ function ts(t, e, n, r, i, o) {
|
|
|
4535
4550
|
]),
|
|
4536
4551
|
_: 1
|
|
4537
4552
|
}),
|
|
4538
|
-
|
|
4553
|
+
n(Ue, {
|
|
4539
4554
|
horizontal: "",
|
|
4540
4555
|
class: "flex-grow-1 overflow-hidden",
|
|
4541
4556
|
onResize: e[14] || (e[14] = ({ prevPane: m }) => i.editorBoxSize = m.size)
|
|
4542
4557
|
}, {
|
|
4543
4558
|
default: l(() => [
|
|
4544
|
-
|
|
4559
|
+
n(ue, {
|
|
4545
4560
|
class: "editorbox",
|
|
4546
4561
|
size: i.editorBoxSize
|
|
4547
4562
|
}, {
|
|
4548
4563
|
default: l(() => [
|
|
4549
|
-
|
|
4564
|
+
n(b, {
|
|
4550
4565
|
modelValue: i.showSave,
|
|
4551
4566
|
"onUpdate:modelValue": e[9] || (e[9] = (m) => i.showSave = m),
|
|
4552
4567
|
absolute: "",
|
|
@@ -4563,45 +4578,45 @@ function ts(t, e, n, r, i, o) {
|
|
|
4563
4578
|
x("pre", {
|
|
4564
4579
|
ref: "editor",
|
|
4565
4580
|
class: "editor",
|
|
4566
|
-
onContextmenu: e[10] || (e[10] = de((...m) =>
|
|
4581
|
+
onContextmenu: e[10] || (e[10] = de((...m) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4567
4582
|
}, null, 544),
|
|
4568
|
-
|
|
4583
|
+
n(F, {
|
|
4569
4584
|
modelValue: i.executeSelectionMenu,
|
|
4570
4585
|
"onUpdate:modelValue": e[11] || (e[11] = (m) => i.executeSelectionMenu = m),
|
|
4571
4586
|
target: [i.menuX, i.menuY]
|
|
4572
4587
|
}, {
|
|
4573
4588
|
default: l(() => [
|
|
4574
|
-
|
|
4589
|
+
n(I, null, {
|
|
4575
4590
|
default: l(() => [
|
|
4576
|
-
|
|
4591
|
+
n(j, {
|
|
4577
4592
|
title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
|
|
4578
|
-
onClick:
|
|
4593
|
+
onClick: s.openCommandEditor
|
|
4579
4594
|
}, null, 8, ["title", "onClick"]),
|
|
4580
|
-
|
|
4581
|
-
|
|
4595
|
+
n(ie),
|
|
4596
|
+
n(j, {
|
|
4582
4597
|
title: "Execute Selection",
|
|
4583
|
-
onClick:
|
|
4598
|
+
onClick: s.executeSelection
|
|
4584
4599
|
}, null, 8, ["onClick"]),
|
|
4585
4600
|
i.scriptId ? (S(), U(j, {
|
|
4586
4601
|
key: 0,
|
|
4587
4602
|
title: "Goto Line",
|
|
4588
|
-
onClick:
|
|
4603
|
+
onClick: s.runFromCursor
|
|
4589
4604
|
}, null, 8, ["onClick"])) : z("", !0),
|
|
4590
4605
|
i.scriptId ? z("", !0) : (S(), U(j, {
|
|
4591
4606
|
key: 1,
|
|
4592
4607
|
title: "Run From Line",
|
|
4593
|
-
onClick:
|
|
4608
|
+
onClick: s.runFromCursor
|
|
4594
4609
|
}, null, 8, ["onClick"])),
|
|
4595
4610
|
i.scriptId ? z("", !0) : (S(), U(j, {
|
|
4596
4611
|
key: 2,
|
|
4597
4612
|
title: "Clear Local Breakpoints",
|
|
4598
|
-
onClick:
|
|
4613
|
+
onClick: s.clearBreakpoints
|
|
4599
4614
|
}, null, 8, ["onClick"])),
|
|
4600
|
-
|
|
4601
|
-
|
|
4615
|
+
n(ie),
|
|
4616
|
+
n(j, {
|
|
4602
4617
|
title: "Toggle Vim mode",
|
|
4603
4618
|
"prepend-icon": "extras:vim",
|
|
4604
|
-
onClick:
|
|
4619
|
+
onClick: s.toggleVimMode
|
|
4605
4620
|
}, null, 8, ["onClick"])
|
|
4606
4621
|
]),
|
|
4607
4622
|
_: 1
|
|
@@ -4612,16 +4627,16 @@ function ts(t, e, n, r, i, o) {
|
|
|
4612
4627
|
]),
|
|
4613
4628
|
_: 1
|
|
4614
4629
|
}, 8, ["size"]),
|
|
4615
|
-
|
|
4630
|
+
n(ue, {
|
|
4616
4631
|
id: "messages",
|
|
4617
4632
|
class: "mt-2",
|
|
4618
4633
|
size: 100 - i.editorBoxSize
|
|
4619
4634
|
}, {
|
|
4620
4635
|
default: l(() => [
|
|
4621
|
-
i.showDebug ? (S(), D("div",
|
|
4622
|
-
|
|
4636
|
+
i.showDebug ? (S(), D("div", Yi, [
|
|
4637
|
+
n(G, { "no-gutters": "" }, {
|
|
4623
4638
|
default: l(() => [
|
|
4624
|
-
|
|
4639
|
+
n(c, {
|
|
4625
4640
|
color: "primary",
|
|
4626
4641
|
style: { width: "100px" },
|
|
4627
4642
|
class: "mr-4",
|
|
@@ -4629,9 +4644,9 @@ function ts(t, e, n, r, i, o) {
|
|
|
4629
4644
|
"append-icon": "mdi-step-forward",
|
|
4630
4645
|
disabled: !i.scriptId,
|
|
4631
4646
|
"data-test": "step-button",
|
|
4632
|
-
onClick:
|
|
4647
|
+
onClick: s.step
|
|
4633
4648
|
}, null, 8, ["disabled", "onClick"]),
|
|
4634
|
-
|
|
4649
|
+
n(E, {
|
|
4635
4650
|
ref: "debug",
|
|
4636
4651
|
modelValue: i.debug,
|
|
4637
4652
|
"onUpdate:modelValue": e[12] || (e[12] = (m) => i.debug = m),
|
|
@@ -4641,17 +4656,17 @@ function ts(t, e, n, r, i, o) {
|
|
|
4641
4656
|
"hide-details": "",
|
|
4642
4657
|
label: "Debug",
|
|
4643
4658
|
"data-test": "debug-text",
|
|
4644
|
-
onKeydown:
|
|
4659
|
+
onKeydown: s.debugKeydown
|
|
4645
4660
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
4646
4661
|
]),
|
|
4647
4662
|
_: 1
|
|
4648
4663
|
})
|
|
4649
4664
|
])) : z("", !0),
|
|
4650
|
-
|
|
4665
|
+
n(Z, {
|
|
4651
4666
|
id: "log-messages",
|
|
4652
4667
|
modelValue: i.messages,
|
|
4653
4668
|
"onUpdate:modelValue": e[13] || (e[13] = (m) => i.messages = m),
|
|
4654
|
-
onSort:
|
|
4669
|
+
onSort: s.messageSortOrder
|
|
4655
4670
|
}, null, 8, ["modelValue", "onSort"])
|
|
4656
4671
|
]),
|
|
4657
4672
|
_: 1
|
|
@@ -4666,9 +4681,9 @@ function ts(t, e, n, r, i, o) {
|
|
|
4666
4681
|
"onUpdate:modelValue": e[19] || (e[19] = (m) => i.fileOpen = m),
|
|
4667
4682
|
type: "open",
|
|
4668
4683
|
"api-url": "/script-api/scripts",
|
|
4669
|
-
onFile: e[20] || (e[20] = (m) =>
|
|
4670
|
-
onError: e[21] || (e[21] = (m) =>
|
|
4671
|
-
onClearTemp: e[22] || (e[22] = (m) =>
|
|
4684
|
+
onFile: e[20] || (e[20] = (m) => s.setFile(m)),
|
|
4685
|
+
onError: e[21] || (e[21] = (m) => s.setError(m)),
|
|
4686
|
+
onClearTemp: e[22] || (e[22] = (m) => s.clearTemp(m))
|
|
4672
4687
|
}, null, 8, ["modelValue"])) : z("", !0),
|
|
4673
4688
|
i.showSaveAs ? (S(), U(Ve, {
|
|
4674
4689
|
key: 3,
|
|
@@ -4677,10 +4692,10 @@ function ts(t, e, n, r, i, o) {
|
|
|
4677
4692
|
type: "save",
|
|
4678
4693
|
"api-url": "/script-api/scripts",
|
|
4679
4694
|
"require-target-parent-dir": "",
|
|
4680
|
-
"input-filename":
|
|
4681
|
-
onFilename: e[24] || (e[24] = (m) =>
|
|
4682
|
-
onError: e[25] || (e[25] = (m) =>
|
|
4683
|
-
onClearTemp: e[26] || (e[26] = (m) =>
|
|
4695
|
+
"input-filename": s.filenameOrBlank,
|
|
4696
|
+
onFilename: e[24] || (e[24] = (m) => s.saveAsFilename(m)),
|
|
4697
|
+
onError: e[25] || (e[25] = (m) => s.setError(m)),
|
|
4698
|
+
onClearTemp: e[26] || (e[26] = (m) => s.clearTemp(m))
|
|
4684
4699
|
}, null, 8, ["modelValue", "input-filename"])) : z("", !0),
|
|
4685
4700
|
i.showEnvironment ? (S(), U(Pe, {
|
|
4686
4701
|
key: 4,
|
|
@@ -4705,7 +4720,7 @@ function ts(t, e, n, r, i, o) {
|
|
|
4705
4720
|
message: i.file.message,
|
|
4706
4721
|
multiple: i.file.multiple,
|
|
4707
4722
|
filter: i.file.filter,
|
|
4708
|
-
onResponse:
|
|
4723
|
+
onResponse: s.fileDialogCallback
|
|
4709
4724
|
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : z("", !0),
|
|
4710
4725
|
i.information.show ? (S(), U(Le, {
|
|
4711
4726
|
key: 7,
|
|
@@ -4753,51 +4768,51 @@ function ts(t, e, n, r, i, o) {
|
|
|
4753
4768
|
modelValue: i.scriptEnvironment.show,
|
|
4754
4769
|
"onUpdate:modelValue": e[35] || (e[35] = (m) => i.scriptEnvironment.show = m),
|
|
4755
4770
|
"input-environment": i.scriptEnvironment.env,
|
|
4756
|
-
onEnvironment:
|
|
4771
|
+
onEnvironment: s.environmentHandler
|
|
4757
4772
|
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : z("", !0),
|
|
4758
|
-
|
|
4773
|
+
n(u, {
|
|
4759
4774
|
modelValue: i.showSuiteError,
|
|
4760
4775
|
"onUpdate:modelValue": e[36] || (e[36] = (m) => i.showSuiteError = m),
|
|
4761
4776
|
title: "Suite Analysis Error",
|
|
4762
4777
|
text: i.suiteError,
|
|
4763
4778
|
width: 1e3
|
|
4764
4779
|
}, null, 8, ["modelValue", "text"]),
|
|
4765
|
-
|
|
4780
|
+
n(h, {
|
|
4766
4781
|
modelValue: i.displayCriticalCmd,
|
|
4767
4782
|
"onUpdate:modelValue": e[37] || (e[37] = (m) => i.displayCriticalCmd = m),
|
|
4768
4783
|
uuid: i.criticalCmdUuid,
|
|
4769
4784
|
"cmd-string": i.criticalCmdString,
|
|
4770
4785
|
"cmd-user": i.criticalCmdUser,
|
|
4771
4786
|
persistent: !0,
|
|
4772
|
-
onStatus:
|
|
4787
|
+
onStatus: s.promptDialogCallback
|
|
4773
4788
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4774
|
-
|
|
4789
|
+
n(C, {
|
|
4775
4790
|
modelValue: i.commandEditor.show,
|
|
4776
4791
|
"onUpdate:modelValue": e[41] || (e[41] = (m) => i.commandEditor.show = m),
|
|
4777
4792
|
"max-width": "1200",
|
|
4778
4793
|
persistent: "",
|
|
4779
4794
|
scrollable: "",
|
|
4780
|
-
onKeydown: Se(
|
|
4795
|
+
onKeydown: Se(s.closeCommandDialog, ["esc"])
|
|
4781
4796
|
}, {
|
|
4782
4797
|
default: l(() => [
|
|
4783
|
-
|
|
4798
|
+
n(te, null, {
|
|
4784
4799
|
default: l(() => [
|
|
4785
|
-
|
|
4800
|
+
n(v, { class: "d-flex align-center" }, {
|
|
4786
4801
|
default: l(() => [
|
|
4787
4802
|
e[48] || (e[48] = x("span", null, "Insert Command", -1)),
|
|
4788
|
-
|
|
4789
|
-
|
|
4803
|
+
n(_),
|
|
4804
|
+
n(c, {
|
|
4790
4805
|
icon: "mdi-close",
|
|
4791
4806
|
variant: "text",
|
|
4792
|
-
onClick:
|
|
4807
|
+
onClick: s.closeCommandDialog
|
|
4793
4808
|
}, null, 8, ["onClick"])
|
|
4794
4809
|
]),
|
|
4795
4810
|
_: 1
|
|
4796
4811
|
}),
|
|
4797
|
-
|
|
4812
|
+
n(Q, { class: "pa-0" }, {
|
|
4798
4813
|
default: l(() => [
|
|
4799
|
-
i.commandEditor.dialogError ? (S(), D("div",
|
|
4800
|
-
|
|
4814
|
+
i.commandEditor.dialogError ? (S(), D("div", es, [
|
|
4815
|
+
n(p, {
|
|
4801
4816
|
class: "mr-2",
|
|
4802
4817
|
color: "error"
|
|
4803
4818
|
}, {
|
|
@@ -4806,8 +4821,8 @@ function ts(t, e, n, r, i, o) {
|
|
|
4806
4821
|
])]),
|
|
4807
4822
|
_: 1
|
|
4808
4823
|
}),
|
|
4809
|
-
x("span",
|
|
4810
|
-
|
|
4824
|
+
x("span", ts, L(i.commandEditor.dialogError), 1),
|
|
4825
|
+
n(c, {
|
|
4811
4826
|
icon: "mdi-close",
|
|
4812
4827
|
size: "small",
|
|
4813
4828
|
variant: "text",
|
|
@@ -4816,34 +4831,34 @@ function ts(t, e, n, r, i, o) {
|
|
|
4816
4831
|
onClick: e[38] || (e[38] = (m) => i.commandEditor.dialogError = null)
|
|
4817
4832
|
})
|
|
4818
4833
|
])) : z("", !0),
|
|
4819
|
-
|
|
4834
|
+
n(f, {
|
|
4820
4835
|
ref: "commandEditor",
|
|
4821
4836
|
"initial-target-name": i.commandEditor.targetName,
|
|
4822
4837
|
"initial-packet-name": i.commandEditor.packetName,
|
|
4823
4838
|
"cmd-string": i.commandEditor.cmdString,
|
|
4824
4839
|
"send-disabled": !1,
|
|
4825
4840
|
"show-command-button": !1,
|
|
4826
|
-
onBuildCmd: e[39] || (e[39] = (m) =>
|
|
4841
|
+
onBuildCmd: e[39] || (e[39] = (m) => s.insertCommand(m))
|
|
4827
4842
|
}, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
|
|
4828
4843
|
]),
|
|
4829
4844
|
_: 1
|
|
4830
4845
|
}),
|
|
4831
|
-
|
|
4846
|
+
n(g, null, {
|
|
4832
4847
|
default: l(() => [
|
|
4833
|
-
|
|
4834
|
-
|
|
4848
|
+
n(_),
|
|
4849
|
+
n(c, {
|
|
4835
4850
|
variant: "outlined",
|
|
4836
|
-
onClick:
|
|
4851
|
+
onClick: s.closeCommandDialog
|
|
4837
4852
|
}, {
|
|
4838
4853
|
default: l(() => [...e[50] || (e[50] = [
|
|
4839
4854
|
y(" Cancel ", -1)
|
|
4840
4855
|
])]),
|
|
4841
4856
|
_: 1
|
|
4842
4857
|
}, 8, ["onClick"]),
|
|
4843
|
-
|
|
4858
|
+
n(c, {
|
|
4844
4859
|
color: "primary",
|
|
4845
4860
|
variant: "flat",
|
|
4846
|
-
onClick: e[40] || (e[40] = (m) =>
|
|
4861
|
+
onClick: e[40] || (e[40] = (m) => s.insertCommand())
|
|
4847
4862
|
}, {
|
|
4848
4863
|
default: l(() => [...e[51] || (e[51] = [
|
|
4849
4864
|
y(" Insert Command ", -1)
|
|
@@ -4859,17 +4874,17 @@ function ts(t, e, n, r, i, o) {
|
|
|
4859
4874
|
]),
|
|
4860
4875
|
_: 1
|
|
4861
4876
|
}, 8, ["modelValue", "onKeydown"]),
|
|
4862
|
-
|
|
4877
|
+
n(H, {
|
|
4863
4878
|
modelValue: i.showScripts,
|
|
4864
4879
|
"onUpdate:modelValue": e[43] || (e[43] = (m) => i.showScripts = m)
|
|
4865
4880
|
}, {
|
|
4866
4881
|
default: l(() => [
|
|
4867
|
-
|
|
4882
|
+
n(A, { class: "pb-11 pt-5 px-5" }, {
|
|
4868
4883
|
default: l(() => [
|
|
4869
4884
|
i.showScripts ? (S(), U(M, {
|
|
4870
4885
|
key: 0,
|
|
4871
4886
|
"connect-in-new-tab": !!i.fileModified,
|
|
4872
|
-
onDisconnect:
|
|
4887
|
+
onDisconnect: s.scriptDisconnect,
|
|
4873
4888
|
onClose: e[42] || (e[42] = () => {
|
|
4874
4889
|
i.showScripts = !1;
|
|
4875
4890
|
})
|
|
@@ -4882,11 +4897,11 @@ function ts(t, e, n, r, i, o) {
|
|
|
4882
4897
|
}, 8, ["modelValue"])
|
|
4883
4898
|
], 64);
|
|
4884
4899
|
}
|
|
4885
|
-
const
|
|
4900
|
+
const ks = /* @__PURE__ */ K(Ai, [["render", is], ["__scopeId", "data-v-f00c84ce"]]);
|
|
4886
4901
|
export {
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4902
|
+
Ut as RunningScripts,
|
|
4903
|
+
zt as ScriptLogMessages,
|
|
4904
|
+
ks as ScriptRunner,
|
|
4905
|
+
Vi as SuiteRunner
|
|
4891
4906
|
};
|
|
4892
4907
|
//# sourceMappingURL=scriptrunner.js.map
|