@openc3/vue-common 6.8.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArrayWidget-CiW5R8HE.cjs → ArrayWidget-DJkuPBFS.cjs} +2 -2
- package/dist/{ArrayWidget-CiW5R8HE.cjs.map → ArrayWidget-DJkuPBFS.cjs.map} +1 -1
- package/dist/{ArrayWidget-FGjLmPfG.js → ArrayWidget-DLfNWDzN.js} +4 -4
- package/dist/{ArrayWidget-FGjLmPfG.js.map → ArrayWidget-DLfNWDzN.js.map} +1 -1
- package/dist/{ArrayplotWidget-V5C4JRhx.cjs → ArrayplotWidget-COGxmBEP.cjs} +2 -2
- package/dist/{ArrayplotWidget-V5C4JRhx.cjs.map → ArrayplotWidget-COGxmBEP.cjs.map} +1 -1
- package/dist/{ArrayplotWidget-Cfo18TYm.js → ArrayplotWidget-CoRsUxHG.js} +3 -3
- package/dist/{ArrayplotWidget-Cfo18TYm.js.map → ArrayplotWidget-CoRsUxHG.js.map} +1 -1
- package/dist/{BarColumn-B4naVXS_.cjs → BarColumn-BaPaYtki.cjs} +2 -2
- package/dist/{BarColumn-B4naVXS_.cjs.map → BarColumn-BaPaYtki.cjs.map} +1 -1
- package/dist/{BarColumn-BuJ6MTYG.js → BarColumn-DHP-zQ4R.js} +3 -3
- package/dist/{BarColumn-BuJ6MTYG.js.map → BarColumn-DHP-zQ4R.js.map} +1 -1
- package/dist/{BlockWidget-B_JwY8-N.js → BlockWidget-BmHSFvOq.js} +4 -4
- package/dist/{BlockWidget-B_JwY8-N.js.map → BlockWidget-BmHSFvOq.js.map} +1 -1
- package/dist/{BlockWidget-BJWENVXd.cjs → BlockWidget-DLncsLLX.cjs} +2 -2
- package/dist/{BlockWidget-BJWENVXd.cjs.map → BlockWidget-DLncsLLX.cjs.map} +1 -1
- package/dist/{ButtonWidget-C2IS6q9D.cjs → ButtonWidget-BLePbTf_.cjs} +2 -2
- package/dist/{ButtonWidget-C2IS6q9D.cjs.map → ButtonWidget-BLePbTf_.cjs.map} +1 -1
- package/dist/{ButtonWidget-Cd4M3aBD.js → ButtonWidget-C3ZWRjZZ.js} +4 -4
- package/dist/{ButtonWidget-Cd4M3aBD.js.map → ButtonWidget-C3ZWRjZZ.js.map} +1 -1
- package/dist/{CanvasWidget-BIIhyH_l.cjs → CanvasWidget-C8Sy9t9G.cjs} +2 -2
- package/dist/{CanvasWidget-BIIhyH_l.cjs.map → CanvasWidget-C8Sy9t9G.cjs.map} +1 -1
- package/dist/{CanvasWidget-CpKdOgTG.js → CanvasWidget-CL-XzPF4.js} +2 -2
- package/dist/{CanvasWidget-CpKdOgTG.js.map → CanvasWidget-CL-XzPF4.js.map} +1 -1
- package/dist/{CanvasdotWidget-BVlIdbvL.cjs → CanvasdotWidget-6MPKD5iZ.cjs} +2 -2
- package/dist/{CanvasdotWidget-BVlIdbvL.cjs.map → CanvasdotWidget-6MPKD5iZ.cjs.map} +1 -1
- package/dist/{CanvasdotWidget-zYbI5LAw.js → CanvasdotWidget-D8Y9DgVE.js} +2 -2
- package/dist/{CanvasdotWidget-zYbI5LAw.js.map → CanvasdotWidget-D8Y9DgVE.js.map} +1 -1
- package/dist/{CanvasimageWidget--ORQEPj6.js → CanvasimageWidget-DHSGK_tD.js} +3 -3
- package/dist/{CanvasimageWidget--ORQEPj6.js.map → CanvasimageWidget-DHSGK_tD.js.map} +1 -1
- package/dist/{CanvasimageWidget-SNXRh4TB.cjs → CanvasimageWidget-DYUaf3zy.cjs} +2 -2
- package/dist/{CanvasimageWidget-SNXRh4TB.cjs.map → CanvasimageWidget-DYUaf3zy.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-CtAtYHRm.js → CanvasimagevalueWidget-Btt_fQfC.js} +3 -3
- package/dist/{CanvasimagevalueWidget-CtAtYHRm.js.map → CanvasimagevalueWidget-Btt_fQfC.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-DcXjMEYO.cjs → CanvasimagevalueWidget-Bu1ECOWl.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-DcXjMEYO.cjs.map → CanvasimagevalueWidget-Bu1ECOWl.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-DWoROb6o.js → CanvaslabelWidget-BF_8RTjv.js} +2 -2
- package/dist/{CanvaslabelWidget-DWoROb6o.js.map → CanvaslabelWidget-BF_8RTjv.js.map} +1 -1
- package/dist/{CanvaslabelWidget-8MMfV594.cjs → CanvaslabelWidget-Dik-ld55.cjs} +2 -2
- package/dist/{CanvaslabelWidget-8MMfV594.cjs.map → CanvaslabelWidget-Dik-ld55.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-hDxHrErw.cjs → CanvaslabelvalueWidget-BBlKBoZO.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-hDxHrErw.cjs.map → CanvaslabelvalueWidget-BBlKBoZO.cjs.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-A4UbtwEc.js → CanvaslabelvalueWidget-scbwaujI.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-A4UbtwEc.js.map → CanvaslabelvalueWidget-scbwaujI.js.map} +1 -1
- package/dist/{CanvaslineWidget-grGKrpPw.cjs → CanvaslineWidget-DN0ojc37.cjs} +2 -2
- package/dist/{CanvaslineWidget-grGKrpPw.cjs.map → CanvaslineWidget-DN0ojc37.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-BBGi0nrb.js → CanvaslineWidget-gRvm_-TT.js} +2 -2
- package/dist/{CanvaslineWidget-BBGi0nrb.js.map → CanvaslineWidget-gRvm_-TT.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-C_9OkL7f.js → CanvaslinevalueWidget-CljziRek.js} +2 -2
- package/dist/{CanvaslinevalueWidget-C_9OkL7f.js.map → CanvaslinevalueWidget-CljziRek.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-DMIWLqT-.cjs → CanvaslinevalueWidget-Cz1XYp0r.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-DMIWLqT-.cjs.map → CanvaslinevalueWidget-Cz1XYp0r.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-BMYkeGyw.cjs → CheckbuttonWidget-B5jOzhZ4.cjs} +2 -2
- package/dist/{CheckbuttonWidget-BMYkeGyw.cjs.map → CheckbuttonWidget-B5jOzhZ4.cjs.map} +1 -1
- package/dist/{CheckbuttonWidget-CTJg8Ypg.js → CheckbuttonWidget-BOabI_jE.js} +2 -2
- package/dist/{CheckbuttonWidget-CTJg8Ypg.js.map → CheckbuttonWidget-BOabI_jE.js.map} +1 -1
- package/dist/{ClassificationBanners-Dz5-_h_0.js → ClassificationBanners-BGDnMx4r.js} +2 -2
- package/dist/{ClassificationBanners-Dz5-_h_0.js.map → ClassificationBanners-BGDnMx4r.js.map} +1 -1
- package/dist/{ClassificationBanners-De_CDp9I.cjs → ClassificationBanners-CbcQDr3v.cjs} +2 -2
- package/dist/{ClassificationBanners-De_CDp9I.cjs.map → ClassificationBanners-CbcQDr3v.cjs.map} +1 -1
- package/dist/{ComboboxWidget-DWiMZZk8.js → ComboboxWidget-BLXNYFiY.js} +2 -2
- package/dist/{ComboboxWidget-DWiMZZk8.js.map → ComboboxWidget-BLXNYFiY.js.map} +1 -1
- package/dist/{ComboboxWidget-CZMUsBRC.cjs → ComboboxWidget-_lxTm8Wb.cjs} +2 -2
- package/dist/{ComboboxWidget-CZMUsBRC.cjs.map → ComboboxWidget-_lxTm8Wb.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-CD72VN-P.js → CriticalCmdDialog-CnNlsHRX.js} +2 -2
- package/dist/{CriticalCmdDialog-CD72VN-P.js.map → CriticalCmdDialog-CnNlsHRX.js.map} +1 -1
- package/dist/{CriticalCmdDialog-ByiHBnFL.cjs → CriticalCmdDialog-niBmkudw.cjs} +2 -2
- package/dist/{CriticalCmdDialog-ByiHBnFL.cjs.map → CriticalCmdDialog-niBmkudw.cjs.map} +1 -1
- package/dist/{DateWidget-C7GSh68_.js → DateWidget-BTqLCtLS.js} +2 -2
- package/dist/{DateWidget-C7GSh68_.js.map → DateWidget-BTqLCtLS.js.map} +1 -1
- package/dist/{DateWidget-CR4OfvjB.cjs → DateWidget-BvabEAhO.cjs} +2 -2
- package/dist/{DateWidget-CR4OfvjB.cjs.map → DateWidget-BvabEAhO.cjs.map} +1 -1
- package/dist/{DetailsDialog-B2l0BNc2.js → DetailsDialog-BNCS3QAe.js} +2 -2
- package/dist/{DetailsDialog-B2l0BNc2.js.map → DetailsDialog-BNCS3QAe.js.map} +1 -1
- package/dist/{DetailsDialog-CrfaoIk5.cjs → DetailsDialog-DgN9Jcio.cjs} +2 -2
- package/dist/{DetailsDialog-CrfaoIk5.cjs.map → DetailsDialog-DgN9Jcio.cjs.map} +1 -1
- package/dist/EventListDialog-B8rnN9Zi.cjs +2 -0
- package/dist/EventListDialog-B8rnN9Zi.cjs.map +1 -0
- package/dist/{EventListDialog-1NXp1MLg.js → EventListDialog-C2pwmD0d.js} +554 -389
- package/dist/EventListDialog-C2pwmD0d.js.map +1 -0
- package/dist/{FormatvalueWidget-CZJdsUAq.js → FormatvalueWidget-CLYx8qbg.js} +3 -3
- package/dist/{FormatvalueWidget-CZJdsUAq.js.map → FormatvalueWidget-CLYx8qbg.js.map} +1 -1
- package/dist/{FormatvalueWidget-zoY5Fzwr.cjs → FormatvalueWidget-ulLzg1E-.cjs} +2 -2
- package/dist/{FormatvalueWidget-zoY5Fzwr.cjs.map → FormatvalueWidget-ulLzg1E-.cjs.map} +1 -1
- package/dist/{Graph-DZBpdSgR.js → Graph-BliBYJxD.js} +486 -1050
- package/dist/Graph-BliBYJxD.js.map +1 -0
- package/dist/Graph-DxC2MPYf.cjs +2 -0
- package/dist/Graph-DxC2MPYf.cjs.map +1 -0
- package/dist/{GraphWidget-CHm4bhMI.js → GraphWidget-Cb6Ozf54.js} +2 -2
- package/dist/GraphWidget-Cb6Ozf54.js.map +1 -0
- package/dist/{GraphWidget-P-EUkwbI.cjs → GraphWidget-g-0vO4_S.cjs} +2 -2
- package/dist/GraphWidget-g-0vO4_S.cjs.map +1 -0
- package/dist/{HorizontalWidget-B2skpV1m.js → HorizontalWidget-AY2M01qP.js} +2 -2
- package/dist/{HorizontalWidget-B2skpV1m.js.map → HorizontalWidget-AY2M01qP.js.map} +1 -1
- package/dist/{HorizontalWidget-1Gd93-D7.cjs → HorizontalWidget-BiEZZpZQ.cjs} +2 -2
- package/dist/{HorizontalWidget-1Gd93-D7.cjs.map → HorizontalWidget-BiEZZpZQ.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-BI0WZP5M.js → HorizontalboxWidget-2MEKvq_C.js} +5 -5
- package/dist/{HorizontalboxWidget-BI0WZP5M.js.map → HorizontalboxWidget-2MEKvq_C.js.map} +1 -1
- package/dist/{HorizontalboxWidget-CHFz7lCJ.cjs → HorizontalboxWidget-CWq4ej6k.cjs} +2 -2
- package/dist/{HorizontalboxWidget-CHFz7lCJ.cjs.map → HorizontalboxWidget-CWq4ej6k.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-AmxVeXcU.js → HorizontallineWidget-DgpOPA7q.js} +2 -2
- package/dist/{HorizontallineWidget-AmxVeXcU.js.map → HorizontallineWidget-DgpOPA7q.js.map} +1 -1
- package/dist/{HorizontallineWidget-CCuEqHsc.cjs → HorizontallineWidget-Dm5G1l4A.cjs} +2 -2
- package/dist/{HorizontallineWidget-CCuEqHsc.cjs.map → HorizontallineWidget-Dm5G1l4A.cjs.map} +1 -1
- package/dist/{IframeWidget-DG7yUYb3.cjs → IframeWidget-DDw5t7eV.cjs} +2 -2
- package/dist/IframeWidget-DDw5t7eV.cjs.map +1 -0
- package/dist/{IframeWidget-DcqRMhyW.js → IframeWidget-UKKUl7k5.js} +2 -2
- package/dist/IframeWidget-UKKUl7k5.js.map +1 -0
- package/dist/{ImageLoader-BaDVKIBu.cjs → ImageLoader-9TCd0KxL.cjs} +2 -2
- package/dist/{ImageLoader-BaDVKIBu.cjs.map → ImageLoader-9TCd0KxL.cjs.map} +1 -1
- package/dist/{ImageLoader-ly4zoGpO.js → ImageLoader-C-CIL4YD.js} +2 -2
- package/dist/{ImageLoader-ly4zoGpO.js.map → ImageLoader-C-CIL4YD.js.map} +1 -1
- package/dist/{ImageviewerWidget-cmDHcmW4.js → ImageviewerWidget-DhuQH5Io.js} +2 -2
- package/dist/{ImageviewerWidget-cmDHcmW4.js.map → ImageviewerWidget-DhuQH5Io.js.map} +1 -1
- package/dist/{ImageviewerWidget-BgMpAFvG.cjs → ImageviewerWidget-DpXzLOpF.cjs} +2 -2
- package/dist/{ImageviewerWidget-BgMpAFvG.cjs.map → ImageviewerWidget-DpXzLOpF.cjs.map} +1 -1
- package/dist/{InterfacesTab-K7odu5gi.cjs → InterfacesTab-CiVfsUia.cjs} +2 -2
- package/dist/{InterfacesTab-K7odu5gi.cjs.map → InterfacesTab-CiVfsUia.cjs.map} +1 -1
- package/dist/{InterfacesTab-BSCFzmW1.js → InterfacesTab-Dq3oAKqz.js} +3 -3
- package/dist/{InterfacesTab-BSCFzmW1.js.map → InterfacesTab-Dq3oAKqz.js.map} +1 -1
- package/dist/{LabelWidget-D6B4JzLR.cjs → LabelWidget-D-m2gFIZ.cjs} +2 -2
- package/dist/{LabelWidget-D6B4JzLR.cjs.map → LabelWidget-D-m2gFIZ.cjs.map} +1 -1
- package/dist/{LabelWidget-Bemw8Erq.js → LabelWidget-SO9zqcNN.js} +2 -2
- package/dist/{LabelWidget-Bemw8Erq.js.map → LabelWidget-SO9zqcNN.js.map} +1 -1
- package/dist/{LabelledWidget-Dg1pZiON.cjs → LabelledWidget-BFfsD2wz.cjs} +2 -2
- package/dist/{LabelledWidget-Dg1pZiON.cjs.map → LabelledWidget-BFfsD2wz.cjs.map} +1 -1
- package/dist/{LabelledWidget-Cb7EvtUG.js → LabelledWidget-DWoM5AJ5.js} +4 -4
- package/dist/{LabelledWidget-Cb7EvtUG.js.map → LabelledWidget-DWoM5AJ5.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-DrVVuiXa.cjs → LabelprogressbarWidget-B8x5YimU.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-DrVVuiXa.cjs.map → LabelprogressbarWidget-B8x5YimU.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-qYgrGqLY.js → LabelprogressbarWidget-D3vnkvQZ.js} +4 -4
- package/dist/{LabelprogressbarWidget-qYgrGqLY.js.map → LabelprogressbarWidget-D3vnkvQZ.js.map} +1 -1
- package/dist/{LabelsparklineWidget-CMklq9-f.js → LabelsparklineWidget-DO0T-Jot.js} +4 -4
- package/dist/{LabelsparklineWidget-CMklq9-f.js.map → LabelsparklineWidget-DO0T-Jot.js.map} +1 -1
- package/dist/{LabelsparklineWidget-Bht80Ncq.cjs → LabelsparklineWidget-DyPaUfc9.cjs} +2 -2
- package/dist/{LabelsparklineWidget-Bht80Ncq.cjs.map → LabelsparklineWidget-DyPaUfc9.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-NjCMgiYL.js → LabelvalueWidget-B6BbNFnk.js} +4 -4
- package/dist/{LabelvalueWidget-NjCMgiYL.js.map → LabelvalueWidget-B6BbNFnk.js.map} +1 -1
- package/dist/{LabelvalueWidget-DKx6dV8b.cjs → LabelvalueWidget-cTPG6Xqi.cjs} +2 -2
- package/dist/{LabelvalueWidget-DKx6dV8b.cjs.map → LabelvalueWidget-cTPG6Xqi.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-D8N6KdzA.cjs → LabelvaluedescWidget-C4sIZ0md.cjs} +2 -2
- package/dist/{LabelvaluedescWidget-D8N6KdzA.cjs.map → LabelvaluedescWidget-C4sIZ0md.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-Dflulqm7.js → LabelvaluedescWidget-CxfL-H9C.js} +5 -5
- package/dist/{LabelvaluedescWidget-Dflulqm7.js.map → LabelvaluedescWidget-CxfL-H9C.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-M34NDk2S.js → LabelvaluelimitsbarWidget-BT5k9mHv.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-M34NDk2S.js.map → LabelvaluelimitsbarWidget-BT5k9mHv.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-DbwVdsfd.cjs → LabelvaluelimitsbarWidget-CBnU6Afl.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-DbwVdsfd.cjs.map → LabelvaluelimitsbarWidget-CBnU6Afl.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-1LXrtBFT.cjs → LabelvaluelimitscolumnWidget-CwoMfO0P.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-1LXrtBFT.cjs.map → LabelvaluelimitscolumnWidget-CwoMfO0P.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-Cchaw_-k.js → LabelvaluelimitscolumnWidget-DUbmxh4p.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-Cchaw_-k.js.map → LabelvaluelimitscolumnWidget-DUbmxh4p.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-Ca6lJAZV.cjs → LabelvaluerangebarWidget-DB4gw6Rd.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-Ca6lJAZV.cjs.map → LabelvaluerangebarWidget-DB4gw6Rd.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-7pEykAm3.js → LabelvaluerangebarWidget-DexAc2UB.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-7pEykAm3.js.map → LabelvaluerangebarWidget-DexAc2UB.js.map} +1 -1
- package/dist/{Layout-BNvQKlyy.js → Layout-Dd6dRf3R.js} +2 -2
- package/dist/{Layout-BNvQKlyy.js.map → Layout-Dd6dRf3R.js.map} +1 -1
- package/dist/Layout-DvBekli8.cjs +2 -0
- package/dist/{Layout-CXwcgFxa.cjs.map → Layout-DvBekli8.cjs.map} +1 -1
- package/dist/{LedWidget-_EA7ZKM8.js → LedWidget-D1RwHb_V.js} +4 -4
- package/dist/{LedWidget-_EA7ZKM8.js.map → LedWidget-D1RwHb_V.js.map} +1 -1
- package/dist/{LedWidget-CafSb6jG.cjs → LedWidget-a99ygZOA.cjs} +2 -2
- package/dist/{LedWidget-CafSb6jG.cjs.map → LedWidget-a99ygZOA.cjs.map} +1 -1
- package/dist/{LimitsbarWidget-DdoQf46y.js → LimitsbarWidget-ClOmoV50.js} +2 -2
- package/dist/{LimitsbarWidget-DdoQf46y.js.map → LimitsbarWidget-ClOmoV50.js.map} +1 -1
- package/dist/{LimitsbarWidget-B4E6eQgY.cjs → LimitsbarWidget-DaHpj-rM.cjs} +2 -2
- package/dist/{LimitsbarWidget-B4E6eQgY.cjs.map → LimitsbarWidget-DaHpj-rM.cjs.map} +1 -1
- package/dist/{LimitscolorWidget-Cv0umnVo.js → LimitscolorWidget-CBUoEYKp.js} +2 -2
- package/dist/{LimitscolorWidget-Cv0umnVo.js.map → LimitscolorWidget-CBUoEYKp.js.map} +1 -1
- package/dist/{LimitscolorWidget-B-ESO_oy.cjs → LimitscolorWidget-D4nPHQlI.cjs} +2 -2
- package/dist/{LimitscolorWidget-B-ESO_oy.cjs.map → LimitscolorWidget-D4nPHQlI.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-CnCQtxim.js → LimitscolumnWidget-hsHkmY-_.js} +2 -2
- package/dist/{LimitscolumnWidget-CnCQtxim.js.map → LimitscolumnWidget-hsHkmY-_.js.map} +1 -1
- package/dist/{LimitscolumnWidget-PbEe5NP1.cjs → LimitscolumnWidget-wIx0L9hb.cjs} +2 -2
- package/dist/{LimitscolumnWidget-PbEe5NP1.cjs.map → LimitscolumnWidget-wIx0L9hb.cjs.map} +1 -1
- package/dist/{LinegraphWidget-Bto_2lSc.cjs → LinegraphWidget-BRnwhfEQ.cjs} +2 -2
- package/dist/{LinegraphWidget-Bto_2lSc.cjs.map → LinegraphWidget-BRnwhfEQ.cjs.map} +1 -1
- package/dist/{LinegraphWidget-ekyQoR7x.js → LinegraphWidget-CXrKtxOo.js} +4 -4
- package/dist/{LinegraphWidget-ekyQoR7x.js.map → LinegraphWidget-CXrKtxOo.js.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-bMjMlQYz.cjs → MatrixbycolumnsWidget-3jldaS14.cjs} +2 -2
- package/dist/{MatrixbycolumnsWidget-bMjMlQYz.cjs.map → MatrixbycolumnsWidget-3jldaS14.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-IBUcGNF7.js → MatrixbycolumnsWidget-CsogVU9c.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-IBUcGNF7.js.map → MatrixbycolumnsWidget-CsogVU9c.js.map} +1 -1
- package/dist/{MicroservicesTab-BXb4TPjR.cjs → MicroservicesTab-3pNZZ5I0.cjs} +2 -2
- package/dist/{MicroservicesTab-BXb4TPjR.cjs.map → MicroservicesTab-3pNZZ5I0.cjs.map} +1 -1
- package/dist/{MicroservicesTab-CUqp5uFH.js → MicroservicesTab-DzEvbxlM.js} +3 -3
- package/dist/{MicroservicesTab-CUqp5uFH.js.map → MicroservicesTab-DzEvbxlM.js.map} +1 -1
- package/dist/{Openc3Screen-ByRi15VK.cjs → Openc3Screen-CD3C_EUo.cjs} +2 -2
- package/dist/{Openc3Screen-ByRi15VK.cjs.map → Openc3Screen-CD3C_EUo.cjs.map} +1 -1
- package/dist/{Openc3Screen-B31-mKUZ.js → Openc3Screen-Cqm5Xtd-.js} +3 -3
- package/dist/{Openc3Screen-B31-mKUZ.js.map → Openc3Screen-Cqm5Xtd-.js.map} +1 -1
- package/dist/{OutputDialog-wBy-sg3k.js → OutputDialog-7M4L50tA.js} +2 -2
- package/dist/{OutputDialog-wBy-sg3k.js.map → OutputDialog-7M4L50tA.js.map} +1 -1
- package/dist/{OutputDialog-CXQ5-PgU.cjs → OutputDialog-CnDQxHTZ.cjs} +2 -2
- package/dist/{OutputDialog-CXQ5-PgU.cjs.map → OutputDialog-CnDQxHTZ.cjs.map} +1 -1
- package/dist/{PackagesTab-oOtpCEIX.cjs → PackagesTab-DPPXZvoV.cjs} +2 -2
- package/dist/{PackagesTab-oOtpCEIX.cjs.map → PackagesTab-DPPXZvoV.cjs.map} +1 -1
- package/dist/{PackagesTab-BSVPTVe7.js → PackagesTab-N4SD1Pxj.js} +3 -3
- package/dist/{PackagesTab-BSVPTVe7.js.map → PackagesTab-N4SD1Pxj.js.map} +1 -1
- package/dist/{PluginsTab-DShjzJVP.js → PluginsTab-C7PH2Wym.js} +4 -4
- package/dist/{PluginsTab-DShjzJVP.js.map → PluginsTab-C7PH2Wym.js.map} +1 -1
- package/dist/{PluginsTab-D2-nxcCZ.cjs → PluginsTab-xzPlEMYj.cjs} +2 -2
- package/dist/{PluginsTab-D2-nxcCZ.cjs.map → PluginsTab-xzPlEMYj.cjs.map} +1 -1
- package/dist/{ProgressbarWidget-CnveFZVh.js → ProgressbarWidget-CO6CEkxP.js} +2 -2
- package/dist/{ProgressbarWidget-CnveFZVh.js.map → ProgressbarWidget-CO6CEkxP.js.map} +1 -1
- package/dist/{ProgressbarWidget-KBhRifXc.cjs → ProgressbarWidget-CPeGR-Az.cjs} +2 -2
- package/dist/{ProgressbarWidget-KBhRifXc.cjs.map → ProgressbarWidget-CPeGR-Az.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-hWLrCb8W.js → RadiobuttonWidget-DrxUclws.js} +2 -2
- package/dist/{RadiobuttonWidget-hWLrCb8W.js.map → RadiobuttonWidget-DrxUclws.js.map} +1 -1
- package/dist/{RadiobuttonWidget-Dt1lTgs1.cjs → RadiobuttonWidget-DucgkAYD.cjs} +2 -2
- package/dist/{RadiobuttonWidget-Dt1lTgs1.cjs.map → RadiobuttonWidget-DucgkAYD.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-CT4otlQS.cjs → RadiogroupWidget-C7oVFRf3.cjs} +2 -2
- package/dist/{RadiogroupWidget-CT4otlQS.cjs.map → RadiogroupWidget-C7oVFRf3.cjs.map} +1 -1
- package/dist/{RadiogroupWidget-DK1fphkh.js → RadiogroupWidget-DN9C38cg.js} +2 -2
- package/dist/{RadiogroupWidget-DK1fphkh.js.map → RadiogroupWidget-DN9C38cg.js.map} +1 -1
- package/dist/{RangebarWidget-vspY8CGV.js → RangebarWidget-5uQTfLMP.js} +2 -2
- package/dist/{RangebarWidget-vspY8CGV.js.map → RangebarWidget-5uQTfLMP.js.map} +1 -1
- package/dist/{RangebarWidget-DquzegM5.cjs → RangebarWidget-Da9S3KMB.cjs} +2 -2
- package/dist/{RangebarWidget-DquzegM5.cjs.map → RangebarWidget-Da9S3KMB.cjs.map} +1 -1
- package/dist/{RedisTab-DBbLlP9e.cjs → RedisTab-BFTaPNRc.cjs} +2 -2
- package/dist/{RedisTab-DBbLlP9e.cjs.map → RedisTab-BFTaPNRc.cjs.map} +1 -1
- package/dist/{RedisTab-B28s52_T.js → RedisTab-Cyrr_g9k.js} +2 -2
- package/dist/{RedisTab-B28s52_T.js.map → RedisTab-Cyrr_g9k.js.map} +1 -1
- package/dist/{RollupWidget-07pNcXQV.js → RollupWidget-B0DCULnu.js} +2 -2
- package/dist/{RollupWidget-07pNcXQV.js.map → RollupWidget-B0DCULnu.js.map} +1 -1
- package/dist/{RollupWidget-CoxNKLcv.cjs → RollupWidget-DK0eFASs.cjs} +2 -2
- package/dist/{RollupWidget-CoxNKLcv.cjs.map → RollupWidget-DK0eFASs.cjs.map} +1 -1
- package/dist/{RoutersTab-DEtxUph7.cjs → RoutersTab-B8JIxjdI.cjs} +2 -2
- package/dist/{RoutersTab-DEtxUph7.cjs.map → RoutersTab-B8JIxjdI.cjs.map} +1 -1
- package/dist/{RoutersTab-DX_r6FEQ.js → RoutersTab-BAfpG8k3.js} +3 -3
- package/dist/{RoutersTab-DX_r6FEQ.js.map → RoutersTab-BAfpG8k3.js.map} +1 -1
- package/dist/ScriptChooser-ahp4Tu3O.js +573 -0
- package/dist/ScriptChooser-ahp4Tu3O.js.map +1 -0
- package/dist/ScriptChooser-ma6P0WuM.cjs +2 -0
- package/dist/ScriptChooser-ma6P0WuM.cjs.map +1 -0
- package/dist/{ScrollwindowWidget-BcbyrYUo.js → ScrollwindowWidget-BOkZQgtf.js} +3 -3
- package/dist/{ScrollwindowWidget-BcbyrYUo.js.map → ScrollwindowWidget-BOkZQgtf.js.map} +1 -1
- package/dist/{ScrollwindowWidget-Djvcd1yX.cjs → ScrollwindowWidget-xM_R_Arq.cjs} +2 -2
- package/dist/{ScrollwindowWidget-Djvcd1yX.cjs.map → ScrollwindowWidget-xM_R_Arq.cjs.map} +1 -1
- package/dist/{SecretsTab-BNFEqrT1.js → SecretsTab-D5RxHYVp.js} +2 -2
- package/dist/{SecretsTab-BNFEqrT1.js.map → SecretsTab-D5RxHYVp.js.map} +1 -1
- package/dist/{SecretsTab-cG1U2SyL.cjs → SecretsTab-DoHYppoO.cjs} +2 -2
- package/dist/{SecretsTab-cG1U2SyL.cjs.map → SecretsTab-DoHYppoO.cjs.map} +1 -1
- package/dist/{SettingsTab-C4T8ecIZ.js → SettingsTab-CKGQEwd_.js} +137 -121
- package/dist/SettingsTab-CKGQEwd_.js.map +1 -0
- package/dist/{SettingsTab-DvUFxNoM.cjs → SettingsTab-Dvnzqzdp.cjs} +3 -3
- package/dist/SettingsTab-Dvnzqzdp.cjs.map +1 -0
- package/dist/{SignalWidget-9IqQEM4M.cjs → SignalWidget-BWKgNMdV.cjs} +2 -2
- package/dist/{SignalWidget-9IqQEM4M.cjs.map → SignalWidget-BWKgNMdV.cjs.map} +1 -1
- package/dist/{SignalWidget-BDp5sUHj.js → SignalWidget-Cis0Xkea.js} +2 -2
- package/dist/{SignalWidget-BDp5sUHj.js.map → SignalWidget-Cis0Xkea.js.map} +1 -1
- package/dist/{SimpleTextDialog-C1trfMSJ.cjs → SimpleTextDialog-BCNn5FZh.cjs} +2 -2
- package/dist/{SimpleTextDialog-C1trfMSJ.cjs.map → SimpleTextDialog-BCNn5FZh.cjs.map} +1 -1
- package/dist/{SimpleTextDialog-LQJdcAXX.js → SimpleTextDialog-D2mEDvGY.js} +2 -2
- package/dist/{SimpleTextDialog-LQJdcAXX.js.map → SimpleTextDialog-D2mEDvGY.js.map} +1 -1
- package/dist/{SpacerWidget-DcOnQ1yI.js → SpacerWidget-CLcqC2Qk.js} +2 -2
- package/dist/{SpacerWidget-DcOnQ1yI.js.map → SpacerWidget-CLcqC2Qk.js.map} +1 -1
- package/dist/{SpacerWidget-BS_oBLMC.cjs → SpacerWidget-_daU5QnM.cjs} +2 -2
- package/dist/{SpacerWidget-BS_oBLMC.cjs.map → SpacerWidget-_daU5QnM.cjs.map} +1 -1
- package/dist/{SparklineWidget-CVglnlAm.js → SparklineWidget-CTp83eZ-.js} +4 -4
- package/dist/{SparklineWidget-CVglnlAm.js.map → SparklineWidget-CTp83eZ-.js.map} +1 -1
- package/dist/{SparklineWidget-CciCNv5R.cjs → SparklineWidget-qRnlPzJ_.cjs} +2 -2
- package/dist/{SparklineWidget-CciCNv5R.cjs.map → SparklineWidget-qRnlPzJ_.cjs.map} +1 -1
- package/dist/{TabbookWidget-hCZ5AcLk.cjs → TabbookWidget-C0Fvv-o5.cjs} +2 -2
- package/dist/{TabbookWidget-hCZ5AcLk.cjs.map → TabbookWidget-C0Fvv-o5.cjs.map} +1 -1
- package/dist/{TabbookWidget-p51Oa7Ru.js → TabbookWidget-uucd-zsX.js} +2 -2
- package/dist/{TabbookWidget-p51Oa7Ru.js.map → TabbookWidget-uucd-zsX.js.map} +1 -1
- package/dist/TargetPacketItemChooser-CAl-fNql.cjs +2 -0
- package/dist/TargetPacketItemChooser-CAl-fNql.cjs.map +1 -0
- package/dist/TargetPacketItemChooser-CXpSx-eA.js +572 -0
- package/dist/TargetPacketItemChooser-CXpSx-eA.js.map +1 -0
- package/dist/{TargetsTab-CBagO3CX.js → TargetsTab-CM4ABe5y.js} +3 -3
- package/dist/{TargetsTab-CBagO3CX.js.map → TargetsTab-CM4ABe5y.js.map} +1 -1
- package/dist/{TargetsTab-CTzQTnuk.cjs → TargetsTab-Ixql3xzm.cjs} +2 -2
- package/dist/{TargetsTab-CTzQTnuk.cjs.map → TargetsTab-Ixql3xzm.cjs.map} +1 -1
- package/dist/{TextboxWidget-DM-XX97e.js → TextboxWidget-C2n38ti5.js} +4 -4
- package/dist/{TextboxWidget-DM-XX97e.js.map → TextboxWidget-C2n38ti5.js.map} +1 -1
- package/dist/{TextboxWidget-BhtvlFuj.cjs → TextboxWidget-DrdMC0EB.cjs} +2 -2
- package/dist/{TextboxWidget-BhtvlFuj.cjs.map → TextboxWidget-DrdMC0EB.cjs.map} +1 -1
- package/dist/{TextfieldWidget-7cYHAgH8.js → TextfieldWidget--HTv9ddk.js} +2 -2
- package/dist/{TextfieldWidget-7cYHAgH8.js.map → TextfieldWidget--HTv9ddk.js.map} +1 -1
- package/dist/{TextfieldWidget-ChH9glbY.cjs → TextfieldWidget-VeOem1w3.cjs} +2 -2
- package/dist/{TextfieldWidget-ChH9glbY.cjs.map → TextfieldWidget-VeOem1w3.cjs.map} +1 -1
- package/dist/{TimeWidget-CUm-LMyL.cjs → TimeWidget-C9ltUWFh.cjs} +2 -2
- package/dist/{TimeWidget-CUm-LMyL.cjs.map → TimeWidget-C9ltUWFh.cjs.map} +1 -1
- package/dist/{TimeWidget-EvQJyu6x.js → TimeWidget-CPNVZaUM.js} +2 -2
- package/dist/{TimeWidget-EvQJyu6x.js.map → TimeWidget-CPNVZaUM.js.map} +1 -1
- package/dist/{TitleWidget-6ddfJuqd.js → TitleWidget-Cp0cb6V8.js} +2 -2
- package/dist/{TitleWidget-6ddfJuqd.js.map → TitleWidget-Cp0cb6V8.js.map} +1 -1
- package/dist/{TitleWidget-Es1lfe61.cjs → TitleWidget-IuUVZkLh.cjs} +2 -2
- package/dist/{TitleWidget-Es1lfe61.cjs.map → TitleWidget-IuUVZkLh.cjs.map} +1 -1
- package/dist/ToolsTab-Bgrj0eGr.cjs +7 -0
- package/dist/ToolsTab-Bgrj0eGr.cjs.map +1 -0
- package/dist/{ToolsTab-ClJNvp8z.js → ToolsTab-DGjyBWkp.js} +5 -5
- package/dist/ToolsTab-DGjyBWkp.js.map +1 -0
- package/dist/{TopBar-CmP-ZyVe.js → TopBar-B48yYbtR.js} +79 -65
- package/dist/{TopBar-CmP-ZyVe.js.map → TopBar-B48yYbtR.js.map} +1 -1
- package/dist/TopBar-DLz-U85G.cjs +2 -0
- package/dist/{TopBar-xyBcJsNc.cjs.map → TopBar-DLz-U85G.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-DpWUa84S.js → UpgradeToEnterpriseDialog-C2Ggr_Xd.js} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-DpWUa84S.js.map → UpgradeToEnterpriseDialog-C2Ggr_Xd.js.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog-CViAJs_M.cjs → UpgradeToEnterpriseDialog-DtckZO3_.cjs} +2 -2
- package/dist/{UpgradeToEnterpriseDialog-CViAJs_M.cjs.map → UpgradeToEnterpriseDialog-DtckZO3_.cjs.map} +1 -1
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NN0zFL7Z.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs} +39 -39
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B1Hzjyj0.cjs.map +1 -0
- package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-BuwHe3dn.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js} +2272 -2208
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-JEZNdnan.js.map +1 -0
- package/dist/{VWidget-3jbGZ8Dh.cjs → VWidget-Cf9MXbCl.cjs} +2 -2
- package/dist/{VWidget-3jbGZ8Dh.cjs.map → VWidget-Cf9MXbCl.cjs.map} +1 -1
- package/dist/{VWidget-P-X9ffkl.js → VWidget-DQGJRgAk.js} +3 -3
- package/dist/{VWidget-P-X9ffkl.js.map → VWidget-DQGJRgAk.js.map} +1 -1
- package/dist/{ValueWidget-DAUGuQ9f.js → ValueWidget-Bk1RFjks.js} +4 -4
- package/dist/{ValueWidget-DAUGuQ9f.js.map → ValueWidget-Bk1RFjks.js.map} +1 -1
- package/dist/{ValueWidget-D3yaN8DJ.cjs → ValueWidget-BmXm9dYt.cjs} +2 -2
- package/dist/{ValueWidget-D3yaN8DJ.cjs.map → ValueWidget-BmXm9dYt.cjs.map} +1 -1
- package/dist/{ValuelimitsbarWidget-DmLUXw0I.js → ValuelimitsbarWidget-C0HIBYh2.js} +4 -4
- package/dist/{ValuelimitsbarWidget-DmLUXw0I.js.map → ValuelimitsbarWidget-C0HIBYh2.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-DGwtzXt6.cjs → ValuelimitsbarWidget-PjCpjhsr.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-DGwtzXt6.cjs.map → ValuelimitsbarWidget-PjCpjhsr.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-BRYnKfQk.cjs → ValuelimitscolumnWidget-BGiDDUI_.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-BRYnKfQk.cjs.map → ValuelimitscolumnWidget-BGiDDUI_.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-DDmo8wHJ.js → ValuelimitscolumnWidget-BTT90uyX.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-DDmo8wHJ.js.map → ValuelimitscolumnWidget-BTT90uyX.js.map} +1 -1
- package/dist/{ValuerangebarWidget-CbzWSWq3.js → ValuerangebarWidget-CcQw_XK9.js} +4 -4
- package/dist/{ValuerangebarWidget-CbzWSWq3.js.map → ValuerangebarWidget-CcQw_XK9.js.map} +1 -1
- package/dist/{ValuerangebarWidget-hi5jZvo8.cjs → ValuerangebarWidget-ClmX-qH_.cjs} +2 -2
- package/dist/{ValuerangebarWidget-hi5jZvo8.cjs.map → ValuerangebarWidget-ClmX-qH_.cjs.map} +1 -1
- package/dist/{VerticalWidget-CRFI8Dq6.cjs → VerticalWidget-BeDWsvP6.cjs} +2 -2
- package/dist/{VerticalWidget-CRFI8Dq6.cjs.map → VerticalWidget-BeDWsvP6.cjs.map} +1 -1
- package/dist/{VerticalWidget-BuKinn_c.js → VerticalWidget-CNtFQv3R.js} +2 -2
- package/dist/{VerticalWidget-BuKinn_c.js.map → VerticalWidget-CNtFQv3R.js.map} +1 -1
- package/dist/{VerticalboxWidget-1qp7u87Q.cjs → VerticalboxWidget-DlokKDBD.cjs} +2 -2
- package/dist/{VerticalboxWidget-1qp7u87Q.cjs.map → VerticalboxWidget-DlokKDBD.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-C0zD5h0O.js → VerticalboxWidget-Yxmz1SnU.js} +5 -5
- package/dist/{VerticalboxWidget-C0zD5h0O.js.map → VerticalboxWidget-Yxmz1SnU.js.map} +1 -1
- package/dist/{Widget-wEcPyNXg.cjs → Widget-HC1_yuQg.cjs} +2 -2
- package/dist/{Widget-wEcPyNXg.cjs.map → Widget-HC1_yuQg.cjs.map} +1 -1
- package/dist/{Widget-BIXl-Pk5.js → Widget-LsyjS7ZS.js} +2 -2
- package/dist/{Widget-BIXl-Pk5.js.map → Widget-LsyjS7ZS.js.map} +1 -1
- package/dist/addMonths-BtG7uZLJ.js.map +1 -1
- package/dist/addMonths-n1tnl3ab.cjs.map +1 -1
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +229 -622
- package/dist/components.js.map +1 -1
- package/dist/format-B22VpiOS.cjs.map +1 -1
- package/dist/format-CVeawcIv.js.map +1 -1
- package/dist/getDefaultOptions-Batab9o8.cjs.map +1 -1
- package/dist/getDefaultOptions-BhSDk-Jo.js.map +1 -1
- package/dist/index-DS1ACWVr.js.map +1 -1
- package/dist/index-Nd4O4kac.cjs.map +1 -1
- package/dist/parse-DnkEsW-3.js.map +1 -1
- package/dist/parse-DwfgQboe.cjs.map +1 -1
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +87 -83
- package/dist/plugins.js.map +1 -1
- package/dist/purify.es-GHnZTJ9O.cjs +3 -0
- package/dist/purify.es-GHnZTJ9O.cjs.map +1 -0
- package/dist/purify.es-eYFoHPwR.js +529 -0
- package/dist/purify.es-eYFoHPwR.js.map +1 -0
- package/dist/{settings-DToCplG_.js → settings-DCxXjkio.js} +2 -2
- package/dist/{settings-DToCplG_.js.map → settings-DCxXjkio.js.map} +1 -1
- package/dist/{settings-CUg4_VNE.cjs → settings-zRw8EylV.cjs} +2 -2
- package/dist/{settings-CUg4_VNE.cjs.map → settings-zRw8EylV.cjs.map} +1 -1
- package/dist/timeFilters-BKnCM4rv.js.map +1 -1
- package/dist/timeFilters-CJFxfjqN.cjs.map +1 -1
- package/dist/tools/admin.cjs +1 -1
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +12 -12
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.js +324 -320
- package/dist/tools/base.js.map +1 -1
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +8 -7
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +1467 -1258
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +63 -63
- package/package.json +5 -2
- package/dist/EventListDialog-1NXp1MLg.js.map +0 -1
- package/dist/EventListDialog-BwSJXEhw.cjs +0 -2
- package/dist/EventListDialog-BwSJXEhw.cjs.map +0 -1
- package/dist/Graph-BuKXPKyK.cjs +0 -2
- package/dist/Graph-BuKXPKyK.cjs.map +0 -1
- package/dist/Graph-DZBpdSgR.js.map +0 -1
- package/dist/GraphWidget-CHm4bhMI.js.map +0 -1
- package/dist/GraphWidget-P-EUkwbI.cjs.map +0 -1
- package/dist/IframeWidget-DG7yUYb3.cjs.map +0 -1
- package/dist/IframeWidget-DcqRMhyW.js.map +0 -1
- package/dist/Layout-CXwcgFxa.cjs +0 -2
- package/dist/ScriptChooser-BZMnm4SX.cjs +0 -2
- package/dist/ScriptChooser-BZMnm4SX.cjs.map +0 -1
- package/dist/ScriptChooser-Ci_3uZDo.js +0 -176
- package/dist/ScriptChooser-Ci_3uZDo.js.map +0 -1
- package/dist/SettingsTab-C4T8ecIZ.js.map +0 -1
- package/dist/SettingsTab-DvUFxNoM.cjs.map +0 -1
- package/dist/ToolsTab-ClJNvp8z.js.map +0 -1
- package/dist/ToolsTab-PKUy_HaM.cjs +0 -7
- package/dist/ToolsTab-PKUy_HaM.cjs.map +0 -1
- package/dist/TopBar-xyBcJsNc.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-BuwHe3dn.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NN0zFL7Z.cjs.map +0 -1
package/dist/tools/admin.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-NN0zFL7Z.cjs"),S=require("../TopBar-xyBcJsNc.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-D2-nxcCZ.cjs"))},{displayName:"Targets",name:"TargetsTab",path:"targets",component:()=>Promise.resolve().then(()=>require("../TargetsTab-CTzQTnuk.cjs"))},{displayName:"Interfaces",name:"InterfacesTab",path:"interfaces",component:()=>Promise.resolve().then(()=>require("../InterfacesTab-K7odu5gi.cjs"))},{displayName:"Routers",name:"RoutersTab",path:"routers",component:()=>Promise.resolve().then(()=>require("../RoutersTab-DEtxUph7.cjs"))},{displayName:"Microservices",name:"MicroservicesTab",path:"microservices",component:()=>Promise.resolve().then(()=>require("../MicroservicesTab-BXb4TPjR.cjs"))},{displayName:"Packages",name:"PackagesTab",path:"packages",component:()=>Promise.resolve().then(()=>require("../PackagesTab-oOtpCEIX.cjs"))},{displayName:"Tools",name:"ToolsTab",path:"tools",component:()=>Promise.resolve().then(()=>require("../ToolsTab-PKUy_HaM.cjs"))},{displayName:"Redis",name:"RedisTab",path:"redis",component:()=>Promise.resolve().then(()=>require("../RedisTab-DBbLlP9e.cjs"))},{displayName:"Secrets",name:"SecretsTab",path:"secrets",component:()=>Promise.resolve().then(()=>require("../SecretsTab-cG1U2SyL.cjs"))},{displayName:"Settings",name:"SettingsTab",path:"settings",component:()=>Promise.resolve().then(()=>require("../SettingsTab-DvUFxNoM.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(`
|
|
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
2
|
`,u),h===-1&&(h=c.length-1);let p=c.slice(u,h+1);(l.hasOwnProperty?l.hasOwnProperty(p):l[p]!==void 0)?d+=String.fromCharCode(l[p]):(g===r&&(p=c.slice(u),h=c.length),d+=String.fromCharCode(g),l[p]=g,o[g++]=p),u=h+1}return d}let r=4e4;const s=i(t);r=65535;const a=i(e);return{chars1:s,chars2:a,lineArray:o}}function Ze(t,e,o){let l=t,i=e;const r=Qe(l,i);l=r.chars1,i=r.chars2;const s=r.lineArray;let a=$(l,i,{checkLines:!1,deadline:o.deadline});Je(a,s),a=be(a),a.push([x,""]);let c=0,d=0,u=0,h="",g="";for(;c<a.length;){switch(a[c][0]){case y:u++,g+=a[c][1];break;case N:d++,h+=a[c][1];break;case x:if(d>=1&&u>=1){a.splice(c-d-u,d+u),c=c-d-u;const p=$(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 et(t,e,o){let l;if(!t)return[[y,e]];if(!e)return[[N,t]];const i=t.length>e.length?t:e,r=t.length>e.length?e:t,s=i.indexOf(r);if(s!==-1)return l=[[y,i.substring(0,s)],[x,r],[y,i.substring(s+r.length)]],t.length>e.length&&(l[0][0]=N,l[2][0]=N),l;if(r.length===1)return[[N,t],[y,e]];const a=Xe(t,e);if(a){const c=a[0],d=a[1],u=a[2],h=a[3],g=a[4],p=$(c,u,o),_=$(d,h,o);return p.concat([[x,g]],_)}return o.checkLines&&t.length>100&&e.length>100?Ze(t,e,o):Ke(t,e,o.deadline)}var tt=Object.defineProperty,X=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,J=(t,e,o)=>e in t?tt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,it=(t,e)=>{for(var o in e||(e={}))nt.call(e,o)&&J(t,o,e[o]);if(X)for(var o of X(e))ot.call(e,o)&&J(t,o,e[o]);return t};const N=-1,y=1,x=0;function rt(t,e,o){if(t===null||e===null)throw new Error("Null input. (diff)");const l=$(t,e,st(o||{}));return ct(l),l}function $(t,e,o){let l=t,i=e;if(l===i)return l?[[x,l]]:[];let r=G(l,i);const s=l.substring(0,r);l=l.substring(r),i=i.substring(r),r=P(l,i);const a=l.substring(l.length-r);l=l.substring(0,l.length-r),i=i.substring(0,i.length-r);let c=et(l,i,o);return s&&c.unshift([x,s]),a&&c.push([x,a]),c=j(c),c}function lt(t){let e=1;return typeof t<"u"&&(e=t<=0?Number.MAX_VALUE:t),Date.now()+e*1e3}function st(t){return it({checkLines:!0,deadline:lt(t.timeout||1)},t)}function B(t,e,o){return o===1?t+e:e+t}function R(t,e){return e===1?[t.substring(0,t.length-1),t[t.length-1]]:[t.substring(1),t[0]]}function at(t,e,o,l){return l===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 Q(t,e,o){const l=o===1?-1:1;let i=null,r=null,s=e+o;for(;s>=0&&s<t.length&&(i===null||r===null);s+=o){const[d,u]=t[s];if(u.length!==0){if(d===y){i===null&&(i=s);continue}else if(d===N){r===null&&(r=s);continue}else if(d===x){if(i===null&&r===null){const[h,g]=R(t[e][1],o);t[e][1]=h,t[s][1]=B(t[s][1],g,l);return}break}}}if(i!==null&&r!==null&&at(t,i,r,o)){const[d,u]=R(t[i][1],l),[h]=R(t[r][1],l);t[i][1]=d,t[r][1]=h,t[e][1]=B(t[e][1],u,o);return}const[a,c]=R(t[e][1],o);t[e][1]=a,i===null?(t.splice(s,0,[y,c]),r!==null&&r>=s&&r++):t[i][1]=B(t[i][1],c,l),r===null?t.splice(s,0,[N,c]):t[r][1]=B(t[r][1],c,l)}function ct(t){for(let e=0;e<t.length;e++){const[o,l]=t[e];if(l.length===0)continue;const i=l[0],r=l[l.length-1];ze(r)&&o===x&&Q(t,e,1),We(i)&&o===x&&Q(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=>U(h)),o=!1;const l=[];let i=0,r=null,s=0,a=0,c=0,d=0,u=0;for(;s<e.length;)e[s][0]===x?(l[i++]=s,a=d,c=u,d=0,u=0,r=e[s][1]):(e[s][0]===y?d+=e[s][1].length:u+=e[s][1].length,r&&r.length<=Math.max(a,c)&&r.length<=Math.max(d,u)&&(e.splice(l[i-1],0,[N,r]),e[l[i-1]+1][0]=y,i--,i--,s=i>0?l[i-1]:-1,a=0,c=0,d=0,u=0,r=null,o=!0)),s++;for(o&&(e=j(e)),e=ht(e),s=1;s<e.length;){if(e[s-1][0]===N&&e[s][0]===y){const h=e[s-1][1],g=e[s][1],p=z(h,g),_=z(g,h);p>=_?(p>=h.length/2||p>=g.length/2)&&(e.splice(s,0,[x,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,[x,h.substring(0,_)]),e[s-1][0]=y,e[s-1][1]=g.substring(0,g.length-_),e[s+1][0]=N,e[s+1][1]=h.substring(_),s++),s++}s++}return e}const Z=/[^a-zA-Z0-9]/,ee=/\s/,te=/[\r\n]/,dt=/\n\r?\n$/,ut=/^\r?\n\r?\n/;function ht(t){const e=t.map(i=>U(i));function o(i,r){if(!i||!r)return 6;const s=i.charAt(i.length-1),a=r.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(dt),V=p&&r.match(ut);return _||V?5:g||p?4:c&&!u&&h?3:u||h?2:c||d?1:0}let l=1;for(;l<e.length-1;){if(e[l-1][0]===x&&e[l+1][0]===x){let i=e[l-1][1],r=e[l][1],s=e[l+1][1];const a=P(i,r);if(a){const g=r.substring(r.length-a);i=i.substring(0,i.length-a),r=g+r.substring(0,r.length-a),s=g+s}let c=i,d=r,u=s,h=o(i,r)+o(r,s);for(;r.charAt(0)===s.charAt(0);){i+=r.charAt(0),r=r.substring(1)+s.charAt(0),s=s.substring(1);const g=o(i,r)+o(r,s);g>=h&&(h=g,c=i,d=r,u=s)}e[l-1][1]!==c&&(c?e[l-1][1]=c:(e.splice(l-1,1),l--),e[l][1]=d,u?e[l+1][1]=u:(e.splice(l+1,1),l--))}l++}return e}function j(t){let e=t.map(d=>U(d));e.push([x,""]);let o=0,l=0,i=0,r="",s="",a;for(;o<e.length;)switch(e[o][0]){case y:i++,s+=e[o][1],o++;break;case N:l++,r+=e[o][1],o++;break;case x:l+i>1?(l!==0&&i!==0&&(a=G(s,r),a!==0&&(o-l-i>0&&e[o-l-i-1][0]===x?e[o-l-i-1][1]+=s.substring(0,a):(e.splice(0,0,[x,s.substring(0,a)]),o++),s=s.substring(a),r=r.substring(a)),a=P(s,r),a!==0&&(e[o][1]=s.substring(s.length-a)+e[o][1],s=s.substring(0,s.length-a),r=r.substring(0,r.length-a))),o-=l+i,e.splice(o,l+i),r.length&&(e.splice(o,0,[N,r]),o++),s.length&&(e.splice(o,0,[y,s]),o++),o++):o!==0&&e[o-1][0]===x?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,i=0,l=0,r="",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]===x&&e[o+1][0]===x&&(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 A(t){return t&&typeof t=="object"&&!Array.isArray(t)&&t!==null}function Y(t,e){return A(t)&&A(e)&&Object.keys(e).forEach(o=>{o==="__proto__"||o==="constructor"||(A(e[o])?((!t[o]||!A(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 l=null,i=!0;return(...r)=>{const s=o&&i,a=()=>{t.apply(this,r),l=null};s&&(i=!1,a()),l||(l=setTimeout(a,e))}}function gt(t,e){let o;return(...l)=>{const i=this;clearTimeout(o),o=setTimeout(()=>t.apply(i,l),e)}}function oe(t=""){return t.replace(/\r\n/g,`
|
|
3
3
|
`)}function ie(t,e,o,l){const i=o-t,r=t+i/2;return`M ${t} ${e} C ${r},${e} ${r},${l} ${o},${l}`}var v={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===v.EDITOR_LEFT&&t.options.left.mode!==null&&(o=t.options.left.mode),e===v.EDITOR_RIGHT&&t.options.right.mode!==null&&(o=t.options.right.mode),o}function le(t,e){let{theme:o}=t.options;return e===v.EDITOR_LEFT&&t.options.left.theme!==null&&(o=t.options.left.theme),e===v.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 pt(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 l in o)e.setAttribute(l,o[l]);return e.innerHTML=t.arrowContent,e}function q(t,e){const o=Math.random().toString(36).substr(2,5),l=`js-${e}-${o}`,i=t.querySelector(`.${e}`);if(i)return i.id=i.id||l,i.id;const r=document.createElement("div");return t.appendChild(r),r.className=e,r.id=l,r.id}function ae(t,e,o,l){const i=t==="document"?document:document.querySelector(t);i.addEventListener(e,r=>{const s=i.querySelectorAll(o),{target:a}=r;for(let c=0,d=s.length;c<d;c+=1){let u=a;const h=s[c];for(;u&&u!==i;)u===h&&l.call(h,r),u=u.parentNode}})}let O;function mt(t){if(t.Range)return t.Range;const e=t.acequire||t.require;return e?e("ace/range"):!1}function F(t={}){if(!(this instanceof F))return new F(t);const e=this,o=()=>window?window.ace:void 0;e.options=Y({ace:o(),mode:null,theme:null,element:null,diffGranularity:v.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:l}=e.options;if(!l){const i="No ace editor found nor supplied - `options.ace` or `window.ace` is missing";return console.error(i),new Error(i)}if(O=mt(l),!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:l.edit(e.options.left.id),markers:[],lineLengths:[]},right:{ace:l.edit(e.options.right.id),markers:[],lineLengths:[]},editorHeight:null},e.editors.left.ace.getSession().setMode(re(e,v.EDITOR_LEFT)),e.editors.right.ace.getSession().setMode(re(e,v.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,v.EDITOR_LEFT)),e.editors.right.ace.setTheme(le(e,v.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=pt(e),setTimeout(()=>{e.lineHeight=e.editors.left.ace.renderer.lineHeight,ft(e),Ct(e),we(e),e.diff()},1)}F.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(rt(e,t));this.editors.left.lineLengths=de(this.editors.left),this.editors.right.lineLengths=de(this.editors.right);const l=[],i={left:0,right:0};o.forEach(r=>{const s=r[0];let a=r[1];a.length!==0&&(s===v.DIFF_EQUAL?(i.left+=a.length,i.right+=a.length):s===v.DIFF_DELETE?(l.push(ge(this,v.DIFF_DELETE,i.left,i.right,a)),i.right+=a.length):s===v.DIFF_INSERT&&(l.push(ge(this,v.DIFF_INSERT,i.left,i.right,a)),i.left+=a.length))},this),this.diffs=Vt(this,l),!(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 l=this.editors.right.ace.getValue();this.editors.right.ace.destroy(),e=this.editors.right.ace.container,o=e.cloneNode(!1),o.textContent=l,e.parentNode.replaceChild(o,e);const i=document.getElementById(this.options.classes.gutterID);i&&(i.innerHTML=""),this.removeEventHandlers()}};function ft(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}`,l=>{ce(t,l,v.LTR)}),t.options.right.copyLinkEnabled&&ae(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.deletedCodeConnectorLink}`,l=>{ce(t,l,v.RTL)});const o=gt(()=>{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 l=parseInt(e.target.getAttribute("data-diff-index"),10),i=t.diffs[l];let r,s,a,c,d,u;o===v.LTR?(r=t.editors.left,s=t.editors.right,a=i.leftStartLine,c=i.leftEndLine,d=i.rightStartLine,u=i.rightEndLine):(r=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(r,p),p<r.ace.getSession().getLength()-1&&(h+=`
|
|
4
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(l=>{o.push(l.length+1)}),o}function ue(t,e,o,l,i){const r=t.editors[e];l<o&&(l=o);const s=`${i} ${l>o?"lines":"targetOnly"}`;l>o&&(l-=1),r.markers.push(r.ace.session.addMarker(new O(o,0,l,1),s,"fullLine"))}function he(t){Ce(t),xe(t),vt(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 _t(t,e,o,l,i){const r=t.editors.left.ace.getSession().getScrollTop(),s=t.editors.right.ace.getSession().getScrollTop();t.connectorYOffset=1;const a=-1,c=e*t.lineHeight-r+.5,d=t.gutterWidth+1,u=l*t.lineHeight-s+.5,h=-1,g=o*t.lineHeight-r+t.connectorYOffset+.5,p=t.gutterWidth+1,_=i*t.lineHeight-s+t.connectorYOffset+.5,V=ie(a,c,d,u),C=ie(p,_,h,g),f=`L${d},${u} ${p},${_}`,b=`L${h},${g} ${a},${c}`,m=`${V} ${f} ${C} ${b}`,w=document.createElementNS(v.SVG_NS,"path");w.setAttribute("d",m),w.setAttribute("class",t.options.classes.connector),t.gutterSVG.appendChild(w)}function bt(t,e,o){if(e.leftEndLine>e.leftStartLine&&t.options.left.copyLinkEnabled){const l=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(l)}if(e.rightEndLine>e.rightStartLine&&t.options.right.copyLinkEnabled){const l=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(l)}}function vt(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,l,i){let r={};if(e===v.DIFF_INSERT){let s=pe(t.editors.left,o,i),a=me(t.editors.right,l),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++,r={leftStartLine:s.startLine,leftEndLine:s.endLine+1,rightStartLine:u,rightEndLine:u+g}}else{let s=pe(t.editors.right,l,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++,r={leftStartLine:u,leftEndLine:u+g,rightStartLine:s.startLine,rightEndLine:s.endLine+1}}return r}function pe(t,e,o){const l={startLine:0,startChar:0,endLine:0,endChar:0},i=e+o.length;let r=0,s=!1,a=!1;t.lineLengths.forEach((d,u)=>{r+=d,!s&&e<r&&(l.startLine=u,l.startChar=e-r+d,s=!0),!a&&i<=r&&(l.endLine=u,l.endChar=i-r+d,a=!0)}),l.startChar>0&&D(t,l.startLine)===l.startChar&&(l.startLine++,l.startChar=0),l.endChar===0&&l.endLine--;const c=/\n$/.test(o);return l.startChar>0&&c&&l.endLine++,l}function D(t,e){return ve(t,e).length}function me(t,e){const o=t.ace.getSession().doc.getAllLines();let l=0,i=0;for(let r=0;r<o.length;r+=1)if(i+=o[r].length+1,e<=i){l=r,e===i&&r<o.length-1&&(l+=1);break}return i>=t.ace.getSession().getValue().length&&(l+=1),l}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,v.EDITOR_LEFT),o=fe(t,v.EDITOR_RIGHT),l=Math.max(e,o,t.gutterHeight);t.gutterSVG=document.createElementNS(v.SVG_NS,"svg"),t.gutterSVG.setAttribute("width",t.gutterWidth),t.gutterSVG.setAttribute("height",l),document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG)}function fe(t,e){return(e===v.EDITOR_LEFT?t.editors.left:t.editors.right).ace.getSession().getLength()*t.lineHeight}function Ct(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 wt(t){document.getElementById(t.options.classes.gutterID).removeChild(t.gutterSVG),we(t)}function xt(t){t.copyLeftContainer.innerHTML="",t.copyRightContainer.innerHTML=""}function Vt(t,e){const o=[];function l(r){return t.options.diffGranularity===v.DIFF_GRANULARITY_SPECIFIC?r<1:r<=1}e.forEach((r,s)=>{if(s===0){o.push(r);return}let a=!1;for(let c=0;c<o.length;c+=1)if(l(Math.abs(r.leftStartLine-o[c].leftEndLine))&&l(Math.abs(r.rightStartLine-o[c].rightEndLine))){o[c].leftStartLine=Math.min(r.leftStartLine,o[c].leftStartLine),o[c].rightStartLine=Math.min(r.rightStartLine,o[c].rightStartLine),o[c].leftEndLine=Math.max(r.leftEndLine,o[c].leftEndLine),o[c].rightEndLine=Math.max(r.rightEndLine,o[c].rightEndLine),a=!0;break}a||o.push(r)});const i=[];return o.forEach(r=>{r.leftStartLine===r.leftEndLine&&r.rightStartLine===r.rightEndLine||i.push(r)}),i}function xe(t){wt(t),xt(t),t.diffs.forEach((e,o)=>{t.options.showDiffs&&(ue(t,v.EDITOR_LEFT,e.leftStartLine,e.leftEndLine,t.options.classes.diff),ue(t,v.EDITOR_RIGHT,e.rightStartLine,e.rightEndLine,t.options.classes.diff),t.options.showConnectors&&_t(t,e.leftStartLine,e.leftEndLine,e.rightStartLine,e.rightEndLine),bt(t,e,o))},t)}const Et={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=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.localPluginTxt),this.editor.clearSelection(),S.AceEditorUtils.applyVimModeIfEnabled(this.editor),this.editor.focus()):(this.tab=1,this.differ=new F({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),S.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().left),S.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=E.aceExports.require("ace/lib/oop"),e=E.aceExports.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,o=["VARIABLE"],l=new RegExp(`(\\b${o.join("\\b|\\b")}\\b)`),i=function(){e.call(this);for(let u in this.$rules)this.$rules[u].unshift({regex:l,token:"support.function"})};t.inherits(i,e);let r=E.aceExports.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,s=E.aceExports.require("ace/mode/behaviour/cstyle").CstyleBehaviour,a=E.aceExports.require("ace/mode/folding/ruby").FoldMode,c=function(){this.HighlightRules=i,this.$outdent=new r,this.$behaviour=new s,this.foldingRules=new a,this.indentKeywords=this.foldingRules.indentKeywords},d=E.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(`
|