@openc3/vue-common 6.10.1 → 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-DvCX-1Om.cjs → ArrayWidget-ByKRAWXn.cjs} +2 -2
- package/dist/{ArrayWidget-DvCX-1Om.cjs.map → ArrayWidget-ByKRAWXn.cjs.map} +1 -1
- package/dist/{ArrayWidget-DQRQ7dPa.js → ArrayWidget-CR7Wpw3N.js} +4 -4
- package/dist/{ArrayWidget-DQRQ7dPa.js.map → ArrayWidget-CR7Wpw3N.js.map} +1 -1
- package/dist/{ArrayplotWidget-DA4SCxEg.cjs → ArrayplotWidget-Cty7KQ_h.cjs} +2 -2
- package/dist/{ArrayplotWidget-DA4SCxEg.cjs.map → ArrayplotWidget-Cty7KQ_h.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-BeSfz3MR.js → ArrayplotWidget-DDEd-jRJ.js} +3 -3
- package/dist/{ArrayplotWidget-BeSfz3MR.js.map → ArrayplotWidget-DDEd-jRJ.js.map} +1 -1
- package/dist/{BarColumn-C5VfAEOx.cjs → BarColumn-BZSUr33b.cjs} +2 -2
- package/dist/{BarColumn-C5VfAEOx.cjs.map → BarColumn-BZSUr33b.cjs.map} +1 -1
- package/dist/{BarColumn-BdIaQfOz.js → BarColumn-XWs-3Cwb.js} +3 -3
- package/dist/{BarColumn-BdIaQfOz.js.map → BarColumn-XWs-3Cwb.js.map} +1 -1
- package/dist/{BlockWidget-C33RBqR2.cjs → BlockWidget-BDzoqpxO.cjs} +2 -2
- package/dist/{BlockWidget-C33RBqR2.cjs.map → BlockWidget-BDzoqpxO.cjs.map} +1 -1
- package/dist/{BlockWidget-DSFKrUxl.js → BlockWidget-CfFgdNSv.js} +4 -4
- package/dist/{BlockWidget-DSFKrUxl.js.map → BlockWidget-CfFgdNSv.js.map} +1 -1
- package/dist/{ButtonWidget-DV33-G5z.cjs → ButtonWidget-BBMDS_YF.cjs} +2 -2
- package/dist/{ButtonWidget-DV33-G5z.cjs.map → ButtonWidget-BBMDS_YF.cjs.map} +1 -1
- package/dist/{ButtonWidget-CFbjdxSr.js → ButtonWidget-BaSvtElA.js} +4 -4
- package/dist/{ButtonWidget-CFbjdxSr.js.map → ButtonWidget-BaSvtElA.js.map} +1 -1
- package/dist/{CanvasWidget-CO5Ql5FM.cjs → CanvasWidget-CFNpgqfW.cjs} +2 -2
- package/dist/{CanvasWidget-CO5Ql5FM.cjs.map → CanvasWidget-CFNpgqfW.cjs.map} +1 -1
- package/dist/{CanvasWidget-BloYxuKE.js → CanvasWidget-DcwDi5Zk.js} +2 -2
- package/dist/{CanvasWidget-BloYxuKE.js.map → CanvasWidget-DcwDi5Zk.js.map} +1 -1
- package/dist/{CanvasdotWidget-CZxUOPRd.js → CanvasdotWidget--awMOWyz.js} +2 -2
- package/dist/{CanvasdotWidget-CZxUOPRd.js.map → CanvasdotWidget--awMOWyz.js.map} +1 -1
- package/dist/{CanvasdotWidget-v73CXaR2.cjs → CanvasdotWidget-BZ9TrTvw.cjs} +2 -2
- package/dist/{CanvasdotWidget-v73CXaR2.cjs.map → CanvasdotWidget-BZ9TrTvw.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-CCwRuLep.cjs → CanvasimageWidget-Dk15uRRu.cjs} +2 -2
- package/dist/{CanvasimageWidget-CCwRuLep.cjs.map → CanvasimageWidget-Dk15uRRu.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-ULQq3nqZ.js → CanvasimageWidget-YP1pCtvb.js} +3 -3
- package/dist/{CanvasimageWidget-ULQq3nqZ.js.map → CanvasimageWidget-YP1pCtvb.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-NZYl_3mA.cjs → CanvasimagevalueWidget-BQHjJCuq.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-NZYl_3mA.cjs.map → CanvasimagevalueWidget-BQHjJCuq.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-jFCVXYhi.js → CanvasimagevalueWidget-CjVHb2uj.js} +3 -3
- package/dist/{CanvasimagevalueWidget-jFCVXYhi.js.map → CanvasimagevalueWidget-CjVHb2uj.js.map} +1 -1
- package/dist/{CanvaslabelWidget-DQhBI1vZ.js → CanvaslabelWidget-DoMplTTO.js} +2 -2
- package/dist/{CanvaslabelWidget-DQhBI1vZ.js.map → CanvaslabelWidget-DoMplTTO.js.map} +1 -1
- package/dist/{CanvaslabelWidget-XfEANCQ-.cjs → CanvaslabelWidget-Dw1YmiY0.cjs} +2 -2
- package/dist/{CanvaslabelWidget-XfEANCQ-.cjs.map → CanvaslabelWidget-Dw1YmiY0.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-CJCZdHId.cjs → CanvaslabelvalueWidget-BYmsu9r_.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-CJCZdHId.cjs.map → CanvaslabelvalueWidget-BYmsu9r_.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-C4REgztL.js → CanvaslabelvalueWidget-Dyo_ogHn.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-C4REgztL.js.map → CanvaslabelvalueWidget-Dyo_ogHn.js.map} +1 -1
- package/dist/{CanvaslineWidget-S4PCEvZM.js → CanvaslineWidget-D7W1TIxm.js} +2 -2
- package/dist/{CanvaslineWidget-S4PCEvZM.js.map → CanvaslineWidget-D7W1TIxm.js.map} +1 -1
- package/dist/{CanvaslineWidget-DycxDsyJ.cjs → CanvaslineWidget-tm194dw1.cjs} +2 -2
- package/dist/{CanvaslineWidget-DycxDsyJ.cjs.map → CanvaslineWidget-tm194dw1.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-597khOSA.js → CanvaslinevalueWidget-BOZyJuLE.js} +2 -2
- package/dist/{CanvaslinevalueWidget-597khOSA.js.map → CanvaslinevalueWidget-BOZyJuLE.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-bChpy38C.cjs → CanvaslinevalueWidget-DM5c-ciY.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-bChpy38C.cjs.map → CanvaslinevalueWidget-DM5c-ciY.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-BcblKat3.js → CheckbuttonWidget-B1E4BC6v.js} +2 -2
- package/dist/{CheckbuttonWidget-BcblKat3.js.map → CheckbuttonWidget-B1E4BC6v.js.map} +1 -1
- package/dist/{CheckbuttonWidget-BwDttJTf.cjs → CheckbuttonWidget-BSvTWD3x.cjs} +2 -2
- package/dist/{CheckbuttonWidget-BwDttJTf.cjs.map → CheckbuttonWidget-BSvTWD3x.cjs.map} +1 -1
- package/dist/{ClassificationBanners-CEzDn5cM.cjs → ClassificationBanners-CzZoKcRy.cjs} +2 -2
- package/dist/{ClassificationBanners-CEzDn5cM.cjs.map → ClassificationBanners-CzZoKcRy.cjs.map} +1 -1
- package/dist/{ClassificationBanners-CS4GUeYv.js → ClassificationBanners-DQeVwmYp.js} +2 -2
- package/dist/{ClassificationBanners-CS4GUeYv.js.map → ClassificationBanners-DQeVwmYp.js.map} +1 -1
- package/dist/{ComboboxWidget-BMcHS4g5.js → ComboboxWidget-BExUBH57.js} +2 -2
- package/dist/{ComboboxWidget-BMcHS4g5.js.map → ComboboxWidget-BExUBH57.js.map} +1 -1
- package/dist/{ComboboxWidget-DkBtLQ41.cjs → ComboboxWidget-B_KAnIVB.cjs} +2 -2
- package/dist/{ComboboxWidget-DkBtLQ41.cjs.map → ComboboxWidget-B_KAnIVB.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-CVLyYtng.js → CriticalCmdDialog-BtzhxuZi.js} +2 -2
- package/dist/{CriticalCmdDialog-CVLyYtng.js.map → CriticalCmdDialog-BtzhxuZi.js.map} +1 -1
- package/dist/{CriticalCmdDialog-C4DRtDnA.cjs → CriticalCmdDialog-CeohXoAG.cjs} +2 -2
- package/dist/{CriticalCmdDialog-C4DRtDnA.cjs.map → CriticalCmdDialog-CeohXoAG.cjs.map} +1 -1
- package/dist/{DateWidget-BpnMzSBn.js → DateWidget-_ZmPsi2l.js} +2 -2
- package/dist/{DateWidget-BpnMzSBn.js.map → DateWidget-_ZmPsi2l.js.map} +1 -1
- package/dist/{DateWidget-CRFiLyxD.cjs → DateWidget-kTJBAHVp.cjs} +2 -2
- package/dist/{DateWidget-CRFiLyxD.cjs.map → DateWidget-kTJBAHVp.cjs.map} +1 -1
- package/dist/{DetailsDialog-Brv3nVs3.cjs → DetailsDialog-Bc_VEG95.cjs} +2 -2
- package/dist/{DetailsDialog-Brv3nVs3.cjs.map → DetailsDialog-Bc_VEG95.cjs.map} +1 -1
- package/dist/{DetailsDialog-q9piPmHq.js → DetailsDialog-Bq7SS7bc.js} +2 -2
- package/dist/{DetailsDialog-q9piPmHq.js.map → DetailsDialog-Bq7SS7bc.js.map} +1 -1
- package/dist/{EventListDialog-DXIYmkWb.cjs → EventListDialog-Dycx70tY.cjs} +2 -2
- package/dist/{EventListDialog-DXIYmkWb.cjs.map → EventListDialog-Dycx70tY.cjs.map} +1 -1
- package/dist/{EventListDialog-BlcxcO8a.js → EventListDialog-jdNF3szO.js} +3 -3
- package/dist/{EventListDialog-BlcxcO8a.js.map → EventListDialog-jdNF3szO.js.map} +1 -1
- package/dist/{FormatvalueWidget-Cm-HmAmw.js → FormatvalueWidget-4C0vrL2i.js} +3 -3
- package/dist/{FormatvalueWidget-Cm-HmAmw.js.map → FormatvalueWidget-4C0vrL2i.js.map} +1 -1
- package/dist/{FormatvalueWidget-AXH-VW-A.cjs → FormatvalueWidget-CVoJgFJA.cjs} +2 -2
- package/dist/{FormatvalueWidget-AXH-VW-A.cjs.map → FormatvalueWidget-CVoJgFJA.cjs.map} +1 -1
- package/dist/{Graph-BEodMaxQ.js → Graph-B7KPo9Ul.js} +3 -3
- package/dist/{Graph-BEodMaxQ.js.map → Graph-B7KPo9Ul.js.map} +1 -1
- package/dist/{Graph-wDFY6Kd7.cjs → Graph-C9FS6KR3.cjs} +2 -2
- package/dist/{Graph-wDFY6Kd7.cjs.map → Graph-C9FS6KR3.cjs.map} +1 -1
- package/dist/{GraphWidget-CAADBFV-.js → GraphWidget-BpkPpAbd.js} +2 -2
- package/dist/{GraphWidget-CAADBFV-.js.map → GraphWidget-BpkPpAbd.js.map} +1 -1
- package/dist/{GraphWidget-B878ArE1.cjs → GraphWidget-D3HueIZi.cjs} +2 -2
- package/dist/{GraphWidget-B878ArE1.cjs.map → GraphWidget-D3HueIZi.cjs.map} +1 -1
- package/dist/{HorizontalWidget-D2lXnQqQ.cjs → HorizontalWidget-CN6goWHY.cjs} +2 -2
- package/dist/{HorizontalWidget-D2lXnQqQ.cjs.map → HorizontalWidget-CN6goWHY.cjs.map} +1 -1
- package/dist/{HorizontalWidget-NcXIXxh7.js → HorizontalWidget-DbEQYjFC.js} +2 -2
- package/dist/{HorizontalWidget-NcXIXxh7.js.map → HorizontalWidget-DbEQYjFC.js.map} +1 -1
- package/dist/{HorizontalboxWidget-CW9XX4uH.js → HorizontalboxWidget-CTomf_Iy.js} +5 -5
- package/dist/{HorizontalboxWidget-CW9XX4uH.js.map → HorizontalboxWidget-CTomf_Iy.js.map} +1 -1
- package/dist/{HorizontalboxWidget-BGzl7-Rt.cjs → HorizontalboxWidget-ysq7slso.cjs} +2 -2
- package/dist/{HorizontalboxWidget-BGzl7-Rt.cjs.map → HorizontalboxWidget-ysq7slso.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-Cu2dDt7k.js → HorizontallineWidget-B7xx7ofY.js} +2 -2
- package/dist/{HorizontallineWidget-Cu2dDt7k.js.map → HorizontallineWidget-B7xx7ofY.js.map} +1 -1
- package/dist/{HorizontallineWidget-x2u6MQNz.cjs → HorizontallineWidget-BgXZZymr.cjs} +2 -2
- package/dist/{HorizontallineWidget-x2u6MQNz.cjs.map → HorizontallineWidget-BgXZZymr.cjs.map} +1 -1
- package/dist/{IframeWidget-BBU3MkSq.js → IframeWidget-DK7rbULe.js} +2 -2
- package/dist/{IframeWidget-BBU3MkSq.js.map → IframeWidget-DK7rbULe.js.map} +1 -1
- package/dist/{IframeWidget-B5simCWn.cjs → IframeWidget-fV9e-Nm1.cjs} +2 -2
- package/dist/{IframeWidget-B5simCWn.cjs.map → IframeWidget-fV9e-Nm1.cjs.map} +1 -1
- package/dist/{ImageLoader-XAGgjKkq.js → ImageLoader-C9rN_pSY.js} +2 -2
- package/dist/{ImageLoader-XAGgjKkq.js.map → ImageLoader-C9rN_pSY.js.map} +1 -1
- package/dist/{ImageLoader-Dj3MZVq9.cjs → ImageLoader-CJxiBXAL.cjs} +2 -2
- package/dist/{ImageLoader-Dj3MZVq9.cjs.map → ImageLoader-CJxiBXAL.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-UByjeO63.js → ImageviewerWidget-6d6Kl3W_.js} +2 -2
- package/dist/{ImageviewerWidget-UByjeO63.js.map → ImageviewerWidget-6d6Kl3W_.js.map} +1 -1
- package/dist/{ImageviewerWidget-BtuiORhN.cjs → ImageviewerWidget-CULuNsiD.cjs} +2 -2
- package/dist/{ImageviewerWidget-BtuiORhN.cjs.map → ImageviewerWidget-CULuNsiD.cjs.map} +1 -1
- package/dist/{InterfacesTab-B1CwBWFu.cjs → InterfacesTab-0pmK3KNu.cjs} +2 -2
- package/dist/{InterfacesTab-B1CwBWFu.cjs.map → InterfacesTab-0pmK3KNu.cjs.map} +1 -1
- package/dist/{InterfacesTab-6hli9fcg.js → InterfacesTab-BCqTanhV.js} +3 -3
- package/dist/{InterfacesTab-6hli9fcg.js.map → InterfacesTab-BCqTanhV.js.map} +1 -1
- package/dist/{LabelWidget-BsOpolUL.js → LabelWidget-D71FfOSw.js} +2 -2
- package/dist/{LabelWidget-BsOpolUL.js.map → LabelWidget-D71FfOSw.js.map} +1 -1
- package/dist/{LabelWidget-X4cBbl5N.cjs → LabelWidget-DdZz2NWv.cjs} +2 -2
- package/dist/{LabelWidget-X4cBbl5N.cjs.map → LabelWidget-DdZz2NWv.cjs.map} +1 -1
- package/dist/{LabelledWidget-DaHqSURc.cjs → LabelledWidget-BZ319slb.cjs} +2 -2
- package/dist/{LabelledWidget-DaHqSURc.cjs.map → LabelledWidget-BZ319slb.cjs.map} +1 -1
- package/dist/{LabelledWidget-DVOGpgZ-.js → LabelledWidget-D2ir5kVU.js} +4 -4
- package/dist/{LabelledWidget-DVOGpgZ-.js.map → LabelledWidget-D2ir5kVU.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-BeE9fDs6.js → LabelprogressbarWidget-C4_YbROz.js} +4 -4
- package/dist/{LabelprogressbarWidget-BeE9fDs6.js.map → LabelprogressbarWidget-C4_YbROz.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-Cz3nXacL.cjs → LabelprogressbarWidget-LyevJNuz.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-Cz3nXacL.cjs.map → LabelprogressbarWidget-LyevJNuz.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-Bns8kwBj.cjs → LabelsparklineWidget-Cbug97Ne.cjs} +2 -2
- package/dist/{LabelsparklineWidget-Bns8kwBj.cjs.map → LabelsparklineWidget-Cbug97Ne.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-Bj7trKML.js → LabelsparklineWidget-CdZ_pM2B.js} +4 -4
- package/dist/{LabelsparklineWidget-Bj7trKML.js.map → LabelsparklineWidget-CdZ_pM2B.js.map} +1 -1
- package/dist/{LabelvalueWidget-Dwqsh5o2.js → LabelvalueWidget-BS0EPY5h.js} +4 -4
- package/dist/{LabelvalueWidget-Dwqsh5o2.js.map → LabelvalueWidget-BS0EPY5h.js.map} +1 -1
- package/dist/{LabelvalueWidget-D-sncwem.cjs → LabelvalueWidget-DSHwAKma.cjs} +2 -2
- package/dist/{LabelvalueWidget-D-sncwem.cjs.map → LabelvalueWidget-DSHwAKma.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-DmqG8dzJ.cjs → LabelvaluedescWidget-3lwQxkKj.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-DmqG8dzJ.cjs.map → LabelvaluedescWidget-3lwQxkKj.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-Cfu2vuja.js → LabelvaluedescWidget-Cpr8_Voq.js} +5 -5
- package/dist/{LabelvaluedescWidget-Cfu2vuja.js.map → LabelvaluedescWidget-Cpr8_Voq.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DYV68AJ_.js → LabelvaluelimitsbarWidget-DTcYbEQS.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-DYV68AJ_.js.map → LabelvaluelimitsbarWidget-DTcYbEQS.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-_l7xjrX9.cjs → LabelvaluelimitsbarWidget-DbO_Q5ex.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-_l7xjrX9.cjs.map → LabelvaluelimitsbarWidget-DbO_Q5ex.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-D0WEVZMc.cjs → LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-D0WEVZMc.cjs.map → LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-CtaoTixt.js → LabelvaluelimitscolumnWidget-D0ltQ9Ta.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-CtaoTixt.js.map → LabelvaluelimitscolumnWidget-D0ltQ9Ta.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-BZTEfPQh.cjs → LabelvaluerangebarWidget-B6_alHq4.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-BZTEfPQh.cjs.map → LabelvaluerangebarWidget-B6_alHq4.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-3EaUB6E6.js → LabelvaluerangebarWidget-O8IHjvHs.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-3EaUB6E6.js.map → LabelvaluerangebarWidget-O8IHjvHs.js.map} +1 -1
- package/dist/Layout-DDewLzbI.cjs +2 -0
- package/dist/{Layout-U0MXDxLO.cjs.map → Layout-DDewLzbI.cjs.map} +1 -1
- package/dist/{Layout-DNR3xnku.js → Layout-DW5yNlp7.js} +2 -2
- package/dist/{Layout-DNR3xnku.js.map → Layout-DW5yNlp7.js.map} +1 -1
- package/dist/{LedWidget-MAyRDM2n.cjs → LedWidget-Cif7vC7q.cjs} +2 -2
- package/dist/{LedWidget-MAyRDM2n.cjs.map → LedWidget-Cif7vC7q.cjs.map} +1 -1
- package/dist/{LedWidget-Gi6GXtrW.js → LedWidget-DUvJ2v8k.js} +4 -4
- package/dist/{LedWidget-Gi6GXtrW.js.map → LedWidget-DUvJ2v8k.js.map} +1 -1
- package/dist/{LimitsbarWidget-BTZQY9XQ.js → LimitsbarWidget-BehZv0-k.js} +2 -2
- package/dist/{LimitsbarWidget-BTZQY9XQ.js.map → LimitsbarWidget-BehZv0-k.js.map} +1 -1
- package/dist/{LimitsbarWidget-ytyfCphX.cjs → LimitsbarWidget-BodNPbuH.cjs} +2 -2
- package/dist/{LimitsbarWidget-ytyfCphX.cjs.map → LimitsbarWidget-BodNPbuH.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-CeZYYSQn.cjs → LimitscolorWidget-DPhymKgB.cjs} +2 -2
- package/dist/{LimitscolorWidget-CeZYYSQn.cjs.map → LimitscolorWidget-DPhymKgB.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-CFnmvlrA.js → LimitscolorWidget-FXT0ZPPH.js} +2 -2
- package/dist/{LimitscolorWidget-CFnmvlrA.js.map → LimitscolorWidget-FXT0ZPPH.js.map} +1 -1
- package/dist/{LimitscolumnWidget-CXzLYznR.cjs → LimitscolumnWidget-C5yozwf0.cjs} +2 -2
- package/dist/{LimitscolumnWidget-CXzLYznR.cjs.map → LimitscolumnWidget-C5yozwf0.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-DSsz36tT.js → LimitscolumnWidget-CjBy-CCI.js} +2 -2
- package/dist/{LimitscolumnWidget-DSsz36tT.js.map → LimitscolumnWidget-CjBy-CCI.js.map} +1 -1
- package/dist/{LinegraphWidget-WVSJOuTE.cjs → LinegraphWidget-dO_B0T3E.cjs} +2 -2
- package/dist/{LinegraphWidget-WVSJOuTE.cjs.map → LinegraphWidget-dO_B0T3E.cjs.map} +1 -1
- package/dist/{LinegraphWidget-CeBijgDo.js → LinegraphWidget-lmu_tFKd.js} +4 -4
- package/dist/{LinegraphWidget-CeBijgDo.js.map → LinegraphWidget-lmu_tFKd.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-COWMt_-r.cjs → MatrixbycolumnsWidget-BLkwvpMk.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-COWMt_-r.cjs.map → MatrixbycolumnsWidget-BLkwvpMk.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-DX9uhjAv.js → MatrixbycolumnsWidget-CCF7rCkV.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-DX9uhjAv.js.map → MatrixbycolumnsWidget-CCF7rCkV.js.map} +1 -1
- package/dist/{MicroservicesTab-BSSCh5Ss.js → MicroservicesTab-rxOATXLO.js} +3 -3
- package/dist/{MicroservicesTab-BSSCh5Ss.js.map → MicroservicesTab-rxOATXLO.js.map} +1 -1
- package/dist/{MicroservicesTab-Btw8r_9N.cjs → MicroservicesTab-uesXuuM4.cjs} +2 -2
- package/dist/{MicroservicesTab-Btw8r_9N.cjs.map → MicroservicesTab-uesXuuM4.cjs.map} +1 -1
- package/dist/{Openc3Screen-DIN4KVsw.cjs → Openc3Screen-CzD9BB0M.cjs} +2 -2
- package/dist/{Openc3Screen-DIN4KVsw.cjs.map → Openc3Screen-CzD9BB0M.cjs.map} +1 -1
- package/dist/{Openc3Screen-iW_gaikc.js → Openc3Screen-DcIIUO63.js} +3 -3
- package/dist/{Openc3Screen-iW_gaikc.js.map → Openc3Screen-DcIIUO63.js.map} +1 -1
- package/dist/{OutputDialog-BMzp6wy3.js → OutputDialog-CNH74LpJ.js} +2 -2
- package/dist/{OutputDialog-BMzp6wy3.js.map → OutputDialog-CNH74LpJ.js.map} +1 -1
- package/dist/{OutputDialog-CKObLICh.cjs → OutputDialog-QIabyvK1.cjs} +2 -2
- package/dist/{OutputDialog-CKObLICh.cjs.map → OutputDialog-QIabyvK1.cjs.map} +1 -1
- package/dist/{PackagesTab-BascLTCK.js → PackagesTab-BE6W7Aru.js} +3 -3
- package/dist/{PackagesTab-BascLTCK.js.map → PackagesTab-BE6W7Aru.js.map} +1 -1
- package/dist/{PackagesTab-D_1kbMkk.cjs → PackagesTab-PEPT4CQu.cjs} +2 -2
- package/dist/{PackagesTab-D_1kbMkk.cjs.map → PackagesTab-PEPT4CQu.cjs.map} +1 -1
- package/dist/{PluginsTab-Yz9HZqpp.js → PluginsTab-B_Pf2A9c.js} +4 -4
- package/dist/{PluginsTab-Yz9HZqpp.js.map → PluginsTab-B_Pf2A9c.js.map} +1 -1
- package/dist/{PluginsTab-CjYoMrbj.cjs → PluginsTab-DXf9zX0h.cjs} +2 -2
- package/dist/{PluginsTab-CjYoMrbj.cjs.map → PluginsTab-DXf9zX0h.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-DJepvOip.js → ProgressbarWidget-B5WN658S.js} +2 -2
- package/dist/{ProgressbarWidget-DJepvOip.js.map → ProgressbarWidget-B5WN658S.js.map} +1 -1
- package/dist/{ProgressbarWidget-BUSOhcZ3.cjs → ProgressbarWidget-D2NHSJny.cjs} +2 -2
- package/dist/{ProgressbarWidget-BUSOhcZ3.cjs.map → ProgressbarWidget-D2NHSJny.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-4e8ROIfg.js → RadiobuttonWidget-B_3nys46.js} +2 -2
- package/dist/{RadiobuttonWidget-4e8ROIfg.js.map → RadiobuttonWidget-B_3nys46.js.map} +1 -1
- package/dist/{RadiobuttonWidget-D4Fka1eN.cjs → RadiobuttonWidget-DkG9GtAy.cjs} +2 -2
- package/dist/{RadiobuttonWidget-D4Fka1eN.cjs.map → RadiobuttonWidget-DkG9GtAy.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-CUucj6aT.js → RadiogroupWidget-BiMIL9li.js} +2 -2
- package/dist/{RadiogroupWidget-CUucj6aT.js.map → RadiogroupWidget-BiMIL9li.js.map} +1 -1
- package/dist/{RadiogroupWidget-DU9G6qLq.cjs → RadiogroupWidget-BnUjXU28.cjs} +2 -2
- package/dist/{RadiogroupWidget-DU9G6qLq.cjs.map → RadiogroupWidget-BnUjXU28.cjs.map} +1 -1
- package/dist/{RangebarWidget-DlMJo2o3.cjs → RangebarWidget-CJgtAk5z.cjs} +2 -2
- package/dist/{RangebarWidget-DlMJo2o3.cjs.map → RangebarWidget-CJgtAk5z.cjs.map} +1 -1
- package/dist/{RangebarWidget-Bu4rqlrx.js → RangebarWidget-Dn0GASdi.js} +2 -2
- package/dist/{RangebarWidget-Bu4rqlrx.js.map → RangebarWidget-Dn0GASdi.js.map} +1 -1
- package/dist/{RedisTab-C00rFmdl.js → RedisTab-BsKrL4fD.js} +2 -2
- package/dist/{RedisTab-C00rFmdl.js.map → RedisTab-BsKrL4fD.js.map} +1 -1
- package/dist/{RedisTab-Dz4m_JfV.cjs → RedisTab-C1yaDRSt.cjs} +2 -2
- package/dist/{RedisTab-Dz4m_JfV.cjs.map → RedisTab-C1yaDRSt.cjs.map} +1 -1
- package/dist/{RollupWidget-D-Dx6Dkx.cjs → RollupWidget-B2pGGoET.cjs} +2 -2
- package/dist/{RollupWidget-D-Dx6Dkx.cjs.map → RollupWidget-B2pGGoET.cjs.map} +1 -1
- package/dist/{RollupWidget-ByLvEEau.js → RollupWidget-b62qcG5K.js} +2 -2
- package/dist/{RollupWidget-ByLvEEau.js.map → RollupWidget-b62qcG5K.js.map} +1 -1
- package/dist/{RoutersTab-CyjPaVVb.cjs → RoutersTab-8wGbiPCk.cjs} +2 -2
- package/dist/{RoutersTab-CyjPaVVb.cjs.map → RoutersTab-8wGbiPCk.cjs.map} +1 -1
- package/dist/{RoutersTab-CEe4oS0x.js → RoutersTab-EHz4wDCn.js} +3 -3
- package/dist/{RoutersTab-CEe4oS0x.js.map → RoutersTab-EHz4wDCn.js.map} +1 -1
- package/dist/{ScriptChooser-B83Pgq2H.cjs → ScriptChooser-CtV7dDJS.cjs} +2 -2
- package/dist/{ScriptChooser-B83Pgq2H.cjs.map → ScriptChooser-CtV7dDJS.cjs.map} +1 -1
- package/dist/{ScriptChooser-CbVbI0x-.js → ScriptChooser-DMPY3m8a.js} +4 -4
- package/dist/{ScriptChooser-CbVbI0x-.js.map → ScriptChooser-DMPY3m8a.js.map} +1 -1
- package/dist/{ScrollwindowWidget-0UcfntpY.cjs → ScrollwindowWidget-ByJRy528.cjs} +2 -2
- package/dist/{ScrollwindowWidget-0UcfntpY.cjs.map → ScrollwindowWidget-ByJRy528.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-CXJ9QGN1.js → ScrollwindowWidget-Dn29gs-U.js} +3 -3
- package/dist/{ScrollwindowWidget-CXJ9QGN1.js.map → ScrollwindowWidget-Dn29gs-U.js.map} +1 -1
- package/dist/{SecretsTab-DFrxV8Q8.js → SecretsTab-Cbt_r-1I.js} +2 -2
- package/dist/{SecretsTab-DFrxV8Q8.js.map → SecretsTab-Cbt_r-1I.js.map} +1 -1
- package/dist/{SecretsTab-B07A5MeK.cjs → SecretsTab-DSMFodJM.cjs} +2 -2
- package/dist/{SecretsTab-B07A5MeK.cjs.map → SecretsTab-DSMFodJM.cjs.map} +1 -1
- package/dist/{SettingsTab-CDaG6VS1.cjs → SettingsTab-8Zeg3G0C.cjs} +2 -2
- package/dist/{SettingsTab-CDaG6VS1.cjs.map → SettingsTab-8Zeg3G0C.cjs.map} +1 -1
- package/dist/{SettingsTab-CpLxrjTc.js → SettingsTab-L5xbCAW_.js} +4 -4
- package/dist/{SettingsTab-CpLxrjTc.js.map → SettingsTab-L5xbCAW_.js.map} +1 -1
- package/dist/{SignalWidget-DhS8nGJu.cjs → SignalWidget-CEmQymzQ.cjs} +2 -2
- package/dist/{SignalWidget-DhS8nGJu.cjs.map → SignalWidget-CEmQymzQ.cjs.map} +1 -1
- package/dist/{SignalWidget-qvL2YZJA.js → SignalWidget-CLi6qask.js} +2 -2
- package/dist/{SignalWidget-qvL2YZJA.js.map → SignalWidget-CLi6qask.js.map} +1 -1
- package/dist/{SimpleTextDialog--iSWgPgq.js → SimpleTextDialog-8vDPDt6X.js} +2 -2
- package/dist/{SimpleTextDialog--iSWgPgq.js.map → SimpleTextDialog-8vDPDt6X.js.map} +1 -1
- package/dist/{SimpleTextDialog-tZ7qO1zq.cjs → SimpleTextDialog-CJ8pLBGz.cjs} +2 -2
- package/dist/{SimpleTextDialog-tZ7qO1zq.cjs.map → SimpleTextDialog-CJ8pLBGz.cjs.map} +1 -1
- package/dist/{SpacerWidget-CaWx41K7.js → SpacerWidget-BCA3gdap.js} +2 -2
- package/dist/{SpacerWidget-CaWx41K7.js.map → SpacerWidget-BCA3gdap.js.map} +1 -1
- package/dist/{SpacerWidget-CUrYZDLP.cjs → SpacerWidget-BJpqoaeP.cjs} +2 -2
- package/dist/{SpacerWidget-CUrYZDLP.cjs.map → SpacerWidget-BJpqoaeP.cjs.map} +1 -1
- package/dist/{SparklineWidget-BOnHnJOh.cjs → SparklineWidget-CIkMm4O-.cjs} +2 -2
- package/dist/{SparklineWidget-BOnHnJOh.cjs.map → SparklineWidget-CIkMm4O-.cjs.map} +1 -1
- package/dist/{SparklineWidget-BkNSRypJ.js → SparklineWidget-D8mb4zLt.js} +4 -4
- package/dist/{SparklineWidget-BkNSRypJ.js.map → SparklineWidget-D8mb4zLt.js.map} +1 -1
- package/dist/{TabbookWidget-MsrRG1vn.js → TabbookWidget-Bkt4g02d.js} +2 -2
- package/dist/{TabbookWidget-MsrRG1vn.js.map → TabbookWidget-Bkt4g02d.js.map} +1 -1
- package/dist/{TabbookWidget-BTvyYn7i.cjs → TabbookWidget-DqcScWwW.cjs} +2 -2
- package/dist/{TabbookWidget-BTvyYn7i.cjs.map → TabbookWidget-DqcScWwW.cjs.map} +1 -1
- package/dist/{TargetPacketItemChooser-CmjEcxN3.cjs → TargetPacketItemChooser-Cm6mQvhI.cjs} +2 -2
- package/dist/{TargetPacketItemChooser-CmjEcxN3.cjs.map → TargetPacketItemChooser-Cm6mQvhI.cjs.map} +1 -1
- package/dist/{TargetPacketItemChooser-oSQHf8Ht.js → TargetPacketItemChooser-DGcXvdTX.js} +2 -2
- package/dist/{TargetPacketItemChooser-oSQHf8Ht.js.map → TargetPacketItemChooser-DGcXvdTX.js.map} +1 -1
- package/dist/{TargetsTab-DwFb3_1K.cjs → TargetsTab-C4tQ1auc.cjs} +2 -2
- package/dist/{TargetsTab-DwFb3_1K.cjs.map → TargetsTab-C4tQ1auc.cjs.map} +1 -1
- package/dist/{TargetsTab-B6tf2hKl.js → TargetsTab-c-qMsGHh.js} +3 -3
- package/dist/{TargetsTab-B6tf2hKl.js.map → TargetsTab-c-qMsGHh.js.map} +1 -1
- package/dist/{TextboxWidget-CPmQEhMm.cjs → TextboxWidget-BcRfHcF6.cjs} +2 -2
- package/dist/{TextboxWidget-CPmQEhMm.cjs.map → TextboxWidget-BcRfHcF6.cjs.map} +1 -1
- package/dist/{TextboxWidget-DbwpPVGB.js → TextboxWidget-CR05wO-t.js} +4 -4
- package/dist/{TextboxWidget-DbwpPVGB.js.map → TextboxWidget-CR05wO-t.js.map} +1 -1
- package/dist/{TextfieldWidget-DzMlTMYW.js → TextfieldWidget-Be_Pz2bF.js} +2 -2
- package/dist/{TextfieldWidget-DzMlTMYW.js.map → TextfieldWidget-Be_Pz2bF.js.map} +1 -1
- package/dist/{TextfieldWidget-BzaNs7J4.cjs → TextfieldWidget-Ct1hZr2M.cjs} +2 -2
- package/dist/{TextfieldWidget-BzaNs7J4.cjs.map → TextfieldWidget-Ct1hZr2M.cjs.map} +1 -1
- package/dist/{TimeWidget-DksEVe5c.cjs → TimeWidget-3M7CQ893.cjs} +2 -2
- package/dist/{TimeWidget-DksEVe5c.cjs.map → TimeWidget-3M7CQ893.cjs.map} +1 -1
- package/dist/{TimeWidget-BHybAfg8.js → TimeWidget-Dy8zpkC6.js} +2 -2
- package/dist/{TimeWidget-BHybAfg8.js.map → TimeWidget-Dy8zpkC6.js.map} +1 -1
- package/dist/{TitleWidget-DL_sE5YE.js → TitleWidget-BcmxUDzM.js} +2 -2
- package/dist/{TitleWidget-DL_sE5YE.js.map → TitleWidget-BcmxUDzM.js.map} +1 -1
- package/dist/{TitleWidget-C7_pj0lU.cjs → TitleWidget-C1qzja9l.cjs} +2 -2
- package/dist/{TitleWidget-C7_pj0lU.cjs.map → TitleWidget-C1qzja9l.cjs.map} +1 -1
- package/dist/{ToolsTab-CXoxIck8.js → ToolsTab-Buklih4C.js} +3 -3
- package/dist/{ToolsTab-CXoxIck8.js.map → ToolsTab-Buklih4C.js.map} +1 -1
- package/dist/{ToolsTab-DTL8ujgd.cjs → ToolsTab-CbY2K86w.cjs} +2 -2
- package/dist/{ToolsTab-DTL8ujgd.cjs.map → ToolsTab-CbY2K86w.cjs.map} +1 -1
- package/dist/{TopBar-B8LJESUg.js → TopBar-D4C9DJcu.js} +2 -2
- package/dist/{TopBar-B8LJESUg.js.map → TopBar-D4C9DJcu.js.map} +1 -1
- package/dist/{TopBar-CGSMcenK.cjs → TopBar-HxaiWynT.cjs} +2 -2
- package/dist/{TopBar-CGSMcenK.cjs.map → TopBar-HxaiWynT.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CqnhQ8So.js → UpgradeToEnterpriseDialog-D0AGxldj.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-CqnhQ8So.js.map → UpgradeToEnterpriseDialog-D0AGxldj.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-Dv_egyCM.cjs → UpgradeToEnterpriseDialog-D8BkzmVD.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-Dv_egyCM.cjs.map → UpgradeToEnterpriseDialog-D8BkzmVD.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C3WTK6F-.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js} +6 -6
- 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-RGlL9jUF.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs} +67 -67
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-RGlL9jUF.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs.map} +1 -1
- package/dist/{VWidget-D06LY-Yc.js → VWidget-CBmUpKSV.js} +3 -3
- package/dist/{VWidget-D06LY-Yc.js.map → VWidget-CBmUpKSV.js.map} +1 -1
- package/dist/{VWidget-CTcOKw09.cjs → VWidget-DhGLFGS2.cjs} +2 -2
- package/dist/{VWidget-CTcOKw09.cjs.map → VWidget-DhGLFGS2.cjs.map} +1 -1
- package/dist/{ValueWidget-CGT0LV_n.js → ValueWidget-BxWrHkYY.js} +4 -4
- package/dist/{ValueWidget-CGT0LV_n.js.map → ValueWidget-BxWrHkYY.js.map} +1 -1
- package/dist/{ValueWidget-C2qn7lVq.cjs → ValueWidget-yuZ8tPzG.cjs} +2 -2
- package/dist/{ValueWidget-C2qn7lVq.cjs.map → ValueWidget-yuZ8tPzG.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-CmpyPO-1.js → ValuelimitsbarWidget-BdY02gqc.js} +4 -4
- package/dist/{ValuelimitsbarWidget-CmpyPO-1.js.map → ValuelimitsbarWidget-BdY02gqc.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-_lEKCmQl.cjs → ValuelimitsbarWidget-KsFz7ipK.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-_lEKCmQl.cjs.map → ValuelimitsbarWidget-KsFz7ipK.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-0urjo-hR.cjs → ValuelimitscolumnWidget-B0HGnyS5.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-0urjo-hR.cjs.map → ValuelimitscolumnWidget-B0HGnyS5.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-jzxrQd-f.js → ValuelimitscolumnWidget-CuJ6rqtC.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-jzxrQd-f.js.map → ValuelimitscolumnWidget-CuJ6rqtC.js.map} +1 -1
- package/dist/{ValuerangebarWidget-C8ckuAeh.js → ValuerangebarWidget-C5rolGDi.js} +4 -4
- package/dist/{ValuerangebarWidget-C8ckuAeh.js.map → ValuerangebarWidget-C5rolGDi.js.map} +1 -1
- package/dist/{ValuerangebarWidget-lXHRe4YZ.cjs → ValuerangebarWidget-CDJeamPr.cjs} +2 -2
- package/dist/{ValuerangebarWidget-lXHRe4YZ.cjs.map → ValuerangebarWidget-CDJeamPr.cjs.map} +1 -1
- package/dist/{VerticalWidget-qN82km_m.js → VerticalWidget-DsnEzKZ2.js} +2 -2
- package/dist/{VerticalWidget-qN82km_m.js.map → VerticalWidget-DsnEzKZ2.js.map} +1 -1
- package/dist/{VerticalWidget-XBSrdA2c.cjs → VerticalWidget-wuRCrd7Q.cjs} +2 -2
- package/dist/{VerticalWidget-XBSrdA2c.cjs.map → VerticalWidget-wuRCrd7Q.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-CiJZDlHJ.js → VerticalboxWidget-CzDgveBl.js} +5 -5
- package/dist/{VerticalboxWidget-CiJZDlHJ.js.map → VerticalboxWidget-CzDgveBl.js.map} +1 -1
- package/dist/{VerticalboxWidget-1FHkgmf0.cjs → VerticalboxWidget-D-3H1PYU.cjs} +2 -2
- package/dist/{VerticalboxWidget-1FHkgmf0.cjs.map → VerticalboxWidget-D-3H1PYU.cjs.map} +1 -1
- package/dist/{Widget-BwvnfXRa.cjs → Widget-CKianvfR.cjs} +2 -2
- package/dist/{Widget-BwvnfXRa.cjs.map → Widget-CKianvfR.cjs.map} +1 -1
- package/dist/{Widget-DXvVFSH5.js → Widget-VCl8Ts8s.js} +2 -2
- package/dist/{Widget-DXvVFSH5.js.map → Widget-VCl8Ts8s.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +12 -12
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +1 -1
- 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-DRNFiuf0.js → settings-DlX9yvJJ.js} +2 -2
- package/dist/{settings-DRNFiuf0.js.map → settings-DlX9yvJJ.js.map} +1 -1
- package/dist/{settings-s8NuYKD-.cjs → settings-sg_XHXQ-.cjs} +2 -2
- package/dist/{settings-s8NuYKD-.cjs.map → settings-sg_XHXQ-.cjs.map} +1 -1
- package/dist/tools/admin.cjs +1 -1
- package/dist/tools/admin.js +12 -12
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.js +4 -4
- 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 +774 -772
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +63 -63
- package/package.json +7 -7
- package/dist/Layout-U0MXDxLO.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C3WTK6F-.js.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
|
@@ -2,28 +2,28 @@ var it = Object.defineProperty;
|
|
|
2
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 { f as
|
|
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-
|
|
14
|
-
import { f as
|
|
13
|
+
import { O as ht, A as ft } from "../OutputDialog-CNH74LpJ.js";
|
|
14
|
+
import { f as Oe } from "../format-CVeawcIv.js";
|
|
15
15
|
import { a as gt } from "../index-3k1IXN1T.js";
|
|
16
16
|
import { u as vt } from "../useContainerHeight-BAw05dIa.js";
|
|
17
|
-
import { T as _t, A as Ee } from "../TopBar-
|
|
18
|
-
import { E as bt, C as wt } from "../ScriptChooser-
|
|
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
19
|
import { f as yt } from "../fileIcon-DqRHb1_Z.js";
|
|
20
|
-
import { C as kt } from "../CriticalCmdDialog-
|
|
21
|
-
import { a as St, O as xt, F as Ct } from "../Openc3Screen-
|
|
22
|
-
import { S as Vt } from "../SimpleTextDialog
|
|
23
|
-
import { _ as Et } from "../ClassificationBanners-
|
|
24
|
-
import "../purify.es-
|
|
25
|
-
import { E as Rt } from "../EventListDialog-
|
|
26
|
-
const
|
|
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 = {
|
|
27
27
|
components: { OutputDialog: ht },
|
|
28
28
|
mixins: [pt],
|
|
29
29
|
props: {
|
|
@@ -118,15 +118,15 @@ const Mt = {
|
|
|
118
118
|
getRunningScripts: function() {
|
|
119
119
|
this.runningLoading = !0;
|
|
120
120
|
const t = (this.runningPage - 1) * this.runningItemsPerPage;
|
|
121
|
-
|
|
121
|
+
O.get(
|
|
122
122
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
123
123
|
).then((e) => {
|
|
124
|
-
const
|
|
125
|
-
|
|
124
|
+
const o = e.data.items || [], r = /* @__PURE__ */ new Date();
|
|
125
|
+
o.forEach((i) => {
|
|
126
126
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
127
|
-
const
|
|
127
|
+
const s = new Date(i.start_time), d = r - s;
|
|
128
128
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
129
|
-
|
|
129
|
+
s,
|
|
130
130
|
this.timeZone
|
|
131
131
|
), d < 0)
|
|
132
132
|
i.duration = "N/A";
|
|
@@ -135,15 +135,15 @@ const Mt = {
|
|
|
135
135
|
else if (d < 6e4)
|
|
136
136
|
i.duration = `${Math.round(d / 1e3)}s`;
|
|
137
137
|
else if (d < 36e5) {
|
|
138
|
-
const
|
|
139
|
-
i.duration = `${
|
|
138
|
+
const p = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
139
|
+
i.duration = `${p}m ${c}s`;
|
|
140
140
|
} else {
|
|
141
|
-
const
|
|
142
|
-
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`;
|
|
143
143
|
}
|
|
144
144
|
} else
|
|
145
145
|
i.duration = "N/A";
|
|
146
|
-
}), this.runningScripts =
|
|
146
|
+
}), this.runningScripts = o, this.runningTotal = e.data.total || o.length, this.runningLoading = !1;
|
|
147
147
|
}).catch((e) => {
|
|
148
148
|
this.runningLoading = !1, this.$notify.caution({
|
|
149
149
|
title: "Error Loading Running Scripts",
|
|
@@ -160,11 +160,11 @@ const Mt = {
|
|
|
160
160
|
getCompletedScripts: function() {
|
|
161
161
|
this.completedLoading = !0;
|
|
162
162
|
const t = (this.completedPage - 1) * this.completedItemsPerPage;
|
|
163
|
-
|
|
163
|
+
O.get(
|
|
164
164
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
165
165
|
).then((e) => {
|
|
166
|
-
const
|
|
167
|
-
|
|
166
|
+
const o = e.data.items || [];
|
|
167
|
+
o.forEach((r) => {
|
|
168
168
|
if (r.user_display = `${r.user_full_name} (${r.username})`, r.start_time && r.end_time) {
|
|
169
169
|
const i = new Date(r.start_time), d = new Date(r.end_time) - i;
|
|
170
170
|
if (r.start_time_formatted = this.formatDateTimeHMS(
|
|
@@ -177,15 +177,15 @@ const Mt = {
|
|
|
177
177
|
else if (d < 6e4)
|
|
178
178
|
r.duration = `${Math.round(d / 1e3)}s`;
|
|
179
179
|
else if (d < 36e5) {
|
|
180
|
-
const
|
|
181
|
-
r.duration = `${
|
|
180
|
+
const p = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
181
|
+
r.duration = `${p}m ${c}s`;
|
|
182
182
|
} else {
|
|
183
|
-
const
|
|
184
|
-
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`;
|
|
185
185
|
}
|
|
186
186
|
} else
|
|
187
187
|
r.duration = "N/A";
|
|
188
|
-
}), this.completedScripts =
|
|
188
|
+
}), this.completedScripts = o, this.completedTotal = e.data.total || o.length, this.completedLoading = !1;
|
|
189
189
|
}).catch((e) => {
|
|
190
190
|
this.completedLoading = !1, this.$notify.caution({
|
|
191
191
|
title: "Error Loading Completed Scripts",
|
|
@@ -209,8 +209,8 @@ const Mt = {
|
|
|
209
209
|
params: { id: t.name }
|
|
210
210
|
};
|
|
211
211
|
if (this.connectInNewTab) {
|
|
212
|
-
let { href:
|
|
213
|
-
window.open(
|
|
212
|
+
let { href: o } = this.$router.resolve(e);
|
|
213
|
+
window.open(o, "_blank");
|
|
214
214
|
} else
|
|
215
215
|
this.$router.push(e), this.$emit("close");
|
|
216
216
|
},
|
|
@@ -222,7 +222,7 @@ const Mt = {
|
|
|
222
222
|
okText: "Stop",
|
|
223
223
|
cancelText: "Cancel"
|
|
224
224
|
}
|
|
225
|
-
).then((e) =>
|
|
225
|
+
).then((e) => O.post(`/script-api/running-script/${t.name}/delete`)).then((e) => {
|
|
226
226
|
this.$notify.normal({
|
|
227
227
|
body: `Stopped script: ${t.name} ${t.filename}`
|
|
228
228
|
}), this.getRunningScripts();
|
|
@@ -233,39 +233,39 @@ const Mt = {
|
|
|
233
233
|
});
|
|
234
234
|
},
|
|
235
235
|
viewScriptLog: function(t, e) {
|
|
236
|
-
let
|
|
237
|
-
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(
|
|
238
238
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
239
|
-
|
|
239
|
+
o
|
|
240
240
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
241
241
|
).then((r) => {
|
|
242
|
-
const i =
|
|
242
|
+
const i = o.split("/");
|
|
243
243
|
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(r.data.contents), this.showDialog = !0;
|
|
244
244
|
});
|
|
245
245
|
},
|
|
246
|
-
downloadScriptLog: function(t, e,
|
|
246
|
+
downloadScriptLog: function(t, e, o = "text") {
|
|
247
247
|
let r = null;
|
|
248
|
-
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(
|
|
249
249
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
250
250
|
r
|
|
251
251
|
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
252
252
|
).then((i) => {
|
|
253
|
-
const
|
|
253
|
+
const s = new Blob([window.atob(i.data.contents)], {
|
|
254
254
|
type: "application/json"
|
|
255
255
|
}), d = document.createElement("a");
|
|
256
|
-
d.href = URL.createObjectURL(
|
|
256
|
+
d.href = URL.createObjectURL(s), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
|
|
257
257
|
}).catch(() => {
|
|
258
258
|
this.$notify.caution({
|
|
259
259
|
title: `Unable to download log ${r}`,
|
|
260
260
|
body: `You may be able to download this log manually from the 'logs' bucket at ${r}`
|
|
261
261
|
}), this.downloadScript = null;
|
|
262
|
-
}) :
|
|
262
|
+
}) : O.get(
|
|
263
263
|
`/openc3-api/storage/download/${encodeURIComponent(
|
|
264
264
|
r
|
|
265
265
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
266
266
|
).then((i) => {
|
|
267
|
-
const
|
|
268
|
-
|
|
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;
|
|
269
269
|
}).catch(() => {
|
|
270
270
|
this.$notify.caution({
|
|
271
271
|
title: `Unable to download log ${r}`,
|
|
@@ -274,28 +274,28 @@ const Mt = {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
},
|
|
278
|
-
function It(t, e,
|
|
279
|
-
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");
|
|
280
280
|
return S(), D("div", null, [
|
|
281
|
-
|
|
281
|
+
n(j, {
|
|
282
282
|
flat: "",
|
|
283
283
|
class: "tab-card"
|
|
284
284
|
}, {
|
|
285
285
|
default: l(() => [
|
|
286
|
-
|
|
286
|
+
n(p, {
|
|
287
287
|
modelValue: i.activeTab,
|
|
288
288
|
"onUpdate:modelValue": e[0] || (e[0] = (I) => i.activeTab = I),
|
|
289
289
|
"bg-color": "var(--color-background-base-default)"
|
|
290
290
|
}, {
|
|
291
291
|
default: l(() => [
|
|
292
|
-
|
|
292
|
+
n(d, { value: "running" }, {
|
|
293
293
|
default: l(() => [...e[6] || (e[6] = [
|
|
294
294
|
y("Running Scripts", -1)
|
|
295
295
|
])]),
|
|
296
296
|
_: 1
|
|
297
297
|
}),
|
|
298
|
-
|
|
298
|
+
n(d, { value: "completed" }, {
|
|
299
299
|
default: l(() => [...e[7] || (e[7] = [
|
|
300
300
|
y("Completed Scripts", -1)
|
|
301
301
|
])]),
|
|
@@ -304,29 +304,29 @@ function It(t, e, n, r, i, o) {
|
|
|
304
304
|
]),
|
|
305
305
|
_: 1
|
|
306
306
|
}, 8, ["modelValue"]),
|
|
307
|
-
|
|
307
|
+
n(te, {
|
|
308
308
|
modelValue: i.activeTab,
|
|
309
309
|
"onUpdate:modelValue": e[3] || (e[3] = (I) => i.activeTab = I)
|
|
310
310
|
}, {
|
|
311
311
|
default: l(() => [
|
|
312
|
-
|
|
312
|
+
n(T, { value: "running" }, {
|
|
313
313
|
default: l(() => [
|
|
314
|
-
|
|
314
|
+
n(w, null, {
|
|
315
315
|
default: l(() => [
|
|
316
|
-
|
|
316
|
+
n(V, { dense: "" }, {
|
|
317
317
|
default: l(() => [
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
n(c),
|
|
319
|
+
n(b, {
|
|
320
320
|
class: "mr-3",
|
|
321
321
|
color: "primary",
|
|
322
|
-
onClick:
|
|
322
|
+
onClick: s.getRunningScripts
|
|
323
323
|
}, {
|
|
324
324
|
default: l(() => [...e[8] || (e[8] = [
|
|
325
325
|
y("Refresh", -1)
|
|
326
326
|
])]),
|
|
327
327
|
_: 1
|
|
328
328
|
}, 8, ["onClick"]),
|
|
329
|
-
|
|
329
|
+
n(k, {
|
|
330
330
|
modelValue: i.runningSearch,
|
|
331
331
|
"onUpdate:modelValue": e[1] || (e[1] = (I) => i.runningSearch = I),
|
|
332
332
|
class: "pt-0 search",
|
|
@@ -346,7 +346,7 @@ function It(t, e, n, r, i, o) {
|
|
|
346
346
|
]),
|
|
347
347
|
_: 1
|
|
348
348
|
}),
|
|
349
|
-
|
|
349
|
+
n(E, {
|
|
350
350
|
headers: i.runningHeaders,
|
|
351
351
|
items: i.runningScripts,
|
|
352
352
|
"items-length": i.runningTotal,
|
|
@@ -358,14 +358,14 @@ function It(t, e, n, r, i, o) {
|
|
|
358
358
|
page: i.runningPage,
|
|
359
359
|
"items-per-page-options": [10, 25, 50],
|
|
360
360
|
class: "script-table",
|
|
361
|
-
"onUpdate:page":
|
|
362
|
-
"onUpdate:itemsPerPage":
|
|
361
|
+
"onUpdate:page": s.updateRunningPage,
|
|
362
|
+
"onUpdate:itemsPerPage": s.updateRunningItemsPerPage
|
|
363
363
|
}, {
|
|
364
364
|
"item.name": l(({ item: I }) => [
|
|
365
|
-
|
|
365
|
+
n(b, {
|
|
366
366
|
color: "primary",
|
|
367
367
|
density: "comfortable",
|
|
368
|
-
onClick: (F) =>
|
|
368
|
+
onClick: (F) => s.showScript(I)
|
|
369
369
|
}, {
|
|
370
370
|
default: l(() => [
|
|
371
371
|
y(L(I.name), 1)
|
|
@@ -374,32 +374,32 @@ function It(t, e, n, r, i, o) {
|
|
|
374
374
|
}, 1032, ["onClick"])
|
|
375
375
|
]),
|
|
376
376
|
"item.connect": l(({ item: I }) => [
|
|
377
|
-
|
|
377
|
+
n(b, {
|
|
378
378
|
color: "primary",
|
|
379
|
-
onClick: (F) =>
|
|
379
|
+
onClick: (F) => s.connectScript(I)
|
|
380
380
|
}, {
|
|
381
381
|
default: l(() => [
|
|
382
382
|
e[10] || (e[10] = x("span", null, "Connect", -1)),
|
|
383
|
-
ot(
|
|
383
|
+
ot(n(R, { end: "" }, {
|
|
384
384
|
default: l(() => [...e[9] || (e[9] = [
|
|
385
385
|
y(" mdi-open-in-new ", -1)
|
|
386
386
|
])]),
|
|
387
387
|
_: 1
|
|
388
388
|
}, 512), [
|
|
389
|
-
[lt,
|
|
389
|
+
[lt, o.connectInNewTab]
|
|
390
390
|
])
|
|
391
391
|
]),
|
|
392
392
|
_: 1
|
|
393
393
|
}, 8, ["onClick"])
|
|
394
394
|
]),
|
|
395
395
|
"item.stop": l(({ item: I }) => [
|
|
396
|
-
|
|
396
|
+
n(b, {
|
|
397
397
|
color: "primary",
|
|
398
|
-
onClick: (F) =>
|
|
398
|
+
onClick: (F) => s.deleteScript(I)
|
|
399
399
|
}, {
|
|
400
400
|
default: l(() => [
|
|
401
401
|
e[12] || (e[12] = x("span", null, "Stop", -1)),
|
|
402
|
-
|
|
402
|
+
n(R, { end: "" }, {
|
|
403
403
|
default: l(() => [...e[11] || (e[11] = [
|
|
404
404
|
y(" mdi-close-circle-outline ", -1)
|
|
405
405
|
])]),
|
|
@@ -414,24 +414,24 @@ function It(t, e, n, r, i, o) {
|
|
|
414
414
|
]),
|
|
415
415
|
_: 1
|
|
416
416
|
}),
|
|
417
|
-
|
|
417
|
+
n(T, { value: "completed" }, {
|
|
418
418
|
default: l(() => [
|
|
419
|
-
|
|
419
|
+
n(w, null, {
|
|
420
420
|
default: l(() => [
|
|
421
|
-
|
|
421
|
+
n(V, { dense: "" }, {
|
|
422
422
|
default: l(() => [
|
|
423
|
-
|
|
424
|
-
|
|
423
|
+
n(c),
|
|
424
|
+
n(b, {
|
|
425
425
|
class: "mr-3",
|
|
426
426
|
color: "primary",
|
|
427
|
-
onClick:
|
|
427
|
+
onClick: s.getCompletedScripts
|
|
428
428
|
}, {
|
|
429
429
|
default: l(() => [...e[13] || (e[13] = [
|
|
430
430
|
y("Refresh", -1)
|
|
431
431
|
])]),
|
|
432
432
|
_: 1
|
|
433
433
|
}, 8, ["onClick"]),
|
|
434
|
-
|
|
434
|
+
n(k, {
|
|
435
435
|
modelValue: i.completedSearch,
|
|
436
436
|
"onUpdate:modelValue": e[2] || (e[2] = (I) => i.completedSearch = I),
|
|
437
437
|
class: "pt-0 search",
|
|
@@ -450,7 +450,7 @@ function It(t, e, n, r, i, o) {
|
|
|
450
450
|
]),
|
|
451
451
|
_: 1
|
|
452
452
|
}),
|
|
453
|
-
|
|
453
|
+
n(E, {
|
|
454
454
|
headers: i.completedHeaders,
|
|
455
455
|
items: i.completedScripts,
|
|
456
456
|
"items-length": i.completedTotal,
|
|
@@ -462,14 +462,14 @@ function It(t, e, n, r, i, o) {
|
|
|
462
462
|
page: i.completedPage,
|
|
463
463
|
"items-per-page-options": [10, 25, 50],
|
|
464
464
|
class: "script-table",
|
|
465
|
-
"onUpdate:page":
|
|
466
|
-
"onUpdate:itemsPerPage":
|
|
465
|
+
"onUpdate:page": s.updateCompletedPage,
|
|
466
|
+
"onUpdate:itemsPerPage": s.updateCompletedItemsPerPage
|
|
467
467
|
}, {
|
|
468
468
|
"item.name": l(({ item: I }) => [
|
|
469
|
-
|
|
469
|
+
n(b, {
|
|
470
470
|
color: "primary",
|
|
471
471
|
density: "comfortable",
|
|
472
|
-
onClick: (F) =>
|
|
472
|
+
onClick: (F) => s.showScript(I)
|
|
473
473
|
}, {
|
|
474
474
|
default: l(() => [
|
|
475
475
|
y(L(I.name), 1)
|
|
@@ -478,32 +478,32 @@ function It(t, e, n, r, i, o) {
|
|
|
478
478
|
}, 1032, ["onClick"])
|
|
479
479
|
]),
|
|
480
480
|
"item.log": l(({ item: I }) => [
|
|
481
|
-
|
|
481
|
+
n(b, {
|
|
482
482
|
color: "primary",
|
|
483
483
|
density: "comfortable",
|
|
484
484
|
icon: "mdi-eye",
|
|
485
|
-
onClick: (F) =>
|
|
485
|
+
onClick: (F) => s.viewScriptLog(I, "log")
|
|
486
486
|
}, null, 8, ["onClick"]),
|
|
487
|
-
|
|
487
|
+
n(b, {
|
|
488
488
|
color: "primary",
|
|
489
489
|
density: "comfortable",
|
|
490
490
|
icon: "mdi-file-download-outline",
|
|
491
491
|
disabled: i.downloadScript,
|
|
492
492
|
loading: i.downloadScript && i.downloadScript.name === I.name,
|
|
493
|
-
onClick: (F) =>
|
|
493
|
+
onClick: (F) => s.downloadScriptLog(I, "log")
|
|
494
494
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
495
495
|
]),
|
|
496
496
|
"item.report": l(({ item: I }) => [
|
|
497
497
|
I.report ? (S(), D("div", Tt, [
|
|
498
|
-
|
|
498
|
+
n(b, {
|
|
499
499
|
color: "primary",
|
|
500
500
|
density: "comfortable",
|
|
501
501
|
icon: "mdi-eye",
|
|
502
|
-
onClick: (F) =>
|
|
502
|
+
onClick: (F) => s.viewScriptLog(I, "report")
|
|
503
503
|
}, null, 8, ["onClick"]),
|
|
504
|
-
|
|
504
|
+
n(Q, null, {
|
|
505
505
|
activator: l(({ props: F }) => [
|
|
506
|
-
|
|
506
|
+
n(b, X({
|
|
507
507
|
color: "primary",
|
|
508
508
|
density: "comfortable",
|
|
509
509
|
icon: "mdi-file-download-outline",
|
|
@@ -512,13 +512,13 @@ function It(t, e, n, r, i, o) {
|
|
|
512
512
|
}, F), null, 16, ["disabled", "loading"])
|
|
513
513
|
]),
|
|
514
514
|
default: l(() => [
|
|
515
|
-
|
|
515
|
+
n(G, null, {
|
|
516
516
|
default: l(() => [
|
|
517
|
-
|
|
518
|
-
onClick: (F) =>
|
|
517
|
+
n(P, {
|
|
518
|
+
onClick: (F) => s.downloadScriptLog(I, "report", "text")
|
|
519
519
|
}, {
|
|
520
520
|
default: l(() => [
|
|
521
|
-
|
|
521
|
+
n(_, null, {
|
|
522
522
|
default: l(() => [...e[15] || (e[15] = [
|
|
523
523
|
y("Download as Text", -1)
|
|
524
524
|
])]),
|
|
@@ -527,11 +527,11 @@ function It(t, e, n, r, i, o) {
|
|
|
527
527
|
]),
|
|
528
528
|
_: 1
|
|
529
529
|
}, 8, ["onClick"]),
|
|
530
|
-
|
|
531
|
-
onClick: (F) =>
|
|
530
|
+
n(P, {
|
|
531
|
+
onClick: (F) => s.downloadScriptLog(I, "report", "ctrf")
|
|
532
532
|
}, {
|
|
533
533
|
default: l(() => [
|
|
534
|
-
|
|
534
|
+
n(_, null, {
|
|
535
535
|
default: l(() => [...e[16] || (e[16] = [
|
|
536
536
|
y("Download as CTRF", -1)
|
|
537
537
|
])]),
|
|
@@ -546,7 +546,7 @@ function It(t, e, n, r, i, o) {
|
|
|
546
546
|
]),
|
|
547
547
|
_: 2
|
|
548
548
|
}, 1024)
|
|
549
|
-
])) : (S(), D("div",
|
|
549
|
+
])) : (S(), D("div", Mt, [...e[14] || (e[14] = [
|
|
550
550
|
x("span", null, "N/A", -1)
|
|
551
551
|
])]))
|
|
552
552
|
]),
|
|
@@ -573,7 +573,7 @@ function It(t, e, n, r, i, o) {
|
|
|
573
573
|
}, null, 8, ["modelValue", "content", "name", "filename"])) : z("", !0)
|
|
574
574
|
]);
|
|
575
575
|
}
|
|
576
|
-
const Ut = /* @__PURE__ */ K(
|
|
576
|
+
const Ut = /* @__PURE__ */ K(Ot, [["render", It]]), Dt = {
|
|
577
577
|
props: {
|
|
578
578
|
modelValue: {
|
|
579
579
|
type: Array,
|
|
@@ -614,11 +614,11 @@ const Ut = /* @__PURE__ */ K(Mt, [["render", It]]), Dt = {
|
|
|
614
614
|
const t = this.messages.map((r) => r.message).join(`
|
|
615
615
|
`), e = new Blob([t], {
|
|
616
616
|
type: "text/plain"
|
|
617
|
-
}),
|
|
618
|
-
|
|
617
|
+
}), o = document.createElement("a");
|
|
618
|
+
o.href = URL.createObjectURL(e), o.setAttribute(
|
|
619
619
|
"download",
|
|
620
|
-
|
|
621
|
-
),
|
|
620
|
+
Oe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
|
|
621
|
+
), o.click();
|
|
622
622
|
},
|
|
623
623
|
clearLog: function() {
|
|
624
624
|
this.$dialog.confirm("Are you sure you want to clear the log?", {
|
|
@@ -631,24 +631,24 @@ const Ut = /* @__PURE__ */ K(Mt, [["render", It]]), Dt = {
|
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
|
-
function Pt(t, e,
|
|
635
|
-
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");
|
|
636
636
|
return S(), U(R, { class: "d-flex flex-column h-100" }, {
|
|
637
637
|
default: l(() => [
|
|
638
|
-
|
|
638
|
+
n(k, { class: "d-flex align-center" }, {
|
|
639
639
|
default: l(() => [
|
|
640
|
-
|
|
640
|
+
n(d, {
|
|
641
641
|
class: "mx-2",
|
|
642
642
|
icon: "mdi-download",
|
|
643
643
|
variant: "text",
|
|
644
644
|
density: "compact",
|
|
645
645
|
"data-test": "download-log",
|
|
646
646
|
"aria-label": "Download Log",
|
|
647
|
-
onClick:
|
|
647
|
+
onClick: s.downloadLog
|
|
648
648
|
}, null, 8, ["onClick"]),
|
|
649
649
|
e[2] || (e[2] = y(" Script Messages ", -1)),
|
|
650
|
-
|
|
651
|
-
|
|
650
|
+
n(p),
|
|
651
|
+
n(c, {
|
|
652
652
|
modelValue: i.messageOrder,
|
|
653
653
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.messageOrder = E),
|
|
654
654
|
density: "compact",
|
|
@@ -659,8 +659,8 @@ function Pt(t, e, n, r, i, o) {
|
|
|
659
659
|
style: { "max-width": "200px" },
|
|
660
660
|
"data-test": "message-order"
|
|
661
661
|
}, null, 8, ["modelValue", "items"]),
|
|
662
|
-
|
|
663
|
-
|
|
662
|
+
n(p),
|
|
663
|
+
n(b, {
|
|
664
664
|
modelValue: i.search,
|
|
665
665
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.search = E),
|
|
666
666
|
label: "Search",
|
|
@@ -673,24 +673,24 @@ function Pt(t, e, n, r, i, o) {
|
|
|
673
673
|
class: "search",
|
|
674
674
|
"data-test": "search-messages"
|
|
675
675
|
}, null, 8, ["modelValue"]),
|
|
676
|
-
|
|
676
|
+
n(d, {
|
|
677
677
|
class: "mx-2",
|
|
678
678
|
icon: "mdi-delete-sweep",
|
|
679
679
|
variant: "text",
|
|
680
680
|
density: "compact",
|
|
681
681
|
"data-test": "clear-log",
|
|
682
682
|
"aria-label": "Clear Log",
|
|
683
|
-
onClick:
|
|
683
|
+
onClick: s.clearLog
|
|
684
684
|
}, null, 8, ["onClick"])
|
|
685
685
|
]),
|
|
686
686
|
_: 1
|
|
687
687
|
}),
|
|
688
|
-
|
|
688
|
+
n(w, { class: "overflow-auto" }, {
|
|
689
689
|
default: l(() => [
|
|
690
|
-
|
|
690
|
+
n(V, {
|
|
691
691
|
id: "script-log-messages",
|
|
692
692
|
headers: i.headers,
|
|
693
|
-
items:
|
|
693
|
+
items: s.messages,
|
|
694
694
|
search: i.search,
|
|
695
695
|
"items-per-page": -1,
|
|
696
696
|
"hide-default-footer": "",
|
|
@@ -699,7 +699,7 @@ function Pt(t, e, n, r, i, o) {
|
|
|
699
699
|
}, {
|
|
700
700
|
"item.message": l(({ item: E }) => [
|
|
701
701
|
x("div", {
|
|
702
|
-
class: Ke(
|
|
702
|
+
class: Ke(s.messageClass(E.message))
|
|
703
703
|
}, L(E.message), 3)
|
|
704
704
|
]),
|
|
705
705
|
_: 1
|
|
@@ -734,7 +734,7 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
734
734
|
"splitter-dblclick"
|
|
735
735
|
],
|
|
736
736
|
setup(t, { emit: e }) {
|
|
737
|
-
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({
|
|
738
738
|
mouseDown: !1,
|
|
739
739
|
dragging: !1,
|
|
740
740
|
activeSplitter: null,
|
|
@@ -751,13 +751,13 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
751
751
|
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", P), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", P));
|
|
752
752
|
}, E = () => {
|
|
753
753
|
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", P), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", P));
|
|
754
|
-
}, T = (u,
|
|
754
|
+
}, T = (u, h) => {
|
|
755
755
|
const v = u.target.closest(".splitpanes__splitter");
|
|
756
756
|
if (v) {
|
|
757
|
-
const { left: f, top: g } = v.getBoundingClientRect(), { clientX: C, clientY:
|
|
758
|
-
k.value.cursorOffset = r.horizontal ?
|
|
757
|
+
const { left: f, top: g } = v.getBoundingClientRect(), { clientX: C, clientY: M } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
758
|
+
k.value.cursorOffset = r.horizontal ? M - g : C - f;
|
|
759
759
|
}
|
|
760
|
-
R(), k.value.mouseDown = !0, k.value.activeSplitter =
|
|
760
|
+
R(), k.value.mouseDown = !0, k.value.activeSplitter = h;
|
|
761
761
|
}, _ = (u) => {
|
|
762
762
|
k.value.mouseDown && (u.preventDefault(), k.value.dragging = !0, requestAnimationFrame(() => {
|
|
763
763
|
I(j(u)), N("resize", { event: u }, !0);
|
|
@@ -766,152 +766,152 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
766
766
|
k.value.dragging && (window.getSelection().removeAllRanges(), N("resized", { event: u }, !0)), k.value.mouseDown = !1, k.value.activeSplitter = null, setTimeout(() => {
|
|
767
767
|
k.value.dragging = !1, E();
|
|
768
768
|
}, 100);
|
|
769
|
-
}, G = (u,
|
|
770
|
-
"ontouchstart" in window && (u.preventDefault(), V.value.splitter ===
|
|
771
|
-
}, Q = (u,
|
|
772
|
-
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) {
|
|
773
773
|
let v = 0;
|
|
774
|
-
|
|
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);
|
|
775
775
|
}
|
|
776
|
-
}, te = (u,
|
|
776
|
+
}, te = (u, h) => {
|
|
777
777
|
N("pane-click", {
|
|
778
778
|
event: u,
|
|
779
|
-
index: d.value[
|
|
780
|
-
pane: d.value[
|
|
779
|
+
index: d.value[h].index,
|
|
780
|
+
pane: d.value[h]
|
|
781
781
|
});
|
|
782
782
|
}, j = (u) => {
|
|
783
|
-
const
|
|
783
|
+
const h = c.value.getBoundingClientRect(), { clientX: v, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
784
784
|
return {
|
|
785
|
-
x: v - (r.horizontal ? 0 : k.value.cursorOffset) -
|
|
786
|
-
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
|
|
787
787
|
};
|
|
788
788
|
}, ie = (u) => {
|
|
789
789
|
u = u[r.horizontal ? "y" : "x"];
|
|
790
|
-
const
|
|
791
|
-
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;
|
|
792
792
|
}, I = (u) => {
|
|
793
|
-
const
|
|
793
|
+
const h = k.value.activeSplitter;
|
|
794
794
|
let v = {
|
|
795
|
-
prevPanesSize: ue(
|
|
796
|
-
nextPanesSize: Z(
|
|
795
|
+
prevPanesSize: ue(h),
|
|
796
|
+
nextPanesSize: Z(h),
|
|
797
797
|
prevReachedMinPanes: 0,
|
|
798
798
|
nextReachedMinPanes: 0
|
|
799
799
|
};
|
|
800
800
|
const f = 0 + (r.pushOtherPanes ? 0 : v.prevPanesSize), g = 100 - (r.pushOtherPanes ? 0 : v.nextPanesSize), C = Math.max(Math.min(ie(u), g), f);
|
|
801
|
-
let
|
|
802
|
-
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));
|
|
803
803
|
if (m || J) {
|
|
804
|
-
m ? (A.size = A.max, H.size = Math.max(100 - A.max - v.prevPanesSize - v.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - v.prevPanesSize - Z(
|
|
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);
|
|
805
805
|
return;
|
|
806
806
|
}
|
|
807
807
|
if (r.pushOtherPanes) {
|
|
808
808
|
const We = F(v, C);
|
|
809
809
|
if (!We) return;
|
|
810
|
-
({ sums: v, panesToResize:
|
|
810
|
+
({ sums: v, panesToResize: M } = We), A = s.value[M[0]] || null, H = s.value[M[1]] || null;
|
|
811
811
|
}
|
|
812
812
|
A !== null && (A.size = Math.min(Math.max(C - v.prevPanesSize - v.prevReachedMinPanes, A.min), A.max)), H !== null && (H.size = Math.min(Math.max(100 - C - v.nextPanesSize - v.nextReachedMinPanes, H.min), H.max));
|
|
813
|
-
}, F = (u,
|
|
813
|
+
}, F = (u, h) => {
|
|
814
814
|
const v = k.value.activeSplitter, f = [v, v + 1];
|
|
815
|
-
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) => {
|
|
816
816
|
C > f[0] && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
817
|
-
}), 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) => {
|
|
818
818
|
C > 0 && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
819
|
-
}),
|
|
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) => {
|
|
820
820
|
C > v && C < f[1] && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
821
|
-
}), u.nextPanesSize = Z(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0,
|
|
822
|
-
C <
|
|
823
|
-
}),
|
|
824
|
-
}, 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 = () => {
|
|
825
825
|
var u;
|
|
826
|
-
const
|
|
827
|
-
for (const v of
|
|
826
|
+
const h = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
827
|
+
for (const v of h) {
|
|
828
828
|
const f = v.classList.contains("splitpanes__pane"), g = v.classList.contains("splitpanes__splitter");
|
|
829
829
|
!f && !g && (v.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
|
|
830
830
|
}
|
|
831
|
-
}, ce = (u,
|
|
831
|
+
}, ce = (u, h, v = !1) => {
|
|
832
832
|
const f = u - 1, g = document.createElement("div");
|
|
833
|
-
g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (C) => T(C, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (C) => T(C, f)), g.onclick = (C) => G(C, f + 1)), g.ondblclick = (C) => Q(C, f + 1),
|
|
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);
|
|
834
834
|
}, Ce = (u) => {
|
|
835
835
|
u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
|
|
836
836
|
}, se = () => {
|
|
837
837
|
var u;
|
|
838
|
-
const
|
|
839
|
-
for (const f of
|
|
838
|
+
const h = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
839
|
+
for (const f of h)
|
|
840
840
|
f.className.includes("splitpanes__splitter") && Ce(f);
|
|
841
841
|
let v = 0;
|
|
842
|
-
for (const f of
|
|
842
|
+
for (const f of h)
|
|
843
843
|
f.className.includes("splitpanes__pane") && (!v && r.firstSplitter ? ce(v, f, !0) : v && ce(v, f), v++);
|
|
844
|
-
}, Ve = ({ uid: u, ...
|
|
844
|
+
}, Ve = ({ uid: u, ...h }) => {
|
|
845
845
|
const v = d.value[u];
|
|
846
|
-
for (const [f, g] of Object.entries(
|
|
846
|
+
for (const [f, g] of Object.entries(h)) v[f] = g;
|
|
847
847
|
}, Pe = (u) => {
|
|
848
|
-
var
|
|
848
|
+
var h;
|
|
849
849
|
let v = -1;
|
|
850
|
-
Array.from(((
|
|
851
|
-
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] });
|
|
852
852
|
});
|
|
853
853
|
}, ze = (u) => {
|
|
854
|
-
const
|
|
855
|
-
|
|
856
|
-
const v =
|
|
857
|
-
|
|
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(() => {
|
|
858
858
|
se(), N("pane-remove", { pane: v }), me({ removedPane: { ...v } });
|
|
859
859
|
});
|
|
860
860
|
}, me = (u = {}) => {
|
|
861
|
-
!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");
|
|
862
862
|
}, Le = () => {
|
|
863
|
-
const u = 100 /
|
|
864
|
-
let
|
|
863
|
+
const u = 100 / p.value;
|
|
864
|
+
let h = 0;
|
|
865
865
|
const v = [], f = [];
|
|
866
|
-
for (const g of
|
|
867
|
-
g.size = Math.max(Math.min(u, g.max), g.min),
|
|
868
|
-
|
|
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);
|
|
869
869
|
}, Ae = () => {
|
|
870
870
|
let u = 100;
|
|
871
|
-
const
|
|
871
|
+
const h = [], v = [];
|
|
872
872
|
let f = 0;
|
|
873
|
-
for (const C of
|
|
874
|
-
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);
|
|
875
875
|
let g = 100;
|
|
876
876
|
if (u > 0.1) {
|
|
877
|
-
for (const C of
|
|
878
|
-
C.givenSize === null && (C.size = Math.max(Math.min(u / (
|
|
879
|
-
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);
|
|
880
880
|
}
|
|
881
|
-
}, Fe = ({ addedPane: u, removedPane:
|
|
882
|
-
let v = 100 /
|
|
881
|
+
}, Fe = ({ addedPane: u, removedPane: h } = {}) => {
|
|
882
|
+
let v = 100 / p.value, f = 0;
|
|
883
883
|
const g = [], C = [];
|
|
884
|
-
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (
|
|
885
|
-
for (const
|
|
886
|
-
f -=
|
|
884
|
+
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (p.value - 1));
|
|
885
|
+
for (const M of s.value)
|
|
886
|
+
f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
|
|
887
887
|
if (!(Math.abs(f) < 0.1)) {
|
|
888
|
-
for (const
|
|
889
|
-
(u == null ? void 0 : u.givenSize) !== null && (u == null ? void 0 : u.id) ===
|
|
888
|
+
for (const M of s.value)
|
|
889
|
+
(u == null ? void 0 : u.givenSize) !== null && (u == null ? void 0 : u.id) === M.id || (M.size = Math.max(Math.min(v, M.max), M.min)), f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
|
|
890
890
|
f > 0.1 && pe(f, g, C);
|
|
891
891
|
}
|
|
892
|
-
}, pe = (u,
|
|
892
|
+
}, pe = (u, h, v) => {
|
|
893
893
|
let f;
|
|
894
|
-
u > 0 ? f = u / (
|
|
895
|
-
if (u > 0 && !
|
|
896
|
-
const
|
|
897
|
-
u -= A, g.size =
|
|
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)) {
|
|
896
|
+
const M = Math.max(Math.min(g.size + f, g.max), g.min), A = M - g.size;
|
|
897
|
+
u -= A, g.size = M;
|
|
898
898
|
} else if (!v.includes(g.id)) {
|
|
899
|
-
const
|
|
900
|
-
u -= A, g.size =
|
|
899
|
+
const M = Math.max(Math.min(g.size + f, g.max), g.min), A = M - g.size;
|
|
900
|
+
u -= A, g.size = M;
|
|
901
901
|
}
|
|
902
902
|
}), Math.abs(u) > 0.1 && He(() => {
|
|
903
903
|
b.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
904
904
|
});
|
|
905
|
-
}, N = (u,
|
|
906
|
-
const f = (
|
|
907
|
-
|
|
908
|
-
...
|
|
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,
|
|
909
909
|
...f !== null && { index: f },
|
|
910
910
|
...v && f !== null && {
|
|
911
|
-
prevPane:
|
|
912
|
-
nextPane:
|
|
911
|
+
prevPane: s.value[f - (r.firstSplitter ? 1 : 0)],
|
|
912
|
+
nextPane: s.value[f + (r.firstSplitter ? 0 : 1)]
|
|
913
913
|
},
|
|
914
|
-
panes:
|
|
914
|
+
panes: s.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
915
915
|
});
|
|
916
916
|
};
|
|
917
917
|
Re(() => r.firstSplitter, () => se()), $e(() => {
|
|
@@ -925,7 +925,7 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
925
925
|
(u = i.default) == null ? void 0 : u.call(i)
|
|
926
926
|
);
|
|
927
927
|
};
|
|
928
|
-
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)));
|
|
929
929
|
}
|
|
930
930
|
}, At = {
|
|
931
931
|
__name: "pane",
|
|
@@ -936,18 +936,18 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
936
936
|
},
|
|
937
937
|
setup(t) {
|
|
938
938
|
var e;
|
|
939
|
-
const
|
|
940
|
-
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);
|
|
941
941
|
return Math.max(Math.min(_, E.value), R.value);
|
|
942
942
|
}), R = Y(() => {
|
|
943
|
-
const _ = parseFloat(
|
|
943
|
+
const _ = parseFloat(o.minSize);
|
|
944
944
|
return isNaN(_) ? 0 : _;
|
|
945
945
|
}), E = Y(() => {
|
|
946
|
-
const _ = parseFloat(
|
|
946
|
+
const _ = parseFloat(o.maxSize);
|
|
947
947
|
return isNaN(_) ? 100 : _;
|
|
948
948
|
}), T = Y(() => {
|
|
949
949
|
var _;
|
|
950
|
-
return `${
|
|
950
|
+
return `${s.value ? "height" : "width"}: ${(_ = k.value) == null ? void 0 : _.size}%`;
|
|
951
951
|
});
|
|
952
952
|
return Re(() => w.value, (_) => r({ uid: c, size: _ })), Re(() => R.value, (_) => r({ uid: c, min: _ })), Re(() => E.value, (_) => r({ uid: c, max: _ })), $e(() => {
|
|
953
953
|
i({
|
|
@@ -956,7 +956,7 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
956
956
|
min: R.value,
|
|
957
957
|
max: E.value,
|
|
958
958
|
// The given size (useful to know the user intention).
|
|
959
|
-
givenSize:
|
|
959
|
+
givenSize: o.size === void 0 ? null : w.value,
|
|
960
960
|
size: w.value
|
|
961
961
|
// The computed current size at any time.
|
|
962
962
|
});
|
|
@@ -964,7 +964,7 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
964
964
|
ref_key: "paneEl",
|
|
965
965
|
ref: V,
|
|
966
966
|
class: "splitpanes__pane",
|
|
967
|
-
onClick: P[0] || (P[0] = (G) => at(
|
|
967
|
+
onClick: P[0] || (P[0] = (G) => at(p)(G, _._.uid)),
|
|
968
968
|
style: fe(T.value)
|
|
969
969
|
}, [
|
|
970
970
|
dt(_.$slots, "default")
|
|
@@ -1019,67 +1019,67 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
}, Bt = { class: "pa-2" }, Nt = { class: "question" };
|
|
1022
|
-
function Ht(t, e,
|
|
1023
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1024
1024
|
return S(), U(E, {
|
|
1025
|
-
modelValue:
|
|
1026
|
-
"onUpdate:modelValue": e[2] || (e[2] = (T) =>
|
|
1025
|
+
modelValue: s.show,
|
|
1026
|
+
"onUpdate:modelValue": e[2] || (e[2] = (T) => s.show = T),
|
|
1027
1027
|
persistent: "",
|
|
1028
1028
|
width: "600",
|
|
1029
|
-
onKeydown: Se(
|
|
1029
|
+
onKeydown: Se(s.cancelHandler, ["esc"])
|
|
1030
1030
|
}, {
|
|
1031
1031
|
default: l(() => [
|
|
1032
|
-
|
|
1032
|
+
n(R, null, {
|
|
1033
1033
|
default: l(() => [
|
|
1034
|
-
|
|
1034
|
+
n(w, {
|
|
1035
1035
|
modelValue: i.valid,
|
|
1036
1036
|
"onUpdate:modelValue": e[1] || (e[1] = (T) => i.valid = T),
|
|
1037
|
-
onSubmit: de(
|
|
1037
|
+
onSubmit: de(s.submitHandler, ["prevent"])
|
|
1038
1038
|
}, {
|
|
1039
1039
|
default: l(() => [
|
|
1040
|
-
|
|
1040
|
+
n(p, { height: "24" }, {
|
|
1041
1041
|
default: l(() => [
|
|
1042
|
-
|
|
1042
|
+
n(d),
|
|
1043
1043
|
e[3] || (e[3] = x("span", null, " User Input Required ", -1)),
|
|
1044
|
-
|
|
1044
|
+
n(d)
|
|
1045
1045
|
]),
|
|
1046
1046
|
_: 1
|
|
1047
1047
|
}),
|
|
1048
1048
|
x("div", Bt, [
|
|
1049
|
-
|
|
1049
|
+
n(b, null, {
|
|
1050
1050
|
default: l(() => [
|
|
1051
|
-
x("div", Nt, L(
|
|
1052
|
-
|
|
1051
|
+
x("div", Nt, L(o.question), 1),
|
|
1052
|
+
n(c, {
|
|
1053
1053
|
modelValue: i.inputValue,
|
|
1054
1054
|
"onUpdate:modelValue": e[0] || (e[0] = (T) => i.inputValue = T),
|
|
1055
1055
|
autofocus: "",
|
|
1056
1056
|
"data-test": "ask-value-input",
|
|
1057
|
-
type:
|
|
1057
|
+
type: o.password ? "password" : "text",
|
|
1058
1058
|
rules: i.rules
|
|
1059
1059
|
}, null, 8, ["modelValue", "type", "rules"])
|
|
1060
1060
|
]),
|
|
1061
1061
|
_: 1
|
|
1062
1062
|
})
|
|
1063
1063
|
]),
|
|
1064
|
-
|
|
1064
|
+
n(V, { class: "px-2" }, {
|
|
1065
1065
|
default: l(() => [
|
|
1066
|
-
|
|
1067
|
-
|
|
1066
|
+
n(d),
|
|
1067
|
+
n(k, {
|
|
1068
1068
|
variant: "outlined",
|
|
1069
1069
|
"data-test": "ask-cancel",
|
|
1070
|
-
onClick:
|
|
1070
|
+
onClick: s.cancelHandler
|
|
1071
1071
|
}, {
|
|
1072
1072
|
default: l(() => [...e[4] || (e[4] = [
|
|
1073
1073
|
y(" Cancel ", -1)
|
|
1074
1074
|
])]),
|
|
1075
1075
|
_: 1
|
|
1076
1076
|
}, 8, ["onClick"]),
|
|
1077
|
-
|
|
1077
|
+
n(k, {
|
|
1078
1078
|
variant: "flat",
|
|
1079
1079
|
type: "submit",
|
|
1080
1080
|
"data-test": "ask-ok",
|
|
1081
1081
|
disabled: !i.valid,
|
|
1082
|
-
onClick: de(
|
|
1082
|
+
onClick: de(s.submitHandler, ["prevent"])
|
|
1083
1083
|
}, {
|
|
1084
1084
|
default: l(() => [...e[5] || (e[5] = [
|
|
1085
1085
|
y(" Ok ", -1)
|
|
@@ -1147,63 +1147,63 @@ const Gt = /* @__PURE__ */ K(Ft, [["render", Ht], ["__scopeId", "data-v-eeaa2f66
|
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
}, Kt = { class: "pa-2" }, jt = { class: "title" }, Wt = ["textContent"];
|
|
1150
|
-
function Jt(t, e,
|
|
1151
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1152
1152
|
return S(), U(T, {
|
|
1153
|
-
modelValue:
|
|
1154
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1153
|
+
modelValue: s.show,
|
|
1154
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1155
1155
|
persistent: "",
|
|
1156
1156
|
width: "600",
|
|
1157
|
-
onKeydown: Se(
|
|
1157
|
+
onKeydown: Se(s.cancelHandler, ["esc"])
|
|
1158
1158
|
}, {
|
|
1159
1159
|
default: l(() => [
|
|
1160
|
-
|
|
1160
|
+
n(E, null, {
|
|
1161
1161
|
default: l(() => [
|
|
1162
|
-
|
|
1162
|
+
n(R, {
|
|
1163
1163
|
modelValue: i.valid,
|
|
1164
1164
|
"onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
|
|
1165
|
-
onSubmit: de(
|
|
1165
|
+
onSubmit: de(s.submitHandler, ["prevent"])
|
|
1166
1166
|
}, {
|
|
1167
1167
|
default: l(() => [
|
|
1168
|
-
|
|
1168
|
+
n(p, { height: "24" }, {
|
|
1169
1169
|
default: l(() => [
|
|
1170
|
-
|
|
1170
|
+
n(d),
|
|
1171
1171
|
e[3] || (e[3] = x("span", null, " File Dialog ", -1)),
|
|
1172
|
-
|
|
1172
|
+
n(d)
|
|
1173
1173
|
]),
|
|
1174
1174
|
_: 1
|
|
1175
1175
|
}),
|
|
1176
1176
|
x("div", Kt, [
|
|
1177
|
-
|
|
1177
|
+
n(k, null, {
|
|
1178
1178
|
default: l(() => [
|
|
1179
|
-
|
|
1179
|
+
n(c, null, {
|
|
1180
1180
|
default: l(() => [
|
|
1181
|
-
x("span", jt, L(
|
|
1181
|
+
x("span", jt, L(o.title), 1)
|
|
1182
1182
|
]),
|
|
1183
1183
|
_: 1
|
|
1184
1184
|
}),
|
|
1185
|
-
|
|
1185
|
+
o.message ? (S(), U(c, { key: 0 }, {
|
|
1186
1186
|
default: l(() => [
|
|
1187
1187
|
x("span", {
|
|
1188
1188
|
class: "ma-3",
|
|
1189
1189
|
style: { "white-space": "pre-line" },
|
|
1190
|
-
textContent: L(
|
|
1190
|
+
textContent: L(o.message)
|
|
1191
1191
|
}, null, 8, Wt)
|
|
1192
1192
|
]),
|
|
1193
1193
|
_: 1
|
|
1194
1194
|
})) : z("", !0),
|
|
1195
|
-
|
|
1195
|
+
n(c, { class: "my-1" }, {
|
|
1196
1196
|
default: l(() => [
|
|
1197
|
-
|
|
1197
|
+
n(b, {
|
|
1198
1198
|
modelValue: i.inputValue,
|
|
1199
1199
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.inputValue = _),
|
|
1200
1200
|
label: "Choose File",
|
|
1201
1201
|
rules: i.rules,
|
|
1202
1202
|
autofocus: "",
|
|
1203
1203
|
"data-test": "file-input",
|
|
1204
|
-
accept:
|
|
1204
|
+
accept: o.filter,
|
|
1205
1205
|
"small-chips": "",
|
|
1206
|
-
multiple:
|
|
1206
|
+
multiple: o.multiple
|
|
1207
1207
|
}, null, 8, ["modelValue", "rules", "accept", "multiple"])
|
|
1208
1208
|
]),
|
|
1209
1209
|
_: 1
|
|
@@ -1212,25 +1212,25 @@ function Jt(t, e, n, r, i, o) {
|
|
|
1212
1212
|
_: 1
|
|
1213
1213
|
})
|
|
1214
1214
|
]),
|
|
1215
|
-
|
|
1215
|
+
n(w, { class: "px-2" }, {
|
|
1216
1216
|
default: l(() => [
|
|
1217
|
-
|
|
1218
|
-
|
|
1217
|
+
n(d),
|
|
1218
|
+
n(V, {
|
|
1219
1219
|
variant: "outlined",
|
|
1220
1220
|
"data-test": "file-cancel",
|
|
1221
|
-
onClick:
|
|
1221
|
+
onClick: s.cancelHandler
|
|
1222
1222
|
}, {
|
|
1223
1223
|
default: l(() => [...e[4] || (e[4] = [
|
|
1224
1224
|
y(" Cancel ", -1)
|
|
1225
1225
|
])]),
|
|
1226
1226
|
_: 1
|
|
1227
1227
|
}, 8, ["onClick"]),
|
|
1228
|
-
|
|
1228
|
+
n(V, {
|
|
1229
1229
|
variant: "flat",
|
|
1230
1230
|
type: "submit",
|
|
1231
1231
|
"data-test": "file-ok",
|
|
1232
1232
|
disabled: !i.valid,
|
|
1233
|
-
onClick: de(
|
|
1233
|
+
onClick: de(s.submitHandler, ["prevent"])
|
|
1234
1234
|
}, {
|
|
1235
1235
|
default: l(() => [...e[5] || (e[5] = [
|
|
1236
1236
|
y(" Ok ", -1)
|
|
@@ -1281,31 +1281,31 @@ const Yt = /* @__PURE__ */ K(qt, [["render", Jt], ["__scopeId", "data-v-6d77dd67
|
|
|
1281
1281
|
},
|
|
1282
1282
|
methods: {}
|
|
1283
1283
|
}, Xt = ["textContent"], Qt = { class: "pa-2" }, $t = ["textContent"];
|
|
1284
|
-
function ei(t, e,
|
|
1285
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1286
1286
|
return S(), U(R, {
|
|
1287
|
-
modelValue:
|
|
1288
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1289
|
-
width:
|
|
1287
|
+
modelValue: s.show,
|
|
1288
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => s.show = E),
|
|
1289
|
+
width: o.width
|
|
1290
1290
|
}, {
|
|
1291
1291
|
default: l(() => [
|
|
1292
|
-
|
|
1292
|
+
n(w, null, {
|
|
1293
1293
|
default: l(() => [
|
|
1294
|
-
|
|
1294
|
+
n(p, { height: "24" }, {
|
|
1295
1295
|
default: l(() => [
|
|
1296
|
-
|
|
1296
|
+
n(d),
|
|
1297
1297
|
x("span", {
|
|
1298
1298
|
style: { "white-space": "pre" },
|
|
1299
|
-
textContent: L(
|
|
1299
|
+
textContent: L(o.title)
|
|
1300
1300
|
}, null, 8, Xt),
|
|
1301
|
-
|
|
1301
|
+
n(d)
|
|
1302
1302
|
]),
|
|
1303
1303
|
_: 1
|
|
1304
1304
|
}),
|
|
1305
1305
|
x("div", Qt, [
|
|
1306
|
-
|
|
1306
|
+
n(b, null, {
|
|
1307
1307
|
default: l(() => [
|
|
1308
|
-
(S(!0), D(ge, null, je(
|
|
1308
|
+
(S(!0), D(ge, null, je(o.text, (E, T) => (S(), U(c, {
|
|
1309
1309
|
"no-gutters": "",
|
|
1310
1310
|
key: T
|
|
1311
1311
|
}, {
|
|
@@ -1321,12 +1321,12 @@ function ei(t, e, n, r, i, o) {
|
|
|
1321
1321
|
_: 1
|
|
1322
1322
|
})
|
|
1323
1323
|
]),
|
|
1324
|
-
|
|
1324
|
+
n(V, { class: "px-2" }, {
|
|
1325
1325
|
default: l(() => [
|
|
1326
|
-
|
|
1327
|
-
|
|
1326
|
+
n(d),
|
|
1327
|
+
n(k, {
|
|
1328
1328
|
variant: "flat",
|
|
1329
|
-
onClick: e[0] || (e[0] = (E) =>
|
|
1329
|
+
onClick: e[0] || (e[0] = (E) => s.show = !s.show)
|
|
1330
1330
|
}, {
|
|
1331
1331
|
default: l(() => [...e[2] || (e[2] = [
|
|
1332
1332
|
y(" Ok ", -1)
|
|
@@ -1401,7 +1401,7 @@ const ti = /* @__PURE__ */ K(Zt, [["render", ei]]), ii = {
|
|
|
1401
1401
|
e.packet_name,
|
|
1402
1402
|
e.item_name,
|
|
1403
1403
|
"ALL"
|
|
1404
|
-
).then((
|
|
1404
|
+
).then((o) => {
|
|
1405
1405
|
this.overrides = [];
|
|
1406
1406
|
});
|
|
1407
1407
|
},
|
|
@@ -1412,47 +1412,47 @@ const ti = /* @__PURE__ */ K(Zt, [["render", ei]]), ii = {
|
|
|
1412
1412
|
t.item_name,
|
|
1413
1413
|
t.value_type
|
|
1414
1414
|
).then((e) => {
|
|
1415
|
-
let
|
|
1416
|
-
this.overrides.splice(
|
|
1415
|
+
let o = this.overrides.indexOf(t);
|
|
1416
|
+
this.overrides.splice(o, 1);
|
|
1417
1417
|
});
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
1420
|
}, si = { class: "pa-2" };
|
|
1421
|
-
function ni(t, e,
|
|
1422
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1423
1423
|
return S(), U(T, {
|
|
1424
|
-
modelValue:
|
|
1425
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1424
|
+
modelValue: s.show,
|
|
1425
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1426
1426
|
width: "1000"
|
|
1427
1427
|
}, {
|
|
1428
1428
|
default: l(() => [
|
|
1429
|
-
|
|
1429
|
+
n(E, null, {
|
|
1430
1430
|
default: l(() => [
|
|
1431
|
-
|
|
1431
|
+
n(p, { height: "24" }, {
|
|
1432
1432
|
default: l(() => [
|
|
1433
|
-
|
|
1433
|
+
n(d),
|
|
1434
1434
|
e[3] || (e[3] = x("span", null, "Overrides", -1)),
|
|
1435
|
-
|
|
1435
|
+
n(d)
|
|
1436
1436
|
]),
|
|
1437
1437
|
_: 1
|
|
1438
1438
|
}),
|
|
1439
1439
|
x("div", si, [
|
|
1440
|
-
|
|
1440
|
+
n(w, null, {
|
|
1441
1441
|
default: l(() => [
|
|
1442
|
-
|
|
1442
|
+
n(k, { class: "ma-1" }, {
|
|
1443
1443
|
default: l(() => [
|
|
1444
|
-
|
|
1444
|
+
n(c, {
|
|
1445
1445
|
color: "primary",
|
|
1446
1446
|
"data-test": "overrides-dialog-clear-all",
|
|
1447
|
-
onClick:
|
|
1447
|
+
onClick: s.clearOverrides
|
|
1448
1448
|
}, {
|
|
1449
1449
|
default: l(() => [...e[4] || (e[4] = [
|
|
1450
1450
|
y(" Clear All Overrides ", -1)
|
|
1451
1451
|
])]),
|
|
1452
1452
|
_: 1
|
|
1453
1453
|
}, 8, ["onClick"]),
|
|
1454
|
-
|
|
1455
|
-
|
|
1454
|
+
n(d),
|
|
1455
|
+
n(b, {
|
|
1456
1456
|
modelValue: i.search,
|
|
1457
1457
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.search = _),
|
|
1458
1458
|
label: "Search",
|
|
@@ -1466,7 +1466,7 @@ function ni(t, e, n, r, i, o) {
|
|
|
1466
1466
|
]),
|
|
1467
1467
|
_: 1
|
|
1468
1468
|
}),
|
|
1469
|
-
|
|
1469
|
+
n(V, {
|
|
1470
1470
|
headers: i.headers,
|
|
1471
1471
|
items: i.overrides,
|
|
1472
1472
|
search: i.search,
|
|
@@ -1475,11 +1475,11 @@ function ni(t, e, n, r, i, o) {
|
|
|
1475
1475
|
density: "compact"
|
|
1476
1476
|
}, {
|
|
1477
1477
|
"item.delete": l(({ item: _ }) => [
|
|
1478
|
-
|
|
1478
|
+
n(c, {
|
|
1479
1479
|
icon: "mdi-delete",
|
|
1480
1480
|
variant: "text",
|
|
1481
1481
|
"aria-label": "Delete Override",
|
|
1482
|
-
onClick: (P) =>
|
|
1482
|
+
onClick: (P) => s.deleteOverride(_)
|
|
1483
1483
|
}, null, 8, ["onClick"])
|
|
1484
1484
|
]),
|
|
1485
1485
|
_: 1
|
|
@@ -1488,13 +1488,13 @@ function ni(t, e, n, r, i, o) {
|
|
|
1488
1488
|
_: 1
|
|
1489
1489
|
})
|
|
1490
1490
|
]),
|
|
1491
|
-
|
|
1491
|
+
n(R, { class: "px-2" }, {
|
|
1492
1492
|
default: l(() => [
|
|
1493
|
-
|
|
1494
|
-
|
|
1493
|
+
n(d),
|
|
1494
|
+
n(c, {
|
|
1495
1495
|
variant: "flat",
|
|
1496
1496
|
"data-test": "overrides-dialog-ok",
|
|
1497
|
-
onClick: e[1] || (e[1] = (_) =>
|
|
1497
|
+
onClick: e[1] || (e[1] = (_) => s.show = !s.show)
|
|
1498
1498
|
}, {
|
|
1499
1499
|
default: l(() => [...e[5] || (e[5] = [
|
|
1500
1500
|
y(" Ok ", -1)
|
|
@@ -1577,58 +1577,58 @@ const oi = /* @__PURE__ */ K(ii, [["render", ni]]), li = {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
}, ri = ["textContent"], ai = { class: "pa-2" }, di = ["textContent"], ui = ["textContent"], ci = { key: 0 }, mi = { key: 1 };
|
|
1580
|
-
function pi(t, e,
|
|
1581
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1582
1582
|
return S(), U(T, {
|
|
1583
|
-
modelValue:
|
|
1584
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1583
|
+
modelValue: s.show,
|
|
1584
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1585
1585
|
persistent: "",
|
|
1586
1586
|
width: "600",
|
|
1587
|
-
onKeydown: Se(
|
|
1587
|
+
onKeydown: Se(s.cancelHandler, ["esc"])
|
|
1588
1588
|
}, {
|
|
1589
1589
|
default: l(() => [
|
|
1590
|
-
|
|
1590
|
+
n(E, null, {
|
|
1591
1591
|
default: l(() => [
|
|
1592
|
-
|
|
1592
|
+
n(p, { height: "24" }, {
|
|
1593
1593
|
default: l(() => [
|
|
1594
|
-
|
|
1594
|
+
n(d),
|
|
1595
1595
|
x("span", {
|
|
1596
1596
|
class: "text",
|
|
1597
|
-
textContent: L(
|
|
1597
|
+
textContent: L(o.title)
|
|
1598
1598
|
}, null, 8, ri),
|
|
1599
|
-
|
|
1599
|
+
n(d)
|
|
1600
1600
|
]),
|
|
1601
1601
|
_: 1
|
|
1602
1602
|
}),
|
|
1603
1603
|
x("div", ai, [
|
|
1604
|
-
|
|
1604
|
+
n(k, { class: "text" }, {
|
|
1605
1605
|
default: l(() => [
|
|
1606
|
-
|
|
1606
|
+
o.subtitle ? (S(), U(b, { key: 0 }, {
|
|
1607
1607
|
default: l(() => [
|
|
1608
|
-
|
|
1608
|
+
n(c, null, {
|
|
1609
1609
|
default: l(() => [
|
|
1610
|
-
y(L(
|
|
1610
|
+
y(L(o.subtitle), 1)
|
|
1611
1611
|
]),
|
|
1612
1612
|
_: 1
|
|
1613
1613
|
})
|
|
1614
1614
|
]),
|
|
1615
1615
|
_: 1
|
|
1616
1616
|
})) : z("", !0),
|
|
1617
|
-
|
|
1617
|
+
n(b, { class: "mt-1" }, {
|
|
1618
1618
|
default: l(() => [
|
|
1619
1619
|
x("span", {
|
|
1620
|
-
textContent: L(
|
|
1620
|
+
textContent: L(o.message)
|
|
1621
1621
|
}, null, 8, di)
|
|
1622
1622
|
]),
|
|
1623
1623
|
_: 1
|
|
1624
1624
|
}),
|
|
1625
|
-
|
|
1625
|
+
o.details ? (S(), U(b, {
|
|
1626
1626
|
key: 1,
|
|
1627
1627
|
class: "mt-1"
|
|
1628
1628
|
}, {
|
|
1629
1629
|
default: l(() => [
|
|
1630
1630
|
x("span", {
|
|
1631
|
-
textContent: L(
|
|
1631
|
+
textContent: L(o.details)
|
|
1632
1632
|
}, null, 8, ui)
|
|
1633
1633
|
]),
|
|
1634
1634
|
_: 1
|
|
@@ -1637,10 +1637,10 @@ function pi(t, e, n, r, i, o) {
|
|
|
1637
1637
|
_: 1
|
|
1638
1638
|
})
|
|
1639
1639
|
]),
|
|
1640
|
-
|
|
1641
|
-
|
|
1640
|
+
o.layout === "combo" ? (S(), D("div", ci, [
|
|
1641
|
+
n(b, { class: "ma-2" }, {
|
|
1642
1642
|
default: l(() => [
|
|
1643
|
-
|
|
1643
|
+
n(V, {
|
|
1644
1644
|
modelValue: i.selectedItem,
|
|
1645
1645
|
"onUpdate:modelValue": [
|
|
1646
1646
|
e[0] || (e[0] = (_) => i.selectedItem = _),
|
|
@@ -1650,30 +1650,30 @@ function pi(t, e, n, r, i, o) {
|
|
|
1650
1650
|
color: "secondary",
|
|
1651
1651
|
class: "ma-1",
|
|
1652
1652
|
"data-test": "prompt-select",
|
|
1653
|
-
items:
|
|
1654
|
-
multiple:
|
|
1653
|
+
items: o.buttons,
|
|
1654
|
+
multiple: o.multiple === !0
|
|
1655
1655
|
}, null, 8, ["modelValue", "items", "multiple"])
|
|
1656
1656
|
]),
|
|
1657
1657
|
_: 1
|
|
1658
1658
|
}),
|
|
1659
|
-
|
|
1659
|
+
n(R, { class: "px-2" }, {
|
|
1660
1660
|
default: l(() => [
|
|
1661
|
-
|
|
1662
|
-
|
|
1661
|
+
n(d),
|
|
1662
|
+
n(w, {
|
|
1663
1663
|
variant: "outlined",
|
|
1664
1664
|
"data-test": "prompt-cancel",
|
|
1665
|
-
onClick:
|
|
1665
|
+
onClick: s.cancelHandler
|
|
1666
1666
|
}, {
|
|
1667
1667
|
default: l(() => [...e[3] || (e[3] = [
|
|
1668
1668
|
y(" Cancel ", -1)
|
|
1669
1669
|
])]),
|
|
1670
1670
|
_: 1
|
|
1671
1671
|
}, 8, ["onClick"]),
|
|
1672
|
-
|
|
1672
|
+
n(w, {
|
|
1673
1673
|
variant: "flat",
|
|
1674
1674
|
"data-test": "prompt-ok",
|
|
1675
1675
|
disabled: i.selectOkDisabled,
|
|
1676
|
-
onClick:
|
|
1676
|
+
onClick: s.submitHandler
|
|
1677
1677
|
}, {
|
|
1678
1678
|
default: l(() => [...e[4] || (e[4] = [
|
|
1679
1679
|
y(" Ok ", -1)
|
|
@@ -1684,26 +1684,26 @@ function pi(t, e, n, r, i, o) {
|
|
|
1684
1684
|
_: 1
|
|
1685
1685
|
})
|
|
1686
1686
|
])) : (S(), D("div", mi, [
|
|
1687
|
-
|
|
1688
|
-
class: Ke(
|
|
1687
|
+
n(R, {
|
|
1688
|
+
class: Ke(s.layoutClass)
|
|
1689
1689
|
}, {
|
|
1690
1690
|
default: l(() => [
|
|
1691
|
-
|
|
1692
|
-
|
|
1691
|
+
n(d),
|
|
1692
|
+
n(w, {
|
|
1693
1693
|
variant: "outlined",
|
|
1694
1694
|
"data-test": "prompt-cancel",
|
|
1695
|
-
onClick:
|
|
1695
|
+
onClick: s.cancelHandler
|
|
1696
1696
|
}, {
|
|
1697
1697
|
default: l(() => [...e[5] || (e[5] = [
|
|
1698
1698
|
y(" Cancel ", -1)
|
|
1699
1699
|
])]),
|
|
1700
1700
|
_: 1
|
|
1701
1701
|
}, 8, ["onClick"]),
|
|
1702
|
-
(S(!0), D(ge, null, je(
|
|
1703
|
-
|
|
1702
|
+
(S(!0), D(ge, null, je(o.buttons, (_, P) => (S(), D("div", { key: P }, [
|
|
1703
|
+
n(w, {
|
|
1704
1704
|
variant: "flat",
|
|
1705
1705
|
"data-test": `prompt-${_.text}`,
|
|
1706
|
-
onClick: (G) =>
|
|
1706
|
+
onClick: (G) => s.submitWrapper(_.value)
|
|
1707
1707
|
}, {
|
|
1708
1708
|
default: l(() => [
|
|
1709
1709
|
y(L(_.text), 1)
|
|
@@ -1756,60 +1756,60 @@ const hi = /* @__PURE__ */ K(li, [["render", pi], ["__scopeId", "data-v-97ffc307
|
|
|
1756
1756
|
}), e = document.createElement("a");
|
|
1757
1757
|
e.href = URL.createObjectURL(t), e.setAttribute(
|
|
1758
1758
|
"download",
|
|
1759
|
-
|
|
1759
|
+
Oe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
|
|
1760
1760
|
), e.click();
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
}, gi = { class: "pa-2" };
|
|
1764
|
-
function vi(t, e,
|
|
1765
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1766
1766
|
return S(), U(R, {
|
|
1767
|
-
modelValue:
|
|
1768
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1767
|
+
modelValue: s.show,
|
|
1768
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => s.show = E),
|
|
1769
1769
|
scrollable: "",
|
|
1770
1770
|
width: "800"
|
|
1771
1771
|
}, {
|
|
1772
1772
|
default: l(() => [
|
|
1773
|
-
|
|
1773
|
+
n(w, null, {
|
|
1774
1774
|
default: l(() => [
|
|
1775
|
-
|
|
1775
|
+
n(p, { height: "24" }, {
|
|
1776
1776
|
default: l(() => [
|
|
1777
|
-
|
|
1777
|
+
n(d),
|
|
1778
1778
|
e[2] || (e[2] = x("span", null, " Script Results ", -1)),
|
|
1779
|
-
|
|
1779
|
+
n(d)
|
|
1780
1780
|
]),
|
|
1781
1781
|
_: 1
|
|
1782
1782
|
}),
|
|
1783
1783
|
x("div", gi, [
|
|
1784
|
-
|
|
1784
|
+
n(b, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1785
1785
|
default: l(() => [
|
|
1786
|
-
|
|
1786
|
+
n(c, {
|
|
1787
1787
|
readonly: "",
|
|
1788
1788
|
"hide-details": "",
|
|
1789
1789
|
density: "compact",
|
|
1790
1790
|
"auto-grow": "",
|
|
1791
|
-
"model-value":
|
|
1791
|
+
"model-value": o.text
|
|
1792
1792
|
}, null, 8, ["model-value"])
|
|
1793
1793
|
]),
|
|
1794
1794
|
_: 1
|
|
1795
1795
|
})
|
|
1796
1796
|
]),
|
|
1797
|
-
|
|
1797
|
+
n(V, { class: "px-2" }, {
|
|
1798
1798
|
default: l(() => [
|
|
1799
|
-
|
|
1800
|
-
|
|
1799
|
+
n(d),
|
|
1800
|
+
n(k, {
|
|
1801
1801
|
variant: "outlined",
|
|
1802
|
-
onClick:
|
|
1802
|
+
onClick: s.downloadResults
|
|
1803
1803
|
}, {
|
|
1804
1804
|
default: l(() => [...e[3] || (e[3] = [
|
|
1805
1805
|
y(" Download ", -1)
|
|
1806
1806
|
])]),
|
|
1807
1807
|
_: 1
|
|
1808
1808
|
}, 8, ["onClick"]),
|
|
1809
|
-
|
|
1809
|
+
n(k, {
|
|
1810
1810
|
ref: "okButton",
|
|
1811
1811
|
variant: "flat",
|
|
1812
|
-
onClick: e[0] || (e[0] = (E) =>
|
|
1812
|
+
onClick: e[0] || (e[0] = (E) => s.show = !s.show)
|
|
1813
1813
|
}, {
|
|
1814
1814
|
default: l(() => [...e[4] || (e[4] = [
|
|
1815
1815
|
y(" Ok ", -1)
|
|
@@ -1870,30 +1870,30 @@ const _i = /* @__PURE__ */ K(fi, [["render", vi]]), bi = {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
}
|
|
1872
1872
|
}, wi = { class: "pa-2" };
|
|
1873
|
-
function yi(t, e,
|
|
1874
|
-
const d = a("v-spacer"),
|
|
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");
|
|
1875
1875
|
return S(), U(R, {
|
|
1876
|
-
modelValue:
|
|
1877
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1876
|
+
modelValue: s.show,
|
|
1877
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => s.show = E),
|
|
1878
1878
|
persistent: "",
|
|
1879
1879
|
width: "600",
|
|
1880
|
-
onKeydown: Se(
|
|
1880
|
+
onKeydown: Se(s.cancel, ["esc"])
|
|
1881
1881
|
}, {
|
|
1882
1882
|
default: l(() => [
|
|
1883
|
-
|
|
1883
|
+
n(w, null, {
|
|
1884
1884
|
default: l(() => [
|
|
1885
|
-
|
|
1885
|
+
n(p, { height: "24" }, {
|
|
1886
1886
|
default: l(() => [
|
|
1887
|
-
|
|
1887
|
+
n(d),
|
|
1888
1888
|
e[2] || (e[2] = x("span", null, "Script Environment Variables", -1)),
|
|
1889
|
-
|
|
1889
|
+
n(d)
|
|
1890
1890
|
]),
|
|
1891
1891
|
_: 1
|
|
1892
1892
|
}),
|
|
1893
1893
|
x("div", wi, [
|
|
1894
|
-
|
|
1894
|
+
n(b, null, {
|
|
1895
1895
|
default: l(() => [
|
|
1896
|
-
|
|
1896
|
+
n(c, {
|
|
1897
1897
|
modelValue: i.selected,
|
|
1898
1898
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.selected = E)
|
|
1899
1899
|
}, null, 8, ["modelValue"])
|
|
@@ -1901,24 +1901,24 @@ function yi(t, e, n, r, i, o) {
|
|
|
1901
1901
|
_: 1
|
|
1902
1902
|
})
|
|
1903
1903
|
]),
|
|
1904
|
-
|
|
1904
|
+
n(V, { class: "px-2" }, {
|
|
1905
1905
|
default: l(() => [
|
|
1906
|
-
|
|
1907
|
-
|
|
1906
|
+
n(d),
|
|
1907
|
+
n(k, {
|
|
1908
1908
|
variant: "outlined",
|
|
1909
1909
|
"data-test": "environment-dialog-cancel",
|
|
1910
|
-
onClick:
|
|
1910
|
+
onClick: s.cancel
|
|
1911
1911
|
}, {
|
|
1912
1912
|
default: l(() => [...e[3] || (e[3] = [
|
|
1913
1913
|
y(" Cancel ", -1)
|
|
1914
1914
|
])]),
|
|
1915
1915
|
_: 1
|
|
1916
1916
|
}, 8, ["onClick"]),
|
|
1917
|
-
|
|
1917
|
+
n(k, {
|
|
1918
1918
|
variant: "flat",
|
|
1919
1919
|
"data-test": "environment-dialog-save",
|
|
1920
1920
|
disabled: !!t.inputError,
|
|
1921
|
-
onClick:
|
|
1921
|
+
onClick: s.updateEnvironment
|
|
1922
1922
|
}, {
|
|
1923
1923
|
default: l(() => [...e[4] || (e[4] = [
|
|
1924
1924
|
y(" Save ", -1)
|
|
@@ -2021,28 +2021,28 @@ const ki = /* @__PURE__ */ K(bi, [["render", yi]]), Si = {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
}
|
|
2023
2023
|
}, xi = { id: "tr-container" };
|
|
2024
|
-
function Ci(t, e,
|
|
2025
|
-
const d = a("v-checkbox"),
|
|
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");
|
|
2026
2026
|
return S(), D("div", null, [
|
|
2027
2027
|
x("div", xi, [
|
|
2028
|
-
|
|
2028
|
+
n(b, {
|
|
2029
2029
|
"no-gutters": "",
|
|
2030
2030
|
align: "center"
|
|
2031
2031
|
}, {
|
|
2032
2032
|
default: l(() => [
|
|
2033
|
-
|
|
2033
|
+
n(c, { cols: "4" }, {
|
|
2034
2034
|
default: l(() => [
|
|
2035
|
-
|
|
2035
|
+
n(b, { "no-gutters": "" }, {
|
|
2036
2036
|
default: l(() => [
|
|
2037
|
-
|
|
2037
|
+
n(c, { cols: "6" }, {
|
|
2038
2038
|
default: l(() => [
|
|
2039
|
-
|
|
2039
|
+
n(p, {
|
|
2040
2040
|
"open-delay": 600,
|
|
2041
2041
|
location: "top"
|
|
2042
2042
|
}, {
|
|
2043
2043
|
activator: l(({ props: w }) => [
|
|
2044
2044
|
x("div", le(re(w)), [
|
|
2045
|
-
|
|
2045
|
+
n(d, {
|
|
2046
2046
|
modelValue: i.options,
|
|
2047
2047
|
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
|
|
2048
2048
|
label: "Pause on Error",
|
|
@@ -2064,15 +2064,15 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2064
2064
|
]),
|
|
2065
2065
|
_: 1
|
|
2066
2066
|
}),
|
|
2067
|
-
|
|
2067
|
+
n(c, { cols: "6" }, {
|
|
2068
2068
|
default: l(() => [
|
|
2069
|
-
|
|
2069
|
+
n(p, {
|
|
2070
2070
|
"open-delay": 600,
|
|
2071
2071
|
location: "top"
|
|
2072
2072
|
}, {
|
|
2073
2073
|
activator: l(({ props: w }) => [
|
|
2074
2074
|
x("div", le(re(w)), [
|
|
2075
|
-
|
|
2075
|
+
n(d, {
|
|
2076
2076
|
modelValue: i.options,
|
|
2077
2077
|
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
|
|
2078
2078
|
label: "Manual",
|
|
@@ -2084,9 +2084,9 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2084
2084
|
]),
|
|
2085
2085
|
default: l(() => [
|
|
2086
2086
|
x("span", null, [
|
|
2087
|
-
y(L(
|
|
2087
|
+
y(L(s.checkedManualTooltip), 1),
|
|
2088
2088
|
e[17] || (e[17] = x("br", null, null, -1)),
|
|
2089
|
-
y(" " + L(
|
|
2089
|
+
y(" " + L(s.uncheckedManualTooltip), 1)
|
|
2090
2090
|
])
|
|
2091
2091
|
]),
|
|
2092
2092
|
_: 1
|
|
@@ -2100,20 +2100,20 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2100
2100
|
]),
|
|
2101
2101
|
_: 1
|
|
2102
2102
|
}),
|
|
2103
|
-
|
|
2103
|
+
n(c, { cols: "8" }, {
|
|
2104
2104
|
default: l(() => [
|
|
2105
|
-
|
|
2105
|
+
n(b, {
|
|
2106
2106
|
"no-gutters": "",
|
|
2107
2107
|
justify: "end"
|
|
2108
2108
|
}, {
|
|
2109
2109
|
default: l(() => [
|
|
2110
|
-
|
|
2110
|
+
n(c, { cols: "5" }, {
|
|
2111
2111
|
default: l(() => [
|
|
2112
|
-
|
|
2112
|
+
n(k, {
|
|
2113
2113
|
modelValue: i.suite,
|
|
2114
2114
|
"onUpdate:modelValue": [
|
|
2115
2115
|
e[2] || (e[2] = (w) => i.suite = w),
|
|
2116
|
-
|
|
2116
|
+
s.suiteChanged
|
|
2117
2117
|
],
|
|
2118
2118
|
label: "Suite:",
|
|
2119
2119
|
class: "mb-2 mr-2",
|
|
@@ -2126,12 +2126,12 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2126
2126
|
]),
|
|
2127
2127
|
_: 1
|
|
2128
2128
|
}),
|
|
2129
|
-
|
|
2129
|
+
n(c, { cols: "auto" }, {
|
|
2130
2130
|
default: l(() => [
|
|
2131
|
-
|
|
2131
|
+
n(V, {
|
|
2132
2132
|
color: "primary",
|
|
2133
2133
|
class: "mr-2",
|
|
2134
|
-
disabled:
|
|
2134
|
+
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2135
2135
|
"data-test": "start-suite",
|
|
2136
2136
|
onClick: e[3] || (e[3] = (w) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2137
2137
|
}, {
|
|
@@ -2140,11 +2140,11 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2140
2140
|
])]),
|
|
2141
2141
|
_: 1
|
|
2142
2142
|
}, 8, ["disabled"]),
|
|
2143
|
-
|
|
2143
|
+
n(V, {
|
|
2144
2144
|
color: "primary",
|
|
2145
2145
|
class: "mr-2",
|
|
2146
2146
|
"data-test": "setup-suite",
|
|
2147
|
-
disabled:
|
|
2147
|
+
disabled: o.disableButtons || !s.setupSuiteEnabled || !i.userInfo.execute,
|
|
2148
2148
|
onClick: e[4] || (e[4] = (w) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2149
2149
|
}, {
|
|
2150
2150
|
default: l(() => [...e[19] || (e[19] = [
|
|
@@ -2152,10 +2152,10 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2152
2152
|
])]),
|
|
2153
2153
|
_: 1
|
|
2154
2154
|
}, 8, ["disabled"]),
|
|
2155
|
-
|
|
2155
|
+
n(V, {
|
|
2156
2156
|
color: "primary",
|
|
2157
2157
|
"data-test": "teardown-suite",
|
|
2158
|
-
disabled:
|
|
2158
|
+
disabled: o.disableButtons || !s.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2159
2159
|
onClick: e[5] || (e[5] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2160
2160
|
}, {
|
|
2161
2161
|
default: l(() => [...e[20] || (e[20] = [
|
|
@@ -2175,21 +2175,21 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2175
2175
|
]),
|
|
2176
2176
|
_: 1
|
|
2177
2177
|
}),
|
|
2178
|
-
|
|
2178
|
+
n(b, { "no-gutters": "" }, {
|
|
2179
2179
|
default: l(() => [
|
|
2180
|
-
|
|
2180
|
+
n(c, { cols: "4" }, {
|
|
2181
2181
|
default: l(() => [
|
|
2182
|
-
|
|
2182
|
+
n(b, { "no-gutters": "" }, {
|
|
2183
2183
|
default: l(() => [
|
|
2184
|
-
|
|
2184
|
+
n(c, { cols: "6" }, {
|
|
2185
2185
|
default: l(() => [
|
|
2186
|
-
|
|
2186
|
+
n(p, {
|
|
2187
2187
|
"open-delay": 600,
|
|
2188
2188
|
location: "top"
|
|
2189
2189
|
}, {
|
|
2190
2190
|
activator: l(({ props: w }) => [
|
|
2191
2191
|
x("div", le(re(w)), [
|
|
2192
|
-
|
|
2192
|
+
n(d, {
|
|
2193
2193
|
modelValue: i.options,
|
|
2194
2194
|
"onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
|
|
2195
2195
|
label: "Continue after Error",
|
|
@@ -2211,15 +2211,15 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2211
2211
|
]),
|
|
2212
2212
|
_: 1
|
|
2213
2213
|
}),
|
|
2214
|
-
|
|
2214
|
+
n(c, { cols: "6" }, {
|
|
2215
2215
|
default: l(() => [
|
|
2216
|
-
|
|
2216
|
+
n(p, {
|
|
2217
2217
|
"open-delay": 600,
|
|
2218
2218
|
location: "top"
|
|
2219
2219
|
}, {
|
|
2220
2220
|
activator: l(({ props: w }) => [
|
|
2221
2221
|
x("div", le(re(w)), [
|
|
2222
|
-
|
|
2222
|
+
n(d, {
|
|
2223
2223
|
modelValue: i.options,
|
|
2224
2224
|
"onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
|
|
2225
2225
|
label: "Loop",
|
|
@@ -2247,20 +2247,20 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2247
2247
|
]),
|
|
2248
2248
|
_: 1
|
|
2249
2249
|
}),
|
|
2250
|
-
|
|
2250
|
+
n(c, { cols: "8" }, {
|
|
2251
2251
|
default: l(() => [
|
|
2252
|
-
|
|
2252
|
+
n(b, {
|
|
2253
2253
|
"no-gutters": "",
|
|
2254
2254
|
justify: "end"
|
|
2255
2255
|
}, {
|
|
2256
2256
|
default: l(() => [
|
|
2257
|
-
|
|
2257
|
+
n(c, { cols: "5" }, {
|
|
2258
2258
|
default: l(() => [
|
|
2259
|
-
|
|
2259
|
+
n(k, {
|
|
2260
2260
|
modelValue: i.group,
|
|
2261
2261
|
"onUpdate:modelValue": [
|
|
2262
2262
|
e[8] || (e[8] = (w) => i.group = w),
|
|
2263
|
-
|
|
2263
|
+
s.groupChanged
|
|
2264
2264
|
],
|
|
2265
2265
|
label: "Group:",
|
|
2266
2266
|
class: "mb-2 mr-2",
|
|
@@ -2273,12 +2273,12 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2273
2273
|
]),
|
|
2274
2274
|
_: 1
|
|
2275
2275
|
}),
|
|
2276
|
-
|
|
2276
|
+
n(c, { cols: "auto" }, {
|
|
2277
2277
|
default: l(() => [
|
|
2278
|
-
|
|
2278
|
+
n(V, {
|
|
2279
2279
|
color: "primary",
|
|
2280
2280
|
class: "mr-2",
|
|
2281
|
-
disabled:
|
|
2281
|
+
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2282
2282
|
"data-test": "start-group",
|
|
2283
2283
|
onClick: e[9] || (e[9] = (w) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2284
2284
|
}, {
|
|
@@ -2287,11 +2287,11 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2287
2287
|
])]),
|
|
2288
2288
|
_: 1
|
|
2289
2289
|
}, 8, ["disabled"]),
|
|
2290
|
-
|
|
2290
|
+
n(V, {
|
|
2291
2291
|
color: "primary",
|
|
2292
2292
|
class: "mr-2",
|
|
2293
2293
|
"data-test": "setup-group",
|
|
2294
|
-
disabled:
|
|
2294
|
+
disabled: o.disableButtons || !s.setupGroupEnabled || !i.userInfo.execute,
|
|
2295
2295
|
onClick: e[10] || (e[10] = (w) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2296
2296
|
}, {
|
|
2297
2297
|
default: l(() => [...e[24] || (e[24] = [
|
|
@@ -2299,10 +2299,10 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2299
2299
|
])]),
|
|
2300
2300
|
_: 1
|
|
2301
2301
|
}, 8, ["disabled"]),
|
|
2302
|
-
|
|
2302
|
+
n(V, {
|
|
2303
2303
|
color: "primary",
|
|
2304
2304
|
"data-test": "teardown-group",
|
|
2305
|
-
disabled:
|
|
2305
|
+
disabled: o.disableButtons || !s.teardownGroupEnabled || !i.userInfo.execute,
|
|
2306
2306
|
onClick: e[11] || (e[11] = (w) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2307
2307
|
}, {
|
|
2308
2308
|
default: l(() => [...e[25] || (e[25] = [
|
|
@@ -2322,21 +2322,21 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2322
2322
|
]),
|
|
2323
2323
|
_: 1
|
|
2324
2324
|
}),
|
|
2325
|
-
|
|
2325
|
+
n(b, { "no-gutters": "" }, {
|
|
2326
2326
|
default: l(() => [
|
|
2327
|
-
|
|
2327
|
+
n(c, { cols: "4" }, {
|
|
2328
2328
|
default: l(() => [
|
|
2329
|
-
|
|
2329
|
+
n(b, { "no-gutters": "" }, {
|
|
2330
2330
|
default: l(() => [
|
|
2331
|
-
|
|
2331
|
+
n(c, { cols: "6" }, {
|
|
2332
2332
|
default: l(() => [
|
|
2333
|
-
|
|
2333
|
+
n(p, {
|
|
2334
2334
|
"open-delay": 600,
|
|
2335
2335
|
location: "top"
|
|
2336
2336
|
}, {
|
|
2337
2337
|
activator: l(({ props: w }) => [
|
|
2338
2338
|
x("div", le(re(w)), [
|
|
2339
|
-
|
|
2339
|
+
n(d, {
|
|
2340
2340
|
modelValue: i.options,
|
|
2341
2341
|
"onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
|
|
2342
2342
|
label: "Abort after Error",
|
|
@@ -2358,15 +2358,15 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2358
2358
|
]),
|
|
2359
2359
|
_: 1
|
|
2360
2360
|
}),
|
|
2361
|
-
|
|
2361
|
+
n(c, { cols: "6" }, {
|
|
2362
2362
|
default: l(() => [
|
|
2363
|
-
|
|
2363
|
+
n(p, {
|
|
2364
2364
|
"open-delay": 600,
|
|
2365
2365
|
location: "top"
|
|
2366
2366
|
}, {
|
|
2367
2367
|
activator: l(({ props: w }) => [
|
|
2368
2368
|
x("div", le(re(w)), [
|
|
2369
|
-
|
|
2369
|
+
n(d, {
|
|
2370
2370
|
modelValue: i.options,
|
|
2371
2371
|
"onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
|
|
2372
2372
|
disabled: !i.options.includes("loop"),
|
|
@@ -2397,27 +2397,27 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2397
2397
|
]),
|
|
2398
2398
|
_: 1
|
|
2399
2399
|
}),
|
|
2400
|
-
|
|
2400
|
+
n(c, { cols: "8" }, {
|
|
2401
2401
|
default: l(() => [
|
|
2402
|
-
|
|
2402
|
+
n(b, {
|
|
2403
2403
|
"no-gutters": "",
|
|
2404
2404
|
justify: "end"
|
|
2405
2405
|
}, {
|
|
2406
2406
|
default: l(() => [
|
|
2407
|
-
|
|
2407
|
+
n(c, { cols: "5" }, {
|
|
2408
2408
|
default: l(() => [
|
|
2409
|
-
|
|
2409
|
+
n(k, {
|
|
2410
2410
|
modelValue: i.script,
|
|
2411
2411
|
"onUpdate:modelValue": [
|
|
2412
2412
|
e[14] || (e[14] = (w) => i.script = w),
|
|
2413
|
-
|
|
2413
|
+
s.scriptChanged
|
|
2414
2414
|
],
|
|
2415
2415
|
label: "Script:",
|
|
2416
2416
|
class: "mb-2 mr-2",
|
|
2417
2417
|
"hide-details": "",
|
|
2418
2418
|
density: "compact",
|
|
2419
2419
|
variant: "outlined",
|
|
2420
|
-
items:
|
|
2420
|
+
items: s.scriptNames,
|
|
2421
2421
|
"item-title": "title",
|
|
2422
2422
|
"item-value": "value",
|
|
2423
2423
|
"data-test": "select-script"
|
|
@@ -2425,12 +2425,12 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2425
2425
|
]),
|
|
2426
2426
|
_: 1
|
|
2427
2427
|
}),
|
|
2428
|
-
|
|
2428
|
+
n(c, { cols: "auto" }, {
|
|
2429
2429
|
default: l(() => [
|
|
2430
|
-
|
|
2430
|
+
n(V, {
|
|
2431
2431
|
color: "primary",
|
|
2432
2432
|
class: "mr-2",
|
|
2433
|
-
disabled:
|
|
2433
|
+
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2434
2434
|
"data-test": "start-script",
|
|
2435
2435
|
onClick: e[15] || (e[15] = (w) => t.$emit("button", {
|
|
2436
2436
|
method: "start",
|
|
@@ -2445,7 +2445,7 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2445
2445
|
])]),
|
|
2446
2446
|
_: 1
|
|
2447
2447
|
}, 8, ["disabled"]),
|
|
2448
|
-
|
|
2448
|
+
n(V, {
|
|
2449
2449
|
color: "primary",
|
|
2450
2450
|
class: "mr-2 invisible"
|
|
2451
2451
|
}, {
|
|
@@ -2454,7 +2454,7 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2454
2454
|
])]),
|
|
2455
2455
|
_: 1
|
|
2456
2456
|
}),
|
|
2457
|
-
|
|
2457
|
+
n(V, {
|
|
2458
2458
|
color: "primary",
|
|
2459
2459
|
class: "invisible"
|
|
2460
2460
|
}, {
|
|
@@ -2478,30 +2478,30 @@ function Ci(t, e, n, r, i, o) {
|
|
|
2478
2478
|
])
|
|
2479
2479
|
]);
|
|
2480
2480
|
}
|
|
2481
|
-
const Vi = /* @__PURE__ */ K(Si, [["render", Ci], ["__scopeId", "data-v-6be22c34"]]), qe = (t) =>
|
|
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) => {
|
|
2482
2482
|
const i = e(r);
|
|
2483
|
-
return
|
|
2483
|
+
return o[i] ? o[i].push(r) : o[i] = [r], o;
|
|
2484
2484
|
}, {}), Ri = (t) => {
|
|
2485
|
-
const e = "(^|[{\\(\\s])",
|
|
2486
|
-
return new RegExp(`${e}${t}${
|
|
2485
|
+
const e = "(^|[{\\(\\s])", o = `[\\s\\(]f?['"]`, r = "(\\S+\\s?){0,3}";
|
|
2486
|
+
return new RegExp(`${e}${t}${o}${r}$`);
|
|
2487
2487
|
};
|
|
2488
2488
|
class tt {
|
|
2489
|
-
constructor(e,
|
|
2489
|
+
constructor(e, o = () => {
|
|
2490
2490
|
}, r = () => {
|
|
2491
2491
|
}) {
|
|
2492
2492
|
this.keywordExpressions = [], this.autocompleteData = [], qe(e).then((i) => {
|
|
2493
2493
|
this.keywordExpressions = i.data.map(Ri), r();
|
|
2494
2494
|
}), Ei(e).then((i) => {
|
|
2495
|
-
this.autocompleteData = i.data,
|
|
2495
|
+
this.autocompleteData = i.data, o();
|
|
2496
2496
|
});
|
|
2497
2497
|
}
|
|
2498
|
-
getCompletions(e,
|
|
2498
|
+
getCompletions(e, o, r, i, s) {
|
|
2499
2499
|
let d = [];
|
|
2500
|
-
const
|
|
2500
|
+
const p = o.doc.$lines[r.row].slice(
|
|
2501
2501
|
0,
|
|
2502
2502
|
r.column
|
|
2503
2503
|
);
|
|
2504
|
-
this.keywordExpressions.some((c) =>
|
|
2504
|
+
this.keywordExpressions.some((c) => p.match(c)) && (d = this.autocompleteData), s(null, [
|
|
2505
2505
|
...d
|
|
2506
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)
|
|
2507
2507
|
// ...session.$mode.$highlightRules.$keywordList.map((word) => ({
|
|
@@ -2512,21 +2512,21 @@ class tt {
|
|
|
2512
2512
|
]);
|
|
2513
2513
|
}
|
|
2514
2514
|
}
|
|
2515
|
-
class
|
|
2515
|
+
class Oi extends tt {
|
|
2516
2516
|
constructor() {
|
|
2517
2517
|
super("cmd");
|
|
2518
2518
|
}
|
|
2519
2519
|
}
|
|
2520
|
-
class
|
|
2520
|
+
class Mi extends tt {
|
|
2521
2521
|
constructor() {
|
|
2522
2522
|
super("tlm", () => {
|
|
2523
|
-
this.groupedPacketData = this.autocompleteData.reduce((e,
|
|
2524
|
-
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 = {
|
|
2525
2525
|
caption: i,
|
|
2526
2526
|
snippet: i,
|
|
2527
2527
|
meta: "item"
|
|
2528
2528
|
};
|
|
2529
|
-
return e[r] ? e[r].push(
|
|
2529
|
+
return e[r] ? e[r].push(s) : e[r] = [s], e;
|
|
2530
2530
|
}, {}), this.packets = Object.keys(this.groupedPacketData).map((e) => ({
|
|
2531
2531
|
caption: e,
|
|
2532
2532
|
snippet: e,
|
|
@@ -2535,30 +2535,30 @@ class Oi extends tt {
|
|
|
2535
2535
|
});
|
|
2536
2536
|
}
|
|
2537
2537
|
// Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
|
|
2538
|
-
getCompletions(e,
|
|
2538
|
+
getCompletions(e, o, r, i, s) {
|
|
2539
2539
|
let d = [];
|
|
2540
|
-
const
|
|
2540
|
+
const p = o.doc.$lines[r.row].slice(
|
|
2541
2541
|
0,
|
|
2542
2542
|
r.column
|
|
2543
2543
|
);
|
|
2544
|
-
if (this.keywordExpressions.some((c) =>
|
|
2544
|
+
if (this.keywordExpressions.some((c) => p.match(c))) {
|
|
2545
2545
|
const c = Object.keys(this.groupedPacketData).find(
|
|
2546
|
-
(b) =>
|
|
2546
|
+
(b) => p.includes(b)
|
|
2547
2547
|
);
|
|
2548
2548
|
c ? d = this.groupedPacketData[c] : d = this.packets;
|
|
2549
2549
|
}
|
|
2550
|
-
|
|
2550
|
+
s(null, d);
|
|
2551
2551
|
}
|
|
2552
2552
|
}
|
|
2553
2553
|
const Xe = (t) => {
|
|
2554
|
-
const e = "(^|[{\\(\\s])",
|
|
2555
|
-
return new RegExp(`${e}${t}${
|
|
2554
|
+
const e = "(^|[{\\(\\s])", o = "((\\s.+)|(\\(.+\\)))";
|
|
2555
|
+
return new RegExp(`${e}${t}${o}`);
|
|
2556
2556
|
}, Ti = /\{/, Ii = /['"],\s?['"]/;
|
|
2557
2557
|
class Ui {
|
|
2558
2558
|
constructor() {
|
|
2559
2559
|
this.api = new Ie(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
2560
|
-
e.forEach((
|
|
2561
|
-
this.targets[
|
|
2560
|
+
e.forEach((o) => {
|
|
2561
|
+
this.targets[o] = {
|
|
2562
2562
|
cmd: null,
|
|
2563
2563
|
tlm: null
|
|
2564
2564
|
};
|
|
@@ -2570,24 +2570,24 @@ class Ui {
|
|
|
2570
2570
|
});
|
|
2571
2571
|
}
|
|
2572
2572
|
async checkText(e) {
|
|
2573
|
-
const { linesToCheck:
|
|
2573
|
+
const { linesToCheck: o, linesToSkip: r } = e.split(`
|
|
2574
2574
|
`).reduce(
|
|
2575
|
-
(
|
|
2575
|
+
(s, d, p) => {
|
|
2576
2576
|
if (d = d.trim(), d.match(/^#/))
|
|
2577
|
-
return
|
|
2577
|
+
return s;
|
|
2578
2578
|
const c = this.cmdKeywordExpressions.reduce((_, P) => _ || d.match(P), null), b = this.tlmKeywordExpressions.reduce((_, P) => _ || d.match(P), null);
|
|
2579
2579
|
if (!c && !b)
|
|
2580
|
-
return
|
|
2580
|
+
return s;
|
|
2581
2581
|
let k = c || b, V = k.length;
|
|
2582
2582
|
k = k[V - 1];
|
|
2583
2583
|
const w = k.substring(k.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
2584
2584
|
if (w.match(Ti))
|
|
2585
|
-
return
|
|
2585
|
+
return s.linesToSkip.push(p + 1), s;
|
|
2586
2586
|
const R = !!w.match(Ii), E = w.split(
|
|
2587
2587
|
R ? "," : " "
|
|
2588
2588
|
);
|
|
2589
2589
|
if (E.length < 2)
|
|
2590
|
-
return
|
|
2590
|
+
return s;
|
|
2591
2591
|
const T = {
|
|
2592
2592
|
target: E[0],
|
|
2593
2593
|
packet: E[1]
|
|
@@ -2604,42 +2604,42 @@ class Ui {
|
|
|
2604
2604
|
typeof T[_] == "string" ? T[_] = T[_].replace(/['"]/g, "").trim() : T[_] = T[_].map(
|
|
2605
2605
|
(P) => P.replace(/['"]/g, "").trim()
|
|
2606
2606
|
);
|
|
2607
|
-
return
|
|
2607
|
+
return s.linesToCheck.push({
|
|
2608
2608
|
line: d,
|
|
2609
2609
|
mnemonic: T,
|
|
2610
|
-
lineNumber:
|
|
2611
|
-
}),
|
|
2610
|
+
lineNumber: p + 1
|
|
2611
|
+
}), s;
|
|
2612
2612
|
},
|
|
2613
2613
|
{ linesToCheck: [], linesToSkip: [] }
|
|
2614
|
-
), i = await this._checkLines(
|
|
2614
|
+
), i = await this._checkLines(o);
|
|
2615
2615
|
return {
|
|
2616
2616
|
skipped: r.sort(),
|
|
2617
|
-
problems: i.sort((
|
|
2617
|
+
problems: i.sort((s, d) => s.lineNumber - d.lineNumber)
|
|
2618
2618
|
};
|
|
2619
2619
|
}
|
|
2620
2620
|
async _checkLines(e) {
|
|
2621
|
-
const
|
|
2621
|
+
const o = [], r = Ze(
|
|
2622
2622
|
e,
|
|
2623
2623
|
(i) => i.mnemonic.target
|
|
2624
2624
|
);
|
|
2625
2625
|
for (const i in r) {
|
|
2626
2626
|
if (!this.targets[i]) {
|
|
2627
2627
|
for (const d of r[i])
|
|
2628
|
-
|
|
2628
|
+
o.push({
|
|
2629
2629
|
...d,
|
|
2630
2630
|
error: `Target "${i}" does not exist.`
|
|
2631
2631
|
});
|
|
2632
2632
|
continue;
|
|
2633
2633
|
}
|
|
2634
|
-
const
|
|
2634
|
+
const s = Ze(
|
|
2635
2635
|
r[i],
|
|
2636
2636
|
(d) => d.mnemonic.packet
|
|
2637
2637
|
);
|
|
2638
|
-
for (const d in
|
|
2639
|
-
for (const
|
|
2640
|
-
const c =
|
|
2638
|
+
for (const d in s)
|
|
2639
|
+
for (const p of s[d]) {
|
|
2640
|
+
const c = p.mnemonic.item ? "tlm" : "cmd";
|
|
2641
2641
|
if (!this.targets[i][c]) {
|
|
2642
|
-
const k =
|
|
2642
|
+
const k = p.mnemonic.item ? "get_all_tlm" : "get_all_cmds", V = await this.api[k](i);
|
|
2643
2643
|
this.targets[i][c] = V.reduce(
|
|
2644
2644
|
(w, R) => (w[R.packet_name] = R.items.map(
|
|
2645
2645
|
(E) => E.name
|
|
@@ -2649,37 +2649,37 @@ class Ui {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
const b = this.targets[i][c][d];
|
|
2651
2651
|
if (!b) {
|
|
2652
|
-
|
|
2653
|
-
...
|
|
2652
|
+
o.push({
|
|
2653
|
+
...p,
|
|
2654
2654
|
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
2655
2655
|
});
|
|
2656
2656
|
continue;
|
|
2657
2657
|
}
|
|
2658
|
-
if (
|
|
2659
|
-
if (!b.some((k) => k ===
|
|
2660
|
-
|
|
2661
|
-
...
|
|
2662
|
-
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.`
|
|
2663
2663
|
});
|
|
2664
2664
|
continue;
|
|
2665
2665
|
}
|
|
2666
2666
|
} else
|
|
2667
|
-
for (const k of
|
|
2667
|
+
for (const k of p.mnemonic.params)
|
|
2668
2668
|
if (!b.some((V) => V === k)) {
|
|
2669
|
-
|
|
2670
|
-
...
|
|
2669
|
+
o.push({
|
|
2670
|
+
...p,
|
|
2671
2671
|
error: `Command "${i} ${d}" param "${k}" does not exist.`
|
|
2672
2672
|
});
|
|
2673
2673
|
continue;
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
2676
|
}
|
|
2677
|
-
return
|
|
2677
|
+
return o;
|
|
2678
2678
|
}
|
|
2679
2679
|
}
|
|
2680
|
-
var ee, ve, _e, be, we,
|
|
2680
|
+
var ee, ve, _e, be, we, Me, ye, ke, Te;
|
|
2681
2681
|
class Di {
|
|
2682
|
-
constructor(e, { pattern:
|
|
2682
|
+
constructor(e, { pattern: o, text: r, type: i }) {
|
|
2683
2683
|
// TODO: the eslint parser errors on these because of the #
|
|
2684
2684
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2685
2685
|
W(this, ee);
|
|
@@ -2691,67 +2691,67 @@ class Di {
|
|
|
2691
2691
|
Ne(this, "refresh", () => {
|
|
2692
2692
|
const e = B(this, ve).session;
|
|
2693
2693
|
B(this, Te).call(this, e);
|
|
2694
|
-
const
|
|
2694
|
+
const o = {
|
|
2695
2695
|
lines: e.doc.$lines,
|
|
2696
2696
|
action: "insert",
|
|
2697
2697
|
start: { row: 0 },
|
|
2698
2698
|
end: { row: e.doc.$lines.length }
|
|
2699
2699
|
};
|
|
2700
|
-
this.annotate(
|
|
2700
|
+
this.annotate(o, e);
|
|
2701
2701
|
});
|
|
2702
2702
|
// Update annotations for the changed lines
|
|
2703
|
-
Ne(this, "annotate", (e,
|
|
2703
|
+
Ne(this, "annotate", (e, o) => {
|
|
2704
2704
|
var r, i;
|
|
2705
2705
|
if (e.lines.length > 1)
|
|
2706
2706
|
switch (e.action) {
|
|
2707
2707
|
case "insert":
|
|
2708
|
-
B(this, ke).call(this,
|
|
2708
|
+
B(this, ke).call(this, o, e.start.row, e.lines.length - 1);
|
|
2709
2709
|
break;
|
|
2710
2710
|
case "remove":
|
|
2711
|
-
B(this, ke).call(this,
|
|
2711
|
+
B(this, ke).call(this, o, e.start.row + 1, -e.lines.length + 1);
|
|
2712
2712
|
break;
|
|
2713
2713
|
}
|
|
2714
|
-
for (let
|
|
2715
|
-
let d = (i = (r =
|
|
2716
|
-
d !== void 0 ? (d !== 0 && (d += 1), B(this,
|
|
2717
|
-
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,
|
|
2718
2718
|
column: d,
|
|
2719
2719
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2720
2720
|
text: B(this, be),
|
|
2721
2721
|
type: B(this, we),
|
|
2722
2722
|
openc3Id: B(this, ee)
|
|
2723
|
-
})) : e.action === "remove" && B(this, ye).call(this,
|
|
2723
|
+
})) : e.action === "remove" && B(this, ye).call(this, o, s);
|
|
2724
2724
|
}
|
|
2725
2725
|
});
|
|
2726
|
-
W(this,
|
|
2727
|
-
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]);
|
|
2728
2728
|
});
|
|
2729
|
-
W(this, ye, (e,
|
|
2729
|
+
W(this, ye, (e, o) => {
|
|
2730
2730
|
e.setAnnotations(
|
|
2731
2731
|
e.getAnnotations().filter(
|
|
2732
|
-
(r) => r.openc3Id !== B(this, ee) || r.row !==
|
|
2732
|
+
(r) => r.openc3Id !== B(this, ee) || r.row !== o
|
|
2733
2733
|
)
|
|
2734
2734
|
);
|
|
2735
2735
|
});
|
|
2736
|
-
W(this, ke, (e,
|
|
2736
|
+
W(this, ke, (e, o, r) => {
|
|
2737
2737
|
e.setAnnotations(
|
|
2738
|
-
e.getAnnotations().map((i) => (i.row >
|
|
2738
|
+
e.getAnnotations().map((i) => (i.row > o && (i.row += r), i))
|
|
2739
2739
|
);
|
|
2740
2740
|
});
|
|
2741
2741
|
W(this, Te, (e) => {
|
|
2742
2742
|
e.setAnnotations(
|
|
2743
|
-
e.getAnnotations().filter((
|
|
2743
|
+
e.getAnnotations().filter((o) => o.openc3Id !== B(this, ee))
|
|
2744
2744
|
);
|
|
2745
2745
|
});
|
|
2746
|
-
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);
|
|
2747
2747
|
}
|
|
2748
2748
|
}
|
|
2749
|
-
ee = new WeakMap(), ve = new WeakMap(), _e = new WeakMap(), be = new WeakMap(), we = new WeakMap(),
|
|
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();
|
|
2750
2750
|
class Pi extends Di {
|
|
2751
2751
|
constructor(e) {
|
|
2752
|
-
const
|
|
2752
|
+
const o = "(^|[{\\s])", r = "sleep", i = "[\\(\\s]";
|
|
2753
2753
|
super(e, {
|
|
2754
|
-
pattern: new RegExp(`${
|
|
2754
|
+
pattern: new RegExp(`${o}${r}${i}`),
|
|
2755
2755
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2756
2756
|
// because we override wait to make it work better, but not sleep
|
|
2757
2757
|
type: "warning"
|
|
@@ -2782,8 +2782,8 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2782
2782
|
CommandEditor: wt
|
|
2783
2783
|
},
|
|
2784
2784
|
mixins: [ft, Et],
|
|
2785
|
-
beforeRouteUpdate: function(t, e,
|
|
2786
|
-
t.params.id ? this.tryLoadRunningScript(t.params.id).then(
|
|
2785
|
+
beforeRouteUpdate: function(t, e, o) {
|
|
2786
|
+
t.params.id ? this.tryLoadRunningScript(t.params.id).then(o) : o();
|
|
2787
2787
|
},
|
|
2788
2788
|
props: {
|
|
2789
2789
|
inline: {
|
|
@@ -3232,14 +3232,14 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3232
3232
|
}
|
|
3233
3233
|
},
|
|
3234
3234
|
created: async function() {
|
|
3235
|
-
this.api = new Ie(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((
|
|
3236
|
-
|
|
3237
|
-
}).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) => {
|
|
3238
3238
|
}), this.NEW_FILENAME = q;
|
|
3239
3239
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3240
3240
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3241
|
-
for (let
|
|
3242
|
-
|
|
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) => {
|
|
3243
3243
|
r.data !== null && r.data.permissions !== void 0 && (r.data.permissions.some(
|
|
3244
3244
|
(i) => i.permission == "script_edit"
|
|
3245
3245
|
) && (this.readOnlyUser = !1), r.data.permissions.some(
|
|
@@ -3252,27 +3252,27 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3252
3252
|
execute: this.executeUser
|
|
3253
3253
|
})), this.readOnlyUser == !0) {
|
|
3254
3254
|
this.alertType = "info";
|
|
3255
|
-
let
|
|
3256
|
-
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;
|
|
3257
3257
|
}
|
|
3258
|
-
|
|
3259
|
-
this.screenKeywords =
|
|
3258
|
+
O.get("/openc3-api/autocomplete/keywords/screen").then((o) => {
|
|
3259
|
+
this.screenKeywords = o.data;
|
|
3260
3260
|
}), this.inline && (this.readOnly = !0);
|
|
3261
3261
|
},
|
|
3262
3262
|
mounted: async function() {
|
|
3263
|
-
var i,
|
|
3263
|
+
var i, s;
|
|
3264
3264
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3265
3265
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
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
|
|
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
3267
|
const r = new Pi(this.editor);
|
|
3268
|
-
this.editor.session.on("change", (d,
|
|
3269
|
-
r.annotate(d,
|
|
3268
|
+
this.editor.session.on("change", (d, p) => {
|
|
3269
|
+
r.annotate(d, p), this.updateBreakpoints(d, p);
|
|
3270
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) => ({
|
|
3271
3271
|
...d,
|
|
3272
|
-
command: async (
|
|
3273
|
-
this.filename =
|
|
3272
|
+
command: async (p) => {
|
|
3273
|
+
this.filename = p.label, await this.reloadFile();
|
|
3274
3274
|
}
|
|
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()) : (
|
|
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 () => {
|
|
3276
3276
|
this.processReceived();
|
|
3277
3277
|
}, 100);
|
|
3278
3278
|
},
|
|
@@ -3290,8 +3290,8 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3290
3290
|
this.executeSelectionMenu = !1;
|
|
3291
3291
|
const t = this.editor.getCursorPosition(), e = this.editor.session.getLine(t.row);
|
|
3292
3292
|
if (this.currentLineHasCommand) {
|
|
3293
|
-
const
|
|
3294
|
-
this.commandEditor.cmdString =
|
|
3293
|
+
const o = this.parseCommandFromLine(e);
|
|
3294
|
+
this.commandEditor.cmdString = o, this.commandEditor.isEditing = !0, this.commandEditor.editLine = t.row;
|
|
3295
3295
|
} else
|
|
3296
3296
|
this.commandEditor.cmdString = null, this.commandEditor.isEditing = !1, this.commandEditor.editLine = null;
|
|
3297
3297
|
this.commandEditor.show = !0, this.commandEditor.dialogError = null;
|
|
@@ -3300,26 +3300,26 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3300
3300
|
let e = "";
|
|
3301
3301
|
try {
|
|
3302
3302
|
e = this.$refs.commandEditor.getCmdString();
|
|
3303
|
-
let
|
|
3304
|
-
this.commandEditor.targetName =
|
|
3305
|
-
} catch (
|
|
3306
|
-
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";
|
|
3307
3307
|
return;
|
|
3308
3308
|
}
|
|
3309
3309
|
if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
|
|
3310
|
-
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;
|
|
3311
3311
|
this.editor.session.replace(
|
|
3312
|
-
new
|
|
3312
|
+
new p(
|
|
3313
3313
|
this.commandEditor.editLine,
|
|
3314
3314
|
0,
|
|
3315
3315
|
this.commandEditor.editLine,
|
|
3316
|
-
|
|
3316
|
+
o.length
|
|
3317
3317
|
),
|
|
3318
3318
|
d
|
|
3319
3319
|
);
|
|
3320
3320
|
} else {
|
|
3321
|
-
const
|
|
3322
|
-
this.editor.session.insert(
|
|
3321
|
+
const o = this.editor.getCursorPosition();
|
|
3322
|
+
this.editor.session.insert(o, `cmd("${e}")
|
|
3323
3323
|
`);
|
|
3324
3324
|
}
|
|
3325
3325
|
this.fileModified = !0, this.commandEditor.show = !1;
|
|
@@ -3334,7 +3334,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3334
3334
|
this.subscription && (this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0;
|
|
3335
3335
|
},
|
|
3336
3336
|
showMetadata() {
|
|
3337
|
-
|
|
3337
|
+
O.get("/openc3-api/metadata").then((t) => {
|
|
3338
3338
|
this.inputMetadata.events = t.data.map((e) => ({
|
|
3339
3339
|
name: "Metadata",
|
|
3340
3340
|
start: new Date(e.start * 1e3),
|
|
@@ -3364,10 +3364,10 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3364
3364
|
), this.editor.gotoLine(this.files[t].lineNo);
|
|
3365
3365
|
},
|
|
3366
3366
|
tryLoadRunningScript: function(t) {
|
|
3367
|
-
return
|
|
3367
|
+
return O.get(`/script-api/running-script/${t}`).then((e) => {
|
|
3368
3368
|
if (e.data) {
|
|
3369
|
-
let
|
|
3370
|
-
|
|
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({
|
|
3371
3371
|
title: `Script ${t} has already completed`,
|
|
3372
3372
|
body: "Check the Completed Scripts below ..."
|
|
3373
3373
|
}), this.scriptComplete(), this.showScripts = !0);
|
|
@@ -3385,8 +3385,8 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3385
3385
|
},
|
|
3386
3386
|
showExecuteSelectionMenu: function(t) {
|
|
3387
3387
|
this.menuX = t.pageX, this.menuY = t.pageY;
|
|
3388
|
-
const e = this.editor.getCursorPosition(),
|
|
3389
|
-
this.currentLineHasCommand = this.isCommandLine(
|
|
3388
|
+
const e = this.editor.getCursorPosition(), o = this.editor.session.getLine(e.row);
|
|
3389
|
+
this.currentLineHasCommand = this.isCommandLine(o), this.executeSelectionMenu = !0;
|
|
3390
3390
|
},
|
|
3391
3391
|
isCommandLine: function(t) {
|
|
3392
3392
|
const e = t.trim();
|
|
@@ -3398,7 +3398,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3398
3398
|
},
|
|
3399
3399
|
runFromCursor: function() {
|
|
3400
3400
|
const t = this.editor.getCursorPosition().row + 1;
|
|
3401
|
-
this.scriptId ?
|
|
3401
|
+
this.scriptId ? O.post(
|
|
3402
3402
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3403
3403
|
{
|
|
3404
3404
|
data: {
|
|
@@ -3409,15 +3409,15 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3409
3409
|
},
|
|
3410
3410
|
executeSelection: function() {
|
|
3411
3411
|
const t = this.editor.getSelectionRange();
|
|
3412
|
-
let e = t.start.row + 1,
|
|
3413
|
-
t.end.column === 0 && (
|
|
3412
|
+
let e = t.start.row + 1, o = t.end.row + 1;
|
|
3413
|
+
t.end.column === 0 && (o -= 1), this.scriptId ? O.post(
|
|
3414
3414
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3415
3415
|
{
|
|
3416
3416
|
data: {
|
|
3417
|
-
args: [this.filenameSelect, e,
|
|
3417
|
+
args: [this.filenameSelect, e, o]
|
|
3418
3418
|
}
|
|
3419
3419
|
}
|
|
3420
|
-
) : this.start(null, null, e,
|
|
3420
|
+
) : this.start(null, null, e, o);
|
|
3421
3421
|
},
|
|
3422
3422
|
clearBreakpoints: function() {
|
|
3423
3423
|
this.editor.session.clearBreakpoints();
|
|
@@ -3431,38 +3431,38 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3431
3431
|
updateBreakpoints: function(t, e) {
|
|
3432
3432
|
if (t.lines.length <= 1)
|
|
3433
3433
|
return;
|
|
3434
|
-
const
|
|
3435
|
-
(
|
|
3434
|
+
const o = this.getBreakpointRows(e).filter(
|
|
3435
|
+
(s) => t.start.column === 0 && s === t.start.row || s > t.start.row
|
|
3436
3436
|
);
|
|
3437
3437
|
let r = [], i = 0;
|
|
3438
3438
|
switch (t.action) {
|
|
3439
3439
|
case "insert":
|
|
3440
|
-
i = t.lines.length - 1,
|
|
3440
|
+
i = t.lines.length - 1, o.reverse();
|
|
3441
3441
|
break;
|
|
3442
3442
|
case "remove":
|
|
3443
3443
|
i = -t.lines.length + 1, r = [...Array(t.lines.length).keys()].map(
|
|
3444
|
-
(
|
|
3444
|
+
(s) => s + t.start.row
|
|
3445
3445
|
);
|
|
3446
3446
|
break;
|
|
3447
3447
|
}
|
|
3448
|
-
|
|
3449
|
-
e.clearBreakpoint(
|
|
3448
|
+
o.forEach((s) => {
|
|
3449
|
+
e.clearBreakpoint(s), r.includes(s) || e.setBreakpoint(s + i);
|
|
3450
3450
|
});
|
|
3451
3451
|
},
|
|
3452
3452
|
getBreakpointRows: function(t = this.editor.session) {
|
|
3453
|
-
return t.getBreakpoints().map((e,
|
|
3453
|
+
return t.getBreakpoints().map((e, o) => e && o).filter(Number.isInteger);
|
|
3454
3454
|
},
|
|
3455
3455
|
restoreBreakpoints: function(t) {
|
|
3456
3456
|
var e;
|
|
3457
|
-
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((
|
|
3458
|
-
this.editor.session.setBreakpoint(
|
|
3457
|
+
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((o) => {
|
|
3458
|
+
this.editor.session.setBreakpoint(o);
|
|
3459
3459
|
});
|
|
3460
3460
|
},
|
|
3461
3461
|
deleteAllBreakpoints: function() {
|
|
3462
3462
|
this.$dialog.confirm("Permanently delete all breakpoints for ALL scripts?", {
|
|
3463
3463
|
okText: "Delete",
|
|
3464
3464
|
cancelText: "Cancel"
|
|
3465
|
-
}).then((t) =>
|
|
3465
|
+
}).then((t) => O.delete("/script-api/breakpoints/delete/all")).then((t) => {
|
|
3466
3466
|
this.clearBreakpoints();
|
|
3467
3467
|
});
|
|
3468
3468
|
},
|
|
@@ -3477,19 +3477,19 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3477
3477
|
},
|
|
3478
3478
|
checkMnemonics: function() {
|
|
3479
3479
|
let t = this.filename;
|
|
3480
|
-
this.filename !== q && (t.endsWith(".rb") || t.endsWith(".py") ||
|
|
3480
|
+
this.filename !== q && (t.endsWith(".rb") || t.endsWith(".py") || O.post(`/script-api/scripts/${this.filename}/mnemonics`, {
|
|
3481
3481
|
data: this.editor.getValue(),
|
|
3482
3482
|
headers: {
|
|
3483
3483
|
Accept: "application/json",
|
|
3484
3484
|
"Content-Type": "plain/text"
|
|
3485
3485
|
}
|
|
3486
3486
|
}).then((e) => {
|
|
3487
|
-
let
|
|
3488
|
-
|
|
3489
|
-
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems:
|
|
3487
|
+
let 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 }) => {
|
|
3490
3490
|
let r = "";
|
|
3491
|
-
if (
|
|
3492
|
-
const i =
|
|
3491
|
+
if (o.length) {
|
|
3492
|
+
const i = o.map((s) => `${s.lineNumber}: ${s.error}`).join("<br/>");
|
|
3493
3493
|
r += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3494
3494
|
}
|
|
3495
3495
|
e.length && (r += "<strong>Mnemonics with string interpolation were not checked.</strong>"), r === "" && (r = "<strong>Everything looks good!</strong>"), this.$dialog.alert(r.trim(), { html: !0 });
|
|
@@ -3521,37 +3521,37 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3521
3521
|
startHandler: function() {
|
|
3522
3522
|
this.start();
|
|
3523
3523
|
},
|
|
3524
|
-
async start(t = null, e = null,
|
|
3524
|
+
async start(t = null, e = null, o = null, r = null) {
|
|
3525
3525
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3526
3526
|
let i = this.filename;
|
|
3527
3527
|
this.filename === q && (i = this.tempFilename);
|
|
3528
|
-
let
|
|
3529
|
-
this.showDisconnect && (
|
|
3528
|
+
let s = `/script-api/scripts/${i}/run`;
|
|
3529
|
+
this.showDisconnect && (s += "/disconnect");
|
|
3530
3530
|
let d = this.scriptEnvironment.env;
|
|
3531
3531
|
this.enableStackTraces && (d = d.concat({
|
|
3532
3532
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3533
3533
|
value: "1"
|
|
3534
3534
|
}));
|
|
3535
|
-
let
|
|
3535
|
+
let p = {
|
|
3536
3536
|
environment: d
|
|
3537
3537
|
};
|
|
3538
|
-
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) => {
|
|
3539
3539
|
this.scriptStart(c.data);
|
|
3540
3540
|
}).catch((c) => {
|
|
3541
3541
|
this.scriptComplete();
|
|
3542
3542
|
});
|
|
3543
3543
|
},
|
|
3544
3544
|
go() {
|
|
3545
|
-
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename),
|
|
3545
|
+
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename), O.post(`/script-api/running-script/${this.scriptId}/go`);
|
|
3546
3546
|
},
|
|
3547
3547
|
pauseOrRetry() {
|
|
3548
|
-
this.pauseOrRetryButton === he ?
|
|
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`));
|
|
3549
3549
|
},
|
|
3550
3550
|
stop() {
|
|
3551
|
-
|
|
3551
|
+
O.post(`/script-api/running-script/${this.scriptId}/stop`);
|
|
3552
3552
|
},
|
|
3553
3553
|
step() {
|
|
3554
|
-
|
|
3554
|
+
O.post(`/script-api/running-script/${this.scriptId}/step`);
|
|
3555
3555
|
},
|
|
3556
3556
|
// This is called by processLine no matter the current state
|
|
3557
3557
|
handleWaiting() {
|
|
@@ -3567,12 +3567,12 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3567
3567
|
this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
|
|
3568
3568
|
},
|
|
3569
3569
|
processLine(t) {
|
|
3570
|
-
t.filename && t.filename !== this.currentFilename && (this.files[t.filename] ? (this.currentFilename = t.filename, this.editor.setValue(this.files[t.filename].content), this.restoreBreakpoints(t.filename), this.editor.clearSelection()) : (this.files[t.filename] = { content: "", lineNo: 0 },
|
|
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) => {
|
|
3571
3571
|
this.files[t.filename] = {
|
|
3572
|
-
content:
|
|
3572
|
+
content: o.data.contents,
|
|
3573
3573
|
lineNo: 0
|
|
3574
|
-
}, this.breakpoints[t.filename] =
|
|
3575
|
-
}).catch((
|
|
3574
|
+
}, this.breakpoints[t.filename] = o.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
|
|
3575
|
+
}).catch((o) => {
|
|
3576
3576
|
this.files[t.filename] = null;
|
|
3577
3577
|
}))), this.state = t.state;
|
|
3578
3578
|
const e = this.editor.session.getMarkers();
|
|
@@ -3621,7 +3621,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3621
3621
|
let t = 0;
|
|
3622
3622
|
for (let e of this.receivedEvents) {
|
|
3623
3623
|
t += 1;
|
|
3624
|
-
let
|
|
3624
|
+
let o = 0;
|
|
3625
3625
|
switch (e.type) {
|
|
3626
3626
|
case "file":
|
|
3627
3627
|
this.files[e.filename] = { content: e.text, lineNo: 0 }, this.breakpoints[e.filename] = e.breakpoints, this.currentFilename === e.filename && this.restoreBreakpoints(e.filename);
|
|
@@ -3630,9 +3630,11 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3630
3630
|
this.processLine(e);
|
|
3631
3631
|
break;
|
|
3632
3632
|
case "output":
|
|
3633
|
-
|
|
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(`
|
|
3634
3636
|
`))
|
|
3635
|
-
|
|
3637
|
+
p && (this.messagesNewestOnTop ? this.messages.unshift({ message: p }) : this.messages.push({ message: p }));
|
|
3636
3638
|
for (; this.messages.length > this.maxArrayLength; )
|
|
3637
3639
|
this.messages.pop();
|
|
3638
3640
|
break;
|
|
@@ -3649,31 +3651,31 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3649
3651
|
this.showDebug = !0;
|
|
3650
3652
|
break;
|
|
3651
3653
|
case "screen":
|
|
3652
|
-
let
|
|
3654
|
+
let i = !1, s = {};
|
|
3653
3655
|
for (screen of this.screens) {
|
|
3654
3656
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3655
|
-
|
|
3657
|
+
s = screen, i = !0;
|
|
3656
3658
|
break;
|
|
3657
3659
|
}
|
|
3658
|
-
|
|
3660
|
+
o += 1;
|
|
3659
3661
|
}
|
|
3660
|
-
|
|
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);
|
|
3661
3663
|
break;
|
|
3662
3664
|
case "clearscreen":
|
|
3663
3665
|
for (screen of this.screens) {
|
|
3664
3666
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3665
|
-
this.screens.splice(
|
|
3667
|
+
this.screens.splice(o, 1);
|
|
3666
3668
|
break;
|
|
3667
3669
|
}
|
|
3668
|
-
|
|
3670
|
+
o += 1;
|
|
3669
3671
|
}
|
|
3670
3672
|
break;
|
|
3671
3673
|
case "clearallscreens":
|
|
3672
3674
|
this.screens = [];
|
|
3673
3675
|
break;
|
|
3674
3676
|
case "downloadfile":
|
|
3675
|
-
const
|
|
3676
|
-
|
|
3677
|
+
const d = document.createElement("a");
|
|
3678
|
+
d.href = window.location.origin + e.url, d.setAttribute("download", e.filename), d.click();
|
|
3677
3679
|
break;
|
|
3678
3680
|
}
|
|
3679
3681
|
}
|
|
@@ -3683,7 +3685,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3683
3685
|
this.cable.recordPing(), this.receivedEvents.push(t);
|
|
3684
3686
|
},
|
|
3685
3687
|
promptDialogCallback(t) {
|
|
3686
|
-
this.prompt.show = !1,
|
|
3688
|
+
this.prompt.show = !1, O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3687
3689
|
data: {
|
|
3688
3690
|
method: this.prompt.method,
|
|
3689
3691
|
answer: t,
|
|
@@ -3701,14 +3703,14 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3701
3703
|
case "ask":
|
|
3702
3704
|
case "ask_string":
|
|
3703
3705
|
this.ask.default = null, this.ask.answerRequired = !0, this.ask.password = !1, this.ask.question = t.args[0], t.args[1] && t.args[1] !== !0 && t.args[1] !== !1 ? this.ask.default = t.args[1].toString() : t.args[1] === !0 && (this.ask.answerRequired = !1), t.args[2] === !0 && (this.ask.password = !0), this.ask.callback = (e) => {
|
|
3704
|
-
this.ask.show = !1, this.ask.password ?
|
|
3706
|
+
this.ask.show = !1, this.ask.password ? O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3705
3707
|
data: {
|
|
3706
3708
|
method: t.method,
|
|
3707
3709
|
password: e,
|
|
3708
3710
|
// Using password as a key automatically filters it from rails logs
|
|
3709
3711
|
prompt_id: this.activePromptId
|
|
3710
3712
|
}
|
|
3711
|
-
}) :
|
|
3713
|
+
}) : O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3712
3714
|
data: {
|
|
3713
3715
|
method: t.method,
|
|
3714
3716
|
answer: e,
|
|
@@ -3742,7 +3744,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3742
3744
|
break;
|
|
3743
3745
|
case "metadata_input":
|
|
3744
3746
|
this.inputMetadata.callback = (e) => {
|
|
3745
|
-
this.inputMetadata.show = !1,
|
|
3747
|
+
this.inputMetadata.show = !1, O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3746
3748
|
data: {
|
|
3747
3749
|
method: t.method,
|
|
3748
3750
|
answer: e,
|
|
@@ -3759,15 +3761,15 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3759
3761
|
}
|
|
3760
3762
|
},
|
|
3761
3763
|
async fileDialogCallback(t) {
|
|
3762
|
-
let e = "Cancel",
|
|
3764
|
+
let e = "Cancel", o = [];
|
|
3763
3765
|
t != "Cancel" && (e = [], t.forEach((r) => {
|
|
3764
|
-
e.push(r.name),
|
|
3765
|
-
|
|
3766
|
+
e.push(r.name), o.push(
|
|
3767
|
+
O.get(
|
|
3766
3768
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3767
3769
|
`${window.openc3Scope}/tmp/${r.name}`
|
|
3768
3770
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3769
3771
|
).then((i) => {
|
|
3770
|
-
|
|
3772
|
+
o.push(
|
|
3771
3773
|
gt({
|
|
3772
3774
|
...i.data,
|
|
3773
3775
|
data: r
|
|
@@ -3775,8 +3777,8 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3775
3777
|
);
|
|
3776
3778
|
})
|
|
3777
3779
|
);
|
|
3778
|
-
})), Promise.all(
|
|
3779
|
-
|
|
3780
|
+
})), Promise.all(o).then((r) => {
|
|
3781
|
+
O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3780
3782
|
data: {
|
|
3781
3783
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
3782
3784
|
answer: e,
|
|
@@ -3894,12 +3896,12 @@ class TestSuite(Suite):
|
|
|
3894
3896
|
`), await this.saveFile("auto"));
|
|
3895
3897
|
},
|
|
3896
3898
|
addToRecent(t) {
|
|
3897
|
-
let e = this.recent.findIndex((
|
|
3899
|
+
let e = this.recent.findIndex((o) => o.label === t);
|
|
3898
3900
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3899
3901
|
label: t,
|
|
3900
3902
|
icon: yt(t),
|
|
3901
|
-
command: async (
|
|
3902
|
-
await this.confirmUnsavedChanges() && (this.filename =
|
|
3903
|
+
command: async (o) => {
|
|
3904
|
+
await this.confirmUnsavedChanges() && (this.filename = o.label, await this.reloadFile());
|
|
3903
3905
|
}
|
|
3904
3906
|
}), this.recent.length > 8 && this.recent.pop(), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3905
3907
|
},
|
|
@@ -3913,19 +3915,19 @@ class TestSuite(Suite):
|
|
|
3913
3915
|
this.fileOpen = !0;
|
|
3914
3916
|
},
|
|
3915
3917
|
async reloadFile(t = !0) {
|
|
3916
|
-
this.saveAllowed = !1, this.startOrGoDisabled = !0, await
|
|
3918
|
+
this.saveAllowed = !1, this.startOrGoDisabled = !0, await O.get(`/script-api/scripts/${this.filename}`, {
|
|
3917
3919
|
headers: {
|
|
3918
3920
|
Accept: "application/json",
|
|
3919
3921
|
"Ignore-Errors": "404"
|
|
3920
3922
|
}
|
|
3921
3923
|
}).then((e) => {
|
|
3922
|
-
const
|
|
3924
|
+
const o = {
|
|
3923
3925
|
name: this.filename,
|
|
3924
3926
|
contents: e.data.contents
|
|
3925
3927
|
};
|
|
3926
|
-
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);
|
|
3927
3929
|
const r = e.data.locked, i = e.data.breakpoints;
|
|
3928
|
-
this.setFile({ file:
|
|
3930
|
+
this.setFile({ file: o, locked: r, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3929
3931
|
}).catch((e) => {
|
|
3930
3932
|
t === !0 && this.$notify.caution({
|
|
3931
3933
|
title: "File Open Error",
|
|
@@ -3934,7 +3936,7 @@ class TestSuite(Suite):
|
|
|
3934
3936
|
});
|
|
3935
3937
|
},
|
|
3936
3938
|
// Called by the FileOpenDialog to set the file contents
|
|
3937
|
-
setFile({ file: t, locked: e, breakpoints:
|
|
3939
|
+
setFile({ file: t, locked: e, breakpoints: o }, r = !1) {
|
|
3938
3940
|
this.files = {};
|
|
3939
3941
|
let i = t.name.split("*")[0];
|
|
3940
3942
|
if (r === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
@@ -3945,10 +3947,10 @@ class TestSuite(Suite):
|
|
|
3945
3947
|
}
|
|
3946
3948
|
}).catch((d) => {
|
|
3947
3949
|
});
|
|
3948
|
-
let
|
|
3949
|
-
document.title = `${
|
|
3950
|
+
let s = this.filename.split("/");
|
|
3951
|
+
document.title = `${s.pop()} (${s.join("/")})`;
|
|
3950
3952
|
}
|
|
3951
|
-
this.filename.split(".").pop() === "py" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), this.currentFilename = null, this.editor.session.setValue(t.contents), this.breakpoints[this.filename] =
|
|
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();
|
|
3952
3954
|
},
|
|
3953
3955
|
clearTemp() {
|
|
3954
3956
|
this.recent = this.recent.filter(
|
|
@@ -3956,20 +3958,20 @@ class TestSuite(Suite):
|
|
|
3956
3958
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3957
3959
|
},
|
|
3958
3960
|
detectLanguage() {
|
|
3959
|
-
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(
|
|
3960
3962
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3961
|
-
), i = /\(f"/,
|
|
3963
|
+
), i = /\(f"/, s = /\(.*\w+:\s+.+\)(?!:)$/, p = this.editor.getValue().split(`
|
|
3962
3964
|
`);
|
|
3963
|
-
for (let c of
|
|
3965
|
+
for (let c of p) {
|
|
3964
3966
|
if (c.match(t))
|
|
3965
3967
|
return "ruby";
|
|
3966
3968
|
if (c.match(e))
|
|
3967
3969
|
return "python";
|
|
3968
|
-
if (c.match(
|
|
3970
|
+
if (c.match(o))
|
|
3969
3971
|
return "ruby";
|
|
3970
3972
|
if (c.match(r) || c.match(i))
|
|
3971
3973
|
return "python";
|
|
3972
|
-
if (c.match(
|
|
3974
|
+
if (c.match(s))
|
|
3973
3975
|
return "ruby";
|
|
3974
3976
|
}
|
|
3975
3977
|
return "unknown";
|
|
@@ -3985,28 +3987,28 @@ class TestSuite(Suite):
|
|
|
3985
3987
|
this.saveAs();
|
|
3986
3988
|
return;
|
|
3987
3989
|
} else if (this.tempFilename === null) {
|
|
3988
|
-
let
|
|
3989
|
-
if (
|
|
3990
|
-
this.tempFilename = Qe + "/" +
|
|
3991
|
-
else if (
|
|
3992
|
-
this.tempFilename = Qe + "/" +
|
|
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";
|
|
3993
3995
|
else
|
|
3994
3996
|
return;
|
|
3995
3997
|
this.filename = this.tempFilename, this.addToRecent(this.filename);
|
|
3996
3998
|
}
|
|
3997
3999
|
}
|
|
3998
|
-
this.showSave = !0, await
|
|
4000
|
+
this.showSave = !0, await O.post(`/script-api/scripts/${this.filename}`, {
|
|
3999
4001
|
data: {
|
|
4000
4002
|
text: this.editor.getValue(),
|
|
4001
4003
|
// Pass in the raw file text
|
|
4002
4004
|
breakpoints: e
|
|
4003
4005
|
}
|
|
4004
|
-
}).then((
|
|
4005
|
-
|
|
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(() => {
|
|
4006
4008
|
this.showSave = !1;
|
|
4007
|
-
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${
|
|
4008
|
-
}).catch(({ response:
|
|
4009
|
-
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;
|
|
4010
4012
|
});
|
|
4011
4013
|
} else
|
|
4012
4014
|
this.setError("Attempt to save file when not allowed");
|
|
@@ -4015,24 +4017,24 @@ class TestSuite(Suite):
|
|
|
4015
4017
|
this.showSaveAs = !0;
|
|
4016
4018
|
},
|
|
4017
4019
|
async saveAsFilename(t) {
|
|
4018
|
-
this.filename = t.split("*")[0], this.currentFilename = null, this.tempFilename && (
|
|
4020
|
+
this.filename = t.split("*")[0], this.currentFilename = null, this.tempFilename && (O.post(`/script-api/scripts/${this.tempFilename}/delete`), this.tempFilename = null), await this.saveFile("menu");
|
|
4019
4021
|
},
|
|
4020
4022
|
delete() {
|
|
4021
4023
|
let t = this.filename;
|
|
4022
4024
|
this.tempFilename && (t = this.tempFilename), this.$dialog.confirm(`Permanently delete file: ${t}`, {
|
|
4023
4025
|
okText: "Delete",
|
|
4024
4026
|
cancelText: "Cancel"
|
|
4025
|
-
}).then((e) =>
|
|
4027
|
+
}).then((e) => O.post(`/script-api/scripts/${t}/delete`, {
|
|
4026
4028
|
data: {}
|
|
4027
4029
|
})).then((e) => {
|
|
4028
4030
|
this.removeFromRecent(t), this.newFile();
|
|
4029
4031
|
}).catch((e) => {
|
|
4030
4032
|
if (e !== !0) {
|
|
4031
|
-
const
|
|
4033
|
+
const o = {
|
|
4032
4034
|
text: `Failed Multi-Delete. ${e}`,
|
|
4033
4035
|
type: "error"
|
|
4034
4036
|
};
|
|
4035
|
-
this.$emit("alert",
|
|
4037
|
+
this.$emit("alert", o);
|
|
4036
4038
|
}
|
|
4037
4039
|
});
|
|
4038
4040
|
},
|
|
@@ -4044,7 +4046,7 @@ class TestSuite(Suite):
|
|
|
4044
4046
|
},
|
|
4045
4047
|
// ScriptRunner Script menu actions
|
|
4046
4048
|
syntaxCheck() {
|
|
4047
|
-
|
|
4049
|
+
O.post(`/script-api/scripts/${this.filename}/syntax`, {
|
|
4048
4050
|
data: this.editor.getValue(),
|
|
4049
4051
|
headers: {
|
|
4050
4052
|
Accept: "application/json",
|
|
@@ -4055,7 +4057,7 @@ class TestSuite(Suite):
|
|
|
4055
4057
|
});
|
|
4056
4058
|
},
|
|
4057
4059
|
showInstrumented() {
|
|
4058
|
-
|
|
4060
|
+
O.post(`/script-api/scripts/${this.filename}/instrumented`, {
|
|
4059
4061
|
data: this.editor.getValue(),
|
|
4060
4062
|
headers: {
|
|
4061
4063
|
Accept: "application/json",
|
|
@@ -4066,7 +4068,7 @@ class TestSuite(Suite):
|
|
|
4066
4068
|
});
|
|
4067
4069
|
},
|
|
4068
4070
|
showCallStack() {
|
|
4069
|
-
|
|
4071
|
+
O.post(`/script-api/running-script/${this.scriptId}/backtrace`);
|
|
4070
4072
|
},
|
|
4071
4073
|
toggleDebug() {
|
|
4072
4074
|
this.showDebug = !this.showDebug, this.showDebug && this.$nextTick(() => {
|
|
@@ -4077,7 +4079,7 @@ class TestSuite(Suite):
|
|
|
4077
4079
|
this.showDisconnect = !this.showDisconnect;
|
|
4078
4080
|
},
|
|
4079
4081
|
debugKeydown(t) {
|
|
4080
|
-
t.key === "Escape" ? (this.debug = "", this.debugHistoryIndex = this.debugHistory.length) : t.key === "Enter" ? (this.debugHistory.push(this.debug), this.debugHistoryIndex = this.debugHistory.length,
|
|
4082
|
+
t.key === "Escape" ? (this.debug = "", this.debugHistoryIndex = this.debugHistory.length) : t.key === "Enter" ? (this.debugHistory.push(this.debug), this.debugHistoryIndex = this.debugHistory.length, O.post(`/script-api/running-script/${this.scriptId}/debug`, {
|
|
4081
4083
|
data: {
|
|
4082
4084
|
args: this.debug
|
|
4083
4085
|
}
|
|
@@ -4098,10 +4100,10 @@ class TestSuite(Suite):
|
|
|
4098
4100
|
},
|
|
4099
4101
|
lockFile: function() {
|
|
4100
4102
|
if (!this.readOnlyUser)
|
|
4101
|
-
return
|
|
4103
|
+
return O.post(`/script-api/scripts/${this.filename}/lock`);
|
|
4102
4104
|
},
|
|
4103
4105
|
unlockFile: function() {
|
|
4104
|
-
this.filename !== q && !this.readOnly && !this.readOnlyUser &&
|
|
4106
|
+
this.filename !== q && !this.readOnly && !this.readOnlyUser && O.post(`/script-api/scripts/${this.filename}/unlock`);
|
|
4105
4107
|
},
|
|
4106
4108
|
backToNewScript: async function() {
|
|
4107
4109
|
this.scriptDisconnect(), this.removeAllMarkers(), await this.scriptComplete(), this.newFile();
|
|
@@ -4135,22 +4137,22 @@ class TestSuite(Suite):
|
|
|
4135
4137
|
key: 0,
|
|
4136
4138
|
class: "error-message"
|
|
4137
4139
|
}, ts = { class: "flex-grow-1" };
|
|
4138
|
-
function is(t, e,
|
|
4139
|
-
const d = a("top-bar"),
|
|
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");
|
|
4140
4142
|
return S(), D(ge, null, [
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
+
o.inline ? (S(), D("div", Zi, [
|
|
4144
|
+
n(De, {
|
|
4143
4145
|
modelValue: i.inlineTab,
|
|
4144
4146
|
"onUpdate:modelValue": e[15] || (e[15] = (m) => i.inlineTab = m),
|
|
4145
4147
|
density: "compact"
|
|
4146
4148
|
}, {
|
|
4147
4149
|
default: l(() => [
|
|
4148
|
-
|
|
4150
|
+
n(xe, {
|
|
4149
4151
|
value: "script",
|
|
4150
4152
|
text: "Script",
|
|
4151
4153
|
"data-test": "script-tab"
|
|
4152
4154
|
}),
|
|
4153
|
-
|
|
4155
|
+
n(xe, {
|
|
4154
4156
|
value: "messages",
|
|
4155
4157
|
text: "Messages",
|
|
4156
4158
|
"data-test": "messages-tab"
|
|
@@ -4158,16 +4160,16 @@ function is(t, e, n, r, i, o) {
|
|
|
4158
4160
|
]),
|
|
4159
4161
|
_: 1
|
|
4160
4162
|
}, 8, ["modelValue"]),
|
|
4161
|
-
|
|
4163
|
+
n(se, {
|
|
4162
4164
|
modelValue: i.inlineTab,
|
|
4163
4165
|
"onUpdate:modelValue": e[18] || (e[18] = (m) => i.inlineTab = m)
|
|
4164
4166
|
}, {
|
|
4165
4167
|
default: l(() => [
|
|
4166
|
-
|
|
4168
|
+
n(Ce, { value: "script" }, {
|
|
4167
4169
|
default: l(() => [
|
|
4168
|
-
|
|
4170
|
+
n(G, null, {
|
|
4169
4171
|
default: l(() => [
|
|
4170
|
-
|
|
4172
|
+
n(ce, {
|
|
4171
4173
|
class: "v-col-10",
|
|
4172
4174
|
style: { margin: "15px 0px 0px 0px", padding: "0px" }
|
|
4173
4175
|
}, {
|
|
@@ -4176,50 +4178,50 @@ function is(t, e, n, r, i, o) {
|
|
|
4176
4178
|
ref: "editor",
|
|
4177
4179
|
class: "editor",
|
|
4178
4180
|
style: { height: "200px" },
|
|
4179
|
-
onContextmenu: e[16] || (e[16] = de((...m) =>
|
|
4181
|
+
onContextmenu: e[16] || (e[16] = de((...m) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4180
4182
|
}, null, 544)
|
|
4181
4183
|
]),
|
|
4182
4184
|
_: 1
|
|
4183
4185
|
}),
|
|
4184
|
-
|
|
4186
|
+
n(ce, {
|
|
4185
4187
|
class: "v-col-2",
|
|
4186
4188
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4187
4189
|
}, {
|
|
4188
4190
|
default: l(() => [
|
|
4189
4191
|
i.startOrGoButton === "Start" ? (S(), D("div", Xi, [
|
|
4190
|
-
|
|
4192
|
+
n(c, {
|
|
4191
4193
|
class: "mx-1",
|
|
4192
4194
|
color: "primary",
|
|
4193
4195
|
text: "Start",
|
|
4194
4196
|
"data-test": "start-button",
|
|
4195
4197
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4196
4198
|
hidden: i.suiteRunner,
|
|
4197
|
-
onClick:
|
|
4199
|
+
onClick: s.startHandler
|
|
4198
4200
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4199
4201
|
])) : (S(), D("div", Qi, [
|
|
4200
|
-
|
|
4202
|
+
n(c, {
|
|
4201
4203
|
color: "primary",
|
|
4202
4204
|
class: "ma-2",
|
|
4203
4205
|
text: "Go",
|
|
4204
4206
|
disabled: i.startOrGoDisabled,
|
|
4205
4207
|
"data-test": "go-button",
|
|
4206
|
-
onClick:
|
|
4208
|
+
onClick: s.go
|
|
4207
4209
|
}, null, 8, ["disabled", "onClick"]),
|
|
4208
|
-
|
|
4210
|
+
n(c, {
|
|
4209
4211
|
color: "primary",
|
|
4210
4212
|
class: "ma-2",
|
|
4211
4213
|
text: i.pauseOrRetryButton,
|
|
4212
4214
|
disabled: i.pauseOrRetryDisabled,
|
|
4213
4215
|
"data-test": "pause-retry-button",
|
|
4214
|
-
onClick:
|
|
4216
|
+
onClick: s.pauseOrRetry
|
|
4215
4217
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4216
|
-
|
|
4218
|
+
n(c, {
|
|
4217
4219
|
color: "primary",
|
|
4218
4220
|
class: "ma-2",
|
|
4219
4221
|
text: "Stop",
|
|
4220
4222
|
"data-test": "stop-button",
|
|
4221
4223
|
disabled: i.stopDisabled,
|
|
4222
|
-
onClick:
|
|
4224
|
+
onClick: s.stop
|
|
4223
4225
|
}, null, 8, ["disabled", "onClick"])
|
|
4224
4226
|
]))
|
|
4225
4227
|
]),
|
|
@@ -4231,10 +4233,10 @@ function is(t, e, n, r, i, o) {
|
|
|
4231
4233
|
]),
|
|
4232
4234
|
_: 1
|
|
4233
4235
|
}),
|
|
4234
|
-
|
|
4236
|
+
n(Ce, { value: "messages" }, {
|
|
4235
4237
|
default: l(() => [
|
|
4236
4238
|
x("div", $i, [
|
|
4237
|
-
|
|
4239
|
+
n(Z, {
|
|
4238
4240
|
modelValue: i.messages,
|
|
4239
4241
|
"onUpdate:modelValue": e[17] || (e[17] = (m) => i.messages = m),
|
|
4240
4242
|
"newest-on-top": i.messagesNewestOnTop,
|
|
@@ -4254,11 +4256,11 @@ function is(t, e, n, r, i, o) {
|
|
|
4254
4256
|
height: r.containerHeight
|
|
4255
4257
|
})
|
|
4256
4258
|
}, [
|
|
4257
|
-
|
|
4258
|
-
menus:
|
|
4259
|
+
n(d, {
|
|
4260
|
+
menus: s.menus,
|
|
4259
4261
|
title: i.title
|
|
4260
4262
|
}, null, 8, ["menus", "title"]),
|
|
4261
|
-
|
|
4263
|
+
n(b, {
|
|
4262
4264
|
modelValue: i.showAlert,
|
|
4263
4265
|
"onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
|
|
4264
4266
|
absolute: "",
|
|
@@ -4268,7 +4270,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4268
4270
|
style: fe(t.classificationStyles)
|
|
4269
4271
|
}, {
|
|
4270
4272
|
actions: l(({ attrs: m }) => [
|
|
4271
|
-
|
|
4273
|
+
n(c, X({
|
|
4272
4274
|
variant: "text",
|
|
4273
4275
|
text: "Close"
|
|
4274
4276
|
}, m, {
|
|
@@ -4276,7 +4278,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4276
4278
|
}), null, 16)
|
|
4277
4279
|
]),
|
|
4278
4280
|
default: l(() => [
|
|
4279
|
-
|
|
4281
|
+
n(p, null, {
|
|
4280
4282
|
default: l(() => [
|
|
4281
4283
|
y(" mdi-" + L(i.alertType), 1)
|
|
4282
4284
|
]),
|
|
@@ -4286,7 +4288,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4286
4288
|
]),
|
|
4287
4289
|
_: 1
|
|
4288
4290
|
}, 8, ["modelValue", "color", "style"]),
|
|
4289
|
-
|
|
4291
|
+
n(b, {
|
|
4290
4292
|
modelValue: i.showEditingToast,
|
|
4291
4293
|
"onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
|
|
4292
4294
|
absolute: "",
|
|
@@ -4296,13 +4298,13 @@ function is(t, e, n, r, i, o) {
|
|
|
4296
4298
|
color: "orange"
|
|
4297
4299
|
}, {
|
|
4298
4300
|
actions: l(({ attrs: m }) => [
|
|
4299
|
-
|
|
4301
|
+
n(c, X({ variant: "text" }, m, {
|
|
4300
4302
|
color: "danger",
|
|
4301
4303
|
text: "Unlock",
|
|
4302
4304
|
"data-test": "unlock-button",
|
|
4303
|
-
onClick:
|
|
4305
|
+
onClick: s.confirmLocalUnlock
|
|
4304
4306
|
}), null, 16, ["onClick"]),
|
|
4305
|
-
|
|
4307
|
+
n(c, X({
|
|
4306
4308
|
variant: "text",
|
|
4307
4309
|
text: "Dismiss"
|
|
4308
4310
|
}, m, {
|
|
@@ -4312,7 +4314,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4312
4314
|
}), null, 16)
|
|
4313
4315
|
]),
|
|
4314
4316
|
default: l(() => [
|
|
4315
|
-
|
|
4317
|
+
n(p, null, {
|
|
4316
4318
|
default: l(() => [...e[44] || (e[44] = [
|
|
4317
4319
|
y(" mdi-pencil-off ", -1)
|
|
4318
4320
|
])]),
|
|
@@ -4324,14 +4326,14 @@ function is(t, e, n, r, i, o) {
|
|
|
4324
4326
|
}, 8, ["modelValue", "style"]),
|
|
4325
4327
|
x("div", Fi, [
|
|
4326
4328
|
(S(!0), D(ge, null, je(i.screens, (m) => (S(), D("div", {
|
|
4327
|
-
id:
|
|
4329
|
+
id: s.screenId(m.id),
|
|
4328
4330
|
key: m.id,
|
|
4329
4331
|
ref_for: !0,
|
|
4330
4332
|
ref: "gridItem",
|
|
4331
4333
|
class: "item"
|
|
4332
4334
|
}, [
|
|
4333
4335
|
x("div", Ni, [
|
|
4334
|
-
|
|
4336
|
+
n(k, {
|
|
4335
4337
|
target: m.target,
|
|
4336
4338
|
screen: m.screen,
|
|
4337
4339
|
definition: m.definition,
|
|
@@ -4343,32 +4345,32 @@ function is(t, e, n, r, i, o) {
|
|
|
4343
4345
|
"min-z": 3,
|
|
4344
4346
|
"fix-floated": !0,
|
|
4345
4347
|
count: m.count,
|
|
4346
|
-
onCloseScreen: (J) =>
|
|
4347
|
-
onDeleteScreen: (J) =>
|
|
4348
|
+
onCloseScreen: (J) => s.closeScreen(m.id),
|
|
4349
|
+
onDeleteScreen: (J) => s.closeScreen(m.id)
|
|
4348
4350
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4349
4351
|
])
|
|
4350
4352
|
], 8, Bi))), 128))
|
|
4351
4353
|
]),
|
|
4352
|
-
|
|
4354
|
+
n(te, { class: "flex-shrink-0" }, {
|
|
4353
4355
|
default: l(() => [
|
|
4354
|
-
|
|
4356
|
+
n(Q, null, {
|
|
4355
4357
|
default: l(() => [
|
|
4356
4358
|
i.suiteRunner ? (S(), U(V, {
|
|
4357
4359
|
key: 0,
|
|
4358
4360
|
class: "suite-runner",
|
|
4359
4361
|
"suite-map": i.suiteMap,
|
|
4360
4362
|
"disable-buttons": i.disableSuiteButtons,
|
|
4361
|
-
filename:
|
|
4362
|
-
onButton:
|
|
4363
|
-
onLoaded:
|
|
4363
|
+
filename: s.fullFilename,
|
|
4364
|
+
onButton: s.suiteRunnerButton,
|
|
4365
|
+
onLoaded: s.doResize
|
|
4364
4366
|
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : z("", !0),
|
|
4365
4367
|
x("div", Hi, [
|
|
4366
|
-
|
|
4368
|
+
n(G, {
|
|
4367
4369
|
"no-gutters": "",
|
|
4368
4370
|
justify: "space-between"
|
|
4369
4371
|
}, {
|
|
4370
4372
|
default: l(() => [
|
|
4371
|
-
i.showDisconnect ? (S(), U(
|
|
4373
|
+
i.showDisconnect ? (S(), U(p, {
|
|
4372
4374
|
key: 0,
|
|
4373
4375
|
class: "mt-2",
|
|
4374
4376
|
color: "red"
|
|
@@ -4379,7 +4381,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4379
4381
|
_: 1
|
|
4380
4382
|
})) : z("", !0),
|
|
4381
4383
|
x("div", Gi, [
|
|
4382
|
-
|
|
4384
|
+
n(w, {
|
|
4383
4385
|
"open-delay": 600,
|
|
4384
4386
|
location: "top"
|
|
4385
4387
|
}, {
|
|
@@ -4388,14 +4390,14 @@ function is(t, e, n, r, i, o) {
|
|
|
4388
4390
|
icon: "mdi-arrow-left",
|
|
4389
4391
|
variant: "text",
|
|
4390
4392
|
density: "compact",
|
|
4391
|
-
onClick:
|
|
4393
|
+
onClick: s.backToNewScript
|
|
4392
4394
|
}), null, 16, ["onClick"])) : (S(), U(c, X({ key: 0 }, m, {
|
|
4393
4395
|
icon: "mdi-cached",
|
|
4394
4396
|
variant: "text",
|
|
4395
4397
|
density: "compact",
|
|
4396
4398
|
disabled: i.filename === t.NEW_FILENAME,
|
|
4397
4399
|
"aria-label": "Reload File",
|
|
4398
|
-
onClick:
|
|
4400
|
+
onClick: s.reloadFile
|
|
4399
4401
|
}), null, 16, ["disabled", "onClick"]))
|
|
4400
4402
|
]),
|
|
4401
4403
|
default: l(() => [
|
|
@@ -4404,22 +4406,22 @@ function is(t, e, n, r, i, o) {
|
|
|
4404
4406
|
_: 1
|
|
4405
4407
|
})
|
|
4406
4408
|
]),
|
|
4407
|
-
|
|
4409
|
+
n(w, {
|
|
4408
4410
|
location: "bottom",
|
|
4409
4411
|
text: i.filenameSelect,
|
|
4410
4412
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4411
4413
|
}, {
|
|
4412
4414
|
activator: l(({ props: m }) => [
|
|
4413
4415
|
x("div", X(m, { style: { width: "32rem" } }), [
|
|
4414
|
-
|
|
4416
|
+
n(R, {
|
|
4415
4417
|
id: "filename",
|
|
4416
4418
|
modelValue: i.filenameSelect,
|
|
4417
4419
|
"onUpdate:modelValue": [
|
|
4418
4420
|
e[4] || (e[4] = (J) => i.filenameSelect = J),
|
|
4419
|
-
|
|
4421
|
+
s.fileNameChanged
|
|
4420
4422
|
],
|
|
4421
|
-
items:
|
|
4422
|
-
disabled:
|
|
4423
|
+
items: s.fileList,
|
|
4424
|
+
disabled: s.fileList.length <= 1,
|
|
4423
4425
|
label: "Filename",
|
|
4424
4426
|
"data-test": "filename",
|
|
4425
4427
|
density: "compact",
|
|
@@ -4430,7 +4432,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4430
4432
|
]),
|
|
4431
4433
|
_: 1
|
|
4432
4434
|
}, 8, ["text", "disabled"]),
|
|
4433
|
-
|
|
4435
|
+
n(E, {
|
|
4434
4436
|
modelValue: i.scriptId,
|
|
4435
4437
|
"onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
|
|
4436
4438
|
label: "Script ID",
|
|
@@ -4442,12 +4444,12 @@ function is(t, e, n, r, i, o) {
|
|
|
4442
4444
|
readonly: "",
|
|
4443
4445
|
"hide-details": ""
|
|
4444
4446
|
}, null, 8, ["modelValue"]),
|
|
4445
|
-
|
|
4446
|
-
modelValue:
|
|
4447
|
-
"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),
|
|
4448
4450
|
label: "Script State",
|
|
4449
4451
|
"data-test": "state",
|
|
4450
|
-
class: Ke(["shrink", "ml-2", "script-state",
|
|
4452
|
+
class: Ke(["shrink", "ml-2", "script-state", s.stateColorClass]),
|
|
4451
4453
|
style: { "max-width": "120px" },
|
|
4452
4454
|
density: "compact",
|
|
4453
4455
|
variant: "outlined",
|
|
@@ -4461,14 +4463,14 @@ function is(t, e, n, r, i, o) {
|
|
|
4461
4463
|
indeterminate: "",
|
|
4462
4464
|
color: "primary"
|
|
4463
4465
|
})) : (S(), D("div", ji)),
|
|
4464
|
-
|
|
4466
|
+
n(_),
|
|
4465
4467
|
i.startOrGoButton === "Start" ? (S(), D("div", Wi, [
|
|
4466
|
-
|
|
4468
|
+
n(w, {
|
|
4467
4469
|
"open-delay": 600,
|
|
4468
4470
|
location: "top"
|
|
4469
4471
|
}, {
|
|
4470
4472
|
activator: l(({ props: m }) => [
|
|
4471
|
-
|
|
4473
|
+
n(c, X(m, {
|
|
4472
4474
|
class: "mr-2",
|
|
4473
4475
|
icon: "",
|
|
4474
4476
|
variant: "text",
|
|
@@ -4479,14 +4481,14 @@ function is(t, e, n, r, i, o) {
|
|
|
4479
4481
|
onClick: e[8] || (e[8] = (J) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
|
|
4480
4482
|
}), {
|
|
4481
4483
|
default: l(() => [
|
|
4482
|
-
|
|
4483
|
-
modelValue:
|
|
4484
|
-
"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),
|
|
4485
4487
|
floating: "",
|
|
4486
4488
|
dot: ""
|
|
4487
4489
|
}, {
|
|
4488
4490
|
default: l(() => [
|
|
4489
|
-
|
|
4491
|
+
n(p, { icon: "mdi-application-variable" })
|
|
4490
4492
|
]),
|
|
4491
4493
|
_: 1
|
|
4492
4494
|
}, 8, ["modelValue"])
|
|
@@ -4497,45 +4499,45 @@ function is(t, e, n, r, i, o) {
|
|
|
4497
4499
|
default: l(() => [
|
|
4498
4500
|
x("span", null, [
|
|
4499
4501
|
e[46] || (e[46] = y(" Script Environment ", -1)),
|
|
4500
|
-
|
|
4502
|
+
s.environmentModified ? (S(), D(ge, { key: 0 }, [
|
|
4501
4503
|
y(" (modified) ")
|
|
4502
4504
|
], 64)) : z("", !0)
|
|
4503
4505
|
])
|
|
4504
4506
|
]),
|
|
4505
4507
|
_: 1
|
|
4506
4508
|
}),
|
|
4507
|
-
|
|
4509
|
+
n(c, {
|
|
4508
4510
|
class: "mx-1",
|
|
4509
4511
|
color: "primary",
|
|
4510
4512
|
text: "Start",
|
|
4511
4513
|
"data-test": "start-button",
|
|
4512
4514
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4513
4515
|
hidden: i.suiteRunner,
|
|
4514
|
-
onClick:
|
|
4516
|
+
onClick: s.startHandler
|
|
4515
4517
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4516
4518
|
])) : (S(), D("div", Ji, [
|
|
4517
|
-
|
|
4519
|
+
n(c, {
|
|
4518
4520
|
color: "primary",
|
|
4519
4521
|
class: "mr-2",
|
|
4520
4522
|
text: "Go",
|
|
4521
4523
|
disabled: i.startOrGoDisabled,
|
|
4522
4524
|
"data-test": "go-button",
|
|
4523
|
-
onClick:
|
|
4525
|
+
onClick: s.go
|
|
4524
4526
|
}, null, 8, ["disabled", "onClick"]),
|
|
4525
|
-
|
|
4527
|
+
n(c, {
|
|
4526
4528
|
color: "primary",
|
|
4527
4529
|
class: "mr-2",
|
|
4528
4530
|
text: i.pauseOrRetryButton,
|
|
4529
4531
|
disabled: i.pauseOrRetryDisabled,
|
|
4530
4532
|
"data-test": "pause-retry-button",
|
|
4531
|
-
onClick:
|
|
4533
|
+
onClick: s.pauseOrRetry
|
|
4532
4534
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4533
|
-
|
|
4535
|
+
n(c, {
|
|
4534
4536
|
color: "primary",
|
|
4535
4537
|
text: "Stop",
|
|
4536
4538
|
"data-test": "stop-button",
|
|
4537
4539
|
disabled: i.stopDisabled,
|
|
4538
|
-
onClick:
|
|
4540
|
+
onClick: s.stop
|
|
4539
4541
|
}, null, 8, ["disabled", "onClick"])
|
|
4540
4542
|
]))
|
|
4541
4543
|
]),
|
|
@@ -4548,18 +4550,18 @@ function is(t, e, n, r, i, o) {
|
|
|
4548
4550
|
]),
|
|
4549
4551
|
_: 1
|
|
4550
4552
|
}),
|
|
4551
|
-
|
|
4553
|
+
n(Ue, {
|
|
4552
4554
|
horizontal: "",
|
|
4553
4555
|
class: "flex-grow-1 overflow-hidden",
|
|
4554
4556
|
onResize: e[14] || (e[14] = ({ prevPane: m }) => i.editorBoxSize = m.size)
|
|
4555
4557
|
}, {
|
|
4556
4558
|
default: l(() => [
|
|
4557
|
-
|
|
4559
|
+
n(ue, {
|
|
4558
4560
|
class: "editorbox",
|
|
4559
4561
|
size: i.editorBoxSize
|
|
4560
4562
|
}, {
|
|
4561
4563
|
default: l(() => [
|
|
4562
|
-
|
|
4564
|
+
n(b, {
|
|
4563
4565
|
modelValue: i.showSave,
|
|
4564
4566
|
"onUpdate:modelValue": e[9] || (e[9] = (m) => i.showSave = m),
|
|
4565
4567
|
absolute: "",
|
|
@@ -4576,45 +4578,45 @@ function is(t, e, n, r, i, o) {
|
|
|
4576
4578
|
x("pre", {
|
|
4577
4579
|
ref: "editor",
|
|
4578
4580
|
class: "editor",
|
|
4579
|
-
onContextmenu: e[10] || (e[10] = de((...m) =>
|
|
4581
|
+
onContextmenu: e[10] || (e[10] = de((...m) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4580
4582
|
}, null, 544),
|
|
4581
|
-
|
|
4583
|
+
n(F, {
|
|
4582
4584
|
modelValue: i.executeSelectionMenu,
|
|
4583
4585
|
"onUpdate:modelValue": e[11] || (e[11] = (m) => i.executeSelectionMenu = m),
|
|
4584
4586
|
target: [i.menuX, i.menuY]
|
|
4585
4587
|
}, {
|
|
4586
4588
|
default: l(() => [
|
|
4587
|
-
|
|
4589
|
+
n(I, null, {
|
|
4588
4590
|
default: l(() => [
|
|
4589
|
-
|
|
4591
|
+
n(j, {
|
|
4590
4592
|
title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
|
|
4591
|
-
onClick:
|
|
4593
|
+
onClick: s.openCommandEditor
|
|
4592
4594
|
}, null, 8, ["title", "onClick"]),
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
+
n(ie),
|
|
4596
|
+
n(j, {
|
|
4595
4597
|
title: "Execute Selection",
|
|
4596
|
-
onClick:
|
|
4598
|
+
onClick: s.executeSelection
|
|
4597
4599
|
}, null, 8, ["onClick"]),
|
|
4598
4600
|
i.scriptId ? (S(), U(j, {
|
|
4599
4601
|
key: 0,
|
|
4600
4602
|
title: "Goto Line",
|
|
4601
|
-
onClick:
|
|
4603
|
+
onClick: s.runFromCursor
|
|
4602
4604
|
}, null, 8, ["onClick"])) : z("", !0),
|
|
4603
4605
|
i.scriptId ? z("", !0) : (S(), U(j, {
|
|
4604
4606
|
key: 1,
|
|
4605
4607
|
title: "Run From Line",
|
|
4606
|
-
onClick:
|
|
4608
|
+
onClick: s.runFromCursor
|
|
4607
4609
|
}, null, 8, ["onClick"])),
|
|
4608
4610
|
i.scriptId ? z("", !0) : (S(), U(j, {
|
|
4609
4611
|
key: 2,
|
|
4610
4612
|
title: "Clear Local Breakpoints",
|
|
4611
|
-
onClick:
|
|
4613
|
+
onClick: s.clearBreakpoints
|
|
4612
4614
|
}, null, 8, ["onClick"])),
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
+
n(ie),
|
|
4616
|
+
n(j, {
|
|
4615
4617
|
title: "Toggle Vim mode",
|
|
4616
4618
|
"prepend-icon": "extras:vim",
|
|
4617
|
-
onClick:
|
|
4619
|
+
onClick: s.toggleVimMode
|
|
4618
4620
|
}, null, 8, ["onClick"])
|
|
4619
4621
|
]),
|
|
4620
4622
|
_: 1
|
|
@@ -4625,16 +4627,16 @@ function is(t, e, n, r, i, o) {
|
|
|
4625
4627
|
]),
|
|
4626
4628
|
_: 1
|
|
4627
4629
|
}, 8, ["size"]),
|
|
4628
|
-
|
|
4630
|
+
n(ue, {
|
|
4629
4631
|
id: "messages",
|
|
4630
4632
|
class: "mt-2",
|
|
4631
4633
|
size: 100 - i.editorBoxSize
|
|
4632
4634
|
}, {
|
|
4633
4635
|
default: l(() => [
|
|
4634
4636
|
i.showDebug ? (S(), D("div", Yi, [
|
|
4635
|
-
|
|
4637
|
+
n(G, { "no-gutters": "" }, {
|
|
4636
4638
|
default: l(() => [
|
|
4637
|
-
|
|
4639
|
+
n(c, {
|
|
4638
4640
|
color: "primary",
|
|
4639
4641
|
style: { width: "100px" },
|
|
4640
4642
|
class: "mr-4",
|
|
@@ -4642,9 +4644,9 @@ function is(t, e, n, r, i, o) {
|
|
|
4642
4644
|
"append-icon": "mdi-step-forward",
|
|
4643
4645
|
disabled: !i.scriptId,
|
|
4644
4646
|
"data-test": "step-button",
|
|
4645
|
-
onClick:
|
|
4647
|
+
onClick: s.step
|
|
4646
4648
|
}, null, 8, ["disabled", "onClick"]),
|
|
4647
|
-
|
|
4649
|
+
n(E, {
|
|
4648
4650
|
ref: "debug",
|
|
4649
4651
|
modelValue: i.debug,
|
|
4650
4652
|
"onUpdate:modelValue": e[12] || (e[12] = (m) => i.debug = m),
|
|
@@ -4654,17 +4656,17 @@ function is(t, e, n, r, i, o) {
|
|
|
4654
4656
|
"hide-details": "",
|
|
4655
4657
|
label: "Debug",
|
|
4656
4658
|
"data-test": "debug-text",
|
|
4657
|
-
onKeydown:
|
|
4659
|
+
onKeydown: s.debugKeydown
|
|
4658
4660
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
4659
4661
|
]),
|
|
4660
4662
|
_: 1
|
|
4661
4663
|
})
|
|
4662
4664
|
])) : z("", !0),
|
|
4663
|
-
|
|
4665
|
+
n(Z, {
|
|
4664
4666
|
id: "log-messages",
|
|
4665
4667
|
modelValue: i.messages,
|
|
4666
4668
|
"onUpdate:modelValue": e[13] || (e[13] = (m) => i.messages = m),
|
|
4667
|
-
onSort:
|
|
4669
|
+
onSort: s.messageSortOrder
|
|
4668
4670
|
}, null, 8, ["modelValue", "onSort"])
|
|
4669
4671
|
]),
|
|
4670
4672
|
_: 1
|
|
@@ -4679,9 +4681,9 @@ function is(t, e, n, r, i, o) {
|
|
|
4679
4681
|
"onUpdate:modelValue": e[19] || (e[19] = (m) => i.fileOpen = m),
|
|
4680
4682
|
type: "open",
|
|
4681
4683
|
"api-url": "/script-api/scripts",
|
|
4682
|
-
onFile: e[20] || (e[20] = (m) =>
|
|
4683
|
-
onError: e[21] || (e[21] = (m) =>
|
|
4684
|
-
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))
|
|
4685
4687
|
}, null, 8, ["modelValue"])) : z("", !0),
|
|
4686
4688
|
i.showSaveAs ? (S(), U(Ve, {
|
|
4687
4689
|
key: 3,
|
|
@@ -4690,10 +4692,10 @@ function is(t, e, n, r, i, o) {
|
|
|
4690
4692
|
type: "save",
|
|
4691
4693
|
"api-url": "/script-api/scripts",
|
|
4692
4694
|
"require-target-parent-dir": "",
|
|
4693
|
-
"input-filename":
|
|
4694
|
-
onFilename: e[24] || (e[24] = (m) =>
|
|
4695
|
-
onError: e[25] || (e[25] = (m) =>
|
|
4696
|
-
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))
|
|
4697
4699
|
}, null, 8, ["modelValue", "input-filename"])) : z("", !0),
|
|
4698
4700
|
i.showEnvironment ? (S(), U(Pe, {
|
|
4699
4701
|
key: 4,
|
|
@@ -4718,7 +4720,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4718
4720
|
message: i.file.message,
|
|
4719
4721
|
multiple: i.file.multiple,
|
|
4720
4722
|
filter: i.file.filter,
|
|
4721
|
-
onResponse:
|
|
4723
|
+
onResponse: s.fileDialogCallback
|
|
4722
4724
|
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : z("", !0),
|
|
4723
4725
|
i.information.show ? (S(), U(Le, {
|
|
4724
4726
|
key: 7,
|
|
@@ -4766,51 +4768,51 @@ function is(t, e, n, r, i, o) {
|
|
|
4766
4768
|
modelValue: i.scriptEnvironment.show,
|
|
4767
4769
|
"onUpdate:modelValue": e[35] || (e[35] = (m) => i.scriptEnvironment.show = m),
|
|
4768
4770
|
"input-environment": i.scriptEnvironment.env,
|
|
4769
|
-
onEnvironment:
|
|
4771
|
+
onEnvironment: s.environmentHandler
|
|
4770
4772
|
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : z("", !0),
|
|
4771
|
-
|
|
4773
|
+
n(u, {
|
|
4772
4774
|
modelValue: i.showSuiteError,
|
|
4773
4775
|
"onUpdate:modelValue": e[36] || (e[36] = (m) => i.showSuiteError = m),
|
|
4774
4776
|
title: "Suite Analysis Error",
|
|
4775
4777
|
text: i.suiteError,
|
|
4776
4778
|
width: 1e3
|
|
4777
4779
|
}, null, 8, ["modelValue", "text"]),
|
|
4778
|
-
|
|
4780
|
+
n(h, {
|
|
4779
4781
|
modelValue: i.displayCriticalCmd,
|
|
4780
4782
|
"onUpdate:modelValue": e[37] || (e[37] = (m) => i.displayCriticalCmd = m),
|
|
4781
4783
|
uuid: i.criticalCmdUuid,
|
|
4782
4784
|
"cmd-string": i.criticalCmdString,
|
|
4783
4785
|
"cmd-user": i.criticalCmdUser,
|
|
4784
4786
|
persistent: !0,
|
|
4785
|
-
onStatus:
|
|
4787
|
+
onStatus: s.promptDialogCallback
|
|
4786
4788
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4787
|
-
|
|
4789
|
+
n(C, {
|
|
4788
4790
|
modelValue: i.commandEditor.show,
|
|
4789
4791
|
"onUpdate:modelValue": e[41] || (e[41] = (m) => i.commandEditor.show = m),
|
|
4790
4792
|
"max-width": "1200",
|
|
4791
4793
|
persistent: "",
|
|
4792
4794
|
scrollable: "",
|
|
4793
|
-
onKeydown: Se(
|
|
4795
|
+
onKeydown: Se(s.closeCommandDialog, ["esc"])
|
|
4794
4796
|
}, {
|
|
4795
4797
|
default: l(() => [
|
|
4796
|
-
|
|
4798
|
+
n(te, null, {
|
|
4797
4799
|
default: l(() => [
|
|
4798
|
-
|
|
4800
|
+
n(v, { class: "d-flex align-center" }, {
|
|
4799
4801
|
default: l(() => [
|
|
4800
4802
|
e[48] || (e[48] = x("span", null, "Insert Command", -1)),
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
+
n(_),
|
|
4804
|
+
n(c, {
|
|
4803
4805
|
icon: "mdi-close",
|
|
4804
4806
|
variant: "text",
|
|
4805
|
-
onClick:
|
|
4807
|
+
onClick: s.closeCommandDialog
|
|
4806
4808
|
}, null, 8, ["onClick"])
|
|
4807
4809
|
]),
|
|
4808
4810
|
_: 1
|
|
4809
4811
|
}),
|
|
4810
|
-
|
|
4812
|
+
n(Q, { class: "pa-0" }, {
|
|
4811
4813
|
default: l(() => [
|
|
4812
4814
|
i.commandEditor.dialogError ? (S(), D("div", es, [
|
|
4813
|
-
|
|
4815
|
+
n(p, {
|
|
4814
4816
|
class: "mr-2",
|
|
4815
4817
|
color: "error"
|
|
4816
4818
|
}, {
|
|
@@ -4820,7 +4822,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4820
4822
|
_: 1
|
|
4821
4823
|
}),
|
|
4822
4824
|
x("span", ts, L(i.commandEditor.dialogError), 1),
|
|
4823
|
-
|
|
4825
|
+
n(c, {
|
|
4824
4826
|
icon: "mdi-close",
|
|
4825
4827
|
size: "small",
|
|
4826
4828
|
variant: "text",
|
|
@@ -4829,34 +4831,34 @@ function is(t, e, n, r, i, o) {
|
|
|
4829
4831
|
onClick: e[38] || (e[38] = (m) => i.commandEditor.dialogError = null)
|
|
4830
4832
|
})
|
|
4831
4833
|
])) : z("", !0),
|
|
4832
|
-
|
|
4834
|
+
n(f, {
|
|
4833
4835
|
ref: "commandEditor",
|
|
4834
4836
|
"initial-target-name": i.commandEditor.targetName,
|
|
4835
4837
|
"initial-packet-name": i.commandEditor.packetName,
|
|
4836
4838
|
"cmd-string": i.commandEditor.cmdString,
|
|
4837
4839
|
"send-disabled": !1,
|
|
4838
4840
|
"show-command-button": !1,
|
|
4839
|
-
onBuildCmd: e[39] || (e[39] = (m) =>
|
|
4841
|
+
onBuildCmd: e[39] || (e[39] = (m) => s.insertCommand(m))
|
|
4840
4842
|
}, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
|
|
4841
4843
|
]),
|
|
4842
4844
|
_: 1
|
|
4843
4845
|
}),
|
|
4844
|
-
|
|
4846
|
+
n(g, null, {
|
|
4845
4847
|
default: l(() => [
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
+
n(_),
|
|
4849
|
+
n(c, {
|
|
4848
4850
|
variant: "outlined",
|
|
4849
|
-
onClick:
|
|
4851
|
+
onClick: s.closeCommandDialog
|
|
4850
4852
|
}, {
|
|
4851
4853
|
default: l(() => [...e[50] || (e[50] = [
|
|
4852
4854
|
y(" Cancel ", -1)
|
|
4853
4855
|
])]),
|
|
4854
4856
|
_: 1
|
|
4855
4857
|
}, 8, ["onClick"]),
|
|
4856
|
-
|
|
4858
|
+
n(c, {
|
|
4857
4859
|
color: "primary",
|
|
4858
4860
|
variant: "flat",
|
|
4859
|
-
onClick: e[40] || (e[40] = (m) =>
|
|
4861
|
+
onClick: e[40] || (e[40] = (m) => s.insertCommand())
|
|
4860
4862
|
}, {
|
|
4861
4863
|
default: l(() => [...e[51] || (e[51] = [
|
|
4862
4864
|
y(" Insert Command ", -1)
|
|
@@ -4872,17 +4874,17 @@ function is(t, e, n, r, i, o) {
|
|
|
4872
4874
|
]),
|
|
4873
4875
|
_: 1
|
|
4874
4876
|
}, 8, ["modelValue", "onKeydown"]),
|
|
4875
|
-
|
|
4877
|
+
n(H, {
|
|
4876
4878
|
modelValue: i.showScripts,
|
|
4877
4879
|
"onUpdate:modelValue": e[43] || (e[43] = (m) => i.showScripts = m)
|
|
4878
4880
|
}, {
|
|
4879
4881
|
default: l(() => [
|
|
4880
|
-
|
|
4882
|
+
n(A, { class: "pb-11 pt-5 px-5" }, {
|
|
4881
4883
|
default: l(() => [
|
|
4882
|
-
i.showScripts ? (S(), U(
|
|
4884
|
+
i.showScripts ? (S(), U(M, {
|
|
4883
4885
|
key: 0,
|
|
4884
4886
|
"connect-in-new-tab": !!i.fileModified,
|
|
4885
|
-
onDisconnect:
|
|
4887
|
+
onDisconnect: s.scriptDisconnect,
|
|
4886
4888
|
onClose: e[42] || (e[42] = () => {
|
|
4887
4889
|
i.showScripts = !1;
|
|
4888
4890
|
})
|
|
@@ -4895,7 +4897,7 @@ function is(t, e, n, r, i, o) {
|
|
|
4895
4897
|
}, 8, ["modelValue"])
|
|
4896
4898
|
], 64);
|
|
4897
4899
|
}
|
|
4898
|
-
const ks = /* @__PURE__ */ K(Ai, [["render", is], ["__scopeId", "data-v-
|
|
4900
|
+
const ks = /* @__PURE__ */ K(Ai, [["render", is], ["__scopeId", "data-v-f00c84ce"]]);
|
|
4899
4901
|
export {
|
|
4900
4902
|
Ut as RunningScripts,
|
|
4901
4903
|
zt as ScriptLogMessages,
|