@openc3/vue-common 6.10.3 → 6.10.4
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-B35vCzAo.cjs → ArrayWidget-CIMbQsGW.cjs} +2 -2
- package/dist/{ArrayWidget-B35vCzAo.cjs.map → ArrayWidget-CIMbQsGW.cjs.map} +1 -1
- package/dist/{ArrayWidget-Bc-Awsbn.js → ArrayWidget-DfiusKpM.js} +4 -4
- package/dist/{ArrayWidget-Bc-Awsbn.js.map → ArrayWidget-DfiusKpM.js.map} +1 -1
- package/dist/{ArrayplotWidget-B67ip6aR.cjs → ArrayplotWidget-DrrqqJEu.cjs} +2 -2
- package/dist/{ArrayplotWidget-B67ip6aR.cjs.map → ArrayplotWidget-DrrqqJEu.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-B9UGCr4-.js → ArrayplotWidget-DsvOovu9.js} +3 -3
- package/dist/{ArrayplotWidget-B9UGCr4-.js.map → ArrayplotWidget-DsvOovu9.js.map} +1 -1
- package/dist/{BarColumn-3fKM-em2.cjs → BarColumn-CWgcL5w1.cjs} +2 -2
- package/dist/{BarColumn-3fKM-em2.cjs.map → BarColumn-CWgcL5w1.cjs.map} +1 -1
- package/dist/{BarColumn-ClLBRGll.js → BarColumn-DHHJBR3V.js} +3 -3
- package/dist/{BarColumn-ClLBRGll.js.map → BarColumn-DHHJBR3V.js.map} +1 -1
- package/dist/{BlockWidget-DWexy9Dx.cjs → BlockWidget-7Ecn_42c.cjs} +2 -2
- package/dist/{BlockWidget-DWexy9Dx.cjs.map → BlockWidget-7Ecn_42c.cjs.map} +1 -1
- package/dist/{BlockWidget-CoQp-LZM.js → BlockWidget-BdYXWS_0.js} +4 -4
- package/dist/{BlockWidget-CoQp-LZM.js.map → BlockWidget-BdYXWS_0.js.map} +1 -1
- package/dist/{ButtonWidget-BBpVoIzj.cjs → ButtonWidget-DFxBj0MG.cjs} +2 -2
- package/dist/{ButtonWidget-BBpVoIzj.cjs.map → ButtonWidget-DFxBj0MG.cjs.map} +1 -1
- package/dist/{ButtonWidget-CTTwpFec.js → ButtonWidget-zpSJmiQT.js} +4 -4
- package/dist/{ButtonWidget-CTTwpFec.js.map → ButtonWidget-zpSJmiQT.js.map} +1 -1
- package/dist/{CanvasWidget-Qlx-Mo8v.cjs → CanvasWidget-C5-iZ-YT.cjs} +2 -2
- package/dist/{CanvasWidget-Qlx-Mo8v.cjs.map → CanvasWidget-C5-iZ-YT.cjs.map} +1 -1
- package/dist/{CanvasWidget-jFarbJ3t.js → CanvasWidget-DaUB1G9X.js} +2 -2
- package/dist/{CanvasWidget-jFarbJ3t.js.map → CanvasWidget-DaUB1G9X.js.map} +1 -1
- package/dist/{CanvasdotWidget-BoyUcwiB.js → CanvasdotWidget-C255aTVc.js} +2 -2
- package/dist/{CanvasdotWidget-BoyUcwiB.js.map → CanvasdotWidget-C255aTVc.js.map} +1 -1
- package/dist/{CanvasdotWidget-BROyk4FH.cjs → CanvasdotWidget-CCrgS1yO.cjs} +2 -2
- package/dist/{CanvasdotWidget-BROyk4FH.cjs.map → CanvasdotWidget-CCrgS1yO.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-BvTJnGXu.cjs → CanvasimageWidget-B2Mm0dYq.cjs} +2 -2
- package/dist/{CanvasimageWidget-BvTJnGXu.cjs.map → CanvasimageWidget-B2Mm0dYq.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-DmyCSnuQ.js → CanvasimageWidget-CFlUUFqr.js} +3 -3
- package/dist/{CanvasimageWidget-DmyCSnuQ.js.map → CanvasimageWidget-CFlUUFqr.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CzVrDo-Z.cjs → CanvasimagevalueWidget-B1xVa3FB.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-CzVrDo-Z.cjs.map → CanvasimagevalueWidget-B1xVa3FB.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CmbngMqv.js → CanvasimagevalueWidget-s4gR3fo5.js} +3 -3
- package/dist/{CanvasimagevalueWidget-CmbngMqv.js.map → CanvasimagevalueWidget-s4gR3fo5.js.map} +1 -1
- package/dist/{CanvaslabelWidget-BnvwV9MA.cjs → CanvaslabelWidget-CAtE3qq_.cjs} +2 -2
- package/dist/{CanvaslabelWidget-BnvwV9MA.cjs.map → CanvaslabelWidget-CAtE3qq_.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-D8NzLKqi.js → CanvaslabelWidget-CaOc-lTQ.js} +2 -2
- package/dist/{CanvaslabelWidget-D8NzLKqi.js.map → CanvaslabelWidget-CaOc-lTQ.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-DVnkclHD.cjs → CanvaslabelvalueWidget-CvVMrZsu.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-DVnkclHD.cjs.map → CanvaslabelvalueWidget-CvVMrZsu.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-DOybGI9D.js → CanvaslabelvalueWidget-hqJoPekq.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-DOybGI9D.js.map → CanvaslabelvalueWidget-hqJoPekq.js.map} +1 -1
- package/dist/{CanvaslineWidget-DgbXSH1K.cjs → CanvaslineWidget-CjPnyDod.cjs} +2 -2
- package/dist/{CanvaslineWidget-DgbXSH1K.cjs.map → CanvaslineWidget-CjPnyDod.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-D2NEei7j.js → CanvaslineWidget-DebP2L43.js} +2 -2
- package/dist/{CanvaslineWidget-D2NEei7j.js.map → CanvaslineWidget-DebP2L43.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-Ctvv9owf.js → CanvaslinevalueWidget-BkPG5Vtx.js} +2 -2
- package/dist/{CanvaslinevalueWidget-Ctvv9owf.js.map → CanvaslinevalueWidget-BkPG5Vtx.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-E3NDHyPl.cjs → CanvaslinevalueWidget-Caadjtan.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-E3NDHyPl.cjs.map → CanvaslinevalueWidget-Caadjtan.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-BdvWAgg_.cjs → CheckbuttonWidget-CEOWZkt6.cjs} +2 -2
- package/dist/{CheckbuttonWidget-BdvWAgg_.cjs.map → CheckbuttonWidget-CEOWZkt6.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-CQeR0BMF.js → CheckbuttonWidget-eQIcPATf.js} +2 -2
- package/dist/{CheckbuttonWidget-CQeR0BMF.js.map → CheckbuttonWidget-eQIcPATf.js.map} +1 -1
- package/dist/{ClassificationBanners-0BNhyyMS.cjs → ClassificationBanners--l3qMxLo.cjs} +2 -2
- package/dist/{ClassificationBanners-0BNhyyMS.cjs.map → ClassificationBanners--l3qMxLo.cjs.map} +1 -1
- package/dist/{ClassificationBanners-STI2n2yD.js → ClassificationBanners-CFLQaZJ2.js} +2 -2
- package/dist/{ClassificationBanners-STI2n2yD.js.map → ClassificationBanners-CFLQaZJ2.js.map} +1 -1
- package/dist/{ComboboxWidget-4N-MagvN.js → ComboboxWidget-B5kzYxFk.js} +2 -2
- package/dist/{ComboboxWidget-4N-MagvN.js.map → ComboboxWidget-B5kzYxFk.js.map} +1 -1
- package/dist/{ComboboxWidget-Dh0q9xpJ.cjs → ComboboxWidget-BSs59QzI.cjs} +2 -2
- package/dist/{ComboboxWidget-Dh0q9xpJ.cjs.map → ComboboxWidget-BSs59QzI.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-trVtKZft.js → CriticalCmdDialog-BYHZbX2w.js} +2 -2
- package/dist/{CriticalCmdDialog-trVtKZft.js.map → CriticalCmdDialog-BYHZbX2w.js.map} +1 -1
- package/dist/{CriticalCmdDialog-Dy1cQZxQ.cjs → CriticalCmdDialog-BhjiJIo5.cjs} +2 -2
- package/dist/{CriticalCmdDialog-Dy1cQZxQ.cjs.map → CriticalCmdDialog-BhjiJIo5.cjs.map} +1 -1
- package/dist/{DateWidget-rYTjwUdb.js → DateWidget-1IZOe50K.js} +2 -2
- package/dist/{DateWidget-rYTjwUdb.js.map → DateWidget-1IZOe50K.js.map} +1 -1
- package/dist/{DateWidget-DXN7u3vL.cjs → DateWidget-DkVxE7Xj.cjs} +2 -2
- package/dist/{DateWidget-DXN7u3vL.cjs.map → DateWidget-DkVxE7Xj.cjs.map} +1 -1
- package/dist/{DetailsDialog-p_vutijL.js → DetailsDialog-D-rjL4oc.js} +3 -3
- package/dist/{DetailsDialog-p_vutijL.js.map → DetailsDialog-D-rjL4oc.js.map} +1 -1
- package/dist/{DetailsDialog-CLCCuoHV.cjs → DetailsDialog-lJG8eclU.cjs} +2 -2
- package/dist/{DetailsDialog-CLCCuoHV.cjs.map → DetailsDialog-lJG8eclU.cjs.map} +1 -1
- package/dist/EventListDialog-5UXvnmNE.cjs +2 -0
- package/dist/EventListDialog-5UXvnmNE.cjs.map +1 -0
- package/dist/{EventListDialog-BshKrOuQ.js → EventListDialog-Id3rEQKY.js} +221 -229
- package/dist/EventListDialog-Id3rEQKY.js.map +1 -0
- package/dist/{FilechecksumWidget-Ddlm1UED.cjs → FilechecksumWidget-D-5GSjyV.cjs} +2 -2
- package/dist/{FilechecksumWidget-Ddlm1UED.cjs.map → FilechecksumWidget-D-5GSjyV.cjs.map} +1 -1
- package/dist/{FilechecksumWidget-gcmXxJHl.js → FilechecksumWidget-F_FX1Kjx.js} +3 -3
- package/dist/{FilechecksumWidget-gcmXxJHl.js.map → FilechecksumWidget-F_FX1Kjx.js.map} +1 -1
- package/dist/{FiledisplayWidget-CqM549A4.js → FiledisplayWidget-BF3G22jF.js} +3 -3
- package/dist/{FiledisplayWidget-CqM549A4.js.map → FiledisplayWidget-BF3G22jF.js.map} +1 -1
- package/dist/{FiledisplayWidget-CYX4HChi.cjs → FiledisplayWidget-BHLOY_cM.cjs} +2 -2
- package/dist/{FiledisplayWidget-CYX4HChi.cjs.map → FiledisplayWidget-BHLOY_cM.cjs.map} +1 -1
- package/dist/{FormatvalueWidget-BEwH0C7S.js → FormatvalueWidget-BkF9iiHs.js} +3 -3
- package/dist/{FormatvalueWidget-BEwH0C7S.js.map → FormatvalueWidget-BkF9iiHs.js.map} +1 -1
- package/dist/{FormatvalueWidget-CpsyYKXD.cjs → FormatvalueWidget-DTsP7isW.cjs} +2 -2
- package/dist/{FormatvalueWidget-CpsyYKXD.cjs.map → FormatvalueWidget-DTsP7isW.cjs.map} +1 -1
- package/dist/{Graph-CbjlChwf.js → Graph-C-7C2Jq5.js} +139 -143
- package/dist/{Graph-CbjlChwf.js.map → Graph-C-7C2Jq5.js.map} +1 -1
- package/dist/Graph-YYieRGo0.cjs +2 -0
- package/dist/{Graph-kmTrth08.cjs.map → Graph-YYieRGo0.cjs.map} +1 -1
- package/dist/{GraphWidget-SamHg2AA.cjs → GraphWidget-C7hqdqL-.cjs} +2 -2
- package/dist/{GraphWidget-SamHg2AA.cjs.map → GraphWidget-C7hqdqL-.cjs.map} +1 -1
- package/dist/{GraphWidget-CjxnC0Dc.js → GraphWidget-DRkDn8za.js} +2 -2
- package/dist/{GraphWidget-CjxnC0Dc.js.map → GraphWidget-DRkDn8za.js.map} +1 -1
- package/dist/{HorizontalWidget-Dt8bkM3k.js → HorizontalWidget-DB64wzZB.js} +2 -2
- package/dist/{HorizontalWidget-Dt8bkM3k.js.map → HorizontalWidget-DB64wzZB.js.map} +1 -1
- package/dist/{HorizontalWidget-ByZjU21C.cjs → HorizontalWidget-h-U8i3G-.cjs} +2 -2
- package/dist/{HorizontalWidget-ByZjU21C.cjs.map → HorizontalWidget-h-U8i3G-.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-CdAZ5Sa6.js → HorizontalboxWidget-BsHsGlvK.js} +5 -5
- package/dist/{HorizontalboxWidget-CdAZ5Sa6.js.map → HorizontalboxWidget-BsHsGlvK.js.map} +1 -1
- package/dist/{HorizontalboxWidget-DzYz5SXs.cjs → HorizontalboxWidget-E4LUf2eN.cjs} +2 -2
- package/dist/{HorizontalboxWidget-DzYz5SXs.cjs.map → HorizontalboxWidget-E4LUf2eN.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-CXZJTeU2.js → HorizontallineWidget-CyiexzIu.js} +2 -2
- package/dist/{HorizontallineWidget-CXZJTeU2.js.map → HorizontallineWidget-CyiexzIu.js.map} +1 -1
- package/dist/{HorizontallineWidget-C8Zhqxik.cjs → HorizontallineWidget-LibmHnAf.cjs} +2 -2
- package/dist/{HorizontallineWidget-C8Zhqxik.cjs.map → HorizontallineWidget-LibmHnAf.cjs.map} +1 -1
- package/dist/{IframeWidget-CrcWiAVE.js → IframeWidget-D9Vh0w2c.js} +2 -2
- package/dist/{IframeWidget-CrcWiAVE.js.map → IframeWidget-D9Vh0w2c.js.map} +1 -1
- package/dist/{IframeWidget-BuNXXziR.cjs → IframeWidget-xeXTxP_G.cjs} +2 -2
- package/dist/{IframeWidget-BuNXXziR.cjs.map → IframeWidget-xeXTxP_G.cjs.map} +1 -1
- package/dist/{ImageLoader-DPqax8yu.js → ImageLoader-B4iBPFyi.js} +2 -2
- package/dist/{ImageLoader-DPqax8yu.js.map → ImageLoader-B4iBPFyi.js.map} +1 -1
- package/dist/{ImageLoader-130w4tXJ.cjs → ImageLoader-Cc4-BNJv.cjs} +2 -2
- package/dist/{ImageLoader-130w4tXJ.cjs.map → ImageLoader-Cc4-BNJv.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-CTEl6iPg.js → ImageviewerWidget-DqV4SClv.js} +2 -2
- package/dist/{ImageviewerWidget-CTEl6iPg.js.map → ImageviewerWidget-DqV4SClv.js.map} +1 -1
- package/dist/{ImageviewerWidget-CafLbLp2.cjs → ImageviewerWidget-KVt487SJ.cjs} +2 -2
- package/dist/{ImageviewerWidget-CafLbLp2.cjs.map → ImageviewerWidget-KVt487SJ.cjs.map} +1 -1
- package/dist/{InterfacesTab-B9ApLB5q.js → InterfacesTab-C310FRIP.js} +3 -3
- package/dist/{InterfacesTab-B9ApLB5q.js.map → InterfacesTab-C310FRIP.js.map} +1 -1
- package/dist/{InterfacesTab-wPQSLcSj.cjs → InterfacesTab-nZwg-ByS.cjs} +2 -2
- package/dist/{InterfacesTab-wPQSLcSj.cjs.map → InterfacesTab-nZwg-ByS.cjs.map} +1 -1
- package/dist/{LabelWidget-CPqKGMx0.js → LabelWidget-BDukcPet.js} +2 -2
- package/dist/{LabelWidget-CPqKGMx0.js.map → LabelWidget-BDukcPet.js.map} +1 -1
- package/dist/{LabelWidget-BfBP3Xme.cjs → LabelWidget-DYfv4K8h.cjs} +2 -2
- package/dist/{LabelWidget-BfBP3Xme.cjs.map → LabelWidget-DYfv4K8h.cjs.map} +1 -1
- package/dist/{LabelledWidget-CZvKfFNW.cjs → LabelledWidget-Dl1x6b3p.cjs} +2 -2
- package/dist/{LabelledWidget-CZvKfFNW.cjs.map → LabelledWidget-Dl1x6b3p.cjs.map} +1 -1
- package/dist/{LabelledWidget-BHYzRMFd.js → LabelledWidget-tVHE426s.js} +4 -4
- package/dist/{LabelledWidget-BHYzRMFd.js.map → LabelledWidget-tVHE426s.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-D9deeUo7.js → LabelprogressbarWidget-CjMDFUUv.js} +4 -4
- package/dist/{LabelprogressbarWidget-D9deeUo7.js.map → LabelprogressbarWidget-CjMDFUUv.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-Bv0G5oT3.cjs → LabelprogressbarWidget-DcO0gRM4.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-Bv0G5oT3.cjs.map → LabelprogressbarWidget-DcO0gRM4.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-dyqEroDN.cjs → LabelsparklineWidget-Cp2a-qlI.cjs} +2 -2
- package/dist/{LabelsparklineWidget-dyqEroDN.cjs.map → LabelsparklineWidget-Cp2a-qlI.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-7mYre3CP.js → LabelsparklineWidget-dZl3cGu0.js} +4 -4
- package/dist/{LabelsparklineWidget-7mYre3CP.js.map → LabelsparklineWidget-dZl3cGu0.js.map} +1 -1
- package/dist/{LabelvalueWidget-Bsl7Z3wM.cjs → LabelvalueWidget-CgP4mzP_.cjs} +2 -2
- package/dist/{LabelvalueWidget-Bsl7Z3wM.cjs.map → LabelvalueWidget-CgP4mzP_.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-NLsD60n4.js → LabelvalueWidget-UcAc_2Ry.js} +4 -4
- package/dist/{LabelvalueWidget-NLsD60n4.js.map → LabelvalueWidget-UcAc_2Ry.js.map} +1 -1
- package/dist/{LabelvaluedescWidget-B_Xih-c5.cjs → LabelvaluedescWidget-CXJ037Qs.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-B_Xih-c5.cjs.map → LabelvaluedescWidget-CXJ037Qs.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-DXROG4Gs.js → LabelvaluedescWidget-Crb8udVe.js} +5 -5
- package/dist/{LabelvaluedescWidget-DXROG4Gs.js.map → LabelvaluedescWidget-Crb8udVe.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DDd0RIs5.cjs → LabelvaluelimitsbarWidget-B3cn7i50.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-DDd0RIs5.cjs.map → LabelvaluelimitsbarWidget-B3cn7i50.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DqVqHF4W.js → LabelvaluelimitsbarWidget-BZGUQrRt.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-DqVqHF4W.js.map → LabelvaluelimitsbarWidget-BZGUQrRt.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-C1aqkXh5.cjs → LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-C1aqkXh5.cjs.map → LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-BK6_31pC.js → LabelvaluelimitscolumnWidget-NNYW2aMO.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-BK6_31pC.js.map → LabelvaluelimitscolumnWidget-NNYW2aMO.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-a8u5LXBD.cjs → LabelvaluerangebarWidget-B81fLpK0.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-a8u5LXBD.cjs.map → LabelvaluerangebarWidget-B81fLpK0.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DR7C8gqw.js → LabelvaluerangebarWidget-CjkVDlVJ.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-DR7C8gqw.js.map → LabelvaluerangebarWidget-CjkVDlVJ.js.map} +1 -1
- package/dist/{Layout-B_Hgw3gd.js → Layout-FpBx3iic.js} +2 -2
- package/dist/{Layout-B_Hgw3gd.js.map → Layout-FpBx3iic.js.map} +1 -1
- package/dist/{Layout-CVGghwYm.cjs → Layout-K7_I6jMV.cjs} +2 -2
- package/dist/{Layout-CVGghwYm.cjs.map → Layout-K7_I6jMV.cjs.map} +1 -1
- package/dist/{LedWidget-CiAVs2tj.js → LedWidget-Bsp1aja-.js} +4 -4
- package/dist/{LedWidget-CiAVs2tj.js.map → LedWidget-Bsp1aja-.js.map} +1 -1
- package/dist/{LedWidget-Cmy47xfg.cjs → LedWidget-C19KREVz.cjs} +2 -2
- package/dist/{LedWidget-Cmy47xfg.cjs.map → LedWidget-C19KREVz.cjs.map} +1 -1
- package/dist/{LimitsBar-_UQG-M6e.js → LimitsBar-IVv8t4FE.js} +2 -2
- package/dist/{LimitsBar-_UQG-M6e.js.map → LimitsBar-IVv8t4FE.js.map} +1 -1
- package/dist/{LimitsBar-DTtMywOw.cjs → LimitsBar-LRiUSWd7.cjs} +2 -2
- package/dist/{LimitsBar-DTtMywOw.cjs.map → LimitsBar-LRiUSWd7.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-CYm_f1FN.cjs → LimitsbarWidget-BFjMhTbA.cjs} +2 -2
- package/dist/{LimitsbarWidget-CYm_f1FN.cjs.map → LimitsbarWidget-BFjMhTbA.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-CIwcOhC8.js → LimitsbarWidget-Bo1JAoQp.js} +3 -3
- package/dist/{LimitsbarWidget-CIwcOhC8.js.map → LimitsbarWidget-Bo1JAoQp.js.map} +1 -1
- package/dist/{LimitscolorWidget-oH6NGl1C.cjs → LimitscolorWidget-D214kS86.cjs} +2 -2
- package/dist/{LimitscolorWidget-oH6NGl1C.cjs.map → LimitscolorWidget-D214kS86.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-CGPfJwvT.js → LimitscolorWidget-Doq8h_g1.js} +2 -2
- package/dist/{LimitscolorWidget-CGPfJwvT.js.map → LimitscolorWidget-Doq8h_g1.js.map} +1 -1
- package/dist/{LimitscolumnWidget-CnGOCckG.cjs → LimitscolumnWidget-BREF_CBr.cjs} +2 -2
- package/dist/{LimitscolumnWidget-CnGOCckG.cjs.map → LimitscolumnWidget-BREF_CBr.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-Bj_UPEC8.js → LimitscolumnWidget-qasXHN7m.js} +2 -2
- package/dist/{LimitscolumnWidget-Bj_UPEC8.js.map → LimitscolumnWidget-qasXHN7m.js.map} +1 -1
- package/dist/{LinegraphWidget-DccnHbWa.js → LinegraphWidget-BNMqcr_r.js} +4 -4
- package/dist/{LinegraphWidget-DccnHbWa.js.map → LinegraphWidget-BNMqcr_r.js.map} +1 -1
- package/dist/{LinegraphWidget-zHs3NG-6.cjs → LinegraphWidget-BhpYKxnT.cjs} +2 -2
- package/dist/{LinegraphWidget-zHs3NG-6.cjs.map → LinegraphWidget-BhpYKxnT.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-Dd-udu5V.cjs → MatrixbycolumnsWidget-BKXkhATe.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-Dd-udu5V.cjs.map → MatrixbycolumnsWidget-BKXkhATe.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-U_NZ6aW-.js → MatrixbycolumnsWidget-BlF1CyIT.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-U_NZ6aW-.js.map → MatrixbycolumnsWidget-BlF1CyIT.js.map} +1 -1
- package/dist/{MicroservicesTab-DXgSxZ0K.cjs → MicroservicesTab-BWFwBSuf.cjs} +2 -2
- package/dist/{MicroservicesTab-DXgSxZ0K.cjs.map → MicroservicesTab-BWFwBSuf.cjs.map} +1 -1
- package/dist/{MicroservicesTab-DG3rdksb.js → MicroservicesTab-xpDXKoa-.js} +3 -3
- package/dist/{MicroservicesTab-DG3rdksb.js.map → MicroservicesTab-xpDXKoa-.js.map} +1 -1
- package/dist/OpenC3TimePicker-6pE8gGCO.cjs +2 -0
- package/dist/OpenC3TimePicker-6pE8gGCO.cjs.map +1 -0
- package/dist/OpenC3TimePicker-D-_qqySI.js +219 -0
- package/dist/OpenC3TimePicker-D-_qqySI.js.map +1 -0
- package/dist/{Openc3Screen-CDwAWaTl.js → Openc3Screen-DYJHNotN.js} +707 -509
- package/dist/Openc3Screen-DYJHNotN.js.map +1 -0
- package/dist/Openc3Screen-Pu1ktpS8.cjs +6 -0
- package/dist/Openc3Screen-Pu1ktpS8.cjs.map +1 -0
- package/dist/{OutputDialog-D2YCbR20.cjs → OutputDialog-BwEWPQW9.cjs} +2 -2
- package/dist/{OutputDialog-D2YCbR20.cjs.map → OutputDialog-BwEWPQW9.cjs.map} +1 -1
- package/dist/{OutputDialog-Di-pSmJE.js → OutputDialog-x4QZFAWe.js} +2 -2
- package/dist/{OutputDialog-Di-pSmJE.js.map → OutputDialog-x4QZFAWe.js.map} +1 -1
- package/dist/{PackagesTab-C-fV9yxw.cjs → PackagesTab-CHwfaqdP.cjs} +2 -2
- package/dist/{PackagesTab-C-fV9yxw.cjs.map → PackagesTab-CHwfaqdP.cjs.map} +1 -1
- package/dist/{PackagesTab-Bui5q3rX.js → PackagesTab-rzc4hqOb.js} +3 -3
- package/dist/{PackagesTab-Bui5q3rX.js.map → PackagesTab-rzc4hqOb.js.map} +1 -1
- package/dist/{PluginsTab-DxxlKeVx.cjs → PluginsTab-C7gLbRQn.cjs} +2 -2
- package/dist/{PluginsTab-DxxlKeVx.cjs.map → PluginsTab-C7gLbRQn.cjs.map} +1 -1
- package/dist/{PluginsTab-zR9eZuvc.js → PluginsTab-Dff_0j26.js} +4 -4
- package/dist/{PluginsTab-zR9eZuvc.js.map → PluginsTab-Dff_0j26.js.map} +1 -1
- package/dist/{ProgressbarWidget-D4JtVzyk.js → ProgressbarWidget-DQ80NANH.js} +2 -2
- package/dist/{ProgressbarWidget-D4JtVzyk.js.map → ProgressbarWidget-DQ80NANH.js.map} +1 -1
- package/dist/{ProgressbarWidget-Cxvwcfgn.cjs → ProgressbarWidget-cQAtX_Q7.cjs} +2 -2
- package/dist/{ProgressbarWidget-Cxvwcfgn.cjs.map → ProgressbarWidget-cQAtX_Q7.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-Ccgftl13.cjs → RadiobuttonWidget-DFrUZRaV.cjs} +2 -2
- package/dist/{RadiobuttonWidget-Ccgftl13.cjs.map → RadiobuttonWidget-DFrUZRaV.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-BUaW7pRx.js → RadiobuttonWidget-LD18M4IQ.js} +2 -2
- package/dist/{RadiobuttonWidget-BUaW7pRx.js.map → RadiobuttonWidget-LD18M4IQ.js.map} +1 -1
- package/dist/{RadiogroupWidget-NIv4CaUQ.js → RadiogroupWidget-D_pt2MPz.js} +2 -2
- package/dist/{RadiogroupWidget-NIv4CaUQ.js.map → RadiogroupWidget-D_pt2MPz.js.map} +1 -1
- package/dist/{RadiogroupWidget-CSxjpxCr.cjs → RadiogroupWidget-ljP05k3g.cjs} +2 -2
- package/dist/{RadiogroupWidget-CSxjpxCr.cjs.map → RadiogroupWidget-ljP05k3g.cjs.map} +1 -1
- package/dist/{RangebarWidget-BtxfPo-U.cjs → RangebarWidget-BsLWXvTo.cjs} +2 -2
- package/dist/{RangebarWidget-BtxfPo-U.cjs.map → RangebarWidget-BsLWXvTo.cjs.map} +1 -1
- package/dist/{RangebarWidget-1-CsFpcl.js → RangebarWidget-DhaWpHjB.js} +2 -2
- package/dist/{RangebarWidget-1-CsFpcl.js.map → RangebarWidget-DhaWpHjB.js.map} +1 -1
- package/dist/{RedisTab-DuO-zUV3.js → RedisTab-C3yjh0JX.js} +2 -2
- package/dist/{RedisTab-DuO-zUV3.js.map → RedisTab-C3yjh0JX.js.map} +1 -1
- package/dist/{RedisTab-DOozcC9a.cjs → RedisTab-DEKMLop2.cjs} +2 -2
- package/dist/{RedisTab-DOozcC9a.cjs.map → RedisTab-DEKMLop2.cjs.map} +1 -1
- package/dist/{RollupWidget-ChasTJYP.js → RollupWidget-CMU1-HwL.js} +2 -2
- package/dist/{RollupWidget-ChasTJYP.js.map → RollupWidget-CMU1-HwL.js.map} +1 -1
- package/dist/{RollupWidget-CQxl1mlr.cjs → RollupWidget-sXTyo7zH.cjs} +2 -2
- package/dist/{RollupWidget-CQxl1mlr.cjs.map → RollupWidget-sXTyo7zH.cjs.map} +1 -1
- package/dist/{RoutersTab-C0UHSj-S.js → RoutersTab-DaWde6np.js} +3 -3
- package/dist/{RoutersTab-C0UHSj-S.js.map → RoutersTab-DaWde6np.js.map} +1 -1
- package/dist/{RoutersTab-DgWAXGUv.cjs → RoutersTab-IKuEHQeO.cjs} +2 -2
- package/dist/{RoutersTab-DgWAXGUv.cjs.map → RoutersTab-IKuEHQeO.cjs.map} +1 -1
- package/dist/{ScriptChooser-D1dddugi.cjs → ScriptChooser-BmyV6QQD.cjs} +2 -2
- package/dist/{ScriptChooser-D1dddugi.cjs.map → ScriptChooser-BmyV6QQD.cjs.map} +1 -1
- package/dist/{ScriptChooser-C5HHbbcP.js → ScriptChooser-DCjI5aeZ.js} +4 -4
- package/dist/{ScriptChooser-C5HHbbcP.js.map → ScriptChooser-DCjI5aeZ.js.map} +1 -1
- package/dist/{ScrollwindowWidget-Bkyjw0Qt.cjs → ScrollwindowWidget-BcLF_bhy.cjs} +2 -2
- package/dist/{ScrollwindowWidget-Bkyjw0Qt.cjs.map → ScrollwindowWidget-BcLF_bhy.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-Y2J758y6.js → ScrollwindowWidget-D7Ln-QMq.js} +2 -2
- package/dist/{ScrollwindowWidget-Y2J758y6.js.map → ScrollwindowWidget-D7Ln-QMq.js.map} +1 -1
- package/dist/{SecretsTab-Ds3kGOmd.cjs → SecretsTab-BM9HIjT_.cjs} +2 -2
- package/dist/{SecretsTab-Ds3kGOmd.cjs.map → SecretsTab-BM9HIjT_.cjs.map} +1 -1
- package/dist/{SecretsTab-c5g8Zk4g.js → SecretsTab-Dhal1RCq.js} +2 -2
- package/dist/{SecretsTab-c5g8Zk4g.js.map → SecretsTab-Dhal1RCq.js.map} +1 -1
- package/dist/SettingsTab-BrSkK_Fs.cjs +3 -0
- package/dist/SettingsTab-BrSkK_Fs.cjs.map +1 -0
- package/dist/{SettingsTab-CTd3_Ipy.js → SettingsTab-Dtj_AlEW.js} +249 -136
- package/dist/SettingsTab-Dtj_AlEW.js.map +1 -0
- package/dist/{SignalWidget-BkTXZpGV.cjs → SignalWidget-DHwveppA.cjs} +2 -2
- package/dist/{SignalWidget-BkTXZpGV.cjs.map → SignalWidget-DHwveppA.cjs.map} +1 -1
- package/dist/{SignalWidget-DFhHDicI.js → SignalWidget-PreTg4Mt.js} +2 -2
- package/dist/{SignalWidget-DFhHDicI.js.map → SignalWidget-PreTg4Mt.js.map} +1 -1
- package/dist/{SimpleTextDialog-Dv5ypyUQ.cjs → SimpleTextDialog-Bdw3jul4.cjs} +2 -2
- package/dist/{SimpleTextDialog-Dv5ypyUQ.cjs.map → SimpleTextDialog-Bdw3jul4.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-CXIEKlX0.js → SimpleTextDialog-DDIm5Znf.js} +2 -2
- package/dist/{SimpleTextDialog-CXIEKlX0.js.map → SimpleTextDialog-DDIm5Znf.js.map} +1 -1
- package/dist/{SpacerWidget-D4KojaGb.js → SpacerWidget-Chy1NO28.js} +2 -2
- package/dist/{SpacerWidget-D4KojaGb.js.map → SpacerWidget-Chy1NO28.js.map} +1 -1
- package/dist/{SpacerWidget-HsSCc07C.cjs → SpacerWidget-Cj-j_MsG.cjs} +2 -2
- package/dist/{SpacerWidget-HsSCc07C.cjs.map → SpacerWidget-Cj-j_MsG.cjs.map} +1 -1
- package/dist/{SparklineWidget-BdRM-ymk.cjs → SparklineWidget-BE1LieLF.cjs} +2 -2
- package/dist/{SparklineWidget-BdRM-ymk.cjs.map → SparklineWidget-BE1LieLF.cjs.map} +1 -1
- package/dist/{SparklineWidget-DMHFzw8L.js → SparklineWidget-Bb-gCNNt.js} +4 -4
- package/dist/{SparklineWidget-DMHFzw8L.js.map → SparklineWidget-Bb-gCNNt.js.map} +1 -1
- package/dist/{TabbookWidget-NmIK-Lgf.cjs → TabbookWidget-FNbiZpjn.cjs} +2 -2
- package/dist/{TabbookWidget-NmIK-Lgf.cjs.map → TabbookWidget-FNbiZpjn.cjs.map} +1 -1
- package/dist/{TabbookWidget-NVLYMdFG.js → TabbookWidget-a-LsBhBE.js} +2 -2
- package/dist/{TabbookWidget-NVLYMdFG.js.map → TabbookWidget-a-LsBhBE.js.map} +1 -1
- package/dist/TargetPacketItemChooser-BPRByyfB.cjs +2 -0
- package/dist/TargetPacketItemChooser-BPRByyfB.cjs.map +1 -0
- package/dist/{TargetPacketItemChooser-D5h9Octy.js → TargetPacketItemChooser-DDqBQTWC.js} +179 -146
- package/dist/TargetPacketItemChooser-DDqBQTWC.js.map +1 -0
- package/dist/{TargetsTab-b35HgnRl.js → TargetsTab-C7Pn5-19.js} +3 -3
- package/dist/{TargetsTab-b35HgnRl.js.map → TargetsTab-C7Pn5-19.js.map} +1 -1
- package/dist/{TargetsTab-JLjpJ1wn.cjs → TargetsTab-dndajwC_.cjs} +2 -2
- package/dist/{TargetsTab-JLjpJ1wn.cjs.map → TargetsTab-dndajwC_.cjs.map} +1 -1
- package/dist/{TextboxWidget-CrMYPQIF.js → TextboxWidget-DIHEOldN.js} +4 -4
- package/dist/{TextboxWidget-CrMYPQIF.js.map → TextboxWidget-DIHEOldN.js.map} +1 -1
- package/dist/{TextboxWidget-xk3OFSUZ.cjs → TextboxWidget-DYTNipbi.cjs} +2 -2
- package/dist/{TextboxWidget-xk3OFSUZ.cjs.map → TextboxWidget-DYTNipbi.cjs.map} +1 -1
- package/dist/{TextfieldWidget-DnnKM6vS.cjs → TextfieldWidget-BE-HpIKs.cjs} +2 -2
- package/dist/{TextfieldWidget-DnnKM6vS.cjs.map → TextfieldWidget-BE-HpIKs.cjs.map} +1 -1
- package/dist/{TextfieldWidget-DMBQwtnb.js → TextfieldWidget-CIBo7Dau.js} +2 -2
- package/dist/{TextfieldWidget-DMBQwtnb.js.map → TextfieldWidget-CIBo7Dau.js.map} +1 -1
- package/dist/TimeWidget-CLuOYfPP.js +43 -0
- package/dist/TimeWidget-CLuOYfPP.js.map +1 -0
- package/dist/TimeWidget-RYL7zDoC.cjs +2 -0
- package/dist/TimeWidget-RYL7zDoC.cjs.map +1 -0
- package/dist/{TitleWidget-V1FGI8l3.js → TitleWidget-BTHKLAsb.js} +2 -2
- package/dist/{TitleWidget-V1FGI8l3.js.map → TitleWidget-BTHKLAsb.js.map} +1 -1
- package/dist/{TitleWidget-CfFyUkSu.cjs → TitleWidget-DVWOhZqJ.cjs} +2 -2
- package/dist/{TitleWidget-CfFyUkSu.cjs.map → TitleWidget-DVWOhZqJ.cjs.map} +1 -1
- package/dist/{ToolsTab-jUNdj09m.cjs → ToolsTab-D4LFT4tV.cjs} +2 -2
- package/dist/{ToolsTab-jUNdj09m.cjs.map → ToolsTab-D4LFT4tV.cjs.map} +1 -1
- package/dist/{ToolsTab-7qOQPnN3.js → ToolsTab-D5yhjVM0.js} +3 -3
- package/dist/{ToolsTab-7qOQPnN3.js.map → ToolsTab-D5yhjVM0.js.map} +1 -1
- package/dist/{TopBar-DdOFDiCo.cjs → TopBar-DUdrFsMv.cjs} +2 -2
- package/dist/{TopBar-DdOFDiCo.cjs.map → TopBar-DUdrFsMv.cjs.map} +1 -1
- package/dist/{TopBar-BkwvK0oj.js → TopBar-DzxJ69Tt.js} +2 -2
- package/dist/{TopBar-BkwvK0oj.js.map → TopBar-DzxJ69Tt.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CEUcvlkx.js → UpgradeToEnterpriseDialog-Bf6rEOgp.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-CEUcvlkx.js.map → UpgradeToEnterpriseDialog-Bf6rEOgp.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CP-jJxU4.cjs → UpgradeToEnterpriseDialog-CujyHt2o.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-CP-jJxU4.cjs.map → UpgradeToEnterpriseDialog-CujyHt2o.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-CX-SWpru.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs} +77 -77
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-CX-SWpru.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.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-NXWdTcR2.js} +5471 -5449
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-D9LFRi0t.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js.map} +1 -1
- package/dist/{VWidget-rAFU-0vj.js → VWidget-BcwkHuIT.js} +3 -3
- package/dist/{VWidget-rAFU-0vj.js.map → VWidget-BcwkHuIT.js.map} +1 -1
- package/dist/{VWidget-BJArPtqI.cjs → VWidget-CbdjSkP3.cjs} +2 -2
- package/dist/{VWidget-BJArPtqI.cjs.map → VWidget-CbdjSkP3.cjs.map} +1 -1
- package/dist/{ValueWidget-BI3uXmda.js → ValueWidget-BubIamVx.js} +4 -4
- package/dist/{ValueWidget-BI3uXmda.js.map → ValueWidget-BubIamVx.js.map} +1 -1
- package/dist/{ValueWidget-CwuH7beM.cjs → ValueWidget-CgAl2Av2.cjs} +2 -2
- package/dist/{ValueWidget-CwuH7beM.cjs.map → ValueWidget-CgAl2Av2.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-BGSJLpw4.js → ValuelimitsbarWidget-DKTrV1RT.js} +4 -4
- package/dist/{ValuelimitsbarWidget-BGSJLpw4.js.map → ValuelimitsbarWidget-DKTrV1RT.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-BSkGhA_y.cjs → ValuelimitsbarWidget-Dn_sS0zt.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-BSkGhA_y.cjs.map → ValuelimitsbarWidget-Dn_sS0zt.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BXdPahDO.cjs → ValuelimitscolumnWidget-CGhifOZI.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-BXdPahDO.cjs.map → ValuelimitscolumnWidget-CGhifOZI.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-CaNjHy4v.js → ValuelimitscolumnWidget-D8JIK4Zi.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-CaNjHy4v.js.map → ValuelimitscolumnWidget-D8JIK4Zi.js.map} +1 -1
- package/dist/{ValuerangebarWidget-Do40-aaL.js → ValuerangebarWidget-D8hVKp0l.js} +4 -4
- package/dist/{ValuerangebarWidget-Do40-aaL.js.map → ValuerangebarWidget-D8hVKp0l.js.map} +1 -1
- package/dist/{ValuerangebarWidget-DvWGqBNM.cjs → ValuerangebarWidget-DPtR-Dla.cjs} +2 -2
- package/dist/{ValuerangebarWidget-DvWGqBNM.cjs.map → ValuerangebarWidget-DPtR-Dla.cjs.map} +1 -1
- package/dist/{VerticalWidget-DZqghqIm.js → VerticalWidget-DMp3DXGa.js} +2 -2
- package/dist/{VerticalWidget-DZqghqIm.js.map → VerticalWidget-DMp3DXGa.js.map} +1 -1
- package/dist/{VerticalWidget-y238HI2A.cjs → VerticalWidget-DScGTfwX.cjs} +2 -2
- package/dist/{VerticalWidget-y238HI2A.cjs.map → VerticalWidget-DScGTfwX.cjs.map} +1 -1
- package/dist/{VerticalboxWidget--dgKnG5Z.cjs → VerticalboxWidget-CIJ1c7WU.cjs} +2 -2
- package/dist/{VerticalboxWidget--dgKnG5Z.cjs.map → VerticalboxWidget-CIJ1c7WU.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-CQ__4FcS.js → VerticalboxWidget-CVf1d_3_.js} +5 -5
- package/dist/{VerticalboxWidget-CQ__4FcS.js.map → VerticalboxWidget-CVf1d_3_.js.map} +1 -1
- package/dist/{Widget-DdxHKVWn.cjs → Widget-Btu2EoLT.cjs} +2 -2
- package/dist/{Widget-DdxHKVWn.cjs.map → Widget-Btu2EoLT.cjs.map} +1 -1
- package/dist/{Widget-6-Nvewdp.js → Widget-D4rzBHnr.js} +2 -2
- package/dist/{Widget-6-Nvewdp.js.map → Widget-D4rzBHnr.js.map} +1 -1
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +383 -218
- package/dist/components.js.map +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js.map +1 -1
- package/dist/{settings-BCE3SW-9.cjs → settings-B9vbjzwV.cjs} +2 -2
- package/dist/{settings-BCE3SW-9.cjs.map → settings-B9vbjzwV.cjs.map} +1 -1
- package/dist/{settings-CHPWZcnU.js → settings-Ctcx_wMT.js} +2 -2
- package/dist/{settings-CHPWZcnU.js.map → settings-Ctcx_wMT.js.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.js +3 -3
- 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 +905 -976
- 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 +4 -4
- 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/Graph-kmTrth08.cjs +0 -2
- 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/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
|
@@ -1,31 +1,158 @@
|
|
|
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 B = (t, e, o) => (
|
|
8
|
-
import {
|
|
9
|
-
import { resolveComponent 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 B = (t, e, o) => (Je(t, e, "read from private field"), o ? o.call(t) : e.get(t)), J = (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 { y as Ie, f as O, g as st } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js";
|
|
9
|
+
import { resolveComponent as r, createElementBlock as z, openBlock as y, createVNode as s, createBlock as T, createCommentVNode as D, withCtx as l, createTextVNode as k, createElementVNode as x, withDirectives as nt, vShow as ot, toDisplayString as L, mergeProps as Y, normalizeClass as qe, inject as oe, getCurrentInstance as lt, computed as Z, 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 $, 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
10
|
import { _ as K } from "../CustomIcon-B9m73Gqm.js";
|
|
11
|
-
import { T as
|
|
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-x4QZFAWe.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
|
|
15
|
+
import { a as ft } from "../index-3k1IXN1T.js";
|
|
16
|
+
import { u as gt } from "../useContainerHeight-BAw05dIa.js";
|
|
17
|
+
import { T as vt, A as Ee } from "../TopBar-DzxJ69Tt.js";
|
|
18
|
+
import { E as _t, C as bt } from "../ScriptChooser-DCjI5aeZ.js";
|
|
19
|
+
import { f as wt } from "../fileIcon-DqRHb1_Z.js";
|
|
20
|
+
import { C as yt } from "../CriticalCmdDialog-BYHZbX2w.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-DYJHNotN.js";
|
|
22
|
+
import { S as Et } from "../SimpleTextDialog-DDIm5Znf.js";
|
|
23
|
+
import { _ as Rt } from "../ClassificationBanners-CFLQaZJ2.js";
|
|
24
24
|
import "../purify.es-BGaRrCfO.js";
|
|
25
|
-
import { E as
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
import { E as Ot } from "../EventListDialog-Id3rEQKY.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 = this.cmdKeywordExpressions.reduce((_, P) => _ || d.match(P), null), w = this.tlmKeywordExpressions.reduce((_, P) => _ || d.match(P), null);
|
|
52
|
+
if (!c && !w)
|
|
53
|
+
return n;
|
|
54
|
+
let S = c || w, V = S.length;
|
|
55
|
+
S = S[V - 1];
|
|
56
|
+
const b = S.substring(S.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
57
|
+
if (b.match(Mt))
|
|
58
|
+
return n.linesToSkip.push(h + 1), n;
|
|
59
|
+
const R = !!b.match(Tt), E = b.split(
|
|
60
|
+
R ? "," : " "
|
|
61
|
+
);
|
|
62
|
+
if (E.length < 2)
|
|
63
|
+
return n;
|
|
64
|
+
const I = {
|
|
65
|
+
target: E[0],
|
|
66
|
+
packet: E[1]
|
|
67
|
+
};
|
|
68
|
+
if (w)
|
|
69
|
+
I.item = E[2];
|
|
70
|
+
else {
|
|
71
|
+
const _ = E.slice(2);
|
|
72
|
+
R ? I.params = _.map(
|
|
73
|
+
(P) => P.split("=>")[0]
|
|
74
|
+
) : I.params = _.filter((P, G) => G % 2);
|
|
75
|
+
}
|
|
76
|
+
for (const _ in I)
|
|
77
|
+
typeof I[_] == "string" ? I[_] = I[_].replace(/['"]/g, "").trim() : I[_] = I[_].map(
|
|
78
|
+
(P) => P.replace(/['"]/g, "").trim()
|
|
79
|
+
);
|
|
80
|
+
return n.linesToCheck.push({
|
|
81
|
+
line: d,
|
|
82
|
+
mnemonic: I,
|
|
83
|
+
lineNumber: h + 1
|
|
84
|
+
}), n;
|
|
85
|
+
},
|
|
86
|
+
{ linesToCheck: [], linesToSkip: [] }
|
|
87
|
+
), i = await this._checkLines(o);
|
|
88
|
+
return {
|
|
89
|
+
skipped: a.sort(),
|
|
90
|
+
problems: i.sort((n, d) => n.lineNumber - d.lineNumber)
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
async _checkLines(e) {
|
|
94
|
+
const o = [], a = Ze(
|
|
95
|
+
e,
|
|
96
|
+
(i) => i.mnemonic.target
|
|
97
|
+
);
|
|
98
|
+
for (const i in a) {
|
|
99
|
+
if (!this.targets[i]) {
|
|
100
|
+
for (const d of a[i])
|
|
101
|
+
o.push({
|
|
102
|
+
...d,
|
|
103
|
+
error: `Target "${i}" does not exist.`
|
|
104
|
+
});
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
const n = Ze(
|
|
108
|
+
a[i],
|
|
109
|
+
(d) => d.mnemonic.packet
|
|
110
|
+
);
|
|
111
|
+
for (const d in n)
|
|
112
|
+
for (const h of n[d]) {
|
|
113
|
+
const c = h.mnemonic.item ? "tlm" : "cmd";
|
|
114
|
+
if (!this.targets[i][c]) {
|
|
115
|
+
const S = h.mnemonic.item ? "get_all_tlm" : "get_all_cmds", V = await this.api[S](i);
|
|
116
|
+
this.targets[i][c] = V.reduce(
|
|
117
|
+
(b, R) => (b[R.packet_name] = R.items.map(
|
|
118
|
+
(E) => E.name
|
|
119
|
+
), b),
|
|
120
|
+
{}
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
const w = this.targets[i][c][d];
|
|
124
|
+
if (!w) {
|
|
125
|
+
o.push({
|
|
126
|
+
...h,
|
|
127
|
+
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
128
|
+
});
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
if (h.mnemonic.item) {
|
|
132
|
+
if (!w.some((S) => S === h.mnemonic.item)) {
|
|
133
|
+
o.push({
|
|
134
|
+
...h,
|
|
135
|
+
error: `Item "${i} ${d} ${h.mnemonic.item}" does not exist.`
|
|
136
|
+
});
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
} else
|
|
140
|
+
for (const S of h.mnemonic.params)
|
|
141
|
+
if (!w.some((V) => V === S)) {
|
|
142
|
+
o.push({
|
|
143
|
+
...h,
|
|
144
|
+
error: `Command "${i} ${d}" param "${S}" does not exist.`
|
|
145
|
+
});
|
|
146
|
+
continue;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return o;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const Ut = {
|
|
154
|
+
components: { OutputDialog: pt },
|
|
155
|
+
mixins: [mt],
|
|
29
156
|
props: {
|
|
30
157
|
tabId: {
|
|
31
158
|
type: Number,
|
|
@@ -128,12 +255,12 @@ const Ot = {
|
|
|
128
255
|
O.get(
|
|
129
256
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
130
257
|
).then((e) => {
|
|
131
|
-
const o = e.data.items || [],
|
|
258
|
+
const o = e.data.items || [], a = /* @__PURE__ */ new Date();
|
|
132
259
|
o.forEach((i) => {
|
|
133
260
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
134
|
-
const
|
|
261
|
+
const n = new Date(i.start_time), d = a - n;
|
|
135
262
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
136
|
-
|
|
263
|
+
n,
|
|
137
264
|
this.timeZone
|
|
138
265
|
), d < 0)
|
|
139
266
|
i.duration = "N/A";
|
|
@@ -142,11 +269,11 @@ const Ot = {
|
|
|
142
269
|
else if (d < 6e4)
|
|
143
270
|
i.duration = `${Math.round(d / 1e3)}s`;
|
|
144
271
|
else if (d < 36e5) {
|
|
145
|
-
const
|
|
146
|
-
i.duration = `${
|
|
272
|
+
const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
273
|
+
i.duration = `${h}m ${c}s`;
|
|
147
274
|
} else {
|
|
148
|
-
const
|
|
149
|
-
i.duration = `${
|
|
275
|
+
const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), w = Math.round(d % 6e4 / 1e3);
|
|
276
|
+
i.duration = `${h}h ${c}m ${w}s`;
|
|
150
277
|
}
|
|
151
278
|
} else
|
|
152
279
|
i.duration = "N/A";
|
|
@@ -171,27 +298,27 @@ const Ot = {
|
|
|
171
298
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
172
299
|
).then((e) => {
|
|
173
300
|
const o = e.data.items || [];
|
|
174
|
-
o.forEach((
|
|
175
|
-
if (
|
|
176
|
-
const i = new Date(
|
|
177
|
-
if (
|
|
301
|
+
o.forEach((a) => {
|
|
302
|
+
if (a.user_display = `${a.user_full_name} (${a.username})`, a.start_time && a.end_time) {
|
|
303
|
+
const i = new Date(a.start_time), d = new Date(a.end_time) - i;
|
|
304
|
+
if (a.start_time_formatted = this.formatDateTimeHMS(
|
|
178
305
|
i,
|
|
179
306
|
this.timeZone
|
|
180
307
|
), d < 0)
|
|
181
|
-
|
|
308
|
+
a.duration = "N/A";
|
|
182
309
|
else if (d < 1e3)
|
|
183
|
-
|
|
310
|
+
a.duration = "< 1s";
|
|
184
311
|
else if (d < 6e4)
|
|
185
|
-
|
|
312
|
+
a.duration = `${Math.round(d / 1e3)}s`;
|
|
186
313
|
else if (d < 36e5) {
|
|
187
|
-
const
|
|
188
|
-
|
|
314
|
+
const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
315
|
+
a.duration = `${h}m ${c}s`;
|
|
189
316
|
} else {
|
|
190
|
-
const
|
|
191
|
-
|
|
317
|
+
const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), w = Math.round(d % 6e4 / 1e3);
|
|
318
|
+
a.duration = `${h}h ${c}m ${w}s`;
|
|
192
319
|
}
|
|
193
320
|
} else
|
|
194
|
-
|
|
321
|
+
a.duration = "N/A";
|
|
195
322
|
}), this.completedScripts = o, this.completedTotal = e.data.total || o.length, this.completedLoading = !1;
|
|
196
323
|
}).catch((e) => {
|
|
197
324
|
this.completedLoading = !1, this.$notify.caution({
|
|
@@ -245,64 +372,64 @@ const Ot = {
|
|
|
245
372
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
246
373
|
o
|
|
247
374
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
248
|
-
).then((
|
|
375
|
+
).then((a) => {
|
|
249
376
|
const i = o.split("/");
|
|
250
|
-
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(
|
|
377
|
+
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(a.data.contents), this.showDialog = !0;
|
|
251
378
|
});
|
|
252
379
|
},
|
|
253
380
|
downloadScriptLog: function(t, e, o = "text") {
|
|
254
|
-
let
|
|
255
|
-
e === "report" ? (this.dialogName = "Report",
|
|
381
|
+
let a = null;
|
|
382
|
+
e === "report" ? (this.dialogName = "Report", a = t.report) : (this.dialogName = "Log", a = t.log), this.downloadScript = t, o === "ctrf" && e === "report" ? O.get(
|
|
256
383
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
257
|
-
|
|
384
|
+
a
|
|
258
385
|
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
259
386
|
).then((i) => {
|
|
260
|
-
const
|
|
387
|
+
const n = new Blob([window.atob(i.data.contents)], {
|
|
261
388
|
type: "application/json"
|
|
262
389
|
}), d = document.createElement("a");
|
|
263
|
-
d.href = URL.createObjectURL(
|
|
390
|
+
d.href = URL.createObjectURL(n), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
|
|
264
391
|
}).catch(() => {
|
|
265
392
|
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 ${
|
|
393
|
+
title: `Unable to download log ${a}`,
|
|
394
|
+
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
268
395
|
}), this.downloadScript = null;
|
|
269
396
|
}) : O.get(
|
|
270
397
|
`/openc3-api/storage/download/${encodeURIComponent(
|
|
271
|
-
|
|
398
|
+
a
|
|
272
399
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
273
400
|
).then((i) => {
|
|
274
|
-
const
|
|
275
|
-
|
|
401
|
+
const n = a.split("/"), d = n[n.length - 1], h = document.createElement("a");
|
|
402
|
+
h.href = i.data.url, h.setAttribute("download", d), h.click(), this.downloadScript = null;
|
|
276
403
|
}).catch(() => {
|
|
277
404
|
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 ${
|
|
405
|
+
title: `Unable to download log ${a}`,
|
|
406
|
+
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
280
407
|
}), this.downloadScript = null;
|
|
281
408
|
});
|
|
282
409
|
}
|
|
283
410
|
}
|
|
284
|
-
},
|
|
285
|
-
function
|
|
286
|
-
const d =
|
|
411
|
+
}, Pt = { key: 0 }, Dt = { key: 1 };
|
|
412
|
+
function zt(t, e, o, a, i, n) {
|
|
413
|
+
const d = r("v-tab"), h = r("v-tabs"), c = r("v-spacer"), w = r("v-btn"), S = r("v-text-field"), V = r("v-row"), b = r("v-card-title"), R = r("v-icon"), E = r("v-data-table-server"), I = r("v-window-item"), _ = r("v-list-item-title"), P = r("v-list-item"), G = r("v-list"), Q = r("v-menu"), te = r("v-window"), j = r("v-card"), ie = r("output-dialog");
|
|
287
414
|
return y(), z("div", null, [
|
|
288
|
-
|
|
415
|
+
s(j, {
|
|
289
416
|
flat: "",
|
|
290
417
|
class: "tab-card"
|
|
291
418
|
}, {
|
|
292
419
|
default: l(() => [
|
|
293
|
-
|
|
420
|
+
s(h, {
|
|
294
421
|
modelValue: i.activeTab,
|
|
295
422
|
"onUpdate:modelValue": e[0] || (e[0] = (U) => i.activeTab = U),
|
|
296
423
|
"bg-color": "var(--color-background-base-default)"
|
|
297
424
|
}, {
|
|
298
425
|
default: l(() => [
|
|
299
|
-
|
|
426
|
+
s(d, { value: "running" }, {
|
|
300
427
|
default: l(() => [...e[6] || (e[6] = [
|
|
301
428
|
k("Running Scripts", -1)
|
|
302
429
|
])]),
|
|
303
430
|
_: 1
|
|
304
431
|
}),
|
|
305
|
-
|
|
432
|
+
s(d, { value: "completed" }, {
|
|
306
433
|
default: l(() => [...e[7] || (e[7] = [
|
|
307
434
|
k("Completed Scripts", -1)
|
|
308
435
|
])]),
|
|
@@ -311,29 +438,29 @@ function It(t, e, o, r, i, s) {
|
|
|
311
438
|
]),
|
|
312
439
|
_: 1
|
|
313
440
|
}, 8, ["modelValue"]),
|
|
314
|
-
|
|
441
|
+
s(te, {
|
|
315
442
|
modelValue: i.activeTab,
|
|
316
443
|
"onUpdate:modelValue": e[3] || (e[3] = (U) => i.activeTab = U)
|
|
317
444
|
}, {
|
|
318
445
|
default: l(() => [
|
|
319
|
-
|
|
446
|
+
s(I, { value: "running" }, {
|
|
320
447
|
default: l(() => [
|
|
321
|
-
|
|
448
|
+
s(b, null, {
|
|
322
449
|
default: l(() => [
|
|
323
|
-
|
|
450
|
+
s(V, { dense: "" }, {
|
|
324
451
|
default: l(() => [
|
|
325
|
-
|
|
326
|
-
|
|
452
|
+
s(c),
|
|
453
|
+
s(w, {
|
|
327
454
|
class: "mr-3",
|
|
328
455
|
color: "primary",
|
|
329
|
-
onClick:
|
|
456
|
+
onClick: n.getRunningScripts
|
|
330
457
|
}, {
|
|
331
458
|
default: l(() => [...e[8] || (e[8] = [
|
|
332
459
|
k("Refresh", -1)
|
|
333
460
|
])]),
|
|
334
461
|
_: 1
|
|
335
462
|
}, 8, ["onClick"]),
|
|
336
|
-
|
|
463
|
+
s(S, {
|
|
337
464
|
modelValue: i.runningSearch,
|
|
338
465
|
"onUpdate:modelValue": e[1] || (e[1] = (U) => i.runningSearch = U),
|
|
339
466
|
class: "pt-0 search",
|
|
@@ -353,7 +480,7 @@ function It(t, e, o, r, i, s) {
|
|
|
353
480
|
]),
|
|
354
481
|
_: 1
|
|
355
482
|
}),
|
|
356
|
-
|
|
483
|
+
s(E, {
|
|
357
484
|
headers: i.runningHeaders,
|
|
358
485
|
items: i.runningScripts,
|
|
359
486
|
"items-length": i.runningTotal,
|
|
@@ -365,14 +492,14 @@ function It(t, e, o, r, i, s) {
|
|
|
365
492
|
page: i.runningPage,
|
|
366
493
|
"items-per-page-options": [10, 25, 50],
|
|
367
494
|
class: "script-table",
|
|
368
|
-
"onUpdate:page":
|
|
369
|
-
"onUpdate:itemsPerPage":
|
|
495
|
+
"onUpdate:page": n.updateRunningPage,
|
|
496
|
+
"onUpdate:itemsPerPage": n.updateRunningItemsPerPage
|
|
370
497
|
}, {
|
|
371
498
|
"item.name": l(({ item: U }) => [
|
|
372
|
-
|
|
499
|
+
s(w, {
|
|
373
500
|
color: "primary",
|
|
374
501
|
density: "comfortable",
|
|
375
|
-
onClick: (F) =>
|
|
502
|
+
onClick: (F) => n.showScript(U)
|
|
376
503
|
}, {
|
|
377
504
|
default: l(() => [
|
|
378
505
|
k(L(U.name), 1)
|
|
@@ -381,32 +508,32 @@ function It(t, e, o, r, i, s) {
|
|
|
381
508
|
}, 1032, ["onClick"])
|
|
382
509
|
]),
|
|
383
510
|
"item.connect": l(({ item: U }) => [
|
|
384
|
-
|
|
511
|
+
s(w, {
|
|
385
512
|
color: "primary",
|
|
386
|
-
onClick: (F) =>
|
|
513
|
+
onClick: (F) => n.connectScript(U)
|
|
387
514
|
}, {
|
|
388
515
|
default: l(() => [
|
|
389
516
|
e[10] || (e[10] = x("span", null, "Connect", -1)),
|
|
390
|
-
|
|
517
|
+
nt(s(R, { end: "" }, {
|
|
391
518
|
default: l(() => [...e[9] || (e[9] = [
|
|
392
519
|
k(" mdi-open-in-new ", -1)
|
|
393
520
|
])]),
|
|
394
521
|
_: 1
|
|
395
522
|
}, 512), [
|
|
396
|
-
[
|
|
523
|
+
[ot, o.connectInNewTab]
|
|
397
524
|
])
|
|
398
525
|
]),
|
|
399
526
|
_: 1
|
|
400
527
|
}, 8, ["onClick"])
|
|
401
528
|
]),
|
|
402
529
|
"item.stop": l(({ item: U }) => [
|
|
403
|
-
|
|
530
|
+
s(w, {
|
|
404
531
|
color: "primary",
|
|
405
|
-
onClick: (F) =>
|
|
532
|
+
onClick: (F) => n.deleteScript(U)
|
|
406
533
|
}, {
|
|
407
534
|
default: l(() => [
|
|
408
535
|
e[12] || (e[12] = x("span", null, "Stop", -1)),
|
|
409
|
-
|
|
536
|
+
s(R, { end: "" }, {
|
|
410
537
|
default: l(() => [...e[11] || (e[11] = [
|
|
411
538
|
k(" mdi-close-circle-outline ", -1)
|
|
412
539
|
])]),
|
|
@@ -421,24 +548,24 @@ function It(t, e, o, r, i, s) {
|
|
|
421
548
|
]),
|
|
422
549
|
_: 1
|
|
423
550
|
}),
|
|
424
|
-
|
|
551
|
+
s(I, { value: "completed" }, {
|
|
425
552
|
default: l(() => [
|
|
426
|
-
|
|
553
|
+
s(b, null, {
|
|
427
554
|
default: l(() => [
|
|
428
|
-
|
|
555
|
+
s(V, { dense: "" }, {
|
|
429
556
|
default: l(() => [
|
|
430
|
-
|
|
431
|
-
|
|
557
|
+
s(c),
|
|
558
|
+
s(w, {
|
|
432
559
|
class: "mr-3",
|
|
433
560
|
color: "primary",
|
|
434
|
-
onClick:
|
|
561
|
+
onClick: n.getCompletedScripts
|
|
435
562
|
}, {
|
|
436
563
|
default: l(() => [...e[13] || (e[13] = [
|
|
437
564
|
k("Refresh", -1)
|
|
438
565
|
])]),
|
|
439
566
|
_: 1
|
|
440
567
|
}, 8, ["onClick"]),
|
|
441
|
-
|
|
568
|
+
s(S, {
|
|
442
569
|
modelValue: i.completedSearch,
|
|
443
570
|
"onUpdate:modelValue": e[2] || (e[2] = (U) => i.completedSearch = U),
|
|
444
571
|
class: "pt-0 search",
|
|
@@ -457,7 +584,7 @@ function It(t, e, o, r, i, s) {
|
|
|
457
584
|
]),
|
|
458
585
|
_: 1
|
|
459
586
|
}),
|
|
460
|
-
|
|
587
|
+
s(E, {
|
|
461
588
|
headers: i.completedHeaders,
|
|
462
589
|
items: i.completedScripts,
|
|
463
590
|
"items-length": i.completedTotal,
|
|
@@ -469,14 +596,14 @@ function It(t, e, o, r, i, s) {
|
|
|
469
596
|
page: i.completedPage,
|
|
470
597
|
"items-per-page-options": [10, 25, 50],
|
|
471
598
|
class: "script-table",
|
|
472
|
-
"onUpdate:page":
|
|
473
|
-
"onUpdate:itemsPerPage":
|
|
599
|
+
"onUpdate:page": n.updateCompletedPage,
|
|
600
|
+
"onUpdate:itemsPerPage": n.updateCompletedItemsPerPage
|
|
474
601
|
}, {
|
|
475
602
|
"item.name": l(({ item: U }) => [
|
|
476
|
-
|
|
603
|
+
s(w, {
|
|
477
604
|
color: "primary",
|
|
478
605
|
density: "comfortable",
|
|
479
|
-
onClick: (F) =>
|
|
606
|
+
onClick: (F) => n.showScript(U)
|
|
480
607
|
}, {
|
|
481
608
|
default: l(() => [
|
|
482
609
|
k(L(U.name), 1)
|
|
@@ -485,32 +612,32 @@ function It(t, e, o, r, i, s) {
|
|
|
485
612
|
}, 1032, ["onClick"])
|
|
486
613
|
]),
|
|
487
614
|
"item.log": l(({ item: U }) => [
|
|
488
|
-
|
|
615
|
+
s(w, {
|
|
489
616
|
color: "primary",
|
|
490
617
|
density: "comfortable",
|
|
491
618
|
icon: "mdi-eye",
|
|
492
|
-
onClick: (F) =>
|
|
619
|
+
onClick: (F) => n.viewScriptLog(U, "log")
|
|
493
620
|
}, null, 8, ["onClick"]),
|
|
494
|
-
|
|
621
|
+
s(w, {
|
|
495
622
|
color: "primary",
|
|
496
623
|
density: "comfortable",
|
|
497
624
|
icon: "mdi-file-download-outline",
|
|
498
625
|
disabled: i.downloadScript,
|
|
499
626
|
loading: i.downloadScript && i.downloadScript.name === U.name,
|
|
500
|
-
onClick: (F) =>
|
|
627
|
+
onClick: (F) => n.downloadScriptLog(U, "log")
|
|
501
628
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
502
629
|
]),
|
|
503
630
|
"item.report": l(({ item: U }) => [
|
|
504
|
-
U.report ? (y(), z("div",
|
|
505
|
-
|
|
631
|
+
U.report ? (y(), z("div", Dt, [
|
|
632
|
+
s(w, {
|
|
506
633
|
color: "primary",
|
|
507
634
|
density: "comfortable",
|
|
508
635
|
icon: "mdi-eye",
|
|
509
|
-
onClick: (F) =>
|
|
636
|
+
onClick: (F) => n.viewScriptLog(U, "report")
|
|
510
637
|
}, null, 8, ["onClick"]),
|
|
511
|
-
|
|
638
|
+
s(Q, null, {
|
|
512
639
|
activator: l(({ props: F }) => [
|
|
513
|
-
|
|
640
|
+
s(w, Y({
|
|
514
641
|
color: "primary",
|
|
515
642
|
density: "comfortable",
|
|
516
643
|
icon: "mdi-file-download-outline",
|
|
@@ -519,13 +646,13 @@ function It(t, e, o, r, i, s) {
|
|
|
519
646
|
}, F), null, 16, ["disabled", "loading"])
|
|
520
647
|
]),
|
|
521
648
|
default: l(() => [
|
|
522
|
-
|
|
649
|
+
s(G, null, {
|
|
523
650
|
default: l(() => [
|
|
524
|
-
|
|
525
|
-
onClick: (F) =>
|
|
651
|
+
s(P, {
|
|
652
|
+
onClick: (F) => n.downloadScriptLog(U, "report", "text")
|
|
526
653
|
}, {
|
|
527
654
|
default: l(() => [
|
|
528
|
-
|
|
655
|
+
s(_, null, {
|
|
529
656
|
default: l(() => [...e[15] || (e[15] = [
|
|
530
657
|
k("Download as Text", -1)
|
|
531
658
|
])]),
|
|
@@ -534,11 +661,11 @@ function It(t, e, o, r, i, s) {
|
|
|
534
661
|
]),
|
|
535
662
|
_: 1
|
|
536
663
|
}, 8, ["onClick"]),
|
|
537
|
-
|
|
538
|
-
onClick: (F) =>
|
|
664
|
+
s(P, {
|
|
665
|
+
onClick: (F) => n.downloadScriptLog(U, "report", "ctrf")
|
|
539
666
|
}, {
|
|
540
667
|
default: l(() => [
|
|
541
|
-
|
|
668
|
+
s(_, null, {
|
|
542
669
|
default: l(() => [...e[16] || (e[16] = [
|
|
543
670
|
k("Download as CTRF", -1)
|
|
544
671
|
])]),
|
|
@@ -553,7 +680,7 @@ function It(t, e, o, r, i, s) {
|
|
|
553
680
|
]),
|
|
554
681
|
_: 2
|
|
555
682
|
}, 1024)
|
|
556
|
-
])) : (y(), z("div",
|
|
683
|
+
])) : (y(), z("div", Pt, [...e[14] || (e[14] = [
|
|
557
684
|
x("span", null, "N/A", -1)
|
|
558
685
|
])]))
|
|
559
686
|
]),
|
|
@@ -577,10 +704,10 @@ function It(t, e, o, r, i, s) {
|
|
|
577
704
|
name: i.dialogName,
|
|
578
705
|
filename: i.dialogFilename,
|
|
579
706
|
onSubmit: e[5] || (e[5] = (U) => i.showDialog = !1)
|
|
580
|
-
}, null, 8, ["modelValue", "content", "name", "filename"])) :
|
|
707
|
+
}, null, 8, ["modelValue", "content", "name", "filename"])) : D("", !0)
|
|
581
708
|
]);
|
|
582
709
|
}
|
|
583
|
-
const
|
|
710
|
+
const Lt = /* @__PURE__ */ K(Ut, [["render", zt]]), At = {
|
|
584
711
|
props: {
|
|
585
712
|
modelValue: {
|
|
586
713
|
type: Array,
|
|
@@ -618,7 +745,7 @@ const Ut = /* @__PURE__ */ K(Ot, [["render", It]]), Dt = {
|
|
|
618
745
|
) ? "openc3-red" : "";
|
|
619
746
|
},
|
|
620
747
|
downloadLog() {
|
|
621
|
-
const t = this.messages.map((
|
|
748
|
+
const t = this.messages.map((a) => a.message).join(`
|
|
622
749
|
`), e = new Blob([t], {
|
|
623
750
|
type: "text/plain"
|
|
624
751
|
}), o = document.createElement("a");
|
|
@@ -638,24 +765,24 @@ const Ut = /* @__PURE__ */ K(Ot, [["render", It]]), Dt = {
|
|
|
638
765
|
}
|
|
639
766
|
}
|
|
640
767
|
};
|
|
641
|
-
function
|
|
642
|
-
const d =
|
|
768
|
+
function Ft(t, e, o, a, i, n) {
|
|
769
|
+
const d = r("v-btn"), h = r("v-spacer"), c = r("v-select"), w = r("v-text-field"), S = r("v-card-title"), V = r("v-data-table"), b = r("v-card-text"), R = r("v-card");
|
|
643
770
|
return y(), T(R, { class: "d-flex flex-column h-100" }, {
|
|
644
771
|
default: l(() => [
|
|
645
|
-
|
|
772
|
+
s(S, { class: "d-flex align-center" }, {
|
|
646
773
|
default: l(() => [
|
|
647
|
-
|
|
774
|
+
s(d, {
|
|
648
775
|
class: "mx-2",
|
|
649
776
|
icon: "mdi-download",
|
|
650
777
|
variant: "text",
|
|
651
778
|
density: "compact",
|
|
652
779
|
"data-test": "download-log",
|
|
653
780
|
"aria-label": "Download Log",
|
|
654
|
-
onClick:
|
|
781
|
+
onClick: n.downloadLog
|
|
655
782
|
}, null, 8, ["onClick"]),
|
|
656
783
|
e[2] || (e[2] = k(" Script Messages ", -1)),
|
|
657
|
-
|
|
658
|
-
|
|
784
|
+
s(h),
|
|
785
|
+
s(c, {
|
|
659
786
|
modelValue: i.messageOrder,
|
|
660
787
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.messageOrder = E),
|
|
661
788
|
density: "compact",
|
|
@@ -666,8 +793,8 @@ function Pt(t, e, o, r, i, s) {
|
|
|
666
793
|
style: { "max-width": "200px" },
|
|
667
794
|
"data-test": "message-order"
|
|
668
795
|
}, null, 8, ["modelValue", "items"]),
|
|
669
|
-
|
|
670
|
-
|
|
796
|
+
s(h),
|
|
797
|
+
s(w, {
|
|
671
798
|
modelValue: i.search,
|
|
672
799
|
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.search = E),
|
|
673
800
|
label: "Search",
|
|
@@ -680,24 +807,24 @@ function Pt(t, e, o, r, i, s) {
|
|
|
680
807
|
class: "search",
|
|
681
808
|
"data-test": "search-messages"
|
|
682
809
|
}, null, 8, ["modelValue"]),
|
|
683
|
-
|
|
810
|
+
s(d, {
|
|
684
811
|
class: "mx-2",
|
|
685
812
|
icon: "mdi-delete-sweep",
|
|
686
813
|
variant: "text",
|
|
687
814
|
density: "compact",
|
|
688
815
|
"data-test": "clear-log",
|
|
689
816
|
"aria-label": "Clear Log",
|
|
690
|
-
onClick:
|
|
817
|
+
onClick: n.clearLog
|
|
691
818
|
}, null, 8, ["onClick"])
|
|
692
819
|
]),
|
|
693
820
|
_: 1
|
|
694
821
|
}),
|
|
695
|
-
|
|
822
|
+
s(b, { class: "overflow-auto" }, {
|
|
696
823
|
default: l(() => [
|
|
697
|
-
|
|
824
|
+
s(V, {
|
|
698
825
|
id: "script-log-messages",
|
|
699
826
|
headers: i.headers,
|
|
700
|
-
items:
|
|
827
|
+
items: n.messages,
|
|
701
828
|
search: i.search,
|
|
702
829
|
"items-per-page": -1,
|
|
703
830
|
"hide-default-footer": "",
|
|
@@ -706,7 +833,7 @@ function Pt(t, e, o, r, i, s) {
|
|
|
706
833
|
}, {
|
|
707
834
|
"item.message": l(({ item: E }) => [
|
|
708
835
|
x("div", {
|
|
709
|
-
class:
|
|
836
|
+
class: qe(n.messageClass(E.message))
|
|
710
837
|
}, L(E.message), 3)
|
|
711
838
|
]),
|
|
712
839
|
_: 1
|
|
@@ -718,7 +845,7 @@ function Pt(t, e, o, r, i, s) {
|
|
|
718
845
|
_: 1
|
|
719
846
|
});
|
|
720
847
|
}
|
|
721
|
-
const
|
|
848
|
+
const Bt = /* @__PURE__ */ K(At, [["render", Ft]]), Nt = {
|
|
722
849
|
__name: "splitpanes",
|
|
723
850
|
props: {
|
|
724
851
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -741,7 +868,7 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
741
868
|
"splitter-dblclick"
|
|
742
869
|
],
|
|
743
870
|
setup(t, { emit: e }) {
|
|
744
|
-
const o = e,
|
|
871
|
+
const o = e, a = t, i = dt(), n = ae([]), d = Z(() => n.value.reduce((u, p) => (u[~~p.id] = p) && u, {})), h = Z(() => n.value.length), c = ae(null), w = ae(!1), S = ae({
|
|
745
872
|
mouseDown: !1,
|
|
746
873
|
dragging: !1,
|
|
747
874
|
activeSplitter: null,
|
|
@@ -751,155 +878,155 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
751
878
|
// Used to detect double click on touch devices.
|
|
752
879
|
splitter: null,
|
|
753
880
|
timeoutId: null
|
|
754
|
-
}),
|
|
755
|
-
[`splitpanes splitpanes--${
|
|
881
|
+
}), b = Z(() => ({
|
|
882
|
+
[`splitpanes splitpanes--${a.horizontal ? "horizontal" : "vertical"}`]: !0,
|
|
756
883
|
"splitpanes--dragging": S.value.dragging
|
|
757
884
|
})), R = () => {
|
|
758
|
-
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup",
|
|
885
|
+
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", P), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", P));
|
|
759
886
|
}, E = () => {
|
|
760
|
-
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup",
|
|
761
|
-
}, I = (u,
|
|
887
|
+
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", P), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", P));
|
|
888
|
+
}, I = (u, p) => {
|
|
762
889
|
const v = u.target.closest(".splitpanes__splitter");
|
|
763
890
|
if (v) {
|
|
764
891
|
const { left: f, top: g } = v.getBoundingClientRect(), { clientX: C, clientY: M } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
765
|
-
S.value.cursorOffset =
|
|
892
|
+
S.value.cursorOffset = a.horizontal ? M - g : C - f;
|
|
766
893
|
}
|
|
767
|
-
R(), S.value.mouseDown = !0, S.value.activeSplitter =
|
|
894
|
+
R(), S.value.mouseDown = !0, S.value.activeSplitter = p;
|
|
768
895
|
}, _ = (u) => {
|
|
769
896
|
S.value.mouseDown && (u.preventDefault(), S.value.dragging = !0, requestAnimationFrame(() => {
|
|
770
897
|
U(j(u)), N("resize", { event: u }, !0);
|
|
771
898
|
}));
|
|
772
|
-
},
|
|
899
|
+
}, P = (u) => {
|
|
773
900
|
S.value.dragging && (window.getSelection().removeAllRanges(), N("resized", { event: u }, !0)), S.value.mouseDown = !1, S.value.activeSplitter = null, setTimeout(() => {
|
|
774
901
|
S.value.dragging = !1, E();
|
|
775
902
|
}, 100);
|
|
776
|
-
}, G = (u,
|
|
777
|
-
"ontouchstart" in window && (u.preventDefault(), V.value.splitter ===
|
|
778
|
-
}, Q = (u,
|
|
779
|
-
if (N("splitter-dblclick", { event: u, index:
|
|
903
|
+
}, G = (u, p) => {
|
|
904
|
+
"ontouchstart" in window && (u.preventDefault(), V.value.splitter === p ? (clearTimeout(V.value.timeoutId), V.value.timeoutId = null, Q(u, p), V.value.splitter = null) : (V.value.splitter = p, V.value.timeoutId = setTimeout(() => V.value.splitter = null, 500))), S.value.dragging || N("splitter-click", { event: u, index: p }, !0);
|
|
905
|
+
}, Q = (u, p) => {
|
|
906
|
+
if (N("splitter-dblclick", { event: u, index: p }, !0), a.maximizePanes) {
|
|
780
907
|
let v = 0;
|
|
781
|
-
|
|
908
|
+
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, N("pane-maximize", { event: u, index: p, pane: n.value[p] }), N("resized", { event: u, index: p }, !0);
|
|
782
909
|
}
|
|
783
|
-
}, te = (u,
|
|
910
|
+
}, te = (u, p) => {
|
|
784
911
|
N("pane-click", {
|
|
785
912
|
event: u,
|
|
786
|
-
index: d.value[
|
|
787
|
-
pane: d.value[
|
|
913
|
+
index: d.value[p].index,
|
|
914
|
+
pane: d.value[p]
|
|
788
915
|
});
|
|
789
916
|
}, j = (u) => {
|
|
790
|
-
const
|
|
917
|
+
const p = c.value.getBoundingClientRect(), { clientX: v, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
791
918
|
return {
|
|
792
|
-
x: v - (
|
|
793
|
-
y: f - (
|
|
919
|
+
x: v - (a.horizontal ? 0 : S.value.cursorOffset) - p.left,
|
|
920
|
+
y: f - (a.horizontal ? S.value.cursorOffset : 0) - p.top
|
|
794
921
|
};
|
|
795
922
|
}, ie = (u) => {
|
|
796
|
-
u = u[
|
|
797
|
-
const
|
|
798
|
-
return
|
|
923
|
+
u = u[a.horizontal ? "y" : "x"];
|
|
924
|
+
const p = c.value[a.horizontal ? "clientHeight" : "clientWidth"];
|
|
925
|
+
return a.rtl && !a.horizontal && (u = p - u), u * 100 / p;
|
|
799
926
|
}, U = (u) => {
|
|
800
|
-
const
|
|
927
|
+
const p = S.value.activeSplitter;
|
|
801
928
|
let v = {
|
|
802
|
-
prevPanesSize: ue(
|
|
803
|
-
nextPanesSize: X(
|
|
929
|
+
prevPanesSize: ue(p),
|
|
930
|
+
nextPanesSize: X(p),
|
|
804
931
|
prevReachedMinPanes: 0,
|
|
805
932
|
nextReachedMinPanes: 0
|
|
806
933
|
};
|
|
807
|
-
const f = 0 + (
|
|
808
|
-
let M = [
|
|
809
|
-
const m = A.max < 100 && C >= A.max + v.prevPanesSize, W = H.max < 100 && C <= 100 - (H.max + X(
|
|
934
|
+
const f = 0 + (a.pushOtherPanes ? 0 : v.prevPanesSize), g = 100 - (a.pushOtherPanes ? 0 : v.nextPanesSize), C = Math.max(Math.min(ie(u), g), f);
|
|
935
|
+
let M = [p, p + 1], A = n.value[M[0]] || null, H = n.value[M[1]] || null;
|
|
936
|
+
const m = A.max < 100 && C >= A.max + v.prevPanesSize, W = H.max < 100 && C <= 100 - (H.max + X(p + 1));
|
|
810
937
|
if (m || W) {
|
|
811
|
-
m ? (A.size = A.max, H.size = Math.max(100 - A.max - v.prevPanesSize - v.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - v.prevPanesSize - X(
|
|
938
|
+
m ? (A.size = A.max, H.size = Math.max(100 - A.max - v.prevPanesSize - v.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - v.prevPanesSize - X(p + 1), 0), H.size = H.max);
|
|
812
939
|
return;
|
|
813
940
|
}
|
|
814
|
-
if (
|
|
815
|
-
const
|
|
816
|
-
if (!
|
|
817
|
-
({ sums: v, panesToResize: M } =
|
|
941
|
+
if (a.pushOtherPanes) {
|
|
942
|
+
const je = F(v, C);
|
|
943
|
+
if (!je) return;
|
|
944
|
+
({ sums: v, panesToResize: M } = je), A = n.value[M[0]] || null, H = n.value[M[1]] || null;
|
|
818
945
|
}
|
|
819
946
|
A !== null && (A.size = Math.min(Math.max(C - v.prevPanesSize - v.prevReachedMinPanes, A.min), A.max)), H !== null && (H.size = Math.min(Math.max(100 - C - v.nextPanesSize - v.nextReachedMinPanes, H.min), H.max));
|
|
820
|
-
}, F = (u,
|
|
947
|
+
}, F = (u, p) => {
|
|
821
948
|
const v = S.value.activeSplitter, f = [v, v + 1];
|
|
822
|
-
return
|
|
949
|
+
return p < u.prevPanesSize + n.value[f[0]].min && (f[0] = Ue(v).index, u.prevReachedMinPanes = 0, f[0] < v && n.value.forEach((g, C) => {
|
|
823
950
|
C > f[0] && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
824
|
-
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0,
|
|
951
|
+
}), u.prevPanesSize = ue(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0, n.value[0].size = n.value[0].min, n.value.forEach((g, C) => {
|
|
825
952
|
C > 0 && C <= v && (g.size = g.min, u.prevReachedMinPanes += g.min);
|
|
826
|
-
}),
|
|
953
|
+
}), 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, C) => {
|
|
827
954
|
C > v && C < f[1] && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
828
|
-
}), u.nextPanesSize = X(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0,
|
|
829
|
-
C <
|
|
830
|
-
}),
|
|
831
|
-
}, ue = (u) =>
|
|
955
|
+
}), u.nextPanesSize = X(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0, n.value.forEach((g, C) => {
|
|
956
|
+
C < h.value - 1 && C >= v + 1 && (g.size = g.min, u.nextReachedMinPanes += g.min);
|
|
957
|
+
}), n.value[f[0]].size = 100 - u.prevPanesSize - X(f[0] - 1), null) : { sums: u, panesToResize: f };
|
|
958
|
+
}, ue = (u) => n.value.reduce((p, v, f) => p + (f < u ? v.size : 0), 0), X = (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
959
|
var u;
|
|
833
|
-
const
|
|
834
|
-
for (const v of
|
|
960
|
+
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
961
|
+
for (const v of p) {
|
|
835
962
|
const f = v.classList.contains("splitpanes__pane"), g = v.classList.contains("splitpanes__splitter");
|
|
836
963
|
!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
964
|
}
|
|
838
|
-
}, ce = (u,
|
|
965
|
+
}, ce = (u, p, v = !1) => {
|
|
839
966
|
const f = u - 1, g = document.createElement("div");
|
|
840
|
-
g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (C) => I(C, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (C) => I(C, f)), g.onclick = (C) => G(C, f + 1)), g.ondblclick = (C) => Q(C, f + 1),
|
|
967
|
+
g.classList.add("splitpanes__splitter"), v || (g.onmousedown = (C) => I(C, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (C) => I(C, f)), g.onclick = (C) => G(C, f + 1)), g.ondblclick = (C) => Q(C, f + 1), p.parentNode.insertBefore(g, p);
|
|
841
968
|
}, Ce = (u) => {
|
|
842
969
|
u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
|
|
843
970
|
}, se = () => {
|
|
844
971
|
var u;
|
|
845
|
-
const
|
|
846
|
-
for (const f of
|
|
972
|
+
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
973
|
+
for (const f of p)
|
|
847
974
|
f.className.includes("splitpanes__splitter") && Ce(f);
|
|
848
975
|
let v = 0;
|
|
849
|
-
for (const f of
|
|
850
|
-
f.className.includes("splitpanes__pane") && (!v &&
|
|
851
|
-
}, Ve = ({ uid: u, ...
|
|
976
|
+
for (const f of p)
|
|
977
|
+
f.className.includes("splitpanes__pane") && (!v && a.firstSplitter ? ce(v, f, !0) : v && ce(v, f), v++);
|
|
978
|
+
}, Ve = ({ uid: u, ...p }) => {
|
|
852
979
|
const v = d.value[u];
|
|
853
|
-
for (const [f, g] of Object.entries(
|
|
854
|
-
},
|
|
855
|
-
var
|
|
980
|
+
for (const [f, g] of Object.entries(p)) v[f] = g;
|
|
981
|
+
}, De = (u) => {
|
|
982
|
+
var p;
|
|
856
983
|
let v = -1;
|
|
857
|
-
Array.from(((
|
|
858
|
-
se(), me({ addedPane:
|
|
984
|
+
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), w.value && He(() => {
|
|
985
|
+
se(), me({ addedPane: n.value[v] }), N("pane-add", { pane: n.value[v] });
|
|
859
986
|
});
|
|
860
987
|
}, ze = (u) => {
|
|
861
|
-
const
|
|
862
|
-
|
|
863
|
-
const v =
|
|
864
|
-
|
|
988
|
+
const p = n.value.findIndex((f) => f.id === u);
|
|
989
|
+
n.value[p].el = null;
|
|
990
|
+
const v = n.value.splice(p, 1)[0];
|
|
991
|
+
n.value.forEach((f, g) => f.index = g), He(() => {
|
|
865
992
|
se(), N("pane-remove", { pane: v }), me({ removedPane: { ...v } });
|
|
866
993
|
});
|
|
867
994
|
}, me = (u = {}) => {
|
|
868
|
-
!u.addedPane && !u.removedPane ? Ae() :
|
|
995
|
+
!u.addedPane && !u.removedPane ? Ae() : n.value.some((p) => p.givenSize !== null || p.min || p.max < 100) ? Fe(u) : Le(), w.value && N("resized");
|
|
869
996
|
}, Le = () => {
|
|
870
|
-
const u = 100 /
|
|
871
|
-
let
|
|
997
|
+
const u = 100 / h.value;
|
|
998
|
+
let p = 0;
|
|
872
999
|
const v = [], f = [];
|
|
873
|
-
for (const g of
|
|
874
|
-
g.size = Math.max(Math.min(u, g.max), g.min),
|
|
875
|
-
|
|
1000
|
+
for (const g of n.value)
|
|
1001
|
+
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);
|
|
1002
|
+
p > 0.1 && pe(p, v, f);
|
|
876
1003
|
}, Ae = () => {
|
|
877
1004
|
let u = 100;
|
|
878
|
-
const
|
|
1005
|
+
const p = [], v = [];
|
|
879
1006
|
let f = 0;
|
|
880
|
-
for (const C of
|
|
881
|
-
u -= C.size, C.givenSize !== null && f++, C.size >= C.max &&
|
|
1007
|
+
for (const C of n.value)
|
|
1008
|
+
u -= C.size, C.givenSize !== null && f++, C.size >= C.max && p.push(C.id), C.size <= C.min && v.push(C.id);
|
|
882
1009
|
let g = 100;
|
|
883
1010
|
if (u > 0.1) {
|
|
884
|
-
for (const C of
|
|
885
|
-
C.givenSize === null && (C.size = Math.max(Math.min(u / (
|
|
886
|
-
g > 0.1 && pe(g,
|
|
1011
|
+
for (const C of n.value)
|
|
1012
|
+
C.givenSize === null && (C.size = Math.max(Math.min(u / (h.value - f), C.max), C.min)), g -= C.size;
|
|
1013
|
+
g > 0.1 && pe(g, p, v);
|
|
887
1014
|
}
|
|
888
|
-
}, Fe = ({ addedPane: u, removedPane:
|
|
889
|
-
let v = 100 /
|
|
1015
|
+
}, Fe = ({ addedPane: u, removedPane: p } = {}) => {
|
|
1016
|
+
let v = 100 / h.value, f = 0;
|
|
890
1017
|
const g = [], C = [];
|
|
891
|
-
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (
|
|
892
|
-
for (const M of
|
|
1018
|
+
((u == null ? void 0 : u.givenSize) ?? null) !== null && (v = (100 - u.givenSize) / (h.value - 1));
|
|
1019
|
+
for (const M of n.value)
|
|
893
1020
|
f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
|
|
894
1021
|
if (!(Math.abs(f) < 0.1)) {
|
|
895
|
-
for (const M of
|
|
1022
|
+
for (const M of n.value)
|
|
896
1023
|
(u == null ? void 0 : u.givenSize) !== null && (u == null ? void 0 : u.id) === M.id || (M.size = Math.max(Math.min(v, M.max), M.min)), f -= M.size, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
|
|
897
1024
|
f > 0.1 && pe(f, g, C);
|
|
898
1025
|
}
|
|
899
|
-
}, pe = (u,
|
|
1026
|
+
}, pe = (u, p, v) => {
|
|
900
1027
|
let f;
|
|
901
|
-
u > 0 ? f = u / (
|
|
902
|
-
if (u > 0 && !
|
|
1028
|
+
u > 0 ? f = u / (h.value - p.length) : f = u / (h.value - v.length), n.value.forEach((g, C) => {
|
|
1029
|
+
if (u > 0 && !p.includes(g.id)) {
|
|
903
1030
|
const M = Math.max(Math.min(g.size + f, g.max), g.min), A = M - g.size;
|
|
904
1031
|
u -= A, g.size = M;
|
|
905
1032
|
} else if (!v.includes(g.id)) {
|
|
@@ -907,34 +1034,34 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
907
1034
|
u -= A, g.size = M;
|
|
908
1035
|
}
|
|
909
1036
|
}), Math.abs(u) > 0.1 && He(() => {
|
|
910
|
-
|
|
1037
|
+
w.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
911
1038
|
});
|
|
912
|
-
}, N = (u,
|
|
913
|
-
const f = (
|
|
1039
|
+
}, N = (u, p = void 0, v = !1) => {
|
|
1040
|
+
const f = (p == null ? void 0 : p.index) ?? S.value.activeSplitter ?? null;
|
|
914
1041
|
o(u, {
|
|
915
|
-
...
|
|
1042
|
+
...p,
|
|
916
1043
|
...f !== null && { index: f },
|
|
917
1044
|
...v && f !== null && {
|
|
918
|
-
prevPane:
|
|
919
|
-
nextPane:
|
|
1045
|
+
prevPane: n.value[f - (a.firstSplitter ? 1 : 0)],
|
|
1046
|
+
nextPane: n.value[f + (a.firstSplitter ? 0 : 1)]
|
|
920
1047
|
},
|
|
921
|
-
panes:
|
|
1048
|
+
panes: n.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
922
1049
|
});
|
|
923
1050
|
};
|
|
924
|
-
Re(() =>
|
|
925
|
-
|
|
926
|
-
}), et(() =>
|
|
1051
|
+
Re(() => a.firstSplitter, () => se()), $e(() => {
|
|
1052
|
+
Pe(), se(), me(), N("ready"), w.value = !0;
|
|
1053
|
+
}), et(() => w.value = !1);
|
|
927
1054
|
const Be = () => {
|
|
928
1055
|
var u;
|
|
929
|
-
return
|
|
1056
|
+
return ct(
|
|
930
1057
|
"div",
|
|
931
|
-
{ ref: c, class:
|
|
1058
|
+
{ ref: c, class: b.value },
|
|
932
1059
|
(u = i.default) == null ? void 0 : u.call(i)
|
|
933
1060
|
);
|
|
934
1061
|
};
|
|
935
|
-
return $("panes",
|
|
1062
|
+
return $("panes", n), $("indexedPanes", d), $("horizontal", Z(() => a.horizontal)), $("requestUpdate", Ve), $("onPaneAdd", De), $("onPaneRemove", ze), $("onPaneClick", te), (u, p) => (y(), T(ut(Be)));
|
|
936
1063
|
}
|
|
937
|
-
},
|
|
1064
|
+
}, Ht = {
|
|
938
1065
|
__name: "pane",
|
|
939
1066
|
props: {
|
|
940
1067
|
size: { type: [Number, String] },
|
|
@@ -943,7 +1070,7 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
943
1070
|
},
|
|
944
1071
|
setup(t) {
|
|
945
1072
|
var e;
|
|
946
|
-
const o = t,
|
|
1073
|
+
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, w = oe("indexedPanes"), S = Z(() => w.value[c]), V = ae(null), b = Z(() => {
|
|
947
1074
|
const _ = isNaN(o.size) || o.size === void 0 ? 0 : parseFloat(o.size);
|
|
948
1075
|
return Math.max(Math.min(_, E.value), R.value);
|
|
949
1076
|
}), R = Z(() => {
|
|
@@ -954,30 +1081,30 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
954
1081
|
return isNaN(_) ? 100 : _;
|
|
955
1082
|
}), I = Z(() => {
|
|
956
1083
|
var _;
|
|
957
|
-
return `${
|
|
1084
|
+
return `${n.value ? "height" : "width"}: ${(_ = S.value) == null ? void 0 : _.size}%`;
|
|
958
1085
|
});
|
|
959
|
-
return Re(() =>
|
|
1086
|
+
return Re(() => b.value, (_) => a({ uid: c, size: _ })), Re(() => R.value, (_) => a({ uid: c, min: _ })), Re(() => E.value, (_) => a({ uid: c, max: _ })), $e(() => {
|
|
960
1087
|
i({
|
|
961
1088
|
id: c,
|
|
962
1089
|
el: V.value,
|
|
963
1090
|
min: R.value,
|
|
964
1091
|
max: E.value,
|
|
965
1092
|
// The given size (useful to know the user intention).
|
|
966
|
-
givenSize: o.size === void 0 ? null :
|
|
967
|
-
size:
|
|
1093
|
+
givenSize: o.size === void 0 ? null : b.value,
|
|
1094
|
+
size: b.value
|
|
968
1095
|
// The computed current size at any time.
|
|
969
1096
|
});
|
|
970
|
-
}), et(() => d(c)), (_,
|
|
1097
|
+
}), et(() => d(c)), (_, P) => (y(), z("div", {
|
|
971
1098
|
ref_key: "paneEl",
|
|
972
1099
|
ref: V,
|
|
973
1100
|
class: "splitpanes__pane",
|
|
974
|
-
onClick:
|
|
1101
|
+
onClick: P[0] || (P[0] = (G) => rt(h)(G, _._.uid)),
|
|
975
1102
|
style: fe(I.value)
|
|
976
1103
|
}, [
|
|
977
|
-
|
|
1104
|
+
at(_.$slots, "default")
|
|
978
1105
|
], 4));
|
|
979
1106
|
}
|
|
980
|
-
},
|
|
1107
|
+
}, Gt = {
|
|
981
1108
|
props: {
|
|
982
1109
|
question: {
|
|
983
1110
|
type: String,
|
|
@@ -1026,38 +1153,38 @@ const zt = /* @__PURE__ */ K(Dt, [["render", Pt]]), Lt = {
|
|
|
1026
1153
|
this.$emit("response", "Cancel");
|
|
1027
1154
|
}
|
|
1028
1155
|
}
|
|
1029
|
-
},
|
|
1030
|
-
function
|
|
1031
|
-
const d =
|
|
1156
|
+
}, qt = { class: "pa-2" }, Kt = { class: "question" };
|
|
1157
|
+
function jt(t, e, o, a, i, n) {
|
|
1158
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-text-field"), w = r("v-card-text"), S = r("v-btn"), V = r("v-card-actions"), b = r("v-form"), R = r("v-card"), E = r("v-dialog");
|
|
1032
1159
|
return y(), T(E, {
|
|
1033
|
-
modelValue:
|
|
1034
|
-
"onUpdate:modelValue": e[2] || (e[2] = (I) =>
|
|
1160
|
+
modelValue: n.show,
|
|
1161
|
+
"onUpdate:modelValue": e[2] || (e[2] = (I) => n.show = I),
|
|
1035
1162
|
persistent: "",
|
|
1036
1163
|
width: "600",
|
|
1037
|
-
onKeydown: Se(
|
|
1164
|
+
onKeydown: Se(n.cancelHandler, ["esc"])
|
|
1038
1165
|
}, {
|
|
1039
1166
|
default: l(() => [
|
|
1040
|
-
|
|
1167
|
+
s(R, null, {
|
|
1041
1168
|
default: l(() => [
|
|
1042
|
-
|
|
1169
|
+
s(b, {
|
|
1043
1170
|
modelValue: i.valid,
|
|
1044
1171
|
"onUpdate:modelValue": e[1] || (e[1] = (I) => i.valid = I),
|
|
1045
|
-
onSubmit: de(
|
|
1172
|
+
onSubmit: de(n.submitHandler, ["prevent"])
|
|
1046
1173
|
}, {
|
|
1047
1174
|
default: l(() => [
|
|
1048
|
-
|
|
1175
|
+
s(h, { height: "24" }, {
|
|
1049
1176
|
default: l(() => [
|
|
1050
|
-
|
|
1177
|
+
s(d),
|
|
1051
1178
|
e[3] || (e[3] = x("span", null, " User Input Required ", -1)),
|
|
1052
|
-
|
|
1179
|
+
s(d)
|
|
1053
1180
|
]),
|
|
1054
1181
|
_: 1
|
|
1055
1182
|
}),
|
|
1056
|
-
x("div",
|
|
1057
|
-
|
|
1183
|
+
x("div", qt, [
|
|
1184
|
+
s(w, null, {
|
|
1058
1185
|
default: l(() => [
|
|
1059
|
-
x("div",
|
|
1060
|
-
|
|
1186
|
+
x("div", Kt, L(o.question), 1),
|
|
1187
|
+
s(c, {
|
|
1061
1188
|
modelValue: i.inputValue,
|
|
1062
1189
|
"onUpdate:modelValue": e[0] || (e[0] = (I) => i.inputValue = I),
|
|
1063
1190
|
autofocus: "",
|
|
@@ -1069,25 +1196,25 @@ function Ht(t, e, o, r, i, s) {
|
|
|
1069
1196
|
_: 1
|
|
1070
1197
|
})
|
|
1071
1198
|
]),
|
|
1072
|
-
|
|
1199
|
+
s(V, { class: "px-2" }, {
|
|
1073
1200
|
default: l(() => [
|
|
1074
|
-
|
|
1075
|
-
|
|
1201
|
+
s(d),
|
|
1202
|
+
s(S, {
|
|
1076
1203
|
variant: "outlined",
|
|
1077
1204
|
"data-test": "ask-cancel",
|
|
1078
|
-
onClick:
|
|
1205
|
+
onClick: n.cancelHandler
|
|
1079
1206
|
}, {
|
|
1080
1207
|
default: l(() => [...e[4] || (e[4] = [
|
|
1081
1208
|
k(" Cancel ", -1)
|
|
1082
1209
|
])]),
|
|
1083
1210
|
_: 1
|
|
1084
1211
|
}, 8, ["onClick"]),
|
|
1085
|
-
|
|
1212
|
+
s(S, {
|
|
1086
1213
|
variant: "flat",
|
|
1087
1214
|
type: "submit",
|
|
1088
1215
|
"data-test": "ask-ok",
|
|
1089
1216
|
disabled: !i.valid,
|
|
1090
|
-
onClick: de(
|
|
1217
|
+
onClick: de(n.submitHandler, ["prevent"])
|
|
1091
1218
|
}, {
|
|
1092
1219
|
default: l(() => [...e[5] || (e[5] = [
|
|
1093
1220
|
k(" Ok ", -1)
|
|
@@ -1107,7 +1234,7 @@ function Ht(t, e, o, r, i, s) {
|
|
|
1107
1234
|
_: 1
|
|
1108
1235
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1109
1236
|
}
|
|
1110
|
-
const
|
|
1237
|
+
const Wt = /* @__PURE__ */ K(Gt, [["render", jt], ["__scopeId", "data-v-a7d2ae62"]]), Jt = {
|
|
1111
1238
|
props: {
|
|
1112
1239
|
title: {
|
|
1113
1240
|
type: String,
|
|
@@ -1155,39 +1282,39 @@ const Gt = /* @__PURE__ */ K(Ft, [["render", Ht], ["__scopeId", "data-v-a7d2ae62
|
|
|
1155
1282
|
this.$emit("response", "Cancel");
|
|
1156
1283
|
}
|
|
1157
1284
|
}
|
|
1158
|
-
},
|
|
1159
|
-
function
|
|
1160
|
-
const d =
|
|
1285
|
+
}, Yt = { class: "pa-2" }, Zt = { class: "text-h6" }, Xt = ["textContent"];
|
|
1286
|
+
function Qt(t, e, o, a, i, n) {
|
|
1287
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), w = r("v-file-input"), S = r("v-card-text"), V = r("v-btn"), b = r("v-card-actions"), R = r("v-form"), E = r("v-card"), I = r("v-dialog");
|
|
1161
1288
|
return y(), T(I, {
|
|
1162
|
-
modelValue:
|
|
1163
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1289
|
+
modelValue: n.show,
|
|
1290
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => n.show = _),
|
|
1164
1291
|
persistent: "",
|
|
1165
1292
|
width: "600",
|
|
1166
|
-
onKeydown: Se(
|
|
1293
|
+
onKeydown: Se(n.cancelHandler, ["esc"])
|
|
1167
1294
|
}, {
|
|
1168
1295
|
default: l(() => [
|
|
1169
|
-
|
|
1296
|
+
s(E, null, {
|
|
1170
1297
|
default: l(() => [
|
|
1171
|
-
|
|
1298
|
+
s(R, {
|
|
1172
1299
|
modelValue: i.valid,
|
|
1173
1300
|
"onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
|
|
1174
|
-
onSubmit: de(
|
|
1301
|
+
onSubmit: de(n.submitHandler, ["prevent"])
|
|
1175
1302
|
}, {
|
|
1176
1303
|
default: l(() => [
|
|
1177
|
-
|
|
1304
|
+
s(h, { height: "24" }, {
|
|
1178
1305
|
default: l(() => [
|
|
1179
|
-
|
|
1306
|
+
s(d),
|
|
1180
1307
|
e[3] || (e[3] = x("span", null, " File Dialog ", -1)),
|
|
1181
|
-
|
|
1308
|
+
s(d)
|
|
1182
1309
|
]),
|
|
1183
1310
|
_: 1
|
|
1184
1311
|
}),
|
|
1185
|
-
x("div",
|
|
1186
|
-
|
|
1312
|
+
x("div", Yt, [
|
|
1313
|
+
s(S, null, {
|
|
1187
1314
|
default: l(() => [
|
|
1188
|
-
|
|
1315
|
+
s(c, null, {
|
|
1189
1316
|
default: l(() => [
|
|
1190
|
-
x("span",
|
|
1317
|
+
x("span", Zt, L(o.title), 1)
|
|
1191
1318
|
]),
|
|
1192
1319
|
_: 1
|
|
1193
1320
|
}),
|
|
@@ -1197,13 +1324,13 @@ function Jt(t, e, o, r, i, s) {
|
|
|
1197
1324
|
class: "ma-3",
|
|
1198
1325
|
style: { "white-space": "pre-line" },
|
|
1199
1326
|
textContent: L(o.message)
|
|
1200
|
-
}, null, 8,
|
|
1327
|
+
}, null, 8, Xt)
|
|
1201
1328
|
]),
|
|
1202
1329
|
_: 1
|
|
1203
|
-
})) :
|
|
1204
|
-
|
|
1330
|
+
})) : D("", !0),
|
|
1331
|
+
s(c, { class: "my-1" }, {
|
|
1205
1332
|
default: l(() => [
|
|
1206
|
-
|
|
1333
|
+
s(w, {
|
|
1207
1334
|
modelValue: i.inputValue,
|
|
1208
1335
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.inputValue = _),
|
|
1209
1336
|
label: "Choose File",
|
|
@@ -1221,25 +1348,25 @@ function Jt(t, e, o, r, i, s) {
|
|
|
1221
1348
|
_: 1
|
|
1222
1349
|
})
|
|
1223
1350
|
]),
|
|
1224
|
-
|
|
1351
|
+
s(b, { class: "px-2" }, {
|
|
1225
1352
|
default: l(() => [
|
|
1226
|
-
|
|
1227
|
-
|
|
1353
|
+
s(d),
|
|
1354
|
+
s(V, {
|
|
1228
1355
|
variant: "outlined",
|
|
1229
1356
|
"data-test": "file-cancel",
|
|
1230
|
-
onClick:
|
|
1357
|
+
onClick: n.cancelHandler
|
|
1231
1358
|
}, {
|
|
1232
1359
|
default: l(() => [...e[4] || (e[4] = [
|
|
1233
1360
|
k(" Cancel ", -1)
|
|
1234
1361
|
])]),
|
|
1235
1362
|
_: 1
|
|
1236
1363
|
}, 8, ["onClick"]),
|
|
1237
|
-
|
|
1364
|
+
s(V, {
|
|
1238
1365
|
variant: "flat",
|
|
1239
1366
|
type: "submit",
|
|
1240
1367
|
"data-test": "file-ok",
|
|
1241
1368
|
disabled: !i.valid,
|
|
1242
|
-
onClick: de(
|
|
1369
|
+
onClick: de(n.submitHandler, ["prevent"])
|
|
1243
1370
|
}, {
|
|
1244
1371
|
default: l(() => [...e[5] || (e[5] = [
|
|
1245
1372
|
k(" Ok ", -1)
|
|
@@ -1259,7 +1386,7 @@ function Jt(t, e, o, r, i, s) {
|
|
|
1259
1386
|
_: 1
|
|
1260
1387
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1261
1388
|
}
|
|
1262
|
-
const
|
|
1389
|
+
const $t = /* @__PURE__ */ K(Jt, [["render", Qt], ["__scopeId", "data-v-24d71dd4"]]), ei = {
|
|
1263
1390
|
props: {
|
|
1264
1391
|
modelValue: {
|
|
1265
1392
|
type: Boolean,
|
|
@@ -1290,32 +1417,32 @@ const Yt = /* @__PURE__ */ K(qt, [["render", Jt], ["__scopeId", "data-v-24d71dd4
|
|
|
1290
1417
|
}
|
|
1291
1418
|
},
|
|
1292
1419
|
methods: {}
|
|
1293
|
-
},
|
|
1294
|
-
function
|
|
1295
|
-
const d =
|
|
1420
|
+
}, ti = ["textContent"], ii = { class: "pa-2" }, si = ["textContent"];
|
|
1421
|
+
function ni(t, e, o, a, i, n) {
|
|
1422
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), w = r("v-card-text"), S = r("v-btn"), V = r("v-card-actions"), b = r("v-card"), R = r("v-dialog");
|
|
1296
1423
|
return y(), T(R, {
|
|
1297
|
-
modelValue:
|
|
1298
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1424
|
+
modelValue: n.show,
|
|
1425
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => n.show = E),
|
|
1299
1426
|
width: o.width
|
|
1300
1427
|
}, {
|
|
1301
1428
|
default: l(() => [
|
|
1302
|
-
|
|
1429
|
+
s(b, null, {
|
|
1303
1430
|
default: l(() => [
|
|
1304
|
-
|
|
1431
|
+
s(h, { height: "24" }, {
|
|
1305
1432
|
default: l(() => [
|
|
1306
|
-
|
|
1433
|
+
s(d),
|
|
1307
1434
|
x("span", {
|
|
1308
1435
|
style: { "white-space": "pre" },
|
|
1309
1436
|
textContent: L(o.title)
|
|
1310
|
-
}, null, 8,
|
|
1311
|
-
|
|
1437
|
+
}, null, 8, ti),
|
|
1438
|
+
s(d)
|
|
1312
1439
|
]),
|
|
1313
1440
|
_: 1
|
|
1314
1441
|
}),
|
|
1315
|
-
x("div",
|
|
1316
|
-
|
|
1442
|
+
x("div", ii, [
|
|
1443
|
+
s(w, null, {
|
|
1317
1444
|
default: l(() => [
|
|
1318
|
-
(y(!0), z(ge, null,
|
|
1445
|
+
(y(!0), z(ge, null, Ke(o.text, (E, I) => (y(), T(c, {
|
|
1319
1446
|
key: I,
|
|
1320
1447
|
"no-gutters": ""
|
|
1321
1448
|
}, {
|
|
@@ -1323,7 +1450,7 @@ function ei(t, e, o, r, i, s) {
|
|
|
1323
1450
|
x("span", {
|
|
1324
1451
|
style: { "white-space": "pre" },
|
|
1325
1452
|
textContent: L(E)
|
|
1326
|
-
}, null, 8,
|
|
1453
|
+
}, null, 8, si)
|
|
1327
1454
|
]),
|
|
1328
1455
|
_: 2
|
|
1329
1456
|
}, 1024))), 128))
|
|
@@ -1331,12 +1458,12 @@ function ei(t, e, o, r, i, s) {
|
|
|
1331
1458
|
_: 1
|
|
1332
1459
|
})
|
|
1333
1460
|
]),
|
|
1334
|
-
|
|
1461
|
+
s(V, { class: "px-2" }, {
|
|
1335
1462
|
default: l(() => [
|
|
1336
|
-
|
|
1337
|
-
|
|
1463
|
+
s(d),
|
|
1464
|
+
s(S, {
|
|
1338
1465
|
variant: "flat",
|
|
1339
|
-
onClick: e[0] || (e[0] = (E) =>
|
|
1466
|
+
onClick: e[0] || (e[0] = (E) => n.show = !n.show)
|
|
1340
1467
|
}, {
|
|
1341
1468
|
default: l(() => [...e[2] || (e[2] = [
|
|
1342
1469
|
k(" Ok ", -1)
|
|
@@ -1353,7 +1480,7 @@ function ei(t, e, o, r, i, s) {
|
|
|
1353
1480
|
_: 1
|
|
1354
1481
|
}, 8, ["modelValue", "width"]);
|
|
1355
1482
|
}
|
|
1356
|
-
const
|
|
1483
|
+
const oi = /* @__PURE__ */ K(ei, [["render", ni]]), li = {
|
|
1357
1484
|
components: {},
|
|
1358
1485
|
props: {
|
|
1359
1486
|
modelValue: {
|
|
@@ -1428,42 +1555,42 @@ const ti = /* @__PURE__ */ K(Zt, [["render", ei]]), ii = {
|
|
|
1428
1555
|
});
|
|
1429
1556
|
}
|
|
1430
1557
|
}
|
|
1431
|
-
},
|
|
1432
|
-
function
|
|
1433
|
-
const d =
|
|
1558
|
+
}, ri = { class: "pa-2" };
|
|
1559
|
+
function ai(t, e, o, a, i, n) {
|
|
1560
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-btn"), w = r("v-text-field"), S = r("v-row"), V = r("v-data-table"), b = r("v-card-text"), R = r("v-card-actions"), E = r("v-card"), I = r("v-dialog");
|
|
1434
1561
|
return y(), T(I, {
|
|
1435
|
-
modelValue:
|
|
1436
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1562
|
+
modelValue: n.show,
|
|
1563
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => n.show = _),
|
|
1437
1564
|
width: "1000"
|
|
1438
1565
|
}, {
|
|
1439
1566
|
default: l(() => [
|
|
1440
|
-
|
|
1567
|
+
s(E, null, {
|
|
1441
1568
|
default: l(() => [
|
|
1442
|
-
|
|
1569
|
+
s(h, { height: "24" }, {
|
|
1443
1570
|
default: l(() => [
|
|
1444
|
-
|
|
1571
|
+
s(d),
|
|
1445
1572
|
e[3] || (e[3] = x("span", null, "Overrides", -1)),
|
|
1446
|
-
|
|
1573
|
+
s(d)
|
|
1447
1574
|
]),
|
|
1448
1575
|
_: 1
|
|
1449
1576
|
}),
|
|
1450
|
-
x("div",
|
|
1451
|
-
|
|
1577
|
+
x("div", ri, [
|
|
1578
|
+
s(b, null, {
|
|
1452
1579
|
default: l(() => [
|
|
1453
|
-
|
|
1580
|
+
s(S, { class: "ma-1" }, {
|
|
1454
1581
|
default: l(() => [
|
|
1455
|
-
|
|
1582
|
+
s(c, {
|
|
1456
1583
|
color: "primary",
|
|
1457
1584
|
"data-test": "overrides-dialog-clear-all",
|
|
1458
|
-
onClick:
|
|
1585
|
+
onClick: n.clearOverrides
|
|
1459
1586
|
}, {
|
|
1460
1587
|
default: l(() => [...e[4] || (e[4] = [
|
|
1461
1588
|
k(" Clear All Overrides ", -1)
|
|
1462
1589
|
])]),
|
|
1463
1590
|
_: 1
|
|
1464
1591
|
}, 8, ["onClick"]),
|
|
1465
|
-
|
|
1466
|
-
|
|
1592
|
+
s(d),
|
|
1593
|
+
s(w, {
|
|
1467
1594
|
modelValue: i.search,
|
|
1468
1595
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => i.search = _),
|
|
1469
1596
|
label: "Search",
|
|
@@ -1477,7 +1604,7 @@ function ni(t, e, o, r, i, s) {
|
|
|
1477
1604
|
]),
|
|
1478
1605
|
_: 1
|
|
1479
1606
|
}),
|
|
1480
|
-
|
|
1607
|
+
s(V, {
|
|
1481
1608
|
headers: i.headers,
|
|
1482
1609
|
items: i.overrides,
|
|
1483
1610
|
search: i.search,
|
|
@@ -1486,11 +1613,11 @@ function ni(t, e, o, r, i, s) {
|
|
|
1486
1613
|
density: "compact"
|
|
1487
1614
|
}, {
|
|
1488
1615
|
"item.delete": l(({ item: _ }) => [
|
|
1489
|
-
|
|
1616
|
+
s(c, {
|
|
1490
1617
|
icon: "mdi-delete",
|
|
1491
1618
|
variant: "text",
|
|
1492
1619
|
"aria-label": "Delete Override",
|
|
1493
|
-
onClick: (
|
|
1620
|
+
onClick: (P) => n.deleteOverride(_)
|
|
1494
1621
|
}, null, 8, ["onClick"])
|
|
1495
1622
|
]),
|
|
1496
1623
|
_: 1
|
|
@@ -1499,13 +1626,13 @@ function ni(t, e, o, r, i, s) {
|
|
|
1499
1626
|
_: 1
|
|
1500
1627
|
})
|
|
1501
1628
|
]),
|
|
1502
|
-
|
|
1629
|
+
s(R, { class: "px-2" }, {
|
|
1503
1630
|
default: l(() => [
|
|
1504
|
-
|
|
1505
|
-
|
|
1631
|
+
s(d),
|
|
1632
|
+
s(c, {
|
|
1506
1633
|
variant: "flat",
|
|
1507
1634
|
"data-test": "overrides-dialog-ok",
|
|
1508
|
-
onClick: e[1] || (e[1] = (_) =>
|
|
1635
|
+
onClick: e[1] || (e[1] = (_) => n.show = !n.show)
|
|
1509
1636
|
}, {
|
|
1510
1637
|
default: l(() => [...e[5] || (e[5] = [
|
|
1511
1638
|
k(" Ok ", -1)
|
|
@@ -1522,7 +1649,7 @@ function ni(t, e, o, r, i, s) {
|
|
|
1522
1649
|
_: 1
|
|
1523
1650
|
}, 8, ["modelValue"]);
|
|
1524
1651
|
}
|
|
1525
|
-
const
|
|
1652
|
+
const di = /* @__PURE__ */ K(li, [["render", ai]]), ui = {
|
|
1526
1653
|
props: {
|
|
1527
1654
|
title: {
|
|
1528
1655
|
type: String,
|
|
@@ -1588,36 +1715,36 @@ const oi = /* @__PURE__ */ K(ii, [["render", ni]]), li = {
|
|
|
1588
1715
|
this.$emit("response", "Cancel");
|
|
1589
1716
|
}
|
|
1590
1717
|
}
|
|
1591
|
-
},
|
|
1592
|
-
function
|
|
1593
|
-
const d =
|
|
1718
|
+
}, ci = ["textContent"], mi = { class: "pa-2" }, pi = ["textContent"], hi = ["textContent"], fi = { key: 0 }, gi = { key: 1 };
|
|
1719
|
+
function vi(t, e, o, a, i, n) {
|
|
1720
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-card-subtitle"), w = r("v-row"), S = r("v-card-text"), V = r("v-select"), b = r("v-btn"), R = r("v-card-actions"), E = r("v-card"), I = r("v-dialog");
|
|
1594
1721
|
return y(), T(I, {
|
|
1595
|
-
modelValue:
|
|
1596
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1722
|
+
modelValue: n.show,
|
|
1723
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => n.show = _),
|
|
1597
1724
|
persistent: "",
|
|
1598
1725
|
width: "600",
|
|
1599
|
-
onKeydown: Se(
|
|
1726
|
+
onKeydown: Se(n.cancelHandler, ["esc"])
|
|
1600
1727
|
}, {
|
|
1601
1728
|
default: l(() => [
|
|
1602
|
-
|
|
1729
|
+
s(E, null, {
|
|
1603
1730
|
default: l(() => [
|
|
1604
|
-
|
|
1731
|
+
s(h, { height: "24" }, {
|
|
1605
1732
|
default: l(() => [
|
|
1606
|
-
|
|
1733
|
+
s(d),
|
|
1607
1734
|
x("span", {
|
|
1608
1735
|
class: "text",
|
|
1609
1736
|
textContent: L(o.title)
|
|
1610
|
-
}, null, 8,
|
|
1611
|
-
|
|
1737
|
+
}, null, 8, ci),
|
|
1738
|
+
s(d)
|
|
1612
1739
|
]),
|
|
1613
1740
|
_: 1
|
|
1614
1741
|
}),
|
|
1615
|
-
x("div",
|
|
1616
|
-
|
|
1742
|
+
x("div", mi, [
|
|
1743
|
+
s(S, { class: "text" }, {
|
|
1617
1744
|
default: l(() => [
|
|
1618
|
-
o.subtitle ? (y(), T(
|
|
1745
|
+
o.subtitle ? (y(), T(w, { key: 0 }, {
|
|
1619
1746
|
default: l(() => [
|
|
1620
|
-
|
|
1747
|
+
s(c, null, {
|
|
1621
1748
|
default: l(() => [
|
|
1622
1749
|
k(L(o.subtitle), 1)
|
|
1623
1750
|
]),
|
|
@@ -1625,34 +1752,34 @@ function pi(t, e, o, r, i, s) {
|
|
|
1625
1752
|
})
|
|
1626
1753
|
]),
|
|
1627
1754
|
_: 1
|
|
1628
|
-
})) :
|
|
1629
|
-
|
|
1755
|
+
})) : D("", !0),
|
|
1756
|
+
s(w, { class: "mt-1" }, {
|
|
1630
1757
|
default: l(() => [
|
|
1631
1758
|
x("span", {
|
|
1632
1759
|
textContent: L(o.message)
|
|
1633
|
-
}, null, 8,
|
|
1760
|
+
}, null, 8, pi)
|
|
1634
1761
|
]),
|
|
1635
1762
|
_: 1
|
|
1636
1763
|
}),
|
|
1637
|
-
o.details ? (y(), T(
|
|
1764
|
+
o.details ? (y(), T(w, {
|
|
1638
1765
|
key: 1,
|
|
1639
1766
|
class: "mt-1"
|
|
1640
1767
|
}, {
|
|
1641
1768
|
default: l(() => [
|
|
1642
1769
|
x("span", {
|
|
1643
1770
|
textContent: L(o.details)
|
|
1644
|
-
}, null, 8,
|
|
1771
|
+
}, null, 8, hi)
|
|
1645
1772
|
]),
|
|
1646
1773
|
_: 1
|
|
1647
|
-
})) :
|
|
1774
|
+
})) : D("", !0)
|
|
1648
1775
|
]),
|
|
1649
1776
|
_: 1
|
|
1650
1777
|
})
|
|
1651
1778
|
]),
|
|
1652
|
-
o.layout === "combo" ? (y(), z("div",
|
|
1653
|
-
|
|
1779
|
+
o.layout === "combo" ? (y(), z("div", fi, [
|
|
1780
|
+
s(w, { class: "ma-2" }, {
|
|
1654
1781
|
default: l(() => [
|
|
1655
|
-
|
|
1782
|
+
s(V, {
|
|
1656
1783
|
modelValue: i.selectedItem,
|
|
1657
1784
|
"onUpdate:modelValue": [
|
|
1658
1785
|
e[0] || (e[0] = (_) => i.selectedItem = _),
|
|
@@ -1668,24 +1795,24 @@ function pi(t, e, o, r, i, s) {
|
|
|
1668
1795
|
]),
|
|
1669
1796
|
_: 1
|
|
1670
1797
|
}),
|
|
1671
|
-
|
|
1798
|
+
s(R, { class: "px-2" }, {
|
|
1672
1799
|
default: l(() => [
|
|
1673
|
-
|
|
1674
|
-
|
|
1800
|
+
s(d),
|
|
1801
|
+
s(b, {
|
|
1675
1802
|
variant: "outlined",
|
|
1676
1803
|
"data-test": "prompt-cancel",
|
|
1677
|
-
onClick:
|
|
1804
|
+
onClick: n.cancelHandler
|
|
1678
1805
|
}, {
|
|
1679
1806
|
default: l(() => [...e[3] || (e[3] = [
|
|
1680
1807
|
k(" Cancel ", -1)
|
|
1681
1808
|
])]),
|
|
1682
1809
|
_: 1
|
|
1683
1810
|
}, 8, ["onClick"]),
|
|
1684
|
-
|
|
1811
|
+
s(b, {
|
|
1685
1812
|
variant: "flat",
|
|
1686
1813
|
"data-test": "prompt-ok",
|
|
1687
1814
|
disabled: i.selectOkDisabled,
|
|
1688
|
-
onClick:
|
|
1815
|
+
onClick: n.submitHandler
|
|
1689
1816
|
}, {
|
|
1690
1817
|
default: l(() => [...e[4] || (e[4] = [
|
|
1691
1818
|
k(" Ok ", -1)
|
|
@@ -1695,27 +1822,27 @@ function pi(t, e, o, r, i, s) {
|
|
|
1695
1822
|
]),
|
|
1696
1823
|
_: 1
|
|
1697
1824
|
})
|
|
1698
|
-
])) : (y(), z("div",
|
|
1699
|
-
|
|
1700
|
-
class:
|
|
1825
|
+
])) : (y(), z("div", gi, [
|
|
1826
|
+
s(R, {
|
|
1827
|
+
class: qe(n.layoutClass)
|
|
1701
1828
|
}, {
|
|
1702
1829
|
default: l(() => [
|
|
1703
|
-
|
|
1704
|
-
|
|
1830
|
+
s(d),
|
|
1831
|
+
s(b, {
|
|
1705
1832
|
variant: "outlined",
|
|
1706
1833
|
"data-test": "prompt-cancel",
|
|
1707
|
-
onClick:
|
|
1834
|
+
onClick: n.cancelHandler
|
|
1708
1835
|
}, {
|
|
1709
1836
|
default: l(() => [...e[5] || (e[5] = [
|
|
1710
1837
|
k(" Cancel ", -1)
|
|
1711
1838
|
])]),
|
|
1712
1839
|
_: 1
|
|
1713
1840
|
}, 8, ["onClick"]),
|
|
1714
|
-
(y(!0), z(ge, null,
|
|
1715
|
-
|
|
1841
|
+
(y(!0), z(ge, null, Ke(o.buttons, (_, P) => (y(), z("div", { key: P }, [
|
|
1842
|
+
s(b, {
|
|
1716
1843
|
variant: "flat",
|
|
1717
1844
|
"data-test": `prompt-${_.text}`,
|
|
1718
|
-
onClick: (G) =>
|
|
1845
|
+
onClick: (G) => n.submitWrapper(_.value)
|
|
1719
1846
|
}, {
|
|
1720
1847
|
default: l(() => [
|
|
1721
1848
|
k(L(_.text), 1)
|
|
@@ -1734,7 +1861,7 @@ function pi(t, e, o, r, i, s) {
|
|
|
1734
1861
|
_: 1
|
|
1735
1862
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1736
1863
|
}
|
|
1737
|
-
const
|
|
1864
|
+
const _i = /* @__PURE__ */ K(ui, [["render", vi], ["__scopeId", "data-v-2db27529"]]), bi = {
|
|
1738
1865
|
components: {},
|
|
1739
1866
|
props: {
|
|
1740
1867
|
modelValue: {
|
|
@@ -1773,30 +1900,30 @@ const hi = /* @__PURE__ */ K(li, [["render", pi], ["__scopeId", "data-v-2db27529
|
|
|
1773
1900
|
), e.click();
|
|
1774
1901
|
}
|
|
1775
1902
|
}
|
|
1776
|
-
},
|
|
1777
|
-
function
|
|
1778
|
-
const d =
|
|
1903
|
+
}, wi = { class: "pa-2" };
|
|
1904
|
+
function yi(t, e, o, a, i, n) {
|
|
1905
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-textarea"), w = r("v-card-text"), S = r("v-btn"), V = r("v-card-actions"), b = r("v-card"), R = r("v-dialog");
|
|
1779
1906
|
return y(), T(R, {
|
|
1780
|
-
modelValue:
|
|
1781
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
1907
|
+
modelValue: n.show,
|
|
1908
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => n.show = E),
|
|
1782
1909
|
scrollable: "",
|
|
1783
1910
|
width: "800"
|
|
1784
1911
|
}, {
|
|
1785
1912
|
default: l(() => [
|
|
1786
|
-
|
|
1913
|
+
s(b, null, {
|
|
1787
1914
|
default: l(() => [
|
|
1788
|
-
|
|
1915
|
+
s(h, { height: "24" }, {
|
|
1789
1916
|
default: l(() => [
|
|
1790
|
-
|
|
1917
|
+
s(d),
|
|
1791
1918
|
e[2] || (e[2] = x("span", null, " Script Results ", -1)),
|
|
1792
|
-
|
|
1919
|
+
s(d)
|
|
1793
1920
|
]),
|
|
1794
1921
|
_: 1
|
|
1795
1922
|
}),
|
|
1796
|
-
x("div",
|
|
1797
|
-
|
|
1923
|
+
x("div", wi, [
|
|
1924
|
+
s(w, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1798
1925
|
default: l(() => [
|
|
1799
|
-
|
|
1926
|
+
s(c, {
|
|
1800
1927
|
readonly: "",
|
|
1801
1928
|
"hide-details": "",
|
|
1802
1929
|
density: "compact",
|
|
@@ -1807,22 +1934,22 @@ function vi(t, e, o, r, i, s) {
|
|
|
1807
1934
|
_: 1
|
|
1808
1935
|
})
|
|
1809
1936
|
]),
|
|
1810
|
-
|
|
1937
|
+
s(V, { class: "px-2" }, {
|
|
1811
1938
|
default: l(() => [
|
|
1812
|
-
|
|
1813
|
-
|
|
1939
|
+
s(d),
|
|
1940
|
+
s(S, {
|
|
1814
1941
|
variant: "outlined",
|
|
1815
|
-
onClick:
|
|
1942
|
+
onClick: n.downloadResults
|
|
1816
1943
|
}, {
|
|
1817
1944
|
default: l(() => [...e[3] || (e[3] = [
|
|
1818
1945
|
k(" Download ", -1)
|
|
1819
1946
|
])]),
|
|
1820
1947
|
_: 1
|
|
1821
1948
|
}, 8, ["onClick"]),
|
|
1822
|
-
|
|
1949
|
+
s(S, {
|
|
1823
1950
|
ref: "okButton",
|
|
1824
1951
|
variant: "flat",
|
|
1825
|
-
onClick: e[0] || (e[0] = (E) =>
|
|
1952
|
+
onClick: e[0] || (e[0] = (E) => n.show = !n.show)
|
|
1826
1953
|
}, {
|
|
1827
1954
|
default: l(() => [...e[4] || (e[4] = [
|
|
1828
1955
|
k(" Ok ", -1)
|
|
@@ -1839,9 +1966,9 @@ function vi(t, e, o, r, i, s) {
|
|
|
1839
1966
|
_: 1
|
|
1840
1967
|
}, 8, ["modelValue"]);
|
|
1841
1968
|
}
|
|
1842
|
-
const
|
|
1969
|
+
const ki = /* @__PURE__ */ K(bi, [["render", yi]]), Si = {
|
|
1843
1970
|
components: {
|
|
1844
|
-
EnvironmentChooser:
|
|
1971
|
+
EnvironmentChooser: _t
|
|
1845
1972
|
},
|
|
1846
1973
|
props: {
|
|
1847
1974
|
modelValue: {
|
|
@@ -1883,31 +2010,31 @@ const _i = /* @__PURE__ */ K(fi, [["render", vi]]), bi = {
|
|
|
1883
2010
|
this.show = !this.show;
|
|
1884
2011
|
}
|
|
1885
2012
|
}
|
|
1886
|
-
},
|
|
1887
|
-
function
|
|
1888
|
-
const d =
|
|
2013
|
+
}, xi = { class: "pa-2" };
|
|
2014
|
+
function Ci(t, e, o, a, i, n) {
|
|
2015
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("environment-chooser"), w = r("v-card-text"), S = r("v-btn"), V = r("v-card-actions"), b = r("v-card"), R = r("v-dialog");
|
|
1889
2016
|
return y(), T(R, {
|
|
1890
|
-
modelValue:
|
|
1891
|
-
"onUpdate:modelValue": e[1] || (e[1] = (E) =>
|
|
2017
|
+
modelValue: n.show,
|
|
2018
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => n.show = E),
|
|
1892
2019
|
persistent: "",
|
|
1893
2020
|
width: "600",
|
|
1894
|
-
onKeydown: Se(
|
|
2021
|
+
onKeydown: Se(n.cancel, ["esc"])
|
|
1895
2022
|
}, {
|
|
1896
2023
|
default: l(() => [
|
|
1897
|
-
|
|
2024
|
+
s(b, null, {
|
|
1898
2025
|
default: l(() => [
|
|
1899
|
-
|
|
2026
|
+
s(h, { height: "24" }, {
|
|
1900
2027
|
default: l(() => [
|
|
1901
|
-
|
|
2028
|
+
s(d),
|
|
1902
2029
|
e[2] || (e[2] = x("span", null, "Script Environment Variables", -1)),
|
|
1903
|
-
|
|
2030
|
+
s(d)
|
|
1904
2031
|
]),
|
|
1905
2032
|
_: 1
|
|
1906
2033
|
}),
|
|
1907
|
-
x("div",
|
|
1908
|
-
|
|
2034
|
+
x("div", xi, [
|
|
2035
|
+
s(w, null, {
|
|
1909
2036
|
default: l(() => [
|
|
1910
|
-
|
|
2037
|
+
s(c, {
|
|
1911
2038
|
modelValue: i.selected,
|
|
1912
2039
|
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.selected = E)
|
|
1913
2040
|
}, null, 8, ["modelValue"])
|
|
@@ -1915,24 +2042,24 @@ function yi(t, e, o, r, i, s) {
|
|
|
1915
2042
|
_: 1
|
|
1916
2043
|
})
|
|
1917
2044
|
]),
|
|
1918
|
-
|
|
2045
|
+
s(V, { class: "px-2" }, {
|
|
1919
2046
|
default: l(() => [
|
|
1920
|
-
|
|
1921
|
-
|
|
2047
|
+
s(d),
|
|
2048
|
+
s(S, {
|
|
1922
2049
|
variant: "outlined",
|
|
1923
2050
|
"data-test": "environment-dialog-cancel",
|
|
1924
|
-
onClick:
|
|
2051
|
+
onClick: n.cancel
|
|
1925
2052
|
}, {
|
|
1926
2053
|
default: l(() => [...e[3] || (e[3] = [
|
|
1927
2054
|
k(" Cancel ", -1)
|
|
1928
2055
|
])]),
|
|
1929
2056
|
_: 1
|
|
1930
2057
|
}, 8, ["onClick"]),
|
|
1931
|
-
|
|
2058
|
+
s(S, {
|
|
1932
2059
|
variant: "flat",
|
|
1933
2060
|
"data-test": "environment-dialog-save",
|
|
1934
2061
|
disabled: !!t.inputError,
|
|
1935
|
-
onClick:
|
|
2062
|
+
onClick: n.updateEnvironment
|
|
1936
2063
|
}, {
|
|
1937
2064
|
default: l(() => [...e[4] || (e[4] = [
|
|
1938
2065
|
k(" Save ", -1)
|
|
@@ -1949,7 +2076,7 @@ function yi(t, e, o, r, i, s) {
|
|
|
1949
2076
|
_: 1
|
|
1950
2077
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1951
2078
|
}
|
|
1952
|
-
const
|
|
2079
|
+
const Vi = /* @__PURE__ */ K(Si, [["render", Ci]]), Ei = {
|
|
1953
2080
|
props: {
|
|
1954
2081
|
suiteMap: {
|
|
1955
2082
|
type: Object,
|
|
@@ -2034,29 +2161,29 @@ const ki = /* @__PURE__ */ K(bi, [["render", yi]]), Si = {
|
|
|
2034
2161
|
this.script = t;
|
|
2035
2162
|
}
|
|
2036
2163
|
}
|
|
2037
|
-
},
|
|
2038
|
-
function
|
|
2039
|
-
const d =
|
|
2164
|
+
}, Ri = { id: "tr-container" };
|
|
2165
|
+
function Oi(t, e, o, a, i, n) {
|
|
2166
|
+
const d = r("v-checkbox"), h = r("v-tooltip"), c = r("v-col"), w = r("v-row"), S = r("v-select"), V = r("v-btn");
|
|
2040
2167
|
return y(), z("div", null, [
|
|
2041
|
-
x("div",
|
|
2042
|
-
|
|
2168
|
+
x("div", Ri, [
|
|
2169
|
+
s(w, {
|
|
2043
2170
|
"no-gutters": "",
|
|
2044
2171
|
align: "center"
|
|
2045
2172
|
}, {
|
|
2046
2173
|
default: l(() => [
|
|
2047
|
-
|
|
2174
|
+
s(c, { cols: "4" }, {
|
|
2048
2175
|
default: l(() => [
|
|
2049
|
-
|
|
2176
|
+
s(w, { "no-gutters": "" }, {
|
|
2050
2177
|
default: l(() => [
|
|
2051
|
-
|
|
2178
|
+
s(c, { cols: "6" }, {
|
|
2052
2179
|
default: l(() => [
|
|
2053
|
-
|
|
2180
|
+
s(h, {
|
|
2054
2181
|
"open-delay": 600,
|
|
2055
2182
|
location: "top"
|
|
2056
2183
|
}, {
|
|
2057
|
-
activator: l(({ props:
|
|
2058
|
-
x("div", le(re(
|
|
2059
|
-
|
|
2184
|
+
activator: l(({ props: b }) => [
|
|
2185
|
+
x("div", le(re(b)), [
|
|
2186
|
+
s(d, {
|
|
2060
2187
|
modelValue: i.options,
|
|
2061
2188
|
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
|
|
2062
2189
|
label: "Pause on Error",
|
|
@@ -2078,15 +2205,15 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2078
2205
|
]),
|
|
2079
2206
|
_: 1
|
|
2080
2207
|
}),
|
|
2081
|
-
|
|
2208
|
+
s(c, { cols: "6" }, {
|
|
2082
2209
|
default: l(() => [
|
|
2083
|
-
|
|
2210
|
+
s(h, {
|
|
2084
2211
|
"open-delay": 600,
|
|
2085
2212
|
location: "top"
|
|
2086
2213
|
}, {
|
|
2087
|
-
activator: l(({ props:
|
|
2088
|
-
x("div", le(re(
|
|
2089
|
-
|
|
2214
|
+
activator: l(({ props: b }) => [
|
|
2215
|
+
x("div", le(re(b)), [
|
|
2216
|
+
s(d, {
|
|
2090
2217
|
modelValue: i.options,
|
|
2091
2218
|
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
|
|
2092
2219
|
label: "Manual",
|
|
@@ -2098,9 +2225,9 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2098
2225
|
]),
|
|
2099
2226
|
default: l(() => [
|
|
2100
2227
|
x("span", null, [
|
|
2101
|
-
k(L(
|
|
2228
|
+
k(L(n.checkedManualTooltip), 1),
|
|
2102
2229
|
e[17] || (e[17] = x("br", null, null, -1)),
|
|
2103
|
-
k(" " + L(
|
|
2230
|
+
k(" " + L(n.uncheckedManualTooltip), 1)
|
|
2104
2231
|
])
|
|
2105
2232
|
]),
|
|
2106
2233
|
_: 1
|
|
@@ -2114,20 +2241,20 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2114
2241
|
]),
|
|
2115
2242
|
_: 1
|
|
2116
2243
|
}),
|
|
2117
|
-
|
|
2244
|
+
s(c, { cols: "8" }, {
|
|
2118
2245
|
default: l(() => [
|
|
2119
|
-
|
|
2246
|
+
s(w, {
|
|
2120
2247
|
"no-gutters": "",
|
|
2121
2248
|
justify: "end"
|
|
2122
2249
|
}, {
|
|
2123
2250
|
default: l(() => [
|
|
2124
|
-
|
|
2251
|
+
s(c, { cols: "5" }, {
|
|
2125
2252
|
default: l(() => [
|
|
2126
|
-
|
|
2253
|
+
s(S, {
|
|
2127
2254
|
modelValue: i.suite,
|
|
2128
2255
|
"onUpdate:modelValue": [
|
|
2129
|
-
e[2] || (e[2] = (
|
|
2130
|
-
|
|
2256
|
+
e[2] || (e[2] = (b) => i.suite = b),
|
|
2257
|
+
n.suiteChanged
|
|
2131
2258
|
],
|
|
2132
2259
|
label: "Suite:",
|
|
2133
2260
|
class: "mb-2 mr-2",
|
|
@@ -2140,37 +2267,37 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2140
2267
|
]),
|
|
2141
2268
|
_: 1
|
|
2142
2269
|
}),
|
|
2143
|
-
|
|
2270
|
+
s(c, { cols: "auto" }, {
|
|
2144
2271
|
default: l(() => [
|
|
2145
|
-
|
|
2272
|
+
s(V, {
|
|
2146
2273
|
color: "primary",
|
|
2147
2274
|
class: "mr-2",
|
|
2148
2275
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2149
2276
|
"data-test": "start-suite",
|
|
2150
|
-
onClick: e[3] || (e[3] = (
|
|
2277
|
+
onClick: e[3] || (e[3] = (b) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2151
2278
|
}, {
|
|
2152
2279
|
default: l(() => [...e[18] || (e[18] = [
|
|
2153
2280
|
k(" Start ", -1)
|
|
2154
2281
|
])]),
|
|
2155
2282
|
_: 1
|
|
2156
2283
|
}, 8, ["disabled"]),
|
|
2157
|
-
|
|
2284
|
+
s(V, {
|
|
2158
2285
|
color: "primary",
|
|
2159
2286
|
class: "mr-2",
|
|
2160
2287
|
"data-test": "setup-suite",
|
|
2161
|
-
disabled: o.disableButtons || !
|
|
2162
|
-
onClick: e[4] || (e[4] = (
|
|
2288
|
+
disabled: o.disableButtons || !n.setupSuiteEnabled || !i.userInfo.execute,
|
|
2289
|
+
onClick: e[4] || (e[4] = (b) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2163
2290
|
}, {
|
|
2164
2291
|
default: l(() => [...e[19] || (e[19] = [
|
|
2165
2292
|
k(" Setup ", -1)
|
|
2166
2293
|
])]),
|
|
2167
2294
|
_: 1
|
|
2168
2295
|
}, 8, ["disabled"]),
|
|
2169
|
-
|
|
2296
|
+
s(V, {
|
|
2170
2297
|
color: "primary",
|
|
2171
2298
|
"data-test": "teardown-suite",
|
|
2172
|
-
disabled: o.disableButtons || !
|
|
2173
|
-
onClick: e[5] || (e[5] = (
|
|
2299
|
+
disabled: o.disableButtons || !n.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2300
|
+
onClick: e[5] || (e[5] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2174
2301
|
}, {
|
|
2175
2302
|
default: l(() => [...e[20] || (e[20] = [
|
|
2176
2303
|
k(" Teardown ", -1)
|
|
@@ -2189,21 +2316,21 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2189
2316
|
]),
|
|
2190
2317
|
_: 1
|
|
2191
2318
|
}),
|
|
2192
|
-
|
|
2319
|
+
s(w, { "no-gutters": "" }, {
|
|
2193
2320
|
default: l(() => [
|
|
2194
|
-
|
|
2321
|
+
s(c, { cols: "4" }, {
|
|
2195
2322
|
default: l(() => [
|
|
2196
|
-
|
|
2323
|
+
s(w, { "no-gutters": "" }, {
|
|
2197
2324
|
default: l(() => [
|
|
2198
|
-
|
|
2325
|
+
s(c, { cols: "6" }, {
|
|
2199
2326
|
default: l(() => [
|
|
2200
|
-
|
|
2327
|
+
s(h, {
|
|
2201
2328
|
"open-delay": 600,
|
|
2202
2329
|
location: "top"
|
|
2203
2330
|
}, {
|
|
2204
|
-
activator: l(({ props:
|
|
2205
|
-
x("div", le(re(
|
|
2206
|
-
|
|
2331
|
+
activator: l(({ props: b }) => [
|
|
2332
|
+
x("div", le(re(b)), [
|
|
2333
|
+
s(d, {
|
|
2207
2334
|
modelValue: i.options,
|
|
2208
2335
|
"onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
|
|
2209
2336
|
label: "Continue after Error",
|
|
@@ -2225,15 +2352,15 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2225
2352
|
]),
|
|
2226
2353
|
_: 1
|
|
2227
2354
|
}),
|
|
2228
|
-
|
|
2355
|
+
s(c, { cols: "6" }, {
|
|
2229
2356
|
default: l(() => [
|
|
2230
|
-
|
|
2357
|
+
s(h, {
|
|
2231
2358
|
"open-delay": 600,
|
|
2232
2359
|
location: "top"
|
|
2233
2360
|
}, {
|
|
2234
|
-
activator: l(({ props:
|
|
2235
|
-
x("div", le(re(
|
|
2236
|
-
|
|
2361
|
+
activator: l(({ props: b }) => [
|
|
2362
|
+
x("div", le(re(b)), [
|
|
2363
|
+
s(d, {
|
|
2237
2364
|
modelValue: i.options,
|
|
2238
2365
|
"onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
|
|
2239
2366
|
label: "Loop",
|
|
@@ -2261,20 +2388,20 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2261
2388
|
]),
|
|
2262
2389
|
_: 1
|
|
2263
2390
|
}),
|
|
2264
|
-
|
|
2391
|
+
s(c, { cols: "8" }, {
|
|
2265
2392
|
default: l(() => [
|
|
2266
|
-
|
|
2393
|
+
s(w, {
|
|
2267
2394
|
"no-gutters": "",
|
|
2268
2395
|
justify: "end"
|
|
2269
2396
|
}, {
|
|
2270
2397
|
default: l(() => [
|
|
2271
|
-
|
|
2398
|
+
s(c, { cols: "5" }, {
|
|
2272
2399
|
default: l(() => [
|
|
2273
|
-
|
|
2400
|
+
s(S, {
|
|
2274
2401
|
modelValue: i.group,
|
|
2275
2402
|
"onUpdate:modelValue": [
|
|
2276
|
-
e[8] || (e[8] = (
|
|
2277
|
-
|
|
2403
|
+
e[8] || (e[8] = (b) => i.group = b),
|
|
2404
|
+
n.groupChanged
|
|
2278
2405
|
],
|
|
2279
2406
|
label: "Group:",
|
|
2280
2407
|
class: "mb-2 mr-2",
|
|
@@ -2287,37 +2414,37 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2287
2414
|
]),
|
|
2288
2415
|
_: 1
|
|
2289
2416
|
}),
|
|
2290
|
-
|
|
2417
|
+
s(c, { cols: "auto" }, {
|
|
2291
2418
|
default: l(() => [
|
|
2292
|
-
|
|
2419
|
+
s(V, {
|
|
2293
2420
|
color: "primary",
|
|
2294
2421
|
class: "mr-2",
|
|
2295
2422
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2296
2423
|
"data-test": "start-group",
|
|
2297
|
-
onClick: e[9] || (e[9] = (
|
|
2424
|
+
onClick: e[9] || (e[9] = (b) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2298
2425
|
}, {
|
|
2299
2426
|
default: l(() => [...e[23] || (e[23] = [
|
|
2300
2427
|
k(" Start ", -1)
|
|
2301
2428
|
])]),
|
|
2302
2429
|
_: 1
|
|
2303
2430
|
}, 8, ["disabled"]),
|
|
2304
|
-
|
|
2431
|
+
s(V, {
|
|
2305
2432
|
color: "primary",
|
|
2306
2433
|
class: "mr-2",
|
|
2307
2434
|
"data-test": "setup-group",
|
|
2308
|
-
disabled: o.disableButtons || !
|
|
2309
|
-
onClick: e[10] || (e[10] = (
|
|
2435
|
+
disabled: o.disableButtons || !n.setupGroupEnabled || !i.userInfo.execute,
|
|
2436
|
+
onClick: e[10] || (e[10] = (b) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2310
2437
|
}, {
|
|
2311
2438
|
default: l(() => [...e[24] || (e[24] = [
|
|
2312
2439
|
k(" Setup ", -1)
|
|
2313
2440
|
])]),
|
|
2314
2441
|
_: 1
|
|
2315
2442
|
}, 8, ["disabled"]),
|
|
2316
|
-
|
|
2443
|
+
s(V, {
|
|
2317
2444
|
color: "primary",
|
|
2318
2445
|
"data-test": "teardown-group",
|
|
2319
|
-
disabled: o.disableButtons || !
|
|
2320
|
-
onClick: e[11] || (e[11] = (
|
|
2446
|
+
disabled: o.disableButtons || !n.teardownGroupEnabled || !i.userInfo.execute,
|
|
2447
|
+
onClick: e[11] || (e[11] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2321
2448
|
}, {
|
|
2322
2449
|
default: l(() => [...e[25] || (e[25] = [
|
|
2323
2450
|
k(" Teardown ", -1)
|
|
@@ -2336,21 +2463,21 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2336
2463
|
]),
|
|
2337
2464
|
_: 1
|
|
2338
2465
|
}),
|
|
2339
|
-
|
|
2466
|
+
s(w, { "no-gutters": "" }, {
|
|
2340
2467
|
default: l(() => [
|
|
2341
|
-
|
|
2468
|
+
s(c, { cols: "4" }, {
|
|
2342
2469
|
default: l(() => [
|
|
2343
|
-
|
|
2470
|
+
s(w, { "no-gutters": "" }, {
|
|
2344
2471
|
default: l(() => [
|
|
2345
|
-
|
|
2472
|
+
s(c, { cols: "6" }, {
|
|
2346
2473
|
default: l(() => [
|
|
2347
|
-
|
|
2474
|
+
s(h, {
|
|
2348
2475
|
"open-delay": 600,
|
|
2349
2476
|
location: "top"
|
|
2350
2477
|
}, {
|
|
2351
|
-
activator: l(({ props:
|
|
2352
|
-
x("div", le(re(
|
|
2353
|
-
|
|
2478
|
+
activator: l(({ props: b }) => [
|
|
2479
|
+
x("div", le(re(b)), [
|
|
2480
|
+
s(d, {
|
|
2354
2481
|
modelValue: i.options,
|
|
2355
2482
|
"onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
|
|
2356
2483
|
label: "Abort after Error",
|
|
@@ -2372,15 +2499,15 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2372
2499
|
]),
|
|
2373
2500
|
_: 1
|
|
2374
2501
|
}),
|
|
2375
|
-
|
|
2502
|
+
s(c, { cols: "6" }, {
|
|
2376
2503
|
default: l(() => [
|
|
2377
|
-
|
|
2504
|
+
s(h, {
|
|
2378
2505
|
"open-delay": 600,
|
|
2379
2506
|
location: "top"
|
|
2380
2507
|
}, {
|
|
2381
|
-
activator: l(({ props:
|
|
2382
|
-
x("div", le(re(
|
|
2383
|
-
|
|
2508
|
+
activator: l(({ props: b }) => [
|
|
2509
|
+
x("div", le(re(b)), [
|
|
2510
|
+
s(d, {
|
|
2384
2511
|
modelValue: i.options,
|
|
2385
2512
|
"onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
|
|
2386
2513
|
disabled: !i.options.includes("loop"),
|
|
@@ -2411,27 +2538,27 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2411
2538
|
]),
|
|
2412
2539
|
_: 1
|
|
2413
2540
|
}),
|
|
2414
|
-
|
|
2541
|
+
s(c, { cols: "8" }, {
|
|
2415
2542
|
default: l(() => [
|
|
2416
|
-
|
|
2543
|
+
s(w, {
|
|
2417
2544
|
"no-gutters": "",
|
|
2418
2545
|
justify: "end"
|
|
2419
2546
|
}, {
|
|
2420
2547
|
default: l(() => [
|
|
2421
|
-
|
|
2548
|
+
s(c, { cols: "5" }, {
|
|
2422
2549
|
default: l(() => [
|
|
2423
|
-
|
|
2550
|
+
s(S, {
|
|
2424
2551
|
modelValue: i.script,
|
|
2425
2552
|
"onUpdate:modelValue": [
|
|
2426
|
-
e[14] || (e[14] = (
|
|
2427
|
-
|
|
2553
|
+
e[14] || (e[14] = (b) => i.script = b),
|
|
2554
|
+
n.scriptChanged
|
|
2428
2555
|
],
|
|
2429
2556
|
label: "Script:",
|
|
2430
2557
|
class: "mb-2 mr-2",
|
|
2431
2558
|
"hide-details": "",
|
|
2432
2559
|
density: "compact",
|
|
2433
2560
|
variant: "outlined",
|
|
2434
|
-
items:
|
|
2561
|
+
items: n.scriptNames,
|
|
2435
2562
|
"item-title": "title",
|
|
2436
2563
|
"item-value": "value",
|
|
2437
2564
|
"data-test": "select-script"
|
|
@@ -2439,14 +2566,14 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2439
2566
|
]),
|
|
2440
2567
|
_: 1
|
|
2441
2568
|
}),
|
|
2442
|
-
|
|
2569
|
+
s(c, { cols: "auto" }, {
|
|
2443
2570
|
default: l(() => [
|
|
2444
|
-
|
|
2571
|
+
s(V, {
|
|
2445
2572
|
color: "primary",
|
|
2446
2573
|
class: "mr-2",
|
|
2447
2574
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2448
2575
|
"data-test": "start-script",
|
|
2449
|
-
onClick: e[15] || (e[15] = (
|
|
2576
|
+
onClick: e[15] || (e[15] = (b) => t.$emit("button", {
|
|
2450
2577
|
method: "start",
|
|
2451
2578
|
suite: i.suite,
|
|
2452
2579
|
group: i.group,
|
|
@@ -2459,7 +2586,7 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2459
2586
|
])]),
|
|
2460
2587
|
_: 1
|
|
2461
2588
|
}, 8, ["disabled"]),
|
|
2462
|
-
|
|
2589
|
+
s(V, {
|
|
2463
2590
|
color: "primary",
|
|
2464
2591
|
class: "mr-2 invisible"
|
|
2465
2592
|
}, {
|
|
@@ -2468,7 +2595,7 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2468
2595
|
])]),
|
|
2469
2596
|
_: 1
|
|
2470
2597
|
}),
|
|
2471
|
-
|
|
2598
|
+
s(V, {
|
|
2472
2599
|
color: "primary",
|
|
2473
2600
|
class: "invisible"
|
|
2474
2601
|
}, {
|
|
@@ -2492,208 +2619,10 @@ function Ci(t, e, o, r, i, s) {
|
|
|
2492
2619
|
])
|
|
2493
2620
|
]);
|
|
2494
2621
|
}
|
|
2495
|
-
const
|
|
2496
|
-
const i = e(r);
|
|
2497
|
-
return o[i] ? o[i].push(r) : o[i] = [r], o;
|
|
2498
|
-
}, {}), Ri = (t) => {
|
|
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
|
-
}
|
|
2622
|
+
const Mi = /* @__PURE__ */ K(Ei, [["render", Oi], ["__scopeId", "data-v-6be22c34"]]);
|
|
2694
2623
|
var ee, ve, _e, be, we, Me, ye, ke, Te;
|
|
2695
|
-
class
|
|
2696
|
-
constructor(e, { pattern: o, text:
|
|
2624
|
+
class Ti {
|
|
2625
|
+
constructor(e, { pattern: o, text: a, type: i }) {
|
|
2697
2626
|
// TODO: the eslint parser errors on these because of the #
|
|
2698
2627
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2699
2628
|
J(this, ee);
|
|
@@ -2715,7 +2644,7 @@ class Di {
|
|
|
2715
2644
|
});
|
|
2716
2645
|
// Update annotations for the changed lines
|
|
2717
2646
|
Ne(this, "annotate", (e, o) => {
|
|
2718
|
-
var
|
|
2647
|
+
var a, i;
|
|
2719
2648
|
if (e.lines.length > 1)
|
|
2720
2649
|
switch (e.action) {
|
|
2721
2650
|
case "insert":
|
|
@@ -2725,16 +2654,16 @@ class Di {
|
|
|
2725
2654
|
B(this, ke).call(this, o, e.start.row + 1, -e.lines.length + 1);
|
|
2726
2655
|
break;
|
|
2727
2656
|
}
|
|
2728
|
-
for (let
|
|
2729
|
-
let d = (i = (
|
|
2657
|
+
for (let n = e.start.row; n <= e.end.row; n++) {
|
|
2658
|
+
let d = (i = (a = o.doc.$lines[n]) == null ? void 0 : a.match(B(this, _e))) == null ? void 0 : i.index;
|
|
2730
2659
|
d !== void 0 ? (d !== 0 && (d += 1), B(this, Me).call(this, o, {
|
|
2731
|
-
row:
|
|
2660
|
+
row: n,
|
|
2732
2661
|
column: d,
|
|
2733
2662
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2734
2663
|
text: B(this, be),
|
|
2735
2664
|
type: B(this, we),
|
|
2736
2665
|
openc3Id: B(this, ee)
|
|
2737
|
-
})) : e.action === "remove" && B(this, ye).call(this, o,
|
|
2666
|
+
})) : e.action === "remove" && B(this, ye).call(this, o, n);
|
|
2738
2667
|
}
|
|
2739
2668
|
});
|
|
2740
2669
|
J(this, Me, (e, o) => {
|
|
@@ -2743,13 +2672,13 @@ class Di {
|
|
|
2743
2672
|
J(this, ye, (e, o) => {
|
|
2744
2673
|
e.setAnnotations(
|
|
2745
2674
|
e.getAnnotations().filter(
|
|
2746
|
-
(
|
|
2675
|
+
(a) => a.openc3Id !== B(this, ee) || a.row !== o
|
|
2747
2676
|
)
|
|
2748
2677
|
);
|
|
2749
2678
|
});
|
|
2750
|
-
J(this, ke, (e, o,
|
|
2679
|
+
J(this, ke, (e, o, a) => {
|
|
2751
2680
|
e.setAnnotations(
|
|
2752
|
-
e.getAnnotations().map((i) => (i.row > o && (i.row +=
|
|
2681
|
+
e.getAnnotations().map((i) => (i.row > o && (i.row += a), i))
|
|
2753
2682
|
);
|
|
2754
2683
|
});
|
|
2755
2684
|
J(this, Te, (e) => {
|
|
@@ -2757,45 +2686,45 @@ class Di {
|
|
|
2757
2686
|
e.getAnnotations().filter((o) => o.openc3Id !== B(this, ee))
|
|
2758
2687
|
);
|
|
2759
2688
|
});
|
|
2760
|
-
ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ve, e), ne(this, _e, o), ne(this, be,
|
|
2689
|
+
ne(this, ee, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ne(this, ve, e), ne(this, _e, o), ne(this, be, a), ne(this, we, i);
|
|
2761
2690
|
}
|
|
2762
2691
|
}
|
|
2763
2692
|
ee = new WeakMap(), ve = new WeakMap(), _e = new WeakMap(), be = new WeakMap(), we = new WeakMap(), Me = new WeakMap(), ye = new WeakMap(), ke = new WeakMap(), Te = new WeakMap();
|
|
2764
|
-
class
|
|
2693
|
+
class Ii extends Ti {
|
|
2765
2694
|
constructor(e) {
|
|
2766
|
-
const o = "(^|[{\\s])",
|
|
2695
|
+
const o = "(^|[{\\s])", a = "sleep", i = "[\\(\\s]";
|
|
2767
2696
|
super(e, {
|
|
2768
|
-
pattern: new RegExp(`${o}${
|
|
2697
|
+
pattern: new RegExp(`${o}${a}${i}`),
|
|
2769
2698
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2770
2699
|
// because we override wait to make it work better, but not sleep
|
|
2771
2700
|
type: "warning"
|
|
2772
2701
|
});
|
|
2773
2702
|
}
|
|
2774
2703
|
}
|
|
2775
|
-
const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start",
|
|
2704
|
+
const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", Ui = "Go", he = "Pause", Pi = "Retry", Di = {
|
|
2776
2705
|
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:
|
|
2706
|
+
FileOpenSaveDialog: xt,
|
|
2707
|
+
Openc3Screen: St,
|
|
2708
|
+
EnvironmentDialog: kt,
|
|
2709
|
+
Splitpanes: Nt,
|
|
2710
|
+
Pane: Ht,
|
|
2711
|
+
TopBar: vt,
|
|
2712
|
+
AskDialog: Wt,
|
|
2713
|
+
FileDialog: $t,
|
|
2714
|
+
InformationDialog: oi,
|
|
2715
|
+
EventListDialog: Ot,
|
|
2716
|
+
OverridesDialog: di,
|
|
2717
|
+
PromptDialog: _i,
|
|
2718
|
+
ResultsDialog: ki,
|
|
2719
|
+
ScriptEnvironmentDialog: Vi,
|
|
2720
|
+
SimpleTextDialog: Et,
|
|
2721
|
+
SuiteRunner: Mi,
|
|
2722
|
+
RunningScripts: Lt,
|
|
2723
|
+
ScriptLogMessages: Bt,
|
|
2724
|
+
CriticalCmdDialog: yt,
|
|
2725
|
+
CommandEditor: bt
|
|
2797
2726
|
},
|
|
2798
|
-
mixins: [
|
|
2727
|
+
mixins: [ht, Rt],
|
|
2799
2728
|
beforeRouteUpdate: function(t, e, o) {
|
|
2800
2729
|
t.params.id ? this.tryLoadRunningScript(t.params.id).then(o) : o();
|
|
2801
2730
|
},
|
|
@@ -2811,7 +2740,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2811
2740
|
},
|
|
2812
2741
|
emits: ["alert", "script-id"],
|
|
2813
2742
|
setup() {
|
|
2814
|
-
return { containerHeight:
|
|
2743
|
+
return { containerHeight: gt() };
|
|
2815
2744
|
},
|
|
2816
2745
|
data() {
|
|
2817
2746
|
return {
|
|
@@ -2933,7 +2862,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
2933
2862
|
executeSelectionMenu: !1,
|
|
2934
2863
|
menuX: 0,
|
|
2935
2864
|
menuY: 0,
|
|
2936
|
-
mnemonicChecker: new
|
|
2865
|
+
mnemonicChecker: new It(),
|
|
2937
2866
|
showScripts: !1,
|
|
2938
2867
|
showOverrides: !1,
|
|
2939
2868
|
overridesCount: 0,
|
|
@@ -3237,13 +3166,13 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3237
3166
|
},
|
|
3238
3167
|
watch: {
|
|
3239
3168
|
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);
|
|
3169
|
+
this.showEditingToast = t, this.suiteRunner || (this.startOrGoDisabled = t), this.readOnlyUser == !1 && t == !1 && !this.inline ? this.editor.setReadOnly(t) : this.editor.setReadOnly(!0);
|
|
3241
3170
|
},
|
|
3242
3171
|
fullFilename: function(t) {
|
|
3243
3172
|
this.filenameSelect = t, this.inline || (t === q ? localStorage.removeItem("script_runner__filename") : localStorage.script_runner__filename = t);
|
|
3244
3173
|
},
|
|
3245
3174
|
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));
|
|
3175
|
+
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
3176
|
},
|
|
3248
3177
|
showOverrides: function(t, e) {
|
|
3249
3178
|
e && !t && this.updateOverridesCount();
|
|
@@ -3257,10 +3186,10 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3257
3186
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3258
3187
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3259
3188
|
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
|
-
|
|
3189
|
+
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) => {
|
|
3190
|
+
a.data !== null && a.data.permissions !== void 0 && (a.data.permissions.some(
|
|
3262
3191
|
(i) => i.permission == "script_edit"
|
|
3263
|
-
) && (this.readOnlyUser = !1),
|
|
3192
|
+
) && (this.readOnlyUser = !1), a.data.permissions.some(
|
|
3264
3193
|
(i) => i.permission == "script_run"
|
|
3265
3194
|
) && (this.executeUser = !0));
|
|
3266
3195
|
}));
|
|
@@ -3278,19 +3207,19 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3278
3207
|
}), this.inline && (this.readOnly = !0);
|
|
3279
3208
|
},
|
|
3280
3209
|
mounted: async function() {
|
|
3281
|
-
var i,
|
|
3210
|
+
var i, n;
|
|
3282
3211
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3283
3212
|
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
|
|
3213
|
+
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");
|
|
3214
|
+
const a = new Ii(this.editor);
|
|
3215
|
+
this.editor.session.on("change", (d, h) => {
|
|
3216
|
+
a.annotate(d, h), this.updateBreakpoints(d, h);
|
|
3217
|
+
}), 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
3218
|
...d,
|
|
3290
|
-
command: async (
|
|
3291
|
-
this.filename =
|
|
3219
|
+
command: async (h) => {
|
|
3220
|
+
this.filename = h.label, await this.reloadFile();
|
|
3292
3221
|
}
|
|
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()) : (
|
|
3222
|
+
}))), 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
3223
|
this.processReceived();
|
|
3295
3224
|
}, 100);
|
|
3296
3225
|
},
|
|
@@ -3330,9 +3259,9 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3330
3259
|
return;
|
|
3331
3260
|
}
|
|
3332
3261
|
if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
|
|
3333
|
-
const o = this.editor.session.getLine(this.commandEditor.editLine),
|
|
3262
|
+
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
3263
|
this.editor.session.replace(
|
|
3335
|
-
new
|
|
3264
|
+
new h(
|
|
3336
3265
|
this.commandEditor.editLine,
|
|
3337
3266
|
0,
|
|
3338
3267
|
this.commandEditor.editLine,
|
|
@@ -3455,21 +3384,21 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3455
3384
|
if (t.lines.length <= 1)
|
|
3456
3385
|
return;
|
|
3457
3386
|
const o = this.getBreakpointRows(e).filter(
|
|
3458
|
-
(
|
|
3387
|
+
(n) => t.start.column === 0 && n === t.start.row || n > t.start.row
|
|
3459
3388
|
);
|
|
3460
|
-
let
|
|
3389
|
+
let a = [], i = 0;
|
|
3461
3390
|
switch (t.action) {
|
|
3462
3391
|
case "insert":
|
|
3463
3392
|
i = t.lines.length - 1, o.reverse();
|
|
3464
3393
|
break;
|
|
3465
3394
|
case "remove":
|
|
3466
|
-
i = -t.lines.length + 1,
|
|
3467
|
-
(
|
|
3395
|
+
i = -t.lines.length + 1, a = [...Array(t.lines.length).keys()].map(
|
|
3396
|
+
(n) => n + t.start.row
|
|
3468
3397
|
);
|
|
3469
3398
|
break;
|
|
3470
3399
|
}
|
|
3471
|
-
o.forEach((
|
|
3472
|
-
e.clearBreakpoint(
|
|
3400
|
+
o.forEach((n) => {
|
|
3401
|
+
e.clearBreakpoint(n), a.includes(n) || e.setBreakpoint(n + i);
|
|
3473
3402
|
});
|
|
3474
3403
|
},
|
|
3475
3404
|
getBreakpointRows: function(t = this.editor.session) {
|
|
@@ -3510,16 +3439,16 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3510
3439
|
let o = "";
|
|
3511
3440
|
o += `<strong>${e.data.title}</strong><br/><br/>`, o += JSON.parse(e.data.description), this.$dialog.alert(o.trim(), { html: !0 });
|
|
3512
3441
|
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: o }) => {
|
|
3513
|
-
let
|
|
3442
|
+
let a = "";
|
|
3514
3443
|
if (o.length) {
|
|
3515
|
-
const i = o.map((
|
|
3516
|
-
|
|
3444
|
+
const i = o.map((n) => `${n.lineNumber}: ${n.error}`).join("<br/>");
|
|
3445
|
+
a += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3517
3446
|
}
|
|
3518
|
-
e.length && (
|
|
3447
|
+
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
3448
|
});
|
|
3520
3449
|
},
|
|
3521
3450
|
initScriptStart() {
|
|
3522
|
-
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton =
|
|
3451
|
+
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
3452
|
},
|
|
3524
3453
|
scriptStart(t) {
|
|
3525
3454
|
this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
|
|
@@ -3536,7 +3465,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3536
3465
|
});
|
|
3537
3466
|
},
|
|
3538
3467
|
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();
|
|
3468
|
+
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
3469
|
},
|
|
3541
3470
|
environmentHandler: function(t) {
|
|
3542
3471
|
this.scriptEnvironment.env = t;
|
|
@@ -3544,21 +3473,21 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3544
3473
|
startHandler: function() {
|
|
3545
3474
|
this.start();
|
|
3546
3475
|
},
|
|
3547
|
-
async start(t = null, e = null, o = null,
|
|
3476
|
+
async start(t = null, e = null, o = null, a = null) {
|
|
3548
3477
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3549
3478
|
let i = this.filename;
|
|
3550
3479
|
this.filename === q && (i = this.tempFilename);
|
|
3551
|
-
let
|
|
3552
|
-
this.showDisconnect && (
|
|
3480
|
+
let n = `/script-api/scripts/${i}/run`;
|
|
3481
|
+
this.showDisconnect && (n += "/disconnect");
|
|
3553
3482
|
let d = this.scriptEnvironment.env;
|
|
3554
3483
|
this.enableStackTraces && (d = d.concat({
|
|
3555
3484
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3556
3485
|
value: "1"
|
|
3557
3486
|
}));
|
|
3558
|
-
let
|
|
3487
|
+
let h = {
|
|
3559
3488
|
environment: d
|
|
3560
3489
|
};
|
|
3561
|
-
e && (
|
|
3490
|
+
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
3491
|
this.scriptStart(c.data);
|
|
3563
3492
|
}).catch((c) => {
|
|
3564
3493
|
this.scriptComplete();
|
|
@@ -3610,7 +3539,7 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3610
3539
|
), this.editor.gotoLine(t.line_no), this.files[t.filename].lineNo = t.line_no;
|
|
3611
3540
|
break;
|
|
3612
3541
|
case "error":
|
|
3613
|
-
this.pauseOrRetryButton =
|
|
3542
|
+
this.pauseOrRetryButton = Pi;
|
|
3614
3543
|
// Deliberate fall through (no break)
|
|
3615
3544
|
case "spawning":
|
|
3616
3545
|
// wait for script to be spawned
|
|
@@ -3620,15 +3549,15 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3620
3549
|
case "waiting":
|
|
3621
3550
|
case "breakpoint":
|
|
3622
3551
|
if (this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, Object.keys(e).filter(
|
|
3623
|
-
(
|
|
3552
|
+
(a) => e[a].clazz === `${this.state}Marker`
|
|
3624
3553
|
).length === 0) {
|
|
3625
3554
|
this.removeAllMarkers();
|
|
3626
|
-
let
|
|
3555
|
+
let a = t.line_no > 0 ? t.line_no : 1;
|
|
3627
3556
|
this.editor.session.addMarker(
|
|
3628
|
-
new this.Range(
|
|
3557
|
+
new this.Range(a - 1, 0, a - 1, 1),
|
|
3629
3558
|
`${this.state}Marker`,
|
|
3630
3559
|
"fullLine"
|
|
3631
|
-
), this.editor.gotoLine(
|
|
3560
|
+
), this.editor.gotoLine(a), t.filename && (this.files[t.filename].lineNo = a);
|
|
3632
3561
|
}
|
|
3633
3562
|
break;
|
|
3634
3563
|
case "completed":
|
|
@@ -3653,11 +3582,11 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3653
3582
|
this.processLine(e);
|
|
3654
3583
|
break;
|
|
3655
3584
|
case "output":
|
|
3656
|
-
let
|
|
3657
|
-
|
|
3658
|
-
for (const
|
|
3585
|
+
let a = e.line;
|
|
3586
|
+
a == null ? a = "" : typeof a == "object" ? a = JSON.stringify(a) : a = String(a);
|
|
3587
|
+
for (const h of a.split(`
|
|
3659
3588
|
`))
|
|
3660
|
-
|
|
3589
|
+
h && (this.messagesNewestOnTop ? this.messages.unshift({ message: h }) : this.messages.push({ message: h }));
|
|
3661
3590
|
for (; this.messages.length > this.maxArrayLength; )
|
|
3662
3591
|
this.messages.pop();
|
|
3663
3592
|
break;
|
|
@@ -3674,15 +3603,15 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3674
3603
|
this.showDebug = !0;
|
|
3675
3604
|
break;
|
|
3676
3605
|
case "screen":
|
|
3677
|
-
let i = !1,
|
|
3606
|
+
let i = !1, n = {};
|
|
3678
3607
|
for (screen of this.screens) {
|
|
3679
3608
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3680
|
-
|
|
3609
|
+
n = screen, i = !0;
|
|
3681
3610
|
break;
|
|
3682
3611
|
}
|
|
3683
3612
|
o += 1;
|
|
3684
3613
|
}
|
|
3685
|
-
|
|
3614
|
+
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
3615
|
break;
|
|
3687
3616
|
case "clearscreen":
|
|
3688
3617
|
for (screen of this.screens) {
|
|
@@ -3785,22 +3714,22 @@ const Qe = "__TEMP__", q = "<Untitled>", Ge = "Start", zi = "Go", he = "Pause",
|
|
|
3785
3714
|
},
|
|
3786
3715
|
async fileDialogCallback(t) {
|
|
3787
3716
|
let e = "Cancel", o = [];
|
|
3788
|
-
t != "Cancel" && (e = [], t.forEach((
|
|
3789
|
-
e.push(
|
|
3717
|
+
t != "Cancel" && (e = [], t.forEach((a) => {
|
|
3718
|
+
e.push(a.name), o.push(
|
|
3790
3719
|
O.get(
|
|
3791
3720
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3792
|
-
`${window.openc3Scope}/tmp/${
|
|
3721
|
+
`${window.openc3Scope}/tmp/${a.name}`
|
|
3793
3722
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3794
3723
|
).then((i) => {
|
|
3795
3724
|
o.push(
|
|
3796
|
-
|
|
3725
|
+
ft({
|
|
3797
3726
|
...i.data,
|
|
3798
|
-
data:
|
|
3727
|
+
data: a
|
|
3799
3728
|
})
|
|
3800
3729
|
);
|
|
3801
3730
|
})
|
|
3802
3731
|
);
|
|
3803
|
-
})), Promise.all(o).then((
|
|
3732
|
+
})), Promise.all(o).then((a) => {
|
|
3804
3733
|
O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3805
3734
|
data: {
|
|
3806
3735
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
@@ -3922,7 +3851,7 @@ class TestSuite(Suite):
|
|
|
3922
3851
|
let e = this.recent.findIndex((o) => o.label === t);
|
|
3923
3852
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3924
3853
|
label: t,
|
|
3925
|
-
icon:
|
|
3854
|
+
icon: wt(t),
|
|
3926
3855
|
command: async (o) => {
|
|
3927
3856
|
await this.confirmUnsavedChanges() && (this.filename = o.label, await this.reloadFile());
|
|
3928
3857
|
}
|
|
@@ -3949,8 +3878,8 @@ class TestSuite(Suite):
|
|
|
3949
3878
|
contents: e.data.contents
|
|
3950
3879
|
};
|
|
3951
3880
|
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:
|
|
3881
|
+
const a = e.data.locked, i = e.data.breakpoints;
|
|
3882
|
+
this.setFile({ file: o, locked: a, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3954
3883
|
}).catch((e) => {
|
|
3955
3884
|
t === !0 && this.$notify.caution({
|
|
3956
3885
|
title: "File Open Error",
|
|
@@ -3959,10 +3888,10 @@ class TestSuite(Suite):
|
|
|
3959
3888
|
});
|
|
3960
3889
|
},
|
|
3961
3890
|
// Called by the FileOpenDialog to set the file contents
|
|
3962
|
-
setFile({ file: t, locked: e, breakpoints: o },
|
|
3891
|
+
setFile({ file: t, locked: e, breakpoints: o }, a = !1) {
|
|
3963
3892
|
this.files = {};
|
|
3964
3893
|
let i = t.name.split("*")[0];
|
|
3965
|
-
if (
|
|
3894
|
+
if (a === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
3966
3895
|
this.$router.replace({
|
|
3967
3896
|
name: "ScriptRunner",
|
|
3968
3897
|
query: {
|
|
@@ -3970,8 +3899,8 @@ class TestSuite(Suite):
|
|
|
3970
3899
|
}
|
|
3971
3900
|
}).catch((d) => {
|
|
3972
3901
|
});
|
|
3973
|
-
let
|
|
3974
|
-
document.title = `${
|
|
3902
|
+
let n = this.filename.split("/");
|
|
3903
|
+
document.title = `${n.pop()} (${n.join("/")})`;
|
|
3975
3904
|
}
|
|
3976
3905
|
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
3906
|
},
|
|
@@ -3981,20 +3910,20 @@ class TestSuite(Suite):
|
|
|
3981
3910
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3982
3911
|
},
|
|
3983
3912
|
detectLanguage() {
|
|
3984
|
-
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), o = new RegExp("^\\s*end\\s*$"),
|
|
3913
|
+
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), o = new RegExp("^\\s*end\\s*$"), a = new RegExp(
|
|
3985
3914
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3986
|
-
), i = /\(f"/,
|
|
3915
|
+
), i = /\(f"/, n = /\(.*\w+:\s+.+\)(?!:)$/, h = this.editor.getValue().split(`
|
|
3987
3916
|
`);
|
|
3988
|
-
for (let c of
|
|
3917
|
+
for (let c of h) {
|
|
3989
3918
|
if (c.match(t))
|
|
3990
3919
|
return "ruby";
|
|
3991
3920
|
if (c.match(e))
|
|
3992
3921
|
return "python";
|
|
3993
3922
|
if (c.match(o))
|
|
3994
3923
|
return "ruby";
|
|
3995
|
-
if (c.match(
|
|
3924
|
+
if (c.match(a) || c.match(i))
|
|
3996
3925
|
return "python";
|
|
3997
|
-
if (c.match(
|
|
3926
|
+
if (c.match(n))
|
|
3998
3927
|
return "ruby";
|
|
3999
3928
|
}
|
|
4000
3929
|
return "unknown";
|
|
@@ -4145,37 +4074,37 @@ class TestSuite(Suite):
|
|
|
4145
4074
|
}
|
|
4146
4075
|
}
|
|
4147
4076
|
}
|
|
4148
|
-
},
|
|
4077
|
+
}, 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
4078
|
key: 2,
|
|
4150
4079
|
style: { width: "40px", height: "40px" },
|
|
4151
4080
|
class: "mx-2"
|
|
4152
|
-
},
|
|
4081
|
+
}, qi = { key: 3 }, Ki = { key: 4 }, ji = {
|
|
4153
4082
|
key: 0,
|
|
4154
4083
|
id: "debug",
|
|
4155
4084
|
class: "pa-0"
|
|
4156
|
-
},
|
|
4085
|
+
}, Wi = {
|
|
4157
4086
|
key: 1,
|
|
4158
4087
|
style: { "background-color": "var(--color-background-base-default)", margin: "0px", padding: "0px" }
|
|
4159
|
-
},
|
|
4088
|
+
}, Ji = { key: 0 }, Yi = { key: 1 }, Zi = { style: { height: "200px", overflow: "hidden" } }, Xi = {
|
|
4160
4089
|
key: 0,
|
|
4161
4090
|
class: "error-message"
|
|
4162
|
-
},
|
|
4163
|
-
function
|
|
4164
|
-
const d =
|
|
4091
|
+
}, Qi = { class: "flex-grow-1" };
|
|
4092
|
+
function $i(t, e, o, a, i, n) {
|
|
4093
|
+
const d = r("top-bar"), h = r("v-icon"), c = r("v-btn"), w = r("v-snackbar"), S = r("openc3-screen"), V = r("suite-runner"), b = r("v-tooltip"), R = r("v-select"), E = r("v-text-field"), I = r("v-progress-circular"), _ = r("v-spacer"), P = r("v-badge"), G = r("v-row"), Q = r("v-card-text"), te = r("v-card"), j = r("v-list-item"), ie = r("v-divider"), U = r("v-list"), F = r("v-menu"), ue = r("pane"), X = 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"), N = 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"), C = r("v-dialog"), M = r("running-scripts"), A = r("v-sheet"), H = r("v-bottom-sheet");
|
|
4165
4094
|
return y(), z(ge, null, [
|
|
4166
|
-
o.inline ? (y(), z("div",
|
|
4167
|
-
|
|
4095
|
+
o.inline ? (y(), z("div", Wi, [
|
|
4096
|
+
s(Pe, {
|
|
4168
4097
|
modelValue: i.inlineTab,
|
|
4169
4098
|
"onUpdate:modelValue": e[16] || (e[16] = (m) => i.inlineTab = m),
|
|
4170
4099
|
density: "compact"
|
|
4171
4100
|
}, {
|
|
4172
4101
|
default: l(() => [
|
|
4173
|
-
|
|
4102
|
+
s(xe, {
|
|
4174
4103
|
value: "script",
|
|
4175
4104
|
text: "Script",
|
|
4176
4105
|
"data-test": "script-tab"
|
|
4177
4106
|
}),
|
|
4178
|
-
|
|
4107
|
+
s(xe, {
|
|
4179
4108
|
value: "messages",
|
|
4180
4109
|
text: "Messages",
|
|
4181
4110
|
"data-test": "messages-tab"
|
|
@@ -4183,16 +4112,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4183
4112
|
]),
|
|
4184
4113
|
_: 1
|
|
4185
4114
|
}, 8, ["modelValue"]),
|
|
4186
|
-
|
|
4115
|
+
s(se, {
|
|
4187
4116
|
modelValue: i.inlineTab,
|
|
4188
4117
|
"onUpdate:modelValue": e[19] || (e[19] = (m) => i.inlineTab = m)
|
|
4189
4118
|
}, {
|
|
4190
4119
|
default: l(() => [
|
|
4191
|
-
|
|
4120
|
+
s(Ce, { value: "script" }, {
|
|
4192
4121
|
default: l(() => [
|
|
4193
|
-
|
|
4122
|
+
s(G, null, {
|
|
4194
4123
|
default: l(() => [
|
|
4195
|
-
|
|
4124
|
+
s(ce, {
|
|
4196
4125
|
class: "v-col-10",
|
|
4197
4126
|
style: { margin: "15px 0px 0px 0px", padding: "0px" }
|
|
4198
4127
|
}, {
|
|
@@ -4201,50 +4130,50 @@ function is(t, e, o, r, i, s) {
|
|
|
4201
4130
|
ref: "editor",
|
|
4202
4131
|
class: "editor",
|
|
4203
4132
|
style: { height: "200px" },
|
|
4204
|
-
onContextmenu: e[17] || (e[17] = de((...m) =>
|
|
4133
|
+
onContextmenu: e[17] || (e[17] = de((...m) => n.showExecuteSelectionMenu && n.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4205
4134
|
}, null, 544)
|
|
4206
4135
|
]),
|
|
4207
4136
|
_: 1
|
|
4208
4137
|
}),
|
|
4209
|
-
|
|
4138
|
+
s(ce, {
|
|
4210
4139
|
class: "v-col-2",
|
|
4211
4140
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4212
4141
|
}, {
|
|
4213
4142
|
default: l(() => [
|
|
4214
|
-
i.startOrGoButton === "Start" ? (y(), z("div",
|
|
4215
|
-
|
|
4143
|
+
i.startOrGoButton === "Start" ? (y(), z("div", Ji, [
|
|
4144
|
+
s(c, {
|
|
4216
4145
|
class: "mx-1",
|
|
4217
4146
|
color: "primary",
|
|
4218
4147
|
text: "Start",
|
|
4219
4148
|
"data-test": "start-button",
|
|
4220
4149
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4221
4150
|
hidden: i.suiteRunner,
|
|
4222
|
-
onClick:
|
|
4151
|
+
onClick: n.startHandler
|
|
4223
4152
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4224
|
-
])) : (y(), z("div",
|
|
4225
|
-
|
|
4153
|
+
])) : (y(), z("div", Yi, [
|
|
4154
|
+
s(c, {
|
|
4226
4155
|
color: "primary",
|
|
4227
4156
|
class: "ma-2",
|
|
4228
4157
|
text: "Go",
|
|
4229
4158
|
disabled: i.startOrGoDisabled,
|
|
4230
4159
|
"data-test": "go-button",
|
|
4231
|
-
onClick:
|
|
4160
|
+
onClick: n.go
|
|
4232
4161
|
}, null, 8, ["disabled", "onClick"]),
|
|
4233
|
-
|
|
4162
|
+
s(c, {
|
|
4234
4163
|
color: "primary",
|
|
4235
4164
|
class: "ma-2",
|
|
4236
4165
|
text: i.pauseOrRetryButton,
|
|
4237
4166
|
disabled: i.pauseOrRetryDisabled,
|
|
4238
4167
|
"data-test": "pause-retry-button",
|
|
4239
|
-
onClick:
|
|
4168
|
+
onClick: n.pauseOrRetry
|
|
4240
4169
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4241
|
-
|
|
4170
|
+
s(c, {
|
|
4242
4171
|
color: "primary",
|
|
4243
4172
|
class: "ma-2",
|
|
4244
4173
|
text: "Stop",
|
|
4245
4174
|
"data-test": "stop-button",
|
|
4246
4175
|
disabled: i.stopDisabled,
|
|
4247
|
-
onClick:
|
|
4176
|
+
onClick: n.stop
|
|
4248
4177
|
}, null, 8, ["disabled", "onClick"])
|
|
4249
4178
|
]))
|
|
4250
4179
|
]),
|
|
@@ -4256,10 +4185,10 @@ function is(t, e, o, r, i, s) {
|
|
|
4256
4185
|
]),
|
|
4257
4186
|
_: 1
|
|
4258
4187
|
}),
|
|
4259
|
-
|
|
4188
|
+
s(Ce, { value: "messages" }, {
|
|
4260
4189
|
default: l(() => [
|
|
4261
|
-
x("div",
|
|
4262
|
-
|
|
4190
|
+
x("div", Zi, [
|
|
4191
|
+
s(X, {
|
|
4263
4192
|
modelValue: i.messages,
|
|
4264
4193
|
"onUpdate:modelValue": e[18] || (e[18] = (m) => i.messages = m),
|
|
4265
4194
|
"newest-on-top": i.messagesNewestOnTop,
|
|
@@ -4276,14 +4205,14 @@ function is(t, e, o, r, i, s) {
|
|
|
4276
4205
|
key: 0,
|
|
4277
4206
|
class: "d-flex flex-column overflow-hidden",
|
|
4278
4207
|
style: fe({
|
|
4279
|
-
height:
|
|
4208
|
+
height: a.containerHeight
|
|
4280
4209
|
})
|
|
4281
4210
|
}, [
|
|
4282
|
-
|
|
4283
|
-
menus:
|
|
4211
|
+
s(d, {
|
|
4212
|
+
menus: n.menus,
|
|
4284
4213
|
title: i.title
|
|
4285
4214
|
}, null, 8, ["menus", "title"]),
|
|
4286
|
-
|
|
4215
|
+
s(w, {
|
|
4287
4216
|
modelValue: i.showAlert,
|
|
4288
4217
|
"onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
|
|
4289
4218
|
absolute: "",
|
|
@@ -4293,7 +4222,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4293
4222
|
style: fe(t.classificationStyles)
|
|
4294
4223
|
}, {
|
|
4295
4224
|
actions: l(({ attrs: m }) => [
|
|
4296
|
-
|
|
4225
|
+
s(c, Y({
|
|
4297
4226
|
variant: "text",
|
|
4298
4227
|
text: "Close"
|
|
4299
4228
|
}, m, {
|
|
@@ -4301,7 +4230,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4301
4230
|
}), null, 16)
|
|
4302
4231
|
]),
|
|
4303
4232
|
default: l(() => [
|
|
4304
|
-
|
|
4233
|
+
s(h, null, {
|
|
4305
4234
|
default: l(() => [
|
|
4306
4235
|
k(" mdi-" + L(i.alertType), 1)
|
|
4307
4236
|
]),
|
|
@@ -4311,7 +4240,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4311
4240
|
]),
|
|
4312
4241
|
_: 1
|
|
4313
4242
|
}, 8, ["modelValue", "color", "style"]),
|
|
4314
|
-
|
|
4243
|
+
s(w, {
|
|
4315
4244
|
modelValue: i.showEditingToast,
|
|
4316
4245
|
"onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
|
|
4317
4246
|
absolute: "",
|
|
@@ -4321,13 +4250,13 @@ function is(t, e, o, r, i, s) {
|
|
|
4321
4250
|
color: "orange"
|
|
4322
4251
|
}, {
|
|
4323
4252
|
actions: l(({ attrs: m }) => [
|
|
4324
|
-
|
|
4253
|
+
s(c, Y({ variant: "text" }, m, {
|
|
4325
4254
|
color: "danger",
|
|
4326
4255
|
text: "Unlock",
|
|
4327
4256
|
"data-test": "unlock-button",
|
|
4328
|
-
onClick:
|
|
4257
|
+
onClick: n.confirmLocalUnlock
|
|
4329
4258
|
}), null, 16, ["onClick"]),
|
|
4330
|
-
|
|
4259
|
+
s(c, Y({
|
|
4331
4260
|
variant: "text",
|
|
4332
4261
|
text: "Dismiss"
|
|
4333
4262
|
}, m, {
|
|
@@ -4337,7 +4266,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4337
4266
|
}), null, 16)
|
|
4338
4267
|
]),
|
|
4339
4268
|
default: l(() => [
|
|
4340
|
-
|
|
4269
|
+
s(h, null, {
|
|
4341
4270
|
default: l(() => [...e[45] || (e[45] = [
|
|
4342
4271
|
k(" mdi-pencil-off ", -1)
|
|
4343
4272
|
])]),
|
|
@@ -4347,16 +4276,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4347
4276
|
]),
|
|
4348
4277
|
_: 1
|
|
4349
4278
|
}, 8, ["modelValue", "style"]),
|
|
4350
|
-
x("div",
|
|
4351
|
-
(y(!0), z(ge, null,
|
|
4352
|
-
id:
|
|
4279
|
+
x("div", zi, [
|
|
4280
|
+
(y(!0), z(ge, null, Ke(i.screens, (m) => (y(), z("div", {
|
|
4281
|
+
id: n.screenId(m.id),
|
|
4353
4282
|
key: m.id,
|
|
4354
4283
|
ref_for: !0,
|
|
4355
4284
|
ref: "gridItem",
|
|
4356
4285
|
class: "item"
|
|
4357
4286
|
}, [
|
|
4358
|
-
x("div",
|
|
4359
|
-
|
|
4287
|
+
x("div", Ai, [
|
|
4288
|
+
s(S, {
|
|
4360
4289
|
target: m.target,
|
|
4361
4290
|
screen: m.screen,
|
|
4362
4291
|
definition: m.definition,
|
|
@@ -4368,32 +4297,32 @@ function is(t, e, o, r, i, s) {
|
|
|
4368
4297
|
"min-z": 3,
|
|
4369
4298
|
"fix-floated": !0,
|
|
4370
4299
|
count: m.count,
|
|
4371
|
-
onCloseScreen: (W) =>
|
|
4372
|
-
onDeleteScreen: (W) =>
|
|
4300
|
+
onCloseScreen: (W) => n.closeScreen(m.id),
|
|
4301
|
+
onDeleteScreen: (W) => n.closeScreen(m.id)
|
|
4373
4302
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4374
4303
|
])
|
|
4375
|
-
], 8,
|
|
4304
|
+
], 8, Li))), 128))
|
|
4376
4305
|
]),
|
|
4377
|
-
|
|
4306
|
+
s(te, { class: "flex-shrink-0" }, {
|
|
4378
4307
|
default: l(() => [
|
|
4379
|
-
|
|
4308
|
+
s(Q, null, {
|
|
4380
4309
|
default: l(() => [
|
|
4381
4310
|
i.suiteRunner ? (y(), T(V, {
|
|
4382
4311
|
key: 0,
|
|
4383
4312
|
class: "suite-runner",
|
|
4384
4313
|
"suite-map": i.suiteMap,
|
|
4385
4314
|
"disable-buttons": i.disableSuiteButtons,
|
|
4386
|
-
filename:
|
|
4387
|
-
onButton:
|
|
4388
|
-
onLoaded:
|
|
4389
|
-
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) :
|
|
4390
|
-
x("div",
|
|
4391
|
-
|
|
4315
|
+
filename: n.fullFilename,
|
|
4316
|
+
onButton: n.suiteRunnerButton,
|
|
4317
|
+
onLoaded: n.doResize
|
|
4318
|
+
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : D("", !0),
|
|
4319
|
+
x("div", Fi, [
|
|
4320
|
+
s(G, {
|
|
4392
4321
|
"no-gutters": "",
|
|
4393
4322
|
justify: "space-between"
|
|
4394
4323
|
}, {
|
|
4395
4324
|
default: l(() => [
|
|
4396
|
-
i.showDisconnect ? (y(), T(
|
|
4325
|
+
i.showDisconnect ? (y(), T(h, {
|
|
4397
4326
|
key: 0,
|
|
4398
4327
|
class: "mt-2",
|
|
4399
4328
|
color: "red"
|
|
@@ -4402,9 +4331,9 @@ function is(t, e, o, r, i, s) {
|
|
|
4402
4331
|
k(" mdi-connection ", -1)
|
|
4403
4332
|
])]),
|
|
4404
4333
|
_: 1
|
|
4405
|
-
})) :
|
|
4406
|
-
x("div",
|
|
4407
|
-
|
|
4334
|
+
})) : D("", !0),
|
|
4335
|
+
x("div", Bi, [
|
|
4336
|
+
s(b, {
|
|
4408
4337
|
"open-delay": 600,
|
|
4409
4338
|
location: "top"
|
|
4410
4339
|
}, {
|
|
@@ -4413,38 +4342,38 @@ function is(t, e, o, r, i, s) {
|
|
|
4413
4342
|
icon: "mdi-arrow-left",
|
|
4414
4343
|
variant: "text",
|
|
4415
4344
|
density: "compact",
|
|
4416
|
-
onClick:
|
|
4345
|
+
onClick: n.backToNewScript
|
|
4417
4346
|
}), null, 16, ["onClick"])) : (y(), T(c, Y({ key: 0 }, m, {
|
|
4418
4347
|
icon: "mdi-cached",
|
|
4419
4348
|
variant: "text",
|
|
4420
4349
|
density: "compact",
|
|
4421
4350
|
disabled: i.filename === t.NEW_FILENAME,
|
|
4422
4351
|
"aria-label": "Reload File",
|
|
4423
|
-
onClick:
|
|
4352
|
+
onClick: n.reloadFile
|
|
4424
4353
|
}), null, 16, ["disabled", "onClick"]))
|
|
4425
4354
|
]),
|
|
4426
4355
|
default: l(() => [
|
|
4427
|
-
i.scriptId ? (y(), z("span",
|
|
4356
|
+
i.scriptId ? (y(), z("span", Hi, " Back to New Script ")) : (y(), z("span", Ni, " Reload File "))
|
|
4428
4357
|
]),
|
|
4429
4358
|
_: 1
|
|
4430
4359
|
})
|
|
4431
4360
|
]),
|
|
4432
|
-
|
|
4361
|
+
s(b, {
|
|
4433
4362
|
location: "bottom",
|
|
4434
4363
|
text: i.filenameSelect,
|
|
4435
4364
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4436
4365
|
}, {
|
|
4437
4366
|
activator: l(({ props: m }) => [
|
|
4438
4367
|
x("div", Y(m, { style: { width: "32rem" } }), [
|
|
4439
|
-
|
|
4368
|
+
s(R, {
|
|
4440
4369
|
id: "filename",
|
|
4441
4370
|
modelValue: i.filenameSelect,
|
|
4442
4371
|
"onUpdate:modelValue": [
|
|
4443
4372
|
e[4] || (e[4] = (W) => i.filenameSelect = W),
|
|
4444
|
-
|
|
4373
|
+
n.fileNameChanged
|
|
4445
4374
|
],
|
|
4446
|
-
items:
|
|
4447
|
-
disabled:
|
|
4375
|
+
items: n.fileList,
|
|
4376
|
+
disabled: n.fileList.length <= 1,
|
|
4448
4377
|
label: "Filename",
|
|
4449
4378
|
"data-test": "filename",
|
|
4450
4379
|
density: "compact",
|
|
@@ -4455,7 +4384,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4455
4384
|
]),
|
|
4456
4385
|
_: 1
|
|
4457
4386
|
}, 8, ["text", "disabled"]),
|
|
4458
|
-
|
|
4387
|
+
s(E, {
|
|
4459
4388
|
modelValue: i.scriptId,
|
|
4460
4389
|
"onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
|
|
4461
4390
|
label: "Script ID",
|
|
@@ -4467,12 +4396,12 @@ function is(t, e, o, r, i, s) {
|
|
|
4467
4396
|
readonly: "",
|
|
4468
4397
|
"hide-details": ""
|
|
4469
4398
|
}, null, 8, ["modelValue"]),
|
|
4470
|
-
|
|
4471
|
-
modelValue:
|
|
4472
|
-
"onUpdate:modelValue": e[6] || (e[6] = (m) =>
|
|
4399
|
+
s(E, {
|
|
4400
|
+
modelValue: n.stateTimer,
|
|
4401
|
+
"onUpdate:modelValue": e[6] || (e[6] = (m) => n.stateTimer = m),
|
|
4473
4402
|
label: "Script State",
|
|
4474
4403
|
"data-test": "state",
|
|
4475
|
-
class:
|
|
4404
|
+
class: qe(["shrink", "ml-2", "script-state", n.stateColorClass]),
|
|
4476
4405
|
style: { "max-width": "120px" },
|
|
4477
4406
|
density: "compact",
|
|
4478
4407
|
variant: "outlined",
|
|
@@ -4485,16 +4414,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4485
4414
|
class: "mx-2",
|
|
4486
4415
|
indeterminate: "",
|
|
4487
4416
|
color: "primary"
|
|
4488
|
-
})) : (y(), z("div",
|
|
4489
|
-
|
|
4490
|
-
i.startOrGoButton === "Start" ? (y(), z("div",
|
|
4491
|
-
i.overridesCount > 0 ? (y(), T(
|
|
4417
|
+
})) : (y(), z("div", Gi)),
|
|
4418
|
+
s(_),
|
|
4419
|
+
i.startOrGoButton === "Start" ? (y(), z("div", qi, [
|
|
4420
|
+
i.overridesCount > 0 ? (y(), T(b, {
|
|
4492
4421
|
key: 0,
|
|
4493
4422
|
"open-delay": 600,
|
|
4494
4423
|
location: "top"
|
|
4495
4424
|
}, {
|
|
4496
4425
|
activator: l(({ props: m }) => [
|
|
4497
|
-
|
|
4426
|
+
s(c, Y(m, {
|
|
4498
4427
|
class: "mr-4",
|
|
4499
4428
|
icon: "",
|
|
4500
4429
|
variant: "text",
|
|
@@ -4504,13 +4433,13 @@ function is(t, e, o, r, i, s) {
|
|
|
4504
4433
|
onClick: e[7] || (e[7] = (W) => i.showOverrides = !i.showOverrides)
|
|
4505
4434
|
}), {
|
|
4506
4435
|
default: l(() => [
|
|
4507
|
-
|
|
4436
|
+
s(P, {
|
|
4508
4437
|
content: i.overridesCount > 99 ? "99+" : i.overridesCount,
|
|
4509
4438
|
floating: "",
|
|
4510
4439
|
color: "primary"
|
|
4511
4440
|
}, {
|
|
4512
4441
|
default: l(() => [
|
|
4513
|
-
|
|
4442
|
+
s(h, { icon: "mdi-application-cog-outline" })
|
|
4514
4443
|
]),
|
|
4515
4444
|
_: 1
|
|
4516
4445
|
}, 8, ["content"])
|
|
@@ -4522,13 +4451,13 @@ function is(t, e, o, r, i, s) {
|
|
|
4522
4451
|
x("span", null, " TLM Overrides (" + L(i.overridesCount) + ") ", 1)
|
|
4523
4452
|
]),
|
|
4524
4453
|
_: 1
|
|
4525
|
-
})) :
|
|
4526
|
-
|
|
4454
|
+
})) : D("", !0),
|
|
4455
|
+
s(b, {
|
|
4527
4456
|
"open-delay": 600,
|
|
4528
4457
|
location: "top"
|
|
4529
4458
|
}, {
|
|
4530
4459
|
activator: l(({ props: m }) => [
|
|
4531
|
-
|
|
4460
|
+
s(c, Y(m, {
|
|
4532
4461
|
class: "mr-2",
|
|
4533
4462
|
icon: "",
|
|
4534
4463
|
variant: "text",
|
|
@@ -4539,14 +4468,14 @@ function is(t, e, o, r, i, s) {
|
|
|
4539
4468
|
onClick: e[9] || (e[9] = (W) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
|
|
4540
4469
|
}), {
|
|
4541
4470
|
default: l(() => [
|
|
4542
|
-
|
|
4543
|
-
modelValue:
|
|
4544
|
-
"onUpdate:modelValue": e[8] || (e[8] = (W) =>
|
|
4471
|
+
s(P, {
|
|
4472
|
+
modelValue: n.environmentModified,
|
|
4473
|
+
"onUpdate:modelValue": e[8] || (e[8] = (W) => n.environmentModified = W),
|
|
4545
4474
|
floating: "",
|
|
4546
4475
|
dot: ""
|
|
4547
4476
|
}, {
|
|
4548
4477
|
default: l(() => [
|
|
4549
|
-
|
|
4478
|
+
s(h, { icon: "mdi-application-variable" })
|
|
4550
4479
|
]),
|
|
4551
4480
|
_: 1
|
|
4552
4481
|
}, 8, ["modelValue"])
|
|
@@ -4557,45 +4486,45 @@ function is(t, e, o, r, i, s) {
|
|
|
4557
4486
|
default: l(() => [
|
|
4558
4487
|
x("span", null, [
|
|
4559
4488
|
e[47] || (e[47] = k(" Script Environment ", -1)),
|
|
4560
|
-
|
|
4489
|
+
n.environmentModified ? (y(), z(ge, { key: 0 }, [
|
|
4561
4490
|
k(" (modified) ")
|
|
4562
|
-
], 64)) :
|
|
4491
|
+
], 64)) : D("", !0)
|
|
4563
4492
|
])
|
|
4564
4493
|
]),
|
|
4565
4494
|
_: 1
|
|
4566
4495
|
}),
|
|
4567
|
-
|
|
4496
|
+
s(c, {
|
|
4568
4497
|
class: "mx-1",
|
|
4569
4498
|
color: "primary",
|
|
4570
4499
|
text: "Start",
|
|
4571
4500
|
"data-test": "start-button",
|
|
4572
4501
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4573
4502
|
hidden: i.suiteRunner,
|
|
4574
|
-
onClick:
|
|
4503
|
+
onClick: n.startHandler
|
|
4575
4504
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4576
|
-
])) : (y(), z("div",
|
|
4577
|
-
|
|
4505
|
+
])) : (y(), z("div", Ki, [
|
|
4506
|
+
s(c, {
|
|
4578
4507
|
color: "primary",
|
|
4579
4508
|
class: "mr-2",
|
|
4580
4509
|
text: "Go",
|
|
4581
4510
|
disabled: i.startOrGoDisabled,
|
|
4582
4511
|
"data-test": "go-button",
|
|
4583
|
-
onClick:
|
|
4512
|
+
onClick: n.go
|
|
4584
4513
|
}, null, 8, ["disabled", "onClick"]),
|
|
4585
|
-
|
|
4514
|
+
s(c, {
|
|
4586
4515
|
color: "primary",
|
|
4587
4516
|
class: "mr-2",
|
|
4588
4517
|
text: i.pauseOrRetryButton,
|
|
4589
4518
|
disabled: i.pauseOrRetryDisabled,
|
|
4590
4519
|
"data-test": "pause-retry-button",
|
|
4591
|
-
onClick:
|
|
4520
|
+
onClick: n.pauseOrRetry
|
|
4592
4521
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4593
|
-
|
|
4522
|
+
s(c, {
|
|
4594
4523
|
color: "primary",
|
|
4595
4524
|
text: "Stop",
|
|
4596
4525
|
"data-test": "stop-button",
|
|
4597
4526
|
disabled: i.stopDisabled,
|
|
4598
|
-
onClick:
|
|
4527
|
+
onClick: n.stop
|
|
4599
4528
|
}, null, 8, ["disabled", "onClick"])
|
|
4600
4529
|
]))
|
|
4601
4530
|
]),
|
|
@@ -4608,18 +4537,18 @@ function is(t, e, o, r, i, s) {
|
|
|
4608
4537
|
]),
|
|
4609
4538
|
_: 1
|
|
4610
4539
|
}),
|
|
4611
|
-
|
|
4540
|
+
s(Ue, {
|
|
4612
4541
|
horizontal: "",
|
|
4613
4542
|
class: "flex-grow-1 overflow-hidden",
|
|
4614
4543
|
onResize: e[15] || (e[15] = ({ prevPane: m }) => i.editorBoxSize = m.size)
|
|
4615
4544
|
}, {
|
|
4616
4545
|
default: l(() => [
|
|
4617
|
-
|
|
4546
|
+
s(ue, {
|
|
4618
4547
|
class: "editorbox",
|
|
4619
4548
|
size: i.editorBoxSize
|
|
4620
4549
|
}, {
|
|
4621
4550
|
default: l(() => [
|
|
4622
|
-
|
|
4551
|
+
s(w, {
|
|
4623
4552
|
modelValue: i.showSave,
|
|
4624
4553
|
"onUpdate:modelValue": e[10] || (e[10] = (m) => i.showSave = m),
|
|
4625
4554
|
absolute: "",
|
|
@@ -4636,45 +4565,45 @@ function is(t, e, o, r, i, s) {
|
|
|
4636
4565
|
x("pre", {
|
|
4637
4566
|
ref: "editor",
|
|
4638
4567
|
class: "editor",
|
|
4639
|
-
onContextmenu: e[11] || (e[11] = de((...m) =>
|
|
4568
|
+
onContextmenu: e[11] || (e[11] = de((...m) => n.showExecuteSelectionMenu && n.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4640
4569
|
}, null, 544),
|
|
4641
|
-
|
|
4570
|
+
s(F, {
|
|
4642
4571
|
modelValue: i.executeSelectionMenu,
|
|
4643
4572
|
"onUpdate:modelValue": e[12] || (e[12] = (m) => i.executeSelectionMenu = m),
|
|
4644
4573
|
target: [i.menuX, i.menuY]
|
|
4645
4574
|
}, {
|
|
4646
4575
|
default: l(() => [
|
|
4647
|
-
|
|
4576
|
+
s(U, null, {
|
|
4648
4577
|
default: l(() => [
|
|
4649
|
-
|
|
4578
|
+
s(j, {
|
|
4650
4579
|
title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
|
|
4651
|
-
onClick:
|
|
4580
|
+
onClick: n.openCommandEditor
|
|
4652
4581
|
}, null, 8, ["title", "onClick"]),
|
|
4653
|
-
|
|
4654
|
-
|
|
4582
|
+
s(ie),
|
|
4583
|
+
s(j, {
|
|
4655
4584
|
title: "Execute Selection",
|
|
4656
|
-
onClick:
|
|
4585
|
+
onClick: n.executeSelection
|
|
4657
4586
|
}, null, 8, ["onClick"]),
|
|
4658
4587
|
i.scriptId ? (y(), T(j, {
|
|
4659
4588
|
key: 0,
|
|
4660
4589
|
title: "Goto Line",
|
|
4661
|
-
onClick:
|
|
4662
|
-
}, null, 8, ["onClick"])) :
|
|
4663
|
-
i.scriptId ?
|
|
4590
|
+
onClick: n.runFromCursor
|
|
4591
|
+
}, null, 8, ["onClick"])) : D("", !0),
|
|
4592
|
+
i.scriptId ? D("", !0) : (y(), T(j, {
|
|
4664
4593
|
key: 1,
|
|
4665
4594
|
title: "Run From Line",
|
|
4666
|
-
onClick:
|
|
4595
|
+
onClick: n.runFromCursor
|
|
4667
4596
|
}, null, 8, ["onClick"])),
|
|
4668
|
-
i.scriptId ?
|
|
4597
|
+
i.scriptId ? D("", !0) : (y(), T(j, {
|
|
4669
4598
|
key: 2,
|
|
4670
4599
|
title: "Clear Local Breakpoints",
|
|
4671
|
-
onClick:
|
|
4600
|
+
onClick: n.clearBreakpoints
|
|
4672
4601
|
}, null, 8, ["onClick"])),
|
|
4673
|
-
|
|
4674
|
-
|
|
4602
|
+
s(ie),
|
|
4603
|
+
s(j, {
|
|
4675
4604
|
title: "Toggle Vim mode",
|
|
4676
4605
|
"prepend-icon": "extras:vim",
|
|
4677
|
-
onClick:
|
|
4606
|
+
onClick: n.toggleVimMode
|
|
4678
4607
|
}, null, 8, ["onClick"])
|
|
4679
4608
|
]),
|
|
4680
4609
|
_: 1
|
|
@@ -4685,16 +4614,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4685
4614
|
]),
|
|
4686
4615
|
_: 1
|
|
4687
4616
|
}, 8, ["size"]),
|
|
4688
|
-
|
|
4617
|
+
s(ue, {
|
|
4689
4618
|
id: "messages",
|
|
4690
4619
|
class: "mt-2",
|
|
4691
4620
|
size: 100 - i.editorBoxSize
|
|
4692
4621
|
}, {
|
|
4693
4622
|
default: l(() => [
|
|
4694
|
-
i.showDebug ? (y(), z("div",
|
|
4695
|
-
|
|
4623
|
+
i.showDebug ? (y(), z("div", ji, [
|
|
4624
|
+
s(G, { "no-gutters": "" }, {
|
|
4696
4625
|
default: l(() => [
|
|
4697
|
-
|
|
4626
|
+
s(c, {
|
|
4698
4627
|
color: "primary",
|
|
4699
4628
|
style: { width: "100px" },
|
|
4700
4629
|
class: "mr-4",
|
|
@@ -4702,9 +4631,9 @@ function is(t, e, o, r, i, s) {
|
|
|
4702
4631
|
"append-icon": "mdi-step-forward",
|
|
4703
4632
|
disabled: !i.scriptId,
|
|
4704
4633
|
"data-test": "step-button",
|
|
4705
|
-
onClick:
|
|
4634
|
+
onClick: n.step
|
|
4706
4635
|
}, null, 8, ["disabled", "onClick"]),
|
|
4707
|
-
|
|
4636
|
+
s(E, {
|
|
4708
4637
|
ref: "debug",
|
|
4709
4638
|
modelValue: i.debug,
|
|
4710
4639
|
"onUpdate:modelValue": e[13] || (e[13] = (m) => i.debug = m),
|
|
@@ -4714,17 +4643,17 @@ function is(t, e, o, r, i, s) {
|
|
|
4714
4643
|
"hide-details": "",
|
|
4715
4644
|
label: "Debug",
|
|
4716
4645
|
"data-test": "debug-text",
|
|
4717
|
-
onKeydown:
|
|
4646
|
+
onKeydown: n.debugKeydown
|
|
4718
4647
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
4719
4648
|
]),
|
|
4720
4649
|
_: 1
|
|
4721
4650
|
})
|
|
4722
|
-
])) :
|
|
4723
|
-
|
|
4651
|
+
])) : D("", !0),
|
|
4652
|
+
s(X, {
|
|
4724
4653
|
id: "log-messages",
|
|
4725
4654
|
modelValue: i.messages,
|
|
4726
4655
|
"onUpdate:modelValue": e[14] || (e[14] = (m) => i.messages = m),
|
|
4727
|
-
onSort:
|
|
4656
|
+
onSort: n.messageSortOrder
|
|
4728
4657
|
}, null, 8, ["modelValue", "onSort"])
|
|
4729
4658
|
]),
|
|
4730
4659
|
_: 1
|
|
@@ -4739,10 +4668,10 @@ function is(t, e, o, r, i, s) {
|
|
|
4739
4668
|
"onUpdate:modelValue": e[20] || (e[20] = (m) => i.fileOpen = m),
|
|
4740
4669
|
type: "open",
|
|
4741
4670
|
"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) =>
|
|
4745
|
-
}, null, 8, ["modelValue"])) :
|
|
4671
|
+
onFile: e[21] || (e[21] = (m) => n.setFile(m)),
|
|
4672
|
+
onError: e[22] || (e[22] = (m) => n.setError(m)),
|
|
4673
|
+
onClearTemp: e[23] || (e[23] = (m) => n.clearTemp(m))
|
|
4674
|
+
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4746
4675
|
i.showSaveAs ? (y(), T(Ve, {
|
|
4747
4676
|
key: 3,
|
|
4748
4677
|
modelValue: i.showSaveAs,
|
|
@@ -4750,16 +4679,16 @@ function is(t, e, o, r, i, s) {
|
|
|
4750
4679
|
type: "save",
|
|
4751
4680
|
"api-url": "/script-api/scripts",
|
|
4752
4681
|
"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) =>
|
|
4757
|
-
}, null, 8, ["modelValue", "input-filename"])) :
|
|
4758
|
-
i.showEnvironment ? (y(), T(
|
|
4682
|
+
"input-filename": n.filenameOrBlank,
|
|
4683
|
+
onFilename: e[25] || (e[25] = (m) => n.saveAsFilename(m)),
|
|
4684
|
+
onError: e[26] || (e[26] = (m) => n.setError(m)),
|
|
4685
|
+
onClearTemp: e[27] || (e[27] = (m) => n.clearTemp(m))
|
|
4686
|
+
}, null, 8, ["modelValue", "input-filename"])) : D("", !0),
|
|
4687
|
+
i.showEnvironment ? (y(), T(De, {
|
|
4759
4688
|
key: 4,
|
|
4760
4689
|
modelValue: i.showEnvironment,
|
|
4761
4690
|
"onUpdate:modelValue": e[28] || (e[28] = (m) => i.showEnvironment = m)
|
|
4762
|
-
}, null, 8, ["modelValue"])) :
|
|
4691
|
+
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4763
4692
|
i.ask.show ? (y(), T(ze, {
|
|
4764
4693
|
key: 5,
|
|
4765
4694
|
modelValue: i.ask.show,
|
|
@@ -4769,7 +4698,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4769
4698
|
password: i.ask.password,
|
|
4770
4699
|
"answer-required": i.ask.answerRequired,
|
|
4771
4700
|
onResponse: i.ask.callback
|
|
4772
|
-
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) :
|
|
4701
|
+
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : D("", !0),
|
|
4773
4702
|
i.file.show ? (y(), T(me, {
|
|
4774
4703
|
key: 6,
|
|
4775
4704
|
modelValue: i.file.show,
|
|
@@ -4778,8 +4707,8 @@ function is(t, e, o, r, i, s) {
|
|
|
4778
4707
|
message: i.file.message,
|
|
4779
4708
|
multiple: i.file.multiple,
|
|
4780
4709
|
filter: i.file.filter,
|
|
4781
|
-
onResponse:
|
|
4782
|
-
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) :
|
|
4710
|
+
onResponse: n.fileDialogCallback
|
|
4711
|
+
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : D("", !0),
|
|
4783
4712
|
i.information.show ? (y(), T(Le, {
|
|
4784
4713
|
key: 7,
|
|
4785
4714
|
modelValue: i.information.show,
|
|
@@ -4787,7 +4716,7 @@ function is(t, e, o, r, i, s) {
|
|
|
4787
4716
|
title: i.information.title,
|
|
4788
4717
|
text: i.information.text,
|
|
4789
4718
|
width: i.information.width
|
|
4790
|
-
}, null, 8, ["modelValue", "title", "text", "width"])) :
|
|
4719
|
+
}, null, 8, ["modelValue", "title", "text", "width"])) : D("", !0),
|
|
4791
4720
|
i.inputMetadata.show ? (y(), T(Ae, {
|
|
4792
4721
|
key: 8,
|
|
4793
4722
|
modelValue: i.inputMetadata.show,
|
|
@@ -4796,12 +4725,12 @@ function is(t, e, o, r, i, s) {
|
|
|
4796
4725
|
"time-zone": i.timeZone,
|
|
4797
4726
|
"new-metadata": "",
|
|
4798
4727
|
onClose: i.inputMetadata.callback
|
|
4799
|
-
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) :
|
|
4728
|
+
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : D("", !0),
|
|
4800
4729
|
i.showOverrides ? (y(), T(Fe, {
|
|
4801
4730
|
key: 9,
|
|
4802
4731
|
modelValue: i.showOverrides,
|
|
4803
4732
|
"onUpdate:modelValue": e[33] || (e[33] = (m) => i.showOverrides = m)
|
|
4804
|
-
}, null, 8, ["modelValue"])) :
|
|
4733
|
+
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4805
4734
|
i.prompt.show ? (y(), T(pe, {
|
|
4806
4735
|
key: 10,
|
|
4807
4736
|
modelValue: i.prompt.show,
|
|
@@ -4814,63 +4743,63 @@ function is(t, e, o, r, i, s) {
|
|
|
4814
4743
|
layout: i.prompt.layout,
|
|
4815
4744
|
multiple: i.prompt.multiple,
|
|
4816
4745
|
onResponse: i.prompt.callback
|
|
4817
|
-
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) :
|
|
4746
|
+
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : D("", !0),
|
|
4818
4747
|
i.results.show ? (y(), T(N, {
|
|
4819
4748
|
key: 11,
|
|
4820
4749
|
modelValue: i.results.show,
|
|
4821
4750
|
"onUpdate:modelValue": e[35] || (e[35] = (m) => i.results.show = m),
|
|
4822
4751
|
text: i.results.text
|
|
4823
|
-
}, null, 8, ["modelValue", "text"])) :
|
|
4752
|
+
}, null, 8, ["modelValue", "text"])) : D("", !0),
|
|
4824
4753
|
i.scriptEnvironment.show ? (y(), T(Be, {
|
|
4825
4754
|
key: 12,
|
|
4826
4755
|
modelValue: i.scriptEnvironment.show,
|
|
4827
4756
|
"onUpdate:modelValue": e[36] || (e[36] = (m) => i.scriptEnvironment.show = m),
|
|
4828
4757
|
"input-environment": i.scriptEnvironment.env,
|
|
4829
|
-
onEnvironment:
|
|
4830
|
-
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) :
|
|
4831
|
-
|
|
4758
|
+
onEnvironment: n.environmentHandler
|
|
4759
|
+
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : D("", !0),
|
|
4760
|
+
s(u, {
|
|
4832
4761
|
modelValue: i.showSuiteError,
|
|
4833
4762
|
"onUpdate:modelValue": e[37] || (e[37] = (m) => i.showSuiteError = m),
|
|
4834
4763
|
title: "Suite Analysis Error",
|
|
4835
4764
|
text: i.suiteError,
|
|
4836
4765
|
width: 1e3
|
|
4837
4766
|
}, null, 8, ["modelValue", "text"]),
|
|
4838
|
-
|
|
4767
|
+
s(p, {
|
|
4839
4768
|
modelValue: i.displayCriticalCmd,
|
|
4840
4769
|
"onUpdate:modelValue": e[38] || (e[38] = (m) => i.displayCriticalCmd = m),
|
|
4841
4770
|
uuid: i.criticalCmdUuid,
|
|
4842
4771
|
"cmd-string": i.criticalCmdString,
|
|
4843
4772
|
"cmd-user": i.criticalCmdUser,
|
|
4844
4773
|
persistent: !0,
|
|
4845
|
-
onStatus:
|
|
4774
|
+
onStatus: n.promptDialogCallback
|
|
4846
4775
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4847
|
-
|
|
4776
|
+
s(C, {
|
|
4848
4777
|
modelValue: i.commandEditor.show,
|
|
4849
4778
|
"onUpdate:modelValue": e[42] || (e[42] = (m) => i.commandEditor.show = m),
|
|
4850
4779
|
"max-width": "1200",
|
|
4851
4780
|
persistent: "",
|
|
4852
4781
|
scrollable: "",
|
|
4853
|
-
onKeydown: Se(
|
|
4782
|
+
onKeydown: Se(n.closeCommandDialog, ["esc"])
|
|
4854
4783
|
}, {
|
|
4855
4784
|
default: l(() => [
|
|
4856
|
-
|
|
4785
|
+
s(te, null, {
|
|
4857
4786
|
default: l(() => [
|
|
4858
|
-
|
|
4787
|
+
s(v, { class: "d-flex align-center" }, {
|
|
4859
4788
|
default: l(() => [
|
|
4860
4789
|
e[49] || (e[49] = x("span", null, "Insert Command", -1)),
|
|
4861
|
-
|
|
4862
|
-
|
|
4790
|
+
s(_),
|
|
4791
|
+
s(c, {
|
|
4863
4792
|
icon: "mdi-close",
|
|
4864
4793
|
variant: "text",
|
|
4865
|
-
onClick:
|
|
4794
|
+
onClick: n.closeCommandDialog
|
|
4866
4795
|
}, null, 8, ["onClick"])
|
|
4867
4796
|
]),
|
|
4868
4797
|
_: 1
|
|
4869
4798
|
}),
|
|
4870
|
-
|
|
4799
|
+
s(Q, { class: "pa-0" }, {
|
|
4871
4800
|
default: l(() => [
|
|
4872
|
-
i.commandEditor.dialogError ? (y(), z("div",
|
|
4873
|
-
|
|
4801
|
+
i.commandEditor.dialogError ? (y(), z("div", Xi, [
|
|
4802
|
+
s(h, {
|
|
4874
4803
|
class: "mr-2",
|
|
4875
4804
|
color: "error"
|
|
4876
4805
|
}, {
|
|
@@ -4879,8 +4808,8 @@ function is(t, e, o, r, i, s) {
|
|
|
4879
4808
|
])]),
|
|
4880
4809
|
_: 1
|
|
4881
4810
|
}),
|
|
4882
|
-
x("span",
|
|
4883
|
-
|
|
4811
|
+
x("span", Qi, L(i.commandEditor.dialogError), 1),
|
|
4812
|
+
s(c, {
|
|
4884
4813
|
icon: "mdi-close",
|
|
4885
4814
|
size: "small",
|
|
4886
4815
|
variant: "text",
|
|
@@ -4888,35 +4817,35 @@ function is(t, e, o, r, i, s) {
|
|
|
4888
4817
|
class: "ml-2",
|
|
4889
4818
|
onClick: e[39] || (e[39] = (m) => i.commandEditor.dialogError = null)
|
|
4890
4819
|
})
|
|
4891
|
-
])) :
|
|
4892
|
-
|
|
4820
|
+
])) : D("", !0),
|
|
4821
|
+
s(f, {
|
|
4893
4822
|
ref: "commandEditor",
|
|
4894
4823
|
"initial-target-name": i.commandEditor.targetName,
|
|
4895
4824
|
"initial-packet-name": i.commandEditor.packetName,
|
|
4896
4825
|
"cmd-string": i.commandEditor.cmdString,
|
|
4897
4826
|
"send-disabled": !1,
|
|
4898
4827
|
"show-command-button": !1,
|
|
4899
|
-
onBuildCmd: e[40] || (e[40] = (m) =>
|
|
4828
|
+
onBuildCmd: e[40] || (e[40] = (m) => n.insertCommand(m))
|
|
4900
4829
|
}, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
|
|
4901
4830
|
]),
|
|
4902
4831
|
_: 1
|
|
4903
4832
|
}),
|
|
4904
|
-
|
|
4833
|
+
s(g, null, {
|
|
4905
4834
|
default: l(() => [
|
|
4906
|
-
|
|
4907
|
-
|
|
4835
|
+
s(_),
|
|
4836
|
+
s(c, {
|
|
4908
4837
|
variant: "outlined",
|
|
4909
|
-
onClick:
|
|
4838
|
+
onClick: n.closeCommandDialog
|
|
4910
4839
|
}, {
|
|
4911
4840
|
default: l(() => [...e[51] || (e[51] = [
|
|
4912
4841
|
k(" Cancel ", -1)
|
|
4913
4842
|
])]),
|
|
4914
4843
|
_: 1
|
|
4915
4844
|
}, 8, ["onClick"]),
|
|
4916
|
-
|
|
4845
|
+
s(c, {
|
|
4917
4846
|
color: "primary",
|
|
4918
4847
|
variant: "flat",
|
|
4919
|
-
onClick: e[41] || (e[41] = (m) =>
|
|
4848
|
+
onClick: e[41] || (e[41] = (m) => n.insertCommand())
|
|
4920
4849
|
}, {
|
|
4921
4850
|
default: l(() => [...e[52] || (e[52] = [
|
|
4922
4851
|
k(" Insert Command ", -1)
|
|
@@ -4932,21 +4861,21 @@ function is(t, e, o, r, i, s) {
|
|
|
4932
4861
|
]),
|
|
4933
4862
|
_: 1
|
|
4934
4863
|
}, 8, ["modelValue", "onKeydown"]),
|
|
4935
|
-
|
|
4864
|
+
s(H, {
|
|
4936
4865
|
modelValue: i.showScripts,
|
|
4937
4866
|
"onUpdate:modelValue": e[44] || (e[44] = (m) => i.showScripts = m)
|
|
4938
4867
|
}, {
|
|
4939
4868
|
default: l(() => [
|
|
4940
|
-
|
|
4869
|
+
s(A, { class: "pb-11 pt-5 px-5" }, {
|
|
4941
4870
|
default: l(() => [
|
|
4942
4871
|
i.showScripts ? (y(), T(M, {
|
|
4943
4872
|
key: 0,
|
|
4944
4873
|
"connect-in-new-tab": !!i.fileModified,
|
|
4945
|
-
onDisconnect:
|
|
4874
|
+
onDisconnect: n.scriptDisconnect,
|
|
4946
4875
|
onClose: e[43] || (e[43] = () => {
|
|
4947
4876
|
i.showScripts = !1;
|
|
4948
4877
|
})
|
|
4949
|
-
}, null, 8, ["connect-in-new-tab", "onDisconnect"])) :
|
|
4878
|
+
}, null, 8, ["connect-in-new-tab", "onDisconnect"])) : D("", !0)
|
|
4950
4879
|
]),
|
|
4951
4880
|
_: 1
|
|
4952
4881
|
})
|
|
@@ -4955,11 +4884,11 @@ function is(t, e, o, r, i, s) {
|
|
|
4955
4884
|
}, 8, ["modelValue"])
|
|
4956
4885
|
], 64);
|
|
4957
4886
|
}
|
|
4958
|
-
const
|
|
4887
|
+
const bs = /* @__PURE__ */ K(Di, [["render", $i], ["__scopeId", "data-v-98e77f42"]]);
|
|
4959
4888
|
export {
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4889
|
+
Lt as RunningScripts,
|
|
4890
|
+
Bt as ScriptLogMessages,
|
|
4891
|
+
bs as ScriptRunner,
|
|
4892
|
+
Mi as SuiteRunner
|
|
4964
4893
|
};
|
|
4965
4894
|
//# sourceMappingURL=scriptrunner.js.map
|