@openc3/vue-common 6.9.1 → 6.9.2
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-DJkuPBFS.cjs → ArrayWidget-Barb7cCJ.cjs} +2 -2
- package/dist/{ArrayWidget-DJkuPBFS.cjs.map → ArrayWidget-Barb7cCJ.cjs.map} +1 -1
- package/dist/{ArrayWidget-DLfNWDzN.js → ArrayWidget-DUTccTH3.js} +5 -5
- package/dist/{ArrayWidget-DLfNWDzN.js.map → ArrayWidget-DUTccTH3.js.map} +1 -1
- package/dist/{ArrayplotWidget-CoRsUxHG.js → ArrayplotWidget-BeNF76NM.js} +4 -4
- package/dist/{ArrayplotWidget-CoRsUxHG.js.map → ArrayplotWidget-BeNF76NM.js.map} +1 -1
- package/dist/{ArrayplotWidget-COGxmBEP.cjs → ArrayplotWidget-CQRRIpFr.cjs} +2 -2
- package/dist/{ArrayplotWidget-COGxmBEP.cjs.map → ArrayplotWidget-CQRRIpFr.cjs.map} +1 -1
- package/dist/{BarColumn-DHP-zQ4R.js → BarColumn-Dn6MDJoo.js} +3 -3
- package/dist/{BarColumn-DHP-zQ4R.js.map → BarColumn-Dn6MDJoo.js.map} +1 -1
- package/dist/{BarColumn-BaPaYtki.cjs → BarColumn-ooUZaRUq.cjs} +2 -2
- package/dist/{BarColumn-BaPaYtki.cjs.map → BarColumn-ooUZaRUq.cjs.map} +1 -1
- package/dist/{BlockWidget-DLncsLLX.cjs → BlockWidget-BDkZljH8.cjs} +2 -2
- package/dist/{BlockWidget-DLncsLLX.cjs.map → BlockWidget-BDkZljH8.cjs.map} +1 -1
- package/dist/{BlockWidget-BmHSFvOq.js → BlockWidget-BXQlPVQI.js} +5 -5
- package/dist/{BlockWidget-BmHSFvOq.js.map → BlockWidget-BXQlPVQI.js.map} +1 -1
- package/dist/{ButtonWidget-BLePbTf_.cjs → ButtonWidget-5ybX-zVD.cjs} +3 -3
- package/dist/{ButtonWidget-BLePbTf_.cjs.map → ButtonWidget-5ybX-zVD.cjs.map} +1 -1
- package/dist/{ButtonWidget-C3ZWRjZZ.js → ButtonWidget-D8ncnhlr.js} +11 -11
- package/dist/{ButtonWidget-C3ZWRjZZ.js.map → ButtonWidget-D8ncnhlr.js.map} +1 -1
- package/dist/{CanvasWidget-C8Sy9t9G.cjs → CanvasWidget-D4ZHOTxU.cjs} +2 -2
- package/dist/{CanvasWidget-C8Sy9t9G.cjs.map → CanvasWidget-D4ZHOTxU.cjs.map} +1 -1
- package/dist/{CanvasWidget-CL-XzPF4.js → CanvasWidget-IkZPgKME.js} +3 -3
- package/dist/{CanvasWidget-CL-XzPF4.js.map → CanvasWidget-IkZPgKME.js.map} +1 -1
- package/dist/{CanvasdotWidget-6MPKD5iZ.cjs → CanvasdotWidget-C_M5yCv9.cjs} +2 -2
- package/dist/{CanvasdotWidget-6MPKD5iZ.cjs.map → CanvasdotWidget-C_M5yCv9.cjs.map} +1 -1
- package/dist/{CanvasdotWidget-D8Y9DgVE.js → CanvasdotWidget-Ceu6X0ma.js} +3 -3
- package/dist/{CanvasdotWidget-D8Y9DgVE.js.map → CanvasdotWidget-Ceu6X0ma.js.map} +1 -1
- package/dist/{CanvasimageWidget-DYUaf3zy.cjs → CanvasimageWidget-BiWHp93X.cjs} +2 -2
- package/dist/{CanvasimageWidget-DYUaf3zy.cjs.map → CanvasimageWidget-BiWHp93X.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-DHSGK_tD.js → CanvasimageWidget-Bnx5rUVW.js} +4 -4
- package/dist/{CanvasimageWidget-DHSGK_tD.js.map → CanvasimageWidget-Bnx5rUVW.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Btt_fQfC.js → CanvasimagevalueWidget-CFO-XDML.js} +4 -4
- package/dist/{CanvasimagevalueWidget-Btt_fQfC.js.map → CanvasimagevalueWidget-CFO-XDML.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Bu1ECOWl.cjs → CanvasimagevalueWidget-CVdY8iLq.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-Bu1ECOWl.cjs.map → CanvasimagevalueWidget-CVdY8iLq.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-BF_8RTjv.js → CanvaslabelWidget-C5wyN8dS.js} +3 -3
- package/dist/{CanvaslabelWidget-BF_8RTjv.js.map → CanvaslabelWidget-C5wyN8dS.js.map} +1 -1
- package/dist/{CanvaslabelWidget-Dik-ld55.cjs → CanvaslabelWidget-U4P4GDpI.cjs} +2 -2
- package/dist/{CanvaslabelWidget-Dik-ld55.cjs.map → CanvaslabelWidget-U4P4GDpI.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-BBlKBoZO.cjs → CanvaslabelvalueWidget-C60wTi40.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-BBlKBoZO.cjs.map → CanvaslabelvalueWidget-C60wTi40.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-scbwaujI.js → CanvaslabelvalueWidget-CXr6zhdn.js} +3 -3
- package/dist/{CanvaslabelvalueWidget-scbwaujI.js.map → CanvaslabelvalueWidget-CXr6zhdn.js.map} +1 -1
- package/dist/{CanvaslineWidget-DN0ojc37.cjs → CanvaslineWidget-CzOtvkcR.cjs} +2 -2
- package/dist/{CanvaslineWidget-DN0ojc37.cjs.map → CanvaslineWidget-CzOtvkcR.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-gRvm_-TT.js → CanvaslineWidget-DW2l3EAG.js} +3 -3
- package/dist/{CanvaslineWidget-gRvm_-TT.js.map → CanvaslineWidget-DW2l3EAG.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-Cz1XYp0r.cjs → CanvaslinevalueWidget-D20bbhm_.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-Cz1XYp0r.cjs.map → CanvaslinevalueWidget-D20bbhm_.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-CljziRek.js → CanvaslinevalueWidget-UJ0xa8-8.js} +3 -3
- package/dist/{CanvaslinevalueWidget-CljziRek.js.map → CanvaslinevalueWidget-UJ0xa8-8.js.map} +1 -1
- package/dist/{CheckbuttonWidget-BOabI_jE.js → CheckbuttonWidget-BF5cvQHd.js} +3 -3
- package/dist/{CheckbuttonWidget-BOabI_jE.js.map → CheckbuttonWidget-BF5cvQHd.js.map} +1 -1
- package/dist/{CheckbuttonWidget-B5jOzhZ4.cjs → CheckbuttonWidget-dStQF0Yp.cjs} +2 -2
- package/dist/{CheckbuttonWidget-B5jOzhZ4.cjs.map → CheckbuttonWidget-dStQF0Yp.cjs.map} +1 -1
- package/dist/{ClassificationBanners-BGDnMx4r.js → ClassificationBanners-CDc_06x9.js} +2 -2
- package/dist/{ClassificationBanners-BGDnMx4r.js.map → ClassificationBanners-CDc_06x9.js.map} +1 -1
- package/dist/{ClassificationBanners-CbcQDr3v.cjs → ClassificationBanners-CTChOmRf.cjs} +2 -2
- package/dist/{ClassificationBanners-CbcQDr3v.cjs.map → ClassificationBanners-CTChOmRf.cjs.map} +1 -1
- package/dist/{ComboboxWidget-_lxTm8Wb.cjs → ComboboxWidget-D4h-0V0x.cjs} +2 -2
- package/dist/{ComboboxWidget-_lxTm8Wb.cjs.map → ComboboxWidget-D4h-0V0x.cjs.map} +1 -1
- package/dist/{ComboboxWidget-BLXNYFiY.js → ComboboxWidget-Di1O9VBF.js} +3 -3
- package/dist/{ComboboxWidget-BLXNYFiY.js.map → ComboboxWidget-Di1O9VBF.js.map} +1 -1
- package/dist/{CriticalCmdDialog-CnNlsHRX.js → CriticalCmdDialog-CZHVDFjK.js} +4 -4
- package/dist/{CriticalCmdDialog-CnNlsHRX.js.map → CriticalCmdDialog-CZHVDFjK.js.map} +1 -1
- package/dist/{CriticalCmdDialog-niBmkudw.cjs → CriticalCmdDialog-EvK998xs.cjs} +2 -2
- package/dist/{CriticalCmdDialog-niBmkudw.cjs.map → CriticalCmdDialog-EvK998xs.cjs.map} +1 -1
- package/dist/{CustomIcon-h5X7369N.js → CustomIcon-DTfsnDJn.js} +6 -6
- package/dist/{CustomIcon-h5X7369N.js.map → CustomIcon-DTfsnDJn.js.map} +1 -1
- package/dist/CustomIcon-eie3rPKh.cjs +2 -0
- package/dist/{CustomIcon-Bop2mEnu.cjs.map → CustomIcon-eie3rPKh.cjs.map} +1 -1
- package/dist/{DateWidget-BvabEAhO.cjs → DateWidget-BAFINBB6.cjs} +2 -2
- package/dist/{DateWidget-BvabEAhO.cjs.map → DateWidget-BAFINBB6.cjs.map} +1 -1
- package/dist/{DateWidget-BTqLCtLS.js → DateWidget-GiUOvEZO.js} +3 -3
- package/dist/{DateWidget-BTqLCtLS.js.map → DateWidget-GiUOvEZO.js.map} +1 -1
- package/dist/{DetailsDialog-DgN9Jcio.cjs → DetailsDialog-DbRPJzDG.cjs} +2 -2
- package/dist/{DetailsDialog-DgN9Jcio.cjs.map → DetailsDialog-DbRPJzDG.cjs.map} +1 -1
- package/dist/{DetailsDialog-BNCS3QAe.js → DetailsDialog-Ji0jA6sd.js} +3 -3
- package/dist/{DetailsDialog-BNCS3QAe.js.map → DetailsDialog-Ji0jA6sd.js.map} +1 -1
- package/dist/{DynamicWidget-BWEVCUfd.cjs → DynamicWidget-BNfJRfR5.cjs} +2 -2
- package/dist/{DynamicWidget-BWEVCUfd.cjs.map → DynamicWidget-BNfJRfR5.cjs.map} +1 -1
- package/dist/{DynamicWidget-CfMtj7H8.js → DynamicWidget-DHL7pbgW.js} +2 -2
- package/dist/{DynamicWidget-CfMtj7H8.js.map → DynamicWidget-DHL7pbgW.js.map} +1 -1
- package/dist/{EventListDialog-C2pwmD0d.js → EventListDialog-BLLIQyah.js} +129 -123
- package/dist/EventListDialog-BLLIQyah.js.map +1 -0
- package/dist/EventListDialog-CEDNXaKw.cjs +2 -0
- package/dist/EventListDialog-CEDNXaKw.cjs.map +1 -0
- package/dist/{FormatvalueWidget-ulLzg1E-.cjs → FormatvalueWidget-DJkp_gM_.cjs} +2 -2
- package/dist/{FormatvalueWidget-ulLzg1E-.cjs.map → FormatvalueWidget-DJkp_gM_.cjs.map} +1 -1
- package/dist/{FormatvalueWidget-CLYx8qbg.js → FormatvalueWidget-JVEG-72b.js} +4 -4
- package/dist/{FormatvalueWidget-CLYx8qbg.js.map → FormatvalueWidget-JVEG-72b.js.map} +1 -1
- package/dist/{Graph-BliBYJxD.js → Graph-B3v4RJRC.js} +102 -95
- package/dist/Graph-B3v4RJRC.js.map +1 -0
- package/dist/Graph-BOZlkDbl.cjs +2 -0
- package/dist/Graph-BOZlkDbl.cjs.map +1 -0
- package/dist/{GraphWidget-g-0vO4_S.cjs → GraphWidget-DD7SIV2k.cjs} +2 -2
- package/dist/{GraphWidget-g-0vO4_S.cjs.map → GraphWidget-DD7SIV2k.cjs.map} +1 -1
- package/dist/{GraphWidget-Cb6Ozf54.js → GraphWidget-DGe0TweO.js} +2 -2
- package/dist/{GraphWidget-Cb6Ozf54.js.map → GraphWidget-DGe0TweO.js.map} +1 -1
- package/dist/{HorizontalWidget-AY2M01qP.js → HorizontalWidget-B_JnT2Q0.js} +3 -3
- package/dist/{HorizontalWidget-AY2M01qP.js.map → HorizontalWidget-B_JnT2Q0.js.map} +1 -1
- package/dist/{HorizontalWidget-BiEZZpZQ.cjs → HorizontalWidget-CIDUx-Qp.cjs} +2 -2
- package/dist/{HorizontalWidget-BiEZZpZQ.cjs.map → HorizontalWidget-CIDUx-Qp.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-CWq4ej6k.cjs → HorizontalboxWidget-BQYyunr-.cjs} +2 -2
- package/dist/{HorizontalboxWidget-CWq4ej6k.cjs.map → HorizontalboxWidget-BQYyunr-.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-2MEKvq_C.js → HorizontalboxWidget-D_1bF3p-.js} +6 -6
- package/dist/{HorizontalboxWidget-2MEKvq_C.js.map → HorizontalboxWidget-D_1bF3p-.js.map} +1 -1
- package/dist/{HorizontallineWidget-DgpOPA7q.js → HorizontallineWidget-Bqb82J2C.js} +3 -3
- package/dist/{HorizontallineWidget-DgpOPA7q.js.map → HorizontallineWidget-Bqb82J2C.js.map} +1 -1
- package/dist/{HorizontallineWidget-Dm5G1l4A.cjs → HorizontallineWidget-dYDzYNW1.cjs} +2 -2
- package/dist/{HorizontallineWidget-Dm5G1l4A.cjs.map → HorizontallineWidget-dYDzYNW1.cjs.map} +1 -1
- package/dist/{IframeWidget-DDw5t7eV.cjs → IframeWidget-92T3yaK4.cjs} +2 -2
- package/dist/{IframeWidget-DDw5t7eV.cjs.map → IframeWidget-92T3yaK4.cjs.map} +1 -1
- package/dist/{IframeWidget-UKKUl7k5.js → IframeWidget-BUOO2Zav.js} +3 -3
- package/dist/{IframeWidget-UKKUl7k5.js.map → IframeWidget-BUOO2Zav.js.map} +1 -1
- package/dist/{ImageLoader-C-CIL4YD.js → ImageLoader-C6RNmpHN.js} +2 -2
- package/dist/{ImageLoader-C-CIL4YD.js.map → ImageLoader-C6RNmpHN.js.map} +1 -1
- package/dist/{ImageLoader-9TCd0KxL.cjs → ImageLoader-Dq0Qs61n.cjs} +2 -2
- package/dist/{ImageLoader-9TCd0KxL.cjs.map → ImageLoader-Dq0Qs61n.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-DhuQH5Io.js → ImageviewerWidget-Fd7r9VTx.js} +3 -3
- package/dist/{ImageviewerWidget-DhuQH5Io.js.map → ImageviewerWidget-Fd7r9VTx.js.map} +1 -1
- package/dist/{ImageviewerWidget-DpXzLOpF.cjs → ImageviewerWidget-Y6xx7zZX.cjs} +2 -2
- package/dist/{ImageviewerWidget-DpXzLOpF.cjs.map → ImageviewerWidget-Y6xx7zZX.cjs.map} +1 -1
- package/dist/{InterfacesTab-CiVfsUia.cjs → InterfacesTab-DgLHHNke.cjs} +2 -2
- package/dist/{InterfacesTab-CiVfsUia.cjs.map → InterfacesTab-DgLHHNke.cjs.map} +1 -1
- package/dist/{InterfacesTab-Dq3oAKqz.js → InterfacesTab-dig9pzGg.js} +10 -10
- package/dist/{InterfacesTab-Dq3oAKqz.js.map → InterfacesTab-dig9pzGg.js.map} +1 -1
- package/dist/{LabelWidget-SO9zqcNN.js → LabelWidget-BVxcrEXf.js} +3 -3
- package/dist/{LabelWidget-SO9zqcNN.js.map → LabelWidget-BVxcrEXf.js.map} +1 -1
- package/dist/{LabelWidget-D-m2gFIZ.cjs → LabelWidget-BqN6Noag.cjs} +2 -2
- package/dist/{LabelWidget-D-m2gFIZ.cjs.map → LabelWidget-BqN6Noag.cjs.map} +1 -1
- package/dist/{LabelledWidget-DWoM5AJ5.js → LabelledWidget-ZZJPwPpI.js} +5 -5
- package/dist/{LabelledWidget-DWoM5AJ5.js.map → LabelledWidget-ZZJPwPpI.js.map} +1 -1
- package/dist/{LabelledWidget-BFfsD2wz.cjs → LabelledWidget-eR2Dar84.cjs} +2 -2
- package/dist/{LabelledWidget-BFfsD2wz.cjs.map → LabelledWidget-eR2Dar84.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-D3vnkvQZ.js → LabelprogressbarWidget-C2vkWITx.js} +5 -5
- package/dist/{LabelprogressbarWidget-D3vnkvQZ.js.map → LabelprogressbarWidget-C2vkWITx.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-B8x5YimU.cjs → LabelprogressbarWidget-D-Oxgeeg.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-B8x5YimU.cjs.map → LabelprogressbarWidget-D-Oxgeeg.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-DyPaUfc9.cjs → LabelsparklineWidget-B0q6o8ro.cjs} +2 -2
- package/dist/{LabelsparklineWidget-DyPaUfc9.cjs.map → LabelsparklineWidget-B0q6o8ro.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-DO0T-Jot.js → LabelsparklineWidget-CSlvTtVj.js} +5 -5
- package/dist/{LabelsparklineWidget-DO0T-Jot.js.map → LabelsparklineWidget-CSlvTtVj.js.map} +1 -1
- package/dist/{LabelvalueWidget-B6BbNFnk.js → LabelvalueWidget-6MxCpBTc.js} +5 -5
- package/dist/{LabelvalueWidget-B6BbNFnk.js.map → LabelvalueWidget-6MxCpBTc.js.map} +1 -1
- package/dist/{LabelvalueWidget-cTPG6Xqi.cjs → LabelvalueWidget-DbCpaJBW.cjs} +2 -2
- package/dist/{LabelvalueWidget-cTPG6Xqi.cjs.map → LabelvalueWidget-DbCpaJBW.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-CxfL-H9C.js → LabelvaluedescWidget-8mNs15uI.js} +10 -10
- package/dist/{LabelvaluedescWidget-CxfL-H9C.js.map → LabelvaluedescWidget-8mNs15uI.js.map} +1 -1
- package/dist/{LabelvaluedescWidget-C4sIZ0md.cjs → LabelvaluedescWidget-BzcfT8oZ.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-C4sIZ0md.cjs.map → LabelvaluedescWidget-BzcfT8oZ.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-CBnU6Afl.cjs → LabelvaluelimitsbarWidget-Cc7NNKOt.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-CBnU6Afl.cjs.map → LabelvaluelimitsbarWidget-Cc7NNKOt.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-BT5k9mHv.js → LabelvaluelimitsbarWidget-jeDT8JjR.js} +5 -5
- package/dist/{LabelvaluelimitsbarWidget-BT5k9mHv.js.map → LabelvaluelimitsbarWidget-jeDT8JjR.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-CwoMfO0P.cjs → LabelvaluelimitscolumnWidget-CNqHPGpL.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-CwoMfO0P.cjs.map → LabelvaluelimitscolumnWidget-CNqHPGpL.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-DUbmxh4p.js → LabelvaluelimitscolumnWidget-DfO5Yb79.js} +6 -6
- package/dist/{LabelvaluelimitscolumnWidget-DUbmxh4p.js.map → LabelvaluelimitscolumnWidget-DfO5Yb79.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DB4gw6Rd.cjs → LabelvaluerangebarWidget-CnDgjH-G.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-DB4gw6Rd.cjs.map → LabelvaluerangebarWidget-CnDgjH-G.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-DexAc2UB.js → LabelvaluerangebarWidget-D23BEk-N.js} +5 -5
- package/dist/{LabelvaluerangebarWidget-DexAc2UB.js.map → LabelvaluerangebarWidget-D23BEk-N.js.map} +1 -1
- package/dist/Layout-Dd5e3p-K.cjs +2 -0
- package/dist/{Layout-DvBekli8.cjs.map → Layout-Dd5e3p-K.cjs.map} +1 -1
- package/dist/{Layout-Dd6dRf3R.js → Layout-DuiUWxWc.js} +2 -2
- package/dist/{Layout-Dd6dRf3R.js.map → Layout-DuiUWxWc.js.map} +1 -1
- package/dist/{LedWidget-D1RwHb_V.js → LedWidget-9IAav1IH.js} +5 -5
- package/dist/{LedWidget-D1RwHb_V.js.map → LedWidget-9IAav1IH.js.map} +1 -1
- package/dist/{LedWidget-a99ygZOA.cjs → LedWidget-CQkF1v5x.cjs} +2 -2
- package/dist/{LedWidget-a99ygZOA.cjs.map → LedWidget-CQkF1v5x.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-DaHpj-rM.cjs → LimitsbarWidget-C4jNTGa9.cjs} +2 -2
- package/dist/{LimitsbarWidget-DaHpj-rM.cjs.map → LimitsbarWidget-C4jNTGa9.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-ClOmoV50.js → LimitsbarWidget-DqaTaWO1.js} +3 -3
- package/dist/{LimitsbarWidget-ClOmoV50.js.map → LimitsbarWidget-DqaTaWO1.js.map} +1 -1
- package/dist/{LimitscolorWidget-CBUoEYKp.js → LimitscolorWidget-4g3UVzsW.js} +3 -3
- package/dist/{LimitscolorWidget-CBUoEYKp.js.map → LimitscolorWidget-4g3UVzsW.js.map} +1 -1
- package/dist/{LimitscolorWidget-D4nPHQlI.cjs → LimitscolorWidget-BjlXWw_j.cjs} +2 -2
- package/dist/{LimitscolorWidget-D4nPHQlI.cjs.map → LimitscolorWidget-BjlXWw_j.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-wIx0L9hb.cjs → LimitscolumnWidget-BLZE1Zfh.cjs} +2 -2
- package/dist/{LimitscolumnWidget-wIx0L9hb.cjs.map → LimitscolumnWidget-BLZE1Zfh.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-hsHkmY-_.js → LimitscolumnWidget-pR-tLgFG.js} +3 -3
- package/dist/{LimitscolumnWidget-hsHkmY-_.js.map → LimitscolumnWidget-pR-tLgFG.js.map} +1 -1
- package/dist/{LinegraphWidget-CXrKtxOo.js → LinegraphWidget-DMcegwyu.js} +5 -5
- package/dist/{LinegraphWidget-CXrKtxOo.js.map → LinegraphWidget-DMcegwyu.js.map} +1 -1
- package/dist/{LinegraphWidget-BRnwhfEQ.cjs → LinegraphWidget-adpA8cjD.cjs} +2 -2
- package/dist/{LinegraphWidget-BRnwhfEQ.cjs.map → LinegraphWidget-adpA8cjD.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-CsogVU9c.js → MatrixbycolumnsWidget--31rW1Mx.js} +4 -4
- package/dist/{MatrixbycolumnsWidget-CsogVU9c.js.map → MatrixbycolumnsWidget--31rW1Mx.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-3jldaS14.cjs → MatrixbycolumnsWidget-2lqTNOqb.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-3jldaS14.cjs.map → MatrixbycolumnsWidget-2lqTNOqb.cjs.map} +1 -1
- package/dist/{MicroservicesTab-3pNZZ5I0.cjs → MicroservicesTab-BDkTm3LD.cjs} +2 -2
- package/dist/{MicroservicesTab-3pNZZ5I0.cjs.map → MicroservicesTab-BDkTm3LD.cjs.map} +1 -1
- package/dist/{MicroservicesTab-DzEvbxlM.js → MicroservicesTab-DhisErku.js} +5 -5
- package/dist/{MicroservicesTab-DzEvbxlM.js.map → MicroservicesTab-DhisErku.js.map} +1 -1
- package/dist/{Openc3Screen-CD3C_EUo.cjs → Openc3Screen-B_8bygux.cjs} +5 -5
- package/dist/Openc3Screen-B_8bygux.cjs.map +1 -0
- package/dist/{Openc3Screen-Cqm5Xtd-.js → Openc3Screen-zVSKWUkb.js} +237 -232
- package/dist/Openc3Screen-zVSKWUkb.js.map +1 -0
- package/dist/{OutputDialog-7M4L50tA.js → OutputDialog-D3zlQlpE.js} +3 -3
- package/dist/{OutputDialog-7M4L50tA.js.map → OutputDialog-D3zlQlpE.js.map} +1 -1
- package/dist/{OutputDialog-CnDQxHTZ.cjs → OutputDialog-DxEYVYA3.cjs} +2 -2
- package/dist/{OutputDialog-CnDQxHTZ.cjs.map → OutputDialog-DxEYVYA3.cjs.map} +1 -1
- package/dist/{PackagesTab-N4SD1Pxj.js → PackagesTab-Bjy3y4fK.js} +4 -4
- package/dist/{PackagesTab-N4SD1Pxj.js.map → PackagesTab-Bjy3y4fK.js.map} +1 -1
- package/dist/{PackagesTab-DPPXZvoV.cjs → PackagesTab-CVytftqm.cjs} +2 -2
- package/dist/{PackagesTab-DPPXZvoV.cjs.map → PackagesTab-CVytftqm.cjs.map} +1 -1
- package/dist/PluginsTab-BvwrAskE.cjs +6 -0
- package/dist/PluginsTab-BvwrAskE.cjs.map +1 -0
- package/dist/{PluginsTab-C7PH2Wym.js → PluginsTab-Di5nXctJ.js} +375 -294
- package/dist/PluginsTab-Di5nXctJ.js.map +1 -0
- package/dist/{ProgressbarWidget-CPeGR-Az.cjs → ProgressbarWidget-COa_sGKn.cjs} +2 -2
- package/dist/{ProgressbarWidget-CPeGR-Az.cjs.map → ProgressbarWidget-COa_sGKn.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-CO6CEkxP.js → ProgressbarWidget-DGAYHWEj.js} +3 -3
- package/dist/{ProgressbarWidget-CO6CEkxP.js.map → ProgressbarWidget-DGAYHWEj.js.map} +1 -1
- package/dist/{RadiobuttonWidget-DucgkAYD.cjs → RadiobuttonWidget-CQPXrm0x.cjs} +2 -2
- package/dist/{RadiobuttonWidget-DucgkAYD.cjs.map → RadiobuttonWidget-CQPXrm0x.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-DrxUclws.js → RadiobuttonWidget-Cbx15iyl.js} +3 -3
- package/dist/{RadiobuttonWidget-DrxUclws.js.map → RadiobuttonWidget-Cbx15iyl.js.map} +1 -1
- package/dist/{RadiogroupWidget-C7oVFRf3.cjs → RadiogroupWidget-C15ugChT.cjs} +2 -2
- package/dist/{RadiogroupWidget-C7oVFRf3.cjs.map → RadiogroupWidget-C15ugChT.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-DN9C38cg.js → RadiogroupWidget-DW3nTccf.js} +3 -3
- package/dist/{RadiogroupWidget-DN9C38cg.js.map → RadiogroupWidget-DW3nTccf.js.map} +1 -1
- package/dist/{RangebarWidget-Da9S3KMB.cjs → RangebarWidget-5ekc5Lyp.cjs} +2 -2
- package/dist/{RangebarWidget-Da9S3KMB.cjs.map → RangebarWidget-5ekc5Lyp.cjs.map} +1 -1
- package/dist/{RangebarWidget-5uQTfLMP.js → RangebarWidget-BZba6dPt.js} +3 -3
- package/dist/{RangebarWidget-5uQTfLMP.js.map → RangebarWidget-BZba6dPt.js.map} +1 -1
- package/dist/{RedisTab-BFTaPNRc.cjs → RedisTab-C89xySPI.cjs} +2 -2
- package/dist/{RedisTab-BFTaPNRc.cjs.map → RedisTab-C89xySPI.cjs.map} +1 -1
- package/dist/{RedisTab-Cyrr_g9k.js → RedisTab-Dnqd_dRk.js} +14 -14
- package/dist/{RedisTab-Cyrr_g9k.js.map → RedisTab-Dnqd_dRk.js.map} +1 -1
- package/dist/{RollupWidget-DK0eFASs.cjs → RollupWidget-ILwSCjGa.cjs} +2 -2
- package/dist/{RollupWidget-DK0eFASs.cjs.map → RollupWidget-ILwSCjGa.cjs.map} +1 -1
- package/dist/{RollupWidget-B0DCULnu.js → RollupWidget-Mley0KZv.js} +3 -3
- package/dist/{RollupWidget-B0DCULnu.js.map → RollupWidget-Mley0KZv.js.map} +1 -1
- package/dist/{RoutersTab-B8JIxjdI.cjs → RoutersTab-CokDnWfK.cjs} +2 -2
- package/dist/{RoutersTab-B8JIxjdI.cjs.map → RoutersTab-CokDnWfK.cjs.map} +1 -1
- package/dist/{RoutersTab-BAfpG8k3.js → RoutersTab-Dg3i3h0M.js} +7 -7
- package/dist/{RoutersTab-BAfpG8k3.js.map → RoutersTab-Dg3i3h0M.js.map} +1 -1
- package/dist/ScriptChooser-BzQcgW8g.cjs +2 -0
- package/dist/ScriptChooser-BzQcgW8g.cjs.map +1 -0
- package/dist/{ScriptChooser-ahp4Tu3O.js → ScriptChooser-DL8ct71n.js} +32 -27
- package/dist/ScriptChooser-DL8ct71n.js.map +1 -0
- package/dist/{ScrollwindowWidget-xM_R_Arq.cjs → ScrollwindowWidget-B4dv7icF.cjs} +2 -2
- package/dist/{ScrollwindowWidget-xM_R_Arq.cjs.map → ScrollwindowWidget-B4dv7icF.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-BOkZQgtf.js → ScrollwindowWidget-DvsnpEcJ.js} +4 -4
- package/dist/{ScrollwindowWidget-BOkZQgtf.js.map → ScrollwindowWidget-DvsnpEcJ.js.map} +1 -1
- package/dist/{SecretsTab-D5RxHYVp.js → SecretsTab-CIrHz_ni.js} +8 -8
- package/dist/{SecretsTab-D5RxHYVp.js.map → SecretsTab-CIrHz_ni.js.map} +1 -1
- package/dist/{SecretsTab-DoHYppoO.cjs → SecretsTab-Dudp9OiZ.cjs} +2 -2
- package/dist/{SecretsTab-DoHYppoO.cjs.map → SecretsTab-Dudp9OiZ.cjs.map} +1 -1
- package/dist/{SettingsTab-CKGQEwd_.js → SettingsTab-DztpIQm7.js} +5 -5
- package/dist/{SettingsTab-CKGQEwd_.js.map → SettingsTab-DztpIQm7.js.map} +1 -1
- package/dist/{SettingsTab-Dvnzqzdp.cjs → SettingsTab-MipB-sIq.cjs} +2 -2
- package/dist/{SettingsTab-Dvnzqzdp.cjs.map → SettingsTab-MipB-sIq.cjs.map} +1 -1
- package/dist/{SignalWidget-Cis0Xkea.js → SignalWidget-BE-MGigb.js} +3 -3
- package/dist/{SignalWidget-Cis0Xkea.js.map → SignalWidget-BE-MGigb.js.map} +1 -1
- package/dist/{SignalWidget-BWKgNMdV.cjs → SignalWidget-CQqD33Lg.cjs} +2 -2
- package/dist/{SignalWidget-BWKgNMdV.cjs.map → SignalWidget-CQqD33Lg.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-D2mEDvGY.js → SimpleTextDialog-BkUovtW9.js} +7 -7
- package/dist/SimpleTextDialog-BkUovtW9.js.map +1 -0
- package/dist/{SimpleTextDialog-BCNn5FZh.cjs → SimpleTextDialog-NSW_V3iT.cjs} +2 -2
- package/dist/SimpleTextDialog-NSW_V3iT.cjs.map +1 -0
- package/dist/{SpacerWidget-CLcqC2Qk.js → SpacerWidget-DXayYLSi.js} +3 -3
- package/dist/{SpacerWidget-CLcqC2Qk.js.map → SpacerWidget-DXayYLSi.js.map} +1 -1
- package/dist/{SpacerWidget-_daU5QnM.cjs → SpacerWidget-QlVjOsLl.cjs} +2 -2
- package/dist/{SpacerWidget-_daU5QnM.cjs.map → SpacerWidget-QlVjOsLl.cjs.map} +1 -1
- package/dist/{SparklineWidget-CTp83eZ-.js → SparklineWidget-BNYHhnFk.js} +5 -5
- package/dist/{SparklineWidget-CTp83eZ-.js.map → SparklineWidget-BNYHhnFk.js.map} +1 -1
- package/dist/{SparklineWidget-qRnlPzJ_.cjs → SparklineWidget-mi0idVbP.cjs} +2 -2
- package/dist/{SparklineWidget-qRnlPzJ_.cjs.map → SparklineWidget-mi0idVbP.cjs.map} +1 -1
- package/dist/{TabbookWidget-C0Fvv-o5.cjs → TabbookWidget-BMaDTham.cjs} +2 -2
- package/dist/{TabbookWidget-C0Fvv-o5.cjs.map → TabbookWidget-BMaDTham.cjs.map} +1 -1
- package/dist/{TabbookWidget-uucd-zsX.js → TabbookWidget-BbnCFFoI.js} +3 -3
- package/dist/{TabbookWidget-uucd-zsX.js.map → TabbookWidget-BbnCFFoI.js.map} +1 -1
- package/dist/TargetPacketItemChooser-DezS0jS3.cjs +2 -0
- package/dist/TargetPacketItemChooser-DezS0jS3.cjs.map +1 -0
- package/dist/{TargetPacketItemChooser-CXpSx-eA.js → TargetPacketItemChooser-Z0Tn5eXv.js} +110 -55
- package/dist/TargetPacketItemChooser-Z0Tn5eXv.js.map +1 -0
- package/dist/{TargetsTab-CM4ABe5y.js → TargetsTab-CDd9F7X3.js} +15 -15
- package/dist/{TargetsTab-CM4ABe5y.js.map → TargetsTab-CDd9F7X3.js.map} +1 -1
- package/dist/{TargetsTab-Ixql3xzm.cjs → TargetsTab-D32K2JiE.cjs} +2 -2
- package/dist/{TargetsTab-Ixql3xzm.cjs.map → TargetsTab-D32K2JiE.cjs.map} +1 -1
- package/dist/{TextBoxDialog-DbD8P4Xc.cjs → TextBoxDialog-DXG7H7kQ.cjs} +2 -2
- package/dist/{TextBoxDialog-DbD8P4Xc.cjs.map → TextBoxDialog-DXG7H7kQ.cjs.map} +1 -1
- package/dist/{TextBoxDialog-CdFHdj5W.js → TextBoxDialog-Xs-gitZd.js} +2 -2
- package/dist/{TextBoxDialog-CdFHdj5W.js.map → TextBoxDialog-Xs-gitZd.js.map} +1 -1
- package/dist/{TextboxWidget-C2n38ti5.js → TextboxWidget-BmANrs4B.js} +5 -5
- package/dist/{TextboxWidget-C2n38ti5.js.map → TextboxWidget-BmANrs4B.js.map} +1 -1
- package/dist/{TextboxWidget-DrdMC0EB.cjs → TextboxWidget-D1pZXnLn.cjs} +2 -2
- package/dist/{TextboxWidget-DrdMC0EB.cjs.map → TextboxWidget-D1pZXnLn.cjs.map} +1 -1
- package/dist/{TextfieldWidget-VeOem1w3.cjs → TextfieldWidget-CTIX-cUX.cjs} +2 -2
- package/dist/{TextfieldWidget-VeOem1w3.cjs.map → TextfieldWidget-CTIX-cUX.cjs.map} +1 -1
- package/dist/{TextfieldWidget--HTv9ddk.js → TextfieldWidget-SJaLN05z.js} +3 -3
- package/dist/{TextfieldWidget--HTv9ddk.js.map → TextfieldWidget-SJaLN05z.js.map} +1 -1
- package/dist/{TimeWidget-C9ltUWFh.cjs → TimeWidget-Dytou9_B.cjs} +2 -2
- package/dist/{TimeWidget-C9ltUWFh.cjs.map → TimeWidget-Dytou9_B.cjs.map} +1 -1
- package/dist/{TimeWidget-CPNVZaUM.js → TimeWidget-jB9OkZz4.js} +3 -3
- package/dist/{TimeWidget-CPNVZaUM.js.map → TimeWidget-jB9OkZz4.js.map} +1 -1
- package/dist/{TitleWidget-IuUVZkLh.cjs → TitleWidget-CjgUoNOz.cjs} +2 -2
- package/dist/{TitleWidget-IuUVZkLh.cjs.map → TitleWidget-CjgUoNOz.cjs.map} +1 -1
- package/dist/{TitleWidget-Cp0cb6V8.js → TitleWidget-mcKJD8dB.js} +3 -3
- package/dist/{TitleWidget-Cp0cb6V8.js.map → TitleWidget-mcKJD8dB.js.map} +1 -1
- package/dist/{ToolsTab-DGjyBWkp.js → ToolsTab-BbUbC7aQ.js} +4 -4
- package/dist/{ToolsTab-DGjyBWkp.js.map → ToolsTab-BbUbC7aQ.js.map} +1 -1
- package/dist/{ToolsTab-Bgrj0eGr.cjs → ToolsTab-DIjQdiL-.cjs} +3 -3
- package/dist/{ToolsTab-Bgrj0eGr.cjs.map → ToolsTab-DIjQdiL-.cjs.map} +1 -1
- package/dist/{TopBar-DLz-U85G.cjs → TopBar-Bn4u3OQj.cjs} +2 -2
- package/dist/{TopBar-DLz-U85G.cjs.map → TopBar-Bn4u3OQj.cjs.map} +1 -1
- package/dist/{TopBar-B48yYbtR.js → TopBar-LuMoAqrA.js} +3 -3
- package/dist/{TopBar-B48yYbtR.js.map → TopBar-LuMoAqrA.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-DtckZO3_.cjs → UpgradeToEnterpriseDialog-BDYrclMq.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-DtckZO3_.cjs.map → UpgradeToEnterpriseDialog-BDYrclMq.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-C2Ggr_Xd.js → UpgradeToEnterpriseDialog-XVvb43ME.js} +3 -3
- package/dist/{UpgradeToEnterpriseDialog-C2Ggr_Xd.js.map → UpgradeToEnterpriseDialog-XVvb43ME.js.map} +1 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B-k6legU.cjs +1498 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B-k6legU.cjs.map +1 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-ByJi6BSv.js +30699 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-ByJi6BSv.js.map +1 -0
- package/dist/{VWidget-Cf9MXbCl.cjs → VWidget-B22Re761.cjs} +2 -2
- package/dist/{VWidget-Cf9MXbCl.cjs.map → VWidget-B22Re761.cjs.map} +1 -1
- package/dist/{VWidget-DQGJRgAk.js → VWidget-D8c5Lci7.js} +3 -3
- package/dist/{VWidget-DQGJRgAk.js.map → VWidget-D8c5Lci7.js.map} +1 -1
- package/dist/{ValueWidget-BmXm9dYt.cjs → ValueWidget-CyN11MWT.cjs} +2 -2
- package/dist/{ValueWidget-BmXm9dYt.cjs.map → ValueWidget-CyN11MWT.cjs.map} +1 -1
- package/dist/{ValueWidget-Bk1RFjks.js → ValueWidget-SNDW9Het.js} +5 -5
- package/dist/{ValueWidget-Bk1RFjks.js.map → ValueWidget-SNDW9Het.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-PjCpjhsr.cjs → ValuelimitsbarWidget-B86GYsdL.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-PjCpjhsr.cjs.map → ValuelimitsbarWidget-B86GYsdL.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-C0HIBYh2.js → ValuelimitsbarWidget-Zw91SPeP.js} +5 -5
- package/dist/{ValuelimitsbarWidget-C0HIBYh2.js.map → ValuelimitsbarWidget-Zw91SPeP.js.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BTT90uyX.js → ValuelimitscolumnWidget-B9unbzmn.js} +5 -5
- package/dist/{ValuelimitscolumnWidget-BTT90uyX.js.map → ValuelimitscolumnWidget-B9unbzmn.js.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BGiDDUI_.cjs → ValuelimitscolumnWidget-DPh3TEH4.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-BGiDDUI_.cjs.map → ValuelimitscolumnWidget-DPh3TEH4.cjs.map} +1 -1
- package/dist/{ValuerangebarWidget-ClmX-qH_.cjs → ValuerangebarWidget-Dm0754rv.cjs} +2 -2
- package/dist/{ValuerangebarWidget-ClmX-qH_.cjs.map → ValuerangebarWidget-Dm0754rv.cjs.map} +1 -1
- package/dist/{ValuerangebarWidget-CcQw_XK9.js → ValuerangebarWidget-DwNzPUzz.js} +5 -5
- package/dist/{ValuerangebarWidget-CcQw_XK9.js.map → ValuerangebarWidget-DwNzPUzz.js.map} +1 -1
- package/dist/{VerticalWidget-BeDWsvP6.cjs → VerticalWidget-BAH0R-Tj.cjs} +2 -2
- package/dist/{VerticalWidget-BeDWsvP6.cjs.map → VerticalWidget-BAH0R-Tj.cjs.map} +1 -1
- package/dist/{VerticalWidget-CNtFQv3R.js → VerticalWidget-gv7hWDKU.js} +3 -3
- package/dist/{VerticalWidget-CNtFQv3R.js.map → VerticalWidget-gv7hWDKU.js.map} +1 -1
- package/dist/{VerticalboxWidget-Yxmz1SnU.js → VerticalboxWidget-CZb5ebV7.js} +6 -6
- package/dist/{VerticalboxWidget-Yxmz1SnU.js.map → VerticalboxWidget-CZb5ebV7.js.map} +1 -1
- package/dist/{VerticalboxWidget-DlokKDBD.cjs → VerticalboxWidget-F9StIQ_8.cjs} +2 -2
- package/dist/{VerticalboxWidget-DlokKDBD.cjs.map → VerticalboxWidget-F9StIQ_8.cjs.map} +1 -1
- package/dist/{Widget-LsyjS7ZS.js → Widget-DNBZcUQg.js} +2 -2
- package/dist/{Widget-LsyjS7ZS.js.map → Widget-DNBZcUQg.js.map} +1 -1
- package/dist/{Widget-HC1_yuQg.cjs → Widget-DghDRiv6.cjs} +2 -2
- package/dist/{Widget-HC1_yuQg.cjs.map → Widget-DghDRiv6.cjs.map} +1 -1
- package/dist/cmdUtilities-C5lf-N2L.js +44 -0
- package/dist/{cmdUtilities-BMsSNjt_.js.map → cmdUtilities-C5lf-N2L.js.map} +1 -1
- package/dist/cmdUtilities-DDCksp2R.cjs +2 -0
- package/dist/{cmdUtilities-ChD8v8-7.cjs.map → cmdUtilities-DDCksp2R.cjs.map} +1 -1
- package/dist/components.cjs +2 -2
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +83 -83
- package/dist/components.js.map +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{index-DS1ACWVr.js → index-BUPRVmV-.js} +144 -144
- package/dist/index-BUPRVmV-.js.map +1 -0
- package/dist/{index-Nd4O4kac.cjs → index-BWTUBIkL.cjs} +7 -7
- package/dist/index-BWTUBIkL.cjs.map +1 -0
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +87 -85
- package/dist/plugins.js.map +1 -1
- package/dist/purify.es-BuxjWxA2.js +554 -0
- package/dist/purify.es-BuxjWxA2.js.map +1 -0
- package/dist/purify.es-d7tb6jjJ.cjs +3 -0
- package/dist/purify.es-d7tb6jjJ.cjs.map +1 -0
- package/dist/{settings-DCxXjkio.js → settings-BC-CN37t.js} +2 -2
- package/dist/{settings-DCxXjkio.js.map → settings-BC-CN37t.js.map} +1 -1
- package/dist/{settings-zRw8EylV.cjs → settings-DHUu0bEd.cjs} +2 -2
- package/dist/{settings-zRw8EylV.cjs.map → settings-DHUu0bEd.cjs.map} +1 -1
- package/dist/tools/admin.cjs +5 -5
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +600 -844
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.js +6 -6
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +9 -9
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +935 -917
- package/dist/tools/scriptrunner.js.map +1 -1
- 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 +18 -24
- package/dist/CustomIcon-Bop2mEnu.cjs +0 -2
- package/dist/EventListDialog-B8rnN9Zi.cjs +0 -2
- package/dist/EventListDialog-B8rnN9Zi.cjs.map +0 -1
- package/dist/EventListDialog-C2pwmD0d.js.map +0 -1
- package/dist/Graph-BliBYJxD.js.map +0 -1
- package/dist/Graph-DxC2MPYf.cjs +0 -2
- package/dist/Graph-DxC2MPYf.cjs.map +0 -1
- package/dist/Layout-DvBekli8.cjs +0 -2
- package/dist/Openc3Screen-CD3C_EUo.cjs.map +0 -1
- package/dist/Openc3Screen-Cqm5Xtd-.js.map +0 -1
- package/dist/PluginsTab-C7PH2Wym.js.map +0 -1
- package/dist/PluginsTab-xzPlEMYj.cjs +0 -6
- package/dist/PluginsTab-xzPlEMYj.cjs.map +0 -1
- package/dist/ScriptChooser-ahp4Tu3O.js.map +0 -1
- package/dist/ScriptChooser-ma6P0WuM.cjs +0 -2
- package/dist/ScriptChooser-ma6P0WuM.cjs.map +0 -1
- package/dist/SimpleTextDialog-BCNn5FZh.cjs.map +0 -1
- package/dist/SimpleTextDialog-D2mEDvGY.js.map +0 -1
- package/dist/TargetPacketItemChooser-CAl-fNql.cjs +0 -2
- package/dist/TargetPacketItemChooser-CAl-fNql.cjs.map +0 -1
- package/dist/TargetPacketItemChooser-CXpSx-eA.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs +0 -1498
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js +0 -30611
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js.map +0 -1
- package/dist/cmdUtilities-BMsSNjt_.js +0 -46
- package/dist/cmdUtilities-ChD8v8-7.cjs +0 -2
- package/dist/index-DS1ACWVr.js.map +0 -1
- package/dist/index-Nd4O4kac.cjs.map +0 -1
- package/dist/purify.es-GHnZTJ9O.cjs +0 -3
- package/dist/purify.es-GHnZTJ9O.cjs.map +0 -1
- package/dist/purify.es-eYFoHPwR.js +0 -529
- package/dist/purify.es-eYFoHPwR.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-
|
|
1
|
+
{"version":3,"file":"settings-BC-CN37t.js","sources":["../src/tools/admin/tabs/settings/settings.js"],"sourcesContent":["/*\n# Copyright 2025 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport { OpenC3Api } from '@openc3/js-common/services'\n\nexport default {\n data() {\n return {\n api: new OpenC3Api(),\n errorText: '',\n errorLoading: false,\n errorSaving: false,\n successSaving: false,\n }\n },\n methods: {\n loadSetting: function (setting, kwparams) {\n this.api\n .get_setting(setting, kwparams)\n .then((response) => {\n this.parseSetting(response)\n })\n .catch((error) => {\n this.parseSetting(null)\n this.errorText = error\n this.errorLoading = true\n })\n },\n saveSetting: function (setting, jsonString, kwparams) {\n this.api\n .set_setting(setting, jsonString, kwparams)\n .then(() => {\n this.errorSaving = false\n this.successSaving = true\n })\n .catch(() => {\n this.errorSaving = true\n this.successSaving = false\n })\n },\n parseSetting: function (response) {},\n },\n}\n"],"names":["Settings","OpenC3Api","setting","kwparams","response","error","jsonString"],"mappings":";AAoBA,MAAAA,IAAe;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,KAAK,IAAIC,EAAS;AAAA,MAClB,WAAW;AAAA,MACX,cAAc;AAAA,MACd,aAAa;AAAA,MACb,eAAe;AAAA,IACrB;AAAA,EACE;AAAA,EACA,SAAS;AAAA,IACP,aAAa,SAAUC,GAASC,GAAU;AACxC,WAAK,IACF,YAAYD,GAASC,CAAQ,EAC7B,KAAK,CAACC,MAAa;AAClB,aAAK,aAAaA,CAAQ;AAAA,MAC5B,CAAC,EACA,MAAM,CAACC,MAAU;AAChB,aAAK,aAAa,IAAI,GACtB,KAAK,YAAYA,GACjB,KAAK,eAAe;AAAA,MACtB,CAAC;AAAA,IACL;AAAA,IACA,aAAa,SAAUH,GAASI,GAAYH,GAAU;AACpD,WAAK,IACF,YAAYD,GAASI,GAAYH,CAAQ,EACzC,KAAK,MAAM;AACV,aAAK,cAAc,IACnB,KAAK,gBAAgB;AAAA,MACvB,CAAC,EACA,MAAM,MAAM;AACX,aAAK,cAAc,IACnB,KAAK,gBAAgB;AAAA,MACvB,CAAC;AAAA,IACL;AAAA,IACA,cAAc,SAAUC,GAAU;AAAA,IAAC;AAAA,EACvC;AACA;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-
|
|
2
|
-
//# sourceMappingURL=settings-
|
|
1
|
+
"use strict";const i=require("./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B-k6legU.cjs"),r={data(){return{api:new i.bi,errorText:"",errorLoading:!1,errorSaving:!1,successSaving:!1}},methods:{loadSetting:function(t,s){this.api.get_setting(t,s).then(e=>{this.parseSetting(e)}).catch(e=>{this.parseSetting(null),this.errorText=e,this.errorLoading=!0})},saveSetting:function(t,s,e){this.api.set_setting(t,s,e).then(()=>{this.errorSaving=!1,this.successSaving=!0}).catch(()=>{this.errorSaving=!0,this.successSaving=!1})},parseSetting:function(t){}}};exports.Settings=r;
|
|
2
|
+
//# sourceMappingURL=settings-DHUu0bEd.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-
|
|
1
|
+
{"version":3,"file":"settings-DHUu0bEd.cjs","sources":["../src/tools/admin/tabs/settings/settings.js"],"sourcesContent":["/*\n# Copyright 2025 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport { OpenC3Api } from '@openc3/js-common/services'\n\nexport default {\n data() {\n return {\n api: new OpenC3Api(),\n errorText: '',\n errorLoading: false,\n errorSaving: false,\n successSaving: false,\n }\n },\n methods: {\n loadSetting: function (setting, kwparams) {\n this.api\n .get_setting(setting, kwparams)\n .then((response) => {\n this.parseSetting(response)\n })\n .catch((error) => {\n this.parseSetting(null)\n this.errorText = error\n this.errorLoading = true\n })\n },\n saveSetting: function (setting, jsonString, kwparams) {\n this.api\n .set_setting(setting, jsonString, kwparams)\n .then(() => {\n this.errorSaving = false\n this.successSaving = true\n })\n .catch(() => {\n this.errorSaving = true\n this.successSaving = false\n })\n },\n parseSetting: function (response) {},\n },\n}\n"],"names":["Settings","OpenC3Api","setting","kwparams","response","error","jsonString"],"mappings":"yHAoBAA,EAAe,CACb,MAAO,CACL,MAAO,CACL,IAAK,IAAIC,EAAAA,GACT,UAAW,GACX,aAAc,GACd,YAAa,GACb,cAAe,EACrB,CACE,EACA,QAAS,CACP,YAAa,SAAUC,EAASC,EAAU,CACxC,KAAK,IACF,YAAYD,EAASC,CAAQ,EAC7B,KAAMC,GAAa,CAClB,KAAK,aAAaA,CAAQ,CAC5B,CAAC,EACA,MAAOC,GAAU,CAChB,KAAK,aAAa,IAAI,EACtB,KAAK,UAAYA,EACjB,KAAK,aAAe,EACtB,CAAC,CACL,EACA,YAAa,SAAUH,EAASI,EAAYH,EAAU,CACpD,KAAK,IACF,YAAYD,EAASI,EAAYH,CAAQ,EACzC,KAAK,IAAM,CACV,KAAK,YAAc,GACnB,KAAK,cAAgB,EACvB,CAAC,EACA,MAAM,IAAM,CACX,KAAK,YAAc,GACnB,KAAK,cAAgB,EACvB,CAAC,CACL,EACA,aAAc,SAAUC,EAAU,CAAC,CACvC,CACA"}
|
package/dist/tools/admin.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Le=require("../index-Nd4O4kac.cjs"),n=require("vue"),I=require("../CustomIcon-Bop2mEnu.cjs"),E=require("../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs"),S=require("../TopBar-DLz-U85G.cjs");require("single-spa");const Ne={props:{modelValue:Boolean},data(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},listData:function(){return this.response?this.type==="github"?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){const t=/\w+.gem/;return this.response.tree.filter(e=>t.exec(e.path)).map(e=>({name:e.path,url:`https://raw.github.com/OpenC3/openc3-tools/main/${e.path}`}))},getResponse:function(){this.disableSearch=!0,Le.axios.get(this.url).then(t=>{this.response=t.data}),setTimeout(()=>{this.disableSearch=!1},1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){const e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},ke={class:"pa-3"},Te={class:"px-2"},Se={key:0,class:"mt-4"},$e={key:1,class:"mt-4"};function De(t,e,o,l,i,r){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-toolbar"),c=n.resolveComponent("v-row"),d=n.resolveComponent("v-icon"),u=n.resolveComponent("v-btn"),h=n.resolveComponent("v-col"),g=n.resolveComponent("v-list-item-title"),p=n.resolveComponent("v-progress-circular"),_=n.resolveComponent("v-list-item"),V=n.resolveComponent("v-divider"),C=n.resolveComponent("v-card-text"),f=n.resolveComponent("v-card"),b=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(b,{modelValue:r.show,"onUpdate:modelValue":e[0]||(e[0]=m=>r.show=m),width:"600"},{default:n.withCtx(()=>[n.createVNode(f,null,{default:n.withCtx(()=>[n.createVNode(a,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),e[1]||(e[1]=n.createElementVNode("span",null," Download Gems ",-1)),n.createVNode(s)]),_:1}),n.createVNode(C,null,{default:n.withCtx(()=>[n.createElementVNode("div",ke,[n.createVNode(c,{class:"my-2"},{default:n.withCtx(()=>[...e[2]||(e[2]=[n.createTextVNode(" Select a download option ",-1)])]),_:1}),n.createVNode(c,null,{default:n.withCtx(()=>[n.createVNode(h,null,{default:n.withCtx(()=>[n.createElementVNode("div",Te,[n.createVNode(u,{block:"","data-test":"searchGithub",color:"primary",disabled:i.disableSearch,onClick:r.searchGithub},{default:n.withCtx(()=>[e[4]||(e[4]=n.createTextVNode(" Github ",-1)),n.createVNode(d,{end:"",theme:"dark"},{default:n.withCtx(()=>[...e[3]||(e[3]=[n.createTextVNode(" mdi-github ",-1)])]),_:1})]),_:1},8,["disabled","onClick"])])]),_:1})]),_:1}),n.createVNode(c,{class:"mt-5"},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Community Gems ",-1)])]),_:1}),r.listData.length<1?(n.openBlock(),n.createElementBlock("div",Se,[n.createVNode(c,{class:"mx-2"},{default:n.withCtx(()=>[...e[6]||(e[6]=[n.createElementVNode("span",null," I’m sorry, Dave. No gems available.... ",-1)])]),_:1})])):(n.openBlock(),n.createElementBlock("div",$e,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.listData,(m,w)=>(n.openBlock(),n.createElementBlock("div",{key:w},[n.createVNode(_,null,{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m.name),1)]),_:2},1024),n.createVNode(_,{icon:""},{default:n.withCtx(()=>[i.activeDownload?(n.openBlock(),n.createBlock(p,{key:0,indeterminate:"",color:"primary"})):(n.openBlock(),n.createBlock(u,{key:1,icon:"mdi-cloud-download",variant:"text",disabled:i.activeDownload,onClick:L=>r.downloadGem(m)},null,8,["disabled","onClick"]))]),_:2},1024)]),_:2},1024),w<r.listData.length-1?(n.openBlock(),n.createBlock(V,{key:w})):n.createCommentVNode("",!0)]))),128))]))])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const Ie=I._export_sfc(Ne,[["render",De]]),Me={props:{content:{type:String,required:!0},type:String,name:String,modelValue:Boolean,readonly:Boolean},data(){return{editor:null,contextMenu:!1,menuX:0,menuY:0}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},title:function(){return`${this.type}: ${this.name}`},error:function(){return this.editor&&this.editor.getValue()===""&&!this.file?"Input can not be blank.":null}},mounted(){const t=this.buildPluginMode();this.editor=E.aceExports.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new t),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),S.AceEditorUtils.applyVimModeIfEnabled(this.editor),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeUnmount(){this.editor&&this.editor.destroy()},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){const t=new Blob([this.editor.getValue()],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download",`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`),e.click()},buildPluginMode(){let t=E.aceExports.require("ace/lib/oop"),e=E.aceExports.require("ace/mode/json_highlight_rules").JsonHighlightRules,o=E.aceExports.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,l=E.aceExports.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=E.aceExports.require("ace/mode/folding/ruby").FoldMode,r=function(){this.HighlightRules=e,this.$outdent=new o,this.$behaviour=new l,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},s=E.aceExports.require("ace/mode/ruby").Mode;return t.inherits(r,s),(function(){this.$id="ace/mode/openc3"}).call(r.prototype),r},showContextMenu:function(t){this.menuX=t.pageX,this.menuY=t.pageY;let e=this.editor.getCursorPosition(),o=this.editor.session.getTokenAt(e.row,e.column);if(o){let l=o.value.trim();l.includes(" ")?this.docsKeyword=l.split(" ")[0]:this.docsKeyword=l,this.contextMenu=!0}},toggleVimMode:function(){S.AceEditorUtils.toggleVimMode(this.editor)}}},Be=["textContent"],Re={class:"pa-3"},Ae={key:0},Oe=["textContent"];function Fe(t,e,o,l,i,r){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-btn"),c=n.resolveComponent("v-toolbar"),d=n.resolveComponent("v-row"),u=n.resolveComponent("v-col"),h=n.resolveComponent("v-file-input"),g=n.resolveComponent("v-list-item"),p=n.resolveComponent("v-list"),_=n.resolveComponent("v-menu"),V=n.resolveComponent("v-card-text"),C=n.resolveComponent("v-card"),f=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(f,{modelValue:r.show,"onUpdate:modelValue":e[4]||(e[4]=b=>r.show=b),persistent:!o.readonly,width:"80vw"},{default:n.withCtx(()=>[n.createVNode(C,null,{default:n.withCtx(()=>[n.createElementVNode("form",{onSubmit:e[3]||(e[3]=n.withModifiers((...b)=>r.submit&&r.submit(...b),["prevent"]))},[n.createVNode(c,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),n.createElementVNode("span",{textContent:n.toDisplayString(r.title)},null,8,Be),n.createVNode(s),n.createVNode(a,{class:"mx-2",icon:"mdi-download",variant:"text",density:"compact","data-test":"downloadIcon",onClick:r.download},null,8,["onClick"])]),_:1}),n.createVNode(V,null,{default:n.withCtx(()=>[n.createElementVNode("div",Re,[o.readonly?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",Ae,[n.createVNode(d,{class:"mt-3"},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Upload a file. ",-1)])]),_:1}),n.createVNode(d,{"no-gutters":"",align:"center"},{default:n.withCtx(()=>[n.createVNode(u,{cols:"3"},{default:n.withCtx(()=>[n.createVNode(a,{block:"",color:"success",disabled:!t.file||t.loadingFile||o.readonly,loading:t.loadingFile,"data-test":"editScreenLoadBtn",onClick:t.loadFile},{loader:n.withCtx(()=>[...e[6]||(e[6]=[n.createElementVNode("span",null,"Loading...",-1)])]),default:n.withCtx(()=>[e[7]||(e[7]=n.createTextVNode(" Load ",-1))]),_:1},8,["disabled","loading","onClick"])]),_:1}),n.createVNode(u,{cols:"9"},{default:n.withCtx(()=>[n.createVNode(h,{modelValue:t.file,"onUpdate:modelValue":e[0]||(e[0]=b=>t.file=b),accept:".json",label:"Click to select .json file.",disabled:o.readonly},null,8,["modelValue","disabled"])]),_:1})]),_:1})])),n.createVNode(d,{"no-gutters":""},{default:n.withCtx(()=>[n.createElementVNode("pre",{ref:"editor",class:"editor",onContextmenu:e[1]||(e[1]=n.withModifiers((...b)=>r.showContextMenu&&r.showContextMenu(...b),["prevent"]))},null,544),n.createVNode(_,{modelValue:i.contextMenu,"onUpdate:modelValue":e[2]||(e[2]=b=>i.contextMenu=b),target:[i.menuX,i.menuY]},{default:n.withCtx(()=>[n.createVNode(p,null,{default:n.withCtx(()=>[n.createVNode(g,{title:"Toggle Vim mode","prepend-icon":"extras:vim",onClick:r.toggleVimMode},null,8,["onClick"])]),_:1})]),_:1},8,["modelValue","target"])]),_:1}),n.createVNode(d,{class:"my-3"},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("span",{class:"text-red",textContent:n.toDisplayString(r.error)},null,8,Oe),[[n.vShow,r.error]])]),_:1}),n.createVNode(d,null,{default:n.withCtx(()=>[n.createVNode(s),n.createVNode(a,{variant:"outlined",class:"mx-2","data-test":"editCancelBtn",onClick:n.withModifiers(r.close,["prevent"])},{default:n.withCtx(()=>[...e[8]||(e[8]=[n.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),o.readonly?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(a,{key:0,class:"mx-2",color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!r.error||o.readonly},{default:n.withCtx(()=>[...e[9]||(e[9]=[n.createTextVNode(" Save ",-1)])]),_:1},8,["disabled"]))]),_:1})])]),_:1})],32)]),_:1})]),_:1},8,["modelValue","persistent"])}const Pe=I._export_sfc(Me,[["render",Fe],["__scopeId","data-v-e84cb3ed"]]),He={props:{modelValue:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data(){return{modifiedTargets:[],deleteModified:!1}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},created(){for(const t of this.targets)E.hi.get(`/openc3-api/targets/${t.name}/modified_files`).then(e=>{e.data.length!==0&&this.modifiedTargets.push({name:t.name,files:e.data})})}};function qe(t,e,o,l,i,r){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-toolbar"),c=n.resolveComponent("v-list-item-title"),d=n.resolveComponent("v-list-item-subtitle"),u=n.resolveComponent("v-list-item"),h=n.resolveComponent("v-checkbox"),g=n.resolveComponent("v-card-text"),p=n.resolveComponent("v-btn"),_=n.resolveComponent("v-card-actions"),V=n.resolveComponent("v-card"),C=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(C,{modelValue:r.show,"onUpdate:modelValue":e[3]||(e[3]=f=>r.show=f),width:"600"},{default:n.withCtx(()=>[n.createVNode(V,null,{default:n.withCtx(()=>[n.createVNode(a,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),e[4]||(e[4]=n.createElementVNode("span",null," Modified Plugin ",-1)),n.createVNode(s)]),_:1}),n.createVNode(g,{class:"pa-3"},{default:n.withCtx(()=>[n.createElementVNode("div",null," Plugin "+n.toDisplayString(o.plugin)+" was modified. Would you like to delete the existing modified files? ",1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.modifiedTargets,(f,b)=>(n.openBlock(),n.createBlock(u,{key:b,lines:"two"},{default:n.withCtx(()=>[n.createVNode(c,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(f.name),1)]),_:2},1024),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.files,(m,w)=>(n.openBlock(),n.createBlock(d,{key:w},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m),1)]),_:2},1024))),128))]),_:2},1024))),128)),n.createVNode(h,{modelValue:i.deleteModified,"onUpdate:modelValue":e[0]||(e[0]=f=>i.deleteModified=f),label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},null,8,["modelValue"])]),_:1}),n.createVNode(_,{class:"px-2"},{default:n.withCtx(()=>[n.createVNode(s),n.createVNode(p,{variant:"outlined","data-test":"modified-plugin-cancel",onClick:e[1]||(e[1]=()=>{r.show=!1,t.$emit("cancel")})},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Cancel ",-1)])]),_:1}),n.createVNode(p,{variant:"flat","data-test":"modified-plugin-submit",onClick:e[2]||(e[2]=()=>{r.show=!1,t.$emit("submit",i.deleteModified)})},{default:n.withCtx(()=>[...e[6]||(e[6]=[n.createTextVNode(" Confirm ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const Ue=I._export_sfc(He,[["render",qe]]),_e=[{displayName:"Plugins",name:"PluginsTab",path:"plugins",component:()=>Promise.resolve().then(()=>require("../PluginsTab-xzPlEMYj.cjs"))},{displayName:"Targets",name:"TargetsTab",path:"targets",component:()=>Promise.resolve().then(()=>require("../TargetsTab-Ixql3xzm.cjs"))},{displayName:"Interfaces",name:"InterfacesTab",path:"interfaces",component:()=>Promise.resolve().then(()=>require("../InterfacesTab-CiVfsUia.cjs"))},{displayName:"Routers",name:"RoutersTab",path:"routers",component:()=>Promise.resolve().then(()=>require("../RoutersTab-B8JIxjdI.cjs"))},{displayName:"Microservices",name:"MicroservicesTab",path:"microservices",component:()=>Promise.resolve().then(()=>require("../MicroservicesTab-3pNZZ5I0.cjs"))},{displayName:"Packages",name:"PackagesTab",path:"packages",component:()=>Promise.resolve().then(()=>require("../PackagesTab-DPPXZvoV.cjs"))},{displayName:"Tools",name:"ToolsTab",path:"tools",component:()=>Promise.resolve().then(()=>require("../ToolsTab-Bgrj0eGr.cjs"))},{displayName:"Redis",name:"RedisTab",path:"redis",component:()=>Promise.resolve().then(()=>require("../RedisTab-BFTaPNRc.cjs"))},{displayName:"Secrets",name:"SecretsTab",path:"secrets",component:()=>Promise.resolve().then(()=>require("../SecretsTab-DoHYppoO.cjs"))},{displayName:"Settings",name:"SettingsTab",path:"settings",component:()=>Promise.resolve().then(()=>require("../SettingsTab-Dvnzqzdp.cjs"))}],Ge={components:{TopBar:S.TopBar},data(){return{title:"Administrator Console",curTab:null}},computed:{tabs:function(){return _e.map(t=>({displayName:t.displayName,path:{name:t.name}}))}}};function je(t,e,o,l,i,r){const s=n.resolveComponent("top-bar"),a=n.resolveComponent("v-tab"),c=n.resolveComponent("v-tabs"),d=n.resolveComponent("router-view"),u=n.resolveComponent("v-card");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(s,{title:i.title},null,8,["title"]),n.createVNode(u,null,{default:n.withCtx(()=>[n.createVNode(c,{modelValue:i.curTab,"onUpdate:modelValue":e[0]||(e[0]=h=>i.curTab=h),"fixed-tabs":""},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.tabs,(h,g)=>(n.openBlock(),n.createBlock(a,{key:g,to:h.path},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.displayName),1)]),_:2},1032,["to"]))),128))]),_:1},8,["modelValue"]),n.createVNode(d)]),_:1})])}const Ye=I._export_sfc(Ge,[["render",je]]);function U(t){const[e,o]=t;return[e,o]}function z(t,e){let o=t,l=e;const i=o.length,r=l.length;if(i===0||r===0)return 0;i>r?o=o.substring(i-r):i<r&&(l=l.substring(0,i));const s=Math.min(i,r);if(o===l)return s;let a=0,c=1;for(let d=0;d!==-1;){const u=o.substring(s-c);if(d=l.indexOf(u),d===-1)return a;c+=d,(d===0||o.substring(s-c)===l.substring(0,c))&&(a=c,c++)}return a}function G(t,e){if(!t||!e||t[0]!==e[0])return 0;let o=0,l=Math.min(t.length,e.length),i=l,r=0;for(;o<i;)t.substring(r,i)===e.substring(r,i)?(o=i,r=o):l=i,i=Math.floor((l-o)/2+o);return i}function P(t,e){if(!t||!e||t[t.length-1]!==e[e.length-1])return 0;let o=0,l=Math.min(t.length,e.length),i=l,r=0;for(;o<i;)t.substring(t.length-i,t.length-r)===e.substring(e.length-i,e.length-r)?(o=i,r=o):l=i,i=Math.floor((l-o)/2+o);return i}function ze(t){const e=t.charCodeAt(0);return e>=55296&&e<=56319}function We(t){const e=t.charCodeAt(0);return e>=56320&&e<=57343}function Ke(t,e,o){const l=t.length,i=e.length,r=Math.ceil((l+i)/2),s=r,a=2*r,c=new Array(a),d=new Array(a);for(let C=0;C<a;C++)c[C]=-1,d[C]=-1;c[s+1]=0,d[s+1]=0;const u=l-i,h=u%2!==0;let g=0,p=0,_=0,V=0;for(let C=0;C<r&&!(Date.now()>o);C++){for(let f=-C+g;f<=C-p;f+=2){const b=s+f;let m;f===-C||f!==C&&c[b-1]<c[b+1]?m=c[b+1]:m=c[b-1]+1;let w=m-f;for(;m<l&&w<i&&t.charAt(m)===e.charAt(w);)m++,w++;if(c[b]=m,m>l)p+=2;else if(w>i)g+=2;else if(h){const L=s+u-f;if(L>=0&&L<a&&d[L]!==-1){const T=l-d[L];if(m>=T)return W(t,e,m,w,o)}}}for(let f=-C+_;f<=C-V;f+=2){const b=s+f;let m;f===-C||f!==C&&d[b-1]<d[b+1]?m=d[b+1]:m=d[b-1]+1;let w=m-f;for(;m<l&&w<i&&t.charAt(l-m-1)===e.charAt(i-w-1);)m++,w++;if(d[b]=m,m>l)V+=2;else if(w>i)_+=2;else if(!h){const L=s+u-f;if(L>=0&&L<a&&c[L]!==-1){const T=c[L],H=s+T-L;if(m=l-m,T>=m)return W(t,e,T,H,o)}}}}return[[N,t],[y,e]]}function W(t,e,o,l,i){const r=t.substring(0,o),s=e.substring(0,l),a=t.substring(o),c=e.substring(l),d=$(r,s,{checkLines:!1,deadline:i}),u=$(a,c,{checkLines:!1,deadline:i});return d.concat(u)}function Xe(t,e,o=1){if(o<=0)return null;const l=t.length>e.length?t:e,i=t.length>e.length?e:t;if(l.length<4||i.length*2<l.length)return null;const r=K(l,i,Math.ceil(l.length/4)),s=K(l,i,Math.ceil(l.length/2));let a;if(r&&s)a=r[4].length>s[4].length?r:s;else{if(!r&&!s)return null;s?r||(a=s):a=r}if(!a)throw new Error("Unable to find a half match.");let c,d,u,h;t.length>e.length?(c=a[0],d=a[1],u=a[2],h=a[3]):(u=a[0],h=a[1],c=a[2],d=a[3]);const g=a[4];return[c,d,u,h,g]}function K(t,e,o){const l=t.slice(o,o+Math.floor(t.length/4));let i=-1,r="",s,a,c,d;for(;(i=e.indexOf(l,i+1))!==-1;){const u=G(t.slice(o),e.slice(i)),h=P(t.slice(0,o),e.slice(0,i));r.length<h+u&&(r=e.slice(i-h,i)+e.slice(i,i+u),s=t.slice(0,o-h),a=t.slice(o+u),c=e.slice(0,i-h),d=e.slice(i+u))}return r.length*2>=t.length?[s||"",a||"",c||"",d||"",r||""]:null}function Je(t,e){for(let o=0;o<t.length;o++){const l=t[o][1],i=[];for(let r=0;r<l.length;r++)i[r]=e[l.charCodeAt(r)];t[o][1]=i.join("")}}function Qe(t,e){const o=[],l={};o[0]="";function i(c){let d="",u=0,h=-1,g=o.length;for(;h<c.length-1;){h=c.indexOf(`
|
|
2
|
-
`,u),h===-1&&(h=c.length-1);let p=c.slice(u,h+1);(
|
|
3
|
-
`)}function ie(t,e,o,
|
|
4
|
-
`);const g=s.ace.getSession().getScrollTop();s.ace.getSession().replace(new O(d,0,u,0),h),s.ace.getSession().setScrollTop(parseInt(g,10)),t.diff()}function de(t){const e=t.ace.getSession().doc.getAllLines(),o=[];return e.forEach(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ve=require("../index-BWTUBIkL.cjs"),n=require("vue"),F=require("../CustomIcon-eie3rPKh.cjs"),k=require("../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B-k6legU.cjs");require("single-spa");const $=require("../TopBar-Bn4u3OQj.cjs"),Te={props:{modelValue:Boolean},data(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},listData:function(){return this.response?this.type==="github"?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){const t=/\w+.gem/;return this.response.tree.filter(e=>t.exec(e.path)).map(e=>({name:e.path,url:`https://raw.github.com/OpenC3/openc3-tools/main/${e.path}`}))},getResponse:function(){this.disableSearch=!0,Ve.axios.get(this.url).then(t=>{this.response=t.data}),setTimeout(()=>{this.disableSearch=!1},1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){const e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},ke={class:"pa-3"},Ne={class:"px-2"},Se={key:0,class:"mt-4"},$e={key:1,class:"mt-4"};function De(t,e,o,r,i,l){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-toolbar"),c=n.resolveComponent("v-row"),d=n.resolveComponent("v-icon"),u=n.resolveComponent("v-btn"),h=n.resolveComponent("v-col"),g=n.resolveComponent("v-list-item-title"),p=n.resolveComponent("v-progress-circular"),_=n.resolveComponent("v-list-item"),L=n.resolveComponent("v-divider"),C=n.resolveComponent("v-card-text"),f=n.resolveComponent("v-card"),x=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(x,{modelValue:l.show,"onUpdate:modelValue":e[0]||(e[0]=m=>l.show=m),width:"600"},{default:n.withCtx(()=>[n.createVNode(f,null,{default:n.withCtx(()=>[n.createVNode(a,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),e[1]||(e[1]=n.createElementVNode("span",null," Download Gems ",-1)),n.createVNode(s)]),_:1}),n.createVNode(C,null,{default:n.withCtx(()=>[n.createElementVNode("div",ke,[n.createVNode(c,{class:"my-2"},{default:n.withCtx(()=>[...e[2]||(e[2]=[n.createTextVNode(" Select a download option ",-1)])]),_:1}),n.createVNode(c,null,{default:n.withCtx(()=>[n.createVNode(h,null,{default:n.withCtx(()=>[n.createElementVNode("div",Ne,[n.createVNode(u,{block:"","data-test":"searchGithub",color:"primary",disabled:i.disableSearch,onClick:l.searchGithub},{default:n.withCtx(()=>[e[4]||(e[4]=n.createTextVNode(" Github ",-1)),n.createVNode(d,{end:"",theme:"dark"},{default:n.withCtx(()=>[...e[3]||(e[3]=[n.createTextVNode(" mdi-github ",-1)])]),_:1})]),_:1},8,["disabled","onClick"])])]),_:1})]),_:1}),n.createVNode(c,{class:"mt-5"},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Community Gems ",-1)])]),_:1}),l.listData.length<1?(n.openBlock(),n.createElementBlock("div",Se,[n.createVNode(c,{class:"mx-2"},{default:n.withCtx(()=>[...e[6]||(e[6]=[n.createElementVNode("span",null," I’m sorry, Dave. No gems available.... ",-1)])]),_:1})])):(n.openBlock(),n.createElementBlock("div",$e,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.listData,(m,v)=>(n.openBlock(),n.createElementBlock("div",{key:v},[n.createVNode(_,null,{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m.name),1)]),_:2},1024),n.createVNode(_,{icon:""},{default:n.withCtx(()=>[i.activeDownload?(n.openBlock(),n.createBlock(p,{key:0,indeterminate:"",color:"primary"})):(n.openBlock(),n.createBlock(u,{key:1,icon:"mdi-cloud-download",variant:"text",disabled:i.activeDownload,onClick:y=>l.downloadGem(m)},null,8,["disabled","onClick"]))]),_:2},1024)]),_:2},1024),v<l.listData.length-1?(n.openBlock(),n.createBlock(L,{key:v})):n.createCommentVNode("",!0)]))),128))]))])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const Ie=F._export_sfc(Te,[["render",De]]),Me={props:{modelValue:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data(){return{modifiedTargets:[],deleteModified:!1}},methods:{cancel(){this.show=!1,this.$emit("cancel")}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},created(){for(const t of this.targets)k.di.get(`/openc3-api/targets/${t.name}/modified_files`).then(e=>{e.data.length!==0&&this.modifiedTargets.push({name:t.name,files:e.data})})}},Be={class:"file-list-container"};function Re(t,e,o,r,i,l){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-toolbar"),c=n.resolveComponent("v-list-item-title"),d=n.resolveComponent("v-list-item-subtitle"),u=n.resolveComponent("v-list-item"),h=n.resolveComponent("v-checkbox"),g=n.resolveComponent("v-card-text"),p=n.resolveComponent("v-btn"),_=n.resolveComponent("v-card-actions"),L=n.resolveComponent("v-card"),C=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(C,{modelValue:l.show,"onUpdate:modelValue":e[2]||(e[2]=f=>l.show=f),persistent:"",width:"600",onKeydown:n.withKeys(l.cancel,["esc"])},{default:n.withCtx(()=>[n.createVNode(L,null,{default:n.withCtx(()=>[n.createVNode(a,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),e[3]||(e[3]=n.createElementVNode("span",null," Modified Plugin ",-1)),n.createVNode(s)]),_:1}),n.createVNode(g,{class:"pa-3 card-container"},{default:n.withCtx(()=>[n.createElementVNode("div",null," Plugin "+n.toDisplayString(o.plugin)+" was modified. Would you like to delete the existing modified files? ",1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.modifiedTargets,(f,x)=>(n.openBlock(),n.createBlock(u,{key:x,lines:"two"},{default:n.withCtx(()=>[n.createVNode(c,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(f.name),1)]),_:2},1024),n.createElementVNode("div",Be,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.files,(m,v)=>(n.openBlock(),n.createBlock(d,{key:v},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m),1)]),_:2},1024))),128))])]),_:2},1024))),128)),n.createVNode(h,{modelValue:i.deleteModified,"onUpdate:modelValue":e[0]||(e[0]=f=>i.deleteModified=f),label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},null,8,["modelValue"])]),_:1}),n.createVNode(_,{class:"px-2"},{default:n.withCtx(()=>[n.createVNode(s),n.createVNode(p,{variant:"outlined","data-test":"modified-plugin-cancel",onClick:l.cancel},{default:n.withCtx(()=>[...e[4]||(e[4]=[n.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),n.createVNode(p,{variant:"flat","data-test":"modified-plugin-submit",onClick:e[1]||(e[1]=()=>{l.show=!1,t.$emit("submit",i.deleteModified)})},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Confirm ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","onKeydown"])}const Oe=F._export_sfc(Me,[["render",Re],["__scopeId","data-v-13bbb65b"]]),_e=[{displayName:"Plugins",name:"PluginsTab",path:"plugins",component:()=>Promise.resolve().then(()=>require("../PluginsTab-BvwrAskE.cjs"))},{displayName:"Targets",name:"TargetsTab",path:"targets",component:()=>Promise.resolve().then(()=>require("../TargetsTab-D32K2JiE.cjs"))},{displayName:"Interfaces",name:"InterfacesTab",path:"interfaces",component:()=>Promise.resolve().then(()=>require("../InterfacesTab-DgLHHNke.cjs"))},{displayName:"Routers",name:"RoutersTab",path:"routers",component:()=>Promise.resolve().then(()=>require("../RoutersTab-CokDnWfK.cjs"))},{displayName:"Microservices",name:"MicroservicesTab",path:"microservices",component:()=>Promise.resolve().then(()=>require("../MicroservicesTab-BDkTm3LD.cjs"))},{displayName:"Packages",name:"PackagesTab",path:"packages",component:()=>Promise.resolve().then(()=>require("../PackagesTab-CVytftqm.cjs"))},{displayName:"Tools",name:"ToolsTab",path:"tools",component:()=>Promise.resolve().then(()=>require("../ToolsTab-DIjQdiL-.cjs"))},{displayName:"Redis",name:"RedisTab",path:"redis",component:()=>Promise.resolve().then(()=>require("../RedisTab-C89xySPI.cjs"))},{displayName:"Secrets",name:"SecretsTab",path:"secrets",component:()=>Promise.resolve().then(()=>require("../SecretsTab-Dudp9OiZ.cjs"))},{displayName:"Settings",name:"SettingsTab",path:"settings",component:()=>Promise.resolve().then(()=>require("../SettingsTab-MipB-sIq.cjs"))}],Ae={components:{TopBar:$.TopBar},data(){return{title:"Administrator Console",curTab:null}},computed:{tabs:function(){return _e.map(t=>({displayName:t.displayName,path:{name:t.name}}))}}};function Fe(t,e,o,r,i,l){const s=n.resolveComponent("top-bar"),a=n.resolveComponent("v-tab"),c=n.resolveComponent("v-tabs"),d=n.resolveComponent("router-view"),u=n.resolveComponent("v-card");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(s,{title:i.title},null,8,["title"]),n.createVNode(u,null,{default:n.withCtx(()=>[n.createVNode(c,{modelValue:i.curTab,"onUpdate:modelValue":e[0]||(e[0]=h=>i.curTab=h),"fixed-tabs":""},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.tabs,(h,g)=>(n.openBlock(),n.createBlock(a,{key:g,to:h.path},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.displayName),1)]),_:2},1032,["to"]))),128))]),_:1},8,["modelValue"]),n.createVNode(d)]),_:1})])}const Pe=F._export_sfc(Ae,[["render",Fe]]);function G(t){const[e,o]=t;return[e,o]}function K(t,e){let o=t,r=e;const i=o.length,l=r.length;if(i===0||l===0)return 0;i>l?o=o.substring(i-l):i<l&&(r=r.substring(0,i));const s=Math.min(i,l);if(o===r)return s;let a=0,c=1;for(let d=0;d!==-1;){const u=o.substring(s-c);if(d=r.indexOf(u),d===-1)return a;c+=d,(d===0||o.substring(s-c)===r.substring(0,c))&&(a=c,c++)}return a}function U(t,e){if(!t||!e||t[0]!==e[0])return 0;let o=0,r=Math.min(t.length,e.length),i=r,l=0;for(;o<i;)t.substring(l,i)===e.substring(l,i)?(o=i,l=o):r=i,i=Math.floor((r-o)/2+o);return i}function P(t,e){if(!t||!e||t[t.length-1]!==e[e.length-1])return 0;let o=0,r=Math.min(t.length,e.length),i=r,l=0;for(;o<i;)t.substring(t.length-i,t.length-l)===e.substring(e.length-i,e.length-l)?(o=i,l=o):r=i,i=Math.floor((r-o)/2+o);return i}function He(t){const e=t.charCodeAt(0);return e>=55296&&e<=56319}function qe(t){const e=t.charCodeAt(0);return e>=56320&&e<=57343}function Ge(t,e,o){const r=t.length,i=e.length,l=Math.ceil((r+i)/2),s=l,a=2*l,c=new Array(a),d=new Array(a);for(let C=0;C<a;C++)c[C]=-1,d[C]=-1;c[s+1]=0,d[s+1]=0;const u=r-i,h=u%2!==0;let g=0,p=0,_=0,L=0;for(let C=0;C<l&&!(Date.now()>o);C++){for(let f=-C+g;f<=C-p;f+=2){const x=s+f;let m;f===-C||f!==C&&c[x-1]<c[x+1]?m=c[x+1]:m=c[x-1]+1;let v=m-f;for(;m<r&&v<i&&t.charAt(m)===e.charAt(v);)m++,v++;if(c[x]=m,m>r)p+=2;else if(v>i)g+=2;else if(h){const y=s+u-f;if(y>=0&&y<a&&d[y]!==-1){const N=r-d[y];if(m>=N)return z(t,e,m,v,o)}}}for(let f=-C+_;f<=C-L;f+=2){const x=s+f;let m;f===-C||f!==C&&d[x-1]<d[x+1]?m=d[x+1]:m=d[x-1]+1;let v=m-f;for(;m<r&&v<i&&t.charAt(r-m-1)===e.charAt(i-v-1);)m++,v++;if(d[x]=m,m>r)L+=2;else if(v>i)_+=2;else if(!h){const y=s+u-f;if(y>=0&&y<a&&c[y]!==-1){const N=c[y],H=s+N-y;if(m=r-m,N>=m)return z(t,e,N,H,o)}}}}return[[V,t],[E,e]]}function z(t,e,o,r,i){const l=t.substring(0,o),s=e.substring(0,r),a=t.substring(o),c=e.substring(r),d=S(l,s,{checkLines:!1,deadline:i}),u=S(a,c,{checkLines:!1,deadline:i});return d.concat(u)}function Ue(t,e,o=1){if(o<=0)return null;const r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||i.length*2<r.length)return null;const l=W(r,i,Math.ceil(r.length/4)),s=W(r,i,Math.ceil(r.length/2));let a;if(l&&s)a=l[4].length>s[4].length?l:s;else{if(!l&&!s)return null;s?l||(a=s):a=l}if(!a)throw new Error("Unable to find a half match.");let c,d,u,h;t.length>e.length?(c=a[0],d=a[1],u=a[2],h=a[3]):(u=a[0],h=a[1],c=a[2],d=a[3]);const g=a[4];return[c,d,u,h,g]}function W(t,e,o){const r=t.slice(o,o+Math.floor(t.length/4));let i=-1,l="",s,a,c,d;for(;(i=e.indexOf(r,i+1))!==-1;){const u=U(t.slice(o),e.slice(i)),h=P(t.slice(0,o),e.slice(0,i));l.length<h+u&&(l=e.slice(i-h,i)+e.slice(i,i+u),s=t.slice(0,o-h),a=t.slice(o+u),c=e.slice(0,i-h),d=e.slice(i+u))}return l.length*2>=t.length?[s||"",a||"",c||"",d||"",l||""]:null}function je(t,e){for(let o=0;o<t.length;o++){const r=t[o][1],i=[];for(let l=0;l<r.length;l++)i[l]=e[r.charCodeAt(l)];t[o][1]=i.join("")}}function Ye(t,e){const o=[],r={};o[0]="";function i(c){let d="",u=0,h=-1,g=o.length;for(;h<c.length-1;){h=c.indexOf(`
|
|
2
|
+
`,u),h===-1&&(h=c.length-1);let p=c.slice(u,h+1);(r.hasOwnProperty?r.hasOwnProperty(p):r[p]!==void 0)?d+=String.fromCharCode(r[p]):(g===l&&(p=c.slice(u),h=c.length),d+=String.fromCharCode(g),r[p]=g,o[g++]=p),u=h+1}return d}let l=4e4;const s=i(t);l=65535;const a=i(e);return{chars1:s,chars2:a,lineArray:o}}function Ke(t,e,o){let r=t,i=e;const l=Ye(r,i);r=l.chars1,i=l.chars2;const s=l.lineArray;let a=S(r,i,{checkLines:!1,deadline:o.deadline});je(a,s),a=be(a),a.push([w,""]);let c=0,d=0,u=0,h="",g="";for(;c<a.length;){switch(a[c][0]){case E:u++,g+=a[c][1];break;case V:d++,h+=a[c][1];break;case w:if(d>=1&&u>=1){a.splice(c-d-u,d+u),c=c-d-u;const p=S(h,g,{checkLines:!1,deadline:o.deadline});for(let _=p.length-1;_>=0;_--)a.splice(c,0,p[_]);c+=p.length}u=0,d=0,h="",g="";break;default:throw new Error("Unknown diff operation.")}c++}return a.pop(),a}function ze(t,e,o){let r;if(!t)return[[E,e]];if(!e)return[[V,t]];const i=t.length>e.length?t:e,l=t.length>e.length?e:t,s=i.indexOf(l);if(s!==-1)return r=[[E,i.substring(0,s)],[w,l],[E,i.substring(s+l.length)]],t.length>e.length&&(r[0][0]=V,r[2][0]=V),r;if(l.length===1)return[[V,t],[E,e]];const a=Ue(t,e);if(a){const c=a[0],d=a[1],u=a[2],h=a[3],g=a[4],p=S(c,u,o),_=S(d,h,o);return p.concat([[w,g]],_)}return o.checkLines&&t.length>100&&e.length>100?Ke(t,e,o):Ge(t,e,o.deadline)}var We=Object.defineProperty,Q=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,J=(t,e,o)=>e in t?We(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,Xe=(t,e)=>{for(var o in e||(e={}))Qe.call(e,o)&&J(t,o,e[o]);if(Q)for(var o of Q(e))Je.call(e,o)&&J(t,o,e[o]);return t};const V=-1,E=1,w=0;function Ze(t,e,o){if(t===null||e===null)throw new Error("Null input. (diff)");const r=S(t,e,tt(o||{}));return ot(r),r}function S(t,e,o){let r=t,i=e;if(r===i)return r?[[w,r]]:[];let l=U(r,i);const s=r.substring(0,l);r=r.substring(l),i=i.substring(l),l=P(r,i);const a=r.substring(r.length-l);r=r.substring(0,r.length-l),i=i.substring(0,i.length-l);let c=ze(r,i,o);return s&&c.unshift([w,s]),a&&c.push([w,a]),c=j(c),c}function et(t){let e=1;return typeof t<"u"&&(e=t<=0?Number.MAX_VALUE:t),Date.now()+e*1e3}function tt(t){return Xe({checkLines:!0,deadline:et(t.timeout||1)},t)}function M(t,e,o){return o===1?t+e:e+t}function B(t,e){return e===1?[t.substring(0,t.length-1),t[t.length-1]]:[t.substring(1),t[0]]}function nt(t,e,o,r){return r===1?t[e][1][t[e][1].length-1]===t[o][1][t[o][1].length-1]:t[e][1][0]===t[o][1][0]}function X(t,e,o){const r=o===1?-1:1;let i=null,l=null,s=e+o;for(;s>=0&&s<t.length&&(i===null||l===null);s+=o){const[d,u]=t[s];if(u.length!==0){if(d===E){i===null&&(i=s);continue}else if(d===V){l===null&&(l=s);continue}else if(d===w){if(i===null&&l===null){const[h,g]=B(t[e][1],o);t[e][1]=h,t[s][1]=M(t[s][1],g,r);return}break}}}if(i!==null&&l!==null&&nt(t,i,l,o)){const[d,u]=B(t[i][1],r),[h]=B(t[l][1],r);t[i][1]=d,t[l][1]=h,t[e][1]=M(t[e][1],u,o);return}const[a,c]=B(t[e][1],o);t[e][1]=a,i===null?(t.splice(s,0,[E,c]),l!==null&&l>=s&&l++):t[i][1]=M(t[i][1],c,r),l===null?t.splice(s,0,[V,c]):t[l][1]=M(t[l][1],c,r)}function ot(t){for(let e=0;e<t.length;e++){const[o,r]=t[e];if(r.length===0)continue;const i=r[0],l=r[r.length-1];He(l)&&o===w&&X(t,e,1),qe(i)&&o===w&&X(t,e,-1)}for(let e=0;e<t.length;e++)t[e][1].length===0&&t.splice(e,1)}function be(t){let e=t.map(h=>G(h)),o=!1;const r=[];let i=0,l=null,s=0,a=0,c=0,d=0,u=0;for(;s<e.length;)e[s][0]===w?(r[i++]=s,a=d,c=u,d=0,u=0,l=e[s][1]):(e[s][0]===E?d+=e[s][1].length:u+=e[s][1].length,l&&l.length<=Math.max(a,c)&&l.length<=Math.max(d,u)&&(e.splice(r[i-1],0,[V,l]),e[r[i-1]+1][0]=E,i--,i--,s=i>0?r[i-1]:-1,a=0,c=0,d=0,u=0,l=null,o=!0)),s++;for(o&&(e=j(e)),e=lt(e),s=1;s<e.length;){if(e[s-1][0]===V&&e[s][0]===E){const h=e[s-1][1],g=e[s][1],p=K(h,g),_=K(g,h);p>=_?(p>=h.length/2||p>=g.length/2)&&(e.splice(s,0,[w,g.substring(0,p)]),e[s-1][1]=h.substring(0,h.length-p),e[s+1][1]=g.substring(p),s++):(_>=h.length/2||_>=g.length/2)&&(e.splice(s,0,[w,h.substring(0,_)]),e[s-1][0]=E,e[s-1][1]=g.substring(0,g.length-_),e[s+1][0]=V,e[s+1][1]=h.substring(_),s++),s++}s++}return e}const Z=/[^a-zA-Z0-9]/,ee=/\s/,te=/[\r\n]/,it=/\n\r?\n$/,rt=/^\r?\n\r?\n/;function lt(t){const e=t.map(i=>G(i));function o(i,l){if(!i||!l)return 6;const s=i.charAt(i.length-1),a=l.charAt(0),c=s.match(Z),d=a.match(Z),u=c&&s.match(ee),h=d&&a.match(ee),g=u&&s.match(te),p=h&&a.match(te),_=g&&i.match(it),L=p&&l.match(rt);return _||L?5:g||p?4:c&&!u&&h?3:u||h?2:c||d?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===w&&e[r+1][0]===w){let i=e[r-1][1],l=e[r][1],s=e[r+1][1];const a=P(i,l);if(a){const g=l.substring(l.length-a);i=i.substring(0,i.length-a),l=g+l.substring(0,l.length-a),s=g+s}let c=i,d=l,u=s,h=o(i,l)+o(l,s);for(;l.charAt(0)===s.charAt(0);){i+=l.charAt(0),l=l.substring(1)+s.charAt(0),s=s.substring(1);const g=o(i,l)+o(l,s);g>=h&&(h=g,c=i,d=l,u=s)}e[r-1][1]!==c&&(c?e[r-1][1]=c:(e.splice(r-1,1),r--),e[r][1]=d,u?e[r+1][1]=u:(e.splice(r+1,1),r--))}r++}return e}function j(t){let e=t.map(d=>G(d));e.push([w,""]);let o=0,r=0,i=0,l="",s="",a;for(;o<e.length;)switch(e[o][0]){case E:i++,s+=e[o][1],o++;break;case V:r++,l+=e[o][1],o++;break;case w:r+i>1?(r!==0&&i!==0&&(a=U(s,l),a!==0&&(o-r-i>0&&e[o-r-i-1][0]===w?e[o-r-i-1][1]+=s.substring(0,a):(e.splice(0,0,[w,s.substring(0,a)]),o++),s=s.substring(a),l=l.substring(a)),a=P(s,l),a!==0&&(e[o][1]=s.substring(s.length-a)+e[o][1],s=s.substring(0,s.length-a),l=l.substring(0,l.length-a))),o-=r+i,e.splice(o,r+i),l.length&&(e.splice(o,0,[V,l]),o++),s.length&&(e.splice(o,0,[E,s]),o++),o++):o!==0&&e[o-1][0]===w?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,i=0,r=0,l="",s="";break;default:throw new Error("Unknown diff operation")}e[e.length-1][1]===""&&e.pop();let c=!1;for(o=1;o<e.length-1;)e[o-1][0]===w&&e[o+1][0]===w&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)===e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),c=!0):e[o][1].substring(0,e[o+1][1].length)===e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),c=!0)),o++;return c&&(e=j(e)),e}function R(t){return t&&typeof t=="object"&&!Array.isArray(t)&&t!==null}function Y(t,e){return R(t)&&R(e)&&Object.keys(e).forEach(o=>{o==="__proto__"||o==="constructor"||(R(e[o])?((!t[o]||!R(t[o]))&&(t[o]=e[o]),Y(t[o],e[o])):Object.assign(t,{[o]:e[o]}))}),t}function ne(t,e,o=!1){let r=null,i=!0;return(...l)=>{const s=o&&i,a=()=>{t.apply(this,l),r=null};s&&(i=!1,a()),r||(r=setTimeout(a,e))}}function st(t,e){let o;return(...r)=>{const i=this;clearTimeout(o),o=setTimeout(()=>t.apply(i,r),e)}}function oe(t=""){return t.replace(/\r\n/g,`
|
|
3
|
+
`)}function ie(t,e,o,r){const i=o-t,l=t+i/2;return`M ${t} ${e} C ${l},${e} ${l},${r} ${o},${r}`}var b={DIFF_EQUAL:0,DIFF_DELETE:-1,DIFF_INSERT:1,EDITOR_RIGHT:"right",EDITOR_LEFT:"left",RTL:"rtl",LTR:"ltr",SVG_NS:"http://www.w3.org/2000/svg",DIFF_GRANULARITY_SPECIFIC:"specific",DIFF_GRANULARITY_BROAD:"broad"};function re(t,e){let{mode:o}=t.options;return e===b.EDITOR_LEFT&&t.options.left.mode!==null&&(o=t.options.left.mode),e===b.EDITOR_RIGHT&&t.options.right.mode!==null&&(o=t.options.right.mode),o}function le(t,e){let{theme:o}=t.options;return e===b.EDITOR_LEFT&&t.options.left.theme!==null&&(o=t.options.left.theme),e===b.EDITOR_RIGHT&&t.options.right.theme!==null&&(o=t.options.right.theme),o}function ve(t,e){return t.ace.getSession().doc.getLine(e)}function at(t){return document.getElementById(t.options.left.id).offsetHeight}function se(t){const e=document.createElement("div"),o={class:t.className,style:`top:${t.topOffset}px`,title:t.tooltip,"data-diff-index":t.diffIndex};for(const r in o)e.setAttribute(r,o[r]);return e.innerHTML=t.arrowContent,e}function q(t,e){const o=Math.random().toString(36).substr(2,5),r=`js-${e}-${o}`,i=t.querySelector(`.${e}`);if(i)return i.id=i.id||r,i.id;const l=document.createElement("div");return t.appendChild(l),l.className=e,l.id=r,l.id}function ae(t,e,o,r){const i=t==="document"?document:document.querySelector(t);i.addEventListener(e,l=>{const s=i.querySelectorAll(o),{target:a}=l;for(let c=0,d=s.length;c<d;c+=1){let u=a;const h=s[c];for(;u&&u!==i;)u===h&&r.call(h,l),u=u.parentNode}})}let O;function ct(t){if(t.Range)return t.Range;const e=t.acequire||t.require;return e?e("ace/range"):!1}function A(t={}){if(!(this instanceof A))return new A(t);const e=this,o=()=>window?window.ace:void 0;e.options=Y({ace:o(),mode:null,theme:null,element:null,diffGranularity:b.DIFF_GRANULARITY_BROAD,lockScrolling:!1,showDiffs:!0,showConnectors:!0,maxDiffs:5e3,left:{id:null,content:null,mode:null,theme:null,editable:!0,copyLinkEnabled:!0},right:{id:null,content:null,mode:null,theme:null,editable:!0,copyLinkEnabled:!0},classes:{gutterID:"acediff__gutter",diff:"acediff__diffLine",connector:"acediff__connector",newCodeConnectorLink:"acediff__newCodeConnector",newCodeConnectorLinkContent:"→",deletedCodeConnectorLink:"acediff__deletedCodeConnector",deletedCodeConnectorLinkContent:"←",copyRightContainer:"acediff__copy--right",copyLeftContainer:"acediff__copy--left"},connectorYOffset:0},t);const{ace:r}=e.options;if(!r){const i="No ace editor found nor supplied - `options.ace` or `window.ace` is missing";return console.error(i),new Error(i)}if(O=ct(r),!O){const i="Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";return console.error(i),new Error(i)}if(e.options.element===null){const i="You need to specify an element for Ace-diff - `options.element` is missing";return console.error(i),new Error(i)}if(e.options.element instanceof HTMLElement?e.el=e.options.element:e.el=document.body.querySelector(e.options.element),!e.el){const i=`Can't find the specified element ${e.options.element}`;return console.error(i),new Error(i)}e.options.left.id=q(e.el,"acediff__left"),e.options.classes.gutterID=q(e.el,"acediff__gutter"),e.options.right.id=q(e.el,"acediff__right"),e.el.innerHTML=`<div class="acediff__wrap">${e.el.innerHTML}</div>`,e.editors={left:{ace:r.edit(e.options.left.id),markers:[],lineLengths:[]},right:{ace:r.edit(e.options.right.id),markers:[],lineLengths:[]},editorHeight:null},e.editors.left.ace.getSession().setMode(re(e,b.EDITOR_LEFT)),e.editors.right.ace.getSession().setMode(re(e,b.EDITOR_RIGHT)),e.editors.left.ace.setReadOnly(!e.options.left.editable),e.editors.right.ace.setReadOnly(!e.options.right.editable),e.editors.left.ace.setTheme(le(e,b.EDITOR_LEFT)),e.editors.right.ace.setTheme(le(e,b.EDITOR_RIGHT)),e.editors.left.ace.setValue(oe(e.options.left.content),-1),e.editors.right.ace.setValue(oe(e.options.right.content),-1),e.editors.editorHeight=at(e),setTimeout(()=>{e.lineHeight=e.editors.left.ace.renderer.lineHeight,dt(e),pt(e),we(e),e.diff()},1)}A.prototype={setOptions(t){Y(this.options,t),this.diff()},getNumDiffs(){return this.diffs.length},getEditors(){return{left:this.editors.left.ace,right:this.editors.right.ace}},diff(){const t=this.editors.left.ace.getSession().getValue(),e=this.editors.right.ace.getSession().getValue(),o=be(Ze(e,t));this.editors.left.lineLengths=de(this.editors.left),this.editors.right.lineLengths=de(this.editors.right);const r=[],i={left:0,right:0};o.forEach(l=>{const s=l[0];let a=l[1];a.length!==0&&(s===b.DIFF_EQUAL?(i.left+=a.length,i.right+=a.length):s===b.DIFF_DELETE?(r.push(ge(this,b.DIFF_DELETE,i.left,i.right,a)),i.right+=a.length):s===b.DIFF_INSERT&&(r.push(ge(this,b.DIFF_INSERT,i.left,i.right,a)),i.left+=a.length))},this),this.diffs=_t(this,r),!(this.diffs.length>this.options.maxDiffs)&&(Ce(this),xe(this))},destroy(){const t=this.editors.left.ace.getValue();this.editors.left.ace.destroy();let e=this.editors.left.ace.container,o=e.cloneNode(!1);o.textContent=t,e.parentNode.replaceChild(o,e);const r=this.editors.right.ace.getValue();this.editors.right.ace.destroy(),e=this.editors.right.ace.container,o=e.cloneNode(!1),o.textContent=r,e.parentNode.replaceChild(o,e);const i=document.getElementById(this.options.classes.gutterID);i&&(i.innerHTML=""),this.removeEventHandlers()}};function dt(t){t.editors.left.ace.getSession().on("changeScrollTop",ne(()=>{he(t)},16)),t.editors.right.ace.getSession().on("changeScrollTop",ne(()=>{he(t)},16));const e=t.diff.bind(t);t.editors.left.ace.on("change",e),t.editors.right.ace.on("change",e),t.options.left.copyLinkEnabled&&ae(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.newCodeConnectorLink}`,r=>{ce(t,r,b.LTR)}),t.options.right.copyLinkEnabled&&ae(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.deletedCodeConnectorLink}`,r=>{ce(t,r,b.RTL)});const o=st(()=>{t.editors.availableHeight=document.getElementById(t.options.left.id).offsetHeight,t.diff()},250);window.addEventListener("resize",o),t.removeEventHandlers=()=>{window.removeEventListener("resize",o)}}function ce(t,e,o){const r=parseInt(e.target.getAttribute("data-diff-index"),10),i=t.diffs[r];let l,s,a,c,d,u;o===b.LTR?(l=t.editors.left,s=t.editors.right,a=i.leftStartLine,c=i.leftEndLine,d=i.rightStartLine,u=i.rightEndLine):(l=t.editors.right,s=t.editors.left,a=i.rightStartLine,c=i.rightEndLine,d=i.leftStartLine,u=i.leftEndLine);let h="";for(let p=a;p<c;p+=1)h+=ve(l,p),p<l.ace.getSession().getLength()-1&&(h+=`
|
|
4
|
+
`);const g=s.ace.getSession().getScrollTop();s.ace.getSession().replace(new O(d,0,u,0),h),s.ace.getSession().setScrollTop(parseInt(g,10)),t.diff()}function de(t){const e=t.ace.getSession().doc.getAllLines(),o=[];return e.forEach(r=>{o.push(r.length+1)}),o}function ue(t,e,o,r,i){const l=t.editors[e];r<o&&(r=o);const s=`${i} ${r>o?"lines":"targetOnly"}`;r>o&&(r-=1),l.markers.push(l.ace.session.addMarker(new O(o,0,r,1),s,"fullLine"))}function he(t){Ce(t),xe(t),gt(t)}function Ce(t){t.editors.left.markers.forEach(e=>{t.editors.left.ace.getSession().removeMarker(e)},t),t.editors.right.markers.forEach(e=>{t.editors.right.ace.getSession().removeMarker(e)},t)}function ut(t,e,o,r,i){const l=t.editors.left.ace.getSession().getScrollTop(),s=t.editors.right.ace.getSession().getScrollTop();t.connectorYOffset=1;const a=-1,c=e*t.lineHeight-l+.5,d=t.gutterWidth+1,u=r*t.lineHeight-s+.5,h=-1,g=o*t.lineHeight-l+t.connectorYOffset+.5,p=t.gutterWidth+1,_=i*t.lineHeight-s+t.connectorYOffset+.5,L=ie(a,c,d,u),C=ie(p,_,h,g),f=`L${d},${u} ${p},${_}`,x=`L${h},${g} ${a},${c}`,m=`${L} ${f} ${C} ${x}`,v=document.createElementNS(b.SVG_NS,"path");v.setAttribute("d",m),v.setAttribute("class",t.options.classes.connector),t.gutterSVG.appendChild(v)}function ht(t,e,o){if(e.leftEndLine>e.leftStartLine&&t.options.left.copyLinkEnabled){const r=se({className:t.options.classes.newCodeConnectorLink,topOffset:e.leftStartLine*t.lineHeight,tooltip:"Copy to right",diffIndex:o,arrowContent:t.options.classes.newCodeConnectorLinkContent});t.copyRightContainer.appendChild(r)}if(e.rightEndLine>e.rightStartLine&&t.options.right.copyLinkEnabled){const r=se({className:t.options.classes.deletedCodeConnectorLink,topOffset:e.rightStartLine*t.lineHeight,tooltip:"Copy to left",diffIndex:o,arrowContent:t.options.classes.deletedCodeConnectorLinkContent});t.copyLeftContainer.appendChild(r)}}function gt(t){const e=t.editors.left.ace.getSession().getScrollTop(),o=t.editors.right.ace.getSession().getScrollTop();t.copyRightContainer.style.cssText=`top: ${-e}px`,t.copyLeftContainer.style.cssText=`top: ${-o}px`}function ge(t,e,o,r,i){let l={};if(e===b.DIFF_INSERT){let s=pe(t.editors.left,o,i),a=me(t.editors.right,r),c=D(t.editors.right,a);const d=D(t.editors.left,s.startLine);let u=a,h=s.startLine===s.endLine,g=0;(s.startChar>0||h&&i.length<d)&&c>0&&s.startChar<d&&g++,l={leftStartLine:s.startLine,leftEndLine:s.endLine+1,rightStartLine:u,rightEndLine:u+g}}else{let s=pe(t.editors.right,r,i),a=me(t.editors.left,o),c=D(t.editors.left,a);const d=D(t.editors.right,s.startLine);let u=a,h=s.startLine===s.endLine,g=0;(s.startChar>0||h&&i.length<d)&&c>0&&s.startChar<d&&g++,l={leftStartLine:u,leftEndLine:u+g,rightStartLine:s.startLine,rightEndLine:s.endLine+1}}return l}function pe(t,e,o){const r={startLine:0,startChar:0,endLine:0,endChar:0},i=e+o.length;let l=0,s=!1,a=!1;t.lineLengths.forEach((d,u)=>{l+=d,!s&&e<l&&(r.startLine=u,r.startChar=e-l+d,s=!0),!a&&i<=l&&(r.endLine=u,r.endChar=i-l+d,a=!0)}),r.startChar>0&&D(t,r.startLine)===r.startChar&&(r.startLine++,r.startChar=0),r.endChar===0&&r.endLine--;const c=/\n$/.test(o);return r.startChar>0&&c&&r.endLine++,r}function D(t,e){return ve(t,e).length}function me(t,e){const o=t.ace.getSession().doc.getAllLines();let r=0,i=0;for(let l=0;l<o.length;l+=1)if(i+=o[l].length+1,e<=i){r=l,e===i&&l<o.length-1&&(r+=1);break}return i>=t.ace.getSession().getValue().length&&(r+=1),r}function we(t){t.gutterHeight=document.getElementById(t.options.classes.gutterID).clientHeight,t.gutterWidth=document.getElementById(t.options.classes.gutterID).clientWidth;const e=fe(t,b.EDITOR_LEFT),o=fe(t,b.EDITOR_RIGHT),r=Math.max(e,o,t.gutterHeight);t.gutterSVG=document.createElementNS(b.SVG_NS,"svg"),t.gutterSVG.setAttribute("width",t.gutterWidth),t.gutterSVG.setAttribute("height",r),document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG)}function fe(t,e){return(e===b.EDITOR_LEFT?t.editors.left:t.editors.right).ace.getSession().getLength()*t.lineHeight}function pt(t){t.copyRightContainer=document.createElement("div"),t.copyRightContainer.setAttribute("class",t.options.classes.copyRightContainer),t.copyLeftContainer=document.createElement("div"),t.copyLeftContainer.setAttribute("class",t.options.classes.copyLeftContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyRightContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyLeftContainer)}function mt(t){document.getElementById(t.options.classes.gutterID).removeChild(t.gutterSVG),we(t)}function ft(t){t.copyLeftContainer.innerHTML="",t.copyRightContainer.innerHTML=""}function _t(t,e){const o=[];function r(l){return t.options.diffGranularity===b.DIFF_GRANULARITY_SPECIFIC?l<1:l<=1}e.forEach((l,s)=>{if(s===0){o.push(l);return}let a=!1;for(let c=0;c<o.length;c+=1)if(r(Math.abs(l.leftStartLine-o[c].leftEndLine))&&r(Math.abs(l.rightStartLine-o[c].rightEndLine))){o[c].leftStartLine=Math.min(l.leftStartLine,o[c].leftStartLine),o[c].rightStartLine=Math.min(l.rightStartLine,o[c].rightStartLine),o[c].leftEndLine=Math.max(l.leftEndLine,o[c].leftEndLine),o[c].rightEndLine=Math.max(l.rightEndLine,o[c].rightEndLine),a=!0;break}a||o.push(l)});const i=[];return o.forEach(l=>{l.leftStartLine===l.leftEndLine&&l.rightStartLine===l.rightEndLine||i.push(l)}),i}function xe(t){mt(t),ft(t),t.diffs.forEach((e,o)=>{t.options.showDiffs&&(ue(t,b.EDITOR_LEFT,e.leftStartLine,e.leftEndLine,t.options.classes.diff),ue(t,b.EDITOR_RIGHT,e.rightStartLine,e.rightEndLine,t.options.classes.diff),t.options.showConnectors&&ut(t,e.leftStartLine,e.leftEndLine,e.rightStartLine,e.rightEndLine),ht(t,e,o))},t)}const bt={props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1,default:null},storeId:{type:Number,required:!1,default:null},modelValue:Boolean},emits:["callback","update:modelValue"],data(){return{tab:0,localVariables:[],localPluginTxt:"",localExistingPluginTxt:null,editor:null,differ:null,contextMenu:!1,menuX:0,menuY:0}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},watch:{value:{immediate:!0,handler:function(){this.localVariables=JSON.parse(JSON.stringify(this.variables)),this.localPluginTxt=this.pluginTxt.slice(),this.existingPluginTxt!==null&&(this.localExistingPluginTxt=this.existingPluginTxt.slice())}}},mounted(){const t=this.buildPluginMode();this.existingPluginTxt===null?(this.editor=k.aceExports.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new t),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.localPluginTxt),this.editor.clearSelection(),$.AceEditorUtils.applyVimModeIfEnabled(this.editor),this.editor.focus()):(this.tab=1,this.differ=new A({element:this.$refs.editor,mode:new t,theme:"ace/theme/twilight",left:{content:this.localExistingPluginTxt,copyLinkEnabled:!1},right:{content:this.localPluginTxt,editable:!1}}),this.differ.getEditors().left.setFontSize(16),this.differ.getEditors().right.setFontSize(16),$.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().left),$.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().right),this.curDiff=-1)},beforeUnmount(){this.editor&&this.editor.destroy(),this.differ&&this.differ.destroy()},methods:{previousDiff(){this.curDiff--,this.curDiff<0&&(this.curDiff=this.differ.diffs.length-1),this.scrollToCurDiff()},nextDiff(){this.curDiff++,this.curDiff>=this.differ.diffs.length&&(this.curDiff=0),this.scrollToCurDiff()},scrollToCurDiff(){if(this.differ.diffs.length===0)return;let t=this.differ.diffs[this.curDiff].leftStartLine,e=this.differ.diffs[this.curDiff].rightStartLine;t>5&&(t-=5),e>5&&(e-=5),this.differ.getEditors().left.scrollToLine(t),this.differ.getEditors().right.scrollToLine(e)},buildPluginMode(){let t=k.aceExports.require("ace/lib/oop"),e=k.aceExports.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,o=["VARIABLE"],r=new RegExp(`(\\b${o.join("\\b|\\b")}\\b)`),i=function(){e.call(this);for(let u in this.$rules)this.$rules[u].unshift({regex:r,token:"support.function"})};t.inherits(i,e);let l=k.aceExports.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,s=k.aceExports.require("ace/mode/behaviour/cstyle").CstyleBehaviour,a=k.aceExports.require("ace/mode/folding/ruby").FoldMode,c=function(){this.HighlightRules=i,this.$outdent=new l,this.$behaviour=new s,this.foldingRules=new a,this.indentKeywords=this.foldingRules.indentKeywords},d=k.aceExports.require("ace/mode/ruby").Mode;return t.inherits(c,d),(function(){this.$id="ace/mode/openc3"}).call(c.prototype),c},submit:function(){this.existingPluginTxt===null?this.emitSubmit(this.editor.getValue().split(`
|
|
5
5
|
`)):this.differ.diffs.length===0?this.emitSubmit(this.differ.getEditors().left.getValue().split(`
|
|
6
6
|
`)):this.$dialog.confirm("Diffs still detected! Install using 'Existing plugin.txt' (left) and ignore additional changes in the new plugin.txt (right)?",{okText:"Install",cancelText:"Cancel"}).then(t=>{this.emitSubmit(this.differ.getEditors().left.getValue().split(`
|
|
7
|
-
`))}).catch(t=>{})},emitSubmit(t){let e={name:this.pluginName,variables:n.toRaw(this.localVariables),plugin_txt_lines:t,store_id:this.storeId};this.$emit("callback",e)},close:function(){this.show=!this.show},showContextMenu:function(t){this.menuX=t.pageX,this.menuY=t.pageY;let e=this.editor.getCursorPosition(),o=this.editor.session.getTokenAt(e.row,e.column);if(o){let
|
|
7
|
+
`))}).catch(t=>{})},emitSubmit(t){let e={name:this.pluginName,variables:n.toRaw(this.localVariables),plugin_txt_lines:t,store_id:this.storeId};this.$emit("callback",e)},close:function(){this.show=!this.show},showContextMenu:function(t){this.menuX=t.pageX,this.menuY=t.pageY;let e=this.editor.getCursorPosition(),o=this.editor.session.getTokenAt(e.row,e.column);if(o){let r=o.value.trim();r.includes(" ")?this.docsKeyword=r.split(" ")[0]:this.docsKeyword=r,this.contextMenu=!0}},toggleVimMode:function(){this.editor&&$.AceEditorUtils.toggleVimMode(this.editor)}}},vt={style:{flex:"1"}},Ct={class:"pa-3"},wt={ref:"editor",class:"editor"},xt={key:0};function Et(t,e,o,r,i,l){const s=n.resolveComponent("v-card-title"),a=n.resolveComponent("v-icon"),c=n.resolveComponent("v-row"),d=n.resolveComponent("v-tab"),u=n.resolveComponent("v-tabs"),h=n.resolveComponent("v-text-field"),g=n.resolveComponent("v-col"),p=n.resolveComponent("v-window-item"),_=n.resolveComponent("v-list-item-title"),L=n.resolveComponent("v-list-item"),C=n.resolveComponent("v-divider"),f=n.resolveComponent("v-list"),x=n.resolveComponent("v-menu"),m=n.resolveComponent("v-window"),v=n.resolveComponent("v-btn"),y=n.resolveComponent("v-spacer"),N=n.resolveComponent("v-card-actions"),H=n.resolveComponent("v-card-text"),Ee=n.resolveComponent("v-card"),Le=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(Le,{modelValue:l.show,"onUpdate:modelValue":e[5]||(e[5]=T=>l.show=T),persistent:"",width:"80vw",onKeydown:n.withKeys(l.close,["esc"])},{default:n.withCtx(()=>[n.createVNode(Ee,null,{default:n.withCtx(()=>[n.createVNode(H,null,{default:n.withCtx(()=>[n.createVNode(s,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(o.pluginName),1)]),_:1}),o.existingPluginTxt!==null?(n.openBlock(),n.createBlock(c,{key:0,class:"notice d-flex flex-row"},{default:n.withCtx(()=>[n.createVNode(a,{size:"x-large",start:"",color:"yellow"},{default:n.withCtx(()=>[...e[6]||(e[6]=[n.createTextVNode(" mdi-alert-box ",-1)])]),_:1}),n.createElementVNode("div",vt," The existing plugin.txt is different from the "+n.toDisplayString(o.pluginName)+"'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update "+n.toDisplayString(o.pluginName)+"'s plugin.txt going forward. ",1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(c,{class:"pb-3 pr-3"},{default:n.withCtx(()=>[n.createVNode(u,{modelValue:i.tab,"onUpdate:modelValue":e[0]||(e[0]=T=>i.tab=T),class:"ml-3"},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(d,{key:0},{default:n.withCtx(()=>[...e[7]||(e[7]=[n.createTextVNode(" Variables ",-1)])]),_:1})),(n.openBlock(),n.createBlock(d,{key:1},{default:n.withCtx(()=>[...e[8]||(e[8]=[n.createTextVNode(" plugin.txt ",-1)])]),_:1}))]),_:1},8,["modelValue"])]),_:1}),n.createElementVNode("form",{onSubmit:e[4]||(e[4]=n.withModifiers((...T)=>t.onSubmit&&t.onSubmit(...T),["prevent"]))},[n.createVNode(m,{modelValue:i.tab,"onUpdate:modelValue":e[3]||(e[3]=T=>i.tab=T)},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(p,{key:0,eager:"true",class:"tab"},{default:n.withCtx(()=>[n.createElementVNode("div",Ct,[n.createVNode(c,{class:"mt-3"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.localVariables,(T,I)=>(n.openBlock(),n.createElementBlock("div",{key:I},[n.createVNode(g,{style:{width:"220px"}},{default:n.withCtx(()=>[n.createVNode(h,{modelValue:i.localVariables[I],"onUpdate:modelValue":ye=>i.localVariables[I]=ye,clearable:"",type:"text",label:I},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)]))),128))]),_:1})])]),_:1})),o.existingPluginTxt===null?(n.openBlock(),n.createBlock(p,{key:"1-new",eager:"true",class:"tab"},{default:n.withCtx(()=>[n.createVNode(c,{class:"pa-3"},{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[...e[9]||(e[9]=[n.createTextVNode(" This can be edited before installation. ",-1)])]),_:1})]),_:1}),n.createElementVNode("pre",{ref:"editor",class:"editor",onContextmenu:e[1]||(e[1]=n.withModifiers((...T)=>l.showContextMenu&&l.showContextMenu(...T),["prevent"]))},null,544),n.createVNode(x,{modelValue:i.contextMenu,"onUpdate:modelValue":e[2]||(e[2]=T=>i.contextMenu=T),target:[i.menuX,i.menuY]},{default:n.withCtx(()=>[n.createVNode(f,null,{default:n.withCtx(()=>[n.createVNode(L,{link:""},{default:n.withCtx(()=>[n.createVNode(_,{onClick:t.openDocumentation},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(t.docsKeyword)+" documentation ",1)]),_:1},8,["onClick"])]),_:1}),n.createVNode(C),n.createVNode(L,{title:"Toggle Vim mode","prepend-icon":"extras:vim",onClick:l.toggleVimMode},null,8,["onClick"])]),_:1})]),_:1},8,["modelValue","target"])]),_:1})):(n.openBlock(),n.createBlock(p,{key:"1-existing",eager:"true",class:"tab"},{default:n.withCtx(()=>[n.createVNode(c,{class:"pa-3"},{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[...e[10]||(e[10]=[n.createTextVNode(" Existing plugin.txt. This can be edited before installation. ",-1)])]),_:1}),n.createVNode(g,{class:"ml-6"},{default:n.withCtx(()=>[...e[11]||(e[11]=[n.createTextVNode(" Uneditable plugin.txt from the new plugin. ",-1)])]),_:1})]),_:1}),n.createElementVNode("pre",wt,null,512)]),_:1}))]),_:1},8,["modelValue"]),n.createVNode(N,{class:"px-2 mt-2"},{default:n.withCtx(()=>[o.existingPluginTxt!==null?(n.openBlock(),n.createElementBlock("div",xt,[n.createVNode(v,{variant:"text",onClick:l.nextDiff},{default:n.withCtx(()=>[...e[12]||(e[12]=[n.createTextVNode(" Next Diff ",-1)])]),_:1},8,["onClick"]),n.createVNode(v,{variant:"text",onClick:l.previousDiff},{default:n.withCtx(()=>[...e[13]||(e[13]=[n.createTextVNode(" Previous Diff ",-1)])]),_:1},8,["onClick"])])):n.createCommentVNode("",!0),n.createVNode(y),n.createVNode(v,{variant:"outlined","data-test":"edit-cancel",onClick:n.withModifiers(l.close,["prevent"])},{default:n.withCtx(()=>[...e[14]||(e[14]=[n.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),n.createVNode(v,{variant:"flat","data-test":"edit-submit",onClick:l.submit},{default:n.withCtx(()=>[...e[15]||(e[15]=[n.createTextVNode(" Install ",-1)])]),_:1},8,["onClick"])]),_:1})],32)]),_:1})]),_:1})]),_:1},8,["modelValue","onKeydown"])}const Lt=F._export_sfc(bt,[["render",Et],["__scopeId","data-v-3b685c50"]]);exports.DownloadDialog=Ie;exports.ModifiedPluginDialog=Oe;exports.OpenC3Admin=Pe;exports.PluginDialog=Lt;exports.TabsList=_e;
|
|
8
8
|
//# sourceMappingURL=admin.cjs.map
|