@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
|
@@ -0,0 +1,1509 @@
|
|
|
1
|
+
import { l as x } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js";
|
|
2
|
+
import { T as N } from "./timeFilters-BKnCM4rv.js";
|
|
3
|
+
import { resolveComponent as o, createElementBlock as V, openBlock as p, createVNode as i, withCtx as n, createSlots as Z, createElementVNode as v, withDirectives as A, toDisplayString as C, vShow as q, createBlock as E, createCommentVNode as U, createTextVNode as D, withModifiers as O, mergeProps as z, Fragment as P, renderList as B } from "vue";
|
|
4
|
+
import { _ as M } from "./CustomIcon-h5X7369N.js";
|
|
5
|
+
import { S as j, E as L } from "./ScriptChooser-qiC2xQ_W.js";
|
|
6
|
+
import "single-spa";
|
|
7
|
+
import { a as K, p as W } from "./parse-DnkEsW-3.js";
|
|
8
|
+
import { a as Y } from "./addMonths-BtG7uZLJ.js";
|
|
9
|
+
import { t as G, c as J, f as I } from "./format-CVeawcIv.js";
|
|
10
|
+
function Q(e, t, s) {
|
|
11
|
+
const {
|
|
12
|
+
years: r = 0,
|
|
13
|
+
months: a = 0,
|
|
14
|
+
weeks: l = 0,
|
|
15
|
+
days: d = 0,
|
|
16
|
+
hours: u = 0,
|
|
17
|
+
minutes: b = 0,
|
|
18
|
+
seconds: m = 0
|
|
19
|
+
} = t, y = G(e, s == null ? void 0 : s.in), f = a || r ? Y(y, a + r * 12) : y, k = d || l ? K(f, d + l * 7) : f, g = b + u * 60, S = (m + g * 60) * 1e3;
|
|
20
|
+
return J(e, +k + S);
|
|
21
|
+
}
|
|
22
|
+
const F = {
|
|
23
|
+
props: {
|
|
24
|
+
date: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
27
|
+
time: {
|
|
28
|
+
type: String
|
|
29
|
+
},
|
|
30
|
+
timeZone: {
|
|
31
|
+
type: String
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
startDate: "",
|
|
37
|
+
startTime: "",
|
|
38
|
+
endDate: "",
|
|
39
|
+
endTime: ""
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
calcStartDateTime: function() {
|
|
44
|
+
this.date ? (this.startDate = this.date, this.endDate = this.date) : (this.startDate = I(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), this.endDate = I(/* @__PURE__ */ new Date(), "yyyy-MM-dd"));
|
|
45
|
+
let e = 1e3 * 60 * 30, t = null;
|
|
46
|
+
this.time ? (t = W(this.time, "HH:mm:ss", /* @__PURE__ */ new Date()), t = new Date(Math.floor(t.getTime() / e) * e)) : t = new Date(Math.ceil((/* @__PURE__ */ new Date()).getTime() / e) * e), this.startTime = I(t, "HH:mm:ss"), this.endTime = I(Q(t, { minutes: 30 }), "HH:mm:ss");
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, X = {
|
|
50
|
+
components: {
|
|
51
|
+
EnvironmentChooser: L,
|
|
52
|
+
ScriptChooser: j
|
|
53
|
+
},
|
|
54
|
+
mixins: [F, N],
|
|
55
|
+
props: {
|
|
56
|
+
modelValue: Boolean,
|
|
57
|
+
timelines: {
|
|
58
|
+
type: Array,
|
|
59
|
+
required: !0
|
|
60
|
+
},
|
|
61
|
+
activity: {
|
|
62
|
+
type: Object,
|
|
63
|
+
default: null
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
data() {
|
|
67
|
+
return {
|
|
68
|
+
timeline: null,
|
|
69
|
+
dialogStep: 1,
|
|
70
|
+
kind: "",
|
|
71
|
+
types: ["COMMAND", "SCRIPT", "RESERVE"],
|
|
72
|
+
activityData: "",
|
|
73
|
+
activityEnvironment: [],
|
|
74
|
+
rules: {
|
|
75
|
+
required: (e) => !!e || "Required"
|
|
76
|
+
},
|
|
77
|
+
recurring: !1,
|
|
78
|
+
recurringEndDate: null,
|
|
79
|
+
recurringEndTime: null,
|
|
80
|
+
frequency: 90,
|
|
81
|
+
timeSpan: "minutes",
|
|
82
|
+
timeSpans: ["minutes", "hours", "days"]
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
computed: {
|
|
86
|
+
timeError: function() {
|
|
87
|
+
const e = /* @__PURE__ */ new Date(), t = Date.parse(`${this.startDate}T${this.startTime}`), s = Date.parse(`${this.endDate}T${this.endTime}`);
|
|
88
|
+
return t === s ? "Invalid start, end time. Activity must have different start and end times." : e > t ? "Invalid start time. Activity must be in the future." : t > s ? "Invalid start time. Activity start before end." : null;
|
|
89
|
+
},
|
|
90
|
+
typeError: function() {
|
|
91
|
+
return this.timeline ? this.kind !== "RESERVE" && !this.activityData ? "No data is selected or inputted" : null : "Activity must have a timeline selected.";
|
|
92
|
+
},
|
|
93
|
+
timelineNames: function() {
|
|
94
|
+
return this.timelines.map((e) => e.name);
|
|
95
|
+
},
|
|
96
|
+
show: {
|
|
97
|
+
get() {
|
|
98
|
+
return this.modelValue;
|
|
99
|
+
},
|
|
100
|
+
set(e) {
|
|
101
|
+
this.$emit("update:modelValue", e);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
mounted: function() {
|
|
106
|
+
this.updateValues();
|
|
107
|
+
},
|
|
108
|
+
methods: {
|
|
109
|
+
changeKind: function(e) {
|
|
110
|
+
e !== this.kind && (this.kind = e, this.activityData = "");
|
|
111
|
+
},
|
|
112
|
+
fileHandler: function(e) {
|
|
113
|
+
this.activityData = e;
|
|
114
|
+
},
|
|
115
|
+
updateValues: function() {
|
|
116
|
+
var e;
|
|
117
|
+
if (this.dialogStep = 1, this.activity) {
|
|
118
|
+
this.timeline = this.activity.name;
|
|
119
|
+
const t = new Date(this.activity.start * 1e3), s = new Date(this.activity.stop * 1e3);
|
|
120
|
+
if (this.startDate = this.formatDate(t, this.timeZone), this.startTime = this.formatTimeHMS(t, this.timeZone), this.endDate = this.formatDate(s, this.timeZone), this.endTime = this.formatTimeHMS(s, this.timeZone), this.kind = this.activity.kind.toUpperCase(), this.activityData = this.activity.data[this.activity.kind], this.activityEnvironment = this.activity.data.environment, (e = this.activity.recurring) != null && e.uuid) {
|
|
121
|
+
this.recurring = !0;
|
|
122
|
+
const r = new Date(this.activity.recurring.end * 1e3);
|
|
123
|
+
this.recurringEndDate = this.formatDate(r, this.timeZone), this.recurringEndTime = this.formatTimeHMS(r, this.timeZone), this.frequency = this.activity.recurring.frequency, this.timeSpan = this.activity.recurring.span;
|
|
124
|
+
}
|
|
125
|
+
} else
|
|
126
|
+
this.calcStartDateTime(), this.recurringEndDate = this.startDate, this.recurringEndTime = this.startTime, this.kind = "", this.activityData = "", this.activityEnvironment = [], this.timeline = this.timelineNames[0];
|
|
127
|
+
},
|
|
128
|
+
clearHandler: function() {
|
|
129
|
+
this.show = !this.show;
|
|
130
|
+
},
|
|
131
|
+
submitHandler() {
|
|
132
|
+
let e = null, t = null, s = null;
|
|
133
|
+
this.timeZone === "local" ? (e = (/* @__PURE__ */ new Date(this.startDate + " " + this.startTime)).toISOString(), t = (/* @__PURE__ */ new Date(this.endDate + " " + this.endTime)).toISOString(), this.recurring && (s = (/* @__PURE__ */ new Date(
|
|
134
|
+
this.recurringEndDate + " " + this.recurringEndTime
|
|
135
|
+
)).toISOString())) : (e = (/* @__PURE__ */ new Date(
|
|
136
|
+
this.startDate + " " + this.startTime + "Z"
|
|
137
|
+
)).toISOString(), t = (/* @__PURE__ */ new Date(this.endDate + " " + this.endTime + "Z")).toISOString(), this.recurring && (s = (/* @__PURE__ */ new Date(
|
|
138
|
+
this.recurringEndDate + " " + this.recurringEndTime + "Z"
|
|
139
|
+
)).toISOString()));
|
|
140
|
+
const r = this.kind.toLowerCase();
|
|
141
|
+
let a = { environment: this.activityEnvironment };
|
|
142
|
+
a[r] = this.activityData;
|
|
143
|
+
let l = {};
|
|
144
|
+
this.recurring && (l = {
|
|
145
|
+
frequency: this.frequency,
|
|
146
|
+
span: this.timeSpan,
|
|
147
|
+
end: s
|
|
148
|
+
}), this.activity ? x.put(
|
|
149
|
+
`/openc3-api/timeline/${this.activity.name}/activity/${this.activity.start}`,
|
|
150
|
+
{
|
|
151
|
+
data: { start: e, stop: t, kind: r, data: a, recurring: l }
|
|
152
|
+
}
|
|
153
|
+
).then((d) => {
|
|
154
|
+
const u = this.formatSeconds(
|
|
155
|
+
new Date(d.data.start * 1e3)
|
|
156
|
+
);
|
|
157
|
+
this.$notify.normal({
|
|
158
|
+
title: "Updated Activity",
|
|
159
|
+
body: `${u} (${d.data.start}) on timeline: ${d.data.name}`
|
|
160
|
+
}), this.$emit("update", d.data), this.show = !this.show;
|
|
161
|
+
}).catch((d) => {
|
|
162
|
+
this.show = !this.show;
|
|
163
|
+
}) : x.post(`/openc3-api/timeline/${this.timeline}/activities`, {
|
|
164
|
+
data: { start: e, stop: t, kind: r, data: a, recurring: l }
|
|
165
|
+
}).then((d) => {
|
|
166
|
+
const u = this.formatSeconds(
|
|
167
|
+
new Date(d.data.start * 1e3)
|
|
168
|
+
);
|
|
169
|
+
this.$notify.normal({
|
|
170
|
+
title: "Created Activity",
|
|
171
|
+
body: `${u} (${d.data.start}) on timeline: ${d.data.name}`
|
|
172
|
+
}), this.$emit("update", d.data), this.show = !this.show;
|
|
173
|
+
}).catch((d) => {
|
|
174
|
+
this.show = !this.show;
|
|
175
|
+
}), this.clearHandler();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}, $ = { key: 0 }, tt = { key: 1 }, et = { class: "pr-2" }, at = ["textContent"], it = { class: "pr-2" }, nt = { key: 0 }, lt = {
|
|
179
|
+
key: 1,
|
|
180
|
+
class: "ma-3"
|
|
181
|
+
}, st = { key: 2 }, ot = ["textContent"];
|
|
182
|
+
function dt(e, t, s, r, a, l) {
|
|
183
|
+
const d = o("v-spacer"), u = o("v-btn"), b = o("v-toolbar"), m = o("v-row"), y = o("v-select"), f = o("v-text-field"), k = o("v-checkbox"), g = o("v-col"), T = o("v-card-text"), S = o("script-chooser"), _ = o("environment-chooser"), w = o("v-stepper"), H = o("v-card"), h = o("v-dialog");
|
|
184
|
+
return p(), V("div", null, [
|
|
185
|
+
i(h, {
|
|
186
|
+
modelValue: l.show,
|
|
187
|
+
"onUpdate:modelValue": t[15] || (t[15] = (c) => l.show = c),
|
|
188
|
+
persistent: "",
|
|
189
|
+
width: "600"
|
|
190
|
+
}, {
|
|
191
|
+
default: n(() => [
|
|
192
|
+
i(H, null, {
|
|
193
|
+
default: n(() => [
|
|
194
|
+
i(b, { height: "24" }, {
|
|
195
|
+
default: n(() => [
|
|
196
|
+
i(d),
|
|
197
|
+
s.activity ? (p(), V("span", $, "Edit Activity")) : (p(), V("span", tt, "Create Activity")),
|
|
198
|
+
i(d),
|
|
199
|
+
i(u, {
|
|
200
|
+
icon: "mdi-close-box",
|
|
201
|
+
variant: "text",
|
|
202
|
+
density: "compact",
|
|
203
|
+
"data-test": "close-note-icon",
|
|
204
|
+
onClick: l.clearHandler
|
|
205
|
+
}, null, 8, ["onClick"])
|
|
206
|
+
]),
|
|
207
|
+
_: 1
|
|
208
|
+
}),
|
|
209
|
+
i(w, {
|
|
210
|
+
modelValue: a.dialogStep,
|
|
211
|
+
"onUpdate:modelValue": t[14] || (t[14] = (c) => a.dialogStep = c),
|
|
212
|
+
editable: "",
|
|
213
|
+
items: ["Activity Times", "Activity Type"]
|
|
214
|
+
}, Z({
|
|
215
|
+
"item.1": n(() => [
|
|
216
|
+
i(T, null, {
|
|
217
|
+
default: n(() => [
|
|
218
|
+
v("div", et, [
|
|
219
|
+
i(y, {
|
|
220
|
+
modelValue: a.timeline,
|
|
221
|
+
"onUpdate:modelValue": t[1] || (t[1] = (c) => a.timeline = c),
|
|
222
|
+
density: "compact",
|
|
223
|
+
"hide-details": "",
|
|
224
|
+
variant: "outlined",
|
|
225
|
+
items: l.timelineNames,
|
|
226
|
+
label: "Timeline",
|
|
227
|
+
"data-test": "activity-select-timeline",
|
|
228
|
+
class: "pb-2"
|
|
229
|
+
}, null, 8, ["modelValue", "items"]),
|
|
230
|
+
i(m, { dense: "" }, {
|
|
231
|
+
default: n(() => [
|
|
232
|
+
i(f, {
|
|
233
|
+
modelValue: e.startDate,
|
|
234
|
+
"onUpdate:modelValue": t[2] || (t[2] = (c) => e.startDate = c),
|
|
235
|
+
type: "date",
|
|
236
|
+
label: "Start Date",
|
|
237
|
+
class: "mx-1",
|
|
238
|
+
rules: [a.rules.required],
|
|
239
|
+
"data-test": "activity-start-date"
|
|
240
|
+
}, null, 8, ["modelValue", "rules"]),
|
|
241
|
+
i(f, {
|
|
242
|
+
modelValue: e.startTime,
|
|
243
|
+
"onUpdate:modelValue": t[3] || (t[3] = (c) => e.startTime = c),
|
|
244
|
+
type: "time",
|
|
245
|
+
step: "1",
|
|
246
|
+
label: "Start Time",
|
|
247
|
+
class: "mx-1",
|
|
248
|
+
rules: [a.rules.required],
|
|
249
|
+
"data-test": "activity-start-time"
|
|
250
|
+
}, null, 8, ["modelValue", "rules"])
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
}),
|
|
254
|
+
i(m, { dense: "" }, {
|
|
255
|
+
default: n(() => [
|
|
256
|
+
i(f, {
|
|
257
|
+
modelValue: e.endDate,
|
|
258
|
+
"onUpdate:modelValue": t[4] || (t[4] = (c) => e.endDate = c),
|
|
259
|
+
type: "date",
|
|
260
|
+
label: "End Date",
|
|
261
|
+
class: "mx-1",
|
|
262
|
+
rules: [a.rules.required],
|
|
263
|
+
"data-test": "activity-end-date"
|
|
264
|
+
}, null, 8, ["modelValue", "rules"]),
|
|
265
|
+
i(f, {
|
|
266
|
+
modelValue: e.endTime,
|
|
267
|
+
"onUpdate:modelValue": t[5] || (t[5] = (c) => e.endTime = c),
|
|
268
|
+
type: "time",
|
|
269
|
+
step: "1",
|
|
270
|
+
label: "End Time",
|
|
271
|
+
class: "mx-1",
|
|
272
|
+
rules: [a.rules.required],
|
|
273
|
+
"data-test": "activity-end-time"
|
|
274
|
+
}, null, 8, ["modelValue", "rules"])
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}),
|
|
278
|
+
i(m, { class: "pl-3" }, {
|
|
279
|
+
default: n(() => [
|
|
280
|
+
i(k, {
|
|
281
|
+
modelValue: a.recurring,
|
|
282
|
+
"onUpdate:modelValue": t[6] || (t[6] = (c) => a.recurring = c),
|
|
283
|
+
disabled: !!s.activity,
|
|
284
|
+
label: "Recurring",
|
|
285
|
+
"hide-details": "",
|
|
286
|
+
"data-test": "recurring"
|
|
287
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
}),
|
|
291
|
+
a.recurring ? (p(), E(m, { key: 0 }, {
|
|
292
|
+
default: n(() => [
|
|
293
|
+
i(g, null, {
|
|
294
|
+
default: n(() => t[19] || (t[19] = [
|
|
295
|
+
v("div", { class: "repeat" }, "Repeat every", -1)
|
|
296
|
+
])),
|
|
297
|
+
_: 1
|
|
298
|
+
}),
|
|
299
|
+
i(g, null, {
|
|
300
|
+
default: n(() => [
|
|
301
|
+
i(f, {
|
|
302
|
+
modelValue: a.frequency,
|
|
303
|
+
"onUpdate:modelValue": t[7] || (t[7] = (c) => a.frequency = c),
|
|
304
|
+
disabled: !!s.activity,
|
|
305
|
+
density: "compact",
|
|
306
|
+
variant: "outlined",
|
|
307
|
+
"single-line": "",
|
|
308
|
+
"hide-details": "",
|
|
309
|
+
"data-test": "recurring-frequency"
|
|
310
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
311
|
+
]),
|
|
312
|
+
_: 1
|
|
313
|
+
}),
|
|
314
|
+
i(g, null, {
|
|
315
|
+
default: n(() => [
|
|
316
|
+
i(y, {
|
|
317
|
+
modelValue: a.timeSpan,
|
|
318
|
+
"onUpdate:modelValue": t[8] || (t[8] = (c) => a.timeSpan = c),
|
|
319
|
+
disabled: !!s.activity,
|
|
320
|
+
items: a.timeSpans,
|
|
321
|
+
style: {},
|
|
322
|
+
"hide-details": "",
|
|
323
|
+
density: "compact",
|
|
324
|
+
variant: "outlined",
|
|
325
|
+
"data-test": "recurring-span"
|
|
326
|
+
}, null, 8, ["modelValue", "disabled", "items"])
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
})
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
})) : U("", !0),
|
|
333
|
+
a.recurring ? (p(), E(m, {
|
|
334
|
+
key: 1,
|
|
335
|
+
style: { "padding-bottom": "10px" }
|
|
336
|
+
}, {
|
|
337
|
+
default: n(() => [
|
|
338
|
+
i(g, null, {
|
|
339
|
+
default: n(() => t[20] || (t[20] = [
|
|
340
|
+
v("div", { class: "repeat" }, "Ending", -1)
|
|
341
|
+
])),
|
|
342
|
+
_: 1
|
|
343
|
+
}),
|
|
344
|
+
i(g, null, {
|
|
345
|
+
default: n(() => [
|
|
346
|
+
i(f, {
|
|
347
|
+
modelValue: a.recurringEndDate,
|
|
348
|
+
"onUpdate:modelValue": t[9] || (t[9] = (c) => a.recurringEndDate = c),
|
|
349
|
+
type: "date",
|
|
350
|
+
label: "End Date",
|
|
351
|
+
class: "mx-1",
|
|
352
|
+
rules: [a.rules.required],
|
|
353
|
+
disabled: !!s.activity,
|
|
354
|
+
"data-test": "recurring-end-date"
|
|
355
|
+
}, null, 8, ["modelValue", "rules", "disabled"])
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}),
|
|
359
|
+
i(g, null, {
|
|
360
|
+
default: n(() => [
|
|
361
|
+
i(f, {
|
|
362
|
+
modelValue: a.recurringEndTime,
|
|
363
|
+
"onUpdate:modelValue": t[10] || (t[10] = (c) => a.recurringEndTime = c),
|
|
364
|
+
type: "time",
|
|
365
|
+
step: "1",
|
|
366
|
+
label: "End Time",
|
|
367
|
+
class: "mx-1",
|
|
368
|
+
rules: [a.rules.required],
|
|
369
|
+
disabled: !!s.activity,
|
|
370
|
+
"data-test": "recurring-end-time"
|
|
371
|
+
}, null, 8, ["modelValue", "rules", "disabled"])
|
|
372
|
+
]),
|
|
373
|
+
_: 1
|
|
374
|
+
})
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
})) : U("", !0),
|
|
378
|
+
i(m, null, {
|
|
379
|
+
default: n(() => [
|
|
380
|
+
A(v("span", {
|
|
381
|
+
class: "ma-2 text-red",
|
|
382
|
+
textContent: C(l.timeError)
|
|
383
|
+
}, null, 8, at), [
|
|
384
|
+
[q, l.timeError]
|
|
385
|
+
])
|
|
386
|
+
]),
|
|
387
|
+
_: 1
|
|
388
|
+
})
|
|
389
|
+
])
|
|
390
|
+
]),
|
|
391
|
+
_: 1
|
|
392
|
+
})
|
|
393
|
+
]),
|
|
394
|
+
"item.2": n(() => [
|
|
395
|
+
i(T, null, {
|
|
396
|
+
default: n(() => [
|
|
397
|
+
v("div", it, [
|
|
398
|
+
i(y, {
|
|
399
|
+
modelValue: a.kind,
|
|
400
|
+
"onUpdate:modelValue": t[11] || (t[11] = (c) => a.kind = c),
|
|
401
|
+
density: "compact",
|
|
402
|
+
"hide-details": "",
|
|
403
|
+
variant: "outlined",
|
|
404
|
+
items: a.types,
|
|
405
|
+
label: "Activity Type",
|
|
406
|
+
"data-test": "activity-select-type",
|
|
407
|
+
class: "pb-2"
|
|
408
|
+
}, null, 8, ["modelValue", "items"]),
|
|
409
|
+
a.kind === "COMMAND" ? (p(), V("div", nt, [
|
|
410
|
+
i(f, {
|
|
411
|
+
modelValue: a.activityData,
|
|
412
|
+
"onUpdate:modelValue": t[12] || (t[12] = (c) => a.activityData = c),
|
|
413
|
+
type: "text",
|
|
414
|
+
label: "Command Input",
|
|
415
|
+
placeholder: "INST COLLECT with TYPE 0, DURATION 1, OPCODE 171, TEMP 0",
|
|
416
|
+
prefix: "cmd('",
|
|
417
|
+
suffix: "')",
|
|
418
|
+
hint: "Timeline runs commands with cmd_no_hazardous_check",
|
|
419
|
+
"data-test": "activity-cmd"
|
|
420
|
+
}, null, 8, ["modelValue"])
|
|
421
|
+
])) : a.kind === "SCRIPT" ? (p(), V("div", lt, [
|
|
422
|
+
i(S, { onFile: l.fileHandler }, null, 8, ["onFile"]),
|
|
423
|
+
i(_, {
|
|
424
|
+
modelValue: a.activityEnvironment,
|
|
425
|
+
"onUpdate:modelValue": t[13] || (t[13] = (c) => a.activityEnvironment = c)
|
|
426
|
+
}, null, 8, ["modelValue"])
|
|
427
|
+
])) : (p(), V("div", st, t[21] || (t[21] = [
|
|
428
|
+
v("span", { class: "ma-2" }, " No required input ", -1)
|
|
429
|
+
]))),
|
|
430
|
+
A(i(m, { class: "mt-2" }, {
|
|
431
|
+
default: n(() => [
|
|
432
|
+
v("span", {
|
|
433
|
+
class: "ma-2 text-red",
|
|
434
|
+
textContent: C(l.typeError)
|
|
435
|
+
}, null, 8, ot)
|
|
436
|
+
]),
|
|
437
|
+
_: 1
|
|
438
|
+
}, 512), [
|
|
439
|
+
[q, l.typeError]
|
|
440
|
+
])
|
|
441
|
+
])
|
|
442
|
+
]),
|
|
443
|
+
_: 1
|
|
444
|
+
})
|
|
445
|
+
]),
|
|
446
|
+
_: 2
|
|
447
|
+
}, [
|
|
448
|
+
a.dialogStep === 2 ? {
|
|
449
|
+
name: "actions",
|
|
450
|
+
fn: n(() => [
|
|
451
|
+
i(m, { class: "ma-0 px-6 pb-4" }, {
|
|
452
|
+
default: n(() => [
|
|
453
|
+
i(u, {
|
|
454
|
+
variant: "text",
|
|
455
|
+
onClick: t[0] || (t[0] = () => a.dialogStep -= 1)
|
|
456
|
+
}, {
|
|
457
|
+
default: n(() => t[16] || (t[16] = [
|
|
458
|
+
D(" Previous ")
|
|
459
|
+
])),
|
|
460
|
+
_: 1
|
|
461
|
+
}),
|
|
462
|
+
i(d),
|
|
463
|
+
i(u, {
|
|
464
|
+
variant: "outlined",
|
|
465
|
+
class: "mr-4",
|
|
466
|
+
onClick: l.clearHandler
|
|
467
|
+
}, {
|
|
468
|
+
default: n(() => t[17] || (t[17] = [
|
|
469
|
+
D(" Cancel ")
|
|
470
|
+
])),
|
|
471
|
+
_: 1
|
|
472
|
+
}, 8, ["onClick"]),
|
|
473
|
+
i(u, {
|
|
474
|
+
type: "submit",
|
|
475
|
+
color: "primary",
|
|
476
|
+
disabled: !!e.error,
|
|
477
|
+
onClick: O(l.submitHandler, ["prevent"])
|
|
478
|
+
}, {
|
|
479
|
+
default: n(() => t[18] || (t[18] = [
|
|
480
|
+
D(" Ok ")
|
|
481
|
+
])),
|
|
482
|
+
_: 1
|
|
483
|
+
}, 8, ["disabled", "onClick"])
|
|
484
|
+
]),
|
|
485
|
+
_: 1
|
|
486
|
+
})
|
|
487
|
+
]),
|
|
488
|
+
key: "0"
|
|
489
|
+
} : void 0
|
|
490
|
+
]), 1032, ["modelValue"])
|
|
491
|
+
]),
|
|
492
|
+
_: 1
|
|
493
|
+
})
|
|
494
|
+
]),
|
|
495
|
+
_: 1
|
|
496
|
+
}, 8, ["modelValue"])
|
|
497
|
+
]);
|
|
498
|
+
}
|
|
499
|
+
const rt = /* @__PURE__ */ M(X, [["render", dt], ["__scopeId", "data-v-a2610a2a"]]), ut = {
|
|
500
|
+
components: {},
|
|
501
|
+
props: {
|
|
502
|
+
modelValue: {
|
|
503
|
+
type: String,
|
|
504
|
+
required: !0
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
computed: {
|
|
508
|
+
color: {
|
|
509
|
+
get() {
|
|
510
|
+
return this.modelValue;
|
|
511
|
+
},
|
|
512
|
+
set(e) {
|
|
513
|
+
this.$emit("update:modelValue", e);
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
swatches: function() {
|
|
517
|
+
return [
|
|
518
|
+
"#005a8f",
|
|
519
|
+
"#003784",
|
|
520
|
+
"#8F3400",
|
|
521
|
+
"#df1368",
|
|
522
|
+
"#ff5252",
|
|
523
|
+
"#df323b",
|
|
524
|
+
"#9f0010",
|
|
525
|
+
"#2d9437",
|
|
526
|
+
"#004700",
|
|
527
|
+
"#db7200",
|
|
528
|
+
"#802700",
|
|
529
|
+
"#0f2941"
|
|
530
|
+
];
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
methods: {}
|
|
534
|
+
};
|
|
535
|
+
function mt(e, t, s, r, a, l) {
|
|
536
|
+
const d = o("v-icon"), u = o("v-list-item"), b = o("v-select");
|
|
537
|
+
return p(), V("div", null, [
|
|
538
|
+
i(b, {
|
|
539
|
+
label: "Color",
|
|
540
|
+
items: l.swatches,
|
|
541
|
+
modelValue: l.color,
|
|
542
|
+
"onUpdate:modelValue": t[0] || (t[0] = (m) => l.color = m)
|
|
543
|
+
}, {
|
|
544
|
+
"prepend-inner": n(() => [
|
|
545
|
+
i(d, { color: l.color }, {
|
|
546
|
+
default: n(() => t[1] || (t[1] = [
|
|
547
|
+
D(" mdi-square ")
|
|
548
|
+
])),
|
|
549
|
+
_: 1
|
|
550
|
+
}, 8, ["color"])
|
|
551
|
+
]),
|
|
552
|
+
item: n(({ props: m, item: y }) => [
|
|
553
|
+
i(u, z(m, {
|
|
554
|
+
value: y.raw
|
|
555
|
+
}), {
|
|
556
|
+
prepend: n(() => [
|
|
557
|
+
i(d, {
|
|
558
|
+
color: y.raw
|
|
559
|
+
}, {
|
|
560
|
+
default: n(() => t[2] || (t[2] = [
|
|
561
|
+
D(" mdi-square ")
|
|
562
|
+
])),
|
|
563
|
+
_: 2
|
|
564
|
+
}, 1032, ["color"])
|
|
565
|
+
]),
|
|
566
|
+
_: 2
|
|
567
|
+
}, 1040, ["value"])
|
|
568
|
+
]),
|
|
569
|
+
_: 1
|
|
570
|
+
}, 8, ["items", "modelValue"])
|
|
571
|
+
]);
|
|
572
|
+
}
|
|
573
|
+
const R = /* @__PURE__ */ M(ut, [["render", mt]]), ct = {
|
|
574
|
+
methods: {
|
|
575
|
+
deleteItem(e) {
|
|
576
|
+
let t = null, s = "";
|
|
577
|
+
switch (e.type.toLowerCase()) {
|
|
578
|
+
case "activity":
|
|
579
|
+
s = "activity", t = e.activity.start;
|
|
580
|
+
break;
|
|
581
|
+
case "metadata":
|
|
582
|
+
s = "metadata", t = e.metadata.start;
|
|
583
|
+
break;
|
|
584
|
+
case "note":
|
|
585
|
+
s = "notes", t = e.note.start;
|
|
586
|
+
break;
|
|
587
|
+
}
|
|
588
|
+
this.$dialog.confirm(
|
|
589
|
+
`Are you sure you want to remove ${e.typeStr} at ${e.startStr}`,
|
|
590
|
+
{
|
|
591
|
+
okText: "Delete",
|
|
592
|
+
cancelText: "Cancel"
|
|
593
|
+
}
|
|
594
|
+
).then(() => x.delete(`/openc3-api/${s}/${t}`)).then(() => {
|
|
595
|
+
this.$emit("delete", e), this.$notify.normal({
|
|
596
|
+
title: `Deleted ${e.typeStr}`,
|
|
597
|
+
body: `Deleted ${e.typeStr} at ${e.startStr}`
|
|
598
|
+
});
|
|
599
|
+
}).catch(() => {
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}, pt = {
|
|
604
|
+
components: {},
|
|
605
|
+
props: {
|
|
606
|
+
modelValue: {
|
|
607
|
+
type: Array,
|
|
608
|
+
required: !0
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
data() {
|
|
612
|
+
return {};
|
|
613
|
+
},
|
|
614
|
+
computed: {
|
|
615
|
+
metadata: {
|
|
616
|
+
get() {
|
|
617
|
+
return this.modelValue;
|
|
618
|
+
},
|
|
619
|
+
set(e) {
|
|
620
|
+
this.$emit("update:modelValue", e);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
methods: {
|
|
625
|
+
newMetadata: function() {
|
|
626
|
+
this.metadata.push({
|
|
627
|
+
key: "",
|
|
628
|
+
value: ""
|
|
629
|
+
});
|
|
630
|
+
},
|
|
631
|
+
rm: function(e) {
|
|
632
|
+
this.metadata.splice(e, 1);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}, ht = {
|
|
636
|
+
scope: "col",
|
|
637
|
+
class: "text-right"
|
|
638
|
+
};
|
|
639
|
+
function vt(e, t, s, r, a, l) {
|
|
640
|
+
const d = o("v-btn"), u = o("v-text-field"), b = o("v-table");
|
|
641
|
+
return p(), V("div", null, [
|
|
642
|
+
i(b, { dense: "" }, {
|
|
643
|
+
default: n(() => [
|
|
644
|
+
v("tbody", null, [
|
|
645
|
+
v("tr", null, [
|
|
646
|
+
t[0] || (t[0] = v("th", {
|
|
647
|
+
scope: "col",
|
|
648
|
+
class: "text-left"
|
|
649
|
+
}, "Key", -1)),
|
|
650
|
+
t[1] || (t[1] = v("th", {
|
|
651
|
+
scope: "col",
|
|
652
|
+
class: "text-left"
|
|
653
|
+
}, "Value", -1)),
|
|
654
|
+
v("th", ht, [
|
|
655
|
+
i(d, {
|
|
656
|
+
icon: "mdi-plus",
|
|
657
|
+
variant: "text",
|
|
658
|
+
"data-test": "new-metadata-icon",
|
|
659
|
+
onClick: l.newMetadata
|
|
660
|
+
}, null, 8, ["onClick"])
|
|
661
|
+
])
|
|
662
|
+
]),
|
|
663
|
+
(p(!0), V(P, null, B(l.metadata, (m, y) => (p(), V("tr", {
|
|
664
|
+
key: `tr-${y}`
|
|
665
|
+
}, [
|
|
666
|
+
v("td", null, [
|
|
667
|
+
i(u, {
|
|
668
|
+
modelValue: m.key,
|
|
669
|
+
"onUpdate:modelValue": (f) => m.key = f,
|
|
670
|
+
type: "text",
|
|
671
|
+
density: "compact",
|
|
672
|
+
"data-test": `key-${y}`
|
|
673
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-test"])
|
|
674
|
+
]),
|
|
675
|
+
v("td", null, [
|
|
676
|
+
i(u, {
|
|
677
|
+
modelValue: m.value,
|
|
678
|
+
"onUpdate:modelValue": (f) => m.value = f,
|
|
679
|
+
type: "text",
|
|
680
|
+
density: "compact",
|
|
681
|
+
"data-test": `value-${y}`
|
|
682
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-test"])
|
|
683
|
+
]),
|
|
684
|
+
v("td", null, [
|
|
685
|
+
i(d, {
|
|
686
|
+
icon: "mdi-delete",
|
|
687
|
+
variant: "text",
|
|
688
|
+
"data-test": `delete-metadata-icon-${y}`,
|
|
689
|
+
onClick: (f) => l.rm(y)
|
|
690
|
+
}, null, 8, ["data-test", "onClick"])
|
|
691
|
+
])
|
|
692
|
+
]))), 128))
|
|
693
|
+
])
|
|
694
|
+
]),
|
|
695
|
+
_: 1
|
|
696
|
+
})
|
|
697
|
+
]);
|
|
698
|
+
}
|
|
699
|
+
const yt = /* @__PURE__ */ M(pt, [["render", vt]]), ft = {
|
|
700
|
+
components: {
|
|
701
|
+
ColorSelectForm: R,
|
|
702
|
+
MetadataInputForm: yt
|
|
703
|
+
},
|
|
704
|
+
mixins: [F, N],
|
|
705
|
+
props: {
|
|
706
|
+
modelValue: Boolean,
|
|
707
|
+
metadata: {
|
|
708
|
+
type: Object,
|
|
709
|
+
default: null
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
data() {
|
|
713
|
+
return {
|
|
714
|
+
dialogStep: 1,
|
|
715
|
+
color: "#003784",
|
|
716
|
+
metadataVals: [],
|
|
717
|
+
rules: {
|
|
718
|
+
required: (e) => !!e || "Required"
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
},
|
|
722
|
+
computed: {
|
|
723
|
+
typeError: function() {
|
|
724
|
+
return this.color ? this.metadataVals.length < 1 ? "Please enter a value in the metadata table." : this.metadataVals.find(
|
|
725
|
+
(t) => t.key === "" || t.value === ""
|
|
726
|
+
) ? "Missing or empty key, value in the metadata table." : null : "A color is required.";
|
|
727
|
+
},
|
|
728
|
+
show: {
|
|
729
|
+
get() {
|
|
730
|
+
return this.modelValue;
|
|
731
|
+
},
|
|
732
|
+
set(e) {
|
|
733
|
+
this.$emit("update:modelValue", e);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
mounted: function() {
|
|
738
|
+
this.updateValues();
|
|
739
|
+
},
|
|
740
|
+
methods: {
|
|
741
|
+
updateValues: function() {
|
|
742
|
+
if (this.dialogStep = 1, this.metadata) {
|
|
743
|
+
const e = new Date(this.metadata.start * 1e3);
|
|
744
|
+
this.startDate = this.formatDate(e, this.timeZone), this.startTime = this.formatTimeHMS(e, this.timeZone), this.color = this.metadata.color, this.metadataVals = Object.keys(this.metadata.metadata).map((t) => ({ key: t, value: this.metadata.metadata[t] }));
|
|
745
|
+
} else
|
|
746
|
+
this.calcStartDateTime(), this.color = "#003784", this.metadataVals = [];
|
|
747
|
+
},
|
|
748
|
+
clearHandler: function() {
|
|
749
|
+
this.show = !this.show;
|
|
750
|
+
},
|
|
751
|
+
submitHandler() {
|
|
752
|
+
const e = this.color, t = this.metadataVals.reduce((r, a) => (r[a.key] = a.value, r), {}), s = { color: e, metadata: t };
|
|
753
|
+
this.timeZone === "local" ? s.start = (/* @__PURE__ */ new Date(
|
|
754
|
+
this.startDate + " " + this.startTime
|
|
755
|
+
)).toISOString() : s.start = (/* @__PURE__ */ new Date(
|
|
756
|
+
this.startDate + " " + this.startTime + "Z"
|
|
757
|
+
)).toISOString(), this.metadata ? x.put(`/openc3-api/metadata/${this.metadata.start}`, {
|
|
758
|
+
data: s
|
|
759
|
+
}).then((r) => {
|
|
760
|
+
this.$notify.normal({
|
|
761
|
+
title: "Updated Metadata",
|
|
762
|
+
body: `Metadata updated: (${r.data.start})`
|
|
763
|
+
}), this.$emit("update", r.data), this.show = !this.show;
|
|
764
|
+
}) : x.post("/openc3-api/metadata", {
|
|
765
|
+
data: s
|
|
766
|
+
}).then((r) => {
|
|
767
|
+
this.$notify.normal({
|
|
768
|
+
title: "Created new Metadata",
|
|
769
|
+
body: `Metadata: (${r.data.start})`
|
|
770
|
+
}), this.$emit("update", r.data), this.show = !this.show;
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
}, _t = { key: 0 }, Vt = { key: 1 }, Dt = { class: "pa-2" }, wt = { class: "pa-2" }, gt = { style: { "min-height": "200px" } }, bt = ["textContent"];
|
|
775
|
+
function kt(e, t, s, r, a, l) {
|
|
776
|
+
const d = o("v-spacer"), u = o("v-btn"), b = o("v-toolbar"), m = o("v-row"), y = o("color-select-form"), f = o("v-text-field"), k = o("v-card-text"), g = o("metadata-input-form"), T = o("v-stepper"), S = o("v-card"), _ = o("v-dialog");
|
|
777
|
+
return p(), V("div", null, [
|
|
778
|
+
i(_, {
|
|
779
|
+
modelValue: l.show,
|
|
780
|
+
"onUpdate:modelValue": t[6] || (t[6] = (w) => l.show = w),
|
|
781
|
+
persistent: "",
|
|
782
|
+
width: "600"
|
|
783
|
+
}, {
|
|
784
|
+
default: n(() => [
|
|
785
|
+
i(S, null, {
|
|
786
|
+
default: n(() => [
|
|
787
|
+
i(b, { height: "24" }, {
|
|
788
|
+
default: n(() => [
|
|
789
|
+
i(d),
|
|
790
|
+
s.metadata ? (p(), V("span", _t, "Update Metadata")) : (p(), V("span", Vt, "Create Metadata")),
|
|
791
|
+
i(d),
|
|
792
|
+
i(u, {
|
|
793
|
+
icon: "mdi-close-box",
|
|
794
|
+
variant: "text",
|
|
795
|
+
density: "compact",
|
|
796
|
+
"data-test": "close-metadata-icon",
|
|
797
|
+
onClick: l.clearHandler
|
|
798
|
+
}, null, 8, ["onClick"])
|
|
799
|
+
]),
|
|
800
|
+
_: 1
|
|
801
|
+
}),
|
|
802
|
+
i(T, {
|
|
803
|
+
modelValue: a.dialogStep,
|
|
804
|
+
"onUpdate:modelValue": t[5] || (t[5] = (w) => a.dialogStep = w),
|
|
805
|
+
editable: "",
|
|
806
|
+
items: ["Metadata Times", "Metadata Input"]
|
|
807
|
+
}, Z({
|
|
808
|
+
"item.1": n(() => [
|
|
809
|
+
i(k, null, {
|
|
810
|
+
default: n(() => [
|
|
811
|
+
v("div", Dt, [
|
|
812
|
+
i(y, {
|
|
813
|
+
modelValue: a.color,
|
|
814
|
+
"onUpdate:modelValue": t[1] || (t[1] = (w) => a.color = w)
|
|
815
|
+
}, null, 8, ["modelValue"]),
|
|
816
|
+
i(m, { dense: "" }, {
|
|
817
|
+
default: n(() => [
|
|
818
|
+
i(f, {
|
|
819
|
+
modelValue: e.startDate,
|
|
820
|
+
"onUpdate:modelValue": t[2] || (t[2] = (w) => e.startDate = w),
|
|
821
|
+
type: "date",
|
|
822
|
+
label: "Start Date",
|
|
823
|
+
class: "mx-1",
|
|
824
|
+
rules: [a.rules.required],
|
|
825
|
+
"data-test": "metadata-start-date"
|
|
826
|
+
}, null, 8, ["modelValue", "rules"]),
|
|
827
|
+
i(f, {
|
|
828
|
+
modelValue: e.startTime,
|
|
829
|
+
"onUpdate:modelValue": t[3] || (t[3] = (w) => e.startTime = w),
|
|
830
|
+
type: "time",
|
|
831
|
+
step: "1",
|
|
832
|
+
label: "Start Time",
|
|
833
|
+
class: "mx-1",
|
|
834
|
+
rules: [a.rules.required],
|
|
835
|
+
"data-test": "metadata-start-time"
|
|
836
|
+
}, null, 8, ["modelValue", "rules"])
|
|
837
|
+
]),
|
|
838
|
+
_: 1
|
|
839
|
+
})
|
|
840
|
+
])
|
|
841
|
+
]),
|
|
842
|
+
_: 1
|
|
843
|
+
})
|
|
844
|
+
]),
|
|
845
|
+
"item.2": n(() => [
|
|
846
|
+
i(k, null, {
|
|
847
|
+
default: n(() => [
|
|
848
|
+
v("div", wt, [
|
|
849
|
+
v("div", gt, [
|
|
850
|
+
i(g, {
|
|
851
|
+
modelValue: a.metadataVals,
|
|
852
|
+
"onUpdate:modelValue": t[4] || (t[4] = (w) => a.metadataVals = w)
|
|
853
|
+
}, null, 8, ["modelValue"])
|
|
854
|
+
]),
|
|
855
|
+
A(i(m, null, {
|
|
856
|
+
default: n(() => [
|
|
857
|
+
v("span", {
|
|
858
|
+
class: "ma-2 text-red",
|
|
859
|
+
textContent: C(l.typeError)
|
|
860
|
+
}, null, 8, bt)
|
|
861
|
+
]),
|
|
862
|
+
_: 1
|
|
863
|
+
}, 512), [
|
|
864
|
+
[q, l.typeError]
|
|
865
|
+
])
|
|
866
|
+
])
|
|
867
|
+
]),
|
|
868
|
+
_: 1
|
|
869
|
+
})
|
|
870
|
+
]),
|
|
871
|
+
_: 2
|
|
872
|
+
}, [
|
|
873
|
+
a.dialogStep === 2 ? {
|
|
874
|
+
name: "actions",
|
|
875
|
+
fn: n(() => [
|
|
876
|
+
i(m, { class: "ma-0 px-6 pb-4" }, {
|
|
877
|
+
default: n(() => [
|
|
878
|
+
i(u, {
|
|
879
|
+
variant: "text",
|
|
880
|
+
onClick: t[0] || (t[0] = () => a.dialogStep -= 1)
|
|
881
|
+
}, {
|
|
882
|
+
default: n(() => t[7] || (t[7] = [
|
|
883
|
+
D(" Previous ")
|
|
884
|
+
])),
|
|
885
|
+
_: 1
|
|
886
|
+
}),
|
|
887
|
+
i(d),
|
|
888
|
+
i(u, {
|
|
889
|
+
variant: "outlined",
|
|
890
|
+
class: "mr-4",
|
|
891
|
+
onClick: l.clearHandler
|
|
892
|
+
}, {
|
|
893
|
+
default: n(() => t[8] || (t[8] = [
|
|
894
|
+
D(" Cancel ")
|
|
895
|
+
])),
|
|
896
|
+
_: 1
|
|
897
|
+
}, 8, ["onClick"]),
|
|
898
|
+
i(u, {
|
|
899
|
+
type: "submit",
|
|
900
|
+
color: "primary",
|
|
901
|
+
disabled: !!e.error,
|
|
902
|
+
onClick: O(l.submitHandler, ["prevent"])
|
|
903
|
+
}, {
|
|
904
|
+
default: n(() => t[9] || (t[9] = [
|
|
905
|
+
D(" Ok ")
|
|
906
|
+
])),
|
|
907
|
+
_: 1
|
|
908
|
+
}, 8, ["disabled", "onClick"])
|
|
909
|
+
]),
|
|
910
|
+
_: 1
|
|
911
|
+
})
|
|
912
|
+
]),
|
|
913
|
+
key: "0"
|
|
914
|
+
} : void 0
|
|
915
|
+
]), 1032, ["modelValue"])
|
|
916
|
+
]),
|
|
917
|
+
_: 1
|
|
918
|
+
})
|
|
919
|
+
]),
|
|
920
|
+
_: 1
|
|
921
|
+
}, 8, ["modelValue"])
|
|
922
|
+
]);
|
|
923
|
+
}
|
|
924
|
+
const Tt = /* @__PURE__ */ M(ft, [["render", kt], ["__scopeId", "data-v-c120467c"]]), St = {
|
|
925
|
+
components: {
|
|
926
|
+
ColorSelectForm: R
|
|
927
|
+
},
|
|
928
|
+
mixins: [F, N],
|
|
929
|
+
props: {
|
|
930
|
+
modelValue: Boolean,
|
|
931
|
+
note: {
|
|
932
|
+
type: Object
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
data() {
|
|
936
|
+
return {
|
|
937
|
+
dialogStep: 1,
|
|
938
|
+
description: "",
|
|
939
|
+
color: "#8F3400",
|
|
940
|
+
rules: {
|
|
941
|
+
required: (e) => !!e || "Required"
|
|
942
|
+
}
|
|
943
|
+
};
|
|
944
|
+
},
|
|
945
|
+
computed: {
|
|
946
|
+
timeError: function() {
|
|
947
|
+
let e, t;
|
|
948
|
+
return this.timeZone === "local" ? (e = /* @__PURE__ */ new Date(this.startDate + " " + this.startTime), t = /* @__PURE__ */ new Date(this.endDate + " " + this.endTime)) : (e = /* @__PURE__ */ new Date(this.startDate + " " + this.startTime + "Z"), t = /* @__PURE__ */ new Date(this.endDate + " " + this.endTime + "Z")), e === t ? "Invalid start, end time. Notes must have different start and end times." : e > t ? "Invalid start time. Notes start before end." : null;
|
|
949
|
+
},
|
|
950
|
+
typeError: function() {
|
|
951
|
+
return this.color ? this.description ? null : "A description is required for a valid note." : "A color is required.";
|
|
952
|
+
},
|
|
953
|
+
show: {
|
|
954
|
+
get() {
|
|
955
|
+
return this.modelValue;
|
|
956
|
+
},
|
|
957
|
+
set(e) {
|
|
958
|
+
this.$emit("update:modelValue", e);
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
mounted: function() {
|
|
963
|
+
this.updateValues();
|
|
964
|
+
},
|
|
965
|
+
methods: {
|
|
966
|
+
updateValues: function() {
|
|
967
|
+
if (this.dialogStep = 1, this.note) {
|
|
968
|
+
const e = new Date(this.note.start * 1e3);
|
|
969
|
+
this.startDate = this.formatDate(e, this.timeZone), this.startTime = this.formatTimeHMS(e, this.timeZone);
|
|
970
|
+
const t = new Date(this.note.stop * 1e3);
|
|
971
|
+
this.endDate = this.formatDate(t, this.timeZone), this.endTime = this.formatTimeHMS(t, this.timeZone), this.color = this.note.color, this.description = this.note.description;
|
|
972
|
+
} else
|
|
973
|
+
this.calcStartDateTime(), this.color = "#8F3400", this.description = "";
|
|
974
|
+
},
|
|
975
|
+
clearHandler: function() {
|
|
976
|
+
this.show = !this.show;
|
|
977
|
+
},
|
|
978
|
+
submitHandler() {
|
|
979
|
+
let e, t;
|
|
980
|
+
this.timeZone === "local" ? (e = (/* @__PURE__ */ new Date(this.startDate + " " + this.startTime)).toISOString(), t = (/* @__PURE__ */ new Date(this.endDate + " " + this.endTime)).toISOString()) : (e = (/* @__PURE__ */ new Date(
|
|
981
|
+
this.startDate + " " + this.startTime + "Z"
|
|
982
|
+
)).toISOString(), t = (/* @__PURE__ */ new Date(this.endDate + " " + this.endTime + "Z")).toISOString());
|
|
983
|
+
const s = this.color, r = this.description;
|
|
984
|
+
this.note ? x.put(`/openc3-api/notes/${this.note.start}`, {
|
|
985
|
+
data: { start: e, stop: t, color: s, description: r }
|
|
986
|
+
}).then((a) => {
|
|
987
|
+
const l = a.data.description.length > 16 ? `${a.data.description.substring(0, 16)}...` : a.data.description;
|
|
988
|
+
this.$notify.normal({
|
|
989
|
+
title: "Updated Note",
|
|
990
|
+
body: `Note updated: (${a.data.start}): "${l}"`
|
|
991
|
+
}), this.$emit("update", a.data), this.show = !this.show;
|
|
992
|
+
}) : x.post("/openc3-api/notes", {
|
|
993
|
+
data: { start: e, stop: t, color: s, description: r }
|
|
994
|
+
}).then((a) => {
|
|
995
|
+
const l = a.data.description.length > 16 ? `${a.data.description.substring(0, 16)}...` : a.data.description;
|
|
996
|
+
this.$notify.normal({
|
|
997
|
+
title: "Created new Note",
|
|
998
|
+
body: `Note: (${a.data.start}) created: "${l}"`
|
|
999
|
+
}), this.$emit("update", a.data), this.show = !this.show;
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
}, Ct = { key: 0 }, xt = { key: 1 }, Et = { class: "pa-2" }, Ut = ["textContent"], Mt = { class: "pa-2" }, At = ["textContent"];
|
|
1004
|
+
function qt(e, t, s, r, a, l) {
|
|
1005
|
+
const d = o("v-spacer"), u = o("v-btn"), b = o("v-toolbar"), m = o("v-row"), y = o("v-text-field"), f = o("v-card-text"), k = o("color-select-form"), g = o("v-stepper"), T = o("v-card"), S = o("v-dialog");
|
|
1006
|
+
return p(), V("div", null, [
|
|
1007
|
+
i(S, {
|
|
1008
|
+
modelValue: l.show,
|
|
1009
|
+
"onUpdate:modelValue": t[8] || (t[8] = (_) => l.show = _),
|
|
1010
|
+
persistent: "",
|
|
1011
|
+
width: "600"
|
|
1012
|
+
}, {
|
|
1013
|
+
default: n(() => [
|
|
1014
|
+
i(T, null, {
|
|
1015
|
+
default: n(() => [
|
|
1016
|
+
i(b, { height: "24" }, {
|
|
1017
|
+
default: n(() => [
|
|
1018
|
+
i(d),
|
|
1019
|
+
s.note ? (p(), V("span", Ct, "Update Note")) : (p(), V("span", xt, "Create Note")),
|
|
1020
|
+
i(d),
|
|
1021
|
+
i(u, {
|
|
1022
|
+
icon: "mdi-close-box",
|
|
1023
|
+
variant: "text",
|
|
1024
|
+
density: "compact",
|
|
1025
|
+
"data-test": "close-note-icon",
|
|
1026
|
+
onClick: l.clearHandler
|
|
1027
|
+
}, null, 8, ["onClick"])
|
|
1028
|
+
]),
|
|
1029
|
+
_: 1
|
|
1030
|
+
}),
|
|
1031
|
+
i(g, {
|
|
1032
|
+
modelValue: a.dialogStep,
|
|
1033
|
+
"onUpdate:modelValue": t[7] || (t[7] = (_) => a.dialogStep = _),
|
|
1034
|
+
editable: "",
|
|
1035
|
+
items: ["Note Times", "Note Input"]
|
|
1036
|
+
}, Z({
|
|
1037
|
+
"item.1": n(() => [
|
|
1038
|
+
i(f, null, {
|
|
1039
|
+
default: n(() => [
|
|
1040
|
+
v("div", Et, [
|
|
1041
|
+
i(m, { dense: "" }, {
|
|
1042
|
+
default: n(() => [
|
|
1043
|
+
i(y, {
|
|
1044
|
+
modelValue: e.startDate,
|
|
1045
|
+
"onUpdate:modelValue": t[1] || (t[1] = (_) => e.startDate = _),
|
|
1046
|
+
type: "date",
|
|
1047
|
+
label: "Start Date",
|
|
1048
|
+
class: "mx-1",
|
|
1049
|
+
rules: [a.rules.required],
|
|
1050
|
+
"data-test": "note-start-date"
|
|
1051
|
+
}, null, 8, ["modelValue", "rules"]),
|
|
1052
|
+
i(y, {
|
|
1053
|
+
modelValue: e.startTime,
|
|
1054
|
+
"onUpdate:modelValue": t[2] || (t[2] = (_) => e.startTime = _),
|
|
1055
|
+
type: "time",
|
|
1056
|
+
step: "1",
|
|
1057
|
+
label: "Start Time",
|
|
1058
|
+
class: "mx-1",
|
|
1059
|
+
rules: [a.rules.required],
|
|
1060
|
+
"data-test": "note-start-time"
|
|
1061
|
+
}, null, 8, ["modelValue", "rules"])
|
|
1062
|
+
]),
|
|
1063
|
+
_: 1
|
|
1064
|
+
}),
|
|
1065
|
+
i(m, { dense: "" }, {
|
|
1066
|
+
default: n(() => [
|
|
1067
|
+
i(y, {
|
|
1068
|
+
modelValue: e.endDate,
|
|
1069
|
+
"onUpdate:modelValue": t[3] || (t[3] = (_) => e.endDate = _),
|
|
1070
|
+
type: "date",
|
|
1071
|
+
label: "End Date",
|
|
1072
|
+
class: "mx-1",
|
|
1073
|
+
rules: [a.rules.required],
|
|
1074
|
+
"data-test": "note-end-date"
|
|
1075
|
+
}, null, 8, ["modelValue", "rules"]),
|
|
1076
|
+
i(y, {
|
|
1077
|
+
modelValue: e.endTime,
|
|
1078
|
+
"onUpdate:modelValue": t[4] || (t[4] = (_) => e.endTime = _),
|
|
1079
|
+
type: "time",
|
|
1080
|
+
step: "1",
|
|
1081
|
+
label: "End Time",
|
|
1082
|
+
class: "mx-1",
|
|
1083
|
+
rules: [a.rules.required],
|
|
1084
|
+
"data-test": "note-end-time"
|
|
1085
|
+
}, null, 8, ["modelValue", "rules"])
|
|
1086
|
+
]),
|
|
1087
|
+
_: 1
|
|
1088
|
+
}),
|
|
1089
|
+
i(m, null, {
|
|
1090
|
+
default: n(() => [
|
|
1091
|
+
A(v("span", {
|
|
1092
|
+
class: "ma-2 text-red",
|
|
1093
|
+
textContent: C(l.timeError)
|
|
1094
|
+
}, null, 8, Ut), [
|
|
1095
|
+
[q, l.timeError]
|
|
1096
|
+
])
|
|
1097
|
+
]),
|
|
1098
|
+
_: 1
|
|
1099
|
+
})
|
|
1100
|
+
])
|
|
1101
|
+
]),
|
|
1102
|
+
_: 1
|
|
1103
|
+
})
|
|
1104
|
+
]),
|
|
1105
|
+
"item.2": n(() => [
|
|
1106
|
+
i(f, null, {
|
|
1107
|
+
default: n(() => [
|
|
1108
|
+
v("div", Mt, [
|
|
1109
|
+
v("div", null, [
|
|
1110
|
+
i(k, {
|
|
1111
|
+
modelValue: a.color,
|
|
1112
|
+
"onUpdate:modelValue": t[5] || (t[5] = (_) => a.color = _)
|
|
1113
|
+
}, null, 8, ["modelValue"])
|
|
1114
|
+
]),
|
|
1115
|
+
v("div", null, [
|
|
1116
|
+
i(y, {
|
|
1117
|
+
modelValue: a.description,
|
|
1118
|
+
"onUpdate:modelValue": t[6] || (t[6] = (_) => a.description = _),
|
|
1119
|
+
type: "text",
|
|
1120
|
+
label: "Note Description",
|
|
1121
|
+
"data-test": "note-description"
|
|
1122
|
+
}, null, 8, ["modelValue"])
|
|
1123
|
+
]),
|
|
1124
|
+
A(i(m, null, {
|
|
1125
|
+
default: n(() => [
|
|
1126
|
+
v("span", {
|
|
1127
|
+
class: "ma-2 text-red",
|
|
1128
|
+
textContent: C(l.typeError)
|
|
1129
|
+
}, null, 8, At)
|
|
1130
|
+
]),
|
|
1131
|
+
_: 1
|
|
1132
|
+
}, 512), [
|
|
1133
|
+
[q, l.typeError]
|
|
1134
|
+
])
|
|
1135
|
+
])
|
|
1136
|
+
]),
|
|
1137
|
+
_: 1
|
|
1138
|
+
})
|
|
1139
|
+
]),
|
|
1140
|
+
_: 2
|
|
1141
|
+
}, [
|
|
1142
|
+
a.dialogStep === 2 ? {
|
|
1143
|
+
name: "actions",
|
|
1144
|
+
fn: n(() => [
|
|
1145
|
+
i(m, { class: "ma-0 px-6 pb-4" }, {
|
|
1146
|
+
default: n(() => [
|
|
1147
|
+
i(u, {
|
|
1148
|
+
variant: "text",
|
|
1149
|
+
onClick: t[0] || (t[0] = () => a.dialogStep -= 1)
|
|
1150
|
+
}, {
|
|
1151
|
+
default: n(() => t[9] || (t[9] = [
|
|
1152
|
+
D(" Previous ")
|
|
1153
|
+
])),
|
|
1154
|
+
_: 1
|
|
1155
|
+
}),
|
|
1156
|
+
i(d),
|
|
1157
|
+
i(u, {
|
|
1158
|
+
variant: "outlined",
|
|
1159
|
+
class: "mr-4",
|
|
1160
|
+
onClick: l.clearHandler
|
|
1161
|
+
}, {
|
|
1162
|
+
default: n(() => t[10] || (t[10] = [
|
|
1163
|
+
D(" Cancel ")
|
|
1164
|
+
])),
|
|
1165
|
+
_: 1
|
|
1166
|
+
}, 8, ["onClick"]),
|
|
1167
|
+
i(u, {
|
|
1168
|
+
type: "submit",
|
|
1169
|
+
color: "primary",
|
|
1170
|
+
disabled: !!e.error,
|
|
1171
|
+
onClick: O(l.submitHandler, ["prevent"])
|
|
1172
|
+
}, {
|
|
1173
|
+
default: n(() => t[11] || (t[11] = [
|
|
1174
|
+
D(" Ok ")
|
|
1175
|
+
])),
|
|
1176
|
+
_: 1
|
|
1177
|
+
}, 8, ["disabled", "onClick"])
|
|
1178
|
+
]),
|
|
1179
|
+
_: 1
|
|
1180
|
+
})
|
|
1181
|
+
]),
|
|
1182
|
+
key: "0"
|
|
1183
|
+
} : void 0
|
|
1184
|
+
]), 1032, ["modelValue"])
|
|
1185
|
+
]),
|
|
1186
|
+
_: 1
|
|
1187
|
+
})
|
|
1188
|
+
]),
|
|
1189
|
+
_: 1
|
|
1190
|
+
}, 8, ["modelValue"])
|
|
1191
|
+
]);
|
|
1192
|
+
}
|
|
1193
|
+
const It = /* @__PURE__ */ M(St, [["render", qt], ["__scopeId", "data-v-829ef502"]]), Nt = {
|
|
1194
|
+
components: {
|
|
1195
|
+
ActivityCreateDialog: rt,
|
|
1196
|
+
MetadataCreateDialog: Tt,
|
|
1197
|
+
NoteCreateDialog: It
|
|
1198
|
+
},
|
|
1199
|
+
mixins: [N, ct],
|
|
1200
|
+
props: {
|
|
1201
|
+
events: {
|
|
1202
|
+
type: Array,
|
|
1203
|
+
required: !0
|
|
1204
|
+
},
|
|
1205
|
+
modelValue: {
|
|
1206
|
+
type: Boolean,
|
|
1207
|
+
required: !0
|
|
1208
|
+
},
|
|
1209
|
+
timeZone: {
|
|
1210
|
+
type: String,
|
|
1211
|
+
required: !0
|
|
1212
|
+
},
|
|
1213
|
+
types: {
|
|
1214
|
+
type: Array
|
|
1215
|
+
},
|
|
1216
|
+
newMetadata: {
|
|
1217
|
+
type: Boolean,
|
|
1218
|
+
default: !1
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
data() {
|
|
1222
|
+
return {
|
|
1223
|
+
search: "",
|
|
1224
|
+
localEvents: [...this.events],
|
|
1225
|
+
eventHeaders: [
|
|
1226
|
+
{ title: "Start", key: "start", width: 215 },
|
|
1227
|
+
{ title: "Stop", key: "end", width: 215 },
|
|
1228
|
+
{ title: "Type", key: "type" },
|
|
1229
|
+
{ title: "Data", key: "data" },
|
|
1230
|
+
{ title: "Actions", key: "actions", sortable: !1 }
|
|
1231
|
+
],
|
|
1232
|
+
editActivity: { start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date() },
|
|
1233
|
+
editMetadata: { start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date() },
|
|
1234
|
+
editNote: { start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date() },
|
|
1235
|
+
editIndex: 0,
|
|
1236
|
+
showActivityUpdate: !1,
|
|
1237
|
+
showMetadataUpdate: !1,
|
|
1238
|
+
showNoteUpdate: !1,
|
|
1239
|
+
showMetadataCreate: !1
|
|
1240
|
+
};
|
|
1241
|
+
},
|
|
1242
|
+
computed: {
|
|
1243
|
+
show: {
|
|
1244
|
+
get() {
|
|
1245
|
+
return this.modelValue;
|
|
1246
|
+
},
|
|
1247
|
+
set(e) {
|
|
1248
|
+
this.$emit("update:modelValue", e);
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
created: function() {
|
|
1253
|
+
},
|
|
1254
|
+
methods: {
|
|
1255
|
+
close() {
|
|
1256
|
+
this.$emit("close"), this.show = !1;
|
|
1257
|
+
},
|
|
1258
|
+
dataFormat(e) {
|
|
1259
|
+
let t = e.name;
|
|
1260
|
+
switch (e.type) {
|
|
1261
|
+
case "note":
|
|
1262
|
+
t = e.note.description;
|
|
1263
|
+
break;
|
|
1264
|
+
case "metadata":
|
|
1265
|
+
let s = [];
|
|
1266
|
+
Object.entries(e.metadata.metadata).forEach(
|
|
1267
|
+
([r, a]) => s.push(`${r}: ${a}`)
|
|
1268
|
+
), t = s.join(", ");
|
|
1269
|
+
break;
|
|
1270
|
+
}
|
|
1271
|
+
return t;
|
|
1272
|
+
},
|
|
1273
|
+
editAction(e) {
|
|
1274
|
+
switch (this.editIndex = this.localEvents.findIndex((t) => t.type === e.type && t.start === e.start), e.type) {
|
|
1275
|
+
case "activity":
|
|
1276
|
+
this.editActivity = e.activity, this.showActivityUpdate = !0;
|
|
1277
|
+
break;
|
|
1278
|
+
case "metadata":
|
|
1279
|
+
this.editMetadata = e.metadata, this.showMetadataUpdate = !0;
|
|
1280
|
+
break;
|
|
1281
|
+
case "note":
|
|
1282
|
+
this.editNote = e.note, this.showNoteUpdate = !0;
|
|
1283
|
+
break;
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
deleteAction(e) {
|
|
1287
|
+
let t = this.localEvents.findIndex((l) => l.type === e.type && l.start === e.start), s = null, r = null, a = null;
|
|
1288
|
+
switch (e.type) {
|
|
1289
|
+
case "activity":
|
|
1290
|
+
s = `timeline/${e.activity.name}/activity`, r = e.activity.start, a = e.activity.uuid;
|
|
1291
|
+
break;
|
|
1292
|
+
case "metadata":
|
|
1293
|
+
s = "metadata", r = e.metadata.start;
|
|
1294
|
+
break;
|
|
1295
|
+
case "note":
|
|
1296
|
+
s = "notes", r = e.note.start;
|
|
1297
|
+
break;
|
|
1298
|
+
}
|
|
1299
|
+
this.$dialog.confirm(
|
|
1300
|
+
`Are you sure you want to remove ${e.type} at ${e.start}`,
|
|
1301
|
+
{
|
|
1302
|
+
okText: "Delete",
|
|
1303
|
+
cancelText: "Cancel"
|
|
1304
|
+
}
|
|
1305
|
+
).then((l) => {
|
|
1306
|
+
this.localEvents.splice(t, 1);
|
|
1307
|
+
let d = `/openc3-api/${s}/${r}`;
|
|
1308
|
+
return a && (d += `/${a}`), x.delete(d);
|
|
1309
|
+
}).then((l) => {
|
|
1310
|
+
this.$emit("update"), this.$notify.normal({
|
|
1311
|
+
title: `Deleted ${e.type}`,
|
|
1312
|
+
body: `Deleted ${e.type} at ${r}`
|
|
1313
|
+
});
|
|
1314
|
+
}).catch((l) => {
|
|
1315
|
+
});
|
|
1316
|
+
},
|
|
1317
|
+
updateActivity(e) {
|
|
1318
|
+
this.$emit("update"), this.localEvents[this.editIndex].activity = e;
|
|
1319
|
+
},
|
|
1320
|
+
updateMetadata(e) {
|
|
1321
|
+
this.$emit("update"), this.localEvents[this.editIndex].metadata = e;
|
|
1322
|
+
},
|
|
1323
|
+
updateNote(e) {
|
|
1324
|
+
this.$emit("update"), this.localEvents[this.editIndex].note = e;
|
|
1325
|
+
},
|
|
1326
|
+
addMetadata(e) {
|
|
1327
|
+
let t = {
|
|
1328
|
+
name: "Metadata",
|
|
1329
|
+
start: new Date(e.start * 1e3),
|
|
1330
|
+
end: new Date(e.start * 1e3),
|
|
1331
|
+
color: e.color,
|
|
1332
|
+
type: e.type,
|
|
1333
|
+
timed: !0,
|
|
1334
|
+
metadata: e
|
|
1335
|
+
};
|
|
1336
|
+
this.localEvents.push(t);
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}, Ht = { key: 0 }, Zt = { key: 1 }, Ot = { key: 0 }, Ft = { key: 1 };
|
|
1340
|
+
function Rt(e, t, s, r, a, l) {
|
|
1341
|
+
const d = o("v-spacer"), u = o("v-btn"), b = o("v-toolbar"), m = o("v-text-field"), y = o("v-row"), f = o("v-card-title"), k = o("v-data-table"), g = o("v-card-actions"), T = o("v-card"), S = o("v-dialog"), _ = o("activity-create-dialog"), w = o("metadata-create-dialog"), H = o("note-create-dialog");
|
|
1342
|
+
return p(), V("div", null, [
|
|
1343
|
+
i(S, {
|
|
1344
|
+
modelValue: l.show,
|
|
1345
|
+
"onUpdate:modelValue": t[2] || (t[2] = (h) => l.show = h),
|
|
1346
|
+
persistent: "",
|
|
1347
|
+
width: "80vw"
|
|
1348
|
+
}, {
|
|
1349
|
+
default: n(() => [
|
|
1350
|
+
i(T, null, {
|
|
1351
|
+
default: n(() => [
|
|
1352
|
+
i(b, { height: "24" }, {
|
|
1353
|
+
default: n(() => [
|
|
1354
|
+
i(d),
|
|
1355
|
+
s.newMetadata ? (p(), V("span", Ht, "Metadata")) : (p(), V("span", Zt, "Events")),
|
|
1356
|
+
i(d),
|
|
1357
|
+
i(u, {
|
|
1358
|
+
icon: "mdi-close-box",
|
|
1359
|
+
variant: "text",
|
|
1360
|
+
density: "compact",
|
|
1361
|
+
"data-test": "close-metadata-icon",
|
|
1362
|
+
"aria-label": "Close Dialog",
|
|
1363
|
+
onClick: l.close
|
|
1364
|
+
}, null, 8, ["onClick"])
|
|
1365
|
+
]),
|
|
1366
|
+
_: 1
|
|
1367
|
+
}),
|
|
1368
|
+
i(f, null, {
|
|
1369
|
+
default: n(() => [
|
|
1370
|
+
i(y, { class: "pa-3" }, {
|
|
1371
|
+
default: n(() => [
|
|
1372
|
+
s.newMetadata ? (p(), V("span", Ot, "Metadata")) : (p(), V("span", Ft, "Events")),
|
|
1373
|
+
i(d),
|
|
1374
|
+
i(m, {
|
|
1375
|
+
modelValue: a.search,
|
|
1376
|
+
"onUpdate:modelValue": t[0] || (t[0] = (h) => a.search = h),
|
|
1377
|
+
label: "Search",
|
|
1378
|
+
"prepend-inner-icon": "mdi-magnify",
|
|
1379
|
+
clearable: "",
|
|
1380
|
+
variant: "outlined",
|
|
1381
|
+
density: "compact",
|
|
1382
|
+
"single-line": "",
|
|
1383
|
+
"hide-details": ""
|
|
1384
|
+
}, null, 8, ["modelValue"])
|
|
1385
|
+
]),
|
|
1386
|
+
_: 1
|
|
1387
|
+
})
|
|
1388
|
+
]),
|
|
1389
|
+
_: 1
|
|
1390
|
+
}),
|
|
1391
|
+
i(k, {
|
|
1392
|
+
headers: a.eventHeaders,
|
|
1393
|
+
items: a.localEvents,
|
|
1394
|
+
search: a.search
|
|
1395
|
+
}, {
|
|
1396
|
+
"no-data": n(() => t[7] || (t[7] = [
|
|
1397
|
+
v("span", null, " No events ", -1)
|
|
1398
|
+
])),
|
|
1399
|
+
"item.start": n(({ item: h }) => [
|
|
1400
|
+
D(C(e.formatDateTime(h.start, s.timeZone)), 1)
|
|
1401
|
+
]),
|
|
1402
|
+
"item.end": n(({ item: h }) => [
|
|
1403
|
+
D(C(e.formatDateTime(h.end, s.timeZone)), 1)
|
|
1404
|
+
]),
|
|
1405
|
+
"item.type": n(({ item: h }) => [
|
|
1406
|
+
D(C(h.type.charAt(0).toUpperCase() + h.type.slice(1)), 1)
|
|
1407
|
+
]),
|
|
1408
|
+
"item.data": n(({ item: h }) => [
|
|
1409
|
+
D(C(l.dataFormat(h)), 1)
|
|
1410
|
+
]),
|
|
1411
|
+
"item.actions": n(({ item: h }) => [
|
|
1412
|
+
i(u, {
|
|
1413
|
+
icon: "mdi-pencil",
|
|
1414
|
+
variant: "text",
|
|
1415
|
+
size: "small",
|
|
1416
|
+
class: "mr-2",
|
|
1417
|
+
"data-test": "edit-event",
|
|
1418
|
+
"aria-label": "Edit Event",
|
|
1419
|
+
onClick: (c) => l.editAction(h)
|
|
1420
|
+
}, null, 8, ["onClick"]),
|
|
1421
|
+
i(u, {
|
|
1422
|
+
icon: "mdi-delete",
|
|
1423
|
+
variant: "text",
|
|
1424
|
+
size: "small",
|
|
1425
|
+
"data-test": "delete-event",
|
|
1426
|
+
"aria-label": "Delete Event",
|
|
1427
|
+
onClick: (c) => l.deleteAction(h)
|
|
1428
|
+
}, null, 8, ["onClick"])
|
|
1429
|
+
]),
|
|
1430
|
+
_: 1
|
|
1431
|
+
}, 8, ["headers", "items", "search"]),
|
|
1432
|
+
i(g, { class: "px-2" }, {
|
|
1433
|
+
default: n(() => [
|
|
1434
|
+
i(d),
|
|
1435
|
+
i(u, {
|
|
1436
|
+
variant: "outlined",
|
|
1437
|
+
"data-test": "close-event-list",
|
|
1438
|
+
onClick: l.close
|
|
1439
|
+
}, {
|
|
1440
|
+
default: n(() => t[8] || (t[8] = [
|
|
1441
|
+
D(" Close ")
|
|
1442
|
+
])),
|
|
1443
|
+
_: 1
|
|
1444
|
+
}, 8, ["onClick"]),
|
|
1445
|
+
s.newMetadata ? (p(), E(u, {
|
|
1446
|
+
key: 0,
|
|
1447
|
+
variant: "flat",
|
|
1448
|
+
"data-test": "new-event",
|
|
1449
|
+
onClick: t[1] || (t[1] = (h) => a.showMetadataCreate = !0)
|
|
1450
|
+
}, {
|
|
1451
|
+
default: n(() => t[9] || (t[9] = [
|
|
1452
|
+
D(" New Metadata ")
|
|
1453
|
+
])),
|
|
1454
|
+
_: 1
|
|
1455
|
+
})) : U("", !0)
|
|
1456
|
+
]),
|
|
1457
|
+
_: 1
|
|
1458
|
+
})
|
|
1459
|
+
]),
|
|
1460
|
+
_: 1
|
|
1461
|
+
})
|
|
1462
|
+
]),
|
|
1463
|
+
_: 1
|
|
1464
|
+
}, 8, ["modelValue"]),
|
|
1465
|
+
a.showActivityUpdate ? (p(), E(_, {
|
|
1466
|
+
key: 0,
|
|
1467
|
+
modelValue: a.showActivityUpdate,
|
|
1468
|
+
"onUpdate:modelValue": t[3] || (t[3] = (h) => a.showActivityUpdate = h),
|
|
1469
|
+
activity: a.editActivity,
|
|
1470
|
+
"time-zone": s.timeZone,
|
|
1471
|
+
onUpdate: l.updateActivity
|
|
1472
|
+
}, null, 8, ["modelValue", "activity", "time-zone", "onUpdate"])) : U("", !0),
|
|
1473
|
+
a.showMetadataUpdate ? (p(), E(w, {
|
|
1474
|
+
key: 1,
|
|
1475
|
+
modelValue: a.showMetadataUpdate,
|
|
1476
|
+
"onUpdate:modelValue": t[4] || (t[4] = (h) => a.showMetadataUpdate = h),
|
|
1477
|
+
metadata: a.editMetadata,
|
|
1478
|
+
"time-zone": s.timeZone,
|
|
1479
|
+
onUpdate: l.updateMetadata
|
|
1480
|
+
}, null, 8, ["modelValue", "metadata", "time-zone", "onUpdate"])) : U("", !0),
|
|
1481
|
+
a.showNoteUpdate ? (p(), E(H, {
|
|
1482
|
+
key: 2,
|
|
1483
|
+
modelValue: a.showNoteUpdate,
|
|
1484
|
+
"onUpdate:modelValue": t[5] || (t[5] = (h) => a.showNoteUpdate = h),
|
|
1485
|
+
note: a.editNote,
|
|
1486
|
+
"time-zone": s.timeZone,
|
|
1487
|
+
onUpdate: l.updateNote
|
|
1488
|
+
}, null, 8, ["modelValue", "note", "time-zone", "onUpdate"])) : U("", !0),
|
|
1489
|
+
a.showMetadataCreate ? (p(), E(w, {
|
|
1490
|
+
key: 3,
|
|
1491
|
+
modelValue: a.showMetadataCreate,
|
|
1492
|
+
"onUpdate:modelValue": t[6] || (t[6] = (h) => a.showMetadataCreate = h),
|
|
1493
|
+
"time-zone": s.timeZone,
|
|
1494
|
+
onUpdate: l.addMetadata
|
|
1495
|
+
}, null, 8, ["modelValue", "time-zone", "onUpdate"])) : U("", !0)
|
|
1496
|
+
]);
|
|
1497
|
+
}
|
|
1498
|
+
const Jt = /* @__PURE__ */ M(Nt, [["render", Rt]]);
|
|
1499
|
+
export {
|
|
1500
|
+
rt as A,
|
|
1501
|
+
R as C,
|
|
1502
|
+
ct as D,
|
|
1503
|
+
Jt as E,
|
|
1504
|
+
Tt as M,
|
|
1505
|
+
It as N,
|
|
1506
|
+
F as a,
|
|
1507
|
+
yt as b
|
|
1508
|
+
};
|
|
1509
|
+
//# sourceMappingURL=EventListDialog-Bniar26O.js.map
|