@openc3/vue-common 6.2.1 → 6.4.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-BIQi_bWC.cjs → ArrayWidget-Ba-YDfZB.cjs} +3 -3
- package/dist/{ArrayWidget-BIQi_bWC.cjs.map → ArrayWidget-Ba-YDfZB.cjs.map} +1 -1
- package/dist/{ArrayWidget-BxEO5hEG.js → ArrayWidget-DAZApfkV.js} +5 -5
- package/dist/{ArrayWidget-BxEO5hEG.js.map → ArrayWidget-DAZApfkV.js.map} +1 -1
- package/dist/{ArrayplotWidget-B_VPoV4v.js → ArrayplotWidget-BfsxDplv.js} +4 -4
- package/dist/{ArrayplotWidget-B_VPoV4v.js.map → ArrayplotWidget-BfsxDplv.js.map} +1 -1
- package/dist/ArrayplotWidget-Ckm4lmSc.cjs +2 -0
- package/dist/{ArrayplotWidget-Donxhd8_.cjs.map → ArrayplotWidget-Ckm4lmSc.cjs.map} +1 -1
- package/dist/{BarColumn-CyRSZHMh.cjs → BarColumn-Cp7oEFJR.cjs} +2 -2
- package/dist/{BarColumn-CyRSZHMh.cjs.map → BarColumn-Cp7oEFJR.cjs.map} +1 -1
- package/dist/{BarColumn-C9dkpg2O.js → BarColumn-q0nAsvrd.js} +3 -3
- package/dist/{BarColumn-C9dkpg2O.js.map → BarColumn-q0nAsvrd.js.map} +1 -1
- package/dist/BlockWidget-DRB-TDL_.cjs +3 -0
- package/dist/{BlockWidget-DPLN1jgj.cjs.map → BlockWidget-DRB-TDL_.cjs.map} +1 -1
- package/dist/{BlockWidget-CuefOin6.js → BlockWidget-SDCUWcMQ.js} +5 -5
- package/dist/{BlockWidget-CuefOin6.js.map → BlockWidget-SDCUWcMQ.js.map} +1 -1
- package/dist/{ButtonWidget-B6HM0Doo.js → ButtonWidget-BVMjwC19.js} +7 -7
- package/dist/{ButtonWidget-B6HM0Doo.js.map → ButtonWidget-BVMjwC19.js.map} +1 -1
- package/dist/ButtonWidget-yJ70adEU.cjs +3 -0
- package/dist/{ButtonWidget-DccYzIY3.cjs.map → ButtonWidget-yJ70adEU.cjs.map} +1 -1
- package/dist/CanvasWidget-DXkxnt1x.cjs +2 -0
- package/dist/{CanvasWidget-BzTU9rc9.cjs.map → CanvasWidget-DXkxnt1x.cjs.map} +1 -1
- package/dist/{CanvasWidget-DZQGG-yQ.js → CanvasWidget-bVkufjRQ.js} +3 -3
- package/dist/{CanvasWidget-DZQGG-yQ.js.map → CanvasWidget-bVkufjRQ.js.map} +1 -1
- package/dist/CanvasdotWidget-Bi3nZh7g.cjs +2 -0
- package/dist/{CanvasdotWidget-B7VTS1QI.cjs.map → CanvasdotWidget-Bi3nZh7g.cjs.map} +1 -1
- package/dist/{CanvasdotWidget-6wuCSnw_.js → CanvasdotWidget-DpniFfca.js} +3 -3
- package/dist/{CanvasdotWidget-6wuCSnw_.js.map → CanvasdotWidget-DpniFfca.js.map} +1 -1
- package/dist/CanvasimageWidget-C-aBl-by.cjs +2 -0
- package/dist/{CanvasimageWidget-BwYpfmDE.cjs.map → CanvasimageWidget-C-aBl-by.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-mhcPpAuN.js → CanvasimageWidget-DHOSz-dJ.js} +4 -4
- package/dist/{CanvasimageWidget-mhcPpAuN.js.map → CanvasimageWidget-DHOSz-dJ.js.map} +1 -1
- package/dist/CanvasimagevalueWidget-DAbbV-LB.cjs +2 -0
- package/dist/{CanvasimagevalueWidget-E_NsZ82T.cjs.map → CanvasimagevalueWidget-DAbbV-LB.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js → CanvasimagevalueWidget-zrURWWUL.js} +4 -4
- package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js.map → CanvasimagevalueWidget-zrURWWUL.js.map} +1 -1
- package/dist/CanvaslabelWidget-82bf_Awf.cjs +2 -0
- package/dist/{CanvaslabelWidget-BBDuXWfU.cjs.map → CanvaslabelWidget-82bf_Awf.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-CQZCeohU.js → CanvaslabelWidget-D-XAMifp.js} +3 -3
- package/dist/{CanvaslabelWidget-CQZCeohU.js.map → CanvaslabelWidget-D-XAMifp.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js → CanvaslabelvalueWidget-BsIdBtEb.js} +3 -3
- package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js.map → CanvaslabelvalueWidget-BsIdBtEb.js.map} +1 -1
- package/dist/CanvaslabelvalueWidget-DgDzwLdi.cjs +2 -0
- package/dist/{CanvaslabelvalueWidget-DAdu7ujn.cjs.map → CanvaslabelvalueWidget-DgDzwLdi.cjs.map} +1 -1
- package/dist/CanvaslineWidget-BRRPuuqS.cjs +2 -0
- package/dist/{CanvaslineWidget-Bv5da1Vy.cjs.map → CanvaslineWidget-BRRPuuqS.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-nTP3fJB4.js → CanvaslineWidget-CA2aPGRg.js} +3 -3
- package/dist/{CanvaslineWidget-nTP3fJB4.js.map → CanvaslineWidget-CA2aPGRg.js.map} +1 -1
- package/dist/CanvaslinevalueWidget-BYjWr2gq.cjs +2 -0
- package/dist/{CanvaslinevalueWidget-BVfUB96K.cjs.map → CanvaslinevalueWidget-BYjWr2gq.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js → CanvaslinevalueWidget-J7epKRlo.js} +3 -3
- package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js.map → CanvaslinevalueWidget-J7epKRlo.js.map} +1 -1
- package/dist/{CheckbuttonWidget-5-8YDsQL.js → CheckbuttonWidget-ByH-PDRG.js} +3 -3
- package/dist/{CheckbuttonWidget-5-8YDsQL.js.map → CheckbuttonWidget-ByH-PDRG.js.map} +1 -1
- package/dist/CheckbuttonWidget-DkoFFTcM.cjs +2 -0
- package/dist/{CheckbuttonWidget-BGqD-BGc.cjs.map → CheckbuttonWidget-DkoFFTcM.cjs.map} +1 -1
- package/dist/{ComboboxWidget-DzBL8h9f.js → ComboboxWidget-Bdm_fMzW.js} +3 -3
- package/dist/{ComboboxWidget-DzBL8h9f.js.map → ComboboxWidget-Bdm_fMzW.js.map} +1 -1
- package/dist/ComboboxWidget-Dq28F4bs.cjs +2 -0
- package/dist/{ComboboxWidget-DoHMlSAr.cjs.map → ComboboxWidget-Dq28F4bs.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-DLEasFsx.js → CriticalCmdDialog-Bcq8PGag.js} +17 -17
- package/dist/CriticalCmdDialog-Bcq8PGag.js.map +1 -0
- package/dist/CriticalCmdDialog-CLF7hYKu.cjs +2 -0
- package/dist/CriticalCmdDialog-CLF7hYKu.cjs.map +1 -0
- package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
- package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
- package/dist/CustomIcon-h5X7369N.js +50 -0
- package/dist/CustomIcon-h5X7369N.js.map +1 -0
- package/dist/{DateWidget-CW7Od7lB.js → DateWidget-BaQqthC7.js} +4 -4
- package/dist/{DateWidget-CW7Od7lB.js.map → DateWidget-BaQqthC7.js.map} +1 -1
- package/dist/DateWidget-DCayVS3o.cjs +2 -0
- package/dist/{DateWidget-DKZz1J9J.cjs.map → DateWidget-DCayVS3o.cjs.map} +1 -1
- package/dist/{DetailsDialog-BvbziA7Y.js → DetailsDialog-C5jf8o0K.js} +16 -16
- package/dist/DetailsDialog-C5jf8o0K.js.map +1 -0
- package/dist/DetailsDialog-CangkVuF.cjs +2 -0
- package/dist/DetailsDialog-CangkVuF.cjs.map +1 -0
- package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
- package/dist/{DynamicWidget-3wHr6Ng-.cjs.map → DynamicWidget-BWEVCUfd.cjs.map} +1 -1
- package/dist/{DynamicWidget-gFSYxzvT.js → DynamicWidget-CfMtj7H8.js} +2 -2
- package/dist/{DynamicWidget-gFSYxzvT.js.map → DynamicWidget-CfMtj7H8.js.map} +1 -1
- package/dist/EventListDialog-Bniar26O.js +1509 -0
- package/dist/EventListDialog-Bniar26O.js.map +1 -0
- package/dist/EventListDialog-D_KXhGDO.cjs +2 -0
- package/dist/EventListDialog-D_KXhGDO.cjs.map +1 -0
- package/dist/FormatvalueWidget--H5B9i_Y.js +48 -0
- package/dist/FormatvalueWidget--H5B9i_Y.js.map +1 -0
- package/dist/FormatvalueWidget-CDh1rF5P.cjs +2 -0
- package/dist/FormatvalueWidget-CDh1rF5P.cjs.map +1 -0
- package/dist/Graph-DIR-5tJu.cjs +2 -0
- package/dist/Graph-DIR-5tJu.cjs.map +1 -0
- package/dist/{Graph-3rkhFP3G.js → Graph-M382Zo8o.js} +676 -806
- package/dist/Graph-M382Zo8o.js.map +1 -0
- package/dist/{GraphWidget-22NxFa9k.cjs → GraphWidget-CNUOLw5-.cjs} +2 -2
- package/dist/{GraphWidget-22NxFa9k.cjs.map → GraphWidget-CNUOLw5-.cjs.map} +1 -1
- package/dist/{GraphWidget-Dycey-mj.js → GraphWidget-_YOGDD1U.js} +2 -2
- package/dist/{GraphWidget-Dycey-mj.js.map → GraphWidget-_YOGDD1U.js.map} +1 -1
- package/dist/HorizontalWidget-Bix4q7It.cjs +2 -0
- package/dist/{HorizontalWidget-BBeB0eBI.cjs.map → HorizontalWidget-Bix4q7It.cjs.map} +1 -1
- package/dist/{HorizontalWidget-D31NRWy5.js → HorizontalWidget-D_gzrOWs.js} +3 -3
- package/dist/{HorizontalWidget-D31NRWy5.js.map → HorizontalWidget-D_gzrOWs.js.map} +1 -1
- package/dist/HorizontalboxWidget-B8a4-h2J.cjs +2 -0
- package/dist/HorizontalboxWidget-B8a4-h2J.cjs.map +1 -0
- package/dist/HorizontalboxWidget-GDcjO-UB.js +47 -0
- package/dist/HorizontalboxWidget-GDcjO-UB.js.map +1 -0
- package/dist/HorizontallineWidget-BD6dqVhE.cjs +2 -0
- package/dist/{HorizontallineWidget-BCKOQase.cjs.map → HorizontallineWidget-BD6dqVhE.cjs.map} +1 -1
- package/dist/HorizontallineWidget-DZvOYFxf.js +16 -0
- package/dist/{HorizontallineWidget-CbxREBYI.js.map → HorizontallineWidget-DZvOYFxf.js.map} +1 -1
- package/dist/{IframeWidget-Ctj8OIcG.js → IframeWidget-CuUav9b3.js} +3 -3
- package/dist/{IframeWidget-Ctj8OIcG.js.map → IframeWidget-CuUav9b3.js.map} +1 -1
- package/dist/IframeWidget-DL_CET3B.cjs +2 -0
- package/dist/{IframeWidget-CZwsTgvX.cjs.map → IframeWidget-DL_CET3B.cjs.map} +1 -1
- package/dist/{ImageLoader-BrNrCBvi.js → ImageLoader-3KLKJ5mV.js} +2 -2
- package/dist/{ImageLoader-BrNrCBvi.js.map → ImageLoader-3KLKJ5mV.js.map} +1 -1
- package/dist/{ImageLoader-D_Gq-KxR.cjs → ImageLoader-DaWMqoJS.cjs} +2 -2
- package/dist/{ImageLoader-D_Gq-KxR.cjs.map → ImageLoader-DaWMqoJS.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-XrsqxmLo.js → ImageviewerWidget-BMZ6REN4.js} +3 -3
- package/dist/{ImageviewerWidget-XrsqxmLo.js.map → ImageviewerWidget-BMZ6REN4.js.map} +1 -1
- package/dist/ImageviewerWidget-_0YopZ1s.cjs +2 -0
- package/dist/{ImageviewerWidget-DwRPFSLR.cjs.map → ImageviewerWidget-_0YopZ1s.cjs.map} +1 -1
- package/dist/InterfacesTab-DGrLsTA0.cjs +2 -0
- package/dist/InterfacesTab-DGrLsTA0.cjs.map +1 -0
- package/dist/InterfacesTab-DTixVrGo.js +83 -0
- package/dist/InterfacesTab-DTixVrGo.js.map +1 -0
- package/dist/LabelWidget-DkZvBxYg.cjs +2 -0
- package/dist/LabelWidget-DkZvBxYg.cjs.map +1 -0
- package/dist/{LabelWidget-t7I87dp7.js → LabelWidget-oh6FIG6s.js} +5 -5
- package/dist/LabelWidget-oh6FIG6s.js.map +1 -0
- package/dist/{LabelledWidget-C7TDf92M.js → LabelledWidget-Bic36les.js} +5 -5
- package/dist/{LabelledWidget-C7TDf92M.js.map → LabelledWidget-Bic36les.js.map} +1 -1
- package/dist/LabelledWidget-D7nm73kj.cjs +2 -0
- package/dist/{LabelledWidget-DUpHxc9z.cjs.map → LabelledWidget-D7nm73kj.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-wwLURt1u.js → LabelprogressbarWidget-CqIiGoDb.js} +5 -5
- package/dist/{LabelprogressbarWidget-wwLURt1u.js.map → LabelprogressbarWidget-CqIiGoDb.js.map} +1 -1
- package/dist/LabelprogressbarWidget-DY0Xd2c2.cjs +2 -0
- package/dist/{LabelprogressbarWidget-D6cpayCR.cjs.map → LabelprogressbarWidget-DY0Xd2c2.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-B3awLUyP.js → LabelsparklineWidget-DLhmqO02.js} +5 -5
- package/dist/{LabelsparklineWidget-B3awLUyP.js.map → LabelsparklineWidget-DLhmqO02.js.map} +1 -1
- package/dist/LabelsparklineWidget-DZ5-iEcK.cjs +2 -0
- package/dist/{LabelsparklineWidget-CJRnLETe.cjs.map → LabelsparklineWidget-DZ5-iEcK.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-Zx_yHCtl.js → LabelvalueWidget-BefwSSVq.js} +5 -5
- package/dist/{LabelvalueWidget-Zx_yHCtl.js.map → LabelvalueWidget-BefwSSVq.js.map} +1 -1
- package/dist/LabelvalueWidget-D-u38nLh.cjs +2 -0
- package/dist/{LabelvalueWidget-owiMSCYl.cjs.map → LabelvalueWidget-D-u38nLh.cjs.map} +1 -1
- package/dist/LabelvaluedescWidget-DMuBCLM8.cjs +2 -0
- package/dist/{LabelvaluedescWidget-MRmZBUc0.cjs.map → LabelvaluedescWidget-DMuBCLM8.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-BBSBh4vI.js → LabelvaluedescWidget-NxrCzznm.js} +10 -10
- package/dist/{LabelvaluedescWidget-BBSBh4vI.js.map → LabelvaluedescWidget-NxrCzznm.js.map} +1 -1
- package/dist/LabelvaluelimitsbarWidget-BY212bgc.cjs +2 -0
- package/dist/{LabelvaluelimitsbarWidget-BQ2XYPNE.cjs.map → LabelvaluelimitsbarWidget-BY212bgc.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js → LabelvaluelimitsbarWidget-pq7qoolL.js} +5 -5
- package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js.map → LabelvaluelimitsbarWidget-pq7qoolL.js.map} +1 -1
- package/dist/LabelvaluelimitscolumnWidget-DVLGU6ja.cjs +2 -0
- package/dist/{LabelvaluelimitscolumnWidget-DNmVpU8J.cjs.map → LabelvaluelimitscolumnWidget-DVLGU6ja.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js → LabelvaluelimitscolumnWidget-edkpogsl.js} +6 -6
- package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js.map → LabelvaluelimitscolumnWidget-edkpogsl.js.map} +1 -1
- package/dist/LabelvaluerangebarWidget-CA_7kTS2.cjs +2 -0
- package/dist/{LabelvaluerangebarWidget-DL0U8cbw.cjs.map → LabelvaluerangebarWidget-CA_7kTS2.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js → LabelvaluerangebarWidget-DpJNv9dh.js} +5 -5
- package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js.map → LabelvaluerangebarWidget-DpJNv9dh.js.map} +1 -1
- package/dist/{Layout-Bh7VzCZd.js → Layout-B0hvhBQO.js} +2 -2
- package/dist/{Layout-Bh7VzCZd.js.map → Layout-B0hvhBQO.js.map} +1 -1
- package/dist/Layout-BLADjt_A.cjs +2 -0
- package/dist/{Layout-DRL0EeSA.cjs.map → Layout-BLADjt_A.cjs.map} +1 -1
- package/dist/LedWidget--4eSxBnn.js +148 -0
- package/dist/LedWidget--4eSxBnn.js.map +1 -0
- package/dist/LedWidget-BoZKOBZg.cjs +2 -0
- package/dist/LedWidget-BoZKOBZg.cjs.map +1 -0
- package/dist/{LimitsbarWidget-Djui0IpK.js → LimitsbarWidget-BQaumgRt.js} +11 -8
- package/dist/LimitsbarWidget-BQaumgRt.js.map +1 -0
- package/dist/LimitsbarWidget-CyHbbNx3.cjs +2 -0
- package/dist/LimitsbarWidget-CyHbbNx3.cjs.map +1 -0
- package/dist/{LimitscolorWidget-DdmvKzmx.js → LimitscolorWidget-BBF9sRtF.js} +3 -3
- package/dist/{LimitscolorWidget-DdmvKzmx.js.map → LimitscolorWidget-BBF9sRtF.js.map} +1 -1
- package/dist/LimitscolorWidget-CsuRoqxm.cjs +2 -0
- package/dist/{LimitscolorWidget-CS0wpX9A.cjs.map → LimitscolorWidget-CsuRoqxm.cjs.map} +1 -1
- package/dist/LimitscolumnWidget-Cr1qFT8M.cjs +2 -0
- package/dist/{LimitscolumnWidget-C_UW6xKq.cjs.map → LimitscolumnWidget-Cr1qFT8M.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-Cc19IEjq.js → LimitscolumnWidget-DZZtSoXw.js} +3 -3
- package/dist/{LimitscolumnWidget-Cc19IEjq.js.map → LimitscolumnWidget-DZZtSoXw.js.map} +1 -1
- package/dist/LinegraphWidget-Cw9vua8K.cjs +2 -0
- package/dist/{LinegraphWidget-8td_PqgU.cjs.map → LinegraphWidget-Cw9vua8K.cjs.map} +1 -1
- package/dist/{LinegraphWidget-BtieJxeL.js → LinegraphWidget-DTLZmyWs.js} +5 -5
- package/dist/{LinegraphWidget-BtieJxeL.js.map → LinegraphWidget-DTLZmyWs.js.map} +1 -1
- package/dist/MatrixbycolumnsWidget-Digh2kY7.cjs +2 -0
- package/dist/{MatrixbycolumnsWidget-CGOeCNW2.cjs.map → MatrixbycolumnsWidget-Digh2kY7.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-DnExVRF8.js → MatrixbycolumnsWidget-dpgZz4wR.js} +4 -4
- package/dist/{MatrixbycolumnsWidget-DnExVRF8.js.map → MatrixbycolumnsWidget-dpgZz4wR.js.map} +1 -1
- package/dist/MicroservicesTab-BQywJ_ya.cjs +2 -0
- package/dist/MicroservicesTab-BQywJ_ya.cjs.map +1 -0
- package/dist/MicroservicesTab-DbL48MBc.js +219 -0
- package/dist/MicroservicesTab-DbL48MBc.js.map +1 -0
- package/dist/Openc3Screen-COi4u-9k.cjs +5 -0
- package/dist/Openc3Screen-COi4u-9k.cjs.map +1 -0
- package/dist/Openc3Screen-CtwGKfq-.js +1690 -0
- package/dist/Openc3Screen-CtwGKfq-.js.map +1 -0
- package/dist/{OutputDialog-Ci5OT_fH.js → OutputDialog-B5qHVyck.js} +66 -81
- package/dist/OutputDialog-B5qHVyck.js.map +1 -0
- package/dist/OutputDialog-CFhG2RY9.cjs +2 -0
- package/dist/OutputDialog-CFhG2RY9.cjs.map +1 -0
- package/dist/PackagesTab-Bw34RkLc.js +313 -0
- package/dist/PackagesTab-Bw34RkLc.js.map +1 -0
- package/dist/PackagesTab-DXSowjd4.cjs +2 -0
- package/dist/PackagesTab-DXSowjd4.cjs.map +1 -0
- package/dist/{PluginsTab-Ds3jk64b.js → PluginsTab-C9t0-QVm.js} +206 -245
- package/dist/PluginsTab-C9t0-QVm.js.map +1 -0
- package/dist/PluginsTab-CPaBGJMa.cjs +6 -0
- package/dist/PluginsTab-CPaBGJMa.cjs.map +1 -0
- package/dist/{ProgressbarWidget-DIfqhHRE.js → ProgressbarWidget-7cYr8136.js} +3 -3
- package/dist/{ProgressbarWidget-DIfqhHRE.js.map → ProgressbarWidget-7cYr8136.js.map} +1 -1
- package/dist/ProgressbarWidget-CdOWGViG.cjs +2 -0
- package/dist/{ProgressbarWidget-CUIAYySg.cjs.map → ProgressbarWidget-CdOWGViG.cjs.map} +1 -1
- package/dist/RadiobuttonWidget-5t4ofYx3.cjs +2 -0
- package/dist/{RadiobuttonWidget-Cjk1JAP_.cjs.map → RadiobuttonWidget-5t4ofYx3.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-QzIkNP7m.js → RadiobuttonWidget-DTfn-7F2.js} +3 -3
- package/dist/{RadiobuttonWidget-QzIkNP7m.js.map → RadiobuttonWidget-DTfn-7F2.js.map} +1 -1
- package/dist/{RadiogroupWidget-Ci9sCX39.js → RadiogroupWidget-DWvTpw94.js} +3 -3
- package/dist/{RadiogroupWidget-Ci9sCX39.js.map → RadiogroupWidget-DWvTpw94.js.map} +1 -1
- package/dist/RadiogroupWidget-emxyymRZ.cjs +2 -0
- package/dist/{RadiogroupWidget-B4lkYWaC.cjs.map → RadiogroupWidget-emxyymRZ.cjs.map} +1 -1
- package/dist/{RangebarWidget-CN0YuHqy.js → RangebarWidget-CG2Y7eYp.js} +3 -3
- package/dist/{RangebarWidget-CN0YuHqy.js.map → RangebarWidget-CG2Y7eYp.js.map} +1 -1
- package/dist/RangebarWidget-CLMKfbiT.cjs +2 -0
- package/dist/{RangebarWidget-nl0rzj93.cjs.map → RangebarWidget-CLMKfbiT.cjs.map} +1 -1
- package/dist/{RedisTab-CVimDkIE.js → RedisTab-CvPLS0Qe.js} +3 -3
- package/dist/{RedisTab-CVimDkIE.js.map → RedisTab-CvPLS0Qe.js.map} +1 -1
- package/dist/RedisTab-PbizvHjY.cjs +2 -0
- package/dist/{RedisTab-DhS4GHDj.cjs.map → RedisTab-PbizvHjY.cjs.map} +1 -1
- package/dist/{RollupWidget-y4jBtJB2.js → RollupWidget-C6HKTfCR.js} +3 -3
- package/dist/{RollupWidget-y4jBtJB2.js.map → RollupWidget-C6HKTfCR.js.map} +1 -1
- package/dist/RollupWidget-CHKUdXMx.cjs +2 -0
- package/dist/{RollupWidget-Bgudi_bt.cjs.map → RollupWidget-CHKUdXMx.cjs.map} +1 -1
- package/dist/RoutersTab-D-ex_yMO.js +85 -0
- package/dist/RoutersTab-D-ex_yMO.js.map +1 -0
- package/dist/RoutersTab-zkaML-Xt.cjs +2 -0
- package/dist/RoutersTab-zkaML-Xt.cjs.map +1 -0
- package/dist/ScriptChooser-Dkf84RzQ.cjs +2 -0
- package/dist/ScriptChooser-Dkf84RzQ.cjs.map +1 -0
- package/dist/ScriptChooser-qiC2xQ_W.js +176 -0
- package/dist/ScriptChooser-qiC2xQ_W.js.map +1 -0
- package/dist/ScrollwindowWidget-CVc9EXW2.cjs +2 -0
- package/dist/{ScrollwindowWidget-BIiV7xwi.cjs.map → ScrollwindowWidget-CVc9EXW2.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-CBzYk4Y3.js → ScrollwindowWidget-DvhBCYd2.js} +4 -4
- package/dist/{ScrollwindowWidget-CBzYk4Y3.js.map → ScrollwindowWidget-DvhBCYd2.js.map} +1 -1
- package/dist/{SecretsTab-BjviaTxh.js → SecretsTab-CLkJfzf-.js} +39 -49
- package/dist/SecretsTab-CLkJfzf-.js.map +1 -0
- package/dist/SecretsTab-Clw9ErBz.cjs +2 -0
- package/dist/SecretsTab-Clw9ErBz.cjs.map +1 -0
- package/dist/SettingsTab-BJ9mrQ8U.cjs +3 -0
- package/dist/SettingsTab-BJ9mrQ8U.cjs.map +1 -0
- package/dist/{SettingsTab-Bo_dYXgb.js → SettingsTab-CysOMBFu.js} +198 -135
- package/dist/SettingsTab-CysOMBFu.js.map +1 -0
- package/dist/{SignalWidget-DQ5Uc2uV.js → SignalWidget-BZIoGjam.js} +16 -18
- package/dist/SignalWidget-BZIoGjam.js.map +1 -0
- package/dist/SignalWidget-DpNUpQNW.cjs +2 -0
- package/dist/SignalWidget-DpNUpQNW.cjs.map +1 -0
- package/dist/SimpleTextDialog-CGStqYvO.js +97 -0
- package/dist/SimpleTextDialog-CGStqYvO.js.map +1 -0
- package/dist/SimpleTextDialog-P2KPhVHq.cjs +2 -0
- package/dist/SimpleTextDialog-P2KPhVHq.cjs.map +1 -0
- package/dist/SpacerWidget-CHuv4qDR.cjs +2 -0
- package/dist/{SpacerWidget-BBJR6HBQ.cjs.map → SpacerWidget-CHuv4qDR.cjs.map} +1 -1
- package/dist/{SpacerWidget-6rsc_dSM.js → SpacerWidget-YBS8RZIE.js} +3 -3
- package/dist/{SpacerWidget-6rsc_dSM.js.map → SpacerWidget-YBS8RZIE.js.map} +1 -1
- package/dist/{SparklineWidget-CZtvu2ss.js → SparklineWidget-BMhY9vYe.js} +5 -5
- package/dist/{SparklineWidget-CZtvu2ss.js.map → SparklineWidget-BMhY9vYe.js.map} +1 -1
- package/dist/SparklineWidget-qWQGTMwn.cjs +2 -0
- package/dist/{SparklineWidget-BxBLnjAO.cjs.map → SparklineWidget-qWQGTMwn.cjs.map} +1 -1
- package/dist/TabbookWidget-C4jdzkQl.cjs +2 -0
- package/dist/{TabbookWidget-DyFQnA10.cjs.map → TabbookWidget-C4jdzkQl.cjs.map} +1 -1
- package/dist/{TabbookWidget-DNALU0jl.js → TabbookWidget-RfET19pq.js} +3 -3
- package/dist/{TabbookWidget-DNALU0jl.js.map → TabbookWidget-RfET19pq.js.map} +1 -1
- package/dist/TargetsTab-CVZR_Bp6.cjs +2 -0
- package/dist/TargetsTab-CVZR_Bp6.cjs.map +1 -0
- package/dist/TargetsTab-CfBt-dZW.js +117 -0
- package/dist/TargetsTab-CfBt-dZW.js.map +1 -0
- package/dist/TextBoxDialog-C60jmnyN.js +98 -0
- package/dist/TextBoxDialog-C60jmnyN.js.map +1 -0
- package/dist/TextBoxDialog-DWt30tB8.cjs +2 -0
- package/dist/TextBoxDialog-DWt30tB8.cjs.map +1 -0
- package/dist/TextboxWidget-Cm7-yWTZ.cjs +2 -0
- package/dist/{TextboxWidget-D6lW_dsU.cjs.map → TextboxWidget-Cm7-yWTZ.cjs.map} +1 -1
- package/dist/{TextboxWidget-5hqPj74D.js → TextboxWidget-M8vFBSxS.js} +5 -5
- package/dist/{TextboxWidget-5hqPj74D.js.map → TextboxWidget-M8vFBSxS.js.map} +1 -1
- package/dist/TextfieldWidget-Bfk2NPtC.cjs +2 -0
- package/dist/{TextfieldWidget-iHN7-fyF.cjs.map → TextfieldWidget-Bfk2NPtC.cjs.map} +1 -1
- package/dist/{TextfieldWidget-Df0ANSiU.js → TextfieldWidget-Dev7lCsT.js} +3 -3
- package/dist/{TextfieldWidget-Df0ANSiU.js.map → TextfieldWidget-Dev7lCsT.js.map} +1 -1
- package/dist/TimeWidget-BqkZJdg7.cjs +2 -0
- package/dist/{TimeWidget-C3NZqTEG.cjs.map → TimeWidget-BqkZJdg7.cjs.map} +1 -1
- package/dist/{TimeWidget-C6XQMUG2.js → TimeWidget-CQzn13rQ.js} +4 -4
- package/dist/{TimeWidget-C6XQMUG2.js.map → TimeWidget-CQzn13rQ.js.map} +1 -1
- package/dist/{TitleWidget-B9SPUlbW.js → TitleWidget-C4zbSian.js} +3 -3
- package/dist/{TitleWidget-B9SPUlbW.js.map → TitleWidget-C4zbSian.js.map} +1 -1
- package/dist/TitleWidget-DW0hJ0FE.cjs +2 -0
- package/dist/{TitleWidget-CWZs33c4.cjs.map → TitleWidget-DW0hJ0FE.cjs.map} +1 -1
- package/dist/ToolsTab-CKeFb94Y.cjs +7 -0
- package/dist/{ToolsTab-CUpUmkZL.cjs.map → ToolsTab-CKeFb94Y.cjs.map} +1 -1
- package/dist/ToolsTab-CnhhRS3J.js +1501 -0
- package/dist/{ToolsTab-Cgpb2nAW.js.map → ToolsTab-CnhhRS3J.js.map} +1 -1
- package/dist/TopBar-4zZ-wYMY.cjs +2 -0
- package/dist/TopBar-4zZ-wYMY.cjs.map +1 -0
- package/dist/{TopBar-F1jHuFan.js → TopBar-BQhv8Jcc.js} +102 -68
- package/dist/TopBar-BQhv8Jcc.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs +2 -0
- package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js → UpgradeToEnterpriseDialog-c6twungI.js} +27 -27
- package/dist/UpgradeToEnterpriseDialog-c6twungI.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs +1497 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs.map +1 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js +30244 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js.map +1 -0
- package/dist/{VWidget-C4spAawK.js → VWidget-iASFPjdx.js} +3 -3
- package/dist/{VWidget-C4spAawK.js.map → VWidget-iASFPjdx.js.map} +1 -1
- package/dist/{VWidget-C2x_zSC2.cjs → VWidget-iTwRH6Qq.cjs} +2 -2
- package/dist/{VWidget-C2x_zSC2.cjs.map → VWidget-iTwRH6Qq.cjs.map} +1 -1
- package/dist/{ValueWidget-D4RrYVEK.js → ValueWidget-BVI6uUVX.js} +17 -15
- package/dist/ValueWidget-BVI6uUVX.js.map +1 -0
- package/dist/ValueWidget-CPuSUgn9.cjs +2 -0
- package/dist/ValueWidget-CPuSUgn9.cjs.map +1 -0
- package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js → ValuelimitsbarWidget-BiIcery0.js} +5 -5
- package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js.map → ValuelimitsbarWidget-BiIcery0.js.map} +1 -1
- package/dist/ValuelimitsbarWidget-CNdyobcf.cjs +2 -0
- package/dist/{ValuelimitsbarWidget-DJuh7FOs.cjs.map → ValuelimitsbarWidget-CNdyobcf.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js → ValuelimitscolumnWidget-BiRI8GbI.js} +5 -5
- package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js.map → ValuelimitscolumnWidget-BiRI8GbI.js.map} +1 -1
- package/dist/ValuelimitscolumnWidget-Db0K4OjQ.cjs +2 -0
- package/dist/{ValuelimitscolumnWidget-BFpG-H7v.cjs.map → ValuelimitscolumnWidget-Db0K4OjQ.cjs.map} +1 -1
- package/dist/{ValuerangebarWidget-CecQRIok.js → ValuerangebarWidget-CtMFQu9-.js} +5 -5
- package/dist/{ValuerangebarWidget-CecQRIok.js.map → ValuerangebarWidget-CtMFQu9-.js.map} +1 -1
- package/dist/ValuerangebarWidget-DAEr-D_E.cjs +2 -0
- package/dist/{ValuerangebarWidget-BlZSaiXo.cjs.map → ValuerangebarWidget-DAEr-D_E.cjs.map} +1 -1
- package/dist/{VerticalWidget-D8jUFxjS.js → VerticalWidget-CRmcpQBn.js} +3 -3
- package/dist/{VerticalWidget-D8jUFxjS.js.map → VerticalWidget-CRmcpQBn.js.map} +1 -1
- package/dist/VerticalWidget-YG3auPJa.cjs +2 -0
- package/dist/{VerticalWidget--8UErB4q.cjs.map → VerticalWidget-YG3auPJa.cjs.map} +1 -1
- package/dist/VerticalboxWidget-C-qChjug.js +46 -0
- package/dist/VerticalboxWidget-C-qChjug.js.map +1 -0
- package/dist/VerticalboxWidget-DX8-gFay.cjs +2 -0
- package/dist/VerticalboxWidget-DX8-gFay.cjs.map +1 -0
- package/dist/{Widget-fRCERxGf.js → Widget-CFEnOKms.js} +19 -19
- package/dist/Widget-CFEnOKms.js.map +1 -0
- package/dist/Widget-EsyLQi_8.cjs +2 -0
- package/dist/Widget-EsyLQi_8.cjs.map +1 -0
- package/dist/components.cjs +3 -6
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +402 -2029
- package/dist/components.js.map +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js +59 -52
- package/dist/icons.js.map +1 -1
- package/dist/index-DcL65Mqb.cjs +7 -0
- package/dist/index-DcL65Mqb.cjs.map +1 -0
- package/dist/{index-CFQnWdPA.js → index-qCq0L4jN.js} +404 -406
- package/dist/index-qCq0L4jN.js.map +1 -0
- package/dist/plugins.cjs +4 -4
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +86 -77
- package/dist/plugins.js.map +1 -1
- package/dist/{timeFilters-CRYpYDdf.js → timeFilters-BKnCM4rv.js} +139 -136
- package/dist/{timeFilters-CRYpYDdf.js.map → timeFilters-BKnCM4rv.js.map} +1 -1
- package/dist/timeFilters-CJFxfjqN.cjs +2 -0
- package/dist/{timeFilters-8SaYvcH0.cjs.map → timeFilters-CJFxfjqN.cjs.map} +1 -1
- package/dist/tools/admin.cjs +10 -10
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +790 -736
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.js +217 -226
- package/dist/tools/base.js.map +1 -1
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.cjs.map +1 -1
- package/dist/tools/calendar.js +9 -1583
- package/dist/tools/calendar.js.map +1 -1
- package/dist/tools/scriptrunner.cjs +85 -0
- package/dist/tools/scriptrunner.cjs.map +1 -0
- package/dist/tools/scriptrunner.js +4574 -0
- package/dist/tools/scriptrunner.js.map +1 -0
- package/dist/util.cjs +1 -1
- package/dist/util.js +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +64 -64
- package/package.json +20 -15
- package/dist/ArrayplotWidget-Donxhd8_.cjs +0 -2
- package/dist/BlockWidget-DPLN1jgj.cjs +0 -3
- package/dist/ButtonWidget-DccYzIY3.cjs +0 -3
- package/dist/CanvasWidget-BzTU9rc9.cjs +0 -2
- package/dist/CanvasdotWidget-B7VTS1QI.cjs +0 -2
- package/dist/CanvasimageWidget-BwYpfmDE.cjs +0 -2
- package/dist/CanvasimagevalueWidget-E_NsZ82T.cjs +0 -2
- package/dist/CanvaslabelWidget-BBDuXWfU.cjs +0 -2
- package/dist/CanvaslabelvalueWidget-DAdu7ujn.cjs +0 -2
- package/dist/CanvaslineWidget-Bv5da1Vy.cjs +0 -2
- package/dist/CanvaslinevalueWidget-BVfUB96K.cjs +0 -2
- package/dist/CheckbuttonWidget-BGqD-BGc.cjs +0 -2
- package/dist/ComboboxWidget-DoHMlSAr.cjs +0 -2
- package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs +0 -2
- package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs.map +0 -1
- package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js +0 -10
- package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js.map +0 -1
- package/dist/CriticalCmdDialog-DLEasFsx.js.map +0 -1
- package/dist/CriticalCmdDialog-DoLBrU2k.cjs +0 -2
- package/dist/CriticalCmdDialog-DoLBrU2k.cjs.map +0 -1
- package/dist/DateWidget-DKZz1J9J.cjs +0 -2
- package/dist/DetailsDialog-BvbziA7Y.js.map +0 -1
- package/dist/DetailsDialog-CiuQYvJK.cjs +0 -2
- package/dist/DetailsDialog-CiuQYvJK.cjs.map +0 -1
- package/dist/DynamicWidget-3wHr6Ng-.cjs +0 -2
- package/dist/FormatvalueWidget-CGpnTqVH.js +0 -44
- package/dist/FormatvalueWidget-CGpnTqVH.js.map +0 -1
- package/dist/FormatvalueWidget-DFrbeKb9.cjs +0 -2
- package/dist/FormatvalueWidget-DFrbeKb9.cjs.map +0 -1
- package/dist/Graph-3rkhFP3G.js.map +0 -1
- package/dist/Graph-C3vGMcos.cjs +0 -2
- package/dist/Graph-C3vGMcos.cjs.map +0 -1
- package/dist/HorizontalWidget-BBeB0eBI.cjs +0 -2
- package/dist/HorizontalboxWidget-Br8dSVHD.js +0 -38
- package/dist/HorizontalboxWidget-Br8dSVHD.js.map +0 -1
- package/dist/HorizontalboxWidget-DsdzrCJx.cjs +0 -2
- package/dist/HorizontalboxWidget-DsdzrCJx.cjs.map +0 -1
- package/dist/HorizontallineWidget-BCKOQase.cjs +0 -2
- package/dist/HorizontallineWidget-CbxREBYI.js +0 -11
- package/dist/IframeWidget-CZwsTgvX.cjs +0 -2
- package/dist/ImageviewerWidget-DwRPFSLR.cjs +0 -2
- package/dist/InterfacesTab-CLaicsHA.cjs +0 -2
- package/dist/InterfacesTab-CLaicsHA.cjs.map +0 -1
- package/dist/InterfacesTab-DAeNlGlB.js +0 -93
- package/dist/InterfacesTab-DAeNlGlB.js.map +0 -1
- package/dist/LabelWidget-C-s8OVmA.cjs +0 -2
- package/dist/LabelWidget-C-s8OVmA.cjs.map +0 -1
- package/dist/LabelWidget-t7I87dp7.js.map +0 -1
- package/dist/LabelledWidget-DUpHxc9z.cjs +0 -2
- package/dist/LabelprogressbarWidget-D6cpayCR.cjs +0 -2
- package/dist/LabelsparklineWidget-CJRnLETe.cjs +0 -2
- package/dist/LabelvalueWidget-owiMSCYl.cjs +0 -2
- package/dist/LabelvaluedescWidget-MRmZBUc0.cjs +0 -2
- package/dist/LabelvaluelimitsbarWidget-BQ2XYPNE.cjs +0 -2
- package/dist/LabelvaluelimitscolumnWidget-DNmVpU8J.cjs +0 -2
- package/dist/LabelvaluerangebarWidget-DL0U8cbw.cjs +0 -2
- package/dist/Layout-DRL0EeSA.cjs +0 -2
- package/dist/LedWidget-B8rjFe1b.cjs +0 -2
- package/dist/LedWidget-B8rjFe1b.cjs.map +0 -1
- package/dist/LedWidget-CxJjJBBS.js +0 -71
- package/dist/LedWidget-CxJjJBBS.js.map +0 -1
- package/dist/LimitsbarWidget-CYIH8fdp.cjs +0 -2
- package/dist/LimitsbarWidget-CYIH8fdp.cjs.map +0 -1
- package/dist/LimitsbarWidget-Djui0IpK.js.map +0 -1
- package/dist/LimitscolorWidget-CS0wpX9A.cjs +0 -2
- package/dist/LimitscolumnWidget-C_UW6xKq.cjs +0 -2
- package/dist/LinegraphWidget-8td_PqgU.cjs +0 -2
- package/dist/MatrixbycolumnsWidget-CGOeCNW2.cjs +0 -2
- package/dist/MicroservicesTab-IbTmbPxO.js +0 -268
- package/dist/MicroservicesTab-IbTmbPxO.js.map +0 -1
- package/dist/MicroservicesTab-uMC8NebS.cjs +0 -2
- package/dist/MicroservicesTab-uMC8NebS.cjs.map +0 -1
- package/dist/OutputDialog-B4Q0QMJ1.cjs +0 -2
- package/dist/OutputDialog-B4Q0QMJ1.cjs.map +0 -1
- package/dist/OutputDialog-Ci5OT_fH.js.map +0 -1
- package/dist/PackagesTab-BX8YP3H1.js +0 -332
- package/dist/PackagesTab-BX8YP3H1.js.map +0 -1
- package/dist/PackagesTab-eYbk2vw7.cjs +0 -2
- package/dist/PackagesTab-eYbk2vw7.cjs.map +0 -1
- package/dist/PluginsTab-Ck3DvEGm.cjs +0 -6
- package/dist/PluginsTab-Ck3DvEGm.cjs.map +0 -1
- package/dist/PluginsTab-Ds3jk64b.js.map +0 -1
- package/dist/ProgressbarWidget-CUIAYySg.cjs +0 -2
- package/dist/RadiobuttonWidget-Cjk1JAP_.cjs +0 -2
- package/dist/RadiogroupWidget-B4lkYWaC.cjs +0 -2
- package/dist/RangebarWidget-nl0rzj93.cjs +0 -2
- package/dist/RedisTab-DhS4GHDj.cjs +0 -2
- package/dist/RollupWidget-Bgudi_bt.cjs +0 -2
- package/dist/RoutersTab-CzO10cVP.cjs +0 -2
- package/dist/RoutersTab-CzO10cVP.cjs.map +0 -1
- package/dist/RoutersTab-Dki_66av.js +0 -95
- package/dist/RoutersTab-Dki_66av.js.map +0 -1
- package/dist/ScriptChooser-BNm_zXxX.cjs +0 -2
- package/dist/ScriptChooser-BNm_zXxX.cjs.map +0 -1
- package/dist/ScriptChooser-l5i8c8KP.js +0 -199
- package/dist/ScriptChooser-l5i8c8KP.js.map +0 -1
- package/dist/ScrollwindowWidget-BIiV7xwi.cjs +0 -2
- package/dist/SecretsTab-BSzFZ81X.cjs +0 -2
- package/dist/SecretsTab-BSzFZ81X.cjs.map +0 -1
- package/dist/SecretsTab-BjviaTxh.js.map +0 -1
- package/dist/SettingsTab-Bo_dYXgb.js.map +0 -1
- package/dist/SettingsTab-DH8LAAoG.cjs +0 -3
- package/dist/SettingsTab-DH8LAAoG.cjs.map +0 -1
- package/dist/SignalWidget-CvZkvejy.cjs +0 -2
- package/dist/SignalWidget-CvZkvejy.cjs.map +0 -1
- package/dist/SignalWidget-DQ5Uc2uV.js.map +0 -1
- package/dist/SimpleTextDialog-CheuP_ls.js +0 -108
- package/dist/SimpleTextDialog-CheuP_ls.js.map +0 -1
- package/dist/SimpleTextDialog-DmeNMMCR.cjs +0 -2
- package/dist/SimpleTextDialog-DmeNMMCR.cjs.map +0 -1
- package/dist/SpacerWidget-BBJR6HBQ.cjs +0 -2
- package/dist/SparklineWidget-BxBLnjAO.cjs +0 -2
- package/dist/TabbookWidget-DyFQnA10.cjs +0 -2
- package/dist/TargetsTab-Cd8U1aN_.js +0 -129
- package/dist/TargetsTab-Cd8U1aN_.js.map +0 -1
- package/dist/TargetsTab-DMiOliqg.cjs +0 -2
- package/dist/TargetsTab-DMiOliqg.cjs.map +0 -1
- package/dist/TextBoxDialog-DvUf3Cak.cjs +0 -2
- package/dist/TextBoxDialog-DvUf3Cak.cjs.map +0 -1
- package/dist/TextBoxDialog-fHkDTtzI.js +0 -110
- package/dist/TextBoxDialog-fHkDTtzI.js.map +0 -1
- package/dist/TextboxWidget-D6lW_dsU.cjs +0 -2
- package/dist/TextfieldWidget-iHN7-fyF.cjs +0 -2
- package/dist/TimeWidget-C3NZqTEG.cjs +0 -2
- package/dist/TitleWidget-CWZs33c4.cjs +0 -2
- package/dist/ToolsTab-CUpUmkZL.cjs +0 -7
- package/dist/ToolsTab-Cgpb2nAW.js +0 -1521
- package/dist/TopBar-DuXL27iD.cjs +0 -2
- package/dist/TopBar-DuXL27iD.cjs.map +0 -1
- package/dist/TopBar-F1jHuFan.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog-DVcAH30Y.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs +0 -1417
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js +0 -26941
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js.map +0 -1
- package/dist/ValueWidget-D4RrYVEK.js.map +0 -1
- package/dist/ValueWidget-Do3Yn47P.cjs +0 -2
- package/dist/ValueWidget-Do3Yn47P.cjs.map +0 -1
- package/dist/ValuelimitsbarWidget-DJuh7FOs.cjs +0 -2
- package/dist/ValuelimitscolumnWidget-BFpG-H7v.cjs +0 -2
- package/dist/ValuerangebarWidget-BlZSaiXo.cjs +0 -2
- package/dist/VerticalWidget--8UErB4q.cjs +0 -2
- package/dist/VerticalboxWidget-B4eGUSYH.js +0 -37
- package/dist/VerticalboxWidget-B4eGUSYH.js.map +0 -1
- package/dist/VerticalboxWidget-cxHq1WKQ.cjs +0 -2
- package/dist/VerticalboxWidget-cxHq1WKQ.cjs.map +0 -1
- package/dist/Widget-DNf52jRQ.cjs +0 -2
- package/dist/Widget-DNf52jRQ.cjs.map +0 -1
- package/dist/Widget-fRCERxGf.js.map +0 -1
- package/dist/index-Bz_jHTkl.cjs +0 -7
- package/dist/index-Bz_jHTkl.cjs.map +0 -1
- package/dist/index-CFQnWdPA.js.map +0 -1
- package/dist/timeFilters-8SaYvcH0.cjs +0 -2
package/dist/components.js
CHANGED
|
@@ -1,68 +1,22 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { T as
|
|
18
|
-
import { U as
|
|
19
|
-
|
|
20
|
-
constructor() {
|
|
21
|
-
E.get("/openc3-api/autocomplete/data/screen").then((e) => {
|
|
22
|
-
this.autocompleteData = e.data;
|
|
23
|
-
}), this.api = new L();
|
|
24
|
-
}
|
|
25
|
-
async getCompletions(e, l, o, s, a) {
|
|
26
|
-
let h = l.getLine(o.row).slice(0, o.column).trimStart().split(/ (?![^<]*>)/), v = this.autocompleteData;
|
|
27
|
-
h.length > 1 && (v = v.find((x) => x.caption === h[0]));
|
|
28
|
-
let _ = {}, f = !0;
|
|
29
|
-
if (v && v.params) {
|
|
30
|
-
v.params.length == h.length - 1 && (f = !1);
|
|
31
|
-
let x = v.params[h.length - 2];
|
|
32
|
-
if (x["Target name"])
|
|
33
|
-
v = (await this.api.get_target_names()).reduce(
|
|
34
|
-
(k, p) => (k[p] = 1, k),
|
|
35
|
-
{}
|
|
36
|
-
);
|
|
37
|
-
else if (x["Packet name"]) {
|
|
38
|
-
let b = h[h.length - 2];
|
|
39
|
-
v = (await this.api.get_all_tlm(b)).reduce(
|
|
40
|
-
(p, g) => (p[g.packet_name] = g.description, p),
|
|
41
|
-
{}
|
|
42
|
-
);
|
|
43
|
-
} else if (x["Item name"]) {
|
|
44
|
-
let b = h[h.length - 3], k = h[h.length - 2];
|
|
45
|
-
v = (await this.api.get_tlm(b, k)).items.reduce(
|
|
46
|
-
(g, c) => (g[c.name] = c.description, g),
|
|
47
|
-
{}
|
|
48
|
-
);
|
|
49
|
-
} else
|
|
50
|
-
v = x;
|
|
51
|
-
_ = Object.keys(v || {}).map((b) => {
|
|
52
|
-
let k = {
|
|
53
|
-
value: b + (f ? " " : ""),
|
|
54
|
-
// We want the autoComplete to continue right up
|
|
55
|
-
// to the last parameter
|
|
56
|
-
command: f && "startAutocomplete"
|
|
57
|
-
};
|
|
58
|
-
return typeof v[b] == "string" && (k.meta = v[b]), k;
|
|
59
|
-
});
|
|
60
|
-
} else
|
|
61
|
-
_ = v;
|
|
62
|
-
a(null, _);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
const Xe = {
|
|
1
|
+
import { A as Ie, O as xe } from "./OutputDialog-B5qHVyck.js";
|
|
2
|
+
import { A as De, T as Ae } from "./TopBar-BQhv8Jcc.js";
|
|
3
|
+
import { E as Re, a as Le, F as Se, O as Ee, S as Ue } from "./Openc3Screen-CtwGKfq-.js";
|
|
4
|
+
import { p as k, d as O } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js";
|
|
5
|
+
import { D as Oe, e as Be } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js";
|
|
6
|
+
import { resolveComponent as o, createBlock as b, openBlock as _, withKeys as E, withCtx as n, createVNode as l, createElementVNode as f, withModifiers as D, withDirectives as U, toDisplayString as w, vShow as P, createTextVNode as g, normalizeStyle as B, createCommentVNode as I, createElementBlock as V, createSlots as K, normalizeClass as W, Fragment as M } from "vue";
|
|
7
|
+
import { _ as C } from "./CustomIcon-h5X7369N.js";
|
|
8
|
+
import { C as We } from "./CriticalCmdDialog-Bcq8PGag.js";
|
|
9
|
+
import { D as ze } from "./DetailsDialog-C5jf8o0K.js";
|
|
10
|
+
import { E as Ge, S as He } from "./ScriptChooser-qiC2xQ_W.js";
|
|
11
|
+
import { G as qe, a as Je, b as Ze } from "./Graph-M382Zo8o.js";
|
|
12
|
+
import { UnknownToAstroStatus as R, AstroStatusColors as L } from "./icons.js";
|
|
13
|
+
import { T as z } from "./timeFilters-BKnCM4rv.js";
|
|
14
|
+
import { f as F } from "./format-CVeawcIv.js";
|
|
15
|
+
import { getMountedApps as G } from "single-spa";
|
|
16
|
+
import { S as Xe } from "./SimpleTextDialog-CGStqYvO.js";
|
|
17
|
+
import { T as $e } from "./TextBoxDialog-C60jmnyN.js";
|
|
18
|
+
import { U as tt } from "./UpgradeToEnterpriseDialog-c6twungI.js";
|
|
19
|
+
const Ne = {
|
|
66
20
|
data: {
|
|
67
21
|
configKey: "",
|
|
68
22
|
// Applications can set to avoid persisting default config
|
|
@@ -76,12 +30,12 @@ const Xe = {
|
|
|
76
30
|
saveDefaultConfig: function(t) {
|
|
77
31
|
this.dontSaveDefaultConfig !== !0 && (localStorage[`${this.configKey}__default`] = JSON.stringify(t));
|
|
78
32
|
},
|
|
79
|
-
openConfigBase: function(t, e = !1,
|
|
80
|
-
new
|
|
81
|
-
|
|
33
|
+
openConfigBase: function(t, e = !1, i = null) {
|
|
34
|
+
new k().load_config(this.configKey, t).then((c) => {
|
|
35
|
+
c ? (this.$notify.normal({
|
|
82
36
|
title: "Loading configuration",
|
|
83
37
|
body: t
|
|
84
|
-
}),
|
|
38
|
+
}), i && i(JSON.parse(c)), e || this.$route.fullPath.includes(t) || this.$router.push({
|
|
85
39
|
query: {
|
|
86
40
|
config: t
|
|
87
41
|
}
|
|
@@ -89,23 +43,23 @@ const Xe = {
|
|
|
89
43
|
title: "Unknown configuration",
|
|
90
44
|
body: t
|
|
91
45
|
});
|
|
92
|
-
}).catch((
|
|
93
|
-
|
|
46
|
+
}).catch((c) => {
|
|
47
|
+
c && this.$notify.serious({
|
|
94
48
|
title: `Error opening configuration: ${t}`,
|
|
95
|
-
body:
|
|
49
|
+
body: c
|
|
96
50
|
});
|
|
97
51
|
});
|
|
98
52
|
},
|
|
99
53
|
saveConfigBase: function(t, e) {
|
|
100
|
-
new
|
|
54
|
+
new k().save_config(this.configKey, t, JSON.stringify(e)).then(() => {
|
|
101
55
|
this.$notify.normal({
|
|
102
56
|
title: "Saved configuration",
|
|
103
57
|
body: t
|
|
104
58
|
});
|
|
105
|
-
}).catch((
|
|
106
|
-
|
|
59
|
+
}).catch((i) => {
|
|
60
|
+
i && this.$notify.serious({
|
|
107
61
|
title: `Error saving configuration: ${t}`,
|
|
108
|
-
body:
|
|
62
|
+
body: i
|
|
109
63
|
});
|
|
110
64
|
});
|
|
111
65
|
},
|
|
@@ -115,7 +69,7 @@ const Xe = {
|
|
|
115
69
|
delete t.config, this.$router.replace({ query: t });
|
|
116
70
|
}
|
|
117
71
|
}
|
|
118
|
-
},
|
|
72
|
+
}, H = {
|
|
119
73
|
props: {
|
|
120
74
|
configKey: String,
|
|
121
75
|
modelValue: Boolean
|
|
@@ -160,8 +114,8 @@ const Xe = {
|
|
|
160
114
|
},
|
|
161
115
|
mounted() {
|
|
162
116
|
let t = -1;
|
|
163
|
-
new
|
|
164
|
-
this.configs = e.map((
|
|
117
|
+
new k().list_configs(this.configKey).then((e) => {
|
|
118
|
+
this.configs = e.map((i) => (t += 1, { configId: t, config: i }));
|
|
165
119
|
}).catch((e) => {
|
|
166
120
|
this.$emit("warning", `Failed to connect to OpenC3. ${e}`);
|
|
167
121
|
});
|
|
@@ -181,8 +135,8 @@ const Xe = {
|
|
|
181
135
|
okText: "Delete",
|
|
182
136
|
cancelText: "Cancel"
|
|
183
137
|
}).then((e) => {
|
|
184
|
-
var
|
|
185
|
-
((
|
|
138
|
+
var i;
|
|
139
|
+
((i = this.selectedItem) == null ? void 0 : i.config) === t.config && (this.selectedRows = []), this.configs.splice(this.configs.indexOf(t), 1), new k().delete_config(this.configKey, t.config);
|
|
186
140
|
}).catch((e) => {
|
|
187
141
|
e !== !0 && this.$emit(
|
|
188
142
|
"warning",
|
|
@@ -191,38 +145,38 @@ const Xe = {
|
|
|
191
145
|
});
|
|
192
146
|
}
|
|
193
147
|
}
|
|
194
|
-
},
|
|
195
|
-
function
|
|
196
|
-
const u =
|
|
197
|
-
return
|
|
148
|
+
}, j = { class: "mt-4 pa-3" }, q = ["textContent"];
|
|
149
|
+
function J(t, e, i, c, s, a) {
|
|
150
|
+
const u = o("v-spacer"), m = o("v-toolbar"), N = o("v-text-field"), v = o("v-row"), p = o("v-btn"), T = o("v-data-table"), y = o("v-card-text"), d = o("v-card-actions"), h = o("v-card"), A = o("v-dialog");
|
|
151
|
+
return _(), b(A, {
|
|
198
152
|
modelValue: a.show,
|
|
199
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
200
|
-
|
|
201
|
-
|
|
153
|
+
"onUpdate:modelValue": e[4] || (e[4] = (r) => a.show = r),
|
|
154
|
+
width: "600",
|
|
155
|
+
onKeydown: E(a.cancel, ["esc"])
|
|
202
156
|
}, {
|
|
203
157
|
default: n(() => [
|
|
204
|
-
|
|
158
|
+
l(h, null, {
|
|
205
159
|
default: n(() => [
|
|
206
|
-
|
|
207
|
-
onSubmit: e[3] || (e[3] =
|
|
160
|
+
f("form", {
|
|
161
|
+
onSubmit: e[3] || (e[3] = D((...r) => a.success && a.success(...r), ["prevent"]))
|
|
208
162
|
}, [
|
|
209
|
-
|
|
163
|
+
l(m, { height: "24" }, {
|
|
210
164
|
default: n(() => [
|
|
211
|
-
|
|
212
|
-
e[5] || (e[5] =
|
|
213
|
-
|
|
165
|
+
l(u),
|
|
166
|
+
e[5] || (e[5] = f("span", null, "Open Configuration", -1)),
|
|
167
|
+
l(u)
|
|
214
168
|
]),
|
|
215
169
|
_: 1
|
|
216
170
|
}),
|
|
217
|
-
|
|
171
|
+
l(y, null, {
|
|
218
172
|
default: n(() => [
|
|
219
|
-
|
|
220
|
-
|
|
173
|
+
f("div", j, [
|
|
174
|
+
l(v, { dense: "" }, {
|
|
221
175
|
default: n(() => [
|
|
222
|
-
|
|
223
|
-
label: "search",
|
|
176
|
+
l(N, {
|
|
224
177
|
modelValue: s.search,
|
|
225
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
178
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => s.search = r),
|
|
179
|
+
label: "search",
|
|
226
180
|
type: "text",
|
|
227
181
|
"prepend-inner-icon": "mdi-magnify",
|
|
228
182
|
clearable: "",
|
|
@@ -237,9 +191,9 @@ function re(t, e, l, o, s, a) {
|
|
|
237
191
|
]),
|
|
238
192
|
_: 1
|
|
239
193
|
}),
|
|
240
|
-
|
|
194
|
+
l(T, {
|
|
241
195
|
modelValue: s.selectedRows,
|
|
242
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
196
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => s.selectedRows = r),
|
|
243
197
|
"show-select": "",
|
|
244
198
|
"select-strategy": "single",
|
|
245
199
|
"item-value": "configId",
|
|
@@ -248,26 +202,26 @@ function re(t, e, l, o, s, a) {
|
|
|
248
202
|
items: s.configs,
|
|
249
203
|
"items-per-page": 5,
|
|
250
204
|
"items-per-page-options": [5],
|
|
251
|
-
"onClick:row": e[2] || (e[2] = (
|
|
205
|
+
"onClick:row": e[2] || (e[2] = (r, x) => a.selectRow(x))
|
|
252
206
|
}, {
|
|
253
|
-
"item.actions": n(({ item:
|
|
254
|
-
|
|
207
|
+
"item.actions": n(({ item: r }) => [
|
|
208
|
+
l(p, {
|
|
255
209
|
class: "mt-1",
|
|
256
210
|
icon: "mdi-delete",
|
|
257
211
|
variant: "text",
|
|
258
212
|
"data-test": "item-delete",
|
|
259
|
-
onClick: (
|
|
213
|
+
onClick: (x) => a.deleteConfig(r)
|
|
260
214
|
}, null, 8, ["onClick"])
|
|
261
215
|
]),
|
|
262
216
|
_: 1
|
|
263
217
|
}, 8, ["modelValue", "search", "headers", "items"]),
|
|
264
|
-
|
|
218
|
+
l(v, { dense: "" }, {
|
|
265
219
|
default: n(() => [
|
|
266
|
-
|
|
220
|
+
U(f("span", {
|
|
267
221
|
class: "ma-2 text-red",
|
|
268
|
-
textContent:
|
|
269
|
-
}, null, 8,
|
|
270
|
-
[
|
|
222
|
+
textContent: w(a.error)
|
|
223
|
+
}, null, 8, q), [
|
|
224
|
+
[P, a.error]
|
|
271
225
|
])
|
|
272
226
|
]),
|
|
273
227
|
_: 1
|
|
@@ -276,31 +230,31 @@ function re(t, e, l, o, s, a) {
|
|
|
276
230
|
]),
|
|
277
231
|
_: 1
|
|
278
232
|
}),
|
|
279
|
-
|
|
233
|
+
l(d, { class: "px-2" }, {
|
|
280
234
|
default: n(() => [
|
|
281
|
-
|
|
282
|
-
|
|
235
|
+
l(u),
|
|
236
|
+
l(p, {
|
|
283
237
|
variant: "outlined",
|
|
284
|
-
|
|
285
|
-
|
|
238
|
+
"data-test": "open-config-cancel-btn",
|
|
239
|
+
onClick: a.cancel
|
|
286
240
|
}, {
|
|
287
241
|
default: n(() => e[6] || (e[6] = [
|
|
288
|
-
|
|
242
|
+
g(" Cancel ")
|
|
289
243
|
])),
|
|
290
244
|
_: 1
|
|
291
245
|
}, 8, ["onClick"]),
|
|
292
|
-
|
|
246
|
+
l(p, {
|
|
293
247
|
variant: "flat",
|
|
294
|
-
onClick: U(a.success, ["prevent"]),
|
|
295
248
|
type: "submit",
|
|
296
249
|
"data-test": "open-config-submit-btn",
|
|
297
|
-
disabled: !!a.error
|
|
250
|
+
disabled: !!a.error,
|
|
251
|
+
onClick: D(a.success, ["prevent"])
|
|
298
252
|
}, {
|
|
299
253
|
default: n(() => e[7] || (e[7] = [
|
|
300
|
-
|
|
254
|
+
g(" Ok ")
|
|
301
255
|
])),
|
|
302
256
|
_: 1
|
|
303
|
-
}, 8, ["
|
|
257
|
+
}, 8, ["disabled", "onClick"])
|
|
304
258
|
]),
|
|
305
259
|
_: 1
|
|
306
260
|
})
|
|
@@ -312,7 +266,7 @@ function re(t, e, l, o, s, a) {
|
|
|
312
266
|
_: 1
|
|
313
267
|
}, 8, ["modelValue", "onKeydown"]);
|
|
314
268
|
}
|
|
315
|
-
const
|
|
269
|
+
const ve = /* @__PURE__ */ C(H, [["render", J]]), Z = {
|
|
316
270
|
props: {
|
|
317
271
|
configKey: String,
|
|
318
272
|
modelValue: Boolean
|
|
@@ -356,10 +310,15 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
|
|
|
356
310
|
}
|
|
357
311
|
}
|
|
358
312
|
},
|
|
313
|
+
watch: {
|
|
314
|
+
selectedItem: function(t) {
|
|
315
|
+
t && (this.configName = t.config);
|
|
316
|
+
}
|
|
317
|
+
},
|
|
359
318
|
mounted() {
|
|
360
319
|
let t = -1;
|
|
361
|
-
new
|
|
362
|
-
this.configs = e.map((
|
|
320
|
+
new k().list_configs(this.configKey).then((e) => {
|
|
321
|
+
this.configs = e.map((i) => (t += 1, { configId: t, config: i }));
|
|
363
322
|
}).catch((e) => {
|
|
364
323
|
this.$emit("warning", `Failed to connect to OpenC3. ${e}`);
|
|
365
324
|
});
|
|
@@ -379,8 +338,8 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
|
|
|
379
338
|
okText: "Delete",
|
|
380
339
|
cancelText: "Cancel"
|
|
381
340
|
}).then((e) => {
|
|
382
|
-
var
|
|
383
|
-
((
|
|
341
|
+
var i;
|
|
342
|
+
((i = this.selectedItem) == null ? void 0 : i.config) === t.config && (this.selectedRows = [], this.configName = ""), this.configs.splice(this.configs.indexOf(t), 1), new k().delete_config(this.configKey, t.config);
|
|
384
343
|
}).catch((e) => {
|
|
385
344
|
e !== !0 && this.$emit(
|
|
386
345
|
"warning",
|
|
@@ -388,1055 +347,131 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
|
|
|
388
347
|
);
|
|
389
348
|
});
|
|
390
349
|
}
|
|
391
|
-
},
|
|
392
|
-
watch: {
|
|
393
|
-
selectedItem: function(t) {
|
|
394
|
-
t && (this.configName = t.config);
|
|
395
|
-
}
|
|
396
350
|
}
|
|
397
|
-
},
|
|
398
|
-
function
|
|
399
|
-
const u =
|
|
400
|
-
return
|
|
351
|
+
}, Y = { class: "mt-4 pa-3" }, X = ["textContent"];
|
|
352
|
+
function Q(t, e, i, c, s, a) {
|
|
353
|
+
const u = o("v-spacer"), m = o("v-toolbar"), N = o("v-text-field"), v = o("v-row"), p = o("v-btn"), T = o("v-data-table"), y = o("v-card-text"), d = o("v-card-actions"), h = o("v-card"), A = o("v-dialog");
|
|
354
|
+
return _(), b(A, {
|
|
401
355
|
modelValue: a.show,
|
|
402
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}, {
|
|
406
|
-
default: n(() => [
|
|
407
|
-
i(k, null, {
|
|
408
|
-
default: n(() => [
|
|
409
|
-
d("form", {
|
|
410
|
-
onSubmit: e[4] || (e[4] = U((...g) => a.success && a.success(...g), ["prevent"]))
|
|
411
|
-
}, [
|
|
412
|
-
i(m, { height: "24" }, {
|
|
413
|
-
default: n(() => [
|
|
414
|
-
i(u),
|
|
415
|
-
e[6] || (e[6] = d("span", null, "Save Configuration", -1)),
|
|
416
|
-
i(u)
|
|
417
|
-
]),
|
|
418
|
-
_: 1
|
|
419
|
-
}),
|
|
420
|
-
i(x, null, {
|
|
421
|
-
default: n(() => [
|
|
422
|
-
d("div", ce, [
|
|
423
|
-
i(v, { dense: "" }, {
|
|
424
|
-
default: n(() => [
|
|
425
|
-
i(h, {
|
|
426
|
-
label: "search",
|
|
427
|
-
modelValue: s.search,
|
|
428
|
-
"onUpdate:modelValue": e[0] || (e[0] = (g) => s.search = g),
|
|
429
|
-
type: "text",
|
|
430
|
-
"prepend-inner-icon": "mdi-magnify",
|
|
431
|
-
clearable: "",
|
|
432
|
-
variant: "outlined",
|
|
433
|
-
density: "compact",
|
|
434
|
-
"clear-icon": "mdi-close-circle-outline",
|
|
435
|
-
"single-line": "",
|
|
436
|
-
"hide-details": "",
|
|
437
|
-
"data-test": "search"
|
|
438
|
-
}, null, 8, ["modelValue"])
|
|
439
|
-
]),
|
|
440
|
-
_: 1
|
|
441
|
-
}),
|
|
442
|
-
i(f, {
|
|
443
|
-
modelValue: s.selectedRows,
|
|
444
|
-
"onUpdate:modelValue": e[1] || (e[1] = (g) => s.selectedRows = g),
|
|
445
|
-
"show-select": "",
|
|
446
|
-
"select-strategy": "single",
|
|
447
|
-
"item-value": "configId",
|
|
448
|
-
search: s.search,
|
|
449
|
-
headers: s.headers,
|
|
450
|
-
items: s.configs,
|
|
451
|
-
"items-per-page": 5,
|
|
452
|
-
"items-per-page-options": [5],
|
|
453
|
-
"onClick:row": e[2] || (e[2] = (g, c) => a.selectRow(c))
|
|
454
|
-
}, {
|
|
455
|
-
"item.actions": n(({ item: g }) => [
|
|
456
|
-
i(_, {
|
|
457
|
-
class: "mt-1",
|
|
458
|
-
icon: "mdi-delete",
|
|
459
|
-
variant: "text",
|
|
460
|
-
"data-test": "item-delete",
|
|
461
|
-
onClick: (c) => a.deleteConfig(g)
|
|
462
|
-
}, null, 8, ["onClick"])
|
|
463
|
-
]),
|
|
464
|
-
_: 1
|
|
465
|
-
}, 8, ["modelValue", "search", "headers", "items"]),
|
|
466
|
-
i(v, { dense: "" }, {
|
|
467
|
-
default: n(() => [
|
|
468
|
-
i(h, {
|
|
469
|
-
modelValue: s.configName,
|
|
470
|
-
"onUpdate:modelValue": e[3] || (e[3] = (g) => s.configName = g),
|
|
471
|
-
"hide-details": "",
|
|
472
|
-
autofocus: "",
|
|
473
|
-
disabled: !!a.selectedItem,
|
|
474
|
-
label: "Configuration Name",
|
|
475
|
-
"data-test": "name-input-save-config-dialog"
|
|
476
|
-
}, null, 8, ["modelValue", "disabled"])
|
|
477
|
-
]),
|
|
478
|
-
_: 1
|
|
479
|
-
}),
|
|
480
|
-
i(v, { dense: "" }, {
|
|
481
|
-
default: n(() => [
|
|
482
|
-
A(d("span", {
|
|
483
|
-
class: "ma-2 text-red",
|
|
484
|
-
textContent: N(a.error)
|
|
485
|
-
}, null, 8, ue), [
|
|
486
|
-
[R, a.error]
|
|
487
|
-
])
|
|
488
|
-
]),
|
|
489
|
-
_: 1
|
|
490
|
-
})
|
|
491
|
-
])
|
|
492
|
-
]),
|
|
493
|
-
_: 1
|
|
494
|
-
}),
|
|
495
|
-
i(b, { class: "px-2" }, {
|
|
496
|
-
default: n(() => [
|
|
497
|
-
i(u),
|
|
498
|
-
i(_, {
|
|
499
|
-
variant: "outlined",
|
|
500
|
-
onClick: a.cancel
|
|
501
|
-
}, {
|
|
502
|
-
default: n(() => e[7] || (e[7] = [
|
|
503
|
-
y(" Cancel ")
|
|
504
|
-
])),
|
|
505
|
-
_: 1
|
|
506
|
-
}, 8, ["onClick"]),
|
|
507
|
-
i(_, {
|
|
508
|
-
variant: "flat",
|
|
509
|
-
onClick: U(a.success, ["prevent"]),
|
|
510
|
-
type: "submit",
|
|
511
|
-
"data-test": "save-config-submit-btn",
|
|
512
|
-
disabled: !!a.error
|
|
513
|
-
}, {
|
|
514
|
-
default: n(() => e[8] || (e[8] = [
|
|
515
|
-
y(" Ok ")
|
|
516
|
-
])),
|
|
517
|
-
_: 1
|
|
518
|
-
}, 8, ["onClick", "disabled"])
|
|
519
|
-
]),
|
|
520
|
-
_: 1
|
|
521
|
-
})
|
|
522
|
-
], 32)
|
|
523
|
-
]),
|
|
524
|
-
_: 1
|
|
525
|
-
})
|
|
526
|
-
]),
|
|
527
|
-
_: 1
|
|
528
|
-
}, 8, ["modelValue", "onKeydown"]);
|
|
529
|
-
}
|
|
530
|
-
const je = /* @__PURE__ */ O(de, [["render", me]]), he = {
|
|
531
|
-
props: {
|
|
532
|
-
modelValue: Boolean,
|
|
533
|
-
target: {
|
|
534
|
-
type: String,
|
|
535
|
-
default: ""
|
|
536
|
-
},
|
|
537
|
-
screen: {
|
|
538
|
-
type: String,
|
|
539
|
-
default: ""
|
|
540
|
-
},
|
|
541
|
-
definition: {
|
|
542
|
-
type: String,
|
|
543
|
-
default: ""
|
|
544
|
-
},
|
|
545
|
-
keywords: {
|
|
546
|
-
type: Array,
|
|
547
|
-
default: () => []
|
|
548
|
-
},
|
|
549
|
-
errors: {
|
|
550
|
-
type: Array,
|
|
551
|
-
default: () => []
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
data() {
|
|
555
|
-
return {
|
|
556
|
-
file: null,
|
|
557
|
-
docsKeyword: "",
|
|
558
|
-
contextMenu: !1,
|
|
559
|
-
menuX: 0,
|
|
560
|
-
menuY: 0
|
|
561
|
-
};
|
|
562
|
-
},
|
|
563
|
-
computed: {
|
|
564
|
-
editErrors: function() {
|
|
565
|
-
if (this.definition === "" && !this.file)
|
|
566
|
-
return ["Input can not be blank."];
|
|
567
|
-
if (this.errors.length !== 0) {
|
|
568
|
-
let t = /* @__PURE__ */ new Set(), e = [];
|
|
569
|
-
const l = this.errors.toSorted(
|
|
570
|
-
(o, s) => o.lineNumber - s.lineNumber
|
|
571
|
-
);
|
|
572
|
-
for (const o of l) {
|
|
573
|
-
let s = `At ${o.lineNumber}: (${o.line}) ${o.message}.`;
|
|
574
|
-
o.usage && (s += ` Usage: ${o.usage}`), e.push(s), t.add(o.message);
|
|
575
|
-
}
|
|
576
|
-
return e;
|
|
577
|
-
}
|
|
578
|
-
return [];
|
|
579
|
-
},
|
|
580
|
-
show: {
|
|
581
|
-
get() {
|
|
582
|
-
return this.modelValue;
|
|
583
|
-
},
|
|
584
|
-
set(t) {
|
|
585
|
-
this.$emit("update:modelValue", t);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
mounted: function() {
|
|
590
|
-
this.editor = F.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
591
|
-
const t = this.buildScreenMode();
|
|
592
|
-
this.editor.session.setMode(new t()), 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 le()], this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.definition), this.editor.clearSelection(), this.editor.focus();
|
|
593
|
-
},
|
|
594
|
-
beforeUnmount() {
|
|
595
|
-
this.editor.destroy(), this.editor.container.remove();
|
|
596
|
-
},
|
|
597
|
-
methods: {
|
|
598
|
-
showContextMenu: function(t) {
|
|
599
|
-
this.menuX = t.pageX, this.menuY = t.pageY;
|
|
600
|
-
let e = this.editor.getCursorPosition(), l = this.editor.session.getTokenAt(e.row, e.column);
|
|
601
|
-
if (l) {
|
|
602
|
-
let o = l.value.trim();
|
|
603
|
-
o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
|
-
openDocumentation() {
|
|
607
|
-
window.open(
|
|
608
|
-
`${window.location.origin}/tools/staticdocs/docs/configuration/telemetry-screens#${this.docsKeyword.toLowerCase()}`,
|
|
609
|
-
"_blank"
|
|
610
|
-
);
|
|
611
|
-
},
|
|
612
|
-
buildScreenMode() {
|
|
613
|
-
let t = F.require("ace/lib/oop"), e = F.require(
|
|
614
|
-
"ace/mode/text_highlight_rules"
|
|
615
|
-
).TextHighlightRules, l = this.keywords.join("|"), o = function() {
|
|
616
|
-
this.$rules = {
|
|
617
|
-
start: [
|
|
618
|
-
{
|
|
619
|
-
token: "comment",
|
|
620
|
-
regex: "#.*$"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
token: "string",
|
|
624
|
-
regex: '".*?"'
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
token: "string",
|
|
628
|
-
regex: "'.*?'"
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
token: "constant.numeric",
|
|
632
|
-
regex: "\\b\\d+(?:\\.\\d+)?\\b"
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
token: "keyword",
|
|
636
|
-
regex: new RegExp(`^\\s*(${l})\\b`)
|
|
637
|
-
}
|
|
638
|
-
]
|
|
639
|
-
}, this.normalizeRules();
|
|
640
|
-
};
|
|
641
|
-
t.inherits(o, e);
|
|
642
|
-
let s = function() {
|
|
643
|
-
this.HighlightRules = o;
|
|
644
|
-
}, a = F.require("ace/mode/text").Mode;
|
|
645
|
-
return t.inherits(s, a), (function() {
|
|
646
|
-
this.$id = "ace/mode/openc3";
|
|
647
|
-
}).call(s.prototype), s;
|
|
648
|
-
},
|
|
649
|
-
downloadScreen: function() {
|
|
650
|
-
const t = new Blob([this.editor.getValue()], {
|
|
651
|
-
type: "text/plain"
|
|
652
|
-
}), e = document.createElement("a");
|
|
653
|
-
e.href = URL.createObjectURL(t), e.setAttribute("download", `${this.screen.toLowerCase()}.txt`), e.click();
|
|
654
|
-
},
|
|
655
|
-
loadFile: function() {
|
|
656
|
-
const t = new FileReader();
|
|
657
|
-
t.readAsText(this.file);
|
|
658
|
-
const e = this;
|
|
659
|
-
t.onload = function() {
|
|
660
|
-
e.editor.setValue(t.result), e.file = null;
|
|
661
|
-
};
|
|
662
|
-
},
|
|
663
|
-
deleteScreen: function() {
|
|
664
|
-
this.$dialog.confirm("Are you sure you want to delete this screen?!", {
|
|
665
|
-
okText: "Delete",
|
|
666
|
-
cancelText: "Cancel"
|
|
667
|
-
}).then((t) => {
|
|
668
|
-
this.$emit("delete");
|
|
669
|
-
});
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
}, fe = { class: "mx-2" }, pe = { class: "mx-2" }, ge = ["textContent"];
|
|
673
|
-
function ve(t, e, l, o, s, a) {
|
|
674
|
-
const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-row"), f = r("v-btn"), x = r("v-file-input"), b = r("v-list-item-title"), k = r("v-list-item"), p = r("v-list"), g = r("v-menu"), c = r("v-card-text"), C = r("v-card"), M = r("v-dialog");
|
|
675
|
-
return w(), T(M, {
|
|
676
|
-
persistent: "",
|
|
677
|
-
modelValue: a.show,
|
|
678
|
-
"onUpdate:modelValue": e[5] || (e[5] = (I) => a.show = I),
|
|
679
|
-
width: "75vw"
|
|
680
|
-
}, {
|
|
681
|
-
default: n(() => [
|
|
682
|
-
i(C, null, {
|
|
683
|
-
default: n(() => [
|
|
684
|
-
i(v, { height: "24" }, {
|
|
685
|
-
default: n(() => [
|
|
686
|
-
d("div", fe, [
|
|
687
|
-
i(m, { location: "top" }, {
|
|
688
|
-
activator: n(({ props: I }) => [
|
|
689
|
-
d("div", S(D(I)), [
|
|
690
|
-
i(u, {
|
|
691
|
-
"data-test": "delete-screen-icon",
|
|
692
|
-
onClick: a.deleteScreen
|
|
693
|
-
}, {
|
|
694
|
-
default: n(() => e[6] || (e[6] = [
|
|
695
|
-
y(" mdi-delete ")
|
|
696
|
-
])),
|
|
697
|
-
_: 1
|
|
698
|
-
}, 8, ["onClick"])
|
|
699
|
-
], 16)
|
|
700
|
-
]),
|
|
701
|
-
default: n(() => [
|
|
702
|
-
e[7] || (e[7] = d("span", null, " Delete Screen ", -1))
|
|
703
|
-
]),
|
|
704
|
-
_: 1
|
|
705
|
-
})
|
|
706
|
-
]),
|
|
707
|
-
i(h),
|
|
708
|
-
d("span", null, " Edit Screen: " + N(l.target) + " " + N(l.screen), 1),
|
|
709
|
-
i(h),
|
|
710
|
-
d("div", pe, [
|
|
711
|
-
i(m, { location: "top" }, {
|
|
712
|
-
activator: n(({ props: I }) => [
|
|
713
|
-
d("div", S(D(I)), [
|
|
714
|
-
i(u, {
|
|
715
|
-
"data-test": "download-screen-icon",
|
|
716
|
-
onClick: a.downloadScreen
|
|
717
|
-
}, {
|
|
718
|
-
default: n(() => e[8] || (e[8] = [
|
|
719
|
-
y(" mdi-download ")
|
|
720
|
-
])),
|
|
721
|
-
_: 1
|
|
722
|
-
}, 8, ["onClick"])
|
|
723
|
-
], 16)
|
|
724
|
-
]),
|
|
725
|
-
default: n(() => [
|
|
726
|
-
e[9] || (e[9] = d("span", null, " Download Screen ", -1))
|
|
727
|
-
]),
|
|
728
|
-
_: 1
|
|
729
|
-
})
|
|
730
|
-
])
|
|
731
|
-
]),
|
|
732
|
-
_: 1
|
|
733
|
-
}),
|
|
734
|
-
i(c, { style: { "max-height": "90vh" } }, {
|
|
735
|
-
default: n(() => [
|
|
736
|
-
i(_, { class: "mt-3" }, {
|
|
737
|
-
default: n(() => e[10] || (e[10] = [
|
|
738
|
-
y(" Upload a screen file. ")
|
|
739
|
-
])),
|
|
740
|
-
_: 1
|
|
741
|
-
}),
|
|
742
|
-
i(_, {
|
|
743
|
-
"no-gutters": "",
|
|
744
|
-
align: "center"
|
|
745
|
-
}, {
|
|
746
|
-
default: n(() => [
|
|
747
|
-
i(f, {
|
|
748
|
-
onClick: a.loadFile,
|
|
749
|
-
disabled: !s.file,
|
|
750
|
-
color: "primary",
|
|
751
|
-
class: "mr-3",
|
|
752
|
-
"data-test": "edit-screen-load"
|
|
753
|
-
}, {
|
|
754
|
-
default: n(() => e[11] || (e[11] = [
|
|
755
|
-
y(" Load ")
|
|
756
|
-
])),
|
|
757
|
-
_: 1
|
|
758
|
-
}, 8, ["onClick", "disabled"]),
|
|
759
|
-
i(x, {
|
|
760
|
-
modelValue: s.file,
|
|
761
|
-
"onUpdate:modelValue": e[0] || (e[0] = (I) => s.file = I),
|
|
762
|
-
"truncate-length": "15",
|
|
763
|
-
accept: ".txt",
|
|
764
|
-
label: "Click to select .txt screen file."
|
|
765
|
-
}, null, 8, ["modelValue"])
|
|
766
|
-
]),
|
|
767
|
-
_: 1
|
|
768
|
-
}),
|
|
769
|
-
i(_, { class: "mb-2" }, {
|
|
770
|
-
default: n(() => e[12] || (e[12] = [
|
|
771
|
-
y(" Edit the screen definition. ")
|
|
772
|
-
])),
|
|
773
|
-
_: 1
|
|
774
|
-
}),
|
|
775
|
-
i(_, { class: "mb-2" }, {
|
|
776
|
-
default: n(() => [
|
|
777
|
-
d("pre", {
|
|
778
|
-
ref: "editor",
|
|
779
|
-
class: "editor",
|
|
780
|
-
onContextmenu: e[1] || (e[1] = U((...I) => a.showContextMenu && a.showContextMenu(...I), ["prevent"]))
|
|
781
|
-
}, null, 544),
|
|
782
|
-
i(g, {
|
|
783
|
-
modelValue: s.contextMenu,
|
|
784
|
-
"onUpdate:modelValue": e[2] || (e[2] = (I) => s.contextMenu = I),
|
|
785
|
-
target: [s.menuX, s.menuY]
|
|
786
|
-
}, {
|
|
787
|
-
default: n(() => [
|
|
788
|
-
i(p, null, {
|
|
789
|
-
default: n(() => [
|
|
790
|
-
i(k, { link: "" }, {
|
|
791
|
-
default: n(() => [
|
|
792
|
-
i(b, { onClick: a.openDocumentation }, {
|
|
793
|
-
default: n(() => [
|
|
794
|
-
y(N(s.docsKeyword) + " documentation ", 1)
|
|
795
|
-
]),
|
|
796
|
-
_: 1
|
|
797
|
-
}, 8, ["onClick"])
|
|
798
|
-
]),
|
|
799
|
-
_: 1
|
|
800
|
-
})
|
|
801
|
-
]),
|
|
802
|
-
_: 1
|
|
803
|
-
})
|
|
804
|
-
]),
|
|
805
|
-
_: 1
|
|
806
|
-
}, 8, ["modelValue", "target"])
|
|
807
|
-
]),
|
|
808
|
-
_: 1
|
|
809
|
-
}),
|
|
810
|
-
i(_, { style: { "max-height": "120px", "overflow-y": "auto" } }, {
|
|
811
|
-
default: n(() => [
|
|
812
|
-
(w(!0), P(H, null, Q(a.editErrors, (I, X) => (w(), P("div", { key: X }, [
|
|
813
|
-
d("span", {
|
|
814
|
-
class: "text-red",
|
|
815
|
-
textContent: N(I)
|
|
816
|
-
}, null, 8, ge)
|
|
817
|
-
]))), 128))
|
|
818
|
-
]),
|
|
819
|
-
_: 1
|
|
820
|
-
}),
|
|
821
|
-
i(_, { class: "mt-5" }, {
|
|
822
|
-
default: n(() => [
|
|
823
|
-
e[15] || (e[15] = d("span", null, "Ctrl-space brings up autocomplete. Right click keywords for documentation.", -1)),
|
|
824
|
-
i(h),
|
|
825
|
-
i(f, {
|
|
826
|
-
onClick: e[3] || (e[3] = (I) => t.$emit("cancel")),
|
|
827
|
-
class: "mx-2",
|
|
828
|
-
variant: "outlined",
|
|
829
|
-
"data-test": "edit-screen-cancel"
|
|
830
|
-
}, {
|
|
831
|
-
default: n(() => e[13] || (e[13] = [
|
|
832
|
-
y(" Cancel ")
|
|
833
|
-
])),
|
|
834
|
-
_: 1
|
|
835
|
-
}),
|
|
836
|
-
i(f, {
|
|
837
|
-
onClick: e[4] || (e[4] = (I) => t.$emit("save", t.editor.getValue())),
|
|
838
|
-
class: "mx-2",
|
|
839
|
-
color: "primary",
|
|
840
|
-
"data-test": "edit-screen-save"
|
|
841
|
-
}, {
|
|
842
|
-
default: n(() => e[14] || (e[14] = [
|
|
843
|
-
y(" Save ")
|
|
844
|
-
])),
|
|
845
|
-
_: 1
|
|
846
|
-
})
|
|
847
|
-
]),
|
|
848
|
-
_: 1
|
|
849
|
-
})
|
|
850
|
-
]),
|
|
851
|
-
_: 1
|
|
852
|
-
})
|
|
853
|
-
]),
|
|
854
|
-
_: 1
|
|
855
|
-
})
|
|
856
|
-
]),
|
|
857
|
-
_: 1
|
|
858
|
-
}, 8, ["modelValue"]);
|
|
859
|
-
}
|
|
860
|
-
const _e = /* @__PURE__ */ O(he, [["render", ve], ["__scopeId", "data-v-9c6e250e"]]), ye = {
|
|
861
|
-
props: {
|
|
862
|
-
modelValue: Boolean
|
|
863
|
-
},
|
|
864
|
-
data() {
|
|
865
|
-
return {
|
|
866
|
-
alert: "",
|
|
867
|
-
alertType: "success",
|
|
868
|
-
showAlert: !1,
|
|
869
|
-
search: "",
|
|
870
|
-
key: "",
|
|
871
|
-
keyValue: "",
|
|
872
|
-
environment: [],
|
|
873
|
-
headers: [
|
|
874
|
-
{
|
|
875
|
-
text: "Key",
|
|
876
|
-
value: "key"
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
text: "Value",
|
|
880
|
-
value: "value"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
text: "Actions",
|
|
884
|
-
value: "actions",
|
|
885
|
-
align: "end",
|
|
886
|
-
sortable: !1
|
|
887
|
-
}
|
|
888
|
-
]
|
|
889
|
-
};
|
|
890
|
-
},
|
|
891
|
-
computed: {
|
|
892
|
-
show: {
|
|
893
|
-
get() {
|
|
894
|
-
return this.modelValue;
|
|
895
|
-
},
|
|
896
|
-
set(t) {
|
|
897
|
-
this.$emit("update:modelValue", t);
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
mounted() {
|
|
902
|
-
this.update();
|
|
903
|
-
},
|
|
904
|
-
methods: {
|
|
905
|
-
alertHandler: function(t) {
|
|
906
|
-
this.alert = t.text, this.alertType = t.type, this.showAlert = !0;
|
|
907
|
-
},
|
|
908
|
-
update: function() {
|
|
909
|
-
E.get("/openc3-api/environment").then((t) => {
|
|
910
|
-
this.environment = t.data;
|
|
911
|
-
}).catch((t) => {
|
|
912
|
-
});
|
|
913
|
-
},
|
|
914
|
-
addEnvironment: function() {
|
|
915
|
-
E.post("/openc3-api/environment", {
|
|
916
|
-
data: {
|
|
917
|
-
key: this.key.toUpperCase(),
|
|
918
|
-
value: this.keyValue
|
|
919
|
-
}
|
|
920
|
-
}).then((t) => {
|
|
921
|
-
`${t.data.name}`, this.update();
|
|
922
|
-
}).catch((t) => {
|
|
923
|
-
const e = {
|
|
924
|
-
text: `Failed to add environment variable: ${t}`,
|
|
925
|
-
type: "error"
|
|
926
|
-
};
|
|
927
|
-
this.alertHandler(e);
|
|
928
|
-
}), this.key = "", this.keyValue = "";
|
|
929
|
-
},
|
|
930
|
-
deleteEnvironment: function(t) {
|
|
931
|
-
this.$dialog.confirm(`Are you sure you want to delete: ${t.key}=${t.value}`, {
|
|
932
|
-
okText: "Delete",
|
|
933
|
-
cancelText: "Cancel"
|
|
934
|
-
}).then((e) => E.delete(`/openc3-api/environment/${t.name}`)).then((e) => {
|
|
935
|
-
const l = {
|
|
936
|
-
text: `Removed environment variable: ${t.name}`,
|
|
937
|
-
type: "success"
|
|
938
|
-
};
|
|
939
|
-
this.alertHandler(l), this.update();
|
|
940
|
-
}).catch((e) => {
|
|
941
|
-
const l = {
|
|
942
|
-
text: `Failed to delete environment: ${e}`,
|
|
943
|
-
type: "error"
|
|
944
|
-
};
|
|
945
|
-
this.alertHandler(l);
|
|
946
|
-
});
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}, be = { class: "pa-3" };
|
|
950
|
-
function we(t, e, l, o, s, a) {
|
|
951
|
-
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-icon"), f = r("v-btn"), x = r("v-data-table"), b = r("v-col"), k = r("v-card-text"), p = r("v-card"), g = r("v-dialog");
|
|
952
|
-
return w(), T(g, {
|
|
953
|
-
modelValue: a.show,
|
|
954
|
-
"onUpdate:modelValue": e[4] || (e[4] = (c) => a.show = c),
|
|
955
|
-
width: "600"
|
|
356
|
+
"onUpdate:modelValue": e[5] || (e[5] = (r) => a.show = r),
|
|
357
|
+
width: "600",
|
|
358
|
+
onKeydown: E(a.cancel, ["esc"])
|
|
956
359
|
}, {
|
|
957
360
|
default: n(() => [
|
|
958
|
-
|
|
361
|
+
l(h, null, {
|
|
959
362
|
default: n(() => [
|
|
960
|
-
|
|
961
|
-
onSubmit: e[
|
|
363
|
+
f("form", {
|
|
364
|
+
onSubmit: e[4] || (e[4] = D((...r) => a.success && a.success(...r), ["prevent"]))
|
|
962
365
|
}, [
|
|
963
|
-
|
|
366
|
+
l(m, { height: "24" }, {
|
|
964
367
|
default: n(() => [
|
|
965
|
-
|
|
966
|
-
e[
|
|
967
|
-
|
|
368
|
+
l(u),
|
|
369
|
+
e[6] || (e[6] = f("span", null, "Save Configuration", -1)),
|
|
370
|
+
l(u)
|
|
968
371
|
]),
|
|
969
372
|
_: 1
|
|
970
373
|
}),
|
|
971
|
-
|
|
374
|
+
l(y, null, {
|
|
972
375
|
default: n(() => [
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
dense: "",
|
|
976
|
-
class: "mb-2"
|
|
977
|
-
}, {
|
|
376
|
+
f("div", Y, [
|
|
377
|
+
l(v, { dense: "" }, {
|
|
978
378
|
default: n(() => [
|
|
979
|
-
|
|
379
|
+
l(N, {
|
|
980
380
|
modelValue: s.search,
|
|
981
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
381
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => s.search = r),
|
|
982
382
|
label: "search",
|
|
983
383
|
type: "text",
|
|
984
|
-
"data-test": "search",
|
|
985
384
|
"prepend-inner-icon": "mdi-magnify",
|
|
986
385
|
clearable: "",
|
|
987
386
|
variant: "outlined",
|
|
988
387
|
density: "compact",
|
|
989
388
|
"clear-icon": "mdi-close-circle-outline",
|
|
990
|
-
autofocus: "",
|
|
991
389
|
"single-line": "",
|
|
992
|
-
"hide-details": ""
|
|
993
|
-
|
|
994
|
-
]),
|
|
995
|
-
_: 1
|
|
996
|
-
}),
|
|
997
|
-
i(x, {
|
|
998
|
-
"item-key": "name",
|
|
999
|
-
"hide-default-header": "",
|
|
1000
|
-
"data-test": "env-table",
|
|
1001
|
-
search: s.search,
|
|
1002
|
-
headers: s.headers,
|
|
1003
|
-
items: s.environment,
|
|
1004
|
-
"items-per-page": 5,
|
|
1005
|
-
"items-per-page-options": [5]
|
|
1006
|
-
}, {
|
|
1007
|
-
"item.actions": n(({ item: c }) => [
|
|
1008
|
-
i(f, {
|
|
1009
|
-
onClick: (C) => a.deleteEnvironment(c),
|
|
1010
|
-
icon: "",
|
|
1011
|
-
class: "mt-1",
|
|
1012
|
-
"data-test": "item-delete"
|
|
1013
|
-
}, {
|
|
1014
|
-
default: n(() => [
|
|
1015
|
-
i(_, null, {
|
|
1016
|
-
default: n(() => e[6] || (e[6] = [
|
|
1017
|
-
y("mdi-delete")
|
|
1018
|
-
])),
|
|
1019
|
-
_: 1
|
|
1020
|
-
})
|
|
1021
|
-
]),
|
|
1022
|
-
_: 2
|
|
1023
|
-
}, 1032, ["onClick"])
|
|
1024
|
-
]),
|
|
1025
|
-
_: 1
|
|
1026
|
-
}, 8, ["search", "headers", "items"]),
|
|
1027
|
-
i(v, { dense: "" }, {
|
|
1028
|
-
default: n(() => [
|
|
1029
|
-
i(b, null, {
|
|
1030
|
-
default: n(() => [
|
|
1031
|
-
i(h, {
|
|
1032
|
-
modelValue: s.key,
|
|
1033
|
-
"onUpdate:modelValue": e[1] || (e[1] = (c) => s.key = c),
|
|
1034
|
-
label: "Key",
|
|
1035
|
-
"data-test": "env-key"
|
|
1036
|
-
}, null, 8, ["modelValue"])
|
|
1037
|
-
]),
|
|
1038
|
-
_: 1
|
|
1039
|
-
}),
|
|
1040
|
-
i(b, null, {
|
|
1041
|
-
default: n(() => [
|
|
1042
|
-
i(h, {
|
|
1043
|
-
modelValue: s.keyValue,
|
|
1044
|
-
"onUpdate:modelValue": e[2] || (e[2] = (c) => s.keyValue = c),
|
|
1045
|
-
label: "Value",
|
|
1046
|
-
"data-test": "env-value"
|
|
1047
|
-
}, null, 8, ["modelValue"])
|
|
1048
|
-
]),
|
|
1049
|
-
_: 1
|
|
1050
|
-
})
|
|
1051
|
-
]),
|
|
1052
|
-
_: 1
|
|
1053
|
-
}),
|
|
1054
|
-
i(v, { dense: "" }, {
|
|
1055
|
-
default: n(() => [
|
|
1056
|
-
i(f, {
|
|
1057
|
-
onClick: U(a.addEnvironment, ["prevent"]),
|
|
1058
|
-
block: "",
|
|
1059
|
-
type: "submit",
|
|
1060
|
-
color: "primary",
|
|
1061
|
-
"data-test": "add-env",
|
|
1062
|
-
disabled: !s.key || !s.keyValue
|
|
1063
|
-
}, {
|
|
1064
|
-
default: n(() => e[7] || (e[7] = [
|
|
1065
|
-
y(" Add ")
|
|
1066
|
-
])),
|
|
1067
|
-
_: 1
|
|
1068
|
-
}, 8, ["onClick", "disabled"])
|
|
1069
|
-
]),
|
|
1070
|
-
_: 1
|
|
1071
|
-
})
|
|
1072
|
-
])
|
|
1073
|
-
]),
|
|
1074
|
-
_: 1
|
|
1075
|
-
})
|
|
1076
|
-
], 32)
|
|
1077
|
-
]),
|
|
1078
|
-
_: 1
|
|
1079
|
-
})
|
|
1080
|
-
]),
|
|
1081
|
-
_: 1
|
|
1082
|
-
}, 8, ["modelValue"]);
|
|
1083
|
-
}
|
|
1084
|
-
const qe = /* @__PURE__ */ O(ye, [["render", we]]), Ne = {
|
|
1085
|
-
props: {
|
|
1086
|
-
type: {
|
|
1087
|
-
type: String,
|
|
1088
|
-
required: !0,
|
|
1089
|
-
validator: function(t) {
|
|
1090
|
-
return ["open", "save"].indexOf(t) !== -1;
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
apiUrl: String,
|
|
1094
|
-
// Base API URL for use with scripts or cmd-tlm
|
|
1095
|
-
requireTargetParentDir: Boolean,
|
|
1096
|
-
// Require that the save filename be nested in a directory with the name of a target
|
|
1097
|
-
inputFilename: String,
|
|
1098
|
-
// passed if this is a 'save' dialog
|
|
1099
|
-
modelValue: Boolean
|
|
1100
|
-
},
|
|
1101
|
-
data() {
|
|
1102
|
-
return {
|
|
1103
|
-
tree: [],
|
|
1104
|
-
items: [],
|
|
1105
|
-
id: 1,
|
|
1106
|
-
search: null,
|
|
1107
|
-
selectedFile: null,
|
|
1108
|
-
disableButtons: !1,
|
|
1109
|
-
targets: [],
|
|
1110
|
-
loading: !0
|
|
1111
|
-
};
|
|
1112
|
-
},
|
|
1113
|
-
computed: {
|
|
1114
|
-
show: {
|
|
1115
|
-
get() {
|
|
1116
|
-
return this.modelValue;
|
|
1117
|
-
},
|
|
1118
|
-
set(t) {
|
|
1119
|
-
this.$emit("update:modelValue", t);
|
|
1120
|
-
}
|
|
1121
|
-
},
|
|
1122
|
-
title: function() {
|
|
1123
|
-
return this.type === "open" ? "File Open" : "File Save As...";
|
|
1124
|
-
},
|
|
1125
|
-
submit: function() {
|
|
1126
|
-
return this.type === "open" ? "OPEN" : "SAVE";
|
|
1127
|
-
},
|
|
1128
|
-
helpText: function() {
|
|
1129
|
-
return this.type === "open" ? "Click on folders to open them and then click a file to select it before clicking Open. Use the search box to filter the results." : "Click on the folder to save into. Then complete the filename path with the desired name. Use the search box to filter the results.";
|
|
1130
|
-
},
|
|
1131
|
-
error: function() {
|
|
1132
|
-
if (this.selectedFile === "" || this.selectedFile === null)
|
|
1133
|
-
return "No file selected must select a file";
|
|
1134
|
-
if (!this.selectedFile.match(this.validFilenameRegex) || this.selectedFile.match(/\.\.|\/\/|\.\/|\/\./)) {
|
|
1135
|
-
let t = `${this.selectedFile} is not a valid filename. Must `;
|
|
1136
|
-
return this.requireTargetParentDir && (t += "be in a target directory and "), t += `only contain alphanumeric characters (including !-_.*) and a valid extension.
|
|
1137
|
-
|
|
1138
|
-
For example: TGT1/procedures/test.py or TGT2/lib/inst.rb`, t;
|
|
1139
|
-
}
|
|
1140
|
-
return this.type === "save" && this.selectedFile.match(/\*$/) ? `${this.selectedFile} is not a valid filename. Must not end in '*'.` : null;
|
|
1141
|
-
},
|
|
1142
|
-
validFilenameRegex: function() {
|
|
1143
|
-
const t = "0-9a-zA-Z";
|
|
1144
|
-
let l = `[${`${t}\\/\\!\\-\\_\\.\\*\\'\\(\\)`}]+\\.[${t}]+`;
|
|
1145
|
-
return this.requireTargetParentDir && (l = `\\/?${`(${this.targets.join("|")})`}\\/${l}`), new RegExp(l);
|
|
1146
|
-
}
|
|
1147
|
-
},
|
|
1148
|
-
created() {
|
|
1149
|
-
this.loadFiles(), this.requireTargetParentDir && E.get("/openc3-api/targets").then((t) => {
|
|
1150
|
-
this.targets = t.data, this.targets.push("__TEMP__");
|
|
1151
|
-
});
|
|
1152
|
-
},
|
|
1153
|
-
methods: {
|
|
1154
|
-
calcIcon: function(t) {
|
|
1155
|
-
return ee(t);
|
|
1156
|
-
},
|
|
1157
|
-
loadFiles: function() {
|
|
1158
|
-
E.get(this.apiUrl).then((t) => {
|
|
1159
|
-
this.items = [], this.id = 1;
|
|
1160
|
-
for (let e of t.data)
|
|
1161
|
-
this.filepath = e, this.insertFile(this.items, 1, e), this.id++;
|
|
1162
|
-
this.inputFilename && (this.selectedFile = this.inputFilename), this.loading = !1;
|
|
1163
|
-
}).catch((t) => {
|
|
1164
|
-
this.$emit("error", `Failed to connect to OpenC3. ${t}`);
|
|
1165
|
-
});
|
|
1166
|
-
},
|
|
1167
|
-
clear: function() {
|
|
1168
|
-
this.show = !1, this.overwrite = !1, this.disableButtons = !1;
|
|
1169
|
-
},
|
|
1170
|
-
activeFile: function(t) {
|
|
1171
|
-
t.length === 0 ? this.selectedFile = null : (this.selectedFile = this.findItem(this.items, t[0]), setTimeout(() => {
|
|
1172
|
-
this.$refs.submitBtn.$el.focus();
|
|
1173
|
-
}, 100));
|
|
1174
|
-
},
|
|
1175
|
-
findItem: function(t, e) {
|
|
1176
|
-
for (let l of t) {
|
|
1177
|
-
if (l.id === e)
|
|
1178
|
-
return l.path;
|
|
1179
|
-
if (l.children) {
|
|
1180
|
-
const o = this.findItem(l.children, e);
|
|
1181
|
-
if (o)
|
|
1182
|
-
return o;
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
return null;
|
|
1186
|
-
},
|
|
1187
|
-
exists: function(t, e) {
|
|
1188
|
-
let l = !1;
|
|
1189
|
-
for (let o of t) {
|
|
1190
|
-
if (o.path === e || o.path.length > 1 && o.path[o.path.length - 1] === "*" && o.path.slice(0, o.path.length - 1) === e)
|
|
1191
|
-
return !0;
|
|
1192
|
-
o.children && (l = l || this.exists(o.children, e));
|
|
1193
|
-
}
|
|
1194
|
-
return l;
|
|
1195
|
-
},
|
|
1196
|
-
success: function() {
|
|
1197
|
-
this.selectedFile !== null && this.error === null && (this.type === "open" ? this.openSuccess() : this.saveSuccess());
|
|
1198
|
-
},
|
|
1199
|
-
deleteTemp: function() {
|
|
1200
|
-
this.$dialog.confirm("Are you sure you want to delete all the temporary files?", {
|
|
1201
|
-
okText: "Delete",
|
|
1202
|
-
cancelText: "Cancel"
|
|
1203
|
-
}).then((t) => E.delete("/script-api/scripts/temp_files")).then((t) => {
|
|
1204
|
-
this.$emit("clear-temp"), this.loadFiles();
|
|
1205
|
-
}).catch((t) => {
|
|
1206
|
-
this.$notify.serious({
|
|
1207
|
-
title: "Error",
|
|
1208
|
-
body: `Failed to remove script temporary files due to ${t}`
|
|
1209
|
-
});
|
|
1210
|
-
});
|
|
1211
|
-
},
|
|
1212
|
-
openSuccess: function() {
|
|
1213
|
-
this.disableButtons = !0, E.get(`${this.apiUrl}/${this.selectedFile}`).then((t) => {
|
|
1214
|
-
const e = {
|
|
1215
|
-
name: this.selectedFile,
|
|
1216
|
-
contents: t.data.contents
|
|
1217
|
-
};
|
|
1218
|
-
t.data.suites && (e.suites = JSON.parse(t.data.suites)), t.data.error && (e.error = t.data.error), t.data.success && (e.success = t.data.success);
|
|
1219
|
-
const l = t.data.locked, o = t.data.breakpoints;
|
|
1220
|
-
this.$emit("file", { file: e, locked: l, breakpoints: o }), this.clear();
|
|
1221
|
-
}).catch((t) => {
|
|
1222
|
-
this.$emit("error", `Failed to open ${this.selectedFile}. ${t}`), this.clear();
|
|
1223
|
-
});
|
|
1224
|
-
},
|
|
1225
|
-
saveSuccess: function() {
|
|
1226
|
-
this.exists(this.items, this.selectedFile) ? this.$dialog.confirm(`Are you sure you want to overwrite: ${this.selectedFile}`, {
|
|
1227
|
-
okText: "Overwrite",
|
|
1228
|
-
cancelText: "Cancel"
|
|
1229
|
-
}).then((e) => {
|
|
1230
|
-
this.$emit("filename", this.selectedFile), this.clear();
|
|
1231
|
-
}).catch((e) => {
|
|
1232
|
-
}) : (this.$emit("filename", this.selectedFile), this.clear());
|
|
1233
|
-
},
|
|
1234
|
-
insertFile: function(t, e, l) {
|
|
1235
|
-
let o = l.split("/");
|
|
1236
|
-
if (o.length === 1) {
|
|
1237
|
-
t.push({
|
|
1238
|
-
id: this.id,
|
|
1239
|
-
title: o[0],
|
|
1240
|
-
file: "ruby",
|
|
1241
|
-
path: this.filepath
|
|
1242
|
-
}), this.id++;
|
|
1243
|
-
return;
|
|
1244
|
-
}
|
|
1245
|
-
const s = t.findIndex((a) => a.title === o[0]);
|
|
1246
|
-
s === -1 ? (t.push({
|
|
1247
|
-
id: this.id,
|
|
1248
|
-
title: o[0],
|
|
1249
|
-
children: [],
|
|
1250
|
-
path: this.filepath.split("/").slice(0, e).join("/")
|
|
1251
|
-
}), this.id++, this.insertFile(
|
|
1252
|
-
t[t.length - 1].children,
|
|
1253
|
-
// Start from the node we just added
|
|
1254
|
-
e + 1,
|
|
1255
|
-
o.slice(1).join("/")
|
|
1256
|
-
// Strip the first part of the path
|
|
1257
|
-
)) : this.insertFile(
|
|
1258
|
-
t[s].children,
|
|
1259
|
-
e + 1,
|
|
1260
|
-
o.slice(1).join("/")
|
|
1261
|
-
);
|
|
1262
|
-
}
|
|
1263
|
-
}
|
|
1264
|
-
}, xe = { class: "pa-3" };
|
|
1265
|
-
function ke(t, e, l, o, s, a) {
|
|
1266
|
-
const u = r("v-progress-circular"), m = r("v-overlay"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-row"), f = r("v-text-field"), x = r("v-icon"), b = r("v-btn"), k = r("v-treeview"), p = r("v-card-text"), g = r("v-card"), c = r("v-dialog");
|
|
1267
|
-
return w(), T(c, {
|
|
1268
|
-
modelValue: a.show,
|
|
1269
|
-
"onUpdate:modelValue": e[5] || (e[5] = (C) => a.show = C),
|
|
1270
|
-
width: "600",
|
|
1271
|
-
scrollable: "",
|
|
1272
|
-
onKeydown: e[6] || (e[6] = z((C) => a.success(), ["enter"]))
|
|
1273
|
-
}, {
|
|
1274
|
-
default: n(() => [
|
|
1275
|
-
i(g, null, {
|
|
1276
|
-
default: n(() => [
|
|
1277
|
-
i(m, { "model-value": s.loading }, {
|
|
1278
|
-
default: n(() => [
|
|
1279
|
-
i(u, {
|
|
1280
|
-
indeterminate: "",
|
|
1281
|
-
absolute: "",
|
|
1282
|
-
size: "64"
|
|
1283
|
-
})
|
|
1284
|
-
]),
|
|
1285
|
-
_: 1
|
|
1286
|
-
}, 8, ["model-value"]),
|
|
1287
|
-
d("form", {
|
|
1288
|
-
onSubmit: e[4] || (e[4] = U((...C) => a.success && a.success(...C), ["prevent"]))
|
|
1289
|
-
}, [
|
|
1290
|
-
i(v, { height: "24" }, {
|
|
1291
|
-
default: n(() => [
|
|
1292
|
-
i(h),
|
|
1293
|
-
d("span", null, N(a.title), 1),
|
|
1294
|
-
i(h)
|
|
1295
|
-
]),
|
|
1296
|
-
_: 1
|
|
1297
|
-
}),
|
|
1298
|
-
i(p, null, {
|
|
1299
|
-
default: n(() => [
|
|
1300
|
-
d("div", xe, [
|
|
1301
|
-
i(_, null, {
|
|
1302
|
-
default: n(() => [
|
|
1303
|
-
y(N(a.helpText), 1)
|
|
1304
|
-
]),
|
|
1305
|
-
_: 1
|
|
1306
|
-
}),
|
|
1307
|
-
i(_, {
|
|
1308
|
-
dense: "",
|
|
1309
|
-
class: "mt-5"
|
|
1310
|
-
}, {
|
|
1311
|
-
default: n(() => [
|
|
1312
|
-
i(f, {
|
|
1313
|
-
modelValue: s.search,
|
|
1314
|
-
"onUpdate:modelValue": e[0] || (e[0] = (C) => s.search = C),
|
|
1315
|
-
flat: "",
|
|
1316
|
-
autofocus: "",
|
|
1317
|
-
"hide-details": "",
|
|
1318
|
-
clearable: "",
|
|
1319
|
-
label: "Search",
|
|
1320
|
-
"prepend-inner-icon": "mdi-magnify",
|
|
1321
|
-
density: "compact",
|
|
1322
|
-
"data-test": "file-open-save-search"
|
|
390
|
+
"hide-details": "",
|
|
391
|
+
"data-test": "search"
|
|
1323
392
|
}, null, 8, ["modelValue"])
|
|
1324
393
|
]),
|
|
1325
394
|
_: 1
|
|
1326
395
|
}),
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
396
|
+
l(T, {
|
|
397
|
+
modelValue: s.selectedRows,
|
|
398
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => s.selectedRows = r),
|
|
399
|
+
"show-select": "",
|
|
400
|
+
"select-strategy": "single",
|
|
401
|
+
"item-value": "configId",
|
|
402
|
+
search: s.search,
|
|
403
|
+
headers: s.headers,
|
|
404
|
+
items: s.configs,
|
|
405
|
+
"items-per-page": 5,
|
|
406
|
+
"items-per-page-options": [5],
|
|
407
|
+
"onClick:row": e[2] || (e[2] = (r, x) => a.selectRow(x))
|
|
1330
408
|
}, {
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
style: { width: "100%", "max-height": "60vh", overflow: "auto" },
|
|
1340
|
-
"item-value": "id",
|
|
1341
|
-
items: s.items,
|
|
1342
|
-
search: s.search,
|
|
1343
|
-
"open-on-click": l.type === "open",
|
|
1344
|
-
"open-all": !!s.search
|
|
1345
|
-
}, {
|
|
1346
|
-
prepend: n(({ item: C, open: M }) => [
|
|
1347
|
-
C.file ? (w(), T(x, { key: 1 }, {
|
|
1348
|
-
default: n(() => [
|
|
1349
|
-
y(N(a.calcIcon(C.title)), 1)
|
|
1350
|
-
]),
|
|
1351
|
-
_: 2
|
|
1352
|
-
}, 1024)) : (w(), T(x, { key: 0 }, {
|
|
1353
|
-
default: n(() => [
|
|
1354
|
-
y(N(M ? "mdi-folder-open" : "mdi-folder"), 1)
|
|
1355
|
-
]),
|
|
1356
|
-
_: 2
|
|
1357
|
-
}, 1024))
|
|
1358
|
-
]),
|
|
1359
|
-
append: n(({ item: C }) => [
|
|
1360
|
-
C.title === "__TEMP__" ? (w(), T(b, {
|
|
1361
|
-
key: 0,
|
|
1362
|
-
icon: "",
|
|
1363
|
-
onClick: a.deleteTemp
|
|
1364
|
-
}, {
|
|
1365
|
-
default: n(() => [
|
|
1366
|
-
i(x, null, {
|
|
1367
|
-
default: n(() => e[7] || (e[7] = [
|
|
1368
|
-
y(" mdi-delete ")
|
|
1369
|
-
])),
|
|
1370
|
-
_: 1
|
|
1371
|
-
})
|
|
1372
|
-
]),
|
|
1373
|
-
_: 1
|
|
1374
|
-
}, 8, ["onClick"])) : V("", !0)
|
|
1375
|
-
]),
|
|
1376
|
-
_: 1
|
|
1377
|
-
}, 8, ["modelValue", "onUpdate:activated", "items", "search", "open-on-click", "open-all"])
|
|
409
|
+
"item.actions": n(({ item: r }) => [
|
|
410
|
+
l(p, {
|
|
411
|
+
class: "mt-1",
|
|
412
|
+
icon: "mdi-delete",
|
|
413
|
+
variant: "text",
|
|
414
|
+
"data-test": "item-delete",
|
|
415
|
+
onClick: (x) => a.deleteConfig(r)
|
|
416
|
+
}, null, 8, ["onClick"])
|
|
1378
417
|
]),
|
|
1379
418
|
_: 1
|
|
1380
|
-
}),
|
|
1381
|
-
|
|
419
|
+
}, 8, ["modelValue", "search", "headers", "items"]),
|
|
420
|
+
l(v, { dense: "" }, {
|
|
1382
421
|
default: n(() => [
|
|
1383
|
-
|
|
1384
|
-
modelValue: s.
|
|
1385
|
-
"onUpdate:modelValue": e[
|
|
422
|
+
l(N, {
|
|
423
|
+
modelValue: s.configName,
|
|
424
|
+
"onUpdate:modelValue": e[3] || (e[3] = (r) => s.configName = r),
|
|
1386
425
|
"hide-details": "",
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
426
|
+
autofocus: "",
|
|
427
|
+
disabled: !!a.selectedItem,
|
|
428
|
+
label: "Configuration Name",
|
|
429
|
+
"data-test": "name-input-save-config-dialog"
|
|
1390
430
|
}, null, 8, ["modelValue", "disabled"])
|
|
1391
431
|
]),
|
|
1392
432
|
_: 1
|
|
1393
433
|
}),
|
|
1394
|
-
|
|
434
|
+
l(v, { dense: "" }, {
|
|
1395
435
|
default: n(() => [
|
|
1396
|
-
|
|
1397
|
-
class: "
|
|
1398
|
-
|
|
1399
|
-
},
|
|
1400
|
-
[
|
|
436
|
+
U(f("span", {
|
|
437
|
+
class: "ma-2 text-red",
|
|
438
|
+
textContent: w(a.error)
|
|
439
|
+
}, null, 8, X), [
|
|
440
|
+
[P, a.error]
|
|
1401
441
|
])
|
|
1402
442
|
]),
|
|
1403
443
|
_: 1
|
|
1404
|
-
}),
|
|
1405
|
-
i(_, { class: "mt-2" }, {
|
|
1406
|
-
default: n(() => [
|
|
1407
|
-
i(h),
|
|
1408
|
-
i(b, {
|
|
1409
|
-
onClick: e[3] || (e[3] = (C) => a.show = !1),
|
|
1410
|
-
variant: "outlined",
|
|
1411
|
-
class: "mx-2",
|
|
1412
|
-
"data-test": "file-open-save-cancel-btn",
|
|
1413
|
-
disabled: s.disableButtons
|
|
1414
|
-
}, {
|
|
1415
|
-
default: n(() => e[8] || (e[8] = [
|
|
1416
|
-
y(" Cancel ")
|
|
1417
|
-
])),
|
|
1418
|
-
_: 1
|
|
1419
|
-
}, 8, ["disabled"]),
|
|
1420
|
-
i(b, {
|
|
1421
|
-
onClick: U(a.success, ["prevent"]),
|
|
1422
|
-
ref: "submitBtn",
|
|
1423
|
-
type: "submit",
|
|
1424
|
-
color: "primary",
|
|
1425
|
-
class: "mx-2",
|
|
1426
|
-
"data-test": "file-open-save-submit-btn",
|
|
1427
|
-
disabled: s.disableButtons || !!a.error
|
|
1428
|
-
}, {
|
|
1429
|
-
default: n(() => [
|
|
1430
|
-
y(N(a.submit), 1)
|
|
1431
|
-
]),
|
|
1432
|
-
_: 1
|
|
1433
|
-
}, 8, ["onClick", "disabled"])
|
|
1434
|
-
]),
|
|
1435
|
-
_: 1
|
|
1436
444
|
})
|
|
1437
445
|
])
|
|
1438
446
|
]),
|
|
1439
447
|
_: 1
|
|
448
|
+
}),
|
|
449
|
+
l(d, { class: "px-2" }, {
|
|
450
|
+
default: n(() => [
|
|
451
|
+
l(u),
|
|
452
|
+
l(p, {
|
|
453
|
+
variant: "outlined",
|
|
454
|
+
onClick: a.cancel
|
|
455
|
+
}, {
|
|
456
|
+
default: n(() => e[7] || (e[7] = [
|
|
457
|
+
g(" Cancel ")
|
|
458
|
+
])),
|
|
459
|
+
_: 1
|
|
460
|
+
}, 8, ["onClick"]),
|
|
461
|
+
l(p, {
|
|
462
|
+
variant: "flat",
|
|
463
|
+
type: "submit",
|
|
464
|
+
"data-test": "save-config-submit-btn",
|
|
465
|
+
disabled: !!a.error,
|
|
466
|
+
onClick: D(a.success, ["prevent"])
|
|
467
|
+
}, {
|
|
468
|
+
default: n(() => e[8] || (e[8] = [
|
|
469
|
+
g(" Ok ")
|
|
470
|
+
])),
|
|
471
|
+
_: 1
|
|
472
|
+
}, 8, ["disabled", "onClick"])
|
|
473
|
+
]),
|
|
474
|
+
_: 1
|
|
1440
475
|
})
|
|
1441
476
|
], 32)
|
|
1442
477
|
]),
|
|
@@ -1444,9 +479,10 @@ function ke(t, e, l, o, s, a) {
|
|
|
1444
479
|
})
|
|
1445
480
|
]),
|
|
1446
481
|
_: 1
|
|
1447
|
-
}, 8, ["modelValue"]);
|
|
482
|
+
}, 8, ["modelValue", "onKeydown"]);
|
|
1448
483
|
}
|
|
1449
|
-
const
|
|
484
|
+
const _e = /* @__PURE__ */ C(Z, [["render", Q]]), $ = {
|
|
485
|
+
mixins: [z],
|
|
1450
486
|
props: {
|
|
1451
487
|
historyCount: {
|
|
1452
488
|
type: Number,
|
|
@@ -1457,10 +493,9 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
|
|
|
1457
493
|
default: "local"
|
|
1458
494
|
}
|
|
1459
495
|
},
|
|
1460
|
-
mixins: [te],
|
|
1461
496
|
data() {
|
|
1462
497
|
return {
|
|
1463
|
-
AstroStatusColors:
|
|
498
|
+
AstroStatusColors: L,
|
|
1464
499
|
data: [],
|
|
1465
500
|
shownData: [],
|
|
1466
501
|
logLevels: ["DEBUG", "INFO", "WARN", "ERROR", "FATAL"],
|
|
@@ -1472,15 +507,12 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
|
|
|
1472
507
|
{ title: "Source", value: "microservice_name" },
|
|
1473
508
|
{ title: "Message", value: "message" }
|
|
1474
509
|
],
|
|
1475
|
-
cable: new
|
|
510
|
+
cable: new O(),
|
|
1476
511
|
subscription: null,
|
|
1477
512
|
paused: !1
|
|
1478
513
|
};
|
|
1479
514
|
},
|
|
1480
515
|
computed: {
|
|
1481
|
-
buttonLabel: function() {
|
|
1482
|
-
return this.paused ? "Resume" : "Pause";
|
|
1483
|
-
},
|
|
1484
516
|
buttonIcon: function() {
|
|
1485
517
|
return this.paused ? "mdi-play" : "mdi-pause";
|
|
1486
518
|
}
|
|
@@ -1533,12 +565,12 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
|
|
|
1533
565
|
e["@timestamp"],
|
|
1534
566
|
this.timeZone
|
|
1535
567
|
), e.message.raw && e.message.json_class === "String") {
|
|
1536
|
-
let
|
|
1537
|
-
for (let
|
|
1538
|
-
let s = e.message.raw[
|
|
1539
|
-
s.length < 2 && (s = "0" + s),
|
|
568
|
+
let i = "0x";
|
|
569
|
+
for (let c = 0; c < e.message.raw.length; c++) {
|
|
570
|
+
let s = e.message.raw[c].toString(16).toUpperCase();
|
|
571
|
+
s.length < 2 && (s = "0" + s), i += s;
|
|
1540
572
|
}
|
|
1541
|
-
e.message =
|
|
573
|
+
e.message = i;
|
|
1542
574
|
} else
|
|
1543
575
|
e.message = e.message.replaceAll("\\n", `
|
|
1544
576
|
`);
|
|
@@ -1555,25 +587,25 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
|
|
|
1555
587
|
});
|
|
1556
588
|
},
|
|
1557
589
|
getColor(t) {
|
|
1558
|
-
return
|
|
590
|
+
return L[R[t]];
|
|
1559
591
|
},
|
|
1560
592
|
getStatus(t) {
|
|
1561
|
-
return
|
|
593
|
+
return R[t];
|
|
1562
594
|
},
|
|
1563
595
|
downloadLog() {
|
|
1564
596
|
const t = this.shownData.map(
|
|
1565
|
-
(
|
|
597
|
+
(c) => (
|
|
1566
598
|
// Other fields are available like container_name, msg_id ... probably not useful
|
|
1567
|
-
`${
|
|
599
|
+
`${c.timestamp} | ${c.level} | ${c.microservice_name} | ${c.message}`
|
|
1568
600
|
)
|
|
1569
601
|
).join(`
|
|
1570
602
|
`), e = new Blob([t], {
|
|
1571
603
|
type: "text/plain"
|
|
1572
|
-
}),
|
|
1573
|
-
|
|
604
|
+
}), i = document.createElement("a");
|
|
605
|
+
i.href = URL.createObjectURL(e), i.setAttribute(
|
|
1574
606
|
"download",
|
|
1575
|
-
|
|
1576
|
-
),
|
|
607
|
+
F(Date.now(), "yyyy_MM_dd_HH_mm_ss") + "_message_log.txt"
|
|
608
|
+
), i.click();
|
|
1577
609
|
},
|
|
1578
610
|
clearLog: function() {
|
|
1579
611
|
this.$dialog.confirm("Are you sure you want to clear the log?", {
|
|
@@ -1585,67 +617,47 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
|
|
|
1585
617
|
});
|
|
1586
618
|
}
|
|
1587
619
|
}
|
|
1588
|
-
},
|
|
1589
|
-
function
|
|
1590
|
-
const u =
|
|
1591
|
-
return
|
|
620
|
+
}, ee = { class: "d-flex align-baseline" }, te = ["title", "datetime"], se = { style: { "white-space": "pre-wrap" } };
|
|
621
|
+
function le(t, e, i, c, s, a) {
|
|
622
|
+
const u = o("v-btn"), m = o("v-spacer"), N = o("v-select"), v = o("v-text-field"), p = o("v-card-title"), T = o("rux-status"), y = o("v-data-table"), d = o("v-card");
|
|
623
|
+
return _(), b(d, null, {
|
|
1592
624
|
default: n(() => [
|
|
1593
|
-
|
|
625
|
+
l(p, { class: "d-flex align-center justify-content-space-between" }, {
|
|
1594
626
|
default: n(() => [
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
]),
|
|
1612
|
-
_: 1
|
|
1613
|
-
}),
|
|
1614
|
-
e[3] || (e[3] = d("span", null, " Log Messages ", -1)),
|
|
1615
|
-
i(m, { location: "top" }, {
|
|
1616
|
-
activator: n(({ props: p }) => [
|
|
1617
|
-
d("div", S(D(p)), [
|
|
1618
|
-
i(u, {
|
|
1619
|
-
icon: a.buttonIcon,
|
|
1620
|
-
variant: "text",
|
|
1621
|
-
"data-test": "pause",
|
|
1622
|
-
onClick: a.pause
|
|
1623
|
-
}, null, 8, ["icon", "onClick"])
|
|
1624
|
-
], 16)
|
|
1625
|
-
]),
|
|
1626
|
-
default: n(() => [
|
|
1627
|
-
d("span", null, N(a.buttonLabel), 1)
|
|
1628
|
-
]),
|
|
1629
|
-
_: 1
|
|
1630
|
-
})
|
|
627
|
+
f("div", ee, [
|
|
628
|
+
l(u, {
|
|
629
|
+
icon: "mdi-download",
|
|
630
|
+
variant: "text",
|
|
631
|
+
size: "small",
|
|
632
|
+
class: "mr-2",
|
|
633
|
+
"data-test": "download-log",
|
|
634
|
+
onClick: a.downloadLog
|
|
635
|
+
}, null, 8, ["onClick"]),
|
|
636
|
+
e[2] || (e[2] = f("span", null, " Log Messages ", -1)),
|
|
637
|
+
l(u, {
|
|
638
|
+
icon: a.buttonIcon,
|
|
639
|
+
variant: "text",
|
|
640
|
+
"data-test": "pause",
|
|
641
|
+
onClick: a.pause
|
|
642
|
+
}, null, 8, ["icon", "onClick"])
|
|
1631
643
|
]),
|
|
1632
|
-
|
|
1633
|
-
|
|
644
|
+
l(m),
|
|
645
|
+
l(N, {
|
|
646
|
+
modelValue: s.logLevel,
|
|
647
|
+
"onUpdate:modelValue": e[0] || (e[0] = (h) => s.logLevel = h),
|
|
1634
648
|
label: "Filter by log level",
|
|
1635
649
|
"hide-details": "",
|
|
1636
650
|
variant: "outlined",
|
|
1637
651
|
density: "compact",
|
|
1638
652
|
items: s.logLevels,
|
|
1639
|
-
modelValue: s.logLevel,
|
|
1640
|
-
"onUpdate:modelValue": e[0] || (e[0] = (p) => s.logLevel = p),
|
|
1641
653
|
class: "mr-2",
|
|
1642
654
|
style: { "max-width": "150px" },
|
|
1643
655
|
"data-test": "log-messages-level"
|
|
1644
|
-
}, null, 8, ["
|
|
1645
|
-
|
|
1646
|
-
|
|
656
|
+
}, null, 8, ["modelValue", "items"]),
|
|
657
|
+
l(m),
|
|
658
|
+
l(v, {
|
|
1647
659
|
modelValue: s.search,
|
|
1648
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
660
|
+
"onUpdate:modelValue": e[1] || (e[1] = (h) => s.search = h),
|
|
1649
661
|
label: "Search",
|
|
1650
662
|
"prepend-inner-icon": "mdi-magnify",
|
|
1651
663
|
clearable: "",
|
|
@@ -1657,27 +669,17 @@ function Se(t, e, l, o, s, a) {
|
|
|
1657
669
|
class: "search",
|
|
1658
670
|
"data-test": "search-log-messages"
|
|
1659
671
|
}, null, 8, ["modelValue"]),
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
"data-test": "clear-log",
|
|
1668
|
-
onClick: a.clearLog
|
|
1669
|
-
}, null, 8, ["onClick"])
|
|
1670
|
-
], 16)
|
|
1671
|
-
]),
|
|
1672
|
-
default: n(() => [
|
|
1673
|
-
e[4] || (e[4] = d("span", null, " Clear Log ", -1))
|
|
1674
|
-
]),
|
|
1675
|
-
_: 1
|
|
1676
|
-
})
|
|
672
|
+
l(u, {
|
|
673
|
+
icon: "mdi-delete-sweep",
|
|
674
|
+
variant: "text",
|
|
675
|
+
class: "ml-2",
|
|
676
|
+
"data-test": "clear-log",
|
|
677
|
+
onClick: a.clearLog
|
|
678
|
+
}, null, 8, ["onClick"])
|
|
1677
679
|
]),
|
|
1678
680
|
_: 1
|
|
1679
681
|
}),
|
|
1680
|
-
|
|
682
|
+
l(y, {
|
|
1681
683
|
headers: s.headers,
|
|
1682
684
|
items: s.shownData,
|
|
1683
685
|
search: s.search,
|
|
@@ -1689,25 +691,25 @@ function Se(t, e, l, o, s, a) {
|
|
|
1689
691
|
hover: "",
|
|
1690
692
|
"data-test": "log-messages"
|
|
1691
693
|
}, {
|
|
1692
|
-
"item.timestamp": n(({ item:
|
|
1693
|
-
|
|
1694
|
-
title:
|
|
1695
|
-
datetime:
|
|
1696
|
-
},
|
|
694
|
+
"item.timestamp": n(({ item: h }) => [
|
|
695
|
+
f("time", {
|
|
696
|
+
title: h.timestamp,
|
|
697
|
+
datetime: h.timestamp
|
|
698
|
+
}, w(h.timestamp), 9, te)
|
|
1697
699
|
]),
|
|
1698
|
-
"item.level": n(({ item:
|
|
1699
|
-
|
|
1700
|
-
style:
|
|
700
|
+
"item.level": n(({ item: h }) => [
|
|
701
|
+
f("span", {
|
|
702
|
+
style: B("display: inline-flex; color:" + a.getColor(h.level))
|
|
1701
703
|
}, [
|
|
1702
|
-
|
|
704
|
+
l(T, {
|
|
1703
705
|
class: "mr-1",
|
|
1704
|
-
status: a.getStatus(
|
|
706
|
+
status: a.getStatus(h.level)
|
|
1705
707
|
}, null, 8, ["status"]),
|
|
1706
|
-
|
|
708
|
+
g(" " + w(h.level), 1)
|
|
1707
709
|
], 4)
|
|
1708
710
|
]),
|
|
1709
|
-
"item.message": n(({ item:
|
|
1710
|
-
|
|
711
|
+
"item.message": n(({ item: h }) => [
|
|
712
|
+
f("div", se, w(h.message), 1)
|
|
1711
713
|
]),
|
|
1712
714
|
_: 1
|
|
1713
715
|
}, 8, ["headers", "items", "search"])
|
|
@@ -1715,23 +717,23 @@ function Se(t, e, l, o, s, a) {
|
|
|
1715
717
|
_: 1
|
|
1716
718
|
});
|
|
1717
719
|
}
|
|
1718
|
-
const
|
|
720
|
+
const ye = /* @__PURE__ */ C($, [["render", le], ["__scopeId", "data-v-081e936f"]]), S = "single-spa:app-change", ae = {
|
|
1719
721
|
data() {
|
|
1720
722
|
return {
|
|
1721
723
|
show: !1
|
|
1722
724
|
};
|
|
1723
725
|
},
|
|
1724
726
|
created() {
|
|
1725
|
-
window.addEventListener(
|
|
727
|
+
window.addEventListener(S, this.handleAppChange);
|
|
1726
728
|
},
|
|
1727
729
|
mounted() {
|
|
1728
730
|
setTimeout(() => {
|
|
1729
|
-
this.show =
|
|
731
|
+
this.show = G().length === 0;
|
|
1730
732
|
}, 150);
|
|
1731
733
|
},
|
|
1732
734
|
unmounted() {
|
|
1733
735
|
window.removeEventListener(
|
|
1734
|
-
|
|
736
|
+
S,
|
|
1735
737
|
this.handleAppChange
|
|
1736
738
|
);
|
|
1737
739
|
},
|
|
@@ -1740,692 +742,31 @@ const Qe = /* @__PURE__ */ O(Ce, [["render", Se], ["__scopeId", "data-v-d5f1f607
|
|
|
1740
742
|
this.show = !t.detail.appsByNewStatus.MOUNTED;
|
|
1741
743
|
}
|
|
1742
744
|
}
|
|
1743
|
-
},
|
|
1744
|
-
function
|
|
1745
|
-
const u =
|
|
1746
|
-
return s.show ? (
|
|
745
|
+
}, ie = { class: "mx-1" };
|
|
746
|
+
function ne(t, e, i, c, s, a) {
|
|
747
|
+
const u = o("v-card-title"), m = o("v-card-text"), N = o("v-card");
|
|
748
|
+
return s.show ? (_(), b(N, { key: 0 }, {
|
|
1747
749
|
default: n(() => [
|
|
1748
|
-
|
|
750
|
+
l(u, null, {
|
|
1749
751
|
default: n(() => e[0] || (e[0] = [
|
|
1750
|
-
|
|
752
|
+
g(" 404 Not Found ")
|
|
1751
753
|
])),
|
|
1752
754
|
_: 1
|
|
1753
755
|
}),
|
|
1754
|
-
|
|
756
|
+
l(m, { class: "d-flex align-center mt-3" }, {
|
|
1755
757
|
default: n(() => [
|
|
1756
|
-
e[1] || (e[1] =
|
|
1757
|
-
|
|
1758
|
-
e[2] || (e[2] =
|
|
1759
|
-
e[3] || (e[3] =
|
|
758
|
+
e[1] || (e[1] = g(" The requested URL ")),
|
|
759
|
+
f("code", ie, w(t.$route.fullPath), 1),
|
|
760
|
+
e[2] || (e[2] = g(" was not routable. ")),
|
|
761
|
+
e[3] || (e[3] = f("span", { class: "text-h3 mx-1" }, " 🦄 ", -1))
|
|
1760
762
|
]),
|
|
1761
763
|
_: 1
|
|
1762
764
|
})
|
|
1763
765
|
]),
|
|
1764
766
|
_: 1
|
|
1765
|
-
})) :
|
|
1766
|
-
}
|
|
1767
|
-
const $e = /* @__PURE__ */ O(De, [["render", Ae]]), B = 20, Re = {
|
|
1768
|
-
mixins: [j],
|
|
1769
|
-
components: {
|
|
1770
|
-
EditScreenDialog: _e
|
|
1771
|
-
},
|
|
1772
|
-
props: {
|
|
1773
|
-
target: {
|
|
1774
|
-
type: String,
|
|
1775
|
-
default: ""
|
|
1776
|
-
},
|
|
1777
|
-
screen: {
|
|
1778
|
-
type: String,
|
|
1779
|
-
default: ""
|
|
1780
|
-
},
|
|
1781
|
-
definition: {
|
|
1782
|
-
type: String,
|
|
1783
|
-
default: ""
|
|
1784
|
-
},
|
|
1785
|
-
keywords: {
|
|
1786
|
-
type: Array,
|
|
1787
|
-
default: () => []
|
|
1788
|
-
},
|
|
1789
|
-
initialFloated: {
|
|
1790
|
-
type: Boolean,
|
|
1791
|
-
default: !1
|
|
1792
|
-
},
|
|
1793
|
-
initialTop: {
|
|
1794
|
-
type: Number,
|
|
1795
|
-
default: 0
|
|
1796
|
-
},
|
|
1797
|
-
initialLeft: {
|
|
1798
|
-
type: Number,
|
|
1799
|
-
default: 0
|
|
1800
|
-
},
|
|
1801
|
-
initialZ: {
|
|
1802
|
-
type: Number,
|
|
1803
|
-
default: 0
|
|
1804
|
-
},
|
|
1805
|
-
minZ: {
|
|
1806
|
-
type: Number,
|
|
1807
|
-
default: 0
|
|
1808
|
-
},
|
|
1809
|
-
fixFloated: {
|
|
1810
|
-
type: Boolean,
|
|
1811
|
-
default: !1
|
|
1812
|
-
},
|
|
1813
|
-
count: {
|
|
1814
|
-
type: Number,
|
|
1815
|
-
default: 0
|
|
1816
|
-
},
|
|
1817
|
-
showClose: {
|
|
1818
|
-
type: Boolean,
|
|
1819
|
-
default: !0
|
|
1820
|
-
},
|
|
1821
|
-
timeZone: {
|
|
1822
|
-
type: String,
|
|
1823
|
-
default: "local"
|
|
1824
|
-
}
|
|
1825
|
-
},
|
|
1826
|
-
data() {
|
|
1827
|
-
return {
|
|
1828
|
-
api: null,
|
|
1829
|
-
backup: "",
|
|
1830
|
-
currentDefinition: this.definition,
|
|
1831
|
-
editDialog: !1,
|
|
1832
|
-
expand: !0,
|
|
1833
|
-
configParser: null,
|
|
1834
|
-
configError: !1,
|
|
1835
|
-
currentLayout: null,
|
|
1836
|
-
layoutStack: [],
|
|
1837
|
-
namedWidgets: {},
|
|
1838
|
-
dynamicWidgets: [],
|
|
1839
|
-
width: null,
|
|
1840
|
-
height: null,
|
|
1841
|
-
staleTime: 30,
|
|
1842
|
-
cacheTimeout: 0.1,
|
|
1843
|
-
globalSettings: [],
|
|
1844
|
-
substitute: !1,
|
|
1845
|
-
original_target_name: null,
|
|
1846
|
-
force_substitute: !1,
|
|
1847
|
-
pollingPeriod: 1,
|
|
1848
|
-
errors: [],
|
|
1849
|
-
errorDialog: !1,
|
|
1850
|
-
screenKey: null,
|
|
1851
|
-
dragX: 0,
|
|
1852
|
-
dragY: 0,
|
|
1853
|
-
floated: this.initialFloated,
|
|
1854
|
-
top: this.initialTop,
|
|
1855
|
-
left: this.initialLeft,
|
|
1856
|
-
zIndex: this.initialZ,
|
|
1857
|
-
changeCounter: 0,
|
|
1858
|
-
screenItems: [],
|
|
1859
|
-
screenValues: {},
|
|
1860
|
-
updateCounter: 0,
|
|
1861
|
-
screenId: J.uniqueId("openc3-screen_")
|
|
1862
|
-
};
|
|
1863
|
-
},
|
|
1864
|
-
watch: {
|
|
1865
|
-
count: {
|
|
1866
|
-
handler(t, e) {
|
|
1867
|
-
this.currentDefinition = this.definition, this.rerender();
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
},
|
|
1871
|
-
computed: {
|
|
1872
|
-
error: function() {
|
|
1873
|
-
if (this.errorDialog && this.errors.length > 0) {
|
|
1874
|
-
let t = /* @__PURE__ */ new Set(), e = "";
|
|
1875
|
-
for (const l of this.errors) {
|
|
1876
|
-
if (t.has(l.message))
|
|
1877
|
-
continue;
|
|
1878
|
-
let o = `${l.time}: (${l.type}) ${l.message}
|
|
1879
|
-
`;
|
|
1880
|
-
e += o, t.add(l.message);
|
|
1881
|
-
}
|
|
1882
|
-
return e;
|
|
1883
|
-
}
|
|
1884
|
-
return null;
|
|
1885
|
-
},
|
|
1886
|
-
computedStyle() {
|
|
1887
|
-
var l;
|
|
1888
|
-
let t = {};
|
|
1889
|
-
const e = this.width || ((l = this.$refs.bar) == null ? void 0 : l.clientWidth);
|
|
1890
|
-
return this.floated && (t.position = "absolute", t.top = this.top + "px", t.left = this.left + "px", t.width = e + "px"), t;
|
|
1891
|
-
}
|
|
1892
|
-
},
|
|
1893
|
-
// Called when an error from any descendent component is captured
|
|
1894
|
-
// We need this because an error can occur from any of the children
|
|
1895
|
-
// in the widget stack and are typically thrown on create()
|
|
1896
|
-
errorCaptured(t, e, l) {
|
|
1897
|
-
return console.log({ err: t, vm: e, info: l }), this.errors.length < B && (console.log({ errors: this.errors }), t.usage ? this.errors.push({
|
|
1898
|
-
type: "usage",
|
|
1899
|
-
message: t.message,
|
|
1900
|
-
usage: t.usage,
|
|
1901
|
-
line: t.line,
|
|
1902
|
-
lineNumber: t.lineNumber,
|
|
1903
|
-
time: (/* @__PURE__ */ new Date()).getTime()
|
|
1904
|
-
}) : this.errors.push({
|
|
1905
|
-
type: "error",
|
|
1906
|
-
message: t,
|
|
1907
|
-
time: (/* @__PURE__ */ new Date()).getTime()
|
|
1908
|
-
}), this.configError = !0), !1;
|
|
1909
|
-
},
|
|
1910
|
-
created() {
|
|
1911
|
-
this.api = new L(), this.configParser = new q(), this.parseDefinition(), this.screenKey = Math.floor(Math.random() * 1e6);
|
|
1912
|
-
},
|
|
1913
|
-
mounted() {
|
|
1914
|
-
this.updateRefreshInterval(), this.floated && (this.$refs.bar.onmousedown = this.dragMouseDown, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex);
|
|
1915
|
-
},
|
|
1916
|
-
unmounted() {
|
|
1917
|
-
this.updater != null && (clearInterval(this.updater), this.updater = null);
|
|
1918
|
-
},
|
|
1919
|
-
methods: {
|
|
1920
|
-
// These are API methods that ButtonWidget uses to open and close screens
|
|
1921
|
-
open(t, e) {
|
|
1922
|
-
this.$parent.showScreen(t, e);
|
|
1923
|
-
},
|
|
1924
|
-
close(t, e) {
|
|
1925
|
-
this.$parent.closeScreenByName(t, e);
|
|
1926
|
-
},
|
|
1927
|
-
closeAll() {
|
|
1928
|
-
this.$parent.closeAll();
|
|
1929
|
-
},
|
|
1930
|
-
clearErrors: function() {
|
|
1931
|
-
this.errors = [], this.configError = !1;
|
|
1932
|
-
},
|
|
1933
|
-
updateRefreshInterval: function() {
|
|
1934
|
-
let t = this.pollingPeriod * 1e3;
|
|
1935
|
-
this.updater && clearInterval(this.updater), this.updater = setInterval(() => {
|
|
1936
|
-
this.update();
|
|
1937
|
-
}, t);
|
|
1938
|
-
},
|
|
1939
|
-
parseDefinition: function() {
|
|
1940
|
-
if (this.clearErrors(), this.namedWidgets = {}, this.layoutStack = [], this.dynamicWidgets = [], this.layoutStack.push({
|
|
1941
|
-
type: "VerticalWidget",
|
|
1942
|
-
parameters: [],
|
|
1943
|
-
widgets: []
|
|
1944
|
-
}), this.currentLayout = this.layoutStack[this.layoutStack.length - 1], this.configParser.parse_string(
|
|
1945
|
-
this.currentDefinition,
|
|
1946
|
-
"",
|
|
1947
|
-
!1,
|
|
1948
|
-
!0,
|
|
1949
|
-
(t, e, l, o) => {
|
|
1950
|
-
if (t)
|
|
1951
|
-
switch (t) {
|
|
1952
|
-
case "SCREEN":
|
|
1953
|
-
this.configParser.verify_num_parameters(
|
|
1954
|
-
3,
|
|
1955
|
-
4,
|
|
1956
|
-
`${t} <Width or AUTO> <Height or AUTO> <Polling Period>`
|
|
1957
|
-
), this.width = parseInt(e[0]), this.height = parseInt(e[1]), this.pollingPeriod = parseFloat(e[2]);
|
|
1958
|
-
break;
|
|
1959
|
-
case "END":
|
|
1960
|
-
this.configParser.verify_num_parameters(0, 0, `${t}`), this.layoutStack.pop(), this.currentLayout = this.layoutStack[this.layoutStack.length - 1];
|
|
1961
|
-
break;
|
|
1962
|
-
case "STALE_TIME":
|
|
1963
|
-
this.configParser.verify_num_parameters(
|
|
1964
|
-
1,
|
|
1965
|
-
1,
|
|
1966
|
-
`${t} <Time (s)>`
|
|
1967
|
-
), this.staleTime = parseInt(e[0]);
|
|
1968
|
-
break;
|
|
1969
|
-
case "SETTING":
|
|
1970
|
-
case "SUBSETTING":
|
|
1971
|
-
(this.currentLayout.widgets[this.currentLayout.widgets.length - 1] ?? this.currentLayout).settings.push(e);
|
|
1972
|
-
break;
|
|
1973
|
-
case "GLOBAL_SETTING":
|
|
1974
|
-
case "GLOBAL_SUBSETTING":
|
|
1975
|
-
this.globalSettings.push(e);
|
|
1976
|
-
break;
|
|
1977
|
-
default:
|
|
1978
|
-
this.processWidget(t, e, l, o);
|
|
1979
|
-
break;
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
), typeof this.layoutStack[0] > "u") {
|
|
1983
|
-
let t = [], e = [];
|
|
1984
|
-
for (const l of this.dynamicWidgets)
|
|
1985
|
-
t.push(l.name), e.push(l.lineNumber);
|
|
1986
|
-
this.errors.length < B && (this.errors.push({
|
|
1987
|
-
type: "usage",
|
|
1988
|
-
message: `Unknown widget! Are these widgets: ${t.join(",")}?`,
|
|
1989
|
-
lineNumber: e.join(","),
|
|
1990
|
-
time: (/* @__PURE__ */ new Date()).getTime()
|
|
1991
|
-
}), this.configError = !0), this.layoutStack[0] = {
|
|
1992
|
-
type: "VerticalWidget",
|
|
1993
|
-
parameters: [],
|
|
1994
|
-
widgets: []
|
|
1995
|
-
};
|
|
1996
|
-
} else
|
|
1997
|
-
this.applyGlobalSettings(this.layoutStack[0].widgets);
|
|
1998
|
-
},
|
|
1999
|
-
openEdit: function() {
|
|
2000
|
-
this.backup = this.currentDefinition.repeat(1), this.editDialog = !0;
|
|
2001
|
-
},
|
|
2002
|
-
upScreen: function() {
|
|
2003
|
-
this.zIndex += 1, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex, this.$emit("drag-screen", [
|
|
2004
|
-
this.floated,
|
|
2005
|
-
this.top,
|
|
2006
|
-
this.left,
|
|
2007
|
-
this.zIndex
|
|
2008
|
-
]);
|
|
2009
|
-
},
|
|
2010
|
-
downScreen: function() {
|
|
2011
|
-
this.zIndex > this.minZ && (this.zIndex -= 1, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex, this.$emit("drag-screen", [
|
|
2012
|
-
this.floated,
|
|
2013
|
-
this.top,
|
|
2014
|
-
this.left,
|
|
2015
|
-
this.zIndex
|
|
2016
|
-
]));
|
|
2017
|
-
},
|
|
2018
|
-
floatScreen: function() {
|
|
2019
|
-
if (this.floated)
|
|
2020
|
-
this.$refs.bar.onmousedown = null, this.$refs.bar.parentElement.parentElement.style = "z-index: 0", this.floated = !1, this.$emit("unfloat-screen", [
|
|
2021
|
-
this.floated,
|
|
2022
|
-
this.top,
|
|
2023
|
-
this.left,
|
|
2024
|
-
this.zIndex
|
|
2025
|
-
]);
|
|
2026
|
-
else {
|
|
2027
|
-
let t = this.$refs.bar.parentElement.parentElement.parentElement.getBoundingClientRect(), e = this.$refs.bar.getBoundingClientRect();
|
|
2028
|
-
this.top = e.top - t.top - 5, this.left = e.left - t.left - 5, this.$refs.bar.onmousedown = this.dragMouseDown, this.$refs.bar.parentElement.parentElement.style = "z-index: " + this.zIndex, this.floated = !0, this.$emit("float-screen", [
|
|
2029
|
-
this.floated,
|
|
2030
|
-
this.top,
|
|
2031
|
-
this.left,
|
|
2032
|
-
this.zIndex
|
|
2033
|
-
]);
|
|
2034
|
-
}
|
|
2035
|
-
},
|
|
2036
|
-
dragMouseDown: function(t) {
|
|
2037
|
-
t = t || window.event, t.preventDefault(), this.dragX = t.clientX, this.dragY = t.clientY, document.onmouseup = this.closeDragElement, document.onmousemove = this.elementDrag;
|
|
2038
|
-
},
|
|
2039
|
-
elementDrag: function(t) {
|
|
2040
|
-
t = t || window.event, t.preventDefault();
|
|
2041
|
-
let e = this.dragX - t.clientX, l = this.dragY - t.clientY;
|
|
2042
|
-
this.dragX = t.clientX, this.dragY = t.clientY, this.top = this.$refs.bar.offsetTop - l, this.left = this.$refs.bar.offsetLeft - e, this.$emit("drag-screen", [
|
|
2043
|
-
this.floated,
|
|
2044
|
-
this.top,
|
|
2045
|
-
this.left,
|
|
2046
|
-
this.zIndex
|
|
2047
|
-
]);
|
|
2048
|
-
},
|
|
2049
|
-
closeDragElement: function() {
|
|
2050
|
-
document.onmouseup = null, document.onmousemove = null;
|
|
2051
|
-
},
|
|
2052
|
-
rerender: function() {
|
|
2053
|
-
this.parseDefinition(), this.updateRefreshInterval(), this.screenKey = Math.floor(Math.random() * 1e6), this.$nextTick(function() {
|
|
2054
|
-
this.clearErrors(), this.$emit("edit-screen");
|
|
2055
|
-
});
|
|
2056
|
-
},
|
|
2057
|
-
cancelEdit: function() {
|
|
2058
|
-
this.file = null, this.editDialog = !1, this.currentDefinition = this.backup, this.rerender();
|
|
2059
|
-
},
|
|
2060
|
-
saveEdit: function(t) {
|
|
2061
|
-
this.editDialog = !1, this.currentDefinition = t, this.rerender(), this.$nextTick(function() {
|
|
2062
|
-
E.post(
|
|
2063
|
-
"/openc3-api/screen/",
|
|
2064
|
-
{
|
|
2065
|
-
data: {
|
|
2066
|
-
scope: window.openc3Scope,
|
|
2067
|
-
target: this.target,
|
|
2068
|
-
screen: this.screen,
|
|
2069
|
-
text: this.currentDefinition
|
|
2070
|
-
}
|
|
2071
|
-
},
|
|
2072
|
-
0
|
|
2073
|
-
);
|
|
2074
|
-
});
|
|
2075
|
-
},
|
|
2076
|
-
deleteScreen: function() {
|
|
2077
|
-
this.editDialog = !1, E.delete(`/openc3-api/screen/${this.target}/${this.screen}`).then(
|
|
2078
|
-
(t) => {
|
|
2079
|
-
this.$emit("delete-screen");
|
|
2080
|
-
}
|
|
2081
|
-
);
|
|
2082
|
-
},
|
|
2083
|
-
minMaxTransition: function() {
|
|
2084
|
-
this.expand = !this.expand, this.$emit("min-max-screen");
|
|
2085
|
-
},
|
|
2086
|
-
processWidget: function(t, e, l, o) {
|
|
2087
|
-
let s = null;
|
|
2088
|
-
t === "NAMED_WIDGET" && (this.configParser.verify_num_parameters(
|
|
2089
|
-
2,
|
|
2090
|
-
null,
|
|
2091
|
-
`${t} <Widget Name> <Widget Type> <Widget Settings... (optional)>`
|
|
2092
|
-
), s = e[0].toUpperCase(), t = e[1].toUpperCase(), e = e.slice(2, e.length));
|
|
2093
|
-
const a = t.charAt(0).toUpperCase() + t.slice(1).toLowerCase() + "Widget";
|
|
2094
|
-
let u = [];
|
|
2095
|
-
if (u.push(["__SCREEN_ID__", this.screenId]), s !== null && u.push(["NAMED_WIDGET", s]), t === "VERTICAL" || t === "VERTICALBOX" || t === "HORIZONTAL" || t === "HORIZONTALBOX" || t === "MATRIXBYCOLUMNS" || t === "TABBOOK" || t === "TABITEM" || t === "CANVAS" || t === "RADIOGROUP" || t === "SCROLLWINDOW") {
|
|
2096
|
-
const m = {
|
|
2097
|
-
type: a,
|
|
2098
|
-
parameters: e,
|
|
2099
|
-
settings: u,
|
|
2100
|
-
screenValues: this.screenValues,
|
|
2101
|
-
screenTimeZone: this.timeZone,
|
|
2102
|
-
widgets: []
|
|
2103
|
-
};
|
|
2104
|
-
this.layoutStack.push(m), this.currentLayout.widgets.push(m), this.currentLayout = m;
|
|
2105
|
-
} else if (this.$options.components[a])
|
|
2106
|
-
this.currentLayout.widgets.push({
|
|
2107
|
-
type: a,
|
|
2108
|
-
target: this.target,
|
|
2109
|
-
parameters: e,
|
|
2110
|
-
settings: u,
|
|
2111
|
-
screenValues: this.screenValues,
|
|
2112
|
-
screenTimeZone: this.timeZone,
|
|
2113
|
-
line: l,
|
|
2114
|
-
lineNumber: o
|
|
2115
|
-
});
|
|
2116
|
-
else {
|
|
2117
|
-
let m = {
|
|
2118
|
-
type: "DynamicWidget",
|
|
2119
|
-
target: this.target,
|
|
2120
|
-
parameters: e,
|
|
2121
|
-
settings: u,
|
|
2122
|
-
screenValues: this.screenValues,
|
|
2123
|
-
screenTimeZone: this.timeZone,
|
|
2124
|
-
name: a,
|
|
2125
|
-
line: l,
|
|
2126
|
-
lineNumber: o
|
|
2127
|
-
};
|
|
2128
|
-
this.currentLayout.widgets.push(m), this.dynamicWidgets.push(m);
|
|
2129
|
-
}
|
|
2130
|
-
},
|
|
2131
|
-
applyGlobalSettings: function(t) {
|
|
2132
|
-
t.forEach((e) => {
|
|
2133
|
-
this.globalSettings.forEach((l) => {
|
|
2134
|
-
e.type.toLowerCase() === l[0].toLowerCase() + "widget" && e.settings.push(l.slice(1));
|
|
2135
|
-
}), e.widgets && this.applyGlobalSettings(e.widgets);
|
|
2136
|
-
});
|
|
2137
|
-
},
|
|
2138
|
-
update: function() {
|
|
2139
|
-
this.screenItems.length !== 0 && this.configError === !1 && this.api.get_tlm_values(this.screenItems, this.staleTime, this.cacheTimeout).then((t) => {
|
|
2140
|
-
this.clearErrors(), this.updateValues(t);
|
|
2141
|
-
}).catch((t) => {
|
|
2142
|
-
let e = JSON.stringify(t, null, 2);
|
|
2143
|
-
e.includes("no response received") || (this.configError = !0), this.errors.find((l) => l.message === e) || this.errors.length < B && this.errors.push({
|
|
2144
|
-
type: "error",
|
|
2145
|
-
message: e,
|
|
2146
|
-
time: (/* @__PURE__ */ new Date()).getTime()
|
|
2147
|
-
});
|
|
2148
|
-
});
|
|
2149
|
-
},
|
|
2150
|
-
updateValues: function(t) {
|
|
2151
|
-
this.updateCounter += 1;
|
|
2152
|
-
for (let e = 0; e < t.length; e++)
|
|
2153
|
-
t[e].push(this.updateCounter), this.screenValues[this.screenItems[e]] = t[e];
|
|
2154
|
-
},
|
|
2155
|
-
addItem: function(t) {
|
|
2156
|
-
this.screenItems.push(t), this.screenValues[t] = [null, null, 0];
|
|
2157
|
-
},
|
|
2158
|
-
deleteItem: function(t) {
|
|
2159
|
-
let e = this.screenItems.indexOf(t);
|
|
2160
|
-
this.screenItems.splice(e, 1);
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
}, Le = {
|
|
2164
|
-
class: "pa-1",
|
|
2165
|
-
style: { position: "relative" },
|
|
2166
|
-
ref: "screen"
|
|
2167
|
-
};
|
|
2168
|
-
function Ue(t, e, l, o, s, a) {
|
|
2169
|
-
const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-overlay"), f = r("vertical-widget"), x = r("v-expand-transition"), b = r("v-card"), k = r("edit-screen-dialog"), p = r("v-textarea"), g = r("v-dialog");
|
|
2170
|
-
return w(), P("div", {
|
|
2171
|
-
style: Z(a.computedStyle),
|
|
2172
|
-
ref: "bar"
|
|
2173
|
-
}, [
|
|
2174
|
-
i(b, {
|
|
2175
|
-
"min-height": s.height,
|
|
2176
|
-
"min-width": s.width,
|
|
2177
|
-
style: { cursor: "default" }
|
|
2178
|
-
}, {
|
|
2179
|
-
default: n(() => [
|
|
2180
|
-
i(v, { height: "24" }, {
|
|
2181
|
-
default: n(() => [
|
|
2182
|
-
A(d("div", null, [
|
|
2183
|
-
i(m, { location: "top" }, {
|
|
2184
|
-
activator: n(({ props: c }) => [
|
|
2185
|
-
d("div", S(D(c)), [
|
|
2186
|
-
i(u, {
|
|
2187
|
-
"data-test": "error-graph-icon",
|
|
2188
|
-
onClick: e[0] || (e[0] = (C) => s.errorDialog = !0)
|
|
2189
|
-
}, {
|
|
2190
|
-
default: n(() => e[7] || (e[7] = [
|
|
2191
|
-
y(" mdi-alert ")
|
|
2192
|
-
])),
|
|
2193
|
-
_: 1
|
|
2194
|
-
})
|
|
2195
|
-
], 16)
|
|
2196
|
-
]),
|
|
2197
|
-
default: n(() => [
|
|
2198
|
-
e[8] || (e[8] = d("span", null, " Errors ", -1))
|
|
2199
|
-
]),
|
|
2200
|
-
_: 1
|
|
2201
|
-
})
|
|
2202
|
-
], 512), [
|
|
2203
|
-
[R, s.errors.length !== 0]
|
|
2204
|
-
]),
|
|
2205
|
-
i(m, { location: "top" }, {
|
|
2206
|
-
activator: n(({ props: c }) => [
|
|
2207
|
-
d("div", S(D(c)), [
|
|
2208
|
-
i(u, {
|
|
2209
|
-
"data-test": "edit-screen-icon",
|
|
2210
|
-
onClick: a.openEdit
|
|
2211
|
-
}, {
|
|
2212
|
-
default: n(() => e[9] || (e[9] = [
|
|
2213
|
-
y(" mdi-pencil ")
|
|
2214
|
-
])),
|
|
2215
|
-
_: 1
|
|
2216
|
-
}, 8, ["onClick"])
|
|
2217
|
-
], 16)
|
|
2218
|
-
]),
|
|
2219
|
-
default: n(() => [
|
|
2220
|
-
e[10] || (e[10] = d("span", null, " Edit Screen ", -1))
|
|
2221
|
-
]),
|
|
2222
|
-
_: 1
|
|
2223
|
-
}),
|
|
2224
|
-
l.fixFloated ? V("", !0) : (w(), T(m, {
|
|
2225
|
-
key: 0,
|
|
2226
|
-
location: "top"
|
|
2227
|
-
}, {
|
|
2228
|
-
activator: n(({ props: c }) => [
|
|
2229
|
-
d("div", S(D(c)), [
|
|
2230
|
-
i(u, {
|
|
2231
|
-
"data-test": "float-screen-icon",
|
|
2232
|
-
onClick: a.floatScreen
|
|
2233
|
-
}, {
|
|
2234
|
-
default: n(() => [
|
|
2235
|
-
y(N(s.floated ? "mdi-balloon" : "mdi-view-grid-outline"), 1)
|
|
2236
|
-
]),
|
|
2237
|
-
_: 1
|
|
2238
|
-
}, 8, ["onClick"])
|
|
2239
|
-
], 16)
|
|
2240
|
-
]),
|
|
2241
|
-
default: n(() => [
|
|
2242
|
-
d("span", null, N(s.floated ? "Unfloat Screen" : "Float Screen"), 1)
|
|
2243
|
-
]),
|
|
2244
|
-
_: 1
|
|
2245
|
-
})),
|
|
2246
|
-
s.floated ? (w(), T(m, {
|
|
2247
|
-
key: 1,
|
|
2248
|
-
location: "top"
|
|
2249
|
-
}, {
|
|
2250
|
-
activator: n(({ props: c }) => [
|
|
2251
|
-
d("div", S(D(c)), [
|
|
2252
|
-
i(u, {
|
|
2253
|
-
"data-test": "up-screen-icon",
|
|
2254
|
-
onClick: a.upScreen
|
|
2255
|
-
}, {
|
|
2256
|
-
default: n(() => e[11] || (e[11] = [
|
|
2257
|
-
y(" mdi-arrow-up ")
|
|
2258
|
-
])),
|
|
2259
|
-
_: 1
|
|
2260
|
-
}, 8, ["onClick"])
|
|
2261
|
-
], 16)
|
|
2262
|
-
]),
|
|
2263
|
-
default: n(() => [
|
|
2264
|
-
e[12] || (e[12] = d("span", null, " Move Screen Up ", -1))
|
|
2265
|
-
]),
|
|
2266
|
-
_: 1
|
|
2267
|
-
})) : V("", !0),
|
|
2268
|
-
s.floated && s.zIndex > l.minZ ? (w(), T(m, {
|
|
2269
|
-
key: 2,
|
|
2270
|
-
location: "top"
|
|
2271
|
-
}, {
|
|
2272
|
-
activator: n(({ props: c }) => [
|
|
2273
|
-
d("div", S(D(c)), [
|
|
2274
|
-
i(u, {
|
|
2275
|
-
"data-test": "down-screen-icon",
|
|
2276
|
-
onClick: a.downScreen
|
|
2277
|
-
}, {
|
|
2278
|
-
default: n(() => e[13] || (e[13] = [
|
|
2279
|
-
y(" mdi-arrow-down ")
|
|
2280
|
-
])),
|
|
2281
|
-
_: 1
|
|
2282
|
-
}, 8, ["onClick"])
|
|
2283
|
-
], 16)
|
|
2284
|
-
]),
|
|
2285
|
-
default: n(() => [
|
|
2286
|
-
e[14] || (e[14] = d("span", null, " Move Screen Down ", -1))
|
|
2287
|
-
]),
|
|
2288
|
-
_: 1
|
|
2289
|
-
})) : V("", !0),
|
|
2290
|
-
i(h),
|
|
2291
|
-
d("span", null, N(l.target) + " " + N(l.screen), 1),
|
|
2292
|
-
i(h),
|
|
2293
|
-
i(m, { location: "top" }, {
|
|
2294
|
-
activator: n(({ props: c }) => [
|
|
2295
|
-
d("div", S(D(c)), [
|
|
2296
|
-
A(i(u, {
|
|
2297
|
-
"data-test": "minimize-screen-icon",
|
|
2298
|
-
onClick: a.minMaxTransition
|
|
2299
|
-
}, {
|
|
2300
|
-
default: n(() => e[15] || (e[15] = [
|
|
2301
|
-
y(" mdi-window-minimize ")
|
|
2302
|
-
])),
|
|
2303
|
-
_: 1
|
|
2304
|
-
}, 8, ["onClick"]), [
|
|
2305
|
-
[R, s.expand]
|
|
2306
|
-
]),
|
|
2307
|
-
A(i(u, {
|
|
2308
|
-
"data-test": "maximize-screen-icon",
|
|
2309
|
-
onClick: a.minMaxTransition
|
|
2310
|
-
}, {
|
|
2311
|
-
default: n(() => e[16] || (e[16] = [
|
|
2312
|
-
y(" mdi-window-maximize ")
|
|
2313
|
-
])),
|
|
2314
|
-
_: 1
|
|
2315
|
-
}, 8, ["onClick"]), [
|
|
2316
|
-
[R, !s.expand]
|
|
2317
|
-
])
|
|
2318
|
-
], 16)
|
|
2319
|
-
]),
|
|
2320
|
-
default: n(() => [
|
|
2321
|
-
A(d("span", null, " Minimize Screen ", 512), [
|
|
2322
|
-
[R, s.expand]
|
|
2323
|
-
]),
|
|
2324
|
-
A(d("span", null, " Maximize Screen ", 512), [
|
|
2325
|
-
[R, !s.expand]
|
|
2326
|
-
])
|
|
2327
|
-
]),
|
|
2328
|
-
_: 1
|
|
2329
|
-
}),
|
|
2330
|
-
l.showClose ? (w(), T(m, {
|
|
2331
|
-
key: 3,
|
|
2332
|
-
location: "top"
|
|
2333
|
-
}, {
|
|
2334
|
-
activator: n(({ props: c }) => [
|
|
2335
|
-
d("div", S(D(c)), [
|
|
2336
|
-
i(u, {
|
|
2337
|
-
"data-test": "close-screen-icon",
|
|
2338
|
-
onClick: e[1] || (e[1] = (C) => t.$emit("close-screen"))
|
|
2339
|
-
}, {
|
|
2340
|
-
default: n(() => e[17] || (e[17] = [
|
|
2341
|
-
y(" mdi-close-box ")
|
|
2342
|
-
])),
|
|
2343
|
-
_: 1
|
|
2344
|
-
})
|
|
2345
|
-
], 16)
|
|
2346
|
-
]),
|
|
2347
|
-
default: n(() => [
|
|
2348
|
-
e[18] || (e[18] = d("span", null, " Close Screen ", -1))
|
|
2349
|
-
]),
|
|
2350
|
-
_: 1
|
|
2351
|
-
})) : V("", !0)
|
|
2352
|
-
]),
|
|
2353
|
-
_: 1
|
|
2354
|
-
}),
|
|
2355
|
-
s.editDialog ? V("", !0) : (w(), T(x, { key: 0 }, {
|
|
2356
|
-
default: n(() => [
|
|
2357
|
-
A(d("div", Le, [
|
|
2358
|
-
i(_, {
|
|
2359
|
-
style: { "pointer-events": "none" },
|
|
2360
|
-
"model-value": s.errors.length !== 0,
|
|
2361
|
-
opacity: "0.8",
|
|
2362
|
-
absolute: "",
|
|
2363
|
-
attach: ""
|
|
2364
|
-
}, null, 8, ["model-value"]),
|
|
2365
|
-
(w(), T(f, {
|
|
2366
|
-
key: s.screenKey,
|
|
2367
|
-
widgets: s.layoutStack[0].widgets,
|
|
2368
|
-
"screen-values": s.screenValues,
|
|
2369
|
-
"screen-time-zone": l.timeZone,
|
|
2370
|
-
onAddItem: a.addItem,
|
|
2371
|
-
onDeleteItem: a.deleteItem,
|
|
2372
|
-
onOpen: a.open,
|
|
2373
|
-
onClose: a.close,
|
|
2374
|
-
onCloseAll: a.closeAll
|
|
2375
|
-
}, null, 8, ["widgets", "screen-values", "screen-time-zone", "onAddItem", "onDeleteItem", "onOpen", "onClose", "onCloseAll"]))
|
|
2376
|
-
], 512), [
|
|
2377
|
-
[R, s.expand]
|
|
2378
|
-
])
|
|
2379
|
-
]),
|
|
2380
|
-
_: 1
|
|
2381
|
-
}))
|
|
2382
|
-
]),
|
|
2383
|
-
_: 1
|
|
2384
|
-
}, 8, ["min-height", "min-width"]),
|
|
2385
|
-
s.editDialog ? (w(), T(k, {
|
|
2386
|
-
key: 0,
|
|
2387
|
-
modelValue: s.editDialog,
|
|
2388
|
-
"onUpdate:modelValue": e[2] || (e[2] = (c) => s.editDialog = c),
|
|
2389
|
-
target: l.target,
|
|
2390
|
-
screen: l.screen,
|
|
2391
|
-
definition: s.currentDefinition,
|
|
2392
|
-
keywords: l.keywords,
|
|
2393
|
-
errors: s.errors,
|
|
2394
|
-
onSave: e[3] || (e[3] = (c) => a.saveEdit(c)),
|
|
2395
|
-
onCancel: e[4] || (e[4] = (c) => a.cancelEdit()),
|
|
2396
|
-
onDelete: e[5] || (e[5] = (c) => a.deleteScreen())
|
|
2397
|
-
}, null, 8, ["modelValue", "target", "screen", "definition", "keywords", "errors"])) : V("", !0),
|
|
2398
|
-
i(g, {
|
|
2399
|
-
modelValue: s.errorDialog,
|
|
2400
|
-
"onUpdate:modelValue": e[6] || (e[6] = (c) => s.errorDialog = c),
|
|
2401
|
-
width: "60vw"
|
|
2402
|
-
}, {
|
|
2403
|
-
default: n(() => [
|
|
2404
|
-
i(v, { height: "24" }, {
|
|
2405
|
-
default: n(() => [
|
|
2406
|
-
i(h),
|
|
2407
|
-
d("span", null, " Screen: " + N(l.target) + " " + N(l.screen) + " Errors ", 1),
|
|
2408
|
-
i(h)
|
|
2409
|
-
]),
|
|
2410
|
-
_: 1
|
|
2411
|
-
}),
|
|
2412
|
-
i(b, null, {
|
|
2413
|
-
default: n(() => [
|
|
2414
|
-
i(p, {
|
|
2415
|
-
class: "errors",
|
|
2416
|
-
readonly: "",
|
|
2417
|
-
rows: "13",
|
|
2418
|
-
"model-value": a.error
|
|
2419
|
-
}, null, 8, ["model-value"])
|
|
2420
|
-
]),
|
|
2421
|
-
_: 1
|
|
2422
|
-
})
|
|
2423
|
-
]),
|
|
2424
|
-
_: 1
|
|
2425
|
-
}, 8, ["modelValue"])
|
|
2426
|
-
], 4);
|
|
767
|
+
})) : I("", !0);
|
|
2427
768
|
}
|
|
2428
|
-
const
|
|
769
|
+
const be = /* @__PURE__ */ C(ae, [["render", ne]]), oe = {
|
|
2429
770
|
props: {
|
|
2430
771
|
allowAll: {
|
|
2431
772
|
type: Boolean,
|
|
@@ -2463,6 +804,10 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2463
804
|
type: Boolean,
|
|
2464
805
|
default: !1
|
|
2465
806
|
},
|
|
807
|
+
showLatest: {
|
|
808
|
+
type: Boolean,
|
|
809
|
+
default: !1
|
|
810
|
+
},
|
|
2466
811
|
mode: {
|
|
2467
812
|
type: String,
|
|
2468
813
|
default: "tlm",
|
|
@@ -2483,14 +828,14 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2483
828
|
}
|
|
2484
829
|
},
|
|
2485
830
|
data() {
|
|
2486
|
-
var t, e,
|
|
831
|
+
var t, e, i;
|
|
2487
832
|
return {
|
|
2488
833
|
targetNames: [],
|
|
2489
834
|
selectedTargetName: (t = this.initialTargetName) == null ? void 0 : t.toUpperCase(),
|
|
2490
835
|
packetNames: [],
|
|
2491
836
|
selectedPacketName: (e = this.initialPacketName) == null ? void 0 : e.toUpperCase(),
|
|
2492
837
|
itemNames: [],
|
|
2493
|
-
selectedItemName: (
|
|
838
|
+
selectedItemName: (i = this.initialItemName) == null ? void 0 : i.toUpperCase(),
|
|
2494
839
|
valueTypes: ["CONVERTED", "RAW"],
|
|
2495
840
|
selectedValueType: "CONVERTED",
|
|
2496
841
|
reductionModes: [
|
|
@@ -2524,7 +869,7 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2524
869
|
};
|
|
2525
870
|
},
|
|
2526
871
|
created() {
|
|
2527
|
-
this.internalDisabled = !0, this.api = new
|
|
872
|
+
this.internalDisabled = !0, this.api = new k(), this.api.get_target_names().then((t) => {
|
|
2528
873
|
this.targetNames = t.flatMap((e) => e == "UNKNOWN" ? [] : { label: e, value: e }), this.allowAllTargets && this.targetNames.unshift(this.ALL), this.selectedTargetName ? this.updatePackets() : (this.selectedTargetName = this.targetNames[0].value, this.targetNameChanged(this.selectedTargetName)), this.unknown && this.targetNames.push(this.UNKNOWN);
|
|
2529
874
|
});
|
|
2530
875
|
},
|
|
@@ -2543,6 +888,9 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2543
888
|
},
|
|
2544
889
|
selectedItemNameWIndex: function() {
|
|
2545
890
|
return this.itemIsArray() && this.selectedArrayIndex !== null && this.selectedArrayIndex !== this.ALL.label ? `${this.selectedItemName}[${this.selectedArrayIndex}]` : this.selectedItemName;
|
|
891
|
+
},
|
|
892
|
+
includeLatestPacketInDropdown: function() {
|
|
893
|
+
return this.showLatest && this.mode === "tlm";
|
|
2546
894
|
}
|
|
2547
895
|
},
|
|
2548
896
|
watch: {
|
|
@@ -2575,39 +923,49 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2575
923
|
this.internalDisabled = !0;
|
|
2576
924
|
const t = this.mode === "tlm" ? "get_all_tlm_names" : "get_all_cmd_names";
|
|
2577
925
|
this.api[t](this.selectedTargetName, this.hidden).then((e) => {
|
|
2578
|
-
this.packetNames = e.map((
|
|
2579
|
-
label:
|
|
2580
|
-
value:
|
|
2581
|
-
})), this.allowAll && this.packetNames.unshift(this.ALL), this.selectedPacketName || (this.selectedPacketName = this.packetNames[0].value), this.updatePacketDetails(this.selectedPacketName), this.packetNames.find((
|
|
926
|
+
this.packetNames = e.map((c) => ({
|
|
927
|
+
label: c,
|
|
928
|
+
value: c
|
|
929
|
+
})), this.allowAll && this.packetNames.unshift(this.ALL), this.selectedPacketName || (this.selectedPacketName = this.packetNames[0].value), this.updatePacketDetails(this.selectedPacketName), this.packetNames.find((c) => c.value === this.selectedPacketName) && this.chooseItem && this.updateItems(), this.internalDisabled = !1;
|
|
2582
930
|
});
|
|
2583
931
|
},
|
|
2584
932
|
updateItems: function() {
|
|
2585
|
-
if (this.selectedPacketName
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
933
|
+
if (this.selectedPacketName !== "ALL")
|
|
934
|
+
if (this.internalDisabled = !0, this.selectedPacketName === "LATEST")
|
|
935
|
+
this.api.get_all_tlm_item_names(this.selectedTargetName).then((t) => {
|
|
936
|
+
this.itemNames = t.map((e) => ({
|
|
937
|
+
label: e,
|
|
938
|
+
value: e,
|
|
939
|
+
description: `LATEST ${e}`
|
|
940
|
+
// Don't handle array for LATEST
|
|
941
|
+
})), this.finishUpdateItems();
|
|
942
|
+
});
|
|
943
|
+
else {
|
|
944
|
+
const t = this.mode === "tlm" ? "get_tlm" : "get_cmd";
|
|
945
|
+
this.api[t](this.selectedTargetName, this.selectedPacketName).then(
|
|
946
|
+
(e) => {
|
|
947
|
+
this.itemNames = e.items.map((i) => {
|
|
948
|
+
let c = i.name;
|
|
949
|
+
return i.data_type == "DERIVED" && (c += " *"), {
|
|
950
|
+
label: c,
|
|
951
|
+
value: i.name,
|
|
952
|
+
description: i.description,
|
|
953
|
+
array: i.array_size / i.bit_size
|
|
954
|
+
};
|
|
955
|
+
}), this.itemNames.sort((i, c) => i.label > c.label ? 1 : -1), this.finishUpdateItems();
|
|
956
|
+
}
|
|
957
|
+
);
|
|
2609
958
|
}
|
|
2610
|
-
|
|
959
|
+
},
|
|
960
|
+
finishUpdateItems: function() {
|
|
961
|
+
this.allowAll && this.itemNames.unshift(this.ALL), this.selectedItemName || (this.selectedItemName = this.itemNames[0].value), this.description = this.itemNames[0].description, this.itemIsArray(), this.$emit("on-set", {
|
|
962
|
+
targetName: this.selectedTargetName,
|
|
963
|
+
packetName: this.selectedPacketName,
|
|
964
|
+
itemName: this.selectedItemNameWIndex,
|
|
965
|
+
valueType: this.selectedValueType,
|
|
966
|
+
reduced: this.selectedReduced,
|
|
967
|
+
reducedType: this.selectedReducedType
|
|
968
|
+
}), this.internalDisabled = !1;
|
|
2611
969
|
},
|
|
2612
970
|
itemIsArray: function() {
|
|
2613
971
|
let t = this.itemNames.findIndex(
|
|
@@ -2617,7 +975,7 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2617
975
|
},
|
|
2618
976
|
arrayIndexes: function() {
|
|
2619
977
|
let t = this.itemNames.findIndex(
|
|
2620
|
-
(
|
|
978
|
+
(i) => i.value === this.selectedItemName
|
|
2621
979
|
), e = [...Array(this.itemNames[t].array).keys()];
|
|
2622
980
|
return this.allowAll && e.unshift(this.ALL.label), e;
|
|
2623
981
|
},
|
|
@@ -2630,15 +988,17 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2630
988
|
updatePacketDetails: function(t) {
|
|
2631
989
|
if (t === "ALL")
|
|
2632
990
|
this.itemsDisabled = !0, this.internalDisabled = !1;
|
|
991
|
+
else if (t === "LATEST")
|
|
992
|
+
this.itemsDisabled = !1, this.selectedPacketName = "LATEST";
|
|
2633
993
|
else {
|
|
2634
994
|
this.itemsDisabled = !1;
|
|
2635
|
-
const e = this.packetNames.find((
|
|
995
|
+
const e = this.packetNames.find((i) => t === i.value);
|
|
2636
996
|
if (e) {
|
|
2637
997
|
this.selectedPacketName = e.value;
|
|
2638
|
-
const
|
|
2639
|
-
this.api[
|
|
2640
|
-
(
|
|
2641
|
-
this.description =
|
|
998
|
+
const i = this.mode === "tlm" ? "get_tlm" : "get_cmd";
|
|
999
|
+
this.api[i](this.selectedTargetName, this.selectedPacketName).then(
|
|
1000
|
+
(c) => {
|
|
1001
|
+
this.description = c.description, this.hazardous = c.hazardous;
|
|
2642
1002
|
}
|
|
2643
1003
|
);
|
|
2644
1004
|
}
|
|
@@ -2653,7 +1013,7 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2653
1013
|
});
|
|
2654
1014
|
},
|
|
2655
1015
|
itemNameChanged: function(t) {
|
|
2656
|
-
const e = this.itemNames.find((
|
|
1016
|
+
const e = this.itemNames.find((i) => t === i.value);
|
|
2657
1017
|
e && (this.itemIsArray(), this.selectedItemName = e.value, this.description = e.description, this.$emit("on-set", {
|
|
2658
1018
|
targetName: this.selectedTargetName,
|
|
2659
1019
|
packetName: this.selectedPacketName,
|
|
@@ -2694,12 +1054,12 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2694
1054
|
if (t === this.ALL) return;
|
|
2695
1055
|
const e = this.mode === "tlm" ? "get_tlm" : "get_cmd";
|
|
2696
1056
|
this.api[e](this.selectedTargetName, t.value).then(
|
|
2697
|
-
(
|
|
2698
|
-
|
|
1057
|
+
(i) => {
|
|
1058
|
+
i.items.forEach((c) => {
|
|
2699
1059
|
this.$emit("addItem", {
|
|
2700
1060
|
targetName: this.selectedTargetName,
|
|
2701
1061
|
packetName: t.value,
|
|
2702
|
-
itemName:
|
|
1062
|
+
itemName: c.name,
|
|
2703
1063
|
valueType: this.selectedValueType,
|
|
2704
1064
|
reduced: this.selectedReduced,
|
|
2705
1065
|
reducedType: this.selectedReducedType
|
|
@@ -2722,28 +1082,28 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2722
1082
|
});
|
|
2723
1083
|
}
|
|
2724
1084
|
}
|
|
2725
|
-
},
|
|
2726
|
-
function
|
|
2727
|
-
const u =
|
|
2728
|
-
return
|
|
2729
|
-
|
|
2730
|
-
"no-gutters": !
|
|
1085
|
+
}, ce = { class: "pt-4 pb-4" };
|
|
1086
|
+
function de(t, e, i, c, s, a) {
|
|
1087
|
+
const u = o("v-autocomplete"), m = o("v-col"), N = o("v-list-item"), v = o("v-divider"), p = o("v-combobox"), T = o("v-btn"), y = o("v-row");
|
|
1088
|
+
return _(), V("div", ce, [
|
|
1089
|
+
l(y, {
|
|
1090
|
+
"no-gutters": !i.vertical
|
|
2731
1091
|
}, {
|
|
2732
1092
|
default: n(() => [
|
|
2733
|
-
|
|
1093
|
+
l(m, {
|
|
2734
1094
|
cols: a.colSize,
|
|
2735
1095
|
class: "tpic-select pr-4",
|
|
2736
1096
|
"data-test": "select-target"
|
|
2737
1097
|
}, {
|
|
2738
1098
|
default: n(() => [
|
|
2739
|
-
|
|
1099
|
+
l(u, {
|
|
2740
1100
|
label: "Select Target",
|
|
2741
1101
|
"hide-details": "",
|
|
2742
1102
|
density: "compact",
|
|
2743
1103
|
variant: "outlined",
|
|
2744
1104
|
"onUpdate:modelValue": [
|
|
2745
1105
|
a.targetNameChanged,
|
|
2746
|
-
e[0] || (e[0] = (
|
|
1106
|
+
e[0] || (e[0] = (d) => s.selectedTargetName = d)
|
|
2747
1107
|
],
|
|
2748
1108
|
items: s.targetNames,
|
|
2749
1109
|
"item-title": "label",
|
|
@@ -2753,45 +1113,57 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2753
1113
|
]),
|
|
2754
1114
|
_: 1
|
|
2755
1115
|
}, 8, ["cols"]),
|
|
2756
|
-
|
|
1116
|
+
l(m, {
|
|
2757
1117
|
cols: a.colSize,
|
|
2758
1118
|
class: "tpic-select pr-4",
|
|
2759
1119
|
"data-test": "select-packet"
|
|
2760
1120
|
}, {
|
|
2761
1121
|
default: n(() => [
|
|
2762
|
-
|
|
1122
|
+
l(u, {
|
|
2763
1123
|
label: "Select Packet",
|
|
2764
1124
|
"hide-details": "",
|
|
2765
1125
|
density: "compact",
|
|
2766
1126
|
variant: "outlined",
|
|
2767
1127
|
"onUpdate:modelValue": [
|
|
2768
1128
|
a.packetNameChanged,
|
|
2769
|
-
e[
|
|
1129
|
+
e[2] || (e[2] = (d) => s.selectedPacketName = d)
|
|
2770
1130
|
],
|
|
2771
1131
|
disabled: s.packetsDisabled || a.autocompleteDisabled,
|
|
2772
1132
|
items: s.packetNames,
|
|
2773
1133
|
"item-title": "label",
|
|
2774
1134
|
"item-value": "value",
|
|
2775
1135
|
modelValue: s.selectedPacketName
|
|
2776
|
-
},
|
|
1136
|
+
}, K({ _: 2 }, [
|
|
1137
|
+
a.includeLatestPacketInDropdown ? {
|
|
1138
|
+
name: "prepend-item",
|
|
1139
|
+
fn: n(() => [
|
|
1140
|
+
l(N, {
|
|
1141
|
+
title: "LATEST",
|
|
1142
|
+
onClick: e[1] || (e[1] = (d) => a.packetNameChanged("LATEST"))
|
|
1143
|
+
}),
|
|
1144
|
+
l(v)
|
|
1145
|
+
]),
|
|
1146
|
+
key: "0"
|
|
1147
|
+
} : void 0
|
|
1148
|
+
]), 1032, ["onUpdate:modelValue", "disabled", "items", "modelValue"])
|
|
2777
1149
|
]),
|
|
2778
1150
|
_: 1
|
|
2779
1151
|
}, 8, ["cols"]),
|
|
2780
|
-
|
|
1152
|
+
i.chooseItem ? (_(), b(m, {
|
|
2781
1153
|
key: 0,
|
|
2782
1154
|
cols: a.colSize,
|
|
2783
1155
|
class: "tpic-select pr-4",
|
|
2784
1156
|
"data-test": "select-item"
|
|
2785
1157
|
}, {
|
|
2786
1158
|
default: n(() => [
|
|
2787
|
-
|
|
1159
|
+
l(u, {
|
|
2788
1160
|
label: "Select Item",
|
|
2789
1161
|
"hide-details": "",
|
|
2790
1162
|
density: "compact",
|
|
2791
1163
|
variant: "outlined",
|
|
2792
1164
|
"onUpdate:modelValue": [
|
|
2793
|
-
e[
|
|
2794
|
-
e[
|
|
1165
|
+
e[3] || (e[3] = (d) => a.itemNameChanged(d)),
|
|
1166
|
+
e[4] || (e[4] = (d) => s.selectedItemName = d)
|
|
2795
1167
|
],
|
|
2796
1168
|
disabled: s.itemsDisabled || a.autocompleteDisabled,
|
|
2797
1169
|
items: s.itemNames,
|
|
@@ -2801,8 +1173,8 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2801
1173
|
}, null, 8, ["disabled", "items", "modelValue"])
|
|
2802
1174
|
]),
|
|
2803
1175
|
_: 1
|
|
2804
|
-
}, 8, ["cols"])) :
|
|
2805
|
-
|
|
1176
|
+
}, 8, ["cols"])) : I("", !0),
|
|
1177
|
+
i.chooseItem && a.itemIsArray() ? (_(), b(m, {
|
|
2806
1178
|
key: 1,
|
|
2807
1179
|
cols: "1",
|
|
2808
1180
|
class: "tpic-select pr-4",
|
|
@@ -2810,14 +1182,14 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2810
1182
|
style: { "min-width": "105px" }
|
|
2811
1183
|
}, {
|
|
2812
1184
|
default: n(() => [
|
|
2813
|
-
|
|
1185
|
+
l(p, {
|
|
2814
1186
|
label: "Index",
|
|
2815
1187
|
"hide-details": "",
|
|
2816
1188
|
density: "compact",
|
|
2817
1189
|
variant: "outlined",
|
|
2818
1190
|
"onUpdate:modelValue": [
|
|
2819
|
-
e[
|
|
2820
|
-
e[
|
|
1191
|
+
e[5] || (e[5] = (d) => a.indexChanged(d)),
|
|
1192
|
+
e[6] || (e[6] = (d) => s.selectedArrayIndex = d)
|
|
2821
1193
|
],
|
|
2822
1194
|
disabled: s.itemsDisabled || a.autocompleteDisabled,
|
|
2823
1195
|
items: a.arrayIndexes(),
|
|
@@ -2827,79 +1199,79 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2827
1199
|
}, null, 8, ["disabled", "items", "modelValue"])
|
|
2828
1200
|
]),
|
|
2829
1201
|
_: 1
|
|
2830
|
-
})) :
|
|
2831
|
-
|
|
1202
|
+
})) : I("", !0),
|
|
1203
|
+
i.buttonText ? (_(), b(m, {
|
|
2832
1204
|
key: 2,
|
|
2833
1205
|
cols: a.colSize,
|
|
2834
1206
|
style: { "max-width": "140px" }
|
|
2835
1207
|
}, {
|
|
2836
1208
|
default: n(() => [
|
|
2837
|
-
|
|
1209
|
+
l(T, {
|
|
2838
1210
|
disabled: a.buttonDisabled,
|
|
2839
1211
|
color: "primary",
|
|
2840
1212
|
"data-test": "select-send",
|
|
2841
1213
|
onClick: a.buttonPressed
|
|
2842
1214
|
}, {
|
|
2843
1215
|
default: n(() => [
|
|
2844
|
-
|
|
1216
|
+
g(w(a.actualButtonText), 1)
|
|
2845
1217
|
]),
|
|
2846
1218
|
_: 1
|
|
2847
1219
|
}, 8, ["disabled", "onClick"])
|
|
2848
1220
|
]),
|
|
2849
1221
|
_: 1
|
|
2850
|
-
}, 8, ["cols"])) :
|
|
1222
|
+
}, 8, ["cols"])) : I("", !0)
|
|
2851
1223
|
]),
|
|
2852
1224
|
_: 1
|
|
2853
1225
|
}, 8, ["no-gutters"]),
|
|
2854
|
-
|
|
1226
|
+
i.selectTypes ? (_(), b(y, {
|
|
2855
1227
|
key: 0,
|
|
2856
1228
|
"no-gutters": "",
|
|
2857
1229
|
class: "pt-6"
|
|
2858
1230
|
}, {
|
|
2859
1231
|
default: n(() => [
|
|
2860
|
-
|
|
1232
|
+
l(m, {
|
|
2861
1233
|
cols: a.colSize,
|
|
2862
1234
|
class: "tpic-select pr-4",
|
|
2863
1235
|
"data-test": "data-type"
|
|
2864
1236
|
}, {
|
|
2865
1237
|
default: n(() => [
|
|
2866
|
-
|
|
1238
|
+
l(u, {
|
|
2867
1239
|
label: "Value Type",
|
|
2868
1240
|
"hide-details": "",
|
|
2869
1241
|
density: "compact",
|
|
2870
1242
|
variant: "outlined",
|
|
2871
1243
|
items: s.valueTypes,
|
|
2872
1244
|
modelValue: s.selectedValueType,
|
|
2873
|
-
"onUpdate:modelValue": e[
|
|
1245
|
+
"onUpdate:modelValue": e[7] || (e[7] = (d) => s.selectedValueType = d)
|
|
2874
1246
|
}, null, 8, ["items", "modelValue"])
|
|
2875
1247
|
]),
|
|
2876
1248
|
_: 1
|
|
2877
1249
|
}, 8, ["cols"]),
|
|
2878
|
-
|
|
1250
|
+
l(m, {
|
|
2879
1251
|
cols: a.colSize,
|
|
2880
1252
|
class: "tpic-select pr-4",
|
|
2881
1253
|
"data-test": "reduced"
|
|
2882
1254
|
}, {
|
|
2883
1255
|
default: n(() => [
|
|
2884
|
-
|
|
1256
|
+
l(u, {
|
|
2885
1257
|
label: "Reduced",
|
|
2886
1258
|
"hide-details": "",
|
|
2887
1259
|
density: "compact",
|
|
2888
1260
|
variant: "outlined",
|
|
2889
1261
|
items: s.reductionModes,
|
|
2890
1262
|
modelValue: s.selectedReduced,
|
|
2891
|
-
"onUpdate:modelValue": e[
|
|
1263
|
+
"onUpdate:modelValue": e[8] || (e[8] = (d) => s.selectedReduced = d)
|
|
2892
1264
|
}, null, 8, ["items", "modelValue"])
|
|
2893
1265
|
]),
|
|
2894
1266
|
_: 1
|
|
2895
1267
|
}, 8, ["cols"]),
|
|
2896
|
-
|
|
1268
|
+
l(m, {
|
|
2897
1269
|
cols: a.colSize,
|
|
2898
1270
|
class: "tpic-select pr-4",
|
|
2899
1271
|
"data-test": "reduced-type"
|
|
2900
1272
|
}, {
|
|
2901
1273
|
default: n(() => [
|
|
2902
|
-
|
|
1274
|
+
l(u, {
|
|
2903
1275
|
label: "Reduced Type",
|
|
2904
1276
|
"hide-details": "",
|
|
2905
1277
|
density: "compact",
|
|
@@ -2907,32 +1279,32 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2907
1279
|
disabled: s.selectedReduced === "DECOM",
|
|
2908
1280
|
items: s.reducedTypes,
|
|
2909
1281
|
modelValue: s.selectedReducedType,
|
|
2910
|
-
"onUpdate:modelValue": e[
|
|
1282
|
+
"onUpdate:modelValue": e[9] || (e[9] = (d) => s.selectedReducedType = d)
|
|
2911
1283
|
}, null, 8, ["disabled", "items", "modelValue"])
|
|
2912
1284
|
]),
|
|
2913
1285
|
_: 1
|
|
2914
1286
|
}, 8, ["cols"]),
|
|
2915
|
-
|
|
1287
|
+
l(m, {
|
|
2916
1288
|
cols: a.colSize,
|
|
2917
1289
|
style: { "max-width": "140px" }
|
|
2918
1290
|
}, null, 8, ["cols"])
|
|
2919
1291
|
]),
|
|
2920
1292
|
_: 1
|
|
2921
|
-
})) :
|
|
2922
|
-
|
|
1293
|
+
})) : I("", !0),
|
|
1294
|
+
l(y, {
|
|
2923
1295
|
"no-gutters": "",
|
|
2924
1296
|
class: "pa-3"
|
|
2925
1297
|
}, {
|
|
2926
1298
|
default: n(() => [
|
|
2927
|
-
|
|
1299
|
+
l(m, {
|
|
2928
1300
|
cols: a.colSize,
|
|
2929
|
-
class:
|
|
1301
|
+
class: W({ "openc3-yellow": s.hazardous })
|
|
2930
1302
|
}, {
|
|
2931
1303
|
default: n(() => [
|
|
2932
|
-
|
|
2933
|
-
s.hazardous ? (
|
|
2934
|
-
|
|
2935
|
-
], 64)) :
|
|
1304
|
+
g(" Description: " + w(s.description) + " ", 1),
|
|
1305
|
+
s.hazardous ? (_(), V(M, { key: 0 }, [
|
|
1306
|
+
g(" (HAZARDOUS) ")
|
|
1307
|
+
], 64)) : I("", !0)
|
|
2936
1308
|
]),
|
|
2937
1309
|
_: 1
|
|
2938
1310
|
}, 8, ["cols", "class"])
|
|
@@ -2941,33 +1313,34 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2941
1313
|
})
|
|
2942
1314
|
]);
|
|
2943
1315
|
}
|
|
2944
|
-
const
|
|
1316
|
+
const we = /* @__PURE__ */ C(oe, [["render", de], ["__scopeId", "data-v-17a5870b"]]);
|
|
2945
1317
|
export {
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
1318
|
+
Ie as AceEditorModes,
|
|
1319
|
+
De as AceEditorUtils,
|
|
1320
|
+
Ne as Config,
|
|
1321
|
+
We as CriticalCmdDialog,
|
|
1322
|
+
Oe as DataViewerComponent,
|
|
1323
|
+
Be as DataViewerHistoryComponent,
|
|
1324
|
+
ze as DetailsDialog,
|
|
1325
|
+
Re as EditScreenDialog,
|
|
1326
|
+
Ge as EnvironmentChooser,
|
|
1327
|
+
Le as EnvironmentDialog,
|
|
1328
|
+
Se as FileOpenSaveDialog,
|
|
1329
|
+
qe as Graph,
|
|
1330
|
+
Je as GraphEditDialog,
|
|
1331
|
+
Ze as GraphEditItemDialog,
|
|
1332
|
+
ye as LogMessages,
|
|
1333
|
+
be as NotFound,
|
|
1334
|
+
ve as OpenConfigDialog,
|
|
1335
|
+
Ee as Openc3Screen,
|
|
1336
|
+
xe as OutputDialog,
|
|
1337
|
+
_e as SaveConfigDialog,
|
|
1338
|
+
Ue as ScreenCompleter,
|
|
1339
|
+
He as ScriptChooser,
|
|
1340
|
+
Xe as SimpleTextDialog,
|
|
1341
|
+
we as TargetPacketItemChooser,
|
|
1342
|
+
$e as TextBoxDialog,
|
|
1343
|
+
Ae as TopBar,
|
|
1344
|
+
tt as UpgradeToEnterpriseDialog
|
|
2972
1345
|
};
|
|
2973
1346
|
//# sourceMappingURL=components.js.map
|