@openc3/vue-common 6.10.3 → 6.10.5
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-Bc-Awsbn.js → ArrayWidget-CB1594s3.js} +4 -4
- package/dist/{ArrayWidget-Bc-Awsbn.js.map → ArrayWidget-CB1594s3.js.map} +1 -1
- package/dist/{ArrayWidget-B35vCzAo.cjs → ArrayWidget-CKVa2jS0.cjs} +2 -2
- package/dist/{ArrayWidget-B35vCzAo.cjs.map → ArrayWidget-CKVa2jS0.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-B67ip6aR.cjs → ArrayplotWidget-BTIkHdc1.cjs} +2 -2
- package/dist/{ArrayplotWidget-B67ip6aR.cjs.map → ArrayplotWidget-BTIkHdc1.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-B9UGCr4-.js → ArrayplotWidget-BfauFgCc.js} +3 -3
- package/dist/{ArrayplotWidget-B9UGCr4-.js.map → ArrayplotWidget-BfauFgCc.js.map} +1 -1
- package/dist/{BarColumn-3fKM-em2.cjs → BarColumn-3M4oLg_y.cjs} +2 -2
- package/dist/{BarColumn-3fKM-em2.cjs.map → BarColumn-3M4oLg_y.cjs.map} +1 -1
- package/dist/{BarColumn-ClLBRGll.js → BarColumn-BN5j9sPr.js} +3 -3
- package/dist/{BarColumn-ClLBRGll.js.map → BarColumn-BN5j9sPr.js.map} +1 -1
- package/dist/{BlockWidget-CoQp-LZM.js → BlockWidget-C9__-7CU.js} +4 -4
- package/dist/{BlockWidget-CoQp-LZM.js.map → BlockWidget-C9__-7CU.js.map} +1 -1
- package/dist/{BlockWidget-DWexy9Dx.cjs → BlockWidget-Ur9wX3Gb.cjs} +2 -2
- package/dist/{BlockWidget-DWexy9Dx.cjs.map → BlockWidget-Ur9wX3Gb.cjs.map} +1 -1
- package/dist/{ButtonWidget-BBpVoIzj.cjs → ButtonWidget-Cn74AwrM.cjs} +3 -3
- package/dist/{ButtonWidget-BBpVoIzj.cjs.map → ButtonWidget-Cn74AwrM.cjs.map} +1 -1
- package/dist/{ButtonWidget-CTTwpFec.js → ButtonWidget-CyixmRMa.js} +6 -6
- package/dist/{ButtonWidget-CTTwpFec.js.map → ButtonWidget-CyixmRMa.js.map} +1 -1
- package/dist/{CanvasWidget-Qlx-Mo8v.cjs → CanvasWidget-B8iqIUJ_.cjs} +2 -2
- package/dist/{CanvasWidget-Qlx-Mo8v.cjs.map → CanvasWidget-B8iqIUJ_.cjs.map} +1 -1
- package/dist/{CanvasWidget-jFarbJ3t.js → CanvasWidget-BlM9VhEb.js} +2 -2
- package/dist/{CanvasWidget-jFarbJ3t.js.map → CanvasWidget-BlM9VhEb.js.map} +1 -1
- package/dist/{CanvasdotWidget-BROyk4FH.cjs → CanvasdotWidget-CAXR5Ugc.cjs} +2 -2
- package/dist/{CanvasdotWidget-BROyk4FH.cjs.map → CanvasdotWidget-CAXR5Ugc.cjs.map} +1 -1
- package/dist/{CanvasdotWidget-BoyUcwiB.js → CanvasdotWidget-DcoLJfNd.js} +2 -2
- package/dist/{CanvasdotWidget-BoyUcwiB.js.map → CanvasdotWidget-DcoLJfNd.js.map} +1 -1
- package/dist/{CanvasimageWidget-DmyCSnuQ.js → CanvasimageWidget-BOa0--hu.js} +3 -3
- package/dist/{CanvasimageWidget-DmyCSnuQ.js.map → CanvasimageWidget-BOa0--hu.js.map} +1 -1
- package/dist/{CanvasimageWidget-BvTJnGXu.cjs → CanvasimageWidget-DQW5IGWY.cjs} +2 -2
- package/dist/{CanvasimageWidget-BvTJnGXu.cjs.map → CanvasimageWidget-DQW5IGWY.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CzVrDo-Z.cjs → CanvasimagevalueWidget-C8PAOXth.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-CzVrDo-Z.cjs.map → CanvasimagevalueWidget-C8PAOXth.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CmbngMqv.js → CanvasimagevalueWidget-CAnfTNIH.js} +3 -3
- package/dist/{CanvasimagevalueWidget-CmbngMqv.js.map → CanvasimagevalueWidget-CAnfTNIH.js.map} +1 -1
- package/dist/{CanvaslabelWidget-BnvwV9MA.cjs → CanvaslabelWidget-B_qS8Spc.cjs} +2 -2
- package/dist/{CanvaslabelWidget-BnvwV9MA.cjs.map → CanvaslabelWidget-B_qS8Spc.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-D8NzLKqi.js → CanvaslabelWidget-VhSU0ghh.js} +2 -2
- package/dist/{CanvaslabelWidget-D8NzLKqi.js.map → CanvaslabelWidget-VhSU0ghh.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-DVnkclHD.cjs → CanvaslabelvalueWidget-BSEbDdBo.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-DVnkclHD.cjs.map → CanvaslabelvalueWidget-BSEbDdBo.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-DOybGI9D.js → CanvaslabelvalueWidget-DLoJuMEa.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-DOybGI9D.js.map → CanvaslabelvalueWidget-DLoJuMEa.js.map} +1 -1
- package/dist/{CanvaslineWidget-D2NEei7j.js → CanvaslineWidget-COWhdPmg.js} +2 -2
- package/dist/{CanvaslineWidget-D2NEei7j.js.map → CanvaslineWidget-COWhdPmg.js.map} +1 -1
- package/dist/{CanvaslineWidget-DgbXSH1K.cjs → CanvaslineWidget-evoYrcu3.cjs} +2 -2
- package/dist/{CanvaslineWidget-DgbXSH1K.cjs.map → CanvaslineWidget-evoYrcu3.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-Ctvv9owf.js → CanvaslinevalueWidget-B2RUoEiO.js} +2 -2
- package/dist/{CanvaslinevalueWidget-Ctvv9owf.js.map → CanvaslinevalueWidget-B2RUoEiO.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-E3NDHyPl.cjs → CanvaslinevalueWidget-RhSLERSp.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-E3NDHyPl.cjs.map → CanvaslinevalueWidget-RhSLERSp.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-BdvWAgg_.cjs → CheckbuttonWidget-D2KHchsA.cjs} +2 -2
- package/dist/{CheckbuttonWidget-BdvWAgg_.cjs.map → CheckbuttonWidget-D2KHchsA.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-CQeR0BMF.js → CheckbuttonWidget-mMOQENwY.js} +2 -2
- package/dist/{CheckbuttonWidget-CQeR0BMF.js.map → CheckbuttonWidget-mMOQENwY.js.map} +1 -1
- package/dist/{ClassificationBanners-0BNhyyMS.cjs → ClassificationBanners-CKzacoSH.cjs} +2 -2
- package/dist/{ClassificationBanners-0BNhyyMS.cjs.map → ClassificationBanners-CKzacoSH.cjs.map} +1 -1
- package/dist/{ClassificationBanners-STI2n2yD.js → ClassificationBanners-CnKda5CL.js} +2 -2
- package/dist/{ClassificationBanners-STI2n2yD.js.map → ClassificationBanners-CnKda5CL.js.map} +1 -1
- package/dist/{ComboboxWidget-4N-MagvN.js → ComboboxWidget-BGuSLu81.js} +2 -2
- package/dist/{ComboboxWidget-4N-MagvN.js.map → ComboboxWidget-BGuSLu81.js.map} +1 -1
- package/dist/{ComboboxWidget-Dh0q9xpJ.cjs → ComboboxWidget-CuO75LNL.cjs} +2 -2
- package/dist/{ComboboxWidget-Dh0q9xpJ.cjs.map → ComboboxWidget-CuO75LNL.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-Dy1cQZxQ.cjs → CriticalCmdDialog-CW49WCHL.cjs} +2 -2
- package/dist/{CriticalCmdDialog-Dy1cQZxQ.cjs.map → CriticalCmdDialog-CW49WCHL.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-trVtKZft.js → CriticalCmdDialog-DqmsE7es.js} +6 -6
- package/dist/{CriticalCmdDialog-trVtKZft.js.map → CriticalCmdDialog-DqmsE7es.js.map} +1 -1
- package/dist/{DateWidget-DXN7u3vL.cjs → DateWidget-CC63S2BH.cjs} +2 -2
- package/dist/{DateWidget-DXN7u3vL.cjs.map → DateWidget-CC63S2BH.cjs.map} +1 -1
- package/dist/{DateWidget-rYTjwUdb.js → DateWidget-DYTNL9Nt.js} +2 -2
- package/dist/{DateWidget-rYTjwUdb.js.map → DateWidget-DYTNL9Nt.js.map} +1 -1
- package/dist/{DetailsDialog-p_vutijL.js → DetailsDialog-Bnj0flUv.js} +9 -9
- package/dist/{DetailsDialog-p_vutijL.js.map → DetailsDialog-Bnj0flUv.js.map} +1 -1
- package/dist/{DetailsDialog-CLCCuoHV.cjs → DetailsDialog-DW8hRSS6.cjs} +2 -2
- package/dist/{DetailsDialog-CLCCuoHV.cjs.map → DetailsDialog-DW8hRSS6.cjs.map} +1 -1
- package/dist/{EventListDialog-BshKrOuQ.js → EventListDialog-BV9m-oEq.js} +221 -229
- package/dist/EventListDialog-BV9m-oEq.js.map +1 -0
- package/dist/EventListDialog-CXiEoYXY.cjs +2 -0
- package/dist/EventListDialog-CXiEoYXY.cjs.map +1 -0
- package/dist/{FilechecksumWidget-Ddlm1UED.cjs → FilechecksumWidget-CCD4OHUJ.cjs} +2 -2
- package/dist/{FilechecksumWidget-Ddlm1UED.cjs.map → FilechecksumWidget-CCD4OHUJ.cjs.map} +1 -1
- package/dist/{FilechecksumWidget-gcmXxJHl.js → FilechecksumWidget-Cxu-88vM.js} +3 -3
- package/dist/{FilechecksumWidget-gcmXxJHl.js.map → FilechecksumWidget-Cxu-88vM.js.map} +1 -1
- package/dist/{FiledisplayWidget-CYX4HChi.cjs → FiledisplayWidget-BNCoMpUN.cjs} +2 -2
- package/dist/{FiledisplayWidget-CYX4HChi.cjs.map → FiledisplayWidget-BNCoMpUN.cjs.map} +1 -1
- package/dist/{FiledisplayWidget-CqM549A4.js → FiledisplayWidget-UimFPng3.js} +8 -8
- package/dist/{FiledisplayWidget-CqM549A4.js.map → FiledisplayWidget-UimFPng3.js.map} +1 -1
- package/dist/{FormatvalueWidget-BEwH0C7S.js → FormatvalueWidget-Ct3waryv.js} +13 -11
- package/dist/{FormatvalueWidget-BEwH0C7S.js.map → FormatvalueWidget-Ct3waryv.js.map} +1 -1
- package/dist/FormatvalueWidget-kOhazTdt.cjs +2 -0
- package/dist/{FormatvalueWidget-CpsyYKXD.cjs.map → FormatvalueWidget-kOhazTdt.cjs.map} +1 -1
- package/dist/Graph-BT7YHaLU.cjs +2 -0
- package/dist/{Graph-kmTrth08.cjs.map → Graph-BT7YHaLU.cjs.map} +1 -1
- package/dist/{Graph-CbjlChwf.js → Graph-Dy2y26su.js} +139 -143
- package/dist/{Graph-CbjlChwf.js.map → Graph-Dy2y26su.js.map} +1 -1
- package/dist/{GraphWidget-SamHg2AA.cjs → GraphWidget-BuLKrARk.cjs} +2 -2
- package/dist/{GraphWidget-SamHg2AA.cjs.map → GraphWidget-BuLKrARk.cjs.map} +1 -1
- package/dist/{GraphWidget-CjxnC0Dc.js → GraphWidget-CuG4jeoM.js} +2 -2
- package/dist/{GraphWidget-CjxnC0Dc.js.map → GraphWidget-CuG4jeoM.js.map} +1 -1
- package/dist/{HorizontalWidget-Dt8bkM3k.js → HorizontalWidget-C1K91iwc.js} +2 -2
- package/dist/{HorizontalWidget-Dt8bkM3k.js.map → HorizontalWidget-C1K91iwc.js.map} +1 -1
- package/dist/{HorizontalWidget-ByZjU21C.cjs → HorizontalWidget-Cg736bCD.cjs} +2 -2
- package/dist/{HorizontalWidget-ByZjU21C.cjs.map → HorizontalWidget-Cg736bCD.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-DzYz5SXs.cjs → HorizontalboxWidget-Bx1ISrig.cjs} +2 -2
- package/dist/{HorizontalboxWidget-DzYz5SXs.cjs.map → HorizontalboxWidget-Bx1ISrig.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-CdAZ5Sa6.js → HorizontalboxWidget-Db8knddI.js} +5 -5
- package/dist/{HorizontalboxWidget-CdAZ5Sa6.js.map → HorizontalboxWidget-Db8knddI.js.map} +1 -1
- package/dist/{HorizontallineWidget-C8Zhqxik.cjs → HorizontallineWidget-BRrshiSM.cjs} +2 -2
- package/dist/{HorizontallineWidget-C8Zhqxik.cjs.map → HorizontallineWidget-BRrshiSM.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-CXZJTeU2.js → HorizontallineWidget-JtdiNy0r.js} +2 -2
- package/dist/{HorizontallineWidget-CXZJTeU2.js.map → HorizontallineWidget-JtdiNy0r.js.map} +1 -1
- package/dist/{IframeWidget-CrcWiAVE.js → IframeWidget-BIlFhl5W.js} +16 -16
- package/dist/IframeWidget-BIlFhl5W.js.map +1 -0
- package/dist/IframeWidget-CTwNNY_Y.cjs +2 -0
- package/dist/IframeWidget-CTwNNY_Y.cjs.map +1 -0
- package/dist/{ImageLoader-DPqax8yu.js → ImageLoader-Wgn0HO-B.js} +2 -2
- package/dist/{ImageLoader-DPqax8yu.js.map → ImageLoader-Wgn0HO-B.js.map} +1 -1
- package/dist/{ImageLoader-130w4tXJ.cjs → ImageLoader-maE53iG0.cjs} +2 -2
- package/dist/{ImageLoader-130w4tXJ.cjs.map → ImageLoader-maE53iG0.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-CafLbLp2.cjs → ImageviewerWidget-CNYu5y1M.cjs} +2 -2
- package/dist/{ImageviewerWidget-CafLbLp2.cjs.map → ImageviewerWidget-CNYu5y1M.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-CTEl6iPg.js → ImageviewerWidget-CsoNQsVN.js} +2 -2
- package/dist/{ImageviewerWidget-CTEl6iPg.js.map → ImageviewerWidget-CsoNQsVN.js.map} +1 -1
- package/dist/{InterfacesTab-B9ApLB5q.js → InterfacesTab-D1d6fYPx.js} +5 -5
- package/dist/{InterfacesTab-B9ApLB5q.js.map → InterfacesTab-D1d6fYPx.js.map} +1 -1
- package/dist/{InterfacesTab-wPQSLcSj.cjs → InterfacesTab-DN4Bx0jX.cjs} +2 -2
- package/dist/{InterfacesTab-wPQSLcSj.cjs.map → InterfacesTab-DN4Bx0jX.cjs.map} +1 -1
- package/dist/{LabelWidget-CPqKGMx0.js → LabelWidget-Ba4f7v6-.js} +2 -2
- package/dist/{LabelWidget-CPqKGMx0.js.map → LabelWidget-Ba4f7v6-.js.map} +1 -1
- package/dist/{LabelWidget-BfBP3Xme.cjs → LabelWidget-Mot3JRMt.cjs} +2 -2
- package/dist/{LabelWidget-BfBP3Xme.cjs.map → LabelWidget-Mot3JRMt.cjs.map} +1 -1
- package/dist/{LabelledWidget-CZvKfFNW.cjs → LabelledWidget-BUM4VRKk.cjs} +2 -2
- package/dist/{LabelledWidget-CZvKfFNW.cjs.map → LabelledWidget-BUM4VRKk.cjs.map} +1 -1
- package/dist/{LabelledWidget-BHYzRMFd.js → LabelledWidget-Cy_kY9Dr.js} +4 -4
- package/dist/{LabelledWidget-BHYzRMFd.js.map → LabelledWidget-Cy_kY9Dr.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-D9deeUo7.js → LabelprogressbarWidget-B7m4u1_T.js} +4 -4
- package/dist/{LabelprogressbarWidget-D9deeUo7.js.map → LabelprogressbarWidget-B7m4u1_T.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-Bv0G5oT3.cjs → LabelprogressbarWidget-Ddv8wOiy.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-Bv0G5oT3.cjs.map → LabelprogressbarWidget-Ddv8wOiy.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-dyqEroDN.cjs → LabelsparklineWidget-BdPL_Qy6.cjs} +2 -2
- package/dist/{LabelsparklineWidget-dyqEroDN.cjs.map → LabelsparklineWidget-BdPL_Qy6.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-7mYre3CP.js → LabelsparklineWidget-CAwxzcl1.js} +4 -4
- package/dist/{LabelsparklineWidget-7mYre3CP.js.map → LabelsparklineWidget-CAwxzcl1.js.map} +1 -1
- package/dist/{LabelvalueWidget-NLsD60n4.js → LabelvalueWidget-DfkCk32l.js} +4 -4
- package/dist/{LabelvalueWidget-NLsD60n4.js.map → LabelvalueWidget-DfkCk32l.js.map} +1 -1
- package/dist/{LabelvalueWidget-Bsl7Z3wM.cjs → LabelvalueWidget-dJ_MMnTe.cjs} +2 -2
- package/dist/{LabelvalueWidget-Bsl7Z3wM.cjs.map → LabelvalueWidget-dJ_MMnTe.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-B_Xih-c5.cjs → LabelvaluedescWidget-B1uUJbqG.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-B_Xih-c5.cjs.map → LabelvaluedescWidget-B1uUJbqG.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-DXROG4Gs.js → LabelvaluedescWidget-Dmff-Qnm.js} +5 -5
- package/dist/{LabelvaluedescWidget-DXROG4Gs.js.map → LabelvaluedescWidget-Dmff-Qnm.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DDd0RIs5.cjs → LabelvaluelimitsbarWidget-CBORsu08.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-DDd0RIs5.cjs.map → LabelvaluelimitsbarWidget-CBORsu08.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DqVqHF4W.js → LabelvaluelimitsbarWidget-QEB4zfXJ.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-DqVqHF4W.js.map → LabelvaluelimitsbarWidget-QEB4zfXJ.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-BK6_31pC.js → LabelvaluelimitscolumnWidget-DxEW7ft1.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-BK6_31pC.js.map → LabelvaluelimitscolumnWidget-DxEW7ft1.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-C1aqkXh5.cjs → LabelvaluelimitscolumnWidget-xsju-uwF.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-C1aqkXh5.cjs.map → LabelvaluelimitscolumnWidget-xsju-uwF.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-a8u5LXBD.cjs → LabelvaluerangebarWidget-BxKS0aXY.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-a8u5LXBD.cjs.map → LabelvaluerangebarWidget-BxKS0aXY.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DR7C8gqw.js → LabelvaluerangebarWidget-Dc_4Eh2P.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-DR7C8gqw.js.map → LabelvaluerangebarWidget-Dc_4Eh2P.js.map} +1 -1
- package/dist/{Layout-CVGghwYm.cjs → Layout-CevW0J6c.cjs} +2 -2
- package/dist/{Layout-CVGghwYm.cjs.map → Layout-CevW0J6c.cjs.map} +1 -1
- package/dist/{Layout-B_Hgw3gd.js → Layout-VFnL3qx_.js} +2 -2
- package/dist/{Layout-B_Hgw3gd.js.map → Layout-VFnL3qx_.js.map} +1 -1
- package/dist/{LedWidget-CiAVs2tj.js → LedWidget-BbBMEqh6.js} +4 -4
- package/dist/{LedWidget-CiAVs2tj.js.map → LedWidget-BbBMEqh6.js.map} +1 -1
- package/dist/{LedWidget-Cmy47xfg.cjs → LedWidget-D_mYilLS.cjs} +2 -2
- package/dist/{LedWidget-Cmy47xfg.cjs.map → LedWidget-D_mYilLS.cjs.map} +1 -1
- package/dist/{LimitsBar-_UQG-M6e.js → LimitsBar-CRNf8kCM.js} +2 -2
- package/dist/{LimitsBar-_UQG-M6e.js.map → LimitsBar-CRNf8kCM.js.map} +1 -1
- package/dist/{LimitsBar-DTtMywOw.cjs → LimitsBar-Cfi6zz4T.cjs} +2 -2
- package/dist/{LimitsBar-DTtMywOw.cjs.map → LimitsBar-Cfi6zz4T.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-CIwcOhC8.js → LimitsbarWidget-BID8h8Fz.js} +3 -3
- package/dist/{LimitsbarWidget-CIwcOhC8.js.map → LimitsbarWidget-BID8h8Fz.js.map} +1 -1
- package/dist/{LimitsbarWidget-CYm_f1FN.cjs → LimitsbarWidget-Bw_M1QY6.cjs} +2 -2
- package/dist/{LimitsbarWidget-CYm_f1FN.cjs.map → LimitsbarWidget-Bw_M1QY6.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-CGPfJwvT.js → LimitscolorWidget-Bm660cL9.js} +2 -2
- package/dist/{LimitscolorWidget-CGPfJwvT.js.map → LimitscolorWidget-Bm660cL9.js.map} +1 -1
- package/dist/{LimitscolorWidget-oH6NGl1C.cjs → LimitscolorWidget-CuiubDPH.cjs} +2 -2
- package/dist/{LimitscolorWidget-oH6NGl1C.cjs.map → LimitscolorWidget-CuiubDPH.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-CnGOCckG.cjs → LimitscolumnWidget-BuwnurP3.cjs} +2 -2
- package/dist/{LimitscolumnWidget-CnGOCckG.cjs.map → LimitscolumnWidget-BuwnurP3.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-Bj_UPEC8.js → LimitscolumnWidget-C_jzHXdC.js} +2 -2
- package/dist/{LimitscolumnWidget-Bj_UPEC8.js.map → LimitscolumnWidget-C_jzHXdC.js.map} +1 -1
- package/dist/{LinegraphWidget-zHs3NG-6.cjs → LinegraphWidget-Cgd3gSk8.cjs} +2 -2
- package/dist/{LinegraphWidget-zHs3NG-6.cjs.map → LinegraphWidget-Cgd3gSk8.cjs.map} +1 -1
- package/dist/{LinegraphWidget-DccnHbWa.js → LinegraphWidget-Pte5LxmO.js} +4 -4
- package/dist/{LinegraphWidget-DccnHbWa.js.map → LinegraphWidget-Pte5LxmO.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-U_NZ6aW-.js → MatrixbycolumnsWidget-j-3LkoxS.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-U_NZ6aW-.js.map → MatrixbycolumnsWidget-j-3LkoxS.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-Dd-udu5V.cjs → MatrixbycolumnsWidget-tRuEujha.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-Dd-udu5V.cjs.map → MatrixbycolumnsWidget-tRuEujha.cjs.map} +1 -1
- package/dist/{MicroservicesTab-DG3rdksb.js → MicroservicesTab-BFNyiTuf.js} +3 -3
- package/dist/{MicroservicesTab-DG3rdksb.js.map → MicroservicesTab-BFNyiTuf.js.map} +1 -1
- package/dist/{MicroservicesTab-DXgSxZ0K.cjs → MicroservicesTab-BhbOC0nm.cjs} +2 -2
- package/dist/{MicroservicesTab-DXgSxZ0K.cjs.map → MicroservicesTab-BhbOC0nm.cjs.map} +1 -1
- package/dist/OpenC3TimePicker-4kqB_Chf.cjs +2 -0
- package/dist/OpenC3TimePicker-4kqB_Chf.cjs.map +1 -0
- package/dist/OpenC3TimePicker-C9CBFp3d.js +219 -0
- package/dist/OpenC3TimePicker-C9CBFp3d.js.map +1 -0
- package/dist/{Openc3Screen-CDwAWaTl.js → Openc3Screen-BxuqrFPG.js} +714 -516
- package/dist/Openc3Screen-BxuqrFPG.js.map +1 -0
- package/dist/Openc3Screen-DuzCiS5h.cjs +6 -0
- package/dist/Openc3Screen-DuzCiS5h.cjs.map +1 -0
- package/dist/{OutputDialog-D2YCbR20.cjs → OutputDialog-C__OuTUo.cjs} +2 -2
- package/dist/{OutputDialog-D2YCbR20.cjs.map → OutputDialog-C__OuTUo.cjs.map} +1 -1
- package/dist/{OutputDialog-Di-pSmJE.js → OutputDialog-Dk3S2--J.js} +9 -9
- package/dist/{OutputDialog-Di-pSmJE.js.map → OutputDialog-Dk3S2--J.js.map} +1 -1
- package/dist/{PackagesTab-Bui5q3rX.js → PackagesTab-2UMA9TLY.js} +14 -14
- package/dist/{PackagesTab-Bui5q3rX.js.map → PackagesTab-2UMA9TLY.js.map} +1 -1
- package/dist/{PackagesTab-C-fV9yxw.cjs → PackagesTab-Ba4vRiFU.cjs} +2 -2
- package/dist/{PackagesTab-C-fV9yxw.cjs.map → PackagesTab-Ba4vRiFU.cjs.map} +1 -1
- package/dist/{PluginsTab-DxxlKeVx.cjs → PluginsTab-BSm5NCBn.cjs} +4 -4
- package/dist/{PluginsTab-DxxlKeVx.cjs.map → PluginsTab-BSm5NCBn.cjs.map} +1 -1
- package/dist/{PluginsTab-zR9eZuvc.js → PluginsTab-CS8RLv56.js} +4 -4
- package/dist/{PluginsTab-zR9eZuvc.js.map → PluginsTab-CS8RLv56.js.map} +1 -1
- package/dist/{ProgressbarWidget-Cxvwcfgn.cjs → ProgressbarWidget-D3jeqQZi.cjs} +2 -2
- package/dist/{ProgressbarWidget-Cxvwcfgn.cjs.map → ProgressbarWidget-D3jeqQZi.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-D4JtVzyk.js → ProgressbarWidget-DB4g3d3i.js} +2 -2
- package/dist/{ProgressbarWidget-D4JtVzyk.js.map → ProgressbarWidget-DB4g3d3i.js.map} +1 -1
- package/dist/{RadiobuttonWidget-BUaW7pRx.js → RadiobuttonWidget-CbLLNEeT.js} +2 -2
- package/dist/{RadiobuttonWidget-BUaW7pRx.js.map → RadiobuttonWidget-CbLLNEeT.js.map} +1 -1
- package/dist/{RadiobuttonWidget-Ccgftl13.cjs → RadiobuttonWidget-DpzokVRc.cjs} +2 -2
- package/dist/{RadiobuttonWidget-Ccgftl13.cjs.map → RadiobuttonWidget-DpzokVRc.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-CSxjpxCr.cjs → RadiogroupWidget-C8M7BvLR.cjs} +2 -2
- package/dist/{RadiogroupWidget-CSxjpxCr.cjs.map → RadiogroupWidget-C8M7BvLR.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-NIv4CaUQ.js → RadiogroupWidget-DdTKUKGT.js} +2 -2
- package/dist/{RadiogroupWidget-NIv4CaUQ.js.map → RadiogroupWidget-DdTKUKGT.js.map} +1 -1
- package/dist/{RangebarWidget-1-CsFpcl.js → RangebarWidget-DvegNZg3.js} +2 -2
- package/dist/{RangebarWidget-1-CsFpcl.js.map → RangebarWidget-DvegNZg3.js.map} +1 -1
- package/dist/{RangebarWidget-BtxfPo-U.cjs → RangebarWidget-YWSjQavR.cjs} +2 -2
- package/dist/{RangebarWidget-BtxfPo-U.cjs.map → RangebarWidget-YWSjQavR.cjs.map} +1 -1
- package/dist/{RedisTab-DOozcC9a.cjs → RedisTab-Bs8368J6.cjs} +2 -2
- package/dist/{RedisTab-DOozcC9a.cjs.map → RedisTab-Bs8368J6.cjs.map} +1 -1
- package/dist/{RedisTab-DuO-zUV3.js → RedisTab-C2dYwa7Q.js} +5 -5
- package/dist/{RedisTab-DuO-zUV3.js.map → RedisTab-C2dYwa7Q.js.map} +1 -1
- package/dist/{RollupWidget-ChasTJYP.js → RollupWidget-BfDjRI_8.js} +2 -2
- package/dist/{RollupWidget-ChasTJYP.js.map → RollupWidget-BfDjRI_8.js.map} +1 -1
- package/dist/{RollupWidget-CQxl1mlr.cjs → RollupWidget-jZjZhJpb.cjs} +2 -2
- package/dist/{RollupWidget-CQxl1mlr.cjs.map → RollupWidget-jZjZhJpb.cjs.map} +1 -1
- package/dist/{RoutersTab-C0UHSj-S.js → RoutersTab-BDKIQfPD.js} +3 -3
- package/dist/{RoutersTab-C0UHSj-S.js.map → RoutersTab-BDKIQfPD.js.map} +1 -1
- package/dist/{RoutersTab-DgWAXGUv.cjs → RoutersTab-DtHCBbXB.cjs} +2 -2
- package/dist/{RoutersTab-DgWAXGUv.cjs.map → RoutersTab-DtHCBbXB.cjs.map} +1 -1
- package/dist/{ScriptChooser-C5HHbbcP.js → ScriptChooser-D12U4b0f.js} +13 -13
- package/dist/ScriptChooser-D12U4b0f.js.map +1 -0
- package/dist/ScriptChooser-QTzU0krS.cjs +2 -0
- package/dist/ScriptChooser-QTzU0krS.cjs.map +1 -0
- package/dist/{ScrollwindowWidget-Bkyjw0Qt.cjs → ScrollwindowWidget-BQU2wUnY.cjs} +2 -2
- package/dist/{ScrollwindowWidget-Bkyjw0Qt.cjs.map → ScrollwindowWidget-BQU2wUnY.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-Y2J758y6.js → ScrollwindowWidget-BdRjQVVF.js} +2 -2
- package/dist/{ScrollwindowWidget-Y2J758y6.js.map → ScrollwindowWidget-BdRjQVVF.js.map} +1 -1
- package/dist/{SecretsTab-c5g8Zk4g.js → SecretsTab-9350W-Wd.js} +4 -4
- package/dist/{SecretsTab-c5g8Zk4g.js.map → SecretsTab-9350W-Wd.js.map} +1 -1
- package/dist/{SecretsTab-Ds3kGOmd.cjs → SecretsTab-CoEChNXs.cjs} +2 -2
- package/dist/{SecretsTab-Ds3kGOmd.cjs.map → SecretsTab-CoEChNXs.cjs.map} +1 -1
- package/dist/{SettingsTab-CTd3_Ipy.js → SettingsTab-CPk_hNJp.js} +249 -136
- package/dist/SettingsTab-CPk_hNJp.js.map +1 -0
- package/dist/SettingsTab-CqYcXYBb.cjs +3 -0
- package/dist/SettingsTab-CqYcXYBb.cjs.map +1 -0
- package/dist/{SignalWidget-DFhHDicI.js → SignalWidget-BPiNqq8R.js} +2 -2
- package/dist/{SignalWidget-DFhHDicI.js.map → SignalWidget-BPiNqq8R.js.map} +1 -1
- package/dist/{SignalWidget-BkTXZpGV.cjs → SignalWidget-w0jzLGVV.cjs} +2 -2
- package/dist/{SignalWidget-BkTXZpGV.cjs.map → SignalWidget-w0jzLGVV.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-CXIEKlX0.js → SimpleTextDialog-3uasUaXN.js} +2 -2
- package/dist/{SimpleTextDialog-CXIEKlX0.js.map → SimpleTextDialog-3uasUaXN.js.map} +1 -1
- package/dist/{SimpleTextDialog-Dv5ypyUQ.cjs → SimpleTextDialog-BpyUPxqT.cjs} +2 -2
- package/dist/{SimpleTextDialog-Dv5ypyUQ.cjs.map → SimpleTextDialog-BpyUPxqT.cjs.map} +1 -1
- package/dist/{SpacerWidget-D4KojaGb.js → SpacerWidget-CZGtLi7D.js} +2 -2
- package/dist/{SpacerWidget-D4KojaGb.js.map → SpacerWidget-CZGtLi7D.js.map} +1 -1
- package/dist/{SpacerWidget-HsSCc07C.cjs → SpacerWidget-D9BpT5w5.cjs} +2 -2
- package/dist/{SpacerWidget-HsSCc07C.cjs.map → SpacerWidget-D9BpT5w5.cjs.map} +1 -1
- package/dist/{SparklineWidget-DMHFzw8L.js → SparklineWidget-CjjqaZtm.js} +4 -4
- package/dist/{SparklineWidget-DMHFzw8L.js.map → SparklineWidget-CjjqaZtm.js.map} +1 -1
- package/dist/{SparklineWidget-BdRM-ymk.cjs → SparklineWidget-DXYD2dKC.cjs} +2 -2
- package/dist/{SparklineWidget-BdRM-ymk.cjs.map → SparklineWidget-DXYD2dKC.cjs.map} +1 -1
- package/dist/{TabbookWidget-NmIK-Lgf.cjs → TabbookWidget-DnCX6_eY.cjs} +2 -2
- package/dist/{TabbookWidget-NmIK-Lgf.cjs.map → TabbookWidget-DnCX6_eY.cjs.map} +1 -1
- package/dist/{TabbookWidget-NVLYMdFG.js → TabbookWidget-Dy8N2hq1.js} +2 -2
- package/dist/{TabbookWidget-NVLYMdFG.js.map → TabbookWidget-Dy8N2hq1.js.map} +1 -1
- package/dist/{TargetPacketItemChooser-D5h9Octy.js → TargetPacketItemChooser--rzU8ThE.js} +179 -146
- package/dist/TargetPacketItemChooser--rzU8ThE.js.map +1 -0
- package/dist/TargetPacketItemChooser-B3riNx-5.cjs +2 -0
- package/dist/TargetPacketItemChooser-B3riNx-5.cjs.map +1 -0
- package/dist/{TargetsTab-b35HgnRl.js → TargetsTab-DJBCaflz.js} +12 -12
- package/dist/{TargetsTab-b35HgnRl.js.map → TargetsTab-DJBCaflz.js.map} +1 -1
- package/dist/{TargetsTab-JLjpJ1wn.cjs → TargetsTab-Dqvu7l_c.cjs} +2 -2
- package/dist/{TargetsTab-JLjpJ1wn.cjs.map → TargetsTab-Dqvu7l_c.cjs.map} +1 -1
- package/dist/{TextboxWidget-CrMYPQIF.js → TextboxWidget-BSQPOr-R.js} +4 -4
- package/dist/{TextboxWidget-CrMYPQIF.js.map → TextboxWidget-BSQPOr-R.js.map} +1 -1
- package/dist/{TextboxWidget-xk3OFSUZ.cjs → TextboxWidget-DHHcXTpa.cjs} +2 -2
- package/dist/{TextboxWidget-xk3OFSUZ.cjs.map → TextboxWidget-DHHcXTpa.cjs.map} +1 -1
- package/dist/{TextfieldWidget-DnnKM6vS.cjs → TextfieldWidget-BbNHrjZB.cjs} +2 -2
- package/dist/{TextfieldWidget-DnnKM6vS.cjs.map → TextfieldWidget-BbNHrjZB.cjs.map} +1 -1
- package/dist/{TextfieldWidget-DMBQwtnb.js → TextfieldWidget-CTGnjpuY.js} +2 -2
- package/dist/{TextfieldWidget-DMBQwtnb.js.map → TextfieldWidget-CTGnjpuY.js.map} +1 -1
- package/dist/TimeWidget-B4qqIUWu.js +43 -0
- package/dist/TimeWidget-B4qqIUWu.js.map +1 -0
- package/dist/TimeWidget-BhyYijAr.cjs +2 -0
- package/dist/TimeWidget-BhyYijAr.cjs.map +1 -0
- package/dist/{TitleWidget-CfFyUkSu.cjs → TitleWidget-Dagdh8DQ.cjs} +2 -2
- package/dist/{TitleWidget-CfFyUkSu.cjs.map → TitleWidget-Dagdh8DQ.cjs.map} +1 -1
- package/dist/{TitleWidget-V1FGI8l3.js → TitleWidget-OwWpy1Jl.js} +2 -2
- package/dist/{TitleWidget-V1FGI8l3.js.map → TitleWidget-OwWpy1Jl.js.map} +1 -1
- package/dist/{ToolsTab-7qOQPnN3.js → ToolsTab-BddBK1tK.js} +248 -232
- package/dist/ToolsTab-BddBK1tK.js.map +1 -0
- package/dist/ToolsTab-BxrYmpF4.cjs +7 -0
- package/dist/ToolsTab-BxrYmpF4.cjs.map +1 -0
- package/dist/{TopBar-DdOFDiCo.cjs → TopBar-D6zYf4Ed.cjs} +2 -2
- package/dist/{TopBar-DdOFDiCo.cjs.map → TopBar-D6zYf4Ed.cjs.map} +1 -1
- package/dist/{TopBar-BkwvK0oj.js → TopBar-DcfK2Z2G.js} +2 -2
- package/dist/{TopBar-BkwvK0oj.js.map → TopBar-DcfK2Z2G.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CEUcvlkx.js → UpgradeToEnterpriseDialog-Cj0L60bW.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-CEUcvlkx.js.map → UpgradeToEnterpriseDialog-Cj0L60bW.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CP-jJxU4.cjs → UpgradeToEnterpriseDialog-DHOqnrRc.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-CP-jJxU4.cjs.map → UpgradeToEnterpriseDialog-DHOqnrRc.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-D9LFRi0t.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-8uBNo_8r.js} +10122 -9919
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-8uBNo_8r.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-COA1HwFc.cjs +1501 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-COA1HwFc.cjs.map +1 -0
- package/dist/{VWidget-rAFU-0vj.js → VWidget-B8DTwMbX.js} +44 -11
- package/dist/VWidget-B8DTwMbX.js.map +1 -0
- package/dist/VWidget-od6gU6UT.cjs +2 -0
- package/dist/VWidget-od6gU6UT.cjs.map +1 -0
- package/dist/{ValueWidget-CwuH7beM.cjs → ValueWidget-9DW9QZ_F.cjs} +2 -2
- package/dist/{ValueWidget-CwuH7beM.cjs.map → ValueWidget-9DW9QZ_F.cjs.map} +1 -1
- package/dist/{ValueWidget-BI3uXmda.js → ValueWidget-CD-gsoJa.js} +4 -4
- package/dist/{ValueWidget-BI3uXmda.js.map → ValueWidget-CD-gsoJa.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-BGSJLpw4.js → ValuelimitsbarWidget-CKqMqplL.js} +4 -4
- package/dist/{ValuelimitsbarWidget-BGSJLpw4.js.map → ValuelimitsbarWidget-CKqMqplL.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-BSkGhA_y.cjs → ValuelimitsbarWidget-DgP-FRnw.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-BSkGhA_y.cjs.map → ValuelimitsbarWidget-DgP-FRnw.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BXdPahDO.cjs → ValuelimitscolumnWidget-DWik9H7C.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-BXdPahDO.cjs.map → ValuelimitscolumnWidget-DWik9H7C.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-CaNjHy4v.js → ValuelimitscolumnWidget-TbIlfRm8.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-CaNjHy4v.js.map → ValuelimitscolumnWidget-TbIlfRm8.js.map} +1 -1
- package/dist/{ValuerangebarWidget-Do40-aaL.js → ValuerangebarWidget-CIR3qshL.js} +4 -4
- package/dist/{ValuerangebarWidget-Do40-aaL.js.map → ValuerangebarWidget-CIR3qshL.js.map} +1 -1
- package/dist/{ValuerangebarWidget-DvWGqBNM.cjs → ValuerangebarWidget-DMPQMn23.cjs} +2 -2
- package/dist/{ValuerangebarWidget-DvWGqBNM.cjs.map → ValuerangebarWidget-DMPQMn23.cjs.map} +1 -1
- package/dist/{VerticalWidget-y238HI2A.cjs → VerticalWidget-BjDRWx1I.cjs} +2 -2
- package/dist/{VerticalWidget-y238HI2A.cjs.map → VerticalWidget-BjDRWx1I.cjs.map} +1 -1
- package/dist/{VerticalWidget-DZqghqIm.js → VerticalWidget-DpMgiz2m.js} +2 -2
- package/dist/{VerticalWidget-DZqghqIm.js.map → VerticalWidget-DpMgiz2m.js.map} +1 -1
- package/dist/{VerticalboxWidget-CQ__4FcS.js → VerticalboxWidget-BznaAPyj.js} +5 -5
- package/dist/{VerticalboxWidget-CQ__4FcS.js.map → VerticalboxWidget-BznaAPyj.js.map} +1 -1
- package/dist/{VerticalboxWidget--dgKnG5Z.cjs → VerticalboxWidget-DcQvJ13j.cjs} +2 -2
- package/dist/{VerticalboxWidget--dgKnG5Z.cjs.map → VerticalboxWidget-DcQvJ13j.cjs.map} +1 -1
- package/dist/{Widget-DdxHKVWn.cjs → Widget-BUhqs-wN.cjs} +2 -2
- package/dist/{Widget-DdxHKVWn.cjs.map → Widget-BUhqs-wN.cjs.map} +1 -1
- package/dist/{Widget-6-Nvewdp.js → Widget-E_9ky7hf.js} +2 -2
- package/dist/{Widget-6-Nvewdp.js.map → Widget-E_9ky7hf.js.map} +1 -1
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +380 -215
- package/dist/components.js.map +1 -1
- package/dist/index-D-zO4ghE.cjs +10 -0
- package/dist/index-D-zO4ghE.cjs.map +1 -0
- package/dist/{index-3k1IXN1T.js → index-DCtILi4r.js} +765 -622
- package/dist/index-DCtILi4r.js.map +1 -0
- 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-B9BW70-4.cjs +3 -0
- package/dist/purify.es-B9BW70-4.cjs.map +1 -0
- package/dist/{purify.es-BGaRrCfO.js → purify.es-BIuh5IAZ.js} +116 -116
- package/dist/purify.es-BIuh5IAZ.js.map +1 -0
- package/dist/{settings-CHPWZcnU.js → settings-CjEQxY67.js} +2 -2
- package/dist/{settings-CHPWZcnU.js.map → settings-CjEQxY67.js.map} +1 -1
- package/dist/{settings-BCE3SW-9.cjs → settings-J9UGWG6O.cjs} +2 -2
- package/dist/{settings-BCE3SW-9.cjs.map → settings-J9UGWG6O.cjs.map} +1 -1
- package/dist/tools/admin.cjs +4 -5
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +936 -823
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.js +5 -5
- package/dist/tools/base.js.map +1 -1
- 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 +1105 -1162
- 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 +64 -64
- package/package.json +14 -14
- package/dist/EventListDialog-BshKrOuQ.js.map +0 -1
- package/dist/EventListDialog-D0iBpLSR.cjs +0 -2
- package/dist/EventListDialog-D0iBpLSR.cjs.map +0 -1
- package/dist/FormatvalueWidget-CpsyYKXD.cjs +0 -2
- package/dist/Graph-kmTrth08.cjs +0 -2
- package/dist/IframeWidget-BuNXXziR.cjs +0 -2
- package/dist/IframeWidget-BuNXXziR.cjs.map +0 -1
- package/dist/IframeWidget-CrcWiAVE.js.map +0 -1
- package/dist/Openc3Screen-CDwAWaTl.js.map +0 -1
- package/dist/Openc3Screen-CKs-49JN.cjs +0 -6
- package/dist/Openc3Screen-CKs-49JN.cjs.map +0 -1
- package/dist/ScriptChooser-C5HHbbcP.js.map +0 -1
- package/dist/ScriptChooser-D1dddugi.cjs +0 -2
- package/dist/ScriptChooser-D1dddugi.cjs.map +0 -1
- package/dist/SettingsTab-CTd3_Ipy.js.map +0 -1
- package/dist/SettingsTab-DMPRJELP.cjs +0 -3
- package/dist/SettingsTab-DMPRJELP.cjs.map +0 -1
- package/dist/TargetPacketItemChooser-B0IVMSib.cjs +0 -2
- package/dist/TargetPacketItemChooser-B0IVMSib.cjs.map +0 -1
- package/dist/TargetPacketItemChooser-D5h9Octy.js.map +0 -1
- package/dist/TimeWidget-CWLJZ2bt.js +0 -40
- package/dist/TimeWidget-CWLJZ2bt.js.map +0 -1
- package/dist/TimeWidget-W-flXfLb.cjs +0 -2
- package/dist/TimeWidget-W-flXfLb.cjs.map +0 -1
- package/dist/ToolsTab-7qOQPnN3.js.map +0 -1
- package/dist/ToolsTab-jUNdj09m.cjs +0 -7
- package/dist/ToolsTab-jUNdj09m.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-CX-SWpru.cjs +0 -1498
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-CX-SWpru.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-D9LFRi0t.js.map +0 -1
- package/dist/VWidget-BJArPtqI.cjs +0 -2
- package/dist/VWidget-BJArPtqI.cjs.map +0 -1
- package/dist/VWidget-rAFU-0vj.js.map +0 -1
- package/dist/index-3k1IXN1T.js.map +0 -1
- package/dist/index-DlWUR7vt.cjs +0 -7
- package/dist/index-DlWUR7vt.cjs.map +0 -1
- package/dist/purify.es-B608WQkR.cjs +0 -3
- package/dist/purify.es-B608WQkR.cjs.map +0 -1
- package/dist/purify.es-BGaRrCfO.js.map +0 -1
|
@@ -1,31 +1,172 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var tt = Object.defineProperty;
|
|
2
|
+
var We = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var Ne = (t, e, o) =>
|
|
7
|
-
var
|
|
8
|
-
import {
|
|
9
|
-
import { resolveComponent as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { T as
|
|
5
|
+
var it = (t, e, o) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
6
|
+
var Ne = (t, e, o) => it(t, typeof e != "symbol" ? e + "" : e, o), Je = (t, e, o) => e.has(t) || We("Cannot " + o);
|
|
7
|
+
var q = (t, e, o) => (Je(t, e, "read from private field"), o ? o.call(t) : e.get(t)), Z = (t, e, o) => e.has(t) ? We("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, o), ne = (t, e, o, a) => (Je(t, e, "write to private field"), a ? a.call(t, o) : e.set(t, o), o);
|
|
8
|
+
import { O as Ie, E as O, x as st } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-8uBNo_8r.js";
|
|
9
|
+
import { resolveComponent as r, createElementBlock as D, openBlock as w, createVNode as s, createBlock as T, createCommentVNode as P, withCtx as l, createTextVNode as y, createElementVNode as x, withDirectives as nt, vShow as ot, toDisplayString as F, mergeProps as X, normalizeClass as qe, inject as oe, getCurrentInstance as lt, computed as Q, ref as ae, watch as Re, onMounted as $e, onBeforeUnmount as et, normalizeStyle as fe, unref as rt, renderSlot as at, useSlots as dt, provide as ee, resolveDynamicComponent as ut, nextTick as He, h as ct, withKeys as Se, withModifiers as de, Fragment as ge, renderList as Ke, normalizeProps as le, guardReactiveProps as re } from "vue";
|
|
10
|
+
import { _ as J } from "../CustomIcon-B9m73Gqm.js";
|
|
11
|
+
import { T as mt } from "../timeFilters-BKnCM4rv.js";
|
|
12
12
|
import "single-spa";
|
|
13
|
-
import { O as
|
|
13
|
+
import { O as pt, A as ht } from "../OutputDialog-Dk3S2--J.js";
|
|
14
14
|
import { f as Oe } from "../format-CVeawcIv.js";
|
|
15
|
-
import { a as
|
|
16
|
-
import { u as
|
|
17
|
-
import { T as
|
|
18
|
-
import { E as
|
|
19
|
-
import { f as
|
|
20
|
-
import { C as
|
|
21
|
-
import {
|
|
22
|
-
import { S as
|
|
23
|
-
import { _ as
|
|
24
|
-
import "../purify.es-
|
|
25
|
-
import { E as
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
import { a as ft } from "../index-DCtILi4r.js";
|
|
16
|
+
import { u as gt } from "../useContainerHeight-BAw05dIa.js";
|
|
17
|
+
import { T as vt, A as Ee } from "../TopBar-DcfK2Z2G.js";
|
|
18
|
+
import { E as _t, C as bt } from "../ScriptChooser-D12U4b0f.js";
|
|
19
|
+
import { f as wt } from "../fileIcon-DqRHb1_Z.js";
|
|
20
|
+
import { C as yt } from "../CriticalCmdDialog-DqmsE7es.js";
|
|
21
|
+
import { g as Ye, c as Ze, b as kt, O as St, F as xt, C as Ct, T as Vt } from "../Openc3Screen-BxuqrFPG.js";
|
|
22
|
+
import { S as Et } from "../SimpleTextDialog-3uasUaXN.js";
|
|
23
|
+
import { _ as Rt } from "../ClassificationBanners-CnKda5CL.js";
|
|
24
|
+
import "../purify.es-BIuh5IAZ.js";
|
|
25
|
+
import { E as Ot } from "../EventListDialog-BV9m-oEq.js";
|
|
26
|
+
const Xe = (t) => {
|
|
27
|
+
const e = "(^|[{\\(\\s])", o = "((\\s.+)|(\\(.+\\)))";
|
|
28
|
+
return new RegExp(`${e}${t}${o}`);
|
|
29
|
+
}, Mt = /\{/, Tt = /['"],\s?['"]/;
|
|
30
|
+
class It {
|
|
31
|
+
constructor() {
|
|
32
|
+
this.api = new Ie(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
33
|
+
e.forEach((o) => {
|
|
34
|
+
this.targets[o] = {
|
|
35
|
+
cmd: null,
|
|
36
|
+
tlm: null
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
}), this.cmdKeywordExpressions = [], Ye("cmd").then((e) => {
|
|
40
|
+
this.cmdKeywordExpressions = e.data.map(Xe);
|
|
41
|
+
}), this.tlmKeywordExpressions = [], Ye("tlm").then((e) => {
|
|
42
|
+
this.tlmKeywordExpressions = e.data.map(Xe);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
async checkText(e) {
|
|
46
|
+
const { linesToCheck: o, linesToSkip: a } = e.split(`
|
|
47
|
+
`).reduce(
|
|
48
|
+
(n, d, h) => {
|
|
49
|
+
if (d = d.trim(), d.match(/^#/))
|
|
50
|
+
return n;
|
|
51
|
+
const c = d.match(
|
|
52
|
+
/^([^#'"]*(?:(?:"[^"]*"|'[^']*')[^#'"]*)*)(#.*)$/
|
|
53
|
+
), _ = c ? c[1].trim() : d, S = this.cmdKeywordExpressions.reduce((z, B) => z || _.match(B), null), C = this.tlmKeywordExpressions.reduce((z, B) => z || _.match(B), null);
|
|
54
|
+
if (!S && !C)
|
|
55
|
+
return n;
|
|
56
|
+
const E = (S || C)[2];
|
|
57
|
+
if (!E)
|
|
58
|
+
return n;
|
|
59
|
+
const R = E.match(/[\(\s)]/);
|
|
60
|
+
if (!R)
|
|
61
|
+
return n;
|
|
62
|
+
let U = E.substring(R.index + 1).replace(/\)+.*$/, "");
|
|
63
|
+
if (U.match(Mt))
|
|
64
|
+
return n.linesToSkip.push(h + 1), n;
|
|
65
|
+
const k = !!U.match(Tt);
|
|
66
|
+
if (!k) {
|
|
67
|
+
const z = U.match(/^['"]/);
|
|
68
|
+
if (z) {
|
|
69
|
+
const B = z[0], H = U.indexOf(B, 1);
|
|
70
|
+
H > 0 && (U = U.substring(1, H));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
const L = U.split(
|
|
74
|
+
k ? "," : " "
|
|
75
|
+
);
|
|
76
|
+
if (L.length < 2)
|
|
77
|
+
return n;
|
|
78
|
+
const A = {
|
|
79
|
+
target: L[0],
|
|
80
|
+
packet: L[1]
|
|
81
|
+
};
|
|
82
|
+
if (C)
|
|
83
|
+
A.item = L[2];
|
|
84
|
+
else {
|
|
85
|
+
const z = L.slice(2);
|
|
86
|
+
k ? A.params = z.map(
|
|
87
|
+
(B) => B.split("=>")[0]
|
|
88
|
+
) : A.params = z.filter((B, H) => H % 2);
|
|
89
|
+
}
|
|
90
|
+
for (const z in A)
|
|
91
|
+
typeof A[z] == "string" ? A[z] = A[z].replace(/['"]/g, "").trim() : A[z] = A[z].map(
|
|
92
|
+
(B) => B.replace(/['"]/g, "").trim()
|
|
93
|
+
);
|
|
94
|
+
return n.linesToCheck.push({
|
|
95
|
+
line: d,
|
|
96
|
+
mnemonic: A,
|
|
97
|
+
lineNumber: h + 1
|
|
98
|
+
}), n;
|
|
99
|
+
},
|
|
100
|
+
{ linesToCheck: [], linesToSkip: [] }
|
|
101
|
+
), i = await this._checkLines(o);
|
|
102
|
+
return {
|
|
103
|
+
skipped: a.sort(),
|
|
104
|
+
problems: i.sort((n, d) => n.lineNumber - d.lineNumber)
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
async _checkLines(e) {
|
|
108
|
+
const o = [], a = Ze(
|
|
109
|
+
e,
|
|
110
|
+
(i) => i.mnemonic.target
|
|
111
|
+
);
|
|
112
|
+
for (const i in a) {
|
|
113
|
+
if (!this.targets[i]) {
|
|
114
|
+
for (const d of a[i])
|
|
115
|
+
o.push({
|
|
116
|
+
...d,
|
|
117
|
+
error: `Target "${i}" does not exist.`
|
|
118
|
+
});
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
121
|
+
const n = Ze(
|
|
122
|
+
a[i],
|
|
123
|
+
(d) => d.mnemonic.packet
|
|
124
|
+
);
|
|
125
|
+
for (const d in n)
|
|
126
|
+
for (const h of n[d]) {
|
|
127
|
+
const c = h.mnemonic.item ? "tlm" : "cmd";
|
|
128
|
+
if (!this.targets[i][c]) {
|
|
129
|
+
const S = h.mnemonic.item ? "get_all_tlm" : "get_all_cmds", C = await this.api[S](i);
|
|
130
|
+
this.targets[i][c] = C.reduce(
|
|
131
|
+
(b, E) => (b[E.packet_name] = E.items.map(
|
|
132
|
+
(R) => R.name
|
|
133
|
+
), b),
|
|
134
|
+
{}
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
const _ = this.targets[i][c][d];
|
|
138
|
+
if (!_) {
|
|
139
|
+
o.push({
|
|
140
|
+
...h,
|
|
141
|
+
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
142
|
+
});
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
if (h.mnemonic.item) {
|
|
146
|
+
if (!_.some((S) => S === h.mnemonic.item)) {
|
|
147
|
+
o.push({
|
|
148
|
+
...h,
|
|
149
|
+
error: `Item "${i} ${d} ${h.mnemonic.item}" does not exist.`
|
|
150
|
+
});
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
} else
|
|
154
|
+
for (const S of h.mnemonic.params)
|
|
155
|
+
if (!_.some((C) => C === S)) {
|
|
156
|
+
o.push({
|
|
157
|
+
...h,
|
|
158
|
+
error: `Command "${i} ${d}" param "${S}" does not exist.`
|
|
159
|
+
});
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return o;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
const Ut = {
|
|
168
|
+
components: { OutputDialog: pt },
|
|
169
|
+
mixins: [mt],
|
|
29
170
|
props: {
|
|
30
171
|
tabId: {
|
|
31
172
|
type: Number,
|
|
@@ -128,12 +269,12 @@ const Ot = {
|
|
|
128
269
|
O.get(
|
|
129
270
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
130
271
|
).then((e) => {
|
|
131
|
-
const o = e.data.items || [],
|
|
272
|
+
const o = e.data.items || [], a = /* @__PURE__ */ new Date();
|
|
132
273
|
o.forEach((i) => {
|
|
133
274
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
134
|
-
const
|
|
275
|
+
const n = new Date(i.start_time), d = a - n;
|
|
135
276
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
136
|
-
|
|
277
|
+
n,
|
|
137
278
|
this.timeZone
|
|
138
279
|
), d < 0)
|
|
139
280
|
i.duration = "N/A";
|
|
@@ -142,11 +283,11 @@ const Ot = {
|
|
|
142
283
|
else if (d < 6e4)
|
|
143
284
|
i.duration = `${Math.round(d / 1e3)}s`;
|
|
144
285
|
else if (d < 36e5) {
|
|
145
|
-
const
|
|
146
|
-
i.duration = `${
|
|
286
|
+
const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
287
|
+
i.duration = `${h}m ${c}s`;
|
|
147
288
|
} else {
|
|
148
|
-
const
|
|
149
|
-
i.duration = `${
|
|
289
|
+
const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), _ = Math.round(d % 6e4 / 1e3);
|
|
290
|
+
i.duration = `${h}h ${c}m ${_}s`;
|
|
150
291
|
}
|
|
151
292
|
} else
|
|
152
293
|
i.duration = "N/A";
|
|
@@ -171,27 +312,27 @@ const Ot = {
|
|
|
171
312
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
172
313
|
).then((e) => {
|
|
173
314
|
const o = e.data.items || [];
|
|
174
|
-
o.forEach((
|
|
175
|
-
if (
|
|
176
|
-
const i = new Date(
|
|
177
|
-
if (
|
|
315
|
+
o.forEach((a) => {
|
|
316
|
+
if (a.user_display = `${a.user_full_name} (${a.username})`, a.start_time && a.end_time) {
|
|
317
|
+
const i = new Date(a.start_time), d = new Date(a.end_time) - i;
|
|
318
|
+
if (a.start_time_formatted = this.formatDateTimeHMS(
|
|
178
319
|
i,
|
|
179
320
|
this.timeZone
|
|
180
321
|
), d < 0)
|
|
181
|
-
|
|
322
|
+
a.duration = "N/A";
|
|
182
323
|
else if (d < 1e3)
|
|
183
|
-
|
|
324
|
+
a.duration = "< 1s";
|
|
184
325
|
else if (d < 6e4)
|
|
185
|
-
|
|
326
|
+
a.duration = `${Math.round(d / 1e3)}s`;
|
|
186
327
|
else if (d < 36e5) {
|
|
187
|
-
const
|
|
188
|
-
|
|
328
|
+
const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
329
|
+
a.duration = `${h}m ${c}s`;
|
|
189
330
|
} else {
|
|
190
|
-
const
|
|
191
|
-
|
|
331
|
+
const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), _ = Math.round(d % 6e4 / 1e3);
|
|
332
|
+
a.duration = `${h}h ${c}m ${_}s`;
|
|
192
333
|
}
|
|
193
334
|
} else
|
|
194
|
-
|
|
335
|
+
a.duration = "N/A";
|
|
195
336
|
}), this.completedScripts = o, this.completedTotal = e.data.total || o.length, this.completedLoading = !1;
|
|
196
337
|
}).catch((e) => {
|
|
197
338
|
this.completedLoading = !1, this.$notify.caution({
|
|
@@ -245,97 +386,97 @@ const Ot = {
|
|
|
245
386
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
246
387
|
o
|
|
247
388
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
248
|
-
).then((
|
|
389
|
+
).then((a) => {
|
|
249
390
|
const i = o.split("/");
|
|
250
|
-
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(
|
|
391
|
+
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(a.data.contents), this.showDialog = !0;
|
|
251
392
|
});
|
|
252
393
|
},
|
|
253
394
|
downloadScriptLog: function(t, e, o = "text") {
|
|
254
|
-
let
|
|
255
|
-
e === "report" ? (this.dialogName = "Report",
|
|
395
|
+
let a = null;
|
|
396
|
+
e === "report" ? (this.dialogName = "Report", a = t.report) : (this.dialogName = "Log", a = t.log), this.downloadScript = t, o === "ctrf" && e === "report" ? O.get(
|
|
256
397
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
257
|
-
|
|
398
|
+
a
|
|
258
399
|
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
259
400
|
).then((i) => {
|
|
260
|
-
const
|
|
401
|
+
const n = new Blob([window.atob(i.data.contents)], {
|
|
261
402
|
type: "application/json"
|
|
262
403
|
}), d = document.createElement("a");
|
|
263
|
-
d.href = URL.createObjectURL(
|
|
404
|
+
d.href = URL.createObjectURL(n), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
|
|
264
405
|
}).catch(() => {
|
|
265
406
|
this.$notify.caution({
|
|
266
|
-
title: `Unable to download log ${
|
|
267
|
-
body: `You may be able to download this log manually from the 'logs' bucket at ${
|
|
407
|
+
title: `Unable to download log ${a}`,
|
|
408
|
+
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
268
409
|
}), this.downloadScript = null;
|
|
269
410
|
}) : O.get(
|
|
270
411
|
`/openc3-api/storage/download/${encodeURIComponent(
|
|
271
|
-
|
|
412
|
+
a
|
|
272
413
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
273
414
|
).then((i) => {
|
|
274
|
-
const
|
|
275
|
-
|
|
415
|
+
const n = a.split("/"), d = n[n.length - 1], h = document.createElement("a");
|
|
416
|
+
h.href = i.data.url, h.setAttribute("download", d), h.click(), this.downloadScript = null;
|
|
276
417
|
}).catch(() => {
|
|
277
418
|
this.$notify.caution({
|
|
278
|
-
title: `Unable to download log ${
|
|
279
|
-
body: `You may be able to download this log manually from the 'logs' bucket at ${
|
|
419
|
+
title: `Unable to download log ${a}`,
|
|
420
|
+
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
280
421
|
}), this.downloadScript = null;
|
|
281
422
|
});
|
|
282
423
|
}
|
|
283
424
|
}
|
|
284
|
-
},
|
|
285
|
-
function
|
|
286
|
-
const d =
|
|
287
|
-
return
|
|
288
|
-
|
|
425
|
+
}, Pt = { key: 0 }, Dt = { key: 1 };
|
|
426
|
+
function zt(t, e, o, a, i, n) {
|
|
427
|
+
const d = r("v-tab"), h = r("v-tabs"), c = r("v-spacer"), _ = r("v-btn"), S = r("v-text-field"), C = r("v-row"), b = r("v-card-title"), E = r("v-icon"), R = r("v-data-table-server"), U = r("v-window-item"), k = r("v-list-item-title"), L = r("v-list-item"), A = r("v-list"), z = r("v-menu"), B = r("v-window"), H = r("v-card"), ie = r("output-dialog");
|
|
428
|
+
return w(), D("div", null, [
|
|
429
|
+
s(H, {
|
|
289
430
|
flat: "",
|
|
290
431
|
class: "tab-card"
|
|
291
432
|
}, {
|
|
292
433
|
default: l(() => [
|
|
293
|
-
|
|
434
|
+
s(h, {
|
|
294
435
|
modelValue: i.activeTab,
|
|
295
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
436
|
+
"onUpdate:modelValue": e[0] || (e[0] = (I) => i.activeTab = I),
|
|
296
437
|
"bg-color": "var(--color-background-base-default)"
|
|
297
438
|
}, {
|
|
298
439
|
default: l(() => [
|
|
299
|
-
|
|
440
|
+
s(d, { value: "running" }, {
|
|
300
441
|
default: l(() => [...e[6] || (e[6] = [
|
|
301
|
-
|
|
442
|
+
y("Running Scripts", -1)
|
|
302
443
|
])]),
|
|
303
444
|
_: 1
|
|
304
445
|
}),
|
|
305
|
-
|
|
446
|
+
s(d, { value: "completed" }, {
|
|
306
447
|
default: l(() => [...e[7] || (e[7] = [
|
|
307
|
-
|
|
448
|
+
y("Completed Scripts", -1)
|
|
308
449
|
])]),
|
|
309
450
|
_: 1
|
|
310
451
|
})
|
|
311
452
|
]),
|
|
312
453
|
_: 1
|
|
313
454
|
}, 8, ["modelValue"]),
|
|
314
|
-
|
|
455
|
+
s(B, {
|
|
315
456
|
modelValue: i.activeTab,
|
|
316
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
457
|
+
"onUpdate:modelValue": e[3] || (e[3] = (I) => i.activeTab = I)
|
|
317
458
|
}, {
|
|
318
459
|
default: l(() => [
|
|
319
|
-
|
|
460
|
+
s(U, { value: "running" }, {
|
|
320
461
|
default: l(() => [
|
|
321
|
-
|
|
462
|
+
s(b, null, {
|
|
322
463
|
default: l(() => [
|
|
323
|
-
|
|
464
|
+
s(C, { dense: "" }, {
|
|
324
465
|
default: l(() => [
|
|
325
|
-
|
|
326
|
-
|
|
466
|
+
s(c),
|
|
467
|
+
s(_, {
|
|
327
468
|
class: "mr-3",
|
|
328
469
|
color: "primary",
|
|
329
|
-
onClick:
|
|
470
|
+
onClick: n.getRunningScripts
|
|
330
471
|
}, {
|
|
331
472
|
default: l(() => [...e[8] || (e[8] = [
|
|
332
|
-
|
|
473
|
+
y("Refresh", -1)
|
|
333
474
|
])]),
|
|
334
475
|
_: 1
|
|
335
476
|
}, 8, ["onClick"]),
|
|
336
|
-
|
|
477
|
+
s(S, {
|
|
337
478
|
modelValue: i.runningSearch,
|
|
338
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
479
|
+
"onUpdate:modelValue": e[1] || (e[1] = (I) => i.runningSearch = I),
|
|
339
480
|
class: "pt-0 search",
|
|
340
481
|
label: "Search",
|
|
341
482
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -353,7 +494,7 @@ function It(t, e, o, r, i, s) {
|
|
|
353
494
|
]),
|
|
354
495
|
_: 1
|
|
355
496
|
}),
|
|
356
|
-
|
|
497
|
+
s(R, {
|
|
357
498
|
headers: i.runningHeaders,
|
|
358
499
|
items: i.runningScripts,
|
|
359
500
|
"items-length": i.runningTotal,
|
|
@@ -365,50 +506,50 @@ function It(t, e, o, r, i, s) {
|
|
|
365
506
|
page: i.runningPage,
|
|
366
507
|
"items-per-page-options": [10, 25, 50],
|
|
367
508
|
class: "script-table",
|
|
368
|
-
"onUpdate:page":
|
|
369
|
-
"onUpdate:itemsPerPage":
|
|
509
|
+
"onUpdate:page": n.updateRunningPage,
|
|
510
|
+
"onUpdate:itemsPerPage": n.updateRunningItemsPerPage
|
|
370
511
|
}, {
|
|
371
|
-
"item.name": l(({ item:
|
|
372
|
-
|
|
512
|
+
"item.name": l(({ item: I }) => [
|
|
513
|
+
s(_, {
|
|
373
514
|
color: "primary",
|
|
374
515
|
density: "comfortable",
|
|
375
|
-
onClick: (
|
|
516
|
+
onClick: (G) => n.showScript(I)
|
|
376
517
|
}, {
|
|
377
518
|
default: l(() => [
|
|
378
|
-
|
|
519
|
+
y(F(I.name), 1)
|
|
379
520
|
]),
|
|
380
521
|
_: 2
|
|
381
522
|
}, 1032, ["onClick"])
|
|
382
523
|
]),
|
|
383
|
-
"item.connect": l(({ item:
|
|
384
|
-
|
|
524
|
+
"item.connect": l(({ item: I }) => [
|
|
525
|
+
s(_, {
|
|
385
526
|
color: "primary",
|
|
386
|
-
onClick: (
|
|
527
|
+
onClick: (G) => n.connectScript(I)
|
|
387
528
|
}, {
|
|
388
529
|
default: l(() => [
|
|
389
530
|
e[10] || (e[10] = x("span", null, "Connect", -1)),
|
|
390
|
-
|
|
531
|
+
nt(s(E, { end: "" }, {
|
|
391
532
|
default: l(() => [...e[9] || (e[9] = [
|
|
392
|
-
|
|
533
|
+
y(" mdi-open-in-new ", -1)
|
|
393
534
|
])]),
|
|
394
535
|
_: 1
|
|
395
536
|
}, 512), [
|
|
396
|
-
[
|
|
537
|
+
[ot, o.connectInNewTab]
|
|
397
538
|
])
|
|
398
539
|
]),
|
|
399
540
|
_: 1
|
|
400
541
|
}, 8, ["onClick"])
|
|
401
542
|
]),
|
|
402
|
-
"item.stop": l(({ item:
|
|
403
|
-
|
|
543
|
+
"item.stop": l(({ item: I }) => [
|
|
544
|
+
s(_, {
|
|
404
545
|
color: "primary",
|
|
405
|
-
onClick: (
|
|
546
|
+
onClick: (G) => n.deleteScript(I)
|
|
406
547
|
}, {
|
|
407
548
|
default: l(() => [
|
|
408
549
|
e[12] || (e[12] = x("span", null, "Stop", -1)),
|
|
409
|
-
|
|
550
|
+
s(E, { end: "" }, {
|
|
410
551
|
default: l(() => [...e[11] || (e[11] = [
|
|
411
|
-
|
|
552
|
+
y(" mdi-close-circle-outline ", -1)
|
|
412
553
|
])]),
|
|
413
554
|
_: 1
|
|
414
555
|
})
|
|
@@ -421,26 +562,26 @@ function It(t, e, o, r, i, s) {
|
|
|
421
562
|
]),
|
|
422
563
|
_: 1
|
|
423
564
|
}),
|
|
424
|
-
|
|
565
|
+
s(U, { value: "completed" }, {
|
|
425
566
|
default: l(() => [
|
|
426
|
-
|
|
567
|
+
s(b, null, {
|
|
427
568
|
default: l(() => [
|
|
428
|
-
|
|
569
|
+
s(C, { dense: "" }, {
|
|
429
570
|
default: l(() => [
|
|
430
|
-
|
|
431
|
-
|
|
571
|
+
s(c),
|
|
572
|
+
s(_, {
|
|
432
573
|
class: "mr-3",
|
|
433
574
|
color: "primary",
|
|
434
|
-
onClick:
|
|
575
|
+
onClick: n.getCompletedScripts
|
|
435
576
|
}, {
|
|
436
577
|
default: l(() => [...e[13] || (e[13] = [
|
|
437
|
-
|
|
578
|
+
y("Refresh", -1)
|
|
438
579
|
])]),
|
|
439
580
|
_: 1
|
|
440
581
|
}, 8, ["onClick"]),
|
|
441
|
-
|
|
582
|
+
s(S, {
|
|
442
583
|
modelValue: i.completedSearch,
|
|
443
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
584
|
+
"onUpdate:modelValue": e[2] || (e[2] = (I) => i.completedSearch = I),
|
|
444
585
|
class: "pt-0 search",
|
|
445
586
|
label: "Search",
|
|
446
587
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -457,7 +598,7 @@ function It(t, e, o, r, i, s) {
|
|
|
457
598
|
]),
|
|
458
599
|
_: 1
|
|
459
600
|
}),
|
|
460
|
-
|
|
601
|
+
s(R, {
|
|
461
602
|
headers: i.completedHeaders,
|
|
462
603
|
items: i.completedScripts,
|
|
463
604
|
"items-length": i.completedTotal,
|
|
@@ -469,78 +610,78 @@ function It(t, e, o, r, i, s) {
|
|
|
469
610
|
page: i.completedPage,
|
|
470
611
|
"items-per-page-options": [10, 25, 50],
|
|
471
612
|
class: "script-table",
|
|
472
|
-
"onUpdate:page":
|
|
473
|
-
"onUpdate:itemsPerPage":
|
|
613
|
+
"onUpdate:page": n.updateCompletedPage,
|
|
614
|
+
"onUpdate:itemsPerPage": n.updateCompletedItemsPerPage
|
|
474
615
|
}, {
|
|
475
|
-
"item.name": l(({ item:
|
|
476
|
-
|
|
616
|
+
"item.name": l(({ item: I }) => [
|
|
617
|
+
s(_, {
|
|
477
618
|
color: "primary",
|
|
478
619
|
density: "comfortable",
|
|
479
|
-
onClick: (
|
|
620
|
+
onClick: (G) => n.showScript(I)
|
|
480
621
|
}, {
|
|
481
622
|
default: l(() => [
|
|
482
|
-
|
|
623
|
+
y(F(I.name), 1)
|
|
483
624
|
]),
|
|
484
625
|
_: 2
|
|
485
626
|
}, 1032, ["onClick"])
|
|
486
627
|
]),
|
|
487
|
-
"item.log": l(({ item:
|
|
488
|
-
|
|
628
|
+
"item.log": l(({ item: I }) => [
|
|
629
|
+
s(_, {
|
|
489
630
|
color: "primary",
|
|
490
631
|
density: "comfortable",
|
|
491
632
|
icon: "mdi-eye",
|
|
492
|
-
onClick: (
|
|
633
|
+
onClick: (G) => n.viewScriptLog(I, "log")
|
|
493
634
|
}, null, 8, ["onClick"]),
|
|
494
|
-
|
|
635
|
+
s(_, {
|
|
495
636
|
color: "primary",
|
|
496
637
|
density: "comfortable",
|
|
497
638
|
icon: "mdi-file-download-outline",
|
|
498
639
|
disabled: i.downloadScript,
|
|
499
|
-
loading: i.downloadScript && i.downloadScript.name ===
|
|
500
|
-
onClick: (
|
|
640
|
+
loading: i.downloadScript && i.downloadScript.name === I.name,
|
|
641
|
+
onClick: (G) => n.downloadScriptLog(I, "log")
|
|
501
642
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
502
643
|
]),
|
|
503
|
-
"item.report": l(({ item:
|
|
504
|
-
|
|
505
|
-
|
|
644
|
+
"item.report": l(({ item: I }) => [
|
|
645
|
+
I.report ? (w(), D("div", Dt, [
|
|
646
|
+
s(_, {
|
|
506
647
|
color: "primary",
|
|
507
648
|
density: "comfortable",
|
|
508
649
|
icon: "mdi-eye",
|
|
509
|
-
onClick: (
|
|
650
|
+
onClick: (G) => n.viewScriptLog(I, "report")
|
|
510
651
|
}, null, 8, ["onClick"]),
|
|
511
|
-
|
|
512
|
-
activator: l(({ props:
|
|
513
|
-
|
|
652
|
+
s(z, null, {
|
|
653
|
+
activator: l(({ props: G }) => [
|
|
654
|
+
s(_, X({
|
|
514
655
|
color: "primary",
|
|
515
656
|
density: "comfortable",
|
|
516
657
|
icon: "mdi-file-download-outline",
|
|
517
658
|
disabled: i.downloadScript,
|
|
518
|
-
loading: i.downloadScript && i.downloadScript.name ===
|
|
519
|
-
},
|
|
659
|
+
loading: i.downloadScript && i.downloadScript.name === I.name
|
|
660
|
+
}, G), null, 16, ["disabled", "loading"])
|
|
520
661
|
]),
|
|
521
662
|
default: l(() => [
|
|
522
|
-
|
|
663
|
+
s(A, null, {
|
|
523
664
|
default: l(() => [
|
|
524
|
-
|
|
525
|
-
onClick: (
|
|
665
|
+
s(L, {
|
|
666
|
+
onClick: (G) => n.downloadScriptLog(I, "report", "text")
|
|
526
667
|
}, {
|
|
527
668
|
default: l(() => [
|
|
528
|
-
|
|
669
|
+
s(k, null, {
|
|
529
670
|
default: l(() => [...e[15] || (e[15] = [
|
|
530
|
-
|
|
671
|
+
y("Download as Text", -1)
|
|
531
672
|
])]),
|
|
532
673
|
_: 1
|
|
533
674
|
})
|
|
534
675
|
]),
|
|
535
676
|
_: 1
|
|
536
677
|
}, 8, ["onClick"]),
|
|
537
|
-
|
|
538
|
-
onClick: (
|
|
678
|
+
s(L, {
|
|
679
|
+
onClick: (G) => n.downloadScriptLog(I, "report", "ctrf")
|
|
539
680
|
}, {
|
|
540
681
|
default: l(() => [
|
|
541
|
-
|
|
682
|
+
s(k, null, {
|
|
542
683
|
default: l(() => [...e[16] || (e[16] = [
|
|
543
|
-
|
|
684
|
+
y("Download as CTRF", -1)
|
|
544
685
|
])]),
|
|
545
686
|
_: 1
|
|
546
687
|
})
|
|
@@ -553,7 +694,7 @@ function It(t, e, o, r, i, s) {
|
|
|
553
694
|
]),
|
|
554
695
|
_: 2
|
|
555
696
|
}, 1024)
|
|
556
|
-
])) : (
|
|
697
|
+
])) : (w(), D("div", Pt, [...e[14] || (e[14] = [
|
|
557
698
|
x("span", null, "N/A", -1)
|
|
558
699
|
])]))
|
|
559
700
|
]),
|
|
@@ -568,19 +709,19 @@ function It(t, e, o, r, i, s) {
|
|
|
568
709
|
]),
|
|
569
710
|
_: 1
|
|
570
711
|
}),
|
|
571
|
-
i.showDialog ? (
|
|
712
|
+
i.showDialog ? (w(), T(ie, {
|
|
572
713
|
key: 0,
|
|
573
714
|
modelValue: i.showDialog,
|
|
574
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
715
|
+
"onUpdate:modelValue": e[4] || (e[4] = (I) => i.showDialog = I),
|
|
575
716
|
content: i.dialogContent,
|
|
576
717
|
type: "Script",
|
|
577
718
|
name: i.dialogName,
|
|
578
719
|
filename: i.dialogFilename,
|
|
579
|
-
onSubmit: e[5] || (e[5] = (
|
|
720
|
+
onSubmit: e[5] || (e[5] = (I) => i.showDialog = !1)
|
|
580
721
|
}, null, 8, ["modelValue", "content", "name", "filename"])) : P("", !0)
|
|
581
722
|
]);
|
|
582
723
|
}
|
|
583
|
-
const
|
|
724
|
+
const Lt = /* @__PURE__ */ J(Ut, [["render", zt]]), At = {
|
|
584
725
|
props: {
|
|
585
726
|
modelValue: {
|
|
586
727
|
type: Array,
|
|
@@ -618,7 +759,7 @@ const Ut = /* @__PURE__ */ K(Ot, [["render", It]]), Dt = {
|
|
|
618
759
|
) ? "openc3-red" : "";
|
|
619
760
|
},
|
|
620
761
|
downloadLog() {
|
|
621
|
-
const t = this.messages.map((
|
|
762
|
+
const t = this.messages.map((a) => a.message).join(`
|
|
622
763
|
`), e = new Blob([t], {
|
|
623
764
|
type: "text/plain"
|
|
624
765
|
}), o = document.createElement("a");
|
|
@@ -638,26 +779,26 @@ const Ut = /* @__PURE__ */ K(Ot, [["render", It]]), Dt = {
|
|
|
638
779
|
}
|
|
639
780
|
}
|
|
640
781
|
};
|
|
641
|
-
function
|
|
642
|
-
const d =
|
|
643
|
-
return
|
|
782
|
+
function Ft(t, e, o, a, i, n) {
|
|
783
|
+
const d = r("v-btn"), h = r("v-spacer"), c = r("v-select"), _ = r("v-text-field"), S = r("v-card-title"), C = r("v-data-table"), b = r("v-card-text"), E = r("v-card");
|
|
784
|
+
return w(), T(E, { class: "d-flex flex-column h-100" }, {
|
|
644
785
|
default: l(() => [
|
|
645
|
-
|
|
786
|
+
s(S, { class: "d-flex align-center" }, {
|
|
646
787
|
default: l(() => [
|
|
647
|
-
|
|
788
|
+
s(d, {
|
|
648
789
|
class: "mx-2",
|
|
649
790
|
icon: "mdi-download",
|
|
650
791
|
variant: "text",
|
|
651
792
|
density: "compact",
|
|
652
793
|
"data-test": "download-log",
|
|
653
794
|
"aria-label": "Download Log",
|
|
654
|
-
onClick:
|
|
795
|
+
onClick: n.downloadLog
|
|
655
796
|
}, null, 8, ["onClick"]),
|
|
656
|
-
e[2] || (e[2] =
|
|
657
|
-
|
|
658
|
-
|
|
797
|
+
e[2] || (e[2] = y(" Script Messages ", -1)),
|
|
798
|
+
s(h),
|
|
799
|
+
s(c, {
|
|
659
800
|
modelValue: i.messageOrder,
|
|
660
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
801
|
+
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.messageOrder = R),
|
|
661
802
|
density: "compact",
|
|
662
803
|
"hide-details": "",
|
|
663
804
|
variant: "outlined",
|
|
@@ -666,10 +807,10 @@ function Pt(t, e, o, r, i, s) {
|
|
|
666
807
|
style: { "max-width": "200px" },
|
|
667
808
|
"data-test": "message-order"
|
|
668
809
|
}, null, 8, ["modelValue", "items"]),
|
|
669
|
-
|
|
670
|
-
|
|
810
|
+
s(h),
|
|
811
|
+
s(_, {
|
|
671
812
|
modelValue: i.search,
|
|
672
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
813
|
+
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.search = R),
|
|
673
814
|
label: "Search",
|
|
674
815
|
"prepend-inner-icon": "mdi-magnify",
|
|
675
816
|
clearable: "",
|
|
@@ -680,34 +821,34 @@ function Pt(t, e, o, r, i, s) {
|
|
|
680
821
|
class: "search",
|
|
681
822
|
"data-test": "search-messages"
|
|
682
823
|
}, null, 8, ["modelValue"]),
|
|
683
|
-
|
|
824
|
+
s(d, {
|
|
684
825
|
class: "mx-2",
|
|
685
826
|
icon: "mdi-delete-sweep",
|
|
686
827
|
variant: "text",
|
|
687
828
|
density: "compact",
|
|
688
829
|
"data-test": "clear-log",
|
|
689
830
|
"aria-label": "Clear Log",
|
|
690
|
-
onClick:
|
|
831
|
+
onClick: n.clearLog
|
|
691
832
|
}, null, 8, ["onClick"])
|
|
692
833
|
]),
|
|
693
834
|
_: 1
|
|
694
835
|
}),
|
|
695
|
-
|
|
836
|
+
s(b, { class: "overflow-auto" }, {
|
|
696
837
|
default: l(() => [
|
|
697
|
-
|
|
838
|
+
s(C, {
|
|
698
839
|
id: "script-log-messages",
|
|
699
840
|
headers: i.headers,
|
|
700
|
-
items:
|
|
841
|
+
items: n.messages,
|
|
701
842
|
search: i.search,
|
|
702
843
|
"items-per-page": -1,
|
|
703
844
|
"hide-default-footer": "",
|
|
704
845
|
density: "compact",
|
|
705
846
|
"data-test": "output-messages"
|
|
706
847
|
}, {
|
|
707
|
-
"item.message": l(({ item:
|
|
848
|
+
"item.message": l(({ item: R }) => [
|
|
708
849
|
x("div", {
|
|
709
|
-
class:
|
|
710
|
-
},
|
|
850
|
+
class: qe(n.messageClass(R.message))
|
|
851
|
+
}, F(R.message), 3)
|
|
711
852
|
]),
|
|
712
853
|
_: 1
|
|
713
854
|
}, 8, ["headers", "items", "search"])
|
|
@@ -718,7 +859,7 @@ function Pt(t, e, o, r, i, s) {
|
|
|
718
859
|
_: 1
|
|
719
860
|
});
|
|
720
861
|
}
|
|
721
|
-
const
|
|
862
|
+
const Bt = /* @__PURE__ */ J(At, [["render", Ft]]), Nt = {
|
|
722
863
|
__name: "splitpanes",
|
|
723
864
|
props: {
|
|
724
865
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -741,200 +882,200 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
741
882
|
"splitter-dblclick"
|
|
742
883
|
],
|
|
743
884
|
setup(t, { emit: e }) {
|
|
744
|
-
const o = e,
|
|
885
|
+
const o = e, a = t, i = dt(), n = ae([]), d = Q(() => n.value.reduce((u, p) => (u[~~p.id] = p) && u, {})), h = Q(() => n.value.length), c = ae(null), _ = ae(!1), S = ae({
|
|
745
886
|
mouseDown: !1,
|
|
746
887
|
dragging: !1,
|
|
747
888
|
activeSplitter: null,
|
|
748
889
|
cursorOffset: 0
|
|
749
890
|
// Cursor offset within the splitter.
|
|
750
|
-
}),
|
|
891
|
+
}), C = ae({
|
|
751
892
|
// Used to detect double click on touch devices.
|
|
752
893
|
splitter: null,
|
|
753
894
|
timeoutId: null
|
|
754
|
-
}),
|
|
755
|
-
[`splitpanes splitpanes--${
|
|
895
|
+
}), b = Q(() => ({
|
|
896
|
+
[`splitpanes splitpanes--${a.horizontal ? "horizontal" : "vertical"}`]: !0,
|
|
756
897
|
"splitpanes--dragging": S.value.dragging
|
|
757
|
-
})),
|
|
758
|
-
document.addEventListener("mousemove",
|
|
759
|
-
},
|
|
760
|
-
document.removeEventListener("mousemove",
|
|
761
|
-
},
|
|
898
|
+
})), E = () => {
|
|
899
|
+
document.addEventListener("mousemove", k, { passive: !1 }), document.addEventListener("mouseup", L), "ontouchstart" in window && (document.addEventListener("touchmove", k, { passive: !1 }), document.addEventListener("touchend", L));
|
|
900
|
+
}, R = () => {
|
|
901
|
+
document.removeEventListener("mousemove", k, { passive: !1 }), document.removeEventListener("mouseup", L), "ontouchstart" in window && (document.removeEventListener("touchmove", k, { passive: !1 }), document.removeEventListener("touchend", L));
|
|
902
|
+
}, U = (u, p) => {
|
|
762
903
|
const v = u.target.closest(".splitpanes__splitter");
|
|
763
904
|
if (v) {
|
|
764
|
-
const { left: f, top: g } = v.getBoundingClientRect(), { clientX:
|
|
765
|
-
S.value.cursorOffset =
|
|
905
|
+
const { left: f, top: g } = v.getBoundingClientRect(), { clientX: V, clientY: M } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
906
|
+
S.value.cursorOffset = a.horizontal ? M - g : V - f;
|
|
766
907
|
}
|
|
767
|
-
|
|
768
|
-
},
|
|
908
|
+
E(), S.value.mouseDown = !0, S.value.activeSplitter = p;
|
|
909
|
+
}, k = (u) => {
|
|
769
910
|
S.value.mouseDown && (u.preventDefault(), S.value.dragging = !0, requestAnimationFrame(() => {
|
|
770
|
-
|
|
911
|
+
I(H(u)), K("resize", { event: u }, !0);
|
|
771
912
|
}));
|
|
772
|
-
},
|
|
773
|
-
S.value.dragging && (window.getSelection().removeAllRanges(),
|
|
774
|
-
S.value.dragging = !1,
|
|
913
|
+
}, L = (u) => {
|
|
914
|
+
S.value.dragging && (window.getSelection().removeAllRanges(), K("resized", { event: u }, !0)), S.value.mouseDown = !1, S.value.activeSplitter = null, setTimeout(() => {
|
|
915
|
+
S.value.dragging = !1, R();
|
|
775
916
|
}, 100);
|
|
776
|
-
},
|
|
777
|
-
"ontouchstart" in window && (u.preventDefault(),
|
|
778
|
-
},
|
|
779
|
-
if (
|
|
917
|
+
}, A = (u, p) => {
|
|
918
|
+
"ontouchstart" in window && (u.preventDefault(), C.value.splitter === p ? (clearTimeout(C.value.timeoutId), C.value.timeoutId = null, z(u, p), C.value.splitter = null) : (C.value.splitter = p, C.value.timeoutId = setTimeout(() => C.value.splitter = null, 500))), S.value.dragging || K("splitter-click", { event: u, index: p }, !0);
|
|
919
|
+
}, z = (u, p) => {
|
|
920
|
+
if (K("splitter-dblclick", { event: u, index: p }, !0), a.maximizePanes) {
|
|
780
921
|
let v = 0;
|
|
781
|
-
|
|
922
|
+
n.value = n.value.map((f, g) => (f.size = g === p ? f.max : f.min, g !== p && (v += f.min), f)), n.value[p].size -= v, K("pane-maximize", { event: u, index: p, pane: n.value[p] }), K("resized", { event: u, index: p }, !0);
|
|
782
923
|
}
|
|
783
|
-
},
|
|
784
|
-
|
|
924
|
+
}, B = (u, p) => {
|
|
925
|
+
K("pane-click", {
|
|
785
926
|
event: u,
|
|
786
|
-
index: d.value[
|
|
787
|
-
pane: d.value[
|
|
927
|
+
index: d.value[p].index,
|
|
928
|
+
pane: d.value[p]
|
|
788
929
|
});
|
|
789
|
-
},
|
|
790
|
-
const
|
|
930
|
+
}, H = (u) => {
|
|
931
|
+
const p = c.value.getBoundingClientRect(), { clientX: v, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
791
932
|
return {
|
|
792
|
-
x: v - (
|
|
793
|
-
y: f - (
|
|
933
|
+
x: v - (a.horizontal ? 0 : S.value.cursorOffset) - p.left,
|
|
934
|
+
y: f - (a.horizontal ? S.value.cursorOffset : 0) - p.top
|
|
794
935
|
};
|
|
795
936
|
}, ie = (u) => {
|
|
796
|
-
u = u[
|
|
797
|
-
const
|
|
798
|
-
return
|
|
799
|
-
},
|
|
800
|
-
const
|
|
937
|
+
u = u[a.horizontal ? "y" : "x"];
|
|
938
|
+
const p = c.value[a.horizontal ? "clientHeight" : "clientWidth"];
|
|
939
|
+
return a.rtl && !a.horizontal && (u = p - u), u * 100 / p;
|
|
940
|
+
}, I = (u) => {
|
|
941
|
+
const p = S.value.activeSplitter;
|
|
801
942
|
let v = {
|
|
802
|
-
prevPanesSize: ue(
|
|
803
|
-
nextPanesSize:
|
|
943
|
+
prevPanesSize: ue(p),
|
|
944
|
+
nextPanesSize: $(p),
|
|
804
945
|
prevReachedMinPanes: 0,
|
|
805
946
|
nextReachedMinPanes: 0
|
|
806
947
|
};
|
|
807
|
-
const f = 0 + (
|
|
808
|
-
let M = [
|
|
809
|
-
const m =
|
|
810
|
-
if (m ||
|
|
811
|
-
m ? (
|
|
948
|
+
const f = 0 + (a.pushOtherPanes ? 0 : v.prevPanesSize), g = 100 - (a.pushOtherPanes ? 0 : v.nextPanesSize), V = Math.max(Math.min(ie(u), g), f);
|
|
949
|
+
let M = [p, p + 1], N = n.value[M[0]] || null, j = n.value[M[1]] || null;
|
|
950
|
+
const m = N.max < 100 && V >= N.max + v.prevPanesSize, Y = j.max < 100 && V <= 100 - (j.max + $(p + 1));
|
|
951
|
+
if (m || Y) {
|
|
952
|
+
m ? (N.size = N.max, j.size = Math.max(100 - N.max - v.prevPanesSize - v.nextPanesSize, 0)) : (N.size = Math.max(100 - j.max - v.prevPanesSize - $(p + 1), 0), j.size = j.max);
|
|
812
953
|
return;
|
|
813
954
|
}
|
|
814
|
-
if (
|
|
815
|
-
const
|
|
816
|
-
if (!
|
|
817
|
-
({ sums: v, panesToResize: M } =
|
|
955
|
+
if (a.pushOtherPanes) {
|
|
956
|
+
const je = G(v, V);
|
|
957
|
+
if (!je) return;
|
|
958
|
+
({ sums: v, panesToResize: M } = je), N = n.value[M[0]] || null, j = n.value[M[1]] || null;
|
|
818
959
|
}
|
|
819
|
-
|
|
820
|
-
},
|
|
960
|
+
N !== null && (N.size = Math.min(Math.max(V - v.prevPanesSize - v.prevReachedMinPanes, N.min), N.max)), j !== null && (j.size = Math.min(Math.max(100 - V - v.nextPanesSize - v.nextReachedMinPanes, j.min), j.max));
|
|
961
|
+
}, G = (u, p) => {
|
|
821
962
|
const v = S.value.activeSplitter, f = [v, v + 1];
|
|
822
|
-
return
|
|
823
|
-
|
|
824
|
-
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0,
|
|
825
|
-
|
|
826
|
-
}),
|
|
827
|
-
|
|
828
|
-
}), u.nextPanesSize =
|
|
829
|
-
|
|
830
|
-
}),
|
|
831
|
-
}, ue = (u) =>
|
|
963
|
+
return p < u.prevPanesSize + n.value[f[0]].min && (f[0] = Ue(v).index, u.prevReachedMinPanes = 0, f[0] < v && n.value.forEach((g, V) => {
|
|
964
|
+
V > f[0] && V <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
965
|
+
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0, n.value[0].size = n.value[0].min, n.value.forEach((g, V) => {
|
|
966
|
+
V > 0 && V <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
967
|
+
}), n.value[f[1]].size = 100 - u.prevReachedMinPanes - n.value[0].min - u.prevPanesSize - u.nextPanesSize, null) : p > 100 - u.nextPanesSize - n.value[f[1]].min && (f[1] = xe(v).index, u.nextReachedMinPanes = 0, f[1] > v + 1 && n.value.forEach((g, V) => {
|
|
968
|
+
V > v && V < f[1] && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
969
|
+
}), u.nextPanesSize = $(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0, n.value.forEach((g, V) => {
|
|
970
|
+
V < h.value - 1 && V >= v + 1 && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
971
|
+
}), n.value[f[0]].size = 100 - u.prevPanesSize - $(f[0] - 1), null) : { sums: u, panesToResize: f };
|
|
972
|
+
}, ue = (u) => n.value.reduce((p, v, f) => p + (f < u ? v.size : 0), 0), $ = (u) => n.value.reduce((p, v, f) => p + (f > u + 1 ? v.size : 0), 0), Ue = (u) => [...n.value].reverse().find((p) => p.index < u && p.size > p.min) || {}, xe = (u) => n.value.find((p) => p.index > u + 1 && p.size > p.min) || {}, Pe = () => {
|
|
832
973
|
var u;
|
|
833
|
-
const
|
|
834
|
-
for (const v of
|
|
974
|
+
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
975
|
+
for (const v of p) {
|
|
835
976
|
const f = v.classList.contains("splitpanes__pane"), g = v.classList.contains("splitpanes__splitter");
|
|
836
977
|
!f && !g && (v.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
|
|
837
978
|
}
|
|
838
|
-
}, ce = (u,
|
|
979
|
+
}, ce = (u, p, v = !1) => {
|
|
839
980
|
const f = u - 1, g = document.createElement("div");
|
|
840
|
-
g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (
|
|
981
|
+
g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (V) => U(V, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (V) => U(V, f)), g.onclick = (V) => A(V, f + 1)), g.ondblclick = (V) => z(V, f + 1), p.parentNode.insertBefore(g, p);
|
|
841
982
|
}, Ce = (u) => {
|
|
842
983
|
u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
|
|
843
984
|
}, se = () => {
|
|
844
985
|
var u;
|
|
845
|
-
const
|
|
846
|
-
for (const f of
|
|
986
|
+
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
987
|
+
for (const f of p)
|
|
847
988
|
f.className.includes("splitpanes__splitter") && Ce(f);
|
|
848
989
|
let v = 0;
|
|
849
|
-
for (const f of
|
|
850
|
-
f.className.includes("splitpanes__pane") && (!v &&
|
|
851
|
-
}, Ve = ({ uid: u, ...
|
|
990
|
+
for (const f of p)
|
|
991
|
+
f.className.includes("splitpanes__pane") && (!v && a.firstSplitter ? ce(v, f, !0) : v && ce(v, f), v++);
|
|
992
|
+
}, Ve = ({ uid: u, ...p }) => {
|
|
852
993
|
const v = d.value[u];
|
|
853
|
-
for (const [f, g] of Object.entries(
|
|
854
|
-
},
|
|
855
|
-
var
|
|
994
|
+
for (const [f, g] of Object.entries(p)) v[f] = g;
|
|
995
|
+
}, De = (u) => {
|
|
996
|
+
var p;
|
|
856
997
|
let v = -1;
|
|
857
|
-
Array.from(((
|
|
858
|
-
se(), me({ addedPane:
|
|
998
|
+
Array.from(((p = c.value) == null ? void 0 : p.children) || []).some((f) => (f.className.includes("splitpanes__pane") && v++, f.isSameNode(u.el))), n.value.splice(v, 0, { ...u, index: v }), n.value.forEach((f, g) => f.index = g), _.value && He(() => {
|
|
999
|
+
se(), me({ addedPane: n.value[v] }), K("pane-add", { pane: n.value[v] });
|
|
859
1000
|
});
|
|
860
1001
|
}, ze = (u) => {
|
|
861
|
-
const
|
|
862
|
-
|
|
863
|
-
const v =
|
|
864
|
-
|
|
865
|
-
se(),
|
|
1002
|
+
const p = n.value.findIndex((f) => f.id === u);
|
|
1003
|
+
n.value[p].el = null;
|
|
1004
|
+
const v = n.value.splice(p, 1)[0];
|
|
1005
|
+
n.value.forEach((f, g) => f.index = g), He(() => {
|
|
1006
|
+
se(), K("pane-remove", { pane: v }), me({ removedPane: { ...v } });
|
|
866
1007
|
});
|
|
867
1008
|
}, me = (u = {}) => {
|
|
868
|
-
!u.addedPane && !u.removedPane ? Ae() :
|
|
1009
|
+
!u.addedPane && !u.removedPane ? Ae() : n.value.some((p) => p.givenSize !== null || p.min || p.max < 100) ? Fe(u) : Le(), _.value && K("resized");
|
|
869
1010
|
}, Le = () => {
|
|
870
|
-
const u = 100 /
|
|
871
|
-
let
|
|
1011
|
+
const u = 100 / h.value;
|
|
1012
|
+
let p = 0;
|
|
872
1013
|
const v = [], f = [];
|
|
873
|
-
for (const g of
|
|
874
|
-
g.size = Math.max(Math.min(u, g.max), g.min),
|
|
875
|
-
|
|
1014
|
+
for (const g of n.value)
|
|
1015
|
+
g.size = Math.max(Math.min(u, g.max), g.min), p -= g.size, g.size >= g.max && v.push(g.id), g.size <= g.min && f.push(g.id);
|
|
1016
|
+
p > 0.1 && pe(p, v, f);
|
|
876
1017
|
}, Ae = () => {
|
|
877
1018
|
let u = 100;
|
|
878
|
-
const
|
|
1019
|
+
const p = [], v = [];
|
|
879
1020
|
let f = 0;
|
|
880
|
-
for (const
|
|
881
|
-
u -=
|
|
1021
|
+
for (const V of n.value)
|
|
1022
|
+
u -= V.size, V.givenSize !== null && f++, V.size >= V.max && p.push(V.id), V.size <= V.min && v.push(V.id);
|
|
882
1023
|
let g = 100;
|
|
883
1024
|
if (u > 0.1) {
|
|
884
|
-
for (const
|
|
885
|
-
|
|
886
|
-
g > 0.1 && pe(g,
|
|
1025
|
+
for (const V of n.value)
|
|
1026
|
+
V.givenSize === null && (V.size = Math.max(Math.min(u / (h.value - f), V.max), V.min)), g -= V.size;
|
|
1027
|
+
g > 0.1 && pe(g, p, v);
|
|
887
1028
|
}
|
|
888
|
-
}, Fe = ({ addedPane: u, removedPane:
|
|
889
|
-
let v = 100 /
|
|
890
|
-
const g = [],
|
|
891
|
-
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (
|
|
892
|
-
for (const M of
|
|
893
|
-
f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min &&
|
|
1029
|
+
}, Fe = ({ addedPane: u, removedPane: p } = {}) => {
|
|
1030
|
+
let v = 100 / h.value, f = 0;
|
|
1031
|
+
const g = [], V = [];
|
|
1032
|
+
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (h.value - 1));
|
|
1033
|
+
for (const M of n.value)
|
|
1034
|
+
f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && V.push(M.id);
|
|
894
1035
|
if (!(Math.abs(f) < 0.1)) {
|
|
895
|
-
for (const M of
|
|
896
|
-
(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 &&
|
|
897
|
-
f > 0.1 && pe(f, g,
|
|
1036
|
+
for (const M of n.value)
|
|
1037
|
+
(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 && V.push(M.id);
|
|
1038
|
+
f > 0.1 && pe(f, g, V);
|
|
898
1039
|
}
|
|
899
|
-
}, pe = (u,
|
|
1040
|
+
}, pe = (u, p, v) => {
|
|
900
1041
|
let f;
|
|
901
|
-
u > 0 ? f = u / (
|
|
902
|
-
if (u > 0 && !
|
|
903
|
-
const M = Math.max(Math.min(g.size + f, g.max), g.min),
|
|
904
|
-
u -=
|
|
1042
|
+
u > 0 ? f = u / (h.value - p.length) : f = u / (h.value - v.length), n.value.forEach((g, V) => {
|
|
1043
|
+
if (u > 0 && !p.includes(g.id)) {
|
|
1044
|
+
const M = Math.max(Math.min(g.size + f, g.max), g.min), N = M - g.size;
|
|
1045
|
+
u -= N, g.size = M;
|
|
905
1046
|
} else if (!v.includes(g.id)) {
|
|
906
|
-
const M = Math.max(Math.min(g.size + f, g.max), g.min),
|
|
907
|
-
u -=
|
|
1047
|
+
const M = Math.max(Math.min(g.size + f, g.max), g.min), N = M - g.size;
|
|
1048
|
+
u -= N, g.size = M;
|
|
908
1049
|
}
|
|
909
1050
|
}), Math.abs(u) > 0.1 && He(() => {
|
|
910
|
-
|
|
1051
|
+
_.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
911
1052
|
});
|
|
912
|
-
},
|
|
913
|
-
const f = (
|
|
1053
|
+
}, K = (u, p = void 0, v = !1) => {
|
|
1054
|
+
const f = (p == null ? void 0 : p.index) ?? S.value.activeSplitter ?? null;
|
|
914
1055
|
o(u, {
|
|
915
|
-
...
|
|
1056
|
+
...p,
|
|
916
1057
|
...f !== null && { index: f },
|
|
917
1058
|
...v && f !== null && {
|
|
918
|
-
prevPane:
|
|
919
|
-
nextPane:
|
|
1059
|
+
prevPane: n.value[f - (a.firstSplitter ? 1 : 0)],
|
|
1060
|
+
nextPane: n.value[f + (a.firstSplitter ? 0 : 1)]
|
|
920
1061
|
},
|
|
921
|
-
panes:
|
|
1062
|
+
panes: n.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
922
1063
|
});
|
|
923
1064
|
};
|
|
924
|
-
Re(() =>
|
|
925
|
-
|
|
926
|
-
}), et(() =>
|
|
1065
|
+
Re(() => a.firstSplitter, () => se()), $e(() => {
|
|
1066
|
+
Pe(), se(), me(), K("ready"), _.value = !0;
|
|
1067
|
+
}), et(() => _.value = !1);
|
|
927
1068
|
const Be = () => {
|
|
928
1069
|
var u;
|
|
929
|
-
return
|
|
1070
|
+
return ct(
|
|
930
1071
|
"div",
|
|
931
|
-
{ ref: c, class:
|
|
1072
|
+
{ ref: c, class: b.value },
|
|
932
1073
|
(u = i.default) == null ? void 0 : u.call(i)
|
|
933
1074
|
);
|
|
934
1075
|
};
|
|
935
|
-
return
|
|
1076
|
+
return ee("panes", n), ee("indexedPanes", d), ee("horizontal", Q(() => a.horizontal)), ee("requestUpdate", Ve), ee("onPaneAdd", De), ee("onPaneRemove", ze), ee("onPaneClick", B), (u, p) => (w(), T(ut(Be)));
|
|
936
1077
|
}
|
|
937
|
-
},
|
|
1078
|
+
}, Ht = {
|
|
938
1079
|
__name: "pane",
|
|
939
1080
|
props: {
|
|
940
1081
|
size: { type: [Number, String] },
|
|
@@ -943,41 +1084,41 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
943
1084
|
},
|
|
944
1085
|
setup(t) {
|
|
945
1086
|
var e;
|
|
946
|
-
const o = t,
|
|
947
|
-
const
|
|
948
|
-
return Math.max(Math.min(
|
|
949
|
-
}),
|
|
950
|
-
const
|
|
951
|
-
return isNaN(
|
|
952
|
-
}),
|
|
953
|
-
const
|
|
954
|
-
return isNaN(
|
|
955
|
-
}),
|
|
956
|
-
var
|
|
957
|
-
return `${
|
|
1087
|
+
const o = t, a = oe("requestUpdate"), i = oe("onPaneAdd"), n = oe("horizontal"), d = oe("onPaneRemove"), h = oe("onPaneClick"), c = (e = lt()) == null ? void 0 : e.uid, _ = oe("indexedPanes"), S = Q(() => _.value[c]), C = ae(null), b = Q(() => {
|
|
1088
|
+
const k = isNaN(o.size) || o.size === void 0 ? 0 : parseFloat(o.size);
|
|
1089
|
+
return Math.max(Math.min(k, R.value), E.value);
|
|
1090
|
+
}), E = Q(() => {
|
|
1091
|
+
const k = parseFloat(o.minSize);
|
|
1092
|
+
return isNaN(k) ? 0 : k;
|
|
1093
|
+
}), R = Q(() => {
|
|
1094
|
+
const k = parseFloat(o.maxSize);
|
|
1095
|
+
return isNaN(k) ? 100 : k;
|
|
1096
|
+
}), U = Q(() => {
|
|
1097
|
+
var k;
|
|
1098
|
+
return `${n.value ? "height" : "width"}: ${(k = S.value) == null ? void 0 : k.size}%`;
|
|
958
1099
|
});
|
|
959
|
-
return Re(() =>
|
|
1100
|
+
return Re(() => b.value, (k) => a({ uid: c, size: k })), Re(() => E.value, (k) => a({ uid: c, min: k })), Re(() => R.value, (k) => a({ uid: c, max: k })), $e(() => {
|
|
960
1101
|
i({
|
|
961
1102
|
id: c,
|
|
962
|
-
el:
|
|
963
|
-
min:
|
|
964
|
-
max:
|
|
1103
|
+
el: C.value,
|
|
1104
|
+
min: E.value,
|
|
1105
|
+
max: R.value,
|
|
965
1106
|
// The given size (useful to know the user intention).
|
|
966
|
-
givenSize: o.size === void 0 ? null :
|
|
967
|
-
size:
|
|
1107
|
+
givenSize: o.size === void 0 ? null : b.value,
|
|
1108
|
+
size: b.value
|
|
968
1109
|
// The computed current size at any time.
|
|
969
1110
|
});
|
|
970
|
-
}), et(() => d(c)), (
|
|
1111
|
+
}), et(() => d(c)), (k, L) => (w(), D("div", {
|
|
971
1112
|
ref_key: "paneEl",
|
|
972
|
-
ref:
|
|
1113
|
+
ref: C,
|
|
973
1114
|
class: "splitpanes__pane",
|
|
974
|
-
onClick:
|
|
975
|
-
style: fe(
|
|
1115
|
+
onClick: L[0] || (L[0] = (A) => rt(h)(A, k._.uid)),
|
|
1116
|
+
style: fe(U.value)
|
|
976
1117
|
}, [
|
|
977
|
-
|
|
1118
|
+
at(k.$slots, "default")
|
|
978
1119
|
], 4));
|
|
979
1120
|
}
|
|
980
|
-
},
|
|
1121
|
+
}, Gt = {
|
|
981
1122
|
props: {
|
|
982
1123
|
question: {
|
|
983
1124
|
type: String,
|
|
@@ -1026,40 +1167,40 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
1026
1167
|
this.$emit("response", "Cancel");
|
|
1027
1168
|
}
|
|
1028
1169
|
}
|
|
1029
|
-
},
|
|
1030
|
-
function
|
|
1031
|
-
const d =
|
|
1032
|
-
return
|
|
1033
|
-
modelValue:
|
|
1034
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1170
|
+
}, qt = { class: "pa-2" }, Kt = { class: "question" };
|
|
1171
|
+
function jt(t, e, o, a, i, n) {
|
|
1172
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-text-field"), _ = r("v-card-text"), S = r("v-btn"), C = r("v-card-actions"), b = r("v-form"), E = r("v-card"), R = r("v-dialog");
|
|
1173
|
+
return w(), T(R, {
|
|
1174
|
+
modelValue: n.show,
|
|
1175
|
+
"onUpdate:modelValue": e[2] || (e[2] = (U) => n.show = U),
|
|
1035
1176
|
persistent: "",
|
|
1036
1177
|
width: "600",
|
|
1037
|
-
onKeydown: Se(
|
|
1178
|
+
onKeydown: Se(n.cancelHandler, ["esc"])
|
|
1038
1179
|
}, {
|
|
1039
1180
|
default: l(() => [
|
|
1040
|
-
|
|
1181
|
+
s(E, null, {
|
|
1041
1182
|
default: l(() => [
|
|
1042
|
-
|
|
1183
|
+
s(b, {
|
|
1043
1184
|
modelValue: i.valid,
|
|
1044
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1045
|
-
onSubmit: de(
|
|
1185
|
+
"onUpdate:modelValue": e[1] || (e[1] = (U) => i.valid = U),
|
|
1186
|
+
onSubmit: de(n.submitHandler, ["prevent"])
|
|
1046
1187
|
}, {
|
|
1047
1188
|
default: l(() => [
|
|
1048
|
-
|
|
1189
|
+
s(h, { height: "24" }, {
|
|
1049
1190
|
default: l(() => [
|
|
1050
|
-
|
|
1191
|
+
s(d),
|
|
1051
1192
|
e[3] || (e[3] = x("span", null, " User Input Required ", -1)),
|
|
1052
|
-
|
|
1193
|
+
s(d)
|
|
1053
1194
|
]),
|
|
1054
1195
|
_: 1
|
|
1055
1196
|
}),
|
|
1056
|
-
x("div",
|
|
1057
|
-
|
|
1197
|
+
x("div", qt, [
|
|
1198
|
+
s(_, null, {
|
|
1058
1199
|
default: l(() => [
|
|
1059
|
-
x("div",
|
|
1060
|
-
|
|
1200
|
+
x("div", Kt, F(o.question), 1),
|
|
1201
|
+
s(c, {
|
|
1061
1202
|
modelValue: i.inputValue,
|
|
1062
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1203
|
+
"onUpdate:modelValue": e[0] || (e[0] = (U) => i.inputValue = U),
|
|
1063
1204
|
autofocus: "",
|
|
1064
1205
|
"data-test": "ask-value-input",
|
|
1065
1206
|
type: o.password ? "password" : "text",
|
|
@@ -1069,28 +1210,28 @@ function Ht(t, e, o, r, i, s) {
|
|
|
1069
1210
|
_: 1
|
|
1070
1211
|
})
|
|
1071
1212
|
]),
|
|
1072
|
-
|
|
1213
|
+
s(C, { class: "px-2" }, {
|
|
1073
1214
|
default: l(() => [
|
|
1074
|
-
|
|
1075
|
-
|
|
1215
|
+
s(d),
|
|
1216
|
+
s(S, {
|
|
1076
1217
|
variant: "outlined",
|
|
1077
1218
|
"data-test": "ask-cancel",
|
|
1078
|
-
onClick:
|
|
1219
|
+
onClick: n.cancelHandler
|
|
1079
1220
|
}, {
|
|
1080
1221
|
default: l(() => [...e[4] || (e[4] = [
|
|
1081
|
-
|
|
1222
|
+
y(" Cancel ", -1)
|
|
1082
1223
|
])]),
|
|
1083
1224
|
_: 1
|
|
1084
1225
|
}, 8, ["onClick"]),
|
|
1085
|
-
|
|
1226
|
+
s(S, {
|
|
1086
1227
|
variant: "flat",
|
|
1087
1228
|
type: "submit",
|
|
1088
1229
|
"data-test": "ask-ok",
|
|
1089
1230
|
disabled: !i.valid,
|
|
1090
|
-
onClick: de(
|
|
1231
|
+
onClick: de(n.submitHandler, ["prevent"])
|
|
1091
1232
|
}, {
|
|
1092
1233
|
default: l(() => [...e[5] || (e[5] = [
|
|
1093
|
-
|
|
1234
|
+
y(" Ok ", -1)
|
|
1094
1235
|
])]),
|
|
1095
1236
|
_: 1
|
|
1096
1237
|
}, 8, ["disabled", "onClick"])
|
|
@@ -1107,7 +1248,7 @@ function Ht(t, e, o, r, i, s) {
|
|
|
1107
1248
|
_: 1
|
|
1108
1249
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1109
1250
|
}
|
|
1110
|
-
const
|
|
1251
|
+
const Wt = /* @__PURE__ */ J(Gt, [["render", jt], ["__scopeId", "data-v-a7d2ae62"]]), Jt = {
|
|
1111
1252
|
props: {
|
|
1112
1253
|
title: {
|
|
1113
1254
|
type: String,
|
|
@@ -1155,57 +1296,57 @@ const Gt = /* @__PURE__ */ K(Ft, [["render", Ht], ["__scopeId", "data-v-a7d2ae62
|
|
|
1155
1296
|
this.$emit("response", "Cancel");
|
|
1156
1297
|
}
|
|
1157
1298
|
}
|
|
1158
|
-
},
|
|
1159
|
-
function
|
|
1160
|
-
const d =
|
|
1161
|
-
return
|
|
1162
|
-
modelValue:
|
|
1163
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1299
|
+
}, Yt = { class: "pa-2" }, Zt = { class: "text-h6" }, Xt = ["textContent"];
|
|
1300
|
+
function Qt(t, e, o, a, i, n) {
|
|
1301
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), _ = r("v-file-input"), S = r("v-card-text"), C = r("v-btn"), b = r("v-card-actions"), E = r("v-form"), R = r("v-card"), U = r("v-dialog");
|
|
1302
|
+
return w(), T(U, {
|
|
1303
|
+
modelValue: n.show,
|
|
1304
|
+
"onUpdate:modelValue": e[2] || (e[2] = (k) => n.show = k),
|
|
1164
1305
|
persistent: "",
|
|
1165
1306
|
width: "600",
|
|
1166
|
-
onKeydown: Se(
|
|
1307
|
+
onKeydown: Se(n.cancelHandler, ["esc"])
|
|
1167
1308
|
}, {
|
|
1168
1309
|
default: l(() => [
|
|
1169
|
-
|
|
1310
|
+
s(R, null, {
|
|
1170
1311
|
default: l(() => [
|
|
1171
|
-
|
|
1312
|
+
s(E, {
|
|
1172
1313
|
modelValue: i.valid,
|
|
1173
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1174
|
-
onSubmit: de(
|
|
1314
|
+
"onUpdate:modelValue": e[1] || (e[1] = (k) => i.valid = k),
|
|
1315
|
+
onSubmit: de(n.submitHandler, ["prevent"])
|
|
1175
1316
|
}, {
|
|
1176
1317
|
default: l(() => [
|
|
1177
|
-
|
|
1318
|
+
s(h, { height: "24" }, {
|
|
1178
1319
|
default: l(() => [
|
|
1179
|
-
|
|
1320
|
+
s(d),
|
|
1180
1321
|
e[3] || (e[3] = x("span", null, " File Dialog ", -1)),
|
|
1181
|
-
|
|
1322
|
+
s(d)
|
|
1182
1323
|
]),
|
|
1183
1324
|
_: 1
|
|
1184
1325
|
}),
|
|
1185
|
-
x("div",
|
|
1186
|
-
|
|
1326
|
+
x("div", Yt, [
|
|
1327
|
+
s(S, null, {
|
|
1187
1328
|
default: l(() => [
|
|
1188
|
-
|
|
1329
|
+
s(c, null, {
|
|
1189
1330
|
default: l(() => [
|
|
1190
|
-
x("span",
|
|
1331
|
+
x("span", Zt, F(o.title), 1)
|
|
1191
1332
|
]),
|
|
1192
1333
|
_: 1
|
|
1193
1334
|
}),
|
|
1194
|
-
o.message ? (
|
|
1335
|
+
o.message ? (w(), T(c, { key: 0 }, {
|
|
1195
1336
|
default: l(() => [
|
|
1196
1337
|
x("span", {
|
|
1197
1338
|
class: "ma-3",
|
|
1198
1339
|
style: { "white-space": "pre-line" },
|
|
1199
|
-
textContent:
|
|
1200
|
-
}, null, 8,
|
|
1340
|
+
textContent: F(o.message)
|
|
1341
|
+
}, null, 8, Xt)
|
|
1201
1342
|
]),
|
|
1202
1343
|
_: 1
|
|
1203
1344
|
})) : P("", !0),
|
|
1204
|
-
|
|
1345
|
+
s(c, { class: "my-1" }, {
|
|
1205
1346
|
default: l(() => [
|
|
1206
|
-
|
|
1347
|
+
s(_, {
|
|
1207
1348
|
modelValue: i.inputValue,
|
|
1208
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1349
|
+
"onUpdate:modelValue": e[0] || (e[0] = (k) => i.inputValue = k),
|
|
1209
1350
|
label: "Choose File",
|
|
1210
1351
|
rules: i.rules,
|
|
1211
1352
|
autofocus: "",
|
|
@@ -1221,28 +1362,28 @@ function Jt(t, e, o, r, i, s) {
|
|
|
1221
1362
|
_: 1
|
|
1222
1363
|
})
|
|
1223
1364
|
]),
|
|
1224
|
-
|
|
1365
|
+
s(b, { class: "px-2" }, {
|
|
1225
1366
|
default: l(() => [
|
|
1226
|
-
|
|
1227
|
-
|
|
1367
|
+
s(d),
|
|
1368
|
+
s(C, {
|
|
1228
1369
|
variant: "outlined",
|
|
1229
1370
|
"data-test": "file-cancel",
|
|
1230
|
-
onClick:
|
|
1371
|
+
onClick: n.cancelHandler
|
|
1231
1372
|
}, {
|
|
1232
1373
|
default: l(() => [...e[4] || (e[4] = [
|
|
1233
|
-
|
|
1374
|
+
y(" Cancel ", -1)
|
|
1234
1375
|
])]),
|
|
1235
1376
|
_: 1
|
|
1236
1377
|
}, 8, ["onClick"]),
|
|
1237
|
-
|
|
1378
|
+
s(C, {
|
|
1238
1379
|
variant: "flat",
|
|
1239
1380
|
type: "submit",
|
|
1240
1381
|
"data-test": "file-ok",
|
|
1241
1382
|
disabled: !i.valid,
|
|
1242
|
-
onClick: de(
|
|
1383
|
+
onClick: de(n.submitHandler, ["prevent"])
|
|
1243
1384
|
}, {
|
|
1244
1385
|
default: l(() => [...e[5] || (e[5] = [
|
|
1245
|
-
|
|
1386
|
+
y(" Ok ", -1)
|
|
1246
1387
|
])]),
|
|
1247
1388
|
_: 1
|
|
1248
1389
|
}, 8, ["disabled", "onClick"])
|
|
@@ -1259,7 +1400,7 @@ function Jt(t, e, o, r, i, s) {
|
|
|
1259
1400
|
_: 1
|
|
1260
1401
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1261
1402
|
}
|
|
1262
|
-
const
|
|
1403
|
+
const $t = /* @__PURE__ */ J(Jt, [["render", Qt], ["__scopeId", "data-v-24d71dd4"]]), ei = {
|
|
1263
1404
|
props: {
|
|
1264
1405
|
modelValue: {
|
|
1265
1406
|
type: Boolean,
|
|
@@ -1290,40 +1431,40 @@ const Yt = /* @__PURE__ */ K(qt, [["render", Jt], ["__scopeId", "data-v-24d71dd4
|
|
|
1290
1431
|
}
|
|
1291
1432
|
},
|
|
1292
1433
|
methods: {}
|
|
1293
|
-
},
|
|
1294
|
-
function
|
|
1295
|
-
const d =
|
|
1296
|
-
return
|
|
1297
|
-
modelValue:
|
|
1298
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1434
|
+
}, ti = ["textContent"], ii = { class: "pa-2" }, si = ["textContent"];
|
|
1435
|
+
function ni(t, e, o, a, i, n) {
|
|
1436
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), _ = r("v-card-text"), S = r("v-btn"), C = r("v-card-actions"), b = r("v-card"), E = r("v-dialog");
|
|
1437
|
+
return w(), T(E, {
|
|
1438
|
+
modelValue: n.show,
|
|
1439
|
+
"onUpdate:modelValue": e[1] || (e[1] = (R) => n.show = R),
|
|
1299
1440
|
width: o.width
|
|
1300
1441
|
}, {
|
|
1301
1442
|
default: l(() => [
|
|
1302
|
-
|
|
1443
|
+
s(b, null, {
|
|
1303
1444
|
default: l(() => [
|
|
1304
|
-
|
|
1445
|
+
s(h, { height: "24" }, {
|
|
1305
1446
|
default: l(() => [
|
|
1306
|
-
|
|
1447
|
+
s(d),
|
|
1307
1448
|
x("span", {
|
|
1308
1449
|
style: { "white-space": "pre" },
|
|
1309
|
-
textContent:
|
|
1310
|
-
}, null, 8,
|
|
1311
|
-
|
|
1450
|
+
textContent: F(o.title)
|
|
1451
|
+
}, null, 8, ti),
|
|
1452
|
+
s(d)
|
|
1312
1453
|
]),
|
|
1313
1454
|
_: 1
|
|
1314
1455
|
}),
|
|
1315
|
-
x("div",
|
|
1316
|
-
|
|
1456
|
+
x("div", ii, [
|
|
1457
|
+
s(_, null, {
|
|
1317
1458
|
default: l(() => [
|
|
1318
|
-
(
|
|
1319
|
-
key:
|
|
1459
|
+
(w(!0), D(ge, null, Ke(o.text, (R, U) => (w(), T(c, {
|
|
1460
|
+
key: U,
|
|
1320
1461
|
"no-gutters": ""
|
|
1321
1462
|
}, {
|
|
1322
1463
|
default: l(() => [
|
|
1323
1464
|
x("span", {
|
|
1324
1465
|
style: { "white-space": "pre" },
|
|
1325
|
-
textContent:
|
|
1326
|
-
}, null, 8,
|
|
1466
|
+
textContent: F(R)
|
|
1467
|
+
}, null, 8, si)
|
|
1327
1468
|
]),
|
|
1328
1469
|
_: 2
|
|
1329
1470
|
}, 1024))), 128))
|
|
@@ -1331,15 +1472,15 @@ function ei(t, e, o, r, i, s) {
|
|
|
1331
1472
|
_: 1
|
|
1332
1473
|
})
|
|
1333
1474
|
]),
|
|
1334
|
-
|
|
1475
|
+
s(C, { class: "px-2" }, {
|
|
1335
1476
|
default: l(() => [
|
|
1336
|
-
|
|
1337
|
-
|
|
1477
|
+
s(d),
|
|
1478
|
+
s(S, {
|
|
1338
1479
|
variant: "flat",
|
|
1339
|
-
onClick: e[0] || (e[0] = (
|
|
1480
|
+
onClick: e[0] || (e[0] = (R) => n.show = !n.show)
|
|
1340
1481
|
}, {
|
|
1341
1482
|
default: l(() => [...e[2] || (e[2] = [
|
|
1342
|
-
|
|
1483
|
+
y(" Ok ", -1)
|
|
1343
1484
|
])]),
|
|
1344
1485
|
_: 1
|
|
1345
1486
|
})
|
|
@@ -1353,7 +1494,7 @@ function ei(t, e, o, r, i, s) {
|
|
|
1353
1494
|
_: 1
|
|
1354
1495
|
}, 8, ["modelValue", "width"]);
|
|
1355
1496
|
}
|
|
1356
|
-
const
|
|
1497
|
+
const oi = /* @__PURE__ */ J(ei, [["render", ni]]), li = {
|
|
1357
1498
|
components: {},
|
|
1358
1499
|
props: {
|
|
1359
1500
|
modelValue: {
|
|
@@ -1428,44 +1569,44 @@ const ti = /* @__PURE__ */ K(Zt, [["render", ei]]), ii = {
|
|
|
1428
1569
|
});
|
|
1429
1570
|
}
|
|
1430
1571
|
}
|
|
1431
|
-
},
|
|
1432
|
-
function
|
|
1433
|
-
const d =
|
|
1434
|
-
return
|
|
1435
|
-
modelValue:
|
|
1436
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1572
|
+
}, ri = { class: "pa-2" };
|
|
1573
|
+
function ai(t, e, o, a, i, n) {
|
|
1574
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-btn"), _ = r("v-text-field"), S = r("v-row"), C = r("v-data-table"), b = r("v-card-text"), E = r("v-card-actions"), R = r("v-card"), U = r("v-dialog");
|
|
1575
|
+
return w(), T(U, {
|
|
1576
|
+
modelValue: n.show,
|
|
1577
|
+
"onUpdate:modelValue": e[2] || (e[2] = (k) => n.show = k),
|
|
1437
1578
|
width: "1000"
|
|
1438
1579
|
}, {
|
|
1439
1580
|
default: l(() => [
|
|
1440
|
-
|
|
1581
|
+
s(R, null, {
|
|
1441
1582
|
default: l(() => [
|
|
1442
|
-
|
|
1583
|
+
s(h, { height: "24" }, {
|
|
1443
1584
|
default: l(() => [
|
|
1444
|
-
|
|
1585
|
+
s(d),
|
|
1445
1586
|
e[3] || (e[3] = x("span", null, "Overrides", -1)),
|
|
1446
|
-
|
|
1587
|
+
s(d)
|
|
1447
1588
|
]),
|
|
1448
1589
|
_: 1
|
|
1449
1590
|
}),
|
|
1450
|
-
x("div",
|
|
1451
|
-
|
|
1591
|
+
x("div", ri, [
|
|
1592
|
+
s(b, null, {
|
|
1452
1593
|
default: l(() => [
|
|
1453
|
-
|
|
1594
|
+
s(S, { class: "ma-1" }, {
|
|
1454
1595
|
default: l(() => [
|
|
1455
|
-
|
|
1596
|
+
s(c, {
|
|
1456
1597
|
color: "primary",
|
|
1457
1598
|
"data-test": "overrides-dialog-clear-all",
|
|
1458
|
-
onClick:
|
|
1599
|
+
onClick: n.clearOverrides
|
|
1459
1600
|
}, {
|
|
1460
1601
|
default: l(() => [...e[4] || (e[4] = [
|
|
1461
|
-
|
|
1602
|
+
y(" Clear All Overrides ", -1)
|
|
1462
1603
|
])]),
|
|
1463
1604
|
_: 1
|
|
1464
1605
|
}, 8, ["onClick"]),
|
|
1465
|
-
|
|
1466
|
-
|
|
1606
|
+
s(d),
|
|
1607
|
+
s(_, {
|
|
1467
1608
|
modelValue: i.search,
|
|
1468
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1609
|
+
"onUpdate:modelValue": e[0] || (e[0] = (k) => i.search = k),
|
|
1469
1610
|
label: "Search",
|
|
1470
1611
|
"prepend-inner-icon": "mdi-magnify",
|
|
1471
1612
|
clearable: "",
|
|
@@ -1477,7 +1618,7 @@ function ni(t, e, o, r, i, s) {
|
|
|
1477
1618
|
]),
|
|
1478
1619
|
_: 1
|
|
1479
1620
|
}),
|
|
1480
|
-
|
|
1621
|
+
s(C, {
|
|
1481
1622
|
headers: i.headers,
|
|
1482
1623
|
items: i.overrides,
|
|
1483
1624
|
search: i.search,
|
|
@@ -1485,12 +1626,12 @@ function ni(t, e, o, r, i, s) {
|
|
|
1485
1626
|
"multi-sort": "",
|
|
1486
1627
|
density: "compact"
|
|
1487
1628
|
}, {
|
|
1488
|
-
"item.delete": l(({ item:
|
|
1489
|
-
|
|
1629
|
+
"item.delete": l(({ item: k }) => [
|
|
1630
|
+
s(c, {
|
|
1490
1631
|
icon: "mdi-delete",
|
|
1491
1632
|
variant: "text",
|
|
1492
1633
|
"aria-label": "Delete Override",
|
|
1493
|
-
onClick: (
|
|
1634
|
+
onClick: (L) => n.deleteOverride(k)
|
|
1494
1635
|
}, null, 8, ["onClick"])
|
|
1495
1636
|
]),
|
|
1496
1637
|
_: 1
|
|
@@ -1499,16 +1640,16 @@ function ni(t, e, o, r, i, s) {
|
|
|
1499
1640
|
_: 1
|
|
1500
1641
|
})
|
|
1501
1642
|
]),
|
|
1502
|
-
|
|
1643
|
+
s(E, { class: "px-2" }, {
|
|
1503
1644
|
default: l(() => [
|
|
1504
|
-
|
|
1505
|
-
|
|
1645
|
+
s(d),
|
|
1646
|
+
s(c, {
|
|
1506
1647
|
variant: "flat",
|
|
1507
1648
|
"data-test": "overrides-dialog-ok",
|
|
1508
|
-
onClick: e[1] || (e[1] = (
|
|
1649
|
+
onClick: e[1] || (e[1] = (k) => n.show = !n.show)
|
|
1509
1650
|
}, {
|
|
1510
1651
|
default: l(() => [...e[5] || (e[5] = [
|
|
1511
|
-
|
|
1652
|
+
y(" Ok ", -1)
|
|
1512
1653
|
])]),
|
|
1513
1654
|
_: 1
|
|
1514
1655
|
})
|
|
@@ -1522,7 +1663,7 @@ function ni(t, e, o, r, i, s) {
|
|
|
1522
1663
|
_: 1
|
|
1523
1664
|
}, 8, ["modelValue"]);
|
|
1524
1665
|
}
|
|
1525
|
-
const
|
|
1666
|
+
const di = /* @__PURE__ */ J(li, [["render", ai]]), ui = {
|
|
1526
1667
|
props: {
|
|
1527
1668
|
title: {
|
|
1528
1669
|
type: String,
|
|
@@ -1588,60 +1729,60 @@ const oi = /* @__PURE__ */ K(ii, [["render", ni]]), li = {
|
|
|
1588
1729
|
this.$emit("response", "Cancel");
|
|
1589
1730
|
}
|
|
1590
1731
|
}
|
|
1591
|
-
},
|
|
1592
|
-
function
|
|
1593
|
-
const d =
|
|
1594
|
-
return
|
|
1595
|
-
modelValue:
|
|
1596
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1732
|
+
}, ci = ["textContent"], mi = { class: "pa-2" }, pi = ["textContent"], hi = ["textContent"], fi = { key: 0 }, gi = { key: 1 };
|
|
1733
|
+
function vi(t, e, o, a, i, n) {
|
|
1734
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-card-subtitle"), _ = r("v-row"), S = r("v-card-text"), C = r("v-select"), b = r("v-btn"), E = r("v-card-actions"), R = r("v-card"), U = r("v-dialog");
|
|
1735
|
+
return w(), T(U, {
|
|
1736
|
+
modelValue: n.show,
|
|
1737
|
+
"onUpdate:modelValue": e[2] || (e[2] = (k) => n.show = k),
|
|
1597
1738
|
persistent: "",
|
|
1598
1739
|
width: "600",
|
|
1599
|
-
onKeydown: Se(
|
|
1740
|
+
onKeydown: Se(n.cancelHandler, ["esc"])
|
|
1600
1741
|
}, {
|
|
1601
1742
|
default: l(() => [
|
|
1602
|
-
|
|
1743
|
+
s(R, null, {
|
|
1603
1744
|
default: l(() => [
|
|
1604
|
-
|
|
1745
|
+
s(h, { height: "24" }, {
|
|
1605
1746
|
default: l(() => [
|
|
1606
|
-
|
|
1747
|
+
s(d),
|
|
1607
1748
|
x("span", {
|
|
1608
1749
|
class: "text",
|
|
1609
|
-
textContent:
|
|
1610
|
-
}, null, 8,
|
|
1611
|
-
|
|
1750
|
+
textContent: F(o.title)
|
|
1751
|
+
}, null, 8, ci),
|
|
1752
|
+
s(d)
|
|
1612
1753
|
]),
|
|
1613
1754
|
_: 1
|
|
1614
1755
|
}),
|
|
1615
|
-
x("div",
|
|
1616
|
-
|
|
1756
|
+
x("div", mi, [
|
|
1757
|
+
s(S, { class: "text" }, {
|
|
1617
1758
|
default: l(() => [
|
|
1618
|
-
o.subtitle ? (
|
|
1759
|
+
o.subtitle ? (w(), T(_, { key: 0 }, {
|
|
1619
1760
|
default: l(() => [
|
|
1620
|
-
|
|
1761
|
+
s(c, null, {
|
|
1621
1762
|
default: l(() => [
|
|
1622
|
-
|
|
1763
|
+
y(F(o.subtitle), 1)
|
|
1623
1764
|
]),
|
|
1624
1765
|
_: 1
|
|
1625
1766
|
})
|
|
1626
1767
|
]),
|
|
1627
1768
|
_: 1
|
|
1628
1769
|
})) : P("", !0),
|
|
1629
|
-
|
|
1770
|
+
s(_, { class: "mt-1" }, {
|
|
1630
1771
|
default: l(() => [
|
|
1631
1772
|
x("span", {
|
|
1632
|
-
textContent:
|
|
1633
|
-
}, null, 8,
|
|
1773
|
+
textContent: F(o.message)
|
|
1774
|
+
}, null, 8, pi)
|
|
1634
1775
|
]),
|
|
1635
1776
|
_: 1
|
|
1636
1777
|
}),
|
|
1637
|
-
o.details ? (
|
|
1778
|
+
o.details ? (w(), T(_, {
|
|
1638
1779
|
key: 1,
|
|
1639
1780
|
class: "mt-1"
|
|
1640
1781
|
}, {
|
|
1641
1782
|
default: l(() => [
|
|
1642
1783
|
x("span", {
|
|
1643
|
-
textContent:
|
|
1644
|
-
}, null, 8,
|
|
1784
|
+
textContent: F(o.details)
|
|
1785
|
+
}, null, 8, hi)
|
|
1645
1786
|
]),
|
|
1646
1787
|
_: 1
|
|
1647
1788
|
})) : P("", !0)
|
|
@@ -1649,14 +1790,14 @@ function pi(t, e, o, r, i, s) {
|
|
|
1649
1790
|
_: 1
|
|
1650
1791
|
})
|
|
1651
1792
|
]),
|
|
1652
|
-
o.layout === "combo" ? (
|
|
1653
|
-
|
|
1793
|
+
o.layout === "combo" ? (w(), D("div", fi, [
|
|
1794
|
+
s(_, { class: "ma-2" }, {
|
|
1654
1795
|
default: l(() => [
|
|
1655
|
-
|
|
1796
|
+
s(C, {
|
|
1656
1797
|
modelValue: i.selectedItem,
|
|
1657
1798
|
"onUpdate:modelValue": [
|
|
1658
|
-
e[0] || (e[0] = (
|
|
1659
|
-
e[1] || (e[1] = (
|
|
1799
|
+
e[0] || (e[0] = (k) => i.selectedItem = k),
|
|
1800
|
+
e[1] || (e[1] = (k) => i.selectOkDisabled = !1)
|
|
1660
1801
|
],
|
|
1661
1802
|
label: "Select",
|
|
1662
1803
|
color: "secondary",
|
|
@@ -1668,57 +1809,57 @@ function pi(t, e, o, r, i, s) {
|
|
|
1668
1809
|
]),
|
|
1669
1810
|
_: 1
|
|
1670
1811
|
}),
|
|
1671
|
-
|
|
1812
|
+
s(E, { class: "px-2" }, {
|
|
1672
1813
|
default: l(() => [
|
|
1673
|
-
|
|
1674
|
-
|
|
1814
|
+
s(d),
|
|
1815
|
+
s(b, {
|
|
1675
1816
|
variant: "outlined",
|
|
1676
1817
|
"data-test": "prompt-cancel",
|
|
1677
|
-
onClick:
|
|
1818
|
+
onClick: n.cancelHandler
|
|
1678
1819
|
}, {
|
|
1679
1820
|
default: l(() => [...e[3] || (e[3] = [
|
|
1680
|
-
|
|
1821
|
+
y(" Cancel ", -1)
|
|
1681
1822
|
])]),
|
|
1682
1823
|
_: 1
|
|
1683
1824
|
}, 8, ["onClick"]),
|
|
1684
|
-
|
|
1825
|
+
s(b, {
|
|
1685
1826
|
variant: "flat",
|
|
1686
1827
|
"data-test": "prompt-ok",
|
|
1687
1828
|
disabled: i.selectOkDisabled,
|
|
1688
|
-
onClick:
|
|
1829
|
+
onClick: n.submitHandler
|
|
1689
1830
|
}, {
|
|
1690
1831
|
default: l(() => [...e[4] || (e[4] = [
|
|
1691
|
-
|
|
1832
|
+
y(" Ok ", -1)
|
|
1692
1833
|
])]),
|
|
1693
1834
|
_: 1
|
|
1694
1835
|
}, 8, ["disabled", "onClick"])
|
|
1695
1836
|
]),
|
|
1696
1837
|
_: 1
|
|
1697
1838
|
})
|
|
1698
|
-
])) : (
|
|
1699
|
-
|
|
1700
|
-
class:
|
|
1839
|
+
])) : (w(), D("div", gi, [
|
|
1840
|
+
s(E, {
|
|
1841
|
+
class: qe(n.layoutClass)
|
|
1701
1842
|
}, {
|
|
1702
1843
|
default: l(() => [
|
|
1703
|
-
|
|
1704
|
-
|
|
1844
|
+
s(d),
|
|
1845
|
+
s(b, {
|
|
1705
1846
|
variant: "outlined",
|
|
1706
1847
|
"data-test": "prompt-cancel",
|
|
1707
|
-
onClick:
|
|
1848
|
+
onClick: n.cancelHandler
|
|
1708
1849
|
}, {
|
|
1709
1850
|
default: l(() => [...e[5] || (e[5] = [
|
|
1710
|
-
|
|
1851
|
+
y(" Cancel ", -1)
|
|
1711
1852
|
])]),
|
|
1712
1853
|
_: 1
|
|
1713
1854
|
}, 8, ["onClick"]),
|
|
1714
|
-
(
|
|
1715
|
-
|
|
1855
|
+
(w(!0), D(ge, null, Ke(o.buttons, (k, L) => (w(), D("div", { key: L }, [
|
|
1856
|
+
s(b, {
|
|
1716
1857
|
variant: "flat",
|
|
1717
|
-
"data-test": `prompt-${
|
|
1718
|
-
onClick: (
|
|
1858
|
+
"data-test": `prompt-${k.text}`,
|
|
1859
|
+
onClick: (A) => n.submitWrapper(k.value)
|
|
1719
1860
|
}, {
|
|
1720
1861
|
default: l(() => [
|
|
1721
|
-
|
|
1862
|
+
y(F(k.text), 1)
|
|
1722
1863
|
]),
|
|
1723
1864
|
_: 2
|
|
1724
1865
|
}, 1032, ["data-test", "onClick"])
|
|
@@ -1734,7 +1875,7 @@ function pi(t, e, o, r, i, s) {
|
|
|
1734
1875
|
_: 1
|
|
1735
1876
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1736
1877
|
}
|
|
1737
|
-
const
|
|
1878
|
+
const _i = /* @__PURE__ */ J(ui, [["render", vi], ["__scopeId", "data-v-2db27529"]]), bi = {
|
|
1738
1879
|
components: {},
|
|
1739
1880
|
props: {
|
|
1740
1881
|
modelValue: {
|
|
@@ -1773,30 +1914,30 @@ const hi = /* @__PURE__ */ K(li, [["render", pi], ["__scopeId", "data-v-2db27529
|
|
|
1773
1914
|
), e.click();
|
|
1774
1915
|
}
|
|
1775
1916
|
}
|
|
1776
|
-
},
|
|
1777
|
-
function
|
|
1778
|
-
const d =
|
|
1779
|
-
return
|
|
1780
|
-
modelValue:
|
|
1781
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1917
|
+
}, wi = { class: "pa-2" };
|
|
1918
|
+
function yi(t, e, o, a, i, n) {
|
|
1919
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-textarea"), _ = r("v-card-text"), S = r("v-btn"), C = r("v-card-actions"), b = r("v-card"), E = r("v-dialog");
|
|
1920
|
+
return w(), T(E, {
|
|
1921
|
+
modelValue: n.show,
|
|
1922
|
+
"onUpdate:modelValue": e[1] || (e[1] = (R) => n.show = R),
|
|
1782
1923
|
scrollable: "",
|
|
1783
1924
|
width: "800"
|
|
1784
1925
|
}, {
|
|
1785
1926
|
default: l(() => [
|
|
1786
|
-
|
|
1927
|
+
s(b, null, {
|
|
1787
1928
|
default: l(() => [
|
|
1788
|
-
|
|
1929
|
+
s(h, { height: "24" }, {
|
|
1789
1930
|
default: l(() => [
|
|
1790
|
-
|
|
1931
|
+
s(d),
|
|
1791
1932
|
e[2] || (e[2] = x("span", null, " Script Results ", -1)),
|
|
1792
|
-
|
|
1933
|
+
s(d)
|
|
1793
1934
|
]),
|
|
1794
1935
|
_: 1
|
|
1795
1936
|
}),
|
|
1796
|
-
x("div",
|
|
1797
|
-
|
|
1937
|
+
x("div", wi, [
|
|
1938
|
+
s(_, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1798
1939
|
default: l(() => [
|
|
1799
|
-
|
|
1940
|
+
s(c, {
|
|
1800
1941
|
readonly: "",
|
|
1801
1942
|
"hide-details": "",
|
|
1802
1943
|
density: "compact",
|
|
@@ -1807,25 +1948,25 @@ function vi(t, e, o, r, i, s) {
|
|
|
1807
1948
|
_: 1
|
|
1808
1949
|
})
|
|
1809
1950
|
]),
|
|
1810
|
-
|
|
1951
|
+
s(C, { class: "px-2" }, {
|
|
1811
1952
|
default: l(() => [
|
|
1812
|
-
|
|
1813
|
-
|
|
1953
|
+
s(d),
|
|
1954
|
+
s(S, {
|
|
1814
1955
|
variant: "outlined",
|
|
1815
|
-
onClick:
|
|
1956
|
+
onClick: n.downloadResults
|
|
1816
1957
|
}, {
|
|
1817
1958
|
default: l(() => [...e[3] || (e[3] = [
|
|
1818
|
-
|
|
1959
|
+
y(" Download ", -1)
|
|
1819
1960
|
])]),
|
|
1820
1961
|
_: 1
|
|
1821
1962
|
}, 8, ["onClick"]),
|
|
1822
|
-
|
|
1963
|
+
s(S, {
|
|
1823
1964
|
ref: "okButton",
|
|
1824
1965
|
variant: "flat",
|
|
1825
|
-
onClick: e[0] || (e[0] = (
|
|
1966
|
+
onClick: e[0] || (e[0] = (R) => n.show = !n.show)
|
|
1826
1967
|
}, {
|
|
1827
1968
|
default: l(() => [...e[4] || (e[4] = [
|
|
1828
|
-
|
|
1969
|
+
y(" Ok ", -1)
|
|
1829
1970
|
])]),
|
|
1830
1971
|
_: 1
|
|
1831
1972
|
}, 512)
|
|
@@ -1839,9 +1980,9 @@ function vi(t, e, o, r, i, s) {
|
|
|
1839
1980
|
_: 1
|
|
1840
1981
|
}, 8, ["modelValue"]);
|
|
1841
1982
|
}
|
|
1842
|
-
const
|
|
1983
|
+
const ki = /* @__PURE__ */ J(bi, [["render", yi]]), Si = {
|
|
1843
1984
|
components: {
|
|
1844
|
-
EnvironmentChooser:
|
|
1985
|
+
EnvironmentChooser: _t
|
|
1845
1986
|
},
|
|
1846
1987
|
props: {
|
|
1847
1988
|
modelValue: {
|
|
@@ -1883,59 +2024,59 @@ const _i = /* @__PURE__ */ K(fi, [["render", vi]]), bi = {
|
|
|
1883
2024
|
this.show = !this.show;
|
|
1884
2025
|
}
|
|
1885
2026
|
}
|
|
1886
|
-
},
|
|
1887
|
-
function
|
|
1888
|
-
const d =
|
|
1889
|
-
return
|
|
1890
|
-
modelValue:
|
|
1891
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2027
|
+
}, xi = { class: "pa-2" };
|
|
2028
|
+
function Ci(t, e, o, a, i, n) {
|
|
2029
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("environment-chooser"), _ = r("v-card-text"), S = r("v-btn"), C = r("v-card-actions"), b = r("v-card"), E = r("v-dialog");
|
|
2030
|
+
return w(), T(E, {
|
|
2031
|
+
modelValue: n.show,
|
|
2032
|
+
"onUpdate:modelValue": e[1] || (e[1] = (R) => n.show = R),
|
|
1892
2033
|
persistent: "",
|
|
1893
2034
|
width: "600",
|
|
1894
|
-
onKeydown: Se(
|
|
2035
|
+
onKeydown: Se(n.cancel, ["esc"])
|
|
1895
2036
|
}, {
|
|
1896
2037
|
default: l(() => [
|
|
1897
|
-
|
|
2038
|
+
s(b, null, {
|
|
1898
2039
|
default: l(() => [
|
|
1899
|
-
|
|
2040
|
+
s(h, { height: "24" }, {
|
|
1900
2041
|
default: l(() => [
|
|
1901
|
-
|
|
2042
|
+
s(d),
|
|
1902
2043
|
e[2] || (e[2] = x("span", null, "Script Environment Variables", -1)),
|
|
1903
|
-
|
|
2044
|
+
s(d)
|
|
1904
2045
|
]),
|
|
1905
2046
|
_: 1
|
|
1906
2047
|
}),
|
|
1907
|
-
x("div",
|
|
1908
|
-
|
|
2048
|
+
x("div", xi, [
|
|
2049
|
+
s(_, null, {
|
|
1909
2050
|
default: l(() => [
|
|
1910
|
-
|
|
2051
|
+
s(c, {
|
|
1911
2052
|
modelValue: i.selected,
|
|
1912
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
2053
|
+
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.selected = R)
|
|
1913
2054
|
}, null, 8, ["modelValue"])
|
|
1914
2055
|
]),
|
|
1915
2056
|
_: 1
|
|
1916
2057
|
})
|
|
1917
2058
|
]),
|
|
1918
|
-
|
|
2059
|
+
s(C, { class: "px-2" }, {
|
|
1919
2060
|
default: l(() => [
|
|
1920
|
-
|
|
1921
|
-
|
|
2061
|
+
s(d),
|
|
2062
|
+
s(S, {
|
|
1922
2063
|
variant: "outlined",
|
|
1923
2064
|
"data-test": "environment-dialog-cancel",
|
|
1924
|
-
onClick:
|
|
2065
|
+
onClick: n.cancel
|
|
1925
2066
|
}, {
|
|
1926
2067
|
default: l(() => [...e[3] || (e[3] = [
|
|
1927
|
-
|
|
2068
|
+
y(" Cancel ", -1)
|
|
1928
2069
|
])]),
|
|
1929
2070
|
_: 1
|
|
1930
2071
|
}, 8, ["onClick"]),
|
|
1931
|
-
|
|
2072
|
+
s(S, {
|
|
1932
2073
|
variant: "flat",
|
|
1933
2074
|
"data-test": "environment-dialog-save",
|
|
1934
2075
|
disabled: !!t.inputError,
|
|
1935
|
-
onClick:
|
|
2076
|
+
onClick: n.updateEnvironment
|
|
1936
2077
|
}, {
|
|
1937
2078
|
default: l(() => [...e[4] || (e[4] = [
|
|
1938
|
-
|
|
2079
|
+
y(" Save ", -1)
|
|
1939
2080
|
])]),
|
|
1940
2081
|
_: 1
|
|
1941
2082
|
}, 8, ["disabled", "onClick"])
|
|
@@ -1949,7 +2090,7 @@ function yi(t, e, o, r, i, s) {
|
|
|
1949
2090
|
_: 1
|
|
1950
2091
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1951
2092
|
}
|
|
1952
|
-
const
|
|
2093
|
+
const Vi = /* @__PURE__ */ J(Si, [["render", Ci]]), Ei = {
|
|
1953
2094
|
props: {
|
|
1954
2095
|
suiteMap: {
|
|
1955
2096
|
type: Object,
|
|
@@ -2034,31 +2175,31 @@ const ki = /* @__PURE__ */ K(bi, [["render", yi]]), Si = {
|
|
|
2034
2175
|
this.script = t;
|
|
2035
2176
|
}
|
|
2036
2177
|
}
|
|
2037
|
-
},
|
|
2038
|
-
function
|
|
2039
|
-
const d =
|
|
2040
|
-
return
|
|
2041
|
-
x("div",
|
|
2042
|
-
|
|
2178
|
+
}, Ri = { id: "tr-container" };
|
|
2179
|
+
function Oi(t, e, o, a, i, n) {
|
|
2180
|
+
const d = r("v-checkbox"), h = r("v-tooltip"), c = r("v-col"), _ = r("v-row"), S = r("v-select"), C = r("v-btn");
|
|
2181
|
+
return w(), D("div", null, [
|
|
2182
|
+
x("div", Ri, [
|
|
2183
|
+
s(_, {
|
|
2043
2184
|
"no-gutters": "",
|
|
2044
2185
|
align: "center"
|
|
2045
2186
|
}, {
|
|
2046
2187
|
default: l(() => [
|
|
2047
|
-
|
|
2188
|
+
s(c, { cols: "4" }, {
|
|
2048
2189
|
default: l(() => [
|
|
2049
|
-
|
|
2190
|
+
s(_, { "no-gutters": "" }, {
|
|
2050
2191
|
default: l(() => [
|
|
2051
|
-
|
|
2192
|
+
s(c, { cols: "6" }, {
|
|
2052
2193
|
default: l(() => [
|
|
2053
|
-
|
|
2194
|
+
s(h, {
|
|
2054
2195
|
"open-delay": 600,
|
|
2055
2196
|
location: "top"
|
|
2056
2197
|
}, {
|
|
2057
|
-
activator: l(({ props:
|
|
2058
|
-
x("div", le(re(
|
|
2059
|
-
|
|
2198
|
+
activator: l(({ props: b }) => [
|
|
2199
|
+
x("div", le(re(b)), [
|
|
2200
|
+
s(d, {
|
|
2060
2201
|
modelValue: i.options,
|
|
2061
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
2202
|
+
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.options = E),
|
|
2062
2203
|
label: "Pause on Error",
|
|
2063
2204
|
value: "pauseOnError",
|
|
2064
2205
|
"hide-details": "",
|
|
@@ -2068,9 +2209,9 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2068
2209
|
]),
|
|
2069
2210
|
default: l(() => [
|
|
2070
2211
|
e[16] || (e[16] = x("span", null, [
|
|
2071
|
-
|
|
2212
|
+
y(" Checked pauses the script when an error is encountered"),
|
|
2072
2213
|
x("br"),
|
|
2073
|
-
|
|
2214
|
+
y(" Unchecked continues without user interaction ")
|
|
2074
2215
|
], -1))
|
|
2075
2216
|
]),
|
|
2076
2217
|
_: 1
|
|
@@ -2078,17 +2219,17 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2078
2219
|
]),
|
|
2079
2220
|
_: 1
|
|
2080
2221
|
}),
|
|
2081
|
-
|
|
2222
|
+
s(c, { cols: "6" }, {
|
|
2082
2223
|
default: l(() => [
|
|
2083
|
-
|
|
2224
|
+
s(h, {
|
|
2084
2225
|
"open-delay": 600,
|
|
2085
2226
|
location: "top"
|
|
2086
2227
|
}, {
|
|
2087
|
-
activator: l(({ props:
|
|
2088
|
-
x("div", le(re(
|
|
2089
|
-
|
|
2228
|
+
activator: l(({ props: b }) => [
|
|
2229
|
+
x("div", le(re(b)), [
|
|
2230
|
+
s(d, {
|
|
2090
2231
|
modelValue: i.options,
|
|
2091
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2232
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.options = E),
|
|
2092
2233
|
label: "Manual",
|
|
2093
2234
|
value: "manual",
|
|
2094
2235
|
"hide-details": "",
|
|
@@ -2098,9 +2239,9 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2098
2239
|
]),
|
|
2099
2240
|
default: l(() => [
|
|
2100
2241
|
x("span", null, [
|
|
2101
|
-
|
|
2242
|
+
y(F(n.checkedManualTooltip), 1),
|
|
2102
2243
|
e[17] || (e[17] = x("br", null, null, -1)),
|
|
2103
|
-
|
|
2244
|
+
y(" " + F(n.uncheckedManualTooltip), 1)
|
|
2104
2245
|
])
|
|
2105
2246
|
]),
|
|
2106
2247
|
_: 1
|
|
@@ -2114,20 +2255,20 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2114
2255
|
]),
|
|
2115
2256
|
_: 1
|
|
2116
2257
|
}),
|
|
2117
|
-
|
|
2258
|
+
s(c, { cols: "8" }, {
|
|
2118
2259
|
default: l(() => [
|
|
2119
|
-
|
|
2260
|
+
s(_, {
|
|
2120
2261
|
"no-gutters": "",
|
|
2121
2262
|
justify: "end"
|
|
2122
2263
|
}, {
|
|
2123
2264
|
default: l(() => [
|
|
2124
|
-
|
|
2265
|
+
s(c, { cols: "5" }, {
|
|
2125
2266
|
default: l(() => [
|
|
2126
|
-
|
|
2267
|
+
s(S, {
|
|
2127
2268
|
modelValue: i.suite,
|
|
2128
2269
|
"onUpdate:modelValue": [
|
|
2129
|
-
e[2] || (e[2] = (
|
|
2130
|
-
|
|
2270
|
+
e[2] || (e[2] = (b) => i.suite = b),
|
|
2271
|
+
n.suiteChanged
|
|
2131
2272
|
],
|
|
2132
2273
|
label: "Suite:",
|
|
2133
2274
|
class: "mb-2 mr-2",
|
|
@@ -2140,40 +2281,40 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2140
2281
|
]),
|
|
2141
2282
|
_: 1
|
|
2142
2283
|
}),
|
|
2143
|
-
|
|
2284
|
+
s(c, { cols: "auto" }, {
|
|
2144
2285
|
default: l(() => [
|
|
2145
|
-
|
|
2286
|
+
s(C, {
|
|
2146
2287
|
color: "primary",
|
|
2147
2288
|
class: "mr-2",
|
|
2148
2289
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2149
2290
|
"data-test": "start-suite",
|
|
2150
|
-
onClick: e[3] || (e[3] = (
|
|
2291
|
+
onClick: e[3] || (e[3] = (b) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2151
2292
|
}, {
|
|
2152
2293
|
default: l(() => [...e[18] || (e[18] = [
|
|
2153
|
-
|
|
2294
|
+
y(" Start ", -1)
|
|
2154
2295
|
])]),
|
|
2155
2296
|
_: 1
|
|
2156
2297
|
}, 8, ["disabled"]),
|
|
2157
|
-
|
|
2298
|
+
s(C, {
|
|
2158
2299
|
color: "primary",
|
|
2159
2300
|
class: "mr-2",
|
|
2160
2301
|
"data-test": "setup-suite",
|
|
2161
|
-
disabled: o.disableButtons || !
|
|
2162
|
-
onClick: e[4] || (e[4] = (
|
|
2302
|
+
disabled: o.disableButtons || !n.setupSuiteEnabled || !i.userInfo.execute,
|
|
2303
|
+
onClick: e[4] || (e[4] = (b) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2163
2304
|
}, {
|
|
2164
2305
|
default: l(() => [...e[19] || (e[19] = [
|
|
2165
|
-
|
|
2306
|
+
y(" Setup ", -1)
|
|
2166
2307
|
])]),
|
|
2167
2308
|
_: 1
|
|
2168
2309
|
}, 8, ["disabled"]),
|
|
2169
|
-
|
|
2310
|
+
s(C, {
|
|
2170
2311
|
color: "primary",
|
|
2171
2312
|
"data-test": "teardown-suite",
|
|
2172
|
-
disabled: o.disableButtons || !
|
|
2173
|
-
onClick: e[5] || (e[5] = (
|
|
2313
|
+
disabled: o.disableButtons || !n.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2314
|
+
onClick: e[5] || (e[5] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2174
2315
|
}, {
|
|
2175
2316
|
default: l(() => [...e[20] || (e[20] = [
|
|
2176
|
-
|
|
2317
|
+
y(" Teardown ", -1)
|
|
2177
2318
|
])]),
|
|
2178
2319
|
_: 1
|
|
2179
2320
|
}, 8, ["disabled"])
|
|
@@ -2189,23 +2330,23 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2189
2330
|
]),
|
|
2190
2331
|
_: 1
|
|
2191
2332
|
}),
|
|
2192
|
-
|
|
2333
|
+
s(_, { "no-gutters": "" }, {
|
|
2193
2334
|
default: l(() => [
|
|
2194
|
-
|
|
2335
|
+
s(c, { cols: "4" }, {
|
|
2195
2336
|
default: l(() => [
|
|
2196
|
-
|
|
2337
|
+
s(_, { "no-gutters": "" }, {
|
|
2197
2338
|
default: l(() => [
|
|
2198
|
-
|
|
2339
|
+
s(c, { cols: "6" }, {
|
|
2199
2340
|
default: l(() => [
|
|
2200
|
-
|
|
2341
|
+
s(h, {
|
|
2201
2342
|
"open-delay": 600,
|
|
2202
2343
|
location: "top"
|
|
2203
2344
|
}, {
|
|
2204
|
-
activator: l(({ props:
|
|
2205
|
-
x("div", le(re(
|
|
2206
|
-
|
|
2345
|
+
activator: l(({ props: b }) => [
|
|
2346
|
+
x("div", le(re(b)), [
|
|
2347
|
+
s(d, {
|
|
2207
2348
|
modelValue: i.options,
|
|
2208
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
2349
|
+
"onUpdate:modelValue": e[6] || (e[6] = (E) => i.options = E),
|
|
2209
2350
|
label: "Continue after Error",
|
|
2210
2351
|
value: "continueAfterError",
|
|
2211
2352
|
"hide-details": "",
|
|
@@ -2215,9 +2356,9 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2215
2356
|
]),
|
|
2216
2357
|
default: l(() => [
|
|
2217
2358
|
e[21] || (e[21] = x("span", null, [
|
|
2218
|
-
|
|
2359
|
+
y(" Checked allows the script to continue when an error is encountered"),
|
|
2219
2360
|
x("br"),
|
|
2220
|
-
|
|
2361
|
+
y(" Unchecked forces the current script to end ")
|
|
2221
2362
|
], -1))
|
|
2222
2363
|
]),
|
|
2223
2364
|
_: 1
|
|
@@ -2225,17 +2366,17 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2225
2366
|
]),
|
|
2226
2367
|
_: 1
|
|
2227
2368
|
}),
|
|
2228
|
-
|
|
2369
|
+
s(c, { cols: "6" }, {
|
|
2229
2370
|
default: l(() => [
|
|
2230
|
-
|
|
2371
|
+
s(h, {
|
|
2231
2372
|
"open-delay": 600,
|
|
2232
2373
|
location: "top"
|
|
2233
2374
|
}, {
|
|
2234
|
-
activator: l(({ props:
|
|
2235
|
-
x("div", le(re(
|
|
2236
|
-
|
|
2375
|
+
activator: l(({ props: b }) => [
|
|
2376
|
+
x("div", le(re(b)), [
|
|
2377
|
+
s(d, {
|
|
2237
2378
|
modelValue: i.options,
|
|
2238
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
2379
|
+
"onUpdate:modelValue": e[7] || (e[7] = (E) => i.options = E),
|
|
2239
2380
|
label: "Loop",
|
|
2240
2381
|
value: "loop",
|
|
2241
2382
|
"hide-details": "",
|
|
@@ -2245,9 +2386,9 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2245
2386
|
]),
|
|
2246
2387
|
default: l(() => [
|
|
2247
2388
|
e[22] || (e[22] = x("span", null, [
|
|
2248
|
-
|
|
2389
|
+
y(" Checked continuously executes until explicitly stopped"),
|
|
2249
2390
|
x("br"),
|
|
2250
|
-
|
|
2391
|
+
y(" Unchecked executes only the started script(s) ")
|
|
2251
2392
|
], -1))
|
|
2252
2393
|
]),
|
|
2253
2394
|
_: 1
|
|
@@ -2261,20 +2402,20 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2261
2402
|
]),
|
|
2262
2403
|
_: 1
|
|
2263
2404
|
}),
|
|
2264
|
-
|
|
2405
|
+
s(c, { cols: "8" }, {
|
|
2265
2406
|
default: l(() => [
|
|
2266
|
-
|
|
2407
|
+
s(_, {
|
|
2267
2408
|
"no-gutters": "",
|
|
2268
2409
|
justify: "end"
|
|
2269
2410
|
}, {
|
|
2270
2411
|
default: l(() => [
|
|
2271
|
-
|
|
2412
|
+
s(c, { cols: "5" }, {
|
|
2272
2413
|
default: l(() => [
|
|
2273
|
-
|
|
2414
|
+
s(S, {
|
|
2274
2415
|
modelValue: i.group,
|
|
2275
2416
|
"onUpdate:modelValue": [
|
|
2276
|
-
e[8] || (e[8] = (
|
|
2277
|
-
|
|
2417
|
+
e[8] || (e[8] = (b) => i.group = b),
|
|
2418
|
+
n.groupChanged
|
|
2278
2419
|
],
|
|
2279
2420
|
label: "Group:",
|
|
2280
2421
|
class: "mb-2 mr-2",
|
|
@@ -2287,40 +2428,40 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2287
2428
|
]),
|
|
2288
2429
|
_: 1
|
|
2289
2430
|
}),
|
|
2290
|
-
|
|
2431
|
+
s(c, { cols: "auto" }, {
|
|
2291
2432
|
default: l(() => [
|
|
2292
|
-
|
|
2433
|
+
s(C, {
|
|
2293
2434
|
color: "primary",
|
|
2294
2435
|
class: "mr-2",
|
|
2295
2436
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2296
2437
|
"data-test": "start-group",
|
|
2297
|
-
onClick: e[9] || (e[9] = (
|
|
2438
|
+
onClick: e[9] || (e[9] = (b) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2298
2439
|
}, {
|
|
2299
2440
|
default: l(() => [...e[23] || (e[23] = [
|
|
2300
|
-
|
|
2441
|
+
y(" Start ", -1)
|
|
2301
2442
|
])]),
|
|
2302
2443
|
_: 1
|
|
2303
2444
|
}, 8, ["disabled"]),
|
|
2304
|
-
|
|
2445
|
+
s(C, {
|
|
2305
2446
|
color: "primary",
|
|
2306
2447
|
class: "mr-2",
|
|
2307
2448
|
"data-test": "setup-group",
|
|
2308
|
-
disabled: o.disableButtons || !
|
|
2309
|
-
onClick: e[10] || (e[10] = (
|
|
2449
|
+
disabled: o.disableButtons || !n.setupGroupEnabled || !i.userInfo.execute,
|
|
2450
|
+
onClick: e[10] || (e[10] = (b) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2310
2451
|
}, {
|
|
2311
2452
|
default: l(() => [...e[24] || (e[24] = [
|
|
2312
|
-
|
|
2453
|
+
y(" Setup ", -1)
|
|
2313
2454
|
])]),
|
|
2314
2455
|
_: 1
|
|
2315
2456
|
}, 8, ["disabled"]),
|
|
2316
|
-
|
|
2457
|
+
s(C, {
|
|
2317
2458
|
color: "primary",
|
|
2318
2459
|
"data-test": "teardown-group",
|
|
2319
|
-
disabled: o.disableButtons || !
|
|
2320
|
-
onClick: e[11] || (e[11] = (
|
|
2460
|
+
disabled: o.disableButtons || !n.teardownGroupEnabled || !i.userInfo.execute,
|
|
2461
|
+
onClick: e[11] || (e[11] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2321
2462
|
}, {
|
|
2322
2463
|
default: l(() => [...e[25] || (e[25] = [
|
|
2323
|
-
|
|
2464
|
+
y(" Teardown ", -1)
|
|
2324
2465
|
])]),
|
|
2325
2466
|
_: 1
|
|
2326
2467
|
}, 8, ["disabled"])
|
|
@@ -2336,23 +2477,23 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2336
2477
|
]),
|
|
2337
2478
|
_: 1
|
|
2338
2479
|
}),
|
|
2339
|
-
|
|
2480
|
+
s(_, { "no-gutters": "" }, {
|
|
2340
2481
|
default: l(() => [
|
|
2341
|
-
|
|
2482
|
+
s(c, { cols: "4" }, {
|
|
2342
2483
|
default: l(() => [
|
|
2343
|
-
|
|
2484
|
+
s(_, { "no-gutters": "" }, {
|
|
2344
2485
|
default: l(() => [
|
|
2345
|
-
|
|
2486
|
+
s(c, { cols: "6" }, {
|
|
2346
2487
|
default: l(() => [
|
|
2347
|
-
|
|
2488
|
+
s(h, {
|
|
2348
2489
|
"open-delay": 600,
|
|
2349
2490
|
location: "top"
|
|
2350
2491
|
}, {
|
|
2351
|
-
activator: l(({ props:
|
|
2352
|
-
x("div", le(re(
|
|
2353
|
-
|
|
2492
|
+
activator: l(({ props: b }) => [
|
|
2493
|
+
x("div", le(re(b)), [
|
|
2494
|
+
s(d, {
|
|
2354
2495
|
modelValue: i.options,
|
|
2355
|
-
"onUpdate:modelValue": e[12] || (e[12] = (
|
|
2496
|
+
"onUpdate:modelValue": e[12] || (e[12] = (E) => i.options = E),
|
|
2356
2497
|
label: "Abort after Error",
|
|
2357
2498
|
value: "abortAfterError",
|
|
2358
2499
|
"hide-details": "",
|
|
@@ -2362,9 +2503,9 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2362
2503
|
]),
|
|
2363
2504
|
default: l(() => [
|
|
2364
2505
|
e[26] || (e[26] = x("span", null, [
|
|
2365
|
-
|
|
2506
|
+
y(" Checked stops additional script execution when an error is encountered"),
|
|
2366
2507
|
x("br"),
|
|
2367
|
-
|
|
2508
|
+
y(" Unchecked allows additional scripts to execute ")
|
|
2368
2509
|
], -1))
|
|
2369
2510
|
]),
|
|
2370
2511
|
_: 1
|
|
@@ -2372,17 +2513,17 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2372
2513
|
]),
|
|
2373
2514
|
_: 1
|
|
2374
2515
|
}),
|
|
2375
|
-
|
|
2516
|
+
s(c, { cols: "6" }, {
|
|
2376
2517
|
default: l(() => [
|
|
2377
|
-
|
|
2518
|
+
s(h, {
|
|
2378
2519
|
"open-delay": 600,
|
|
2379
2520
|
location: "top"
|
|
2380
2521
|
}, {
|
|
2381
|
-
activator: l(({ props:
|
|
2382
|
-
x("div", le(re(
|
|
2383
|
-
|
|
2522
|
+
activator: l(({ props: b }) => [
|
|
2523
|
+
x("div", le(re(b)), [
|
|
2524
|
+
s(d, {
|
|
2384
2525
|
modelValue: i.options,
|
|
2385
|
-
"onUpdate:modelValue": e[13] || (e[13] = (
|
|
2526
|
+
"onUpdate:modelValue": e[13] || (e[13] = (E) => i.options = E),
|
|
2386
2527
|
disabled: !i.options.includes("loop"),
|
|
2387
2528
|
label: "Break Loop on Error",
|
|
2388
2529
|
value: "breakLoopOnError",
|
|
@@ -2393,11 +2534,11 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2393
2534
|
]),
|
|
2394
2535
|
default: l(() => [
|
|
2395
2536
|
e[27] || (e[27] = x("span", null, [
|
|
2396
|
-
|
|
2537
|
+
y(" Checked breaks the loop option when an error is encountered"),
|
|
2397
2538
|
x("br"),
|
|
2398
|
-
|
|
2539
|
+
y(" Unchecked allows the loop to run continuously"),
|
|
2399
2540
|
x("br"),
|
|
2400
|
-
|
|
2541
|
+
y(" Note: Abort after Error still breaks the loop ")
|
|
2401
2542
|
], -1))
|
|
2402
2543
|
]),
|
|
2403
2544
|
_: 1
|
|
@@ -2411,27 +2552,27 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2411
2552
|
]),
|
|
2412
2553
|
_: 1
|
|
2413
2554
|
}),
|
|
2414
|
-
|
|
2555
|
+
s(c, { cols: "8" }, {
|
|
2415
2556
|
default: l(() => [
|
|
2416
|
-
|
|
2557
|
+
s(_, {
|
|
2417
2558
|
"no-gutters": "",
|
|
2418
2559
|
justify: "end"
|
|
2419
2560
|
}, {
|
|
2420
2561
|
default: l(() => [
|
|
2421
|
-
|
|
2562
|
+
s(c, { cols: "5" }, {
|
|
2422
2563
|
default: l(() => [
|
|
2423
|
-
|
|
2564
|
+
s(S, {
|
|
2424
2565
|
modelValue: i.script,
|
|
2425
2566
|
"onUpdate:modelValue": [
|
|
2426
|
-
e[14] || (e[14] = (
|
|
2427
|
-
|
|
2567
|
+
e[14] || (e[14] = (b) => i.script = b),
|
|
2568
|
+
n.scriptChanged
|
|
2428
2569
|
],
|
|
2429
2570
|
label: "Script:",
|
|
2430
2571
|
class: "mb-2 mr-2",
|
|
2431
2572
|
"hide-details": "",
|
|
2432
2573
|
density: "compact",
|
|
2433
2574
|
variant: "outlined",
|
|
2434
|
-
items:
|
|
2575
|
+
items: n.scriptNames,
|
|
2435
2576
|
"item-title": "title",
|
|
2436
2577
|
"item-value": "value",
|
|
2437
2578
|
"data-test": "select-script"
|
|
@@ -2439,14 +2580,14 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2439
2580
|
]),
|
|
2440
2581
|
_: 1
|
|
2441
2582
|
}),
|
|
2442
|
-
|
|
2583
|
+
s(c, { cols: "auto" }, {
|
|
2443
2584
|
default: l(() => [
|
|
2444
|
-
|
|
2585
|
+
s(C, {
|
|
2445
2586
|
color: "primary",
|
|
2446
2587
|
class: "mr-2",
|
|
2447
2588
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2448
2589
|
"data-test": "start-script",
|
|
2449
|
-
onClick: e[15] || (e[15] = (
|
|
2590
|
+
onClick: e[15] || (e[15] = (b) => t.$emit("button", {
|
|
2450
2591
|
method: "start",
|
|
2451
2592
|
suite: i.suite,
|
|
2452
2593
|
group: i.group,
|
|
@@ -2455,25 +2596,25 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2455
2596
|
}))
|
|
2456
2597
|
}, {
|
|
2457
2598
|
default: l(() => [...e[28] || (e[28] = [
|
|
2458
|
-
|
|
2599
|
+
y(" Start ", -1)
|
|
2459
2600
|
])]),
|
|
2460
2601
|
_: 1
|
|
2461
2602
|
}, 8, ["disabled"]),
|
|
2462
|
-
|
|
2603
|
+
s(C, {
|
|
2463
2604
|
color: "primary",
|
|
2464
2605
|
class: "mr-2 invisible"
|
|
2465
2606
|
}, {
|
|
2466
2607
|
default: l(() => [...e[29] || (e[29] = [
|
|
2467
|
-
|
|
2608
|
+
y(" Setup ", -1)
|
|
2468
2609
|
])]),
|
|
2469
2610
|
_: 1
|
|
2470
2611
|
}),
|
|
2471
|
-
|
|
2612
|
+
s(C, {
|
|
2472
2613
|
color: "primary",
|
|
2473
2614
|
class: "invisible"
|
|
2474
2615
|
}, {
|
|
2475
2616
|
default: l(() => [...e[30] || (e[30] = [
|
|
2476
|
-
|
|
2617
|
+
y(" Teardown ", -1)
|
|
2477
2618
|
])]),
|
|
2478
2619
|
_: 1
|
|
2479
2620
|
})
|
|
@@ -2492,219 +2633,21 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2492
2633
|
])
|
|
2493
2634
|
]);
|
|
2494
2635
|
}
|
|
2495
|
-
const
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
const e = "(^|[{\\(\\s])", o = `[\\s\\(]f?['"]`, r = "(\\S+\\s?){0,3}";
|
|
2500
|
-
return new RegExp(`${e}${t}${o}${r}$`);
|
|
2501
|
-
};
|
|
2502
|
-
class tt {
|
|
2503
|
-
constructor(e, o = () => {
|
|
2504
|
-
}, r = () => {
|
|
2505
|
-
}) {
|
|
2506
|
-
this.keywordExpressions = [], this.autocompleteData = [], qe(e).then((i) => {
|
|
2507
|
-
this.keywordExpressions = i.data.map(Ri), r();
|
|
2508
|
-
}), Ei(e).then((i) => {
|
|
2509
|
-
this.autocompleteData = i.data, o();
|
|
2510
|
-
});
|
|
2511
|
-
}
|
|
2512
|
-
getCompletions(e, o, r, i, s) {
|
|
2513
|
-
let d = [];
|
|
2514
|
-
const p = o.doc.$lines[r.row].slice(
|
|
2515
|
-
0,
|
|
2516
|
-
r.column
|
|
2517
|
-
);
|
|
2518
|
-
this.keywordExpressions.some((c) => p.match(c)) && (d = this.autocompleteData), s(null, [
|
|
2519
|
-
...d
|
|
2520
|
-
// 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)
|
|
2521
|
-
// ...session.$mode.$highlightRules.$keywordList.map((word) => ({
|
|
2522
|
-
// caption: word,
|
|
2523
|
-
// value: word,
|
|
2524
|
-
// meta: 'keyword',
|
|
2525
|
-
// })),
|
|
2526
|
-
]);
|
|
2527
|
-
}
|
|
2528
|
-
}
|
|
2529
|
-
class Oi extends tt {
|
|
2530
|
-
constructor() {
|
|
2531
|
-
super("cmd");
|
|
2532
|
-
}
|
|
2533
|
-
}
|
|
2534
|
-
class Mi extends tt {
|
|
2535
|
-
constructor() {
|
|
2536
|
-
super("tlm", () => {
|
|
2537
|
-
this.groupedPacketData = this.autocompleteData.reduce((e, o) => {
|
|
2538
|
-
const r = o.caption.match(/\S+\s\S+/)[0], i = o.snippet.replace(`${r} `, ""), s = {
|
|
2539
|
-
caption: i,
|
|
2540
|
-
snippet: i,
|
|
2541
|
-
meta: "item"
|
|
2542
|
-
};
|
|
2543
|
-
return e[r] ? e[r].push(s) : e[r] = [s], e;
|
|
2544
|
-
}, {}), this.packets = Object.keys(this.groupedPacketData).map((e) => ({
|
|
2545
|
-
caption: e,
|
|
2546
|
-
snippet: e,
|
|
2547
|
-
meta: "packet"
|
|
2548
|
-
}));
|
|
2549
|
-
});
|
|
2550
|
-
}
|
|
2551
|
-
// Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
|
|
2552
|
-
getCompletions(e, o, r, i, s) {
|
|
2553
|
-
let d = [];
|
|
2554
|
-
const p = o.doc.$lines[r.row].slice(
|
|
2555
|
-
0,
|
|
2556
|
-
r.column
|
|
2557
|
-
);
|
|
2558
|
-
if (this.keywordExpressions.some((c) => p.match(c))) {
|
|
2559
|
-
const c = Object.keys(this.groupedPacketData).find(
|
|
2560
|
-
(b) => p.includes(b)
|
|
2561
|
-
);
|
|
2562
|
-
c ? d = this.groupedPacketData[c] : d = this.packets;
|
|
2563
|
-
}
|
|
2564
|
-
s(null, d);
|
|
2565
|
-
}
|
|
2566
|
-
}
|
|
2567
|
-
const Xe = (t) => {
|
|
2568
|
-
const e = "(^|[{\\(\\s])", o = "((\\s.+)|(\\(.+\\)))";
|
|
2569
|
-
return new RegExp(`${e}${t}${o}`);
|
|
2570
|
-
}, Ti = /\{/, Ii = /['"],\s?['"]/;
|
|
2571
|
-
class Ui {
|
|
2572
|
-
constructor() {
|
|
2573
|
-
this.api = new Ie(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
2574
|
-
e.forEach((o) => {
|
|
2575
|
-
this.targets[o] = {
|
|
2576
|
-
cmd: null,
|
|
2577
|
-
tlm: null
|
|
2578
|
-
};
|
|
2579
|
-
});
|
|
2580
|
-
}), this.cmdKeywordExpressions = [], qe("cmd").then((e) => {
|
|
2581
|
-
this.cmdKeywordExpressions = e.data.map(Xe);
|
|
2582
|
-
}), this.tlmKeywordExpressions = [], qe("tlm").then((e) => {
|
|
2583
|
-
this.tlmKeywordExpressions = e.data.map(Xe);
|
|
2584
|
-
});
|
|
2585
|
-
}
|
|
2586
|
-
async checkText(e) {
|
|
2587
|
-
const { linesToCheck: o, linesToSkip: r } = e.split(`
|
|
2588
|
-
`).reduce(
|
|
2589
|
-
(s, d, p) => {
|
|
2590
|
-
if (d = d.trim(), d.match(/^#/))
|
|
2591
|
-
return s;
|
|
2592
|
-
const c = this.cmdKeywordExpressions.reduce((_, D) => _ || d.match(D), null), b = this.tlmKeywordExpressions.reduce((_, D) => _ || d.match(D), null);
|
|
2593
|
-
if (!c && !b)
|
|
2594
|
-
return s;
|
|
2595
|
-
let S = c || b, V = S.length;
|
|
2596
|
-
S = S[V - 1];
|
|
2597
|
-
const w = S.substring(S.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
2598
|
-
if (w.match(Ti))
|
|
2599
|
-
return s.linesToSkip.push(p + 1), s;
|
|
2600
|
-
const R = !!w.match(Ii), E = w.split(
|
|
2601
|
-
R ? "," : " "
|
|
2602
|
-
);
|
|
2603
|
-
if (E.length < 2)
|
|
2604
|
-
return s;
|
|
2605
|
-
const I = {
|
|
2606
|
-
target: E[0],
|
|
2607
|
-
packet: E[1]
|
|
2608
|
-
};
|
|
2609
|
-
if (b)
|
|
2610
|
-
I.item = E[2];
|
|
2611
|
-
else {
|
|
2612
|
-
const _ = E.slice(2);
|
|
2613
|
-
R ? I.params = _.map(
|
|
2614
|
-
(D) => D.split("=>")[0]
|
|
2615
|
-
) : I.params = _.filter((D, G) => G % 2);
|
|
2616
|
-
}
|
|
2617
|
-
for (const _ in I)
|
|
2618
|
-
typeof I[_] == "string" ? I[_] = I[_].replace(/['"]/g, "").trim() : I[_] = I[_].map(
|
|
2619
|
-
(D) => D.replace(/['"]/g, "").trim()
|
|
2620
|
-
);
|
|
2621
|
-
return s.linesToCheck.push({
|
|
2622
|
-
line: d,
|
|
2623
|
-
mnemonic: I,
|
|
2624
|
-
lineNumber: p + 1
|
|
2625
|
-
}), s;
|
|
2626
|
-
},
|
|
2627
|
-
{ linesToCheck: [], linesToSkip: [] }
|
|
2628
|
-
), i = await this._checkLines(o);
|
|
2629
|
-
return {
|
|
2630
|
-
skipped: r.sort(),
|
|
2631
|
-
problems: i.sort((s, d) => s.lineNumber - d.lineNumber)
|
|
2632
|
-
};
|
|
2633
|
-
}
|
|
2634
|
-
async _checkLines(e) {
|
|
2635
|
-
const o = [], r = Ze(
|
|
2636
|
-
e,
|
|
2637
|
-
(i) => i.mnemonic.target
|
|
2638
|
-
);
|
|
2639
|
-
for (const i in r) {
|
|
2640
|
-
if (!this.targets[i]) {
|
|
2641
|
-
for (const d of r[i])
|
|
2642
|
-
o.push({
|
|
2643
|
-
...d,
|
|
2644
|
-
error: `Target "${i}" does not exist.`
|
|
2645
|
-
});
|
|
2646
|
-
continue;
|
|
2647
|
-
}
|
|
2648
|
-
const s = Ze(
|
|
2649
|
-
r[i],
|
|
2650
|
-
(d) => d.mnemonic.packet
|
|
2651
|
-
);
|
|
2652
|
-
for (const d in s)
|
|
2653
|
-
for (const p of s[d]) {
|
|
2654
|
-
const c = p.mnemonic.item ? "tlm" : "cmd";
|
|
2655
|
-
if (!this.targets[i][c]) {
|
|
2656
|
-
const S = p.mnemonic.item ? "get_all_tlm" : "get_all_cmds", V = await this.api[S](i);
|
|
2657
|
-
this.targets[i][c] = V.reduce(
|
|
2658
|
-
(w, R) => (w[R.packet_name] = R.items.map(
|
|
2659
|
-
(E) => E.name
|
|
2660
|
-
), w),
|
|
2661
|
-
{}
|
|
2662
|
-
);
|
|
2663
|
-
}
|
|
2664
|
-
const b = this.targets[i][c][d];
|
|
2665
|
-
if (!b) {
|
|
2666
|
-
o.push({
|
|
2667
|
-
...p,
|
|
2668
|
-
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
2669
|
-
});
|
|
2670
|
-
continue;
|
|
2671
|
-
}
|
|
2672
|
-
if (p.mnemonic.item) {
|
|
2673
|
-
if (!b.some((S) => S === p.mnemonic.item)) {
|
|
2674
|
-
o.push({
|
|
2675
|
-
...p,
|
|
2676
|
-
error: `Item "${i} ${d} ${p.mnemonic.item}" does not exist.`
|
|
2677
|
-
});
|
|
2678
|
-
continue;
|
|
2679
|
-
}
|
|
2680
|
-
} else
|
|
2681
|
-
for (const S of p.mnemonic.params)
|
|
2682
|
-
if (!b.some((V) => V === S)) {
|
|
2683
|
-
o.push({
|
|
2684
|
-
...p,
|
|
2685
|
-
error: `Command "${i} ${d}" param "${S}" does not exist.`
|
|
2686
|
-
});
|
|
2687
|
-
continue;
|
|
2688
|
-
}
|
|
2689
|
-
}
|
|
2690
|
-
}
|
|
2691
|
-
return o;
|
|
2692
|
-
}
|
|
2693
|
-
}
|
|
2694
|
-
var ee, ve, _e, be, we, Me, ye, ke, Te;
|
|
2695
|
-
class Di {
|
|
2696
|
-
constructor(e, { pattern: o, text: r, type: i }) {
|
|
2636
|
+
const Mi = /* @__PURE__ */ J(Ei, [["render", Oi], ["__scopeId", "data-v-6be22c34"]]);
|
|
2637
|
+
var te, ve, _e, be, we, Me, ye, ke, Te;
|
|
2638
|
+
class Ti {
|
|
2639
|
+
constructor(e, { pattern: o, text: a, type: i }) {
|
|
2697
2640
|
// TODO: the eslint parser errors on these because of the #
|
|
2698
2641
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2642
|
+
Z(this, te);
|
|
2643
|
+
Z(this, ve);
|
|
2644
|
+
Z(this, _e);
|
|
2645
|
+
Z(this, be);
|
|
2646
|
+
Z(this, we);
|
|
2704
2647
|
// Re-annotate the entire document
|
|
2705
2648
|
Ne(this, "refresh", () => {
|
|
2706
|
-
const e =
|
|
2707
|
-
|
|
2649
|
+
const e = q(this, ve).session;
|
|
2650
|
+
q(this, Te).call(this, e);
|
|
2708
2651
|
const o = {
|
|
2709
2652
|
lines: e.doc.$lines,
|
|
2710
2653
|
action: "insert",
|
|
@@ -2715,87 +2658,87 @@ class Di {
|
|
|
2715
2658
|
});
|
|
2716
2659
|
// Update annotations for the changed lines
|
|
2717
2660
|
Ne(this, "annotate", (e, o) => {
|
|
2718
|
-
var
|
|
2661
|
+
var a, i;
|
|
2719
2662
|
if (e.lines.length > 1)
|
|
2720
2663
|
switch (e.action) {
|
|
2721
2664
|
case "insert":
|
|
2722
|
-
|
|
2665
|
+
q(this, ke).call(this, o, e.start.row, e.lines.length - 1);
|
|
2723
2666
|
break;
|
|
2724
2667
|
case "remove":
|
|
2725
|
-
|
|
2668
|
+
q(this, ke).call(this, o, e.start.row + 1, -e.lines.length + 1);
|
|
2726
2669
|
break;
|
|
2727
2670
|
}
|
|
2728
|
-
for (let
|
|
2729
|
-
let d = (i = (
|
|
2730
|
-
d !== void 0 ? (d !== 0 && (d += 1),
|
|
2731
|
-
row:
|
|
2671
|
+
for (let n = e.start.row; n <= e.end.row; n++) {
|
|
2672
|
+
let d = (i = (a = o.doc.$lines[n]) == null ? void 0 : a.match(q(this, _e))) == null ? void 0 : i.index;
|
|
2673
|
+
d !== void 0 ? (d !== 0 && (d += 1), q(this, Me).call(this, o, {
|
|
2674
|
+
row: n,
|
|
2732
2675
|
column: d,
|
|
2733
2676
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2734
|
-
text:
|
|
2735
|
-
type:
|
|
2736
|
-
openc3Id:
|
|
2737
|
-
})) : e.action === "remove" &&
|
|
2677
|
+
text: q(this, be),
|
|
2678
|
+
type: q(this, we),
|
|
2679
|
+
openc3Id: q(this, te)
|
|
2680
|
+
})) : e.action === "remove" && q(this, ye).call(this, o, n);
|
|
2738
2681
|
}
|
|
2739
2682
|
});
|
|
2740
|
-
|
|
2741
|
-
|
|
2683
|
+
Z(this, Me, (e, o) => {
|
|
2684
|
+
q(this, ye).call(this, e, o.row), e.setAnnotations([...e.getAnnotations(), o]);
|
|
2742
2685
|
});
|
|
2743
|
-
|
|
2686
|
+
Z(this, ye, (e, o) => {
|
|
2744
2687
|
e.setAnnotations(
|
|
2745
2688
|
e.getAnnotations().filter(
|
|
2746
|
-
(
|
|
2689
|
+
(a) => a.openc3Id !== q(this, te) || a.row !== o
|
|
2747
2690
|
)
|
|
2748
2691
|
);
|
|
2749
2692
|
});
|
|
2750
|
-
|
|
2693
|
+
Z(this, ke, (e, o, a) => {
|
|
2751
2694
|
e.setAnnotations(
|
|
2752
|
-
e.getAnnotations().map((i) => (i.row > o && (i.row +=
|
|
2695
|
+
e.getAnnotations().map((i) => (i.row > o && (i.row += a), i))
|
|
2753
2696
|
);
|
|
2754
2697
|
});
|
|
2755
|
-
|
|
2698
|
+
Z(this, Te, (e) => {
|
|
2756
2699
|
e.setAnnotations(
|
|
2757
|
-
e.getAnnotations().filter((o) => o.openc3Id !==
|
|
2700
|
+
e.getAnnotations().filter((o) => o.openc3Id !== q(this, te))
|
|
2758
2701
|
);
|
|
2759
2702
|
});
|
|
2760
|
-
ne(this,
|
|
2703
|
+
ne(this, te, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ve, e), ne(this, _e, o), ne(this, be, a), ne(this, we, i);
|
|
2761
2704
|
}
|
|
2762
2705
|
}
|
|
2763
|
-
|
|
2764
|
-
class
|
|
2706
|
+
te = 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();
|
|
2707
|
+
class Ii extends Ti {
|
|
2765
2708
|
constructor(e) {
|
|
2766
|
-
const o = "(^|[{\\s])",
|
|
2709
|
+
const o = "(^|[{\\s])", a = "sleep", i = "[\\(\\s]";
|
|
2767
2710
|
super(e, {
|
|
2768
|
-
pattern: new RegExp(`${o}${
|
|
2711
|
+
pattern: new RegExp(`${o}${a}${i}`),
|
|
2769
2712
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2770
2713
|
// because we override wait to make it work better, but not sleep
|
|
2771
2714
|
type: "warning"
|
|
2772
2715
|
});
|
|
2773
2716
|
}
|
|
2774
2717
|
}
|
|
2775
|
-
const Qe = "__TEMP__",
|
|
2718
|
+
const Qe = "__TEMP__", W = "<Untitled>", Ge = "Start", Ui = "Go", he = "Pause", Pi = "Retry", Di = {
|
|
2776
2719
|
components: {
|
|
2777
|
-
FileOpenSaveDialog:
|
|
2778
|
-
Openc3Screen:
|
|
2779
|
-
EnvironmentDialog:
|
|
2780
|
-
Splitpanes:
|
|
2781
|
-
Pane:
|
|
2782
|
-
TopBar:
|
|
2783
|
-
AskDialog:
|
|
2784
|
-
FileDialog:
|
|
2785
|
-
InformationDialog:
|
|
2786
|
-
EventListDialog:
|
|
2787
|
-
OverridesDialog:
|
|
2788
|
-
PromptDialog:
|
|
2789
|
-
ResultsDialog:
|
|
2790
|
-
ScriptEnvironmentDialog:
|
|
2791
|
-
SimpleTextDialog:
|
|
2792
|
-
SuiteRunner:
|
|
2793
|
-
RunningScripts:
|
|
2794
|
-
ScriptLogMessages:
|
|
2795
|
-
CriticalCmdDialog:
|
|
2796
|
-
CommandEditor:
|
|
2720
|
+
FileOpenSaveDialog: xt,
|
|
2721
|
+
Openc3Screen: St,
|
|
2722
|
+
EnvironmentDialog: kt,
|
|
2723
|
+
Splitpanes: Nt,
|
|
2724
|
+
Pane: Ht,
|
|
2725
|
+
TopBar: vt,
|
|
2726
|
+
AskDialog: Wt,
|
|
2727
|
+
FileDialog: $t,
|
|
2728
|
+
InformationDialog: oi,
|
|
2729
|
+
EventListDialog: Ot,
|
|
2730
|
+
OverridesDialog: di,
|
|
2731
|
+
PromptDialog: _i,
|
|
2732
|
+
ResultsDialog: ki,
|
|
2733
|
+
ScriptEnvironmentDialog: Vi,
|
|
2734
|
+
SimpleTextDialog: Et,
|
|
2735
|
+
SuiteRunner: Mi,
|
|
2736
|
+
RunningScripts: Lt,
|
|
2737
|
+
ScriptLogMessages: Bt,
|
|
2738
|
+
CriticalCmdDialog: yt,
|
|
2739
|
+
CommandEditor: bt
|
|
2797
2740
|
},
|
|
2798
|
-
mixins: [
|
|
2741
|
+
mixins: [ht, Rt],
|
|
2799
2742
|
beforeRouteUpdate: function(t, e, o) {
|
|
2800
2743
|
t.params.id ? this.tryLoadRunningScript(t.params.id).then(o) : o();
|
|
2801
2744
|
},
|
|
@@ -2811,7 +2754,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2811
2754
|
},
|
|
2812
2755
|
emits: ["alert", "script-id"],
|
|
2813
2756
|
setup() {
|
|
2814
|
-
return { containerHeight:
|
|
2757
|
+
return { containerHeight: gt() };
|
|
2815
2758
|
},
|
|
2816
2759
|
data() {
|
|
2817
2760
|
return {
|
|
@@ -2858,7 +2801,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2858
2801
|
files: {},
|
|
2859
2802
|
breakpoints: {},
|
|
2860
2803
|
enableStackTraces: !1,
|
|
2861
|
-
filename:
|
|
2804
|
+
filename: W,
|
|
2862
2805
|
readOnlyUser: !1,
|
|
2863
2806
|
executeUser: !0,
|
|
2864
2807
|
saveAllowed: !0,
|
|
@@ -2933,7 +2876,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2933
2876
|
executeSelectionMenu: !1,
|
|
2934
2877
|
menuX: 0,
|
|
2935
2878
|
menuY: 0,
|
|
2936
|
-
mnemonicChecker: new
|
|
2879
|
+
mnemonicChecker: new It(),
|
|
2937
2880
|
showScripts: !1,
|
|
2938
2881
|
showOverrides: !1,
|
|
2939
2882
|
overridesCount: 0,
|
|
@@ -2985,13 +2928,13 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2985
2928
|
},
|
|
2986
2929
|
// Returns the currently shown filename
|
|
2987
2930
|
fullFilename: function() {
|
|
2988
|
-
return this.currentFilename ? this.currentFilename : this.filename ===
|
|
2931
|
+
return this.currentFilename ? this.currentFilename : this.filename === W ? W : `${this.filename} ${this.fileModified}`.trim();
|
|
2989
2932
|
},
|
|
2990
2933
|
// It's annoying for people (and tests) to clear the <Untitled>
|
|
2991
2934
|
// when saving a new file so replace with blank
|
|
2992
2935
|
// This makes sure that string doesn't show up in the dialog
|
|
2993
2936
|
filenameOrBlank: function() {
|
|
2994
|
-
return this.filename ===
|
|
2937
|
+
return this.filename === W ? "" : this.filename;
|
|
2995
2938
|
},
|
|
2996
2939
|
menus: function() {
|
|
2997
2940
|
return [
|
|
@@ -3237,13 +3180,13 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3237
3180
|
},
|
|
3238
3181
|
watch: {
|
|
3239
3182
|
isLocked: function(t) {
|
|
3240
|
-
this.showEditingToast = t, this.suiteRunner || (this.startOrGoDisabled = t), this.readOnlyUser == !1 && t == !1 ? this.editor.setReadOnly(t) : this.editor.setReadOnly(!0);
|
|
3183
|
+
this.showEditingToast = t, this.suiteRunner || (this.startOrGoDisabled = t), this.readOnlyUser == !1 && t == !1 && !this.inline ? this.editor.setReadOnly(t) : this.editor.setReadOnly(!0);
|
|
3241
3184
|
},
|
|
3242
3185
|
fullFilename: function(t) {
|
|
3243
|
-
this.filenameSelect = t, this.inline || (t ===
|
|
3186
|
+
this.filenameSelect = t, this.inline || (t === W ? localStorage.removeItem("script_runner__filename") : localStorage.script_runner__filename = t);
|
|
3244
3187
|
},
|
|
3245
3188
|
readOnlyUser: function(t) {
|
|
3246
|
-
this.editor && (t ? (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none") : (this.editor.setReadOnly(!1), this.editor.renderer.$cursorLayer.element.style.display = null));
|
|
3189
|
+
this.editor && (t ? (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none") : (this.inline || this.editor.setReadOnly(!1), this.editor.renderer.$cursorLayer.element.style.display = null));
|
|
3247
3190
|
},
|
|
3248
3191
|
showOverrides: function(t, e) {
|
|
3249
3192
|
e && !t && this.updateOverridesCount();
|
|
@@ -3253,14 +3196,14 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3253
3196
|
this.api = new Ie(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((o) => {
|
|
3254
3197
|
o && (this.timeZone = o);
|
|
3255
3198
|
}).catch((o) => {
|
|
3256
|
-
}), this.updateOverridesCount(), this.NEW_FILENAME =
|
|
3199
|
+
}), this.updateOverridesCount(), this.NEW_FILENAME = W;
|
|
3257
3200
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3258
3201
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3259
3202
|
for (let o of e)
|
|
3260
|
-
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((
|
|
3261
|
-
|
|
3203
|
+
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((a) => {
|
|
3204
|
+
a.data !== null && a.data.permissions !== void 0 && (a.data.permissions.some(
|
|
3262
3205
|
(i) => i.permission == "script_edit"
|
|
3263
|
-
) && (this.readOnlyUser = !1),
|
|
3206
|
+
) && (this.readOnlyUser = !1), a.data.permissions.some(
|
|
3264
3207
|
(i) => i.permission == "script_run"
|
|
3265
3208
|
) && (this.executeUser = !0));
|
|
3266
3209
|
}));
|
|
@@ -3278,19 +3221,19 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3278
3221
|
}), this.inline && (this.readOnly = !0);
|
|
3279
3222
|
},
|
|
3280
3223
|
mounted: async function() {
|
|
3281
|
-
var i,
|
|
3224
|
+
var i, n;
|
|
3282
3225
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3283
3226
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
3284
|
-
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
|
|
3285
|
-
const
|
|
3286
|
-
this.editor.session.on("change", (d,
|
|
3287
|
-
|
|
3288
|
-
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), this.cable = new
|
|
3227
|
+
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 Ct(), new Vt()], 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.inline) && (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none");
|
|
3228
|
+
const a = new Ii(this.editor);
|
|
3229
|
+
this.editor.session.on("change", (d, h) => {
|
|
3230
|
+
a.annotate(d, h), this.updateBreakpoints(d, h);
|
|
3231
|
+
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), this.cable = new st("/script-api/cable"), !this.inline && localStorage.script_runner__recent && (this.recent = JSON.parse(localStorage.script_runner__recent), this.recent = this.recent.map((d) => ({
|
|
3289
3232
|
...d,
|
|
3290
|
-
command: async (
|
|
3291
|
-
this.filename =
|
|
3233
|
+
command: async (h) => {
|
|
3234
|
+
this.filename = h.label, await this.reloadFile();
|
|
3292
3235
|
}
|
|
3293
|
-
}))), 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()) : (
|
|
3236
|
+
}))), 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()) : (n = this.$route.params) != null && n.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 () => {
|
|
3294
3237
|
this.processReceived();
|
|
3295
3238
|
}, 100);
|
|
3296
3239
|
},
|
|
@@ -3330,9 +3273,9 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3330
3273
|
return;
|
|
3331
3274
|
}
|
|
3332
3275
|
if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
|
|
3333
|
-
const o = this.editor.session.getLine(this.commandEditor.editLine),
|
|
3276
|
+
const o = this.editor.session.getLine(this.commandEditor.editLine), a = o.match(/^\s*/)[0], i = o.match(/\s+#.*$/), n = i ? i[0] : "", d = `${a}cmd("${e}")${n}`, h = this.Range;
|
|
3334
3277
|
this.editor.session.replace(
|
|
3335
|
-
new
|
|
3278
|
+
new h(
|
|
3336
3279
|
this.commandEditor.editLine,
|
|
3337
3280
|
0,
|
|
3338
3281
|
this.commandEditor.editLine,
|
|
@@ -3455,21 +3398,21 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3455
3398
|
if (t.lines.length <= 1)
|
|
3456
3399
|
return;
|
|
3457
3400
|
const o = this.getBreakpointRows(e).filter(
|
|
3458
|
-
(
|
|
3401
|
+
(n) => t.start.column === 0 && n === t.start.row || n > t.start.row
|
|
3459
3402
|
);
|
|
3460
|
-
let
|
|
3403
|
+
let a = [], i = 0;
|
|
3461
3404
|
switch (t.action) {
|
|
3462
3405
|
case "insert":
|
|
3463
3406
|
i = t.lines.length - 1, o.reverse();
|
|
3464
3407
|
break;
|
|
3465
3408
|
case "remove":
|
|
3466
|
-
i = -t.lines.length + 1,
|
|
3467
|
-
(
|
|
3409
|
+
i = -t.lines.length + 1, a = [...Array(t.lines.length).keys()].map(
|
|
3410
|
+
(n) => n + t.start.row
|
|
3468
3411
|
);
|
|
3469
3412
|
break;
|
|
3470
3413
|
}
|
|
3471
|
-
o.forEach((
|
|
3472
|
-
e.clearBreakpoint(
|
|
3414
|
+
o.forEach((n) => {
|
|
3415
|
+
e.clearBreakpoint(n), a.includes(n) || e.setBreakpoint(n + i);
|
|
3473
3416
|
});
|
|
3474
3417
|
},
|
|
3475
3418
|
getBreakpointRows: function(t = this.editor.session) {
|
|
@@ -3500,7 +3443,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3500
3443
|
},
|
|
3501
3444
|
checkMnemonics: function() {
|
|
3502
3445
|
let t = this.filename;
|
|
3503
|
-
this.filename !==
|
|
3446
|
+
this.filename !== W && (t.endsWith(".rb") || t.endsWith(".py") || O.post(`/script-api/scripts/${this.filename}/mnemonics`, {
|
|
3504
3447
|
data: this.editor.getValue(),
|
|
3505
3448
|
headers: {
|
|
3506
3449
|
Accept: "application/json",
|
|
@@ -3510,16 +3453,16 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3510
3453
|
let o = "";
|
|
3511
3454
|
o += `<strong>${e.data.title}</strong><br/><br/>`, o += JSON.parse(e.data.description), this.$dialog.alert(o.trim(), { html: !0 });
|
|
3512
3455
|
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: o }) => {
|
|
3513
|
-
let
|
|
3456
|
+
let a = "";
|
|
3514
3457
|
if (o.length) {
|
|
3515
|
-
const i = o.map((
|
|
3516
|
-
|
|
3458
|
+
const i = o.map((n) => `${n.lineNumber}: ${n.error}`).join("<br/>");
|
|
3459
|
+
a += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3517
3460
|
}
|
|
3518
|
-
e.length && (
|
|
3461
|
+
e.length && (a += "<strong>Mnemonics with string interpolation were not checked.</strong>"), a === "" && (a = "<strong>Everything looks good!</strong>"), this.$dialog.alert(a.trim(), { html: !0 });
|
|
3519
3462
|
});
|
|
3520
3463
|
},
|
|
3521
3464
|
initScriptStart() {
|
|
3522
|
-
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton =
|
|
3465
|
+
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = Ui, this.editor.setReadOnly(!0);
|
|
3523
3466
|
},
|
|
3524
3467
|
scriptStart(t) {
|
|
3525
3468
|
this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
|
|
@@ -3536,7 +3479,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3536
3479
|
});
|
|
3537
3480
|
},
|
|
3538
3481
|
async scriptComplete() {
|
|
3539
|
-
this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton = Ge, this.pauseOrRetryButton = he, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.updateOverridesCount();
|
|
3482
|
+
this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && !this.inline && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton = Ge, this.pauseOrRetryButton = he, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.updateOverridesCount();
|
|
3540
3483
|
},
|
|
3541
3484
|
environmentHandler: function(t) {
|
|
3542
3485
|
this.scriptEnvironment.env = t;
|
|
@@ -3544,21 +3487,21 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3544
3487
|
startHandler: function() {
|
|
3545
3488
|
this.start();
|
|
3546
3489
|
},
|
|
3547
|
-
async start(t = null, e = null, o = null,
|
|
3490
|
+
async start(t = null, e = null, o = null, a = null) {
|
|
3548
3491
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3549
3492
|
let i = this.filename;
|
|
3550
|
-
this.filename ===
|
|
3551
|
-
let
|
|
3552
|
-
this.showDisconnect && (
|
|
3493
|
+
this.filename === W && (i = this.tempFilename);
|
|
3494
|
+
let n = `/script-api/scripts/${i}/run`;
|
|
3495
|
+
this.showDisconnect && (n += "/disconnect");
|
|
3553
3496
|
let d = this.scriptEnvironment.env;
|
|
3554
3497
|
this.enableStackTraces && (d = d.concat({
|
|
3555
3498
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3556
3499
|
value: "1"
|
|
3557
3500
|
}));
|
|
3558
|
-
let
|
|
3501
|
+
let h = {
|
|
3559
3502
|
environment: d
|
|
3560
3503
|
};
|
|
3561
|
-
e && (
|
|
3504
|
+
e && (h.suiteRunner = t), o !== null && (h.line_no = o), a !== null && (h.end_line_no = a), O.post(n, { data: h }).then((c) => {
|
|
3562
3505
|
this.scriptStart(c.data);
|
|
3563
3506
|
}).catch((c) => {
|
|
3564
3507
|
this.scriptComplete();
|
|
@@ -3610,7 +3553,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3610
3553
|
), this.editor.gotoLine(t.line_no), this.files[t.filename].lineNo = t.line_no;
|
|
3611
3554
|
break;
|
|
3612
3555
|
case "error":
|
|
3613
|
-
this.pauseOrRetryButton =
|
|
3556
|
+
this.pauseOrRetryButton = Pi;
|
|
3614
3557
|
// Deliberate fall through (no break)
|
|
3615
3558
|
case "spawning":
|
|
3616
3559
|
// wait for script to be spawned
|
|
@@ -3620,15 +3563,15 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3620
3563
|
case "waiting":
|
|
3621
3564
|
case "breakpoint":
|
|
3622
3565
|
if (this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, Object.keys(e).filter(
|
|
3623
|
-
(
|
|
3566
|
+
(a) => e[a].clazz === `${this.state}Marker`
|
|
3624
3567
|
).length === 0) {
|
|
3625
3568
|
this.removeAllMarkers();
|
|
3626
|
-
let
|
|
3569
|
+
let a = t.line_no > 0 ? t.line_no : 1;
|
|
3627
3570
|
this.editor.session.addMarker(
|
|
3628
|
-
new this.Range(
|
|
3571
|
+
new this.Range(a - 1, 0, a - 1, 1),
|
|
3629
3572
|
`${this.state}Marker`,
|
|
3630
3573
|
"fullLine"
|
|
3631
|
-
), this.editor.gotoLine(
|
|
3574
|
+
), this.editor.gotoLine(a), t.filename && (this.files[t.filename].lineNo = a);
|
|
3632
3575
|
}
|
|
3633
3576
|
break;
|
|
3634
3577
|
case "completed":
|
|
@@ -3653,11 +3596,11 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3653
3596
|
this.processLine(e);
|
|
3654
3597
|
break;
|
|
3655
3598
|
case "output":
|
|
3656
|
-
let
|
|
3657
|
-
|
|
3658
|
-
for (const
|
|
3599
|
+
let a = e.line;
|
|
3600
|
+
a == null ? a = "" : typeof a == "object" ? a = JSON.stringify(a) : a = String(a);
|
|
3601
|
+
for (const h of a.split(`
|
|
3659
3602
|
`))
|
|
3660
|
-
|
|
3603
|
+
h && (this.messagesNewestOnTop ? this.messages.unshift({ message: h }) : this.messages.push({ message: h }));
|
|
3661
3604
|
for (; this.messages.length > this.maxArrayLength; )
|
|
3662
3605
|
this.messages.pop();
|
|
3663
3606
|
break;
|
|
@@ -3674,15 +3617,15 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3674
3617
|
this.showDebug = !0;
|
|
3675
3618
|
break;
|
|
3676
3619
|
case "screen":
|
|
3677
|
-
let i = !1,
|
|
3620
|
+
let i = !1, n = {};
|
|
3678
3621
|
for (screen of this.screens) {
|
|
3679
3622
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3680
|
-
|
|
3623
|
+
n = screen, i = !0;
|
|
3681
3624
|
break;
|
|
3682
3625
|
}
|
|
3683
3626
|
o += 1;
|
|
3684
3627
|
}
|
|
3685
|
-
|
|
3628
|
+
n.target = e.target_name, n.screen = e.screen_name, n.definition = e.definition, e.x ? n.left = e.x : n.left = 0, e.y ? n.top = e.y : n.top = 0, n.count = this.updateCounter++, i ? this.screens[o] = n : (n.id = this.idCounter++, this.screens[this.screens.length] = n);
|
|
3686
3629
|
break;
|
|
3687
3630
|
case "clearscreen":
|
|
3688
3631
|
for (screen of this.screens) {
|
|
@@ -3785,22 +3728,22 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3785
3728
|
},
|
|
3786
3729
|
async fileDialogCallback(t) {
|
|
3787
3730
|
let e = "Cancel", o = [];
|
|
3788
|
-
t != "Cancel" && (e = [], t.forEach((
|
|
3789
|
-
e.push(
|
|
3731
|
+
t != "Cancel" && (e = [], t.forEach((a) => {
|
|
3732
|
+
e.push(a.name), o.push(
|
|
3790
3733
|
O.get(
|
|
3791
3734
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3792
|
-
`${window.openc3Scope}/tmp/${
|
|
3735
|
+
`${window.openc3Scope}/tmp/${a.name}`
|
|
3793
3736
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3794
3737
|
).then((i) => {
|
|
3795
3738
|
o.push(
|
|
3796
|
-
|
|
3739
|
+
ft({
|
|
3797
3740
|
...i.data,
|
|
3798
|
-
data:
|
|
3741
|
+
data: a
|
|
3799
3742
|
})
|
|
3800
3743
|
);
|
|
3801
3744
|
})
|
|
3802
3745
|
);
|
|
3803
|
-
})), Promise.all(o).then((
|
|
3746
|
+
})), Promise.all(o).then((a) => {
|
|
3804
3747
|
O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3805
3748
|
data: {
|
|
3806
3749
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
@@ -3829,7 +3772,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3829
3772
|
await this.confirmUnsavedChanges() && this.newFile();
|
|
3830
3773
|
},
|
|
3831
3774
|
newFile() {
|
|
3832
|
-
this.unlockFile(), this.filename =
|
|
3775
|
+
this.unlockFile(), this.filename = W, this.currentFilename = null, this.tempFilename = null, this.files = {}, this.editor.session.setValue(""), this.saveAllowed = !0, this.fileModified = "", this.suiteRunner = !1, this.startOrGoDisabled = !1, this.envDisabled = !1, this.inline || (this.$router.replace({
|
|
3833
3776
|
name: "ScriptRunner"
|
|
3834
3777
|
}).catch((t) => {
|
|
3835
3778
|
}), document.title = "Script Runner"), this.doResize();
|
|
@@ -3922,7 +3865,7 @@ class TestSuite(Suite):
|
|
|
3922
3865
|
let e = this.recent.findIndex((o) => o.label === t);
|
|
3923
3866
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3924
3867
|
label: t,
|
|
3925
|
-
icon:
|
|
3868
|
+
icon: wt(t),
|
|
3926
3869
|
command: async (o) => {
|
|
3927
3870
|
await this.confirmUnsavedChanges() && (this.filename = o.label, await this.reloadFile());
|
|
3928
3871
|
}
|
|
@@ -3949,8 +3892,8 @@ class TestSuite(Suite):
|
|
|
3949
3892
|
contents: e.data.contents
|
|
3950
3893
|
};
|
|
3951
3894
|
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);
|
|
3952
|
-
const
|
|
3953
|
-
this.setFile({ file: o, locked:
|
|
3895
|
+
const a = e.data.locked, i = e.data.breakpoints;
|
|
3896
|
+
this.setFile({ file: o, locked: a, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3954
3897
|
}).catch((e) => {
|
|
3955
3898
|
t === !0 && this.$notify.caution({
|
|
3956
3899
|
title: "File Open Error",
|
|
@@ -3959,10 +3902,10 @@ class TestSuite(Suite):
|
|
|
3959
3902
|
});
|
|
3960
3903
|
},
|
|
3961
3904
|
// Called by the FileOpenDialog to set the file contents
|
|
3962
|
-
setFile({ file: t, locked: e, breakpoints: o },
|
|
3905
|
+
setFile({ file: t, locked: e, breakpoints: o }, a = !1) {
|
|
3963
3906
|
this.files = {};
|
|
3964
3907
|
let i = t.name.split("*")[0];
|
|
3965
|
-
if (
|
|
3908
|
+
if (a === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
3966
3909
|
this.$router.replace({
|
|
3967
3910
|
name: "ScriptRunner",
|
|
3968
3911
|
query: {
|
|
@@ -3970,8 +3913,8 @@ class TestSuite(Suite):
|
|
|
3970
3913
|
}
|
|
3971
3914
|
}).catch((d) => {
|
|
3972
3915
|
});
|
|
3973
|
-
let
|
|
3974
|
-
document.title = `${
|
|
3916
|
+
let n = this.filename.split("/");
|
|
3917
|
+
document.title = `${n.pop()} (${n.join("/")})`;
|
|
3975
3918
|
}
|
|
3976
3919
|
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();
|
|
3977
3920
|
},
|
|
@@ -3981,20 +3924,20 @@ class TestSuite(Suite):
|
|
|
3981
3924
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3982
3925
|
},
|
|
3983
3926
|
detectLanguage() {
|
|
3984
|
-
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), o = new RegExp("^\\s*end\\s*$"),
|
|
3927
|
+
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), o = new RegExp("^\\s*end\\s*$"), a = new RegExp(
|
|
3985
3928
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3986
|
-
), i = /\(f"/,
|
|
3929
|
+
), i = /\(f"/, n = /\(.*\w+:\s+.+\)(?!:)$/, h = this.editor.getValue().split(`
|
|
3987
3930
|
`);
|
|
3988
|
-
for (let c of
|
|
3931
|
+
for (let c of h) {
|
|
3989
3932
|
if (c.match(t))
|
|
3990
3933
|
return "ruby";
|
|
3991
3934
|
if (c.match(e))
|
|
3992
3935
|
return "python";
|
|
3993
3936
|
if (c.match(o))
|
|
3994
3937
|
return "ruby";
|
|
3995
|
-
if (c.match(
|
|
3938
|
+
if (c.match(a) || c.match(i))
|
|
3996
3939
|
return "python";
|
|
3997
|
-
if (c.match(
|
|
3940
|
+
if (c.match(n))
|
|
3998
3941
|
return "ruby";
|
|
3999
3942
|
}
|
|
4000
3943
|
return "unknown";
|
|
@@ -4005,7 +3948,7 @@ class TestSuite(Suite):
|
|
|
4005
3948
|
if (!this.readOnlyUser)
|
|
4006
3949
|
if (this.saveAllowed) {
|
|
4007
3950
|
const e = this.getBreakpointRows();
|
|
4008
|
-
if (this.filename ===
|
|
3951
|
+
if (this.filename === W) {
|
|
4009
3952
|
if (t === "menu") {
|
|
4010
3953
|
this.saveAs();
|
|
4011
3954
|
return;
|
|
@@ -4126,7 +4069,7 @@ class TestSuite(Suite):
|
|
|
4126
4069
|
return O.post(`/script-api/scripts/${this.filename}/lock`);
|
|
4127
4070
|
},
|
|
4128
4071
|
unlockFile: function() {
|
|
4129
|
-
this.filename !==
|
|
4072
|
+
this.filename !== W && !this.readOnly && !this.readOnlyUser && O.post(`/script-api/scripts/${this.filename}/unlock`);
|
|
4130
4073
|
},
|
|
4131
4074
|
backToNewScript: async function() {
|
|
4132
4075
|
this.scriptDisconnect(), this.removeAllMarkers(), await this.scriptComplete(), this.newFile();
|
|
@@ -4145,37 +4088,37 @@ class TestSuite(Suite):
|
|
|
4145
4088
|
}
|
|
4146
4089
|
}
|
|
4147
4090
|
}
|
|
4148
|
-
},
|
|
4091
|
+
}, zi = { class: "grid" }, Li = ["id"], Ai = { class: "item-content" }, Fi = { id: "sr-controls" }, Bi = { class: "d-flex align-center mr-1" }, Ni = { key: 0 }, Hi = { key: 1 }, Gi = {
|
|
4149
4092
|
key: 2,
|
|
4150
4093
|
style: { width: "40px", height: "40px" },
|
|
4151
4094
|
class: "mx-2"
|
|
4152
|
-
},
|
|
4095
|
+
}, qi = { key: 3 }, Ki = { key: 4 }, ji = {
|
|
4153
4096
|
key: 0,
|
|
4154
4097
|
id: "debug",
|
|
4155
4098
|
class: "pa-0"
|
|
4156
|
-
},
|
|
4099
|
+
}, Wi = {
|
|
4157
4100
|
key: 1,
|
|
4158
4101
|
style: { "background-color": "var(--color-background-base-default)", margin: "0px", padding: "0px" }
|
|
4159
|
-
},
|
|
4102
|
+
}, Ji = { key: 0 }, Yi = { key: 1 }, Zi = { style: { height: "200px", overflow: "hidden" } }, Xi = {
|
|
4160
4103
|
key: 0,
|
|
4161
4104
|
class: "error-message"
|
|
4162
|
-
},
|
|
4163
|
-
function
|
|
4164
|
-
const d =
|
|
4165
|
-
return
|
|
4166
|
-
o.inline ? (
|
|
4167
|
-
|
|
4105
|
+
}, Qi = { class: "flex-grow-1" };
|
|
4106
|
+
function $i(t, e, o, a, i, n) {
|
|
4107
|
+
const d = r("top-bar"), h = r("v-icon"), c = r("v-btn"), _ = r("v-snackbar"), S = r("openc3-screen"), C = r("suite-runner"), b = r("v-tooltip"), E = r("v-select"), R = r("v-text-field"), U = r("v-progress-circular"), k = r("v-spacer"), L = r("v-badge"), A = r("v-row"), z = r("v-card-text"), B = r("v-card"), H = r("v-list-item"), ie = r("v-divider"), I = r("v-list"), G = r("v-menu"), ue = r("pane"), $ = r("script-log-messages"), Ue = r("splitpanes"), xe = r("v-tab"), Pe = r("v-tabs"), ce = r("v-col"), Ce = r("v-tabs-window-item"), se = r("v-tabs-window"), Ve = r("file-open-save-dialog"), De = r("environment-dialog"), ze = r("ask-dialog"), me = r("file-dialog"), Le = r("information-dialog"), Ae = r("event-list-dialog"), Fe = r("overrides-dialog"), pe = r("prompt-dialog"), K = r("results-dialog"), Be = r("script-environment-dialog"), u = r("simple-text-dialog"), p = r("critical-cmd-dialog"), v = r("v-card-title"), f = r("command-editor"), g = r("v-card-actions"), V = r("v-dialog"), M = r("running-scripts"), N = r("v-sheet"), j = r("v-bottom-sheet");
|
|
4108
|
+
return w(), D(ge, null, [
|
|
4109
|
+
o.inline ? (w(), D("div", Wi, [
|
|
4110
|
+
s(Pe, {
|
|
4168
4111
|
modelValue: i.inlineTab,
|
|
4169
4112
|
"onUpdate:modelValue": e[16] || (e[16] = (m) => i.inlineTab = m),
|
|
4170
4113
|
density: "compact"
|
|
4171
4114
|
}, {
|
|
4172
4115
|
default: l(() => [
|
|
4173
|
-
|
|
4116
|
+
s(xe, {
|
|
4174
4117
|
value: "script",
|
|
4175
4118
|
text: "Script",
|
|
4176
4119
|
"data-test": "script-tab"
|
|
4177
4120
|
}),
|
|
4178
|
-
|
|
4121
|
+
s(xe, {
|
|
4179
4122
|
value: "messages",
|
|
4180
4123
|
text: "Messages",
|
|
4181
4124
|
"data-test": "messages-tab"
|
|
@@ -4183,16 +4126,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4183
4126
|
]),
|
|
4184
4127
|
_: 1
|
|
4185
4128
|
}, 8, ["modelValue"]),
|
|
4186
|
-
|
|
4129
|
+
s(se, {
|
|
4187
4130
|
modelValue: i.inlineTab,
|
|
4188
4131
|
"onUpdate:modelValue": e[19] || (e[19] = (m) => i.inlineTab = m)
|
|
4189
4132
|
}, {
|
|
4190
4133
|
default: l(() => [
|
|
4191
|
-
|
|
4134
|
+
s(Ce, { value: "script" }, {
|
|
4192
4135
|
default: l(() => [
|
|
4193
|
-
|
|
4136
|
+
s(A, null, {
|
|
4194
4137
|
default: l(() => [
|
|
4195
|
-
|
|
4138
|
+
s(ce, {
|
|
4196
4139
|
class: "v-col-10",
|
|
4197
4140
|
style: { margin: "15px 0px 0px 0px", padding: "0px" }
|
|
4198
4141
|
}, {
|
|
@@ -4201,50 +4144,50 @@ function is(t, e, o, r, i, s) {
|
|
|
4201
4144
|
ref: "editor",
|
|
4202
4145
|
class: "editor",
|
|
4203
4146
|
style: { height: "200px" },
|
|
4204
|
-
onContextmenu: e[17] || (e[17] = de((...m) =>
|
|
4147
|
+
onContextmenu: e[17] || (e[17] = de((...m) => n.showExecuteSelectionMenu && n.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4205
4148
|
}, null, 544)
|
|
4206
4149
|
]),
|
|
4207
4150
|
_: 1
|
|
4208
4151
|
}),
|
|
4209
|
-
|
|
4152
|
+
s(ce, {
|
|
4210
4153
|
class: "v-col-2",
|
|
4211
4154
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4212
4155
|
}, {
|
|
4213
4156
|
default: l(() => [
|
|
4214
|
-
i.startOrGoButton === "Start" ? (
|
|
4215
|
-
|
|
4157
|
+
i.startOrGoButton === "Start" ? (w(), D("div", Ji, [
|
|
4158
|
+
s(c, {
|
|
4216
4159
|
class: "mx-1",
|
|
4217
4160
|
color: "primary",
|
|
4218
4161
|
text: "Start",
|
|
4219
4162
|
"data-test": "start-button",
|
|
4220
4163
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4221
4164
|
hidden: i.suiteRunner,
|
|
4222
|
-
onClick:
|
|
4165
|
+
onClick: n.startHandler
|
|
4223
4166
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4224
|
-
])) : (
|
|
4225
|
-
|
|
4167
|
+
])) : (w(), D("div", Yi, [
|
|
4168
|
+
s(c, {
|
|
4226
4169
|
color: "primary",
|
|
4227
4170
|
class: "ma-2",
|
|
4228
4171
|
text: "Go",
|
|
4229
4172
|
disabled: i.startOrGoDisabled,
|
|
4230
4173
|
"data-test": "go-button",
|
|
4231
|
-
onClick:
|
|
4174
|
+
onClick: n.go
|
|
4232
4175
|
}, null, 8, ["disabled", "onClick"]),
|
|
4233
|
-
|
|
4176
|
+
s(c, {
|
|
4234
4177
|
color: "primary",
|
|
4235
4178
|
class: "ma-2",
|
|
4236
4179
|
text: i.pauseOrRetryButton,
|
|
4237
4180
|
disabled: i.pauseOrRetryDisabled,
|
|
4238
4181
|
"data-test": "pause-retry-button",
|
|
4239
|
-
onClick:
|
|
4182
|
+
onClick: n.pauseOrRetry
|
|
4240
4183
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4241
|
-
|
|
4184
|
+
s(c, {
|
|
4242
4185
|
color: "primary",
|
|
4243
4186
|
class: "ma-2",
|
|
4244
4187
|
text: "Stop",
|
|
4245
4188
|
"data-test": "stop-button",
|
|
4246
4189
|
disabled: i.stopDisabled,
|
|
4247
|
-
onClick:
|
|
4190
|
+
onClick: n.stop
|
|
4248
4191
|
}, null, 8, ["disabled", "onClick"])
|
|
4249
4192
|
]))
|
|
4250
4193
|
]),
|
|
@@ -4256,10 +4199,10 @@ function is(t, e, o, r, i, s) {
|
|
|
4256
4199
|
]),
|
|
4257
4200
|
_: 1
|
|
4258
4201
|
}),
|
|
4259
|
-
|
|
4202
|
+
s(Ce, { value: "messages" }, {
|
|
4260
4203
|
default: l(() => [
|
|
4261
|
-
x("div",
|
|
4262
|
-
|
|
4204
|
+
x("div", Zi, [
|
|
4205
|
+
s($, {
|
|
4263
4206
|
modelValue: i.messages,
|
|
4264
4207
|
"onUpdate:modelValue": e[18] || (e[18] = (m) => i.messages = m),
|
|
4265
4208
|
"newest-on-top": i.messagesNewestOnTop,
|
|
@@ -4272,18 +4215,18 @@ function is(t, e, o, r, i, s) {
|
|
|
4272
4215
|
]),
|
|
4273
4216
|
_: 1
|
|
4274
4217
|
}, 8, ["modelValue"])
|
|
4275
|
-
])) : (
|
|
4218
|
+
])) : (w(), D("div", {
|
|
4276
4219
|
key: 0,
|
|
4277
4220
|
class: "d-flex flex-column overflow-hidden",
|
|
4278
4221
|
style: fe({
|
|
4279
|
-
height:
|
|
4222
|
+
height: a.containerHeight
|
|
4280
4223
|
})
|
|
4281
4224
|
}, [
|
|
4282
|
-
|
|
4283
|
-
menus:
|
|
4225
|
+
s(d, {
|
|
4226
|
+
menus: n.menus,
|
|
4284
4227
|
title: i.title
|
|
4285
4228
|
}, null, 8, ["menus", "title"]),
|
|
4286
|
-
|
|
4229
|
+
s(_, {
|
|
4287
4230
|
modelValue: i.showAlert,
|
|
4288
4231
|
"onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
|
|
4289
4232
|
absolute: "",
|
|
@@ -4293,25 +4236,25 @@ function is(t, e, o, r, i, s) {
|
|
|
4293
4236
|
style: fe(t.classificationStyles)
|
|
4294
4237
|
}, {
|
|
4295
4238
|
actions: l(({ attrs: m }) => [
|
|
4296
|
-
|
|
4239
|
+
s(c, X({
|
|
4297
4240
|
variant: "text",
|
|
4298
4241
|
text: "Close"
|
|
4299
4242
|
}, m, {
|
|
4300
|
-
onClick: e[0] || (e[0] = (
|
|
4243
|
+
onClick: e[0] || (e[0] = (Y) => i.showAlert = !1)
|
|
4301
4244
|
}), null, 16)
|
|
4302
4245
|
]),
|
|
4303
4246
|
default: l(() => [
|
|
4304
|
-
|
|
4247
|
+
s(h, null, {
|
|
4305
4248
|
default: l(() => [
|
|
4306
|
-
|
|
4249
|
+
y(" mdi-" + F(i.alertType), 1)
|
|
4307
4250
|
]),
|
|
4308
4251
|
_: 1
|
|
4309
4252
|
}),
|
|
4310
|
-
|
|
4253
|
+
y(" " + F(i.alertText) + " ", 1)
|
|
4311
4254
|
]),
|
|
4312
4255
|
_: 1
|
|
4313
4256
|
}, 8, ["modelValue", "color", "style"]),
|
|
4314
|
-
|
|
4257
|
+
s(_, {
|
|
4315
4258
|
modelValue: i.showEditingToast,
|
|
4316
4259
|
"onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
|
|
4317
4260
|
absolute: "",
|
|
@@ -4321,13 +4264,13 @@ function is(t, e, o, r, i, s) {
|
|
|
4321
4264
|
color: "orange"
|
|
4322
4265
|
}, {
|
|
4323
4266
|
actions: l(({ attrs: m }) => [
|
|
4324
|
-
|
|
4267
|
+
s(c, X({ variant: "text" }, m, {
|
|
4325
4268
|
color: "danger",
|
|
4326
4269
|
text: "Unlock",
|
|
4327
4270
|
"data-test": "unlock-button",
|
|
4328
|
-
onClick:
|
|
4271
|
+
onClick: n.confirmLocalUnlock
|
|
4329
4272
|
}), null, 16, ["onClick"]),
|
|
4330
|
-
|
|
4273
|
+
s(c, X({
|
|
4331
4274
|
variant: "text",
|
|
4332
4275
|
text: "Dismiss"
|
|
4333
4276
|
}, m, {
|
|
@@ -4337,26 +4280,26 @@ function is(t, e, o, r, i, s) {
|
|
|
4337
4280
|
}), null, 16)
|
|
4338
4281
|
]),
|
|
4339
4282
|
default: l(() => [
|
|
4340
|
-
|
|
4283
|
+
s(h, null, {
|
|
4341
4284
|
default: l(() => [...e[45] || (e[45] = [
|
|
4342
|
-
|
|
4285
|
+
y(" mdi-pencil-off ", -1)
|
|
4343
4286
|
])]),
|
|
4344
4287
|
_: 1
|
|
4345
4288
|
}),
|
|
4346
|
-
|
|
4289
|
+
y(" " + F(i.lockedBy) + " is editing this script. Editor is in read-only mode ", 1)
|
|
4347
4290
|
]),
|
|
4348
4291
|
_: 1
|
|
4349
4292
|
}, 8, ["modelValue", "style"]),
|
|
4350
|
-
x("div",
|
|
4351
|
-
(
|
|
4352
|
-
id:
|
|
4293
|
+
x("div", zi, [
|
|
4294
|
+
(w(!0), D(ge, null, Ke(i.screens, (m) => (w(), D("div", {
|
|
4295
|
+
id: n.screenId(m.id),
|
|
4353
4296
|
key: m.id,
|
|
4354
4297
|
ref_for: !0,
|
|
4355
4298
|
ref: "gridItem",
|
|
4356
4299
|
class: "item"
|
|
4357
4300
|
}, [
|
|
4358
|
-
x("div",
|
|
4359
|
-
|
|
4301
|
+
x("div", Ai, [
|
|
4302
|
+
s(S, {
|
|
4360
4303
|
target: m.target,
|
|
4361
4304
|
screen: m.screen,
|
|
4362
4305
|
definition: m.definition,
|
|
@@ -4368,83 +4311,83 @@ function is(t, e, o, r, i, s) {
|
|
|
4368
4311
|
"min-z": 3,
|
|
4369
4312
|
"fix-floated": !0,
|
|
4370
4313
|
count: m.count,
|
|
4371
|
-
onCloseScreen: (
|
|
4372
|
-
onDeleteScreen: (
|
|
4314
|
+
onCloseScreen: (Y) => n.closeScreen(m.id),
|
|
4315
|
+
onDeleteScreen: (Y) => n.closeScreen(m.id)
|
|
4373
4316
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4374
4317
|
])
|
|
4375
|
-
], 8,
|
|
4318
|
+
], 8, Li))), 128))
|
|
4376
4319
|
]),
|
|
4377
|
-
|
|
4320
|
+
s(B, { class: "flex-shrink-0" }, {
|
|
4378
4321
|
default: l(() => [
|
|
4379
|
-
|
|
4322
|
+
s(z, null, {
|
|
4380
4323
|
default: l(() => [
|
|
4381
|
-
i.suiteRunner ? (
|
|
4324
|
+
i.suiteRunner ? (w(), T(C, {
|
|
4382
4325
|
key: 0,
|
|
4383
4326
|
class: "suite-runner",
|
|
4384
4327
|
"suite-map": i.suiteMap,
|
|
4385
4328
|
"disable-buttons": i.disableSuiteButtons,
|
|
4386
|
-
filename:
|
|
4387
|
-
onButton:
|
|
4388
|
-
onLoaded:
|
|
4329
|
+
filename: n.fullFilename,
|
|
4330
|
+
onButton: n.suiteRunnerButton,
|
|
4331
|
+
onLoaded: n.doResize
|
|
4389
4332
|
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : P("", !0),
|
|
4390
|
-
x("div",
|
|
4391
|
-
|
|
4333
|
+
x("div", Fi, [
|
|
4334
|
+
s(A, {
|
|
4392
4335
|
"no-gutters": "",
|
|
4393
4336
|
justify: "space-between"
|
|
4394
4337
|
}, {
|
|
4395
4338
|
default: l(() => [
|
|
4396
|
-
i.showDisconnect ? (
|
|
4339
|
+
i.showDisconnect ? (w(), T(h, {
|
|
4397
4340
|
key: 0,
|
|
4398
4341
|
class: "mt-2",
|
|
4399
4342
|
color: "red"
|
|
4400
4343
|
}, {
|
|
4401
4344
|
default: l(() => [...e[46] || (e[46] = [
|
|
4402
|
-
|
|
4345
|
+
y(" mdi-connection ", -1)
|
|
4403
4346
|
])]),
|
|
4404
4347
|
_: 1
|
|
4405
4348
|
})) : P("", !0),
|
|
4406
|
-
x("div",
|
|
4407
|
-
|
|
4349
|
+
x("div", Bi, [
|
|
4350
|
+
s(b, {
|
|
4408
4351
|
"open-delay": 600,
|
|
4409
4352
|
location: "top"
|
|
4410
4353
|
}, {
|
|
4411
4354
|
activator: l(({ props: m }) => [
|
|
4412
|
-
i.scriptId ? (
|
|
4355
|
+
i.scriptId ? (w(), T(c, X({ key: 1 }, m, {
|
|
4413
4356
|
icon: "mdi-arrow-left",
|
|
4414
4357
|
variant: "text",
|
|
4415
4358
|
density: "compact",
|
|
4416
|
-
onClick:
|
|
4417
|
-
}), null, 16, ["onClick"])) : (
|
|
4359
|
+
onClick: n.backToNewScript
|
|
4360
|
+
}), null, 16, ["onClick"])) : (w(), T(c, X({ key: 0 }, m, {
|
|
4418
4361
|
icon: "mdi-cached",
|
|
4419
4362
|
variant: "text",
|
|
4420
4363
|
density: "compact",
|
|
4421
4364
|
disabled: i.filename === t.NEW_FILENAME,
|
|
4422
4365
|
"aria-label": "Reload File",
|
|
4423
|
-
onClick:
|
|
4366
|
+
onClick: n.reloadFile
|
|
4424
4367
|
}), null, 16, ["disabled", "onClick"]))
|
|
4425
4368
|
]),
|
|
4426
4369
|
default: l(() => [
|
|
4427
|
-
i.scriptId ? (
|
|
4370
|
+
i.scriptId ? (w(), D("span", Hi, " Back to New Script ")) : (w(), D("span", Ni, " Reload File "))
|
|
4428
4371
|
]),
|
|
4429
4372
|
_: 1
|
|
4430
4373
|
})
|
|
4431
4374
|
]),
|
|
4432
|
-
|
|
4375
|
+
s(b, {
|
|
4433
4376
|
location: "bottom",
|
|
4434
4377
|
text: i.filenameSelect,
|
|
4435
4378
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4436
4379
|
}, {
|
|
4437
4380
|
activator: l(({ props: m }) => [
|
|
4438
|
-
x("div",
|
|
4439
|
-
|
|
4381
|
+
x("div", X(m, { style: { width: "32rem" } }), [
|
|
4382
|
+
s(E, {
|
|
4440
4383
|
id: "filename",
|
|
4441
4384
|
modelValue: i.filenameSelect,
|
|
4442
4385
|
"onUpdate:modelValue": [
|
|
4443
|
-
e[4] || (e[4] = (
|
|
4444
|
-
|
|
4386
|
+
e[4] || (e[4] = (Y) => i.filenameSelect = Y),
|
|
4387
|
+
n.fileNameChanged
|
|
4445
4388
|
],
|
|
4446
|
-
items:
|
|
4447
|
-
disabled:
|
|
4389
|
+
items: n.fileList,
|
|
4390
|
+
disabled: n.fileList.length <= 1,
|
|
4448
4391
|
label: "Filename",
|
|
4449
4392
|
"data-test": "filename",
|
|
4450
4393
|
density: "compact",
|
|
@@ -4455,7 +4398,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4455
4398
|
]),
|
|
4456
4399
|
_: 1
|
|
4457
4400
|
}, 8, ["text", "disabled"]),
|
|
4458
|
-
|
|
4401
|
+
s(R, {
|
|
4459
4402
|
modelValue: i.scriptId,
|
|
4460
4403
|
"onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
|
|
4461
4404
|
label: "Script ID",
|
|
@@ -4467,50 +4410,50 @@ function is(t, e, o, r, i, s) {
|
|
|
4467
4410
|
readonly: "",
|
|
4468
4411
|
"hide-details": ""
|
|
4469
4412
|
}, null, 8, ["modelValue"]),
|
|
4470
|
-
|
|
4471
|
-
modelValue:
|
|
4472
|
-
"onUpdate:modelValue": e[6] || (e[6] = (m) =>
|
|
4413
|
+
s(R, {
|
|
4414
|
+
modelValue: n.stateTimer,
|
|
4415
|
+
"onUpdate:modelValue": e[6] || (e[6] = (m) => n.stateTimer = m),
|
|
4473
4416
|
label: "Script State",
|
|
4474
4417
|
"data-test": "state",
|
|
4475
|
-
class:
|
|
4418
|
+
class: qe(["shrink", "ml-2", "script-state", n.stateColorClass]),
|
|
4476
4419
|
style: { "max-width": "120px" },
|
|
4477
4420
|
density: "compact",
|
|
4478
4421
|
variant: "outlined",
|
|
4479
4422
|
readonly: "",
|
|
4480
4423
|
"hide-details": ""
|
|
4481
4424
|
}, null, 8, ["modelValue", "class"]),
|
|
4482
|
-
i.state === "Connecting..." ? (
|
|
4425
|
+
i.state === "Connecting..." ? (w(), T(U, {
|
|
4483
4426
|
key: 1,
|
|
4484
4427
|
size: 40,
|
|
4485
4428
|
class: "mx-2",
|
|
4486
4429
|
indeterminate: "",
|
|
4487
4430
|
color: "primary"
|
|
4488
|
-
})) : (
|
|
4489
|
-
|
|
4490
|
-
i.startOrGoButton === "Start" ? (
|
|
4491
|
-
i.overridesCount > 0 ? (
|
|
4431
|
+
})) : (w(), D("div", Gi)),
|
|
4432
|
+
s(k),
|
|
4433
|
+
i.startOrGoButton === "Start" ? (w(), D("div", qi, [
|
|
4434
|
+
i.overridesCount > 0 ? (w(), T(b, {
|
|
4492
4435
|
key: 0,
|
|
4493
4436
|
"open-delay": 600,
|
|
4494
4437
|
location: "top"
|
|
4495
4438
|
}, {
|
|
4496
4439
|
activator: l(({ props: m }) => [
|
|
4497
|
-
|
|
4440
|
+
s(c, X(m, {
|
|
4498
4441
|
class: "mr-4",
|
|
4499
4442
|
icon: "",
|
|
4500
4443
|
variant: "text",
|
|
4501
4444
|
density: "compact",
|
|
4502
4445
|
"data-test": "tlm-override-button",
|
|
4503
4446
|
"aria-label": "TLM Overrides",
|
|
4504
|
-
onClick: e[7] || (e[7] = (
|
|
4447
|
+
onClick: e[7] || (e[7] = (Y) => i.showOverrides = !i.showOverrides)
|
|
4505
4448
|
}), {
|
|
4506
4449
|
default: l(() => [
|
|
4507
|
-
|
|
4450
|
+
s(L, {
|
|
4508
4451
|
content: i.overridesCount > 99 ? "99+" : i.overridesCount,
|
|
4509
4452
|
floating: "",
|
|
4510
4453
|
color: "primary"
|
|
4511
4454
|
}, {
|
|
4512
4455
|
default: l(() => [
|
|
4513
|
-
|
|
4456
|
+
s(h, { icon: "mdi-application-cog-outline" })
|
|
4514
4457
|
]),
|
|
4515
4458
|
_: 1
|
|
4516
4459
|
}, 8, ["content"])
|
|
@@ -4519,16 +4462,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4519
4462
|
}, 16)
|
|
4520
4463
|
]),
|
|
4521
4464
|
default: l(() => [
|
|
4522
|
-
x("span", null, " TLM Overrides (" +
|
|
4465
|
+
x("span", null, " TLM Overrides (" + F(i.overridesCount) + ") ", 1)
|
|
4523
4466
|
]),
|
|
4524
4467
|
_: 1
|
|
4525
4468
|
})) : P("", !0),
|
|
4526
|
-
|
|
4469
|
+
s(b, {
|
|
4527
4470
|
"open-delay": 600,
|
|
4528
4471
|
location: "top"
|
|
4529
4472
|
}, {
|
|
4530
4473
|
activator: l(({ props: m }) => [
|
|
4531
|
-
|
|
4474
|
+
s(c, X(m, {
|
|
4532
4475
|
class: "mr-2",
|
|
4533
4476
|
icon: "",
|
|
4534
4477
|
variant: "text",
|
|
@@ -4536,17 +4479,17 @@ function is(t, e, o, r, i, s) {
|
|
|
4536
4479
|
disabled: i.envDisabled,
|
|
4537
4480
|
"data-test": "env-button",
|
|
4538
4481
|
"aria-label": "Script Environment",
|
|
4539
|
-
onClick: e[9] || (e[9] = (
|
|
4482
|
+
onClick: e[9] || (e[9] = (Y) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
|
|
4540
4483
|
}), {
|
|
4541
4484
|
default: l(() => [
|
|
4542
|
-
|
|
4543
|
-
modelValue:
|
|
4544
|
-
"onUpdate:modelValue": e[8] || (e[8] = (
|
|
4485
|
+
s(L, {
|
|
4486
|
+
modelValue: n.environmentModified,
|
|
4487
|
+
"onUpdate:modelValue": e[8] || (e[8] = (Y) => n.environmentModified = Y),
|
|
4545
4488
|
floating: "",
|
|
4546
4489
|
dot: ""
|
|
4547
4490
|
}, {
|
|
4548
4491
|
default: l(() => [
|
|
4549
|
-
|
|
4492
|
+
s(h, { icon: "mdi-application-variable" })
|
|
4550
4493
|
]),
|
|
4551
4494
|
_: 1
|
|
4552
4495
|
}, 8, ["modelValue"])
|
|
@@ -4556,46 +4499,46 @@ function is(t, e, o, r, i, s) {
|
|
|
4556
4499
|
]),
|
|
4557
4500
|
default: l(() => [
|
|
4558
4501
|
x("span", null, [
|
|
4559
|
-
e[47] || (e[47] =
|
|
4560
|
-
|
|
4561
|
-
|
|
4502
|
+
e[47] || (e[47] = y(" Script Environment ", -1)),
|
|
4503
|
+
n.environmentModified ? (w(), D(ge, { key: 0 }, [
|
|
4504
|
+
y(" (modified) ")
|
|
4562
4505
|
], 64)) : P("", !0)
|
|
4563
4506
|
])
|
|
4564
4507
|
]),
|
|
4565
4508
|
_: 1
|
|
4566
4509
|
}),
|
|
4567
|
-
|
|
4510
|
+
s(c, {
|
|
4568
4511
|
class: "mx-1",
|
|
4569
4512
|
color: "primary",
|
|
4570
4513
|
text: "Start",
|
|
4571
4514
|
"data-test": "start-button",
|
|
4572
4515
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4573
4516
|
hidden: i.suiteRunner,
|
|
4574
|
-
onClick:
|
|
4517
|
+
onClick: n.startHandler
|
|
4575
4518
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4576
|
-
])) : (
|
|
4577
|
-
|
|
4519
|
+
])) : (w(), D("div", Ki, [
|
|
4520
|
+
s(c, {
|
|
4578
4521
|
color: "primary",
|
|
4579
4522
|
class: "mr-2",
|
|
4580
4523
|
text: "Go",
|
|
4581
4524
|
disabled: i.startOrGoDisabled,
|
|
4582
4525
|
"data-test": "go-button",
|
|
4583
|
-
onClick:
|
|
4526
|
+
onClick: n.go
|
|
4584
4527
|
}, null, 8, ["disabled", "onClick"]),
|
|
4585
|
-
|
|
4528
|
+
s(c, {
|
|
4586
4529
|
color: "primary",
|
|
4587
4530
|
class: "mr-2",
|
|
4588
4531
|
text: i.pauseOrRetryButton,
|
|
4589
4532
|
disabled: i.pauseOrRetryDisabled,
|
|
4590
4533
|
"data-test": "pause-retry-button",
|
|
4591
|
-
onClick:
|
|
4534
|
+
onClick: n.pauseOrRetry
|
|
4592
4535
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4593
|
-
|
|
4536
|
+
s(c, {
|
|
4594
4537
|
color: "primary",
|
|
4595
4538
|
text: "Stop",
|
|
4596
4539
|
"data-test": "stop-button",
|
|
4597
4540
|
disabled: i.stopDisabled,
|
|
4598
|
-
onClick:
|
|
4541
|
+
onClick: n.stop
|
|
4599
4542
|
}, null, 8, ["disabled", "onClick"])
|
|
4600
4543
|
]))
|
|
4601
4544
|
]),
|
|
@@ -4608,18 +4551,18 @@ function is(t, e, o, r, i, s) {
|
|
|
4608
4551
|
]),
|
|
4609
4552
|
_: 1
|
|
4610
4553
|
}),
|
|
4611
|
-
|
|
4554
|
+
s(Ue, {
|
|
4612
4555
|
horizontal: "",
|
|
4613
4556
|
class: "flex-grow-1 overflow-hidden",
|
|
4614
4557
|
onResize: e[15] || (e[15] = ({ prevPane: m }) => i.editorBoxSize = m.size)
|
|
4615
4558
|
}, {
|
|
4616
4559
|
default: l(() => [
|
|
4617
|
-
|
|
4560
|
+
s(ue, {
|
|
4618
4561
|
class: "editorbox",
|
|
4619
4562
|
size: i.editorBoxSize
|
|
4620
4563
|
}, {
|
|
4621
4564
|
default: l(() => [
|
|
4622
|
-
|
|
4565
|
+
s(_, {
|
|
4623
4566
|
modelValue: i.showSave,
|
|
4624
4567
|
"onUpdate:modelValue": e[10] || (e[10] = (m) => i.showSave = m),
|
|
4625
4568
|
absolute: "",
|
|
@@ -4629,52 +4572,52 @@ function is(t, e, o, r, i, s) {
|
|
|
4629
4572
|
style: fe(t.classificationStyles)
|
|
4630
4573
|
}, {
|
|
4631
4574
|
default: l(() => [...e[48] || (e[48] = [
|
|
4632
|
-
|
|
4575
|
+
y(" Saving... ", -1)
|
|
4633
4576
|
])]),
|
|
4634
4577
|
_: 1
|
|
4635
4578
|
}, 8, ["modelValue", "style"]),
|
|
4636
4579
|
x("pre", {
|
|
4637
4580
|
ref: "editor",
|
|
4638
4581
|
class: "editor",
|
|
4639
|
-
onContextmenu: e[11] || (e[11] = de((...m) =>
|
|
4582
|
+
onContextmenu: e[11] || (e[11] = de((...m) => n.showExecuteSelectionMenu && n.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4640
4583
|
}, null, 544),
|
|
4641
|
-
|
|
4584
|
+
s(G, {
|
|
4642
4585
|
modelValue: i.executeSelectionMenu,
|
|
4643
4586
|
"onUpdate:modelValue": e[12] || (e[12] = (m) => i.executeSelectionMenu = m),
|
|
4644
4587
|
target: [i.menuX, i.menuY]
|
|
4645
4588
|
}, {
|
|
4646
4589
|
default: l(() => [
|
|
4647
|
-
|
|
4590
|
+
s(I, null, {
|
|
4648
4591
|
default: l(() => [
|
|
4649
|
-
|
|
4592
|
+
s(H, {
|
|
4650
4593
|
title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
|
|
4651
|
-
onClick:
|
|
4594
|
+
onClick: n.openCommandEditor
|
|
4652
4595
|
}, null, 8, ["title", "onClick"]),
|
|
4653
|
-
|
|
4654
|
-
|
|
4596
|
+
s(ie),
|
|
4597
|
+
s(H, {
|
|
4655
4598
|
title: "Execute Selection",
|
|
4656
|
-
onClick:
|
|
4599
|
+
onClick: n.executeSelection
|
|
4657
4600
|
}, null, 8, ["onClick"]),
|
|
4658
|
-
i.scriptId ? (
|
|
4601
|
+
i.scriptId ? (w(), T(H, {
|
|
4659
4602
|
key: 0,
|
|
4660
4603
|
title: "Goto Line",
|
|
4661
|
-
onClick:
|
|
4604
|
+
onClick: n.runFromCursor
|
|
4662
4605
|
}, null, 8, ["onClick"])) : P("", !0),
|
|
4663
|
-
i.scriptId ? P("", !0) : (
|
|
4606
|
+
i.scriptId ? P("", !0) : (w(), T(H, {
|
|
4664
4607
|
key: 1,
|
|
4665
4608
|
title: "Run From Line",
|
|
4666
|
-
onClick:
|
|
4609
|
+
onClick: n.runFromCursor
|
|
4667
4610
|
}, null, 8, ["onClick"])),
|
|
4668
|
-
i.scriptId ? P("", !0) : (
|
|
4611
|
+
i.scriptId ? P("", !0) : (w(), T(H, {
|
|
4669
4612
|
key: 2,
|
|
4670
4613
|
title: "Clear Local Breakpoints",
|
|
4671
|
-
onClick:
|
|
4614
|
+
onClick: n.clearBreakpoints
|
|
4672
4615
|
}, null, 8, ["onClick"])),
|
|
4673
|
-
|
|
4674
|
-
|
|
4616
|
+
s(ie),
|
|
4617
|
+
s(H, {
|
|
4675
4618
|
title: "Toggle Vim mode",
|
|
4676
4619
|
"prepend-icon": "extras:vim",
|
|
4677
|
-
onClick:
|
|
4620
|
+
onClick: n.toggleVimMode
|
|
4678
4621
|
}, null, 8, ["onClick"])
|
|
4679
4622
|
]),
|
|
4680
4623
|
_: 1
|
|
@@ -4685,16 +4628,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4685
4628
|
]),
|
|
4686
4629
|
_: 1
|
|
4687
4630
|
}, 8, ["size"]),
|
|
4688
|
-
|
|
4631
|
+
s(ue, {
|
|
4689
4632
|
id: "messages",
|
|
4690
4633
|
class: "mt-2",
|
|
4691
4634
|
size: 100 - i.editorBoxSize
|
|
4692
4635
|
}, {
|
|
4693
4636
|
default: l(() => [
|
|
4694
|
-
i.showDebug ? (
|
|
4695
|
-
|
|
4637
|
+
i.showDebug ? (w(), D("div", ji, [
|
|
4638
|
+
s(A, { "no-gutters": "" }, {
|
|
4696
4639
|
default: l(() => [
|
|
4697
|
-
|
|
4640
|
+
s(c, {
|
|
4698
4641
|
color: "primary",
|
|
4699
4642
|
style: { width: "100px" },
|
|
4700
4643
|
class: "mr-4",
|
|
@@ -4702,9 +4645,9 @@ function is(t, e, o, r, i, s) {
|
|
|
4702
4645
|
"append-icon": "mdi-step-forward",
|
|
4703
4646
|
disabled: !i.scriptId,
|
|
4704
4647
|
"data-test": "step-button",
|
|
4705
|
-
onClick:
|
|
4648
|
+
onClick: n.step
|
|
4706
4649
|
}, null, 8, ["disabled", "onClick"]),
|
|
4707
|
-
|
|
4650
|
+
s(R, {
|
|
4708
4651
|
ref: "debug",
|
|
4709
4652
|
modelValue: i.debug,
|
|
4710
4653
|
"onUpdate:modelValue": e[13] || (e[13] = (m) => i.debug = m),
|
|
@@ -4714,17 +4657,17 @@ function is(t, e, o, r, i, s) {
|
|
|
4714
4657
|
"hide-details": "",
|
|
4715
4658
|
label: "Debug",
|
|
4716
4659
|
"data-test": "debug-text",
|
|
4717
|
-
onKeydown:
|
|
4660
|
+
onKeydown: n.debugKeydown
|
|
4718
4661
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
4719
4662
|
]),
|
|
4720
4663
|
_: 1
|
|
4721
4664
|
})
|
|
4722
4665
|
])) : P("", !0),
|
|
4723
|
-
|
|
4666
|
+
s($, {
|
|
4724
4667
|
id: "log-messages",
|
|
4725
4668
|
modelValue: i.messages,
|
|
4726
4669
|
"onUpdate:modelValue": e[14] || (e[14] = (m) => i.messages = m),
|
|
4727
|
-
onSort:
|
|
4670
|
+
onSort: n.messageSortOrder
|
|
4728
4671
|
}, null, 8, ["modelValue", "onSort"])
|
|
4729
4672
|
]),
|
|
4730
4673
|
_: 1
|
|
@@ -4733,34 +4676,34 @@ function is(t, e, o, r, i, s) {
|
|
|
4733
4676
|
_: 1
|
|
4734
4677
|
})
|
|
4735
4678
|
], 4)),
|
|
4736
|
-
i.fileOpen ? (
|
|
4679
|
+
i.fileOpen ? (w(), T(Ve, {
|
|
4737
4680
|
key: 2,
|
|
4738
4681
|
modelValue: i.fileOpen,
|
|
4739
4682
|
"onUpdate:modelValue": e[20] || (e[20] = (m) => i.fileOpen = m),
|
|
4740
4683
|
type: "open",
|
|
4741
4684
|
"api-url": "/script-api/scripts",
|
|
4742
|
-
onFile: e[21] || (e[21] = (m) =>
|
|
4743
|
-
onError: e[22] || (e[22] = (m) =>
|
|
4744
|
-
onClearTemp: e[23] || (e[23] = (m) =>
|
|
4685
|
+
onFile: e[21] || (e[21] = (m) => n.setFile(m)),
|
|
4686
|
+
onError: e[22] || (e[22] = (m) => n.setError(m)),
|
|
4687
|
+
onClearTemp: e[23] || (e[23] = (m) => n.clearTemp(m))
|
|
4745
4688
|
}, null, 8, ["modelValue"])) : P("", !0),
|
|
4746
|
-
i.showSaveAs ? (
|
|
4689
|
+
i.showSaveAs ? (w(), T(Ve, {
|
|
4747
4690
|
key: 3,
|
|
4748
4691
|
modelValue: i.showSaveAs,
|
|
4749
4692
|
"onUpdate:modelValue": e[24] || (e[24] = (m) => i.showSaveAs = m),
|
|
4750
4693
|
type: "save",
|
|
4751
4694
|
"api-url": "/script-api/scripts",
|
|
4752
4695
|
"require-target-parent-dir": "",
|
|
4753
|
-
"input-filename":
|
|
4754
|
-
onFilename: e[25] || (e[25] = (m) =>
|
|
4755
|
-
onError: e[26] || (e[26] = (m) =>
|
|
4756
|
-
onClearTemp: e[27] || (e[27] = (m) =>
|
|
4696
|
+
"input-filename": n.filenameOrBlank,
|
|
4697
|
+
onFilename: e[25] || (e[25] = (m) => n.saveAsFilename(m)),
|
|
4698
|
+
onError: e[26] || (e[26] = (m) => n.setError(m)),
|
|
4699
|
+
onClearTemp: e[27] || (e[27] = (m) => n.clearTemp(m))
|
|
4757
4700
|
}, null, 8, ["modelValue", "input-filename"])) : P("", !0),
|
|
4758
|
-
i.showEnvironment ? (
|
|
4701
|
+
i.showEnvironment ? (w(), T(De, {
|
|
4759
4702
|
key: 4,
|
|
4760
4703
|
modelValue: i.showEnvironment,
|
|
4761
4704
|
"onUpdate:modelValue": e[28] || (e[28] = (m) => i.showEnvironment = m)
|
|
4762
4705
|
}, null, 8, ["modelValue"])) : P("", !0),
|
|
4763
|
-
i.ask.show ? (
|
|
4706
|
+
i.ask.show ? (w(), T(ze, {
|
|
4764
4707
|
key: 5,
|
|
4765
4708
|
modelValue: i.ask.show,
|
|
4766
4709
|
"onUpdate:modelValue": e[29] || (e[29] = (m) => i.ask.show = m),
|
|
@@ -4770,7 +4713,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4770
4713
|
"answer-required": i.ask.answerRequired,
|
|
4771
4714
|
onResponse: i.ask.callback
|
|
4772
4715
|
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : P("", !0),
|
|
4773
|
-
i.file.show ? (
|
|
4716
|
+
i.file.show ? (w(), T(me, {
|
|
4774
4717
|
key: 6,
|
|
4775
4718
|
modelValue: i.file.show,
|
|
4776
4719
|
"onUpdate:modelValue": e[30] || (e[30] = (m) => i.file.show = m),
|
|
@@ -4778,9 +4721,9 @@ function is(t, e, o, r, i, s) {
|
|
|
4778
4721
|
message: i.file.message,
|
|
4779
4722
|
multiple: i.file.multiple,
|
|
4780
4723
|
filter: i.file.filter,
|
|
4781
|
-
onResponse:
|
|
4724
|
+
onResponse: n.fileDialogCallback
|
|
4782
4725
|
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : P("", !0),
|
|
4783
|
-
i.information.show ? (
|
|
4726
|
+
i.information.show ? (w(), T(Le, {
|
|
4784
4727
|
key: 7,
|
|
4785
4728
|
modelValue: i.information.show,
|
|
4786
4729
|
"onUpdate:modelValue": e[31] || (e[31] = (m) => i.information.show = m),
|
|
@@ -4788,7 +4731,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4788
4731
|
text: i.information.text,
|
|
4789
4732
|
width: i.information.width
|
|
4790
4733
|
}, null, 8, ["modelValue", "title", "text", "width"])) : P("", !0),
|
|
4791
|
-
i.inputMetadata.show ? (
|
|
4734
|
+
i.inputMetadata.show ? (w(), T(Ae, {
|
|
4792
4735
|
key: 8,
|
|
4793
4736
|
modelValue: i.inputMetadata.show,
|
|
4794
4737
|
"onUpdate:modelValue": e[32] || (e[32] = (m) => i.inputMetadata.show = m),
|
|
@@ -4797,12 +4740,12 @@ function is(t, e, o, r, i, s) {
|
|
|
4797
4740
|
"new-metadata": "",
|
|
4798
4741
|
onClose: i.inputMetadata.callback
|
|
4799
4742
|
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : P("", !0),
|
|
4800
|
-
i.showOverrides ? (
|
|
4743
|
+
i.showOverrides ? (w(), T(Fe, {
|
|
4801
4744
|
key: 9,
|
|
4802
4745
|
modelValue: i.showOverrides,
|
|
4803
4746
|
"onUpdate:modelValue": e[33] || (e[33] = (m) => i.showOverrides = m)
|
|
4804
4747
|
}, null, 8, ["modelValue"])) : P("", !0),
|
|
4805
|
-
i.prompt.show ? (
|
|
4748
|
+
i.prompt.show ? (w(), T(pe, {
|
|
4806
4749
|
key: 10,
|
|
4807
4750
|
modelValue: i.prompt.show,
|
|
4808
4751
|
"onUpdate:modelValue": e[34] || (e[34] = (m) => i.prompt.show = m),
|
|
@@ -4815,72 +4758,72 @@ function is(t, e, o, r, i, s) {
|
|
|
4815
4758
|
multiple: i.prompt.multiple,
|
|
4816
4759
|
onResponse: i.prompt.callback
|
|
4817
4760
|
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : P("", !0),
|
|
4818
|
-
i.results.show ? (
|
|
4761
|
+
i.results.show ? (w(), T(K, {
|
|
4819
4762
|
key: 11,
|
|
4820
4763
|
modelValue: i.results.show,
|
|
4821
4764
|
"onUpdate:modelValue": e[35] || (e[35] = (m) => i.results.show = m),
|
|
4822
4765
|
text: i.results.text
|
|
4823
4766
|
}, null, 8, ["modelValue", "text"])) : P("", !0),
|
|
4824
|
-
i.scriptEnvironment.show ? (
|
|
4767
|
+
i.scriptEnvironment.show ? (w(), T(Be, {
|
|
4825
4768
|
key: 12,
|
|
4826
4769
|
modelValue: i.scriptEnvironment.show,
|
|
4827
4770
|
"onUpdate:modelValue": e[36] || (e[36] = (m) => i.scriptEnvironment.show = m),
|
|
4828
4771
|
"input-environment": i.scriptEnvironment.env,
|
|
4829
|
-
onEnvironment:
|
|
4772
|
+
onEnvironment: n.environmentHandler
|
|
4830
4773
|
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : P("", !0),
|
|
4831
|
-
|
|
4774
|
+
s(u, {
|
|
4832
4775
|
modelValue: i.showSuiteError,
|
|
4833
4776
|
"onUpdate:modelValue": e[37] || (e[37] = (m) => i.showSuiteError = m),
|
|
4834
4777
|
title: "Suite Analysis Error",
|
|
4835
4778
|
text: i.suiteError,
|
|
4836
4779
|
width: 1e3
|
|
4837
4780
|
}, null, 8, ["modelValue", "text"]),
|
|
4838
|
-
|
|
4781
|
+
s(p, {
|
|
4839
4782
|
modelValue: i.displayCriticalCmd,
|
|
4840
4783
|
"onUpdate:modelValue": e[38] || (e[38] = (m) => i.displayCriticalCmd = m),
|
|
4841
4784
|
uuid: i.criticalCmdUuid,
|
|
4842
4785
|
"cmd-string": i.criticalCmdString,
|
|
4843
4786
|
"cmd-user": i.criticalCmdUser,
|
|
4844
4787
|
persistent: !0,
|
|
4845
|
-
onStatus:
|
|
4788
|
+
onStatus: n.promptDialogCallback
|
|
4846
4789
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4847
|
-
|
|
4790
|
+
s(V, {
|
|
4848
4791
|
modelValue: i.commandEditor.show,
|
|
4849
4792
|
"onUpdate:modelValue": e[42] || (e[42] = (m) => i.commandEditor.show = m),
|
|
4850
4793
|
"max-width": "1200",
|
|
4851
4794
|
persistent: "",
|
|
4852
4795
|
scrollable: "",
|
|
4853
|
-
onKeydown: Se(
|
|
4796
|
+
onKeydown: Se(n.closeCommandDialog, ["esc"])
|
|
4854
4797
|
}, {
|
|
4855
4798
|
default: l(() => [
|
|
4856
|
-
|
|
4799
|
+
s(B, null, {
|
|
4857
4800
|
default: l(() => [
|
|
4858
|
-
|
|
4801
|
+
s(v, { class: "d-flex align-center" }, {
|
|
4859
4802
|
default: l(() => [
|
|
4860
4803
|
e[49] || (e[49] = x("span", null, "Insert Command", -1)),
|
|
4861
|
-
|
|
4862
|
-
|
|
4804
|
+
s(k),
|
|
4805
|
+
s(c, {
|
|
4863
4806
|
icon: "mdi-close",
|
|
4864
4807
|
variant: "text",
|
|
4865
|
-
onClick:
|
|
4808
|
+
onClick: n.closeCommandDialog
|
|
4866
4809
|
}, null, 8, ["onClick"])
|
|
4867
4810
|
]),
|
|
4868
4811
|
_: 1
|
|
4869
4812
|
}),
|
|
4870
|
-
|
|
4813
|
+
s(z, { class: "pa-0" }, {
|
|
4871
4814
|
default: l(() => [
|
|
4872
|
-
i.commandEditor.dialogError ? (
|
|
4873
|
-
|
|
4815
|
+
i.commandEditor.dialogError ? (w(), D("div", Xi, [
|
|
4816
|
+
s(h, {
|
|
4874
4817
|
class: "mr-2",
|
|
4875
4818
|
color: "error"
|
|
4876
4819
|
}, {
|
|
4877
4820
|
default: l(() => [...e[50] || (e[50] = [
|
|
4878
|
-
|
|
4821
|
+
y("mdi-alert-circle", -1)
|
|
4879
4822
|
])]),
|
|
4880
4823
|
_: 1
|
|
4881
4824
|
}),
|
|
4882
|
-
x("span",
|
|
4883
|
-
|
|
4825
|
+
x("span", Qi, F(i.commandEditor.dialogError), 1),
|
|
4826
|
+
s(c, {
|
|
4884
4827
|
icon: "mdi-close",
|
|
4885
4828
|
size: "small",
|
|
4886
4829
|
variant: "text",
|
|
@@ -4889,37 +4832,37 @@ function is(t, e, o, r, i, s) {
|
|
|
4889
4832
|
onClick: e[39] || (e[39] = (m) => i.commandEditor.dialogError = null)
|
|
4890
4833
|
})
|
|
4891
4834
|
])) : P("", !0),
|
|
4892
|
-
|
|
4835
|
+
s(f, {
|
|
4893
4836
|
ref: "commandEditor",
|
|
4894
4837
|
"initial-target-name": i.commandEditor.targetName,
|
|
4895
4838
|
"initial-packet-name": i.commandEditor.packetName,
|
|
4896
4839
|
"cmd-string": i.commandEditor.cmdString,
|
|
4897
4840
|
"send-disabled": !1,
|
|
4898
4841
|
"show-command-button": !1,
|
|
4899
|
-
onBuildCmd: e[40] || (e[40] = (m) =>
|
|
4842
|
+
onBuildCmd: e[40] || (e[40] = (m) => n.insertCommand(m))
|
|
4900
4843
|
}, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
|
|
4901
4844
|
]),
|
|
4902
4845
|
_: 1
|
|
4903
4846
|
}),
|
|
4904
|
-
|
|
4847
|
+
s(g, null, {
|
|
4905
4848
|
default: l(() => [
|
|
4906
|
-
|
|
4907
|
-
|
|
4849
|
+
s(k),
|
|
4850
|
+
s(c, {
|
|
4908
4851
|
variant: "outlined",
|
|
4909
|
-
onClick:
|
|
4852
|
+
onClick: n.closeCommandDialog
|
|
4910
4853
|
}, {
|
|
4911
4854
|
default: l(() => [...e[51] || (e[51] = [
|
|
4912
|
-
|
|
4855
|
+
y(" Cancel ", -1)
|
|
4913
4856
|
])]),
|
|
4914
4857
|
_: 1
|
|
4915
4858
|
}, 8, ["onClick"]),
|
|
4916
|
-
|
|
4859
|
+
s(c, {
|
|
4917
4860
|
color: "primary",
|
|
4918
4861
|
variant: "flat",
|
|
4919
|
-
onClick: e[41] || (e[41] = (m) =>
|
|
4862
|
+
onClick: e[41] || (e[41] = (m) => n.insertCommand())
|
|
4920
4863
|
}, {
|
|
4921
4864
|
default: l(() => [...e[52] || (e[52] = [
|
|
4922
|
-
|
|
4865
|
+
y(" Insert Command ", -1)
|
|
4923
4866
|
])]),
|
|
4924
4867
|
_: 1
|
|
4925
4868
|
})
|
|
@@ -4932,17 +4875,17 @@ function is(t, e, o, r, i, s) {
|
|
|
4932
4875
|
]),
|
|
4933
4876
|
_: 1
|
|
4934
4877
|
}, 8, ["modelValue", "onKeydown"]),
|
|
4935
|
-
|
|
4878
|
+
s(j, {
|
|
4936
4879
|
modelValue: i.showScripts,
|
|
4937
4880
|
"onUpdate:modelValue": e[44] || (e[44] = (m) => i.showScripts = m)
|
|
4938
4881
|
}, {
|
|
4939
4882
|
default: l(() => [
|
|
4940
|
-
|
|
4883
|
+
s(N, { class: "pb-11 pt-5 px-5" }, {
|
|
4941
4884
|
default: l(() => [
|
|
4942
|
-
i.showScripts ? (
|
|
4885
|
+
i.showScripts ? (w(), T(M, {
|
|
4943
4886
|
key: 0,
|
|
4944
4887
|
"connect-in-new-tab": !!i.fileModified,
|
|
4945
|
-
onDisconnect:
|
|
4888
|
+
onDisconnect: n.scriptDisconnect,
|
|
4946
4889
|
onClose: e[43] || (e[43] = () => {
|
|
4947
4890
|
i.showScripts = !1;
|
|
4948
4891
|
})
|
|
@@ -4955,11 +4898,11 @@ function is(t, e, o, r, i, s) {
|
|
|
4955
4898
|
}, 8, ["modelValue"])
|
|
4956
4899
|
], 64);
|
|
4957
4900
|
}
|
|
4958
|
-
const
|
|
4901
|
+
const bs = /* @__PURE__ */ J(Di, [["render", $i], ["__scopeId", "data-v-98e77f42"]]);
|
|
4959
4902
|
export {
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4903
|
+
Lt as RunningScripts,
|
|
4904
|
+
Bt as ScriptLogMessages,
|
|
4905
|
+
bs as ScriptRunner,
|
|
4906
|
+
Mi as SuiteRunner
|
|
4964
4907
|
};
|
|
4965
4908
|
//# sourceMappingURL=scriptrunner.js.map
|