@openc3/vue-common 6.7.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-B__t3xOt.cjs → ArrayWidget-DaONH8Iv.cjs} +2 -2
- package/dist/{ArrayWidget-B__t3xOt.cjs.map → ArrayWidget-DaONH8Iv.cjs.map} +1 -1
- package/dist/{ArrayWidget-BSG8KEtf.js → ArrayWidget-j3ncPuPx.js} +4 -4
- package/dist/{ArrayWidget-BSG8KEtf.js.map → ArrayWidget-j3ncPuPx.js.map} +1 -1
- package/dist/{ArrayplotWidget-BduWyJlL.cjs → ArrayplotWidget-DPMVlst7.cjs} +2 -2
- package/dist/{ArrayplotWidget-BduWyJlL.cjs.map → ArrayplotWidget-DPMVlst7.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-WVu76Kqn.js → ArrayplotWidget-DuLaiGa9.js} +3 -3
- package/dist/{ArrayplotWidget-WVu76Kqn.js.map → ArrayplotWidget-DuLaiGa9.js.map} +1 -1
- package/dist/{BarColumn-Cflh9pUz.js → BarColumn-BWJ0Dd4O.js} +3 -3
- package/dist/{BarColumn-Cflh9pUz.js.map → BarColumn-BWJ0Dd4O.js.map} +1 -1
- package/dist/{BarColumn-DVn9f2WO.cjs → BarColumn-CchXr_ex.cjs} +2 -2
- package/dist/{BarColumn-DVn9f2WO.cjs.map → BarColumn-CchXr_ex.cjs.map} +1 -1
- package/dist/{BlockWidget-B7ryWGCq.js → BlockWidget-Bf5Dd6Cr.js} +4 -4
- package/dist/{BlockWidget-B7ryWGCq.js.map → BlockWidget-Bf5Dd6Cr.js.map} +1 -1
- package/dist/{BlockWidget-CRqA09Ve.cjs → BlockWidget-CeDueZQ0.cjs} +2 -2
- package/dist/{BlockWidget-CRqA09Ve.cjs.map → BlockWidget-CeDueZQ0.cjs.map} +1 -1
- package/dist/{ButtonWidget-Bb46aUCR.cjs → ButtonWidget-BZulfQct.cjs} +3 -3
- package/dist/{ButtonWidget-Bb46aUCR.cjs.map → ButtonWidget-BZulfQct.cjs.map} +1 -1
- package/dist/{ButtonWidget-BKih3ix9.js → ButtonWidget-bl_mGFYh.js} +16 -20
- package/dist/{ButtonWidget-BKih3ix9.js.map → ButtonWidget-bl_mGFYh.js.map} +1 -1
- package/dist/{CanvasWidget-DT_vPAoc.cjs → CanvasWidget-DwAXTAyn.cjs} +2 -2
- package/dist/{CanvasWidget-DT_vPAoc.cjs.map → CanvasWidget-DwAXTAyn.cjs.map} +1 -1
- package/dist/{CanvasWidget-DT9xMSfb.js → CanvasWidget-boDemgx1.js} +2 -2
- package/dist/{CanvasWidget-DT9xMSfb.js.map → CanvasWidget-boDemgx1.js.map} +1 -1
- package/dist/{CanvasdotWidget-7H5Hvcn-.js → CanvasdotWidget-BZBbJcER.js} +2 -2
- package/dist/{CanvasdotWidget-7H5Hvcn-.js.map → CanvasdotWidget-BZBbJcER.js.map} +1 -1
- package/dist/{CanvasdotWidget-DNSQriVo.cjs → CanvasdotWidget-ByJp9ZIa.cjs} +2 -2
- package/dist/{CanvasdotWidget-DNSQriVo.cjs.map → CanvasdotWidget-ByJp9ZIa.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-BbWYx6Gj.js → CanvasimageWidget-6ywvT5jd.js} +3 -3
- package/dist/{CanvasimageWidget-BbWYx6Gj.js.map → CanvasimageWidget-6ywvT5jd.js.map} +1 -1
- package/dist/{CanvasimageWidget-CfleScIF.cjs → CanvasimageWidget-BDprHuH3.cjs} +2 -2
- package/dist/{CanvasimageWidget-CfleScIF.cjs.map → CanvasimageWidget-BDprHuH3.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-ouM4DBeD.cjs → CanvasimagevalueWidget-Cl_EuzNC.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-ouM4DBeD.cjs.map → CanvasimagevalueWidget-Cl_EuzNC.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Blvoe2X4.js → CanvasimagevalueWidget-DjWrA3gX.js} +3 -3
- package/dist/{CanvasimagevalueWidget-Blvoe2X4.js.map → CanvasimagevalueWidget-DjWrA3gX.js.map} +1 -1
- package/dist/{CanvaslabelWidget-BPx_Rm4o.js → CanvaslabelWidget-Bq4V2BQh.js} +2 -2
- package/dist/{CanvaslabelWidget-BPx_Rm4o.js.map → CanvaslabelWidget-Bq4V2BQh.js.map} +1 -1
- package/dist/{CanvaslabelWidget-DB3qox5N.cjs → CanvaslabelWidget-aalWFBxK.cjs} +2 -2
- package/dist/{CanvaslabelWidget-DB3qox5N.cjs.map → CanvaslabelWidget-aalWFBxK.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-DzdWvL0W.js → CanvaslabelvalueWidget-C8oNcFLi.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-DzdWvL0W.js.map → CanvaslabelvalueWidget-C8oNcFLi.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-2k6TjSNj.cjs → CanvaslabelvalueWidget-DIO0fADo.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-2k6TjSNj.cjs.map → CanvaslabelvalueWidget-DIO0fADo.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-oAoznYZP.cjs → CanvaslineWidget-CqNOzV_A.cjs} +2 -2
- package/dist/{CanvaslineWidget-oAoznYZP.cjs.map → CanvaslineWidget-CqNOzV_A.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-CqskilGk.js → CanvaslineWidget-nvbL2GoL.js} +2 -2
- package/dist/{CanvaslineWidget-CqskilGk.js.map → CanvaslineWidget-nvbL2GoL.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-BmyIxGNz.cjs → CanvaslinevalueWidget-D0kOhxXn.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-BmyIxGNz.cjs.map → CanvaslinevalueWidget-D0kOhxXn.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-C0JIKdvZ.js → CanvaslinevalueWidget-ZACQedKx.js} +2 -2
- package/dist/{CanvaslinevalueWidget-C0JIKdvZ.js.map → CanvaslinevalueWidget-ZACQedKx.js.map} +1 -1
- package/dist/{CheckbuttonWidget-C9FbJx2v.js → CheckbuttonWidget-B82UE8AB.js} +2 -2
- package/dist/{CheckbuttonWidget-C9FbJx2v.js.map → CheckbuttonWidget-B82UE8AB.js.map} +1 -1
- package/dist/{CheckbuttonWidget-C548xrRy.cjs → CheckbuttonWidget-L9xyRwfS.cjs} +2 -2
- package/dist/{CheckbuttonWidget-C548xrRy.cjs.map → CheckbuttonWidget-L9xyRwfS.cjs.map} +1 -1
- package/dist/{ClassificationBanners-BTdLBSfy.cjs → ClassificationBanners-ZF9Ab7D0.cjs} +2 -2
- package/dist/{ClassificationBanners-BTdLBSfy.cjs.map → ClassificationBanners-ZF9Ab7D0.cjs.map} +1 -1
- package/dist/{ClassificationBanners-CgJiwgTp.js → ClassificationBanners-jiqWjTAZ.js} +2 -2
- package/dist/{ClassificationBanners-CgJiwgTp.js.map → ClassificationBanners-jiqWjTAZ.js.map} +1 -1
- package/dist/{ComboboxWidget-BbNKT0s8.js → ComboboxWidget-4OFiSkI6.js} +2 -2
- package/dist/{ComboboxWidget-BbNKT0s8.js.map → ComboboxWidget-4OFiSkI6.js.map} +1 -1
- package/dist/{ComboboxWidget-AErojGw0.cjs → ComboboxWidget-6hmnB_mK.cjs} +2 -2
- package/dist/{ComboboxWidget-AErojGw0.cjs.map → ComboboxWidget-6hmnB_mK.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-N06JxCHg.cjs → CriticalCmdDialog-C-UGhtjE.cjs} +2 -2
- package/dist/{CriticalCmdDialog-N06JxCHg.cjs.map → CriticalCmdDialog-C-UGhtjE.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-CF7Sqjdm.js → CriticalCmdDialog-FhXDdBn4.js} +9 -12
- package/dist/{CriticalCmdDialog-CF7Sqjdm.js.map → CriticalCmdDialog-FhXDdBn4.js.map} +1 -1
- package/dist/{DateWidget-CBMsdRUE.js → DateWidget-BmwtdirF.js} +2 -2
- package/dist/{DateWidget-CBMsdRUE.js.map → DateWidget-BmwtdirF.js.map} +1 -1
- package/dist/{DateWidget-CCIkDM9_.cjs → DateWidget-CmSp7svA.cjs} +2 -2
- package/dist/{DateWidget-CCIkDM9_.cjs.map → DateWidget-CmSp7svA.cjs.map} +1 -1
- package/dist/{DetailsDialog-DRVahE5z.js → DetailsDialog-CLKEfU0s.js} +126 -158
- package/dist/{DetailsDialog-DRVahE5z.js.map → DetailsDialog-CLKEfU0s.js.map} +1 -1
- package/dist/DetailsDialog-DEicfRO1.cjs +2 -0
- package/dist/{DetailsDialog-CVYBgZll.cjs.map → DetailsDialog-DEicfRO1.cjs.map} +1 -1
- package/dist/{EventListDialog-DDWL9gIQ.js → EventListDialog-BvSMSn7J.js} +53 -68
- package/dist/{EventListDialog-DDWL9gIQ.js.map → EventListDialog-BvSMSn7J.js.map} +1 -1
- package/dist/EventListDialog-Em1RcH7I.cjs +2 -0
- package/dist/{EventListDialog-CjYLRdkb.cjs.map → EventListDialog-Em1RcH7I.cjs.map} +1 -1
- package/dist/{FormatvalueWidget-BLWsqhIZ.js → FormatvalueWidget-C8exC3bj.js} +3 -3
- package/dist/{FormatvalueWidget-BLWsqhIZ.js.map → FormatvalueWidget-C8exC3bj.js.map} +1 -1
- package/dist/{FormatvalueWidget-BiaqheLJ.cjs → FormatvalueWidget-auKALSPC.cjs} +2 -2
- package/dist/{FormatvalueWidget-BiaqheLJ.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-BiU56Qj2.js → Graph-CWcrowaT.js} +384 -391
- package/dist/Graph-CWcrowaT.js.map +1 -0
- package/dist/{GraphWidget-cfgX_skM.cjs → GraphWidget-BroqS0SO.cjs} +2 -2
- package/dist/{GraphWidget-cfgX_skM.cjs.map → GraphWidget-BroqS0SO.cjs.map} +1 -1
- package/dist/{GraphWidget-Ga0AEfrJ.js → GraphWidget-CvzxZYVx.js} +2 -2
- package/dist/{GraphWidget-Ga0AEfrJ.js.map → GraphWidget-CvzxZYVx.js.map} +1 -1
- package/dist/{HorizontalWidget-CsVhLwZO.js → HorizontalWidget-Ck151zVw.js} +2 -2
- package/dist/{HorizontalWidget-CsVhLwZO.js.map → HorizontalWidget-Ck151zVw.js.map} +1 -1
- package/dist/{HorizontalWidget-i6aqMSRv.cjs → HorizontalWidget-DBeyBZCp.cjs} +2 -2
- package/dist/{HorizontalWidget-i6aqMSRv.cjs.map → HorizontalWidget-DBeyBZCp.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-B_S8mswF.cjs → HorizontalboxWidget-CuWtYdgh.cjs} +2 -2
- package/dist/{HorizontalboxWidget-B_S8mswF.cjs.map → HorizontalboxWidget-CuWtYdgh.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-xC6PADl3.js → HorizontalboxWidget-D3P-cl9V.js} +5 -5
- package/dist/{HorizontalboxWidget-xC6PADl3.js.map → HorizontalboxWidget-D3P-cl9V.js.map} +1 -1
- package/dist/{HorizontallineWidget-NZIxmRVN.js → HorizontallineWidget-BE1TjPU8.js} +2 -2
- package/dist/{HorizontallineWidget-NZIxmRVN.js.map → HorizontallineWidget-BE1TjPU8.js.map} +1 -1
- package/dist/{HorizontallineWidget-Cpys-185.cjs → HorizontallineWidget-QUFjdOSu.cjs} +2 -2
- package/dist/{HorizontallineWidget-Cpys-185.cjs.map → HorizontallineWidget-QUFjdOSu.cjs.map} +1 -1
- package/dist/{IframeWidget-BgzjSfag.js → IframeWidget-BgJCgues.js} +2 -2
- package/dist/{IframeWidget-BgzjSfag.js.map → IframeWidget-BgJCgues.js.map} +1 -1
- package/dist/{IframeWidget-CCdvd8rg.cjs → IframeWidget-DOZ1YyS2.cjs} +2 -2
- package/dist/{IframeWidget-CCdvd8rg.cjs.map → IframeWidget-DOZ1YyS2.cjs.map} +1 -1
- package/dist/{ImageLoader-BIKl6vGc.cjs → ImageLoader-AGF0VbZ5.cjs} +2 -2
- package/dist/{ImageLoader-BIKl6vGc.cjs.map → ImageLoader-AGF0VbZ5.cjs.map} +1 -1
- package/dist/{ImageLoader-DbFVK1Ui.js → ImageLoader-CWn-PLOk.js} +2 -2
- package/dist/{ImageLoader-DbFVK1Ui.js.map → ImageLoader-CWn-PLOk.js.map} +1 -1
- package/dist/{ImageviewerWidget-BnT5m-nw.js → ImageviewerWidget-BlhFZD2f.js} +2 -2
- package/dist/{ImageviewerWidget-BnT5m-nw.js.map → ImageviewerWidget-BlhFZD2f.js.map} +1 -1
- package/dist/{ImageviewerWidget-lnralJZa.cjs → ImageviewerWidget-DnmhYP68.cjs} +2 -2
- package/dist/{ImageviewerWidget-lnralJZa.cjs.map → ImageviewerWidget-DnmhYP68.cjs.map} +1 -1
- package/dist/{InterfacesTab-DjlzjJYG.cjs → InterfacesTab-76UJTIwF.cjs} +2 -2
- package/dist/{InterfacesTab-DjlzjJYG.cjs.map → InterfacesTab-76UJTIwF.cjs.map} +1 -1
- package/dist/{InterfacesTab-Cd_RITVP.js → InterfacesTab-Cwz-zG7j.js} +3 -3
- package/dist/{InterfacesTab-Cd_RITVP.js.map → InterfacesTab-Cwz-zG7j.js.map} +1 -1
- package/dist/{LabelWidget-CRHSFVPT.cjs → LabelWidget-C0DhD9Mn.cjs} +2 -2
- package/dist/{LabelWidget-CRHSFVPT.cjs.map → LabelWidget-C0DhD9Mn.cjs.map} +1 -1
- package/dist/{LabelWidget-DSDYmz6X.js → LabelWidget-Cwosk4x2.js} +2 -2
- package/dist/{LabelWidget-DSDYmz6X.js.map → LabelWidget-Cwosk4x2.js.map} +1 -1
- package/dist/{LabelledWidget-BXf9cTf_.cjs → LabelledWidget-D8-aKfA_.cjs} +2 -2
- package/dist/{LabelledWidget-BXf9cTf_.cjs.map → LabelledWidget-D8-aKfA_.cjs.map} +1 -1
- package/dist/{LabelledWidget-DMb-myxs.js → LabelledWidget-Dl6rAFTQ.js} +4 -4
- package/dist/{LabelledWidget-DMb-myxs.js.map → LabelledWidget-Dl6rAFTQ.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-BNHaAUXq.cjs → LabelprogressbarWidget-DosPhvaY.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-BNHaAUXq.cjs.map → LabelprogressbarWidget-DosPhvaY.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-CkjDJBao.js → LabelprogressbarWidget-MuAKesOz.js} +4 -4
- package/dist/{LabelprogressbarWidget-CkjDJBao.js.map → LabelprogressbarWidget-MuAKesOz.js.map} +1 -1
- package/dist/{LabelsparklineWidget-DBYPFz3Y.js → LabelsparklineWidget-6LA6Ox3d.js} +4 -4
- package/dist/{LabelsparklineWidget-DBYPFz3Y.js.map → LabelsparklineWidget-6LA6Ox3d.js.map} +1 -1
- package/dist/{LabelsparklineWidget-BpHMkt-L.cjs → LabelsparklineWidget-CLU8722I.cjs} +2 -2
- package/dist/{LabelsparklineWidget-BpHMkt-L.cjs.map → LabelsparklineWidget-CLU8722I.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-DlTkJC4i.js → LabelvalueWidget-BxAXx-Tf.js} +4 -4
- package/dist/{LabelvalueWidget-DlTkJC4i.js.map → LabelvalueWidget-BxAXx-Tf.js.map} +1 -1
- package/dist/{LabelvalueWidget-BFHYb64m.cjs → LabelvalueWidget-WP4gK29n.cjs} +2 -2
- package/dist/{LabelvalueWidget-BFHYb64m.cjs.map → LabelvalueWidget-WP4gK29n.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-CUld9MqE.cjs → LabelvaluedescWidget-BQ-6OXHc.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-CUld9MqE.cjs.map → LabelvaluedescWidget-BQ-6OXHc.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-dRqnGZub.js → LabelvaluedescWidget-Dwwlnd1g.js} +5 -5
- package/dist/{LabelvaluedescWidget-dRqnGZub.js.map → LabelvaluedescWidget-Dwwlnd1g.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-CS4NAPJ1.js → LabelvaluelimitsbarWidget-Dv8Qk8kK.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-CS4NAPJ1.js.map → LabelvaluelimitsbarWidget-Dv8Qk8kK.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-Br_PXH0r.cjs → LabelvaluelimitsbarWidget-Z_7ARnvo.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-Br_PXH0r.cjs.map → LabelvaluelimitsbarWidget-Z_7ARnvo.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-D9x4Ppv8.js → LabelvaluelimitscolumnWidget-D-_gl6fq.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-D9x4Ppv8.js.map → LabelvaluelimitscolumnWidget-D-_gl6fq.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-DjLG10C5.cjs → LabelvaluelimitscolumnWidget-DiO1b01N.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-DjLG10C5.cjs.map → LabelvaluelimitscolumnWidget-DiO1b01N.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-Dhyng4-n.js → LabelvaluerangebarWidget-B3MKT-3Y.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-Dhyng4-n.js.map → LabelvaluerangebarWidget-B3MKT-3Y.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-CsUfrGAM.cjs → LabelvaluerangebarWidget-DtajHP0b.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-CsUfrGAM.cjs.map → LabelvaluerangebarWidget-DtajHP0b.cjs.map} +1 -1
- package/dist/{Layout-mWR35VAD.js → Layout-Bkb6VP3e.js} +2 -2
- package/dist/{Layout-mWR35VAD.js.map → Layout-Bkb6VP3e.js.map} +1 -1
- package/dist/Layout-CSbYbZWA.cjs +2 -0
- package/dist/{Layout-DDktMnzb.cjs.map → Layout-CSbYbZWA.cjs.map} +1 -1
- package/dist/{LedWidget-D8cq4pUv.js → LedWidget-DOuDD8LI.js} +4 -4
- package/dist/{LedWidget-D8cq4pUv.js.map → LedWidget-DOuDD8LI.js.map} +1 -1
- package/dist/{LedWidget-CCQWCw80.cjs → LedWidget-DeREi8-u.cjs} +2 -2
- package/dist/{LedWidget-CCQWCw80.cjs.map → LedWidget-DeREi8-u.cjs.map} +1 -1
- package/dist/LimitsbarWidget-BHr3IcIx.cjs +2 -0
- package/dist/{LimitsbarWidget-D4O0LWuC.cjs.map → LimitsbarWidget-BHr3IcIx.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-VGJnDuVM.js → LimitsbarWidget-D1U6SvVL.js} +4 -4
- package/dist/{LimitsbarWidget-VGJnDuVM.js.map → LimitsbarWidget-D1U6SvVL.js.map} +1 -1
- package/dist/{LimitscolorWidget-BvxsopUs.cjs → LimitscolorWidget-BUkKRrSL.cjs} +2 -2
- package/dist/{LimitscolorWidget-BvxsopUs.cjs.map → LimitscolorWidget-BUkKRrSL.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-CG6Pqi12.js → LimitscolorWidget-iSMGusqt.js} +2 -2
- package/dist/{LimitscolorWidget-CG6Pqi12.js.map → LimitscolorWidget-iSMGusqt.js.map} +1 -1
- package/dist/{LimitscolumnWidget-Z9JnMlDS.cjs → LimitscolumnWidget-COfNnb6f.cjs} +2 -2
- package/dist/{LimitscolumnWidget-Z9JnMlDS.cjs.map → LimitscolumnWidget-COfNnb6f.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-DjovQdiT.js → LimitscolumnWidget-DjxZTt_r.js} +4 -4
- package/dist/{LimitscolumnWidget-DjovQdiT.js.map → LimitscolumnWidget-DjxZTt_r.js.map} +1 -1
- package/dist/{LinegraphWidget-DSWAhXgZ.js → LinegraphWidget-BHKU6zlT.js} +4 -4
- package/dist/{LinegraphWidget-DSWAhXgZ.js.map → LinegraphWidget-BHKU6zlT.js.map} +1 -1
- package/dist/{LinegraphWidget-B_ECNLzU.cjs → LinegraphWidget-RleSRWKa.cjs} +2 -2
- package/dist/{LinegraphWidget-B_ECNLzU.cjs.map → LinegraphWidget-RleSRWKa.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-C3cuhRxz.js → MatrixbycolumnsWidget-BKO-A2QD.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-C3cuhRxz.js.map → MatrixbycolumnsWidget-BKO-A2QD.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-CPFzRQN5.cjs → MatrixbycolumnsWidget-DWouVj7A.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-CPFzRQN5.cjs.map → MatrixbycolumnsWidget-DWouVj7A.cjs.map} +1 -1
- package/dist/{MicroservicesTab-BGgwT56M.cjs → MicroservicesTab-L6qMAy4x.cjs} +2 -2
- package/dist/{MicroservicesTab-BGgwT56M.cjs.map → MicroservicesTab-L6qMAy4x.cjs.map} +1 -1
- package/dist/{MicroservicesTab-Dbp02UlV.js → MicroservicesTab-xLup6THU.js} +4 -4
- package/dist/{MicroservicesTab-Dbp02UlV.js.map → MicroservicesTab-xLup6THU.js.map} +1 -1
- package/dist/{Openc3Screen-CkdegNDJ.js → Openc3Screen-1rQ_Dbp4.js} +403 -398
- 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-2CmOBAEE.cjs → OutputDialog-DgM7aoa-.cjs} +2 -2
- package/dist/{OutputDialog-2CmOBAEE.cjs.map → OutputDialog-DgM7aoa-.cjs.map} +1 -1
- package/dist/{OutputDialog-M5Xc_DqH.js → OutputDialog-Ut5cXGxQ.js} +5 -6
- package/dist/{OutputDialog-M5Xc_DqH.js.map → OutputDialog-Ut5cXGxQ.js.map} +1 -1
- package/dist/{PackagesTab-HQCOIGZK.js → PackagesTab-ChJDyU3Z.js} +30 -36
- package/dist/{PackagesTab-HQCOIGZK.js.map → PackagesTab-ChJDyU3Z.js.map} +1 -1
- package/dist/PackagesTab-jqsRJEcJ.cjs +2 -0
- package/dist/{PackagesTab-Dwp6g8W0.cjs.map → PackagesTab-jqsRJEcJ.cjs.map} +1 -1
- package/dist/{PluginsTab-CZApRILr.js → PluginsTab-CayzDij0.js} +462 -410
- 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-BADSYuUN.cjs → ProgressbarWidget-Xba7gDbW.cjs} +2 -2
- package/dist/{ProgressbarWidget-BADSYuUN.cjs.map → ProgressbarWidget-Xba7gDbW.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-oCgAEFBO.js → ProgressbarWidget-fbr2qu_N.js} +2 -2
- package/dist/{ProgressbarWidget-oCgAEFBO.js.map → ProgressbarWidget-fbr2qu_N.js.map} +1 -1
- package/dist/{RadiobuttonWidget-Bklx2_Au.cjs → RadiobuttonWidget-CdpKw7jr.cjs} +2 -2
- package/dist/{RadiobuttonWidget-Bklx2_Au.cjs.map → RadiobuttonWidget-CdpKw7jr.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-D4Dak3lc.js → RadiobuttonWidget-DL08zcQT.js} +2 -2
- package/dist/{RadiobuttonWidget-D4Dak3lc.js.map → RadiobuttonWidget-DL08zcQT.js.map} +1 -1
- package/dist/{RadiogroupWidget-Z2S2tgjG.cjs → RadiogroupWidget-DSA8ENmw.cjs} +2 -2
- package/dist/{RadiogroupWidget-Z2S2tgjG.cjs.map → RadiogroupWidget-DSA8ENmw.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-Dbe9T4fp.js → RadiogroupWidget-DW9Xpj3c.js} +2 -2
- package/dist/{RadiogroupWidget-Dbe9T4fp.js.map → RadiogroupWidget-DW9Xpj3c.js.map} +1 -1
- package/dist/{RangebarWidget-C0TpxFDi.cjs → RangebarWidget-B4oRyUwG.cjs} +2 -2
- package/dist/{RangebarWidget-C0TpxFDi.cjs.map → RangebarWidget-B4oRyUwG.cjs.map} +1 -1
- package/dist/{RangebarWidget-CIVrgqrW.js → RangebarWidget-o9q55kjc.js} +4 -4
- package/dist/{RangebarWidget-CIVrgqrW.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-BEDf-mfg.cjs → RollupWidget-43v3NX_Z.cjs} +2 -2
- package/dist/{RollupWidget-BEDf-mfg.cjs.map → RollupWidget-43v3NX_Z.cjs.map} +1 -1
- package/dist/{RollupWidget-CH1-XNLV.js → RollupWidget-BHnjj-DF.js} +2 -2
- package/dist/{RollupWidget-CH1-XNLV.js.map → RollupWidget-BHnjj-DF.js.map} +1 -1
- package/dist/{RoutersTab-BA-KlYIm.cjs → RoutersTab-Be53r61Y.cjs} +2 -2
- package/dist/{RoutersTab-BA-KlYIm.cjs.map → RoutersTab-Be53r61Y.cjs.map} +1 -1
- package/dist/{RoutersTab-WKa6K7B8.js → RoutersTab-CCEPlZ_Y.js} +3 -3
- package/dist/{RoutersTab-WKa6K7B8.js.map → RoutersTab-CCEPlZ_Y.js.map} +1 -1
- package/dist/{ScriptChooser-LsboGSgh.cjs → ScriptChooser-B6TGFTBN.cjs} +2 -2
- package/dist/{ScriptChooser-LsboGSgh.cjs.map → ScriptChooser-B6TGFTBN.cjs.map} +1 -1
- package/dist/{ScriptChooser-B5TkGuZ4.js → ScriptChooser-CXjcm3bN.js} +2 -2
- package/dist/{ScriptChooser-B5TkGuZ4.js.map → ScriptChooser-CXjcm3bN.js.map} +1 -1
- package/dist/{ScrollwindowWidget-BwFG6Wn8.js → ScrollwindowWidget-D-QVwztC.js} +3 -3
- package/dist/{ScrollwindowWidget-BwFG6Wn8.js.map → ScrollwindowWidget-D-QVwztC.js.map} +1 -1
- package/dist/{ScrollwindowWidget-DWxDmpFB.cjs → ScrollwindowWidget-D6ZHZr3o.cjs} +2 -2
- package/dist/{ScrollwindowWidget-DWxDmpFB.cjs.map → ScrollwindowWidget-D6ZHZr3o.cjs.map} +1 -1
- package/dist/{SecretsTab-DKX5gLH_.cjs → SecretsTab-DDZ1VoUf.cjs} +2 -2
- package/dist/{SecretsTab-DKX5gLH_.cjs.map → SecretsTab-DDZ1VoUf.cjs.map} +1 -1
- package/dist/{SecretsTab-Vtvbb_1U.js → SecretsTab-vVy356vr.js} +8 -10
- package/dist/{SecretsTab-Vtvbb_1U.js.map → SecretsTab-vVy356vr.js.map} +1 -1
- package/dist/{SettingsTab-DilFIQ3K.js → SettingsTab-CbWrf7U9.js} +261 -315
- package/dist/{SettingsTab-DilFIQ3K.js.map → SettingsTab-CbWrf7U9.js.map} +1 -1
- package/dist/SettingsTab-DsIVE5UL.cjs +3 -0
- package/dist/{SettingsTab-Ch52foLm.cjs.map → SettingsTab-DsIVE5UL.cjs.map} +1 -1
- package/dist/{SignalWidget-Gz2gHrUm.js → SignalWidget-CsWuufdx.js} +2 -2
- package/dist/{SignalWidget-Gz2gHrUm.js.map → SignalWidget-CsWuufdx.js.map} +1 -1
- package/dist/{SignalWidget-1WqQFVq9.cjs → SignalWidget-CysAE9ZG.cjs} +2 -2
- package/dist/{SignalWidget-1WqQFVq9.cjs.map → SignalWidget-CysAE9ZG.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-BwOVWhRY.cjs → SimpleTextDialog-CU6G5CBY.cjs} +2 -2
- package/dist/{SimpleTextDialog-BwOVWhRY.cjs.map → SimpleTextDialog-CU6G5CBY.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-Cmtrmt79.js → SimpleTextDialog-ChV5vRcV.js} +10 -11
- package/dist/{SimpleTextDialog-Cmtrmt79.js.map → SimpleTextDialog-ChV5vRcV.js.map} +1 -1
- package/dist/{SpacerWidget-Bzp3aI40.cjs → SpacerWidget-ChNk5TFU.cjs} +2 -2
- package/dist/{SpacerWidget-Bzp3aI40.cjs.map → SpacerWidget-ChNk5TFU.cjs.map} +1 -1
- package/dist/{SpacerWidget-Bg7VDB0k.js → SpacerWidget-Di9-qunj.js} +2 -2
- package/dist/{SpacerWidget-Bg7VDB0k.js.map → SpacerWidget-Di9-qunj.js.map} +1 -1
- package/dist/{SparklineWidget-D_b5rfJv.js → SparklineWidget-B6-zhdPW.js} +4 -4
- package/dist/{SparklineWidget-D_b5rfJv.js.map → SparklineWidget-B6-zhdPW.js.map} +1 -1
- package/dist/{SparklineWidget-kMWjVDrm.cjs → SparklineWidget-D1tVqSRL.cjs} +2 -2
- package/dist/{SparklineWidget-kMWjVDrm.cjs.map → SparklineWidget-D1tVqSRL.cjs.map} +1 -1
- package/dist/{TabbookWidget-C30f9B6z.js → TabbookWidget-B1E1_mzA.js} +2 -2
- package/dist/{TabbookWidget-C30f9B6z.js.map → TabbookWidget-B1E1_mzA.js.map} +1 -1
- package/dist/{TabbookWidget-DlVrU3wK.cjs → TabbookWidget-Btg-Axid.cjs} +2 -2
- package/dist/{TabbookWidget-DlVrU3wK.cjs.map → TabbookWidget-Btg-Axid.cjs.map} +1 -1
- package/dist/{TargetsTab-CEPId9dL.js → TargetsTab-DbbQcBuK.js} +4 -5
- package/dist/{TargetsTab-CEPId9dL.js.map → TargetsTab-DbbQcBuK.js.map} +1 -1
- package/dist/{TargetsTab-uqjueXlq.cjs → TargetsTab-pbmAAkOA.cjs} +2 -2
- package/dist/{TargetsTab-uqjueXlq.cjs.map → TargetsTab-pbmAAkOA.cjs.map} +1 -1
- package/dist/{TextBoxDialog-BlZ6MBoW.js → TextBoxDialog-CdFHdj5W.js} +4 -5
- package/dist/{TextBoxDialog-BlZ6MBoW.js.map → TextBoxDialog-CdFHdj5W.js.map} +1 -1
- package/dist/{TextBoxDialog--uIDsNPU.cjs → TextBoxDialog-DbD8P4Xc.cjs} +2 -2
- package/dist/{TextBoxDialog--uIDsNPU.cjs.map → TextBoxDialog-DbD8P4Xc.cjs.map} +1 -1
- package/dist/{TextboxWidget-CDqxsgys.js → TextboxWidget-CBVEXPw_.js} +4 -4
- package/dist/{TextboxWidget-CDqxsgys.js.map → TextboxWidget-CBVEXPw_.js.map} +1 -1
- package/dist/{TextboxWidget-BJka_3dT.cjs → TextboxWidget-CHXcR8lA.cjs} +2 -2
- package/dist/{TextboxWidget-BJka_3dT.cjs.map → TextboxWidget-CHXcR8lA.cjs.map} +1 -1
- package/dist/{TextfieldWidget-CAyjKJs6.js → TextfieldWidget-DZMHrtQa.js} +2 -2
- package/dist/{TextfieldWidget-CAyjKJs6.js.map → TextfieldWidget-DZMHrtQa.js.map} +1 -1
- package/dist/{TextfieldWidget-C7_48W7n.cjs → TextfieldWidget-vSJ9CtKs.cjs} +2 -2
- package/dist/{TextfieldWidget-C7_48W7n.cjs.map → TextfieldWidget-vSJ9CtKs.cjs.map} +1 -1
- package/dist/{TimeWidget-WPWiADCI.cjs → TimeWidget-ClkxS_oo.cjs} +2 -2
- package/dist/{TimeWidget-WPWiADCI.cjs.map → TimeWidget-ClkxS_oo.cjs.map} +1 -1
- package/dist/{TimeWidget-BQsP0G2X.js → TimeWidget-K4MNmJ7J.js} +2 -2
- package/dist/{TimeWidget-BQsP0G2X.js.map → TimeWidget-K4MNmJ7J.js.map} +1 -1
- package/dist/{TitleWidget-DXVba53S.js → TitleWidget-8IcwweFE.js} +2 -2
- package/dist/{TitleWidget-DXVba53S.js.map → TitleWidget-8IcwweFE.js.map} +1 -1
- package/dist/{TitleWidget-DavRJ5B5.cjs → TitleWidget-DJJ17ATm.cjs} +2 -2
- package/dist/{TitleWidget-DavRJ5B5.cjs.map → TitleWidget-DJJ17ATm.cjs.map} +1 -1
- package/dist/ToolsTab-BkabqeR_.cjs +7 -0
- package/dist/{ToolsTab-DUwXt5hn.cjs.map → ToolsTab-BkabqeR_.cjs.map} +1 -1
- package/dist/{ToolsTab-CSmjz1H7.js → ToolsTab-tkganPCk.js} +6 -7
- package/dist/{ToolsTab-CSmjz1H7.js.map → ToolsTab-tkganPCk.js.map} +1 -1
- package/dist/{TopBar-D_2lT9RB.js → TopBar-BoI8SRaF.js} +18 -20
- package/dist/{TopBar-D_2lT9RB.js.map → TopBar-BoI8SRaF.js.map} +1 -1
- package/dist/TopBar-zJvwq8pr.cjs +2 -0
- package/dist/{TopBar-C5lQcY1W.cjs.map → TopBar-zJvwq8pr.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-Cvt5MMTj.js → UpgradeToEnterpriseDialog-BYz9YoyY.js} +13 -16
- package/dist/{UpgradeToEnterpriseDialog-Cvt5MMTj.js.map → UpgradeToEnterpriseDialog-BYz9YoyY.js.map} +1 -1
- package/dist/UpgradeToEnterpriseDialog-BxHUptQB.cjs +2 -0
- package/dist/{UpgradeToEnterpriseDialog-BHDDrj0t.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-DWYRspHE.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-quWsUlLr.js} +7475 -7319
- 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-B-TWLPdM.js → ValueWidget-BvT1ASar.js} +4 -4
- package/dist/{ValueWidget-B-TWLPdM.js.map → ValueWidget-BvT1ASar.js.map} +1 -1
- package/dist/{ValueWidget-5ulSOrPw.cjs → ValueWidget-RU-vFOh9.cjs} +2 -2
- package/dist/{ValueWidget-5ulSOrPw.cjs.map → ValueWidget-RU-vFOh9.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-CTFVDwcL.cjs → ValuelimitsbarWidget-B5UtwjJW.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-CTFVDwcL.cjs.map → ValuelimitsbarWidget-B5UtwjJW.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-jsDXdPdC.js → ValuelimitsbarWidget-C5lBnUmB.js} +4 -4
- package/dist/{ValuelimitsbarWidget-jsDXdPdC.js.map → ValuelimitsbarWidget-C5lBnUmB.js.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-Du3Baz6G.cjs → ValuelimitscolumnWidget-BruOZb26.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-Du3Baz6G.cjs.map → ValuelimitscolumnWidget-BruOZb26.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-I-uwnXM2.js → ValuelimitscolumnWidget-DHYI0WBL.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-I-uwnXM2.js.map → ValuelimitscolumnWidget-DHYI0WBL.js.map} +1 -1
- package/dist/{ValuerangebarWidget-OyhSTScu.js → ValuerangebarWidget-BSszZhlE.js} +4 -4
- package/dist/{ValuerangebarWidget-OyhSTScu.js.map → ValuerangebarWidget-BSszZhlE.js.map} +1 -1
- package/dist/{ValuerangebarWidget-BjXDCLm3.cjs → ValuerangebarWidget-BhQVRHhm.cjs} +2 -2
- package/dist/{ValuerangebarWidget-BjXDCLm3.cjs.map → ValuerangebarWidget-BhQVRHhm.cjs.map} +1 -1
- package/dist/{VerticalWidget-CkFbX1Gq.js → VerticalWidget-1GhgYrC3.js} +2 -2
- package/dist/{VerticalWidget-CkFbX1Gq.js.map → VerticalWidget-1GhgYrC3.js.map} +1 -1
- package/dist/{VerticalWidget-CKDTGmhp.cjs → VerticalWidget-XZrIw9zV.cjs} +2 -2
- package/dist/{VerticalWidget-CKDTGmhp.cjs.map → VerticalWidget-XZrIw9zV.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-D09UbA0I.cjs → VerticalboxWidget-BV-onQ8m.cjs} +2 -2
- package/dist/{VerticalboxWidget-D09UbA0I.cjs.map → VerticalboxWidget-BV-onQ8m.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-FEQgPM9r.js → VerticalboxWidget-DYHJqEzd.js} +5 -5
- package/dist/{VerticalboxWidget-FEQgPM9r.js.map → VerticalboxWidget-DYHJqEzd.js.map} +1 -1
- package/dist/{Widget-C3-TBgP7.js → Widget-B8t93Oid.js} +2 -2
- package/dist/{Widget-C3-TBgP7.js.map → Widget-B8t93Oid.js.map} +1 -1
- package/dist/{Widget-CSBtgNwA.cjs → Widget-Blq-k5SB.cjs} +2 -2
- package/dist/{Widget-CSBtgNwA.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 +656 -247
- package/dist/components.js.map +1 -1
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +6 -8
- package/dist/plugins.js.map +1 -1
- package/dist/{settings-BboN1VLt.cjs → settings-DyvFSj59.cjs} +2 -2
- package/dist/{settings-BboN1VLt.cjs.map → settings-DyvFSj59.cjs.map} +1 -1
- package/dist/{settings-spKii1fI.js → settings-UZsgbUSr.js} +2 -2
- package/dist/{settings-spKii1fI.js.map → settings-UZsgbUSr.js.map} +1 -1
- package/dist/tools/admin.cjs +2 -2
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +75 -98
- 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 +73 -98
- 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 +33 -33
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +852 -834
- 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 +8 -8
- package/dist/DetailsDialog-CVYBgZll.cjs +0 -2
- package/dist/EventListDialog-CjYLRdkb.cjs +0 -2
- package/dist/Graph-BiU56Qj2.js.map +0 -1
- package/dist/Graph-CWjf71TK.cjs +0 -2
- package/dist/Graph-CWjf71TK.cjs.map +0 -1
- package/dist/Layout-DDktMnzb.cjs +0 -2
- package/dist/LimitsbarWidget-D4O0LWuC.cjs +0 -2
- package/dist/Openc3Screen-BP2oW88G.cjs +0 -6
- package/dist/Openc3Screen-BP2oW88G.cjs.map +0 -1
- package/dist/Openc3Screen-CkdegNDJ.js.map +0 -1
- package/dist/PackagesTab-Dwp6g8W0.cjs +0 -2
- package/dist/PluginsTab-COKDXShE.cjs +0 -6
- package/dist/PluginsTab-COKDXShE.cjs.map +0 -1
- package/dist/PluginsTab-CZApRILr.js.map +0 -1
- package/dist/RedisTab-B8U-vEQZ.js +0 -138
- package/dist/RedisTab-B8U-vEQZ.js.map +0 -1
- package/dist/RedisTab-cgicWb81.cjs +0 -2
- package/dist/RedisTab-cgicWb81.cjs.map +0 -1
- package/dist/SettingsTab-Ch52foLm.cjs +0 -3
- package/dist/ToolsTab-DUwXt5hn.cjs +0 -7
- package/dist/TopBar-C5lQcY1W.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog-BHDDrj0t.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-DWYRspHE.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-mEnslAi4.cjs +0 -1498
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-mEnslAi4.cjs.map +0 -1
- package/dist/VWidget-C7V6pKTg.cjs +0 -2
- package/dist/VWidget-C7V6pKTg.cjs.map +0 -1
- package/dist/VWidget-CFTCukCL.js +0 -332
- package/dist/VWidget-CFTCukCL.js.map +0 -1
|
@@ -2,25 +2,25 @@ var tt = Object.defineProperty;
|
|
|
2
2
|
var qe = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var it = (t, e,
|
|
6
|
-
var Ae = (t, e,
|
|
7
|
-
var
|
|
8
|
-
import { c as O, d as
|
|
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, normalizeClass as Ze, inject 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
|
|
13
|
+
import { O as mt, A as ht } from "../OutputDialog-Ut5cXGxQ.js";
|
|
14
|
+
import { f as xe } from "../format-CVeawcIv.js";
|
|
15
15
|
import { a as ft } from "../index-DDjz5VQq.js";
|
|
16
|
-
import { T as gt, A as Ke } from "../TopBar-
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { S as kt } from "../SimpleTextDialog-
|
|
21
|
-
import { _ as St } from "../ClassificationBanners-
|
|
22
|
-
import { E as xt } from "../EventListDialog-
|
|
23
|
-
import { E as Ct } from "../ScriptChooser-
|
|
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
24
|
const Vt = {
|
|
25
25
|
components: { OutputDialog: mt },
|
|
26
26
|
mixins: [pt],
|
|
@@ -102,7 +102,7 @@ const Vt = {
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
created() {
|
|
105
|
-
this.api = new
|
|
105
|
+
this.api = new Re(), this.api.get_setting("time_zone").then((t) => {
|
|
106
106
|
t && (this.timeZone = t);
|
|
107
107
|
}).catch((t) => {
|
|
108
108
|
}), this.getRunningScripts(), this.getCompletedScripts(), this.refreshTimer = setInterval(() => {
|
|
@@ -119,12 +119,12 @@ const Vt = {
|
|
|
119
119
|
O.get(
|
|
120
120
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
121
121
|
).then((e) => {
|
|
122
|
-
const
|
|
123
|
-
|
|
122
|
+
const n = e.data.items || [], a = /* @__PURE__ */ new Date();
|
|
123
|
+
n.forEach((i) => {
|
|
124
124
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
125
|
-
const
|
|
125
|
+
const s = new Date(i.start_time), d = a - s;
|
|
126
126
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
127
|
-
|
|
127
|
+
s,
|
|
128
128
|
this.timeZone
|
|
129
129
|
), d < 0)
|
|
130
130
|
i.duration = "N/A";
|
|
@@ -133,15 +133,15 @@ const Vt = {
|
|
|
133
133
|
else if (d < 6e4)
|
|
134
134
|
i.duration = `${Math.round(d / 1e3)}s`;
|
|
135
135
|
else if (d < 36e5) {
|
|
136
|
-
const
|
|
137
|
-
i.duration = `${
|
|
136
|
+
const m = Math.floor(d / 6e4), p = Math.round(d % 6e4 / 1e3);
|
|
137
|
+
i.duration = `${m}m ${p}s`;
|
|
138
138
|
} else {
|
|
139
|
-
const
|
|
140
|
-
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`;
|
|
141
141
|
}
|
|
142
142
|
} else
|
|
143
143
|
i.duration = "N/A";
|
|
144
|
-
}), this.runningScripts =
|
|
144
|
+
}), this.runningScripts = n, this.runningTotal = e.data.total || n.length, this.runningLoading = !1;
|
|
145
145
|
}).catch((e) => {
|
|
146
146
|
this.runningLoading = !1, this.$notify.caution({
|
|
147
147
|
title: "Error Loading Running Scripts",
|
|
@@ -161,8 +161,8 @@ const Vt = {
|
|
|
161
161
|
O.get(
|
|
162
162
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
163
163
|
).then((e) => {
|
|
164
|
-
const
|
|
165
|
-
|
|
164
|
+
const n = e.data.items || [];
|
|
165
|
+
n.forEach((a) => {
|
|
166
166
|
if (a.user_display = `${a.user_full_name} (${a.username})`, a.start_time && a.end_time) {
|
|
167
167
|
const i = new Date(a.start_time), d = new Date(a.end_time) - i;
|
|
168
168
|
if (a.start_time_formatted = this.formatDateTimeHMS(
|
|
@@ -175,15 +175,15 @@ const Vt = {
|
|
|
175
175
|
else if (d < 6e4)
|
|
176
176
|
a.duration = `${Math.round(d / 1e3)}s`;
|
|
177
177
|
else if (d < 36e5) {
|
|
178
|
-
const
|
|
179
|
-
a.duration = `${
|
|
178
|
+
const m = Math.floor(d / 6e4), p = Math.round(d % 6e4 / 1e3);
|
|
179
|
+
a.duration = `${m}m ${p}s`;
|
|
180
180
|
} else {
|
|
181
|
-
const
|
|
182
|
-
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`;
|
|
183
183
|
}
|
|
184
184
|
} else
|
|
185
185
|
a.duration = "N/A";
|
|
186
|
-
}), this.completedScripts =
|
|
186
|
+
}), this.completedScripts = n, this.completedTotal = e.data.total || n.length, this.completedLoading = !1;
|
|
187
187
|
}).catch((e) => {
|
|
188
188
|
this.completedLoading = !1, this.$notify.caution({
|
|
189
189
|
title: "Error Loading Completed Scripts",
|
|
@@ -207,8 +207,8 @@ const Vt = {
|
|
|
207
207
|
params: { id: t.name }
|
|
208
208
|
};
|
|
209
209
|
if (this.connectInNewTab) {
|
|
210
|
-
let { href:
|
|
211
|
-
window.open(
|
|
210
|
+
let { href: n } = this.$router.resolve(e);
|
|
211
|
+
window.open(n, "_blank");
|
|
212
212
|
} else
|
|
213
213
|
this.$router.push(e), this.$emit("close");
|
|
214
214
|
},
|
|
@@ -231,71 +231,83 @@ const Vt = {
|
|
|
231
231
|
});
|
|
232
232
|
},
|
|
233
233
|
viewScriptLog: function(t, e) {
|
|
234
|
-
let
|
|
235
|
-
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(
|
|
236
236
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
237
|
-
|
|
237
|
+
n
|
|
238
238
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
239
239
|
).then((a) => {
|
|
240
|
-
const i =
|
|
240
|
+
const i = n.split("/");
|
|
241
241
|
this.dialogFilename = i[i.length - 1], this.dialogContent = window.atob(a.data.contents), this.showDialog = !0;
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
|
-
downloadScriptLog: function(t, e) {
|
|
245
|
-
let
|
|
246
|
-
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(
|
|
247
261
|
`/openc3-api/storage/download/${encodeURIComponent(
|
|
248
|
-
|
|
262
|
+
a
|
|
249
263
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
250
|
-
).then((
|
|
251
|
-
const
|
|
252
|
-
|
|
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;
|
|
253
267
|
}).catch(() => {
|
|
254
268
|
this.$notify.caution({
|
|
255
|
-
title: `Unable to download log ${
|
|
256
|
-
body: `You may be able to download this log manually from the 'logs' bucket at ${
|
|
257
|
-
});
|
|
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;
|
|
258
272
|
});
|
|
259
273
|
}
|
|
260
274
|
}
|
|
261
275
|
}, Rt = { key: 0 }, Ot = { key: 1 };
|
|
262
|
-
function
|
|
263
|
-
const d = u("v-tab"),
|
|
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");
|
|
264
278
|
return y(), P("div", null, [
|
|
265
|
-
o(
|
|
279
|
+
o(K, {
|
|
266
280
|
flat: "",
|
|
267
281
|
class: "tab-card"
|
|
268
282
|
}, {
|
|
269
283
|
default: l(() => [
|
|
270
|
-
o(
|
|
284
|
+
o(m, {
|
|
271
285
|
modelValue: i.activeTab,
|
|
272
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
286
|
+
"onUpdate:modelValue": e[0] || (e[0] = (M) => i.activeTab = M),
|
|
273
287
|
"bg-color": "var(--color-background-base-default)"
|
|
274
288
|
}, {
|
|
275
289
|
default: l(() => [
|
|
276
290
|
o(d, { value: "running" }, {
|
|
277
|
-
default: l(() => e[6] || (e[6] = [
|
|
291
|
+
default: l(() => [...e[6] || (e[6] = [
|
|
278
292
|
k("Running Scripts", -1)
|
|
279
|
-
])),
|
|
280
|
-
_: 1
|
|
281
|
-
__: [6]
|
|
293
|
+
])]),
|
|
294
|
+
_: 1
|
|
282
295
|
}),
|
|
283
296
|
o(d, { value: "completed" }, {
|
|
284
|
-
default: l(() => e[7] || (e[7] = [
|
|
297
|
+
default: l(() => [...e[7] || (e[7] = [
|
|
285
298
|
k("Completed Scripts", -1)
|
|
286
|
-
])),
|
|
287
|
-
_: 1
|
|
288
|
-
__: [7]
|
|
299
|
+
])]),
|
|
300
|
+
_: 1
|
|
289
301
|
})
|
|
290
302
|
]),
|
|
291
303
|
_: 1
|
|
292
304
|
}, 8, ["modelValue"]),
|
|
293
|
-
o(
|
|
305
|
+
o(re, {
|
|
294
306
|
modelValue: i.activeTab,
|
|
295
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
307
|
+
"onUpdate:modelValue": e[3] || (e[3] = (M) => i.activeTab = M)
|
|
296
308
|
}, {
|
|
297
309
|
default: l(() => [
|
|
298
|
-
o(
|
|
310
|
+
o(E, { value: "running" }, {
|
|
299
311
|
default: l(() => [
|
|
300
312
|
o(b, null, {
|
|
301
313
|
default: l(() => [
|
|
@@ -305,17 +317,16 @@ function Mt(t, e, s, a, i, n) {
|
|
|
305
317
|
o(v, {
|
|
306
318
|
class: "mr-3",
|
|
307
319
|
color: "primary",
|
|
308
|
-
onClick:
|
|
320
|
+
onClick: s.getRunningScripts
|
|
309
321
|
}, {
|
|
310
|
-
default: l(() => e[8] || (e[8] = [
|
|
322
|
+
default: l(() => [...e[8] || (e[8] = [
|
|
311
323
|
k("Refresh", -1)
|
|
312
|
-
])),
|
|
313
|
-
_: 1
|
|
314
|
-
__: [8]
|
|
324
|
+
])]),
|
|
325
|
+
_: 1
|
|
315
326
|
}, 8, ["onClick"]),
|
|
316
327
|
o(w, {
|
|
317
328
|
modelValue: i.runningSearch,
|
|
318
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
329
|
+
"onUpdate:modelValue": e[1] || (e[1] = (M) => i.runningSearch = M),
|
|
319
330
|
class: "pt-0 search",
|
|
320
331
|
label: "Search",
|
|
321
332
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -345,67 +356,63 @@ function Mt(t, e, s, a, i, n) {
|
|
|
345
356
|
page: i.runningPage,
|
|
346
357
|
"items-per-page-options": [10, 25, 50],
|
|
347
358
|
class: "script-table",
|
|
348
|
-
"onUpdate:page":
|
|
349
|
-
"onUpdate:itemsPerPage":
|
|
359
|
+
"onUpdate:page": s.updateRunningPage,
|
|
360
|
+
"onUpdate:itemsPerPage": s.updateRunningItemsPerPage
|
|
350
361
|
}, {
|
|
351
|
-
"item.name": l(({ item:
|
|
362
|
+
"item.name": l(({ item: M }) => [
|
|
352
363
|
o(v, {
|
|
353
364
|
color: "primary",
|
|
354
365
|
density: "comfortable",
|
|
355
|
-
onClick: (
|
|
366
|
+
onClick: (F) => s.showScript(M)
|
|
356
367
|
}, {
|
|
357
368
|
default: l(() => [
|
|
358
|
-
k(z(
|
|
369
|
+
k(z(M.name), 1)
|
|
359
370
|
]),
|
|
360
371
|
_: 2
|
|
361
372
|
}, 1032, ["onClick"])
|
|
362
373
|
]),
|
|
363
|
-
"item.connect": l(({ item:
|
|
374
|
+
"item.connect": l(({ item: M }) => [
|
|
364
375
|
o(v, {
|
|
365
376
|
color: "primary",
|
|
366
|
-
onClick: (
|
|
377
|
+
onClick: (F) => s.connectScript(M)
|
|
367
378
|
}, {
|
|
368
379
|
default: l(() => [
|
|
369
380
|
e[10] || (e[10] = S("span", null, "Connect", -1)),
|
|
370
381
|
nt(o(R, { end: "" }, {
|
|
371
|
-
default: l(() => e[9] || (e[9] = [
|
|
382
|
+
default: l(() => [...e[9] || (e[9] = [
|
|
372
383
|
k(" mdi-open-in-new ", -1)
|
|
373
|
-
])),
|
|
374
|
-
_: 1
|
|
375
|
-
__: [9]
|
|
384
|
+
])]),
|
|
385
|
+
_: 1
|
|
376
386
|
}, 512), [
|
|
377
|
-
[ot,
|
|
387
|
+
[ot, n.connectInNewTab]
|
|
378
388
|
])
|
|
379
389
|
]),
|
|
380
|
-
_:
|
|
381
|
-
|
|
382
|
-
}, 1032, ["onClick"])
|
|
390
|
+
_: 1
|
|
391
|
+
}, 8, ["onClick"])
|
|
383
392
|
]),
|
|
384
|
-
"item.stop": l(({ item:
|
|
393
|
+
"item.stop": l(({ item: M }) => [
|
|
385
394
|
o(v, {
|
|
386
395
|
color: "primary",
|
|
387
|
-
onClick: (
|
|
396
|
+
onClick: (F) => s.deleteScript(M)
|
|
388
397
|
}, {
|
|
389
398
|
default: l(() => [
|
|
390
399
|
e[12] || (e[12] = S("span", null, "Stop", -1)),
|
|
391
400
|
o(R, { end: "" }, {
|
|
392
|
-
default: l(() => e[11] || (e[11] = [
|
|
401
|
+
default: l(() => [...e[11] || (e[11] = [
|
|
393
402
|
k(" mdi-close-circle-outline ", -1)
|
|
394
|
-
])),
|
|
395
|
-
_: 1
|
|
396
|
-
__: [11]
|
|
403
|
+
])]),
|
|
404
|
+
_: 1
|
|
397
405
|
})
|
|
398
406
|
]),
|
|
399
|
-
_:
|
|
400
|
-
|
|
401
|
-
}, 1032, ["onClick"])
|
|
407
|
+
_: 1
|
|
408
|
+
}, 8, ["onClick"])
|
|
402
409
|
]),
|
|
403
410
|
_: 1
|
|
404
411
|
}, 8, ["headers", "items", "items-length", "loading", "search", "items-per-page", "page", "onUpdate:page", "onUpdate:itemsPerPage"])
|
|
405
412
|
]),
|
|
406
413
|
_: 1
|
|
407
414
|
}),
|
|
408
|
-
o(
|
|
415
|
+
o(E, { value: "completed" }, {
|
|
409
416
|
default: l(() => [
|
|
410
417
|
o(b, null, {
|
|
411
418
|
default: l(() => [
|
|
@@ -415,17 +422,16 @@ function Mt(t, e, s, a, i, n) {
|
|
|
415
422
|
o(v, {
|
|
416
423
|
class: "mr-3",
|
|
417
424
|
color: "primary",
|
|
418
|
-
onClick:
|
|
425
|
+
onClick: s.getCompletedScripts
|
|
419
426
|
}, {
|
|
420
|
-
default: l(() => e[13] || (e[13] = [
|
|
427
|
+
default: l(() => [...e[13] || (e[13] = [
|
|
421
428
|
k("Refresh", -1)
|
|
422
|
-
])),
|
|
423
|
-
_: 1
|
|
424
|
-
__: [13]
|
|
429
|
+
])]),
|
|
430
|
+
_: 1
|
|
425
431
|
}, 8, ["onClick"]),
|
|
426
432
|
o(w, {
|
|
427
433
|
modelValue: i.completedSearch,
|
|
428
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
434
|
+
"onUpdate:modelValue": e[2] || (e[2] = (M) => i.completedSearch = M),
|
|
429
435
|
class: "pt-0 search",
|
|
430
436
|
label: "Search",
|
|
431
437
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -454,56 +460,93 @@ function Mt(t, e, s, a, i, n) {
|
|
|
454
460
|
page: i.completedPage,
|
|
455
461
|
"items-per-page-options": [10, 25, 50],
|
|
456
462
|
class: "script-table",
|
|
457
|
-
"onUpdate:page":
|
|
458
|
-
"onUpdate:itemsPerPage":
|
|
463
|
+
"onUpdate:page": s.updateCompletedPage,
|
|
464
|
+
"onUpdate:itemsPerPage": s.updateCompletedItemsPerPage
|
|
459
465
|
}, {
|
|
460
|
-
"item.name": l(({ item:
|
|
466
|
+
"item.name": l(({ item: M }) => [
|
|
461
467
|
o(v, {
|
|
462
468
|
color: "primary",
|
|
463
469
|
density: "comfortable",
|
|
464
|
-
onClick: (
|
|
470
|
+
onClick: (F) => s.showScript(M)
|
|
465
471
|
}, {
|
|
466
472
|
default: l(() => [
|
|
467
|
-
k(z(
|
|
473
|
+
k(z(M.name), 1)
|
|
468
474
|
]),
|
|
469
475
|
_: 2
|
|
470
476
|
}, 1032, ["onClick"])
|
|
471
477
|
]),
|
|
472
|
-
"item.log": l(({ item:
|
|
478
|
+
"item.log": l(({ item: M }) => [
|
|
473
479
|
o(v, {
|
|
474
480
|
color: "primary",
|
|
475
481
|
density: "comfortable",
|
|
476
482
|
icon: "mdi-eye",
|
|
477
|
-
onClick: (
|
|
483
|
+
onClick: (F) => s.viewScriptLog(M, "log")
|
|
478
484
|
}, null, 8, ["onClick"]),
|
|
479
485
|
o(v, {
|
|
480
486
|
color: "primary",
|
|
481
487
|
density: "comfortable",
|
|
482
488
|
icon: "mdi-file-download-outline",
|
|
483
489
|
disabled: i.downloadScript,
|
|
484
|
-
loading: i.downloadScript && i.downloadScript.name ===
|
|
485
|
-
onClick: (
|
|
490
|
+
loading: i.downloadScript && i.downloadScript.name === M.name,
|
|
491
|
+
onClick: (F) => s.downloadScriptLog(M, "log")
|
|
486
492
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
487
493
|
]),
|
|
488
|
-
"item.report": l(({ item:
|
|
489
|
-
|
|
494
|
+
"item.report": l(({ item: M }) => [
|
|
495
|
+
M.report ? (y(), P("div", Ot, [
|
|
490
496
|
o(v, {
|
|
491
497
|
color: "primary",
|
|
492
498
|
density: "comfortable",
|
|
493
499
|
icon: "mdi-eye",
|
|
494
|
-
onClick: (
|
|
500
|
+
onClick: (F) => s.viewScriptLog(M, "report")
|
|
495
501
|
}, null, 8, ["onClick"]),
|
|
496
|
-
o(
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
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] = [
|
|
505
548
|
S("span", null, "N/A", -1)
|
|
506
|
-
])))
|
|
549
|
+
])]))
|
|
507
550
|
]),
|
|
508
551
|
_: 1
|
|
509
552
|
}, 8, ["headers", "items", "items-length", "loading", "search", "items-per-page", "page", "onUpdate:page", "onUpdate:itemsPerPage"])
|
|
@@ -516,19 +559,19 @@ function Mt(t, e, s, a, i, n) {
|
|
|
516
559
|
]),
|
|
517
560
|
_: 1
|
|
518
561
|
}),
|
|
519
|
-
i.showDialog ? (y(), T(
|
|
562
|
+
i.showDialog ? (y(), T(ae, {
|
|
520
563
|
key: 0,
|
|
521
564
|
modelValue: i.showDialog,
|
|
522
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
565
|
+
"onUpdate:modelValue": e[4] || (e[4] = (M) => i.showDialog = M),
|
|
523
566
|
content: i.dialogContent,
|
|
524
567
|
type: "Script",
|
|
525
568
|
name: i.dialogName,
|
|
526
569
|
filename: i.dialogFilename,
|
|
527
|
-
onSubmit: e[5] || (e[5] = (
|
|
570
|
+
onSubmit: e[5] || (e[5] = (M) => i.showDialog = !1)
|
|
528
571
|
}, null, 8, ["modelValue", "content", "name", "filename"])) : D("", !0)
|
|
529
572
|
]);
|
|
530
573
|
}
|
|
531
|
-
const
|
|
574
|
+
const Mt = /* @__PURE__ */ q(Vt, [["render", Et]]), Tt = {
|
|
532
575
|
props: {
|
|
533
576
|
modelValue: {
|
|
534
577
|
type: Array,
|
|
@@ -569,11 +612,11 @@ const Et = /* @__PURE__ */ q(Vt, [["render", Mt]]), Tt = {
|
|
|
569
612
|
const t = this.messages.map((a) => a.message).join(`
|
|
570
613
|
`), e = new Blob([t], {
|
|
571
614
|
type: "text/plain"
|
|
572
|
-
}),
|
|
573
|
-
|
|
615
|
+
}), n = document.createElement("a");
|
|
616
|
+
n.href = URL.createObjectURL(e), n.setAttribute(
|
|
574
617
|
"download",
|
|
575
|
-
|
|
576
|
-
),
|
|
618
|
+
xe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
|
|
619
|
+
), n.click();
|
|
577
620
|
},
|
|
578
621
|
clearLog: function() {
|
|
579
622
|
this.$dialog.confirm("Are you sure you want to clear the log?", {
|
|
@@ -586,8 +629,8 @@ const Et = /* @__PURE__ */ q(Vt, [["render", Mt]]), Tt = {
|
|
|
586
629
|
}
|
|
587
630
|
}
|
|
588
631
|
};
|
|
589
|
-
function It(t, e,
|
|
590
|
-
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");
|
|
591
634
|
return y(), T(R, null, {
|
|
592
635
|
default: l(() => [
|
|
593
636
|
o(w, { class: "d-flex align-center" }, {
|
|
@@ -599,10 +642,10 @@ function It(t, e, s, a, i, n) {
|
|
|
599
642
|
density: "compact",
|
|
600
643
|
"data-test": "download-log",
|
|
601
644
|
"aria-label": "Download Log",
|
|
602
|
-
onClick:
|
|
645
|
+
onClick: s.downloadLog
|
|
603
646
|
}, null, 8, ["onClick"]),
|
|
604
647
|
e[2] || (e[2] = k(" Script Messages ", -1)),
|
|
605
|
-
o(
|
|
648
|
+
o(m),
|
|
606
649
|
o(p, {
|
|
607
650
|
modelValue: i.messageOrder,
|
|
608
651
|
"onUpdate:modelValue": e[0] || (e[0] = (C) => i.messageOrder = C),
|
|
@@ -614,7 +657,7 @@ function It(t, e, s, a, i, n) {
|
|
|
614
657
|
style: { "max-width": "200px" },
|
|
615
658
|
"data-test": "message-order"
|
|
616
659
|
}, null, 8, ["modelValue", "items"]),
|
|
617
|
-
o(
|
|
660
|
+
o(m),
|
|
618
661
|
o(v, {
|
|
619
662
|
modelValue: i.search,
|
|
620
663
|
"onUpdate:modelValue": e[1] || (e[1] = (C) => i.search = C),
|
|
@@ -635,11 +678,10 @@ function It(t, e, s, a, i, n) {
|
|
|
635
678
|
density: "compact",
|
|
636
679
|
"data-test": "clear-log",
|
|
637
680
|
"aria-label": "Clear Log",
|
|
638
|
-
onClick:
|
|
681
|
+
onClick: s.clearLog
|
|
639
682
|
}, null, 8, ["onClick"])
|
|
640
683
|
]),
|
|
641
|
-
_: 1
|
|
642
|
-
__: [2]
|
|
684
|
+
_: 1
|
|
643
685
|
}),
|
|
644
686
|
o(b, null, {
|
|
645
687
|
default: l(() => [
|
|
@@ -647,7 +689,7 @@ function It(t, e, s, a, i, n) {
|
|
|
647
689
|
id: "script-log-messages",
|
|
648
690
|
style: { overflow: "auto" },
|
|
649
691
|
headers: i.headers,
|
|
650
|
-
items:
|
|
692
|
+
items: s.messages,
|
|
651
693
|
search: i.search,
|
|
652
694
|
"items-per-page": -1,
|
|
653
695
|
"hide-default-footer": "",
|
|
@@ -656,7 +698,7 @@ function It(t, e, s, a, i, n) {
|
|
|
656
698
|
}, {
|
|
657
699
|
"item.message": l(({ item: C }) => [
|
|
658
700
|
S("div", {
|
|
659
|
-
class: Ze(
|
|
701
|
+
class: Ze(s.messageClass(C.message))
|
|
660
702
|
}, z(C.message), 3)
|
|
661
703
|
]),
|
|
662
704
|
_: 1
|
|
@@ -668,7 +710,7 @@ function It(t, e, s, a, i, n) {
|
|
|
668
710
|
_: 1
|
|
669
711
|
});
|
|
670
712
|
}
|
|
671
|
-
const Dt = /* @__PURE__ */ q(Tt, [["render", It]]),
|
|
713
|
+
const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Ut = {
|
|
672
714
|
__name: "splitpanes",
|
|
673
715
|
props: {
|
|
674
716
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -691,188 +733,188 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Pt = {
|
|
|
691
733
|
"splitter-dblclick"
|
|
692
734
|
],
|
|
693
735
|
setup(t, { emit: e }) {
|
|
694
|
-
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({
|
|
695
737
|
mouseDown: !1,
|
|
696
738
|
dragging: !1,
|
|
697
739
|
activeSplitter: null,
|
|
698
740
|
cursorOffset: 0
|
|
699
741
|
// Cursor offset within the splitter.
|
|
700
|
-
}), x =
|
|
742
|
+
}), x = ne({
|
|
701
743
|
// Used to detect double click on touch devices.
|
|
702
744
|
splitter: null,
|
|
703
745
|
timeoutId: null
|
|
704
|
-
}), b =
|
|
746
|
+
}), b = W(() => ({
|
|
705
747
|
[`splitpanes splitpanes--${a.horizontal ? "horizontal" : "vertical"}`]: !0,
|
|
706
748
|
"splitpanes--dragging": w.value.dragging
|
|
707
749
|
})), R = () => {
|
|
708
750
|
document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("mouseup", U), "ontouchstart" in window && (document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", U));
|
|
709
751
|
}, C = () => {
|
|
710
752
|
document.removeEventListener("mousemove", _, { passive: !1 }), document.removeEventListener("mouseup", U), "ontouchstart" in window && (document.removeEventListener("touchmove", _, { passive: !1 }), document.removeEventListener("touchend", U));
|
|
711
|
-
},
|
|
753
|
+
}, E = (c, r) => {
|
|
712
754
|
const h = c.target.closest(".splitpanes__splitter");
|
|
713
755
|
if (h) {
|
|
714
|
-
const { left:
|
|
715
|
-
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;
|
|
716
758
|
}
|
|
717
759
|
R(), w.value.mouseDown = !0, w.value.activeSplitter = r;
|
|
718
760
|
}, _ = (c) => {
|
|
719
761
|
w.value.mouseDown && (c.preventDefault(), w.value.dragging = !0, requestAnimationFrame(() => {
|
|
720
|
-
|
|
762
|
+
M(K(c)), L("resize", { event: c }, !0);
|
|
721
763
|
}));
|
|
722
764
|
}, U = (c) => {
|
|
723
|
-
w.value.dragging && (window.getSelection().removeAllRanges(),
|
|
765
|
+
w.value.dragging && (window.getSelection().removeAllRanges(), L("resized", { event: c }, !0)), w.value.mouseDown = !1, w.value.activeSplitter = null, setTimeout(() => {
|
|
724
766
|
w.value.dragging = !1, C();
|
|
725
767
|
}, 100);
|
|
726
|
-
},
|
|
727
|
-
"ontouchstart" in window && (c.preventDefault(), x.value.splitter === r ? (clearTimeout(x.value.timeoutId), x.value.timeoutId = null,
|
|
728
|
-
},
|
|
729
|
-
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) {
|
|
730
772
|
let h = 0;
|
|
731
|
-
|
|
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);
|
|
732
774
|
}
|
|
733
|
-
},
|
|
734
|
-
|
|
775
|
+
}, re = (c, r) => {
|
|
776
|
+
L("pane-click", {
|
|
735
777
|
event: c,
|
|
736
778
|
index: d.value[r].index,
|
|
737
779
|
pane: d.value[r]
|
|
738
780
|
});
|
|
739
|
-
},
|
|
740
|
-
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;
|
|
741
783
|
return {
|
|
742
784
|
x: h - (a.horizontal ? 0 : w.value.cursorOffset) - r.left,
|
|
743
|
-
y:
|
|
785
|
+
y: f - (a.horizontal ? w.value.cursorOffset : 0) - r.top
|
|
744
786
|
};
|
|
745
|
-
},
|
|
787
|
+
}, ae = (c) => {
|
|
746
788
|
c = c[a.horizontal ? "y" : "x"];
|
|
747
789
|
const r = p.value[a.horizontal ? "clientHeight" : "clientWidth"];
|
|
748
790
|
return a.rtl && !a.horizontal && (c = r - c), c * 100 / r;
|
|
749
|
-
},
|
|
791
|
+
}, M = (c) => {
|
|
750
792
|
const r = w.value.activeSplitter;
|
|
751
793
|
let h = {
|
|
752
|
-
prevPanesSize:
|
|
753
|
-
nextPanesSize:
|
|
794
|
+
prevPanesSize: ue(r),
|
|
795
|
+
nextPanesSize: Y(r),
|
|
754
796
|
prevReachedMinPanes: 0,
|
|
755
797
|
nextReachedMinPanes: 0
|
|
756
798
|
};
|
|
757
|
-
const
|
|
758
|
-
let I = [r, r + 1], A =
|
|
759
|
-
const He = A.max < 100 && V >= A.max + h.prevPanesSize, et = H.max < 100 && V <= 100 - (H.max +
|
|
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));
|
|
760
802
|
if (He || et) {
|
|
761
|
-
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 -
|
|
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);
|
|
762
804
|
return;
|
|
763
805
|
}
|
|
764
806
|
if (a.pushOtherPanes) {
|
|
765
|
-
const Ge =
|
|
807
|
+
const Ge = F(h, V);
|
|
766
808
|
if (!Ge) return;
|
|
767
|
-
({ sums: h, panesToResize: I } = Ge), A =
|
|
809
|
+
({ sums: h, panesToResize: I } = Ge), A = s.value[I[0]] || null, H = s.value[I[1]] || null;
|
|
768
810
|
}
|
|
769
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));
|
|
770
|
-
},
|
|
771
|
-
const h = w.value.activeSplitter,
|
|
772
|
-
return r < c.prevPanesSize +
|
|
773
|
-
V >
|
|
774
|
-
}), 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) => {
|
|
775
817
|
V > 0 && V <= h && (g.size = g.min, c.prevReachedMinPanes += g.min);
|
|
776
|
-
}),
|
|
777
|
-
V > h && V <
|
|
778
|
-
}), c.nextPanesSize =
|
|
779
|
-
V <
|
|
780
|
-
}),
|
|
781
|
-
},
|
|
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 = () => {
|
|
782
824
|
var c;
|
|
783
825
|
const r = Array.from(((c = p.value) == null ? void 0 : c.children) || []);
|
|
784
826
|
for (const h of r) {
|
|
785
|
-
const
|
|
786
|
-
!
|
|
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."));
|
|
787
829
|
}
|
|
788
|
-
},
|
|
789
|
-
const
|
|
790
|
-
g.classList.add("splitpanes__splitter"), h || (g.onmousedown = (V) =>
|
|
791
|
-
},
|
|
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) => {
|
|
792
834
|
c.onmousedown = void 0, c.onclick = void 0, c.ondblclick = void 0, c.remove();
|
|
793
|
-
},
|
|
835
|
+
}, $ = () => {
|
|
794
836
|
var c;
|
|
795
837
|
const r = Array.from(((c = p.value) == null ? void 0 : c.children) || []);
|
|
796
|
-
for (const
|
|
797
|
-
|
|
838
|
+
for (const f of r)
|
|
839
|
+
f.className.includes("splitpanes__splitter") && Ee(f);
|
|
798
840
|
let h = 0;
|
|
799
|
-
for (const
|
|
800
|
-
|
|
801
|
-
},
|
|
841
|
+
for (const f of r)
|
|
842
|
+
f.className.includes("splitpanes__pane") && (!h && a.firstSplitter ? ye(h, f, !0) : h && ye(h, f), h++);
|
|
843
|
+
}, Me = ({ uid: c, ...r }) => {
|
|
802
844
|
const h = d.value[c];
|
|
803
|
-
for (const [
|
|
845
|
+
for (const [f, g] of Object.entries(r)) h[f] = g;
|
|
804
846
|
}, Te = (c) => {
|
|
805
847
|
var r;
|
|
806
848
|
let h = -1;
|
|
807
|
-
Array.from(((r = p.value) == null ? void 0 : r.children) || []).some((
|
|
808
|
-
|
|
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] });
|
|
809
851
|
});
|
|
810
852
|
}, Ie = (c) => {
|
|
811
|
-
const r =
|
|
812
|
-
|
|
813
|
-
const h =
|
|
814
|
-
|
|
815
|
-
|
|
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 } });
|
|
816
858
|
});
|
|
817
|
-
},
|
|
818
|
-
!c.addedPane && !c.removedPane ?
|
|
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");
|
|
819
861
|
}, De = () => {
|
|
820
|
-
const c = 100 /
|
|
862
|
+
const c = 100 / m.value;
|
|
821
863
|
let r = 0;
|
|
822
|
-
const h = [],
|
|
823
|
-
for (const g of
|
|
824
|
-
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 &&
|
|
825
|
-
r > 0.1 &&
|
|
826
|
-
},
|
|
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 = () => {
|
|
827
869
|
let c = 100;
|
|
828
870
|
const r = [], h = [];
|
|
829
|
-
let
|
|
830
|
-
for (const V of
|
|
831
|
-
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);
|
|
832
874
|
let g = 100;
|
|
833
875
|
if (c > 0.1) {
|
|
834
|
-
for (const V of
|
|
835
|
-
V.givenSize === null && (V.size = Math.max(Math.min(c / (
|
|
836
|
-
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);
|
|
837
879
|
}
|
|
838
|
-
},
|
|
839
|
-
let h = 100 /
|
|
880
|
+
}, Pe = ({ addedPane: c, removedPane: r } = {}) => {
|
|
881
|
+
let h = 100 / m.value, f = 0;
|
|
840
882
|
const g = [], V = [];
|
|
841
|
-
((c == null ? void 0 : c.givenSize) ?? null) !== null && (h = (100 - c.givenSize) / (
|
|
842
|
-
for (const I of
|
|
843
|
-
|
|
844
|
-
if (!(Math.abs(
|
|
845
|
-
for (const I of
|
|
846
|
-
(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)),
|
|
847
|
-
|
|
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);
|
|
848
890
|
}
|
|
849
|
-
},
|
|
850
|
-
let
|
|
851
|
-
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) => {
|
|
852
894
|
if (c > 0 && !r.includes(g.id)) {
|
|
853
|
-
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;
|
|
854
896
|
c -= A, g.size = I;
|
|
855
897
|
} else if (!h.includes(g.id)) {
|
|
856
|
-
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;
|
|
857
899
|
c -= A, g.size = I;
|
|
858
900
|
}
|
|
859
901
|
}), Math.abs(c) > 0.1 && Fe(() => {
|
|
860
902
|
v.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
861
903
|
});
|
|
862
|
-
},
|
|
863
|
-
const
|
|
864
|
-
|
|
904
|
+
}, L = (c, r = void 0, h = !1) => {
|
|
905
|
+
const f = (r == null ? void 0 : r.index) ?? w.value.activeSplitter ?? null;
|
|
906
|
+
n(c, {
|
|
865
907
|
...r,
|
|
866
|
-
...
|
|
867
|
-
...h &&
|
|
868
|
-
prevPane:
|
|
869
|
-
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)]
|
|
870
912
|
},
|
|
871
|
-
panes:
|
|
913
|
+
panes: s.value.map((g) => ({ min: g.min, max: g.max, size: g.size }))
|
|
872
914
|
});
|
|
873
915
|
};
|
|
874
|
-
|
|
875
|
-
|
|
916
|
+
ke(() => a.firstSplitter, () => $()), Xe(() => {
|
|
917
|
+
we(), $(), de(), L("ready"), v.value = !0;
|
|
876
918
|
}), Qe(() => v.value = !1);
|
|
877
919
|
const ze = () => {
|
|
878
920
|
var c;
|
|
@@ -882,9 +924,9 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Pt = {
|
|
|
882
924
|
(c = i.default) == null ? void 0 : c.call(i)
|
|
883
925
|
);
|
|
884
926
|
};
|
|
885
|
-
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)));
|
|
886
928
|
}
|
|
887
|
-
},
|
|
929
|
+
}, Pt = {
|
|
888
930
|
__name: "pane",
|
|
889
931
|
props: {
|
|
890
932
|
size: { type: [Number, String] },
|
|
@@ -893,27 +935,27 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Pt = {
|
|
|
893
935
|
},
|
|
894
936
|
setup(t) {
|
|
895
937
|
var e;
|
|
896
|
-
const
|
|
897
|
-
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);
|
|
898
940
|
return Math.max(Math.min(_, C.value), R.value);
|
|
899
|
-
}), R =
|
|
900
|
-
const _ = parseFloat(
|
|
941
|
+
}), R = W(() => {
|
|
942
|
+
const _ = parseFloat(n.minSize);
|
|
901
943
|
return isNaN(_) ? 0 : _;
|
|
902
|
-
}), C =
|
|
903
|
-
const _ = parseFloat(
|
|
944
|
+
}), C = W(() => {
|
|
945
|
+
const _ = parseFloat(n.maxSize);
|
|
904
946
|
return isNaN(_) ? 100 : _;
|
|
905
|
-
}),
|
|
947
|
+
}), E = W(() => {
|
|
906
948
|
var _;
|
|
907
|
-
return `${
|
|
949
|
+
return `${s.value ? "height" : "width"}: ${(_ = w.value) == null ? void 0 : _.size}%`;
|
|
908
950
|
});
|
|
909
|
-
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(() => {
|
|
910
952
|
i({
|
|
911
953
|
id: p,
|
|
912
954
|
el: x.value,
|
|
913
955
|
min: R.value,
|
|
914
956
|
max: C.value,
|
|
915
957
|
// The given size (useful to know the user intention).
|
|
916
|
-
givenSize:
|
|
958
|
+
givenSize: n.size === void 0 ? null : b.value,
|
|
917
959
|
size: b.value
|
|
918
960
|
// The computed current size at any time.
|
|
919
961
|
});
|
|
@@ -921,8 +963,8 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Pt = {
|
|
|
921
963
|
ref_key: "paneEl",
|
|
922
964
|
ref: x,
|
|
923
965
|
class: "splitpanes__pane",
|
|
924
|
-
onClick: U[0] || (U[0] = (
|
|
925
|
-
style:
|
|
966
|
+
onClick: U[0] || (U[0] = (N) => rt(m)(N, _._.uid)),
|
|
967
|
+
style: Se(E.value)
|
|
926
968
|
}, [
|
|
927
969
|
at(_.$slots, "default")
|
|
928
970
|
], 4));
|
|
@@ -976,11 +1018,11 @@ const Dt = /* @__PURE__ */ q(Tt, [["render", It]]), Pt = {
|
|
|
976
1018
|
}
|
|
977
1019
|
}
|
|
978
1020
|
}, At = { class: "pa-2" }, Ft = { class: "question" };
|
|
979
|
-
function Bt(t, e,
|
|
980
|
-
const d = u("v-spacer"),
|
|
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");
|
|
981
1023
|
return y(), T(C, {
|
|
982
|
-
modelValue:
|
|
983
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1024
|
+
modelValue: s.show,
|
|
1025
|
+
"onUpdate:modelValue": e[2] || (e[2] = (E) => s.show = E),
|
|
984
1026
|
persistent: "",
|
|
985
1027
|
width: "600"
|
|
986
1028
|
}, {
|
|
@@ -989,29 +1031,28 @@ function Bt(t, e, s, a, i, n) {
|
|
|
989
1031
|
default: l(() => [
|
|
990
1032
|
o(b, {
|
|
991
1033
|
modelValue: i.valid,
|
|
992
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
993
|
-
onSubmit:
|
|
1034
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.valid = E),
|
|
1035
|
+
onSubmit: le(s.submitHandler, ["prevent"])
|
|
994
1036
|
}, {
|
|
995
1037
|
default: l(() => [
|
|
996
|
-
o(
|
|
1038
|
+
o(m, { height: "24" }, {
|
|
997
1039
|
default: l(() => [
|
|
998
1040
|
o(d),
|
|
999
1041
|
e[3] || (e[3] = S("span", null, " User Input Required ", -1)),
|
|
1000
1042
|
o(d)
|
|
1001
1043
|
]),
|
|
1002
|
-
_: 1
|
|
1003
|
-
__: [3]
|
|
1044
|
+
_: 1
|
|
1004
1045
|
}),
|
|
1005
1046
|
S("div", At, [
|
|
1006
1047
|
o(v, null, {
|
|
1007
1048
|
default: l(() => [
|
|
1008
|
-
S("div", Ft, z(
|
|
1049
|
+
S("div", Ft, z(n.question), 1),
|
|
1009
1050
|
o(p, {
|
|
1010
1051
|
modelValue: i.inputValue,
|
|
1011
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1052
|
+
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.inputValue = E),
|
|
1012
1053
|
autofocus: "",
|
|
1013
1054
|
"data-test": "ask-value-input",
|
|
1014
|
-
type:
|
|
1055
|
+
type: n.password ? "password" : "text",
|
|
1015
1056
|
rules: i.rules
|
|
1016
1057
|
}, null, 8, ["modelValue", "type", "rules"])
|
|
1017
1058
|
]),
|
|
@@ -1024,26 +1065,24 @@ function Bt(t, e, s, a, i, n) {
|
|
|
1024
1065
|
o(w, {
|
|
1025
1066
|
variant: "outlined",
|
|
1026
1067
|
"data-test": "ask-cancel",
|
|
1027
|
-
onClick:
|
|
1068
|
+
onClick: s.cancelHandler
|
|
1028
1069
|
}, {
|
|
1029
|
-
default: l(() => e[4] || (e[4] = [
|
|
1070
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1030
1071
|
k(" Cancel ", -1)
|
|
1031
|
-
])),
|
|
1032
|
-
_: 1
|
|
1033
|
-
__: [4]
|
|
1072
|
+
])]),
|
|
1073
|
+
_: 1
|
|
1034
1074
|
}, 8, ["onClick"]),
|
|
1035
1075
|
o(w, {
|
|
1036
1076
|
variant: "flat",
|
|
1037
1077
|
type: "submit",
|
|
1038
1078
|
"data-test": "ask-ok",
|
|
1039
1079
|
disabled: !i.valid,
|
|
1040
|
-
onClick:
|
|
1080
|
+
onClick: le(s.submitHandler, ["prevent"])
|
|
1041
1081
|
}, {
|
|
1042
|
-
default: l(() => e[5] || (e[5] = [
|
|
1082
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1043
1083
|
k(" Ok ", -1)
|
|
1044
|
-
])),
|
|
1045
|
-
_: 1
|
|
1046
|
-
__: [5]
|
|
1084
|
+
])]),
|
|
1085
|
+
_: 1
|
|
1047
1086
|
}, 8, ["disabled", "onClick"])
|
|
1048
1087
|
]),
|
|
1049
1088
|
_: 1
|
|
@@ -1106,11 +1145,11 @@ const Lt = /* @__PURE__ */ q(zt, [["render", Bt], ["__scopeId", "data-v-ae138b51
|
|
|
1106
1145
|
}
|
|
1107
1146
|
}
|
|
1108
1147
|
}, Ht = { class: "pa-2" }, Gt = { class: "title" }, qt = ["textContent"];
|
|
1109
|
-
function jt(t, e,
|
|
1110
|
-
const d = u("v-spacer"),
|
|
1111
|
-
return y(), T(
|
|
1112
|
-
modelValue:
|
|
1113
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
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 = _),
|
|
1114
1153
|
persistent: "",
|
|
1115
1154
|
width: "600"
|
|
1116
1155
|
}, {
|
|
@@ -1120,33 +1159,32 @@ function jt(t, e, s, a, i, n) {
|
|
|
1120
1159
|
o(R, {
|
|
1121
1160
|
modelValue: i.valid,
|
|
1122
1161
|
"onUpdate:modelValue": e[1] || (e[1] = (_) => i.valid = _),
|
|
1123
|
-
onSubmit:
|
|
1162
|
+
onSubmit: le(s.submitHandler, ["prevent"])
|
|
1124
1163
|
}, {
|
|
1125
1164
|
default: l(() => [
|
|
1126
|
-
o(
|
|
1165
|
+
o(m, { height: "24" }, {
|
|
1127
1166
|
default: l(() => [
|
|
1128
1167
|
o(d),
|
|
1129
1168
|
e[3] || (e[3] = S("span", null, " File Dialog ", -1)),
|
|
1130
1169
|
o(d)
|
|
1131
1170
|
]),
|
|
1132
|
-
_: 1
|
|
1133
|
-
__: [3]
|
|
1171
|
+
_: 1
|
|
1134
1172
|
}),
|
|
1135
1173
|
S("div", Ht, [
|
|
1136
1174
|
o(w, null, {
|
|
1137
1175
|
default: l(() => [
|
|
1138
1176
|
o(p, null, {
|
|
1139
1177
|
default: l(() => [
|
|
1140
|
-
S("span", Gt, z(
|
|
1178
|
+
S("span", Gt, z(n.title), 1)
|
|
1141
1179
|
]),
|
|
1142
1180
|
_: 1
|
|
1143
1181
|
}),
|
|
1144
|
-
|
|
1182
|
+
n.message ? (y(), T(p, { key: 0 }, {
|
|
1145
1183
|
default: l(() => [
|
|
1146
1184
|
S("span", {
|
|
1147
1185
|
class: "ma-3",
|
|
1148
1186
|
style: { "white-space": "pre-line" },
|
|
1149
|
-
textContent: z(
|
|
1187
|
+
textContent: z(n.message)
|
|
1150
1188
|
}, null, 8, qt)
|
|
1151
1189
|
]),
|
|
1152
1190
|
_: 1
|
|
@@ -1160,9 +1198,9 @@ function jt(t, e, s, a, i, n) {
|
|
|
1160
1198
|
rules: i.rules,
|
|
1161
1199
|
autofocus: "",
|
|
1162
1200
|
"data-test": "file-input",
|
|
1163
|
-
accept:
|
|
1201
|
+
accept: n.filter,
|
|
1164
1202
|
"small-chips": "",
|
|
1165
|
-
multiple:
|
|
1203
|
+
multiple: n.multiple
|
|
1166
1204
|
}, null, 8, ["modelValue", "rules", "accept", "multiple"])
|
|
1167
1205
|
]),
|
|
1168
1206
|
_: 1
|
|
@@ -1177,26 +1215,24 @@ function jt(t, e, s, a, i, n) {
|
|
|
1177
1215
|
o(x, {
|
|
1178
1216
|
variant: "outlined",
|
|
1179
1217
|
"data-test": "file-cancel",
|
|
1180
|
-
onClick:
|
|
1218
|
+
onClick: s.cancelHandler
|
|
1181
1219
|
}, {
|
|
1182
|
-
default: l(() => e[4] || (e[4] = [
|
|
1220
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1183
1221
|
k(" Cancel ", -1)
|
|
1184
|
-
])),
|
|
1185
|
-
_: 1
|
|
1186
|
-
__: [4]
|
|
1222
|
+
])]),
|
|
1223
|
+
_: 1
|
|
1187
1224
|
}, 8, ["onClick"]),
|
|
1188
1225
|
o(x, {
|
|
1189
1226
|
variant: "flat",
|
|
1190
1227
|
type: "submit",
|
|
1191
1228
|
"data-test": "file-ok",
|
|
1192
1229
|
disabled: !i.valid,
|
|
1193
|
-
onClick:
|
|
1230
|
+
onClick: le(s.submitHandler, ["prevent"])
|
|
1194
1231
|
}, {
|
|
1195
|
-
default: l(() => e[5] || (e[5] = [
|
|
1232
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1196
1233
|
k(" Ok ", -1)
|
|
1197
|
-
])),
|
|
1198
|
-
_: 1
|
|
1199
|
-
__: [5]
|
|
1234
|
+
])]),
|
|
1235
|
+
_: 1
|
|
1200
1236
|
}, 8, ["disabled", "onClick"])
|
|
1201
1237
|
]),
|
|
1202
1238
|
_: 1
|
|
@@ -1242,22 +1278,22 @@ const Kt = /* @__PURE__ */ q(Nt, [["render", jt], ["__scopeId", "data-v-40c2cac1
|
|
|
1242
1278
|
},
|
|
1243
1279
|
methods: {}
|
|
1244
1280
|
}, Jt = ["textContent"], Yt = { class: "pa-2" }, Zt = ["textContent"];
|
|
1245
|
-
function Xt(t, e,
|
|
1246
|
-
const d = u("v-spacer"),
|
|
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");
|
|
1247
1283
|
return y(), T(R, {
|
|
1248
|
-
modelValue:
|
|
1249
|
-
"onUpdate:modelValue": e[1] || (e[1] = (C) =>
|
|
1250
|
-
width:
|
|
1284
|
+
modelValue: s.show,
|
|
1285
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
|
|
1286
|
+
width: n.width
|
|
1251
1287
|
}, {
|
|
1252
1288
|
default: l(() => [
|
|
1253
1289
|
o(b, null, {
|
|
1254
1290
|
default: l(() => [
|
|
1255
|
-
o(
|
|
1291
|
+
o(m, { height: "24" }, {
|
|
1256
1292
|
default: l(() => [
|
|
1257
1293
|
o(d),
|
|
1258
1294
|
S("span", {
|
|
1259
|
-
style: { "white-space": "pre
|
|
1260
|
-
textContent: z(
|
|
1295
|
+
style: { "white-space": "pre" },
|
|
1296
|
+
textContent: z(n.title)
|
|
1261
1297
|
}, null, 8, Jt),
|
|
1262
1298
|
o(d)
|
|
1263
1299
|
]),
|
|
@@ -1266,13 +1302,13 @@ function Xt(t, e, s, a, i, n) {
|
|
|
1266
1302
|
S("div", Yt, [
|
|
1267
1303
|
o(v, null, {
|
|
1268
1304
|
default: l(() => [
|
|
1269
|
-
(y(!0), P(
|
|
1305
|
+
(y(!0), P(oe, null, Ne(n.text, (C, E) => (y(), T(p, {
|
|
1270
1306
|
"no-gutters": "",
|
|
1271
|
-
key:
|
|
1307
|
+
key: E
|
|
1272
1308
|
}, {
|
|
1273
1309
|
default: l(() => [
|
|
1274
1310
|
S("span", {
|
|
1275
|
-
style: { "white-space": "pre
|
|
1311
|
+
style: { "white-space": "pre" },
|
|
1276
1312
|
textContent: z(C)
|
|
1277
1313
|
}, null, 8, Zt)
|
|
1278
1314
|
]),
|
|
@@ -1287,13 +1323,12 @@ function Xt(t, e, s, a, i, n) {
|
|
|
1287
1323
|
o(d),
|
|
1288
1324
|
o(w, {
|
|
1289
1325
|
variant: "flat",
|
|
1290
|
-
onClick: e[0] || (e[0] = (C) =>
|
|
1326
|
+
onClick: e[0] || (e[0] = (C) => s.show = !s.show)
|
|
1291
1327
|
}, {
|
|
1292
|
-
default: l(() => e[2] || (e[2] = [
|
|
1328
|
+
default: l(() => [...e[2] || (e[2] = [
|
|
1293
1329
|
k(" Ok ", -1)
|
|
1294
|
-
])),
|
|
1295
|
-
_: 1
|
|
1296
|
-
__: [2]
|
|
1330
|
+
])]),
|
|
1331
|
+
_: 1
|
|
1297
1332
|
})
|
|
1298
1333
|
]),
|
|
1299
1334
|
_: 1
|
|
@@ -1339,7 +1374,7 @@ const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
|
|
|
1339
1374
|
}
|
|
1340
1375
|
},
|
|
1341
1376
|
created: function() {
|
|
1342
|
-
this.api = new
|
|
1377
|
+
this.api = new Re(), this.getOverrides();
|
|
1343
1378
|
},
|
|
1344
1379
|
methods: {
|
|
1345
1380
|
getOverrides: function() {
|
|
@@ -1363,7 +1398,7 @@ const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
|
|
|
1363
1398
|
e.packet_name,
|
|
1364
1399
|
e.item_name,
|
|
1365
1400
|
"ALL"
|
|
1366
|
-
).then((
|
|
1401
|
+
).then((n) => {
|
|
1367
1402
|
this.overrides = [];
|
|
1368
1403
|
});
|
|
1369
1404
|
},
|
|
@@ -1374,30 +1409,29 @@ const Qt = /* @__PURE__ */ q(Wt, [["render", Xt]]), $t = {
|
|
|
1374
1409
|
t.item_name,
|
|
1375
1410
|
t.value_type
|
|
1376
1411
|
).then((e) => {
|
|
1377
|
-
let
|
|
1378
|
-
this.overrides.splice(
|
|
1412
|
+
let n = this.overrides.indexOf(t);
|
|
1413
|
+
this.overrides.splice(n, 1);
|
|
1379
1414
|
});
|
|
1380
1415
|
}
|
|
1381
1416
|
}
|
|
1382
1417
|
}, ei = { class: "pa-2" };
|
|
1383
|
-
function ti(t, e,
|
|
1384
|
-
const d = u("v-spacer"),
|
|
1385
|
-
return y(), T(
|
|
1386
|
-
modelValue:
|
|
1387
|
-
"onUpdate:modelValue": e[2] || (e[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 = _),
|
|
1388
1423
|
width: "1000"
|
|
1389
1424
|
}, {
|
|
1390
1425
|
default: l(() => [
|
|
1391
1426
|
o(C, null, {
|
|
1392
1427
|
default: l(() => [
|
|
1393
|
-
o(
|
|
1428
|
+
o(m, { height: "24" }, {
|
|
1394
1429
|
default: l(() => [
|
|
1395
1430
|
o(d),
|
|
1396
1431
|
e[3] || (e[3] = S("span", null, "Overrides", -1)),
|
|
1397
1432
|
o(d)
|
|
1398
1433
|
]),
|
|
1399
|
-
_: 1
|
|
1400
|
-
__: [3]
|
|
1434
|
+
_: 1
|
|
1401
1435
|
}),
|
|
1402
1436
|
S("div", ei, [
|
|
1403
1437
|
o(b, null, {
|
|
@@ -1407,13 +1441,12 @@ function ti(t, e, s, a, i, n) {
|
|
|
1407
1441
|
o(p, {
|
|
1408
1442
|
color: "primary",
|
|
1409
1443
|
"data-test": "overrides-dialog-clear-all",
|
|
1410
|
-
onClick:
|
|
1444
|
+
onClick: s.clearOverrides
|
|
1411
1445
|
}, {
|
|
1412
|
-
default: l(() => e[4] || (e[4] = [
|
|
1446
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1413
1447
|
k(" Clear All Overrides ", -1)
|
|
1414
|
-
])),
|
|
1415
|
-
_: 1
|
|
1416
|
-
__: [4]
|
|
1448
|
+
])]),
|
|
1449
|
+
_: 1
|
|
1417
1450
|
}, 8, ["onClick"]),
|
|
1418
1451
|
o(d),
|
|
1419
1452
|
o(v, {
|
|
@@ -1443,7 +1476,7 @@ function ti(t, e, s, a, i, n) {
|
|
|
1443
1476
|
icon: "mdi-delete",
|
|
1444
1477
|
variant: "text",
|
|
1445
1478
|
"aria-label": "Delete Override",
|
|
1446
|
-
onClick: (U) =>
|
|
1479
|
+
onClick: (U) => s.deleteOverride(_)
|
|
1447
1480
|
}, null, 8, ["onClick"])
|
|
1448
1481
|
]),
|
|
1449
1482
|
_: 1
|
|
@@ -1458,13 +1491,12 @@ function ti(t, e, s, a, i, n) {
|
|
|
1458
1491
|
o(p, {
|
|
1459
1492
|
variant: "flat",
|
|
1460
1493
|
"data-test": "overrides-dialog-ok",
|
|
1461
|
-
onClick: e[1] || (e[1] = (_) =>
|
|
1494
|
+
onClick: e[1] || (e[1] = (_) => s.show = !s.show)
|
|
1462
1495
|
}, {
|
|
1463
|
-
default: l(() => e[5] || (e[5] = [
|
|
1496
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1464
1497
|
k(" Ok ", -1)
|
|
1465
|
-
])),
|
|
1466
|
-
_: 1
|
|
1467
|
-
__: [5]
|
|
1498
|
+
])]),
|
|
1499
|
+
_: 1
|
|
1468
1500
|
})
|
|
1469
1501
|
]),
|
|
1470
1502
|
_: 1
|
|
@@ -1542,23 +1574,23 @@ const ii = /* @__PURE__ */ q($t, [["render", ti]]), si = {
|
|
|
1542
1574
|
}
|
|
1543
1575
|
}
|
|
1544
1576
|
}, ni = ["textContent"], oi = { class: "pa-2" }, li = ["textContent"], ri = ["textContent"], ai = { key: 0 }, ui = { key: 1 };
|
|
1545
|
-
function di(t, e,
|
|
1546
|
-
const d = u("v-spacer"),
|
|
1547
|
-
return y(), T(
|
|
1548
|
-
modelValue:
|
|
1549
|
-
"onUpdate:modelValue": e[2] || (e[2] = (_) =>
|
|
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 = _),
|
|
1550
1582
|
persistent: "",
|
|
1551
1583
|
width: "600"
|
|
1552
1584
|
}, {
|
|
1553
1585
|
default: l(() => [
|
|
1554
1586
|
o(C, null, {
|
|
1555
1587
|
default: l(() => [
|
|
1556
|
-
o(
|
|
1588
|
+
o(m, { height: "24" }, {
|
|
1557
1589
|
default: l(() => [
|
|
1558
1590
|
o(d),
|
|
1559
1591
|
S("span", {
|
|
1560
1592
|
class: "text",
|
|
1561
|
-
textContent: z(
|
|
1593
|
+
textContent: z(n.title)
|
|
1562
1594
|
}, null, 8, ni),
|
|
1563
1595
|
o(d)
|
|
1564
1596
|
]),
|
|
@@ -1567,11 +1599,11 @@ function di(t, e, s, a, i, n) {
|
|
|
1567
1599
|
S("div", oi, [
|
|
1568
1600
|
o(w, { class: "text" }, {
|
|
1569
1601
|
default: l(() => [
|
|
1570
|
-
|
|
1602
|
+
n.subtitle ? (y(), T(v, { key: 0 }, {
|
|
1571
1603
|
default: l(() => [
|
|
1572
1604
|
o(p, null, {
|
|
1573
1605
|
default: l(() => [
|
|
1574
|
-
k(z(
|
|
1606
|
+
k(z(n.subtitle), 1)
|
|
1575
1607
|
]),
|
|
1576
1608
|
_: 1
|
|
1577
1609
|
})
|
|
@@ -1581,18 +1613,18 @@ function di(t, e, s, a, i, n) {
|
|
|
1581
1613
|
o(v, { class: "mt-1" }, {
|
|
1582
1614
|
default: l(() => [
|
|
1583
1615
|
S("span", {
|
|
1584
|
-
textContent: z(
|
|
1616
|
+
textContent: z(n.message)
|
|
1585
1617
|
}, null, 8, li)
|
|
1586
1618
|
]),
|
|
1587
1619
|
_: 1
|
|
1588
1620
|
}),
|
|
1589
|
-
|
|
1621
|
+
n.details ? (y(), T(v, {
|
|
1590
1622
|
key: 1,
|
|
1591
1623
|
class: "mt-1"
|
|
1592
1624
|
}, {
|
|
1593
1625
|
default: l(() => [
|
|
1594
1626
|
S("span", {
|
|
1595
|
-
textContent: z(
|
|
1627
|
+
textContent: z(n.details)
|
|
1596
1628
|
}, null, 8, ri)
|
|
1597
1629
|
]),
|
|
1598
1630
|
_: 1
|
|
@@ -1601,7 +1633,7 @@ function di(t, e, s, a, i, n) {
|
|
|
1601
1633
|
_: 1
|
|
1602
1634
|
})
|
|
1603
1635
|
]),
|
|
1604
|
-
|
|
1636
|
+
n.layout === "combo" ? (y(), P("div", ai, [
|
|
1605
1637
|
o(v, { class: "ma-2" }, {
|
|
1606
1638
|
default: l(() => [
|
|
1607
1639
|
o(x, {
|
|
@@ -1614,8 +1646,8 @@ function di(t, e, s, a, i, n) {
|
|
|
1614
1646
|
color: "secondary",
|
|
1615
1647
|
class: "ma-1",
|
|
1616
1648
|
"data-test": "prompt-select",
|
|
1617
|
-
items:
|
|
1618
|
-
multiple:
|
|
1649
|
+
items: n.buttons,
|
|
1650
|
+
multiple: n.multiple === !0
|
|
1619
1651
|
}, null, 8, ["modelValue", "items", "multiple"])
|
|
1620
1652
|
]),
|
|
1621
1653
|
_: 1
|
|
@@ -1626,51 +1658,48 @@ function di(t, e, s, a, i, n) {
|
|
|
1626
1658
|
o(b, {
|
|
1627
1659
|
variant: "outlined",
|
|
1628
1660
|
"data-test": "prompt-cancel",
|
|
1629
|
-
onClick:
|
|
1661
|
+
onClick: s.cancelHandler
|
|
1630
1662
|
}, {
|
|
1631
|
-
default: l(() => e[3] || (e[3] = [
|
|
1663
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1632
1664
|
k(" Cancel ", -1)
|
|
1633
|
-
])),
|
|
1634
|
-
_: 1
|
|
1635
|
-
__: [3]
|
|
1665
|
+
])]),
|
|
1666
|
+
_: 1
|
|
1636
1667
|
}, 8, ["onClick"]),
|
|
1637
1668
|
o(b, {
|
|
1638
1669
|
variant: "flat",
|
|
1639
1670
|
"data-test": "prompt-ok",
|
|
1640
1671
|
disabled: i.selectOkDisabled,
|
|
1641
|
-
onClick:
|
|
1672
|
+
onClick: s.submitHandler
|
|
1642
1673
|
}, {
|
|
1643
|
-
default: l(() => e[4] || (e[4] = [
|
|
1674
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1644
1675
|
k(" Ok ", -1)
|
|
1645
|
-
])),
|
|
1646
|
-
_: 1
|
|
1647
|
-
__: [4]
|
|
1676
|
+
])]),
|
|
1677
|
+
_: 1
|
|
1648
1678
|
}, 8, ["disabled", "onClick"])
|
|
1649
1679
|
]),
|
|
1650
1680
|
_: 1
|
|
1651
1681
|
})
|
|
1652
1682
|
])) : (y(), P("div", ui, [
|
|
1653
1683
|
o(R, {
|
|
1654
|
-
class: Ze(
|
|
1684
|
+
class: Ze(s.layoutClass)
|
|
1655
1685
|
}, {
|
|
1656
1686
|
default: l(() => [
|
|
1657
1687
|
o(d),
|
|
1658
1688
|
o(b, {
|
|
1659
1689
|
variant: "outlined",
|
|
1660
1690
|
"data-test": "prompt-cancel",
|
|
1661
|
-
onClick:
|
|
1691
|
+
onClick: s.cancelHandler
|
|
1662
1692
|
}, {
|
|
1663
|
-
default: l(() => e[5] || (e[5] = [
|
|
1693
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
1664
1694
|
k(" Cancel ", -1)
|
|
1665
|
-
])),
|
|
1666
|
-
_: 1
|
|
1667
|
-
__: [5]
|
|
1695
|
+
])]),
|
|
1696
|
+
_: 1
|
|
1668
1697
|
}, 8, ["onClick"]),
|
|
1669
|
-
(y(!0), P(
|
|
1698
|
+
(y(!0), P(oe, null, Ne(n.buttons, (_, U) => (y(), P("div", { key: U }, [
|
|
1670
1699
|
o(b, {
|
|
1671
1700
|
variant: "flat",
|
|
1672
1701
|
"data-test": `prompt-${_.text}`,
|
|
1673
|
-
onClick: (
|
|
1702
|
+
onClick: (N) => s.submitWrapper(_.value)
|
|
1674
1703
|
}, {
|
|
1675
1704
|
default: l(() => [
|
|
1676
1705
|
k(z(_.text), 1)
|
|
@@ -1723,30 +1752,29 @@ const ci = /* @__PURE__ */ q(si, [["render", di], ["__scopeId", "data-v-3c1d359a
|
|
|
1723
1752
|
}), e = document.createElement("a");
|
|
1724
1753
|
e.href = URL.createObjectURL(t), e.setAttribute(
|
|
1725
1754
|
"download",
|
|
1726
|
-
|
|
1755
|
+
xe(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
|
|
1727
1756
|
), e.click();
|
|
1728
1757
|
}
|
|
1729
1758
|
}
|
|
1730
1759
|
}, mi = { class: "pa-2" };
|
|
1731
|
-
function hi(t, e,
|
|
1732
|
-
const d = u("v-spacer"),
|
|
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");
|
|
1733
1762
|
return y(), T(R, {
|
|
1734
|
-
modelValue:
|
|
1735
|
-
"onUpdate:modelValue": e[1] || (e[1] = (C) =>
|
|
1763
|
+
modelValue: s.show,
|
|
1764
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
|
|
1736
1765
|
scrollable: "",
|
|
1737
1766
|
width: "800"
|
|
1738
1767
|
}, {
|
|
1739
1768
|
default: l(() => [
|
|
1740
1769
|
o(b, null, {
|
|
1741
1770
|
default: l(() => [
|
|
1742
|
-
o(
|
|
1771
|
+
o(m, { height: "24" }, {
|
|
1743
1772
|
default: l(() => [
|
|
1744
1773
|
o(d),
|
|
1745
1774
|
e[2] || (e[2] = S("span", null, " Script Results ", -1)),
|
|
1746
1775
|
o(d)
|
|
1747
1776
|
]),
|
|
1748
|
-
_: 1
|
|
1749
|
-
__: [2]
|
|
1777
|
+
_: 1
|
|
1750
1778
|
}),
|
|
1751
1779
|
S("div", mi, [
|
|
1752
1780
|
o(v, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
@@ -1756,7 +1784,7 @@ function hi(t, e, s, a, i, n) {
|
|
|
1756
1784
|
"hide-details": "",
|
|
1757
1785
|
density: "compact",
|
|
1758
1786
|
"auto-grow": "",
|
|
1759
|
-
"model-value":
|
|
1787
|
+
"model-value": n.text
|
|
1760
1788
|
}, null, 8, ["model-value"])
|
|
1761
1789
|
]),
|
|
1762
1790
|
_: 1
|
|
@@ -1767,24 +1795,22 @@ function hi(t, e, s, a, i, n) {
|
|
|
1767
1795
|
o(d),
|
|
1768
1796
|
o(w, {
|
|
1769
1797
|
variant: "outlined",
|
|
1770
|
-
onClick:
|
|
1798
|
+
onClick: s.downloadResults
|
|
1771
1799
|
}, {
|
|
1772
|
-
default: l(() => e[3] || (e[3] = [
|
|
1800
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1773
1801
|
k(" Download ", -1)
|
|
1774
|
-
])),
|
|
1775
|
-
_: 1
|
|
1776
|
-
__: [3]
|
|
1802
|
+
])]),
|
|
1803
|
+
_: 1
|
|
1777
1804
|
}, 8, ["onClick"]),
|
|
1778
1805
|
o(w, {
|
|
1779
1806
|
ref: "okButton",
|
|
1780
1807
|
variant: "flat",
|
|
1781
|
-
onClick: e[0] || (e[0] = (C) =>
|
|
1808
|
+
onClick: e[0] || (e[0] = (C) => s.show = !s.show)
|
|
1782
1809
|
}, {
|
|
1783
|
-
default: l(() => e[4] || (e[4] = [
|
|
1810
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1784
1811
|
k(" Ok ", -1)
|
|
1785
|
-
])),
|
|
1786
|
-
_: 1
|
|
1787
|
-
__: [4]
|
|
1812
|
+
])]),
|
|
1813
|
+
_: 1
|
|
1788
1814
|
}, 512)
|
|
1789
1815
|
]),
|
|
1790
1816
|
_: 1
|
|
@@ -1840,24 +1866,23 @@ const fi = /* @__PURE__ */ q(pi, [["render", hi]]), gi = {
|
|
|
1840
1866
|
}
|
|
1841
1867
|
}
|
|
1842
1868
|
}, vi = { class: "pa-2" };
|
|
1843
|
-
function _i(t, e,
|
|
1844
|
-
const d = u("v-spacer"),
|
|
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");
|
|
1845
1871
|
return y(), T(R, {
|
|
1846
|
-
modelValue:
|
|
1847
|
-
"onUpdate:modelValue": e[1] || (e[1] = (C) =>
|
|
1872
|
+
modelValue: s.show,
|
|
1873
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.show = C),
|
|
1848
1874
|
width: "600"
|
|
1849
1875
|
}, {
|
|
1850
1876
|
default: l(() => [
|
|
1851
1877
|
o(b, null, {
|
|
1852
1878
|
default: l(() => [
|
|
1853
|
-
o(
|
|
1879
|
+
o(m, { height: "24" }, {
|
|
1854
1880
|
default: l(() => [
|
|
1855
1881
|
o(d),
|
|
1856
1882
|
e[2] || (e[2] = S("span", null, "Script Environment Variables", -1)),
|
|
1857
1883
|
o(d)
|
|
1858
1884
|
]),
|
|
1859
|
-
_: 1
|
|
1860
|
-
__: [2]
|
|
1885
|
+
_: 1
|
|
1861
1886
|
}),
|
|
1862
1887
|
S("div", vi, [
|
|
1863
1888
|
o(v, null, {
|
|
@@ -1876,25 +1901,23 @@ function _i(t, e, s, a, i, n) {
|
|
|
1876
1901
|
o(w, {
|
|
1877
1902
|
variant: "outlined",
|
|
1878
1903
|
"data-test": "environment-dialog-cancel",
|
|
1879
|
-
onClick:
|
|
1904
|
+
onClick: s.cancel
|
|
1880
1905
|
}, {
|
|
1881
|
-
default: l(() => e[3] || (e[3] = [
|
|
1906
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1882
1907
|
k(" Cancel ", -1)
|
|
1883
|
-
])),
|
|
1884
|
-
_: 1
|
|
1885
|
-
__: [3]
|
|
1908
|
+
])]),
|
|
1909
|
+
_: 1
|
|
1886
1910
|
}, 8, ["onClick"]),
|
|
1887
1911
|
o(w, {
|
|
1888
1912
|
variant: "flat",
|
|
1889
1913
|
"data-test": "environment-dialog-save",
|
|
1890
1914
|
disabled: !!t.inputError,
|
|
1891
|
-
onClick:
|
|
1915
|
+
onClick: s.updateEnvironment
|
|
1892
1916
|
}, {
|
|
1893
|
-
default: l(() => e[4] || (e[4] = [
|
|
1917
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
1894
1918
|
k(" Save ", -1)
|
|
1895
|
-
])),
|
|
1896
|
-
_: 1
|
|
1897
|
-
__: [4]
|
|
1919
|
+
])]),
|
|
1920
|
+
_: 1
|
|
1898
1921
|
}, 8, ["disabled", "onClick"])
|
|
1899
1922
|
]),
|
|
1900
1923
|
_: 1
|
|
@@ -1992,8 +2015,8 @@ const bi = /* @__PURE__ */ q(gi, [["render", _i]]), wi = {
|
|
|
1992
2015
|
}
|
|
1993
2016
|
}
|
|
1994
2017
|
}, yi = { id: "tr-container" };
|
|
1995
|
-
function ki(t, e,
|
|
1996
|
-
const d = u("v-checkbox"),
|
|
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");
|
|
1997
2020
|
return y(), P("div", null, [
|
|
1998
2021
|
S("div", yi, [
|
|
1999
2022
|
o(v, {
|
|
@@ -2007,12 +2030,12 @@ function ki(t, e, s, a, i, n) {
|
|
|
2007
2030
|
default: l(() => [
|
|
2008
2031
|
o(p, { cols: "6" }, {
|
|
2009
2032
|
default: l(() => [
|
|
2010
|
-
o(
|
|
2033
|
+
o(m, {
|
|
2011
2034
|
"open-delay": 600,
|
|
2012
2035
|
location: "top"
|
|
2013
2036
|
}, {
|
|
2014
2037
|
activator: l(({ props: b }) => [
|
|
2015
|
-
S("div",
|
|
2038
|
+
S("div", ie(se(b)), [
|
|
2016
2039
|
o(d, {
|
|
2017
2040
|
modelValue: i.options,
|
|
2018
2041
|
"onUpdate:modelValue": e[0] || (e[0] = (R) => i.options = R),
|
|
@@ -2030,20 +2053,19 @@ function ki(t, e, s, a, i, n) {
|
|
|
2030
2053
|
k(" Unchecked continues without user interaction ")
|
|
2031
2054
|
], -1))
|
|
2032
2055
|
]),
|
|
2033
|
-
_: 1
|
|
2034
|
-
__: [16]
|
|
2056
|
+
_: 1
|
|
2035
2057
|
})
|
|
2036
2058
|
]),
|
|
2037
2059
|
_: 1
|
|
2038
2060
|
}),
|
|
2039
2061
|
o(p, { cols: "6" }, {
|
|
2040
2062
|
default: l(() => [
|
|
2041
|
-
o(
|
|
2063
|
+
o(m, {
|
|
2042
2064
|
"open-delay": 600,
|
|
2043
2065
|
location: "top"
|
|
2044
2066
|
}, {
|
|
2045
2067
|
activator: l(({ props: b }) => [
|
|
2046
|
-
S("div",
|
|
2068
|
+
S("div", ie(se(b)), [
|
|
2047
2069
|
o(d, {
|
|
2048
2070
|
modelValue: i.options,
|
|
2049
2071
|
"onUpdate:modelValue": e[1] || (e[1] = (R) => i.options = R),
|
|
@@ -2056,9 +2078,9 @@ function ki(t, e, s, a, i, n) {
|
|
|
2056
2078
|
]),
|
|
2057
2079
|
default: l(() => [
|
|
2058
2080
|
S("span", null, [
|
|
2059
|
-
k(z(
|
|
2081
|
+
k(z(s.checkedManualTooltip), 1),
|
|
2060
2082
|
e[17] || (e[17] = S("br", null, null, -1)),
|
|
2061
|
-
k(" " + z(
|
|
2083
|
+
k(" " + z(s.uncheckedManualTooltip), 1)
|
|
2062
2084
|
])
|
|
2063
2085
|
]),
|
|
2064
2086
|
_: 1
|
|
@@ -2085,7 +2107,7 @@ function ki(t, e, s, a, i, n) {
|
|
|
2085
2107
|
modelValue: i.suite,
|
|
2086
2108
|
"onUpdate:modelValue": [
|
|
2087
2109
|
e[2] || (e[2] = (b) => i.suite = b),
|
|
2088
|
-
|
|
2110
|
+
s.suiteChanged
|
|
2089
2111
|
],
|
|
2090
2112
|
label: "Suite:",
|
|
2091
2113
|
class: "mb-2 mr-2",
|
|
@@ -2103,40 +2125,37 @@ function ki(t, e, s, a, i, n) {
|
|
|
2103
2125
|
o(x, {
|
|
2104
2126
|
color: "primary",
|
|
2105
2127
|
class: "mr-2",
|
|
2106
|
-
disabled:
|
|
2128
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2107
2129
|
"data-test": "start-suite",
|
|
2108
2130
|
onClick: e[3] || (e[3] = (b) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2109
2131
|
}, {
|
|
2110
|
-
default: l(() => e[18] || (e[18] = [
|
|
2132
|
+
default: l(() => [...e[18] || (e[18] = [
|
|
2111
2133
|
k(" Start ", -1)
|
|
2112
|
-
])),
|
|
2113
|
-
_: 1
|
|
2114
|
-
__: [18]
|
|
2134
|
+
])]),
|
|
2135
|
+
_: 1
|
|
2115
2136
|
}, 8, ["disabled"]),
|
|
2116
2137
|
o(x, {
|
|
2117
2138
|
color: "primary",
|
|
2118
2139
|
class: "mr-2",
|
|
2119
2140
|
"data-test": "setup-suite",
|
|
2120
|
-
disabled:
|
|
2141
|
+
disabled: n.disableButtons || !s.setupSuiteEnabled || !i.userInfo.execute,
|
|
2121
2142
|
onClick: e[4] || (e[4] = (b) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2122
2143
|
}, {
|
|
2123
|
-
default: l(() => e[19] || (e[19] = [
|
|
2144
|
+
default: l(() => [...e[19] || (e[19] = [
|
|
2124
2145
|
k(" Setup ", -1)
|
|
2125
|
-
])),
|
|
2126
|
-
_: 1
|
|
2127
|
-
__: [19]
|
|
2146
|
+
])]),
|
|
2147
|
+
_: 1
|
|
2128
2148
|
}, 8, ["disabled"]),
|
|
2129
2149
|
o(x, {
|
|
2130
2150
|
color: "primary",
|
|
2131
2151
|
"data-test": "teardown-suite",
|
|
2132
|
-
disabled:
|
|
2152
|
+
disabled: n.disableButtons || !s.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2133
2153
|
onClick: e[5] || (e[5] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2134
2154
|
}, {
|
|
2135
|
-
default: l(() => e[20] || (e[20] = [
|
|
2155
|
+
default: l(() => [...e[20] || (e[20] = [
|
|
2136
2156
|
k(" Teardown ", -1)
|
|
2137
|
-
])),
|
|
2138
|
-
_: 1
|
|
2139
|
-
__: [20]
|
|
2157
|
+
])]),
|
|
2158
|
+
_: 1
|
|
2140
2159
|
}, 8, ["disabled"])
|
|
2141
2160
|
]),
|
|
2142
2161
|
_: 1
|
|
@@ -2158,12 +2177,12 @@ function ki(t, e, s, a, i, n) {
|
|
|
2158
2177
|
default: l(() => [
|
|
2159
2178
|
o(p, { cols: "6" }, {
|
|
2160
2179
|
default: l(() => [
|
|
2161
|
-
o(
|
|
2180
|
+
o(m, {
|
|
2162
2181
|
"open-delay": 600,
|
|
2163
2182
|
location: "top"
|
|
2164
2183
|
}, {
|
|
2165
2184
|
activator: l(({ props: b }) => [
|
|
2166
|
-
S("div",
|
|
2185
|
+
S("div", ie(se(b)), [
|
|
2167
2186
|
o(d, {
|
|
2168
2187
|
modelValue: i.options,
|
|
2169
2188
|
"onUpdate:modelValue": e[6] || (e[6] = (R) => i.options = R),
|
|
@@ -2181,20 +2200,19 @@ function ki(t, e, s, a, i, n) {
|
|
|
2181
2200
|
k(" Unchecked forces the current script to end ")
|
|
2182
2201
|
], -1))
|
|
2183
2202
|
]),
|
|
2184
|
-
_: 1
|
|
2185
|
-
__: [21]
|
|
2203
|
+
_: 1
|
|
2186
2204
|
})
|
|
2187
2205
|
]),
|
|
2188
2206
|
_: 1
|
|
2189
2207
|
}),
|
|
2190
2208
|
o(p, { cols: "6" }, {
|
|
2191
2209
|
default: l(() => [
|
|
2192
|
-
o(
|
|
2210
|
+
o(m, {
|
|
2193
2211
|
"open-delay": 600,
|
|
2194
2212
|
location: "top"
|
|
2195
2213
|
}, {
|
|
2196
2214
|
activator: l(({ props: b }) => [
|
|
2197
|
-
S("div",
|
|
2215
|
+
S("div", ie(se(b)), [
|
|
2198
2216
|
o(d, {
|
|
2199
2217
|
modelValue: i.options,
|
|
2200
2218
|
"onUpdate:modelValue": e[7] || (e[7] = (R) => i.options = R),
|
|
@@ -2212,8 +2230,7 @@ function ki(t, e, s, a, i, n) {
|
|
|
2212
2230
|
k(" Unchecked executes only the started script(s) ")
|
|
2213
2231
|
], -1))
|
|
2214
2232
|
]),
|
|
2215
|
-
_: 1
|
|
2216
|
-
__: [22]
|
|
2233
|
+
_: 1
|
|
2217
2234
|
})
|
|
2218
2235
|
]),
|
|
2219
2236
|
_: 1
|
|
@@ -2237,7 +2254,7 @@ function ki(t, e, s, a, i, n) {
|
|
|
2237
2254
|
modelValue: i.group,
|
|
2238
2255
|
"onUpdate:modelValue": [
|
|
2239
2256
|
e[8] || (e[8] = (b) => i.group = b),
|
|
2240
|
-
|
|
2257
|
+
s.groupChanged
|
|
2241
2258
|
],
|
|
2242
2259
|
label: "Group:",
|
|
2243
2260
|
class: "mb-2 mr-2",
|
|
@@ -2255,40 +2272,37 @@ function ki(t, e, s, a, i, n) {
|
|
|
2255
2272
|
o(x, {
|
|
2256
2273
|
color: "primary",
|
|
2257
2274
|
class: "mr-2",
|
|
2258
|
-
disabled:
|
|
2275
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2259
2276
|
"data-test": "start-group",
|
|
2260
2277
|
onClick: e[9] || (e[9] = (b) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2261
2278
|
}, {
|
|
2262
|
-
default: l(() => e[23] || (e[23] = [
|
|
2279
|
+
default: l(() => [...e[23] || (e[23] = [
|
|
2263
2280
|
k(" Start ", -1)
|
|
2264
|
-
])),
|
|
2265
|
-
_: 1
|
|
2266
|
-
__: [23]
|
|
2281
|
+
])]),
|
|
2282
|
+
_: 1
|
|
2267
2283
|
}, 8, ["disabled"]),
|
|
2268
2284
|
o(x, {
|
|
2269
2285
|
color: "primary",
|
|
2270
2286
|
class: "mr-2",
|
|
2271
2287
|
"data-test": "setup-group",
|
|
2272
|
-
disabled:
|
|
2288
|
+
disabled: n.disableButtons || !s.setupGroupEnabled || !i.userInfo.execute,
|
|
2273
2289
|
onClick: e[10] || (e[10] = (b) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2274
2290
|
}, {
|
|
2275
|
-
default: l(() => e[24] || (e[24] = [
|
|
2291
|
+
default: l(() => [...e[24] || (e[24] = [
|
|
2276
2292
|
k(" Setup ", -1)
|
|
2277
|
-
])),
|
|
2278
|
-
_: 1
|
|
2279
|
-
__: [24]
|
|
2293
|
+
])]),
|
|
2294
|
+
_: 1
|
|
2280
2295
|
}, 8, ["disabled"]),
|
|
2281
2296
|
o(x, {
|
|
2282
2297
|
color: "primary",
|
|
2283
2298
|
"data-test": "teardown-group",
|
|
2284
|
-
disabled:
|
|
2299
|
+
disabled: n.disableButtons || !s.teardownGroupEnabled || !i.userInfo.execute,
|
|
2285
2300
|
onClick: e[11] || (e[11] = (b) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2286
2301
|
}, {
|
|
2287
|
-
default: l(() => e[25] || (e[25] = [
|
|
2302
|
+
default: l(() => [...e[25] || (e[25] = [
|
|
2288
2303
|
k(" Teardown ", -1)
|
|
2289
|
-
])),
|
|
2290
|
-
_: 1
|
|
2291
|
-
__: [25]
|
|
2304
|
+
])]),
|
|
2305
|
+
_: 1
|
|
2292
2306
|
}, 8, ["disabled"])
|
|
2293
2307
|
]),
|
|
2294
2308
|
_: 1
|
|
@@ -2310,12 +2324,12 @@ function ki(t, e, s, a, i, n) {
|
|
|
2310
2324
|
default: l(() => [
|
|
2311
2325
|
o(p, { cols: "6" }, {
|
|
2312
2326
|
default: l(() => [
|
|
2313
|
-
o(
|
|
2327
|
+
o(m, {
|
|
2314
2328
|
"open-delay": 600,
|
|
2315
2329
|
location: "top"
|
|
2316
2330
|
}, {
|
|
2317
2331
|
activator: l(({ props: b }) => [
|
|
2318
|
-
S("div",
|
|
2332
|
+
S("div", ie(se(b)), [
|
|
2319
2333
|
o(d, {
|
|
2320
2334
|
modelValue: i.options,
|
|
2321
2335
|
"onUpdate:modelValue": e[12] || (e[12] = (R) => i.options = R),
|
|
@@ -2333,20 +2347,19 @@ function ki(t, e, s, a, i, n) {
|
|
|
2333
2347
|
k(" Unchecked allows additional scripts to execute ")
|
|
2334
2348
|
], -1))
|
|
2335
2349
|
]),
|
|
2336
|
-
_: 1
|
|
2337
|
-
__: [26]
|
|
2350
|
+
_: 1
|
|
2338
2351
|
})
|
|
2339
2352
|
]),
|
|
2340
2353
|
_: 1
|
|
2341
2354
|
}),
|
|
2342
2355
|
o(p, { cols: "6" }, {
|
|
2343
2356
|
default: l(() => [
|
|
2344
|
-
o(
|
|
2357
|
+
o(m, {
|
|
2345
2358
|
"open-delay": 600,
|
|
2346
2359
|
location: "top"
|
|
2347
2360
|
}, {
|
|
2348
2361
|
activator: l(({ props: b }) => [
|
|
2349
|
-
S("div",
|
|
2362
|
+
S("div", ie(se(b)), [
|
|
2350
2363
|
o(d, {
|
|
2351
2364
|
modelValue: i.options,
|
|
2352
2365
|
"onUpdate:modelValue": e[13] || (e[13] = (R) => i.options = R),
|
|
@@ -2367,8 +2380,7 @@ function ki(t, e, s, a, i, n) {
|
|
|
2367
2380
|
k(" Note: Abort after Error still breaks the loop ")
|
|
2368
2381
|
], -1))
|
|
2369
2382
|
]),
|
|
2370
|
-
_: 1
|
|
2371
|
-
__: [27]
|
|
2383
|
+
_: 1
|
|
2372
2384
|
})
|
|
2373
2385
|
]),
|
|
2374
2386
|
_: 1
|
|
@@ -2392,14 +2404,14 @@ function ki(t, e, s, a, i, n) {
|
|
|
2392
2404
|
modelValue: i.script,
|
|
2393
2405
|
"onUpdate:modelValue": [
|
|
2394
2406
|
e[14] || (e[14] = (b) => i.script = b),
|
|
2395
|
-
|
|
2407
|
+
s.scriptChanged
|
|
2396
2408
|
],
|
|
2397
2409
|
label: "Script:",
|
|
2398
2410
|
class: "mb-2 mr-2",
|
|
2399
2411
|
"hide-details": "",
|
|
2400
2412
|
density: "compact",
|
|
2401
2413
|
variant: "outlined",
|
|
2402
|
-
items:
|
|
2414
|
+
items: s.scriptNames,
|
|
2403
2415
|
"item-title": "title",
|
|
2404
2416
|
"item-value": "value",
|
|
2405
2417
|
"data-test": "select-script"
|
|
@@ -2412,7 +2424,7 @@ function ki(t, e, s, a, i, n) {
|
|
|
2412
2424
|
o(x, {
|
|
2413
2425
|
color: "primary",
|
|
2414
2426
|
class: "mr-2",
|
|
2415
|
-
disabled:
|
|
2427
|
+
disabled: n.disableButtons || !i.userInfo.execute,
|
|
2416
2428
|
"data-test": "start-script",
|
|
2417
2429
|
onClick: e[15] || (e[15] = (b) => t.$emit("button", {
|
|
2418
2430
|
method: "start",
|
|
@@ -2422,31 +2434,28 @@ function ki(t, e, s, a, i, n) {
|
|
|
2422
2434
|
options: i.options
|
|
2423
2435
|
}))
|
|
2424
2436
|
}, {
|
|
2425
|
-
default: l(() => e[28] || (e[28] = [
|
|
2437
|
+
default: l(() => [...e[28] || (e[28] = [
|
|
2426
2438
|
k(" Start ", -1)
|
|
2427
|
-
])),
|
|
2428
|
-
_: 1
|
|
2429
|
-
__: [28]
|
|
2439
|
+
])]),
|
|
2440
|
+
_: 1
|
|
2430
2441
|
}, 8, ["disabled"]),
|
|
2431
2442
|
o(x, {
|
|
2432
2443
|
color: "primary",
|
|
2433
2444
|
class: "mr-2 invisible"
|
|
2434
2445
|
}, {
|
|
2435
|
-
default: l(() => e[29] || (e[29] = [
|
|
2446
|
+
default: l(() => [...e[29] || (e[29] = [
|
|
2436
2447
|
k(" Setup ", -1)
|
|
2437
|
-
])),
|
|
2438
|
-
_: 1
|
|
2439
|
-
__: [29]
|
|
2448
|
+
])]),
|
|
2449
|
+
_: 1
|
|
2440
2450
|
}),
|
|
2441
2451
|
o(x, {
|
|
2442
2452
|
color: "primary",
|
|
2443
2453
|
class: "invisible"
|
|
2444
2454
|
}, {
|
|
2445
|
-
default: l(() => e[30] || (e[30] = [
|
|
2455
|
+
default: l(() => [...e[30] || (e[30] = [
|
|
2446
2456
|
k(" Teardown ", -1)
|
|
2447
|
-
])),
|
|
2448
|
-
_: 1
|
|
2449
|
-
__: [30]
|
|
2457
|
+
])]),
|
|
2458
|
+
_: 1
|
|
2450
2459
|
})
|
|
2451
2460
|
]),
|
|
2452
2461
|
_: 1
|
|
@@ -2463,30 +2472,30 @@ function ki(t, e, s, a, i, n) {
|
|
|
2463
2472
|
])
|
|
2464
2473
|
]);
|
|
2465
2474
|
}
|
|
2466
|
-
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((
|
|
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) => {
|
|
2467
2476
|
const i = e(a);
|
|
2468
|
-
return
|
|
2477
|
+
return n[i] ? n[i].push(a) : n[i] = [a], n;
|
|
2469
2478
|
}, {}), Ci = (t) => {
|
|
2470
|
-
const e = "(^|[{\\(\\s])",
|
|
2471
|
-
return new RegExp(`${e}${t}${
|
|
2479
|
+
const e = "(^|[{\\(\\s])", n = `[\\s\\(]f?['"]`, a = "(\\S+\\s?){0,3}";
|
|
2480
|
+
return new RegExp(`${e}${t}${n}${a}$`);
|
|
2472
2481
|
};
|
|
2473
2482
|
class $e {
|
|
2474
|
-
constructor(e,
|
|
2483
|
+
constructor(e, n = () => {
|
|
2475
2484
|
}, a = () => {
|
|
2476
2485
|
}) {
|
|
2477
2486
|
this.keywordExpressions = [], this.autocompleteData = [], Le(e).then((i) => {
|
|
2478
2487
|
this.keywordExpressions = i.data.map(Ci), a();
|
|
2479
2488
|
}), xi(e).then((i) => {
|
|
2480
|
-
this.autocompleteData = i.data,
|
|
2489
|
+
this.autocompleteData = i.data, n();
|
|
2481
2490
|
});
|
|
2482
2491
|
}
|
|
2483
|
-
getCompletions(e,
|
|
2492
|
+
getCompletions(e, n, a, i, s) {
|
|
2484
2493
|
let d = [];
|
|
2485
|
-
const
|
|
2494
|
+
const m = n.doc.$lines[a.row].slice(
|
|
2486
2495
|
0,
|
|
2487
2496
|
a.column
|
|
2488
2497
|
);
|
|
2489
|
-
this.keywordExpressions.some((p) =>
|
|
2498
|
+
this.keywordExpressions.some((p) => m.match(p)) && (d = this.autocompleteData), s(null, [
|
|
2490
2499
|
...d
|
|
2491
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)
|
|
2492
2501
|
// ...session.$mode.$highlightRules.$keywordList.map((word) => ({
|
|
@@ -2505,13 +2514,13 @@ class Vi extends $e {
|
|
|
2505
2514
|
class Ri extends $e {
|
|
2506
2515
|
constructor() {
|
|
2507
2516
|
super("tlm", () => {
|
|
2508
|
-
this.groupedPacketData = this.autocompleteData.reduce((e,
|
|
2509
|
-
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 = {
|
|
2510
2519
|
caption: i,
|
|
2511
2520
|
snippet: i,
|
|
2512
2521
|
meta: "item"
|
|
2513
2522
|
};
|
|
2514
|
-
return e[a] ? e[a].push(
|
|
2523
|
+
return e[a] ? e[a].push(s) : e[a] = [s], e;
|
|
2515
2524
|
}, {}), this.packets = Object.keys(this.groupedPacketData).map((e) => ({
|
|
2516
2525
|
caption: e,
|
|
2517
2526
|
snippet: e,
|
|
@@ -2520,30 +2529,30 @@ class Ri extends $e {
|
|
|
2520
2529
|
});
|
|
2521
2530
|
}
|
|
2522
2531
|
// Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor
|
|
2523
|
-
getCompletions(e,
|
|
2532
|
+
getCompletions(e, n, a, i, s) {
|
|
2524
2533
|
let d = [];
|
|
2525
|
-
const
|
|
2534
|
+
const m = n.doc.$lines[a.row].slice(
|
|
2526
2535
|
0,
|
|
2527
2536
|
a.column
|
|
2528
2537
|
);
|
|
2529
|
-
if (this.keywordExpressions.some((p) =>
|
|
2538
|
+
if (this.keywordExpressions.some((p) => m.match(p))) {
|
|
2530
2539
|
const p = Object.keys(this.groupedPacketData).find(
|
|
2531
|
-
(v) =>
|
|
2540
|
+
(v) => m.includes(v)
|
|
2532
2541
|
);
|
|
2533
2542
|
p ? d = this.groupedPacketData[p] : d = this.packets;
|
|
2534
2543
|
}
|
|
2535
|
-
|
|
2544
|
+
s(null, d);
|
|
2536
2545
|
}
|
|
2537
2546
|
}
|
|
2538
2547
|
const Je = (t) => {
|
|
2539
|
-
const e = "(^|[{\\(\\s])",
|
|
2540
|
-
return new RegExp(`${e}${t}${
|
|
2541
|
-
}, Oi = /\{/,
|
|
2542
|
-
class
|
|
2548
|
+
const e = "(^|[{\\(\\s])", n = "((\\s.+)|(\\(.+\\)))";
|
|
2549
|
+
return new RegExp(`${e}${t}${n}`);
|
|
2550
|
+
}, Oi = /\{/, Ei = /['"],\s?['"]/;
|
|
2551
|
+
class Mi {
|
|
2543
2552
|
constructor() {
|
|
2544
|
-
this.api = new
|
|
2545
|
-
e.forEach((
|
|
2546
|
-
this.targets[
|
|
2553
|
+
this.api = new Re(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
2554
|
+
e.forEach((n) => {
|
|
2555
|
+
this.targets[n] = {
|
|
2547
2556
|
cmd: null,
|
|
2548
2557
|
tlm: null
|
|
2549
2558
|
};
|
|
@@ -2555,76 +2564,76 @@ class Ei {
|
|
|
2555
2564
|
});
|
|
2556
2565
|
}
|
|
2557
2566
|
async checkText(e) {
|
|
2558
|
-
const { linesToCheck:
|
|
2567
|
+
const { linesToCheck: n, linesToSkip: a } = e.split(`
|
|
2559
2568
|
`).reduce(
|
|
2560
|
-
(
|
|
2569
|
+
(s, d, m) => {
|
|
2561
2570
|
if (d = d.trim(), d.match(/^#/))
|
|
2562
|
-
return
|
|
2571
|
+
return s;
|
|
2563
2572
|
const p = this.cmdKeywordExpressions.reduce((_, U) => _ || d.match(U), null), v = this.tlmKeywordExpressions.reduce((_, U) => _ || d.match(U), null);
|
|
2564
2573
|
if (!p && !v)
|
|
2565
|
-
return
|
|
2574
|
+
return s;
|
|
2566
2575
|
let w = p || v, x = w.length;
|
|
2567
2576
|
w = w[x - 1];
|
|
2568
2577
|
const b = w.substring(w.match(/[\(\s)]/).index + 1).replace(/\)+.*$/, "");
|
|
2569
2578
|
if (b.match(Oi))
|
|
2570
|
-
return
|
|
2571
|
-
const R = !!b.match(
|
|
2579
|
+
return s.linesToSkip.push(m + 1), s;
|
|
2580
|
+
const R = !!b.match(Ei), C = b.split(
|
|
2572
2581
|
R ? "," : " "
|
|
2573
2582
|
);
|
|
2574
2583
|
if (C.length < 2)
|
|
2575
|
-
return
|
|
2576
|
-
const
|
|
2584
|
+
return s;
|
|
2585
|
+
const E = {
|
|
2577
2586
|
target: C[0],
|
|
2578
2587
|
packet: C[1]
|
|
2579
2588
|
};
|
|
2580
2589
|
if (v)
|
|
2581
|
-
|
|
2590
|
+
E.item = C[2];
|
|
2582
2591
|
else {
|
|
2583
2592
|
const _ = C.slice(2);
|
|
2584
|
-
R ?
|
|
2593
|
+
R ? E.params = _.map(
|
|
2585
2594
|
(U) => U.split("=>")[0]
|
|
2586
|
-
) :
|
|
2595
|
+
) : E.params = _.filter((U, N) => N % 2);
|
|
2587
2596
|
}
|
|
2588
|
-
for (const _ in
|
|
2589
|
-
typeof
|
|
2597
|
+
for (const _ in E)
|
|
2598
|
+
typeof E[_] == "string" ? E[_] = E[_].replace(/['"]/g, "").trim() : E[_] = E[_].map(
|
|
2590
2599
|
(U) => U.replace(/['"]/g, "").trim()
|
|
2591
2600
|
);
|
|
2592
|
-
return
|
|
2601
|
+
return s.linesToCheck.push({
|
|
2593
2602
|
line: d,
|
|
2594
|
-
mnemonic:
|
|
2595
|
-
lineNumber:
|
|
2596
|
-
}),
|
|
2603
|
+
mnemonic: E,
|
|
2604
|
+
lineNumber: m + 1
|
|
2605
|
+
}), s;
|
|
2597
2606
|
},
|
|
2598
2607
|
{ linesToCheck: [], linesToSkip: [] }
|
|
2599
|
-
), i = await this._checkLines(
|
|
2608
|
+
), i = await this._checkLines(n);
|
|
2600
2609
|
return {
|
|
2601
2610
|
skipped: a.sort(),
|
|
2602
|
-
problems: i.sort((
|
|
2611
|
+
problems: i.sort((s, d) => s.lineNumber - d.lineNumber)
|
|
2603
2612
|
};
|
|
2604
2613
|
}
|
|
2605
2614
|
async _checkLines(e) {
|
|
2606
|
-
const
|
|
2615
|
+
const n = [], a = We(
|
|
2607
2616
|
e,
|
|
2608
2617
|
(i) => i.mnemonic.target
|
|
2609
2618
|
);
|
|
2610
2619
|
for (const i in a) {
|
|
2611
2620
|
if (!this.targets[i]) {
|
|
2612
2621
|
for (const d of a[i])
|
|
2613
|
-
|
|
2622
|
+
n.push({
|
|
2614
2623
|
...d,
|
|
2615
2624
|
error: `Target "${i}" does not exist.`
|
|
2616
2625
|
});
|
|
2617
2626
|
continue;
|
|
2618
2627
|
}
|
|
2619
|
-
const
|
|
2628
|
+
const s = We(
|
|
2620
2629
|
a[i],
|
|
2621
2630
|
(d) => d.mnemonic.packet
|
|
2622
2631
|
);
|
|
2623
|
-
for (const d in
|
|
2624
|
-
for (const
|
|
2625
|
-
const p =
|
|
2632
|
+
for (const d in s)
|
|
2633
|
+
for (const m of s[d]) {
|
|
2634
|
+
const p = m.mnemonic.item ? "tlm" : "cmd";
|
|
2626
2635
|
if (!this.targets[i][p]) {
|
|
2627
|
-
const w =
|
|
2636
|
+
const w = m.mnemonic.item ? "get_all_tlm" : "get_all_cmds", x = await this.api[w](i);
|
|
2628
2637
|
this.targets[i][p] = x.reduce(
|
|
2629
2638
|
(b, R) => (b[R.packet_name] = R.items.map(
|
|
2630
2639
|
(C) => C.name
|
|
@@ -2634,122 +2643,122 @@ class Ei {
|
|
|
2634
2643
|
}
|
|
2635
2644
|
const v = this.targets[i][p][d];
|
|
2636
2645
|
if (!v) {
|
|
2637
|
-
|
|
2638
|
-
...
|
|
2646
|
+
n.push({
|
|
2647
|
+
...m,
|
|
2639
2648
|
error: `${p === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
2640
2649
|
});
|
|
2641
2650
|
continue;
|
|
2642
2651
|
}
|
|
2643
|
-
if (
|
|
2644
|
-
if (!v.some((w) => w ===
|
|
2645
|
-
|
|
2646
|
-
...
|
|
2647
|
-
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.`
|
|
2648
2657
|
});
|
|
2649
2658
|
continue;
|
|
2650
2659
|
}
|
|
2651
2660
|
} else
|
|
2652
|
-
for (const w of
|
|
2661
|
+
for (const w of m.mnemonic.params)
|
|
2653
2662
|
if (!v.some((x) => x === w)) {
|
|
2654
|
-
|
|
2655
|
-
...
|
|
2663
|
+
n.push({
|
|
2664
|
+
...m,
|
|
2656
2665
|
error: `Command "${i} ${d}" param "${w}" does not exist.`
|
|
2657
2666
|
});
|
|
2658
2667
|
continue;
|
|
2659
2668
|
}
|
|
2660
2669
|
}
|
|
2661
2670
|
}
|
|
2662
|
-
return
|
|
2671
|
+
return n;
|
|
2663
2672
|
}
|
|
2664
2673
|
}
|
|
2665
|
-
var
|
|
2674
|
+
var X, me, he, fe, ge, Ce, ve, _e, Ve;
|
|
2666
2675
|
class Ti {
|
|
2667
|
-
constructor(e, { pattern:
|
|
2676
|
+
constructor(e, { pattern: n, text: a, type: i }) {
|
|
2668
2677
|
// TODO: the eslint parser errors on these because of the #
|
|
2669
2678
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2670
|
-
j(this,
|
|
2671
|
-
j(this, de);
|
|
2672
|
-
j(this, ce);
|
|
2673
|
-
j(this, pe);
|
|
2679
|
+
j(this, X);
|
|
2674
2680
|
j(this, me);
|
|
2681
|
+
j(this, he);
|
|
2682
|
+
j(this, fe);
|
|
2683
|
+
j(this, ge);
|
|
2675
2684
|
// Re-annotate the entire document
|
|
2676
2685
|
Ae(this, "refresh", () => {
|
|
2677
|
-
const e =
|
|
2678
|
-
|
|
2679
|
-
const
|
|
2686
|
+
const e = B(this, me).session;
|
|
2687
|
+
B(this, Ve).call(this, e);
|
|
2688
|
+
const n = {
|
|
2680
2689
|
lines: e.doc.$lines,
|
|
2681
2690
|
action: "insert",
|
|
2682
2691
|
start: { row: 0 },
|
|
2683
2692
|
end: { row: e.doc.$lines.length }
|
|
2684
2693
|
};
|
|
2685
|
-
this.annotate(
|
|
2694
|
+
this.annotate(n, e);
|
|
2686
2695
|
});
|
|
2687
2696
|
// Update annotations for the changed lines
|
|
2688
|
-
Ae(this, "annotate", (e,
|
|
2697
|
+
Ae(this, "annotate", (e, n) => {
|
|
2689
2698
|
var a, i;
|
|
2690
2699
|
if (e.lines.length > 1)
|
|
2691
2700
|
switch (e.action) {
|
|
2692
2701
|
case "insert":
|
|
2693
|
-
|
|
2702
|
+
B(this, _e).call(this, n, e.start.row, e.lines.length - 1);
|
|
2694
2703
|
break;
|
|
2695
2704
|
case "remove":
|
|
2696
|
-
|
|
2705
|
+
B(this, _e).call(this, n, e.start.row + 1, -e.lines.length + 1);
|
|
2697
2706
|
break;
|
|
2698
2707
|
}
|
|
2699
|
-
for (let
|
|
2700
|
-
let d = (i = (a =
|
|
2701
|
-
d !== void 0 ? (d !== 0 && (d += 1),
|
|
2702
|
-
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,
|
|
2703
2712
|
column: d,
|
|
2704
2713
|
// I don't think our editor theme shows the column for annotations, but others do
|
|
2705
|
-
text:
|
|
2706
|
-
type:
|
|
2707
|
-
openc3Id:
|
|
2708
|
-
})) : 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);
|
|
2709
2718
|
}
|
|
2710
2719
|
});
|
|
2711
|
-
j(this,
|
|
2712
|
-
|
|
2720
|
+
j(this, Ce, (e, n) => {
|
|
2721
|
+
B(this, ve).call(this, e, n.row), e.setAnnotations([...e.getAnnotations(), n]);
|
|
2713
2722
|
});
|
|
2714
|
-
j(this,
|
|
2723
|
+
j(this, ve, (e, n) => {
|
|
2715
2724
|
e.setAnnotations(
|
|
2716
2725
|
e.getAnnotations().filter(
|
|
2717
|
-
(a) => a.openc3Id !==
|
|
2726
|
+
(a) => a.openc3Id !== B(this, X) || a.row !== n
|
|
2718
2727
|
)
|
|
2719
2728
|
);
|
|
2720
2729
|
});
|
|
2721
|
-
j(this,
|
|
2730
|
+
j(this, _e, (e, n, a) => {
|
|
2722
2731
|
e.setAnnotations(
|
|
2723
|
-
e.getAnnotations().map((i) => (i.row >
|
|
2732
|
+
e.getAnnotations().map((i) => (i.row > n && (i.row += a), i))
|
|
2724
2733
|
);
|
|
2725
2734
|
});
|
|
2726
|
-
j(this,
|
|
2735
|
+
j(this, Ve, (e) => {
|
|
2727
2736
|
e.setAnnotations(
|
|
2728
|
-
e.getAnnotations().filter((
|
|
2737
|
+
e.getAnnotations().filter((n) => n.openc3Id !== B(this, X))
|
|
2729
2738
|
);
|
|
2730
2739
|
});
|
|
2731
|
-
|
|
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);
|
|
2732
2741
|
}
|
|
2733
2742
|
}
|
|
2734
|
-
|
|
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();
|
|
2735
2744
|
class Ii extends Ti {
|
|
2736
2745
|
constructor(e) {
|
|
2737
|
-
const
|
|
2746
|
+
const n = "(^|[{\\s])", a = "sleep", i = "[\\(\\s]";
|
|
2738
2747
|
super(e, {
|
|
2739
|
-
pattern: new RegExp(`${
|
|
2748
|
+
pattern: new RegExp(`${n}${a}${i}`),
|
|
2740
2749
|
text: "Use `wait` instead of `sleep` in OpenC3 scripts",
|
|
2741
2750
|
// because we override wait to make it work better, but not sleep
|
|
2742
2751
|
type: "warning"
|
|
2743
2752
|
});
|
|
2744
2753
|
}
|
|
2745
2754
|
}
|
|
2746
|
-
const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go",
|
|
2755
|
+
const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", pe = "Pause", Ui = "Retry", Pi = {
|
|
2747
2756
|
components: {
|
|
2748
|
-
FileOpenSaveDialog:
|
|
2749
|
-
Openc3Screen:
|
|
2750
|
-
EnvironmentDialog:
|
|
2751
|
-
Splitpanes:
|
|
2752
|
-
Pane:
|
|
2757
|
+
FileOpenSaveDialog: yt,
|
|
2758
|
+
Openc3Screen: wt,
|
|
2759
|
+
EnvironmentDialog: bt,
|
|
2760
|
+
Splitpanes: Ut,
|
|
2761
|
+
Pane: Pt,
|
|
2753
2762
|
TopBar: gt,
|
|
2754
2763
|
AskDialog: Lt,
|
|
2755
2764
|
FileDialog: Kt,
|
|
@@ -2761,13 +2770,13 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
2761
2770
|
ScriptEnvironmentDialog: bi,
|
|
2762
2771
|
SimpleTextDialog: kt,
|
|
2763
2772
|
SuiteRunner: Si,
|
|
2764
|
-
RunningScripts:
|
|
2773
|
+
RunningScripts: Mt,
|
|
2765
2774
|
ScriptLogMessages: Dt,
|
|
2766
|
-
CriticalCmdDialog:
|
|
2775
|
+
CriticalCmdDialog: _t
|
|
2767
2776
|
},
|
|
2768
2777
|
mixins: [ht, St],
|
|
2769
|
-
beforeRouteUpdate: function(t, e,
|
|
2770
|
-
t.params.id ? this.tryLoadRunningScript(t.params.id).then(
|
|
2778
|
+
beforeRouteUpdate: function(t, e, n) {
|
|
2779
|
+
t.params.id ? this.tryLoadRunningScript(t.params.id).then(n) : n();
|
|
2771
2780
|
},
|
|
2772
2781
|
props: {
|
|
2773
2782
|
inline: {
|
|
@@ -2813,7 +2822,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
2813
2822
|
startOrGoButton: Be,
|
|
2814
2823
|
startOrGoDisabled: !1,
|
|
2815
2824
|
envDisabled: !1,
|
|
2816
|
-
pauseOrRetryButton:
|
|
2825
|
+
pauseOrRetryButton: pe,
|
|
2817
2826
|
pauseOrRetryDisabled: !1,
|
|
2818
2827
|
stopDisabled: !1,
|
|
2819
2828
|
showEnvironment: !1,
|
|
@@ -2899,7 +2908,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
2899
2908
|
executeSelectionMenu: !1,
|
|
2900
2909
|
menuX: 0,
|
|
2901
2910
|
menuY: 0,
|
|
2902
|
-
mnemonicChecker: new
|
|
2911
|
+
mnemonicChecker: new Mi(),
|
|
2903
2912
|
showScripts: !1,
|
|
2904
2913
|
showOverrides: !1,
|
|
2905
2914
|
activePromptId: "",
|
|
@@ -3195,14 +3204,14 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3195
3204
|
}
|
|
3196
3205
|
},
|
|
3197
3206
|
created: async function() {
|
|
3198
|
-
this.api = new
|
|
3199
|
-
|
|
3200
|
-
}).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) => {
|
|
3201
3210
|
}), this.NEW_FILENAME = G;
|
|
3202
3211
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3203
3212
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3204
|
-
for (let
|
|
3205
|
-
|
|
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) => {
|
|
3206
3215
|
a.data !== null && a.data.permissions !== void 0 && (a.data.permissions.some(
|
|
3207
3216
|
(i) => i.permission == "script_edit"
|
|
3208
3217
|
) && (this.readOnlyUser = !1), a.data.permissions.some(
|
|
@@ -3215,11 +3224,11 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3215
3224
|
execute: this.executeUser
|
|
3216
3225
|
})), this.readOnlyUser == !0) {
|
|
3217
3226
|
this.alertType = "info";
|
|
3218
|
-
let
|
|
3219
|
-
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;
|
|
3220
3229
|
}
|
|
3221
|
-
O.get("/openc3-api/autocomplete/keywords/screen").then((
|
|
3222
|
-
this.screenKeywords =
|
|
3230
|
+
O.get("/openc3-api/autocomplete/keywords/screen").then((n) => {
|
|
3231
|
+
this.screenKeywords = n.data;
|
|
3223
3232
|
}), this.inline && (this.readOnly = !0);
|
|
3224
3233
|
},
|
|
3225
3234
|
mounted: async function() {
|
|
@@ -3227,11 +3236,11 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3227
3236
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3228
3237
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
3229
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");
|
|
3230
|
-
const
|
|
3231
|
-
this.editor.session.on("change", (
|
|
3232
|
-
|
|
3233
|
-
}), 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((
|
|
3234
|
-
...
|
|
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,
|
|
3235
3244
|
command: async (d) => {
|
|
3236
3245
|
this.filename = d.label, await this.reloadFile();
|
|
3237
3246
|
}
|
|
@@ -3259,13 +3268,13 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3259
3268
|
document.documentElement.offsetHeight,
|
|
3260
3269
|
window.innerHeight || 0
|
|
3261
3270
|
);
|
|
3262
|
-
let
|
|
3263
|
-
t && (
|
|
3271
|
+
let n = 0;
|
|
3272
|
+
t && (n = t.offsetHeight);
|
|
3264
3273
|
let a = 0;
|
|
3265
3274
|
const i = document.getElementsByClassName("suite-runner")[0];
|
|
3266
3275
|
i && (a = i.offsetHeight);
|
|
3267
|
-
let
|
|
3268
|
-
|
|
3276
|
+
let s = document.getElementById("script-log-messages");
|
|
3277
|
+
s && (s.style.height = `${e - n - a}px`);
|
|
3269
3278
|
},
|
|
3270
3279
|
scriptDisconnect() {
|
|
3271
3280
|
this.subscription && (this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0;
|
|
@@ -3303,16 +3312,18 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3303
3312
|
tryLoadRunningScript: function(t) {
|
|
3304
3313
|
return O.get(`/script-api/running-script/${t}`).then((e) => {
|
|
3305
3314
|
if (e.data) {
|
|
3306
|
-
let
|
|
3307
|
-
|
|
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({
|
|
3308
3317
|
title: `Script ${t} has already completed`,
|
|
3309
3318
|
body: "Check the Completed Scripts below ..."
|
|
3310
3319
|
}), this.scriptComplete(), this.showScripts = !0);
|
|
3311
3320
|
} else
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
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;
|
|
3316
3327
|
});
|
|
3317
3328
|
},
|
|
3318
3329
|
tryLoadSuites: function(t) {
|
|
@@ -3334,15 +3345,15 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3334
3345
|
},
|
|
3335
3346
|
executeSelection: function() {
|
|
3336
3347
|
const t = this.editor.getSelectionRange();
|
|
3337
|
-
let e = t.start.row + 1,
|
|
3338
|
-
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(
|
|
3339
3350
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3340
3351
|
{
|
|
3341
3352
|
data: {
|
|
3342
|
-
args: [this.filenameSelect, e,
|
|
3353
|
+
args: [this.filenameSelect, e, n]
|
|
3343
3354
|
}
|
|
3344
3355
|
}
|
|
3345
|
-
) : this.start(null, null, e,
|
|
3356
|
+
) : this.start(null, null, e, n);
|
|
3346
3357
|
},
|
|
3347
3358
|
clearBreakpoints: function() {
|
|
3348
3359
|
this.editor.session.clearBreakpoints();
|
|
@@ -3356,31 +3367,31 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3356
3367
|
updateBreakpoints: function(t, e) {
|
|
3357
3368
|
if (t.lines.length <= 1)
|
|
3358
3369
|
return;
|
|
3359
|
-
const
|
|
3360
|
-
(
|
|
3370
|
+
const n = this.getBreakpointRows(e).filter(
|
|
3371
|
+
(s) => t.start.column === 0 && s === t.start.row || s > t.start.row
|
|
3361
3372
|
);
|
|
3362
3373
|
let a = [], i = 0;
|
|
3363
3374
|
switch (t.action) {
|
|
3364
3375
|
case "insert":
|
|
3365
|
-
i = t.lines.length - 1,
|
|
3376
|
+
i = t.lines.length - 1, n.reverse();
|
|
3366
3377
|
break;
|
|
3367
3378
|
case "remove":
|
|
3368
3379
|
i = -t.lines.length + 1, a = [...Array(t.lines.length).keys()].map(
|
|
3369
|
-
(
|
|
3380
|
+
(s) => s + t.start.row
|
|
3370
3381
|
);
|
|
3371
3382
|
break;
|
|
3372
3383
|
}
|
|
3373
|
-
|
|
3374
|
-
e.clearBreakpoint(
|
|
3384
|
+
n.forEach((s) => {
|
|
3385
|
+
e.clearBreakpoint(s), a.includes(s) || e.setBreakpoint(s + i);
|
|
3375
3386
|
});
|
|
3376
3387
|
},
|
|
3377
3388
|
getBreakpointRows: function(t = this.editor.session) {
|
|
3378
|
-
return t.getBreakpoints().map((e,
|
|
3389
|
+
return t.getBreakpoints().map((e, n) => e && n).filter(Number.isInteger);
|
|
3379
3390
|
},
|
|
3380
3391
|
restoreBreakpoints: function(t) {
|
|
3381
3392
|
var e;
|
|
3382
|
-
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((
|
|
3383
|
-
this.editor.session.setBreakpoint(
|
|
3393
|
+
this.clearBreakpoints(), (e = this.breakpoints[t]) == null || e.forEach((n) => {
|
|
3394
|
+
this.editor.session.setBreakpoint(n);
|
|
3384
3395
|
});
|
|
3385
3396
|
},
|
|
3386
3397
|
deleteAllBreakpoints: function() {
|
|
@@ -3409,12 +3420,12 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3409
3420
|
"Content-Type": "plain/text"
|
|
3410
3421
|
}
|
|
3411
3422
|
}).then((e) => {
|
|
3412
|
-
let
|
|
3413
|
-
|
|
3414
|
-
})), 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 }) => {
|
|
3415
3426
|
let a = "";
|
|
3416
|
-
if (
|
|
3417
|
-
const i =
|
|
3427
|
+
if (n.length) {
|
|
3428
|
+
const i = n.map((s) => `${s.lineNumber}: ${s.error}`).join("<br/>");
|
|
3418
3429
|
a += `<strong>The following lines have problems:</strong><br/>${i}<br/><br/>`;
|
|
3419
3430
|
}
|
|
3420
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 });
|
|
@@ -3438,7 +3449,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3438
3449
|
});
|
|
3439
3450
|
},
|
|
3440
3451
|
async scriptComplete() {
|
|
3441
|
-
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 =
|
|
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;
|
|
3442
3453
|
},
|
|
3443
3454
|
environmentHandler: function(t) {
|
|
3444
3455
|
this.scriptEnvironment.env = t;
|
|
@@ -3446,21 +3457,21 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3446
3457
|
startHandler: function() {
|
|
3447
3458
|
this.start();
|
|
3448
3459
|
},
|
|
3449
|
-
async start(t = null, e = null,
|
|
3460
|
+
async start(t = null, e = null, n = null, a = null) {
|
|
3450
3461
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3451
3462
|
let i = this.filename;
|
|
3452
3463
|
this.filename === G && (i = this.tempFilename);
|
|
3453
|
-
let
|
|
3454
|
-
this.showDisconnect && (
|
|
3464
|
+
let s = `/script-api/scripts/${i}/run`;
|
|
3465
|
+
this.showDisconnect && (s += "/disconnect");
|
|
3455
3466
|
let d = this.scriptEnvironment.env;
|
|
3456
3467
|
this.enableStackTraces && (d = d.concat({
|
|
3457
3468
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3458
3469
|
value: "1"
|
|
3459
3470
|
}));
|
|
3460
|
-
let
|
|
3471
|
+
let m = {
|
|
3461
3472
|
environment: d
|
|
3462
3473
|
};
|
|
3463
|
-
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) => {
|
|
3464
3475
|
this.scriptStart(p.data);
|
|
3465
3476
|
}).catch((p) => {
|
|
3466
3477
|
this.scriptComplete();
|
|
@@ -3470,7 +3481,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3470
3481
|
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename), O.post(`/script-api/running-script/${this.scriptId}/go`);
|
|
3471
3482
|
},
|
|
3472
3483
|
pauseOrRetry() {
|
|
3473
|
-
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`));
|
|
3474
3485
|
},
|
|
3475
3486
|
stop() {
|
|
3476
3487
|
this.fatal ? (this.removeAllMarkers(), this.scriptComplete()) : O.post(`/script-api/running-script/${this.scriptId}/stop`);
|
|
@@ -3492,18 +3503,18 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3492
3503
|
this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
|
|
3493
3504
|
},
|
|
3494
3505
|
processLine(t) {
|
|
3495
|
-
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) => {
|
|
3496
3507
|
this.files[t.filename] = {
|
|
3497
|
-
content:
|
|
3508
|
+
content: n.data.contents,
|
|
3498
3509
|
lineNo: 0
|
|
3499
|
-
}, this.breakpoints[t.filename] =
|
|
3500
|
-
}).catch((
|
|
3510
|
+
}, this.breakpoints[t.filename] = n.data.breakpoints, this.restoreBreakpoints(t.filename), this.currentFilename = null;
|
|
3511
|
+
}).catch((n) => {
|
|
3501
3512
|
this.files[t.filename] = null;
|
|
3502
3513
|
}))), this.state = t.state;
|
|
3503
3514
|
const e = this.editor.session.getMarkers();
|
|
3504
3515
|
switch (this.state) {
|
|
3505
3516
|
case "running":
|
|
3506
|
-
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(
|
|
3507
3518
|
new this.Range(t.line_no - 1, 0, t.line_no - 1, 1),
|
|
3508
3519
|
"runningMarker",
|
|
3509
3520
|
"fullLine"
|
|
@@ -3513,7 +3524,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3513
3524
|
this.fatal = !0;
|
|
3514
3525
|
// Deliberate fall through (no break)
|
|
3515
3526
|
case "error":
|
|
3516
|
-
this.pauseOrRetryButton =
|
|
3527
|
+
this.pauseOrRetryButton = Ui;
|
|
3517
3528
|
// Deliberate fall through (no break)
|
|
3518
3529
|
case "breakpoint":
|
|
3519
3530
|
case "waiting":
|
|
@@ -3536,7 +3547,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3536
3547
|
let t = 0;
|
|
3537
3548
|
for (let e of this.receivedEvents) {
|
|
3538
3549
|
t += 1;
|
|
3539
|
-
let
|
|
3550
|
+
let n = 0;
|
|
3540
3551
|
switch (e.type) {
|
|
3541
3552
|
case "file":
|
|
3542
3553
|
this.files[e.filename] = { content: e.text, lineNo: 0 }, this.breakpoints[e.filename] = e.breakpoints, this.currentFilename === e.filename && this.restoreBreakpoints(e.filename);
|
|
@@ -3570,25 +3581,25 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3570
3581
|
i = screen, a = !0;
|
|
3571
3582
|
break;
|
|
3572
3583
|
}
|
|
3573
|
-
|
|
3584
|
+
n += 1;
|
|
3574
3585
|
}
|
|
3575
|
-
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);
|
|
3576
3587
|
break;
|
|
3577
3588
|
case "clearscreen":
|
|
3578
3589
|
for (screen of this.screens) {
|
|
3579
3590
|
if (screen.target == e.target_name && screen.screen == e.screen_name) {
|
|
3580
|
-
this.screens.splice(
|
|
3591
|
+
this.screens.splice(n, 1);
|
|
3581
3592
|
break;
|
|
3582
3593
|
}
|
|
3583
|
-
|
|
3594
|
+
n += 1;
|
|
3584
3595
|
}
|
|
3585
3596
|
break;
|
|
3586
3597
|
case "clearallscreens":
|
|
3587
3598
|
this.screens = [];
|
|
3588
3599
|
break;
|
|
3589
3600
|
case "downloadfile":
|
|
3590
|
-
const
|
|
3591
|
-
|
|
3601
|
+
const s = document.createElement("a");
|
|
3602
|
+
s.href = window.location.origin + e.url, s.setAttribute("download", e.filename), s.click();
|
|
3592
3603
|
break;
|
|
3593
3604
|
}
|
|
3594
3605
|
}
|
|
@@ -3674,15 +3685,15 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3674
3685
|
}
|
|
3675
3686
|
},
|
|
3676
3687
|
async fileDialogCallback(t) {
|
|
3677
|
-
let e = "Cancel",
|
|
3688
|
+
let e = "Cancel", n = [];
|
|
3678
3689
|
t != "Cancel" && (e = [], t.forEach((a) => {
|
|
3679
|
-
e.push(a.name),
|
|
3690
|
+
e.push(a.name), n.push(
|
|
3680
3691
|
O.get(
|
|
3681
3692
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3682
3693
|
`${window.openc3Scope}/tmp/${a.name}`
|
|
3683
3694
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3684
3695
|
).then((i) => {
|
|
3685
|
-
|
|
3696
|
+
n.push(
|
|
3686
3697
|
ft({
|
|
3687
3698
|
...i.data,
|
|
3688
3699
|
data: a
|
|
@@ -3690,7 +3701,7 @@ const Ye = "__TEMP__", G = "<Untitled>", Be = "Start", Di = "Go", ue = "Pause",
|
|
|
3690
3701
|
);
|
|
3691
3702
|
})
|
|
3692
3703
|
);
|
|
3693
|
-
})), Promise.all(
|
|
3704
|
+
})), Promise.all(n).then((a) => {
|
|
3694
3705
|
O.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3695
3706
|
data: {
|
|
3696
3707
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
@@ -3760,49 +3771,49 @@ end
|
|
|
3760
3771
|
|
|
3761
3772
|
# Group class name should indicate what the scripts are testing
|
|
3762
3773
|
class Power(Group):
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
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()
|
|
3769
3780
|
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3781
|
+
# Other methods are not added to Script dropdown
|
|
3782
|
+
def configure(self):
|
|
3783
|
+
pass
|
|
3773
3784
|
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3785
|
+
def setup(self):
|
|
3786
|
+
# Run when Group Setup button is pressed
|
|
3787
|
+
# Run before all scripts when Group Start is pressed
|
|
3788
|
+
pass
|
|
3778
3789
|
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3790
|
+
def teardown(self):
|
|
3791
|
+
# Run when Group Teardown button is pressed
|
|
3792
|
+
# Run after all scripts when Group Start is pressed
|
|
3793
|
+
pass
|
|
3783
3794
|
|
|
3784
3795
|
class TestSuite(Suite):
|
|
3785
|
-
|
|
3786
|
-
|
|
3796
|
+
def __init__(self):
|
|
3797
|
+
self.add_group(Power)
|
|
3787
3798
|
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3799
|
+
def setup(self):
|
|
3800
|
+
# Run when Suite Setup button is pressed
|
|
3801
|
+
# Run before all groups when Suite Start is pressed
|
|
3802
|
+
pass
|
|
3792
3803
|
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3804
|
+
def teardown(self):
|
|
3805
|
+
# Run when Suite Teardown button is pressed
|
|
3806
|
+
# Run after all groups when Suite Start is pressed
|
|
3807
|
+
pass
|
|
3797
3808
|
`), await this.saveFile("auto");
|
|
3798
3809
|
},
|
|
3799
3810
|
addToRecent(t) {
|
|
3800
|
-
let e = this.recent.findIndex((
|
|
3811
|
+
let e = this.recent.findIndex((n) => n.label === t);
|
|
3801
3812
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3802
3813
|
label: t,
|
|
3803
|
-
icon:
|
|
3804
|
-
command: async (
|
|
3805
|
-
this.filename =
|
|
3814
|
+
icon: vt(t),
|
|
3815
|
+
command: async (n) => {
|
|
3816
|
+
this.filename = n.label, await this.reloadFile();
|
|
3806
3817
|
}
|
|
3807
3818
|
}), this.recent.length > 8 && this.recent.pop(), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3808
3819
|
},
|
|
@@ -3819,13 +3830,13 @@ class TestSuite(Suite):
|
|
|
3819
3830
|
"Ignore-Errors": "404"
|
|
3820
3831
|
}
|
|
3821
3832
|
}).then((e) => {
|
|
3822
|
-
const
|
|
3833
|
+
const n = {
|
|
3823
3834
|
name: this.filename,
|
|
3824
3835
|
contents: e.data.contents
|
|
3825
3836
|
};
|
|
3826
|
-
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);
|
|
3827
3838
|
const a = e.data.locked, i = e.data.breakpoints;
|
|
3828
|
-
this.setFile({ file:
|
|
3839
|
+
this.setFile({ file: n, locked: a, breakpoints: i }, !0), this.saveAllowed = !0;
|
|
3829
3840
|
}).catch((e) => {
|
|
3830
3841
|
t === !0 && this.$notify.caution({
|
|
3831
3842
|
title: "File Open Error",
|
|
@@ -3834,7 +3845,7 @@ class TestSuite(Suite):
|
|
|
3834
3845
|
});
|
|
3835
3846
|
},
|
|
3836
3847
|
// Called by the FileOpenDialog to set the file contents
|
|
3837
|
-
setFile({ file: t, locked: e, breakpoints:
|
|
3848
|
+
setFile({ file: t, locked: e, breakpoints: n }, a = !1) {
|
|
3838
3849
|
this.files = {};
|
|
3839
3850
|
let i = t.name.split("*")[0];
|
|
3840
3851
|
if (a === !1 && this.filename !== i && (this.unlockFile(), this.lockedBy = e), this.filename = i, !this.inline) {
|
|
@@ -3845,10 +3856,10 @@ class TestSuite(Suite):
|
|
|
3845
3856
|
}
|
|
3846
3857
|
}).catch((d) => {
|
|
3847
3858
|
});
|
|
3848
|
-
let
|
|
3849
|
-
document.title = `${
|
|
3859
|
+
let s = this.filename.split("/");
|
|
3860
|
+
document.title = `${s.pop()} (${s.join("/")})`;
|
|
3850
3861
|
}
|
|
3851
|
-
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();
|
|
3852
3863
|
},
|
|
3853
3864
|
clearTemp() {
|
|
3854
3865
|
this.recent = this.recent.filter(
|
|
@@ -3856,18 +3867,18 @@ class TestSuite(Suite):
|
|
|
3856
3867
|
), this.inline || (localStorage.script_runner__recent = JSON.stringify(this.recent));
|
|
3857
3868
|
},
|
|
3858
3869
|
detectLanguage() {
|
|
3859
|
-
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(
|
|
3860
3871
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3861
3872
|
), i = new RegExp('\\(f"'), d = this.editor.getValue().split(`
|
|
3862
3873
|
`);
|
|
3863
|
-
for (let
|
|
3864
|
-
if (
|
|
3874
|
+
for (let m of d) {
|
|
3875
|
+
if (m.match(t))
|
|
3865
3876
|
return "ruby";
|
|
3866
|
-
if (
|
|
3877
|
+
if (m.match(e))
|
|
3867
3878
|
return "python";
|
|
3868
|
-
if (
|
|
3879
|
+
if (m.match(n))
|
|
3869
3880
|
return "ruby";
|
|
3870
|
-
if (
|
|
3881
|
+
if (m.match(a) || m.match(i))
|
|
3871
3882
|
return "python";
|
|
3872
3883
|
}
|
|
3873
3884
|
return "unknown";
|
|
@@ -3883,11 +3894,11 @@ class TestSuite(Suite):
|
|
|
3883
3894
|
this.saveAs();
|
|
3884
3895
|
return;
|
|
3885
3896
|
} else if (this.tempFilename === null) {
|
|
3886
|
-
let
|
|
3887
|
-
if (
|
|
3888
|
-
this.tempFilename = Ye + "/" +
|
|
3889
|
-
else if (
|
|
3890
|
-
this.tempFilename = Ye + "/" +
|
|
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";
|
|
3891
3902
|
else
|
|
3892
3903
|
return;
|
|
3893
3904
|
this.filename = this.tempFilename, this.addToRecent(this.filename);
|
|
@@ -3899,12 +3910,12 @@ class TestSuite(Suite):
|
|
|
3899
3910
|
// Pass in the raw file text
|
|
3900
3911
|
breakpoints: e
|
|
3901
3912
|
}
|
|
3902
|
-
}).then((
|
|
3903
|
-
|
|
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(() => {
|
|
3904
3915
|
this.showSave = !1;
|
|
3905
|
-
}, 2e3)) : (this.showSave = !1, this.alertType = "error", this.alertText = `Error saving file. Code: ${
|
|
3906
|
-
}).catch(({ response:
|
|
3907
|
-
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;
|
|
3908
3919
|
});
|
|
3909
3920
|
} else
|
|
3910
3921
|
this.setError("Attempt to save file when not allowed");
|
|
@@ -3926,11 +3937,11 @@ class TestSuite(Suite):
|
|
|
3926
3937
|
this.removeFromRecent(t), this.newFile();
|
|
3927
3938
|
}).catch((e) => {
|
|
3928
3939
|
if (e !== !0) {
|
|
3929
|
-
const
|
|
3940
|
+
const n = {
|
|
3930
3941
|
text: `Failed Multi-Delete. ${e}`,
|
|
3931
3942
|
type: "error"
|
|
3932
3943
|
};
|
|
3933
|
-
this.$emit("alert",
|
|
3944
|
+
this.$emit("alert", n);
|
|
3934
3945
|
}
|
|
3935
3946
|
});
|
|
3936
3947
|
},
|
|
@@ -4027,12 +4038,12 @@ class TestSuite(Suite):
|
|
|
4027
4038
|
id: "debug",
|
|
4028
4039
|
class: "pa-0"
|
|
4029
4040
|
}, Wi = { key: 1 }, Ji = { key: 0 }, Yi = { key: 1 };
|
|
4030
|
-
function Zi(t, e,
|
|
4031
|
-
const d = u("top-bar"),
|
|
4032
|
-
return y(), P(
|
|
4033
|
-
|
|
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 }, [
|
|
4034
4045
|
o(d, {
|
|
4035
|
-
menus:
|
|
4046
|
+
menus: s.menus,
|
|
4036
4047
|
title: i.title
|
|
4037
4048
|
}, null, 8, ["menus", "title"]),
|
|
4038
4049
|
o(v, {
|
|
@@ -4042,10 +4053,10 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4042
4053
|
color: i.alertType,
|
|
4043
4054
|
timeout: 3e3,
|
|
4044
4055
|
class: "apply-top",
|
|
4045
|
-
style:
|
|
4056
|
+
style: Se(t.classificationStyles)
|
|
4046
4057
|
}, {
|
|
4047
4058
|
actions: l(({ attrs: r }) => [
|
|
4048
|
-
o(p,
|
|
4059
|
+
o(p, J({
|
|
4049
4060
|
variant: "text",
|
|
4050
4061
|
text: "Close"
|
|
4051
4062
|
}, r, {
|
|
@@ -4053,7 +4064,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4053
4064
|
}), null, 16)
|
|
4054
4065
|
]),
|
|
4055
4066
|
default: l(() => [
|
|
4056
|
-
o(
|
|
4067
|
+
o(m, null, {
|
|
4057
4068
|
default: l(() => [
|
|
4058
4069
|
k(" mdi-" + z(i.alertType), 1)
|
|
4059
4070
|
]),
|
|
@@ -4068,18 +4079,18 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4068
4079
|
"onUpdate:modelValue": e[3] || (e[3] = (r) => i.showEditingToast = r),
|
|
4069
4080
|
absolute: "",
|
|
4070
4081
|
class: "apply-top",
|
|
4071
|
-
style:
|
|
4082
|
+
style: Se(t.classificationStyles),
|
|
4072
4083
|
timeout: -1,
|
|
4073
4084
|
color: "orange"
|
|
4074
4085
|
}, {
|
|
4075
4086
|
actions: l(({ attrs: r }) => [
|
|
4076
|
-
o(p,
|
|
4087
|
+
o(p, J({ variant: "text" }, r, {
|
|
4077
4088
|
color: "danger",
|
|
4078
4089
|
text: "Unlock",
|
|
4079
4090
|
"data-test": "unlock-button",
|
|
4080
|
-
onClick:
|
|
4091
|
+
onClick: s.confirmLocalUnlock
|
|
4081
4092
|
}), null, 16, ["onClick"]),
|
|
4082
|
-
o(p,
|
|
4093
|
+
o(p, J({
|
|
4083
4094
|
variant: "text",
|
|
4084
4095
|
text: "Dismiss"
|
|
4085
4096
|
}, r, {
|
|
@@ -4089,20 +4100,19 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4089
4100
|
}), null, 16)
|
|
4090
4101
|
]),
|
|
4091
4102
|
default: l(() => [
|
|
4092
|
-
o(
|
|
4093
|
-
default: l(() => e[36] || (e[36] = [
|
|
4103
|
+
o(m, null, {
|
|
4104
|
+
default: l(() => [...e[36] || (e[36] = [
|
|
4094
4105
|
k(" mdi-pencil-off ", -1)
|
|
4095
|
-
])),
|
|
4096
|
-
_: 1
|
|
4097
|
-
__: [36]
|
|
4106
|
+
])]),
|
|
4107
|
+
_: 1
|
|
4098
4108
|
}),
|
|
4099
4109
|
k(" " + z(i.lockedBy) + " is editing this script. Editor is in read-only mode ", 1)
|
|
4100
4110
|
]),
|
|
4101
4111
|
_: 1
|
|
4102
4112
|
}, 8, ["modelValue", "style"]),
|
|
4103
4113
|
S("div", zi, [
|
|
4104
|
-
(y(!0), P(
|
|
4105
|
-
id:
|
|
4114
|
+
(y(!0), P(oe, null, Ne(i.screens, (r) => (y(), P("div", {
|
|
4115
|
+
id: s.screenId(r.id),
|
|
4106
4116
|
key: r.id,
|
|
4107
4117
|
ref_for: !0,
|
|
4108
4118
|
ref: "gridItem",
|
|
@@ -4121,41 +4131,40 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4121
4131
|
"min-z": 3,
|
|
4122
4132
|
"fix-floated": !0,
|
|
4123
4133
|
count: r.count,
|
|
4124
|
-
onCloseScreen: (h) =>
|
|
4125
|
-
onDeleteScreen: (h) =>
|
|
4134
|
+
onCloseScreen: (h) => s.closeScreen(r.id),
|
|
4135
|
+
onDeleteScreen: (h) => s.closeScreen(r.id)
|
|
4126
4136
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4127
4137
|
])
|
|
4128
4138
|
], 8, Ai))), 128))
|
|
4129
4139
|
]),
|
|
4130
|
-
o(
|
|
4140
|
+
o(re, null, {
|
|
4131
4141
|
default: l(() => [
|
|
4132
|
-
o(
|
|
4142
|
+
o(Q, null, {
|
|
4133
4143
|
default: l(() => [
|
|
4134
4144
|
i.suiteRunner ? (y(), T(x, {
|
|
4135
4145
|
key: 0,
|
|
4136
4146
|
class: "suite-runner",
|
|
4137
4147
|
"suite-map": i.suiteMap,
|
|
4138
4148
|
"disable-buttons": i.disableSuiteButtons,
|
|
4139
|
-
filename:
|
|
4140
|
-
onButton:
|
|
4141
|
-
onLoaded:
|
|
4149
|
+
filename: s.fullFilename,
|
|
4150
|
+
onButton: s.suiteRunnerButton,
|
|
4151
|
+
onLoaded: s.doResize
|
|
4142
4152
|
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : D("", !0),
|
|
4143
4153
|
S("div", Bi, [
|
|
4144
|
-
o(
|
|
4154
|
+
o(N, {
|
|
4145
4155
|
"no-gutters": "",
|
|
4146
4156
|
justify: "space-between"
|
|
4147
4157
|
}, {
|
|
4148
4158
|
default: l(() => [
|
|
4149
|
-
i.showDisconnect ? (y(), T(
|
|
4159
|
+
i.showDisconnect ? (y(), T(m, {
|
|
4150
4160
|
key: 0,
|
|
4151
4161
|
class: "mt-2",
|
|
4152
4162
|
color: "red"
|
|
4153
4163
|
}, {
|
|
4154
|
-
default: l(() => e[37] || (e[37] = [
|
|
4164
|
+
default: l(() => [...e[37] || (e[37] = [
|
|
4155
4165
|
k(" mdi-connection ", -1)
|
|
4156
|
-
])),
|
|
4157
|
-
_: 1
|
|
4158
|
-
__: [37]
|
|
4166
|
+
])]),
|
|
4167
|
+
_: 1
|
|
4159
4168
|
})) : D("", !0),
|
|
4160
4169
|
S("div", Li, [
|
|
4161
4170
|
o(b, {
|
|
@@ -4163,18 +4172,18 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4163
4172
|
location: "top"
|
|
4164
4173
|
}, {
|
|
4165
4174
|
activator: l(({ props: r }) => [
|
|
4166
|
-
i.scriptId ? (y(), T(p,
|
|
4175
|
+
i.scriptId ? (y(), T(p, J({ key: 1 }, r, {
|
|
4167
4176
|
icon: "mdi-arrow-left",
|
|
4168
4177
|
variant: "text",
|
|
4169
4178
|
density: "compact",
|
|
4170
|
-
onClick:
|
|
4171
|
-
}), null, 16, ["onClick"])) : (y(), T(p,
|
|
4179
|
+
onClick: s.backToNewScript
|
|
4180
|
+
}), null, 16, ["onClick"])) : (y(), T(p, J({ key: 0 }, r, {
|
|
4172
4181
|
icon: "mdi-cached",
|
|
4173
4182
|
variant: "text",
|
|
4174
4183
|
density: "compact",
|
|
4175
4184
|
disabled: i.filename === t.NEW_FILENAME,
|
|
4176
4185
|
"aria-label": "Reload File",
|
|
4177
|
-
onClick:
|
|
4186
|
+
onClick: s.reloadFile
|
|
4178
4187
|
}), null, 16, ["disabled", "onClick"]))
|
|
4179
4188
|
]),
|
|
4180
4189
|
default: l(() => [
|
|
@@ -4183,22 +4192,32 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4183
4192
|
_: 1
|
|
4184
4193
|
})
|
|
4185
4194
|
]),
|
|
4186
|
-
o(
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
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"]),
|
|
4202
4221
|
o(C, {
|
|
4203
4222
|
modelValue: i.scriptId,
|
|
4204
4223
|
"onUpdate:modelValue": e[5] || (e[5] = (r) => i.scriptId = r),
|
|
@@ -4212,8 +4231,8 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4212
4231
|
"hide-details": ""
|
|
4213
4232
|
}, null, 8, ["modelValue"]),
|
|
4214
4233
|
o(C, {
|
|
4215
|
-
modelValue:
|
|
4216
|
-
"onUpdate:modelValue": e[6] || (e[6] = (r) =>
|
|
4234
|
+
modelValue: s.stateTimer,
|
|
4235
|
+
"onUpdate:modelValue": e[6] || (e[6] = (r) => s.stateTimer = r),
|
|
4217
4236
|
label: "Script State",
|
|
4218
4237
|
"data-test": "state",
|
|
4219
4238
|
class: "shrink ml-2 script-state",
|
|
@@ -4223,7 +4242,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4223
4242
|
readonly: "",
|
|
4224
4243
|
"hide-details": ""
|
|
4225
4244
|
}, null, 8, ["modelValue"]),
|
|
4226
|
-
i.state === "Connecting..." ? (y(), T(
|
|
4245
|
+
i.state === "Connecting..." ? (y(), T(E, {
|
|
4227
4246
|
key: 1,
|
|
4228
4247
|
size: 40,
|
|
4229
4248
|
class: "mx-2",
|
|
@@ -4237,7 +4256,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4237
4256
|
location: "top"
|
|
4238
4257
|
}, {
|
|
4239
4258
|
activator: l(({ props: r }) => [
|
|
4240
|
-
o(p,
|
|
4259
|
+
o(p, J(r, {
|
|
4241
4260
|
class: "mr-2",
|
|
4242
4261
|
icon: "",
|
|
4243
4262
|
variant: "text",
|
|
@@ -4249,24 +4268,24 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4249
4268
|
}), {
|
|
4250
4269
|
default: l(() => [
|
|
4251
4270
|
o(U, {
|
|
4252
|
-
modelValue:
|
|
4253
|
-
"onUpdate:modelValue": e[7] || (e[7] = (h) =>
|
|
4271
|
+
modelValue: s.environmentModified,
|
|
4272
|
+
"onUpdate:modelValue": e[7] || (e[7] = (h) => s.environmentModified = h),
|
|
4254
4273
|
floating: "",
|
|
4255
4274
|
dot: ""
|
|
4256
4275
|
}, {
|
|
4257
4276
|
default: l(() => [
|
|
4258
|
-
o(
|
|
4277
|
+
o(m, { icon: "mdi-application-variable" })
|
|
4259
4278
|
]),
|
|
4260
4279
|
_: 1
|
|
4261
4280
|
}, 8, ["modelValue"])
|
|
4262
4281
|
]),
|
|
4263
|
-
_:
|
|
4264
|
-
},
|
|
4282
|
+
_: 1
|
|
4283
|
+
}, 16, ["disabled"])
|
|
4265
4284
|
]),
|
|
4266
4285
|
default: l(() => [
|
|
4267
4286
|
S("span", null, [
|
|
4268
4287
|
e[38] || (e[38] = k(" Script Environment ", -1)),
|
|
4269
|
-
|
|
4288
|
+
s.environmentModified ? (y(), P(oe, { key: 0 }, [
|
|
4270
4289
|
k(" (modified) ")
|
|
4271
4290
|
], 64)) : D("", !0)
|
|
4272
4291
|
])
|
|
@@ -4280,7 +4299,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4280
4299
|
"data-test": "start-button",
|
|
4281
4300
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4282
4301
|
hidden: i.suiteRunner,
|
|
4283
|
-
onClick:
|
|
4302
|
+
onClick: s.startHandler
|
|
4284
4303
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4285
4304
|
])) : (y(), P("div", ji, [
|
|
4286
4305
|
o(p, {
|
|
@@ -4289,7 +4308,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4289
4308
|
text: "Go",
|
|
4290
4309
|
disabled: i.startOrGoDisabled,
|
|
4291
4310
|
"data-test": "go-button",
|
|
4292
|
-
onClick:
|
|
4311
|
+
onClick: s.go
|
|
4293
4312
|
}, null, 8, ["disabled", "onClick"]),
|
|
4294
4313
|
o(p, {
|
|
4295
4314
|
color: "primary",
|
|
@@ -4297,14 +4316,14 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4297
4316
|
text: i.pauseOrRetryButton,
|
|
4298
4317
|
disabled: i.pauseOrRetryDisabled,
|
|
4299
4318
|
"data-test": "pause-retry-button",
|
|
4300
|
-
onClick:
|
|
4319
|
+
onClick: s.pauseOrRetry
|
|
4301
4320
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4302
4321
|
o(p, {
|
|
4303
4322
|
color: "primary",
|
|
4304
4323
|
text: "Stop",
|
|
4305
4324
|
"data-test": "stop-button",
|
|
4306
4325
|
disabled: i.stopDisabled,
|
|
4307
|
-
onClick:
|
|
4326
|
+
onClick: s.stop
|
|
4308
4327
|
}, null, 8, ["disabled", "onClick"])
|
|
4309
4328
|
]))
|
|
4310
4329
|
]),
|
|
@@ -4320,10 +4339,10 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4320
4339
|
o(Oe, {
|
|
4321
4340
|
horizontal: "",
|
|
4322
4341
|
style: { height: "100%" },
|
|
4323
|
-
onResize:
|
|
4342
|
+
onResize: s.calcHeight
|
|
4324
4343
|
}, {
|
|
4325
4344
|
default: l(() => [
|
|
4326
|
-
o(
|
|
4345
|
+
o(ue, {
|
|
4327
4346
|
class: "editorbox",
|
|
4328
4347
|
size: "50"
|
|
4329
4348
|
}, {
|
|
@@ -4335,51 +4354,50 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4335
4354
|
location: "right",
|
|
4336
4355
|
timeout: -1,
|
|
4337
4356
|
class: "saving apply-top",
|
|
4338
|
-
style:
|
|
4357
|
+
style: Se(t.classificationStyles)
|
|
4339
4358
|
}, {
|
|
4340
|
-
default: l(() => e[39] || (e[39] = [
|
|
4359
|
+
default: l(() => [...e[39] || (e[39] = [
|
|
4341
4360
|
k(" Saving... ", -1)
|
|
4342
|
-
])),
|
|
4343
|
-
_: 1
|
|
4344
|
-
__: [39]
|
|
4361
|
+
])]),
|
|
4362
|
+
_: 1
|
|
4345
4363
|
}, 8, ["modelValue", "style"]),
|
|
4346
4364
|
S("pre", {
|
|
4347
4365
|
ref: "editor",
|
|
4348
4366
|
class: "editor",
|
|
4349
|
-
onContextmenu: e[10] || (e[10] =
|
|
4367
|
+
onContextmenu: e[10] || (e[10] = le((...r) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...r), ["prevent"]))
|
|
4350
4368
|
}, null, 544),
|
|
4351
|
-
o(
|
|
4369
|
+
o(F, {
|
|
4352
4370
|
modelValue: i.executeSelectionMenu,
|
|
4353
4371
|
"onUpdate:modelValue": e[11] || (e[11] = (r) => i.executeSelectionMenu = r),
|
|
4354
4372
|
target: [i.menuX, i.menuY]
|
|
4355
4373
|
}, {
|
|
4356
4374
|
default: l(() => [
|
|
4357
|
-
o(
|
|
4375
|
+
o(M, null, {
|
|
4358
4376
|
default: l(() => [
|
|
4359
|
-
o(
|
|
4377
|
+
o(K, {
|
|
4360
4378
|
title: "Execute Selection",
|
|
4361
|
-
onClick:
|
|
4379
|
+
onClick: s.executeSelection
|
|
4362
4380
|
}, null, 8, ["onClick"]),
|
|
4363
|
-
i.scriptId ? (y(), T(
|
|
4381
|
+
i.scriptId ? (y(), T(K, {
|
|
4364
4382
|
key: 0,
|
|
4365
4383
|
title: "Goto Line",
|
|
4366
|
-
onClick:
|
|
4384
|
+
onClick: s.runFromCursor
|
|
4367
4385
|
}, null, 8, ["onClick"])) : D("", !0),
|
|
4368
|
-
i.scriptId ? D("", !0) : (y(), T(
|
|
4386
|
+
i.scriptId ? D("", !0) : (y(), T(K, {
|
|
4369
4387
|
key: 1,
|
|
4370
4388
|
title: "Run From Line",
|
|
4371
|
-
onClick:
|
|
4389
|
+
onClick: s.runFromCursor
|
|
4372
4390
|
}, null, 8, ["onClick"])),
|
|
4373
|
-
i.scriptId ? D("", !0) : (y(), T(
|
|
4391
|
+
i.scriptId ? D("", !0) : (y(), T(K, {
|
|
4374
4392
|
key: 2,
|
|
4375
4393
|
title: "Clear Local Breakpoints",
|
|
4376
|
-
onClick:
|
|
4394
|
+
onClick: s.clearBreakpoints
|
|
4377
4395
|
}, null, 8, ["onClick"])),
|
|
4378
|
-
o(
|
|
4379
|
-
o(
|
|
4396
|
+
o(ae),
|
|
4397
|
+
o(K, {
|
|
4380
4398
|
title: "Toggle Vim mode",
|
|
4381
4399
|
"prepend-icon": "extras:vim",
|
|
4382
|
-
onClick:
|
|
4400
|
+
onClick: s.toggleVimMode
|
|
4383
4401
|
}, null, 8, ["onClick"])
|
|
4384
4402
|
]),
|
|
4385
4403
|
_: 1
|
|
@@ -4390,14 +4408,14 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4390
4408
|
]),
|
|
4391
4409
|
_: 1
|
|
4392
4410
|
}),
|
|
4393
|
-
o(
|
|
4411
|
+
o(ue, {
|
|
4394
4412
|
id: "messages",
|
|
4395
4413
|
ref: "messagesDiv",
|
|
4396
4414
|
class: "mt-2"
|
|
4397
4415
|
}, {
|
|
4398
4416
|
default: l(() => [
|
|
4399
4417
|
i.showDebug ? (y(), P("div", Ki, [
|
|
4400
|
-
o(
|
|
4418
|
+
o(N, { "no-gutters": "" }, {
|
|
4401
4419
|
default: l(() => [
|
|
4402
4420
|
o(p, {
|
|
4403
4421
|
color: "primary",
|
|
@@ -4407,7 +4425,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4407
4425
|
"append-icon": "mdi-step-forward",
|
|
4408
4426
|
disabled: !i.scriptId,
|
|
4409
4427
|
"data-test": "step-button",
|
|
4410
|
-
onClick:
|
|
4428
|
+
onClick: s.step
|
|
4411
4429
|
}, null, 8, ["disabled", "onClick"]),
|
|
4412
4430
|
o(C, {
|
|
4413
4431
|
ref: "debug",
|
|
@@ -4419,17 +4437,17 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4419
4437
|
"hide-details": "",
|
|
4420
4438
|
label: "Debug",
|
|
4421
4439
|
"data-test": "debug-text",
|
|
4422
|
-
onKeydown:
|
|
4440
|
+
onKeydown: s.debugKeydown
|
|
4423
4441
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
4424
4442
|
]),
|
|
4425
4443
|
_: 1
|
|
4426
4444
|
})
|
|
4427
4445
|
])) : D("", !0),
|
|
4428
|
-
o(
|
|
4446
|
+
o(Y, {
|
|
4429
4447
|
id: "log-messages",
|
|
4430
4448
|
modelValue: i.messages,
|
|
4431
4449
|
"onUpdate:modelValue": e[13] || (e[13] = (r) => i.messages = r),
|
|
4432
|
-
onSort:
|
|
4450
|
+
onSort: s.messageSortOrder
|
|
4433
4451
|
}, null, 8, ["modelValue", "onSort"])
|
|
4434
4452
|
]),
|
|
4435
4453
|
_: 1
|
|
@@ -4438,10 +4456,10 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4438
4456
|
_: 1
|
|
4439
4457
|
}, 8, ["onResize"])
|
|
4440
4458
|
], 64)),
|
|
4441
|
-
|
|
4442
|
-
o(
|
|
4459
|
+
n.inline ? (y(), P("div", Wi, [
|
|
4460
|
+
o(N, null, {
|
|
4443
4461
|
default: l(() => [
|
|
4444
|
-
o(
|
|
4462
|
+
o(be, {
|
|
4445
4463
|
class: "v-col-10",
|
|
4446
4464
|
style: { margin: "0px", padding: "0px" }
|
|
4447
4465
|
}, {
|
|
@@ -4450,12 +4468,12 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4450
4468
|
ref: "editor",
|
|
4451
4469
|
class: "editor",
|
|
4452
4470
|
style: { height: "200px" },
|
|
4453
|
-
onContextmenu: e[14] || (e[14] =
|
|
4471
|
+
onContextmenu: e[14] || (e[14] = le((...r) => s.showExecuteSelectionMenu && s.showExecuteSelectionMenu(...r), ["prevent"]))
|
|
4454
4472
|
}, null, 544)
|
|
4455
4473
|
]),
|
|
4456
4474
|
_: 1
|
|
4457
4475
|
}),
|
|
4458
|
-
o(
|
|
4476
|
+
o(be, {
|
|
4459
4477
|
class: "v-col-2",
|
|
4460
4478
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4461
4479
|
}, {
|
|
@@ -4468,7 +4486,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4468
4486
|
"data-test": "start-button",
|
|
4469
4487
|
disabled: i.startOrGoDisabled || !i.executeUser,
|
|
4470
4488
|
hidden: i.suiteRunner,
|
|
4471
|
-
onClick:
|
|
4489
|
+
onClick: s.startHandler
|
|
4472
4490
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4473
4491
|
])) : (y(), P("div", Yi, [
|
|
4474
4492
|
o(p, {
|
|
@@ -4477,7 +4495,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4477
4495
|
text: "Go",
|
|
4478
4496
|
disabled: i.startOrGoDisabled,
|
|
4479
4497
|
"data-test": "go-button",
|
|
4480
|
-
onClick:
|
|
4498
|
+
onClick: s.go
|
|
4481
4499
|
}, null, 8, ["disabled", "onClick"]),
|
|
4482
4500
|
o(p, {
|
|
4483
4501
|
color: "primary",
|
|
@@ -4485,7 +4503,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4485
4503
|
text: i.pauseOrRetryButton,
|
|
4486
4504
|
disabled: i.pauseOrRetryDisabled,
|
|
4487
4505
|
"data-test": "pause-retry-button",
|
|
4488
|
-
onClick:
|
|
4506
|
+
onClick: s.pauseOrRetry
|
|
4489
4507
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4490
4508
|
o(p, {
|
|
4491
4509
|
color: "primary",
|
|
@@ -4493,7 +4511,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4493
4511
|
text: "Stop",
|
|
4494
4512
|
"data-test": "stop-button",
|
|
4495
4513
|
disabled: i.stopDisabled,
|
|
4496
|
-
onClick:
|
|
4514
|
+
onClick: s.stop
|
|
4497
4515
|
}, null, 8, ["disabled", "onClick"])
|
|
4498
4516
|
]))
|
|
4499
4517
|
]),
|
|
@@ -4503,34 +4521,34 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4503
4521
|
_: 1
|
|
4504
4522
|
})
|
|
4505
4523
|
])) : D("", !0),
|
|
4506
|
-
i.fileOpen ? (y(), T(
|
|
4524
|
+
i.fileOpen ? (y(), T(we, {
|
|
4507
4525
|
key: 2,
|
|
4508
4526
|
modelValue: i.fileOpen,
|
|
4509
4527
|
"onUpdate:modelValue": e[15] || (e[15] = (r) => i.fileOpen = r),
|
|
4510
4528
|
type: "open",
|
|
4511
4529
|
"api-url": "/script-api/scripts",
|
|
4512
|
-
onFile: e[16] || (e[16] = (r) =>
|
|
4513
|
-
onError: e[17] || (e[17] = (r) =>
|
|
4514
|
-
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))
|
|
4515
4533
|
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4516
|
-
i.showSaveAs ? (y(), T(
|
|
4534
|
+
i.showSaveAs ? (y(), T(we, {
|
|
4517
4535
|
key: 3,
|
|
4518
4536
|
modelValue: i.showSaveAs,
|
|
4519
4537
|
"onUpdate:modelValue": e[19] || (e[19] = (r) => i.showSaveAs = r),
|
|
4520
4538
|
type: "save",
|
|
4521
4539
|
"api-url": "/script-api/scripts",
|
|
4522
4540
|
"require-target-parent-dir": "",
|
|
4523
|
-
"input-filename":
|
|
4524
|
-
onFilename: e[20] || (e[20] = (r) =>
|
|
4525
|
-
onError: e[21] || (e[21] = (r) =>
|
|
4526
|
-
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))
|
|
4527
4545
|
}, null, 8, ["modelValue", "input-filename"])) : D("", !0),
|
|
4528
|
-
i.showEnvironment ? (y(), T(
|
|
4546
|
+
i.showEnvironment ? (y(), T(ye, {
|
|
4529
4547
|
key: 4,
|
|
4530
4548
|
modelValue: i.showEnvironment,
|
|
4531
4549
|
"onUpdate:modelValue": e[23] || (e[23] = (r) => i.showEnvironment = r)
|
|
4532
4550
|
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4533
|
-
i.ask.show ? (y(), T(
|
|
4551
|
+
i.ask.show ? (y(), T(Ee, {
|
|
4534
4552
|
key: 5,
|
|
4535
4553
|
modelValue: i.ask.show,
|
|
4536
4554
|
"onUpdate:modelValue": e[24] || (e[24] = (r) => i.ask.show = r),
|
|
@@ -4540,7 +4558,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4540
4558
|
"answer-required": i.ask.answerRequired,
|
|
4541
4559
|
onResponse: i.ask.callback
|
|
4542
4560
|
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : D("", !0),
|
|
4543
|
-
i.file.show ? (y(), T(
|
|
4561
|
+
i.file.show ? (y(), T($, {
|
|
4544
4562
|
key: 6,
|
|
4545
4563
|
modelValue: i.file.show,
|
|
4546
4564
|
"onUpdate:modelValue": e[25] || (e[25] = (r) => i.file.show = r),
|
|
@@ -4548,9 +4566,9 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4548
4566
|
message: i.file.message,
|
|
4549
4567
|
multiple: i.file.multiple,
|
|
4550
4568
|
filter: i.file.filter,
|
|
4551
|
-
onResponse:
|
|
4569
|
+
onResponse: s.fileDialogCallback
|
|
4552
4570
|
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : D("", !0),
|
|
4553
|
-
i.information.show ? (y(), T(
|
|
4571
|
+
i.information.show ? (y(), T(Me, {
|
|
4554
4572
|
key: 7,
|
|
4555
4573
|
modelValue: i.information.show,
|
|
4556
4574
|
"onUpdate:modelValue": e[26] || (e[26] = (r) => i.information.show = r),
|
|
@@ -4572,7 +4590,7 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4572
4590
|
modelValue: i.showOverrides,
|
|
4573
4591
|
"onUpdate:modelValue": e[28] || (e[28] = (r) => i.showOverrides = r)
|
|
4574
4592
|
}, null, 8, ["modelValue"])) : D("", !0),
|
|
4575
|
-
i.prompt.show ? (y(), T(
|
|
4593
|
+
i.prompt.show ? (y(), T(de, {
|
|
4576
4594
|
key: 10,
|
|
4577
4595
|
modelValue: i.prompt.show,
|
|
4578
4596
|
"onUpdate:modelValue": e[29] || (e[29] = (r) => i.prompt.show = r),
|
|
@@ -4591,28 +4609,28 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4591
4609
|
"onUpdate:modelValue": e[30] || (e[30] = (r) => i.results.show = r),
|
|
4592
4610
|
text: i.results.text
|
|
4593
4611
|
}, null, 8, ["modelValue", "text"])) : D("", !0),
|
|
4594
|
-
i.scriptEnvironment.show ? (y(), T(
|
|
4612
|
+
i.scriptEnvironment.show ? (y(), T(Ue, {
|
|
4595
4613
|
key: 12,
|
|
4596
4614
|
modelValue: i.scriptEnvironment.show,
|
|
4597
4615
|
"onUpdate:modelValue": e[31] || (e[31] = (r) => i.scriptEnvironment.show = r),
|
|
4598
4616
|
"input-environment": i.scriptEnvironment.env,
|
|
4599
|
-
onEnvironment:
|
|
4617
|
+
onEnvironment: s.environmentHandler
|
|
4600
4618
|
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : D("", !0),
|
|
4601
|
-
o(
|
|
4619
|
+
o(Pe, {
|
|
4602
4620
|
modelValue: i.showSuiteError,
|
|
4603
4621
|
"onUpdate:modelValue": e[32] || (e[32] = (r) => i.showSuiteError = r),
|
|
4604
4622
|
title: "Suite Analysis Error",
|
|
4605
4623
|
text: i.suiteError,
|
|
4606
4624
|
width: 1e3
|
|
4607
4625
|
}, null, 8, ["modelValue", "text"]),
|
|
4608
|
-
o(
|
|
4626
|
+
o(ce, {
|
|
4609
4627
|
modelValue: i.displayCriticalCmd,
|
|
4610
4628
|
"onUpdate:modelValue": e[33] || (e[33] = (r) => i.displayCriticalCmd = r),
|
|
4611
4629
|
uuid: i.criticalCmdUuid,
|
|
4612
4630
|
"cmd-string": i.criticalCmdString,
|
|
4613
4631
|
"cmd-user": i.criticalCmdUser,
|
|
4614
4632
|
persistent: !0,
|
|
4615
|
-
onStatus:
|
|
4633
|
+
onStatus: s.promptDialogCallback
|
|
4616
4634
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4617
4635
|
o(c, {
|
|
4618
4636
|
modelValue: i.showScripts,
|
|
@@ -4621,10 +4639,10 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4621
4639
|
default: l(() => [
|
|
4622
4640
|
o(ze, { class: "pb-11 pt-5 px-5" }, {
|
|
4623
4641
|
default: l(() => [
|
|
4624
|
-
i.showScripts ? (y(), T(
|
|
4642
|
+
i.showScripts ? (y(), T(L, {
|
|
4625
4643
|
key: 0,
|
|
4626
4644
|
"connect-in-new-tab": !!i.fileModified,
|
|
4627
|
-
onDisconnect:
|
|
4645
|
+
onDisconnect: s.scriptDisconnect,
|
|
4628
4646
|
onClose: e[34] || (e[34] = () => {
|
|
4629
4647
|
i.showScripts = !1;
|
|
4630
4648
|
})
|
|
@@ -4637,9 +4655,9 @@ function Zi(t, e, s, a, i, n) {
|
|
|
4637
4655
|
}, 8, ["modelValue"])
|
|
4638
4656
|
], 64);
|
|
4639
4657
|
}
|
|
4640
|
-
const hs = /* @__PURE__ */ q(
|
|
4658
|
+
const hs = /* @__PURE__ */ q(Pi, [["render", Zi], ["__scopeId", "data-v-24f16271"]]);
|
|
4641
4659
|
export {
|
|
4642
|
-
|
|
4660
|
+
Mt as RunningScripts,
|
|
4643
4661
|
Dt as ScriptLogMessages,
|
|
4644
4662
|
hs as ScriptRunner,
|
|
4645
4663
|
Si as SuiteRunner
|