@openc3/vue-common 7.0.0-rc3 → 7.0.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-B2-n1K3r.cjs → ArrayWidget-BsAUsmBz.cjs} +2 -2
- package/dist/{ArrayWidget-B2-n1K3r.cjs.map → ArrayWidget-BsAUsmBz.cjs.map} +1 -1
- package/dist/{ArrayWidget-dQWDMMrn.js → ArrayWidget-D2UrA5Db.js} +4 -4
- package/dist/{ArrayWidget-dQWDMMrn.js.map → ArrayWidget-D2UrA5Db.js.map} +1 -1
- package/dist/{ArrayplotWidget-DCnbK37q.js → ArrayplotWidget-CDNRxI2F.js} +3 -3
- package/dist/{ArrayplotWidget-DCnbK37q.js.map → ArrayplotWidget-CDNRxI2F.js.map} +1 -1
- package/dist/{ArrayplotWidget-BmBcPGUR.cjs → ArrayplotWidget-ChHMy5_L.cjs} +2 -2
- package/dist/{ArrayplotWidget-BmBcPGUR.cjs.map → ArrayplotWidget-ChHMy5_L.cjs.map} +1 -1
- package/dist/{BarColumn-CkecDAzn.cjs → BarColumn-e-sSkSvE.cjs} +2 -2
- package/dist/{BarColumn-CkecDAzn.cjs.map → BarColumn-e-sSkSvE.cjs.map} +1 -1
- package/dist/{BarColumn-DmOxuCa9.js → BarColumn-nSFR2LZF.js} +3 -3
- package/dist/{BarColumn-DmOxuCa9.js.map → BarColumn-nSFR2LZF.js.map} +1 -1
- package/dist/{BlockWidget-UejKxAxY.js → BlockWidget-C-WB0Q2m.js} +4 -4
- package/dist/{BlockWidget-UejKxAxY.js.map → BlockWidget-C-WB0Q2m.js.map} +1 -1
- package/dist/{BlockWidget-BZXHLTJt.cjs → BlockWidget-DJpyQiec.cjs} +2 -2
- package/dist/{BlockWidget-BZXHLTJt.cjs.map → BlockWidget-DJpyQiec.cjs.map} +1 -1
- package/dist/{ButtonWidget-DtAkhzCN.js → ButtonWidget-rS7sVb7m.js} +4 -4
- package/dist/{ButtonWidget-DtAkhzCN.js.map → ButtonWidget-rS7sVb7m.js.map} +1 -1
- package/dist/{ButtonWidget-CzRyY1N5.cjs → ButtonWidget-rkOE5b8G.cjs} +2 -2
- package/dist/{ButtonWidget-CzRyY1N5.cjs.map → ButtonWidget-rkOE5b8G.cjs.map} +1 -1
- package/dist/{CanvasWidget-YXQ8TLqA.js → CanvasWidget-DuWolVCW.js} +2 -2
- package/dist/{CanvasWidget-YXQ8TLqA.js.map → CanvasWidget-DuWolVCW.js.map} +1 -1
- package/dist/{CanvasWidget-cQqNxspP.cjs → CanvasWidget-Dv7_QUJY.cjs} +2 -2
- package/dist/{CanvasWidget-cQqNxspP.cjs.map → CanvasWidget-Dv7_QUJY.cjs.map} +1 -1
- package/dist/{CanvasdotWidget-BbmhHQV_.js → CanvasdotWidget-B42YizA1.js} +2 -2
- package/dist/{CanvasdotWidget-BbmhHQV_.js.map → CanvasdotWidget-B42YizA1.js.map} +1 -1
- package/dist/{CanvasdotWidget-CMIw-ga4.cjs → CanvasdotWidget-E1OgFBVZ.cjs} +2 -2
- package/dist/{CanvasdotWidget-CMIw-ga4.cjs.map → CanvasdotWidget-E1OgFBVZ.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-CJf5NYEj.js → CanvasimageWidget-DMHdDTSs.js} +3 -3
- package/dist/{CanvasimageWidget-CJf5NYEj.js.map → CanvasimageWidget-DMHdDTSs.js.map} +1 -1
- package/dist/{CanvasimageWidget-DXxtYjGG.cjs → CanvasimageWidget-ysw78z4C.cjs} +2 -2
- package/dist/{CanvasimageWidget-DXxtYjGG.cjs.map → CanvasimageWidget-ysw78z4C.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-VPKlJrxM.cjs → CanvasimagevalueWidget-Bc-VYXe7.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-VPKlJrxM.cjs.map → CanvasimagevalueWidget-Bc-VYXe7.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-D86eJXbs.js → CanvasimagevalueWidget-ns-5S1HA.js} +3 -3
- package/dist/{CanvasimagevalueWidget-D86eJXbs.js.map → CanvasimagevalueWidget-ns-5S1HA.js.map} +1 -1
- package/dist/{CanvaslabelWidget-BgGRS0NS.cjs → CanvaslabelWidget-6h59qJY8.cjs} +2 -2
- package/dist/{CanvaslabelWidget-BgGRS0NS.cjs.map → CanvaslabelWidget-6h59qJY8.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-TkrVd-Dg.js → CanvaslabelWidget-DElES3gU.js} +2 -2
- package/dist/{CanvaslabelWidget-TkrVd-Dg.js.map → CanvaslabelWidget-DElES3gU.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-BwsIN_MT.js → CanvaslabelvalueWidget-B2B5KlUm.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-BwsIN_MT.js.map → CanvaslabelvalueWidget-B2B5KlUm.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-W2QzOkQw.cjs → CanvaslabelvalueWidget-BLIgF8xi.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-W2QzOkQw.cjs.map → CanvaslabelvalueWidget-BLIgF8xi.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-yT7FUWs8.cjs → CanvaslineWidget-CxZGCwVF.cjs} +2 -2
- package/dist/{CanvaslineWidget-yT7FUWs8.cjs.map → CanvaslineWidget-CxZGCwVF.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-BjBvF-vY.js → CanvaslineWidget-DaHxgGyM.js} +2 -2
- package/dist/{CanvaslineWidget-BjBvF-vY.js.map → CanvaslineWidget-DaHxgGyM.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-Dj4tsTBp.cjs → CanvaslinevalueWidget-BljeuN4S.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-Dj4tsTBp.cjs.map → CanvaslinevalueWidget-BljeuN4S.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-krBLp9yB.js → CanvaslinevalueWidget-CrtDsSOP.js} +2 -2
- package/dist/{CanvaslinevalueWidget-krBLp9yB.js.map → CanvaslinevalueWidget-CrtDsSOP.js.map} +1 -1
- package/dist/{CheckbuttonWidget-IMrIK9q4.js → CheckbuttonWidget-BK4SgIu7.js} +2 -2
- package/dist/{CheckbuttonWidget-IMrIK9q4.js.map → CheckbuttonWidget-BK4SgIu7.js.map} +1 -1
- package/dist/{CheckbuttonWidget-CT28NPNo.cjs → CheckbuttonWidget-By46VH2e.cjs} +2 -2
- package/dist/{CheckbuttonWidget-CT28NPNo.cjs.map → CheckbuttonWidget-By46VH2e.cjs.map} +1 -1
- package/dist/{ClassificationBanners-DC__VXBX.cjs → ClassificationBanners-CHQX3t7t.cjs} +2 -2
- package/dist/{ClassificationBanners-DC__VXBX.cjs.map → ClassificationBanners-CHQX3t7t.cjs.map} +1 -1
- package/dist/{ClassificationBanners-DiIkXqna.js → ClassificationBanners-DGl2HUKd.js} +2 -2
- package/dist/{ClassificationBanners-DiIkXqna.js.map → ClassificationBanners-DGl2HUKd.js.map} +1 -1
- package/dist/{ComboboxWidget-hFBSBFwy.cjs → ComboboxWidget-CHFTOmhZ.cjs} +2 -2
- package/dist/{ComboboxWidget-hFBSBFwy.cjs.map → ComboboxWidget-CHFTOmhZ.cjs.map} +1 -1
- package/dist/{ComboboxWidget-C9Zlc2Hy.js → ComboboxWidget-CciRWuKq.js} +2 -2
- package/dist/{ComboboxWidget-C9Zlc2Hy.js.map → ComboboxWidget-CciRWuKq.js.map} +1 -1
- package/dist/{CriticalCmdDialog-CCaStsM-.cjs → CriticalCmdDialog-BWrwpTNK.cjs} +2 -2
- package/dist/{CriticalCmdDialog-CCaStsM-.cjs.map → CriticalCmdDialog-BWrwpTNK.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-Cp-ykpQb.js → CriticalCmdDialog-C5EZDRSZ.js} +2 -2
- package/dist/{CriticalCmdDialog-Cp-ykpQb.js.map → CriticalCmdDialog-C5EZDRSZ.js.map} +1 -1
- package/dist/{DateWidget-C_QpCTxN.cjs → DateWidget-Bb6juAYs.cjs} +2 -2
- package/dist/{DateWidget-C_QpCTxN.cjs.map → DateWidget-Bb6juAYs.cjs.map} +1 -1
- package/dist/{DateWidget-Y6WAFGGt.js → DateWidget-DwgQ3Jik.js} +2 -2
- package/dist/{DateWidget-Y6WAFGGt.js.map → DateWidget-DwgQ3Jik.js.map} +1 -1
- package/dist/{DetailsDialog-DznGAE6i.js → DetailsDialog-CspQjoR5.js} +3 -3
- package/dist/{DetailsDialog-DznGAE6i.js.map → DetailsDialog-CspQjoR5.js.map} +1 -1
- package/dist/{DetailsDialog-Bq9BPuoe.cjs → DetailsDialog-D_my0nhs.cjs} +2 -2
- package/dist/{DetailsDialog-Bq9BPuoe.cjs.map → DetailsDialog-D_my0nhs.cjs.map} +1 -1
- package/dist/{EventListDialog-CktWO2jn.js → EventListDialog-DL2HHNQG.js} +9 -6
- package/dist/EventListDialog-DL2HHNQG.js.map +1 -0
- package/dist/EventListDialog-DO32zY2U.cjs +2 -0
- package/dist/EventListDialog-DO32zY2U.cjs.map +1 -0
- package/dist/{FilechecksumWidget-VbLODmHh.js → FilechecksumWidget-BS281Q0h.js} +3 -3
- package/dist/{FilechecksumWidget-VbLODmHh.js.map → FilechecksumWidget-BS281Q0h.js.map} +1 -1
- package/dist/{FilechecksumWidget-BZdmiTbb.cjs → FilechecksumWidget-DMpuLZJ5.cjs} +2 -2
- package/dist/{FilechecksumWidget-BZdmiTbb.cjs.map → FilechecksumWidget-DMpuLZJ5.cjs.map} +1 -1
- package/dist/{FiledisplayWidget-BI7GAQ4d.cjs → FiledisplayWidget-BoD7LuLP.cjs} +2 -2
- package/dist/{FiledisplayWidget-BI7GAQ4d.cjs.map → FiledisplayWidget-BoD7LuLP.cjs.map} +1 -1
- package/dist/{FiledisplayWidget-kixqcLtx.js → FiledisplayWidget-C9YdXDdv.js} +3 -3
- package/dist/{FiledisplayWidget-kixqcLtx.js.map → FiledisplayWidget-C9YdXDdv.js.map} +1 -1
- package/dist/{FormatvalueWidget-I1y_kf9t.cjs → FormatvalueWidget-DfvTVSs-.cjs} +2 -2
- package/dist/{FormatvalueWidget-I1y_kf9t.cjs.map → FormatvalueWidget-DfvTVSs-.cjs.map} +1 -1
- package/dist/{FormatvalueWidget--djAS0BE.js → FormatvalueWidget-dfmQfrNA.js} +3 -3
- package/dist/{FormatvalueWidget--djAS0BE.js.map → FormatvalueWidget-dfmQfrNA.js.map} +1 -1
- package/dist/{Graph-GhpiUBKI.js → Graph-BTtGIbYG.js} +10 -6
- package/dist/Graph-BTtGIbYG.js.map +1 -0
- package/dist/Graph-Cy2LrwoK.cjs +2 -0
- package/dist/Graph-Cy2LrwoK.cjs.map +1 -0
- package/dist/{GraphWidget-8T08osON.js → GraphWidget-CWJ4Yb26.js} +2 -2
- package/dist/{GraphWidget-8T08osON.js.map → GraphWidget-CWJ4Yb26.js.map} +1 -1
- package/dist/{GraphWidget-Bzo-klWV.cjs → GraphWidget-XjxjI3og.cjs} +2 -2
- package/dist/{GraphWidget-Bzo-klWV.cjs.map → GraphWidget-XjxjI3og.cjs.map} +1 -1
- package/dist/{HorizontalWidget-CAf9I0CU.cjs → HorizontalWidget-BeW4b13V.cjs} +2 -2
- package/dist/{HorizontalWidget-CAf9I0CU.cjs.map → HorizontalWidget-BeW4b13V.cjs.map} +1 -1
- package/dist/{HorizontalWidget-CusI1RiA.js → HorizontalWidget-DFAqF95S.js} +2 -2
- package/dist/{HorizontalWidget-CusI1RiA.js.map → HorizontalWidget-DFAqF95S.js.map} +1 -1
- package/dist/{HorizontalboxWidget-D5fIhINf.js → HorizontalboxWidget-CL1xEhDj.js} +5 -5
- package/dist/{HorizontalboxWidget-D5fIhINf.js.map → HorizontalboxWidget-CL1xEhDj.js.map} +1 -1
- package/dist/{HorizontalboxWidget-B7E5GEPu.cjs → HorizontalboxWidget-DdPv_6qb.cjs} +2 -2
- package/dist/{HorizontalboxWidget-B7E5GEPu.cjs.map → HorizontalboxWidget-DdPv_6qb.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-DqLKGhdz.cjs → HorizontallineWidget-BdWOnioI.cjs} +2 -2
- package/dist/{HorizontallineWidget-DqLKGhdz.cjs.map → HorizontallineWidget-BdWOnioI.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-CnRlq7hi.js → HorizontallineWidget-DPiADCAy.js} +2 -2
- package/dist/{HorizontallineWidget-CnRlq7hi.js.map → HorizontallineWidget-DPiADCAy.js.map} +1 -1
- package/dist/{IframeWidget-DtF44NYM.js → IframeWidget-BsDu4b17.js} +2 -2
- package/dist/{IframeWidget-DtF44NYM.js.map → IframeWidget-BsDu4b17.js.map} +1 -1
- package/dist/{IframeWidget-BMtv8io0.cjs → IframeWidget-Z12pG6JT.cjs} +2 -2
- package/dist/{IframeWidget-BMtv8io0.cjs.map → IframeWidget-Z12pG6JT.cjs.map} +1 -1
- package/dist/{ImageLoader-B5rGuJ_H.js → ImageLoader-CT4rnwWn.js} +2 -2
- package/dist/{ImageLoader-B5rGuJ_H.js.map → ImageLoader-CT4rnwWn.js.map} +1 -1
- package/dist/{ImageLoader-jcIDHdUq.cjs → ImageLoader-CZ0Wx_Ua.cjs} +2 -2
- package/dist/{ImageLoader-jcIDHdUq.cjs.map → ImageLoader-CZ0Wx_Ua.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-Ciu80vaC.js → ImageviewerWidget-BQbrz2WL.js} +2 -2
- package/dist/{ImageviewerWidget-Ciu80vaC.js.map → ImageviewerWidget-BQbrz2WL.js.map} +1 -1
- package/dist/{ImageviewerWidget-ox5FNYVP.cjs → ImageviewerWidget-CtJzQn0e.cjs} +2 -2
- package/dist/{ImageviewerWidget-ox5FNYVP.cjs.map → ImageviewerWidget-CtJzQn0e.cjs.map} +1 -1
- package/dist/{InterfacesTab-CUM5GGWs.cjs → InterfacesTab-A0g0y1n1.cjs} +2 -2
- package/dist/{InterfacesTab-CUM5GGWs.cjs.map → InterfacesTab-A0g0y1n1.cjs.map} +1 -1
- package/dist/{InterfacesTab-C14LErLZ.js → InterfacesTab-COKNyeUu.js} +3 -3
- package/dist/{InterfacesTab-C14LErLZ.js.map → InterfacesTab-COKNyeUu.js.map} +1 -1
- package/dist/{LabelWidget-78VnL1xc.js → LabelWidget-D5-IFUYW.js} +2 -2
- package/dist/{LabelWidget-78VnL1xc.js.map → LabelWidget-D5-IFUYW.js.map} +1 -1
- package/dist/{LabelWidget-B9J1Whh0.cjs → LabelWidget-rH3SsItK.cjs} +2 -2
- package/dist/{LabelWidget-B9J1Whh0.cjs.map → LabelWidget-rH3SsItK.cjs.map} +1 -1
- package/dist/{LabelledWidget-BMtqUP-E.cjs → LabelledWidget-Bca_qNSP.cjs} +2 -2
- package/dist/{LabelledWidget-BMtqUP-E.cjs.map → LabelledWidget-Bca_qNSP.cjs.map} +1 -1
- package/dist/{LabelledWidget-Cx2PI85E.js → LabelledWidget-Dt9miRtB.js} +4 -4
- package/dist/{LabelledWidget-Cx2PI85E.js.map → LabelledWidget-Dt9miRtB.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-eC7VC7lY.js → LabelprogressbarWidget-BNFgTq4D.js} +4 -4
- package/dist/{LabelprogressbarWidget-eC7VC7lY.js.map → LabelprogressbarWidget-BNFgTq4D.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-Ce3PRzaA.cjs → LabelprogressbarWidget-hyK9Vqsl.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-Ce3PRzaA.cjs.map → LabelprogressbarWidget-hyK9Vqsl.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-CP5rD4ob.js → LabelsparklineWidget-BByxev6X.js} +4 -4
- package/dist/{LabelsparklineWidget-CP5rD4ob.js.map → LabelsparklineWidget-BByxev6X.js.map} +1 -1
- package/dist/{LabelsparklineWidget-DuCA67yl.cjs → LabelsparklineWidget-BxkxEVwQ.cjs} +2 -2
- package/dist/{LabelsparklineWidget-DuCA67yl.cjs.map → LabelsparklineWidget-BxkxEVwQ.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-PM8DFnDm.js → LabelvalueWidget-BM6L9bVw.js} +4 -4
- package/dist/{LabelvalueWidget-PM8DFnDm.js.map → LabelvalueWidget-BM6L9bVw.js.map} +1 -1
- package/dist/{LabelvalueWidget-DxEvAoHT.cjs → LabelvalueWidget-DEGmbKMG.cjs} +2 -2
- package/dist/{LabelvalueWidget-DxEvAoHT.cjs.map → LabelvalueWidget-DEGmbKMG.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-Dy3_fdkx.cjs → LabelvaluedescWidget-B7bGqqeO.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-Dy3_fdkx.cjs.map → LabelvaluedescWidget-B7bGqqeO.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-C8OmKnu-.js → LabelvaluedescWidget-DeBRjYXs.js} +5 -5
- package/dist/{LabelvaluedescWidget-C8OmKnu-.js.map → LabelvaluedescWidget-DeBRjYXs.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DIsTQqkO.js → LabelvaluelimitsbarWidget-CqV0-c3G.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-DIsTQqkO.js.map → LabelvaluelimitsbarWidget-CqV0-c3G.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DWvSVvXl.cjs → LabelvaluelimitsbarWidget-DzEc9ZZr.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-DWvSVvXl.cjs.map → LabelvaluelimitsbarWidget-DzEc9ZZr.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-ld556rRi.js → LabelvaluelimitscolumnWidget-Bz0PKTIV.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-ld556rRi.js.map → LabelvaluelimitscolumnWidget-Bz0PKTIV.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-CyPuEz7E.cjs → LabelvaluelimitscolumnWidget-C0-v0q7a.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-CyPuEz7E.cjs.map → LabelvaluelimitscolumnWidget-C0-v0q7a.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DdqgjjUc.cjs → LabelvaluerangebarWidget-CWhsb5gm.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-DdqgjjUc.cjs.map → LabelvaluerangebarWidget-CWhsb5gm.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-nCeoujui.js → LabelvaluerangebarWidget-DKuAJHLm.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-nCeoujui.js.map → LabelvaluerangebarWidget-DKuAJHLm.js.map} +1 -1
- package/dist/{Layout-BcytiBn4.js → Layout-LSeXBY_W.js} +2 -2
- package/dist/{Layout-BcytiBn4.js.map → Layout-LSeXBY_W.js.map} +1 -1
- package/dist/{Layout-JCk8r88e.cjs → Layout-QcVHlWPp.cjs} +2 -2
- package/dist/{Layout-JCk8r88e.cjs.map → Layout-QcVHlWPp.cjs.map} +1 -1
- package/dist/{LedWidget-3pWKnZsD.js → LedWidget-CH4Il9R7.js} +4 -4
- package/dist/{LedWidget-3pWKnZsD.js.map → LedWidget-CH4Il9R7.js.map} +1 -1
- package/dist/{LedWidget-BEP-sFTh.cjs → LedWidget-CJwBssHl.cjs} +2 -2
- package/dist/{LedWidget-BEP-sFTh.cjs.map → LedWidget-CJwBssHl.cjs.map} +1 -1
- package/dist/{LimitsBar-BJ_cERjE.cjs → LimitsBar-B0O6RMrG.cjs} +2 -2
- package/dist/{LimitsBar-BJ_cERjE.cjs.map → LimitsBar-B0O6RMrG.cjs.map} +1 -1
- package/dist/{LimitsBar-DCco6Rwp.js → LimitsBar-BelAQFD0.js} +2 -2
- package/dist/{LimitsBar-DCco6Rwp.js.map → LimitsBar-BelAQFD0.js.map} +1 -1
- package/dist/{LimitsbarWidget-DiAnkXID.cjs → LimitsbarWidget--AwjBbtb.cjs} +2 -2
- package/dist/{LimitsbarWidget-DiAnkXID.cjs.map → LimitsbarWidget--AwjBbtb.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-_BMzxWBm.js → LimitsbarWidget-PkPqlyxL.js} +3 -3
- package/dist/{LimitsbarWidget-_BMzxWBm.js.map → LimitsbarWidget-PkPqlyxL.js.map} +1 -1
- package/dist/{LimitscolorWidget-ByfzIE_O.cjs → LimitscolorWidget-1D2myv8a.cjs} +2 -2
- package/dist/{LimitscolorWidget-ByfzIE_O.cjs.map → LimitscolorWidget-1D2myv8a.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-C2gZyqtI.js → LimitscolorWidget-BlA15g4A.js} +4 -4
- package/dist/{LimitscolorWidget-C2gZyqtI.js.map → LimitscolorWidget-BlA15g4A.js.map} +1 -1
- package/dist/{LimitscolumnWidget-Cv-6FXU3.js → LimitscolumnWidget-PT917BA0.js} +2 -2
- package/dist/{LimitscolumnWidget-Cv-6FXU3.js.map → LimitscolumnWidget-PT917BA0.js.map} +1 -1
- package/dist/{LimitscolumnWidget-CZwcXbLS.cjs → LimitscolumnWidget-_QPf3cUQ.cjs} +2 -2
- package/dist/{LimitscolumnWidget-CZwcXbLS.cjs.map → LimitscolumnWidget-_QPf3cUQ.cjs.map} +1 -1
- package/dist/{LinegraphWidget-BahyhwSt.js → LinegraphWidget-BW7kS_6G.js} +4 -4
- package/dist/{LinegraphWidget-BahyhwSt.js.map → LinegraphWidget-BW7kS_6G.js.map} +1 -1
- package/dist/{LinegraphWidget-so5ohfWF.cjs → LinegraphWidget-DfXd3959.cjs} +2 -2
- package/dist/{LinegraphWidget-so5ohfWF.cjs.map → LinegraphWidget-DfXd3959.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-B1Hy9but.js → MatrixbycolumnsWidget-BGNsZvjv.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-B1Hy9but.js.map → MatrixbycolumnsWidget-BGNsZvjv.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-Dma8IsO-.cjs → MatrixbycolumnsWidget-oRYGFSEt.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-Dma8IsO-.cjs.map → MatrixbycolumnsWidget-oRYGFSEt.cjs.map} +1 -1
- package/dist/{MicroservicesTab-BSXNA_Si.js → MicroservicesTab-CiEGGavF.js} +3 -3
- package/dist/{MicroservicesTab-BSXNA_Si.js.map → MicroservicesTab-CiEGGavF.js.map} +1 -1
- package/dist/{MicroservicesTab-ARGtrfOb.cjs → MicroservicesTab-DvDK2hPW.cjs} +2 -2
- package/dist/{MicroservicesTab-ARGtrfOb.cjs.map → MicroservicesTab-DvDK2hPW.cjs.map} +1 -1
- package/dist/{OpenC3TimePicker-LN9R7V31.js → OpenC3TimePicker-CkaALgy9.js} +2 -2
- package/dist/{OpenC3TimePicker-LN9R7V31.js.map → OpenC3TimePicker-CkaALgy9.js.map} +1 -1
- package/dist/{OpenC3TimePicker-BHX9fnlR.cjs → OpenC3TimePicker-bbdbKTv_.cjs} +2 -2
- package/dist/{OpenC3TimePicker-BHX9fnlR.cjs.map → OpenC3TimePicker-bbdbKTv_.cjs.map} +1 -1
- package/dist/{Openc3Screen-BP7Ho9XC.js → Openc3Screen-BnM1bNOB.js} +11 -12
- package/dist/{Openc3Screen-BP7Ho9XC.js.map → Openc3Screen-BnM1bNOB.js.map} +1 -1
- package/dist/{Openc3Screen-CJOTF-lu.cjs → Openc3Screen-DoOAFAlJ.cjs} +4 -4
- package/dist/{Openc3Screen-CJOTF-lu.cjs.map → Openc3Screen-DoOAFAlJ.cjs.map} +1 -1
- package/dist/{OutputDialog-JdAxzpPD.js → OutputDialog-BY-TZNRl.js} +2 -2
- package/dist/{OutputDialog-JdAxzpPD.js.map → OutputDialog-BY-TZNRl.js.map} +1 -1
- package/dist/{OutputDialog-Dx5mkq19.cjs → OutputDialog-R3Xj3_yw.cjs} +2 -2
- package/dist/{OutputDialog-Dx5mkq19.cjs.map → OutputDialog-R3Xj3_yw.cjs.map} +1 -1
- package/dist/{PackagesTab-HPNAXhzf.cjs → PackagesTab-2Mu7yvxU.cjs} +2 -2
- package/dist/{PackagesTab-HPNAXhzf.cjs.map → PackagesTab-2Mu7yvxU.cjs.map} +1 -1
- package/dist/{PackagesTab-ByfVH001.js → PackagesTab-DGrqIo_Z.js} +4 -4
- package/dist/{PackagesTab-ByfVH001.js.map → PackagesTab-DGrqIo_Z.js.map} +1 -1
- package/dist/{PluginsTab-D7zpmf8s.js → PluginsTab-BXjVe_81.js} +427 -390
- package/dist/PluginsTab-BXjVe_81.js.map +1 -0
- package/dist/PluginsTab-R6i60Pih.cjs +6 -0
- package/dist/PluginsTab-R6i60Pih.cjs.map +1 -0
- package/dist/{ProgressbarWidget-mAVHKeok.js → ProgressbarWidget-Cy_ad8mb.js} +2 -2
- package/dist/{ProgressbarWidget-mAVHKeok.js.map → ProgressbarWidget-Cy_ad8mb.js.map} +1 -1
- package/dist/{ProgressbarWidget-BINuoD9p.cjs → ProgressbarWidget-XAy4iHgC.cjs} +2 -2
- package/dist/{ProgressbarWidget-BINuoD9p.cjs.map → ProgressbarWidget-XAy4iHgC.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-CL3QjTnZ.js → RadiobuttonWidget-aJBIz45y.js} +2 -2
- package/dist/{RadiobuttonWidget-CL3QjTnZ.js.map → RadiobuttonWidget-aJBIz45y.js.map} +1 -1
- package/dist/{RadiobuttonWidget-DDmgt0su.cjs → RadiobuttonWidget-fAqkUUTb.cjs} +2 -2
- package/dist/{RadiobuttonWidget-DDmgt0su.cjs.map → RadiobuttonWidget-fAqkUUTb.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-q7h1v-ko.cjs → RadiogroupWidget-BuYMyBQd.cjs} +2 -2
- package/dist/{RadiogroupWidget-q7h1v-ko.cjs.map → RadiogroupWidget-BuYMyBQd.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-RUwgtUTC.js → RadiogroupWidget-DNRlJnPE.js} +2 -2
- package/dist/{RadiogroupWidget-RUwgtUTC.js.map → RadiogroupWidget-DNRlJnPE.js.map} +1 -1
- package/dist/{RangebarWidget-BbPMpwMs.cjs → RangebarWidget-gcukfXnM.cjs} +2 -2
- package/dist/{RangebarWidget-BbPMpwMs.cjs.map → RangebarWidget-gcukfXnM.cjs.map} +1 -1
- package/dist/{RangebarWidget-CfDsKLZc.js → RangebarWidget-h4YItqPF.js} +2 -2
- package/dist/{RangebarWidget-CfDsKLZc.js.map → RangebarWidget-h4YItqPF.js.map} +1 -1
- package/dist/{RedisTab-dZE6KvLS.cjs → RedisTab-0V8f-hs1.cjs} +2 -2
- package/dist/{RedisTab-dZE6KvLS.cjs.map → RedisTab-0V8f-hs1.cjs.map} +1 -1
- package/dist/{RedisTab-YrX-5A3T.js → RedisTab-BmZWA0OG.js} +2 -2
- package/dist/{RedisTab-YrX-5A3T.js.map → RedisTab-BmZWA0OG.js.map} +1 -1
- package/dist/{RollupWidget-DCMoQUeJ.js → RollupWidget-CnxDQRQ0.js} +2 -2
- package/dist/{RollupWidget-DCMoQUeJ.js.map → RollupWidget-CnxDQRQ0.js.map} +1 -1
- package/dist/{RollupWidget-BmgRFIOo.cjs → RollupWidget-ZerASRD3.cjs} +2 -2
- package/dist/{RollupWidget-BmgRFIOo.cjs.map → RollupWidget-ZerASRD3.cjs.map} +1 -1
- package/dist/{RoutersTab-C6vejQrw.cjs → RoutersTab-CY-SmZd4.cjs} +2 -2
- package/dist/{RoutersTab-C6vejQrw.cjs.map → RoutersTab-CY-SmZd4.cjs.map} +1 -1
- package/dist/{RoutersTab-MA9KW_gu.js → RoutersTab-Db28gKLP.js} +3 -3
- package/dist/{RoutersTab-MA9KW_gu.js.map → RoutersTab-Db28gKLP.js.map} +1 -1
- package/dist/{ScriptChooser-DGbs03IW.js → ScriptChooser-Bl0wisob.js} +4 -4
- package/dist/{ScriptChooser-DGbs03IW.js.map → ScriptChooser-Bl0wisob.js.map} +1 -1
- package/dist/{ScriptChooser-Cm_HEyBf.cjs → ScriptChooser-CI4lAYZ1.cjs} +2 -2
- package/dist/{ScriptChooser-Cm_HEyBf.cjs.map → ScriptChooser-CI4lAYZ1.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-BbASNNcM.cjs → ScrollwindowWidget-BJkQ5uX_.cjs} +2 -2
- package/dist/{ScrollwindowWidget-BbASNNcM.cjs.map → ScrollwindowWidget-BJkQ5uX_.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-DarXe7-1.js → ScrollwindowWidget-DFkTJ2Ue.js} +2 -2
- package/dist/{ScrollwindowWidget-DarXe7-1.js.map → ScrollwindowWidget-DFkTJ2Ue.js.map} +1 -1
- package/dist/{SecretsTab-DwE3KJNI.cjs → SecretsTab-B8YTrfQ2.cjs} +2 -2
- package/dist/{SecretsTab-DwE3KJNI.cjs.map → SecretsTab-B8YTrfQ2.cjs.map} +1 -1
- package/dist/{SecretsTab-DTaPAHv3.js → SecretsTab-DTdVLi0I.js} +2 -2
- package/dist/{SecretsTab-DTaPAHv3.js.map → SecretsTab-DTdVLi0I.js.map} +1 -1
- package/dist/{SettingsTab-BhT5sui9.js → SettingsTab-CnybxvVj.js} +4 -4
- package/dist/{SettingsTab-BhT5sui9.js.map → SettingsTab-CnybxvVj.js.map} +1 -1
- package/dist/{SettingsTab-o9tfAuE4.cjs → SettingsTab-_SJLhuk0.cjs} +2 -2
- package/dist/{SettingsTab-o9tfAuE4.cjs.map → SettingsTab-_SJLhuk0.cjs.map} +1 -1
- package/dist/{SignalWidget-CO3UaFok.cjs → SignalWidget-DC7-NIOj.cjs} +2 -2
- package/dist/{SignalWidget-CO3UaFok.cjs.map → SignalWidget-DC7-NIOj.cjs.map} +1 -1
- package/dist/{SignalWidget-C-iEC5KL.js → SignalWidget-jYpXSIfD.js} +2 -2
- package/dist/{SignalWidget-C-iEC5KL.js.map → SignalWidget-jYpXSIfD.js.map} +1 -1
- package/dist/{SimpleTextDialog-B9ZurpdS.cjs → SimpleTextDialog-DLdHGmmb.cjs} +2 -2
- package/dist/{SimpleTextDialog-B9ZurpdS.cjs.map → SimpleTextDialog-DLdHGmmb.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-Bqh3eT2B.js → SimpleTextDialog-Dd3BoNG-.js} +2 -2
- package/dist/{SimpleTextDialog-Bqh3eT2B.js.map → SimpleTextDialog-Dd3BoNG-.js.map} +1 -1
- package/dist/{SpacerWidget-CQh-LB4u.cjs → SpacerWidget-BwwxG8k3.cjs} +2 -2
- package/dist/{SpacerWidget-CQh-LB4u.cjs.map → SpacerWidget-BwwxG8k3.cjs.map} +1 -1
- package/dist/{SpacerWidget-FHxUhs1G.js → SpacerWidget-CUqvml6o.js} +2 -2
- package/dist/{SpacerWidget-FHxUhs1G.js.map → SpacerWidget-CUqvml6o.js.map} +1 -1
- package/dist/{SparklineWidget-BsMIozYC.cjs → SparklineWidget-05TlKC-x.cjs} +2 -2
- package/dist/{SparklineWidget-BsMIozYC.cjs.map → SparklineWidget-05TlKC-x.cjs.map} +1 -1
- package/dist/{SparklineWidget-ClT5Umm2.js → SparklineWidget-CVf1TtjV.js} +4 -4
- package/dist/{SparklineWidget-ClT5Umm2.js.map → SparklineWidget-CVf1TtjV.js.map} +1 -1
- package/dist/{TabbookWidget-D-b0v0oo.js → TabbookWidget-CTUEpDnn.js} +2 -2
- package/dist/{TabbookWidget-D-b0v0oo.js.map → TabbookWidget-CTUEpDnn.js.map} +1 -1
- package/dist/{TabbookWidget-So-oaWd4.cjs → TabbookWidget-oZre4A6Y.cjs} +2 -2
- package/dist/{TabbookWidget-So-oaWd4.cjs.map → TabbookWidget-oZre4A6Y.cjs.map} +1 -1
- package/dist/TargetPacketItemChooser-BvXBVNLj.cjs +2 -0
- package/dist/TargetPacketItemChooser-BvXBVNLj.cjs.map +1 -0
- package/dist/{TargetPacketItemChooser-DD7JgCD9.js → TargetPacketItemChooser-CS2Vvi2U.js} +22 -22
- package/dist/TargetPacketItemChooser-CS2Vvi2U.js.map +1 -0
- package/dist/{TargetsTab-BD0JGvAl.cjs → TargetsTab-Bc7-iav6.cjs} +2 -2
- package/dist/{TargetsTab-BD0JGvAl.cjs.map → TargetsTab-Bc7-iav6.cjs.map} +1 -1
- package/dist/{TargetsTab-hTLe_rba.js → TargetsTab-CGv0GwAF.js} +3 -3
- package/dist/{TargetsTab-hTLe_rba.js.map → TargetsTab-CGv0GwAF.js.map} +1 -1
- package/dist/{TextboxWidget-WM3eFUR_.js → TextboxWidget-B0Y1W7GP.js} +4 -4
- package/dist/{TextboxWidget-WM3eFUR_.js.map → TextboxWidget-B0Y1W7GP.js.map} +1 -1
- package/dist/{TextboxWidget-CF4iq315.cjs → TextboxWidget-qSbx4xxD.cjs} +2 -2
- package/dist/{TextboxWidget-CF4iq315.cjs.map → TextboxWidget-qSbx4xxD.cjs.map} +1 -1
- package/dist/{TextfieldWidget-lfc1Vg51.js → TextfieldWidget-B8TAf9oU.js} +2 -2
- package/dist/{TextfieldWidget-lfc1Vg51.js.map → TextfieldWidget-B8TAf9oU.js.map} +1 -1
- package/dist/{TextfieldWidget-D9BINKRU.cjs → TextfieldWidget-cCG7BQ25.cjs} +2 -2
- package/dist/{TextfieldWidget-D9BINKRU.cjs.map → TextfieldWidget-cCG7BQ25.cjs.map} +1 -1
- package/dist/{TimeWidget-CgtJbnnC.cjs → TimeWidget-DNkhFoZO.cjs} +2 -2
- package/dist/{TimeWidget-CgtJbnnC.cjs.map → TimeWidget-DNkhFoZO.cjs.map} +1 -1
- package/dist/{TimeWidget-B13aIVqG.js → TimeWidget-DewVXks0.js} +3 -3
- package/dist/{TimeWidget-B13aIVqG.js.map → TimeWidget-DewVXks0.js.map} +1 -1
- package/dist/{TitleWidget-CTAMgzU4.js → TitleWidget-BAq2LGJF.js} +2 -2
- package/dist/{TitleWidget-CTAMgzU4.js.map → TitleWidget-BAq2LGJF.js.map} +1 -1
- package/dist/{TitleWidget-BV2sDP_-.cjs → TitleWidget-ChGb6BJW.cjs} +2 -2
- package/dist/{TitleWidget-BV2sDP_-.cjs.map → TitleWidget-ChGb6BJW.cjs.map} +1 -1
- package/dist/{ToolsTab-DXK-L-kx.cjs → ToolsTab-CB_6hFQF.cjs} +2 -2
- package/dist/{ToolsTab-DXK-L-kx.cjs.map → ToolsTab-CB_6hFQF.cjs.map} +1 -1
- package/dist/{ToolsTab-CmhRtClS.js → ToolsTab-USmbUvDq.js} +3 -3
- package/dist/{ToolsTab-CmhRtClS.js.map → ToolsTab-USmbUvDq.js.map} +1 -1
- package/dist/{TopBar-D-lJHb6d.js → TopBar-B4RDkLs-.js} +2 -2
- package/dist/{TopBar-D-lJHb6d.js.map → TopBar-B4RDkLs-.js.map} +1 -1
- package/dist/{TopBar-BiE7GgIN.cjs → TopBar-DzL3L4ih.cjs} +2 -2
- package/dist/{TopBar-BiE7GgIN.cjs.map → TopBar-DzL3L4ih.cjs.map} +1 -1
- package/dist/TsdbTab-0aYlysh5.js +125 -0
- package/dist/TsdbTab-0aYlysh5.js.map +1 -0
- package/dist/TsdbTab-H64XGfOO.cjs +2 -0
- package/dist/TsdbTab-H64XGfOO.cjs.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog-D1_viCAx.cjs → UpgradeToEnterpriseDialog-BBRXrLrL.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-D1_viCAx.cjs.map → UpgradeToEnterpriseDialog-BBRXrLrL.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-et3RrozN.js → UpgradeToEnterpriseDialog-DTmnp8xy.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-et3RrozN.js.map → UpgradeToEnterpriseDialog-DTmnp8xy.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-D0cYHPwr.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-CDTSzdb-.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-D0cYHPwr.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-CDTSzdb-.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-DtL207xP.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-MfH160rD.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-DtL207xP.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-MfH160rD.cjs.map} +1 -1
- package/dist/{VWidget-0kkhOxhV.js → VWidget-0KwtSssI.js} +3 -3
- package/dist/{VWidget-0kkhOxhV.js.map → VWidget-0KwtSssI.js.map} +1 -1
- package/dist/{VWidget-Dkji3VZ0.cjs → VWidget-SWmlQP30.cjs} +2 -2
- package/dist/{VWidget-Dkji3VZ0.cjs.map → VWidget-SWmlQP30.cjs.map} +1 -1
- package/dist/{ValueWidget-BoQfnx8U.js → ValueWidget-BGNqaaRs.js} +4 -4
- package/dist/{ValueWidget-BoQfnx8U.js.map → ValueWidget-BGNqaaRs.js.map} +1 -1
- package/dist/{ValueWidget-mkXMZvdK.cjs → ValueWidget-BfxZq1LD.cjs} +2 -2
- package/dist/{ValueWidget-mkXMZvdK.cjs.map → ValueWidget-BfxZq1LD.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-ZfgwDNqX.js → ValuelimitsbarWidget-B6mH4PdF.js} +4 -4
- package/dist/{ValuelimitsbarWidget-ZfgwDNqX.js.map → ValuelimitsbarWidget-B6mH4PdF.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-B8IUYgYx.cjs → ValuelimitsbarWidget-m5fBewLy.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-B8IUYgYx.cjs.map → ValuelimitsbarWidget-m5fBewLy.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-B7DigaiC.cjs → ValuelimitscolumnWidget-D_5XZhiD.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-B7DigaiC.cjs.map → ValuelimitscolumnWidget-D_5XZhiD.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-B3x9DknL.js → ValuelimitscolumnWidget-DlX90_-6.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-B3x9DknL.js.map → ValuelimitscolumnWidget-DlX90_-6.js.map} +1 -1
- package/dist/{ValuerangebarWidget-DA4X0MuO.cjs → ValuerangebarWidget-C3XFFRhf.cjs} +2 -2
- package/dist/{ValuerangebarWidget-DA4X0MuO.cjs.map → ValuerangebarWidget-C3XFFRhf.cjs.map} +1 -1
- package/dist/{ValuerangebarWidget-40InNHft.js → ValuerangebarWidget-C9xyLOJO.js} +4 -4
- package/dist/{ValuerangebarWidget-40InNHft.js.map → ValuerangebarWidget-C9xyLOJO.js.map} +1 -1
- package/dist/{VerticalWidget-abr1X6L7.js → VerticalWidget-0UbbE2g3.js} +2 -2
- package/dist/{VerticalWidget-abr1X6L7.js.map → VerticalWidget-0UbbE2g3.js.map} +1 -1
- package/dist/{VerticalWidget-BiFa3xbs.cjs → VerticalWidget-D-U8cue6.cjs} +2 -2
- package/dist/{VerticalWidget-BiFa3xbs.cjs.map → VerticalWidget-D-U8cue6.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-Cx30rcqe.cjs → VerticalboxWidget-C4nkJhEd.cjs} +2 -2
- package/dist/{VerticalboxWidget-Cx30rcqe.cjs.map → VerticalboxWidget-C4nkJhEd.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-DsbB17o-.js → VerticalboxWidget-efbeOAKE.js} +5 -5
- package/dist/{VerticalboxWidget-DsbB17o-.js.map → VerticalboxWidget-efbeOAKE.js.map} +1 -1
- package/dist/{Widget-DksaxMdD.js → Widget-CGePksBA.js} +2 -2
- package/dist/{Widget-DksaxMdD.js.map → Widget-CGePksBA.js.map} +1 -1
- package/dist/{Widget-VL9FlMQp.cjs → Widget-D0drYWOT.cjs} +2 -2
- package/dist/{Widget-VL9FlMQp.cjs.map → Widget-D0drYWOT.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +16 -16
- package/dist/{index-BRc4sKEF.js → index-BJrYCoCB.js} +19 -13
- package/dist/index-BJrYCoCB.js.map +1 -0
- package/dist/{index-Qy49-kGB.cjs → index-Cmp6oZpm.cjs} +2 -2
- package/dist/index-Cmp6oZpm.cjs.map +1 -0
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +1 -1
- package/dist/plugins.js.map +1 -1
- package/dist/purify.es-4pyphLiB.cjs +3 -0
- package/dist/purify.es-4pyphLiB.cjs.map +1 -0
- package/dist/{purify.es-DcWaZU6I.js → purify.es-BPDBzHtc.js} +115 -115
- package/dist/purify.es-BPDBzHtc.js.map +1 -0
- package/dist/{settings-BDlsBCNk.js → settings-CjmDHCpE.js} +2 -2
- package/dist/{settings-BDlsBCNk.js.map → settings-CjmDHCpE.js.map} +1 -1
- package/dist/{settings-D3MxiRHY.cjs → settings-l1j_GGzu.cjs} +2 -2
- package/dist/{settings-D3MxiRHY.cjs.map → settings-l1j_GGzu.cjs.map} +1 -1
- package/dist/tools/admin.cjs +1 -1
- package/dist/tools/admin.js +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.js +4 -4
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +8 -8
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +1477 -1067
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +64 -64
- package/package.json +7 -7
- package/dist/EventListDialog-CktWO2jn.js.map +0 -1
- package/dist/EventListDialog-EAGLDaHc.cjs +0 -2
- package/dist/EventListDialog-EAGLDaHc.cjs.map +0 -1
- package/dist/Graph-9_EZ9aQx.cjs +0 -2
- package/dist/Graph-9_EZ9aQx.cjs.map +0 -1
- package/dist/Graph-GhpiUBKI.js.map +0 -1
- package/dist/PluginsTab-D7zpmf8s.js.map +0 -1
- package/dist/PluginsTab-DfmpvAYa.cjs +0 -6
- package/dist/PluginsTab-DfmpvAYa.cjs.map +0 -1
- package/dist/TargetPacketItemChooser-DD7JgCD9.js.map +0 -1
- package/dist/TargetPacketItemChooser-PqyXKRlT.cjs +0 -2
- package/dist/TargetPacketItemChooser-PqyXKRlT.cjs.map +0 -1
- package/dist/index-BRc4sKEF.js.map +0 -1
- package/dist/index-Qy49-kGB.cjs.map +0 -1
- package/dist/purify.es-B336bjAn.cjs +0 -3
- package/dist/purify.es-B336bjAn.cjs.map +0 -1
- package/dist/purify.es-DcWaZU6I.js.map +0 -1
|
@@ -1,155 +1,155 @@
|
|
|
1
|
-
import { y as
|
|
2
|
-
import { resolveComponent as r, createElementBlock as
|
|
1
|
+
import { y as Se, F as T, b as Ae } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-CDTSzdb-.js";
|
|
2
|
+
import { resolveComponent as r, createElementBlock as z, openBlock as g, createVNode as s, createBlock as R, createCommentVNode as P, withCtx as l, createTextVNode as b, createElementVNode as y, withDirectives as Ne, vShow as He, toDisplayString as B, mergeProps as Z, normalizeClass as fe, inject as ne, getCurrentInstance as Ge, computed as Q, ref as re, watch as ke, onMounted as Le, onBeforeUnmount as Be, normalizeStyle as he, unref as qe, renderSlot as Ke, useSlots as je, provide as te, resolveDynamicComponent as We, nextTick as Ie, h as Je, withKeys as ae, withModifiers as X, Fragment as $, renderList as ie, createSlots as Ye, normalizeProps as oe, guardReactiveProps as le } from "vue";
|
|
3
3
|
import { _ as J } from "../CustomIcon-Cg3jCA_l.js";
|
|
4
|
-
import { T as
|
|
4
|
+
import { T as Ze } from "../timeFilters-DTOZtBlG.js";
|
|
5
5
|
import "../store-CO68rDJT.js";
|
|
6
6
|
import "single-spa";
|
|
7
|
-
import { O as
|
|
8
|
-
import { f as
|
|
9
|
-
import { a as
|
|
10
|
-
import { u as
|
|
11
|
-
import { T as
|
|
12
|
-
import { E as
|
|
13
|
-
import { f as
|
|
14
|
-
import { C as
|
|
15
|
-
import { g as
|
|
16
|
-
import { S as
|
|
17
|
-
import { _ as
|
|
18
|
-
import "../purify.es-
|
|
19
|
-
import { E as
|
|
7
|
+
import { O as Xe, A as Qe } from "../OutputDialog-BY-TZNRl.js";
|
|
8
|
+
import { f as ye } from "../format-CJYjW-xx.js";
|
|
9
|
+
import { a as $e } from "../index-C7Uj4U87.js";
|
|
10
|
+
import { u as et } from "../useContainerHeight-BAw05dIa.js";
|
|
11
|
+
import { T as tt, A as we } from "../TopBar-B4RDkLs-.js";
|
|
12
|
+
import { E as it, C as st } from "../ScriptChooser-Bl0wisob.js";
|
|
13
|
+
import { f as nt } from "../fileIcon-DqRHb1_Z.js";
|
|
14
|
+
import { C as ot } from "../CriticalCmdDialog-C5EZDRSZ.js";
|
|
15
|
+
import { g as De, c as Pe, b as lt, O as rt, F as at, C as dt, T as ut } from "../Openc3Screen-BnM1bNOB.js";
|
|
16
|
+
import { S as ct } from "../SimpleTextDialog-Dd3BoNG-.js";
|
|
17
|
+
import { _ as mt } from "../ClassificationBanners-DGl2HUKd.js";
|
|
18
|
+
import "../purify.es-BPDBzHtc.js";
|
|
19
|
+
import { E as pt } from "../EventListDialog-DL2HHNQG.js";
|
|
20
20
|
const ze = (t) => {
|
|
21
21
|
const e = "(^|[{\\(\\s])", o = "((\\s.+)|(\\(.+\\)))";
|
|
22
22
|
return new RegExp(`${e}${t}${o}`);
|
|
23
|
-
},
|
|
24
|
-
class
|
|
23
|
+
}, ht = /\{/, ft = /['"],\s?['"]/;
|
|
24
|
+
class gt {
|
|
25
25
|
constructor() {
|
|
26
|
-
this.api = new
|
|
26
|
+
this.api = new Se(), this.targets = {}, this.api.get_target_names().then((e) => {
|
|
27
27
|
e.forEach((o) => {
|
|
28
28
|
this.targets[o] = {
|
|
29
29
|
cmd: null,
|
|
30
30
|
tlm: null
|
|
31
31
|
};
|
|
32
32
|
});
|
|
33
|
-
}), this.cmdKeywordExpressions = [],
|
|
33
|
+
}), this.cmdKeywordExpressions = [], De("cmd").then((e) => {
|
|
34
34
|
this.cmdKeywordExpressions = e.data.map(ze);
|
|
35
|
-
}), this.tlmKeywordExpressions = [],
|
|
35
|
+
}), this.tlmKeywordExpressions = [], De("tlm").then((e) => {
|
|
36
36
|
this.tlmKeywordExpressions = e.data.map(ze);
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
async checkText(e) {
|
|
40
40
|
const { linesToCheck: o, linesToSkip: a } = e.split(`
|
|
41
41
|
`).reduce(
|
|
42
|
-
(n,
|
|
43
|
-
if (
|
|
42
|
+
(n, d, h) => {
|
|
43
|
+
if (d = d.trim(), d.match(/^#/))
|
|
44
44
|
return n;
|
|
45
|
-
const
|
|
45
|
+
const c = d.match(
|
|
46
46
|
/^([^#'"]*(?:(?:"[^"]*"|'[^']*')[^#'"]*)*)(#.*)$/
|
|
47
|
-
),
|
|
48
|
-
if (!
|
|
47
|
+
), w = c ? c[1].trim() : d, S = this.cmdKeywordExpressions.reduce((F, N) => F || w.match(N), null), x = this.tlmKeywordExpressions.reduce((F, N) => F || w.match(N), null);
|
|
48
|
+
if (!S && !x)
|
|
49
49
|
return n;
|
|
50
|
-
const
|
|
51
|
-
if (!
|
|
50
|
+
const V = (S || x)[2];
|
|
51
|
+
if (!V)
|
|
52
52
|
return n;
|
|
53
|
-
const
|
|
54
|
-
if (!
|
|
53
|
+
const E = V.match(/[\(\s)]/);
|
|
54
|
+
if (!E)
|
|
55
55
|
return n;
|
|
56
|
-
let U =
|
|
57
|
-
if (U.match(
|
|
58
|
-
return n.linesToSkip.push(
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
61
|
-
const
|
|
62
|
-
if (
|
|
63
|
-
const
|
|
56
|
+
let U = V.substring(E.index + 1).replace(/\)+.*$/, "");
|
|
57
|
+
if (U.match(ht))
|
|
58
|
+
return n.linesToSkip.push(h + 1), n;
|
|
59
|
+
const C = !!U.match(ft);
|
|
60
|
+
if (!C) {
|
|
61
|
+
const F = U.match(/^['"]/);
|
|
62
|
+
if (F) {
|
|
63
|
+
const N = F[0], H = U.indexOf(N, 1);
|
|
64
64
|
H > 0 && (U = U.substring(1, H));
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
const
|
|
68
|
-
|
|
67
|
+
const A = U.split(
|
|
68
|
+
C ? "," : " "
|
|
69
69
|
);
|
|
70
|
-
if (
|
|
70
|
+
if (A.length < 2)
|
|
71
71
|
return n;
|
|
72
|
-
const
|
|
73
|
-
target:
|
|
74
|
-
packet:
|
|
72
|
+
const I = {
|
|
73
|
+
target: A[0],
|
|
74
|
+
packet: A[1]
|
|
75
75
|
};
|
|
76
|
-
if (
|
|
77
|
-
|
|
76
|
+
if (x)
|
|
77
|
+
I.item = A[2];
|
|
78
78
|
else {
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
(
|
|
82
|
-
) :
|
|
79
|
+
const F = A.slice(2);
|
|
80
|
+
C ? I.params = F.map(
|
|
81
|
+
(N) => N.split("=>")[0]
|
|
82
|
+
) : I.params = F.filter((N, H) => H % 2);
|
|
83
83
|
}
|
|
84
|
-
for (const
|
|
85
|
-
typeof F
|
|
86
|
-
(
|
|
84
|
+
for (const F in I)
|
|
85
|
+
typeof I[F] == "string" ? I[F] = I[F].replace(/['"]/g, "").trim() : I[F] = I[F].map(
|
|
86
|
+
(N) => N.replace(/['"]/g, "").trim()
|
|
87
87
|
);
|
|
88
88
|
return n.linesToCheck.push({
|
|
89
|
-
line:
|
|
90
|
-
mnemonic:
|
|
91
|
-
lineNumber:
|
|
89
|
+
line: d,
|
|
90
|
+
mnemonic: I,
|
|
91
|
+
lineNumber: h + 1
|
|
92
92
|
}), n;
|
|
93
93
|
},
|
|
94
94
|
{ linesToCheck: [], linesToSkip: [] }
|
|
95
95
|
), i = await this._checkLines(o);
|
|
96
96
|
return {
|
|
97
97
|
skipped: a.sort(),
|
|
98
|
-
problems: i.sort((n,
|
|
98
|
+
problems: i.sort((n, d) => n.lineNumber - d.lineNumber)
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
async _checkLines(e) {
|
|
102
|
-
const o = [], a =
|
|
102
|
+
const o = [], a = Pe(
|
|
103
103
|
e,
|
|
104
104
|
(i) => i.mnemonic.target
|
|
105
105
|
);
|
|
106
106
|
for (const i in a) {
|
|
107
107
|
if (!this.targets[i]) {
|
|
108
|
-
for (const
|
|
108
|
+
for (const d of a[i])
|
|
109
109
|
o.push({
|
|
110
|
-
...
|
|
110
|
+
...d,
|
|
111
111
|
error: `Target "${i}" does not exist.`
|
|
112
112
|
});
|
|
113
113
|
continue;
|
|
114
114
|
}
|
|
115
|
-
const n =
|
|
115
|
+
const n = Pe(
|
|
116
116
|
a[i],
|
|
117
|
-
(
|
|
117
|
+
(d) => d.mnemonic.packet
|
|
118
118
|
);
|
|
119
|
-
for (const
|
|
120
|
-
for (const
|
|
121
|
-
const
|
|
122
|
-
if (!this.targets[i][
|
|
123
|
-
const
|
|
124
|
-
this.targets[i][
|
|
125
|
-
(
|
|
126
|
-
(
|
|
127
|
-
),
|
|
119
|
+
for (const d in n)
|
|
120
|
+
for (const h of n[d]) {
|
|
121
|
+
const c = h.mnemonic.item ? "tlm" : "cmd";
|
|
122
|
+
if (!this.targets[i][c]) {
|
|
123
|
+
const S = h.mnemonic.item ? "get_all_tlm" : "get_all_cmds", x = await this.api[S](i);
|
|
124
|
+
this.targets[i][c] = x.reduce(
|
|
125
|
+
(k, V) => (k[V.packet_name] = V.items.map(
|
|
126
|
+
(E) => E.name
|
|
127
|
+
), k),
|
|
128
128
|
{}
|
|
129
129
|
);
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
if (!
|
|
131
|
+
const w = this.targets[i][c][d];
|
|
132
|
+
if (!w) {
|
|
133
133
|
o.push({
|
|
134
|
-
...
|
|
135
|
-
error: `${
|
|
134
|
+
...h,
|
|
135
|
+
error: `${c === "tlm" ? "Packet" : "Command"} "${i} ${d}" does not exist.`
|
|
136
136
|
});
|
|
137
137
|
continue;
|
|
138
138
|
}
|
|
139
|
-
if (
|
|
140
|
-
if (!
|
|
139
|
+
if (h.mnemonic.item) {
|
|
140
|
+
if (!w.some((S) => S === h.mnemonic.item)) {
|
|
141
141
|
o.push({
|
|
142
|
-
...
|
|
143
|
-
error: `Item "${i} ${
|
|
142
|
+
...h,
|
|
143
|
+
error: `Item "${i} ${d} ${h.mnemonic.item}" does not exist.`
|
|
144
144
|
});
|
|
145
145
|
continue;
|
|
146
146
|
}
|
|
147
147
|
} else
|
|
148
|
-
for (const
|
|
149
|
-
if (!
|
|
148
|
+
for (const S of h.mnemonic.params)
|
|
149
|
+
if (!w.some((x) => x === S)) {
|
|
150
150
|
o.push({
|
|
151
|
-
...
|
|
152
|
-
error: `Command "${i} ${
|
|
151
|
+
...h,
|
|
152
|
+
error: `Command "${i} ${d}" param "${S}" does not exist.`
|
|
153
153
|
});
|
|
154
154
|
continue;
|
|
155
155
|
}
|
|
@@ -158,9 +158,9 @@ class ft {
|
|
|
158
158
|
return o;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
const
|
|
162
|
-
components: { OutputDialog:
|
|
163
|
-
mixins: [
|
|
161
|
+
const vt = {
|
|
162
|
+
components: { OutputDialog: Xe },
|
|
163
|
+
mixins: [Ze],
|
|
164
164
|
props: {
|
|
165
165
|
tabId: {
|
|
166
166
|
type: Number,
|
|
@@ -246,7 +246,7 @@ const gt = {
|
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
created() {
|
|
249
|
-
this.api = new
|
|
249
|
+
this.api = new Se(), this.api.get_setting("time_zone").then((t) => {
|
|
250
250
|
t && (this.timeZone = t);
|
|
251
251
|
}).catch((t) => {
|
|
252
252
|
}), this.getRunningScripts(), this.getCompletedScripts(), this.refreshTimer = setInterval(() => {
|
|
@@ -260,28 +260,28 @@ const gt = {
|
|
|
260
260
|
getRunningScripts: function() {
|
|
261
261
|
this.runningLoading = !0;
|
|
262
262
|
const t = (this.runningPage - 1) * this.runningItemsPerPage;
|
|
263
|
-
|
|
263
|
+
T.get(
|
|
264
264
|
`/script-api/running-script?scope=DEFAULT&offset=${t}&limit=${this.runningItemsPerPage}`
|
|
265
265
|
).then((e) => {
|
|
266
266
|
const o = e.data.items || [], a = /* @__PURE__ */ new Date();
|
|
267
267
|
o.forEach((i) => {
|
|
268
268
|
if (i.user_display = `${i.user_full_name} (${i.username})`, i.start_time) {
|
|
269
|
-
const n = new Date(i.start_time),
|
|
269
|
+
const n = new Date(i.start_time), d = a - n;
|
|
270
270
|
if (i.start_time_formatted = this.formatDateTimeHMS(
|
|
271
271
|
n,
|
|
272
272
|
this.timeZone
|
|
273
|
-
),
|
|
273
|
+
), d < 0)
|
|
274
274
|
i.duration = "N/A";
|
|
275
|
-
else if (
|
|
275
|
+
else if (d < 1e3)
|
|
276
276
|
i.duration = "< 1s";
|
|
277
|
-
else if (
|
|
278
|
-
i.duration = `${Math.round(
|
|
279
|
-
else if (
|
|
280
|
-
const
|
|
281
|
-
i.duration = `${
|
|
277
|
+
else if (d < 6e4)
|
|
278
|
+
i.duration = `${Math.round(d / 1e3)}s`;
|
|
279
|
+
else if (d < 36e5) {
|
|
280
|
+
const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
281
|
+
i.duration = `${h}m ${c}s`;
|
|
282
282
|
} else {
|
|
283
|
-
const
|
|
284
|
-
i.duration = `${
|
|
283
|
+
const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), w = Math.round(d % 6e4 / 1e3);
|
|
284
|
+
i.duration = `${h}h ${c}m ${w}s`;
|
|
285
285
|
}
|
|
286
286
|
} else
|
|
287
287
|
i.duration = "N/A";
|
|
@@ -302,28 +302,28 @@ const gt = {
|
|
|
302
302
|
getCompletedScripts: function() {
|
|
303
303
|
this.completedLoading = !0;
|
|
304
304
|
const t = (this.completedPage - 1) * this.completedItemsPerPage;
|
|
305
|
-
|
|
305
|
+
T.get(
|
|
306
306
|
`/script-api/completed-scripts?scope=DEFAULT&offset=${t}&limit=${this.completedItemsPerPage}`
|
|
307
307
|
).then((e) => {
|
|
308
308
|
const o = e.data.items || [];
|
|
309
309
|
o.forEach((a) => {
|
|
310
310
|
if (a.user_display = `${a.user_full_name} (${a.username})`, a.start_time && a.end_time) {
|
|
311
|
-
const i = new Date(a.start_time),
|
|
311
|
+
const i = new Date(a.start_time), d = new Date(a.end_time) - i;
|
|
312
312
|
if (a.start_time_formatted = this.formatDateTimeHMS(
|
|
313
313
|
i,
|
|
314
314
|
this.timeZone
|
|
315
|
-
),
|
|
315
|
+
), d < 0)
|
|
316
316
|
a.duration = "N/A";
|
|
317
|
-
else if (
|
|
317
|
+
else if (d < 1e3)
|
|
318
318
|
a.duration = "< 1s";
|
|
319
|
-
else if (
|
|
320
|
-
a.duration = `${Math.round(
|
|
321
|
-
else if (
|
|
322
|
-
const
|
|
323
|
-
a.duration = `${
|
|
319
|
+
else if (d < 6e4)
|
|
320
|
+
a.duration = `${Math.round(d / 1e3)}s`;
|
|
321
|
+
else if (d < 36e5) {
|
|
322
|
+
const h = Math.floor(d / 6e4), c = Math.round(d % 6e4 / 1e3);
|
|
323
|
+
a.duration = `${h}m ${c}s`;
|
|
324
324
|
} else {
|
|
325
|
-
const
|
|
326
|
-
a.duration = `${
|
|
325
|
+
const h = Math.floor(d / 36e5), c = Math.floor(d % 36e5 / 6e4), w = Math.round(d % 6e4 / 1e3);
|
|
326
|
+
a.duration = `${h}h ${c}m ${w}s`;
|
|
327
327
|
}
|
|
328
328
|
} else
|
|
329
329
|
a.duration = "N/A";
|
|
@@ -364,7 +364,7 @@ const gt = {
|
|
|
364
364
|
okText: "Stop",
|
|
365
365
|
cancelText: "Cancel"
|
|
366
366
|
}
|
|
367
|
-
).then((e) =>
|
|
367
|
+
).then((e) => T.post(`/script-api/running-script/${t.name}/delete`)).then((e) => {
|
|
368
368
|
this.$notify.normal({
|
|
369
369
|
body: `Stopped script: ${t.name} ${t.filename}`
|
|
370
370
|
}), this.getRunningScripts();
|
|
@@ -376,7 +376,7 @@ const gt = {
|
|
|
376
376
|
},
|
|
377
377
|
viewScriptLog: function(t, e) {
|
|
378
378
|
let o = null;
|
|
379
|
-
e === "report" ? (this.dialogName = "Report", o = t.report) : (this.dialogName = "Log", o = t.log),
|
|
379
|
+
e === "report" ? (this.dialogName = "Report", o = t.report) : (this.dialogName = "Log", o = t.log), T.get(
|
|
380
380
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
381
381
|
o
|
|
382
382
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
@@ -387,27 +387,27 @@ const gt = {
|
|
|
387
387
|
},
|
|
388
388
|
downloadScriptLog: function(t, e, o = "text") {
|
|
389
389
|
let a = null;
|
|
390
|
-
e === "report" ? (this.dialogName = "Report", a = t.report) : (this.dialogName = "Log", a = t.log), this.downloadScript = t, o === "ctrf" && e === "report" ?
|
|
390
|
+
e === "report" ? (this.dialogName = "Report", a = t.report) : (this.dialogName = "Log", a = t.log), this.downloadScript = t, o === "ctrf" && e === "report" ? T.get(
|
|
391
391
|
`/openc3-api/storage/download_file/${encodeURIComponent(
|
|
392
392
|
a
|
|
393
393
|
)}?bucket=OPENC3_LOGS_BUCKET&format=ctrf`
|
|
394
394
|
).then((i) => {
|
|
395
395
|
const n = new Blob([window.atob(i.data.contents)], {
|
|
396
396
|
type: "application/json"
|
|
397
|
-
}),
|
|
398
|
-
|
|
397
|
+
}), d = document.createElement("a");
|
|
398
|
+
d.href = URL.createObjectURL(n), d.setAttribute("download", i.data.filename), d.click(), this.downloadScript = null;
|
|
399
399
|
}).catch(() => {
|
|
400
400
|
this.$notify.caution({
|
|
401
401
|
title: `Unable to download log ${a}`,
|
|
402
402
|
body: `You may be able to download this log manually from the 'logs' bucket at ${a}`
|
|
403
403
|
}), this.downloadScript = null;
|
|
404
|
-
}) :
|
|
404
|
+
}) : T.get(
|
|
405
405
|
`/openc3-api/storage/download/${encodeURIComponent(
|
|
406
406
|
a
|
|
407
407
|
)}?bucket=OPENC3_LOGS_BUCKET`
|
|
408
408
|
).then((i) => {
|
|
409
|
-
const n = a.split("/"),
|
|
410
|
-
|
|
409
|
+
const n = a.split("/"), d = n[n.length - 1], h = document.createElement("a");
|
|
410
|
+
h.href = i.data.url, h.setAttribute("download", d), h.click(), this.downloadScript = null;
|
|
411
411
|
}).catch(() => {
|
|
412
412
|
this.$notify.caution({
|
|
413
413
|
title: `Unable to download log ${a}`,
|
|
@@ -416,61 +416,61 @@ const gt = {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
},
|
|
420
|
-
function
|
|
421
|
-
const
|
|
422
|
-
return
|
|
419
|
+
}, _t = { key: 0 }, bt = { key: 1 };
|
|
420
|
+
function wt(t, e, o, a, i, n) {
|
|
421
|
+
const d = r("v-tab"), h = r("v-tabs"), c = r("v-spacer"), w = r("v-btn"), S = r("v-text-field"), x = r("v-row"), k = r("v-card-title"), V = r("v-icon"), E = r("v-data-table-server"), U = r("v-window-item"), C = r("v-list-item-title"), A = r("v-list-item"), I = r("v-list"), F = r("v-menu"), N = r("v-window"), H = r("v-card"), L = r("output-dialog");
|
|
422
|
+
return g(), z("div", null, [
|
|
423
423
|
s(H, {
|
|
424
424
|
flat: "",
|
|
425
425
|
class: "tab-card"
|
|
426
426
|
}, {
|
|
427
427
|
default: l(() => [
|
|
428
|
-
s(
|
|
428
|
+
s(h, {
|
|
429
429
|
modelValue: i.activeTab,
|
|
430
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
430
|
+
"onUpdate:modelValue": e[0] || (e[0] = (M) => i.activeTab = M),
|
|
431
431
|
"bg-color": "var(--color-background-base-default)"
|
|
432
432
|
}, {
|
|
433
433
|
default: l(() => [
|
|
434
|
-
s(
|
|
434
|
+
s(d, { value: "running" }, {
|
|
435
435
|
default: l(() => [...e[6] || (e[6] = [
|
|
436
|
-
|
|
436
|
+
b("Running Scripts", -1)
|
|
437
437
|
])]),
|
|
438
438
|
_: 1
|
|
439
439
|
}),
|
|
440
|
-
s(
|
|
440
|
+
s(d, { value: "completed" }, {
|
|
441
441
|
default: l(() => [...e[7] || (e[7] = [
|
|
442
|
-
|
|
442
|
+
b("Completed Scripts", -1)
|
|
443
443
|
])]),
|
|
444
444
|
_: 1
|
|
445
445
|
})
|
|
446
446
|
]),
|
|
447
447
|
_: 1
|
|
448
448
|
}, 8, ["modelValue"]),
|
|
449
|
-
s(
|
|
449
|
+
s(N, {
|
|
450
450
|
modelValue: i.activeTab,
|
|
451
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
451
|
+
"onUpdate:modelValue": e[3] || (e[3] = (M) => i.activeTab = M)
|
|
452
452
|
}, {
|
|
453
453
|
default: l(() => [
|
|
454
454
|
s(U, { value: "running" }, {
|
|
455
455
|
default: l(() => [
|
|
456
|
-
s(
|
|
456
|
+
s(k, null, {
|
|
457
457
|
default: l(() => [
|
|
458
|
-
s(
|
|
458
|
+
s(x, { dense: "" }, {
|
|
459
459
|
default: l(() => [
|
|
460
|
-
s(
|
|
461
|
-
s(
|
|
460
|
+
s(c),
|
|
461
|
+
s(w, {
|
|
462
462
|
class: "mr-3",
|
|
463
463
|
color: "primary",
|
|
464
464
|
onClick: n.getRunningScripts
|
|
465
465
|
}, {
|
|
466
466
|
default: l(() => [...e[8] || (e[8] = [
|
|
467
|
-
|
|
467
|
+
b("Refresh", -1)
|
|
468
468
|
])]),
|
|
469
469
|
_: 1
|
|
470
470
|
}, 8, ["onClick"]),
|
|
471
|
-
s(
|
|
471
|
+
s(S, {
|
|
472
472
|
modelValue: i.runningSearch,
|
|
473
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
473
|
+
"onUpdate:modelValue": e[1] || (e[1] = (M) => i.runningSearch = M),
|
|
474
474
|
class: "pt-0 search",
|
|
475
475
|
label: "Search",
|
|
476
476
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -488,7 +488,7 @@ function bt(t, e, o, a, i, n) {
|
|
|
488
488
|
]),
|
|
489
489
|
_: 1
|
|
490
490
|
}),
|
|
491
|
-
s(
|
|
491
|
+
s(E, {
|
|
492
492
|
headers: i.runningHeaders,
|
|
493
493
|
items: i.runningScripts,
|
|
494
494
|
"items-length": i.runningTotal,
|
|
@@ -503,28 +503,28 @@ function bt(t, e, o, a, i, n) {
|
|
|
503
503
|
"onUpdate:page": n.updateRunningPage,
|
|
504
504
|
"onUpdate:itemsPerPage": n.updateRunningItemsPerPage
|
|
505
505
|
}, {
|
|
506
|
-
"item.name": l(({ item:
|
|
507
|
-
s(
|
|
506
|
+
"item.name": l(({ item: M }) => [
|
|
507
|
+
s(w, {
|
|
508
508
|
color: "primary",
|
|
509
509
|
density: "comfortable",
|
|
510
|
-
onClick: (
|
|
510
|
+
onClick: (q) => n.showScript(M)
|
|
511
511
|
}, {
|
|
512
512
|
default: l(() => [
|
|
513
|
-
|
|
513
|
+
b(B(M.name), 1)
|
|
514
514
|
]),
|
|
515
515
|
_: 2
|
|
516
516
|
}, 1032, ["onClick"])
|
|
517
517
|
]),
|
|
518
|
-
"item.connect": l(({ item:
|
|
519
|
-
s(
|
|
518
|
+
"item.connect": l(({ item: M }) => [
|
|
519
|
+
s(w, {
|
|
520
520
|
color: "primary",
|
|
521
|
-
onClick: (
|
|
521
|
+
onClick: (q) => n.connectScript(M)
|
|
522
522
|
}, {
|
|
523
523
|
default: l(() => [
|
|
524
|
-
e[10] || (e[10] =
|
|
525
|
-
Ne(s(
|
|
524
|
+
e[10] || (e[10] = y("span", null, "Connect", -1)),
|
|
525
|
+
Ne(s(V, { end: "" }, {
|
|
526
526
|
default: l(() => [...e[9] || (e[9] = [
|
|
527
|
-
|
|
527
|
+
b(" mdi-open-in-new ", -1)
|
|
528
528
|
])]),
|
|
529
529
|
_: 1
|
|
530
530
|
}, 512), [
|
|
@@ -534,16 +534,16 @@ function bt(t, e, o, a, i, n) {
|
|
|
534
534
|
_: 1
|
|
535
535
|
}, 8, ["onClick"])
|
|
536
536
|
]),
|
|
537
|
-
"item.stop": l(({ item:
|
|
538
|
-
s(
|
|
537
|
+
"item.stop": l(({ item: M }) => [
|
|
538
|
+
s(w, {
|
|
539
539
|
color: "primary",
|
|
540
|
-
onClick: (
|
|
540
|
+
onClick: (q) => n.deleteScript(M)
|
|
541
541
|
}, {
|
|
542
542
|
default: l(() => [
|
|
543
|
-
e[12] || (e[12] =
|
|
544
|
-
s(
|
|
543
|
+
e[12] || (e[12] = y("span", null, "Stop", -1)),
|
|
544
|
+
s(V, { end: "" }, {
|
|
545
545
|
default: l(() => [...e[11] || (e[11] = [
|
|
546
|
-
|
|
546
|
+
b(" mdi-close-circle-outline ", -1)
|
|
547
547
|
])]),
|
|
548
548
|
_: 1
|
|
549
549
|
})
|
|
@@ -558,24 +558,24 @@ function bt(t, e, o, a, i, n) {
|
|
|
558
558
|
}),
|
|
559
559
|
s(U, { value: "completed" }, {
|
|
560
560
|
default: l(() => [
|
|
561
|
-
s(
|
|
561
|
+
s(k, null, {
|
|
562
562
|
default: l(() => [
|
|
563
|
-
s(
|
|
563
|
+
s(x, { dense: "" }, {
|
|
564
564
|
default: l(() => [
|
|
565
|
-
s(
|
|
566
|
-
s(
|
|
565
|
+
s(c),
|
|
566
|
+
s(w, {
|
|
567
567
|
class: "mr-3",
|
|
568
568
|
color: "primary",
|
|
569
569
|
onClick: n.getCompletedScripts
|
|
570
570
|
}, {
|
|
571
571
|
default: l(() => [...e[13] || (e[13] = [
|
|
572
|
-
|
|
572
|
+
b("Refresh", -1)
|
|
573
573
|
])]),
|
|
574
574
|
_: 1
|
|
575
575
|
}, 8, ["onClick"]),
|
|
576
|
-
s(
|
|
576
|
+
s(S, {
|
|
577
577
|
modelValue: i.completedSearch,
|
|
578
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
578
|
+
"onUpdate:modelValue": e[2] || (e[2] = (M) => i.completedSearch = M),
|
|
579
579
|
class: "pt-0 search",
|
|
580
580
|
label: "Search",
|
|
581
581
|
"prepend-inner-icon": "mdi-magnify",
|
|
@@ -592,7 +592,7 @@ function bt(t, e, o, a, i, n) {
|
|
|
592
592
|
]),
|
|
593
593
|
_: 1
|
|
594
594
|
}),
|
|
595
|
-
s(
|
|
595
|
+
s(E, {
|
|
596
596
|
headers: i.completedHeaders,
|
|
597
597
|
items: i.completedScripts,
|
|
598
598
|
"items-length": i.completedTotal,
|
|
@@ -607,75 +607,75 @@ function bt(t, e, o, a, i, n) {
|
|
|
607
607
|
"onUpdate:page": n.updateCompletedPage,
|
|
608
608
|
"onUpdate:itemsPerPage": n.updateCompletedItemsPerPage
|
|
609
609
|
}, {
|
|
610
|
-
"item.name": l(({ item:
|
|
611
|
-
s(
|
|
610
|
+
"item.name": l(({ item: M }) => [
|
|
611
|
+
s(w, {
|
|
612
612
|
color: "primary",
|
|
613
613
|
density: "comfortable",
|
|
614
|
-
onClick: (
|
|
614
|
+
onClick: (q) => n.showScript(M)
|
|
615
615
|
}, {
|
|
616
616
|
default: l(() => [
|
|
617
|
-
|
|
617
|
+
b(B(M.name), 1)
|
|
618
618
|
]),
|
|
619
619
|
_: 2
|
|
620
620
|
}, 1032, ["onClick"])
|
|
621
621
|
]),
|
|
622
|
-
"item.log": l(({ item:
|
|
623
|
-
s(
|
|
622
|
+
"item.log": l(({ item: M }) => [
|
|
623
|
+
s(w, {
|
|
624
624
|
color: "primary",
|
|
625
625
|
density: "comfortable",
|
|
626
626
|
icon: "mdi-eye",
|
|
627
|
-
onClick: (
|
|
627
|
+
onClick: (q) => n.viewScriptLog(M, "log")
|
|
628
628
|
}, null, 8, ["onClick"]),
|
|
629
|
-
s(
|
|
629
|
+
s(w, {
|
|
630
630
|
color: "primary",
|
|
631
631
|
density: "comfortable",
|
|
632
632
|
icon: "mdi-file-download-outline",
|
|
633
633
|
disabled: i.downloadScript,
|
|
634
|
-
loading: i.downloadScript && i.downloadScript.name ===
|
|
635
|
-
onClick: (
|
|
634
|
+
loading: i.downloadScript && i.downloadScript.name === M.name,
|
|
635
|
+
onClick: (q) => n.downloadScriptLog(M, "log")
|
|
636
636
|
}, null, 8, ["disabled", "loading", "onClick"])
|
|
637
637
|
]),
|
|
638
|
-
"item.report": l(({ item:
|
|
639
|
-
|
|
640
|
-
s(
|
|
638
|
+
"item.report": l(({ item: M }) => [
|
|
639
|
+
M.report ? (g(), z("div", bt, [
|
|
640
|
+
s(w, {
|
|
641
641
|
color: "primary",
|
|
642
642
|
density: "comfortable",
|
|
643
643
|
icon: "mdi-eye",
|
|
644
|
-
onClick: (
|
|
644
|
+
onClick: (q) => n.viewScriptLog(M, "report")
|
|
645
645
|
}, null, 8, ["onClick"]),
|
|
646
|
-
s(
|
|
647
|
-
activator: l(({ props:
|
|
648
|
-
s(
|
|
646
|
+
s(F, null, {
|
|
647
|
+
activator: l(({ props: q }) => [
|
|
648
|
+
s(w, Z({
|
|
649
649
|
color: "primary",
|
|
650
650
|
density: "comfortable",
|
|
651
651
|
icon: "mdi-file-download-outline",
|
|
652
652
|
disabled: i.downloadScript,
|
|
653
|
-
loading: i.downloadScript && i.downloadScript.name ===
|
|
654
|
-
},
|
|
653
|
+
loading: i.downloadScript && i.downloadScript.name === M.name
|
|
654
|
+
}, q), null, 16, ["disabled", "loading"])
|
|
655
655
|
]),
|
|
656
656
|
default: l(() => [
|
|
657
|
-
s(
|
|
657
|
+
s(I, null, {
|
|
658
658
|
default: l(() => [
|
|
659
|
-
s(
|
|
660
|
-
onClick: (
|
|
659
|
+
s(A, {
|
|
660
|
+
onClick: (q) => n.downloadScriptLog(M, "report", "text")
|
|
661
661
|
}, {
|
|
662
662
|
default: l(() => [
|
|
663
|
-
s(
|
|
663
|
+
s(C, null, {
|
|
664
664
|
default: l(() => [...e[15] || (e[15] = [
|
|
665
|
-
|
|
665
|
+
b("Download as Text", -1)
|
|
666
666
|
])]),
|
|
667
667
|
_: 1
|
|
668
668
|
})
|
|
669
669
|
]),
|
|
670
670
|
_: 1
|
|
671
671
|
}, 8, ["onClick"]),
|
|
672
|
-
s(
|
|
673
|
-
onClick: (
|
|
672
|
+
s(A, {
|
|
673
|
+
onClick: (q) => n.downloadScriptLog(M, "report", "ctrf")
|
|
674
674
|
}, {
|
|
675
675
|
default: l(() => [
|
|
676
|
-
s(
|
|
676
|
+
s(C, null, {
|
|
677
677
|
default: l(() => [...e[16] || (e[16] = [
|
|
678
|
-
|
|
678
|
+
b("Download as CTRF", -1)
|
|
679
679
|
])]),
|
|
680
680
|
_: 1
|
|
681
681
|
})
|
|
@@ -688,8 +688,8 @@ function bt(t, e, o, a, i, n) {
|
|
|
688
688
|
]),
|
|
689
689
|
_: 2
|
|
690
690
|
}, 1024)
|
|
691
|
-
])) : (
|
|
692
|
-
|
|
691
|
+
])) : (g(), z("div", _t, [...e[14] || (e[14] = [
|
|
692
|
+
y("span", null, "N/A", -1)
|
|
693
693
|
])]))
|
|
694
694
|
]),
|
|
695
695
|
_: 1
|
|
@@ -703,19 +703,19 @@ function bt(t, e, o, a, i, n) {
|
|
|
703
703
|
]),
|
|
704
704
|
_: 1
|
|
705
705
|
}),
|
|
706
|
-
i.showDialog ? (
|
|
706
|
+
i.showDialog ? (g(), R(L, {
|
|
707
707
|
key: 0,
|
|
708
708
|
modelValue: i.showDialog,
|
|
709
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
709
|
+
"onUpdate:modelValue": e[4] || (e[4] = (M) => i.showDialog = M),
|
|
710
710
|
content: i.dialogContent,
|
|
711
711
|
type: "Script",
|
|
712
712
|
name: i.dialogName,
|
|
713
713
|
filename: i.dialogFilename,
|
|
714
|
-
onSubmit: e[5] || (e[5] = (
|
|
714
|
+
onSubmit: e[5] || (e[5] = (M) => i.showDialog = !1)
|
|
715
715
|
}, null, 8, ["modelValue", "content", "name", "filename"])) : P("", !0)
|
|
716
716
|
]);
|
|
717
717
|
}
|
|
718
|
-
const
|
|
718
|
+
const kt = /* @__PURE__ */ J(vt, [["render", wt]]), yt = {
|
|
719
719
|
props: {
|
|
720
720
|
modelValue: {
|
|
721
721
|
type: Array,
|
|
@@ -759,7 +759,7 @@ const wt = /* @__PURE__ */ J(gt, [["render", bt]]), yt = {
|
|
|
759
759
|
}), o = document.createElement("a");
|
|
760
760
|
o.href = URL.createObjectURL(e), o.setAttribute(
|
|
761
761
|
"download",
|
|
762
|
-
|
|
762
|
+
ye(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_sr_message_log.txt"
|
|
763
763
|
), o.click();
|
|
764
764
|
},
|
|
765
765
|
clearLog: function() {
|
|
@@ -773,13 +773,13 @@ const wt = /* @__PURE__ */ J(gt, [["render", bt]]), yt = {
|
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
775
|
};
|
|
776
|
-
function
|
|
777
|
-
const
|
|
778
|
-
return
|
|
776
|
+
function St(t, e, o, a, i, n) {
|
|
777
|
+
const d = r("v-btn"), h = r("v-spacer"), c = r("v-select"), w = r("v-text-field"), S = r("v-card-title"), x = r("v-data-table"), k = r("v-card-text"), V = r("v-card");
|
|
778
|
+
return g(), R(V, { class: "d-flex flex-column h-100" }, {
|
|
779
779
|
default: l(() => [
|
|
780
|
-
s(
|
|
780
|
+
s(S, { class: "d-flex align-center" }, {
|
|
781
781
|
default: l(() => [
|
|
782
|
-
s(
|
|
782
|
+
s(d, {
|
|
783
783
|
class: "mx-2",
|
|
784
784
|
icon: "mdi-download",
|
|
785
785
|
variant: "text",
|
|
@@ -788,11 +788,11 @@ function kt(t, e, o, a, i, n) {
|
|
|
788
788
|
"aria-label": "Download Log",
|
|
789
789
|
onClick: n.downloadLog
|
|
790
790
|
}, null, 8, ["onClick"]),
|
|
791
|
-
e[2] || (e[2] =
|
|
792
|
-
s(
|
|
793
|
-
s(
|
|
791
|
+
e[2] || (e[2] = b(" Script Messages ", -1)),
|
|
792
|
+
s(h),
|
|
793
|
+
s(c, {
|
|
794
794
|
modelValue: i.messageOrder,
|
|
795
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
795
|
+
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.messageOrder = E),
|
|
796
796
|
density: "compact",
|
|
797
797
|
"hide-details": "",
|
|
798
798
|
variant: "outlined",
|
|
@@ -801,10 +801,10 @@ function kt(t, e, o, a, i, n) {
|
|
|
801
801
|
style: { "max-width": "200px" },
|
|
802
802
|
"data-test": "message-order"
|
|
803
803
|
}, null, 8, ["modelValue", "items"]),
|
|
804
|
-
s(
|
|
805
|
-
s(
|
|
804
|
+
s(h),
|
|
805
|
+
s(w, {
|
|
806
806
|
modelValue: i.search,
|
|
807
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
807
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.search = E),
|
|
808
808
|
label: "Search",
|
|
809
809
|
"prepend-inner-icon": "mdi-magnify",
|
|
810
810
|
clearable: "",
|
|
@@ -815,7 +815,7 @@ function kt(t, e, o, a, i, n) {
|
|
|
815
815
|
class: "search",
|
|
816
816
|
"data-test": "search-messages"
|
|
817
817
|
}, null, 8, ["modelValue"]),
|
|
818
|
-
s(
|
|
818
|
+
s(d, {
|
|
819
819
|
class: "mx-2",
|
|
820
820
|
icon: "mdi-delete-sweep",
|
|
821
821
|
variant: "text",
|
|
@@ -827,9 +827,9 @@ function kt(t, e, o, a, i, n) {
|
|
|
827
827
|
]),
|
|
828
828
|
_: 1
|
|
829
829
|
}),
|
|
830
|
-
s(
|
|
830
|
+
s(k, { class: "overflow-auto" }, {
|
|
831
831
|
default: l(() => [
|
|
832
|
-
s(
|
|
832
|
+
s(x, {
|
|
833
833
|
id: "script-log-messages",
|
|
834
834
|
headers: i.headers,
|
|
835
835
|
items: n.messages,
|
|
@@ -839,10 +839,10 @@ function kt(t, e, o, a, i, n) {
|
|
|
839
839
|
density: "compact",
|
|
840
840
|
"data-test": "output-messages"
|
|
841
841
|
}, {
|
|
842
|
-
"item.message": l(({ item:
|
|
843
|
-
|
|
844
|
-
class:
|
|
845
|
-
},
|
|
842
|
+
"item.message": l(({ item: E }) => [
|
|
843
|
+
y("div", {
|
|
844
|
+
class: fe(n.messageClass(E.message))
|
|
845
|
+
}, B(E.message), 3)
|
|
846
846
|
]),
|
|
847
847
|
_: 1
|
|
848
848
|
}, 8, ["headers", "items", "search"])
|
|
@@ -853,7 +853,7 @@ function kt(t, e, o, a, i, n) {
|
|
|
853
853
|
_: 1
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
|
-
const
|
|
856
|
+
const xt = /* @__PURE__ */ J(yt, [["render", St]]), Ct = {
|
|
857
857
|
__name: "splitpanes",
|
|
858
858
|
props: {
|
|
859
859
|
horizontal: { type: Boolean, default: !1 },
|
|
@@ -876,200 +876,200 @@ const St = /* @__PURE__ */ J(yt, [["render", kt]]), xt = {
|
|
|
876
876
|
"splitter-dblclick"
|
|
877
877
|
],
|
|
878
878
|
setup(t, { emit: e }) {
|
|
879
|
-
const o = e, a = t, i = je(), n =
|
|
879
|
+
const o = e, a = t, i = je(), n = re([]), d = Q(() => n.value.reduce((u, p) => (u[~~p.id] = p) && u, {})), h = Q(() => n.value.length), c = re(null), w = re(!1), S = re({
|
|
880
880
|
mouseDown: !1,
|
|
881
881
|
dragging: !1,
|
|
882
882
|
activeSplitter: null,
|
|
883
883
|
cursorOffset: 0
|
|
884
884
|
// Cursor offset within the splitter.
|
|
885
|
-
}),
|
|
885
|
+
}), x = re({
|
|
886
886
|
// Used to detect double click on touch devices.
|
|
887
887
|
splitter: null,
|
|
888
888
|
timeoutId: null
|
|
889
|
-
}),
|
|
889
|
+
}), k = Q(() => ({
|
|
890
890
|
[`splitpanes splitpanes--${a.horizontal ? "horizontal" : "vertical"}`]: !0,
|
|
891
|
-
"splitpanes--dragging":
|
|
892
|
-
})),
|
|
893
|
-
document.addEventListener("mousemove",
|
|
894
|
-
},
|
|
895
|
-
document.removeEventListener("mousemove",
|
|
896
|
-
}, U = (
|
|
897
|
-
const
|
|
898
|
-
if (
|
|
899
|
-
const { left:
|
|
900
|
-
|
|
891
|
+
"splitpanes--dragging": S.value.dragging
|
|
892
|
+
})), V = () => {
|
|
893
|
+
document.addEventListener("mousemove", C, { passive: !1 }), document.addEventListener("mouseup", A), "ontouchstart" in window && (document.addEventListener("touchmove", C, { passive: !1 }), document.addEventListener("touchend", A));
|
|
894
|
+
}, E = () => {
|
|
895
|
+
document.removeEventListener("mousemove", C, { passive: !1 }), document.removeEventListener("mouseup", A), "ontouchstart" in window && (document.removeEventListener("touchmove", C, { passive: !1 }), document.removeEventListener("touchend", A));
|
|
896
|
+
}, U = (u, p) => {
|
|
897
|
+
const _ = u.target.closest(".splitpanes__splitter");
|
|
898
|
+
if (_) {
|
|
899
|
+
const { left: f, top: v } = _.getBoundingClientRect(), { clientX: O, clientY: D } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
900
|
+
S.value.cursorOffset = a.horizontal ? D - v : O - f;
|
|
901
901
|
}
|
|
902
|
-
|
|
903
|
-
},
|
|
904
|
-
|
|
905
|
-
|
|
902
|
+
V(), S.value.mouseDown = !0, S.value.activeSplitter = p;
|
|
903
|
+
}, C = (u) => {
|
|
904
|
+
S.value.mouseDown && (u.preventDefault(), S.value.dragging = !0, requestAnimationFrame(() => {
|
|
905
|
+
M(H(u)), K("resize", { event: u }, !0);
|
|
906
906
|
}));
|
|
907
|
-
},
|
|
908
|
-
|
|
909
|
-
|
|
907
|
+
}, A = (u) => {
|
|
908
|
+
S.value.dragging && (window.getSelection().removeAllRanges(), K("resized", { event: u }, !0)), S.value.mouseDown = !1, S.value.activeSplitter = null, setTimeout(() => {
|
|
909
|
+
S.value.dragging = !1, E();
|
|
910
910
|
}, 100);
|
|
911
|
-
},
|
|
912
|
-
"ontouchstart" in window && (
|
|
913
|
-
},
|
|
914
|
-
if (
|
|
915
|
-
let
|
|
916
|
-
n.value = n.value.map((
|
|
911
|
+
}, I = (u, p) => {
|
|
912
|
+
"ontouchstart" in window && (u.preventDefault(), x.value.splitter === p ? (clearTimeout(x.value.timeoutId), x.value.timeoutId = null, F(u, p), x.value.splitter = null) : (x.value.splitter = p, x.value.timeoutId = setTimeout(() => x.value.splitter = null, 500))), S.value.dragging || K("splitter-click", { event: u, index: p }, !0);
|
|
913
|
+
}, F = (u, p) => {
|
|
914
|
+
if (K("splitter-dblclick", { event: u, index: p }, !0), a.maximizePanes) {
|
|
915
|
+
let _ = 0;
|
|
916
|
+
n.value = n.value.map((f, v) => (f.size = v === p ? f.max : f.min, v !== p && (_ += f.min), f)), n.value[p].size -= _, K("pane-maximize", { event: u, index: p, pane: n.value[p] }), K("resized", { event: u, index: p }, !0);
|
|
917
917
|
}
|
|
918
|
-
},
|
|
919
|
-
|
|
920
|
-
event:
|
|
921
|
-
index:
|
|
922
|
-
pane:
|
|
918
|
+
}, N = (u, p) => {
|
|
919
|
+
K("pane-click", {
|
|
920
|
+
event: u,
|
|
921
|
+
index: d.value[p].index,
|
|
922
|
+
pane: d.value[p]
|
|
923
923
|
});
|
|
924
|
-
}, H = (
|
|
925
|
-
const p =
|
|
924
|
+
}, H = (u) => {
|
|
925
|
+
const p = c.value.getBoundingClientRect(), { clientX: _, clientY: f } = "ontouchstart" in window && u.touches ? u.touches[0] : u;
|
|
926
926
|
return {
|
|
927
|
-
x:
|
|
928
|
-
y:
|
|
927
|
+
x: _ - (a.horizontal ? 0 : S.value.cursorOffset) - p.left,
|
|
928
|
+
y: f - (a.horizontal ? S.value.cursorOffset : 0) - p.top
|
|
929
929
|
};
|
|
930
|
-
},
|
|
931
|
-
|
|
932
|
-
const p =
|
|
933
|
-
return a.rtl && !a.horizontal && (
|
|
934
|
-
},
|
|
935
|
-
const p =
|
|
936
|
-
let
|
|
937
|
-
prevPanesSize:
|
|
938
|
-
nextPanesSize:
|
|
930
|
+
}, L = (u) => {
|
|
931
|
+
u = u[a.horizontal ? "y" : "x"];
|
|
932
|
+
const p = c.value[a.horizontal ? "clientHeight" : "clientWidth"];
|
|
933
|
+
return a.rtl && !a.horizontal && (u = p - u), u * 100 / p;
|
|
934
|
+
}, M = (u) => {
|
|
935
|
+
const p = S.value.activeSplitter;
|
|
936
|
+
let _ = {
|
|
937
|
+
prevPanesSize: de(p),
|
|
938
|
+
nextPanesSize: ee(p),
|
|
939
939
|
prevReachedMinPanes: 0,
|
|
940
940
|
nextReachedMinPanes: 0
|
|
941
941
|
};
|
|
942
|
-
const
|
|
943
|
-
let
|
|
944
|
-
const
|
|
945
|
-
if (
|
|
946
|
-
|
|
942
|
+
const f = 0 + (a.pushOtherPanes ? 0 : _.prevPanesSize), v = 100 - (a.pushOtherPanes ? 0 : _.nextPanesSize), O = Math.max(Math.min(L(u), v), f);
|
|
943
|
+
let D = [p, p + 1], G = n.value[D[0]] || null, j = n.value[D[1]] || null;
|
|
944
|
+
const be = G.max < 100 && O >= G.max + _.prevPanesSize, m = j.max < 100 && O <= 100 - (j.max + ee(p + 1));
|
|
945
|
+
if (be || m) {
|
|
946
|
+
be ? (G.size = G.max, j.size = Math.max(100 - G.max - _.prevPanesSize - _.nextPanesSize, 0)) : (G.size = Math.max(100 - j.max - _.prevPanesSize - ee(p + 1), 0), j.size = j.max);
|
|
947
947
|
return;
|
|
948
948
|
}
|
|
949
949
|
if (a.pushOtherPanes) {
|
|
950
|
-
const
|
|
951
|
-
if (!
|
|
952
|
-
({ sums:
|
|
950
|
+
const W = q(_, O);
|
|
951
|
+
if (!W) return;
|
|
952
|
+
({ sums: _, panesToResize: D } = W), G = n.value[D[0]] || null, j = n.value[D[1]] || null;
|
|
953
953
|
}
|
|
954
|
-
|
|
955
|
-
},
|
|
956
|
-
const
|
|
957
|
-
return p <
|
|
958
|
-
|
|
959
|
-
}),
|
|
960
|
-
|
|
961
|
-
}), n.value[
|
|
962
|
-
|
|
963
|
-
}),
|
|
964
|
-
|
|
965
|
-
}), n.value[
|
|
966
|
-
},
|
|
967
|
-
var
|
|
968
|
-
const p = Array.from(((
|
|
969
|
-
for (const
|
|
970
|
-
const
|
|
971
|
-
!
|
|
954
|
+
G !== null && (G.size = Math.min(Math.max(O - _.prevPanesSize - _.prevReachedMinPanes, G.min), G.max)), j !== null && (j.size = Math.min(Math.max(100 - O - _.nextPanesSize - _.nextReachedMinPanes, j.min), j.max));
|
|
955
|
+
}, q = (u, p) => {
|
|
956
|
+
const _ = S.value.activeSplitter, f = [_, _ + 1];
|
|
957
|
+
return p < u.prevPanesSize + n.value[f[0]].min && (f[0] = xe(_).index, u.prevReachedMinPanes = 0, f[0] < _ && n.value.forEach((v, O) => {
|
|
958
|
+
O > f[0] && O <= _ && (v.size = v.min, u.prevReachedMinPanes += v.min);
|
|
959
|
+
}), u.prevPanesSize = de(f[0]), f[0] === void 0) ? (u.prevReachedMinPanes = 0, n.value[0].size = n.value[0].min, n.value.forEach((v, O) => {
|
|
960
|
+
O > 0 && O <= _ && (v.size = v.min, u.prevReachedMinPanes += v.min);
|
|
961
|
+
}), n.value[f[1]].size = 100 - u.prevReachedMinPanes - n.value[0].min - u.prevPanesSize - u.nextPanesSize, null) : p > 100 - u.nextPanesSize - n.value[f[1]].min && (f[1] = ge(_).index, u.nextReachedMinPanes = 0, f[1] > _ + 1 && n.value.forEach((v, O) => {
|
|
962
|
+
O > _ && O < f[1] && (v.size = v.min, u.nextReachedMinPanes += v.min);
|
|
963
|
+
}), u.nextPanesSize = ee(f[1] - 1), f[1] === void 0) ? (u.nextReachedMinPanes = 0, n.value.forEach((v, O) => {
|
|
964
|
+
O < h.value - 1 && O >= _ + 1 && (v.size = v.min, u.nextReachedMinPanes += v.min);
|
|
965
|
+
}), n.value[f[0]].size = 100 - u.prevPanesSize - ee(f[0] - 1), null) : { sums: u, panesToResize: f };
|
|
966
|
+
}, de = (u) => n.value.reduce((p, _, f) => p + (f < u ? _.size : 0), 0), ee = (u) => n.value.reduce((p, _, f) => p + (f > u + 1 ? _.size : 0), 0), xe = (u) => [...n.value].reverse().find((p) => p.index < u && p.size > p.min) || {}, ge = (u) => n.value.find((p) => p.index > u + 1 && p.size > p.min) || {}, Ce = () => {
|
|
967
|
+
var u;
|
|
968
|
+
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
969
|
+
for (const _ of p) {
|
|
970
|
+
const f = _.classList.contains("splitpanes__pane"), v = _.classList.contains("splitpanes__splitter");
|
|
971
|
+
!f && !v && (_.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
|
|
972
972
|
}
|
|
973
|
-
},
|
|
974
|
-
const
|
|
975
|
-
|
|
976
|
-
},
|
|
977
|
-
|
|
978
|
-
},
|
|
979
|
-
var
|
|
980
|
-
const p = Array.from(((
|
|
981
|
-
for (const
|
|
982
|
-
|
|
983
|
-
let
|
|
984
|
-
for (const
|
|
985
|
-
|
|
986
|
-
},
|
|
987
|
-
const
|
|
988
|
-
for (const [
|
|
989
|
-
},
|
|
973
|
+
}, ue = (u, p, _ = !1) => {
|
|
974
|
+
const f = u - 1, v = document.createElement("div");
|
|
975
|
+
v.classList.add("splitpanes__splitter"), _ || (v.onmousedown = (O) => U(O, f), typeof window < "u" && "ontouchstart" in window && (v.ontouchstart = (O) => U(O, f)), v.onclick = (O) => I(O, f + 1)), v.ondblclick = (O) => F(O, f + 1), p.parentNode.insertBefore(v, p);
|
|
976
|
+
}, ve = (u) => {
|
|
977
|
+
u.onmousedown = void 0, u.onclick = void 0, u.ondblclick = void 0, u.remove();
|
|
978
|
+
}, se = () => {
|
|
979
|
+
var u;
|
|
980
|
+
const p = Array.from(((u = c.value) == null ? void 0 : u.children) || []);
|
|
981
|
+
for (const f of p)
|
|
982
|
+
f.className.includes("splitpanes__splitter") && ve(f);
|
|
983
|
+
let _ = 0;
|
|
984
|
+
for (const f of p)
|
|
985
|
+
f.className.includes("splitpanes__pane") && (!_ && a.firstSplitter ? ue(_, f, !0) : _ && ue(_, f), _++);
|
|
986
|
+
}, _e = ({ uid: u, ...p }) => {
|
|
987
|
+
const _ = d.value[u];
|
|
988
|
+
for (const [f, v] of Object.entries(p)) _[f] = v;
|
|
989
|
+
}, Ve = (u) => {
|
|
990
990
|
var p;
|
|
991
|
-
let
|
|
992
|
-
Array.from(((p =
|
|
993
|
-
|
|
991
|
+
let _ = -1;
|
|
992
|
+
Array.from(((p = c.value) == null ? void 0 : p.children) || []).some((f) => (f.className.includes("splitpanes__pane") && _++, f.isSameNode(u.el))), n.value.splice(_, 0, { ...u, index: _ }), n.value.forEach((f, v) => f.index = v), w.value && Ie(() => {
|
|
993
|
+
se(), ce({ addedPane: n.value[_] }), K("pane-add", { pane: n.value[_] });
|
|
994
994
|
});
|
|
995
|
-
},
|
|
996
|
-
const p = n.value.findIndex((
|
|
995
|
+
}, Ee = (u) => {
|
|
996
|
+
const p = n.value.findIndex((f) => f.id === u);
|
|
997
997
|
n.value[p].el = null;
|
|
998
|
-
const
|
|
999
|
-
n.value.forEach((
|
|
1000
|
-
|
|
998
|
+
const _ = n.value.splice(p, 1)[0];
|
|
999
|
+
n.value.forEach((f, v) => f.index = v), Ie(() => {
|
|
1000
|
+
se(), K("pane-remove", { pane: _ }), ce({ removedPane: { ..._ } });
|
|
1001
1001
|
});
|
|
1002
|
-
},
|
|
1003
|
-
!
|
|
1004
|
-
},
|
|
1005
|
-
const
|
|
1002
|
+
}, ce = (u = {}) => {
|
|
1003
|
+
!u.addedPane && !u.removedPane ? Re() : n.value.some((p) => p.givenSize !== null || p.min || p.max < 100) ? Me(u) : Oe(), w.value && K("resized");
|
|
1004
|
+
}, Oe = () => {
|
|
1005
|
+
const u = 100 / h.value;
|
|
1006
1006
|
let p = 0;
|
|
1007
|
-
const
|
|
1008
|
-
for (const
|
|
1009
|
-
|
|
1010
|
-
p > 0.1 &&
|
|
1011
|
-
},
|
|
1012
|
-
let
|
|
1013
|
-
const p = [],
|
|
1014
|
-
let
|
|
1015
|
-
for (const
|
|
1016
|
-
|
|
1017
|
-
let
|
|
1018
|
-
if (
|
|
1019
|
-
for (const
|
|
1020
|
-
|
|
1021
|
-
|
|
1007
|
+
const _ = [], f = [];
|
|
1008
|
+
for (const v of n.value)
|
|
1009
|
+
v.size = Math.max(Math.min(u, v.max), v.min), p -= v.size, v.size >= v.max && _.push(v.id), v.size <= v.min && f.push(v.id);
|
|
1010
|
+
p > 0.1 && me(p, _, f);
|
|
1011
|
+
}, Re = () => {
|
|
1012
|
+
let u = 100;
|
|
1013
|
+
const p = [], _ = [];
|
|
1014
|
+
let f = 0;
|
|
1015
|
+
for (const O of n.value)
|
|
1016
|
+
u -= O.size, O.givenSize !== null && f++, O.size >= O.max && p.push(O.id), O.size <= O.min && _.push(O.id);
|
|
1017
|
+
let v = 100;
|
|
1018
|
+
if (u > 0.1) {
|
|
1019
|
+
for (const O of n.value)
|
|
1020
|
+
O.givenSize === null && (O.size = Math.max(Math.min(u / (h.value - f), O.max), O.min)), v -= O.size;
|
|
1021
|
+
v > 0.1 && me(v, p, _);
|
|
1022
1022
|
}
|
|
1023
|
-
},
|
|
1024
|
-
let
|
|
1025
|
-
const
|
|
1026
|
-
(
|
|
1027
|
-
for (const
|
|
1028
|
-
|
|
1029
|
-
if (!(Math.abs(
|
|
1030
|
-
for (const
|
|
1031
|
-
|
|
1032
|
-
|
|
1023
|
+
}, Me = ({ addedPane: u, removedPane: p } = {}) => {
|
|
1024
|
+
let _ = 100 / h.value, f = 0;
|
|
1025
|
+
const v = [], O = [];
|
|
1026
|
+
(u?.givenSize ?? null) !== null && (_ = (100 - u.givenSize) / (h.value - 1));
|
|
1027
|
+
for (const D of n.value)
|
|
1028
|
+
f -= D.size, D.size >= D.max && v.push(D.id), D.size <= D.min && O.push(D.id);
|
|
1029
|
+
if (!(Math.abs(f) < 0.1)) {
|
|
1030
|
+
for (const D of n.value)
|
|
1031
|
+
u?.givenSize !== null && u?.id === D.id || (D.size = Math.max(Math.min(_, D.max), D.min)), f -= D.size, D.size >= D.max && v.push(D.id), D.size <= D.min && O.push(D.id);
|
|
1032
|
+
f > 0.1 && me(f, v, O);
|
|
1033
1033
|
}
|
|
1034
|
-
},
|
|
1035
|
-
let
|
|
1036
|
-
|
|
1037
|
-
if (
|
|
1038
|
-
const
|
|
1039
|
-
|
|
1040
|
-
} else if (!
|
|
1041
|
-
const
|
|
1042
|
-
|
|
1034
|
+
}, me = (u, p, _) => {
|
|
1035
|
+
let f;
|
|
1036
|
+
u > 0 ? f = u / (h.value - p.length) : f = u / (h.value - _.length), n.value.forEach((v, O) => {
|
|
1037
|
+
if (u > 0 && !p.includes(v.id)) {
|
|
1038
|
+
const D = Math.max(Math.min(v.size + f, v.max), v.min), G = D - v.size;
|
|
1039
|
+
u -= G, v.size = D;
|
|
1040
|
+
} else if (!_.includes(v.id)) {
|
|
1041
|
+
const D = Math.max(Math.min(v.size + f, v.max), v.min), G = D - v.size;
|
|
1042
|
+
u -= G, v.size = D;
|
|
1043
1043
|
}
|
|
1044
|
-
}), Math.abs(
|
|
1045
|
-
|
|
1044
|
+
}), Math.abs(u) > 0.1 && Ie(() => {
|
|
1045
|
+
w.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
1046
1046
|
});
|
|
1047
|
-
},
|
|
1048
|
-
const
|
|
1049
|
-
o(
|
|
1047
|
+
}, K = (u, p = void 0, _ = !1) => {
|
|
1048
|
+
const f = p?.index ?? S.value.activeSplitter ?? null;
|
|
1049
|
+
o(u, {
|
|
1050
1050
|
...p,
|
|
1051
|
-
...
|
|
1052
|
-
...
|
|
1053
|
-
prevPane: n.value[
|
|
1054
|
-
nextPane: n.value[
|
|
1051
|
+
...f !== null && { index: f },
|
|
1052
|
+
..._ && f !== null && {
|
|
1053
|
+
prevPane: n.value[f - (a.firstSplitter ? 1 : 0)],
|
|
1054
|
+
nextPane: n.value[f + (a.firstSplitter ? 0 : 1)]
|
|
1055
1055
|
},
|
|
1056
|
-
panes: n.value.map((
|
|
1056
|
+
panes: n.value.map((v) => ({ min: v.min, max: v.max, size: v.size }))
|
|
1057
1057
|
});
|
|
1058
1058
|
};
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
}),
|
|
1062
|
-
const
|
|
1063
|
-
var
|
|
1059
|
+
ke(() => a.firstSplitter, () => se()), Le(() => {
|
|
1060
|
+
Ce(), se(), ce(), K("ready"), w.value = !0;
|
|
1061
|
+
}), Be(() => w.value = !1);
|
|
1062
|
+
const Te = () => {
|
|
1063
|
+
var u;
|
|
1064
1064
|
return Je(
|
|
1065
1065
|
"div",
|
|
1066
|
-
{ ref:
|
|
1067
|
-
(
|
|
1066
|
+
{ ref: c, class: k.value },
|
|
1067
|
+
(u = i.default) == null ? void 0 : u.call(i)
|
|
1068
1068
|
);
|
|
1069
1069
|
};
|
|
1070
|
-
return
|
|
1070
|
+
return te("panes", n), te("indexedPanes", d), te("horizontal", Q(() => a.horizontal)), te("requestUpdate", _e), te("onPaneAdd", Ve), te("onPaneRemove", Ee), te("onPaneClick", N), (u, p) => (g(), R(We(Te)));
|
|
1071
1071
|
}
|
|
1072
|
-
},
|
|
1072
|
+
}, Vt = {
|
|
1073
1073
|
__name: "pane",
|
|
1074
1074
|
props: {
|
|
1075
1075
|
size: { type: [Number, String] },
|
|
@@ -1078,41 +1078,41 @@ const St = /* @__PURE__ */ J(yt, [["render", kt]]), xt = {
|
|
|
1078
1078
|
},
|
|
1079
1079
|
setup(t) {
|
|
1080
1080
|
var e;
|
|
1081
|
-
const o = t, a =
|
|
1082
|
-
const
|
|
1083
|
-
return Math.max(Math.min(
|
|
1084
|
-
}),
|
|
1085
|
-
const
|
|
1086
|
-
return isNaN(
|
|
1087
|
-
}),
|
|
1088
|
-
const
|
|
1089
|
-
return isNaN(
|
|
1090
|
-
}), U =
|
|
1091
|
-
var
|
|
1092
|
-
return `${n.value ? "height" : "width"}: ${(
|
|
1081
|
+
const o = t, a = ne("requestUpdate"), i = ne("onPaneAdd"), n = ne("horizontal"), d = ne("onPaneRemove"), h = ne("onPaneClick"), c = (e = Ge()) == null ? void 0 : e.uid, w = ne("indexedPanes"), S = Q(() => w.value[c]), x = re(null), k = Q(() => {
|
|
1082
|
+
const C = isNaN(o.size) || o.size === void 0 ? 0 : parseFloat(o.size);
|
|
1083
|
+
return Math.max(Math.min(C, E.value), V.value);
|
|
1084
|
+
}), V = Q(() => {
|
|
1085
|
+
const C = parseFloat(o.minSize);
|
|
1086
|
+
return isNaN(C) ? 0 : C;
|
|
1087
|
+
}), E = Q(() => {
|
|
1088
|
+
const C = parseFloat(o.maxSize);
|
|
1089
|
+
return isNaN(C) ? 100 : C;
|
|
1090
|
+
}), U = Q(() => {
|
|
1091
|
+
var C;
|
|
1092
|
+
return `${n.value ? "height" : "width"}: ${(C = S.value) == null ? void 0 : C.size}%`;
|
|
1093
1093
|
});
|
|
1094
|
-
return
|
|
1094
|
+
return ke(() => k.value, (C) => a({ uid: c, size: C })), ke(() => V.value, (C) => a({ uid: c, min: C })), ke(() => E.value, (C) => a({ uid: c, max: C })), Le(() => {
|
|
1095
1095
|
i({
|
|
1096
|
-
id:
|
|
1097
|
-
el:
|
|
1098
|
-
min:
|
|
1099
|
-
max:
|
|
1096
|
+
id: c,
|
|
1097
|
+
el: x.value,
|
|
1098
|
+
min: V.value,
|
|
1099
|
+
max: E.value,
|
|
1100
1100
|
// The given size (useful to know the user intention).
|
|
1101
|
-
givenSize: o.size === void 0 ? null :
|
|
1102
|
-
size:
|
|
1101
|
+
givenSize: o.size === void 0 ? null : k.value,
|
|
1102
|
+
size: k.value
|
|
1103
1103
|
// The computed current size at any time.
|
|
1104
1104
|
});
|
|
1105
|
-
}),
|
|
1105
|
+
}), Be(() => d(c)), (C, A) => (g(), z("div", {
|
|
1106
1106
|
ref_key: "paneEl",
|
|
1107
|
-
ref:
|
|
1107
|
+
ref: x,
|
|
1108
1108
|
class: "splitpanes__pane",
|
|
1109
|
-
onClick:
|
|
1110
|
-
style:
|
|
1109
|
+
onClick: A[0] || (A[0] = (I) => qe(h)(I, C._.uid)),
|
|
1110
|
+
style: he(U.value)
|
|
1111
1111
|
}, [
|
|
1112
|
-
Ke(
|
|
1112
|
+
Ke(C.$slots, "default")
|
|
1113
1113
|
], 4));
|
|
1114
1114
|
}
|
|
1115
|
-
},
|
|
1115
|
+
}, Et = {
|
|
1116
1116
|
props: {
|
|
1117
1117
|
question: {
|
|
1118
1118
|
type: String,
|
|
@@ -1158,41 +1158,41 @@ const St = /* @__PURE__ */ J(yt, [["render", kt]]), xt = {
|
|
|
1158
1158
|
this.$emit("response", this.inputValue);
|
|
1159
1159
|
},
|
|
1160
1160
|
cancelHandler: function() {
|
|
1161
|
-
this.$emit("response", "
|
|
1161
|
+
this.$emit("response", "COSMOS__CANCEL");
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
},
|
|
1165
|
-
function
|
|
1166
|
-
const
|
|
1167
|
-
return
|
|
1164
|
+
}, Ot = { class: "pa-2" }, Rt = { class: "question" };
|
|
1165
|
+
function Mt(t, e, o, a, i, n) {
|
|
1166
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-text-field"), w = r("v-card-text"), S = r("v-btn"), x = r("v-card-actions"), k = r("v-form"), V = r("v-card"), E = r("v-dialog");
|
|
1167
|
+
return g(), R(E, {
|
|
1168
1168
|
modelValue: n.show,
|
|
1169
1169
|
"onUpdate:modelValue": e[2] || (e[2] = (U) => n.show = U),
|
|
1170
1170
|
persistent: "",
|
|
1171
1171
|
width: "600",
|
|
1172
|
-
onKeydown:
|
|
1172
|
+
onKeydown: ae(n.cancelHandler, ["esc"])
|
|
1173
1173
|
}, {
|
|
1174
1174
|
default: l(() => [
|
|
1175
|
-
s(
|
|
1175
|
+
s(V, null, {
|
|
1176
1176
|
default: l(() => [
|
|
1177
|
-
s(
|
|
1177
|
+
s(k, {
|
|
1178
1178
|
modelValue: i.valid,
|
|
1179
1179
|
"onUpdate:modelValue": e[1] || (e[1] = (U) => i.valid = U),
|
|
1180
|
-
onSubmit:
|
|
1180
|
+
onSubmit: X(n.submitHandler, ["prevent"])
|
|
1181
1181
|
}, {
|
|
1182
1182
|
default: l(() => [
|
|
1183
|
-
s(
|
|
1183
|
+
s(h, { height: "24" }, {
|
|
1184
1184
|
default: l(() => [
|
|
1185
|
-
s(
|
|
1186
|
-
e[3] || (e[3] =
|
|
1187
|
-
s(
|
|
1185
|
+
s(d),
|
|
1186
|
+
e[3] || (e[3] = y("span", null, " User Input Required ", -1)),
|
|
1187
|
+
s(d)
|
|
1188
1188
|
]),
|
|
1189
1189
|
_: 1
|
|
1190
1190
|
}),
|
|
1191
|
-
|
|
1192
|
-
s(
|
|
1191
|
+
y("div", Ot, [
|
|
1192
|
+
s(w, null, {
|
|
1193
1193
|
default: l(() => [
|
|
1194
|
-
|
|
1195
|
-
s(
|
|
1194
|
+
y("div", Rt, B(o.question), 1),
|
|
1195
|
+
s(c, {
|
|
1196
1196
|
modelValue: i.inputValue,
|
|
1197
1197
|
"onUpdate:modelValue": e[0] || (e[0] = (U) => i.inputValue = U),
|
|
1198
1198
|
autofocus: "",
|
|
@@ -1204,28 +1204,28 @@ function Ot(t, e, o, a, i, n) {
|
|
|
1204
1204
|
_: 1
|
|
1205
1205
|
})
|
|
1206
1206
|
]),
|
|
1207
|
-
s(
|
|
1207
|
+
s(x, { class: "px-2" }, {
|
|
1208
1208
|
default: l(() => [
|
|
1209
|
-
s(
|
|
1210
|
-
s(
|
|
1209
|
+
s(d),
|
|
1210
|
+
s(S, {
|
|
1211
1211
|
variant: "outlined",
|
|
1212
1212
|
"data-test": "ask-cancel",
|
|
1213
1213
|
onClick: n.cancelHandler
|
|
1214
1214
|
}, {
|
|
1215
1215
|
default: l(() => [...e[4] || (e[4] = [
|
|
1216
|
-
|
|
1216
|
+
b(" Cancel ", -1)
|
|
1217
1217
|
])]),
|
|
1218
1218
|
_: 1
|
|
1219
1219
|
}, 8, ["onClick"]),
|
|
1220
|
-
s(
|
|
1220
|
+
s(S, {
|
|
1221
1221
|
variant: "flat",
|
|
1222
1222
|
type: "submit",
|
|
1223
1223
|
"data-test": "ask-ok",
|
|
1224
1224
|
disabled: !i.valid,
|
|
1225
|
-
onClick:
|
|
1225
|
+
onClick: X(n.submitHandler, ["prevent"])
|
|
1226
1226
|
}, {
|
|
1227
1227
|
default: l(() => [...e[5] || (e[5] = [
|
|
1228
|
-
|
|
1228
|
+
b(" Ok ", -1)
|
|
1229
1229
|
])]),
|
|
1230
1230
|
_: 1
|
|
1231
1231
|
}, 8, ["disabled", "onClick"])
|
|
@@ -1242,7 +1242,334 @@ function Ot(t, e, o, a, i, n) {
|
|
|
1242
1242
|
_: 1
|
|
1243
1243
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1244
1244
|
}
|
|
1245
|
-
const
|
|
1245
|
+
const Tt = /* @__PURE__ */ J(Et, [["render", Mt], ["__scopeId", "data-v-3093db63"]]), It = {
|
|
1246
|
+
props: {
|
|
1247
|
+
title: {
|
|
1248
|
+
type: String,
|
|
1249
|
+
required: !0
|
|
1250
|
+
},
|
|
1251
|
+
message: {
|
|
1252
|
+
type: String,
|
|
1253
|
+
default: null
|
|
1254
|
+
},
|
|
1255
|
+
modelValue: Boolean
|
|
1256
|
+
},
|
|
1257
|
+
emits: ["update:modelValue", "response"],
|
|
1258
|
+
data() {
|
|
1259
|
+
return {
|
|
1260
|
+
buckets: [],
|
|
1261
|
+
selectedBucket: null,
|
|
1262
|
+
path: "",
|
|
1263
|
+
files: [],
|
|
1264
|
+
selectedFile: null,
|
|
1265
|
+
search: "",
|
|
1266
|
+
loading: !1
|
|
1267
|
+
};
|
|
1268
|
+
},
|
|
1269
|
+
computed: {
|
|
1270
|
+
show: {
|
|
1271
|
+
get() {
|
|
1272
|
+
return this.modelValue;
|
|
1273
|
+
},
|
|
1274
|
+
set(t) {
|
|
1275
|
+
this.$emit("update:modelValue", t);
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
breadcrumbPath() {
|
|
1279
|
+
if (!this.path) return [];
|
|
1280
|
+
const t = this.path.split("/").filter((e) => !!e);
|
|
1281
|
+
return t.map((e, o) => ({
|
|
1282
|
+
name: e,
|
|
1283
|
+
path: t.slice(0, o + 1).join("/") + "/"
|
|
1284
|
+
}));
|
|
1285
|
+
},
|
|
1286
|
+
filteredFiles() {
|
|
1287
|
+
if (!this.search) return this.files;
|
|
1288
|
+
const t = this.search.toLowerCase();
|
|
1289
|
+
return this.files.filter((e) => e.name.toLowerCase().includes(t));
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
created() {
|
|
1293
|
+
T.get("/openc3-api/storage/buckets").then((t) => {
|
|
1294
|
+
this.buckets = t.data;
|
|
1295
|
+
});
|
|
1296
|
+
},
|
|
1297
|
+
methods: {
|
|
1298
|
+
formatSize(t) {
|
|
1299
|
+
return t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : `${(t / (1024 * 1024)).toFixed(1)} MB`;
|
|
1300
|
+
},
|
|
1301
|
+
selectBucket(t) {
|
|
1302
|
+
this.selectedBucket = t, this.path = "", this.selectedFile = null, this.updateFiles();
|
|
1303
|
+
},
|
|
1304
|
+
backArrow() {
|
|
1305
|
+
if (this.path === "") return;
|
|
1306
|
+
const t = this.path.split("/");
|
|
1307
|
+
this.path = t.slice(0, -2).join("/"), this.path && (this.path += "/"), this.selectedFile = null, this.updateFiles();
|
|
1308
|
+
},
|
|
1309
|
+
gotoPath(t) {
|
|
1310
|
+
this.path = t, this.selectedFile = null, this.updateFiles();
|
|
1311
|
+
},
|
|
1312
|
+
itemClick(t) {
|
|
1313
|
+
t.icon === "mdi-folder" ? (this.path += `${t.name}/`, this.selectedFile = null, this.updateFiles()) : this.selectedFile = t.name;
|
|
1314
|
+
},
|
|
1315
|
+
itemDblClick(t) {
|
|
1316
|
+
t.icon === "mdi-file" && (this.selectedFile = t.name, this.submitHandler());
|
|
1317
|
+
},
|
|
1318
|
+
updateFiles() {
|
|
1319
|
+
this.loading = !0;
|
|
1320
|
+
const t = this.selectedBucket.toUpperCase();
|
|
1321
|
+
T.get(`/openc3-api/storage/files/OPENC3_${t}_BUCKET/${this.path}`).then((e) => {
|
|
1322
|
+
this.files = e.data[0].map((o) => ({
|
|
1323
|
+
name: o,
|
|
1324
|
+
icon: "mdi-folder"
|
|
1325
|
+
})), this.files = this.files.concat(
|
|
1326
|
+
e.data[1].map((o) => ({
|
|
1327
|
+
name: o.name,
|
|
1328
|
+
icon: "mdi-file",
|
|
1329
|
+
size: o.size
|
|
1330
|
+
}))
|
|
1331
|
+
), this.loading = !1;
|
|
1332
|
+
}).catch(() => {
|
|
1333
|
+
this.files = [], this.loading = !1;
|
|
1334
|
+
});
|
|
1335
|
+
},
|
|
1336
|
+
submitHandler() {
|
|
1337
|
+
this.$emit("response", {
|
|
1338
|
+
bucket: `OPENC3_${this.selectedBucket.toUpperCase()}_BUCKET`,
|
|
1339
|
+
path: `${this.path}${this.selectedFile}`,
|
|
1340
|
+
filename: this.selectedFile
|
|
1341
|
+
});
|
|
1342
|
+
},
|
|
1343
|
+
cancelHandler() {
|
|
1344
|
+
this.$emit("response", "COSMOS__CANCEL");
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
}, Ut = { class: "pa-2" }, Dt = { class: "text-h6" }, Pt = ["textContent"], zt = {
|
|
1348
|
+
class: "ma-2",
|
|
1349
|
+
style: { "font-size": "0.875rem" },
|
|
1350
|
+
"data-test": "bucket-path"
|
|
1351
|
+
}, Ft = ["onClick"], Lt = { class: "text-caption" };
|
|
1352
|
+
function Bt(t, e, o, a, i, n) {
|
|
1353
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), w = r("v-icon"), S = r("v-chip"), x = r("v-btn"), k = r("v-text-field"), V = r("v-progress-circular"), E = r("v-list-item"), U = r("v-list-item-title"), C = r("v-list"), A = r("v-col"), I = r("v-card-text"), F = r("v-card-actions"), N = r("v-card"), H = r("v-dialog");
|
|
1354
|
+
return g(), R(H, {
|
|
1355
|
+
modelValue: n.show,
|
|
1356
|
+
"onUpdate:modelValue": e[1] || (e[1] = (L) => n.show = L),
|
|
1357
|
+
persistent: "",
|
|
1358
|
+
width: "800",
|
|
1359
|
+
onKeydown: ae(n.cancelHandler, ["esc"])
|
|
1360
|
+
}, {
|
|
1361
|
+
default: l(() => [
|
|
1362
|
+
s(N, null, {
|
|
1363
|
+
default: l(() => [
|
|
1364
|
+
s(h, { height: "24" }, {
|
|
1365
|
+
default: l(() => [
|
|
1366
|
+
s(d),
|
|
1367
|
+
e[2] || (e[2] = y("span", null, " Bucket Dialog ", -1)),
|
|
1368
|
+
s(d)
|
|
1369
|
+
]),
|
|
1370
|
+
_: 1
|
|
1371
|
+
}),
|
|
1372
|
+
y("div", Ut, [
|
|
1373
|
+
s(I, null, {
|
|
1374
|
+
default: l(() => [
|
|
1375
|
+
s(c, null, {
|
|
1376
|
+
default: l(() => [
|
|
1377
|
+
y("span", Dt, B(o.title), 1)
|
|
1378
|
+
]),
|
|
1379
|
+
_: 1
|
|
1380
|
+
}),
|
|
1381
|
+
o.message ? (g(), R(c, { key: 0 }, {
|
|
1382
|
+
default: l(() => [
|
|
1383
|
+
y("span", {
|
|
1384
|
+
class: "ma-3",
|
|
1385
|
+
style: { "white-space": "pre-line" },
|
|
1386
|
+
textContent: B(o.message)
|
|
1387
|
+
}, null, 8, Pt)
|
|
1388
|
+
]),
|
|
1389
|
+
_: 1
|
|
1390
|
+
})) : P("", !0),
|
|
1391
|
+
s(c, { class: "my-2" }, {
|
|
1392
|
+
default: l(() => [
|
|
1393
|
+
(g(!0), z($, null, ie(i.buckets, (L, M) => (g(), R(S, {
|
|
1394
|
+
key: M,
|
|
1395
|
+
variant: i.selectedBucket === L ? "elevated" : "outlined",
|
|
1396
|
+
color: "primary",
|
|
1397
|
+
class: "ma-2",
|
|
1398
|
+
"data-test": "bucket-chip",
|
|
1399
|
+
onClick: X((q) => n.selectBucket(L), ["stop"])
|
|
1400
|
+
}, {
|
|
1401
|
+
default: l(() => [
|
|
1402
|
+
s(w, { start: "" }, {
|
|
1403
|
+
default: l(() => [...e[3] || (e[3] = [
|
|
1404
|
+
b("mdi-bucket", -1)
|
|
1405
|
+
])]),
|
|
1406
|
+
_: 1
|
|
1407
|
+
}),
|
|
1408
|
+
b(" " + B(L), 1)
|
|
1409
|
+
]),
|
|
1410
|
+
_: 2
|
|
1411
|
+
}, 1032, ["variant", "onClick"]))), 128))
|
|
1412
|
+
]),
|
|
1413
|
+
_: 1
|
|
1414
|
+
}),
|
|
1415
|
+
i.selectedBucket ? (g(), R(c, {
|
|
1416
|
+
key: 1,
|
|
1417
|
+
class: "my-1"
|
|
1418
|
+
}, {
|
|
1419
|
+
default: l(() => [
|
|
1420
|
+
s(A, { class: "pa-0" }, {
|
|
1421
|
+
default: l(() => [
|
|
1422
|
+
s(c, {
|
|
1423
|
+
class: "ma-0 align-center",
|
|
1424
|
+
style: { "background-color": "var(--color-background-surface-header)" }
|
|
1425
|
+
}, {
|
|
1426
|
+
default: l(() => [
|
|
1427
|
+
s(x, {
|
|
1428
|
+
icon: "mdi-chevron-left-box-outline",
|
|
1429
|
+
variant: "text",
|
|
1430
|
+
density: "compact",
|
|
1431
|
+
class: "ml-2",
|
|
1432
|
+
"data-test": "bucket-nav-back",
|
|
1433
|
+
"aria-label": "Navigate Back",
|
|
1434
|
+
onClick: X(n.backArrow, ["stop"])
|
|
1435
|
+
}, null, 8, ["onClick"]),
|
|
1436
|
+
y("div", zt, [
|
|
1437
|
+
b(B(i.selectedBucket) + "/", 1),
|
|
1438
|
+
(g(!0), z($, null, ie(n.breadcrumbPath, (L, M) => (g(), z("span", { key: M }, [
|
|
1439
|
+
y("a", {
|
|
1440
|
+
style: { cursor: "pointer" },
|
|
1441
|
+
onClick: X((q) => n.gotoPath(L.path), ["prevent"])
|
|
1442
|
+
}, B(L.name), 9, Ft),
|
|
1443
|
+
e[4] || (e[4] = b("/", -1))
|
|
1444
|
+
]))), 128))
|
|
1445
|
+
])
|
|
1446
|
+
]),
|
|
1447
|
+
_: 1
|
|
1448
|
+
}),
|
|
1449
|
+
s(k, {
|
|
1450
|
+
modelValue: i.search,
|
|
1451
|
+
"onUpdate:modelValue": e[0] || (e[0] = (L) => i.search = L),
|
|
1452
|
+
label: "Search",
|
|
1453
|
+
"prepend-inner-icon": "mdi-magnify",
|
|
1454
|
+
clearable: "",
|
|
1455
|
+
variant: "outlined",
|
|
1456
|
+
density: "compact",
|
|
1457
|
+
"single-line": "",
|
|
1458
|
+
"hide-details": "",
|
|
1459
|
+
class: "mx-2 mt-2",
|
|
1460
|
+
"data-test": "bucket-search"
|
|
1461
|
+
}, null, 8, ["modelValue"]),
|
|
1462
|
+
s(C, {
|
|
1463
|
+
density: "compact",
|
|
1464
|
+
class: "bucket-file-list",
|
|
1465
|
+
"data-test": "bucket-file-list"
|
|
1466
|
+
}, {
|
|
1467
|
+
default: l(() => [
|
|
1468
|
+
i.loading ? (g(), R(E, { key: 0 }, {
|
|
1469
|
+
default: l(() => [
|
|
1470
|
+
s(V, {
|
|
1471
|
+
indeterminate: "",
|
|
1472
|
+
size: "20",
|
|
1473
|
+
class: "mr-2"
|
|
1474
|
+
}),
|
|
1475
|
+
e[5] || (e[5] = b(" Loading... ", -1))
|
|
1476
|
+
]),
|
|
1477
|
+
_: 1
|
|
1478
|
+
})) : P("", !0),
|
|
1479
|
+
(g(!0), z($, null, ie(n.filteredFiles, (L) => (g(), R(E, {
|
|
1480
|
+
key: L.name,
|
|
1481
|
+
class: fe({
|
|
1482
|
+
"selected-file": i.selectedFile === L.name && L.icon === "mdi-file"
|
|
1483
|
+
}),
|
|
1484
|
+
"data-test": `bucket-item-${L.name}`,
|
|
1485
|
+
onClick: (M) => n.itemClick(L),
|
|
1486
|
+
onDblclick: (M) => n.itemDblClick(L)
|
|
1487
|
+
}, Ye({
|
|
1488
|
+
prepend: l(() => [
|
|
1489
|
+
s(w, null, {
|
|
1490
|
+
default: l(() => [
|
|
1491
|
+
b(B(L.icon), 1)
|
|
1492
|
+
]),
|
|
1493
|
+
_: 2
|
|
1494
|
+
}, 1024)
|
|
1495
|
+
]),
|
|
1496
|
+
default: l(() => [
|
|
1497
|
+
s(U, null, {
|
|
1498
|
+
default: l(() => [
|
|
1499
|
+
b(B(L.name), 1)
|
|
1500
|
+
]),
|
|
1501
|
+
_: 2
|
|
1502
|
+
}, 1024)
|
|
1503
|
+
]),
|
|
1504
|
+
_: 2
|
|
1505
|
+
}, [
|
|
1506
|
+
L.size ? {
|
|
1507
|
+
name: "append",
|
|
1508
|
+
fn: l(() => [
|
|
1509
|
+
y("span", Lt, B(n.formatSize(L.size)), 1)
|
|
1510
|
+
]),
|
|
1511
|
+
key: "0"
|
|
1512
|
+
} : void 0
|
|
1513
|
+
]), 1032, ["class", "data-test", "onClick", "onDblclick"]))), 128)),
|
|
1514
|
+
!i.loading && n.filteredFiles.length === 0 ? (g(), R(E, { key: 1 }, {
|
|
1515
|
+
default: l(() => [
|
|
1516
|
+
s(U, { class: "text-caption text-grey" }, {
|
|
1517
|
+
default: l(() => [...e[6] || (e[6] = [
|
|
1518
|
+
b(" No files found ", -1)
|
|
1519
|
+
])]),
|
|
1520
|
+
_: 1
|
|
1521
|
+
})
|
|
1522
|
+
]),
|
|
1523
|
+
_: 1
|
|
1524
|
+
})) : P("", !0)
|
|
1525
|
+
]),
|
|
1526
|
+
_: 1
|
|
1527
|
+
})
|
|
1528
|
+
]),
|
|
1529
|
+
_: 1
|
|
1530
|
+
})
|
|
1531
|
+
]),
|
|
1532
|
+
_: 1
|
|
1533
|
+
})) : P("", !0)
|
|
1534
|
+
]),
|
|
1535
|
+
_: 1
|
|
1536
|
+
})
|
|
1537
|
+
]),
|
|
1538
|
+
s(F, { class: "px-2" }, {
|
|
1539
|
+
default: l(() => [
|
|
1540
|
+
s(d),
|
|
1541
|
+
s(x, {
|
|
1542
|
+
variant: "outlined",
|
|
1543
|
+
"data-test": "bucket-cancel",
|
|
1544
|
+
onClick: n.cancelHandler
|
|
1545
|
+
}, {
|
|
1546
|
+
default: l(() => [...e[7] || (e[7] = [
|
|
1547
|
+
b(" Cancel ", -1)
|
|
1548
|
+
])]),
|
|
1549
|
+
_: 1
|
|
1550
|
+
}, 8, ["onClick"]),
|
|
1551
|
+
s(x, {
|
|
1552
|
+
variant: "flat",
|
|
1553
|
+
"data-test": "bucket-ok",
|
|
1554
|
+
disabled: !i.selectedFile,
|
|
1555
|
+
onClick: X(n.submitHandler, ["prevent"])
|
|
1556
|
+
}, {
|
|
1557
|
+
default: l(() => [...e[8] || (e[8] = [
|
|
1558
|
+
b(" Ok ", -1)
|
|
1559
|
+
])]),
|
|
1560
|
+
_: 1
|
|
1561
|
+
}, 8, ["disabled", "onClick"])
|
|
1562
|
+
]),
|
|
1563
|
+
_: 1
|
|
1564
|
+
})
|
|
1565
|
+
]),
|
|
1566
|
+
_: 1
|
|
1567
|
+
})
|
|
1568
|
+
]),
|
|
1569
|
+
_: 1
|
|
1570
|
+
}, 8, ["modelValue", "onKeydown"]);
|
|
1571
|
+
}
|
|
1572
|
+
const At = /* @__PURE__ */ J(It, [["render", Bt], ["__scopeId", "data-v-16b638bb"]]), Nt = {
|
|
1246
1573
|
props: {
|
|
1247
1574
|
title: {
|
|
1248
1575
|
type: String,
|
|
@@ -1287,60 +1614,60 @@ const Mt = /* @__PURE__ */ J(Vt, [["render", Ot], ["__scopeId", "data-v-47105fc8
|
|
|
1287
1614
|
Array.isArray(this.inputValue) || (this.inputValue = [this.inputValue]), this.$emit("response", this.inputValue);
|
|
1288
1615
|
},
|
|
1289
1616
|
cancelHandler: function() {
|
|
1290
|
-
this.$emit("response", "
|
|
1617
|
+
this.$emit("response", "COSMOS__CANCEL");
|
|
1291
1618
|
}
|
|
1292
1619
|
}
|
|
1293
|
-
},
|
|
1294
|
-
function
|
|
1295
|
-
const
|
|
1296
|
-
return
|
|
1620
|
+
}, Ht = { class: "pa-2" }, Gt = { class: "text-h6" }, qt = ["textContent"];
|
|
1621
|
+
function Kt(t, e, o, a, i, n) {
|
|
1622
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), w = r("v-file-input"), S = r("v-card-text"), x = r("v-btn"), k = r("v-card-actions"), V = r("v-form"), E = r("v-card"), U = r("v-dialog");
|
|
1623
|
+
return g(), R(U, {
|
|
1297
1624
|
modelValue: n.show,
|
|
1298
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1625
|
+
"onUpdate:modelValue": e[2] || (e[2] = (C) => n.show = C),
|
|
1299
1626
|
persistent: "",
|
|
1300
1627
|
width: "600",
|
|
1301
|
-
onKeydown:
|
|
1628
|
+
onKeydown: ae(n.cancelHandler, ["esc"])
|
|
1302
1629
|
}, {
|
|
1303
1630
|
default: l(() => [
|
|
1304
|
-
s(
|
|
1631
|
+
s(E, null, {
|
|
1305
1632
|
default: l(() => [
|
|
1306
|
-
s(
|
|
1633
|
+
s(V, {
|
|
1307
1634
|
modelValue: i.valid,
|
|
1308
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1309
|
-
onSubmit:
|
|
1635
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => i.valid = C),
|
|
1636
|
+
onSubmit: X(n.submitHandler, ["prevent"])
|
|
1310
1637
|
}, {
|
|
1311
1638
|
default: l(() => [
|
|
1312
|
-
s(
|
|
1639
|
+
s(h, { height: "24" }, {
|
|
1313
1640
|
default: l(() => [
|
|
1314
|
-
s(
|
|
1315
|
-
e[3] || (e[3] =
|
|
1316
|
-
s(
|
|
1641
|
+
s(d),
|
|
1642
|
+
e[3] || (e[3] = y("span", null, " File Dialog ", -1)),
|
|
1643
|
+
s(d)
|
|
1317
1644
|
]),
|
|
1318
1645
|
_: 1
|
|
1319
1646
|
}),
|
|
1320
|
-
|
|
1321
|
-
s(
|
|
1647
|
+
y("div", Ht, [
|
|
1648
|
+
s(S, null, {
|
|
1322
1649
|
default: l(() => [
|
|
1323
|
-
s(
|
|
1650
|
+
s(c, null, {
|
|
1324
1651
|
default: l(() => [
|
|
1325
|
-
|
|
1652
|
+
y("span", Gt, B(o.title), 1)
|
|
1326
1653
|
]),
|
|
1327
1654
|
_: 1
|
|
1328
1655
|
}),
|
|
1329
|
-
o.message ? (
|
|
1656
|
+
o.message ? (g(), R(c, { key: 0 }, {
|
|
1330
1657
|
default: l(() => [
|
|
1331
|
-
|
|
1658
|
+
y("span", {
|
|
1332
1659
|
class: "ma-3",
|
|
1333
1660
|
style: { "white-space": "pre-line" },
|
|
1334
|
-
textContent:
|
|
1335
|
-
}, null, 8,
|
|
1661
|
+
textContent: B(o.message)
|
|
1662
|
+
}, null, 8, qt)
|
|
1336
1663
|
]),
|
|
1337
1664
|
_: 1
|
|
1338
1665
|
})) : P("", !0),
|
|
1339
|
-
s(
|
|
1666
|
+
s(c, { class: "my-1" }, {
|
|
1340
1667
|
default: l(() => [
|
|
1341
|
-
s(
|
|
1668
|
+
s(w, {
|
|
1342
1669
|
modelValue: i.inputValue,
|
|
1343
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1670
|
+
"onUpdate:modelValue": e[0] || (e[0] = (C) => i.inputValue = C),
|
|
1344
1671
|
label: "Choose File",
|
|
1345
1672
|
rules: i.rules,
|
|
1346
1673
|
autofocus: "",
|
|
@@ -1356,28 +1683,28 @@ function Dt(t, e, o, a, i, n) {
|
|
|
1356
1683
|
_: 1
|
|
1357
1684
|
})
|
|
1358
1685
|
]),
|
|
1359
|
-
s(
|
|
1686
|
+
s(k, { class: "px-2" }, {
|
|
1360
1687
|
default: l(() => [
|
|
1361
|
-
s(
|
|
1362
|
-
s(
|
|
1688
|
+
s(d),
|
|
1689
|
+
s(x, {
|
|
1363
1690
|
variant: "outlined",
|
|
1364
1691
|
"data-test": "file-cancel",
|
|
1365
1692
|
onClick: n.cancelHandler
|
|
1366
1693
|
}, {
|
|
1367
1694
|
default: l(() => [...e[4] || (e[4] = [
|
|
1368
|
-
|
|
1695
|
+
b(" Cancel ", -1)
|
|
1369
1696
|
])]),
|
|
1370
1697
|
_: 1
|
|
1371
1698
|
}, 8, ["onClick"]),
|
|
1372
|
-
s(
|
|
1699
|
+
s(x, {
|
|
1373
1700
|
variant: "flat",
|
|
1374
1701
|
type: "submit",
|
|
1375
1702
|
"data-test": "file-ok",
|
|
1376
1703
|
disabled: !i.valid,
|
|
1377
|
-
onClick:
|
|
1704
|
+
onClick: X(n.submitHandler, ["prevent"])
|
|
1378
1705
|
}, {
|
|
1379
1706
|
default: l(() => [...e[5] || (e[5] = [
|
|
1380
|
-
|
|
1707
|
+
b(" Ok ", -1)
|
|
1381
1708
|
])]),
|
|
1382
1709
|
_: 1
|
|
1383
1710
|
}, 8, ["disabled", "onClick"])
|
|
@@ -1394,7 +1721,7 @@ function Dt(t, e, o, a, i, n) {
|
|
|
1394
1721
|
_: 1
|
|
1395
1722
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1396
1723
|
}
|
|
1397
|
-
const
|
|
1724
|
+
const jt = /* @__PURE__ */ J(Nt, [["render", Kt], ["__scopeId", "data-v-50ca18be"]]), Wt = {
|
|
1398
1725
|
props: {
|
|
1399
1726
|
modelValue: {
|
|
1400
1727
|
type: Boolean,
|
|
@@ -1425,40 +1752,40 @@ const zt = /* @__PURE__ */ J(Tt, [["render", Dt], ["__scopeId", "data-v-c5884e8c
|
|
|
1425
1752
|
}
|
|
1426
1753
|
},
|
|
1427
1754
|
methods: {}
|
|
1428
|
-
},
|
|
1429
|
-
function
|
|
1430
|
-
const
|
|
1431
|
-
return
|
|
1755
|
+
}, Jt = ["textContent"], Yt = { class: "pa-2" }, Zt = ["textContent"];
|
|
1756
|
+
function Xt(t, e, o, a, i, n) {
|
|
1757
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-row"), w = r("v-card-text"), S = r("v-btn"), x = r("v-card-actions"), k = r("v-card"), V = r("v-dialog");
|
|
1758
|
+
return g(), R(V, {
|
|
1432
1759
|
modelValue: n.show,
|
|
1433
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1760
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => n.show = E),
|
|
1434
1761
|
width: o.width
|
|
1435
1762
|
}, {
|
|
1436
1763
|
default: l(() => [
|
|
1437
|
-
s(
|
|
1764
|
+
s(k, null, {
|
|
1438
1765
|
default: l(() => [
|
|
1439
|
-
s(
|
|
1766
|
+
s(h, { height: "24" }, {
|
|
1440
1767
|
default: l(() => [
|
|
1441
|
-
s(
|
|
1442
|
-
|
|
1768
|
+
s(d),
|
|
1769
|
+
y("span", {
|
|
1443
1770
|
style: { "white-space": "pre" },
|
|
1444
|
-
textContent:
|
|
1445
|
-
}, null, 8,
|
|
1446
|
-
s(
|
|
1771
|
+
textContent: B(o.title)
|
|
1772
|
+
}, null, 8, Jt),
|
|
1773
|
+
s(d)
|
|
1447
1774
|
]),
|
|
1448
1775
|
_: 1
|
|
1449
1776
|
}),
|
|
1450
|
-
|
|
1451
|
-
s(
|
|
1777
|
+
y("div", Yt, [
|
|
1778
|
+
s(w, null, {
|
|
1452
1779
|
default: l(() => [
|
|
1453
|
-
(
|
|
1780
|
+
(g(!0), z($, null, ie(o.text, (E, U) => (g(), R(c, {
|
|
1454
1781
|
key: U,
|
|
1455
1782
|
"no-gutters": ""
|
|
1456
1783
|
}, {
|
|
1457
1784
|
default: l(() => [
|
|
1458
|
-
|
|
1785
|
+
y("span", {
|
|
1459
1786
|
style: { "white-space": "pre" },
|
|
1460
|
-
textContent:
|
|
1461
|
-
}, null, 8,
|
|
1787
|
+
textContent: B(E)
|
|
1788
|
+
}, null, 8, Zt)
|
|
1462
1789
|
]),
|
|
1463
1790
|
_: 2
|
|
1464
1791
|
}, 1024))), 128))
|
|
@@ -1466,15 +1793,15 @@ function Nt(t, e, o, a, i, n) {
|
|
|
1466
1793
|
_: 1
|
|
1467
1794
|
})
|
|
1468
1795
|
]),
|
|
1469
|
-
s(
|
|
1796
|
+
s(x, { class: "px-2" }, {
|
|
1470
1797
|
default: l(() => [
|
|
1471
|
-
s(
|
|
1472
|
-
s(
|
|
1798
|
+
s(d),
|
|
1799
|
+
s(S, {
|
|
1473
1800
|
variant: "flat",
|
|
1474
|
-
onClick: e[0] || (e[0] = (
|
|
1801
|
+
onClick: e[0] || (e[0] = (E) => n.show = !n.show)
|
|
1475
1802
|
}, {
|
|
1476
1803
|
default: l(() => [...e[2] || (e[2] = [
|
|
1477
|
-
|
|
1804
|
+
b(" Ok ", -1)
|
|
1478
1805
|
])]),
|
|
1479
1806
|
_: 1
|
|
1480
1807
|
})
|
|
@@ -1488,7 +1815,7 @@ function Nt(t, e, o, a, i, n) {
|
|
|
1488
1815
|
_: 1
|
|
1489
1816
|
}, 8, ["modelValue", "width"]);
|
|
1490
1817
|
}
|
|
1491
|
-
const
|
|
1818
|
+
const Qt = /* @__PURE__ */ J(Wt, [["render", Xt]]), $t = {
|
|
1492
1819
|
components: {},
|
|
1493
1820
|
props: {
|
|
1494
1821
|
modelValue: {
|
|
@@ -1523,7 +1850,7 @@ const Ht = /* @__PURE__ */ J(Lt, [["render", Nt]]), Gt = {
|
|
|
1523
1850
|
}
|
|
1524
1851
|
},
|
|
1525
1852
|
created: function() {
|
|
1526
|
-
this.api = new
|
|
1853
|
+
this.api = new Se(), this.getOverrides();
|
|
1527
1854
|
},
|
|
1528
1855
|
methods: {
|
|
1529
1856
|
getOverrides: function() {
|
|
@@ -1563,44 +1890,44 @@ const Ht = /* @__PURE__ */ J(Lt, [["render", Nt]]), Gt = {
|
|
|
1563
1890
|
});
|
|
1564
1891
|
}
|
|
1565
1892
|
}
|
|
1566
|
-
},
|
|
1567
|
-
function
|
|
1568
|
-
const
|
|
1569
|
-
return
|
|
1893
|
+
}, ei = { class: "pa-2" };
|
|
1894
|
+
function ti(t, e, o, a, i, n) {
|
|
1895
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-btn"), w = r("v-text-field"), S = r("v-row"), x = r("v-data-table"), k = r("v-card-text"), V = r("v-card-actions"), E = r("v-card"), U = r("v-dialog");
|
|
1896
|
+
return g(), R(U, {
|
|
1570
1897
|
modelValue: n.show,
|
|
1571
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1898
|
+
"onUpdate:modelValue": e[2] || (e[2] = (C) => n.show = C),
|
|
1572
1899
|
width: "1000"
|
|
1573
1900
|
}, {
|
|
1574
1901
|
default: l(() => [
|
|
1575
|
-
s(
|
|
1902
|
+
s(E, null, {
|
|
1576
1903
|
default: l(() => [
|
|
1577
|
-
s(
|
|
1904
|
+
s(h, { height: "24" }, {
|
|
1578
1905
|
default: l(() => [
|
|
1579
|
-
s(
|
|
1580
|
-
e[3] || (e[3] =
|
|
1581
|
-
s(
|
|
1906
|
+
s(d),
|
|
1907
|
+
e[3] || (e[3] = y("span", null, "Overrides", -1)),
|
|
1908
|
+
s(d)
|
|
1582
1909
|
]),
|
|
1583
1910
|
_: 1
|
|
1584
1911
|
}),
|
|
1585
|
-
|
|
1586
|
-
s(
|
|
1912
|
+
y("div", ei, [
|
|
1913
|
+
s(k, null, {
|
|
1587
1914
|
default: l(() => [
|
|
1588
|
-
s(
|
|
1915
|
+
s(S, { class: "ma-1" }, {
|
|
1589
1916
|
default: l(() => [
|
|
1590
|
-
s(
|
|
1917
|
+
s(c, {
|
|
1591
1918
|
color: "primary",
|
|
1592
1919
|
"data-test": "overrides-dialog-clear-all",
|
|
1593
1920
|
onClick: n.clearOverrides
|
|
1594
1921
|
}, {
|
|
1595
1922
|
default: l(() => [...e[4] || (e[4] = [
|
|
1596
|
-
|
|
1923
|
+
b(" Clear All Overrides ", -1)
|
|
1597
1924
|
])]),
|
|
1598
1925
|
_: 1
|
|
1599
1926
|
}, 8, ["onClick"]),
|
|
1600
|
-
s(
|
|
1601
|
-
s(
|
|
1927
|
+
s(d),
|
|
1928
|
+
s(w, {
|
|
1602
1929
|
modelValue: i.search,
|
|
1603
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1930
|
+
"onUpdate:modelValue": e[0] || (e[0] = (C) => i.search = C),
|
|
1604
1931
|
label: "Search",
|
|
1605
1932
|
"prepend-inner-icon": "mdi-magnify",
|
|
1606
1933
|
clearable: "",
|
|
@@ -1612,7 +1939,7 @@ function Kt(t, e, o, a, i, n) {
|
|
|
1612
1939
|
]),
|
|
1613
1940
|
_: 1
|
|
1614
1941
|
}),
|
|
1615
|
-
s(
|
|
1942
|
+
s(x, {
|
|
1616
1943
|
headers: i.headers,
|
|
1617
1944
|
items: i.overrides,
|
|
1618
1945
|
search: i.search,
|
|
@@ -1620,12 +1947,12 @@ function Kt(t, e, o, a, i, n) {
|
|
|
1620
1947
|
"multi-sort": "",
|
|
1621
1948
|
density: "compact"
|
|
1622
1949
|
}, {
|
|
1623
|
-
"item.delete": l(({ item:
|
|
1624
|
-
s(
|
|
1950
|
+
"item.delete": l(({ item: C }) => [
|
|
1951
|
+
s(c, {
|
|
1625
1952
|
icon: "mdi-delete",
|
|
1626
1953
|
variant: "text",
|
|
1627
1954
|
"aria-label": "Delete Override",
|
|
1628
|
-
onClick: (
|
|
1955
|
+
onClick: (A) => n.deleteOverride(C)
|
|
1629
1956
|
}, null, 8, ["onClick"])
|
|
1630
1957
|
]),
|
|
1631
1958
|
_: 1
|
|
@@ -1634,16 +1961,16 @@ function Kt(t, e, o, a, i, n) {
|
|
|
1634
1961
|
_: 1
|
|
1635
1962
|
})
|
|
1636
1963
|
]),
|
|
1637
|
-
s(
|
|
1964
|
+
s(V, { class: "px-2" }, {
|
|
1638
1965
|
default: l(() => [
|
|
1639
|
-
s(
|
|
1640
|
-
s(
|
|
1966
|
+
s(d),
|
|
1967
|
+
s(c, {
|
|
1641
1968
|
variant: "flat",
|
|
1642
1969
|
"data-test": "overrides-dialog-ok",
|
|
1643
|
-
onClick: e[1] || (e[1] = (
|
|
1970
|
+
onClick: e[1] || (e[1] = (C) => n.show = !n.show)
|
|
1644
1971
|
}, {
|
|
1645
1972
|
default: l(() => [...e[5] || (e[5] = [
|
|
1646
|
-
|
|
1973
|
+
b(" Ok ", -1)
|
|
1647
1974
|
])]),
|
|
1648
1975
|
_: 1
|
|
1649
1976
|
})
|
|
@@ -1657,7 +1984,7 @@ function Kt(t, e, o, a, i, n) {
|
|
|
1657
1984
|
_: 1
|
|
1658
1985
|
}, 8, ["modelValue"]);
|
|
1659
1986
|
}
|
|
1660
|
-
const
|
|
1987
|
+
const ii = /* @__PURE__ */ J($t, [["render", ti]]), si = {
|
|
1661
1988
|
props: {
|
|
1662
1989
|
title: {
|
|
1663
1990
|
type: String,
|
|
@@ -1682,7 +2009,7 @@ const jt = /* @__PURE__ */ J(Gt, [["render", Kt]]), Wt = {
|
|
|
1682
2009
|
layout: {
|
|
1683
2010
|
type: String,
|
|
1684
2011
|
default: "horizontal"
|
|
1685
|
-
// Also 'vertical' or '
|
|
2012
|
+
// Also 'vertical', 'combo' for ComboBox, or 'check' for CheckBox
|
|
1686
2013
|
},
|
|
1687
2014
|
multiple: {
|
|
1688
2015
|
type: Boolean,
|
|
@@ -1695,7 +2022,8 @@ const jt = /* @__PURE__ */ J(Gt, [["render", Kt]]), Wt = {
|
|
|
1695
2022
|
data() {
|
|
1696
2023
|
return {
|
|
1697
2024
|
selectOkDisabled: !0,
|
|
1698
|
-
selectedItem: null
|
|
2025
|
+
selectedItem: null,
|
|
2026
|
+
checkedItems: []
|
|
1699
2027
|
};
|
|
1700
2028
|
},
|
|
1701
2029
|
computed: {
|
|
@@ -1719,68 +2047,74 @@ const jt = /* @__PURE__ */ J(Gt, [["render", Kt]]), Wt = {
|
|
|
1719
2047
|
submitHandler: function() {
|
|
1720
2048
|
this.$emit("response", this.selectedItem);
|
|
1721
2049
|
},
|
|
2050
|
+
submitChecked: function() {
|
|
2051
|
+
this.$emit("response", this.checkedItems);
|
|
2052
|
+
},
|
|
1722
2053
|
cancelHandler: function() {
|
|
1723
|
-
this.$emit("response", "
|
|
2054
|
+
this.$emit("response", "COSMOS__CANCEL");
|
|
1724
2055
|
}
|
|
1725
2056
|
}
|
|
1726
|
-
},
|
|
2057
|
+
}, ni = ["textContent"], oi = {
|
|
1727
2058
|
class: "pa-2",
|
|
1728
2059
|
style: { "max-height": "60vh", overflow: "auto" }
|
|
1729
|
-
},
|
|
1730
|
-
function
|
|
1731
|
-
const
|
|
1732
|
-
return
|
|
2060
|
+
}, li = ["textContent"], ri = ["textContent"], ai = { key: 0 }, di = { key: 1 }, ui = { key: 2 };
|
|
2061
|
+
function ci(t, e, o, a, i, n) {
|
|
2062
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-card-subtitle"), w = r("v-row"), S = r("v-card-text"), x = r("v-select"), k = r("v-btn"), V = r("v-card-actions"), E = r("v-checkbox"), U = r("v-col"), C = r("v-card"), A = r("v-dialog");
|
|
2063
|
+
return g(), R(A, {
|
|
1733
2064
|
modelValue: n.show,
|
|
1734
|
-
"onUpdate:modelValue": e[
|
|
2065
|
+
"onUpdate:modelValue": e[3] || (e[3] = (I) => n.show = I),
|
|
1735
2066
|
persistent: "",
|
|
1736
2067
|
scrollable: "",
|
|
1737
2068
|
width: "600",
|
|
1738
|
-
onKeydown:
|
|
2069
|
+
onKeydown: ae(n.cancelHandler, ["esc"])
|
|
1739
2070
|
}, {
|
|
1740
2071
|
default: l(() => [
|
|
1741
|
-
s(
|
|
2072
|
+
s(C, null, {
|
|
1742
2073
|
default: l(() => [
|
|
1743
|
-
s(
|
|
2074
|
+
s(h, { height: "24" }, {
|
|
1744
2075
|
default: l(() => [
|
|
1745
|
-
s(
|
|
1746
|
-
|
|
2076
|
+
s(d),
|
|
2077
|
+
y("span", {
|
|
1747
2078
|
class: "text",
|
|
1748
|
-
textContent:
|
|
1749
|
-
}, null, 8,
|
|
1750
|
-
s(
|
|
2079
|
+
textContent: B(o.title)
|
|
2080
|
+
}, null, 8, ni),
|
|
2081
|
+
s(d)
|
|
1751
2082
|
]),
|
|
1752
2083
|
_: 1
|
|
1753
2084
|
}),
|
|
1754
|
-
|
|
1755
|
-
s(
|
|
2085
|
+
y("div", oi, [
|
|
2086
|
+
s(S, { class: "text" }, {
|
|
1756
2087
|
default: l(() => [
|
|
1757
|
-
o.subtitle ? (
|
|
2088
|
+
o.subtitle ? (g(), R(w, {
|
|
2089
|
+
key: 0,
|
|
2090
|
+
class: "mb-2"
|
|
2091
|
+
}, {
|
|
1758
2092
|
default: l(() => [
|
|
1759
|
-
s(
|
|
2093
|
+
s(c, null, {
|
|
1760
2094
|
default: l(() => [
|
|
1761
|
-
|
|
2095
|
+
b(B(o.subtitle), 1)
|
|
1762
2096
|
]),
|
|
1763
2097
|
_: 1
|
|
1764
2098
|
})
|
|
1765
2099
|
]),
|
|
1766
2100
|
_: 1
|
|
1767
2101
|
})) : P("", !0),
|
|
1768
|
-
s(
|
|
2102
|
+
s(w, { class: "mt-1" }, {
|
|
1769
2103
|
default: l(() => [
|
|
1770
|
-
|
|
1771
|
-
textContent:
|
|
1772
|
-
}, null, 8,
|
|
2104
|
+
y("span", {
|
|
2105
|
+
textContent: B(o.message)
|
|
2106
|
+
}, null, 8, li)
|
|
1773
2107
|
]),
|
|
1774
2108
|
_: 1
|
|
1775
2109
|
}),
|
|
1776
|
-
o.details ? (
|
|
2110
|
+
o.details ? (g(), R(w, {
|
|
1777
2111
|
key: 1,
|
|
1778
|
-
class: "mt-
|
|
2112
|
+
class: "mt-3"
|
|
1779
2113
|
}, {
|
|
1780
2114
|
default: l(() => [
|
|
1781
|
-
|
|
1782
|
-
textContent:
|
|
1783
|
-
}, null, 8,
|
|
2115
|
+
y("span", {
|
|
2116
|
+
textContent: B(o.details)
|
|
2117
|
+
}, null, 8, ri)
|
|
1784
2118
|
]),
|
|
1785
2119
|
_: 1
|
|
1786
2120
|
})) : P("", !0)
|
|
@@ -1788,14 +2122,14 @@ function ei(t, e, o, a, i, n) {
|
|
|
1788
2122
|
_: 1
|
|
1789
2123
|
})
|
|
1790
2124
|
]),
|
|
1791
|
-
o.layout === "combo" ? (
|
|
1792
|
-
s(
|
|
2125
|
+
o.layout === "combo" ? (g(), z("div", ai, [
|
|
2126
|
+
s(w, { class: "ma-2" }, {
|
|
1793
2127
|
default: l(() => [
|
|
1794
|
-
s(
|
|
2128
|
+
s(x, {
|
|
1795
2129
|
modelValue: i.selectedItem,
|
|
1796
2130
|
"onUpdate:modelValue": [
|
|
1797
|
-
e[0] || (e[0] = (
|
|
1798
|
-
e[1] || (e[1] = (
|
|
2131
|
+
e[0] || (e[0] = (I) => i.selectedItem = I),
|
|
2132
|
+
e[1] || (e[1] = (I) => i.selectOkDisabled = !1)
|
|
1799
2133
|
],
|
|
1800
2134
|
label: "Select",
|
|
1801
2135
|
color: "secondary",
|
|
@@ -1807,57 +2141,106 @@ function ei(t, e, o, a, i, n) {
|
|
|
1807
2141
|
]),
|
|
1808
2142
|
_: 1
|
|
1809
2143
|
}),
|
|
1810
|
-
s(
|
|
2144
|
+
s(V, { class: "px-2" }, {
|
|
1811
2145
|
default: l(() => [
|
|
1812
|
-
s(
|
|
1813
|
-
s(
|
|
2146
|
+
s(d),
|
|
2147
|
+
s(k, {
|
|
1814
2148
|
variant: "outlined",
|
|
1815
2149
|
"data-test": "prompt-cancel",
|
|
1816
2150
|
onClick: n.cancelHandler
|
|
1817
2151
|
}, {
|
|
1818
|
-
default: l(() => [...e[
|
|
1819
|
-
|
|
2152
|
+
default: l(() => [...e[4] || (e[4] = [
|
|
2153
|
+
b(" Cancel ", -1)
|
|
1820
2154
|
])]),
|
|
1821
2155
|
_: 1
|
|
1822
2156
|
}, 8, ["onClick"]),
|
|
1823
|
-
s(
|
|
2157
|
+
s(k, {
|
|
1824
2158
|
variant: "flat",
|
|
1825
2159
|
"data-test": "prompt-ok",
|
|
1826
2160
|
disabled: i.selectOkDisabled,
|
|
1827
2161
|
onClick: n.submitHandler
|
|
1828
2162
|
}, {
|
|
1829
|
-
default: l(() => [...e[
|
|
1830
|
-
|
|
2163
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
2164
|
+
b(" Ok ", -1)
|
|
2165
|
+
])]),
|
|
2166
|
+
_: 1
|
|
2167
|
+
}, 8, ["disabled", "onClick"])
|
|
2168
|
+
]),
|
|
2169
|
+
_: 1
|
|
2170
|
+
})
|
|
2171
|
+
])) : o.layout === "check" ? (g(), z("div", di, [
|
|
2172
|
+
s(w, { class: "ma-2" }, {
|
|
2173
|
+
default: l(() => [
|
|
2174
|
+
s(U, null, {
|
|
2175
|
+
default: l(() => [
|
|
2176
|
+
(g(!0), z($, null, ie(o.buttons, (I, F) => (g(), R(E, {
|
|
2177
|
+
key: F,
|
|
2178
|
+
modelValue: i.checkedItems,
|
|
2179
|
+
"onUpdate:modelValue": e[2] || (e[2] = (N) => i.checkedItems = N),
|
|
2180
|
+
label: I.title,
|
|
2181
|
+
value: I.value,
|
|
2182
|
+
color: "secondary",
|
|
2183
|
+
density: "compact",
|
|
2184
|
+
"hide-details": "",
|
|
2185
|
+
"data-test": `prompt-check-${I.value}`
|
|
2186
|
+
}, null, 8, ["modelValue", "label", "value", "data-test"]))), 128))
|
|
2187
|
+
]),
|
|
2188
|
+
_: 1
|
|
2189
|
+
})
|
|
2190
|
+
]),
|
|
2191
|
+
_: 1
|
|
2192
|
+
}),
|
|
2193
|
+
s(V, { class: "px-2" }, {
|
|
2194
|
+
default: l(() => [
|
|
2195
|
+
s(d),
|
|
2196
|
+
s(k, {
|
|
2197
|
+
variant: "outlined",
|
|
2198
|
+
"data-test": "prompt-cancel",
|
|
2199
|
+
onClick: n.cancelHandler
|
|
2200
|
+
}, {
|
|
2201
|
+
default: l(() => [...e[6] || (e[6] = [
|
|
2202
|
+
b(" Cancel ", -1)
|
|
2203
|
+
])]),
|
|
2204
|
+
_: 1
|
|
2205
|
+
}, 8, ["onClick"]),
|
|
2206
|
+
s(k, {
|
|
2207
|
+
variant: "flat",
|
|
2208
|
+
"data-test": "prompt-ok",
|
|
2209
|
+
disabled: i.checkedItems.length === 0,
|
|
2210
|
+
onClick: n.submitChecked
|
|
2211
|
+
}, {
|
|
2212
|
+
default: l(() => [...e[7] || (e[7] = [
|
|
2213
|
+
b(" Ok ", -1)
|
|
1831
2214
|
])]),
|
|
1832
2215
|
_: 1
|
|
1833
2216
|
}, 8, ["disabled", "onClick"])
|
|
1834
2217
|
]),
|
|
1835
2218
|
_: 1
|
|
1836
2219
|
})
|
|
1837
|
-
])) : (
|
|
1838
|
-
s(
|
|
1839
|
-
class:
|
|
2220
|
+
])) : (g(), z("div", ui, [
|
|
2221
|
+
s(V, {
|
|
2222
|
+
class: fe(n.layoutClass)
|
|
1840
2223
|
}, {
|
|
1841
2224
|
default: l(() => [
|
|
1842
|
-
o.layout !== "vertical" ? (
|
|
1843
|
-
s(
|
|
2225
|
+
o.layout !== "vertical" ? (g(), R(d, { key: 0 })) : P("", !0),
|
|
2226
|
+
s(k, {
|
|
1844
2227
|
variant: "outlined",
|
|
1845
2228
|
"data-test": "prompt-cancel",
|
|
1846
2229
|
onClick: n.cancelHandler
|
|
1847
2230
|
}, {
|
|
1848
|
-
default: l(() => [...e[
|
|
1849
|
-
|
|
2231
|
+
default: l(() => [...e[8] || (e[8] = [
|
|
2232
|
+
b(" Cancel ", -1)
|
|
1850
2233
|
])]),
|
|
1851
2234
|
_: 1
|
|
1852
2235
|
}, 8, ["onClick"]),
|
|
1853
|
-
(
|
|
1854
|
-
s(
|
|
2236
|
+
(g(!0), z($, null, ie(o.buttons, (I, F) => (g(), z("div", { key: F }, [
|
|
2237
|
+
s(k, {
|
|
1855
2238
|
variant: "flat",
|
|
1856
|
-
"data-test": `prompt-${
|
|
1857
|
-
onClick: (
|
|
2239
|
+
"data-test": `prompt-${I.text}`,
|
|
2240
|
+
onClick: (N) => n.submitWrapper(I.value)
|
|
1858
2241
|
}, {
|
|
1859
2242
|
default: l(() => [
|
|
1860
|
-
|
|
2243
|
+
b(B(I.text), 1)
|
|
1861
2244
|
]),
|
|
1862
2245
|
_: 2
|
|
1863
2246
|
}, 1032, ["data-test", "onClick"])
|
|
@@ -1873,7 +2256,7 @@ function ei(t, e, o, a, i, n) {
|
|
|
1873
2256
|
_: 1
|
|
1874
2257
|
}, 8, ["modelValue", "onKeydown"]);
|
|
1875
2258
|
}
|
|
1876
|
-
const
|
|
2259
|
+
const mi = /* @__PURE__ */ J(si, [["render", ci], ["__scopeId", "data-v-32c3a92d"]]), pi = {
|
|
1877
2260
|
components: {},
|
|
1878
2261
|
props: {
|
|
1879
2262
|
modelValue: {
|
|
@@ -1908,34 +2291,34 @@ const ti = /* @__PURE__ */ J(Wt, [["render", ei], ["__scopeId", "data-v-186e96ad
|
|
|
1908
2291
|
}), e = document.createElement("a");
|
|
1909
2292
|
e.href = URL.createObjectURL(t), e.setAttribute(
|
|
1910
2293
|
"download",
|
|
1911
|
-
|
|
2294
|
+
ye(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_suite_results.txt"
|
|
1912
2295
|
), e.click();
|
|
1913
2296
|
}
|
|
1914
2297
|
}
|
|
1915
|
-
},
|
|
1916
|
-
function
|
|
1917
|
-
const
|
|
1918
|
-
return
|
|
2298
|
+
}, hi = { class: "pa-2" };
|
|
2299
|
+
function fi(t, e, o, a, i, n) {
|
|
2300
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("v-textarea"), w = r("v-card-text"), S = r("v-btn"), x = r("v-card-actions"), k = r("v-card"), V = r("v-dialog");
|
|
2301
|
+
return g(), R(V, {
|
|
1919
2302
|
modelValue: n.show,
|
|
1920
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2303
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => n.show = E),
|
|
1921
2304
|
scrollable: "",
|
|
1922
2305
|
width: "800"
|
|
1923
2306
|
}, {
|
|
1924
2307
|
default: l(() => [
|
|
1925
|
-
s(
|
|
2308
|
+
s(k, null, {
|
|
1926
2309
|
default: l(() => [
|
|
1927
|
-
s(
|
|
2310
|
+
s(h, { height: "24" }, {
|
|
1928
2311
|
default: l(() => [
|
|
1929
|
-
s(
|
|
1930
|
-
e[2] || (e[2] =
|
|
1931
|
-
s(
|
|
2312
|
+
s(d),
|
|
2313
|
+
e[2] || (e[2] = y("span", null, " Script Results ", -1)),
|
|
2314
|
+
s(d)
|
|
1932
2315
|
]),
|
|
1933
2316
|
_: 1
|
|
1934
2317
|
}),
|
|
1935
|
-
|
|
1936
|
-
s(
|
|
2318
|
+
y("div", hi, [
|
|
2319
|
+
s(w, { style: { width: "100%", "max-height": "80vh", overflow: "auto" } }, {
|
|
1937
2320
|
default: l(() => [
|
|
1938
|
-
s(
|
|
2321
|
+
s(c, {
|
|
1939
2322
|
readonly: "",
|
|
1940
2323
|
"hide-details": "",
|
|
1941
2324
|
density: "compact",
|
|
@@ -1946,25 +2329,25 @@ function ni(t, e, o, a, i, n) {
|
|
|
1946
2329
|
_: 1
|
|
1947
2330
|
})
|
|
1948
2331
|
]),
|
|
1949
|
-
s(
|
|
2332
|
+
s(x, { class: "px-2" }, {
|
|
1950
2333
|
default: l(() => [
|
|
1951
|
-
s(
|
|
1952
|
-
s(
|
|
2334
|
+
s(d),
|
|
2335
|
+
s(S, {
|
|
1953
2336
|
variant: "outlined",
|
|
1954
2337
|
onClick: n.downloadResults
|
|
1955
2338
|
}, {
|
|
1956
2339
|
default: l(() => [...e[3] || (e[3] = [
|
|
1957
|
-
|
|
2340
|
+
b(" Download ", -1)
|
|
1958
2341
|
])]),
|
|
1959
2342
|
_: 1
|
|
1960
2343
|
}, 8, ["onClick"]),
|
|
1961
|
-
s(
|
|
2344
|
+
s(S, {
|
|
1962
2345
|
ref: "okButton",
|
|
1963
2346
|
variant: "flat",
|
|
1964
|
-
onClick: e[0] || (e[0] = (
|
|
2347
|
+
onClick: e[0] || (e[0] = (E) => n.show = !n.show)
|
|
1965
2348
|
}, {
|
|
1966
2349
|
default: l(() => [...e[4] || (e[4] = [
|
|
1967
|
-
|
|
2350
|
+
b(" Ok ", -1)
|
|
1968
2351
|
])]),
|
|
1969
2352
|
_: 1
|
|
1970
2353
|
}, 512)
|
|
@@ -1978,9 +2361,9 @@ function ni(t, e, o, a, i, n) {
|
|
|
1978
2361
|
_: 1
|
|
1979
2362
|
}, 8, ["modelValue"]);
|
|
1980
2363
|
}
|
|
1981
|
-
const
|
|
2364
|
+
const gi = /* @__PURE__ */ J(pi, [["render", fi]]), vi = {
|
|
1982
2365
|
components: {
|
|
1983
|
-
EnvironmentChooser:
|
|
2366
|
+
EnvironmentChooser: it
|
|
1984
2367
|
},
|
|
1985
2368
|
props: {
|
|
1986
2369
|
modelValue: {
|
|
@@ -2022,59 +2405,59 @@ const oi = /* @__PURE__ */ J(ii, [["render", ni]]), li = {
|
|
|
2022
2405
|
this.show = !this.show;
|
|
2023
2406
|
}
|
|
2024
2407
|
}
|
|
2025
|
-
},
|
|
2026
|
-
function
|
|
2027
|
-
const
|
|
2028
|
-
return
|
|
2408
|
+
}, _i = { class: "pa-2" };
|
|
2409
|
+
function bi(t, e, o, a, i, n) {
|
|
2410
|
+
const d = r("v-spacer"), h = r("v-toolbar"), c = r("environment-chooser"), w = r("v-card-text"), S = r("v-btn"), x = r("v-card-actions"), k = r("v-card"), V = r("v-dialog");
|
|
2411
|
+
return g(), R(V, {
|
|
2029
2412
|
modelValue: n.show,
|
|
2030
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2413
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => n.show = E),
|
|
2031
2414
|
persistent: "",
|
|
2032
2415
|
width: "600",
|
|
2033
|
-
onKeydown:
|
|
2416
|
+
onKeydown: ae(n.cancel, ["esc"])
|
|
2034
2417
|
}, {
|
|
2035
2418
|
default: l(() => [
|
|
2036
|
-
s(
|
|
2419
|
+
s(k, null, {
|
|
2037
2420
|
default: l(() => [
|
|
2038
|
-
s(
|
|
2421
|
+
s(h, { height: "24" }, {
|
|
2039
2422
|
default: l(() => [
|
|
2040
|
-
s(
|
|
2041
|
-
e[2] || (e[2] =
|
|
2042
|
-
s(
|
|
2423
|
+
s(d),
|
|
2424
|
+
e[2] || (e[2] = y("span", null, "Script Environment Variables", -1)),
|
|
2425
|
+
s(d)
|
|
2043
2426
|
]),
|
|
2044
2427
|
_: 1
|
|
2045
2428
|
}),
|
|
2046
|
-
|
|
2047
|
-
s(
|
|
2429
|
+
y("div", _i, [
|
|
2430
|
+
s(w, null, {
|
|
2048
2431
|
default: l(() => [
|
|
2049
|
-
s(
|
|
2432
|
+
s(c, {
|
|
2050
2433
|
modelValue: i.selected,
|
|
2051
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
2434
|
+
"onUpdate:modelValue": e[0] || (e[0] = (E) => i.selected = E)
|
|
2052
2435
|
}, null, 8, ["modelValue"])
|
|
2053
2436
|
]),
|
|
2054
2437
|
_: 1
|
|
2055
2438
|
})
|
|
2056
2439
|
]),
|
|
2057
|
-
s(
|
|
2440
|
+
s(x, { class: "px-2" }, {
|
|
2058
2441
|
default: l(() => [
|
|
2059
|
-
s(
|
|
2060
|
-
s(
|
|
2442
|
+
s(d),
|
|
2443
|
+
s(S, {
|
|
2061
2444
|
variant: "outlined",
|
|
2062
2445
|
"data-test": "environment-dialog-cancel",
|
|
2063
2446
|
onClick: n.cancel
|
|
2064
2447
|
}, {
|
|
2065
2448
|
default: l(() => [...e[3] || (e[3] = [
|
|
2066
|
-
|
|
2449
|
+
b(" Cancel ", -1)
|
|
2067
2450
|
])]),
|
|
2068
2451
|
_: 1
|
|
2069
2452
|
}, 8, ["onClick"]),
|
|
2070
|
-
s(
|
|
2453
|
+
s(S, {
|
|
2071
2454
|
variant: "flat",
|
|
2072
2455
|
"data-test": "environment-dialog-save",
|
|
2073
2456
|
disabled: !!t.inputError,
|
|
2074
2457
|
onClick: n.updateEnvironment
|
|
2075
2458
|
}, {
|
|
2076
2459
|
default: l(() => [...e[4] || (e[4] = [
|
|
2077
|
-
|
|
2460
|
+
b(" Save ", -1)
|
|
2078
2461
|
])]),
|
|
2079
2462
|
_: 1
|
|
2080
2463
|
}, 8, ["disabled", "onClick"])
|
|
@@ -2088,7 +2471,7 @@ function ai(t, e, o, a, i, n) {
|
|
|
2088
2471
|
_: 1
|
|
2089
2472
|
}, 8, ["modelValue", "onKeydown"]);
|
|
2090
2473
|
}
|
|
2091
|
-
const
|
|
2474
|
+
const wi = /* @__PURE__ */ J(vi, [["render", bi]]), ki = {
|
|
2092
2475
|
props: {
|
|
2093
2476
|
suiteMap: {
|
|
2094
2477
|
type: Object,
|
|
@@ -2173,31 +2556,31 @@ const di = /* @__PURE__ */ J(li, [["render", ai]]), ui = {
|
|
|
2173
2556
|
this.script = t;
|
|
2174
2557
|
}
|
|
2175
2558
|
}
|
|
2176
|
-
},
|
|
2177
|
-
function
|
|
2178
|
-
const
|
|
2179
|
-
return
|
|
2180
|
-
|
|
2181
|
-
s(
|
|
2559
|
+
}, yi = { id: "tr-container" };
|
|
2560
|
+
function Si(t, e, o, a, i, n) {
|
|
2561
|
+
const d = r("v-checkbox"), h = r("v-tooltip"), c = r("v-col"), w = r("v-row"), S = r("v-select"), x = r("v-btn");
|
|
2562
|
+
return g(), z("div", null, [
|
|
2563
|
+
y("div", yi, [
|
|
2564
|
+
s(w, {
|
|
2182
2565
|
"no-gutters": "",
|
|
2183
2566
|
align: "center"
|
|
2184
2567
|
}, {
|
|
2185
2568
|
default: l(() => [
|
|
2186
|
-
s(
|
|
2569
|
+
s(c, { cols: "4" }, {
|
|
2187
2570
|
default: l(() => [
|
|
2188
|
-
s(
|
|
2571
|
+
s(w, { "no-gutters": "" }, {
|
|
2189
2572
|
default: l(() => [
|
|
2190
|
-
s(
|
|
2573
|
+
s(c, { cols: "6" }, {
|
|
2191
2574
|
default: l(() => [
|
|
2192
|
-
s(
|
|
2575
|
+
s(h, {
|
|
2193
2576
|
"open-delay": 600,
|
|
2194
2577
|
location: "top"
|
|
2195
2578
|
}, {
|
|
2196
|
-
activator: l(({ props:
|
|
2197
|
-
|
|
2198
|
-
s(
|
|
2579
|
+
activator: l(({ props: k }) => [
|
|
2580
|
+
y("div", oe(le(k)), [
|
|
2581
|
+
s(d, {
|
|
2199
2582
|
modelValue: i.options,
|
|
2200
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
2583
|
+
"onUpdate:modelValue": e[0] || (e[0] = (V) => i.options = V),
|
|
2201
2584
|
label: "Pause on Error",
|
|
2202
2585
|
value: "pauseOnError",
|
|
2203
2586
|
"hide-details": "",
|
|
@@ -2206,10 +2589,10 @@ function mi(t, e, o, a, i, n) {
|
|
|
2206
2589
|
], 16)
|
|
2207
2590
|
]),
|
|
2208
2591
|
default: l(() => [
|
|
2209
|
-
e[16] || (e[16] =
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2592
|
+
e[16] || (e[16] = y("span", null, [
|
|
2593
|
+
b(" Checked pauses the script when an error is encountered"),
|
|
2594
|
+
y("br"),
|
|
2595
|
+
b(" Unchecked continues without user interaction ")
|
|
2213
2596
|
], -1))
|
|
2214
2597
|
]),
|
|
2215
2598
|
_: 1
|
|
@@ -2217,17 +2600,17 @@ function mi(t, e, o, a, i, n) {
|
|
|
2217
2600
|
]),
|
|
2218
2601
|
_: 1
|
|
2219
2602
|
}),
|
|
2220
|
-
s(
|
|
2603
|
+
s(c, { cols: "6" }, {
|
|
2221
2604
|
default: l(() => [
|
|
2222
|
-
s(
|
|
2605
|
+
s(h, {
|
|
2223
2606
|
"open-delay": 600,
|
|
2224
2607
|
location: "top"
|
|
2225
2608
|
}, {
|
|
2226
|
-
activator: l(({ props:
|
|
2227
|
-
|
|
2228
|
-
s(
|
|
2609
|
+
activator: l(({ props: k }) => [
|
|
2610
|
+
y("div", oe(le(k)), [
|
|
2611
|
+
s(d, {
|
|
2229
2612
|
modelValue: i.options,
|
|
2230
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2613
|
+
"onUpdate:modelValue": e[1] || (e[1] = (V) => i.options = V),
|
|
2231
2614
|
label: "Manual",
|
|
2232
2615
|
value: "manual",
|
|
2233
2616
|
"hide-details": "",
|
|
@@ -2236,10 +2619,10 @@ function mi(t, e, o, a, i, n) {
|
|
|
2236
2619
|
], 16)
|
|
2237
2620
|
]),
|
|
2238
2621
|
default: l(() => [
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
e[17] || (e[17] =
|
|
2242
|
-
|
|
2622
|
+
y("span", null, [
|
|
2623
|
+
b(B(n.checkedManualTooltip), 1),
|
|
2624
|
+
e[17] || (e[17] = y("br", null, null, -1)),
|
|
2625
|
+
b(" " + B(n.uncheckedManualTooltip), 1)
|
|
2243
2626
|
])
|
|
2244
2627
|
]),
|
|
2245
2628
|
_: 1
|
|
@@ -2253,19 +2636,19 @@ function mi(t, e, o, a, i, n) {
|
|
|
2253
2636
|
]),
|
|
2254
2637
|
_: 1
|
|
2255
2638
|
}),
|
|
2256
|
-
s(
|
|
2639
|
+
s(c, { cols: "8" }, {
|
|
2257
2640
|
default: l(() => [
|
|
2258
|
-
s(
|
|
2641
|
+
s(w, {
|
|
2259
2642
|
"no-gutters": "",
|
|
2260
2643
|
justify: "end"
|
|
2261
2644
|
}, {
|
|
2262
2645
|
default: l(() => [
|
|
2263
|
-
s(
|
|
2646
|
+
s(c, { cols: "5" }, {
|
|
2264
2647
|
default: l(() => [
|
|
2265
|
-
s(
|
|
2648
|
+
s(S, {
|
|
2266
2649
|
modelValue: i.suite,
|
|
2267
2650
|
"onUpdate:modelValue": [
|
|
2268
|
-
e[2] || (e[2] = (
|
|
2651
|
+
e[2] || (e[2] = (k) => i.suite = k),
|
|
2269
2652
|
n.suiteChanged
|
|
2270
2653
|
],
|
|
2271
2654
|
label: "Suite:",
|
|
@@ -2279,40 +2662,40 @@ function mi(t, e, o, a, i, n) {
|
|
|
2279
2662
|
]),
|
|
2280
2663
|
_: 1
|
|
2281
2664
|
}),
|
|
2282
|
-
s(
|
|
2665
|
+
s(c, { cols: "auto" }, {
|
|
2283
2666
|
default: l(() => [
|
|
2284
|
-
s(
|
|
2667
|
+
s(x, {
|
|
2285
2668
|
color: "primary",
|
|
2286
2669
|
class: "mr-2",
|
|
2287
2670
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2288
2671
|
"data-test": "start-suite",
|
|
2289
|
-
onClick: e[3] || (e[3] = (
|
|
2672
|
+
onClick: e[3] || (e[3] = (k) => t.$emit("button", { method: "start", suite: i.suite, options: i.options }))
|
|
2290
2673
|
}, {
|
|
2291
2674
|
default: l(() => [...e[18] || (e[18] = [
|
|
2292
|
-
|
|
2675
|
+
b(" Start ", -1)
|
|
2293
2676
|
])]),
|
|
2294
2677
|
_: 1
|
|
2295
2678
|
}, 8, ["disabled"]),
|
|
2296
|
-
s(
|
|
2679
|
+
s(x, {
|
|
2297
2680
|
color: "primary",
|
|
2298
2681
|
class: "mr-2",
|
|
2299
2682
|
"data-test": "setup-suite",
|
|
2300
2683
|
disabled: o.disableButtons || !n.setupSuiteEnabled || !i.userInfo.execute,
|
|
2301
|
-
onClick: e[4] || (e[4] = (
|
|
2684
|
+
onClick: e[4] || (e[4] = (k) => t.$emit("button", { method: "setup", suite: i.suite, options: i.options }))
|
|
2302
2685
|
}, {
|
|
2303
2686
|
default: l(() => [...e[19] || (e[19] = [
|
|
2304
|
-
|
|
2687
|
+
b(" Setup ", -1)
|
|
2305
2688
|
])]),
|
|
2306
2689
|
_: 1
|
|
2307
2690
|
}, 8, ["disabled"]),
|
|
2308
|
-
s(
|
|
2691
|
+
s(x, {
|
|
2309
2692
|
color: "primary",
|
|
2310
2693
|
"data-test": "teardown-suite",
|
|
2311
2694
|
disabled: o.disableButtons || !n.teardownSuiteEnabled || !i.userInfo.execute,
|
|
2312
|
-
onClick: e[5] || (e[5] = (
|
|
2695
|
+
onClick: e[5] || (e[5] = (k) => t.$emit("button", { method: "teardown", suite: i.suite, options: i.options }))
|
|
2313
2696
|
}, {
|
|
2314
2697
|
default: l(() => [...e[20] || (e[20] = [
|
|
2315
|
-
|
|
2698
|
+
b(" Teardown ", -1)
|
|
2316
2699
|
])]),
|
|
2317
2700
|
_: 1
|
|
2318
2701
|
}, 8, ["disabled"])
|
|
@@ -2328,23 +2711,23 @@ function mi(t, e, o, a, i, n) {
|
|
|
2328
2711
|
]),
|
|
2329
2712
|
_: 1
|
|
2330
2713
|
}),
|
|
2331
|
-
s(
|
|
2714
|
+
s(w, { "no-gutters": "" }, {
|
|
2332
2715
|
default: l(() => [
|
|
2333
|
-
s(
|
|
2716
|
+
s(c, { cols: "4" }, {
|
|
2334
2717
|
default: l(() => [
|
|
2335
|
-
s(
|
|
2718
|
+
s(w, { "no-gutters": "" }, {
|
|
2336
2719
|
default: l(() => [
|
|
2337
|
-
s(
|
|
2720
|
+
s(c, { cols: "6" }, {
|
|
2338
2721
|
default: l(() => [
|
|
2339
|
-
s(
|
|
2722
|
+
s(h, {
|
|
2340
2723
|
"open-delay": 600,
|
|
2341
2724
|
location: "top"
|
|
2342
2725
|
}, {
|
|
2343
|
-
activator: l(({ props:
|
|
2344
|
-
|
|
2345
|
-
s(
|
|
2726
|
+
activator: l(({ props: k }) => [
|
|
2727
|
+
y("div", oe(le(k)), [
|
|
2728
|
+
s(d, {
|
|
2346
2729
|
modelValue: i.options,
|
|
2347
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
2730
|
+
"onUpdate:modelValue": e[6] || (e[6] = (V) => i.options = V),
|
|
2348
2731
|
label: "Continue after Error",
|
|
2349
2732
|
value: "continueAfterError",
|
|
2350
2733
|
"hide-details": "",
|
|
@@ -2353,10 +2736,10 @@ function mi(t, e, o, a, i, n) {
|
|
|
2353
2736
|
], 16)
|
|
2354
2737
|
]),
|
|
2355
2738
|
default: l(() => [
|
|
2356
|
-
e[21] || (e[21] =
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2739
|
+
e[21] || (e[21] = y("span", null, [
|
|
2740
|
+
b(" Checked allows the script to continue when an error is encountered"),
|
|
2741
|
+
y("br"),
|
|
2742
|
+
b(" Unchecked forces the current script to end ")
|
|
2360
2743
|
], -1))
|
|
2361
2744
|
]),
|
|
2362
2745
|
_: 1
|
|
@@ -2364,17 +2747,17 @@ function mi(t, e, o, a, i, n) {
|
|
|
2364
2747
|
]),
|
|
2365
2748
|
_: 1
|
|
2366
2749
|
}),
|
|
2367
|
-
s(
|
|
2750
|
+
s(c, { cols: "6" }, {
|
|
2368
2751
|
default: l(() => [
|
|
2369
|
-
s(
|
|
2752
|
+
s(h, {
|
|
2370
2753
|
"open-delay": 600,
|
|
2371
2754
|
location: "top"
|
|
2372
2755
|
}, {
|
|
2373
|
-
activator: l(({ props:
|
|
2374
|
-
|
|
2375
|
-
s(
|
|
2756
|
+
activator: l(({ props: k }) => [
|
|
2757
|
+
y("div", oe(le(k)), [
|
|
2758
|
+
s(d, {
|
|
2376
2759
|
modelValue: i.options,
|
|
2377
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
2760
|
+
"onUpdate:modelValue": e[7] || (e[7] = (V) => i.options = V),
|
|
2378
2761
|
label: "Loop",
|
|
2379
2762
|
value: "loop",
|
|
2380
2763
|
"hide-details": "",
|
|
@@ -2383,10 +2766,10 @@ function mi(t, e, o, a, i, n) {
|
|
|
2383
2766
|
], 16)
|
|
2384
2767
|
]),
|
|
2385
2768
|
default: l(() => [
|
|
2386
|
-
e[22] || (e[22] =
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2769
|
+
e[22] || (e[22] = y("span", null, [
|
|
2770
|
+
b(" Checked continuously executes until explicitly stopped"),
|
|
2771
|
+
y("br"),
|
|
2772
|
+
b(" Unchecked executes only the started script(s) ")
|
|
2390
2773
|
], -1))
|
|
2391
2774
|
]),
|
|
2392
2775
|
_: 1
|
|
@@ -2400,19 +2783,19 @@ function mi(t, e, o, a, i, n) {
|
|
|
2400
2783
|
]),
|
|
2401
2784
|
_: 1
|
|
2402
2785
|
}),
|
|
2403
|
-
s(
|
|
2786
|
+
s(c, { cols: "8" }, {
|
|
2404
2787
|
default: l(() => [
|
|
2405
|
-
s(
|
|
2788
|
+
s(w, {
|
|
2406
2789
|
"no-gutters": "",
|
|
2407
2790
|
justify: "end"
|
|
2408
2791
|
}, {
|
|
2409
2792
|
default: l(() => [
|
|
2410
|
-
s(
|
|
2793
|
+
s(c, { cols: "5" }, {
|
|
2411
2794
|
default: l(() => [
|
|
2412
|
-
s(
|
|
2795
|
+
s(S, {
|
|
2413
2796
|
modelValue: i.group,
|
|
2414
2797
|
"onUpdate:modelValue": [
|
|
2415
|
-
e[8] || (e[8] = (
|
|
2798
|
+
e[8] || (e[8] = (k) => i.group = k),
|
|
2416
2799
|
n.groupChanged
|
|
2417
2800
|
],
|
|
2418
2801
|
label: "Group:",
|
|
@@ -2426,40 +2809,40 @@ function mi(t, e, o, a, i, n) {
|
|
|
2426
2809
|
]),
|
|
2427
2810
|
_: 1
|
|
2428
2811
|
}),
|
|
2429
|
-
s(
|
|
2812
|
+
s(c, { cols: "auto" }, {
|
|
2430
2813
|
default: l(() => [
|
|
2431
|
-
s(
|
|
2814
|
+
s(x, {
|
|
2432
2815
|
color: "primary",
|
|
2433
2816
|
class: "mr-2",
|
|
2434
2817
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2435
2818
|
"data-test": "start-group",
|
|
2436
|
-
onClick: e[9] || (e[9] = (
|
|
2819
|
+
onClick: e[9] || (e[9] = (k) => t.$emit("button", { method: "start", suite: i.suite, group: i.group, options: i.options }))
|
|
2437
2820
|
}, {
|
|
2438
2821
|
default: l(() => [...e[23] || (e[23] = [
|
|
2439
|
-
|
|
2822
|
+
b(" Start ", -1)
|
|
2440
2823
|
])]),
|
|
2441
2824
|
_: 1
|
|
2442
2825
|
}, 8, ["disabled"]),
|
|
2443
|
-
s(
|
|
2826
|
+
s(x, {
|
|
2444
2827
|
color: "primary",
|
|
2445
2828
|
class: "mr-2",
|
|
2446
2829
|
"data-test": "setup-group",
|
|
2447
2830
|
disabled: o.disableButtons || !n.setupGroupEnabled || !i.userInfo.execute,
|
|
2448
|
-
onClick: e[10] || (e[10] = (
|
|
2831
|
+
onClick: e[10] || (e[10] = (k) => t.$emit("button", { method: "setup", suite: i.suite, group: i.group, options: i.options }))
|
|
2449
2832
|
}, {
|
|
2450
2833
|
default: l(() => [...e[24] || (e[24] = [
|
|
2451
|
-
|
|
2834
|
+
b(" Setup ", -1)
|
|
2452
2835
|
])]),
|
|
2453
2836
|
_: 1
|
|
2454
2837
|
}, 8, ["disabled"]),
|
|
2455
|
-
s(
|
|
2838
|
+
s(x, {
|
|
2456
2839
|
color: "primary",
|
|
2457
2840
|
"data-test": "teardown-group",
|
|
2458
2841
|
disabled: o.disableButtons || !n.teardownGroupEnabled || !i.userInfo.execute,
|
|
2459
|
-
onClick: e[11] || (e[11] = (
|
|
2842
|
+
onClick: e[11] || (e[11] = (k) => t.$emit("button", { method: "teardown", suite: i.suite, group: i.group, options: i.options }))
|
|
2460
2843
|
}, {
|
|
2461
2844
|
default: l(() => [...e[25] || (e[25] = [
|
|
2462
|
-
|
|
2845
|
+
b(" Teardown ", -1)
|
|
2463
2846
|
])]),
|
|
2464
2847
|
_: 1
|
|
2465
2848
|
}, 8, ["disabled"])
|
|
@@ -2475,23 +2858,23 @@ function mi(t, e, o, a, i, n) {
|
|
|
2475
2858
|
]),
|
|
2476
2859
|
_: 1
|
|
2477
2860
|
}),
|
|
2478
|
-
s(
|
|
2861
|
+
s(w, { "no-gutters": "" }, {
|
|
2479
2862
|
default: l(() => [
|
|
2480
|
-
s(
|
|
2863
|
+
s(c, { cols: "4" }, {
|
|
2481
2864
|
default: l(() => [
|
|
2482
|
-
s(
|
|
2865
|
+
s(w, { "no-gutters": "" }, {
|
|
2483
2866
|
default: l(() => [
|
|
2484
|
-
s(
|
|
2867
|
+
s(c, { cols: "6" }, {
|
|
2485
2868
|
default: l(() => [
|
|
2486
|
-
s(
|
|
2869
|
+
s(h, {
|
|
2487
2870
|
"open-delay": 600,
|
|
2488
2871
|
location: "top"
|
|
2489
2872
|
}, {
|
|
2490
|
-
activator: l(({ props:
|
|
2491
|
-
|
|
2492
|
-
s(
|
|
2873
|
+
activator: l(({ props: k }) => [
|
|
2874
|
+
y("div", oe(le(k)), [
|
|
2875
|
+
s(d, {
|
|
2493
2876
|
modelValue: i.options,
|
|
2494
|
-
"onUpdate:modelValue": e[12] || (e[12] = (
|
|
2877
|
+
"onUpdate:modelValue": e[12] || (e[12] = (V) => i.options = V),
|
|
2495
2878
|
label: "Abort after Error",
|
|
2496
2879
|
value: "abortAfterError",
|
|
2497
2880
|
"hide-details": "",
|
|
@@ -2500,10 +2883,10 @@ function mi(t, e, o, a, i, n) {
|
|
|
2500
2883
|
], 16)
|
|
2501
2884
|
]),
|
|
2502
2885
|
default: l(() => [
|
|
2503
|
-
e[26] || (e[26] =
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2886
|
+
e[26] || (e[26] = y("span", null, [
|
|
2887
|
+
b(" Checked stops additional script execution when an error is encountered"),
|
|
2888
|
+
y("br"),
|
|
2889
|
+
b(" Unchecked allows additional scripts to execute ")
|
|
2507
2890
|
], -1))
|
|
2508
2891
|
]),
|
|
2509
2892
|
_: 1
|
|
@@ -2511,17 +2894,17 @@ function mi(t, e, o, a, i, n) {
|
|
|
2511
2894
|
]),
|
|
2512
2895
|
_: 1
|
|
2513
2896
|
}),
|
|
2514
|
-
s(
|
|
2897
|
+
s(c, { cols: "6" }, {
|
|
2515
2898
|
default: l(() => [
|
|
2516
|
-
s(
|
|
2899
|
+
s(h, {
|
|
2517
2900
|
"open-delay": 600,
|
|
2518
2901
|
location: "top"
|
|
2519
2902
|
}, {
|
|
2520
|
-
activator: l(({ props:
|
|
2521
|
-
|
|
2522
|
-
s(
|
|
2903
|
+
activator: l(({ props: k }) => [
|
|
2904
|
+
y("div", oe(le(k)), [
|
|
2905
|
+
s(d, {
|
|
2523
2906
|
modelValue: i.options,
|
|
2524
|
-
"onUpdate:modelValue": e[13] || (e[13] = (
|
|
2907
|
+
"onUpdate:modelValue": e[13] || (e[13] = (V) => i.options = V),
|
|
2525
2908
|
disabled: !i.options.includes("loop"),
|
|
2526
2909
|
label: "Break Loop on Error",
|
|
2527
2910
|
value: "breakLoopOnError",
|
|
@@ -2531,12 +2914,12 @@ function mi(t, e, o, a, i, n) {
|
|
|
2531
2914
|
], 16)
|
|
2532
2915
|
]),
|
|
2533
2916
|
default: l(() => [
|
|
2534
|
-
e[27] || (e[27] =
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2917
|
+
e[27] || (e[27] = y("span", null, [
|
|
2918
|
+
b(" Checked breaks the loop option when an error is encountered"),
|
|
2919
|
+
y("br"),
|
|
2920
|
+
b(" Unchecked allows the loop to run continuously"),
|
|
2921
|
+
y("br"),
|
|
2922
|
+
b(" Note: Abort after Error still breaks the loop ")
|
|
2540
2923
|
], -1))
|
|
2541
2924
|
]),
|
|
2542
2925
|
_: 1
|
|
@@ -2550,19 +2933,19 @@ function mi(t, e, o, a, i, n) {
|
|
|
2550
2933
|
]),
|
|
2551
2934
|
_: 1
|
|
2552
2935
|
}),
|
|
2553
|
-
s(
|
|
2936
|
+
s(c, { cols: "8" }, {
|
|
2554
2937
|
default: l(() => [
|
|
2555
|
-
s(
|
|
2938
|
+
s(w, {
|
|
2556
2939
|
"no-gutters": "",
|
|
2557
2940
|
justify: "end"
|
|
2558
2941
|
}, {
|
|
2559
2942
|
default: l(() => [
|
|
2560
|
-
s(
|
|
2943
|
+
s(c, { cols: "5" }, {
|
|
2561
2944
|
default: l(() => [
|
|
2562
|
-
s(
|
|
2945
|
+
s(S, {
|
|
2563
2946
|
modelValue: i.script,
|
|
2564
2947
|
"onUpdate:modelValue": [
|
|
2565
|
-
e[14] || (e[14] = (
|
|
2948
|
+
e[14] || (e[14] = (k) => i.script = k),
|
|
2566
2949
|
n.scriptChanged
|
|
2567
2950
|
],
|
|
2568
2951
|
label: "Script:",
|
|
@@ -2578,14 +2961,14 @@ function mi(t, e, o, a, i, n) {
|
|
|
2578
2961
|
]),
|
|
2579
2962
|
_: 1
|
|
2580
2963
|
}),
|
|
2581
|
-
s(
|
|
2964
|
+
s(c, { cols: "auto" }, {
|
|
2582
2965
|
default: l(() => [
|
|
2583
|
-
s(
|
|
2966
|
+
s(x, {
|
|
2584
2967
|
color: "primary",
|
|
2585
2968
|
class: "mr-2",
|
|
2586
2969
|
disabled: o.disableButtons || !i.userInfo.execute,
|
|
2587
2970
|
"data-test": "start-script",
|
|
2588
|
-
onClick: e[15] || (e[15] = (
|
|
2971
|
+
onClick: e[15] || (e[15] = (k) => t.$emit("button", {
|
|
2589
2972
|
method: "start",
|
|
2590
2973
|
suite: i.suite,
|
|
2591
2974
|
group: i.group,
|
|
@@ -2594,25 +2977,25 @@ function mi(t, e, o, a, i, n) {
|
|
|
2594
2977
|
}))
|
|
2595
2978
|
}, {
|
|
2596
2979
|
default: l(() => [...e[28] || (e[28] = [
|
|
2597
|
-
|
|
2980
|
+
b(" Start ", -1)
|
|
2598
2981
|
])]),
|
|
2599
2982
|
_: 1
|
|
2600
2983
|
}, 8, ["disabled"]),
|
|
2601
|
-
s(
|
|
2984
|
+
s(x, {
|
|
2602
2985
|
color: "primary",
|
|
2603
2986
|
class: "mr-2 invisible"
|
|
2604
2987
|
}, {
|
|
2605
2988
|
default: l(() => [...e[29] || (e[29] = [
|
|
2606
|
-
|
|
2989
|
+
b(" Setup ", -1)
|
|
2607
2990
|
])]),
|
|
2608
2991
|
_: 1
|
|
2609
2992
|
}),
|
|
2610
|
-
s(
|
|
2993
|
+
s(x, {
|
|
2611
2994
|
color: "primary",
|
|
2612
2995
|
class: "invisible"
|
|
2613
2996
|
}, {
|
|
2614
2997
|
default: l(() => [...e[30] || (e[30] = [
|
|
2615
|
-
|
|
2998
|
+
b(" Teardown ", -1)
|
|
2616
2999
|
])]),
|
|
2617
3000
|
_: 1
|
|
2618
3001
|
})
|
|
@@ -2631,8 +3014,8 @@ function mi(t, e, o, a, i, n) {
|
|
|
2631
3014
|
])
|
|
2632
3015
|
]);
|
|
2633
3016
|
}
|
|
2634
|
-
const
|
|
2635
|
-
class
|
|
3017
|
+
const xi = /* @__PURE__ */ J(ki, [["render", Si], ["__scopeId", "data-v-70eb4a37"]]);
|
|
3018
|
+
class Ci {
|
|
2636
3019
|
// TODO: the eslint parser errors on these because of the #
|
|
2637
3020
|
// Not sure if this naming is needed for the Ace editor or something?
|
|
2638
3021
|
#e;
|
|
@@ -2707,7 +3090,7 @@ class hi {
|
|
|
2707
3090
|
);
|
|
2708
3091
|
};
|
|
2709
3092
|
}
|
|
2710
|
-
class
|
|
3093
|
+
class Vi extends Ci {
|
|
2711
3094
|
constructor(e) {
|
|
2712
3095
|
const o = "(^|[{\\s])", a = "sleep", i = "[\\(\\s]";
|
|
2713
3096
|
super(e, {
|
|
@@ -2718,30 +3101,31 @@ class fi extends hi {
|
|
|
2718
3101
|
});
|
|
2719
3102
|
}
|
|
2720
3103
|
}
|
|
2721
|
-
const
|
|
3104
|
+
const Fe = "__TEMP__", Y = "<Untitled>", Ue = "Start", Ei = "Go", pe = "Pause", Oi = "Retry", Ri = {
|
|
2722
3105
|
components: {
|
|
2723
|
-
FileOpenSaveDialog:
|
|
2724
|
-
Openc3Screen:
|
|
2725
|
-
EnvironmentDialog:
|
|
2726
|
-
Splitpanes:
|
|
2727
|
-
Pane:
|
|
2728
|
-
TopBar:
|
|
2729
|
-
AskDialog:
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
3106
|
+
FileOpenSaveDialog: at,
|
|
3107
|
+
Openc3Screen: rt,
|
|
3108
|
+
EnvironmentDialog: lt,
|
|
3109
|
+
Splitpanes: Ct,
|
|
3110
|
+
Pane: Vt,
|
|
3111
|
+
TopBar: tt,
|
|
3112
|
+
AskDialog: Tt,
|
|
3113
|
+
BucketDialog: At,
|
|
3114
|
+
FileDialog: jt,
|
|
3115
|
+
InformationDialog: Qt,
|
|
3116
|
+
EventListDialog: pt,
|
|
3117
|
+
OverridesDialog: ii,
|
|
3118
|
+
PromptDialog: mi,
|
|
3119
|
+
ResultsDialog: gi,
|
|
3120
|
+
ScriptEnvironmentDialog: wi,
|
|
3121
|
+
SimpleTextDialog: ct,
|
|
3122
|
+
SuiteRunner: xi,
|
|
3123
|
+
RunningScripts: kt,
|
|
3124
|
+
ScriptLogMessages: xt,
|
|
3125
|
+
CriticalCmdDialog: ot,
|
|
3126
|
+
CommandEditor: st
|
|
2743
3127
|
},
|
|
2744
|
-
mixins: [
|
|
3128
|
+
mixins: [Qe, mt],
|
|
2745
3129
|
beforeRouteUpdate: function(t, e, o) {
|
|
2746
3130
|
t.params.id ? this.tryLoadRunningScript(t.params.id).then(o) : o();
|
|
2747
3131
|
},
|
|
@@ -2763,7 +3147,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
2763
3147
|
},
|
|
2764
3148
|
emits: ["alert", "script-id"],
|
|
2765
3149
|
setup() {
|
|
2766
|
-
return { containerHeight:
|
|
3150
|
+
return { containerHeight: et() };
|
|
2767
3151
|
},
|
|
2768
3152
|
data() {
|
|
2769
3153
|
return {
|
|
@@ -2795,10 +3179,10 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
2795
3179
|
alertText: "",
|
|
2796
3180
|
state: null,
|
|
2797
3181
|
scriptId: null,
|
|
2798
|
-
startOrGoButton:
|
|
3182
|
+
startOrGoButton: Ue,
|
|
2799
3183
|
startOrGoDisabled: !1,
|
|
2800
3184
|
envDisabled: !1,
|
|
2801
|
-
pauseOrRetryButton:
|
|
3185
|
+
pauseOrRetryButton: pe,
|
|
2802
3186
|
pauseOrRetryDisabled: !1,
|
|
2803
3187
|
stopDisabled: !1,
|
|
2804
3188
|
showEnvironment: !1,
|
|
@@ -2810,7 +3194,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
2810
3194
|
files: {},
|
|
2811
3195
|
breakpoints: {},
|
|
2812
3196
|
enableStackTraces: !1,
|
|
2813
|
-
filename:
|
|
3197
|
+
filename: Y,
|
|
2814
3198
|
readOnlyUser: !1,
|
|
2815
3199
|
executeUser: !0,
|
|
2816
3200
|
saveAllowed: !0,
|
|
@@ -2849,6 +3233,11 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
2849
3233
|
callback: () => {
|
|
2850
3234
|
}
|
|
2851
3235
|
},
|
|
3236
|
+
bucket: {
|
|
3237
|
+
show: !1,
|
|
3238
|
+
title: "",
|
|
3239
|
+
message: ""
|
|
3240
|
+
},
|
|
2852
3241
|
prompt: {
|
|
2853
3242
|
show: !1,
|
|
2854
3243
|
title: "",
|
|
@@ -2885,7 +3274,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
2885
3274
|
executeSelectionMenu: !1,
|
|
2886
3275
|
menuX: 0,
|
|
2887
3276
|
menuY: 0,
|
|
2888
|
-
mnemonicChecker: new
|
|
3277
|
+
mnemonicChecker: new gt(),
|
|
2889
3278
|
showScripts: !1,
|
|
2890
3279
|
showOverrides: !1,
|
|
2891
3280
|
overridesCount: 0,
|
|
@@ -2937,13 +3326,13 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
2937
3326
|
},
|
|
2938
3327
|
// Returns the currently shown filename
|
|
2939
3328
|
fullFilename: function() {
|
|
2940
|
-
return this.currentFilename ? this.currentFilename : this.filename ===
|
|
3329
|
+
return this.currentFilename ? this.currentFilename : this.filename === Y ? Y : `${this.filename} ${this.fileModified}`.trim();
|
|
2941
3330
|
},
|
|
2942
3331
|
// It's annoying for people (and tests) to clear the <Untitled>
|
|
2943
3332
|
// when saving a new file so replace with blank
|
|
2944
3333
|
// This makes sure that string doesn't show up in the dialog
|
|
2945
3334
|
filenameOrBlank: function() {
|
|
2946
|
-
return this.filename ===
|
|
3335
|
+
return this.filename === Y ? "" : this.filename;
|
|
2947
3336
|
},
|
|
2948
3337
|
menus: function() {
|
|
2949
3338
|
return [
|
|
@@ -3192,7 +3581,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3192
3581
|
this.showEditingToast = t, this.suiteRunner || (this.startOrGoDisabled = t), this.readOnlyUser == !1 && t == !1 && !this.inline ? this.editor.setReadOnly(t) : this.editor.setReadOnly(!0);
|
|
3193
3582
|
},
|
|
3194
3583
|
fullFilename: function(t) {
|
|
3195
|
-
this.filenameSelect = t, this.inline || (t ===
|
|
3584
|
+
this.filenameSelect = t, this.inline || (t === Y ? localStorage.removeItem("script_runner__filename") : localStorage.script_runner__filename = t);
|
|
3196
3585
|
},
|
|
3197
3586
|
readOnlyUser: function(t) {
|
|
3198
3587
|
this.editor && (t ? (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none") : (this.inline || this.editor.setReadOnly(!1), this.editor.renderer.$cursorLayer.element.style.display = null));
|
|
@@ -3202,14 +3591,14 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3202
3591
|
}
|
|
3203
3592
|
},
|
|
3204
3593
|
created: async function() {
|
|
3205
|
-
this.api = new
|
|
3594
|
+
this.api = new Se(), this.api.ensure_offline_access(), this.api.get_setting("time_zone").then((o) => {
|
|
3206
3595
|
o && (this.timeZone = o);
|
|
3207
3596
|
}).catch((o) => {
|
|
3208
|
-
}), this.updateOverridesCount(), this.NEW_FILENAME =
|
|
3597
|
+
}), this.updateOverridesCount(), this.NEW_FILENAME = Y;
|
|
3209
3598
|
let t = OpenC3Auth.user(), e = OpenC3Auth.userroles();
|
|
3210
3599
|
this.readOnlyUser = !0, this.executeUser = !1;
|
|
3211
3600
|
for (let o of e)
|
|
3212
|
-
o != "viewer" && (o == "admin" || o == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : o == "runner" ? this.executeUser = !0 : await
|
|
3601
|
+
o != "viewer" && (o == "admin" || o == "operator" ? (this.readOnlyUser = !1, this.executeUser = !0) : o == "runner" ? this.executeUser = !0 : await T.get(`/openc3-api/roles/${o}`).then((a) => {
|
|
3213
3602
|
a.data !== null && a.data.permissions !== void 0 && (a.data.permissions.some(
|
|
3214
3603
|
(i) => i.permission == "script_edit"
|
|
3215
3604
|
) && (this.readOnlyUser = !1), a.data.permissions.some(
|
|
@@ -3225,18 +3614,18 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3225
3614
|
let o = `User ${t.preferred_username} is read only`;
|
|
3226
3615
|
this.executeUser && (o += " but can execute scripts"), this.alertText = o, this.showAlert = !0;
|
|
3227
3616
|
}
|
|
3228
|
-
|
|
3617
|
+
T.get("/openc3-api/autocomplete/keywords/screen").then((o) => {
|
|
3229
3618
|
this.screenKeywords = o.data;
|
|
3230
3619
|
}), this.inline && (this.readOnly = !0);
|
|
3231
3620
|
},
|
|
3232
3621
|
mounted: async function() {
|
|
3233
3622
|
this.editor = ace.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
3234
3623
|
const t = this.buildRubyMode(), e = this.buildPythonMode();
|
|
3235
|
-
this.rubyMode = new t(), this.pythonMode = new e(),
|
|
3236
|
-
const a = new
|
|
3624
|
+
this.rubyMode = new t(), this.pythonMode = new e(), we.getDefaultScriptingLanguage() === "python" ? this.editor.session.setMode(this.pythonMode) : this.editor.session.setMode(this.rubyMode), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setOption("enableBasicAutocompletion", !0), this.editor.setOption("enableLiveAutocompletion", !0), this.editor.completers = [new dt(), new ut()], this.editor.setHighlightActiveLine(!1), we.applyVimModeIfEnabled(this.editor, { saveFn: this.saveFile }), this.editor.focus(), this.editor.on("guttermousedown", this.toggleBreakpoint), this.editor.session.on("tokenizerUpdate", this.onChange), (this.readOnlyUser || this.inline) && (this.editor.setReadOnly(!0), this.editor.renderer.$cursorLayer.element.style.display = "none");
|
|
3625
|
+
const a = new Vi(this.editor);
|
|
3237
3626
|
this.editor.session.on("change", (i, n) => {
|
|
3238
3627
|
a.annotate(i, n), this.updateBreakpoints(i, n);
|
|
3239
|
-
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), this.cable = new
|
|
3628
|
+
}), this.editor.container.addEventListener("resize", this.doResize), this.editor.container.addEventListener("keydown", this.keydown), this.cable = new Ae("/script-api/cable"), !this.inline && localStorage.script_runner__recent && (this.recent = JSON.parse(localStorage.script_runner__recent), this.recent = this.recent.map((i) => ({
|
|
3240
3629
|
...i,
|
|
3241
3630
|
command: async (n) => {
|
|
3242
3631
|
this.filename = n.label, await this.reloadFile();
|
|
@@ -3258,7 +3647,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3258
3647
|
});
|
|
3259
3648
|
},
|
|
3260
3649
|
toggleVimMode() {
|
|
3261
|
-
|
|
3650
|
+
we.toggleVimMode(this.editor);
|
|
3262
3651
|
},
|
|
3263
3652
|
openCommandEditor() {
|
|
3264
3653
|
this.executeSelectionMenu = !1;
|
|
@@ -3281,15 +3670,15 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3281
3670
|
return;
|
|
3282
3671
|
}
|
|
3283
3672
|
if (this.commandEditor.isEditing && this.commandEditor.editLine !== null) {
|
|
3284
|
-
const o = this.editor.session.getLine(this.commandEditor.editLine), a = o.match(/^\s*/)[0], i = o.match(/\s+#.*$/), n = i ? i[0] : "",
|
|
3673
|
+
const o = this.editor.session.getLine(this.commandEditor.editLine), a = o.match(/^\s*/)[0], i = o.match(/\s+#.*$/), n = i ? i[0] : "", d = `${a}cmd("${e}")${n}`, h = this.Range;
|
|
3285
3674
|
this.editor.session.replace(
|
|
3286
|
-
new
|
|
3675
|
+
new h(
|
|
3287
3676
|
this.commandEditor.editLine,
|
|
3288
3677
|
0,
|
|
3289
3678
|
this.commandEditor.editLine,
|
|
3290
3679
|
o.length
|
|
3291
3680
|
),
|
|
3292
|
-
|
|
3681
|
+
d
|
|
3293
3682
|
);
|
|
3294
3683
|
} else {
|
|
3295
3684
|
const o = this.editor.getCursorPosition();
|
|
@@ -3308,7 +3697,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3308
3697
|
this.subscription && (this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0;
|
|
3309
3698
|
},
|
|
3310
3699
|
showMetadata() {
|
|
3311
|
-
|
|
3700
|
+
T.get("/openc3-api/metadata").then((t) => {
|
|
3312
3701
|
this.inputMetadata.events = t.data.map((e) => ({
|
|
3313
3702
|
name: "Metadata",
|
|
3314
3703
|
start: new Date(e.start * 1e3),
|
|
@@ -3338,7 +3727,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3338
3727
|
), this.editor.gotoLine(this.files[t].lineNo);
|
|
3339
3728
|
},
|
|
3340
3729
|
tryLoadRunningScript: function(t) {
|
|
3341
|
-
return
|
|
3730
|
+
return T.get(`/script-api/running-script/${t}`).then((e) => {
|
|
3342
3731
|
if (e.data) {
|
|
3343
3732
|
let o = e.data.state;
|
|
3344
3733
|
o !== "completed" && o !== "completed_errors" && o !== "stopped" && o !== "crashed" && o !== "killed" ? (this.filename = e.data.filename, this.tryLoadSuites(e), this.initScriptStart(), this.scriptStart(t)) : (this.$notify.caution({
|
|
@@ -3372,7 +3761,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3372
3761
|
},
|
|
3373
3762
|
runFromCursor: function() {
|
|
3374
3763
|
const t = this.editor.getCursorPosition().row + 1;
|
|
3375
|
-
this.scriptId ?
|
|
3764
|
+
this.scriptId ? T.post(
|
|
3376
3765
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3377
3766
|
{
|
|
3378
3767
|
data: {
|
|
@@ -3384,7 +3773,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3384
3773
|
executeSelection: function() {
|
|
3385
3774
|
const t = this.editor.getSelectionRange();
|
|
3386
3775
|
let e = t.start.row + 1, o = t.end.row + 1;
|
|
3387
|
-
t.end.column === 0 && (o -= 1), this.scriptId ?
|
|
3776
|
+
t.end.column === 0 && (o -= 1), this.scriptId ? T.post(
|
|
3388
3777
|
`/script-api/running-script/${this.scriptId}/executewhilepaused`,
|
|
3389
3778
|
{
|
|
3390
3779
|
data: {
|
|
@@ -3435,12 +3824,12 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3435
3824
|
this.$dialog.confirm("Permanently delete all breakpoints for ALL scripts?", {
|
|
3436
3825
|
okText: "Delete",
|
|
3437
3826
|
cancelText: "Cancel"
|
|
3438
|
-
}).then((t) =>
|
|
3827
|
+
}).then((t) => T.delete("/script-api/breakpoints/delete/all")).then((t) => {
|
|
3439
3828
|
this.clearBreakpoints();
|
|
3440
3829
|
});
|
|
3441
3830
|
},
|
|
3442
3831
|
suiteRunnerButton(t) {
|
|
3443
|
-
this.startOrGoButton ===
|
|
3832
|
+
this.startOrGoButton === Ue ? this.start(t, "suiteRunner") : this.go(t, "suiteRunner");
|
|
3444
3833
|
},
|
|
3445
3834
|
async keydown(t) {
|
|
3446
3835
|
this.scriptId || this.editor.getReadOnly() === !0 || (t.metaKey || t.ctrlKey) && t.keyCode === 83 && (t.shiftKey ? (t.preventDefault(), this.saveAs()) : (t.preventDefault(), await this.saveFile()));
|
|
@@ -3450,7 +3839,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3450
3839
|
},
|
|
3451
3840
|
checkMnemonics: function() {
|
|
3452
3841
|
let t = this.filename;
|
|
3453
|
-
this.filename !==
|
|
3842
|
+
this.filename !== Y && (t.endsWith(".rb") || t.endsWith(".py") || T.post(`/script-api/scripts/${this.filename}/mnemonics`, {
|
|
3454
3843
|
data: this.editor.getValue(),
|
|
3455
3844
|
headers: {
|
|
3456
3845
|
Accept: "application/json",
|
|
@@ -3469,7 +3858,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3469
3858
|
});
|
|
3470
3859
|
},
|
|
3471
3860
|
initScriptStart() {
|
|
3472
|
-
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton =
|
|
3861
|
+
this.disableSuiteButtons = !0, this.startOrGoDisabled = !0, this.envDisabled = !0, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.state = "Connecting...", this.startOrGoButton = Ei, this.editor.setReadOnly(!0);
|
|
3473
3862
|
},
|
|
3474
3863
|
scriptStart(t) {
|
|
3475
3864
|
this.$emit("script-id", t), this.scriptId = t, this.cable.createSubscription(
|
|
@@ -3486,7 +3875,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3486
3875
|
});
|
|
3487
3876
|
},
|
|
3488
3877
|
async scriptComplete() {
|
|
3489
|
-
this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && !this.inline && this.editor.setReadOnly(!1), this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.disableSuiteButtons = !1, this.startOrGoButton =
|
|
3878
|
+
this.subscription && (await this.subscription.unsubscribe(), this.subscription = null), this.receivedEvents.length = 0, await this.reloadFile(), this.editor.session.getUndoManager().reset(), this.readOnlyUser == !1 && !this.inline && this.editor.setReadOnly(!1), this.scriptId = null, sessionStorage.removeItem("script_runner__script_id"), this.disableSuiteButtons = !1, this.startOrGoButton = Ue, this.pauseOrRetryButton = pe, this.startOrGoDisabled = this.suiteRunner, this.envDisabled = !1, this.pauseOrRetryDisabled = !0, this.stopDisabled = !0, this.updateOverridesCount();
|
|
3490
3879
|
},
|
|
3491
3880
|
environmentHandler: function(t) {
|
|
3492
3881
|
this.scriptEnvironment.env = t;
|
|
@@ -3497,34 +3886,34 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3497
3886
|
async start(t = null, e = null, o = null, a = null) {
|
|
3498
3887
|
this.initScriptStart(), await this.saveFile("start"), this.saveAllowed = !1;
|
|
3499
3888
|
let i = this.filename;
|
|
3500
|
-
this.filename ===
|
|
3889
|
+
this.filename === Y && (i = this.tempFilename);
|
|
3501
3890
|
let n = `/script-api/scripts/${i}/run`;
|
|
3502
3891
|
this.showDisconnect && (n += "/disconnect");
|
|
3503
|
-
let
|
|
3504
|
-
this.enableStackTraces && (
|
|
3892
|
+
let d = this.scriptEnvironment.env;
|
|
3893
|
+
this.enableStackTraces && (d = d.concat({
|
|
3505
3894
|
key: "OPENC3_FULL_BACKTRACE",
|
|
3506
3895
|
value: "1"
|
|
3507
3896
|
}));
|
|
3508
|
-
let
|
|
3509
|
-
environment:
|
|
3897
|
+
let h = {
|
|
3898
|
+
environment: d
|
|
3510
3899
|
};
|
|
3511
|
-
e && (
|
|
3512
|
-
this.scriptStart(
|
|
3513
|
-
}).catch((
|
|
3900
|
+
e && (h.suiteRunner = t), o !== null && (h.line_no = o), a !== null && (h.end_line_no = a), T.post(n, { data: h }).then((c) => {
|
|
3901
|
+
this.scriptStart(c.data);
|
|
3902
|
+
}).catch((c) => {
|
|
3514
3903
|
this.scriptComplete();
|
|
3515
3904
|
});
|
|
3516
3905
|
},
|
|
3517
3906
|
go() {
|
|
3518
|
-
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename),
|
|
3907
|
+
this.filenameSelect = this.currentFilename, this.fileNameChanged(this.currentFilename), T.post(`/script-api/running-script/${this.scriptId}/go`);
|
|
3519
3908
|
},
|
|
3520
3909
|
pauseOrRetry() {
|
|
3521
|
-
this.pauseOrRetryButton ===
|
|
3910
|
+
this.pauseOrRetryButton === pe ? T.post(`/script-api/running-script/${this.scriptId}/pause`) : (this.pauseOrRetryButton = pe, T.post(`/script-api/running-script/${this.scriptId}/retry`));
|
|
3522
3911
|
},
|
|
3523
3912
|
stop() {
|
|
3524
|
-
|
|
3913
|
+
T.post(`/script-api/running-script/${this.scriptId}/stop`);
|
|
3525
3914
|
},
|
|
3526
3915
|
step() {
|
|
3527
|
-
|
|
3916
|
+
T.post(`/script-api/running-script/${this.scriptId}/step`);
|
|
3528
3917
|
},
|
|
3529
3918
|
// This is called by processLine no matter the current state
|
|
3530
3919
|
handleWaiting() {
|
|
@@ -3540,7 +3929,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3540
3929
|
this.waitingTime = 0, clearInterval(this.waitingInterval), this.waitingInterval = null;
|
|
3541
3930
|
},
|
|
3542
3931
|
processLine(t) {
|
|
3543
|
-
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 },
|
|
3932
|
+
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 }, T.get(`/script-api/scripts/${t.filename}`).then((o) => {
|
|
3544
3933
|
this.files[t.filename] = {
|
|
3545
3934
|
content: o.data.contents,
|
|
3546
3935
|
lineNo: 0
|
|
@@ -3553,14 +3942,14 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3553
3942
|
// Handle all the script states, see script_status_model for details
|
|
3554
3943
|
// spawning, init, running, paused, waiting, breakpoint, error, crashed, stopped, completed, completed_errors, killed
|
|
3555
3944
|
case "running":
|
|
3556
|
-
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton =
|
|
3945
|
+
this.handleWaiting(), this.startOrGoDisabled = !1, this.pauseOrRetryDisabled = !1, this.stopDisabled = !1, this.pauseOrRetryButton = pe, this.removeAllMarkers(), this.editor.session.addMarker(
|
|
3557
3946
|
new this.Range(t.line_no - 1, 0, t.line_no - 1, 1),
|
|
3558
3947
|
"runningMarker",
|
|
3559
3948
|
"fullLine"
|
|
3560
3949
|
), this.editor.gotoLine(t.line_no), this.files[t.filename].lineNo = t.line_no;
|
|
3561
3950
|
break;
|
|
3562
3951
|
case "error":
|
|
3563
|
-
this.pauseOrRetryButton =
|
|
3952
|
+
this.pauseOrRetryButton = Oi;
|
|
3564
3953
|
// Deliberate fall through (no break)
|
|
3565
3954
|
case "spawning":
|
|
3566
3955
|
// wait for script to be spawned
|
|
@@ -3605,9 +3994,9 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3605
3994
|
case "output":
|
|
3606
3995
|
let a = e.line;
|
|
3607
3996
|
a == null ? a = "" : typeof a == "object" ? a = JSON.stringify(a) : a = String(a);
|
|
3608
|
-
for (const
|
|
3997
|
+
for (const h of a.split(`
|
|
3609
3998
|
`))
|
|
3610
|
-
|
|
3999
|
+
h && (this.messagesNewestOnTop ? this.messages.unshift({ message: h }) : this.messages.push({ message: h }));
|
|
3611
4000
|
for (; this.messages.length > this.maxArrayLength; )
|
|
3612
4001
|
this.messages.pop();
|
|
3613
4002
|
break;
|
|
@@ -3648,8 +4037,8 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3648
4037
|
this.screens = [];
|
|
3649
4038
|
break;
|
|
3650
4039
|
case "downloadfile":
|
|
3651
|
-
const
|
|
3652
|
-
|
|
4040
|
+
const d = document.createElement("a");
|
|
4041
|
+
d.href = window.location.origin + e.url, d.setAttribute("download", e.filename), d.click();
|
|
3653
4042
|
break;
|
|
3654
4043
|
case "opentab":
|
|
3655
4044
|
window.open(e.url, "_blank");
|
|
@@ -3662,7 +4051,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3662
4051
|
this.cable.recordPing(), this.receivedEvents.push(t);
|
|
3663
4052
|
},
|
|
3664
4053
|
promptDialogCallback(t) {
|
|
3665
|
-
this.prompt.show = !1,
|
|
4054
|
+
this.prompt.show = !1, T.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3666
4055
|
data: {
|
|
3667
4056
|
method: this.prompt.method,
|
|
3668
4057
|
answer: t,
|
|
@@ -3673,21 +4062,21 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3673
4062
|
},
|
|
3674
4063
|
handleScript(t) {
|
|
3675
4064
|
if (t.prompt_complete) {
|
|
3676
|
-
this.activePromptId = "", this.prompt.show = !1, this.ask.show = !1, this.file.show = !1;
|
|
4065
|
+
this.activePromptId = "", this.prompt.show = !1, this.ask.show = !1, this.file.show = !1, this.bucket.show = !1;
|
|
3677
4066
|
return;
|
|
3678
4067
|
}
|
|
3679
4068
|
switch (this.activePromptId = t.prompt_id, this.prompt.method = t.method, this.prompt.layout = "horizontal", this.prompt.title = "Prompt", this.prompt.subtitle = "", this.prompt.details = "", this.prompt.buttons = [], this.prompt.multiple = null, t.method) {
|
|
3680
4069
|
case "ask":
|
|
3681
4070
|
case "ask_string":
|
|
3682
4071
|
this.ask.default = null, this.ask.answerRequired = !0, this.ask.password = !1, this.ask.question = t.args[0], t.args[1] && t.args[1] !== !0 && t.args[1] !== !1 ? this.ask.default = t.args[1].toString() : t.args[1] === !0 && (this.ask.answerRequired = !1), t.args[2] === !0 && (this.ask.password = !0), this.ask.callback = (e) => {
|
|
3683
|
-
this.ask.show = !1, this.ask.password ?
|
|
4072
|
+
this.ask.show = !1, this.ask.password ? T.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3684
4073
|
data: {
|
|
3685
4074
|
method: t.method,
|
|
3686
4075
|
password: e,
|
|
3687
4076
|
// Using password as a key automatically filters it from rails logs
|
|
3688
4077
|
prompt_id: this.activePromptId
|
|
3689
4078
|
}
|
|
3690
|
-
}) :
|
|
4079
|
+
}) : T.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3691
4080
|
data: {
|
|
3692
4081
|
method: t.method,
|
|
3693
4082
|
answer: e,
|
|
@@ -3706,9 +4095,10 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3706
4095
|
t.kwargs && t.kwargs.informative && (this.prompt.subtitle = t.kwargs.informative), t.kwargs && t.kwargs.details && (this.prompt.details = t.kwargs.details), this.prompt.message = t.args[0], this.prompt.buttons = [{ text: "Ok", value: "Ok" }], this.prompt.callback = this.promptDialogCallback, this.prompt.show = !0;
|
|
3707
4096
|
break;
|
|
3708
4097
|
case "combo_box":
|
|
3709
|
-
|
|
4098
|
+
case "check_box":
|
|
4099
|
+
t.kwargs && t.kwargs.informative && (this.prompt.subtitle = t.kwargs.informative), t.kwargs && t.kwargs.details && (this.prompt.details = t.kwargs.details), (t.method === "check_box" || t.kwargs && t.kwargs.multiple) && (this.prompt.multiple = !0), this.prompt.message = t.args[0], t.args.slice(1).forEach((e) => {
|
|
3710
4100
|
this.prompt.buttons.push({ title: e, value: e });
|
|
3711
|
-
}), this.prompt.layout = "
|
|
4101
|
+
}), this.prompt.layout = t.method.split("_")[0], this.prompt.callback = this.promptDialogCallback, this.prompt.show = !0;
|
|
3712
4102
|
break;
|
|
3713
4103
|
case "message_box":
|
|
3714
4104
|
case "vertical_message_box":
|
|
@@ -3721,7 +4111,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3721
4111
|
break;
|
|
3722
4112
|
case "metadata_input":
|
|
3723
4113
|
this.inputMetadata.callback = (e) => {
|
|
3724
|
-
this.inputMetadata.show = !1,
|
|
4114
|
+
this.inputMetadata.show = !1, T.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3725
4115
|
data: {
|
|
3726
4116
|
method: t.method,
|
|
3727
4117
|
answer: e,
|
|
@@ -3730,6 +4120,9 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3730
4120
|
});
|
|
3731
4121
|
}, this.showMetadata();
|
|
3732
4122
|
break;
|
|
4123
|
+
case "open_bucket_dialog":
|
|
4124
|
+
this.bucket.title = t.args[0], this.bucket.message = t.args[1], this.bucket.show = !0;
|
|
4125
|
+
break;
|
|
3733
4126
|
// This is called continuously by the backend
|
|
3734
4127
|
case "open_file_dialog":
|
|
3735
4128
|
case "open_files_dialog":
|
|
@@ -3738,16 +4131,16 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3738
4131
|
}
|
|
3739
4132
|
},
|
|
3740
4133
|
async fileDialogCallback(t) {
|
|
3741
|
-
let e = "
|
|
3742
|
-
t != "
|
|
4134
|
+
let e = "COSMOS__CANCEL", o = [];
|
|
4135
|
+
t != "COSMOS__CANCEL" && (e = [], t.forEach((a) => {
|
|
3743
4136
|
e.push(a.name), o.push(
|
|
3744
|
-
|
|
4137
|
+
T.get(
|
|
3745
4138
|
`/openc3-api/storage/upload/${encodeURIComponent(
|
|
3746
4139
|
`${window.openc3Scope}/tmp/${a.name}`
|
|
3747
4140
|
)}?bucket=OPENC3_CONFIG_BUCKET`
|
|
3748
4141
|
).then((i) => {
|
|
3749
4142
|
o.push(
|
|
3750
|
-
|
|
4143
|
+
$e({
|
|
3751
4144
|
...i.data,
|
|
3752
4145
|
data: a
|
|
3753
4146
|
})
|
|
@@ -3755,7 +4148,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3755
4148
|
})
|
|
3756
4149
|
);
|
|
3757
4150
|
})), Promise.all(o).then((a) => {
|
|
3758
|
-
|
|
4151
|
+
T.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
3759
4152
|
data: {
|
|
3760
4153
|
method: this.file.multiple ? "open_files_dialog" : "open_file_dialog",
|
|
3761
4154
|
answer: e,
|
|
@@ -3764,6 +4157,15 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3764
4157
|
}), this.file.show = !1;
|
|
3765
4158
|
});
|
|
3766
4159
|
},
|
|
4160
|
+
bucketDialogCallback(t) {
|
|
4161
|
+
this.bucket.show = !1, T.post(`/script-api/running-script/${this.scriptId}/prompt`, {
|
|
4162
|
+
data: {
|
|
4163
|
+
method: "open_bucket_dialog",
|
|
4164
|
+
answer: t,
|
|
4165
|
+
prompt_id: this.activePromptId
|
|
4166
|
+
}
|
|
4167
|
+
});
|
|
4168
|
+
},
|
|
3767
4169
|
setError(t) {
|
|
3768
4170
|
this.alertType = "error", this.alertText = `Error: ${t}`, this.showAlert = !0;
|
|
3769
4171
|
},
|
|
@@ -3781,7 +4183,7 @@ const Le = "__TEMP__", W = "<Untitled>", Te = "Start", gi = "Go", ue = "Pause",
|
|
|
3781
4183
|
await this.confirmUnsavedChanges() && this.newFile();
|
|
3782
4184
|
},
|
|
3783
4185
|
newFile() {
|
|
3784
|
-
this.unlockFile(), this.filename =
|
|
4186
|
+
this.unlockFile(), this.filename = Y, this.currentFilename = null, this.tempFilename = null, this.files = {}, this.editor.session.setValue(""), this.saveAllowed = !0, this.fileModified = "", this.suiteRunner = !1, this.startOrGoDisabled = !1, this.envDisabled = !1, this.inline || (this.$router.replace({
|
|
3785
4187
|
name: "ScriptRunner"
|
|
3786
4188
|
}).catch((t) => {
|
|
3787
4189
|
}), document.title = "Script Runner"), this.doResize();
|
|
@@ -3874,7 +4276,7 @@ class TestSuite(Suite):
|
|
|
3874
4276
|
let e = this.recent.findIndex((o) => o.label === t);
|
|
3875
4277
|
e !== -1 && this.recent.splice(e, 1), this.recent.unshift({
|
|
3876
4278
|
label: t,
|
|
3877
|
-
icon:
|
|
4279
|
+
icon: nt(t),
|
|
3878
4280
|
command: async (o) => {
|
|
3879
4281
|
await this.confirmUnsavedChanges() && (this.filename = o.label, await this.reloadFile());
|
|
3880
4282
|
}
|
|
@@ -3890,7 +4292,7 @@ class TestSuite(Suite):
|
|
|
3890
4292
|
this.fileOpen = !0;
|
|
3891
4293
|
},
|
|
3892
4294
|
async reloadFile(t = !0) {
|
|
3893
|
-
this.saveAllowed = !1, this.startOrGoDisabled = !0, await
|
|
4295
|
+
this.saveAllowed = !1, this.startOrGoDisabled = !0, await T.get(`/script-api/scripts/${this.filename}`, {
|
|
3894
4296
|
headers: {
|
|
3895
4297
|
Accept: "application/json",
|
|
3896
4298
|
"Ignore-Errors": "404"
|
|
@@ -3920,7 +4322,7 @@ class TestSuite(Suite):
|
|
|
3920
4322
|
query: {
|
|
3921
4323
|
file: this.filename
|
|
3922
4324
|
}
|
|
3923
|
-
}).catch((
|
|
4325
|
+
}).catch((d) => {
|
|
3924
4326
|
});
|
|
3925
4327
|
let n = this.filename.split("/");
|
|
3926
4328
|
document.title = `${n.pop()} (${n.join("/")})`;
|
|
@@ -3935,18 +4337,18 @@ class TestSuite(Suite):
|
|
|
3935
4337
|
detectLanguage() {
|
|
3936
4338
|
let t = new RegExp("^\\s*(require|load|puts) "), e = new RegExp("^\\s*(import|from) "), o = new RegExp("^\\s*end\\s*$"), a = new RegExp(
|
|
3937
4339
|
"^\\s*(if|def|while|else|elif|class).*:\\s*$"
|
|
3938
|
-
), i = /\(f"/, n = /\(.*\w+:\s+.+\)(?!:)$/,
|
|
4340
|
+
), i = /\(f"/, n = /\(.*\w+:\s+.+\)(?!:)$/, h = this.editor.getValue().split(`
|
|
3939
4341
|
`);
|
|
3940
|
-
for (let
|
|
3941
|
-
if (
|
|
4342
|
+
for (let c of h) {
|
|
4343
|
+
if (c.match(t))
|
|
3942
4344
|
return "ruby";
|
|
3943
|
-
if (
|
|
4345
|
+
if (c.match(e))
|
|
3944
4346
|
return "python";
|
|
3945
|
-
if (
|
|
4347
|
+
if (c.match(o))
|
|
3946
4348
|
return "ruby";
|
|
3947
|
-
if (
|
|
4349
|
+
if (c.match(a) || c.match(i))
|
|
3948
4350
|
return "python";
|
|
3949
|
-
if (
|
|
4351
|
+
if (c.match(n))
|
|
3950
4352
|
return "ruby";
|
|
3951
4353
|
}
|
|
3952
4354
|
return "unknown";
|
|
@@ -3957,24 +4359,24 @@ class TestSuite(Suite):
|
|
|
3957
4359
|
if (!this.readOnlyUser)
|
|
3958
4360
|
if (this.saveAllowed) {
|
|
3959
4361
|
const e = this.getBreakpointRows();
|
|
3960
|
-
if (this.filename ===
|
|
4362
|
+
if (this.filename === Y) {
|
|
3961
4363
|
if (t === "menu") {
|
|
3962
4364
|
this.saveAs();
|
|
3963
4365
|
return;
|
|
3964
4366
|
} else if (this.tempFilename === null) {
|
|
3965
4367
|
let o = this.detectLanguage();
|
|
3966
|
-
o === "unknown" && (o =
|
|
4368
|
+
o === "unknown" && (o = we.getDefaultScriptingLanguage());
|
|
3967
4369
|
const a = crypto.randomUUID().split("-")[0];
|
|
3968
4370
|
if (o === "ruby")
|
|
3969
|
-
this.tempFilename =
|
|
4371
|
+
this.tempFilename = Fe + "/" + ye(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_" + a + "_temp.rb";
|
|
3970
4372
|
else if (o === "python")
|
|
3971
|
-
this.tempFilename =
|
|
4373
|
+
this.tempFilename = Fe + "/" + ye(Date.now(), "yyyy_MM_dd_HH_mm_ss_SSS") + "_" + a + "_temp.py";
|
|
3972
4374
|
else
|
|
3973
4375
|
return;
|
|
3974
4376
|
this.filename = this.tempFilename, this.addToRecent(this.filename);
|
|
3975
4377
|
}
|
|
3976
4378
|
}
|
|
3977
|
-
this.showSave = !0, await
|
|
4379
|
+
this.showSave = !0, await T.post(`/script-api/scripts/${this.filename}`, {
|
|
3978
4380
|
data: {
|
|
3979
4381
|
text: this.editor.getValue(),
|
|
3980
4382
|
// Pass in the raw file text
|
|
@@ -3994,14 +4396,14 @@ class TestSuite(Suite):
|
|
|
3994
4396
|
this.showSaveAs = !0;
|
|
3995
4397
|
},
|
|
3996
4398
|
async saveAsFilename(t) {
|
|
3997
|
-
this.filename = t.split("*")[0], this.currentFilename = null, this.tempFilename && (
|
|
4399
|
+
this.filename = t.split("*")[0], this.currentFilename = null, this.tempFilename && (T.post(`/script-api/scripts/${this.tempFilename}/delete`), this.tempFilename = null), await this.saveFile("menu");
|
|
3998
4400
|
},
|
|
3999
4401
|
delete() {
|
|
4000
4402
|
let t = this.filename;
|
|
4001
4403
|
this.tempFilename && (t = this.tempFilename), this.$dialog.confirm(`Permanently delete file: ${t}`, {
|
|
4002
4404
|
okText: "Delete",
|
|
4003
4405
|
cancelText: "Cancel"
|
|
4004
|
-
}).then((e) =>
|
|
4406
|
+
}).then((e) => T.post(`/script-api/scripts/${t}/delete`, {
|
|
4005
4407
|
data: {}
|
|
4006
4408
|
})).then((e) => {
|
|
4007
4409
|
this.removeFromRecent(t), this.newFile();
|
|
@@ -4023,7 +4425,7 @@ class TestSuite(Suite):
|
|
|
4023
4425
|
},
|
|
4024
4426
|
// ScriptRunner Script menu actions
|
|
4025
4427
|
syntaxCheck() {
|
|
4026
|
-
|
|
4428
|
+
T.post(`/script-api/scripts/${this.filename}/syntax`, {
|
|
4027
4429
|
data: this.editor.getValue(),
|
|
4028
4430
|
headers: {
|
|
4029
4431
|
Accept: "application/json",
|
|
@@ -4034,7 +4436,7 @@ class TestSuite(Suite):
|
|
|
4034
4436
|
});
|
|
4035
4437
|
},
|
|
4036
4438
|
showInstrumented() {
|
|
4037
|
-
|
|
4439
|
+
T.post(`/script-api/scripts/${this.filename}/instrumented`, {
|
|
4038
4440
|
data: this.editor.getValue(),
|
|
4039
4441
|
headers: {
|
|
4040
4442
|
Accept: "application/json",
|
|
@@ -4045,7 +4447,7 @@ class TestSuite(Suite):
|
|
|
4045
4447
|
});
|
|
4046
4448
|
},
|
|
4047
4449
|
showCallStack() {
|
|
4048
|
-
|
|
4450
|
+
T.post(`/script-api/running-script/${this.scriptId}/backtrace`);
|
|
4049
4451
|
},
|
|
4050
4452
|
toggleDebug() {
|
|
4051
4453
|
this.showDebug = !this.showDebug, this.showDebug && this.$nextTick(() => {
|
|
@@ -4056,7 +4458,7 @@ class TestSuite(Suite):
|
|
|
4056
4458
|
this.showDisconnect = !this.showDisconnect;
|
|
4057
4459
|
},
|
|
4058
4460
|
debugKeydown(t) {
|
|
4059
|
-
t.key === "Escape" ? (this.debug = "", this.debugHistoryIndex = this.debugHistory.length) : t.key === "Enter" ? (this.debugHistory.push(this.debug), this.debugHistoryIndex = this.debugHistory.length,
|
|
4461
|
+
t.key === "Escape" ? (this.debug = "", this.debugHistoryIndex = this.debugHistory.length) : t.key === "Enter" ? (this.debugHistory.push(this.debug), this.debugHistoryIndex = this.debugHistory.length, T.post(`/script-api/running-script/${this.scriptId}/debug`, {
|
|
4060
4462
|
data: {
|
|
4061
4463
|
args: this.debug
|
|
4062
4464
|
}
|
|
@@ -4077,10 +4479,10 @@ class TestSuite(Suite):
|
|
|
4077
4479
|
},
|
|
4078
4480
|
lockFile: function() {
|
|
4079
4481
|
if (!this.readOnlyUser)
|
|
4080
|
-
return
|
|
4482
|
+
return T.post(`/script-api/scripts/${this.filename}/lock`);
|
|
4081
4483
|
},
|
|
4082
4484
|
unlockFile: function() {
|
|
4083
|
-
this.filename !==
|
|
4485
|
+
this.filename !== Y && !this.readOnly && !this.readOnlyUser && T.post(`/script-api/scripts/${this.filename}/unlock`);
|
|
4084
4486
|
},
|
|
4085
4487
|
backToNewScript: async function() {
|
|
4086
4488
|
this.scriptDisconnect(), this.removeAllMarkers(), await this.scriptComplete(), this.newFile();
|
|
@@ -4099,42 +4501,42 @@ class TestSuite(Suite):
|
|
|
4099
4501
|
}
|
|
4100
4502
|
}
|
|
4101
4503
|
}
|
|
4102
|
-
},
|
|
4504
|
+
}, Mi = { class: "grid" }, Ti = ["id"], Ii = { class: "item-content" }, Ui = { id: "sr-controls" }, Di = { class: "d-flex align-center mr-1" }, Pi = { key: 0 }, zi = { key: 1 }, Fi = {
|
|
4103
4505
|
key: 2,
|
|
4104
4506
|
style: { width: "40px", height: "40px" },
|
|
4105
4507
|
class: "mx-2"
|
|
4106
|
-
},
|
|
4508
|
+
}, Li = { key: 3 }, Bi = { key: 4 }, Ai = {
|
|
4107
4509
|
key: 0,
|
|
4108
4510
|
id: "debug",
|
|
4109
4511
|
class: "pa-0"
|
|
4110
|
-
},
|
|
4512
|
+
}, Ni = {
|
|
4111
4513
|
key: 1,
|
|
4112
4514
|
style: { "background-color": "var(--color-background-base-default)", margin: "0px", padding: "0px" }
|
|
4113
|
-
},
|
|
4515
|
+
}, Hi = { key: 0 }, Gi = { key: 1 }, qi = { style: { height: "200px", overflow: "hidden" } }, Ki = {
|
|
4114
4516
|
key: 0,
|
|
4115
4517
|
class: "error-message"
|
|
4116
|
-
},
|
|
4117
|
-
function
|
|
4118
|
-
const
|
|
4119
|
-
return
|
|
4120
|
-
o.inline ? (
|
|
4121
|
-
s(
|
|
4518
|
+
}, ji = { class: "flex-grow-1" };
|
|
4519
|
+
function Wi(t, e, o, a, i, n) {
|
|
4520
|
+
const d = r("top-bar"), h = r("v-icon"), c = r("v-btn"), w = r("v-snackbar"), S = r("openc3-screen"), x = r("suite-runner"), k = r("v-tooltip"), V = r("v-select"), E = r("v-text-field"), U = r("v-progress-circular"), C = r("v-spacer"), A = r("v-badge"), I = r("v-row"), F = r("v-card-text"), N = r("v-card"), H = r("v-list-item"), L = r("v-divider"), M = r("v-list"), q = r("v-menu"), de = r("pane"), ee = r("script-log-messages"), xe = r("splitpanes"), ge = r("v-tab"), Ce = r("v-tabs"), ue = r("v-col"), ve = r("v-tabs-window-item"), se = r("v-tabs-window"), _e = r("file-open-save-dialog"), Ve = r("environment-dialog"), Ee = r("ask-dialog"), ce = r("file-dialog"), Oe = r("bucket-dialog"), Re = r("information-dialog"), Me = r("event-list-dialog"), me = r("overrides-dialog"), K = r("prompt-dialog"), Te = r("results-dialog"), u = r("script-environment-dialog"), p = r("simple-text-dialog"), _ = r("critical-cmd-dialog"), f = r("v-card-title"), v = r("command-editor"), O = r("v-card-actions"), D = r("v-dialog"), G = r("running-scripts"), j = r("v-sheet"), be = r("v-bottom-sheet");
|
|
4521
|
+
return g(), z($, null, [
|
|
4522
|
+
o.inline ? (g(), z("div", Ni, [
|
|
4523
|
+
s(I, {
|
|
4122
4524
|
"no-gutters": "",
|
|
4123
4525
|
justify: "right"
|
|
4124
4526
|
}, {
|
|
4125
4527
|
default: l(() => [
|
|
4126
|
-
s(
|
|
4528
|
+
s(Ce, {
|
|
4127
4529
|
modelValue: i.inlineTab,
|
|
4128
|
-
"onUpdate:modelValue": e[16] || (e[16] = (
|
|
4530
|
+
"onUpdate:modelValue": e[16] || (e[16] = (m) => i.inlineTab = m),
|
|
4129
4531
|
density: "compact"
|
|
4130
4532
|
}, {
|
|
4131
4533
|
default: l(() => [
|
|
4132
|
-
s(
|
|
4534
|
+
s(ge, {
|
|
4133
4535
|
value: "script",
|
|
4134
4536
|
text: "Script",
|
|
4135
4537
|
"data-test": "script-tab"
|
|
4136
4538
|
}),
|
|
4137
|
-
s(
|
|
4539
|
+
s(ge, {
|
|
4138
4540
|
value: "messages",
|
|
4139
4541
|
text: "Messages",
|
|
4140
4542
|
"data-test": "messages-tab"
|
|
@@ -4142,18 +4544,18 @@ function zi(t, e, o, a, i, n) {
|
|
|
4142
4544
|
]),
|
|
4143
4545
|
_: 1
|
|
4144
4546
|
}, 8, ["modelValue"]),
|
|
4145
|
-
s(
|
|
4547
|
+
s(k, {
|
|
4146
4548
|
location: "bottom",
|
|
4147
4549
|
text: i.filenameSelect,
|
|
4148
4550
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4149
4551
|
}, {
|
|
4150
|
-
activator: l(({ props:
|
|
4151
|
-
|
|
4152
|
-
s(
|
|
4552
|
+
activator: l(({ props: m }) => [
|
|
4553
|
+
y("div", Z(m, { style: { width: "32rem" } }), [
|
|
4554
|
+
s(V, {
|
|
4153
4555
|
id: "inline-filename",
|
|
4154
4556
|
modelValue: i.filenameSelect,
|
|
4155
4557
|
"onUpdate:modelValue": [
|
|
4156
|
-
e[17] || (e[17] = (
|
|
4558
|
+
e[17] || (e[17] = (W) => i.filenameSelect = W),
|
|
4157
4559
|
n.fileNameChanged
|
|
4158
4560
|
],
|
|
4159
4561
|
items: n.fileList,
|
|
@@ -4168,9 +4570,9 @@ function zi(t, e, o, a, i, n) {
|
|
|
4168
4570
|
]),
|
|
4169
4571
|
_: 1
|
|
4170
4572
|
}, 8, ["text", "disabled"]),
|
|
4171
|
-
s(
|
|
4573
|
+
s(E, {
|
|
4172
4574
|
modelValue: i.scriptId,
|
|
4173
|
-
"onUpdate:modelValue": e[18] || (e[18] = (
|
|
4575
|
+
"onUpdate:modelValue": e[18] || (e[18] = (m) => i.scriptId = m),
|
|
4174
4576
|
label: "Script ID",
|
|
4175
4577
|
"data-test": "id",
|
|
4176
4578
|
class: "shrink ml-2 script-state",
|
|
@@ -4180,19 +4582,19 @@ function zi(t, e, o, a, i, n) {
|
|
|
4180
4582
|
readonly: "",
|
|
4181
4583
|
"hide-details": ""
|
|
4182
4584
|
}, null, 8, ["modelValue"]),
|
|
4183
|
-
s(
|
|
4585
|
+
s(E, {
|
|
4184
4586
|
modelValue: n.stateTimer,
|
|
4185
|
-
"onUpdate:modelValue": e[19] || (e[19] = (
|
|
4587
|
+
"onUpdate:modelValue": e[19] || (e[19] = (m) => n.stateTimer = m),
|
|
4186
4588
|
label: "Script State",
|
|
4187
4589
|
"data-test": "state",
|
|
4188
|
-
class:
|
|
4590
|
+
class: fe(["shrink", "ml-2", "script-state", n.stateColorClass]),
|
|
4189
4591
|
style: { "max-width": "120px" },
|
|
4190
4592
|
density: "compact",
|
|
4191
4593
|
variant: "outlined",
|
|
4192
4594
|
readonly: "",
|
|
4193
4595
|
"hide-details": ""
|
|
4194
4596
|
}, null, 8, ["modelValue", "class"]),
|
|
4195
|
-
i.state === "Connecting..." ? (
|
|
4597
|
+
i.state === "Connecting..." ? (g(), R(U, {
|
|
4196
4598
|
key: 0,
|
|
4197
4599
|
size: 40,
|
|
4198
4600
|
class: "mx-2",
|
|
@@ -4202,36 +4604,36 @@ function zi(t, e, o, a, i, n) {
|
|
|
4202
4604
|
]),
|
|
4203
4605
|
_: 1
|
|
4204
4606
|
}),
|
|
4205
|
-
s(
|
|
4607
|
+
s(se, {
|
|
4206
4608
|
modelValue: i.inlineTab,
|
|
4207
|
-
"onUpdate:modelValue": e[22] || (e[22] = (
|
|
4609
|
+
"onUpdate:modelValue": e[22] || (e[22] = (m) => i.inlineTab = m)
|
|
4208
4610
|
}, {
|
|
4209
4611
|
default: l(() => [
|
|
4210
|
-
s(
|
|
4612
|
+
s(ve, { value: "script" }, {
|
|
4211
4613
|
default: l(() => [
|
|
4212
|
-
s(
|
|
4614
|
+
s(I, null, {
|
|
4213
4615
|
default: l(() => [
|
|
4214
|
-
s(
|
|
4616
|
+
s(ue, {
|
|
4215
4617
|
class: "v-col-10",
|
|
4216
4618
|
style: { margin: "15px 0px 0px 0px", padding: "0px" }
|
|
4217
4619
|
}, {
|
|
4218
4620
|
default: l(() => [
|
|
4219
|
-
|
|
4621
|
+
y("pre", {
|
|
4220
4622
|
ref: "editor",
|
|
4221
4623
|
class: "editor",
|
|
4222
4624
|
style: { height: "200px" },
|
|
4223
|
-
onContextmenu: e[20] || (e[20] =
|
|
4625
|
+
onContextmenu: e[20] || (e[20] = X((...m) => n.showExecuteSelectionMenu && n.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4224
4626
|
}, null, 544)
|
|
4225
4627
|
]),
|
|
4226
4628
|
_: 1
|
|
4227
4629
|
}),
|
|
4228
|
-
s(
|
|
4630
|
+
s(ue, {
|
|
4229
4631
|
class: "v-col-2",
|
|
4230
4632
|
style: { display: "flex", "justify-content": "center", "align-items": "center", "background-color": "var(--color-background-surface-default)" }
|
|
4231
4633
|
}, {
|
|
4232
4634
|
default: l(() => [
|
|
4233
|
-
i.startOrGoButton === "Start" ? (
|
|
4234
|
-
s(
|
|
4635
|
+
i.startOrGoButton === "Start" ? (g(), z("div", Hi, [
|
|
4636
|
+
s(c, {
|
|
4235
4637
|
class: "mx-1",
|
|
4236
4638
|
color: "primary",
|
|
4237
4639
|
text: "Start",
|
|
@@ -4240,8 +4642,8 @@ function zi(t, e, o, a, i, n) {
|
|
|
4240
4642
|
hidden: i.suiteRunner,
|
|
4241
4643
|
onClick: n.startHandler
|
|
4242
4644
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4243
|
-
])) : (
|
|
4244
|
-
s(
|
|
4645
|
+
])) : (g(), z("div", Gi, [
|
|
4646
|
+
s(c, {
|
|
4245
4647
|
color: "primary",
|
|
4246
4648
|
class: "ma-2",
|
|
4247
4649
|
text: "Go",
|
|
@@ -4249,7 +4651,7 @@ function zi(t, e, o, a, i, n) {
|
|
|
4249
4651
|
"data-test": "go-button",
|
|
4250
4652
|
onClick: n.go
|
|
4251
4653
|
}, null, 8, ["disabled", "onClick"]),
|
|
4252
|
-
s(
|
|
4654
|
+
s(c, {
|
|
4253
4655
|
color: "primary",
|
|
4254
4656
|
class: "ma-2",
|
|
4255
4657
|
text: i.pauseOrRetryButton,
|
|
@@ -4257,7 +4659,7 @@ function zi(t, e, o, a, i, n) {
|
|
|
4257
4659
|
"data-test": "pause-retry-button",
|
|
4258
4660
|
onClick: n.pauseOrRetry
|
|
4259
4661
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4260
|
-
s(
|
|
4662
|
+
s(c, {
|
|
4261
4663
|
color: "primary",
|
|
4262
4664
|
class: "ma-2",
|
|
4263
4665
|
text: "Stop",
|
|
@@ -4275,12 +4677,12 @@ function zi(t, e, o, a, i, n) {
|
|
|
4275
4677
|
]),
|
|
4276
4678
|
_: 1
|
|
4277
4679
|
}),
|
|
4278
|
-
s(
|
|
4680
|
+
s(ve, { value: "messages" }, {
|
|
4279
4681
|
default: l(() => [
|
|
4280
|
-
|
|
4281
|
-
s(
|
|
4682
|
+
y("div", qi, [
|
|
4683
|
+
s(ee, {
|
|
4282
4684
|
modelValue: i.messages,
|
|
4283
|
-
"onUpdate:modelValue": e[21] || (e[21] = (
|
|
4685
|
+
"onUpdate:modelValue": e[21] || (e[21] = (m) => i.messages = m),
|
|
4284
4686
|
"newest-on-top": i.messagesNewestOnTop,
|
|
4285
4687
|
onMessageOrderChanged: t.messageOrderChanged
|
|
4286
4688
|
}, null, 8, ["modelValue", "newest-on-top", "onMessageOrderChanged"])
|
|
@@ -4291,113 +4693,113 @@ function zi(t, e, o, a, i, n) {
|
|
|
4291
4693
|
]),
|
|
4292
4694
|
_: 1
|
|
4293
4695
|
}, 8, ["modelValue"])
|
|
4294
|
-
])) : (
|
|
4696
|
+
])) : (g(), z("div", {
|
|
4295
4697
|
key: 0,
|
|
4296
4698
|
class: "d-flex flex-column overflow-hidden",
|
|
4297
|
-
style:
|
|
4699
|
+
style: he({
|
|
4298
4700
|
height: a.containerHeight
|
|
4299
4701
|
})
|
|
4300
4702
|
}, [
|
|
4301
|
-
s(
|
|
4703
|
+
s(d, {
|
|
4302
4704
|
menus: n.menus,
|
|
4303
4705
|
title: i.title
|
|
4304
4706
|
}, null, 8, ["menus", "title"]),
|
|
4305
|
-
s(
|
|
4707
|
+
s(w, {
|
|
4306
4708
|
modelValue: i.showAlert,
|
|
4307
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
4709
|
+
"onUpdate:modelValue": e[1] || (e[1] = (m) => i.showAlert = m),
|
|
4308
4710
|
absolute: "",
|
|
4309
4711
|
color: i.alertType,
|
|
4310
4712
|
timeout: 3e3,
|
|
4311
4713
|
class: "apply-top",
|
|
4312
|
-
style:
|
|
4714
|
+
style: he(t.classificationStyles)
|
|
4313
4715
|
}, {
|
|
4314
|
-
actions: l(({ attrs:
|
|
4315
|
-
s(
|
|
4716
|
+
actions: l(({ attrs: m }) => [
|
|
4717
|
+
s(c, Z({
|
|
4316
4718
|
variant: "text",
|
|
4317
4719
|
text: "Close"
|
|
4318
|
-
},
|
|
4319
|
-
onClick: e[0] || (e[0] = (
|
|
4720
|
+
}, m, {
|
|
4721
|
+
onClick: e[0] || (e[0] = (W) => i.showAlert = !1)
|
|
4320
4722
|
}), null, 16)
|
|
4321
4723
|
]),
|
|
4322
4724
|
default: l(() => [
|
|
4323
|
-
s(
|
|
4725
|
+
s(h, null, {
|
|
4324
4726
|
default: l(() => [
|
|
4325
|
-
|
|
4727
|
+
b(" mdi-" + B(i.alertType), 1)
|
|
4326
4728
|
]),
|
|
4327
4729
|
_: 1
|
|
4328
4730
|
}),
|
|
4329
|
-
|
|
4731
|
+
b(" " + B(i.alertText) + " ", 1)
|
|
4330
4732
|
]),
|
|
4331
4733
|
_: 1
|
|
4332
4734
|
}, 8, ["modelValue", "color", "style"]),
|
|
4333
|
-
s(
|
|
4735
|
+
s(w, {
|
|
4334
4736
|
modelValue: i.showEditingToast,
|
|
4335
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
4737
|
+
"onUpdate:modelValue": e[3] || (e[3] = (m) => i.showEditingToast = m),
|
|
4336
4738
|
absolute: "",
|
|
4337
4739
|
class: "apply-top",
|
|
4338
|
-
style:
|
|
4740
|
+
style: he(t.classificationStyles),
|
|
4339
4741
|
timeout: -1,
|
|
4340
4742
|
color: "orange"
|
|
4341
4743
|
}, {
|
|
4342
|
-
actions: l(({ attrs:
|
|
4343
|
-
s(
|
|
4744
|
+
actions: l(({ attrs: m }) => [
|
|
4745
|
+
s(c, Z({ variant: "text" }, m, {
|
|
4344
4746
|
color: "danger",
|
|
4345
4747
|
text: "Unlock",
|
|
4346
4748
|
"data-test": "unlock-button",
|
|
4347
4749
|
onClick: n.confirmLocalUnlock
|
|
4348
4750
|
}), null, 16, ["onClick"]),
|
|
4349
|
-
s(
|
|
4751
|
+
s(c, Z({
|
|
4350
4752
|
variant: "text",
|
|
4351
4753
|
text: "Dismiss"
|
|
4352
|
-
},
|
|
4754
|
+
}, m, {
|
|
4353
4755
|
onClick: e[2] || (e[2] = () => {
|
|
4354
4756
|
i.showEditingToast = !1;
|
|
4355
4757
|
})
|
|
4356
4758
|
}), null, 16)
|
|
4357
4759
|
]),
|
|
4358
4760
|
default: l(() => [
|
|
4359
|
-
s(
|
|
4360
|
-
default: l(() => [...e[
|
|
4361
|
-
|
|
4761
|
+
s(h, null, {
|
|
4762
|
+
default: l(() => [...e[49] || (e[49] = [
|
|
4763
|
+
b(" mdi-pencil-off ", -1)
|
|
4362
4764
|
])]),
|
|
4363
4765
|
_: 1
|
|
4364
4766
|
}),
|
|
4365
|
-
|
|
4767
|
+
b(" " + B(i.lockedBy) + " is editing this script. Editor is in read-only mode ", 1)
|
|
4366
4768
|
]),
|
|
4367
4769
|
_: 1
|
|
4368
4770
|
}, 8, ["modelValue", "style"]),
|
|
4369
|
-
|
|
4370
|
-
(
|
|
4371
|
-
id: n.screenId(
|
|
4372
|
-
key:
|
|
4771
|
+
y("div", Mi, [
|
|
4772
|
+
(g(!0), z($, null, ie(i.screens, (m) => (g(), z("div", {
|
|
4773
|
+
id: n.screenId(m.id),
|
|
4774
|
+
key: m.id,
|
|
4373
4775
|
ref_for: !0,
|
|
4374
4776
|
ref: "gridItem",
|
|
4375
4777
|
class: "item"
|
|
4376
4778
|
}, [
|
|
4377
|
-
|
|
4378
|
-
s(
|
|
4379
|
-
target:
|
|
4380
|
-
screen:
|
|
4381
|
-
definition:
|
|
4779
|
+
y("div", Ii, [
|
|
4780
|
+
s(S, {
|
|
4781
|
+
target: m.target,
|
|
4782
|
+
screen: m.screen,
|
|
4783
|
+
definition: m.definition,
|
|
4382
4784
|
keywords: i.screenKeywords,
|
|
4383
4785
|
"initial-floated": !0,
|
|
4384
|
-
"initial-top":
|
|
4385
|
-
"initial-left":
|
|
4786
|
+
"initial-top": m.top,
|
|
4787
|
+
"initial-left": m.left,
|
|
4386
4788
|
"initial-z": 3,
|
|
4387
4789
|
"min-z": 3,
|
|
4388
4790
|
"fix-floated": !0,
|
|
4389
|
-
count:
|
|
4390
|
-
onCloseScreen: (
|
|
4391
|
-
onDeleteScreen: (
|
|
4791
|
+
count: m.count,
|
|
4792
|
+
onCloseScreen: (W) => n.closeScreen(m.id),
|
|
4793
|
+
onDeleteScreen: (W) => n.closeScreen(m.id)
|
|
4392
4794
|
}, null, 8, ["target", "screen", "definition", "keywords", "initial-top", "initial-left", "count", "onCloseScreen", "onDeleteScreen"])
|
|
4393
4795
|
])
|
|
4394
|
-
], 8,
|
|
4796
|
+
], 8, Ti))), 128))
|
|
4395
4797
|
]),
|
|
4396
|
-
s(
|
|
4798
|
+
s(N, { class: "flex-shrink-0" }, {
|
|
4397
4799
|
default: l(() => [
|
|
4398
|
-
s(
|
|
4800
|
+
s(F, null, {
|
|
4399
4801
|
default: l(() => [
|
|
4400
|
-
i.suiteRunner ? (
|
|
4802
|
+
i.suiteRunner ? (g(), R(x, {
|
|
4401
4803
|
key: 0,
|
|
4402
4804
|
class: "suite-runner",
|
|
4403
4805
|
"suite-map": i.suiteMap,
|
|
@@ -4406,34 +4808,34 @@ function zi(t, e, o, a, i, n) {
|
|
|
4406
4808
|
onButton: n.suiteRunnerButton,
|
|
4407
4809
|
onLoaded: n.doResize
|
|
4408
4810
|
}, null, 8, ["suite-map", "disable-buttons", "filename", "onButton", "onLoaded"])) : P("", !0),
|
|
4409
|
-
|
|
4410
|
-
s(
|
|
4811
|
+
y("div", Ui, [
|
|
4812
|
+
s(I, {
|
|
4411
4813
|
"no-gutters": "",
|
|
4412
4814
|
justify: "space-between"
|
|
4413
4815
|
}, {
|
|
4414
4816
|
default: l(() => [
|
|
4415
|
-
i.showDisconnect ? (
|
|
4817
|
+
i.showDisconnect ? (g(), R(h, {
|
|
4416
4818
|
key: 0,
|
|
4417
4819
|
class: "mt-2",
|
|
4418
4820
|
color: "red"
|
|
4419
4821
|
}, {
|
|
4420
|
-
default: l(() => [...e[
|
|
4421
|
-
|
|
4822
|
+
default: l(() => [...e[50] || (e[50] = [
|
|
4823
|
+
b(" mdi-connection ", -1)
|
|
4422
4824
|
])]),
|
|
4423
4825
|
_: 1
|
|
4424
4826
|
})) : P("", !0),
|
|
4425
|
-
|
|
4426
|
-
s(
|
|
4827
|
+
y("div", Di, [
|
|
4828
|
+
s(k, {
|
|
4427
4829
|
"open-delay": 600,
|
|
4428
4830
|
location: "top"
|
|
4429
4831
|
}, {
|
|
4430
|
-
activator: l(({ props:
|
|
4431
|
-
i.scriptId ? (
|
|
4832
|
+
activator: l(({ props: m }) => [
|
|
4833
|
+
i.scriptId ? (g(), R(c, Z({ key: 1 }, m, {
|
|
4432
4834
|
icon: "mdi-arrow-left",
|
|
4433
4835
|
variant: "text",
|
|
4434
4836
|
density: "compact",
|
|
4435
4837
|
onClick: n.backToNewScript
|
|
4436
|
-
}), null, 16, ["onClick"])) : (
|
|
4838
|
+
}), null, 16, ["onClick"])) : (g(), R(c, Z({ key: 0 }, m, {
|
|
4437
4839
|
icon: "mdi-cached",
|
|
4438
4840
|
variant: "text",
|
|
4439
4841
|
density: "compact",
|
|
@@ -4443,23 +4845,23 @@ function zi(t, e, o, a, i, n) {
|
|
|
4443
4845
|
}), null, 16, ["disabled", "onClick"]))
|
|
4444
4846
|
]),
|
|
4445
4847
|
default: l(() => [
|
|
4446
|
-
i.scriptId ? (
|
|
4848
|
+
i.scriptId ? (g(), z("span", zi, " Back to New Script ")) : (g(), z("span", Pi, " Reload File "))
|
|
4447
4849
|
]),
|
|
4448
4850
|
_: 1
|
|
4449
4851
|
})
|
|
4450
4852
|
]),
|
|
4451
|
-
s(
|
|
4853
|
+
s(k, {
|
|
4452
4854
|
location: "bottom",
|
|
4453
4855
|
text: i.filenameSelect,
|
|
4454
4856
|
disabled: !i.filenameSelect || i.filenameSelect.length <= 45
|
|
4455
4857
|
}, {
|
|
4456
|
-
activator: l(({ props:
|
|
4457
|
-
|
|
4458
|
-
s(
|
|
4858
|
+
activator: l(({ props: m }) => [
|
|
4859
|
+
y("div", Z(m, { style: { width: "32rem" } }), [
|
|
4860
|
+
s(V, {
|
|
4459
4861
|
id: "filename",
|
|
4460
4862
|
modelValue: i.filenameSelect,
|
|
4461
4863
|
"onUpdate:modelValue": [
|
|
4462
|
-
e[4] || (e[4] = (
|
|
4864
|
+
e[4] || (e[4] = (W) => i.filenameSelect = W),
|
|
4463
4865
|
n.fileNameChanged
|
|
4464
4866
|
],
|
|
4465
4867
|
items: n.fileList,
|
|
@@ -4474,9 +4876,9 @@ function zi(t, e, o, a, i, n) {
|
|
|
4474
4876
|
]),
|
|
4475
4877
|
_: 1
|
|
4476
4878
|
}, 8, ["text", "disabled"]),
|
|
4477
|
-
s(
|
|
4879
|
+
s(E, {
|
|
4478
4880
|
modelValue: i.scriptId,
|
|
4479
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
4881
|
+
"onUpdate:modelValue": e[5] || (e[5] = (m) => i.scriptId = m),
|
|
4480
4882
|
label: "Script ID",
|
|
4481
4883
|
"data-test": "id",
|
|
4482
4884
|
class: "shrink ml-2 script-state",
|
|
@@ -4486,50 +4888,50 @@ function zi(t, e, o, a, i, n) {
|
|
|
4486
4888
|
readonly: "",
|
|
4487
4889
|
"hide-details": ""
|
|
4488
4890
|
}, null, 8, ["modelValue"]),
|
|
4489
|
-
s(
|
|
4891
|
+
s(E, {
|
|
4490
4892
|
modelValue: n.stateTimer,
|
|
4491
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
4893
|
+
"onUpdate:modelValue": e[6] || (e[6] = (m) => n.stateTimer = m),
|
|
4492
4894
|
label: "Script State",
|
|
4493
4895
|
"data-test": "state",
|
|
4494
|
-
class:
|
|
4896
|
+
class: fe(["shrink", "ml-2", "script-state", n.stateColorClass]),
|
|
4495
4897
|
style: { "max-width": "120px" },
|
|
4496
4898
|
density: "compact",
|
|
4497
4899
|
variant: "outlined",
|
|
4498
4900
|
readonly: "",
|
|
4499
4901
|
"hide-details": ""
|
|
4500
4902
|
}, null, 8, ["modelValue", "class"]),
|
|
4501
|
-
i.state === "Connecting..." ? (
|
|
4903
|
+
i.state === "Connecting..." ? (g(), R(U, {
|
|
4502
4904
|
key: 1,
|
|
4503
4905
|
size: 40,
|
|
4504
4906
|
class: "mx-2",
|
|
4505
4907
|
indeterminate: "",
|
|
4506
4908
|
color: "primary"
|
|
4507
|
-
})) : (
|
|
4508
|
-
s(
|
|
4509
|
-
i.startOrGoButton === "Start" ? (
|
|
4510
|
-
i.overridesCount > 0 ? (
|
|
4909
|
+
})) : (g(), z("div", Fi)),
|
|
4910
|
+
s(C),
|
|
4911
|
+
i.startOrGoButton === "Start" ? (g(), z("div", Li, [
|
|
4912
|
+
i.overridesCount > 0 ? (g(), R(k, {
|
|
4511
4913
|
key: 0,
|
|
4512
4914
|
"open-delay": 600,
|
|
4513
4915
|
location: "top"
|
|
4514
4916
|
}, {
|
|
4515
|
-
activator: l(({ props:
|
|
4516
|
-
s(
|
|
4917
|
+
activator: l(({ props: m }) => [
|
|
4918
|
+
s(c, Z(m, {
|
|
4517
4919
|
class: "mr-4",
|
|
4518
4920
|
icon: "",
|
|
4519
4921
|
variant: "text",
|
|
4520
4922
|
density: "compact",
|
|
4521
4923
|
"data-test": "tlm-override-button",
|
|
4522
4924
|
"aria-label": "TLM Overrides",
|
|
4523
|
-
onClick: e[7] || (e[7] = (
|
|
4925
|
+
onClick: e[7] || (e[7] = (W) => i.showOverrides = !i.showOverrides)
|
|
4524
4926
|
}), {
|
|
4525
4927
|
default: l(() => [
|
|
4526
|
-
s(
|
|
4928
|
+
s(A, {
|
|
4527
4929
|
content: i.overridesCount > 99 ? "99+" : i.overridesCount,
|
|
4528
4930
|
floating: "",
|
|
4529
4931
|
color: "primary"
|
|
4530
4932
|
}, {
|
|
4531
4933
|
default: l(() => [
|
|
4532
|
-
s(
|
|
4934
|
+
s(h, { icon: "mdi-application-cog-outline" })
|
|
4533
4935
|
]),
|
|
4534
4936
|
_: 1
|
|
4535
4937
|
}, 8, ["content"])
|
|
@@ -4538,16 +4940,16 @@ function zi(t, e, o, a, i, n) {
|
|
|
4538
4940
|
}, 16)
|
|
4539
4941
|
]),
|
|
4540
4942
|
default: l(() => [
|
|
4541
|
-
|
|
4943
|
+
y("span", null, " TLM Overrides (" + B(i.overridesCount) + ") ", 1)
|
|
4542
4944
|
]),
|
|
4543
4945
|
_: 1
|
|
4544
4946
|
})) : P("", !0),
|
|
4545
|
-
s(
|
|
4947
|
+
s(k, {
|
|
4546
4948
|
"open-delay": 600,
|
|
4547
4949
|
location: "top"
|
|
4548
4950
|
}, {
|
|
4549
|
-
activator: l(({ props:
|
|
4550
|
-
s(
|
|
4951
|
+
activator: l(({ props: m }) => [
|
|
4952
|
+
s(c, Z(m, {
|
|
4551
4953
|
class: "mr-2",
|
|
4552
4954
|
icon: "",
|
|
4553
4955
|
variant: "text",
|
|
@@ -4555,17 +4957,17 @@ function zi(t, e, o, a, i, n) {
|
|
|
4555
4957
|
disabled: i.envDisabled,
|
|
4556
4958
|
"data-test": "env-button",
|
|
4557
4959
|
"aria-label": "Script Environment",
|
|
4558
|
-
onClick: e[9] || (e[9] = (
|
|
4960
|
+
onClick: e[9] || (e[9] = (W) => i.scriptEnvironment.show = !i.scriptEnvironment.show)
|
|
4559
4961
|
}), {
|
|
4560
4962
|
default: l(() => [
|
|
4561
|
-
s(
|
|
4963
|
+
s(A, {
|
|
4562
4964
|
modelValue: n.environmentModified,
|
|
4563
|
-
"onUpdate:modelValue": e[8] || (e[8] = (
|
|
4965
|
+
"onUpdate:modelValue": e[8] || (e[8] = (W) => n.environmentModified = W),
|
|
4564
4966
|
floating: "",
|
|
4565
4967
|
dot: ""
|
|
4566
4968
|
}, {
|
|
4567
4969
|
default: l(() => [
|
|
4568
|
-
s(
|
|
4970
|
+
s(h, { icon: "mdi-application-variable" })
|
|
4569
4971
|
]),
|
|
4570
4972
|
_: 1
|
|
4571
4973
|
}, 8, ["modelValue"])
|
|
@@ -4574,16 +4976,16 @@ function zi(t, e, o, a, i, n) {
|
|
|
4574
4976
|
}, 16, ["disabled"])
|
|
4575
4977
|
]),
|
|
4576
4978
|
default: l(() => [
|
|
4577
|
-
|
|
4578
|
-
e[
|
|
4579
|
-
n.environmentModified ? (
|
|
4580
|
-
|
|
4979
|
+
y("span", null, [
|
|
4980
|
+
e[51] || (e[51] = b(" Script Environment ", -1)),
|
|
4981
|
+
n.environmentModified ? (g(), z($, { key: 0 }, [
|
|
4982
|
+
b(" (modified) ")
|
|
4581
4983
|
], 64)) : P("", !0)
|
|
4582
4984
|
])
|
|
4583
4985
|
]),
|
|
4584
4986
|
_: 1
|
|
4585
4987
|
}),
|
|
4586
|
-
s(
|
|
4988
|
+
s(c, {
|
|
4587
4989
|
class: "mx-1",
|
|
4588
4990
|
color: "primary",
|
|
4589
4991
|
text: "Start",
|
|
@@ -4592,8 +4994,8 @@ function zi(t, e, o, a, i, n) {
|
|
|
4592
4994
|
hidden: i.suiteRunner,
|
|
4593
4995
|
onClick: n.startHandler
|
|
4594
4996
|
}, null, 8, ["disabled", "hidden", "onClick"])
|
|
4595
|
-
])) : (
|
|
4596
|
-
s(
|
|
4997
|
+
])) : (g(), z("div", Bi, [
|
|
4998
|
+
s(c, {
|
|
4597
4999
|
color: "primary",
|
|
4598
5000
|
class: "mr-2",
|
|
4599
5001
|
text: "Go",
|
|
@@ -4601,7 +5003,7 @@ function zi(t, e, o, a, i, n) {
|
|
|
4601
5003
|
"data-test": "go-button",
|
|
4602
5004
|
onClick: n.go
|
|
4603
5005
|
}, null, 8, ["disabled", "onClick"]),
|
|
4604
|
-
s(
|
|
5006
|
+
s(c, {
|
|
4605
5007
|
color: "primary",
|
|
4606
5008
|
class: "mr-2",
|
|
4607
5009
|
text: i.pauseOrRetryButton,
|
|
@@ -4609,7 +5011,7 @@ function zi(t, e, o, a, i, n) {
|
|
|
4609
5011
|
"data-test": "pause-retry-button",
|
|
4610
5012
|
onClick: n.pauseOrRetry
|
|
4611
5013
|
}, null, 8, ["text", "disabled", "onClick"]),
|
|
4612
|
-
s(
|
|
5014
|
+
s(c, {
|
|
4613
5015
|
color: "primary",
|
|
4614
5016
|
text: "Stop",
|
|
4615
5017
|
"data-test": "stop-button",
|
|
@@ -4627,69 +5029,69 @@ function zi(t, e, o, a, i, n) {
|
|
|
4627
5029
|
]),
|
|
4628
5030
|
_: 1
|
|
4629
5031
|
}),
|
|
4630
|
-
s(
|
|
5032
|
+
s(xe, {
|
|
4631
5033
|
horizontal: "",
|
|
4632
5034
|
class: "flex-grow-1 overflow-hidden",
|
|
4633
|
-
onResize: e[15] || (e[15] = ({ prevPane:
|
|
5035
|
+
onResize: e[15] || (e[15] = ({ prevPane: m }) => i.editorBoxSize = m.size)
|
|
4634
5036
|
}, {
|
|
4635
5037
|
default: l(() => [
|
|
4636
|
-
s(
|
|
5038
|
+
s(de, {
|
|
4637
5039
|
class: "editorbox",
|
|
4638
5040
|
size: i.editorBoxSize
|
|
4639
5041
|
}, {
|
|
4640
5042
|
default: l(() => [
|
|
4641
|
-
s(
|
|
5043
|
+
s(w, {
|
|
4642
5044
|
modelValue: i.showSave,
|
|
4643
|
-
"onUpdate:modelValue": e[10] || (e[10] = (
|
|
5045
|
+
"onUpdate:modelValue": e[10] || (e[10] = (m) => i.showSave = m),
|
|
4644
5046
|
absolute: "",
|
|
4645
5047
|
location: "right",
|
|
4646
5048
|
timeout: -1,
|
|
4647
5049
|
class: "saving apply-top",
|
|
4648
|
-
style:
|
|
5050
|
+
style: he(t.classificationStyles)
|
|
4649
5051
|
}, {
|
|
4650
|
-
default: l(() => [...e[
|
|
4651
|
-
|
|
5052
|
+
default: l(() => [...e[52] || (e[52] = [
|
|
5053
|
+
b(" Saving... ", -1)
|
|
4652
5054
|
])]),
|
|
4653
5055
|
_: 1
|
|
4654
5056
|
}, 8, ["modelValue", "style"]),
|
|
4655
|
-
|
|
5057
|
+
y("pre", {
|
|
4656
5058
|
ref: "editor",
|
|
4657
5059
|
class: "editor",
|
|
4658
|
-
onContextmenu: e[11] || (e[11] =
|
|
5060
|
+
onContextmenu: e[11] || (e[11] = X((...m) => n.showExecuteSelectionMenu && n.showExecuteSelectionMenu(...m), ["prevent"]))
|
|
4659
5061
|
}, null, 544),
|
|
4660
|
-
s(
|
|
5062
|
+
s(q, {
|
|
4661
5063
|
modelValue: i.executeSelectionMenu,
|
|
4662
|
-
"onUpdate:modelValue": e[12] || (e[12] = (
|
|
5064
|
+
"onUpdate:modelValue": e[12] || (e[12] = (m) => i.executeSelectionMenu = m),
|
|
4663
5065
|
target: [i.menuX, i.menuY]
|
|
4664
5066
|
}, {
|
|
4665
5067
|
default: l(() => [
|
|
4666
|
-
s(
|
|
5068
|
+
s(M, null, {
|
|
4667
5069
|
default: l(() => [
|
|
4668
5070
|
s(H, {
|
|
4669
5071
|
title: i.currentLineHasCommand ? "Edit Command" : "Insert Command",
|
|
4670
5072
|
onClick: n.openCommandEditor
|
|
4671
5073
|
}, null, 8, ["title", "onClick"]),
|
|
4672
|
-
s(
|
|
5074
|
+
s(L),
|
|
4673
5075
|
s(H, {
|
|
4674
5076
|
title: "Execute Selection",
|
|
4675
5077
|
onClick: n.executeSelection
|
|
4676
5078
|
}, null, 8, ["onClick"]),
|
|
4677
|
-
i.scriptId ? (
|
|
5079
|
+
i.scriptId ? (g(), R(H, {
|
|
4678
5080
|
key: 0,
|
|
4679
5081
|
title: "Goto Line",
|
|
4680
5082
|
onClick: n.runFromCursor
|
|
4681
5083
|
}, null, 8, ["onClick"])) : P("", !0),
|
|
4682
|
-
i.scriptId ? P("", !0) : (
|
|
5084
|
+
i.scriptId ? P("", !0) : (g(), R(H, {
|
|
4683
5085
|
key: 1,
|
|
4684
5086
|
title: "Run From Line",
|
|
4685
5087
|
onClick: n.runFromCursor
|
|
4686
5088
|
}, null, 8, ["onClick"])),
|
|
4687
|
-
i.scriptId ? P("", !0) : (
|
|
5089
|
+
i.scriptId ? P("", !0) : (g(), R(H, {
|
|
4688
5090
|
key: 2,
|
|
4689
5091
|
title: "Clear Local Breakpoints",
|
|
4690
5092
|
onClick: n.clearBreakpoints
|
|
4691
5093
|
}, null, 8, ["onClick"])),
|
|
4692
|
-
s(
|
|
5094
|
+
s(L),
|
|
4693
5095
|
s(H, {
|
|
4694
5096
|
title: "Toggle Vim mode",
|
|
4695
5097
|
"prepend-icon": "extras:vim",
|
|
@@ -4704,16 +5106,16 @@ function zi(t, e, o, a, i, n) {
|
|
|
4704
5106
|
]),
|
|
4705
5107
|
_: 1
|
|
4706
5108
|
}, 8, ["size"]),
|
|
4707
|
-
s(
|
|
5109
|
+
s(de, {
|
|
4708
5110
|
id: "messages",
|
|
4709
5111
|
class: "mt-2",
|
|
4710
5112
|
size: 100 - i.editorBoxSize
|
|
4711
5113
|
}, {
|
|
4712
5114
|
default: l(() => [
|
|
4713
|
-
i.showDebug ? (
|
|
4714
|
-
s(
|
|
5115
|
+
i.showDebug ? (g(), z("div", Ai, [
|
|
5116
|
+
s(I, { "no-gutters": "" }, {
|
|
4715
5117
|
default: l(() => [
|
|
4716
|
-
s(
|
|
5118
|
+
s(c, {
|
|
4717
5119
|
color: "primary",
|
|
4718
5120
|
style: { width: "100px" },
|
|
4719
5121
|
class: "mr-4",
|
|
@@ -4723,10 +5125,10 @@ function zi(t, e, o, a, i, n) {
|
|
|
4723
5125
|
"data-test": "step-button",
|
|
4724
5126
|
onClick: n.step
|
|
4725
5127
|
}, null, 8, ["disabled", "onClick"]),
|
|
4726
|
-
s(
|
|
5128
|
+
s(E, {
|
|
4727
5129
|
ref: "debug",
|
|
4728
5130
|
modelValue: i.debug,
|
|
4729
|
-
"onUpdate:modelValue": e[13] || (e[13] = (
|
|
5131
|
+
"onUpdate:modelValue": e[13] || (e[13] = (m) => i.debug = m),
|
|
4730
5132
|
class: "mb-2",
|
|
4731
5133
|
variant: "outlined",
|
|
4732
5134
|
density: "compact",
|
|
@@ -4739,10 +5141,10 @@ function zi(t, e, o, a, i, n) {
|
|
|
4739
5141
|
_: 1
|
|
4740
5142
|
})
|
|
4741
5143
|
])) : P("", !0),
|
|
4742
|
-
s(
|
|
5144
|
+
s(ee, {
|
|
4743
5145
|
id: "log-messages",
|
|
4744
5146
|
modelValue: i.messages,
|
|
4745
|
-
"onUpdate:modelValue": e[14] || (e[14] = (
|
|
5147
|
+
"onUpdate:modelValue": e[14] || (e[14] = (m) => i.messages = m),
|
|
4746
5148
|
onSort: n.messageSortOrder
|
|
4747
5149
|
}, null, 8, ["modelValue", "onSort"])
|
|
4748
5150
|
]),
|
|
@@ -4752,79 +5154,87 @@ function zi(t, e, o, a, i, n) {
|
|
|
4752
5154
|
_: 1
|
|
4753
5155
|
})
|
|
4754
5156
|
], 4)),
|
|
4755
|
-
i.fileOpen ? (
|
|
5157
|
+
i.fileOpen ? (g(), R(_e, {
|
|
4756
5158
|
key: 2,
|
|
4757
5159
|
modelValue: i.fileOpen,
|
|
4758
|
-
"onUpdate:modelValue": e[23] || (e[23] = (
|
|
5160
|
+
"onUpdate:modelValue": e[23] || (e[23] = (m) => i.fileOpen = m),
|
|
4759
5161
|
type: "open",
|
|
4760
5162
|
"api-url": "/script-api/scripts",
|
|
4761
|
-
onFile: e[24] || (e[24] = (
|
|
4762
|
-
onError: e[25] || (e[25] = (
|
|
4763
|
-
onClearTemp: e[26] || (e[26] = (
|
|
5163
|
+
onFile: e[24] || (e[24] = (m) => n.setFile(m)),
|
|
5164
|
+
onError: e[25] || (e[25] = (m) => n.setError(m)),
|
|
5165
|
+
onClearTemp: e[26] || (e[26] = (m) => n.clearTemp(m))
|
|
4764
5166
|
}, null, 8, ["modelValue"])) : P("", !0),
|
|
4765
|
-
i.showSaveAs ? (
|
|
5167
|
+
i.showSaveAs ? (g(), R(_e, {
|
|
4766
5168
|
key: 3,
|
|
4767
5169
|
modelValue: i.showSaveAs,
|
|
4768
|
-
"onUpdate:modelValue": e[27] || (e[27] = (
|
|
5170
|
+
"onUpdate:modelValue": e[27] || (e[27] = (m) => i.showSaveAs = m),
|
|
4769
5171
|
type: "save",
|
|
4770
5172
|
"api-url": "/script-api/scripts",
|
|
4771
5173
|
"require-target-parent-dir": "",
|
|
4772
5174
|
"input-filename": n.filenameOrBlank,
|
|
4773
|
-
onFilename: e[28] || (e[28] = (
|
|
4774
|
-
onError: e[29] || (e[29] = (
|
|
4775
|
-
onClearTemp: e[30] || (e[30] = (
|
|
5175
|
+
onFilename: e[28] || (e[28] = (m) => n.saveAsFilename(m)),
|
|
5176
|
+
onError: e[29] || (e[29] = (m) => n.setError(m)),
|
|
5177
|
+
onClearTemp: e[30] || (e[30] = (m) => n.clearTemp(m))
|
|
4776
5178
|
}, null, 8, ["modelValue", "input-filename"])) : P("", !0),
|
|
4777
|
-
i.showEnvironment ? (
|
|
5179
|
+
i.showEnvironment ? (g(), R(Ve, {
|
|
4778
5180
|
key: 4,
|
|
4779
5181
|
modelValue: i.showEnvironment,
|
|
4780
|
-
"onUpdate:modelValue": e[31] || (e[31] = (
|
|
5182
|
+
"onUpdate:modelValue": e[31] || (e[31] = (m) => i.showEnvironment = m)
|
|
4781
5183
|
}, null, 8, ["modelValue"])) : P("", !0),
|
|
4782
|
-
i.ask.show ? (
|
|
5184
|
+
i.ask.show ? (g(), R(Ee, {
|
|
4783
5185
|
key: 5,
|
|
4784
5186
|
modelValue: i.ask.show,
|
|
4785
|
-
"onUpdate:modelValue": e[32] || (e[32] = (
|
|
5187
|
+
"onUpdate:modelValue": e[32] || (e[32] = (m) => i.ask.show = m),
|
|
4786
5188
|
question: i.ask.question,
|
|
4787
5189
|
default: i.ask.default,
|
|
4788
5190
|
password: i.ask.password,
|
|
4789
5191
|
"answer-required": i.ask.answerRequired,
|
|
4790
5192
|
onResponse: i.ask.callback
|
|
4791
5193
|
}, null, 8, ["modelValue", "question", "default", "password", "answer-required", "onResponse"])) : P("", !0),
|
|
4792
|
-
i.file.show ? (
|
|
5194
|
+
i.file.show ? (g(), R(ce, {
|
|
4793
5195
|
key: 6,
|
|
4794
5196
|
modelValue: i.file.show,
|
|
4795
|
-
"onUpdate:modelValue": e[33] || (e[33] = (
|
|
5197
|
+
"onUpdate:modelValue": e[33] || (e[33] = (m) => i.file.show = m),
|
|
4796
5198
|
title: i.file.title,
|
|
4797
5199
|
message: i.file.message,
|
|
4798
5200
|
multiple: i.file.multiple,
|
|
4799
5201
|
filter: i.file.filter,
|
|
4800
5202
|
onResponse: n.fileDialogCallback
|
|
4801
5203
|
}, null, 8, ["modelValue", "title", "message", "multiple", "filter", "onResponse"])) : P("", !0),
|
|
4802
|
-
i.
|
|
5204
|
+
i.bucket.show ? (g(), R(Oe, {
|
|
4803
5205
|
key: 7,
|
|
5206
|
+
modelValue: i.bucket.show,
|
|
5207
|
+
"onUpdate:modelValue": e[34] || (e[34] = (m) => i.bucket.show = m),
|
|
5208
|
+
title: i.bucket.title,
|
|
5209
|
+
message: i.bucket.message,
|
|
5210
|
+
onResponse: n.bucketDialogCallback
|
|
5211
|
+
}, null, 8, ["modelValue", "title", "message", "onResponse"])) : P("", !0),
|
|
5212
|
+
i.information.show ? (g(), R(Re, {
|
|
5213
|
+
key: 8,
|
|
4804
5214
|
modelValue: i.information.show,
|
|
4805
|
-
"onUpdate:modelValue": e[
|
|
5215
|
+
"onUpdate:modelValue": e[35] || (e[35] = (m) => i.information.show = m),
|
|
4806
5216
|
title: i.information.title,
|
|
4807
5217
|
text: i.information.text,
|
|
4808
5218
|
width: i.information.width
|
|
4809
5219
|
}, null, 8, ["modelValue", "title", "text", "width"])) : P("", !0),
|
|
4810
|
-
i.inputMetadata.show ? (
|
|
4811
|
-
key:
|
|
5220
|
+
i.inputMetadata.show ? (g(), R(Me, {
|
|
5221
|
+
key: 9,
|
|
4812
5222
|
modelValue: i.inputMetadata.show,
|
|
4813
|
-
"onUpdate:modelValue": e[
|
|
5223
|
+
"onUpdate:modelValue": e[36] || (e[36] = (m) => i.inputMetadata.show = m),
|
|
4814
5224
|
events: i.inputMetadata.events,
|
|
4815
5225
|
"time-zone": i.timeZone,
|
|
4816
5226
|
"new-metadata": "",
|
|
4817
5227
|
onClose: i.inputMetadata.callback
|
|
4818
5228
|
}, null, 8, ["modelValue", "events", "time-zone", "onClose"])) : P("", !0),
|
|
4819
|
-
i.showOverrides ? (
|
|
4820
|
-
key:
|
|
5229
|
+
i.showOverrides ? (g(), R(me, {
|
|
5230
|
+
key: 10,
|
|
4821
5231
|
modelValue: i.showOverrides,
|
|
4822
|
-
"onUpdate:modelValue": e[
|
|
5232
|
+
"onUpdate:modelValue": e[37] || (e[37] = (m) => i.showOverrides = m)
|
|
4823
5233
|
}, null, 8, ["modelValue"])) : P("", !0),
|
|
4824
|
-
i.prompt.show ? (
|
|
4825
|
-
key:
|
|
5234
|
+
i.prompt.show ? (g(), R(K, {
|
|
5235
|
+
key: 11,
|
|
4826
5236
|
modelValue: i.prompt.show,
|
|
4827
|
-
"onUpdate:modelValue": e[
|
|
5237
|
+
"onUpdate:modelValue": e[38] || (e[38] = (m) => i.prompt.show = m),
|
|
4828
5238
|
title: i.prompt.title,
|
|
4829
5239
|
subtitle: i.prompt.subtitle,
|
|
4830
5240
|
message: i.prompt.message,
|
|
@@ -4834,51 +5244,51 @@ function zi(t, e, o, a, i, n) {
|
|
|
4834
5244
|
multiple: i.prompt.multiple,
|
|
4835
5245
|
onResponse: i.prompt.callback
|
|
4836
5246
|
}, null, 8, ["modelValue", "title", "subtitle", "message", "details", "buttons", "layout", "multiple", "onResponse"])) : P("", !0),
|
|
4837
|
-
i.results.show ? (
|
|
4838
|
-
key:
|
|
5247
|
+
i.results.show ? (g(), R(Te, {
|
|
5248
|
+
key: 12,
|
|
4839
5249
|
modelValue: i.results.show,
|
|
4840
|
-
"onUpdate:modelValue": e[
|
|
5250
|
+
"onUpdate:modelValue": e[39] || (e[39] = (m) => i.results.show = m),
|
|
4841
5251
|
text: i.results.text
|
|
4842
5252
|
}, null, 8, ["modelValue", "text"])) : P("", !0),
|
|
4843
|
-
i.scriptEnvironment.show ? (
|
|
4844
|
-
key:
|
|
5253
|
+
i.scriptEnvironment.show ? (g(), R(u, {
|
|
5254
|
+
key: 13,
|
|
4845
5255
|
modelValue: i.scriptEnvironment.show,
|
|
4846
|
-
"onUpdate:modelValue": e[
|
|
5256
|
+
"onUpdate:modelValue": e[40] || (e[40] = (m) => i.scriptEnvironment.show = m),
|
|
4847
5257
|
"input-environment": i.scriptEnvironment.env,
|
|
4848
5258
|
onEnvironment: n.environmentHandler
|
|
4849
5259
|
}, null, 8, ["modelValue", "input-environment", "onEnvironment"])) : P("", !0),
|
|
4850
|
-
s(
|
|
5260
|
+
s(p, {
|
|
4851
5261
|
modelValue: i.showSuiteError,
|
|
4852
|
-
"onUpdate:modelValue": e[
|
|
5262
|
+
"onUpdate:modelValue": e[41] || (e[41] = (m) => i.showSuiteError = m),
|
|
4853
5263
|
title: "Suite Analysis Error",
|
|
4854
5264
|
text: i.suiteError,
|
|
4855
5265
|
width: 1e3
|
|
4856
5266
|
}, null, 8, ["modelValue", "text"]),
|
|
4857
|
-
s(
|
|
5267
|
+
s(_, {
|
|
4858
5268
|
modelValue: i.displayCriticalCmd,
|
|
4859
|
-
"onUpdate:modelValue": e[
|
|
5269
|
+
"onUpdate:modelValue": e[42] || (e[42] = (m) => i.displayCriticalCmd = m),
|
|
4860
5270
|
uuid: i.criticalCmdUuid,
|
|
4861
5271
|
"cmd-string": i.criticalCmdString,
|
|
4862
5272
|
"cmd-user": i.criticalCmdUser,
|
|
4863
5273
|
persistent: !0,
|
|
4864
5274
|
onStatus: n.promptDialogCallback
|
|
4865
5275
|
}, null, 8, ["modelValue", "uuid", "cmd-string", "cmd-user", "onStatus"]),
|
|
4866
|
-
s(
|
|
5276
|
+
s(D, {
|
|
4867
5277
|
modelValue: i.commandEditor.show,
|
|
4868
|
-
"onUpdate:modelValue": e[
|
|
5278
|
+
"onUpdate:modelValue": e[46] || (e[46] = (m) => i.commandEditor.show = m),
|
|
4869
5279
|
"max-width": "1200",
|
|
4870
5280
|
persistent: "",
|
|
4871
5281
|
scrollable: "",
|
|
4872
|
-
onKeydown:
|
|
5282
|
+
onKeydown: ae(n.closeCommandDialog, ["esc"])
|
|
4873
5283
|
}, {
|
|
4874
5284
|
default: l(() => [
|
|
4875
|
-
s(
|
|
5285
|
+
s(N, null, {
|
|
4876
5286
|
default: l(() => [
|
|
4877
|
-
s(
|
|
5287
|
+
s(f, { class: "d-flex align-center" }, {
|
|
4878
5288
|
default: l(() => [
|
|
4879
|
-
e[
|
|
4880
|
-
s(
|
|
4881
|
-
s(
|
|
5289
|
+
e[53] || (e[53] = y("span", null, "Insert Command", -1)),
|
|
5290
|
+
s(C),
|
|
5291
|
+
s(c, {
|
|
4882
5292
|
icon: "mdi-close",
|
|
4883
5293
|
variant: "text",
|
|
4884
5294
|
onClick: n.closeCommandDialog
|
|
@@ -4886,59 +5296,59 @@ function zi(t, e, o, a, i, n) {
|
|
|
4886
5296
|
]),
|
|
4887
5297
|
_: 1
|
|
4888
5298
|
}),
|
|
4889
|
-
s(
|
|
5299
|
+
s(F, { class: "pa-0" }, {
|
|
4890
5300
|
default: l(() => [
|
|
4891
|
-
i.commandEditor.dialogError ? (
|
|
4892
|
-
s(
|
|
5301
|
+
i.commandEditor.dialogError ? (g(), z("div", Ki, [
|
|
5302
|
+
s(h, {
|
|
4893
5303
|
class: "mr-2",
|
|
4894
5304
|
color: "error"
|
|
4895
5305
|
}, {
|
|
4896
|
-
default: l(() => [...e[
|
|
4897
|
-
|
|
5306
|
+
default: l(() => [...e[54] || (e[54] = [
|
|
5307
|
+
b("mdi-alert-circle", -1)
|
|
4898
5308
|
])]),
|
|
4899
5309
|
_: 1
|
|
4900
5310
|
}),
|
|
4901
|
-
|
|
4902
|
-
s(
|
|
5311
|
+
y("span", ji, B(i.commandEditor.dialogError), 1),
|
|
5312
|
+
s(c, {
|
|
4903
5313
|
icon: "mdi-close",
|
|
4904
5314
|
size: "small",
|
|
4905
5315
|
variant: "text",
|
|
4906
5316
|
color: "error",
|
|
4907
5317
|
class: "ml-2",
|
|
4908
|
-
onClick: e[
|
|
5318
|
+
onClick: e[43] || (e[43] = (m) => i.commandEditor.dialogError = null)
|
|
4909
5319
|
})
|
|
4910
5320
|
])) : P("", !0),
|
|
4911
|
-
s(
|
|
5321
|
+
s(v, {
|
|
4912
5322
|
ref: "commandEditor",
|
|
4913
5323
|
"initial-target-name": i.commandEditor.targetName,
|
|
4914
5324
|
"initial-packet-name": i.commandEditor.packetName,
|
|
4915
5325
|
"cmd-string": i.commandEditor.cmdString,
|
|
4916
5326
|
"send-disabled": !1,
|
|
4917
5327
|
"show-command-button": !1,
|
|
4918
|
-
onBuildCmd: e[
|
|
5328
|
+
onBuildCmd: e[44] || (e[44] = (m) => n.insertCommand(m))
|
|
4919
5329
|
}, null, 8, ["initial-target-name", "initial-packet-name", "cmd-string"])
|
|
4920
5330
|
]),
|
|
4921
5331
|
_: 1
|
|
4922
5332
|
}),
|
|
4923
|
-
s(
|
|
5333
|
+
s(O, null, {
|
|
4924
5334
|
default: l(() => [
|
|
4925
|
-
s(
|
|
4926
|
-
s(
|
|
5335
|
+
s(C),
|
|
5336
|
+
s(c, {
|
|
4927
5337
|
variant: "outlined",
|
|
4928
5338
|
onClick: n.closeCommandDialog
|
|
4929
5339
|
}, {
|
|
4930
|
-
default: l(() => [...e[
|
|
4931
|
-
|
|
5340
|
+
default: l(() => [...e[55] || (e[55] = [
|
|
5341
|
+
b(" Cancel ", -1)
|
|
4932
5342
|
])]),
|
|
4933
5343
|
_: 1
|
|
4934
5344
|
}, 8, ["onClick"]),
|
|
4935
|
-
s(
|
|
5345
|
+
s(c, {
|
|
4936
5346
|
color: "primary",
|
|
4937
5347
|
variant: "flat",
|
|
4938
|
-
onClick: e[
|
|
5348
|
+
onClick: e[45] || (e[45] = (m) => n.insertCommand())
|
|
4939
5349
|
}, {
|
|
4940
|
-
default: l(() => [...e[
|
|
4941
|
-
|
|
5350
|
+
default: l(() => [...e[56] || (e[56] = [
|
|
5351
|
+
b(" Insert Command ", -1)
|
|
4942
5352
|
])]),
|
|
4943
5353
|
_: 1
|
|
4944
5354
|
})
|
|
@@ -4951,18 +5361,18 @@ function zi(t, e, o, a, i, n) {
|
|
|
4951
5361
|
]),
|
|
4952
5362
|
_: 1
|
|
4953
5363
|
}, 8, ["modelValue", "onKeydown"]),
|
|
4954
|
-
s(
|
|
5364
|
+
s(be, {
|
|
4955
5365
|
modelValue: i.showScripts,
|
|
4956
|
-
"onUpdate:modelValue": e[
|
|
5366
|
+
"onUpdate:modelValue": e[48] || (e[48] = (m) => i.showScripts = m)
|
|
4957
5367
|
}, {
|
|
4958
5368
|
default: l(() => [
|
|
4959
|
-
s(
|
|
5369
|
+
s(j, { class: "pb-11 pt-5 px-5" }, {
|
|
4960
5370
|
default: l(() => [
|
|
4961
|
-
i.showScripts ? (
|
|
5371
|
+
i.showScripts ? (g(), R(G, {
|
|
4962
5372
|
key: 0,
|
|
4963
5373
|
"connect-in-new-tab": !!i.fileModified,
|
|
4964
5374
|
onDisconnect: n.scriptDisconnect,
|
|
4965
|
-
onClose: e[
|
|
5375
|
+
onClose: e[47] || (e[47] = () => {
|
|
4966
5376
|
i.showScripts = !1;
|
|
4967
5377
|
})
|
|
4968
5378
|
}, null, 8, ["connect-in-new-tab", "onDisconnect"])) : P("", !0)
|
|
@@ -4974,11 +5384,11 @@ function zi(t, e, o, a, i, n) {
|
|
|
4974
5384
|
}, 8, ["modelValue"])
|
|
4975
5385
|
], 64);
|
|
4976
5386
|
}
|
|
4977
|
-
const
|
|
5387
|
+
const ps = /* @__PURE__ */ J(Ri, [["render", Wi], ["__scopeId", "data-v-2d948023"]]);
|
|
4978
5388
|
export {
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
5389
|
+
kt as RunningScripts,
|
|
5390
|
+
xt as ScriptLogMessages,
|
|
5391
|
+
ps as ScriptRunner,
|
|
5392
|
+
xi as SuiteRunner
|
|
4983
5393
|
};
|
|
4984
5394
|
//# sourceMappingURL=scriptrunner.js.map
|