@openc3/vue-common 6.6.0 → 6.8.0
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-Bb_Ldxq7.cjs → ArrayWidget-DaONH8Iv.cjs} +2 -2
- package/dist/{ArrayWidget-Bb_Ldxq7.cjs.map → ArrayWidget-DaONH8Iv.cjs.map} +1 -1
- package/dist/{ArrayWidget-Ck6pzAyW.js → ArrayWidget-j3ncPuPx.js} +4 -4
- package/dist/{ArrayWidget-Ck6pzAyW.js.map → ArrayWidget-j3ncPuPx.js.map} +1 -1
- package/dist/ArrayplotWidget-DPMVlst7.cjs +2 -0
- package/dist/ArrayplotWidget-DPMVlst7.cjs.map +1 -0
- package/dist/{ArrayplotWidget-ntRLh6-B.js → ArrayplotWidget-DuLaiGa9.js} +22 -22
- package/dist/ArrayplotWidget-DuLaiGa9.js.map +1 -0
- package/dist/{BarColumn-Bgz2YJ59.js → BarColumn-BWJ0Dd4O.js} +3 -3
- package/dist/{BarColumn-Bgz2YJ59.js.map → BarColumn-BWJ0Dd4O.js.map} +1 -1
- package/dist/{BarColumn-DtRNuOpa.cjs → BarColumn-CchXr_ex.cjs} +2 -2
- package/dist/{BarColumn-DtRNuOpa.cjs.map → BarColumn-CchXr_ex.cjs.map} +1 -1
- package/dist/{BlockWidget-DGH3Zz5p.js → BlockWidget-Bf5Dd6Cr.js} +4 -4
- package/dist/{BlockWidget-DGH3Zz5p.js.map → BlockWidget-Bf5Dd6Cr.js.map} +1 -1
- package/dist/{BlockWidget-DOY5lVfa.cjs → BlockWidget-CeDueZQ0.cjs} +2 -2
- package/dist/{BlockWidget-DOY5lVfa.cjs.map → BlockWidget-CeDueZQ0.cjs.map} +1 -1
- package/dist/{ButtonWidget-CFyZXGt6.cjs → ButtonWidget-BZulfQct.cjs} +3 -3
- package/dist/{ButtonWidget-CFyZXGt6.cjs.map → ButtonWidget-BZulfQct.cjs.map} +1 -1
- package/dist/{ButtonWidget-D_tupiPB.js → ButtonWidget-bl_mGFYh.js} +17 -17
- package/dist/{ButtonWidget-D_tupiPB.js.map → ButtonWidget-bl_mGFYh.js.map} +1 -1
- package/dist/{CanvasWidget-C6dc7mUw.cjs → CanvasWidget-DwAXTAyn.cjs} +2 -2
- package/dist/{CanvasWidget-C6dc7mUw.cjs.map → CanvasWidget-DwAXTAyn.cjs.map} +1 -1
- package/dist/{CanvasWidget-CzG2jYQb.js → CanvasWidget-boDemgx1.js} +2 -2
- package/dist/{CanvasWidget-CzG2jYQb.js.map → CanvasWidget-boDemgx1.js.map} +1 -1
- package/dist/{CanvasdotWidget-0FAaw4G2.js → CanvasdotWidget-BZBbJcER.js} +2 -2
- package/dist/{CanvasdotWidget-0FAaw4G2.js.map → CanvasdotWidget-BZBbJcER.js.map} +1 -1
- package/dist/{CanvasdotWidget-9bBVHC1l.cjs → CanvasdotWidget-ByJp9ZIa.cjs} +2 -2
- package/dist/{CanvasdotWidget-9bBVHC1l.cjs.map → CanvasdotWidget-ByJp9ZIa.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-CNJlzLqo.js → CanvasimageWidget-6ywvT5jd.js} +3 -3
- package/dist/{CanvasimageWidget-CNJlzLqo.js.map → CanvasimageWidget-6ywvT5jd.js.map} +1 -1
- package/dist/{CanvasimageWidget-DjvdDCRS.cjs → CanvasimageWidget-BDprHuH3.cjs} +2 -2
- package/dist/{CanvasimageWidget-DjvdDCRS.cjs.map → CanvasimageWidget-BDprHuH3.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-C1fI-ftP.cjs → CanvasimagevalueWidget-Cl_EuzNC.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-C1fI-ftP.cjs.map → CanvasimagevalueWidget-Cl_EuzNC.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-DudwwOD6.js → CanvasimagevalueWidget-DjWrA3gX.js} +3 -3
- package/dist/{CanvasimagevalueWidget-DudwwOD6.js.map → CanvasimagevalueWidget-DjWrA3gX.js.map} +1 -1
- package/dist/{CanvaslabelWidget-BZQp16dH.js → CanvaslabelWidget-Bq4V2BQh.js} +2 -2
- package/dist/{CanvaslabelWidget-BZQp16dH.js.map → CanvaslabelWidget-Bq4V2BQh.js.map} +1 -1
- package/dist/{CanvaslabelWidget--6Sjc4E8.cjs → CanvaslabelWidget-aalWFBxK.cjs} +2 -2
- package/dist/{CanvaslabelWidget--6Sjc4E8.cjs.map → CanvaslabelWidget-aalWFBxK.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-CHS36Te9.js → CanvaslabelvalueWidget-C8oNcFLi.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-CHS36Te9.js.map → CanvaslabelvalueWidget-C8oNcFLi.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-DZCxsIKk.cjs → CanvaslabelvalueWidget-DIO0fADo.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-DZCxsIKk.cjs.map → CanvaslabelvalueWidget-DIO0fADo.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-Bn83Rb10.cjs → CanvaslineWidget-CqNOzV_A.cjs} +2 -2
- package/dist/{CanvaslineWidget-Bn83Rb10.cjs.map → CanvaslineWidget-CqNOzV_A.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-nhKEAGhs.js → CanvaslineWidget-nvbL2GoL.js} +2 -2
- package/dist/{CanvaslineWidget-nhKEAGhs.js.map → CanvaslineWidget-nvbL2GoL.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-C6x_4Gc9.cjs → CanvaslinevalueWidget-D0kOhxXn.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-C6x_4Gc9.cjs.map → CanvaslinevalueWidget-D0kOhxXn.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-DsyIDkJy.js → CanvaslinevalueWidget-ZACQedKx.js} +2 -2
- package/dist/{CanvaslinevalueWidget-DsyIDkJy.js.map → CanvaslinevalueWidget-ZACQedKx.js.map} +1 -1
- package/dist/{CheckbuttonWidget-DCam7Jd0.js → CheckbuttonWidget-B82UE8AB.js} +2 -2
- package/dist/{CheckbuttonWidget-DCam7Jd0.js.map → CheckbuttonWidget-B82UE8AB.js.map} +1 -1
- package/dist/{CheckbuttonWidget-BvggsGZY.cjs → CheckbuttonWidget-L9xyRwfS.cjs} +2 -2
- package/dist/{CheckbuttonWidget-BvggsGZY.cjs.map → CheckbuttonWidget-L9xyRwfS.cjs.map} +1 -1
- package/dist/ClassificationBanners-ZF9Ab7D0.cjs +2 -0
- package/dist/ClassificationBanners-ZF9Ab7D0.cjs.map +1 -0
- package/dist/ClassificationBanners-jiqWjTAZ.js +35 -0
- package/dist/ClassificationBanners-jiqWjTAZ.js.map +1 -0
- package/dist/{ComboboxWidget-ZX-k-_aK.js → ComboboxWidget-4OFiSkI6.js} +2 -2
- package/dist/{ComboboxWidget-ZX-k-_aK.js.map → ComboboxWidget-4OFiSkI6.js.map} +1 -1
- package/dist/{ComboboxWidget-BS5WSbrK.cjs → ComboboxWidget-6hmnB_mK.cjs} +2 -2
- package/dist/{ComboboxWidget-BS5WSbrK.cjs.map → ComboboxWidget-6hmnB_mK.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-7tOK2XQk.cjs → CriticalCmdDialog-C-UGhtjE.cjs} +2 -2
- package/dist/{CriticalCmdDialog-7tOK2XQk.cjs.map → CriticalCmdDialog-C-UGhtjE.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-Dylpoz_4.js → CriticalCmdDialog-FhXDdBn4.js} +9 -9
- package/dist/{CriticalCmdDialog-Dylpoz_4.js.map → CriticalCmdDialog-FhXDdBn4.js.map} +1 -1
- package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -1
- package/dist/CustomIcon-h5X7369N.js.map +1 -1
- package/dist/{DateWidget-DuJ5uC2t.js → DateWidget-BmwtdirF.js} +2 -2
- package/dist/{DateWidget-DuJ5uC2t.js.map → DateWidget-BmwtdirF.js.map} +1 -1
- package/dist/{DateWidget-jejbk2-G.cjs → DateWidget-CmSp7svA.cjs} +2 -2
- package/dist/{DateWidget-jejbk2-G.cjs.map → DateWidget-CmSp7svA.cjs.map} +1 -1
- package/dist/{DetailsDialog-BQE0TraI.js → DetailsDialog-CLKEfU0s.js} +89 -89
- package/dist/DetailsDialog-CLKEfU0s.js.map +1 -0
- package/dist/DetailsDialog-DEicfRO1.cjs +2 -0
- package/dist/DetailsDialog-DEicfRO1.cjs.map +1 -0
- package/dist/DynamicWidget-BWEVCUfd.cjs.map +1 -1
- package/dist/DynamicWidget-CfMtj7H8.js.map +1 -1
- package/dist/{EventListDialog-CGUFCrJF.js → EventListDialog-BvSMSn7J.js} +52 -52
- package/dist/{EventListDialog-CGUFCrJF.js.map → EventListDialog-BvSMSn7J.js.map} +1 -1
- package/dist/EventListDialog-Em1RcH7I.cjs +2 -0
- package/dist/{EventListDialog-CDcJcxy5.cjs.map → EventListDialog-Em1RcH7I.cjs.map} +1 -1
- package/dist/{FormatvalueWidget-DYICPNcx.js → FormatvalueWidget-C8exC3bj.js} +3 -3
- package/dist/{FormatvalueWidget-DYICPNcx.js.map → FormatvalueWidget-C8exC3bj.js.map} +1 -1
- package/dist/{FormatvalueWidget-wu7Q3sXu.cjs → FormatvalueWidget-auKALSPC.cjs} +2 -2
- package/dist/{FormatvalueWidget-wu7Q3sXu.cjs.map → FormatvalueWidget-auKALSPC.cjs.map} +1 -1
- package/dist/Graph-BJqtVAaV.cjs +2 -0
- package/dist/Graph-BJqtVAaV.cjs.map +1 -0
- package/dist/Graph-CWcrowaT.js +2662 -0
- package/dist/Graph-CWcrowaT.js.map +1 -0
- package/dist/GraphWidget-BroqS0SO.cjs +2 -0
- package/dist/{GraphWidget-CQjKAMPR.cjs.map → GraphWidget-BroqS0SO.cjs.map} +1 -1
- package/dist/{GraphWidget-cTVq29cY.js → GraphWidget-CvzxZYVx.js} +31 -44
- package/dist/{GraphWidget-cTVq29cY.js.map → GraphWidget-CvzxZYVx.js.map} +1 -1
- package/dist/{HorizontalWidget-v1pfd94Z.js → HorizontalWidget-Ck151zVw.js} +6 -6
- package/dist/{HorizontalWidget-v1pfd94Z.js.map → HorizontalWidget-Ck151zVw.js.map} +1 -1
- package/dist/HorizontalWidget-DBeyBZCp.cjs +2 -0
- package/dist/{HorizontalWidget--AkRJPlL.cjs.map → HorizontalWidget-DBeyBZCp.cjs.map} +1 -1
- package/dist/HorizontalboxWidget-CuWtYdgh.cjs +2 -0
- package/dist/{HorizontalboxWidget-synL-Bar.cjs.map → HorizontalboxWidget-CuWtYdgh.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-B06-c_n4.js → HorizontalboxWidget-D3P-cl9V.js} +15 -15
- package/dist/{HorizontalboxWidget-B06-c_n4.js.map → HorizontalboxWidget-D3P-cl9V.js.map} +1 -1
- package/dist/{HorizontallineWidget-DEODVJCk.js → HorizontallineWidget-BE1TjPU8.js} +2 -2
- package/dist/{HorizontallineWidget-DEODVJCk.js.map → HorizontallineWidget-BE1TjPU8.js.map} +1 -1
- package/dist/{HorizontallineWidget-lTr2JTFY.cjs → HorizontallineWidget-QUFjdOSu.cjs} +2 -2
- package/dist/{HorizontallineWidget-lTr2JTFY.cjs.map → HorizontallineWidget-QUFjdOSu.cjs.map} +1 -1
- package/dist/{IframeWidget-n8lNXrpt.js → IframeWidget-BgJCgues.js} +2 -2
- package/dist/{IframeWidget-n8lNXrpt.js.map → IframeWidget-BgJCgues.js.map} +1 -1
- package/dist/{IframeWidget-ByhwW9yG.cjs → IframeWidget-DOZ1YyS2.cjs} +2 -2
- package/dist/{IframeWidget-ByhwW9yG.cjs.map → IframeWidget-DOZ1YyS2.cjs.map} +1 -1
- package/dist/{ImageLoader-DBWVFtNu.cjs → ImageLoader-AGF0VbZ5.cjs} +2 -2
- package/dist/{ImageLoader-DBWVFtNu.cjs.map → ImageLoader-AGF0VbZ5.cjs.map} +1 -1
- package/dist/{ImageLoader-CfcErydq.js → ImageLoader-CWn-PLOk.js} +2 -2
- package/dist/{ImageLoader-CfcErydq.js.map → ImageLoader-CWn-PLOk.js.map} +1 -1
- package/dist/{ImageviewerWidget-DE8fj06Z.js → ImageviewerWidget-BlhFZD2f.js} +2 -2
- package/dist/{ImageviewerWidget-DE8fj06Z.js.map → ImageviewerWidget-BlhFZD2f.js.map} +1 -1
- package/dist/{ImageviewerWidget-D4mU6wLX.cjs → ImageviewerWidget-DnmhYP68.cjs} +2 -2
- package/dist/{ImageviewerWidget-D4mU6wLX.cjs.map → ImageviewerWidget-DnmhYP68.cjs.map} +1 -1
- package/dist/{InterfacesTab-DTAAIx-y.cjs → InterfacesTab-76UJTIwF.cjs} +2 -2
- package/dist/{InterfacesTab-DTAAIx-y.cjs.map → InterfacesTab-76UJTIwF.cjs.map} +1 -1
- package/dist/{InterfacesTab-BF-Wx5gk.js → InterfacesTab-Cwz-zG7j.js} +3 -3
- package/dist/{InterfacesTab-BF-Wx5gk.js.map → InterfacesTab-Cwz-zG7j.js.map} +1 -1
- package/dist/{LabelWidget-DQZqRxKF.cjs → LabelWidget-C0DhD9Mn.cjs} +2 -2
- package/dist/{LabelWidget-DQZqRxKF.cjs.map → LabelWidget-C0DhD9Mn.cjs.map} +1 -1
- package/dist/{LabelWidget-iUIJLhdA.js → LabelWidget-Cwosk4x2.js} +2 -2
- package/dist/{LabelWidget-iUIJLhdA.js.map → LabelWidget-Cwosk4x2.js.map} +1 -1
- package/dist/{LabelledWidget-9HWChRmv.cjs → LabelledWidget-D8-aKfA_.cjs} +2 -2
- package/dist/{LabelledWidget-9HWChRmv.cjs.map → LabelledWidget-D8-aKfA_.cjs.map} +1 -1
- package/dist/{LabelledWidget-KI6fMlsr.js → LabelledWidget-Dl6rAFTQ.js} +4 -4
- package/dist/{LabelledWidget-KI6fMlsr.js.map → LabelledWidget-Dl6rAFTQ.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-DwzTP73u.cjs → LabelprogressbarWidget-DosPhvaY.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-DwzTP73u.cjs.map → LabelprogressbarWidget-DosPhvaY.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-C2lzmqBH.js → LabelprogressbarWidget-MuAKesOz.js} +4 -4
- package/dist/{LabelprogressbarWidget-C2lzmqBH.js.map → LabelprogressbarWidget-MuAKesOz.js.map} +1 -1
- package/dist/{LabelsparklineWidget-Ci6GGm29.js → LabelsparklineWidget-6LA6Ox3d.js} +4 -4
- package/dist/{LabelsparklineWidget-Ci6GGm29.js.map → LabelsparklineWidget-6LA6Ox3d.js.map} +1 -1
- package/dist/{LabelsparklineWidget-DMjBshq8.cjs → LabelsparklineWidget-CLU8722I.cjs} +2 -2
- package/dist/{LabelsparklineWidget-DMjBshq8.cjs.map → LabelsparklineWidget-CLU8722I.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-oiW-JDw6.js → LabelvalueWidget-BxAXx-Tf.js} +4 -4
- package/dist/{LabelvalueWidget-oiW-JDw6.js.map → LabelvalueWidget-BxAXx-Tf.js.map} +1 -1
- package/dist/{LabelvalueWidget-mAb0eLA8.cjs → LabelvalueWidget-WP4gK29n.cjs} +2 -2
- package/dist/{LabelvalueWidget-mAb0eLA8.cjs.map → LabelvalueWidget-WP4gK29n.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-CZJ0kZN-.cjs → LabelvaluedescWidget-BQ-6OXHc.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-CZJ0kZN-.cjs.map → LabelvaluedescWidget-BQ-6OXHc.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-Ck0AJ9g0.js → LabelvaluedescWidget-Dwwlnd1g.js} +5 -5
- package/dist/{LabelvaluedescWidget-Ck0AJ9g0.js.map → LabelvaluedescWidget-Dwwlnd1g.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-aaVLaejn.js → LabelvaluelimitsbarWidget-Dv8Qk8kK.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-aaVLaejn.js.map → LabelvaluelimitsbarWidget-Dv8Qk8kK.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DjBqYxRr.cjs → LabelvaluelimitsbarWidget-Z_7ARnvo.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-DjBqYxRr.cjs.map → LabelvaluelimitsbarWidget-Z_7ARnvo.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-Uur6aqOg.js → LabelvaluelimitscolumnWidget-D-_gl6fq.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-Uur6aqOg.js.map → LabelvaluelimitscolumnWidget-D-_gl6fq.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-GputlDZq.cjs → LabelvaluelimitscolumnWidget-DiO1b01N.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-GputlDZq.cjs.map → LabelvaluelimitscolumnWidget-DiO1b01N.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-Bs9locqu.js → LabelvaluerangebarWidget-B3MKT-3Y.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-Bs9locqu.js.map → LabelvaluerangebarWidget-B3MKT-3Y.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-Ci-n_hxk.cjs → LabelvaluerangebarWidget-DtajHP0b.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-Ci-n_hxk.cjs.map → LabelvaluerangebarWidget-DtajHP0b.cjs.map} +1 -1
- package/dist/{Layout-1z8iJV5-.js → Layout-Bkb6VP3e.js} +2 -2
- package/dist/{Layout-1z8iJV5-.js.map → Layout-Bkb6VP3e.js.map} +1 -1
- package/dist/Layout-CSbYbZWA.cjs +2 -0
- package/dist/{Layout-kOQnicRa.cjs.map → Layout-CSbYbZWA.cjs.map} +1 -1
- package/dist/{LedWidget-BN8IgAxJ.js → LedWidget-DOuDD8LI.js} +6 -6
- package/dist/LedWidget-DOuDD8LI.js.map +1 -0
- package/dist/LedWidget-DeREi8-u.cjs +2 -0
- package/dist/LedWidget-DeREi8-u.cjs.map +1 -0
- package/dist/LimitsbarWidget-BHr3IcIx.cjs +2 -0
- package/dist/{LimitsbarWidget-Co5GAHro.cjs.map → LimitsbarWidget-BHr3IcIx.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-BxxoKTjp.js → LimitsbarWidget-D1U6SvVL.js} +4 -4
- package/dist/{LimitsbarWidget-BxxoKTjp.js.map → LimitsbarWidget-D1U6SvVL.js.map} +1 -1
- package/dist/{LimitscolorWidget-BpTcgqRC.cjs → LimitscolorWidget-BUkKRrSL.cjs} +2 -2
- package/dist/{LimitscolorWidget-BpTcgqRC.cjs.map → LimitscolorWidget-BUkKRrSL.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-DFDwf4In.js → LimitscolorWidget-iSMGusqt.js} +2 -2
- package/dist/{LimitscolorWidget-DFDwf4In.js.map → LimitscolorWidget-iSMGusqt.js.map} +1 -1
- package/dist/{LimitscolumnWidget-CqJJKDzz.cjs → LimitscolumnWidget-COfNnb6f.cjs} +2 -2
- package/dist/{LimitscolumnWidget-CqJJKDzz.cjs.map → LimitscolumnWidget-COfNnb6f.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-CdBh2mJu.js → LimitscolumnWidget-DjxZTt_r.js} +4 -4
- package/dist/{LimitscolumnWidget-CdBh2mJu.js.map → LimitscolumnWidget-DjxZTt_r.js.map} +1 -1
- package/dist/{LinegraphWidget-jXksfbPb.js → LinegraphWidget-BHKU6zlT.js} +13 -13
- package/dist/LinegraphWidget-BHKU6zlT.js.map +1 -0
- package/dist/LinegraphWidget-RleSRWKa.cjs +2 -0
- package/dist/LinegraphWidget-RleSRWKa.cjs.map +1 -0
- package/dist/{MatrixbycolumnsWidget-DCwxPjwS.js → MatrixbycolumnsWidget-BKO-A2QD.js} +4 -4
- package/dist/{MatrixbycolumnsWidget-DCwxPjwS.js.map → MatrixbycolumnsWidget-BKO-A2QD.js.map} +1 -1
- package/dist/MatrixbycolumnsWidget-DWouVj7A.cjs +2 -0
- package/dist/{MatrixbycolumnsWidget-DxRhvPGv.cjs.map → MatrixbycolumnsWidget-DWouVj7A.cjs.map} +1 -1
- package/dist/{MicroservicesTab-DGaTcj-y.cjs → MicroservicesTab-L6qMAy4x.cjs} +2 -2
- package/dist/{MicroservicesTab-DGaTcj-y.cjs.map → MicroservicesTab-L6qMAy4x.cjs.map} +1 -1
- package/dist/{MicroservicesTab-B-SdMwek.js → MicroservicesTab-xLup6THU.js} +4 -4
- package/dist/{MicroservicesTab-B-SdMwek.js.map → MicroservicesTab-xLup6THU.js.map} +1 -1
- package/dist/{Openc3Screen-BZN0Wtrm.js → Openc3Screen-1rQ_Dbp4.js} +585 -452
- package/dist/Openc3Screen-1rQ_Dbp4.js.map +1 -0
- package/dist/Openc3Screen-BHHnSEoI.cjs +6 -0
- package/dist/Openc3Screen-BHHnSEoI.cjs.map +1 -0
- package/dist/{OutputDialog-CxKDhrg6.cjs → OutputDialog-DgM7aoa-.cjs} +2 -2
- package/dist/{OutputDialog-CxKDhrg6.cjs.map → OutputDialog-DgM7aoa-.cjs.map} +1 -1
- package/dist/{OutputDialog-CcSp-Uqo.js → OutputDialog-Ut5cXGxQ.js} +12 -12
- package/dist/{OutputDialog-CcSp-Uqo.js.map → OutputDialog-Ut5cXGxQ.js.map} +1 -1
- package/dist/{PackagesTab-Dx25CfF0.js → PackagesTab-ChJDyU3Z.js} +17 -17
- package/dist/{PackagesTab-Dx25CfF0.js.map → PackagesTab-ChJDyU3Z.js.map} +1 -1
- package/dist/PackagesTab-jqsRJEcJ.cjs +2 -0
- package/dist/{PackagesTab-B4V2n4io.cjs.map → PackagesTab-jqsRJEcJ.cjs.map} +1 -1
- package/dist/PluginsTab-CayzDij0.js +1340 -0
- package/dist/PluginsTab-CayzDij0.js.map +1 -0
- package/dist/PluginsTab-DYEv8EPg.cjs +6 -0
- package/dist/PluginsTab-DYEv8EPg.cjs.map +1 -0
- package/dist/{ProgressbarWidget-C0AkbX_o.cjs → ProgressbarWidget-Xba7gDbW.cjs} +2 -2
- package/dist/{ProgressbarWidget-C0AkbX_o.cjs.map → ProgressbarWidget-Xba7gDbW.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-Cdu5nJC3.js → ProgressbarWidget-fbr2qu_N.js} +2 -2
- package/dist/{ProgressbarWidget-Cdu5nJC3.js.map → ProgressbarWidget-fbr2qu_N.js.map} +1 -1
- package/dist/{RadiobuttonWidget-DslmJO31.cjs → RadiobuttonWidget-CdpKw7jr.cjs} +2 -2
- package/dist/{RadiobuttonWidget-DslmJO31.cjs.map → RadiobuttonWidget-CdpKw7jr.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-CZZGbvdG.js → RadiobuttonWidget-DL08zcQT.js} +2 -2
- package/dist/{RadiobuttonWidget-CZZGbvdG.js.map → RadiobuttonWidget-DL08zcQT.js.map} +1 -1
- package/dist/{RadiogroupWidget-DKgBAR9E.cjs → RadiogroupWidget-DSA8ENmw.cjs} +2 -2
- package/dist/{RadiogroupWidget-DKgBAR9E.cjs.map → RadiogroupWidget-DSA8ENmw.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-CQN3v8Ip.js → RadiogroupWidget-DW9Xpj3c.js} +2 -2
- package/dist/{RadiogroupWidget-CQN3v8Ip.js.map → RadiogroupWidget-DW9Xpj3c.js.map} +1 -1
- package/dist/{RangebarWidget-Tq80I5zA.cjs → RangebarWidget-B4oRyUwG.cjs} +2 -2
- package/dist/{RangebarWidget-Tq80I5zA.cjs.map → RangebarWidget-B4oRyUwG.cjs.map} +1 -1
- package/dist/{RangebarWidget-dZN9WjoZ.js → RangebarWidget-o9q55kjc.js} +4 -4
- package/dist/{RangebarWidget-dZN9WjoZ.js.map → RangebarWidget-o9q55kjc.js.map} +1 -1
- package/dist/RedisTab-BGz2ZN9T.js +171 -0
- package/dist/RedisTab-BGz2ZN9T.js.map +1 -0
- package/dist/RedisTab-Uqcfgux1.cjs +2 -0
- package/dist/RedisTab-Uqcfgux1.cjs.map +1 -0
- package/dist/{RollupWidget-CHdZAUCb.cjs → RollupWidget-43v3NX_Z.cjs} +2 -2
- package/dist/{RollupWidget-CHdZAUCb.cjs.map → RollupWidget-43v3NX_Z.cjs.map} +1 -1
- package/dist/{RollupWidget-i9DnNJl6.js → RollupWidget-BHnjj-DF.js} +2 -2
- package/dist/{RollupWidget-i9DnNJl6.js.map → RollupWidget-BHnjj-DF.js.map} +1 -1
- package/dist/{RoutersTab-Cp8wM-mS.cjs → RoutersTab-Be53r61Y.cjs} +2 -2
- package/dist/{RoutersTab-Cp8wM-mS.cjs.map → RoutersTab-Be53r61Y.cjs.map} +1 -1
- package/dist/{RoutersTab-DiYEI1Nq.js → RoutersTab-CCEPlZ_Y.js} +3 -3
- package/dist/{RoutersTab-DiYEI1Nq.js.map → RoutersTab-CCEPlZ_Y.js.map} +1 -1
- package/dist/{ScriptChooser-BnTP6ucF.cjs → ScriptChooser-B6TGFTBN.cjs} +2 -2
- package/dist/{ScriptChooser-BnTP6ucF.cjs.map → ScriptChooser-B6TGFTBN.cjs.map} +1 -1
- package/dist/{ScriptChooser-Cua8ObYv.js → ScriptChooser-CXjcm3bN.js} +2 -2
- package/dist/{ScriptChooser-Cua8ObYv.js.map → ScriptChooser-CXjcm3bN.js.map} +1 -1
- package/dist/{ScrollwindowWidget-54GU96Ve.js → ScrollwindowWidget-D-QVwztC.js} +15 -15
- package/dist/ScrollwindowWidget-D-QVwztC.js.map +1 -0
- package/dist/ScrollwindowWidget-D6ZHZr3o.cjs +2 -0
- package/dist/ScrollwindowWidget-D6ZHZr3o.cjs.map +1 -0
- package/dist/{SecretsTab-DY16usGc.cjs → SecretsTab-DDZ1VoUf.cjs} +2 -2
- package/dist/{SecretsTab-DY16usGc.cjs.map → SecretsTab-DDZ1VoUf.cjs.map} +1 -1
- package/dist/{SecretsTab-uWRVI1EE.js → SecretsTab-vVy356vr.js} +7 -7
- package/dist/{SecretsTab-uWRVI1EE.js.map → SecretsTab-vVy356vr.js.map} +1 -1
- package/dist/SettingsTab-CbWrf7U9.js +1763 -0
- package/dist/SettingsTab-CbWrf7U9.js.map +1 -0
- package/dist/SettingsTab-DsIVE5UL.cjs +3 -0
- package/dist/SettingsTab-DsIVE5UL.cjs.map +1 -0
- package/dist/{SignalWidget-B_kA9eCJ.js → SignalWidget-CsWuufdx.js} +2 -2
- package/dist/{SignalWidget-B_kA9eCJ.js.map → SignalWidget-CsWuufdx.js.map} +1 -1
- package/dist/{SignalWidget-COL8kXSJ.cjs → SignalWidget-CysAE9ZG.cjs} +2 -2
- package/dist/{SignalWidget-COL8kXSJ.cjs.map → SignalWidget-CysAE9ZG.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-BWUqPlTv.cjs → SimpleTextDialog-CU6G5CBY.cjs} +2 -2
- package/dist/{SimpleTextDialog-BWUqPlTv.cjs.map → SimpleTextDialog-CU6G5CBY.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-BulqUrdH.js → SimpleTextDialog-ChV5vRcV.js} +5 -5
- package/dist/{SimpleTextDialog-BulqUrdH.js.map → SimpleTextDialog-ChV5vRcV.js.map} +1 -1
- package/dist/{SpacerWidget-D_Ya_b1j.cjs → SpacerWidget-ChNk5TFU.cjs} +2 -2
- package/dist/{SpacerWidget-D_Ya_b1j.cjs.map → SpacerWidget-ChNk5TFU.cjs.map} +1 -1
- package/dist/{SpacerWidget-XoMPHak8.js → SpacerWidget-Di9-qunj.js} +2 -2
- package/dist/{SpacerWidget-XoMPHak8.js.map → SpacerWidget-Di9-qunj.js.map} +1 -1
- package/dist/{SparklineWidget-DQNsvEj9.js → SparklineWidget-B6-zhdPW.js} +4 -4
- package/dist/{SparklineWidget-DQNsvEj9.js.map → SparklineWidget-B6-zhdPW.js.map} +1 -1
- package/dist/{SparklineWidget-CRzXTS5z.cjs → SparklineWidget-D1tVqSRL.cjs} +2 -2
- package/dist/{SparklineWidget-CRzXTS5z.cjs.map → SparklineWidget-D1tVqSRL.cjs.map} +1 -1
- package/dist/{TabbookWidget-_HVA72t5.js → TabbookWidget-B1E1_mzA.js} +2 -2
- package/dist/{TabbookWidget-_HVA72t5.js.map → TabbookWidget-B1E1_mzA.js.map} +1 -1
- package/dist/{TabbookWidget-Bh-GDBXg.cjs → TabbookWidget-Btg-Axid.cjs} +2 -2
- package/dist/{TabbookWidget-Bh-GDBXg.cjs.map → TabbookWidget-Btg-Axid.cjs.map} +1 -1
- package/dist/{TargetsTab-BfoRYnTP.js → TargetsTab-DbbQcBuK.js} +3 -3
- package/dist/{TargetsTab-BfoRYnTP.js.map → TargetsTab-DbbQcBuK.js.map} +1 -1
- package/dist/{TargetsTab-CGE-jQAz.cjs → TargetsTab-pbmAAkOA.cjs} +2 -2
- package/dist/{TargetsTab-CGE-jQAz.cjs.map → TargetsTab-pbmAAkOA.cjs.map} +1 -1
- package/dist/{TextBoxDialog-C60jmnyN.js → TextBoxDialog-CdFHdj5W.js} +4 -4
- package/dist/{TextBoxDialog-C60jmnyN.js.map → TextBoxDialog-CdFHdj5W.js.map} +1 -1
- package/dist/{TextBoxDialog-DWt30tB8.cjs → TextBoxDialog-DbD8P4Xc.cjs} +2 -2
- package/dist/{TextBoxDialog-DWt30tB8.cjs.map → TextBoxDialog-DbD8P4Xc.cjs.map} +1 -1
- package/dist/{TextboxWidget-0JXn4bMH.js → TextboxWidget-CBVEXPw_.js} +4 -4
- package/dist/{TextboxWidget-0JXn4bMH.js.map → TextboxWidget-CBVEXPw_.js.map} +1 -1
- package/dist/{TextboxWidget-uDptDK_z.cjs → TextboxWidget-CHXcR8lA.cjs} +2 -2
- package/dist/{TextboxWidget-uDptDK_z.cjs.map → TextboxWidget-CHXcR8lA.cjs.map} +1 -1
- package/dist/{TextfieldWidget-BXr9MkVW.js → TextfieldWidget-DZMHrtQa.js} +2 -2
- package/dist/{TextfieldWidget-BXr9MkVW.js.map → TextfieldWidget-DZMHrtQa.js.map} +1 -1
- package/dist/{TextfieldWidget-B0FCskrL.cjs → TextfieldWidget-vSJ9CtKs.cjs} +2 -2
- package/dist/{TextfieldWidget-B0FCskrL.cjs.map → TextfieldWidget-vSJ9CtKs.cjs.map} +1 -1
- package/dist/{TimeWidget-q5tUvHC6.cjs → TimeWidget-ClkxS_oo.cjs} +2 -2
- package/dist/{TimeWidget-q5tUvHC6.cjs.map → TimeWidget-ClkxS_oo.cjs.map} +1 -1
- package/dist/{TimeWidget-C67uwMGH.js → TimeWidget-K4MNmJ7J.js} +2 -2
- package/dist/{TimeWidget-C67uwMGH.js.map → TimeWidget-K4MNmJ7J.js.map} +1 -1
- package/dist/{TitleWidget-t_YLgUMB.js → TitleWidget-8IcwweFE.js} +2 -2
- package/dist/{TitleWidget-t_YLgUMB.js.map → TitleWidget-8IcwweFE.js.map} +1 -1
- package/dist/{TitleWidget-REsd7MqR.cjs → TitleWidget-DJJ17ATm.cjs} +2 -2
- package/dist/{TitleWidget-REsd7MqR.cjs.map → TitleWidget-DJJ17ATm.cjs.map} +1 -1
- package/dist/ToolsTab-BkabqeR_.cjs +7 -0
- package/dist/{ToolsTab-CGztf9_j.cjs.map → ToolsTab-BkabqeR_.cjs.map} +1 -1
- package/dist/{ToolsTab-DKYeIlXu.js → ToolsTab-tkganPCk.js} +6 -6
- package/dist/{ToolsTab-DKYeIlXu.js.map → ToolsTab-tkganPCk.js.map} +1 -1
- package/dist/{TopBar-BrCfgCxc.js → TopBar-BoI8SRaF.js} +10 -10
- package/dist/{TopBar-BrCfgCxc.js.map → TopBar-BoI8SRaF.js.map} +1 -1
- package/dist/TopBar-zJvwq8pr.cjs +2 -0
- package/dist/{TopBar-B0UcAtIW.cjs.map → TopBar-zJvwq8pr.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CGyR2v7U.js → UpgradeToEnterpriseDialog-BYz9YoyY.js} +9 -9
- package/dist/{UpgradeToEnterpriseDialog-CGyR2v7U.js.map → UpgradeToEnterpriseDialog-BYz9YoyY.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-DJ3oth3I.cjs → UpgradeToEnterpriseDialog-BxHUptQB.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-DJ3oth3I.cjs.map → UpgradeToEnterpriseDialog-BxHUptQB.cjs.map} +1 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-BflJrsRh.cjs +1498 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-BflJrsRh.cjs.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NIAkCgU6.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js} +12916 -12652
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js.map +1 -0
- package/dist/VWidget-3ziiUuPM.cjs +2 -0
- package/dist/VWidget-3ziiUuPM.cjs.map +1 -0
- package/dist/VWidget-CoIgX3hM.js +190 -0
- package/dist/VWidget-CoIgX3hM.js.map +1 -0
- package/dist/{ValueWidget-3jNtnh5i.js → ValueWidget-BvT1ASar.js} +4 -4
- package/dist/{ValueWidget-3jNtnh5i.js.map → ValueWidget-BvT1ASar.js.map} +1 -1
- package/dist/{ValueWidget-CjZeSiPQ.cjs → ValueWidget-RU-vFOh9.cjs} +2 -2
- package/dist/{ValueWidget-CjZeSiPQ.cjs.map → ValueWidget-RU-vFOh9.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-CkLbRP8P.cjs → ValuelimitsbarWidget-B5UtwjJW.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-CkLbRP8P.cjs.map → ValuelimitsbarWidget-B5UtwjJW.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-JSceOzGS.js → ValuelimitsbarWidget-C5lBnUmB.js} +4 -4
- package/dist/{ValuelimitsbarWidget-JSceOzGS.js.map → ValuelimitsbarWidget-C5lBnUmB.js.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-DpU4BoB7.cjs → ValuelimitscolumnWidget-BruOZb26.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-DpU4BoB7.cjs.map → ValuelimitscolumnWidget-BruOZb26.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-HR1TNHwQ.js → ValuelimitscolumnWidget-DHYI0WBL.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-HR1TNHwQ.js.map → ValuelimitscolumnWidget-DHYI0WBL.js.map} +1 -1
- package/dist/{ValuerangebarWidget-DnZrho8S.js → ValuerangebarWidget-BSszZhlE.js} +4 -4
- package/dist/{ValuerangebarWidget-DnZrho8S.js.map → ValuerangebarWidget-BSszZhlE.js.map} +1 -1
- package/dist/{ValuerangebarWidget-CpZYmUl_.cjs → ValuerangebarWidget-BhQVRHhm.cjs} +2 -2
- package/dist/{ValuerangebarWidget-CpZYmUl_.cjs.map → ValuerangebarWidget-BhQVRHhm.cjs.map} +1 -1
- package/dist/{VerticalWidget-DJvoxqLE.js → VerticalWidget-1GhgYrC3.js} +13 -13
- package/dist/{VerticalWidget-DJvoxqLE.js.map → VerticalWidget-1GhgYrC3.js.map} +1 -1
- package/dist/VerticalWidget-XZrIw9zV.cjs +2 -0
- package/dist/{VerticalWidget-CcJMMaK_.cjs.map → VerticalWidget-XZrIw9zV.cjs.map} +1 -1
- package/dist/VerticalboxWidget-BV-onQ8m.cjs +2 -0
- package/dist/{VerticalboxWidget-CJR_mOLa.cjs.map → VerticalboxWidget-BV-onQ8m.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-CYYyLBoO.js → VerticalboxWidget-DYHJqEzd.js} +13 -13
- package/dist/{VerticalboxWidget-CYYyLBoO.js.map → VerticalboxWidget-DYHJqEzd.js.map} +1 -1
- package/dist/{Widget-Bn_S-zBo.js → Widget-B8t93Oid.js} +4 -4
- package/dist/Widget-B8t93Oid.js.map +1 -0
- package/dist/{Widget-O7wkmc39.cjs → Widget-Blq-k5SB.cjs} +2 -2
- package/dist/{Widget-O7wkmc39.cjs.map → Widget-Blq-k5SB.cjs.map} +1 -1
- package/dist/cmdUtilities-BMsSNjt_.js +46 -0
- package/dist/cmdUtilities-BMsSNjt_.js.map +1 -0
- package/dist/cmdUtilities-ChD8v8-7.cjs +2 -0
- package/dist/cmdUtilities-ChD8v8-7.cjs.map +1 -0
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +685 -823
- package/dist/components.js.map +1 -1
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/{index-qCq0L4jN.js → index-DDjz5VQq.js} +345 -327
- package/dist/index-DDjz5VQq.js.map +1 -0
- package/dist/index-DZh4NjG5.cjs +7 -0
- package/dist/index-DZh4NjG5.cjs.map +1 -0
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +184 -177
- package/dist/plugins.js.map +1 -1
- package/dist/settings-DyvFSj59.cjs +2 -0
- package/dist/settings-DyvFSj59.cjs.map +1 -0
- package/dist/settings-UZsgbUSr.js +34 -0
- package/dist/settings-UZsgbUSr.js.map +1 -0
- package/dist/tools/admin.cjs +3 -3
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +84 -76
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.js +504 -473
- package/dist/tools/base.js.map +1 -1
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +34 -34
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +945 -876
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/util.cjs +1 -1
- package/dist/util.js +4 -2
- package/dist/util.js.map +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +63 -63
- package/package.json +15 -15
- package/dist/ArrayplotWidget-DC41cpv1.cjs +0 -2
- package/dist/ArrayplotWidget-DC41cpv1.cjs.map +0 -1
- package/dist/ArrayplotWidget-ntRLh6-B.js.map +0 -1
- package/dist/DetailsDialog-BQE0TraI.js.map +0 -1
- package/dist/DetailsDialog-DmKpPDNn.cjs +0 -2
- package/dist/DetailsDialog-DmKpPDNn.cjs.map +0 -1
- package/dist/EventListDialog-CDcJcxy5.cjs +0 -2
- package/dist/Graph-DCihpnT0.js +0 -1853
- package/dist/Graph-DCihpnT0.js.map +0 -1
- package/dist/Graph-mSqImgca.cjs +0 -2
- package/dist/Graph-mSqImgca.cjs.map +0 -1
- package/dist/GraphWidget-CQjKAMPR.cjs +0 -2
- package/dist/HorizontalWidget--AkRJPlL.cjs +0 -2
- package/dist/HorizontalboxWidget-synL-Bar.cjs +0 -2
- package/dist/Layout-kOQnicRa.cjs +0 -2
- package/dist/LedWidget-BN8IgAxJ.js.map +0 -1
- package/dist/LedWidget-BUTbyEBi.cjs +0 -2
- package/dist/LedWidget-BUTbyEBi.cjs.map +0 -1
- package/dist/LimitsbarWidget-Co5GAHro.cjs +0 -2
- package/dist/LinegraphWidget-Bay0EtbI.cjs +0 -2
- package/dist/LinegraphWidget-Bay0EtbI.cjs.map +0 -1
- package/dist/LinegraphWidget-jXksfbPb.js.map +0 -1
- package/dist/MatrixbycolumnsWidget-DxRhvPGv.cjs +0 -2
- package/dist/Openc3Screen-BZN0Wtrm.js.map +0 -1
- package/dist/Openc3Screen-dtpBWZdA.cjs +0 -5
- package/dist/Openc3Screen-dtpBWZdA.cjs.map +0 -1
- package/dist/PackagesTab-B4V2n4io.cjs +0 -2
- package/dist/PluginsTab-DHO1tK2S.cjs +0 -6
- package/dist/PluginsTab-DHO1tK2S.cjs.map +0 -1
- package/dist/PluginsTab-lHDR5v6S.js +0 -562
- package/dist/PluginsTab-lHDR5v6S.js.map +0 -1
- package/dist/RedisTab-CdiSo-CO.cjs +0 -2
- package/dist/RedisTab-CdiSo-CO.cjs.map +0 -1
- package/dist/RedisTab-CkSwEwTZ.js +0 -135
- package/dist/RedisTab-CkSwEwTZ.js.map +0 -1
- package/dist/ScrollwindowWidget-54GU96Ve.js.map +0 -1
- package/dist/ScrollwindowWidget-C5_X-KwQ.cjs +0 -2
- package/dist/ScrollwindowWidget-C5_X-KwQ.cjs.map +0 -1
- package/dist/SettingsTab-BVnr4OtU.js +0 -1445
- package/dist/SettingsTab-BVnr4OtU.js.map +0 -1
- package/dist/SettingsTab-BkwaDhYo.cjs +0 -3
- package/dist/SettingsTab-BkwaDhYo.cjs.map +0 -1
- package/dist/ToolsTab-CGztf9_j.cjs +0 -7
- package/dist/TopBar-B0UcAtIW.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C_HFbtFB.cjs +0 -1497
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C_HFbtFB.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NIAkCgU6.js.map +0 -1
- package/dist/VWidget-BMxLXtSO.cjs +0 -2
- package/dist/VWidget-BMxLXtSO.cjs.map +0 -1
- package/dist/VWidget-j2GIGGSX.js +0 -326
- package/dist/VWidget-j2GIGGSX.js.map +0 -1
- package/dist/VerticalWidget-CcJMMaK_.cjs +0 -2
- package/dist/VerticalboxWidget-CJR_mOLa.cjs +0 -2
- package/dist/Widget-Bn_S-zBo.js.map +0 -1
- package/dist/index-DcL65Mqb.cjs +0 -7
- package/dist/index-DcL65Mqb.cjs.map +0 -1
- package/dist/index-qCq0L4jN.js.map +0 -1
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var tt = Object.defineProperty;
|
|
2
|
+
var qe = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
import {
|
|
9
|
-
import { resolveComponent as u, createElementBlock as P, openBlock as y, createVNode as o, createBlock as T, createCommentVNode as D, withCtx as l, createTextVNode as k, createElementVNode as S, withDirectives as
|
|
5
|
+
var it = (t, e, n) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
6
|
+
var Ae = (t, e, n) => it(t, typeof e != "symbol" ? e + "" : e, n), je = (t, e, n) => e.has(t) || qe("Cannot " + n);
|
|
7
|
+
var B = (t, e, n) => (je(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? qe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), ee = (t, e, n, a) => (je(t, e, "write to private field"), a ? a.call(t, n) : e.set(t, n), n);
|
|
8
|
+
import { c as O, d as Re, a as st } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js";
|
|
9
|
+
import { resolveComponent as u, createElementBlock as P, openBlock as y, createVNode as o, createBlock as T, createCommentVNode as D, withCtx as l, createTextVNode as k, createElementVNode as S, withDirectives as nt, vShow as ot, toDisplayString as z, mergeProps as J, normalizeClass as Ze, inject as te, getCurrentInstance as lt, computed as W, ref as ne, watch as ke, onMounted as Xe, onBeforeUnmount as Qe, normalizeStyle as Se, unref as rt, renderSlot as at, useSlots as ut, provide as Z, resolveDynamicComponent as dt, nextTick as Fe, h as ct, withModifiers as le, Fragment as oe, renderList as Ne, normalizeProps as ie, guardReactiveProps as se } from "vue";
|
|
10
10
|
import { _ as q } from "../CustomIcon-h5X7369N.js";
|
|
11
11
|
import { T as pt } from "../timeFilters-BKnCM4rv.js";
|
|
12
12
|
import "single-spa";
|
|
13
|
-
import { O as mt, A as ht } from "../OutputDialog-
|
|
14
|
-
import { f as
|
|
15
|
-
import { a as ft } from "../index-
|
|
16
|
-
import { T as gt, A as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { S as kt } from "../SimpleTextDialog-
|
|
21
|
-
import {
|
|
22
|
-
import { E as xt } from "../
|
|
23
|
-
|
|
13
|
+
import { O as mt, A as ht } from "../OutputDialog-Ut5cXGxQ.js";
|
|
14
|
+
import { f as xe } from "../format-CVeawcIv.js";
|
|
15
|
+
import { a as ft } from "../index-DDjz5VQq.js";
|
|
16
|
+
import { T as gt, A as Ke } from "../TopBar-BoI8SRaF.js";
|
|
17
|
+
import { f as vt } from "../fileIcon-DqRHb1_Z.js";
|
|
18
|
+
import { C as _t } from "../CriticalCmdDialog-FhXDdBn4.js";
|
|
19
|
+
import { a as bt, O as wt, F as yt } from "../Openc3Screen-1rQ_Dbp4.js";
|
|
20
|
+
import { S as kt } from "../SimpleTextDialog-ChV5vRcV.js";
|
|
21
|
+
import { _ as St } from "../ClassificationBanners-jiqWjTAZ.js";
|
|
22
|
+
import { E as xt } from "../EventListDialog-BvSMSn7J.js";
|
|
23
|
+
import { E as Ct } from "../ScriptChooser-CXjcm3bN.js";
|
|
24
|
+
const Vt = {
|
|
24
25
|
components: { OutputDialog: mt },
|
|
25
26
|
mixins: [pt],
|
|
26
27
|
props: {
|
|
@@ -101,7 +102,7 @@ const Ct = {
|
|
|
101
102
|
}
|
|
102
103
|
},
|
|
103
104
|
created() {
|
|
104
|
-
this.api = new
|
|
105
|
+
this.api = new Re(), this.api.get_setting("time_zone").then((t) => {
|
|
105
106
|
t && (this.timeZone = t);
|
|
106
107
|
}).catch((t) => {
|
|
107
108
|
}), this.getRunningScripts(), this.getCompletedScripts(), this.refreshTimer = setInterval(() => {
|
|
@@ -118,12 +119,12 @@ const Ct = {
|
|
|
118
119
|
O.get(
|
|
119
120
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
120
121
|
).then((e) => {
|
|
121
|
-
const
|
|
122
|
-
|
|
122
|
+
const n = e.data.items || [], a = /* @__PURE__ */ new Date();
|
|
123
|
+
n.forEach((i) => {
|
|
123
124
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
124
|
-
const
|
|
125
|
+
const s = new Date(i.start_time), d = a - s;
|
|
125
126
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
126
|
-
|
|
127
|
+
s,
|
|
127
128
|
this.timeZone
|
|
128
129
|
), d < 0)
|
|
129
130
|
i.duration = "N/A";
|
|
@@ -132,15 +133,15 @@ const Ct = {
|
|
|
132
133
|
else if (d < 6e4)
|
|
133
134
|
i.duration = `${Math.round(d / 1e3)}s`;
|
|
134
135
|
else if (d < 36e5) {
|
|
135
|
-
const
|
|
136
|
-
i.duration = `${
|
|
136
|
+
const m = Math.floor(d / 6e4), p = Math.round(d % 6e4 / 1e3);
|
|
137
|
+
i.duration = `${m}m ${p}s`;
|
|
137
138
|
} else {
|
|
138
|
-
const
|
|
139
|
-
i.duration = `${
|
|
139
|
+
const m = Math.floor(d / 36e5), p = Math.floor(d % 36e5 / 6e4), v = Math.round(d % 6e4 / 1e3);
|
|
140
|
+
i.duration = `${m}h ${p}m ${v}s`;
|
|
140
141
|
}
|
|
141
142
|
} else
|
|
142
143
|
i.duration = "N/A";
|
|
143
|
-
}), this.runningScripts =
|
|
144
|
+
}), this.runningScripts = n, this.runningTotal = e.data.total || n.length, this.runningLoading = !1;
|
|
144
145
|
}).catch((e) => {
|
|
145
146
|
this.runningLoading = !1, this.$notify.caution({
|
|
146
147
|
title: "Error Loading Running Scripts",
|
|
@@ -160,8 +161,8 @@ const Ct = {
|
|
|
160
161
|
O.get(
|
|
161
162
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
162
163
|
).then((e) => {
|
|
163
|
-
const
|
|
164
|
-
|
|
164
|
+
const n = e.data.items || [];
|
|
165
|
+
n.forEach((a) => {
|
|
165
166
|
if (a.user_display = `${a.user_full_name} (${a.username})`, a.start_time && a.end_time) {
|
|
166
167
|
const i = new Date(a.start_time), d = new Date(a.end_time) - i;
|
|
167
168
|
if (a.start_time_formatted = this.formatDateTimeHMS(
|
|
@@ -174,15 +175,15 @@ const Ct = {
|
|
|
174
175
|
else if (d < 6e4)
|
|
175
176
|
a.duration = `${Math.round(d / 1e3)}s`;
|
|
176
177
|
else if (d < 36e5) {
|
|
177
|
-
const
|
|
178
|
-
a.duration = `${
|
|
178
|
+
const m = Math.floor(d / 6e4), p = Math.round(d % 6e4 / 1e3);
|
|
179
|
+
a.duration = `${m}m ${p}s`;
|
|
179
180
|
} else {
|
|
180
|
-
const
|
|
181
|
-
a.duration = `${
|
|
181
|
+
const m = Math.floor(d / 36e5), p = Math.floor(d % 36e5 / 6e4), v = Math.round(d % 6e4 / 1e3);
|
|
182
|
+
a.duration = `${m}h ${p}m ${v}s`;
|
|
182
183
|
}
|
|
183
184
|
} else
|
|
184
185
|
a.duration = "N/A";
|
|
185
|
-
}), this.completedScripts =
|
|
186
|
+
}), this.completedScripts = n, this.completedTotal = e.data.total || n.length, this.completedLoading = !1;
|
|
186
187
|
}).catch((e) => {
|
|
187
188
|
this.completedLoading = !1, this.$notify.caution({
|
|
188
189
|
title: "Error Loading Completed Scripts",
|
|
@@ -206,8 +207,8 @@ const Ct = {
|
|
|
206
207
|
params: { id: t.name }
|
|
207
208
|
};
|
|
208
209
|
if (this.connectInNewTab) {
|
|
209
|
-
let { href:
|
|
210
|
-
window.open(
|
|
210
|
+
let { href: n } = this.$router.resolve(e);
|
|
211
|
+
window.open(n, "_blank");
|
|
211
212
|
} else
|
|
212
213
|
this.$router.push(e), this.$emit("close");
|
|
213
214
|
},
|
|
@@ -230,69 +231,83 @@ const Ct = {
|
|
|
230
231
|
});
|
|
231
232
|
},
|
|
232
233
|
viewScriptLog: function(t, e) {
|
|
233
|
-
let
|
|
234
|
-
e === "report" ? (this.dialogName = "Report",
|
|
234
|
+
let n = null;
|
|
235
|
+
e === "report" ? (this.dialogName = "Report", n = t.report) : (this.dialogName = "Log", n = t.log), O.get(
|
|
235
236
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
236
|
-
|
|
237
|
+
n
|
|
237
238
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
238
239
|
).then((a) => {
|
|
239
|
-
const i =
|
|
240
|
+
const i = n.split("/");
|
|
240
241
|
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(a.data.contents), this.showDialog = !0;
|
|
241
242
|
});
|
|
242
243
|
},
|
|
243
|
-
downloadScriptLog: function(t, e) {
|
|
244
|
-
let
|
|
245
|
-
e === "report" ? (this.dialogName = "Report",
|
|
244
|
+
downloadScriptLog: function(t, e, n = "text") {
|
|
245
|
+
let a = null;
|
|
246
|
+
e === "report" ? (this.dialogName = "Report", a = t.report) : (this.dialogName = "Log", a = t.log), this.downloadScript = t, n === "ctrf" && e === "report" ? O.get(
|
|
247
|
+
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
248
|
+
a
|
|
249
|
+
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
250
|
+
).then((i) => {
|
|
251
|
+
const s = new Blob([window.atob(i.data.contents)], {
|
|
252
|
+
type: "application/json"
|
|
253
|
+
}), d = document.createElement("a");
|
|
254
|
+
d.href = URL.createObjectURL(s), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
|
|
255
|
+
}).catch(() => {
|
|
256
|
+
this.$notify.caution({
|
|
257
|
+
title: `Unable to download log ${a}`,
|
|
258
|
+
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
259
|
+
}), this.downloadScript = null;
|
|
260
|
+
}) : O.get(
|
|
246
261
|
`/openc3-api/storage/download/${encodeURIComponent(
|
|
247
|
-
|
|
262
|
+
a
|
|
248
263
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
249
|
-
).then((
|
|
250
|
-
const
|
|
251
|
-
|
|
264
|
+
).then((i) => {
|
|
265
|
+
const s = a.split("/"), d = s[s.length - 1], m = document.createElement("a");
|
|
266
|
+
m.href = i.data.url, m.setAttribute("download", d), m.click(), this.downloadScript = null;
|
|
252
267
|
}).catch(() => {
|
|
253
268
|
this.$notify.caution({
|
|
254
|
-
title: `Unable to download log ${
|
|
255
|
-
body: `You may be able to download this log manually from the 'logs' bucket at ${
|
|
256
|
-
});
|
|
269
|
+
title: `Unable to download log ${a}`,
|
|
270
|
+
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
271
|
+
}), this.downloadScript = null;
|
|
257
272
|
});
|
|
258
273
|
}
|
|
259
274
|
}
|
|
260
|
-
},
|
|
261
|
-
function
|
|
262
|
-
const d = u("v-tab"),
|
|
275
|
+
}, Rt = { key: 0 }, Ot = { key: 1 };
|
|
276
|
+
function Et(t, e, n, a, i, s) {
|
|
277
|
+
const d = u("v-tab"), m = u("v-tabs"), p = u("v-spacer"), v = u("v-btn"), w = u("v-text-field"), x = u("v-row"), b = u("v-card-title"), R = u("v-icon"), C = u("v-data-table-server"), E = u("v-window-item"), _ = u("v-list-item-title"), U = u("v-list-item"), N = u("v-list"), Q = u("v-menu"), re = u("v-window"), K = u("v-card"), ae = u("output-dialog");
|
|
263
278
|
return y(), P("div", null, [
|
|
264
|
-
o(
|
|
279
|
+
o(K, {
|
|
265
280
|
flat: "",
|
|
266
281
|
class: "tab-card"
|
|
267
282
|
}, {
|
|
268
283
|
default: l(() => [
|
|
269
|
-
o(
|
|
284
|
+
o(m, {
|
|
270
285
|
modelValue: i.activeTab,
|
|
271
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
286
|
+
"onUpdate:modelValue": e[0] || (e[0] = (M) => i.activeTab = M),
|
|
272
287
|
"bg-color": "var(--color-background-base-default)"
|
|
273
288
|
}, {
|
|
274
289
|
default: l(() => [
|
|
275
290
|
o(d, { value: "running" }, {
|
|
276
|
-
default: l(() => e[6] || (e[6] = [
|
|
277
|
-
k("Running Scripts")
|
|
278
|
-
])),
|
|
291
|
+
default: l(() => [...e[6] || (e[6] = [
|
|
292
|
+
k("Running Scripts", -1)
|
|
293
|
+
])]),
|
|
279
294
|
_: 1
|
|
280
295
|
}),
|
|
281
296
|
o(d, { value: "completed" }, {
|
|
282
|
-
default: l(() => e[7] || (e[7] = [
|
|
283
|
-
k("Completed Scripts")
|
|
284
|
-
])),
|
|
297
|
+
default: l(() => [...e[7] || (e[7] = [
|
|
298
|
+
k("Completed Scripts", -1)
|
|
299
|
+
])]),
|
|
285
300
|
_: 1
|
|
286
301
|
})
|
|
287
302
|
]),
|
|
288
303
|
_: 1
|
|
289
304
|
}, 8, ["modelValue"]),
|
|
290
|
-
o(
|
|
305
|
+
o(re, {
|
|
291
306
|
modelValue: i.activeTab,
|
|
292
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
307
|
+
"onUpdate:modelValue": e[3] || (e[3] = (M) => i.activeTab = M)
|
|
293
308
|
}, {
|
|
294
309
|
default: l(() => [
|
|
295
|
-
o(
|
|
310
|
+
o(E, { value: "running" }, {
|
|
296
311
|
default: l(() => [
|
|
297
312
|
o(b, null, {
|
|
298
313
|
default: l(() => [
|
|
@@ -302,16 +317,16 @@ function Ot(t, e, s, a, i, n) {
|
|
|
302
317
|
o(v, {
|
|
303
318
|
class: "mr-3",
|
|
304
319
|
color: "primary",
|
|
305
|
-
onClick:
|
|
320
|
+
onClick: s.getRunningScripts
|
|
306
321
|
}, {
|
|
307
|
-
default: l(() => e[8] || (e[8] = [
|
|
308
|
-
k("Refresh")
|
|
309
|
-
])),
|
|
322
|
+
default: l(() => [...e[8] || (e[8] = [
|
|
323
|
+
k("Refresh", -1)
|
|
324
|
+
])]),
|
|
310
325
|
_: 1
|
|
311
326
|
}, 8, ["onClick"]),
|
|
312
327
|
o(w, {
|
|
313
328
|
modelValue: i.runningSearch,
|
|
314
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
329
|
+
"onUpdate:modelValue": e[1] || (e[1] = (M) => i.runningSearch = M),
|
|
315
330
|
class: "pt-0 search",
|
|
316
331
|
label: "Search",
|
|
317
332
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -341,63 +356,63 @@ function Ot(t, e, s, a, i, n) {
|
|
|
341
356
|
page: i.runningPage,
|
|
342
357
|
"items-per-page-options": [10, 25, 50],
|
|
343
358
|
class: "script-table",
|
|
344
|
-
"onUpdate:page":
|
|
345
|
-
"onUpdate:itemsPerPage":
|
|
359
|
+
"onUpdate:page": s.updateRunningPage,
|
|
360
|
+
"onUpdate:itemsPerPage": s.updateRunningItemsPerPage
|
|
346
361
|
}, {
|
|
347
|
-
"item.name": l(({ item:
|
|
362
|
+
"item.name": l(({ item: M }) => [
|
|
348
363
|
o(v, {
|
|
349
364
|
color: "primary",
|
|
350
365
|
density: "comfortable",
|
|
351
|
-
onClick: (
|
|
366
|
+
onClick: (F) => s.showScript(M)
|
|
352
367
|
}, {
|
|
353
368
|
default: l(() => [
|
|
354
|
-
k(z(
|
|
369
|
+
k(z(M.name), 1)
|
|
355
370
|
]),
|
|
356
371
|
_: 2
|
|
357
372
|
}, 1032, ["onClick"])
|
|
358
373
|
]),
|
|
359
|
-
"item.connect": l(({ item:
|
|
374
|
+
"item.connect": l(({ item: M }) => [
|
|
360
375
|
o(v, {
|
|
361
376
|
color: "primary",
|
|
362
|
-
onClick: (
|
|
377
|
+
onClick: (F) => s.connectScript(M)
|
|
363
378
|
}, {
|
|
364
379
|
default: l(() => [
|
|
365
380
|
e[10] || (e[10] = S("span", null, "Connect", -1)),
|
|
366
|
-
|
|
367
|
-
default: l(() => e[9] || (e[9] = [
|
|
368
|
-
k(" mdi-open-in-new ")
|
|
369
|
-
])),
|
|
381
|
+
nt(o(R, { end: "" }, {
|
|
382
|
+
default: l(() => [...e[9] || (e[9] = [
|
|
383
|
+
k(" mdi-open-in-new ", -1)
|
|
384
|
+
])]),
|
|
370
385
|
_: 1
|
|
371
386
|
}, 512), [
|
|
372
|
-
[
|
|
387
|
+
[ot, n.connectInNewTab]
|
|
373
388
|
])
|
|
374
389
|
]),
|
|
375
|
-
_:
|
|
376
|
-
},
|
|
390
|
+
_: 1
|
|
391
|
+
}, 8, ["onClick"])
|
|
377
392
|
]),
|
|
378
|
-
"item.stop": l(({ item:
|
|
393
|
+
"item.stop": l(({ item: M }) => [
|
|
379
394
|
o(v, {
|
|
380
395
|
color: "primary",
|
|
381
|
-
onClick: (
|
|
396
|
+
onClick: (F) => s.deleteScript(M)
|
|
382
397
|
}, {
|
|
383
398
|
default: l(() => [
|
|
384
399
|
e[12] || (e[12] = S("span", null, "Stop", -1)),
|
|
385
400
|
o(R, { end: "" }, {
|
|
386
|
-
default: l(() => e[11] || (e[11] = [
|
|
387
|
-
k(" mdi-close-circle-outline ")
|
|
388
|
-
])),
|
|
401
|
+
default: l(() => [...e[11] || (e[11] = [
|
|
402
|
+
k(" mdi-close-circle-outline ", -1)
|
|
403
|
+
])]),
|
|
389
404
|
_: 1
|
|
390
405
|
})
|
|
391
406
|
]),
|
|
392
|
-
_:
|
|
393
|
-
},
|
|
407
|
+
_: 1
|
|
408
|
+
}, 8, ["onClick"])
|
|
394
409
|
]),
|
|
395
410
|
_: 1
|
|
396
411
|
}, 8, ["headers", "items", "items-length", "loading", "search", "items-per-page", "page", "onUpdate:page", "onUpdate:itemsPerPage"])
|
|
397
412
|
]),
|
|
398
413
|
_: 1
|
|
399
414
|
}),
|
|
400
|
-
o(
|
|
415
|
+
o(E, { value: "completed" }, {
|
|
401
416
|
default: l(() => [
|
|
402
417
|
o(b, null, {
|
|
403
418
|
default: l(() => [
|
|
@@ -407,16 +422,16 @@ function Ot(t, e, s, a, i, n) {
|
|
|
407
422
|
o(v, {
|
|
408
423
|
class: "mr-3",
|
|
409
424
|
color: "primary",
|
|
410
|
-
onClick:
|
|
425
|
+
onClick: s.getCompletedScripts
|
|
411
426
|
}, {
|
|
412
|
-
default: l(() => e[13] || (e[13] = [
|
|
413
|
-
k("Refresh")
|
|
414
|
-
])),
|
|
427
|
+
default: l(() => [...e[13] || (e[13] = [
|
|
428
|
+
k("Refresh", -1)
|
|
429
|
+
])]),
|
|
415
430
|
_: 1
|
|
416
431
|
}, 8, ["onClick"]),
|
|
417
432
|
o(w, {
|
|
418
433
|
modelValue: i.completedSearch,
|
|
419
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
434
|
+
"onUpdate:modelValue": e[2] || (e[2] = (M) => i.completedSearch = M),
|
|
420
435
|
class: "pt-0 search",
|
|
421
436
|
label: "Search",
|
|
422
437
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -445,56 +460,93 @@ function Ot(t, e, s, a, i, n) {
|
|
|
445
460
|
page: i.completedPage,
|
|
446
461
|
"items-per-page-options": [10, 25, 50],
|
|
447
462
|
class: "script-table",
|
|
448
|
-
"onUpdate:page":
|
|
449
|
-
"onUpdate:itemsPerPage":
|
|
463
|
+
"onUpdate:page": s.updateCompletedPage,
|
|
464
|
+
"onUpdate:itemsPerPage": s.updateCompletedItemsPerPage
|
|
450
465
|
}, {
|
|
451
|
-
"item.name": l(({ item:
|
|
466
|
+
"item.name": l(({ item: M }) => [
|
|
452
467
|
o(v, {
|
|
453
468
|
color: "primary",
|
|
454
469
|
density: "comfortable",
|
|
455
|
-
onClick: (
|
|
470
|
+
onClick: (F) => s.showScript(M)
|
|
456
471
|
}, {
|
|
457
472
|
default: l(() => [
|
|
458
|
-
k(z(
|
|
473
|
+
k(z(M.name), 1)
|
|
459
474
|
]),
|
|
460
475
|
_: 2
|
|
461
476
|
}, 1032, ["onClick"])
|
|
462
477
|
]),
|
|
463
|
-
"item.log": l(({ item:
|
|
478
|
+
"item.log": l(({ item: M }) => [
|
|
464
479
|
o(v, {
|
|
465
480
|
color: "primary",
|
|
466
481
|
density: "comfortable",
|
|
467
482
|
icon: "mdi-eye",
|
|
468
|
-
onClick: (
|
|
483
|
+
onClick: (F) => s.viewScriptLog(M, "log")
|
|
469
484
|
}, null, 8, ["onClick"]),
|
|
470
485
|
o(v, {
|
|
471
486
|
color: "primary",
|
|
472
487
|
density: "comfortable",
|
|
473
488
|
icon: "mdi-file-download-outline",
|
|
474
489
|
disabled: i.downloadScript,
|
|
475
|
-
loading: i.downloadScript && i.downloadScript.name ===
|
|
476
|
-
onClick: (
|
|
490
|
+
loading: i.downloadScript && i.downloadScript.name === M.name,
|
|
491
|
+
onClick: (F) => s.downloadScriptLog(M, "log")
|
|
477
492
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
478
493
|
]),
|
|
479
|
-
"item.report": l(({ item:
|
|
480
|
-
|
|
494
|
+
"item.report": l(({ item: M }) => [
|
|
495
|
+
M.report ? (y(), P("div", Ot, [
|
|
481
496
|
o(v, {
|
|
482
497
|
color: "primary",
|
|
483
498
|
density: "comfortable",
|
|
484
499
|
icon: "mdi-eye",
|
|
485
|
-
onClick: (
|
|
500
|
+
onClick: (F) => s.viewScriptLog(M, "report")
|
|
486
501
|
}, null, 8, ["onClick"]),
|
|
487
|
-
o(
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
502
|
+
o(Q, null, {
|
|
503
|
+
activator: l(({ props: F }) => [
|
|
504
|
+
o(v, J({
|
|
505
|
+
color: "primary",
|
|
506
|
+
density: "comfortable",
|
|
507
|
+
icon: "mdi-file-download-outline",
|
|
508
|
+
disabled: i.downloadScript,
|
|
509
|
+
loading: i.downloadScript && i.downloadScript.name === M.name
|
|
510
|
+
}, F), null, 16, ["disabled", "loading"])
|
|
511
|
+
]),
|
|
512
|
+
default: l(() => [
|
|
513
|
+
o(N, null, {
|
|
514
|
+
default: l(() => [
|
|
515
|
+
o(U, {
|
|
516
|
+
onClick: (F) => s.downloadScriptLog(M, "report", "text")
|
|
517
|
+
}, {
|
|
518
|
+
default: l(() => [
|
|
519
|
+
o(_, null, {
|
|
520
|
+
default: l(() => [...e[15] || (e[15] = [
|
|
521
|
+
k("Download as Text", -1)
|
|
522
|
+
])]),
|
|
523
|
+
_: 1
|
|
524
|
+
})
|
|
525
|
+
]),
|
|
526
|
+
_: 1
|
|
527
|
+
}, 8, ["onClick"]),
|
|
528
|
+
o(U, {
|
|
529
|
+
onClick: (F) => s.downloadScriptLog(M, "report", "ctrf")
|
|
530
|
+
}, {
|
|
531
|
+
default: l(() => [
|
|
532
|
+
o(_, null, {
|
|
533
|
+
default: l(() => [...e[16] || (e[16] = [
|
|
534
|
+
k("Download as CTRF", -1)
|
|
535
|
+
])]),
|
|
536
|
+
_: 1
|
|
537
|
+
})
|
|
538
|
+
]),
|
|
539
|
+
_: 1
|
|
540
|
+
}, 8, ["onClick"])
|
|
541
|
+
]),
|
|
542
|
+
_: 2
|
|
543
|
+
}, 1024)
|
|
544
|
+
]),
|
|
545
|
+
_: 2
|
|
546
|
+
}, 1024)
|
|
547
|
+
])) : (y(), P("div", Rt, [...e[14] || (e[14] = [
|
|
496
548
|
S("span", null, "N/A", -1)
|
|
497
|
-
])))
|
|
549
|
+
])]))
|
|
498
550
|
]),
|
|
499
551
|
_: 1
|
|
500
552
|
}, 8, ["headers", "items", "items-length", "loading", "search", "items-per-page", "page", "onUpdate:page", "onUpdate:itemsPerPage"])
|
|
@@ -507,19 +559,19 @@ function Ot(t, e, s, a, i, n) {
|
|
|
507
559
|
]),
|
|
508
560
|
_: 1
|
|
509
561
|
}),
|
|
510
|
-
i.showDialog ? (y(), T(
|
|
562
|
+
i.showDialog ? (y(), T(ae, {
|
|
511
563
|
key: 0,
|
|
512
564
|
modelValue: i.showDialog,
|
|
513
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
565
|
+
"onUpdate:modelValue": e[4] || (e[4] = (M) => i.showDialog = M),
|
|
514
566
|
content: i.dialogContent,
|
|
515
567
|
type: "Script",
|
|
516
568
|
name: i.dialogName,
|
|
517
569
|
filename: i.dialogFilename,
|
|
518
|
-
onSubmit: e[5] || (e[5] = (
|
|
570
|
+
onSubmit: e[5] || (e[5] = (M) => i.showDialog = !1)
|
|
519
571
|
}, null, 8, ["modelValue", "content", "name", "filename"])) : D("", !0)
|
|
520
572
|
]);
|
|
521
573
|
}
|
|
522
|
-
const Mt = /* @__PURE__ */ q(
|
|
574
|
+
const Mt = /* @__PURE__ */ q(Vt, [["render", Et]]), Tt = {
|
|
523
575
|
props: {
|
|
524
576
|
modelValue: {
|
|
525
577
|
type: Array,
|
|
@@ -560,11 +612,11 @@ const Mt = /* @__PURE__ */ q(Ct, [["render", Ot]]), Et = {
|
|
|
560
612
|
const t = this.messages.map((a) => a.message).join(`
|
|
561
613
|
`), e = new Blob([t], {
|
|
562
614
|
type: "text/plain"
|
|
563
|
-
}),
|
|
564
|
-
|
|
615
|
+
}), n = document.createElement("a");
|
|
616
|
+
n.href = URL.createObjectURL(e), n.setAttribute(
|
|
565
617
|
"download",
|
|
566
|
-
|
|
567
|
-
),
|
|
618
|
+
xe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
|
|
619
|
+
), n.click();
|
|
568
620
|
},
|
|
569
621
|
clearLog: function() {
|
|
570
622
|
this.$dialog.confirm("Are you sure you want to clear the log?", {
|
|
@@ -577,8 +629,8 @@ const Mt = /* @__PURE__ */ q(Ct, [["render", Ot]]), Et = {
|
|
|
577
629
|
}
|
|
578
630
|
}
|
|
579
631
|
};
|
|
580
|
-
function
|
|
581
|
-
const d = u("v-btn"),
|
|
632
|
+
function It(t, e, n, a, i, s) {
|
|
633
|
+
const d = u("v-btn"), m = u("v-spacer"), p = u("v-select"), v = u("v-text-field"), w = u("v-card-title"), x = u("v-data-table"), b = u("v-card-text"), R = u("v-card");
|
|
582
634
|
return y(), T(R, null, {
|
|
583
635
|
default: l(() => [
|
|
584
636
|
o(w, { class: "d-flex align-center" }, {
|
|
@@ -590,10 +642,10 @@ function Tt(t, e, s, a, i, n) {
|
|
|
590
642
|
density: "compact",
|
|
591
643
|
"data-test": "download-log",
|
|
592
644
|
"aria-label": "Download Log",
|
|
593
|
-
onClick:
|
|
645
|
+
onClick: s.downloadLog
|
|
594
646
|
}, null, 8, ["onClick"]),
|
|
595
|
-
e[2] || (e[2] = k(" Script Messages ")),
|
|
596
|
-
o(
|
|
647
|
+
e[2] || (e[2] = k(" Script Messages ", -1)),
|
|
648
|
+
o(m),
|
|
597
649
|
o(p, {
|
|
598
650
|
modelValue: i.messageOrder,
|
|
599
651
|
"onUpdate:modelValue": e[0] || (e[0] = (C) => i.messageOrder = C),
|
|
@@ -605,7 +657,7 @@ function Tt(t, e, s, a, i, n) {
|
|
|
605
657
|
style: { "max-width": "200px" },
|
|
606
658
|
"data-test": "message-order"
|
|
607
659
|
}, null, 8, ["modelValue", "items"]),
|
|
608
|
-
o(
|
|
660
|
+
o(m),
|
|
609
661
|
o(v, {
|
|
610
662
|
modelValue: i.search,
|
|
611
663
|
"onUpdate:modelValue": e[1] || (e[1] = (C) => i.search = C),
|
|
@@ -626,7 +678,7 @@ function Tt(t, e, s, a, i, n) {
|
|
|
626
678
|
density: "compact",
|
|
627
679
|
"data-test": "clear-log",
|
|
628
680
|
"aria-label": "Clear Log",
|
|
629
|
-
onClick:
|
|
681
|
+
onClick: s.clearLog
|
|
630
682
|
}, null, 8, ["onClick"])
|
|
631
683
|
]),
|
|
632
684
|
_: 1
|
|
@@ -637,7 +689,7 @@ function Tt(t, e, s, a, i, n) {
|
|
|
637
689
|
id: "script-log-messages",
|
|
638
690
|
style: { overflow: "auto" },
|
|
639
691
|
headers: i.headers,
|
|
640
|
-
items:
|
|
692
|
+
items: s.messages,
|
|
641
693
|
search: i.search,
|
|
642
694
|
"items-per-page": -1,
|
|
643
695
|
"hide-default-footer": "",
|
|
@@ -646,7 +698,7 @@ function Tt(t, e, s, a, i, n) {
|
|
|
646
698
|
}, {
|
|
647
699
|
"item.message": l(({ item: C }) => [
|
|
648
700
|
S("div", {
|
|
649
|
-
class:
|
|
701
|
+
class: Ze(s.messageClass(C.message))
|
|
650
702
|
}, z(C.message), 3)
|
|
651
703
|
]),
|
|
652
704
|
_: 1
|
|
@@ -658,7 +710,7 @@ function Tt(t, e, s, a, i, n) {
|
|
|
658
710
|
_: 1
|
|
659
711
|
});
|
|
660
712
|
}
|
|
661
|
-
const
|
|
713
|
+
const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Ut = {
|
|
662
714
|
__name: "splitpanes",
|
|
663
715
|
props: {
|
|
664
716
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -681,190 +733,190 @@ const It = /* @__PURE__ */ q(Et, [["render", Tt]]), Dt = {
|
|
|
681
733
|
"splitter-dblclick"
|
|
682
734
|
],
|
|
683
735
|
setup(t, { emit: e }) {
|
|
684
|
-
const
|
|
736
|
+
const n = e, a = t, i = ut(), s = ne([]), d = W(() => s.value.reduce((c, r) => (c[~~r.id] = r) && c, {})), m = W(() => s.value.length), p = ne(null), v = ne(!1), w = ne({
|
|
685
737
|
mouseDown: !1,
|
|
686
738
|
dragging: !1,
|
|
687
739
|
activeSplitter: null,
|
|
688
740
|
cursorOffset: 0
|
|
689
741
|
// Cursor offset within the splitter.
|
|
690
|
-
}), x =
|
|
742
|
+
}), x = ne({
|
|
691
743
|
// Used to detect double click on touch devices.
|
|
692
744
|
splitter: null,
|
|
693
745
|
timeoutId: null
|
|
694
|
-
}), b =
|
|
746
|
+
}), b = W(() => ({
|
|
695
747
|
[`splitpanes splitpanes--${a.horizontal ? "horizontal" : "vertical"}`]: !0,
|
|
696
748
|
"splitpanes--dragging": w.value.dragging
|
|
697
749
|
})), R = () => {
|
|
698
750
|
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", U), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", U));
|
|
699
751
|
}, C = () => {
|
|
700
752
|
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", U), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", U));
|
|
701
|
-
},
|
|
753
|
+
}, E = (c, r) => {
|
|
702
754
|
const h = c.target.closest(".splitpanes__splitter");
|
|
703
755
|
if (h) {
|
|
704
|
-
const { left:
|
|
705
|
-
w.value.cursorOffset = a.horizontal ? I - g : V -
|
|
756
|
+
const { left: f, top: g } = h.getBoundingClientRect(), { clientX: V, clientY: I } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
|
|
757
|
+
w.value.cursorOffset = a.horizontal ? I - g : V - f;
|
|
706
758
|
}
|
|
707
759
|
R(), w.value.mouseDown = !0, w.value.activeSplitter = r;
|
|
708
760
|
}, _ = (c) => {
|
|
709
761
|
w.value.mouseDown && (c.preventDefault(), w.value.dragging = !0, requestAnimationFrame(() => {
|
|
710
|
-
|
|
762
|
+
M(K(c)), L("resize", { event: c }, !0);
|
|
711
763
|
}));
|
|
712
764
|
}, U = (c) => {
|
|
713
|
-
w.value.dragging &&
|
|
765
|
+
w.value.dragging && (window.getSelection().removeAllRanges(), L("resized", { event: c }, !0)), w.value.mouseDown = !1, w.value.activeSplitter = null, setTimeout(() => {
|
|
714
766
|
w.value.dragging = !1, C();
|
|
715
767
|
}, 100);
|
|
716
|
-
},
|
|
717
|
-
"ontouchstart" in window && (c.preventDefault(), x.value.splitter === r ? (clearTimeout(x.value.timeoutId), x.value.timeoutId = null,
|
|
718
|
-
},
|
|
719
|
-
if (
|
|
768
|
+
}, N = (c, r) => {
|
|
769
|
+
"ontouchstart" in window && (c.preventDefault(), x.value.splitter === r ? (clearTimeout(x.value.timeoutId), x.value.timeoutId = null, Q(c, r), x.value.splitter = null) : (x.value.splitter = r, x.value.timeoutId = setTimeout(() => x.value.splitter = null, 500))), w.value.dragging || L("splitter-click", { event: c, index: r }, !0);
|
|
770
|
+
}, Q = (c, r) => {
|
|
771
|
+
if (L("splitter-dblclick", { event: c, index: r }, !0), a.maximizePanes) {
|
|
720
772
|
let h = 0;
|
|
721
|
-
|
|
773
|
+
s.value = s.value.map((f, g) => (f.size = g === r ? f.max : f.min, g !== r && (h += f.min), f)), s.value[r].size -= h, L("pane-maximize", { event: c, index: r, pane: s.value[r] }), L("resized", { event: c, index: r }, !0);
|
|
722
774
|
}
|
|
723
|
-
},
|
|
724
|
-
|
|
775
|
+
}, re = (c, r) => {
|
|
776
|
+
L("pane-click", {
|
|
725
777
|
event: c,
|
|
726
778
|
index: d.value[r].index,
|
|
727
779
|
pane: d.value[r]
|
|
728
780
|
});
|
|
729
|
-
},
|
|
730
|
-
const r = p.value.getBoundingClientRect(), { clientX: h, clientY:
|
|
781
|
+
}, K = (c) => {
|
|
782
|
+
const r = p.value.getBoundingClientRect(), { clientX: h, clientY: f } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
|
|
731
783
|
return {
|
|
732
784
|
x: h - (a.horizontal ? 0 : w.value.cursorOffset) - r.left,
|
|
733
|
-
y:
|
|
785
|
+
y: f - (a.horizontal ? w.value.cursorOffset : 0) - r.top
|
|
734
786
|
};
|
|
735
|
-
},
|
|
787
|
+
}, ae = (c) => {
|
|
736
788
|
c = c[a.horizontal ? "y" : "x"];
|
|
737
789
|
const r = p.value[a.horizontal ? "clientHeight" : "clientWidth"];
|
|
738
790
|
return a.rtl && !a.horizontal && (c = r - c), c * 100 / r;
|
|
739
|
-
},
|
|
791
|
+
}, M = (c) => {
|
|
740
792
|
const r = w.value.activeSplitter;
|
|
741
793
|
let h = {
|
|
742
|
-
prevPanesSize:
|
|
743
|
-
nextPanesSize:
|
|
794
|
+
prevPanesSize: ue(r),
|
|
795
|
+
nextPanesSize: Y(r),
|
|
744
796
|
prevReachedMinPanes: 0,
|
|
745
797
|
nextReachedMinPanes: 0
|
|
746
798
|
};
|
|
747
|
-
const
|
|
748
|
-
let I = [r, r + 1], A =
|
|
749
|
-
const
|
|
750
|
-
if (
|
|
751
|
-
|
|
799
|
+
const f = 0 + (a.pushOtherPanes ? 0 : h.prevPanesSize), g = 100 - (a.pushOtherPanes ? 0 : h.nextPanesSize), V = Math.max(Math.min(ae(c), g), f);
|
|
800
|
+
let I = [r, r + 1], A = s.value[I[0]] || null, H = s.value[I[1]] || null;
|
|
801
|
+
const He = A.max < 100 && V >= A.max + h.prevPanesSize, et = H.max < 100 && V <= 100 - (H.max + Y(r + 1));
|
|
802
|
+
if (He || et) {
|
|
803
|
+
He ? (A.size = A.max, H.size = Math.max(100 - A.max - h.prevPanesSize - h.nextPanesSize, 0)) : (A.size = Math.max(100 - H.max - h.prevPanesSize - Y(r + 1), 0), H.size = H.max);
|
|
752
804
|
return;
|
|
753
805
|
}
|
|
754
806
|
if (a.pushOtherPanes) {
|
|
755
|
-
const
|
|
756
|
-
if (!
|
|
757
|
-
({ sums: h, panesToResize: I } =
|
|
807
|
+
const Ge = F(h, V);
|
|
808
|
+
if (!Ge) return;
|
|
809
|
+
({ sums: h, panesToResize: I } = Ge), A = s.value[I[0]] || null, H = s.value[I[1]] || null;
|
|
758
810
|
}
|
|
759
811
|
A !== null && (A.size = Math.min(Math.max(V - h.prevPanesSize - h.prevReachedMinPanes, A.min), A.max)), H !== null && (H.size = Math.min(Math.max(100 - V - h.nextPanesSize - h.nextReachedMinPanes, H.min), H.max));
|
|
760
|
-
},
|
|
761
|
-
const h = w.value.activeSplitter,
|
|
762
|
-
return r < c.prevPanesSize +
|
|
763
|
-
V >
|
|
764
|
-
}), c.prevPanesSize =
|
|
812
|
+
}, F = (c, r) => {
|
|
813
|
+
const h = w.value.activeSplitter, f = [h, h + 1];
|
|
814
|
+
return r < c.prevPanesSize + s.value[f[0]].min && (f[0] = Oe(h).index, c.prevReachedMinPanes = 0, f[0] < h && s.value.forEach((g, V) => {
|
|
815
|
+
V > f[0] && V <= h && (g.size = g.min, c.prevReachedMinPanes += g.min);
|
|
816
|
+
}), c.prevPanesSize = ue(f[0]), f[0] === void 0) ? (c.prevReachedMinPanes = 0, s.value[0].size = s.value[0].min, s.value.forEach((g, V) => {
|
|
765
817
|
V > 0 && V <= h && (g.size = g.min, c.prevReachedMinPanes += g.min);
|
|
766
|
-
}),
|
|
767
|
-
V > h && V <
|
|
768
|
-
}), c.nextPanesSize =
|
|
769
|
-
V <
|
|
770
|
-
}),
|
|
771
|
-
},
|
|
818
|
+
}), s.value[f[1]].size = 100 - c.prevReachedMinPanes - s.value[0].min - c.prevPanesSize - c.nextPanesSize, null) : r > 100 - c.nextPanesSize - s.value[f[1]].min && (f[1] = be(h).index, c.nextReachedMinPanes = 0, f[1] > h + 1 && s.value.forEach((g, V) => {
|
|
819
|
+
V > h && V < f[1] && (g.size = g.min, c.nextReachedMinPanes += g.min);
|
|
820
|
+
}), c.nextPanesSize = Y(f[1] - 1), f[1] === void 0) ? (c.nextReachedMinPanes = 0, s.value.forEach((g, V) => {
|
|
821
|
+
V < m.value - 1 && V >= h + 1 && (g.size = g.min, c.nextReachedMinPanes += g.min);
|
|
822
|
+
}), s.value[f[0]].size = 100 - c.prevPanesSize - Y(f[0] - 1), null) : { sums: c, panesToResize: f };
|
|
823
|
+
}, ue = (c) => s.value.reduce((r, h, f) => r + (f < c ? h.size : 0), 0), Y = (c) => s.value.reduce((r, h, f) => r + (f > c + 1 ? h.size : 0), 0), Oe = (c) => [...s.value].reverse().find((r) => r.index < c && r.size > r.min) || {}, be = (c) => s.value.find((r) => r.index > c + 1 && r.size > r.min) || {}, we = () => {
|
|
772
824
|
var c;
|
|
773
825
|
const r = Array.from(((c = p.value) == null ? void 0 : c.children) || []);
|
|
774
826
|
for (const h of r) {
|
|
775
|
-
const
|
|
776
|
-
!
|
|
827
|
+
const f = h.classList.contains("splitpanes__pane"), g = h.classList.contains("splitpanes__splitter");
|
|
828
|
+
!f && !g && (h.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
|
|
777
829
|
}
|
|
778
|
-
},
|
|
779
|
-
const
|
|
780
|
-
g.classList.add("splitpanes__splitter"), h || (g.onmousedown = (V) =>
|
|
781
|
-
},
|
|
830
|
+
}, ye = (c, r, h = !1) => {
|
|
831
|
+
const f = c - 1, g = document.createElement("div");
|
|
832
|
+
g.classList.add("splitpanes__splitter"), h || (g.onmousedown = (V) => E(V, f), typeof window < "u" && "ontouchstart" in window && (g.ontouchstart = (V) => E(V, f)), g.onclick = (V) => N(V, f + 1)), g.ondblclick = (V) => Q(V, f + 1), r.parentNode.insertBefore(g, r);
|
|
833
|
+
}, Ee = (c) => {
|
|
782
834
|
c.onmousedown = void 0, c.onclick = void 0, c.ondblclick = void 0, c.remove();
|
|
783
|
-
},
|
|
835
|
+
}, $ = () => {
|
|
784
836
|
var c;
|
|
785
837
|
const r = Array.from(((c = p.value) == null ? void 0 : c.children) || []);
|
|
786
|
-
for (const
|
|
787
|
-
|
|
838
|
+
for (const f of r)
|
|
839
|
+
f.className.includes("splitpanes__splitter") && Ee(f);
|
|
788
840
|
let h = 0;
|
|
789
|
-
for (const
|
|
790
|
-
|
|
841
|
+
for (const f of r)
|
|
842
|
+
f.className.includes("splitpanes__pane") && (!h && a.firstSplitter ? ye(h, f, !0) : h && ye(h, f), h++);
|
|
791
843
|
}, Me = ({ uid: c, ...r }) => {
|
|
792
844
|
const h = d.value[c];
|
|
793
|
-
for (const [
|
|
794
|
-
},
|
|
845
|
+
for (const [f, g] of Object.entries(r)) h[f] = g;
|
|
846
|
+
}, Te = (c) => {
|
|
795
847
|
var r;
|
|
796
848
|
let h = -1;
|
|
797
|
-
Array.from(((r = p.value) == null ? void 0 : r.children) || []).some((
|
|
798
|
-
|
|
849
|
+
Array.from(((r = p.value) == null ? void 0 : r.children) || []).some((f) => (f.className.includes("splitpanes__pane") && h++, f.isSameNode(c.el))), s.value.splice(h, 0, { ...c, index: h }), s.value.forEach((f, g) => f.index = g), v.value && Fe(() => {
|
|
850
|
+
$(), de({ addedPane: s.value[h] }), L("pane-add", { pane: s.value[h] });
|
|
799
851
|
});
|
|
800
|
-
},
|
|
801
|
-
const r =
|
|
802
|
-
|
|
803
|
-
const h =
|
|
804
|
-
|
|
805
|
-
|
|
852
|
+
}, Ie = (c) => {
|
|
853
|
+
const r = s.value.findIndex((f) => f.id === c);
|
|
854
|
+
s.value[r].el = null;
|
|
855
|
+
const h = s.value.splice(r, 1)[0];
|
|
856
|
+
s.value.forEach((f, g) => f.index = g), Fe(() => {
|
|
857
|
+
$(), L("pane-remove", { pane: h }), de({ removedPane: { ...h } });
|
|
806
858
|
});
|
|
807
|
-
},
|
|
808
|
-
!c.addedPane && !c.removedPane ?
|
|
809
|
-
}, Ie = () => {
|
|
810
|
-
const c = 100 / f.value;
|
|
811
|
-
let r = 0;
|
|
812
|
-
const h = [], m = [];
|
|
813
|
-
for (const g of n.value)
|
|
814
|
-
g.size = Math.max(Math.min(c, g.max), g.min), r -= g.size, g.size >= g.max && h.push(g.id), g.size <= g.min && m.push(g.id);
|
|
815
|
-
r > 0.1 && ae(r, h, m);
|
|
859
|
+
}, de = (c = {}) => {
|
|
860
|
+
!c.addedPane && !c.removedPane ? Ue() : s.value.some((r) => r.givenSize !== null || r.min || r.max < 100) ? Pe(c) : De(), v.value && L("resized");
|
|
816
861
|
}, De = () => {
|
|
862
|
+
const c = 100 / m.value;
|
|
863
|
+
let r = 0;
|
|
864
|
+
const h = [], f = [];
|
|
865
|
+
for (const g of s.value)
|
|
866
|
+
g.size = Math.max(Math.min(c, g.max), g.min), r -= g.size, g.size >= g.max && h.push(g.id), g.size <= g.min && f.push(g.id);
|
|
867
|
+
r > 0.1 && ce(r, h, f);
|
|
868
|
+
}, Ue = () => {
|
|
817
869
|
let c = 100;
|
|
818
870
|
const r = [], h = [];
|
|
819
|
-
let
|
|
820
|
-
for (const V of
|
|
821
|
-
c -= V.size, V.givenSize !== null &&
|
|
871
|
+
let f = 0;
|
|
872
|
+
for (const V of s.value)
|
|
873
|
+
c -= V.size, V.givenSize !== null && f++, V.size >= V.max && r.push(V.id), V.size <= V.min && h.push(V.id);
|
|
822
874
|
let g = 100;
|
|
823
875
|
if (c > 0.1) {
|
|
824
|
-
for (const V of
|
|
825
|
-
V.givenSize === null && (V.size = Math.max(Math.min(c / (
|
|
826
|
-
g > 0.1 &&
|
|
876
|
+
for (const V of s.value)
|
|
877
|
+
V.givenSize === null && (V.size = Math.max(Math.min(c / (m.value - f), V.max), V.min)), g -= V.size;
|
|
878
|
+
g > 0.1 && ce(g, r, h);
|
|
827
879
|
}
|
|
828
880
|
}, Pe = ({ addedPane: c, removedPane: r } = {}) => {
|
|
829
|
-
let h = 100 /
|
|
881
|
+
let h = 100 / m.value, f = 0;
|
|
830
882
|
const g = [], V = [];
|
|
831
|
-
((c == null ? void 0 : c.givenSize) ?? null) !== null && (h = (100 - c.givenSize) / (
|
|
832
|
-
for (const I of
|
|
833
|
-
|
|
834
|
-
if (!(Math.abs(
|
|
835
|
-
for (const I of
|
|
836
|
-
(c == null ? void 0 : c.givenSize) !== null && (c == null ? void 0 : c.id) === I.id || (I.size = Math.max(Math.min(h, I.max), I.min)),
|
|
837
|
-
|
|
883
|
+
((c == null ? void 0 : c.givenSize) ?? null) !== null && (h = (100 - c.givenSize) / (m.value - 1));
|
|
884
|
+
for (const I of s.value)
|
|
885
|
+
f -= I.size, I.size >= I.max && g.push(I.id), I.size <= I.min && V.push(I.id);
|
|
886
|
+
if (!(Math.abs(f) < 0.1)) {
|
|
887
|
+
for (const I of s.value)
|
|
888
|
+
(c == null ? void 0 : c.givenSize) !== null && (c == null ? void 0 : c.id) === I.id || (I.size = Math.max(Math.min(h, I.max), I.min)), f -= I.size, I.size >= I.max && g.push(I.id), I.size <= I.min && V.push(I.id);
|
|
889
|
+
f > 0.1 && ce(f, g, V);
|
|
838
890
|
}
|
|
839
|
-
},
|
|
840
|
-
let
|
|
841
|
-
c > 0 ?
|
|
891
|
+
}, ce = (c, r, h) => {
|
|
892
|
+
let f;
|
|
893
|
+
c > 0 ? f = c / (m.value - r.length) : f = c / (m.value - h.length), s.value.forEach((g, V) => {
|
|
842
894
|
if (c > 0 && !r.includes(g.id)) {
|
|
843
|
-
const I = Math.max(Math.min(g.size +
|
|
895
|
+
const I = Math.max(Math.min(g.size + f, g.max), g.min), A = I - g.size;
|
|
844
896
|
c -= A, g.size = I;
|
|
845
897
|
} else if (!h.includes(g.id)) {
|
|
846
|
-
const I = Math.max(Math.min(g.size +
|
|
898
|
+
const I = Math.max(Math.min(g.size + f, g.max), g.min), A = I - g.size;
|
|
847
899
|
c -= A, g.size = I;
|
|
848
900
|
}
|
|
849
|
-
}), Math.abs(c) > 0.1 &&
|
|
901
|
+
}), Math.abs(c) > 0.1 && Fe(() => {
|
|
850
902
|
v.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
851
903
|
});
|
|
852
|
-
},
|
|
853
|
-
const
|
|
854
|
-
|
|
904
|
+
}, L = (c, r = void 0, h = !1) => {
|
|
905
|
+
const f = (r == null ? void 0 : r.index) ?? w.value.activeSplitter ?? null;
|
|
906
|
+
n(c, {
|
|
855
907
|
...r,
|
|
856
|
-
...
|
|
857
|
-
...h &&
|
|
858
|
-
prevPane:
|
|
859
|
-
nextPane:
|
|
908
|
+
...f !== null && { index: f },
|
|
909
|
+
...h && f !== null && {
|
|
910
|
+
prevPane: s.value[f - (a.firstSplitter ? 1 : 0)],
|
|
911
|
+
nextPane: s.value[f + (a.firstSplitter ? 0 : 1)]
|
|
860
912
|
},
|
|
861
|
-
panes:
|
|
913
|
+
panes: s.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
862
914
|
});
|
|
863
915
|
};
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
}),
|
|
867
|
-
const
|
|
916
|
+
ke(() => a.firstSplitter, () => $()), Xe(() => {
|
|
917
|
+
we(), $(), de(), L("ready"), v.value = !0;
|
|
918
|
+
}), Qe(() => v.value = !1);
|
|
919
|
+
const ze = () => {
|
|
868
920
|
var c;
|
|
869
921
|
return ct(
|
|
870
922
|
"div",
|
|
@@ -872,7 +924,7 @@ const It = /* @__PURE__ */ q(Et, [["render", Tt]]), Dt = {
|
|
|
872
924
|
(c = i.default) == null ? void 0 : c.call(i)
|
|
873
925
|
);
|
|
874
926
|
};
|
|
875
|
-
return
|
|
927
|
+
return Z("panes", s), Z("indexedPanes", d), Z("horizontal", W(() => a.horizontal)), Z("requestUpdate", Me), Z("onPaneAdd", Te), Z("onPaneRemove", Ie), Z("onPaneClick", re), (c, r) => (y(), T(dt(ze)));
|
|
876
928
|
}
|
|
877
929
|
}, Pt = {
|
|
878
930
|
__name: "pane",
|
|
@@ -883,41 +935,41 @@ const It = /* @__PURE__ */ q(Et, [["render", Tt]]), Dt = {
|
|
|
883
935
|
},
|
|
884
936
|
setup(t) {
|
|
885
937
|
var e;
|
|
886
|
-
const
|
|
887
|
-
const _ = isNaN(
|
|
938
|
+
const n = t, a = te("requestUpdate"), i = te("onPaneAdd"), s = te("horizontal"), d = te("onPaneRemove"), m = te("onPaneClick"), p = (e = lt()) == null ? void 0 : e.uid, v = te("indexedPanes"), w = W(() => v.value[p]), x = ne(null), b = W(() => {
|
|
939
|
+
const _ = isNaN(n.size) || n.size === void 0 ? 0 : parseFloat(n.size);
|
|
888
940
|
return Math.max(Math.min(_, C.value), R.value);
|
|
889
|
-
}), R =
|
|
890
|
-
const _ = parseFloat(
|
|
941
|
+
}), R = W(() => {
|
|
942
|
+
const _ = parseFloat(n.minSize);
|
|
891
943
|
return isNaN(_) ? 0 : _;
|
|
892
|
-
}), C =
|
|
893
|
-
const _ = parseFloat(
|
|
944
|
+
}), C = W(() => {
|
|
945
|
+
const _ = parseFloat(n.maxSize);
|
|
894
946
|
return isNaN(_) ? 100 : _;
|
|
895
|
-
}),
|
|
947
|
+
}), E = W(() => {
|
|
896
948
|
var _;
|
|
897
|
-
return `${
|
|
949
|
+
return `${s.value ? "height" : "width"}: ${(_ = w.value) == null ? void 0 : _.size}%`;
|
|
898
950
|
});
|
|
899
|
-
return
|
|
951
|
+
return ke(() => b.value, (_) => a({ uid: p, size: _ })), ke(() => R.value, (_) => a({ uid: p, min: _ })), ke(() => C.value, (_) => a({ uid: p, max: _ })), Xe(() => {
|
|
900
952
|
i({
|
|
901
953
|
id: p,
|
|
902
954
|
el: x.value,
|
|
903
955
|
min: R.value,
|
|
904
956
|
max: C.value,
|
|
905
957
|
// The given size (useful to know the user intention).
|
|
906
|
-
givenSize:
|
|
958
|
+
givenSize: n.size === void 0 ? null : b.value,
|
|
907
959
|
size: b.value
|
|
908
960
|
// The computed current size at any time.
|
|
909
961
|
});
|
|
910
|
-
}),
|
|
962
|
+
}), Qe(() => d(p)), (_, U) => (y(), P("div", {
|
|
911
963
|
ref_key: "paneEl",
|
|
912
964
|
ref: x,
|
|
913
965
|
class: "splitpanes__pane",
|
|
914
|
-
onClick: U[0] || (U[0] = (
|
|
915
|
-
style:
|
|
966
|
+
onClick: U[0] || (U[0] = (N) => rt(m)(N, _._.uid)),
|
|
967
|
+
style: Se(E.value)
|
|
916
968
|
}, [
|
|
917
969
|
at(_.$slots, "default")
|
|
918
970
|
], 4));
|
|
919
971
|
}
|
|
920
|
-
},
|
|
972
|
+
}, zt = {
|
|
921
973
|
props: {
|
|
922
974
|
question: {
|
|
923
975
|
type: String,
|
|
@@ -965,12 +1017,12 @@ const It = /* @__PURE__ */ q(Et, [["render", Tt]]), Dt = {
|
|
|
965
1017
|
this.$emit("response", "Cancel");
|
|
966
1018
|
}
|
|
967
1019
|
}
|
|
968
|
-
},
|
|
969
|
-
function
|
|
970
|
-
const d = u("v-spacer"),
|
|
1020
|
+
}, At = { class: "pa-2" }, Ft = { class: "question" };
|
|
1021
|
+
function Bt(t, e, n, a, i, s) {
|
|
1022
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-text-field"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-form"), R = u("v-card"), C = u("v-dialog");
|
|
971
1023
|
return y(), T(C, {
|
|
972
|
-
modelValue:
|
|
973
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1024
|
+
modelValue: s.show,
|
|
1025
|
+
"onUpdate:modelValue": e[2] || (e[2] = (E) => s.show = E),
|
|
974
1026
|
persistent: "",
|
|
975
1027
|
width: "600"
|
|
976
1028
|
}, {
|
|
@@ -979,11 +1031,11 @@ function Ft(t, e, s, a, i, n) {
|
|
|
979
1031
|
default: l(() => [
|
|
980
1032
|
o(b, {
|
|
981
1033
|
modelValue: i.valid,
|
|
982
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
983
|
-
onSubmit:
|
|
1034
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.valid = E),
|
|
1035
|
+
onSubmit: le(s.submitHandler, ["prevent"])
|
|
984
1036
|
}, {
|
|
985
1037
|
default: l(() => [
|
|
986
|
-
o(
|
|
1038
|
+
o(m, { height: "24" }, {
|
|
987
1039
|
default: l(() => [
|
|
988
1040
|
o(d),
|
|
989
1041
|
e[3] || (e[3] = S("span", null, " User Input Required ", -1)),
|
|
@@ -991,16 +1043,16 @@ function Ft(t, e, s, a, i, n) {
|
|
|
991
1043
|
]),
|
|
992
1044
|
_: 1
|
|
993
1045
|
}),
|
|
994
|
-
S("div",
|
|
1046
|
+
S("div", At, [
|
|
995
1047
|
o(v, null, {
|
|
996
1048
|
default: l(() => [
|
|
997
|
-
S("div",
|
|
1049
|
+
S("div", Ft, z(n.question), 1),
|
|
998
1050
|
o(p, {
|
|
999
1051
|
modelValue: i.inputValue,
|
|
1000
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1052
|
+
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.inputValue = E),
|
|
1001
1053
|
autofocus: "",
|
|
1002
1054
|
"data-test": "ask-value-input",
|
|
1003
|
-
type:
|
|
1055
|
+
type: n.password ? "password" : "text",
|
|
1004
1056
|
rules: i.rules
|
|
1005
1057
|
}, null, 8, ["modelValue", "type", "rules"])
|
|
1006
1058
|
]),
|
|
@@ -1013,11 +1065,11 @@ function Ft(t, e, s, a, i, n) {
|
|
|
1013
1065
|
o(w, {
|
|
1014
1066
|
variant: "outlined",
|
|
1015
1067
|
"data-test": "ask-cancel",
|
|
1016
|
-
onClick:
|
|
1068
|
+
onClick: s.cancelHandler
|
|
1017
1069
|
}, {
|
|
1018
|
-
default: l(() => e[4] || (e[4] = [
|
|
1019
|
-
k(" Cancel ")
|
|
1020
|
-
])),
|
|
1070
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1071
|
+
k(" Cancel ", -1)
|
|
1072
|
+
])]),
|
|
1021
1073
|
_: 1
|
|
1022
1074
|
}, 8, ["onClick"]),
|
|
1023
1075
|
o(w, {
|
|
@@ -1025,11 +1077,11 @@ function Ft(t, e, s, a, i, n) {
|
|
|
1025
1077
|
type: "submit",
|
|
1026
1078
|
"data-test": "ask-ok",
|
|
1027
1079
|
disabled: !i.valid,
|
|
1028
|
-
onClick:
|
|
1080
|
+
onClick: le(s.submitHandler, ["prevent"])
|
|
1029
1081
|
}, {
|
|
1030
|
-
default: l(() => e[5] || (e[5] = [
|
|
1031
|
-
k(" Ok ")
|
|
1032
|
-
])),
|
|
1082
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1083
|
+
k(" Ok ", -1)
|
|
1084
|
+
])]),
|
|
1033
1085
|
_: 1
|
|
1034
1086
|
}, 8, ["disabled", "onClick"])
|
|
1035
1087
|
]),
|
|
@@ -1045,7 +1097,7 @@ function Ft(t, e, s, a, i, n) {
|
|
|
1045
1097
|
_: 1
|
|
1046
1098
|
}, 8, ["modelValue"]);
|
|
1047
1099
|
}
|
|
1048
|
-
const
|
|
1100
|
+
const Lt = /* @__PURE__ */ q(zt, [["render", Bt], ["__scopeId", "data-v-ae138b51"]]), Nt = {
|
|
1049
1101
|
props: {
|
|
1050
1102
|
title: {
|
|
1051
1103
|
type: String,
|
|
@@ -1092,12 +1144,12 @@ const Bt = /* @__PURE__ */ q(Ut, [["render", Ft], ["__scopeId", "data-v-ae138b51
|
|
|
1092
1144
|
this.$emit("response", "Cancel");
|
|
1093
1145
|
}
|
|
1094
1146
|
}
|
|
1095
|
-
},
|
|
1096
|
-
function
|
|
1097
|
-
const d = u("v-spacer"),
|
|
1098
|
-
return y(), T(
|
|
1099
|
-
modelValue:
|
|
1100
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1147
|
+
}, Ht = { class: "pa-2" }, Gt = { class: "title" }, qt = ["textContent"];
|
|
1148
|
+
function jt(t, e, n, a, i, s) {
|
|
1149
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-row"), v = u("v-file-input"), w = u("v-card-text"), x = u("v-btn"), b = u("v-card-actions"), R = u("v-form"), C = u("v-card"), E = u("v-dialog");
|
|
1150
|
+
return y(), T(E, {
|
|
1151
|
+
modelValue: s.show,
|
|
1152
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1101
1153
|
persistent: "",
|
|
1102
1154
|
width: "600"
|
|
1103
1155
|
}, {
|
|
@@ -1107,10 +1159,10 @@ function qt(t, e, s, a, i, n) {
|
|
|
1107
1159
|
o(R, {
|
|
1108
1160
|
modelValue: i.valid,
|
|
1109
1161
|
"onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
|
|
1110
|
-
onSubmit:
|
|
1162
|
+
onSubmit: le(s.submitHandler, ["prevent"])
|
|
1111
1163
|
}, {
|
|
1112
1164
|
default: l(() => [
|
|
1113
|
-
o(
|
|
1165
|
+
o(m, { height: "24" }, {
|
|
1114
1166
|
default: l(() => [
|
|
1115
1167
|
o(d),
|
|
1116
1168
|
e[3] || (e[3] = S("span", null, " File Dialog ", -1)),
|
|
@@ -1118,22 +1170,22 @@ function qt(t, e, s, a, i, n) {
|
|
|
1118
1170
|
]),
|
|
1119
1171
|
_: 1
|
|
1120
1172
|
}),
|
|
1121
|
-
S("div",
|
|
1173
|
+
S("div", Ht, [
|
|
1122
1174
|
o(w, null, {
|
|
1123
1175
|
default: l(() => [
|
|
1124
1176
|
o(p, null, {
|
|
1125
1177
|
default: l(() => [
|
|
1126
|
-
S("span",
|
|
1178
|
+
S("span", Gt, z(n.title), 1)
|
|
1127
1179
|
]),
|
|
1128
1180
|
_: 1
|
|
1129
1181
|
}),
|
|
1130
|
-
|
|
1182
|
+
n.message ? (y(), T(p, { key: 0 }, {
|
|
1131
1183
|
default: l(() => [
|
|
1132
1184
|
S("span", {
|
|
1133
1185
|
class: "ma-3",
|
|
1134
1186
|
style: { "white-space": "pre-line" },
|
|
1135
|
-
textContent: z(
|
|
1136
|
-
}, null, 8,
|
|
1187
|
+
textContent: z(n.message)
|
|
1188
|
+
}, null, 8, qt)
|
|
1137
1189
|
]),
|
|
1138
1190
|
_: 1
|
|
1139
1191
|
})) : D("", !0),
|
|
@@ -1146,9 +1198,9 @@ function qt(t, e, s, a, i, n) {
|
|
|
1146
1198
|
rules: i.rules,
|
|
1147
1199
|
autofocus: "",
|
|
1148
1200
|
"data-test": "file-input",
|
|
1149
|
-
accept:
|
|
1201
|
+
accept: n.filter,
|
|
1150
1202
|
"small-chips": "",
|
|
1151
|
-
multiple:
|
|
1203
|
+
multiple: n.multiple
|
|
1152
1204
|
}, null, 8, ["modelValue", "rules", "accept", "multiple"])
|
|
1153
1205
|
]),
|
|
1154
1206
|
_: 1
|
|
@@ -1163,11 +1215,11 @@ function qt(t, e, s, a, i, n) {
|
|
|
1163
1215
|
o(x, {
|
|
1164
1216
|
variant: "outlined",
|
|
1165
1217
|
"data-test": "file-cancel",
|
|
1166
|
-
onClick:
|
|
1218
|
+
onClick: s.cancelHandler
|
|
1167
1219
|
}, {
|
|
1168
|
-
default: l(() => e[4] || (e[4] = [
|
|
1169
|
-
k(" Cancel ")
|
|
1170
|
-
])),
|
|
1220
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1221
|
+
k(" Cancel ", -1)
|
|
1222
|
+
])]),
|
|
1171
1223
|
_: 1
|
|
1172
1224
|
}, 8, ["onClick"]),
|
|
1173
1225
|
o(x, {
|
|
@@ -1175,11 +1227,11 @@ function qt(t, e, s, a, i, n) {
|
|
|
1175
1227
|
type: "submit",
|
|
1176
1228
|
"data-test": "file-ok",
|
|
1177
1229
|
disabled: !i.valid,
|
|
1178
|
-
onClick:
|
|
1230
|
+
onClick: le(s.submitHandler, ["prevent"])
|
|
1179
1231
|
}, {
|
|
1180
|
-
default: l(() => e[5] || (e[5] = [
|
|
1181
|
-
k(" Ok ")
|
|
1182
|
-
])),
|
|
1232
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1233
|
+
k(" Ok ", -1)
|
|
1234
|
+
])]),
|
|
1183
1235
|
_: 1
|
|
1184
1236
|
}, 8, ["disabled", "onClick"])
|
|
1185
1237
|
]),
|
|
@@ -1195,7 +1247,7 @@ function qt(t, e, s, a, i, n) {
|
|
|
1195
1247
|
_: 1
|
|
1196
1248
|
}, 8, ["modelValue"]);
|
|
1197
1249
|
}
|
|
1198
|
-
const
|
|
1250
|
+
const Kt = /* @__PURE__ */ q(Nt, [["render", jt], ["__scopeId", "data-v-40c2cac1"]]), Wt = {
|
|
1199
1251
|
props: {
|
|
1200
1252
|
modelValue: {
|
|
1201
1253
|
type: Boolean,
|
|
@@ -1225,40 +1277,40 @@ const jt = /* @__PURE__ */ q(Lt, [["render", qt], ["__scopeId", "data-v-40c2cac1
|
|
|
1225
1277
|
}
|
|
1226
1278
|
},
|
|
1227
1279
|
methods: {}
|
|
1228
|
-
},
|
|
1229
|
-
function
|
|
1230
|
-
const d = u("v-spacer"),
|
|
1280
|
+
}, Jt = ["textContent"], Yt = { class: "pa-2" }, Zt = ["textContent"];
|
|
1281
|
+
function Xt(t, e, n, a, i, s) {
|
|
1282
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-row"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-card"), R = u("v-dialog");
|
|
1231
1283
|
return y(), T(R, {
|
|
1232
|
-
modelValue:
|
|
1233
|
-
"onUpdate:modelValue": e[1] || (e[1] = (C) =>
|
|
1234
|
-
width:
|
|
1284
|
+
modelValue: s.show,
|
|
1285
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
|
|
1286
|
+
width: n.width
|
|
1235
1287
|
}, {
|
|
1236
1288
|
default: l(() => [
|
|
1237
1289
|
o(b, null, {
|
|
1238
1290
|
default: l(() => [
|
|
1239
|
-
o(
|
|
1291
|
+
o(m, { height: "24" }, {
|
|
1240
1292
|
default: l(() => [
|
|
1241
1293
|
o(d),
|
|
1242
1294
|
S("span", {
|
|
1243
|
-
style: { "white-space": "pre
|
|
1244
|
-
textContent: z(
|
|
1245
|
-
}, null, 8,
|
|
1295
|
+
style: { "white-space": "pre" },
|
|
1296
|
+
textContent: z(n.title)
|
|
1297
|
+
}, null, 8, Jt),
|
|
1246
1298
|
o(d)
|
|
1247
1299
|
]),
|
|
1248
1300
|
_: 1
|
|
1249
1301
|
}),
|
|
1250
|
-
S("div",
|
|
1302
|
+
S("div", Yt, [
|
|
1251
1303
|
o(v, null, {
|
|
1252
1304
|
default: l(() => [
|
|
1253
|
-
(y(!0), P(
|
|
1305
|
+
(y(!0), P(oe, null, Ne(n.text, (C, E) => (y(), T(p, {
|
|
1254
1306
|
"no-gutters": "",
|
|
1255
|
-
key:
|
|
1307
|
+
key: E
|
|
1256
1308
|
}, {
|
|
1257
1309
|
default: l(() => [
|
|
1258
1310
|
S("span", {
|
|
1259
|
-
style: { "white-space": "pre
|
|
1311
|
+
style: { "white-space": "pre" },
|
|
1260
1312
|
textContent: z(C)
|
|
1261
|
-
}, null, 8,
|
|
1313
|
+
}, null, 8, Zt)
|
|
1262
1314
|
]),
|
|
1263
1315
|
_: 2
|
|
1264
1316
|
}, 1024))), 128))
|
|
@@ -1271,11 +1323,11 @@ function Zt(t, e, s, a, i, n) {
|
|
|
1271
1323
|
o(d),
|
|
1272
1324
|
o(w, {
|
|
1273
1325
|
variant: "flat",
|
|
1274
|
-
onClick: e[0] || (e[0] = (C) =>
|
|
1326
|
+
onClick: e[0] || (e[0] = (C) => s.show = !s.show)
|
|
1275
1327
|
}, {
|
|
1276
|
-
default: l(() => e[2] || (e[2] = [
|
|
1277
|
-
k(" Ok ")
|
|
1278
|
-
])),
|
|
1328
|
+
default: l(() => [...e[2] || (e[2] = [
|
|
1329
|
+
k(" Ok ", -1)
|
|
1330
|
+
])]),
|
|
1279
1331
|
_: 1
|
|
1280
1332
|
})
|
|
1281
1333
|
]),
|
|
@@ -1288,7 +1340,7 @@ function Zt(t, e, s, a, i, n) {
|
|
|
1288
1340
|
_: 1
|
|
1289
1341
|
}, 8, ["modelValue", "width"]);
|
|
1290
1342
|
}
|
|
1291
|
-
const
|
|
1343
|
+
const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
|
|
1292
1344
|
components: {},
|
|
1293
1345
|
props: {
|
|
1294
1346
|
modelValue: {
|
|
@@ -1322,7 +1374,7 @@ const Xt = /* @__PURE__ */ q(Kt, [["render", Zt]]), Qt = {
|
|
|
1322
1374
|
}
|
|
1323
1375
|
},
|
|
1324
1376
|
created: function() {
|
|
1325
|
-
this.api = new
|
|
1377
|
+
this.api = new Re(), this.getOverrides();
|
|
1326
1378
|
},
|
|
1327
1379
|
methods: {
|
|
1328
1380
|
getOverrides: function() {
|
|
@@ -1346,7 +1398,7 @@ const Xt = /* @__PURE__ */ q(Kt, [["render", Zt]]), Qt = {
|
|
|
1346
1398
|
e.packet_name,
|
|
1347
1399
|
e.item_name,
|
|
1348
1400
|
"ALL"
|
|
1349
|
-
).then((
|
|
1401
|
+
).then((n) => {
|
|
1350
1402
|
this.overrides = [];
|
|
1351
1403
|
});
|
|
1352
1404
|
},
|
|
@@ -1357,23 +1409,23 @@ const Xt = /* @__PURE__ */ q(Kt, [["render", Zt]]), Qt = {
|
|
|
1357
1409
|
t.item_name,
|
|
1358
1410
|
t.value_type
|
|
1359
1411
|
).then((e) => {
|
|
1360
|
-
let
|
|
1361
|
-
this.overrides.splice(
|
|
1412
|
+
let n = this.overrides.indexOf(t);
|
|
1413
|
+
this.overrides.splice(n, 1);
|
|
1362
1414
|
});
|
|
1363
1415
|
}
|
|
1364
1416
|
}
|
|
1365
|
-
},
|
|
1366
|
-
function
|
|
1367
|
-
const d = u("v-spacer"),
|
|
1368
|
-
return y(), T(
|
|
1369
|
-
modelValue:
|
|
1370
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1417
|
+
}, ei = { class: "pa-2" };
|
|
1418
|
+
function ti(t, e, n, a, i, s) {
|
|
1419
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-btn"), v = u("v-text-field"), w = u("v-row"), x = u("v-data-table"), b = u("v-card-text"), R = u("v-card-actions"), C = u("v-card"), E = u("v-dialog");
|
|
1420
|
+
return y(), T(E, {
|
|
1421
|
+
modelValue: s.show,
|
|
1422
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1371
1423
|
width: "1000"
|
|
1372
1424
|
}, {
|
|
1373
1425
|
default: l(() => [
|
|
1374
1426
|
o(C, null, {
|
|
1375
1427
|
default: l(() => [
|
|
1376
|
-
o(
|
|
1428
|
+
o(m, { height: "24" }, {
|
|
1377
1429
|
default: l(() => [
|
|
1378
1430
|
o(d),
|
|
1379
1431
|
e[3] || (e[3] = S("span", null, "Overrides", -1)),
|
|
@@ -1381,7 +1433,7 @@ function ei(t, e, s, a, i, n) {
|
|
|
1381
1433
|
]),
|
|
1382
1434
|
_: 1
|
|
1383
1435
|
}),
|
|
1384
|
-
S("div",
|
|
1436
|
+
S("div", ei, [
|
|
1385
1437
|
o(b, null, {
|
|
1386
1438
|
default: l(() => [
|
|
1387
1439
|
o(w, { class: "ma-1" }, {
|
|
@@ -1389,11 +1441,11 @@ function ei(t, e, s, a, i, n) {
|
|
|
1389
1441
|
o(p, {
|
|
1390
1442
|
color: "primary",
|
|
1391
1443
|
"data-test": "overrides-dialog-clear-all",
|
|
1392
|
-
onClick:
|
|
1444
|
+
onClick: s.clearOverrides
|
|
1393
1445
|
}, {
|
|
1394
|
-
default: l(() => e[4] || (e[4] = [
|
|
1395
|
-
k(" Clear All Overrides ")
|
|
1396
|
-
])),
|
|
1446
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1447
|
+
k(" Clear All Overrides ", -1)
|
|
1448
|
+
])]),
|
|
1397
1449
|
_: 1
|
|
1398
1450
|
}, 8, ["onClick"]),
|
|
1399
1451
|
o(d),
|
|
@@ -1424,7 +1476,7 @@ function ei(t, e, s, a, i, n) {
|
|
|
1424
1476
|
icon: "mdi-delete",
|
|
1425
1477
|
variant: "text",
|
|
1426
1478
|
"aria-label": "Delete Override",
|
|
1427
|
-
onClick: (U) =>
|
|
1479
|
+
onClick: (U) => s.deleteOverride(_)
|
|
1428
1480
|
}, null, 8, ["onClick"])
|
|
1429
1481
|
]),
|
|
1430
1482
|
_: 1
|
|
@@ -1439,11 +1491,11 @@ function ei(t, e, s, a, i, n) {
|
|
|
1439
1491
|
o(p, {
|
|
1440
1492
|
variant: "flat",
|
|
1441
1493
|
"data-test": "overrides-dialog-ok",
|
|
1442
|
-
onClick: e[1] || (e[1] = (_) =>
|
|
1494
|
+
onClick: e[1] || (e[1] = (_) => s.show = !s.show)
|
|
1443
1495
|
}, {
|
|
1444
|
-
default: l(() => e[5] || (e[5] = [
|
|
1445
|
-
k(" Ok ")
|
|
1446
|
-
])),
|
|
1496
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1497
|
+
k(" Ok ", -1)
|
|
1498
|
+
])]),
|
|
1447
1499
|
_: 1
|
|
1448
1500
|
})
|
|
1449
1501
|
]),
|
|
@@ -1456,7 +1508,7 @@ function ei(t, e, s, a, i, n) {
|
|
|
1456
1508
|
_: 1
|
|
1457
1509
|
}, 8, ["modelValue"]);
|
|
1458
1510
|
}
|
|
1459
|
-
const
|
|
1511
|
+
const ii = /* @__PURE__ */ q($t, [["render", ti]]), si = {
|
|
1460
1512
|
props: {
|
|
1461
1513
|
title: {
|
|
1462
1514
|
type: String,
|
|
@@ -1521,37 +1573,37 @@ const ti = /* @__PURE__ */ q(Qt, [["render", ei]]), ii = {
|
|
|
1521
1573
|
this.$emit("response", "Cancel");
|
|
1522
1574
|
}
|
|
1523
1575
|
}
|
|
1524
|
-
},
|
|
1525
|
-
function
|
|
1526
|
-
const d = u("v-spacer"),
|
|
1527
|
-
return y(), T(
|
|
1528
|
-
modelValue:
|
|
1529
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
1576
|
+
}, ni = ["textContent"], oi = { class: "pa-2" }, li = ["textContent"], ri = ["textContent"], ai = { key: 0 }, ui = { key: 1 };
|
|
1577
|
+
function di(t, e, n, a, i, s) {
|
|
1578
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-card-subtitle"), v = u("v-row"), w = u("v-card-text"), x = u("v-select"), b = u("v-btn"), R = u("v-card-actions"), C = u("v-card"), E = u("v-dialog");
|
|
1579
|
+
return y(), T(E, {
|
|
1580
|
+
modelValue: s.show,
|
|
1581
|
+
"onUpdate:modelValue": e[2] || (e[2] = (_) => s.show = _),
|
|
1530
1582
|
persistent: "",
|
|
1531
1583
|
width: "600"
|
|
1532
1584
|
}, {
|
|
1533
1585
|
default: l(() => [
|
|
1534
1586
|
o(C, null, {
|
|
1535
1587
|
default: l(() => [
|
|
1536
|
-
o(
|
|
1588
|
+
o(m, { height: "24" }, {
|
|
1537
1589
|
default: l(() => [
|
|
1538
1590
|
o(d),
|
|
1539
1591
|
S("span", {
|
|
1540
1592
|
class: "text",
|
|
1541
|
-
textContent: z(
|
|
1542
|
-
}, null, 8,
|
|
1593
|
+
textContent: z(n.title)
|
|
1594
|
+
}, null, 8, ni),
|
|
1543
1595
|
o(d)
|
|
1544
1596
|
]),
|
|
1545
1597
|
_: 1
|
|
1546
1598
|
}),
|
|
1547
|
-
S("div",
|
|
1599
|
+
S("div", oi, [
|
|
1548
1600
|
o(w, { class: "text" }, {
|
|
1549
1601
|
default: l(() => [
|
|
1550
|
-
|
|
1602
|
+
n.subtitle ? (y(), T(v, { key: 0 }, {
|
|
1551
1603
|
default: l(() => [
|
|
1552
1604
|
o(p, null, {
|
|
1553
1605
|
default: l(() => [
|
|
1554
|
-
k(z(
|
|
1606
|
+
k(z(n.subtitle), 1)
|
|
1555
1607
|
]),
|
|
1556
1608
|
_: 1
|
|
1557
1609
|
})
|
|
@@ -1561,19 +1613,19 @@ function ui(t, e, s, a, i, n) {
|
|
|
1561
1613
|
o(v, { class: "mt-1" }, {
|
|
1562
1614
|
default: l(() => [
|
|
1563
1615
|
S("span", {
|
|
1564
|
-
textContent: z(
|
|
1565
|
-
}, null, 8,
|
|
1616
|
+
textContent: z(n.message)
|
|
1617
|
+
}, null, 8, li)
|
|
1566
1618
|
]),
|
|
1567
1619
|
_: 1
|
|
1568
1620
|
}),
|
|
1569
|
-
|
|
1621
|
+
n.details ? (y(), T(v, {
|
|
1570
1622
|
key: 1,
|
|
1571
1623
|
class: "mt-1"
|
|
1572
1624
|
}, {
|
|
1573
1625
|
default: l(() => [
|
|
1574
1626
|
S("span", {
|
|
1575
|
-
textContent: z(
|
|
1576
|
-
}, null, 8,
|
|
1627
|
+
textContent: z(n.details)
|
|
1628
|
+
}, null, 8, ri)
|
|
1577
1629
|
]),
|
|
1578
1630
|
_: 1
|
|
1579
1631
|
})) : D("", !0)
|
|
@@ -1581,7 +1633,7 @@ function ui(t, e, s, a, i, n) {
|
|
|
1581
1633
|
_: 1
|
|
1582
1634
|
})
|
|
1583
1635
|
]),
|
|
1584
|
-
|
|
1636
|
+
n.layout === "combo" ? (y(), P("div", ai, [
|
|
1585
1637
|
o(v, { class: "ma-2" }, {
|
|
1586
1638
|
default: l(() => [
|
|
1587
1639
|
o(x, {
|
|
@@ -1594,8 +1646,8 @@ function ui(t, e, s, a, i, n) {
|
|
|
1594
1646
|
color: "secondary",
|
|
1595
1647
|
class: "ma-1",
|
|
1596
1648
|
"data-test": "prompt-select",
|
|
1597
|
-
items:
|
|
1598
|
-
multiple:
|
|
1649
|
+
items: n.buttons,
|
|
1650
|
+
multiple: n.multiple === !0
|
|
1599
1651
|
}, null, 8, ["modelValue", "items", "multiple"])
|
|
1600
1652
|
]),
|
|
1601
1653
|
_: 1
|
|
@@ -1606,48 +1658,48 @@ function ui(t, e, s, a, i, n) {
|
|
|
1606
1658
|
o(b, {
|
|
1607
1659
|
variant: "outlined",
|
|
1608
1660
|
"data-test": "prompt-cancel",
|
|
1609
|
-
onClick:
|
|
1661
|
+
onClick: s.cancelHandler
|
|
1610
1662
|
}, {
|
|
1611
|
-
default: l(() => e[3] || (e[3] = [
|
|
1612
|
-
k(" Cancel ")
|
|
1613
|
-
])),
|
|
1663
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1664
|
+
k(" Cancel ", -1)
|
|
1665
|
+
])]),
|
|
1614
1666
|
_: 1
|
|
1615
1667
|
}, 8, ["onClick"]),
|
|
1616
1668
|
o(b, {
|
|
1617
1669
|
variant: "flat",
|
|
1618
1670
|
"data-test": "prompt-ok",
|
|
1619
1671
|
disabled: i.selectOkDisabled,
|
|
1620
|
-
onClick:
|
|
1672
|
+
onClick: s.submitHandler
|
|
1621
1673
|
}, {
|
|
1622
|
-
default: l(() => e[4] || (e[4] = [
|
|
1623
|
-
k(" Ok ")
|
|
1624
|
-
])),
|
|
1674
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1675
|
+
k(" Ok ", -1)
|
|
1676
|
+
])]),
|
|
1625
1677
|
_: 1
|
|
1626
1678
|
}, 8, ["disabled", "onClick"])
|
|
1627
1679
|
]),
|
|
1628
1680
|
_: 1
|
|
1629
1681
|
})
|
|
1630
|
-
])) : (y(), P("div",
|
|
1682
|
+
])) : (y(), P("div", ui, [
|
|
1631
1683
|
o(R, {
|
|
1632
|
-
class:
|
|
1684
|
+
class: Ze(s.layoutClass)
|
|
1633
1685
|
}, {
|
|
1634
1686
|
default: l(() => [
|
|
1635
1687
|
o(d),
|
|
1636
1688
|
o(b, {
|
|
1637
1689
|
variant: "outlined",
|
|
1638
1690
|
"data-test": "prompt-cancel",
|
|
1639
|
-
onClick:
|
|
1691
|
+
onClick: s.cancelHandler
|
|
1640
1692
|
}, {
|
|
1641
|
-
default: l(() => e[5] || (e[5] = [
|
|
1642
|
-
k(" Cancel ")
|
|
1643
|
-
])),
|
|
1693
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1694
|
+
k(" Cancel ", -1)
|
|
1695
|
+
])]),
|
|
1644
1696
|
_: 1
|
|
1645
1697
|
}, 8, ["onClick"]),
|
|
1646
|
-
(y(!0), P(
|
|
1698
|
+
(y(!0), P(oe, null, Ne(n.buttons, (_, U) => (y(), P("div", { key: U }, [
|
|
1647
1699
|
o(b, {
|
|
1648
1700
|
variant: "flat",
|
|
1649
1701
|
"data-test": `prompt-${_.text}`,
|
|
1650
|
-
onClick: (
|
|
1702
|
+
onClick: (N) => s.submitWrapper(_.value)
|
|
1651
1703
|
}, {
|
|
1652
1704
|
default: l(() => [
|
|
1653
1705
|
k(z(_.text), 1)
|
|
@@ -1666,7 +1718,7 @@ function ui(t, e, s, a, i, n) {
|
|
|
1666
1718
|
_: 1
|
|
1667
1719
|
}, 8, ["modelValue"]);
|
|
1668
1720
|
}
|
|
1669
|
-
const
|
|
1721
|
+
const ci = /* @__PURE__ */ q(si, [["render", di], ["__scopeId", "data-v-3c1d359a"]]), pi = {
|
|
1670
1722
|
components: {},
|
|
1671
1723
|
props: {
|
|
1672
1724
|
modelValue: {
|
|
@@ -1700,23 +1752,23 @@ const di = /* @__PURE__ */ q(ii, [["render", ui], ["__scopeId", "data-v-3c1d359a
|
|
|
1700
1752
|
}), e = document.createElement("a");
|
|
1701
1753
|
e.href = URL.createObjectURL(t), e.setAttribute(
|
|
1702
1754
|
"download",
|
|
1703
|
-
|
|
1755
|
+
xe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
|
|
1704
1756
|
), e.click();
|
|
1705
1757
|
}
|
|
1706
1758
|
}
|
|
1707
|
-
},
|
|
1708
|
-
function
|
|
1709
|
-
const d = u("v-spacer"),
|
|
1759
|
+
}, mi = { class: "pa-2" };
|
|
1760
|
+
function hi(t, e, n, a, i, s) {
|
|
1761
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("v-textarea"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-card"), R = u("v-dialog");
|
|
1710
1762
|
return y(), T(R, {
|
|
1711
|
-
modelValue:
|
|
1712
|
-
"onUpdate:modelValue": e[1] || (e[1] = (C) =>
|
|
1763
|
+
modelValue: s.show,
|
|
1764
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
|
|
1713
1765
|
scrollable: "",
|
|
1714
1766
|
width: "800"
|
|
1715
1767
|
}, {
|
|
1716
1768
|
default: l(() => [
|
|
1717
1769
|
o(b, null, {
|
|
1718
1770
|
default: l(() => [
|
|
1719
|
-
o(
|
|
1771
|
+
o(m, { height: "24" }, {
|
|
1720
1772
|
default: l(() => [
|
|
1721
1773
|
o(d),
|
|
1722
1774
|
e[2] || (e[2] = S("span", null, " Script Results ", -1)),
|
|
@@ -1724,7 +1776,7 @@ function mi(t, e, s, a, i, n) {
|
|
|
1724
1776
|
]),
|
|
1725
1777
|
_: 1
|
|
1726
1778
|
}),
|
|
1727
|
-
S("div",
|
|
1779
|
+
S("div", mi, [
|
|
1728
1780
|
o(v, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1729
1781
|
default: l(() => [
|
|
1730
1782
|
o(p, {
|
|
@@ -1732,7 +1784,7 @@ function mi(t, e, s, a, i, n) {
|
|
|
1732
1784
|
"hide-details": "",
|
|
1733
1785
|
density: "compact",
|
|
1734
1786
|
"auto-grow": "",
|
|
1735
|
-
"model-value":
|
|
1787
|
+
"model-value": n.text
|
|
1736
1788
|
}, null, 8, ["model-value"])
|
|
1737
1789
|
]),
|
|
1738
1790
|
_: 1
|
|
@@ -1743,21 +1795,21 @@ function mi(t, e, s, a, i, n) {
|
|
|
1743
1795
|
o(d),
|
|
1744
1796
|
o(w, {
|
|
1745
1797
|
variant: "outlined",
|
|
1746
|
-
onClick:
|
|
1798
|
+
onClick: s.downloadResults
|
|
1747
1799
|
}, {
|
|
1748
|
-
default: l(() => e[3] || (e[3] = [
|
|
1749
|
-
k(" Download ")
|
|
1750
|
-
])),
|
|
1800
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1801
|
+
k(" Download ", -1)
|
|
1802
|
+
])]),
|
|
1751
1803
|
_: 1
|
|
1752
1804
|
}, 8, ["onClick"]),
|
|
1753
1805
|
o(w, {
|
|
1754
1806
|
ref: "okButton",
|
|
1755
1807
|
variant: "flat",
|
|
1756
|
-
onClick: e[0] || (e[0] = (C) =>
|
|
1808
|
+
onClick: e[0] || (e[0] = (C) => s.show = !s.show)
|
|
1757
1809
|
}, {
|
|
1758
|
-
default: l(() => e[4] || (e[4] = [
|
|
1759
|
-
k(" Ok ")
|
|
1760
|
-
])),
|
|
1810
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1811
|
+
k(" Ok ", -1)
|
|
1812
|
+
])]),
|
|
1761
1813
|
_: 1
|
|
1762
1814
|
}, 512)
|
|
1763
1815
|
]),
|
|
@@ -1770,9 +1822,9 @@ function mi(t, e, s, a, i, n) {
|
|
|
1770
1822
|
_: 1
|
|
1771
1823
|
}, 8, ["modelValue"]);
|
|
1772
1824
|
}
|
|
1773
|
-
const
|
|
1825
|
+
const fi = /* @__PURE__ */ q(pi, [["render", hi]]), gi = {
|
|
1774
1826
|
components: {
|
|
1775
|
-
EnvironmentChooser:
|
|
1827
|
+
EnvironmentChooser: Ct
|
|
1776
1828
|
},
|
|
1777
1829
|
props: {
|
|
1778
1830
|
modelValue: {
|
|
@@ -1813,18 +1865,18 @@ const hi = /* @__PURE__ */ q(ci, [["render", mi]]), fi = {
|
|
|
1813
1865
|
this.show = !this.show;
|
|
1814
1866
|
}
|
|
1815
1867
|
}
|
|
1816
|
-
},
|
|
1817
|
-
function
|
|
1818
|
-
const d = u("v-spacer"),
|
|
1868
|
+
}, vi = { class: "pa-2" };
|
|
1869
|
+
function _i(t, e, n, a, i, s) {
|
|
1870
|
+
const d = u("v-spacer"), m = u("v-toolbar"), p = u("environment-chooser"), v = u("v-card-text"), w = u("v-btn"), x = u("v-card-actions"), b = u("v-card"), R = u("v-dialog");
|
|
1819
1871
|
return y(), T(R, {
|
|
1820
|
-
modelValue:
|
|
1821
|
-
"onUpdate:modelValue": e[1] || (e[1] = (C) =>
|
|
1872
|
+
modelValue: s.show,
|
|
1873
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
|
|
1822
1874
|
width: "600"
|
|
1823
1875
|
}, {
|
|
1824
1876
|
default: l(() => [
|
|
1825
1877
|
o(b, null, {
|
|
1826
1878
|
default: l(() => [
|
|
1827
|
-
o(
|
|
1879
|
+
o(m, { height: "24" }, {
|
|
1828
1880
|
default: l(() => [
|
|
1829
1881
|
o(d),
|
|
1830
1882
|
e[2] || (e[2] = S("span", null, "Script Environment Variables", -1)),
|
|
@@ -1832,7 +1884,7 @@ function vi(t, e, s, a, i, n) {
|
|
|
1832
1884
|
]),
|
|
1833
1885
|
_: 1
|
|
1834
1886
|
}),
|
|
1835
|
-
S("div",
|
|
1887
|
+
S("div", vi, [
|
|
1836
1888
|
o(v, null, {
|
|
1837
1889
|
default: l(() => [
|
|
1838
1890
|
o(p, {
|
|
@@ -1849,22 +1901,22 @@ function vi(t, e, s, a, i, n) {
|
|
|
1849
1901
|
o(w, {
|
|
1850
1902
|
variant: "outlined",
|
|
1851
1903
|
"data-test": "environment-dialog-cancel",
|
|
1852
|
-
onClick:
|
|
1904
|
+
onClick: s.cancel
|
|
1853
1905
|
}, {
|
|
1854
|
-
default: l(() => e[3] || (e[3] = [
|
|
1855
|
-
k(" Cancel ")
|
|
1856
|
-
])),
|
|
1906
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1907
|
+
k(" Cancel ", -1)
|
|
1908
|
+
])]),
|
|
1857
1909
|
_: 1
|
|
1858
1910
|
}, 8, ["onClick"]),
|
|
1859
1911
|
o(w, {
|
|
1860
1912
|
variant: "flat",
|
|
1861
1913
|
"data-test": "environment-dialog-save",
|
|
1862
1914
|
disabled: !!t.inputError,
|
|
1863
|
-
onClick:
|
|
1915
|
+
onClick: s.updateEnvironment
|
|
1864
1916
|
}, {
|
|
1865
|
-
default: l(() => e[4] || (e[4] = [
|
|
1866
|
-
k(" Save ")
|
|
1867
|
-
])),
|
|
1917
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1918
|
+
k(" Save ", -1)
|
|
1919
|
+
])]),
|
|
1868
1920
|
_: 1
|
|
1869
1921
|
}, 8, ["disabled", "onClick"])
|
|
1870
1922
|
]),
|
|
@@ -1877,7 +1929,7 @@ function vi(t, e, s, a, i, n) {
|
|
|
1877
1929
|
_: 1
|
|
1878
1930
|
}, 8, ["modelValue"]);
|
|
1879
1931
|
}
|
|
1880
|
-
const
|
|
1932
|
+
const bi = /* @__PURE__ */ q(gi, [["render", _i]]), wi = {
|
|
1881
1933
|
props: {
|
|
1882
1934
|
suiteMap: {
|
|
1883
1935
|
type: Object,
|
|
@@ -1962,11 +2014,11 @@ const _i = /* @__PURE__ */ q(fi, [["render", vi]]), bi = {
|
|
|
1962
2014
|
this.script = t;
|
|
1963
2015
|
}
|
|
1964
2016
|
}
|
|
1965
|
-
},
|
|
1966
|
-
function
|
|
1967
|
-
const d = u("v-checkbox"),
|
|
2017
|
+
}, yi = { id: "tr-container" };
|
|
2018
|
+
function ki(t, e, n, a, i, s) {
|
|
2019
|
+
const d = u("v-checkbox"), m = u("v-tooltip"), p = u("v-col"), v = u("v-row"), w = u("v-select"), x = u("v-btn");
|
|
1968
2020
|
return y(), P("div", null, [
|
|
1969
|
-
S("div",
|
|
2021
|
+
S("div", yi, [
|
|
1970
2022
|
o(v, {
|
|
1971
2023
|
"no-gutters": "",
|
|
1972
2024
|
align: "center"
|
|
@@ -1978,12 +2030,12 @@ function yi(t, e, s, a, i, n) {
|
|
|
1978
2030
|
default: l(() => [
|
|
1979
2031
|
o(p, { cols: "6" }, {
|
|
1980
2032
|
default: l(() => [
|
|
1981
|
-
o(
|
|
2033
|
+
o(m, {
|
|
1982
2034
|
"open-delay": 600,
|
|
1983
2035
|
location: "top"
|
|
1984
2036
|
}, {
|
|
1985
2037
|
activator: l(({ props: b }) => [
|
|
1986
|
-
S("div",
|
|
2038
|
+
S("div", ie(se(b)), [
|
|
1987
2039
|
o(d, {
|
|
1988
2040
|
modelValue: i.options,
|
|
1989
2041
|
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
|
|
@@ -2008,12 +2060,12 @@ function yi(t, e, s, a, i, n) {
|
|
|
2008
2060
|
}),
|
|
2009
2061
|
o(p, { cols: "6" }, {
|
|
2010
2062
|
default: l(() => [
|
|
2011
|
-
o(
|
|
2063
|
+
o(m, {
|
|
2012
2064
|
"open-delay": 600,
|
|
2013
2065
|
location: "top"
|
|
2014
2066
|
}, {
|
|
2015
2067
|
activator: l(({ props: b }) => [
|
|
2016
|
-
S("div",
|
|
2068
|
+
S("div", ie(se(b)), [
|
|
2017
2069
|
o(d, {
|
|
2018
2070
|
modelValue: i.options,
|
|
2019
2071
|
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
|
|
@@ -2026,9 +2078,9 @@ function yi(t, e, s, a, i, n) {
|
|
|
2026
2078
|
]),
|
|
2027
2079
|
default: l(() => [
|
|
2028
2080
|
S("span", null, [
|
|
2029
|
-
k(z(
|
|
2081
|
+
k(z(s.checkedManualTooltip), 1),
|
|
2030
2082
|
e[17] || (e[17] = S("br", null, null, -1)),
|
|
2031
|
-
k(" " + z(
|
|
2083
|
+
k(" " + z(s.uncheckedManualTooltip), 1)
|
|
2032
2084
|
])
|
|
2033
2085
|
]),
|
|
2034
2086
|
_: 1
|
|
@@ -2055,7 +2107,7 @@ function yi(t, e, s, a, i, n) {
|
|
|
2055
2107
|
modelValue: i.suite,
|
|
2056
2108
|
"onUpdate:modelValue": [
|
|
2057
2109
|
e[2] || (e[2] = (b) => i.suite = b),
|
|
2058
|
-
|
|
2110
|
+
s.suiteChanged
|
|
2059
2111
|
],
|
|
2060
2112
|
label: "Suite:",
|
|
2061
2113
|
class: "mb-2 mr-2",
|
|
@@ -2073,36 +2125,36 @@ function yi(t, e, s, a, i, n) {
|
|
|
2073
2125
|
o(x, {
|
|
2074
2126
|
color: "primary",
|
|
2075
2127
|
class: "mr-2",
|
|
2076
|
-
disabled:
|
|
2128
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2077
2129
|
"data-test": "start-suite",
|
|
2078
2130
|
onClick: e[3] || (e[3] = (b) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2079
2131
|
}, {
|
|
2080
|
-
default: l(() => e[18] || (e[18] = [
|
|
2081
|
-
k(" Start ")
|
|
2082
|
-
])),
|
|
2132
|
+
default: l(() => [...e[18] || (e[18] = [
|
|
2133
|
+
k(" Start ", -1)
|
|
2134
|
+
])]),
|
|
2083
2135
|
_: 1
|
|
2084
2136
|
}, 8, ["disabled"]),
|
|
2085
2137
|
o(x, {
|
|
2086
2138
|
color: "primary",
|
|
2087
2139
|
class: "mr-2",
|
|
2088
2140
|
"data-test": "setup-suite",
|
|
2089
|
-
disabled:
|
|
2141
|
+
disabled: n.disableButtons || !s.setupSuiteEnabled || !i.userInfo.execute,
|
|
2090
2142
|
onClick: e[4] || (e[4] = (b) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2091
2143
|
}, {
|
|
2092
|
-
default: l(() => e[19] || (e[19] = [
|
|
2093
|
-
k(" Setup ")
|
|
2094
|
-
])),
|
|
2144
|
+
default: l(() => [...e[19] || (e[19] = [
|
|
2145
|
+
k(" Setup ", -1)
|
|
2146
|
+
])]),
|
|
2095
2147
|
_: 1
|
|
2096
2148
|
}, 8, ["disabled"]),
|
|
2097
2149
|
o(x, {
|
|
2098
2150
|
color: "primary",
|
|
2099
2151
|
"data-test": "teardown-suite",
|
|
2100
|
-
disabled:
|
|
2152
|
+
disabled: n.disableButtons || !s.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2101
2153
|
onClick: e[5] || (e[5] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2102
2154
|
}, {
|
|
2103
|
-
default: l(() => e[20] || (e[20] = [
|
|
2104
|
-
k(" Teardown ")
|
|
2105
|
-
])),
|
|
2155
|
+
default: l(() => [...e[20] || (e[20] = [
|
|
2156
|
+
k(" Teardown ", -1)
|
|
2157
|
+
])]),
|
|
2106
2158
|
_: 1
|
|
2107
2159
|
}, 8, ["disabled"])
|
|
2108
2160
|
]),
|
|
@@ -2125,12 +2177,12 @@ function yi(t, e, s, a, i, n) {
|
|
|
2125
2177
|
default: l(() => [
|
|
2126
2178
|
o(p, { cols: "6" }, {
|
|
2127
2179
|
default: l(() => [
|
|
2128
|
-
o(
|
|
2180
|
+
o(m, {
|
|
2129
2181
|
"open-delay": 600,
|
|
2130
2182
|
location: "top"
|
|
2131
2183
|
}, {
|
|
2132
2184
|
activator: l(({ props: b }) => [
|
|
2133
|
-
S("div",
|
|
2185
|
+
S("div", ie(se(b)), [
|
|
2134
2186
|
o(d, {
|
|
2135
2187
|
modelValue: i.options,
|
|
2136
2188
|
"onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
|
|
@@ -2155,12 +2207,12 @@ function yi(t, e, s, a, i, n) {
|
|
|
2155
2207
|
}),
|
|
2156
2208
|
o(p, { cols: "6" }, {
|
|
2157
2209
|
default: l(() => [
|
|
2158
|
-
o(
|
|
2210
|
+
o(m, {
|
|
2159
2211
|
"open-delay": 600,
|
|
2160
2212
|
location: "top"
|
|
2161
2213
|
}, {
|
|
2162
2214
|
activator: l(({ props: b }) => [
|
|
2163
|
-
S("div",
|
|
2215
|
+
S("div", ie(se(b)), [
|
|
2164
2216
|
o(d, {
|
|
2165
2217
|
modelValue: i.options,
|
|
2166
2218
|
"onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
|
|
@@ -2202,7 +2254,7 @@ function yi(t, e, s, a, i, n) {
|
|
|
2202
2254
|
modelValue: i.group,
|
|
2203
2255
|
"onUpdate:modelValue": [
|
|
2204
2256
|
e[8] || (e[8] = (b) => i.group = b),
|
|
2205
|
-
|
|
2257
|
+
s.groupChanged
|
|
2206
2258
|
],
|
|
2207
2259
|
label: "Group:",
|
|
2208
2260
|
class: "mb-2 mr-2",
|
|
@@ -2220,36 +2272,36 @@ function yi(t, e, s, a, i, n) {
|
|
|
2220
2272
|
o(x, {
|
|
2221
2273
|
color: "primary",
|
|
2222
2274
|
class: "mr-2",
|
|
2223
|
-
disabled:
|
|
2275
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2224
2276
|
"data-test": "start-group",
|
|
2225
2277
|
onClick: e[9] || (e[9] = (b) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2226
2278
|
}, {
|
|
2227
|
-
default: l(() => e[23] || (e[23] = [
|
|
2228
|
-
k(" Start ")
|
|
2229
|
-
])),
|
|
2279
|
+
default: l(() => [...e[23] || (e[23] = [
|
|
2280
|
+
k(" Start ", -1)
|
|
2281
|
+
])]),
|
|
2230
2282
|
_: 1
|
|
2231
2283
|
}, 8, ["disabled"]),
|
|
2232
2284
|
o(x, {
|
|
2233
2285
|
color: "primary",
|
|
2234
2286
|
class: "mr-2",
|
|
2235
2287
|
"data-test": "setup-group",
|
|
2236
|
-
disabled:
|
|
2288
|
+
disabled: n.disableButtons || !s.setupGroupEnabled || !i.userInfo.execute,
|
|
2237
2289
|
onClick: e[10] || (e[10] = (b) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2238
2290
|
}, {
|
|
2239
|
-
default: l(() => e[24] || (e[24] = [
|
|
2240
|
-
k(" Setup ")
|
|
2241
|
-
])),
|
|
2291
|
+
default: l(() => [...e[24] || (e[24] = [
|
|
2292
|
+
k(" Setup ", -1)
|
|
2293
|
+
])]),
|
|
2242
2294
|
_: 1
|
|
2243
2295
|
}, 8, ["disabled"]),
|
|
2244
2296
|
o(x, {
|
|
2245
2297
|
color: "primary",
|
|
2246
2298
|
"data-test": "teardown-group",
|
|
2247
|
-
disabled:
|
|
2299
|
+
disabled: n.disableButtons || !s.teardownGroupEnabled || !i.userInfo.execute,
|
|
2248
2300
|
onClick: e[11] || (e[11] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2249
2301
|
}, {
|
|
2250
|
-
default: l(() => e[25] || (e[25] = [
|
|
2251
|
-
k(" Teardown ")
|
|
2252
|
-
])),
|
|
2302
|
+
default: l(() => [...e[25] || (e[25] = [
|
|
2303
|
+
k(" Teardown ", -1)
|
|
2304
|
+
])]),
|
|
2253
2305
|
_: 1
|
|
2254
2306
|
}, 8, ["disabled"])
|
|
2255
2307
|
]),
|
|
@@ -2272,12 +2324,12 @@ function yi(t, e, s, a, i, n) {
|
|
|
2272
2324
|
default: l(() => [
|
|
2273
2325
|
o(p, { cols: "6" }, {
|
|
2274
2326
|
default: l(() => [
|
|
2275
|
-
o(
|
|
2327
|
+
o(m, {
|
|
2276
2328
|
"open-delay": 600,
|
|
2277
2329
|
location: "top"
|
|
2278
2330
|
}, {
|
|
2279
2331
|
activator: l(({ props: b }) => [
|
|
2280
|
-
S("div",
|
|
2332
|
+
S("div", ie(se(b)), [
|
|
2281
2333
|
o(d, {
|
|
2282
2334
|
modelValue: i.options,
|
|
2283
2335
|
"onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
|
|
@@ -2302,12 +2354,12 @@ function yi(t, e, s, a, i, n) {
|
|
|
2302
2354
|
}),
|
|
2303
2355
|
o(p, { cols: "6" }, {
|
|
2304
2356
|
default: l(() => [
|
|
2305
|
-
o(
|
|
2357
|
+
o(m, {
|
|
2306
2358
|
"open-delay": 600,
|
|
2307
2359
|
location: "top"
|
|
2308
2360
|
}, {
|
|
2309
2361
|
activator: l(({ props: b }) => [
|
|
2310
|
-
S("div",
|
|
2362
|
+
S("div", ie(se(b)), [
|
|
2311
2363
|
o(d, {
|
|
2312
2364
|
modelValue: i.options,
|
|
2313
2365
|
"onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
|
|
@@ -2352,14 +2404,14 @@ function yi(t, e, s, a, i, n) {
|
|
|
2352
2404
|
modelValue: i.script,
|
|
2353
2405
|
"onUpdate:modelValue": [
|
|
2354
2406
|
e[14] || (e[14] = (b) => i.script = b),
|
|
2355
|
-
|
|
2407
|
+
s.scriptChanged
|
|
2356
2408
|
],
|
|
2357
2409
|
label: "Script:",
|
|
2358
2410
|
class: "mb-2 mr-2",
|
|
2359
2411
|
"hide-details": "",
|
|
2360
2412
|
density: "compact",
|
|
2361
2413
|
variant: "outlined",
|
|
2362
|
-
items:
|
|
2414
|
+
items: s.scriptNames,
|
|
2363
2415
|
"item-title": "title",
|
|
2364
2416
|
"item-value": "value",
|
|
2365
2417
|
"data-test": "select-script"
|
|
@@ -2372,7 +2424,7 @@ function yi(t, e, s, a, i, n) {
|
|
|
2372
2424
|
o(x, {
|
|
2373
2425
|
color: "primary",
|
|
2374
2426
|
class: "mr-2",
|
|
2375
|
-
disabled:
|
|
2427
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2376
2428
|
"data-test": "start-script",
|
|
2377
2429
|
onClick: e[15] || (e[15] = (b) => t.$emit("button", {
|
|
2378
2430
|
method: "start",
|
|
@@ -2382,27 +2434,27 @@ function yi(t, e, s, a, i, n) {
|
|
|
2382
2434
|
options: i.options
|
|
2383
2435
|
}))
|
|
2384
2436
|
}, {
|
|
2385
|
-
default: l(() => e[28] || (e[28] = [
|
|
2386
|
-
k(" Start ")
|
|
2387
|
-
])),
|
|
2437
|
+
default: l(() => [...e[28] || (e[28] = [
|
|
2438
|
+
k(" Start ", -1)
|
|
2439
|
+
])]),
|
|
2388
2440
|
_: 1
|
|
2389
2441
|
}, 8, ["disabled"]),
|
|
2390
2442
|
o(x, {
|
|
2391
2443
|
color: "primary",
|
|
2392
2444
|
class: "mr-2 invisible"
|
|
2393
2445
|
}, {
|
|
2394
|
-
default: l(() => e[29] || (e[29] = [
|
|
2395
|
-
k(" Setup ")
|
|
2396
|
-
])),
|
|
2446
|
+
default: l(() => [...e[29] || (e[29] = [
|
|
2447
|
+
k(" Setup ", -1)
|
|
2448
|
+
])]),
|
|
2397
2449
|
_: 1
|
|
2398
2450
|
}),
|
|
2399
2451
|
o(x, {
|
|
2400
2452
|
color: "primary",
|
|
2401
2453
|
class: "invisible"
|
|
2402
2454
|
}, {
|
|
2403
|
-
default: l(() => e[30] || (e[30] = [
|
|
2404
|
-
k(" Teardown ")
|
|
2405
|
-
])),
|
|
2455
|
+
default: l(() => [...e[30] || (e[30] = [
|
|
2456
|
+
k(" Teardown ", -1)
|
|
2457
|
+
])]),
|
|
2406
2458
|
_: 1
|
|
2407
2459
|
})
|
|
2408
2460
|
]),
|
|
@@ -2420,30 +2472,30 @@ function yi(t, e, s, a, i, n) {
|
|
|
2420
2472
|
])
|
|
2421
2473
|
]);
|
|
2422
2474
|
}
|
|
2423
|
-
const
|
|
2475
|
+
const Si = /* @__PURE__ */ q(wi, [["render", ki], ["__scopeId", "data-v-fe48c8c7"]]), Le = (t) => O.get(`/openc3-api/autocomplete/keywords/${t}`), xi = (t) => O.get(`/openc3-api/autocomplete/data/${t}`), We = (t, e) => t.reduce((n, a) => {
|
|
2424
2476
|
const i = e(a);
|
|
2425
|
-
return
|
|
2426
|
-
}, {}),
|
|
2427
|
-
const e = "(^|[{\\(\\s])",
|
|
2428
|
-
return new RegExp(`${e}${t}${
|
|
2477
|
+
return n[i] ? n[i].push(a) : n[i] = [a], n;
|
|
2478
|
+
}, {}), Ci = (t) => {
|
|
2479
|
+
const e = "(^|[{\\(\\s])", n = `[\\s\\(]f?['"]`, a = "(\\S+\\s?){0,3}";
|
|
2480
|
+
return new RegExp(`${e}${t}${n}${a}$`);
|
|
2429
2481
|
};
|
|
2430
|
-
class
|
|
2431
|
-
constructor(e,
|
|
2482
|
+
class $e {
|
|
2483
|
+
constructor(e, n = () => {
|
|
2432
2484
|
}, a = () => {
|
|
2433
2485
|
}) {
|
|
2434
|
-
this.keywordExpressions = [], this.autocompleteData = [],
|
|
2435
|
-
this.keywordExpressions = i.data.map(
|
|
2436
|
-
}),
|
|
2437
|
-
this.autocompleteData = i.data,
|
|
2486
|
+
this.keywordExpressions = [], this.autocompleteData = [], Le(e).then((i) => {
|
|
2487
|
+
this.keywordExpressions = i.data.map(Ci), a();
|
|
2488
|
+
}), xi(e).then((i) => {
|
|
2489
|
+
this.autocompleteData = i.data, n();
|
|
2438
2490
|
});
|
|
2439
2491
|
}
|
|
2440
|
-
getCompletions(e,
|
|
2492
|
+
getCompletions(e, n, a, i, s) {
|
|
2441
2493
|
let d = [];
|
|
2442
|
-
const
|
|
2494
|
+
const m = n.doc.$lines[a.row].slice(
|
|
2443
2495
|
0,
|
|
2444
2496
|
a.column
|
|
2445
2497
|
);
|
|
2446
|
-
this.keywordExpressions.some((p) =>
|
|
2498
|
+
this.keywordExpressions.some((p) => m.match(p)) && (d = this.autocompleteData), s(null, [
|
|
2447
2499
|
...d
|
|
2448
2500
|
// 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)
|
|
2449
2501
|
// ...session.$mode.$highlightRules.$keywordList.map((word) => ({
|
|
@@ -2454,21 +2506,21 @@ class Qe {
|
|
|
2454
2506
|
]);
|
|
2455
2507
|
}
|
|
2456
2508
|
}
|
|
2457
|
-
class
|
|
2509
|
+
class Vi extends $e {
|
|
2458
2510
|
constructor() {
|
|
2459
2511
|
super("cmd");
|
|
2460
2512
|
}
|
|
2461
2513
|
}
|
|
2462
|
-
class
|
|
2514
|
+
class Ri extends $e {
|
|
2463
2515
|
constructor() {
|
|
2464
2516
|
super("tlm", () => {
|
|
2465
|
-
this.groupedPacketData = this.autocompleteData.reduce((e,
|
|
2466
|
-
const a =
|
|
2517
|
+
this.groupedPacketData = this.autocompleteData.reduce((e, n) => {
|
|
2518
|
+
const a = n.caption.match(/\S+\s\S+/)[0], i = n.snippet.replace(`${a} `, ""), s = {
|
|
2467
2519
|
caption: i,
|
|
2468
2520
|
snippet: i,
|
|
2469
2521
|
meta: "item"
|
|
2470
2522
|
};
|
|
2471
|
-
return e[a] ? e[a].push(
|
|
2523
|
+
return e[a] ? e[a].push(s) : e[a] = [s], e;
|
|
2472
2524
|
}, {}), this.packets = Object.keys(this.groupedPacketData).map((e) => ({
|
|
2473
2525
|
caption: e,
|
|
2474
2526
|
snippet: e,
|
|
@@ -2477,111 +2529,111 @@ class Vi extends Qe {
|
|
|
2477
2529
|
});
|
|
2478
2530
|
}
|
|
2479
2531
|
// Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
|
|
2480
|
-
getCompletions(e,
|
|
2532
|
+
getCompletions(e, n, a, i, s) {
|
|
2481
2533
|
let d = [];
|
|
2482
|
-
const
|
|
2534
|
+
const m = n.doc.$lines[a.row].slice(
|
|
2483
2535
|
0,
|
|
2484
2536
|
a.column
|
|
2485
2537
|
);
|
|
2486
|
-
if (this.keywordExpressions.some((p) =>
|
|
2538
|
+
if (this.keywordExpressions.some((p) => m.match(p))) {
|
|
2487
2539
|
const p = Object.keys(this.groupedPacketData).find(
|
|
2488
|
-
(v) =>
|
|
2540
|
+
(v) => m.includes(v)
|
|
2489
2541
|
);
|
|
2490
2542
|
p ? d = this.groupedPacketData[p] : d = this.packets;
|
|
2491
2543
|
}
|
|
2492
|
-
|
|
2544
|
+
s(null, d);
|
|
2493
2545
|
}
|
|
2494
2546
|
}
|
|
2495
|
-
const
|
|
2496
|
-
const e = "(^|[{\\(\\s])",
|
|
2497
|
-
return new RegExp(`${e}${t}${
|
|
2498
|
-
},
|
|
2547
|
+
const Je = (t) => {
|
|
2548
|
+
const e = "(^|[{\\(\\s])", n = "((\\s.+)|(\\(.+\\)))";
|
|
2549
|
+
return new RegExp(`${e}${t}${n}`);
|
|
2550
|
+
}, Oi = /\{/, Ei = /['"],\s?['"]/;
|
|
2499
2551
|
class Mi {
|
|
2500
2552
|
constructor() {
|
|
2501
|
-
this.api = new
|
|
2502
|
-
e.forEach((
|
|
2503
|
-
this.targets[
|
|
2553
|
+
this.api = new Re(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
2554
|
+
e.forEach((n) => {
|
|
2555
|
+
this.targets[n] = {
|
|
2504
2556
|
cmd: null,
|
|
2505
2557
|
tlm: null
|
|
2506
2558
|
};
|
|
2507
2559
|
});
|
|
2508
|
-
}), this.cmdKeywordExpressions = [],
|
|
2509
|
-
this.cmdKeywordExpressions = e.data.map(
|
|
2510
|
-
}), this.tlmKeywordExpressions = [],
|
|
2511
|
-
this.tlmKeywordExpressions = e.data.map(
|
|
2560
|
+
}), this.cmdKeywordExpressions = [], Le("cmd").then((e) => {
|
|
2561
|
+
this.cmdKeywordExpressions = e.data.map(Je);
|
|
2562
|
+
}), this.tlmKeywordExpressions = [], Le("tlm").then((e) => {
|
|
2563
|
+
this.tlmKeywordExpressions = e.data.map(Je);
|
|
2512
2564
|
});
|
|
2513
2565
|
}
|
|
2514
2566
|
async checkText(e) {
|
|
2515
|
-
const { linesToCheck:
|
|
2567
|
+
const { linesToCheck: n, linesToSkip: a } = e.split(`
|
|
2516
2568
|
`).reduce(
|
|
2517
|
-
(
|
|
2569
|
+
(s, d, m) => {
|
|
2518
2570
|
if (d = d.trim(), d.match(/^#/))
|
|
2519
|
-
return
|
|
2571
|
+
return s;
|
|
2520
2572
|
const p = this.cmdKeywordExpressions.reduce((_, U) => _ || d.match(U), null), v = this.tlmKeywordExpressions.reduce((_, U) => _ || d.match(U), null);
|
|
2521
2573
|
if (!p && !v)
|
|
2522
|
-
return
|
|
2574
|
+
return s;
|
|
2523
2575
|
let w = p || v, x = w.length;
|
|
2524
2576
|
w = w[x - 1];
|
|
2525
2577
|
const b = w.substring(w.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
2526
|
-
if (b.match(
|
|
2527
|
-
return
|
|
2528
|
-
const R = !!b.match(
|
|
2578
|
+
if (b.match(Oi))
|
|
2579
|
+
return s.linesToSkip.push(m + 1), s;
|
|
2580
|
+
const R = !!b.match(Ei), C = b.split(
|
|
2529
2581
|
R ? "," : " "
|
|
2530
2582
|
);
|
|
2531
2583
|
if (C.length < 2)
|
|
2532
|
-
return
|
|
2533
|
-
const
|
|
2584
|
+
return s;
|
|
2585
|
+
const E = {
|
|
2534
2586
|
target: C[0],
|
|
2535
2587
|
packet: C[1]
|
|
2536
2588
|
};
|
|
2537
2589
|
if (v)
|
|
2538
|
-
|
|
2590
|
+
E.item = C[2];
|
|
2539
2591
|
else {
|
|
2540
2592
|
const _ = C.slice(2);
|
|
2541
|
-
R ?
|
|
2593
|
+
R ? E.params = _.map(
|
|
2542
2594
|
(U) => U.split("=>")[0]
|
|
2543
|
-
) :
|
|
2595
|
+
) : E.params = _.filter((U, N) => N % 2);
|
|
2544
2596
|
}
|
|
2545
|
-
for (const _ in
|
|
2546
|
-
typeof
|
|
2597
|
+
for (const _ in E)
|
|
2598
|
+
typeof E[_] == "string" ? E[_] = E[_].replace(/['"]/g, "").trim() : E[_] = E[_].map(
|
|
2547
2599
|
(U) => U.replace(/['"]/g, "").trim()
|
|
2548
2600
|
);
|
|
2549
|
-
return
|
|
2601
|
+
return s.linesToCheck.push({
|
|
2550
2602
|
line: d,
|
|
2551
|
-
mnemonic:
|
|
2552
|
-
lineNumber:
|
|
2553
|
-
}),
|
|
2603
|
+
mnemonic: E,
|
|
2604
|
+
lineNumber: m + 1
|
|
2605
|
+
}), s;
|
|
2554
2606
|
},
|
|
2555
2607
|
{ linesToCheck: [], linesToSkip: [] }
|
|
2556
|
-
), i = await this._checkLines(
|
|
2608
|
+
), i = await this._checkLines(n);
|
|
2557
2609
|
return {
|
|
2558
2610
|
skipped: a.sort(),
|
|
2559
|
-
problems: i.sort((
|
|
2611
|
+
problems: i.sort((s, d) => s.lineNumber - d.lineNumber)
|
|
2560
2612
|
};
|
|
2561
2613
|
}
|
|
2562
2614
|
async _checkLines(e) {
|
|
2563
|
-
const
|
|
2615
|
+
const n = [], a = We(
|
|
2564
2616
|
e,
|
|
2565
2617
|
(i) => i.mnemonic.target
|
|
2566
2618
|
);
|
|
2567
2619
|
for (const i in a) {
|
|
2568
2620
|
if (!this.targets[i]) {
|
|
2569
2621
|
for (const d of a[i])
|
|
2570
|
-
|
|
2622
|
+
n.push({
|
|
2571
2623
|
...d,
|
|
2572
2624
|
error: `Target "${i}" does not exist.`
|
|
2573
2625
|
});
|
|
2574
2626
|
continue;
|
|
2575
2627
|
}
|
|
2576
|
-
const
|
|
2628
|
+
const s = We(
|
|
2577
2629
|
a[i],
|
|
2578
2630
|
(d) => d.mnemonic.packet
|
|
2579
2631
|
);
|
|
2580
|
-
for (const d in
|
|
2581
|
-
for (const
|
|
2582
|
-
const p =
|
|
2632
|
+
for (const d in s)
|
|
2633
|
+
for (const m of s[d]) {
|
|
2634
|
+
const p = m.mnemonic.item ? "tlm" : "cmd";
|
|
2583
2635
|
if (!this.targets[i][p]) {
|
|
2584
|
-
const w =
|
|
2636
|
+
const w = m.mnemonic.item ? "get_all_tlm" : "get_all_cmds", x = await this.api[w](i);
|
|
2585
2637
|
this.targets[i][p] = x.reduce(
|
|
2586
2638
|
(b, R) => (b[R.packet_name] = R.items.map(
|
|
2587
2639
|
(C) => C.name
|
|
@@ -2591,140 +2643,140 @@ class Mi {
|
|
|
2591
2643
|
}
|
|
2592
2644
|
const v = this.targets[i][p][d];
|
|
2593
2645
|
if (!v) {
|
|
2594
|
-
|
|
2595
|
-
...
|
|
2646
|
+
n.push({
|
|
2647
|
+
...m,
|
|
2596
2648
|
error: `${p === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
2597
2649
|
});
|
|
2598
2650
|
continue;
|
|
2599
2651
|
}
|
|
2600
|
-
if (
|
|
2601
|
-
if (!v.some((w) => w ===
|
|
2602
|
-
|
|
2603
|
-
...
|
|
2604
|
-
error: `Item "${i} ${d} ${
|
|
2652
|
+
if (m.mnemonic.item) {
|
|
2653
|
+
if (!v.some((w) => w === m.mnemonic.item)) {
|
|
2654
|
+
n.push({
|
|
2655
|
+
...m,
|
|
2656
|
+
error: `Item "${i} ${d} ${m.mnemonic.item}" does not exist.`
|
|
2605
2657
|
});
|
|
2606
2658
|
continue;
|
|
2607
2659
|
}
|
|
2608
2660
|
} else
|
|
2609
|
-
for (const w of
|
|
2661
|
+
for (const w of m.mnemonic.params)
|
|
2610
2662
|
if (!v.some((x) => x === w)) {
|
|
2611
|
-
|
|
2612
|
-
...
|
|
2663
|
+
n.push({
|
|
2664
|
+
...m,
|
|
2613
2665
|
error: `Command "${i} ${d}" param "${w}" does not exist.`
|
|
2614
2666
|
});
|
|
2615
2667
|
continue;
|
|
2616
2668
|
}
|
|
2617
2669
|
}
|
|
2618
2670
|
}
|
|
2619
|
-
return
|
|
2671
|
+
return n;
|
|
2620
2672
|
}
|
|
2621
2673
|
}
|
|
2622
|
-
var
|
|
2623
|
-
class
|
|
2624
|
-
constructor(e, { pattern:
|
|
2674
|
+
var X, me, he, fe, ge, Ce, ve, _e, Ve;
|
|
2675
|
+
class Ti {
|
|
2676
|
+
constructor(e, { pattern: n, text: a, type: i }) {
|
|
2625
2677
|
// TODO: the eslint parser errors on these because of the #
|
|
2626
2678
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2627
|
-
j(this,
|
|
2628
|
-
j(this, de);
|
|
2629
|
-
j(this, ce);
|
|
2630
|
-
j(this, pe);
|
|
2679
|
+
j(this, X);
|
|
2631
2680
|
j(this, me);
|
|
2681
|
+
j(this, he);
|
|
2682
|
+
j(this, fe);
|
|
2683
|
+
j(this, ge);
|
|
2632
2684
|
// Re-annotate the entire document
|
|
2633
|
-
|
|
2634
|
-
const e =
|
|
2635
|
-
|
|
2636
|
-
const
|
|
2685
|
+
Ae(this, "refresh", () => {
|
|
2686
|
+
const e = B(this, me).session;
|
|
2687
|
+
B(this, Ve).call(this, e);
|
|
2688
|
+
const n = {
|
|
2637
2689
|
lines: e.doc.$lines,
|
|
2638
2690
|
action: "insert",
|
|
2639
2691
|
start: { row: 0 },
|
|
2640
2692
|
end: { row: e.doc.$lines.length }
|
|
2641
2693
|
};
|
|
2642
|
-
this.annotate(
|
|
2694
|
+
this.annotate(n, e);
|
|
2643
2695
|
});
|
|
2644
2696
|
// Update annotations for the changed lines
|
|
2645
|
-
|
|
2697
|
+
Ae(this, "annotate", (e, n) => {
|
|
2646
2698
|
var a, i;
|
|
2647
2699
|
if (e.lines.length > 1)
|
|
2648
2700
|
switch (e.action) {
|
|
2649
2701
|
case "insert":
|
|
2650
|
-
|
|
2702
|
+
B(this, _e).call(this, n, e.start.row, e.lines.length - 1);
|
|
2651
2703
|
break;
|
|
2652
2704
|
case "remove":
|
|
2653
|
-
|
|
2705
|
+
B(this, _e).call(this, n, e.start.row + 1, -e.lines.length + 1);
|
|
2654
2706
|
break;
|
|
2655
2707
|
}
|
|
2656
|
-
for (let
|
|
2657
|
-
let d = (i = (a =
|
|
2658
|
-
d !== void 0 ? (d !== 0 && (d += 1),
|
|
2659
|
-
row:
|
|
2708
|
+
for (let s = e.start.row; s <= e.end.row; s++) {
|
|
2709
|
+
let d = (i = (a = n.doc.$lines[s]) == null ? void 0 : a.match(B(this, he))) == null ? void 0 : i.index;
|
|
2710
|
+
d !== void 0 ? (d !== 0 && (d += 1), B(this, Ce).call(this, n, {
|
|
2711
|
+
row: s,
|
|
2660
2712
|
column: d,
|
|
2661
2713
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2662
|
-
text:
|
|
2663
|
-
type:
|
|
2664
|
-
openc3Id:
|
|
2665
|
-
})) : e.action === "remove" &&
|
|
2714
|
+
text: B(this, fe),
|
|
2715
|
+
type: B(this, ge),
|
|
2716
|
+
openc3Id: B(this, X)
|
|
2717
|
+
})) : e.action === "remove" && B(this, ve).call(this, n, s);
|
|
2666
2718
|
}
|
|
2667
2719
|
});
|
|
2668
|
-
j(this,
|
|
2669
|
-
|
|
2720
|
+
j(this, Ce, (e, n) => {
|
|
2721
|
+
B(this, ve).call(this, e, n.row), e.setAnnotations([...e.getAnnotations(), n]);
|
|
2670
2722
|
});
|
|
2671
|
-
j(this,
|
|
2723
|
+
j(this, ve, (e, n) => {
|
|
2672
2724
|
e.setAnnotations(
|
|
2673
2725
|
e.getAnnotations().filter(
|
|
2674
|
-
(a) => a.openc3Id !==
|
|
2726
|
+
(a) => a.openc3Id !== B(this, X) || a.row !== n
|
|
2675
2727
|
)
|
|
2676
2728
|
);
|
|
2677
2729
|
});
|
|
2678
|
-
j(this,
|
|
2730
|
+
j(this, _e, (e, n, a) => {
|
|
2679
2731
|
e.setAnnotations(
|
|
2680
|
-
e.getAnnotations().map((i) => (i.row >
|
|
2732
|
+
e.getAnnotations().map((i) => (i.row > n && (i.row += a), i))
|
|
2681
2733
|
);
|
|
2682
2734
|
});
|
|
2683
|
-
j(this,
|
|
2735
|
+
j(this, Ve, (e) => {
|
|
2684
2736
|
e.setAnnotations(
|
|
2685
|
-
e.getAnnotations().filter((
|
|
2737
|
+
e.getAnnotations().filter((n) => n.openc3Id !== B(this, X))
|
|
2686
2738
|
);
|
|
2687
2739
|
});
|
|
2688
|
-
|
|
2740
|
+
ee(this, X, `regexAnnotator-${Math.floor(Math.random() * 1e7)}`), ee(this, me, e), ee(this, he, n), ee(this, fe, a), ee(this, ge, i);
|
|
2689
2741
|
}
|
|
2690
2742
|
}
|
|
2691
|
-
|
|
2692
|
-
class
|
|
2743
|
+
X = new WeakMap(), me = new WeakMap(), he = new WeakMap(), fe = new WeakMap(), ge = new WeakMap(), Ce = new WeakMap(), ve = new WeakMap(), _e = new WeakMap(), Ve = new WeakMap();
|
|
2744
|
+
class Ii extends Ti {
|
|
2693
2745
|
constructor(e) {
|
|
2694
|
-
const
|
|
2746
|
+
const n = "(^|[{\\s])", a = "sleep", i = "[\\(\\s]";
|
|
2695
2747
|
super(e, {
|
|
2696
|
-
pattern: new RegExp(`${
|
|
2748
|
+
pattern: new RegExp(`${n}${a}${i}`),
|
|
2697
2749
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2698
2750
|
// because we override wait to make it work better, but not sleep
|
|
2699
2751
|
type: "warning"
|
|
2700
2752
|
});
|
|
2701
2753
|
}
|
|
2702
2754
|
}
|
|
2703
|
-
const
|
|
2755
|
+
const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause", Ui = "Retry", Pi = {
|
|
2704
2756
|
components: {
|
|
2705
|
-
FileOpenSaveDialog:
|
|
2706
|
-
Openc3Screen:
|
|
2707
|
-
EnvironmentDialog:
|
|
2708
|
-
Splitpanes:
|
|
2757
|
+
FileOpenSaveDialog: yt,
|
|
2758
|
+
Openc3Screen: wt,
|
|
2759
|
+
EnvironmentDialog: bt,
|
|
2760
|
+
Splitpanes: Ut,
|
|
2709
2761
|
Pane: Pt,
|
|
2710
2762
|
TopBar: gt,
|
|
2711
|
-
AskDialog:
|
|
2712
|
-
FileDialog:
|
|
2713
|
-
InformationDialog:
|
|
2714
|
-
EventListDialog:
|
|
2715
|
-
OverridesDialog:
|
|
2716
|
-
PromptDialog:
|
|
2717
|
-
ResultsDialog:
|
|
2718
|
-
ScriptEnvironmentDialog:
|
|
2763
|
+
AskDialog: Lt,
|
|
2764
|
+
FileDialog: Kt,
|
|
2765
|
+
InformationDialog: Qt,
|
|
2766
|
+
EventListDialog: xt,
|
|
2767
|
+
OverridesDialog: ii,
|
|
2768
|
+
PromptDialog: ci,
|
|
2769
|
+
ResultsDialog: fi,
|
|
2770
|
+
ScriptEnvironmentDialog: bi,
|
|
2719
2771
|
SimpleTextDialog: kt,
|
|
2720
|
-
SuiteRunner:
|
|
2772
|
+
SuiteRunner: Si,
|
|
2721
2773
|
RunningScripts: Mt,
|
|
2722
|
-
ScriptLogMessages:
|
|
2723
|
-
CriticalCmdDialog:
|
|
2774
|
+
ScriptLogMessages: Dt,
|
|
2775
|
+
CriticalCmdDialog: _t
|
|
2724
2776
|
},
|
|
2725
|
-
mixins: [ht],
|
|
2726
|
-
beforeRouteUpdate: function(t, e,
|
|
2727
|
-
t.params.id ? this.tryLoadRunningScript(t.params.id).then(
|
|
2777
|
+
mixins: [ht, St],
|
|
2778
|
+
beforeRouteUpdate: function(t, e, n) {
|
|
2779
|
+
t.params.id ? this.tryLoadRunningScript(t.params.id).then(n) : n();
|
|
2728
2780
|
},
|
|
2729
2781
|
props: {
|
|
2730
2782
|
inline: {
|
|
@@ -2767,10 +2819,10 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
2767
2819
|
alertText: "",
|
|
2768
2820
|
state: null,
|
|
2769
2821
|
scriptId: null,
|
|
2770
|
-
startOrGoButton:
|
|
2822
|
+
startOrGoButton: Be,
|
|
2771
2823
|
startOrGoDisabled: !1,
|
|
2772
2824
|
envDisabled: !1,
|
|
2773
|
-
pauseOrRetryButton:
|
|
2825
|
+
pauseOrRetryButton: pe,
|
|
2774
2826
|
pauseOrRetryDisabled: !1,
|
|
2775
2827
|
stopDisabled: !1,
|
|
2776
2828
|
showEnvironment: !1,
|
|
@@ -3152,14 +3204,14 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3152
3204
|
}
|
|
3153
3205
|
},
|
|
3154
3206
|
created: async function() {
|
|
3155
|
-
this.api = new
|
|
3156
|
-
|
|
3157
|
-
}).catch((
|
|
3207
|
+
this.api = new Re(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((n) => {
|
|
3208
|
+
n && (this.timeZone = n);
|
|
3209
|
+
}).catch((n) => {
|
|
3158
3210
|
}), this.NEW_FILENAME = G;
|
|
3159
3211
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3160
3212
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3161
|
-
for (let
|
|
3162
|
-
|
|
3213
|
+
for (let n of e)
|
|
3214
|
+
n != "viewer" && (n == "admin" || n == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : n == "runner" ? this.executeUser = !0 : await O.get(`/openc3-api/roles/${n}`).then((a) => {
|
|
3163
3215
|
a.data !== null && a.data.permissions !== void 0 && (a.data.permissions.some(
|
|
3164
3216
|
(i) => i.permission == "script_edit"
|
|
3165
3217
|
) && (this.readOnlyUser = !1), a.data.permissions.some(
|
|
@@ -3172,23 +3224,23 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3172
3224
|
execute: this.executeUser
|
|
3173
3225
|
})), this.readOnlyUser == !0) {
|
|
3174
3226
|
this.alertType = "info";
|
|
3175
|
-
let
|
|
3176
|
-
this.executeUser && (
|
|
3227
|
+
let n = `User ${t.preferred_username} is read only`;
|
|
3228
|
+
this.executeUser && (n += " but can execute scripts"), this.alertText = n, this.showAlert = !0;
|
|
3177
3229
|
}
|
|
3178
|
-
O.get("/openc3-api/autocomplete/keywords/screen").then((
|
|
3179
|
-
this.screenKeywords =
|
|
3230
|
+
O.get("/openc3-api/autocomplete/keywords/screen").then((n) => {
|
|
3231
|
+
this.screenKeywords = n.data;
|
|
3180
3232
|
}), this.inline && (this.readOnly = !0);
|
|
3181
3233
|
},
|
|
3182
3234
|
mounted: async function() {
|
|
3183
3235
|
var a, i;
|
|
3184
3236
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3185
3237
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
3186
|
-
this.rubyMode = new t(), this.pythonMode = new e(), 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
|
|
3187
|
-
const
|
|
3188
|
-
this.editor.session.on("change", (
|
|
3189
|
-
|
|
3190
|
-
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), window.addEventListener("resize", this.calcHeight), this.calcHeight(), this.cable = new
|
|
3191
|
-
...
|
|
3238
|
+
this.rubyMode = new t(), this.pythonMode = new e(), 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 Vi(), new Ri()], this.editor.setHighlightActiveLine(!1), Ke.applyVimModeIfEnabled(this.editor, { saveFn: this.saveFile }), this.editor.focus(), this.editor.on("guttermousedown", this.toggleBreakpoint), this.editor.session.on("tokenizerUpdate", this.onChange), this.readOnlyUser && (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none");
|
|
3239
|
+
const n = new Ii(this.editor);
|
|
3240
|
+
this.editor.session.on("change", (s, d) => {
|
|
3241
|
+
n.annotate(s, d), this.updateBreakpoints(s, d);
|
|
3242
|
+
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), window.addEventListener("resize", this.calcHeight), this.calcHeight(), 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((s) => ({
|
|
3243
|
+
...s,
|
|
3192
3244
|
command: async (d) => {
|
|
3193
3245
|
this.filename = d.label, await this.reloadFile();
|
|
3194
3246
|
}
|
|
@@ -3204,7 +3256,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3204
3256
|
},
|
|
3205
3257
|
methods: {
|
|
3206
3258
|
toggleVimMode() {
|
|
3207
|
-
|
|
3259
|
+
Ke.toggleVimMode(this.editor);
|
|
3208
3260
|
},
|
|
3209
3261
|
doResize() {
|
|
3210
3262
|
this.editor.resize(), this.$nextTick(() => {
|
|
@@ -3216,13 +3268,13 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3216
3268
|
document.documentElement.offsetHeight,
|
|
3217
3269
|
window.innerHeight || 0
|
|
3218
3270
|
);
|
|
3219
|
-
let
|
|
3220
|
-
t && (
|
|
3271
|
+
let n = 0;
|
|
3272
|
+
t && (n = t.offsetHeight);
|
|
3221
3273
|
let a = 0;
|
|
3222
3274
|
const i = document.getElementsByClassName("suite-runner")[0];
|
|
3223
3275
|
i && (a = i.offsetHeight);
|
|
3224
|
-
let
|
|
3225
|
-
|
|
3276
|
+
let s = document.getElementById("script-log-messages");
|
|
3277
|
+
s && (s.style.height = `${e - n - a}px`);
|
|
3226
3278
|
},
|
|
3227
3279
|
scriptDisconnect() {
|
|
3228
3280
|
this.subscription && (this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0;
|
|
@@ -3260,16 +3312,18 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3260
3312
|
tryLoadRunningScript: function(t) {
|
|
3261
3313
|
return O.get(`/script-api/running-script/${t}`).then((e) => {
|
|
3262
3314
|
if (e.data) {
|
|
3263
|
-
let
|
|
3264
|
-
|
|
3315
|
+
let n = e.data.state;
|
|
3316
|
+
n !== "completed" && n !== "completed_errors" && n !== "stopped" && n !== "crashed" && n !== "killed" ? (this.filename = e.data.filename, this.tryLoadSuites(e), this.initScriptStart(), this.scriptStart(t)) : (this.$notify.caution({
|
|
3265
3317
|
title: `Script ${t} has already completed`,
|
|
3266
3318
|
body: "Check the Completed Scripts below ..."
|
|
3267
3319
|
}), this.scriptComplete(), this.showScripts = !0);
|
|
3268
3320
|
} else
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3321
|
+
throw new Error(`Unable to load state for running script ${t}`);
|
|
3322
|
+
}).catch((e) => {
|
|
3323
|
+
this.$notify.caution({
|
|
3324
|
+
title: `Running Script ${t} not found`,
|
|
3325
|
+
body: "Check the Completed Scripts below ..."
|
|
3326
|
+
}), this.scriptComplete(), this.showScripts = !0;
|
|
3273
3327
|
});
|
|
3274
3328
|
},
|
|
3275
3329
|
tryLoadSuites: function(t) {
|
|
@@ -3291,15 +3345,15 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3291
3345
|
},
|
|
3292
3346
|
executeSelection: function() {
|
|
3293
3347
|
const t = this.editor.getSelectionRange();
|
|
3294
|
-
let e = t.start.row + 1,
|
|
3295
|
-
t.end.column === 0 && (
|
|
3348
|
+
let e = t.start.row + 1, n = t.end.row + 1;
|
|
3349
|
+
t.end.column === 0 && (n -= 1), this.scriptId ? O.post(
|
|
3296
3350
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3297
3351
|
{
|
|
3298
3352
|
data: {
|
|
3299
|
-
args: [this.filenameSelect, e,
|
|
3353
|
+
args: [this.filenameSelect, e, n]
|
|
3300
3354
|
}
|
|
3301
3355
|
}
|
|
3302
|
-
) : this.start(null, null, e,
|
|
3356
|
+
) : this.start(null, null, e, n);
|
|
3303
3357
|
},
|
|
3304
3358
|
clearBreakpoints: function() {
|
|
3305
3359
|
this.editor.session.clearBreakpoints();
|
|
@@ -3313,31 +3367,31 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3313
3367
|
updateBreakpoints: function(t, e) {
|
|
3314
3368
|
if (t.lines.length <= 1)
|
|
3315
3369
|
return;
|
|
3316
|
-
const
|
|
3317
|
-
(
|
|
3370
|
+
const n = this.getBreakpointRows(e).filter(
|
|
3371
|
+
(s) => t.start.column === 0 && s === t.start.row || s > t.start.row
|
|
3318
3372
|
);
|
|
3319
3373
|
let a = [], i = 0;
|
|
3320
3374
|
switch (t.action) {
|
|
3321
3375
|
case "insert":
|
|
3322
|
-
i = t.lines.length - 1,
|
|
3376
|
+
i = t.lines.length - 1, n.reverse();
|
|
3323
3377
|
break;
|
|
3324
3378
|
case "remove":
|
|
3325
3379
|
i = -t.lines.length + 1, a = [...Array(t.lines.length).keys()].map(
|
|
3326
|
-
(
|
|
3380
|
+
(s) => s + t.start.row
|
|
3327
3381
|
);
|
|
3328
3382
|
break;
|
|
3329
3383
|
}
|
|
3330
|
-
|
|
3331
|
-
e.clearBreakpoint(
|
|
3384
|
+
n.forEach((s) => {
|
|
3385
|
+
e.clearBreakpoint(s), a.includes(s) || e.setBreakpoint(s + i);
|
|
3332
3386
|
});
|
|
3333
3387
|
},
|
|
3334
3388
|
getBreakpointRows: function(t = this.editor.session) {
|
|
3335
|
-
return t.getBreakpoints().map((e,
|
|
3389
|
+
return t.getBreakpoints().map((e, n) => e && n).filter(Number.isInteger);
|
|
3336
3390
|
},
|
|
3337
3391
|
restoreBreakpoints: function(t) {
|
|
3338
3392
|
var e;
|
|
3339
|
-
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((
|
|
3340
|
-
this.editor.session.setBreakpoint(
|
|
3393
|
+
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((n) => {
|
|
3394
|
+
this.editor.session.setBreakpoint(n);
|
|
3341
3395
|
});
|
|
3342
3396
|
},
|
|
3343
3397
|
deleteAllBreakpoints: function() {
|
|
@@ -3349,7 +3403,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3349
3403
|
});
|
|
3350
3404
|
},
|
|
3351
3405
|
suiteRunnerButton(t) {
|
|
3352
|
-
this.startOrGoButton ===
|
|
3406
|
+
this.startOrGoButton === Be ? this.start(t, "suiteRunner") : this.go(t, "suiteRunner");
|
|
3353
3407
|
},
|
|
3354
3408
|
async keydown(t) {
|
|
3355
3409
|
this.scriptId || this.editor.getReadOnly() === !0 || (t.metaKey || t.ctrlKey) && t.keyCode === 83 && (t.shiftKey ? (t.preventDefault(), this.saveAs()) : (t.preventDefault(), await this.saveFile()));
|
|
@@ -3366,19 +3420,19 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3366
3420
|
"Content-Type": "plain/text"
|
|
3367
3421
|
}
|
|
3368
3422
|
}).then((e) => {
|
|
3369
|
-
let
|
|
3370
|
-
|
|
3371
|
-
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems:
|
|
3423
|
+
let n = "";
|
|
3424
|
+
n += `<strong>${e.data.title}</strong><br/><br/>`, n += JSON.parse(e.data.description), this.$dialog.alert(n.trim(), { html: !0 });
|
|
3425
|
+
})), this.mnemonicChecker.checkText(this.editor.getValue()).then(({ skipped: e, problems: n }) => {
|
|
3372
3426
|
let a = "";
|
|
3373
|
-
if (
|
|
3374
|
-
const i =
|
|
3427
|
+
if (n.length) {
|
|
3428
|
+
const i = n.map((s) => `${s.lineNumber}: ${s.error}`).join("<br/>");
|
|
3375
3429
|
a += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3376
3430
|
}
|
|
3377
3431
|
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 });
|
|
3378
3432
|
});
|
|
3379
3433
|
},
|
|
3380
3434
|
initScriptStart() {
|
|
3381
|
-
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton =
|
|
3435
|
+
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = Di, this.editor.setReadOnly(!0);
|
|
3382
3436
|
},
|
|
3383
3437
|
scriptStart(t) {
|
|
3384
3438
|
this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
|
|
@@ -3395,7 +3449,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3395
3449
|
});
|
|
3396
3450
|
},
|
|
3397
3451
|
async scriptComplete() {
|
|
3398
|
-
this.state = "stopped", this.fatal = !1, this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton =
|
|
3452
|
+
this.state = "stopped", this.fatal = !1, this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.currentFilename = null, this.files = {}, this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && this.editor.setReadOnly(!1), this.disableSuiteButtons = !1, this.startOrGoButton = Be, this.pauseOrRetryButton = pe, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0;
|
|
3399
3453
|
},
|
|
3400
3454
|
environmentHandler: function(t) {
|
|
3401
3455
|
this.scriptEnvironment.env = t;
|
|
@@ -3403,21 +3457,21 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3403
3457
|
startHandler: function() {
|
|
3404
3458
|
this.start();
|
|
3405
3459
|
},
|
|
3406
|
-
async start(t = null, e = null,
|
|
3460
|
+
async start(t = null, e = null, n = null, a = null) {
|
|
3407
3461
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3408
3462
|
let i = this.filename;
|
|
3409
3463
|
this.filename === G && (i = this.tempFilename);
|
|
3410
|
-
let
|
|
3411
|
-
this.showDisconnect && (
|
|
3464
|
+
let s = `/script-api/scripts/${i}/run`;
|
|
3465
|
+
this.showDisconnect && (s += "/disconnect");
|
|
3412
3466
|
let d = this.scriptEnvironment.env;
|
|
3413
3467
|
this.enableStackTraces && (d = d.concat({
|
|
3414
3468
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3415
3469
|
value: "1"
|
|
3416
3470
|
}));
|
|
3417
|
-
let
|
|
3471
|
+
let m = {
|
|
3418
3472
|
environment: d
|
|
3419
3473
|
};
|
|
3420
|
-
e && (
|
|
3474
|
+
e && (m.suiteRunner = t), n !== null && (m.line_no = n), a !== null && (m.end_line_no = a), O.post(s, { data: m }).then((p) => {
|
|
3421
3475
|
this.scriptStart(p.data);
|
|
3422
3476
|
}).catch((p) => {
|
|
3423
3477
|
this.scriptComplete();
|
|
@@ -3427,7 +3481,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3427
3481
|
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename), O.post(`/script-api/running-script/${this.scriptId}/go`);
|
|
3428
3482
|
},
|
|
3429
3483
|
pauseOrRetry() {
|
|
3430
|
-
this.pauseOrRetryButton ===
|
|
3484
|
+
this.pauseOrRetryButton === pe ? O.post(`/script-api/running-script/${this.scriptId}/pause`) : (this.pauseOrRetryButton = pe, O.post(`/script-api/running-script/${this.scriptId}/retry`));
|
|
3431
3485
|
},
|
|
3432
3486
|
stop() {
|
|
3433
3487
|
this.fatal ? (this.removeAllMarkers(), this.scriptComplete()) : O.post(`/script-api/running-script/${this.scriptId}/stop`);
|
|
@@ -3449,18 +3503,18 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3449
3503
|
this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
|
|
3450
3504
|
},
|
|
3451
3505
|
processLine(t) {
|
|
3452
|
-
t.filename && t.filename !== this.currentFilename && (this.files[t.filename] ? (this.currentFilename = t.filename, this.editor.setValue(this.files[t.filename].content), this.restoreBreakpoints(t.filename), this.editor.clearSelection()) : (this.files[t.filename] = { content: "", lineNo: 0 }, O.get(`/script-api/scripts/${t.filename}`).then((
|
|
3506
|
+
t.filename && t.filename !== this.currentFilename && (this.files[t.filename] ? (this.currentFilename = t.filename, this.editor.setValue(this.files[t.filename].content), this.restoreBreakpoints(t.filename), this.editor.clearSelection()) : (this.files[t.filename] = { content: "", lineNo: 0 }, O.get(`/script-api/scripts/${t.filename}`).then((n) => {
|
|
3453
3507
|
this.files[t.filename] = {
|
|
3454
|
-
content:
|
|
3508
|
+
content: n.data.contents,
|
|
3455
3509
|
lineNo: 0
|
|
3456
|
-
}, this.breakpoints[t.filename] =
|
|
3457
|
-
}).catch((
|
|
3510
|
+
}, this.breakpoints[t.filename] = n.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
|
|
3511
|
+
}).catch((n) => {
|
|
3458
3512
|
this.files[t.filename] = null;
|
|
3459
3513
|
}))), this.state = t.state;
|
|
3460
3514
|
const e = this.editor.session.getMarkers();
|
|
3461
3515
|
switch (this.state) {
|
|
3462
3516
|
case "running":
|
|
3463
|
-
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton =
|
|
3517
|
+
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton = pe, this.removeAllMarkers(), this.editor.session.addMarker(
|
|
3464
3518
|
new this.Range(t.line_no - 1, 0, t.line_no - 1, 1),
|
|
3465
3519
|
"runningMarker",
|
|
3466
3520
|
"fullLine"
|
|
@@ -3470,7 +3524,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3470
3524
|
this.fatal = !0;
|
|
3471
3525
|
// Deliberate fall through (no break)
|
|
3472
3526
|
case "error":
|
|
3473
|
-
this.pauseOrRetryButton =
|
|
3527
|
+
this.pauseOrRetryButton = Ui;
|
|
3474
3528
|
// Deliberate fall through (no break)
|
|
3475
3529
|
case "breakpoint":
|
|
3476
3530
|
case "waiting":
|
|
@@ -3493,7 +3547,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3493
3547
|
let t = 0;
|
|
3494
3548
|
for (let e of this.receivedEvents) {
|
|
3495
3549
|
t += 1;
|
|
3496
|
-
let
|
|
3550
|
+
let n = 0;
|
|
3497
3551
|
switch (e.type) {
|
|
3498
3552
|
case "file":
|
|
3499
3553
|
this.files[e.filename] = { content: e.text, lineNo: 0 }, this.breakpoints[e.filename] = e.breakpoints, this.currentFilename === e.filename && this.restoreBreakpoints(e.filename);
|
|
@@ -3527,25 +3581,25 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3527
3581
|
i = screen, a = !0;
|
|
3528
3582
|
break;
|
|
3529
3583
|
}
|
|
3530
|
-
|
|
3584
|
+
n += 1;
|
|
3531
3585
|
}
|
|
3532
|
-
i.target = e.target_name, i.screen = e.screen_name, i.definition = e.definition, e.x ? i.left = e.x : i.left = 0, e.y ? i.top = e.y : i.top = 0, i.count = this.updateCounter++, a ? this.screens[
|
|
3586
|
+
i.target = e.target_name, i.screen = e.screen_name, i.definition = e.definition, e.x ? i.left = e.x : i.left = 0, e.y ? i.top = e.y : i.top = 0, i.count = this.updateCounter++, a ? this.screens[n] = i : (i.id = this.idCounter++, this.screens[this.screens.length] = i);
|
|
3533
3587
|
break;
|
|
3534
3588
|
case "clearscreen":
|
|
3535
3589
|
for (screen of this.screens) {
|
|
3536
3590
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3537
|
-
this.screens.splice(
|
|
3591
|
+
this.screens.splice(n, 1);
|
|
3538
3592
|
break;
|
|
3539
3593
|
}
|
|
3540
|
-
|
|
3594
|
+
n += 1;
|
|
3541
3595
|
}
|
|
3542
3596
|
break;
|
|
3543
3597
|
case "clearallscreens":
|
|
3544
3598
|
this.screens = [];
|
|
3545
3599
|
break;
|
|
3546
3600
|
case "downloadfile":
|
|
3547
|
-
const
|
|
3548
|
-
|
|
3601
|
+
const s = document.createElement("a");
|
|
3602
|
+
s.href = window.location.origin + e.url, s.setAttribute("download", e.filename), s.click();
|
|
3549
3603
|
break;
|
|
3550
3604
|
}
|
|
3551
3605
|
}
|
|
@@ -3631,15 +3685,15 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3631
3685
|
}
|
|
3632
3686
|
},
|
|
3633
3687
|
async fileDialogCallback(t) {
|
|
3634
|
-
let e = "Cancel",
|
|
3688
|
+
let e = "Cancel", n = [];
|
|
3635
3689
|
t != "Cancel" && (e = [], t.forEach((a) => {
|
|
3636
|
-
e.push(a.name),
|
|
3690
|
+
e.push(a.name), n.push(
|
|
3637
3691
|
O.get(
|
|
3638
3692
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3639
3693
|
`${window.openc3Scope}/tmp/${a.name}`
|
|
3640
3694
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3641
3695
|
).then((i) => {
|
|
3642
|
-
|
|
3696
|
+
n.push(
|
|
3643
3697
|
ft({
|
|
3644
3698
|
...i.data,
|
|
3645
3699
|
data: a
|
|
@@ -3647,7 +3701,7 @@ const Je = "__TEMP__", G = "<Untitled>", Fe = "Start", Ii = "Go", ue = "Pause",
|
|
|
3647
3701
|
);
|
|
3648
3702
|
})
|
|
3649
3703
|
);
|
|
3650
|
-
})), Promise.all(
|
|
3704
|
+
})), Promise.all(n).then((a) => {
|
|
3651
3705
|
O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3652
3706
|
data: {
|
|
3653
3707
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
@@ -3717,49 +3771,49 @@ end
|
|
|
3717
3771
|
|
|
3718
3772
|
# Group class name should indicate what the scripts are testing
|
|
3719
3773
|
class Power(Group):
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3774
|
+
# Methods beginning with script_ are added to Script dropdown
|
|
3775
|
+
def script_power_on(self):
|
|
3776
|
+
# Using Group.print adds the output to the Test Report
|
|
3777
|
+
# This can be useful for requirements verification, QA notes, etc
|
|
3778
|
+
Group.print("Verifying requirement SR-1")
|
|
3779
|
+
self.configure()
|
|
3726
3780
|
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3781
|
+
# Other methods are not added to Script dropdown
|
|
3782
|
+
def configure(self):
|
|
3783
|
+
pass
|
|
3730
3784
|
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3785
|
+
def setup(self):
|
|
3786
|
+
# Run when Group Setup button is pressed
|
|
3787
|
+
# Run before all scripts when Group Start is pressed
|
|
3788
|
+
pass
|
|
3735
3789
|
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3790
|
+
def teardown(self):
|
|
3791
|
+
# Run when Group Teardown button is pressed
|
|
3792
|
+
# Run after all scripts when Group Start is pressed
|
|
3793
|
+
pass
|
|
3740
3794
|
|
|
3741
3795
|
class TestSuite(Suite):
|
|
3742
|
-
|
|
3743
|
-
|
|
3796
|
+
def __init__(self):
|
|
3797
|
+
self.add_group(Power)
|
|
3744
3798
|
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3799
|
+
def setup(self):
|
|
3800
|
+
# Run when Suite Setup button is pressed
|
|
3801
|
+
# Run before all groups when Suite Start is pressed
|
|
3802
|
+
pass
|
|
3749
3803
|
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3804
|
+
def teardown(self):
|
|
3805
|
+
# Run when Suite Teardown button is pressed
|
|
3806
|
+
# Run after all groups when Suite Start is pressed
|
|
3807
|
+
pass
|
|
3754
3808
|
`), await this.saveFile("auto");
|
|
3755
3809
|
},
|
|
3756
3810
|
addToRecent(t) {
|
|
3757
|
-
let e = this.recent.findIndex((
|
|
3811
|
+
let e = this.recent.findIndex((n) => n.label === t);
|
|
3758
3812
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3759
3813
|
label: t,
|
|
3760
|
-
icon:
|
|
3761
|
-
command: async (
|
|
3762
|
-
this.filename =
|
|
3814
|
+
icon: vt(t),
|
|
3815
|
+
command: async (n) => {
|
|
3816
|
+
this.filename = n.label, await this.reloadFile();
|
|
3763
3817
|
}
|
|
3764
3818
|
}), this.recent.length > 8 && this.recent.pop(), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3765
3819
|
},
|
|
@@ -3776,13 +3830,13 @@ class TestSuite(Suite):
|
|
|
3776
3830
|
"Ignore-Errors": "404"
|
|
3777
3831
|
}
|
|
3778
3832
|
}).then((e) => {
|
|
3779
|
-
const
|
|
3833
|
+
const n = {
|
|
3780
3834
|
name: this.filename,
|
|
3781
3835
|
contents: e.data.contents
|
|
3782
3836
|
};
|
|
3783
|
-
e.data.suites && (
|
|
3837
|
+
e.data.suites && (n.suites = JSON.parse(e.data.suites)), e.data.error && (n.error = e.data.error), e.data.success && (n.success = e.data.success);
|
|
3784
3838
|
const a = e.data.locked, i = e.data.breakpoints;
|
|
3785
|
-
this.setFile({ file:
|
|
3839
|
+
this.setFile({ file: n, locked: a, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3786
3840
|
}).catch((e) => {
|
|
3787
3841
|
t === !0 && this.$notify.caution({
|
|
3788
3842
|
title: "File Open Error",
|
|
@@ -3791,7 +3845,7 @@ class TestSuite(Suite):
|
|
|
3791
3845
|
});
|
|
3792
3846
|
},
|
|
3793
3847
|
// Called by the FileOpenDialog to set the file contents
|
|
3794
|
-
setFile({ file: t, locked: e, breakpoints:
|
|
3848
|
+
setFile({ file: t, locked: e, breakpoints: n }, a = !1) {
|
|
3795
3849
|
this.files = {};
|
|
3796
3850
|
let i = t.name.split("*")[0];
|
|
3797
3851
|
if (a === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
@@ -3802,10 +3856,10 @@ class TestSuite(Suite):
|
|
|
3802
3856
|
}
|
|
3803
3857
|
}).catch((d) => {
|
|
3804
3858
|
});
|
|
3805
|
-
let
|
|
3806
|
-
document.title = `${
|
|
3859
|
+
let s = this.filename.split("/");
|
|
3860
|
+
document.title = `${s.pop()} (${s.join("/")})`;
|
|
3807
3861
|
}
|
|
3808
|
-
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] =
|
|
3862
|
+
this.filename.split(".").pop() === "py" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), this.currentFilename = null, this.editor.session.setValue(t.contents), this.breakpoints[this.filename] = n, this.restoreBreakpoints(this.filename), this.fileModified = "", this.envDisabled = !1, this.addToRecent(this.filename), t.suites ? (this.suiteRunner = !0, this.suiteMap = t.suites, this.startOrGoDisabled = !0) : (this.suiteRunner = !1, this.startOrGoDisabled = !1), t.error && (this.suiteError = t.error, this.showSuiteError = !0), this.disableSuiteButtons = t.success == !1, this.doResize();
|
|
3809
3863
|
},
|
|
3810
3864
|
clearTemp() {
|
|
3811
3865
|
this.recent = this.recent.filter(
|
|
@@ -3813,18 +3867,18 @@ class TestSuite(Suite):
|
|
|
3813
3867
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3814
3868
|
},
|
|
3815
3869
|
detectLanguage() {
|
|
3816
|
-
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "),
|
|
3870
|
+
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), n = new RegExp("^\\s*end\\s*$"), a = new RegExp(
|
|
3817
3871
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3818
3872
|
), i = new RegExp('\\(f"'), d = this.editor.getValue().split(`
|
|
3819
3873
|
`);
|
|
3820
|
-
for (let
|
|
3821
|
-
if (
|
|
3874
|
+
for (let m of d) {
|
|
3875
|
+
if (m.match(t))
|
|
3822
3876
|
return "ruby";
|
|
3823
|
-
if (
|
|
3877
|
+
if (m.match(e))
|
|
3824
3878
|
return "python";
|
|
3825
|
-
if (
|
|
3879
|
+
if (m.match(n))
|
|
3826
3880
|
return "ruby";
|
|
3827
|
-
if (
|
|
3881
|
+
if (m.match(a) || m.match(i))
|
|
3828
3882
|
return "python";
|
|
3829
3883
|
}
|
|
3830
3884
|
return "unknown";
|
|
@@ -3840,11 +3894,11 @@ class TestSuite(Suite):
|
|
|
3840
3894
|
this.saveAs();
|
|
3841
3895
|
return;
|
|
3842
3896
|
} else if (this.tempFilename === null) {
|
|
3843
|
-
let
|
|
3844
|
-
if (
|
|
3845
|
-
this.tempFilename =
|
|
3846
|
-
else if (
|
|
3847
|
-
this.tempFilename =
|
|
3897
|
+
let n = this.detectLanguage();
|
|
3898
|
+
if (n === "ruby" || t !== "auto" && n == "unknown")
|
|
3899
|
+
this.tempFilename = Ye + "/" + xe(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.rb";
|
|
3900
|
+
else if (n === "python")
|
|
3901
|
+
this.tempFilename = Ye + "/" + xe(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_temp.py";
|
|
3848
3902
|
else
|
|
3849
3903
|
return;
|
|
3850
3904
|
this.filename = this.tempFilename, this.addToRecent(this.filename);
|
|
@@ -3856,12 +3910,12 @@ class TestSuite(Suite):
|
|
|
3856
3910
|
// Pass in the raw file text
|
|
3857
3911
|
breakpoints: e
|
|
3858
3912
|
}
|
|
3859
|
-
}).then((
|
|
3860
|
-
|
|
3913
|
+
}).then((n) => {
|
|
3914
|
+
n.status == 200 ? (n.data.suites ? (this.startOrGoDisabled = !0, this.suiteRunner = !0, this.suiteMap = JSON.parse(n.data.suites)) : (this.startOrGoDisabled = !1, this.suiteRunner = !1, this.suiteMap = {}), n.data.error && (this.suiteError = n.data.error, this.showSuiteError = !0), this.fileModified = "", setTimeout(() => {
|
|
3861
3915
|
this.showSave = !1;
|
|
3862
|
-
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${
|
|
3863
|
-
}).catch(({ response:
|
|
3864
|
-
this.showSave = !1,
|
|
3916
|
+
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${n.status} Text: ${n.statusText}`, this.showAlert = !0), this.lockFile(), this.doResize();
|
|
3917
|
+
}).catch(({ response: n }) => {
|
|
3918
|
+
this.showSave = !1, n.status == 422 ? (this.alertType = "error", this.alertText = n.data.suites) : (this.alertType = "error", this.alertText = `Error saving file. Code: ${n.status} Text: ${n.statusText}`), this.showAlert = !0;
|
|
3865
3919
|
});
|
|
3866
3920
|
} else
|
|
3867
3921
|
this.setError("Attempt to save file when not allowed");
|
|
@@ -3883,11 +3937,11 @@ class TestSuite(Suite):
|
|
|
3883
3937
|
this.removeFromRecent(t), this.newFile();
|
|
3884
3938
|
}).catch((e) => {
|
|
3885
3939
|
if (e !== !0) {
|
|
3886
|
-
const
|
|
3940
|
+
const n = {
|
|
3887
3941
|
text: `Failed Multi-Delete. ${e}`,
|
|
3888
3942
|
type: "error"
|
|
3889
3943
|
};
|
|
3890
|
-
this.$emit("alert",
|
|
3944
|
+
this.$emit("alert", n);
|
|
3891
3945
|
}
|
|
3892
3946
|
});
|
|
3893
3947
|
},
|
|
@@ -3975,32 +4029,34 @@ class TestSuite(Suite):
|
|
|
3975
4029
|
}
|
|
3976
4030
|
}
|
|
3977
4031
|
}
|
|
3978
|
-
},
|
|
4032
|
+
}, zi = { class: "grid" }, Ai = ["id"], Fi = { class: "item-content" }, Bi = { id: "sr-controls" }, Li = { class: "d-flex align-center mr-1" }, Ni = { key: 0 }, Hi = { key: 1 }, Gi = {
|
|
3979
4033
|
key: 2,
|
|
3980
4034
|
style: { width: "40px", height: "40px" },
|
|
3981
4035
|
class: "mx-2"
|
|
3982
|
-
},
|
|
4036
|
+
}, qi = { key: 3 }, ji = { key: 4 }, Ki = {
|
|
3983
4037
|
key: 0,
|
|
3984
4038
|
id: "debug",
|
|
3985
4039
|
class: "pa-0"
|
|
3986
|
-
},
|
|
3987
|
-
function
|
|
3988
|
-
const d = u("top-bar"),
|
|
3989
|
-
return y(), P(
|
|
3990
|
-
|
|
4040
|
+
}, Wi = { key: 1 }, Ji = { key: 0 }, Yi = { key: 1 };
|
|
4041
|
+
function Zi(t, e, n, a, i, s) {
|
|
4042
|
+
const d = u("top-bar"), m = u("v-icon"), p = u("v-btn"), v = u("v-snackbar"), w = u("openc3-screen"), x = u("suite-runner"), b = u("v-tooltip"), R = u("v-select"), C = u("v-text-field"), E = u("v-progress-circular"), _ = u("v-spacer"), U = u("v-badge"), N = u("v-row"), Q = u("v-card-text"), re = u("v-card"), K = u("v-list-item"), ae = u("v-divider"), M = u("v-list"), F = u("v-menu"), ue = u("pane"), Y = u("script-log-messages"), Oe = u("splitpanes"), be = u("v-col"), we = u("file-open-save-dialog"), ye = u("environment-dialog"), Ee = u("ask-dialog"), $ = u("file-dialog"), Me = u("information-dialog"), Te = u("event-list-dialog"), Ie = u("overrides-dialog"), de = u("prompt-dialog"), De = u("results-dialog"), Ue = u("script-environment-dialog"), Pe = u("simple-text-dialog"), ce = u("critical-cmd-dialog"), L = u("running-scripts"), ze = u("v-sheet"), c = u("v-bottom-sheet");
|
|
4043
|
+
return y(), P(oe, null, [
|
|
4044
|
+
n.inline ? D("", !0) : (y(), P(oe, { key: 0 }, [
|
|
3991
4045
|
o(d, {
|
|
3992
|
-
menus:
|
|
4046
|
+
menus: s.menus,
|
|
3993
4047
|
title: i.title
|
|
3994
4048
|
}, null, 8, ["menus", "title"]),
|
|
3995
4049
|
o(v, {
|
|
3996
4050
|
modelValue: i.showAlert,
|
|
3997
4051
|
"onUpdate:modelValue": e[1] || (e[1] = (r) => i.showAlert = r),
|
|
3998
|
-
|
|
4052
|
+
absolute: "",
|
|
3999
4053
|
color: i.alertType,
|
|
4000
|
-
timeout: 3e3
|
|
4054
|
+
timeout: 3e3,
|
|
4055
|
+
class: "apply-top",
|
|
4056
|
+
style: Se(t.classificationStyles)
|
|
4001
4057
|
}, {
|
|
4002
4058
|
actions: l(({ attrs: r }) => [
|
|
4003
|
-
o(p,
|
|
4059
|
+
o(p, J({
|
|
4004
4060
|
variant: "text",
|
|
4005
4061
|
text: "Close"
|
|
4006
4062
|
}, r, {
|
|
@@ -4008,7 +4064,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4008
4064
|
}), null, 16)
|
|
4009
4065
|
]),
|
|
4010
4066
|
default: l(() => [
|
|
4011
|
-
o(
|
|
4067
|
+
o(m, null, {
|
|
4012
4068
|
default: l(() => [
|
|
4013
4069
|
k(" mdi-" + z(i.alertType), 1)
|
|
4014
4070
|
]),
|
|
@@ -4017,22 +4073,24 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4017
4073
|
k(" " + z(i.alertText) + " ", 1)
|
|
4018
4074
|
]),
|
|
4019
4075
|
_: 1
|
|
4020
|
-
}, 8, ["modelValue", "color"]),
|
|
4076
|
+
}, 8, ["modelValue", "color", "style"]),
|
|
4021
4077
|
o(v, {
|
|
4022
4078
|
modelValue: i.showEditingToast,
|
|
4023
4079
|
"onUpdate:modelValue": e[3] || (e[3] = (r) => i.showEditingToast = r),
|
|
4024
|
-
|
|
4080
|
+
absolute: "",
|
|
4081
|
+
class: "apply-top",
|
|
4082
|
+
style: Se(t.classificationStyles),
|
|
4025
4083
|
timeout: -1,
|
|
4026
4084
|
color: "orange"
|
|
4027
4085
|
}, {
|
|
4028
4086
|
actions: l(({ attrs: r }) => [
|
|
4029
|
-
o(p,
|
|
4087
|
+
o(p, J({ variant: "text" }, r, {
|
|
4030
4088
|
color: "danger",
|
|
4031
4089
|
text: "Unlock",
|
|
4032
4090
|
"data-test": "unlock-button",
|
|
4033
|
-
onClick:
|
|
4091
|
+
onClick: s.confirmLocalUnlock
|
|
4034
4092
|
}), null, 16, ["onClick"]),
|
|
4035
|
-
o(p,
|
|
4093
|
+
o(p, J({
|
|
4036
4094
|
variant: "text",
|
|
4037
4095
|
text: "Dismiss"
|
|
4038
4096
|
}, r, {
|
|
@@ -4042,25 +4100,25 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4042
4100
|
}), null, 16)
|
|
4043
4101
|
]),
|
|
4044
4102
|
default: l(() => [
|
|
4045
|
-
o(
|
|
4046
|
-
default: l(() => e[36] || (e[36] = [
|
|
4047
|
-
k(" mdi-pencil-off ")
|
|
4048
|
-
])),
|
|
4103
|
+
o(m, null, {
|
|
4104
|
+
default: l(() => [...e[36] || (e[36] = [
|
|
4105
|
+
k(" mdi-pencil-off ", -1)
|
|
4106
|
+
])]),
|
|
4049
4107
|
_: 1
|
|
4050
4108
|
}),
|
|
4051
4109
|
k(" " + z(i.lockedBy) + " is editing this script. Editor is in read-only mode ", 1)
|
|
4052
4110
|
]),
|
|
4053
4111
|
_: 1
|
|
4054
|
-
}, 8, ["modelValue"]),
|
|
4055
|
-
S("div",
|
|
4056
|
-
(y(!0), P(
|
|
4057
|
-
id:
|
|
4112
|
+
}, 8, ["modelValue", "style"]),
|
|
4113
|
+
S("div", zi, [
|
|
4114
|
+
(y(!0), P(oe, null, Ne(i.screens, (r) => (y(), P("div", {
|
|
4115
|
+
id: s.screenId(r.id),
|
|
4058
4116
|
key: r.id,
|
|
4059
4117
|
ref_for: !0,
|
|
4060
4118
|
ref: "gridItem",
|
|
4061
4119
|
class: "item"
|
|
4062
4120
|
}, [
|
|
4063
|
-
S("div",
|
|
4121
|
+
S("div", Fi, [
|
|
4064
4122
|
o(w, {
|
|
4065
4123
|
target: r.target,
|
|
4066
4124
|
screen: r.screen,
|
|
@@ -4073,83 +4131,93 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4073
4131
|
"min-z": 3,
|
|
4074
4132
|
"fix-floated": !0,
|
|
4075
4133
|
count: r.count,
|
|
4076
|
-
onCloseScreen: (h) =>
|
|
4077
|
-
onDeleteScreen: (h) =>
|
|
4134
|
+
onCloseScreen: (h) => s.closeScreen(r.id),
|
|
4135
|
+
onDeleteScreen: (h) => s.closeScreen(r.id)
|
|
4078
4136
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4079
4137
|
])
|
|
4080
|
-
], 8,
|
|
4138
|
+
], 8, Ai))), 128))
|
|
4081
4139
|
]),
|
|
4082
|
-
o(
|
|
4140
|
+
o(re, null, {
|
|
4083
4141
|
default: l(() => [
|
|
4084
|
-
o(
|
|
4142
|
+
o(Q, null, {
|
|
4085
4143
|
default: l(() => [
|
|
4086
4144
|
i.suiteRunner ? (y(), T(x, {
|
|
4087
4145
|
key: 0,
|
|
4088
4146
|
class: "suite-runner",
|
|
4089
4147
|
"suite-map": i.suiteMap,
|
|
4090
4148
|
"disable-buttons": i.disableSuiteButtons,
|
|
4091
|
-
filename:
|
|
4092
|
-
onButton:
|
|
4093
|
-
onLoaded:
|
|
4149
|
+
filename: s.fullFilename,
|
|
4150
|
+
onButton: s.suiteRunnerButton,
|
|
4151
|
+
onLoaded: s.doResize
|
|
4094
4152
|
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : D("", !0),
|
|
4095
|
-
S("div",
|
|
4096
|
-
o(
|
|
4153
|
+
S("div", Bi, [
|
|
4154
|
+
o(N, {
|
|
4097
4155
|
"no-gutters": "",
|
|
4098
4156
|
justify: "space-between"
|
|
4099
4157
|
}, {
|
|
4100
4158
|
default: l(() => [
|
|
4101
|
-
i.showDisconnect ? (y(), T(
|
|
4159
|
+
i.showDisconnect ? (y(), T(m, {
|
|
4102
4160
|
key: 0,
|
|
4103
4161
|
class: "mt-2",
|
|
4104
4162
|
color: "red"
|
|
4105
4163
|
}, {
|
|
4106
|
-
default: l(() => e[37] || (e[37] = [
|
|
4107
|
-
k(" mdi-connection ")
|
|
4108
|
-
])),
|
|
4164
|
+
default: l(() => [...e[37] || (e[37] = [
|
|
4165
|
+
k(" mdi-connection ", -1)
|
|
4166
|
+
])]),
|
|
4109
4167
|
_: 1
|
|
4110
4168
|
})) : D("", !0),
|
|
4111
|
-
S("div",
|
|
4169
|
+
S("div", Li, [
|
|
4112
4170
|
o(b, {
|
|
4113
4171
|
"open-delay": 600,
|
|
4114
4172
|
location: "top"
|
|
4115
4173
|
}, {
|
|
4116
4174
|
activator: l(({ props: r }) => [
|
|
4117
|
-
i.scriptId ? (y(), T(p,
|
|
4175
|
+
i.scriptId ? (y(), T(p, J({ key: 1 }, r, {
|
|
4118
4176
|
icon: "mdi-arrow-left",
|
|
4119
4177
|
variant: "text",
|
|
4120
4178
|
density: "compact",
|
|
4121
|
-
onClick:
|
|
4122
|
-
}), null, 16, ["onClick"])) : (y(), T(p,
|
|
4179
|
+
onClick: s.backToNewScript
|
|
4180
|
+
}), null, 16, ["onClick"])) : (y(), T(p, J({ key: 0 }, r, {
|
|
4123
4181
|
icon: "mdi-cached",
|
|
4124
4182
|
variant: "text",
|
|
4125
4183
|
density: "compact",
|
|
4126
4184
|
disabled: i.filename === t.NEW_FILENAME,
|
|
4127
4185
|
"aria-label": "Reload File",
|
|
4128
|
-
onClick:
|
|
4186
|
+
onClick: s.reloadFile
|
|
4129
4187
|
}), null, 16, ["disabled", "onClick"]))
|
|
4130
4188
|
]),
|
|
4131
4189
|
default: l(() => [
|
|
4132
|
-
i.scriptId ? (y(), P("span",
|
|
4190
|
+
i.scriptId ? (y(), P("span", Hi, " Back to New Script ")) : (y(), P("span", Ni, " Reload File "))
|
|
4133
4191
|
]),
|
|
4134
4192
|
_: 1
|
|
4135
4193
|
})
|
|
4136
4194
|
]),
|
|
4137
|
-
o(
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4195
|
+
o(b, {
|
|
4196
|
+
location: "bottom",
|
|
4197
|
+
text: i.filenameSelect,
|
|
4198
|
+
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4199
|
+
}, {
|
|
4200
|
+
activator: l(({ props: r }) => [
|
|
4201
|
+
S("div", J(r, { style: { width: "32rem" } }), [
|
|
4202
|
+
o(R, {
|
|
4203
|
+
id: "filename",
|
|
4204
|
+
modelValue: i.filenameSelect,
|
|
4205
|
+
"onUpdate:modelValue": [
|
|
4206
|
+
e[4] || (e[4] = (h) => i.filenameSelect = h),
|
|
4207
|
+
s.fileNameChanged
|
|
4208
|
+
],
|
|
4209
|
+
items: s.fileList,
|
|
4210
|
+
disabled: s.fileList.length <= 1,
|
|
4211
|
+
label: "Filename",
|
|
4212
|
+
"data-test": "filename",
|
|
4213
|
+
density: "compact",
|
|
4214
|
+
variant: "outlined",
|
|
4215
|
+
"hide-details": ""
|
|
4216
|
+
}, null, 8, ["modelValue", "items", "disabled", "onUpdate:modelValue"])
|
|
4217
|
+
], 16)
|
|
4218
|
+
]),
|
|
4219
|
+
_: 1
|
|
4220
|
+
}, 8, ["text", "disabled"]),
|
|
4153
4221
|
o(C, {
|
|
4154
4222
|
modelValue: i.scriptId,
|
|
4155
4223
|
"onUpdate:modelValue": e[5] || (e[5] = (r) => i.scriptId = r),
|
|
@@ -4163,8 +4231,8 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4163
4231
|
"hide-details": ""
|
|
4164
4232
|
}, null, 8, ["modelValue"]),
|
|
4165
4233
|
o(C, {
|
|
4166
|
-
modelValue:
|
|
4167
|
-
"onUpdate:modelValue": e[6] || (e[6] = (r) =>
|
|
4234
|
+
modelValue: s.stateTimer,
|
|
4235
|
+
"onUpdate:modelValue": e[6] || (e[6] = (r) => s.stateTimer = r),
|
|
4168
4236
|
label: "Script State",
|
|
4169
4237
|
"data-test": "state",
|
|
4170
4238
|
class: "shrink ml-2 script-state",
|
|
@@ -4174,21 +4242,21 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4174
4242
|
readonly: "",
|
|
4175
4243
|
"hide-details": ""
|
|
4176
4244
|
}, null, 8, ["modelValue"]),
|
|
4177
|
-
i.state === "Connecting..." ? (y(), T(
|
|
4245
|
+
i.state === "Connecting..." ? (y(), T(E, {
|
|
4178
4246
|
key: 1,
|
|
4179
4247
|
size: 40,
|
|
4180
4248
|
class: "mx-2",
|
|
4181
4249
|
indeterminate: "",
|
|
4182
4250
|
color: "primary"
|
|
4183
|
-
})) : (y(), P("div",
|
|
4251
|
+
})) : (y(), P("div", Gi)),
|
|
4184
4252
|
o(_),
|
|
4185
|
-
i.startOrGoButton === "Start" ? (y(), P("div",
|
|
4253
|
+
i.startOrGoButton === "Start" ? (y(), P("div", qi, [
|
|
4186
4254
|
o(b, {
|
|
4187
4255
|
"open-delay": 600,
|
|
4188
4256
|
location: "top"
|
|
4189
4257
|
}, {
|
|
4190
4258
|
activator: l(({ props: r }) => [
|
|
4191
|
-
o(p,
|
|
4259
|
+
o(p, J(r, {
|
|
4192
4260
|
class: "mr-2",
|
|
4193
4261
|
icon: "",
|
|
4194
4262
|
variant: "text",
|
|
@@ -4200,24 +4268,24 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4200
4268
|
}), {
|
|
4201
4269
|
default: l(() => [
|
|
4202
4270
|
o(U, {
|
|
4203
|
-
modelValue:
|
|
4204
|
-
"onUpdate:modelValue": e[7] || (e[7] = (h) =>
|
|
4271
|
+
modelValue: s.environmentModified,
|
|
4272
|
+
"onUpdate:modelValue": e[7] || (e[7] = (h) => s.environmentModified = h),
|
|
4205
4273
|
floating: "",
|
|
4206
4274
|
dot: ""
|
|
4207
4275
|
}, {
|
|
4208
4276
|
default: l(() => [
|
|
4209
|
-
o(
|
|
4277
|
+
o(m, { icon: "mdi-application-variable" })
|
|
4210
4278
|
]),
|
|
4211
4279
|
_: 1
|
|
4212
4280
|
}, 8, ["modelValue"])
|
|
4213
4281
|
]),
|
|
4214
|
-
_:
|
|
4215
|
-
},
|
|
4282
|
+
_: 1
|
|
4283
|
+
}, 16, ["disabled"])
|
|
4216
4284
|
]),
|
|
4217
4285
|
default: l(() => [
|
|
4218
4286
|
S("span", null, [
|
|
4219
|
-
e[38] || (e[38] = k(" Script Environment ")),
|
|
4220
|
-
|
|
4287
|
+
e[38] || (e[38] = k(" Script Environment ", -1)),
|
|
4288
|
+
s.environmentModified ? (y(), P(oe, { key: 0 }, [
|
|
4221
4289
|
k(" (modified) ")
|
|
4222
4290
|
], 64)) : D("", !0)
|
|
4223
4291
|
])
|
|
@@ -4231,16 +4299,16 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4231
4299
|
"data-test": "start-button",
|
|
4232
4300
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4233
4301
|
hidden: i.suiteRunner,
|
|
4234
|
-
onClick:
|
|
4302
|
+
onClick: s.startHandler
|
|
4235
4303
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4236
|
-
])) : (y(), P("div",
|
|
4304
|
+
])) : (y(), P("div", ji, [
|
|
4237
4305
|
o(p, {
|
|
4238
4306
|
color: "primary",
|
|
4239
4307
|
class: "mr-2",
|
|
4240
4308
|
text: "Go",
|
|
4241
4309
|
disabled: i.startOrGoDisabled,
|
|
4242
4310
|
"data-test": "go-button",
|
|
4243
|
-
onClick:
|
|
4311
|
+
onClick: s.go
|
|
4244
4312
|
}, null, 8, ["disabled", "onClick"]),
|
|
4245
4313
|
o(p, {
|
|
4246
4314
|
color: "primary",
|
|
@@ -4248,14 +4316,14 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4248
4316
|
text: i.pauseOrRetryButton,
|
|
4249
4317
|
disabled: i.pauseOrRetryDisabled,
|
|
4250
4318
|
"data-test": "pause-retry-button",
|
|
4251
|
-
onClick:
|
|
4319
|
+
onClick: s.pauseOrRetry
|
|
4252
4320
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4253
4321
|
o(p, {
|
|
4254
4322
|
color: "primary",
|
|
4255
4323
|
text: "Stop",
|
|
4256
4324
|
"data-test": "stop-button",
|
|
4257
4325
|
disabled: i.stopDisabled,
|
|
4258
|
-
onClick:
|
|
4326
|
+
onClick: s.stop
|
|
4259
4327
|
}, null, 8, ["disabled", "onClick"])
|
|
4260
4328
|
]))
|
|
4261
4329
|
]),
|
|
@@ -4268,13 +4336,13 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4268
4336
|
]),
|
|
4269
4337
|
_: 1
|
|
4270
4338
|
}),
|
|
4271
|
-
o(
|
|
4339
|
+
o(Oe, {
|
|
4272
4340
|
horizontal: "",
|
|
4273
4341
|
style: { height: "100%" },
|
|
4274
|
-
onResize:
|
|
4342
|
+
onResize: s.calcHeight
|
|
4275
4343
|
}, {
|
|
4276
4344
|
default: l(() => [
|
|
4277
|
-
o(
|
|
4345
|
+
o(ue, {
|
|
4278
4346
|
class: "editorbox",
|
|
4279
4347
|
size: "50"
|
|
4280
4348
|
}, {
|
|
@@ -4283,52 +4351,53 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4283
4351
|
modelValue: i.showSave,
|
|
4284
4352
|
"onUpdate:modelValue": e[9] || (e[9] = (r) => i.showSave = r),
|
|
4285
4353
|
absolute: "",
|
|
4286
|
-
location: "
|
|
4354
|
+
location: "right",
|
|
4287
4355
|
timeout: -1,
|
|
4288
|
-
class: "saving"
|
|
4356
|
+
class: "saving apply-top",
|
|
4357
|
+
style: Se(t.classificationStyles)
|
|
4289
4358
|
}, {
|
|
4290
|
-
default: l(() => e[39] || (e[39] = [
|
|
4291
|
-
k(" Saving... ")
|
|
4292
|
-
])),
|
|
4359
|
+
default: l(() => [...e[39] || (e[39] = [
|
|
4360
|
+
k(" Saving... ", -1)
|
|
4361
|
+
])]),
|
|
4293
4362
|
_: 1
|
|
4294
|
-
}, 8, ["modelValue"]),
|
|
4363
|
+
}, 8, ["modelValue", "style"]),
|
|
4295
4364
|
S("pre", {
|
|
4296
4365
|
ref: "editor",
|
|
4297
4366
|
class: "editor",
|
|
4298
|
-
onContextmenu: e[10] || (e[10] =
|
|
4367
|
+
onContextmenu: e[10] || (e[10] = le((...r) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...r), ["prevent"]))
|
|
4299
4368
|
}, null, 544),
|
|
4300
|
-
o(
|
|
4369
|
+
o(F, {
|
|
4301
4370
|
modelValue: i.executeSelectionMenu,
|
|
4302
4371
|
"onUpdate:modelValue": e[11] || (e[11] = (r) => i.executeSelectionMenu = r),
|
|
4303
4372
|
target: [i.menuX, i.menuY]
|
|
4304
4373
|
}, {
|
|
4305
4374
|
default: l(() => [
|
|
4306
|
-
o(
|
|
4375
|
+
o(M, null, {
|
|
4307
4376
|
default: l(() => [
|
|
4308
|
-
o(
|
|
4377
|
+
o(K, {
|
|
4309
4378
|
title: "Execute Selection",
|
|
4310
|
-
onClick:
|
|
4379
|
+
onClick: s.executeSelection
|
|
4311
4380
|
}, null, 8, ["onClick"]),
|
|
4312
|
-
i.scriptId ? (y(), T(
|
|
4381
|
+
i.scriptId ? (y(), T(K, {
|
|
4313
4382
|
key: 0,
|
|
4314
4383
|
title: "Goto Line",
|
|
4315
|
-
onClick:
|
|
4384
|
+
onClick: s.runFromCursor
|
|
4316
4385
|
}, null, 8, ["onClick"])) : D("", !0),
|
|
4317
|
-
i.scriptId ? D("", !0) : (y(), T(
|
|
4386
|
+
i.scriptId ? D("", !0) : (y(), T(K, {
|
|
4318
4387
|
key: 1,
|
|
4319
4388
|
title: "Run From Line",
|
|
4320
|
-
onClick:
|
|
4389
|
+
onClick: s.runFromCursor
|
|
4321
4390
|
}, null, 8, ["onClick"])),
|
|
4322
|
-
i.scriptId ? D("", !0) : (y(), T(
|
|
4391
|
+
i.scriptId ? D("", !0) : (y(), T(K, {
|
|
4323
4392
|
key: 2,
|
|
4324
4393
|
title: "Clear Local Breakpoints",
|
|
4325
|
-
onClick:
|
|
4394
|
+
onClick: s.clearBreakpoints
|
|
4326
4395
|
}, null, 8, ["onClick"])),
|
|
4327
|
-
o(
|
|
4328
|
-
o(
|
|
4396
|
+
o(ae),
|
|
4397
|
+
o(K, {
|
|
4329
4398
|
title: "Toggle Vim mode",
|
|
4330
4399
|
"prepend-icon": "extras:vim",
|
|
4331
|
-
onClick:
|
|
4400
|
+
onClick: s.toggleVimMode
|
|
4332
4401
|
}, null, 8, ["onClick"])
|
|
4333
4402
|
]),
|
|
4334
4403
|
_: 1
|
|
@@ -4339,14 +4408,14 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4339
4408
|
]),
|
|
4340
4409
|
_: 1
|
|
4341
4410
|
}),
|
|
4342
|
-
o(
|
|
4411
|
+
o(ue, {
|
|
4343
4412
|
id: "messages",
|
|
4344
4413
|
ref: "messagesDiv",
|
|
4345
4414
|
class: "mt-2"
|
|
4346
4415
|
}, {
|
|
4347
4416
|
default: l(() => [
|
|
4348
|
-
i.showDebug ? (y(), P("div",
|
|
4349
|
-
o(
|
|
4417
|
+
i.showDebug ? (y(), P("div", Ki, [
|
|
4418
|
+
o(N, { "no-gutters": "" }, {
|
|
4350
4419
|
default: l(() => [
|
|
4351
4420
|
o(p, {
|
|
4352
4421
|
color: "primary",
|
|
@@ -4356,7 +4425,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4356
4425
|
"append-icon": "mdi-step-forward",
|
|
4357
4426
|
disabled: !i.scriptId,
|
|
4358
4427
|
"data-test": "step-button",
|
|
4359
|
-
onClick:
|
|
4428
|
+
onClick: s.step
|
|
4360
4429
|
}, null, 8, ["disabled", "onClick"]),
|
|
4361
4430
|
o(C, {
|
|
4362
4431
|
ref: "debug",
|
|
@@ -4368,17 +4437,17 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4368
4437
|
"hide-details": "",
|
|
4369
4438
|
label: "Debug",
|
|
4370
4439
|
"data-test": "debug-text",
|
|
4371
|
-
onKeydown:
|
|
4440
|
+
onKeydown: s.debugKeydown
|
|
4372
4441
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
4373
4442
|
]),
|
|
4374
4443
|
_: 1
|
|
4375
4444
|
})
|
|
4376
4445
|
])) : D("", !0),
|
|
4377
|
-
o(
|
|
4446
|
+
o(Y, {
|
|
4378
4447
|
id: "log-messages",
|
|
4379
4448
|
modelValue: i.messages,
|
|
4380
4449
|
"onUpdate:modelValue": e[13] || (e[13] = (r) => i.messages = r),
|
|
4381
|
-
onSort:
|
|
4450
|
+
onSort: s.messageSortOrder
|
|
4382
4451
|
}, null, 8, ["modelValue", "onSort"])
|
|
4383
4452
|
]),
|
|
4384
4453
|
_: 1
|
|
@@ -4387,10 +4456,10 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4387
4456
|
_: 1
|
|
4388
4457
|
}, 8, ["onResize"])
|
|
4389
4458
|
], 64)),
|
|
4390
|
-
|
|
4391
|
-
o(
|
|
4459
|
+
n.inline ? (y(), P("div", Wi, [
|
|
4460
|
+
o(N, null, {
|
|
4392
4461
|
default: l(() => [
|
|
4393
|
-
o(
|
|
4462
|
+
o(be, {
|
|
4394
4463
|
class: "v-col-10",
|
|
4395
4464
|
style: { margin: "0px", padding: "0px" }
|
|
4396
4465
|
}, {
|
|
@@ -4399,17 +4468,17 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4399
4468
|
ref: "editor",
|
|
4400
4469
|
class: "editor",
|
|
4401
4470
|
style: { height: "200px" },
|
|
4402
|
-
onContextmenu: e[14] || (e[14] =
|
|
4471
|
+
onContextmenu: e[14] || (e[14] = le((...r) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...r), ["prevent"]))
|
|
4403
4472
|
}, null, 544)
|
|
4404
4473
|
]),
|
|
4405
4474
|
_: 1
|
|
4406
4475
|
}),
|
|
4407
|
-
o(
|
|
4476
|
+
o(be, {
|
|
4408
4477
|
class: "v-col-2",
|
|
4409
4478
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4410
4479
|
}, {
|
|
4411
4480
|
default: l(() => [
|
|
4412
|
-
i.startOrGoButton === "Start" ? (y(), P("div",
|
|
4481
|
+
i.startOrGoButton === "Start" ? (y(), P("div", Ji, [
|
|
4413
4482
|
o(p, {
|
|
4414
4483
|
class: "mx-1",
|
|
4415
4484
|
color: "primary",
|
|
@@ -4417,16 +4486,16 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4417
4486
|
"data-test": "start-button",
|
|
4418
4487
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4419
4488
|
hidden: i.suiteRunner,
|
|
4420
|
-
onClick:
|
|
4489
|
+
onClick: s.startHandler
|
|
4421
4490
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4422
|
-
])) : (y(), P("div",
|
|
4491
|
+
])) : (y(), P("div", Yi, [
|
|
4423
4492
|
o(p, {
|
|
4424
4493
|
color: "primary",
|
|
4425
4494
|
class: "ma-2",
|
|
4426
4495
|
text: "Go",
|
|
4427
4496
|
disabled: i.startOrGoDisabled,
|
|
4428
4497
|
"data-test": "go-button",
|
|
4429
|
-
onClick:
|
|
4498
|
+
onClick: s.go
|
|
4430
4499
|
}, null, 8, ["disabled", "onClick"]),
|
|
4431
4500
|
o(p, {
|
|
4432
4501
|
color: "primary",
|
|
@@ -4434,7 +4503,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4434
4503
|
text: i.pauseOrRetryButton,
|
|
4435
4504
|
disabled: i.pauseOrRetryDisabled,
|
|
4436
4505
|
"data-test": "pause-retry-button",
|
|
4437
|
-
onClick:
|
|
4506
|
+
onClick: s.pauseOrRetry
|
|
4438
4507
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4439
4508
|
o(p, {
|
|
4440
4509
|
color: "primary",
|
|
@@ -4442,7 +4511,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4442
4511
|
text: "Stop",
|
|
4443
4512
|
"data-test": "stop-button",
|
|
4444
4513
|
disabled: i.stopDisabled,
|
|
4445
|
-
onClick:
|
|
4514
|
+
onClick: s.stop
|
|
4446
4515
|
}, null, 8, ["disabled", "onClick"])
|
|
4447
4516
|
]))
|
|
4448
4517
|
]),
|
|
@@ -4452,34 +4521,34 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4452
4521
|
_: 1
|
|
4453
4522
|
})
|
|
4454
4523
|
])) : D("", !0),
|
|
4455
|
-
i.fileOpen ? (y(), T(
|
|
4524
|
+
i.fileOpen ? (y(), T(we, {
|
|
4456
4525
|
key: 2,
|
|
4457
4526
|
modelValue: i.fileOpen,
|
|
4458
4527
|
"onUpdate:modelValue": e[15] || (e[15] = (r) => i.fileOpen = r),
|
|
4459
4528
|
type: "open",
|
|
4460
4529
|
"api-url": "/script-api/scripts",
|
|
4461
|
-
onFile: e[16] || (e[16] = (r) =>
|
|
4462
|
-
onError: e[17] || (e[17] = (r) =>
|
|
4463
|
-
onClearTemp: e[18] || (e[18] = (r) =>
|
|
4530
|
+
onFile: e[16] || (e[16] = (r) => s.setFile(r)),
|
|
4531
|
+
onError: e[17] || (e[17] = (r) => s.setError(r)),
|
|
4532
|
+
onClearTemp: e[18] || (e[18] = (r) => s.clearTemp(r))
|
|
4464
4533
|
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4465
|
-
i.showSaveAs ? (y(), T(
|
|
4534
|
+
i.showSaveAs ? (y(), T(we, {
|
|
4466
4535
|
key: 3,
|
|
4467
4536
|
modelValue: i.showSaveAs,
|
|
4468
4537
|
"onUpdate:modelValue": e[19] || (e[19] = (r) => i.showSaveAs = r),
|
|
4469
4538
|
type: "save",
|
|
4470
4539
|
"api-url": "/script-api/scripts",
|
|
4471
4540
|
"require-target-parent-dir": "",
|
|
4472
|
-
"input-filename":
|
|
4473
|
-
onFilename: e[20] || (e[20] = (r) =>
|
|
4474
|
-
onError: e[21] || (e[21] = (r) =>
|
|
4475
|
-
onClearTemp: e[22] || (e[22] = (r) =>
|
|
4541
|
+
"input-filename": s.filenameOrBlank,
|
|
4542
|
+
onFilename: e[20] || (e[20] = (r) => s.saveAsFilename(r)),
|
|
4543
|
+
onError: e[21] || (e[21] = (r) => s.setError(r)),
|
|
4544
|
+
onClearTemp: e[22] || (e[22] = (r) => s.clearTemp(r))
|
|
4476
4545
|
}, null, 8, ["modelValue", "input-filename"])) : D("", !0),
|
|
4477
|
-
i.showEnvironment ? (y(), T(
|
|
4546
|
+
i.showEnvironment ? (y(), T(ye, {
|
|
4478
4547
|
key: 4,
|
|
4479
4548
|
modelValue: i.showEnvironment,
|
|
4480
4549
|
"onUpdate:modelValue": e[23] || (e[23] = (r) => i.showEnvironment = r)
|
|
4481
4550
|
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4482
|
-
i.ask.show ? (y(), T(
|
|
4551
|
+
i.ask.show ? (y(), T(Ee, {
|
|
4483
4552
|
key: 5,
|
|
4484
4553
|
modelValue: i.ask.show,
|
|
4485
4554
|
"onUpdate:modelValue": e[24] || (e[24] = (r) => i.ask.show = r),
|
|
@@ -4489,7 +4558,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4489
4558
|
"answer-required": i.ask.answerRequired,
|
|
4490
4559
|
onResponse: i.ask.callback
|
|
4491
4560
|
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : D("", !0),
|
|
4492
|
-
i.file.show ? (y(), T(
|
|
4561
|
+
i.file.show ? (y(), T($, {
|
|
4493
4562
|
key: 6,
|
|
4494
4563
|
modelValue: i.file.show,
|
|
4495
4564
|
"onUpdate:modelValue": e[25] || (e[25] = (r) => i.file.show = r),
|
|
@@ -4497,7 +4566,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4497
4566
|
message: i.file.message,
|
|
4498
4567
|
multiple: i.file.multiple,
|
|
4499
4568
|
filter: i.file.filter,
|
|
4500
|
-
onResponse:
|
|
4569
|
+
onResponse: s.fileDialogCallback
|
|
4501
4570
|
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : D("", !0),
|
|
4502
4571
|
i.information.show ? (y(), T(Me, {
|
|
4503
4572
|
key: 7,
|
|
@@ -4507,7 +4576,7 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4507
4576
|
text: i.information.text,
|
|
4508
4577
|
width: i.information.width
|
|
4509
4578
|
}, null, 8, ["modelValue", "title", "text", "width"])) : D("", !0),
|
|
4510
|
-
i.inputMetadata.show ? (y(), T(
|
|
4579
|
+
i.inputMetadata.show ? (y(), T(Te, {
|
|
4511
4580
|
key: 8,
|
|
4512
4581
|
modelValue: i.inputMetadata.show,
|
|
4513
4582
|
"onUpdate:modelValue": e[27] || (e[27] = (r) => i.inputMetadata.show = r),
|
|
@@ -4516,12 +4585,12 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4516
4585
|
"new-metadata": "",
|
|
4517
4586
|
onClose: i.inputMetadata.callback
|
|
4518
4587
|
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : D("", !0),
|
|
4519
|
-
i.showOverrides ? (y(), T(
|
|
4588
|
+
i.showOverrides ? (y(), T(Ie, {
|
|
4520
4589
|
key: 9,
|
|
4521
4590
|
modelValue: i.showOverrides,
|
|
4522
4591
|
"onUpdate:modelValue": e[28] || (e[28] = (r) => i.showOverrides = r)
|
|
4523
4592
|
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4524
|
-
i.prompt.show ? (y(), T(
|
|
4593
|
+
i.prompt.show ? (y(), T(de, {
|
|
4525
4594
|
key: 10,
|
|
4526
4595
|
modelValue: i.prompt.show,
|
|
4527
4596
|
"onUpdate:modelValue": e[29] || (e[29] = (r) => i.prompt.show = r),
|
|
@@ -4534,18 +4603,18 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4534
4603
|
multiple: i.prompt.multiple,
|
|
4535
4604
|
onResponse: i.prompt.callback
|
|
4536
4605
|
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : D("", !0),
|
|
4537
|
-
i.results.show ? (y(), T(
|
|
4606
|
+
i.results.show ? (y(), T(De, {
|
|
4538
4607
|
key: 11,
|
|
4539
4608
|
modelValue: i.results.show,
|
|
4540
4609
|
"onUpdate:modelValue": e[30] || (e[30] = (r) => i.results.show = r),
|
|
4541
4610
|
text: i.results.text
|
|
4542
4611
|
}, null, 8, ["modelValue", "text"])) : D("", !0),
|
|
4543
|
-
i.scriptEnvironment.show ? (y(), T(
|
|
4612
|
+
i.scriptEnvironment.show ? (y(), T(Ue, {
|
|
4544
4613
|
key: 12,
|
|
4545
4614
|
modelValue: i.scriptEnvironment.show,
|
|
4546
4615
|
"onUpdate:modelValue": e[31] || (e[31] = (r) => i.scriptEnvironment.show = r),
|
|
4547
4616
|
"input-environment": i.scriptEnvironment.env,
|
|
4548
|
-
onEnvironment:
|
|
4617
|
+
onEnvironment: s.environmentHandler
|
|
4549
4618
|
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : D("", !0),
|
|
4550
4619
|
o(Pe, {
|
|
4551
4620
|
modelValue: i.showSuiteError,
|
|
@@ -4554,26 +4623,26 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4554
4623
|
text: i.suiteError,
|
|
4555
4624
|
width: 1e3
|
|
4556
4625
|
}, null, 8, ["modelValue", "text"]),
|
|
4557
|
-
o(
|
|
4626
|
+
o(ce, {
|
|
4558
4627
|
modelValue: i.displayCriticalCmd,
|
|
4559
4628
|
"onUpdate:modelValue": e[33] || (e[33] = (r) => i.displayCriticalCmd = r),
|
|
4560
4629
|
uuid: i.criticalCmdUuid,
|
|
4561
4630
|
"cmd-string": i.criticalCmdString,
|
|
4562
4631
|
"cmd-user": i.criticalCmdUser,
|
|
4563
4632
|
persistent: !0,
|
|
4564
|
-
onStatus:
|
|
4633
|
+
onStatus: s.promptDialogCallback
|
|
4565
4634
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4566
4635
|
o(c, {
|
|
4567
4636
|
modelValue: i.showScripts,
|
|
4568
4637
|
"onUpdate:modelValue": e[35] || (e[35] = (r) => i.showScripts = r)
|
|
4569
4638
|
}, {
|
|
4570
4639
|
default: l(() => [
|
|
4571
|
-
o(
|
|
4640
|
+
o(ze, { class: "pb-11 pt-5 px-5" }, {
|
|
4572
4641
|
default: l(() => [
|
|
4573
|
-
i.showScripts ? (y(), T(
|
|
4642
|
+
i.showScripts ? (y(), T(L, {
|
|
4574
4643
|
key: 0,
|
|
4575
4644
|
"connect-in-new-tab": !!i.fileModified,
|
|
4576
|
-
onDisconnect:
|
|
4645
|
+
onDisconnect: s.scriptDisconnect,
|
|
4577
4646
|
onClose: e[34] || (e[34] = () => {
|
|
4578
4647
|
i.showScripts = !1;
|
|
4579
4648
|
})
|
|
@@ -4586,11 +4655,11 @@ function Yi(t, e, s, a, i, n) {
|
|
|
4586
4655
|
}, 8, ["modelValue"])
|
|
4587
4656
|
], 64);
|
|
4588
4657
|
}
|
|
4589
|
-
const
|
|
4658
|
+
const hs = /* @__PURE__ */ q(Pi, [["render", Zi], ["__scopeId", "data-v-24f16271"]]);
|
|
4590
4659
|
export {
|
|
4591
4660
|
Mt as RunningScripts,
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4661
|
+
Dt as ScriptLogMessages,
|
|
4662
|
+
hs as ScriptRunner,
|
|
4663
|
+
Si as SuiteRunner
|
|
4595
4664
|
};
|
|
4596
4665
|
//# sourceMappingURL=scriptrunner.js.map
|